
:root{ color-scheme:light }
@media (prefers-color-scheme: dark){ :root:not([data-theme="light"]){ color-scheme:dark } }
:root[data-theme="dark"]{ color-scheme:dark }
:root{
  --font:'Inter',system-ui,-apple-system,'Segoe UI',sans-serif;
  --bg:light-dark(#fbfbfa,#101110); --surface:light-dark(#ffffff,#181a18); --surface-2:light-dark(#f3f4f1,#202320);
  --text:light-dark(#171a17,#ecefe9); --muted:light-dark(#5a615a,#a5ada3); --faint:light-dark(#8a918a,#707870);
  --border:light-dark(#e7e9e4,#2a2e2a); --border-strong:light-dark(#d2d6cf,#3e443e);
  --accent:light-dark(#6d3fd9,#b69cff); --accent-soft:light-dark(#efe9fd,rgba(182,156,255,0.16)); --on-accent:light-dark(#ffffff,#1a0b45);
  --shadow:0 1px 2px light-dark(rgba(23,26,23,0.05),rgba(0,0,0,0.4));
  --logo-fill:light-dark(#ffffff,#181a18);
  --r:12px; --gap:24px; --pad:24px; --rail:96px;
}
*{box-sizing:border-box}
.cv-shell-root{margin:0;background:var(--bg);color:var(--text);font:400 16px/1.5 var(--font);-webkit-font-smoothing:antialiased;font-variant-numeric:tabular-nums}
.cv-shell-root h1,.cv-shell-root h2,.cv-shell-root h3,.cv-shell-root p,.cv-shell-root ul,.cv-shell-root ol{margin:0}
.cv-shell-root button{font:inherit;color:inherit}
.cv-shell-root svg{display:block}
.cv-shell-root :focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.cv-shell-root .ic{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}

.cv-shell-root .app{display:grid;grid-template-columns:var(--rail) minmax(0,1fr);min-height:100vh}

.cv-shell-root .side{position:sticky;top:0;height:100vh;display:flex;flex-direction:column;align-items:center;gap:24px;background:var(--surface);border-right:1px solid var(--border);padding:24px 8px 24px max(8px,env(safe-area-inset-left,0px))}
.cv-shell-root .brand{display:flex;flex-direction:column;align-items:center;gap:4px}
.cv-shell-root .brand svg{width:40px;height:40px}
.cv-shell-root .brand .name{display:none}
.cv-shell-root .nav{display:flex;flex-direction:column;gap:8px;width:100%}
.cv-shell-root .nav button,.cv-shell-root .nav a.nav-link{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;height:64px;border:0;border-radius:12px;background:none;color:var(--muted);font-weight:500;font-size:12px;cursor:pointer;text-decoration:none}
.cv-shell-root .nav button:hover,.cv-shell-root .nav a.nav-link:hover{background:var(--surface-2);color:var(--text)}
.cv-shell-root .nav button[aria-current="page"],.cv-shell-root .nav a.nav-link[aria-current="page"]{background:var(--accent-soft);color:var(--accent);font-weight:600}
.cv-shell-root .nav .ic{width:22px;height:22px}
.cv-shell-root .rail-end{margin-top:auto;display:flex;flex-direction:column;align-items:center;gap:12px}
.cv-shell-root .theme{display:flex;flex-direction:column;border:1px solid var(--border);border-radius:8px;overflow:hidden}
.cv-shell-root .theme button{width:36px;height:36px;border:0;background:none;color:var(--faint);cursor:pointer;display:grid;place-items:center}
.cv-shell-root .theme button + button{border-top:1px solid var(--border)}
.cv-shell-root .theme button.on{background:var(--surface-2);color:var(--text)}
.cv-shell-root .avatar{width:36px;height:36px;border-radius:50%;background:var(--accent);color:var(--on-accent);display:grid;place-items:center;font-weight:600;font-size:15px}

.cv-shell-root .main{min-width:0;padding:40px max(32px,env(safe-area-inset-right,0px)) 80px 40px;max-width:1000px;width:100%;margin-inline:auto}
.cv-shell-root .wordmark{font-weight:600;font-size:14px;letter-spacing:-0.005em;color:var(--muted)}
.cv-shell-root .wordmark .vertex{background:linear-gradient(90deg,#d6336c,#8a3fd1);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent;font-weight:700}
.cv-shell-root h1{margin-top:4px;font-size:32px;line-height:40px;font-weight:650;letter-spacing:-0.025em}
.cv-shell-root .sub{margin-top:4px;color:var(--muted)}
.cv-shell-root .stack{display:flex;flex-direction:column;gap:var(--gap);margin-top:32px}

.cv-shell-root .search{display:flex;align-items:center;gap:8px;height:56px;padding:0 8px 0 16px;border-radius:var(--r);background:var(--surface);border:1px solid var(--border-strong);box-shadow:var(--shadow)}
.cv-shell-root .search:focus-within{border-color:var(--accent);outline:2px solid color-mix(in srgb,var(--accent) 28%,transparent);outline-offset:0}
.cv-shell-root .search .ic{color:var(--faint)}
.cv-shell-root .search input{flex:1;min-width:0;height:100%;border:0;outline:0;background:none;color:var(--text);font:inherit;font-size:16px}
.cv-shell-root .search input::placeholder{color:var(--faint)}
.cv-shell-root .search kbd{font:500 12px/1 var(--font);padding:4px 7px;border-radius:6px;border:1px solid var(--border-strong);color:var(--muted);background:var(--surface-2)}
.cv-shell-root .btn{display:inline-flex;align-items:center;justify-content:center;height:40px;padding:0 20px;border-radius:8px;border:1px solid var(--accent);background:var(--accent);color:var(--on-accent);font-weight:600;font-size:14px;cursor:pointer}
.cv-shell-root .btn:hover{filter:brightness(1.07)}
.cv-shell-root .hints{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:-8px;color:var(--faint);font-size:14px}
.cv-shell-root .hint{border:1px solid var(--border);background:var(--surface);color:var(--muted);height:32px;padding:0 12px;border-radius:999px;font-size:14px;cursor:pointer}
.cv-shell-root .hint:hover{border-color:var(--border-strong);color:var(--text)}
.cv-shell-root .write-cta{display:inline-flex;align-items:center;gap:8px;height:40px;padding:0 20px 0 16px;border-radius:999px;border:1px solid var(--accent);background:var(--accent);color:var(--on-accent);font-weight:600;font-size:14.5px;cursor:pointer;text-decoration:none;box-shadow:var(--shadow);transition:filter .12s ease}
.cv-shell-root .write-cta:hover{filter:brightness(1.08)}
.cv-shell-root .write-cta .ic{width:18px;height:18px}

.cv-shell-root .panel{background:var(--surface);border:1px solid var(--border);border-radius:var(--r);box-shadow:var(--shadow);min-width:0}
.cv-shell-root .kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
.cv-shell-root .kpi{padding:20px var(--pad);border-left:1px solid var(--border)}
.cv-shell-root .kpi:first-child{border-left:0}
.cv-shell-root .kpi .k{display:block;color:var(--muted);font-size:14px}
.cv-shell-root .kpi .v{display:block;font-size:32px;line-height:40px;font-weight:650;letter-spacing:-0.02em}
.cv-shell-root .kpi .v small{font-size:16px;font-weight:500;color:var(--muted);letter-spacing:0}

.cv-shell-root .ph{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:20px var(--pad) 16px;border-bottom:1px solid var(--border)}
.cv-shell-root .ph h2{font-size:18px;line-height:24px;font-weight:600}
.cv-shell-root .ph span{color:var(--muted);font-size:14px}
.cv-shell-root .row{display:grid;grid-template-columns:40px minmax(0,1fr) auto 96px;align-items:center;gap:16px;width:100%;min-height:80px;padding:16px var(--pad);border:0;border-bottom:1px solid var(--border);background:none;text-align:left;cursor:pointer;transition:background-color .12s ease,opacity .12s ease}
.cv-shell-root .row:last-child{border-bottom:0;border-radius:0 0 var(--r) var(--r)}
.cv-shell-root .row:hover{background:var(--surface-2)}
.cv-shell-root .row.dim{opacity:.35}
.cv-shell-root .gi{width:40px;height:40px;border-radius:10px;display:grid;place-items:center;background:var(--accent-soft);color:var(--accent);flex-shrink:0}
.cv-shell-root .row .tx{min-width:0}
.cv-shell-root .row .t{display:block;font-size:16px;line-height:24px;font-weight:600}
.cv-shell-root .row .d{display:block;color:var(--muted);font-size:14px;line-height:20px}
.cv-shell-root .row .open{justify-self:end;display:inline-flex;align-items:center;justify-content:center;gap:6px;width:96px;height:36px;border-radius:8px;border:1px solid var(--border-strong);color:var(--text);font-size:14px;font-weight:600}
.cv-shell-root .row .open .ic{width:16px;height:16px}
.cv-shell-root .row:hover .open{background:var(--accent);border-color:var(--accent);color:var(--on-accent)}
.cv-shell-root .pill{display:inline-flex;align-items:center;height:24px;padding:0 10px;border-radius:999px;background:var(--accent-soft);color:var(--accent);font-size:12px;font-weight:600;white-space:nowrap}
.cv-shell-root .pill.n{background:var(--surface-2);color:var(--muted);border:1px solid var(--border)}
.cv-shell-root .none{color:var(--muted)}

.cv-shell-root .setup .body{padding:20px var(--pad) var(--pad)}
.cv-shell-root .bar2{height:4px;border-radius:4px;background:var(--surface-2);overflow:hidden}
.cv-shell-root .bar2 i{display:block;height:100%;width:0;background:var(--accent);transition:width .2s ease}
.cv-shell-root .steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--gap);margin-top:20px}
.cv-shell-root .step{display:flex;align-items:flex-start;gap:12px;width:100%;padding:0;border:0;background:none;text-align:left;cursor:pointer;text-decoration:none;color:inherit}
.cv-shell-root .step .n{width:28px;height:28px;border-radius:50%;border:1.5px solid var(--border-strong);display:grid;place-items:center;font-size:13px;font-weight:600;color:var(--muted);flex-shrink:0}
.cv-shell-root .step .n .ic{display:none;width:15px;height:15px;stroke-width:2.4}
.cv-shell-root .step.done .n{background:var(--accent);border-color:var(--accent);color:var(--on-accent)}
.cv-shell-root .step.done .n .ic{display:block}
.cv-shell-root .step.done .n b{display:none}
.cv-shell-root .step .st{display:block;font-weight:600;line-height:28px}
.cv-shell-root .step.done .st{color:var(--muted);text-decoration:line-through}
.cv-shell-root .step .sd{display:block;color:var(--muted);font-size:14px;margin-top:-2px}
.cv-shell-root .step:hover .st{color:var(--accent)}

.cv-shell-root .side{z-index:45}
.cv-shell-root .nav button{position:relative}
.cv-shell-root .nav .chev{position:absolute;right:8px;top:8px;width:12px;height:12px;stroke-width:2.4;color:var(--faint);transition:transform .15s ease}
.cv-shell-root .nav button[aria-expanded="true"]{background:var(--surface-2);color:var(--text);font-weight:600}
.cv-shell-root .nav button[aria-expanded="true"] .chev{transform:rotate(90deg);color:var(--accent)}
.cv-shell-root .fly{position:fixed;z-index:50;width:296px;max-height:calc(100vh - 32px);display:flex;flex-direction:column;overflow:hidden;background:var(--surface);border:1px solid var(--border);border-radius:16px;box-shadow:0 16px 48px -16px rgba(0,0,0,0.35)}
.cv-shell-root .fly[hidden]{display:none}
.cv-shell-root .fly-h{padding:16px var(--pad) 12px;border-bottom:1px solid var(--border)}
.cv-shell-root .fly-h b{display:block;font-size:16px;line-height:24px;font-weight:600}
.cv-shell-root .fly-h span{display:block;color:var(--muted);font-size:13px}
.cv-shell-root .fly-b{overflow-y:auto}
.cv-shell-root .fly .m-item{padding:12px var(--pad)}

.cv-shell-root .app{transition:grid-template-columns .2s ease}
.cv-shell-root .side{overflow-x:hidden;overflow-y:auto;scrollbar-width:thin;scrollbar-color:transparent transparent;transition:scrollbar-color .2s ease}
.cv-shell-root .side.scrolling{scrollbar-color:var(--border-strong) transparent}
.cv-shell-root .side::-webkit-scrollbar{width:6px}
.cv-shell-root .side::-webkit-scrollbar-thumb{background:transparent;border-radius:6px}
.cv-shell-root .side.scrolling::-webkit-scrollbar-thumb{background:var(--border-strong)}
.cv-shell-root .side-top{display:flex;flex-direction:column;align-items:center;gap:12px;width:100%}
.cv-shell-root .collapse{width:36px;height:36px;border:1px solid var(--border);border-radius:8px;background:none;color:var(--muted);cursor:pointer;display:grid;place-items:center}
.cv-shell-root .collapse:hover{background:var(--surface-2);color:var(--text)}
.cv-shell-root .sub{display:flex;flex-direction:column;gap:2px;margin:2px 0 8px 23px;padding-left:12px;border-left:1px solid var(--border)}
.cv-shell-root .sub[hidden]{display:none}
.cv-shell-root .nav .sub .si{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:8px;height:auto;min-height:36px;padding:0 12px;border-radius:8px;color:var(--muted);font-size:14px;font-weight:500;text-align:left}
.cv-shell-root .nav .sub .si:hover{background:var(--surface-2);color:var(--text)}
.cv-shell-root .nav .sub .si .pill{height:20px;padding:0 8px;font-size:11px}
@media (min-width:861px){
  .cv-shell-root .app.wide{--rail:264px}
  .cv-shell-root .app.wide .side{align-items:stretch;padding:24px 16px 24px max(16px,env(safe-area-inset-left,0px))}
  .cv-shell-root .app.wide .side-top{flex-direction:row;justify-content:space-between;padding:0 0 0 8px}
  .cv-shell-root .app.wide .brand{flex-direction:row;gap:8px}
  .cv-shell-root .app.wide .brand .name{display:inline;font-weight:600;font-size:18px;letter-spacing:-0.01em;color:var(--text)}
  .cv-shell-root .app.wide .nav button{flex-direction:row;justify-content:flex-start;gap:12px;height:44px;padding:0 12px;font-size:15px}
  .cv-shell-root .app.wide .nav .chev{position:static;margin-left:auto;width:14px;height:14px}
  .cv-shell-root .app.wide .rail-end{flex-direction:row;justify-content:space-between;width:100%;padding:0 4px}
  .cv-shell-root .app.wide .theme{flex-direction:row}
  .cv-shell-root .app.wide .theme button + button{border-top:0;border-left:1px solid var(--border)}
  .cv-shell-root .app.wide .wordmark{display:none}
}
@media (max-width:860px){ .cv-shell-root .collapse,.cv-shell-root .sub{display:none} .cv-shell-root .side{overflow:visible} .cv-shell-root .side-top{width:auto} }

:root[data-accent="blue"]{--accent:light-dark(#2160d6,#7fa8ff);--accent-soft:light-dark(#e6eefc,rgba(127,168,255,0.15));--on-accent:light-dark(#ffffff,#071a40)}
:root[data-accent="teal"]{--accent:light-dark(#0e7490,#4cc9e0);--accent-soft:light-dark(#e0f2f7,rgba(76,201,224,0.14));--on-accent:light-dark(#ffffff,#03242d)}
:root[data-accent="rose"]{--accent:light-dark(#d6336c,#ff7aa8);--accent-soft:light-dark(#fde8f0,rgba(255,122,168,0.15));--on-accent:light-dark(#ffffff,#3a0719)}
:root[data-accent="orange"]{--accent:light-dark(#c2410c,#ffa05c);--accent-soft:light-dark(#fdeadd,rgba(255,160,92,0.15));--on-accent:light-dark(#ffffff,#3a1500)}
:root[data-accent="slate"]{--accent:light-dark(#334155,#cbd5e1);--accent-soft:light-dark(#e8ecf1,rgba(203,213,225,0.14));--on-accent:light-dark(#ffffff,#0f172a)}
.cv-shell-root .swatches{margin-top:auto;display:flex;flex-direction:column;align-items:center;gap:8px}
.cv-shell-root .rail-end{margin-top:0}
.cv-shell-root .sw-l{font-size:12px;font-weight:500;color:var(--faint)}
.cv-shell-root .sw-g{display:grid;grid-template-columns:repeat(3,20px);gap:8px}
.cv-shell-root .sw{width:20px;height:20px;padding:0;border:0;border-radius:50%;background:var(--sw);cursor:pointer;box-shadow:inset 0 0 0 1px rgba(0,0,0,0.12)}
.cv-shell-root .sw[aria-pressed="true"]{outline:2px solid var(--text);outline-offset:2px}
@media (min-width:861px){
  .cv-shell-root .app.wide .swatches{align-items:flex-start;padding:0 8px}
  .cv-shell-root .app.wide .sw-g{grid-template-columns:repeat(6,20px)}
}
@media (max-width:860px){ .cv-shell-root .swatches{display:none} }

.cv-shell-root .scrim{position:fixed;inset:0;z-index:60;display:flex;align-items:center;justify-content:center;padding:max(16px,env(safe-area-inset-top,0px)) max(16px,env(safe-area-inset-right,0px)) max(16px,env(safe-area-inset-bottom,0px)) max(16px,env(safe-area-inset-left,0px));background:light-dark(rgba(15,23,42,0.45),rgba(0,0,0,0.65));opacity:0;visibility:hidden;transition:opacity .15s,visibility .15s}
.cv-shell-root .scrim.open{opacity:1;visibility:visible}
.cv-shell-root .modal{width:100%;max-width:480px;max-height:86vh;display:flex;flex-direction:column;overflow:hidden;background:var(--surface);border:1px solid var(--border);border-radius:16px;box-shadow:0 24px 60px -20px rgba(0,0,0,0.5)}
.cv-shell-root .m-head{display:flex;align-items:center;gap:16px;padding:20px 24px;border-bottom:1px solid var(--border)}
.cv-shell-root .m-head .tt{flex:1;min-width:0}
.cv-shell-root .m-title{font-size:18px;line-height:24px;font-weight:600}
.cv-shell-root .m-sub{color:var(--muted);font-size:14px}
.cv-shell-root .m-close{width:36px;height:36px;border-radius:8px;border:1px solid var(--border);background:none;color:var(--muted);cursor:pointer;font-size:14px}
.cv-shell-root .m-close:hover{background:var(--surface-2);color:var(--text)}
.cv-shell-root .m-body{overflow-y:auto}
.cv-shell-root .m-item{display:flex;align-items:center;gap:16px;width:100%;padding:16px 24px;border:0;border-bottom:1px solid var(--border);background:none;text-align:left;cursor:pointer}
.cv-shell-root .m-item:last-child{border-bottom:0}
.cv-shell-root .m-item:hover{background:var(--surface-2)}
.cv-shell-root .m-item .tx{flex:1;min-width:0}
.cv-shell-root .m-item .t{display:block;font-weight:600}
.cv-shell-root .m-item .d{display:block;color:var(--muted);font-size:14px}
.cv-shell-root .m-item .ic{color:var(--faint)}

@media (max-width:860px){
  .cv-shell-root .app{grid-template-columns:minmax(0,1fr)}
  .cv-shell-root .side{position:static;height:auto;flex-direction:row;align-items:center;gap:8px;padding:8px max(8px,env(safe-area-inset-right,0px)) 8px max(8px,env(safe-area-inset-left,0px));border-right:0;border-bottom:1px solid var(--border)}
  .cv-shell-root .brand svg{width:32px;height:32px}
  .cv-shell-root .nav{flex-direction:row;overflow-x:auto;scrollbar-width:none;flex:1;gap:4px}
  .cv-shell-root .nav::-webkit-scrollbar{display:none}
  .cv-shell-root .nav button{flex:0 0 auto;min-width:64px;height:52px;padding:0 8px}
  .cv-shell-root .rail-end{margin-top:0;flex-direction:row}
  .cv-shell-root .theme{flex-direction:row}
  .cv-shell-root .theme button + button{border-top:0;border-left:1px solid var(--border)}
  .cv-shell-root .avatar{display:none}
  .cv-shell-root .main{padding:24px max(16px,env(safe-area-inset-right,0px)) 56px max(16px,env(safe-area-inset-left,0px))}
  .cv-shell-root .fly{left:max(16px,env(safe-area-inset-left,0px))!important;right:max(16px,env(safe-area-inset-right,0px));width:auto}
}
@media (max-width:640px){
  .cv-shell-root{--gap:16px;--pad:20px}
  .cv-shell-root h1{font-size:26px;line-height:34px}
  .cv-shell-root .kpis{grid-template-columns:minmax(0,1fr)}
  .cv-shell-root .kpi{border-left:0;border-top:1px solid var(--border);display:flex;align-items:baseline;justify-content:space-between;padding:16px var(--pad)}
  .cv-shell-root .kpi:first-child{border-top:0}
  .cv-shell-root .kpi .v{font-size:24px;line-height:32px}
  .cv-shell-root .row{grid-template-columns:40px minmax(0,1fr) 24px}
  .cv-shell-root .row .pill{display:none}
  .cv-shell-root .row .open{width:24px;height:24px;border:0}
  .cv-shell-root .row .open span{display:none}
  .cv-shell-root .steps{grid-template-columns:minmax(0,1fr);gap:16px}
  .cv-shell-root .search kbd{display:none}
}
@media (prefers-reduced-motion:reduce){.cv-shell-root *{transition:none!important}}
