/* ---- "It's live" — the dialog after a site's first publish (golive.js):
   two steps, UptimeRobot and Search Console, each with where it stands and
   the one button that hooks it up. A step that is hooked up wears green. ---- */
.modal.gl-modal { max-width: min(520px, 94vw); display: flex; flex-direction: column; gap: 10px; max-height: 92vh; overflow-y: auto; }
.modal.gl-modal h2 { margin: 0; }
.gl-kicker { margin: 0 !important; font: 700 10.5px var(--sans) !important; letter-spacing: .11em; text-transform: uppercase; color: var(--ok) !important; }
.modal.gl-modal .gl-sub { margin: 0 0 4px; }
.gl-url { display: block; width: fit-content; margin-bottom: 4px; font: 700 14px var(--sans); color: var(--accent-deep); text-decoration: none; overflow-wrap: anywhere; }
.gl-url:hover { text-decoration: underline; }
.gl-url[hidden] { display: none; }
.gl-step {
  display: flex; flex-direction: column; gap: 6px; padding: 12px 14px;
  border: 1px solid var(--line-soft); border-radius: 14px; background: rgba(255, 255, 255, .6);
  transition: border-color .2s var(--ease-out), background .2s var(--ease-out);
}
.gl-step[hidden] { display: none; }
.gl-step.is-done { border-color: rgba(14, 138, 95, .35); background: rgba(14, 138, 95, .05); }
.gl-top { display: flex; align-items: center; gap: 9px; }
.gl-top b { font: 700 14px var(--sans); }
.gl-logo { width: 20px; height: 20px; flex: none; }
.gl-st {
  margin-left: auto; font: 600 11.5px var(--sans); color: var(--muted); white-space: nowrap;
  padding: 2px 9px; border-radius: 999px; border: 1px solid var(--line-soft); background: rgba(255, 255, 255, .55);
}
.gl-st:empty { display: none; }
.gl-st.is-ok { color: var(--ok); border-color: rgba(14, 138, 95, .4); }
.gl-st.is-off { color: var(--warn); border-color: rgba(154, 106, 18, .35); }
.gl-st.is-bad { color: var(--danger-ink); border-color: var(--danger-line); background: var(--danger-bg); }
.modal.gl-modal .gl-body p { margin: 0; font-size: 12.5px; line-height: 1.45; }
.modal.gl-modal .gl-body .gl-warn { color: var(--danger-ink); margin-top: 4px; }
.gl-acts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.gl-acts .btn { padding: 6px 13px; font-size: 12.5px; }
.gl-acts .btn img { width: 15px; height: 15px; flex-shrink: 0; }
/* Production keys: a box per key the site runs on in dev mode */
.gl-step .gl-top svg.gl-logo { color: var(--accent); }
.gl-keys { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.gl-ksvc { display: flex; flex-direction: column; gap: 5px; }
.gl-ksvc-top { display: flex; align-items: center; gap: 7px; font-size: 12.5px; }
.gl-ksvc-top img { width: 16px; height: 16px; object-fit: contain; }
.gl-used { padding: 0 6px; border-radius: 999px; font: 700 9px/15px var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--ok); background: rgba(14, 138, 95, .1); }
.gl-key { display: grid; grid-template-columns: 140px minmax(0, 1fr); align-items: center; gap: 10px; font-size: 12px; }
.gl-key > span:first-child { font-weight: 600; color: var(--ink); }
.gl-key em { font-style: normal; font: 700 9px var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--warn); }
.gl-key-ctl { display: flex; align-items: center; gap: 6px; min-width: 0; }
.gl-key-ctl input { flex: 1; min-width: 0; padding: 5px 9px; font-size: 12px; border-radius: 9px; }
.gl-key:not(.is-set) input { border-color: rgba(154, 106, 18, .45); }
@media (max-width: 520px) { .gl-key { grid-template-columns: minmax(0, 1fr); gap: 4px; } }
.modal.gl-modal .modal-actions { margin-top: 6px; }
.modal.gl-modal .modal-actions .btn[hidden] { display: none; }
/* the dark dashboard: smoked, with a white hairline, as dash.css does the Live drop-down's */
body.dash :is(.gl-step, .gl-st) { background-color: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .14); }
body.dash .gl-step.is-done { background-color: rgba(63, 207, 149, .08); border-color: rgba(63, 207, 149, .35); }
body.dash .gl-st.is-ok { border-color: rgba(63, 207, 149, .45); }
body.dash .gl-st.is-off { border-color: rgba(242, 181, 58, .45); }
body.dash .gl-st.is-bad { background-color: rgba(220, 70, 60, .14); border-color: rgba(255, 120, 110, .45); }
@media (prefers-reduced-motion: reduce) { .gl-step { transition: none; } }
