/* Soft Studio — shared staff and client surfaces. Loaded after the existing app styles. */
:root{--canvas:#f1f2f3;--surface:#fff;--surface-2:#f6f7f8;--ink:#1b1d21;--muted:#535d69;--quiet:#59636f;--line:#eceef0;--line-strong:#dfe2e5;--primary:#24262b;--primary-strong:#101114;--primary-soft:#eef0f2;--shadow:0 10px 32px rgba(30,35,45,.035),0 1px 2px rgba(30,35,45,.02);--radius:24px;--radius-lg:30px;--radius-sm:14px;--sidebar:234px;--topbar:90px;--hold:#825019;--hold-bg:#fbf2e4;--todo:#315d78;--todo-bg:#ecf3f7;--progress:#655080;--progress-bg:#f1edf7;--done:#24604f;--done-bg:#eaf4ef}
body{font-family:Inter,"SF Pro Text",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:-.012em;-webkit-font-smoothing:antialiased}
h1,h2,h3{font-family:inherit}h1{font-size:clamp(28px,3vw,38px);font-weight:650;letter-spacing:-.045em}h2{font-size:18px;font-weight:650;letter-spacing:-.03em}
.ui-icon{width:20px;height:20px;vertical-align:middle;flex:0 0 auto;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #667784;outline-offset:3px;box-shadow:none}
.btn{border-radius:999px;min-height:44px;padding:10px 17px;gap:8px;line-height:1.3;box-shadow:none;text-shadow:none;font-size:13px;font-weight:600;white-space:normal}
.btn-primary,.btn-primary:hover,.btn-primary:active{background:#23252a;border-color:#23252a;color:#fff;text-shadow:none;box-shadow:0 4px 10px rgba(25,28,35,.07)}.btn-primary:hover{background:#08090b;border-color:#08090b}
.btn-secondary{background:#fff;border-color:var(--line);box-shadow:0 3px 12px rgba(30,35,45,.025)}.btn-secondary:hover{background:#f7f8f9;border-color:#dfe2e5}.btn-ghost{background:transparent}.btn .ui-icon{width:17px;height:17px}.btn-danger{background:#fff8f7}
.sidebar{background:var(--canvas);color:var(--ink);padding:23px 18px;border-right:1px solid rgba(255,255,255,.8)}
.sidebar .wordmark{padding:0 5px 25px}.sidebar .brand-logo{width:96px;height:54px;filter:none}.sidebar .brand-context{font-size:10px;color:var(--muted);max-width:76px}
.nav-group{gap:7px;margin-bottom:28px}.nav-label{font-size:10px;letter-spacing:.13em;color:var(--muted);margin-bottom:6px}
.nav-link{color:var(--muted);border-radius:16px;min-height:46px;padding:12px 13px;font-size:13px;font-weight:550;gap:12px}.nav-icon{display:flex;width:21px}.nav-link.active{background:#fff;color:var(--ink);box-shadow:var(--shadow)}.nav-link:hover{background:#ffffffb8;color:var(--ink)}.nav-count{background:#edeff1;color:var(--muted);padding:2px 7px;font-size:10px}
.sidebar-footer{border-top:1px solid #e3e5e7;padding:20px 0 0}.account-meta strong{color:var(--ink);font-weight:600}.account-meta span{color:var(--muted)}.avatar{background:#e6e8ea;color:#555b63;border:3px solid #fff;box-shadow:0 2px 6px rgba(0,0,0,.02);border-radius:50%;width:39px;height:39px}.sidebar-footer .nav-link{padding:9px;font-size:18px}
.topbar{height:var(--topbar);border:0;background:rgba(241,242,243,.9);padding:18px 34px;gap:20px}.search{width:min(520px,50vw)}.search:before{display:none}.search>.ui-icon{position:absolute;left:18px;top:16px;width:20px;height:20px;color:var(--muted)}.search input{min-height:52px;border:0;border-radius:999px;padding:14px 20px 14px 50px;font-size:13px;box-shadow:0 4px 16px rgba(30,35,45,.02)}.top-actions{gap:14px}.topbar-account{display:flex}.topbar-account .avatar{width:44px;height:44px}.icon-btn{width:48px;height:48px;border:0;border-radius:50%;box-shadow:0 3px 16px rgba(30,35,45,.025)}.notification-bell{width:22px;height:22px}.notification-count{background:#23252a;top:0;left:93%;font-size:9px}
.workspace{padding:16px 34px 60px;max-width:1650px;overflow:clip;min-width:0}.page-head{align-items:flex-start;gap:24px;margin-bottom:25px}.page-title{min-width:0}.page-title p{font-size:13px;max-width:64ch;line-height:1.65;margin-top:10px}.head-actions{justify-content:flex-end;align-items:center;gap:9px;min-width:0}.page-head>.head-actions{flex:0 1 auto;max-width:60%}
.dashboard-welcome{display:flex;align-items:center;justify-content:space-between;min-height:178px;margin-bottom:24px;padding:0 10px 0 3px;gap:22px}.dashboard-welcome h1{margin-top:12px}.dashboard-welcome p{margin-top:10px;color:var(--muted);font-size:14px}.dashboard-welcome .btn{margin-top:18px}.welcome-date{font-size:10px;letter-spacing:.14em;font-weight:650;color:var(--muted)}.welcome-date span{letter-spacing:0;font-weight:450;display:inline-block;margin-left:16px;font-size:11px;color:var(--muted)}.welcome-art{width:220px;height:auto;object-fit:contain;max-width:30%;flex:0 0 auto}
.summary-grid{gap:16px;margin-bottom:28px}.summary-card{border:1px solid rgba(255,255,255,.95);border-radius:25px;padding:22px;box-shadow:var(--shadow);min-width:0}.summary-top{gap:7px}.summary-symbol{width:44px;height:44px;border-radius:15px;display:grid;place-items:center;color:#62666d;background:#f4f5f6}.summary-symbol.todo{background:var(--todo-bg);color:var(--todo)}.summary-symbol.in_progress{background:var(--progress-bg);color:var(--progress)}.summary-symbol.hold{background:var(--hold-bg);color:var(--hold)}.summary-symbol .ui-icon{width:22px;height:22px}.summary-value{display:flex;align-items:baseline;gap:11px;margin-top:20px}.summary-card .metric{font-family:inherit;font-size:35px;line-height:1.15;font-weight:650;margin:0;letter-spacing:-.055em}.summary-value>span{font-size:13px;font-weight:550}.summary-card .meta{font-size:11px;margin-top:8px;color:var(--muted)}.trend{font-size:10px;line-height:1.4;color:var(--muted);background:transparent;padding:0;font-weight:500;max-width:100px;text-align:right}
.panel-grid{grid-template-columns:minmax(0,1.5fr) minmax(300px,1fr);gap:22px}.panel{border:1px solid rgba(255,255,255,.9);border-radius:26px;box-shadow:var(--shadow)}.panel-head{border:0;padding:24px 24px 17px;gap:12px}.panel-head .btn{padding:8px 0 8px 12px;font-size:11px}.panel-body{padding:6px 24px 24px}.section-kicker{font-size:9px;color:var(--muted);letter-spacing:.16em;font-weight:650;margin-bottom:7px}.attention-count{font-size:11px;vertical-align:middle;font-weight:500;color:var(--muted);background:#f2f3f4;border-radius:100px;padding:4px 8px;margin-left:8px}.work-list{gap:9px}.work-row{display:grid;grid-template-columns:40px minmax(0,1fr) auto;padding:16px 13px;gap:12px;align-items:center;border:1px solid #f0f1f2;border-radius:17px;background:#fafbfc;text-align:left;width:100%;cursor:pointer;transition:background .15s,border-color .15s}.work-row:last-child{border:1px solid #f0f1f2}.work-row:hover{background:#f3f5f6;border-color:#e2e6e9}.work-status-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:13px;background:var(--todo-bg);color:var(--todo)}.work-status-icon.hold{background:var(--hold-bg);color:var(--hold)}.work-status-icon.in_progress{background:var(--progress-bg);color:var(--progress)}.work-status-icon .ui-icon{width:18px;height:18px}.work-main{min-width:0}.work-main strong{font-size:12px;line-height:1.55;overflow-wrap:anywhere;margin:5px 0;font-weight:550}.work-main .work-project{font-size:9px;color:var(--muted)}.work-main .work-detail{font-size:10px;color:var(--muted)}.work-trailing{display:flex;align-items:center;gap:12px}.work-trailing .ui-icon{width:15px;height:15px;color:var(--muted)}.work-trailing .badge{font-size:9px;border-radius:100px;padding:5px 9px}.activity-list{gap:0}.activity-item{grid-template-columns:33px minmax(0,1fr);gap:12px;padding:16px 0;border-bottom:1px solid #f0f2f3}.activity-item:last-child{border:0}.activity-icon{width:33px;height:33px;border-radius:12px;background:#f1f3f4;color:var(--muted)}.activity-icon .ui-icon{width:15px;height:15px}.activity-copy{font-size:12px;line-height:1.7;color:#535960;overflow-wrap:anywhere}.activity-copy time{font-size:10px;color:var(--muted);margin-top:7px}
.toolbar{flex-wrap:wrap;gap:14px;background:transparent;margin:22px 0}.toolbar>.filters{gap:8px;flex:1 1 500px}.filter-btn{border-color:#e7e9eb;border-radius:999px;background:#fff;padding:9px 14px;min-height:40px;font-size:11px}.filters select.filter-btn{min-width:136px;max-width:240px}.view-toggle{border:0;background:#e6e8eb;border-radius:999px;padding:4px;gap:3px;display:flex}.view-toggle button{min-height:34px;border-radius:999px;display:flex;align-items:center;gap:7px;padding:7px 12px;font-size:11px}.view-toggle button.active{background:#fff;box-shadow:0 2px 6px rgba(30,35,45,.045)}.view-toggle .ui-icon{width:15px;height:15px}
.kanban{grid-template-columns:repeat(4,minmax(240px,1fr));gap:16px;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:thin;scrollbar-color:#d8dce0 transparent;scroll-padding:0;align-items:start}.kanban[hidden]{display:none}.project-board{grid-template-columns:repeat(3,minmax(240px,1fr));margin-top:22px}.column{border:0;background:#e8eaed;border-radius:23px;padding:13px;min-height:380px}.column-head{padding:7px 5px 17px;display:flex;gap:8px}.column-head h2{font-family:inherit;font-size:12px;font-weight:600}.column-count{font-size:10px;padding:2px 7px}.card-stack{gap:11px}.task-card,.project-card{border:1px solid #fff;border-radius:19px;padding:18px;box-shadow:0 2px 8px rgba(30,35,45,.025);overflow-wrap:anywhere}.task-card:hover,.project-card:hover{box-shadow:0 8px 18px rgba(30,35,45,.07);transform:translateY(-2px)}.task-title{font-size:13px}.badge{border-radius:100px;padding:4px 8px;font-size:10px}.project-card h3{font-size:15px;font-weight:600;margin:15px 0 7px;line-height:1.4}.project-card .folder{font-size:11px;color:var(--muted);overflow-wrap:anywhere}.project-card .assignee{margin-top:20px;gap:8px;font-size:11px}.project-card .avatar{width:30px;height:30px;font-size:9px}.project-card .counts{border-top:1px solid #f0f1f3;padding-top:13px;margin-top:14px;color:var(--muted);font-size:9px;display:flex;gap:10px;flex-wrap:wrap}.project-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(290px,100%),1fr));gap:16px;margin-top:22px}.empty-column{padding:28px 12px;color:var(--muted);font-size:11px}.project-tag{color:var(--muted);background:#f2f4f5;font-size:9px}.card-meta{gap:8px}.move-btn{background:transparent}.mobile-status-tabs{display:none}.mobile-dock{display:none}
#creation-backlog{margin:20px 0;padding:18px 22px;min-width:0}.main-intake-row{border:1px solid #eef0f2;border-radius:20px;background:#f8fafb;padding:20px}.main-intake-row .head-actions{justify-content:flex-start}.main-intake-list{margin:15px 0 0}.request-brief-text{background:#f4f6f7;border-radius:14px;padding:15px}
.input,select,textarea{border:1px solid #e5e8eb;background:#f9fafb;border-radius:14px;min-height:48px;font-size:13px;padding:13px 15px}.input:focus,select:focus,textarea:focus{background:#fff;border-color:#a7b0b9}textarea{line-height:1.7}.field>label,.field>.label{font-size:12px;font-weight:550}.field small,.help{line-height:1.65;font-size:11px}.form-grid{gap:20px}.modal{border-radius:29px;border:1px solid #fff;box-shadow:0 25px 90px rgba(30,35,45,.17)}.overlay{background:rgba(33,37,44,.28);backdrop-filter:blur(8px)}.modal-head{border-color:#f0f2f3;padding:25px}.modal-body{padding:25px}.modal-foot{border-color:#eef0f2;padding:18px 25px;gap:10px;flex-wrap:wrap}.modal-head h2{font-size:22px}.notice{background:#f4f6f8;border-color:#e6ebef;color:var(--muted);border-radius:16px}.mini-icon{background:#e9edf0;color:var(--muted)}.tabs{background:#e8eaed;border:0;border-radius:999px;padding:5px;gap:3px}.tab{border:0;border-radius:999px;padding:11px 18px;font-size:12px}.tab.active{background:#fff;color:#24262b;box-shadow:0 2px 8px rgba(30,35,45,.025)}.drawer{border:0;box-shadow:-20px 0 60px rgba(30,35,45,.08)}.more-nav-grid{display:grid;gap:8px}.more-nav-item{display:flex;align-items:center;gap:15px;border:1px solid #eef0f3;border-radius:18px;background:#f8f9fa;padding:19px;width:100%;cursor:pointer;text-align:left}.more-nav-item span{flex:1}.more-nav-item .ui-icon:last-child{width:16px;height:16px;color:var(--muted)}
/* Client review shares the same soft, readable surfaces. */
.client-shell{background:var(--canvas);min-height:100dvh}.client-topbar{min-height:90px;height:auto;max-width:1240px;margin:auto;padding:18px 30px;border:0;background:transparent;gap:22px}.client-topbar .brand-logo{width:100px;height:53px}.client-topbar .brand-context{color:var(--muted);font-size:9px;max-width:140px}.client-nav{background:#e8eaed;padding:5px;border-radius:999px;gap:3px;display:flex;min-width:0}.client-nav a{border:0;padding:11px 17px;font-size:11px;border-radius:999px;color:var(--muted);white-space:nowrap}.client-nav a.active{background:#fff;color:#1b1d21;box-shadow:0 3px 10px rgba(30,35,45,.04)}.client-nav a.disabled{display:none}.client-main{max-width:900px;padding:22px 30px 100px;animation:client-view-in .25s ease both}.client-hero{margin-bottom:28px}.client-hero h1{font-size:clamp(28px,4vw,38px);margin:9px 0 12px;line-height:1.16}.client-hero .eyebrow{font-size:10px;letter-spacing:.1em;color:var(--muted);line-height:1.6}.client-hero .lede{font-size:13px;line-height:1.75;max-width:46ch;color:var(--muted)}.request-welcome{display:flex;align-items:center;gap:22px;justify-content:space-between}.request-welcome>div{min-width:0}.request-welcome>img{width:180px;height:auto;object-fit:contain;flex:0 0 auto;max-width:27%}.request-steps{display:flex;gap:18px;font-size:10px;color:var(--muted);margin-top:21px}.request-steps .active{color:#5d666f;font-weight:600}.change-list{gap:20px}.change-card{padding:28px;border:1px solid #fff;box-shadow:var(--shadow);border-radius:27px}.change-card-head{padding-bottom:17px;border-bottom:1px solid #f1f2f4;margin-bottom:22px}.change-number{font-size:14px;font-weight:600;gap:12px}.number-badge{width:32px;height:32px;border-radius:50%;background:#f0f2f4;color:var(--muted);font-size:11px;font-weight:550}.request-essential{gap:21px}.request-essential textarea{min-height:145px;background:#f8f9fa;line-height:1.8}.screenshots-field .label .help{font-size:10px;margin-left:5px}.upload-zone{border:1.5px dashed #dce1e5;border-radius:19px;background:#fafbfc;padding:28px 20px;gap:8px}.upload-zone:hover,.upload-zone:focus-visible{background:#f2f5f7;border-color:#8997a2;box-shadow:none}.upload-zone.dragging{background:#edf2f5;border-color:#71889a;box-shadow:inset 0 0 0 1px #8d9eaa}.upload-icon{border:0;box-shadow:0 4px 16px rgba(30,35,45,.03);color:var(--muted);width:48px;height:48px;border-radius:16px}.upload-icon .ui-icon{width:24px;height:24px}.upload-zone strong{font-size:12px;font-weight:550}.upload-zone>span:not(.upload-icon){font-size:10px}.upload-item{border-radius:16px;overflow:hidden}.optional-details{border-color:#edf0f2;border-radius:17px;background:#fbfcfc}.optional-details summary{font-size:12px;color:var(--muted);min-height:49px;display:flex;align-items:center}.optional-fields{padding:18px}.sticky-submit{border:1px solid #fff;background:rgba(255,255,255,.95);backdrop-filter:blur(12px);border-radius:24px;box-shadow:0 14px 40px rgba(30,35,45,.08);padding:15px;gap:13px;bottom:15px;margin-top:24px}.sticky-submit-main{padding:0 6px 2px}.sticky-add-change{background:#f6f7f8;border:0;border-radius:15px;margin:0;font-size:12px;font-weight:500;color:var(--muted)}.sticky-submit strong{font-size:12px;font-weight:600}.sticky-submit .btn-primary{min-height:46px;padding:12px 21px}.request-history{gap:15px}.request-item{border:1px solid #fff;box-shadow:var(--shadow);border-radius:22px;padding:22px}.state-card{padding:50px 25px}.state-icon{background:#eff4f1;color:#547b6e;border-radius:50%}.auth-shell{background:#f1f2f3}.auth-panel{background:transparent}.auth-card{background:#fff;border-radius:30px;box-shadow:var(--shadow);padding:35px;margin-top:35px;margin-bottom:35px}.auth-visual{background:#f1f2f3;color:#25272b}.auth-visual:before,.auth-visual:after{display:none}.visual-copy p{color:var(--muted)}.security-note{font-size:11px}
@media(min-width:1500px){.workspace{padding-left:48px;padding-right:48px}.topbar{padding-left:48px;padding-right:48px}}
@media(max-width:1200px){.page-head{flex-wrap:wrap}.page-head>.head-actions{max-width:100%;justify-content:flex-start}.summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.panel-grid{grid-template-columns:1fr}.kanban{grid-template-columns:repeat(4,280px)}.project-board{grid-template-columns:repeat(3,minmax(245px,1fr))}.topbar{padding:17px 24px}.workspace{padding:16px 24px 60px}.client-topbar .brand-context{display:none}}
@media(max-width:800px){
 :root{--topbar:76px}.sidebar{display:none}.main-shell{margin:0}.workspace{padding:12px 19px 128px;overflow:clip}.topbar{height:76px;padding:14px 19px;gap:12px;background:rgba(241,242,243,.96)}.topbar .search{width:auto;flex:1;min-width:0}.search input{min-height:48px;font-size:12px;padding-left:43px}.search>.ui-icon{width:18px;height:18px;left:16px;top:15px}.top-actions{gap:11px;flex:0 0 auto}.top-actions>.btn{display:none}.top-actions>.badge{display:none}.topbar-account .avatar{width:39px;height:39px}.icon-btn{width:42px;height:42px}.notification-bell{width:20px;height:20px}.notification-count{height:18px;min-width:18px}
 .page-head{display:flex;flex-wrap:wrap;align-items:flex-start;gap:18px;margin-bottom:21px}.page-title{flex:1 1 100%}.page-head h1{font-size:28px}.page-title p{font-size:12px}.page-head>.head-actions{max-width:none;width:100%;justify-content:flex-start;display:flex;flex-wrap:wrap;gap:8px}.head-actions .btn-secondary,.head-actions .btn{display:inline-flex;min-height:44px;padding:10px 14px;font-size:11px}.head-actions .btn-secondary.intake-action{display:inline-flex}.head-actions .btn-primary{flex:0 0 auto}
 .dashboard-welcome{padding:6px 0 0;margin-bottom:24px;min-height:150px;gap:10px}.welcome-date{font-size:9px;letter-spacing:.11em}.welcome-date span{display:block;margin:4px 0 0;font-size:10px}.dashboard-welcome h1{font-size:28px;margin-top:10px}.dashboard-welcome p{font-size:12px;max-width:25ch;line-height:1.7}.dashboard-welcome .btn{font-size:11px;padding:9px 14px;min-height:38px;margin-top:14px}.welcome-art{width:136px;max-width:32%;align-self:center}.summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:23px}.summary-card{padding:17px;border-radius:23px}.summary-symbol{width:38px;height:38px;border-radius:13px}.summary-symbol .ui-icon{width:20px;height:20px}.trend{font-size:8px;max-width:68px}.summary-value{margin-top:16px;gap:8px}.summary-card .metric{font-size:30px}.summary-value>span{font-size:11px}.summary-card .meta{font-size:9px;white-space:normal;overflow:visible;line-height:1.6}.panel-grid{gap:18px}.panel{border-radius:24px}.panel-head{padding:22px 18px 16px;align-items:center}.panel-head h2{font-size:16px}.panel-head .btn{font-size:10px;min-height:32px;white-space:nowrap}.panel-body{padding:0 16px 18px}.section-kicker{font-size:8px}.attention-count{margin-left:3px;font-size:9px;padding:3px 6px}.work-row{padding:14px 11px;grid-template-columns:32px minmax(0,1fr);gap:10px;border-radius:16px}.work-status-icon{width:32px;height:32px;border-radius:11px;align-self:start;margin-top:3px}.work-status-icon .ui-icon{width:16px;height:16px}.work-main strong{font-size:12px;margin:4px 0}.work-main .work-project{font-size:9px}.work-main .work-detail{font-size:9px}.work-trailing{grid-column:2;justify-content:space-between;width:100%;gap:8px}.work-trailing .badge{font-size:8px;padding:4px 7px}.work-trailing .ui-icon{width:14px;height:14px}.activity-item{padding:15px 0}.activity-copy{font-size:11px}
 .toolbar{gap:12px;margin:18px 0;align-items:center}.toolbar>.filters{flex-basis:100%;overflow-x:auto;width:100%;flex-wrap:nowrap;scrollbar-width:none;padding:1px 1px 4px}.filters select.filter-btn{font-size:12px;min-height:44px;min-width:145px;max-width:200px}.filter-btn{font-size:11px;min-height:44px;flex-shrink:0}.view-toggle{margin-left:auto}.view-toggle button{min-height:37px;font-size:11px}.kanban{display:grid;grid-template-columns:repeat(4,minmax(270px,78vw));overflow-x:auto;overflow-y:visible;gap:13px;padding:2px 1px 17px;scroll-snap-type:x proximity;scroll-padding:1px}.project-board{display:grid;grid-template-columns:repeat(3,minmax(270px,78vw));margin-top:20px}.kanban[hidden]{display:none}.column,.column.mobile-active{display:block;min-height:300px;background:#e8eaed;border:0;padding:12px;scroll-snap-align:start;scroll-margin:1px;border-radius:23px;margin:0}.project-board .column{margin-bottom:0}.column-head,.project-board .column-head{display:flex;padding:6px 4px 15px}.column-head h2{font-size:12px}.task-card,.project-card{padding:17px;border-radius:19px}.mobile-status-tabs{display:flex;gap:7px;overflow:auto;margin:0 0 14px;padding-bottom:3px;scrollbar-width:none}.mobile-status-tabs button{border-radius:999px;min-height:38px;font-size:10px;padding:8px 12px;white-space:nowrap;color:var(--muted);border:0;background:#e7e9ec}.mobile-status-tabs button.active{background:#fff;color:#2f343b;box-shadow:0 2px 8px rgba(30,35,45,.04)}.project-list{grid-template-columns:1fr}.project-list .project-card{padding:20px}#creation-backlog{padding:18px;margin:18px 0;border-radius:22px}.main-intake-row{padding:17px;align-items:flex-start;flex-direction:column;gap:12px}.main-intake-row .head-actions{width:100%;gap:8px}.main-intake-row h3{overflow-wrap:anywhere}
 .mobile-dock{display:flex;align-items:center;gap:9px;position:fixed;left:15px;right:15px;bottom:calc(13px + env(safe-area-inset-bottom));z-index:60;max-width:600px;margin:auto}.mobile-nav{display:flex;position:static;flex:1;min-width:0;border:1px solid rgba(255,255,255,.95);border-radius:999px;padding:6px;background:rgba(236,238,241,.94);backdrop-filter:blur(18px);box-shadow:0 8px 32px rgba(30,35,45,.12);gap:2px}.mobile-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;flex:1;min-width:0;min-height:52px;border:0;border-radius:999px;padding:7px 3px;background:transparent;color:var(--muted);font-size:8px;cursor:pointer}.mobile-nav button span{display:block;font-size:8px;line-height:1;margin:0}.mobile-nav button .ui-icon{width:19px;height:19px}.mobile-nav button.active{background:#fff;color:#282b30;box-shadow:0 3px 10px rgba(30,35,45,.035)}.mobile-create{display:grid;place-items:center;width:61px;height:61px;flex:0 0 61px;border:1px solid #fff;background:#22252a;color:#fff;border-radius:50%;box-shadow:0 7px 24px rgba(30,35,45,.17);cursor:pointer}.mobile-create .ui-icon{width:25px;height:25px}
 .overlay{padding:13px}.modal{max-height:calc(100dvh - 26px);height:auto;width:100%;border-radius:25px}.modal-head{padding:20px}.modal-head h2{font-size:20px}.modal-body{padding:20px}.modal-foot{padding:16px 20px calc(16px + env(safe-area-inset-bottom))}.modal-foot .btn{min-height:44px}.form-grid{grid-template-columns:1fr;gap:18px}.field.full{grid-column:auto}.input,select,textarea{font-size:16px}.drawer{inset:0;width:100%}.drawer-actions{width:100%}
 .client-topbar{padding:15px 20px;gap:17px;align-items:center;flex-wrap:wrap;min-height:80px}.client-topbar .brand-logo{width:95px;height:47px}.client-topbar .wordmark{flex:none}.client-topbar .brand-context{display:none}.client-nav{order:2;width:100%;overflow:auto;justify-content:center;border-radius:999px;padding:5px;gap:2px}.client-nav a{font-size:10px;min-height:41px;padding:10px 12px;display:flex;align-items:center;justify-content:center;flex:1;white-space:nowrap}.client-nav a.disabled{display:none}.client-main{padding:17px 19px 70px}.request-welcome{align-items:center;flex-direction:row;gap:9px;margin-bottom:23px}.request-welcome>img{width:100px;max-width:27%}.client-hero h1{font-size:28px;max-width:16ch;margin:9px 0 10px}.client-hero .eyebrow{font-size:9px;line-height:1.6}.client-hero .lede{font-size:12px;line-height:1.7}.request-steps{gap:12px;font-size:9px;margin-top:17px}.change-card{padding:20px;border-radius:23px}.change-card-head{margin-bottom:20px;padding-bottom:15px}.change-number{font-size:13px}.change-card .field>label{font-size:12px}.change-list{gap:17px}.request-essential{gap:20px}.upload-zone{padding:24px 12px;border-radius:17px}.upload-zone strong{font-size:12px}.upload-zone>span:not(.upload-icon){font-size:10px}.optional-fields{padding:15px}.text-pair{grid-template-columns:1fr}.sticky-submit{padding:12px;border-radius:23px;bottom:calc(10px + env(safe-area-inset-bottom));gap:10px}.sticky-submit-main{padding:0 2px}.sticky-submit-main .btn{font-size:11px;padding:12px 17px}.sticky-submit .help{display:none}.sticky-add-change{min-height:44px}.request-item{grid-template-columns:1fr;border-radius:22px;padding:20px}.auth-panel{padding:20px}.auth-card{padding:26px 22px;width:100%;margin:30px 0}.auth-visual{display:none}.detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.table-panel{overflow-x:auto;max-width:100%}
}
@media(max-width:360px){.workspace{padding-left:14px;padding-right:14px}.mobile-dock{left:9px;right:9px;gap:6px}.mobile-create{width:53px;height:53px;flex-basis:53px}.mobile-nav button{min-height:48px}.summary-card{padding:14px}.summary-value{flex-wrap:wrap;gap:4px}.client-nav a{padding:9px 8px;font-size:9px}.welcome-art{width:100px}.summary-value>span{font-size:10px}.page-head>.head-actions .btn{padding:10px 12px}}
@media(prefers-reduced-motion:reduce){.client-main{animation:none}.btn,.task-card,.project-card,.work-row{transition:none}}
/* Keep an empty creation inbox compact so the board stays within reach. */
#creation-backlog{padding:0}#creation-backlog .panel-head{padding:20px 22px 12px}#creation-backlog .panel-head p{font-size:12px;line-height:1.6;margin-top:6px}#creation-backlog .panel-body{padding:0 22px 20px}#creation-backlog .state-card{padding:10px 0;text-align:left}#creation-backlog .state-icon{display:none}#creation-backlog .state-card h2{font-size:13px;margin:0 0 5px}#creation-backlog .state-card p{font-size:12px;margin:0;color:var(--muted)}#creation-backlog:has(.state-card) .panel-head p{display:none}
@media(max-width:800px){#creation-backlog .panel-head{padding:18px 18px 12px;align-items:center}#creation-backlog .panel-body{padding:0 18px 18px}#creation-backlog .panel-head h2{font-size:14px}#creation-backlog .state-card{padding:2px 0}#creation-backlog .state-card h2{display:none}#creation-backlog .badge{white-space:nowrap}}

/* Readable density and shared, persistent light/dark themes. */
:root{--field:#f7f8fa;--raised:#e7eaee;--soft-panel:#f8f9fb;--header-bg:rgba(241,242,243,.97);--dock-bg:rgba(232,235,239,.96);--button-bg:#252830;--button-ink:#fff}
.theme-toggle{display:inline-grid!important;place-items:center;flex-shrink:0}.theme-toggle .ui-icon{width:20px;height:20px}.client-topbar>.theme-toggle{margin-left:auto}.client-topbar .client-nav{margin-left:auto}
.help,.field small,.page-title p,.modal-head p,.lede,.security-note,.task-number,.card-meta,.request-item small{color:var(--muted)}
::placeholder{color:var(--muted);opacity:1}.badge{white-space:nowrap;max-width:100%;line-height:1.4}.modal-head>div{min-width:0;flex:1}.modal-head p{font-size:14px;line-height:1.65;margin-top:8px;max-width:55ch}.modal-head .close-btn{flex:0 0 36px}.sample-choices:has(>[hidden]):not(:has(>.field:not([hidden]))){display:none}.sample-choices{margin:18px 0}.sample-choices>.field[hidden]{display:none}
.task-action-group,.task-utility-group{display:flex;flex-wrap:wrap;gap:8px}.app-shell[data-page="tasks"] .page-head{display:block}.app-shell[data-page="tasks"] .page-head>.head-actions{display:flex;justify-content:space-between;max-width:none;width:100%;margin-top:20px;gap:12px}.task-action-group .btn,.task-utility-group .btn{border-radius:13px;min-height:44px;padding:10px 14px}.task-utility-group .btn{color:var(--muted)}
.input,select,textarea{background:var(--field);border-color:var(--line-strong)}.input:focus,select:focus,textarea:focus{background:var(--surface)}.modal,.panel,.task-card,.project-card,.summary-card,.change-card,.request-item,.drawer,.auth-card,.btn-secondary,.icon-btn,.search input,.filter-btn,.upload-icon{background:var(--surface);border-color:var(--line)}
.btn-primary,.btn-primary:hover,.btn-primary:active{background:var(--button-bg);color:var(--button-ink);border-color:var(--button-bg)}.btn-secondary:hover{background:var(--surface-2)}.btn-ghost{background:transparent}.btn-danger{background:var(--danger-bg)}
.column,.column.mobile-active,.view-toggle,.tabs,.client-nav{background:var(--raised)}.work-row,.main-intake-row,.more-nav-item,.upload-zone,.optional-details{background:var(--soft-panel);border-color:var(--line)}.work-row:hover,.upload-zone:hover,.upload-zone:focus-visible{background:var(--raised)}.notice,.request-brief-text,.activity-icon,.number-badge,.sticky-add-change,.project-tag{background:var(--surface-2);color:var(--muted);border-color:var(--line)}.notice.warning{background:var(--hold-bg);color:var(--hold)}.sticky-submit{background:var(--surface);border-color:var(--line)}.request-essential textarea{background:var(--field)}
.view-toggle button.active,.tab.active,.client-nav a.active,.nav-link.active,.mobile-nav button.active,.mobile-status-tabs button.active{background:var(--surface);color:var(--ink)}.nav-link:hover{background:var(--surface-2)}.mobile-status-tabs button{background:var(--raised);color:var(--muted)}.topbar{background:var(--header-bg)}.mobile-nav{background:var(--dock-bg);border-color:var(--line-strong)}.mobile-create{background:var(--button-bg);color:var(--button-ink);border-color:var(--line-strong)}.auth-shell,.auth-visual{background:var(--canvas);color:var(--ink)}.avatar{background:var(--raised);color:var(--muted)}.sidebar,.sidebar-footer,.modal-head,.modal-foot,.panel-head,.activity-item,.change-card-head,.project-card .counts,.data-table td,.data-table th{border-color:var(--line)}.data-table th{background:var(--surface-2);color:var(--muted)}.data-table tbody tr:hover{background:var(--surface-2)}.notification-row,.notification-activity{color:var(--ink)}
[data-theme="dark"]{color-scheme:dark;--canvas:#171a20;--surface:#232830;--surface-2:#2b323d;--field:#1e242d;--raised:#303844;--soft-panel:#272e38;--ink:#f2f5f9;--muted:#bac4d2;--quiet:#aebaca;--line:#363f4b;--line-strong:#465361;--primary:#e7edf5;--primary-strong:#fff;--primary-soft:#303844;--button-bg:#e7edf5;--button-ink:#1c232e;--header-bg:rgba(23,26,32,.97);--dock-bg:rgba(40,46,56,.96);--hold:#ffcf86;--hold-bg:#463821;--todo:#a8d7f5;--todo-bg:#243e51;--progress:#d1bef7;--progress-bg:#3a2f51;--done:#a2e0c3;--done-bg:#243f35;--danger:#ffc0b8;--danger-bg:#4d302f;--shadow:0 8px 32px rgba(0,0,0,.15)}
[data-theme="dark"] .summary-symbol,[data-theme="dark"] .trend,[data-theme="dark"] .state-icon{background:var(--surface-2);color:var(--ink)}[data-theme="dark"] .tab,[data-theme="dark"] .client-nav a,[data-theme="dark"] .activity-copy,[data-theme="dark"] .summary-value>span{color:var(--ink)}[data-theme="dark"] .upload-zone.dragging{background:var(--todo-bg);border-color:var(--todo)}[data-theme="dark"] .close-btn{background:var(--surface-2);color:var(--ink)}[data-theme="dark"] .badge:not(.hold):not(.todo):not(.in_progress):not(.completed):not(.urgent):not(.high){background:var(--surface-2);color:var(--muted)}[data-theme="dark"] .toast{background:var(--surface);color:var(--ink);border-color:var(--line)}
@media(min-width:801px){body{font-size:16px;line-height:1.6}.btn{font-size:14px}.field>label,.field>.label{font-size:14px}.input,select,textarea{font-size:15px}.field small,.help{font-size:13px}.page-title p,.dashboard-welcome p,.client-hero .lede{font-size:15px}.nav-link{font-size:14px}.work-main strong,.activity-copy,.task-title{font-size:15px}.work-main .work-project,.work-main .work-detail,.activity-copy time,.project-card .folder,.project-card .counts,.card-meta,.task-number{font-size:12px}.summary-card .meta{font-size:12px}.column-head h2{font-size:14px}.badge{font-size:12px}.work-trailing .badge{font-size:11px}.filter-btn,.view-toggle button,.tab{font-size:13px}.panel-head h2{font-size:20px}.data-table td{font-size:15px}.data-table th{font-size:12px}.client-nav a{font-size:13px}.upload-zone strong{font-size:14px}.upload-zone>span:not(.upload-icon){font-size:12px}.optional-details summary{font-size:14px}}
@media(max-width:800px){
 .top-actions{gap:8px}.topbar{gap:9px}.topbar-account .avatar{width:34px;height:34px}.top-actions .icon-btn{width:38px;height:38px}.search input{padding-left:37px}.search>.ui-icon{left:12px}.page-title p,.dashboard-welcome p,.client-hero .lede{font-size:13px}.field>label,.field>.label{font-size:14px}.field small,.help{font-size:12px}.modal-head p{font-size:13px}.work-main strong,.activity-copy,.task-title{font-size:14px}.work-main .work-project,.work-main .work-detail,.activity-copy time,.project-card .counts,.summary-card .meta{font-size:11px}.work-trailing .badge,.badge{font-size:11px}.summary-symbol{flex-shrink:0}.trend{font-size:10px}.modal-foot{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.modal-foot .btn{font-size:13px;padding:11px 10px;min-height:46px;width:100%}.modal-foot:has(>button:nth-child(3))>.btn-primary{grid-column:1/-1}.modal-foot>.btn:only-child{grid-column:1/-1}.modal-head,.modal-body{padding:18px}.input,select{min-height:46px;padding:11px 13px}
 .task-action-group{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;gap:8px}.task-action-group .btn{width:100%;font-size:12px!important;min-height:44px;padding:10px 8px!important}.task-utility-group{width:100%;border-top:1px solid var(--line);padding-top:8px;justify-content:flex-end}.task-utility-group .btn{font-size:12px;min-height:40px}
 .task-list-panel{overflow:visible!important}.task-list-table{display:block;min-width:0!important;width:100%;table-layout:fixed}.task-list-table thead{display:none}.task-list-table tbody{display:block}.task-list-table tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 12px;padding:18px;border-bottom:1px solid var(--line);align-items:center}.task-list-table tr:last-child{border:0}.task-list-table td{display:block!important;min-width:0;border:0;padding:0;font-size:14px;overflow-wrap:anywhere}.task-list-table td:first-child{grid-column:1/-1;line-height:1.6}.task-list-table td:first-child strong{font-size:12px;color:var(--muted)}.task-list-table td:nth-child(2){font-size:12px;color:var(--muted)}.task-list-table td:nth-child(3){justify-self:end}.task-list-table td:nth-child(n+4){display:none!important}.task-list-table .badge{font-size:11px;white-space:nowrap;padding:5px 9px}
 .client-topbar>.theme-toggle{margin-left:auto}.client-topbar .client-nav{margin-left:0}.request-steps{font-size:11px;flex-wrap:wrap}.mobile-nav button span{font-size:9px}.theme-toggle{min-height:38px}
}

/* Project links retain every action without overflowing narrow screens. */
.project-links-panel,.project-link-grid,.project-access-card{min-width:0;max-width:100%}
.project-links-panel .panel-head>div{min-width:0;flex:1}.project-links-panel .panel-head>.badge{flex:0 0 auto;white-space:nowrap}
.project-links-panel .settings-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px 20px;align-items:center}
.project-links-panel .settings-copy{min-width:0}.project-links-panel .settings-copy p{overflow-wrap:anywhere;line-height:1.65;font-size:13px}
.project-links-panel .head-actions{flex-wrap:wrap}.project-links-panel .btn,.project-access-card .btn{max-width:100%}
.project-access-card .head-actions{flex-shrink:0}.event-builder-toggle{display:flex;gap:10px;align-items:center;font-weight:600;line-height:1.5}.event-builder-toggle input{flex:0 0 auto;width:18px;height:18px}.event-builder-toggle+.help{margin:8px 0 0}#request-event-builder:not([hidden]){margin-top:18px}
@media(max-width:800px){
 .project-links-panel .panel-head{flex-wrap:wrap;align-items:flex-start}.project-links-panel .panel-head>div{flex-basis:100%}.project-links-panel .panel-head>.badge{align-self:flex-start}
 .project-links-panel .settings-row{grid-template-columns:minmax(0,1fr);gap:12px;padding:18px 0}.project-links-panel .head-actions{justify-content:flex-start;width:100%;gap:8px}.project-links-panel .settings-row>.btn{justify-self:start}.project-links-panel .settings-copy strong{font-size:14px}.project-links-panel .settings-copy p{font-size:13px}.project-links-panel .btn{min-height:44px;padding:11px 16px}
 .project-access-card{flex-direction:column;align-items:stretch;gap:14px}.project-access-card a:not(.btn){white-space:normal;overflow-wrap:anywhere}.project-access-card .head-actions{justify-content:flex-start;flex-wrap:wrap}.project-access-card .head-actions .btn{flex:0 1 auto}
}

/* Read alerts stay available as quiet history, separate from new notifications. */
.notification-row{background:var(--surface);min-width:0;overflow-wrap:anywhere}.notification-viewed>summary{font-size:13px;font-weight:600;color:var(--muted);cursor:pointer;min-height:40px;display:list-item;list-style-position:inside}.notification-viewed:not([open])>*:not(summary){display:none}.notification-viewed[open]>.help{margin:4px 0 8px}.notification-section .state-card{padding:18px 12px}.notification-section .state-card h2{font-size:18px}.notification-section .state-card p{font-size:13px}

/* Project contact, payment records and compact dashboard summaries. */
.project-title-contact{display:flex;align-items:center;gap:14px;flex-wrap:wrap;min-width:0}
.project-title-contact>span{overflow-wrap:anywhere}
.project-call{font-size:14px;font-weight:600;line-height:1.2;white-space:nowrap}
.payment-button.unpaid{background:var(--surface);color:var(--ink);border:1px solid var(--line)}
.payment-button.advance,.payment-chip.advance{background:#fff0cb;color:#77520b;border:1px solid #ead399}
.payment-button.paid,.payment-chip.paid{background:#e0f2e9;color:#226247;border:1px solid #bddfcd;opacity:1}
.payment-chip{display:inline-flex;border-radius:99px;font-size:12px;padding:5px 10px;font-weight:600;margin:0 0 10px}
.payment-chip.unpaid{background:var(--canvas);color:var(--muted)}
.payment-options{display:grid;gap:12px;margin-top:20px}
.payment-options label{display:flex;gap:12px;align-items:center;padding:18px;border:1px solid var(--line);border-radius:16px;background:var(--canvas);cursor:pointer}
.whatsapp-share{color:#267654}
.share-message{font-family:inherit;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7;border:1px solid var(--line);border-radius:16px;padding:18px;background:var(--canvas);font-size:15px}
[data-open-whatsapp][aria-disabled=true]{opacity:.5;pointer-events:none}
.dashboard-charts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:0 0 24px}
.dashboard-chart{min-width:0}.dashboard-chart .panel-head{padding-bottom:10px;border-bottom:0}
.chart-body{display:flex;align-items:center;gap:28px;padding:12px 26px 26px}
.studio-donut{width:130px;height:130px;flex:0 0 130px;border-radius:50%;display:grid;place-items:center}
.studio-donut>div{width:102px;height:102px;border-radius:50%;background:var(--surface);display:flex;flex-direction:column;align-items:center;justify-content:center}
.studio-donut strong{font-size:26px;letter-spacing:-.04em}.studio-donut span{font-size:12px;color:var(--muted)}
.chart-legend{list-style:none;padding:0;margin:0;flex:1;min-width:0;display:grid;gap:12px}
.chart-legend li{display:flex;align-items:center;gap:9px;font-size:14px}.chart-legend strong{margin-left:auto}
.chart-dot{width:8px;height:8px;border-radius:50%;flex-shrink:0}
[data-theme=dark] .payment-button.advance,[data-theme=dark] .payment-chip.advance{background:#4b3918;color:#f6d18a;border-color:#6b542a}
[data-theme=dark] .payment-button.paid,[data-theme=dark] .payment-chip.paid{background:#183e30;color:#a2dfbf;border-color:#2d6650}
[data-theme=dark] .whatsapp-share{color:#a2dfbf}
@media(max-width:1000px){.chart-body{gap:18px;padding:12px 20px 24px}.studio-donut{width:108px;height:108px;flex-basis:108px}.studio-donut>div{width:84px;height:84px}.studio-donut strong{font-size:23px}}
@media(max-width:800px){.dashboard-charts{grid-template-columns:minmax(0,1fr);gap:16px;margin-bottom:20px}.chart-body{gap:24px}.project-title-contact{gap:10px}.project-call{padding:10px 13px}.payment-button{min-height:44px}}

/* SVG charts work with the production CSP; no inline styles are required. */
.studio-donut{position:relative}.chart-ring{position:absolute;inset:0;width:100%;height:100%}.chart-track{stroke:var(--line)}.studio-donut>div{position:relative;background:transparent;width:100%;height:100%}.chart-dot{display:block;width:8px;height:8px;flex:0 0 8px}
.project-title-contact .project-call{font-size:14px;letter-spacing:normal;font-weight:600;line-height:1.4;gap:8px;align-items:center;display:inline-flex;text-decoration:none}.project-call .ui-icon{width:18px;height:18px;flex-shrink:0}
[data-theme=dark] .column-count,[data-theme=dark] .nav-count,[data-theme=dark] .attention-count{background:#3b4553;color:#f3f6fb}
[data-theme=dark] .mini-icon,[data-theme=dark] .state-icon{background:#3b4553;color:#f3f6fb}
[data-theme=dark] .notification-count{background:#e7edf5;color:#1d2633;border:2px solid var(--canvas)}

/* Keep wide tables within their panels, including desktop widths. */
.panel.table-panel{overflow-x:auto;max-width:100%;min-width:0}
.team-table{min-width:880px}.team-actions{flex-wrap:wrap}
.modal [role=status]{overflow-wrap:anywhere}
.modal button[hidden]{display:none!important}
[data-intake-health]{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-bottom:18px}
