
.app[data-screen="home"] .nav-item,
.app[data-screen="works"] .nav-item,
.app[data-screen="assets"] .nav-item,
.app[data-screen="exports"] .nav-item{
  position:relative;
  display:grid;
  grid-template-columns:7px minmax(0,1fr) auto;
  gap:10px;
  min-height:46px;
  padding:8px 12px;
  border:0;
  border-radius:0;
  color:#666;
  background:#fff;
  box-shadow:none;
}
.app[data-screen="home"] .nav-item::after,
.app[data-screen="works"] .nav-item::after,
.app[data-screen="assets"] .nav-item::after,
.app[data-screen="exports"] .nav-item::after{
  content:attr(data-en);
  color:#aaa9a7;
  font:500 8px/1 var(--mono);
  letter-spacing:.11em;
}
.app[data-screen="home"] .nav-item.active,
.app[data-screen="works"] .nav-item.active,
.app[data-screen="assets"] .nav-item.active,
.app[data-screen="exports"] .nav-item.active{
  color:#fff;
  background:#151516;
  box-shadow:inset 3px 0 #b34a3c;
}
.app[data-screen="home"] .nav-item.active::after,
.app[data-screen="works"] .nav-item.active::after,
.app[data-screen="assets"] .nav-item.active::after,
.app[data-screen="exports"] .nav-item.active::after{color:#aaa}
.app[data-screen="home"] .nav-item .dot,
.app[data-screen="works"] .nav-item .dot,
.app[data-screen="assets"] .nav-item .dot,
.app[data-screen="exports"] .nav-item .dot{
  width:4px;
  height:4px;
  border-radius:50%;
  background:#c7c7c3;
}
.app[data-screen="home"] .nav-item.active .dot,
.app[data-screen="works"] .nav-item.active .dot,
.app[data-screen="assets"] .nav-item.active .dot,
.app[data-screen="exports"] .nav-item.active .dot{background:#fff}
.app[data-screen="home"] .conn,
.app[data-screen="works"] .conn,
.app[data-screen="assets"] .conn,
.app[data-screen="exports"] .conn{
  border-bottom:1px solid #e2e2df;
  padding-bottom:18px;
  color:#777;
}
.app[data-screen="home"] .side-foot,
.app[data-screen="works"] .side-foot,
.app[data-screen="assets"] .side-foot,
.app[data-screen="exports"] .side-foot{
  padding-top:18px;
  border-top:0;
}
.app[data-screen="home"] .avatar,
.app[data-screen="works"] .avatar,
.app[data-screen="assets"] .avatar,
.app[data-screen="exports"] .avatar{
  border-radius:50%;
  background:linear-gradient(145deg,#1e3241 0 48%,#b34a3c 49% 52%,#d9d9d5 53%);
}

/* Confirmed home dashboard: white editorial shell + blue visual banner */
.app[data-screen="home"] .main{background:#fff}
.app[data-screen="home"] .main>div:first-child{
  min-height:106px;
  padding:28px 46px!important;
  border-bottom:1px solid #dededb!important;
}
.app[data-screen="home"] .h-title{
  color:#151516;
  font-size:40px!important;
  font-weight:400;
  letter-spacing:-.035em;
}
.app[data-screen="home"] .search{
  min-width:300px;
  height:44px;
  border:1px solid #cfcfcb;
  border-radius:0;
  background:#fff;
  box-shadow:none;
}
.app[data-screen="home"] .pad{
  padding:30px 42px 46px;
  background:#fff;
}
.app[data-screen="home"] .uploadbar{
  position:relative;
  isolation:isolate;
  min-height:126px;
  margin-bottom:22px;
  padding:26px 30px;
  overflow:hidden;
  border:0;
  border-radius:0;
  background:#1e3241;
  box-shadow:none;
  color:#fff;
}
.app[data-screen="home"] .uploadbar::before{
  content:"";
  position:absolute;
  z-index:-1;
  inset:0;
  background:
    radial-gradient(80% 180% at 68% 112%,rgba(205,218,222,.58),transparent 46%),
    linear-gradient(146deg,transparent 0 52%,rgba(128,154,165,.34) 52.5% 56%,transparent 56.5%),
    linear-gradient(116deg,rgba(255,255,255,.03),rgba(255,255,255,.13));
}
.app[data-screen="home"] .uploadbar::after{
  content:"NEW STORY";
  position:absolute;
  right:25px;
  top:18px;
  color:rgba(255,255,255,.54);
  font:500 9px/1 var(--mono);
  letter-spacing:.18em;
}
.app[data-screen="home"] .uploadbar .fmt{
  border-color:rgba(255,255,255,.72)!important;
  background:rgba(255,255,255,.08);
  color:#fff;
}
.app[data-screen="home"] .uploadbar [style*="color:var(--mute3)"]{color:rgba(255,255,255,.7)!important}
.app[data-screen="home"] .uploadbar .btn-dark{
  background:#b34a3c!important;
  border-color:#b34a3c!important;
}
.app[data-screen="home"] .statstrip{
  margin-bottom:30px;
  overflow:hidden;
  border:1px solid #d9d9d6;
  border-radius:0;
  background:#fff;
  box-shadow:none;
}
.app[data-screen="home"] .statstrip .cell{
  min-height:118px;
  padding:24px 26px;
  border-color:#e0e0dd;
  background:#fff;
}
.app[data-screen="home"] .statstrip .cell .n{
  color:#151516;
  font-size:42px;
  font-weight:400;
}
.app[data-screen="home"] .statstrip .cell .l{
  color:#777;
  letter-spacing:.05em;
}
.app[data-screen="home"] .section-h{
  margin:0 0 15px;
  padding-top:2px;
}
.app[data-screen="home"] .section-h .t{font-size:20px}
.app[data-screen="home"] .section-h .a{color:#b34a3c}
.app[data-screen="home"] .cont-grid{gap:20px!important}
.app[data-screen="home"] .cont-grid>button,
.app[data-screen="home"] .cont-grid>div{
  border-radius:0!important;
  box-shadow:none!important;
}

/* Works: retain the real compact three-column archive */
.app[data-screen="works"] .main{background:#fff}
.app[data-screen="works"] .pad{padding:40px 42px 52px}
.app[data-screen="works"] .page-head{
  margin-bottom:22px;
  padding-bottom:24px;
  border-bottom:1px solid #d9d9d6;
}
.app[data-screen="works"] .eyebrow{color:#b34a3c}
.app[data-screen="works"] .h-title{
  color:#151516;
  font-size:40px;
  letter-spacing:-.03em;
}
.app[data-screen="works"] .search{
  height:40px;
  border:1px solid #cfcfcb;
  border-radius:0;
  background:#fff;
  box-shadow:none;
}
.app[data-screen="works"] .tabbar{
  margin-bottom:22px;
  border-bottom-color:#d9d9d6;
}
.app[data-screen="works"] .tab.active{
  color:#151516;
  border-bottom-color:#b34a3c;
}
.app[data-screen="works"] .works{
  counter-reset:work-index;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:28px 22px;
}
.app[data-screen="works"] .work.card{
  counter-increment:work-index;
  position:relative;
  padding-top:23px;
  border-top:1px solid #151516;
  border-radius:0;
  box-shadow:none;
  transform:none;
}
.app[data-screen="works"] .work.card::before{
  content:"0" counter(work-index);
  position:absolute;
  top:4px;
  right:0;
  color:#b34a3c;
  font:500 9px/1 var(--mono);
  letter-spacing:.12em;
}
.app[data-screen="works"] .work.card:hover{transform:none}
.app[data-screen="works"] .work.card:hover .wt{color:#b34a3c}
.app[data-screen="works"] .work .cov{
  height:142px;
  margin-bottom:12px;
  border:1px solid #e1e1de;
  border-radius:0;
}
.app[data-screen="works"] .tagdark,
.app[data-screen="works"] .tagmute{
  border-radius:0;
  box-shadow:none;
}
.app[data-screen="works"] .work .wt{font-size:16px;transition:color .15s}
.app[data-screen="works"] .bar i{background:#b34a3c}
.app[data-screen="works"] .enter{color:#b34a3c}
.app[data-screen="works"] .work.new{
  min-height:212px;
  border-radius:0;
  border-color:#c5c4c0;
  background:#fff;
}

/* Assets: only the reviewed shell, left navigation and top utility area */
.app[data-screen="assets"] .main{background:#fff}
.app[data-screen="assets"] .main>.pad{padding:40px 42px 52px}
.app[data-screen="assets"] .page-head{
  margin-bottom:22px;
  padding-bottom:24px;
  border-bottom:1px solid #d9d9d6;
  display:block;
}
.app[data-screen="assets"] .page-head .eyebrow{color:#b34a3c}
.app[data-screen="assets"] .page-head .h-title{
  color:#151516;
  font-size:38px;
  letter-spacing:-.025em;
}
.app[data-screen="assets"] .page-head .search{
  height:40px;
  border:1px solid #cfcfcb;
  border-radius:0;
  background:#fff;
  box-shadow:none;
}
.app[data-screen="assets"] .asset-head-actions{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:10px;
  flex-wrap:wrap;
  margin-top:18px;
}
.app[data-screen="assets"] .asset-head-actions .search{min-width:180px;width:220px;flex:0 0 auto}
.app[data-screen="assets"] .voice-asset-card{
  display:grid!important;
  grid-template-columns:54px minmax(0,1fr) auto;
  gap:20px!important;
  align-items:center!important;
}
.app[data-screen="assets"] .voice-asset-actions{
  display:flex;
  gap:10px;
  align-items:center;
  justify-content:flex-end;
  flex-wrap:wrap;
}
.app[data-screen="assets"] .voice-history-list{
  display:flex;
  flex-direction:column;
  gap:10px;
}
.app[data-screen="assets"] .voice-history-item{
  display:grid;
  grid-template-columns:minmax(190px,280px) minmax(0,1fr) auto;
  gap:18px;
  align-items:center;
  border:1px solid var(--line);
  background:#fff;
  padding:14px 16px;
}
.app[data-screen="assets"] .page-head+div{
  border:1px solid #d9d9d6!important;
  border-left:3px solid #b34a3c!important;
  border-radius:0!important;
  background:#fff!important;
  box-shadow:none!important;
}

/* Confirmed populated export center */
.app[data-screen="exports"] .main{
  position:relative;
  background:#fff;
}
.app[data-screen="exports"] .main::before{
  content:"EXPORTS";
  position:absolute;
  z-index:0;
  top:clamp(106px,10vh,120px);
  right:38px;
  color:#f3f2f0;
  font:400 clamp(72px,9vw,154px)/.8 var(--serif);
  letter-spacing:-.05em;
  pointer-events:none;
}
.app[data-screen="exports"] .main>.pad{
  position:relative;
  z-index:1;
  padding:40px 44px 52px!important;
}
.app[data-screen="exports"] .page-head{
  min-height:110px;
  margin-bottom:25px;
  padding:0 0 24px 18px;
  border-bottom:1px solid #d9d9d6;
  border-left:3px solid #b34a3c;
}
.app[data-screen="exports"] .page-head .eyebrow{color:#b34a3c}
.app[data-screen="exports"] .page-head .h-title{
  color:#151516;
  font-size:40px!important;
  letter-spacing:-.03em;
}
.app[data-screen="exports"] .page-head select,
.app[data-screen="exports"] .page-head .btn-line{
  border-radius:0!important;
  box-shadow:none!important;
}
.app[data-screen="exports"] .ep-block{
  position:relative;
  margin-bottom:12px;
  padding:15px 18px;
  border:1px solid #d9d9d6;
  border-radius:0;
  background:rgba(255,255,255,.96);
  box-shadow:none;
}
.app[data-screen="exports"] .ep-block::before{
  content:"";
  position:absolute;
  top:-1px;
  left:-1px;
  width:34px;
  height:2px;
  background:#b34a3c;
}
.app[data-screen="exports"] .ep-block.cur{
  border:1px solid #151516;
  box-shadow:inset 3px 0 #b34a3c;
}
.app[data-screen="exports"] .clip .cv{
  border-radius:0;
  border:1px solid #e0e0dd;
}
.app[data-screen="exports"] .export-band{
  position:relative;
  grid-template-columns:minmax(0,1fr) 320px;
  gap:36px;
  margin-top:34px;
  padding-top:30px;
  border-top:1px solid #151516;
}
.app[data-screen="exports"] .export-band::before{
  content:"OUTPUT / MASTER";
  position:absolute;
  top:-7px;
  right:0;
  padding-left:10px;
  background:#fff;
  color:#b34a3c;
  font:500 9px/1 var(--mono);
  letter-spacing:.16em;
}
.app[data-screen="exports"] .exp-task{border-bottom-color:#e3e3e0}
.app[data-screen="exports"] .exp-panel{
  position:relative;
  padding:20px 0 0 26px;
  border-left:1px solid #d9d9d6;
  border-top:2px solid #b34a3c;
}

/* Confirmed script workbench; graph and video are intentionally excluded */
.app[data-screen="workbench-script"] .wb-shell-script{
  --sb-brick:#b34a3c;
  background:#fff;
}
.app[data-screen="workbench-script"] .wb-top{
  min-height:72px;
  height:72px;
  padding:0 28px;
  border-bottom:1px solid #d9d9d6;
  background:#fff;
  box-shadow:none;
}
.app[data-screen="workbench-script"] .wb-work{
  flex:1 1 auto;
  min-width:0;
  color:#151516;
  font:600 18px/1.4 var(--sc);
  letter-spacing:-.02em;
  padding:1px 0 2px;
}
.app[data-screen="workbench-script"] .back,
.app[data-screen="workbench-script"] .vrule,
.app[data-screen="workbench-script"] .wb-episode-picker,
.app[data-screen="workbench-script"] .sb-episode-count{
  flex-shrink:0;
}
.app[data-screen="workbench-script"] .back{white-space:nowrap}
.app[data-screen="workbench-script"] .wb-episode-picker{
  position:relative;
  width:88px;
}
.app[data-screen="workbench-script"] .wb-tab{
  color:#8a8a87;
  border-bottom:2px solid transparent;
  border-radius:0;
}
.app[data-screen="workbench-script"] .wb-tab.active{
  color:#151516;
  border-bottom-color:#b34a3c;
}
.app[data-screen="workbench-script"] .chip{
  box-sizing:border-box;
  width:88px;
  height:30px;
  min-height:30px;
  padding:0 10px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  white-space:nowrap;
  border:1px solid #cfcfcb;
  border-radius:0;
  background:#fff;
  box-shadow:none;
}
.app[data-screen="workbench-script"] .sb-episode-count{
  box-sizing:border-box;
  width:88px;
  height:30px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:30px;
  padding:0 10px;
  white-space:nowrap;
  border:1px solid #d9d9d6;
  color:#777;
  font:500 9px/1 var(--mono);
  letter-spacing:.12em;
}
.app[data-screen="workbench-script"] .script-workbench{
  background:#fff;
}
.app[data-screen="workbench-script"] .script-workbench>.col-list{
  width:236px;
  min-width:236px;
  max-width:236px;
  padding:24px 0;
  border-right:1px solid #d9d9d6;
  background:#fff;
}
.app[data-screen="workbench-script"] .script-workbench .col-label{
  color:#b34a3c;
  letter-spacing:.18em;
}
.app[data-screen="workbench-script"] .script-workbench .ep{
  min-height:42px;
  padding:10px 20px;
  border-left:3px solid transparent;
  border-radius:0;
  color:#777;
  background:#fff;
}
.app[data-screen="workbench-script"] .script-workbench .ep:hover{
  color:#151516;
  background:#f5f5f3;
}
.app[data-screen="workbench-script"] .script-workbench .ep.active{
  color:#151516;
  border-left-color:#b34a3c;
  background:#f2f1ef;
}
.app[data-screen="workbench-script"] .script-mid{
  position:relative;
  background:#fff;
}
.app[data-screen="workbench-script"] .src-banner{
  min-height:82px;
  padding:15px 34px;
  border-bottom:1px solid #d9d9d6;
  background:#fff;
  box-shadow:none;
}
.app[data-screen="workbench-script"] .src-banner .fmt{
  border:1px solid #151516;
  border-radius:0;
  background:#fff;
}
.app[data-screen="workbench-script"] .src-banner button{
  border-radius:0!important;
  box-shadow:none!important;
}
.app[data-screen="workbench-script"] .script-style-panel{
  margin:0;
  border-bottom:1px solid #d9d9d6;
  background:#fff;
}
.app[data-screen="workbench-script"] .script-style-row{
  display:grid;
  grid-template-columns:154px minmax(0,1fr);
  min-height:66px;
  padding:0 34px;
  border-bottom:1px solid #e7e7e5;
}
.app[data-screen="workbench-script"] .script-style-row:last-child{border-bottom:0}
.app[data-screen="workbench-script"] .script-style-row[data-collapsed="1"]{
  min-height:44px;
}
.app[data-screen="workbench-script"] .script-style-label{
  display:grid;
  grid-template-columns:26px max-content minmax(0,1fr);
  align-items:center;
  gap:8px;
  width:100%;
  padding-right:18px;
  border-right:1px solid #d9d9d6;
  border-radius:0;
  background:transparent;
  text-align:left;
  white-space:nowrap;
}
.app[data-screen="workbench-script"] .script-style-label span{
  color:#b34a3c;
  font:500 9px/1 var(--mono);
  letter-spacing:.12em;
}
.app[data-screen="workbench-script"] .script-style-label b{
  color:#151516;
  font:500 13px/1.2 var(--sc);
  letter-spacing:.02em;
}
.app[data-screen="workbench-script"] .script-style-label i{
  justify-self:end;
  color:#8a8a87;
  font:500 9px/1 var(--mono);
  font-style:normal;
  letter-spacing:.08em;
}
.app[data-screen="workbench-script"] .script-style-controls{
  display:flex;
  align-items:center;
  gap:14px;
  min-width:0;
  padding:14px 0 14px 20px;
  flex-wrap:wrap;
}
.app[data-screen="workbench-script"] .script-style-group{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}
.app[data-screen="workbench-script"] .script-style-group+.script-style-group{
  padding-left:18px;
  border-left:1px solid #d9d9d6;
}
.app[data-screen="workbench-script"] .script-style-sublabel{
  flex:0 0 auto;
  color:#8a8a87;
  font:500 9px/1 var(--mono);
  letter-spacing:.12em;
}
.app[data-screen="workbench-script"] .script-style-chips{
  display:flex;
  align-items:center;
  gap:7px;
}
.app[data-screen="workbench-script"] .script-style-chip{
  min-width:54px;
  height:36px;
  padding:0 12px;
  border:1px solid #d9d9d6;
  border-radius:0;
  background:#fff;
  box-shadow:none;
  font-size:12px;
}
.app[data-screen="workbench-script"] .script-style-chip[style*="background:var(--ink)"]{
  box-shadow:inset 0 -2px #b34a3c;
}
.app[data-screen="workbench-script"] .script-visual-controls select{
  min-width:210px;
  border-radius:0;
  box-shadow:none;
}
.app[data-screen="workbench-script"] .script-style-custom{
  height:36px;
  padding:0 13px;
  border:1px solid #151516;
  border-radius:0;
  background:#fff;
  font-size:11.5px;
}
.app[data-screen="workbench-script"] .script-style-input{
  flex:1 1 220px;
  width:auto;
  min-width:200px;
  max-width:420px;
  height:36px;
  padding:0 11px;
  border:1px solid #d9d9d6;
  border-radius:0;
  background:#fff;
  color:#151516;
  outline:none;
  font:12.5px/1 var(--sans);
}
.app[data-screen="workbench-script"] .script-style-input:focus{
  border-color:#151516;
  box-shadow:0 0 0 2px rgba(179,74,60,.14);
}
.app[data-screen="workbench-script"] .script-style-note{
  margin-left:auto;
  color:#929293;
  font:500 9.5px/1.4 var(--mono);
  letter-spacing:.04em;
  white-space:nowrap;
}
.app[data-screen="workbench-script"] .subtabs{
  min-height:48px;
  height:48px;
  padding:0 28px;
  border-bottom:1px solid #d9d9d6;
  background:#fff;
}
.app[data-screen="workbench-script"] .subtab.active{border-bottom-color:#b34a3c}
.app[data-screen="workbench-script"] .script-body{
  padding:34px 42px 72px;
  background:#fff;
}
.app[data-screen="workbench-script"] .script-body>.scene-eyebrow,
.app[data-screen="workbench-script"] .screenplay-page .sp-scene-index{color:#b34a3c}
.app[data-screen="workbench-script"] .scene-title{
  font-size:26px;
  letter-spacing:-.02em;
}
.app[data-screen="workbench-script"] .script-workbench>.col-tools{
  width:318px;
  min-width:318px;
  padding:25px 24px;
  border-left:1px solid #d9d9d6;
  background:#fff;
}
.app[data-screen="workbench-script"] .tool-row{
  min-height:48px;
  border-bottom:1px solid #e3e3e0;
  border-radius:0;
}
.app[data-screen="workbench-script"] .tool-row:hover{color:#b34a3c}
.app[data-screen="workbench-script"] .stat3{
  padding-top:16px;
  border-top:2px solid #b34a3c;
}
.app[data-screen="workbench-script"] .stat3 .n{font-size:32px}

@media(max-width:1180px){
  .app[data-screen="guest"] .hero{grid-template-columns:1fr 1fr}
  .app[data-screen="guest"] .hero-l{padding-left:42px;padding-right:42px}
  .app[data-screen="works"] .works{grid-template-columns:repeat(2,minmax(0,1fr))}
  .app[data-screen="workbench-script"] .script-workbench>.col-list{width:200px;min-width:200px;max-width:200px}
  .app[data-screen="workbench-script"] .script-workbench>.col-tools{width:270px;min-width:270px}
  .app[data-screen="workbench-script"] .script-style-row{
    grid-template-columns:150px minmax(0,1fr);
    padding:0 20px;
  }
  .app[data-screen="workbench-script"] .script-style-controls{gap:10px;padding-left:16px}
  .app[data-screen="workbench-script"] .script-style-group+.script-style-group{padding-left:12px}
}
@media(max-width:760px){
  .app[data-screen="guest"] .gnav{height:64px;padding:0 18px}
  .app[data-screen="guest"] .brand-tag,
  .app[data-screen="guest"] .gnav-links>.guest-link:not(.strong){display:none}
  .app[data-screen="guest"] .gnav-links{gap:12px}
  .app[data-screen="guest"] .hero{display:block;min-height:0}
  .app[data-screen="guest"] .hero-l{padding:58px 24px 46px}
  .app[data-screen="guest"] .hero-r{min-height:420px}
  .app[data-screen="guest"] .showcase{grid-template-columns:repeat(2,minmax(0,1fr))}
  .app[data-screen="guest"] .ovl-card{padding:42px 26px 32px}
  .app[data-screen="works"] .works{grid-template-columns:1fr}
}

/* ===== Remaining UI/UX · editorial production surfaces · 2026-07-24 =====
   Exact screen scopes preserve the already approved pages and all live data. */
.app:is(
  [data-screen="workbench-script-graph"],
  [data-screen="workbench-script-materials"],
  [data-screen="workbench-video"],
  [data-screen="exports-trash"],
  [data-screen="settings"]
){
  --paper:#fff;
  --cream:#fff;
  --ink:#151516;
  --ink-rich:#242425;
  --ink-2:#3f3f40;
  --t2:#565657;
  --t3:#676768;
  --mute:#6f6f70;
  --mute2:#858586;
  --mute3:#929293;
  --faint:#aaa9a7;
  --faint2:#bebdb9;
  --line:#e7e7e5;
  --line2:#dededb;
  --line3:#d9d9d6;
  --soft:#f3f3f1;
  --edge:#cececa;
  --dash:#c5c4c0;
  --hover:#f2f1ef;
  --hover2:#fafafa;
  --hover3:#f7f7f5;
  --hover4:#f5f5f3;
  --accent:#b34a3c;
  --accent-strong:#9f3c31;
  --accent-soft:#f8efed;
  --accent-line:#d8aaa4;
  color:#151516;
  background:#fff;
}