@font-face{font-family:Tajawal;src:url('/assets/tajawal-Tajawal-Regular.ttf') format('truetype');font-weight:400 500;font-display:swap}
@font-face{font-family:Tajawal;src:url('/assets/tajawal-Tajawal-Bold.ttf') format('truetype');font-weight:600 700;font-display:swap}
@font-face{font-family:Tajawal;src:url('/assets/tajawal-Tajawal-ExtraBold.ttf') format('truetype');font-weight:800 950;font-display:swap}
:root{font-family:Tajawal,Arial,sans-serif;color:#182d3a;background:#f3f7f7;font-size:16px;--navy:#102c3b;--navy-deep:#0d2533;--teal:#087f76;--mint:#e3f5f0;--ink:#182d3a;--muted:#4e6570;--border:#dce7e7;--surface:#fff;--shadow:0 10px 34px #132d3d09;--sidebar:238px}
*,*::before,*::after{box-sizing:border-box}
body{margin:0;min-width:300px}
button,input,select,textarea{font:inherit}
button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}
button{cursor:pointer}
button:disabled{cursor:wait;opacity:.62}
a{color:var(--teal);text-decoration:none}
:focus-visible{outline:3px solid #0cae9d;outline-offset:3px}
h1,h2,h3,p{margin:0}
h1,h2,h3{font-weight:800}
p{line-height:1.65}
.ico{width:20px;height:20px;flex:none;vertical-align:middle}
.btn,.icon-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid transparent;white-space:nowrap;line-height:1.2;font-weight:700;transition:background .16s,border-color .16s,box-shadow .16s;color:var(--ink)}
.btn{padding:11px 16px;min-height:43px;border-radius:10px}
.btn .ico,.icon-btn .ico{width:18px;height:18px}
.secondary,.icon-btn{background:#fff;border-color:#d8e5e5}
.secondary:hover,.icon-btn:hover{background:#eaf5f3;border-color:#a8cfc8}
.primary{color:#fff;background:#087a70;border-color:#087a70;box-shadow:0 5px 12px #087f7620}
.primary:hover{background:#06665f;border-color:#06665f}
.icon-btn{border-radius:9px;width:40px;height:40px;padding:0}
.danger-icon{color:#a1383f}
.danger-icon:hover,.danger-soft{background:#fff0ef;border-color:#f1cece;color:#96333c}
.danger-soft:hover{background:#ffe3e3}
.actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.tile{display:inline-grid;place-items:center;width:44px;height:44px;border-radius:12px;flex:none;color:#087b71;background:var(--mint)}
.tile .ico{width:22px;height:22px}
.mint{background:#e1f5ef!important;color:#07665e!important}
.blue{background:#e9effd!important;color:#3154a0!important}
.sand{background:#fff2d9!important;color:#805814!important}
.purple{background:#f1eafa!important;color:#724795!important}
.tag{display:inline-flex;align-items:center;justify-content:center;max-width:100%;gap:4px;padding:6px 9px;border-radius:7px;background:#edf3f3;color:#405d65;font-size:.84rem;font-weight:700;line-height:1.12}
.brand{display:flex;align-items:center;gap:11px;color:var(--navy);white-space:nowrap}
.brand.inverse{color:#fff}
.brand-mark{width:43px;height:43px;display:grid;place-items:center;background:#0a8b80;border:1px solid #0fa496;color:white;border-radius:12px;box-shadow:0 5px 12px #091c2520}
.brand-mark .ico{width:23px;height:23px}
.brand strong,.brand small,.profile b,.profile small{display:block}
.brand strong{font-size:1.14rem;font-weight:800}
.brand small{font-size:.81rem;color:#60757e;margin-top:3px}
.brand.inverse small{color:#b7cfd0}
.loading{display:grid;place-items:center;min-height:100vh;color:var(--teal);font-weight:800}
.auth{display:grid;grid-template-columns:minmax(430px,1.08fr) minmax(410px,1fr);min-height:100vh;background:white}
.auth-hero{position:relative;isolation:isolate;min-height:680px;overflow:hidden;background:radial-gradient(ellipse at 32% 82%,#144a53 0%,transparent 60%),linear-gradient(145deg,#102d3b,#0c2938 56%,#0c3842);color:#fff;padding:47px clamp(34px,5vw,82px) 30px;display:flex;align-items:flex-start;flex-direction:column}
.auth-hero::before,.hero::before{content:'';position:absolute;inset:0;z-index:-1;background-image:radial-gradient(circle,#e0ffff55 1px,transparent 1px);background-size:19px 19px;mask-image:linear-gradient(72deg,#000,transparent 58%);opacity:.45;pointer-events:none}
.auth-copy{margin-top:clamp(54px,9vh,110px);z-index:1}
.eyebrow{display:inline-flex;align-items:center;gap:8px;font-weight:700;white-space:nowrap;color:#b9dedb;font-size:.94rem;letter-spacing:.01em}
.eyebrow i,.dot{width:8px;height:8px;border-radius:50%;display:inline-block;background:#29c3ac;flex:none}
.auth-copy h1{font-size:clamp(3rem,6vw,6.8rem);line-height:.99;letter-spacing:-.045em;margin:18px 0 20px}
.auth-copy h1 em{font-style:normal;color:#5bd4be}
.auth-copy p{font-size:1.19rem;color:#d6e9e9;max-width:385px}
.auth-art{width:min(90%,510px);margin:14px auto -6px;padding:0 4%;position:relative}
.auth-art::before{content:'';position:absolute;width:85%;height:80%;left:8%;bottom:0;border-radius:50%;background:#22cbb12b;filter:blur(40px);z-index:-1}
.auth-art img{width:100%;display:block;filter:drop-shadow(0 22px 20px #061d3090)}
.auth-foot{margin-top:auto;display:flex;flex-wrap:wrap;gap:19px;padding-top:16px;color:#d4e8e8;font-size:.93rem}
.auth-foot span{display:inline-flex;align-items:center;gap:6px}
.auth-foot .ico{color:#6edcca;width:17px;height:17px}
.auth-main{position:relative;display:grid;place-items:center;padding:56px 44px 72px}
.auth-main footer{position:absolute;bottom:24px;inset-inline:12px;text-align:center;color:#637c83;font-size:.88rem}
.auth-form{width:min(100%,410px)}
.auth-form>.tile{width:52px;height:52px;margin-bottom:16px}
.auth-form h2{font-size:2.6rem;margin-bottom:7px}
.auth-form>p{color:var(--muted);margin-bottom:25px}
.auth-form form>.field,.password-wrap{margin-bottom:13px}
.auth-form .btn{width:100%;min-height:48px}
.auth-or{display:flex;align-items:center;gap:12px;color:#667d83;font-size:.86rem;margin:17px 0}
.auth-or::before,.auth-or::after{content:'';height:1px;background:var(--border);flex:1}
.text-link{display:block;text-align:center;font-size:.91rem;font-weight:700;margin-top:15px}
.password-wrap{position:relative}
.password-wrap .icon-btn{position:absolute;inset-inline-end:5px;bottom:4px;border:0;background:transparent;color:#4e666e}
.password-wrap input{padding-inline-end:47px!important}
.app-shell{min-height:100vh}
.sidebar{position:fixed;inset-inline-start:0;top:0;bottom:0;width:var(--sidebar);background:var(--navy);color:#e6f0f0;display:flex;flex-direction:column;padding:24px 14px 16px;z-index:9;overflow:auto}
.side-top{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #ffffff16;padding:0 8px 22px}
.sidebar nav{padding:5px 0 9px}
.nav-caption{font-size:.81rem;color:#98b6bd;font-weight:700;margin:20px 10px 8px}
.nav-item{width:100%;border:1px solid transparent;background:transparent;color:#d3e4e9;border-radius:9px;display:flex;align-items:center;gap:11px;text-align:start;padding:10px 11px;min-height:41px;margin:2px 0;font-weight:700}
.nav-item .ico{width:19px;height:19px;color:#9abcc4}
.nav-item:hover{background:#ffffff09}
.nav-item.active{background:#194855;border-color:#23606a;color:#fff}
.nav-item.active .ico{color:#68dbc7}
.nav-item i{width:6px;height:6px;border-radius:50%;background:#67dbca;margin-inline-start:auto}
.side-bottom{margin-top:auto;border-top:1px solid #ffffff16;padding-top:10px}
.side-action{border:0;color:#d3e4e9;background:transparent;width:100%;justify-content:flex-start;padding-inline:10px;font-size:.91rem}
.side-action:hover{background:#ffffff0c}
.side-note{display:flex;align-items:center;gap:8px;color:#a8dcd7;padding:10px;font-size:.88rem}
.workspace{margin-inline-start:var(--sidebar);min-height:100vh;display:flex;flex-direction:column}
.topbar{height:68px;display:flex;align-items:center;justify-content:space-between;gap:15px;background:#fff;border-bottom:1px solid var(--border);padding:0 clamp(16px,3vw,38px)}
.crumb,.profile{display:flex;align-items:center;gap:10px}
.crumb{color:#617780;font-size:.92rem}
.crumb>.ico{width:17px;height:17px;color:var(--teal)}
.crumb i{font-style:normal;color:#9ab0b5}
.crumb strong{color:var(--ink)}
.profile{text-align:end}
.profile b{font-size:.94rem}
.profile small{font-size:.78rem;color:var(--muted);margin-top:3px}
.avatar{width:38px;height:38px;background:#dbf1eb;color:#086f64;border:1px solid #c4e6dd;border-radius:11px;display:grid;place-items:center;font-weight:800;font-size:1.12rem;flex:none}
.workspace-main{width:100%;max-width:1560px;margin:0 auto;padding:27px clamp(17px,3vw,38px) 40px;outline:none;flex:1}
.page-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:20px}
.page-heading h1{font-size:clamp(1.7rem,2.5vw,2.3rem);line-height:1.17}
.page-heading p{font-size:.98rem;color:var(--muted);margin-top:3px}
.hero{position:relative;isolation:isolate;overflow:hidden;display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:208px;margin-bottom:17px;padding:25px 30px;border-radius:16px;background:radial-gradient(ellipse at 12% 80%,#197477 0%,transparent 52%),linear-gradient(115deg,#184552,#102e3e 63%,#102d39);color:#fff;box-shadow:var(--shadow)}
.hero>div{z-index:1}
.hero h2{font-size:clamp(1.7rem,3.1vw,2.9rem);line-height:1.15;margin:8px 0 6px}
.hero p{color:#d3e5e7;font-size:.99rem}
.hero img{width:clamp(185px,26%,300px);max-height:191px;object-fit:contain;margin:-12px 1% -12px 2%;filter:drop-shadow(0 12px 14px #0a222978)}
.hero-button{margin-top:14px;background:#e5f7f4;color:#115e59;border-color:#aeebe0;min-height:38px;padding:8px 12px}
.hero-button:hover{background:#fff}
.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:17px}
.stats-three{grid-template-columns:repeat(3,minmax(0,1fr))}
.stat,.panel,.record-card{background:#fff;border:1px solid var(--border);box-shadow:var(--shadow)}
.stat{border-radius:13px;padding:13px 16px 15px}
.stat-top{display:flex;justify-content:space-between;align-items:center;gap:7px;font-weight:700;color:#354f5a}
.stat .tile{width:37px;height:37px;border-radius:10px}
.stat .tile .ico{width:19px;height:19px}
.stat strong{display:block;font-size:2.08rem;line-height:1.05;margin-top:2px;font-weight:800}
.stat small{color:var(--muted);font-size:.86rem}
.overview-grid{display:grid;grid-template-columns:minmax(0,1.56fr) minmax(0,1fr);gap:14px;margin-bottom:17px}
.panel{border-radius:14px;padding:17px 19px}
.panel-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:13px}
.panel-head h2{font-size:1.23rem}
.panel-head p{margin-top:3px;color:var(--muted);font-size:.91rem}
.panel-head>.ico{color:var(--teal)}
.domain-chart{display:grid;gap:12px;padding:8px 0 5px}
.bar-row{display:grid;grid-template-columns:124px minmax(0,1fr) 26px;gap:10px;align-items:center;text-align:start;background:transparent;border:0;padding:5px 0;color:#3d565d;font-size:.92rem}
.bar-row:hover{color:var(--teal)}
.bar-row b{text-align:center;color:var(--ink)}
.bar-track,.mini-progress{background:#edf3f4;border-radius:30px;min-height:10px;overflow:hidden}
.bar-track i,.mini-progress i{display:block;height:10px;border-radius:30px}
.ring{width:132px;height:132px;border-radius:50%;margin:8px auto 12px;background:conic-gradient(#0a9f92 var(--rate),#e6eff0 0);display:grid;place-items:center;isolation:isolate}
.ring>div{width:106px;height:106px;border-radius:50%;background:#fff;display:grid;align-content:center;text-align:center}
.ring strong{font-size:2rem;font-weight:800;line-height:1.04}
.ring small{color:var(--muted);font-size:.83rem}
.chart-legend{display:flex;justify-content:center;flex-wrap:wrap;gap:15px;color:#506a72;font-size:.87rem}
.chart-legend span{display:inline-flex;align-items:center;gap:5px}
.dot{background:#c0d4d8}
.dot.teal{background:#0a9f92}
.rights{display:flex;flex-wrap:wrap;gap:9px}
.permission{display:flex;align-items:center;gap:8px;padding:11px 12px;border:1px solid var(--border);border-radius:10px;background:#f7fbfb;color:var(--ink);font-size:.92rem}
.permission:hover{background:#eaf7f4}
.permission>.ico{color:var(--teal);width:17px;height:17px}
.app-foot{display:flex;justify-content:space-between;gap:12px;padding:14px clamp(17px,3vw,38px);border-top:1px solid var(--border);color:#617780;font-size:.85rem}
.mobile-menu,.close-nav,.nav-overlay{display:none}
.filter-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:15px}
.filter{padding:9px 12px;min-height:41px;border-radius:9px;border:1px solid var(--border);background:white;color:#48616a;font-weight:700;white-space:nowrap}
.filter>span{margin-inline-start:5px;padding:2px 6px;border-radius:6px;background:#edf3f3;color:#3d5e65;font-size:.8rem}
.filter:hover{border-color:#91c6bd}
.filter.selected{background:#e1f4ee;border-color:#80c6b9;color:#096b61}
.filter.selected>span{background:#c9ebdf;color:#096b61}
.toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:11px;margin-bottom:15px}
.toolbar #result-count{margin-inline-start:auto;color:var(--muted);font-size:.9rem}
.search{position:relative;display:flex;align-items:center;flex:0 1 340px;min-width:230px}
.search .ico{position:absolute;inset-inline-start:11px;color:#607881;width:18px;height:18px}
.search input[type=search]{padding-inline-start:39px}
.school-search{max-width:370px;margin-bottom:12px}
.filter-label{display:flex;align-items:center;gap:7px;font-size:.9rem;color:#435e68}
.filter-label select{min-width:140px}
.card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.record-card{border-radius:14px;padding:15px;display:flex;min-width:0;flex-direction:column;align-items:stretch;transition:border-color .16s,box-shadow .16s}
.record-card:hover{border-color:#9accc3;box-shadow:0 8px 17px #132d3d10}
.record-top{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;margin-bottom:11px}
.domain-tile{background:color-mix(in srgb,var(--accent) 13%,white);color:var(--accent)}
.record-card h3{font-size:1.18rem;line-height:1.25;margin:3px 0 5px;overflow-wrap:anywhere}
.record-card p{font-size:.94rem;color:var(--muted);margin-bottom:13px;overflow-wrap:anywhere}
.clamp{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.record-meta{display:flex;align-items:center;justify-content:space-between;gap:7px;min-height:32px;margin-top:auto;font-size:.82rem;color:#48636e}
.record-meta span:first-child{display:flex;align-items:center;gap:4px}
.record-meta .ico{width:15px;height:15px}
.record-actions{display:flex;flex-wrap:wrap;gap:6px;align-items:center;padding-top:11px;margin-top:auto;border-top:1px solid #e5eeee}
.record-meta+.record-actions,.progress-label+.record-actions{margin-top:8px}
.record-actions .btn{padding:7px 9px;min-height:36px;font-size:.88rem}
.record-actions .icon-btn{width:36px;height:36px}
.mini-progress{min-height:6px;margin-top:8px}
.mini-progress i{height:6px;background:#15a192}
.progress-label{font-size:.81rem;color:var(--muted);margin-top:5px}
.pagination{display:flex;justify-content:space-between;align-items:center;color:var(--muted);margin-top:15px}
.empty{text-align:center;padding:34px 15px;background:#fbfdfd;border:1px dashed #c9dede;border-radius:12px}
.empty .tile{margin-bottom:9px}
.empty h3{font-size:1.14rem}
.empty p{color:var(--muted);font-size:.93rem;margin-top:4px}
.school-row{display:flex;align-items:center;gap:12px;padding:10px 0;border-top:1px solid #e6eeee}
.school-row .school-main{flex:1;min-width:110px}
.school-main strong,.school-main small{display:block;overflow-wrap:anywhere}
.school-main small,.school-user{color:var(--muted);font-size:.87rem}
.school-row .actions{justify-content:flex-end}
.school-row .tile{width:39px;height:39px}
.school-row .school-user{margin-inline-end:7px}
.form-panel form{padding-top:7px}
.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 15px;align-items:start}
.field{display:flex;flex-direction:column;gap:6px;min-width:0;color:#375562;font-weight:700;font-size:.96rem}
.field.wide{grid-column:1/-1}
input:not([type=checkbox]),textarea,select{width:100%;min-height:43px;border:1px solid #ccdddd;border-radius:9px;background:white;color:var(--ink);padding:9px 11px;transition:border-color .16s,box-shadow .16s;font-weight:400}
input::placeholder,textarea::placeholder{color:#677f87}
select{appearance:none;padding-inline-end:33px;background:white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23446169' stroke-width='1.8' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat left 9px center}
input:not([type=checkbox]):focus,textarea:focus,select:focus{outline:none;border-color:#15a79a;box-shadow:0 0 0 3px #0fa29420}
input[type=checkbox]{accent-color:var(--teal);width:18px;height:18px;flex:none}
textarea{resize:vertical;line-height:1.45}
.form-error{font-weight:700;color:#a43743;line-height:1.4;margin:8px 0}
.form-error:empty{display:none}
.form-panel button[type=submit]{margin-top:15px}
.sharing-grid{display:grid;grid-template-columns:1.13fr 1fr;gap:13px}
.checklist{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.check-option{display:flex;align-items:center;gap:6px;min-height:42px;padding:5px 7px;border:1px solid var(--border);border-radius:8px;font-size:.91rem}
.share-actions{margin:12px 0}
.public-wait p{color:var(--muted);margin-top:7px}
dialog{width:min(540px,calc(100vw - 24px));padding:0;border:1px solid #cbdede;border-radius:16px;background:white;color:var(--ink);box-shadow:0 22px 85px #09232d55;max-height:min(88vh,900px);overflow:hidden}
dialog[open]{display:flex;flex-direction:column}
dialog.wide-dialog{width:min(860px,calc(100vw - 24px))}
dialog::backdrop{background:#0d2636a9;backdrop-filter:blur(2px)}
.dialog-head,.dialog-foot{display:flex;align-items:center;justify-content:space-between;gap:13px;flex:none;padding:14px 19px;border-bottom:1px solid var(--border)}
.dialog-head p{color:var(--muted);font-size:.93rem}
.dialog-head h2{font-size:1.35rem}
dialog form{display:flex;flex-direction:column;min-height:0}
.dialog-body{padding:17px 19px;overflow:auto;min-height:0}
.dialog-body>.field+.field,.dialog-body>.field+.form-grid{margin-top:12px}
.dialog-body:empty{padding:0}
.dialog-foot{border-bottom:0;border-top:1px solid var(--border);background:#f8fbfb}
.dialog-foot .actions{margin-inline-start:auto;flex:none}
.readonly-form input:disabled,.readonly-form textarea:disabled,.readonly-form select:disabled{background:#f5f9f9;color:#284b54;opacity:1}
.form-subhead{margin:17px 0 10px;padding-bottom:7px;border-bottom:1px solid var(--border);color:#0c6c63;font-size:1.06rem}
.form-subhead:first-child{margin-top:0}
.record-summary{background:#eff8f6;border:1px solid #d7ece8;border-radius:9px;padding:10px;margin-bottom:14px}
.record-summary p{margin-top:6px}
.record-summary small{color:#416670}
.form-section{border:1px solid #d9e6e6;border-radius:12px;padding:11px;margin-top:13px;background:#f8fbfb}
.edit-part-head,.edit-line{display:flex;align-items:flex-start;gap:8px;margin-bottom:8px}
.edit-part-head .field,.edit-line .field{flex:1}
.edit-part-head .icon-btn,.edit-line .icon-btn{margin-top:25px}
.table-edit-row{margin:8px 0;padding:8px;border:1px solid #e2ebeb;background:white;border-radius:8px}
.edit-row-title{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:6px;color:#3e5b65}
.edit-row-title .icon-btn{width:32px;height:32px}
.editor-add{margin-top:12px}
.summary-list{margin:12px 0}
.summary-list>div{display:flex;align-items:center;gap:10px;padding:9px 5px;border-bottom:1px solid #e3eeee}
.summary-list strong{flex:1}
.summary-domain{border:1px solid var(--border);margin-top:7px;border-radius:8px;padding:8px}
.summary-domain summary{cursor:pointer;font-weight:700}
.summary-domain p{margin:6px 0;color:var(--muted)}
#toast{position:fixed;bottom:20px;inset-inline-end:19px;z-index:30;pointer-events:none}
.toast{display:flex;align-items:center;gap:9px;padding:12px 16px;max-width:min(440px,90vw);background:#113e40;color:#fff;border-radius:10px;box-shadow:0 5px 18px #1f354a40;font-weight:700}
.toast.bad{background:#823440}
.public-top{min-height:66px;background:white;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px clamp(14px,5vw,70px)}
.public-main{max-width:1300px;margin:auto;padding:20px clamp(12px,4vw,46px) 36px}
.public-hero{border-radius:15px;padding:22px 26px;margin-bottom:16px;background:radial-gradient(ellipse at 0 65%,#1d6060,transparent 55%),#123443;color:#fff}
.public-hero h1{font-size:clamp(1.7rem,4vw,2.75rem);margin:6px 0}
.public-hero p{color:#d4e8e8}
.document-preview{overflow:auto;border:1px solid var(--border);border-radius:12px;background:white;box-shadow:var(--shadow)}
.document-preview .paper-header{min-width:745px}
.document-preview .paper-content{padding:12px 16px;min-width:745px}
.document-preview .paper-page{border-bottom:2px solid #e8efef;margin:4px 0 19px;padding-bottom:19px}
.document-preview .paper-footer{min-width:745px}
.error-page{max-width:680px;margin:55px auto;padding:0 16px}
.error-page .brand{margin-bottom:23px}
#print-root{display:none}
.paper-header{height:49mm;position:relative;color:#fff;padding:1mm 0 0;text-align:center;overflow:visible;background:linear-gradient(to left,#41af6e,#0b7ba4) top/100% 1.9mm no-repeat,linear-gradient(#003946,#003946) top/100% 43.9mm no-repeat}
.paper-brand{height:38mm;display:flex;justify-content:center;align-items:center;gap:4mm}
.paper-brand img{order:-1;width:30mm;height:22mm;object-fit:contain;border-left:1px solid #c2e0da;padding-left:2.3mm}
.paper-brand div{width:51mm;display:grid;white-space:normal;line-height:1.2;text-align:right;overflow-wrap:anywhere}
.paper-brand b{font-size:14pt}
.paper-brand span{font-size:13pt}
.paper-school{position:absolute;top:36mm;left:50%;transform:translateX(-50%);width:min(106mm,85%);min-height:13mm;padding:2mm 3mm;background:#003946 url('/assets/header-tab.png') center/100% 100% no-repeat;border-radius:0 0 2mm 2mm;display:grid;place-items:center;font-weight:800;font-size:15pt;line-height:1.05;overflow-wrap:anywhere}
.paper-footer{height:11mm;background:linear-gradient(to left,#41af6e,#0b7ba4) top/100% 1mm no-repeat,#003946;color:white;display:flex;align-items:center;justify-content:space-between;padding:1mm 12mm 0;font-size:10pt;font-weight:700}
.paper-page{font-size:11.2pt;line-height:1.5;color:#172b34;overflow-wrap:anywhere}
.paper-heading{padding:2mm 1.8mm;font-size:17pt;text-align:center;margin:0 0 2.5mm;border-bottom:1.4px solid #0da9a6;color:#15445a;break-after:avoid}
.paper-part{margin:2.4mm 0 1mm;color:#15445a;font-size:12pt;break-after:avoid}
.paper-page p{margin:0 0 2.6mm;line-height:1.58;text-align:start}
.cover-paper p{text-align:center}
.paper-list{margin:0 0 2.6mm;padding-inline-start:6mm}
.paper-list li{padding:0.5mm 0;break-inside:avoid}
.paper-table{border-collapse:collapse;direction:rtl;width:100%;table-layout:fixed;font-size:10.2pt;margin:0 0 2.5mm}
.paper-table th,.paper-table td{border:1px solid #56716f;padding:1.25mm 1mm;text-align:center;vertical-align:middle;overflow-wrap:anywhere;white-space:normal}
.paper-table th{font-weight:800;background:#d5ccaf}
.paper-table tr{break-inside:avoid}
.paper-table thead{display:table-header-group}
.paper-table td:empty{height:6mm}
.paper-sign{padding:2mm;color:#15445a;font-weight:700}
.schedule-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2.5mm;align-items:start}
.cover-paper{display:grid;justify-items:center;text-align:center;padding:4mm 3mm 0;gap:2mm}
.cover-paper h1{font-size:25pt;line-height:1.15;color:#15445a}
.cover-paper p{font-size:14pt;font-weight:700;margin:0;color:#164d5d}
.basmala{width:58mm;height:17mm;object-fit:contain}
.cover-art{width:106mm;height:70mm;object-fit:contain}
#print-root.preparing-print{position:fixed;top:0;inset-inline-start:0;width:296.5mm;opacity:0;pointer-events:none;z-index:-100;display:block}
.print-sheet{display:grid;grid-template-rows:49mm minmax(0,1fr) 11mm;width:296.5mm;height:209.5mm;background:white}
.print-sheet-body{display:flow-root;box-sizing:border-box;margin:4mm 10mm;min-height:0}
.print-sheet-body .paper-table{margin-bottom:2.5mm}
.print-fit-slot{position:relative;display:flow-root;overflow:clip}
.print-fit-item{display:flow-root;transform-origin:top right}
@page{size:A4 landscape;margin:0}
@media print{
  html,body{background:white!important;margin:0!important;padding:0!important;min-width:0!important}
  body>#app,body>#toast,body>dialog{display:none!important}
  #print-root:not(:empty){display:block!important;position:static!important;opacity:1!important;z-index:auto!important;print-color-adjust:exact;-webkit-print-color-adjust:exact}
  .print-sheet{break-inside:avoid}
  .print-sheet+.print-sheet{break-before:page}
  .print-sheet-body .paper-heading,.print-sheet-body .paper-part{break-after:auto}
  .print-sheet-body .paper-table tr,.print-sheet-body .paper-list li{break-inside:auto}
}
@media(max-width:1150px){
 :root{--sidebar:218px}
 .card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .nav-item{font-size:.93rem}
 .auth-copy h1{font-size:clamp(3.4rem,6.9vw,5.4rem)}
}
@media(max-width:890px){
 .auth{grid-template-columns:1fr 1fr}
 .auth-hero{padding:28px 24px;min-height:660px}
 .auth-main{padding:36px 24px 62px}
 .auth-hero .auth-copy{margin-top:70px}
 .stats{grid-template-columns:repeat(2,minmax(0,1fr))}
 .stats-three{grid-template-columns:repeat(3,minmax(0,1fr))}
 .overview-grid,.sharing-grid{grid-template-columns:1fr}
 .sidebar{width:245px;transform:translateX(105%);transition:transform .22s}
 .nav-open .sidebar{transform:translateX(0)}
 .nav-open .nav-overlay{display:block;position:fixed;inset:0;z-index:8;background:#132c3c75}
 .workspace{margin:0}
 .mobile-menu,.close-nav{display:inline-flex}
 .close-nav{background:transparent;color:#deedee;border-color:#ffffff26;width:34px;height:34px}
 .crumb>.ico{display:none}
}
@media(max-width:620px){
 .auth{display:flex;flex-direction:column}
 .auth-hero{min-height:unset;padding:18px 20px 22px}
 .auth-hero .brand-mark{width:36px;height:36px}
 .auth-hero .auth-copy{margin-top:20px}
 .auth-copy h1{font-size:2.4rem;margin:7px 0}
 .auth-copy h1 br{display:none}
 .auth-copy p{font-size:.95rem;max-width:82%}
 .auth-art{display:none}
 .auth-foot{display:none}
 .auth-main{padding:25px 18px 66px}
 .auth-form>.tile{display:none}
 .auth-form h2{font-size:1.95rem}
 .auth-form>p{margin-bottom:14px}
 .topbar{height:59px}
 .topbar .crumb span,.topbar .crumb i{display:none}
 .profile small{display:none}
 .page-heading{flex-wrap:wrap;align-items:flex-start;gap:10px}
 .workspace-main{padding-top:17px}
 .hero{min-height:158px;padding:18px 16px}
 .hero img{width:31%;min-width:74px}
 .hero h2{font-size:1.45rem}
 .hero p,.hero .eyebrow{font-size:.83rem}
 .stats{gap:8px}
 .stat{padding:9px 10px}
 .stat-top{font-size:.87rem}
 .stat .tile{width:30px;height:30px}
 .stat .tile .ico{width:16px;height:16px}
 .stat strong{font-size:1.62rem}
 .stat small{font-size:.76rem}
 .panel{padding:12px}
 .bar-row{grid-template-columns:107px minmax(0,1fr) 22px}
 .card-grid{grid-template-columns:1fr}
 .filter-tabs{flex-wrap:nowrap;overflow:auto;padding-bottom:4px}
 .filter{flex:none}
 .search{flex:1 1 100%}
 .form-grid{grid-template-columns:1fr}
 .school-row{flex-wrap:wrap;gap:6px}
 .school-row .actions{width:100%;margin:3px 0 1px}
 .school-user{display:none}
 .dialog-head,.dialog-body,.dialog-foot{padding-inline:11px}
 .dialog-foot{align-items:flex-start}
 .public-top .brand small{display:none}
 .public-top .brand strong{font-size:.9rem}
 .public-top .brand-mark{display:none}
 .public-top .btn{padding:7px;font-size:.81rem;min-height:35px}
 .public-top .actions{gap:4px}
}

/* School report analysis */
.report-workspace{display:grid;gap:20px}
.report-start{max-width:850px}
.report-upload{position:relative;display:grid;justify-items:center;gap:7px;padding:27px 13px;border-radius:12px;border:2px dashed #a1c9bf;background:#f3fbf8;text-align:center;cursor:pointer}
.report-upload:hover,.report-upload:focus-within{background:#e4f5ef;border-color:#087a70}
.report-upload strong{font-size:1.2rem;color:#0c675e}
.report-upload small{font-size:.9rem;color:var(--muted)}
.report-upload input{position:absolute;inset:0;opacity:0;cursor:pointer}
.report-help{margin-top:14px}
.report-help summary,.report-table-panel summary{cursor:pointer;font-weight:800;padding:7px 0}
.report-help form{display:grid;gap:9px;margin-top:9px;justify-items:start}
.report-help .field{width:100%}
.report-help textarea{direction:rtl}
.report-notice{padding:9px 12px;border-radius:8px;background:#e7f5f1;color:#096b61;margin:10px 0 0}
.report-notice.urgent{background:#fff2dd;color:#7b4312}
.report-summary-row{display:flex;align-items:end;gap:16px 28px;flex-wrap:wrap}
.report-summary-row .field{width:min(100%,215px)}
.report-summary-row>div{min-width:100px;display:grid;gap:2px}
.report-summary-row strong{font-size:1.45rem;color:#143748;line-height:1.1}
.report-summary-row span{font-size:.9rem;color:var(--muted)}
.report-summary .panel-head h2{overflow-wrap:anywhere}
.report-domain-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.report-domain{background:#fff;border:1px solid var(--border);border-radius:13px;padding:13px;box-shadow:var(--shadow);display:grid;gap:6px}
.report-domain-head{display:flex;justify-content:space-between;align-items:center;gap:5px}
.report-domain .tile{width:35px;height:35px}
.report-domain .tile .ico{width:17px;height:17px}
.report-domain h3{font-size:1.02rem;margin-top:4px}
.report-domain strong{font-size:1.55rem}
.report-domain small{font-size:.84rem;color:var(--muted)}
.report-meter{height:7px;background:#ebf0f0;border-radius:8px;overflow:hidden}
.report-meter i{background:#137d75;height:100%;display:block;border-radius:8px}
.report-meter i.urgent{background:#bb6b1d}
.report-meter i.growth{background:#4675c7}
.report-badge{display:inline-block;border-radius:7px;padding:4px 7px;background:#edf4f3;color:#344c57;font-size:.83rem;font-weight:700}
.report-badge.urgent{background:#fff0d8;color:#884514}
.report-badge.growth{background:#e9effe;color:#2c4e90}
.report-badge.strong{background:#e0f4ed;color:#12675b}
.report-code{direction:ltr;unicode-bidi:isolate}
.report-section-heading h2{font-size:1.24rem}
.report-section-heading select{width:auto;min-width:140px}
.report-chips{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:9px}
.report-evidence{border-top:1px solid var(--border);border-bottom:1px solid var(--border);padding:7px 0;margin-bottom:8px;display:grid;gap:4px;color:var(--muted);font-size:.88rem}
.report-evidence strong{color:#15445a}
.record-card .report-related{background:#fff3dc;color:#76511f;padding:7px 9px;border-radius:7px}
.report-table-panel summary span{color:#59737c;font-weight:400;margin-inline-start:10px}
.report-table-wrap{overflow:auto;margin-top:8px}
.report-table-wrap table{width:100%;min-width:520px;border-collapse:collapse}
.report-table-wrap th,.report-table-wrap td{text-align:start;padding:8px;border-bottom:1px solid var(--border)}
.report-table-wrap th{background:#edf8f6}
.report-table-wrap small{display:block;color:var(--muted);font-size:.82rem;margin-top:4px}
.report-table-wrap .btn{min-height:32px;padding:6px 8px;font-size:.85rem}
@media(max-width:1060px){.report-domain-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.report-section-heading{flex-wrap:wrap}.report-domain-grid{gap:7px}.report-domain{padding:9px}}

/* Editable forms and handwritten signatures */
.table-edit-row summary{cursor:pointer;font-weight:700;padding:3px 5px;color:#185361;overflow-wrap:anywhere}
.table-edit-row[open] summary{margin-bottom:9px;border-bottom:1px solid var(--border)}
.row-tools{justify-content:flex-end;margin-bottom:6px}
.line-tools{padding-top:20px}
.column-control{max-width:330px;margin:12px 0 8px}
.signature-field{display:grid;gap:7px;align-content:start;min-width:0;color:#335563}
.signature-preview{display:grid;place-items:center;min-height:58px;border:1px dashed #b9cecf;border-radius:8px;background:#fcfefe;color:#1a4358;padding:4px}
.signature-preview span{color:#617780;font-size:.9rem}
.ink-signature{display:block;width:100%;height:14mm;max-width:51mm;margin:auto;color:#15374b}
.ink-dialog{max-width:670px;width:calc(100% - 28px)}
.ink-body{padding:14px 18px;overflow:auto}
.ink-body canvas{display:block;aspect-ratio:1000/420;width:100%;border:1px dashed #75999b;border-radius:10px;background:#fff;touch-action:none;cursor:crosshair}
.ink-body p:not(:empty){margin-top:6px;color:#99542e}

/* Shared document appearance */
.document-preview .paper-page:last-child{border-bottom:0;margin-bottom:0}
.document-preview .paper-content{padding:17px 24px 23px}
.paper-page p:not(.paper-sign){text-wrap:pretty}
.paper-table tbody tr:nth-child(even){background:#f5f9f9}
.paper-table td{line-height:1.42}
.paper-heading{padding-block:2mm 2.6mm}
.paper-sign{display:grid;grid-template-columns:1.15fr 1fr 1fr;gap:2mm;margin-top:3mm;border:1px solid #cbdcdd;border-inline-start:3px solid #0da9a6;border-radius:2mm;padding:2.4mm 3mm}
.paper-sign>div{display:grid;gap:1mm;align-content:center;min-width:0}
.paper-sign strong{color:#103d50}
.paper-sign span{color:#315263;font-weight:400}
.paper-sign .ink-signature{margin-inline-start:0}
.paper-footer{display:grid;gap:2mm;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;}
.paper-footer>span{min-width:0;overflow-wrap:anywhere;line-height:1.12}
.paper-footer-note{text-align:center}
.paper-footer-year{display:flex;gap:2mm;align-items:center;white-space:nowrap}
.paper-sheet-number{border-inline-start:1px solid #b5d6d8;padding-inline-start:2mm;min-width:7mm;text-align:center}
.print-compact .paper-page{font-size:10.6pt;line-height:1.4}
.print-compact .paper-page p{line-height:1.42;margin-bottom:1.6mm}
.print-compact .paper-table{font-size:9.5pt}
.print-compact .paper-table td,.print-compact .paper-table th{padding-block:.85mm;line-height:1.35}

/* Brief motion on entry, with the printed sheet excluded. */
@media screen and (prefers-reduced-motion:no-preference){
 .workspace-main>.page-heading,.workspace-main>.hero,.public-hero{animation:surface-enter .48s cubic-bezier(.18,.72,.32,1) both}
 .public-page .document-preview,.workspace-main .stat,.workspace-main .record-card,.workspace-main .report-domain{animation:surface-enter .48s cubic-bezier(.18,.72,.32,1) both;animation-delay:45ms}
 .workspace-main :is(.stat,.record-card,.report-domain):nth-child(2){animation-delay:85ms}
 .workspace-main :is(.stat,.record-card,.report-domain):nth-child(3){animation-delay:125ms}
 .workspace-main :is(.stat,.record-card,.report-domain):nth-child(4){animation-delay:165ms}
 .workspace-main .tile .ico,.nav-item.active .ico,.public-page .brand-mark .ico{animation:icon-enter .45s ease-out both;transform-origin:center}
 .workspace-main :is(.bar-track,.mini-progress,.report-meter)>i{transform-origin:right;animation:meter-enter .85s cubic-bezier(.18,.75,.26,1) both}
 .workspace-main .ring{animation:icon-enter .52s ease-out both;transform-origin:center}
 .icon-btn:hover .ico,.nav-item:hover .ico{transform:translateY(-1px)}
 .icon-btn .ico,.nav-item .ico{transition:transform .18s ease}
}
@keyframes surface-enter{from{opacity:.35;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
@keyframes icon-enter{0%{opacity:.5;transform:scale(.86)}70%{opacity:1;transform:scale(1.045)}100%{opacity:1;transform:scale(1)}}
@keyframes meter-enter{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@media(prefers-reduced-motion:reduce){.sidebar,.icon-btn .ico,.nav-item .ico{transition:none}}

/* Planning dashboard */
.app-shell{background:#f3f6fa;--border:#dce6ed;--shadow:0 8px 24px #14394908}
.app-shell .sidebar{background:linear-gradient(165deg,#122c43 0%,#132e43 52%,#102639 100%);padding:20px 13px 12px}
.app-shell .side-top{padding:1px 7px 17px}
.app-shell .side-top .brand-mark{background:#108677;border-color:#3ca99a}
.app-shell .nav-caption{margin:15px 10px 6px;color:#a4bac7}
.app-shell .nav-item{min-height:38px;padding:8px 10px;color:#dbe7ee}
.app-shell .nav-item .ico{color:#9db8cb}
.app-shell .nav-item.active{background:#1c4857;border-color:#327068;box-shadow:inset -3px 0 #50c3ab}
.app-shell .nav-item.active .ico{color:#83e3cc}
.app-shell .topbar{height:66px;background:#fff;border-color:#dfe9ef}
.app-shell .crumb strong{font-weight:800}
.app-shell .avatar{background:#e8f4f0;color:#116557;border-radius:50%;border-color:#d5e9e2}
.dash-overview{display:grid;gap:16px}
.dash-overview>.page-heading{margin:0;min-height:52px}
.dash-overview>.page-heading h1{font-size:clamp(1.75rem,2.45vw,2.28rem);letter-spacing:-.02em}
.dash-overview>.page-heading p{font-size:.95rem}
.dash-overview .dash-hero{margin:0;min-height:174px;padding:23px 27px;border-radius:15px;background:radial-gradient(ellipse at 12% 90%,#08716b 0%,#134858 43%,#11384c 63%,#122f43 100%)}
.dash-hero::before{opacity:.23;mask-image:linear-gradient(82deg,#000,transparent 52%)}
.dash-hero-copy{min-width:0}
.dash-hero .dash-context{display:flex;align-items:center;gap:6px;color:#bfddd9;font-size:.91rem;font-weight:700}
.dash-context .ico{width:17px;height:17px}
.dash-hero h2{font-size:clamp(1.65rem,3vw,2.65rem);margin:6px 0 0;overflow-wrap:anywhere}
.dash-hero-actions{margin-top:13px}
.dash-hero-actions .btn{min-height:36px;padding:7px 11px;font-size:.9rem;margin:0}
.dash-hero-secondary{background:#ffffff14;border-color:#b1e4db65;color:#f3fcfc;box-shadow:none}
.dash-hero-secondary:hover{background:#ffffff27;border-color:#b1e4db}
.dash-hero-art{position:relative;align-self:stretch;display:grid;place-items:center;min-width:165px;width:30%;max-width:260px;isolation:isolate}
.dash-hero-art img{width:85%;max-height:153px;object-fit:contain;margin:0;filter:drop-shadow(0 13px 14px #061b275c)}
.dash-hero-art span{position:absolute;width:98%;height:100%;border-radius:50%;background:radial-gradient(ellipse,#51d7b95e 0%,transparent 67%);z-index:-1;transform:scale(1.45)}
.dash-stats{margin:0;gap:12px}
.dash-stats-two{grid-template-columns:repeat(2,minmax(0,1fr))}
.dash-metric{display:grid;grid-template-rows:auto 1fr auto;justify-items:start;min-width:0;min-height:111px;padding:12px 14px;text-align:start;color:var(--ink);border-radius:13px}
button.dash-metric:hover{border-color:#8dbfb8;box-shadow:0 7px 18px #0d594214}
.dash-metric-head{display:flex;align-items:center;gap:8px;font-size:.93rem;font-weight:700;color:#314e62}
.dash-metric .tile{width:34px;height:34px;border-radius:9px}
.dash-metric strong{font-size:2.15rem;line-height:1.08;align-self:end;margin:4px 0 2px;font-variant-numeric:tabular-nums}
.dash-metric-foot{color:var(--muted);font-size:.85rem;line-height:1.25}
.dash-grid{display:grid;grid-template-columns:minmax(0,1.42fr) minmax(0,1fr);gap:14px;align-items:stretch}
.dash-grid-single{grid-template-columns:1fr}
.dash-grid>*{min-width:0}
.dash-panel{padding:15px 16px;border-radius:14px}
.dash-panel-head{margin-bottom:12px;align-items:flex-start}
.dash-panel-head h2{font-size:1.2rem;line-height:1.2}
.dash-panel-head p{font-size:.89rem;line-height:1.4;margin-top:3px}
.dash-panel-head p:empty{display:none}
.dash-panel-head .btn{min-height:34px;padding:6px 8px;font-size:.83rem}
.dash-domains{display:grid;gap:6px}
.dash-domain-row{display:grid;grid-template-columns:minmax(135px,.85fr) minmax(40px,1.15fr) 24px;align-items:center;gap:10px;padding:5px 3px;border:0;background:transparent;color:#25475c;border-radius:7px;text-align:start}
.dash-domain-row:hover,.dash-state-list button:hover,.dash-follow-row:hover,.dash-shortcut-list button:hover{background:#f1f7f8}
.dash-domain-name{display:flex;gap:8px;align-items:center;white-space:nowrap;min-width:0;font-size:.92rem;font-weight:700}
.dash-domain-name .tile{width:29px;height:29px;border-radius:8px}
.dash-domain-name .ico{width:16px;height:16px}
.dash-domain-row b{justify-self:center;font-variant-numeric:tabular-nums}
.dash-domain-scale{display:flex;height:10px;border-radius:7px;overflow:hidden;background:#ecf2f5}
.dash-domain-scale i{height:100%;background:var(--segment)}
.dash-legend{display:flex;gap:7px 13px;flex-wrap:wrap;padding-top:10px;margin-top:8px;border-top:1px solid var(--border);color:#4e6375;font-size:.8rem}
.dash-legend span{display:inline-flex;align-items:center;gap:5px}
.dash-dot{flex:none;width:8px;height:8px;border-radius:50%;background:var(--dot)}
.dash-progress-body{display:grid;grid-template-columns:auto minmax(0,1fr);gap:14px;align-items:center}
.dash-ring.ring{width:124px;height:124px;background:var(--dash-ring);margin:0 auto}
.dash-ring.ring>div{width:99px;height:99px}
.dash-ring.ring strong{font-size:1.66rem}
.dash-ring.ring small{font-size:.78rem}
.dash-state-list{display:grid;gap:2px}
.dash-state-list button{display:grid;grid-template-columns:8px minmax(0,1fr) auto;gap:6px;align-items:center;min-height:32px;padding:2px 4px;text-align:start;border:0;border-radius:7px;background:transparent;color:#3c5667;font-size:.85rem}
.dash-state-list b{color:var(--ink);font-variant-numeric:tabular-nums}
.dash-empty{display:flex;gap:10px;align-items:center;padding:14px 10px;background:#f5f9fb;border:1px dashed #ccdee6;border-radius:10px}
.dash-empty b{color:#28475a}
.dash-empty p{font-size:.88rem;color:var(--muted)}
.dash-follow-list{display:grid;gap:3px}
.dash-follow-row,.dash-shortcut-list button{display:flex;align-items:center;gap:8px;text-align:start;min-width:0;min-height:43px;padding:5px;border:0;border-radius:8px;background:transparent;color:#1d4155}
.dash-follow-row:not(:last-child){border-bottom:1px solid #e7eff4;border-radius:5px}
.dash-follow-row .tile,.dash-shortcut-list .tile{width:33px;height:33px;border-radius:8px}
.dash-follow-row .ico,.dash-shortcut-list .ico{width:17px;height:17px}
.dash-follow-copy{flex:1;min-width:0}
.dash-follow-copy b,.dash-shortcut-list b{display:block;font-size:.92rem;line-height:1.3;overflow-wrap:anywhere}
.dash-follow-copy small,.dash-shortcut-list small{display:block;color:#537084;font-size:.79rem;line-height:1.3}
.dash-shortcut-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}
.dash-shortcut-list button{border:1px solid #e6eef3}
.dash-shortcut-list .dash-rights-label{margin-inline-start:auto}
@media screen and (prefers-reduced-motion:no-preference){
 .dash-overview>.page-heading,.dash-overview>.hero,.dash-overview .stat,.dash-overview .dash-panel{animation:surface-enter .48s cubic-bezier(.18,.72,.32,1) both}
 .dash-overview .dash-panel:nth-child(2),.dash-overview .stat:nth-child(2){animation-delay:45ms}
 .dash-overview .stat:nth-child(3){animation-delay:85ms}
 .dash-overview .stat:nth-child(4){animation-delay:120ms}
 .dash-domain-scale i{transform-origin:right;animation:meter-enter .8s cubic-bezier(.18,.75,.26,1) both}
}
@media(max-width:1150px) and (min-width:891px){
 .dash-progress-body{grid-template-columns:1fr;gap:9px}
 .dash-state-list{grid-template-columns:repeat(2,minmax(0,1fr))}
 .dash-shortcut-list{grid-template-columns:1fr}
}
@media(max-width:890px){
 .app-shell .sidebar{visibility:hidden}
 .app-shell.nav-open .sidebar{visibility:visible}
 .dash-grid{grid-template-columns:1fr}
}
@media(max-width:620px){
 .app-shell .topbar{height:59px}
 .dash-overview{gap:11px}
 .dash-overview>.page-heading{min-height:auto}
 .dash-overview .dash-hero{min-height:142px;padding:15px 13px}
 .dash-hero-art{width:24%;min-width:70px}
 .dash-hero-art img{width:110%;margin-inline-start:-5%}
 .dash-hero h2{font-size:clamp(1.25rem,5vw,1.65rem)}
 .dash-hero .dash-context{font-size:.83rem}
 .dash-hero-actions .btn{font-size:.83rem;padding:6px 7px}
 .dash-stats{gap:7px}
 .dash-metric{min-height:92px;padding:7px 8px}
 .dash-metric .tile{width:26px;height:26px}
 .dash-metric-head{font-size:.82rem;gap:5px}
 .dash-metric strong{font-size:1.65rem}
 .dash-metric-foot{font-size:.76rem}
 .dash-panel{padding:12px}
 .dash-shortcut-list{gap:4px}
 .dash-shortcut-list small{margin-top:2px}
 .dash-shortcut-list button{padding:4px}
 .dash-shortcut-list .tile{width:26px;height:26px}
 .dash-shortcut-list .ico{width:14px;height:14px}
 .dash-domain-row{grid-template-columns:125px minmax(30px,1fr) 22px;gap:6px}
 .dash-domain-name{font-size:.82rem;gap:5px}
 .dash-domain-name .tile{width:24px;height:24px}
 .dash-ring.ring{width:108px;height:108px}
 .dash-ring.ring>div{width:86px;height:86px}
 .dash-ring.ring strong{font-size:1.48rem}
 .dash-progress-body{gap:10px}
 .dash-stats.stats-three{grid-template-columns:repeat(2,minmax(0,1fr))}
}
.dash-segmented{display:inline-flex;gap:2px;padding:3px;background:#eef4f7;border-radius:9px;flex:none}
.dash-segmented button{border:0;border-radius:6px;background:transparent;padding:5px 8px;min-height:29px;color:#486575;font-size:.82rem;font-weight:700}
.dash-segmented button[aria-pressed=true]{background:white;color:#0f6e62;box-shadow:0 1px 3px #153c5420}
