/* Layout: the app in a browser frame with three seats and a left rail clustered by stage: Intelligence, Positioning, Outreach.
   Tokens inside .app come from src/app/shell.ts in scout-connector. --acc is the partner's own color. */
:root {
  --display: "Newsreader", Georgia, serif; --body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --bg: #F7F8FA; --card: #fff; --ink: #0E1A2B; --muted: #5E687A; --line: #E2E6EC; --blue: #1F5EFF; --blue-soft: #EEF3FF;
  --ok: #0B7A4F; --ok-soft: #E6F6EF; --warn: #8A5A10; --warn-soft: #FBF1DF;
  --acc: #0E7C72; --acc-l: #62D6C9;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #0A111D; --card: #131E30; --ink: #EEF2F8; --muted: #9AA8BF; --line: #263650; --blue: #9DB6FF; --blue-soft: #1A2A4D;
  --ok: #3DD598; --ok-soft: #123426; --warn: #F2C14E; --warn-soft: #2E2612; color-scheme: dark;
} }
:root[data-theme="dark"] {
  --bg: #0A111D; --card: #131E30; --ink: #EEF2F8; --muted: #9AA8BF; --line: #263650; --blue: #9DB6FF; --blue-soft: #1A2A4D;
  --ok: #3DD598; --ok-soft: #123426; --warn: #F2C14E; --warn-soft: #2E2612; color-scheme: dark;
}
* { box-sizing: border-box; }
body { background: var(--bg); color: var(--ink); font: 400 15.5px/1.5 var(--body); -webkit-font-smoothing: antialiased; }
.page { max-width: 1500px; margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); padding-block: 28px 56px; }
h1, h2, h3, h4, p { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.eyebrow { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--muted); }
.intro h1 { font: 500 clamp(30px, 4.4vw, 46px)/1.06 var(--display); letter-spacing: -.012em; margin-top: 6px; text-wrap: balance; max-width: 22em; }
.intro p.sub { color: var(--muted); font-size: 16.5px; margin-top: 10px; max-width: 70ch; }
.seats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 20px; }
.seat { text-align: left; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 11px 14px; min-width: 0; }
.seat b { display: block; font-weight: 600; }
.seat span { display: block; color: var(--muted); font-size: 13.5px; line-height: 1.35; }
.seat[aria-selected="true"] { border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); background: var(--blue-soft); }
.frame { margin-top: 12px; border-radius: 14px; overflow: hidden; border: 1px solid #22324F; background: #08101D; }
.bar { display: flex; align-items: center; gap: 10px; padding: 9px 14px; border-bottom: 1px solid #22324F; color: #9AA8BF; font-size: 12.5px; min-width: 0; }
.bar i { width: 9px; height: 9px; border-radius: 50%; background: #2B3C5C; flex: none; }
.bar .url { background: #14223A; border-radius: 7px; padding: 3px 12px; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar .tagx { flex: none; font-weight: 600; font-size: 10.5px; letter-spacing: .08em; color: #F2C14E; }

.app { --d-bg: #0B1526; --d-card: #14223A; --d-line: #22324F; --d-ink: #EEF2F8; --d-muted: #9AA8BF; --d-green: #3DD598; --d-amber: #F2C14E; --d-red: #F4A0A0; --d-blue: #1F5EFF;
  color-scheme: dark; background: var(--d-bg); color: var(--d-ink); font-size: 15px; display: grid; grid-template-columns: 214px minmax(0, 1fr); min-height: 760px; }
.side { background: #08101D; border-right: 1px solid var(--d-line); padding: 20px 12px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mark { padding: 0 10px 14px; min-width: 0; }
.mark b { display: block; font-size: 17px; font-weight: 700; letter-spacing: -.015em; line-height: 1.2; overflow-wrap: anywhere; }
.mark b em { font-style: normal; color: #7C9DFF; }
.mark small { display: block; color: var(--d-muted); font-size: 11.5px; margin-top: 3px; }
.mark.brand b { color: var(--acc-l); }
.stage-h { padding: 15px 10px 4px; }
.stage-h b { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--acc-l); font-weight: 700; }
.stage-h small { display: block; font-size: 11.5px; color: var(--d-muted); line-height: 1.3; }
.nav { display: flex; align-items: center; gap: 10px; width: 100%; background: none; border: 0; text-align: left; color: var(--d-muted); padding: 7px 10px; border-radius: 9px; font-size: 14px; white-space: nowrap; }
.nav svg { flex: none; }
.nav:hover { color: var(--d-ink); }
.nav.on { background: var(--d-card); color: #fff; }
.badge { margin-left: auto; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--acc); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.side .pow.keep { margin-top: auto; }
.side .pow.keep + .pow { margin-top: 0; }
.side .pow { margin-top: auto; padding: 16px 10px 0; color: var(--d-muted); font-size: 11.5px; line-height: 1.35; }

.main { padding: 22px 24px 32px; min-width: 0; }
.screen { display: flex; flex-direction: column; gap: 13px; min-width: 0; }
.crumb { font-size: 11.5px; letter-spacing: .13em; text-transform: uppercase; color: var(--d-muted); font-weight: 600; }
.app h2 { font: 500 clamp(25px, 3vw, 34px)/1.1 var(--display); letter-spacing: -.01em; text-wrap: balance; }
.headrow { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 14px; }
.count { color: var(--d-muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.dsub { color: var(--d-muted); max-width: 72ch; font-size: 14.5px; }
.dcard { background: var(--d-card); border: 1px solid var(--d-line); border-radius: 15px; padding: 14px 15px; display: flex; flex-direction: column; gap: 9px; min-width: 0; }
.dcard.need { border-color: #6B5520; background: linear-gradient(180deg, #2E2612, var(--d-card) 85%); }
.dcard.hot { border-color: #2F7D5D; background: linear-gradient(180deg, #123426, var(--d-card) 80%); }
.dcard.coach { border-color: var(--acc); }
.k { font-size: 12px; font-weight: 600; color: var(--d-muted); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.k .r { margin-left: auto; font-weight: 400; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--d-amber); flex: none; }
.dcard h3 { font-size: 16px; font-weight: 600; line-height: 1.3; }
.mut { color: var(--d-muted); } .sm { font-size: 13px; line-height: 1.4; } .note { font-size: 12.5px; color: var(--d-muted); }
.g2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: start; }
.g3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: stretch; }
.g4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.rowb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.btn { border: 0; border-radius: 10px; background: #fff; color: #0E1A2B; font-weight: 600; min-height: 40px; padding: 0 15px; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; }
.btn.acc { background: var(--acc); color: #fff; }
.btn.gh { background: transparent; color: var(--d-ink); border: 1px solid var(--d-line); }
.btn.mini { min-height: 31px; padding: 0 10px; font-size: 12.5px; border-radius: 8px; }
.btn[disabled] { opacity: .5; cursor: default; }
.pill { display: inline-block; font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 999px; white-space: nowrap; background: #1F3050; color: #C9D6F2; }
.pill.g { background: #123426; color: var(--d-green); } .pill.a { background: #2E2612; color: var(--d-amber); } .pill.r { background: #3A1A1E; color: var(--d-red); }
.pill.c { background: color-mix(in srgb, var(--acc) 30%, #14223A); color: var(--acc-l); width: auto; height: auto; border-radius: 999px; }
.list { display: flex; flex-direction: column; }
.lrow { display: flex; gap: 11px; align-items: center; padding: 10px 0; border: 0; border-top: 1px solid var(--d-line); background: none; text-align: left; width: 100%; color: inherit; min-width: 0; }
.list > .lrow:first-child { border-top: 0; }
.lrow .tx { flex: 1; min-width: 0; }
.lrow .tx b { display: block; font-weight: 600; line-height: 1.3; }
.lrow .tx small { display: block; color: var(--d-muted); font-size: 12.5px; line-height: 1.35; }
.lrow .fit { color: var(--d-green); font-weight: 600; font-size: 12.5px; }
.lrow.sel { box-shadow: inset 3px 0 0 var(--acc-l); padding-left: 10px; }
.av { width: 31px; height: 31px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 700; color: #fff; background: #33508F; flex: none; }
.stagecard { text-align: left; color: inherit; cursor: pointer; }
.stagecard:hover { border-color: #3A5284; }
.stagecard .num { font: 500 30px/1 var(--display); font-variant-numeric: tabular-nums; }
.stagecard .sb { display: flex; gap: 16px; flex-wrap: wrap; }
.stagecard .sb small { display: block; color: var(--d-muted); font-size: 12px; }
.lab { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--acc-l); font-weight: 700; }
.fr { display: grid; grid-template-columns: minmax(0, 200px) minmax(40px, 1fr) 56px; gap: 12px; align-items: center; padding: 5px 0; font-size: 14px; }
.fr span small { display: block; color: var(--d-muted); font-size: 11.5px; line-height: 1.3; }
.fr .fb { display: block; height: 7px; border-radius: 4px; background: #1B2B47; overflow: hidden; }
.fr .fb i { display: block; height: 100%; background: #7C9DFF; border-radius: 4px; }
.fr.win .fb i { background: var(--d-green); }
.fr b { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.flip { perspective: 1400px; }
.flip-in { display: grid; transform-style: preserve-3d; transition: transform .55s cubic-bezier(.3,.7,.3,1); }
.flip-in > .face { grid-area: 1 / 1; backface-visibility: hidden; -webkit-backface-visibility: hidden; min-width: 0; }
.flip-in > .back { transform: rotateY(180deg); }
.flip.over .flip-in { transform: rotateY(180deg); }
.face.back { background: linear-gradient(170deg, #1A2C4D, var(--d-card) 60%); border-color: #35507F; }
.seg { display: inline-flex; border: 1px solid var(--d-line); border-radius: 999px; padding: 3px; align-self: flex-start; flex-wrap: wrap; }
.seg button { border: 0; background: transparent; color: var(--d-muted); padding: 5px 13px; font-size: 13px; font-weight: 600; border-radius: 999px; white-space: nowrap; }
.seg button[aria-pressed="true"] { background: #fff; color: #0E1A2B; }
.pair { display: grid; gap: 7px; }
.pair > div { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 10px; font-size: 14px; }
.pair .l { color: var(--d-muted); font-size: 12.5px; }
.chk { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.chk li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 8px; font-size: 14px; line-height: 1.4; }
.chk li::before { content: "✓"; color: var(--d-green); font-weight: 700; }
.chk.gap li::before { content: "?"; color: var(--d-amber); }
.tags { display: flex; flex-wrap: wrap; gap: 5px; }
.ring { width: 70px; height: 70px; border-radius: 50%; display: grid; place-items: center; font: 500 24px/1 var(--display); flex: none; background: radial-gradient(closest-side, var(--d-card) 78%, transparent 80%), conic-gradient(var(--d-green) calc(var(--v) * 1%), #1B2B47 0); }
.match { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: center; }
.chips { display: flex; flex-wrap: wrap; gap: 5px; }
.chip { background: transparent; border: 1px solid var(--d-line); color: var(--d-muted); border-radius: 999px; padding: 4px 10px; font-size: 12.5px; white-space: nowrap; }
.chip.on { background: #fff; border-color: #fff; color: #0E1A2B; font-weight: 600; }
.chg { display: flex; flex-direction: column; gap: 5px; padding: 10px 0; border-top: 1px solid var(--d-line); }
.chg:first-of-type { border-top: 0; }
.chg del { color: var(--d-muted); font-size: 13.5px; } .chg ins { text-decoration: none; font-size: 14.5px; }
.app textarea, .app input[type=text], .app input[type=number], .app input[type=search], .app select { width: 100%; background: #0E1A2E; color: var(--d-ink); border: 1px solid var(--d-line); border-radius: 9px; padding: 8px 10px; font: inherit; font-size: 14px; }
.app textarea { min-height: 76px; resize: vertical; line-height: 1.5; }
.fld { display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; color: var(--d-muted); font-weight: 500; min-width: 0; }
.sw { display: flex; align-items: flex-start; gap: 12px; padding: 8px 0; border-top: 1px solid var(--d-line); cursor: pointer; font-size: 14px; }
.sw:first-of-type { border-top: 0; }
.sw span { flex: 1; min-width: 0; }
.sw small { display: block; color: var(--d-muted); font-size: 12.5px; }
.sw input { appearance: none; width: 40px; height: 23px; border-radius: 999px; background: #3C4E70; position: relative; flex: none; margin: 0; cursor: pointer; }
.sw input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 17px; height: 17px; border-radius: 50%; background: #fff; transition: left .15s; }
.sw input:checked { background: var(--acc); } .sw input:checked::after { left: 20px; }
.tscroll { overflow-x: auto; }
.app table { border-collapse: collapse; width: 100%; font-size: 13.5px; min-width: 640px; }
.app th { text-align: left; color: var(--d-muted); font-size: 12px; font-weight: 600; padding: 7px 10px; border-bottom: 1px solid var(--d-line); white-space: nowrap; }
.app th.grp { color: var(--acc-l); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; text-align: center; border-left: 1px solid var(--d-line); }
.app td { padding: 9px 10px; border-bottom: 1px solid var(--d-line); vertical-align: middle; }
.app tr:last-child td { border-bottom: 0; }
.num { text-align: right !important; font-variant-numeric: tabular-nums; }
.linky { background: none; border: 0; padding: 0; color: var(--acc-l); font-weight: 600; text-align: left; }
.stat { background: var(--d-card); border: 1px solid var(--d-line); border-radius: 13px; padding: 12px 13px; min-width: 0; }
.stat b { display: block; font: 500 27px/1.1 var(--display); font-variant-numeric: tabular-nums; }
.stat span { color: var(--d-muted); font-size: 12.5px; line-height: 1.3; display: block; margin-top: 3px; }
.swatch { width: 34px; height: 34px; border-radius: 50%; border: 2px solid transparent; padding: 0; box-shadow: inset 0 0 0 2px #0B1526; }
.swatch[aria-pressed="true"] { border-color: #fff; }
.ph { color: var(--d-amber); }
.bubble { background: #0E1A2E; border: 1px solid var(--d-line); border-radius: 10px; padding: 8px 11px; font-size: 14px; max-width: 86%; }
.bubble.me { align-self: flex-end; background: color-mix(in srgb, var(--acc) 28%, #14223A); border-color: var(--acc); }
.bubble small { display: block; color: var(--d-muted); font-size: 11.5px; }
.thread { display: flex; flex-direction: column; gap: 6px; }
.send { display: flex; gap: 8px; } .send input { flex: 1; min-width: 0; }

/* Outreach */
.rules { font-size: 13px; color: var(--d-muted); border: 1px dashed var(--d-line); border-radius: 10px; padding: 9px 12px; } .rules b { color: var(--d-ink); }
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12.5px; color: var(--d-muted); } .legend span { display: inline-flex; gap: 6px; align-items: center; }
.c { display: inline-block; width: 13px; height: 13px; border-radius: 4px; }
.c.sent { background: var(--d-blue); } .c.sched { border: 1.5px dashed #6F86B8; } .c.rep { background: var(--d-green); } .c.pause { background: #3C4E70; }
.oj { background: var(--d-card); border: 1px solid var(--d-line); border-radius: 13px; overflow: hidden; }
.ot { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding: 12px 14px; width: 100%; border: 0; background: none; text-align: left; color: inherit; align-items: center; }
.ot b { font-size: 15px; } .ot small { grid-column: 1 / -1; color: var(--d-muted); font-size: 12.5px; }
.prog { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; font-size: 12.5px; color: var(--d-muted); }
.pb { height: 6px; border-radius: 3px; background: #1E2E4C; overflow: hidden; } .pb i { display: block; height: 100%; background: var(--d-blue); }
.oplan { padding: 11px 14px 0; border-top: 1px solid var(--d-line); font-size: 14px; }
.octl { display: flex; gap: 16px; flex-wrap: wrap; padding: 11px 14px; align-items: flex-end; }
.octl .lb { display: block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--d-muted); margin-bottom: 3px; }
.ogrid { overflow-x: auto; border-top: 1px solid var(--d-line); }
.ogrid table { min-width: 620px; }
.ogrid th, .ogrid td { padding: 6px 8px; text-align: center; }
.ogrid th:first-child { text-align: left; }
.ogrid th[scope=row] { position: sticky; left: 0; background: var(--d-card); z-index: 1; color: var(--d-ink); font-size: 13px; text-align: left; }
.ogrid th[scope=row] small { display: block; color: var(--d-muted); font-size: 11px; font-weight: 400; }
.cell { display: grid; width: 100%; min-width: 62px; border: 0; padding: 4px 6px; border-radius: 6px; font-size: 12px; font-weight: 700; line-height: 1.25; text-align: center; background: none; }
.cell small { font-size: 10.5px; font-weight: 600; opacity: .9; }
.cell.sent { background: var(--d-blue); color: #fff; } .cell.rep { background: var(--d-green); color: #0B1526; }
.cell.sched { border: 1.5px dashed #6F86B8; color: #C9D6F2; } .cell.pause { background: #3C4E70; color: #C9D6F2; }
.cell[aria-pressed="true"] { box-shadow: 0 0 0 2px #fff; }
.odet { border-top: 1px solid var(--d-line); padding: 13px 14px; display: flex; flex-direction: column; gap: 8px; background: #101C31; font-size: 14px; }
.body { white-space: pre-wrap; font-size: 14px; line-height: 1.55; }
.meta { font-size: 12.5px; color: var(--d-muted); }

/* Inbox */
.ib { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); gap: 12px; align-items: start; }
.iblist { background: var(--d-card); border: 1px solid var(--d-line); border-radius: 13px; overflow: hidden; max-height: 720px; overflow-y: auto; }
.ibi { display: grid; grid-template-columns: 9px minmax(0, 1fr) auto; gap: 2px 9px; padding: 10px 12px; width: 100%; border: 0; border-bottom: 1px solid var(--d-line); background: none; text-align: left; color: inherit; }
.ibi:last-child { border-bottom: 0; } .ibi[aria-current="true"] { background: #1A2B48; }
.ibd { width: 8px; height: 8px; border-radius: 50%; margin-top: 6px; } .ibi.un .ibd { background: var(--acc-l); }
.ibi b { font-size: 13.5px; font-weight: 600; line-height: 1.35; } .ibi small { grid-column: 2 / -1; color: var(--d-muted); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ibi time { font-size: 11.5px; color: var(--d-muted); white-space: nowrap; }
.tg { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 1px 6px; border-radius: 4px; margin-right: 6px; background: #1E2E4C; color: #C9D6F2; }
.tg.reply { background: #133A2B; color: var(--d-green); } .tg.scout { background: #3A3015; color: var(--d-amber); }
.ibr { background: var(--d-card); border: 1px solid var(--d-line); border-radius: 13px; padding: 15px; display: flex; flex-direction: column; gap: 9px; min-width: 0; }
.ibr h3 { font-size: 16px; font-weight: 600; line-height: 1.3; } .ibr .body { border-top: 1px solid var(--d-line); padding-top: 9px; }

/* Showcase thumbs and the Studio */
.scg { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.sc { background: var(--d-card); border: 1px solid var(--d-line); border-radius: 13px; overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.sc .pic { aspect-ratio: 16 / 10; background: #05090F center top / cover no-repeat; border: 0; padding: 0; width: 100%; display: block; }
.sc .m { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.sc .m b { font-size: 14px; line-height: 1.3; } .sc .m small { color: var(--d-muted); font-size: 12.5px; line-height: 1.35; }
.main.wide { padding: 16px; }
.studio { display: grid; grid-template-columns: 268px minmax(0, 1fr) 306px; gap: 12px; align-items: start; }
.stc { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.scol-h { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--d-muted); font-weight: 700; }
.angles { display: flex; flex-direction: column; gap: 3px; }
.angrow { display: flex; gap: 6px; align-items: center; min-width: 0; }
.angrow .ang { flex: 1; min-width: 0; }
.ang { display: flex; gap: 8px; align-items: center; background: none; border: 1px solid transparent; border-radius: 8px; padding: 6px 8px; text-align: left; font-size: 13.5px; color: var(--d-ink); width: 100%; }
.ang span:first-child { flex: 1; min-width: 0; }
.ang.on { background: #1A2B48; border-color: #35507F; font-weight: 600; }
.stage { background: #05090F; border: 1px solid var(--d-line); border-radius: 13px; padding: 10px; min-width: 0; display: flex; flex-direction: column; gap: 9px; }
.stagebar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.view { height: 720px; overflow-y: auto; border-radius: 8px; background: #111; }
.view img { display: block; width: 100%; height: auto; }
.view.ph { width: min(100%, 390px); margin-inline: auto; }
.empty { height: 100%; min-height: 320px; display: grid; place-items: center; text-align: center; padding: 24px; color: var(--d-muted); }
.empty div { max-width: 40ch; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.big { aspect-ratio: 16/10; width: 100%; background-repeat: no-repeat; }
.tpgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; max-height: 588px; overflow-y: auto; padding-right: 2px; }
.tp { background: none; border: 1px solid var(--d-line); border-radius: 9px; overflow: hidden; padding: 0; text-align: left; color: inherit; display: flex; flex-direction: column; min-width: 0; }
.tp.on { border-color: var(--acc-l); box-shadow: 0 0 0 1px var(--acc-l); }
.tp i { display: block; aspect-ratio: 16/10; background-repeat: no-repeat; background-color: #05090F; }
.tp b { display: block; padding: 5px 7px 1px; font-size: 12px; font-weight: 600; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tp small { display: block; padding: 0 7px 6px; font-size: 11px; color: var(--d-muted); }

/* The plan under the frame */
.plan { display: flex; flex-direction: column; gap: 32px; margin-top: 34px; }
.plan h2 { font: 500 clamp(23px, 2.8vw, 30px)/1.12 var(--display); text-wrap: balance; }
.plan .lede { color: var(--muted); margin-top: 4px; max-width: 72ch; }
.tri { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 13px; }
.tri > div, .tri > button { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px; min-width: 0; text-align: left; }
.tri h3 { font-size: 16px; font-weight: 600; }
.tri .e { display: block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-bottom: 3px; }
.tri p { color: var(--muted); font-size: 14.5px; margin-top: 4px; }
.tri ul { margin: 7px 0 0; padding-left: 17px; color: var(--muted); font-size: 14.5px; display: flex; flex-direction: column; gap: 3px; }
.tri .lead { border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.tw { margin-top: 13px; overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.tw table { border-collapse: collapse; width: 100%; min-width: 620px; font-size: 14.5px; }
.tw th { text-align: left; font-size: 12.5px; color: var(--muted); padding: 10px 14px; border-bottom: 1px solid var(--line); }
.tw td { padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tw tr:last-child td { border-bottom: 0; } .tw td:first-child { font-weight: 600; }
.tagp { display: inline-block; font-size: 12px; font-weight: 600; padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.st-live { color: var(--ok); background: var(--ok-soft); } .st-new { color: var(--warn); background: var(--warn-soft); } .st-part { color: var(--blue); background: var(--blue-soft); }
.flow4 { list-style: none; margin: 13px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.flow4 li { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 13px; min-width: 0; }
.flow4 b { display: block; } .flow4 span { color: var(--muted); font-size: 14px; line-height: 1.4; display: block; margin-top: 3px; }
.flags { list-style: none; margin: 13px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.flags li { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px; min-width: 0; }
.flags li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.flags h3 { font-size: 16px; font-weight: 600; line-height: 1.3; } .flags p { color: var(--muted); font-size: 14.5px; margin-top: 4px; } .flags p.fix { color: var(--ink); }
.source { color: var(--muted); font-size: 13.5px; margin-top: 12px; }

/* The engine, sortable lists, pop-overs and the calendar */
.engine { background: linear-gradient(135deg, color-mix(in srgb, var(--acc) 34%, #14223A), var(--d-card) 70%); border-color: var(--acc); }
.engine h3 { font: 500 23px/1.15 var(--display); }
.pipe { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; font-size: 12px; color: var(--d-muted); }
.pipe span { background: #0E1A2E; border: 1px solid var(--d-line); border-radius: 999px; padding: 3px 9px; white-space: nowrap; }
.addbtn { margin: 0 2px 8px; width: calc(100% - 4px); flex: none; }
.ctl { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; }
.ctl .fld { flex: 0 1 auto; }
.ctl .fld.grow { flex: 1 1 200px; }
.ctl select { width: auto; max-width: 180px; }
.ctlnote { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; }
.bulk { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; background: color-mix(in srgb, var(--acc) 22%, #14223A); border: 1px solid var(--acc); border-radius: 10px; padding: 7px 11px; font-size: 13.5px; }
.tbl-wrap { background: var(--d-card); border: 1px solid var(--d-line); border-radius: 13px; overflow-x: auto; }
.app .tbl-wrap table { min-width: 900px; }
.app .tbl-wrap td, .app .tbl-wrap th { padding: 9px 11px; }
.sorth { background: none; border: 0; padding: 0; color: inherit; font-weight: 600; font-size: 12px; white-space: nowrap; }
.sorth[aria-sort-on="true"] { color: #fff; }
.sorth i { font-style: normal; color: var(--acc-l); margin-left: 3px; }
tr[data-row] { cursor: pointer; }
tr[data-row]:hover td { background: #1A2B48; }
.emptyrow { padding: 26px; text-align: center; color: var(--d-muted); }
.app input[type=checkbox].pk { width: 16px; height: 16px; accent-color: var(--acc); }
.app input[type=date], .app input[type=time] { background: #0E1A2E; color: var(--d-ink); border: 1px solid var(--d-line); border-radius: 9px; padding: 7px 9px; font: inherit; font-size: 14px; color-scheme: dark; }
.pop { position: fixed; inset: 0; z-index: 50; background: rgba(4, 9, 18, .72); display: grid; place-items: center; padding: max(14px, env(safe-area-inset-top, 0px)) max(14px, env(safe-area-inset-right, 0px)) max(14px, env(safe-area-inset-bottom, 0px)) max(14px, env(safe-area-inset-left, 0px)); }
.popbox { width: min(1040px, 100%); max-height: calc(100vh - 28px); overflow-y: auto; background: var(--d-bg); border: 1px solid #35507F; border-radius: 16px; display: flex; flex-direction: column; min-width: 0; outline: none; }
.popbox.sm { width: min(620px, 100%); }
.pophead { position: sticky; top: 0; z-index: 3; background: var(--d-bg); border-bottom: 1px solid var(--d-line); padding: 12px 15px; display: flex; gap: 10px; align-items: center; }
.pophead h3 { font: 500 20px/1.2 var(--display); flex: 1; min-width: 0; }
.popbody { padding: 14px 15px 18px; display: flex; flex-direction: column; gap: 11px; min-width: 0; }
.sp { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(240px, 1fr); gap: 13px; align-items: start; }
.sp .shot { height: min(68vh, 640px); overflow-y: auto; border-radius: 9px; background: #111; }
.sp .shot img { display: block; width: 100%; height: auto; }
.runlist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.runlist li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; padding: 8px 0; border-top: 1px solid var(--d-line); font-size: 14px; }
.runlist li:first-child { border-top: 0; }
.runlist .st { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #1B2B47; color: var(--d-muted); font-size: 11px; font-weight: 700; }
.runlist li.done .st { background: #123426; color: var(--d-green); }
.runlist li.now .st { background: var(--acc); color: #fff; animation: pulse 1s ease-in-out infinite; }
.runlist small { display: block; color: var(--d-muted); font-size: 12.5px; }
.runlist li.wait { opacity: .55; }
@keyframes pulse { 50% { opacity: .55; } }
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 1px; background: var(--d-line); border: 1px solid var(--d-line); border-radius: 11px; overflow: hidden; }
.cal .dow { background: #101C31; padding: 6px 8px; font-size: 11px; font-weight: 600; color: var(--d-muted); text-align: center; }
.cal .day { background: var(--d-card); min-height: 92px; padding: 5px; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cal .day.off { background: #0F1A2D; color: #5A6A85; }
.cal .day > b { font-size: 12px; font-weight: 600; }
.cal .day.today > b { background: var(--acc); color: #fff; border-radius: 50%; width: 21px; height: 21px; display: grid; place-items: center; }
.ev { border: 0; border-radius: 5px; padding: 3px 5px; font-size: 11px; font-weight: 600; line-height: 1.25; text-align: left; overflow: hidden; width: 100%; }
.ev.book { background: var(--d-green); color: #0B1526; }
.ev.offer { background: transparent; border: 1.5px dashed var(--d-amber); color: var(--d-amber); }
.ev.own { background: #7C9DFF; color: #0B1526; }
.ivgrid { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 12px; align-items: start; }
@media (max-width: 1000px) { .ivgrid, .sp { grid-template-columns: minmax(0, 1fr); } .sp .shot { height: 46vh; } }
@media (max-width: 620px) { .cal .day { min-height: 62px; padding: 3px; } .ev { font-size: 0; height: 9px; padding: 0; } .cal .dow { padding: 5px 1px; } }
@media (prefers-reduced-motion: reduce) { .runlist li.now .st { animation: none; } }
.engine-log time { flex: none; font-size: 12px; color: var(--d-muted); }
.ensteps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 4px; }
.ensteps i { display: block; height: 4px; border-radius: 2px; background: #1B2B47; }
.ensteps li.done i { background: var(--d-green); } .ensteps li.now i { background: var(--acc-l); }
.ensteps span { display: block; font-size: 10.5px; color: var(--d-muted); margin-top: 3px; line-height: 1.2; overflow-wrap: anywhere; }
.ensteps li.now span { color: #fff; font-weight: 600; }
.stepl { font-size: 13px; color: var(--d-muted); } .stepl b { color: var(--d-ink); }
.engfoot { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; border-top: 1px solid var(--d-line); padding-top: 11px; }
.eload { display: flex; flex-direction: column; align-items: center; gap: 9px; text-align: center; padding: 8px 0; }
.eload h4 { margin: 0; font: 500 22px/1.2 var(--display); }
.eload .runlist { width: min(440px, 100%); text-align: left; }
.orb { width: 72px; height: 72px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, var(--acc-l), var(--acc) 45%, #0B1526 75%); box-shadow: 0 0 44px color-mix(in srgb, var(--acc) 45%, transparent); animation: pulse 1.6s ease-in-out infinite; }
@media (max-width: 560px) { .ensteps span { display: none; } }
@media (prefers-reduced-motion: reduce) { .orb { animation: none; } }
/* The résumé workspace: paper is paper in every theme, so its colors are fixed */
.popbox.full { width: min(1480px, 100%); }
.rwbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; }
.rwbar select { width: auto; max-width: 240px; }
.rwstat { margin-left: auto; text-align: right; border: 1px solid var(--d-line); border-radius: 9px; padding: 4px 11px; font-size: 11px; color: var(--d-muted); letter-spacing: .05em; }
.rwstat b { display: block; font-size: 16px; color: var(--d-ink); letter-spacing: 0; font-variant-numeric: tabular-nums; }
.rw { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 12px; align-items: start; }
.rwleft { background: #05090F; border: 1px solid var(--d-line); border-radius: 12px; padding: 10px; display: flex; flex-direction: column; gap: 9px; min-width: 0; }
.rwview { max-height: 66vh; overflow: auto; }
.thumbs { display: flex; gap: 7px; overflow-x: auto; padding: 3px; align-items: center; }
.th { flex: none; width: 42px; height: 56px; padding: 0; border: 1px solid var(--d-line); border-radius: 5px; background: #fff; position: relative; overflow: hidden; }
.th[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--acc-l); }
.th i { position: absolute; display: block; }
.th u { position: absolute; left: 22%; right: 12%; height: 2px; background: #C5CBD4; }
.paper { --pa: #3B82F6; background: #fff; color: #1C2430; font: 11px/1.42 Arial, Helvetica, sans-serif; width: min(100%, 680px); margin-inline: auto; border-radius: 3px; overflow: hidden; display: grid; text-align: left; }
.paper h5 { margin: 0; font-size: 9.5px; letter-spacing: .09em; text-transform: uppercase; color: var(--pa); border-bottom: 1px solid #D5DAE1; padding-bottom: 2px; margin-top: 9px; }
.paper .nm { font-size: 18px; font-weight: 700; line-height: 1.1; }
.paper .ro { font-size: 11.5px; }
.paper .mainc { padding: 16px 18px; min-width: 0; }
.paper .sidec { padding: 16px 13px; background: var(--pa); color: #fff; min-width: 0; overflow-wrap: anywhere; }
.paper .sidec h5 { color: #fff; border-color: rgba(255,255,255,.4); }
.paper .job { margin-top: 6px; }
.paper .jh { display: flex; justify-content: space-between; gap: 8px; font-weight: 700; }
.paper .jh span:last-child { font-weight: 400; color: #5E687A; white-space: nowrap; }
.paper .jc { color: #5E687A; }
.paper ul { margin: 2px 0 0; padding-left: 13px; }
.paper .cline { color: #5E687A; font-size: 10.5px; }
.paper.side-l { grid-template-columns: 31% minmax(0, 1fr); }
.paper.side-r { grid-template-columns: minmax(0, 1fr) 31%; }
.paper .band { padding: 15px 18px; background: var(--pa); color: #fff; }
.paper .band .cline { color: rgba(255,255,255,.85); }
.paper.serif { font-family: Georgia, "Times New Roman", serif; }
.paper.center .hdr { text-align: center; }
.paper.exec h5 { border-bottom: 2px solid var(--pa); }
.paper .ph { width: 54px; height: 54px; border-radius: 50%; background: rgba(255,255,255,.25); display: grid; place-items: center; font-weight: 700; margin-bottom: 8px; }
.chkrow { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; gap: 7px; font-size: 13px; padding: 3px 0; align-items: baseline; }
.chkrow i { font-style: normal; font-weight: 700; color: var(--d-green); } .chkrow.no i { color: var(--d-amber); }
.chkrow span:last-child { color: var(--d-muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.find { border: 1px solid #5B6FA8; border-radius: 11px; padding: 11px; display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; }
@media (max-width: 1040px) { .rw { grid-template-columns: minmax(0, 1fr); } .rwstat { margin-left: 0; } .rwview { max-height: 56vh; } }
/* The job feed: a partner's own site, so it keeps a fixed light look. The Scout button and the engine sit on top of it. */
.seats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.backfeed { flex: none; width: calc(100% - 4px); margin: 0 2px 12px; }
@media (max-width: 900px) { .backfeed { width: auto; margin: 0 6px 0 0; } }
.app.noside { grid-template-columns: minmax(0, 1fr); }
.app.noside .side { display: none; }
.main.feedm { padding: 0; }
.fd { background: #F4F6F8; color: #17202C; min-height: 760px; font-size: 14.5px; }
.fdtop { background: #fff; border-bottom: 1px solid #DCE1E7; padding: 13px 18px; display: flex; flex-direction: column; gap: 10px; }
.fdbrand { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.fdbrand b { font-size: 19px; font-weight: 700; letter-spacing: -.015em; color: var(--acc); }
.fdbrand small { color: #667180; font-size: 12px; }
.fdbrand .sw2 { margin-left: auto; display: flex; gap: 6px; align-items: center; font-size: 12.5px; color: #667180; }
.fdsearch { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto; gap: 8px; align-items: end; }
.app .fd input[type=text], .app .fd input[type=search], .app .fd select { background: #fff; color: #17202C; border: 1px solid #C7CED8; border-radius: 8px; }
.app .fd input::placeholder { color: #6B7684; }
.fd .fld { color: #566170; }
.fd .btn.ol { background: #fff; color: #17202C; border: 1px solid #C7CED8; }
.fd .btn.ap { background: #17202C; color: #fff; }
.fd .btn.sc { background: var(--acc); color: #fff; }
.fd .chip { color: #3E4957; border-color: #C7CED8; background: #fff; }
.fd .chip.on { background: #17202C; border-color: #17202C; color: #fff; }
.pastebar { background: color-mix(in srgb, var(--acc) 9%, #fff); border: 1px solid color-mix(in srgb, var(--acc) 40%, #fff); border-radius: 10px; padding: 9px 11px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pastebar b { font-size: 13.5px; }
.pastebar form { flex: 1 1 320px; display: flex; gap: 8px; min-width: 0; }
.pastebar input { flex: 1; min-width: 0; }
.fdbody { display: grid; grid-template-columns: minmax(0, 390px) minmax(0, 1fr); gap: 14px; padding: 14px 18px 22px; align-items: start; }
.fdlist { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.fcard { background: #fff; border: 1px solid #DCE1E7; border-radius: 11px; padding: 12px 13px; display: flex; flex-direction: column; gap: 5px; cursor: pointer; min-width: 0; }
.fcard.on { border-color: var(--acc); box-shadow: inset 3px 0 0 var(--acc); }
.fcard h4 { margin: 0; font-size: 15px; font-weight: 700; line-height: 1.25; }
.fcard h4 button { all: unset; cursor: pointer; }
.fcard h4 button:focus-visible { outline: 2px solid var(--acc); }
.fcard .co { color: #3E4957; }
.fcard .mt { color: #667180; font-size: 13px; }
.fcard .sn { color: #4A5563; font-size: 13.5px; line-height: 1.4; }
.fpill { display: inline-block; font-size: 11.5px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: #EDF0F4; color: #3E4957; white-space: nowrap; }
.fpill.g { background: #DDF3E7; color: #0B6A43; } .fpill.a { background: #FBEFD6; color: #7A5206; } .fpill.s { background: color-mix(in srgb, var(--acc) 14%, #fff); color: var(--acc); }
.fdet { background: #fff; border: 1px solid #DCE1E7; border-radius: 12px; padding: 16px 18px; display: flex; flex-direction: column; gap: 11px; position: sticky; top: 8px; min-width: 0; }
.fdet h3 { margin: 0; font-size: 21px; font-weight: 700; line-height: 1.2; }
.ftabs { display: flex; gap: 4px; border-bottom: 1px solid #DCE1E7; flex-wrap: wrap; }
.ftabs button { background: none; border: 0; border-bottom: 2px solid transparent; padding: 7px 11px; color: #566170; font-weight: 600; font-size: 14px; }
.ftabs button[aria-pressed="true"] { color: var(--acc); border-color: var(--acc); }
.fsec { display: flex; flex-direction: column; gap: 5px; }
.fsec h4 { margin: 0; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: #667180; display: flex; gap: 7px; align-items: center; flex-wrap: wrap; }
.fsec ul { margin: 0; padding-left: 17px; display: flex; flex-direction: column; gap: 2px; }
.fgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.fbox { border: 1px solid #E3E7EC; border-radius: 10px; padding: 11px 12px; display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.fring { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; flex: none; background: radial-gradient(closest-side, #fff 76%, transparent 78%), conic-gradient(var(--acc) calc(var(--v) * 1%), #E3E7EC 0); }
.fbar { position: relative; height: 8px; background: #E3E7EC; border-radius: 4px; }
.fbar i { position: absolute; top: 0; bottom: 0; background: var(--acc); border-radius: 4px; }
.fbar u { position: absolute; top: -3px; bottom: -3px; width: 2px; background: #17202C; }
.fnote { font-size: 12.5px; color: #667180; }
.fmsg { background: #EDF0F4; border-radius: 8px; padding: 7px 10px; font-size: 13px; }
.snip { margin: 11px 0 0; background: #0B1526; color: #EEF2F8; border-radius: 10px; padding: 13px 14px; overflow-x: auto; font: 13px/1.55 ui-monospace, Menlo, Consolas, monospace; }
@media (max-width: 980px) { .fdbody { grid-template-columns: minmax(0, 1fr); } .fdet { position: static; } .fdet { order: -1; } .seats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .fdsearch { grid-template-columns: minmax(0, 1fr); } .fgrid { grid-template-columns: minmax(0, 1fr); } .fdbrand .sw2 { margin-left: 0; } .seats { grid-template-columns: minmax(0, 1fr); } }
.thread { max-height: 320px; overflow-y: auto; padding: 2px; }
.thread.full { max-height: 470px; min-height: 240px; }
.sysmsg { align-self: center; font-size: 12px; color: var(--d-muted); text-align: center; background: #0E1A2E; border-radius: 999px; padding: 3px 11px; }
.logochip { display: inline-grid; place-items: center; background: #fff; border-radius: 7px; padding: 4px 7px; max-width: 100%; }
.logochip img { display: block; max-height: 34px; max-width: 150px; object-fit: contain; }
.mark .logochip { margin-bottom: 2px; }
.fdbrand .logochip { border: 1px solid #E3E7EC; }
.app input[type=file] { font-size: 13px; color: var(--d-muted); max-width: 100%; }
.perf { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.perf > div { background: #0E1A2E; border-radius: 10px; padding: 9px 11px; min-width: 0; }
.perf b { display: block; font: 500 23px/1.1 var(--display); font-variant-numeric: tabular-nums; }
.perf span { display: block; font-size: 12.5px; line-height: 1.3; margin-top: 2px; }
.perf small { display: block; font-size: 11.5px; color: var(--d-muted); line-height: 1.25; margin-top: 2px; }
.cotbl tr.coachrow { cursor: pointer; }
.cotbl tr.coachrow:hover td { background: #1A2B48; }
.coachbtn { background: none; border: 0; padding: 0; color: var(--acc-l); font-weight: 600; text-align: left; display: inline-flex; gap: 6px; align-items: center; white-space: nowrap; }
.coachbtn i { font-style: normal; display: inline-block; transition: transform .15s; }
.coachbtn[aria-expanded="true"] i { transform: rotate(90deg); }
.app .cotbl td.drop { padding: 0; background: #0E1A2E; }
.dropin { padding: 12px 13px; display: flex; flex-direction: column; gap: 9px; min-width: 0; }
.dropscroll { max-height: 430px; overflow: auto; border: 1px solid var(--d-line); border-radius: 9px; background: var(--d-card); }
.app .dropscroll table { min-width: 1160px; }
.dropscroll th { position: sticky; top: 0; background: #101C31; z-index: 1; }
@media (max-width: 900px) { .perf { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { .coachbtn i { transition: none; } }
.pow.keep { display: block !important; flex: none; }
.pow.keep b { color: var(--d-ink); }
.loginc { width: min(560px, 100%); margin: 26px auto; }
.proposal { border: 1px solid var(--d-line); border-radius: 11px; padding: 11px 12px; display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.ba { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.ba > div { background: #0E1A2E; border-radius: 9px; padding: 8px 10px; font-size: 13.5px; white-space: pre-wrap; min-width: 0; overflow-wrap: anywhere; }
.ba small { display: block; color: var(--d-muted); font-size: 11.5px; margin-bottom: 3px; }
.ba > div.after { outline: 1px solid var(--acc); }
@media (max-width: 620px) { .ba { grid-template-columns: minmax(0, 1fr); } }
.buildc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: stretch; }
.posit { background: #F7F8FA; color: #0E1A2B; border-radius: 9px; padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.posit small { font-size: 11px; letter-spacing: .09em; text-transform: uppercase; font-weight: 600; color: #5E687A; }
.posit h4 { margin: 0; font: 500 clamp(19px, 2.3vw, 26px)/1.14 var(--display); }
.posit ul { margin: 0; padding-left: 17px; font-size: 13.5px; }
.chkopt { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 7px; font-size: 13.5px; line-height: 1.35; cursor: pointer; }
.chkopt input { accent-color: var(--acc); margin: 2px 0 0; }
.big.thumb { border-radius: 8px; background-color: #05090F; }
@media (max-width: 760px) { .buildc { grid-template-columns: minmax(0, 1fr); } }
.pfhero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.pfhero h3 { margin: 2px 0 5px; font: 500 clamp(21px, 2.4vw, 28px)/1.14 var(--display); }
.pfmove { display: grid; gap: 7px; margin-top: 10px; }
.pfmove > div { border: 1px solid var(--d-line); border-radius: 9px; padding: 8px 11px; font-size: 13.5px; line-height: 1.35; }
.pfmove > div.to { border-color: var(--acc); background: color-mix(in srgb, var(--acc) 14%, transparent); }
.pfmove small { display: block; color: var(--d-muted); font-size: 11.5px; margin-bottom: 2px; }
.pfsteps { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.pfsteps li { border: 1px solid var(--d-line); border-radius: 9px; padding: 9px 10px; font-size: 12.5px; line-height: 1.35; color: var(--d-muted); }
.pfsteps li.on { border-color: var(--acc); }
.pfsteps b { display: block; color: var(--d-ink); font-size: 13px; margin-bottom: 3px; }
.pfparts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.pfparts > div { border: 1px solid var(--d-line); border-radius: 9px; padding: 9px 10px; font-size: 13px; line-height: 1.35; }
.pfparts small { display: block; color: var(--d-muted); font-size: 11.5px; }
.pfparts b { display: block; margin: 2px 0; }
.pfq { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; gap: 8px; align-items: start; padding: 8px 0; border-top: 1px solid var(--d-line); font-size: 14px; line-height: 1.35; cursor: pointer; }
.pfq:first-child { border-top: 0; }
.pfq input { accent-color: var(--acc); margin: 2px 0 0; }
.pfvid { position: relative; aspect-ratio: 16 / 9; max-height: 44vh; width: 100%; border-radius: 10px; overflow: hidden; background: linear-gradient(150deg, #1A2C4D, #05090F); display: grid; place-items: center; }
.pfvid .av { width: 74px; height: 74px; font-size: 24px; }
.pfvid .lb { position: absolute; left: 12px; top: 10px; font-size: 12.5px; font-weight: 600; color: #fff; }
.pfvid .sm { position: absolute; left: 12px; bottom: 10px; color: #fff; font-variant-numeric: tabular-nums; }
.pfvid .pl { position: absolute; right: 12px; bottom: 8px; }
.pfbar { display: flex; gap: 3px; margin-top: 7px; }
.pfbar button { flex: var(--w) 1 0; min-width: 0; height: 26px; padding: 0; border: 0; background: transparent; position: relative; }
.pfbar button::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 5px; border-radius: 3px; background: var(--d-line); }
.pfbar button i { position: absolute; left: 0; top: 11px; height: 5px; border-radius: 3px; background: var(--acc); width: var(--p, 0%); }
.pfcap { min-height: 66px; font-size: 14.5px; line-height: 1.45; margin: 4px 0 0; }
.pfmail { background: #F7F8FA; color: #0E1A2B; border-radius: 9px; padding: 13px 15px; font-size: 14px; line-height: 1.45; white-space: pre-wrap; }
.pfmail .wbtn { display: inline-block; margin: 2px 0; padding: 8px 13px; border-radius: 7px; background: #1F5EFF; color: #fff; font-weight: 600; font-size: 13.5px; }
@media (max-width: 900px) { .pfhero { grid-template-columns: minmax(0, 1fr); } .pfsteps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pfparts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .pfsteps, .pfparts { grid-template-columns: minmax(0, 1fr); } }
.pfvid .fl { position: absolute; right: 12px; top: 10px; font-size: 11.5px; font-weight: 600; color: #fff; background: rgba(255,255,255,.14); padding: 3px 9px; border-radius: 999px; }
.pfvid .rec { position: absolute; left: 12px; bottom: 10px; color: #fff; font-size: 12.5px; }
.pfplan { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pfplan li { display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 10px; padding: 9px 0; border-top: 1px solid var(--d-line); font-size: 14px; line-height: 1.4; }
.pfplan li:first-child { border-top: 0; }
.pfplan small { color: var(--d-muted); font-size: 12px; }
.pfplan b { display: block; }
.pfread { font: 500 clamp(20px, 2.5vw, 27px)/1.32 var(--display); margin: 8px 0; }
@media (max-width: 520px) { .pfplan li { grid-template-columns: minmax(0, 1fr); gap: 2px; } }
.chk.no li::before { content: "✕"; color: var(--d-amber); }
.pfresults { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.pfresults > div { border: 1px solid var(--d-line); border-radius: 9px; padding: 10px 12px; font-size: 13.5px; line-height: 1.35; }
.pfresults b { display: block; font: 500 19px/1.2 var(--display); margin-bottom: 3px; }
.pfgroups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.pfgroups > div { border: 1px solid var(--d-line); border-radius: 9px; padding: 10px 12px; font-size: 13.5px; line-height: 1.4; }
.pfgroups > div.to { border-color: var(--acc); }
.pfgroups b { display: block; margin-bottom: 4px; }
.pflead { font: 500 clamp(21px, 2.6vw, 30px)/1.16 var(--display); margin: 0 0 4px; }
@media (max-width: 760px) { .pfresults, .pfgroups { grid-template-columns: minmax(0, 1fr); } }
.pfreal { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.pfreal video { display: block; width: 100%; border-radius: 10px; background: #000; aspect-ratio: 16 / 9; }
.pfchap { display: flex; flex-direction: column; gap: 4px; max-height: 410px; overflow: auto; }
.pfchap button { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 9px; align-items: center; text-align: left; background: transparent; border: 1px solid transparent; border-radius: 8px; padding: 4px; color: var(--d-ink); font-size: 13px; line-height: 1.3; }
.pfchap button:hover, .pfchap button:focus-visible { border-color: var(--d-line); background: rgba(255,255,255,.04); }
.pfchap img { width: 74px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 5px; display: block; }
.pfchap small { display: block; color: var(--d-muted); font-size: 11.5px; }
.pfbadge { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--d-muted); }
.pfnum { display: flex; gap: 5px; flex-wrap: wrap; margin-bottom: 10px; }
.pfnum button { flex: 1 1 96px; min-width: 0; background: transparent; border: 1px solid var(--d-line); border-radius: 8px; padding: 7px 9px; color: var(--d-muted); font-size: 12.5px; font-weight: 600; text-align: left; line-height: 1.25; }
.pfnum button.on { border-color: var(--acc); color: var(--d-ink); background: color-mix(in srgb, var(--acc) 14%, transparent); }
.pfnum button.done { color: var(--d-ink); }
.pfjobs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.pfjobs button { text-align: left; background: rgba(255,255,255,.03); border: 1px solid var(--d-line); border-radius: 9px; padding: 10px 12px; color: var(--d-ink); font-size: 14px; line-height: 1.35; }
.pfjobs button:hover, .pfjobs button:focus-visible { border-color: var(--acc); }
.pfjobs small { display: block; color: var(--d-muted); font-size: 12.5px; }
.pfclip { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 9px; align-items: center; padding: 9px 0; border-top: 1px solid var(--d-line); font-size: 14px; line-height: 1.35; }
.pfclip:first-child { border-top: 0; }
.pfclip i { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 12px; font-weight: 700; border: 1px solid var(--d-line); color: var(--d-muted); }
.pfclip.ok i { background: var(--d-green); border-color: var(--d-green); color: #06281C; }
.pfclip small { display: block; color: var(--d-muted); font-size: 12px; }
.pfpaths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pfpaths > div { border: 1px solid var(--d-line); border-radius: 10px; padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; line-height: 1.4; }
.pfpaths > div.to { border-color: var(--acc); }
.pfpaths b { font-size: 15px; }
.pfpaths ul { margin: 0; padding-left: 17px; color: var(--d-muted); }
.pfpaths .btn { align-self: flex-start; margin-top: auto; }
.reel { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 10px; background: #02070D url(img/pf-blur.jpg) center / cover; container-type: inline-size; width: min(100%, 104vh); margin-inline: auto; }
.reel .sq { position: absolute; top: 0; bottom: 0; left: 50%; transform: translateX(-50%); aspect-ratio: 1; background: #000 url(img/pf-q.jpg) center / cover; color: #fff; padding: 3.4cqw 3.6cqw; display: flex; flex-direction: column; font-family: "Instrument Sans", Arial, sans-serif; }
.reel .br { font-size: 2.2cqw; font-weight: 800; letter-spacing: -.02em; }
.reel .br::after { content: ""; display: block; width: 7cqw; height: .35cqw; background: #168BFF; margin-top: .9cqw; }
.reel .asked { font-size: 1.4cqw; letter-spacing: .2em; margin-top: 2.2cqw; opacity: .85; }
.reel h5 { margin: 1.5cqw 0 0; max-width: 36cqw; font-size: 4.3cqw; line-height: 1.04; font-weight: 800; letter-spacing: -.035em; }
.reel h5 em { font-style: normal; color: #2E9BFF; }
.reel .sub { margin-top: 1.4cqw; max-width: 34cqw; font-size: 1.7cqw; line-height: 1.32; opacity: .85; }
.reel .cta { align-self: flex-start; margin-top: 2cqw; background: #168BFF; color: #fff; border-radius: 99cqw; padding: 1cqw 2.4cqw; font-size: 1.9cqw; font-weight: 700; }
.reel .ans { position: absolute; inset: 0; background: #0B1526 url(img/pf-a.jpg) center / cover; color: #fff; font-family: "Instrument Sans", Arial, sans-serif; }
.reel .ans::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.08) 45%, rgba(0,0,0,.62)); }
.reel .tag { position: absolute; left: 2cqw; top: 1.8cqw; font-size: 1.5cqw; background: rgba(0,0,0,.45); padding: .5cqw 1.1cqw; border-radius: 99cqw; }
.reel .low { position: absolute; left: 3cqw; bottom: 11cqw; font-size: 1.9cqw; line-height: 1.25; border-left: .4cqw solid #168BFF; padding-left: 1.2cqw; }
.reel .low b { display: block; font-size: 2.4cqw; }
.reel .capt { position: absolute; left: 6cqw; right: 6cqw; bottom: 3cqw; text-align: center; font-size: 2.9cqw; line-height: 1.22; font-weight: 600; text-shadow: 0 1px 6px rgba(0,0,0,.8); }
.reelbar { display: flex; align-items: center; gap: 8px; margin-top: 7px; }
.reelseg { flex: 1; display: flex; gap: 2px; min-width: 0; }
.reelseg button { flex: var(--w) 1 0; min-width: 0; height: 22px; padding: 0; border: 0; background: transparent; position: relative; }
.reelseg button::before { content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 4px; border-radius: 2px; background: var(--d-line); }
.reelseg button.past::before, .reelseg button.on::before { background: var(--acc); }
.reelseg button.qs::before { height: 8px; top: 7px; }
.reelno { font-size: 12px; color: var(--d-muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (max-width: 900px) { .pfreal, .pfpaths { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .pfjobs { grid-template-columns: minmax(0, 1fr); } .pfnum button { flex-basis: 44%; } .reel .capt { font-size: 3.6cqw; } }
.scctl { display: flex; flex-direction: column; gap: 11px; }
.scctl.isoff { border-color: var(--d-line); }
.scdoes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.scdoes > div { border: 1px solid var(--d-line); border-radius: 9px; padding: 9px 11px; font-size: 13px; line-height: 1.35; color: var(--d-muted); }
.scdoes b { display: block; color: var(--d-ink); font-size: 13.5px; margin-bottom: 2px; }
.scmodes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.scmodes button { text-align: left; background: transparent; border: 1px solid var(--d-line); border-radius: 9px; padding: 10px 12px; color: var(--d-muted); font-size: 13px; line-height: 1.35; }
.scmodes button b { display: block; color: var(--d-ink); font-size: 14px; margin-bottom: 2px; }
.scmodes button[aria-pressed="true"] { border-color: var(--acc); background: color-mix(in srgb, var(--acc) 14%, transparent); }
.scrow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: start; }
.scrow input[type=range] { width: 100%; accent-color: var(--acc); }
.scmeter { height: 6px; border-radius: 3px; background: var(--d-line); overflow: hidden; margin-top: 5px; }
.scmeter i { display: block; height: 100%; background: var(--acc); }
@media (max-width: 820px) { .scdoes, .scmodes, .scrow { grid-template-columns: minmax(0, 1fr); } }
.fd { background: #fff; color: #2D2D2D; font-size: 14.5px; }
.ftop { display: flex; align-items: center; gap: 18px; padding: 10px 18px; border-bottom: 1px solid #E4E2E0; flex-wrap: wrap; position: relative; }
.ftop .fbr { display: flex; align-items: center; gap: 8px; }
.ftop .fbr b { font-size: 21px; font-weight: 700; letter-spacing: -.02em; color: var(--acc); }
.fnavl { display: flex; gap: 16px; align-self: stretch; align-items: center; }
.fnavl button { background: none; border: 0; padding: 6px 0; color: #2D2D2D; font-size: 14px; border-bottom: 2px solid transparent; }
.fnavl button[aria-pressed="true"] { border-color: var(--acc); }
.fnavl .fgoscout { color: var(--acc); font-weight: 700; }
.fnavr { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.ficon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 8px; border: 0; background: transparent; color: #2D2D2D; position: relative; }
.ficon:hover { background: #F3F2F1; }
.ficon.sq { background: #F3F2F1; width: 40px; height: 40px; }
.ficon.sq.on { background: #2D2D2D; color: #fff; }
.ficon u { position: absolute; top: 2px; right: 1px; min-width: 15px; height: 15px; border-radius: 8px; background: #B3261E; color: #fff; font-size: 10px; font-weight: 700; line-height: 15px; text-decoration: none; }
.fmenu { position: absolute; right: 18px; top: 52px; z-index: 6; width: min(320px, calc(100% - 36px)); background: #fff; border: 1px solid #E4E2E0; border-radius: 10px; box-shadow: 0 8px 28px rgba(0,0,0,.14); padding: 12px; font-size: 14px; display: flex; flex-direction: column; gap: 3px; }
.falertbtn { background: none; border: 0; display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 600; color: #2D2D2D; padding: 6px 8px; border-radius: 8px; white-space: nowrap; }
.falertbtn:hover { background: #F3F2F1; }
.fmenu .fld { color: #595959; padding: 3px 6px; }
.app .fd .fmenu input, .app .fd .fmenu select { background: #fff; color: #2D2D2D; border: 1px solid #C7CED8; border-radius: 8px; }
.fmenu .fgo { background: var(--acc); color: #fff; border: 0; border-radius: 9px; padding: 9px; font-weight: 700; font-size: 14.5px; margin: 6px 6px 2px; }
.fmenu .alrow { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 7px 6px; border-top: 1px solid #E4E2E0; font-size: 13.5px; line-height: 1.3; }
.fmenu .alrow small { display: block; padding: 0; }
.fmenu .alrow button { background: none; border: 0; padding: 2px; color: var(--acc); text-decoration: underline; font-size: 13px; }
.fmenu .fmi { display: block; width: 100%; background: none; border: 0; text-align: left; padding: 7px 6px; border-radius: 6px; font-size: 14px; color: #2D2D2D; }
.fmenu .fmi:hover { background: #F3F2F1; }
.fmenu b { padding: 2px 6px 6px; }
.fmenu span { padding: 7px 6px; border-radius: 6px; }
.fmenu .ntc { background: #EEF1FE; line-height: 1.35; }
.fmenu small { color: #6F6F6F; padding: 4px 6px 0; }
.fsbar { padding: 16px 18px 10px; display: flex; flex-direction: column; align-items: center; gap: 12px; position: relative; }
.fsearch2 { width: min(820px, 100%); display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto; align-items: center; border: 1px solid #949494; border-radius: 14px; padding: 5px 6px 5px 14px; gap: 8px; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.fsearch2 label { display: flex; align-items: center; gap: 8px; min-width: 0; }
.fsearch2 label + label { border-left: 1px solid #E4E2E0; padding-left: 12px; }
.app .fd .fsearch2 input { border: 0; background: transparent; padding: 7px 0; min-width: 0; width: 100%; box-shadow: none; outline-offset: 2px; color: #2D2D2D; font-size: 15px; }
.fbtn { background: var(--acc); color: #fff; border: 0; border-radius: 9px; padding: 9px 18px; font-weight: 700; font-size: 15px; }
.fchips2 { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; position: relative; width: 100%; }
.fchipw { position: relative; }
.fchip2 { background: #fff; border: 1px solid #D4D2D0; border-radius: 999px; padding: 7px 14px; font-size: 13.5px; color: #2D2D2D; display: inline-flex; align-items: center; gap: 6px; }
.fchip2:hover, .fchip2[aria-expanded="true"] { background: #F3F2F1; }
.fchip2.act { border: 2px solid #2D2D2D; font-weight: 700; padding: 6px 13px; }
.fchip2 i { font-style: normal; background: #2D2D2D; color: #fff; border-radius: 50%; width: 18px; height: 18px; font-size: 11px; line-height: 18px; text-align: center; }
.fpop { position: absolute; left: 0; top: calc(100% + 6px); z-index: 7; width: 300px; background: #fff; border: 1px solid #E4E2E0; border-radius: 12px; box-shadow: 0 8px 28px rgba(0,0,0,.16); padding: 12px; display: flex; flex-direction: column; gap: 3px; text-align: left; }
.fpop .opt { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 8px; align-items: center; background: transparent; border: 2px solid transparent; border-radius: 8px; padding: 9px 10px; text-align: left; font-size: 14.5px; color: #2D2D2D; }
.fpop .opt:hover { background: #F7F6F5; }
.fpop .opt.on { background: #F3F2F1; border-color: var(--acc); }
.fpop .opt.chk i { width: 18px; height: 18px; border: 1px solid #767676; border-radius: 50%; display: block; font-style: normal; color: #fff; font-size: 11px; line-height: 16px; text-align: center; }
.fpop .opt.chk.on { border-color: transparent; }
.fpop .opt.chk.on i { background: #2D2D2D; border-color: #2D2D2D; }
.fpop .act2 { display: flex; justify-content: flex-end; gap: 8px; margin-top: 8px; }
.fpop .act2 button { border-radius: 9px; padding: 8px 15px; font-weight: 700; font-size: 14px; border: 1px solid #D4D2D0; background: #fff; color: var(--acc); }
.fpop .act2 button.go { background: var(--acc); border-color: var(--acc); color: #fff; }
.fbody2 { display: grid; grid-template-columns: minmax(0, 430px) minmax(0, 1fr); gap: 16px; max-width: 1130px; margin: 0 auto; padding: 6px 18px 26px; align-items: start; border-top: 1px solid #E4E2E0; padding-top: 16px; }
.flist { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.fhello { font-size: 21px; font-weight: 700; margin: 0; }
.fpills { display: flex; gap: 8px; }
.fpills button { background: #fff; border: 1px solid #E4E2E0; border-radius: 8px; padding: 6px 10px; color: var(--acc); font-weight: 600; font-size: 13px; }
.fres { border: 1px solid #E4E2E0; border-radius: 14px; overflow: hidden; }
.fres header { background: var(--acc); color: #fff; padding: 11px 14px; font-size: 14px; line-height: 1.35; }
.fres header b { display: block; font-size: 15px; }
.fres div { padding: 10px 12px; display: flex; flex-direction: column; gap: 7px; }
.fres button { border-radius: 9px; padding: 9px; font-weight: 700; font-size: 14.5px; border: 1px solid #E4E2E0; background: #fff; color: var(--acc); }
.fres button.go { background: var(--acc); color: #fff; border-color: var(--acc); }
.fup { font-size: 14px; border-bottom: 1px solid #E4E2E0; padding-bottom: 8px; font-weight: 600; }
.fup button { background: none; border: 0; padding: 0; color: var(--acc); text-decoration: underline; font-weight: 700; font-size: 14px; }
.fsum { font-size: 13.5px; color: #6F6F6F; font-weight: 600; }
.fsum div { color: #2D2D2D; font-weight: 400; margin-top: 2px; }
.fsum button { background: none; border: 0; padding: 0; font-size: 13.5px; color: var(--acc); text-decoration: underline; }
.fsum button[aria-pressed="true"] { color: #2D2D2D; font-weight: 700; text-decoration: none; }
.jcard { position: relative; border: 1px solid #D4D2D0; border-radius: 14px; padding: 13px 52px 13px 15px; cursor: pointer; background: #fff; }
.jcard:hover { border-color: #949494; }
.jcard.on { border-color: var(--acc); box-shadow: 0 0 0 1px var(--acc); }
.jcard h4 { margin: 3px 0 7px; font-size: 16.5px; line-height: 1.25; font-weight: 700; }
.jcard h4 button { background: none; border: 0; padding: 0; color: inherit; font: inherit; text-align: left; }
.jcard .co { font-size: 14px; color: #595959; line-height: 1.4; }
.jcard .badges { display: flex; gap: 5px; flex-wrap: wrap; }
.jb { font-size: 12px; font-weight: 700; padding: 3px 7px; border-radius: 5px; background: #EEF1FE; color: var(--acc); }
.jb.p { color: #5B3FC4; }
.jb.n { background: #FCEEF3; color: #A9326B; }
.jtags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 9px; }
.jtags span { background: #F3F2F1; border-radius: 5px; padding: 3px 8px; font-size: 12.5px; font-weight: 600; color: #595959; }
.jcard .ico { position: absolute; right: 8px; top: 9px; display: flex; flex-direction: column; gap: 3px; }
.jcard .scm { margin-top: 10px; }
.fd .btn.sc { background: #152035; color: #fff; }
.fd .btn.ap { background: var(--acc); color: #fff; }
.jdet { border: 1px solid #E4E2E0; border-radius: 14px; background: #fff; position: sticky; top: 8px; min-width: 0; overflow: hidden; }
.jdet .h { padding: 18px 20px 14px; display: flex; flex-direction: column; gap: 4px; font-size: 15px; }
.jdet h3 { margin: 0 0 2px; font-size: 23px; font-weight: 700; line-height: 1.2; }
.jdet .h a, .jdet .colink { color: #2D2D2D; text-decoration: underline; display: inline-flex; gap: 4px; align-items: center; background: none; border: 0; padding: 0; font-size: 15px; }
.jdet .acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; align-items: center; }
.jdet .apb { background: var(--acc); color: #fff; border: 0; border-radius: 9px; padding: 10px 16px; font-weight: 700; font-size: 15px; display: inline-flex; align-items: center; gap: 7px; }
.jdet .scb { background: #152035; color: #fff; border: 0; border-radius: 9px; padding: 10px 14px; font-weight: 700; font-size: 14.5px; }
.jdet .scb.ol { background: #fff; color: #152035; border: 1px solid #949494; }
.jsec { border-top: 7px solid #F3F2F1; padding: 15px 20px; display: flex; flex-direction: column; gap: 8px; line-height: 1.45; }
.jsec h4 { margin: 0; font-size: 18px; font-weight: 700; }
.jsec ul { margin: 0; padding-left: 20px; }
.jsec .ln { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 7px; align-items: start; }
.jsec p { margin: 0; }
.fd .fgrid, .fd .fbox { color: #2D2D2D; }
.jintel { padding: 0 20px 15px; display: flex; flex-direction: column; gap: 10px; }
.fpaste { max-width: 1130px; margin: 0 auto; width: 100%; padding: 0 18px 12px; }
.fpaste form { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 13.5px; color: #595959; }
.fpaste input { flex: 1; min-width: 180px; }
@media (max-width: 900px) { .fbody2 { grid-template-columns: minmax(0, 1fr); } .jdet { position: static; } }
@media (max-width: 620px) { .fsearch2 { grid-template-columns: minmax(0, 1fr); border-radius: 12px; padding: 6px 10px; } .fsearch2 label + label { border-left: 0; padding-left: 0; border-top: 1px solid #E4E2E0; } .fbtn { width: 100%; } .fchips2 { justify-content: flex-start; } .fchipw { position: static; } .fpop { left: 0; right: 0; width: auto; } .fnavl { order: 3; width: 100%; } }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.plans > div { border: 1px solid var(--d-line); border-radius: 10px; padding: 12px; display: flex; flex-direction: column; gap: 3px; font-size: 13.5px; line-height: 1.35; }
.plans b { font: 500 26px/1.1 var(--display); }
.plans small { color: var(--d-muted); font-size: 12.5px; }
.ladder { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ladder > div { border: 1px solid var(--d-line); border-radius: 9px; padding: 9px 11px; font-size: 13px; line-height: 1.35; color: var(--d-muted); }
.ladder b { display: block; color: var(--d-ink); font-size: 13.5px; margin-bottom: 2px; }
.ladder .to { border-color: var(--acc); }
.oneoff { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)) auto; gap: 10px; align-items: end; }
.oneoff .tot { font: 500 24px/1.1 var(--display); white-space: nowrap; }
.scbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
@media (max-width: 700px) { .plans, .ladder { grid-template-columns: minmax(0, 1fr); } .oneoff { grid-template-columns: minmax(0, 1fr); } }
.popbox.grb { background: #000; border: 1px solid #2B2B2B; color: #fff; max-width: 560px; padding: 0; display: flex; flex-direction: column; overflow: auto; }
.grb .ghd { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px 0; font-size: 12.5px; font-weight: 700; letter-spacing: .03em; color: #A3A3A3; }
.grb .gx { background: none; border: 0; color: #D4D4D4; font-size: 20px; line-height: 1; padding: 2px 6px; border-radius: 6px; }
.grb .gx:hover { background: #1A1A1A; }
.grb .gbody { padding: 12px 20px 16px; display: flex; flex-direction: column; gap: 11px; }
.grb .gstep { font-size: 13.5px; color: #A3A3A3; }
.grb .gstep b { color: var(--acc2, #5FE3B5); }
.grb .glad { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 4px; list-style: none; margin: 0; padding: 0; font-size: 11px; color: #8A8A8A; line-height: 1.2; }
.grb .glad li::before { content: ""; display: block; height: 4px; border-radius: 2px; background: #2B2B2B; margin-bottom: 5px; }
.grb .glad li.now { color: #fff; font-weight: 700; }
.grb .glad li.now::before { background: var(--acc2, #5FE3B5); }
.grb .gfor { font-size: 14px; color: #A3A3A3; margin: 0; }
.grb .gfor b { color: #fff; }
.grb .gdemo { align-self: flex-start; font-size: 11.5px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: #2A1F12; color: #F5B971; }
.grb h4 { margin: 0; font-size: 22px; font-weight: 700; letter-spacing: -.015em; color: #fff; }
.grb .gdrop { border: 1px dashed #4A4A4A; border-radius: 10px; padding: 22px 16px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 14.5px; color: #D4D4D4; }
.grb .gdrop.has { border-style: solid; border-color: var(--acc2, #5FE3B5); }
.grb .gpick { color: var(--acc2, #5FE3B5); font-weight: 700; cursor: pointer; }
.grb .gpick input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.grb .gpick:focus-within { outline: 2px solid var(--acc2, #5FE3B5); outline-offset: 3px; border-radius: 4px; }
.grb .gsam { font-size: 13px; color: #A3A3A3; }
.grb .gsam button { background: none; border: 0; padding: 0; font-size: 13px; color: var(--acc2, #5FE3B5); text-decoration: underline; font-weight: 600; }
.grb .gnote { margin: 0; font-size: 13px; line-height: 1.4; color: #A3A3A3; }
.grb .gfoot { border-top: 1px solid #222; padding: 13px 20px; display: flex; justify-content: flex-end; gap: 8px; }
.grb .gfoot button { border-radius: 9px; padding: 9px 18px; font-weight: 700; font-size: 14.5px; border: 1px solid #3A3A3A; background: #000; color: #fff; }
.grb .gfoot .go { background: #5FE3B5; border-color: #5FE3B5; color: #04150F; }
.grb .gfoot .go:disabled { background: #173A2E; border-color: #173A2E; color: #6E9C8B; cursor: not-allowed; }
@media (max-width: 520px) { .grb .glad { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.popbox.grk { --d-card: #111; --d-line: #2B2B2B; --d-ink: #fff; --d-muted: #A3A3A3; --d-bg: #000; --acc: #5FE3B5; max-width: 620px; }
.grk .btn.acc, .grk .btn.acc:hover { background: #5FE3B5; color: #04150F; border-color: #5FE3B5; }
.grk .btn.gh { background: #000; color: #fff; border-color: #3A3A3A; }
.grk textarea, .grk input[type=text], .grk input[type=email], .grk select { background: #0B0B0B !important; color: #fff !important; border: 1px solid #3A3A3A !important; border-radius: 9px; padding: 9px 11px; width: 100%; font: inherit; font-size: 15px; }
.grk input:disabled { color: #8A8A8A !important; cursor: not-allowed; }
.grk .glad { grid-template-columns: repeat(9, minmax(0, 1fr)); }
.grk .glad li.done { color: #5FE3B5; }
.grk .glad li.done::before { background: #5FE3B5; }
.grk .gfoot { flex-wrap: wrap; }
.grk .dcard.hot { background: #0F1F19; }
.grk .dcard.need { background: #1C1609; }
.gaddr { border-left: 3px solid #5FE3B5; background: #0F1F19; border-radius: 0 9px 9px 0; padding: 12px 14px; font-size: 14px; line-height: 1.42; display: flex; flex-direction: column; gap: 4px; color: #D4D4D4; }
.gaddr b { color: #fff; }
.gaddr code { font: 700 19px/1.25 ui-monospace, Menlo, monospace; color: #5FE3B5; overflow-wrap: anywhere; }
.glink { background: none; border: 0; padding: 0; color: #5FE3B5; text-decoration: underline; font-weight: 700; font-size: 14.5px; align-self: flex-start; }
.gopts { display: flex; flex-direction: column; gap: 6px; }
.gopts button { text-align: left; background: #0B0B0B; border: 1px solid #3A3A3A; border-radius: 9px; padding: 10px 12px; color: #fff; font-size: 14.5px; overflow-wrap: anywhere; }
.gopts button[aria-pressed="true"] { border-color: #5FE3B5; background: #0F1F19; }
.gsent { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid #2B2B2B; font-size: 14.5px; line-height: 1.3; }
.gsent i { width: 10px; height: 10px; border-radius: 50%; background: #5FE3B5; }
.gsent small { display: block; color: #A3A3A3; font-size: 13px; overflow-wrap: anywhere; }
.gsent span:last-child { color: #A3A3A3; font-size: 13px; }
.ggrid { overflow-x: auto; border: 1px solid #2B2B2B; border-radius: 10px; }
.app .ggrid table, .ggrid table { border-collapse: collapse; width: 100%; font-size: 13px; min-width: 0; }
@media (max-width: 520px) { .app .ggrid table, .ggrid table { min-width: 440px; } .ggrid td:first-child { min-width: 112px; } }
.ggrid th { font: 700 12px ui-monospace, Menlo, monospace; color: #A3A3A3; padding: 7px 3px; background: #111; text-align: center; white-space: nowrap; }
.ggrid td { padding: 6px 3px; border-top: 1px solid #2B2B2B; text-align: center; }
.ggrid td:first-child, .ggrid th:first-child { text-align: left; padding-left: 10px; color: #fff; }
.gchip { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 7px; border-radius: 5px; background: #5FE3B5; color: #04150F; }
.gchip.t { background: transparent; color: #F5B971; border: 1px dashed #8A5F2E; }
.gdays { font-size: 13.5px; color: #D4D4D4; display: grid; gap: 3px; }
.gdays b { font: 700 12.5px ui-monospace, Menlo, monospace; color: #5FE3B5; margin-right: 7px; }
.gtog { display: inline-flex; gap: 6px; }
.gtog button { border-radius: 999px; border: 1px solid #3A3A3A; background: #000; color: #fff; padding: 7px 14px; font-weight: 700; font-size: 14px; }
.gtog button[aria-pressed="true"] { background: #5FE3B5; border-color: #5FE3B5; color: #04150F; }
.gplan { display: block; width: 100%; text-align: left; background: #0B0B0B; border: 1px solid #2B2B2B; border-radius: 10px; padding: 12px 14px; color: #D4D4D4; font-size: 14px; line-height: 1.42; }
.gplan[aria-pressed="true"] { border-color: #5FE3B5; background: #0F1F19; }
.gplan b { display: block; color: #fff; font-size: 16px; margin-bottom: 2px; }
.gplan em { display: block; font-style: normal; color: #5FE3B5; font-weight: 600; font-size: 13.5px; margin-top: 3px; }
.gsum { border: 1px solid #5FE3B5; border-radius: 10px; padding: 12px 14px; font-size: 14px; line-height: 1.42; color: #D4D4D4; }
.gsum b { display: block; color: #fff; font-size: 17px; margin: 2px 0; }
.g2c { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
@media (max-width: 520px) { .grk .glad { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.rudrop { border: 1px dashed #4A5B7A; border-radius: 10px; padding: 22px 16px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 14.5px; }
.rudrop.has, .rudrop.over { border-style: solid; border-color: var(--acc); }
.rupick { color: var(--acc); font-weight: 700; cursor: pointer; position: relative; }
.rupick input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.rupick:focus-within { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 4px; }
.rusmall { display: block; color: var(--d-muted); font-size: 12px; margin-top: 2px; white-space: nowrap; }
.sclim { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; }
.app .sclim input[type=number] { width: 76px; text-align: center; }
.sclim button { width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--d-line); background: transparent; color: var(--d-ink); font-size: 18px; line-height: 1; }
.sclim button:disabled { opacity: .4; }
.app input[type=tel] { width: 100%; background: #0E1A2E; color: var(--d-ink); border: 1px solid var(--d-line); border-radius: 9px; padding: 9px 11px; font: inherit; font-size: 16px; }
.smsbub { background: #1F2C44; border-radius: 14px 14px 14px 4px; padding: 10px 13px; font-size: 14px; line-height: 1.4; max-width: 92%; }
.smson { font-size: 12.5px; color: var(--d-muted); }
.smson button { background: none; border: 0; padding: 0; color: var(--acc); text-decoration: underline; font-size: 12.5px; }
.lookgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 16px; margin: 4px 0 8px; }
.lookgrid small { display: block; color: var(--d-muted); font-size: 12px; margin-bottom: 1px; }
.lookgrid b { font-weight: 600; font-size: 14.5px; line-height: 1.3; overflow-wrap: anywhere; }
.lookfoot { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; justify-content: space-between; font-size: 13px; color: var(--d-muted); border-top: 1px solid var(--d-line); padding-top: 8px; }
@media (max-width: 760px) { .lookgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.jdhead { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.jdhead h4 { margin: 0; font: 500 clamp(21px, 2.4vw, 26px)/1.15 var(--display); }
.jdhead .pay { font-size: 16px; font-weight: 600; margin-top: 4px; }
.jdfacts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 16px; }
.jdfacts small { display: block; color: var(--d-muted); font-size: 12px; margin-bottom: 1px; }
.jdfacts span { font-size: 14px; line-height: 1.35; overflow-wrap: anywhere; }
.jdtitle { background: none; border: 0; padding: 0; color: inherit; text-align: left; font: inherit; text-decoration: underline; text-decoration-color: var(--d-muted); text-underline-offset: 2px; cursor: pointer; }
.jdtitle:hover { color: var(--acc); }
@media (max-width: 560px) { .jdfacts { grid-template-columns: minmax(0, 1fr); } }
button.stage-h { display: block; width: 100%; background: none; border: 0; text-align: left; border-radius: 8px; cursor: pointer; position: relative; padding-right: 26px; }
button.stage-h:hover { background: rgba(255,255,255,.04); }
.stage-h .chev { position: absolute; right: 8px; top: 17px; color: var(--d-muted); transition: transform .15s; font-size: 11px; line-height: 1; }
.stage-h[aria-expanded="false"] .chev { transform: rotate(-90deg); }
.stage-h .badge { position: absolute; right: 24px; top: 15px; }
.acwrap { position: relative; margin-top: auto; padding-top: 14px; }
.acbtn { display: flex; align-items: center; gap: 9px; width: 100%; background: none; border: 0; border-radius: 9px; padding: 7px 8px; color: var(--d-ink); text-align: left; }
.acbtn:hover, .acbtn[aria-expanded="true"] { background: var(--d-card); }
.acbtn .av { width: 28px; height: 28px; font-size: 11px; flex: none; }
.acbtn .tx { flex: 1; min-width: 0; font-size: 13px; line-height: 1.25; }
.acbtn small { display: block; color: var(--d-muted); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acmenu { position: absolute; left: 0; bottom: calc(100% + 6px); width: 248px; z-index: 30; background: #14223A; border: 1px solid #2C3F60; border-radius: 12px; box-shadow: 0 10px 34px rgba(0,0,0,.45); padding: 8px; display: flex; flex-direction: column; gap: 1px; }
.acmenu .em { padding: 6px 9px 8px; font-size: 12.5px; color: var(--d-muted); overflow-wrap: anywhere; }
.acmenu button { display: block; width: 100%; background: none; border: 0; border-radius: 7px; text-align: left; padding: 7px 9px; font-size: 14px; color: var(--d-ink); }
.acmenu button:hover { background: rgba(255,255,255,.07); }
.acmenu hr { border: 0; border-top: 1px solid #2C3F60; margin: 5px 0; width: 100%; }
.side .acwrap + .pow { margin-top: 0; padding-top: 8px; }
.acrow { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--d-line); font-size: 14px; }
.acrow:first-of-type { border-top: 0; }
.acrow small { display: block; color: var(--d-muted); font-size: 12.5px; }
.aclegal a { display: block; padding: 10px 0; border-top: 1px solid var(--d-line); color: var(--d-ink); text-decoration: underline; text-underline-offset: 2px; font-size: 14.5px; }
.aclegal a:first-child { border-top: 0; }
@media (max-width: 900px) { .acwrap { margin: 0; padding: 0; flex: none; position: static; } .acbtn { width: auto; } .acbtn .tx { display: none; } .acmenu { position: fixed; left: 16px; right: 16px; top: 70px; bottom: auto; width: auto; } button.stage-h { width: auto; flex: none; padding: 0 22px 0 10px; } .stage-h .chev { top: 3px; right: 6px; } .stage-h .badge { display: none; } }
.app .chgt table { min-width: 860px; }
.lkmode { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 4px; }
.lksent { font: 500 clamp(17px, 2vw, 21px)/1.25 var(--display); margin: 2px 0 8px; }
.lkquiet { font-size: 13px; color: var(--d-muted); margin: 0 0 8px; }
.lkq { display: flex; flex-direction: column; gap: 5px; margin-bottom: 10px; }
.lkq > b { font-size: 13.5px; font-weight: 600; }
.lkchips { display: flex; flex-wrap: wrap; gap: 5px; }
.lkchips button { border: 1px solid var(--d-line); background: transparent; color: var(--d-ink); border-radius: 999px; padding: 5px 11px; font-size: 13px; line-height: 1.25; text-align: left; }
.lkchips button[aria-pressed="true"] { background: #fff; color: #0E1A2B; border-color: #fff; font-weight: 600; }
.lkchips button.sug:not([aria-pressed="true"]) { border-color: var(--acc); }
.lkplay { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 5px; font-size: 13.5px; line-height: 1.38; }
.lkplay b { font-weight: 600; }
.lkmore summary { cursor: pointer; font-size: 13px; color: var(--acc-l); font-weight: 600; }
.idchain { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; font-size: 12.5px; color: var(--d-muted); }
.idchain b { padding: 3px 9px; border-radius: 999px; border: 1px solid var(--d-line); font-weight: 600; color: var(--d-ink); }
.idchain b.on { background: #fff; color: #0E1A2B; border-color: #fff; }
.idlab { display: inline-block; font-size: 11.5px; font-weight: 700; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.idlab.v { background: rgba(61,213,152,.16); color: var(--d-green); }
.idlab.u { background: rgba(125,160,255,.18); color: #A9C0FF; }
.idlab.i { background: rgba(242,193,78,.16); color: var(--d-amber); }
.idlab.n { background: rgba(244,160,160,.16); color: var(--d-red); }
.idrow { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: start; padding: 8px 0; border-top: 1px solid var(--d-line); font-size: 14px; line-height: 1.38; }
.idrow:first-of-type { border-top: 0; }
.idrow small { display: block; color: var(--d-muted); font-size: 12.5px; }
.idtl { display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; align-items: start; gap: 10px; padding: 8px 0; border-top: 1px solid var(--d-line); font-size: 14px; }
.idtl:first-of-type { border-top: 0; }
.idtl small { color: var(--d-muted); font-size: 12.5px; display: block; }
.idsk { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.idsk b { display: block; font-size: 13px; margin-bottom: 2px; }
.idsk span { font-size: 13.5px; color: var(--d-muted); }
.idbound { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.app .idev table { min-width: 860px; }
.idcon { font-size: 12.5px; color: var(--d-muted); white-space: nowrap; }
.idtrace { font-size: 12px; color: var(--d-muted); }
@media (max-width: 620px) { .idbound { grid-template-columns: minmax(0, 1fr); } .idtl { grid-template-columns: minmax(0, 1fr) auto; } .idtl > span:first-child { grid-column: 1 / -1; } }
.gz-tbl{width:100%;border-collapse:collapse;font-size:14px;min-width:0}.gz-tbl th{text-align:left;font-size:12px;font-weight:600;padding:8px;border-bottom:1px solid var(--d-line)}.gz-tbl td{padding:8px;border-bottom:1px solid var(--d-line)}.gz-proof{margin:8px 0 0;padding:0;list-style:none}.gz-proof li{padding:8px 0;border-top:1px solid var(--d-line);font-size:14px}.gz-proof small{display:block;color:var(--mut,#667);font-size:12px;margin-top:2px}.gz-grid{display:grid;gap:10px;grid-template-columns:repeat(auto-fill,minmax(240px,1fr))}.gz-types{display:grid;gap:8px;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));margin-top:8px}.gz-types p{margin:0;font-size:13px}.gz-types small{display:block;font-size:12px;opacity:.75;margin-top:2px}
.idface{display:flex;flex-direction:column;gap:inherit;min-width:0}.idface.turn{animation:idturn .45s ease-out;transform-origin:center top}@keyframes idturn{from{transform:perspective(1400px) rotateY(80deg);opacity:.2}to{transform:perspective(1400px) rotateY(0);opacity:1}}@media (prefers-reduced-motion:reduce){.idface.turn{animation:none}}.idcard,.idcard-back{cursor:pointer}.idcard select,.idcard label{cursor:auto}
.idcard{background:linear-gradient(160deg,#17294a,var(--d-card) 55%);border:1px solid #35507f;border-radius:18px;padding:18px}.idcard-h{display:flex;align-items:center;gap:12px;margin-bottom:12px}.idcard-h .tx{flex:1;min-width:0}.idcard-h b{display:block;font:500 22px/1.2 var(--display)}.idcard-h small{font-size:13px;color:var(--d-muted)}.tgrow{display:grid;grid-template-columns:170px minmax(0,1fr);gap:10px;padding:10px 0;border-top:1px solid var(--d-line)}.tgrow>span:first-child{font-size:12.5px;font-weight:600;color:var(--d-muted);padding-top:5px}.tgs{display:flex;flex-wrap:wrap;gap:6px}.ctag{display:inline-flex;align-items:center;gap:6px;font:500 13px/1.2 inherit;font-family:inherit;color:inherit;background:rgba(127,127,127,.12);border:1px solid rgba(127,127,127,.32);border-radius:999px;padding:5px 10px}button.ctag{cursor:pointer}button.ctag:hover{border-color:currentColor}.ctag i{width:7px;height:7px;border-radius:50%;flex:none;background:#8a94a6}.ctag i.v{background:#3ecf8e}.ctag i.u{background:#5b9cff}.ctag i.s{background:#c58bff}.ctag i.n{background:#e8a33d}.ctag.sel{outline:2px solid currentColor;outline-offset:1px}.ctag.hit{background:rgba(62,207,142,.2);border-color:#3ecf8e}.ctag.dim{opacity:.45}.ctag.ask{border-style:dashed;background:transparent}.tgkey{display:flex;flex-wrap:wrap;gap:12px;font-size:12px;color:var(--d-muted);margin:0 0 10px}.tgkey span{display:inline-flex;align-items:center;gap:5px}.tgkey i{width:7px;height:7px;border-radius:50%}.tgkey i.v{background:#3ecf8e}.tgkey i.u{background:#5b9cff}.tgkey i.s{background:#c58bff}.tgkey i.n{background:#e8a33d}.tgwhy{margin-top:10px;padding:10px 12px;border-radius:12px;background:rgba(127,127,127,.12);font-size:14px}.tgcmp{display:flex;flex-wrap:wrap;gap:10px;align-items:flex-end;justify-content:space-between;margin-top:10px;padding-top:12px;border-top:1px solid var(--d-line)}.tgcmp .fld{flex:1;min-width:220px;margin:0}.ctag{text-transform:none;letter-spacing:0}.ctag.ask{border:1px dashed rgba(190,200,220,.6);background:transparent}.jobtags{margin:0 0 10px}.jobtags .tgs{margin-top:6px}.jobtags p{margin:0;font-size:13px}.jobtags .tgl{display:block;font-size:12px;opacity:.75;margin:8px 0 0}
@media (max-width:640px){.tgrow{grid-template-columns:minmax(0,1fr);gap:4px}.tgrow>span:first-child{padding-top:0}}
.atsbar{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between}.atsnum{font:500 30px/1 var(--display);font-variant-numeric:tabular-nums}.atsnum b{font-weight:500;color:var(--d-green)}.atsnum span{opacity:.6;margin:0 6px}.chgconf{margin:2px 0 0;font-size:13.5px;color:var(--d-amber)}
.apstep{display:flex;flex-direction:column;gap:8px;padding:12px 0;border-top:1px solid var(--d-line)}.apstep:first-of-type{border-top:0;padding-top:4px}.apstep>b{font-weight:600}.aprow{display:grid;grid-template-columns:120px minmax(0,1fr) auto;gap:10px;align-items:start;font-size:14px;padding:6px 0;border-top:1px solid var(--d-line)}.aprow>span:first-child{color:var(--d-muted);font-size:13px}.aprow>span:nth-child(2){overflow-wrap:anywhere;white-space:pre-line}.aprow .need{color:var(--d-amber)}
@media (max-width:640px){.aprow{grid-template-columns:minmax(0,1fr) auto}.aprow>span:first-child{grid-column:1/-1}}
.engbranch{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between;background:rgba(127,150,200,.14);color:inherit;border:1px solid #35507F;border-radius:12px;padding:12px 14px}.engbranch b{display:block;color:inherit}.engbranch>span:first-child{flex:1 1 220px;min-width:0}.engbranch .mut{color:inherit;opacity:.75}.gall{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.gdesigns{display:flex;flex-wrap:wrap;gap:6px}@media (max-width:640px){.gall{grid-template-columns:minmax(0,1fr)}}
.pfqr{display:flex;gap:10px;align-items:center;justify-content:space-between;padding:7px 0;border-top:1px solid var(--d-line);font-size:14px}.pfqr>span:first-child{flex:1;min-width:0}.seqdays{display:flex;flex-wrap:wrap;gap:6px}.seqday{display:flex;flex-direction:column;gap:1px;border:1px solid var(--d-line);border-radius:8px;padding:6px 10px;min-width:96px;font-size:13px}.seqday b{font-weight:600}.seqday small{color:var(--d-muted);font-size:12px}.seqsum{font:500 22px/1.2 var(--display);margin:0}.seqwrap{overflow-x:auto}.app table.seqtbl,.seqtbl{min-width:0;width:100%;border-collapse:collapse;font-size:13px}.seqtbl th,.seqtbl td{padding:6px 10px 6px 0;text-align:left;border-top:1px solid var(--d-line);white-space:nowrap;font-weight:400}.seqtbl thead th{border-top:0;color:var(--d-muted);font-size:12px;font-weight:600}.seqtbl th[scope=row]{font-weight:600}
.upbtn{position:relative;overflow:hidden;cursor:pointer;display:inline-block}.upbtn input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%}.upbtn:focus-within{outline:3px solid var(--d-amber);outline-offset:2px}.pfvid{width:100%;max-width:320px;border-radius:8px;display:block;margin:6px 0 2px;background:#000}
.scrules{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px}.scmodes button:disabled{opacity:.6;cursor:default}.batchrow{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:center;padding:10px 0;border-top:1px solid var(--d-line)}.batchrow b{display:block;font-weight:600}.batchrow small{color:var(--d-muted);font-size:12.5px}
@media (max-width: 1240px) {
  .studio { grid-template-columns: minmax(0, 1fr); }
  .tpgrid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); max-height: 480px; }
  .view { height: 560px; }
}
@media (max-width: 900px) {
  .app { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .side { flex-direction: row; overflow-x: auto; padding: 10px; border-right: 0; border-bottom: 1px solid var(--d-line); align-items: center; gap: 3px; }
  .mark { padding: 0 10px 0 4px; flex: none; max-width: 150px; } .mark small { display: none; }
  .stage-h { flex: none; padding: 0 2px 0 10px; border-left: 1px solid var(--d-line); margin-left: 4px; } .stage-h small { display: none; }
  .side .pow { display: none; }
  .nav { width: auto; flex: none; padding: 7px 9px; } .nav svg { display: none; } .badge { margin-left: 4px; }
  .main, .main.wide { padding: 16px 13px 24px; }
  .g2, .g3, .ib { grid-template-columns: minmax(0, 1fr); }
  .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tri, .flags { grid-template-columns: minmax(0, 1fr); } .flow4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .seats { grid-template-columns: minmax(0, 1fr); } .flow4 { grid-template-columns: minmax(0, 1fr); }
  .fr { grid-template-columns: minmax(0, 1fr) 56px; } .fr .fb { grid-column: 1 / -1; grid-row: 2; }
}
@media (prefers-reduced-motion: reduce) { .flip-in, .sw input::after { transition: none; } }

/* Full-page portals: the prototype's demo frame and seat tabs are gone. */
[hidden] { display: none !important; }
body { margin: 0; }
.page.portal:not(.wgmode) { max-width: none; margin: 0; padding: 0; }
.page.portal:not(.wgmode) .frame { border: 0; border-radius: 0; margin: 0; box-shadow: none; overflow: visible; }
.page.portal:not(.wgmode) .app { min-height: calc(100vh - 34px); }
.samplebar { margin: 0; padding: 7px 16px; font-size: 13px; line-height: 20px; text-align: center; background: #FFF4D6; color: #5C4300; }
.main a.btn, .side a.nav { text-decoration: none; }
.wgmode .samplebar { position: sticky; bottom: 0; z-index: 5; }
body:has(.page.portal:not(.wgmode)) { background: #0B1526; }
.view iframe { display: block; width: 100%; height: 100%; border: 0; background: #fff; }
.tgadd{background:none;border:1px dashed var(--d-line);color:var(--d-muted);border-radius:999px;padding:4px 11px;font:inherit;font-size:13px;cursor:pointer}.tgadd:hover{color:var(--d-ink);border-color:var(--d-muted)}.tgaddf{display:inline-flex;flex-wrap:wrap;gap:6px;align-items:center}.tgaddf input{min-width:0;width:170px;max-width:100%;padding:5px 9px;border-radius:8px;border:1px solid var(--d-line);background:var(--d-bg);color:var(--d-ink);font:inherit;font-size:13px}
