:root {
  --bg: #F7F6F2; --surface: #fff; --ink: #0B1F44; --ink2: #4A5672; --line: #E6E4DE;
  --tq: #12B99A; --tq-d: #0A8F78; --tq-t: #E7F7F3; --amber: #E9A23B; --amber-t: #FDF4E6; --amber-ink: #8F5C0A;
  --shadow: 0 1px 2px rgba(11,31,68,.06), 0 12px 32px rgba(11,31,68,.08);
  --shadow-s: 0 1px 2px rgba(11,31,68,.06), 0 4px 12px rgba(11,31,68,.05);
  --ease: cubic-bezier(.2,.8,.2,1);
  --r: 16px; --r-s: 12px;
  --head: "Plus Jakarta Sans", system-ui, sans-serif; --body: "Inter", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 15px/1.55 var(--body); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 800; margin: 0; letter-spacing: -.02em; line-height: 1.15; }
h3 { font-size: 16px; font-weight: 700; } h4 { font-size: 14px; font-weight: 700; margin: 18px 0 8px; }
p { margin: 0 0 10px; } a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--tq); outline-offset: 2px; border-radius: 6px; }
.ic { flex: none; }
.muted { color: var(--ink2); font-size: 13px; } .pad { padding: 16px; } .up { color: var(--tq-d); }
.only-mobile { display: none; }

/* ---------- primitives ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; background: var(--tq); color: #fff; font-weight: 600; padding: 12px 20px; border-radius: 12px; transition: transform .2s var(--ease), background .2s, box-shadow .2s; box-shadow: 0 2px 8px rgba(18,185,154,.28); }
.btn:hover { background: var(--tq-d); transform: translateY(-1px); } .btn:active { transform: none; }
.btn.small { padding: 8px 14px; font-size: 14px; border-radius: 10px; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: none; border: 1px solid var(--line); } .btn.ghost:hover { background: #fff; }
.btn.block { width: 100%; } .btn[disabled] { background: var(--line); color: var(--ink2); box-shadow: none; cursor: default; transform: none; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-s); }
.lift { transition: transform .3s var(--ease), box-shadow .3s var(--ease); } .lift:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; padding: 5px 11px; border-radius: 99px; border: 1px solid var(--line); background: #fff; color: var(--ink); transition: all .2s var(--ease); }
button.chip:hover { border-color: var(--tq); color: var(--tq-d); transform: translateY(-1px); }
.chip.ok { background: var(--tq-t); border-color: transparent; color: var(--tq-d); } .chip.ok.soft { opacity: .8; }
.chip.amber { background: var(--amber-t); border-color: transparent; color: var(--amber-ink); }
.chip.plain { color: var(--ink2); } .chip small { font-size: 11px; opacity: .7; }
.chips.big .chip { padding: 8px 14px; font-size: 14px; }
.chip.on { background: var(--tq); border-color: var(--tq); color: #fff; } .chip.on:hover { color: #fff; background: var(--tq-d); }
.chip.dashed { border-style: dashed; color: var(--ink2); background: transparent; }
.chip button { border: 0; background: none; padding: 0; display: grid; place-items: center; opacity: .6; } .chip button:hover { opacity: 1; }
.badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }
.badge { font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 8px; background: #F0EFEA; color: var(--ink2); }
.badge.job { background: var(--tq-t); color: var(--tq-d); } .badge.intern { background: var(--ink); color: #fff; }
.badge.sponsor { background: var(--tq-t); color: var(--tq-d); border: 1px solid rgba(18,185,154,.35); }
.mono { display: inline-grid; place-items: center; flex: none; border-radius: 12px; background: var(--mc, var(--ink)); color: #fff; font-family: var(--head); font-weight: 800; letter-spacing: .02em; }
.logo { display: inline-flex; align-items: center; gap: 8px; font-family: var(--head); font-weight: 800; font-size: 20px; color: var(--ink); letter-spacing: -.02em; }
.logo.sm { font-size: 16px; } .logo.sm img { width: 22px; height: 22px; }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--tq-d); background: var(--tq-t); padding: 5px 12px; border-radius: 99px; }
.ai-badge { font-size: 12px; font-weight: 600; color: var(--ink2); background: #fff; border: 1px solid var(--line); border-radius: 99px; padding: 4px 11px 4px 24px; position: relative; white-space: nowrap; }
.ai-badge::before { content: ""; position: absolute; left: 10px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--tq); box-shadow: 0 0 0 3px var(--tq-t); }
.icon-btn { border: 0; background: transparent; color: var(--ink2); width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; } .icon-btn:hover { background: #F0EFEA; color: var(--ink); }
.link { font-weight: 600; font-size: 14px; color: var(--tq-d); display: inline-flex; gap: 4px; align-items: center; } .link:hover { text-decoration: underline; }
.empty { padding: 28px; text-align: center; color: var(--ink2); grid-column: 1 / -1; } .empty a { color: var(--tq-d); font-weight: 600; }
.err { color: #B4341F; font-size: 14px; margin-top: 12px; }

.ring { --rs: 56px; position: relative; width: var(--rs); height: var(--rs); flex: none; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 4.5; } .ring .bg { stroke: #ECEBE6; }
.ring .fg { stroke-linecap: round; transition: stroke-dashoffset 1.1s var(--ease); stroke: var(--tq); }
.ring.mid .fg { stroke: var(--tq-d); } .ring.lo .fg { stroke: #8A93A8; }
.ring b { position: absolute; inset: 0; display: grid; place-items: center; font: 800 calc(var(--rs) * .3)/1 var(--head); }
.ring b::after { content: "%"; font-size: .55em; margin-left: 1px; opacity: .6; }
.bar { height: 8px; border-radius: 99px; background: #ECEBE6; overflow: hidden; }
.bar > i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--tq), #3FD9BB); border-radius: 99px; transition: width 1s var(--ease); }
.bar.big { height: 10px; } .bar.big > i { transition-duration: 3.6s; transition-timing-function: cubic-bezier(.4,.1,.3,1); }

/* avatar */
.avatar { --s: 120px; position: relative; width: var(--s); height: var(--s); display: inline-block; flex: none; }
.avatar svg { width: 100%; height: 100%; display: block; animation: breathe 4.6s ease-in-out infinite; filter: drop-shadow(0 8px 16px rgba(10,143,120,.26)); }
.halo { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(18,185,154,.55); opacity: 0; pointer-events: none; }
.avatar[data-state=speaking] .halo { animation: halo 1.7s ease-out infinite; } .avatar[data-state=speaking] .h2 { animation-delay: .85s; }
.eye { transform-box: fill-box; transform-origin: center; animation: blink 5.2s infinite; }
.mouth { transform-box: fill-box; transform-origin: 50% 0; }
.avatar[data-state=speaking] .mouth { animation: talk .42s ease-in-out infinite alternate; }
.avatar .dots { position: absolute; left: 50%; bottom: -4px; transform: translateX(-50%); display: none; gap: 4px; background: #fff; padding: 5px 9px; border-radius: 99px; box-shadow: var(--shadow-s); }
.avatar[data-state=thinking] .dots { display: flex; }
.dots i, .tdots i { width: 5px; height: 5px; border-radius: 50%; background: var(--tq); animation: dot 1.1s ease-in-out infinite; } .dots i:nth-child(2), .tdots i:nth-child(2) { animation-delay: .15s; } .dots i:nth-child(3), .tdots i:nth-child(3) { animation-delay: .3s; }
.tdots { display: inline-flex; gap: 4px; padding: 4px 0; }

/* modal */
.modal-wrap { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: rgba(11,31,68,.38); opacity: 0; transition: opacity .22s; }
.modal-wrap.show { opacity: 1; }
.modal { width: min(440px, 100%); background: #fff; border-radius: 20px; padding: 28px; box-shadow: 0 24px 64px rgba(11,31,68,.25); transform: translateY(14px) scale(.98); transition: transform .35s var(--ease); }
.modal-wrap.show .modal { transform: none; }
.modal h3 { font-size: 20px; margin-bottom: 14px; }
.modal-ok { text-align: center; } .modal-ok p { color: var(--ink2); }
.okmark { width: 64px; height: 64px; border-radius: 50%; background: var(--tq-t); color: var(--tq-d); display: grid; place-items: center; margin: 0 auto 14px; animation: pop .6s var(--ease); }
.report { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 16px 0 20px; }
.report div { background: var(--bg); border-radius: 12px; padding: 10px 4px; } .report b { display: block; font: 800 20px var(--head); } .report span { font-size: 12px; color: var(--ink2); }
.sum { background: var(--bg); border-radius: 14px; padding: 14px 16px; } .sum > div:first-child span { display: block; color: var(--ink2); font-size: 13px; }
.sum-row { display: flex; justify-content: space-between; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.demo-note { margin: 14px 0; font-size: 13px; color: var(--amber-ink); background: var(--amber-t); padding: 8px 12px; border-radius: 10px; }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; }

/* ---------- landing ---------- */
.l-wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; } .l-wrap.narrow { max-width: 760px; }
.l-nav { position: sticky; top: 0; z-index: 20; background: rgba(247,246,242,.88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.l-nav .l-wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.l-nav nav { display: flex; gap: 26px; margin-left: 12px; flex: 1; } .l-nav nav a { font-weight: 500; color: var(--ink2); font-size: 14.5px; } .l-nav nav a:hover { color: var(--ink); }
.l-nav-cta { display: flex; gap: 8px; }
.hero { padding: 64px 0 80px; background: radial-gradient(900px 420px at 85% -10%, var(--tq-t), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(34px, 4.6vw, 54px); margin: 18px 0 18px; } .hero h1 em { font-style: normal; color: var(--tq-d); }
.lead { font-size: 17px; color: var(--ink2); max-width: 540px; }
.benefits { margin: 22px 0 28px; display: grid; gap: 10px; } .benefits li { display: flex; gap: 10px; align-items: flex-start; } .benefits .ic { color: var(--tq-d); background: var(--tq-t); border-radius: 50%; padding: 3px; margin-top: 1px; }
.stats { display: flex; gap: 36px; padding-top: 22px; border-top: 1px solid var(--line); max-width: 480px; }
.stats b { display: block; font: 800 28px var(--head); } .stats span { color: var(--ink2); font-size: 13px; }
.auth { padding: 26px; box-shadow: var(--shadow); } .tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--bg); border-radius: 12px; padding: 4px; margin-bottom: 18px; }
.tabs button { border: 0; background: transparent; padding: 9px; border-radius: 9px; font-weight: 600; color: var(--ink2); transition: all .2s var(--ease); } .tabs button.on { background: #fff; color: var(--ink); box-shadow: var(--shadow-s); }
.form { display: grid; gap: 14px; } .form[hidden] { display: none; }
.form label, fieldset legend { font-size: 13px; font-weight: 600; color: var(--ink2); display: grid; gap: 6px; }
.form input[type=text], .form input[type=email], .form input[type=password], .form input:not([type]) { border: 1px solid var(--line); border-radius: 10px; padding: 11px 13px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.form input:focus { outline: 0; border-color: var(--tq); box-shadow: 0 0 0 3px var(--tq-t); }
fieldset { border: 0; padding: 0; margin: 0; } .seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 6px; }
.seg label { display: block; } .seg input { position: absolute; opacity: 0; } .seg span { display: block; text-align: center; padding: 9px 4px; border: 1px solid var(--line); border-radius: 10px; font-size: 13px; font-weight: 500; color: var(--ink); cursor: pointer; transition: all .2s; }
.seg input:checked + span { background: var(--tq-t); border-color: var(--tq); color: var(--tq-d); font-weight: 600; } .seg input:focus-visible + span { outline: 2px solid var(--tq); }
.auth-foot { margin-top: 16px; display: flex; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--ink2); flex-wrap: wrap; } .auth-foot a { color: var(--tq-d); font-weight: 600; }
.l-sec { padding: 84px 0; } .l-sec.alt { background: #fff; border-block: 1px solid var(--line); }
.l-head { text-align: center; margin-bottom: 44px; } .l-head h2 { font-size: clamp(26px, 3.2vw, 36px); margin-top: 14px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step { padding: 24px; position: relative; } .step b { display: block; font: 700 17px var(--head); margin: 14px 0 6px; } .step p { color: var(--ink2); font-size: 14px; margin: 0; }
.step-ic { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--tq-t); color: var(--tq-d); }
.step-n { position: absolute; top: 18px; right: 20px; font: 800 28px var(--head); color: #E9E7E0; }
.aud { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; } .aud-card { padding: 28px; } .aud-card > .ic { color: var(--tq-d); }
.aud-card h3 { font-size: 20px; margin: 14px 0 8px; } .aud-card p { color: var(--ink2); } .aud-card li { padding: 6px 0 6px 22px; position: relative; font-size: 14px; border-top: 1px solid var(--line); }
.aud-card li::before { content: ""; position: absolute; left: 2px; top: 14px; width: 8px; height: 8px; border-radius: 50%; background: var(--tq); }
.edu-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; } .edu { padding: 22px; display: grid; gap: 8px; align-content: start; } .edu b { font: 700 17px var(--head); }
.edu-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 4px; } .faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; } .faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { transition: transform .3s var(--ease); color: var(--ink2); } .faq details[open] summary .ic { transform: rotate(90deg); } .faq p { color: var(--ink2); margin: 10px 0 0; }
.l-foot { padding: 28px 0; border-top: 1px solid var(--line); color: var(--ink2); font-size: 13px; } .l-foot .l-wrap { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; } .l-foot a { color: var(--tq-d); font-weight: 600; margin-left: auto; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); } .reveal.in { opacity: 1; transform: none; }

/* ---------- onboarding ---------- */
.ob { min-height: 100vh; } .ob-top { background: rgba(247,246,242,.9); border-bottom: 1px solid var(--line); } .ob-top .l-wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.stepper { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; align-items: center; }
.stepper li { display: flex; align-items: center; gap: 8px; color: var(--ink2); font-size: 14px; font-weight: 500; }
.stepper li + li::before { content: ""; width: 36px; height: 2px; background: var(--line); margin-right: 6px; border-radius: 2px; transition: background .4s; }
.stepper li.done + li::before, .stepper li.current::before { background: var(--tq); }
.stepper i { font-style: normal; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line); background: #fff; font-size: 12px; font-weight: 700; transition: all .3s var(--ease); }
.stepper li.current { color: var(--ink); font-weight: 600; } .stepper li.current i { border-color: var(--tq); color: var(--tq-d); background: var(--tq-t); } .stepper li.done i { background: var(--tq); border-color: var(--tq); color: #fff; }
.ob-main { max-width: 760px; margin: 0 auto; padding: 40px 20px 80px; }
.ob-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); padding: 36px; } .ob-card h1 { font-size: 30px; margin-bottom: 8px; } .ob-card .lead { margin-bottom: 22px; }
.drop { display: grid; place-items: center; gap: 4px; text-align: center; border: 2px dashed #CFCDC4; border-radius: 18px; padding: 38px 20px; cursor: pointer; background: var(--bg); color: var(--ink2); transition: all .25s var(--ease); }
.drop .ic { color: var(--tq-d); } .drop b { color: var(--ink); font-size: 16px; } .drop:hover, .drop.over { border-color: var(--tq); background: var(--tq-t); transform: scale(1.01); }
.or { display: flex; align-items: center; gap: 12px; margin: 22px 0 14px; color: var(--ink2); font-size: 13px; } .or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.samples { display: grid; gap: 10px; } .samples > b { font-size: 14px; }
.sample { display: flex; align-items: center; gap: 14px; padding: 14px 16px; text-align: left; width: 100%; font-weight: 400; } .sample div { flex: 1; } .sample b { display: block; font: 700 15px var(--head); } .sample span:not(.s-av) { color: var(--ink2); font-size: 13px; }
.s-av { width: 40px; height: 40px; border-radius: 50%; background: var(--tq-t); color: var(--tq-d); display: grid; place-items: center; font: 800 16px var(--head); }
.scan { text-align: center; }
.doc { position: relative; width: 240px; margin: 14px auto 22px; padding: 16px; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; text-align: left; }
.doc-name { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; margin-bottom: 12px; word-break: break-all; }
.ln { display: block; height: 7px; border-radius: 4px; background: #E4E2DA; margin: 8px 0; } .ln:nth-child(even) { width: 80%; } .ln:nth-child(3n) { width: 60%; }
.beam { position: absolute; left: 0; right: 0; height: 36px; top: -36px; background: linear-gradient(transparent, rgba(18,185,154,.28), transparent); animation: beam 1.3s linear infinite; }
.scan.done .beam { display: none; } .scan.done .doc { opacity: .6; transform: scale(.95); transition: all .4s var(--ease); }
.found { font-size: 16px; color: var(--ink2); margin: 0 0 6px; } .found b { color: var(--tq-d); font: 800 22px var(--head); } .found-chips { justify-content: center; margin: 14px 0 24px; }
.pop { animation: pop .45s var(--ease) both; }
.ob-chat { display: grid; justify-items: center; gap: 22px; } .big-av { margin-top: 6px; }
.chat-card { width: 100%; display: flex; flex-direction: column; border-radius: 22px; box-shadow: var(--shadow); }
.chat-card .msgs { min-height: 150px; max-height: 340px; padding: 22px 22px 6px; }
.analyze { text-align: center; } .analyze .lead { margin: 0 auto 22px; }
.an-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 26px 0 8px; } .an-stats div { background: var(--bg); border-radius: 14px; padding: 16px 6px; } .an-stats b { display: block; font: 800 34px var(--head); color: var(--tq-d); } .an-stats span { font-size: 13px; color: var(--ink2); }
.analyze .chips { justify-content: center; min-height: 36px; margin-bottom: 20px; }

/* chat (shared) */
.msgs { overflow-y: auto; display: flex; flex-direction: column; gap: 10px; scroll-behavior: smooth; }
.msg { max-width: 88%; padding: 10px 14px; border-radius: 16px; font-size: 14.5px; line-height: 1.5; white-space: pre-wrap; animation: rise .35s var(--ease); }
.msg.coach { background: var(--tq-t); border-bottom-left-radius: 5px; align-self: flex-start; } .msg.user { background: var(--ink); color: #fff; border-bottom-right-radius: 5px; align-self: flex-end; }
.qr { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 22px; } .qr:empty { display: none; }
.composer { display: flex; gap: 8px; padding: 12px 16px 16px; border-top: 1px solid var(--line); }
.composer input { flex: 1; border: 1px solid var(--line); border-radius: 12px; padding: 11px 14px; background: var(--bg); min-width: 0; } .composer input:focus { outline: 0; border-color: var(--tq); background: #fff; }
.composer button { width: 44px; border: 0; border-radius: 12px; background: var(--tq); color: #fff; display: grid; place-items: center; } .composer button:disabled { background: var(--line); }

/* ---------- shell ---------- */
.shell { display: grid; grid-template-columns: 232px minmax(0, 1fr) 380px; min-height: 100vh; transition: grid-template-columns .4s var(--ease); }
body.coach-collapsed .shell { grid-template-columns: 232px minmax(0, 1fr) 72px; }
.side { position: sticky; top: 0; height: 100vh; padding: 22px 14px; display: flex; flex-direction: column; gap: 22px; border-right: 1px solid var(--line); background: #fff; }
.side .logo { padding: 0 8px; } .side nav { display: grid; gap: 2px; }
.side nav a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; color: var(--ink2); font-weight: 500; transition: all .2s var(--ease); } .side nav a:hover { background: var(--bg); color: var(--ink); }
.side nav a.on { background: var(--tq-t); color: var(--tq-d); font-weight: 600; } .side .short { display: none; }
.side-foot { margin-top: auto; display: grid; gap: 10px; } .me { display: flex; gap: 10px; align-items: center; padding: 10px; border-radius: 14px; background: var(--bg); } .me b { display: block; font-size: 14px; } .me span { font-size: 12px; color: var(--ink2); }
.side-btn { display: flex; align-items: center; gap: 10px; border: 0; background: transparent; padding: 8px 12px; border-radius: 10px; color: var(--ink2); font-weight: 500; } .side-btn:hover { background: var(--bg); color: var(--ink); }
.reset { font-size: 12px; color: var(--ink2); padding: 0 12px; text-decoration: underline; text-underline-offset: 3px; }
.center { min-width: 0; } .topbar { display: flex; justify-content: flex-end; padding: 16px 32px 0; }
.page { padding: 8px 32px 64px; max-width: 980px; margin: 0 auto; }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin: 10px 0 26px; flex-wrap: wrap; } .page-head h1 { font-size: 30px; } .page-head p { color: var(--ink2); margin: 6px 0 0; }
.strength { padding: 14px 18px; min-width: 250px; } .st-top { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; color: var(--ink2); margin-bottom: 8px; } .st-num { font: 800 22px var(--head); color: var(--ink); } .strength small { display: block; margin-top: 8px; color: var(--ink2); font-size: 12px; }
.sec { margin-bottom: 38px; } .sec-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 14px; } .sec-head h2 { font-size: 19px; } .sec-head p { margin: 4px 0 0; color: var(--ink2); font-size: 13.5px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } .grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.hscroll { display: flex; gap: 16px; overflow-x: auto; padding: 4px 4px 16px; margin: -4px -4px 0; scroll-snap-type: x proximity; } .hscroll .job-card { flex: 0 0 320px; scroll-snap-align: start; }
.card[style*="--i"] { animation: rise .55s var(--ease) both; animation-delay: calc(var(--i) * 70ms); }
.job-card { display: block; padding: 18px; } .jc-top { display: flex; gap: 12px; align-items: center; } .jc-t { flex: 1; min-width: 0; } .jc-t b { display: block; font: 700 15.5px/1.25 var(--head); } .jc-t span { font-size: 13px; color: var(--ink2); }
.why { display: grid; gap: 5px; margin: 4px 0 4px; } .why li { display: flex; gap: 8px; font-size: 13px; color: var(--ink2); } .why .ic { color: var(--tq-d); margin-top: 2px; }
.course-card { padding: 18px; display: flex; flex-direction: column; gap: 6px; } .cc-top { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; } .cc-top b { font: 700 15px/1.3 var(--head); } .course-card .muted { display: flex; align-items: center; gap: 4px; }
.gain { margin-top: 6px; background: var(--amber-t); border-radius: 10px; padding: 8px 12px; font-size: 13px; color: var(--amber-ink); } .gain b { font-family: var(--head); font-size: 15px; } .gain b.up { color: var(--tq-d); } .gain small { display: block; opacity: .8; font-size: 12px; }
.cc-foot { margin-top: auto; padding-top: 10px; display: flex; justify-content: space-between; align-items: center; } .cc-foot strong { font: 800 17px var(--head); }
.app-row { border-bottom: 1px solid var(--line); } .app-row:last-child { border: 0; }
.app-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; } .app-head div { flex: 1; min-width: 0; } .app-head b { display: block; font-size: 14.5px; } .app-head span { font-size: 13px; color: var(--ink2); }
.pill { font-size: 12px; font-weight: 600; padding: 4px 11px; border-radius: 99px; background: #F0EFEA; color: var(--ink2); white-space: nowrap; } .pill.s1 { background: var(--tq-t); color: var(--tq-d); } .pill.s2 { background: var(--tq); color: #fff; }
.stack { display: grid; gap: 14px; } .app-card { padding: 4px 0 8px; }
.tl { display: flex; margin: 4px 24px 14px; padding: 0; list-style: none; } .tl li { flex: 1; position: relative; text-align: center; font-size: 12.5px; color: var(--ink2); padding-top: 30px; }
.tl li::before { content: ""; position: absolute; top: 11px; left: -50%; width: 100%; height: 2px; background: var(--line); } .tl li:first-child::before { display: none; } .tl li.done::before, .tl li.current::before { background: var(--tq); }
.tl i { position: absolute; top: 0; left: 50%; margin-left: -12px; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 2px solid var(--line); display: grid; place-items: center; z-index: 1; color: #fff; }
.tl li.done i { background: var(--tq); border-color: var(--tq); } .tl li.current i { background: var(--tq); border-color: var(--tq-t); box-shadow: 0 0 0 4px var(--tq-t); } .tl li.current, .tl li.done { color: var(--ink); font-weight: 600; }
.filters { display: flex; gap: 16px; align-items: flex-end; padding: 14px 18px; margin-bottom: 20px; flex-wrap: wrap; } .filters label { display: grid; gap: 4px; font-size: 12px; font-weight: 600; color: var(--ink2); }
select, textarea { border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; background: #fff; } select:focus, textarea:focus { outline: 0; border-color: var(--tq); box-shadow: 0 0 0 3px var(--tq-t); }
.check { display: flex !important; align-items: center; gap: 8px !important; font-size: 14px !important; color: var(--ink) !important; font-weight: 500 !important; } .check input { accent-color: var(--tq); width: 17px; height: 17px; }
.back { display: inline-flex; align-items: center; gap: 4px; color: var(--ink2); font-size: 14px; margin: 10px 0 14px; } .back .ic { transform: rotate(180deg); } .back:hover { color: var(--ink); }
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 18px; align-items: start; }
.d-main { padding: 28px; } .d-main h3 { margin: 22px 0 8px; } .d-main p { color: var(--ink2); } .d-head { display: flex; gap: 14px; align-items: center; margin-bottom: 6px; } .d-head h1 { font-size: 24px; } .d-head span { color: var(--ink2); }
.plain { display: grid; gap: 6px; } ul.plain li { padding-left: 18px; position: relative; color: var(--ink2); } ul.plain li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--tq); }
.d-side { padding: 22px; position: sticky; top: 16px; } .d-score { display: flex; gap: 14px; align-items: center; } .d-score b { display: block; font: 700 15px var(--head); } .d-score span { font-size: 12.5px; color: var(--ink2); }
.breakdown { display: grid; gap: 12px; margin: 20px 0 6px; } .brow { display: grid; grid-template-columns: 56px 1fr 40px; gap: 10px; align-items: center; font-size: 13px; color: var(--ink2); } .brow b { color: var(--ink); text-align: right; }
.d-side .btn { margin-top: 20px; } .ok-line { color: var(--tq-d); font-weight: 500; margin: 16px 0 0; }
.pf { padding: 28px; display: grid; gap: 22px; } .pf-user { display: flex; gap: 14px; align-items: center; } .pf-user b { display: block; font: 700 17px var(--head); } .pf-user span, .pf-user small { display: block; color: var(--ink2); font-size: 13px; }
.pf-block h3 { margin-bottom: 6px; } textarea { width: 100%; resize: vertical; line-height: 1.5; }
.chip-input { border: 1px dashed #CFCDC4; border-radius: 99px; padding: 5px 12px; font-size: 13px; width: 120px; background: transparent; } .chip-input:focus { outline: 0; border-color: var(--tq); background: #fff; }
.pf-row { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; padding-top: 16px; border-top: 1px solid var(--line); } .pf-row > label:first-child { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 13px; color: var(--ink2); }

/* coach panel */
.coach { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; background: #fff; border-left: 1px solid var(--line); overflow: hidden; }
.coach-head { display: flex; align-items: center; gap: 10px; padding: 14px 14px 14px 18px; border-bottom: 1px solid var(--line); }
.coach-id { flex: 1; } .coach-id b { display: block; font: 800 16px var(--head); } .coach-id small { color: var(--ink2); font-size: 12px; }
.coach-av .avatar svg { animation-duration: 5s; }
.coach-body { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.coach .msgs { flex: 1; padding: 16px 16px 6px; } .coach .qr { padding: 8px 16px; } .coach .composer { padding: 12px 14px 16px; }
.coach-rail { display: none; border: 0; background: transparent; padding: 16px 0; width: 100%; justify-content: center; }
body.coach-collapsed .coach-head, body.coach-collapsed .coach-body { display: none; } body.coach-collapsed .coach-rail { display: flex; }
.coach-fab, .sheet-backdrop { display: none; }

/* ---------- motion ---------- */
.fade-in { animation: rise .5s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes pop { 0% { opacity: 0; transform: scale(.7); } 60% { transform: scale(1.06); } 100% { opacity: 1; transform: none; } }
@keyframes breathe { 50% { transform: scale(1.035); } }
@keyframes blink { 0%, 94%, 100% { transform: scaleY(1); } 97% { transform: scaleY(.1); } }
@keyframes talk { from { transform: scaleY(.7); } to { transform: scaleY(1.7); } }
@keyframes halo { 0% { opacity: .7; transform: scale(1); } 100% { opacity: 0; transform: scale(1.45); } }
@keyframes dot { 0%, 80%, 100% { transform: translateY(0); opacity: .45; } 40% { transform: translateY(-4px); opacity: 1; } }
@keyframes beam { to { top: 100%; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1180px) { .steps { grid-template-columns: repeat(2, 1fr); } .grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .shell { grid-template-columns: 200px minmax(0, 1fr) 340px; } body.coach-collapsed .shell { grid-template-columns: 200px minmax(0, 1fr) 72px; } .detail { grid-template-columns: 1fr; } .d-side { position: static; } }
@media (max-width: 900px) {
  .l-nav nav { display: none; } .l-nav .l-wrap { gap: 12px; justify-content: space-between; } .l-nav-cta .ghost { display: none; }
  .hero { padding: 36px 0 52px; } .hero-grid { grid-template-columns: 1fr; gap: 32px; } .aud, .edu-strip { grid-template-columns: 1fr; } .l-sec { padding: 56px 0; }
  .stepper li span { display: none; } .stepper li + li::before { width: 18px; } .ob-card { padding: 24px 20px; } .ob-main { padding-top: 24px; }
  .shell, body.coach-collapsed .shell { display: block; }
  .side { position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; top: auto; height: auto; flex-direction: row; padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); border-right: 0; border-top: 1px solid var(--line); gap: 0; }
  .side .logo, .side-foot { display: none; } .side nav { display: grid; grid-template-columns: repeat(6, 1fr); width: 100%; }
  .side nav a { flex-direction: column; gap: 2px; padding: 6px 2px; font-size: 11px; text-align: center; } .side .full { display: none; } .side .short { display: block; }
  .topbar { padding: 12px 16px 0; } .page { padding: 4px 16px 120px; } .page-head { align-items: flex-start; } .page-head h1 { font-size: 26px; } .strength { width: 100%; }
  .grid2, .grid3 { grid-template-columns: 1fr; } .hscroll .job-card { flex-basis: 280px; } .d-main { padding: 20px; }
  .coach, body.coach-collapsed .coach { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; top: auto; height: min(78vh, 640px); border: 0; border-radius: 22px 22px 0 0; box-shadow: 0 -12px 40px rgba(11,31,68,.2); transform: translateY(105%); transition: transform .4s var(--ease); }
  body.coach-sheet .coach { transform: none; }
  body.coach-collapsed .coach-head, body.coach-collapsed .coach-body { display: flex; } body.coach-collapsed .coach-body { flex-direction: column; } body.coach-collapsed .coach-rail, .coach-head [data-act=collapse] { display: none; }
  .only-mobile { display: grid; }
  .coach-fab { display: grid; place-items: center; position: fixed; z-index: 40; right: 16px; bottom: 82px; width: 58px; height: 58px; border: 0; border-radius: 50%; background: #fff; box-shadow: var(--shadow); padding: 0; } body.coach-sheet .coach-fab { display: none; }
  .coach-fab .avatar { --s: 48px !important; } .unread { display: none; position: absolute; top: 2px; right: 2px; width: 12px; height: 12px; border-radius: 50%; background: var(--amber); border: 2px solid #fff; } body.coach-unread .unread { display: block; }
  body.coach-sheet .sheet-backdrop { display: block; position: fixed; inset: 0; z-index: 50; background: rgba(11,31,68,.35); }
  .tl { margin: 4px 12px 14px; }
}
@media (max-width: 480px) { .l-wrap { padding: 0 16px; } .stats { gap: 22px; } .an-stats b { font-size: 26px; } }
