/* Original Ilm-e-Nafe inner-screen patterns, informed by owner research.
   No borrowed assets, no generated figures, no changed request or save logic. */
:root{--ine-accent:#8FE3B8;--ine-primary:#013117;--ine-cream:#FFFAF0;--ine-mint-ink:#176C48;
--ine-ui-radius:20px;--ine-ui-ease:cubic-bezier(.22,1,.36,1);
--ine-ui-shadow:0 12px 36px rgba(1,49,23,.07),0 3px 10px rgba(1,49,23,.035)}
:where(.ine-dashboard-inner,.ine-management-view,.ine-paper-view,.ine-academics-view,.ine-studio-standalone,.ine-esheet-standalone,.ine-practice-standalone,.ine-superadmin) :is(.panel,.card,.sa-card,.pq-card,.pz-hometile,.ps-card){
border-radius:var(--ine-ui-radius);box-shadow:var(--ine-ui-shadow);border-color:#DBE9E0;
transition:transform 220ms var(--ine-ui-ease),box-shadow 220ms var(--ine-ui-ease)}
:where(.ine-dashboard-inner,.ine-management-view,.ine-paper-view,.ine-academics-view,.ine-studio-standalone,.ine-esheet-standalone,.ine-practice-standalone,.ine-superadmin) :is(.panel,.card,.sa-card,.pq-card,.pz-hometile,.ps-card):focus-within{
box-shadow:0 15px 38px rgba(1,49,23,.105)}
:where(.ine-dashboard-inner,.ine-management-view,.ine-paper-view,.ine-academics-view,.ine-studio-standalone,.ine-esheet-standalone,.ine-practice-standalone,.ine-superadmin) :is(h1,.page-title,.pq-h){font-size:clamp(23px,2.5vw,28px);line-height:1.25;letter-spacing:-.035em}
:where(.ine-dashboard-inner,.ine-management-view,.ine-paper-view,.ine-academics-view,.ine-studio-standalone,.ine-esheet-standalone,.ine-practice-standalone,.ine-superadmin) :is(.table-wrap,.table-responsive,.sa-table-wrap){overflow-x:auto;max-width:100%}
:where(.ine-dashboard-inner,.ine-management-view,.ine-paper-view,.ine-academics-view,.ine-studio-standalone,.ine-esheet-standalone,.ine-practice-standalone,.ine-superadmin) table{border-collapse:separate;border-spacing:0;line-height:1.45}
:where(.ine-dashboard-inner,.ine-management-view,.ine-paper-view,.ine-academics-view,.ine-studio-standalone,.ine-esheet-standalone,.ine-practice-standalone,.ine-superadmin) table thead th{
background:linear-gradient(110deg,#EFFAF4,#FFFAF0);color:#184833;font-size:12px;letter-spacing:.025em}
:where(.ine-dashboard-inner,.ine-management-view,.ine-paper-view,.ine-academics-view,.ine-studio-standalone,.ine-esheet-standalone,.ine-practice-standalone,.ine-superadmin) table tbody td{padding-block:14px}
:where(.ine-dashboard-inner,.ine-management-view,.ine-paper-view,.ine-academics-view,.ine-studio-standalone,.ine-esheet-standalone,.ine-practice-standalone,.ine-superadmin) table tbody tr:hover{background:#F0FAF4}
:where(.ine-dashboard-inner,.ine-management-view,.ine-paper-view,.ine-academics-view,.ine-studio-standalone,.ine-esheet-standalone,.ine-practice-standalone,.ine-superadmin) :is(.badge,.chip,.status,.sa-badge){border-radius:999px;font-weight:700}
:where(.ine-dashboard-inner,.ine-management-view,.ine-paper-view,.ine-academics-view,.ine-studio-standalone,.ine-esheet-standalone,.ine-practice-standalone,.ine-superadmin) :is(input:not([type=checkbox]):not([type=radio]),select,textarea){
max-width:100%;min-height:44px;border-radius:12px}
:where(.ine-dashboard-inner,.ine-management-view,.ine-paper-view,.ine-academics-view,.ine-studio-standalone,.ine-esheet-standalone,.ine-practice-standalone,.ine-superadmin) :is(a,button,input,select,textarea):focus-visible{outline:3px solid var(--ine-accent);outline-offset:2px}
:where(.ine-dashboard-inner,.ine-management-view,.ine-paper-view,.ine-academics-view,.ine-studio-standalone,.ine-esheet-standalone,.ine-practice-standalone,.ine-superadmin) :is(button,.button,.btn,.pz-go,.es-act,.ps-act,.sa-btn){
transition:transform 160ms var(--ine-ui-ease),box-shadow 240ms var(--ine-ui-ease)}
:where(.ine-dashboard-inner,.ine-management-view,.ine-paper-view,.ine-academics-view,.ine-studio-standalone,.ine-esheet-standalone,.ine-practice-standalone,.ine-superadmin) :is(button,.button,.btn,.pz-go,.es-act,.ps-act,.sa-btn):active{transform:scale(.975)}
:where(.ine-studio-standalone,.ine-esheet-standalone,.ine-practice-standalone,.ine-superadmin) :is(.ps-wrap,.es-wrap,.pq-wrap,.sa-wrap)>:is(section,.panel,.sa-card){
animation:ine-benchmark-arrive 260ms var(--ine-ui-ease) both}
@keyframes ine-benchmark-arrive{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}
.ine-benchmark-guide{display:flex;gap:12px;align-items:flex-start;border:1px solid #BFDEC9;border-radius:16px;
background:linear-gradient(120deg,#FFFAF0,#EFFBF4);padding:13px 17px;color:#214938;font-size:14px;line-height:1.55;margin:0 0 17px}
.ine-benchmark-guide strong{color:#013117}
.ine-benchmark-guide__icon{display:grid;place-items:center;flex:none;width:34px;height:34px;background:#D9F7E7;border-radius:10px;color:#176C48;font-weight:900}
@media(hover:hover) and (pointer:fine){:where(.ine-studio-standalone,.ine-esheet-standalone,.ine-practice-standalone,.ine-superadmin) :is(.pz-hometile,.pq-card):hover{transform:translateY(-3px);box-shadow:0 20px 36px rgba(1,49,23,.12)}}
@media(max-width:480px){.ine-benchmark-guide{padding:11px;gap:9px;font-size:13px}
:where(.ine-studio-standalone,.ine-esheet-standalone,.ine-practice-standalone,.ine-superadmin) :is(.ps-wrap,.es-wrap,.pq-wrap,.sa-wrap){padding-inline:12px}}
@media(prefers-reduced-motion:reduce){:where(.ine-dashboard-inner,.ine-management-view,.ine-paper-view,.ine-academics-view,.ine-studio-standalone,.ine-esheet-standalone,.ine-practice-standalone,.ine-superadmin) *, :where(.ine-dashboard-inner,.ine-management-view,.ine-paper-view,.ine-academics-view,.ine-studio-standalone,.ine-esheet-standalone,.ine-practice-standalone,.ine-superadmin) *::before{animation:none!important;transition:none!important}}
@media print{.ine-benchmark-guide{display:none!important}
:where(.ine-studio-standalone,.ine-esheet-standalone,.ine-practice-standalone,.ine-superadmin) *{animation:none!important;transition:none!important}
:where(.ine-studio-standalone,.ine-esheet-standalone,.ine-practice-standalone,.ine-superadmin) :is(.panel,.card,.sa-card){box-shadow:none!important}}

/* Command-center, directory and platform composition: no fabricated KPI values. */
.ine-dashboard-inner .content :is(.ine-dash-actions,.panel){
 border-radius:22px;box-shadow:0 16px 40px rgba(1,49,23,.08)
}
.ine-dashboard-inner .content :is(.stat-card,.dash-card){
 padding:clamp(17px,2vw,24px);min-height:112px;
 border:1px solid #DCEBE2;border-radius:20px!important;
 background:linear-gradient(140deg,#fff,#F7FDF9 65%,#FFFAF0)!important
}
.ine-dashboard-inner .content :is(.stat-card,.dash-card) :is(h3,h4,strong){
 letter-spacing:-.025em
}
.ine-management-view .content :is(.grid2,.grid3,.grid4){
 gap:clamp(12px,1.8vw,22px);align-items:start
}
.ine-management-view .content .form-grid :is(label,legend){
 font-weight:700;color:#1D4C35
}
.ine-management-view .content .form-grid :is(input,select,textarea){
 background:#fff;border-color:#BFDCCA;min-height:44px
}
.ine-management-view .content :is(.panel,.card):has(> table){
 overflow-x:auto;overscroll-behavior-x:contain
}
.ine-superadmin .sa-wrap :is(.sa-card,.panel){
 border-radius:22px;box-shadow:0 13px 36px rgba(1,49,23,.075);
 border:1px solid #D3E8DA;background:linear-gradient(145deg,#fff,#FBFEFC 72%,#FFFAF0)
}
.ine-superadmin .sa-wrap :is(h2,h3){
 color:#013117;letter-spacing:-.025em;line-height:1.32
}
.ine-superadmin .sa-wrap :is(input:not([type=checkbox]):not([type=radio]),select,textarea){
 min-height:44px;border-radius:12px;border-color:#C3DDCD;max-width:100%
}
.ine-superadmin .sa-wrap :is(.sa-badge,.badge,.status){border-radius:999px}
.ine-superadmin .sa-wrap :is(table,.sa-table){
 border-collapse:separate;border-spacing:0;width:100%
}
.ine-superadmin .sa-wrap table thead th{
 background:linear-gradient(115deg,#EAF8F0,#FFFAF0);color:#174B33;
 font-size:12px;letter-spacing:.02em
}
.ine-superadmin .sa-wrap table tbody td{padding-block:14px}
.ine-superadmin .sa-wrap :is(.sa-card,.panel) :is(button,.sa-btn):focus-visible{outline:3px solid #8FE3B8;outline-offset:2px}
@media(max-width:560px){
 .ine-superadmin .sa-wrap :is(.sa-card,.panel){padding:13px}
 .ine-superadmin .sa-wrap :is(table,.sa-table){display:block;overflow-x:auto}
}
@media print{.ine-superadmin .sa-wrap :is(.sa-card,.panel){box-shadow:none!important;background:#fff!important}}

/* THEME ALIGNMENT (2026-11-02, append-only; no logic changed) — flat slate canvas,
   flat white 16px cards, slate-200 borders, theme teal headings/focus.
   DELIBERATE KEEPS: mint (#8FE3B8) focus outlines; coloured stat cards keep their
   backgrounds (only radius/border normalised for them). */
:where(.ine-dashboard-inner,.ine-management-view,.ine-paper-view,.ine-academics-view,.ine-studio-standalone,.ine-esheet-standalone,.ine-practice-standalone,.ine-superadmin) :is(.panel,.card,.sa-card,.pq-card,.pz-hometile,.ps-card){
 border-radius:16px;box-shadow:0 1px 3px rgba(15,23,42,.08);border:1px solid #E2E8F0;background:#fff}
:where(.ine-dashboard-inner,.ine-management-view,.ine-paper-view,.ine-academics-view,.ine-studio-standalone,.ine-esheet-standalone,.ine-practice-standalone,.ine-superadmin) :is(h1,.page-title,.pq-h){color:#0B4D5C}
:where(.ine-dashboard-inner,.ine-management-view,.ine-paper-view,.ine-academics-view,.ine-studio-standalone,.ine-esheet-standalone,.ine-practice-standalone,.ine-superadmin) table thead th{
 background:#F8FAFC;color:#0B4D5C}
:where(.ine-dashboard-inner,.ine-management-view,.ine-paper-view,.ine-academics-view,.ine-studio-standalone,.ine-esheet-standalone,.ine-practice-standalone,.ine-superadmin) table tbody tr:hover{background:#F0FDFA}
:where(.ine-dashboard-inner,.ine-management-view,.ine-paper-view,.ine-academics-view,.ine-studio-standalone,.ine-esheet-standalone,.ine-practice-standalone,.ine-superadmin) :is(input:not([type=checkbox]):not([type=radio]),select,textarea){border-color:#CBD5E1}
:where(.ine-dashboard-inner,.ine-management-view,.ine-paper-view,.ine-academics-view,.ine-studio-standalone,.ine-esheet-standalone,.ine-practice-standalone,.ine-superadmin) :is(input:not([type=checkbox]):not([type=radio]),select,textarea):focus-visible{border-color:#00A3A3}
.ine-benchmark-guide{border:1px solid #E2E8F0;background:#F8FAFC;color:#334155}
.ine-benchmark-guide strong{color:#0B4D5C}
.ine-benchmark-guide__icon{background:#CCFBF1;color:#0B4D5C}
.ine-dashboard-inner .content :is(.ine-dash-actions,.panel){border-radius:16px}
.ine-dashboard-inner .content :is(.stat-card,.dash-card){border-radius:16px!important;border:1px solid #E2E8F0}
.ine-management-view .content .form-grid :is(label,legend){color:#334155}
.ine-management-view .content .form-grid :is(input,select,textarea){border-color:#CBD5E1}
.ine-superadmin .sa-wrap :is(.sa-card,.panel){border-radius:16px;border:1px solid #E2E8F0;background:#fff}
.ine-superadmin .sa-wrap :is(h2,h3){color:#0B4D5C}
.ine-superadmin .sa-wrap :is(input:not([type=checkbox]):not([type=radio]),select,textarea){border-color:#CBD5E1}
.ine-superadmin .sa-wrap table thead th{background:#F8FAFC;color:#0B4D5C}
@media(hover:hover) and (pointer:fine){:where(.ine-studio-standalone,.ine-esheet-standalone,.ine-practice-standalone,.ine-superadmin) :is(.pz-hometile,.pq-card):hover{box-shadow:0 12px 28px rgba(15,23,42,.12)}}


/* ===== LIQUID GLASS (portal benchmark, append-only; stat backgrounds untouched) ===== */
.ine-dashboard-inner .content :is(.panel){background:linear-gradient(145deg,rgba(255,255,255,0.68) 0%,rgba(235,250,251,0.46) 55%,rgba(255,255,255,0.58) 100%)!important;-webkit-backdrop-filter:blur(16px) saturate(1.7)!important;backdrop-filter:blur(16px) saturate(1.7)!important;border:1.5px solid rgba(255,255,255,0.88)!important;border-radius:20px!important;box-shadow:0 20px 40px -15px rgba(7,54,66,0.22),inset 0 2px 2px rgba(255,255,255,0.98)!important}
