/* Staff only: public member home and account entry retain their own identity. */
.staff-workspace{color-scheme:dark;background:#0c2029!important;color:#e5efed!important;--team-surface:#142e38;--team-border:#39535d;--team-muted:#b2c5ca}
.staff-workspace .workspace-content{background:#0c2029!important;--workspace-accent:#7fd0cc;--workspace-tint:#193842}
.staff-workspace .workspace-content[data-workspace-area="professional"]{--workspace-accent:#9ad2b5;--workspace-tint:#183a35}
.staff-workspace .workspace-content[data-workspace-area="finance"]{--workspace-accent:#e5c28e;--workspace-tint:#393327}
.staff-workspace .workspace-content:is([data-workspace-area="editorial"],[data-workspace-area="publishing"]){--workspace-accent:#ccb9e6;--workspace-tint:#302f45}
.staff-workspace .workspace-content[data-workspace-area="calendar"]{--workspace-accent:#a8c9ed;--workspace-tint:#20384b}
.staff-workspace :is(.bg-white,.bg-slate-50,.bg-gray-50,.bg-slate-100){background-color:var(--team-surface)!important}
.staff-workspace :is(.text-slate-900,.text-slate-800,.text-slate-700,.text-gray-900,.text-teal-900){color:#e5efed!important}
.staff-workspace :is(.text-slate-600,.text-slate-500,.text-slate-400,.text-gray-500){color:var(--team-muted)!important}
.staff-workspace :is(.border,.border-t,.border-b,.border-l,.border-r,.border-slate-200,.border-slate-300,.border-teal-200){border-color:var(--team-border)!important}
.staff-workspace :is(input,textarea,select){background:#102630!important;color:#e5efed!important;border-color:#597680!important;accent-color:#4db7b2}
.staff-workspace ::placeholder{color:#9db5bc;opacity:1}
.staff-workspace :is(input,textarea,select,a,button,summary):focus-visible{outline:2px solid #85d8d2;outline-offset:3px}
.staff-workspace :is(button,a)[class*="bg-teal-"],.staff-workspace :is(button,a)[class*="bg-blue-"],.staff-workspace :is(button,a)[class*="bg-emerald-600"]{background:#087f82!important;color:#fff!important}
.staff-workspace :is(button,a)[class*="bg-teal-"]:hover:not(:disabled),.staff-workspace :is(button,a)[class*="bg-blue-"]:hover:not(:disabled){background:#096e73!important}
.staff-workspace button:disabled{opacity:.5;cursor:not-allowed}
.staff-workspace [aria-pressed="true"],.staff-workspace .workspace-sidebar button[aria-current="page"]{background:#244b55!important;color:#fff!important;border-color:#d6b575!important}
.staff-workspace :is(.bg-amber-50,.bg-yellow-50){background:#393327!important;color:#f0d3a2!important}
.staff-workspace :is(.text-amber-900,.text-amber-800){color:#f0d3a2!important}
.staff-workspace :is(.text-teal-600,.text-teal-700,.text-emerald-600,.text-green-600){color:#88d0b4!important}
.staff-workspace :is(.text-blue-600,.text-blue-700){color:#a6d3ea!important}
.staff-workspace :is(.text-red-600,.text-red-700){color:#ffb4ab!important}
.staff-workspace [role="alert"]{background:#422d30!important;color:#ffd0c8!important;border-color:#dc8d80!important}
.staff-workspace [role="status"]{background:#1b3c46!important;color:#c2e5eb!important}
.staff-workspace .workspace-sidebar{background:#0b1c25!important}
.staff-workspace table{color:#e5efed}.staff-workspace th{background:#1c3943;color:#d9e8e7}
.staff-workspace .workspace-content section>h1,.staff-workspace .workspace-content section>h2{color:var(--workspace-accent)}
.staff-workspace :is(.text-teal-800,.text-teal-900,summary){color:#a0d9d3!important}
.staff-workspace :is(.bg-teal-50,.bg-emerald-50,.bg-green-50){background:#1b3936!important;color:#b5e0cd!important}
.staff-workspace :is(.bg-blue-50,.bg-sky-50){background:#203b49!important;color:#bcddeb!important}
.staff-workspace :is(.bg-red-50,.bg-rose-50){background:#422d30!important;color:#ffd0c8!important}

/* Compact work area: controls live inside the scrolling pane, never above it. */
.staff-workspace .workspace-content>div:first-of-type{border-top-width:1px}
.staff-workspace [aria-label="پروفایل من"]{padding:16px!important;border-radius:12px!important;gap:14px!important}
.staff-workspace [aria-label="پروفایل من"] img{width:64px;height:64px;border-width:1px;box-shadow:none}
.staff-workspace .workspace-content>section{padding-top:24px}
.staff-workspace .workspace-content h1{font-size:clamp(22px,2vw,28px);line-height:1.6}
.staff-workspace :is(.gh-device-notices,.gh-inbox-notices){margin:12px 24px 0!important;padding:0 14px!important;border-radius:8px!important;background:#142e38!important;color:#cfe2e3!important;border:1px solid #39535d!important;font-size:13px}
.staff-workspace :is(.gh-device-notices,.gh-inbox-notices)>summary{padding:8px 0;cursor:pointer;min-height:40px}
.staff-workspace :is(.gh-device-notices,.gh-inbox-notices)>p{font-size:13px;margin:6px 0 12px}
.staff-workspace .gh-device-notices>button{font-size:13px!important;margin:8px 0;min-height:40px!important;background:#087f82!important}
@media(max-width:640px){.staff-workspace :is(.gh-device-notices,.gh-inbox-notices){margin-inline:16px!important}.staff-workspace [aria-label="پروفایل من"] img{width:56px;height:56px}}

.staff-workspace :is(.workspace-help,.workspace-technical){font-size:13px;color:#b2c5ca;border:0!important;padding:4px 0!important;background:transparent!important}
.staff-workspace :is(.workspace-help,.workspace-technical) summary{font-size:13px;font-weight:400;min-height:32px;cursor:pointer}
.staff-workspace :is(.workspace-help,.workspace-technical) p{font-size:13px;line-height:1.8}
.team-insights{margin:20px 24px;padding:18px;border:1px solid #39535d;border-radius:12px;background:#112a34;color:#e5efed}.team-insight-heading{display:flex;gap:12px;justify-content:space-between;align-items:center;margin-bottom:16px}.team-insight-heading h2{font-size:18px;font-weight:650}.team-insight-heading button{font-size:13px;color:#a0d9d3;min-height:40px;padding:6px 12px;border:1px solid #48646e;border-radius:8px}.team-insight-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:16px}.team-insight-finance{grid-column:1/-1}.team-insight-card{padding:16px;background:#19343e;border:1px solid #39535d;border-radius:10px}.team-insight-card h3{font-size:15px;font-weight:600;color:#e0cb9f;margin-bottom:10px}.team-insight-note{font-size:12px!important;color:#b2c5ca;margin:6px 0 12px}.team-insight-row{margin:14px 0}.team-insight-label{display:flex;justify-content:space-between;gap:12px;font-size:13px;margin-bottom:6px}.team-insight-label strong{font-weight:600;white-space:nowrap}.team-insight-track{height:7px;background:#304c56;border-radius:4px;overflow:hidden}.team-insight-track span{display:block;height:100%;border-radius:4px}.team-insights>.workspace-help{margin-top:12px}@media(max-width:640px){.team-insights{margin:16px;padding:14px}.team-insight-label{flex-wrap:wrap}}
.staff-settlements{margin:20px 24px;padding:18px;background:#142e38;border:1px solid #39535d;border-radius:12px;color:#e5efed}.staff-settlements h2{font-size:18px;font-weight:650}.staff-settlements h3{font-size:15px;font-weight:600}.staff-settlements :is(input,select,textarea){display:block;width:100%;padding:10px 12px;margin:6px 0 12px;border:1px solid #597680;border-radius:8px}.staff-settlements :is(button,summary){min-height:44px;cursor:pointer}.staff-settlements button{padding:8px 16px;background:#087f82;color:#fff;border-radius:8px}.staff-settlements .settlement-consent{display:flex;gap:10px;align-items:center;margin:14px 0;font-size:13px}.staff-settlements .settlement-consent input{width:18px;height:18px;margin:0;flex-shrink:0}.settlement-record{border-top:1px solid #39535d;padding:18px 0}.settlement-state{color:#b8d9dd;font-size:13px}.settlement-steps{display:flex;gap:8px;list-style:none;padding:0;margin:12px 0}.settlement-steps li{flex:1;border-top:3px solid #48616b;padding-top:7px;font-size:12px;color:#b2c5ca}.settlement-steps .complete{border-color:#57d1b4;color:#a5e6d4}.settlement-request,.settlement-queue{margin-top:16px}.settlement-request>summary{color:#7ee3d5;font-weight:650}.settlement-action{margin-top:8px;padding:0 12px;border:1px solid #39535d;border-radius:8px}.settlement-action summary{font-size:13px;align-content:center}.settlement-action form{padding-bottom:14px}.staff-settlements label{font-size:14px}.staff-settlements .team-insight-label{padding:7px 0}.staff-workspace [hidden]{display:none!important}@media(max-width:640px){.staff-settlements{margin:16px;padding:14px}}
.team-finance-visual{grid-column:1/-1}.team-finance-visual>label{display:flex;gap:12px;align-items:center;margin-bottom:14px;font-size:13px}.team-finance-visual select{padding:8px 14px;border-radius:8px;border:1px solid #597680}.finance-ring{height:104px;width:104px;border-radius:50%;margin:18px auto;position:relative}.finance-ring:after{content:'';position:absolute;inset:14px;background:#19343e;border-radius:50%}.finance-composition .team-insight-label{padding:5px 0}.finance-monthly{display:flex;gap:8px;align-items:flex-end;justify-content:space-between;min-height:205px;direction:ltr}.finance-month-column{display:flex;flex-direction:column;justify-content:flex-end;align-items:center;flex:1;min-width:0;gap:7px;height:200px}.finance-month-bar{background:linear-gradient(#64dacc,#328ea7);width:70%;border-radius:5px 5px 0 0;min-height:2px}.finance-month-column strong{font-size:10px;font-weight:500;word-break:break-word;max-width:100%;text-align:center}.finance-month-column>span{font-size:11px;color:#b2c5ca}.team-insight-heading small{font-size:11px;color:#d6b575}.team-insight-card:nth-child(3n+2) h3{color:#9fdce9}.team-insight-card:nth-child(3n+3) h3{color:#cdb9fa}
.financial-report-controls{margin-bottom:16px;border-bottom:1px solid #39535d;padding-bottom:12px}.financial-report-controls>summary{color:#bca6f2;font-size:14px}.financial-report-controls form{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;align-items:end}.financial-report-controls form>button{margin-bottom:12px;min-height:44px}.financial-report-actions{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0}.financial-report-actions button{background:#244955!important;border:1px solid #537782}.financial-report-table{max-width:100%;overflow:auto}.financial-report-table table{width:100%;border-collapse:collapse;font-size:12px}.financial-report-table :is(td,th){padding:9px;text-align:start;border-bottom:1px solid #39535d;white-space:nowrap}.report-output{font-size:13px}.financial-report-controls [hidden]{display:none!important}
