/* Account page (/account). Builds on home.css: same tokens, header and buttons; the logo art sits beside the sign-in form. */
.acct-page { min-height: 100svh; background:
  radial-gradient(900px 600px at 85% 0%, color-mix(in oklab, var(--bg2) 70%, transparent), transparent 70%), var(--bg); }
.acct { max-width: 1180px; margin: 0 auto; padding: calc(env(safe-area-inset-top) + 104px) var(--gutter) calc(env(safe-area-inset-bottom) + 64px); }
.acct [hidden] { display: none !important; } /* the views below set display: grid, which would beat [hidden] */
.acct-loading { color: var(--muted); }
.acct h1 { margin: 0; font-size: clamp(32px, 6vw, 52px); line-height: 1.05; letter-spacing: -.035em; font-weight: 600; text-wrap: balance; }
.small { margin: 14px 0 0; font-size: 14px; color: var(--muted); }
.small a, .empty a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- sign in ---------- */
.signin { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .signin { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; min-height: calc(100svh - 220px); } }
.signin-copy { max-width: 440px; }
.form { display: grid; gap: 6px; margin-top: 28px; }
.form label { font-size: 13px; color: var(--muted); margin-top: 10px; }
.form input {
  width: 100%; height: 50px; padding: 0 14px; border-radius: 12px; font: inherit; font-size: 16px; color: var(--text);
  background: var(--surface); border: 1px solid var(--line-2); transition: border-color .2s, box-shadow .2s;
}
.form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 25%, transparent); }
.pw-row { position: relative; }
.pw-row input { padding-right: 76px; }
.pw-show { position: absolute; right: 4px; top: 3px; height: 44px; padding: 0 14px; border-radius: 10px; font-size: 13px; color: var(--muted); }
.pw-show:hover { color: var(--text); }
.err { min-height: 20px; margin: 6px 0 0; font-size: 14px; color: #c62828; }
html[data-theme='dark'] .err { color: #ff8a8a; }
@media (prefers-color-scheme: dark) { html:not([data-theme]) .err { color: #ff8a8a; } }
.form .btn { margin-top: 6px; height: 52px; width: 100%; }
.form .btn:disabled { opacity: .7; cursor: progress; }
.signin-art { display: none; }
@media (min-width: 900px) {
  .signin-art { display: block; justify-self: center; width: min(460px, 100%); }
  .signin-art img { width: 100%; height: auto; }
}

/* ---------- dashboard (2026-10-28): flat cards on the page colours, app logos, AuraWeb first ---------- */
.dash-head { display: grid; gap: 20px; margin-bottom: 40px; }
@media (min-width: 760px) { .dash-head { grid-template-columns: 1fr auto; align-items: end; } }
.dash-head .eyebrow { color: var(--muted); }
.dash-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.dash-actions .btn { height: 40px; padding: 0 16px; font-size: 14px; }
.dash .micro { margin: 0 0 16px; }

/* AuraWeb, or an invitation to start it */
.feature {
  display: grid; gap: 24px; align-items: center; margin-bottom: 48px; padding: 24px; border-radius: 20px;
  background: var(--surface-2); border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgb(40 20 10 / calc(.06 * var(--shadow-k))), 0 8px 24px -8px rgb(40 20 10 / calc(.16 * var(--shadow-k)));
}
@media (min-width: 760px) { .feature { grid-template-columns: auto 1fr auto; gap: 28px; padding: 32px; } }
.feature-logo { width: 72px; height: 72px; display: grid; place-items: center; }
.feature-logo img { max-width: 72px; max-height: 72px; object-fit: contain; }
.feature-txt { display: grid; gap: 6px; }
.feature-txt .kick { font-size: 13px; font-weight: 600; color: var(--accent); }
.feature-txt b { font-size: 24px; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
.feature-txt span { color: var(--muted); font-size: 15px; max-width: 56ch; }
.feature-go { display: flex; flex-wrap: wrap; gap: 8px; }
.feature-go .btn { height: 44px; padding: 0 20px; font-size: 15px; }
@media (max-width: 759px) { .feature-go .btn { flex: 1 1 100%; } }

.tiles { display: grid; gap: 12px; margin-bottom: 48px; }
@media (min-width: 640px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1000px) { .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tile {
  display: grid; grid-template-columns: 44px 1fr; gap: 12px 16px; align-content: start; padding: 20px; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--line); transition: background .2s, border-color .2s;
}
.tile:hover { background: var(--surface-2); border-color: var(--line-2); }
.tile-logo { width: 44px; height: 44px; display: grid; place-items: center; color: var(--muted); }
.tile-logo img { max-width: 44px; max-height: 44px; object-fit: contain; }
.tile-logo svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tile-txt { display: grid; gap: 4px; align-self: center; }
.tile-txt b { font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.tile-txt > span { color: var(--muted); font-size: 14px; line-height: 1.45; }
.tile-note { justify-self: start; margin-top: 4px; padding: 2px 8px; border-radius: 999px; font-size: 12px; color: var(--text); background: color-mix(in oklab, #e5484d 14%, transparent); border: 1px solid color-mix(in oklab, #e5484d 40%, transparent); }
.tile-go { grid-column: 2; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--accent); }
.tile-go svg, .more-row svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease-out); }
.tile:hover .tile-go svg { transform: translateX(3px); }
.empty { color: var(--muted); max-width: 52ch; }

.more { border-top: 1px solid var(--line); }
.more-row {
  display: grid; grid-template-columns: 32px 1fr auto; gap: 2px 14px; align-items: center;
  padding: 14px 4px; min-height: 64px; border-bottom: 1px solid var(--line); transition: background .2s;
}
@media (min-width: 760px) { .more-row { grid-template-columns: 32px 180px 1fr auto; } }
.more-row:hover { background: var(--surface); }
.more-row img { width: 32px; height: 32px; object-fit: contain; grid-row: span 2; }
@media (min-width: 760px) { .more-row img { grid-row: auto; } }
.more-row b { font-weight: 600; }
.more-row span { color: var(--muted); font-size: 14px; grid-column: 2; }
@media (min-width: 760px) { .more-row span { grid-column: auto; } }
.more-row svg { color: var(--muted); grid-row: 1 / span 2; grid-column: 3; }
@media (min-width: 760px) { .more-row svg { grid-row: auto; grid-column: auto; } }

/* header: the theme toggle sits beside "Back to site", not in the middle */
.acct-page .top .theme-btn { margin-left: auto; }
.acct-page .top .sign-in { margin-left: 4px; }

@media (prefers-reduced-motion: reduce) { .tile, .more-row { transition: none; } }
.bill { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 48px; } .bill .btn { height: 40px; padding: 0 16px; font-size: 14px; } .bill .ab-note { margin: 0; }
.form .check { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; font-size: 14px; color: var(--muted); line-height: 1.45; } .form .check input { width: 18px; height: 18px; min-height: 0; padding: 0; margin: 2px 0 0; flex: none; border-radius: 4px; accent-color: var(--accent); } .form .check a { color: var(--text); text-decoration: underline; }
