/* Broadcast layout for admin/session-transcripts.php.
   Uses the standalone studio visual system while preserving the existing API DOM IDs. */

:root {
    --studio-bg: #030817;
    --studio-ink: #eef6ff;
    --studio-muted: #8ea7cf;
    --studio-blue: #0a4fc8;
    --studio-blue-2: #0aa6ff;
    --studio-cyan: #44d5ff;
    --studio-gold: #ffcf24;
    --studio-green: #5fd08a;
    --studio-red: #ff3636;
    --studio-panel: rgba(7, 19, 43, .86);
    --studio-panel-2: rgba(9, 28, 61, .78);
    --studio-line: rgba(112, 170, 255, .18);
    --studio-shadow: 0 28px 84px rgba(0, 0, 0, .44);
    --studio-sans: "Hanken Grotesk", "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --studio-mono: "Spline Sans Mono", ui-monospace, "SF Mono", Consolas, monospace;
}

.session-studio-broadcast,
.session-studio-broadcast * {
    letter-spacing: 0 !important;
}

.session-studio-broadcast {
    min-height: 100vh;
    overflow-x: hidden;
    background:
        radial-gradient(100% 75% at 74% 0%, rgba(24, 88, 184, .34), transparent 58%),
        radial-gradient(110% 90% at 50% 120%, rgba(0, 128, 255, .14), transparent 68%),
        #04091d !important;
    color: var(--studio-ink);
    font-family: var(--studio-sans);
}

.session-studio-broadcast::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(112, 170, 255, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(112, 170, 255, .035) 1px, transparent 1px);
    background-size: 46px 46px;
    -webkit-mask-image: radial-gradient(120% 100% at 50% 0%, #000 38%, transparent 100%);
    mask-image: radial-gradient(120% 100% at 50% 0%, #000 38%, transparent 100%);
}

.session-studio-broadcast::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(3, 8, 23, .78), rgba(3, 8, 23, .3) 46%, rgba(3, 8, 23, .92)),
        url("../command-center/masthead.png") right top / min(58vw, 900px) auto no-repeat;
    opacity: .74;
}

.topbar {
    position: relative;
    min-height: 188px;
    padding: 28px 28px 30px 170px !important;
    display: grid !important;
    grid-template-columns: auto minmax(360px, 1fr) minmax(240px, 520px) auto auto auto auto auto;
    align-items: center;
    gap: 18px !important;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(2, 10, 28, .98), rgba(4, 24, 61, .88) 58%, rgba(5, 11, 27, .58)),
        radial-gradient(70% 100% at 55% 10%, rgba(36, 130, 255, .24), transparent 62%) !important;
    border-bottom: 1px solid rgba(68, 213, 255, .24) !important;
    box-shadow: var(--studio-shadow) !important;
}

.topbar::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 148px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .04), transparent),
        rgba(3, 11, 28, .96);
    border-right: 1px solid rgba(112, 170, 255, .2);
}

.topbar::after {
    content: "";
    position: absolute;
    left: 145px;
    right: 0;
    bottom: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--studio-blue-2), var(--studio-gold), transparent);
    opacity: .75;
}

.studio-mic {
    position: relative;
    z-index: 1;
    width: 88px;
    height: 108px;
    display: grid;
    place-items: center;
    color: var(--studio-blue-2);
    filter: drop-shadow(0 0 22px rgba(10, 166, 255, .52));
}

.studio-mic svg {
    width: 86px;
    height: 86px;
}

.studio-mic rect {
    fill: rgba(10, 166, 255, .16);
    stroke: currentColor;
    stroke-width: 4;
}

.studio-mic path {
    fill: none;
    stroke: currentColor;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.topbar .brand {
    position: relative;
    z-index: 1;
}

.topbar .spacer {
    display: none !important;
}

.topbar .brand::before {
    content: "Official. Accurate. Accountable.";
    display: block;
    margin-bottom: 22px;
    color: #c8d8f4;
    font-family: "Archivo", var(--studio-sans);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
}

.topbar .brand h1 {
    max-width: 760px;
    margin: 0 !important;
    color: #fff !important;
    font-family: "Archivo", var(--studio-sans) !important;
    font-size: clamp(42px, 5vw, 74px) !important;
    line-height: .94 !important;
    font-weight: 900 !important;
    text-transform: uppercase;
    text-shadow: 0 6px 28px rgba(0, 0, 0, .5);
}

.topbar .brand .sub {
    margin-top: 16px !important;
    color: var(--studio-cyan) !important;
    font-family: var(--studio-sans);
    font-size: clamp(13px, 1.35vw, 18px) !important;
    font-weight: 600;
    text-transform: uppercase;
}

.studio-wave {
    display: flex;
    align-items: center;
    gap: 3px;
    min-width: 0;
    overflow: hidden;
    pointer-events: none;
}

.studio-wave i {
    flex: 0 0 3px;
    height: var(--bar-h, 42%);
    min-height: 6px;
    border-radius: 2px;
    background: linear-gradient(180deg, #d5f5ff, #28a5ff 52%, #075de4);
    box-shadow: 0 0 12px rgba(10, 166, 255, .72);
    transform-origin: center;
    animation: studio-wave var(--bar-d, 1s) ease-in-out var(--bar-delay, 0s) infinite;
}

.studio-wave-top {
    position: relative;
    z-index: 1;
    height: 74px;
    align-self: end;
    opacity: .86;
}

.studio-wave-live {
    height: 42px;
    flex: 1;
}

.studio-seal {
    position: relative;
    z-index: 1;
    width: clamp(92px, 9vw, 146px);
    height: clamp(92px, 9vw, 146px);
    object-fit: contain;
    filter: drop-shadow(0 0 24px rgba(68, 213, 255, .2)) drop-shadow(0 12px 24px rgba(0, 0, 0, .42));
}

@keyframes studio-wave {
    0%, 100% { transform: scaleY(.25); opacity: .62; }
    50% { transform: scaleY(1); opacity: 1; }
}

@keyframes studio-pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 54, 54, .55); }
    70%, 100% { box-shadow: 0 0 0 10px rgba(255, 54, 54, 0); }
}

@keyframes studio-line-in {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes studio-glow {
    0%, 100% { opacity: .45; }
    50% { opacity: 1; }
}

.live-pill {
    position: relative;
    z-index: 1;
    background: rgba(5, 14, 34, .8) !important;
    border: 1px solid rgba(112, 170, 255, .28) !important;
    border-radius: 8px !important;
    color: #fff;
    text-transform: uppercase;
}

.topbar .token-state {
    position: relative;
    z-index: 1;
    font-family: var(--studio-mono);
    text-transform: lowercase;
}

.topbar button {
    position: relative;
    z-index: 1;
    min-height: 38px;
    border-radius: 8px !important;
    background: rgba(18, 53, 109, .82) !important;
    border: 1px solid rgba(150, 200, 255, .34) !important;
    font-family: "Archivo", var(--studio-sans);
}

.shell {
    display: grid !important;
    grid-template-columns: 118px minmax(260px, 330px) minmax(0, 1fr) !important;
    gap: 0 !important;
    max-width: none !important;
    min-height: calc(100vh - 188px);
    padding: 0 !important;
    margin: 0 !important;
    background: rgba(2, 9, 24, .7);
}

.studio-rail {
    position: sticky;
    top: 0;
    align-self: start;
    min-height: calc(100vh - 188px);
    padding: 22px 12px;
    background: linear-gradient(180deg, #06112d, #040a1a);
    border-right: 1px solid rgba(112, 170, 255, .18);
}

.rail-brand {
    display: grid;
    justify-items: center;
    gap: 7px;
    padding-bottom: 22px;
    text-align: center;
    border-bottom: 1px solid rgba(112, 170, 255, .14);
}

.rail-brand img {
    width: 62px;
    height: 62px;
    object-fit: contain;
    filter: drop-shadow(0 0 16px rgba(68, 213, 255, .24));
}

.rail-brand strong {
    color: #fff;
    font-size: 11px;
    line-height: 1.05;
    text-transform: uppercase;
}

.rail-brand span {
    color: var(--studio-muted);
    font-size: 9px;
    text-transform: uppercase;
}

.rail-live {
    display: grid;
    justify-items: center;
    gap: 8px;
    margin-top: 24px;
    padding: 14px 8px;
    color: #d8e9ff;
    border: 1px solid rgba(112, 170, 255, .16);
    border-radius: 8px;
    background: rgba(12, 34, 76, .52);
}

.rail-live span {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--studio-red);
    animation: studio-pulse 1.6s ease-out infinite;
}

.rail-live b {
    font-size: 10px;
    text-transform: uppercase;
}

.sessions-column {
    min-height: calc(100vh - 188px);
    padding: 18px;
    background: rgba(5, 13, 31, .78);
    border-right: 1px solid rgba(112, 170, 255, .14);
    overflow: auto;
}

.panel {
    background: rgba(8, 22, 48, .72) !important;
    border: 1px solid rgba(112, 170, 255, .18) !important;
    border-radius: 8px !important;
    box-shadow: 0 16px 46px rgba(0, 0, 0, .2) !important;
    color: var(--studio-ink);
}

.panel + .panel {
    margin-top: 14px !important;
}

.panel-head {
    background: rgba(9, 27, 58, .72) !important;
    border-bottom: 1px solid rgba(112, 170, 255, .16) !important;
}

.panel-head h2,
.simulation-card h3,
.cost-card h3,
.sim-intro h3 {
    color: #fff !important;
    font-family: "Archivo", var(--studio-sans) !important;
}

.panel-head .count {
    background: rgba(10, 166, 255, .18) !important;
    border: 1px solid rgba(68, 213, 255, .3);
    color: #d7f5ff !important;
}

.panel-body {
    background: rgba(4, 12, 29, .28);
}

.hint,
label.fld,
.session-item .m,
.rowitem .meta,
.empty {
    color: var(--studio-muted) !important;
}

.input,
.select,
textarea.input,
.seg .txt {
    border: 1px solid rgba(142, 167, 207, .28) !important;
    background: rgba(4, 12, 29, .72) !important;
    color: var(--studio-ink) !important;
    border-radius: 8px !important;
}

.input:focus,
.select:focus,
textarea.input:focus,
.seg .txt:focus {
    outline: 2px solid rgba(68, 213, 255, .5) !important;
    border-color: rgba(68, 213, 255, .82) !important;
}

.btn {
    border-radius: 8px !important;
    font-family: "Archivo", var(--studio-sans);
}

.btn-primary {
    background: linear-gradient(180deg, #1d7dff, #114fae) !important;
    color: #fff !important;
}

.btn-gold {
    background: linear-gradient(180deg, #ffcf24, #d59b06) !important;
    color: #06112d !important;
}

.btn-ghost {
    background: rgba(9, 28, 61, .62) !important;
    color: #dff3ff !important;
    border: 1px solid rgba(142, 167, 207, .3) !important;
}

.btn-danger {
    background: rgba(95, 16, 28, .68) !important;
    color: #ffd7dc !important;
    border: 1px solid rgba(255, 96, 120, .36) !important;
}

.session-list {
    max-height: 44vh !important;
}

.session-item {
    border-radius: 8px !important;
    border-color: rgba(112, 170, 255, .1) !important;
    background: rgba(8, 23, 51, .54);
}

.session-item:hover {
    background: rgba(20, 57, 116, .62) !important;
}

.session-item.active {
    background: linear-gradient(90deg, rgba(10, 166, 255, .22), rgba(255, 207, 36, .12)) !important;
    border-color: rgba(68, 213, 255, .56) !important;
}

.session-item .t,
.rowitem .name,
.dropzone .big,
.cost-table td:first-child,
.cost-table td.usd,
.marker-row .mline {
    color: #fff !important;
}

#workspace {
    min-height: calc(100vh - 188px);
    border: 0 !important;
    border-radius: 0 !important;
    background: rgba(3, 8, 23, .42) !important;
}

#workspace > .panel-head {
    min-height: 66px;
    padding: 18px 26px;
    background: rgba(4, 13, 31, .82) !important;
}

#wsTitle {
    font-size: 21px !important;
}

.tabs {
    display: flex;
    gap: 4px !important;
    padding: 0 22px !important;
    background: rgba(4, 12, 29, .7) !important;
    border-bottom: 1px solid rgba(112, 170, 255, .16) !important;
}

.tab {
    min-height: 54px;
    padding: 0 18px !important;
    color: #9db8df !important;
    border-bottom: 3px solid transparent !important;
    font-family: "Archivo", var(--studio-sans);
    text-transform: uppercase;
}

.tab:hover,
.tab.active {
    color: #fff !important;
    border-bottom-color: var(--studio-cyan) !important;
}

.tabpane {
    padding: 22px !important;
    animation: studio-line-in .28s ease both;
}

.live-stage,
.sim-stage {
    grid-template-columns: 310px minmax(0, 1fr) !important;
    gap: 18px !important;
}

.live-controls,
.sim-panel {
    background: rgba(5, 14, 34, .82);
    border: 1px solid rgba(112, 170, 255, .18);
    border-radius: 8px;
    padding: 14px;
}

.live-status-card {
    background: rgba(7, 20, 46, .78) !important;
    border: 1px solid rgba(112, 170, 255, .2) !important;
    border-radius: 8px !important;
}

.live-status-card.state-live {
    border-color: rgba(95, 208, 138, .48) !important;
    box-shadow: inset 0 0 28px rgba(95, 208, 138, .08);
}

.live-status-card.state-paused {
    border-color: rgba(255, 207, 36, .45) !important;
    box-shadow: inset 0 0 28px rgba(255, 207, 36, .08);
}

.live-status-card .big {
    color: #fff !important;
    font-family: "Archivo", var(--studio-sans) !important;
}

.broadcast-head {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 62px;
    padding: 10px 14px;
    background:
        linear-gradient(90deg, rgba(5, 14, 34, .95), rgba(4, 23, 58, .72)),
        radial-gradient(70% 140% at 96% 50%, rgba(10, 166, 255, .18), transparent 72%);
    border: 1px solid rgba(112, 170, 255, .2);
    border-bottom: 0;
    border-radius: 8px 8px 0 0;
}

.broadcast-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    min-height: 34px;
    padding: 5px 12px;
    border-radius: 6px;
    color: #fff;
    font-family: "Archivo", var(--studio-sans);
    font-size: 22px;
    font-weight: 800;
    text-transform: uppercase;
    background: linear-gradient(180deg, rgba(16, 69, 148, .95), rgba(9, 36, 82, .95));
    border: 1px solid rgba(68, 213, 255, .45);
}

.broadcast-live-badge span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--studio-red);
    animation: studio-pulse 1.45s ease-out infinite;
}

.broadcast-head h3 {
    margin: 0;
    flex: 0 0 auto;
    color: #fff;
    font-family: "Archivo", var(--studio-sans);
    font-size: clamp(24px, 2.4vw, 38px);
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
    text-shadow: 0 0 24px rgba(10, 166, 255, .36);
}

.feed-bar {
    padding: 8px 12px;
    margin: 0 !important;
    background: rgba(4, 12, 29, .74);
    border-left: 1px solid rgba(112, 170, 255, .2);
    border-right: 1px solid rgba(112, 170, 255, .2);
}

.caption-feed {
    min-height: 520px !important;
    max-height: calc(100vh - 390px) !important;
    padding: 0 !important;
    overflow-y: auto;
    background:
        linear-gradient(180deg, rgba(4, 12, 29, .98), rgba(2, 7, 20, .98)),
        radial-gradient(70% 100% at 50% 0%, rgba(10, 96, 210, .16), transparent 62%) !important;
    border: 1px solid rgba(112, 170, 255, .2);
    border-top: 0;
    border-radius: 0 0 8px 8px !important;
    box-shadow: 0 22px 64px rgba(0, 0, 0, .34);
}

.caption-feed .draft-note {
    position: sticky;
    top: 0;
    z-index: 2;
    margin: 0 !important;
    padding: 14px 18px !important;
    color: var(--studio-gold) !important;
    background: rgba(4, 12, 29, .92);
    border-bottom: 1px solid rgba(112, 170, 255, .18) !important;
    font-family: var(--studio-mono);
    font-size: 12px !important;
    font-weight: 600 !important;
    text-transform: uppercase;
}

.caption-feed > .hint {
    padding: 22px 18px;
}

.caption-feed .cap {
    position: relative;
    display: grid !important;
    grid-template-columns: minmax(160px, 270px) minmax(0, 1fr);
    gap: 0 22px !important;
    align-items: baseline !important;
    margin: 0 !important;
    padding: 13px 22px 13px 28px;
    border-bottom: 1px solid rgba(112, 170, 255, .13);
    animation: studio-line-in .36s cubic-bezier(.2, .7, .3, 1) both !important;
}

.caption-feed .cap::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10%;
    bottom: 10%;
    width: 0;
    border-radius: 0 3px 3px 0;
    background: var(--speaker-color, var(--studio-gold));
    box-shadow: 0 0 18px var(--speaker-color, var(--studio-gold));
    transition: width .25s ease;
}

.caption-feed .cap.current {
    background: linear-gradient(90deg, rgba(41, 120, 220, .22), rgba(41, 120, 220, .03) 64%);
}

.caption-feed .cap.current::before {
    width: 4px;
}

.caption-feed .cap.no-speaker {
    grid-template-columns: 1fr;
}

.caption-feed .cap .spk {
    max-width: none !important;
    padding: 0 !important;
    overflow: hidden;
    text-overflow: ellipsis;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    color: var(--speaker-color, var(--studio-gold)) !important;
    font-family: "Hanken Grotesk", var(--studio-sans) !important;
    font-size: clamp(22px, 2.2vw, 34px) !important;
    line-height: 1.2;
    font-weight: 800 !important;
    text-shadow: 0 0 18px rgba(255, 207, 36, .24);
}

.caption-feed .cap .cbody {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: baseline;
    gap: 10px;
}

.caption-feed .cap .ctext {
    color: #f7fbff;
    font-family: "Hanken Grotesk", var(--studio-sans);
    font-size: clamp(23px, 2.45vw, 39px) !important;
    line-height: 1.25 !important;
    font-weight: 700;
    text-shadow: 0 3px 18px rgba(0, 0, 0, .45);
}

.caption-feed .cap:not(.current) .ctext {
    color: #d5e4fb;
    font-weight: 600;
}

.caption-feed .cap .ctime,
.caption-feed .cap .clang {
    color: rgba(174, 201, 238, .58) !important;
    font-family: var(--studio-mono) !important;
}

.caption-feed .cap.partial .ctext {
    color: #9eb4d8 !important;
}

.caption-feed.present {
    z-index: 200 !important;
    padding: 0 !important;
    background:
        radial-gradient(90% 70% at 72% 0%, rgba(13, 82, 184, .34), transparent 62%),
        #030817 !important;
}

.caption-feed.present .draft-note {
    padding: 22px 6vw !important;
    font-size: 15px !important;
}

.caption-feed.present .cap {
    grid-template-columns: minmax(230px, 330px) minmax(0, 1fr);
    padding: 18px 6vw;
}

.caption-feed.present .cap .spk {
    font-size: clamp(28px, 3.2vw, 54px) !important;
}

.caption-feed.present .cap .ctext {
    font-size: clamp(34px, 4.2vw, 72px) !important;
}

.sim-ribbon,
.sim-speaking {
    border-radius: 8px !important;
    border: 1px solid rgba(112, 170, 255, .2);
}

.sim-speaking {
    background: rgba(4, 12, 29, .86) !important;
}

.sim-wave i {
    background: linear-gradient(180deg, #d5f5ff, #28a5ff 52%, #075de4) !important;
    box-shadow: 0 0 10px rgba(10, 166, 255, .58);
}

.dropzone,
.sim-intro,
.simulation-card,
.cost-card,
.marker-row,
.seg-list,
.rowitem {
    background: rgba(7, 20, 46, .58) !important;
    border-color: rgba(112, 170, 255, .18) !important;
}

.rowitem,
.seg,
.marker-row {
    color: var(--studio-ink);
}

.seg.low-conf {
    background: rgba(255, 207, 36, .12) !important;
}

.seg.excluded {
    background: rgba(142, 167, 207, .08) !important;
}

.toast {
    background: rgba(5, 14, 34, .96) !important;
    border: 1px solid rgba(112, 170, 255, .28);
    border-left: 4px solid var(--studio-cyan) !important;
}

.veil {
    background: rgba(2, 7, 20, .72) !important;
}

.veil .card {
    background: rgba(7, 20, 46, .96) !important;
    border: 1px solid rgba(112, 170, 255, .22);
    color: var(--studio-ink);
}

.veil .card h3,
.setup-sec h4,
.what-token b,
.prov .pv-name {
    color: #fff !important;
}

.what-token,
.prov,
.prov.sel,
.prov:hover {
    background: rgba(8, 22, 48, .72) !important;
    border-color: rgba(112, 170, 255, .2) !important;
    color: var(--studio-muted) !important;
}

@media (max-width: 1180px) {
    .topbar {
        grid-template-columns: auto 1fr auto auto auto auto auto;
        padding-left: 154px !important;
    }

    .studio-wave-top {
        display: none;
    }

    .studio-seal {
        width: 84px;
        height: 84px;
    }

    .shell {
        grid-template-columns: 96px minmax(230px, 300px) minmax(0, 1fr) !important;
    }

    .live-stage,
    .sim-stage {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 840px) {
    .topbar {
        min-height: auto;
        grid-template-columns: auto 1fr;
        padding: 20px !important;
    }

    .topbar::before,
    .studio-mic,
    .studio-seal,
    .studio-rail {
        display: none;
    }

    .topbar .brand h1 {
        font-size: 34px !important;
    }

    .live-pill,
    .topbar .token-state,
    .topbar button {
        grid-column: auto;
    }

    .shell {
        grid-template-columns: 1fr !important;
    }

    .sessions-column {
        min-height: 0;
        border-right: 0;
        border-bottom: 1px solid rgba(112, 170, 255, .14);
    }

    #workspace {
        min-height: 0;
    }

    .tabs {
        overflow-x: auto;
    }

    .caption-feed .cap,
    .caption-feed.present .cap {
        grid-template-columns: 1fr;
        gap: 4px !important;
        padding: 14px 18px;
    }

    .caption-feed .cap .cbody {
        grid-template-columns: 1fr;
    }

    .caption-feed .cap .spk {
        font-size: 20px !important;
    }

    .caption-feed .cap .ctext {
        font-size: 24px !important;
    }
}

/* Full-row transcription mode: the standalone layout belongs to the monitor,
   not to an introductory masthead. */
.session-studio-broadcast .topbar {
    min-height: 66px !important;
    grid-template-columns: minmax(0, 1fr) auto auto auto auto !important;
    padding: 10px 18px !important;
    background: rgba(4, 12, 29, .96) !important;
}

.session-studio-broadcast .topbar::before {
    display: none !important;
}

.session-studio-broadcast .topbar::after {
    left: 0 !important;
}

.session-studio-broadcast .studio-mic,
.session-studio-broadcast .studio-wave-top,
.session-studio-broadcast .studio-seal {
    display: none !important;
}

.session-studio-broadcast .topbar .brand::before {
    display: none !important;
}

.session-studio-broadcast .topbar .brand h1 {
    max-width: none;
    font-size: 18px !important;
    line-height: 1.1 !important;
    font-weight: 800 !important;
    text-transform: none;
    text-shadow: none;
}

.session-studio-broadcast .topbar .brand .sub {
    margin-top: 2px !important;
    font-size: 11px !important;
    color: var(--studio-muted) !important;
}

.session-studio-broadcast .shell {
    grid-template-columns: 96px minmax(240px, 300px) minmax(0, 1fr) !important;
    min-height: calc(100vh - 66px);
}

.session-studio-broadcast .studio-rail,
.session-studio-broadcast .sessions-column,
.session-studio-broadcast #workspace {
    min-height: calc(100vh - 66px);
}

.session-studio-broadcast .sessions-column {
    padding: 14px;
}

.session-studio-broadcast #workspace > .panel-head {
    min-height: 52px;
    padding: 10px 20px;
}

.session-studio-broadcast #wsTitle {
    font-size: 18px !important;
}

.session-studio-broadcast .tabs {
    padding: 0 16px !important;
}

.session-studio-broadcast .tab {
    min-height: 42px;
    font-size: 12px;
}

.session-studio-broadcast .tabpane {
    padding: 14px 16px !important;
}

.session-studio-broadcast .live-stage {
    grid-template-columns: minmax(0, 1fr) 286px !important;
    align-items: stretch;
}

.session-studio-broadcast .live-stage > .live-controls {
    order: 2;
    max-height: calc(100vh - 190px);
    overflow: auto;
}

.session-studio-broadcast .live-stage > div:last-child {
    order: 1;
    min-width: 0;
}

.session-studio-broadcast .broadcast-head {
    min-height: 68px;
}

.session-studio-broadcast .broadcast-head h3 {
    font-size: clamp(28px, 3vw, 48px);
}

.session-studio-broadcast .broadcast-live-badge {
    font-size: 24px;
}

.session-studio-broadcast .feed-bar {
    min-height: 42px;
}

.session-studio-broadcast .caption-feed {
    min-height: calc(100vh - 288px) !important;
    max-height: calc(100vh - 288px) !important;
}

.session-studio-broadcast .caption-feed .cap {
    grid-template-columns: minmax(190px, 290px) minmax(0, 1fr);
    padding-top: 14px;
    padding-bottom: 14px;
}

.session-studio-broadcast .caption-feed .cap .spk {
    font-size: clamp(24px, 2.35vw, 38px) !important;
}

.session-studio-broadcast .caption-feed .cap .ctext {
    font-size: clamp(28px, 3.05vw, 50px) !important;
}

@media (max-width: 980px) {
    .session-studio-broadcast .topbar {
        grid-template-columns: 1fr auto auto;
    }

    .session-studio-broadcast .live-pill,
    .session-studio-broadcast .topbar .token-state {
        display: none !important;
    }

    .session-studio-broadcast .shell {
        grid-template-columns: 1fr !important;
    }

    .session-studio-broadcast .studio-rail {
        display: none;
    }

    .session-studio-broadcast .live-stage {
        grid-template-columns: 1fr !important;
    }

    .session-studio-broadcast .live-stage > .live-controls {
        order: 1;
        max-height: none;
    }

    .session-studio-broadcast .live-stage > div:last-child {
        order: 2;
    }

    .session-studio-broadcast .caption-feed {
        min-height: 55vh !important;
        max-height: 65vh !important;
    }
}

/* Exact standalone clone surface. */
.session-studio-broadcast {
    background: #020817 !important;
    overflow: hidden;
}

.session-studio-broadcast > .topbar,
.session-studio-broadcast > .shell {
    display: none !important;
}

.exact-studio,
.exact-studio * {
    box-sizing: border-box;
    letter-spacing: 0 !important;
}

.exact-studio {
    --ex-bg: #040a1c;
    --ex-panel: #07142e;
    --ex-panel-2: #081936;
    --ex-line: rgba(104, 160, 235, .13);
    --ex-text: #eaf3ff;
    --ex-soft: #8ea4cc;
    --ex-blue: #2f95ff;
    --ex-blue-2: #54c7ff;
    --ex-gold: #ffcf24;
    --ex-green: #5fd08a;
    --ex-red: #ff3b3b;
    width: 100vw;
    height: 100vh;
    display: grid;
    grid-template-columns: 216px minmax(0, 1fr);
    overflow: hidden;
    color: var(--ex-text);
    background:
        radial-gradient(120% 90% at 80% 2%, #0c2350 0%, #071634 44%, #04091d 100%);
    font-family: "Hanken Grotesk", "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.exact-studio::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(120, 170, 255, .032) 1px, transparent 1px),
        linear-gradient(90deg, rgba(120, 170, 255, .032) 1px, transparent 1px);
    background-size: 46px 46px;
    -webkit-mask-image: radial-gradient(120% 100% at 50% 0%, #000 42%, transparent 100%);
    mask-image: radial-gradient(120% 100% at 50% 0%, #000 42%, transparent 100%);
}

.exact-side {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: linear-gradient(180deg, #060f28, #050b1c);
    border-right: 1px solid rgba(120, 165, 235, .14);
}

.exact-office {
    display: grid;
    justify-items: center;
    gap: 8px;
    padding: 22px 16px 20px;
    text-align: center;
    border-bottom: 1px solid rgba(120, 165, 235, .12);
}

.exact-office-icon {
    width: 30px;
    height: 22px;
    color: #e9f4ff;
    font-family: Georgia, serif;
    font-size: 16px;
    font-weight: 900;
    line-height: 1;
}

.exact-office strong {
    color: #fff;
    font-family: "Archivo", sans-serif;
    font-size: 13px;
    line-height: 1.05;
    font-weight: 800;
    text-transform: uppercase;
}

.exact-office span {
    color: rgba(180, 205, 240, .7);
    font-family: "Spline Sans Mono", monospace;
    font-size: 9px;
    text-transform: uppercase;
}

.exact-nav {
    display: grid;
    gap: 10px;
    padding: 22px 14px;
}

.exact-nav button {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 32px;
    padding: 0 13px;
    border: 1px solid transparent;
    border-radius: 7px;
    background: transparent;
    color: #b5c7e6;
    font-family: "Archivo", sans-serif;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.exact-nav button.active {
    color: #fff;
    background: linear-gradient(180deg, #266fc9, #174b96);
    border-color: rgba(120, 195, 255, .42);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 6px 18px rgba(22, 91, 190, .25);
}

.exact-nav span {
    width: 14px;
    text-align: center;
    color: #93d8ff;
}

.exact-user {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-top: 1px solid rgba(120, 165, 235, .12);
}

.exact-user .avatar {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #164782;
    color: #bfe8ff;
    font-size: 10px;
    font-weight: 800;
}

.exact-user b {
    display: block;
    color: #fff;
    font-size: 10px;
}

.exact-user span {
    display: block;
    margin-top: 2px;
    color: #8da8ce;
    font-family: "Spline Sans Mono", monospace;
    font-size: 8px;
    text-transform: uppercase;
}

.exact-autosave {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 14px 10px;
    padding: 7px 10px;
    border: 1px solid rgba(120, 165, 235, .16);
    border-radius: 7px;
    color: #8fa8cd;
    font-family: "Spline Sans Mono", monospace;
    font-size: 9px;
    text-transform: uppercase;
}

.exact-autosave span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--ex-green);
    box-shadow: 0 0 8px var(--ex-green);
}

.exact-main {
    position: relative;
    z-index: 1;
    min-width: 0;
    display: grid;
    grid-template-rows: 182px 44px 44px 52px minmax(0, 1fr) 50px;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(4, 10, 28, .22), transparent 55%),
        radial-gradient(85% 55% at 50% 122%, rgba(41, 140, 255, .16), transparent 60%);
}

.exact-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    min-width: 0;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(8, 24, 54, .95), rgba(8, 27, 64, .8) 58%, rgba(5, 15, 35, .78)),
        radial-gradient(80% 130% at 88% 25%, rgba(30, 105, 220, .26), transparent 64%);
    border-bottom: 1px solid rgba(120, 170, 255, .1);
}

.exact-titleblock {
    position: relative;
    display: grid;
    align-content: center;
    padding: 18px 24px 18px 154px;
    min-width: 0;
}

.exact-hero-seal {
    position: absolute;
    left: 34px;
    top: 50%;
    width: 96px;
    height: 96px;
    object-fit: contain;
    transform: translateY(-50%);
    filter: drop-shadow(0 14px 24px rgba(0, 0, 0, .52));
}

.exact-kicker {
    color: #c9d9f4;
    font-family: "Archivo", sans-serif;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.exact-kicker span {
    margin-right: 9px;
    font-family: Georgia, serif;
}

.exact-title-row {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    margin-top: 8px;
}

.exact-mic {
    display: grid;
    place-items: center;
    color: var(--ex-blue-2);
    filter: drop-shadow(0 0 18px rgba(84, 199, 255, .46));
}

.exact-mic svg {
    width: 62px;
    height: 62px;
}

.exact-mic rect {
    fill: rgba(84, 199, 255, .16);
    stroke: currentColor;
    stroke-width: 4;
}

.exact-mic path {
    fill: none;
    stroke: currentColor;
    stroke-width: 4;
    stroke-linecap: round;
}

.exact-title-row h1 {
    margin: 0;
    color: #fff;
    font-family: "Archivo", sans-serif;
    font-size: clamp(31px, 2.85vw, 42px);
    line-height: .9;
    font-weight: 900;
    text-transform: uppercase;
    white-space: normal;
    text-shadow: 0 5px 28px rgba(0, 0, 0, .5);
}

.exact-title-row h1 span {
    display: block;
    white-space: nowrap;
}

.exact-title-row p {
    margin: 12px 0 0;
    color: #55d7ff;
    font-family: "Archivo", sans-serif;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.exact-seal-wrap {
    display: grid;
    place-items: center;
    min-width: 0;
    background:
        linear-gradient(90deg, rgba(2, 8, 22, .28), rgba(4, 12, 29, .46)),
        url("../../images/legislative-building-masthead.jpg") center / cover no-repeat;
}

.exact-seal-wrap img {
    width: 142px;
    height: 142px;
    object-fit: contain;
    filter: drop-shadow(0 18px 26px rgba(0, 0, 0, .58));
}

.exact-wave {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
    overflow: hidden;
}

.exact-wave i {
    flex: 0 0 3px;
    height: var(--bar-h, 44%);
    min-height: 4px;
    border-radius: 2px;
    background: linear-gradient(180deg, #d6f4ff, #2f95ff 60%, #1767df);
    box-shadow: 0 0 10px rgba(47, 149, 255, .65);
    transform-origin: center;
    animation: exact-wave var(--bar-d, 1s) ease-in-out var(--bar-delay, 0s) infinite;
}

.exact-wave-wide {
    padding: 0 30px;
    background: rgba(5, 17, 40, .72);
    border-bottom: 1px solid rgba(120, 170, 255, .08);
}

.exact-wave-mid {
    height: 42px;
}

@keyframes exact-wave {
    0%, 100% { transform: scaleY(.23); opacity: .54; }
    50% { transform: scaleY(1); opacity: 1; }
}

.exact-meta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px;
    align-items: center;
    padding: 0 22px;
    background: rgba(5, 16, 38, .68);
    border-bottom: 1px solid rgba(120, 170, 255, .1);
}

.exact-meta h2 {
    margin: 0;
    color: #fff;
    font-family: "Archivo", sans-serif;
    font-size: 16px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
}

.exact-meta p {
    margin: 4px 0 0;
    color: #778aae;
    font-family: "Spline Sans Mono", monospace;
    font-size: 9px;
    text-transform: uppercase;
}

.exact-stats {
    display: flex;
    align-items: center;
    gap: 8px;
}

.exact-stats span {
    min-width: 44px;
    padding: 5px 9px;
    border: 1px solid rgba(120, 170, 255, .13);
    border-radius: 8px;
    background: rgba(6, 18, 43, .6);
    text-align: center;
}

.exact-stats span.wide {
    min-width: 132px;
}

.exact-stats small {
    display: block;
    color: #7185a7;
    font-family: "Spline Sans Mono", monospace;
    font-size: 8px;
    text-transform: uppercase;
}

.exact-stats b {
    display: block;
    color: #cde6ff;
    font-family: "Spline Sans Mono", monospace;
    font-size: 13px;
}

.exact-live-head {
    display: grid;
    grid-template-columns: auto auto minmax(140px, 1fr) auto auto auto auto;
    align-items: center;
    gap: 12px;
    padding: 0 22px;
    background: linear-gradient(90deg, rgba(7, 24, 56, .78), rgba(5, 15, 35, .96));
    border-bottom: 1px solid rgba(120, 170, 255, .12);
}

.exact-live-badge,
.exact-rec {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 28px;
    padding: 0 12px;
    border-radius: 7px;
    color: #fff;
    font-family: "Archivo", sans-serif;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    background: rgba(17, 58, 116, .76);
    border: 1px solid rgba(120, 195, 255, .34);
}

.exact-live-badge span,
.exact-rec span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--ex-red);
    box-shadow: 0 0 9px var(--ex-red);
}

.exact-live-head h3 {
    margin: 0;
    color: #fff;
    font-family: "Archivo", sans-serif;
    font-size: 22px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
}

.exact-speaking {
    min-height: 24px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 10px;
    border-radius: 8px;
    color: #7f91b1;
    font-family: "Spline Sans Mono", monospace;
    font-size: 8px;
    text-transform: uppercase;
    background: rgba(120, 170, 255, .06);
    border: 1px solid rgba(120, 170, 255, .1);
}

.exact-speaking b {
    color: #fff;
    font-family: "Archivo", sans-serif;
    font-size: 10px;
    text-transform: none;
}

.exact-meter {
    display: flex;
    align-items: end;
    gap: 3px;
    height: 24px;
}

.exact-meter i {
    width: 4px;
    height: 14px;
    border-radius: 2px;
    background: linear-gradient(180deg, #7cffd0, #12b36a);
    animation: exact-meter .62s ease-in-out infinite;
}

.exact-meter i:nth-child(2) { animation-delay: -.18s; }
.exact-meter i:nth-child(3) { animation-delay: -.31s; }
.exact-meter i:nth-child(4) { animation-delay: -.09s; }
.exact-meter i:nth-child(5) { animation-delay: -.24s; }

@keyframes exact-meter {
    0%, 100% { transform: scaleY(.32); }
    50% { transform: scaleY(1); }
}

.exact-rec {
    background: rgba(155, 24, 36, .4);
    border-color: rgba(255, 88, 88, .35);
}

.exact-live-head time {
    color: #fff;
    font-family: "Spline Sans Mono", monospace;
    font-size: 16px;
    font-weight: 700;
}

.exact-transcript {
    overflow-y: auto;
    padding: 10px 18px 10px 22px;
    background: rgba(4, 11, 27, .74);
    scrollbar-color: #2f95ff rgba(255, 255, 255, .04);
    scrollbar-width: thin;
    font-family: "Century Gothic", "Aptos", "Segoe UI", sans-serif;
}

.exact-row {
    position: relative;
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr) 64px;
    gap: 0 20px;
    align-items: baseline;
    min-height: 45px;
    padding: 8px 18px 8px 14px;
    border-bottom: 1px solid rgba(120, 160, 225, .075);
    animation: exact-line-in .46s cubic-bezier(.2, .7, .3, 1) both;
}

.exact-empty {
    min-height: 100%;
    display: grid;
    place-items: center;
    color: rgba(174, 199, 238, .68);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0;
    text-align: center;
}

.exact-row.current {
    background: linear-gradient(90deg, rgba(95, 118, 255, .18), rgba(41, 120, 220, .03) 68%);
}

.exact-row.current::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10%;
    bottom: 10%;
    width: 4px;
    border-radius: 0 3px 3px 0;
    background: var(--speaker-color, var(--ex-gold));
    box-shadow: 0 0 18px var(--speaker-color, var(--ex-gold));
}

.exact-speaker {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--speaker-color, var(--ex-gold));
    font-family: "Century Gothic", "Aptos", "Segoe UI", sans-serif;
    font-size: clamp(16px, 1.45vw, 20px);
    line-height: 1.3;
    font-weight: 400;
}

.exact-text {
    color: #dfe9fb;
    font-family: "Century Gothic", "Aptos", "Segoe UI", sans-serif;
    font-size: clamp(17px, 1.55vw, 22px);
    line-height: 1.32;
    font-weight: 400;
}

.exact-row.current .exact-text {
    color: #fff;
}

.exact-transcript.karaoke-mode {
    display: grid;
    grid-template-rows: repeat(4, minmax(0, 1fr));
    gap: 6px;
    overflow: hidden;
    padding: 0;
}

.exact-transcript.karaoke-mode .exact-row {
    min-height: 0;
    height: 100%;
    grid-template-columns: 215px minmax(0, 1fr);
    gap: 20px;
    align-items: center;
    padding: 0 28px 0 28px;
    overflow: hidden;
    animation: none;
    transition: none;
}

.exact-transcript.karaoke-mode .exact-speaker {
    white-space: normal;
    font-size: clamp(22px, 1.9vw, 28px);
    line-height: 1.08;
    font-weight: 400;
}

.exact-transcript.karaoke-mode .exact-text {
    color: #edf6ff;
    font-size: clamp(28px, 2.25vw, 34px);
    line-height: 1.12;
    font-weight: 400;
    overflow-wrap: break-word;
    text-shadow: 0 4px 22px rgba(0, 0, 0, .62);
}

.exact-transcript.karaoke-mode .exact-row.current .exact-text {
    color: #fff;
    text-shadow:
        0 0 18px rgba(84, 199, 255, .52),
        0 5px 26px rgba(0, 0, 0, .72);
}

.exact-transcript.karaoke-mode .exact-row.partial .exact-text::after {
    content: none;
    display: none;
}

.exact-transcript.karaoke-mode .exact-time {
    display: none;
}

.exact-studio.simulation-mode .exact-wave i,
.exact-studio.simulation-mode .exact-meter i {
    animation: none;
    transform: scaleY(.58);
    opacity: .72;
}

.exact-studio.simulation-mode .exact-row,
.exact-studio.simulation-mode .exact-row.current,
.exact-studio.simulation-mode .exact-text,
.exact-studio.simulation-mode .exact-speaker {
    animation: none;
    transition: none;
}

.exact-studio.simulation-mode .exact-text,
.exact-studio.simulation-mode .exact-row.current .exact-text {
    text-shadow: none;
}

.exact-time {
    color: rgba(150, 178, 224, .42);
    font-family: "Spline Sans Mono", monospace;
    font-size: 10px;
    text-align: right;
}

@keyframes exact-line-in {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

.exact-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 22px;
    background: rgba(4, 11, 26, .96);
    border-top: 1px solid rgba(120, 170, 255, .12);
}

.exact-controls button,
.exact-controls label {
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 14px;
    border-radius: 7px;
    border: 1px solid rgba(120, 170, 255, .22);
    background: rgba(11, 29, 64, .82);
    color: #cfe4ff;
    font-family: "Archivo", sans-serif;
    font-size: 11px;
    font-weight: 800;
}

.exact-controls button.primary {
    background: linear-gradient(180deg, #2c90ff, #1769db);
    color: #fff;
}

.exact-controls button.demo {
    background: linear-gradient(180deg, #f3c20d, #d99b08);
    border-color: rgba(255, 220, 90, .46);
    color: #05112a;
}

.exact-controls button.danger {
    background: rgba(160, 28, 38, .7);
    color: #fff;
}

.exact-controls button.danger span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--ex-red);
}

.exact-controls .push {
    flex: 1;
}

.exact-controls select {
    margin-left: 4px;
    color: #dceaff;
    border: 0;
    background: transparent;
    font: inherit;
    font-size: 10px;
}

.exact-admin-modal {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: none;
    align-items: stretch;
    justify-content: flex-end;
    background: rgba(2, 6, 18, .58);
}

.exact-admin-modal.show {
    display: flex;
}

.exact-admin-panel {
    width: min(760px, calc(100vw - 20px));
    height: 100vh;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    background: rgba(5, 13, 31, .98);
    border-left: 1px solid rgba(120, 170, 255, .22);
    box-shadow: -24px 0 70px rgba(0, 0, 0, .5);
    color: #eaf3ff;
}

.exact-admin-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 22px;
    border-bottom: 1px solid rgba(120, 170, 255, .16);
    background: linear-gradient(90deg, rgba(7, 28, 66, .96), rgba(4, 12, 30, .96));
}

.exact-admin-head span {
    display: block;
    color: #55d7ff;
    font-family: "Spline Sans Mono", monospace;
    font-size: 10px;
    text-transform: uppercase;
}

.exact-admin-head h3 {
    margin: 3px 0 0;
    color: #fff;
    font-family: "Archivo", sans-serif;
    font-size: 22px;
    line-height: 1;
    text-transform: uppercase;
}

.exact-admin-head button {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(120, 170, 255, .24);
    border-radius: 7px;
    background: rgba(11, 29, 64, .82);
    color: #fff;
    font-weight: 800;
}

.exact-admin-body {
    overflow: auto;
    padding: 18px 22px 28px;
}

.exact-crud-grid {
    display: grid;
    gap: 14px;
}

.exact-crud-card {
    border: 1px solid rgba(120, 170, 255, .15);
    border-radius: 8px;
    background: rgba(7, 20, 48, .78);
    overflow: hidden;
}

.exact-crud-card > h4 {
    margin: 0;
    padding: 12px 14px;
    color: #fff;
    font-family: "Archivo", sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(120, 170, 255, .12);
}

.exact-crud-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 14px;
}

.exact-crud-form label,
.exact-crud-wide {
    display: grid;
    gap: 5px;
    color: #8fa8cd;
    font-family: "Spline Sans Mono", monospace;
    font-size: 9px;
    text-transform: uppercase;
}

.exact-crud-wide {
    grid-column: 1 / -1;
}

.exact-crud-form input,
.exact-crud-form select,
.exact-crud-form textarea,
.exact-crud-input,
.exact-crud-textarea {
    width: 100%;
    min-height: 34px;
    padding: 8px 10px;
    border: 1px solid rgba(120, 170, 255, .2);
    border-radius: 7px;
    background: rgba(2, 8, 22, .8);
    color: #eaf3ff;
    font-family: "Century Gothic", "Aptos", "Segoe UI", sans-serif;
    font-size: 13px;
}

.exact-crud-form textarea,
.exact-crud-textarea {
    min-height: 110px;
    resize: vertical;
}

.exact-crud-actions,
.exact-crud-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.exact-crud-actions {
    grid-column: 1 / -1;
}

.exact-crud-btn {
    min-height: 30px;
    padding: 0 12px;
    border: 1px solid rgba(120, 170, 255, .24);
    border-radius: 7px;
    background: rgba(17, 58, 116, .78);
    color: #dceaff;
    font-family: "Archivo", sans-serif;
    font-size: 11px;
    font-weight: 800;
}

.exact-crud-btn.gold {
    background: linear-gradient(180deg, #f3c20d, #d99b08);
    color: #05112a;
}

.exact-crud-btn.danger {
    background: rgba(160, 28, 38, .72);
    color: #fff;
}

.exact-crud-list {
    display: grid;
    gap: 8px;
    padding: 12px 14px 14px;
}

.exact-crud-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 10px;
    border: 1px solid rgba(120, 170, 255, .12);
    border-radius: 7px;
    background: rgba(2, 8, 22, .48);
}

.exact-crud-item strong {
    display: block;
    color: #fff;
    font-size: 13px;
}

.exact-crud-item span {
    display: block;
    margin-top: 3px;
    color: #8fa8cd;
    font-family: "Spline Sans Mono", monospace;
    font-size: 9px;
    text-transform: uppercase;
}

.exact-seg-editor {
    display: grid;
    gap: 9px;
}

.exact-seg-row {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr) auto;
    gap: 8px;
    align-items: start;
    padding: 9px;
    border: 1px solid rgba(120, 170, 255, .12);
    border-radius: 7px;
    background: rgba(2, 8, 22, .46);
}

@media (max-width: 720px) {
    .exact-crud-form,
    .exact-seg-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 980px) {
    .exact-studio {
        grid-template-columns: 1fr;
        overflow-y: auto;
    }

    .exact-side {
        display: none;
    }

    .exact-main {
        min-height: 100vh;
        grid-template-rows: auto 38px auto 52px minmax(420px, 1fr) auto;
    }

    .exact-hero {
        grid-template-columns: 1fr;
    }

    .exact-titleblock {
        padding-left: 86px;
    }

    .exact-hero-seal {
        left: 18px;
        width: 52px;
        height: 52px;
    }

    .exact-seal-wrap {
        display: none;
    }

    .exact-title-row {
        grid-template-columns: 52px minmax(0, 1fr);
    }

    .exact-title-row h1 {
        font-size: 32px;
    }

    .exact-meta,
    .exact-live-head {
        grid-template-columns: 1fr;
        align-content: center;
        min-height: auto;
        padding: 10px 16px;
    }

    .exact-row {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .exact-transcript.karaoke-mode .exact-row {
        grid-template-columns: 1fr;
        gap: 3px;
        padding: 0 18px;
    }

    .exact-transcript.karaoke-mode .exact-speaker {
        font-size: 17px;
    }

    .exact-transcript.karaoke-mode .exact-text {
        font-size: 25px;
        line-height: 1.08;
    }

    .exact-time {
        text-align: left;
    }

    .exact-controls {
        flex-wrap: wrap;
    }
}

@media (max-width: 680px) {
    .exact-title-row h1 {
        font-size: 24px;
    }

    .exact-title-row {
        grid-template-columns: 40px minmax(0, 1fr);
    }

    .exact-titleblock {
        padding-left: 70px;
    }

    .exact-hero-seal {
        left: 14px;
        width: 44px;
        height: 44px;
    }

    .exact-mic svg {
        width: 40px;
        height: 40px;
    }
}
