/* BookAhead by Cloudprinter. Brand: Main Blue #0066F9, Main Black #0B0F1B, yellow #FFC400. Type: Inter (OFL),
   self-hosted. Layout follows the Cloudprinter product page: white page, blue gradient panels with white inner
   cards, heavy headlines with a blue second half, soft pills, grey tab bars. */
@font-face{font-family:"Inter";font-style:normal;font-weight:100 900;font-display:swap;src:url(/static/fonts/inter-latin-wght-normal.woff2) format("woff2")}

:root{
  --blue:#0066F9;--blue-600:#0052C8;--blue-50:#EEF4FF;--blue-100:#DCE8FF;--blue-dark:#0E127B;--blue-light:#7AA2FF;
  --black:#0B0F1B;--g900:#232731;--g800:#3C3F49;--g700:#54575F;--g600:#6D6F76;--g500:#9D9FA4;--g400:#B6B7BB;
  --g300:#DDDDDD;--g200:#EAEBEC;--g150:#F3F4F6;--g100:#F5F5F5;--g50:#F8F9FB;--white:#FFFFFF;
  --green:#1E6B3A;--green-50:#E7F4EC;--red:#C62828;--red-50:#FDECEC;--yellow:#FFC400;--yellow-50:#FFF6D6;
  --yellow-ink:#7A5A00;--orange:#FF8401;--violet:#66146E;--violet-50:#F3EAF5;
  --line:#E6E8EC;--line-2:#EEF0F3;--ink-2:#6D6F76;
  --radius:24px;--radius-md:16px;--radius-sm:12px;
  --shadow:0 20px 60px rgba(11,15,27,.06);--shadow-blue:0 30px 80px rgba(0,102,249,.25);
  --gradient:linear-gradient(135deg,#0066F9 0%,#0B4FD8 55%,#0E127B 100%);
  --wrap:1240px;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;font-family:"Inter",system-ui,-apple-system,"Segoe UI",Arial,sans-serif;font-feature-settings:"cv11","ss01";color:var(--black);background:var(--white);line-height:1.5;font-size:15px;-webkit-font-smoothing:antialiased}
a{color:var(--blue);text-decoration:none}
a:hover{text-decoration:underline}
img,svg{max-width:100%}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.cplogo{display:block;height:auto}

/* ------------------------------------------------------------------ app bar */
.appbar{background:var(--white);border-bottom:1px solid #ECEEF2;position:sticky;top:0;z-index:20}
.appbar .in{max-width:var(--wrap);margin:0 auto;padding:0 40px;height:72px;display:flex;align-items:center;gap:32px}
.brand{display:flex;align-items:center;gap:10px;color:var(--black);flex:none}
.brand:hover{text-decoration:none}
.brand .cplogo{width:128px;color:var(--blue)}
.brand .product{font-weight:700;font-size:14px;color:var(--black);padding-top:3px}
.topnav{display:flex;gap:2px;font-size:14px;font-weight:600;min-width:0;overflow-x:auto;scrollbar-width:none}
.topnav::-webkit-scrollbar{display:none}
.topnav a{color:var(--g700);padding:8px 13px;border-radius:999px;white-space:nowrap}
.topnav a:hover{color:var(--black);text-decoration:none;background:var(--g150)}
.topnav a.on{color:var(--blue);background:var(--blue-50)}
.account{margin-left:auto;position:relative;flex:none}
.account>summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:12px;font-size:14px;color:var(--g600)}
.account>summary::-webkit-details-marker{display:none}
.account .tname{max-width:200px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.avatar{width:36px;height:36px;border-radius:50%;background:var(--black);color:#fff;display:grid;place-items:center;font-weight:700;font-size:13px;flex:none}
.account .menu{position:absolute;right:0;top:calc(100% + 10px);background:#fff;border:1px solid var(--line);border-radius:var(--radius-md);box-shadow:var(--shadow);padding:8px;min-width:240px;z-index:30}
.account .menu .who{padding:10px 12px 12px;border-bottom:1px solid var(--line-2);margin-bottom:6px;font-size:13px;color:var(--g600)}
.account .menu .who b{display:block;color:var(--black);font-size:14px}
.account .menu a,.account .menu button{display:flex;width:100%;align-items:center;gap:10px;padding:10px 12px;border-radius:10px;color:var(--g800);font-weight:600;font-size:14px;background:none;border:0;margin:0;cursor:pointer;text-align:left}
.account .menu a:hover,.account .menu button:hover{background:var(--g150);text-decoration:none}
.account .menu svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.account .menu .foot{padding:8px 12px 4px;font-size:12px;color:var(--g500)}
.tabnav{display:none}
main{max-width:var(--wrap);margin:0 auto;padding:48px 40px 80px}
.demobar{background:var(--yellow);color:var(--black);font-weight:700;text-align:center;padding:7px 16px;font-size:13.5px}
.staffbar{background:var(--yellow-50);border-bottom:1px solid #F2DF9C;color:var(--g900);font-size:13.5px}
.staffbar .in{max-width:var(--wrap);margin:0 auto;padding:8px 40px;display:flex;gap:8px;align-items:center;flex-wrap:wrap}

/* ------------------------------------------------------------------ type */
h1{font-size:44px;line-height:1.05;font-weight:900;letter-spacing:-.03em;margin:0 0 10px}
h2{font-size:22px;font-weight:800;margin:48px 0 16px;letter-spacing:-.02em}
h3{font-size:18px;font-weight:800;margin:0 0 8px;letter-spacing:-.01em}
p{margin:0 0 10px}
.muted{color:var(--ink-2);font-size:14px}
.small{font-size:13px}
.num{text-align:right;font-variant-numeric:tabular-nums}
code{font-family:"JetBrains Mono",Consolas,monospace;font-size:12.5px;background:var(--g150);padding:1px 6px;border-radius:6px}
pre{font-family:"JetBrains Mono",Consolas,monospace;font-size:12px;white-space:pre-wrap;word-break:break-word;background:var(--g50);border:1px solid var(--line);padding:12px;border-radius:var(--radius-sm);max-height:360px;overflow:auto}
.eyebrow-label{display:inline-flex;align-items:center;gap:8px;color:var(--blue);font-size:13px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;margin-bottom:16px}
.eyebrow-label::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--blue)}
.headline{font-size:56px;line-height:1.02;font-weight:900;letter-spacing:-.035em;margin:0}
.headline .blue,h1 .blue{color:var(--blue)}
.headline .kpi{font:inherit;letter-spacing:inherit}
.headline.md{font-size:46px}
.lede{margin:16px 0 0;font-size:18px;color:var(--g700);max-width:680px}
.pagehead{display:flex;align-items:flex-end;justify-content:space-between;gap:24px 40px;flex-wrap:wrap;margin-bottom:36px}
.pagehead>div:first-child{min-width:0;flex:1 1 520px}
.pagehead h1{margin:0}
.pagehead .sub{color:var(--g700);font-size:17px;margin:14px 0 0;max-width:720px}
.crumb{display:inline-flex;align-items:center;gap:6px;font-size:14px;font-weight:600;color:var(--g700);margin-bottom:22px}
.crumb:hover{color:var(--black);text-decoration:none}
.crumb svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:none}
.crumb{white-space:nowrap}
.actions{display:flex;gap:12px;flex-wrap:wrap;align-items:center}

/* ------------------------------------------------------------------ surfaces */
.card{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);padding:28px 32px;margin-bottom:24px;box-shadow:var(--shadow)}
.card>h3:first-child,.card>h2:first-child{margin-top:0}
.card.flush{padding:0;overflow:hidden}
.card.flush>.cardhead{padding:20px 32px;border-bottom:1px solid var(--line-2);margin:0}
.cardhead{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:14px}
.cardhead h3{margin:0}
.cardhead .sub{font-size:14px;color:var(--ink-2);margin:4px 0 0}
.grid{display:grid;gap:24px;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));margin-bottom:24px}
.grid.two{grid-template-columns:repeat(auto-fit,minmax(380px,1fr))}
.grid>.card,.grid>details.more{margin-bottom:0}
.split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);gap:32px;align-items:start;margin-bottom:40px}
.split.wide-left{grid-template-columns:minmax(0,1.55fr) minmax(0,1fr)}
.split.even{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:stretch}
.split>*{margin-bottom:0}
.col{display:flex;flex-direction:column;gap:24px;min-width:0}
.col>*{margin-bottom:0}
.stack>*+*{margin-top:16px}
.stat .label{font-size:13px;color:var(--g600)}
.stat .value{white-space:nowrap;font-size:32px;font-weight:900;letter-spacing:-.03em;margin:4px 0 2px;font-variant-numeric:tabular-nums;line-height:1.1}
.stat .hint{font-size:13px;color:var(--g600)}
.kpi{font-size:28px;font-weight:900;letter-spacing:-.03em;font-variant-numeric:tabular-nums}
.statrow{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);margin-bottom:32px;background:#fff}
.statrow>div{padding:26px 30px;border-left:1px solid var(--line-2)}
.statrow>div:first-child{border-left:0}
.statrow .l{font-size:13px;color:var(--g600)}
.statrow .v{font-size:44px;font-weight:900;letter-spacing:-.03em;margin-top:4px;line-height:1.1;font-variant-numeric:tabular-nums}
.statrow .v.blue{color:var(--blue)}.statrow .v.red{color:var(--red)}
.statrow .h{font-size:13px;color:var(--g600);margin-top:4px}
.darkcard{background:var(--black);color:#fff;border-radius:var(--radius);padding:28px 32px}
.darkcard .l{font-size:13px;color:rgba(255,255,255,.6)}
.darkcard .v{font-size:40px;font-weight:900;letter-spacing:-.03em;line-height:1.15}
.darkcard .v.blue{color:var(--blue-light)}
.darkcard p{color:rgba(255,255,255,.65);font-size:13px;margin:12px 0 0}
.darkcard .two{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:12px}

/* blocking or warning headline */
.hero{background:var(--white);border:1px solid var(--line);border-left:6px solid var(--blue);border-radius:var(--radius);padding:26px 30px;margin-bottom:24px;box-shadow:var(--shadow);display:flex;gap:20px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.hero.ok{border-left-color:#2E8B57}
.hero.warn{border-left-color:var(--yellow)}
.hero.bad{border-left-color:var(--red)}
.hero .eyebrow{font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.08em;color:var(--g600)}
.hero .big{font-size:26px;font-weight:900;letter-spacing:-.02em;line-height:1.2;margin:6px 0}
.hero p{margin:0;color:var(--g700)}

/* ------------------------------------------------------------------ tables */
.tablewrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
table{border-collapse:collapse;width:100%;font-size:15px}
th{text-align:left;padding:16px 12px 12px;font-weight:700;font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--g600);border-bottom:1px solid var(--line);white-space:nowrap;background:transparent}
td{padding:16px 12px;border-bottom:1px solid var(--line-2);vertical-align:middle}
tr:last-child td{border-bottom:0}
tbody tr:hover td{background:#FBFCFD}
td .muted{font-size:13px}
td.title a{font-weight:700;color:var(--black)}
td.title a:hover{color:var(--blue)}
.card>.tablewrap{margin:0 -32px -28px}
.card>.tablewrap th:first-child,.card>.tablewrap td:first-child{padding-left:32px}
.card>.tablewrap th:last-child,.card>.tablewrap td:last-child{padding-right:32px}
.card>.tablewrap:not(:first-child){margin-top:4px}
.card.flush>.tablewrap{margin:0}
.card.flush>.tablewrap th:first-child,.card.flush>.tablewrap td:first-child{padding-left:32px}
.card.flush>.tablewrap th:last-child,.card.flush>.tablewrap td:last-child{padding-right:32px}
.empty{padding:32px 20px;text-align:center;color:var(--g600)}
.card.empty h3{margin-bottom:6px}

/* ------------------------------------------------------------------ forms */
form{margin:0}
form.inline{display:inline}
label{display:block;font-size:13px;font-weight:700;color:var(--g800);margin:14px 0 6px}
label.check{display:flex;gap:10px;align-items:flex-start;font-weight:600;color:var(--g800);margin:14px 0;font-size:14px}
label.check input{margin-top:3px}
input,select,textarea{font:inherit;font-size:15px;padding:11px 14px;border:1px solid var(--g300);border-radius:var(--radius-sm);width:100%;max-width:560px;background:var(--white);color:var(--black)}
input:focus,select:focus,textarea:focus{outline:none;border-color:var(--blue);box-shadow:0 0 0 3px var(--blue-100)}
input[type=checkbox],input[type=radio]{width:auto;box-shadow:none}
input[type=file]{padding:9px;background:var(--g50)}
textarea{min-height:84px}
.row{display:flex;gap:14px;flex-wrap:wrap}
.row>div{flex:1;min-width:150px}
.formgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:0 16px}
button,.btn{font:inherit;font-size:15px;font-weight:700;background:var(--blue);color:var(--white);border:1px solid var(--blue);border-radius:var(--radius-sm);padding:12px 20px;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:8px;margin-top:16px;line-height:1.3;white-space:nowrap}
button:hover,.btn:hover{background:var(--blue-600);border-color:var(--blue-600);text-decoration:none}
button.secondary,.btn.secondary{background:var(--white);color:var(--black);border-color:var(--g300)}
button.secondary:hover,.btn.secondary:hover{background:var(--g150)}
button.danger,.btn.danger{background:var(--white);color:var(--red);border-color:#F1B9C1}
button.danger:hover{background:var(--red-50)}
.btn.dark,button.dark{background:var(--black);border-color:var(--black);color:#fff}
.btn.dark:hover,button.dark:hover{background:var(--g900);border-color:var(--g900)}
.btn.yellow,button.yellow{background:var(--yellow);border-color:var(--yellow);color:var(--black);font-weight:800}
.btn.yellow:hover,button.yellow:hover{background:#F2B900;border-color:#F2B900}
.btn.big,button.big{padding:16px 22px;font-size:16px}
button.small,.btn.small{padding:7px 12px;font-size:13.5px;margin-top:0;border-radius:10px}
button:disabled{opacity:.5;cursor:not-allowed}
.actions button,.actions .btn,.pagehead .btn{margin-top:0}
.btn svg,button svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.btn .arrow{font-weight:800}

/* ------------------------------------------------------------------ disclosure */
details.more{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);margin-bottom:24px;box-shadow:var(--shadow)}
details.more>summary{cursor:pointer;list-style:none;padding:20px 28px;font-weight:700;font-size:15px;display:flex;align-items:center;gap:12px}
details.more>summary::-webkit-details-marker{display:none}
details.more>summary::after{content:"";width:8px;height:8px;border-right:2px solid var(--g600);border-bottom:2px solid var(--g600);transform:rotate(45deg);transition:transform .15s;flex:none;margin-left:auto}
details.more[open]>summary::after{transform:rotate(-135deg)}
details.more>summary .muted{font-weight:500;margin-left:auto}
details.more>summary:has(.muted)::after{margin-left:8px}
details.more>.body{padding:0 28px 24px}
details.more>.body>.tablewrap{margin:0 -28px -24px}
details.more>.body>.tablewrap th:first-child,details.more>.body>.tablewrap td:first-child{padding-left:28px}
details.more>.body>.tablewrap th:last-child,details.more>.body>.tablewrap td:last-child{padding-right:28px}
details.inline-more>summary{cursor:pointer;color:var(--blue);font-weight:700;font-size:14px;list-style:none;display:inline-flex;align-items:center;gap:6px}
details.inline-more>summary::-webkit-details-marker{display:none}
details.inline-more[open]>summary{margin-bottom:8px}
details.action{display:inline-block}
details.action>summary{list-style:none;cursor:pointer}
details.action>summary::-webkit-details-marker{display:none}
details.action[open]{display:block;width:100%}
details.action[open]>summary{margin-bottom:8px}
.panel{background:var(--g50);border:1px solid var(--line-2);border-radius:var(--radius-md);padding:6px 18px 18px;margin-top:10px}

/* ------------------------------------------------------------------ status */
.badge{display:inline-flex;align-items:center;gap:6px;padding:4px 11px;border-radius:999px;font-size:12.5px;font-weight:700;background:var(--g150);color:var(--g700);white-space:nowrap;line-height:1.4}
.badge::before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor;opacity:.8}
.badge.plain::before{display:none}
.badge.ok{background:var(--green-50);color:var(--green)}
.badge.warn{background:var(--yellow-50);color:var(--yellow-ink)}
.badge.bad{background:var(--red-50);color:var(--red)}
.badge.info{background:var(--blue-50);color:var(--blue)}
.badge.ai{background:var(--violet-50);color:var(--violet)}
.badge.pred{background:var(--blue-50);color:var(--blue-dark)}
.pill{display:inline-flex;align-items:center;gap:6px;border-radius:999px;padding:7px 14px;font-size:13px;font-weight:700;white-space:nowrap;background:var(--g150);color:var(--g700)}
.pill svg{width:15px;height:15px;stroke:currentColor;fill:none;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.pill.rise{background:var(--green-50);color:var(--green)}
.pill.fall{background:var(--red-50);color:var(--red)}
.pill.rules{background:var(--blue-50);color:var(--blue)}
.pill.warn{background:var(--yellow-50);color:var(--yellow-ink)}
.pill.ai{background:var(--violet-50);color:var(--violet)}
.act{display:inline-block;border-radius:8px;padding:7px 12px;font-weight:700;font-size:14px;background:var(--g150);color:var(--g700);white-space:nowrap}
.act.print{background:var(--blue-50);color:var(--blue)}
.act.short{background:var(--red-50);color:var(--red)}
.act.wait{background:var(--yellow-50);color:var(--yellow-ink)}
.act.dark{background:var(--black);color:#fff}
a.act:hover{text-decoration:none;filter:brightness(.96)}
.note{border:1px solid #F7E3A1;background:#FFF8E1;border-radius:var(--radius-md);padding:14px 18px;margin:14px 0;font-size:14px;color:#5C4500;line-height:1.5}
.note.bad{border-color:#F5C2C2;background:var(--red-50);color:#7A1C1C}
.note.ok{border-color:#CDE8D6;background:var(--green-50);color:#174D2B}
.note.info{border-color:var(--blue-100);background:var(--blue-50);color:var(--g900)}
.flash{padding:14px 18px;border-radius:var(--radius-md);margin-bottom:24px;background:var(--green-50);border:1px solid #CDE8D6;color:#174D2B;font-weight:600}
.flash.error{background:var(--red-50);border-color:#F5C2C2;color:#7A1C1C}
.infostrip{display:flex;gap:12px;align-items:center;background:var(--g50);border:1px solid var(--line-2);border-radius:14px;padding:16px 18px;font-size:14px;color:var(--g800);margin-top:20px;line-height:1.45}
.infostrip svg{width:18px;height:18px;flex:none;stroke:var(--blue);fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.infostrip.warn{background:#FFF8E1;border-color:#FBE7A6;color:#5C4500}
.infostrip.warn svg{stroke:#B07D00}
.infostrip.plain{border:0}
.push-right{margin-left:auto;white-space:nowrap}
.listpad{padding:16px 32px 28px}
.listpad .btn{width:100%}

/* progress (activation gates, funds) */
.progress{height:8px;background:var(--line-2);border-radius:999px;overflow:hidden;margin:12px 0 8px}
.progress>i{display:block;height:100%;background:var(--blue);border-radius:999px}
.progress.done>i{background:#2E8B57}
.checks{list-style:none;margin:0;padding:0}
.checks li{display:flex;gap:14px;padding:14px 0;border-top:1px solid var(--line-2);font-size:14.5px;align-items:flex-start}
.checks li:first-child{border-top:0}
.checks .dot{width:28px;height:28px;border-radius:50%;flex:none;display:grid;place-items:center;font-size:13px;font-weight:900}
.checks .dot svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.checks .yes .dot{background:var(--green-50);color:var(--green)}
.checks .no .dot{background:var(--red-50);color:var(--red)}
.checks.gate .no .dot{background:var(--g150);color:var(--g500)}
.checks b{display:block;font-size:15px}
.checks .ev{color:var(--g600);font-size:13px;display:block;margin-top:2px}

/* attention list */
.todo{list-style:none;margin:0;padding:0}
.todo li{display:flex;gap:16px;align-items:center;padding:20px 0;border-top:1px solid var(--line-2)}
.todo .ic{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;flex:none;background:var(--blue-50);color:var(--blue)}
.todo .ic.warn{background:var(--yellow-50);color:var(--yellow-ink)}
.todo .ic.bad{background:var(--red-50);color:var(--red)}
.todo .ic.ok{background:var(--green-50);color:var(--green)}
.todo .ic.plain{background:var(--g150);color:var(--g700)}
.todo .ic svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.todo .tx{flex:1;min-width:0}
.todo .tx b{display:block;font-size:15px}
.todo .tx span{color:var(--g600);font-size:13px}
.todo.compact li{padding:14px 0}
.listcard{padding:0;overflow:hidden}
.listcard>.head{padding:28px 32px 20px;display:flex;justify-content:space-between;align-items:center;gap:12px}
.listcard>.head h3{font-size:20px;margin:0}
.listcard>.head p{font-size:14px;color:var(--g600);margin:4px 0 0}
.listcard>.todo,.listcard>.lines{padding:0 32px}
.listcard>.infostrip{margin:8px 32px 28px}
.listcard>.empty{border-top:1px solid var(--line-2)}
.lines{list-style:none;margin:0;padding:0}
.lines>li{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 0;border-top:1px solid var(--line-2);font-size:14px}
.lines>li:first-child{border-top:0}
.lines>li b{display:block;font-size:14px}
.lines>li span.m{display:block;font-size:13px;color:var(--g600);margin-top:2px}

/* timeline (production order) */
.steps{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;margin:0;list-style:none;padding:0}
.steps li{position:relative;text-align:center;font-size:15px;color:var(--g600);font-weight:700;padding-top:54px;min-width:0}
.steps li::before{content:"";position:absolute;top:17px;left:50%;right:-50%;height:4px;background:var(--line-2)}
.steps li:last-child::before{display:none}
.steps li::after{content:"";position:absolute;top:0;left:calc(50% - 19px);width:38px;height:38px;border-radius:50%;background:var(--white);border:2px solid var(--g300);box-sizing:border-box}
.steps li.done{color:var(--black)}
.steps li.done::before{background:var(--blue)}
.steps li.done::after{background:var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E") center/18px no-repeat;border-color:var(--blue)}
.steps li.now{color:var(--blue);font-weight:800}
.steps li.now::after{border:4px solid var(--blue);background:var(--white) radial-gradient(circle,var(--blue) 0 6px,transparent 6.5px)}
.steps li small{display:block;font-weight:500;color:var(--g600);font-size:13px;margin-top:4px}
.steps li:not(.done):not(.now) small{color:var(--g500)}
.eventlist{list-style:none;margin:0;padding:0;font-size:14px}
.eventlist li{display:grid;grid-template-columns:140px 1fr;gap:16px;padding:14px 0;border-top:1px solid var(--line-2)}
.eventlist li:first-child{border-top:0}
.eventlist time{color:var(--g600)}

/* charts */
.chart{width:100%;height:auto;display:block}
.chart .grid-line{stroke:var(--line-2);stroke-width:1}
.chart .axis{fill:var(--g500);font-size:13px;font-family:inherit}
.chart .today{stroke:var(--g400);stroke-dasharray:3 4}
.chart .hist{fill:none;stroke:#A9B4C6;stroke-width:3;stroke-linejoin:round;stroke-linecap:round}
.chart .fcline{fill:none;stroke:var(--blue);stroke-width:3;stroke-dasharray:8 6;stroke-linecap:round;stroke-linejoin:round}
.chart .fcarea{fill:#EAF1FF}
.chart .now{fill:var(--blue);stroke:#fff;stroke-width:3}
.chart .gapmark{fill:var(--g200)}
.legend{display:flex;gap:16px;flex-wrap:wrap;font-size:13px;color:var(--g600);margin-top:10px}
.legend i{display:inline-block;width:12px;height:12px;border-radius:3px;margin-right:6px;vertical-align:-2px}
.legend .lg-hist{background:#A9B4C6;height:3px;width:16px;border-radius:2px;vertical-align:3px}
.legend .lg-fc{background:transparent;border-top:3px dashed var(--blue);height:0;width:16px;border-radius:0;vertical-align:3px}
.legend .lg-miss{background:var(--g200)}
.legend .lg-out{background:#FF8401}
.fclabel{color:var(--blue);font-weight:700}
.spark{width:100%;height:90px;display:block}
.spark polyline{fill:none;stroke:var(--blue);stroke-width:2;vector-effect:non-scaling-stroke}
.tiny-spark{width:96px;height:26px;display:block}
.tiny-spark polyline{fill:none;stroke:var(--blue);stroke-width:1.6;vector-effect:non-scaling-stroke}
.metric{border:1px solid var(--line);border-radius:var(--radius-md);padding:18px}
.metric .label{font-size:13px;color:var(--g600)}
.metric .value{font-size:24px;font-weight:900;letter-spacing:-.02em;font-variant-numeric:tabular-nums}
.metric.empty-metric .value{color:var(--g400);font-size:16px}
.kv{display:grid;grid-template-columns:max-content 1fr;gap:10px 24px;font-size:14px;margin:0}
.kv dt{color:var(--g600)}
.kv dd{margin:0;font-weight:600}
.calc td{padding:11px 12px}
.calc tr.total td{font-weight:900;border-top:2px solid var(--line);font-size:16px}
.calc tr.total td.num{color:var(--blue)}
.sumlines{font-size:14px;margin-top:16px}
.sumlines>div{display:flex;justify-content:space-between;gap:16px;padding:11px 0;border-bottom:1px solid var(--line-2)}
.sumlines>div>span:first-child{color:var(--g700)}
.sumlines>div>span:last-child{font-weight:600;text-align:right;font-variant-numeric:tabular-nums}
.sumlines>div.total{border-bottom:0;padding-top:15px;font-size:16px}
.sumlines>div.total>span:first-child{font-weight:800;color:var(--black)}
.sumlines>div.total>span:last-child{font-weight:900;color:var(--blue)}

/* covers */
.bookcover{width:64px;height:88px;border-radius:4px 8px 8px 4px;background:var(--blue);color:#fff;font-size:9px;font-weight:800;line-height:1.15;padding:10px 6px 0 8px;position:relative;overflow:hidden;flex:none;box-shadow:4px 4px 0 var(--line);text-transform:uppercase;letter-spacing:0}
.bookcover::after{content:"";position:absolute;width:46px;height:46px;border-radius:50%;background:var(--yellow);right:-14px;bottom:-14px}
.bookcover.lg{width:84px;height:116px;font-size:11px;padding:12px 8px 0 10px;box-shadow:6px 6px 0 var(--line-2)}
.bookcover.lg::after{width:60px;height:60px;right:-18px;bottom:-18px}
.bookcover.sm{width:36px;height:50px;font-size:0;padding:0;border-radius:2px 5px 5px 2px;box-shadow:none}
.bookcover.sm::after{width:26px;height:26px;right:-8px;bottom:-8px}
.bookcover.c1{background:var(--black)}.bookcover.c1::after{background:#E973DB;width:16px;height:16px;right:auto;left:8px;bottom:auto;top:30%}
.bookcover.c2{background:#326210}.bookcover.c2::after{background:#fff;opacity:.7;border-radius:0;width:100%;height:4px;left:0;right:0;bottom:20%}
.bookcover.c3{background:var(--orange)}.bookcover.c3::after{background:var(--black);border-radius:0;height:3px;width:70%;left:15%;bottom:auto;top:22%}
.bookcover.c4{background:var(--blue-light);padding-left:32%}.bookcover.c4::after{background:var(--blue-dark);border-radius:0;width:28%;height:100%;left:0;top:0;bottom:0}
.bookcover.sm.c1::after{width:12px;height:12px;left:6px;top:8px}
.titlecell{display:flex;gap:14px;align-items:center}
.titlerow b{display:block;font-size:15px;color:var(--black);font-weight:700}
.titlerow b a{color:var(--black)}
.titlerow b a:hover{color:var(--blue)}
.titlerow span{display:block;font-size:13px;color:var(--ink-2);margin-top:2px}
.titlehead{display:flex;gap:24px;align-items:center;margin-bottom:28px;flex-wrap:wrap}
.titlehead>div{flex:1;min-width:260px}
.titlehead h1{margin:0}
.titlehead .sub{font-size:15px;color:var(--g600);margin:8px 0 0}

/* tabs */
.tabs{display:flex;gap:36px;border-bottom:1px solid var(--line);margin:0 0 32px;overflow-x:auto;scrollbar-width:none}
.tabs::-webkit-scrollbar{display:none}
.tabs a{padding:14px 0;font-weight:600;font-size:15px;color:var(--g700);border-bottom:3px solid transparent;margin-bottom:-1px;white-space:nowrap}
.tabs a:hover{text-decoration:none;color:var(--black)}
.tabs a.on{color:var(--blue);border-bottom-color:var(--blue)}
.card.tabbed{padding:0;overflow:hidden}
.card.tabbed>.head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:24px 32px;flex-wrap:wrap}
.lockup{display:flex;gap:14px;align-items:center}
.lockup .sq{width:40px;height:40px;border-radius:12px;background:var(--blue);color:#fff;display:grid;place-items:center;flex:none}
.lockup .sq svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.lockup .cplogo{width:84px;color:var(--blue);margin-bottom:3px}
.lockup b{display:block;font-size:20px;font-weight:800;letter-spacing:-.01em}
.tabbar{display:flex;gap:36px;background:var(--g50);border-top:1px solid var(--line-2);border-bottom:1px solid var(--line-2);padding:0 32px;overflow-x:auto;scrollbar-width:none}
.tabbar::-webkit-scrollbar{display:none}
.tabbar a{padding:16px 0;font-weight:600;font-size:15px;color:var(--g700);border-bottom:3px solid transparent;margin-bottom:-1px;white-space:nowrap}
.tabbar a .n{color:var(--g500);font-weight:500;margin-left:4px}
.tabbar a.on{color:var(--blue);border-bottom-color:var(--blue)}
.tabbar a:hover{text-decoration:none;color:var(--black)}
.card.tabbed>.body{padding:4px 32px 28px}
.card.tabbed>.body>.tablewrap{margin:0 -32px}
.card.tabbed>.body>.tablewrap th:first-child,.card.tabbed>.body>.tablewrap td:first-child{padding-left:32px}
.card.tabbed>.body>.tablewrap th:last-child,.card.tabbed>.body>.tablewrap td:last-child{padding-right:32px}
.search{display:flex;align-items:center;gap:8px;border:1px solid var(--g300);border-radius:var(--radius-sm);padding:0 14px;height:44px;width:280px;color:var(--g500);background:#fff}
.search svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;flex:none}
.search input{border:0;padding:0;box-shadow:none;height:100%;font-size:14px;max-width:none}
.search input:focus{box-shadow:none}

/* ------------------------------------------------------------------ blue panel */
.bluepanel{background:var(--gradient);border-radius:28px;padding:32px;box-shadow:var(--shadow-blue);color:#fff;margin-bottom:24px}
.bluepanel .ph{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:24px}
.bluepanel .ph .cplogo{width:150px;color:#fff}
.bluepanel .ph .lab{font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:rgba(255,255,255,.75);text-align:right}
.bluepanel .ph .lab b{display:block;font-size:14px;letter-spacing:0;text-transform:none;color:#fff;margin-top:6px}
.bluepanel .pf{display:flex;justify-content:space-between;gap:12px;font-size:13px;color:rgba(255,255,255,.85);margin-top:18px;flex-wrap:wrap}
.innercard{background:#fff;color:var(--black);border-radius:20px;padding:28px}
.innercard.big{padding:32px}
.innercard .top{display:flex;align-items:center;gap:18px;justify-content:space-between;flex-wrap:wrap}
.innercard .top .t{display:flex;gap:18px;align-items:center;min-width:0}
.innercard .top h3{font-size:22px;margin:0}
.innercard .top p{margin:4px 0 0;color:var(--ink-2);font-size:14px}
.innercard h2.headline{font-size:40px;line-height:1.05}
.innercard .lead{font-size:15px;color:var(--g700);margin:12px 0 0;max-width:480px;line-height:1.5}
.chartbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:28px 0 10px;flex-wrap:wrap}
.chartbar b{font-size:15px}
.stats3{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line-2);margin-top:24px;padding-top:24px}
.stats3>div{padding:0 20px;border-left:1px solid var(--line-2);text-align:center}
.stats3>div:first-child{border-left:0;padding-left:0;text-align:left}
.stats3>div:last-child{text-align:right;padding-right:0}
.stats3 .l{font-size:13px;color:var(--ink-2)}
.stats3 .v{font-size:44px;font-weight:900;letter-spacing:-.03em;font-variant-numeric:tabular-nums;line-height:1.15;margin-top:4px}
.stats3 .v.blue{color:var(--blue)}
.panelfoot{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:24px;flex-wrap:wrap}
.panelfoot .muted{font-size:13px}
.panelfoot form,.panelfoot .actions{margin:0}
.panelfoot button,.panelfoot .btn{margin-top:0}

/* quote price */
.price{display:flex;align-items:baseline;gap:10px;margin-top:6px}
.price .cur{font-size:22px;font-weight:800;color:var(--g700)}
.price .amt{font-size:72px;font-weight:900;letter-spacing:-.04em;line-height:1;font-variant-numeric:tabular-nums}
.fill{display:flex;flex-direction:column}
.fill>.innercard{flex:1;display:flex;flex-direction:column}
.fill .push{margin-top:auto}
.fill div.push{padding-top:20px}
.checks .tx{flex:1;min-width:0}
.checks .progress{display:block;margin:10px 0 0}

/* ------------------------------------------------------------------ auth */
.authwrap{min-height:100vh;display:grid;grid-template-columns:1.1fr 1fr}
.authside{background:var(--gradient);color:#fff;padding:48px 56px;display:flex;flex-direction:column;justify-content:space-between;gap:32px}
.authside .brand{color:#fff}
.authside .brand .cplogo{color:#fff;width:150px}
.authside .brand .product{color:#fff}
.authside h2{font-size:48px;line-height:1.02;font-weight:900;margin:0 0 16px;letter-spacing:-.035em;max-width:520px}
.authside h2 span{color:var(--yellow)}
.authside p{color:rgba(255,255,255,.85);max-width:440px;font-size:17px}
.authside ul{list-style:none;padding:0;margin:24px 0 0;display:grid;gap:12px;font-weight:700}
.authside li{display:flex;gap:10px;align-items:center}
.authside li::before{content:"";width:20px;height:20px;border-radius:50%;flex:none;background:var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B0F1B' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat}
.authside .small{color:rgba(255,255,255,.7)}
.authmain{display:grid;place-items:center;padding:32px;background:var(--white)}
.authcard{width:100%;max-width:400px}
.authcard h1{font-size:34px}
.authcard button{width:100%;margin-top:24px;padding:14px}
.login{max-width:420px;margin:40px auto}

/* ------------------------------------------------------------------ utilities */
.mt{margin-top:20px}
.mt-xs{margin-top:4px}
.nomargin{margin:0}
.progress>i.w0{width:0%}.progress>i.w5{width:5%}.progress>i.w10{width:10%}.progress>i.w15{width:15%}.progress>i.w20{width:20%}.progress>i.w25{width:25%}.progress>i.w30{width:30%}.progress>i.w35{width:35%}.progress>i.w40{width:40%}.progress>i.w45{width:45%}.progress>i.w50{width:50%}.progress>i.w55{width:55%}.progress>i.w60{width:60%}.progress>i.w65{width:65%}.progress>i.w70{width:70%}.progress>i.w75{width:75%}.progress>i.w80{width:80%}.progress>i.w85{width:85%}.progress>i.w90{width:90%}.progress>i.w95{width:95%}.progress>i.w100{width:100%}
.footnote{margin-top:28px;font-size:13px;color:var(--g500)}
.footnote a{color:var(--g700)}

/* ------------------------------------------------------------------ responsive */
@media (max-width:1100px){
  .appbar .account .tname{display:none}
  .split,.split.wide-left,.split.even{grid-template-columns:1fr}
}
@media (max-width:900px){
  .appbar .in{padding:0 16px;height:60px;gap:12px}
  .brand .cplogo{width:110px}
  .brand .product{font-size:12px}
  .topnav{display:none}
  .account .menu{position:fixed;left:12px;right:12px;top:66px;min-width:0}
  .tabnav{display:grid;grid-template-columns:repeat(5,1fr);position:fixed;left:0;right:0;bottom:0;z-index:20;background:#fff;border-top:1px solid #ECEEF2;padding:6px 0 calc(8px + env(safe-area-inset-bottom))}
  .tabnav>a,.tabnav>details>summary{display:flex;flex-direction:column;align-items:center;gap:4px;font-size:11px;font-weight:600;color:var(--g600);padding:6px 0;list-style:none;cursor:pointer}
  .tabnav>details>summary::-webkit-details-marker{display:none}
  .tabnav>a.on,.tabnav>details.on>summary{color:var(--blue)}
  .tabnav>a:hover{text-decoration:none}
  .tabnav svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
  .tabnav .sheet{position:fixed;left:12px;right:12px;bottom:calc(76px + env(safe-area-inset-bottom));background:#fff;border:1px solid var(--line);border-radius:var(--radius-md);box-shadow:0 20px 60px rgba(11,15,27,.18);padding:8px}
  .tabnav .sheet a{display:flex;align-items:center;gap:12px;padding:12px;border-radius:10px;color:var(--g800);font-weight:600;font-size:15px}
  .tabnav .sheet a.on{color:var(--blue);background:var(--blue-50)}
  body.app{padding-bottom:84px}
  .staffbar .in{padding:8px 16px}
  main{padding:24px 16px 40px}
  h1{font-size:30px}
  h2{font-size:19px;margin-top:36px}
  .headline{font-size:34px}
  .lede,.pagehead .sub{font-size:15px}
  .pagehead{margin-bottom:24px}
  .pagehead .actions{width:100%}
  .card{padding:20px;border-radius:20px}
  .card>.tablewrap{margin:0 -20px -20px}
  .card>.tablewrap th:first-child,.card>.tablewrap td:first-child,.card.flush>.tablewrap th:first-child,.card.flush>.tablewrap td:first-child{padding-left:20px}
  .card.flush>.cardhead{padding:16px 20px}
  .card.tabbed>.head{padding:18px 20px}
  .tabbar{padding:0 20px;gap:24px}
  .card.tabbed>.body{padding:4px 20px 20px}
  .card.tabbed>.body>.tablewrap{margin:0 -20px}
  .card.tabbed>.body>.tablewrap th:first-child,.card.tabbed>.body>.tablewrap td:first-child{padding-left:20px}
  .card.tabbed>.body>.tablewrap th:last-child,.card.tabbed>.body>.tablewrap td:last-child{padding-right:20px}
  .card.listcard{padding:0}
  .listcard>.head{padding:20px 20px 12px}
  .hide-m{display:none}
  .listpad{padding:12px 20px 20px}
  .listcard>.todo,.listcard>.lines{padding:0 20px}
  .listcard>.infostrip{margin:8px 20px 20px}
  .todo li{padding:14px 0;gap:12px}
  .todo .ic{width:38px;height:38px}
  .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .grid.two,.grid.one-mobile{grid-template-columns:1fr}
  .statrow{grid-template-columns:repeat(2,1fr)}
  .statrow>div{padding:18px 20px}
  .statrow>div:nth-child(3){border-left:0}
  .statrow>div:nth-child(n+3){border-top:1px solid var(--line-2)}
  .statrow .v{font-size:30px}
  .stat .value{font-size:22px}
  .headline.md{font-size:30px}
  .todo li{flex-wrap:wrap}
  .todo .tx{flex-basis:calc(100% - 54px)}
  .todo li>.act{margin-left:54px}
  .bluepanel{padding:14px;border-radius:22px}
  .bluepanel .ph{padding:6px 6px 0;margin-bottom:16px}
  .bluepanel .ph .cplogo{width:120px}
  .bluepanel .pf{padding:0 6px 4px}
  .innercard,.innercard.big{padding:18px;border-radius:16px}
  .innercard h2.headline{font-size:30px}
  .innercard .top h3{font-size:18px}
  .stats3{margin-top:16px;padding-top:16px}
  .stats3>div{padding:0 8px}
  .stats3 .v{font-size:28px}
  .price .amt{font-size:52px}
  .steps{grid-auto-flow:row;grid-auto-columns:auto}
  .steps li{text-align:left;padding:0 0 22px 54px;min-height:38px}
  .steps li::before{top:38px;bottom:0;left:17px;right:auto;width:4px;height:auto}
  .steps li::after{left:0}
  .steps li small{display:inline;margin-left:8px}
  .eventlist li{grid-template-columns:1fr;gap:2px}
  .authwrap{grid-template-columns:1fr}
  .authside{padding:28px 20px}
  .authside h2{font-size:32px}
  .authside ul{display:none}
  .search{width:100%}
  details.more>summary{padding:16px 20px}
  details.more>.body{padding:0 20px 20px}
  details.more>.body>.tablewrap{margin:0 -20px -20px}
  details.more>summary .muted{display:none}
  details.more>summary:has(.muted)::after{margin-left:auto}
  .bookcover.lg{width:64px;height:88px;font-size:9px}
}
