/* What the web app adds to the dashboard's page: the sign-in card, the account at the top,
   the box for a new reminder and the line about notifications. */
body.locked { display: block; }
body.locked .app-only { display: none; }
body:not(.locked) #sign-in { display: none; }

.signin { display: grid; place-items: center; min-height: 80vh; }
.sicard { width: min(100%, 420px); display: grid; gap: 12px; background: var(--bg); border: 1px solid var(--soft-line); border-radius: 16px; padding: 28px 26px; box-shadow: 0 1px 3px var(--shadow); }
.sicard h1 { font-size: 20px; margin: 4px 0 0; }
.sicard p { margin: 0; }
.brand.center { justify-content: center; margin-bottom: 4px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.field.big { padding: 10px 12px; font-size: 15px; }
.btn.big { padding: 10px 18px; font-size: 15px; justify-self: start; }
.btn:disabled { opacity: 0.6; cursor: default; }
.err { color: var(--due); font-size: 13px; }
a { color: var(--accent-text); }

.who { align-self: center; color: var(--muted); white-space: nowrap; }
#who-lock { color: var(--accent-text); }
#who-lock.plain { color: var(--muted); font-weight: 500; }

.newbox { display: flex; gap: 10px; flex-wrap: wrap; background: var(--bg); border: 1px solid var(--soft-line); border-radius: 12px; padding: 12px; }
.newbox #new-url { flex: 1 1 280px; min-width: 0; padding: 9px 12px; }
.newbox #new-when { padding: 9px 10px; }

.notice { margin: 0; padding: 10px 14px; border: 1px solid var(--accent); border-radius: 12px; background: var(--accent-soft); }
.notice.warn { border-color: var(--due); background: var(--bg); }
.notice a { font-weight: 600; white-space: nowrap; }

@media (max-width: 760px) {
  .top { flex-wrap: wrap; }
  .who { order: 3; width: 100%; }
}
