/* Motabea R95 — harmonized visual system for all administrative workspaces. */
:root{--r95-bg:#f2f7f4;--r95-border:#d7e7de;--r95-accent:#1a725e;--r95-dark:#174c40;--r95-faint:#f6faf7;--r95-muted:#687f74;--r95-shadow:0 6px 20px rgba(19,72,54,.04)}
:where(.page-home,.page-performance,.page-cases,.page-attendance_tasks,.page-attendance_task_detail,.page-attendance_insights,.page-reports):not(.role-supervisor){background:var(--r95-bg);color:#25473e;font-family:Cairo,'Noto Sans Arabic',system-ui,sans-serif}
:where(.page-home,.page-performance,.page-cases,.page-attendance_tasks,.page-attendance_task_detail,.page-attendance_insights,.page-reports):not(.role-supervisor) .content{width:100%;max-width:1760px;margin-inline:auto;padding:18px 23px 27px}
:where(.page-home,.page-performance,.page-cases,.page-attendance_tasks,.page-attendance_task_detail,.page-attendance_insights,.page-reports):not(.role-supervisor) .shell>header{min-height:64px;height:64px;background:#fff;padding:9px 23px;border-bottom:1px solid #e0ece5}
:where(.page-home,.page-performance,.page-cases,.page-attendance_tasks,.page-attendance_task_detail,.page-attendance_insights,.page-reports):not(.role-supervisor) :is(.r4-header-title h1,.a10-header-title h1){font-size:19px;font-weight:600;color:#214c40;letter-spacing:0}
:where(.page-home,.page-performance,.page-cases,.page-attendance_tasks,.page-attendance_task_detail,.page-attendance_insights,.page-reports):not(.role-supervisor) :is(.r6-panel,.p12-panel,.p12-overview,.r94-lead,.r94-state-board,.r94-work-card,.r94-report-filters,.r94-report-panel,.r94-no-report,.r60-intro,.r60-controls,.r60-panel,.r60-detail,.c14-board,.c14-panel){border-radius:14px;border-color:var(--r95-border);box-shadow:var(--r95-shadow)}
:where(.page-home,.page-performance,.page-cases,.page-attendance_tasks,.page-attendance_insights,.page-reports):not(.role-supervisor) :is(.r94-lead,.c14-board,.r60-intro,.p12-lead){position:relative;overflow:hidden}
:where(.page-home,.page-performance,.page-cases,.page-attendance_tasks,.page-attendance_insights,.page-reports):not(.role-supervisor) :is(.r94-lead,.c14-board,.r60-intro,.p12-lead):before{content:'';position:absolute;top:0;right:0;left:0;height:4px;background:linear-gradient(90deg,#b9dfd0,#277d68,#79c4ab)}
/* A single calm header instead of mixing a dark isolated performance banner with the white framed pages. */
.page-performance:not(.role-supervisor) .p12-lead{background:#fff;color:var(--r95-dark);border:1px solid var(--r95-border);border-radius:14px;box-shadow:var(--r95-shadow);padding:18px 23px;gap:15px}
.page-performance .p12-lead-copy h2{color:var(--r95-dark);font-size:21px;font-weight:600}
.page-performance .p12-lead .p12-lead-copy p{color:var(--r95-muted)}
.page-performance .p12-symbol{background:#eaf5ef;color:var(--r95-accent);width:40px;height:40px}
.page-performance .p12-lead .p12-filter{justify-content:center;gap:10px}
.page-performance .p12-lead .p12-switch{background:#edf5f0;border:1px solid #dfebe3}
.page-performance .p12-lead .p12-switch span{color:#557466;font-size:13px}
.page-performance .p12-lead .p12-switch input:checked+span{background:#fff;color:var(--r95-accent);box-shadow:0 1px 5px #154b3c1b}
.page-performance .p12-lead .p12-date,.page-performance .p12-lead .p12-range label{color:#627c6e;font-size:12px}
.page-performance .p12-lead .p12-filter button{background:var(--r95-accent);color:white}
.page-performance .p12-lead .p12-filter :is(input,button){height:40px;min-height:40px}
.page-performance .p12-lead .p12-switch{min-height:40px}
.page-performance .p12-lead .p12-filter input[type=date]{width:150px;background:#fff}
.page-performance .p12 a.p12-export{background:#edf6f0;color:#1b6754;border:1px solid #cbe1d5;padding:10px 15px;font-weight:500}
.page-performance .p12 .p12-overview{gap:16px;padding:19px 21px}
.page-performance .p12-panel{padding:19px 21px}
.page-performance .p12-title h2{font-size:18px;font-weight:600}
.page-performance .p12-table :is(th,td){font-size:13px;line-height:1.6;padding:11px 13px}
.page-performance .p12-table th{font-size:12px;background:#eaf3ed}
.page-performance .p12-table td small{font-size:11.5px}
.page-performance .p12-search input[type=search]{width:min(270px,100%)}
.page-performance .p12-search select{min-width:150px}
/* Consistent workspaces and state tiles; title and real data first. */
.page-attendance_tasks .r94-lead,.page-reports .r94-report-lead{min-height:98px;padding:17px 21px}
.page-attendance_tasks .r94-lead h1,.page-reports .r94-lead h1,.page-attendance_insights .r60-intro h1,.page-cases .c14-board-head h2{font-size:21px!important;color:var(--r95-dark);font-weight:600}
.page-attendance_tasks .r94-lead p,.page-reports .r94-lead p,.page-cases .c14-board-head p,.page-attendance_insights .r60-intro p{font-size:12.5px;color:#677f73}
.page-cases .c14-board,.page-attendance_insights .r60-intro{padding:17px 21px}
.page-cases .c14-board-note,.r95-scope-tag{display:inline-flex;align-items:center;gap:6px;background:#f0f7f2;color:#42705d;border:1px solid #dcebe1;border-radius:7px;padding:5px 9px;font-size:11.5px}
.page-cases .c14-states,.page-attendance_tasks .r94-state-nav{gap:9px}
.page-cases .c14-state,.page-attendance_tasks .r94-state-tile{min-height:75px;padding:11px 12px;border-radius:10px}
.page-cases .c14-state-label,.page-attendance_tasks .r94-state-name{font-size:12px;line-height:1.5;font-weight:500}
.page-cases .c14-state strong,.page-attendance_tasks .r94-state-tile strong{font-size:23px;line-height:1.2;font-weight:600}
.page-cases .c14-panel,.page-attendance_tasks .r94-work-card{padding:18px 20px}
.page-attendance_tasks .r94-section-heading h2,.page-cases .c14-top h2{font-size:17px;font-weight:600}
.page-cases .c14-board-head{align-items:center}
.page-cases .c14-table td,.page-attendance_tasks .r94-task-table td,.page-attendance_insights .r60 td{font-size:12.5px;line-height:1.7;padding:12px}
.page-cases .c14-table th,.page-attendance_tasks .r94-task-table th,.page-attendance_insights .r60 th{font-size:11.5px;color:#4b6c5e;background:#ebf4ee;font-weight:600}
.page-cases .c14-school,.page-attendance_tasks .r94-task-table td:first-child strong{font-size:13.5px;font-weight:600}
.page-cases .c14-filter label,.page-attendance_tasks .r94-filter-form label,.page-reports .r94-report-filters label{font-size:12.5px;color:#526e60}
.page-cases .c14-tablewrap,.page-attendance_tasks .r94-table-scroll{border-color:#e1ebe5}
.page-cases .c14-table tr:hover td,.page-attendance_tasks .r94-task-table tr:hover td{background:#f7faf8}
.page-attendance_insights .r60-panels{gap:14px}
.page-attendance_insights .r60-panel{padding:18px 19px}
.page-attendance_insights .r60-count{min-height:78px}
.page-attendance_insights .r60-detail-head h2,.page-attendance_insights .r60-panel-head h2{font-size:17px;font-weight:600}
.page-attendance_insights .r60-rate small{font-size:11.5px;margin-top:2px}
.page-reports .r94-no-report{min-height:220px;padding:28px 20px}
.page-reports .r94-no-report h2{font-size:18px;font-weight:600}
.page-reports .r94-no-report p{font-size:12.5px}
.page-reports .r94-report-footer{font-size:11.5px}
/* Dashboard is the only high-emphasis daily hero; every subsequent surface follows the same components. */
.page-home .r6-lead{border-radius:14px}
.page-home .r6-panel{overflow:hidden}
.page-home .r6-heading h3{font-size:18px;font-weight:600}
.page-home .r6-queue-total small{font-size:11.5px}
.page-home .r6-queue-total strong{font-variant-numeric:tabular-nums}
.page-home .r6-queue-row small,.page-home .r6-track small{font-size:11.5px}
.page-home .r6-note{line-height:1.75}
/* Every interactive control has a visible keyboard focus. */
:where(.page-home,.page-performance,.page-cases,.page-attendance_tasks,.page-attendance_insights,.page-reports):not(.role-supervisor) :is(a,button,input,select):focus-visible{outline:2px solid #267d65;outline-offset:3px}
@media(min-width:1380px){.page-performance .p12-lead .p12-filter{gap:12px}.page-performance .p12-lead{min-height:112px}}
@media(max-width:1150px){.page-performance .p12-lead .p12-filter{flex-basis:100%;order:3;justify-content:flex-start;border-top:1px solid #e6f0e9}.page-cases .c14-board-note{max-width:100%}}
@media(max-width:760px){:where(.page-home,.page-performance,.page-cases,.page-attendance_tasks,.page-attendance_task_detail,.page-attendance_insights,.page-reports):not(.role-supervisor) .content{padding:13px 11px 24px}:where(.page-home,.page-performance,.page-cases,.page-attendance_tasks,.page-attendance_task_detail,.page-attendance_insights,.page-reports):not(.role-supervisor) .shell>header{height:auto;min-height:58px;padding:8px 12px}.page-performance .p12-lead{padding:16px 14px}.page-performance .p12-lead .p12-filter{gap:8px}.page-performance .p12-lead .p12-filter .p12-switch{width:100%;justify-content:center}.page-performance .p12-lead .p12-filter button{flex:1}.page-cases .c14-board,.page-attendance_insights .r60-intro,.page-attendance_tasks .r94-lead{padding:15px 14px}.page-attendance_tasks .r94-state-board,.page-attendance_tasks .r94-work-card,.page-cases .c14-panel{padding:14px}.page-cases .c14-board-note{font-size:10.5px}.page-cases .c14-states,.page-attendance_tasks .r94-state-nav{grid-template-columns:repeat(2,minmax(0,1fr))}.page-cases .c14-state,.page-attendance_tasks .r94-state-tile{min-height:70px}.page-cases .c14-state strong,.page-attendance_tasks .r94-state-tile strong{font-size:21px}.page-attendance_insights .r60-panel{padding:14px}.page-home .r6-heading h3{font-size:16px}}
@media print{body.page-reports .r94-report-lead{border:1px solid #bed4c6!important;box-shadow:none!important}body.page-reports .r94-report-lead:before{height:2px}body.page-reports .r94-no-report{box-shadow:none!important}}
