/* Export gate: the index's sheet language on a dimmed page. */
.G-scrim, .G-scrim * { box-sizing: border-box; }
.G-scrim { position: fixed; inset: 0; z-index: 200; background: rgba(0, 0, 0, 0.7); display: grid; place-items: center; padding: 12px; }
.G-panel { width: 100%; max-width: 400px; background: #ffffff; color: #000000; padding: 24px; margin: 0;
  font-family: "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif; font-weight: 400; font-size: 12px; line-height: 15px; }
.G-panel p { margin: 0 0 16px; }
.G-label { display: block; height: 16px; }
.G-panel label { display: block; }
.G-panel input { display: block; width: 100%; height: 32px; margin-top: 4px; padding: 0 4px; background: #ededed; color: #000000; border: none; border-radius: 0; outline: none; font: inherit; }
.G-row { display: flex; align-items: center; gap: 16px; margin-top: 16px; }
.G-btn { height: 32px; padding: 2px 16px 0; background: #000000; color: #ffffff; border: none; border-radius: 0; cursor: pointer; font: inherit; white-space: nowrap; }
.G-btn:hover { background: #ededed; color: #000000; }
.G-btn:disabled { opacity: 0.3; cursor: progress; }
.G-cancel { background: none; border: none; padding: 0; cursor: pointer; font: inherit; color: #000000; text-decoration: underline; text-underline-offset: 1px; }
.G-status { min-height: 15px; }
.G-status.err { color: #ef4444; }
.G-note { display: block; margin-top: 16px; opacity: 0.3; }
.G-note a { color: #000000; }
/* Phones: iOS zooms the page when a focused field's type is under 16px, which pushed
   the panel off the right edge. 16px in the field stops the zoom; the rest stays 12px. */
@media (pointer: coarse), (max-width: 768px) {
  .G-panel { padding: 16px; max-height: calc(100dvh - 24px); overflow-y: auto; }
  .G-panel input { font-size: 16px; height: 40px; }
  .G-btn { height: 40px; }
}
