/* Executive is the sole palette. Shared structure, mobile-specific layout. */
html[data-theme="executive"] body.authed #app{max-width:1200px;padding:28px 32px 130px 132px}
html[data-theme="executive"] body.authed #studio-layout{display:block;padding:0;max-width:none}
html[data-theme="executive"] #content-panel{display:none!important}
html[data-theme="executive"] #rail{top:24px;bottom:24px;left:max(20px,calc((100vw - 1200px)/2 + 20px));transform:none;height:auto!important;max-height:none;border-radius:22px}
html[data-theme="executive"] .hero{display:block;padding:20px 22px;border-radius:22px}
html[data-theme="executive"] .hero-row{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:14px;text-align:left}
html[data-theme="executive"] .hero .blob{width:48px;height:48px}
html[data-theme="executive"] .hero .hello{flex:1;min-width:0}
html[data-theme="executive"] .hero .hello .hi-logo{margin:0 0 3px;height:16px}
html[data-theme="executive"] .hero .hello h1{font-size:25px;font-weight:650}
html[data-theme="executive"] .hero .header-actions{width:auto;display:flex;margin:0;flex-wrap:wrap}
html[data-theme="executive"] .hero .header-actions .icon-btn{width:44px;height:44px}
html[data-theme="executive"] .hero .stat-row{width:100%;margin-top:16px}
html[data-theme="executive"] .hero .stat{padding:10px}
html[data-theme="executive"] .hero .stat small,.studio-intro,.studio-guide,.studio-ready,.studio-footer,.channel-description{display:none}
html[data-theme="executive"] .hero .stat span{font-size:11px;letter-spacing:.04em;font-weight:550}
html[data-theme="executive"] .hero .stat b{font-size:23px;margin-bottom:5px}
html[data-theme="executive"] .studio-section{justify-content:flex-start;text-align:left;margin:26px 0 14px;min-height:0}
html[data-theme="executive"] .studio-section .studio-eyebrow,.studio-section p{display:none}
html[data-theme="executive"] .type-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
html[data-theme="executive"] .type-card{min-height:110px;padding:16px;flex-direction:row;text-align:left;justify-content:flex-start;border-radius:18px}
html[data-theme="executive"] .type-card .tx{width:auto;flex:1}
html[data-theme="executive"] .type-card .art{width:38px;height:38px;border-radius:12px;flex:none}
html[data-theme="executive"] .type-card h2{font-size:15px;font-weight:600}
html[data-theme="executive"] .type-card .go{display:none}
.hub-primary-actions{display:flex;align-items:center;gap:12px;margin:18px 0 0}
.hub-primary-actions .btn-big{width:auto;min-width:200px;padding:12px 20px;border-radius:12px;font-size:15px}
.hub-primary-actions .hub-draft-button{min-height:44px;padding:10px 14px;border:1px solid var(--line2);border-radius:12px;font-size:13px;color:var(--ink)}
.hub-pending{margin:24px 0 0}
.hub-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.hub-section-head h2{margin:0;font-size:18px;font-weight:600;letter-spacing:-.025em;color:var(--heading)}
.hub-pending-list{display:grid;gap:9px}
.hub-brief-row{display:flex;align-items:center;gap:14px;width:100%;padding:15px 17px;text-align:left;background:var(--panel);border:1px solid var(--line);border-radius:15px;min-height:74px}
.hub-brief-row:hover{background:var(--panel2);border-color:var(--coral-line)}
.hub-brief-row>span:first-child{min-width:0;flex:1}
.hub-brief-row b{display:block;font-size:15px;font-weight:550;color:var(--heading);overflow-wrap:anywhere;line-height:1.4}
.hub-brief-row small{display:block;font-size:12px;color:var(--muted);margin-top:5px}
.hub-brief-row time{flex:none;font-size:12px;color:var(--coral-deep)}
.hub-brief-row time.overdue{color:var(--danger)}
.hub-pending-empty{margin:0;padding:20px;background:var(--panel);border:1px solid var(--line);border-radius:15px;color:var(--muted);font-size:14px}
.hub-channel-filters{display:flex;gap:8px;overflow-x:auto;padding:0 0 10px;margin-bottom:14px;scrollbar-width:thin}
.hub-channel-filters a{flex:none;min-height:44px;display:flex;align-items:center;padding:9px 14px;border-radius:12px;border:1px solid var(--line);color:var(--muted);font-size:13px;text-decoration:none}
.hub-channel-filters a.active{background:var(--coral-soft);color:var(--coral-deep);border-color:var(--coral-line)}
.hub-view-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 20px}
.hub-view-heading h1{font-size:27px;letter-spacing:-.04em;font-weight:650;color:var(--heading);margin:0}
.hub-view-heading .btn-big{width:auto;font-size:14px;border-radius:12px;min-height:44px;padding:10px 18px}
body.upload-studio-open{overflow:hidden}
body.upload-studio-open #dock,body.upload-studio-open #upload-status-bar,body.upload-studio-open .pwa-install-fab{visibility:hidden}
#upload-studio-root{position:fixed;inset:0;z-index:100;isolation:isolate;color:var(--ink)}
.upload-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.65)}
.upload-dialog{position:absolute;top:16px;bottom:16px;right:16px;width:min(560px,calc(100% - 32px));display:flex;flex-direction:column;margin:0;background:var(--cream);border:1px solid var(--line2);border-radius:24px;box-shadow:0 30px 90px #0008;overflow:hidden}
.upload-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:22px 24px 16px;flex:none}
.upload-header .studio-eyebrow{font-size:10px;color:var(--coral-deep)}
.upload-header h2{font-size:25px;letter-spacing:-.035em;font-weight:600;color:var(--heading);margin:5px 0 0}
.upload-close,.upload-remove{display:grid;place-items:center;flex:none;min-width:44px;min-height:44px;border:1px solid var(--line2);border-radius:12px;color:var(--muted);font-size:25px}
.upload-tabs{display:flex;gap:4px;padding:0 24px 14px;flex:none;border-bottom:1px solid var(--line)}
.upload-tabs button{flex:1;padding:10px;min-height:44px;border:1px solid transparent;border-radius:10px;font-size:14px;color:var(--muted)}
.upload-tabs button[aria-selected=true]{color:var(--coral-deep);background:var(--coral-soft);border-color:var(--coral-line)}
.upload-tabs button span{font-size:11px;margin-left:5px}
.upload-body{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:20px 24px;scrollbar-color:var(--muted) var(--panel)}
.upload-body h3{font-size:14px;font-weight:600;margin:0 0 12px;color:var(--heading)}
.upload-destination{background:var(--panel);padding:16px;border:1px solid var(--line);border-radius:16px;margin-bottom:20px}
.upload-mode{display:flex;gap:6px;margin-bottom:15px}
.upload-mode button{flex:1;font-size:13px;color:var(--muted);min-height:44px;padding:9px;border:1px solid var(--line2);border-radius:10px}
.upload-mode button[aria-pressed=true]{background:var(--coral-soft);color:var(--coral-deep);border-color:var(--coral-line)}
.upload-body label{display:grid;gap:7px;font-size:12px;line-height:1.5;color:var(--muted)}
.upload-body :is(input[type=text],select,textarea){display:block;width:100%;min-width:0;padding:12px;border:1px solid var(--line2);border-radius:11px;font:inherit;font-size:16px;color:var(--ink);background:var(--panel2);min-height:48px}
.upload-body textarea{resize:vertical}
.upload-drop{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;width:100%;min-height:140px;border:1px dashed var(--coral-line);border-radius:16px;background:var(--coral-soft);padding:20px 12px}
.upload-drop svg{width:27px;height:27px;color:var(--coral-deep)}
.upload-drop strong{font-size:16px;color:var(--heading);font-weight:550}
.upload-drop small{font-size:12px;color:var(--muted)}
.upload-camera-actions{display:flex;gap:10px;margin-top:10px}
.upload-camera-actions button{flex:1;padding:10px;min-height:44px;border:1px solid var(--line2);border-radius:11px;font-size:13px;color:var(--ink)}
.upload-selection-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:20px 0 12px;font-size:12px}
.upload-selection-head b{font-weight:500;color:var(--muted)}
.upload-selection-head button{min-height:44px;color:var(--coral-deep);font-size:12px}
.upload-file-list{list-style:none;display:grid;gap:8px;margin:12px 0;padding:0}
.upload-file{display:flex;gap:12px;align-items:center;min-width:0;background:var(--panel);border:1px solid var(--line);padding:10px;border-radius:13px}
.upload-preview,.upload-file-art{width:54px;height:64px;object-fit:cover;border-radius:8px;flex:none;background:var(--panel2)}
.upload-file-art{display:grid;place-items:center;color:var(--coral-deep)}
.upload-file-art svg{width:24px;height:24px}
.upload-file-copy{min-width:0;flex:1}
.upload-file-copy b{display:block;overflow-wrap:anywhere;font-size:13px;font-weight:500;line-height:1.4;color:var(--heading)}
.upload-file-copy small{display:block;font-size:11px;color:var(--muted);margin-top:4px}
.upload-file-state{display:block;font-size:11px;color:var(--muted);margin-top:5px;overflow-wrap:anywhere}
.upload-file.is-saved{border-color:var(--green-line)}
.upload-file.is-saved .upload-file-state{color:var(--green-deep)}
.upload-text-btn{max-width:100px;min-height:44px;padding:5px;font-size:11px;color:var(--coral-deep)}
.upload-text-btn:empty{display:none}
.upload-context{border-top:1px solid var(--line);padding-top:18px;margin-top:20px}
.upload-context details{margin-top:16px}
.upload-context summary{cursor:pointer;min-height:44px;font-size:13px;color:var(--muted)}
.upload-footer{flex:none;display:flex;align-items:center;gap:14px;border-top:1px solid var(--line);padding:16px 24px;background:var(--cream)}
.upload-footer .btn-big{border-radius:12px;font-size:15px;min-height:48px;flex:1;padding:12px}
.upload-footer-summary{font-size:12px;color:var(--muted);max-width:140px}
.upload-empty,.upload-footnote{font-size:12px;color:var(--muted);line-height:1.6;margin:14px 0}
.upload-empty{text-align:center;padding:18px 0}
.upload-warning{padding:12px 14px;border:1px solid var(--coral-line);border-radius:12px;background:var(--coral-soft);color:var(--coral-deep);font-size:13px;line-height:1.5}
.upload-keep-open{font-size:13px;line-height:1.6;color:var(--muted);margin:0 0 12px}
.upload-body .upload-awake{display:flex;align-items:center;gap:8px;min-height:44px;font-size:13px}
.upload-awake input{width:20px;height:20px;accent-color:var(--coral)}
.upload-job{background:var(--panel);border:1px solid var(--line2);padding:16px;border-radius:17px;margin-top:18px}
.upload-job-heading{display:flex;align-items:flex-start;gap:10px;justify-content:space-between}
.upload-job-heading>div{min-width:0}
.upload-job-heading small{font-size:10px;color:var(--coral-deep)}
.upload-job-heading h3{font-size:15px;margin:5px 0 0;overflow-wrap:anywhere}
.upload-job-heading>span{font-size:11px;color:var(--muted);flex:none;max-width:100px}
.upload-job-total{font-size:12px;color:var(--muted);margin:12px 0 8px}
progress{appearance:none;-webkit-appearance:none;display:block;width:100%;height:5px;border:0;border-radius:999px;overflow:hidden;background:var(--panel2);color:var(--coral)}
progress::-webkit-progress-bar{background:var(--panel2)}
progress::-webkit-progress-value{background:var(--coral);border-radius:999px}
progress::-moz-progress-bar{background:var(--coral)}
.upload-file progress{margin-top:7px;height:3px}
.upload-job.is-complete>progress::-webkit-progress-value{background:var(--green)}
.upload-confirmed{color:var(--green-deep);font-size:13px;line-height:1.5}
.upload-job-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}
.upload-job-actions button,.upload-cancel-confirm button{min-height:44px;padding:8px 12px;border:1px solid var(--line2);border-radius:10px;font-size:12px;color:var(--ink)}
.upload-job-actions button:first-child{border-color:var(--coral-line);color:var(--coral-deep)}
.upload-cancel-confirm{padding:12px;border:1px solid var(--coral-line);border-radius:12px;margin-top:12px}
.upload-cancel-confirm p{font-size:13px;line-height:1.5}
#upload-status-bar{position:fixed;right:24px;bottom:20px;z-index:64;width:min(370px,calc(100vw - 32px))}
#upload-status-bar>button{display:flex;align-items:center;justify-content:space-between;gap:12px;position:relative;overflow:hidden;width:100%;padding:13px 16px 17px;border-radius:15px;background:var(--panel2);border:1px solid var(--coral-line);box-shadow:0 8px 28px #0005;text-align:left}
#upload-status-bar b{display:block;font-size:13px;color:var(--coral-deep);font-weight:550}
#upload-status-bar small{display:block;font-size:11px;color:var(--muted);max-width:250px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin-top:4px}
#upload-status-bar>button>span:last-of-type{font-size:13px;color:var(--ink)}
#upload-status-bar progress{position:absolute;left:0;bottom:0;height:3px}
@media(max-width:899px){
  html[data-theme="executive"] body.authed #studio-layout{display:block;max-width:640px;margin:0 auto;padding:calc(var(--sat) + 14px) 16px calc(var(--sab) + 105px)}
  html[data-theme="executive"] body.authed.hub-framed #studio-layout{padding-top:calc(var(--sat) + 58px)}
  html[data-theme="executive"] body.authed #app{display:block;max-width:none;padding:0;min-height:0}
  html[data-theme="executive"] #rail{display:none}
  html[data-theme="executive"] .hero{padding:15px;border-radius:18px}
  html[data-theme="executive"] .hero-row{gap:10px;flex-wrap:wrap}
  html[data-theme="executive"] .hero .blob{width:42px;height:42px}
  html[data-theme="executive"] .hero .hello h1{font-size:22px}
  html[data-theme="executive"] .hero .hello .hi-logo{height:14px}
  html[data-theme="executive"] .hero .header-actions{gap:4px;flex:none;margin-left:auto}
  html[data-theme="executive"] .hero .header-actions .icon-btn{width:44px;height:44px;border-radius:12px}
  html[data-theme="executive"] .hero .header-actions [data-add-content],html[data-theme="executive"] .hero .header-actions [data-refresh]{display:none}
  html[data-theme="executive"] .hero .stat-row{margin-top:13px;gap:7px}
  html[data-theme="executive"] .hero .stat{padding:8px 4px;border-radius:12px}
  html[data-theme="executive"] .hero .stat b{font-size:21px}
  html[data-theme="executive"] .hero .stat span{font-size:10px;letter-spacing:0}
  .hub-primary-actions{margin:14px 0 0;flex-wrap:wrap;gap:8px}
  .hub-primary-actions .btn-big{width:100%;min-height:48px;border-radius:12px}
  .hub-primary-actions .hub-draft-button{width:100%;font-size:13px}
  .hub-pending{margin-top:23px}
  .hub-section-head h2{font-size:18px}
  .hub-brief-row{align-items:flex-start;gap:10px;padding:14px}
  .hub-brief-row time{font-size:11px;max-width:72px;text-align:right;padding-top:3px}
  html[data-theme="executive"] .studio-section{margin:24px 0 12px}
  html[data-theme="executive"] .studio-section h2{font-size:18px}
  html[data-theme="executive"] .type-cards{grid-template-columns:1fr 1fr;gap:9px}
  html[data-theme="executive"] .type-card{min-height:96px;padding:13px;gap:9px;align-items:flex-start;flex-direction:column}
  html[data-theme="executive"] .type-card .art{width:30px;height:30px;border-radius:9px}
  html[data-theme="executive"] .type-card .art svg{width:17px;height:17px}
  html[data-theme="executive"] .type-card h2{font-size:14px}
  html[data-theme="executive"] .type-card .cnt{font-size:11px}
  html[data-theme="executive"] .type-card .tx{width:100%}
  html[data-theme="executive"] #dock{bottom:0;left:0;transform:none;width:100%;gap:4px;padding:7px 12px calc(var(--sab) + 7px);border-radius:18px 18px 0 0;background:#111416f5;align-items:center}
  #dock .di{font-size:10px;text-transform:none;letter-spacing:0;min-height:48px;border-radius:11px}
  #dock .di svg.ic{width:20px;height:20px}
  #dock .di.home{flex:1;width:auto;margin:0;padding:3px 0}
  #dock .di.home .orb{width:32px;height:32px;border:0;border-radius:10px;box-shadow:none}
  .hub-view-heading h1{font-size:24px}
  .hub-view-heading .btn-big{font-size:13px;min-width:0}
  .upload-dialog{inset:0;width:100%;height:var(--upload-height,100dvh);top:var(--upload-top,0px);border:0;border-radius:0;bottom:auto;right:0}
  .upload-header{padding:calc(var(--sat) + 16px) 18px 14px}
  .upload-header h2{font-size:23px}
  .upload-tabs{padding:0 18px 12px}
  .upload-body{padding:18px}
  .upload-footer{padding:12px 18px calc(var(--sab) + 12px);gap:10px}
  .upload-footer-summary{font-size:11px;max-width:100px}
  .upload-footer .btn-big{font-size:14px}
  .upload-job{padding:13px}
  .upload-file{padding:9px;gap:9px}
  .upload-preview,.upload-file-art{width:44px;height:56px}
  .upload-remove{width:44px}
  #upload-status-bar{right:12px;left:12px;bottom:calc(var(--sab) + 78px);width:auto}
  body.has-upload-status #studio-layout{padding-bottom:calc(var(--sab) + 190px)!important}
  body.authed #toast-root{bottom:calc(var(--sab) + 86px)}
  body.has-upload-status #toast-root{bottom:calc(var(--sab) + 160px)}
  .notification-nudge{margin-top:20px}
  .feed-head h1{font-size:20px}
  .detail h1{font-size:25px}
  .instr{font-size:16px}
}
@media(max-width:359px){
  .upload-mode button{font-size:12px}
  .hero .header-actions .icon-btn{width:40px!important}
  .hub-brief-row time{max-width:60px}
}
@media(prefers-reduced-motion:reduce){.upload-dialog,.upload-file{scroll-behavior:auto;transition:none}}
#upload-status-bar>.upload-dismiss-receipt{position:absolute;right:5px;top:5px;width:38px;min-height:38px;border:0;box-shadow:none;background:transparent;padding:0;display:grid;place-items:center;font-size:22px;color:var(--muted)}
#upload-status-bar:has(.upload-dismiss-receipt)>button:first-child{padding-right:48px}
.upload-job-notes{margin:12px 0;border-top:1px solid var(--line);padding-top:8px}
.upload-job-notes summary{min-height:44px;font-size:12px;color:var(--muted);cursor:pointer;display:flex;align-items:center}
.upload-job-notes p{font-size:13px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}
.upload-file.is-saved progress::-webkit-progress-value{background:var(--green)}
.upload-file.is-saved progress::-moz-progress-bar{background:var(--green)}
:root{--sal:env(safe-area-inset-left,0px);--sar:env(safe-area-inset-right,0px)}
@media(max-width:899px){
  .upload-header,.upload-tabs,.upload-body,.upload-footer{padding-left:max(18px,var(--sal));padding-right:max(18px,var(--sar))}
  html[data-theme="executive"] body.authed #studio-layout{padding-left:max(16px,var(--sal));padding-right:max(16px,var(--sar))}
  html[data-theme="executive"] #dock{padding-left:max(12px,var(--sal));padding-right:max(12px,var(--sar))}
  #dock .di{font-size:11px}
}
.upload-target-summary{margin:11px 0 0;color:var(--heading);font-size:13px;line-height:1.5;overflow-wrap:anywhere}
.upload-target-summary:empty{display:none}
.upload-text-btn{min-width:44px}
.hub-draft-button{min-height:44px;padding:10px 14px;border:1px solid var(--line2);border-radius:12px;color:var(--ink);font-size:13px}
#upload-status-bar>.upload-dismiss-receipt{width:44px;min-height:44px;top:2px;right:2px}

.hub-brief-upload{margin:0 0 18px;min-height:48px}
@media(max-width:899px){.hub-brief-upload{width:100%}}
