/* One shared portal shell across every workspace module. */
html:has(body[data-workspace-ready="true"]),html body[data-workspace-ready="true"]{background:#fff;color:#182b42}
#workspace-mobile-nav{display:none}
html body[data-workspace-ready="true"] main{box-sizing:border-box;min-width:0;max-width:none}
html body[data-workspace-ready="true"] #panel{min-width:0}
html body[data-workspace-ready="true"] .intro{display:none}
html body[data-workspace-ready="true"] #status{display:block;color:#60748c;font-size:11px;margin:0 0 20px}
html body[data-workspace-ready="true"] .controls{background:#fff;border:1px solid #e0e5ee;box-shadow:none;border-radius:14px;margin:0 0 16px;width:fit-content}
html body[data-workspace-ready="true"][data-core-view="true"] .controls{display:none}
html body[data-workspace-ready="true"] .cw-mobile-nav{display:none!important}
html body[data-workspace-ready="true"] .block,html body[data-workspace-ready="true"] .card,
html body[data-workspace-ready="true"] .companypanel.mk .block,
html body[data-workspace-ready="true"] .companypanel.mk .companystat,
html body[data-workspace-ready="true"] .companypanel.mk .emptyrow{background:#fff;border:1px solid #e0e5ee;border-radius:14px;box-shadow:none}
html body[data-workspace-ready="true"] .companypanel.mk{gap:20px}
html body[data-workspace-ready="true"] .companypanel.mk>.companyheading{display:flex;margin:4px 0 12px}
html body[data-workspace-ready="true"] .companypanel.mk .companyheading h2{font-size:clamp(25px,2.5vw,36px);letter-spacing:-.6px;line-height:1.2}
html body[data-workspace-ready="true"] .companypanel.mk .companyheading p{margin-top:8px;line-height:1.5}
html body[data-workspace-ready="true"] .companypanel.mk .companystat{padding:22px;min-height:125px}
html body[data-workspace-ready="true"] .companypanel.mk .deptcard,
html body[data-workspace-ready="true"] .companypanel.mk .companysaleshero{border-radius:14px;box-shadow:none}
html body[data-workspace-ready="true"] .scroll{max-width:100%;overscroll-behavior-x:contain}
html body[data-workspace-ready="true"] button:focus-visible,
html body[data-workspace-ready="true"] a:focus-visible{outline:3px solid #b58e33;outline-offset:3px}
html body[data-workspace-ready="true"] footer{color:#6a7b91;padding:28px 0;font-size:11px}
@media screen and (min-width:1100px){
 html body[data-workspace-ready="true"] main{margin:0 0 0 240px;padding:28px 32px 40px}
 html body[data-workspace-ready="true"] main>nav{position:fixed;left:7px;right:auto;top:95px;bottom:24px;width:208px;box-sizing:border-box;margin:0;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:4px;padding:16px 10px;background:#182b42;border:0;border-radius:16px;overflow-y:auto;z-index:30;box-shadow:none}
 html body[data-workspace-ready="true"] main>nav button{display:flex!important;flex:none;flex-direction:row;align-items:center;justify-content:flex-start;gap:12px;width:100%;min-height:42px;margin:0;padding:10px 14px;border:0;border-radius:10px;background:transparent;color:#e6ebf1;box-shadow:none;font-size:12px;text-align:left}
 html body[data-workspace-ready="true"] main>nav button span{display:inline!important}
 html body[data-workspace-ready="true"] main>nav button:hover{background:#ffffff14}
 html body[data-workspace-ready="true"] main>nav button.active{background:#c7a24e;color:#182b42}
 html body[data-workspace-ready="true"] main>nav button:after{display:none}
 html body[data-workspace-ready="true"] main>nav .more-nav{display:none!important}
 html body[data-workspace-ready="true"] .companypanel.mk .departmentcards{grid-template-columns:repeat(2,minmax(0,1fr))}
 html body[data-workspace-ready="true"] .companypanel.mk .companystats:not(.twin){grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media screen and (max-width:1099px){
 html body[data-workspace-ready="true"] main{margin:0 auto;max-width:900px;padding:22px 20px calc(108px + env(safe-area-inset-bottom))}
 html body[data-workspace-ready="true"] main>nav{display:none!important}
 html body[data-workspace-ready="true"] #workspace-mobile-nav{position:fixed;display:flex;left:0;right:0;bottom:0;top:auto;z-index:45;justify-content:space-around;gap:4px;width:auto;margin:0;padding:8px 10px calc(8px + env(safe-area-inset-bottom));border:0;border-top:1px solid #ffffff20;border-radius:18px 18px 0 0;background:#182b42;box-shadow:0 -4px 20px #182b4218}
 html body[data-workspace-ready="true"] #workspace-mobile-nav button{display:flex!important;flex:1;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:0;min-height:52px;padding:6px 4px;margin:0;border:0;border-radius:10px;background:transparent!important;color:#dce4ee;box-shadow:none!important;font-size:11px}
 html body[data-workspace-ready="true"] #workspace-mobile-nav button span{display:inline!important}
 html body[data-workspace-ready="true"] #workspace-mobile-nav button.active{color:#e0bd65;background:#ffffff0c!important}
 html body[data-workspace-ready="true"] #workspace-mobile-nav button:after{display:none}
 html body[data-workspace-ready="true"] #morelinks button{min-height:48px}
 html body[data-workspace-ready="true"] #morelinks button.active{background:#c7a24e;color:#182b42}
}
@media screen and (max-width:650px){
 html body[data-workspace-ready="true"] main{padding:18px 12px calc(108px + env(safe-area-inset-bottom))}
 html body[data-workspace-ready="true"] .companypanel.mk{gap:16px}
 html body[data-workspace-ready="true"] .companypanel.mk .companystat{padding:16px;min-height:112px}
 html body[data-workspace-ready="true"] .companypanel.mk .block{padding:16px}
 html body[data-workspace-ready="true"] #panel input,
 html body[data-workspace-ready="true"] #panel select,
 html body[data-workspace-ready="true"] #panel textarea{font-size:16px;max-width:100%;box-sizing:border-box}
 html body[data-workspace-ready="true"] .companypanel.mk .companyheading{flex-wrap:wrap}
}
@media print{
 html body[data-workspace-ready="true"] main{margin:0;padding:0;max-width:none}
 html body[data-workspace-ready="true"] main>nav,
 html body[data-workspace-ready="true"] #workspace-mobile-nav{display:none!important}
}

/* Shared rhythm, typography and interaction polish. */
body[data-workspace-ready="true"]{--workspace-line:#e3e8ef;--workspace-muted:#65758a;--workspace-surface:#f6f8fb;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.5;-webkit-font-smoothing:antialiased}
html body[data-workspace-ready="true"] #panel small{letter-spacing:0;line-height:1.5}
html body[data-workspace-ready="true"] #panel h2{line-height:1.25;letter-spacing:-.025em;text-wrap:balance}
html body[data-workspace-ready="true"] #panel h3{line-height:1.4;letter-spacing:-.01em}
html body[data-workspace-ready="true"] #panel p{line-height:1.65}
html body[data-workspace-ready="true"] #panel .eyebrow{font-size:11px;letter-spacing:.15em;line-height:1.5;margin:0 0 8px}
html body[data-workspace-ready="true"] #panel .companynote{font-size:12px!important;line-height:1.6}
html body[data-workspace-ready="true"] #panel :is(.cw-storage,.livedatanote,.metric-source,.salessource){font-size:12px;color:var(--workspace-muted);line-height:1.65;letter-spacing:0;overflow-wrap:anywhere}
html body[data-workspace-ready="true"] #status{line-height:1.5;margin-bottom:22px;font-size:11px;letter-spacing:0}
html body[data-workspace-ready="true"] #panel :is(.sectionhead,.cw-header,.cw-sectionhead){align-items:center;flex-wrap:wrap;gap:16px}
html body[data-workspace-ready="true"] #panel .sectionhead>div{min-width:0}
html body[data-workspace-ready="true"] #panel .sectionhead p{margin:6px 0 0}
html body[data-workspace-ready="true"] #panel :is(.block,.allowancepanel){padding:24px}
html body[data-workspace-ready="true"] #panel>.block:first-child{margin-top:0}
html body[data-workspace-ready="true"] #panel .block>h2{margin-bottom:18px;font-size:21px}
html body[data-workspace-ready="true"] #panel .cards{gap:16px;margin:20px 0}
html body[data-workspace-ready="true"] #panel .card{padding:22px;min-width:0}
html body[data-workspace-ready="true"] #panel .card strong{font-size:clamp(25px,2.2vw,32px);line-height:1.2;font-variant-numeric:tabular-nums;letter-spacing:-.025em;margin:12px 0}
html body[data-workspace-ready="true"] #panel .card small{margin-top:8px;font-size:12px;font-weight:400;color:var(--workspace-muted)}
html body[data-workspace-ready="true"] #panel .card span{font-size:13px;line-height:1.5}
html body[data-workspace-ready="true"] #panel :is(.livehero,.saleshero,.workflowheader){padding:26px;border-radius:16px;margin-bottom:22px}
html body[data-workspace-ready="true"] #panel :is(.livehero,.saleshero,.workflowheader) h2{font-size:clamp(26px,2.8vw,36px);margin:0 0 8px}
html body[data-workspace-ready="true"] #panel .workflowheader p{max-width:72ch}
html body[data-workspace-ready="true"] :is(button,a,input,select,textarea){transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease,color .16s ease}
html body[data-workspace-ready="true"] #panel button{min-height:42px;border-radius:10px;font-size:13px;font-weight:600;line-height:1.4}
html body[data-workspace-ready="true"] #panel button:disabled{cursor:wait;opacity:.6}
html body[data-workspace-ready="true"] #panel button.secondary{background:#f0f3f8;color:#334860;border:1px solid #e5eaf1;box-shadow:none}
html body[data-workspace-ready="true"] #panel button.secondary:hover{background:#e5ebf3}
html body[data-workspace-ready="true"] #panel :is(.cw-primary,.sw-save button[type="submit"]){background:#c7a24e;color:#15283d;border:1px solid transparent;padding:12px 20px}
html body[data-workspace-ready="true"] #panel .cw-primary:hover{background:#b9923f}
html body[data-workspace-ready="true"] #panel :is(.actions,.livefilters,.allowancefilters,.salescontrols,.sales-report-tools){gap:10px;flex-wrap:wrap}
html body[data-workspace-ready="true"] #panel :is(.taskfilters,.workflowtabs,.sw-platforms,.pillfilter,.salesbrandfilters){display:flex;flex-wrap:wrap;gap:8px;margin-block:18px}
html body[data-workspace-ready="true"] #panel :is(.taskfilters,.workflowtabs,.sw-platforms,.salesbrandfilters) button{padding:10px 16px}
html body[data-workspace-ready="true"] #panel :is(input:not([type="checkbox"]):not([type="radio"]),select,textarea){border:1px solid #dce3ed;border-radius:10px;color:#182b42;background:#fff;min-height:44px;padding:10px 12px;max-width:100%;line-height:1.5}
html body[data-workspace-ready="true"] #panel :is(input,select,textarea):focus-visible{outline:2px solid #c7a24e;outline-offset:2px;box-shadow:0 0 0 4px #c7a24e14}
html body[data-workspace-ready="true"] #panel label{font-size:13px;line-height:1.5;font-weight:600}
html body[data-workspace-ready="true"] #panel .scroll{border:1px solid var(--workspace-line);border-radius:12px;background:white;scrollbar-width:thin}
html body[data-workspace-ready="true"] #panel table{margin:0;font-size:13px;border-spacing:0}
html body[data-workspace-ready="true"] #panel table th{background:#f6f8fb;font-size:11px;letter-spacing:.02em;color:#65758a;font-weight:600;padding:13px 16px;line-height:1.5}
html body[data-workspace-ready="true"] #panel table td{padding:13px 16px;line-height:1.5;border-bottom:1px solid #edf0f5;font-variant-numeric:tabular-nums;vertical-align:middle}
html body[data-workspace-ready="true"] #panel table tbody tr:last-child td{border-bottom:0}
html body[data-workspace-ready="true"] #panel table tbody tr:hover{background:#fafbfd}
html body[data-workspace-ready="true"] #panel .sales-report-table :is(td,th){height:44px;padding:10px 12px}
html body[data-workspace-ready="true"] #panel :is(.note,.cw-message,.workflownote,.workflowhint){border-radius:10px;padding:12px 16px;font-size:13px;line-height:1.65}
html body[data-workspace-ready="true"] #panel .empty{padding:32px 16px;background:#f8fafc;border:1px dashed #dce3ed;border-radius:12px;text-align:center;font-size:13px;color:#65758a}
html body[data-workspace-ready="true"] #panel :is(.taskrow,.mktrow,.workflowstep){border-color:var(--workspace-line)}
html body[data-workspace-ready="true"] #panel .taskrow{padding:18px 0}
html body[data-workspace-ready="true"] #panel .taskrow h3{font-size:15px}
html body[data-workspace-ready="true"] #panel .workflowstep{border-radius:12px;overflow:hidden;margin-bottom:10px}
html body[data-workspace-ready="true"] #panel .workflowstep summary{padding:16px 18px;line-height:1.5}
html body[data-workspace-ready="true"] #panel .workflowbody{line-height:1.7;padding:0 20px 18px}
html body[data-workspace-ready="true"] #panel .sw-metric{padding:18px 20px;gap:16px;align-items:center}
html body[data-workspace-ready="true"] #panel .sw-metric small{font-size:11px;color:#718096;margin-bottom:4px}
html body[data-workspace-ready="true"] #panel .sw-metric strong{margin-top:8px;font-size:22px;font-variant-numeric:tabular-nums}
html body[data-workspace-ready="true"] #panel .cw-event{min-height:0;font-size:12px;line-height:1.5;padding:9px 8px;border-radius:8px}
html body[data-workspace-ready="true"] #panel .cw-views button{min-height:38px;padding:8px 14px}
html body[data-workspace-ready="true"] #panel .cw-month button{font-size:20px;min-width:42px}
html body[data-workspace-ready="true"] #panel .cw-card h3{font-size:15px;margin:12px 0}
html body[data-workspace-ready="true"] #panel .cw-card{box-shadow:none;padding:20px}
html body[data-workspace-ready="true"] #panel .cw-card p{font-size:12px}
html body[data-workspace-ready="true"] #panel .companypanel.mk .backbutton{min-height:40px;padding:0}
html body[data-workspace-ready="true"] #panel .companypanel.mk .linkbutton{min-height:36px;padding:6px 0}
html body[data-workspace-ready="true"] #panel .companypanel.mk .monthpill select{min-height:0;border:0;background:transparent;padding:0;font-size:13px;border-radius:0}
html body[data-workspace-ready="true"] #panel .companypanel.mk .deptcard{padding:24px;min-height:140px}
html body[data-workspace-ready="true"] #panel .companypanel.mk .companystat>strong{font-size:clamp(25px,2.3vw,32px);line-height:1.25;letter-spacing:-.025em}
html body[data-workspace-ready="true"] #panel .companypanel.mk .companystat small{font-size:12px}
html body[data-workspace-ready="true"] dialog{color:#182b42;border-color:#e3e8ef;box-shadow:0 24px 80px #14243a33}
html body[data-workspace-ready="true"] dialog::backdrop{background:#0d1d32a6;backdrop-filter:blur(3px)}
html body[data-workspace-ready="true"] dialog label{font-size:13px;line-height:1.5}
html body[data-workspace-ready="true"] dialog :is(input,select,textarea){font-size:16px;border-color:#dce3ed;border-radius:10px}
html body[data-workspace-ready="true"] dialog button{border-radius:10px;min-height:44px;font-size:13px}
html body[data-workspace-ready="true"] #moremenu{border:0;border-radius:20px;padding:24px;max-height:calc(100dvh - 32px);overflow-y:auto;width:min(560px,calc(100% - 24px))}
html body[data-workspace-ready="true"] #morelinks button{border:1px solid #e3e8ef;background:#f7f9fc;color:#263e58;border-radius:10px}
html body[data-workspace-ready="true"] #morelinks button.active{background:#182b42;color:#fff}
@media screen and (min-width:1100px){
 html body[data-workspace-ready="true"] main{padding:30px clamp(24px,2.4vw,44px) 40px}
 html body[data-workspace-ready="true"] main>nav{left:12px;bottom:16px}
 html body[data-workspace-ready="true"] main>nav button{font-size:12px;min-height:44px}
 html body[data-workspace-ready="true"] #panel .companystats.twin{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media screen and (min-width:651px) and (max-width:1099px){
 html body[data-workspace-ready="true"] #panel :is(.cw-list,.salescards){grid-template-columns:repeat(2,minmax(0,1fr))}
 html body[data-workspace-ready="true"] #panel .cards{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media screen and (max-width:650px){
 html body[data-workspace-ready="true"] main{padding-top:18px}
 html body[data-workspace-ready="true"] #panel :is(.block,.allowancepanel,.card){padding:18px}
 html body[data-workspace-ready="true"] #panel .cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 html body[data-workspace-ready="true"] #panel .card strong{font-size:25px}
 html body[data-workspace-ready="true"] #panel :is(.livehero,.saleshero,.workflowheader){padding:20px;border-radius:14px}
 html body[data-workspace-ready="true"] #panel :is(.sectionhead,.cw-header){align-items:flex-start;gap:12px}
 html body[data-workspace-ready="true"] #panel .cw-header h2{font-size:27px}
 html body[data-workspace-ready="true"] #panel .cw-header p{font-size:13px}
 html body[data-workspace-ready="true"] #panel .cw-toolbar{align-items:stretch;gap:12px}
 html body[data-workspace-ready="true"] #panel .cw-views{width:100%;justify-content:space-between}
 html body[data-workspace-ready="true"] #panel .cw-views button{flex:1;padding:8px 6px;font-size:12px}
 html body[data-workspace-ready="true"] #panel :is(.cw-list,.salescards){grid-template-columns:minmax(0,1fr)}
 html body[data-workspace-ready="true"] #panel .sw-platforms{flex-wrap:nowrap;overflow-x:auto;padding-bottom:4px;max-width:100%;scrollbar-width:thin}
 html body[data-workspace-ready="true"] #panel .sw-platforms button{flex-shrink:0}
 html body[data-workspace-ready="true"] #panel .sw-metric{padding:16px;gap:12px}
 html body[data-workspace-ready="true"] #panel .companypanel.mk .deptcard{padding:20px;min-height:128px}
 html body[data-workspace-ready="true"] #panel .companypanel.mk .companystat{padding:16px}
 html body[data-workspace-ready="true"] #panel table :is(td,th){padding:11px 12px}
 html body[data-workspace-ready="true"] #panel :is(.allowancefilters,.salescontrols)>label{flex:1 1 140px;min-width:0}
 html body[data-workspace-ready="true"] #panel :is(.allowancefilters,.salescontrols) :is(input,select){min-width:0;width:100%}
 html body[data-workspace-ready="true"] #panel .companypanel.mk .monthpill select{font-size:16px}
}
@media(prefers-reduced-motion:reduce){
 html body[data-workspace-ready="true"] *{transition:none!important;scroll-behavior:auto!important;animation:none!important}
}

/* Phone LIVE: intrinsic date widths must never push adjacent fields. */
@media screen and (max-width:650px){
 html body[data-workspace-ready="true"][data-workspace-tab="TikTok LIVE"] main>.controls{display:none}
 html body[data-workspace-ready="true"][data-workspace-tab="TikTok LIVE"] #status{font-size:10px;margin:0 0 18px}
 html body[data-workspace-ready="true"] #panel .allowancepanel{padding:0;border:0;border-radius:0;background:transparent;margin:0}
 html body[data-workspace-ready="true"] #panel .allowancepanel>.sectionhead{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:12px;margin:0 0 20px}
 html body[data-workspace-ready="true"] #panel .allowancepanel .sectionhead h2{font-size:25px;margin:0 0 8px;line-height:1.2}
 html body[data-workspace-ready="true"] #panel .allowancepanel .sectionhead p{font-size:12px;line-height:1.7;margin:0;max-width:28ch;color:#65758a}
 html body[data-workspace-ready="true"] #panel .allowancepanel [data-la="reload"]{min-height:36px;padding:8px 12px;background:#eff3f8;color:#334860;font-size:11px;white-space:nowrap;border:1px solid #e3e8ef}
 html body[data-workspace-ready="true"] #panel .allowancefilters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 0 20px;align-items:end}
 html body[data-workspace-ready="true"] #panel .allowancefilters>label{display:grid;gap:6px;min-width:0;min-inline-size:0;width:100%;max-width:100%;margin:0;font-size:12px;align-self:stretch}
 html body[data-workspace-ready="true"] #panel .allowancefilters :is(input,select){display:block;width:100%;min-width:0;min-inline-size:0;max-width:100%;box-sizing:border-box;margin:0;padding:10px;height:46px;min-height:46px;font-size:16px;line-height:24px;background:#fff}
 html body[data-workspace-ready="true"] #panel .allowancefilters input::-webkit-date-and-time-value{text-align:left;min-width:0}
 html body[data-workspace-ready="true"] #panel .allowancefilters input::-webkit-datetime-edit{padding:0;min-width:0}
 html body[data-workspace-ready="true"] #panel .allowancefilters>button{min-width:0;width:100%;margin:0;min-height:44px;font-size:13px;white-space:nowrap}
 html body[data-workspace-ready="true"] #panel .allowancefilters [data-la="host"]{background:#fff;color:#334860;border:1px solid #dce3ed}
 html body[data-workspace-ready="true"] #panel .allowancefilters [data-la="new"]{background:#c7a24e;color:#182b42}
 html body[data-workspace-ready="true"] #panel .allowance-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0 0 14px}
 html body[data-workspace-ready="true"] #panel .allowance-summary .card{padding:16px;min-height:104px;border-radius:14px}
 html body[data-workspace-ready="true"] #panel .allowance-summary .card span{font-size:11px;color:#65758a}
 html body[data-workspace-ready="true"] #panel .allowance-summary .card strong{font-size:23px;line-height:1.25;margin:10px 0 0;overflow-wrap:anywhere}
 html body[data-workspace-ready="true"] #panel .allowance-summary .allowance-total{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:12px;background:#182b42;border:0;min-height:78px;padding:18px}
 html body[data-workspace-ready="true"] #panel .allowance-summary .allowance-total span{font-size:12px;color:#e1e8f1}
 html body[data-workspace-ready="true"] #panel .allowance-summary .allowance-total strong{font-size:27px;white-space:nowrap;margin:0;color:#efd286}
 html body[data-workspace-ready="true"] #panel .allowance-breakdown{font-size:11px;color:#65758a;line-height:1.7;margin:12px 0 18px}
 html body[data-workspace-ready="true"] #panel .allowance-payment{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin:16px 0;font-size:12px}
 html body[data-workspace-ready="true"] #panel .allowance-payment button{min-height:38px;padding:9px 12px;font-size:11px;background:#eef2f7;color:#334860}
 html body[data-workspace-ready="true"] #panel .allowancepanel .note{font-size:11px;margin:18px 0;background:#f7f9fc;color:#65758a;border-left:2px solid #c7a24e;padding:12px 14px}
 html body[data-workspace-ready="true"] #panel .allowancepanel form .allowancefilters{grid-template-columns:minmax(0,1fr)}
 html body[data-workspace-ready="true"] #panel .allowancepanel .scroll{border:0;background:transparent;overflow:visible}
 html body[data-workspace-ready="true"] #panel .allowancepanel table{display:block;width:100%;min-width:0;font-size:13px}
 html body[data-workspace-ready="true"] #panel .allowancepanel thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 html body[data-workspace-ready="true"] #panel .allowancepanel tbody{display:grid;gap:12px}
 html body[data-workspace-ready="true"] #panel .allowancepanel tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;background:white;border:1px solid #e3e8ef;border-radius:14px;padding:16px}
 html body[data-workspace-ready="true"] #panel .allowancepanel td{display:block;min-width:0;padding:0;border:0;white-space:normal;font-size:12px;line-height:1.5}
 html body[data-workspace-ready="true"] #panel .allowancepanel td[data-label]::before{content:attr(data-label);display:block;font-size:10px;font-weight:500;color:#718096;margin-bottom:4px}
 html body[data-workspace-ready="true"] #panel .allowancepanel td:nth-child(5){align-self:center;color:#182b42;font-size:19px;font-weight:700}
 html body[data-workspace-ready="true"] #panel .allowancepanel td:nth-child(6){align-self:center;text-align:right}
 html body[data-workspace-ready="true"] #panel .allowancepanel td:nth-child(6)::before{display:none}
 html body[data-workspace-ready="true"] #panel .allowancepanel td button{min-height:36px;margin:0 0 0 4px;padding:8px 10px;font-size:11px;background:#eef2f7;color:#334860}
 html body[data-workspace-ready="true"] #panel .allowancepanel td [data-la="delete"]{background:#fff1f1;color:#a33434}
 html body[data-workspace-ready="true"] #panel .allowancepanel td[colspan]{grid-column:1/-1;padding:10px 0;text-align:center;color:#65758a}
}

/* Social reports explain each figure before asking readers to compare it. */
html body[data-workspace-ready="true"] #panel .sw-overview{padding:24px;border:1px solid #e6d8b8;border-radius:16px;background:#fcf9f1;margin:0 0 22px}
html body[data-workspace-ready="true"] #panel .sw-overview h3{font-size:22px;margin:4px 0 10px}
html body[data-workspace-ready="true"] #panel .sw-overview>p:last-child{max-width:88ch;margin:0;color:#44566b;font-size:14px;line-height:1.8}
html body[data-workspace-ready="true"] #panel .sw-summary .sw-stat{padding:20px;min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:6px}
html body[data-workspace-ready="true"] #panel .sw-summary .sw-stat>span{font-size:12px;color:#65758a}
html body[data-workspace-ready="true"] #panel .sw-summary .sw-stat>strong{font-size:30px;margin:4px 0 8px;line-height:1.25;letter-spacing:-.025em;font-variant-numeric:tabular-nums}
html body[data-workspace-ready="true"] #panel .sw-summary .sw-stat>small{margin:0;font-size:11px;letter-spacing:0}
html body[data-workspace-ready="true"] #panel .sw-unavailable{font-size:14px;font-weight:500;color:#8190a2;letter-spacing:0}
html body[data-workspace-ready="true"] #panel .sw-change{display:inline-flex;align-items:center;width:fit-content;border-radius:6px;background:#edf2f8;color:#344d6a;padding:4px 8px;font-size:11px;font-weight:600;line-height:1.5}
html body[data-workspace-ready="true"] #panel .sw-change.up{background:#e8f6ee;color:#167343}
html body[data-workspace-ready="true"] #panel .sw-change.down{background:#fdecec;color:#b52c35}
html body[data-workspace-ready="true"] #panel .sw-summary .sw-stat>.sw-change.up{color:#167343;background:#e8f6ee}
html body[data-workspace-ready="true"] #panel .sw-summary .sw-stat>.sw-change.down{color:#b52c35;background:#fdecec}
html body[data-workspace-ready="true"] #panel .sw-change.missing{background:#f7f8fa;color:#8190a2}
html body[data-workspace-ready="true"] #panel .sw-report-row{grid-template-columns:minmax(0,1fr) 140px minmax(220px,.7fr);padding:14px 20px;gap:20px;align-items:center}
html body[data-workspace-ready="true"] #panel .sw-report-row label{font-size:14px;color:#182b42;font-weight:650;margin:0}
html body[data-workspace-ready="true"] #panel .sw-explanation p{font-size:12px;line-height:1.6;color:#65758a;max-width:70ch;margin:5px 0 0}
html body[data-workspace-ready="true"] #panel .sw-current{display:grid;gap:8px;min-width:0}
html body[data-workspace-ready="true"] #panel .sw-current>strong{font-size:24px;line-height:1.3;margin:0;font-variant-numeric:tabular-nums}
html body[data-workspace-ready="true"] #panel .sw-current input{min-width:0;width:100%;max-width:220px;margin:0}
html body[data-workspace-ready="true"] #panel .sw-comparison{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;justify-items:start;gap:5px 10px;min-width:0;font-size:15px;font-variant-numeric:tabular-nums}
html body[data-workspace-ready="true"] #panel .sw-report-row small{font-size:11px;line-height:1.6;color:#718096;margin:0}
html body[data-workspace-ready="true"] #panel .sw-comparison>small{grid-column:1/-1}
html body[data-workspace-ready="true"] #panel .sw-comparison>small:last-child{max-width:none}
html body[data-workspace-ready="true"] #panel .sw-additional{margin:22px 0;border:1px solid #e3e8ef;border-radius:12px;padding:16px 20px}
html body[data-workspace-ready="true"] #panel .sw-additional summary{cursor:pointer;font-size:13px;font-weight:600;min-height:28px}
html body[data-workspace-ready="true"] #panel .sw-additional>p{font-size:12px;color:#65758a}
html body[data-workspace-ready="true"] #panel .sw-reading-guide{min-width:0;width:100%;background:#f6f8fb;border:1px solid #e3e8ef;padding:22px;border-radius:14px;margin:24px 0}
html body[data-workspace-ready="true"] #panel .sw-reading-guide h3{font-size:16px;margin:0 0 12px}
html body[data-workspace-ready="true"] #panel .sw-reading-guide ul{margin:0;padding-left:20px;color:#65758a;font-size:12px;line-height:1.8;display:grid;gap:8px}
html body[data-workspace-ready="true"] #panel .sw-reading-guide strong{color:#344d6a}
@media screen and (max-width:650px){
 html body[data-workspace-ready="true"] #panel .sw-overview{padding:18px;margin-bottom:18px}
 html body[data-workspace-ready="true"] #panel .sw-overview h3{font-size:20px}
 html body[data-workspace-ready="true"] #panel .sw-overview>p:last-child{font-size:13px;line-height:1.75}
 html body[data-workspace-ready="true"] #panel .sw-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 html body[data-workspace-ready="true"] #panel .sw-summary .sw-stat{padding:16px}
 html body[data-workspace-ready="true"] #panel .sw-summary .sw-stat>strong{font-size:25px}
 html body[data-workspace-ready="true"] #panel .sw-report-row{grid-template-columns:repeat(2,minmax(0,1fr));padding:16px;gap:12px}
 html body[data-workspace-ready="true"] #panel .sw-explanation{grid-column:1/-1}
 html body[data-workspace-ready="true"] #panel .sw-explanation p{max-width:none;margin-top:5px}
 html body[data-workspace-ready="true"] #panel .sw-current{align-self:start}
 html body[data-workspace-ready="true"] #panel .sw-current>strong{font-size:25px}
 html body[data-workspace-ready="true"] #panel .sw-comparison{grid-template-columns:minmax(0,1fr);border-left:1px solid #e3e8ef;padding-left:12px}
 html body[data-workspace-ready="true"] #panel .sw-additional{padding:14px}
 html body[data-workspace-ready="true"] #panel .sw-reading-guide{padding:18px}
 html body[data-workspace-ready="true"] #panel .sw-workspace .cw-header>button{width:100%}
}

/* Guided LIVE entry uses one date and two clear time controls. */
html body[data-workspace-ready="true"] #panel .la-entry{max-width:780px;margin:24px 0;padding:24px!important;border:1px solid #e3e8ef!important;border-radius:16px;background:#f9fafc;scroll-margin-top:100px}
html body[data-workspace-ready="true"] #panel .la-entry-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}
html body[data-workspace-ready="true"] #panel .la-entry-heading h3{font-size:21px;margin:0}
html body[data-workspace-ready="true"] #panel .la-entry .eyebrow{font-size:10px;margin-bottom:5px}
html body[data-workspace-ready="true"] #panel .la-host-pill{display:inline-flex;background:#eaf0f7;color:#334860;border:1px solid #dce3ed;border-radius:999px;padding:7px 12px;font-size:12px;font-weight:600}
html body[data-workspace-ready="true"] #panel .la-entry-help{font-size:12px;color:#65758a;margin:10px 0 20px}
html body[data-workspace-ready="true"] #panel .la-entry-fields{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:14px}
html body[data-workspace-ready="true"] #panel .la-entry-fields label{display:grid;gap:7px;min-width:0;font-size:12px}
html body[data-workspace-ready="true"] #panel .la-entry :is(input[type="date"],input[type="time"]){width:100%;min-width:0;min-inline-size:0;max-width:100%;box-sizing:border-box;margin:0;min-height:46px;padding:10px 12px;background:white;font-size:16px}
html body[data-workspace-ready="true"] #panel .la-entry input::-webkit-date-and-time-value{text-align:left;min-width:0}
html body[data-workspace-ready="true"] #panel .la-entry input::-webkit-datetime-edit{padding:0}
html body[data-workspace-ready="true"] #panel .la-next-day{display:flex;align-items:center;gap:10px;cursor:pointer;margin:16px 0;font-size:13px;min-height:44px}
html body[data-workspace-ready="true"] #panel .la-next-day input{display:inline-block;width:18px;min-width:18px;min-height:18px;height:18px;margin:0;padding:0;accent-color:#b08b3b}
html body[data-workspace-ready="true"] #panel .la-next-day small{font-size:11px;color:#718096;font-weight:400;margin:3px 0 0}
html body[data-workspace-ready="true"] #panel .la-duration-options{margin:18px 0}
html body[data-workspace-ready="true"] #panel .la-duration-options>span{display:block;font-size:11px;color:#65758a;margin-bottom:8px}
html body[data-workspace-ready="true"] #panel .la-duration-options>div{display:flex;flex-wrap:wrap;gap:8px}
html body[data-workspace-ready="true"] #panel .la-duration-options button{background:white;border:1px solid #dce3ed;color:#334860;padding:8px 12px;min-height:38px;font-size:12px}
html body[data-workspace-ready="true"] #panel .la-duration-options button:hover{background:#f7edcf;border-color:#c7a24e}
html body[data-workspace-ready="true"] #panel .la-end-date{margin:16px 0;font-size:12px;color:#65758a}
html body[data-workspace-ready="true"] #panel .la-end-date summary{cursor:pointer;min-height:32px;padding:5px 0}
html body[data-workspace-ready="true"] #panel .la-end-date label{display:grid;gap:8px;max-width:260px;margin-top:12px;font-size:12px}
html body[data-workspace-ready="true"] #panel .la-end-date p{font-size:11px}
html body[data-workspace-ready="true"] #panel .la-preview{padding:18px;border:1px solid #e4d5b1;border-radius:12px;background:#fcf9f1;margin:20px 0}
html body[data-workspace-ready="true"] #panel .la-preview-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
html body[data-workspace-ready="true"] #panel .la-preview-grid span{display:block;font-size:11px;color:#65758a;margin-bottom:6px}
html body[data-workspace-ready="true"] #panel .la-preview-grid strong{font-size:23px;color:#182b42;font-variant-numeric:tabular-nums;line-height:1.3}
html body[data-workspace-ready="true"] #panel .la-preview p{font-size:12px;margin:12px 0 0;color:#596b80}
html body[data-workspace-ready="true"] #panel .la-preview small{font-size:10px;color:#718096;margin-top:10px}
html body[data-workspace-ready="true"] #panel .la-preview .la-preview-hint{margin:0}
html body[data-workspace-ready="true"] #panel .la-entry-actions{margin-top:18px}
html body[data-workspace-ready="true"] #panel .la-entry-actions button[type="submit"]{background:#c7a24e;color:#182b42;padding-inline:24px}
@media screen and (max-width:650px){
 html body[data-workspace-ready="true"] #panel .la-entry{padding:18px!important;scroll-margin-top:90px}
 html body[data-workspace-ready="true"] #panel .la-entry-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 html body[data-workspace-ready="true"] #panel .la-entry-fields .la-date{grid-column:1/-1}
 html body[data-workspace-ready="true"] #panel .la-entry-heading h3{font-size:19px}
 html body[data-workspace-ready="true"] #panel .la-duration-options>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
 html body[data-workspace-ready="true"] #panel .la-duration-options button{width:100%;min-height:42px}
 html body[data-workspace-ready="true"] #panel .la-preview{padding:16px}
 html body[data-workspace-ready="true"] #panel .la-preview-grid{gap:12px}
 html body[data-workspace-ready="true"] #panel .la-preview-grid strong{font-size:21px;overflow-wrap:anywhere}
 html body[data-workspace-ready="true"] #panel .la-entry-actions{display:grid;grid-template-columns:minmax(0,1fr) 80px}
 html body[data-workspace-ready="true"] #panel .la-entry-actions button{width:100%;min-height:46px}
}

/* Audit 2026-11-13: tablet width left the allowance total alone on a second row,
   and the fifth social platform hid behind a horizontal scroll on phones. */
@media screen and (min-width:600px) and (max-width:1099px){
 html body[data-workspace-ready="true"] #panel .allowance-summary{grid-template-columns:repeat(3,minmax(0,1fr))}
 html body[data-workspace-ready="true"] #panel .allowance-summary .allowance-total{grid-column:auto;display:block}
 html body[data-workspace-ready="true"] #panel .allowance-summary .allowance-total strong{display:block;margin-top:10px}
}
@media screen and (min-width:651px) and (max-width:1099px){
 /* Keep the Edit / Padam buttons inside the table instead of behind a horizontal scroll. */
 html body[data-workspace-ready="true"] #panel .allowancepanel th,html body[data-workspace-ready="true"] #panel .allowancepanel td{padding:10px 8px;font-size:12px;white-space:normal}
 html body[data-workspace-ready="true"] #panel .allowancepanel td:last-child{width:84px}
 html body[data-workspace-ready="true"] #panel .allowancepanel td button{display:block;width:100%;margin:3px 0}
}
/* Monthly Review: an auto-sized grid column grew to its widest child (547px on a 375px phone),
   so the whole page scrolled sideways. Let the column shrink and let wide tables scroll inside. */
html body[data-workspace-ready="true"] #panel .reviewpanel{grid-template-columns:minmax(0,1fr)}
html body[data-workspace-ready="true"] #panel .reviewpanel>*{min-width:0}
/* Month, year and refresh share one row instead of stacking in a narrow shrink-wrapped box. */
html body .controls.compactcontrols{flex-wrap:nowrap;width:100%}
html body .companypanel.mk .pillgroup{display:flex;gap:8px;flex-shrink:0}
@media screen and (max-width:650px){
 /* The month + year pills sit on their own row instead of covering the page title. */
 html body .companypanel.mk .companyheading{flex-wrap:wrap}
 html body .companypanel.mk .pillgroup{flex:1 1 100%}
 html body .companypanel.mk .pillgroup .monthpill{flex:1 1 0;min-width:0;justify-content:space-between}
 html body .companypanel.mk .pillgroup .yearpill{flex:0 0 auto}
 html body .controls.compactcontrols>label{flex:1 1 0;min-width:0;max-width:none}
 html body[data-workspace-ready="true"] #panel .sw-platforms{flex-wrap:wrap;overflow:visible}
 html body[data-workspace-ready="true"] #panel .sw-platforms button{flex:1 1 calc(33% - 8px);padding:10px 8px}
}

/* Optional LIVE performance figures inside the session form. */
html body[data-workspace-ready="true"] #panel .la-metrics{margin:14px 0;border:1px solid #e3e8ef;border-radius:12px;padding:12px 14px;background:#fff}
html body[data-workspace-ready="true"] #panel .la-metrics summary{cursor:pointer;font-size:13px;font-weight:600;min-height:28px}
html body[data-workspace-ready="true"] #panel .la-metrics>p{font-size:12px;color:#65758a;margin:8px 0 12px}
html body[data-workspace-ready="true"] #panel .la-metric-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
html body[data-workspace-ready="true"] #panel .la-metric-grid label{display:grid;gap:4px;font-size:12px;min-width:0}
html body[data-workspace-ready="true"] #panel .la-metric-grid input{width:100%;min-width:0}
html body[data-workspace-ready="true"] #panel .la-perf{display:block;margin-top:4px;font-size:11px;color:#65758a;white-space:normal}
@media screen and (min-width:900px){html body[data-workspace-ready="true"] #panel .la-metric-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* Jadual host: one card per day, one row per slot. */
html body[data-workspace-ready="true"] #panel .scheduleday{margin:18px 0 0;padding:14px 16px;border:1px solid #e3e8ef;border-radius:14px;background:#fff}
html body[data-workspace-ready="true"] #panel .scheduleday.today{border-color:#c7a24e;background:#fcf9f1}
html body[data-workspace-ready="true"] #panel .scheduleday h3{font-size:14px;margin:0 0 8px;display:flex;gap:8px;align-items:center;flex-wrap:wrap}
html body[data-workspace-ready="true"] #panel .schedulerow{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 0;border-top:1px solid #eef1f5}
html body[data-workspace-ready="true"] #panel .schedulerow:first-of-type{border-top:0}
html body[data-workspace-ready="true"] #panel .schedulerow>div{display:grid;gap:2px;min-width:0}
html body[data-workspace-ready="true"] #panel .schedulerow strong{font-size:14px}
html body[data-workspace-ready="true"] #panel .schedulerow span{font-size:13px;color:#44566b;overflow-wrap:anywhere}
html body[data-workspace-ready="true"] #panel .schedulerow button{flex:0 0 auto;min-height:40px;padding:8px 14px}

/* Daily workspace, independent from the monthly report selector. */
.today-workspace{display:grid;gap:20px;margin-bottom:28px;min-width:0}
html body[data-workspace-ready="true"] #panel .td-hero{display:flex;align-items:center;justify-content:space-between;gap:20px;background:#182b42;color:white;border-radius:18px;padding:28px}
html body[data-workspace-ready="true"] #panel .td-hero .eyebrow{color:#e5c777;font-size:10px}
html body[data-workspace-ready="true"] #panel .td-hero h2{font-size:36px;margin:4px 0 8px;color:white}
html body[data-workspace-ready="true"] #panel .td-hero p{font-size:13px;margin:0;color:#d3dce7}
.td-date-pill{font-size:11px;white-space:nowrap;border:1px solid #ffffff30;border-radius:999px;padding:8px 12px;color:#eed693}
.td-actions{display:flex;flex-wrap:wrap;gap:10px}
html body[data-workspace-ready="true"] #panel .td-actions>button{padding:11px 18px;background:#c7a24e;color:#182b42;border:1px solid #c7a24e}
html body[data-workspace-ready="true"] #panel .td-actions>button.secondary{background:white;border-color:#dce3ed;color:#334860}
.td-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.td-stats>div{display:grid;gap:6px;border:1px solid #e3e8ef;border-radius:14px;padding:20px;background:white}
.td-stats span{font-size:12px;color:#65758a}
.td-stats strong{font-size:30px;line-height:1.2;color:#182b42;font-variant-numeric:tabular-nums}
html body[data-workspace-ready="true"] #panel .td-stats small{font-size:11px;color:#718096;margin:0;letter-spacing:0}
.td-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}
.td-section{padding:20px;border:1px solid #e3e8ef;border-radius:14px;min-width:0;background:white}
.td-live{grid-column:1/-1}
html body[data-workspace-ready="true"] #panel .td-section .sectionhead{margin:0 0 12px}
html body[data-workspace-ready="true"] #panel .td-section h3{font-size:17px;margin:0}
.td-list{list-style:none;margin:0;padding:0}
.td-list li{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 0;border-top:1px solid #edf0f5;min-width:0}
.td-list li:first-child{border-top:0}
.td-list li>div{display:grid;gap:5px;min-width:0}
.td-list strong{font-size:13px;line-height:1.6;overflow-wrap:anywhere}
.td-list button{flex-shrink:0}
.td-tag{font-size:10px;color:#65758a}
.td-tag.td-late{color:#b52c35}
html body[data-workspace-ready="true"] #panel .td-list small{font-size:10px;color:#718096;margin:0}
html body[data-workspace-ready="true"] #panel .td-empty{font-size:12px;line-height:1.7;color:#65758a;background:#f8fafc;border-radius:10px;padding:18px;margin:0}
html body[data-workspace-ready="true"] #panel .td-foot{font-size:11px;color:#718096;line-height:1.7;margin:12px 0 0}
.td-next{display:grid;gap:5px;background:#fbf7eb;border:1px solid #e9dcbb;border-radius:12px;padding:16px;margin-bottom:12px}
.td-next>span{font-size:10px;color:#8a6a30}
.td-next>strong{font-size:19px;overflow-wrap:anywhere}
html body[data-workspace-ready="true"] #panel .td-next>small{font-size:11px;margin:0;color:#65758a}
.td-time{font-size:12px;color:#8a6a30;min-width:80px}
html body[data-workspace-ready="true"] #panel button.td-warning{margin-top:12px;font-size:11px;background:#fff6e2;border:1px solid #efdfb4;color:#88661e;text-align:left;width:100%;padding:10px 12px}
@media(max-width:650px){
 .today-workspace{gap:14px;margin-bottom:24px}
 html body[data-workspace-ready="true"] #panel .td-hero{padding:22px;align-items:flex-start}
 html body[data-workspace-ready="true"] #panel .td-hero h2{font-size:30px}
 html body[data-workspace-ready="true"] #panel .td-hero p{font-size:12px}
 .td-date-pill{display:none}
 .td-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 html body[data-workspace-ready="true"] #panel .td-actions>button{font-size:11px;padding:10px 8px;min-height:44px}
 .td-stats{gap:8px}
 .td-stats>div{padding:12px;gap:7px}
 .td-stats span{font-size:10px;line-height:1.5}
 .td-stats strong{font-size:25px}
 html body[data-workspace-ready="true"] #panel .td-stats small{font-size:10px}
 .td-grid{grid-template-columns:minmax(0,1fr);gap:14px}
 .td-section{padding:16px}
 .td-live{grid-column:auto}
}

/* Trip Update (admin). One card per trip; checklist rows stack cleanly on phones. */
html body[data-workspace-ready="true"] #panel .trip-drive{margin:14px 0;padding:14px 16px;border-radius:12px;border:1px solid #e3e8ef;background:#fff}
html body[data-workspace-ready="true"] #panel .trip-drive.warn{background:#fcf9f1;border-color:#e6d8b8}
html body[data-workspace-ready="true"] #panel .trip-drive.ok{color:#167343;background:#e8f6ee;border-color:#c9e6d4}
html body[data-workspace-ready="true"] #panel .trip-drive p{margin:6px 0 10px;font-size:14px}
html body[data-workspace-ready="true"] #panel .trip-new{margin:14px 0;padding:16px;border:1px solid #e3e8ef;border-radius:14px;background:#fff}
html body[data-workspace-ready="true"] #panel .trip-card{margin:16px 0;padding:16px;border:1px solid #e3e8ef;border-radius:14px;background:#fff}
html body[data-workspace-ready="true"] #panel .trip-card.ended{opacity:.78;background:#f7f8fa}
html body[data-workspace-ready="true"] #panel .trip-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}
html body[data-workspace-ready="true"] #panel .trip-head h3{margin:0;font-size:18px}
html body[data-workspace-ready="true"] #panel .trip-head p{margin:2px 0 0;font-size:13px;color:#65758a}
html body[data-workspace-ready="true"] #panel .trip-code{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:14px 0;padding:12px;border-radius:10px;background:#f6f8fb}
html body[data-workspace-ready="true"] #panel .trip-code span{font-size:12px;color:#65758a;flex:1 1 100%}
html body[data-workspace-ready="true"] #panel .trip-code strong{font-size:22px;letter-spacing:.14em;color:#182b42}
html body[data-workspace-ready="true"] #panel .trip-items{list-style:none;margin:8px 0;padding:0}
html body[data-workspace-ready="true"] #panel .trip-items>li{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;align-items:center;padding:12px 0;border-top:1px solid #eef1f5}
html body[data-workspace-ready="true"] #panel .trip-items>li:first-child{border-top:0}
html body[data-workspace-ready="true"] #panel .trip-item-main strong{display:block;font-size:15px}
html body[data-workspace-ready="true"] #panel .trip-item-main small{font-size:12px;color:#65758a}
html body[data-workspace-ready="true"] #panel .trip-posted input[type=checkbox]{width:20px!important;min-width:20px!important;max-width:20px!important;height:20px!important;min-height:0!important;margin:0!important;padding:0!important;flex:none}
html body[data-workspace-ready="true"] #panel .trip-posted{display:flex;gap:8px;align-items:center;font-size:13px;margin:0;white-space:nowrap}
html body[data-workspace-ready="true"] #panel .trip-item-actions,html body[data-workspace-ready="true"] #panel .trip-actions{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:8px}
html body[data-workspace-ready="true"] #panel .trip-items details{grid-column:1/-1;font-size:13px}
html body[data-workspace-ready="true"] #panel .trip-files{list-style:none;margin:6px 0 0;padding:0;display:grid;gap:4px}
html body[data-workspace-ready="true"] #panel .trip-files li{display:flex;flex-direction:column;border:0;padding:0}
html body[data-workspace-ready="true"] #panel .trip-files small{color:#65758a}
html body[data-workspace-ready="true"] #panel .trip-add{display:flex;gap:8px;margin:10px 0}
html body[data-workspace-ready="true"] #panel .trip-add input{flex:1;min-width:0}
html body[data-workspace-ready="true"] #panel .trip-actions{margin-top:12px}
html body[data-workspace-ready="true"] #panel .trip-card .btn,html body[data-workspace-ready="true"] #panel .trip-card button{min-height:40px;padding:8px 12px;font-size:13px}
html body[data-workspace-ready="true"] #panel .trip-card .btn{display:inline-flex;align-items:center;text-decoration:none;border-radius:10px}
@media screen and (max-width:650px){html body[data-workspace-ready="true"] #panel .trip-items>li{grid-template-columns:1fr}html body[data-workspace-ready="true"] #panel .trip-add{flex-direction:column}}

/* Trip Update stage 2: logo editing and captions */
html body[data-workspace-ready="true"] #panel .trip-file-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:6px}
html body[data-workspace-ready="true"] #panel .trip-files>li{padding:8px 0;border-top:1px solid #eef1f5}
html body[data-workspace-ready="true"] #panel .trip-files>li:first-child{border-top:0}
html body[data-workspace-ready="true"] #panel .trip-edit{grid-column:1/-1;padding:14px;border:1px solid #e6d8b8;border-radius:12px;background:#fcf9f1;display:grid;gap:10px}
html body[data-workspace-ready="true"] #panel .trip-edit-preview{display:block;width:100%;max-width:560px;height:auto;border-radius:10px;border:1px solid #e3e8ef;background:#fff}
html body[data-workspace-ready="true"] #panel .trip-corners{display:flex;flex-wrap:wrap;gap:8px}
html body[data-workspace-ready="true"] #panel .trip-caption{grid-column:1/-1;display:grid;gap:8px;padding-top:8px;border-top:1px solid #eef1f5}
html body[data-workspace-ready="true"] #panel .trip-caption label{display:grid;gap:6px;font-size:13px;font-weight:600;color:#182b42}
html body[data-workspace-ready="true"] #panel .trip-caption textarea{width:100%;min-height:120px;font:inherit;font-weight:400;line-height:1.45;padding:10px 12px;border:1px solid #cfd8e3;border-radius:10px;box-sizing:border-box;resize:vertical}
html body[data-workspace-ready="true"] #panel .trip-batch{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:10px;align-items:flex-end;padding:12px;border:1px dashed #e6d8b8;border-radius:12px;background:#fcf9f1}
html body[data-workspace-ready="true"] #panel .trip-batch label{display:grid;gap:4px;font-size:12px;font-weight:600;color:#182b42}
html body[data-workspace-ready="true"] #panel .trip-batch select{min-height:40px;padding:6px 10px;border:1px solid #cfd8e3;border-radius:10px;font:inherit;background:#fff}
