/* Shared look for the pages around the dashboard: sign in, team, billing,
   import. Same palette as the dashboard itself. */
:root {
  /* warm paper, ink, and the same status colours as before */
  --ground:#FBFAF6; --surface:#FFFFFF; --surface-2:#FCFBF8; --surface-3:#F1EEE7;
  --ink:#1A1D1C; --ink-2:#5B6260; --ink-3:#8F9592;
  --line:#E9E5DC; --line-strong:#D2CCC0;
  --btn:#1A1D1C; --btn-hi:#000000; --on-btn:#FFFFFF;
  --serif:'Bodoni Moda', 'Didot', 'Bodoni 72', Georgia, serif;
  /* the serif's sturdier cut: thicker thin strokes, easier to read */
  --serif-axes:"opsz" 14;
  --sand:#F3EBDD;
  --accent:#0D5C63; --accent-hi:#0A464B; --accent-soft:#E1EFEF; --accent-ink:#0B4A50;
  --critical:#B4331F; --critical-soft:#F8DDD6; --critical-wash:#FDF4F2;
  --warn:#A75A08; --warn-soft:#FAE9D2; --warn-wash:#FEF8F0;
  --good:#3F7D33; --good-soft:#E0EFDC; --good-wash:#F4FAF2;
  --shadow:0 1px 2px rgba(20,27,26,.04), 0 10px 30px -14px rgba(20,27,26,.16);
  color-scheme:light;
}
/* Dark only when chosen in the dashboard (theme.js sets data-theme), or when
   someone chose "follow my computer" there and the computer is in dark mode. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --ground:#0F1413; --surface:#171D1C; --surface-2:#1B2221; --surface-3:#232D2C;
    --ink:#ECEFEC; --ink-2:#9BA7A3; --ink-3:#717D79;
    --line:#2A3432; --line-strong:#3C4846;
    --accent:#56C4BE; --accent-hi:#7BD6D1; --accent-soft:#16332F; --accent-ink:#8FE0DB;
    --critical:#EE8266; --critical-soft:#3A211B; --critical-wash:#241715;
    --warn:#E0A44E; --warn-soft:#372812; --warn-wash:#231B11;
    --good:#8FC47E; --good-soft:#1D2C19; --good-wash:#161F14;
    --shadow:0 1px 2px rgba(0,0,0,.4), 0 12px 32px -16px rgba(0,0,0,.75);
    --btn:#ECEFEC; --btn-hi:#FFFFFF; --on-btn:#0F1413;
    --sand:#211E19;
    color-scheme:dark;
  }
}
:root[data-theme="dark"] {
    --ground:#0F1413; --surface:#171D1C; --surface-2:#1B2221; --surface-3:#232D2C;
    --ink:#ECEFEC; --ink-2:#9BA7A3; --ink-3:#717D79;
    --line:#2A3432; --line-strong:#3C4846;
    --accent:#56C4BE; --accent-hi:#7BD6D1; --accent-soft:#16332F; --accent-ink:#8FE0DB;
    --critical:#EE8266; --critical-soft:#3A211B; --critical-wash:#241715;
    --warn:#E0A44E; --warn-soft:#372812; --warn-wash:#231B11;
    --good:#8FC47E; --good-soft:#1D2C19; --good-wash:#161F14;
    --shadow:0 1px 2px rgba(0,0,0,.4), 0 12px 32px -16px rgba(0,0,0,.75);
    --btn:#ECEFEC; --btn-hi:#FFFFFF; --on-btn:#0F1413;
    --sand:#211E19;
    color-scheme:dark;
  }
* { box-sizing:border-box; }
/* anything marked hidden stays hidden, whatever display a class gives it */
[hidden] { display:none !important; }
body { margin:0; background:var(--ground); color:var(--ink);
       font-family:'Archivo', system-ui, -apple-system, sans-serif; font-size:14px; line-height:1.5; }
body.centre { min-height:100vh; display:grid; place-items:center; padding:24px; }
body.page { padding:26px 20px 110px; }
/* the watercolour washes behind the light pages; none in dark mode.
   Sign-in pages: behind the whole screen (the card covers the middle).
   Long pages: only across the top, so it never runs behind what you read. */
body.centre::before { content:""; position:fixed; inset:0; z-index:-1;
  background:url(wash.svg) center / cover no-repeat; pointer-events:none; }
body.page::before { content:""; position:absolute; left:0; right:0; top:0; height:340px; z-index:-1;
  background:url(wash.svg) center top / cover no-repeat; pointer-events:none; opacity:.75;
  -webkit-mask-image:linear-gradient(#000 40%, transparent); mask-image:linear-gradient(#000 40%, transparent); }
:root[data-theme="dark"] body::before { display:none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme]) body::before { display:none; } }   /* room under the last card for Netlify's corner badge */
.wrap { max-width:640px; margin:0 auto; }
/* the logo block, drawn exactly like the dashboard's sidebar */
.brand { display:flex; align-items:flex-start; gap:10px; }
/* The logo is exactly as tall as the words beside it: from the top of the
   name to the baseline of FRONT DESK. Checked by tests/browser/logo.py. */
.brand-mark { display:block; flex:none; height:35.25px; margin-top:1.75px; }
.brand-mark img { height:100%; width:auto; display:block; }
.brand-name { font-family:var(--serif); font-variation-settings:var(--serif-axes); font-weight:600; letter-spacing:.005em; font-size:19px; line-height:1.1; }
.brand-sub { font-size:10.5px; color:var(--ink-3); letter-spacing:.09em; text-transform:uppercase; font-weight:600; }
.mark { width:34px; height:34px; border-radius:9px; background:var(--accent); display:grid; place-items:center; }
h1 { font-family:var(--serif); font-variation-settings:var(--serif-axes); font-weight:500; font-size:30px; margin:0 0 4px; letter-spacing:-.01em; line-height:1.1; }
h2 { font-size:13px; font-weight:700; margin:0; }
.sub { color:var(--ink-3); font-size:13px; }
.card { background:var(--surface); border:1px solid var(--line); border-radius:12px;
        box-shadow:var(--shadow); padding:20px; margin-bottom:14px; }
.card > header { display:flex; align-items:baseline; gap:9px; margin:-4px 0 14px; }
.card > header .why { font-size:12px; color:var(--ink-3); }
label { display:block; font-size:12px; font-weight:600; color:var(--ink-2); margin:12px 0 4px; }
input, select { width:100%; padding:9px 11px; font:inherit; color:var(--ink); background:var(--surface-2);
                border:1px solid var(--line-strong); border-radius:8px; outline:none; }
input:focus, select:focus { border-color:var(--accent); }
input[readonly] { color:var(--ink-2); }
button { padding:9px 15px; font:inherit; font-weight:600; border-radius:8px;
         border:1px solid var(--line-strong); background:var(--surface); color:var(--ink); cursor:pointer; }
button:hover { background:var(--surface-3); }
button.go { background:var(--btn); border-color:var(--btn); color:var(--on-btn); }
button.go:hover { background:var(--btn-hi); border-color:var(--btn-hi); }
button.sm { padding:5px 10px; font-size:12px; border-radius:6px; }
button.danger { color:var(--critical); }
button:disabled { opacity:.5; cursor:default; }
.row { display:flex; gap:10px; align-items:center; padding:10px 0; border-bottom:1px solid var(--line); }
.row:last-child { border-bottom:0; }
.row .grow { flex:1; min-width:0; }
.row .who { font-weight:600; overflow:hidden; text-overflow:ellipsis; }
.row .meta { font-size:12px; color:var(--ink-3); }
.tag { font-size:10.5px; font-weight:700; letter-spacing:.06em; text-transform:uppercase;
       padding:3px 8px; border-radius:5px; background:var(--surface-3); color:var(--ink-2); white-space:nowrap; }
.tag.owner { background:var(--accent-soft); color:var(--accent-ink); }
.tag.pending { background:var(--warn-soft); color:var(--warn); }
.tag.ok { background:var(--good-soft); color:var(--good); }
.tag.bad { background:var(--critical-soft); color:var(--critical); }
.msg { margin-top:14px; padding:11px 13px; border-radius:9px; font-size:13px; display:none; }
.msg.bad { display:block; background:var(--critical-wash); color:var(--critical); }
.msg.good { display:block; background:var(--good-wash); color:var(--good); }
.note { font-size:12.5px; color:var(--ink-2); background:var(--surface-2); border:1px solid var(--line);
        border-radius:9px; padding:11px 13px; }
.note b { color:var(--ink); }
.actions { display:flex; gap:8px; flex-wrap:wrap; margin-top:16px; }
.crumbs { margin-bottom:18px; font-size:13px; }
.crumbs a { color:var(--accent-ink); text-decoration:none; font-weight:600; }
.crumbs a:hover { text-decoration:underline; }
.copyline { display:flex; gap:8px; align-items:center; }
.copyline input { font-family:'IBM Plex Mono', ui-monospace, Menlo, monospace; font-size:12.5px; }
.big { font-size:26px; font-weight:700; letter-spacing:-.025em; }
.price { display:flex; align-items:baseline; gap:8px; margin:6px 0 2px; }
.price .amt { font-size:30px; font-weight:700; letter-spacing:-.03em; }
.price .per { color:var(--ink-3); font-size:13px; }
ul.ticks { list-style:none; padding:0; margin:14px 0 0; }
ul.ticks li { padding:4px 0 4px 22px; position:relative; font-size:13.5px; }
ul.ticks li::before { content:""; position:absolute; left:3px; top:11px; width:9px; height:5px;
  border-left:2px solid var(--good); border-bottom:2px solid var(--good); transform:rotate(-45deg); }
