/* Seneh Zhemir: scoped palette over the approved shared admin components. */
body.subscription-landing,body.saas-web,body.saas-workspace,.saas-workspace .adm{
  --brand:#207a55;--brand-d:#076a53;--brand-deep:#153d2d;
  --brand-t:#eaf6ef;--brand-t2:#f7faf8;--on-brand:#cfe6da;
  --bg:#f3f6f5;--surface:#fff;--surface-2:#f1f5f2;--line:#e2e9e8;--line-2:#dbe4df;
  --text:#172b37;--text-2:#465e55;--text-3:#536b60;
  --admin-side:#122832;--admin-side-raised:#1c3843;--admin-side-hover:#213b46;
  --admin-side-line:#34505a;--admin-side-text:#f3f7f5;--admin-side-muted:#a9bec5;
  --saas-selected:#22463f;--saas-selected-text:#91e0c2;
  --sh-brand:0 3px 14px rgb(32 122 85 / 12%);
}
body.subscription-landing{--brand-dark:var(--brand-d);--ink:var(--text);--muted:var(--text-2);--paper:var(--bg);--soft:var(--brand-t)}
.subscription-landing :is(.plan-art,.dialog-visual) img{filter:hue-rotate(-80deg)}
.subscription-landing .intro-side{border-color:var(--line)}
.subscription-landing .plan-card:hover{border-color:var(--brand);box-shadow:0 14px 28px rgb(32 122 85 / 12%)}
.saas-workspace .adm .side{--brand-t:var(--saas-selected);--brand-t2:var(--admin-side-hover)}
.saas-workspace .adm .reference-sidebar{background:var(--admin-side);color:var(--admin-side-muted)}
.saas-workspace .adm .reference-nav.active,.saas-workspace .side .lnk.on,
.saas-workspace .side .grp[open]>summary,.saas-workspace .side .sub a.on{
  background:var(--saas-selected);color:var(--saas-selected-text);
}
.saas-workspace .side .grp[open]>summary :is(.ic,.chev){color:var(--saas-selected-text)}
.saas-workspace .side .sub a.on .dot{background:var(--saas-selected-text)}
.saas-workspace .adm .side-avatar{background:var(--brand-t);color:var(--brand-d)}
.saas-workspace .adm .btn-g,.saas-workspace .adm :is(.reference-module-tabs,.accounting-page .reference-tabs) .btn-g{
  background:var(--brand-t2);color:var(--text-2);border-color:var(--line-2);
}
.saas-workspace .adm .btn-g:hover,.saas-workspace .adm :is(.reference-module-tabs,.accounting-page .reference-tabs) .btn-g:hover{
  background:var(--brand-t);color:var(--brand-d);border-color:var(--brand);
}
.saas-workspace .adm .reference-sidebar .reference-nav:hover{background:var(--admin-side-hover);color:var(--admin-side-text)}
/* Shared operational components with legacy literal brand colors. */
.saas-workspace .adm label{color:var(--text)}
.saas-workspace .adm :is(input,textarea)::placeholder{color:var(--text-3)}
.saas-workspace .adm th{background:var(--surface-2);color:var(--text-2)}
.saas-workspace .adm td{border-bottom-color:var(--line)}
.saas-workspace .adm tr:hover td{background:var(--brand-t2)}
.saas-workspace .adm :is(.reference-filter-details,.reference-row-actions,.purchase-extra-info)>summary,
.saas-workspace .adm .document-switch a:not(.active),
.saas-workspace .adm .settings-jumps .btn:not([aria-selected=true]){
  background:var(--brand-t2);border-color:var(--line-2);color:var(--brand-d);
}
.saas-workspace .adm :is(.reference-filter-details,.reference-row-actions,.purchase-extra-info)>summary:hover,
.saas-workspace .adm :is(.reference-filter-details,.reference-row-actions,.purchase-extra-info)[open]>summary{
  background:var(--brand-t);border-color:var(--brand);
}
.saas-workspace .adm :is(.reference-filter-details,.reference-row-actions)>summary:focus-visible{outline-color:var(--brand)}
.saas-workspace .adm :is(.reference-module-tabs,.accounting-page .reference-tabs,.document-switch){border-bottom-color:var(--line-2)}
.saas-workspace .adm .desk-link{background:var(--brand-t2);border-color:var(--line-2)}
.saas-workspace .adm .desk-link:is(:hover,:focus-visible){background:var(--brand-t);border-color:var(--brand)}
.saas-workspace .adm :is(.desk-link-icon,.desk-group-icon){color:var(--brand)}
.saas-workspace .adm .desk-link b{color:var(--text)}
.saas-workspace .adm .desk-link small{color:var(--text-2)}
.saas-workspace .adm .desk-group-purchase .desk-primary{background:var(--brand-d)}
.saas-workspace .adm .desk-group-purchase .desk-primary:hover{background:var(--brand-deep)}
.saas-workspace .adm .finance-account-total{background:var(--brand-t2)}
.saas-workspace .adm .invoice-panel .supplier-options button:is(:hover,:focus-visible){background:var(--brand-t)}
.saas-workspace .adm .admin-chart-axis{background:var(--text-3)}
.saas-workspace .adm .admin-chart-columns{border-bottom-color:var(--line-2)}
.saas-workspace .adm .comparison-grid{stroke:var(--line)}
.saas-workspace .adm .comparison-axis{fill:var(--text-2)}
.saas-workspace .adm .comparison-cursor{stroke:var(--text-3)}
.saas-preparing{border-inline-start:4px solid var(--brand);padding:var(--s4);}
.saas-preparing-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:var(--s3)}
.saas-preparing-head h2{margin:0;font-size:var(--fs-d);overflow-wrap:anywhere;}
.saas-preparing-state{display:inline-flex;align-items:center;gap:var(--s1);color:var(--brand-d);font-size:var(--fs-c);font-weight:700;}
.saas-preparing-state::before{content:'';width:14px;height:14px;border:2px solid var(--line-2);border-top-color:var(--brand);border-radius:50%;animation:saas-wait 1s linear infinite;}
.saas-preparing p{color:var(--text-2);font-size:var(--fs-b);line-height:2;}
.saas-preparing-steps{display:flex;flex-wrap:wrap;gap:var(--s2);padding:0;list-style:none;margin:var(--s3) 0;}
.saas-preparing-steps li{padding:var(--s1) var(--s2);background:var(--brand-t2);border:1px solid var(--line);border-radius:var(--r-s);font-size:var(--fs-c);color:var(--text-2);}
.saas-preparing-steps li[aria-current=step]{background:var(--brand-t);border-color:var(--brand);color:var(--brand-d);}
.saas-preparing-footer{display:flex;justify-content:space-between;align-items:center;gap:var(--s3);flex-wrap:wrap;border-top:1px solid var(--line);padding-top:var(--s3);}
.saas-preparing-footer p{margin:0;max-width:70ch;}
@keyframes saas-wait{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.saas-preparing-state::before{animation:none;}}
@media(max-width:700px){.saas-preparing{padding:var(--s3)}.saas-preparing-footer .btn{width:100%}.saas-preparing-head h2{font-size:var(--fs-h1)}}

/* 226: locally hosted Estedad; restrained Persian typography for the SaaS portal. */
@font-face{font-family:SenehEstedad;src:url('/assets/fonts/Estedad-Regular.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:SenehEstedad;src:url('/assets/fonts/Estedad-Medium.woff2') format('woff2');font-weight:500 600;font-style:normal;font-display:swap}
@font-face{font-family:SenehEstedad;src:url('/assets/fonts/Estedad-Bold.woff2') format('woff2');font-weight:700 900;font-style:normal;font-display:swap}
body.saas-web,body.subscription-landing,body.saas-workspace,.saas-workspace .adm{
 --font:SenehEstedad,Tahoma,sans-serif;--saas-reading:15px;--saas-caption:13px;
 font-family:var(--font);font-size:var(--saas-reading);font-weight:400;line-height:1.9;
 font-synthesis:none;
}
:is(.saas-web,.subscription-landing,.saas-workspace) :is(h1,h2,h3,h4,p,label,button,input,select,textarea,table,.btn,.saas-shop-heading h1){font-family:var(--font);letter-spacing:normal}
.saas-web :is(.saas-form p,.saas-footnote,.saas-heading p,.saas-notice,.saas-stats article>span){font-size:14px;line-height:1.9}
.saas-web :is(small,.saas-table th,.saas-pagination){font-size:var(--saas-caption);line-height:1.8}
.saas-web :is(.saas-form label,.btn,th){font-weight:500}
.saas-web :is(h1,.saas-heading h1,.saas-shop-heading h1){font-size:26px;font-weight:700;line-height:1.65}
.saas-web :is(h2,.saas-form h2){font-size:20px;font-weight:700;line-height:1.7}
.saas-web .saas-web-header>a{font-size:23px;font-weight:700}
.saas-web .saas-auth-intro h1{font-size:30px;font-weight:700;line-height:1.7}
.saas-web :is(.saas-table td,.saas-wallet dd,.saas-stats strong){font-variant-numeric:tabular-nums}
.subscription-landing :is(h1,h2,h3,.plan-title,.wordmark strong){font-weight:700}
.subscription-landing .intro h1{font-size:clamp(30px,4vw,48px);line-height:1.65}
@media(max-width:650px){.saas-web :is(h1,.saas-heading h1,.saas-shop-heading h1,.saas-auth-intro h1){font-size:23px}.saas-web :is(h2,.saas-form h2){font-size:19px}}
