:root{--bg:#f5f5f7;--card:#fff;--ink:#17171d;--muted:#73747f;--line:#e7e7eb;--accent:#6654e8;--soft:#efedff;--success:#169866;--warn:#e78a18;--danger:#d8475b;--shadow:0 16px 44px rgba(25,25,40,.08);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg)}*{box-sizing:border-box}body{margin:0;min-height:100vh}button,input,textarea,select{font:inherit}button,a{transition:.18s}button{cursor:pointer}.hidden{display:none!important}.app{min-height:100vh;display:grid;grid-template-columns:236px 1fr}.side{padding:24px 16px;color:white;background:#201d32;display:flex;flex-direction:column;height:100vh;position:sticky;top:0}.brand{display:flex;gap:11px;align-items:center;font-weight:850}.mark{width:40px;height:40px;border-radius:14px;display:grid;place-items:center;background:var(--accent);color:#fff;font-weight:900;box-shadow:0 9px 22px #0003}.nav{display:grid;gap:5px;margin-top:38px}.nav a{color:#b9b7c7;text-decoration:none;border-radius:12px;padding:12px 13px;font-weight:650}.nav a:hover,.nav a.active{background:#ffffff13;color:#fff}.side-foot{margin-top:auto;border-top:1px solid #ffffff18;padding-top:18px}.side-user{display:flex;gap:10px;align-items:center}.avatar{width:38px;height:38px;border-radius:13px;display:grid;place-items:center;background:#ffffff18;font-weight:800}.side small{display:block;color:#aaa7bb}.main{min-width:0}.top{height:68px;padding:0 30px;display:flex;align-items:center;justify-content:flex-end;background:#ffffffcc;backdrop-filter:blur(14px);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:5}.content{max-width:1340px;margin:auto;padding:30px}.head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:25px}.head h1{margin:3px 0;font-size:30px}.eyebrow{font-size:12px;text-transform:uppercase;letter-spacing:.08em;font-weight:850;color:var(--accent)}.muted{color:var(--muted)}.card{background:var(--card);border:1px solid var(--line);border-radius:20px;padding:20px;box-shadow:var(--shadow)}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;margin-bottom:20px}.stat span{display:block;color:var(--muted);font-size:13px}.stat b{display:block;font-size:26px;margin-top:5px}.btn{border:0;border-radius:12px;padding:11px 16px;background:#ececf1;color:#34343e;font-weight:760;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:7px}.btn:hover{transform:translateY(-1px)}.btn.primary{background:var(--accent);color:#fff;box-shadow:0 8px 20px color-mix(in srgb,var(--accent) 28%,transparent)}.btn.success{background:#e4f7ef;color:#08714a}.btn.danger{background:#fff0f2;color:var(--danger)}.btn.small{padding:7px 10px;font-size:13px}.btn.full{width:100%}.link{border:0;background:none;color:var(--accent);font-weight:750;text-decoration:none;padding:0}.field{display:grid;gap:7px;margin:15px 0}.field label{font-weight:750;font-size:13px}.field input,.field textarea,.field select,.search{width:100%;border:1px solid var(--line);background:#fff;border-radius:13px;padding:12px 13px;outline:none}.field textarea{min-height:90px;resize:vertical}.field input:focus,.field textarea:focus,.field select:focus,.search:focus{border-color:var(--accent);box-shadow:0 0 0 4px color-mix(in srgb,var(--accent) 11%,transparent)}.tabs{display:flex;gap:4px;border-bottom:1px solid var(--line);overflow:auto;margin:0 -20px 18px;padding:0 20px}.tab{background:none;border:0;padding:12px 13px;color:var(--muted);font-weight:750;white-space:nowrap;border-bottom:2px solid transparent}.tab.active{color:var(--accent);border-color:var(--accent)}.status{display:inline-flex;align-items:center;gap:7px;padding:6px 9px;border-radius:99px;background:#eeeef2;font-size:12px;font-weight:750}.status:before{content:"";width:7px;height:7px;border-radius:50%;background:#92929c}.status.Active{background:#e6f7ef;color:#08714a}.status.Active:before{background:var(--success)}.status.NeedsAttention,.status.SetupRequired,.status.Submitted{background:#fff4df;color:#9a5b04}.status.NeedsAttention:before,.status.SetupRequired:before,.status.Submitted:before{background:var(--warn)}.row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 0;border-bottom:1px solid var(--line)}.row:last-child{border-bottom:0}.row h4{margin:0 0 4px}.row p{margin:0;color:var(--muted);font-size:13px}.actions{display:flex;gap:8px;flex-wrap:wrap}.chat{height:360px;overflow:auto;padding-right:5px}.bubble{max-width:78%;padding:11px 13px;background:#f0f0f4;border-radius:14px 14px 14px 4px;margin:10px 0;line-height:1.45;font-size:14px}.bubble.User{margin-left:auto;background:var(--accent);color:#fff;border-radius:14px 14px 4px 14px}.bubble small{display:block;opacity:.65;margin-top:5px}.send{display:flex;gap:8px;padding-top:14px;border-top:1px solid var(--line)}.send input{flex:1;border:1px solid var(--line);border-radius:12px;padding:11px}.split{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(280px,.75fr);gap:18px}.file{display:flex;align-items:center;gap:12px;padding:12px;border:1px solid var(--line);border-radius:14px;margin:9px 0}.file-icon{width:42px;height:42px;border-radius:12px;background:var(--soft);display:grid;place-items:center;font-size:20px}.file-info{min-width:0;flex:1}.file-info b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-info small{color:var(--muted)}.drop{border:1.5px dashed color-mix(in srgb,var(--accent) 45%,#ddd);background:var(--soft);border-radius:16px;padding:24px;text-align:center}.progress{height:6px;background:#e9e9ed;border-radius:99px;overflow:hidden}.progress i{display:block;height:100%;background:var(--accent)}.empty{text-align:center;padding:46px 20px}.empty h2{margin:12px 0 6px}.toast{position:fixed;right:20px;bottom:20px;background:#201d32;color:#fff;padding:13px 17px;border-radius:12px;z-index:50;opacity:0;transform:translateY(12px);pointer-events:none;transition:.2s;max-width:380px}.toast.show{opacity:1;transform:none}.toast.error{background:#9c2738}.modal{position:fixed;inset:0;background:#15131e99;z-index:20;display:grid;place-items:center;padding:18px}.modal-box{width:min(520px,100%);max-height:90vh;overflow:auto;background:white;border-radius:20px;padding:23px;box-shadow:0 30px 80px #0004}.auth{min-height:100vh;display:grid;grid-template-columns:1.08fr .92fr}.auth-visual{padding:7vw;color:#fff;display:flex;flex-direction:column;justify-content:space-between;background:#29253e}.auth-panel{display:grid;place-items:center;padding:28px}.auth-box{width:min(430px,100%)}.auth-box h1{font-size:33px;margin:42px 0 8px}.auth-copy{font-size:clamp(38px,5vw,70px);line-height:1.02;max-width:720px;margin:55px 0 20px}.error-text{color:var(--danger);font-size:13px;margin:10px 0}.mobile{display:none}.table-wrap{overflow:auto}.table{width:100%;border-collapse:collapse;min-width:720px}.table th,.table td{text-align:left;padding:13px;border-bottom:1px solid var(--line);font-size:14px}.table th{font-size:12px;color:var(--muted)}
.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important}.attach-box{display:flex!important;align-items:center;justify-content:space-between;gap:12px;border:1.5px dashed color-mix(in srgb,var(--accent) 50%,#ddd);background:var(--soft);border-radius:15px;padding:16px;cursor:pointer}.attach-box span{color:var(--muted);font-size:12px;font-weight:500}.attach-button{width:44px;min-width:44px;height:44px;border-radius:12px;background:var(--soft);display:grid;place-items:center;cursor:pointer;font-size:20px}.attach-button input{display:none}.file-selection{min-height:20px;color:var(--muted);font-size:12px;padding:6px 2px}.chat-file{display:block;width:100%;border:1px solid #ffffff55;border-radius:10px;background:#ffffff24;color:inherit;text-align:left;padding:9px;margin-top:8px;font-weight:750}.bubble.Operator .chat-file{border-color:var(--line);background:#fff;color:var(--ink)}
@media(max-width:1000px){.grid{grid-template-columns:repeat(2,1fr)}.stats{grid-template-columns:repeat(2,1fr)}.split{grid-template-columns:1fr}}
@media(max-width:720px){.app{display:block;padding-bottom:68px}.side{display:none}.top{height:58px;padding:0 15px}.top:before{content:attr(data-title);font-weight:850}.content{padding:20px 14px}.head h1{font-size:25px}.grid,.stats{grid-template-columns:1fr}.stat{display:flex;align-items:center;justify-content:space-between}.stat b{font-size:21px}.mobile{display:grid;position:fixed;bottom:0;left:0;right:0;grid-template-columns:repeat(4,1fr);background:#fff;border-top:1px solid var(--line);z-index:10;padding-bottom:env(safe-area-inset-bottom)}.mobile a{text-align:center;text-decoration:none;color:var(--muted);font-size:11px;padding:9px 2px}.mobile a b{display:block;font-size:19px}.mobile a.active{color:var(--accent)}.auth{display:block}.auth-visual{display:none}.auth-panel{min-height:100vh;padding:23px}.card{padding:16px;border-radius:17px}.tabs{margin:0 -16px 17px;padding:0 16px}.chat{height:45vh}.head{align-items:flex-start}.actions .btn{flex:1}}

/* V3 — clean, large and memorable interface */
:root{--bg:#f4f7fc;--card:#fff;--ink:#09285f;--muted:#6d7b94;--line:#e1e8f2;--shadow:0 12px 34px rgba(8,38,91,.07);font-family:"Segoe UI Variable","Segoe UI",Inter,system-ui,sans-serif}
body{background:radial-gradient(circle at 78% -10%,color-mix(in srgb,var(--accent) 9%,transparent),transparent 32%),var(--bg);color:var(--ink)}
body{background:var(--bg)}
.client-splash img,.operator-splash img,.owner-splash img{width:min(360px,82vw);height:auto;display:block;margin:0 auto 12px}
.app{grid-template-columns:224px minmax(0,1fr)}
.side{padding:24px 16px;background:#fff;color:var(--ink);border-right:1px solid var(--line);box-shadow:none}
.side>.brand{height:68px;background-repeat:no-repeat;background-position:left center;background-size:190px auto}.side>.brand>*{display:none}
.nav{gap:8px;margin-top:28px}.nav a{color:#6d7b94;border-radius:14px;padding:14px 15px;font-size:15px}.nav a:hover{background:var(--soft);color:var(--ink)}.nav a.active{background:var(--soft);color:var(--ink);box-shadow:inset 3px 0 0 var(--accent)}
.side-foot{border-color:var(--line)}.side small{color:var(--muted)}.side .link{color:var(--muted)!important}
.top{height:72px;padding:0 34px;background:#ffffffd9;border-color:var(--line)}
.content{max-width:1520px;padding:34px 38px 52px}
.head{align-items:center;margin-bottom:28px}.head h1{font-size:clamp(30px,3vw,44px);letter-spacing:-.035em;margin:4px 0 7px}.head p{font-size:16px;margin:0}
.eyebrow{font-size:11px;letter-spacing:.14em}
.card{border:1px solid #e4ebf4;border-radius:22px;padding:22px;box-shadow:var(--shadow)}
.grid{gap:18px}.stats{gap:16px;margin-bottom:24px}.stat{min-height:126px;display:flex;flex-direction:column;justify-content:space-between}.stat span{font-size:14px;font-weight:650}.stat b{font-size:34px;letter-spacing:-.04em}
.btn{min-height:46px;border-radius:13px;padding:12px 18px}.btn.primary{box-shadow:0 10px 24px color-mix(in srgb,var(--accent) 22%,transparent)}.btn.small{min-height:38px;padding:9px 12px}.btn.full{min-height:52px}
.field{gap:8px;margin:18px 0}.field label{font-size:14px}.field input,.field textarea,.field select,.search{min-height:50px;border-radius:14px;padding:13px 15px;font-size:15px}.field textarea{min-height:104px}
.tabs{gap:8px;border:0;margin:0 0 22px;padding:0}.tab{border:0;border-radius:999px;background:#f0f4fa;padding:11px 16px}.tab.active{color:#fff;background:var(--accent)}
.status{padding:7px 11px}.row{padding:16px 0}.split{gap:20px}.file{min-height:68px;padding:13px 15px;border-radius:16px;background:#fbfcff}.file-icon{width:46px;height:46px;border-radius:14px}.chat{height:390px}.bubble{padding:13px 15px;border-radius:17px;max-width:82%}.send{gap:10px;padding-top:16px}.send input{min-height:48px;border-radius:14px}.empty{padding:58px 24px}
.auth{grid-template-columns:1.08fr .92fr;background:#fff}.auth-visual{padding:clamp(42px,6vw,94px)}.auth-panel{background:#fff}.auth-box{width:min(460px,100%)}.auth-box>.brand,.auth-visual>.brand{height:76px;background-repeat:no-repeat;background-position:left center;background-size:min(330px,90%) auto}.auth-box>.brand>*,.auth-visual>.brand>*{display:none}.auth-box h1{font-size:40px;letter-spacing:-.035em;margin:48px 0 10px}.auth-copy{font-size:clamp(46px,5vw,76px);letter-spacing:-.055em;line-height:.98}
.table th,.table td{padding:16px}.table th{font-size:11px;text-transform:uppercase;letter-spacing:.08em}
.delete-message{border:0;background:transparent;color:inherit;text-decoration:underline;text-underline-offset:3px;opacity:.7;font-size:11px;padding:0 0 0 8px}.delete-message:hover{opacity:1}.file .btn.danger{flex:0 0 auto}.settings-actions{display:flex;gap:10px;flex-wrap:wrap}
@media(max-width:1100px){.app{grid-template-columns:196px minmax(0,1fr)}.side>.brand{background-size:166px auto}.content{padding:28px 24px}.stats{grid-template-columns:repeat(2,1fr)}}
@media(max-width:720px){.app{display:block}.content{padding:22px 14px 92px}.top{height:62px}.head{display:grid}.head h1{font-size:31px}.stats{grid-template-columns:repeat(2,1fr);gap:10px}.stat{min-height:98px;padding:16px}.stat b{font-size:27px}.card{border-radius:19px}.mobile{padding:4px 4px calc(4px + env(safe-area-inset-bottom));box-shadow:0 -10px 30px #08265b12}.mobile a{border-radius:12px}.mobile a.active{background:var(--soft)}.auth-box h1{font-size:34px}.attach-box{align-items:flex-start;flex-direction:column}.chat{height:48vh}}

/* Layered explanations: short context in the page, details only on request */
.help-dot{width:25px;height:25px;min-width:25px;border:1px solid #b8c8dc;border-radius:50%;background:#fff;color:#315174;font-size:14px;font-weight:900;line-height:1;display:inline-grid;place-items:center;vertical-align:middle;margin-left:6px;cursor:pointer;box-shadow:0 3px 10px #08285f12}.help-dot:hover{border-color:var(--accent);color:var(--accent);transform:translateY(-1px)}.mobile-auth-intro{display:none}
.help-modal{position:fixed;inset:0;z-index:1000;background:#061a3d99;backdrop-filter:blur(7px);display:grid;place-items:center;padding:20px}.help-card{position:relative;width:min(650px,100%);max-height:min(86vh,760px);overflow:auto;background:#fff;border-radius:25px;padding:32px;box-shadow:0 30px 90px #061a3d55}.help-close{position:absolute;right:18px;top:16px;width:38px;height:38px;border:0;border-radius:50%;background:#eff4fa;color:#16345d;font-size:27px;cursor:pointer}.help-kicker{font-size:11px;font-weight:900;letter-spacing:.14em;color:var(--accent);margin-bottom:10px}.help-card h2{font-size:30px;line-height:1.1;letter-spacing:-.035em;margin:0 38px 14px 0}.help-lead{font-size:17px;line-height:1.55;color:#3d526f}.help-list{display:grid;gap:10px;counter-reset:help;margin:22px 0;padding:0;list-style:none}.help-list li{counter-increment:help;display:grid;grid-template-columns:35px 1fr;gap:12px;align-items:start;padding:13px 15px;background:#f6f9fd;border:1px solid #e3ebf4;border-radius:15px;line-height:1.45}.help-list li:before{content:counter(help);width:30px;height:30px;border-radius:10px;background:var(--soft);color:var(--accent);font-weight:900;display:grid;place-items:center}.help-note{display:grid;gap:5px;padding:15px 17px;margin:18px 0;background:#fff7e8;border-left:4px solid #ffae3d;border-radius:5px 15px 15px 5px;color:#634a25}.help-ok{width:100%;margin-top:5px}.concept-card{display:grid;grid-template-columns:minmax(250px,.8fr) 1.2fr;gap:24px;align-items:center;padding:23px 26px;margin:-4px 0 24px;background:linear-gradient(135deg,#f2fff8,#eef5ff);border:1px solid #caeade;border-radius:22px}.concept-card h2{font-size:22px;margin:0 0 7px}.concept-card p{margin:0;color:#46617e;line-height:1.5}.concept-examples{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.concept-examples span{min-height:70px;padding:12px;border-radius:14px;background:#fff;border:1px solid #dfe9f3;font-size:13px;line-height:1.35;display:flex;align-items:center}.field-hint{display:block;color:var(--muted);font-size:12px;line-height:1.45;margin-top:7px}.section-explain{padding:15px 17px;margin:12px 0 18px;border:1px solid #dfe8f3;border-radius:16px;background:#f8fbff;color:#48617f;line-height:1.5}.auth-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:30px;max-width:700px}.auth-step{padding:15px;border:1px solid #173b6a22;border-radius:15px;background:#ffffff9c}.auth-step b,.auth-step span{display:block}.auth-step b{font-size:13px;margin-bottom:5px}.auth-step span{font-size:12px;line-height:1.35;color:#3d5878}.explain-link{margin-top:17px;display:inline-flex;align-items:center;gap:8px;background:transparent;border:0;padding:0;color:var(--ink);font-weight:850;text-decoration:underline;text-underline-offset:4px;cursor:pointer}
@media(max-width:900px){.concept-card{grid-template-columns:1fr}.concept-examples{grid-template-columns:1fr}.concept-examples span{min-height:auto}.auth-steps{grid-template-columns:1fr}.auth-step{padding:12px}}
@media(max-width:720px){.help-card{padding:25px 18px 19px;border-radius:21px}.help-card h2{font-size:25px}.help-lead{font-size:15px}.help-list li{grid-template-columns:31px 1fr;padding:11px}.concept-card{padding:18px}.section-explain{font-size:14px}.mobile-auth-intro{display:grid;gap:6px;padding:15px 16px;margin:18px 0 26px;border:1px solid #dfe8f3;border-radius:17px;background:linear-gradient(135deg,var(--soft),#f4f8fd)}.mobile-auth-intro b{font-size:17px;line-height:1.3}.mobile-auth-intro span{color:var(--muted);font-size:13px;line-height:1.45}.mobile-auth-intro .explain-link{font-size:13px;margin-top:5px}.auth-box h1{margin-top:25px}}

/* v3.5: clear panels, line accents and branded confirmations */
.status,.role-chip,.skill,.client-badge,.health{background:transparent!important;border:1px solid currentColor;border-radius:999px}
.status.Active{color:#08714a}.status.Submitted,.status.NeedsAttention,.status.SetupRequired,.status.AwaitingHire{color:#9a5b04}.status.InsufficientFunds,.status.Dismissed{color:var(--danger)}
.decision-modal{position:fixed;inset:0;z-index:1200;display:grid;place-items:center;padding:18px;background:#061a3daa;backdrop-filter:blur(8px)}
.decision-card{width:min(560px,100%);max-height:90vh;overflow:auto;background:#fff;border:1px solid #dce5f0;border-radius:24px;padding:28px;box-shadow:0 32px 90px #061a3d55}
.decision-mark{width:48px;height:48px;display:grid;place-items:center;border:2px solid var(--accent);border-radius:16px;color:var(--accent);font-size:22px;font-weight:900;margin-bottom:16px}
.decision-mark.danger{border-color:var(--danger);color:var(--danger)}
.decision-card h2{font-size:28px;line-height:1.15;margin:0 0 10px}.decision-card>p{color:var(--muted);line-height:1.55;margin:0 0 18px}
.decision-details{display:grid;gap:10px;padding:16px;margin:16px 0;border:1px solid var(--line);border-radius:17px;background:#f8fbff;line-height:1.45}.decision-details .row{padding:8px 0}
.decision-consent{display:flex;align-items:flex-start;gap:11px;padding:15px;border:1px solid #f0c8ce;border-radius:16px;background:#fff7f8;color:#71313b;line-height:1.45;cursor:pointer}.decision-consent input{width:20px;height:20px;flex:0 0 auto;margin-top:1px}
.decision-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:20px}.decision-confirm:disabled{opacity:.45;cursor:not-allowed;transform:none}
.notice-panel{padding:17px 19px;margin:0 0 20px;border:1px solid currentColor;border-left-width:5px;border-radius:5px 18px 18px 5px;line-height:1.5}.notice-panel.warn{color:#8b5707;background:#fffaf0}.notice-panel.danger{color:#9b3444;background:#fff7f8}.notice-panel.success{color:#08714a;background:#f1fff8}
.terms-card{display:grid;gap:12px;padding:20px;border:1px solid #cfdbea;border-radius:20px;background:linear-gradient(135deg,#fff,#f6f9fd);margin:16px 0}.terms-card h3,.terms-card p{margin:0}.terms-price{font-size:32px;font-weight:900;letter-spacing:-.04em}.terms-scope{white-space:pre-wrap;line-height:1.55;color:#405978}
.support-list{display:grid;gap:12px}.support-ticket{padding:18px;border:1px solid var(--line);border-radius:18px;background:#fff}.support-ticket h3{margin:0 0 7px}.support-reply{margin-top:12px;padding:12px 14px;border-left:3px solid var(--accent);background:var(--soft);border-radius:3px 13px 13px 3px}
@media(max-width:720px){.decision-card{padding:22px 17px;border-radius:21px}.decision-card h2{font-size:24px}.decision-actions{grid-template-columns:1fr}.decision-actions .decision-confirm{grid-row:1}.terms-price{font-size:27px}}

/* v3.6: every important thought is a block; selections are shown with a line */
.status-context{margin:0 0 20px;padding:20px 21px;background:#fff;border:1px solid var(--line);border-left:4px solid var(--accent);border-radius:5px 19px 19px 5px;box-shadow:var(--shadow)}
.status-context-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding-bottom:15px;border-bottom:1px solid var(--line)}
.status-context-head span,.status-context-grid span{display:block;color:var(--muted);font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;margin-bottom:5px}
.status-context-head b{font-size:21px}.status-context-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;margin-top:14px}
.status-context-grid>div{padding:13px 14px;background:#f8fbff;border:1px solid #e3ebf5;border-radius:13px;line-height:1.4}.status-context-grid b{font-size:13px}
.content-block,.work-section,.brief-block,.result-card,.task-box{padding:18px;margin:13px 0;background:#fff;border:1px solid var(--line);border-radius:17px}
.content-block>h3:first-child,.work-section>h3:first-child,.brief-block>h3:first-child{margin-top:0}
.line-note,.line-action{display:block;width:fit-content;margin:10px 0;padding:10px 13px;background:transparent!important;border:1px solid var(--accent)!important;border-radius:10px;color:var(--ink)!important;line-height:1.4;box-shadow:none!important}
.line-note{border-left-width:4px!important}.line-action{text-decoration:none;font-weight:800}
.tabs{border-bottom:1px solid var(--line);gap:16px}.tab{min-height:44px;padding:10px 2px;border:0;border-bottom:3px solid transparent!important;border-radius:0!important;background:transparent!important}.tab.active{color:var(--accent)!important;border-bottom-color:var(--accent)!important;box-shadow:none!important}
.queue-filters .btn,.cat{background:transparent!important;border:1px solid var(--line)!important;color:var(--muted)!important;box-shadow:none!important}.queue-filters .btn.primary,.cat.active{border-color:var(--accent)!important;color:var(--accent)!important;box-shadow:inset 0 -3px 0 var(--accent)!important}
.nav a.active,.mobile a.active{background:transparent!important;box-shadow:inset 3px 0 0 var(--accent)}
.alert-row,.transfer-row,.support-ticket,.file,.employee-summary>.row{background:#fff;border:1px solid var(--line);border-radius:16px;padding:15px;margin:10px 0}
.alert-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px}.alert-copy{display:grid;gap:4px;line-height:1.35}.alert-copy small{font-size:12px}
.support-ticket .brief-block{background:#f8fbff}.support-ticket>.field{padding:15px;background:#fbfcff;border:1px solid var(--line);border-radius:15px}
.decision-details>div,.terms-card>.row{background:#fff;border:1px solid var(--line);border-radius:12px;padding:11px 12px!important}
.role-chip,.skill,.client-badge,.health,.status{border-radius:10px!important}.status:before{border-radius:50%}
.table-wrap{background:#fff}.table{border-collapse:separate;border-spacing:0 8px}.table th{border:0}.table td{background:#f9fbfe;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.table td:first-child{border-left:1px solid var(--line);border-radius:13px 0 0 13px}.table td:last-child{border-right:1px solid var(--line);border-radius:0 13px 13px 0}
@media(max-width:720px){.status-context-grid{grid-template-columns:1fr}.status-context{padding:16px}.alert-row{grid-template-columns:1fr}.alert-row .btn{width:100%}.tabs{gap:12px}}

/* v3.11: stronger grouping — no important control floats on an empty canvas */
.modal-form>.field,.decision-card .field{padding:15px 16px;margin:12px 0;background:#f8faff;border:1px solid var(--line);border-left:4px solid var(--accent);border-radius:7px 15px 15px 7px}.modal-form>.section-explain{border-left:4px solid var(--accent);border-radius:7px 15px 15px 7px}.modal-form>.actions{margin-top:18px;padding-top:17px;border-top:1px solid var(--line)}
.content-block,.client-module,.work-section,.brief-block,.task-box,.support-ticket,.alert-row,.transfer-row{isolation:isolate}.content-block:focus-within,.client-module:focus-within,.work-section:focus-within,.brief-block:focus-within{border-color:color-mix(in srgb,var(--accent) 45%,var(--line))}

/* v3.11 — clear separation on every screen */
:root{--line:#cbd7e6;--shadow:0 16px 38px rgba(8,40,95,.11)}
body{background:linear-gradient(180deg,#edf3f9 0,#f4f7fb 48%,#edf3f9 100%)}
.main{background:transparent}.content{isolation:isolate}
.card,.content-block,.section-explain,.status-context,.terms-card,.support-ticket{border-color:#cbd7e6;box-shadow:var(--shadow)}
.section-explain{background:linear-gradient(135deg,#fff,#edf4fb);border-left:5px solid var(--accent);border-radius:8px 18px 18px 8px;padding:18px 20px}
.content form>.field,.modal-form>.field{margin:14px 0;padding:17px 18px;background:#f7faff;border:1px solid #cbd7e6;border-left:5px solid var(--accent);border-radius:8px 17px 17px 8px;box-shadow:0 7px 18px rgba(8,40,95,.05)}
.content form>.field>label:first-child,.modal-form>.field>label:first-child{font-size:14px;color:#08285f}
.field input,.field textarea,.field select,.search,.send input{border-color:#b9c8da;background:#fff;box-shadow:inset 0 1px 2px rgba(8,40,95,.04)}
.field input:hover,.field textarea:hover,.field select:hover,.search:hover{border-color:#8fa5be}
.table-wrap{border:1px solid #cbd7e6!important;background:#fff!important;box-shadow:var(--shadow)}
.table td{background:#f4f8fc;border-color:#d5e0ec}.table tbody tr:nth-child(even) td{background:#eef4fa}
.support-list{display:grid;gap:16px;align-content:start}.support-ticket{background:#fff;border:1px solid #cbd7e6;border-left:5px solid var(--accent);border-radius:8px 19px 19px 8px;padding:20px;margin:0!important}
.line-note,.support-reply{padding:13px 15px;margin:12px 0;background:#eef4fa;border:1px solid #d3dfeb;border-radius:13px}
.modal-box,.decision-card,.help-card{border:1px solid #bfcddd;box-shadow:0 34px 90px rgba(5,24,57,.34)}
@media(max-width:720px){.content form>.field,.modal-form>.field{padding:15px;border-left-width:4px}.section-explain{padding:15px 16px}.support-ticket{padding:16px}}
