@font-face { font-family: 'Grand Hotel'; src: url('/fonts/grand-hotel.woff2') format('woff2'); font-display: swap; } /* SIL OFL: public/fonts/GRAND-HOTEL-OFL.txt */
/* Gancho — white, quiet, product-grade. One ink colour, hairline borders, colour only where it carries meaning. */
* { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body { margin: 0; background: var(--surface); color: var(--text); font: var(--fs-md)/1.5 var(--font-sans); font-feature-settings: "cv11", "ss01", "ss03"; letter-spacing: -.006em; }
[hidden] { display: none !important; }
::selection { background: var(--surface-sunken); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.muted { color: var(--text-muted); font-size: var(--fs-sm); }
.spacer { flex: 1; }
a { color: var(--text); text-underline-offset: 3px; text-decoration-color: var(--border-strong); }
a:hover { text-decoration-color: var(--text); }

/* ---------------------------------------------------------------- controls */
input, select, textarea { font: inherit; color: inherit; background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--r-md); padding: 0 11px; height: 36px; width: 100%; box-shadow: var(--shadow-sm); transition: border-color .12s, box-shadow .12s; }
textarea { height: auto; padding: 9px 11px; resize: vertical; line-height: 1.55; }
input::placeholder, textarea::placeholder { color: var(--text-faint); }
input:hover, select:hover, textarea:hover { border-color: var(--border-strong); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgb(47 85 212 / .14); }
select { appearance: none; padding-right: 30px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%236e6e6e' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 4.5 3 3 3-3'/%3E%3C/svg%3E") no-repeat right 10px center; }
input:-webkit-autofill { -webkit-box-shadow: 0 0 0 40px var(--surface) inset; -webkit-text-fill-color: var(--text); }
label { display: block; font-size: var(--fs-sm); font-weight: 500; color: var(--text-secondary); margin: 14px 0 0; }
label > input, label > select, label > textarea, label > .linkrow { margin-top: 6px; color: var(--text); font-weight: 400; }
label .muted { font-weight: 400; }

button, .primary, .ghost, .danger { font: inherit; font-size: var(--fs-md); font-weight: 500; letter-spacing: -.005em; cursor: pointer; border-radius: var(--r-md); height: 36px; padding: 0 14px; border: 1px solid transparent; text-decoration: none; white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 7px; transition: background .12s, border-color .12s, color .12s; }
button:focus-visible, a:focus-visible, .card:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.primary { background: var(--text); color: var(--text-on-inverse); box-shadow: 0 1px 2px rgb(0 0 0 / .12), inset 0 1px 0 rgb(255 255 255 / .08); }
.primary:hover { background: var(--surface-inverse-hover); }
.ghost { background: var(--surface); color: var(--text); border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.ghost:hover { background: var(--canvas); border-color: var(--border-strong); }
.danger { background: var(--surface); color: var(--danger); border-color: var(--border-strong); }
.danger:hover { background: var(--danger-soft); border-color: var(--danger-soft); }
.small { height: 30px; padding: 0 11px; font-size: var(--fs-sm); }
button:disabled { opacity: .5; cursor: progress; }
.icon { background: none; border: 0; color: var(--text-muted); height: 30px; width: 30px; padding: 0; font-size: var(--fs-lg); border-radius: var(--r-sm); }
.icon:hover { background: var(--surface-hover); color: var(--text); }
.row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 12px 0; }
.row.end { justify-content: flex-end; margin-top: 24px; }
.row > select { width: auto; flex: 1; min-width: 160px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.linkrow { display: flex; gap: 6px; }

/* ---------------------------------------------------------------- brand */
.brand { display: flex; align-items: center; gap: 9px; }
.logo { width: 22px; height: 22px; border-radius: var(--r-sm); background: url('/brand/mark.svg') center / cover no-repeat; flex: none; }
.wordmark { font-family: var(--font-brand); font-weight: 400; font-size: var(--fs-2xl); letter-spacing: 0; line-height: 1; } /* the name, always in Grand Hotel */

/* ---------------------------------------------------------------- sign in */
.auth { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); background: var(--surface); }
.auth-brand { position: relative; overflow: hidden; background: var(--surface-inverse); color: var(--text-on-inverse); padding: 36px 56px 32px; display: flex; flex-direction: column; isolation: isolate; }
.ab-top { display: flex; align-items: center; gap: 10px; }
.ab-top .wordmark { font-size: var(--fs-3xl); }
.logo.inv { background: url('/brand/mark.svg') center / cover no-repeat; }
.ab-copy { margin: 9vh 0 0; max-width: 560px; }
.ab-copy h1 { font-size: clamp(40px, 4.3vw, var(--fs-6xl)); line-height: 1.02; letter-spacing: -.048em; font-weight: 600; margin: 0 0 20px; }
.ab-copy p { color: var(--text-faint); font-size: var(--fs-xl); line-height: 1.55; margin: 0; max-width: 440px; letter-spacing: -.01em; }
.stage { position: relative; margin: auto 40px 0 0; padding: 56px 0 44px; max-width: 640px; }
.win { background: var(--surface); color: var(--text); border-radius: var(--r-xl); overflow: hidden; box-shadow: 0 0 0 1px rgb(255 255 255 / .1), 0 40px 90px -20px rgb(0 0 0 / .7); }
.win-bar { height: 32px; background: var(--canvas); border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 6px; padding: 0 12px; }
.win-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--surface-sunken); }
.win-bar span { flex: 1; text-align: center; margin-right: 40px; color: var(--text-muted); font-size: var(--fs-2xs); font-weight: 500; }
.win-body { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 14px; background: var(--canvas); }
.wcol { background: var(--canvas); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 8px; display: grid; gap: 6px; align-content: start; }
.wcol b { display: flex; align-items: center; gap: 6px; font-size: var(--fs-2xs); font-weight: 600; color: var(--text-secondary); padding: 2px 2px 4px; }
.wcol b i { width: 6px; height: 6px; border-radius: 50%; } .wcol b em { font-style: normal; color: var(--text-faint); font-weight: 500; }
.wcard, .wslot { height: 64px; }
.wcard { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: 8px; display: flex; gap: 8px; box-shadow: 0 1px 2px rgb(0 0 0 / .04); position: relative; z-index: 1; }
.wcard div { min-width: 0; } .wcard strong { display: block; font-size: var(--fs-xs); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wcard small { display: block; color: var(--text-muted); font-size: var(--fs-2xs); white-space: nowrap; }
.wav { width: 22px; height: 22px; border-radius: var(--r-sm); flex: none; display: grid; place-items: center; font-size: var(--fs-2xs); font-weight: 700; color: hsl(var(--h) 35% 30%); background: hsl(var(--h) 30% 94%); }
.wfit { display: inline-block; margin-top: 4px; font-size: var(--fs-2xs); font-weight: 600; color: var(--accent); background: var(--accent-soft); border-radius: var(--r-xs); padding: 1px 5px; }
.wfit.ok { color: var(--success); background: var(--success-soft); }
.wslot { border: 1px dashed var(--border); border-radius: var(--r-md); opacity: 0; animation: slot 7s ease-in-out infinite; }
.mover { animation: mover 7s cubic-bezier(.65, 0, .35, 1) infinite; }
@keyframes mover { 0%, 22% { transform: none; box-shadow: 0 1px 2px rgb(0 0 0 / .04); } 30% { transform: translate(0, -4px) rotate(-1.5deg); box-shadow: 0 14px 28px rgb(0 0 0 / .14); }
  44% { transform: translate(calc(100% + 26px), -4px) rotate(1deg); box-shadow: 0 14px 28px rgb(0 0 0 / .14); } 50%, 86% { transform: translate(calc(100% + 26px), 0); box-shadow: 0 1px 2px rgb(0 0 0 / .04); } 100% { transform: none; } }
@keyframes slot { 0%, 26% { opacity: 0; } 32%, 44% { opacity: 1; } 50%, 100% { opacity: 0; } }
.float { position: absolute; background: var(--surface); color: var(--text); border-radius: var(--r-lg); box-shadow: 0 0 0 1px rgb(0 0 0 / .04), 0 24px 50px -12px rgb(0 0 0 / .55); display: flex; gap: 12px; padding: 12px 14px; animation: bob 6s ease-in-out infinite; }
.float strong { display: block; font-size: var(--fs-sm); font-weight: 600; } .float small { display: block; color: var(--text-muted); font-size: var(--fs-2xs); }
.insight { right: -28px; bottom: 6px; width: 250px; align-items: flex-start; }
.insight ul { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 3px; }
.insight li { display: flex; align-items: center; gap: 5px; font-size: var(--fs-2xs); color: var(--text-secondary); } .insight li svg { color: var(--success); flex: none; }
.fring { position: relative; width: 44px; height: 44px; flex: none; }
.fring svg { width: 44px; height: 44px; transform: rotate(-90deg); }
.fring circle { fill: none; stroke: var(--text-on-inverse); stroke-width: 4.5; }
.fring .fbar { stroke: var(--success); stroke-linecap: round; stroke-dasharray: 113.1; stroke-dashoffset: 113.1; animation: ring 7s ease-out infinite; }
.fring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: var(--fs-sm); font-weight: 700; }
@keyframes ring { 0%, 50% { stroke-dashoffset: 113.1; } 64%, 100% { stroke-dashoffset: 21.5; } }
.doc { right: 60px; top: 10px; align-items: center; animation-delay: -3s; }
.doc-page { width: 34px; height: 44px; border: 1px solid var(--border); border-radius: var(--r-xs); padding: 5px 4px; display: grid; gap: 2.5px; align-content: start; background: var(--surface); }
.doc-page b { height: 3px; width: 60%; background: var(--surface-inverse); border-radius: var(--r-xs); justify-self: center; }
.doc-page i { height: 2px; background: var(--surface-sunken); border-radius: var(--r-xs); } .doc-page i.s { width: 60%; }
.doc-page hr { border: 0; height: 1px; background: var(--surface-sunken); margin: 1px 0; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.ab-foot { display: flex; justify-content: space-between; gap: 16px; color: var(--text-muted); font-size: var(--fs-sm); padding-top: 8px; }

.auth-main { display: flex; flex-direction: column; padding: 28px 40px 32px; min-width: 0; }
.auth-top { display: flex; align-items: center; justify-content: flex-end; gap: 12px; font-size: var(--fs-md); color: var(--text-muted); }
.auth-alt a { color: var(--text); font-weight: 500; }
.auth-mobile-brand { display: none; margin-right: auto; color: var(--text); }
.auth-card { width: min(380px, 100%); margin: auto; padding: 24px 0; }
.auth-card h2 { font-size: var(--fs-3xl); line-height: 1.15; letter-spacing: -.035em; font-weight: 600; margin: 0 0 8px; }
.auth-card .lede { color: var(--text-muted); margin: 0 0 22px; font-size: var(--fs-lg); line-height: 1.5; }
.auth-card label.f { margin-top: 16px; }
.auth-card input { height: 44px; font-size: var(--fs-lg); padding: 0 13px; }
.lab-row { display: flex; justify-content: space-between; align-items: baseline; }
.lab-row a { color: var(--text-muted); font-size: var(--fs-sm); font-weight: 500; text-decoration: none; } .lab-row a:hover { color: var(--text); text-decoration: underline; }
.pw { position: relative; display: block; margin-top: 6px; } .pw input { padding-right: 44px; margin: 0; }
.eye { position: absolute; right: 5px; top: 50%; translate: 0 -50%; width: 34px; height: 34px; padding: 0; background: none; border: 0; color: var(--text-faint); border-radius: var(--r-md); }
.eye:hover { color: var(--text); background: var(--surface-hover); } .eye[aria-pressed="true"] { color: var(--accent); }
.meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 8px; }
.meter i { height: 3px; border-radius: var(--r-xs); background: var(--border); transition: background .2s; }
.meter[data-level="1"] i:nth-child(-n+1) { background: var(--danger); }
.meter[data-level="2"] i:nth-child(-n+2) { background: var(--warning); }
.meter[data-level="3"] i:nth-child(-n+3) { background: var(--success); }
.meter[data-level="4"] i { background: var(--success); }
.hint { display: block; margin-top: 6px; font-size: var(--fs-sm); color: var(--text-muted); font-weight: 400; }
button.wide { width: 100%; height: 44px; margin-top: 22px; font-size: var(--fs-lg); }
.bad { color: var(--danger); font-size: var(--fs-sm); margin: 12px 0 0; }
.bad:empty, .hint:empty { display: none; }
.sent { background: var(--canvas); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 18px; margin-bottom: 4px; }
.sent-ico { width: 40px; height: 40px; border-radius: var(--r-lg); background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 10px; }
.sent p { margin: 0 0 6px; font-size: var(--fs-md); line-height: 1.55; }
.auth-back { text-align: center; margin: 18px 0 0; font-size: var(--fs-md); } .auth-back a { color: var(--text-muted); text-decoration: none; } .auth-back a:hover { color: var(--text); }
.fine { display: flex; align-items: center; justify-content: center; gap: 6px; color: var(--text-faint); font-size: var(--fs-xs); margin-top: 30px; }
.shake { animation: shake .36s cubic-bezier(.36, .07, .19, .97); }
@keyframes shake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }
.auth-foot { color: var(--text-faint); font-size: var(--fs-xs); }

/* ---------------------------------------------------------------- app shell */
.shell { display: grid; grid-template-columns: 252px minmax(0, 1fr); min-height: 100vh; }
.side { position: sticky; top: 0; height: 100vh; background: var(--canvas); border-right: 1px solid var(--border); display: flex; flex-direction: column; padding: 14px 12px 12px; gap: 14px; z-index: 20; }
.side-head { padding: 4px 6px 2px; }
.side-add { width: 100%; height: 34px; justify-content: flex-start; padding: 0 10px; }
.side-add kbd, .kbd-dark { margin-left: auto; background: rgb(255 255 255 / .14); border-color: rgb(255 255 255 / .18); color: rgb(255 255 255 / .8); }
.nav { display: grid; gap: 1px; }
.nav button, .pipe-item { width: 100%; height: 32px; justify-content: flex-start; gap: 9px; padding: 0 9px; background: none; color: var(--text-secondary); font-weight: 500; border: 1px solid transparent; border-radius: var(--r-md); }
.nav button svg { width: 16px; height: 16px; color: var(--text-muted); flex: none; }
.nav button:hover, .pipe-item:hover { background: var(--surface-hover); }
.nav button[aria-selected="true"], .pipe-item[aria-current="true"] { background: var(--surface); border-color: var(--border); box-shadow: var(--shadow-sm); color: var(--text); }
.nav button[aria-selected="true"] svg { color: var(--accent); }
.nav-count { margin-left: auto; color: var(--text-faint); font-size: var(--fs-xs); font-weight: 500; font-variant-numeric: tabular-nums; }
.side-section { display: grid; gap: 2px; min-height: 0; overflow-y: auto; }
.side-label { display: flex; align-items: center; justify-content: space-between; padding: 0 4px 4px 9px; color: var(--text-muted); font-size: var(--fs-xs); font-weight: 500; }
.icon.tiny { width: 22px; height: 22px; border-radius: var(--r-sm); }
.icon.tiny svg { width: 13px; height: 13px; }
.pipe-dot { width: 8px; height: 8px; border-radius: var(--r-xs); background: var(--border-strong); flex: none; }
.pipe-item[aria-current="true"] .pipe-dot { background: var(--accent); }
.pipe-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-foot { margin-top: auto; display: grid; gap: 10px; }
.ext-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 12px; box-shadow: var(--shadow-sm); }
.ext-card strong { font-size: var(--fs-sm); font-weight: 600; }
.ext-card p { margin: 2px 0 10px; color: var(--text-muted); font-size: var(--fs-sm); line-height: 1.45; }
.link { background: none; border: 0; color: var(--accent); padding: 0 4px; height: 30px; font-size: var(--fs-sm); }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }
.account { position: relative; }
.avatar-btn { width: 100%; height: 48px; justify-content: flex-start; gap: 10px; padding: 0 8px; background: none; border-radius: var(--r-md); color: var(--text-faint); text-align: left; }
.avatar-btn:hover, .avatar-btn[aria-expanded="true"] { background: var(--surface-hover); }
.me-text { min-width: 0; display: grid; line-height: 1.3; }
.me-text strong { color: var(--text); font-size: var(--fs-sm); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.me-text span { color: var(--text-muted); font-size: var(--fs-xs); font-weight: 400; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.avatar-btn .chev { margin-left: auto; flex: none; transform: rotate(180deg); transition: transform .15s; }
.avatar-btn[aria-expanded="true"] .chev { transform: none; }
.me { width: 30px; height: 30px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 600; font-size: var(--fs-xs); letter-spacing: 0; display: grid; place-items: center; flex: none; border: 1px solid var(--accent-line); }
.me.lg { width: 38px; height: 38px; font-size: var(--fs-md); }
.menu { position: absolute; left: 0; right: 0; bottom: calc(100% + 6px); background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 5px; transform-origin: bottom left; animation: pop .12s ease-out; z-index: 30; }
@keyframes pop { from { opacity: 0; transform: scale(.97) translateY(3px); } }
.menu-head { display: flex; gap: 10px; align-items: center; padding: 9px 9px 11px; border-bottom: 1px solid var(--border); margin-bottom: 5px; }
.menu-head div { min-width: 0; } .menu-head strong { display: block; font-size: var(--fs-md); font-weight: 600; }
.menu-head span:not(.me) { display: block; color: var(--text-muted); font-size: var(--fs-sm); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.menu [role="menuitem"] { display: flex; align-items: center; width: 100%; justify-content: flex-start; gap: 10px; height: 34px; line-height: 1; box-sizing: border-box; padding: 0 9px; border-radius: var(--r-sm); background: none; color: var(--text-secondary); font-size: var(--fs-md); font-weight: 450; text-decoration: none; border: 0; }
.menu [role="menuitem"] svg { width: 16px; height: 16px; color: var(--text-muted); flex: none; }
.menu [role="menuitem"]:hover, .menu [role="menuitem"]:focus-visible { background: var(--surface-hover); color: var(--text); outline: none; }
.menu-sep { height: 1px; background: var(--border); margin: 5px 4px; }
.scrim { position: fixed; inset: 0; background: rgb(0 0 0 / .25); z-index: 15; }

.main { min-width: 0; }
.page-head { display: flex; align-items: center; gap: 10px; padding: 22px 28px 0; flex-wrap: wrap; }
.page-title { display: grid; gap: 2px; }
.crumb { color: var(--text-muted); font-size: var(--fs-sm); font-weight: 500; }
.page-title h1 { font-size: var(--fs-2xl); font-weight: 600; letter-spacing: -.028em; margin: 0; line-height: 1.2; }
.page-sub { color: var(--text-muted); margin: 6px 28px 20px; font-size: var(--fs-md); }
.menu-btn { display: none; }
.mobile-add { display: none; }
.phone-select { display: none; }
.search { position: relative; }
.search input { width: 260px; height: 34px; padding: 0 34px 0 32px; font-size: var(--fs-sm); }
.search svg { position: absolute; left: 10px; top: 50%; translate: 0 -50%; width: 14px; height: 14px; color: var(--text-faint); pointer-events: none; }
.search kbd { position: absolute; right: 8px; top: 50%; translate: 0 -50%; font-size: var(--fs-2xs); padding: 1px 6px; color: var(--text-muted); }
.page-head .ghost { height: 34px; }
.file { cursor: pointer; }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding: 20px 28px 20px; }
.stat { border: 1px solid var(--border); border-radius: var(--r-lg); padding: 14px 16px 13px; background: var(--surface); box-shadow: var(--shadow-sm); display: grid; gap: 2px; }
.stat-label { display: flex; align-items: center; gap: 7px; color: var(--text-muted); font-size: var(--fs-sm); font-weight: 500; }
.stat-label i { width: 7px; height: 7px; border-radius: 50%; }
.stat strong { font-size: var(--fs-3xl); font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums; line-height: 1.25; }
.stat-sub { color: var(--text-faint); font-size: var(--fs-xs); }
.stat:first-child strong { color: var(--accent); }

/* ---------------------------------------------------------------- welcome */
.welcome { position: relative; margin: 0 28px 24px; background: var(--surface-sunken); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 18px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.welcome h3 { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; font-size: var(--fs-lg); font-weight: 600; letter-spacing: -.015em; margin: 2px 4px 6px; padding-right: 36px; }
.progress { white-space: nowrap; font-size: var(--fs-xs); font-weight: 500; color: var(--text-muted); letter-spacing: 0; display: inline-flex; align-items: center; gap: 8px; }
.progress::before { content: ""; width: 72px; height: 4px; border-radius: var(--r-pill); background: linear-gradient(90deg, var(--accent) var(--pct, 0%), var(--border-strong) var(--pct, 0%)); }
.w-close { position: absolute; top: 12px; right: 12px; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 16px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; min-height: 150px; }
.step > div { display: flex; flex-direction: column; flex: 1; }
.step b { width: 24px; height: 24px; border-radius: var(--r-md); background: var(--surface-sunken); color: var(--text-secondary); font-size: var(--fs-xs); font-weight: 600; display: grid; place-items: center; margin-bottom: 12px; }
.step strong { display: block; font-size: var(--fs-md); font-weight: 600; letter-spacing: -.01em; margin-bottom: 3px; }
.step p { margin: 0 0 14px; color: var(--text-muted); font-size: var(--fs-sm); line-height: 1.5; }
.step .btns, .step > div > .ghost, .step > div > .primary { margin-top: auto; align-self: flex-start; }
.step.done { background: var(--canvas); box-shadow: none; }
.step.done b { background: var(--success); color: var(--text-on-inverse); font-size: 0; }
.step.done b::after { content: ""; width: 9px; height: 5px; border: solid var(--surface); border-width: 0 0 2px 2px; transform: translateY(-1px) rotate(-45deg); }
.step.done strong { color: var(--text-muted); }
.step.done p, .step.done .btns, .step.done .ghost, .step.done .primary { display: none; }
.step.done > div::after { content: "Done"; margin-top: auto; color: var(--success); font-size: var(--fs-sm); font-weight: 500; }
.btns { display: flex; gap: 6px; flex-wrap: wrap; }
.phone-only { display: none; }

/* ---------------------------------------------------------------- board */
.board { display: flex; gap: 12px; padding: 0 28px 32px; overflow-x: auto; align-items: flex-start; min-height: calc(100vh - 160px); scroll-snap-type: x proximity; scroll-padding-inline: 28px; }
.column { background: var(--canvas); border: 1px solid var(--border); border-radius: var(--r-lg); width: 280px; flex: 0 0 280px; padding: 10px; max-height: calc(100vh - 150px); display: flex; flex-direction: column; scroll-snap-align: start; transition: background .12s, border-color .12s; }
.column.over { background: var(--surface-sunken); border-color: var(--border-strong); border-style: dashed; }
.column h2 { font-size: var(--fs-sm); margin: 2px 4px 10px; display: flex; align-items: center; gap: 8px; font-weight: 600; letter-spacing: -.01em; }
.column h2 .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--stage); }
.column h2 .count { color: var(--text-faint); font-weight: 500; font-size: var(--fs-sm); font-variant-numeric: tabular-nums; }
.col-add { margin-left: auto; opacity: 0; transition: opacity .12s; }
.column:hover .col-add, .col-add:focus-visible { opacity: 1; }
.column .cards { overflow-y: auto; display: flex; flex-direction: column; gap: 6px; min-height: 44px; padding: 1px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 11px 12px; cursor: grab; box-shadow: var(--shadow-sm); text-align: left; width: 100%; color: inherit; display: grid; grid-template-columns: 30px 1fr; gap: 0 10px; transition: border-color .12s, box-shadow .12s; }
.card:hover { border-color: var(--border-strong); box-shadow: var(--shadow-md); }
.card.dragging { opacity: .4; }
.card > :not(.av) { grid-column: 2; min-width: 0; }
.card .av { grid-row: 1 / span 3; width: 30px; height: 30px; border-radius: var(--r-md); display: grid; place-items: center; font-weight: 600; font-size: var(--fs-sm); color: hsl(var(--h) 35% 30%); background: hsl(var(--h) 30% 94%); border: 1px solid hsl(var(--h) 25% 88%); }
.card .t { font-weight: 550; font-size: var(--fs-md); line-height: 1.35; letter-spacing: -.01em; }
.card .c { color: var(--text-secondary); font-size: var(--fs-sm); margin-top: 1px; }
.card .d { color: var(--text-muted); font-size: var(--fs-xs); margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card .m { color: var(--text-faint); font-size: var(--fs-xs); display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; align-items: center; }
.pill { white-space: nowrap; border-radius: var(--r-sm); padding: 0 6px; background: var(--surface-sunken); color: var(--text-muted); font-size: var(--fs-xs); line-height: 19px; }
.pill.ok { background: var(--success-soft); color: var(--success); font-weight: 500; display: inline-flex; align-items: center; gap: 5px; }
.pill.ok i { width: 5px; height: 5px; border-radius: 50%; background: var(--success); }
.age { margin-left: auto; white-space: nowrap; font-variant-numeric: tabular-nums; }
.empty { color: var(--text-faint); font-size: var(--fs-sm); text-align: center; padding: 18px 4px; border: 1px dashed var(--border-strong); border-radius: var(--r-lg); }
.move { display: none; }

/* ---------------------------------------------------------------- job detail */
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(680px, 100vw); background: var(--surface); border-left: 1px solid var(--border); z-index: 25; overflow-y: auto; padding: 0 28px 56px; box-shadow: var(--shadow-lg); animation: slide .18s ease-out; }
@keyframes slide { from { transform: translateX(16px); opacity: 0; } }
.d-top { position: sticky; top: 0; background: var(--surface); z-index: 2; margin: 0 -28px; padding: 14px 28px 0; border-bottom: 1px solid var(--border); }
.d-bar { display: flex; align-items: center; gap: 8px; }
.d-bar .ghost svg { color: var(--text-muted); }
.stage-select { width: auto; height: 30px; font-size: var(--fs-sm); font-weight: 500; padding-left: 26px; background-color: var(--surface); box-shadow: var(--shadow-sm); background-image: radial-gradient(circle, var(--stage) 3.5px, transparent 4px), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%236e6e6e' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 4.5 3 3 3-3'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: 8px center, right 10px center; background-size: 12px 12px, 12px 12px; }
.d-hero { display: flex; gap: 14px; align-items: center; margin: 18px 0 10px; }
.av.lg { width: 44px; height: 44px; border-radius: var(--r-lg); display: grid; place-items: center; font-weight: 600; font-size: var(--fs-xl); flex: none; color: hsl(var(--h) 35% 30%); background: hsl(var(--h) 30% 94%); border: 1px solid hsl(var(--h) 25% 88%); }
.d-names { min-width: 0; flex: 1; display: grid; }
.title-input { font-size: var(--fs-2xl); font-weight: 600; letter-spacing: -.025em; height: 32px; border-color: transparent; box-shadow: none; padding: 0 6px; margin-left: -6px; }
.company-input { font-size: var(--fs-md); color: var(--text-secondary); height: 26px; border-color: transparent; box-shadow: none; padding: 0 6px; margin-left: -6px; }
.title-input:hover, .company-input:hover { border-color: var(--border); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 14px; }
.chip { font-size: var(--fs-xs); font-weight: 500; color: var(--text-secondary); background: var(--surface-sunken); border: 1px solid var(--border); border-radius: var(--r-sm); padding: 2px 8px; white-space: nowrap; }
.chip.ghosty { background: var(--surface); color: var(--text-muted); }
.chip.fit, .pill.fit { font-weight: 600; border-color: transparent; }
.fit.hi { background: var(--success-soft); color: var(--success); } .fit.mid { background: var(--accent-soft); color: var(--accent); }
.fit.low { background: var(--warning-soft); color: var(--warning); } .fit.poor { background: var(--danger-soft); color: var(--danger); }
.d-tabs { display: flex; gap: 2px; margin: 0 -8px; }
.d-tabs button { background: none; border: 0; border-radius: 0; height: 40px; padding: 0 10px; color: var(--text-muted); position: relative; font-weight: 500; }
.d-tabs button:hover { color: var(--text); }
.d-tabs button[aria-selected="true"] { color: var(--text); }
.d-tabs button[aria-selected="true"]::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 2px; background: var(--text); border-radius: var(--r-xs) var(--r-xs) 0 0; }
.tab-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--success); margin-left: 2px; }
.d-pane { padding-top: 22px; }
.pane-h { font-size: var(--fs-sm); font-weight: 600; margin: 24px 0 8px; letter-spacing: -.01em; }
.d-pane h4 { font-size: var(--fs-sm); font-weight: 600; margin: 0 0 6px; display: flex; align-items: center; gap: 7px; color: var(--text-secondary); }
.summary { font-size: var(--fs-lg); line-height: 1.6; color: var(--text); margin: 0 0 18px; letter-spacing: -.01em; }
.bul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.bul li { position: relative; padding-left: 16px; color: var(--text-secondary); font-size: var(--fs-md); line-height: 1.5; }
.bul li::before { content: ""; position: absolute; left: 3px; top: .62em; width: 4px; height: 4px; border-radius: 50%; background: var(--text-faint); }
.bul.ok li::before { background: var(--success); } .bul.gap li::before { background: var(--warning); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.two > div { min-width: 0; }
.fit-card { display: flex; gap: 16px; align-items: center; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 16px; margin: 0 0 16px; background: var(--canvas); }
.fit-card + .two { margin-bottom: 8px; }
.fit-card.none { justify-content: space-between; }
.ring { position: relative; width: 64px; height: 64px; flex: none; }
.ring svg { width: 64px; height: 64px; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 6; }
.ring .track { stroke: var(--border); } .ring .bar { stroke-linecap: round; stroke: currentColor; }
.ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: var(--fs-xl); font-weight: 600; letter-spacing: -.02em; color: var(--text); }
.fit-card.hi .ring { color: var(--success); } .fit-card.mid .ring { color: var(--accent); } .fit-card.low .ring { color: var(--warning); } .fit-card.poor .ring { color: var(--danger); }
.fit-text strong { font-size: var(--fs-lg); font-weight: 600; letter-spacing: -.015em; }
.fit-text p { margin: 3px 0 0; color: var(--text-muted); font-size: var(--fs-md); line-height: 1.5; }
.ok-dot, .gap-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success); } .gap-dot { background: var(--warning); }
.flags { border: 1px solid var(--warning-soft); background: var(--warning-soft); border-radius: var(--r-lg); padding: 12px 14px; margin: 4px 0 4px; }
.flags h4 { color: var(--warning-strong); } .flags .bul li { color: var(--warning-strong); } .flags .bul li::before { background: var(--warning); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: var(--fs-sm); color: var(--text-secondary); border: 1px solid var(--border-strong); border-radius: var(--r-sm); padding: 2px 8px; background: var(--surface); }
.tag.soft { background: var(--canvas); border-color: var(--border); color: var(--text-muted); }
.provenance { margin: 28px 0 0; padding-top: 14px; border-top: 1px solid var(--border); color: var(--text-faint); font-size: var(--fs-xs); display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.provenance .link { height: 24px; font-size: var(--fs-xs); }
.skeleton { display: grid; gap: 10px; }
.skeleton i { display: block; height: 12px; border-radius: var(--r-sm); background: linear-gradient(90deg, var(--surface-sunken), var(--surface-hover), var(--surface-sunken)); background-size: 200% 100%; animation: shimmer 1.2s linear infinite; }
.skeleton i.short { width: 60%; }
@keyframes shimmer { to { background-position: -200% 0; } }
.empty-state { text-align: center; padding: 36px 16px; border: 1px dashed var(--border-strong); border-radius: var(--r-lg); }
.empty-state strong { font-size: var(--fs-lg); } .empty-state p { margin: 4px auto 14px; max-width: 360px; }
.tailor { background: var(--canvas); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 4px 18px 14px; margin: 0 0 16px; }
.tailor h3 { font-size: var(--fs-md); font-weight: 600; margin: 14px 0 2px; letter-spacing: -.01em; }
.tailor .muted { margin: 0 0 4px; }
.notes-out { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 12px 16px; font-size: var(--fs-sm); color: var(--text-secondary); }
.notes-out ul { margin: 6px 0 2px; padding-left: 18px; } .notes-out li { margin: 4px 0; }
#d-preview { width: 100%; height: 760px; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); margin-top: 12px; box-shadow: var(--shadow-md); }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: flex; gap: 12px; position: relative; padding-bottom: 16px; }
.timeline li:not(:last-child)::after { content: ""; position: absolute; left: 4.5px; top: 14px; bottom: 0; width: 1px; background: var(--border-strong); }
.tl-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--stage); margin-top: 4px; flex: none; box-shadow: 0 0 0 3px var(--surface); }
.timeline strong { display: block; font-size: var(--fs-md); font-weight: 500; }
.timeline span:not(.tl-dot) { color: var(--text-faint); font-size: var(--fs-xs); }
.danger-zone { display: flex; align-items: center; gap: 16px; justify-content: space-between; margin-top: 28px; padding: 14px 16px; border: 1px solid var(--danger-soft); border-radius: var(--r-lg); }
.danger-zone strong { font-size: var(--fs-md); } .danger-zone p { margin: 2px 0 0; }
.spin { width: 12px; height: 12px; border: 1.6px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; display: inline-block; vertical-align: -2px; margin-right: 6px; }
@keyframes spin { to { transform: rotate(360deg); } }
.pill .spin { width: 9px; height: 9px; margin-right: 4px; vertical-align: -1px; }

/* ---------------------------------------------------------------- resumes */
.resume-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 12px; padding: 0 28px 32px; }
.resume { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 16px 18px; box-shadow: var(--shadow-sm); }
.resume h3 { margin: 12px 0 2px; font-size: var(--fs-md); font-weight: 600; }
.resume-top { display: flex; align-items: center; gap: 8px; }
.resume-top .star { margin-left: auto; }
.doc-ico { width: 36px; height: 36px; border-radius: var(--r-md); background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.doc-ico svg { width: 18px; height: 18px; }
.notes-out b { font-weight: 600; color: var(--text); }
.star { background: none; border: 0; padding: 0; height: auto; font-size: var(--fs-lg); color: var(--text-faint); }
.star[aria-pressed="true"] { color: #d99a00; /* art: the gold star */ }

/* ---------------------------------------------------------------- dialogs */
dialog { border: 1px solid var(--border); border-radius: var(--r-xl); background: var(--surface); color: var(--text); width: min(560px, calc(100vw - 32px)); padding: 24px; box-shadow: var(--shadow-lg); }
dialog.wide { width: min(820px, calc(100vw - 32px)); }
dialog::backdrop { background: rgb(0 0 0 / .28); }
dialog h2 { margin: 0 0 4px; font-size: var(--fs-xl); font-weight: 600; letter-spacing: -.02em; }
dialog.guide { width: min(600px, calc(100vw - 32px)); }
.guide-head { display: flex; align-items: center; justify-content: space-between; }
.guide-steps { list-style: none; counter-reset: s; padding: 0; margin: 18px 0 6px; }
.guide-steps li { counter-increment: s; position: relative; padding: 14px 0 16px 40px; border-top: 1px solid var(--border); }
.guide-steps li::before { content: counter(s); position: absolute; left: 0; top: 14px; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--border-strong); color: var(--text-muted); font-weight: 600; font-size: var(--fs-xs); display: grid; place-items: center; }
.guide-steps strong { font-size: var(--fs-md); font-weight: 600; }
.guide-steps p { margin: 4px 0 10px; color: var(--text-muted); font-size: var(--fs-md); line-height: 1.55; }
.guide-steps b { color: var(--text); font-weight: 600; }
kbd { font: 500 var(--fs-xs)/1 var(--font-sans); background: var(--canvas); border: 1px solid var(--border-strong); border-bottom-width: 2px; border-radius: var(--r-sm); padding: 2px 6px; color: var(--text); white-space: nowrap; }
.copyrow { display: flex; align-items: center; gap: 8px; background: var(--canvas); border: 1px solid var(--border); border-radius: var(--r-md); padding: 4px 4px 4px 12px; max-width: 320px; }
.copyrow code { flex: 1; font: 500 var(--fs-sm) var(--font-mono); }
.toggle { display: inline-block; vertical-align: -3px; width: 26px; height: 15px; border-radius: var(--r-pill); background: var(--accent); position: relative; margin-left: 4px; }
.toggle i { position: absolute; right: 2px; top: 2px; width: 11px; height: 11px; border-radius: 50%; background: var(--surface); }
.puzzle { display: inline-block; vertical-align: -3px; width: 15px; height: 15px; margin: 0 2px; color: var(--text); }

#toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 6px); background: var(--text); color: var(--text-on-inverse); padding: 9px 14px; border-radius: var(--r-md); font-size: var(--fs-sm); font-weight: 500; opacity: 0; transition: opacity .15s, transform .15s; pointer-events: none; z-index: 40; box-shadow: var(--shadow-lg); }
#toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 900px) {
  .auth { grid-template-columns: 1fr; }
  .auth-brand { display: none; }
  .auth-mobile-brand { display: flex; }
  .auth-main { padding: 18px 20px 28px; }
  .auth-top { justify-content: space-between; } .auth-alt { font-size: var(--fs-sm); }
  .welcome { grid-template-columns: 1fr; }
}
@media (max-width: 640px), (pointer: coarse) {
  .desk-only { display: none !important; }
  .side-add kbd, .search kbd { display: none; }
  .phone-only { display: inline; }
}
@media (max-width: 900px) {
  .shell { grid-template-columns: 1fr; }
  .side { position: fixed; left: 0; top: 0; bottom: 0; width: 272px; transform: translateX(-100%); transition: transform .2s ease-out; box-shadow: var(--shadow-lg); }
  .side.open { transform: none; }
  .menu-btn { display: inline-flex; margin-left: -6px; }
  .mobile-add { display: inline-flex; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .grid2 { grid-template-columns: 1fr; }
  .page-head { padding: 14px 16px 0; }
  .page-head .search { order: 5; width: 100%; } .search input { width: 100%; } .search kbd { display: none; }
  .page-sub { margin: 6px 16px 16px; }
  .stats { padding: 16px; gap: 8px; } .stat { padding: 12px; } .stat strong { font-size: var(--fs-2xl); }
  .welcome { margin: 0 16px 24px; padding: 14px; } .step { min-height: 0; }
  .board { padding: 0 16px 24px; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; }
  .column { width: 84vw; flex-basis: 84vw; }
  .col-add { opacity: 1; }
  .resume-list { padding: 0 16px 24px; }
  .drawer { padding: 0 16px 40px; } .d-top { margin: 0 -16px; padding: 12px 16px 0; } .two { grid-template-columns: 1fr; gap: 4px; } .danger-zone { flex-direction: column; align-items: flex-start; }
  #d-preview { height: 520px; }
  dialog { padding: 20px; }
}
/* Touch screens can't drag, so each card gets a stage picker; iOS zooms inputs under 16px. */
@media (pointer: coarse) {
  .card { cursor: pointer; }
  .move { display: block; grid-column: 2; margin-top: 8px; height: 32px; }
  input, select, textarea { font-size: var(--fs-lg) !important; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ---------------------------------------------------------------- research: pay, company, benefits, sources */
.est { display: inline-block; font-size: var(--fs-2xs); font-weight: 600; letter-spacing: .01em; color: var(--warning); background: var(--warning-soft); border-radius: var(--r-xs); padding: 0 5px; line-height: 17px; vertical-align: 1px; }
.facts { display: grid; grid-template-columns: 1fr 1.25fr; gap: 12px; margin: 0 0 16px; }
.fact { border: 1px solid var(--border); border-radius: var(--r-lg); padding: 14px 16px; display: grid; gap: 3px; align-content: start; min-width: 0; }
.fact-k { color: var(--text-muted); font-size: var(--fs-xs); font-weight: 500; }
.fact-v { font-size: var(--fs-xl); font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.fact-v .ext { font-size: var(--fs-sm); color: var(--text-faint); text-decoration: none; margin-left: 2px; } .fact-v .ext:hover { color: var(--text); }
.fact-s { color: var(--text-muted); font-size: var(--fs-sm); line-height: 1.45; }
.fact-meta { display: flex; flex-wrap: wrap; gap: 4px 6px; margin-top: 6px; }
.fact-meta span { font-size: var(--fs-xs); color: var(--text-secondary); background: var(--surface-sunken); border-radius: var(--r-sm); padding: 1px 7px; }
.benefits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.bn { border: 1px solid var(--border); border-radius: var(--r-lg); padding: 10px 12px; display: grid; gap: 2px; position: relative; }
.bn-k { font-size: var(--fs-xs); font-weight: 500; color: var(--text-muted); }
.bn-v { font-size: var(--fs-md); color: var(--text); line-height: 1.4; padding-right: 64px; }
.bn-s { position: absolute; top: 9px; right: 10px; font-size: var(--fs-2xs); font-weight: 500; color: var(--text-faint); }
.bn.none { background: var(--canvas); } .bn.none .bn-v { color: var(--text-faint); }
.sources { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.sources li { display: flex; align-items: baseline; gap: 8px; font-size: var(--fs-sm); min-width: 0; }
.sources a { color: var(--text-secondary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sources span { color: var(--text-faint); font-size: var(--fs-xs); flex: none; }

/* ---------------------------------------------------------------- job description */
.jd { max-width: 620px; font-size: var(--fs-md); line-height: 1.7; color: var(--text-secondary); }
.jd h3 { font-size: var(--fs-lg); font-weight: 600; color: var(--text); letter-spacing: -.015em; margin: 26px 0 8px; }
.jd h3:first-child { margin-top: 0; }
.jd p { margin: 0 0 12px; }
.jd ul { margin: 0 0 14px; padding: 0; list-style: none; display: grid; gap: 6px; }
.jd li { position: relative; padding-left: 18px; }
.jd li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 5px; height: 5px; border-radius: 50%; background: var(--border-strong); }
.jd strong { color: var(--text); font-weight: 600; }

/* ---------------------------------------------------------------- compare */
.small-select { width: auto; height: 34px; font-size: var(--fs-sm); font-weight: 500; }
.cmp-wrap { margin: 0 28px 32px; border: 1px solid var(--border); border-radius: var(--r-lg); overflow: auto; box-shadow: var(--shadow-sm); max-height: calc(100vh - 170px); }
.cmp { border-collapse: separate; border-spacing: 0; width: 100%; font-size: var(--fs-sm); }
.cmp th, .cmp td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--border); white-space: nowrap; vertical-align: middle; }
.cmp thead th { position: sticky; top: 0; z-index: 2; background: var(--canvas); padding: 0; font-weight: 500; }
.cmp thead th button { all: unset; box-sizing: border-box; display: flex; align-items: center; gap: 4px; width: 100%; padding: 10px 14px; color: var(--text-muted); font-size: var(--fs-xs); font-weight: 500; cursor: pointer; }
.cmp thead th button:hover { color: var(--text); } .cmp thead th button:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.cmp thead th.asc button::after { content: "↑"; color: var(--text); } .cmp thead th.desc button::after { content: "↓"; color: var(--text); }
.cmp tbody tr { cursor: pointer; } .cmp tbody tr:hover td, .cmp tbody tr:hover th { background: var(--canvas); }
.cmp tbody tr:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.cmp tbody tr:last-child > * { border-bottom: 0; }
.cmp tbody th { position: sticky; left: 0; z-index: 1; background: var(--surface); display: flex; align-items: center; gap: 10px; min-width: 240px; font-weight: 400; border-right: 1px solid var(--border); }
.cmp tbody th .av { width: 28px; height: 28px; border-radius: var(--r-md); flex: none; display: grid; place-items: center; font-weight: 600; font-size: var(--fs-xs); color: hsl(var(--h) 35% 30%); background: hsl(var(--h) 30% 94%); }
.cmp tbody th b { display: block; font-weight: 600; max-width: 260px; overflow: hidden; text-overflow: ellipsis; }
.cmp tbody th small { display: block; color: var(--text-muted); font-size: var(--fs-xs); }
.cmp thead th:first-child { position: sticky; left: 0; z-index: 3; }
.cmp .num { font-variant-numeric: tabular-nums; }
.cmp td.best { background: var(--success-soft); } .cmp tbody tr:hover td.best { background: var(--success-soft); }
.cmp .bcell { max-width: 200px; overflow: hidden; text-overflow: ellipsis; color: var(--text-secondary); }
.cmp .yes { color: var(--success); font-weight: 700; margin-right: 6px; } .cmp .no { color: var(--text-faint); }
.stage-pill { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }
.stage-pill i { width: 7px; height: 7px; border-radius: 50%; }
.cmp-empty { text-align: center !important; color: var(--text-faint); padding: 32px !important; cursor: default; }
@media (max-width: 640px) {
  .facts, .benefits { grid-template-columns: 1fr; }
  .cmp-wrap { margin: 0 16px 24px; }
  .cmp tbody th { min-width: 180px; }
}

/* ---------------------------------------------------------------- people + outreach */
.tab-count { margin-left: 5px; font-size: var(--fs-2xs); font-weight: 600; color: var(--text-muted); background: var(--surface-sunken); border-radius: var(--r-pill); padding: 0 6px; line-height: 17px; }
.tab-count:empty { display: none; }
.people-head { display: flex; gap: 16px; align-items: flex-start; justify-content: space-between; margin-bottom: 14px; }
.people-head h3 { font-size: var(--fs-lg); font-weight: 600; margin: 0 0 2px; letter-spacing: -.015em; }
.people-head p { margin: 0; max-width: 380px; }
.people-head .btns { flex: none; }
.people { display: grid; gap: 10px; }
.person { border: 1px solid var(--border); border-radius: var(--r-lg); padding: 14px 16px; box-shadow: var(--shadow-sm); background: var(--surface); }
.p-top { display: flex; align-items: center; gap: 10px; }
.p-top .av { width: 34px; height: 34px; border-radius: 50%; flex: none; display: grid; place-items: center; font-weight: 600; font-size: var(--fs-sm); color: hsl(var(--h) 35% 30%); background: hsl(var(--h) 30% 93%); }
.p-id { display: grid; min-width: 0; flex: 1; }
.p-id strong { font-size: var(--fs-md); font-weight: 600; } .p-id strong a { color: var(--text); text-decoration: none; } .p-id strong a:hover { text-decoration: underline; }
.p-id strong a span { color: var(--text-faint); font-size: var(--fs-xs); }
.p-id > span { color: var(--text-muted); font-size: var(--fs-sm); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kind { font-size: var(--fs-xs); font-weight: 600; border-radius: var(--r-sm); padding: 2px 7px; white-space: nowrap; background: var(--surface-sunken); color: var(--text-secondary); }
.k-hiring_manager { background: var(--accent-soft); color: var(--accent); } .k-recruiter { background: var(--tag-violet-soft); color: var(--tag-violet); }
.k-referral { background: var(--success-soft); color: var(--success); } .k-leader { background: var(--warning-soft); color: var(--warning); }
.unverified { font-size: var(--fs-2xs); font-weight: 600; color: var(--warning); border: 1px solid var(--warning-soft); border-radius: var(--r-sm); padding: 1px 6px; cursor: help; }
.p-line { margin: 8px 0 0; font-size: var(--fs-sm); line-height: 1.5; color: var(--text-secondary); }
.p-line b { font-weight: 600; color: var(--text-muted); font-size: var(--fs-xs); margin-right: 4px; text-transform: none; }
.p-row { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.p-status { width: auto; height: 30px; font-size: var(--fs-sm); font-weight: 600; }
.s-messaged { color: var(--accent); } .s-replied, .s-intro, .s-meeting { color: var(--success); } .s-not_responding { color: var(--text-faint); }
.p-fu { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-size: var(--fs-sm); color: var(--text-muted); }
.p-fu input { width: auto; height: 30px; margin: 0; font-size: var(--fs-sm); } .p-fu.due { color: var(--danger); } .p-fu.due input { border-color: var(--danger-soft); }
.plus { color: var(--text-faint); margin-right: -2px; }
.draft { margin-top: 12px; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--canvas); padding: 10px; }
.draft-h { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: var(--fs-sm); }
.cc { font-size: var(--fs-xs); color: var(--text-muted); font-variant-numeric: tabular-nums; }
.draft-subj { margin-bottom: 6px; font-weight: 500; }
.draft-body { font-size: var(--fs-md); line-height: 1.55; background: var(--surface); }
.link-tag { text-decoration: none; } .link-tag:hover { border-color: var(--text); color: var(--text); }
.people-skel { margin-bottom: 12px; }

/* ---------------------------------------------------------------- follow-ups */
.nav-count.due { color: var(--text-on-inverse); background: var(--danger); border-radius: var(--r-pill); padding: 0 6px; min-width: 18px; text-align: center; font-size: var(--fs-2xs); line-height: 18px; }
.nav-count.due:empty { display: none; }
.fu { padding: 0 28px 32px; display: grid; gap: 22px; max-width: 980px; }
.fu-sec h3 { font-size: var(--fs-md); font-weight: 600; margin: 0 0 8px; display: flex; align-items: center; gap: 8px; }
.fu-sec h3 .count { color: var(--text-faint); font-weight: 500; }
.fu-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--r-lg); margin-bottom: 6px; background: var(--surface); box-shadow: var(--shadow-sm); flex-wrap: wrap; }
.fu-row .av { width: 32px; height: 32px; border-radius: 50%; flex: none; display: grid; place-items: center; font-weight: 600; font-size: var(--fs-xs); color: hsl(var(--h) 35% 30%); background: hsl(var(--h) 30% 93%); }
.fu-row.step .av { border-radius: var(--r-md); }
.fu-main { display: grid; min-width: 0; flex: 1; }
.fu-main strong { font-size: var(--fs-md); font-weight: 600; } .fu-main span { color: var(--text-muted); font-size: var(--fs-sm); }
.fu-when { font-size: var(--fs-sm); font-weight: 600; color: var(--text-secondary); } .fu-when.due { color: var(--danger); }
.fu-sent { font-size: var(--fs-xs); }
.fu-empty { padding: 12px 2px; }
@media (max-width: 640px) {
  .people-head { flex-direction: column; } .fu { padding: 0 16px 24px; }
  .fu-row .btns { width: 100%; }
}

/* deep tailoring */
.direction { display: block; font-size: var(--fs-sm); font-weight: 500; margin: 10px 0 6px; }
.direction textarea { margin-top: 6px; width: 100%; }
.quick { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.quick .chip { cursor: pointer; padding: 6px 10px; min-height: 32px; transition: background .15s, border-color .15s; }
.quick .chip:hover { border-color: var(--accent); color: var(--accent); }
.quick .chip[aria-pressed="true"] { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
.coverage { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 12px 16px; margin: 0 0 12px; font-size: var(--fs-sm); }
.coverage .cov-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.coverage .cov-head strong { font-size: var(--fs-md); }
.coverage .bar { flex: 1; height: 6px; background: var(--surface-sunken); border-radius: var(--r-xs); overflow: hidden; display: flex; }
.coverage .bar i { display: block; height: 100%; }
.coverage ul { list-style: none; margin: 0; padding: 0; }
.coverage li { display: grid; grid-template-columns: 70px 1fr; gap: 10px; padding: 6px 0; border-top: 1px solid var(--border); }
.coverage li:first-child { border-top: 0; }
.coverage .st { font-size: var(--fs-2xs); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; padding-top: 1px; }
.coverage .st.covered { color: var(--success); } .coverage .st.partial { color: var(--warning); } .coverage .st.gap { color: var(--danger); }
.coverage .ev { color: var(--text-muted); display: block; margin-top: 1px; }
.cover { margin-top: 16px; }
#d-cover-text { width: 100%; margin-top: 6px; font: var(--fs-md)/1.6 Inter, sans-serif; }

/* ---------------------------------------------------------------- coach chat */
.coach-fab { position: fixed; right: 22px; bottom: 22px; width: 56px; height: 56px; padding: 0; border-radius: 50%; background: var(--accent); color: var(--text-on-inverse); z-index: 30; box-shadow: 0 8px 24px rgb(47 85 212 / .35), 0 2px 6px rgb(0 0 0 / .12); transition: transform .15s, box-shadow .15s; }
.coach-fab:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgb(47 85 212 / .42), 0 2px 6px rgb(0 0 0 / .12); }
.coach-fab[aria-expanded="true"] { transform: scale(.92); }
.coach { position: fixed; right: 22px; bottom: 90px; width: min(420px, calc(100vw - 32px)); height: min(640px, calc(100vh - 120px)); background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); box-shadow: 0 24px 60px rgb(0 0 0 / .18); z-index: 31; display: flex; flex-direction: column; overflow: hidden; animation: pop .16s ease-out; transform-origin: bottom right; }
.coach-head { display: flex; align-items: center; gap: 4px; padding: 14px 12px 12px 18px; border-bottom: 1px solid var(--border); }
.coach-head div { flex: 1; display: grid; } .coach-head strong { font-size: var(--fs-lg); letter-spacing: -.01em; } .coach-head .muted { font-size: var(--fs-sm); }
.coach-log { flex: 1; overflow-y: auto; padding: 16px 16px 8px; display: flex; flex-direction: column; gap: 12px; }
.msg { max-width: 88%; font-size: var(--fs-md); line-height: 1.55; overflow-wrap: anywhere; }
.msg.user { align-self: flex-end; background: var(--accent); color: var(--text-on-inverse); padding: 9px 13px; border-radius: var(--r-xl) var(--r-xl) var(--r-xs) var(--r-xl); white-space: pre-wrap; }
.msg.assistant { align-self: flex-start; color: var(--text); }
.msg.assistant p { margin: 0 0 8px; } .msg.assistant p:last-child { margin-bottom: 0; }
.msg.assistant ul, .msg.assistant ol { margin: 4px 0 8px; padding-left: 20px; } .msg.assistant li { margin: 3px 0; }
.msg.assistant h3 { font-size: var(--fs-md); font-weight: 600; margin: 10px 0 4px; } .msg.assistant a { color: var(--accent); }
.msg.error { align-self: flex-start; color: var(--danger); font-size: var(--fs-sm); }
.msg .job-tag { display: block; font-size: var(--fs-xs); opacity: .8; margin-bottom: 3px; }
.typing span { display: inline-block; width: 6px; height: 6px; margin-right: 4px; border-radius: 50%; background: var(--text-faint); animation: blink 1.2s infinite; }
.typing span:nth-child(2) { animation-delay: .2s; } .typing span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.coach-empty { margin: auto 0 0; display: grid; gap: 8px; }
.coach-empty p { margin: 0 0 4px; color: var(--text-muted); font-size: var(--fs-md); }
.coach-empty button { justify-content: flex-start; height: auto; min-height: 40px; padding: 9px 12px; background: var(--canvas); border: 1px solid var(--border); color: var(--text); white-space: normal; text-align: left; }
.coach-empty button:hover { border-color: var(--accent-line); background: var(--accent-soft); }
.coach-form { border-top: 1px solid var(--border); padding: 10px 12px 12px; display: grid; gap: 8px; }
.coach-focus { font-size: var(--fs-xs); color: var(--accent); background: var(--accent-soft); border: 1px solid var(--accent-line); border-radius: var(--r-pill); padding: 3px 10px; justify-self: start; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.coach-row { display: flex; gap: 8px; align-items: flex-end; }
.coach-row textarea { flex: 1; resize: none; height: auto; min-height: 40px; max-height: 140px; padding: 9px 12px; line-height: 1.4; border-radius: var(--r-lg); }
.coach-row .primary { width: 40px; height: 40px; padding: 0; border-radius: 50%; flex: none; }
@media (max-width: 640px) {
  .coach { right: 0; bottom: 0; width: 100vw; height: 100dvh; border-radius: 0; border: 0; }
  .coach-fab { right: 16px; bottom: 16px; }
  .coach:not([hidden]) ~ #toast { bottom: 90px; }
}

/* ---------------------------------------------------------------- homepage */
.lp { background: var(--surface); }
.lp-nav { position: sticky; top: 0; z-index: 5; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 14px clamp(20px, 3vw, 40px); }
/* the glass is its own layer so it can fade (opacity only); landing.js adds .top while the page is at the very top */
.lp-nav::before { content: ""; position: absolute; inset: 0; z-index: -1; background: color-mix(in srgb, var(--surface) 80%, transparent); backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px); box-shadow: 0 1px 0 var(--border), 0 8px 24px -18px rgb(0 0 0 / .18); transition: opacity var(--dur-slow) var(--ease); }
.lp-nav.top::before { opacity: 0; }
.lp .brand { text-decoration: none; color: inherit; } .lp-nav .wordmark { font-size: var(--fs-3xl); }
.lp-links { display: flex; gap: 28px; } .lp-links a { color: var(--text); text-decoration: none; font-size: var(--fs-md); font-weight: 500; } .lp-links a:hover { color: var(--accent); }
.lp-cta { display: flex; gap: 16px; align-items: center; justify-self: end; } .lp-login { color: var(--text); text-decoration: none; font-size: var(--fs-md); font-weight: 500; }
.lp-cta .primary { height: 38px; padding: 0 16px; border-radius: var(--r-md); }
.lp-hero { text-align: center; padding: clamp(56px, 9vh, 110px) 20px 0; }
.lp-hero h1 { font-size: clamp(46px, 8vw, var(--fs-6xl)); line-height: 1; letter-spacing: -.055em; font-weight: 700; margin: 0 auto 26px; max-width: 12ch; }
.lp-pill { display: inline-flex; align-items: center; gap: .18em; padding: .02em .32em .08em .24em; border-radius: .55em; background: var(--pill-bg, var(--success-soft)); color: var(--text); transition: background .4s; white-space: nowrap; vertical-align: baseline; }
.lp-pill i { width: .34em; height: .34em; border-radius: 50%; background: var(--pill-dot, var(--success)); transition: background .4s; flex: none; }
.lp-pill span { display: inline-block; font-weight: 600; letter-spacing: -.04em; transition: opacity .16s, transform .16s; }
.lp-pill span.out { opacity: 0; transform: translateY(.25em); }
.lp-sub { font-size: clamp(17px, 1.6vw, var(--fs-2xl)); line-height: 1.5; color: var(--text-secondary); margin: 0 auto 30px; max-width: 36em; letter-spacing: -.01em; }
.lp-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.lp .lg { height: 48px; padding: 0 24px; font-size: var(--fs-lg); border-radius: var(--r-lg); }
.lp-soft { display: inline-flex; align-items: center; justify-content: center; font-weight: 500; text-decoration: none; background: var(--accent-soft); color: var(--accent); } .lp-soft:hover { background: var(--accent-soft); }

.lp-app { display: grid; justify-items: center; gap: 8px; margin-top: 22px; }
.lp-app-btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: var(--r-lg); border: 1px solid var(--border-strong); color: var(--text-secondary); font-size: var(--fs-md); font-weight: 500; background: var(--surface); cursor: default; }
.lp-app small { color: var(--text-faint); font-size: var(--fs-sm); letter-spacing: .01em; }
/* the demo: an app window with a scripted cursor */
.lp-demo { padding: clamp(40px, 7vh, 72px) clamp(16px, 3vw, 40px) 0; display: flex; justify-content: center; }
.dm { position: relative; width: min(1140px, 100%); aspect-ratio: 16 / 8.6; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--border); box-shadow: 0 1px 2px rgb(0 0 0 / .04), 0 30px 80px -24px rgb(0 0 0 / .28); overflow: hidden; container-type: inline-size; font-size: clamp(9px, 1.15cqw, var(--fs-sm)); }
.dm-chrome { height: 3.1em; display: flex; align-items: center; gap: .55em; padding: 0 1.1em; background: var(--canvas); border-bottom: 1px solid var(--border); }
.dm-chrome > i { width: .85em; height: .85em; border-radius: 50%; background: var(--surface-sunken); }
.dm-tab { margin-left: 1.6em; display: inline-flex; align-items: center; gap: .5em; font-size: .92em; color: var(--text-muted); background: var(--surface); border: 1px solid var(--border); border-radius: .6em; padding: .3em .8em; }
.dm-body { display: grid; grid-template-columns: 15em 1fr; height: calc(100% - 3.1em); }
.dm-side { background: var(--canvas); border-right: 1px solid var(--border); padding: 1.2em .8em .6em; display: flex; flex-direction: column; gap: .15em; }
.dm-brand { display: flex; align-items: center; gap: .6em; font-weight: 700; font-size: 1.1em; padding: 0 .5em 1em; } .dm-brand .logo { width: 1.7em; height: 1.7em; }
.dm-nav { display: flex; align-items: center; gap: .65em; padding: .55em .6em; border-radius: .6em; color: var(--text-secondary); font-weight: 500; transition: background .2s; }
.dm-nav svg { width: 1.2em; height: 1.2em; } .dm-nav.on { background: var(--surface); color: var(--text); box-shadow: 0 1px 2px rgb(0 0 0 / .06); }
.dm-nav em { margin-left: auto; font-style: normal; font-size: .8em; font-weight: 700; color: var(--text-on-inverse); background: var(--danger); border-radius: 1em; padding: .05em .55em; }
.dm-nav.pulse { background: var(--accent-soft); color: var(--accent); }
.dm-label { font-size: .8em; color: var(--text-faint); font-weight: 600; margin: 1.3em .6em .3em; }
.dm-main { position: relative; padding: 1.4em 1.6em; overflow: hidden; display: flex; flex-direction: column; }
.dm-head { display: flex; align-items: baseline; gap: 1em; margin-bottom: 1.1em; } .dm-head b { font-size: 1.55em; letter-spacing: -.03em; } .dm-head span { color: var(--text-muted); } .dm-head em { font-style: normal; color: var(--text); font-weight: 600; }
.dm-board { display: grid; grid-template-columns: repeat(4, 1fr); gap: .9em; flex: 1; min-height: 0; }
.dm-col { background: var(--canvas); border-radius: .9em; padding: .7em; display: flex; flex-direction: column; gap: .6em; }
.dm-col h6 { margin: .1em .2em .2em; font-size: .92em; display: flex; align-items: center; gap: .5em; font-weight: 600; } .dm-col h6 i { width: .6em; height: .6em; border-radius: 50%; } .dm-col h6 em { font-style: normal; color: var(--text-faint); font-weight: 500; }
.dm { font-size: clamp(9px, 1.25cqw, var(--fs-md)); }
.dm-card { display: flex; gap: .7em; background: var(--surface); border: 1px solid var(--border); border-radius: .75em; padding: .75em; box-shadow: 0 1px 2px rgb(0 0 0 / .04); transition: transform .5s cubic-bezier(.2,.8,.2,1), opacity .4s, box-shadow .3s; }
.dm-card b { display: block; font-size: .98em; letter-spacing: -.01em; } .dm-card small { display: block; color: var(--text-muted); font-size: .85em; }
.dm-card.new { transform: translateY(-1.4em) scale(.96); opacity: 0; } .dm-card.hl { box-shadow: 0 0 0 2px var(--accent), 0 8px 20px -8px rgb(47 85 212 / .5); }
.dm-av { width: 2.3em; height: 2.3em; border-radius: .6em; flex: none; display: grid; place-items: center; font-weight: 700; font-size: .95em; color: hsl(var(--h) 45% 32%); background: hsl(var(--h) 55% 92%); }
.dm-av.r { border-radius: 50%; font-size: .8em; } .dm-av.lg { width: 3.2em; height: 3.2em; font-size: 1.2em; border-radius: .8em; }
.dm-fit { display: inline-block; margin-top: .45em; font-size: .78em; font-weight: 700; color: var(--accent); background: var(--accent-soft); border-radius: 1em; padding: .1em .6em; } .dm-fit.ok { color: var(--success); background: var(--success-soft); }
.dm-slot { border: 1.5px dashed var(--border); border-radius: .75em; height: 4.6em; }
.dm-shimmer { display: block; height: .7em; width: 70%; margin-top: .5em; border-radius: .4em; background: linear-gradient(90deg, #eee 0, #f7f7f7 50%, #eee 100%); background-size: 200% 100%; animation: shimmer 1.1s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
/* the job pane that slides in */
.dm-pane { position: absolute; top: 0; right: 0; bottom: 0; width: 46%; background: var(--surface); border-left: 1px solid var(--border); box-shadow: -20px 0 50px -30px rgb(0 0 0 / .35); padding: 1.2em 1.4em; transform: translateX(105%); transition: transform .55s cubic-bezier(.2,.8,.2,1); display: flex; flex-direction: column; gap: .9em; }
.dm-pane.on { transform: none; }
.dm-hero { display: flex; align-items: center; gap: .9em; background: var(--surface-inverse); color: var(--text-on-inverse); border-radius: 1em; padding: 1em 1.1em; }
.dm-hero b { display: block; font-size: 1.15em; letter-spacing: -.02em; } .dm-hero small { color: rgb(255 255 255 / .6); font-size: .88em; }
.dm-ring { position: relative; width: 3.5em; height: 3.5em; margin-left: auto; flex: none; }
.dm-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); } .dm-ring circle { fill: none; stroke: rgb(255 255 255 / .12); stroke-width: 4; }
.dm-ring .dm-ringbar { stroke: var(--success); stroke-linecap: round; stroke-dasharray: 113; stroke-dashoffset: 113; transition: stroke-dashoffset 1.2s cubic-bezier(.2,.8,.2,1); }
.dm-ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.05em; }
.dm-chips { display: flex; flex-wrap: wrap; gap: .45em; } .dm-chips span { font-size: .82em; font-weight: 600; background: var(--canvas); border-radius: 1em; padding: .25em .7em; opacity: 0; transform: translateY(.4em); transition: opacity .3s, transform .3s; } .dm-chips.on span { opacity: 1; transform: none; }
.dm-chips.on span:nth-child(2) { transition-delay: .12s; } .dm-chips.on span:nth-child(3) { transition-delay: .24s; } .dm-chips.on span:nth-child(4) { transition-delay: .36s; }
.dm-tabs { display: flex; gap: .3em; background: var(--canvas); border-radius: 2em; padding: .25em; align-self: flex-start; } .dm-tabs span { font-size: .85em; font-weight: 600; padding: .35em .9em; border-radius: 2em; color: var(--text-muted); transition: background .25s, color .25s; } .dm-tabs span.on { background: var(--surface-inverse); color: var(--text-on-inverse); }
.dm-view { display: none; flex-direction: column; gap: .7em; } .dm-view.on { display: flex; animation: fadeUp .35s ease-out; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(.5em); } }
.dm-sum { margin: 0; font-size: .95em; line-height: 1.5; color: var(--text-secondary); }
.dm-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .45em; font-size: .9em; } .dm-list li { display: flex; align-items: center; gap: .5em; } .dm-list svg { color: var(--success); width: 1em; height: 1em; } .dm-list li.warn { color: var(--danger-strong); font-weight: 700; } .dm-list li.warn span { color: var(--text-secondary); font-weight: 400; }
.dm-person { display: flex; align-items: center; gap: .7em; padding: .55em .6em; border: 1px solid var(--border); border-radius: .8em; opacity: 0; transform: translateX(1em); transition: opacity .35s, transform .35s; }
.dm-view.found .dm-person { opacity: 1; transform: none; } .dm-view.found .dm-person:nth-child(3) { transition-delay: .25s; } .dm-view.found .dm-person:nth-child(4) { transition-delay: .5s; } .dm.static .dm-person { opacity: 1; transform: none; }
.dm-person b { display: block; font-size: .92em; } .dm-person small { color: var(--text-muted); font-size: .8em; }
.dm-tag { margin-left: auto; font-size: .75em; font-weight: 700; color: var(--success); background: var(--success-soft); border-radius: 1em; padding: .15em .6em; }
.dm-note { font-size: .86em; line-height: 1.5; background: var(--canvas); border-radius: .8em; padding: .7em .8em; color: var(--text-secondary); }
.dm-cov b { display: block; font-size: .95em; margin-bottom: .45em; } .dm-bar { display: block; height: .5em; border-radius: .3em; background: var(--canvas); overflow: hidden; } .dm-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #1f8a4c 78%, #e0a526 78%); transition: width 1.2s cubic-bezier(.2,.8,.2,1); } .dm-view.on .dm-bar i { width: 100%; }
.dm-dl { display: flex; gap: .5em; } .dm-dl span { display: inline-flex; align-items: center; gap: .4em; font-size: .82em; font-weight: 600; border: 1px solid var(--border); border-radius: .6em; padding: .35em .7em; }
.dm-btns { margin-top: auto; display: flex; gap: .5em; } .dm-btn { font-size: .88em; font-weight: 600; padding: .55em 1em; border-radius: .6em; background: var(--canvas); transition: background .2s, color .2s, transform .15s; } .dm-btn.hot { background: var(--accent); color: var(--text-on-inverse); }
/* floating moments */
.dm-post { position: absolute; left: 20%; top: 18%; width: 34%; background: var(--surface); border-radius: 1em; box-shadow: 0 0 0 1px rgb(0 0 0 / .05), 0 30px 60px -20px rgb(0 0 0 / .4); overflow: hidden; transition: opacity .45s, transform .45s; }
.dm-post.gone { opacity: 0; transform: translateY(-1em) scale(.97); pointer-events: none; }
.dm-post-url { font-size: .78em; color: var(--text-muted); background: var(--canvas); padding: .5em .9em; border-bottom: 1px solid var(--border); }
.dm-post-body { display: flex; gap: .8em; padding: 1em .9em .8em; } .dm-post-body b { display: block; font-size: 1.05em; } .dm-post-body small { color: var(--text-muted); }
.dm-save { display: flex; align-items: center; justify-content: center; gap: .5em; margin: 0 .9em .9em; padding: .6em; border-radius: .7em; background: var(--surface-inverse); color: var(--text-on-inverse); font-weight: 600; font-size: .92em; transition: background .25s; }
.dm-save .logo { width: 1.3em; height: 1.3em; } .dm-save em { font-style: normal; } .dm-save.done { background: var(--success); }
.dm-chat { position: absolute; left: 17%; bottom: 5%; width: 33%; background: var(--surface); border-radius: 1em; padding: .9em; display: grid; gap: .6em; box-shadow: 0 0 0 1px rgb(0 0 0 / .05), 0 30px 60px -20px rgb(0 0 0 / .4); opacity: 0; transform: translateY(1em); transition: opacity .4s, transform .4s; }
.dm-chat.on { opacity: 1; transform: none; }
.dm-chat p { margin: 0; font-size: .9em; line-height: 1.45; } .dm-chat .q { justify-self: end; background: var(--accent); color: var(--text-on-inverse); padding: .45em .8em; border-radius: .9em .9em .2em .9em; } .dm-chat .a { color: var(--text-secondary); min-height: 2.9em; }
.dm-notif { position: absolute; right: 2.5%; top: 6.5%; display: flex; align-items: center; gap: .7em; background: rgb(255 255 255 / .96); backdrop-filter: blur(10px); border-radius: 1em; padding: .65em .9em .65em .65em; box-shadow: 0 0 0 1px rgb(0 0 0 / .05), 0 24px 50px -16px rgb(0 0 0 / .35); opacity: 0; transform: translateY(-1em); transition: opacity .4s, transform .4s; }
.dm-notif.on { opacity: 1; transform: none; }
.dm-notif b { display: block; font-size: .92em; } .dm-notif small { color: var(--text-muted); font-size: .8em; } .dm-notif em { font-style: normal; font-size: .75em; color: var(--text-faint); align-self: flex-start; margin-left: .8em; }
.dm-app { width: 2.3em; height: 2.3em; border-radius: .6em; background: var(--surface-inverse); display: grid; place-items: center; } .dm-app .logo { width: 1.7em; height: 1.7em; }
.dm-cursor { position: absolute; left: 90%; top: 90%; z-index: 9; transition: left .45s cubic-bezier(.3,.1,.2,1), top .45s cubic-bezier(.3,.1,.2,1); filter: drop-shadow(0 2px 3px rgb(0 0 0 / .25)); pointer-events: none; }
.dm-cursor.click::after { content: ""; position: absolute; left: -6px; top: -6px; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--accent); animation: ping .45s ease-out forwards; }
@keyframes ping { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.dm.static .dm-post { display: none; } .dm.static .dm-pane { transform: none; } .dm.static .dm-chips span { opacity: 1; transform: none; } .dm.static .dm-chat, .dm.static .dm-notif { opacity: 1; transform: none; } .dm.static .dm-cursor { display: none; }


/* demo v2: enrichment, people, resume, coach, tracking */
.dm-add { display: flex; align-items: center; gap: .5em; margin: 0 0 .8em; padding: .55em .7em; border-radius: .6em; background: var(--surface-inverse); color: var(--text-on-inverse); font-weight: 600; font-size: .9em; }
.dm-dot { width: .55em; height: .55em; border-radius: 50%; background: var(--accent); flex: none; } .dm-dot.g { background: var(--success); }
.dm-nav.soft { background: var(--surface); box-shadow: 0 1px 2px rgb(0 0 0 / .05); } .dm-nav small { margin-left: auto; color: var(--text-faint); font-size: .8em; }
.dm-share { margin-left: auto; color: var(--text-faint); display: inline-flex; } .dm-share svg { width: 1.1em; height: 1.1em; }
.dm-me { margin-top: auto; display: flex; align-items: center; gap: .6em; padding: .6em; border-top: 1px solid var(--border); } .dm-me b { display: block; font-size: .9em; } .dm-me small { color: var(--text-muted); font-size: .78em; }
.dm-cb { min-width: 0; flex: 1; }
.dm-meta { display: flex; align-items: center; justify-content: space-between; gap: .4em; margin-top: .45em; }
.dm-pay { font-weight: 700; font-size: .86em; color: var(--text); letter-spacing: -.01em; }
.dm-mring { --v: 50; --c: #2f55d4; width: 2.1em; height: 2.1em; border-radius: 50%; flex: none; display: grid; place-items: center; background: conic-gradient(var(--c) calc(var(--v) * 1%), #ececea 0); }
.dm-mring b { width: 1.62em; height: 1.62em; border-radius: 50%; background: var(--surface); display: grid; place-items: center; font-size: .7em; font-weight: 700; }
.dm-card .dm-fit { margin-top: .4em; }
.dm-x { width: 1.9em; height: 1.9em; border-radius: 50%; display: grid; place-items: center; background: rgb(255 255 255 / .1); color: rgb(255 255 255 / .75); margin-left: .5em; flex: none; }
.dm-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5em; }
.dm-tiles div { border: 1px solid var(--border); border-radius: .8em; padding: .6em .7em; } .dm-tiles small { display: block; color: var(--text-muted); font-size: .75em; } .dm-tiles b { display: block; font-size: .95em; letter-spacing: -.01em; margin: .1em 0; } .dm-tiles em { font-style: normal; color: var(--text-muted); font-size: .74em; }
.dm-bens { display: flex; flex-wrap: wrap; gap: .4em; } .dm-bens span { display: inline-flex; align-items: center; gap: .3em; font-size: .8em; font-weight: 600; background: var(--success-soft); color: var(--success); border-radius: 1em; padding: .25em .65em; } .dm-bens svg { width: .9em; height: .9em; }
.dm-search { display: flex; align-items: center; gap: .5em; font-size: .85em; color: var(--accent); background: var(--accent-soft); border-radius: .6em; padding: .45em .7em; } .dm-search.done { color: var(--success); background: var(--success-soft); }
.dm-person small em { font-style: normal; color: var(--text-muted); }
.dm-tag.g { color: var(--tag-violet); background: var(--tag-violet-soft); } .dm-tag.v { color: var(--warning); background: var(--warning-soft); } .dm-tag { color: var(--accent); background: var(--accent-soft); }
.dm-note { opacity: 0; transition: opacity .3s; } .dm-view.on .dm-note.on { opacity: 1; }
.dm-note-h { display: flex; align-items: center; gap: .4em; font-size: .78em; font-weight: 600; color: var(--text-muted); margin-bottom: .35em; } .dm-note-h em { font-style: normal; color: var(--accent); }
.dm-note p { margin: 0; min-height: 3em; } .dm-note p::after { content: "▍"; color: var(--accent); animation: blink 1s steps(2) infinite; }
.dm-dir { display: flex; align-items: center; gap: .4em; flex-wrap: wrap; font-size: .82em; } .dm-dir span { color: var(--text-muted); font-weight: 600; margin-right: .2em; }
.dm-dir i { font-style: normal; border: 1px solid var(--border); border-radius: 1em; padding: .2em .65em; font-weight: 600; } .dm-dir i.on { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.dm-view.on .dm-bar i { width: 0; } .dm-bar.go i { width: 100% !important; }
.dm-toast { position: absolute; left: 50%; bottom: 1.2em; transform: translate(-50%, 1em); display: flex; align-items: center; gap: .5em; background: var(--surface-inverse); color: var(--text-on-inverse); font-size: .88em; font-weight: 600; border-radius: .8em; padding: .6em .9em; opacity: 0; transition: opacity .35s, transform .35s; white-space: nowrap; } .dm-toast svg { width: 1em; height: 1em; color: var(--success); } .dm-toast.on { opacity: 1; transform: translate(-50%, 0); }
.dm-fab { position: absolute; right: 1.6%; bottom: 3%; width: 3.6em; height: 3.6em; border-radius: 50%; background: var(--accent); color: var(--text-on-inverse); display: grid; place-items: center; box-shadow: 0 8px 22px rgb(47 85 212 / .45); z-index: 6; transition: transform .2s; } .dm-fab svg { width: 1.5em; height: 1.5em; } .dm-fab.press { transform: scale(.9); }
.dm-chat { left: auto; right: 1.6%; bottom: calc(3% + 4.4em); width: 32%; z-index: 6; }
.dm-chat-h { display: flex; align-items: baseline; gap: .6em; border-bottom: 1px solid var(--border); padding-bottom: .5em; } .dm-chat-h b { font-size: .95em; } .dm-chat-h small { color: var(--accent); font-size: .75em; font-weight: 600; background: var(--accent-soft); border-radius: 1em; padding: .1em .55em; }
/* the cursor: friendly, big, with a name tag like a teammate in Figma */
.dm-cursor { width: 42px; height: 42px; z-index: 9; }
.dm-cursor svg { width: 42px; height: 42px; }
.lp-sticker svg { width: 46px; height: 46px; }
.dm-cursor svg { display: block; filter: drop-shadow(0 3px 6px rgb(47 85 212 / .35)); }
.dm-name { position: absolute; left: 34px; top: 34px; display: inline-flex; align-items: center; gap: 8px; background: var(--accent); color: var(--text-on-inverse); font: 600 var(--fs-lg)/1 Inter, sans-serif; padding: 5px 13px 5px 5px; border-radius: var(--r-pill); white-space: nowrap; box-shadow: 0 4px 12px rgb(47 85 212 / .35); }
.dm-name i { width: 26px; height: 26px; border-radius: 50%; background: var(--surface); color: var(--accent); font-style: normal; font-size: var(--fs-sm); font-weight: 800; display: grid; place-items: center; }
.dm-cursor.click::after { left: -10px; top: -10px; width: 34px; height: 34px; }
.dm.static .dm-note, .dm.static .dm-toast { opacity: 1; } .dm.static .dm-bar i { width: 100% !important; }

/* iPhone section */
.lp-iphone { max-width: 1180px; margin: clamp(72px, 12vh, 130px) auto 0; padding: 0 clamp(16px, 3vw, 40px); }
.lp-iphone-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.lp-iphone-head h2 { font-size: clamp(34px, 4.6vw, var(--fs-6xl)); letter-spacing: -.05em; line-height: 1; font-weight: 700; margin: 0 0 16px; }
.lp-iphone-head p { color: var(--text-secondary); font-size: var(--fs-xl); line-height: 1.55; margin: 0; }
.lp-phones { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.4vw, 32px); align-items: start; }
.lp-phones figure { margin: 0; display: grid; gap: 16px; } .lp-phones figure:nth-child(even) { margin-top: 44px; }
.lp-phone { border-radius: var(--r-2xl); padding: 9px; background: var(--surface-inverse); box-shadow: 0 0 0 1px var(--surface-inverse-hover), 0 30px 60px -20px rgb(0 0 0 / .35); }
.lp-phone img { display: block; width: 100%; height: auto; border-radius: var(--r-2xl); }
.lp-phones figcaption { display: grid; gap: 4px; text-align: center; } .lp-phones figcaption b { font-size: var(--fs-lg); letter-spacing: -.02em; } .lp-phones figcaption span { color: var(--text-muted); font-size: var(--fs-md); line-height: 1.45; }
@media (max-width: 900px) { .lp-phones { grid-template-columns: repeat(2, 1fr); } .lp-phones figure:nth-child(even) { margin-top: 0; } .dm-chat { width: 70%; } .dm-fab { display: none; } }

/* friendly custom icons + stickers */
.lp-ico { width: 92px; height: 92px; border-radius: var(--r-2xl); display: grid; place-items: center; margin-bottom: 10px; box-shadow: inset 0 0 0 1px rgb(0 0 0 / .04); }
.lp-values svg { color: inherit; margin: 0; width: 62px; height: 62px; }
.dm-stage { position: relative; width: min(1140px, 100%); }
.dm-stage .dm { width: 100%; }
.lp-sticker { position: absolute; z-index: 3; width: 78px; height: 78px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 0 0 3px var(--surface), 0 10px 24px -6px rgb(0 0 0 / .25); transform: rotate(var(--r)); animation: sticker 7s ease-in-out infinite; }
@keyframes sticker { 0%, 100% { transform: rotate(var(--r)) translateY(0); } 50% { transform: rotate(var(--r)) translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .lp-sticker { animation: none; } }
@media (max-width: 900px) { .lp-sticker { display: none; } }
@media (max-width: 1320px) { .lp-sticker.side { display: none; } } /* side stickers sit outside the mock; below this there is no room without covering it */
/* Notion-style column labels: tinted pills on softly tinted columns */
.dm-col h6 { align-self: flex-start; padding: .25em .7em .25em .55em; border-radius: 1em; background: rgb(0 0 0 / .05); }
.dm-col:nth-child(1) { background: var(--canvas); } .dm-col:nth-child(2) { background: var(--accent-soft); } .dm-col:nth-child(2) h6 { background: var(--accent-soft); } .dm-col:nth-child(3) { background: var(--tag-violet-soft); } .dm-col:nth-child(3) h6 { background: var(--tag-violet-soft); } .dm-col:nth-child(4) { background: var(--success-soft); } .dm-col:nth-child(4) h6 { background: var(--success-soft); }

/* value strip, closing line, footer */
.lp-values { max-width: 1140px; margin: clamp(56px, 9vh, 96px) auto 0; padding: 0 clamp(16px, 3vw, 40px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.lp-values b { font-size: var(--fs-xl) !important; }
.lp-values > div { display: grid; gap: 8px; align-content: start; }
.lp-values svg { color: var(--accent); margin-bottom: 6px; } .lp-values b { font-size: var(--fs-xl); letter-spacing: -.02em; } .lp-values span { color: var(--text-muted); font-size: var(--fs-md); line-height: 1.5; }
.lp-close { text-align: center; padding: clamp(72px, 12vh, 130px) 20px; }
.lp-close h2 { font-size: clamp(30px, 4.2vw, var(--fs-5xl)); letter-spacing: -.045em; line-height: 1.05; font-weight: 700; margin: 0 auto 28px; max-width: 16ch; }
/* the wordmark band: a giant GANCHO seated on a glowing line (light take on the Slate footer) */
.lp-word { position: relative; height: clamp(150px, 38vw, 600px); overflow: hidden; margin-top: 12px; }
.lp-word-seat { position: absolute; left: 50%; bottom: 0; width: 96vw; max-width: 1640px; transform: translate(-50%, var(--rise, 0px)); will-change: transform; }
.lp-word-txt { /* art: the footer's display wordmark */ display: block; font: 400 clamp(96px, 26vw, 420px)/1.05 var(--font-brand); letter-spacing: 0; text-align: center; color: var(--surface); -webkit-text-stroke: 3px var(--border-strong); paint-order: stroke fill; padding-bottom: .16em; user-select: none; white-space: nowrap; }
.lp-word-lit { /* art: the footer wordmark lights warm under the cursor */ position: absolute; inset: 0; color: #f3dfb8; -webkit-text-stroke: 3px #e6c98f; paint-order: stroke fill; -webkit-mask-image: radial-gradient(circle 220px at var(--mx, -999px) var(--my, -999px), #000 0, transparent 70%); mask-image: radial-gradient(circle 220px at var(--mx, -999px) var(--my, -999px), #000 0, transparent 70%); }
.lp-word-line { position: absolute; left: 3%; right: 3%; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, #d9d9d4 12%, #f3dfb8 50%, #d9d9d4 88%, transparent); }
.lp-word-glow { position: absolute; left: 50%; bottom: -50px; width: 70%; height: 100px; transform: translateX(-50%); background: radial-gradient(closest-side, rgb(243 223 184 / .12), transparent); pointer-events: none; }
.lp-foot { max-width: 1220px; margin: 0 auto; padding: 72px clamp(16px, 3vw, 40px) 40px; display: grid; grid-template-columns: 1.1fr 2.2fr; gap: 48px; }
.lp-foot-tile { display: inline-grid; place-items: center; width: 84px; height: 84px; border-radius: var(--r-2xl); background: var(--surface); box-shadow: 0 0 0 1px var(--border), 0 12px 30px -12px rgb(0 0 0 / .25); }
.lp-foot-tile img { width: 60px; height: 60px; border-radius: var(--r-xl); }
.lp-foot-tag { margin: 22px 0 22px; font-size: var(--fs-lg); font-weight: 600; letter-spacing: -.02em; }
.lp-foot-contact { margin: 0 0 22px; } .lp-foot-contact a { color: var(--text-secondary); text-decoration: none; font-size: var(--fs-lg); } .lp-foot-contact a:hover { color: var(--accent); }
.lp-status { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 14px; border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--border-strong); box-shadow: 0 1px 2px rgb(0 0 0 / .04); font-size: var(--fs-md); font-weight: 500; color: var(--text-secondary); }
.lp-status i { width: 9px; height: 9px; border-radius: 50%; background: var(--border-strong); } .lp-status.up i { background: var(--success); box-shadow: 0 0 0 4px rgb(34 197 94 / .16); } .lp-status.down i { background: var(--warning); }
.lp-foot-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.lp-foot-cols h6 { margin: 0 0 18px; font-size: var(--fs-lg); font-weight: 600; color: var(--text); } .lp-foot-cols a { display: block; color: var(--text-muted); text-decoration: none; font-size: var(--fs-lg); margin-bottom: 14px; } .lp-foot-cols a:hover { color: var(--text); }
.lp-foot-base { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 16px; color: var(--text-faint); font-size: var(--fs-md); padding-top: 28px; border-top: 1px solid var(--border); }
a.ab-top, a.auth-mobile-brand { color: inherit; text-decoration: none; }
@media (max-width: 900px) {
  .lp-links { display: none; } .lp-nav { grid-template-columns: 1fr auto; }
  .dm { aspect-ratio: auto; height: 480px; } .dm-body { grid-template-columns: 1fr; } .dm-side { display: none; } .dm-board { grid-template-columns: repeat(2, 1fr); } .dm-col:nth-child(n+3) { display: none; } .dm-pane { width: 100%; } .dm-post, .dm-chat { width: 70%; left: 6%; }
  .lp-values { grid-template-columns: repeat(2, 1fr); } .lp-foot { grid-template-columns: 1fr; } .lp-foot-cols { grid-template-columns: repeat(2, 1fr); } .lp-word-lit { display: none; }
}
@media (max-width: 520px) { .lp-cta .lp-login { display: none; } .lp-values { grid-template-columns: 1fr; } .lp-foot-base { flex-direction: column; } }

/* sharing */
.share-btn { gap: 8px; }
.av-stack { display: inline-flex; } .av-stack:empty { display: none; }
.av-stack i { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: var(--fs-2xs); font-weight: 700; color: hsl(var(--h) 40% 30%); background: hsl(var(--h) 45% 90%); border: 1.5px solid var(--surface); margin-left: -6px; } .av-stack i:first-child { margin-left: 0; }
#share-dialog { width: min(520px, calc(100vw - 32px)); }
.share-invite { display: flex; gap: 8px; margin: 14px 0 4px; } .share-invite input { flex: 1; }
.share-list { list-style: none; margin: 8px 0 16px; padding: 0; display: grid; gap: 2px; max-height: 320px; overflow: auto; }
.share-list li { display: flex; align-items: center; gap: 10px; padding: 8px 4px; border-bottom: 1px solid var(--border); }
.share-list .av { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: var(--fs-xs); font-weight: 700; color: hsl(var(--h) 40% 30%); background: hsl(var(--h) 45% 90%); flex: none; }
.share-list .who { flex: 1; min-width: 0; display: grid; } .share-list .who b { font-weight: 600; font-size: var(--fs-md); } .share-list .who span { color: var(--text-muted); font-size: var(--fs-sm); overflow: hidden; text-overflow: ellipsis; }
.share-list .role { color: var(--text-muted); font-size: var(--fs-sm); } .share-list .pending .av { background: var(--canvas); color: var(--text-faint); }
.pipe-shared { color: var(--text-faint); display: inline-flex; margin-left: 4px; }
.auth-invite { background: var(--accent-soft); color: var(--text); border: 1px solid var(--accent-line); border-radius: var(--r-lg); padding: 10px 12px; font-size: var(--fs-md); margin: 0 0 16px; }

/* tasks */
.task-add { display: flex; gap: 8px; padding: 0 28px 20px; max-width: 980px; }
.task-add input[name=title] { flex: 1; min-width: 0; }
.task-add input[type=date] { width: 150px; } .task-add select { width: 200px; }
.task-row { display: flex; align-items: center; gap: 10px; padding: 8px 12px 8px 8px; border: 1px solid var(--border); border-radius: var(--r-lg); margin-bottom: 6px; background: var(--surface); box-shadow: var(--shadow-sm); }
.task-row .check { width: 36px; height: 36px; padding: 0; border-radius: 50%; background: none; border: 0; color: var(--text-faint); flex: none; }
.task-row .check svg { width: 22px; height: 22px; } .task-row .check:hover { color: var(--success); }
.task-row.done .check { color: var(--success); } .task-row.done strong { text-decoration: line-through; color: var(--text-faint); }
.task-row .fu-main strong { font-weight: 500; }
.task-row input[type=date], .fu-row input[type=date] { width: 140px; height: 30px; font-size: var(--fs-sm); }
.task-row .del { width: 32px; height: 32px; padding: 0; background: none; border: 0; color: var(--text-faint); }
.task-row .del:hover { color: var(--danger); }
.fu-due-in { display: flex; align-items: center; gap: 6px; }
@media (max-width: 760px) { .task-add { flex-wrap: wrap; padding: 0 16px 16px; } .task-add input[type=date], .task-add select { flex: 1; width: auto; } }

/* phones: comfortable taps, a denser demo, compact feature rows */
@media (max-width: 640px) {
  .lp-nav { padding: 10px 16px; } .lp-nav .primary { min-height: 44px; display: inline-flex; align-items: center; }
  .lp .brand { min-height: 44px; display: inline-flex; align-items: center; }
  .dm { height: 440px; font-size: var(--fs-2xs); } .dm-col { align-self: start; }
  .lp-values { gap: 22px; } .lp-values > div { grid-template-columns: 64px 1fr; column-gap: 16px; row-gap: 4px; align-items: start; }
  .lp-ico { width: 64px; height: 64px; border-radius: var(--r-2xl); margin: 0; grid-row: span 2; } .lp-values svg { width: 42px; height: 42px; }
  .lp-values b { align-self: end; }
  .lp-foot { padding-top: 48px; gap: 32px; } .lp-foot-cols { row-gap: 28px; } .lp-foot-cols h6 { margin-bottom: 4px; }
  .lp-foot-cols a { margin: 0; padding: 11px 0; }
  .lp-foot-base { font-size: var(--fs-sm); }
}
@media (min-width: 360px) and (max-width: 520px) { .lp-cta .lp-login { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; } }

/* app on phones: 44pt taps, a closed menu that's really gone, nothing wider than the screen */
@media (max-width: 900px) {
  .side { visibility: hidden; transition: transform .2s ease-out, visibility 0s .2s; }
  .side.open { visibility: visible; transition: transform .2s ease-out; }
}
@media (pointer: coarse) {
  .icon { width: 44px; height: 44px; }
  .icon.tiny.col-add, .icon#new-pipe { width: 40px; height: 40px; }
  button.primary, button.ghost, .small-select, .stage-select, #d-open { min-height: 44px; } #d-open { display: inline-flex; align-items: center; }
  #d-close { flex: none; } .d-bar { gap: 8px; } .d-bar select { min-width: 0; flex: 0 1 auto; }
  #d-title, #d-company { min-height: 40px; }
  .side button, .side .pipe-item, #add-job { min-height: 44px; }
  .page-head button, .page-head .primary, .page-head .ghost, .search input, .drawer button, .task-add button, .task-add input, .task-add select, dialog button { min-height: 44px; }
  .move { height: 44px; }
}
@media (max-width: 760px) { .task-add > * { min-width: 0; max-width: 100%; } .task-add select { flex: 1 1 100%; width: 100%; } }
@media (max-width: 360px) { #d-open { font-size: 0; width: 44px; min-width: 44px; flex: none; justify-content: center; padding: 0; } #d-open svg { width: 16px; height: 16px; margin: 0; } }
.menu-danger { color: var(--danger) !important; }
.danger-solid { font: inherit; font-size: var(--fs-md); font-weight: 600; cursor: pointer; border-radius: var(--r-md, var(--r-md)); padding: 0 14px; height: 36px; background: var(--danger); color: var(--text-on-inverse); border: 1px solid var(--danger); }
.danger-solid:disabled { opacity: .6; }
@media (pointer: coarse) { .danger-solid { min-height: 44px; } }
/* closing band: a real conversation, not a slogan on white */
.lp-close { text-align: left; max-width: 1140px; margin: clamp(56px, 10vh, 110px) auto; padding: 20px; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; background: var(--canvas); border-radius: var(--r-2xl); }
.lp-close-img { width: 100%; height: 100%; min-height: 320px; max-height: 440px; object-fit: cover; object-position: 50% 35%; border-radius: var(--r-2xl); box-shadow: 0 18px 40px -20px rgb(0 0 0 / .4); }
.lp-close h2 { margin: 0 0 14px; max-width: 14ch; font-size: clamp(28px, 3.4vw, var(--fs-5xl)); }
.lp-close p { margin: 0 0 26px; color: var(--text-muted); font-size: var(--fs-xl); line-height: 1.55; max-width: 36ch; }
@media (max-width: 1180px) { .lp-close { margin-left: 16px; margin-right: 16px; } }
@media (max-width: 760px) { .lp-close { grid-template-columns: 1fr; padding: 14px 14px 28px; border-radius: var(--r-2xl); } .lp-close-img { min-height: 0; height: 230px; } .lp-close > div { padding: 0 8px; } }

/* first-run intro + spotlight tour */
dialog.intro { width: min(440px, calc(100vw - 32px)); padding: 28px 28px 22px; text-align: center; border-radius: var(--r-2xl); }
.intro-art { display: grid; place-items: center; margin: 4px auto 18px; } .intro-art .lp-ico { margin: 0; }
.intro-step { margin: 0 0 6px; font-size: var(--fs-sm); color: var(--text-muted); font-weight: 500; }
dialog.intro h2 { font-size: var(--fs-2xl); letter-spacing: -.035em; margin: 0 0 10px; }
.intro-text { margin: 0 auto 20px; color: var(--text-secondary); font-size: var(--fs-lg); line-height: 1.55; max-width: 34ch; min-height: 4.65em; }
.intro-dots { display: flex; gap: 6px; justify-content: center; margin-bottom: 22px; } .intro-dots i { width: 7px; height: 7px; border-radius: var(--r-md); background: var(--border-strong); transition: width .2s, background .2s; } .intro-dots i.on { width: 22px; background: var(--accent); }
.intro-actions { justify-content: space-between; } .intro-actions button { min-height: 44px; padding: 0 18px; }
.tour { position: fixed; inset: 0; z-index: 60; }
.tour-spot { position: fixed; border-radius: var(--r-xl); box-shadow: 0 0 0 3px var(--accent), 0 0 0 9999px rgb(12 12 14 / .55); transition: left .25s ease, top .25s ease, width .25s ease, height .25s ease; pointer-events: none; }
.tour-pop { position: fixed; width: min(340px, calc(100vw - 24px)); background: var(--surface); border-radius: var(--r-xl); padding: 18px 18px 14px; box-shadow: 0 24px 60px -20px rgb(0 0 0 / .5); transition: left .25s ease, top .25s ease; }
.tour-pop h3 { margin: 0 0 6px; font-size: var(--fs-xl); letter-spacing: -.02em; } .tour-pop p { margin: 0 0 14px; color: var(--text-secondary); font-size: var(--fs-md); line-height: 1.5; }
.tour-pop .tour-n { margin: 0 0 4px; font-size: var(--fs-sm); color: var(--accent); font-weight: 600; }
.tour-pop .row { gap: 6px; } .tour-pop button { min-height: 40px; } .tour-pop [data-t=end] { margin-right: auto; }
@media (pointer: coarse) { .tour-pop button { min-height: 44px; } }
@media (prefers-reduced-motion: reduce) { .tour-spot, .tour-pop { transition: none; } }

/* sidebar: roomier, bigger type and icons; the extension callout gets real colour */
html, body { overscroll-behavior: none; } /* no rubber-band bounce */
@media (min-width: 901px) { .shell { grid-template-columns: 272px minmax(0, 1fr); } } /* phones keep the one-column shell */
.side { padding: 18px 14px 14px; gap: 18px; }
.side .brand .logo { width: 30px; height: 30px; border-radius: var(--r-md); } .side .wordmark { font-size: var(--fs-3xl); }
.side-add { height: 42px; font-size: var(--fs-lg); font-weight: 600; border-radius: var(--r-lg); padding: 0 12px; gap: 10px; }
.nav { gap: 3px; }
.nav button, .pipe-item { height: 40px; font-size: var(--fs-lg); gap: 12px; padding: 0 11px; border-radius: var(--r-lg); }
.nav button svg { width: 19px; height: 19px; }
.side-label { font-size: var(--fs-sm); padding: 0 4px 6px 11px; }
.pipe-dot { width: 10px; height: 10px; border-radius: var(--r-xs); }
.nav-count { font-size: var(--fs-sm); }
.ext-card { position: relative; overflow: hidden; border: 0; border-radius: var(--r-xl); padding: 16px; color: var(--text-on-inverse); background: radial-gradient(120% 90% at 100% 0%, #5b7cfa 0%, transparent 60%), linear-gradient(160deg, #2f55d4 0%, #1e3a9e 100%); box-shadow: 0 14px 30px -14px rgb(47 85 212 / .7); }
.ext-art { position: absolute; right: 10px; top: 10px; width: 54px; height: 54px; border-radius: var(--r-xl); display: grid; place-items: center; background: var(--accent-soft); transform: rotate(8deg); box-shadow: 0 6px 16px -6px rgb(0 0 0 / .35); }
.ext-card strong { display: block; font-size: var(--fs-lg); font-weight: 700; letter-spacing: -.02em; margin-top: 44px; }
.ext-card p { color: rgb(255 255 255 / .82); font-size: var(--fs-md); margin: 4px 0 12px; }
.ext-card .btns { display: flex; align-items: center; gap: 8px; }
.ext-card .ghost { background: var(--surface); color: var(--accent-strong); border-color: var(--surface); font-weight: 600; }
.ext-card .ghost:hover { background: var(--accent-soft); }
.ext-card .link { color: var(--text-on-inverse); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) { .side { width: 288px; } }

/* compare, transposed: one column per business, facts down the side */
.cmp-wrap { overflow: auto; max-height: calc(100vh - 170px); }
.cmp { width: auto; min-width: 100%; table-layout: fixed; }
.cmp th, .cmp td { white-space: normal; vertical-align: top; width: 230px; min-width: 230px; }
.cmp thead td { position: sticky; left: 0; top: 0; z-index: 4; background: var(--canvas); width: 150px; min-width: 150px; border-bottom: 1px solid var(--border); border-right: 1px solid var(--border); }
.cmp thead th { position: sticky; top: 0; z-index: 2; background: var(--canvas); padding: 0; }
.cmp-head { all: unset; box-sizing: border-box; display: flex; align-items: center; gap: 10px; width: 100%; padding: 12px 14px; cursor: pointer; }
.cmp-head:hover b { color: var(--accent); } .cmp-head:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.cmp-head .av { width: 32px; height: 32px; border-radius: var(--r-md); flex: none; display: grid; place-items: center; font-weight: 600; font-size: var(--fs-sm); color: hsl(var(--h) 35% 30%); background: hsl(var(--h) 30% 94%); }
.cmp-head b { display: block; font-size: var(--fs-md); font-weight: 600; color: var(--text); } .cmp-head small { display: block; color: var(--text-muted); font-size: var(--fs-xs); line-height: 1.35; }
.cmp tbody th { position: sticky; left: 0; z-index: 1; display: table-cell; width: 150px; min-width: 150px; background: var(--canvas); color: var(--text-muted); font-size: var(--fs-sm); font-weight: 500; border-right: 1px solid var(--border); }
.cmp tbody tr { cursor: default; } .cmp tbody tr:hover td { background: var(--canvas); } .cmp tbody tr:hover th { background: var(--canvas); }
.cmp .bcell { color: var(--text-secondary); font-size: var(--fs-sm); line-height: 1.45; width: 230px; }
.cmp .bcell .yes { margin-right: 5px; }
@media (max-width: 760px) {
  .cmp-wrap { border: 1px solid var(--border); box-shadow: var(--shadow-sm); overflow: auto; max-height: none; scroll-snap-type: x mandatory; scroll-padding-left: 110px; }
  .cmp thead td, .cmp tbody th { width: 104px; min-width: 104px; padding: 10px; }
  .cmp th, .cmp td { width: 200px; min-width: 200px; scroll-snap-align: start; }
}
@media (max-width: 760px) { .cmp-wrap { width: calc(100vw - 32px); box-sizing: border-box; } }

/* benefit icons: a small friendly tile per benefit (job panel + compare) */
.bn-k { display: inline-flex; align-items: center; gap: 9px; }
.bn-i { width: 30px; height: 30px; border-radius: var(--r-md); display: grid; place-items: center; flex: none; background: var(--surface); color: var(--fg); }
.bn-i svg { width: 17px; height: 17px; }
.bn.none .bn-i { filter: grayscale(1); opacity: .55; }
.bn .bn-v { margin-top: 4px; }
.cmp tbody th .bn-k { gap: 8px; } .cmp tbody th .bn-i { width: 26px; height: 26px; border-radius: var(--r-md); } .cmp tbody th .bn-i svg { width: 15px; height: 15px; }

/* illustrations: hand-drawn characters in the empty and first-run moments */
.auth-ill { display: none; margin: 0 auto 8px; width: 190px; height: 190px; border-radius: 50%; background: radial-gradient(circle at 50% 55%, #fef3c7 0 62%, transparent 63%); place-items: center; }
.auth-ill img { width: 170px; height: auto; }
@media (max-width: 900px) { .auth-ill { display: grid; } .auth-card h2, .auth-card .lede { text-align: center; } }
.auth-card .fi input { padding-left: 40px; }
.intro-art img { width: 200px; height: 200px; object-fit: contain; }
.empty .empty-ill { display: block; width: 120px; height: auto; margin: 6px auto 8px; }
.fu-clear { display: flex; align-items: center; gap: 16px; margin: 4px 0 8px; padding: 14px 18px; border-radius: var(--r-xl); background: var(--success-soft); }
.fu-clear img { width: 84px; height: auto; flex: none; } .fu-clear strong { display: block; font-size: var(--fs-lg); } .fu-clear span { color: var(--text-muted); font-size: var(--fs-md); }
.ill-empty { display: grid; justify-items: center; text-align: center; gap: 4px; padding: 28px 16px 40px; }
.ill-empty img { width: 170px; height: auto; margin-bottom: 8px; } .ill-empty strong { font-size: var(--fs-lg); } .ill-empty span { color: var(--text-muted); font-size: var(--fs-md); }
.coach-ill { display: block; width: 110px; height: auto; margin: 0 auto 10px; }

/* getting started: brand-tinted, not grey; a real check */
.welcome { background: radial-gradient(120% 140% at 100% 0%, #e3eaff 0%, transparent 55%), linear-gradient(180deg, #f5f7ff, #fff); border-color: var(--accent-line); }
.step { border-color: var(--accent-line); }
.step b { background: var(--accent-soft); color: var(--accent); width: 28px; height: 28px; border-radius: 50%; font-size: var(--fs-sm); }
.step.done { background: rgb(255 255 255 / .6); }
.step.done b { background: var(--success); font-size: 0; box-shadow: 0 0 0 4px var(--success-soft); }
.step.done b::after { width: 10px; height: 5px; border-width: 0 0 2.2px 2.2px; transform: translate(0, -1.5px) rotate(-45deg); }
.step.done > div::after { color: var(--success); font-weight: 600; }
.intro-drop { margin: -6px 0 18px; }
.intro-drop .drop { display: grid; justify-items: center; gap: 4px; padding: 20px 16px; border: 2px dashed var(--accent-line); border-radius: var(--r-xl); background: var(--accent-soft); color: var(--accent); cursor: pointer; transition: background .15s, border-color .15s; }
.intro-drop .drop:hover, .intro-drop .drop.over { background: var(--accent-soft); border-color: var(--accent); }
.intro-drop .drop:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.intro-drop .drop b { color: var(--text); font-size: var(--fs-lg); } .intro-drop .drop span { color: var(--text-muted); font-size: var(--fs-md); } .intro-drop .drop u { color: var(--accent); }
.intro-drop-msg { margin: 10px 0 0; font-size: var(--fs-md); color: var(--text-muted); min-height: 1.4em; }
.intro-drop.ok .drop { border-style: solid; border-color: var(--success); background: var(--success-soft); color: var(--success); } .intro-drop.ok .intro-drop-msg { color: var(--success); font-weight: 500; }

/* compare picker + narrower label column */
.cmp-pick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 28px 14px; }
.cmp-pick-l { color: var(--text-muted); font-size: var(--fs-sm); font-weight: 500; margin-right: 2px; }
.cmp-chip { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 4px 0 6px; border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); font-size: var(--fs-md); font-weight: 600; }
.cmp-chip .av { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: var(--fs-2xs); color: hsl(var(--h) 35% 30%); background: hsl(var(--h) 30% 92%); }
.cmp-chip button { width: 28px; height: 28px; border-radius: 50%; border: 0; background: none; color: var(--text-muted); font-size: var(--fs-xl); line-height: 1; cursor: pointer; }
.cmp-chip button:hover { background: var(--surface-hover); color: var(--text); }
.cmp-add { width: auto; border-style: dashed; color: var(--accent); font-weight: 600; }
.cmp-add:disabled { color: var(--text-muted); border-style: solid; }
.cmp thead td, .cmp tbody th { width: 118px; min-width: 118px; }
@media (pointer: coarse) { .cmp-chip { height: 44px; } .cmp-chip button { width: 40px; height: 40px; } }
@media (max-width: 760px) { .cmp-pick { margin: 0 16px 12px; } .cmp thead td, .cmp tbody th { width: 96px; min-width: 96px; } }
@media (min-width: 761px) { .cmp { width: 100%; } .cmp th, .cmp td, .cmp .bcell { width: auto; min-width: 150px; } .cmp thead td, .cmp tbody th { width: 118px; min-width: 118px; } }
.step.done b { background: #16a34a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 16px 16px no-repeat; }
.step.done b::after { content: none; }
#d-chips .chip { white-space: normal; max-width: 100%; overflow-wrap: anywhere; line-height: 1.5; } /* long multi-city locations wrap inside the panel */
.cmp td { overflow-wrap: anywhere; }

/* ⓘ on every page: a native popover that explains the page and links the guides */
.title-row { display: flex; align-items: center; gap: 6px; }
.info-btn { display: inline-grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--text-muted); cursor: pointer; flex: none; }
.info-btn:hover, .info-btn:focus-visible { background: var(--accent-soft); color: var(--accent); }
@media (pointer: coarse) { .info-btn { width: 44px; height: 44px; } }
.info-pop { width: min(380px, calc(100vw - 32px)); margin: 0; border: 1px solid var(--border); border-radius: var(--r-xl); padding: 18px 20px 14px; background: var(--surface); color: var(--text); box-shadow: 0 24px 60px -18px rgb(0 0 0 / .35); inset: 84px 0 auto 0; margin-inline: auto; }
.info-pop::backdrop { background: rgb(12 12 14 / .08); }
@supports (position-area: bottom) { .info-pop { inset: auto; margin: 8px 0 0; position-area: bottom span-right; position-try-fallbacks: flip-inline, flip-block; } }
.info-pop h3 { margin: 0 0 10px; font-size: var(--fs-lg); letter-spacing: -.02em; }
.info-pop ul { margin: 0 0 12px; padding-left: 18px; display: grid; gap: 7px; color: var(--text-secondary); font-size: var(--fs-md); line-height: 1.5; }
.info-pop kbd { font-size: var(--fs-2xs); }
.info-links { margin: 0; padding-top: 10px; border-top: 1px solid var(--border); font-size: var(--fs-sm); color: var(--text-muted); }
.info-links a { color: var(--accent); font-weight: 500; }

/* full-page document editor */
#doc { position: fixed; inset: 0; z-index: 70; display: grid; grid-template-rows: auto 1fr; background: var(--surface-sunken); } #doc[hidden] { display: none; }
body.doc-open { overflow: hidden; }
.doc-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 18px; background: rgb(255 255 255 / .92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.doc-back { display: inline-flex; align-items: center; gap: 4px; min-height: 40px; }
.doc-name { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1 1 220px; }
.doc-name input { font: 600 var(--fs-lg)/1.2 inherit; letter-spacing: -.02em; border: 1px solid transparent; border-radius: var(--r-md); padding: 6px 8px; background: none; min-width: 0; flex: 1; max-width: 420px; color: var(--text); }
.doc-name input:not([readonly]):hover, .doc-name input:focus { border-color: var(--border-strong); background: var(--surface); }
.doc-status { font-size: var(--fs-sm); color: var(--text-muted); white-space: nowrap; } .doc-status.ok::before { content: "✓ "; color: var(--success); } .doc-status.bad { color: var(--danger); }
.doc-tools { display: flex; align-items: center; gap: 2px; padding: 3px; border-radius: var(--r-lg); background: var(--canvas); border: 1px solid var(--border); }
.doc-tools button { min-width: 36px; height: 34px; padding: 0 9px; border: 0; border-radius: var(--r-md); background: none; color: var(--text-secondary); font: 500 var(--fs-sm)/1 inherit; cursor: pointer; display: inline-grid; place-items: center; }
.doc-tools button:hover { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }
.doc-tools button:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.doc-sep { width: 1px; height: 20px; background: var(--border-strong); margin: 0 4px; }
.doc-dl { display: flex; gap: 6px; }
.doc-canvas { overflow: auto; padding: 36px 16px 80px; }
.doc-sheet { box-sizing: border-box; width: min(8.5in, 100%); min-height: 11in; margin: 0 auto; padding: .6in .7in; background: var(--surface); border-radius: var(--r-xs); box-shadow: 0 1px 2px rgb(0 0 0 / .06), 0 18px 50px -22px rgb(0 0 0 / .35);
  font: 10.5pt/1.38 "Helvetica Neue", Helvetica, Arial, sans-serif; color: var(--text); outline: none; caret-color: var(--accent); }
.doc-sheet h1 { font-size: 20pt; margin: 0; text-align: center; letter-spacing: .02em; }
.doc-sheet h1 + p { text-align: center; color: var(--text-secondary); margin: 2pt 0 8pt; font-size: 9.5pt; }
.doc-sheet h2 { font-size: 10.5pt; text-transform: uppercase; letter-spacing: .08em; border-bottom: 1px solid var(--border-strong); padding-bottom: 2pt; margin: 11pt 0 5pt; }
.doc-sheet h3 { font-size: 10.5pt; margin: 7pt 0 0; } .doc-sheet h3 + p { /* art: matches the printed resume */ margin: 0 0 2pt; color: #555; font-size: 9.5pt; }
.doc-sheet p { margin: 2pt 0; } .doc-sheet ul { margin: 2pt 0 4pt; padding-left: 14pt; } .doc-sheet li { margin: 1pt 0; } .doc-sheet a { color: inherit; }
@media (max-width: 760px) { .doc-bar { padding: 8px 12px; gap: 8px; } .doc-tools { order: 5; width: 100%; overflow-x: auto; } .doc-canvas { padding: 14px 8px 60px; } .doc-sheet { padding: 28px 22px; min-height: 0; font-size: 10pt; } }
@media (pointer: coarse) { .doc-tools button { min-width: 44px; height: 44px; } .doc-back { min-height: 44px; } }

/* editor v2: page + design panel + AI rewrite */
.doc-body { display: grid; grid-template-columns: minmax(0, 1fr) 280px; min-height: 0; }
.doc-canvas { min-height: 0; }
.doc-sheet[data-size="s"] { zoom: .92; } .doc-sheet[data-size="l"] { zoom: 1.08; }
.doc-sheet ul { padding-left: 16pt; } .doc-sheet li { padding-left: 2pt; }
.doc-design { overflow: auto; padding: 18px 18px 40px; background: var(--surface); border-left: 1px solid var(--border); }
.doc-design h3 { margin: 18px 0 10px; font-size: var(--fs-sm); font-weight: 600; color: var(--text-muted); letter-spacing: .01em; }
.doc-design h3:first-child { margin-top: 2px; }
.tpl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tpl { display: grid; gap: 6px; padding: 6px 6px 8px; border: 1.5px solid var(--border); border-radius: var(--r-lg); background: var(--surface); cursor: pointer; font: 600 var(--fs-sm)/1 inherit; color: var(--text-secondary); text-align: center; }
.tpl:hover { border-color: var(--border-strong); } .tpl[aria-checked="true"] { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); color: var(--accent); }
.tpl:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.tpl-mini { display: block; height: 128px; overflow: hidden; border-radius: var(--r-md); background: var(--surface); box-shadow: inset 0 0 0 1px var(--border); position: relative; pointer-events: none; }
.tpl-mini .doc-sheet { position: absolute; left: 0; top: 0; width: 8.5in; padding: .4in .5in; box-shadow: none; transform: scale(.14); transform-origin: 0 0; background: var(--surface); }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatches button { width: 30px; height: 30px; border-radius: 50%; border: 0; background: var(--c); cursor: pointer; box-shadow: 0 0 0 2px var(--surface), 0 0 0 3px transparent; }
.swatches button[aria-checked="true"] { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--c); }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; padding: 3px; border-radius: var(--r-lg); background: var(--canvas); border: 1px solid var(--border); }
.seg button { height: 32px; border: 0; border-radius: var(--r-md); background: none; font: 500 var(--fs-sm) inherit; color: var(--text-secondary); cursor: pointer; }
.seg button[aria-checked="true"] { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }
.doc-hint { color: var(--text-muted); font-size: var(--fs-sm); line-height: 1.5; margin: 8px 0 0; }
.doc-design-toggle { display: none; }
.ai-pop { position: fixed; z-index: 80; }
.ai-go { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border: 0; border-radius: var(--r-pill); background: var(--accent); color: var(--text-on-inverse); font: 600 var(--fs-sm) inherit; cursor: pointer; box-shadow: 0 1px 2px rgb(0 0 0 / .12); }
.ai-go:hover { background: var(--accent); }
.ai-menu, .ai-result { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 12px; box-shadow: 0 24px 60px -18px rgb(0 0 0 / .35); }
.ai-presets { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.ai-presets button { height: 32px; padding: 0 11px; border: 1px solid var(--border-strong); border-radius: var(--r-pill); background: var(--surface); font: 500 var(--fs-sm) inherit; color: var(--text-secondary); cursor: pointer; }
.ai-presets button:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.ai-custom { display: flex; gap: 6px; } .ai-custom input { flex: 1; min-width: 0; height: 34px; }
.ai-label { margin: 0 0 6px; font-size: var(--fs-xs); font-weight: 600; color: var(--accent); }
.ai-text { max-height: 220px; overflow: auto; font-size: var(--fs-md); line-height: 1.5; color: var(--text); margin-bottom: 10px; }
.ai-text ul { padding-left: 16px; margin: 0; } .ai-text p { margin: 0 0 4px; }
@media (max-width: 1000px) {
  .doc-body { grid-template-columns: 1fr; }
  .doc-design { display: none; position: fixed; right: 0; top: 0; bottom: 0; width: min(320px, 90vw); z-index: 75; box-shadow: var(--shadow-lg); }
  #doc.design-open .doc-design { display: block; }
  .doc-design-toggle { display: inline-flex; }
}
@media (pointer: coarse) { .seg button, .ai-presets button, .ai-go { min-height: 44px; } .swatches button { width: 44px; height: 44px; } }
.doc-design .tpl { height: auto; min-height: 0; line-height: 1.2; padding: 6px 6px 9px; }
.doc-design .swatches button { padding: 0; min-height: 0; }
.doc-design .seg button { padding: 0; }
.tpl-mini { height: 150px; }
.tpl-mini .doc-sheet { width: 816px !important; max-width: none; min-height: 1056px; padding: 56px 64px !important; transform: scale(.145); border-radius: 0; font-size: 10.5pt; }
/* real pages: 8.5×11 with the export's margins; gaps drawn where the PDF breaks */
#doc .doc-sheet { width: 8.5in; max-width: none; padding: .5in .6in !important; min-height: 11in; box-sizing: border-box; border-radius: var(--r-xs); position: relative;
  background: var(--surface); }
#doc .doc-canvas { overflow: auto; }
.doc-sheet .pg-start { margin-top: var(--pg-push) !important; position: relative; }
.doc-sheet .pg-start::before { content: "Page " attr(data-pg); position: absolute; left: -.6in; right: -.6in; top: calc(-.5in - 28px); height: 28px; background: var(--surface-sunken);
  box-shadow: inset 0 8px 10px -8px rgb(0 0 0 / .18), inset 0 -8px 10px -8px rgb(0 0 0 / .18); display: flex; align-items: center; justify-content: flex-end; padding-right: 10px;
  font: 600 var(--fs-2xs)/1 Inter, sans-serif; color: var(--text-faint); letter-spacing: .06em; text-transform: uppercase; pointer-events: none; }
.ai-ctx-l { display: block; font-size: var(--fs-xs); font-weight: 600; color: var(--text-secondary); margin: 0 0 4px; } .ai-ctx-l span { color: var(--text-muted); font-weight: 400; }
#ai-ctx { width: 100%; box-sizing: border-box; min-height: 64px; font: var(--fs-sm)/1.45 inherit; margin-bottom: 10px; resize: vertical; }
.ai-before { color: var(--text-muted); text-decoration: line-through; text-decoration-color: rgb(0 0 0 / .25); background: var(--canvas); border-radius: var(--r-md); padding: 8px 10px; max-height: 120px; }
.ai-after { background: var(--success-soft); border-radius: var(--r-md); padding: 8px 10px; }
@media (max-width: 900px) { #doc .doc-sheet { width: 100%; padding: 22px 18px !important; min-height: 0; } .doc-sheet .pg-start { margin-top: 0 !important; } .doc-sheet .pg-start::before { display: none; } }
.doc-design .tpl { display: flex; flex-direction: column; align-items: stretch; }
.doc-design .tpl-mini { width: 100%; }
.doc-sheet li.pg-start::before { left: calc(-.6in - 18pt); }
#doc .tpl-mini .doc-sheet { position: absolute; left: 0; top: 0; width: 816px; min-height: 1056px; padding: 56px 64px !important; transform: scale(.145); transform-origin: 0 0; box-shadow: none; border-radius: 0; }
#doc .tpl-mini { height: 150px; }
#doc .tpl-mini { height: auto; aspect-ratio: 8.5 / 11; }
.hex-row { display: flex; align-items: center; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.hex-row input[type=color] { width: 38px; height: 34px; padding: 2px; border: 1px solid var(--border-strong); border-radius: var(--r-md); background: var(--surface); cursor: pointer; }
.hex-row #doc-hex { width: 100px; height: 34px; font: 500 var(--fs-sm) ui-monospace, Menlo, monospace; text-transform: lowercase; }
.hex-msg { width: 100%; font-size: var(--fs-xs); color: var(--danger); }
@media (pointer: coarse) { .hex-row input[type=color], .hex-row #doc-hex { height: 44px; } }
.sel-bar { display: inline-flex; align-items: center; gap: 2px; padding: 4px; border-radius: var(--r-lg); background: var(--surface-inverse); box-shadow: 0 14px 34px -12px rgb(0 0 0 / .55); }
.sel-bar button:not(.ai-go) { min-width: 32px; height: 32px; padding: 0 8px; border: 0; border-radius: var(--r-md); background: none; color: var(--text-on-inverse); font: 600 var(--fs-sm) inherit; cursor: pointer; }
.sel-bar button:not(.ai-go):hover { background: rgb(255 255 255 / .12); }
.sel-bar select { height: 32px; border: 0; border-radius: var(--r-md); background: rgb(255 255 255 / .08); color: var(--text-on-inverse); font: 500 var(--fs-sm) inherit; padding: 0 8px; }
.sel-bar select option { color: var(--text); }
.sel-sep { width: 1px; height: 20px; background: rgb(255 255 255 / .18); margin: 0 4px; }
.sel-bar .ai-go { height: 32px; box-shadow: none; }
@media (pointer: coarse) { .sel-bar button:not(.ai-go), .sel-bar select, .sel-bar .ai-go { min-height: 44px; } }
.sel-bar select#sel-size { width: 64px; }
.sel-link-row #sel-link-row:not([hidden]) { display: flex; gap: 6px; margin-top: 6px; padding: 6px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: 0 14px 34px -12px rgb(0 0 0 / .35); }
#sel-link { flex: 1; min-width: 0; height: 34px; }
.slash { position: fixed; z-index: 85; width: 230px; padding: 6px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); box-shadow: 0 24px 60px -18px rgb(0 0 0 / .35); display: grid; gap: 2px; }
.slash button { display: flex; justify-content: space-between; align-items: center; height: 36px; padding: 0 10px; border: 0; border-radius: var(--r-md); background: none; font: 500 var(--fs-md) inherit; color: var(--text); cursor: pointer; text-align: left; }
.slash button[aria-selected="true"], .slash button:hover { background: var(--accent-soft); color: var(--accent); }
.slash kbd { font-size: var(--fs-2xs); color: var(--text-muted); }
.doc-hint kbd { font-size: var(--fs-2xs); padding: 1px 5px; }
/* TipTap inside the sheet */
#doc-page .ProseMirror { outline: none; min-height: 9in; caret-color: var(--accent); }
#doc-page .ProseMirror li > p { margin: 0; }
#doc-page .ProseMirror hr.ProseMirror-selectednode { outline: 2px solid var(--accent); }
#doc-page .ProseMirror > *::before, #doc-page .ProseMirror > ul > li::before, #doc-page .ProseMirror > ol > li::before { position: absolute; left: -.6in; right: -.6in; top: calc(-.5in - 28px); height: 28px; background: var(--surface-sunken);
  box-shadow: inset 0 8px 10px -8px rgb(0 0 0 / .18), inset 0 -8px 10px -8px rgb(0 0 0 / .18); display: flex; align-items: center; justify-content: flex-end; padding-right: 10px;
  font: 600 var(--fs-2xs)/1 Inter, sans-serif; color: var(--text-faint); letter-spacing: .06em; text-transform: uppercase; pointer-events: none; }
#doc-page .ProseMirror > ul > li::before, #doc-page .ProseMirror > ol > li::before { left: calc(-.6in - 18pt); }
/* AI popup: never off screen; the suggestion scrolls, the buttons stay put */
.ai-pop { overflow: auto; overscroll-behavior: contain; }
.ai-result { display: flex; flex-direction: column; max-height: inherit; }
.ai-result .ai-before { max-height: 22vh; overflow: auto; }
.ai-result .ai-after { max-height: 34vh; overflow: auto; }
.ai-result .row { position: sticky; bottom: 0; background: var(--surface); padding-top: 8px; margin-top: auto; }
/* Open in ▾ */
.open-in { position: relative; display: inline-block; }
#doc-openin { display: inline-flex; align-items: center; gap: 4px; }
.open-in-menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 90; width: 280px; padding: 6px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); box-shadow: 0 24px 60px -18px rgb(0 0 0 / .35); display: grid; gap: 2px; }
.open-in-menu a, .open-in-menu button { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 0; border-radius: var(--r-lg); background: none; text-align: left; font: inherit; color: var(--text); cursor: pointer; text-decoration: none; min-height: 44px; }
.open-in-menu a:hover, .open-in-menu button:hover, .open-in-menu :focus-visible { background: var(--canvas); }
.open-in-menu b { display: block; font-size: var(--fs-md); } .open-in-menu small { display: block; color: var(--text-muted); font-size: var(--fs-xs); }
.oi-ico { width: 28px; height: 28px; border-radius: var(--r-md); display: grid; place-items: center; flex: none; font: 800 var(--fs-sm)/1 Inter, sans-serif; color: var(--text-on-inverse); }
.oi-word { background: #2b579a; /* art: Word's own blue */ } .oi-gdocs { background: #1a73e8; /* art: Google Docs' own blue */ }
.chip.more-places { cursor: pointer; background: var(--accent-soft); color: var(--accent); border-color: var(--accent-line); font: inherit; font-size: var(--fs-xs); font-weight: 600; }
.chip.more-places:hover { background: var(--accent-soft); }
@media (pointer: coarse) { .chip.more-places { min-height: 32px; } }

/* Discover */
.db-status { margin: -6px 28px 14px; color: var(--text-muted); font-size: var(--fs-md); min-height: 1.3em; }
.db-filters { display: inline-flex; gap: 2px; margin: 0 28px 16px; padding: 3px; border-radius: var(--r-lg); background: var(--canvas); border: 1px solid var(--border); }
.db-filters button { height: 34px; padding: 0 14px; border: 0; border-radius: var(--r-md); background: none; font: 500 var(--fs-md) inherit; color: var(--text-secondary); cursor: pointer; }
.db-filters button[aria-selected="true"] { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }
.db-filters span { color: var(--text-muted); font-weight: 600; margin-left: 2px; }
.db-list { display: grid; gap: 12px; margin: 0 28px 40px; max-width: 980px; }
.db-card { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 16px; padding: 18px 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); box-shadow: var(--shadow-sm); transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease); }
.db-card:hover { border-color: var(--border-strong); box-shadow: var(--shadow-md); }
.av.xl { width: 52px; height: 52px; border-radius: var(--r-lg); display: grid; place-items: center; font-weight: 700; font-size: var(--fs-2xl); color: hsl(var(--h) 35% 30%); background: hsl(var(--h) 30% 94%); border: 1px solid var(--border); }
.db-main { min-width: 0; }
.db-top { display: flex; align-items: flex-start; gap: 16px; }
.db-head { flex: 1; min-width: 0; }
.db-main h3 { margin: 0; font-size: var(--fs-xl); line-height: 1.3; letter-spacing: -.02em; }
.db-co { margin: 3px 0 0; display: flex; flex-wrap: wrap; gap: 0 8px; font-size: var(--fs-md); color: var(--text-muted); }
.db-co b { color: var(--text-secondary); font-weight: 600; }
.db-co span::before { content: "·"; margin-right: 8px; color: var(--text-faint); }
.db-fit { flex: none; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; align-content: center; background: var(--success-soft); color: var(--success-strong); box-shadow: inset 0 0 0 2px var(--success); }
.db-fit b { font-size: var(--fs-xl); line-height: 1; letter-spacing: -.02em; } .db-fit small { font-size: var(--fs-2xs); font-weight: 600; }
.db-fit.mid { background: var(--accent-soft); color: var(--accent-strong); box-shadow: inset 0 0 0 2px var(--accent); }
.db-fit.low { background: var(--canvas); color: var(--text-muted); box-shadow: inset 0 0 0 2px var(--border-strong); }
.db-facts { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.db-facts li { font-size: var(--fs-sm); padding: 3px 10px; border-radius: var(--r-pill); background: var(--canvas); color: var(--text-secondary); }
.db-facts .pay { background: var(--surface-inverse); color: var(--text-on-inverse); font-weight: 600; }
.db-facts .open { background: var(--success-soft); color: var(--success-strong); }
.db-why { margin: 12px 0 0; display: flex; gap: 8px; align-items: flex-start; font-size: var(--fs-md); line-height: 1.5; color: var(--text); }
.db-why svg { flex: none; margin-top: 3px; color: var(--success); }
.db-snip { margin: 12px 0 0; font-size: var(--fs-md); line-height: 1.5; color: var(--text-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.db-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border); }
.db-found { margin-left: auto; font-size: var(--fs-sm); color: var(--text-faint); }
.db-no { position: relative; } .db-no summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.db-no summary::-webkit-details-marker { display: none; }
.db-reasons { position: absolute; right: 0; top: calc(100% + 4px); z-index: 5; width: 170px; padding: 6px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: 0 18px 40px -16px rgb(0 0 0 / .3); display: grid; gap: 2px; }
.db-reasons button { height: 34px; border: 0; border-radius: var(--r-md); background: none; text-align: left; padding: 0 10px; font: 500 var(--fs-sm) inherit; cursor: pointer; }
.db-reasons button:hover { background: var(--canvas); }
.db-setup { max-width: 520px; margin: 30px auto; } .db-setup .primary { margin-top: 14px; }
.hint-inline { color: var(--text-muted); font-weight: 400; font-size: var(--fs-xs); }
.bf-levels { border: 0; padding: 0; margin: 4px 0 12px; display: flex; flex-wrap: wrap; gap: 6px; } .bf-levels legend { font-size: var(--fs-sm); font-weight: 500; margin-bottom: 6px; }
.bf-levels label { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--border-strong); border-radius: var(--r-pill); font-size: var(--fs-sm); cursor: pointer; }
.bf-levels label:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.bf-levels input { width: auto; margin: 0; }
label.check { display: flex; align-items: center; gap: 8px; margin: 4px 0 12px; font-size: var(--fs-md); } label.check input { width: auto; margin: 0; }
@media (max-width: 760px) { .db-card { grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding: 16px; } .av.xl { width: 40px; height: 40px; font-size: var(--fs-lg); } .db-main h3 { font-size: var(--fs-lg); } .db-fit { width: 46px; height: 46px; } .db-fit b { font-size: var(--fs-lg); } .db-acts > .primary, .db-acts > .db-no, .db-acts > .db-open { flex: 1 1 auto; justify-content: center; } .db-found { margin-left: 0; width: 100%; } }
  .db-status, .db-filters, .db-list { margin-left: 16px; margin-right: 16px; } .db-reasons { right: auto; left: 0; } }
@media (pointer: coarse) { .db-filters button, .db-reasons button { min-height: 44px; } }
/* Discover start */
.ds-start { max-width: 760px; margin: 10px auto 40px; text-align: center; }
.ds-ill { width: 110px; height: auto; margin: 0 auto 6px; display: block; }
.ds-start h2 { margin: 0 0 6px; font-size: var(--fs-3xl); letter-spacing: -.03em; }
.ds-search { display: grid; grid-template-columns: 1.4fr 1fr auto auto; gap: 8px; align-items: end; margin: 22px 0 6px; padding: 10px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); box-shadow: 0 14px 34px -20px rgb(0 0 0 / .25); text-align: left; }
.ds-field { display: grid; gap: 3px; margin: 0; } .ds-field span { font-size: var(--fs-xs); font-weight: 600; color: var(--text-muted); padding-left: 4px; }
.ds-field input { height: 44px; border-radius: var(--r-lg); }
.ds-search .primary { height: 44px; padding: 0 20px; }
.ds-remote { margin: 0 6px 12px; white-space: nowrap; font-size: var(--fs-md); }
.ds-or { display: flex; align-items: center; gap: 12px; color: var(--text-muted); font-size: var(--fs-sm); margin: 18px 0 14px; } .ds-or::before, .ds-or::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.ds-ideas-btn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; color: var(--accent); border-color: var(--accent-line); background: var(--accent-soft); font-weight: 600; }
.ds-hint { font-size: var(--fs-sm); margin: 8px 0 0; }
.ds-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin: 20px 0 12px; text-align: left; }
.ds-group h3 { margin: 0 0 8px; font-size: var(--fs-sm); font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; }
.ds-idea { display: grid; gap: 3px; width: 100%; margin-bottom: 8px; padding: 10px 12px; text-align: left; border: 1.5px solid var(--border); border-radius: var(--r-lg); background: var(--surface); cursor: pointer; font: inherit; color: var(--text); }
.ds-idea b { font-size: var(--fs-md); } .ds-idea span { font-size: var(--fs-sm); color: var(--text-muted); line-height: 1.4; }
.ds-idea[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 3px rgb(47 85 212 / .12); }
.ds-idea[aria-pressed="true"] b::before { content: "✓ "; color: var(--accent); }
.ds-ideas-go { display: flex; justify-content: center; align-items: center; gap: 14px; margin: 6px 0 18px; }
#db-setup.link { margin-top: 18px; font-size: var(--fs-md); }
@media (max-width: 760px) { .ds-search { grid-template-columns: 1fr; } .ds-remote { margin: 2px 4px; } }
.ds-start .ds-idea { height: auto; min-height: 0; white-space: normal; line-height: 1.3; align-content: start; }
.ds-start .ds-ideas-btn, .ds-start .ds-search .primary { white-space: nowrap; }
.intro-art .intro-shot { width: auto; height: 220px; border-radius: var(--r-2xl); box-shadow: 0 16px 36px -18px rgb(0 0 0 / .45); border: 1px solid var(--border); object-fit: cover; }
.pill.closed, .chip.closed { background: var(--canvas); color: var(--text-muted); border-color: var(--border); text-decoration: none; font-weight: 600; }
.card:has(.pill.closed) .t { color: var(--text-muted); }

/* ---------------------------------------------------------------- interviewing */
.iv-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; padding: 0 28px 32px; }
.iv-list .iv-empty { grid-column: 1 / -1; }
.iv-card { height: auto; display: flex; align-items: center; gap: 12px; padding: 14px 16px; text-align: left; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); cursor: pointer; color: var(--text); font: inherit; }
.iv-card:hover { border-color: var(--border-strong); box-shadow: var(--shadow-md); }
.iv-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.iv-card .av { width: 36px; height: 36px; border-radius: var(--r-md); flex: none; display: grid; place-items: center; font-weight: 600; font-size: var(--fs-md); color: hsl(var(--h) 35% 30%); background: hsl(var(--h) 30% 94%); }
.iv-card-main { flex: 1; min-width: 0; display: grid; gap: 1px; }
.iv-card-main b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.iv-card-main small { color: var(--text-muted); font-size: var(--fs-sm); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.iv-card-main .iv-card-meta { color: var(--text-faint); }
.iv-score { flex: none; display: grid; justify-items: center; font-size: var(--fs-xs); font-weight: 500; padding: 4px 10px; border-radius: var(--r-md); line-height: 1.3; }
.iv-score b { font-size: var(--fs-xl); font-weight: 650; letter-spacing: -.02em; }
.iv-score.live { color: var(--accent); background: var(--accent-soft); }
.iv-score.ready, .iv-verdict.ready { color: var(--success-strong); background: var(--success-soft); }
.iv-score.almost, .iv-verdict.almost { color: var(--warning-strong); background: var(--warning-soft); }
.iv-score.work, .iv-verdict.work { color: var(--danger-strong); background: var(--danger-soft); }
.iv-drew { color: var(--accent); }
.iv-kinds { border: 0; padding: 0; margin: 16px 0 8px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.iv-kinds legend { font-size: var(--fs-sm); font-weight: 500; margin-bottom: 6px; }
.iv-kinds label { position: relative; display: grid; gap: 2px; padding: 11px 12px; border: 1px solid var(--border-strong); border-radius: var(--r-lg); cursor: pointer; font-size: var(--fs-md); }
.iv-kinds label small { color: var(--text-muted); font-size: var(--fs-xs); font-weight: 400; }
.iv-kinds label:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 1px var(--accent); }
.iv-kinds label:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.iv-kinds input { position: absolute; opacity: 0; width: 1px; height: 1px; }

.iv-room { position: fixed; inset: 0; z-index: 70; display: grid; grid-template-rows: auto 1fr; background: var(--canvas); }
.iv-head { flex: 1 1 240px; min-width: 0; display: grid; }
.iv-head h2 { margin: 0; font-size: var(--fs-lg); font-weight: 600; letter-spacing: -.015em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.iv-head .muted { font-size: var(--fs-sm); }
.iv-panes { display: none; }
.iv-body { display: grid; grid-template-columns: minmax(360px, 480px) 1fr; min-height: 0; }
.iv-chat { display: grid; grid-template-rows: 1fr auto auto; min-height: 0; background: var(--surface); border-right: 1px solid var(--border); }
.iv-log { overflow-y: auto; padding: 20px 20px 8px; display: flex; flex-direction: column; gap: 14px; overscroll-behavior: contain; }
.iv-msg { max-width: 92%; font-size: var(--fs-md); line-height: 1.55; overflow-wrap: break-word; }
.iv-msg.mine { align-self: flex-end; text-align: right; }
.iv-msg.mine .iv-text { display: inline-block; text-align: left; background: var(--accent); color: var(--text-on-inverse); padding: 9px 13px; border-radius: var(--r-xl) var(--r-xl) var(--r-xs) var(--r-xl); }
.iv-msg.theirs { align-self: flex-start; }
.iv-msg .iv-text p { margin: 0 0 8px; } .iv-msg .iv-text p:last-child { margin-bottom: 0; }
.iv-who { display: block; font-size: var(--fs-xs); font-weight: 600; color: var(--text-muted); margin-bottom: 4px; }
.iv-msg.theirs .iv-text { background: var(--surface-sunken); padding: 10px 14px; border-radius: var(--r-xl) var(--r-xl) var(--r-xl) var(--r-xs); max-width: 62ch; }
.iv-part { margin: 0 0 8px; }
.iv-part b { font-weight: 600; margin-right: 2px; }
.iv-goal { padding: 8px 10px; border-left: 3px solid var(--accent); background: var(--accent-soft); border-radius: var(--r-xs) var(--r-md) var(--r-md) var(--r-xs); }
.iv-question { font-weight: 500; padding-top: 8px; border-top: 1px solid var(--border); }
.iv-coach { align-self: stretch; display: flex; gap: 8px; align-items: flex-start; margin: 0; padding: 8px 12px; font-size: var(--fs-sm); line-height: 1.45; color: var(--text-secondary); border: 1px dashed var(--border-strong); border-radius: var(--r-lg); }
.iv-coach svg { flex: none; margin-top: 1px; color: var(--warning-strong); }
.iv-coach b { font-weight: 600; color: var(--text); margin-right: 2px; }
.iv-tips { border-top: 1px solid var(--border); padding: 10px 16px 0; font-size: var(--fs-sm); max-height: 34vh; overflow-y: auto; }
.iv-tips summary { cursor: pointer; font-weight: 600; padding-bottom: 8px; }
.iv-tips p { margin: 0 0 6px; color: var(--text-secondary); }
.iv-tips ul { margin: 0 0 8px; padding-left: 18px; }
.iv-tips li { margin: 3px 0; }
.iv-ask .link { height: auto; padding: 2px 0; text-align: left; white-space: normal; font-size: var(--fs-sm); line-height: 1.45; }
.iv-msg .iv-drew { display: block; font-size: var(--fs-xs); margin-top: 4px; }
.iv-error { color: var(--danger); font-size: var(--fs-sm); margin: 0; }
.iv-note { color: var(--text-muted); font-size: var(--fs-sm); margin: 0; }
.iv-compose { display: flex; align-items: flex-end; gap: 8px; padding: 12px 16px 16px; border-top: 1px solid var(--border); }
.iv-compose textarea { flex: 1; resize: none; min-height: 44px; max-height: 180px; }
.iv-compose button { width: 44px; height: 44px; padding: 0; flex: none; display: grid; place-items: center; }
.iv-board { position: relative; min-height: 0; }
.iv-board .excalidraw { --color-primary: var(--accent); --ui-font: var(--font-sans); }
.iv-board-fail { position: absolute; inset: 0; display: grid; place-items: center; color: var(--text-muted); padding: 24px; text-align: center; }
.iv-feedback { display: grid; gap: 6px; }
.iv-verdict { display: flex; align-items: baseline; gap: 10px; padding: 14px 16px; border-radius: var(--r-lg); }
.iv-verdict b { font-size: var(--fs-4xl); font-weight: 650; letter-spacing: -.03em; line-height: 1; }
.iv-verdict span { font-size: var(--fs-lg); font-weight: 600; }
.iv-summary { margin: 6px 0 4px; font-size: var(--fs-md); }
.iv-feedback h3 { font-size: var(--fs-sm); font-weight: 600; margin: 12px 0 0; }
.iv-feedback ul { margin: 2px 0 0; padding-left: 18px; } .iv-feedback li { margin: 5px 0; }
.iv-better { border: 1px solid var(--border); border-radius: var(--r-lg); padding: 9px 12px; margin-top: 6px; }
.iv-better summary { cursor: pointer; font-weight: 500; }
.iv-better p { margin: 8px 0 2px; color: var(--text-secondary); }
.iv-feedback [data-again] { justify-self: start; margin-top: 12px; }
.iv-transcript { margin-top: 20px; border-top: 1px solid var(--border); padding-top: 12px; }
.iv-transcript summary { cursor: pointer; font-weight: 600; font-size: var(--fs-sm); margin-bottom: 12px; }
.iv-transcript[open] { display: flex; flex-direction: column; gap: 14px; }

@media (max-width: 860px) {
  .iv-list { padding: 0 16px 24px; grid-template-columns: 1fr; }
  .iv-kinds { grid-template-columns: 1fr 1fr; }
  .iv-room .doc-bar { padding: 8px 12px; gap: 8px; }
  .iv-head { order: 1; flex-basis: calc(100% - 110px); }
  .iv-panes { order: 2; display: flex; flex: 1 1 180px; gap: 2px; padding: 3px; border-radius: var(--r-lg); background: var(--surface-sunken); }
  .iv-panes button { flex: 1; height: 36px; border: 0; border-radius: var(--r-md); background: none; font: 500 var(--fs-md)/1 var(--font-sans); color: var(--text-secondary); }
  .iv-panes button[aria-selected="true"] { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }
  #iv-end { order: 3; }
  .iv-body { grid-template-columns: 1fr; }
  .iv-chat { border-right: 0; }
  .iv-room[data-pane="chat"] .iv-board, .iv-room[data-pane="board"] .iv-chat { display: none; }
  .iv-compose { padding-bottom: max(16px, env(safe-area-inset-bottom)); }
}
@media (max-width: 520px) { .iv-kinds { grid-template-columns: 1fr; } }
.iv-empty .empty-ill { display: block; margin: 0 auto 10px; }
.iv-empty strong { display: block; }

/* company logos sit over the initial avatar; the initial shows when there's no logo */
.av { position: relative; overflow: hidden; }
.av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: var(--surface); }
.av.md { width: 32px; height: 32px; border-radius: var(--r-md); flex: none; display: grid; place-items: center; font-weight: 600; font-size: var(--fs-md); color: hsl(var(--h) 35% 30%); background: hsl(var(--h) 30% 94%); border: 1px solid var(--border); }
.fact-co { display: flex; align-items: center; gap: 10px; }

/* Discover filters: one bar for search and every filter; wraps on narrow screens */
.dx-bar { position: sticky; top: 0; z-index: 4; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 28px 14px; padding: 10px; max-width: 980px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.dx-bar select, .dx-bar input { height: 36px; width: auto; font-size: var(--fs-sm); }
.dx-search { flex: 1 1 260px; position: relative; display: flex; align-items: center; }
.dx-search svg { position: absolute; left: 11px; color: var(--text-faint); pointer-events: none; }
.dx-search input { width: 100%; padding-left: 34px; font-size: var(--fs-md); }
.dx-company input { width: 160px; }
.dx-chip { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border: 1px solid var(--border-strong); border-radius: var(--r-pill); font-size: var(--fs-sm); font-weight: 500; cursor: pointer; user-select: none; }
.dx-chip input { width: auto; height: auto; margin: 0; accent-color: var(--accent); }
.dx-chip:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-strong); }
#dx-clear { font-size: var(--fs-sm); }
.db-facts .remote { background: var(--accent-soft); color: var(--accent-strong); }
.dx-more { display: block; margin: -24px auto 40px; min-width: 240px; }
.dx-loading { display: flex; align-items: center; gap: 10px; justify-content: center; padding: 48px 0; color: var(--text-muted); }
@media (max-width: 760px) {
  .dx-bar { margin: 0 16px 12px; top: 0; }
  .dx-bar > label:not(.dx-search):not(.dx-chip) { flex: 1 1 calc(50% - 4px); } .dx-bar > label select, .dx-company input { width: 100%; }
  .dx-search { flex-basis: 100%; }
}

.db-status { margin: 0 28px 12px; }
.dx-toggle { display: none; }
@media (max-width: 760px) {
  .dx-toggle { display: inline-flex; height: 36px; }
  .dx-search { flex-basis: 0; }
  .dx-bar:not(.open) > label:not(.dx-search), .dx-bar:not(.open) > #dx-clear { display: none; }
  .db-status { margin: 0 16px 10px; }
}
.iv-board-host { position: absolute; inset: 0; }
.db-sum { margin: 6px 0 0; font-size: var(--fs-md); color: var(--text-secondary); line-height: 1.45; }
.db-status .spin { margin-right: 6px; vertical-align: -2px; }

.db-co span::before { content: none; } .db-co b::after { content: "·"; margin-left: 8px; color: var(--text-faint); } .db-co b:last-child::after { content: none; }
@media (max-width: 760px) { .db-filters { display: flex; max-width: calc(100% - 32px); overflow-x: auto; scrollbar-width: none; } .db-filters button { flex: none; } }

/* a role's sessions: continue, review, or start another */
.iv-role-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.iv-role-head h2 { margin: 0; } .iv-role-head p { margin: 2px 0 0; }
.iv-role h3 { font-size: var(--fs-sm); font-weight: 600; color: var(--text-muted); margin: 18px 0 8px; }
.iv-session { width: 100%; height: auto; display: flex; align-items: center; gap: 12px; padding: 12px 14px; margin-bottom: 8px; text-align: left; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); cursor: pointer; font: inherit; color: var(--text); }
.iv-session:hover { border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.iv-session > span:first-child { flex: 1; display: grid; gap: 2px; } .iv-session small { color: var(--text-muted); font-size: var(--fs-sm); }
.iv-go { font-size: var(--fs-sm); font-weight: 600; color: var(--accent); min-width: 64px; text-align: right; }
#iv-role-new .iv-kinds { margin-top: 0; }

/* dialogs and pop-ups arrive the same way everywhere (JS-driven moves live in public/fx.js) */
dialog[open] { animation: arrive var(--dur-base) var(--ease); } dialog[open]::backdrop { animation: fade var(--dur-base) ease; }
[popover]:popover-open { animation: arrive var(--dur-fast) var(--ease); }
@keyframes arrive { from { opacity: 0; transform: translateY(8px) scale(.985); } }
@keyframes fade { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { dialog[open], dialog[open]::backdrop, [popover]:popover-open { animation: none; } }

/* first moments: empty states, tips and announcements settle in; the illustration arrives a beat behind (fx.js has the JS moves) */
.ill-empty, .empty-state, .fu-clear, .ds-start, .welcome:not([hidden]), .ext-card, .iv-feedback > *, .dx-loading { animation: settle var(--dur-slow) var(--ease) both; }
.ill-empty img, .empty-state img, .fu-clear img, .ds-start img, .welcome img { animation: ill-in 480ms var(--ease) 90ms both; }
.iv-feedback > :nth-child(2) { animation-delay: 60ms; } .iv-feedback > :nth-child(3) { animation-delay: 120ms; } .iv-feedback > :nth-child(n+4) { animation-delay: 180ms; }
.tour-spot { transition: top var(--dur-slow) var(--ease), left var(--dur-slow) var(--ease), width var(--dur-slow) var(--ease), height var(--dur-slow) var(--ease); }
@keyframes settle { from { opacity: 0; transform: translateY(10px); } }
@keyframes ill-in { from { opacity: 0; transform: translateY(12px) scale(.96); } }
@media (prefers-reduced-motion: reduce) { .ill-empty, .empty-state, .fu-clear, .ds-start, .welcome, .ext-card, .iv-feedback > *, .dx-loading, .ill-empty img, .empty-state img, .fu-clear img, .ds-start img, .welcome img { animation: none; } .tour-spot { transition: none; } }
.dm-brand .wordmark { font-size: 1.35em; }
.wordmark { color: var(--text); } .ab-top .wordmark { color: var(--text-on-inverse); } /* the name alone, in ink (white on the dark sign-in panel) */

/* field icons live beside the input, not in its background: browsers wipe input backgrounds when they autofill */
.fi { position: relative; display: block; }
.fi-ico { position: absolute; left: 13px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--text-muted); pointer-events: none; z-index: 1; }
.fi:focus-within .fi-ico { color: var(--text); }
.fi { margin-top: 6px; } .fi input, .pw.fi input { margin: 0; } /* the wrapper takes the label gap, so the icon centres on the input */
.cmp-empty .ill-empty { padding: 32px 16px; }

/* Execution: the plan to get this job */
.px-empty { padding: 28px 12px; } .px-empty p { max-width: 460px; }
.px-wait { display: flex; gap: 14px; align-items: flex-start; padding: 22px; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); }
.px-wait p { margin: 4px 0 0; } .px-wait.small { padding: 10px 14px; align-items: center; margin-bottom: 14px; font-size: var(--fs-sm); color: var(--text-muted); }
.px-intel { padding: 20px 22px; border-radius: var(--r-xl); background: var(--surface-inverse); color: var(--text-on-inverse); margin-bottom: 22px; }
.px-intel-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.px-intel h3 { margin: 0; font-size: var(--fs-lg); } .px-intel > p { margin: 8px 0 0; color: var(--border-strong); line-height: 1.55; }
.px-size { font-size: var(--fs-xs); font-weight: 600; padding: 3px 10px; border-radius: var(--r-pill); background: var(--surface-inverse-hover); color: var(--border-strong); }
.px-news { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 6px; font-size: var(--fs-sm); }
.px-news li { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 10px; color: var(--border-strong); } .px-news span { color: var(--text-faint); }
.px-news a { color: var(--text-on-inverse); text-decoration-color: var(--text-muted); }
.px-products { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; } .px-products span { font-size: var(--fs-xs); padding: 3px 10px; border-radius: var(--r-pill); border: 1px solid var(--text-secondary); color: var(--border-strong); }
.px-angle { margin: 16px 0 0 !important; padding-top: 14px; border-top: 1px solid var(--surface-inverse-hover); color: var(--text-on-inverse) !important; } .px-angle b { display: block; font-size: var(--fs-xs); color: var(--text-faint); font-weight: 600; margin-bottom: 4px; }
.px-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; } .px-head h3 { margin: 0; font-size: var(--fs-lg); flex: 1; }
.px-progress { width: 90px; height: 6px; border-radius: var(--r-pill); background: var(--surface-sunken); overflow: hidden; } .px-progress i { display: block; height: 100%; background: var(--success); border-radius: inherit; transition: width var(--dur-slow) var(--ease); }
.px-list { display: grid; gap: 10px; }
.px-item { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; padding: 16px 18px; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); }
.px-item.done { background: var(--canvas); } .px-item.done h4 { text-decoration: line-through; color: var(--text-muted); } .px-item.done p, .px-item.done ol { display: none; }
.px-item.editing { grid-template-columns: 1fr; }
.px-check { display: grid; place-items: start center; padding-top: 2px; cursor: pointer; } .px-check input { width: 20px; height: 20px; accent-color: var(--success); margin: 0; }
.px-meta { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; font-size: var(--fs-xs); color: var(--text-muted); }
.px-kind { font-weight: 600; padding: 2px 8px; border-radius: var(--r-sm); background: var(--cat-stone-soft); color: var(--text-secondary); }
.px-kind.k-outreach { background: var(--cat-blue-soft); color: var(--cat-blue); } .px-kind.k-build { background: var(--cat-violet-soft); color: var(--cat-violet); } .px-kind.k-content { background: var(--cat-teal-soft); color: var(--cat-teal); }
.px-kind.k-research { background: var(--cat-amber-soft); color: var(--warning-strong); } .px-kind.k-interview { background: var(--cat-pink-soft); color: var(--cat-pink); }
.px-high { color: var(--success-strong); font-weight: 600; }
.px-body h4 { margin: 6px 0 0; font-size: var(--fs-lg); letter-spacing: -.015em; line-height: 1.35; }
.px-body p { margin: 6px 0 0; color: var(--text-secondary); line-height: 1.5; }
.px-body ol { margin: 10px 0 0; padding-left: 20px; display: grid; gap: 4px; color: var(--text); font-size: var(--fs-md); }
.px-acts { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 14px; }
.px-drafting { display: inline-flex; gap: 8px; align-items: center; font-size: var(--fs-sm); color: var(--text-muted); }
.px-edit { display: grid; gap: 10px; }
.px-foot { display: flex; gap: 8px; margin-top: 14px; }
#px-doc textarea { font-family: var(--font-mono); font-size: var(--fs-sm); line-height: 1.55; }

/* Practice interviews: speaking an answer */
.iv-compose .iv-mic[hidden] { display: none; }
.iv-mic[aria-pressed="true"] { color: var(--accent-strong); background: var(--accent-soft); border-color: var(--accent); animation: listen 1.6s var(--ease) infinite; }
@keyframes listen { 50% { box-shadow: 0 0 0 5px var(--accent-line); } }
.iv-mic-msg { margin: 0; padding: 10px 16px 0; font-size: var(--fs-sm); line-height: 1.45; color: var(--text-secondary); }
.iv-spoke { display: flex; align-items: center; gap: 5px; width: fit-content; margin: 5px 0 0 auto; padding: 2px 9px; font-size: var(--fs-xs); color: var(--text-muted); background: var(--surface-sunken); border-radius: var(--r-pill); }
.iv-speak { display: grid; gap: 6px; margin-top: 6px; }
.iv-speak-row { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: center; padding: 9px 12px; border: 1px solid var(--border); border-radius: var(--r-lg); }
.iv-speak-name { font-weight: 600; font-size: var(--fs-sm); }
.iv-speak-score { font-size: var(--fs-xs); font-weight: 500; padding: 2px 8px; border-radius: var(--r-pill); }
.iv-speak-score b { font-size: var(--fs-md); font-weight: 650; }
.iv-speak-score.ready { color: var(--success-strong); background: var(--success-soft); }
.iv-speak-score.almost { color: var(--warning-strong); background: var(--warning-soft); }
.iv-speak-score.work { color: var(--danger-strong); background: var(--danger-soft); }
.iv-speak-row p { grid-column: 1 / -1; margin: 0; font-size: var(--fs-sm); color: var(--text-secondary); }
@media (prefers-reduced-motion: reduce) { .iv-mic[aria-pressed="true"] { animation: none; box-shadow: 0 0 0 3px var(--accent-line); } }

/* the job panel: one clean line of facts, then three tiles, then readable sections */
.d-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 14px; }
.d-pay { font-size: var(--fs-xl); font-weight: 700; letter-spacing: -.02em; }
.d-fitb { font-size: var(--fs-sm); font-weight: 600; padding: 3px 10px; border-radius: var(--r-pill); background: var(--accent-soft); color: var(--accent-strong); }
.d-fitb.hi { background: var(--success-soft); color: var(--success-strong); } .d-fitb.low, .d-fitb.poor { background: var(--warning-soft); color: var(--warning-strong); }
.d-facts { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; color: var(--text-secondary); font-size: var(--fs-md); }
.d-facts > span + span::before, .d-facts > span + .more-places::before { content: "·"; margin: 0 8px; color: var(--text-faint); }
.d-facts .more-places { border: 0; background: none; padding: 0; height: auto; color: var(--accent); font: 500 var(--fs-md) var(--font-sans); cursor: pointer; }
.d-status { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; font-size: var(--fs-sm); color: var(--text-muted); }
.d-live { display: inline-flex; align-items: center; gap: 6px; } .d-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 3px var(--success-soft); }
.d-live.closed { color: var(--danger-strong); } .d-live.closed i { background: var(--danger); box-shadow: 0 0 0 3px var(--danger-soft); }
.ov-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 20px; }
.ov-tile { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: var(--r-xl); background: var(--canvas); min-width: 0; }
.ov-k { font-size: var(--fs-xs); font-weight: 600; color: var(--text-muted); }
.ov-big { font-size: var(--fs-2xl); font-weight: 700; letter-spacing: -.03em; line-height: 1.2; }
.ov-mid { font-size: var(--fs-lg); font-weight: 600; letter-spacing: -.015em; line-height: 1.3; }
.ov-s { font-size: var(--fs-sm); color: var(--text-muted); }
.ov-fit, .ov-co { flex-direction: row; align-items: center; gap: 12px; } .ov-fit > div:last-child, .ov-co > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ov-fit .ring { position: relative; width: 52px; height: 52px; flex: none; } .ov-fit .ring svg { width: 52px; height: 52px; transform: rotate(-90deg); }
.ov-fit .ring circle { fill: none; stroke-width: 6; } .ov-fit .ring .track { stroke: var(--border); } .ov-fit .ring .bar { stroke: var(--accent); stroke-linecap: round; }
.ov-fit.hi .ring .bar { stroke: var(--success); } .ov-fit.low .ring .bar, .ov-fit.poor .ring .bar { stroke: var(--warning); }
.ov-fit .ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: var(--fs-md); }
.ov-sec { margin-top: 26px; } .ov-lead { margin: 6px 0 0; font-size: var(--fs-lg); line-height: 1.55; color: var(--text); }
.ov-dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; margin: 14px 0 0; }
.ov-dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: var(--fs-md); }
.ov-dl dt { color: var(--text-muted); } .ov-dl dd { margin: 0; text-align: right; font-weight: 500; }
@media (max-width: 760px) { .ov-tiles { grid-template-columns: 1fr; } .ov-dl { grid-template-columns: 1fr; } }

/* homepage motion (public/landing.js): words rise out of their own line; the product sits in perspective */
.lp-w { display: inline-block; clip-path: inset(-.3em -.25em -.24em -.25em); }
.lp-wi { display: inline-block; }
.dm-stage { perspective: 1800px; }
.dm { transform-origin: 50% 0; }
/* hover: a small lift and a soft shadow bloom. `translate` stacks on the transforms the motion owns */
.lp a.primary, .lp-soft, .lp-ico, .lp-phone { position: relative; }
.lp a.primary::after, .lp-soft::after, .lp-ico::after, .lp-phone::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity var(--dur-slow) var(--ease); }
.lp a.primary::after { box-shadow: 0 12px 28px -10px rgb(0 0 0 / .45); }
.lp-soft::after { box-shadow: 0 12px 28px -12px rgb(47 85 212 / .45); }
.lp-ico::after { box-shadow: var(--shadow-lg); }
.lp-phone::after { box-shadow: 0 44px 80px -28px rgb(0 0 0 / .45); }
.lp a.primary, .lp-soft, .lp-ico, .lp-phone { transition: background var(--dur-fast), translate var(--dur-slow) var(--ease), scale var(--dur-slow) var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .lp a.primary:hover, .lp-soft:hover { translate: 0 -1px; } .lp a.primary:hover::after, .lp-soft:hover::after { opacity: 1; }
  .lp-values > div:hover .lp-ico { translate: 0 -4px; } .lp-values > div:hover .lp-ico::after { opacity: 1; }
  .lp-phones figure:hover .lp-phone { translate: 0 -8px; } .lp-phones figure:hover .lp-phone::after { opacity: 1; }
}
