/* Udara sleep diary V0: the styles of the approved design (clients/udara_health/design/artboards/, DESIGN_DIRECTION.md §2 to §4),
   one file for the six phone views and the clinician's page. Light only. No gradients, no emoji, no fake chrome.

   JJ's four open defaults (DESIGN_DIRECTION §8) are each one line:
     1. the ground:    --ground below (#FBF8F3 as designed; her site's cream is #FDF9F0)
     2. the typeface:  --f-sans below (Aspekta, self-hosted, as the direction requires; 'Instrument Sans' was the design stand-in and is also self-hosted)
     3. six ratings or four:            js/templates.js RATINGS
     4. colour on the Paused pathway:   js/templates.js PAUSED_BAND_COLOUR */

@font-face{font-family:Aspekta;src:url(../fonts/AspektaVF.woff2) format('woff2-variations');font-weight:50 1000;font-style:normal;font-display:swap}
@font-face{font-family:'Instrument Sans';src:url(../fonts/InstrumentSansVF-latin.woff2) format('woff2-variations');font-weight:400 700;font-style:normal;font-display:swap}
@font-face{font-family:Fraunces;src:url(../fonts/FrauncesVF-latin.woff2) format('woff2-variations');font-weight:100 900;font-style:normal;font-display:swap}

:root{
  color-scheme:light;
  --ground:#FBF8F3;            /* 1. the page ground; her cream #FDF9F0 flips it */
  --f-sans:Aspekta;            /* 2. the sans; 'Instrument Sans' flips it */
  --surface:#FFFFFF; --ink:#241619; --ink-2:#5E5254; --ink-3:#7A6C6F; --field:#F3EDE8;
  --maroon:#7E0117; --maroon-dark:#5A0010; --orange:#FB5D15; --plum:#530843; --plum-bg:#EFE3EC;
  --hair:rgba(126,1,23,.08); --hair-2:rgba(126,1,23,.12);
  --green:#1F6B45; --green-bg:#E6F2EA; --yellow:#7A5A00; --yellow-bg:#FFF3D1; --red:#8F1D16; --red-bg:#F9E3E0; --grey-bg:#F6EFE6;
  --bar:#E9DFD9; --bar-green:#BFDCC9; --bar-yellow:#F2DDA0; --bar-red:#E8B4AE; --switch-off:#E3D9D4;
  --shadow:0 1px 2px rgba(36,22,25,.04),0 10px 28px rgba(126,1,23,.05);
  --f-serif:Fraunces,Georgia,serif;
  --sans:var(--f-sans),system-ui,-apple-system,'Segoe UI',sans-serif;
}
*{box-sizing:border-box}
html{overflow-anchor:none;scroll-padding-bottom:6rem;-webkit-text-size-adjust:100%}
html,body{margin:0;background:var(--ground);color:var(--ink);font-family:var(--sans);font-size:15px;line-height:1.45;-webkit-font-smoothing:antialiased}
a{color:var(--maroon);text-decoration:none}a:hover{color:var(--maroon-dark)}
button{font:inherit;cursor:pointer;color:inherit}
input,select,textarea{font:inherit;color:inherit}
p{margin:0}
h1,h2,h3{margin:0;font-weight:500}
button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,a:focus-visible{outline:2px solid var(--orange);outline-offset:2px}
.hidden{display:none!important}
.vh{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* ---------- type ---------- */
.serif{font-family:var(--f-serif);font-variation-settings:"opsz" 72;font-weight:500;letter-spacing:-0.01em}
.h1{font-family:var(--f-serif);font-variation-settings:"opsz" 72;font-weight:500;font-size:30px;line-height:1.1;letter-spacing:-0.012em;margin:0;color:var(--ink);text-wrap:balance}
.h2{font-family:var(--f-serif);font-variation-settings:"opsz" 72;font-weight:500;font-size:40px;line-height:1.05;letter-spacing:-0.015em;margin:0}
.sub{font-size:15px;line-height:1.45;color:var(--ink-2);margin:6px 0 0}
.lbl{font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--ink-3);margin:0 0 10px}
.lbl.eyebrow{color:var(--orange);margin:0 0 6px}
.note{font-size:13px;line-height:1.45;color:var(--ink-2);margin:0}
.p{font-size:15px;line-height:1.5;margin:0}
.q{font-size:15px;line-height:1.45;font-weight:600;color:var(--ink);margin:0 0 8px}
.big{font-family:var(--f-serif);font-variation-settings:"opsz" 144;font-weight:400;font-size:64px;line-height:1;letter-spacing:-0.025em;margin:0;color:var(--ink);font-variant-numeric:tabular-nums}
.big small{font-size:28px;letter-spacing:0;margin-left:2px}
.big.none{color:var(--ink-3);font-size:40px}
.ul{margin:0;padding-left:18px;font-size:13px;line-height:1.5;color:var(--ink-2)}
.ul li{margin:0 0 4px}
.ul.ink{font-size:14px;color:var(--ink)}

/* ---------- the phone column ---------- */
.app{min-height:100vh;display:flex;flex-direction:column}
.phone{width:100%;max-width:480px;margin:0 auto;min-height:100vh;display:flex;flex-direction:column;background:var(--ground)}
.head{padding:26px 20px 10px;display:flex;flex-direction:column;gap:10px}
.head.tight{gap:0}
.body{padding:6px 16px 0;display:flex;flex-direction:column;gap:12px;flex:1 1 auto;min-width:0}
.body.settings{padding:0 16px;gap:16px}
.body.history{padding:0 16px}
.row{display:flex;justify-content:space-between;align-items:center;gap:12px}
.mark{width:34px;height:34px;border-radius:999px;background:var(--maroon);display:inline-flex;align-items:center;justify-content:center;color:#fff;font-family:var(--f-serif);font-weight:500;font-size:17px;flex:none}
.mark.lg{width:44px;height:44px;font-size:20px}
.link{font-size:13px;font-weight:600;color:var(--maroon);background:transparent;border:0;padding:0;min-height:0}
.link.md{font-size:14px}
.card{background:var(--surface);border-radius:20px;padding:18px;box-shadow:var(--shadow);min-width:0}
.card.gap{display:flex;flex-direction:column;gap:14px}
.card.gap12{display:flex;flex-direction:column;gap:12px}
.card.gap10{display:flex;flex-direction:column;gap:10px}
.card.gap16{display:flex;flex-direction:column;gap:16px}
.card.rows{padding:4px 18px}
.card.list{padding:6px 18px}
.stack{display:flex;flex-direction:column;gap:8px}
.stack10{display:flex;flex-direction:column;gap:10px}
.two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.two.top{align-items:start}
.two.mid{align-items:center}
.center{text-align:center}
.pad{padding:0 10px}
.padx6{padding:0 6px}
.status{font-size:13px;font-weight:600;color:var(--green);background:var(--green-bg);border-radius:14px;padding:10px 14px}
.err{font-size:13px;font-weight:600;color:var(--red);background:var(--red-bg);border-radius:14px;padding:10px 14px}

/* ---------- controls ---------- */
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chip{height:40px;padding:0 15px;border-radius:999px;border:0;background:var(--field);color:var(--ink);font-size:15px;font-weight:600;display:inline-flex;align-items:center}
.chip.sm{height:38px;padding:0 14px;font-size:14px}
.chip.on{background:var(--maroon);color:#fff}
.seg{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:4px;background:var(--field);border-radius:14px}
.seg.two{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}
.seg.four{grid-template-columns:repeat(4,minmax(0,1fr))}
.seg button{height:40px;min-width:0;border:0;border-radius:11px;background:transparent;font-size:14px;font-weight:600;color:var(--ink-2);padding:0 4px;overflow-wrap:anywhere}
.seg button.on{background:#fff;color:var(--ink);box-shadow:0 1px 3px rgba(36,22,25,.08)}
.field{display:flex;flex-direction:column;gap:2px;background:var(--field);border-radius:14px;padding:10px 14px 8px;min-width:0}
.field label{font-size:12px;font-weight:600;color:var(--ink-3);letter-spacing:.02em}
.field input[type=time],.field input[type=date],.field input[type=number],.field input[type=text],.field input[type=email],.field select{border:0;background:transparent;padding:0;font-family:var(--f-serif);font-variation-settings:"opsz" 72;font-size:24px;font-weight:500;color:var(--ink);width:100%;min-width:0;letter-spacing:-0.01em;min-height:32px}
.field input[type=text],.field input[type=email],.field select{font-family:var(--sans);font-size:17px;font-weight:500}
.field.sm input[type=time]{font-size:22px}
.field input::-webkit-calendar-picker-indicator{display:none}
.field input::-webkit-date-and-time-value{text-align:left}
.step{display:flex;align-items:center;gap:10px}
.step button{width:44px;height:44px;border-radius:999px;border:0;background:var(--field);font-size:22px;color:var(--maroon);display:inline-flex;align-items:center;justify-content:center;flex:none}
.step .n{font-family:var(--f-serif);font-size:26px;font-weight:500;min-width:28px;text-align:center}
.range{display:grid;grid-template-columns:1fr 36px;gap:12px;align-items:center}
.range input[type=range]{width:100%;accent-color:var(--maroon);height:28px;margin:0;min-height:44px}
.range .v{font-family:var(--f-serif);font-size:20px;font-weight:500;text-align:right;color:var(--ink)}
.rrow{display:flex;justify-content:space-between;align-items:baseline;margin:0 0 2px;gap:8px}
.rrow .nm{font-size:15px;font-weight:600}
.rrow .hint{font-size:12px;color:var(--ink-3);text-align:right}
.btn{height:52px;border-radius:999px;border:0;background:var(--maroon);color:#fff;font-size:16px;font-weight:600;width:100%;display:inline-flex;align-items:center;justify-content:center;padding:0 16px}
.btn.alt{background:#fff;color:var(--maroon);border:1.5px solid rgba(126,1,23,.28)}
.btn.off{opacity:.45;cursor:not-allowed}
.btn:disabled{opacity:.45;cursor:not-allowed}
.choice{display:flex;flex-direction:column;gap:8px}
.choice button{height:48px;border-radius:999px;border:1.5px solid rgba(126,1,23,.22);background:#fff;color:var(--maroon);font-size:15px;font-weight:600;padding:0 14px}
.choice button.first{background:var(--maroon);color:#fff;border-color:var(--maroon)}
.why{border:0;background:transparent;color:var(--maroon);font-weight:600;font-size:14px;padding:0;display:inline-flex;align-items:center;gap:6px;min-height:28px;text-align:left}
.why svg{width:16px;height:16px;flex:none}
.sw{width:50px;height:30px;border-radius:999px;border:0;background:var(--switch-off);position:relative;flex:none;padding:0}
.sw i{position:absolute;top:3px;left:3px;width:24px;height:24px;border-radius:999px;background:#fff;box-shadow:0 1px 3px rgba(36,22,25,.2);transition:left .15s}
.sw.on{background:var(--maroon)}.sw.on i{left:23px}
.sw.sm{width:46px;height:28px}.sw.sm i{width:22px;height:22px}.sw.sm.on i{left:21px}
.done{background:var(--green-bg);color:var(--green);border-radius:16px;padding:14px 16px;font-size:15px;line-height:1.45}
.ok{background:var(--green-bg);color:var(--green);border-radius:16px;padding:14px 16px;font-size:15px;line-height:1.45}
.ok.quiet{background:var(--field);color:var(--ink)}
.hold{background:var(--grey-bg);color:var(--ink);border-radius:16px;padding:14px 16px;font-size:15px;line-height:1.45}
.plum{background:var(--plum-bg);color:var(--plum);border-radius:14px;padding:12px 14px;font-size:14px;line-height:1.45;margin:0 0 14px}
.consider{background:var(--field);border-radius:14px;padding:12px 14px;display:flex;justify-content:space-between;align-items:baseline;gap:10px;flex-wrap:wrap}
.consider span:first-child{font-size:13px;font-weight:600;color:var(--ink-3)}
.consider .val{font-family:var(--f-serif);font-size:20px;font-weight:500}
.rev{display:flex;align-items:center;gap:10px;background:var(--field);border-radius:14px;padding:10px 14px;font-size:13px;line-height:1.4;color:var(--ink)}
.rev b{color:var(--maroon)}
.rev svg{width:18px;height:18px;flex:none;color:var(--green)}
.pausedline{display:flex;align-items:center;gap:10px;background:var(--grey-bg);border-radius:14px;padding:10px 14px;font-size:13px;font-weight:600;color:var(--maroon)}
.pausedline svg{width:18px;height:18px;flex:none}

/* ---------- the number, the band, the figures ---------- */
.band{display:inline-flex;align-items:center;gap:8px;height:30px;padding:0 12px;border-radius:999px;font-size:13px;font-weight:700;letter-spacing:.02em;white-space:nowrap;flex:none}
.band i{width:10px;height:10px;border-radius:999px;background:currentColor;display:inline-block}
.band.red{background:var(--red-bg);color:var(--red)}.band.yellow{background:var(--yellow-bg);color:var(--yellow)}.band.green{background:var(--green-bg);color:var(--green)}.band.grey{background:var(--grey-bg);color:var(--maroon)}
.kv{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 14px;margin:0}
.kv div{display:flex;flex-direction:column;gap:2px;min-width:0}
.kv dt{font-size:12px;color:var(--ink-3);font-weight:600}
.kv dd{margin:0;font-size:15px;font-weight:600;overflow-wrap:anywhere}
.bars{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:10px;align-items:end;height:74px}
.bar{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:4px;height:100%;min-width:0}
.bar i{display:block;width:100%;border-radius:6px 6px 3px 3px;background:var(--bar)}
.bar.red i{background:var(--bar-red)}.bar.yellow i{background:var(--bar-yellow)}.bar.green i{background:var(--bar-green)}
.bar span{font-size:11px;color:var(--ink-3);font-weight:600;white-space:nowrap}
.bars.six .bar span{font-size:10px}
.pill{display:inline-flex;align-items:center;gap:6px;height:28px;padding:0 10px;border-radius:999px;background:var(--field);font-size:13px;font-weight:600;color:var(--ink)}
.pill b{font-family:var(--f-serif);font-weight:500;font-size:15px}
.pills{display:flex;flex-wrap:wrap;gap:8px}
.dots{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}
.dot{display:flex;flex-direction:column;align-items:center;gap:6px;border:0;background:transparent;padding:6px 0;border-radius:12px;color:var(--ink-3);font-size:11px;font-weight:600;min-width:0}
.dot i{display:block;width:30px;height:30px;border-radius:999px;background:var(--field);border:2px solid transparent}
.dot.f i{background:var(--maroon)}
.dot.t i{border-color:var(--orange)}
.dot.sel{background:var(--field);color:var(--ink)}
.pw{display:inline-flex;align-items:center;gap:8px;height:30px;padding:0 12px;border-radius:999px;font-size:13px;font-weight:700;background:var(--field);color:var(--ink);white-space:nowrap}
.pw.paused{background:var(--grey-bg);color:var(--maroon)}
.pw.modified{background:var(--plum-bg);color:var(--plum)}
.pw.standard{background:var(--green-bg);color:var(--green)}
.item{padding:14px 0;border-top:1px solid var(--hair)}
.item.first{border-top:0;padding-top:0}

/* ---------- settings rows ---------- */
.srow{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 0;border-top:1px solid var(--hair);min-height:56px}
.srow.first{border-top:0}
.srow>div:first-child{min-width:0}
.srow .t{font-size:15px;font-weight:600;margin:0}
.srow .d{font-size:13px;color:var(--ink-2);margin:3px 0 0;line-height:1.4}
.srow .v{font-size:14px;font-weight:600;color:var(--ink-3);text-align:right;flex:none;max-width:45%;overflow-wrap:anywhere}
.srow .v.act{color:var(--maroon);background:transparent;border:0;padding:0}
.col{display:flex;flex-direction:column;gap:10px;padding:14px 0;border-top:1px solid var(--hair)}
.col.first{border-top:0}
.s-lbl{padding:0 6px;margin:0 0 8px}

/* ---------- history ---------- */
.n{display:grid;grid-template-columns:52px 1fr auto;gap:12px;align-items:center;padding:12px 0;border-top:1px solid var(--hair);min-height:60px;width:100%;background:transparent;border-left:0;border-right:0;border-bottom:0;text-align:left;border-radius:0;color:inherit}
.n.first{border-top:0}
.n .d{display:flex;flex-direction:column;line-height:1.1}
.n .d b{font-size:15px}
.n .d span{font-size:11px;color:var(--ink-3);font-weight:600;text-transform:uppercase;letter-spacing:.06em}
.n .dur{font-family:var(--f-serif);font-size:22px;font-weight:500;letter-spacing:-0.01em}
.n .dur small{font-family:var(--sans);font-size:12px;color:var(--ink-3);font-weight:600;letter-spacing:0}
.n .m{font-size:12px;color:var(--ink-2);margin:2px 0 0}
.n .tags{display:flex;gap:4px;justify-content:flex-end;flex-wrap:wrap;max-width:110px}
.tg{font-size:11px;font-weight:600;padding:3px 8px;border-radius:999px;background:var(--field);color:var(--ink-2);white-space:nowrap}
.tg.late{background:var(--yellow-bg);color:var(--yellow)}
.tg.nap{background:var(--plum-bg);color:var(--plum)}
.blank{color:var(--ink-3);font-size:14px;font-style:italic}
.wk{display:flex;justify-content:space-between;align-items:baseline;padding:14px 0 6px;gap:10px}
.wk b{font-size:13px;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-3)}
.wk span{font-size:13px;color:var(--ink-2);text-align:right}
.ev{display:grid;grid-template-columns:14px 1fr;gap:12px;padding:12px 0;border-top:1px solid var(--hair)}
.ev.first{border-top:0}
.ev i{display:block;width:10px;height:10px;border-radius:999px;background:var(--maroon);margin-top:5px}
.ev i.g{background:var(--green)}.ev i.y{background:var(--yellow)}.ev i.r{background:var(--red)}.ev i.p{background:var(--plum)}.ev i.k{background:#B9ABA7}
.ev .w{font-size:12px;color:var(--ink-3);font-weight:600;margin:0 0 2px}
.ev .t{font-size:14px;line-height:1.45;margin:0}

/* ---------- the tab bar ---------- */
.tabbar{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));padding:8px 10px calc(10px + env(safe-area-inset-bottom,0px));background:var(--surface);border-top:1px solid var(--hair);position:sticky;bottom:0;z-index:4;margin-top:14px}
.tab{display:flex;flex-direction:column;align-items:center;gap:3px;padding:6px 0;font-size:11px;font-weight:600;color:var(--ink-3);border-radius:12px;border:0;background:transparent;min-width:0}
.tab.on{color:var(--maroon)}
.tab svg{width:22px;height:22px}

/* ---------- the clinician's page (laptop; wraps on a phone) ---------- */
.clin{min-height:100vh;display:flex;flex-direction:column;background:var(--ground);font-size:14px}
.clin .top{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:14px max(16px,env(safe-area-inset-right,0px)) 14px max(16px,env(safe-area-inset-left,0px));background:var(--surface);border-bottom:1px solid var(--hair)}
.clin .brand{display:flex;align-items:center;gap:12px}
.clin .mark{background:var(--orange);font-size:18px}
.clin .brand b{font-family:var(--f-serif);font-weight:500;font-size:19px;color:var(--maroon)}
.clin .brand span{font-size:13px;color:var(--ink-3);font-weight:600}
.clin .who{font-size:13px;color:var(--ink-2);display:flex;gap:14px;align-items:center;flex-wrap:wrap}
.clin .who button{font-weight:600;color:var(--maroon);background:transparent;border:0;padding:0}
.clin .wrap{max-width:1280px;width:100%;margin:0 auto;padding:20px max(16px,env(safe-area-inset-right,0px)) 40px max(16px,env(safe-area-inset-left,0px));display:flex;flex-wrap:wrap;gap:20px;align-items:flex-start}
.clin .list{flex:1 1 340px;min-width:0;display:flex;flex-direction:column;gap:12px}
.clin .detail{flex:999 1 560px;min-width:0;display:flex;flex-direction:column;gap:16px}
.clin .card{border-radius:18px;padding:0}
.clin .card.pad{padding:18px 20px}
.clin .card.pad14{padding:14px 16px}
.clin .h2{font-size:26px;line-height:1.1;letter-spacing:-0.012em}
.clin .chip{height:34px;padding:0 12px;font-size:13px}
.clin .chips{gap:6px}
.crow{display:grid;grid-template-columns:1fr auto;gap:8px 12px;align-items:center;width:100%;text-align:left;padding:14px 16px;border:0;border-top:1px solid var(--hair);background:transparent;color:inherit;border-radius:0}
.crow.first{border-top:0;border-radius:18px 18px 0 0}
.crow:last-child{border-radius:0 0 18px 18px}
.crow.sel{background:var(--ground)}
.crow .nm{font-size:15px;font-weight:600;margin:0}
.crow .sub{font-size:12px;color:var(--ink-3);margin:3px 0 0}
.crow .se{font-family:var(--f-serif);font-size:20px;font-weight:500;text-align:right;line-height:1;white-space:nowrap}
.crow .bw{font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;text-align:right;margin-top:3px}
.crow .tags{display:flex;gap:4px;flex-wrap:wrap;grid-column:1 / -1}
.crow .tags:empty{display:none}
.clin .tg{font-weight:700;letter-spacing:.02em}
.tg.flag{background:var(--red-bg);color:var(--red)}.tg.rev{background:var(--yellow-bg);color:var(--yellow)}.tg.wait{background:var(--field);color:var(--ink-2)}.tg.paused{background:var(--grey-bg);color:var(--maroon)}.tg.ok{background:var(--green-bg);color:var(--green)}
.c-green{color:var(--green)}.c-yellow{color:var(--yellow)}.c-red{color:var(--red)}.c-grey{color:var(--ink-3)}
.clin .band{height:28px;padding:0 11px;font-size:12px}
.clin .band i{width:9px;height:9px}
.clin .pw{height:26px;padding:0 10px;font-size:12px}
.clin .kv{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px 16px}
.tbox{overflow-x:auto;-webkit-overflow-scrolling:touch}
.clin table{border-collapse:collapse;width:100%;font-size:13px;font-variant-numeric:tabular-nums}
.clin th{font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-3);text-align:right;padding:8px 10px;border-bottom:1px solid var(--hair-2);white-space:nowrap}
.clin th:first-child,.clin td:first-child{text-align:left}
.clin td{padding:9px 10px;text-align:right;border-bottom:1px solid rgba(126,1,23,.06);white-space:nowrap}
.clin tr.sum td{font-weight:700;border-bottom:0;background:var(--ground)}
.clin td.blank{color:var(--ink-3);font-style:italic;text-align:left}
.clin .p{font-size:14px}
.acts{display:flex;flex-wrap:wrap;gap:8px}
.cbtn{height:42px;padding:0 18px;border-radius:999px;border:1.5px solid rgba(126,1,23,.25);background:#fff;color:var(--maroon);font-size:14px;font-weight:600}
.cbtn.pri{background:var(--maroon);border-color:var(--maroon);color:#fff}
.cbtn.on{background:var(--field);border-color:transparent;color:var(--ink)}
.cbtn.sm{height:36px;padding:0 14px}
.clin pre{margin:0;font:13px/1.55 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;white-space:pre-wrap;word-break:break-word;background:var(--ground);border-radius:12px;padding:12px 14px;color:var(--ink)}
.clin .ev{grid-template-columns:12px 1fr;gap:10px;padding:10px 0}
.clin .ev.first{padding-top:0}
.clin .ev i{width:9px;height:9px}
.clin .ev .t{font-size:13px}
.clin .side{display:flex;flex-wrap:wrap;gap:16px;align-items:flex-start}
.clin .side>.card{flex:1 1 320px;min-width:0}
.clin .side>.card.narrow{flex:1 1 280px}
.winopts{display:flex;gap:8px;flex-wrap:wrap;align-items:center}

/* ---------- sign-in (not in the artboards; the design's language) ---------- */
.signin{padding:30px 20px 10px;display:flex;flex-direction:column;gap:10px}
.foot{font-size:12px;color:var(--ink-3);text-align:center;padding:14px 20px 24px}

@media (prefers-reduced-motion:reduce){*{transition:none!important}}
