/* Conference Desk host (app.conferencedesk.app). Loaded only by the pages built under /_desk/ (tools/build.mjs
   DESK_VARIANTS), whose <html> carries data-host="desk". The site colour tokens get neutral Conference Desk values
   (conference-desk site.css: ink on warm paper, plum as the signature, apricot as a highlight with ink text only), so
   the account pages and the dashboard read as Conference Desk until a conference sets its own brand. Dark mode (opt-in,
   html[data-theme="dark"]) keeps its own values. */
:root[data-host="desk"]:not([data-theme="dark"]){
  --navy:#231B32; --navy-2:#2E2440; --navy-3:#4A3F5E; --navy-rgb:35,27,50;
  --sea:#6246A6; --sea-2:#4E3787; --sea-tint:#ECE6F7; --sea-light:#B3A2DB; --sea-pale:#C7B5EC;
  --copper:#F3B78D; --copper-light:#F7CDAF; --copper-pale:#FCE9DB;
  --orange:#231B32; --orange-2:#3B2F52; --orange-tint:#FCE9DB;
  --sand:#F8F6F1; --ice:#EFE9FA; --mist:#F8F6F1;
  --rib-sea:#6246A6; --rib-copper:#F3B78D; --rib-sea-dk:#B3A2DB; --rib-copper-dk:#F3B78D;
  --ink:#231B32; --ink-2:#4A4256; --muted:#696174; --line:#DEDAD3; --line-2:#CFCAC2;
  --focus:#6246A6; --danger:#B4261E;
}
/* Desk pages outside the dashboard: Newsreader headings and Inter text on warm paper, as on conferencedesk.app */
:root[data-host="desk"] body:not(.app-page){--fd:"Newsreader","Iowan Old Style",Georgia,serif;--fs:"Newsreader","Iowan Old Style",Georgia,serif}
:root[data-host="desk"]:not([data-theme="dark"]) body:not(.app-page){background:#F8F6F1}
:root[data-host="desk"] body:not(.app-page) :is(h1,h2,h3,.auth-art-title){font-weight:500;letter-spacing:-.01em}

/* Plain Desk header and footer (in place of the conference site chrome) */
.dk-wrap{max-width:1180px;margin:0 auto;padding:0 16px}
@media (min-width:760px){.dk-wrap{padding:0 24px}}
.dk-head{border-bottom:1px solid var(--line);background:var(--white)}
.dk-head .dk-wrap{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:64px}
.dk-brand{display:inline-flex;align-items:center;gap:10px;min-height:44px;color:var(--ink);font:600 18px/1.2 var(--fb);text-decoration:none}
.dk-help{display:inline-flex;align-items:center;min-height:44px;color:var(--sea-2);font-weight:600}
.dk-foot{border-top:1px solid var(--line);padding:24px 0;color:var(--muted);font-size:15px}
.dk-foot p{margin:0}
.dk-foot a{color:var(--sea-2)}

/* The account page sits under the Desk header, not the conference site's fixed one */
:root[data-host="desk"] .auth{min-height:calc(100svh - 65px)}
:root[data-host="desk"] .auth-art{padding-top:56px;background:var(--ice)}
:root[data-host="desk"] .auth-art::after{display:none}
:root[data-host="desk"] .auth-art-in img{border-radius:0}
:root[data-host="desk"] .auth-main{padding-top:48px}
:root[data-host="desk"] .auth-tabs{background:var(--line)}
@media (max-width:900px){:root[data-host="desk"] .auth{min-height:0}:root[data-host="desk"] .auth-main{padding-top:24px}:root[data-host="desk"] .auth-art{padding-top:28px}}

/* /start: create a conference */
.dk-start{max-width:640px;margin:0 auto;padding:40px 16px 64px}
@media (min-width:760px){.dk-start{padding:64px 24px 96px}}
.dk-start h1{font-size:clamp(34px,5vw,48px);line-height:1.08;color:var(--ink);margin:0 0 12px}
.dk-start .lede{font-size:18px;color:var(--ink-2);margin:0 0 28px}
.dk-card{background:var(--white);border:1px solid var(--line);border-radius:20px;padding:24px}
@media (min-width:600px){.dk-card{padding:32px}}
.dk-form{display:grid;gap:20px}
.dk-form fieldset{margin:0;padding:0;border:0;display:grid;gap:10px}
.dk-form legend{padding:0;margin-bottom:6px;font-size:16px;font-weight:600;color:var(--ink)}
.dk-form .field>label{font-size:16px;font-weight:600;color:var(--ink)}
.dk-hint{margin:0;color:var(--muted);font-size:15px}
.dk-row{display:grid;gap:20px}
@media (min-width:560px){.dk-row{grid-template-columns:1fr 1fr}}
.dk-choices{display:flex;flex-wrap:wrap;gap:10px}
.dk-choices label{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 16px;border:1px solid var(--field-line);border-radius:10px;background:var(--white);cursor:pointer;font-size:16px}
.dk-choices input{width:18px;height:18px;margin:0;accent-color:var(--sea)}
.dk-choices label:has(input:checked){border-color:var(--sea);box-shadow:inset 0 0 0 1px var(--sea);background:var(--sea-tint)}
.dk-choices label:has(input:focus-visible){outline:3px solid var(--focus);outline-offset:2px}
.dk-form .check{font-size:16px;line-height:1.5}
.dk-form .check input{width:20px;height:20px;flex:none;margin-top:2px;accent-color:var(--sea)}
.dk-form .btn{justify-self:start;min-height:48px;border-radius:12px}
.dk-copy{margin-top:32px}
.dk-copy h2{font-size:26px;margin:0 0 8px;color:var(--ink)}
.dk-or{margin:32px 0 0;color:var(--muted);text-align:center}
.dk-status{display:grid;gap:12px}
