/* One interactive accent across the studio. Amber and red only convey status. */
:root{
  --accent:#183d59;--accent-hover:#245171;--accent-soft:#eaf1f7;--accent-soft-hover:#dce8f2;--accent-line:#b7ccde;--focus:#37698f;
  --ink:#19344b;--muted:#596d7c;--placeholder:#62727f;--disabled:#8796a2;
  --paper:#f7f7f2;--surface:#fff;--card:var(--surface);--surface-muted:#f6f8fa;--line:#dce3e8;--line-strong:#afbfcc;
  --warning:#856024;--warning-soft:#fff5dd;--warning-line:#ead8b3;
  --danger:#9b514a;--danger-hover:#83423c;--danger-soft:#fcf0ee;--danger-line:#e5c7c2;
  --shadow-soft:#183d5904;--shadow:#183d5926;--shadow-menu:#183d5920;--shadow-edge:#183d5908;--backdrop:#142d4070;
  --radius:14px;--radius-control:10px;--radius-menu:12px;
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:16px;font-synthesis:none;color:var(--ink);background:var(--paper);line-height:1.5
}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit;color:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.48}button,a,input,textarea,select,summary{outline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid var(--focus)}a{color:var(--accent);text-underline-offset:3px;overflow-wrap:anywhere}h1,h2,h3,h4,p{margin:0}h1{font-size:36px;font-weight:560;line-height:1.18;letter-spacing:-1.15px}h2{font-size:24px;font-weight:570;letter-spacing:-.35px;line-height:1.35}h3{font-size:16px;font-weight:600}h4{font-size:16px;font-weight:650;color:var(--muted);text-transform:uppercase;letter-spacing:.6px}p{line-height:1.65}strong{font-weight:600}[hidden]{display:none!important}.small{font-size:16px}.muted{color:var(--muted)}.preserve{white-space:pre-wrap;overflow-wrap:anywhere}.eyebrow{display:block;color:var(--muted);font-size:14px;letter-spacing:1.6px;text-transform:uppercase;font-weight:680;margin-bottom:11px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;top:-100px;left:16px;z-index:500;background:var(--accent);color:var(--surface);padding:12px 20px;border-radius:var(--radius-control)}.skip-link:focus{top:10px}.topbar{background:var(--surface);border-bottom:1px solid var(--line)}.topbar-inner{max-width:1440px;min-height:91px;margin:auto;display:flex;align-items:center;padding:0 48px;gap:48px}.brand,.brand-mark{display:flex;align-items:center;gap:11px;white-space:nowrap;font-size:20px;font-weight:550;letter-spacing:-.4px}.brand{border:0;background:none;padding:0}.brand img,.brand-mark img{width:58px;height:58px;object-fit:contain}.main-nav{display:flex;align-self:stretch;gap:28px}.nav-item{border:0;border-bottom:2px solid transparent;background:transparent;font-size:16px;font-weight:500;padding:3px 0 0;color:var(--muted)}.nav-item.active{color:var(--accent);border-bottom-color:var(--accent)}.account{margin-left:auto;display:flex;align-items:center;gap:11px;font-size:16px}.account-name{font-weight:550;margin-right:10px}.account .text-button{font-size:16px;color:var(--muted)}.avatar{height:40px;width:40px;min-width:40px;border-radius:50%;background:var(--accent-soft);display:inline-flex;align-items:center;justify-content:center;font-size:16px;font-weight:550;color:var(--accent)}.avatar.rose{background:var(--surface-muted);color:var(--muted)}.avatar.small-avatar{height:31px;width:31px;min-width:31px;font-size:14px;background:var(--accent-soft);color:var(--accent)}.avatar.tiny{height:26px;width:26px;min-width:26px;font-size:14px}.creator-header-label{font-size:16px;color:var(--muted);letter-spacing:.1px}.page{max-width:1440px;margin:0 auto;padding:48px 48px 0}.page.narrow{max-width:860px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:32px}.page-description{font-size:16px;color:var(--muted);margin-top:14px}.btn{border:1px solid var(--line);background:var(--surface);color:var(--accent);display:inline-flex;justify-content:center;align-items:center;gap:10px;padding:11px 17px;border-radius:var(--radius-control);font-size:16px;font-weight:570;line-height:1.4;min-height:44px;text-decoration:none;white-space:nowrap;transition:background .16s,border-color .16s}.btn:hover{background:var(--surface-muted);border-color:var(--line-strong)}.btn.primary{background:var(--accent);color:var(--surface);border-color:var(--accent)}.btn.primary:hover{background:var(--accent-hover);border-color:var(--accent-hover)}.btn.primary:disabled:hover{background:var(--accent)}.text-button{border:0;background:none;padding:0;font-size:16px;color:var(--accent);text-decoration:underline;text-underline-offset:4px}.full-width{width:100%}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:0 0 36px}.stat-card{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);padding:23px 24px 20px;text-align:left;display:flex;flex-direction:column;transition:border-color .2s,transform .2s}.stat-card:hover,.stat-card.selected{border-color:var(--line-strong)}.stat-label{font-size:16px;display:flex;align-items:center;justify-content:space-between;font-weight:550}.stat-arrow{color:var(--muted);font-size:16px;font-weight:400}.stat-card strong{font-size:38px;font-weight:500;letter-spacing:-1.7px;line-height:1.2;margin:15px 0 12px}.stat-help{color:var(--muted);font-size:14px}.stat-card.attention{background:var(--warning-soft);border-color:var(--warning-line)}.stat-card.attention strong{color:var(--warning)}.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius)}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:26px 28px 22px}.section-heading .small{margin-top:6px}.section-heading .eyebrow{margin-bottom:8px}.count{display:inline-block;font-size:14px;font-weight:550;color:var(--muted);background:var(--surface-muted);border:1px solid var(--line);border-radius:5px;padding:2px 7px;vertical-align:middle;margin-left:7px;letter-spacing:0}.queue-card .section-heading{padding-bottom:25px}.queue-controls{padding:0 28px 23px}.filter-tabs{display:flex;gap:21px;margin-bottom:23px;border-bottom:1px solid var(--line)}.filter-tab{border:0;border-bottom:2px solid transparent;padding:0 0 12px;background:none;color:var(--muted);font-size:16px}.filter-tab.selected{color:var(--accent);font-weight:600;border-bottom-color:var(--accent)}.filters{display:flex;gap:10px}.filters>label{min-width:140px}.filters .search-field{flex:1;position:relative;min-width:220px}.search-field>span:not(.sr-only){position:absolute;left:12px;top:3px;font-size:24px;color:var(--muted);pointer-events:none}.search-field input{padding-left:38px}.filters select,.filters input{font-size:14px;padding-top:9px;padding-bottom:9px}.project-table{width:100%}.table-labels,.project-row{display:grid;grid-template-columns:minmax(240px,2.1fr) minmax(135px,1.05fr) minmax(170px,1.6fr) minmax(105px,.9fr) 18px;gap:18px;padding-left:28px;padding-right:28px}.table-labels{font-size:14px;letter-spacing:1.1px;text-transform:uppercase;color:var(--muted);background:var(--surface-muted);border-block:1px solid var(--line);padding-top:12px;padding-bottom:12px}.project-row{min-height:104px;align-items:center;text-decoration:none;color:var(--ink);border-bottom:1px solid var(--line);transition:background .15s}.project-row:hover{background:var(--surface-muted)}.project-row:last-child{border-bottom:0}.project-identity{display:flex;align-items:center;gap:14px;min-width:0}.project-identity>div{min-width:0}.project-identity strong{font-size:16px;line-height:1.45;display:block;overflow-wrap:anywhere}.project-identity .muted{display:block;font-size:14px;margin-top:5px}.row-stage,.row-next{display:flex;flex-direction:column;align-items:flex-start;gap:7px}.row-next>span:first-child{font-size:14px;line-height:1.5}.row-subtext{font-size:14px;color:var(--muted)}.row-owner{display:flex;align-items:center;gap:8px;font-size:14px}.row-arrow{font-size:20px;color:var(--muted)}.badge{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;padding:4px 7px;line-height:1.35;border-radius:5px;font-size:14px;font-weight:500;background:var(--accent-soft);color:var(--muted)}.badge .status-dot{width:4px;height:4px;background:currentColor;border-radius:50%;flex-shrink:0}.badge.review{background:var(--warning-soft);color:var(--warning)}.badge.changes{background:var(--danger-soft);color:var(--danger)}.badge.approved,.badge.ready,.badge.published{background:var(--accent-soft);color:var(--accent)}.badge.paused{background:var(--surface-muted);color:var(--muted)}.badge.locked{background:var(--surface-muted);color:var(--placeholder)}.badge.cancelled,.badge.archived{background:var(--surface-muted);color:var(--muted)}.overdue{color:var(--warning)!important;font-weight:550}.queue-footer{padding:16px 28px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:20px;font-size:14px;color:var(--muted)}.page-footer{padding:31px 0 30px;display:flex;justify-content:space-between;gap:24px;font-size:14px;color:var(--muted)}.empty-state{text-align:center;padding:60px 28px}.empty-state h2,.empty-state h3{margin-bottom:9px}.empty-state p{color:var(--muted);font-size:16px;max-width:470px;margin:0 auto 24px}.empty-state h1{margin-bottom:16px;font-size:30px}.empty-symbol{display:block;font-size:30px;color:var(--accent-line);margin-bottom:14px}.back-link{padding:0;border:0;background:none;font-size:14px;color:var(--muted);margin:0 0 24px}.project-page{padding-top:30px}.project-heading{display:flex;justify-content:space-between;align-items:center;gap:22px;margin-bottom:29px}.project-heading h1{font-size:31px;max-width:720px;overflow-wrap:anywhere}.project-byline{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:14px;font-size:16px;color:var(--muted)}.project-byline .badge{margin-left:3px}.project-tools{display:flex;gap:8px;flex-shrink:0;flex-wrap:wrap;justify-content:flex-end;max-width:390px}.project-tools .btn{font-size:14px;padding:9px 12px;min-height:44px}.next-action{padding:28px 30px;background:var(--accent-soft);border:1px solid var(--accent-line);border-radius:var(--radius);display:flex;align-items:center;gap:21px;margin-bottom:27px}.next-action.complete{background:var(--accent-soft)}.next-marker{height:43px;width:43px;min-width:43px;display:grid;place-items:center;border-radius:50%;background:var(--accent-soft-hover);color:var(--accent);font-size:24px}.next-copy{flex:1}.next-copy .eyebrow{margin-bottom:5px;color:var(--accent);font-size:14px}.next-copy h2{font-size:24px;font-weight:560}.next-copy p{font-size:16px;color:var(--accent);margin-top:6px;max-width:760px;line-height:1.6}.next-deadline{font-size:14px;color:var(--accent);display:inline-block;margin-top:9px}.next-action>.btn{font-size:14px}.workspace-grid{display:grid;grid-template-columns:minmax(0,2.25fr) minmax(310px,1fr);align-items:start;gap:24px}.workspace-main,.workspace-sidebar{display:grid;gap:24px;min-width:0}.progress-label{font-size:14px;color:var(--muted);white-space:nowrap}.progress-track{margin:0 28px 20px;height:3px;background:var(--accent-soft);border-radius:4px;overflow:hidden}.progress-track span{height:100%;background:var(--accent);display:block;border-radius:4px;transition:width .3s}.stages{padding:0 28px 8px}.stage{border-top:1px solid var(--line);scroll-margin-top:20px}.stage>summary{display:flex;align-items:center;gap:15px;padding:23px 0;cursor:pointer;list-style:none}.stage>summary::-webkit-details-marker,.version-history>summary::-webkit-details-marker,.notification>summary::-webkit-details-marker{display:none}.stage-number{height:33px;min-width:33px;border:1px solid var(--line);border-radius:50%;display:grid;place-items:center;font-size:14px;color:var(--muted);background:var(--surface)}.stage-number.done{background:var(--accent-soft);border-color:var(--accent-line);color:var(--accent);font-size:16px}.stage-summary-text{display:flex;flex-direction:column;gap:5px;flex:1;min-width:0}.stage-summary-text strong{font-size:16px;line-height:1.4}.stage-summary-text>span{font-size:14px;color:var(--muted)}.chevron{font-size:20px;color:var(--muted);font-weight:400;transition:transform .15s;line-height:1}.stage[open]>summary>.chevron,.notification[open]>summary>.chevron{transform:rotate(180deg)}.stage.locked .stage-summary-text strong{color:var(--muted)}.stage.locked .stage-number{color:var(--disabled)}.stage-body{padding:0 0 26px 48px;font-size:16px}.stage-description{color:var(--muted);font-size:16px;margin:-4px 0 22px;line-height:1.7}.locked-content{display:flex;gap:10px;align-items:center;color:var(--muted);font-size:16px;padding:3px 0 10px}.lock-symbol{font-size:24px;color:var(--accent-line)}.empty-submission{font-size:16px;padding:18px 0}.draft-form{background:var(--surface-muted);border:1px solid var(--line);border-radius:var(--radius-control);padding:19px 20px 21px}.draft-heading{display:flex;gap:12px;justify-content:space-between;align-items:baseline}.draft-heading h3{font-size:16px}.save-state{font-size:14px;color:var(--muted);text-align:right}.field{display:block;margin:18px 0}.field>span:first-child{display:block;font-size:16px;font-weight:570;margin-bottom:7px}.field .optional{font-weight:400;color:var(--muted)}input,select,textarea{width:100%;border:1px solid var(--line);border-radius:var(--radius-control);background:var(--surface);padding:10px 12px;font-size:16px;line-height:1.55;min-height:44px}input::placeholder,textarea::placeholder{color:var(--placeholder)}textarea{resize:vertical;min-height:64px}input:focus,textarea:focus,select:focus{border-color:var(--focus)}.field small{display:block;font-size:14px;color:var(--muted);line-height:1.6;margin-top:7px}.draft-actions{display:flex;justify-content:flex-end;gap:9px;padding-top:8px}.draft-actions .btn{font-size:14px;min-height:44px}.form-error{font-size:16px;color:var(--danger);line-height:1.6;overflow-wrap:anywhere}.form-error:not(:empty){margin:12px 0}.feedback-callout{border-left:3px solid var(--danger-line);padding:15px 17px;background:var(--danger-soft);border-radius:0 6px 6px 0;margin-bottom:21px}.feedback-callout .eyebrow{font-size:14px;color:var(--danger);margin-bottom:8px}.feedback-callout p{font-size:16px;color:var(--danger);line-height:1.7}.submission{border:1px solid var(--line);border-radius:var(--radius-control);margin:0 0 18px;overflow:hidden}.submission-heading{background:var(--surface-muted);padding:12px 16px;display:flex;justify-content:space-between;gap:14px;align-items:baseline;border-bottom:1px solid var(--line)}.submission-heading strong{font-size:14px}.submission-heading>span{font-size:14px;color:var(--muted)}.submission-content{padding:19px 17px;font-size:16px;line-height:1.8}.submission-content p{line-height:1.8}.reference-link{margin-top:13px;font-size:14px}.caption-content{margin-top:20px;padding-top:18px;border-top:1px solid var(--line)}.caption-content h4{font-size:14px;margin-bottom:10px}.video-asset{margin-top:14px}.video-asset video{max-height:430px;width:100%;display:block;background:var(--accent);border-radius:5px}.file-info{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 0 3px;font-size:14px}.file-info>span{display:flex;flex-direction:column;gap:3px;min-width:0}.file-info strong{overflow-wrap:anywhere}.file-info .small{font-size:14px}.file-info a{white-space:nowrap;font-size:14px}.approval-note{background:var(--accent-soft);padding:10px 16px;font-size:14px;color:var(--accent);border-top:1px solid var(--accent-line)}.review-actions{display:flex;flex-direction:column;align-items:flex-end;gap:12px;margin:21px 0}.review-actions p{font-size:14px}.review-actions>div{display:flex;gap:9px}.review-actions .btn{font-size:14px}.waiting-note{background:var(--warning-soft);border:1px solid var(--warning-line);color:var(--warning);padding:11px 14px;font-size:14px;border-radius:var(--radius-control);margin:18px 0}.version-history{margin-top:20px}.version-history>summary{font-size:14px;color:var(--muted);cursor:pointer;text-decoration:underline;text-underline-offset:4px;list-style:none;margin-bottom:15px}.previous{margin-top:15px;opacity:.86}.stage-discussion{margin-top:27px;padding-top:22px;border-top:1px solid var(--line)}.stage-discussion>h3{font-size:16px;margin-bottom:16px}.comment{padding:13px 0;border-bottom:1px solid var(--line)}.comment:last-of-type{border-bottom:0}.comment-meta{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:5px;font-size:14px}.comment-meta span{font-size:14px;color:var(--muted)}.comment>p{font-size:16px;line-height:1.7;color:var(--muted)}.comment-kind{display:inline-block;font-size:14px;color:var(--muted);margin-top:6px}.comment-form{margin-top:18px}.comment-form textarea{min-height:69px;font-size:14px}.comment-footer{display:flex;justify-content:flex-end;align-items:center;gap:14px;margin-top:10px}.comment-footer .btn{font-size:14px;min-height:44px;padding:8px 12px}.comment-footer .form-error{flex:1;margin:0}.brief-card{padding:0 28px 25px;scroll-margin-top:24px}.brief-card .section-heading{padding-left:0;padding-right:0}.brief-intro{font-size:16px;color:var(--muted);line-height:1.9}.brief-grid{display:grid;grid-template-columns:1fr 1fr;column-gap:27px;row-gap:21px;margin-top:27px}.brief-section h3{font-size:14px;margin-bottom:7px;font-weight:600}.brief-section p{font-size:16px;color:var(--muted);line-height:1.75}.brief-section:last-child{grid-column:1/-1}.acknowledgement{border-top:1px solid var(--line);padding-top:22px;margin-top:24px}.acknowledgement p{font-size:14px;color:var(--muted);margin-bottom:16px}.acknowledgement .btn{font-size:14px}.details-card{padding:25px 25px 23px}.details-card>.eyebrow{font-size:14px;margin-bottom:8px}.details-card>h2{font-size:20px;margin-bottom:25px}.person-row{display:flex;gap:12px;align-items:center;margin:18px 0}.person-row>.avatar{width:35px;height:35px;min-width:35px;font-size:14px}.person-row>div{display:flex;flex-direction:column;gap:2px}.person-row .small{font-size:14px}.person-row strong{font-size:16px}.details-divider{border-top:1px solid var(--line);margin:23px 0}.date-list{margin:0}.date-list>div{display:flex;justify-content:space-between;gap:12px;margin:13px 0;font-size:14px}.date-list dt{color:var(--muted)}.date-list dd{margin:0;font-weight:500}.date-list .final-due{border-top:1px solid var(--line);padding-top:15px;margin-top:17px}.final-due dt{color:var(--ink)}.sidebar-note{font-size:14px;line-height:1.7;color:var(--muted);padding:14px;background:var(--surface-muted);border-radius:var(--radius-control);margin-top:22px}.activity-card{padding:22px 25px}.activity-card .section-heading{padding:0 0 20px}.activity-card h2{font-size:20px}.activity-list{list-style:none;margin:0;padding:0}.activity-list li{position:relative;display:flex;gap:13px;padding:0 0 22px}.activity-list li:not(:last-child):before{content:"";position:absolute;top:12px;left:3px;bottom:0;width:1px;background:var(--line)}.activity-dot{width:7px;height:7px;min-width:7px;margin-top:6px;background:var(--accent-line);border:2px solid var(--accent-line);border-radius:50%;z-index:1}.activity-list li>div{min-width:0}.activity-list p{font-size:14px;line-height:1.6}.activity-list .activity-body{color:var(--muted);margin:4px 0 6px}.activity-list .small{font-size:14px;color:var(--muted)}.activity-card>.text-button{font-size:14px;margin-left:20px}.delivery-card{padding:23px 25px}.delivery-card h3{font-size:16px;margin-bottom:9px}.delivery-card p{font-size:14px;line-height:1.7}.delivery-counts{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0}.delivery-card .text-button{font-size:14px}.upload-area{border:1px dashed var(--line-strong);border-radius:var(--radius-control);padding:0 15px 16px;margin:17px 0;background:var(--surface-muted)}.upload-label{margin-top:15px}.upload-label input{font-size:14px;padding:8px;background:var(--surface)}.upload-title{display:block;font-size:16px;font-weight:500;margin:12px 0 10px;color:var(--muted)}.upload-status{font-size:14px;color:var(--muted);overflow-wrap:anywhere}.upload-progress{display:flex;align-items:center;gap:12px;margin-bottom:9px}.upload-progress progress{width:100%;height:7px;accent-color:var(--accent)}.upload-progress span{font-size:14px;color:var(--muted);min-width:52px}.upload-retry{margin-top:12px;font-size:14px}.preview-banner{display:flex;justify-content:center;gap:14px;align-items:center;padding:11px 24px;background:var(--accent-soft);border-bottom:1px solid var(--accent-line);font-size:14px;color:var(--accent-line)}.preview-banner .text-button{font-size:14px;margin-left:10px}.preview-banner strong{font-size:14px}.loading{min-height:70vh;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:18px;color:var(--muted);font-size:16px}.loading-mark{width:23px;height:23px;border:2px solid var(--accent-line);border-top-color:var(--accent);border-radius:50%;animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}dialog{width:min(600px,calc(100vw - 36px));max-height:calc(100dvh - 60px);padding:28px;border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 25px 100px var(--shadow);color:var(--ink);background:var(--surface)}dialog.wide{width:min(780px,calc(100vw - 36px))}dialog::backdrop{background:var(--backdrop);backdrop-filter:blur(3px)}.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:15px}.dialog-head h2{font-size:26px;line-height:1.3}.dialog-close{border:1px solid var(--line);background:var(--surface);border-radius:50%;height:44px;width:44px;min-width:44px;font-size:24px;font-weight:300;line-height:1;display:grid;place-items:center;color:var(--muted)}dialog>p{font-size:16px;color:var(--muted);line-height:1.75}dialog .field{margin:20px 0}dialog .field>span:first-child{font-size:14px}.dialog-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:25px;padding-top:20px;border-top:1px solid var(--line)}.dialog-actions .btn{font-size:14px}.two-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px}.two-fields .field{margin-top:0}.form-section{border-top:1px solid var(--line);padding-top:22px;margin-top:25px}.form-section>.eyebrow{font-size:14px;margin-bottom:19px}.form-section>.field:last-child{margin-bottom:5px}.form-section>.two-fields:last-child .field{margin-bottom:5px}.notice{padding:14px;background:var(--accent-soft);border:1px solid var(--line);border-radius:var(--radius-control);font-size:14px;color:var(--muted);line-height:1.7;margin-top:18px}.full-history{padding:10px 0}.full-history .activity-list p{font-size:16px}.full-history .activity-list .small{font-size:14px}.notification-list{display:grid;gap:12px;padding-bottom:50px}.capture-banner{display:flex;gap:17px;align-items:center;padding:22px 25px;background:var(--warning-soft);border:1px solid var(--warning-line);border-radius:var(--radius);margin-bottom:28px;color:var(--warning)}.capture-banner strong{font-size:16px}.capture-banner p{font-size:14px;margin-top:4px;color:var(--warning)}.capture-icon{font-size:24px}.notification>summary{padding:22px 24px;display:flex;gap:18px;align-items:center;cursor:pointer;list-style:none}.notification-dot{width:8px;height:8px;min-width:8px;background:var(--accent-line);border-radius:50%}.notification-dot.failed{background:var(--danger)}.notification-title{display:flex;flex-direction:column;gap:6px;flex:1;min-width:0}.notification-title strong{font-size:16px;overflow-wrap:anywhere}.notification-title>span{font-size:14px;color:var(--muted);overflow-wrap:anywhere}.notification-time{color:var(--muted);font-size:14px;white-space:nowrap}.notification-body{padding:0 24px 22px 50px}.notification-body>p{font-size:16px;line-height:1.9;background:var(--surface-muted);padding:20px;border:1px solid var(--line);border-radius:var(--radius-control)}.notification-footer{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:18px}.notification-footer .small,.notification-footer .text-button{font-size:14px}.login-page{min-height:100dvh;display:grid;grid-template-columns:1fr 1fr}.login-brand{position:relative;display:flex;flex-direction:column;min-height:100dvh;background:var(--accent-soft);padding:36px 55px 32px;overflow:hidden}.login-brand:after{content:"";width:500px;height:500px;border:1px solid var(--accent-line);border-radius:50%;position:absolute;right:-285px;bottom:140px;pointer-events:none;box-shadow:0 0 0 62px var(--accent-soft),0 0 0 63px var(--accent-line),0 0 0 126px var(--accent-soft),0 0 0 127px var(--accent-line)}.brand-mark{position:relative;z-index:1}.login-story{margin:auto 0;padding:65px 0 95px;position:relative;z-index:1}.login-story .eyebrow{font-size:14px;color:var(--muted);margin-bottom:23px}.login-story h1{font-family:inherit;font-weight:400;font-size:62px;line-height:1.14;letter-spacing:-1.9px;color:var(--accent)}.login-story>p{font-size:16px;line-height:1.95;color:var(--muted);margin-top:25px}.login-steps{display:flex;gap:24px;margin-top:42px;font-size:14px;color:var(--muted)}.login-steps span{display:flex;flex-direction:column;gap:7px;min-width:70px;border-top:1px solid var(--accent-line);padding-top:13px}.login-steps strong{font-size:14px;font-weight:500;color:var(--muted)}.login-footnote{font-size:14px;letter-spacing:.2px;color:var(--muted);position:relative;z-index:1}.login-side{display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;min-height:100dvh;padding:80px 50px;background:var(--surface-muted)}.login-card{width:100%;max-width:400px}.login-card .eyebrow{font-size:14px;margin-bottom:14px}.login-card h2{font-size:30px;letter-spacing:-.9px;margin-bottom:14px}.login-card>p{font-size:16px;line-height:1.85}.login-card form{margin-top:26px}.login-card .field{margin:20px 0}.login-card .field>span{font-size:14px}.login-card input{padding:12px;min-height:44px}.login-card .full-width{margin-top:10px;font-size:16px;min-height:44px;justify-content:space-between;padding:12px 17px}.login-card .login-help{font-size:14px;color:var(--muted);line-height:1.8;margin-top:24px}.login-side-footer{position:absolute;bottom:33px;font-size:14px;color:var(--muted);letter-spacing:.2px}.login-message{font-size:16px;line-height:1.7;padding:13px 15px;background:var(--danger-soft);color:var(--danger);border-radius:var(--radius-control);margin-top:20px}.login-card>#reviewer-login{margin-top:25px}#toast{display:none;position:fixed;bottom:25px;left:50%;transform:translateX(-50%);padding:13px 20px;max-width:min(90vw,650px);border:1px solid var(--accent);background:var(--accent);color:var(--surface);font-size:16px;line-height:1.6;border-radius:var(--radius-control);z-index:1000;box-shadow:0 6px 25px var(--shadow)}#toast.show{display:block}#toast.error{background:var(--danger);border-color:var(--danger)}
@media(min-width:1500px){.page{padding-top:55px}.project-page{padding-top:35px}.login-story h1{font-size:74px}.login-brand{padding-left:75px}.login-story>p{font-size:16px}}
@media(max-width:1150px){.topbar-inner{padding:0 30px;gap:32px}.page{padding-left:30px;padding-right:30px}.stats-grid{gap:12px}.stat-card{padding:20px 19px}.stat-help{font-size:14px}.table-labels,.project-row{grid-template-columns:minmax(180px,2fr) minmax(120px,1.1fr) minmax(155px,1.5fr) minmax(95px,.9fr) 14px;gap:12px;padding-left:22px;padding-right:22px}.project-identity{gap:10px}.project-identity>.avatar{width:34px;min-width:34px;height:34px;font-size:14px}.project-identity strong{font-size:16px}.workspace-grid{grid-template-columns:minmax(0,2.2fr) minmax(280px,1fr);gap:18px}.workspace-main,.workspace-sidebar{gap:18px}.project-tools{max-width:265px}.project-heading h1{font-size:30px}.stage-body{padding-left:0}.stages{padding-left:23px;padding-right:23px}.stage>summary{gap:11px}.stage-summary-text>span{font-size:14px}.stage>summary>.badge{font-size:14px}.login-story h1{font-size:53px}.login-brand{padding-left:37px;padding-right:35px}.login-steps{gap:20px}}
@media(max-width:1050px){.topbar-inner{min-height:80px;padding:0 24px;gap:28px}.brand{gap:5px;font-size:16px}.brand img{width:52px;height:52px}.account-name{display:none}.main-nav{gap:20px}.page{padding:35px 24px 0}.page-heading{align-items:flex-start}.page-heading h1{font-size:30px}.page-description{font-size:16px;max-width:480px}.stats-grid{grid-template-columns:1fr 1fr;gap:12px;margin-bottom:25px}.stat-card{padding:17px 21px}.stat-card strong{font-size:33px;margin:10px 0}.stat-help{font-size:14px}.table-labels,.project-row{grid-template-columns:minmax(180px,1.7fr) minmax(125px,1fr) minmax(155px,1.4fr) 14px;gap:15px}.table-labels>span:nth-child(4),.row-owner{display:none}.project-heading{display:block}.project-tools{justify-content:flex-start;max-width:none;margin-top:20px}.project-heading h1{font-size:32px}.workspace-grid{grid-template-columns:minmax(0,1fr)}.workspace-sidebar{grid-template-columns:1fr 1fr;align-items:start}.delivery-card{grid-column:1/-1}.next-action{padding:23px 24px;gap:17px}.next-copy h2{font-size:22px}.next-copy p{font-size:14px}.next-action>.btn{font-size:14px;padding:10px 12px}.next-marker{width:36px;min-width:36px;height:36px;font-size:22px}.stage-body{padding-left:48px}.project-page{padding-top:25px}.creator-header-label{display:none}.login-story h1{font-size:45px}.login-brand{padding:30px}.login-side{padding:60px 30px}.login-card h2{font-size:30px}.login-story>p{font-size:16px}.login-story .eyebrow{font-size:14px}.login-footnote{font-size:14px}.login-steps{gap:15px}.login-steps span{min-width:60px}.notification-time{display:none}.notification>summary{gap:12px}}
@media(max-width:760px){h1{font-size:30px}.topbar-inner{padding:0 16px;gap:18px;min-height:73px;flex-wrap:wrap}.brand{font-size:16px;gap:3px}.brand img{width:45px;height:45px}.account{gap:8px}.account .small-avatar{display:none}.account .text-button{font-size:14px}.main-nav{order:3;width:100%;min-height:48px;gap:25px;margin-top:-4px}.nav-item{font-size:14px;min-height:44px;padding-bottom:7px}.page{padding:28px 16px 0}.page-heading{gap:17px;margin-bottom:25px;align-items:flex-start}.page-heading h1{font-size:30px;letter-spacing:-.8px;max-width:270px}.page-heading .eyebrow{font-size:14px;letter-spacing:1.2px}.page-description{font-size:14px;line-height:1.75;margin-top:11px}.page-heading>.btn{font-size:14px;padding:9px 10px;min-height:44px;margin-top:0;gap:5px}.stats-grid{gap:9px;margin-bottom:22px}.stat-card{padding:16px 15px;border-radius:var(--radius-control)}.stat-label{font-size:14px}.stat-arrow{font-size:16px}.stat-card strong{font-size:30px;margin:11px 0}.stat-help{font-size:14px;line-height:1.6;max-width:140px}.section-heading{padding:21px 19px 18px}.section-heading h2{font-size:20px}.queue-card .section-heading{padding-bottom:19px}.section-heading .small{font-size:14px}.count{font-size:14px;padding:2px 5px}.queue-controls{padding:0 18px 17px}.filter-tabs{gap:18px;overflow-x:auto;margin-bottom:17px;white-space:nowrap}.filter-tab{font-size:14px;padding-bottom:10px}.filters{flex-wrap:wrap;gap:8px}.filters>.search-field{width:100%;flex-basis:100%}.filters>label{flex:1;min-width:0}.filters select,.filters input{font-size:14px;padding-top:8px;padding-bottom:8px;min-height:44px}.search-field>span:not(.sr-only){top:0}.table-labels{display:none}.project-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px 14px;min-height:0;padding:20px 18px;border-top:1px solid var(--line);border-bottom:0}.project-row:last-child{border-bottom:0}.project-identity{grid-column:1/-1;gap:11px;padding-right:20px}.project-identity>.avatar{width:34px;height:34px;min-width:34px;font-size:14px}.project-identity strong{font-size:16px}.project-identity .muted{font-size:14px;margin-top:3px}.row-stage{grid-column:1;grid-row:2;margin-left:45px;flex-direction:row;align-items:center;flex-wrap:wrap;gap:7px}.row-subtext{font-size:14px}.row-stage .badge{font-size:14px}.row-next{grid-column:1/-1;grid-row:3;margin-left:45px;gap:3px;max-width:90%}.row-next>span:first-child{font-size:14px}.row-arrow{grid-column:2;grid-row:1;font-size:20px;align-self:start;margin-top:3px}.queue-footer{padding:14px 18px;font-size:14px}.page-footer{font-size:14px;padding:24px 0;gap:15px}.page-footer>span:last-child{text-align:right}.project-page{padding-top:21px}.back-link{font-size:14px;margin-bottom:19px}.project-heading{margin-bottom:22px}.project-heading h1{font-size:30px}.project-byline{font-size:14px;gap:8px;margin-top:12px}.project-byline .badge{font-size:14px}.project-byline .avatar{height:23px;min-width:23px;width:23px;font-size:14px}.project-tools{gap:7px;margin-top:18px}.project-tools .btn{font-size:14px;padding:8px 10px;min-height:44px}.next-action{padding:21px 18px;gap:13px;flex-wrap:wrap;margin-bottom:20px}.next-marker{width:30px;min-width:30px;height:30px;font-size:20px;align-self:flex-start;margin-top:4px}.next-copy{min-width:calc(100% - 44px)}.next-copy .eyebrow{font-size:14px;letter-spacing:1.1px}.next-copy h2{font-size:22px;letter-spacing:-.3px}.next-copy p{font-size:14px}.next-deadline{font-size:14px}.next-action>.btn{margin-left:43px;font-size:14px;min-height:44px;padding:9px 13px}.workspace-grid{gap:18px}.workspace-main,.workspace-sidebar{gap:18px}.workspace-sidebar{grid-template-columns:1fr}.delivery-card{grid-column:auto}.progress-label{font-size:14px}.stages{padding:0 18px 4px}.progress-track{margin:0 19px 16px}.stage>summary{gap:10px;padding:21px 0}.stage-number{width:29px;min-width:29px;height:29px;font-size:14px}.stage-summary-text strong{font-size:16px}.stage-summary-text>span{font-size:14px;line-height:1.5}.stage>summary>.badge{font-size:14px;padding:3px 5px;max-width:110px;white-space:normal}.stage>summary>.badge .status-dot{width:3px;min-width:3px;height:3px}.stage>summary>.chevron{font-size:16px}.stage-body{padding:0 0 22px}.stage-description{font-size:14px;line-height:1.75;margin-top:0;margin-bottom:18px}.draft-form{padding:16px 15px 18px}.draft-heading{display:block}.draft-heading h3{font-size:16px}.save-state{display:block;text-align:left;margin-top:5px;font-size:14px}.field>span:first-child{font-size:14px}.field{margin:17px 0}input,textarea,select{font-size:16px}textarea{line-height:1.6}.draft-form input,.draft-form textarea{font-size:16px}.draft-actions{flex-wrap:wrap;gap:7px}.draft-actions .btn{font-size:14px;min-height:44px;flex:1;padding:9px 10px}.draft-actions .btn.primary{flex:2}.submission-heading{padding:11px 13px;flex-wrap:wrap;gap:4px}.submission-heading strong{font-size:14px}.submission-heading>span{font-size:14px}.submission-content{padding:16px 14px;font-size:16px}.feedback-callout{padding:13px 15px}.feedback-callout .eyebrow{font-size:14px;line-height:1.6;letter-spacing:1px}.feedback-callout p{font-size:14px}.review-actions>div{width:100%;gap:7px}.review-actions .btn{flex:1;font-size:14px;padding:10px;white-space:normal;min-height:44px}.comment-meta{flex-wrap:wrap;gap:3px}.comment-meta strong{font-size:14px}.comment>p{font-size:14px}.comment-form textarea{font-size:16px}.brief-card{padding:0 19px 23px}.brief-card .section-heading{gap:10px}.brief-card .eyebrow{font-size:14px;letter-spacing:1.1px}.brief-card .badge{font-size:14px}.brief-intro{font-size:16px}.brief-grid{grid-template-columns:1fr;gap:19px;margin-top:23px}.brief-section p{font-size:14px}.brief-section:last-child{grid-column:auto}.acknowledgement .btn{font-size:14px;white-space:normal}.details-card{padding:23px}.details-card h2{font-size:20px}.person-row strong{font-size:16px}.person-row .small{font-size:14px}.date-list>div{font-size:14px}.sidebar-note{font-size:14px}.activity-card{padding:22px}.activity-list p{font-size:14px}.activity-list .small{font-size:14px}.preview-banner{font-size:14px;gap:4px 12px;flex-wrap:wrap;text-align:center;padding:10px 17px}.preview-banner span{order:3;font-size:14px;width:100%}.preview-banner strong,.preview-banner .text-button{font-size:14px}.empty-state{padding:39px 22px}.empty-state h3{font-size:16px}.empty-state p{font-size:14px}.capture-banner{padding:18px 20px;align-items:flex-start;gap:13px;margin-bottom:20px}.capture-banner strong{font-size:14px;line-height:1.6;display:block}.capture-banner p{font-size:14px}.capture-icon{font-size:24px}.notification>summary{padding:17px 16px;gap:9px;flex-wrap:wrap}.notification-dot{height:6px;min-width:6px;width:6px}.notification-title{flex-basis:calc(100% - 40px)}.notification-title strong{font-size:14px}.notification-title>span{font-size:14px}.notification>summary>.badge{margin-left:15px;font-size:14px}.notification>summary>.chevron{margin-left:auto}.notification-body{padding:0 16px 17px}.notification-body>p{font-size:14px;padding:15px}.notification-footer .small,.notification-footer .text-button{font-size:14px}dialog{padding:22px;width:calc(100vw - 24px);max-height:calc(100dvh - 32px)}dialog.wide{width:calc(100vw - 24px)}.dialog-head h2{font-size:24px}.dialog-head{gap:13px}dialog>p{font-size:14px}dialog .field>span:first-child{font-size:14px}.two-fields{grid-template-columns:1fr;gap:0}.two-fields .field{margin-top:0}.form-section>.two-fields:last-child .field{margin-bottom:20px}.dialog-actions{margin-top:20px;gap:8px}.dialog-actions .btn{font-size:14px;padding:10px 13px;white-space:normal}.login-page{grid-template-columns:1fr;min-height:100dvh}.login-brand{min-height:0;padding:18px 26px 24px}.login-brand .brand-mark{font-size:16px;gap:8px}.login-brand img{width:46px;height:46px}.login-story{padding:30px 0 12px;margin:0}.login-story .eyebrow{font-size:14px;letter-spacing:1.3px;margin-bottom:13px}.login-story h1{font-size:41px;letter-spacing:-1.1px}.login-story h1 br{display:none}.login-story>p{font-size:14px;line-height:1.8;margin-top:15px}.login-story>p br{display:none}.login-steps{display:none}.login-footnote{display:none}.login-brand:after{width:200px;height:200px;bottom:-150px;right:-40px;opacity:.6}.login-side{padding:35px 26px 70px;min-height:0;align-items:center;justify-content:flex-start;flex:1}.login-card{max-width:440px}.login-card .eyebrow{font-size:14px;margin-bottom:10px}.login-card h2{font-size:26px;margin-bottom:10px}.login-card>p{font-size:14px}.login-card form{margin-top:22px}.login-card input{font-size:16px}.login-side-footer{bottom:20px;font-size:14px}.login-card .login-help{font-size:14px;margin-top:20px}#toast{font-size:14px;padding:12px 16px;bottom:18px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
.environment-badge{display:inline-flex;align-items:center;width:max-content;flex-shrink:0;white-space:nowrap;border:1px solid var(--warning-line);background:var(--warning-soft);color:var(--warning);font-size:14px;line-height:1.4;border-radius:4px;padding:4px 7px}.topbar-inner>.environment-badge{margin-left:-28px}.login-brand>.environment-badge{position:relative;z-index:1;margin:12px 0 0 9px}@media(max-width:1050px){.topbar-inner>.environment-badge{margin-left:-16px;font-size:14px}}@media(max-width:760px){.topbar-inner>.environment-badge{margin-left:auto;order:2;font-size:14px;padding:3px 5px}.topbar-inner>.account{margin-left:0;order:2}.topbar-inner{gap:10px}.topbar-inner>.main-nav{order:3}.login-brand>.environment-badge{margin-top:6px;margin-left:7px;font-size:14px}}
.login-card .google-sign-in{justify-content:center;gap:12px;margin-top:29px;min-height:46px;border-color:var(--line);font-size:16px;background:var(--surface);box-shadow:0 1px 2px var(--shadow-soft)}.login-card .google-sign-in:hover{background:var(--surface-muted);border-color:var(--line-strong)}.google-mark{flex-shrink:0}.google-help{font-size:14px!important;line-height:1.75;color:var(--muted);text-align:center;margin-top:12px}.sign-in-setup{display:flex;gap:9px;align-items:flex-start;background:var(--surface-muted);border:1px solid var(--line);border-radius:var(--radius-control);padding:12px 13px;margin:21px 0 0}.sign-in-setup p{font-size:14px;line-height:1.8;color:var(--muted)}.setup-dot{width:5px;height:5px;min-width:5px;border-radius:50%;background:var(--accent-line);margin-top:6px}.sign-in-divider{display:flex;align-items:center;gap:12px;margin:25px 0;color:var(--muted);font-size:14px}.sign-in-divider:before,.sign-in-divider:after{content:"";height:1px;background:var(--line);flex:1}.sign-in-setup+form{margin-top:19px}@media(max-width:760px){.login-card .google-sign-in{margin-top:24px;min-height:45px}.sign-in-setup{margin-top:17px}.sign-in-setup p{font-size:14px}.google-help{font-size:14px!important}}

/* Shared public information pages and workspace footer links. */
.public-links{display:flex;align-items:center;flex-wrap:wrap;gap:10px 22px;font-size:16px;line-height:1.6}
.public-links a{color:var(--accent);text-decoration-thickness:1px;text-decoration-color:var(--accent-line)}
.public-links a:hover{color:var(--accent);text-decoration-color:currentColor}
.page-footer{align-items:center;flex-wrap:wrap}
.login-side-footer{position:static;margin-top:38px;text-align:center;flex-shrink:0}
.login-side-footer .public-links{justify-content:center;gap:10px 20px;font-size:14px}
.public-page{min-height:100dvh;display:flex;flex-direction:column;background:var(--paper)}
.public-header{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:20px max(28px,calc((100vw - 1100px)/2));background:var(--surface);border-bottom:1px solid var(--line)}
.public-header .brand-mark{text-decoration:none;color:var(--ink)}
.public-header .brand-mark img{width:52px;height:52px}
.public-header>.public-links{justify-content:flex-end}
.public-main{width:min(100%,816px);margin:0 auto;padding:64px 28px 72px;flex:1}
.public-main h1{font-family:inherit;font-size:46px;font-weight:400;letter-spacing:-1px;color:var(--accent)}
.public-main h2{font-size:24px;margin:34px 0 13px}
.public-main h3{margin:24px 0 10px;font-size:16px}
.public-main p,.public-main li{font-size:16px;line-height:1.85;color:var(--muted);overflow-wrap:anywhere}
.public-main p+p{margin-top:15px}
.public-main ul,.public-main ol{padding-left:23px;margin:14px 0 20px}
.public-main li+li{margin-top:8px}
.public-main .public-meta{font-size:16px;line-height:1.7;color:var(--muted);margin:17px 0 32px}
.public-main .public-intro{font-size:20px;line-height:1.8;color:var(--accent);margin:25px 0 32px}
.public-main .notice{margin:24px 0;color:var(--muted)}
.public-main .notice p{font-size:16px}
.public-main section+section{margin-top:34px}
.public-main .btn{margin-top:20px}
.public-main .legal-content>h2:first-child{margin-top:0}
.public-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:20px;padding:26px max(28px,calc((100vw - 1100px)/2));border-top:1px solid var(--line);font-size:14px;color:var(--muted);background:var(--surface-muted)}
.public-footer p{font-size:14px}
/* Keep the larger type readable without forcing narrow layouts to scroll. */
button,.btn,.text-button,.back-link{min-height:44px;min-width:44px}
.btn{min-height:48px;white-space:normal;text-align:center}
input,select,textarea{font-size:16px;min-height:48px}
.filters select,.filters input,.upload-label input,.comment-form textarea{font-size:16px;min-height:48px}
.text-button,.back-link{padding-top:8px;padding-bottom:8px}
.filter-tab{min-height:48px}
.badge{white-space:normal}
.row-stage,.row-next,.row-owner,.next-copy,.person-row>div{min-width:0;overflow-wrap:anywhere}
.project-row{padding-top:20px;padding-bottom:20px}
.project-tools{max-width:440px}
.filters{flex-wrap:wrap}
.filters>label{min-width:0}
.field,.two-fields>*{min-width:0}
.date-list>div,.file-info,.notification-footer,.dialog-actions{flex-wrap:wrap}
.date-list dd{overflow-wrap:anywhere}
.brief-intro,.brief-section p,.submission-content,.comment>p,.feedback-callout p,.notification-body>p,.empty-state p,.login-card>p{font-size:16px}
.public-links a{display:inline-flex;align-items:center;min-height:44px}
.public-main p,.public-main li{font-size:16px}
@media(max-width:1150px){.account-name{display:none}}
@media(max-width:760px){
  .page-heading{flex-wrap:wrap;align-items:center}
  .page-heading h1{max-width:none}
  .page-heading>.btn{min-height:48px;padding:12px 16px}
  .section-heading{flex-wrap:wrap;gap:12px}
  .main-nav{min-height:48px;margin-top:0;gap:24px}
  .nav-item{min-height:48px}
  .stat-help{max-width:none}
  .project-tools{max-width:none}
  .project-tools .btn,.draft-actions .btn,.comment-footer .btn,.review-actions .btn,.dialog-actions .btn{min-height:44px}
  .next-action>.btn{min-height:44px;max-width:calc(100% - 43px)}
  .next-copy p,.stage-description,.brief-section p,.comment>p,.feedback-callout p,.notification-body>p,.empty-state p,.login-card>p{font-size:16px}
  .stage>summary{display:grid;grid-template-columns:32px minmax(0,1fr) 18px;gap:8px 10px}
  .stage-number{grid-column:1;grid-row:1;align-self:start;margin-top:2px}
  .stage-summary-text{grid-column:2;grid-row:1}
  .stage>summary>.badge{grid-column:2;grid-row:2;justify-self:start;max-width:100%}
  .stage>summary>.chevron{grid-column:3;grid-row:1}
  .row-stage,.row-next{margin-left:0;max-width:100%}
  .row-stage{grid-column:1/-1}
  .draft-actions .btn{flex-basis:120px}
  .review-actions>div{flex-wrap:wrap}
  .review-actions .btn{flex-basis:140px}
  .public-header>.btn{min-height:44px}
  .public-main p,.public-main li{font-size:16px}
}
@media(max-width:760px){.page-footer{gap:12px;font-size:14px}.page-footer .public-links{font-size:14px;gap:8px 18px}.login-side-footer{margin-top:30px}.public-header{padding:16px 20px;gap:15px;flex-wrap:wrap}.public-header .brand-mark{font-size:16px;gap:7px}.public-header .brand-mark img{width:43px;height:43px}.public-header>.btn{font-size:14px;min-height:44px;padding:8px 11px}.public-header>.public-links{font-size:14px;gap:8px 15px}.public-main{padding:39px 23px 48px}.public-main h1{font-size:36px;line-height:1.2}.public-main h2{font-size:22px;margin-top:29px}.public-main p,.public-main li{font-size:16px;line-height:1.85}.public-main .public-intro{font-size:16px}.public-main .public-meta{font-size:14px;margin-bottom:25px}.public-footer{padding:24px 23px;gap:15px}.public-footer .public-links{font-size:14px;gap:10px 18px}}

/* Guided project setup keeps one short step visible at a time. */
dialog.project-setup{width:min(720px,calc(100vw - 40px));padding:0;overflow:hidden;max-height:calc(100dvh - 48px)}
.project-setup .dialog-head{padding:24px 28px 12px;margin:0}
.setup-progress{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;list-style:none;margin:0;padding:8px 28px 24px;border-bottom:1px solid var(--line)}
.setup-progress li{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:14px}
.setup-step-number{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;flex-shrink:0;border:1px solid var(--line);border-radius:50%;font-size:14px}
.setup-progress [aria-current="step"]{color:var(--accent);font-weight:650}
.setup-progress [aria-current="step"] .setup-step-number{background:var(--accent);border-color:var(--accent);color:var(--surface)}
.setup-progress .complete .setup-step-number{background:var(--accent-soft);border-color:var(--accent-line);color:var(--accent)}
#create-form{display:flex;flex-direction:column;max-height:calc(100dvh - 218px)}
.setup-body{overflow-y:auto;overscroll-behavior:contain;padding:26px 28px 28px;min-height:0}
.setup-body h3{font-size:24px;line-height:1.3;font-weight:550;letter-spacing:-.4px;outline:none}
.setup-step-count{font-size:14px;color:var(--muted);margin-bottom:8px}
.setup-body .field{margin:24px 0 0}
.setup-body textarea{resize:vertical;min-height:108px}
.setup-help{font-size:14px;color:var(--muted);line-height:1.65;margin-top:14px}
.setup-optional{border-top:1px solid var(--line);margin-top:24px;padding-top:8px}
.setup-optional>summary{padding:14px 0;cursor:pointer;font-size:16px;font-weight:550;min-height:48px}
.setup-optional>summary>span{font-size:14px;font-weight:400;color:var(--muted);margin-left:8px}
.setup-optional .two-fields{gap:0 20px}
.setup-optional .field{margin:16px 0 0}
.setup-invitation-note{background:var(--accent-soft);border-radius:var(--radius-control);padding:14px 16px;color:var(--accent);margin-top:24px}
.setup-review{margin-top:24px}
.setup-review-item{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:18px 0;border-top:1px solid var(--line)}
.setup-review-item>div{min-width:0;flex:1;overflow-wrap:anywhere}
.setup-review-item h4{font-size:14px;text-transform:none;letter-spacing:0;margin-bottom:6px;color:var(--muted)}
.setup-review-item strong,.setup-review-item p{font-size:16px}
.setup-review-item p+p{margin-top:8px}
.setup-review-item .text-button{flex-shrink:0;min-height:44px}
.setup-review-detail{margin-top:12px}
.setup-review-detail summary{font-size:14px;cursor:pointer;min-height:44px;display:flex;align-items:center;text-decoration:underline;text-underline-offset:3px}
.setup-review-detail p{padding-bottom:8px}
.setup-footer{flex-shrink:0;border-top:1px solid var(--line);background:var(--surface);padding:16px 28px 20px}
.setup-footer .form-error:empty{display:none}
.setup-save-status{font-size:14px;color:var(--muted);margin-bottom:12px}
.setup-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}
.setup-actions>div{display:flex;gap:10px}
.setup-actions>.text-button{min-height:44px;text-align:left}
.setup-discard{margin-top:8px;color:var(--muted);font-size:14px;min-height:36px}
@media(max-width:760px){
  dialog.project-setup{width:calc(100vw - 20px);max-height:calc(100dvh - 20px)}
  .project-setup .dialog-head{padding:16px 18px 8px}
  .setup-progress{padding:8px 18px 16px;gap:4px}
  .setup-progress li{flex-direction:column;align-items:flex-start;gap:6px}
  #create-form{max-height:calc(100dvh - 183px)}
  .setup-body{padding:22px 18px 24px}
  .setup-body h3{font-size:22px}
  .setup-footer{padding:14px 18px 16px}
  .setup-actions{flex-wrap:wrap}
  .setup-actions>div{margin-left:auto}
  .setup-actions .btn{padding:11px 14px}
  .setup-save-status{line-height:1.5}
  .setup-review-item{gap:14px}
}
@media(max-width:360px){.setup-actions{display:block}.setup-actions>div{justify-content:flex-end;margin-top:8px}}
@media(max-width:760px){.project-identity{grid-row:1}}

/* Studio form controls: shared surfaces, focus states, and custom popovers. */
input,textarea,select,.studio-trigger{border-radius:var(--radius-control);border:1px solid var(--line);background:var(--surface);box-shadow:0 1px 2px var(--shadow-soft);transition:border-color .15s,box-shadow .15s,background .15s}
input:hover:not(:disabled),textarea:hover:not(:disabled),.studio-trigger:hover:not(:disabled){border-color:var(--line-strong)}
input:focus-visible,textarea:focus-visible,.studio-trigger:focus-visible{outline:2px solid var(--focus);outline-offset:3px;border-color:var(--focus);box-shadow:none}
input:disabled,textarea:disabled,.studio-trigger:disabled{background:var(--surface-muted);color:var(--disabled);cursor:not-allowed;box-shadow:none}
input[readonly]{background:var(--surface-muted)}
.studio-control{display:block;position:relative;min-width:0;width:100%}
.studio-native{display:none!important}
.studio-trigger{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;min-height:48px;padding:10px 13px;text-align:left;font-size:16px;line-height:1.55;font-weight:400;color:var(--ink);cursor:pointer}
.studio-trigger.placeholder{color:var(--muted)}
.studio-trigger[aria-expanded=true]{border-color:var(--focus);box-shadow:none}
.studio-trigger svg{width:19px;height:19px;min-width:19px;color:var(--muted);transition:transform .15s}
.studio-trigger[role=combobox][aria-expanded=true] svg{transform:rotate(180deg)}
.studio-value{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.filters>label:not(.search-field){min-width:190px;flex:0 1 230px}
.studio-popup{position:fixed;inset:auto;margin:0;padding:6px;border:1px solid var(--line);border-radius:var(--radius-menu);background:var(--surface);color:var(--ink);box-shadow:0 12px 36px var(--shadow-menu),0 2px 5px var(--shadow-edge);z-index:1000;overflow:auto;overscroll-behavior:contain;font-size:16px;line-height:1.5;text-align:left;max-width:calc(100vw - 24px)}
.studio-popup[hidden]{display:none!important}
.studio-popup::backdrop{background:transparent}
.studio-options{scroll-padding:6px}
.studio-popup,.setup-body,textarea{scrollbar-width:thin;scrollbar-color:var(--line-strong) transparent}
.studio-option{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:44px;padding:10px 12px;border-radius:var(--radius-control);cursor:pointer}
.studio-option>span:first-child{min-width:0;overflow-wrap:anywhere}
.studio-option[aria-selected=true]{color:var(--accent);font-weight:600;background:var(--accent-soft)}
.studio-option.active,.studio-option:hover{background:var(--accent-soft-hover)}
.studio-option[aria-selected=true].active,.studio-option[aria-selected=true]:hover{background:var(--accent-soft-hover)}
.studio-option[aria-disabled=true]{color:var(--disabled);cursor:not-allowed;background:transparent}
.studio-option-check{color:var(--accent);min-width:18px;font-weight:600}
.studio-calendar{padding:14px}
.calendar-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}
.calendar-heading strong{font-size:16px;font-weight:600}
.calendar-nav{display:grid;place-items:center;border:1px solid var(--line);border-radius:var(--radius-control);background:var(--surface);color:var(--accent);font-size:26px;font-weight:400;width:36px;height:36px;min-height:36px;min-width:36px;cursor:pointer;line-height:1}
.calendar-nav:hover{background:var(--accent-soft);border-color:var(--line-strong)}
.calendar-week,.calendar-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px}
.calendar-week{margin-bottom:7px}
.calendar-week span{font-size:11px;color:var(--muted);text-align:center;font-weight:600;padding:4px 0}
.calendar-day{border:0;border-radius:var(--radius-control);background:transparent;padding:0;min-width:0;min-height:36px;height:36px;font-size:14px;font-weight:400;color:var(--ink);cursor:pointer}
.calendar-day:hover{background:var(--accent-soft)}
.calendar-day[aria-current=date]{box-shadow:inset 0 0 0 1px var(--accent-line);color:var(--accent);font-weight:600}
.calendar-day[aria-pressed=true]{background:var(--accent);color:var(--surface);box-shadow:none;font-weight:600}
.calendar-day:focus-visible{outline:2px solid var(--focus);outline-offset:1px}
.calendar-day:disabled{color:var(--disabled);cursor:not-allowed;background:transparent}
.calendar-footer{display:flex;justify-content:space-between;gap:16px;border-top:1px solid var(--line);margin-top:12px;padding-top:6px}
.calendar-footer .text-button{font-size:14px;color:var(--accent);min-height:36px}
.calendar-footer .text-button:disabled{color:var(--disabled)}
input[type=file]{padding:6px!important;background:var(--surface);font-size:14px;border-style:solid;cursor:pointer;color:var(--muted)}
input[type=file]::file-selector-button{font:inherit;font-size:14px;font-weight:600;color:var(--accent);background:var(--accent-soft);border:1px solid var(--line-strong);border-radius:var(--radius-control);padding:10px 13px;margin-right:12px;cursor:pointer;transition:background .15s}
input[type=file]::file-selector-button:hover{background:var(--accent-soft-hover)}
input[type=file]:disabled::file-selector-button{opacity:.5;cursor:not-allowed}
.upload-area{border-radius:var(--radius-menu);background:var(--surface-muted);border-color:var(--line-strong);padding:0 18px 18px}
.upload-title{font-size:18px;font-weight:500;margin-top:15px}
.upload-label small{display:block;font-size:13px;line-height:1.7;margin-top:10px;color:var(--muted)}
progress{appearance:none;-webkit-appearance:none;border:0;overflow:hidden;border-radius:99px;background:var(--accent-soft)}
progress::-webkit-progress-bar{background:var(--accent-soft);border-radius:99px}
progress::-webkit-progress-value{background:var(--accent);border-radius:99px}
progress::-moz-progress-bar{background:var(--accent);border-radius:99px}
.setup-optional>summary{display:flex;align-items:center;list-style:none;gap:8px}
.setup-optional>summary::-webkit-details-marker{display:none}
.setup-optional>summary:after{content:'';width:7px;height:7px;border-right:1.5px solid var(--focus);border-bottom:1.5px solid var(--focus);transform:rotate(45deg);margin-left:auto;margin-right:5px;transition:transform .15s}
.setup-optional[open]>summary:after{transform:rotate(225deg)}
.studio-confirm{max-width:460px;padding:28px;border-radius:var(--radius)}
.studio-confirm .dialog-head h2{font-size:24px}
.btn.danger{background:var(--danger);border-color:var(--danger);color:var(--surface)}
.btn.danger:hover{background:var(--danger-hover);border-color:var(--danger-hover)}
@media(max-width:760px){.filters>label:not(.search-field){min-width:0;flex:1 1 135px}.studio-trigger{gap:8px}.studio-popup{font-size:16px}.studio-confirm{padding:24px}.studio-confirm .dialog-actions{flex-wrap:wrap}.studio-confirm .dialog-actions>.btn{flex:1}.calendar-day{min-height:38px;height:38px}}

/* Match selection and type hierarchy across every studio surface. */
.stat-card.selected{border-color:var(--accent);background:var(--accent-soft)}
.login-story h1,.public-main h1{font-weight:600}
