/* The content is a stable canvas. Navigation and transient controls float above it. */
:root{--glass-control:linear-gradient(155deg,#ffffffb8,#ffffff38 54%,#e3edf64a);--glass-highlight:inset 0 1.5px 1px #fff,inset 1px 0 .8px #ffffffc9,inset -1px -1.3px 1px #6f8bb328;--glass-shadow:0 4px 14px #20385910,0 1px 3px #1c35571c;--surface-border:#dfe5ee;--control-ease:cubic-bezier(.22,.8,.25,1)}
html{scroll-padding-top:100px}body{background:radial-gradient(ellipse at 0 4%,#daeaffb8,transparent 42%),radial-gradient(ellipse at 100% 36%,#e6e4f694,transparent 44%),#f4f6f9}
.content{width:100%;box-sizing:border-box}.content>*{min-width:0}.heading-row,.overview-heading{gap:20px;align-items:flex-start}.heading-row>.button-row,.overview-heading>.button-row{justify-content:flex-end;flex-wrap:wrap;flex:none}.heading-row .subtitle{line-height:1.65;max-width:650px;margin-bottom:0}.button-row{align-items:center}
.sidebar,.client-mode .sidebar{background:linear-gradient(150deg,#ffffff8c,#eaf1f57a);border-color:#fffffff0;box-shadow:inset 0 1px 1px #fff,inset -1px -1px #bfced849,0 8px 36px #2036550c;backdrop-filter:blur(32px) saturate(1.7);-webkit-backdrop-filter:blur(32px) saturate(1.7)}
.sidebar .nav.active,.client-mode .sidebar .nav.active{background:radial-gradient(ellipse at var(--glass-x,32%) var(--glass-y,8%),#ffffffef,transparent 65%),linear-gradient(150deg,#ffffff8a,#e4effa3b);box-shadow:var(--glass-highlight),0 5px 14px #3f648125;transform:translateZ(0)}
.topbar{margin:10px 18px 0;border:1px solid #ffffffdb;border-radius:22px;height:58px;min-height:58px;top:10px;padding-inline:20px;background:linear-gradient(130deg,#ffffffa3,#edf2f577);box-shadow:var(--glass-highlight),0 6px 22px #203b5710;backdrop-filter:blur(24px) saturate(1.65);-webkit-backdrop-filter:blur(24px) saturate(1.65)}
.btn:not(.ghost){border-radius:999px;min-height:38px;position:relative;isolation:isolate;overflow:hidden;transform:translateZ(0);background:radial-gradient(ellipse at var(--glass-x,28%) var(--glass-y,0%),#ffffffbf,transparent 69%),var(--glass-control);border:1px solid #ffffffed;box-shadow:var(--glass-highlight),var(--glass-shadow);backdrop-filter:blur(10px) saturate(1.8);-webkit-backdrop-filter:blur(10px) saturate(1.8);transition:transform .24s var(--control-ease),box-shadow .24s,background .24s}
.btn:not(.ghost):hover{transform:translateY(-1px);box-shadow:var(--glass-highlight),0 7px 20px #244b7020}
.btn:not(.ghost):active{transform:scale(.96);box-shadow:inset 0 1px 2px #ffffffdf,inset 0 -2px 8px #c4d8ea4d,0 2px 6px #23497018}
.btn.primary,.btn.dark{background:radial-gradient(ellipse at var(--glass-x,25%) var(--glass-y,0%),#ffffff59,transparent 75%),linear-gradient(145deg,#0b85f2db,#0067d8eb);color:#fff;border-color:#ffffff99;box-shadow:inset 0 1.3px 1px #ffffffa8,inset 0 -1px 1px #003b974d,0 4px 13px #0071e330}
.btn.primary:hover,.btn.dark:hover{background:radial-gradient(ellipse at var(--glass-x,25%) var(--glass-y,0%),#ffffff70,transparent 75%),linear-gradient(145deg,#0b85f2f0,#0067d8f5);color:#fff}
[data-glass-segments]{position:relative;isolation:isolate}
[data-glass-segments]::before{content:'';position:absolute;z-index:-1;pointer-events:none;top:var(--segment-y,4px);left:var(--segment-x,4px);width:var(--segment-width,0);height:var(--segment-height,0);border-radius:999px;background:linear-gradient(150deg,#ffffffec,#ffffff7a);border:1px solid #fff;box-shadow:var(--glass-highlight),0 3px 10px #1f3e631b;box-sizing:border-box;transition:left .3s var(--control-ease),top .3s var(--control-ease),width .3s var(--control-ease),height .3s var(--control-ease);backdrop-filter:blur(12px) saturate(1.7);-webkit-backdrop-filter:blur(12px) saturate(1.7)}
[data-glass-segments]>.active,[data-glass-segments]>.is-selected,[data-glass-segments]>[aria-pressed=true]{background:transparent!important;box-shadow:none!important;border-color:transparent!important}
.filters,.work-tabs,.task-audience-tabs,.content-categories{border-radius:22px}.filter,.work-tab,.content-category{border-radius:999px}.btn:focus-visible,.filter:focus-visible,.nav:focus-visible{outline:3px solid #0071e366;outline-offset:3px}
input[type=checkbox]:not(.taskboard-check){width:17px;height:17px;flex:none;accent-color:#007aff;cursor:pointer}
dialog{border:1px solid #ffffffed;box-shadow:0 25px 90px #14253b33,inset 0 1px 0 #fff;background:#fcfdff;border-radius:26px;animation:sheet-appear .26s var(--control-ease)}
dialog::backdrop{background:#263b5840;backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}
.modal-head{align-items:center;border-color:#e7ecf2}.modal-head .close{background:#eef1f7;border-radius:50%;width:32px;height:32px;display:grid;place-items:center;flex:none}.modal-footer{justify-content:flex-end;gap:10px}
@keyframes sheet-appear{from{opacity:0;transform:translateY(10px) scale(.98)}to{opacity:1;transform:none}}
/* Native media is revealed in its own proportions; placeholder artwork is retired. */
.thumb{position:relative;isolation:isolate;background:#edf1f6!important;background-image:none!important;aspect-ratio:var(--media-ratio,16/9);min-height:0}
.thumb.native-ratio{aspect-ratio:var(--media-ratio);height:auto}.thumb .gallery-real-media{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:transparent;opacity:0;transition:opacity .2s ease}
.thumb.preview-ready .gallery-real-media{opacity:1;background:#111820}.thumb.preview-ready>.media-placeholder{opacity:0;visibility:hidden}.thumb:not(.preview-ready) .thumb-shade{display:none}.thumb:not(.preview-ready) .play{color:#8296b2}.thumb:not(.preview-ready) .play>span{background:#ffffff99;box-shadow:0 2px 8px #36567a0e}.thumb:not(.preview-ready) .duration{color:#60738d;background:#ffffffa8}
.media-placeholder{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;position:absolute;inset:0;color:#8b98aa;background:radial-gradient(ellipse at 35% 25%,#ffffffbd,transparent 70%),#edf1f6;overflow:hidden;transition:opacity .18s;font:400 10px/1.5 var(--sans,system-ui);letter-spacing:.1px;pointer-events:none}
.media-loader{position:relative;width:26px;height:26px;display:block;opacity:.75}.media-loader i{position:absolute;left:11.5px;top:1px;width:3px;height:7px;border-radius:4px;background:#8e9aab;transform-origin:1.5px 12px;transform:rotate(calc(var(--spoke)*45deg));opacity:calc(.18 + var(--spoke)*.1)}
.is-loading .media-loader{animation:media-loading .9s steps(8,end) infinite}.media-placeholder:not(.is-loading) .media-loader{display:none}.preview-failed .media-loader{animation:none;opacity:.3}.preview-failed .media-placeholder{background:#edf1f6}
@keyframes media-loading{to{transform:rotate(360deg)}}
.player-empty{position:relative;background:#edf1f6}.player-empty .player-overlay{color:#52657d;background:transparent}.player-empty .player-overlay h2{font-size:23px}.player-empty .player-overlay p{color:#8190a2}.player-empty>.media-placeholder .media-placeholder-label{display:none}
/* A thumbnail is a media object, not a stretched panel. */
.review-delivery-grid{grid-template-columns:minmax(0,1fr) minmax(220px,300px);align-items:start}
.review-thumbnail-block{align-self:start}.review-thumbnail-block .review-block-head{background:transparent;padding-bottom:10px}.review-thumbnail-block .thumbnail-preview,.review-thumbnail-block .thumbnail-preview.native-ratio{position:relative;margin:12px auto 18px;display:block;width:fit-content;max-width:calc(100% - 36px);height:auto;max-height:none;aspect-ratio:auto;border-radius:14px;background:transparent;overflow:hidden}
.review-thumbnail-block .thumbnail-preview img{display:block;position:relative;max-width:100%;width:auto;max-height:320px;height:auto;object-fit:contain;border-radius:14px;opacity:0}
.review-thumbnail-block .thumbnail-preview.preview-ready img{opacity:1}.thumbnail-preview.preview-ready .media-placeholder{display:none}.review-thumbnail-block .thumbnail-preview.has-thumbnail:not(.preview-ready){width:calc(100% - 36px);min-height:150px}.review-thumbnail-block .thumbnail-preview.no-thumbnail{width:calc(100% - 36px);height:140px;background:#edf1f6}.thumbnail-block-footer{flex-wrap:wrap;align-items:center;gap:12px;padding-inline:18px}.thumbnail-block-footer .tiny{flex:1;min-width:100px}
.review-caption-block .review-block-head{background:#f6f9fd}.review-notes-block{background:linear-gradient(#fbf9f5,#fff 200px)}.review-stage{background:#f0f3f7}.review-block-head{gap:14px}.review-block-head .btn{flex:none}.review-caption-block .caption-save{flex-wrap:wrap}.review-note-list{scrollbar-width:thin}.review-approval-block{background:#f1f8f4}
/* Dashboard geometry stays aligned as real counts, names and events change. */
.overview-heading>div:first-child{min-width:0;flex:1}.overview-heading p{line-height:1.6;color:#748094}.overview-toolbar{align-items:center;gap:16px}.overview-numbers{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:stretch}.overview .overview-number{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:10px;min-height:150px;text-align:left;border:1px solid #fff;border-radius:20px}.overview-number strong{line-height:1;letter-spacing:-1.3px}.overview-number small{margin-top:auto;line-height:1.5}.overview .overview-number span{font-weight:550;font-size:12px}.overview-main-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:22px}.overview-bottom-grid{gap:22px}.overview .overview-panel{min-width:0;background:#fff;padding:24px;border:1px solid #e9eef4;box-shadow:0 3px 16px #20345005}.overview .overview-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:40px;flex-wrap:wrap}.overview-section-head h2{font-size:19px;line-height:1.35;margin:6px 0}.overview-section-head>.button-row{flex-wrap:wrap;justify-content:flex-end}.overview .quiet-link{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:6px 9px;font-size:11px;flex:none;white-space:nowrap}.overview .focus-row,.overview .client-space-row{min-height:80px;gap:12px;padding-block:17px}.focus-row>div,.client-space-row>div{min-width:0;flex:1}.focus-row strong,.client-space-row strong{overflow-wrap:anywhere;line-height:1.45}.client-space-row small{line-height:1.65}.client-space-row .quiet-link{margin-left:auto}.overview .week-panel{padding:22px;margin-bottom:24px}.week-panel .overview-section-head{padding:0 0 18px}.overview .week-strip{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.overview .week-day{min-width:0;min-height:220px;padding:10px 8px}.week-day>header .quiet-link{padding:4px;justify-content:flex-start;gap:7px}.week-day>header b{display:inline-grid;place-items:center;width:27px;height:27px}.overview .week-event{display:block;width:100%;min-height:0;padding:10px 9px;border-radius:10px;margin-bottom:7px}.week-event strong{font-size:11px;line-height:1.4;overflow-wrap:anywhere}.week-event small,.week-event>span{font-size:9px;line-height:1.5;overflow-wrap:anywhere}.week-panel footer{gap:12px;align-items:center;flex-wrap:wrap}.week-panel footer small{font-size:10px;line-height:1.5}.home-client-inboxes{grid-template-columns:repeat(auto-fit,minmax(min(100%,245px),1fr));gap:16px}.home-client-inbox{margin:0!important;border:1px solid #e2e9f2;border-left:3px solid var(--client-color);padding:16px}.home-client-inbox .overview-section-head{align-items:flex-start}.home-client-inbox h3{font-size:17px}.home-client-inbox .badge{font-size:9px;line-height:1.5}.home-client-inbox .home-mail{min-height:0;margin-top:8px;padding:13px;background:#ffffffd9}.home-mail p{font-size:12px;line-height:1.6;margin-bottom:0}.home-mail strong{display:block;font-size:12px;line-height:1.5;overflow-wrap:anywhere}.home-mail small{display:block;font-size:10px;line-height:1.5;overflow-wrap:anywhere}.daily-brief{background:linear-gradient(120deg,#edf4ff,#f4f3fc);padding:24px}.daily-brief h2{font-size:28px}.daily-brief-grid{gap:28px}.daily-brief .brief-row{gap:12px}.daily-brief .brief-row time{flex:0 0 62px}.daily-brief .brief-row>span{flex:none}.pulse-values{gap:12px}.pulse-stat{min-width:0}.pulse-stat b{font-size:32px;overflow-wrap:anywhere}
@supports (backdrop-filter:url("#workroom-glass-lens")) and (not (-webkit-touch-callout:none)){.topbar,.sidebar .nav.active,[data-glass-segments]::before,.btn:not(.ghost):hover:not(:disabled){backdrop-filter:url("#workroom-glass-lens") blur(9px) saturate(1.7)}}
@media(max-width:1150px){.heading-row{flex-wrap:wrap}.overview-heading{flex-wrap:wrap}.overview .week-strip{overflow-x:auto;grid-template-columns:repeat(7,minmax(115px,1fr));scrollbar-width:thin}.overview-main-grid{grid-template-columns:1fr}.review-delivery-grid{grid-template-columns:minmax(0,1fr) minmax(210px,260px)}}
@media(max-width:760px){.topbar{margin:8px 10px 0;top:8px;padding:9px 12px;min-height:56px;height:auto;border-radius:19px;flex-wrap:nowrap}.top-actions .btn{font-size:11px;min-height:34px}.top-client-select{max-width:115px}.breadcrumbs{min-width:0;gap:6px}.breadcrumbs>span:first-of-type{display:none}.breadcrumbs strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.content{padding:24px 16px 110px}.heading-row>.button-row,.overview-heading>.button-row{justify-content:flex-start;flex-shrink:1}.heading-row{gap:16px}.btn:not(.small),.btn.primary{min-height:44px}.overview-numbers{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.overview .overview-number{min-height:139px;padding:18px!important}.overview .overview-panel,.overview .week-panel{padding:19px}.overview-main-grid,.overview-bottom-grid{grid-template-columns:1fr;gap:16px}.overview-bottom-grid>section:last-child{grid-column:auto}.overview .week-day{min-height:190px}.overview .overview-section-head{align-items:flex-start}.overview .week-panel .overview-section-head{flex-direction:column}.overview .week-panel .overview-section-head>.button-row{justify-content:flex-start}.daily-brief{padding:20px}.daily-brief-grid{gap:20px}.daily-brief>header{align-items:flex-start}.review-delivery-grid{grid-template-columns:1fr}.review-thumbnail-block{width:fit-content;max-width:100%;min-width:min(100%,280px)}.review-thumbnail-block .thumbnail-preview img{max-height:380px}.review-caption-block .caption-save small{width:100%}.review-approval-block{gap:16px}.review-block-head .btn{font-size:11px}.media-placeholder-label{font-size:10px}.sidebar,.client-mode .sidebar{background:linear-gradient(140deg,#fcfdfff2,#eef4fae8)}dialog{max-height:calc(100dvh - 24px)}input[type=search]{font-size:16px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}.is-loading .media-loader{animation:none}.media-placeholder,.thumb .gallery-real-media,dialog,.btn,[data-glass-segments]::before{animation:none!important;transition:none!important;transform:none!important}}
@media(prefers-reduced-transparency:reduce){.sidebar,.client-mode .sidebar,.topbar,dialog{background:#f6f8fc!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}.btn:not(.ghost),[data-glass-segments]::before{background:#fff!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}.btn.primary,.btn.dark{background:#0071e3!important}.sidebar .nav.active{background:#fff!important}.modal::backdrop{backdrop-filter:none}}
@media(prefers-contrast:more){.btn:not(.ghost),.topbar,.sidebar,[data-glass-segments]::before{border-color:#778aa0}.media-placeholder,.tiny{color:#475a73}.btn.primary{background:#0066cb;color:white}}

.daily-brief .brief-section-title{min-height:48px;box-sizing:border-box;padding-bottom:10px}.brief-header-actions{justify-content:flex-end;flex-wrap:wrap;gap:8px}.daily-brief>header>div:first-child{min-width:0;flex:1}@media(max-width:760px){.brief-header-actions{justify-content:flex-start}.daily-brief .brief-section-title{min-height:48px}}

html{overflow-anchor:none}[data-glass-segments]>.btn{background:transparent!important;border-color:transparent!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;transform:none!important}

@media(max-width:760px){.topbar{gap:8px}.topbar .top-actions{flex-wrap:nowrap;flex:none;gap:6px}.topbar .breadcrumbs{flex:1}.topbar .breadcrumbs>span{display:none}.topbar .top-client-select{width:110px;max-width:110px}.topbar .preview-label{display:none}.topbar .preview-toggle{width:34px;height:34px;padding:7px}.topbar .preview-toggle .icon{margin:0}.topbar .mobile-menu{padding:6px;min-width:28px}.topbar .breadcrumbs strong{font-size:11px}}
/* Files belong to the brief or deliverable; the whole pad is a drop target. */
.file-dropzone{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:165px;padding:24px 18px;margin:16px 0;border:1.5px dashed #aebed3;border-radius:20px;background:linear-gradient(150deg,#f6faff,#eef3fa8c);color:#526983;text-align:center;cursor:pointer;transition:border-color .18s,background .18s,box-shadow .18s}
.file-dropzone input[type=file]{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden;clip-path:inset(50%)}
.file-drop-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:14px;background:#fff9;color:#397dc9;box-shadow:inset 0 1px #fff,0 2px 8px #35557b0b}.file-drop-icon svg{width:24px;height:24px}
.file-dropzone strong{font-size:14px;color:#304967;font-weight:600}.file-drop-instruction{font-size:12px}.file-drop-instruction u{text-decoration:none;color:#0875df}.file-dropzone small{font-size:11px;line-height:1.6;color:#7a8da5}.file-dropzone:hover,.file-dropzone:focus-within{border-color:#438dde;background:#edf5ff}.file-dropzone:focus-within{outline:3px solid #0071e329;outline-offset:3px}.file-dropzone.drag-over,.dropzone.drag-over{border-color:#0071e3;background:#e3f0ff;box-shadow:0 0 0 4px #0071e312}.file-dropzone.has-files{border-style:solid;border-color:#9db9d9;background:#edf5ff}.file-drop-selection{max-width:100%;overflow-wrap:anywhere;font-size:11px;font-weight:550;color:#176abc}.file-drop-selection:empty,.file-drop-error:empty{display:none}.file-drop-error{font-size:12px;color:#b04231;line-height:1.6}
@media(max-width:760px){.file-dropzone{min-height:155px;padding:22px 16px}.file-drop-instruction{font-size:13px}}
@media(prefers-reduced-motion:reduce){.file-dropzone{transition:none}}
/* Keep gallery controls still as slides with different shapes load. */
.content-gallery-stage,.content-gallery-stage[aria-busy=true]{height:min(68dvh,560px);min-height:280px}.content-gallery-stage img{max-height:100%;max-width:100%;width:auto;height:auto}.project-type-picker small{color:#65758c!important;font-size:11px!important;line-height:1.55!important}
@media(max-width:600px){.content-gallery-stage,.content-gallery-stage[aria-busy=true]{height:min(58dvh,480px);min-height:240px}}
