:root{--seh-g:#003f32;--seh-g2:#0b5546;--seh-cream:#f6f1e7;--seh-gold:#c79a4a;--seh-line:#ded7ca;--seh-text:#17231f;--seh-ok:#278b55;--seh-warn:#d98b38;--seh-bad:#c84b3b}.seh-admin{margin:18px 20px 40px 0;color:var(--seh-text);font-family:Georgia,'Times New Roman',serif}.seh-admin-head{background:var(--seh-g);color:#fff;min-height:92px;padding:18px 24px;border-radius:10px 10px 0 0;display:flex;justify-content:space-between;align-items:center;border:1px solid var(--seh-gold)}.seh-admin-head span{color:var(--seh-gold);letter-spacing:.13em;font-size:10px}.seh-admin-head h1{color:#fff;margin:5px 0 0;font-size:25px}.seh-admin-head img{width:160px;height:58px;object-fit:contain;filter:brightness(.9)}.seh-kpis{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;padding:18px;background:var(--seh-cream);border-left:1px solid var(--seh-line);border-right:1px solid var(--seh-line)}.seh-kpi{background:#fff;border:1px solid var(--seh-line);border-radius:8px;padding:14px}.seh-kpi span,.seh-kpi small{display:block;color:#6e766f;font-size:11px}.seh-kpi strong{font-size:28px;line-height:1.2;display:block;margin:6px 0}.seh-admin-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px;background:var(--seh-cream);padding:0 18px 18px;border-left:1px solid var(--seh-line);border-right:1px solid var(--seh-line)}.seh-panel{background:#fff;border:1px solid var(--seh-line);border-radius:8px;padding:16px}.seh-panel h2{font-size:15px;margin:0 0 14px}.seh-donut{width:150px;height:150px;border-radius:50%;background:conic-gradient(var(--seh-ok) 0 75%,var(--seh-bad) 75% 92%,var(--seh-warn) 92%);margin:6px auto;display:grid;place-items:center}.seh-donut>div{width:94px;height:94px;background:#fff;border-radius:50%;display:grid;place-items:center;align-content:center}.seh-donut strong{font-size:30px}.seh-donut span{font-size:10px;color:#777}.seh-legend{list-style:none;margin:8px 0 0;padding:0;font-size:12px}.seh-legend li{display:grid;grid-template-columns:14px 1fr auto;gap:7px;padding:4px 0}.seh-legend i{width:8px;height:8px;border-radius:50%;margin-top:3px}.seh-legend .ok{background:var(--seh-ok)}.seh-legend .late{background:var(--seh-warn)}.seh-legend .absent{background:var(--seh-bad)}.seh-big-percent{font-size:42px}.seh-panel>p{color:#788078;font-size:11px}.seh-chart{height:110px;display:flex;gap:7px;align-items:end;border-bottom:1px solid var(--seh-line);padding-top:10px}.seh-chart i{flex:1;background:var(--seh-ok);border-radius:4px 4px 0 0}.seh-activity p{border-bottom:1px solid var(--seh-line);padding:10px 0;margin:0;font-size:12px;display:flex;justify-content:space-between}.seh-activity a{display:inline-block;margin-top:14px;color:var(--seh-g);font-weight:bold}.seh-settings-grid{display:grid;grid-template-columns:1fr .8fr 1.45fr;gap:12px;background:var(--seh-cream);padding:18px;border:1px solid var(--seh-line);border-top:0;border-radius:0 0 10px 10px}.seh-panel label{display:block;font-size:11px;margin:10px 0}.seh-panel input[type=text],.seh-panel input:not([type]){width:100%}.seh-panel input[disabled]{background:#f8f6f0;border:1px solid var(--seh-line);padding:8px;border-radius:4px;color:#49534f}.seh-range{height:8px;background:#dfddd5;border-radius:99px;margin-top:9px;position:relative}.seh-range span{display:block;width:44%;height:100%;background:var(--seh-ok);border-radius:99px}.seh-range b{position:absolute;right:0;top:-20px;font-size:10px}.seh-range.small span{width:30%}.switch-row{display:flex!important;justify-content:space-between;align-items:center}.switch{width:34px;height:18px;border-radius:99px;background:#bbb;display:inline-block;position:relative;vertical-align:middle}.switch:after{content:'';position:absolute;width:14px;height:14px;border-radius:50%;background:#fff;top:2px;left:2px}.switch.on{background:var(--seh-ok)}.switch.on:after{left:18px}.seh-modules label{display:flex;justify-content:space-between;align-items:center;padding:7px 0;border-bottom:1px solid var(--seh-line)}.seh-modules input{display:none}.seh-perm{width:100%;border-collapse:collapse;font-size:10px}.seh-perm th,.seh-perm td{padding:8px 5px;border-bottom:1px solid var(--seh-line);text-align:center}.seh-perm td:first-child,.seh-perm th:first-child{text-align:left}.seh-perm td:not(:first-child){color:var(--seh-ok);font-weight:bold}.seh-table-panel{margin-top:0;border-radius:0 0 10px 10px;overflow:auto}.seh-table{width:100%;border-collapse:collapse}.seh-table th,.seh-table td{padding:12px 10px;border-bottom:1px solid var(--seh-line);text-align:left;font-size:12px}.seh-table th{color:var(--seh-g);font-size:11px;background:#fbfaf6}.seh-table tr:hover td{background:#fbfaf6}@media(max-width:1100px){.seh-kpis{grid-template-columns:repeat(3,1fr)}.seh-admin-grid,.seh-settings-grid{grid-template-columns:1fr}.seh-admin-head img{display:none}}@media(max-width:700px){.seh-kpis{grid-template-columns:1fr 1fr}.seh-admin{margin-right:10px}.seh-admin-head{border-radius:8px}.seh-kpi strong{font-size:22px}}
.seh-admin-form label{display:block;font-weight:600;margin:10px 0 5px}.seh-admin-form input:not([type=checkbox]),.seh-admin-form select{width:100%;max-width:100%;padding:8px;border:1px solid #d8d3c8;border-radius:5px}.seh-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 14px}@media(max-width:782px){.seh-form-grid{grid-template-columns:1fr}}

/* Arabic-first admin and report direction support */
.seh-admin[dir="rtl"]{direction:rtl;text-align:right;font-family:Tahoma,Arial,sans-serif}
.seh-admin[dir="rtl"] .seh-admin-head,.seh-admin[dir="rtl"] .seh-kpis,.seh-admin[dir="rtl"] .seh-admin-grid,.seh-admin[dir="rtl"] .seh-settings-grid{direction:rtl}
.seh-admin[dir="rtl"] .seh-table th,.seh-admin[dir="rtl"] .seh-table td,.seh-admin[dir="rtl"] .seh-perm th,.seh-admin[dir="rtl"] .seh-perm td{text-align:right}
.seh-admin[dir="rtl"] input[dir="ltr"],.seh-admin[dir="rtl"] td[dir="ltr"],.seh-admin[dir="rtl"] th[dir="ltr"]{text-align:left;unicode-bidi:isolate}
.seh-admin select[name="default_language"]{min-width:150px}


.seh-face-enroll-form{display:grid;grid-template-columns:minmax(220px,1fr) minmax(220px,1fr) auto;gap:12px;align-items:end;padding:12px 0;border-bottom:1px solid #e8e0d3}.seh-face-enroll-form label{display:contents}.seh-face-enroll-form [data-face-enroll-status]{font-size:12px;color:#0a5c46}@media(max-width:800px){.seh-face-enroll-form{grid-template-columns:1fr}}


/* Manager tablet attendance kiosk */
.seh-kiosk{background:var(--seh-cream);border:1px solid var(--seh-line);border-top:0;padding:18px;border-radius:0 0 10px 10px}.seh-kiosk-intro{margin-bottom:14px}.seh-kiosk-security{display:flex;gap:8px;flex-wrap:wrap}.seh-kiosk-security span{border:1px solid var(--seh-gold);color:var(--seh-g);padding:5px 10px;border-radius:99px;font-size:11px}.seh-kiosk-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:14px;margin-bottom:14px}.seh-kiosk select{width:100%;font-size:18px;min-height:48px}.seh-kiosk-employee-card{margin-top:14px;border:1px solid var(--seh-line);border-radius:8px;padding:16px;background:#fbfaf6;display:grid;gap:5px}.seh-kiosk-employee-card strong{font-size:22px;color:var(--seh-g)}.seh-kiosk-employee-card span,.seh-kiosk-employee-card small{display:block}.seh-kiosk-geo{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:12px}.seh-kiosk-geo div{background:#fff;border:1px solid var(--seh-line);padding:10px;border-radius:7px}.seh-kiosk-geo span,.seh-kiosk-geo strong{display:block}.seh-kiosk-geo span{font-size:10px;color:#737b76}.seh-kiosk-camera{text-align:center}.seh-kiosk-camera video{width:100%;max-width:520px;aspect-ratio:4/3;background:var(--seh-g);border-radius:12px;object-fit:cover;border:1px solid var(--seh-gold);display:block;margin:12px auto}.seh-kiosk-status{padding:12px;border-radius:8px;background:#e9f4ee;color:#125d42;font-weight:700}.seh-kiosk-status.is-error{background:#f8e8e5;color:#9c3027}.seh-kiosk-camera .button-hero{min-height:48px;font-size:17px;margin:5px;min-width:180px}.seh-kiosk-list{display:grid;gap:7px}.seh-kiosk-row{display:grid;grid-template-columns:2fr 1fr .7fr .7fr;gap:10px;align-items:center;padding:10px 12px;border:1px solid var(--seh-line);border-radius:7px}.seh-kiosk-row strong,.seh-kiosk-row small{display:block}.seh-kiosk-row .ok{color:var(--seh-ok)}.seh-kiosk-row .bad{color:var(--seh-bad)}@media(max-width:900px){.seh-kiosk-grid{grid-template-columns:1fr}.seh-kiosk-row{grid-template-columns:1.5fr 1fr 1fr}.seh-kiosk-row>span:last-child{grid-column:3}}@media(max-width:600px){.seh-kiosk-geo{grid-template-columns:1fr}.seh-kiosk-row{grid-template-columns:1fr 1fr}.seh-kiosk-row>div{grid-column:1/-1}}

/* v0.6.0 operational dashboard refinements */
.seh-pill{display:inline-flex;align-items:center;gap:6px;padding:4px 9px;border-radius:999px;font-size:12px;font-weight:700;background:#f2eee3;color:#173f35}
.seh-pill.ok{background:#e6f2eb;color:#195c44}.seh-pill.warn{background:#fff2d9;color:#8b5b00}
.seh-inline-filter{display:flex;align-items:end;gap:10px;margin:0 0 16px}.seh-inline-filter label{display:grid;gap:6px;font-weight:700}
.seh-report-detail{margin-bottom:14px}.seh-report-detail summary{cursor:pointer;font-size:16px;display:flex;align-items:center;gap:10px;list-style:none}.seh-report-detail summary::-webkit-details-marker{display:none}
.seh-report-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:16px}.seh-report-grid>div{border:1px solid #e6dfcd;border-radius:14px;padding:14px;background:#fffdf7}.seh-report-grid span{display:block;font-size:12px;color:#6d746f;margin-bottom:7px}.seh-report-grid strong{display:block;white-space:pre-wrap;font-size:14px;color:#173f35}
@media(max-width:900px){.seh-report-grid{grid-template-columns:1fr}.seh-inline-filter{align-items:stretch;flex-direction:column}}

.seh-review-head{display:flex;align-items:center;justify-content:space-between;gap:16px}.seh-review-card{max-width:900px}.seh-review-meta{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.seh-review-meta div{display:grid;gap:4px}.seh-review-meta span,.seh-review-meta small{opacity:.7}.seh-review-photo{display:block;max-width:520px;width:100%;max-height:420px;object-fit:cover;border-radius:18px;margin:16px 0;border:1px solid rgba(10,56,55,.16)}.seh-review-card textarea{width:100%;min-height:78px;margin:12px 0}.seh-review-actions{display:flex;gap:10px}.seh-review-comment{background:#f6f1e7;padding:12px 14px;border-radius:12px}

.seh-task-manager{max-width:1180px}.seh-tm-toolbar{display:grid;grid-template-columns:minmax(280px,1fr) minmax(320px,1.3fr);gap:16px;align-items:start;margin:18px 0}.seh-tm-toolbar select{min-width:260px}.seh-tm-section{margin:18px 0}.seh-tm-task{position:relative;border:1px solid #ded7c7;border-radius:14px;padding:16px;margin:12px 0;background:#fff}.seh-tm-task.is-archived{opacity:.68;background:#f1eee6}.seh-tm-task label{display:grid;gap:5px;margin:9px 0;font-weight:600}.seh-tm-task textarea,.seh-tm-task input[type=number],.seh-tm-add textarea,.seh-tm-add-position input{width:100%}.seh-tm-row{display:flex;justify-content:space-between;gap:12px;align-items:center}.seh-tm-id{font-weight:700;color:#5c6b62}.seh-tm-options{display:grid;grid-template-columns:repeat(5,minmax(135px,1fr));gap:10px;align-items:center;margin:12px 0}.seh-tm-check{display:flex!important;align-items:center;gap:7px!important;font-weight:500!important}.seh-tm-inline{display:inline-block;margin:8px 8px 0 0}.seh-tm-archived{display:inline-block;margin:8px;padding:4px 8px;border-radius:99px;background:#ddd4be}.seh-tm-add{margin-top:12px;border:1px dashed #bba66f;border-radius:12px;padding:12px}.seh-tm-add summary{cursor:pointer;font-weight:700}.seh-tm-add-position{display:grid;grid-template-columns:1fr 1fr 1fr auto;gap:10px;align-items:end;padding-top:12px}@media(max-width:782px){.seh-tm-toolbar,.seh-tm-add-position{grid-template-columns:1fr}.seh-tm-options{grid-template-columns:1fr 1fr}.seh-tm-toolbar select{width:100%;min-width:0}}

/* v2.9.12 Calendar admin */
.seh-calendar-admin{max-width:1180px}.seh-cal-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:18px 0}.seh-calendar-admin .seh-panel{background:#fff;border:1px solid #ddd5c5;border-radius:14px;padding:18px}.seh-calendar-admin label{display:grid;gap:5px;margin:9px 0;font-weight:600}.seh-calendar-admin input,.seh-calendar-admin select,.seh-calendar-admin textarea{width:100%}.seh-cal-two{display:grid;grid-template-columns:1fr 1fr;gap:10px}.seh-cal-targetbox{border:1px solid #e2dac9;padding:10px;margin:8px 0;max-height:160px;overflow:auto}.seh-cal-targetbox label{display:flex;align-items:center;gap:7px;font-weight:400}.seh-cal-targetbox input{width:auto}@media(max-width:782px){.seh-cal-grid,.seh-cal-two{grid-template-columns:1fr}}

/* v2.9.13 Module controls */
.seh-modules label.is-core{background:#eef5f0}.seh-modules label.is-core small{display:inline-block;margin-inline-start:6px;padding:2px 6px;border-radius:999px;background:#173e2f;color:#fff;font-size:10px}.seh-modules label.is-core input{opacity:.65}

/* v2.9.15 Live Operations Monitor */
.seh-live-monitor{max-width:1500px}
.seh-live-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:16px}
.seh-live-head h1{margin-bottom:4px}.seh-live-head p{margin-top:0}.seh-live-updated{background:#173e2f;color:#fff;border-radius:10px;padding:10px 14px;white-space:nowrap}
.seh-live-filters{display:grid;grid-template-columns:repeat(5,minmax(150px,1fr)) auto auto;gap:10px;align-items:end;background:#fff;border:1px solid #ddd5c5;border-radius:14px;padding:14px;margin-bottom:14px}
.seh-live-filters label{display:grid;gap:5px;font-weight:600}.seh-live-filters select,.seh-live-filters input[type=date]{width:100%}.seh-live-test{display:flex!important;align-items:center;gap:7px;padding-bottom:7px}
.seh-live-kpis{display:grid;grid-template-columns:repeat(7,minmax(120px,1fr));gap:10px;margin:12px 0}
.seh-live-kpi{background:#fff;border:1px solid #ded6c4;border-radius:12px;padding:12px}.seh-live-kpi span{display:block;font-size:12px;color:#59655f}.seh-live-kpi strong{display:block;font-size:25px;color:#173e2f;margin-top:3px}
.seh-live-employees{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:10px;margin:12px 0}
.seh-live-employee-card{display:flex;justify-content:space-between;gap:12px;align-items:center;background:#fff;border:1px solid #ded6c4;border-radius:12px;padding:12px}.seh-live-employee-card h3{margin:0 0 3px}.seh-live-employee-card p{margin:0;color:#67716c}.seh-live-mini{display:grid;justify-items:end;gap:5px}.seh-live-mini b{font-size:18px}
.seh-live-table-wrap{overflow:auto}.seh-live-table{min-width:1250px}.seh-live-table th{position:sticky;top:0;background:#173e2f;color:#fff;z-index:1}.seh-live-table td{vertical-align:top}.seh-live-table small{display:block;margin-top:4px;color:#666}
.seh-live-state{display:inline-block;border-radius:999px;padding:4px 8px;font-size:11px;font-weight:700;white-space:nowrap}.seh-live-state.state-completed{background:#dff1e6;color:#145a31}.seh-live-state.state-pending{background:#eee9dc;color:#695b35}.seh-live-state.state-due{background:#fff0c9;color:#815d00}.seh-live-state.state-overdue{background:#f8dddd;color:#8c1f1f}.seh-live-state.state-pending_review{background:#e6e5fa;color:#403b86}.seh-live-state.state-rejected{background:#f6d7d7;color:#7a1818}
.seh-live-photos{display:flex;gap:5px;flex-wrap:wrap}.seh-live-photos img{width:54px;height:54px;object-fit:cover;border-radius:7px;border:1px solid #d7cfbe}.seh-live-missing{font-size:11px;color:#9a2b2b;font-weight:700}
.seh-live-test-badge{display:inline-block;background:#272727;color:#fff;border-radius:999px;padding:2px 6px;font-size:9px;font-weight:700}
.att-present,.att-completed{color:#176238;font-weight:700}.att-missing_checkin,.att-absent{color:#9b2323;font-weight:700}.att-not_started,.att-off,.att-exempt,.att-disabled,.att-test{color:#6e6659;font-weight:700}
@media(max-width:1100px){.seh-live-kpis{grid-template-columns:repeat(4,1fr)}.seh-live-filters{grid-template-columns:repeat(3,1fr)}}
@media(max-width:782px){.seh-live-head{display:block}.seh-live-updated{display:inline-block;margin-top:8px}.seh-live-kpis{grid-template-columns:repeat(2,1fr)}.seh-live-filters{grid-template-columns:1fr 1fr}.seh-live-test{padding-bottom:0}}

/* v2.9.16 Daily Operations & Records */
.seh-ops-records{max-width:1300px}.seh-ops-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start}.seh-ops-kpis{display:grid;grid-template-columns:repeat(9,minmax(110px,1fr));gap:9px;margin:14px 0}.seh-ops-kpis>div{background:#fff;border:1px solid #ddd5c5;border-radius:12px;padding:11px}.seh-ops-kpis span{display:block;font-size:11px;color:#68726d}.seh-ops-kpis strong{display:block;font-size:21px;color:#173e2f;margin-top:3px}.seh-ops-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:16px 0}.seh-ops-grid label{display:grid;gap:5px;margin:9px 0;font-weight:600}.seh-ops-grid input,.seh-ops-grid select,.seh-ops-grid textarea{width:100%}.seh-op-record{border:1px solid #ddd5c5;border-inline-start:5px solid #b2aa97;border-radius:12px;padding:13px;margin:10px 0;background:#fff}.seh-op-record.priority-high{border-inline-start-color:#c38525}.seh-op-record.priority-critical{border-inline-start-color:#a62929}.seh-op-record-head{display:flex;justify-content:space-between;gap:12px}.seh-op-record-head small{display:block;color:#6e766f;margin-top:4px}.seh-op-record-head span{font-weight:700}.seh-op-photo{width:100px;height:100px;object-fit:cover;border-radius:9px}.seh-op-status-form{display:grid;grid-template-columns:160px 1fr auto;gap:8px;margin-top:10px}.seh-op-status-form input,.seh-op-status-form select{width:100%}@media(max-width:1100px){.seh-ops-kpis{grid-template-columns:repeat(3,1fr)}}@media(max-width:782px){.seh-ops-head{display:block}.seh-ops-grid{grid-template-columns:1fr}.seh-ops-kpis{grid-template-columns:repeat(2,1fr)}.seh-op-status-form{grid-template-columns:1fr}}

/* v2.9.17 Phase 1 Health Check */
.seh-health{max-width:1100px}.seh-health-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:16px 0}.seh-health-summary>div{background:#fff;border:1px solid #ddd5c5;border-radius:12px;padding:14px}.seh-health-summary span{display:block;color:#69736e}.seh-health-summary strong{display:block;font-size:28px;color:#173e2f}.seh-health-list{display:grid;gap:10px}.seh-health-list article{display:grid;grid-template-columns:14px 1fr auto;gap:12px;align-items:center;background:#fff;border:1px solid #ddd5c5;border-radius:12px;padding:13px}.seh-health-list h3{margin:0 0 3px}.seh-health-list p{margin:0;color:#69736e}.seh-health-dot{width:10px;height:10px;border-radius:50%;background:#8d8d8d}.health-pass .seh-health-dot{background:#2d8a51}.health-warn .seh-health-dot{background:#d29524}.health-fail .seh-health-dot{background:#b43232}.health-pass>b{color:#2d8a51}.health-warn>b{color:#9b6710}.health-fail>b{color:#b43232}
[dir="rtl"] input[type="number"],[dir="rtl"] input[type="date"],[dir="rtl"] input[type="time"],[dir="rtl"] input[type="email"],[dir="rtl"] input[dir="ltr"],[dir="rtl"] td[dir="ltr"],[dir="rtl"] strong[dir="ltr"]{direction:ltr;text-align:left}
@media(max-width:782px){.seh-health-summary{grid-template-columns:1fr}.seh-health-list article{grid-template-columns:12px 1fr}.seh-health-list article>b{grid-column:2}}

/* v2.9.19 Test Lab */
.seh-test-lab{max-width:1100px}.seh-test-output{margin-top:16px}.seh-test-output pre{white-space:pre-wrap;background:#fff;border:1px solid #ddd5c5;border-radius:12px;padding:14px}.seh-test-role{background:#fff;border:1px solid #ddd5c5;border-inline-start:5px solid #888;border-radius:12px;padding:14px;margin:12px 0}.seh-test-role.pass{border-inline-start-color:#2d8a51}.seh-test-role.warn{border-inline-start-color:#d29524}.seh-test-role.fail{border-inline-start-color:#b43232}.seh-test-role h3{margin-top:0}

/* v2.9.40 Task Bank scopes */
.seh-tm-scope{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:10px 0}
.seh-tm-scope label{display:flex;flex-direction:column;gap:5px;font-weight:600}
.seh-tm-scope select,.seh-tm-scope input{width:100%}
@media(max-width:850px){.seh-tm-scope{grid-template-columns:1fr}}


/* v2.9.50 — reliable module toggles */
.seh-modules-panel{position:relative}
.seh-modules .seh-module-row{cursor:pointer;user-select:none;gap:12px}
.seh-modules .seh-module-row.is-core{cursor:default}
.seh-module-name{flex:1}
.seh-module-control{display:flex;align-items:center;gap:8px;min-width:78px;justify-content:flex-end}
.seh-modules .seh-module-control input{
  position:absolute!important;
  opacity:0!important;
  width:1px!important;
  height:1px!important;
  pointer-events:none!important;
}
.seh-module-control .switch{width:38px;height:20px;flex:0 0 38px;transition:background .18s ease}
.seh-module-control .switch:after{width:16px;height:16px;transition:left .18s ease}
.seh-module-control input:checked + .switch{background:var(--seh-ok)!important}
.seh-module-control input:checked + .switch:after{left:20px!important}
.seh-module-control input:not(:checked) + .switch{background:#b9bdba!important}
.seh-module-control input:not(:checked) + .switch:after{left:2px!important}
.seh-module-control b{font-size:10px;min-width:22px;color:#777}
.seh-module-row:has(input:checked) .seh-module-control b{color:var(--seh-ok)}
.seh-module-row.is-core .seh-module-control{opacity:.7}
.seh-modules-savebar{
 position:sticky;bottom:10px;z-index:20;margin-top:14px;padding:10px 12px;
 display:flex;align-items:center;justify-content:space-between;gap:12px;
 background:#fff;border:1px solid var(--seh-line);border-radius:10px;
 box-shadow:0 8px 24px rgba(0,0,0,.08)
}
.seh-modules-savebar [data-modules-dirty]{font-size:11px;color:#6b756f}
.seh-modules-savebar.is-dirty [data-modules-dirty]{color:#a35d12;font-weight:700}
@media(max-width:700px){
 .seh-modules-savebar{bottom:8px;flex-direction:column;align-items:stretch}
 .seh-modules-savebar .button{width:100%;min-height:44px}
}

/* ===== Operations 3.3.2 WordPress admin consistency ===== */
.wrap[class*="seh-"]{max-width:1320px;color:#17352c}.wrap[class*="seh-"] h1,.wrap[class*="seh-"] h2,.wrap[class*="seh-"] h3{color:#17352c}
.wrap[class*="seh-"] .button-primary{background:#173e2f;border-color:#173e2f;color:#fff;border-radius:8px;min-height:38px}
.wrap[class*="seh-"] input:not([type=checkbox]):not([type=radio]),.wrap[class*="seh-"] select,.wrap[class*="seh-"] textarea{border-color:#d8cbb8;border-radius:8px;min-height:40px;max-width:100%}
.seh-operational-assets-form{background:#fff;padding:16px;border:1px solid #ded6c7;border-radius:12px;margin:15px 0}.seh-operational-assets-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
@media(max-width:782px){.seh-operational-assets-grid{grid-template-columns:1fr}.seh-responsive-table{overflow-x:auto}.seh-pr-approval-table input[name^="name["]{min-width:220px;width:100%}}

/* NR dimensional interface. Existing semantics and icon shapes are preserved. */
:is(#cafe-ops-app,#seh-finance-app,#seh-pos-app,.seh-finance-admin){--nr-depth-green:#073d30;--nr-depth-gold:#c69b4d;--nr-depth-surface:#fbfaf6}
:is(#cafe-ops-app,#seh-finance-app) :is(.seh-drawer,.seh-drawer-nav,.seh-fin-sidebar){background:linear-gradient(155deg,#114b3d,#032c24)!important;color:#fff}
:is(#cafe-ops-app,#seh-finance-app) :is(.seh-nav-group-toggle,.seh-fin-nav button){border-radius:12px!important;box-shadow:inset 0 1px 0 #ffffff0c;min-height:48px}
:is(#cafe-ops-app,#seh-finance-app) :is(.seh-nav-group-toggle,.seh-fin-nav button):hover{background:linear-gradient(145deg,#275e4d,#0a3c2f)!important;box-shadow:inset 0 1px 0 #ffffff35,0 3px 8px #001e1a40}
:is(#cafe-ops-app,#seh-finance-app) :is(.seh-nav-group-body .is-active,.seh-fin-nav button.is-active){color:#fff!important;background:linear-gradient(145deg,#2c6753,#0b4233)!important;border:1px solid #cfad65!important;box-shadow:inset 0 1px 1px #ffffff40,0 4px 0 #032d23,0 7px 12px #001e1a35}
:is(#cafe-ops-app,#seh-finance-app) :is(.seh-nav-group-toggle,.seh-nav-group-body>button,.seh-nav-group-body>a)::before{background:linear-gradient(140deg,#fff6d0 0%,#dec182 30%,#a2752d 65%,#f3dfaa 90%)!important;filter:drop-shadow(0 1px 0 #8b6829) drop-shadow(0 2px 0 #71551f) drop-shadow(0 4px 2px #001b1860);width:25px;height:25px;flex-basis:25px}
:is(#cafe-ops-app,#seh-finance-app) .seh-fin-nav-icon{color:#e3c887!important;filter:drop-shadow(0 1px 0 #8b6829) drop-shadow(0 2px 0 #71551f) drop-shadow(0 4px 2px #001b1850)}
:is(#cafe-ops-app,#seh-finance-app,#seh-pos-app,.seh-finance-admin) :is(.seh-btn-primary,.seh-primary-btn,.button-primary,#seh-pos-save,#seh-pos-pay){background:linear-gradient(145deg,#2d7158,#064333)!important;color:#fff!important;border:1px solid #316a54!important;border-radius:11px!important;box-shadow:inset 0 1px 1px #b1dbbd65,0 3px 0 #043124,0 6px 12px #0b3e3225!important}
:is(#cafe-ops-app,#seh-finance-app,#seh-pos-app,.seh-finance-admin) :is(.seh-btn-primary,.seh-primary-btn,.button-primary,#seh-pos-save,#seh-pos-pay):active{transform:translateY(2px);box-shadow:inset 0 1px 2px #001d1845,0 1px 0 #043124!important}
:is(#cafe-ops-app,#seh-finance-app,#seh-pos-app) :is(.seh-panel,.seh-card,.seh-fin-card,.seh-pos-cart){border:1px solid #e0e4dc;border-radius:16px;box-shadow:0 7px 22px #1c43310a;background:#fffefb}
:is(#cafe-ops-app,#seh-finance-app,#seh-pos-app) :is(button,a,input,select):focus-visible{outline:3px solid #b88a35!important;outline-offset:3px}
@media(prefers-reduced-motion:reduce){:is(#cafe-ops-app,#seh-finance-app,#seh-pos-app) *{transition:none!important;animation:none!important}}
@media print{.seh-floor-tools,.seh-floor-panel{display:none!important}}
