@import url('/tokens.css');
*{box-sizing:border-box}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-size:16px;line-height:1.5;color:var(--ink);background:radial-gradient(ellipse at 85% 5%,var(--wash1),transparent 54%),radial-gradient(ellipse at 8% 90%,var(--wash2),transparent 55%),var(--page);background-attachment:fixed;min-height:100vh}button,input,textarea,select{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}a{color:inherit;text-decoration:none}button{cursor:pointer;border:0;background:none;color:inherit}button:disabled{opacity:.45;cursor:not-allowed}h1,h2,h3,p{margin:0}h1{font-size:clamp(28px,3vw,38px);line-height:1.16;letter-spacing:-1.3px;font-weight:650}h2{font-size:22px;letter-spacing:-.5px;line-height:1.35}h3{font-size:16px;font-weight:600}.sub{color:var(--muted);margin-top:9px}.small{font-size:13px;color:var(--muted);line-height:1.55}.eyebrow{text-transform:uppercase;letter-spacing:1.9px;font-weight:600;font-size:12px;color:var(--muted);margin-bottom:13px}.icon{width:20px;height:20px;flex-shrink:0;vertical-align:middle}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid var(--accent);outline-offset:4px}.skip{position:fixed;left:15px;top:-100px;z-index:20;background:var(--panel);padding:12px}.skip:focus{top:10px}.brand{font-size:26px;font-weight:740;letter-spacing:-1px;white-space:nowrap}.brand em{font-size:15px;font-style:normal;font-weight:400;color:var(--muted);letter-spacing:-.2px}.glass{background:var(--glass);backdrop-filter:blur(30px) saturate(145%);-webkit-backdrop-filter:blur(30px) saturate(145%);border:1px solid var(--edge);box-shadow:inset 0 1px 0 var(--highlight),0 10px 36px var(--shadow)}.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:11px 18px;border-radius:14px;font-size:14px;font-weight:600;background:var(--accent);color:var(--on-accent);border:1px solid transparent;white-space:nowrap}.btn.secondary{background:var(--soft);color:var(--ink);border-color:var(--line)}.btn.ghost{background:transparent;color:var(--muted);border-color:var(--line)}.btn.danger{background:var(--soft);color:var(--danger)}.text-button{color:var(--accent);font-size:14px;min-height:40px;padding:7px 0}.button-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:20px}.icon-btn{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:14px;background:var(--soft);flex-shrink:0}.surface{background:var(--panel);border:1px solid var(--line);border-radius:22px;padding:24px;box-shadow:0 4px 16px var(--shadow)}.surface+.surface{margin-top:18px}.muted{color:var(--muted)}.error{color:var(--danger);font-size:14px;margin-top:12px;overflow-wrap:anywhere}.loading{display:grid;place-content:center;text-align:center;min-height:75vh;gap:24px}.empty{padding:55px 24px;text-align:center;border:1px dashed var(--line);border-radius:24px}.empty h2{margin-bottom:10px}.empty .btn{margin-top:22px}.empty>p{max-width:410px;margin:auto;color:var(--muted)}.pill{display:inline-flex;align-items:center;gap:7px;background:var(--soft);padding:6px 11px;border-radius:9px;font-size:13px;font-weight:550}.field{display:flex;flex-direction:column;gap:8px;font-size:14px;margin-top:18px;min-width:0}.field input,.field textarea,.field select,.search{width:100%;min-width:0;color:var(--ink);background:var(--field);border:1px solid var(--line);border-radius:12px;padding:12px 13px;font-size:16px;min-height:46px}.field textarea{min-height:106px;resize:vertical;line-height:1.55}.field input::placeholder,.field textarea::placeholder,.search::placeholder{color:var(--placeholder)}.field:first-child{margin-top:0}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.form-grid>.field:first-child{margin-top:18px}.check{display:flex;align-items:center;gap:12px;font-size:14px;margin:16px 0}.check input{width:19px;height:19px;accent-color:var(--accent);flex-shrink:0}hr{border:0;border-top:1px solid var(--line);margin:24px 0}.login-shell{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:60px 28px}.login-appearance{position:absolute;right:30px;top:24px}.theme-switch{display:inline-flex;gap:3px;border:1px solid var(--edge);background:var(--glass);backdrop-filter:blur(20px);padding:4px;border-radius:22px}.theme-switch button{min-width:42px;min-height:36px;border-radius:18px;padding:6px 11px;color:var(--muted);font-size:13px}.theme-switch button.active{background:var(--panel);color:var(--ink);box-shadow:0 2px 8px var(--shadow)}.login-card{display:grid;grid-template-columns:420px minmax(0,500px);min-height:565px;border-radius:30px;overflow:hidden;max-width:100%;box-shadow:0 30px 90px var(--shadow)}.login-form{padding:42px;background:var(--panel);display:flex;flex-direction:column}.login-form .brand{margin-bottom:48px}.login-form h1{font-size:28px;letter-spacing:-.7px}.login-form .btn{width:100%;margin-top:24px}.login-form .login-foot{margin-top:auto;padding-top:36px}.login-art{padding:42px;display:flex;flex-direction:column;justify-content:flex-end;background:radial-gradient(ellipse at 95% 0%,var(--wash2),transparent 65%),radial-gradient(ellipse at 0% 100%,var(--wash1),transparent 65%),var(--glass)}.login-art .art-line{width:62px;height:4px;border-radius:4px;background:var(--accent);margin-bottom:28px}.login-art h2{font-size:34px;line-height:1.2;letter-spacing:-1px;max-width:290px}.login-art p{margin-top:18px;max-width:315px;color:var(--muted)}.login-services{display:flex;gap:8px;flex-wrap:wrap;margin-top:34px}.login-services span{font-size:12px;border:1px solid var(--edge);padding:7px 10px;border-radius:10px}.login-note{margin-top:20px;font-size:13px;color:var(--muted)}.app-shell{display:grid;grid-template-columns:228px minmax(0,1fr);min-height:100vh}.sidebar{position:sticky;top:0;height:100dvh;padding:32px 18px 20px;display:flex;flex-direction:column;border-left:0;border-top:0;border-bottom:0}.sidebar>.brand{padding:0 12px}.workspace-switch{display:flex;align-items:center;gap:11px;margin:32px 0 25px;padding:10px;border-radius:15px;text-align:left;width:100%;min-width:0}.workspace-switch>div{min-width:0}.workspace-switch strong{font-size:14px;display:block;overflow-wrap:anywhere}.workspace-switch small{display:block;color:var(--muted);font-size:12px;margin-top:2px}.avatar{width:40px;height:40px;background:var(--soft);border:1px solid var(--edge);border-radius:13px;display:inline-grid;place-items:center;font-size:13px;font-weight:600;flex-shrink:0;object-fit:cover}.sidebar nav{display:grid;gap:6px}.nav-link{display:flex;align-items:center;gap:12px;min-height:48px;padding:12px;border-radius:14px;color:var(--muted);font-size:14px}.nav-link.active{background:var(--panel);box-shadow:0 2px 10px var(--shadow),inset 0 1px var(--highlight);color:var(--accent)}.sidebar-bottom{margin-top:auto;padding-top:24px}.sidebar-bottom .nav-link{font-size:13px}.pilot-label{font-size:12px;color:var(--muted);padding:8px 12px}.main-wrap{min-width:0}.context-bar{height:62px;display:flex;align-items:center;justify-content:space-between;padding:0 42px;border-bottom:1px solid var(--line);font-size:13px;color:var(--muted);gap:12px}.context-bar strong{color:var(--ink);font-weight:550}.context-actions{display:flex;gap:12px;align-items:center}.context-actions select{font-size:13px;min-height:36px;background:var(--glass);border:1px solid var(--line);padding:6px 10px;border-radius:10px;color:var(--ink)}main.workspace-main{max-width:1430px;margin:auto;padding:38px 42px 70px}.page-head{display:flex;align-items:center;justify-content:space-between;gap:22px;margin-bottom:30px}.page-head>div{min-width:0}.page-head h1{overflow-wrap:anywhere}.page-head .sub{font-size:15px}.stats{display:flex;align-items:center;gap:28px;margin:14px 0 30px}.stats strong{font-size:38px;font-weight:600;letter-spacing:-1px;margin-right:10px}.stats span{font-size:14px;color:var(--muted)}.attention-btn{margin-left:auto;display:flex;align-items:center;gap:12px;padding:12px 18px;border-radius:24px;color:var(--ink);font-size:14px}.tabs{display:inline-flex;gap:4px;padding:4px;border-radius:15px;border:1px solid var(--edge);background:var(--glass);backdrop-filter:blur(22px)}.tabs button{min-height:40px;padding:9px 15px;font-size:14px;color:var(--muted);border-radius:11px}.tabs button.active{background:var(--panel);color:var(--ink);box-shadow:0 2px 8px var(--shadow)}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;margin:24px 0 18px}.range{display:flex;align-items:center;gap:10px}.range label{font-size:12px;color:var(--muted)}.range input{color:var(--ink);background:var(--field);border:1px solid var(--line);border-radius:10px;padding:8px;min-height:40px;font-size:14px;margin-left:7px}.project-table{border:1px solid var(--line);border-radius:21px;overflow:hidden;background:var(--panel)}.table-head,.project-line{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(170px,1fr) 100px minmax(130px,.9fr);align-items:center;gap:20px;padding:21px 24px}.table-head{font-size:13px;color:var(--muted);border-bottom:1px solid var(--line);padding-top:13px;padding-bottom:13px}.table-head button{margin-left:5px}.project-line{border-bottom:1px solid var(--line);transition:background .15s}.project-line:last-child{border-bottom:0}.project-line:hover{background:var(--soft)}.project-line strong{display:block;font-size:15px;font-weight:600}.project-line small{display:block;font-size:13px;color:var(--muted);margin-top:5px}.project-line time{font-size:14px}.next-cell>span{font-size:14px}.next-cell.your-turn>span{color:var(--accent)}.badge{display:inline-flex;align-items:center;padding:6px 9px;border-radius:8px;font-size:13px;font-weight:550;color:var(--stage);background:color-mix(in srgb,var(--stage) 11%,var(--field));gap:7px}.badge:before{content:'';width:5px;height:5px;background:var(--stage);border-radius:50%;flex-shrink:0}.segments{display:flex;gap:4px;max-width:150px;margin-top:10px}.segments span{height:4px;background:var(--line);flex:1;border-radius:2px}.segments .done{background:var(--stage)}.segments .current{height:6px;margin-top:-1px;background:var(--stage)}.info-btn{border:1px solid var(--line);border-radius:50%;width:30px;height:30px;display:inline-grid;place-items:center;font-family:Georgia,serif;font-style:italic;font-size:14px;color:var(--muted)}.board{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;align-items:start}.board-lane{padding:14px;border-radius:20px;background:var(--glass);border:1px solid var(--line)}.lane-head{display:flex;justify-content:space-between;gap:8px;font-size:13px;color:var(--muted);padding:3px 2px 15px}.board-card{display:block;background:var(--panel);border:1px solid var(--line);border-radius:15px;padding:16px;margin-top:10px}.board-card h3{margin:13px 0 8px;font-size:15px}.board-card time{font-size:13px;color:var(--muted)}.board-card .small{margin-top:10px}.project-cards{display:grid;gap:13px}.project-card{display:flex;align-items:center;gap:20px;padding:23px 25px;background:var(--panel);border:1px solid var(--edge);border-radius:21px;box-shadow:inset 0 1px var(--highlight),0 6px 20px var(--shadow);transition:transform .15s,box-shadow .15s}.project-card:hover{transform:translateY(-2px);box-shadow:0 10px 28px var(--shadow)}.project-card .card-copy{flex:1;min-width:0}.project-card h3{font-size:17px;font-weight:600}.project-card p{font-size:14px;color:var(--muted);margin-top:6px}.project-card .card-end{display:flex;align-items:center;gap:22px}.card-end time{font-size:14px;white-space:nowrap}.thumb{width:76px;height:62px;border-radius:12px;object-fit:cover}.section-label{display:flex;align-items:center;gap:12px;margin:30px 0 17px;font-size:15px;font-weight:550}.section-label span{color:var(--muted);font-size:13px}.delivered{margin-top:34px;padding-top:22px;border-top:1px solid var(--line)}.delivered summary{cursor:pointer;font-size:15px;margin-bottom:18px}.delivered .project-card{background:var(--glass);box-shadow:none}.clients-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.client-card{padding:26px;border-radius:25px;display:block;transition:transform .15s}.client-card:hover{transform:translateY(-3px)}.client-card .avatar{width:52px;height:52px;border-radius:17px;font-size:16px;margin-bottom:25px}.client-card h2{font-size:21px}.client-card .service-tags{display:flex;gap:6px;flex-wrap:wrap;margin:15px 0 27px}.service-tags span{font-size:12px;color:var(--muted)}.client-card footer{display:flex;justify-content:space-between;font-size:14px}.client-card footer span:last-child{color:var(--muted)}.back{display:inline-flex;gap:5px;color:var(--muted);font-size:14px;margin-bottom:20px}.detail-meta{display:flex;align-items:center;flex-wrap:wrap;gap:14px;margin:-12px 0 25px;color:var(--muted);font-size:14px}.detail-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(270px,1fr);gap:22px;align-items:start}.detail-layout .surface{margin-bottom:20px}.next-panel{border-left:3px solid var(--accent)}.next-panel h2{font-size:23px;max-width:550px}.copy{white-space:pre-wrap;overflow-wrap:anywhere;margin-top:15px}.facts{margin:16px 0 0}.facts>div{display:flex;justify-content:space-between;gap:15px;padding:11px 0;border-bottom:1px solid var(--line);font-size:14px}.facts>div:last-child{border:0}.facts dt{color:var(--muted)}.facts dd{margin:0;text-align:right;max-width:65%;overflow-wrap:anywhere}.time-note{font-size:13px;color:var(--muted);display:flex;gap:7px;align-items:center;padding-top:16px;border-top:1px solid var(--line);margin-top:12px}.detail-tabs{margin-bottom:24px}.version-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.version-number{font-size:13px;color:var(--muted);margin-bottom:8px}.review-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}.resource-row{display:flex;align-items:center;gap:16px;padding:20px 0;border-bottom:1px solid var(--line)}.resource-row:last-child{border:0}.resource-row>div{flex:1;min-width:0}.resource-row h3{font-size:15px}.resource-row p{font-size:14px;color:var(--muted);margin-top:4px}.resource-row>a{font-size:14px;color:var(--accent);padding:8px}.activity-row{border-left:2px solid var(--line);padding:0 0 24px 19px;margin:22px 0 0}.activity-row p{font-size:15px;white-space:pre-wrap;overflow-wrap:anywhere}.activity-row small{font-size:12px;color:var(--muted);display:block;margin-top:7px}.settings-row{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:19px 0;border-bottom:1px solid var(--line)}.settings-row:last-child{border:0}.settings-row p{font-size:14px;color:var(--muted);margin-top:4px}.color-control{display:flex;align-items:center;gap:12px;padding:8px 12px;border:1px solid var(--line);border-radius:13px;background:var(--field)}input[type=color]{width:30px;height:30px;padding:0;border:0;background:transparent;cursor:pointer}.color-control span{font-size:13px;color:var(--muted)}.service-options{display:flex;gap:15px;flex-wrap:wrap}.upload-label{position:relative;overflow:hidden;cursor:pointer}.upload-label input{position:absolute;inset:0;opacity:0;width:100%;cursor:pointer}.member-row{padding:22px 0;border-bottom:1px solid var(--line);display:flex;gap:15px;align-items:center}.member-row>div{flex:1;min-width:0}.member-row p{overflow-wrap:anywhere;font-size:14px}.member-row .small{margin-top:5px}.invoice-row{display:flex;align-items:center;justify-content:space-between;padding:20px 0;border-bottom:1px solid var(--line);gap:15px}.invoice-row:last-child{border:0}.invoice-row>div:first-child{flex:1}.invoice-row h3{font-size:15px}.invoice-row .amount{font-weight:600;font-size:18px;white-space:nowrap}.invoice-row p{margin-top:5px}.banner{background:var(--soft);border:1px solid var(--line);border-radius:14px;padding:14px 18px;color:var(--muted);font-size:14px;margin-bottom:24px}.mobile-nav,.mobile-top{display:none}.stage-guide>div{padding:15px 0;border-bottom:1px solid var(--line)}.stage-guide p{margin-top:7px;font-size:14px;color:var(--muted)}dialog{width:640px;max-width:calc(100% - 30px);max-height:90dvh;border:1px solid var(--edge);border-radius:27px;background:var(--dialog);color:var(--ink);padding:32px;box-shadow:0 30px 100px #0005;overflow:auto}dialog::backdrop{background:#10192855;backdrop-filter:blur(9px)}.modal-close{position:absolute;right:16px;top:14px;width:35px;height:35px;border-radius:50%;font-size:24px;color:var(--muted)}dialog h2{padding-right:24px}.voice-zone{margin:24px 0;background:var(--soft);border:1px solid var(--line);border-radius:18px;padding:19px}.voice-top{display:flex;align-items:center;gap:14px}.record-btn{height:48px;width:48px;display:grid;place-items:center;border-radius:50%;background:var(--accent);color:var(--on-accent);flex-shrink:0}.record-btn.recording{background:#b72c42;color:#fff}.voice-top h3{font-size:15px}.voice-top p{font-size:13px;color:var(--muted);margin-top:3px}.wave-wrap{display:none;margin-top:15px}.wave-wrap.active{display:flex;align-items:center;gap:12px}.wave-wrap canvas{flex:1;width:100%;height:42px;min-width:0}.wave-wrap time{font-size:13px;min-width:40px;font-variant-numeric:tabular-nums}.voice-bottom{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px;margin-top:15px;font-size:13px}.voice-bottom button,.voice-bottom label{font-size:13px;color:var(--accent);cursor:pointer;min-height:32px;display:inline-flex;align-items:center}.voice-status{font-size:12px;color:var(--muted);margin-top:12px}.voice-zone audio{width:100%;margin-top:15px}.draft-state{font-size:12px;color:var(--muted);margin-left:auto}.form-footer{display:flex;align-items:center;gap:12px;padding-top:23px;margin-top:24px;border-top:1px solid var(--line);background:var(--dialog);flex-wrap:wrap}.form-footer .btn{flex:1}.form-section{margin-top:24px}.form-section>h3{margin-bottom:8px}.link-input{display:flex;align-items:center;gap:8px;margin-top:10px}.link-input input{flex:1;min-width:0;background:var(--field);color:var(--ink);border:1px solid var(--line);border-radius:12px;padding:12px;font-size:15px}.optional{margin-top:24px;border-top:1px solid var(--line);padding-top:18px}.optional summary{font-size:14px;cursor:pointer;min-height:36px}.output-row{display:grid;grid-template-columns:78px minmax(0,1fr);gap:0 12px;border:1px solid var(--line);border-radius:13px;padding:14px;margin:13px 0;min-width:0}.output-row .field{margin-top:0}.output-row .size-fields{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.output-row select{font-size:14px}.output-row .remove{grid-column:1/-1;justify-self:start;font-size:13px;color:var(--muted);margin-top:8px}.search{max-width:340px}.brand.serif,.client-name.serif{font-family:Georgia,serif}.client-name.rounded{font-family:ui-rounded,system-ui,sans-serif}#toast{position:fixed;left:50%;bottom:28px;transform:translate(-50%,20px);opacity:0;pointer-events:none;background:var(--ink);color:var(--page);padding:14px 20px;border-radius:15px;box-shadow:0 8px 35px #0002;font-size:14px;z-index:100;width:max-content;max-width:calc(100% - 40px);transition:.2s}#toast.show{opacity:1;transform:translate(-50%,0)}[hidden]{display:none!important}
@media(max-width:1100px){.app-shell{grid-template-columns:200px 1fr}.context-bar{padding:0 25px}main.workspace-main{padding:30px 25px 60px}.table-head,.project-line{grid-template-columns:minmax(0,1.2fr) minmax(145px,1fr) 85px;gap:12px;padding:18px}.next-cell{display:none}.table-head>span:last-child{display:none}.board{grid-template-columns:repeat(2,minmax(0,1fr))}.clients-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.project-card .card-end{flex-direction:column;align-items:flex-end;gap:8px}.detail-layout{grid-template-columns:1fr}.login-card{grid-template-columns:390px minmax(0,1fr)}.login-art{padding:32px}}
@media(max-width:720px){body{font-size:16px}.app-shell{display:block}.sidebar{display:none}.mobile-top{display:flex;align-items:center;justify-content:space-between;padding:19px 20px 15px}.mobile-top .brand{font-size:24px}.mobile-top .avatar{height:36px;width:36px;border-radius:50%}.context-bar{height:auto;min-height:46px;padding:9px 20px;font-size:12px;gap:8px;flex-wrap:wrap}.context-actions select{max-width:175px;font-size:12px}.context-actions .text-button{font-size:12px;min-height:30px}.context-actions{gap:8px}.context-bar .pilot-hidden{display:none}main.workspace-main{padding:26px 20px 112px}.page-head{gap:12px;align-items:flex-start;margin-bottom:26px}.page-head .btn{font-size:13px;padding:11px 12px}.page-head .sub{font-size:14px}.eyebrow{font-size:12px;letter-spacing:1.6px}h1{font-size:30px}.stats{flex-wrap:wrap;gap:14px;margin-bottom:23px}.stats strong{font-size:32px}.stats>div span{font-size:13px}.attention-btn{width:100%;justify-content:space-between;margin-left:0;font-size:14px}.toolbar{gap:15px}.range{width:100%;gap:12px;flex-wrap:wrap}.range label{flex:1;min-width:0}.range input{display:block;width:100%;margin:5px 0 0;font-size:14px;min-height:42px}.table-head{display:none}.project-table{background:transparent;border:0;border-radius:0;display:grid;gap:12px}.project-line{display:grid;grid-template-columns:minmax(0,1fr) auto;background:var(--panel);border:1px solid var(--edge);border-radius:19px;gap:16px 10px;padding:20px}.project-line:last-child{border:1px solid var(--edge)}.project-line>div:first-child{grid-column:1;grid-row:1}.project-line strong{font-size:16px}.project-line>div:nth-child(2){grid-column:1;grid-row:2}.project-line>time{grid-column:2;grid-row:1;font-size:14px}.project-line .next-cell{display:block;grid-column:1/-1;font-size:13px}.project-line .next-cell small{display:inline;font-size:13px;margin-left:8px}.segments{max-width:180px}.board{grid-template-columns:1fr}.board-lane:has(.lane-empty){display:none}.project-card{padding:20px;gap:14px;flex-wrap:wrap}.project-card .card-copy{flex-basis:calc(100% - 75px)}.project-card h3{font-size:16px}.project-card p{font-size:13px}.project-card .card-end{flex-direction:row;width:100%;justify-content:space-between;align-items:center;gap:8px}.thumb{width:56px;height:56px}.project-card .card-chevron{display:none}.clients-grid{grid-template-columns:1fr}.client-card{padding:24px}.client-card .avatar{margin-bottom:20px}.mobile-nav{position:fixed;bottom:calc(12px + env(safe-area-inset-bottom));left:12px;right:12px;display:flex;align-items:center;justify-content:space-around;padding:6px;border-radius:25px;z-index:10}.mobile-nav .nav-link{flex:1;flex-direction:column;justify-content:center;gap:5px;padding:9px 4px;font-size:11px;min-height:55px;border-radius:19px}.mobile-nav .nav-link .icon{width:19px;height:19px}.mobile-nav .nav-link.active{background:var(--panel)}.surface{padding:21px;border-radius:20px}.form-grid{grid-template-columns:1fr;gap:0}.form-grid>.field:first-child{margin-top:18px}.detail-tabs{display:flex;width:100%;overflow:auto}.detail-tabs button{flex:1;padding:9px 8px;font-size:13px}.detail-meta{font-size:13px}.time-note{font-size:13px}.settings-row{flex-wrap:wrap;gap:15px}.settings-row h3{font-size:15px}.member-row{flex-wrap:wrap}.member-row>div{flex-basis:80%}.invoice-row{flex-wrap:wrap}.invoice-row>div:first-child{flex-basis:60%}.invoice-row .amount{font-size:16px}.login-shell{padding:84px 18px 30px;min-height:100dvh}.login-card{display:block;min-height:auto;width:420px;border-radius:26px}.login-form{padding:30px 26px}.login-form .brand{margin-bottom:38px}.login-art{display:none}.login-appearance{top:22px;right:22px}.login-form h1{font-size:28px}.login-form .login-foot{padding-top:32px}.login-note{font-size:13px}dialog{padding:25px 20px;max-width:calc(100% - 22px);max-height:90dvh;border-radius:24px;width:calc(100% - 22px)}dialog h2{font-size:23px}.voice-zone{padding:16px}.form-footer .btn{min-width:110px}.draft-state{flex-basis:100%;text-align:right}.resource-row .icon{display:none}.resource-row p{font-size:13px}.search{max-width:none}.theme-switch button{font-size:12px;padding:6px 10px}#toast{bottom:100px}.mobile-stage-info{display:flex!important;gap:10px;align-items:center;font-size:13px;color:var(--muted);margin-bottom:14px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}@media(prefers-reduced-transparency:reduce){.glass,.sidebar,.tabs,.theme-switch{background:var(--panel);backdrop-filter:none}}

.reservation-card{display:flex;justify-content:space-between;gap:20px;padding:18px;margin-top:14px;border:1px solid var(--line);border-radius:18px;text-decoration:none;color:inherit;background:var(--field)}.reservation-card p{margin-top:6px;color:var(--muted);font-size:.875rem}.reservation-card:hover{border-color:var(--accent)}.reservation-card:focus-visible{outline:2px solid var(--accent);outline-offset:3px}@media(max-width:600px){.reservation-card{flex-direction:column;gap:12px}.invoice-row{flex-wrap:wrap}}
/* Frosted workspace: tinted depth, crisp typography, quieter controls. */
:root{--wash1:#75c9fa65;--wash2:#b9a6f573;--panel:#ffffff91;--glass:#ffffff52;--field:#ffffff8f;--edge:#ffffffcc;--shadow:#243b6814}
:root[data-theme=dark]{--wash1:#247aaa60;--wash2:#685ec850;--panel:#1b2a3c80;--glass:#1e31445c;--field:#11233696;--edge:#adcefa29;--shadow:#00000026}
:root[data-palette=aurora]{--wash1:#66d9c6a0;--wash2:#a197ff8a;--accent:#177c79;--on-accent:white}
:root[data-palette=dusk]{--wash1:#eba4b894;--wash2:#b7a2efb0;--accent:#8250ac;--on-accent:white}
:root[data-palette=graphite]{--wash1:#aab9ca65;--wash2:#a2aec960;--accent:#475b74;--on-accent:white}
:root[data-theme=dark][data-palette=aurora]{--wash1:#15766965;--wash2:#6558ba75;--accent:#94eddb;--on-accent:#102c2a}
:root[data-theme=dark][data-palette=dusk]{--wash1:#92476860;--wash2:#614d9975;--accent:#e5b4f5;--on-accent:#30203e}
:root[data-theme=dark][data-palette=graphite]{--wash1:#3e526750;--wash2:#505b7355;--accent:#bacfe5;--on-accent:#162638}
body{background:radial-gradient(ellipse at 90% 3%,var(--wash1),transparent 65%),radial-gradient(ellipse at 15% 75%,var(--wash2),transparent 68%),var(--page);background-attachment:fixed;letter-spacing:-.015em}body:before{content:"";position:fixed;inset:0;pointer-events:none;z-index:-1;opacity:.16;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' opacity='.22' filter='url(%23n)'/%3E%3C/svg%3E")}
.surface,.project-card,.project-line,.board-card,.attention-btn,.client-card{background:var(--panel);backdrop-filter:blur(24px) saturate(140%);-webkit-backdrop-filter:blur(24px) saturate(140%);border:1px solid var(--edge);box-shadow:inset 0 1px 0 var(--highlight),0 12px 32px var(--shadow)}
.sidebar{margin:14px;height:calc(100vh - 28px);border-radius:26px;background:var(--glass);backdrop-filter:blur(38px) saturate(155%);-webkit-backdrop-filter:blur(38px) saturate(155%)}.brand{font-size:22px;letter-spacing:-.8px}.brand em{font-size:12px;letter-spacing:.7px;text-transform:uppercase;margin-left:5px}.workspace-switch{padding:20px 12px!important;gap:14px;align-items:center;background:linear-gradient(135deg,var(--highlight),transparent);border:1px solid var(--edge);border-radius:20px;margin:24px 0}.workspace-switch .avatar{height:54px;width:54px;min-width:54px;border-radius:17px;font-size:19px;display:inline-flex;align-items:center;justify-content:center;background:var(--field);border:1px solid var(--edge);object-fit:cover}.workspace-switch .client-name{font-size:17px;line-height:1.3}.workspace-switch small{font-size:12px;margin-top:5px}.mobile-top .avatar{width:40px;height:40px;min-width:40px;border-radius:13px;object-fit:cover;display:inline-flex;align-items:center;justify-content:center}.client-card .avatar{width:64px;height:64px;border-radius:20px;object-fit:cover}.context-bar{border-bottom:0;background:transparent}.nav-link{border-radius:13px}.nav-link.active{background:var(--field);box-shadow:inset 0 1px 0 var(--highlight),0 5px 16px var(--shadow)}
.project-table{background:none;border:0;overflow:visible}.project-line{border-radius:19px;margin-bottom:10px;transition:transform .18s,border-color .18s}.project-line:hover,.project-card:hover{transform:translateY(-2px);border-color:var(--accent)}.project-line>div:first-child{min-width:0}.project-line strong{font-weight:600}.priority{display:inline-flex;font-size:12px;font-weight:550;margin-top:8px;color:var(--muted);gap:5px}.priority-urgent{color:var(--danger)}.priority-high,.priority-date-sensitive{color:var(--accent)}.delivered summary{font-family:inherit;font-size:15px;font-weight:550;letter-spacing:-.01em;padding:22px 0;cursor:pointer}.request-actions{margin:0;gap:9px;flex-wrap:wrap}.request-actions .btn{min-height:40px;font-size:13px;padding:9px 14px}
input,select,textarea,button,summary{font-family:inherit}input,select,.choice-trigger{min-height:42px!important;padding:10px 13px!important;border-radius:12px!important;font-size:14px!important;font-weight:400;letter-spacing:-.01em}textarea{padding:13px!important;min-height:98px!important;border-radius:14px!important;font-size:15px!important}select{appearance:none;padding-right:36px!important;background-position:right 14px center}input[type=date]{font-family:inherit}.field{gap:9px;font-size:14px;margin-top:17px}.field+.field{margin-top:20px}.form-grid{gap:18px}.btn{box-shadow:inset 0 1px 0 #ffffff28,0 4px 14px var(--shadow)}
dialog{background:linear-gradient(145deg,var(--dialog),var(--panel));backdrop-filter:blur(45px) saturate(155%);-webkit-backdrop-filter:blur(45px) saturate(155%);border:1px solid var(--edge);border-radius:30px;box-shadow:inset 0 1px 0 var(--highlight),0 35px 110px #10244740;width:710px;max-width:calc(100% - 28px)}dialog::backdrop{background:#16243c38;backdrop-filter:blur(10px)}.request-section{padding:24px;margin-top:20px;border:1px solid var(--edge);border-radius:21px;background:var(--glass)}.section-kicker{font-size:11px;font-weight:650;letter-spacing:1.7px;color:var(--muted);margin-bottom:16px}.request-section>.field:first-of-type{margin-top:0}#service-fields{padding-top:4px}#service-fields+.field{margin-top:22px}.request-section .form-section{margin-top:18px}.form-footer{background:var(--dialog);border-top:1px solid var(--edge);padding-top:18px;gap:10px}.voice-zone{margin-top:22px;padding:0;border:1px solid var(--edge);background:linear-gradient(110deg,var(--field),var(--glass));border-radius:22px;overflow:hidden}.voice-top{display:flex;width:100%;align-items:center;text-align:left;gap:15px;padding:22px;min-height:98px}.voice-top>span:nth-child(2){flex:1}.voice-top strong{font-size:17px;font-weight:600}.voice-hint{display:block;margin-top:4px;font-size:13px;color:var(--muted)}.voice-action{font-size:13px;font-weight:600;color:var(--accent)}.record-btn{width:48px;height:48px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:var(--accent);color:var(--on-accent);flex-shrink:0}.recording .record-btn{background:#e95a70;color:white}.recording .record-btn svg{display:none}.recording .record-btn:after{content:"";height:15px;width:15px;border-radius:4px;background:white}.voice-status{padding:0 22px 16px;font-size:12px;color:var(--muted)}.voice-bottom{padding:0 22px;justify-content:flex-end}.voice-bottom button{font-size:13px;padding:8px;color:var(--accent)}#audio-player:not(:empty){padding:0 22px 14px}#audio-player audio{width:100%;height:40px}.wave-wrap{padding:0 22px 14px;align-items:center;gap:12px}.wave-wrap canvas{width:calc(100% - 55px);height:60px}.wave-wrap time{font-variant-numeric:tabular-nums;font-size:14px;color:var(--danger)}
.choice-control{position:relative;display:block;min-width:0;text-align:left}.choice-native{position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;opacity:0!important;padding:0!important;pointer-events:none}.choice-trigger{width:100%;text-align:left;display:block;padding-right:38px!important;background:var(--field);color:var(--ink);border:1px solid var(--line);line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.choice-trigger:after{content:"";position:absolute;right:17px;top:17px;width:6px;height:6px;border-right:1.5px solid var(--muted);border-bottom:1.5px solid var(--muted);transform:rotate(45deg)}.choice-control:has(.choice-panel:not([hidden])){z-index:25}.choice-panel{display:block;position:absolute;top:calc(100% + 7px);left:0;min-width:100%;width:max-content;max-width:min(360px,80vw);padding:8px;background:var(--dialog);border:1px solid var(--edge);border-radius:16px;box-shadow:0 16px 45px #10244730;z-index:30;font-size:14px;backdrop-filter:blur(28px)}[hidden]{display:none!important}.choice-options{display:flex;flex-direction:column;max-height:240px;overflow:auto;padding:3px;gap:3px}.choice-options button{padding:9px 11px;min-height:36px;border-radius:9px;text-align:left;font-size:14px;white-space:normal}.choice-options button:hover,.choice-options button:focus-visible,.choice-options .selected{background:var(--soft);color:var(--accent)}.choice-panel>input{width:100%;margin:0 0 6px}.calendar-nav{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:5px}.calendar-nav button{width:32px;height:32px;font-size:24px}.calendar-nav strong{font-size:14px}.calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);width:266px;gap:2px;padding:5px}.calendar-grid small{text-align:center;padding:6px;color:var(--muted)}.calendar-grid button{height:34px;width:34px;border-radius:50%;font-size:13px}.calendar-grid button:hover{background:var(--soft)}.calendar-grid .selected{background:var(--accent);color:var(--on-accent)}.calendar-grid+.text-button{padding:8px;font-size:12px}.range .choice-control{width:145px}.theme-gallery{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;padding-top:24px}.theme-tile{text-align:left;border:1px solid transparent;border-radius:18px;padding:8px}.theme-tile.selected{border-color:var(--accent);background:var(--glass)}.theme-tile strong{display:block;padding:9px 3px 3px;font-size:14px;font-weight:550}.theme-sample{height:95px;border-radius:12px;display:flex;gap:7px;padding:14px;background:linear-gradient(140deg,#a6dced,#b1b8ed)}.theme-sample.aurora{background:linear-gradient(140deg,#89d9c2,#ada2e5)}.theme-sample.dusk{background:linear-gradient(140deg,#e4a8bb,#a897d9)}.theme-sample.graphite{background:linear-gradient(140deg,#a5b4c5,#576a87)}.theme-sample i{display:block;width:22%;border:1px solid #ffffff80;border-radius:6px;background:#ffffff30;box-shadow:0 4px 12px #35456018}.theme-sample i+i{width:78%;background:#ffffff55}.billing-profile>.avatar{width:60px;height:60px;border-radius:18px;display:inline-flex;align-items:center;justify-content:center;object-fit:cover;margin-bottom:16px}.billing-facts{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:28px}.billing-facts dt{color:var(--muted);font-size:13px;margin-bottom:6px}.billing-facts dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:15px}.clients-grid>.surface{margin:0;min-width:0}.clients-grid>.surface h2{font-size:23px}
@media(max-width:760px){.sidebar{display:none}.workspace-main{padding-top:20px}.request-actions{width:100%}.request-section{padding:18px;margin-top:16px}.voice-top{padding:18px;gap:12px}.voice-action{font-size:12px}.theme-gallery{grid-template-columns:repeat(2,1fr)}.theme-sample{height:85px}.billing-facts{grid-template-columns:1fr}.range{gap:8px;flex-wrap:wrap}.range .choice-control{width:135px}.choice-panel{max-width:calc(100vw - 65px)}.page-head{gap:18px}.project-line{margin-bottom:12px}.mobile-top{background:var(--glass);backdrop-filter:blur(24px)}.form-grid{grid-template-columns:1fr}dialog{padding:25px 16px}.request-section .form-grid{gap:8px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
.workspace-switch{flex-direction:column;align-items:flex-start!important;padding:16px!important}.workspace-switch>div{width:100%}.workspace-switch strong{overflow-wrap:normal;word-break:normal}.workspace-switch .client-name{font-size:15px}.voice-bottom:has(button:not([hidden])){padding-bottom:8px}.voice-bottom:not(:has(button:not([hidden]))){display:none}.voice-top{min-height:90px}.voice-status{margin-top:0!important}.choice-panel{color:var(--ink)}
/* Compact studio refinement */
*{scrollbar-width:thin;scrollbar-color:color-mix(in srgb,var(--muted) 35%,transparent) transparent}::-webkit-scrollbar{width:7px;height:7px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:color-mix(in srgb,var(--muted) 35%,transparent);border-radius:10px;border:2px solid transparent;background-clip:padding-box}
body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;letter-spacing:0}.context-bar{position:sticky;top:0;z-index:35;background:var(--glass);backdrop-filter:blur(32px);border-bottom:1px solid var(--edge);gap:12px;flex-wrap:wrap}.context-actions{gap:10px;flex-wrap:wrap}.context-actions .theme-switch button{padding:6px 9px;font-size:12px}.attention-top{display:flex;gap:7px;align-items:center;font-size:13px}.attention-top span{padding:1px 6px;border-radius:7px;background:var(--field)}.info-btn{width:20px!important;height:20px!important;min-width:20px!important;font-size:12px!important;line-height:18px!important;padding:0!important}.stage-popover{position:fixed;inset:auto;margin:0;width:320px;max-width:calc(100vw - 24px);max-height:400px;overflow:auto;padding:18px;background:var(--dialog);color:var(--ink);border:1px solid var(--edge);border-radius:20px;box-shadow:0 18px 60px #0004;backdrop-filter:blur(35px)}.stage-popover h3{margin-bottom:15px}.stage-popover>div{padding:8px 0;border-top:1px solid var(--line)}.stage-popover p{font-size:12px;color:var(--muted);margin-top:5px}.stage-popover::backdrop{background:transparent}.stats{margin:16px 0!important;gap:16px}.stats>div{display:flex;gap:8px;align-items:baseline}.stats strong{font-size:22px!important;line-height:1.3}.stats span{font-size:15px!important}.toolbar{padding-bottom:16px;margin-bottom:10px;align-items:flex-end}.toolbar .tabs{min-height:42px;padding:3px}.toolbar .tabs button{min-height:34px;padding:6px 14px}.range .choice-trigger{height:42px}.table-head{border:0!important;padding-top:12px;padding-bottom:14px}.project-table{padding-bottom:4px}.project-line:last-child{margin-bottom:4px;border-bottom:1px solid var(--edge)}.request-actions [data-action=new-project]{font-size:14px;padding:11px 19px;min-height:44px;box-shadow:0 5px 24px color-mix(in srgb,var(--accent) 30%,transparent),inset 0 1px 0 #fff5}
.request-title{font-size:22px;margin-bottom:12px}.compact-request .request-section{padding:15px 18px;margin-top:12px}.compact-request .section-kicker{margin-bottom:9px;font-size:10px}.compact-request .field{margin-top:10px;gap:6px}.compact-request .field+.field{margin-top:12px}.compact-request textarea{min-height:70px!important;height:70px}.compact-request .voice-zone{margin:12px 0}.compact-request .voice-top{padding:13px 17px;min-height:70px}.compact-request .voice-status{padding:0 17px 10px;font-size:11px}.compact-request .record-btn{width:38px;height:38px}.compact-request .form-footer{position:sticky;bottom:-1px;z-index:28;margin-top:15px;margin-bottom:0;padding:14px 0;background:var(--dialog);display:flex;align-items:center;flex-wrap:wrap;border-top:1px solid var(--line)}.compact-request .form-footer .btn{flex:0 0 auto;min-height:42px}.compact-request .draft-state{margin-left:auto;font-size:12px}.compact-request .deliverables{margin-top:12px;padding-top:12px}.deliverables summary{font-size:14px;font-weight:600}.output-row{display:grid!important;grid-template-columns:90px minmax(0,1fr);gap:12px!important;align-items:start!important;margin-top:10px}.output-row .field{margin:0!important;min-width:0}.output-row .size-fields{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:12px}.output-row .remove{grid-column:1/-1;text-align:right;font-size:12px}.project-status{padding:22px!important;margin-bottom:18px}.status-top{display:flex;justify-content:space-between;gap:20px}.status-top .eyebrow{margin-bottom:8px;font-size:10px}.project-status .segments{width:100%;height:7px;margin:22px 0}.status-next{display:flex;align-items:center;gap:14px;font-size:15px}.status-next>span{flex:1}.detail-meta[hidden]{display:none!important}.detail-layout{gap:18px}.detail-layout .surface{padding:20px;margin-bottom:14px}.detail-layout .copy{margin-top:10px;font-size:15px}.admin-controls summary{cursor:pointer;font-weight:600;display:flex;justify-content:space-between}.admin-controls form{margin-top:14px}.detail-tabs{margin-top:0!important}.client-directory{display:flex;flex-direction:column;gap:8px;margin-top:18px}.client-directory .client-card{display:grid;grid-template-columns:48px minmax(120px,1fr) 1fr 1fr;gap:16px;align-items:center;padding:15px 18px;border-radius:18px;min-height:0}.client-directory .avatar{width:44px;height:44px;border-radius:14px;font-size:16px}.client-directory h2{font-size:17px;margin:0}.client-directory .service-tags{margin:0;font-size:12px;flex-wrap:wrap}.client-directory footer{margin:0;padding:0;border:0;display:flex;flex-direction:column;align-items:flex-end;gap:3px;font-size:12px}.client-directory [hidden]{display:none!important}#brand-form{margin-top:24px}#brand-form .field:first-child{margin-top:0}.check{align-items:center;gap:10px;font-size:14px}.check input[type=checkbox]{appearance:none;width:19px;height:19px;min-height:19px!important;padding:0!important;border:1px solid var(--line);border-radius:6px!important;background:var(--field);display:inline-grid;place-content:center;flex-shrink:0}.check input:checked{background:var(--accent);border-color:var(--accent)}.check input:checked:after{content:'✓';color:var(--on-accent);font-size:14px;font-weight:700}.resource-row{padding:13px 0!important}.surface{background:color-mix(in srgb,var(--panel) 72%,transparent);backdrop-filter:blur(34px) saturate(155%)}
:root[data-palette=ocean]{--wash1:#52bde68a;--wash2:#507df779;--accent:#2765be;--on-accent:white}:root[data-palette=plum]{--wash1:#b6a1e58a;--wash2:#dd89c873;--accent:#8b4798;--on-accent:white}:root[data-palette=amber]{--wash1:#efbd6780;--wash2:#df9b8773;--accent:#936021;--on-accent:white}:root[data-palette=forest]{--wash1:#83c5a380;--wash2:#92b5af73;--accent:#33785a;--on-accent:white}
:root[data-theme=dark][data-palette=ocean]{--wash1:#16678f70;--wash2:#35499f70;--accent:#92c7ff;--on-accent:#102941}:root[data-theme=dark][data-palette=plum]{--wash1:#65488170;--wash2:#833a7370;--accent:#e1b5f6;--on-accent:#301938}:root[data-theme=dark][data-palette=amber]{--wash1:#89612965;--wash2:#7f464870;--accent:#f2ca88;--on-accent:#392c15}:root[data-theme=dark][data-palette=forest]{--wash1:#245b4870;--wash2:#385e6970;--accent:#9bd9b9;--on-accent:#183329}.theme-sample.ocean{background:linear-gradient(130deg,#52bde6,#507df7)}.theme-sample.plum{background:linear-gradient(130deg,#b6a1e5,#dd89c8)}.theme-sample.amber{background:linear-gradient(130deg,#efbd67,#df9b87)}.theme-sample.forest{background:linear-gradient(130deg,#83c5a3,#527b72)}
@media(max-width:760px){.context-bar{position:relative;padding:10px 16px;gap:8px}.context-actions{width:100%;gap:7px}.context-actions>.small{display:none}.context-actions .choice-control{max-width:125px}.context-actions>.text-button{font-size:12px}.compact-request .request-section{padding:13px;margin-top:10px}.compact-request .form-footer .btn{min-width:0;padding:10px 12px;flex:1}.compact-request .draft-state{flex-basis:auto}.client-directory .client-card{grid-template-columns:42px 1fr;gap:10px}.client-directory .service-tags{grid-column:2}.client-directory footer{grid-column:2;align-items:flex-start}.status-next{flex-wrap:wrap}.status-next>.btn{width:100%}.theme-gallery{gap:10px}.output-row{grid-template-columns:75px minmax(0,1fr)}.project-status{padding:17px!important}}
dialog.request-dialog{width:850px;overflow:hidden;padding:24px;max-height:92dvh}.request-dialog .compact-request{display:flex;flex-direction:column;max-height:calc(92dvh - 120px)}.request-scroll{overflow-y:auto;min-height:0;padding:0 6px 8px 0;display:grid;grid-template-columns:1fr 1fr;gap:12px;align-items:start}.request-scroll>.voice-zone,.request-scroll>.error,.request-scroll>.field{grid-column:1/-1}.request-scroll>.voice-zone{margin:0}.request-scroll>.request-section{margin:0;height:100%}.request-scroll #request-error{margin:0}.request-dialog .compact-request .form-footer{position:static;flex-shrink:0;margin-top:10px;padding:12px 0 0;min-height:55px}.request-scroll .request-section .form-grid{grid-template-columns:1fr}.request-scroll .section-kicker{margin-bottom:8px}.request-scroll .link-input{margin-top:10px}.request-dialog .voice-status{font-size:12px}.request-dialog .voice-top{min-height:60px;padding:10px 16px}@media(max-width:650px){dialog.request-dialog{padding:18px 14px}.request-scroll{grid-template-columns:1fr}.request-dialog .compact-request{max-height:calc(92dvh - 108px)}.request-dialog .compact-request .form-footer{flex-wrap:nowrap}.request-dialog .draft-state{display:none}}
.request-scroll{grid-auto-rows:max-content;align-content:start}.request-scroll>.request-section{height:auto}.request-scroll>.voice-zone{min-height:99px}.request-scroll .output-row{padding:10px;margin-top:8px}.request-scroll .optional{margin-bottom:12px}.request-scroll .optional+.field{margin-top:12px}
.project-status .segments{max-width:none;width:100%;display:flex;gap:5px}.project-status .segments span{flex:1;width:auto;height:6px}.status-next>span{font-weight:500}
@media(max-width:760px){.context-bar{position:sticky;top:0}.context-actions .choice-control{display:none}.context-bar .theme-switch{flex-shrink:0}.context-actions{justify-content:space-between}}
/* Guided requests and per-deliverable review */
body{font-family:'Avenir Next','Avenir','Segoe UI',sans-serif}.client-name.serif{font-family:Georgia,'Times New Roman',serif!important;font-weight:500!important}.client-name.rounded{font-family:ui-rounded,'SF Pro Rounded','Arial Rounded MT Bold',sans-serif!important;letter-spacing:.4px}.client-name.system{font-family:'Avenir Next','Segoe UI',sans-serif!important}.context-bar>span,.context-actions>.small{display:none}.context-bar{justify-content:flex-end;padding-top:10px;padding-bottom:10px}.context-actions{width:auto}.attention-top{min-width:38px;min-height:38px;position:relative}.attention-top span{position:absolute;right:-3px;top:0;font-size:10px;background:var(--accent);color:var(--on-accent)}.context-actions>.icon-btn{height:38px;width:38px;border-radius:50%;background:var(--field);border:1px solid var(--edge)}.request-actions .btn{min-height:44px;padding:11px 19px;font-size:14px}.priority:before{content:'';width:4px;border-radius:3px;background:var(--muted);margin-right:4px;align-self:stretch}.priority-urgent:before{background:#f34860;box-shadow:0 0 10px #f3486040}.priority-high:before,.priority-date-sensitive:before{background:#f3a244}.priority-urgent{font-weight:700}.board-lane .lane-head{border-bottom:3px solid var(--accent);padding:12px;font-weight:650;background:var(--field);border-radius:12px;margin-bottom:14px}.board-lane:nth-child(1) .lane-head{border-color:#8a9aaf}.board-lane:nth-child(2) .lane-head{border-color:#578be7}.board-lane:nth-child(3) .lane-head{border-color:#e1a548}.board-lane:nth-child(4) .lane-head{border-color:#54b28b}.delivered h2{font-size:17px;margin:25px 0 15px}.deliverables h3{font-size:14px;margin-bottom:8px}.deliverables{border:0!important;padding:0!important}.section-heading{display:flex;align-items:center;justify-content:space-between}.wizard-progress{font-size:13px;color:var(--muted);padding:8px 0 16px}.request-scroll{display:block}.request-scroll>.request-section{margin-top:12px!important}.request-scroll>.voice-zone{margin-bottom:12px}.request-dialog{width:640px!important}.request-dialog .compact-request{max-height:calc(90dvh - 155px)}.request-scroll>.request-section[hidden],.request-scroll>.voice-zone[hidden]{display:none!important}.request-dialog .form-footer{gap:8px}.request-dialog .form-footer .btn{font-size:13px;padding:10px 14px}.request-dialog .draft-state{display:none}.deliverable-item{padding:15px 0;border-bottom:1px solid var(--line)}.deliverable-item:last-child{border-bottom:0}.deliverable-item>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:12px}.deliverable-item strong{font-size:14px}.deliverable-item .button-row{margin-top:8px;gap:14px}.deliverable-item .text-button{font-size:12px}.activity-avatar{display:inline-flex;width:28px;height:28px;align-items:center;justify-content:center;border-radius:50%;background:var(--field);color:var(--accent);font-size:11px;margin-bottom:7px}.activity-row p{white-space:pre-wrap}.voice-review{display:flex;align-items:center;gap:12px;padding:15px 0}.voice-review>button{width:38px;height:38px;border-radius:50%;background:var(--accent);color:var(--on-accent);flex-shrink:0}.voice-review audio{display:none}.memo-bars{flex:1;display:flex;align-items:center;justify-content:center;gap:3px;height:40px;overflow:hidden}.memo-bars i{display:block;width:3px;min-width:2px;background:var(--accent);border-radius:3px;opacity:.65}.playing .memo-bars i{opacity:1}.voice-seek{width:100%;accent-color:var(--accent);height:16px!important;min-height:16px!important;padding:0!important}.voice-review>span{font-size:12px;font-variant-numeric:tabular-nums}.surface,.project-line,.project-card{background:color-mix(in srgb,var(--panel) 60%,transparent);backdrop-filter:blur(38px) saturate(170%)}
:root[data-theme=dim]{color-scheme:dark;--page:#354454;--ink:#f5f8ff;--muted:#c3cfde;--placeholder:#b1bdcd;--panel:#6474878a;--dialog:#465668;--field:#2e405998;--glass:#91a8c13a;--soft:#586b80;--line:#8b9caf66;--edge:#d6e9ff40;--highlight:#ffffff25;--shadow:#07152629;--wash1:#5791b54a;--wash2:#957aba55;--accent:#bad9ff;--on-accent:#203348;--danger:#ffabc0}@media(max-width:650px){.request-dialog .compact-request .form-footer{flex-wrap:wrap}.request-dialog .form-footer .btn{flex:1}.deliverable-item>div:first-child{align-items:flex-start}.context-actions{width:100%;justify-content:flex-end}}
.request-dialog .compact-request .form-footer{background:transparent}.voice-zone #audio-player .voice-review{padding:8px 0;min-height:0}.voice-zone #audio-player .button-row{margin-top:10px;gap:10px}.voice-zone .voice-bottom{margin-top:0}.voice-zone #audio-player{padding-bottom:6px}.voice-zone .voice-review audio{display:none!important}.voice-zone .voice-seek{border:0;box-shadow:none;background:transparent}.request-dialog .voice-zone:has(.voice-review) .voice-top{min-height:55px}.wizard-progress{padding-bottom:10px}
/* Compact controls float in the top layer, clear of scroll containers. */
.choice-panel[popover]{position:fixed;inset:auto;margin:0;padding:8px;overflow:auto;box-sizing:border-box;color:var(--ink);background:color-mix(in srgb,var(--dialog) 94%,transparent);backdrop-filter:blur(30px) saturate(160%);border:1px solid var(--edge);border-radius:16px;box-shadow:0 16px 50px #142b4933;z-index:1000}
.choice-panel[popover] .choice-options{max-height:none;overflow:visible}.choice-panel[popover] input{font-size:14px;min-height:38px;padding:8px 10px}.choice-panel[popover] button{font-size:14px;min-height:36px}.choice-panel[hidden]{display:none!important}
.brand{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-weight:650;letter-spacing:-1px}.client-name.classic{font-family:Palatino,'Book Antiqua',serif!important}.client-name.humanist{font-family:Optima,Candara,sans-serif!important}.client-name.mono{font-family:ui-monospace,'SFMono-Regular',monospace!important;letter-spacing:-.5px}
.client-directory .client-card>.avatar{margin:0;align-self:center;justify-self:center;display:inline-grid;place-items:center;object-fit:cover;aspect-ratio:1}.board-card time{display:block;margin:10px 0 6px}.board-card .priority{display:flex;width:fit-content;margin:0 0 10px;gap:5px;font-size:12px;line-height:20px}.board-card .priority:before{position:static;flex-shrink:0}
.attention-popover{position:fixed;inset:auto;margin:0;width:min(340px,calc(100vw - 24px));max-height:65dvh;overflow:auto;padding:18px;color:var(--ink);background:color-mix(in srgb,var(--dialog) 88%,transparent);backdrop-filter:blur(38px) saturate(160%);border:1px solid var(--edge);border-radius:20px;box-shadow:0 18px 60px #162d4c30}.attention-popover h3{font-size:15px;margin-bottom:12px}.attention-list a{display:flex;flex-direction:column;gap:5px;padding:12px 0;border-top:1px solid var(--line);font-size:14px}.attention-list a>span:not(.badge){font-size:12px;color:var(--muted)}.attention-list .badge{align-self:flex-start;font-size:11px}
.request-dialog .request-scroll .output-row{grid-template-columns:70px 28px minmax(0,1fr);gap:8px!important;padding:10px;align-items:end!important}.remove-format{color:var(--danger);font-size:23px;min-height:40px;align-self:end;padding:0;border-radius:9px}.remove-format:disabled{opacity:.2}.request-dialog .compact-request .request-section{padding:14px}.request-dialog .field{font-size:13px;gap:5px;margin-top:12px}.request-dialog .field input,.request-dialog .choice-trigger{min-height:40px;padding:9px 12px;font-size:14px}.request-dialog .field textarea{min-height:75px;font-size:14px;padding:10px 12px}.request-dialog .voice-zone{min-height:0;padding:10px 12px}.request-dialog .voice-top{min-height:44px;padding:0}.request-dialog .voice-status{font-size:11px;margin:5px 0 0}.request-dialog .section-kicker{font-size:10px;margin-bottom:8px}.request-dialog .request-scroll{padding-bottom:2px}.request-dialog .compact-request .form-footer{background:none!important;box-shadow:none;gap:8px;padding:12px 0 0;margin-top:12px;flex-wrap:nowrap}.request-dialog .form-footer .btn{min-height:40px;padding:9px 13px;border-radius:12px;flex:0 0 auto}.request-dialog #keep-draft{background:none;border-color:transparent;color:var(--muted)}.request-dialog .form-footer>button:last-child{margin-left:auto;background:var(--accent);color:var(--on-accent);box-shadow:inset 0 1px #ffffff40,0 5px 16px var(--shadow)}
@media(max-width:760px){.mobile-top{display:flex;align-items:center;gap:8px;padding:14px 18px}.mobile-top .brand{margin-right:auto;font-size:23px}.mobile-top .brand em{font-size:11px}.mobile-top .icon-btn,.mobile-top .attention-top{width:36px;height:36px;min-height:36px;padding:6px;border-radius:50%;flex-shrink:0}.mobile-top [data-action=profile]{padding:0}.mobile-top .avatar{width:36px;height:36px;margin:0;border-radius:12px}.context-bar:has(.context-actions:empty){display:none}.context-bar{height:auto;min-height:0;padding:3px 18px}.context-actions{justify-content:flex-end}.page-head{align-items:flex-start;flex-direction:column;gap:14px}.page-head h1{font-size:30px;line-height:1.15}.page-head .eyebrow{margin-bottom:8px;font-size:10px}.page-head .request-actions{width:100%;margin:0}.request-actions .btn{min-height:42px;padding:10px 15px;border-radius:13px}.toolbar:has([data-view]){justify-content:center}.toolbar .tabs{margin-inline:auto}.request-dialog .compact-request .form-footer .btn{font-size:12px;padding:9px 10px}.client-directory .client-card>.avatar{align-self:start;margin-top:2px}.request-dialog .request-scroll .output-row{grid-template-columns:58px 26px minmax(0,1fr)}}

.choice-panel[popover]{min-width:0;max-width:calc(100vw - 24px)}

.request-dialog .form-footer>button[type=submit]{order:4;margin-left:auto}.request-dialog .form-footer>button:last-child{order:4}.request-dialog .form-footer #keep-draft{box-shadow:none;background:transparent;border-color:transparent}.request-dialog .form-footer>button[hidden]{display:none!important}
/* Dense workspace hierarchy and quieter motion. */
.context-bar{border:0;background:transparent;height:52px;min-height:0}.context-actions{gap:10px}.context-actions>.small{display:none}.mobile-top{border-bottom:0}.context-bar:has(.context-actions):not(:has(button)){display:none}
.workspace-main:has([data-view]) .page-head{margin-bottom:10px;gap:16px;align-items:center}.workspace-main:has([data-view]) .page-head h1{font-size:clamp(25px,3vw,34px);letter-spacing:-.8px}.workspace-main:has([data-view]) .page-head .eyebrow{font-size:11px;letter-spacing:1px;margin-bottom:5px}.workspace-main:has([data-view]) .stats{margin:0 0 16px;gap:8px}.workspace-main:has([data-view]) .stats strong{font-size:14px;letter-spacing:0;margin-right:5px;font-weight:600}.workspace-main:has([data-view]) .stats span{font-size:14px}.toolbar:has([data-view]){margin:14px 0}.toolbar:has([data-view]) .tabs{display:flex;width:100%;margin:0}.toolbar [data-view]{flex:1;min-height:38px;padding:7px}.request-actions{margin:0;gap:8px}.drafts-button{font-size:12px;margin-left:auto}.draft-entry{display:flex;justify-content:space-between;gap:14px;width:100%;text-align:left;border-bottom:1px solid var(--line);padding:16px 0}.draft-entry span{font-size:13px;color:var(--accent)}
.project-line{padding:14px 18px;gap:14px}.project-line strong{font-size:14px}.project-line small{font-size:12px;margin-top:3px}.project-line .segments{margin-top:8px}.project-card{padding:14px 18px;gap:12px}.board-card{padding:14px}.priority{font-size:11px!important;border-radius:6px;padding:3px 7px!important;line-height:17px!important;margin-top:5px!important;background:var(--soft)}.priority-high,.priority-date-sensitive{background:#ed9d2524;color:light-dark(#8b4b00,#ffd489)}.priority-urgent{background:#ee43572a;color:light-dark(#b91c36,#ff9dab);font-weight:700}.priority-low,.priority-flexible{color:var(--muted)}.mini-deliverables{display:flex;flex-wrap:wrap;gap:4px;margin-top:7px}.mini-item{display:inline-flex;gap:4px;align-items:center;border:1px solid var(--line);border-radius:5px;padding:2px 5px;font-size:10px;background:var(--field);color:var(--muted);line-height:15px}.mini-item>span{font-size:9px}.item-editing,.item-revisions{color:light-dark(#345db9,#9dbdff)}.item-client-review{color:light-dark(#9b5700,#ffce79)}.item-approved,.item-delivered{color:light-dark(#247350,#93dbad)}
.back{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border:1px solid var(--edge);background:var(--field);border-radius:12px;font-size:13px;margin-bottom:14px}.workspace-main:has(.project-status)>.page-head{margin-bottom:14px}.workspace-main:has(.project-status)>.page-head .eyebrow{display:inline-flex;background:var(--field);padding:4px 9px;border-radius:7px;font-size:10px;margin-bottom:7px}.project-status.surface{padding:14px 18px!important;margin-bottom:12px}.project-status .segments{height:5px;margin:12px 0}.status-top .eyebrow{font-size:9px;margin-bottom:4px}.status-top strong{font-size:13px}.status-next{font-size:13px;gap:10px}.status-next .text-button{min-height:30px;padding:3px 0}.detail-tabs{margin-bottom:12px}.detail-layout .surface{padding:16px;margin-bottom:12px}.detail-layout .copy{font-size:14px;margin-top:7px}.detail-layout .facts{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:12px}.detail-layout .facts>div{display:block;border:0;padding:9px;background:var(--field);border-radius:10px}.facts dt{font-size:10px;margin-bottom:4px;color:var(--muted)}.facts dd{font-size:12px;margin:0}.shared-notes{border-top:1px solid var(--line);margin-top:14px;padding-top:12px}.shared-notes textarea{min-height:64px}.shared-notes .activity-row{padding:9px 0}.deliverable-item{padding:9px 0}.deliverable-item .button-row{margin-top:3px}.deliverable-item .text-button{min-height:30px;padding:3px 0}.brief-player{display:flex;align-items:center;gap:10px;padding:10px;border-radius:14px;background:var(--field);margin-top:12px}.brief-player audio{display:none}.brief-player input{min-width:0;flex:1;accent-color:var(--accent)}.brief-player time{font-size:11px}.brief-player a{font-size:11px;white-space:nowrap}.brief-player .icon-btn{width:32px;height:32px}
.dialog-notice{position:sticky;top:0;z-index:99;background:var(--dialog);padding:10px;border:1px solid var(--danger);border-radius:10px;margin:0 28px 10px 0}.request-dialog #request-error:not(:empty){flex-shrink:0;margin:8px 0;padding:8px 10px;background:color-mix(in srgb,var(--danger) 12%,var(--dialog));border-radius:9px;font-size:12px}.request-dialog .request-scroll>.field{margin-bottom:14px}.request-dialog .form-grid>.field{margin-top:10px!important}.request-dialog #service-fields>.small{margin-top:12px}.request-dialog .voice-zone{position:relative;margin-top:12px!important;padding:10px 12px}.request-dialog .voice-top{display:flex;gap:10px}.voice-top .record-btn{width:36px;height:36px;min-width:36px;background:#e9526422;color:#df3a51;border:1px solid #ee52644a;border-radius:50%}.voice-action{padding:5px 10px!important;border:1px solid #e9526455!important;border-radius:18px!important;background:#e952641c!important;color:light-dark(#b62840,#ffadb9)!important;font-size:12px!important}.request-dialog .voice-hint{font-size:11px}.request-dialog .voice-zone:has(.voice-review) .voice-top{display:none}.request-dialog .voice-review{padding:0 28px 0 0!important;gap:8px}.request-dialog .memo-bars{height:28px}.request-dialog #remove-audio{position:absolute;right:10px;top:10px;display:grid;place-items:center;width:25px;height:25px;min-height:25px;border-radius:50%;border:1px solid var(--line);font-size:19px;padding:0;color:var(--muted)}.request-dialog #remove-audio[hidden]{display:none}.request-dialog .voice-bottom{min-height:0;padding:0}.request-dialog #audio-player .button-row{margin-top:3px;gap:12px}.request-dialog #audio-player .btn{min-height:30px;padding:4px 9px;font-size:12px}.request-dialog .voice-status{font-size:10px}.link-input{display:flex;align-items:center;gap:8px}.link-input input{min-width:0;flex:1}.link-input .attach-link{white-space:nowrap;font-size:12px}
.workspace-switch.logo-identity{display:flex;flex-direction:column;align-items:flex-start}.workspace-switch.logo-identity>img{width:100%;height:70px;max-height:90px;object-fit:contain;object-position:left center;border:0;background:transparent;border-radius:0}.workspace-switch.logo-identity.hide-client-name .client-name{display:none}
@media(max-width:760px){.context-bar{display:none}.workspace-main:has([data-view]) .page-head{display:grid;grid-template-columns:1fr auto;gap:8px}.workspace-main:has([data-view]) .page-head>div:first-child{grid-column:1/-1}.workspace-main:has([data-view]) .page-head .request-actions{grid-column:1;grid-row:2;width:auto}.workspace-main:has([data-view]) .page-head .drafts-button{grid-column:2;grid-row:2}.workspace-main:has([data-view]) .page-head h1{font-size:27px}.workspace-main:has([data-view]) .stats{margin-top:5px;margin-bottom:12px}.request-actions .btn{min-height:37px;padding:8px 12px;font-size:12px}.project-line{padding:13px!important;gap:8px!important}.project-line .next-cell{font-size:12px;margin-top:0}.project-line .next-cell small{display:inline;margin-left:5px}.project-line .segments{margin:6px 0 0}.project-line .badge{font-size:11px;padding:4px 7px}.project-line time{font-size:12px}.mobile-stage-info{margin:12px 0!important}.mini-deliverables{gap:3px}.mini-item{font-size:9px;padding:1px 4px}.mini-item>span{font-size:8px}.project-card{padding:12px!important}.status-next>.btn{width:auto;min-height:32px;font-size:11px;padding:6px 9px}.status-next{flex-wrap:wrap}.status-next>span{flex-basis:100%}.detail-layout .surface{padding:13px}.project-status.surface{padding:12px 14px!important}}
@media(prefers-reduced-motion:no-preference){.project-card,.board-card,.project-line,.client-card,.btn,.nav-link{transition:background .18s,box-shadow .18s,transform .18s}.project-card:hover,.board-card:hover,.client-card:hover{transform:translateY(-2px);box-shadow:0 7px 22px var(--shadow)}dialog[open]{animation:panel-in .18s ease-out}.workspace-main{animation:content-in .22s ease-out}@keyframes panel-in{from{opacity:0;transform:translateY(8px) scale(.99)}to{opacity:1;transform:none}}@keyframes content-in{from{opacity:.5;transform:translateY(5px)}to{opacity:1;transform:none}}}
.workspace-main:has([data-view]) .stats div strong{font-size:14px!important;line-height:1.4!important;font-weight:600}.mini-deliverables:before{content:'Deliverables';flex-basis:100%;font-size:10px;color:var(--muted);line-height:1.3}.mini-item,.mini-item>span{font-size:10px!important}.status-next>span{line-height:1.4}.project-status .status-next{row-gap:5px}.shared-notes .field textarea{min-height:60px}.workspace-main:has(.project-status) .page-head h1{font-size:clamp(25px,3vw,34px)}
/* Final chrome: floating tools, no translucent header strip. */
.context-bar{display:contents!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;background:none!important;border:0!important;box-shadow:none!important}.context-actions{position:fixed;right:24px;top:16px;z-index:40;width:auto;padding:0;background:none}.main-wrap{position:relative}.mobile-top{background:none!important;backdrop-filter:none!important;box-shadow:none!important}.sidebar{top:14px!important;margin:14px 0 14px 14px;height:calc(100dvh - 28px)!important;align-self:start;border-radius:26px}.sidebar>.brand{display:block;text-align:center;padding:0!important;width:100%;font-size:24px}.sidebar>.brand em{font-size:12px}.workspace-main{padding-top:70px!important}.stage-popover{inset:auto!important;margin:0!important;max-height:min(420px,calc(100dvh - 24px));font-size:13px}.stage-popover h3{font-size:14px;margin-bottom:9px}.stage-popover>div{padding:7px 0}.stage-popover p{font-size:11px}.stage-popover .badge{font-size:11px;padding:4px 7px}
/* Respect script positioning; only clear browser defaults, not inline coordinates. */
.stage-popover{inset:auto auto auto auto!important}.stage-popover[style]{left:var(--popover-x,12px)!important;top:var(--popover-y,12px)!important}
.detail-tabs{display:flex;width:100%}.detail-tabs button{flex:1;min-width:0;min-height:34px;padding:6px 8px}.project-heading{display:flex!important;align-items:center!important;gap:12px!important;margin-bottom:12px!important}.project-heading>div{flex:1;min-width:0}.project-heading h1{font-size:clamp(23px,2.8vw,32px)!important}.project-heading .sub{font-size:12px;margin-top:3px}.project-heading>.pill{white-space:nowrap;font-size:10px;padding:4px 8px}.project-heading>.pill svg{width:14px;height:14px}.project-status .status-top{align-items:center}.project-status .status-next{display:flex;flex-wrap:nowrap}.project-status .status-next>span{flex:1;flex-basis:auto;font-size:12px}.project-status .status-top .eyebrow{display:none}.project-status .segments{margin:8px 0;height:4px}.project-status.surface{padding:11px 14px!important}.project-status .badge{font-size:11px;padding:4px 7px}.project-status .status-next button{min-height:28px;font-size:11px;white-space:nowrap}.detail-layout .facts>div{display:flex;flex-direction:column;align-items:flex-start;gap:4px;padding:10px}.detail-layout .facts dt,.detail-layout .facts dd{font-size:12px!important;line-height:1.4;margin:0!important;text-align:left!important;width:100%}.detail-layout .facts dd{font-weight:550}.detail-layout .time-note{margin-top:10px;padding-top:10px;font-size:12px}.small-action{min-height:30px!important;padding:5px 10px!important;font-size:12px!important;border-radius:10px!important}.detail-layout .shared-notes textarea{min-height:65px}
#modal-form>.form-footer{background:none!important;box-shadow:none!important;position:static;border-top:1px solid var(--line);padding:14px 0 0;margin-top:16px;justify-content:flex-end;gap:9px}#modal-form>.form-footer .btn{flex:0 0 auto;min-height:38px;padding:8px 17px;min-width:85px}
.priority-low{background:#24a69a20;color:light-dark(#15796e,#84d6c8)}.priority-low:before{background:#29aa98}.priority-normal{background:#588bd726;color:light-dark(#345f9e,#aac9ff)}.priority-normal:before{background:#679ae8}.bulk-tools{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:8px 0;border-bottom:1px solid var(--line);padding-bottom:6px}.bulk-tools .check{margin:0;font-size:12px}.bulk-tools .text-button{font-size:11px;min-height:30px}.item-title{flex:1;min-width:0}.item-title strong{font-size:13px;overflow-wrap:anywhere}.item-title small{display:block;font-size:10px;color:var(--muted)}.item-title a:hover{color:var(--accent)}.item-check{width:17px;height:17px;accent-color:var(--accent)}.deliverable-item .pill{font-size:10px;padding:4px 7px}.deliverable-item .button-row{padding-left:26px;gap:14px}.deliverable-item>div:first-child{align-items:center!important;gap:9px}
.portrait-thumb{width:36px!important;height:64px!important;aspect-ratio:9/16;object-fit:cover;object-position:center;border-radius:8px!important;flex-shrink:0}.placeholder-thumb{display:grid;place-items:center;background:var(--field);border:1px solid var(--line);color:var(--muted)}.placeholder-thumb svg{width:16px;height:16px}.timeline-identity{display:flex;align-items:flex-start;gap:10px;min-width:0}.timeline-identity>div{min-width:0}.project-card .mini-deliverables{display:none}.project-card .card-copy>p{font-size:11px;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:45vw}.project-card{padding:10px 14px!important;min-height:84px;gap:12px}.project-card h3{font-size:14px}.project-card .badge{font-size:10px;padding:4px 7px}.project-card .card-end time{font-size:11px}.project-card .priority{margin-top:4px!important}.project-cards{gap:8px}.request-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.request-actions .drafts-button{order:3;margin:0;font-size:12px;padding:6px 10px;border:1px solid var(--line);border-radius:10px;min-height:34px}.search-wrap{display:flex;align-items:center;gap:8px;flex:1;min-width:0}.search-wrap>span{font-size:27px;color:var(--muted);line-height:1}.search-wrap .search{width:100%;min-width:0}.workspace-main:has(#project-search) .page-head{margin-bottom:14px}.workspace-main:has(#project-search) .toolbar{margin:12px 0}.workspace-main:has(#project-search) .page-head .sub{display:none}
.restart-request{position:absolute;right:42px;top:70px;font-size:11px;min-height:28px}.request-dialog .voice-zone:has(.voice-review) #remove-audio{top:10px;right:10px}.request-dialog .voice-zone:not(:has(.voice-review)) #remove-audio{display:none}.request-dialog .voice-zone:has(.voice-review){padding:10px 12px}.request-dialog .voice-review{padding-right:30px!important}.request-dialog .voice-status:empty{display:none}.request-dialog .voice-zone #audio-player .button-row{margin-top:0}.voice-zone .voice-bottom{display:contents}.request-dialog .voice-status{margin-top:5px}.request-dialog .voice-seek{height:12px!important;min-height:12px!important}.request-dialog .request-section .field[hidden]{display:none!important}
.workspace-switch{padding:14px!important;gap:10px!important}.workspace-switch:not(.logo-identity)>.avatar{width:58px!important;height:58px!important;border-radius:50%!important}.workspace-switch.logo-identity{align-items:center!important}.workspace-switch.logo-identity>img{width:100%!important;max-width:175px;height:85px!important;max-height:85px;object-fit:contain!important;object-position:center!important;box-shadow:none!important;border-radius:0!important;background:transparent!important;border:0!important}.workspace-switch.logo-identity>div{text-align:center}.workspace-switch.logo-identity.hide-client-name small{display:none}.workspace-switch strong{font-size:14px!important}.directory-entry[hidden]{display:none!important}.directory-entry .client-card{margin:0}.client-row-actions{display:flex;gap:14px;justify-content:flex-end;padding:0 12px}.client-row-actions .text-button{font-size:11px;min-height:28px;padding:3px}.directory-filters{display:flex;gap:12px;margin-bottom:12px}.directory-filters .field{margin:0;flex:1}.invoice-detail{font-size:15px;font-weight:600;text-align:left}.invoice-facts{display:grid;grid-template-columns:1fr 1fr;gap:14px}.invoice-facts dt{font-size:11px;color:var(--muted)}.invoice-facts dd{margin:4px 0;font-size:14px;white-space:pre-wrap}
@media(max-width:760px){.context-actions{display:none}.mobile-top{padding:12px 18px!important}.workspace-main{padding-top:18px!important}.project-heading{flex-direction:row!important;flex-wrap:wrap}.project-heading>.pill{align-self:center}.project-heading>.text-button{font-size:11px}.request-actions{width:100%;justify-content:flex-start}.workspace-main:has([data-view]) .page-head .request-actions{grid-column:1/-1}.workspace-main:has(#project-search) .page-head{gap:10px}.workspace-main:has(#project-search) .toolbar{gap:10px}.workspace-main:has(#project-search) .toolbar .tabs{width:100%;display:flex}.workspace-main:has(#project-search) .toolbar .tabs button{flex:1;padding:6px;font-size:12px}.project-card{display:grid!important;grid-template-columns:28px minmax(0,1fr) auto!important;gap:9px!important;padding:10px!important}.project-card .portrait-thumb{width:28px!important;height:50px!important}.project-card .card-end{grid-column:3!important;grid-row:1!important;align-self:center;margin:0!important;padding:0!important;border:0!important}.project-card .card-copy{grid-column:2}.project-card .card-chevron{display:none}.project-card .card-copy>p{max-width:42vw;font-size:10px}.project-card h3{font-size:12px}.project-card .priority{font-size:10px!important;padding:1px 5px!important}.project-card .badge{font-size:9px}.project-card .card-end time{font-size:10px}.timeline-identity .portrait-thumb{width:28px!important;height:50px!important}.project-line .timeline-identity>div{flex:1}.bulk-tools{gap:8px}.restart-request{top:65px;right:28px}.project-status .status-next{flex-wrap:wrap}.project-status .status-next>span{flex-basis:65%}.invoice-row{gap:10px}.sidebar{margin:0}}

/* Consistent spacing and compact mobile surfaces. */
.workspace-main>.surface{margin-top:18px}.workspace-main>.surface:first-child{margin-top:0}
.workspace-main>.surface>h3+p{margin-top:8px}.workspace-main>.surface>p+.btn{margin-top:16px}.workspace-main>.surface>.btn+p{margin-top:14px}
#note-form{display:grid;gap:12px;margin-top:12px}#note-form .field{margin:0}#note-form>.btn{justify-self:start}#note-form .error:empty{display:none}
.active-count{display:inline-flex;align-items:center;gap:8px;font-size:14px;font-weight:550;color:var(--muted);padding:6px 12px;border:1px solid var(--line);border-radius:99px;background:var(--glass)}.stats{margin:0 0 16px;gap:0}.stats .active-count:before{content:'';width:6px;height:6px;background:var(--accent);border-radius:50%}
.search-wrap{position:relative;display:block;width:min(100%,440px)}.search-wrap>span{position:absolute;left:14px;top:50%;transform:translateY(-50%);pointer-events:none;font-size:24px;color:var(--muted)}.search-wrap input.search{padding-left:44px;width:100%}
.directory-entry{border:1px solid var(--line);border-radius:22px;background:var(--glass);overflow:hidden}.directory-entry>.client-card{border:0;border-radius:0;box-shadow:none;background:transparent}.client-row-actions{display:flex;justify-content:flex-end;gap:10px;padding:0 18px 12px;margin:0}.client-row-actions .text-button{padding:6px 12px;min-height:36px;border-radius:10px;background:var(--soft);font-size:13px}.client-row-actions [data-trash-client]{color:var(--danger)}
input[type=checkbox]{appearance:none;-webkit-appearance:none;display:inline-grid;place-content:center;width:20px;height:20px;min-width:20px;min-height:20px;margin:0;border:1.5px solid var(--muted);border-radius:6px;background:var(--field);vertical-align:middle;cursor:pointer}input[type=checkbox]:checked{background:var(--accent);border-color:var(--accent)}input[type=checkbox]:checked:after{content:'';width:9px;height:5px;border-left:2px solid var(--on-accent);border-bottom:2px solid var(--on-accent);transform:rotate(-45deg) translateY(-1px)}
.mini-deliverables{gap:5px}.mini-item{display:inline-flex;gap:7px;max-width:100%;white-space:normal;line-height:1.4;padding:4px 7px}.mini-item>span{opacity:.85;white-space:nowrap}.date-label{display:block;font-size:12px;color:var(--muted)}
.avatar.is-logo{object-fit:contain!important;border:0!important;border-radius:0!important;background:transparent!important;padding:0!important;box-shadow:none!important}.workspace-switch.logo-identity{align-items:center;text-align:center}.workspace-switch.logo-identity>.avatar{width:100%!important;max-width:180px;height:90px!important;object-fit:contain!important}.workspace-switch.logo-identity>div{width:100%}.mobile-top .avatar.is-logo{width:54px;height:40px}.workspace-switch:not(.logo-identity)>.avatar.is-photo{object-fit:cover;width:72px;height:72px;border-radius:18px}
.stage-popover{scrollbar-width:thin;scrollbar-gutter:stable;padding:18px!important;overflow-y:auto!important;clip-path:inset(0 round 20px)}.stage-popover::-webkit-scrollbar{width:6px}.stage-popover::-webkit-scrollbar-track{margin:18px 0}
.restart-request{position:static!important;float:none!important;display:inline-flex;align-items:center;margin:0 0 12px auto!important;min-height:36px;padding:6px 12px!important;background:var(--soft);border:1px solid var(--line);border-radius:10px;font-size:13px!important}.attach-link{padding:8px 14px!important;background:var(--soft);border:1px solid var(--line);border-radius:10px;min-height:40px;white-space:nowrap}.link-input{align-items:center;gap:8px}
@media(max-width:760px){
.mobile-nav{left:12px!important;right:12px!important;bottom:max(10px,env(safe-area-inset-bottom))!important;width:auto!important;max-width:none!important;padding:5px!important;border-radius:20px!important;display:flex!important;gap:2px!important}.mobile-nav .nav-link{flex:1;min-width:0;min-height:58px;padding:6px 2px!important;gap:4px!important;font-size:10px!important;line-height:1.15;text-align:center}.mobile-nav .nav-link .icon{width:20px;height:20px}.mobile-nav .nav-link span{max-width:100%;overflow-wrap:normal}
.project-line{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:12px!important;padding:14px!important}.project-line>.timeline-identity{grid-column:1/-1!important;grid-row:1!important;min-width:0;align-items:start}.project-line>div:nth-child(2){grid-column:1!important;grid-row:2!important}.project-line>.timeline-date{position:static!important;grid-column:2!important;grid-row:2!important;align-self:center;text-align:right;min-width:70px}.project-line>.next-cell{grid-column:1/-1!important;grid-row:3!important;display:flex!important;gap:8px!important;align-items:baseline}.project-line>.next-cell span{font-size:12px;color:var(--muted);white-space:nowrap}.project-line>.next-cell small{font-size:13px}.timeline-identity>div{min-width:0}.project-line .mini-deliverables{margin-top:10px}.project-line .segments{max-width:220px}.client-row-actions{padding:0 12px 12px}.workspace-main{padding-bottom:110px!important}.resource-row{flex-wrap:wrap;gap:12px}.page-head .btn{max-width:100%}
}
/* Project cards use one spacing rhythm across both column wrappers. */
.detail-layout{gap:16px!important;margin-top:0!important;align-items:start}.detail-layout>div{display:flex;flex-direction:column;gap:16px!important;min-width:0}.detail-layout>div>.surface,.detail-layout>div>details.surface{margin:0!important}.project-status{margin-bottom:16px!important}.detail-tabs{margin-top:0!important;margin-bottom:16px!important}.detail-layout .surface{padding:18px!important}.detail-layout .section-heading{margin-bottom:12px}.detail-layout .facts{margin-top:12px;margin-bottom:0}.shared-notes{margin-top:16px!important;padding-top:16px!important}.shared-notes #note-form{margin-top:10px}.font-preview{margin-top:12px;font-size:24px;overflow-wrap:anywhere;line-height:1.6}.resource-row>div{min-width:0;flex:1}
@media(max-width:900px){.detail-layout{display:flex!important;flex-direction:column;gap:16px!important}.detail-layout>div{width:100%}}
/* Timeline cards: summary above, deliverables across the full width. */
.project-line.timeline-card{display:block!important;padding:16px!important}.timeline-summary{display:grid;grid-template-columns:minmax(180px,1.4fr) minmax(150px,1fr) 100px minmax(140px,1fr);gap:20px;align-items:center}.timeline-summary .timeline-stage{justify-self:center;width:100%;max-width:230px}.timeline-summary time{text-align:right}.timeline-card>.mini-deliverables{display:flex;flex-wrap:wrap;margin:14px 0 0!important;padding-top:12px;border-top:1px solid var(--line);gap:6px}.timeline-card>.mini-deliverables:before{flex-basis:100%;margin:0 0 3px}.timeline-card .mini-item{max-width:100%;font-size:12px}.overview-meta{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}.overview-meta .info-btn{vertical-align:middle}.timeline-summary .next-cell{display:grid;gap:3px;font-size:13px}.timeline-summary .next-cell small{font-size:12px}
.deliverable-panel input[type=checkbox],.deliverable-item input.item-check{width:20px!important;height:20px!important;min-width:20px!important;min-height:20px!important;max-width:20px!important;max-height:20px!important;padding:0!important;margin:0!important;flex:0 0 20px!important;align-self:center!important;border-radius:6px!important;aspect-ratio:1!important}.deliverable-item>div:first-child{display:flex;gap:12px}.deliverable-item input:focus-visible{outline-offset:3px}.search-wrap input.search{padding-left:44px!important}.search-wrap>span{z-index:1;width:20px;height:20px;display:grid;place-items:center;left:14px}.search-wrap>span .icon{width:19px;height:19px}.client-row-actions{align-items:center!important}.client-row-actions>.text-button{display:inline-flex!important;align-items:center;justify-content:center;line-height:1!important;height:36px!important;min-height:36px!important;margin:0!important;box-sizing:border-box;vertical-align:middle}
.simple-login{display:block;min-height:0;width:440px}.simple-login .login-form{padding:32px}.simple-login .brand{margin-bottom:28px}.simple-login .small{margin-top:8px}.simple-login .btn{margin-top:16px}.login-divider{text-align:center;margin:20px 0;color:var(--muted);font-size:13px}.pilot-entry{display:block;text-align:center;margin-top:24px;border-top:1px solid var(--line);padding-top:16px}.language-options{display:flex;gap:12px;margin:20px 0}.onboarding{padding:10px}.onboarding h2{margin:12px 0}.onboarding>p{line-height:1.6}.onboarding .button-row{justify-content:space-between}.project-folder-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 14px}.item-history{margin-top:18px}.item-history+.item-history{border-top:1px solid var(--line);padding-top:18px}.item-history small{display:block;color:var(--muted);font-size:12px}
@media(max-width:900px){.timeline-summary{grid-template-columns:minmax(0,1fr) auto;gap:12px}.timeline-summary .timeline-identity{grid-column:1/-1}.timeline-summary .timeline-stage{justify-self:start;grid-column:1}.timeline-summary time{grid-column:2}.timeline-summary .next-cell{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:8px}.timeline-card>.mini-deliverables{margin-top:12px!important}.mobile-top{gap:7px}.mobile-top .icon-btn{width:32px;min-width:32px;height:32px}.mobile-top .brand{margin-right:auto}.overview-meta .small{font-size:12px}}
.resource-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:12px;margin-top:14px}.resource-tile{padding:16px;border:1px solid var(--line);border-radius:16px;background:var(--field)}.resource-tile .button-row{margin-top:12px}.resource-tile .section-heading{gap:12px;align-items:start}.resource-tile .pill{font-size:11px;white-space:nowrap}.resource-group-title{margin-top:20px}.resource-tile .font-preview{font-size:26px;padding:12px 0}
.language-popover{position:fixed;inset:auto;margin:0;width:180px;padding:6px;border:1px solid var(--edge);border-radius:16px;color:var(--ink);background:var(--dialog);box-shadow:0 12px 40px var(--shadow);backdrop-filter:blur(30px)}.language-popover button{display:block;width:100%;text-align:left;padding:9px 12px;border-radius:9px;font-size:14px}.language-popover button:hover{background:var(--soft)}
.deliverable-item{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 0!important}.deliverable-item>div:first-child{flex:1;min-width:0}.deliverable-item .item-title .pill{display:inline-flex;margin-top:5px}.deliverable-item .button-row{flex-shrink:0;margin:0!important;padding:0!important;gap:12px}.deliverable-item .text-button{min-height:36px}.item-history{padding:18px;border:1px solid var(--line);border-radius:16px;background:var(--field);margin-top:16px}.item-history+.item-history{padding-top:18px}.item-history>h3{font-size:19px;font-weight:650;letter-spacing:-.3px}.item-history .resource-row{padding:12px 0}.item-history .resource-row:last-child{border-bottom:0}
input[type=file]::file-selector-button{font:inherit;color:var(--ink);background:var(--soft);border:1px solid var(--line);border-radius:10px;padding:9px 14px;margin-right:12px;cursor:pointer}.field input[type=file]{padding:8px}.priority-inline{display:inline-flex;align-items:center;gap:8px;font-size:12px;margin-left:12px}.priority-inline .portal-select,.priority-inline select{min-width:100px}.brief-player{display:flex;align-items:center;gap:12px;padding:12px!important;border:1px solid var(--line);border-radius:16px;background:var(--field)}.brief-player .icon-btn{display:inline-flex;align-items:center;justify-content:center;flex:0 0 36px;width:36px;height:36px;border-radius:50%;margin:0!important;padding:0!important}.brief-player input[type=range]{flex:1;min-width:30px;height:5px;padding:0!important;accent-color:var(--accent)}.brief-player time{font-size:12px;min-width:34px;font-variant-numeric:tabular-nums}.brief-player .audio-download .icon{width:18px;height:18px}.invoice-detail:after{content:none!important}.invoice-eye{flex-shrink:0}
@media(max-width:600px){.deliverable-item{gap:8px}.deliverable-item .button-row{gap:8px;flex-wrap:wrap;max-width:150px;justify-content:flex-end}.deliverable-item .text-button{font-size:12px}.priority-inline{display:flex;margin:8px 0 0;gap:6px}.item-history{padding:12px}.item-history .resource-row{gap:10px;justify-content:space-between}.item-history>h3{font-size:17px}}
/* Shared status colours and compact priority control. */
.deliverable-status{display:inline-flex;align-items:center;gap:6px;background:var(--field);border:1px solid currentColor;width:fit-content}
.deliverable-status:before{content:'';width:6px;height:6px;border-radius:50%;background:currentColor}
.deliverable-status.item-planned{color:var(--muted)}
.project-status #quick-priority{display:inline-flex;align-items:center;margin-left:0;cursor:pointer;border:0;font-family:inherit;min-height:26px}
.brief-wave{position:relative;flex:1;min-width:70px;height:44px}
.brief-wave canvas{display:block;width:100%;height:44px;pointer-events:none}
.brief-player .brief-wave input[type=range]{position:absolute;inset:0;width:100%;height:44px;margin:0;opacity:0;cursor:pointer;min-height:0}
.brief-wave:focus-within{outline:2px solid var(--accent);outline-offset:3px;border-radius:5px}
.brief-player time{white-space:nowrap}
@media(max-width:480px){.brief-player{gap:8px}.brief-player time{font-size:10px}.brief-player .icon-btn{flex-basis:30px;width:30px;height:30px}}

/* Align stage and priority as a single wrapping row, independent of text baselines. */
.project-status .status-top>div:first-child{display:flex;align-items:center;flex-wrap:wrap;gap:10px;min-width:0}
.project-status .status-top>div:first-child>.badge,.project-status .status-top>div:first-child>.priority{margin:0!important;min-height:26px;display:inline-flex;align-items:center}
