:root{color-scheme:light dark;--bg:light-dark(#f4f5f7,#171a20);--panel:light-dark(#fff,#22262e);--text:light-dark(#263245,#edf0f6);--sub:light-dark(#637083,#b7c0ce);--line:light-dark(#dfe4ec,#3a424f);--brand:light-dark(#354f78,#afc3e4);--on:light-dark(#fff,#1a263b);--soft:light-dark(#edf1f7,#2b3444)}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:15px/1.7 Tahoma,Arial,sans-serif}.app{max-width:1100px;margin:auto;padding:24px}header{display:flex;justify-content:space-between;gap:18px;align-items:center;flex-wrap:wrap;margin-bottom:26px}h1{font-size:27px}h2{font-size:21px}h1,h2,h3,p{margin:0 0 10px}h1,h2,h3{font-weight:500}p,small,.muted{color:var(--sub)}.eyebrow{font-size:12px;color:var(--brand)}button,input,textarea,select,a.primary{font:inherit}button,input,textarea,select{color:var(--text);background:var(--panel);border:1px solid var(--line);border-radius:10px;padding:10px;min-height:44px}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}button.primary,a.primary,button[aria-pressed=true]{background:var(--brand);color:var(--on);border-color:var(--brand)}a.primary{display:inline-block;border-radius:10px;padding:12px 18px;text-decoration:none}textarea{width:100%;min-height:96px;resize:vertical}input,select{font-size:16px;max-width:100%}label{display:block}label>input,label>textarea,label>select{display:block;margin-top:7px}.panel,.person{background:var(--panel);border:1px solid var(--line);border-radius:16px;padding:22px}.toolbar,.head,.actions{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin:16px 0}nav{display:flex;gap:10px;margin:22px 0}nav button{flex:1;text-align:right}nav small{display:block;color:inherit;opacity:.8;font-size:12px}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.person{display:flex;flex-direction:column;gap:12px}.score{font-size:28px;direction:ltr;text-align:right;font-variant-numeric:tabular-nums}.score small{font-size:13px}.pill{background:var(--soft);padding:4px 9px;border-radius:7px;color:var(--brand);font-size:12px}.editor{display:grid;grid-template-columns:220px minmax(0,1fr);gap:16px}.steps{display:flex;flex-direction:column;gap:7px}.steps button{text-align:right;font-size:13px}.mobile-step{display:none}.description{padding:15px;background:var(--soft);border-radius:10px}.scale{display:flex;gap:7px;flex-wrap:wrap;margin:20px 0}.scale button{flex:1;min-width:43px}.field{margin:17px 0}.row{display:grid;grid-template-columns:minmax(0,1fr) 50px;gap:10px;border-bottom:1px solid var(--line);padding:12px 0}.two{display:grid;grid-template-columns:1fr 1fr;gap:16px}.entry{padding:16px 0;border-bottom:1px solid var(--line)}.entry p{white-space:pre-wrap;overflow-wrap:anywhere}#message{margin:20px 0;white-space:pre-wrap}#message.error{color:light-dark(#ab3030,#ffb5b5)}[hidden]{display:none!important}@media(max-width:680px){.app{padding:16px}.grid,.two,.editor{grid-template-columns:1fr}.steps{display:none}.mobile-step{display:block}.mobile-step select{width:100%}nav button{font-size:13px;padding:10px}.panel,.person{padding:17px}.actions button{flex:1}.toolbar{align-items:end}h1{font-size:23px}}

.workspace-nav{direction:ltr;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;background:var(--panel);border:1px solid var(--line);padding:5px;border-radius:12px;margin-bottom:20px}.workspace-nav a,.workspace-nav span{padding:9px;text-align:center;text-decoration:none;color:var(--text);border-radius:8px}.workspace-nav span{background:var(--brand);color:var(--on)}
.performance-filters{display:flex;flex-wrap:wrap;gap:12px;align-items:end;margin:18px 0}.performance-filters label{flex:1 1 150px;min-width:0}.performance-filters input,.performance-filters select{display:block;width:100%;min-width:0}.task-entry{margin:14px 0}meter{width:100%;height:18px}nav[aria-label="التقييمات"]{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}nav[aria-label="التقييمات"] button{min-width:0}@media(max-width:650px){nav[aria-label="التقييمات"]{grid-template-columns:repeat(2,minmax(0,1fr))}.performance-filters{gap:8px}.performance-filters label{flex-basis:120px}}

.workspace-nav a[aria-current="page"]{background:var(--brand);color:var(--on)}.workspace-nav a{min-width:0;display:flex;align-items:center;justify-content:center;font-size:clamp(11px,3vw,15px);padding:6px;min-height:44px}

.review-source{display:flex;gap:8px;margin:14px 0}.review-source button{flex:1}.review-plan{font-size:13px;margin:10px 0}.review-plan summary,.review-details summary{cursor:pointer;min-height:36px;padding:6px 0;color:var(--brand)}.review-help{font-size:13px}.review-list{border:1px solid var(--line);border-radius:12px;background:var(--panel);overflow:hidden}.compact-review{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 16px;padding:12px 14px;margin:0;border-bottom:1px solid var(--line)}.compact-review:last-child{border-bottom:0}.review-main{min-width:0}.review-main h3{font-size:15px;margin:0 0 3px;overflow-wrap:anywhere}.review-meta{font-size:12px;color:var(--sub)}.review-quick{display:flex;gap:8px;align-items:end}.review-quick label{font-size:12px}.review-quick input{width:78px;margin-top:3px;text-align:center}.review-quick button{white-space:nowrap}.review-details{grid-column:1/-1;font-size:13px}.review-details>label{max-width:600px}.review-details textarea{min-height:70px}.review-details p{white-space:pre-wrap;overflow-wrap:anywhere}.review-details summary{font-size:12px;min-height:30px;padding:2px 0}@media(max-width:480px){.compact-review{grid-template-columns:minmax(0,1fr);gap:5px;padding:10px}.review-quick{justify-content:flex-end}.review-quick label{display:flex;align-items:center;gap:8px}.review-quick input{margin:0;width:72px}.review-quick button{min-width:90px}.review-details{grid-column:1}.review-meta{line-height:1.9}}

/* Clear hierarchy, restrained accents and feedback across the workspace. */
:root{--accent:light-dark(#67559b,#baa9e8);--pending:light-dark(#8a5a13,#ebc27a);--pending-bg:light-dark(#fff4df,#3b3022);--approved:light-dark(#2859a0,#accfff);--approved-bg:light-dark(#eaf2ff,#24354d);--rework:light-dark(#a24d3a,#f0b39f);--rework-bg:light-dark(#fff0ea,#3d2d2b)}
body{background:radial-gradient(ellipse at 95% 0%,light-dark(#e8edf8,#20283b),transparent 520px),var(--bg)}
header{border-bottom:1px solid var(--line);padding-bottom:18px}header h1{font-weight:600}.eyebrow{color:var(--accent);font-weight:600}button,a.primary,.workspace-nav a,input,select,textarea{transition:background-color .18s,border-color .18s,box-shadow .18s,transform .18s}button:active:not(:disabled){transform:scale(.98)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--brand);outline-offset:3px}button:hover:not(:disabled){border-color:var(--brand);box-shadow:0 2px 9px light-dark(#354f7815,#0003)}.workspace-nav{box-shadow:0 3px 18px light-dark(#25385708,#0002)}.workspace-nav a[aria-current=page]{box-shadow:0 2px 8px light-dark(#354f7825,#0003)}
.panel,.person{box-shadow:0 3px 16px light-dark(#25385706,#0001)}.person h3{font-size:18px;font-weight:600}.score{color:var(--brand)}.description{border-inline-start:3px solid var(--accent)}#message:not(:empty){padding:12px 16px;border-inline-start:3px solid var(--brand);border-radius:8px;background:var(--soft)}
.review-source{background:var(--soft);padding:5px;border-radius:12px;gap:5px}.review-source button{background:transparent;border-color:transparent;font-weight:600}.review-source button[aria-pressed=true]{background:var(--brand);color:var(--on);box-shadow:0 2px 8px light-dark(#354f7825,#0003)}
.review-list{box-shadow:0 4px 22px light-dark(#25385708,#0002)}.compact-review{border-inline-start:3px solid var(--pending);transition:background-color .2s}.compact-review[data-status=approved]{border-inline-start-color:var(--approved)}.compact-review[data-status=needs_work]{border-inline-start-color:var(--rework)}.compact-review:hover{background:light-dark(#fafbfe,#252a34)}.review-main h3{font-size:16px;font-weight:600;line-height:1.6;margin-bottom:7px}.review-meta{display:flex;align-items:center;flex-wrap:wrap;gap:7px 12px;font-size:13px;line-height:1.6}.review-person{display:inline-flex;align-items:center;gap:7px;font-size:15px;font-weight:600;color:var(--text)}.person-mark{display:inline-flex;align-items:center;justify-content:center;width:27px;height:27px;border-radius:8px;background:light-dark(#eee9f8,#342e45);color:var(--accent);font-size:13px}.review-meta time{direction:ltr;font-variant-numeric:tabular-nums}.review-quantity b{color:var(--text)}.status-pending{color:var(--pending);background:var(--pending-bg)}.status-approved{color:var(--approved);background:var(--approved-bg)}.status-needs_work{color:var(--rework);background:var(--rework-bg)}.review-points{color:var(--approved)}.review-quick{position:relative;padding-bottom:6px}.review-quick label{font-size:13px}.review-quick input{font-weight:600;direction:ltr;background:light-dark(#f7f9fd,#1c222d)}.review-details summary{font-size:13px;color:var(--sub)}.review-feedback{font-size:12px;color:var(--approved);position:absolute;inset-inline-end:0;bottom:-18px}.review-saved{animation:review-confirm .8s ease-out}.review-plan,.review-help{font-size:14px}.review-plan{color:var(--sub)}
@keyframes review-confirm{0%{background:var(--approved-bg);box-shadow:inset 0 0 0 1px var(--approved)}100%{background:var(--panel);box-shadow:inset 0 0 0 1px transparent}}
@media(max-width:480px){.review-main h3{font-size:16px}.review-meta{gap:7px 10px}.review-person{font-size:15px}.review-quick{margin-top:6px}.review-details{margin-top:5px}.review-help{font-size:13px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}

/* Keep supporting text readable on both mobile and desktop. */
small,.eyebrow,.pill,nav small{font-size:14px}.review-meta,.review-quick label,.review-details,.review-details summary,.review-feedback,.person-mark,.review-help{font-size:14px}.review-person{font-size:16px}.review-quick input{font-size:17px}.review-main h3{font-size:17px}@media(max-width:480px){.review-meta,.review-help,.review-details summary{font-size:14px}.review-person{font-size:16px}.review-main h3{font-size:17px}}

.status-rejected{color:var(--rework);background:var(--rework-bg)}.compact-review[data-status=rejected]{border-inline-start-color:var(--rework)}.review-reject{color:var(--rework);border-color:var(--rework)}@media(max-width:480px){.review-quick{flex-wrap:wrap}.review-quick button{min-width:64px}}

.password-form{display:grid;gap:14px;max-width:440px;margin-top:20px}.password-form input{width:100%;direction:ltr}.password-form button{justify-self:start}#entry-done-label{margin:14px 0}#entry-done-label input{display:inline-block;min-height:20px;width:20px;vertical-align:middle}.workspace-nav [hidden]{display:none!important}

.account-stats{display:flex;flex-wrap:wrap;gap:10px}.account-stats span{padding:10px 14px;background:var(--soft);border-radius:10px;font-size:14px}.account-stats b{font-size:20px;color:var(--brand);margin-inline-end:6px}.account-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.account-tabs button{text-align:center}.account-card{padding:16px;background:var(--panel);border:1px solid var(--line);border-radius:12px;margin:12px 0}.account-card .head{margin:0 0 12px}.account-card h3{font-size:17px;font-weight:600}.account-card label>input,.account-card label>select{width:100%}.account-card summary{cursor:pointer;color:var(--brand);min-height:44px}.account-card details>button{margin-top:12px}.account-username{display:block;direction:ltr;text-align:right;color:var(--accent);font-size:15px}.account-highlight{border-color:var(--brand);box-shadow:0 0 0 2px var(--soft)}#accounts-badge{margin-inline-start:5px;padding:1px 5px;font-size:12px}dialog{max-width:480px;width:calc(100% - 32px);border:1px solid var(--line);border-radius:14px;background:var(--panel);color:var(--text);padding:20px}dialog::backdrop{background:#0008}#reset-password{width:100%;direction:ltr;font-size:18px;letter-spacing:1px}@media(max-width:650px){.workspace-nav.has-accounts{display:flex;overflow-x:auto;scrollbar-width:thin}.workspace-nav.has-accounts a:not([hidden]){flex:0 0 auto;min-width:88px;font-size:14px;min-height:48px}.account-tabs{gap:5px}.account-tabs button{padding:8px;font-size:14px}.account-stats span{flex:1;padding:8px;font-size:13px}.account-card{padding:13px}.account-card .actions{gap:7px}.account-card .actions button{font-size:14px}}

html[lang=en] body{font-family:"Segoe UI",system-ui,sans-serif;font-size:16px}.auth-shell{display:grid;grid-template-columns:1fr 1.05fr;gap:44px;align-items:start;margin:32px 0}.auth-intro{padding:20px 0}.auth-intro h2{font-size:clamp(30px,4vw,44px);line-height:1.18;font-weight:650;letter-spacing:-1px;margin:14px 0 20px}.auth-intro>p{font-size:17px;max-width:370px}.auth-features{display:grid;gap:22px;margin-top:32px}.auth-features>div{display:flex;gap:13px;align-items:start}.auth-features strong{font-weight:600}.auth-features p{font-size:14px;margin:4px 0 0}.auth-feature-mark{display:inline-flex;flex:0 0 38px;align-items:center;justify-content:center;height:38px;border-radius:10px;background:var(--soft);color:var(--accent);font-size:13px;font-weight:600}.auth-card{background:var(--panel);border:1px solid var(--line);padding:28px;border-radius:18px;box-shadow:0 12px 35px light-dark(#283a5710,#0002)}.auth-switch{display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:5px;background:var(--soft);border-radius:12px}.auth-switch button{border-color:transparent;text-align:center;background:transparent}.auth-switch button[aria-pressed=true]{background:var(--panel);color:var(--text);box-shadow:0 2px 10px light-dark(#283a5712,#0002)}.auth-card .password-form{max-width:none;margin-top:26px;gap:14px}.auth-card .password-form h2{font-size:25px;font-weight:600;margin:0}.auth-card .password-form p{margin:0 0 4px;font-size:15px}.auth-card .password-form label{font-weight:500;font-size:14px}.auth-card .password-form small{font-size:13px;font-weight:400;display:block;color:var(--sub);margin-top:5px}.auth-card .password-form input{min-height:48px}.auth-card .password-form>.primary{justify-self:stretch;width:100%;margin-top:5px;font-weight:600}.auth-divider{display:flex;align-items:center;gap:12px;color:var(--sub);font-size:13px}.auth-divider::before,.auth-divider::after{content:"";height:1px;background:var(--line);flex:1}.auth-telegram{display:block;padding:10px 14px;border:1px solid var(--line);border-radius:10px;text-decoration:none;text-align:center;color:var(--text);font-weight:500}.auth-telegram:hover{background:var(--soft)}#login-error:empty,#signup-result:empty,#password-error:empty{display:none}#login-error,#password-error{font-size:14px;color:light-dark(#a53f31,#f0b39f)}#signup-result:not(:empty){padding:12px;background:var(--soft);border-radius:9px;font-size:14px}#password-change{max-width:520px;margin:30px auto}.home-welcome{padding:18px 0 26px}.home-welcome h2{font-size:30px;font-weight:600;margin:6px 0}.home-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.home-card{display:flex;flex-direction:column;text-decoration:none;color:var(--text);padding:22px;min-height:230px;background:var(--panel);border:1px solid var(--line);border-radius:14px;transition:transform .18s,border-color .18s,box-shadow .18s}.home-card:hover{transform:translateY(-2px);border-color:var(--brand);box-shadow:0 7px 20px light-dark(#2538570e,#0002)}.home-card h3{font-size:19px;font-weight:600;margin:14px 0 7px}.home-card p{font-size:14px;margin-bottom:18px}.home-card-mark{align-self:start;padding:4px 9px;border-radius:7px;color:var(--brand);background:var(--soft);font-size:13px;font-weight:600}.home-card:nth-child(2n) .home-card-mark{color:var(--accent)}.home-card-link{margin-top:auto;color:var(--brand);font-size:14px;font-weight:600;display:flex;align-items:center;justify-content:space-between}.account-username{text-align:start}.account-card p{font-size:14px}.account-tabs button{text-align:center}.account-stats b{font-variant-numeric:tabular-nums}
@media(max-width:760px){.auth-shell{grid-template-columns:1fr;gap:18px;margin:12px 0}.auth-intro{padding:0}.auth-intro h2{font-size:29px;margin:8px 0 12px}.auth-intro h2 br{display:none}.auth-intro h2 br::after{content:" "}.auth-features{display:none}.auth-intro>p{font-size:15px;max-width:none}.auth-card{padding:20px}.home-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-welcome h2{font-size:26px}.home-card{min-height:215px;padding:18px}}@media(max-width:480px){.home-grid{grid-template-columns:1fr}.home-card{min-height:185px}.auth-card{padding:17px}.auth-card .password-form{margin-top:20px}.auth-intro h2{font-size:27px}.auth-switch button{font-size:14px}}

.brand-home{display:block;color:var(--brand);text-decoration:none;font-size:14px;font-weight:600;margin-bottom:6px}.brand-home:hover{text-decoration:underline}

.workspace-switch.has-admin{max-width:100%}.auth-intro h2{word-spacing:1px}

@media(max-width:650px){.workspace-nav{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;overflow:visible}.workspace-nav a{min-width:0!important;min-height:46px;font-size:14px;padding:9px 5px!important;text-align:center}.workspace-nav.has-accounts{display:grid!important}}

.workspace-nav[hidden]{display:none!important}

.profile-link{color:var(--text);text-decoration:none;background:var(--panel);border:1px solid var(--line);border-radius:10px;padding:10px 14px;display:inline-flex;align-items:center;min-height:44px}.profile-link:hover{background:var(--soft)}.profile-layout{display:grid;grid-template-columns:280px minmax(0,1fr);gap:20px;margin-top:20px}.profile-layout input,.profile-layout select{width:100%}.profile-photo{text-align:center;align-self:start;display:flex;align-items:center;flex-direction:column;gap:10px}.profile-avatar{width:128px;height:128px;border-radius:50%;background:var(--soft);display:grid;place-items:center;overflow:hidden;font-size:48px;color:var(--brand);margin:10px 0}.profile-avatar img{width:100%;height:100%;object-fit:cover}.profile-upload{padding:10px 14px;border:1px solid var(--line);border-radius:10px;cursor:pointer}.profile-upload input{max-width:210px;font-size:13px}.profile-password{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;border-top:1px solid var(--line);margin-top:24px;padding-top:20px}.profile-password h3{font-size:18px}.profile-password p,.profile-layout .muted{font-size:14px}.profile-password p{margin:0}@media(max-width:650px){.profile-layout{grid-template-columns:1fr}.profile-avatar{width:104px;height:104px}.profile-photo{padding:18px}.profile-password button{width:100%}}

.account-avatar{width:36px;height:36px;border-radius:50%;object-fit:cover;vertical-align:middle}

/* Keep the workspace heading compact so navigation stays close to the top. */
.app>header{gap:10px 18px;padding-bottom:10px;margin-bottom:12px}
.app>header .brand-home{margin-bottom:2px;line-height:1.4}
.app>header .eyebrow{display:block;line-height:1.4;margin-bottom:4px}
.app>header h1{line-height:1.2;margin-bottom:5px}
.app>header p{line-height:1.5;margin-bottom:0}
.app>header+.workspace-nav{margin-top:12px}
@media(max-width:680px){.app>header{gap:10px;padding-bottom:10px;margin-bottom:10px}.app>header #account{display:flex;align-items:center;flex-wrap:wrap;gap:6px}.app>header #actor{overflow-wrap:anywhere}.app>header+.workspace-nav{margin-top:10px}}

:root{--dash-amber:light-dark(#b88631,#e1b76d);--dash-red:light-dark(#b5695c,#dc9c8a)}.dash-hero{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:12px 0 22px}.dash-hero h2{font-size:30px;font-weight:650;letter-spacing:-.7px;margin:5px 0}.dash-hero p{font-size:14px;margin:0}.dash-hero p span{opacity:.7}.dash-sync{display:flex;gap:9px;align-items:center;font-size:13px;color:var(--sub)}.dash-sync small{display:block;font-size:12px}.dash-sync-dot{height:8px;width:8px;flex:none;border-radius:50%;background:var(--brand);box-shadow:0 0 0 5px var(--soft)}.dash-controls{display:flex;align-items:end;gap:12px;flex-wrap:wrap;background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:14px;margin-bottom:22px}.dash-controls label{font-size:13px;color:var(--sub);flex:1 1 140px;min-width:0}.dash-controls select,.dash-controls input{width:100%;margin-top:5px;min-height:44px;font-size:14px}.dash-refresh{margin-left:auto}.dash-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:20px 0}.dash-kpi{position:relative;background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:20px;display:flex;flex-direction:column;gap:7px;overflow:hidden;animation:dash-rise .35s both}.dash-kpi:nth-child(2){animation-delay:40ms}.dash-kpi:nth-child(3){animation-delay:80ms}.dash-kpi:nth-child(4){animation-delay:120ms}.dash-kpi::after{content:"";position:absolute;top:0;left:20px;width:35px;height:3px;background:var(--brand);border-radius:0 0 4px 4px}.dash-kpi.dash-violet::after{background:var(--accent)}.dash-kpi.dash-amber::after{background:var(--dash-amber)}.dash-kpi strong{font-size:36px;font-weight:650;letter-spacing:-1px;line-height:1.1;font-variant-numeric:tabular-nums;margin:5px 0}.dash-kpi span:not(.dash-kpi-label),.dash-kpi small{font-size:12px;color:var(--sub)}.dash-kpi-label{font-size:14px;font-weight:600}.dash-kpi small{margin-top:auto;padding-top:8px;border-top:1px solid var(--line)}.dash-main-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);gap:18px;margin:18px 0}.dash-panel{min-width:0;background:var(--panel);border:1px solid var(--line);border-radius:16px;padding:22px}.dash-panel h2{font-size:20px;font-weight:600;margin:5px 0 18px}.dash-panel .eyebrow{font-size:11px;letter-spacing:.6px}.dash-panel-head{display:flex;align-items:start;justify-content:space-between;gap:10px;flex-wrap:wrap}.dash-switch{display:flex;gap:4px;padding:3px;background:var(--soft);border-radius:9px}.dash-switch button{font-size:12px;min-height:34px;padding:5px 8px;border:0;background:transparent}.dash-switch button[aria-pressed=true]{background:var(--brand)}.dash-trend-summary{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:10px}.dash-trend-summary strong{font-size:26px;font-weight:600}.dash-trend-summary span{font-size:12px;color:var(--sub)}.dash-trend-summary button{font-size:12px;margin-left:auto;min-height:32px;padding:4px 8px}.dash-chart{width:100%;height:auto;display:block;overflow:visible}.dash-chart text{fill:var(--sub);font:12px "Segoe UI",sans-serif}.dash-gridline{stroke:var(--line);stroke-dasharray:4 5}.dash-chart-hit{cursor:crosshair;outline:none}.dash-chart-hit:hover,.dash-chart-hit:focus{fill:var(--soft);opacity:.55}.dash-chart-caption{font-size:12px;min-height:22px;color:var(--sub);text-align:center;margin-top:9px}.dash-mix{display:flex;align-items:center;justify-content:center;gap:20px;margin:18px 0}.dash-donut{position:relative;flex:0 0 138px}.dash-donut svg{width:100%;display:block}.dash-donut>div{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column}.dash-donut strong{font-size:22px;font-weight:600}.dash-donut span{font-size:11px;color:var(--sub)}.dash-legend{flex:1;min-width:0;display:grid;gap:10px}.dash-legend>div{display:flex;align-items:center;gap:6px;font-size:12px}.dash-legend i{width:7px;height:7px;border-radius:50%;flex:none}.dash-legend b{margin-left:auto;font-weight:600;font-variant-numeric:tabular-nums}.dash-note{font-size:12px;color:var(--sub);margin:8px 0 0;line-height:1.6}.dash-detail-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:18px;margin:18px 0}.dash-signal{display:flex;gap:12px;padding:13px 0;border-top:1px solid var(--line)}.dash-signal-dot{width:7px;height:7px;flex:none;margin-top:8px;background:var(--brand);border-radius:50%}.dash-amber .dash-signal-dot{background:var(--dash-amber)}.dash-violet .dash-signal-dot{background:var(--accent)}.dash-signal h3{font-size:14px;font-weight:600;margin:0 0 4px}.dash-signal p{font-size:13px;margin:0;line-height:1.6}.dash-mix-bar{margin:20px 0}.dash-mix-bar>div:first-child{display:flex;justify-content:space-between;gap:10px;font-size:13px;margin-bottom:8px}.dash-mix-bar b{font-weight:600}.dash-bar-track{height:8px;background:var(--soft);border-radius:8px;overflow:hidden}.dash-bar-track i{display:block;height:100%;border-radius:8px;transition:width .35s}.dash-work-facts{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid var(--line);padding-top:18px;gap:14px;margin:20px 0}.dash-work-facts strong{display:block;font-size:22px;font-weight:600}.dash-work-facts span{font-size:12px;color:var(--sub)}.dash-member-list{margin-top:8px}.dash-member{display:grid;grid-template-columns:26px minmax(120px,1.3fr) repeat(3,minmax(85px,1fr)) 18px;gap:12px;align-items:center;width:100%;border:0;border-bottom:1px solid var(--line);border-radius:0;padding:15px 0;text-align:left;background:transparent;transition:background .15s}.dash-member:hover{background:var(--soft)}.dash-member-rank{color:var(--sub);font-size:14px}.dash-member strong{font-weight:600;font-size:15px}.dash-member b{display:block;font-size:17px;font-weight:600;font-variant-numeric:tabular-nums}.dash-member small{display:block;font-size:12px;color:var(--sub)}.dash-member-name small{margin-top:4px}.dash-member-name strong small{display:inline;color:var(--brand)}.dash-member-arrow{color:var(--brand)}.dash-method{padding:18px 0;font-size:13px;color:var(--sub)}.dash-method>div{background:var(--panel);padding:20px;border-radius:12px;margin-top:10px}.dash-method p{margin:0 0 10px}.dash-target{margin:18px 0}.dash-target p,.dash-target small{font-size:13px}.dash-target meter{margin:12px 0}.workspace-nav{grid-template-columns:repeat(6,minmax(0,1fr))}@keyframes dash-rise{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}@media(prefers-reduced-motion:reduce){.dash-kpi{animation:none}.dash-bar-track i{transition:none}}@media(max-width:900px){.dash-main-grid,.dash-detail-grid{grid-template-columns:1fr}.dash-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.dash-mix{justify-content:start}.dash-trend{min-height:0}}@media(max-width:650px){.dash-hero{align-items:start;flex-direction:column;gap:13px}.dash-hero h2{font-size:25px}.dash-controls{gap:9px;padding:12px}.dash-controls label{flex-basis:110px}.dash-controls button{flex:1}.dash-kpis{gap:10px}.dash-kpi{padding:15px}.dash-kpi strong{font-size:30px}.dash-kpi-label{font-size:13px}.dash-panel{padding:17px}.dash-member{grid-template-columns:22px minmax(0,1fr) minmax(65px,.6fr);gap:8px}.dash-member>span:nth-child(4),.dash-member>span:nth-child(5){grid-column:auto;padding-left:30px}.dash-member>span:nth-child(4){grid-column:2}.dash-member>span:nth-child(5){grid-column:3;padding-left:0}.dash-member-arrow{display:none}.dash-chart{min-height:150px}.dash-sync{font-size:12px}.dash-mix{gap:15px}.dash-donut{flex-basis:122px}}@media(max-width:380px){.dash-kpi strong{font-size:27px}.dash-kpi{padding:13px}.dash-chart{min-height:130px}.dash-legend>div{font-size:11px}.dash-donut{flex-basis:110px}}

.dash-shortcuts{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 18px}.dash-shortcuts a{font-size:13px;text-decoration:none;color:var(--brand);border:1px solid var(--line);border-radius:9px;background:var(--panel);padding:8px 12px}.dash-shortcuts a:hover{background:var(--soft)}

@media(max-width:650px){.dash-chart text{font-size:14px}.dash-kpi small,.dash-kpi span:not(.dash-kpi-label),.dash-note,.dash-legend>div,.dash-chart-caption{font-size:13px}.dash-sync small{font-size:12px}}

.manager-review-banner{border-inline-start:4px solid var(--brand);background:var(--soft);margin:18px 0;padding:16px 20px}.manager-review-banner strong{font-size:18px;color:var(--brand)}.manager-review-banner p{margin:7px 0 0}

/* Dense review rows: keep decisions beside the task and collapse supporting spacing. */
.compact-review{padding:9px 12px;gap:2px 14px}
.compact-review .review-main h3{line-height:1.35;margin-bottom:5px}
.compact-review .review-meta{line-height:1.4;gap:5px 10px}
.compact-review .review-main>p{font-size:14px;line-height:1.4;margin:4px 0 0}
.compact-review .review-quick{align-self:center;padding-bottom:0;gap:7px}
.compact-review .review-quick input{min-height:40px;padding:7px;width:72px}
.compact-review .review-quick button{min-height:40px;padding:7px 10px}
.compact-review .review-details{margin-top:0}
.compact-review .review-details summary{min-height:28px;padding:1px 0;line-height:1.5}
.compact-review .person-mark{width:24px;height:24px}
@media(max-width:480px){.compact-review{padding:10px;gap:5px}.compact-review .review-quick{margin-top:2px;align-self:auto}.compact-review .review-quick input,.compact-review .review-quick button{min-height:44px}.compact-review .review-details summary{min-height:36px;padding:5px 0}}

.cr-sync-admin{margin-bottom:18px}.cr-sync-admin>summary{cursor:pointer;font-weight:600;padding:4px 0;min-height:40px}.cr-sync-admin[open]>summary{margin-bottom:12px}.cr-sync-admin .entry small{display:inline}.cr-sync-admin .entry{overflow-wrap:anywhere}

.password-visibility{display:block;position:relative;margin-top:7px}.password-visibility>input{width:100%;padding-inline-end:48px;margin-top:0}.password-eye{position:absolute;inset-inline-end:5px;top:50%;transform:translateY(-50%);border:0;background:transparent;padding:5px;min-height:34px;width:36px;display:grid;place-items:center;color:var(--sub)}.password-eye:hover:not(:disabled){background:var(--soft);box-shadow:none}.password-eye:active:not(:disabled){transform:translateY(-50%)}.password-eye[aria-pressed=true]{background:var(--soft);color:var(--brand)}.forgot-link{background:transparent;color:var(--brand);border:0;justify-self:start;padding-inline:0}#forgot-panel{margin-top:20px}#forgot-status{white-space:pre-wrap;margin:16px 0}#reset-password{width:100%}

/* Compact workspace masthead; account controls share one consistent scale. */
.app>header{display:grid;grid-template-columns:minmax(240px,1fr) auto;align-items:center;gap:12px 20px;padding-bottom:12px;margin-bottom:12px}
.app>header .brand-home{font-size:14px;line-height:1.3;margin:0 0 2px}
.app>header .eyebrow{font-size:11px;line-height:1.4;margin:0 0 5px;letter-spacing:.15px}
.app>header h1{font-size:24px;line-height:1.2;margin:0 0 4px}
.app>header p{font-size:13px;line-height:1.45;margin:0;max-width:580px}
.app>header #account{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;max-width:560px}
.app>header #actor{font-size:14px;line-height:1.4;max-width:220px;overflow-wrap:anywhere}
.app>header .account-avatar{width:32px;height:32px}
.app>header #account button,.app>header #account .profile-link{min-height:40px;padding:8px 12px;font-size:14px;line-height:1.4;border-radius:9px}
.app>header #account .ciit-theme-control{margin:0;font-size:13px}
.app>header #account .ciit-theme-control>span{display:none}
.app>header #account .ciit-theme-control select{min-height:40px;padding:8px 9px;font-size:13px;min-width:88px}
@media(max-width:960px){.app>header{grid-template-columns:1fr;gap:12px}.app>header #account{justify-content:flex-start;max-width:none}}
@media(max-width:680px){.app>header{padding-bottom:10px;gap:10px}.app>header h1{font-size:22px}.app>header .eyebrow{font-size:10px}.app>header #account{gap:6px}.app>header #actor{font-size:13px;max-width:200px}.app>header #account button,.app>header #account .profile-link{padding:8px 10px;font-size:13px}}

.dash-member{grid-template-columns:24px minmax(120px,1.4fr) repeat(5,minmax(85px,1fr)) 18px;gap:10px;padding:13px 0}.dash-member-daily b{color:var(--brand)}.dash-member-other b{color:var(--accent)}.dash-member-daily small:last-child,.dash-member-other small:last-child{font-size:11px;opacity:.85;margin-top:3px}
.account-console .accounts-head{margin:0 0 12px}.account-console .accounts-head h2{font-size:21px;margin-bottom:3px}.account-console .accounts-head p{font-size:13px;margin:0}.account-console .accounts-head .actions{margin:0;gap:6px}.account-console button{font-size:13px;padding:7px 11px;min-height:38px}.account-console .account-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.account-console .account-stats>span{padding:9px 12px;border:1px solid var(--line);border-inline-start:3px solid var(--brand);font-size:13px}.account-console .account-stats>span:first-child{border-inline-start-color:var(--dash-amber);background:color-mix(in srgb,var(--dash-amber) 10%,var(--panel))}.account-console .account-stats>span:nth-child(2){border-inline-start-color:#55ac91;background:color-mix(in srgb,#55ac91 8%,var(--panel))}.account-console .account-stats>span:nth-child(3){border-inline-start-color:var(--sub)}.account-console .account-stats b{font-size:22px;display:block;line-height:1.2;margin-bottom:4px}.account-console .account-tabs{margin:12px 0;padding:4px;background:var(--soft);border-radius:10px;gap:4px}.account-console .account-tabs button{border:0;background:transparent}.account-console .account-tabs button[aria-pressed=true]{background:var(--brand);color:var(--on)}.account-console .performance-filters{margin:10px 0;gap:10px}.account-console .performance-filters label{font-size:12px}.account-console input,.account-console select{font-size:14px;min-height:40px;padding:7px 10px;margin-top:4px}.account-console .account-card{padding:12px 14px;margin:8px 0;border-radius:10px;border-inline-start:3px solid var(--brand)}.account-console .account-request{border-inline-start-color:var(--dash-amber)}.account-console .account-card .head{margin:0 0 6px;gap:8px}.account-console .account-card h3{font-size:16px;margin:0}.account-console .account-username{font-size:13px}.account-console .account-card p{font-size:13px;margin:4px 0 8px;line-height:1.45}.account-console .account-card .field{margin:8px 0}.account-console .account-card label{font-size:13px}.account-console .account-card .actions{justify-content:flex-end;margin:8px 0 0;gap:6px}.account-console .account-card summary{min-height:30px;font-size:13px}.account-console .account-card .pill{font-size:12px}.account-console .account-card [data-action=reset]{border-color:var(--dash-amber);color:var(--dash-amber)}.account-console .account-card [data-action=disable],.account-console .account-card [data-decision=rejected]{color:var(--dash-red);border-color:color-mix(in srgb,var(--dash-red) 55%,var(--line))}.account-console .admin-preview-card,.account-console .cr-sync-admin{padding:12px 14px;margin-top:14px;border-radius:10px}.account-console .admin-preview-card summary{color:var(--accent);font-weight:600;cursor:pointer;min-height:30px}.account-console .admin-preview-card p{font-size:13px;margin:8px 0}.account-console .admin-preview-card .performance-filters{margin-bottom:0}.account-console .cr-sync-admin summary{font-size:13px;cursor:pointer}
@media(max-width:900px){.dash-member{grid-template-columns:24px minmax(120px,1.4fr) repeat(5,minmax(75px,1fr)) 18px;font-size:13px;gap:7px}}@media(max-width:650px){.dash-member{grid-template-columns:22px minmax(0,1fr) minmax(0,1fr);gap:9px 12px}.dash-member-name{grid-column:2/-1}.dash-member>span:nth-child(n+3):not(.dash-member-arrow){grid-column:auto;padding-left:0}.dash-member>span:nth-child(3),.dash-member>span:nth-child(5),.dash-member>span:nth-child(7){grid-column:2}.dash-member>span:nth-child(4),.dash-member>span:nth-child(6){grid-column:3}.dash-member-arrow{display:none}.account-console .account-stats>span{font-size:11px;padding:8px}.account-console .account-tabs button{font-size:12px;padding:7px 5px}.account-console .accounts-head .actions{width:100%;justify-content:flex-end}.account-console .account-card{padding:11px}.account-console .account-card .actions button{flex:0 1 auto}.account-console .performance-filters{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr)} }

#content:has(.account-console)>.tm-intro{display:none}#content:has(.account-console)>.tm-tabs{margin:0 0 16px;gap:6px}#content:has(.account-console)>.tm-tabs button{min-height:38px;padding:7px 11px;font-size:13px;border-radius:9px}

.app>header .account-avatar{width:44px;height:44px;flex:none}

/* Keep the two checker workspaces distinct and their navigation on one row. */
.workspace-nav[data-workspace-mode=work]{grid-template-columns:repeat(5,minmax(0,1fr))!important}
.workspace-nav[data-workspace-mode=review]{grid-template-columns:repeat(3,minmax(0,1fr))!important}
@media(max-width:650px){.workspace-nav[data-workspace-mode=work]{display:flex!important;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin}.workspace-nav[data-workspace-mode=work] a:not([hidden]){flex:1 0 80px;min-width:80px!important}.workspace-nav[data-workspace-mode=review]{display:grid!important}.workspace-nav[data-workspace-mode=review] a{min-width:0!important}}
