/* Preview shell: mimics the startup report chrome (one-column, tab strip) so the
   new sections sit where they would on staging. Card, tile, KPI and checklist
   classes come from the copied prod files tabs.css + regulations.css. */
*, *::before, *::after { box-sizing: border-box; }
:root { --font-inter: 'Inter'; --font-mono: 'JetBrains Mono'; --mint: #3ddc97; }
html, body { margin: 0; background: #050505; color: rgba(255, 255, 255, 0.94); }
body { font-family: Inter, system-ui, sans-serif; font-size: 15px; letter-spacing: -0.01em; -webkit-font-smoothing: antialiased; }
button, input, select { font-family: inherit; }

/* variant switcher (preview only) */
.vbar { position: sticky; top: 0; z-index: 30; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 12px 16px; background: rgba(5, 5, 5, 0.92); border-bottom: 1px solid rgba(255, 255, 255, 0.08); backdrop-filter: blur(28px); }
.vbar .vt { font-size: 13px; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; margin-right: 8px; color: rgba(255, 255, 255, 0.94); }
.vbar button { border: 1px solid rgba(255, 255, 255, 0.12); background: rgba(255, 255, 255, 0.04); color: rgba(255, 255, 255, 0.9); border-radius: 999px; padding: 7px 14px; font-size: 14px; font-weight: 500; cursor: pointer; }
.vbar button.on { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.24); }
.vbar .vn { margin-left: auto; font-size: 14px; color: rgba(255, 255, 255, 0.86); }
@media (max-width: 760px) { .vbar .vn { margin-left: 0; width: 100%; } }

/* report chrome */
.shell { max-width: 1180px; margin: 0 auto; padding: 28px 24px 80px; }
@media (max-width: 640px) { .shell { padding: 20px 16px 60px; } }
.rhead .rk { font-size: 13px; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; color: rgba(255, 255, 255, 0.86); }
.rhead h1 { margin: 6px 0 0; font-size: 30px; font-weight: 600; letter-spacing: -0.035em; color: #fff; }
.rhead p { margin: 4px 0 0; font-size: 15px; color: rgba(255, 255, 255, 0.86); }
.rtabs { display: flex; gap: 22px; margin: 22px 0 26px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); overflow-x: auto; scrollbar-width: none; }
.rtabs span { padding: 0 0 12px; font-size: 14.5px; font-weight: 500; color: rgba(255, 255, 255, 0.8); white-space: nowrap; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.rtabs span.on { color: #fff; border-bottom-color: rgba(255, 255, 255, 0.7); }
.rtabs span.new::after { content: 'New'; margin-left: 7px; font-size: 13px; font-weight: 600; color: var(--mint); }

.variant { display: none; }
.variant.on { display: flex; flex-direction: column; gap: 16px; animation: vin 0.5s cubic-bezier(0.22, 1, 0.36, 1); }
@keyframes vin { from { opacity: 0; transform: translateY(6px); } }

/* buttons: glass only */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.08); color: rgba(255, 255, 255, 0.94); border-radius: 999px; padding: 9px 16px; font-size: 14px; font-weight: 500; cursor: pointer; white-space: nowrap; transition: background 0.2s, border-color 0.2s; }
.btn:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.22); }
.btn.mint { border-color: rgba(61, 220, 151, 0.45); background: rgba(61, 220, 151, 0.1); color: #fff; }
.btn.mint:hover { background: rgba(61, 220, 151, 0.18); }
.btn.sm { padding: 6px 12px; font-size: 13.5px; }
.btn.done { border-color: rgba(255, 255, 255, 0.1); background: none; color: rgba(255, 255, 255, 0.86); cursor: default; }
.btn svg { width: 15px; height: 15px; }

/* search field */
.sfield { position: relative; display: flex; align-items: center; gap: 10px; border: 1px solid rgba(255, 255, 255, 0.12); background: rgba(255, 255, 255, 0.03); border-radius: 14px; padding: 0 8px 0 16px; height: 54px; transition: border-color 0.2s, box-shadow 0.2s; }
.sfield:focus-within { border-color: rgba(61, 220, 151, 0.55); box-shadow: 0 0 0 4px rgba(61, 220, 151, 0.08); }
.sfield > svg { width: 19px; height: 19px; flex: none; color: rgba(255, 255, 255, 0.86); }
.sfield input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: #fff; font-size: 16px; }
.sfield input::placeholder { color: rgba(255, 255, 255, 0.62); }
.sfield.big { height: 64px; border-radius: 18px; }
.sfield.big input { font-size: 18px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid rgba(255, 255, 255, 0.12); background: rgba(255, 255, 255, 0.02); color: rgba(255, 255, 255, 0.92); border-radius: 999px; padding: 6px 12px; font-size: 14px; cursor: pointer; transition: background 0.2s, border-color 0.2s; }
.chip:hover { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.22); }
.chip b { font-weight: 600; }
.lbl { font-size: 13px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: rgba(255, 255, 255, 0.94); }
.sub { font-size: 14px; color: rgba(255, 255, 255, 0.86); }
.n { font-family: 'Scotell Digits', Inter, sans-serif; font-variant-numeric: tabular-nums; }
.up { color: var(--mint); }
.dn { color: #ef4444; }

/* table */
.tbl-wrap { overflow-x: auto; }
table.kt { width: 100%; border-collapse: collapse; min-width: 760px; }
table.kt th { text-align: left; font-size: 13px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: rgba(255, 255, 255, 0.94); padding: 0 12px 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.09); white-space: nowrap; }
table.kt td { padding: 14px 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); font-size: 14.5px; color: rgba(255, 255, 255, 0.92); vertical-align: middle; }
table.kt tr:last-child td { border-bottom: 0; }
table.kt tr { transition: background 0.2s; }
table.kt tbody tr:hover { background: rgba(255, 255, 255, 0.02); }
table.kt .r { text-align: right; }
.kwname { font-weight: 600; color: #fff; }
.kd { display: inline-flex; align-items: center; gap: 8px; }
.kd .bar { width: 56px; height: 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.kd .bar i { display: block; height: 100%; border-radius: 999px; }
.who { display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.who span { white-space: nowrap; }
.x { width: 30px; height: 30px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.1); background: none; color: rgba(255, 255, 255, 0.86); cursor: pointer; display: grid; place-items: center; }
.x:hover { border-color: rgba(239, 68, 68, 0.5); color: #fff; }
.x svg { width: 14px; height: 14px; }

/* lookup result card */
.lookup { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 22px; }
@media (max-width: 860px) { .lookup { grid-template-columns: 1fr; } }
.stat3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.stat3 > div { border: 1px solid rgba(255, 255, 255, 0.07); border-radius: 12px; padding: 12px; background: rgba(255, 255, 255, 0.02); }
.stat3 .v { font-family: 'Scotell Digits', Inter, sans-serif; font-size: 22px; font-weight: 500; color: #fff; margin-top: 6px; }
.stat3 .c { font-size: 13.5px; color: rgba(255, 255, 255, 0.86); margin-top: 2px; }
.serp { display: flex; flex-direction: column; }
.serp .sr { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 10px; align-items: baseline; padding: 9px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.05); font-size: 14.5px; }
.serp .sr:last-child { border-bottom: 0; }
.serp .sr .p { font-family: 'Scotell Digits', Inter, sans-serif; color: rgba(255, 255, 255, 0.86); }
.serp .sr .d { color: #fff; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.serp .sr .k { font-size: 13.5px; color: rgba(255, 255, 255, 0.86); }
.serp .sr.you .d { color: var(--mint); }

.empty { padding: 26px; border: 1px dashed rgba(255, 255, 255, 0.14); border-radius: 14px; text-align: center; color: rgba(255, 255, 255, 0.88); font-size: 14.5px; }

.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); opacity: 0; background: #0d0d0d; border: 1px solid rgba(61, 220, 151, 0.4); color: #fff; border-radius: 12px; padding: 12px 18px; font-size: 14.5px; transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1); z-index: 50; pointer-events: none; display: flex; gap: 10px; align-items: center; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.toast svg { width: 16px; height: 16px; color: var(--mint); }

mark { background: rgba(61, 220, 151, 0.2); color: #fff; border-radius: 3px; padding: 0 2px; }

/* AI answers: the report's own Open seats design (search.css .srt-seats), Nov 17 */
.srt-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.08); color: var(--tx-w); border-radius: 999px; padding: 9px 16px; font: 500 14px var(--font-inter), system-ui, sans-serif; cursor: pointer; transition: background .2s, border-color .2s, transform .15s; text-decoration: none; }
.srt-btn:hover:not(:disabled) { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.22); }
.srt-btn:active:not(:disabled) { transform: translateY(1px); }
.srt-btn:disabled { opacity: .5; cursor: default; }
.srt-btn.mint { border-color: rgba(61,220,151,.45); background: rgba(61,220,151,.1); }
.srt-note { margin: 10px 0 0; font-size: 14px; color: var(--tx-t1); line-height: 1.5; }
.srt-note.box { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; border: 1px dashed rgba(255,255,255,.16); border-radius: 14px; padding: 14px 16px; margin-top: 10px; }
.srt-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 16px; }
.srt-allow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 14px; font-size: 14px; color: var(--tx-t1); }
.srt-allow b { color: var(--tx-w); font-weight: 600; }
.srt-allow .pips { display: flex; gap: 4px; }
.srt-allow .pips i { width: 12px; height: 12px; border-radius: 4px; background: rgba(255,255,255,.1); transition: background .3s; }
.srt-allow .pips i.on { background: #3ddc97; }
.srt-seats { display: flex; flex-direction: column; gap: 16px; --vio: #8b5cf6; --mint: #3ddc97; --seat: 58px; }
.srt-seats .tx-kicker { margin-bottom: 2px; }
.srt-spin { width: 22px; height: 22px; flex: none; border-radius: 50%; border: 2px solid rgba(255,255,255,.18); border-top-color: var(--mint); animation: srt-spin .8s linear infinite; display: inline-block; }
.srt-spin.sm { width: 14px; height: 14px; border-width: 2px; }
@keyframes srt-spin { to { transform: rotate(360deg); } }
.srt-seats .eg { width: 26px; height: 26px; border-radius: 8px; display: inline-grid; place-items: center; flex: none; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); transition: transform .3s cubic-bezier(.34,1.56,.64,1), border-color .2s; }
.srt-seats .eg.lg { width: 42px; height: 42px; border-radius: 12px; }
.srt-seats .eg:hover { transform: translateY(-2px) rotate(-4deg); border-color: rgba(255,255,255,.24); }

.srt-seats-hero { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr); gap: 30px; align-items: center; padding: 28px; }
@media (max-width: 900px) { .srt-seats-hero { grid-template-columns: 1fr; padding: 20px; gap: 22px; } }
.srt-seats-hero .big { font: 500 76px/1 var(--tx-num); color: var(--mint); letter-spacing: -.03em; margin-top: 12px; }
.srt-seats-hero .big small { font: 500 22px var(--font-inter), system-ui, sans-serif; color: var(--tx-w); letter-spacing: -.01em; margin-left: 8px; }
.srt-seats-hero .what { font-size: 18px; color: var(--tx-w); margin-top: 12px; line-height: 1.4; letter-spacing: -.01em; }
.srt-seats-hero .why { font-size: 14.5px; color: var(--tx-t1); margin-top: 10px; line-height: 1.55; max-width: 46ch; }
.srt-seats-hero .why b { color: var(--tx-w); }
.srt-seats-hero .asking { display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; font-size: 14px; color: var(--tx-t1); }
.srt-seats .theatre { display: grid; gap: 8px; align-items: center; justify-content: end; }
@media (max-width: 520px) { .srt-seats { --seat: 46px; } .srt-seats .theatre { gap: 6px; } }
.srt-seats .theatre .ch { display: grid; place-items: center; }
.srt-seats .theatre .rl { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; text-align: right; padding-right: 6px; min-width: 0; }
.srt-seats .theatre .rl > span { font-size: 13.5px; color: var(--tx-t1); line-height: 1.3; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.srt-seats .theatre .rl .rm { border: 0; background: none; padding: 0; font: 500 13px var(--font-inter), system-ui, sans-serif; color: var(--tx-t1); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; opacity: 0; transition: opacity .2s; }
.srt-seats .theatre .rl:hover .rm, .srt-seats .theatre .rl .rm:focus-visible { opacity: 1; }
@media (hover: none) { .srt-seats .theatre .rl .rm { opacity: 1; } }
.srt-seats .seat { position: relative; width: var(--seat); aspect-ratio: 1; border-radius: 14px; border: 1px solid rgba(255,255,255,.1); background: rgba(139,92,246,var(--heat,.1)); color: var(--tx-w); font: 600 14px var(--font-inter), system-ui, sans-serif; display: grid; place-items: center; cursor: default; padding: 0; transition: transform .3s cubic-bezier(.34,1.56,.64,1), opacity .25s, border-color .25s, background .25s; animation: srt-seat .6s cubic-bezier(.34,1.56,.64,1) backwards; }
.srt-seats .seat .face { width: 100%; height: 100%; object-fit: cover; border-radius: 13px; display: block; }
.srt-seats .seat:hover, .srt-seats .seat:focus-visible { transform: translateY(-3px) scale(1.05); border-color: rgba(255,255,255,.4); outline: none; }
.srt-seats .seat.open { border: 1.5px dashed rgba(61,220,151,.8); background: rgba(61,220,151,.05); color: var(--mint); }
.srt-seats .seat.open svg { width: 18px; height: 18px; transition: transform .3s cubic-bezier(.34,1.56,.64,1); }
.srt-seats .seat.open:hover svg { transform: rotate(90deg) scale(1.15); }
.srt-seats .seat.open::after { content: ''; position: absolute; inset: -4px; border-radius: 17px; border: 1px solid rgba(61,220,151,.55); opacity: 0; animation: srt-breathe 3.2s ease-in-out infinite; animation-delay: var(--bd, 0s); pointer-events: none; }
.srt-seats .seat.pending { background: rgba(255,255,255,.02); }
.srt-seats .seat.none, .srt-seats .seat.unread { background: rgba(255,255,255,.02); color: var(--tx-t1); }
.srt-seats .theatre.hl .seat:not(.hit) { opacity: .22; }
.srt-seats .theatre.hl .seat.hit { border-color: var(--vio); background: rgba(139,92,246,.45); transform: translateY(-3px); }
@keyframes srt-seat { from { opacity: 0; transform: translateY(10px) scale(.8); } }
@keyframes srt-breathe { 0%, 100% { opacity: 0; transform: scale(1); } 50% { opacity: .9; transform: scale(1.03); } }
.srt-tip { position: fixed; z-index: 60; pointer-events: none; width: 280px; background: #0d0d0d; border: 1px solid rgba(255,255,255,.14); border-radius: 12px; padding: 10px 12px; font-size: 14px; color: var(--tx-t1); line-height: 1.45; white-space: pre-line; animation: srt-in .2s var(--tx-ease); }

.srt-seats .board { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; }
.srt-seats .br { display: grid; grid-template-columns: 24px minmax(0,1fr) minmax(90px, 150px) 30px; gap: 12px; align-items: center; font-size: 14.5px; color: var(--tx-w); padding: 6px 8px; margin: 0 -8px; border-radius: 10px; transition: background .2s; }
.srt-seats .br:hover { background: rgba(255,255,255,.04); }
.srt-seats .br .rk { color: var(--tx-t1); }
.srt-seats .br > span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.srt-seats .stk { height: 10px; border-radius: 999px; overflow: hidden; display: flex; gap: 2px; }
.srt-seats .stk u { display: block; height: 100%; transform-origin: left; animation: srt-lane .9s var(--tx-ease) backwards; }
.srt-seats .br .n { text-align: right; }
.srt-seats .br.you { color: var(--mint); }
.srt-seats .br.you .stk { border: 1px dashed rgba(61,220,151,.6); }
.srt-seats .legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13.5px; color: var(--tx-t1); margin-top: 12px; }
.srt-seats .legend span { display: inline-flex; align-items: center; gap: 6px; }
.srt-seats .legend i { width: 14px; height: 6px; border-radius: 3px; display: inline-block; }
.srt-seats .srcs { display: flex; flex-direction: column; margin-top: 10px; }
.srt-seats .srcs .sr { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.07); font-size: 14.5px; color: var(--tx-w); }
.srt-seats .srcs .sr > span { min-width: 0; overflow-wrap: anywhere; }
.srt-seats .srcs .sr small { display: block; font-size: 13.5px; color: var(--tx-t1); margin-top: 3px; }
.srt-seats .srcs .bar { display: flex; gap: 3px; margin-top: 6px; }
.srt-seats .srcs .bar i { width: 14px; height: 5px; border-radius: 2px; }
.srt-seats .srt-btn.done { border-color: rgba(61,220,151,.45); background: rgba(61,220,151,.08); opacity: 1; }
.srt-seats .ck path { stroke-dasharray: 24; stroke-dashoffset: 24; animation: srt-draw .45s var(--tx-ease) forwards; }
.srt-seats .feed { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }
.srt-seats .feed div { display: grid; grid-template-columns: 22px minmax(0,1fr); gap: 10px; font-size: 14.5px; color: var(--tx-t1); line-height: 1.45; animation: srt-in .5s var(--tx-ease) backwards; }
.srt-seats .feed svg { width: 18px; height: 18px; margin-top: 1px; }
.srt-seats .feed b { color: var(--tx-w); }
.srt-add { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.srt-add input { flex: 1; min-width: 200px; height: 46px; border-radius: 999px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.03); color: var(--tx-w); padding: 0 18px; font: 400 15px var(--font-inter), system-ui, sans-serif; outline: none; transition: border-color .2s, background .2s; }
.srt-add input:focus { border-color: rgba(61,220,151,.5); background: rgba(61,220,151,.03); }
.srt-add input::placeholder { color: rgba(255,255,255,.62); }

@media (prefers-reduced-motion: reduce) { .srt-seats .seat, .srt-seats .seat.open::after, .srt-seats .stk u, .srt-seats .feed div, .srt-seats .ck path, .srt-spin { animation: none !important; } .srt-seats .ck path { stroke-dashoffset: 0; } }
@keyframes srt-lane { from { transform: scaleX(0); } }
@keyframes srt-in { from { opacity: 0; transform: translateY(8px); } }
@keyframes srt-draw { to { stroke-dashoffset: 0; } }
.srt-seats .seat .init { font: 600 15px var(--font-inter), system-ui, sans-serif; letter-spacing: .02em; }
.srt-seats .eg svg { width: 22px; height: 22px; }
.srt-btn.sm { padding: 7px 13px; font-size: 13.5px; }
@media (max-width: 700px) { .srt-seats .br { grid-template-columns: 22px minmax(0,1fr) 28px; row-gap: 6px; } .srt-seats .br .stk { grid-column: 2 / -1; grid-row: 2; width: 100% !important; } .srt-seats .srcs .sr { grid-template-columns: 1fr; } }

/* the page's older board and source-chip rules stay for the other views; inside Open seats the app's own apply */
.srt-seats .board { gap: 6px; }
.srt-seats .board .br { grid-template-columns: 24px minmax(0,1fr) minmax(90px, 150px) 30px; gap: 12px; padding: 6px 8px; margin: 0 -8px; font-size: 14.5px; color: var(--tx-w); }
.srt-seats .board .br.you { color: var(--mint); }
.srt-seats .srcs { flex-wrap: nowrap; gap: 0; }
.srt-seats .srcs span, .srt-seats .srcs .sr > span { border: 0; border-radius: 0; padding: 0; font-size: 14.5px; color: var(--tx-w); }
.srt-seats .srcs .sr small { font-size: 13.5px; color: var(--tx-t1); }
.srt-seats .srcs .bar { display: flex; gap: 3px; margin-top: 6px; }
.srt-seats .srcs .bar i { width: 14px; height: 5px; border-radius: 2px; display: block; }
.srt-seats .legend i { display: inline-block; }
@media (max-width: 700px) { .srt-seats .board .br { grid-template-columns: 22px minmax(0,1fr) 28px; row-gap: 6px; } }
