@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap');

:root{
  --ink:#101319;
  --ink-soft:#3f4855;
  --muted:#697386;
  --muted-2:#8992a1;
  --line:#e6e9ef;
  --paper:#f6f7f9;
  --card:#ffffff;
  --accent:#ff4f33;
  --accent-dark:#d83c25;
  --accent-soft:#fff0ec;
  --dark:#151821;
  --dark-2:#242a34;
  --good:#177a50;
  --good-soft:#ecfdf3;
  --warn:#9a6800;
  --warn-soft:#fff6df;
  --danger:#a1261d;
  --radius:20px;
  --shadow:0 10px 35px rgba(22,31,47,.06);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font:15px/1.55 Inter,system-ui,-apple-system,"Segoe UI",sans-serif}
a{color:inherit}
button,input,select,textarea{font:inherit}

/* Header */
.topbar{height:72px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:26px;padding:0 max(24px,calc((100vw - 920px)/2));position:sticky;top:0;z-index:50}
.brand{font:800 21px/1 Space Grotesk,Inter,sans-serif;text-decoration:none;color:var(--ink);letter-spacing:-.7px;margin-right:2px}
.brand span{color:var(--accent)}
.status{font-size:12px;color:var(--muted);display:flex;align-items:center;gap:8px;margin-right:auto;padding:7px 10px;border-radius:999px;background:#f7f8fa;border:1px solid #edf0f4}
.dot{width:8px;height:8px;border-radius:50%;background:#d9a441;box-shadow:0 0 0 3px rgba(217,164,65,.12)}
.dot.live{background:#21b66f;box-shadow:0 0 0 3px rgba(33,182,111,.12)}
.topbar nav{display:flex;gap:22px;align-items:center}
.topbar nav a{color:#4d5562;text-decoration:none;font-weight:650;font-size:14px}
.topbar nav a:hover{color:var(--ink)}

.shell{max-width:920px;margin:0 auto;padding:32px 20px 68px}
footer{text-align:center;padding:12px 24px 28px;color:#929aa7;font-size:12px}

/* Type */
.eyebrow{font:800 11px/1.2 Inter,sans-serif;letter-spacing:1.55px;text-transform:uppercase;color:var(--accent);margin-bottom:10px}
h1,h2,h3{font-family:Space Grotesk,Inter,sans-serif;color:var(--ink)}
h1{font-size:48px;line-height:1.02;letter-spacing:-2.1px;margin:0 0 8px}
h2{font-size:25px;line-height:1.16;letter-spacing:-.65px;margin:4px 0 14px}
p{color:var(--muted)}
.muted{color:var(--muted)}

/* Generic surfaces */
.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:23px;box-shadow:0 1px 2px rgba(15,23,42,.02)}
.narrow{max-width:520px;margin:68px auto}
.stack{display:grid;gap:16px}
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.formgrid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.span2{grid-column:1/-1}
.actions,.heroactions,.clock-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}

label{display:grid;gap:7px;font-size:13px;font-weight:700;color:#4a5361}
input,select,textarea{width:100%;padding:12px 13px;border:1px solid #d8dde6;border-radius:10px;background:white;color:var(--ink);outline:none;font-weight:500}
input:focus,select:focus,textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px rgba(255,79,51,.09)}
textarea{resize:vertical}

button,.button{display:inline-flex;align-items:center;justify-content:center;gap:7px;border-radius:11px;padding:11px 15px;border:1px solid var(--line);background:#fff;color:var(--ink);text-decoration:none;font-weight:750;font-size:13px;cursor:pointer;transition:.16s ease}
button:hover,.button:hover{border-color:#ccd2dc;background:#fafbfc;transform:translateY(-1px)}
.primary{background:var(--accent);border-color:var(--accent);color:#fff;box-shadow:0 7px 16px rgba(255,79,51,.16)}
.primary:hover{background:var(--accent-dark);border-color:var(--accent-dark)}
.big{width:100%;padding:15px 18px;font-size:14px}
.textbutton{border:0;background:none;padding:4px;color:#536072;box-shadow:none}
.textbutton:hover{background:none;transform:none;color:var(--ink)}
.textbutton.danger,.danger{color:var(--danger)}
.danger-outline{border-color:#e3bab6;color:var(--danger)}

/* Page heads */
.pagehead{display:flex;align-items:flex-end;justify-content:space-between;gap:22px;margin-bottom:28px}
.pagehead p{margin:4px 0 0}
.pagehead.compact{align-items:center;margin-bottom:16px}
.pagehead.compact h2{margin:0}
.prephead{align-items:flex-end}

/* Dashboard — intentionally close to the original Essential Prep concept */
.prep-desk-head h1{font-size:50px}
.showtabs{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:16px}
.showtabs a{padding:8px 12px;border-radius:999px;text-decoration:none;font-size:12px;font-weight:750;color:#687386;background:#fff;border:1px solid var(--line)}
.showtabs a.active{background:var(--dark);border-color:var(--dark);color:#fff}
.dashboard-grid{display:grid;grid-template-columns:.88fr 1.12fr;gap:16px}
.show-card,.generate-card{min-height:100%}
.status-pill{display:inline-flex;align-items:center;background:var(--good-soft);color:var(--good);font-size:10px;font-weight:800;letter-spacing:1px;text-transform:uppercase;border-radius:999px;padding:7px 9px}
.show-card h2,.generate-card h2{font-size:31px;margin:20px 0 4px}
.station{font-size:17px;color:var(--accent);font-weight:750;margin:0}
.show-meta{display:grid;gap:9px;margin:25px 0;color:#5b6574}
.show-meta span::before{content:'•';color:var(--accent);font-weight:900;margin-right:8px}
.quick-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:20px;padding-top:18px;border-top:1px solid var(--line)}
.quick-actions .button{padding:9px 11px;font-size:12px;background:#fbfbfc}
.generate-card form{display:grid;gap:15px}
.modebox{padding:13px 14px;border-radius:11px;background:#f4f6f8;border:1px solid #edf0f4;display:grid;gap:3px}
.modebox strong{font-size:13px}
.modebox span{font-size:12px;color:var(--muted)}
.must-summary{font-size:12px;color:var(--muted);padding:11px 12px;border:1px solid var(--line);border-radius:10px;background:#fafbfc}
.must-summary a{color:#365f8d;font-weight:700}
.recent{margin-top:34px}
.history{display:grid;gap:8px}
.history a{background:#fff;border:1px solid var(--line);border-radius:14px;padding:15px 17px;display:grid;grid-template-columns:1fr auto;gap:18px;align-items:center;color:var(--ink);text-decoration:none}
.history a:hover{border-color:#d2d8e1;box-shadow:var(--shadow)}
.history span{font-size:11px;text-transform:uppercase;letter-spacing:.06em;background:#f1f3f6;color:#777f8d;border-radius:999px;padding:6px 9px}
.empty{padding:30px;border:1px dashed #cdd3dd;background:#fff;color:var(--muted);border-radius:16px}

/* Auth */
.auth h1{font-size:45px;letter-spacing:-1.8px}
.auth p{margin-top:0}

/* Clock */
.clock-help{margin-bottom:18px;background:linear-gradient(135deg,#fff 0%,#fff8f6 100%)}
.clock-help p{margin:7px 0}
.clocktable-wrap{overflow-x:auto;padding:0}
.clocktable{width:100%;border-collapse:collapse;min-width:1040px}
.clocktable thead{background:#f1f3f6}
th{text-align:left;color:#7a8391;font-size:10px;text-transform:uppercase;letter-spacing:.09em;padding:12px}
td{padding:12px;border-top:1px solid var(--line);vertical-align:middle}
.clocktable input,.clocktable select{min-width:105px;padding:8px 9px;font-size:12px}
.time,.clocktime{font-variant-numeric:tabular-nums}
.checkcell{min-width:130px}
.checklabel{display:flex;align-items:center;gap:8px;font-weight:650}
.checklabel input{width:auto}
.clockactions{display:flex;gap:6px;align-items:center}
.clockactions form{margin:0}
.clock-add{margin-top:18px}
.clock-add-grid{display:grid;grid-template-columns:120px 1fr 1fr 145px 190px 1.4fr;gap:12px;align-items:end;margin-bottom:14px}
.check-card{padding:10px 11px;border:1px solid var(--line);border-radius:10px;background:#fafbfc;min-height:45px}

/* Prep — restores the original sticky time rail */
.prep-layout{display:grid;grid-template-columns:128px minmax(0,1fr);gap:16px;align-items:start}
.prep-nav{position:sticky;top:102px;display:grid;gap:4px;padding-top:2px}
.nav-label{font-size:10px;font-weight:800;color:#89919f;letter-spacing:1px;text-transform:uppercase;padding:0 8px 8px}
.prep-nav a{display:grid;grid-template-columns:48px 1fr;gap:5px;text-decoration:none;color:#657080;padding:8px;border-radius:9px;font-size:12px}
.prep-nav a:hover{background:#fff;color:var(--ink)}
.prep-nav b{color:var(--ink);font-variant-numeric:tabular-nums}
.prepgrid{display:grid;gap:18px}
.prepitem{padding:20px 21px;scroll-margin-top:96px}
.prepmeta{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.clocktime{display:inline-flex;align-items:center;justify-content:center;background:var(--dark);color:#fff;border-radius:999px;padding:6px 9px;font-size:12px;font-weight:800;letter-spacing:.03em}
.pill{font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.08em;background:var(--accent-soft);color:#c33c29;border-radius:999px;padding:6px 8px}
.verified{font-size:10px;font-weight:800;color:var(--good);background:var(--good-soft);border-radius:999px;padding:6px 8px}
.prepitem h2{font-size:25px;letter-spacing:-.72px;margin:16px 0 9px}
.bodycopy{font-size:15px;line-height:1.58;color:var(--ink-soft);white-space:pre-line}
.angle,.outro,.forwardtease,.must-required{margin-top:16px;border-radius:11px;padding:13px 15px}
.angle{background:#f6f7f9;color:#4f5967;border-left:4px solid #a8b1bf}
.outro{background:#f4f7fb;color:#45556a;border-left:4px solid #748aa5}
.forwardtease{background:var(--accent-soft);color:#6d3429;border-left:4px solid var(--accent)}
.must-required{background:var(--warn-soft);border:1px solid #efdda8;color:#5d4b18}
.must-required-title{font-size:10px;text-transform:uppercase;letter-spacing:.1em;font-weight:850;color:#806000;margin-bottom:8px}
.must-required-item{padding-top:10px;border-top:1px solid #ebdbb2}
.must-required-item:first-of-type{padding-top:0;border-top:0}
.must-required-item>span{font-size:10px;margin-left:8px;color:#806000;font-weight:750}
.must-required-item small{display:block;margin-top:5px;color:#77683a}
.source{display:block;margin-top:13px;color:#5f6876;font-size:11px;text-decoration:none;word-break:break-word}
.source:hover{color:#2e3b4c}
.source.missing{color:#8b5c00;background:#fff8e7;border:1px solid #efdfad;padding:8px 10px;border-radius:9px}
.cardactions{display:flex;gap:7px;flex-wrap:wrap;margin-top:19px;padding-top:16px;border-top:1px solid var(--line)}
.cardactions form{margin:0}
.smallbutton{padding:8px 10px;border-radius:9px;font-size:11px;background:#fff;border:1px solid #dfe3e9;color:#465365;box-shadow:none}
.smallbutton:hover{background:#f6f8fa;transform:none}
.usedbutton{color:var(--good);background:#f2fbf6;border-color:#d1ecdd}

/* Learn from prep */
.sectiongap{margin-top:20px}
.filehint{font-size:12px;color:var(--muted);background:#f6f7f9;padding:10px 12px;border-radius:9px}
.reference-list{display:grid}
.reference-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 0;border-top:1px solid var(--line)}
.reference-row:first-child{border-top:0}
.reference-row>div{display:grid}
.reference-row span{font-size:11px;color:var(--muted)}
.profile-summary{font-size:16px;line-height:1.65;padding:16px 18px;background:#f5f7f9;border-radius:12px;margin:8px 0 18px;color:#485463}
.profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:14px}
.profile-grid>div{border-top:1px solid var(--line);padding-top:13px}
.profile-grid p{margin:5px 0}
.profile-grid ul{margin:7px 0 0;padding-left:20px;color:#4e5967}
.feature-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px}
.feature-list>div{border:1px solid var(--line);border-radius:11px;padding:13px;background:#fff}
.feature-list span{float:right;font-size:11px;color:var(--muted)}
.feature-list p{margin:5px 0 0}
.confidence{font-size:9px;text-transform:uppercase;letter-spacing:.06em;font-weight:850;border-radius:999px;padding:5px 7px;background:#eef1f4}
.confidence.high{background:#e9f7ef;color:#176d47}.confidence.medium{background:#fff4da;color:#8a5b00}.confidence.low{background:#f2f4f7;color:#697386}
.profile-clear{margin-top:16px}

/* Must-haves */
.must-grid{align-items:start}
.checkgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}
.must-list{display:grid}
.must-row{display:flex;justify-content:space-between;gap:20px;padding:18px 0;border-top:1px solid var(--line)}
.must-row:first-child{border-top:0}
.must-row>div{min-width:0;flex:1}
.must-title{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.fixedbadge,.movebadge{font-size:9px;font-weight:850;text-transform:uppercase;letter-spacing:.05em;border-radius:999px;padding:5px 7px}
.fixedbadge{background:#fdecea;color:#8d251c}.movebadge{background:#eef4fb;color:#365b88}
.must-copy{margin:10px 0;padding:12px 13px;background:#f6f7f9;border-radius:10px;white-space:pre-line;color:#4e5967}
.hidden{display:none!important}

/* Flash */
.flash{margin-bottom:18px;padding:12px 15px;border-radius:11px;background:#fff4d9;border:1px solid #f0d895;color:#70530a}
.flash.error{background:#fff0ef;border-color:#f1c4c0;color:#8f1d13}.flash.success{background:#ebf8f1;border-color:#bfe5d0;color:#146c45}

/* Processing */
.processing-overlay{position:fixed;inset:0;display:none;background:rgba(17,21,28,.48);backdrop-filter:blur(4px);align-items:center;justify-content:center;z-index:9999;padding:20px}
.processing-overlay.show{display:flex}
.processing-card{width:min(470px,94vw);background:#fff;border-radius:22px;padding:28px;box-shadow:0 28px 80px rgba(0,0,0,.26);display:grid;gap:14px;text-align:center}
.processing-spinner{width:38px;height:38px;border-radius:50%;border:4px solid #eceff3;border-top-color:var(--accent);animation:spin .85s linear infinite;margin:0 auto}
.progress-track{height:9px;background:#eef1f4;border-radius:999px;overflow:hidden}
.progress-bar{height:100%;width:8%;background:linear-gradient(90deg,var(--accent),#ff8b74);border-radius:999px;transition:width .35s ease}
.processing-card span{font-size:12px;color:var(--muted)}
.processing-detail{font-size:13px;font-weight:750;color:#394352;line-height:1.35;padding-top:2px}
.processing-eta{font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}
@keyframes spin{to{transform:rotate(360deg)}}
button:disabled{opacity:.65;cursor:wait}

@media(max-width:900px){
  .dashboard-grid,.grid2,.formgrid,.profile-grid{grid-template-columns:1fr}
  .span2{grid-column:auto}
  .clock-add-grid{grid-template-columns:1fr 1fr}
  .checkgrid{grid-template-columns:1fr}
  .must-row{flex-direction:column}
}

@media(max-width:760px){
  .topbar{padding:0 16px;height:66px}.status{display:none}.topbar nav a:not(:last-child){display:none}
  .shell{padding:28px 14px 60px}
  h1{font-size:38px}.prep-desk-head h1{font-size:40px}
  .pagehead,.prephead{align-items:flex-start;flex-direction:column}
  .prep-layout{grid-template-columns:1fr}.prep-nav{display:none}
  .prepitem{padding:20px}.prepitem h2{font-size:25px}.bodycopy{font-size:16px}
  .clock-add-grid{grid-template-columns:1fr}.clocktable-wrap{border-radius:16px}
  .cardactions{display:grid;grid-template-columns:1fr 1fr}.smallbutton{width:100%}
  .heroactions,.quick-actions{width:100%}.heroactions .button{flex:1}
  .card{padding:20px}
}

@media print{
  .topbar,.pagehead .button,.pagehead button,.cardactions,footer,.processing-overlay,.prep-nav{display:none!important}
  body{background:#fff}.shell{max-width:none;padding:0}.prep-layout{display:block}.card{box-shadow:none;border:0}.prepitem{break-inside:avoid;border-bottom:1px solid #ddd;border-radius:0;padding:18px 0}.source{color:#222}.angle,.outro,.forwardtease,.must-required{background:#fff}
}

/* v1.5 clock scheduling */
.schedule-explain{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:14px 0 10px}
.schedule-explain>div{background:#f7f8fa;border:1px solid #e5e7eb;border-radius:14px;padding:14px;display:flex;flex-direction:column;gap:4px}
.schedule-explain b{font-family:'Space Grotesk',Inter,sans-serif;font-size:14px}
.schedule-explain span,.subtle{font-size:13px;color:#667085;line-height:1.45}
.schedule-clock{min-width:1580px}
.schedule-cell{min-width:260px;vertical-align:top}
.schedule-box{display:flex;flex-direction:column;gap:7px}
.schedule-details{border:1px solid #e5e7eb;border-radius:10px;background:#fafafa;padding:7px 9px}
.schedule-details summary{cursor:pointer;font-size:12px;font-weight:700;color:#475467;user-select:none}
.daychips{display:flex;gap:5px;flex-wrap:wrap;margin:10px 0}
.daychips label{position:relative;cursor:pointer}
.daychips input{position:absolute;opacity:0;pointer-events:none}
.daychips span{display:inline-flex;align-items:center;justify-content:center;min-width:34px;padding:6px 7px;border:1px solid #d0d5dd;border-radius:999px;background:white;font-size:11px;font-weight:700;color:#667085}
.daychips input:checked+span{background:#fff1ed;border-color:#ff9b80;color:#c63f1e}
.rotation-options{display:grid;grid-template-columns:1fr 120px;gap:8px;align-items:end;transition:opacity .15s ease}
.rotation-options.muted-options{opacity:.45}
.rotation-options label,.schedule-add-options label{font-size:11px;font-weight:700;color:#475467}
.rotation-options input,.schedule-add-options input{margin-top:5px;width:100%}
.field-suffix{display:block;margin-top:3px;font-size:10px;font-weight:500;color:#98a2b3}
.field-title{font-size:11px;font-weight:700;color:#475467}
.schedule-add-grid{grid-template-columns:115px 1.2fr 1fr 130px 125px 190px 1.4fr}
.schedule-add-options{display:grid;grid-template-columns:1.4fr 1fr 150px;gap:16px;align-items:end;border-top:1px solid #eceef2;margin:2px 0 16px;padding-top:14px}
@media(max-width:1000px){.schedule-explain{grid-template-columns:1fr}.schedule-add-grid,.schedule-add-options{grid-template-columns:1fr 1fr}}
@media(max-width:760px){.schedule-add-grid,.schedule-add-options{grid-template-columns:1fr}.schedule-explain{grid-template-columns:1fr}}

/* v1.5 clock health / authoritative timing */
.warning-card{border:1px solid rgba(196,92,63,.28);background:linear-gradient(180deg,#fff9f6 0%,#fff 100%)}
.warning-card h2{margin:.35rem 0 .55rem}
.compact-list{margin:.6rem 0 1rem;padding-left:1.25rem}
.compact-list li{margin:.28rem 0}
.empty-state{text-align:left;padding:2rem}

/* v1.6 clock management and forward-tease controls */
.tease-cell{min-width:155px}.tease-cell select{width:100%}
.clock-management{margin:18px 0}.management-actions{display:flex;gap:14px;align-items:end;flex-wrap:wrap}.management-actions form{display:flex;gap:10px;align-items:end;flex-wrap:wrap}.management-actions label{font-size:12px;font-weight:700;color:#475467}.management-actions select{display:block;margin-top:5px;min-width:130px}
.danger-zone{margin-top:18px;border:1px solid rgba(161,38,29,.22);background:#fffafa}.danger-zone h2{margin:.35rem 0}.danger-zone p{color:#667085;max-width:760px}


/* v1.6.1 compact desktop layout */
@media(min-width:901px){
  .formgrid{gap:15px}
  .show-card h2,.generate-card h2{font-size:29px}
  .prep-desk-head h1{font-size:46px}
  .pagehead{margin-bottom:24px}
  .clock-help,.clock-management,.warning-card,.danger-zone{max-width:100%}
}
@media(min-width:761px) and (max-width:1100px){
  .topbar{padding-left:22px;padding-right:22px}
  .shell{padding-left:20px;padding-right:20px}
}

/* v1.7.2 compact workspace */
.history-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center}
.history-row>a{min-width:0}
.history-row form{margin:0}
.clocktable-wrap{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.clocktable{min-width:980px}
.schedule-explain{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.schedule-explain>div{min-width:0}
.pagehead{min-width:0}
.pagehead>div{min-width:0}
.card{min-width:0}
@media(max-width:900px){.shell{max-width:760px}.topbar{padding-left:20px;padding-right:20px}.prep-layout{grid-template-columns:112px minmax(0,1fr)}}
@media(max-width:720px){.shell{padding:24px 14px 54px}.prep-layout{display:block}.prep-nav{position:relative;top:auto;display:flex;overflow-x:auto;margin-bottom:12px;padding-bottom:4px}.prep-nav .nav-label{display:none}.prep-nav a{min-width:max-content;grid-template-columns:auto auto}.dashboard-grid,.grid2,.formgrid{grid-template-columns:1fr}.pagehead{align-items:flex-start;flex-direction:column}.schedule-explain{grid-template-columns:1fr}}
/* v1.7.2 — cleaner presenter-facing UI */
.topbar nav{margin-left:auto}
.demo-details{font-size:12px;color:var(--muted)}
.demo-details summary{cursor:pointer;font-weight:700;color:#606a78}
/* v1.8 must-have editing/time scheduling */
.fourcol{grid-template-columns:repeat(4,minmax(0,1fr))}
.daychecks{display:flex;flex-wrap:wrap;gap:8px 12px;margin-top:8px}
.must-actions{display:flex;align-items:flex-start;gap:10px;flex-wrap:wrap}
.must-actions form{margin:0}
@media(max-width:900px){.fourcol{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.fourcol{grid-template-columns:1fr}}

/* v1.8.1 recurring must-haves */
.recurring-enabled{align-self:end;min-height:46px}.mutedpill{opacity:.65}

/* v1.9 Today's information / research pack */
.date-switcher{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end;margin-bottom:14px}
.date-switcher label{margin:0}
.today-info-box{margin:4px 0 16px;padding:14px;border:1px solid #e5e7eb;border-radius:16px;background:#fbfcfd;display:grid;gap:12px}
.today-info-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.today-info-head>div{display:grid;gap:3px;min-width:0}.today-info-head span{font-size:12px;color:#667085;line-height:1.4}
.today-info-list{display:grid;gap:7px}.today-info-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;background:#fff;border:1px solid #eceef2;border-radius:11px;padding:9px 10px}
.today-info-row>div{display:grid;gap:2px;min-width:0}.today-info-row span{font-size:11px;color:#7a8492;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.today-info-row form{margin:0}
.today-info-add{border-top:1px solid #eceef2;padding-top:10px}.today-info-add summary{cursor:pointer;font-size:13px;font-weight:750;color:#344054}.today-info-add form{display:grid;gap:10px;margin-top:12px}.or-divider{text-align:center;position:relative;color:#98a2b3;font-size:11px}.or-divider:before{content:"";position:absolute;left:0;right:0;top:50%;border-top:1px solid #eceef2}.or-divider span{position:relative;background:#fbfcfd;padding:0 8px}
@media(max-width:620px){.date-switcher{grid-template-columns:1fr}.today-info-head{flex-direction:column}.today-info-row{grid-template-columns:1fr}.today-info-row form{justify-self:start}}

/* v2.0 AI Clock Builder */
.builder-ingredients{display:flex;flex-wrap:wrap;gap:8px;margin:6px 0 14px}.builder-chip{position:relative}.builder-chip input{position:absolute;opacity:0;pointer-events:none}.builder-chip span{display:inline-flex;padding:9px 12px;border:1px solid #d0d5dd;border-radius:999px;background:#fff;font-size:12px;font-weight:700;color:#475467;cursor:pointer}.builder-chip input:checked+span{background:#fff1ed;border-color:#ff9b80;color:#c63f1e}.builder-summary{margin-bottom:16px}.builder-review{padding:14px}.builder-review-table-wrap{max-width:100%;overflow:auto}.builder-review-table{width:100%;min-width:1450px;border-collapse:collapse}.builder-review-table th{font-size:10px;text-transform:uppercase;letter-spacing:.05em;color:#667085;text-align:left;padding:7px;border-bottom:1px solid #e5e7eb}.builder-review-table td{padding:7px;vertical-align:top;border-bottom:1px solid #eef0f3}.builder-review-table input,.builder-review-table select{min-width:105px;width:100%}.builder-review-table td:nth-child(1) input{min-width:auto;width:auto}.builder-review-table td:nth-child(2){width:90px}.builder-review-table td:nth-child(8){min-width:260px}.builder-pool{margin-top:5px}.builder-apply-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}.compact-card{margin-top:12px;padding:14px}.primary-soft{background:#fff1ed;border-color:#ffb09b;color:#ba3a1d}.clock-builder-form h2{margin-top:4px}

/* v2.0 PDF branding */
.logo-upload-block{border-top:1px solid #eceef2;padding-top:16px}.logo-upload-block h2{margin:3px 0 5px}.logo-preview{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:10px 0}.logo-preview img{max-width:180px;max-height:70px;object-fit:contain;background:#fff;border:1px solid #e5e7eb;border-radius:10px;padding:8px}

/* v2.0.1 within-show must-have frequency */
#custom-count-wrap{max-width:230px}

/* v2.1 list-first must-haves + modal editor */
.must-list-card{padding:20px}.must-list-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:14px}.must-list-head h2{margin:3px 0}.must-list-head>p{max-width:430px;margin:0}.must-list-first{display:grid;gap:10px}.must-list-first .must-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;padding:15px;border:1px solid #e6e9ee;border-radius:14px;background:#fff}.must-disabled{opacity:.58;background:#fafafa!important}.must-main{min-width:0}.must-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:10px 0}.must-summary-grid span{display:grid;gap:2px;font-size:11px;color:#667085}.must-summary-grid b{text-transform:uppercase;letter-spacing:.04em;font-size:9px;color:#98a2b3}.must-copy-preview{font-size:13px;line-height:1.5;color:#344054;background:#f8f9fb;border-radius:10px;padding:10px 11px;white-space:pre-line}.priority-required{border-color:#ffc4b6;background:#fff3ef;color:#b93818}.priority-preferred{border-color:#d5d9e2;background:#f7f8fa}.priority-droppable{opacity:.78}.must-modal{width:min(840px,calc(100vw - 30px));max-height:92vh;border:0;border-radius:20px;padding:0;box-shadow:0 30px 90px rgba(16,24,40,.28);background:#fff}.must-modal::backdrop{background:rgba(17,24,39,.5);backdrop-filter:blur(3px)}.must-modal-shell{max-height:92vh;display:flex;flex-direction:column}.must-modal-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:20px 22px 14px;border-bottom:1px solid #eceef2}.must-modal-head h2{margin:3px 0 0}.modal-close{border:0;background:#f3f4f6;width:34px;height:34px;border-radius:999px;font-size:22px;line-height:1;cursor:pointer;color:#475467}.must-modal-form{padding:20px 22px 24px;overflow:auto}.modal-section{border-top:1px solid #eceef2;padding-top:15px;display:grid;gap:12px}.must-modal-actions{position:sticky;bottom:-24px;background:#fff;border-top:1px solid #eceef2;padding:14px 0 0;display:flex;gap:10px}.must-logic-card{padding:18px}.hybrid-note{margin:10px 0 2px;padding:12px 14px;border:1px solid #f1c7bb;background:#fff8f5;border-radius:12px;display:grid;gap:3px}.hybrid-note span{font-size:12px;color:#667085}.builder-notes-block{display:grid;gap:8px}.inferred-note-controls{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.inferred-notes-preview{border:1px solid #e7e9ee;border-radius:10px;padding:9px 11px;background:#fafbfc}.inferred-notes-preview summary{cursor:pointer;font-size:12px;font-weight:700;color:#475467}.inferred-notes-preview pre{white-space:pre-wrap;font-family:inherit;font-size:11px;color:#667085;line-height:1.5;max-height:220px;overflow:auto;margin:9px 0 0}
@media(max-width:720px){.must-list-head{align-items:flex-start;flex-direction:column}.must-list-first .must-row{grid-template-columns:1fr}.must-summary-grid{grid-template-columns:1fr}.must-modal{width:calc(100vw - 16px);max-height:96vh}.must-modal-shell{max-height:96vh}.must-modal-form{padding:16px}.must-modal-head{padding:16px}.must-modal-actions{bottom:-16px}.inferred-note-controls{align-items:flex-start;flex-direction:column}}
.must-source-copy{margin-top:8px;border-top:1px solid rgba(161,38,29,.12);padding-top:7px}.must-source-copy summary{cursor:pointer;font-size:11px;font-weight:750;color:#8b4a3e}.must-source-copy>div,.must-copy-verbatim{margin-top:7px;white-space:pre-line}

/* v2.2 imported ChatGPT plugin ZIP */
.plugin-import-card{display:grid;gap:16px}.plugin-import-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 14px;align-items:end}.plugin-import-form .filehint{grid-column:1/-1}.plugin-import-list{display:grid;gap:9px}.plugin-import-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:start;padding:13px 14px;border:1px solid var(--line);border-radius:14px;background:#fff}.plugin-import-row.is-disabled{opacity:.68}.plugin-import-main{min-width:0}.plugin-rule-preview{margin-top:8px}.plugin-rule-preview summary{cursor:pointer;font-size:12px;font-weight:750}.plugin-rule-preview pre{white-space:pre-wrap;overflow-wrap:anywhere;margin:9px 0 0;padding:10px;border:1px solid var(--line);border-radius:10px;background:#f7f8fa;max-height:320px;overflow:auto;font:12px/1.45 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}@media(max-width:700px){.plugin-import-form,.plugin-import-row{grid-template-columns:1fr}}
/* v2.4 Hybrid Copy */
.hybrid-controls{border:1px solid #f2c7bd;background:#fff8f6;border-radius:14px;padding:13px;display:grid;gap:10px}.hybrid-controls>div:first-child{display:grid;gap:3px}.hybrid-controls span{font-size:12px;color:#667085}.hybrid-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.lock-preview{font-size:12px;line-height:1.45;color:#344054}.lock-preview small{display:block;color:#667085;font-weight:700;margin-bottom:5px}.lock-preview>div{padding:9px;background:#fff;border:1px solid #eadbd7;border-radius:10px;white-space:normal}.lock-preview mark{background:#ffe39b;border-radius:3px;padding:1px 2px}.must-locked-badge{font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.05em;background:#fff0c2;color:#6b4a00;padding:3px 6px;border-radius:999px}
/* v2.4 post-prep link reassignment */
.reassign-link{margin-top:12px;border-top:1px solid #eceef2;padding-top:9px}.reassign-link>summary{cursor:pointer;font-size:12px;font-weight:800;color:#475467}.reassign-form{display:grid;gap:9px;margin-top:10px;background:#f8fafc;border:1px solid #e7ebf0;border-radius:12px;padding:11px}.reassign-form small{color:#667085}.manual-override-pill{background:#edf4ff;color:#2454a6}.must-locked-copy{display:grid;gap:5px;margin-top:7px;padding:8px 10px;background:#fff8e6;border:1px solid #efd78e;border-radius:9px;font-size:12px}.must-locked-copy span{display:block;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;color:#624900}
/* v2.4 whole-show producer plan */
.producer-plan-card{margin-bottom:14px;padding:0;overflow:hidden}.producer-plan-card summary{cursor:pointer;display:flex;justify-content:space-between;gap:12px;align-items:center;padding:12px 14px}.producer-plan-body{border-top:1px solid #eceef2;padding:12px 14px;font-size:13px;line-height:1.5}.producer-plan-body p{margin:0 0 8px}.producer-plan-body ul{margin:6px 0 0 18px}.quality-passed{background:#eaf7ef;color:#17643b}.quality-warnings{background:#fff5dd;color:#7a5200}.quality-failed{background:#ffe9e7;color:#9b2c22}.quality-planned{background:#eef2f6;color:#475467}

/* v2.5: final on-air script + selectable outro options */
.as-aired-block{margin:12px 0 14px;border:1px solid #e6e8ec;border-radius:14px;background:#fcfcfd;overflow:hidden}
.as-aired-label{padding:7px 11px;background:#f4f5f7;border-bottom:1px solid #e6e8ec;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#697386}
.as-aired-copy{padding:13px 14px;white-space:pre-line;font-size:15.5px;line-height:1.58}
.outro-picker{margin:12px 0;border:1px solid #eadfdc;border-radius:12px;background:#fffaf8}
.outro-picker>summary{cursor:pointer;display:flex;justify-content:space-between;gap:12px;align-items:center;padding:10px 12px;list-style:none}
.outro-picker>summary::-webkit-details-marker{display:none}
.outro-options-list{padding:0 10px 6px;display:grid;gap:7px}
.outro-option{margin:0}
.outro-option button{width:100%;display:flex;gap:12px;align-items:center;justify-content:space-between;text-align:left;border:1px solid #e6e8ec;border-radius:10px;background:#fff;padding:9px 10px;cursor:pointer;font:inherit;color:inherit}
.outro-option button:hover{border-color:#ff9e8d;background:#fff7f4}
.outro-option.outro-selected button{border-color:#ff8a73;background:#fff4f0}
.outro-option-text{line-height:1.4}
.outro-use{font-size:12px;font-weight:700;color:#c53a23;white-space:nowrap}
.outro-reason{margin:4px 12px 10px;font-size:13px;color:#667085}
.outro-controls{display:flex;gap:8px;flex-wrap:wrap;padding:0 10px 10px}
@media print{.outro-picker{display:none!important}.as-aired-block{border:0;background:#fff;margin:0}.as-aired-label{display:none}.as-aired-copy{padding:0}}

/* v2.5.1 scheduling visibility */
.scheduling-overview-card{margin-bottom:14px}.scheduling-modal-section{background:#fbfcfd;border:1px solid #e8ebf0;border-radius:14px;padding:14px}.th-help{font-size:9px;font-weight:600;color:#98a2b3;white-space:nowrap}.schedule-cell .schedule-mode{font-weight:700}


/* v2.5.2 wider programme-clock workspace — only clock screens break out of the compact 920px app shell */
.wide-clock-workspace{min-width:0}
@media(min-width:1101px){
  .wide-clock-workspace{
    width:min(1480px,calc(100vw - 48px));
    margin-left:50%;
    transform:translateX(-50%);
  }
  .wide-clock-workspace .pagehead{align-items:flex-start}
  .wide-clock-workspace .pagehead>div:first-child{max-width:760px}
  .wide-clock-workspace .clocktable-wrap,
  .wide-clock-workspace .builder-review-table-wrap{overflow-x:auto}
  .wide-clock-workspace .schedule-clock{min-width:1540px}
  .wide-clock-workspace .builder-review-table{min-width:1510px}
  .wide-clock-workspace .schedule-cell{min-width:235px}
  .wide-clock-workspace .tease-cell{min-width:150px}
  .wide-clock-workspace .schedule-clock th:nth-child(1),
  .wide-clock-workspace .schedule-clock td:nth-child(1){width:108px}
  .wide-clock-workspace .schedule-clock th:nth-child(2),
  .wide-clock-workspace .schedule-clock td:nth-child(2){min-width:165px}
  .wide-clock-workspace .schedule-clock th:nth-child(3),
  .wide-clock-workspace .schedule-clock td:nth-child(3){min-width:135px}
  .wide-clock-workspace .schedule-clock th:nth-child(4),
  .wide-clock-workspace .schedule-clock td:nth-child(4){min-width:115px}
  .wide-clock-workspace .schedule-clock th:nth-child(6),
  .wide-clock-workspace .schedule-clock td:nth-child(6){min-width:190px}
  .wide-clock-workspace .schedule-clock th:nth-child(7),
  .wide-clock-workspace .schedule-clock td:nth-child(7){min-width:145px}
  .wide-clock-workspace .schedule-clock th:nth-child(8),
  .wide-clock-workspace .schedule-clock td:nth-child(8){min-width:250px}
  .wide-clock-workspace .clockactions{min-width:88px}
  .wide-clock-workspace .clock-add-grid{grid-template-columns:115px minmax(160px,1.1fr) minmax(135px,.9fr) 130px 145px 190px minmax(230px,1.4fr)}
}
@media(min-width:901px) and (max-width:1100px){
  .wide-clock-workspace{
    width:calc(100vw - 36px);
    margin-left:50%;
    transform:translateX(-50%);
  }
  .wide-clock-workspace .schedule-clock{min-width:1480px}
  .wide-clock-workspace .builder-review-table{min-width:1420px}
}
@media(max-width:900px){
  .wide-clock-workspace{width:auto;margin:0;transform:none}
}
@media(min-width:1101px){
  .wide-clock-workspace .schedule-clock td>input,
  .wide-clock-workspace .schedule-clock td>select,
  .wide-clock-workspace .schedule-box>.schedule-mode{width:100%;min-width:0}
  .wide-clock-workspace .builder-review-table td>input,
  .wide-clock-workspace .builder-review-table td>select{width:100%;min-width:0}
}

/* v2.5.3 show-day scope + Hybrid Copy workflow */
.show-days-block{border:1px solid #e6e9ee;border-radius:14px;padding:15px;background:#fafbfc}.show-days-block h2{margin:3px 0 4px}.show-daychips{margin-top:10px}.showtabs a{display:grid;gap:2px}.showtabs a small{font-size:9px;color:#98a2b3;font-weight:700;letter-spacing:.03em}.showtabs a.active small{color:inherit;opacity:.72}.show-day-warning{margin:0 0 14px}.show-scope-note{margin:5px 0 0;color:#667085;font-size:12px}.hybrid-copy-near-text{margin-top:-6px}.hybrid-copy-toolbar{display:flex!important;align-items:center;justify-content:space-between;gap:14px}.hybrid-copy-toolbar>div:first-child{display:grid;gap:3px}.lock-copy-button{white-space:nowrap}.lock-preview{border-top:1px solid #ecdcd7;padding-top:10px}.lock-preview:empty{display:none}.primary:disabled,.primary[disabled]{opacity:.48;cursor:not-allowed;box-shadow:none}
@media(max-width:720px){.hybrid-copy-toolbar{align-items:flex-start;flex-direction:column}.hybrid-copy-toolbar .hybrid-actions{width:100%}}

.show-days-save-row{margin-top:12px;padding-top:12px;border-top:1px solid #e6e9ee;display:flex;align-items:center;justify-content:space-between;gap:14px}.show-days-save-row>div{display:grid;gap:2px}.show-days-save-row strong{font-size:12px;color:#344054}.show-days-save-row span{font-size:11px;color:#667085}@media(max-width:720px){.show-days-save-row{align-items:stretch;flex-direction:column}.show-days-save-row .smallbutton{width:100%}}

/* v2.6.4 — Copy show */
.inline-action-form { display: inline; margin: 0; }
.inline-action-form .button { width: auto; }
.copy-show-zone { margin-top: 18px; }
.copy-show-zone form { margin: 0; }
.copy-show-form .copy-options { display:grid; gap:10px; }
.copy-show-form .copy-options .checklabel { display:flex; gap:10px; align-items:flex-start; padding:12px; border:1px solid var(--line, #e4e8ee); border-radius:12px; }
.copy-show-form .copy-options .checklabel span { display:grid; gap:3px; }
.copy-show-form .copy-options .checklabel small { color:var(--muted, #697386); font-weight:400; line-height:1.4; }

/* v2.7 optional station/audience profile */
.audience-profile-block{border-top:1px solid var(--line);padding-top:18px;margin-top:4px}
.audience-profile-block h2{margin:4px 0 6px}
.audience-profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:14px}
.audience-profile-grid label{min-width:0}
@media(max-width:720px){.audience-profile-grid{grid-template-columns:1fr}.audience-profile-grid .span2{grid-column:auto}}

/* v2.7.1 content source control */
.wide-clock-workspace .source-cell{min-width:190px}.wide-clock-workspace .source-cell select{min-width:180px}.builder-review-table td:nth-child(7){min-width:190px}.builder-review-table td:nth-child(9){min-width:260px}


/* v2.7.2 save-all clock */
.clock-save-all-form{margin:14px 0 0}
.clock-save-all-bar{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 16px;border:1px solid var(--line,#e6e2de);border-radius:14px;background:#fff8f3}
.clock-save-all-bar>div{display:flex;flex-direction:column;gap:2px}
.clock-save-all-bar span{font-size:.88rem;color:var(--muted,#6f6a66)}
.save-all-clock{white-space:nowrap}
@media (max-width:760px){.clock-save-all-bar{align-items:stretch;flex-direction:column}.clock-save-all-bar .save-all-clock{width:100%}}

/* v2.7.3 — explicit add/replace flow for live-read updates */
.copy-update-section{background:#fbfcfd;border:1px solid #e6e9ee;border-radius:14px;padding:14px}.copy-update-section>div:first-child p{margin:4px 0 0}.copy-update-choice{display:grid;grid-template-columns:1fr 1fr;gap:10px}.update-choice{display:flex!important;align-items:flex-start!important;gap:10px!important;border:1px solid #dde2e8;border-radius:12px;padding:12px;background:#fff;cursor:pointer}.update-choice:has(input:checked){border-color:#f28b6d;background:#fff8f5;box-shadow:0 0 0 1px rgba(242,139,109,.14)}.update-choice input{width:auto!important;margin-top:3px}.update-choice span{display:grid;gap:3px}.update-choice b{font-size:12px;color:#344054}.update-choice small{font-size:11px;line-height:1.4;color:#667085}.copy-update-section textarea{min-height:110px}
@media(max-width:720px){.copy-update-choice{grid-template-columns:1fr}}


/* v3.0 radio production */
.wide-production-workspace{width:min(1480px,calc(100vw - 40px));margin-left:50%;transform:translateX(-50%)}
.production-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.production-section h2{margin-top:4px}.production-list{display:grid;gap:10px;margin-top:18px}.production-record{display:flex;justify-content:space-between;gap:16px;padding:12px;border:1px solid var(--line,#e4e4e4);border-radius:12px;background:#fff}.production-record.stacked{display:block}.production-record>div:first-child{display:grid;gap:3px}.production-record span,.production-record small{color:var(--muted,#666)}.record-actions{display:flex;gap:8px;align-items:flex-start}.response-form{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}.response-form textarea,.response-form button{grid-column:1/-1}.production-record blockquote{margin:10px 0;padding:9px 12px;background:#f7f7f7;border-left:3px solid #ddd}.radio-tools-details{margin-top:8px}.radio-tools-details summary{font-size:.78rem;font-weight:700;cursor:pointer}.radio-tools-details label{display:block;margin-top:7px;font-size:.75rem}.instruction-cell{min-width:280px}
.studio-shell{width:min(1200px,calc(100vw - 32px));margin-left:50%;transform:translateX(-50%)}.studio-top{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:20px}.studio-list{display:grid;gap:16px}.studio-card{background:#111;color:#fff;border-radius:18px;padding:24px 28px;box-shadow:0 12px 30px #0002}.studio-card.status-done{opacity:.42}.studio-card.status-skipped{opacity:.3}.studio-card.status-updated{outline:3px solid #ff7a59}.studio-meta{display:flex;gap:12px;align-items:center;flex-wrap:wrap;color:#bbb}.studio-time{font-size:2rem;font-weight:800;color:#fff}.studio-card h2{font-size:1.45rem}.studio-copy{white-space:pre-line;font-size:1.45rem;line-height:1.48;max-width:1000px}.studio-actions{display:flex;gap:10px;margin-top:18px}.studio-actions form{margin:0}.studio-card .primary{font-size:1.05rem}.studio-card .button,.studio-card .textbutton{background:#fff;color:#111}
@media(max-width:900px){.production-grid{grid-template-columns:1fr}.wide-production-workspace,.studio-shell{width:100%;margin-left:0;transform:none}.studio-copy{font-size:1.2rem}.studio-top{display:block}}
.guest-pack{margin-top:10px;border-top:1px solid var(--line,#e5e5e5);padding-top:8px}.guest-pack summary{cursor:pointer;font-weight:750}.guest-pack-body{padding-top:8px;font-size:.92rem}.guest-pack-body ol,.guest-pack-body ul{margin-top:6px}.studio-now{outline:3px solid rgba(255,106,61,.35);box-shadow:0 12px 34px rgba(0,0,0,.08)}.studio-next{outline:2px solid rgba(0,0,0,.08)}.onair-label{display:inline-flex;padding:3px 8px;border-radius:999px;font-weight:800;font-size:.72rem;letter-spacing:.08em;background:#111;color:#fff}.onair-label.next{background:#efefef;color:#333}

/* v3.1 presenter prep cleanup */
.prep-spoken-copy,.prep-outro-copy{white-space:pre-wrap}
.prep-outro-copy{margin-top:.75rem}
.coming-up-block{margin:.8rem 0;padding:.62rem .75rem;border-left:4px solid var(--accent,#e36b57);background:#fff8f5;border-radius:8px;font-size:.96rem;line-height:1.45}
.coming-up-block b{letter-spacing:.05em;font-size:.78rem}
.source-origin{margin-top:.72rem;font-size:.82rem;color:var(--muted,#68707a)}
.clock-review-card ul{margin:.5rem 0 0 1.1rem}
.tease-stack{display:grid;gap:.45rem;min-width:160px}

/* v3.2.1 flexible structure editor */
.structure-blueprint-table{min-width:1280px}.structure-blueprint-table input,.structure-blueprint-table select,.structure-blueprint-table textarea{width:100%;min-width:120px}.structure-blueprint-table td:last-child{min-width:300px}.structure-blueprint-table textarea{resize:vertical}

/* v3.3 AI Developer + first-class Radio Features */
.mainnav{display:flex;align-items:center;gap:4px}.mainnav a{padding:8px 10px;border-radius:9px}.mainnav a:hover{background:#f7f4f2}.mainnav .ai-nav{background:#fff3ee;color:#b6472c}.mainnav .nav-utility{color:#697386;font-size:.78rem}
.developer-workspace,.features-workspace{width:min(1120px,100%);margin:0 auto}.developer-head{align-items:flex-start}.developer-console{padding:20px}.developer-console-intro{display:flex;justify-content:space-between;gap:18px;align-items:flex-start}.developer-console-intro>div:first-child{display:grid;grid-template-columns:auto 1fr;column-gap:9px}.developer-console-intro p{grid-column:2;margin:3px 0 0}.ai-dot{display:inline-block;width:10px;height:10px;border-radius:999px;background:var(--accent,#e36b57);box-shadow:0 0 0 4px rgba(227,107,87,.12);margin-top:5px}.developer-composer{margin-top:16px}.developer-composer textarea{min-height:112px;font-size:1rem;line-height:1.5}.developer-composer-foot{display:flex;justify-content:space-between;gap:14px;align-items:center;margin-top:10px}.prompt-chips{display:flex;gap:7px;flex-wrap:wrap}.prompt-chips button{border:1px solid var(--line,#e4e8ee);background:#fff;border-radius:999px;padding:7px 10px;font:inherit;font-size:.73rem;color:#596273;cursor:pointer}.prompt-chips button:hover{border-color:#f0a28b;background:#fff8f5}.developer-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(280px,.8fr);gap:18px;margin-top:18px}.developer-rule-list{display:grid;gap:9px;margin-top:14px}.developer-rule{display:flex;justify-content:space-between;gap:14px;padding:12px;border:1px solid var(--line,#e4e8ee);border-radius:12px;background:#fbfcfd}.developer-rule>div{display:grid;gap:3px}.developer-rule p{margin:1px 0 0;font-size:.86rem;color:#4f5968;line-height:1.45}.developer-rule.muted-rule{opacity:.5}.rule-scope{font-size:.65rem;text-transform:uppercase;letter-spacing:.08em;color:#9b4e3a;font-weight:800}.developer-safety-list{display:grid;gap:13px;margin-top:14px}.developer-safety-list>div{display:grid;grid-template-columns:28px 1fr;gap:10px}.developer-safety-list b{width:27px;height:27px;border-radius:999px;background:#fff3ee;color:#b6472c;display:grid;place-items:center}.developer-safety-list span{display:grid;gap:2px}.developer-safety-list small{color:#697386;line-height:1.4}.developer-history{margin-top:24px}.developer-thread{display:grid;gap:22px}.developer-turn{display:grid;gap:9px}.developer-user-bubble{justify-self:end;width:min(720px,88%);background:#181818;color:#fff;border-radius:16px 16px 5px 16px;padding:12px 15px}.developer-user-bubble span{font-size:.65rem;letter-spacing:.08em;text-transform:uppercase;color:#b8b8b8;font-weight:800}.developer-user-bubble p{margin:5px 0;white-space:pre-wrap}.developer-user-bubble time{font-size:.67rem;color:#9e9e9e}.developer-ai-bubble{width:min(900px,94%);background:#fff;border:1px solid var(--line,#e4e8ee);border-radius:5px 16px 16px 16px;padding:16px;box-shadow:0 5px 20px rgba(0,0,0,.035)}.developer-ai-bubble.code-change{border-left:4px solid #222}.developer-ai-title{display:flex;align-items:center;gap:9px}.developer-ai-title .ai-dot{margin-top:0}.developer-ai-title strong{margin-right:auto}.change-status{font-size:.65rem;text-transform:uppercase;letter-spacing:.07em;font-weight:800;border-radius:999px;padding:5px 8px;background:#f2f4f7;color:#667085}.status-proposed{background:#fff3df;color:#915f00}.status-applied{background:#eaf7ee;color:#27713b}.status-undone,.status-dismissed{background:#f2f4f7;color:#667085}.status-development_request{background:#ececf1;color:#30303a}.developer-ai-bubble h3{margin:13px 0 5px}.developer-ai-bubble>p{color:#596273}.proposal-changes{display:grid;gap:8px;margin:13px 0}.proposal-changes>div{border:1px solid #eee1dc;background:#fff9f6;border-radius:11px;padding:10px;display:grid;gap:3px}.proposal-changes span{font-size:.65rem;text-transform:uppercase;letter-spacing:.07em;color:#9b4e3a;font-weight:800}.proposal-changes p{margin:1px 0;white-space:pre-wrap;line-height:1.45}.proposal-changes code{font-size:.78rem}.proposal-actions{display:flex;justify-content:space-between;gap:12px;align-items:flex-end;border-top:1px solid var(--line,#e4e8ee);padding-top:12px;margin-top:14px}.apply-proposal-form{display:flex;gap:8px;align-items:flex-end}.apply-proposal-form label{margin:0;min-width:185px}.proposal-secondary{display:flex;gap:7px}.proposal-secondary form{margin:0}.test-suggestion{font-size:.83rem!important;background:#f7f8fa;padding:8px 10px;border-radius:9px}.developer-test{margin-top:12px;border:1px solid #dbe3eb;background:#f8fbfd;border-radius:12px;padding:12px}.developer-test>p{color:#52606f}.test-compare{display:grid;grid-template-columns:1fr 1fr;gap:9px}.test-compare>div{background:#fff;border:1px solid #e4e9ef;border-radius:9px;padding:10px}.test-compare span{font-size:.65rem;text-transform:uppercase;letter-spacing:.07em;font-weight:800;color:#697386}.test-compare p{white-space:pre-wrap;line-height:1.45}.applied-change-bar,.undone-note{display:flex;justify-content:space-between;align-items:center;gap:12px;background:#f4fbf6;border:1px solid #d7eadc;border-radius:10px;padding:9px 11px;margin-top:12px;font-size:.8rem}.undone-note{background:#f6f7f9;border-color:#e4e7ec;color:#667085}.code-request-box,.answer-box{background:#f7f7f8;border-radius:11px;padding:11px 12px;margin-top:12px}.code-request-box p{white-space:pre-wrap}.code-request-box small{color:#697386}.compact-empty{padding:16px}.feature-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.feature-create{margin-bottom:20px}.feature-form .grow{grid-column:1/-1}.feature-editor{position:relative}.feature-card-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:12px}.feature-name-input{font-family:inherit;font-size:1.25rem;font-weight:800;border:0!important;border-bottom:1px solid transparent!important;padding:2px 0!important;background:transparent!important;border-radius:0!important}.feature-name-input:focus{border-bottom-color:#e7a18d!important;outline:0}.feature-meta-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.feature-ai-rules{background:#fff8f5;border:1px solid #efd8d0;border-radius:10px;padding:10px;margin:10px 0}.feature-ai-rules p{font-size:.8rem;margin:5px 0}.feature-card-actions{display:flex;gap:8px;align-items:center;margin-top:10px}.feature-delete{position:absolute;right:16px;bottom:16px}.radio-feature-gateway .heroactions{margin-top:12px}.feature-button{border-color:#f0b19e!important}.ai-button{background:#fff3ee!important;border-color:#f0b19e!important;color:#a8462d!important}
@media(max-width:900px){.developer-grid,.feature-card-grid,.test-compare,.feature-meta-grid{grid-template-columns:1fr}.developer-composer-foot,.proposal-actions,.apply-proposal-form{align-items:stretch;flex-direction:column}.proposal-secondary{width:100%}.proposal-secondary form,.proposal-secondary button,.apply-proposal-form button,.apply-proposal-form label{width:100%}.developer-user-bubble,.developer-ai-bubble{width:94%}.mainnav{gap:0;overflow-x:auto;white-space:nowrap;max-width:72vw}.mainnav a{font-size:.72rem;padding:7px 8px}.feature-delete{position:static;margin-top:8px}.feature-card-actions{padding-right:0}}

/* v3.3.1 Effective Rules inspector */
.effective-rules-panel{margin:18px 0 20px;padding:20px}.effective-rules-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}.effective-rules-head h2{margin:.15rem 0 .35rem}.rules-date-picker{display:flex;gap:8px;align-items:flex-end;min-width:250px}.rules-date-picker label{margin:0;flex:1;font-size:.72rem;color:#697386}.rules-date-picker input{margin-top:5px}.effective-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:16px 0}.effective-summary>div{border:1px solid var(--line,#e4e8ee);border-radius:12px;background:#fbfcfd;padding:11px 12px;display:flex;flex-direction:column;gap:1px}.effective-summary strong{font-family:'Space Grotesk',Inter,sans-serif;font-size:1.25rem}.effective-summary span{font-size:.7rem;color:#697386}.rule-filterbar{display:flex;align-items:center;gap:6px;flex-wrap:wrap;border-top:1px solid var(--line,#e4e8ee);border-bottom:1px solid var(--line,#e4e8ee);padding:11px 0}.rule-filter{appearance:none;border:1px solid #e1e5ea;background:#fff;border-radius:999px;padding:6px 9px;font:inherit;font-size:.7rem;font-weight:700;color:#626b78;cursor:pointer}.rule-filter.active{background:#181818;color:#fff;border-color:#181818}.rule-search{margin:0 0 0 auto;display:flex;align-items:center;gap:7px;font-size:.68rem;color:#697386}.rule-search input{width:230px;padding:7px 9px;font-size:.76rem}.precedence-alerts{display:grid;gap:8px;margin-top:12px}.precedence-alerts>div{border-left:4px solid #e36b57;background:#fff8f5;border-radius:8px;padding:9px 11px}.precedence-alerts span{display:block;text-transform:uppercase;letter-spacing:.07em;font-size:.61rem;font-weight:800;color:#a24b33}.precedence-alerts strong{display:block;margin-top:2px}.precedence-alerts p{margin:3px 0;font-size:.82rem}.precedence-alerts small{color:#697386}.effective-sections{display:grid;gap:18px;margin-top:18px}.effective-section{display:grid;gap:8px}.effective-section-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}.effective-section-head h3{margin:0;font-size:1rem}.effective-section-head p{margin:3px 0 0;color:#697386;font-size:.75rem;line-height:1.4}.effective-section-head>span{min-width:26px;height:26px;border-radius:999px;background:#f0f2f5;display:grid;place-items:center;font-size:.72rem;font-weight:800;color:#5d6570}.effective-rule-list{display:grid;gap:7px}.effective-rule-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;border:1px solid var(--line,#e4e8ee);background:#fff;border-radius:12px;padding:11px 12px}.effective-rule-card.status-inactive{opacity:.56;background:#f7f8f9}.effective-rule-card.status-today{border-color:#efd8d0;background:#fffaf8}.effective-rule-main h4{margin:5px 0 3px;font-size:.91rem}.effective-rule-main>p{margin:0;color:#4f5968;line-height:1.42;font-size:.81rem}.effective-rule-badges{display:flex;gap:5px;flex-wrap:wrap;align-items:center}.source-badge,.scope-badge,.active-badge,.inactive-badge,.today-badge{display:inline-flex;border-radius:999px;padding:3px 6px;font-size:.58rem;letter-spacing:.045em;font-weight:800;text-transform:uppercase}.source-badge{background:#fff0eb;color:#a34830}.scope-badge{background:#f1f3f6;color:#596273}.active-badge{background:#eaf7ee;color:#28713d}.inactive-badge{background:#eceef1;color:#667085}.today-badge{background:#fff0e3;color:#9a5a15}.source-change-note{font-size:.69rem;color:#a34830;margin-top:5px}.rule-source-details{margin-top:6px}.rule-source-details summary{font-size:.68rem;color:#697386;cursor:pointer;font-weight:750}.full-rule-text,.rule-detail-text{white-space:pre-wrap;margin-top:7px;padding:8px 9px;border-radius:8px;background:#f7f8fa;font-size:.74rem;line-height:1.45;color:#515a67}.rule-detail-text{background:#fbfbfc}.effective-rule-actions{display:flex;gap:5px;align-items:flex-start;flex-wrap:wrap;justify-content:flex-end;max-width:260px}.effective-rule-actions form{margin:0}.effective-rule-actions .smallbutton,.effective-rule-actions .textbutton{font-size:.68rem;padding:6px 8px;white-space:nowrap}.effective-empty{border:1px dashed #dfe3e8;border-radius:10px;padding:11px;color:#7a828d;font-size:.77rem;background:#fafbfc}.search-empty{margin-top:4px}.precedence-strip{margin-top:17px;border-top:1px solid var(--line,#e4e8ee);padding-top:12px;display:flex;gap:7px;align-items:center;flex-wrap:wrap;font-size:.68rem;color:#626b78}.precedence-strip strong{color:#272b31;margin-right:3px}.precedence-strip span{background:#f5f6f8;border-radius:999px;padding:5px 7px}.precedence-strip b{color:#b2b7bf}
@media(max-width:900px){.effective-rules-head,.rules-date-picker{display:block}.rules-date-picker{min-width:0;margin-top:12px}.rules-date-picker .button{margin-top:7px;width:100%}.effective-summary{grid-template-columns:1fr 1fr}.rule-search{width:100%;margin:5px 0 0}.rule-search input{width:100%}.effective-rule-card{grid-template-columns:1fr}.effective-rule-actions{justify-content:flex-start;max-width:none}.precedence-strip{align-items:flex-start}.precedence-strip b{display:none}}

/* v3.3.2 Show Setup import/export */
.show-import-workspace{width:min(1020px,100%);margin:0 auto}.pagehead-actions{display:flex;gap:8px;align-items:center}.import-upload-card{max-width:680px}.import-summary-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}.package-version{display:grid;gap:3px;text-align:right;font-weight:800;font-size:.78rem;color:#384250}.package-version small{font-weight:600;color:#8a94a3}.import-count-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px;margin-top:18px}.import-count-grid>div{display:grid;gap:2px;padding:12px;border:1px solid var(--line,#e4e8ee);border-radius:12px;background:#fbfcfd;text-align:center}.import-count-grid strong{font-size:1.25rem}.import-count-grid span{font-size:.68rem;color:#788394}.import-mode-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}.choice-card,.component-card{display:flex;gap:11px;align-items:flex-start;border:1px solid var(--line,#e4e8ee);border-radius:14px;padding:14px;background:#fff;cursor:pointer}.choice-card:has(input:checked),.component-card:has(input:checked){border-color:#f0a28b;background:#fff8f5;box-shadow:0 0 0 2px rgba(227,107,87,.06)}.choice-card input,.component-card input{width:auto;margin-top:3px}.choice-card span,.component-card span{display:grid;gap:4px}.choice-card small,.component-card small{color:#6b7585;line-height:1.4}.import-destination-fields{margin-top:15px}.merge-field{display:none}.component-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}.import-safety-card{background:#fafbfc}.import-safety-card p{margin-bottom:0}.import-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin:2px 0 26px}.import-apply-form{gap:16px}.pagehead-actions .button{white-space:nowrap}@media(max-width:820px){.import-count-grid{grid-template-columns:repeat(3,1fr)}.component-grid,.import-mode-grid{grid-template-columns:1fr}.import-summary-head{display:grid}.package-version{text-align:left}.pagehead-actions{width:100%}.pagehead-actions .button{flex:1}}@media(max-width:520px){.import-count-grid{grid-template-columns:repeat(2,1fr)}.import-actions{align-items:stretch;flex-direction:column}.import-actions .button,.import-actions button{width:100%}}

/* v3.4 — rule-led simple Show Clock */
.simple-clock-workspace{max-width:980px;margin:0 auto}.rule-stack-strip{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(320px,1fr);gap:18px;align-items:center}.rule-stack-copy h2{margin:.15rem 0 .35rem}.rule-stack-copy p{margin:0;color:#667085;line-height:1.5}.rule-stack-stats{display:grid;grid-template-columns:1fr 1fr;gap:8px}.rule-stack-stats a{display:flex;flex-direction:column;text-decoration:none;color:inherit;border:1px solid #e4e8ee;border-radius:12px;padding:10px 11px;background:#fbfcfd}.rule-stack-stats strong{font-family:'Space Grotesk',Inter,sans-serif;font-size:1.2rem}.rule-stack-stats span{font-size:.66rem;color:#697386}.rule-stack-actions{grid-column:1/-1;display:flex;gap:8px;flex-wrap:wrap;border-top:1px solid #eceff2;padding-top:12px}.simple-clock-help{margin-top:14px}.clock-philosophy{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:10px}.clock-philosophy>div{padding:11px;border:1px solid #e8eaee;border-radius:11px;background:#fbfbfc}.clock-philosophy b,.clock-philosophy span{display:block}.clock-philosophy span{margin-top:3px;color:#697386;font-size:.76rem;line-height:1.4}.clock-skeleton-list{display:grid;gap:10px;margin:16px 0}.clock-skeleton-row{display:grid;grid-template-columns:100px minmax(145px,.9fr) minmax(180px,1fr) minmax(180px,1.2fr) auto;gap:10px;align-items:end;padding:14px}.clock-field{margin:0}.clock-field>span{display:block;margin-bottom:5px;font-size:.66rem;font-weight:800;text-transform:uppercase;letter-spacing:.055em;color:#687282}.clock-field small,.simple-add-grid small{font-weight:600;text-transform:none;letter-spacing:0;color:#98a0aa}.clock-field input,.clock-field select{width:100%;margin:0}.clock-row-actions{display:flex;align-items:center;gap:4px;padding-bottom:2px}.clock-row-actions form{margin:0}.clock-advanced{grid-column:1/-1;border-top:1px solid #eef0f3;margin-top:2px;padding-top:8px}.clock-advanced>summary{cursor:pointer;font-size:.72rem;font-weight:800;color:#535d6b;list-style:none}.clock-advanced>summary::-webkit-details-marker{display:none}.clock-advanced>summary:before{content:'＋';display:inline-block;margin-right:5px;color:#d0644e}.clock-advanced[open]>summary:before{content:'−'}.clock-advanced>summary span{font-weight:500;color:#89919c;margin-left:4px}.advanced-clock-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px 12px;margin-top:12px;padding:12px;border-radius:11px;background:#f8f9fb}.advanced-clock-grid label{margin:0;font-size:.69rem}.advanced-clock-grid input,.advanced-clock-grid select{margin-top:4px}.advanced-days{grid-column:1/-1}.simple-clock-add{margin-top:18px}.simple-add-grid{display:grid;grid-template-columns:110px 1fr 1fr 1.2fr;gap:12px;margin:14px 0}.simple-add-grid label{margin:0}.simple-add-grid input,.simple-add-grid select{margin-top:5px}.add-advanced{margin:0 0 14px}.clock-management{margin-top:16px}.clock-management>summary{cursor:pointer;color:#5d6570}.clock-save-all-form{margin:10px 0 0}.clock-save-all-bar{border-radius:12px}.clock-save-all-bar span{display:block;color:#7a828c;font-size:.72rem;margin-top:2px}
@media(max-width:900px){.rule-stack-strip{grid-template-columns:1fr}.rule-stack-actions{grid-column:auto}.clock-philosophy{grid-template-columns:1fr}.clock-skeleton-row{grid-template-columns:90px 1fr}.feature-field,.notes-field{grid-column:span 1}.clock-row-actions{grid-column:1/-1}.advanced-clock-grid{grid-template-columns:1fr 1fr}.simple-add-grid{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.rule-stack-stats,.advanced-clock-grid,.simple-add-grid,.clock-skeleton-row{grid-template-columns:1fr}.time-field,.junction-field,.feature-field,.notes-field,.clock-row-actions{grid-column:auto}.clock-row-actions{justify-content:flex-start}.clock-advanced{grid-column:1}.rule-stack-actions{display:grid}.rule-stack-actions .button{width:100%}}

.inferred-rules-block{margin-top:20px;border-top:1px solid #eceff2;padding-top:18px}.inferred-rule-list{display:grid;gap:8px;margin-top:10px}.inferred-rule-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:center;border:1px solid #e5e8ec;border-radius:12px;padding:11px 12px;background:#fff}.inferred-rule-card.is-promoted{background:#fbfdfb;border-color:#d8eadc}.inferred-rule-card strong{display:block;margin:6px 0 2px}.inferred-rule-card p{margin:0;color:#596273;font-size:.8rem;line-height:1.42}.inferred-rule-card form{margin:0}@media(max-width:700px){.inferred-rule-card{grid-template-columns:1fr}}

/* v3.4 rule import choices */
.rule-import-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:14px 0 18px}.rule-import-option{border:1px solid var(--line,#e8e3df);border-radius:16px;padding:18px;background:var(--surface,#fff);display:flex;flex-direction:column;gap:12px}.rule-import-option h3{margin:7px 0 4px}.rule-import-option p{margin:0;color:var(--muted,#6f6a66)}.rule-import-option textarea{min-height:170px;resize:vertical}.subsection-label{font-size:.78rem;text-transform:uppercase;letter-spacing:.08em;font-weight:700;color:var(--muted,#6f6a66);margin:16px 0 8px}@media(max-width:760px){.rule-import-grid{grid-template-columns:1fr}}

/* v3.5 New Show Wizard + post-generation pace/tease controls */
.wizard-progress{padding:10px 12px}.wizard-steps{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px}.wizard-step{display:flex;align-items:center;gap:7px;padding:9px 10px;border:1px solid #e5e8ec;border-radius:10px;text-decoration:none;color:#697386;font-size:.72rem;font-weight:800;background:#fbfcfd}.wizard-step span{display:grid;place-items:center;width:20px;height:20px;border-radius:999px;background:#edf0f3;color:#596273}.wizard-step.active{border-color:#ef9f87;background:#fff7f3;color:#933f2c}.wizard-step.active span{background:#e36b57;color:#fff}.wizard-clock-list{display:grid;gap:8px;margin-top:14px}.wizard-clock-row{display:grid;grid-template-columns:105px minmax(150px,1fr) minmax(150px,.8fr) minmax(180px,1.2fr) auto;gap:9px;align-items:end;padding:10px;border:1px solid #e5e8ec;border-radius:11px;background:#fbfcfd}.wizard-clock-row label{margin:0}.wizard-clock-row input,.wizard-clock-row select{margin-top:5px;width:100%}.choice-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 0}.choice-cards label{display:flex;gap:9px;align-items:flex-start;border:1px solid #e4e8ee;border-radius:12px;padding:12px;background:#fff;cursor:pointer}.choice-cards label:has(input:checked){border-color:#ef9f87;background:#fff8f5}.choice-cards input{width:auto;margin-top:4px}.choice-cards span{display:grid;gap:3px}.choice-cards small{color:#6b7585;line-height:1.35}.inferred-feature-choice{display:flex!important;gap:10px!important;align-items:flex-start!important;border:1px solid #e6e9ed!important;border-radius:12px!important;padding:10px!important;background:#fbfcfd}.inferred-feature-choice>input{width:auto!important;margin-top:8px}.inferred-feature-choice>span{display:grid;gap:6px;width:100%}.inferred-feature-choice input[type=text],.inferred-feature-choice textarea{width:100%}.post-production-controls{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:flex-end;padding:10px 0;border-top:1px solid #eceff2;margin-top:10px}.inline-control{display:flex;align-items:flex-end;gap:7px;margin:0}.inline-control label{margin:0;font-size:.7rem}.inline-control select{margin-top:4px;min-width:135px}.tease-control{align-items:center}.tease-control form{margin:0}.tease-control .field-title{font-size:.7rem;font-weight:800;color:#697386;text-transform:uppercase;letter-spacing:.05em}.clock-skeleton-row{grid-template-columns:100px minmax(170px,1.2fr) minmax(170px,1fr) minmax(130px,.75fr) auto}.simple-add-grid{grid-template-columns:110px 1.2fr 1fr .8fr}
@media(max-width:900px){.wizard-steps{grid-template-columns:repeat(3,1fr)}.wizard-clock-row{grid-template-columns:100px 1fr 1fr}.wizard-clock-row label:nth-child(4){grid-column:1/-1}.choice-cards{grid-template-columns:1fr}.clock-skeleton-row{grid-template-columns:90px 1fr}.pace-field{grid-column:span 1}.simple-add-grid{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.wizard-steps{grid-template-columns:1fr 1fr}.wizard-clock-row{grid-template-columns:1fr}.wizard-clock-row label:nth-child(4){grid-column:auto}.post-production-controls,.inline-control{align-items:stretch;flex-direction:column}.clock-skeleton-row,.simple-add-grid{grid-template-columns:1fr}.pace-field{grid-column:auto}}
.inferred-bulk-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:10px 0 12px;padding:10px 12px;border:1px solid #e5e8ec;border-radius:12px;background:#fafbfc}.inferred-bulk-actions>div{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.inferred-rule-copy{display:flex;align-items:flex-start;gap:10px}.inferred-rule-select{padding-top:6px}.inferred-rule-select input{width:17px;height:17px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:700px){.inferred-bulk-actions{align-items:stretch;flex-direction:column}}

/* v3.5.2 — actionable Clock Flow Review + explicit Advanced Overrides */
.clock-skeleton-row{grid-template-columns:90px minmax(145px,.85fr) minmax(150px,.95fr) 150px minmax(190px,1.2fr) auto}
.advanced-override-switch{grid-column:1/-1;display:flex;align-items:center;gap:10px;margin:2px 0 0;padding:9px 11px;border:1px solid #e7e9ed;border-radius:11px;background:#fbfbfc;cursor:pointer}
.advanced-override-switch input{width:auto;margin:0;accent-color:#d0644e}
.advanced-override-switch>span{display:flex;flex-direction:column;gap:1px;flex:1}
.advanced-override-switch strong{font-size:.74rem;color:#414956}
.advanced-override-switch small{font-size:.66rem;color:#858e99;line-height:1.35}
.advanced-override-switch>b,.advanced-badge{display:inline-flex;align-items:center;border-radius:999px;background:#fff0ec;color:#a94733;border:1px solid #f2c9bf;padding:3px 7px;font-size:.61rem;font-style:normal;font-weight:900;letter-spacing:.045em;text-transform:uppercase}
.clock-advanced.advanced-off{opacity:.68}
.clock-advanced.advanced-off .advanced-clock-grid{background:#fafafa}
.clock-advanced.advanced-on{opacity:1}
.add-switch{margin:4px 0 8px}
.clock-review-card{display:grid;gap:14px}
.clock-review-toolbar{display:flex;gap:7px;flex-wrap:wrap;align-items:center;margin:4px 0 10px}
.clock-review-proposals{display:grid;gap:8px}
.clock-review-proposal{display:grid;grid-template-columns:auto 1fr;gap:10px;align-items:start;margin:0;padding:11px 12px;border:1px solid #e5e8ed;border-radius:12px;background:#fff;cursor:pointer}
.clock-review-proposal:has(input:checked){border-color:#ebb5a7;background:#fffaf8;box-shadow:0 0 0 2px rgba(208,100,78,.08)}
.clock-review-proposal>input{width:auto;margin:3px 0 0;accent-color:#d0644e}
.proposal-copy{display:flex;flex-wrap:wrap;gap:5px 7px;align-items:center}
.proposal-copy strong,.proposal-copy small{width:100%;display:block}
.proposal-copy strong{font-size:.82rem;color:#303845}
.proposal-copy small{font-size:.71rem;color:#6f7885;line-height:1.45}
.proposal-copy em{font-size:.63rem;font-style:normal;border-radius:999px;padding:3px 7px;background:#f2f4f7;color:#566170}
.proposal-meta{width:100%;font-size:.59rem;font-weight:900;letter-spacing:.06em;color:#8b94a0;text-transform:uppercase}
.clock-review-preview{padding:12px;border:1px solid #d9e4dd;border-radius:12px;background:#f7fbf8}
.clock-review-preview p{margin:.35rem 0;color:#52605a;font-size:.74rem;line-height:1.45}
.clock-review-preview small{display:block;color:#7c867f;margin-bottom:10px}
@media(max-width:760px){.clock-skeleton-row{grid-template-columns:90px 1fr 1fr}.notes-field{grid-column:1/-1}.clock-row-actions{grid-column:1/-1}.advanced-override-switch{grid-column:1/-1}}
@media(max-width:600px){.advanced-override-switch{grid-column:1}.clock-review-toolbar{display:grid;grid-template-columns:1fr 1fr}.clock-review-toolbar .button,.clock-review-toolbar .smallbutton,.clock-review-toolbar .textbutton{width:100%}}
.schedule-suggestion{display:inline-block!important;margin-top:4px;padding:3px 7px;border-radius:999px;background:#fff3ee;color:#9b4e3a;font-size:.65rem!important;font-weight:800}

/* v3.7 — modular workspace UI */
.mainnav{margin-left:auto}
.modulebar{position:sticky;top:72px;z-index:45;background:rgba(246,247,249,.96);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.modulebar-inner{max-width:920px;margin:0 auto;padding:8px 20px;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px}
.modulebar a{display:flex;align-items:center;justify-content:center;gap:5px;min-width:0;padding:8px 9px;border-radius:10px;text-decoration:none;color:#667085;border:1px solid transparent}
.modulebar a span{font-size:12px;font-weight:800;white-space:nowrap}.modulebar a small{font-size:9px;color:#98a2b3;white-space:nowrap}
.modulebar a:hover{background:#fff;border-color:#e5e8ed}.modulebar a.active{background:#fff;border-color:#e0e4ea;color:#202630;box-shadow:0 1px 3px rgba(20,30,45,.05)}.modulebar a.active small{color:#d0644e}
.modular-workspace{display:grid;gap:16px}.modular-workspace>.pagehead{margin-bottom:0}
.module-summary-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.module-stat{padding:13px 14px;border:1px solid var(--line);border-radius:14px;background:#fff;display:flex;align-items:baseline;gap:8px}.module-stat strong{font:700 1.35rem Space Grotesk,Inter,sans-serif}.module-stat span{font-size:11px;color:#737d8b}
.module-explainer{padding:12px 14px;border:1px solid #e7eaee;border-radius:12px;background:#fbfcfd;display:flex;gap:8px;align-items:baseline}.module-explainer strong{font-size:12px;white-space:nowrap}.module-explainer span{font-size:11px;color:#697386}
.section-title-row{display:flex;align-items:end;justify-content:space-between;gap:16px}.section-title-row h2{margin:2px 0 0}.modular-section{display:grid;gap:12px}
.feature-summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.feature-summary-card{padding:0;overflow:hidden}.feature-summary-card>summary{list-style:none;cursor:pointer;padding:15px 16px;display:flex;justify-content:space-between;gap:12px;align-items:center}.feature-summary-card>summary::-webkit-details-marker{display:none}.feature-summary-card>summary:after{content:'＋';font-weight:800;color:#9aa2ad}.feature-summary-card[open]>summary:after{content:'−'}.feature-summary-card[open]>summary{border-bottom:1px solid var(--line)}.feature-summary-main{display:grid;gap:3px;min-width:0;flex:1}.feature-summary-main strong{font:700 17px Space Grotesk,Inter,sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.feature-summary-main span{font-size:11px;color:#697386}.feature-summary-meta{display:flex;gap:6px;align-items:center;flex-wrap:wrap;justify-content:flex-end;font-size:10px;color:#7d8692}.feature-summary-card.is-disabled{opacity:.65}.feature-edit-form{padding:16px;display:grid;gap:13px}.feature-edit-primary{display:grid;grid-template-columns:1.2fr 1fr .7fr .7fr 1fr 1fr;gap:9px;align-items:end}.feature-edit-primary label{font-size:11px}.feature-active-check{align-self:end;min-height:43px;padding:10px;border:1px solid var(--line);border-radius:10px;background:#fafbfc}.feature-subsection{border:1px solid #e7e9ed;border-radius:11px;padding:0 11px;background:#fafbfc}.feature-subsection>summary{cursor:pointer;padding:10px 0;font-size:11px;font-weight:800;color:#566171}.feature-subsection[open]{padding-bottom:11px}.compact-fields{margin-top:3px}.feature-card-actions{display:flex;gap:8px;align-items:center}.feature-delete{padding:0 16px 12px;margin:0}.mutedpill{display:inline-flex;padding:4px 7px;border-radius:999px;background:#f0f2f5;color:#7b8490;font-size:9px;font-weight:800;text-transform:uppercase}
.module-modal{width:min(760px,94vw);max-height:90vh;border:0;border-radius:20px;padding:0;box-shadow:0 25px 80px rgba(15,23,42,.25)}.module-modal::backdrop{background:rgba(17,24,39,.46);backdrop-filter:blur(3px)}.module-modal-shell{padding:22px;overflow:auto;max-height:90vh}

/* Leaner clock rows */
.clock-skeleton-row{grid-template-columns:88px minmax(170px,1.35fr) minmax(160px,1fr) 128px auto;gap:9px;padding:11px 12px;align-items:end}.clock-row-more{grid-column:1/-1;margin-top:0;border-top:1px solid #edf0f3;padding-top:7px}.clock-row-more>summary{cursor:pointer;list-style:none;display:flex;gap:6px;align-items:center;font-size:11px;color:#687282}.clock-row-more>summary::-webkit-details-marker{display:none}.clock-row-more>summary:before{content:'＋';color:#d0644e;font-weight:900}.clock-row-more[open]>summary:before{content:'−'}.clock-row-more>summary span{font-size:10px;color:#939ba6}.clock-more-body{display:grid;gap:11px;padding-top:11px}.clock-more-body .clock-notes-inside{margin:0}.compact-switch{grid-column:auto;margin:0}.clock-advanced-module{display:grid;gap:7px}.clock-row-more.advanced-off .advanced-clock-grid{display:none}.clock-row-more.advanced-on .advanced-clock-grid{display:grid}.float-feature-convert{padding:12px;border:1px solid #dce6df;border-radius:12px;background:#f8fcf9;display:grid;gap:10px}.float-feature-convert p{margin:3px 0 0;font-size:11px}.float-feature-form{display:grid;grid-template-columns:1.2fr 1fr 1fr .65fr auto;gap:8px;align-items:end}.float-feature-form label{font-size:10px}.float-feature-form input,.float-feature-form select{padding:8px 9px}.float-feature-form button{height:39px}.simple-clock-add .clock-row-more{margin:4px 0 12px}.simple-clock-add .advanced-clock-grid{margin-top:3px}

/* Modular show settings */
.settings-form{display:grid;gap:10px}.settings-primary{display:grid;gap:12px}.settings-module{padding:0;overflow:hidden}.settings-module>summary{list-style:none;cursor:pointer;padding:15px 17px;display:flex;align-items:center;justify-content:space-between;gap:14px}.settings-module>summary::-webkit-details-marker{display:none}.settings-module>summary>div{display:grid;gap:2px}.settings-module>summary strong{font:700 16px Space Grotesk,Inter,sans-serif}.settings-module>summary span{font-size:11px;color:#788290}.settings-module>summary>b{font-size:9px;text-transform:uppercase;letter-spacing:.08em;color:#a0a7b1}.settings-module>summary:after{content:'＋';font-size:15px;color:#9ba3ad}.settings-module[open]>summary:after{content:'−'}.settings-module[open]>summary{border-bottom:1px solid var(--line)}.settings-module-body{padding:16px 17px}.settings-module .audience-profile-grid{margin:0}.module-action-row{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.settings-savebar{position:sticky;bottom:10px;z-index:20;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:11px 14px;border:1px solid #e2e5e9;border-radius:14px;background:rgba(255,255,255,.94);backdrop-filter:blur(10px);box-shadow:0 8px 30px rgba(20,30,45,.10)}.settings-savebar>div{display:grid}.settings-savebar span{font-size:10px;color:#7b8490}.maintenance-module{margin-top:12px}.danger-inline{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:16px;padding-top:14px;border-top:1px solid #efe1df}.danger-inline>div{display:grid}.danger-inline span{font-size:11px;color:#7b8490}
.show-card-footer{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-top:20px;padding-top:16px;border-top:1px solid var(--line);font-size:11px;color:#7a8491}

@media(max-width:900px){
  .modulebar-inner{overflow-x:auto;display:flex}.modulebar a{min-width:92px;flex:0 0 auto}.modulebar a small{display:none}
  .feature-summary-grid{grid-template-columns:1fr}.feature-edit-primary{grid-template-columns:1fr 1fr 1fr}.clock-skeleton-row{grid-template-columns:82px 1fr 1fr}.pace-field{grid-column:auto}.clock-row-actions{grid-column:1/-1}.float-feature-form{grid-template-columns:1fr 1fr}.float-feature-form button{grid-column:1/-1}.section-title-row{align-items:flex-start;flex-direction:column}
}
@media(max-width:600px){
  .modulebar{top:72px}.modulebar-inner{padding:7px 12px}.module-summary-grid{grid-template-columns:1fr}.module-explainer{align-items:flex-start;flex-direction:column}.feature-edit-primary,.clock-skeleton-row,.float-feature-form{grid-template-columns:1fr}.clock-row-actions{grid-column:auto}.clock-row-more{grid-column:1}.settings-module>summary{padding:14px}.settings-module-body{padding:14px}.settings-savebar{align-items:stretch;flex-direction:column}.settings-savebar .primary{width:100%}.danger-inline,.show-card-footer{align-items:stretch;flex-direction:column}.feature-summary-card>summary{align-items:flex-start}.feature-summary-meta{justify-content:flex-start}
}


/* v3.8 compact / modal-first UI */
.modulebar-inner{padding-top:6px;padding-bottom:6px;gap:5px}
.modulebar a{padding:7px 10px}
.modulebar a span{font-size:12px}
.compact-pagehead{align-items:center;margin-bottom:14px}
.compact-pagehead h1{margin:1px 0 0}
.compact-pagehead .heroactions{gap:7px}
.compact-pagehead .heroactions .button,.compact-pagehead .heroactions button{min-height:36px;padding-top:8px;padding-bottom:8px}
.compact-help-module{padding:0!important;overflow:hidden;margin:0 0 12px}
.compact-help-module>summary,.compact-review-module>summary{list-style:none;cursor:pointer;padding:12px 14px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.compact-help-module>summary::-webkit-details-marker,.compact-review-module>summary::-webkit-details-marker{display:none}
.compact-help-module>summary>div,.compact-review-module>summary>div{display:grid;gap:1px;min-width:0}
.compact-help-module>summary strong,.compact-review-module>summary strong{font:700 14px Space Grotesk,Inter,sans-serif}
.compact-help-module>summary span,.compact-review-module>summary span{font-size:10px;color:#7b8490;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.compact-help-module>summary>b,.compact-review-module>summary>b{font-size:9px;text-transform:uppercase;letter-spacing:.08em;color:#9aa2ad}
.compact-help-module>summary:after,.compact-review-module>summary:after{content:'＋';font-weight:900;color:#9da5af}
.compact-help-module[open]>summary:after,.compact-review-module[open]>summary:after{content:'−'}
.compact-help-module[open]>summary,.compact-review-module[open]>summary{border-bottom:1px solid var(--line)}
.compact-help-body,.clock-review-body{padding:13px 14px 14px}
.compact-help-body p{margin:0;color:#606b79;font-size:12px;line-height:1.55}
.compact-rule-links{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}
.compact-rule-links a{font-size:10px;font-weight:750;text-decoration:none;border:1px solid var(--line);border-radius:999px;padding:5px 8px;color:#596574;background:#fff}
.compact-statline{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:-3px 0 3px}
.compact-statline span{display:inline-flex;gap:4px;align-items:baseline;border:1px solid #e6e9ed;border-radius:999px;padding:5px 9px;background:#fff;font-size:10px;color:#76808d}
.compact-statline strong{font-size:12px;color:#29313d}
.compact-section-title{margin-bottom:9px}
.feature-compact-grid{display:grid;gap:8px}
.feature-compact-card{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:10px;align-items:center;padding:12px 14px}
.feature-compact-card.is-disabled{opacity:.62}
.feature-compact-main{display:grid;gap:2px;min-width:0}
.feature-compact-main strong{font:700 15px Space Grotesk,Inter,sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.feature-compact-main span{font-size:10px;color:#7a8491;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.feature-compact-meta{display:flex;gap:6px;align-items:center}
.feature-compact-actions{display:flex;align-items:center}
.feature-editor-modal .module-modal-shell{padding:0}
.modal-inner-form{padding:18px 20px 22px;overflow:auto}
.modal-delete-row{padding:0 20px 18px;border-top:1px solid #eef0f3;margin-top:-6px;padding-top:12px}
.inline-copy-preview{margin-top:8px;border-top:1px solid #eef0f3;padding-top:7px}
.inline-copy-preview>summary{cursor:pointer;list-style:none;font-size:10px;font-weight:800;color:#6b7582}
.inline-copy-preview>summary::-webkit-details-marker{display:none}
.inline-copy-preview>summary:before{content:'＋';margin-right:5px;color:#d0644e;font-weight:900}
.inline-copy-preview[open]>summary:before{content:'−'}
.inline-copy-preview .must-copy-preview{margin-top:8px;max-height:260px;overflow:auto}
.must-list-card{padding:16px}
.must-list-head{margin-bottom:10px;align-items:center}
.must-list-first .must-row{padding:12px 13px;gap:12px}
.must-summary-grid{margin:7px 0 4px}
.must-title{gap:5px}
.clock-review-card{padding:0!important;overflow:hidden}
.clock-review-body>.pagehead{display:none}
.compact-status-card{display:flex;align-items:center;gap:8px;border:1px solid var(--line);background:#fff;border-radius:12px;padding:11px 13px;margin-bottom:10px}
.compact-status-card strong{font-size:13px}.compact-status-card span{font-size:11px;color:#7a8491}
.simple-clock-workspace>.clock-skeleton-list{margin-top:10px}
.clock-skeleton-row{padding-top:9px;padding-bottom:9px}
.clock-management{margin-top:10px}
.module-modal{overscroll-behavior:contain}
@media(max-width:720px){
  .modulebar-inner{padding-top:5px;padding-bottom:5px}
  .modulebar a{min-width:auto;padding:7px 9px}
  .compact-pagehead{gap:10px}
  .feature-compact-card{grid-template-columns:minmax(0,1fr) auto}
  .feature-compact-meta{grid-column:1;justify-self:start}
  .feature-compact-actions{grid-column:2;grid-row:1 / span 2}
  .compact-help-module>summary span,.compact-review-module>summary span{white-space:normal}
}

/* v3.9 Feature Link Plans + anywhere Current Copy */
.wide-modal-shell{width:min(900px,94vw)}
.feature-link-plan{border-top:1px solid #e9edf1;padding:18px 20px 20px;background:#fbfcfd;display:grid;gap:10px}
.feature-link-plan-head{display:flex;justify-content:space-between;gap:12px}.feature-link-plan-head>div{display:grid;gap:2px}.feature-link-plan-head p{margin:2px 0 0;font-size:11px;color:#6f7885;line-height:1.45}
.feature-stage-list{display:grid;gap:7px}.feature-stage-row,.feature-add-stage{border:1px solid #e4e8ed;border-radius:12px;background:#fff;overflow:hidden}
.feature-stage-row>summary,.feature-add-stage>summary{list-style:none;cursor:pointer;padding:10px 12px;display:grid;grid-template-columns:auto minmax(110px,.7fr) minmax(150px,1.4fr) auto;gap:8px;align-items:center}.feature-stage-row>summary::-webkit-details-marker,.feature-add-stage>summary::-webkit-details-marker{display:none}.feature-stage-row>summary span:not(.stage-number),.feature-add-stage>summary span{font-size:10px;color:#77818e}.feature-stage-row>summary>b{font-size:9px;color:#89929e}.stage-number{width:24px;height:24px;border-radius:50%;display:inline-grid;place-items:center;background:#f2f4f7;font-size:10px;font-weight:900;color:#4f5b69}
.feature-stage-edit,.feature-add-stage form{border-top:1px solid #edf0f3;padding:12px;display:grid;gap:10px}.stage-grid{display:grid;grid-template-columns:70px 1fr 1fr 1fr;gap:8px}.stage-actions{display:flex;justify-content:flex-end}.inline-delete{padding:0 12px 10px;text-align:right}.feature-delete-form{padding:12px 20px 18px;border-top:1px solid #e9edf1}.feature-add-stage>summary{grid-template-columns:1fr auto}
.clock-stage-reservations{grid-column:1/-1;display:flex;gap:6px;flex-wrap:wrap;margin-top:-2px}.feature-stage-badge{display:inline-flex;align-items:center;border-radius:999px;background:#eef6ff;border:1px solid #d5e7fb;color:#315e88;padding:4px 8px;font-size:9px;font-weight:850;letter-spacing:.02em}
@media(max-width:760px){.stage-grid{grid-template-columns:1fr 1fr}.feature-stage-row>summary{grid-template-columns:auto 1fr}.feature-stage-row>summary>b{grid-column:2}.wide-modal-shell{width:auto}}

/* v4.0 Consumer product UI + simple clock language */
:root{
  --paper:#f4f5f7;
  --card:#fff;
  --ink:#17191d;
  --ink-soft:#4e5662;
  --muted:#747d89;
  --line:#e5e7eb;
  --accent:#ef5b42;
  --accent-dark:#d94730;
  --accent-soft:#fff1ed;
  --radius:16px;
  --shadow:0 10px 28px rgba(18,25,38,.055);
}
body{background:linear-gradient(180deg,#f8f8f9 0,#f4f5f7 220px,#f4f5f7 100%);font-size:14px;color:var(--ink)}
.topbar{height:64px;padding:0 max(20px,calc((100vw - 1100px)/2));border-bottom:1px solid rgba(19,25,35,.075);box-shadow:0 1px 0 rgba(255,255,255,.8);background:rgba(255,255,255,.94);backdrop-filter:blur(14px);gap:18px}
.brand{display:inline-flex;align-items:center;gap:9px;font-size:18px;letter-spacing:-.45px;color:var(--ink)}
.brand>span{color:inherit}
.brand-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:linear-gradient(145deg,#ff745d,#ea4932);color:#fff!important;font:800 11px/1 Inter,sans-serif;letter-spacing:.05em;box-shadow:0 5px 14px rgba(239,91,66,.22)}
.brand-name{font-family:Space Grotesk,Inter,sans-serif;font-weight:750}.brand-name>span{color:var(--accent)}
.mainnav{gap:3px!important}.mainnav a{font-size:13px!important;padding:8px 11px!important;border-radius:10px!important;color:#626b77!important}
.mainnav a:hover{background:#f4f5f7!important;color:#1d222a!important}
.mainnav .nav-new-show{background:#1f242c!important;color:#fff!important;padding:8px 12px!important}.mainnav .nav-new-show:hover{background:#101318!important;color:#fff!important}
.mainnav .nav-new-show b{font-size:16px;line-height:.8}.mainnav .nav-account{color:#8a929d!important}
.modulebar{position:sticky;top:64px;z-index:42;background:rgba(244,245,247,.9);backdrop-filter:blur(12px);border-bottom:0;padding:10px 0 0}
.modulebar-inner{max-width:1100px;margin:0 auto;width:calc(100% - 40px);padding:4px!important;display:flex;gap:2px!important;border:1px solid #e3e5e8;border-radius:13px;background:#fff;box-shadow:0 2px 8px rgba(21,27,38,.035);overflow-x:auto}
.modulebar a{flex:0 0 auto;border-radius:9px!important;padding:8px 13px!important;color:#737b86!important;text-decoration:none;font-size:12px!important;font-weight:700!important;border:0!important;background:transparent!important}
.modulebar a:hover{background:#f5f6f7!important;color:#272c34!important}.modulebar a.active{background:#242930!important;color:#fff!important;box-shadow:0 2px 6px rgba(18,22,29,.14)}
.shell{max-width:1100px;padding:26px 20px 72px}
footer{opacity:.72}
h1{font-size:36px;line-height:1.05;letter-spacing:-1.35px}h2{font-size:22px;letter-spacing:-.45px}.eyebrow{font-size:10px;letter-spacing:1.25px;margin-bottom:7px}
.pagehead{margin-bottom:20px}.pagehead p{font-size:13px;line-height:1.45;max-width:650px}.compact-pagehead{margin-bottom:14px!important}
.card{border-radius:16px;border-color:#e4e6ea;box-shadow:0 2px 4px rgba(20,27,39,.02),0 12px 30px rgba(20,27,39,.035);padding:18px}
input,select,textarea{border-radius:10px;border-color:#dfe2e7;background:#fff;padding:10px 11px;font-size:13px;box-shadow:0 1px 1px rgba(16,24,40,.015)}
input:hover,select:hover,textarea:hover{border-color:#cfd4da}input:focus,select:focus,textarea:focus{border-color:#ef806c;box-shadow:0 0 0 3px rgba(239,91,66,.105)}
button,.button{border-radius:10px;padding:9px 13px;font-size:12px;box-shadow:none}.primary{box-shadow:0 5px 12px rgba(239,91,66,.14)}.primary-soft{background:var(--accent-soft)!important;border-color:#ffd8ce!important;color:#b34531!important}
.smallbutton{border-radius:9px!important}.textbutton{font-size:11px}
.flash{border-radius:12px}

/* Product builder */
.product-workspace{max-width:1020px;margin:0 auto}.product-pagehead{align-items:center}.product-pagehead h1{margin-bottom:5px}
.product-builder{padding:0;overflow:hidden}.builder-step{padding:22px 24px}.builder-step+.builder-step{border-top:1px solid #eceef1}
.builder-step-title{display:flex;gap:12px;align-items:flex-start;margin-bottom:17px}.builder-step-title>span{display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px;border-radius:9px;background:#20252c;color:#fff;font-size:11px;font-weight:800}.builder-step-title h2{margin:1px 0 2px;font-size:17px}.builder-step-title p{margin:0;font-size:11px;color:#828a95}
.builder-control-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:11px}.builder-control-grid label{gap:5px;font-size:11px;color:#68717d}.builder-control-grid select{margin:0}
.product-chips{display:flex;flex-wrap:wrap;gap:7px}.builder-chip{display:inline-flex;position:relative}.builder-chip input{position:absolute;opacity:0;pointer-events:none}.builder-chip span{display:inline-flex;align-items:center;min-height:36px;padding:8px 12px;border-radius:999px;border:1px solid #dfe3e7;background:#fff;color:#58616d;font-size:11px;font-weight:750;cursor:pointer;transition:.14s ease}.builder-chip span:hover{border-color:#c9ced5;background:#fafafa}.builder-chip input:checked+span{background:#242930;border-color:#242930;color:#fff;box-shadow:0 3px 8px rgba(18,22,29,.12)}
.builder-more{border-top:1px solid #eceef1}.builder-more>summary{list-style:none;display:flex;justify-content:space-between;align-items:center;padding:14px 24px;cursor:pointer;color:#5c6571;font-size:12px}.builder-more>summary::-webkit-details-marker{display:none}.builder-more>summary span{font-size:10px;color:#969da7}.builder-more>summary:after{content:'＋';margin-left:10px;color:#9aa1ab;font-weight:900}.builder-more[open]>summary:after{content:'−'}.builder-more-body{border-top:1px solid #f0f1f3;padding:18px 24px;background:#fbfbfc}.builder-create{width:auto!important;margin:18px 24px 22px;padding:11px 19px;font-size:13px}
.builder-result-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:10px;padding:16px 18px}.builder-result-head h2{margin:0 0 3px}.builder-result-head p{margin:0;font-size:12px}.builder-result-head details{max-width:380px}.builder-result-head summary{font-size:11px;font-weight:750;cursor:pointer}.builder-result-head details p{padding-top:6px;font-size:11px}
.builder-review{padding:0;overflow:hidden}.builder-review-table-wrap{overflow:auto}.simple-builder-table{width:100%;min-width:720px;border-collapse:collapse}.simple-builder-table th{padding:9px 12px;background:#fafbfc;border-bottom:1px solid #e9ebee;color:#838b96;text-transform:uppercase;letter-spacing:.05em;font-size:9px;text-align:left}.simple-builder-table td{padding:8px 10px;border-bottom:1px solid #f0f1f3;vertical-align:middle}.simple-builder-table tr:last-child td{border-bottom:0}.simple-builder-table input,.simple-builder-table select{padding:8px 9px;font-size:12px}.simple-builder-table td:first-child,.simple-builder-table th:first-child{width:48px;text-align:center}.simple-builder-table td:first-child input{width:auto}.builder-apply-actions{display:flex;gap:8px;align-items:center;padding:13px 16px;border-top:1px solid #e9ebee;background:#fbfbfc}.builder-regenerate{display:flex;justify-content:flex-end;margin-top:10px}

/* Show clock: product skeleton */
.simple-clock-workspace{max-width:1080px}.clock-skeleton-list{gap:7px;margin:10px 0}.clock-skeleton-row{grid-template-columns:82px minmax(135px,.85fr) minmax(165px,1.05fr) minmax(155px,1fr) 118px auto!important;gap:8px!important;padding:10px 11px!important;border-radius:13px!important;box-shadow:0 1px 2px rgba(20,27,39,.02)!important}.clock-field>span{margin-bottom:4px;font-size:9px;letter-spacing:.06em;color:#848c97}.clock-field input,.clock-field select{padding:8px 9px;font-size:12px}.clock-row-actions{padding-bottom:0}.clock-row-actions .smallbutton{padding:8px 10px}.clock-row-actions .textbutton{padding:7px 5px}.clock-stage-reservations{margin-top:0}.feature-stage-badge{background:#f0f6ff;border-color:#d8e7fb;color:#38628b}.clock-row-more{padding-top:5px!important}.clock-row-more>summary{font-size:10px!important}.clock-more-body{padding-top:9px!important}.float-feature-convert{border-radius:10px;padding:11px}.clock-management{box-shadow:none!important;background:transparent!important;border-style:dashed!important}.compact-help-module{box-shadow:none!important}.compact-help-module>summary{padding:10px 12px!important}.compact-help-module>summary strong{font-size:12px!important}
.simple-add-grid{grid-template-columns:90px 1fr 1.15fr 1fr 110px!important;gap:9px!important}.module-modal::backdrop{background:rgba(16,20,27,.38);backdrop-filter:blur(3px)}.module-modal-shell{border-radius:18px!important;box-shadow:0 28px 80px rgba(10,15,24,.22)!important;border:1px solid rgba(255,255,255,.7)!important}

/* Consumer cards across modules */
.feature-compact-card,.must-list-card,.compact-status-card{border-radius:14px!important;box-shadow:0 2px 6px rgba(20,27,39,.025)!important}.feature-compact-main strong{font-size:14px!important}.feature-compact-main span{font-size:10px!important}.feature-compact-grid{gap:7px!important}.feature-link-plan{background:#fafbfc!important}.settings-module{border-radius:14px!important;overflow:hidden}.settings-module>summary{background:#fff}.module-modal .eyebrow{margin-bottom:5px}.modal-inner-form{padding:17px 20px 20px!important}

/* Give technical controls a quieter visual weight */
.advanced-clock-grid,.builder-more-body,.feature-link-plan{color:#5f6874}.advanced-clock-grid{background:#f8f9fa!important}.advanced-override-switch b{font-size:9px}.clock-management,.compact-help-module,.compact-review-module{color:#67707c}

@media(max-width:980px){
  .builder-control-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .clock-skeleton-row{grid-template-columns:82px 1fr 1fr!important}.feature-field{grid-column:auto}.pace-field{grid-column:auto}.clock-row-actions{grid-column:1/-1}
  .simple-add-grid{grid-template-columns:1fr 1fr!important}
}
@media(max-width:720px){
  .topbar{height:58px;padding:0 12px}.brand-name{display:none}.brand-icon{width:32px;height:32px}.mainnav{max-width:calc(100vw - 65px)!important}.mainnav a:first-child{display:none}.mainnav .nav-account{display:none}.mainnav .nav-new-show{display:inline-flex!important}
  .modulebar{top:58px;padding-top:7px}.modulebar-inner{width:calc(100% - 20px);padding:3px!important}.modulebar a{padding:7px 10px!important}
  .shell{padding:20px 12px 56px}h1{font-size:30px}.pagehead{align-items:flex-start;flex-direction:column;gap:10px}.pagehead .heroactions{width:100%}
  .builder-step{padding:18px}.builder-control-grid{grid-template-columns:1fr 1fr}.builder-more>summary{padding:13px 18px}.builder-more-body{padding:16px 18px}.builder-create{margin:15px 18px 18px;width:calc(100% - 36px)!important}.builder-result-head{align-items:flex-start;flex-direction:column}.builder-apply-actions{flex-wrap:wrap}
  .clock-skeleton-row{grid-template-columns:1fr 1fr!important}.time-field{grid-column:auto}.label-field,.feature-field{grid-column:1/-1}.clock-row-actions{grid-column:1/-1}.clock-row-more{grid-column:1/-1!important}.simple-add-grid{grid-template-columns:1fr!important}
}
@media(max-width:480px){.builder-control-grid{grid-template-columns:1fr}.modulebar a{font-size:11px!important;padding:7px 9px!important}.heroactions .button,.heroactions button{flex:1}.clock-skeleton-row{grid-template-columns:1fr!important}.label-field,.feature-field,.clock-row-actions,.clock-row-more{grid-column:auto!important}}
/* v4 wizard clock uses the same four-field clock model */
.wizard-clock-row{grid-template-columns:88px minmax(145px,.9fr) minmax(175px,1.1fr) 128px auto!important;gap:9px!important;padding:10px 11px!important;border-radius:12px!important;background:#fff!important}
.wizard-clock-row label{font-size:10px!important;color:#7d8692!important}.wizard-clock-row input,.wizard-clock-row select{padding:8px 9px!important;font-size:12px!important}.wizard-clock-row button{align-self:end;margin-bottom:2px}
@media(max-width:760px){.wizard-clock-row{grid-template-columns:1fr 1fr!important}.wizard-clock-row label:nth-child(3){grid-column:1/-1}.wizard-clock-row button{grid-column:1/-1;justify-self:start}}
@media(max-width:480px){.wizard-clock-row{grid-template-columns:1fr!important}.wizard-clock-row label:nth-child(3),.wizard-clock-row button{grid-column:auto}}
@media(max-width:900px) and (min-width:721px){.topbar nav a{display:inline-flex!important}.wizard-clock-row{grid-template-columns:82px minmax(130px,.9fr) minmax(160px,1.1fr) 115px auto!important}.wizard-clock-row label:nth-child(4){grid-column:auto!important}}

/* v4.1 — clock is a timed-slot surface: Time · Link Type · Optional Label */
.clock-skeleton-row{grid-template-columns:82px minmax(180px,.95fr) minmax(230px,1.35fr) auto!important}
.simple-add-grid{grid-template-columns:100px minmax(180px,1fr) minmax(240px,1.35fr)!important}
.wizard-clock-row{grid-template-columns:88px minmax(170px,.9fr) minmax(230px,1.25fr) auto!important}
.simple-builder-table{min-width:620px}
.builder-link-extras{margin-top:10px;border:0;background:transparent}.builder-link-extras>summary{cursor:pointer;color:#697386;font-size:11px;font-weight:800;list-style:none;display:inline-flex;align-items:center;gap:5px}.builder-link-extras>summary:before{content:'＋';color:#d0644e}.builder-link-extras[open]>summary:before{content:'−'}.secondary-chips{margin-top:8px;opacity:.92}
@media(max-width:760px){.clock-skeleton-row,.wizard-clock-row{grid-template-columns:82px 1fr!important}.label-field,.wizard-clock-row label:nth-child(3){grid-column:1/-1!important}.clock-row-actions,.wizard-clock-row button{grid-column:1/-1!important}.simple-add-grid{grid-template-columns:1fr 1fr!important}.simple-add-grid label:nth-child(3){grid-column:1/-1}}
@media(max-width:480px){.clock-skeleton-row,.wizard-clock-row,.simple-add-grid{grid-template-columns:1fr!important}.label-field,.wizard-clock-row label:nth-child(3),.clock-row-actions,.wizard-clock-row button,.simple-add-grid label:nth-child(3){grid-column:auto!important}}

/* v4.2 consumer content library + production hub */
.production-hub{max-width:1100px;margin:0 auto}.production-tool-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:18px 0}.production-tool-card{display:grid;grid-template-columns:auto 1fr;gap:13px;align-items:start;padding:18px!important}.production-tool-card h2{font-size:1rem;margin:1px 0 5px}.production-tool-card p{margin:0;color:#6d7480;font-size:.83rem;line-height:1.45}.tool-icon{width:36px;height:36px;border-radius:11px;background:#f1f3f5;display:grid;place-items:center;font-size:18px;font-weight:800;color:#343a43}.tool-card-foot{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;padding-top:12px;border-top:1px solid #eceef1;color:#7b828c;font-size:.75rem}.compact-date-control{display:flex;align-items:end;gap:8px}.compact-date-control label{margin:0}.compact-date-control label span{display:block;font-size:.68rem;font-weight:800;color:#7b8490;text-transform:uppercase;letter-spacing:.05em;margin-bottom:4px}.production-modal .production-list{margin-top:14px}.production-modal .production-record{background:#fafbfc}.production-modal .modal-inner-form>form+*{margin-top:16px}
.clock-label-importer{margin:14px 0;padding:16px!important}.clock-label-candidate-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px}.clock-label-candidate{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 11px;border:1px solid #e7e9ed;border-radius:11px;background:#fafbfc}.clock-label-candidate>span{display:grid;gap:2px}.clock-label-candidate strong{font-size:.82rem}.clock-label-candidate small{font-size:.68rem;color:#818996}.clock-label-candidate .inline-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.clock-label-candidate .inline-actions form{margin:0}.lean-advanced-clock-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.feature-compact-meta{flex-wrap:wrap}
@media(max-width:760px){.production-tool-grid,.clock-label-candidate-grid,.lean-advanced-clock-grid{grid-template-columns:1fr!important}.compact-date-control{width:100%}.compact-date-control label{flex:1}.production-tool-card{padding:15px!important}}

/* v4.2.2 — explicit Fixed / Floating clock behaviour */
.clock-skeleton-row{grid-template-columns:82px minmax(160px,.95fr) 116px minmax(210px,1.25fr) auto!important}
.simple-add-grid{grid-template-columns:100px minmax(170px,1fr) 120px minmax(220px,1.3fr)!important}
.wizard-clock-row{grid-template-columns:88px minmax(155px,.9fr) 116px minmax(210px,1.2fr) auto!important}
.simple-builder-table{min-width:760px}
@media(max-width:760px){
  .clock-skeleton-row,.wizard-clock-row{grid-template-columns:82px 1fr 120px!important}
  .label-field,.wizard-clock-row label:nth-child(4){grid-column:1/-1!important}
  .clock-row-actions,.wizard-clock-row button{grid-column:1/-1!important}
  .simple-add-grid{grid-template-columns:1fr 1fr!important}
  .simple-add-grid label:nth-child(4){grid-column:1/-1}
}
@media(max-width:480px){
  .clock-skeleton-row,.wizard-clock-row,.simple-add-grid{grid-template-columns:1fr!important}
  .label-field,.wizard-clock-row label:nth-child(4),.clock-row-actions,.wizard-clock-row button,.simple-add-grid label:nth-child(4){grid-column:auto!important}
}

/* v4.2.4 Current Copy upload preview + Hybrid review state */
.needs-lock-pill{background:#fff2cc!important;border-color:#e7c96a!important;color:#765400!important;font-weight:800}
.uploaded-source-line{margin:8px 0 10px;padding:8px 10px;border-radius:9px;background:#f7f8fa;color:#475467;font-size:12px}
.upload-copy-preview{margin:12px 0 4px;padding:14px;border:1px solid #dfe5ec;border-radius:14px;background:#fbfcfe}
.upload-copy-preview.hidden{display:none}
.upload-copy-preview-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:10px}
.upload-copy-preview textarea{width:100%;min-height:190px;font-family:inherit;line-height:1.45}
@media(max-width:760px){.upload-copy-preview-head{display:grid}.upload-copy-preview-head .hybrid-actions{justify-content:flex-start;flex-wrap:wrap}}

/* v4.2.5 date-specific Feature read rules */
.feature-date-rules{background:#fff!important}
.feature-date-rule{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;overflow:visible}
.feature-date-rule-copy{display:grid;gap:2px;min-width:0}
.feature-date-rule-copy strong{font-size:12px;color:#3f4957}
.feature-date-rule-copy span{font-size:10px;color:#788290}
.feature-date-rule .inline-delete{margin:0}
.feature-date-rule-form{display:grid;gap:11px;padding:12px;border-top:1px solid #edf0f3}
.feature-date-rules .feature-add-stage>summary{grid-template-columns:minmax(140px,.8fr) 1fr}
.feature-date-rules .feature-add-stage>summary strong{font-size:12px}
@media(max-width:760px){.feature-date-rule{align-items:flex-start}.feature-date-rules .feature-add-stage>summary{grid-template-columns:1fr}.feature-date-rule-form .stage-grid{grid-template-columns:1fr 1fr}}

/* v4.2.6 — Features use the available workspace like Current Copy. */
.features-workspace{width:100%;max-width:none;margin:0}
.feature-library,.feature-compact-grid,.feature-compact-card{width:100%;box-sizing:border-box}
.feature-editor-modal{width:min(1180px,calc(100vw - 24px));max-width:none;max-height:94vh}
.feature-editor-modal .module-modal-shell,.feature-editor-modal .wide-modal-shell{width:100%;max-width:none;max-height:94vh;box-sizing:border-box;overflow-y:auto;overflow-x:hidden}
.feature-editor-modal .modal-inner-form{overflow:visible}
.feature-edit-primary{grid-template-columns:repeat(4,minmax(0,1fr))}
.feature-droppable-check{grid-column:span 2;align-self:end}
.feature-date-rules{overflow:visible}
@media(max-width:900px){.feature-edit-primary{grid-template-columns:repeat(2,minmax(0,1fr))}.feature-droppable-check{grid-column:1/-1}}
@media(max-width:600px){.feature-editor-modal{width:calc(100vw - 10px);max-height:97vh}.feature-editor-modal .module-modal-shell,.feature-editor-modal .wide-modal-shell{max-height:97vh}.feature-edit-primary{grid-template-columns:1fr}}

/* v4.2.7 — Features use the same compact action pattern as Current Copy. */
.feature-compact-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.feature-compact-actions form{margin:0}.feature-library{width:100%;max-width:none}.features-workspace .feature-compact-grid{grid-template-columns:repeat(auto-fit,minmax(360px,1fr));width:100%}.feature-editor-modal{width:min(1180px,calc(100vw - 28px));max-width:none}.feature-editor-modal .wide-modal-shell{width:100%!important;max-width:none!important}
@media(max-width:760px){.features-workspace .feature-compact-grid{grid-template-columns:1fr}.feature-compact-actions{justify-content:flex-start}}

/* v4.2.8 — explicit Refine from new prep review queue. */
.refinement-review{display:grid;gap:16px}.refinement-files{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.refinement-list{display:grid;gap:12px}.refinement-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;align-items:start;border:1px solid var(--line,#e4e8ee);border-radius:14px;padding:16px;background:#fff}.refinement-card.status-ignored{opacity:.68;background:#fafbfc}.refinement-card.status-accepted{border-color:#cfdad1}.refinement-main{min-width:0}.refinement-main h3{margin:7px 0 8px}.refinement-main p{margin:9px 0 0}.refinement-instruction{font-weight:700;line-height:1.45;padding:10px 12px;border-radius:10px;background:#f7f8fa}.refinement-actions{display:flex;align-items:flex-start;gap:7px;flex-wrap:wrap;justify-content:flex-end}.refinement-actions form{margin:0}.refinement-edit{position:relative}.refinement-edit>summary{list-style:none;cursor:pointer}.refinement-edit>summary::-webkit-details-marker{display:none}.refinement-edit[open]{width:min(520px,70vw)}.refinement-edit-form{position:absolute;z-index:20;right:0;top:38px;width:min(520px,70vw);padding:15px;border:1px solid var(--line,#e4e8ee);border-radius:14px;background:#fff;box-shadow:0 18px 46px rgba(31,42,55,.16)}.refinement-edit-form textarea{min-height:120px}.refinement-edit-form .button{justify-self:end}@media(max-width:760px){.refinement-card{grid-template-columns:1fr}.refinement-actions{justify-content:flex-start}.refinement-edit[open],.refinement-edit-form{width:min(92vw,520px)}.refinement-edit-form{left:0;right:auto}}


/* v4.2.10 — modal audit + visible Copy actions.
   Every editor uses one scrollable content body inside a viewport-safe shell.
   This prevents long Feature / Current Copy / Production Tools forms from being
   clipped vertically or horizontally while keeping the close/header visible. */
.copy-action{display:inline-flex!important;visibility:visible!important;opacity:1!important;white-space:nowrap}
.feature-compact-actions .copy-action,.must-actions .copy-action{min-width:54px;justify-content:center}

.module-modal,.must-modal{
  width:min(1180px,calc(100vw - 24px));
  max-width:none;
  height:auto;
  max-height:94dvh;
  padding:0;
  overflow:hidden;
  box-sizing:border-box;
}
.module-modal-shell,.must-modal-shell,.module-modal-shell.wide-modal-shell,
.feature-editor-modal .module-modal-shell,.feature-editor-modal .wide-modal-shell{
  width:100%!important;
  max-width:100%!important;
  height:auto;
  max-height:94dvh!important;
  min-height:0;
  padding:0!important;
  display:flex;
  flex-direction:column;
  overflow:hidden!important;
  box-sizing:border-box;
}
.must-modal-head{
  flex:0 0 auto;
  position:relative;
  z-index:3;
  background:#fff;
}
.modal-inner-form,.must-modal-form,.feature-editor-modal .modal-inner-form{
  flex:1 1 auto;
  min-height:0;
  width:100%;
  max-width:100%;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  overscroll-behavior:contain;
  scrollbar-gutter:stable;
  box-sizing:border-box;
}
.modal-inner-form,.feature-editor-modal .modal-inner-form{padding:18px 20px 24px!important}
.must-modal-form{padding:20px 22px 26px!important}
.modal-inner-form>*,.must-modal-form>*,
.modal-inner-form form,.must-modal-form form,
.modal-inner-form label,.must-modal-form label,
.production-record,.production-record>*,.record-head,.record-actions{
  min-width:0;
  max-width:100%;
  box-sizing:border-box;
}
.modal-inner-form input:not([type="checkbox"]):not([type="radio"]),
.modal-inner-form select,.modal-inner-form textarea,
.must-modal-form input:not([type="checkbox"]):not([type="radio"]),
.must-modal-form select,.must-modal-form textarea{
  width:100%;
  max-width:100%;
  box-sizing:border-box;
}
.modal-inner-form textarea,.must-modal-form textarea,
.production-record,.production-record blockquote,.guest-pack-body,
.must-copy-preview,.feature-stage-row,.feature-date-rule{
  overflow-wrap:anywhere;
  word-break:break-word;
}
.must-modal-actions{
  position:sticky;
  bottom:-1px;
  z-index:4;
  margin-top:14px;
  padding:14px 0 4px;
  background:#fff;
  box-shadow:0 -8px 14px rgba(255,255,255,.94);
}

/* Production Tools carries some of the longest modal content, so give it the
   same full workspace treatment as Features instead of the old 900px shell. */
.production-modal{width:min(1180px,calc(100vw - 24px));max-width:none}
.production-modal .modal-inner-form{display:block}
.production-modal .formgrid{grid-template-columns:repeat(2,minmax(0,1fr))}
.production-modal .grow{grid-column:1/-1}
.production-modal .production-list,.production-modal .production-record,
.production-modal .guest-pack,.production-modal .guest-pack-body{width:100%;max-width:100%}
.production-modal .production-record{overflow:hidden}
.production-modal .record-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.production-modal .response-form{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:9px}
.production-modal .response-form textarea,.production-modal .response-form button{grid-column:1/-1}

/* Keep compact Show Clock dialogs comfortably sized too, but never let a grid
   force content outside the viewport. */
#add-clock-modal{width:min(920px,calc(100vw - 24px))}
.module-modal .formgrid,.module-modal .simple-add-grid,
.module-modal .stage-grid,.must-modal .formgrid{
  min-width:0;
}

@media(max-width:760px){
  .module-modal,.must-modal,.production-modal,.feature-editor-modal,#add-clock-modal{
    width:calc(100vw - 10px)!important;
    max-height:97dvh!important;
  }
  .module-modal-shell,.must-modal-shell,.module-modal-shell.wide-modal-shell,
  .feature-editor-modal .module-modal-shell,.feature-editor-modal .wide-modal-shell{
    max-height:97dvh!important;
  }
  .modal-inner-form,.feature-editor-modal .modal-inner-form,.must-modal-form{
    padding:15px!important;
  }
  .production-modal .formgrid,.production-modal .response-form{grid-template-columns:1fr}
  .production-modal .record-actions{justify-content:flex-start}
  .must-modal-actions{padding-bottom:2px}
}

/* v4.2.11 — independent source rows for combined two-part Feature links. */
.combined-source-list{display:grid;gap:6px;margin-top:6px;min-width:0}.combined-source-list .source{display:block;min-width:0;overflow-wrap:anywhere}

/* v4.2.12 — per-link MP3 attachments and automatic date switching. */
.date-switcher input[type="date"]{cursor:pointer}
.link-audio-cue,.studio-audio-cue{
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  gap:4px 10px;
  align-items:center;
  margin:10px 0;
  padding:10px 12px;
  border:1px solid var(--line,#e4e7ec);
  border-radius:10px;
  background:#fff7f5;
  min-width:0;
}
.link-audio-cue strong,.studio-audio-cue strong{font-size:.78rem;letter-spacing:.06em}
.link-audio-cue span,.studio-audio-cue span{overflow-wrap:anywhere;min-width:0}
.link-audio-cue audio,.studio-audio-cue audio{grid-column:1/-1;width:100%;max-width:100%}
.link-audio-tools{min-width:min(100%,360px)}
.link-audio-tools>summary{cursor:pointer;font-weight:700}
.link-audio-tools-body{display:grid;gap:10px;margin-top:10px;min-width:0}
.link-audio-tools-body form{display:flex;gap:8px;align-items:end;flex-wrap:wrap;min-width:0}
.link-audio-tools-body label{min-width:150px;flex:1 1 180px}
.link-audio-tools-body input,.link-audio-tools-body select{max-width:100%;width:100%}
.attached-audio{display:grid;gap:5px;min-width:0}
.attached-audio audio{width:100%;max-width:100%}
.attached-audio span{overflow-wrap:anywhere}
.studio-copy-continuation{margin-top:14px}
@media(max-width:760px){.link-audio-tools{min-width:0;width:100%}.link-audio-tools-body form{display:grid;grid-template-columns:1fr}.link-audio-tools-body label{min-width:0}}

/* v4.2.21 — precise clock exclusions */
.clock-exclusion-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:8px;margin-top:8px;max-height:240px;overflow:auto;padding:10px;border:1px solid var(--line,#e4e7ec);border-radius:10px;background:rgba(255,255,255,.45)}
.clock-exclusion-grid .checklabel{align-items:flex-start;min-width:0}
.clock-exclusion-grid .checklabel span{min-width:0;overflow-wrap:anywhere}

.selected-date-long{display:block;margin-top:6px;font-size:12px;font-weight:800;color:var(--muted)}

/* v4.2.25 — enhanced show-build monitor; robust generate detection */
.processing-card{width:min(720px,96vw);text-align:left;padding:26px 28px;gap:16px}
.processing-card-head{display:flex;align-items:center;gap:14px}
.processing-card-head .processing-spinner{margin:0;flex:0 0 auto}
.processing-head-copy{display:grid;gap:3px;min-width:0}
.processing-kicker{font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.09em;color:var(--accent)}
.processing-head-copy strong{font-size:20px;line-height:1.2;color:#202833}
.processing-head-copy>span{font-size:13px!important;color:#677281!important}
.processing-build-monitor{display:grid;gap:14px}
.processing-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.processing-stats>div{border:1px solid #e6e9ed;background:#f8f9fb;border-radius:12px;padding:10px 12px;display:grid;gap:3px}
.processing-stats span{font-size:9px!important;text-transform:uppercase;letter-spacing:.06em;font-weight:850;color:#7a8491!important}
.processing-stats strong{font-size:16px;color:#27313d;font-variant-numeric:tabular-nums}
.processing-phase-list{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}
.processing-phase{display:flex;gap:7px;align-items:center;padding:9px;border-radius:10px;background:#f6f7f9;border:1px solid #e6e9ed;color:#7b8490}
.processing-phase span{display:grid;place-items:center;width:22px;height:22px;border-radius:999px;background:#e6e9ed;color:#68727f!important;font-size:10px!important;font-weight:900;flex:0 0 auto}
.processing-phase b{font-size:11px;line-height:1.2}
.processing-phase.active{background:#fff7f3;border-color:#efb09f;color:#8e3e2d}
.processing-phase.active span{background:var(--accent);color:#fff!important}
.processing-phase.done{background:#eef8f2;border-color:#cce6d6;color:#28704d}
.processing-phase.done span{background:#3c8a62;color:#fff!important}
.processing-clock-panel{border:1px solid #dfe4ea;background:#fff;border-radius:14px;padding:14px 15px;box-shadow:0 5px 18px rgba(28,39,52,.05)}
.processing-clock-label{font-size:9px;text-transform:uppercase;letter-spacing:.07em;font-weight:900;color:#7c8794;margin-bottom:5px}
.processing-clock-current{font-size:21px;font-weight:850;color:#202833;line-height:1.25}
.processing-clock-next{font-size:11px;color:#6c7785;margin-top:7px;line-height:1.45;min-height:16px}
.processing-detail{padding:0;font-size:12px;font-weight:650;color:#4c5866;line-height:1.45}
.processing-estimate-note{font-size:10px;color:#89929e;line-height:1.4;border-top:1px solid #edf0f3;padding-top:10px}
@media(max-width:620px){
  .processing-card{padding:20px;width:min(96vw,720px)}
  .processing-stats{grid-template-columns:1fr}
  .processing-phase-list{grid-template-columns:1fr 1fr}
  .processing-clock-current{font-size:17px}
}

/* v4.2.28 — presenter-copy readability + direct Rules management */
.rich-presenter-copy{white-space:normal!important;line-height:1.68}
.prep-spoken-copy.rich-presenter-copy{font-size:1.02rem;color:#26303d;background:#fbfcfd;border:1px solid #e8ebf0;border-radius:14px;padding:16px 18px;margin:.35rem 0 .7rem;max-width:1040px}
.rich-presenter-copy p{margin:0 0 .82em}
.rich-presenter-copy p:last-child{margin-bottom:0}
.spoken-number-list{margin:.9rem 0 .8rem;padding:0;list-style:none;counter-reset:spoken-item;display:grid;gap:9px}
.spoken-number-list li{counter-increment:spoken-item;position:relative;margin:0;padding:11px 14px 11px 49px;border:1px solid #e4e8ee;background:#fff;border-radius:11px;line-height:1.58}
.spoken-number-list li::before{content:counter(spoken-item);position:absolute;left:13px;top:10px;width:25px;height:25px;border-radius:999px;display:grid;place-items:center;background:#eef1f5;color:#303845;font-size:.78rem;font-weight:800}
.studio-copy.rich-presenter-copy{white-space:normal;font-size:1.45rem;line-height:1.58;max-width:1000px}
.studio-copy.rich-presenter-copy p{margin:0 0 .85em}
.studio-copy.rich-presenter-copy .spoken-number-list{gap:12px;margin:1rem 0}
.studio-copy.rich-presenter-copy .spoken-number-list li{padding:14px 17px 14px 59px;border-color:#343943;background:#1b1e24;color:#fff}
.studio-copy.rich-presenter-copy .spoken-number-list li::before{left:16px;top:14px;width:29px;height:29px;background:#fff;color:#111}
.studio-tease{display:flex;gap:12px;align-items:flex-start;margin:13px 0 17px;padding:12px 14px;border-left:4px solid #ff8a65;background:#251d1b;border-radius:10px;color:#fff;font-size:1.06rem;line-height:1.45}
.studio-tease b{font-size:.72rem;letter-spacing:.08em;color:#ffb39d;margin-top:3px;white-space:nowrap}
.explicit-rules-manager{margin-bottom:14px}
.explicit-rule-manager-list{display:grid;gap:10px}
.explicit-rule-manager-row{border:1px solid #e7e9ee;border-radius:12px;background:#fbfcfd;overflow:hidden}
.explicit-rule-manager-row>summary{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:13px 15px;cursor:pointer;list-style:none}
.explicit-rule-manager-row>summary::-webkit-details-marker{display:none}
.explicit-rule-manager-row>summary div{display:grid;gap:3px}.explicit-rule-manager-row>summary span{font-size:.75rem;color:#7a8390}.explicit-rule-manager-row>summary b{font-size:.75rem;color:#626b78}
.explicit-rule-manager-row .rule-editor-form{padding:14px 15px 8px;border-top:1px solid #eceef2;display:grid;gap:12px;background:#fff}
.rule-manager-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.rule-manager-actions form{margin:0}.rule-manager-actions.secondary-actions{padding:0 15px 15px;background:#fff}
.rules-editor-modal{width:min(980px,calc(100vw - 24px));max-width:none}.rules-editor-modal .wide-modal-shell{width:100%;max-width:none}
.rule-feature-field[hidden]{display:none!important}
@media(max-width:900px){.studio-copy.rich-presenter-copy{font-size:1.2rem}.prep-spoken-copy.rich-presenter-copy{font-size:.98rem}.spoken-number-list li{padding-left:45px}}
.spoken-list-followup{font-weight:650;color:#3f4752;margin-top:.2rem!important}
.studio-copy .spoken-list-followup{color:#fff}

/* v4.2.31 — Current Copy day/date overrides + alternate sequences */
.current-copy-overrides-section{border-top:1px solid var(--line,#e4e7ec);margin-top:2px;padding-top:18px}
.override-section-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}
.override-list{display:grid;gap:10px;margin-top:12px}
.current-copy-override-card{border:1px solid #e3e7ec;border-radius:13px;background:#fbfcfd;overflow:hidden}
.current-copy-override-card>summary{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:13px 15px;cursor:pointer;list-style:none}
.current-copy-override-card>summary::-webkit-details-marker{display:none}
.current-copy-override-card>summary div{display:grid;gap:3px;min-width:0}
.current-copy-override-card>summary strong{font-size:.95rem}.current-copy-override-card>summary span{font-size:.76rem;color:#707b88;overflow-wrap:anywhere}.current-copy-override-card>summary>b{font-size:.72rem;color:#697381;white-space:nowrap}
.override-card-body{border-top:1px solid #e8ebef;background:#fff;padding:14px 15px;display:grid;gap:12px}
.current-copy-override-form{gap:13px}
.override-active-check{align-self:end;padding-bottom:10px}
.override-sequence-wrap{display:grid;gap:10px;border-top:1px solid #edf0f3;padding-top:13px}
.override-sequence-head{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.override-sequence-head>div{display:grid;gap:3px}
.override-stage-list{display:grid;gap:12px}
.override-stage-row{border:1px solid #e2e6eb;border-radius:12px;padding:13px;background:#f9fafb;display:grid;gap:11px}
.override-stage-row-head{display:flex;justify-content:space-between;gap:12px;align-items:center}
.override-stage-row-head strong{font-size:.84rem}
.override-stage-exclusions>summary{cursor:pointer;font-size:.78rem;font-weight:750;color:#5b6673}
.override-form-actions{display:flex;justify-content:flex-end;border-top:1px solid #edf0f3;padding-top:12px}
.override-secondary-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap;padding-top:2px}.override-secondary-actions form{margin:0}
.new-override-card>summary{background:#f6f8fa}
@media(max-width:760px){.current-copy-override-card>summary{align-items:flex-start}.override-sequence-head{align-items:flex-start}.override-active-check{padding-bottom:0}}

/* v4.2.34 — Daily Intake */
.daily-intake-box{display:grid;gap:14px}.daily-intake-head{align-items:flex-start}.intake-summary-strip{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:var(--panel-soft,#f8fafc)}.intake-summary-strip span{padding:5px 9px;border-radius:999px;background:var(--card,#fff);border:1px solid var(--line)}.intake-summary-strip .intake-alert{border-color:#d97706}.intake-summary-strip a{margin-left:auto}.daily-intake-list{display:grid;gap:10px}.daily-intake-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:start;padding:13px;border:1px solid var(--line);border-radius:14px;background:var(--card,#fff)}.daily-intake-row.status-missing{border-color:#d97706}.daily-intake-row.status-research{border-style:dashed}.intake-title-line{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.intake-title-line>strong{font-size:1rem}.intake-status{font-weight:700;font-size:.82rem}.intake-main p{margin:.45rem 0 0;color:var(--muted)}.intake-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}.intake-actions details{position:relative}.compact-intake-form{min-width:min(420px,75vw);padding:12px;margin-top:8px;border:1px solid var(--line);border-radius:12px;background:var(--card,#fff);box-shadow:0 12px 30px rgba(0,0,0,.08)}.intake-materials{display:grid;gap:4px;margin-top:8px}.intake-materials>div{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:6px 8px;border-radius:9px;background:var(--panel-soft,#f8fafc)}.other-material-add{border-top:1px solid var(--line);padding-top:12px}.intake-setup-card{display:grid;gap:16px}.intake-setup-grid{align-items:start}.intake-prompt-list{display:grid;gap:8px}.prep-daily-intake{margin-bottom:16px}.prep-daily-intake>details>summary{display:flex;justify-content:space-between;align-items:center;gap:12px;cursor:pointer}.prep-intake-body{display:grid;gap:14px;padding-top:14px}.prep-intake-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.prep-intake-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:12px;border:1px solid var(--line);border-radius:12px}.prep-intake-item>div:first-child>span{display:block;color:var(--muted);font-size:.86rem;margin-top:2px}.prep-intake-item p{margin:.45rem 0 0;color:var(--muted)}.late-impact-list{display:grid;gap:8px;padding:12px;border:1px solid #7c3aed55;border-radius:12px;background:#7c3aed0a}.late-impact-row{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:10px;border-radius:10px;background:var(--card,#fff)}.late-impact-row span{display:block;color:var(--muted);font-size:.85rem}.late-impact-row p{margin:.35rem 0 0}.late-material-history{display:flex;gap:8px;flex-wrap:wrap}.late-material-history span{padding:3px 8px;border-radius:999px;border:1px solid var(--line)}
@media(max-width:900px){.daily-intake-row,.prep-intake-item{grid-template-columns:1fr}.intake-actions{justify-content:flex-start}.prep-intake-grid{grid-template-columns:1fr}.late-impact-row{align-items:flex-start;flex-direction:column}.intake-summary-strip a{margin-left:0;width:100%}}

/* v4.2.35 — standing Daily Intake recommendations and Included elsewhere */
.intake-suggestion-actions{align-items:flex-start;gap:8px;flex-wrap:wrap}
.included-elsewhere-control{min-width:190px}
.included-elsewhere-control[open]{min-width:min(360px,78vw)}
.intake-covered-items{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-top:9px}
.intake-covered-items .inline-form{display:inline-flex;margin:0}
.intake-covers{margin-top:6px}

/* v4.2.36 — linked Feature stages + body-owned Feature endings */
.linked-stage-pill{background:#eef4ff;border-color:#cbdcff;color:#264b8f}
.linked-stage-note{margin:10px 0 2px;padding:8px 10px;border:1px solid #d8e4ff;border-radius:8px;background:#f7faff;color:#49627f;font-size:.84rem;line-height:1.35}

/* ======================================================================
   v4.2.40 — Workspace visual overhaul
   A roomier, presenter-first desktop UI. Reverses the over-compact v4.2
   pass while retaining responsive behaviour and all existing workflows.
   ====================================================================== */
:root{
  --paper:#f3f5f8;
  --card:#ffffff;
  --ink:#171b22;
  --ink-soft:#3e4855;
  --muted:#667180;
  --muted-2:#8b95a3;
  --line:#e1e5eb;
  --line-strong:#d3d9e2;
  --accent:#ef5b42;
  --accent-dark:#d94730;
  --accent-soft:#fff2ee;
  --panel-soft:#f7f9fb;
  --dark:#202630;
  --radius:20px;
  --shadow:0 12px 34px rgba(18,27,41,.065),0 2px 5px rgba(18,27,41,.035);
  --shadow-hover:0 18px 44px rgba(18,27,41,.09),0 3px 8px rgba(18,27,41,.04);
}

html{font-size:16px}
body{
  font-size:16px!important;
  line-height:1.6;
  background:
    radial-gradient(circle at 50% -220px,rgba(239,91,66,.08),transparent 460px),
    linear-gradient(180deg,#f8fafc 0,#f3f5f8 310px,#f3f5f8 100%)!important;
  color:var(--ink);
}

/* Wider product frame */
.topbar{
  height:76px!important;
  padding:0 max(28px,calc((100vw - 1440px)/2))!important;
  gap:24px!important;
  background:rgba(255,255,255,.96)!important;
  border-bottom:1px solid rgba(27,36,49,.08)!important;
}
.brand{gap:11px!important;font-size:21px!important}
.brand-icon{width:40px!important;height:40px!important;border-radius:12px!important;font-size:12px!important;box-shadow:0 7px 18px rgba(239,91,66,.22)!important}
.mainnav a{font-size:14px!important;padding:10px 13px!important}
.mainnav .nav-new-show{padding:10px 15px!important}

.modulebar{top:76px!important;padding:12px 0 0!important;background:rgba(243,245,248,.91)!important}
.modulebar-inner{
  max-width:1440px!important;
  width:calc(100% - 56px)!important;
  display:grid!important;
  grid-template-columns:repeat(8,minmax(112px,1fr))!important;
  gap:4px!important;
  padding:5px!important;
  border-radius:16px!important;
  border:1px solid #dde2e9!important;
  box-shadow:0 5px 16px rgba(18,27,41,.045)!important;
  overflow:visible!important;
}
.modulebar a{padding:10px 12px!important;font-size:13.5px!important;border-radius:11px!important}
.modulebar a span{font-size:13.5px!important}

.shell{max-width:1440px!important;padding:38px 28px 92px!important}
footer{font-size:13px!important;padding-bottom:34px}

/* Stronger hierarchy */
h1{font-size:48px!important;line-height:1.04!important;letter-spacing:-1.8px!important}
h2{font-size:27px!important;line-height:1.18!important;letter-spacing:-.65px!important}
h3{font-size:19px;line-height:1.3}
.prep-desk-head h1{font-size:52px!important}
.eyebrow{font-size:11px!important;letter-spacing:1.45px!important;margin-bottom:9px!important}
.pagehead{margin-bottom:30px!important;gap:28px!important;align-items:flex-end}
.pagehead p{font-size:15px!important;line-height:1.55!important;max-width:820px!important;color:var(--muted)}
.pagehead.compact,.compact-pagehead{margin-bottom:22px!important}
.subtle,.muted{font-size:14px;line-height:1.55}

/* Surfaces */
.card{
  border-radius:20px!important;
  border:1px solid var(--line)!important;
  padding:25px!important;
  box-shadow:var(--shadow)!important;
  background:rgba(255,255,255,.985)!important;
}
.card:hover{border-color:#dbe0e7}
.stack{gap:20px!important}
.grid2{gap:24px!important}
.formgrid{gap:20px 22px!important}

/* Forms — easier to scan and operate */
label{gap:8px!important;font-size:13.5px!important;font-weight:720!important;color:#46515f!important}
.field-title{font-size:13px!important;color:#53606f!important;font-weight:800!important}
.field-suffix{font-size:11.5px!important;line-height:1.4!important}
input,select,textarea{
  min-height:46px;
  padding:12px 14px!important;
  border-radius:11px!important;
  border:1px solid #d6dce5!important;
  font-size:15px!important;
  line-height:1.45!important;
  font-weight:520!important;
  box-shadow:0 1px 2px rgba(18,27,41,.025)!important;
}
textarea{min-height:110px;line-height:1.55!important}
input[type="checkbox"],input[type="radio"]{min-height:0;width:auto!important;box-shadow:none!important}
input[type="file"]{min-height:48px;padding:9px 11px!important}
input:hover,select:hover,textarea:hover{border-color:#bcc5d1!important}
input:focus,select:focus,textarea:focus{border-color:#ed765f!important;box-shadow:0 0 0 4px rgba(239,91,66,.11)!important}

button,.button{
  min-height:42px;
  padding:10px 16px!important;
  border-radius:11px!important;
  font-size:14px!important;
  font-weight:760!important;
}
.smallbutton{min-height:38px;padding:8px 13px!important;border-radius:10px!important;font-size:13px!important}
.textbutton{min-height:0!important;padding:6px 5px!important;font-size:13px!important}
.primary{box-shadow:0 7px 16px rgba(239,91,66,.17)!important}

/* Tabs and badges */
.showtabs{gap:9px!important;margin-bottom:22px!important}
.showtabs a{padding:10px 15px!important;font-size:13px!important;border-radius:12px!important;box-shadow:0 2px 5px rgba(18,27,41,.025)}
.showtabs a small{font-size:10.5px!important}
.status-pill,.pill,.verified,.mutedpill,.fixedbadge,.movebadge,.confidence{font-size:10.5px!important;padding:6px 9px!important}

/* Dashboard: use the available desktop canvas */
.dashboard-grid{grid-template-columns:minmax(300px,.68fr) minmax(0,1.65fr)!important;gap:26px!important;align-items:start}
.show-card{align-self:start}
.show-card h2,.generate-card h2{font-size:34px!important;margin-top:18px!important}
.station{font-size:18px!important}
.show-meta{gap:11px!important;margin:26px 0!important;font-size:14.5px}
.show-card-footer{gap:14px!important}
.generate-card{padding:28px!important}
.modebox{padding:15px 17px!important;border-radius:13px!important}
.modebox strong{font-size:14.5px!important}.modebox span{font-size:13px!important;line-height:1.5}
.today-info-box{padding:19px!important;border-radius:17px!important;gap:16px!important;background:#f8fafc!important}
.today-info-head>div{gap:5px!important}.today-info-head strong{font-size:16px}.today-info-head span{font-size:13px!important;line-height:1.5!important}
.today-info-row{padding:12px 14px!important;border-radius:12px!important;gap:14px!important}.today-info-row span{font-size:12.5px!important}
.daily-intake-box{gap:17px!important}.daily-intake-list{gap:12px!important}.daily-intake-row{padding:16px!important;border-radius:15px!important;gap:18px!important}.intake-title-line>strong{font-size:16px!important}.intake-status{font-size:12.5px!important}
.intake-summary-strip{padding:12px 14px!important;gap:9px 12px!important}.intake-summary-strip span{padding:6px 10px!important;font-size:13px}
.compact-intake-form{min-width:min(520px,80vw)!important;padding:17px!important}
.history{gap:11px!important}.history a{padding:18px 20px!important;border-radius:16px!important}

/* Feature and Current Copy libraries */
.features-workspace,.feature-library,.production-hub,.product-workspace,.simple-clock-workspace{max-width:none!important;width:100%!important}
.features-workspace .feature-compact-grid{
  grid-template-columns:repeat(auto-fit,minmax(460px,1fr))!important;
  gap:15px!important;
}
.feature-compact-card{
  grid-template-columns:minmax(0,1fr) auto!important;
  gap:14px!important;
  padding:17px 18px!important;
  border-radius:16px!important;
  box-shadow:0 4px 14px rgba(18,27,41,.045)!important;
}
.feature-compact-main{gap:5px!important}.feature-compact-main strong{font-size:17px!important}.feature-compact-main span{font-size:12.5px!important;line-height:1.45!important;white-space:normal!important}
.feature-compact-meta{font-size:11.5px!important;gap:7px!important}.feature-compact-actions{gap:8px!important}
.feature-editor-modal,.rules-editor-modal{width:min(1280px,calc(100vw - 40px))!important}
.modal-inner-form{padding:24px 28px 28px!important}
.feature-edit-primary{gap:14px!important}
.feature-link-plan{padding:22px 24px 24px!important;gap:13px!important}.feature-link-plan-head p{font-size:13px!important}.feature-stage-list{gap:10px!important}.feature-stage-row>summary,.feature-add-stage>summary{padding:13px 15px!important}.stage-number{width:30px!important;height:30px!important;font-size:12px!important}

.must-list-card{padding:24px!important}
.must-list-first{grid-template-columns:repeat(auto-fit,minmax(500px,1fr))!important;gap:15px!important}
.must-list-first .must-row{padding:18px!important;border-radius:16px!important;gap:18px!important;align-content:start}
.must-title{gap:9px!important}.must-title strong{font-size:17px}
.must-summary-grid{gap:10px!important;margin:13px 0!important}.must-summary-grid span{font-size:12.5px!important}.must-summary-grid b{font-size:10.5px!important}
.must-copy-preview{font-size:14.5px!important;line-height:1.6!important;padding:13px 15px!important;border-radius:11px!important}
.must-modal{width:min(1040px,calc(100vw - 40px))!important}.must-modal-head{padding:24px 27px 17px!important}.must-modal-form{padding:24px 27px 30px!important}.must-modal-actions{padding-top:18px!important}

/* Production tools get a real app-grid */
.production-tool-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px!important;margin:22px 0!important}
.production-tool-card{padding:23px!important;gap:16px!important;border-radius:18px!important}.production-tool-card h2{font-size:19px!important}.production-tool-card p{font-size:14px!important;line-height:1.55!important}.tool-icon{width:44px!important;height:44px!important;border-radius:13px!important;font-size:21px!important}.tool-card-foot{font-size:12.5px!important;padding-top:15px!important}

/* Clock / structure — full width, readable field labels */
.clock-skeleton-list{gap:11px!important;margin:18px 0!important}
.clock-skeleton-row{
  grid-template-columns:96px minmax(190px,.95fr) 138px minmax(280px,1.45fr) auto!important;
  gap:13px!important;
  padding:15px 16px!important;
  border-radius:16px!important;
  box-shadow:0 3px 12px rgba(18,27,41,.035)!important;
}
.clock-field>span{font-size:10.5px!important;margin-bottom:6px!important;color:#687586!important}
.clock-field input,.clock-field select{padding:10px 12px!important;font-size:14px!important}
.clock-row-more>summary,.clock-advanced>summary{font-size:12px!important}
.simple-add-grid{grid-template-columns:110px minmax(190px,1fr) 138px minmax(280px,1.4fr)!important;gap:13px!important}
.clock-philosophy{gap:14px!important}.clock-philosophy>div{padding:15px!important;border-radius:13px!important}.clock-philosophy span{font-size:13px!important}
.rule-stack-strip{gap:24px!important}.rule-stack-copy p{font-size:14px!important}.rule-stack-stats a{padding:13px 14px!important}.rule-stack-stats span{font-size:11px!important}
.clocktable{font-size:14px!important}.clocktable th,th{font-size:10.5px!important;padding:13px!important}.clocktable td,td{padding:13px!important}.clocktable input,.clocktable select{font-size:13.5px!important;padding:9px 10px!important}

/* Prep — presenter copy becomes the hero, controls become a secondary rail */
.prep-layout{grid-template-columns:176px minmax(0,1fr)!important;gap:28px!important}
.prep-nav{top:156px!important;gap:6px!important}.nav-label{font-size:11px!important;padding-bottom:10px!important}.prep-nav a{grid-template-columns:54px 1fr!important;padding:10px 11px!important;border-radius:11px!important;font-size:13px!important;line-height:1.35}.prep-nav a:hover{background:#fff!important;box-shadow:0 2px 8px rgba(18,27,41,.04)}
.prepgrid{gap:23px!important}
.prepitem{padding:28px 30px!important;border-radius:21px!important;scroll-margin-top:160px!important}
.prepmeta{gap:9px!important}.clocktime{font-size:13px!important;padding:7px 10px!important}.prepitem h2{font-size:30px!important;line-height:1.16!important;letter-spacing:-.8px!important;margin:19px 0 12px!important}
.bodycopy,.prep-spoken-copy.rich-presenter-copy{font-size:17px!important;line-height:1.72!important;color:#293441!important}
.prep-spoken-copy.rich-presenter-copy{max-width:none!important;padding:18px 20px!important;border-radius:15px!important}
.source{font-size:12.5px!important;line-height:1.5!important;margin-top:15px!important}
.angle,.outro,.forwardtease,.must-required{padding:15px 17px!important;border-radius:13px!important;margin-top:17px!important;font-size:14px}
.reassign-link{margin-top:16px!important;padding-top:13px!important}.reassign-link>summary{font-size:13.5px!important}.reassign-form{padding:16px!important;gap:13px!important;border-radius:14px!important}
.outro-picker{border-radius:14px!important;margin:15px 0!important}.outro-picker>summary{padding:13px 15px!important}.outro-option-text{font-size:14px!important;line-height:1.5}
.post-production-controls{gap:10px!important;margin-top:15px!important;padding-top:15px!important}
.inline-control{font-size:13px}.cardactions{gap:9px!important;margin-top:22px!important;padding-top:18px!important}
.linked-stage-note{padding:11px 13px!important;border-radius:10px!important;font-size:13px!important}

/* Secondary/advanced sections still readable, just visually quieter */
.settings-module,.compact-help-module,.compact-review-module,.feature-subsection,.current-copy-override-card,.explicit-rule-manager-row{border-radius:15px!important}
.settings-module>summary,.compact-help-module>summary{padding:14px 16px!important}.settings-module-body{padding:18px!important}
.compact-help-text,.compact-list,.inferred-notes-preview summary,.override-stage-exclusions>summary{font-size:13px!important;line-height:1.5!important}
.advanced-clock-grid{gap:13px 15px!important;padding:16px!important}.advanced-clock-grid label{font-size:12.5px!important}
.processing-card{width:min(760px,94vw)!important;padding:30px!important;border-radius:24px!important}.processing-card strong{font-size:21px}.processing-card span{font-size:13px!important}.processing-detail{font-size:13px!important}.processing-estimate-note{font-size:11.5px!important}

/* Tablet */
@media(max-width:1180px){
  .shell{padding-left:22px!important;padding-right:22px!important}
  .modulebar-inner{width:calc(100% - 44px)!important;display:flex!important;overflow-x:auto!important}
  .dashboard-grid{grid-template-columns:1fr!important}
  .show-card{position:static!important}
  .must-list-first{grid-template-columns:1fr!important}
  .production-tool-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .clock-skeleton-row{grid-template-columns:90px minmax(170px,1fr) 125px minmax(230px,1.25fr) auto!important}
}

/* Mobile: retain hierarchy without oversized chrome */
@media(max-width:760px){
  html{font-size:15px}
  body{font-size:15px!important}
  .topbar{height:62px!important;padding:0 14px!important}.brand-icon{width:36px!important;height:36px!important}.brand-name{display:none!important}
  .modulebar{top:62px!important;padding-top:8px!important}.modulebar-inner{width:calc(100% - 22px)!important;padding:4px!important}.modulebar a,.modulebar a span{font-size:12px!important;padding:8px 10px!important}
  .shell{padding:24px 14px 64px!important}
  h1,.prep-desk-head h1{font-size:34px!important;letter-spacing:-1.1px!important}h2{font-size:23px!important}
  .pagehead{align-items:flex-start!important;flex-direction:column!important;gap:12px!important;margin-bottom:22px!important}
  .card{padding:19px!important;border-radius:17px!important}
  .formgrid,.grid2{grid-template-columns:1fr!important;gap:15px!important}
  input,select,textarea{font-size:16px!important} /* prevents mobile zoom */
  .features-workspace .feature-compact-grid,.must-list-first,.production-tool-grid{grid-template-columns:1fr!important}
  .feature-compact-card{grid-template-columns:1fr!important;padding:15px!important}.feature-compact-actions{justify-content:flex-start!important}
  .prep-layout{display:block!important}.prep-nav{display:flex!important;position:relative!important;top:auto!important;overflow-x:auto!important;margin-bottom:15px!important;padding-bottom:5px!important}.prep-nav .nav-label{display:none!important}.prep-nav a{min-width:max-content!important;grid-template-columns:auto auto!important}
  .prepitem{padding:21px!important}.prepitem h2{font-size:25px!important}.bodycopy,.prep-spoken-copy.rich-presenter-copy{font-size:16px!important;line-height:1.67!important}.prep-spoken-copy.rich-presenter-copy{padding:15px!important}
  .production-tool-grid{gap:12px!important}.production-tool-card{padding:18px!important}
  .clock-skeleton-row,.wizard-clock-row,.simple-add-grid{grid-template-columns:1fr!important}.label-field,.clock-row-actions,.clock-row-more,.wizard-clock-row label,.wizard-clock-row button,.simple-add-grid label{grid-column:auto!important}
  .today-info-head,.daily-intake-row,.today-info-row{grid-template-columns:1fr!important}.today-info-head{flex-direction:column!important}
  .processing-card{padding:21px!important}
}

/* ========================================================================== 
   v4.2.41 — Broadcast Console redesign
   A true application shell: dark production chrome, compact sidebar navigation,
   cobalt/teal signal colours and layered slate work surfaces. White is now
   reserved for data-entry and primary content rather than filling the screen.
   ========================================================================== */
:root{
  --ink:#162033;
  --ink-soft:#3f4d63;
  --muted:#69778b;
  --muted-2:#8c98a9;
  --line:#d7dee8;
  --line-strong:#c6d0dd;
  --paper:#eaf0f6;
  --card:#f8fafc;
  --surface:#f3f7fb;
  --surface-2:#e8eef5;
  --accent:#3b6eea;
  --accent-dark:#2857cc;
  --accent-soft:#eaf0ff;
  --teal:#10a7a0;
  --teal-soft:#e5f7f5;
  --dark:#101827;
  --dark-2:#172235;
  --dark-3:#223149;
  --good:#16805d;
  --good-soft:#e5f7ef;
  --warn:#9a6714;
  --warn-soft:#fff4d9;
  --danger:#b23a43;
  --danger-soft:#fff0f1;
  --radius:16px;
  --shadow:0 8px 24px rgba(20,35,55,.055),0 1px 2px rgba(20,35,55,.035);
  --shadow-hover:0 14px 34px rgba(20,35,55,.09),0 2px 5px rgba(20,35,55,.05);
}

html{background:var(--paper)}
body{
  background:var(--paper)!important;
  color:var(--ink)!important;
  letter-spacing:-.005em;
}

/* Dark broadcast-console chrome */
.topbar{
  height:70px!important;
  padding:0 24px!important;
  background:#0d1523!important;
  border-bottom:1px solid rgba(255,255,255,.07)!important;
  box-shadow:0 5px 22px rgba(8,16,30,.16)!important;
}
.brand{color:#f8fbff!important;font-size:20px!important}
.brand-name{color:#f8fbff!important}
.brand-name span{color:#8fb2ff!important}
.brand-icon{
  width:38px!important;height:38px!important;border-radius:10px!important;
  background:linear-gradient(145deg,#4d7ff2,#2e5fd6)!important;
  color:#fff!important;border:1px solid rgba(255,255,255,.13)!important;
  box-shadow:0 8px 22px rgba(45,95,214,.30)!important;
}
.mainnav{gap:8px!important}
.mainnav a{
  color:#c9d4e4!important;
  border:1px solid transparent!important;
  border-radius:9px!important;
  padding:8px 11px!important;
  font-size:13px!important;
}
.mainnav a:hover{color:#fff!important;background:rgba(255,255,255,.07)!important}
.mainnav .nav-new-show{background:#1c2a40!important;border-color:#2c3d58!important;color:#edf4ff!important}
.mainnav .nav-new-show:hover{background:#253650!important}
.mainnav .nav-account{color:#93a1b5!important}

/* Desktop sidebar: show modules are now the navigation spine, not another
   horizontal strip competing with the page header. */
@media(min-width:1121px){
  body.has-modulebar .modulebar{
    position:fixed!important;
    top:70px!important;left:0!important;bottom:0!important;
    width:232px!important;
    height:auto!important;
    padding:18px 12px!important;
    background:#111b2b!important;
    border-right:1px solid rgba(255,255,255,.06)!important;
    box-shadow:10px 0 28px rgba(15,26,43,.08)!important;
    overflow-y:auto!important;
    z-index:42!important;
  }
  body.has-modulebar .modulebar::before{
    content:'SHOW WORKSPACE';display:block;
    padding:3px 11px 11px;color:#74849a;
    font-size:10px;font-weight:850;letter-spacing:.13em;
  }
  body.has-modulebar .modulebar-inner{
    width:100%!important;max-width:none!important;
    display:flex!important;flex-direction:column!important;
    gap:4px!important;padding:0!important;margin:0!important;
    background:transparent!important;border:0!important;
    box-shadow:none!important;border-radius:0!important;
  }
  body.has-modulebar .modulebar a{
    position:relative;display:flex!important;align-items:center!important;
    min-height:44px!important;padding:10px 12px!important;
    border-radius:10px!important;color:#aebbcf!important;
    background:transparent!important;border:1px solid transparent!important;
    font-size:13.5px!important;font-weight:690!important;
  }
  body.has-modulebar .modulebar a span{font-size:13.5px!important}
  body.has-modulebar .modulebar a:hover{
    color:#f5f8fd!important;background:#19263a!important;border-color:#22334c!important;
  }
  body.has-modulebar .modulebar a.active{
    color:#fff!important;background:linear-gradient(135deg,#315fd4,#3d73ee)!important;
    border-color:#4d7ff0!important;box-shadow:0 6px 16px rgba(44,92,204,.24)!important;
  }
  body.has-modulebar .modulebar a.active::before{
    content:'';position:absolute;left:-12px;top:10px;bottom:10px;width:3px;
    border-radius:0 3px 3px 0;background:#7fa3ff;
  }
  body.has-modulebar .shell{
    width:auto!important;max-width:none!important;
    margin:0 0 0 232px!important;
    padding:30px 34px 72px!important;
  }
  body.has-modulebar footer{margin-left:232px!important}
}

/* Work canvas: compact, layered surfaces rather than white-on-white */
.shell{max-width:1380px!important}
.pagehead{margin-bottom:22px!important}
h1{color:#142033!important;font-size:43px!important;letter-spacing:-1.55px!important}
h2{color:#18253a!important}
h3{color:#1c2a40!important}
.eyebrow{color:#5073c9!important;font-weight:850!important}
.pagehead p{color:#65758a!important}

.card{
  background:var(--card)!important;
  border:1px solid #d7e0ea!important;
  border-radius:16px!important;
  box-shadow:var(--shadow)!important;
}
.card:hover{border-color:#c9d5e3!important}

/* Section chrome creates visual grouping without adding more empty space. */
.modular-section,.recent{margin-top:26px!important}
.section-title-row,.compact-section-title{margin-bottom:13px!important}
.compact-statline{
  display:flex!important;gap:7px!important;flex-wrap:wrap!important;
  margin:-8px 0 16px!important;
}
.compact-statline span{
  background:#dde6f1!important;border:1px solid #ced9e6!important;
  color:#536176!important;border-radius:999px!important;padding:6px 10px!important;
  font-size:12px!important;
}
.compact-statline strong{color:#21314c!important}

/* Inputs look like controls, not blank white rectangles floating in space. */
label{color:#46566d!important;font-weight:730!important}
input,select,textarea{
  background:#fff!important;border-color:#cbd5e1!important;color:#172238!important;
  box-shadow:0 1px 2px rgba(20,35,55,.03)!important;
}
input:hover,select:hover,textarea:hover{border-color:#aab8ca!important}
input:focus,select:focus,textarea:focus{
  border-color:#5e82e8!important;box-shadow:0 0 0 3px rgba(59,110,234,.14)!important;
}
button,.button,.smallbutton{
  border-color:#cbd5e1!important;background:#f8fafc!important;color:#26364f!important;
  box-shadow:0 1px 2px rgba(20,35,55,.035)!important;
}
button:hover,.button:hover,.smallbutton:hover{background:#eef3f8!important;border-color:#b8c5d5!important}
.primary{
  color:#fff!important;background:linear-gradient(135deg,#3b6eea,#2f61d6)!important;
  border-color:#3768da!important;box-shadow:0 7px 18px rgba(47,97,214,.20)!important;
}
.primary:hover{background:linear-gradient(135deg,#345fd0,#2857c8)!important;border-color:#2857c8!important}
.primary-soft{background:var(--accent-soft)!important;color:#315dc8!important;border-color:#c8d7ff!important}
.textbutton{background:transparent!important;border-color:transparent!important;box-shadow:none!important}
.textbutton:hover{background:transparent!important}

/* Dashboard becomes a production console: dark show identity rail + denser work panel. */
.dashboard-grid{
  grid-template-columns:300px minmax(0,1fr)!important;
  gap:18px!important;align-items:start!important;
}
.show-card{
  position:sticky;top:94px;
  background:linear-gradient(160deg,#172438 0%,#101a2b 100%)!important;
  border-color:#26364e!important;color:#eef4fc!important;
  box-shadow:0 14px 34px rgba(16,27,44,.16)!important;
}
.show-card h2{color:#fff!important;font-size:29px!important}
.show-card .station,.show-card .eyebrow{color:#8eafff!important}
.show-card p,.show-card .show-meta,.show-card .muted{color:#b7c5d8!important}
.show-card .show-meta span::before{color:#6f97ff!important}
.show-card .status-pill{background:rgba(24,177,130,.14)!important;color:#7be0bd!important;border:1px solid rgba(86,217,171,.15)!important}
.show-card .quick-actions,.show-card .show-card-footer{border-color:rgba(255,255,255,.09)!important}
.show-card .button,.show-card button{
  background:#223149!important;border-color:#30425d!important;color:#edf4ff!important;
}
.show-card .button:hover,.show-card button:hover{background:#2a3c58!important}
.generate-card{
  background:#f6f9fc!important;border-color:#d4dde8!important;
  padding:22px!important;
}
.generate-card>h2{font-size:27px!important}
.modebox,.must-summary{
  background:#eaf0f6!important;border-color:#d4dee9!important;color:#3a4b64!important;
}
.today-info-box{
  background:#edf3f8!important;border:1px solid #d6e0ea!important;
  padding:15px!important;border-radius:14px!important;
}
.today-info-head{padding-bottom:9px!important;border-bottom:1px solid #d8e2ec!important}
.today-info-row,.daily-intake-row{
  background:#f9fbfd!important;border:1px solid #dce4ed!important;
  box-shadow:0 1px 2px rgba(20,35,55,.025)!important;
}
.daily-intake-row:hover,.today-info-row:hover{border-color:#c8d6e5!important}
.intake-summary-strip{background:#dfe9f3!important;border-color:#cfdae6!important}
.other-material-add,.today-info-add{background:#f7fafc!important;border-color:#d8e1eb!important}

/* Libraries: flatter, denser and more data-product-like. */
.features-workspace .feature-compact-grid,
.must-list-first{gap:10px!important}
.feature-compact-card,.must-list-first .must-row{
  background:#f8fbfd!important;border:1px solid #d7e1eb!important;
  border-radius:13px!important;box-shadow:0 2px 7px rgba(20,35,55,.035)!important;
}
.feature-compact-card:hover,.must-list-first .must-row:hover{
  border-color:#bdccdc!important;box-shadow:0 7px 18px rgba(20,35,55,.065)!important;
}
.feature-compact-main strong,.must-title strong{color:#19283e!important}
.feature-compact-meta .pill,.pill{background:#e8efff!important;color:#3d62bd!important}
.mutedpill{background:#e9eef4!important;color:#59697e!important}
.verified{background:var(--good-soft)!important;color:var(--good)!important}

/* Clock and structure look like a console/grid rather than form cards. */
.clock-skeleton-list{gap:7px!important}
.clock-skeleton-row{
  background:#f8fafc!important;border:1px solid #d7e0e9!important;
  border-radius:11px!important;box-shadow:none!important;padding:11px 12px!important;
}
.clock-skeleton-row:hover{background:#fff!important;border-color:#bfcddd!important}
.clock-field>span{color:#738196!important;font-weight:820!important;letter-spacing:.04em!important}
.clock-philosophy>div,.rule-stack-stats a,.check-card{background:#eaf0f6!important;border-color:#d4dee9!important}
.clocktable-wrap{background:#f9fbfd!important;border:1px solid #d7e0ea!important;border-radius:14px!important;overflow:hidden!important}
.clocktable thead{background:#dfe7f0!important}
.clocktable tbody tr:nth-child(even){background:#f3f7fa!important}
.clocktable tbody tr:hover{background:#eaf1f8!important}

/* Prep: darker timeline rail + highly readable programme cards. */
.prep-layout{grid-template-columns:184px minmax(0,1fr)!important;gap:18px!important}
.prep-nav{
  padding:12px!important;background:#172336!important;border:1px solid #23334b!important;
  border-radius:14px!important;box-shadow:0 10px 26px rgba(16,27,44,.12)!important;
}
.nav-label{color:#73859d!important;padding:2px 8px 9px!important}
.prep-nav a{color:#aebbd0!important;border:1px solid transparent!important}
.prep-nav a b{color:#f3f7fc!important}
.prep-nav a:hover{background:#213149!important;color:#fff!important;box-shadow:none!important}
.prepgrid{gap:12px!important}
.prepitem{
  background:#fbfcfe!important;border:1px solid #d6e0ea!important;
  border-radius:15px!important;padding:21px 23px!important;box-shadow:0 3px 10px rgba(20,35,55,.035)!important;
}
.prepitem:hover{border-color:#c4d1df!important}
.clocktime{background:#17263d!important;color:#fff!important;border-radius:7px!important}
.prepitem h2{font-size:26px!important;margin:14px 0 9px!important}
.bodycopy,.prep-spoken-copy.rich-presenter-copy{font-size:16.5px!important;line-height:1.64!important;color:#26364d!important}
.prep-spoken-copy.rich-presenter-copy{
  background:#f1f5f9!important;border:1px solid #e0e7ef!important;
  padding:14px 16px!important;border-radius:11px!important;
}
.source{color:#728096!important}
.forwardtease{background:#edf2ff!important;color:#3b4f7d!important;border-left-color:#4d73d8!important}
.outro{background:#eaf4f3!important;color:#355c59!important;border-left-color:#45a49e!important}
.angle{background:#edf1f5!important;color:#4e5e71!important;border-left-color:#8b9aad!important}
.post-production-controls,.cardactions{border-color:#e0e6ee!important}

/* Production tools */
.production-tool-card{
  background:linear-gradient(180deg,#f8fbfd,#f2f6fa)!important;
  border:1px solid #d6e0ea!important;border-radius:14px!important;
}
.production-tool-card:hover{border-color:#bdccdc!important;transform:translateY(-1px)}
.tool-icon{background:#e7efff!important;color:#3d67cc!important;border:1px solid #d0ddff!important}

/* Modals become focused dark-header workspaces. */
dialog{border:0!important;box-shadow:0 28px 80px rgba(9,18,32,.30)!important}
dialog::backdrop{background:rgba(9,16,29,.58)!important;backdrop-filter:blur(2px)}
.must-modal-head{
  background:#152136!important;border-bottom:1px solid #26364e!important;
  padding:18px 22px!important;
}
.must-modal-head h2,.must-modal-head h3{color:#fff!important}
.must-modal-head .eyebrow{color:#89aaff!important}
.modal-close{background:#22334c!important;border-color:#314560!important;color:#dbe6f4!important}
.modal-close:hover{background:#2c405c!important;color:#fff!important}
.modal-inner-form,.must-modal-form{background:#f1f5f9!important}
.must-modal-actions{background:#f1f5f9!important;box-shadow:0 -8px 14px rgba(241,245,249,.95)!important}
.feature-link-plan,.current-copy-override-card,.settings-module,.feature-subsection{
  background:#f8fafc!important;border-color:#d7e0ea!important;
}

/* Notifications / states */
.notice{background:#eef3f8!important;border-color:#d3dee9!important;color:#46566d!important}
.flash{border-radius:11px!important;box-shadow:0 4px 12px rgba(20,35,55,.06)!important}
.flash.success{background:var(--good-soft)!important;color:#176b52!important;border-color:#c6eadc!important}
.flash.error{background:var(--danger-soft)!important;color:#9c3440!important;border-color:#efcbd0!important}

/* Build monitor matches the application shell. */
.processing-overlay{background:rgba(9,16,29,.66)!important;backdrop-filter:blur(4px)}
.processing-card{background:#f7f9fc!important;border:1px solid #cad6e4!important;box-shadow:0 30px 90px rgba(8,18,34,.34)!important}
.processing-kicker{color:#4169cb!important}
.progress-track{background:#dbe3ed!important}
.progress-bar{background:linear-gradient(90deg,#3c6eea,#24a9a1)!important}
.processing-phase.active{background:#eaf0ff!important;border-color:#c5d4ff!important;color:#3158b8!important}
.processing-phase.done{background:#e5f7ef!important;border-color:#c8eadc!important;color:#157356!important}
.processing-clock-panel,.processing-stats>div{background:#eaf0f6!important;border-color:#d4dee9!important}

/* Keep white space intentional, not expansive. */
.stack{gap:14px!important}.grid2{gap:16px!important}.formgrid{gap:14px 16px!important}
.card{padding:20px!important}.generate-card{padding:20px!important}
.pagehead.compact,.compact-pagehead{margin-bottom:15px!important}
.recent{margin-top:24px!important}
.history{gap:7px!important}.history a{padding:13px 15px!important;border-radius:11px!important;background:#f7fafc!important}
.empty{background:#f6f9fc!important;border-color:#cbd7e4!important}

/* Tablet/mobile returns the sidebar to a compact horizontal module switcher. */
@media(max-width:1120px){
  .modulebar{
    position:sticky!important;top:70px!important;left:auto!important;bottom:auto!important;width:auto!important;
    padding:8px 0!important;background:#111b2b!important;border-right:0!important;
    border-bottom:1px solid #223149!important;box-shadow:0 5px 16px rgba(16,27,44,.10)!important;
  }
  .modulebar-inner{
    width:calc(100% - 24px)!important;max-width:none!important;margin:0 auto!important;
    display:flex!important;flex-direction:row!important;gap:4px!important;padding:0!important;
    background:transparent!important;border:0!important;box-shadow:none!important;overflow-x:auto!important;
  }
  .modulebar a{flex:0 0 auto!important;color:#aebbd0!important;background:transparent!important;border:1px solid transparent!important}
  .modulebar a.active{background:#315fd4!important;color:#fff!important;border-color:#4775df!important}
  body.has-modulebar .shell{margin-left:auto!important}
  body.has-modulebar footer{margin-left:0!important}
  .dashboard-grid{grid-template-columns:1fr!important}
  .show-card{position:static!important}
}

@media(max-width:760px){
  .topbar{height:62px!important;padding:0 12px!important}
  .modulebar{top:62px!important}
  .shell{padding:20px 13px 58px!important}
  h1,.prep-desk-head h1{font-size:32px!important}
  .card{padding:16px!important}
  .prep-nav{background:#172336!important;padding:8px!important}
  .prep-nav a{background:#1c2a40!important}
  .prepitem{padding:18px!important}
  .today-info-box{padding:13px!important}
}

/* ============================================================
   v4.2.42 — Prep page redesign
   The running order is the interface: compact show chrome,
   sticky horizontal timeline, continuous rundown rows and
   slide-in editing drawers.
   ============================================================ */
.prep-modern{--prep-navy:#142136;--prep-blue:#315fd4;--prep-blue-soft:#eef3ff;--prep-slate:#64748b;--prep-paper:#fbfcfe;--prep-line:#dbe3ec;--prep-warn:#a66308;--prep-warn-soft:#fff6e6;display:grid;gap:12px;max-width:100%}
.prep-modern .eyebrow{letter-spacing:.075em}
.prep-showbar{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding:4px 2px 14px;border-bottom:1px solid #cfd9e5}
.prep-show-identity{min-width:0}.prep-title-line{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.prep-title-line h1{margin:2px 0 0!important;font-size:38px!important;line-height:1.05!important;letter-spacing:-1.2px!important;color:#142136!important}
.prep-approved{display:inline-flex;align-items:center;padding:5px 9px;border-radius:999px;background:#e6f6ef;color:#176b52;font-size:12px;font-weight:850}
.prep-show-stats{display:flex;align-items:center;gap:7px;margin-top:9px;flex-wrap:wrap;color:#65758a;font-size:13px;font-weight:720}.prep-show-stats>span{display:inline-flex;align-items:center;gap:5px}.prep-show-stats>span+span:before{content:'•';color:#afbac8;margin-right:2px}.prep-warning-stat{color:#95600e!important}.prep-health-dot.quality-passed,.prep-health-dot.quality-good{color:#187257}.prep-health-dot.quality-warnings,.prep-health-dot.quality-failed{color:#95600e}
.prep-show-actions{display:flex;align-items:center;gap:8px;flex:0 0 auto}.prep-show-actions .button{height:40px;padding:0 14px!important;display:inline-flex;align-items:center;justify-content:center}.prep-primary-action{background:var(--prep-blue)!important;color:#fff!important;border-color:var(--prep-blue)!important}.prep-primary-action:hover{background:#2853bd!important}
.prep-more-menu{position:relative}.prep-more-menu>summary{list-style:none;cursor:pointer}.prep-more-menu>summary::-webkit-details-marker{display:none}.prep-more-popover{position:absolute;right:0;top:calc(100% + 7px);z-index:65;width:238px;padding:7px;background:#fff;border:1px solid #d6e0ea;border-radius:12px;box-shadow:0 18px 50px rgba(18,33,54,.18)}.prep-more-popover form{margin:0}.menu-action{display:flex;width:100%;align-items:center;text-align:left;text-decoration:none;border:0;background:transparent;color:#26364d;padding:10px 11px;border-radius:8px;font:inherit;font-size:14px;font-weight:700;cursor:pointer}.menu-action:hover{background:#f0f4f8}.menu-action.danger{color:#a43a45}.menu-action.danger:hover{background:#fff0f1}.menu-separator{height:1px;background:#e1e7ee;margin:5px}
.prep-status-strip{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,.54fr);gap:8px}.prep-status-strip>details{min-width:0;background:#edf2f7;border:1px solid #d9e1ea;border-radius:11px}.prep-status-strip>details>summary{display:flex;align-items:center;gap:9px;min-height:42px;padding:9px 11px;cursor:pointer;list-style:none;color:#5e6e82;font-size:12.5px;font-weight:720;white-space:nowrap;overflow:hidden}.prep-status-strip>details>summary::-webkit-details-marker{display:none}.prep-status-label{color:#1a2a41!important;font-weight:900!important;letter-spacing:.02em}.prep-status-open{margin-left:auto;color:#315fc7!important}.status-attention{color:#98620e!important}.status-good{color:#187257!important}.prep-intake-drawer-content,.prep-health-details .producer-plan-body{padding:13px;border-top:1px solid #d6e0e9;background:#f7f9fc;border-radius:0 0 11px 11px}.prep-health-details .producer-plan-body{font-size:13px;line-height:1.55}.prep-health-details .producer-plan-body p{margin-top:0}
.prep-timeline{position:sticky;top:78px;z-index:38;margin:0 -2px;background:rgba(241,245,249,.94);backdrop-filter:blur(10px);border-top:1px solid #dce4ed;border-bottom:1px solid #d6dfe9;padding:7px 2px}.prep-timeline-track{display:flex;gap:5px;overflow-x:auto;scrollbar-width:thin;padding-bottom:1px}.prep-timeline a{display:grid;gap:1px;min-width:94px;max-width:150px;padding:7px 9px;border-radius:8px;text-decoration:none;background:#e8eef5;border:1px solid transparent;color:#65758a;transition:.15s}.prep-timeline a:hover{background:#fff;border-color:#cdd8e5;color:#1d2d44}.prep-timeline a b{font-size:13px;color:#1b2a40;font-variant-numeric:tabular-nums}.prep-timeline a span{font-size:10.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.prep-rundown{background:var(--prep-paper);border:1px solid #d3dde8;border-radius:16px;overflow:hidden;box-shadow:0 5px 18px rgba(20,35,55,.045)}.prep-rundown-row{display:grid;grid-template-columns:112px minmax(0,1fr);border-bottom:1px solid #dce4ed;scroll-margin-top:145px;position:relative}.prep-rundown-row:last-child{border-bottom:0}.prep-rundown-row:hover{background:#fff}.prep-rundown-row.needs-source{box-shadow:inset 3px 0 0 #d6962e}.prep-time-rail{padding:24px 16px 22px 18px;background:#eef3f7;border-right:1px solid #d9e2eb;display:flex;flex-direction:column;align-items:flex-start;gap:5px}.prep-time-rail time{font-size:25px;line-height:1;font-weight:900;letter-spacing:-.7px;color:#17263d;font-variant-numeric:tabular-nums}.prep-time-rail span{font-size:10.5px;font-weight:850;line-height:1.25;text-transform:uppercase;letter-spacing:.06em;color:#6b7a8d}
.prep-link-main{min-width:0;padding:21px 26px 16px}.prep-link-kicker{display:flex;align-items:center;gap:6px;flex-wrap:wrap;color:#738196;font-size:11.5px;font-weight:760}.prep-link-kicker span+span:before{content:'•';color:#b0bbc8;margin-right:6px}.prep-link-main h2{font-size:24px!important;line-height:1.16!important;letter-spacing:-.45px!important;margin:6px 0 10px!important;color:#16263d!important;max-width:1050px}.prep-modern .bodycopy,.prep-modern .prep-spoken-copy.rich-presenter-copy{font-size:17px!important;line-height:1.66!important;color:#26364d!important}.prep-modern .prep-spoken-copy.rich-presenter-copy{background:transparent!important;border:0!important;border-radius:0!important;padding:0!important;margin:0 0 12px!important;max-width:1080px!important}.prep-modern .prep-outro-copy{margin:8px 0 12px;padding-left:14px;border-left:3px solid #71a8a1;color:#355b58}.prep-modern .coming-up-block{max-width:980px;margin:11px 0;padding:10px 12px;background:#edf2ff;border-left:3px solid #5076d9;border-radius:7px;color:#374c7c;font-size:14px;line-height:1.5}.prep-modern .link-audio-cue{max-width:980px;margin:10px 0}
.prep-source-details{margin-top:9px;width:max-content;max-width:100%;font-size:12px}.prep-source-details>summary{cursor:pointer;list-style:none;font-weight:800;color:#6b7a8d}.prep-source-details>summary::-webkit-details-marker{display:none}.prep-source-details.is-verified>summary{color:#1b795d}.prep-source-details.is-unverified>summary{color:#a2650d}.prep-source-body{margin-top:7px;padding:9px 11px;background:#f2f5f8;border:1px solid #dfe6ed;border-radius:9px;max-width:980px}.prep-source-body .source-origin{margin-bottom:5px}.prep-source-body .combined-source-list{display:grid;gap:4px}.prep-source-body .source{display:block;overflow-wrap:anywhere}.linked-stage-note{margin-top:9px;max-width:980px;padding:8px 10px;border-radius:7px;background:#f2efff;color:#66549b;font-size:12px;font-weight:650}
.prep-actionbar{display:flex;align-items:center;gap:3px;margin-top:12px;padding-top:10px;border-top:1px solid #e3e9ef}.prep-tool>summary{display:inline-flex;align-items:center;gap:5px;padding:6px 9px;border-radius:7px;cursor:pointer;list-style:none;color:#53647a;font-size:12px;font-weight:820;transition:.15s}.prep-tool>summary::-webkit-details-marker{display:none}.prep-tool>summary:hover,.prep-tool[open]>summary{background:#eaf0f7;color:#244ca8}.prep-more-tool{margin-left:auto}.prep-more-tool>summary{font-size:16px;line-height:1;padding-left:11px;padding-right:11px}.action-state-dot{width:6px;height:6px;border-radius:50%;background:#2b7ee7;display:inline-block}
.prep-tool[open]::before{content:'';position:fixed;inset:0;z-index:80;background:rgba(11,22,39,.25);backdrop-filter:blur(1px)}.prep-tool-drawer{position:fixed;z-index:90;top:0;right:0;width:min(520px,92vw);height:100vh;background:#f7f9fc;border-left:1px solid #cad5e2;box-shadow:-18px 0 55px rgba(14,28,48,.19);display:flex;flex-direction:column;animation:prepDrawerIn .18s ease-out}.prep-tool-drawer.compact-drawer{width:min(390px,90vw)}@keyframes prepDrawerIn{from{transform:translateX(20px);opacity:.65}to{transform:translateX(0);opacity:1}}.prep-drawer-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:20px 22px 16px;background:#152238;color:#fff;border-bottom:1px solid #263750}.prep-drawer-head .eyebrow{color:#93afea!important}.prep-drawer-head h3{margin:4px 0 0;color:#fff;font-size:24px}.prep-drawer-close{width:35px;height:35px;border-radius:9px;border:1px solid #31445f;background:#22334c;color:#dbe5f2;font-size:23px;line-height:1;cursor:pointer}.prep-drawer-close:hover{background:#2b405d;color:#fff}.prep-drawer-body{padding:20px 22px 34px;overflow-y:auto;display:grid;gap:18px}.prep-drawer-body form{display:grid;gap:12px}.prep-tool-section{display:grid;gap:11px;padding-bottom:18px;border-bottom:1px solid #dce4ec}.prep-tool-section:last-child{border-bottom:0;padding-bottom:0}.prep-tool-section h4{margin:0;color:#1b2a40;font-size:13px;text-transform:uppercase;letter-spacing:.055em}.prep-pace-form{grid-template-columns:minmax(0,1fr) auto!important;align-items:end!important}.prep-pace-form label{margin:0}.prep-variant-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.prep-variant-grid form{display:block}.prep-variant-grid button{width:100%}.prep-current-preview{padding:13px 14px;border-radius:11px;background:#edf2ff;border:1px solid #d4def9}.prep-current-preview>span{display:block;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.06em;color:#5971a5}.prep-current-preview p{margin:5px 0 0;line-height:1.55;color:#2d416d}.prep-button-stack{display:grid;gap:8px}.prep-button-stack.horizontal{display:flex;flex-wrap:wrap}.prep-button-stack.horizontal form{display:block}.prep-drawer-body .outro-options-list{display:grid;gap:8px}.prep-drawer-body .outro-option button{width:100%;text-align:left}.prep-drawer-body .button.secondary{background:#fff!important;color:#33465f!important;border-color:#cbd6e2!important}.prep-drawer-body .attached-audio{display:grid;gap:8px}.prep-drawer-body audio{width:100%}.prep-drawer-body textarea{min-height:120px}.prep-drawer-body .muted{font-size:12.5px;line-height:1.5}.prep-drawer-open{overflow:hidden}
@media(max-width:900px){.prep-status-strip{grid-template-columns:1fr}.prep-timeline{top:113px}.prep-rundown-row{grid-template-columns:88px minmax(0,1fr)}.prep-time-rail{padding:20px 12px}.prep-time-rail time{font-size:21px}.prep-link-main{padding:18px 19px 14px}.prep-link-main h2{font-size:22px!important}.prep-modern .bodycopy,.prep-modern .prep-spoken-copy.rich-presenter-copy{font-size:16px!important}}
@media(max-width:640px){.prep-showbar{align-items:flex-start;flex-direction:column;gap:12px}.prep-show-actions{width:100%}.prep-show-actions>.button{flex:1}.prep-title-line h1{font-size:32px!important}.prep-status-strip>details>summary{flex-wrap:wrap;white-space:normal}.prep-status-open{margin-left:0;width:100%}.prep-timeline{position:relative;top:auto}.prep-rundown{border-radius:12px}.prep-rundown-row{display:block}.prep-time-rail{display:flex;flex-direction:row;align-items:center;gap:10px;padding:12px 15px;border-right:0;border-bottom:1px solid #dbe3ec}.prep-time-rail time{font-size:20px}.prep-link-main{padding:16px 15px 12px}.prep-link-main h2{font-size:21px!important}.prep-actionbar{overflow-x:auto}.prep-tool>summary{white-space:nowrap}.prep-tool-drawer{width:100vw}.prep-variant-grid{grid-template-columns:1fr}.prep-pace-form{grid-template-columns:1fr!important}.prep-button-stack.horizontal{display:grid}.prep-intake-grid{grid-template-columns:1fr!important}}
@media print{.prep-show-actions,.prep-status-strip,.prep-timeline,.prep-actionbar,.prep-source-details,.linked-stage-note{display:none!important}.prep-rundown{border:0!important;box-shadow:none!important}.prep-rundown-row{grid-template-columns:78px 1fr!important;break-inside:avoid}.prep-time-rail{background:#fff!important;padding:12px 8px!important}.prep-link-main{padding:12px!important}.prep-modern .prep-spoken-copy.rich-presenter-copy{font-size:13px!important;line-height:1.45!important}}

/* ============================================================
   v4.2.43 — Prep refinement pass
   More deliberate broadcast hierarchy, active-junction tracking,
   tighter metadata and calmer editing chrome.
   ============================================================ */
.prep-modern{
  --prep-ink:#142136;
  --prep-muted:#6f7f92;
  --prep-console:#132137;
  --prep-console-2:#1c2d47;
  --prep-accent:#3970e6;
  --prep-teal:#278875;
  --prep-surface:#f8fafc;
  --prep-divider:#dce4ec;
  gap:10px;
}
.prep-showbar{
  align-items:center;
  padding:10px 14px 12px;
  border:1px solid #d7e0e9;
  border-radius:14px;
  background:linear-gradient(135deg,#fbfcfe 0%,#f3f6fa 100%);
  box-shadow:0 2px 7px rgba(20,33,54,.035);
}
.prep-title-line h1{font-size:34px!important;letter-spacing:-1px!important}
.prep-show-stats{margin-top:7px;font-size:12.5px}
.prep-show-actions .button{height:38px}
.prep-status-strip{gap:6px}
.prep-status-strip>details{border-radius:9px;background:#f1f4f8}
.prep-status-strip>details>summary{min-height:39px;padding:7px 10px}

/* The timeline now behaves like a compact studio clock strip. */
.prep-timeline{
  top:76px;
  margin:0;
  padding:7px 8px;
  border:1px solid #213451;
  border-radius:11px;
  background:linear-gradient(180deg,var(--prep-console-2),var(--prep-console));
  box-shadow:0 5px 18px rgba(15,29,49,.12);
  backdrop-filter:blur(12px);
}
.prep-timeline-track{gap:3px;padding:0}
.prep-timeline a{
  position:relative;
  min-width:84px;
  max-width:136px;
  padding:7px 9px 7px 10px;
  border:1px solid transparent;
  border-radius:7px;
  background:transparent;
  color:#9fb0c6;
}
.prep-timeline a:hover{background:rgba(255,255,255,.065);border-color:rgba(255,255,255,.08);color:#fff}
.prep-timeline a b{font-size:13px;color:#f7f9fc}
.prep-timeline a span{font-size:10px;color:#91a2b8}
.prep-timeline a.is-active{
  background:#fff;
  border-color:#fff;
  color:#40536d;
  box-shadow:0 2px 8px rgba(5,16,33,.20);
}
.prep-timeline a.is-active b{color:#15345f}
.prep-timeline a.is-active span{color:#657890}
.prep-timeline a.is-active:before{
  content:'';position:absolute;left:0;top:7px;bottom:7px;width:3px;border-radius:3px;background:var(--prep-accent)
}

/* Running order: less card-like, more like a broadcast rundown. */
.prep-rundown{
  border-radius:13px;
  border-color:#cfd9e4;
  background:#fff;
  box-shadow:0 3px 14px rgba(20,35,55,.04);
}
.prep-rundown-row{
  grid-template-columns:96px minmax(0,1fr);
  background:#fff;
  transition:background .15s ease,box-shadow .15s ease;
}
.prep-rundown-row:hover{background:#fcfdff}
.prep-rundown-row.is-active{background:#fbfdff;box-shadow:inset 3px 0 0 var(--prep-accent)}
.prep-rundown-row.needs-source{box-shadow:inset 3px 0 0 #d6962e}
.prep-rundown-row.needs-source.is-active{box-shadow:inset 3px 0 0 #d6962e, inset 6px 0 0 #f6d9a7}
.prep-time-rail{
  position:relative;
  padding:21px 12px 18px 15px;
  background:#f2f5f8;
  border-right:1px solid #e0e6ed;
}
.prep-time-rail:after{
  content:'';position:absolute;right:-4px;top:29px;width:7px;height:7px;border-radius:50%;background:#b9c5d3;border:2px solid #fff;box-shadow:0 0 0 1px #cfd8e2
}
.prep-rundown-row.is-active .prep-time-rail:after{background:var(--prep-accent);box-shadow:0 0 0 2px #dfe8ff}
.prep-rundown-row.is-current-copy .prep-time-rail:before{
  content:'COPY';font-size:8.5px;font-weight:900;letter-spacing:.08em;color:#315fc7;position:absolute;left:15px;bottom:9px
}
.prep-time-rail time{font-size:23px;letter-spacing:-.6px}
.prep-time-rail span{font-size:9.5px;max-width:72px}
.prep-link-main{padding:19px 24px 14px}
.prep-link-kicker{font-size:11px;color:#7a8899;min-height:18px}
.prep-link-main h2{
  font-size:22px!important;
  line-height:1.18!important;
  margin:3px 0 9px!important;
  letter-spacing:-.35px!important;
  max-width:1100px;
}
.prep-modern .bodycopy,.prep-modern .prep-spoken-copy.rich-presenter-copy{
  font-size:16.5px!important;
  line-height:1.62!important;
  color:#25364b!important;
}
.prep-modern .prep-spoken-copy.rich-presenter-copy{max-width:1120px!important;margin-bottom:9px!important}
.prep-modern .coming-up-block{
  margin:9px 0;
  padding:8px 11px;
  border-left-width:2px;
  background:#f1f5ff;
  font-size:13.5px;
}
.prep-source-details{margin-top:6px;font-size:11.5px}
.prep-source-details>summary{
  display:inline-flex;align-items:center;min-height:25px;padding:3px 7px;border-radius:6px;background:#f3f6f9;color:#728196
}
.prep-source-details.is-verified>summary{background:#edf8f4;color:#21735d}
.prep-source-details.is-unverified>summary{background:#fff5e6;color:#9a630d}
.linked-stage-note{font-size:11.5px;padding:7px 9px;margin-top:7px}

/* Tooling should read as a quiet control shelf, not another content block. */
.prep-actionbar{
  gap:1px;
  margin-top:10px;
  padding-top:8px;
  border-top:1px solid #e7ecf2;
  opacity:.82;
  transition:opacity .15s ease;
}
.prep-rundown-row:hover .prep-actionbar,.prep-rundown-row.is-active .prep-actionbar{opacity:1}
.prep-tool>summary{
  min-height:30px;
  padding:5px 8px;
  border-radius:6px;
  font-size:11.5px;
  font-weight:780;
  color:#607086;
}
.prep-tool>summary:hover,.prep-tool[open]>summary{background:#edf3fb;color:#2457be}
.prep-more-tool>summary{font-size:15px}
.action-state-dot{width:5px;height:5px;background:var(--prep-accent)}

/* Drawer polish: stronger context header, calmer forms, slightly wider work area. */
.prep-tool[open]::before{background:rgba(8,19,34,.31);backdrop-filter:blur(2px)}
.prep-tool-drawer{width:min(560px,94vw);background:#f6f8fb;box-shadow:-24px 0 70px rgba(10,23,41,.22)}
.prep-drawer-head{padding:18px 22px 15px;background:linear-gradient(145deg,#17263d,#102036)}
.prep-drawer-head h3{font-size:22px}
.prep-drawer-body{padding:19px 22px 32px;gap:16px}
.prep-tool-section{gap:10px;padding-bottom:16px}
.prep-tool-section h4{font-size:11.5px;color:#64748b}
.prep-current-preview{background:#fff;border-color:#d8e1ed;box-shadow:0 2px 7px rgba(20,34,55,.035)}
.prep-variant-grid{gap:6px}

@media(max-width:900px){
  .prep-showbar{padding:9px 11px}
  .prep-timeline{top:112px}
  .prep-rundown-row{grid-template-columns:82px minmax(0,1fr)}
  .prep-time-rail{padding:18px 10px 16px 12px}
  .prep-time-rail:after{top:25px}
  .prep-time-rail time{font-size:20px}
  .prep-link-main{padding:17px 17px 13px}
  .prep-link-main h2{font-size:21px!important}
}
@media(max-width:640px){
  .prep-showbar{border-radius:11px}
  .prep-title-line h1{font-size:29px!important}
  .prep-timeline{border-radius:9px}
  .prep-rundown-row{display:block}
  .prep-time-rail{padding:10px 14px}
  .prep-time-rail:after,.prep-rundown-row.is-current-copy .prep-time-rail:before{display:none}
  .prep-actionbar{opacity:1;gap:2px}
  .prep-tool>summary{font-size:11.5px;padding:6px 8px}
}
@media print{
  .prep-rundown-row.is-active{box-shadow:none!important;background:#fff!important}
  .prep-time-rail:after,.prep-rundown-row.is-current-copy .prep-time-rail:before{display:none!important}
}

/* ========================================================================== 
   v4.2.44 — Structure / Show Clock console redesign
   Structure is now treated as a production clock, not a stack of form cards.
   ========================================================================== */
.structure-console,.structure-settings-page{width:100%;max-width:none}
.structure-console-head{
  display:grid;grid-template-columns:minmax(0,1fr) auto;gap:20px 28px;align-items:center;
  padding:25px 27px 0;border-radius:18px 18px 14px 14px;
  background:linear-gradient(132deg,#132137 0%,#172c49 62%,#1a3556 100%);
  color:#fff;border:1px solid #253a57;box-shadow:0 12px 30px rgba(15,29,48,.13);overflow:hidden;
}
.structure-console-head .eyebrow{color:#8eb1ff;margin-bottom:7px}.structure-console-head h1{color:#fff!important;font-size:38px!important;letter-spacing:-1.25px!important;margin:0 0 5px!important}.structure-console-head p{margin:0;color:#b9c8da;font-size:13.5px}
.structure-console-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.structure-console-actions form{margin:0}.structure-console-actions .button,.structure-console-actions button{background:#213654!important;border-color:#314966!important;color:#eef5ff!important;box-shadow:none!important}.structure-console-actions .button:hover,.structure-console-actions button:hover{background:#294261!important;border-color:#3c5879!important}.structure-console-actions .primary{background:#3b6eea!important;border-color:#3b6eea!important;color:#fff!important}.structure-console-actions .primary:hover{background:#4b7df0!important}.structure-console-actions button:disabled{opacity:.58;cursor:default;transform:none!important}
.clock-head-more{position:relative}.clock-head-more>summary{list-style:none;min-width:43px;padding-left:12px!important;padding-right:12px!important}.clock-head-more>summary::-webkit-details-marker{display:none}.clock-head-menu{position:absolute;right:0;top:48px;z-index:30;width:210px;padding:7px;background:#fff;border:1px solid #d6e0ea;border-radius:12px;box-shadow:0 16px 34px rgba(16,32,54,.17);display:grid}.clock-head-menu a{padding:10px 11px;border-radius:8px;text-decoration:none;color:#26364d;font-size:13px;font-weight:680}.clock-head-menu a:hover{background:#eef3f8;color:#19345c}
.clock-kpi-strip{grid-column:1/-1;display:flex;align-items:stretch;margin:2px -27px 0;background:rgba(5,15,30,.24);border-top:1px solid rgba(255,255,255,.08)}.clock-kpi-strip span{display:grid;grid-template-columns:auto 1fr;align-items:baseline;gap:7px;padding:11px 18px;border-right:1px solid rgba(255,255,255,.075)}.clock-kpi-strip b{font-family:'Space Grotesk',Inter,sans-serif;font-size:17px;color:#fff}.clock-kpi-strip small{font-size:10.5px;letter-spacing:.04em;text-transform:uppercase;color:#8fa0b7;font-weight:740}.clock-kpi-strip .fixed-kpi b{color:#93b4ff}.clock-kpi-strip .floating-kpi b{color:#63d3c9}
.clock-utilitybar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 4px 11px;border-bottom:1px solid #ccd7e3;margin-bottom:0}.clock-day-filter{display:flex;align-items:center;gap:5px}.clock-day-filter>span{font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:#77869a;font-weight:820;margin-right:4px}.clock-day-filter button{min-height:30px!important;padding:5px 10px!important;border-radius:8px!important;background:transparent!important;border:1px solid transparent!important;box-shadow:none!important;color:#66768a!important;font-size:12px!important}.clock-day-filter button:hover{background:#dfe7f0!important;color:#24354d!important;transform:none!important}.clock-day-filter button.active{background:#17263d!important;border-color:#17263d!important;color:#fff!important}.clock-utility-right{display:flex;align-items:center;gap:9px;flex-wrap:wrap;justify-content:flex-end}.clock-legend{display:inline-flex;align-items:center;gap:6px;font-size:11px;color:#637287;font-weight:700}.clock-legend:before{content:'';width:8px;height:8px;border-radius:50%;background:#6f97ff}.clock-legend.floating:before{background:#19aaa2}.clock-inline-help{position:relative}.clock-inline-help>summary{cursor:pointer;list-style:none;font-size:11.5px;font-weight:760;color:#41618d;padding-left:6px}.clock-inline-help>summary::-webkit-details-marker{display:none}.clock-inline-help>div{position:absolute;right:0;top:27px;z-index:25;width:min(420px,75vw);padding:14px 16px;background:#fff;border:1px solid #cfdae6;border-radius:12px;box-shadow:0 14px 34px rgba(23,39,64,.14)}.clock-inline-help p{margin:0 0 8px;font-size:12.5px;line-height:1.55}.clock-inline-help p:last-child{margin-bottom:0}
.clock-insight-panel{margin:12px 0 0;background:#f6f9fd;border:1px solid #cedae7;border-radius:13px;overflow:visible}.clock-insight-panel>summary{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:11px 13px;cursor:pointer;list-style:none}.clock-insight-panel>summary::-webkit-details-marker{display:none}.clock-insight-panel>summary>div{display:flex;align-items:center;gap:10px}.clock-insight-panel>summary span span{display:grid}.clock-insight-panel>summary strong{font-size:13px;color:#24364f}.clock-insight-panel>summary small{font-size:11px;color:#7b899b}.clock-insight-panel>summary>b{font-size:10px;text-transform:uppercase;letter-spacing:.07em;color:#4d6ea3;background:#e6eefb;padding:5px 8px;border-radius:999px}.insight-icon{display:grid!important;place-items:center;width:28px;height:28px;border-radius:8px;background:#e8efff;color:#3f6bcc;font-size:14px}.clock-insight-panel .clock-review-body{border-top:1px solid #dce4ed;background:#fff;border-radius:0 0 13px 13px}.review-note-block{padding:4px 0}.review-note-block ul{margin:.45rem 0 .8rem 1.1rem}
.clock-health-alert{display:flex;justify-content:space-between;gap:14px;align-items:center;margin:12px 0 0;padding:11px 13px;border:1px solid #ead9aa;background:#fff8e8;border-radius:12px;color:#614b17}.clock-health-alert>div:first-child{display:flex;align-items:center;gap:10px}.clock-health-alert span span{display:grid}.clock-health-alert strong{font-size:13px}.clock-health-alert small{font-size:11px;color:#826e3b}.alert-icon{display:grid!important;place-items:center;width:27px;height:27px;border-radius:8px;background:#f2d77f;color:#624800;font-weight:900}.clock-health-alert details{position:relative}.clock-health-alert summary{cursor:pointer;font-size:12px;font-weight:780}.clock-health-alert details>div{position:absolute;right:0;top:28px;z-index:20;width:min(480px,80vw);padding:14px;background:#fff;border:1px solid #dfcf9f;border-radius:11px;box-shadow:0 12px 28px rgba(70,52,10,.12)}.clock-health-alert ul{margin:0 0 12px 1rem;padding:0;font-size:12px}
.clock-editor{margin-top:12px;border:1px solid #cbd6e2;border-radius:15px;overflow:visible;background:#e5ecf4;box-shadow:0 7px 22px rgba(22,38,60,.045)}.clock-editor-head{display:grid;grid-template-columns:104px minmax(175px,.95fr) 145px minmax(260px,1.45fr) 44px;gap:12px;padding:10px 13px;background:#d6e0eb;border-radius:14px 14px 0 0;border-bottom:1px solid #c7d3df;color:#6e7d91;font-size:9.5px;text-transform:uppercase;letter-spacing:.08em;font-weight:850}.clock-editor-body{position:relative;padding:0 7px 7px}.clock-hour-divider{height:31px;display:flex;align-items:center;padding:0 7px;border-bottom:1px solid #ccd6e1}.clock-hour-divider span{font-size:10px;letter-spacing:.1em;text-transform:uppercase;color:#728095;font-weight:850}.clock-console-row{position:relative;display:grid;grid-template-columns:104px minmax(175px,.95fr) 145px minmax(260px,1.45fr) 44px;gap:12px;align-items:center;background:#fbfcfe;border:1px solid #d2dce7;border-radius:10px;margin:7px 0 0;padding:9px 11px 9px 8px;transition:border-color .14s,box-shadow .14s,background .14s}.clock-console-row:before{content:'';position:absolute;left:0;top:8px;bottom:8px;width:3px;border-radius:0 3px 3px 0;background:#6f97ff}.clock-console-row.is-floating:before{background:#18a9a1}.clock-console-row:hover{border-color:#b7c6d7;background:#fff;box-shadow:0 5px 14px rgba(19,37,62,.055)}.clock-console-row.is-dirty{border-color:#83a5e8;box-shadow:0 0 0 2px rgba(59,110,234,.08)}.clock-console-row[hidden]{display:none!important}.clock-timeline-cell{position:relative;display:flex;align-items:center;padding-left:17px}.clock-timeline-cell i{position:absolute;left:1px;width:9px;height:9px;border-radius:50%;background:#6f97ff;border:2px solid #fbfcfe;box-shadow:0 0 0 2px #a9bfe9}.clock-console-row.is-floating .clock-timeline-cell i{background:#18a9a1;box-shadow:0 0 0 2px #9edbd7}.clock-timeline-cell input{font-family:'Space Grotesk',Inter,sans-serif;font-size:15px!important;font-weight:760!important;color:#172840!important;padding:8px 8px!important;border-color:#d5dee8!important;background:#fff!important}.clock-console-field{margin:0!important}.clock-console-field select,.clock-console-field input{margin:0!important;padding:8px 10px!important;font-size:13px!important;border-radius:8px!important;background:#fff!important}.behaviour-select select{font-weight:720;color:#36588c}.clock-console-row.is-floating .behaviour-select select{color:#177f7a}.clock-purpose-cell{min-width:0;display:grid;gap:6px}.clock-mapping-line{display:flex;align-items:center;gap:5px;flex-wrap:wrap;min-width:0}.mapping-dot{width:7px;height:7px;border-radius:50%;background:#3b6eea}.feature-stage-badge{display:inline-flex!important;align-items:center!important;width:max-content!important;max-width:100%;white-space:normal!important;padding:4px 7px!important;border-radius:6px!important;background:#e8f0ff!important;border:1px solid #d3e0fb!important;color:#365a98!important;font-size:10.5px!important;font-weight:720!important}.clock-row-tools{display:flex;align-items:center;justify-content:flex-end;gap:5px}.dirty-dot{display:none;width:7px;height:7px;border-radius:50%;background:#3b6eea}.clock-console-row.is-dirty .dirty-dot{display:inline-block}.clock-row-menu{position:relative}.clock-row-menu>summary{list-style:none;cursor:pointer;width:31px;height:31px;display:grid;place-items:center;border-radius:8px;color:#68778a;font-weight:850;letter-spacing:1px}.clock-row-menu>summary::-webkit-details-marker{display:none}.clock-row-menu>summary:hover{background:#e8eef5;color:#22354d}.clock-row-menu>div{position:absolute;right:0;top:35px;z-index:30;width:180px;padding:6px;background:#fff;border:1px solid #d3dce6;border-radius:10px;box-shadow:0 13px 30px rgba(15,32,55,.15)}.clock-row-menu form{margin:0}.menu-action{display:flex!important;width:100%;min-height:0!important;padding:9px 10px!important;border:0!important;border-radius:7px!important;background:transparent!important;box-shadow:none!important;justify-content:flex-start!important;color:#32455f!important;font-size:12px!important}.menu-action:hover{background:#eef3f8!important;transform:none!important}.menu-action.danger{color:#a9353f!important}.mobile-field-label{display:none}.clock-row-more{grid-column:1/-1;border-top:1px solid #e1e7ee!important;padding:7px 3px 0!important;margin:1px 0 0!important}.clock-row-more>summary{display:flex!important;justify-content:space-between!important;align-items:center!important;list-style:none;cursor:pointer;color:#647389!important}.clock-row-more>summary::-webkit-details-marker{display:none}.clock-row-more>summary:before{display:none!important}.clock-row-more>summary>span{display:flex;align-items:center;gap:7px}.clock-row-more>summary strong{font-size:11px!important}.clock-row-more>summary b{font-size:9px;padding:3px 6px;border-radius:999px;background:#edf1f5;color:#667487}.clock-row-more>summary .advanced-on-label{background:#e8efff;color:#3c62b6}.clock-row-more>summary em{font-style:normal;font-size:14px;transition:transform .15s}.clock-row-more[open]>summary em{transform:rotate(180deg)}.clock-more-body{padding:11px 4px 3px!important;gap:12px!important}.clock-notes-inside{font-size:11.5px!important}.clock-notes-inside small{color:#8b97a7;font-weight:550;margin-left:4px}.advanced-clock-grid{border:1px solid #dbe3ec!important;background:#f3f7fa!important;border-radius:10px!important;padding:12px!important}.advanced-override-switch{padding:8px 10px!important;border:1px solid #d8e1eb;border-radius:9px;background:#fff}.advanced-override-switch strong{font-size:11.5px!important}.advanced-override-switch small{font-size:10px!important}.clock-console-row .daychips span{font-size:10px!important}
.clock-unsaved-bar{position:sticky;z-index:35;bottom:14px;margin:13px auto 0;width:min(720px,calc(100% - 30px));display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 12px 10px 14px;border-radius:13px;background:#14243a;color:#fff;border:1px solid #243c5d;box-shadow:0 13px 32px rgba(11,27,48,.2)}.clock-unsaved-bar[hidden]{display:none!important}.clock-unsaved-bar>div{display:grid;grid-template-columns:auto 1fr;column-gap:9px;align-items:center}.clock-unsaved-bar strong{font-size:12.5px}.clock-unsaved-bar small{grid-column:2;font-size:10px;color:#94a8c2}.dirty-pulse{grid-row:1/3;width:9px;height:9px;border-radius:50%;background:#6f97ff;box-shadow:0 0 0 4px rgba(111,151,255,.13)}.clock-unsaved-bar .primary{min-height:36px!important;padding:7px 12px!important;font-size:12px!important}
.clock-danger-zone{margin-top:13px;border-top:1px solid #cbd6e1;padding:12px 4px}.clock-danger-zone>summary{cursor:pointer;list-style:none;color:#7a8797;font-size:11.5px;font-weight:720}.clock-danger-zone>summary::-webkit-details-marker{display:none}.clock-danger-zone>div{margin-top:10px;padding:13px;border:1px solid #dfc8ca;background:#fffafb;border-radius:11px}.clock-danger-zone p{margin:0 0 11px;font-size:12px}.clock-danger-zone .management-actions{margin:0}
.clock-empty-state{display:grid;grid-template-columns:58px 1fr;gap:18px;align-items:start;margin-top:18px;padding:30px;border:1px dashed #b9c8d9;border-radius:15px;background:#f6f9fc}.empty-clock-mark{display:grid;place-items:center;width:52px;height:52px;border-radius:14px;background:#e7effc;color:#3e69c7;font-size:27px}.clock-empty-state h2{margin:0 0 5px!important}.clock-empty-state p{margin:0 0 14px}
.clock-add-modal .module-modal-shell{width:min(920px,calc(100vw - 36px))}.clock-add-modal .must-modal-head p{margin:4px 0 0;font-size:12.5px}.clock-add-core{display:grid;grid-template-columns:115px minmax(180px,1fr) 155px minmax(230px,1.25fr);gap:13px}.clock-add-core label{margin:0}.clock-add-core small{font-size:10px;color:#8996a7;line-height:1.3}.clock-add-more{margin-top:14px;border:1px solid #d8e1eb;border-radius:11px;background:#f7f9fc}.clock-add-more>summary{padding:11px 13px;cursor:pointer;font-size:12px;font-weight:750;color:#5d6d82}.clock-add-more>div{padding:0 13px 13px;display:grid;gap:12px}

/* Structure mode/settings page */
.structure-settings-head{display:flex;align-items:flex-end;justify-content:space-between;gap:22px;margin-bottom:18px}.structure-settings-head h1{font-size:39px!important;margin-bottom:5px!important}.structure-settings-head p{margin:0;max-width:760px;font-size:14px}
.structure-mode-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.structure-mode-card{position:relative;display:grid;grid-template-columns:38px 1fr;grid-template-rows:1fr auto;gap:10px 11px;padding:17px;border:1px solid #cfdae6;border-radius:14px;background:#f7fafc;min-height:192px}.structure-mode-card.active{background:#f5f8ff;border-color:#8faeed;box-shadow:0 0 0 2px rgba(59,110,234,.08)}.structure-mode-icon{grid-row:1/3;display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:#e5edf6;color:#47617f;font-size:20px}.structure-mode-card.active .structure-mode-icon{background:#3b6eea;color:#fff}.mode-kicker{font-size:9.5px;letter-spacing:.09em;text-transform:uppercase;color:#77869a;font-weight:850}.structure-mode-card h2{font-size:18px!important;margin:2px 0 6px!important}.structure-mode-card p{font-size:12.5px;line-height:1.5;margin:0}.structure-mode-card form,.structure-current{grid-column:2;align-self:end}.structure-mode-card form{margin:0}.structure-mode-card form button{min-height:34px!important;padding:7px 10px!important;font-size:11.5px!important}.structure-current{font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:#3c63b9;font-weight:850}
.timed-structure-summary{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(380px,.85fr);gap:22px;margin-top:15px;padding:23px;border:1px solid #d1dce7;border-radius:15px;background:#f9fbfd}.timed-summary-main h2{font-size:28px!important;margin:2px 0 7px!important}.timed-summary-main p{font-size:13.5px;max-width:680px}.timed-summary-stats{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.timed-summary-stats span{display:grid;align-content:center;padding:12px 13px;border:1px solid #d7e1eb;border-radius:10px;background:#edf3f8}.timed-summary-stats span:last-child{grid-column:1/-1}.timed-summary-stats b{font-family:'Space Grotesk',Inter,sans-serif;font-size:19px;color:#1d3554}.timed-summary-stats small{font-size:9.5px;text-transform:uppercase;letter-spacing:.07em;color:#77869a;font-weight:800}.structure-principle{display:grid;grid-template-columns:110px 1fr;gap:15px;margin-top:10px;padding:12px 14px;border-left:3px solid #18a9a1;background:#eaf6f5;border-radius:0 9px 9px 0}.structure-principle strong{font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:#217d78}.structure-principle span{font-size:12.5px;color:#4d6870}
.structure-sequence-workspace{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(290px,.5fr);gap:14px;margin-top:15px}.sequence-settings-panel,.sequence-evidence-panel,.learned-sequence-panel{background:#f8fafc;border:1px solid #d1dbe6;border-radius:14px;padding:19px}.section-title-row{display:flex;justify-content:space-between;align-items:flex-start;gap:14px}.section-title-row h2{margin:2px 0 5px!important}.section-title-row p{margin:0;font-size:12.5px}.sequence-settings-form{display:grid;grid-template-columns:170px 1fr;gap:13px;margin-top:16px}.sequence-settings-form label{margin:0}.sequence-guidance{grid-column:2}.sequence-advanced{grid-column:1/-1;border-top:1px solid #dce4ed;padding-top:10px}.sequence-advanced>summary{cursor:pointer;font-size:11.5px;color:#5c6d83;font-weight:750}.sequence-advanced>div{margin-top:10px;max-width:380px}.sequence-savebar{grid-column:1/-1;display:flex;justify-content:flex-end;gap:8px;border-top:1px solid #dce4ed;padding-top:12px}.sequence-evidence-panel h2{font-size:22px!important}.sequence-evidence-panel .reference-list{margin:11px 0 14px}.learned-sequence-panel{margin-top:14px}.learned-sequence-notes{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:15px 0}.learned-sequence-notes>div{padding:13px;border-radius:10px;background:#edf3f8;border:1px solid #d9e2eb}.learned-sequence-notes strong{font-size:12px}.learned-sequence-notes ul{margin:.5rem 0 0 1rem;font-size:12px;color:#56677d}.blueprint-head{padding-top:13px;border-top:1px solid #d9e2eb}.blueprint-head h3{margin:0}.blueprint-head p{margin:3px 0 10px;font-size:12px}.structure-blueprint-table{min-width:1120px!important}.structure-blueprint-table th{background:#dce5ee!important}.structure-blueprint-table td{background:#fbfcfe!important}.blueprint-save{justify-content:flex-end;margin-top:11px}

@media(max-width:1180px){
  .structure-console-head{grid-template-columns:1fr}.structure-console-actions{justify-content:flex-start}.clock-kpi-strip{grid-column:1}.clock-editor-head,.clock-console-row{grid-template-columns:94px minmax(150px,.9fr) 135px minmax(210px,1.2fr) 40px}.structure-mode-grid{grid-template-columns:1fr}.structure-mode-card{min-height:0}.timed-structure-summary,.structure-sequence-workspace{grid-template-columns:1fr}.sequence-evidence-panel{display:block}
}
@media(max-width:760px){
  .structure-console-head{padding:19px 17px 0}.structure-console-head h1{font-size:31px!important}.structure-console-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}.structure-console-actions>*{width:100%}.structure-console-actions form button,.structure-console-actions .button,.structure-console-actions>button{width:100%}.clock-head-more{display:none}.clock-kpi-strip{margin:2px -17px 0;overflow-x:auto}.clock-kpi-strip span{min-width:max-content;padding:10px 13px}.clock-utilitybar{align-items:flex-start;flex-direction:column}.clock-day-filter{max-width:100%;overflow-x:auto;padding-bottom:2px}.clock-utility-right{justify-content:flex-start}.clock-editor{border-radius:12px}.clock-editor-head{display:none}.clock-editor-body{padding:0 6px 6px}.clock-hour-divider{height:29px}.clock-console-row{grid-template-columns:100px 1fr 36px;gap:9px;padding:10px}.clock-timeline-cell{grid-column:1}.clock-console-row>.clock-console-field:nth-of-type(1){grid-column:2}.behaviour-select{grid-column:1}.clock-purpose-cell{grid-column:2}.clock-row-tools{grid-column:3;grid-row:1/3;align-self:center}.clock-row-more{grid-column:1/-1!important}.mobile-field-label{display:block;font-size:8.5px!important;text-transform:uppercase;letter-spacing:.06em;color:#8190a4;margin-bottom:3px}.clock-timeline-cell{padding-left:13px}.clock-timeline-cell i{left:-1px}.clock-unsaved-bar{bottom:8px;width:calc(100% - 12px)}.clock-add-core{grid-template-columns:1fr 1fr}.clock-add-core label:last-child{grid-column:1/-1}.structure-settings-head{align-items:flex-start;flex-direction:column}.timed-summary-stats{grid-template-columns:1fr 1fr}.sequence-settings-form{grid-template-columns:1fr}.sequence-guidance,.sequence-advanced,.sequence-savebar{grid-column:1}.learned-sequence-notes{grid-template-columns:1fr}
}
@media(max-width:480px){
  .structure-console-actions{grid-template-columns:1fr}.clock-console-row{grid-template-columns:1fr 34px}.clock-timeline-cell,.clock-console-row>.clock-console-field:nth-of-type(1),.behaviour-select,.clock-purpose-cell{grid-column:1}.clock-row-tools{grid-column:2;grid-row:1/5}.clock-timeline-cell{padding-left:17px}.clock-add-core{grid-template-columns:1fr}.clock-add-core label:last-child{grid-column:auto}.clock-kpi-strip small{font-size:9px}.timed-summary-stats{grid-template-columns:1fr}.timed-summary-stats span:last-child{grid-column:auto}.structure-principle{grid-template-columns:1fr;gap:4px}
}

/* ================================================================
   v4.2.45 — Current Copy modal: one full-height workspace scroll
   ----------------------------------------------------------------
   The previous modal used a flex-scrolling main form inside an
   overflow-hidden shell. Day/date overrides sit after that form, so long
   Current Copy records could leave whole sections clipped beneath a small
   nested scroll area. Current Copy now behaves as one continuous editor:
   sticky header, natural document flow, one viewport scrollbar.
   ================================================================ */
.must-modal{
  width:min(1280px,calc(100vw - 32px))!important;
  height:96dvh!important;
  max-height:96dvh!important;
  overflow:hidden!important;
}
.must-modal-shell{
  width:100%!important;
  height:96dvh!important;
  max-height:96dvh!important;
  display:block!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  overscroll-behavior:contain;
  scrollbar-gutter:stable;
  background:#f1f5f9;
}
.must-modal-head{
  position:sticky!important;
  top:0;
  z-index:40!important;
  width:100%;
  box-sizing:border-box;
  box-shadow:0 8px 18px rgba(8,20,37,.14);
}
.must-modal-form{
  display:grid!important;
  width:100%!important;
  height:auto!important;
  max-height:none!important;
  min-height:0!important;
  overflow:visible!important;
  flex:none!important;
  box-sizing:border-box;
}
.must-modal-actions{
  position:static!important;
  bottom:auto!important;
  margin-top:18px!important;
  padding:18px 0 2px!important;
  box-shadow:none!important;
  border-top:1px solid #d8e0e9!important;
}
.current-copy-overrides-section{
  margin:0!important;
  padding:24px 27px 34px!important;
  background:#eaf0f6!important;
  border-top:1px solid #cad6e2!important;
  box-sizing:border-box;
}
.current-copy-overrides-section>.override-section-head{
  max-width:1120px;
}
/* A modal should not contain another tiny scrolling viewport. Let these
   potentially long lists participate in the modal's single main scroll. */
.must-modal .clock-exclusion-grid{
  max-height:none!important;
  overflow:visible!important;
}
.must-modal #copy-text,
.must-modal #upload-preview-text{
  min-height:220px;
  resize:vertical;
}
.must-modal .current-copy-override-card[open]>.override-card-body{
  overflow:visible!important;
}
@media(max-width:760px){
  .must-modal{
    width:calc(100vw - 8px)!important;
    height:97dvh!important;
    max-height:97dvh!important;
  }
  .must-modal-shell{
    height:97dvh!important;
    max-height:97dvh!important;
  }
  .current-copy-overrides-section{padding:18px 15px 26px!important}
  .must-modal #copy-text,.must-modal #upload-preview-text{min-height:180px}
}

/* ==========================================================
   v4.2.46 — Features: Feature Control Room
   ========================================================== */
.feature-control-room{max-width:none!important}.feature-control-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:28px;padding:4px 2px 18px;border-bottom:1px solid #cbd6e2}.feature-control-hero h1{margin:3px 0 5px!important;font-size:31px!important;letter-spacing:-.035em!important}.feature-control-hero p{margin:0;max-width:820px;color:#6e7d91;font-size:13px;line-height:1.55}.feature-new-button{min-width:132px}
.feature-control-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:1px;margin:14px 0 16px;border:1px solid #cbd6e2;border-radius:12px;overflow:hidden;background:#cbd6e2}.feature-control-stats>div{display:flex;align-items:baseline;gap:8px;padding:11px 14px;background:#f6f8fb}.feature-control-stats strong{font-family:'Space Grotesk',Inter,sans-serif;font-size:19px;color:#172840}.feature-control-stats span{font-size:10px;text-transform:uppercase;letter-spacing:.07em;color:#728095;font-weight:800}
.feature-clock-inbox{margin:0 0 16px;border:1px solid #cbd7e5;border-radius:12px;background:#edf3fb;overflow:hidden}.feature-clock-inbox>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:12px 15px;cursor:pointer}.feature-clock-inbox>summary::-webkit-details-marker{display:none}.feature-clock-inbox>summary>span{display:grid;grid-template-columns:26px auto;column-gap:8px;align-items:center}.feature-clock-inbox>summary b{grid-row:1/3;display:grid;place-items:center;width:26px;height:26px;border-radius:7px;background:#3b6eea;color:#fff;font-size:11px}.feature-clock-inbox>summary strong{font-size:12.5px;color:#263c59}.feature-clock-inbox>summary small{font-size:10.5px;color:#77869a;margin-top:1px}.feature-clock-inbox>summary em{font-style:normal;font-size:11px;color:#3d62bd;font-weight:800}.feature-clock-inbox-body{padding:0 15px 14px;border-top:1px solid #d8e2ed}.feature-clock-inbox-top{display:flex;align-items:center;justify-content:space-between;gap:20px}.feature-clock-inbox-top p{font-size:11px;color:#718096;margin:11px 0}.feature-clock-inbox .clock-label-candidate-grid{grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:7px}.feature-clock-inbox .clock-label-candidate{padding:9px 10px;border:1px solid #d7e1ec;background:#fff;border-radius:9px}
.feature-library-console{border:1px solid #cbd6e2;border-radius:14px;background:#eef2f6;overflow:visible}.feature-library-toolbar{position:sticky;top:0;z-index:15;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 11px;border-radius:13px 13px 0 0;border-bottom:1px solid #cbd6e2;background:rgba(238,242,246,.96);backdrop-filter:blur(8px)}.feature-search-wrap{display:flex;align-items:center;gap:7px;min-width:240px;max-width:360px;flex:1;background:#fff;border:1px solid #cbd6e2;border-radius:9px;padding:0 9px}.feature-search-wrap span{font-size:18px;color:#8290a2;line-height:1}.feature-search-wrap input{border:0!important;box-shadow:none!important;background:transparent!important;padding:8px 2px!important;margin:0!important;font-size:12.5px!important}.feature-filter-set{display:flex;align-items:center;gap:4px;flex-wrap:wrap}.feature-filter-set button{min-height:0!important;padding:7px 9px!important;border:1px solid transparent!important;background:transparent!important;color:#6b7b90!important;border-radius:8px!important;font-size:10.5px!important;font-weight:800!important;box-shadow:none!important}.feature-filter-set button:hover{background:#e3e9f0!important;transform:none!important}.feature-filter-set button.is-active{background:#172840!important;color:#fff!important}.feature-filter-set button b{font-size:9px;opacity:.7;margin-left:3px}
.feature-board-head{display:grid;grid-template-columns:minmax(240px,1.25fr) minmax(270px,1.45fr) minmax(130px,.65fr) minmax(150px,.75fr) 92px;gap:16px;padding:9px 14px 7px;color:#7c8999;font-size:9px;font-weight:850;letter-spacing:.08em;text-transform:uppercase;border-bottom:1px solid #d4dde7}.feature-board{padding:6px}.feature-board-row{position:relative;display:grid;grid-template-columns:minmax(240px,1.25fr) minmax(270px,1.45fr) minmax(130px,.65fr) minmax(150px,.75fr) 92px;gap:16px;align-items:center;padding:11px 10px;background:#fff;border:1px solid #d4dde7;border-radius:9px;margin-bottom:5px;transition:border-color .14s,box-shadow .14s,opacity .14s}.feature-board-row:last-child{margin-bottom:0}.feature-board-row:hover{border-color:#adbed1;box-shadow:0 4px 13px rgba(21,39,62,.05)}.feature-board-row.is-disabled{opacity:.62}.feature-board-row[hidden]{display:none!important}.feature-board-identity{display:flex;align-items:center;gap:10px;min-width:0}.feature-type-mark{width:4px;height:38px;border-radius:3px;background:#6f8fcf;flex:0 0 auto}.feature-board-row[data-feature-type="weather"] .feature-type-mark{background:#4c91d8}.feature-board-row[data-feature-type="travel"] .feature-type-mark{background:#18a9a1}.feature-board-row[data-feature-type="sport"] .feature-type-mark{background:#6f75c9}.feature-board-row[data-feature-type="local_events"] .feature-type-mark,.feature-board-row[data-feature-type="local_stories"] .feature-type-mark{background:#d08b42}.feature-board-row[data-feature-type="entertainment"] .feature-type-mark,.feature-board-row[data-feature-type="showbiz"] .feature-type-mark{background:#b36fba}.feature-board-row[data-feature-type="community"] .feature-type-mark{background:#6ba16e}.feature-name-line{display:flex;align-items:center;gap:7px;min-width:0}.feature-name-line strong{font-size:13.5px;color:#1d3049;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.feature-board-identity small,.feature-board-plan small,.feature-board-frequency small{display:block;margin-top:2px;color:#8190a2;font-size:10.5px;line-height:1.35}.feature-board-plan,.feature-board-frequency{min-width:0}.feature-board-plan>strong,.feature-board-frequency>strong{font-size:11.5px;color:#354b67}.feature-stage-mini{display:flex;gap:4px;margin-top:5px;overflow:hidden}.feature-stage-mini span{display:inline-flex;align-items:center;gap:4px;min-width:0;padding:3px 5px;border-radius:5px;background:#edf2fa;color:#4e6480;font-size:9px;white-space:nowrap}.feature-stage-mini span b{font-size:8.5px;font-weight:700;overflow:hidden;text-overflow:ellipsis;max-width:80px}.feature-board-status{display:flex;gap:4px;flex-wrap:wrap}.status-tag{display:inline-flex;align-items:center;width:max-content;padding:3px 6px;border-radius:999px;background:#edf1f5;color:#66758a;font-size:8.5px;font-weight:850;letter-spacing:.03em;text-transform:uppercase}.status-tag.live{background:#e4f4ee;color:#2c775d}.status-tag.disabled{background:#f0e8ea;color:#8d5a64}.feature-board-actions{display:flex;align-items:center;justify-content:flex-end;gap:5px}.feature-open-button{min-height:0!important;padding:7px 10px!important;border:1px solid #b9c7d6!important;background:#f7f9fb!important;color:#314863!important;border-radius:7px!important;font-size:10.5px!important;font-weight:800!important;box-shadow:none!important}.feature-open-button:hover{background:#eaf0f6!important;transform:none!important}.feature-row-menu{position:relative}.feature-row-menu>summary{list-style:none;cursor:pointer;width:30px;height:30px;display:grid;place-items:center;border-radius:7px;color:#758398;font-weight:850;letter-spacing:1px}.feature-row-menu>summary::-webkit-details-marker{display:none}.feature-row-menu>summary:hover{background:#e9eef4;color:#22364e}.feature-row-menu>div{position:absolute;right:0;top:34px;z-index:40;width:150px;padding:5px;background:#fff;border:1px solid #d1dbe6;border-radius:9px;box-shadow:0 12px 28px rgba(15,31,52,.16)}.feature-row-menu form{margin:0}.feature-row-menu button{display:block!important;width:100%;min-height:0!important;padding:8px 9px!important;text-align:left!important;border:0!important;background:transparent!important;color:#334963!important;font-size:10.5px!important;border-radius:6px!important;box-shadow:none!important}.feature-row-menu button:hover{background:#eef3f7!important;transform:none!important}.feature-row-menu button.danger{color:#a33e48!important}.feature-no-results,.feature-empty-library{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:28px;background:#f8fafc;border-radius:0 0 13px 13px;color:#5f6f83}.feature-no-results{justify-content:center;flex-direction:column;gap:4px}.feature-empty-library strong,.feature-no-results strong{font-size:15px;color:#31465f}.feature-empty-library p{margin:4px 0 0;max-width:700px;font-size:11.5px;line-height:1.5}.feature-page-help{margin-top:12px;padding:0 2px;color:#718096}.feature-page-help>summary{cursor:pointer;font-size:10.5px;font-weight:800}.feature-page-help p{font-size:11px;line-height:1.55;max-width:900px}
/* feature editor: one full-height scroll */
.feature-control-modal{width:min(1320px,calc(100vw - 26px))!important;max-width:none!important;max-height:96vh!important;padding:0!important;background:transparent!important;border:0!important;overflow:hidden!important}.feature-control-shell{width:100%!important;max-width:none!important;height:min(94vh,980px);max-height:94vh!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;background:#edf1f5!important;border-radius:14px!important}.feature-editor-head{position:relative;z-index:10;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:15px 18px;background:#16263b;color:#fff;border-bottom:1px solid #26394f;flex:0 0 auto}.feature-editor-head h2{margin:2px 0 3px!important;color:#fff!important;font-size:22px!important}.feature-editor-head .eyebrow{color:#8fa8ca!important}.feature-editor-head-meta{display:flex;align-items:center;gap:7px;color:#aebdd0;font-size:10px}.feature-editor-head .status-tag.live{background:#173f37;color:#8ce1c2}.feature-editor-head .status-tag.disabled{background:#472e34;color:#e0aab5}.feature-editor-head .modal-close{color:#cbd7e6!important;background:transparent!important;border-color:#42536a!important}.feature-editor-scroll{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;scroll-behavior:smooth}.feature-editor-layout{display:grid;grid-template-columns:185px minmax(0,1fr);align-items:start;min-height:100%}.feature-editor-nav{position:sticky;top:0;display:grid;gap:3px;padding:15px 10px;background:#e5eaf0;border-right:1px solid #ccd6e1;min-height:calc(94vh - 78px)}.feature-editor-nav a{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:8px 9px;border-radius:7px;color:#5d6f85;text-decoration:none;font-size:10.5px;font-weight:750}.feature-editor-nav a:hover{background:#d7e0ea;color:#21364f}.feature-editor-nav a b{display:grid;place-items:center;min-width:18px;height:18px;border-radius:999px;background:#c8d4e0;font-size:8.5px}.feature-editor-main{min-width:0;padding:14px 16px 30px}.feature-primary-form{display:grid;gap:10px}.feature-editor-section{scroll-margin-top:12px;background:#fff;border:1px solid #d0d9e4;border-radius:11px;padding:16px 17px;box-shadow:none}.feature-section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:13px;padding-bottom:10px;border-bottom:1px solid #e4e9ef}.feature-section-heading>div{display:grid;grid-template-columns:26px auto;column-gap:8px;align-items:start}.feature-section-heading>div>span{grid-row:1/3;display:grid;place-items:center;width:26px;height:26px;border-radius:7px;background:#e9eff8;color:#4b68a4;font-family:'Space Grotesk',Inter,sans-serif;font-size:9px;font-weight:850}.feature-section-heading h3{margin:0!important;font-size:15px!important;color:#22364e}.feature-section-heading p{margin:2px 0 0!important;color:#7c8999!important;font-size:10.5px!important;line-height:1.4!important}.feature-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px 12px}.feature-form-grid label{margin:0!important}.feature-form-grid .span2{grid-column:1/-1}.feature-basics-grid{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) minmax(230px,.9fr)}.feature-switch-card{display:flex!important;align-items:center;justify-content:space-between;gap:14px;padding:9px 10px!important;border:1px solid #d8e0e9;border-radius:8px;background:#f7f9fb}.feature-switch-card span{display:grid;gap:2px}.feature-switch-card strong{font-size:10.5px;color:#334a65}.feature-switch-card small{font-size:9px;color:#8290a2;font-weight:500}.feature-switch-card input{width:18px!important;height:18px!important;margin:0!important}.placement-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.feature-option-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:10px}.feature-option-card{display:flex!important;align-items:flex-start;gap:8px;padding:9px 10px!important;border:1px solid #d8e0e9;border-radius:8px;background:#f8fafc;margin:0!important}.feature-option-card input{margin:2px 0 0!important;width:15px!important;height:15px!important;flex:0 0 auto}.feature-option-card span{display:grid;gap:2px}.feature-option-card strong{font-size:10.5px;color:#334a65}.feature-option-card small{font-size:9px;line-height:1.35;color:#8290a2;font-weight:500}.feature-inline-panel{display:grid;grid-template-columns:minmax(200px,.8fr) minmax(0,1.2fr);gap:14px;align-items:center;margin-top:10px;padding:10px 11px;border-radius:9px;background:#f3f6fa;border:1px solid #d9e1ea}.feature-inline-panel>div:first-child{display:grid;gap:2px}.feature-inline-panel>div:first-child strong{font-size:10.5px;color:#354b67}.feature-inline-panel>div:first-child small{font-size:9px;color:#8290a2}.feature-full-field{display:block!important;margin-top:10px!important}.feature-plan-note{margin-top:10px;padding:8px 10px;border-left:3px solid #5f84d4;background:#eef3fb;color:#5f6f83;font-size:10px;line-height:1.45}.feature-writing-brief{display:block!important}.feature-writing-brief textarea{min-height:126px!important;font-size:12.5px!important;line-height:1.5!important}.feature-primary-save{position:sticky;bottom:0;z-index:8;display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 -2px;padding:9px 11px;border:1px solid #ccd6e1;border-radius:9px;background:rgba(239,244,248,.96);backdrop-filter:blur(8px);box-shadow:0 -5px 15px rgba(24,42,64,.04)}.feature-primary-save span{font-size:9.5px;color:#79879a}.feature-primary-save .primary{min-width:110px}
.feature-plan-section,.feature-date-section{margin-top:10px}.feature-plan-flow{position:relative;display:grid;gap:6px}.feature-plan-flow:before{content:'';position:absolute;left:15px;top:25px;bottom:25px;width:1px;background:#cbd7e4}.feature-plan-step{position:relative;margin:0;border:1px solid #d6dfe8;border-radius:9px;background:#fbfcfd;overflow:visible}.feature-plan-step>summary{position:relative;z-index:1;display:grid;grid-template-columns:32px minmax(0,1fr) auto 18px;align-items:center;gap:9px;padding:9px 10px;list-style:none;cursor:pointer}.feature-plan-step>summary::-webkit-details-marker{display:none}.feature-plan-number{display:grid;place-items:center;width:29px;height:29px;border-radius:999px;background:#325fbd;color:#fff;font-size:9.5px;font-weight:850}.feature-plan-step>summary>div{display:grid;gap:1px;min-width:0}.feature-plan-step>summary strong{font-size:11.5px;color:#2d425c}.feature-plan-step>summary small{font-size:9.5px;color:#7e8c9d;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.feature-plan-pace{padding:3px 6px;border-radius:5px;background:#edf2f7;color:#68798e;font-size:8.5px;font-weight:750}.feature-plan-step>summary i{font-style:normal;color:#8c99a9;transition:transform .14s}.feature-plan-step[open]>summary i{transform:rotate(180deg)}.feature-plan-edit{padding:11px 13px 13px 51px;border-top:1px solid #e0e6ed;background:#f7f9fb}.feature-plan-edit .inline-delete{margin-top:6px}.feature-empty-plan{padding:13px 14px;border:1px dashed #c8d3df;border-radius:9px;background:#f8fafc}.feature-empty-plan strong{font-size:11.5px;color:#394f69}.feature-empty-plan p{font-size:10px;line-height:1.45;color:#7d8b9c;margin:3px 0 0}.feature-add-stage-modern{margin-top:8px;border:1px dashed #c8d4e1;border-radius:9px;background:#f9fbfc}.feature-add-stage-modern>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;padding:9px 11px;cursor:pointer}.feature-add-stage-modern>summary::-webkit-details-marker{display:none}.feature-add-stage-modern>summary strong{font-size:10.5px;color:#3d5f9b}.feature-add-stage-modern>summary span{font-size:9px;color:#8a96a5}.feature-add-stage-modern>form{padding:12px;border-top:1px solid #e0e6ed}.feature-date-list{display:grid;gap:5px;margin-bottom:8px}.feature-date-item{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 10px;border:1px solid #d8e0e8;border-radius:8px;background:#f8fafc}.feature-date-item>div{display:grid;gap:1px}.feature-date-item strong{font-size:10.5px;color:#354a64}.feature-date-item span{font-size:9px;color:#7d8b9c}.feature-advanced-section{order:6}.feature-advanced-details{border:0!important;background:transparent!important}.feature-advanced-details>summary{padding:9px 10px!important;border:1px solid #d6dee8;border-radius:8px;background:#f7f9fb;font-size:10.5px!important;color:#53677f}.feature-advanced-details[open]>summary{border-radius:8px 8px 0 0}.feature-advanced-details>div{padding:12px!important;border:1px solid #d6dee8;border-top:0;border-radius:0 0 8px 8px;background:#fbfcfd}.advanced-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.compact-options{margin:0}.feature-clock-exclusions{max-height:none!important;overflow:visible!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}.feature-explicit-rules{margin-top:10px;padding:10px 12px;border:1px solid #d0d9e4;border-radius:9px;background:#fff}.feature-explicit-rules>summary{font-size:10.5px;font-weight:800;color:#51657d}.new-feature-shell{width:min(980px,100%)!important}.new-feature-form{display:grid;gap:10px;padding:14px 16px 28px}.new-feature-form .feature-editor-section{margin:0}.new-feature-form .feature-primary-save{margin-top:0}
@media(max-width:1050px){.feature-board-head{display:none}.feature-board-row{grid-template-columns:minmax(220px,1.25fr) minmax(230px,1.35fr) minmax(120px,.65fr) 90px}.feature-board-status{display:none}.feature-control-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.feature-control-stats>div:nth-child(4),.feature-control-stats>div:nth-child(5){display:none}.feature-editor-layout{grid-template-columns:150px minmax(0,1fr)}.feature-basics-grid{grid-template-columns:1fr 1fr}.feature-switch-card{grid-column:1/-1}.placement-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.feature-clock-exclusions{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:760px){.feature-control-hero{align-items:flex-start;flex-direction:column;gap:12px}.feature-control-hero h1{font-size:27px!important}.feature-new-button{width:100%}.feature-control-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.feature-control-stats>div:nth-child(3){display:none}.feature-library-toolbar{position:static;align-items:stretch;flex-direction:column}.feature-search-wrap{max-width:none;width:100%}.feature-filter-set{overflow-x:auto;flex-wrap:nowrap;padding-bottom:2px}.feature-filter-set button{white-space:nowrap}.feature-board-row{grid-template-columns:1fr auto;gap:8px 10px;padding:11px}.feature-board-identity{grid-column:1}.feature-board-actions{grid-column:2;grid-row:1}.feature-board-plan{grid-column:1/-1;padding-left:14px}.feature-board-frequency{grid-column:1/-1;padding-left:14px}.feature-stage-mini{flex-wrap:wrap}.feature-control-modal{width:calc(100vw - 8px)!important;max-height:98vh!important}.feature-control-shell{height:97vh!important;max-height:97vh!important;border-radius:10px!important}.feature-editor-layout{display:block}.feature-editor-nav{position:sticky;top:0;z-index:7;display:flex;overflow-x:auto;gap:3px;min-height:0;padding:7px 9px;border-right:0;border-bottom:1px solid #ccd6e1}.feature-editor-nav a{white-space:nowrap;padding:7px 8px}.feature-editor-main{padding:9px 8px 24px}.feature-editor-section{padding:13px 12px}.feature-basics-grid,.feature-form-grid,.placement-grid,.advanced-feature-grid{grid-template-columns:1fr}.feature-form-grid .span2,.advanced-feature-grid .span2{grid-column:auto}.feature-option-row{grid-template-columns:1fr}.feature-inline-panel{grid-template-columns:1fr}.feature-primary-save{margin:0;gap:10px}.feature-primary-save span{display:none}.feature-plan-step>summary{grid-template-columns:30px minmax(0,1fr) 18px}.feature-plan-pace{display:none}.feature-plan-edit{padding:10px}.feature-clock-exclusions{grid-template-columns:1fr!important}.feature-clock-inbox-top{align-items:flex-start;flex-direction:column;gap:0}}
@media print{.feature-control-room .feature-library-toolbar,.feature-control-room .feature-board-actions,.feature-control-room .feature-clock-inbox,.feature-control-room .feature-new-button,.feature-page-help{display:none!important}}

/* ==========================================================
   v4.2.48 — Current Copy Control Room
   ========================================================== */
.current-copy-control-room{max-width:none!important}
.current-copy-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:28px;padding:4px 2px 18px;border-bottom:1px solid #cbd6e2}
.current-copy-hero h1{margin:3px 0 5px!important;font-size:31px!important;letter-spacing:-.035em!important}.current-copy-hero p{margin:0;max-width:850px;color:#6e7d91;font-size:13px;line-height:1.55}.current-copy-new-button{min-width:160px}
.current-copy-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));border:1px solid #cad5e1;border-top:0;background:#e8eef5;border-radius:0 0 12px 12px;overflow:hidden;margin-bottom:12px}.current-copy-stats>div{display:grid;gap:0;padding:9px 12px;border-right:1px solid #d1dbe6}.current-copy-stats>div:last-child{border-right:0}.current-copy-stats strong{font-family:'Space Grotesk',Inter,sans-serif;font-size:16px;color:#1b2f48}.current-copy-stats span{font-size:9px;text-transform:uppercase;letter-spacing:.06em;color:#7b899a;font-weight:780}.current-copy-stats .has-warning{background:#fff6df}.current-copy-stats .has-warning strong{color:#a56a00}
.current-copy-guide{margin:0 0 10px;border:1px solid #d0d9e4;border-radius:10px;background:#f5f8fb;overflow:hidden}.current-copy-guide>summary{list-style:none;display:flex;justify-content:space-between;gap:20px;align-items:center;padding:9px 12px;cursor:pointer}.current-copy-guide>summary::-webkit-details-marker{display:none}.current-copy-guide>summary>span{display:grid;gap:1px}.current-copy-guide>summary strong{font-size:11px;color:#3b526d}.current-copy-guide>summary small{font-size:9.5px;color:#7b899b}.current-copy-guide>summary b{font-size:9px;color:#5370a9;text-transform:uppercase;letter-spacing:.05em}.current-copy-guide .schedule-explain{padding:10px 12px 12px;border-top:1px solid #dbe3eb;background:#fff}
.current-copy-library-console{border:1px solid #c8d4e0;border-radius:13px;background:#e7edf4;overflow:visible;box-shadow:0 7px 22px rgba(23,40,62,.04)}
.current-copy-library-toolbar{position:sticky;top:0;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 11px;border-bottom:1px solid #cad6e2;background:rgba(231,237,244,.96);backdrop-filter:blur(8px);border-radius:12px 12px 0 0}.current-copy-search-wrap{display:flex;align-items:center;gap:7px;min-width:220px;max-width:340px;flex:1;padding:0 9px;border:1px solid #cbd6e2;border-radius:8px;background:#fff}.current-copy-search-wrap span{color:#8190a3}.current-copy-search-wrap input{border:0!important;box-shadow:none!important;background:transparent!important;padding:7px 0!important;font-size:12px!important}.current-copy-filter-set{display:flex;align-items:center;gap:4px;flex-wrap:wrap}.current-copy-filter-set button{border:0;border-radius:7px;background:transparent;color:#65758a;padding:6px 8px;font-size:10px;font-weight:760;cursor:pointer}.current-copy-filter-set button b{margin-left:3px;font-size:9px;color:#8b98a8}.current-copy-filter-set button:hover{background:#dce5ef;color:#354e6d}.current-copy-filter-set button.is-active{background:#274f9e;color:#fff}.current-copy-filter-set button.is-active b{color:#d8e5ff}
.current-copy-board-head{display:grid;grid-template-columns:minmax(230px,1.35fr) minmax(210px,1.15fr) minmax(170px,.9fr) minmax(150px,.8fr) 82px;gap:12px;padding:8px 12px 6px;color:#758397;font-size:8.5px;text-transform:uppercase;letter-spacing:.075em;font-weight:850}.current-copy-board{padding:0 7px 7px}.current-copy-board-row{position:relative;display:grid;grid-template-columns:minmax(230px,1.35fr) minmax(210px,1.15fr) minmax(170px,.9fr) minmax(150px,.8fr) 82px;gap:12px;align-items:center;padding:11px 11px 11px 8px;margin-top:6px;border:1px solid #d2dce7;border-radius:9px;background:#fbfcfe;transition:border-color .14s,background .14s,box-shadow .14s}.current-copy-board-row:before{content:'';position:absolute;left:0;top:8px;bottom:8px;width:3px;border-radius:0 3px 3px 0;background:#4f77cf}.current-copy-board-row.needs-lock:before{background:#e1a52a}.current-copy-board-row.is-disabled{opacity:.62}.current-copy-board-row:hover{background:#fff;border-color:#b9c8d8;box-shadow:0 4px 13px rgba(21,38,61,.055)}.current-copy-board-row[hidden]{display:none!important}.current-copy-board-identity{display:flex;gap:9px;align-items:center;min-width:0}.copy-type-mark{width:8px;height:8px;border-radius:50%;background:#4f77cf;box-shadow:0 0 0 3px #e5ecfb;flex:0 0 auto;margin-left:4px}.current-copy-board-identity>div,.current-copy-board-schedule,.current-copy-board-wording{min-width:0;display:grid;gap:2px}.copy-name-line{display:flex;align-items:center;gap:6px;min-width:0}.copy-name-line strong{font-size:12.5px;color:#243a54;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.current-copy-board-identity small,.current-copy-board-schedule small,.current-copy-board-wording small{font-size:9.5px;color:#8190a2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.current-copy-board-schedule strong,.current-copy-board-wording strong{font-size:10.5px;color:#3c516b}.current-copy-board-status{display:flex;gap:4px;flex-wrap:wrap}.current-copy-board-actions{display:flex;align-items:center;justify-content:flex-end;gap:5px}.current-copy-open-button{display:inline-flex;align-items:center;justify-content:center;padding:6px 9px;border-radius:7px;background:#e8effb;color:#345ca6;font-size:10px;font-weight:800;text-decoration:none}.current-copy-open-button:hover{background:#dce7fa}.current-copy-row-menu{position:relative}.current-copy-row-menu>summary{list-style:none;display:grid;place-items:center;width:29px;height:29px;border-radius:7px;cursor:pointer;color:#68788d;font-weight:850;letter-spacing:1px}.current-copy-row-menu>summary::-webkit-details-marker{display:none}.current-copy-row-menu>summary:hover{background:#e8eef5}.current-copy-row-menu>div{position:absolute;right:0;top:32px;z-index:20;min-width:150px;padding:5px;background:#fff;border:1px solid #d3dce6;border-radius:9px;box-shadow:0 12px 28px rgba(14,31,53,.14)}.current-copy-row-menu form{margin:0}.current-copy-row-menu button{width:100%;border:0;background:transparent;text-align:left;padding:8px 9px;border-radius:6px;color:#344a65;font-size:10.5px;font-weight:700;cursor:pointer}.current-copy-row-menu button:hover{background:#eef3f8}.current-copy-row-menu button.danger{color:#ac3944}.current-copy-no-results,.current-copy-empty{padding:26px;text-align:center;color:#758397}.current-copy-empty{display:grid;justify-items:center;gap:7px}.current-copy-empty strong{color:#31465f}.current-copy-empty span{font-size:11px}
/* Editor: one deliberate workspace, one scrolling surface. */
.current-copy-editor-modal{width:min(1320px,calc(100vw - 24px))!important;height:96dvh!important;max-height:96dvh!important}.current-copy-editor-shell{display:flex!important;flex-direction:column!important;height:96dvh!important;max-height:96dvh!important;overflow:hidden!important;background:#e9eff5!important}.current-copy-editor-head{position:relative!important;top:auto!important;flex:0 0 auto;box-shadow:0 5px 16px rgba(8,20,37,.14)!important}.current-copy-editor-meta{display:flex;gap:5px;flex-wrap:wrap;margin-top:5px}.current-copy-editor-meta span{padding:3px 6px;border-radius:5px;background:rgba(255,255,255,.1);color:#c9d8ef;font-size:8.5px;font-weight:760}.current-copy-editor-scroll{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;scroll-behavior:smooth;scrollbar-gutter:stable}.current-copy-editor-layout{display:grid;grid-template-columns:170px minmax(0,1fr);min-height:100%}.current-copy-editor-nav{position:sticky;top:0;align-self:start;display:grid;gap:3px;padding:13px 10px;min-height:calc(96dvh - 78px);border-right:1px solid #c8d4e0;background:#dfe7f0}.current-copy-editor-nav a{display:flex;align-items:center;justify-content:space-between;gap:7px;padding:8px 9px;border-radius:7px;color:#5c6e84;text-decoration:none;font-size:10.5px;font-weight:760}.current-copy-editor-nav a:hover{background:#edf2f7;color:#2f4f83}.current-copy-editor-nav b{min-width:18px;padding:2px 5px;border-radius:999px;background:#cbd8ea;color:#3f6199;text-align:center;font-size:8px}.current-copy-editor-main{min-width:0;padding:11px 12px 32px}.current-copy-main-form{display:block!important;padding:0!important;background:transparent!important;overflow:visible!important}.current-copy-editor-section{scroll-margin-top:10px;margin-bottom:10px;padding:15px 16px;border:1px solid #cdd8e3;border-radius:10px;background:#fff;box-shadow:0 2px 8px rgba(22,39,60,.025)}.current-copy-section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:13px;padding-bottom:10px;border-bottom:1px solid #e4e9ef}.current-copy-section-heading>div{display:grid;grid-template-columns:27px auto;column-gap:8px;align-items:start}.current-copy-section-heading span{grid-row:1/3;display:grid;place-items:center;width:27px;height:27px;border-radius:7px;background:#e9eff8;color:#4b68a4;font-family:'Space Grotesk',Inter,sans-serif;font-size:9px;font-weight:850}.current-copy-section-heading h3{margin:0!important;font-size:15px!important;color:#22364e}.current-copy-section-heading p{margin:2px 0 0!important;color:#7c8999!important;font-size:10.5px!important;line-height:1.4!important}.current-copy-basics-grid{display:grid;grid-template-columns:1fr;gap:10px;margin-bottom:10px}.current-copy-basics-grid>label{margin:0!important}.current-copy-basics-grid>.formgrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.current-copy-basics-grid>.formgrid label{margin:0!important}.cc-copy-section>#copy-text,.cc-copy-section label:has(#copy-text){margin-top:0}.cc-copy-section #copy-text{min-height:260px!important;font-size:13px!important;line-height:1.5!important;background:#fbfcfd!important}.cc-copy-section .hybrid-controls{margin-top:10px!important;border-color:#e0c67f!important;background:#fff9e9!important}.current-copy-upload-panel{margin-top:11px;border:1px solid #d7e0e9;border-radius:9px;background:#f7f9fb;overflow:hidden}.current-copy-upload-panel>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 11px;cursor:pointer}.current-copy-upload-panel>summary::-webkit-details-marker{display:none}.current-copy-upload-panel>summary>span{display:grid;gap:1px}.current-copy-upload-panel>summary strong{font-size:10.5px;color:#3b516b}.current-copy-upload-panel>summary small{font-size:9px;color:#8491a1}.current-copy-upload-panel>summary>b{font-size:8px;text-transform:uppercase;letter-spacing:.06em;color:#7890b2}.current-copy-upload-panel>div{padding:11px;border-top:1px solid #dce4ec;background:#fff}.current-copy-upload-panel label{margin:0!important}.current-copy-upload-panel .upload-copy-preview{margin-top:10px}.current-copy-upload-panel #upload-preview-text{min-height:210px!important}
/* Flatten legacy sections inside the new Schedule / Placement cards. */
.cc-schedule-section>.scheduling-modal-section,.cc-schedule-section>.modal-section,.cc-placement-section>.modal-section{border:0!important;padding:0!important;margin:0!important;background:transparent!important;box-shadow:none!important}.cc-schedule-section>.scheduling-modal-section>div:first-child{display:none!important}.cc-schedule-section>.modal-section{margin-top:13px!important;padding-top:12px!important;border-top:1px solid #e5eaf0!important}.cc-schedule-section>.modal-section>.eyebrow{font-size:9px!important;color:#6c7d91!important}.cc-schedule-section .formgrid.fourcol{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.cc-schedule-section .checkgrid{margin-top:9px}.cc-placement-section>.modal-section>.eyebrow{display:none}.cc-placement-section>.modal-section>p{margin:0 0 10px!important;padding:8px 10px;border-radius:7px;background:#f3f6fa}.cc-placement-section .clock-exclusion-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:5px!important;margin-top:6px}.cc-placement-section .clock-exclusion-grid .checklabel{padding:6px 7px!important;background:#f7f9fb;border:1px solid #e0e6ed;border-radius:6px}.cc-placement-section .clock-exclusion-grid span{font-size:9px}.cc-placement-section .checkgrid{margin-top:9px}.current-copy-primary-save{position:sticky;bottom:7px;z-index:7;display:flex;align-items:center;justify-content:space-between;gap:18px;margin:8px 0 11px;padding:9px 11px;border:1px solid #c6d2df;border-radius:9px;background:rgba(237,243,248,.96);backdrop-filter:blur(8px);box-shadow:0 -5px 15px rgba(24,42,64,.05)}.current-copy-primary-save>span{font-size:9px;color:#79879a}.current-copy-primary-save .must-modal-actions{margin:0!important;padding:0!important;border:0!important;display:flex!important;gap:7px;background:transparent!important}.current-copy-primary-save .must-modal-actions .primary{min-width:130px}.current-copy-primary-save .must-modal-actions .button{min-width:75px}
/* Overrides become a compact mini-rundown rather than a second wall of forms. */
.cc-overrides-workspace{scroll-margin-top:10px;margin:0!important;padding:15px 16px 20px!important;border:1px solid #cdd8e3!important;border-radius:10px!important;background:#fff!important}.cc-overrides-workspace>.override-section-head{margin:0 0 11px!important;padding-bottom:10px;border-bottom:1px solid #e4e9ef}.cc-overrides-workspace>.override-section-head .eyebrow{color:#5672aa}.cc-overrides-workspace>.override-section-head strong{display:block;margin-top:2px;font-size:15px;color:#22364e}.cc-overrides-workspace>.override-section-head p{margin:4px 0 0!important;font-size:10px!important;line-height:1.45!important}.cc-overrides-workspace .override-list{display:grid;gap:8px}.cc-overrides-workspace .current-copy-override-card{border:1px solid #d4dde7!important;border-radius:9px!important;background:#f9fbfc!important;overflow:hidden}.cc-overrides-workspace .current-copy-override-card>summary{padding:9px 11px!important;background:#f5f8fa!important}.cc-overrides-workspace .current-copy-override-card>summary strong{font-size:11px!important;color:#334a65}.cc-overrides-workspace .current-copy-override-card>summary span{font-size:9px!important;color:#7f8c9c}.cc-overrides-workspace .current-copy-override-card>summary>b{font-size:8px!important}.cc-overrides-workspace .override-card-body{padding:11px!important;background:#fff}.cc-overrides-workspace .current-copy-override-form{gap:10px!important}.cc-overrides-workspace .override-sequence-wrap{padding:10px!important;border:1px solid #d8e1ea;border-radius:9px;background:#f3f6fa}.cc-overrides-workspace .override-sequence-head{padding-bottom:8px;margin-bottom:7px;border-bottom:1px solid #d9e2eb}.cc-overrides-workspace .override-sequence-head .eyebrow{font-size:8.5px!important}.cc-overrides-workspace .override-sequence-head .muted{font-size:9px!important;line-height:1.4}.cc-overrides-workspace .override-stage-list{position:relative;gap:7px!important}.cc-overrides-workspace .override-stage-list:before{content:'';position:absolute;left:17px;top:26px;bottom:26px;width:1px;background:#c4d2e0}.cc-overrides-workspace .override-stage-row{position:relative;padding:10px 10px 10px 48px!important;border-radius:8px!important;background:#fff!important;border:1px solid #d8e1ea!important}.cc-overrides-workspace .override-stage-row:before{content:counter(ccstage);counter-increment:ccstage;position:absolute;left:8px;top:9px;z-index:1;display:grid;place-items:center;width:25px;height:25px;border-radius:999px;background:#315fb8;color:#fff;font-size:8.5px;font-weight:850}.cc-overrides-workspace .override-stage-list{counter-reset:ccstage}.cc-overrides-workspace .override-stage-row-head{min-height:25px}.cc-overrides-workspace .override-stage-row-head strong{font-size:10.5px!important;color:#344b66}.cc-overrides-workspace .override-stage-row .formgrid.fourcol{grid-template-columns:1.15fr 1fr .8fr .8fr;gap:8px}.cc-overrides-workspace .override-stage-row textarea{min-height:76px!important}.cc-overrides-workspace .override-stage-exclusions{margin-top:2px}.cc-overrides-workspace .clock-exclusion-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:5px!important}.cc-overrides-workspace .override-form-actions{padding-top:8px!important}.cc-overrides-workspace .new-override-card>summary{background:#eef3f9!important}.cc-overrides-workspace .new-override-card>summary strong{color:#3a5f9f!important}
@media(max-width:1100px){.current-copy-board-head{display:none}.current-copy-board-row{grid-template-columns:minmax(220px,1.25fr) minmax(190px,1fr) minmax(150px,.8fr) 90px}.current-copy-board-status{display:none}.current-copy-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.current-copy-stats>div:nth-child(4),.current-copy-stats>div:nth-child(5){display:none}.current-copy-editor-layout{grid-template-columns:145px minmax(0,1fr)}.cc-schedule-section .formgrid.fourcol{grid-template-columns:repeat(2,minmax(0,1fr))}.cc-placement-section .clock-exclusion-grid,.cc-overrides-workspace .clock-exclusion-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:760px){.current-copy-hero{align-items:flex-start;flex-direction:column;gap:12px}.current-copy-hero h1{font-size:27px!important}.current-copy-new-button{width:100%}.current-copy-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.current-copy-stats>div:nth-child(3){display:none}.current-copy-library-toolbar{position:static;align-items:stretch;flex-direction:column}.current-copy-search-wrap{max-width:none;width:100%}.current-copy-filter-set{overflow-x:auto;flex-wrap:nowrap;padding-bottom:2px}.current-copy-filter-set button{white-space:nowrap}.current-copy-board-row{grid-template-columns:1fr auto;gap:8px 10px;padding:10px}.current-copy-board-identity{grid-column:1}.current-copy-board-actions{grid-column:2;grid-row:1}.current-copy-board-schedule,.current-copy-board-wording{grid-column:1/-1;padding-left:13px}.current-copy-editor-modal{width:calc(100vw - 8px)!important;height:97dvh!important;max-height:97dvh!important}.current-copy-editor-shell{height:97dvh!important;max-height:97dvh!important}.current-copy-editor-layout{display:block}.current-copy-editor-nav{position:sticky;top:0;z-index:8;display:flex;overflow-x:auto;gap:3px;min-height:0;padding:7px 8px;border-right:0;border-bottom:1px solid #cad5e0}.current-copy-editor-nav a{white-space:nowrap;padding:7px 8px}.current-copy-editor-main{padding:8px 7px 22px}.current-copy-editor-section,.cc-overrides-workspace{padding:12px 11px!important}.current-copy-basics-grid>.formgrid,.cc-schedule-section .formgrid.fourcol{grid-template-columns:1fr}.cc-placement-section .clock-exclusion-grid,.cc-overrides-workspace .clock-exclusion-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.current-copy-primary-save{align-items:stretch;flex-direction:column}.current-copy-primary-save>span{display:none}.current-copy-primary-save .must-modal-actions{display:grid!important;grid-template-columns:1fr 1fr;width:100%}.current-copy-primary-save .must-modal-actions>*{width:100%}.cc-overrides-workspace .override-stage-row{padding-left:42px!important}.cc-overrides-workspace .override-stage-row .formgrid.fourcol{grid-template-columns:1fr 1fr}}
@media(max-width:480px){.current-copy-board-schedule,.current-copy-board-wording{padding-left:0}.cc-placement-section .clock-exclusion-grid,.cc-overrides-workspace .clock-exclusion-grid{grid-template-columns:1fr!important}.cc-overrides-workspace .override-stage-row .formgrid.fourcol{grid-template-columns:1fr}.current-copy-primary-save .must-modal-actions{grid-template-columns:1fr}.current-copy-stats{grid-template-columns:1fr 1fr}.current-copy-editor-head h2{font-size:20px!important}}
@media print{.current-copy-control-room .current-copy-library-toolbar,.current-copy-control-room .current-copy-board-actions,.current-copy-control-room .current-copy-new-button,.current-copy-guide{display:none!important}}

/* ============================================================
   v4.2.49 — Production Desk
   Date-led producer workspace with purpose-built desks for
   sequences, listener interaction, guest prep and competitions.
   ============================================================ */
.production-control-room{--prod-navy:#162338;--prod-blue:#315fd4;--prod-line:#d7e1eb;--prod-soft:#f3f6f9;--prod-paper:#fbfcfe;--prod-muted:#6c7b8e;display:grid;gap:13px;width:100%;max-width:none}
.production-control-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding:4px 2px 15px;border-bottom:1px solid #ced8e3}.production-control-title{max-width:850px}.production-control-title h1{margin:2px 0 5px!important;font-size:37px!important;line-height:1.06!important;letter-spacing:-1px!important;color:#15253b!important}.production-control-title p{max-width:790px;margin:0!important;font-size:13px!important;line-height:1.5!important;color:#718095!important}.production-date-switcher{display:flex;align-items:end;gap:8px;padding:8px;border:1px solid #d4dee8;border-radius:10px;background:#edf2f6}.production-date-switcher label{margin:0!important}.production-date-switcher label span{display:block;margin:0 0 4px;font-size:9px;font-weight:850;letter-spacing:.075em;text-transform:uppercase;color:#718199}.production-date-switcher input{min-width:155px;margin:0!important;height:37px!important;background:#fff!important}.production-date-switcher .button{height:37px!important;white-space:nowrap}
.production-control-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));overflow:hidden;border:1px solid #d3dde7;border-radius:11px;background:#eaf0f5}.production-control-stats>div{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:9px;padding:11px 14px;border-right:1px solid #d4dee8}.production-control-stats>div:last-child{border-right:0}.production-control-stats strong{grid-row:1/3;align-self:center;font-size:23px;line-height:1;color:#1c3555}.production-control-stats span{align-self:end;font-size:9px;font-weight:850;letter-spacing:.065em;text-transform:uppercase;color:#4e6179}.production-control-stats small{font-size:9.5px;color:#7d8998;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.production-desk-board{overflow:hidden;border:1px solid #cfd9e4;border-radius:12px;background:#fff;box-shadow:0 5px 18px rgba(20,38,60,.04)}.production-desk-row{display:grid;grid-template-columns:42px minmax(0,1fr) 76px 92px;gap:14px;align-items:center;padding:15px 16px;border-bottom:1px solid #e0e6ed;transition:background .14s ease}.production-desk-row:last-child{border-bottom:0}.production-desk-row:hover{background:#f7fafd}.production-desk-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:10px;background:#e8efff;border:1px solid #d0dcfa;color:#3d64c2;font-size:17px;font-weight:850}.production-desk-main{min-width:0}.production-desk-name{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.production-desk-name>strong{font-size:14px;color:#20354f}.production-desk-name .status-tag{font-size:7.5px!important;padding:3px 5px!important}.production-desk-main>p{margin:3px 0 0!important;max-width:850px;font-size:10.5px!important;line-height:1.45!important;color:#738195}.production-preview-line{display:flex;align-items:center;gap:6px 12px;flex-wrap:wrap;margin-top:7px}.production-preview-line span{font-size:8.8px;color:#8490a0}.production-preview-line b{font-weight:800;color:#61748c}.production-desk-state{display:grid;text-align:right}.production-desk-state strong{font-size:18px;color:#304964}.production-desk-state span{font-size:8px;font-weight:800;text-transform:uppercase;letter-spacing:.07em;color:#8b96a5}.production-open-button{height:34px;padding:0 11px;border:1px solid #c3d1df;border-radius:7px;background:#fff;color:#355272;font-size:9.5px;font-weight:820;cursor:pointer}.production-open-button:hover{background:#edf3fa;border-color:#aebfd2;color:#22476e}.production-guide{border:1px solid #d4dde6;border-radius:9px;background:#f6f9fb;overflow:hidden}.production-guide>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:9px 12px;cursor:pointer}.production-guide>summary::-webkit-details-marker{display:none}.production-guide>summary>span{display:grid;gap:1px}.production-guide>summary strong{font-size:9.5px;color:#3b5069}.production-guide>summary small{font-size:8.5px;color:#8994a2}.production-guide>summary>b{font-size:8px;text-transform:uppercase;letter-spacing:.07em;color:#6c83a4}.production-guide>div{padding:10px 12px;border-top:1px solid #dde5ec;background:#fff}.production-guide p{margin:0!important;font-size:10px!important;line-height:1.5!important;color:#66768a}
/* Full-height Production workspaces: one natural modal scroll. */
.production-editor-modal{width:min(1260px,calc(100vw - 22px))!important;max-width:none!important;height:min(94dvh,960px)!important;max-height:94dvh!important;padding:0!important;border-radius:15px!important;overflow:hidden!important}.production-editor-shell{display:grid!important;grid-template-rows:auto minmax(0,1fr)!important;height:100%!important;max-height:none!important;background:#eef3f7!important}.production-editor-head{display:flex;align-items:flex-start;justify-content:space-between;gap:22px;padding:17px 20px 16px;background:#152136;border-bottom:1px solid #283953}.production-editor-head h2{margin:2px 0 3px!important;font-size:23px!important;line-height:1.1!important;color:#fff!important}.production-editor-head p{max-width:760px;margin:0!important;font-size:10px!important;line-height:1.45!important;color:#9eacc0!important}.production-editor-head .eyebrow{color:#87a7f6!important}.production-editor-scroll{overflow-y:auto;min-height:0;padding:13px;background:#eef3f7;scrollbar-gutter:stable}.production-editor-section{margin:0 0 12px;padding:15px 16px;border:1px solid #cfd9e4;border-radius:10px;background:#fff}.production-editor-section:last-child{margin-bottom:0}.production-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:11px;padding-bottom:10px;border-bottom:1px solid #e2e8ee}.production-section-head>div{min-width:0}.production-section-head span:not(.production-section-index){display:block;font-size:8px;font-weight:850;letter-spacing:.075em;text-transform:uppercase;color:#62799b}.production-section-head h3{margin:2px 0 2px!important;font-size:15px!important;color:#263d58!important}.production-section-head p{margin:0!important;font-size:9.5px!important;line-height:1.45!important;color:#7b899a!important}.production-section-index{display:grid;place-items:center;min-width:28px;height:28px;border-radius:8px;background:#e9eff7;color:#5e7391;font-size:8px!important;font-weight:900;letter-spacing:.06em}.production-section-head.compact{margin-bottom:10px}.production-section-head.compact h3{font-size:14px!important}
.production-sequence-form label,.production-side-create label,.production-response-form label{font-size:9.5px!important;color:#4d6179!important}.production-sequence-form input,.production-sequence-form select,.production-sequence-form textarea,.production-side-create input,.production-side-create select,.production-side-create textarea,.production-response-form input,.production-response-form textarea{margin-top:5px!important}.production-subpanel{margin-top:10px;padding:11px;border:1px solid #d8e1ea;border-radius:9px;background:#f6f8fb}.production-subpanel-title{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:9px}.production-subpanel-title strong{font-size:10px;color:#38506a}.production-subpanel-title span{font-size:8.5px;color:#8995a4}.production-day-row{display:flex;align-items:center;gap:13px;flex-wrap:wrap;margin-top:8px;padding-top:8px;border-top:1px solid #e1e7ed}.production-day-row>.field-title{font-size:8px!important;color:#6d7e92!important}.production-steps-editor{margin-top:10px}.production-steps-editor textarea{min-height:120px!important;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:10px!important;line-height:1.5!important}.production-steps-editor>label>small{display:block;margin-top:4px;color:#8a96a4;font-size:8.5px}.production-form-actions{display:flex;justify-content:flex-end;margin-top:11px;padding-top:10px;border-top:1px solid #e4e9ef}
.production-sequence-board{border:1px solid #d8e1ea;border-radius:9px;overflow:hidden}.production-sequence-head,.production-sequence-row{display:grid;grid-template-columns:minmax(180px,1.2fr) 125px minmax(220px,1.3fr) 105px 130px;gap:10px;align-items:center}.production-sequence-head{padding:7px 10px;background:#eaf0f5;border-bottom:1px solid #d5dfe8}.production-sequence-head span{font-size:7.5px;font-weight:850;text-transform:uppercase;letter-spacing:.075em;color:#6b7b8f}.production-sequence-row{padding:10px;border-bottom:1px solid #e4e9ef;background:#fff}.production-sequence-row:last-child{border-bottom:0}.production-sequence-row:hover{background:#fafcfd}.production-sequence-row>div:first-child{display:grid;gap:2px}.production-sequence-row strong{font-size:10px;color:#304963}.production-sequence-row small{display:block;margin-top:2px;font-size:8px;color:#8793a2;line-height:1.35}.production-stage-strip{display:flex;align-items:center;gap:4px;min-width:0;overflow-x:auto;padding-bottom:2px}.production-stage-strip span{display:inline-flex;align-items:center;gap:4px;white-space:nowrap;padding:4px 6px;border:1px solid #d8e1eb;border-radius:999px;background:#f5f8fb;font-size:7.5px;color:#65778e}.production-stage-strip b{display:grid;place-items:center;width:15px;height:15px;border-radius:999px;background:#315fd4;color:#fff;font-size:7px}.production-row-actions,.production-inline-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px;flex-wrap:wrap}.production-row-actions form,.production-inline-actions form{margin:0!important}.production-empty{display:grid;gap:3px;padding:20px;border:1px dashed #c9d5e1;border-radius:9px;background:#f8fafc;text-align:center}.production-empty strong{font-size:10.5px;color:#475c74}.production-empty span{font-size:9px;color:#8a96a5}.production-empty.mini{padding:11px;text-align:left}
/* Interaction / guest / competition desks */
.production-interaction-layout{display:grid;grid-template-columns:295px minmax(0,1fr);gap:12px;align-items:start}.production-side-create{position:sticky;top:0;padding:14px;border:1px solid #cfd9e4;border-radius:10px;background:#fff}.production-side-create form{display:grid;gap:10px}.production-side-create .primary{width:100%;margin-top:2px}.production-main-desk{min-width:0;padding:14px;border:1px solid #cfd9e4;border-radius:10px;background:#fff}.production-topic-list,.production-guest-list{display:grid;gap:7px}.production-topic-card,.production-guest-card{border:1px solid #d7e0e9;border-radius:9px;background:#f9fbfc;overflow:hidden}.production-topic-card>summary,.production-guest-card>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 11px;cursor:pointer}.production-topic-card>summary::-webkit-details-marker,.production-guest-card>summary::-webkit-details-marker{display:none}.production-topic-card>summary>div:first-child{display:grid;gap:2px;min-width:0}.production-topic-card>summary strong,.production-guest-card>summary strong{font-size:10.5px;color:#344c67}.production-topic-card>summary span,.production-guest-card>summary span{font-size:8.5px;color:#8591a0;line-height:1.35}.production-topic-card>summary>b,.production-guest-card>summary>div:last-child>b{margin-left:8px;font-size:7.5px;text-transform:uppercase;letter-spacing:.06em;color:#6981a3}.production-topic-card[open]>summary,.production-guest-card[open]>summary{background:#eef3f8;border-bottom:1px solid #d9e2eb}.production-topic-body,.production-guest-body{padding:11px;background:#fff}.listener-response-stack{display:grid;gap:6px;margin-bottom:10px}.listener-response-stack blockquote{margin:0!important;padding:8px 10px!important;border:1px solid #dce4ec!important;border-left:3px solid #7094da!important;border-radius:7px!important;background:#f8fafc!important}.listener-response-stack blockquote>div{display:flex;align-items:center;gap:7px}.listener-response-stack blockquote strong{font-size:9px;color:#415871}.listener-response-stack blockquote span{font-size:7.5px!important;font-weight:800;text-transform:uppercase;color:#8b98a7!important}.listener-response-stack blockquote p{margin:3px 0 0!important;font-size:10px!important;line-height:1.45!important;color:#53667c}.production-response-form{padding:10px;border:1px solid #dce4ec;border-radius:8px;background:#f6f8fa}.production-response-form textarea{min-height:74px!important}.production-delete-line{display:flex;justify-content:flex-end;margin-top:7px!important;padding-top:7px;border-top:1px solid #edf0f3}.production-guest-summary{display:flex!important;align-items:center!important;gap:9px!important}.production-avatar{display:grid!important;place-items:center;width:29px;height:29px;border-radius:9px;background:#e6edf8;color:#4063a6!important;font-size:11px!important;font-weight:900!important}.production-guest-summary>div{display:grid;gap:2px}.production-guest-card>summary>div:last-child{display:flex;align-items:center;gap:4px}.producer-note{margin-bottom:9px;padding:8px 10px;border-left:3px solid #e1a24b;border-radius:6px;background:#fff7e9}.producer-note strong{font-size:8px;text-transform:uppercase;letter-spacing:.06em;color:#94621e}.producer-note p{margin:2px 0 0!important;font-size:9.5px!important;line-height:1.45!important;color:#6a5a42}.interview-pack-console{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:10px}.interview-pack-block,.interview-question-list{padding:9px 10px;border:1px solid #dce4ec;border-radius:8px;background:#f8fafc}.interview-pack-block.emphasis{background:#eef4ff;border-color:#d2def7}.interview-pack-block>span,.interview-question-list>span{display:block;margin-bottom:3px;font-size:7.5px;font-weight:850;text-transform:uppercase;letter-spacing:.06em;color:#60799b}.interview-pack-block p{margin:0!important;font-size:9.5px!important;line-height:1.5!important;color:#465d76}.interview-question-list{grid-column:1/-1}.interview-question-list ol{margin:5px 0 0 18px;padding:0}.interview-question-list li{margin:0 0 5px;font-size:9.5px;line-height:1.45;color:#485f78}.production-or{display:flex;align-items:center;gap:8px;color:#97a1ae;font-size:8px;text-transform:uppercase}.production-or:before,.production-or:after{content:'';height:1px;background:#e1e6eb;flex:1}
.competition-ledger{display:grid;gap:0;border:1px solid #d8e1ea;border-radius:9px;overflow:hidden}.competition-ledger-row{display:grid;grid-template-columns:18px minmax(0,1fr) auto;gap:8px;align-items:start;padding:11px;border-bottom:1px solid #e3e8ee;background:#fff}.competition-ledger-row:last-child{border-bottom:0}.competition-stage-rail{display:flex;justify-content:center;height:100%}.competition-stage-rail:before{content:'';width:1px;height:100%;background:#d5dfE9}.competition-stage-rail span{position:absolute;width:8px;height:8px;margin-top:4px;border-radius:999px;background:#4f74c7;box-shadow:0 0 0 3px #edf2fb}.competition-ledger-copy{min-width:0}.competition-ledger-copy>div:first-child{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.competition-ledger-copy strong{font-size:10.5px;color:#354d68}.competition-ledger-copy p{margin:4px 0 0!important;font-size:9.5px!important;line-height:1.45!important;color:#65758a}.competition-result{display:flex;align-items:baseline;gap:8px;margin-top:7px;padding:7px 8px;border-radius:7px;background:#e9f6f0}.competition-result span{font-size:7.5px;font-weight:850;text-transform:uppercase;color:#29745b}.competition-result strong{font-size:9.5px;color:#22664f}
@media(max-width:1100px){.production-control-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.production-control-stats>div:nth-child(2){border-right:0}.production-control-stats>div:nth-child(-n+2){border-bottom:1px solid #d4dee8}.production-desk-row{grid-template-columns:42px minmax(0,1fr) 70px 90px}.production-sequence-head,.production-sequence-row{grid-template-columns:minmax(170px,1.2fr) 110px minmax(180px,1fr) 90px}.production-sequence-head span:nth-child(5),.production-sequence-row>.production-row-actions{grid-column:1/-1}.production-sequence-row>.production-row-actions{justify-content:flex-end}.production-interaction-layout{grid-template-columns:250px minmax(0,1fr)}}
@media(max-width:760px){.production-control-hero{align-items:stretch;flex-direction:column;gap:12px}.production-control-title h1{font-size:29px!important}.production-date-switcher{width:100%}.production-date-switcher label{flex:1}.production-date-switcher input{width:100%;min-width:0}.production-control-stats{grid-template-columns:1fr 1fr}.production-control-stats>div{padding:9px 10px}.production-desk-row{grid-template-columns:34px minmax(0,1fr) auto;gap:9px;padding:11px}.production-desk-icon{width:32px;height:32px}.production-desk-main{grid-column:2}.production-desk-state{grid-column:3;grid-row:1;text-align:right}.production-open-button{grid-column:2/-1;width:100%}.production-preview-line{display:none}.production-editor-modal{width:calc(100vw - 8px)!important;height:97dvh!important;max-height:97dvh!important}.production-editor-head{padding:14px 13px}.production-editor-head h2{font-size:20px!important}.production-editor-scroll{padding:7px}.production-editor-section,.production-main-desk,.production-side-create{padding:11px}.production-sequence-form .formgrid.fourcol{grid-template-columns:1fr 1fr}.production-subpanel .formgrid.fourcol{grid-template-columns:1fr 1fr}.production-sequence-head{display:none}.production-sequence-row{grid-template-columns:1fr;gap:7px}.production-sequence-row>.production-row-actions{grid-column:auto;justify-content:flex-start}.production-interaction-layout{display:block}.production-side-create{position:static;margin-bottom:8px}.interview-pack-console{grid-template-columns:1fr}.interview-question-list{grid-column:auto}.competition-ledger-row{grid-template-columns:16px minmax(0,1fr)}.competition-ledger-row>form{grid-column:2;justify-self:end}}
@media(max-width:480px){.production-control-stats{grid-template-columns:1fr}.production-control-stats>div{border-right:0!important;border-bottom:1px solid #d4dee8!important}.production-control-stats>div:last-child{border-bottom:0!important}.production-sequence-form .formgrid.fourcol,.production-subpanel .formgrid.fourcol{grid-template-columns:1fr}.production-day-row{align-items:flex-start;flex-direction:column}.production-date-switcher{display:grid;grid-template-columns:1fr}.production-desk-row{grid-template-columns:31px minmax(0,1fr)}.production-desk-state{display:none}.production-open-button{grid-column:1/-1}.production-control-title p{font-size:11px!important}}
@media print{.production-date-switcher,.production-open-button,.production-guide,.production-editor-modal{display:none!important}.production-desk-board{box-shadow:none!important}}

.competition-stage-rail{position:relative}

/* v4.2.51 — simplified Current Copy wording choice */
.copy-use-fieldset{margin:11px 0 12px;padding:0;border:0}.copy-use-fieldset>legend{margin:0 0 7px;font-size:10.5px;font-weight:800;color:#344b66}.copy-use-choice{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.copy-use-option{position:relative;display:flex;gap:8px;align-items:flex-start;margin:0!important;padding:10px 11px!important;border:1px solid #d6dfe9;border-radius:9px;background:#f8fafc;cursor:pointer;transition:border-color .15s ease,background .15s ease,box-shadow .15s ease}.copy-use-option:hover{border-color:#aebed0;background:#fff}.copy-use-option.is-selected{border-color:#5f82ca;background:#eef4ff;box-shadow:0 0 0 1px rgba(49,95,184,.08)}.copy-use-option input{margin:2px 0 0!important;flex:0 0 auto}.copy-use-option>span{display:grid;gap:2px}.copy-use-option strong{font-size:10.5px;color:#263e5a}.copy-use-option small{font-size:9px;line-height:1.4;color:#718196}.hybrid-copy-near-text .filehint strong{color:#315fb8}@media(max-width:760px){.copy-use-choice{grid-template-columns:1fr}.copy-use-option{padding:9px 10px!important}}


/* v4.2.52 — Prep timeline follows the active junction without horizontally shifting the page. */
.prep-timeline-track{scrollbar-width:none;overscroll-behavior-x:contain;scroll-behavior:smooth}
.prep-timeline-track::-webkit-scrollbar{display:none}


/* ============================================================
   v4.2.53 — Prep vertical-scroll lock
   The rundown is always a vertical reading surface. The browser
   document cannot horizontally drift while the clock strip follows
   later junctions; only the clock strip itself may move sideways.
   ============================================================ */
html.prep-page-horizontal-lock,
body.prep-page-horizontal-lock{
  overflow-x:clip!important;
  max-width:100%!important;
}
.prep-modern,
.prep-showbar,
.prep-status-strip,
.prep-timeline,
.prep-rundown,
.prep-rundown-row,
.prep-link-main{
  min-width:0!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}
.prep-timeline{overflow:hidden!important}
.prep-timeline-track{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  overscroll-behavior-x:contain!important;
  scroll-behavior:auto!important;
  touch-action:pan-x!important;
}
.prep-timeline button{
  appearance:none;
  -webkit-appearance:none;
  font:inherit;
  text-align:left;
  cursor:pointer;
}
/* Match the existing timeline-link styling after replacing anchors with buttons. */
.prep-timeline button{
  position:relative;
  display:grid;
  gap:1px;
  flex:0 0 auto;
  min-width:84px;
  max-width:136px;
  padding:7px 9px 7px 10px;
  border:1px solid transparent;
  border-radius:7px;
  background:transparent;
  color:#9fb0c6;
}
.prep-timeline button:hover{background:rgba(255,255,255,.065);border-color:rgba(255,255,255,.08);color:#fff}
.prep-timeline button b{font-size:13px;color:#f7f9fc}
.prep-timeline button span{font-size:10px;color:#91a2b8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.prep-timeline button.is-active{background:#fff;border-color:#fff;color:#40536d;box-shadow:0 2px 8px rgba(5,16,33,.20)}
.prep-timeline button.is-active b{color:#15345f}
.prep-timeline button.is-active span{color:#657890}
.prep-timeline button.is-active:before{content:'';position:absolute;left:0;top:7px;bottom:7px;width:3px;border-radius:3px;background:var(--prep-accent)}
.prep-link-main,
.prep-spoken-copy,
.prep-source-body,
.prep-actionbar{overflow-wrap:anywhere}

/* ============================================================
   v4.2.55 — Home / Prep Desk: generation and prep library first.
   Everything in this block is scoped to the dashboard.
   ============================================================ */
.ep-home{max-width:1530px;margin:0 auto;color:#1a2a42}
.ep-home-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 19px}
.ep-home-heading .eyebrow{margin-bottom:4px!important;color:#5276ba!important;font-size:10px!important;letter-spacing:.13em}
.ep-home-heading h1{font-size:37px!important;line-height:1.07!important;letter-spacing:-1.35px!important;margin:0!important}
.ep-home-heading p{font-size:13px;line-height:1.4;margin:6px 0 0;color:#6c7d94}
.ep-home-newshow{background:transparent!important;border:1px solid #cbd7e6!important;font-size:12px!important;padding:9px 14px!important;white-space:nowrap}
.ep-home-shows{margin-bottom:12px!important;display:flex;flex-wrap:wrap;gap:7px!important}
.ep-home-shows a{padding:9px 14px!important;background:#e6edf5!important;border:1px solid #d4e0ed!important;box-shadow:none!important;border-radius:8px!important}
.ep-home-shows a.active{background:#182941!important;border-color:#182941!important;color:#fff!important}
.ep-home-context{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:10px 15px;margin:0 0 14px;background:#e5edf5;border:1px solid #d3dfec;border-radius:10px}
.ep-home-showidentity{display:flex;gap:12px;align-items:center;min-width:0}
.ep-home-showidentity>div{display:grid;gap:2px;min-width:0}
.ep-home-showidentity strong{font-size:13px;color:#22364f;overflow-wrap:anywhere}
.ep-home-showidentity span:not(.ep-home-live-indicator){font-size:11.5px;color:#61758e}
.ep-home-live-indicator{width:9px;height:9px;flex:0 0 9px;border-radius:50%;background:#17a181;box-shadow:0 0 0 4px #17a18118}
.ep-home-context-settings{font-size:12px;font-weight:760;white-space:nowrap;color:#3e64ac;text-decoration:none}
.ep-home-context-settings:hover,.ep-home-readiness a:hover{color:#234787;text-decoration:underline}
.ep-home-focus-grid{display:grid;grid-template-columns:minmax(400px,1.05fr) minmax(360px,.95fr);gap:16px;align-items:start}
.ep-home-create,.ep-home-library{min-width:0;border:1px solid #d0dcea;border-radius:13px;background:#f9fbfe;box-shadow:0 3px 12px rgba(27,46,74,.04);overflow:hidden}
.ep-home-create{padding:22px 25px 19px;border-top:4px solid #3868dd}
.ep-home-panel-kicker{display:flex;align-items:center;gap:8px;font-size:10px;letter-spacing:.12em;font-weight:850;color:#54719c}
.ep-home-panel-number{display:inline-grid;place-items:center;width:24px;height:24px;border-radius:6px;background:#e5ecfb;color:#365ed0;letter-spacing:0;font-size:11px;font-weight:850}
.ep-home-create-intro{margin:10px 0 19px}
.ep-home-create h2,.ep-home-library h2{font-size:28px!important;line-height:1.13!important;letter-spacing:-.85px!important;margin:0 0 6px!important;color:#1a2d49!important}
.ep-home-create-intro p,.ep-home-library-heading p{margin:0;font-size:12.5px;line-height:1.5;color:#697991}
.ep-home-dateform{display:grid;gap:6px;margin:0 0 16px}
.ep-home-dateform>label{font-size:11px!important;letter-spacing:.02em;font-weight:810!important;color:#516580!important}
.ep-home-datefield{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}
.ep-home-datefield input[type=date]{height:43px!important;padding:9px 12px!important;border:1px solid #cbd7e6!important;font-size:15px!important;font-weight:730!important;background:#fff!important;min-width:0}
.ep-home-dateform>label{display:flex!important;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px 12px}
.ep-home-datehint{color:#6b7f97;font-size:11px;font-weight:570;letter-spacing:0;text-transform:none}
.ep-home-date-long{font-size:11px;color:#798aa0}
.ep-home-generate-form{display:grid;gap:7px}
.ep-home-notes-label{font-size:11px!important;color:#526886!important;display:flex!important;flex-wrap:wrap;align-items:baseline;gap:5px!important}
.ep-home-notes-label span{font-weight:450;color:#8b98ab}
.ep-home-generate-form textarea{font-size:13px!important;min-height:66px!important;max-height:150px;padding:10px 12px!important;border-color:#cad8e7!important;line-height:1.45!important;resize:vertical;background:#fff!important}
.ep-home-create-button{display:flex!important;justify-content:flex-start!important;gap:14px!important;width:100%!important;min-height:78px!important;padding:14px 17px!important;margin:7px 0 0!important;background:linear-gradient(120deg,#2759d3,#3e78eb)!important;border:1px solid #285ed3!important;border-radius:11px!important;box-shadow:0 9px 18px #2559c822!important;color:white!important;text-align:left;transform:none!important}
.ep-home-create-button:hover{background:linear-gradient(120deg,#214db9,#3269dc)!important;transform:translateY(-1px)!important;box-shadow:0 11px 22px #2559c82d!important}
.ep-home-create-button>span:nth-child(2){font-size:20px;font-weight:830;letter-spacing:-.45px;line-height:1.16;display:grid;gap:4px}
.ep-home-create-button small{display:block;color:#d7e6ff;font-size:11px;font-weight:520;letter-spacing:0}
.ep-home-create-icon{display:grid;place-items:center;width:38px;height:38px;flex:0 0 38px;border-radius:8px;background:#ffffff22;border:1px solid #ffffff40;font-size:20px}
.ep-home-create-arrow{margin-left:auto;font-size:24px;font-weight:450}
.ep-home-create-button[disabled]{opacity:.48!important;filter:grayscale(.45)}
.ep-home-readiness{display:flex;justify-content:space-between;flex-wrap:wrap;gap:6px 12px;align-items:center;margin:17px 0 0;font-size:11px;color:#597089}
.ep-home-readiness>div{display:flex;gap:7px;align-items:center}
.ep-home-readiness b{font-size:12px;color:#2b3d56}
.ep-home-ready-dot{width:7px;height:7px;border-radius:50%;background:#1ba07b;flex:0 0 7px}.ep-home-ready-dot.is-warning{background:#d99825}
.ep-home-readiness a{font-weight:760;color:#3b64aa;text-decoration:none}
.ep-home-copy-line{border-top:1px solid #e1e9f2;padding-top:11px;margin-top:14px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:6px;font-size:11px;color:#697e93}
.ep-home-copy-line a{font-weight:730;color:#3762ab;text-decoration:none}
.ep-home-structure-note{margin:0 0 12px;font-size:11px;color:#57728b;background:#edf3fa;border-radius:7px;padding:8px 10px}
.ep-home-library{background:#f6f9fd;border-top:4px solid #182b45}
.ep-home-library-heading{padding:20px 22px 14px;display:flex;gap:10px;justify-content:space-between;align-items:flex-start}
.ep-home-library-heading h2{font-size:24px!important;margin:11px 0 5px!important}
.ep-home-library-heading p{font-size:12px}
.ep-home-library-count{border-radius:7px;padding:5px 9px;background:#e4ebf4;color:#617189;font-size:10px;font-weight:770;white-space:nowrap}
.ep-home-latest{margin:0 16px 12px;background:linear-gradient(135deg,#17283e,#213a5d);border:1px solid #284563;border-radius:10px;padding:15px 16px 16px;color:#eaf0fa}
.ep-home-latest-top{display:flex;justify-content:space-between;align-items:center;gap:8px}
.ep-home-latest-badge{font-size:9px;letter-spacing:.14em;font-weight:850;color:#91b3f3}
.ep-home-matches-date{font-size:10px;color:#b6e5d4;background:#1c594c;padding:3px 7px;border-radius:5px}
.ep-home-latest h3{font-size:21px!important;line-height:1.18;margin:12px 0 5px!important;color:#f6f9fe!important;letter-spacing:-.45px!important}
.ep-home-latest-sub{font-size:11px;color:#aec0d6}
.ep-home-open-latest{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:14px;padding:10px 12px;background:#eef5ff;border-radius:7px;color:#2352ae!important;text-decoration:none;font-size:12.5px;font-weight:820}
.ep-home-open-latest:hover{background:#d9e9ff;color:#193c81!important}
.ep-home-open-latest span{font-size:18px;line-height:1}
.ep-home-library-list{margin:0 16px;display:grid;gap:1px;border:1px solid #d8e2ed;border-radius:9px;overflow:hidden;background:#d8e2ed}
.ep-home-library-row{display:grid;grid-template-columns:minmax(0,1fr) 30px;align-items:stretch;gap:0;background:#fbfcfe;min-width:0}
.ep-home-library-row:hover{background:#f1f6fd}
.ep-home-library-row>a{display:flex;gap:10px;align-items:center;min-width:0;padding:9px 12px;text-decoration:none;color:#243853}
.ep-home-library-row>a>span:nth-child(2){display:grid;gap:1px;min-width:0}
.ep-home-library-row strong{font-size:12px;font-weight:800;line-height:1.25}
.ep-home-library-row small{font-size:10px;color:#7a8ba1;line-height:1.25}
.ep-home-library-file{display:grid;place-items:center;width:27px;height:30px;flex:0 0 27px;border-radius:6px;background:#e9f0fa;color:#4f75be;font-size:16px}
.ep-home-library-arrow{margin-left:auto;font-size:15px;color:#7990ab}
.ep-home-library-row form{display:flex;justify-content:center;align-items:center;margin:0}
.ep-home-library-row .ep-home-library-remove{padding:0!important;width:26px;height:26px!important;background:transparent!important;box-shadow:none!important;color:#9daabd!important;border:0!important;font-size:19px!important;font-weight:400!important}
.ep-home-library-row .ep-home-library-remove:hover{color:#ad3a3f!important;background:#fbeaed!important}
.ep-home-library-foot{display:flex;gap:8px;justify-content:space-between;align-items:center;padding:10px 17px;font-size:10px;color:#8b9aad}
.ep-home-library-foot form{margin:0}.ep-home-library-delete-latest{font-size:10px!important;padding:4px 6px!important;background:transparent!important;box-shadow:none!important;border:0!important;color:#9a6c74!important}
.ep-home-library-empty{display:grid;justify-items:center;text-align:center;gap:9px;margin:0 16px 16px;padding:32px 20px;background:#ecf2fa;border:1px dashed #bfcfe2;border-radius:11px}
.ep-home-library-empty-icon{font-size:29px;color:#6e91ce}.ep-home-library-empty h3{font-size:16px!important;margin:0!important}.ep-home-library-empty p{font-size:12px;max-width:250px;margin:0}
.ep-home-materials{margin:20px 0 0;border:1px solid #d4e0ec;background:#eef3f8;border-radius:12px;padding:15px 16px}
.ep-home-materials-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:13px}
.ep-home-materials-heading .eyebrow{font-size:9px!important;letter-spacing:.13em;margin-bottom:4px!important}
.ep-home-materials-heading h2{font-size:20px!important;line-height:1.2!important;margin:0!important}
.ep-home-materials-heading p{font-size:11.5px;margin:4px 0 0;color:#72849b}
.ep-home-materials-count{font-size:10.5px;color:#506782;background:#dfe9f4;border-radius:7px;padding:6px 9px;white-space:nowrap}
.ep-home-materials-expand{border:1px solid #d4dfeb;border-radius:9px;background:#f9fbfd;overflow:visible}
.ep-home-materials-expand>summary{display:flex;justify-content:space-between;align-items:center;gap:16px;cursor:pointer;padding:12px 14px;list-style:none}
.ep-home-materials-expand>summary::-webkit-details-marker{display:none}
.ep-home-materials-expand>summary>span:first-child{display:grid;gap:2px}
.ep-home-materials-expand>summary strong{font-size:13px;color:#30455f}
.ep-home-materials-expand>summary small{font-size:11px;color:#7a8ba2}
.ep-home-summary-chevron{font-size:22px;color:#5f7593;transition:transform .18s}
.ep-home-materials-expand[open]>summary{border-bottom:1px solid #d8e3ef;background:#f0f6ff;border-radius:9px 9px 0 0}
.ep-home-materials-expand[open] .ep-home-summary-chevron{transform:rotate(180deg)}
.ep-home-materials-body{display:grid;gap:13px;padding:14px}
.ep-home-materials-body .daily-intake-row{padding:11px!important;gap:11px!important}
.ep-home-materials-body .today-info-box{background:#edf3f8!important;border-color:#d9e3ed!important}
.ep-home-empty{max-width:620px;padding:28px;background:#f5f8fc;border:1px solid #d1ddeb;border-radius:13px}
.ep-home-empty h2{font-size:26px!important;margin:8px 0!important}.ep-home-empty p{font-size:13px}
.ep-home-kicker{font-size:10px;letter-spacing:.12em;font-weight:800;color:#496fb6}
@media(max-width:1050px){.ep-home-focus-grid{grid-template-columns:1fr}.ep-home-create,.ep-home-library{width:100%}}
@media(max-width:640px){
 .ep-home-heading h1{font-size:30px!important}
 .ep-home-heading p{font-size:12px}
 .ep-home-newshow{font-size:11px!important;padding:8px 10px!important}
 .ep-home-context{align-items:flex-start;gap:8px;flex-direction:column}
 .ep-home-focus-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
 .ep-home-create{padding:18px 15px}
 .ep-home-create h2{font-size:25px!important}
 .ep-home-library-heading{padding:17px 15px 12px}
 .ep-home-datefield{grid-template-columns:minmax(0,1fr)}
 
 .ep-home-create-button>span:nth-child(2){font-size:18px}
 .ep-home-create-icon{width:32px;height:32px;flex-basis:32px}
 .ep-home-materials{padding:13px}
 .ep-home-materials-heading{align-items:flex-start;flex-direction:column;gap:8px}
 .ep-home-materials-body{padding:9px}
 .ep-home-materials-body .daily-intake-row{grid-template-columns:1fr}
 .ep-home-materials-body .intake-actions{justify-content:flex-start}
 .ep-home-materials-body .compact-intake-form{min-width:0;width:100%}
}
/* Optional notes don't stand between the presenter and the primary action. */
.ep-home-optional-notes{margin:0 0 1px;padding:0;border:1px solid #d6e2ef;border-radius:8px;background:#edf3fa}
.ep-home-optional-notes>summary{display:flex;justify-content:space-between;align-items:center;gap:9px;padding:10px 12px;cursor:pointer;list-style:none;font-size:11.5px;font-weight:790;color:#50698b}
.ep-home-optional-notes>summary::-webkit-details-marker{display:none}
.ep-home-optional-notes>summary::before{content:'+';font-size:17px;line-height:1;color:#5375b5}
.ep-home-optional-notes[open]>summary::before{content:'−'}
.ep-home-optional-notes>summary span{margin-left:auto;color:#8596ac;font-size:10px;font-weight:520}
.ep-home-optional-notes[open]{padding-bottom:10px}
.ep-home-optional-notes[open] .ep-home-notes-label{display:block!important;margin:0 12px 6px;font-size:10px!important}
.ep-home-optional-notes textarea{display:block;width:calc(100% - 24px);margin:0 12px}


/* v4.2.56 — show clock visible immediately and sticky throughout Prep.
   The timeline appears *before* the show details, not beneath optional Daily Intake.
   The only horizontal scrolling surface is its own track. */
.prep-modern > .prep-timeline {
  position:sticky!important;
  top:var(--prep-sticky-top,70px)!important;
  align-self:start!important;
  z-index:43!important; /* above Prep panels, below global navigation and editor drawers */
  display:flex!important;
  align-items:center!important;
  gap:11px!important;
  padding:7px 9px!important;
  margin:0 0 2px!important;
  min-height:57px;
  max-width:100%!important;
  border-radius:10px!important;
}
.prep-timeline-label {
  display:grid;
  gap:2px;
  flex:0 0 86px;
  font-size:9px;
  font-weight:870;
  line-height:1.2;
  color:#a6badd;
  letter-spacing:.085em;
}
.prep-timeline-label span {font-size:15px;line-height:.65;color:#7196db}
.prep-modern > .prep-timeline .prep-timeline-track {flex:1;min-width:0;min-height:40px;}
.prep-modern > .prep-timeline .prep-timeline-track button {min-width:82px;}
@media(max-width:760px){
 .prep-modern > .prep-timeline{min-height:55px;gap:7px;padding:6px!important;top:var(--prep-sticky-top,116px)!important;}
 .prep-timeline-label{flex-basis:40px;font-size:8px;letter-spacing:0;}
 .prep-timeline-label span{display:none}
}
@media(max-width:440px){ .prep-timeline-label{display:none} }
@media print {.prep-modern > .prep-timeline{display:none!important}}

/* v4.2.57 — unobtrusive Sense of Day treatment in Prep editor */
.prep-sense-day-tool { border-inline-start: 3px solid #4c8bd0; padding-inline-start: 12px; }
.prep-sense-day-tool .muted { line-height: 1.45; }
.prep-sense-selected, .prep-sense-kicker { color: #155c7d; font-weight: 650; }
.prep-sense-selected { display: inline-block; margin-bottom: .6rem; }

/* v4.2.58 — All time labels must be legible BEFORE a junction becomes active.
   A global button style made every inactive tile almost white while its time
   inherited the near-white text originally written for dark tiles. */
.prep-modern > .prep-timeline {gap:6px!important;}
.prep-modern .prep-timeline .prep-timeline-track > button[data-rundown-link] {
  flex:0 0 89px!important;
  display:grid!important;
  align-content:center!important;
  justify-content:start!important;
  min-width:89px!important;
  max-width:116px!important;
  min-height:43px!important;
  padding:5px 8px!important;
  border:1px solid #344e70!important;
  border-radius:7px!important;
  background:#263c59!important;
  color:#e7effd!important;
  opacity:1!important;
  box-shadow:none!important;
}
.prep-modern .prep-timeline .prep-timeline-track > button[data-rundown-link] b {
  display:block!important;
  font-size:15px!important;
  line-height:1.1!important;
  letter-spacing:0!important;
  color:#fff!important;
  font-variant-numeric:tabular-nums;
  opacity:1!important;
}
.prep-modern .prep-timeline .prep-timeline-track > button[data-rundown-link] span {
  display:block!important;
  font-size:10px!important;
  line-height:1.25!important;
  color:#d4e1f3!important;
  opacity:1!important;
}
.prep-modern .prep-timeline .prep-timeline-track > button[data-rundown-link]:hover,
.prep-modern .prep-timeline .prep-timeline-track > button[data-rundown-link]:focus-visible {
  background:#39577d!important;
  border-color:#7ba8ef!important;
  transform:none!important;
}
.prep-modern .prep-timeline .prep-timeline-track > button[data-rundown-link].is-active {
  background:#fff!important;
  border-color:#fff!important;
  box-shadow:inset 3px 0 #346ee8,0 1px 6px #0003!important;
}
.prep-modern .prep-timeline .prep-timeline-track > button[data-rundown-link].is-active b {
  color:#193d73!important;
}
.prep-modern .prep-timeline .prep-timeline-track > button[data-rundown-link].is-active span {
  color:#465d7c!important;
}
.prep-modern .prep-timeline .prep-track-arrow {
  flex:0 0 28px!important;
  display:grid!important;
  place-items:center!important;
  width:28px!important;
  min-width:28px!important;
  max-width:28px!important;
  min-height:42px!important;
  padding:0!important;
  border:1px solid #49617d!important;
  border-radius:7px!important;
  background:#203550!important;
  color:#fff!important;
  font-size:24px!important;
  line-height:1!important;
  font-weight:600!important;
  opacity:1!important;
  transform:none!important;
}
.prep-modern .prep-timeline .prep-track-arrow:hover:not(:disabled) {
  background:#375781!important;
  border-color:#80a9e1!important;
}
.prep-modern .prep-timeline .prep-track-arrow:disabled {
  opacity:.25!important;
  cursor:default!important;
}
.prep-modern .prep-timeline .prep-timeline-track {
  scroll-behavior:auto!important;
  border-radius:6px;
}
@media(max-width:600px){
  .prep-modern .prep-timeline .prep-timeline-track > button[data-rundown-link]{flex-basis:74px!important;min-width:74px!important;padding:5px!important;}
  .prep-modern .prep-timeline .prep-timeline-track > button[data-rundown-link] b{font-size:14px!important;}
  .prep-modern .prep-timeline .prep-track-arrow{flex-basis:23px!important;width:23px!important;min-width:23px!important;max-width:23px!important;font-size:20px!important;}
}
@media print{.prep-modern .prep-timeline {display:none!important;}}

/* v4.2.59 — Rules: edit the actual source directly */
.rule-inline-edit{margin-top:13px;border-top:1px solid #dfe7f0;padding-top:11px;background:transparent}
.rule-inline-edit>summary{font-weight:750;color:#22509b;cursor:pointer;font-size:.83rem;list-style:none}
.rule-inline-edit>summary::-webkit-details-marker{display:none}
.rule-inline-form{display:grid;gap:12px;margin-top:13px;padding:16px;border-radius:12px;background:#eef3fa;border:1px solid #d6e2f0}
.rule-inline-form label{display:grid;gap:6px;color:#203451;font-weight:700;font-size:.87rem}
.rule-inline-form textarea{resize:vertical;min-height:110px;width:100%;font-size:1rem;line-height:1.5}
.rule-inline-form select,.rule-inline-form input{width:100%;font-size:1rem}
.rule-inline-actions{display:flex;flex-wrap:wrap;gap:9px}
.explicit-rule-manager-row:target{outline:3px solid #477ac4;outline-offset:3px}
@media(max-width:760px){.rule-inline-form{padding:12px}.rule-inline-actions>*{flex:1}}


/* v4.2.60 — The show clock must be deep enough to display the complete
   time + multi-line junction label rather than clipping everything to one line.
   Keep the existing dark/blue visual language, sticky offset and horizontal-only
   scrolling; all changes are scoped to the visible Prep timeline. */
.prep-modern > .prep-timeline {
  min-height:102px!important;
  height:auto!important;
  align-items:stretch!important;
  padding:10px!important;
  gap:8px!important;
}
.prep-modern > .prep-timeline .prep-timeline-track {
  display:flex!important;
  align-items:stretch!important;
  flex:1 1 auto!important;
  min-height:80px!important;
  height:auto!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
}
.prep-modern > .prep-timeline .prep-timeline-track > button[data-rundown-link] {
  flex:0 0 128px!important;
  width:128px!important;
  min-width:128px!important;
  max-width:128px!important;
  height:auto!important;
  min-height:80px!important;
  align-content:start!important;
  justify-content:stretch!important;
  gap:6px!important;
  padding:11px 10px!important;
}
.prep-modern > .prep-timeline .prep-timeline-track > button[data-rundown-link] b {
  font-size:17px!important;
  line-height:1.13!important;
  white-space:nowrap!important;
}
.prep-modern > .prep-timeline .prep-timeline-track > button[data-rundown-link] span {
  display:block!important;
  font-size:11.5px!important;
  line-height:1.27!important;
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
  overflow-wrap:anywhere!important;
  word-break:normal!important;
  max-height:none!important;
  -webkit-line-clamp:unset!important;
}
.prep-modern > .prep-timeline .prep-track-arrow,
.prep-modern > .prep-timeline .prep-timeline-label {align-self:center!important;}
@media(max-width:760px){
 .prep-modern > .prep-timeline {min-height:98px!important;padding:7px!important;gap:6px!important;}
 .prep-modern > .prep-timeline .prep-timeline-track > button[data-rundown-link]{flex-basis:118px!important;min-width:118px!important;max-width:118px!important;width:118px!important;min-height:80px!important;padding:9px 8px!important;}
 .prep-modern > .prep-timeline .prep-timeline-track > button[data-rundown-link] b{font-size:16px!important;}
 .prep-modern > .prep-timeline .prep-timeline-track > button[data-rundown-link] span{font-size:11px!important;}
}
@media print {.prep-modern > .prep-timeline {display:none!important;}}

/* v4.2.65: local feedback is visible at the link even after anchor redirect. */
.prep-ending-feedback{padding:9px 13px;margin:8px 0 13px;border-radius:9px;font-size:14px;font-weight:730;line-height:1.45}
.prep-ending-feedback.is-success{background:#e8f4ec;border:1px solid #9ecbac;color:#15522d}
.prep-ending-feedback.is-error{background:#fff0ea;border:1px solid #e9af96;color:#8a2e17}

.prep-drawer-body .outro-option.outro-selected button:disabled{cursor:default;opacity:1;border-color:#91b7a3;background:#e8f4ec;color:#244932}

/* v4.2.66: show an ending option and its action side-by-side without wrapping. */
.prep-drawer-body .outro-option button{display:flex!important;flex-direction:row!important;align-items:center!important;gap:12px!important;min-width:0}
.prep-drawer-body .outro-option-text{flex:1 1 auto;min-width:0}
.prep-drawer-body .outro-option .pill,.prep-drawer-body .outro-use{flex:0 0 auto!important;display:inline-flex!important;min-width:max-content!important;white-space:nowrap!important;word-break:keep-all!important;align-items:center!important;justify-content:center!important;line-height:1.2!important}
.rule-learning-shortcuts{display:flex;flex-wrap:wrap;gap:8px;margin:9px 0 15px}
.approved-prep-list{display:grid;gap:8px;margin-top:12px}.approved-prep-entry{border:1px solid #d9e1ec;border-radius:10px;background:#f8faff;padding:10px 13px}.approved-prep-entry summary{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer}.approved-prep-entry summary span:first-child{display:grid;gap:3px}.approved-prep-entry small{color:#627188}.approved-prep-notes{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:10px;padding:13px 0}.approved-prep-notes h4{margin:0 0 5px}.approved-prep-notes ul{margin:0;padding-left:19px}#approved-prep-learning,#reference-library,#learned-profile,#refinement-review{scroll-margin-top:125px}
/* Active-rules search/filter: author display:grid must never override HTML hidden. */
.effective-section[hidden],.effective-rule-card[hidden],.search-empty[hidden]{display:none!important}

/* v4.2.67: direct, legible per-link same-terms regeneration. */
.prep-actionbar .prep-try-again{display:inline-flex;margin:0;flex:0 0 auto}
.prep-try-again-button{display:inline-flex;align-items:center;justify-content:center;gap:5px;white-space:nowrap;min-height:32px;border:1px solid #c7d6ec;border-radius:7px;background:#eff5ff;color:#244c87;font-weight:750;font-size:13px;line-height:1.15;font-family:inherit;padding:6px 12px;cursor:pointer}
.prep-try-again-button:hover,.prep-try-again-button:focus-visible{background:#e0edff;color:#133c81;border-color:#8eb3e8;outline-offset:2px}
@media(max-width:640px){.prep-actionbar .prep-try-again{position:sticky;left:0;background:#fff;z-index:1;padding-right:5px}}





/* v4.2.68 — Compact per-link generators (no full-height editor sidebar) */
#prep-dialog-backdrop[hidden]{display:none!important}
#prep-dialog-backdrop{position:fixed!important;inset:0!important;display:block!important;border:0!important;background:rgba(8,23,44,.48)!important;backdrop-filter:blur(2px);z-index:1900!important;cursor:default;padding:0!important}
.prep-modern .prep-tool[open]::before{display:none!important}
.prep-modern .prep-tool .prep-tool-drawer,
.prep-modern .prep-tool .prep-tool-drawer.compact-drawer{
  position:fixed!important;top:50%!important;left:50%!important;right:auto!important;
  transform:translate(-50%,-50%)!important;width:min(500px,calc(100vw - 28px))!important;
  height:auto!important;max-height:min(82dvh,760px)!important;min-height:0!important;
  z-index:1901!important;display:flex!important;flex-direction:column!important;
  background:#f8fafc!important;border:1px solid #c8d5e3!important;
  border-radius:16px!important;overflow:hidden!important;
  box-shadow:0 22px 85px rgba(9,25,46,.3)!important;animation:none!important;
}
.prep-modern .prep-tool .prep-generator-rewrite{width:min(650px,calc(100vw - 28px))!important}
.prep-modern .prep-tool .prep-generator-tease{width:min(440px,calc(100vw - 28px))!important}
.prep-modern .prep-tool .prep-generator-small{width:min(505px,calc(100vw - 28px))!important}
.prep-modern .prep-tool .prep-tool-drawer .prep-drawer-head{padding:14px 18px 12px!important;gap:12px!important;flex:0 0 auto}
.prep-modern .prep-tool .prep-tool-drawer .prep-drawer-head h3{font-size:19px!important;margin:2px 0 0!important}
.prep-modern .prep-tool .prep-tool-drawer .prep-drawer-body{
  padding:16px 18px 19px!important;display:block!important;overflow-y:auto!important;
  min-height:0!important;overscroll-behavior:contain!important;
}
.prep-modern .prep-tool .prep-drawer-body .prep-tool-section{margin:0 0 15px;padding-bottom:14px!important;gap:9px!important}
.prep-modern .prep-tool .prep-drawer-body .prep-tool-section h4{font-size:12px!important;letter-spacing:.035em}
.prep-modern .prep-tool .prep-generator-tease .prep-drawer-body{display:grid!important;gap:10px!important}
.prep-modern .prep-tool .prep-generator-tease .prep-current-preview{padding:10px 12px}
.prep-modern .prep-tool .prep-generator-tease .prep-tease-extras{display:flex;justify-content:space-between;align-items:end;gap:12px}
.prep-modern .prep-tool .prep-generator-tease .prep-tease-extras form{flex:1}
.prep-modern .prep-tool .prep-generator-tease .prep-tease-extras .textbutton{white-space:nowrap}
.prep-modern .prep-tool .prep-generator-rewrite .prep-quick-options{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}
.prep-modern .prep-tool .prep-generator-rewrite .prep-quick-options .smallbutton{
  min-height:42px!important;font-size:13px!important;text-align:left!important;padding:9px 12px!important;
  border:1px solid #cbd8e8!important;border-radius:9px!important;background:#fff!important;color:#253d5e!important;
}
.prep-modern .prep-tool .prep-generator-rewrite .prep-quick-options .smallbutton:hover{background:#eaf2ff!important;border-color:#5b87c8!important}
.prep-modern .prep-tool .prep-specific-form textarea{min-height:90px!important}
.prep-modern .prep-tool .prep-generator-more{border:1px solid #d7e2ef;border-radius:9px;background:#fff;padding:10px 12px;margin:10px 0}
.prep-modern .prep-tool .prep-generator-more > summary{cursor:pointer;font-size:13px;font-weight:740;color:#31557c;padding:2px 0}
.prep-modern .prep-tool .prep-generator-more[open] > summary{margin-bottom:12px}
.prep-modern .prep-tool .prep-generator-more > section{padding-top:10px;border-top:1px solid #e5ebf3}
.prep-modern .prep-tool .prep-generator-more label{margin-top:8px}
.prep-modern .prep-tool .prep-generator-rewrite .prep-pace-form{grid-template-columns:minmax(0,1fr) auto!important}
.prep-modern .prep-tool .prep-generator-rewrite .prep-pace-form .button{white-space:nowrap}
.prep-modern .prep-tool .prep-tool-drawer .muted{line-height:1.45!important}
@media(max-width:640px){
  .prep-modern .prep-tool .prep-tool-drawer,.prep-modern .prep-tool .prep-tool-drawer.compact-drawer{
    width:calc(100vw - 20px)!important;max-height:calc(100dvh - 26px)!important;border-radius:13px!important;
  }
  .prep-modern .prep-tool .prep-generator-rewrite .prep-quick-options{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .prep-modern .prep-tool .prep-generator-rewrite .prep-pace-form{grid-template-columns:1fr!important}
  .prep-modern .prep-tool .prep-generator-tease .prep-tease-extras{flex-wrap:wrap}
}
@media print{#prep-dialog-backdrop,.prep-modern .prep-tool-drawer{display:none!important}}
/* Ensure every compact generator title contrasts against its dark header. */
.prep-modern .prep-tool .prep-drawer-head h3{color:#fff!important}


/* v4.2.69 — Quiet per-link actions, contained time rail and genuinely compact generators. */
/* Try again is an equal peer of the other controls, not a primary CTA. */
.prep-modern .prep-actionbar .prep-try-again{
  display:inline-flex!important;align-items:center!important;padding:0!important;
  margin:0!important;flex:0 0 auto!important;background:transparent!important;position:static!important;
}
.prep-modern .prep-actionbar .prep-try-again-button{
  min-height:0!important;height:auto!important;margin:0!important;
  padding:6px 9px!important;border:0!important;border-radius:7px!important;
  box-shadow:none!important;background:transparent!important;color:#53647a!important;
  font-family:inherit!important;font-size:12px!important;font-weight:820!important;line-height:normal!important;
  white-space:nowrap!important;
}
.prep-modern .prep-actionbar .prep-try-again-button:hover,
.prep-modern .prep-actionbar .prep-try-again-button:focus-visible{
  background:#eaf0f7!important;color:#244ca8!important;outline-offset:2px!important;
}
/* Make a little more room for long clock labels. Their entire text stays INSIDE the rail. */
.prep-modern .prep-rundown-row{grid-template-columns:126px minmax(0,1fr)!important;}
.prep-modern .prep-time-rail{
  box-sizing:border-box!important;min-width:0!important;width:126px!important;max-width:126px!important;
  overflow:hidden!important;padding:19px 12px 16px!important;align-items:stretch!important;
}
.prep-modern .prep-time-rail time{display:block;white-space:nowrap;max-width:100%;}
.prep-modern .prep-time-rail span{
  box-sizing:border-box!important;display:block!important;max-width:100%!important;min-width:0!important;
  width:100%!important;white-space:normal!important;overflow-wrap:anywhere!important;
  hyphens:auto!important;word-break:normal!important;line-height:1.34!important;
}
/* Current Copy is already named in the rail, so don't overlay a second COPY badge. */
.prep-modern .prep-rundown-row.is-current-copy .prep-time-rail::before{content:none!important;display:none!important;}
/* The 5 quick choices are enough up-front; all detailed settings open on demand. */
.prep-modern .prep-tool .prep-generator-rewrite{width:min(460px,calc(100vw - 24px))!important;max-height:min(80dvh,630px)!important;}
.prep-modern .prep-tool .prep-generator-rewrite .prep-drawer-body{padding:13px 16px 15px!important;}
.prep-modern .prep-tool .prep-generator-rewrite .prep-quick-options .smallbutton{min-height:36px!important;padding:7px 10px!important;}
.prep-modern .prep-tool .prep-generator-advanced{margin:7px 0!important;padding:8px 10px!important;}
.prep-modern .prep-tool .prep-generator-advanced > summary{font-size:12.5px!important;}
.prep-modern .prep-tool .prep-generator-advanced > section{margin:0!important;padding:10px 0 0!important;border:0!important;}
/* Main Build Prep retains the detailed monitor. Every other processing action gets a small box. */
.processing-overlay.processing-compact .processing-card{
  width:min(386px,calc(100vw - 30px))!important;max-width:386px!important;
  padding:19px 20px!important;border-radius:15px!important;gap:12px!important;
  text-align:left!important;
}
.processing-overlay.processing-compact .processing-card-head{align-items:center!important;gap:12px!important;}
.processing-overlay.processing-compact .processing-kicker{font-size:10px!important;letter-spacing:.055em!important;}
.processing-overlay.processing-compact #processing-message{font-size:15px!important;line-height:1.4!important;}
.processing-overlay.processing-compact #processing-stage{font-size:12px!important;}
.processing-overlay.processing-compact .processing-build-monitor,
.processing-overlay.processing-compact .processing-detail{display:none!important;}
.processing-overlay.processing-compact .progress-track{height:4px!important;overflow:hidden!important;}
.processing-overlay.processing-compact .progress-bar{
  width:34%!important;max-width:34%!important;animation:prepSingleActionActivity 1.45s ease-in-out infinite alternate!important;
}
@keyframes prepSingleActionActivity {from{transform:translateX(0)}to{transform:translateX(185%)}}
@media(max-width:900px) and (min-width:641px){
 .prep-modern .prep-rundown-row{grid-template-columns:108px minmax(0,1fr)!important;}
 .prep-modern .prep-time-rail{width:108px!important;max-width:108px!important;padding:17px 9px!important;}
}
@media(max-width:640px){
 .prep-modern .prep-rundown-row{display:block!important;}
 .prep-modern .prep-time-rail{width:100%!important;max-width:100%!important;display:flex!important;flex-direction:row!important;align-items:center!important;gap:10px!important;padding:10px 14px!important;}
 .prep-modern .prep-time-rail time{flex:0 0 auto;}
 .prep-modern .prep-time-rail span{width:auto!important;max-width:calc(100% - 90px)!important;}
 .prep-modern .prep-actionbar{overflow-x:auto;scrollbar-width:thin;}
 .prep-modern .prep-tool .prep-generator-rewrite{width:calc(100vw - 20px)!important;}
}
@media print{.processing-overlay.processing-compact{display:none!important;}}

/* v4.2.69 cancellable generation: compact cancel row, full-build monitor stays large. */
.processing-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap;}
.processing-actions .processing-cancel{font-size:13px!important;min-width:120px;white-space:nowrap!important;padding:9px 13px!important;}
.processing-actions #processing-cancel-note{max-width:310px;line-height:1.4;color:#9b481b;}
.processing-overlay.processing-compact .processing-actions{margin-top:0;}
.processing-overlay.processing-compact .processing-cancel{border:1px solid #c5d0e0!important;color:#30425b!important;background:#fff!important;}

/* Final rail polish: long labels may wrap but never enter the spoken-copy column. */
@media(min-width:901px){
 .prep-modern .prep-rundown-row{grid-template-columns:138px minmax(0,1fr)!important;}
 .prep-modern .prep-time-rail{width:138px!important;max-width:138px!important;}
}
.prep-modern .prep-time-rail span{
 display:-webkit-box!important;-webkit-line-clamp:4;-webkit-box-orient:vertical;
 overflow:hidden!important;text-overflow:ellipsis;overflow-wrap:break-word!important;
 word-break:normal!important;hyphens:auto;
}
#processing-cancel[hidden],#processing-cancel-note[hidden]{display:none!important;}
