.google-badge[data-status="loading"] .status-dot,
.google-badge[data-status="saving"] .status-dot { background: #a17e4f; box-shadow: 0 0 0 3px rgba(161, 126, 79, .13); }
.google-badge[data-status="offline"] .status-dot,
.google-badge[data-status="signedout"] .status-dot { background: #8b8c81; box-shadow: 0 0 0 3px rgba(139, 140, 129, .13); }
.google-badge[data-status="attention"] .status-dot { background: var(--danger); box-shadow: 0 0 0 3px rgba(145, 63, 58, .12); }
.google-gate { max-width: 480px; margin: clamp(24px, 8vh, 90px) auto; padding: 34px 22px; text-align: center; }
.google-gate .gate-icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 21px; border: 1px solid var(--border); border-radius: 50%; background: var(--surface); color: var(--plum); }
.google-gate .gate-icon svg { width: 29px; height: 29px; }
.google-gate h1 { margin: 9px 0 14px; font-family: var(--serif); font-size: clamp(34px, 8vw, 46px); font-style: italic; font-weight: 400; line-height: 1.08; letter-spacing: -1.4px; }
.google-gate > p:not(.eyebrow) { margin: 0 auto 25px; max-width: 350px; color: var(--muted); font-size: 13px; }
.google-gate .settings-footnote { margin: 20px 4px 0; }
.google-status-card { margin-bottom: 17px; padding: 13px 14px; border: 1px solid #d5ddce; border-radius: 15px; background: var(--sage-soft); }
.google-status-card strong { display: block; color: var(--green); font-size: 12px; }
.google-status-card p { margin: 3px 0 0; color: #536453; font-size: 11px; }
.google-account-name { margin: -4px 0 15px; color: var(--plum); font-size: 13px; font-weight: 650; overflow-wrap: anywhere; }
.google-account-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-bottom: 10px; }
.google-sheet-link { margin: 15px 0 0; }
.google-sheet-link svg { width: 15px; height: 15px; }
.google-connect-button { width: 100%; margin-top: 4px; }
form[aria-busy="true"] { cursor: progress; }
form[aria-busy="true"] .dialog-footer { opacity: .75; }
button:disabled { cursor: not-allowed; opacity: .55; }

@media (min-width: 800px) {
  .google-gate { margin-top: 7vh; padding: 46px 36px; }
}

@media (max-width: 370px) {
  .google-account-actions { grid-template-columns: 1fr; }
}
