.c-head { position: sticky; top: 0; z-index: 30; background: var(--navy); color: var(--paper); display: flex; align-items: center; gap: 10px; padding: 10px 18px; flex-wrap: wrap; }
.c-head .title { font-family: var(--display); font-weight: 600; font-size: 18px; color: #fff; }
.c-head .code { font-family: var(--mono); font-weight: 600; letter-spacing: .14em; background: var(--navy-2); border: 1px solid var(--navy-3); border-radius: 8px; padding: 4px 10px; }
.c-head .btn.secondary { background: var(--navy-2); color: #fff; border-color: var(--navy-3); }
.c-head .btn.secondary.on { background: var(--accent); color: #fff; border-color: var(--accent); }
.c-main { max-width: 1500px; margin: 0 auto; padding: 18px; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(360px, 1fr); gap: 18px; align-items: start; }
@media (max-width: 980px) { .c-main { grid-template-columns: 1fr; } }
.nav { display: grid; grid-template-columns: 1fr 2fr; gap: 10px; }
.nav .btn { min-height: 60px; font-size: 17px; }
.nav .next { background: var(--accent-d); color: #fff; }
.notes { white-space: pre-wrap; line-height: 1.5; font-size: 14px; max-height: 220px; overflow: auto; color: var(--muted); }
.script .segs { position: relative; max-height: 480px; overflow: auto; display: flex; flex-direction: column; gap: 10px; padding-right: 6px; scroll-behavior: smooth; }
.script .seg { border-left: 4px solid transparent; padding: 4px 0 4px 14px; transition: opacity .2s; }
.script .seg.now { border-color: var(--accent); }
.script .seg.done { opacity: .45; }
.script .seg p { margin: 0 0 10px; font-size: 17px; line-height: 1.55; }
.script .seg p:last-child { margin-bottom: 0; }
.script .cue { display: inline-block; font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; background: var(--navy); color: #fff; border-radius: 6px; padding: 3px 8px; margin-bottom: 8px; }
.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 14px; flex-wrap: wrap; }
.tabs button { border: 0; background: none; padding: 10px 12px; font-weight: 600; color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -1px; }
.tabs button.on { color: var(--ink); border-color: var(--accent); }
.section-title { font-family: var(--display); font-size: 17px; font-weight: 600; margin: 0 0 8px; }
.t-card { border: 1px solid var(--line); border-radius: 12px; padding: 12px; background: #fff; display: flex; flex-direction: column; gap: 8px; }
.t-card .head { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.cards-table { display: flex; flex-direction: column; gap: 8px; }
.cards-table .c { border-top: 1px dashed var(--line); padding-top: 8px; display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; font-size: 14px; }
.cards-table .c .v { color: var(--blue); font-weight: 600; }
.cards-table .c .model { grid-column: 1 / -1; color: var(--muted); font-size: 13px; }
.pts { display: inline-flex; gap: 4px; }
.pts button { min-width: 32px; height: 30px; border-radius: 8px; border: 1px solid var(--line); background: #fff; font-weight: 700; font-size: 13px; }
.pts button.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.pts button.sug { border-color: var(--accent); }
.outline { max-height: 70vh; overflow: auto; display: flex; flex-direction: column; gap: 2px; }
.outline .blk { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-d); margin: 12px 0 4px; }
.outline button { text-align: left; border: 0; background: none; padding: 7px 10px; border-radius: 8px; display: flex; gap: 10px; align-items: center; font-size: 14px; }
.outline button:hover { background: #fff; }
.outline button.cur { background: var(--navy); color: #fff; }
.outline .k { font-size: 11px; font-weight: 700; border-radius: 6px; padding: 1px 6px; background: var(--tint); color: var(--navy); }
.outline .k.activity, .outline .k.reveal { background: var(--tint-blue); color: var(--accent-dd); }
.people { display: flex; flex-direction: column; gap: 6px; }
.people .p { display: flex; gap: 8px; align-items: center; font-size: 14px; }
.people select { width: auto; padding: 4px 8px; font-size: 13px; border-radius: 8px; }
.home { max-width: 980px; margin: 0 auto; padding: 32px 18px; display: flex; flex-direction: column; gap: 22px; }
.home .hero { background: var(--glow), var(--navy); color: var(--paper); border-radius: 16px; padding: 28px; }
.home .hero h1 { color: #fff; font-size: 34px; }
.home .grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.countdown { font-family: var(--mono); font-weight: 600; background: var(--navy); color: #fff; border-radius: 8px; padding: 2px 8px; }
.countdown.soon { background: var(--warn); color: var(--navy); } .countdown.done { background: var(--bad); }
.next-hint { font-size: 13px; color: var(--muted); }
.c-head .brand-mark { width: 30px; height: 30px; border-radius: 8px; box-shadow: 0 0 0 1px var(--navy-3); }
.home .brandbar .brand-logo { height: 44px; }
