/* HR S2 — page-scoped presentation. Shared motion, event contracts and JS remain authoritative. */
.hr-page .hr-main{--hr-muted:var(--ajyal-muted,#616d7d);--hr-line:var(--ajyal-line,#e1e5eb);--hr-soft:var(--ajyal-surface-alt,#f6f7f9);--hr-warm:#f7f2e7;--hr-warning:var(--ajyal-warning,#876326);--hr-danger:var(--ajyal-error,#9b403b);padding:20px 22px 32px;max-width:none;min-width:0}
.hr-page .hr-main [hidden]{display:none!important}
.hr-page .hr-head{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-bottom:16px;border-bottom:1px solid var(--hr-line)}
.hr-page .hr-head h1{margin:0;font-size:25px;font-weight:700;line-height:1.55;letter-spacing:0}
.hr-page .hr-head .eyebrow{font-size:10px;font-weight:600;line-height:1.7;margin:0 0 3px;color:var(--hr-muted)}
.hr-page .hr-head>div>p:last-child{margin:4px 0 0;max-width:65ch;color:var(--hr-muted);font-size:12px;line-height:1.8}
.hr-page .hr-head .compact-metrics{display:flex;gap:0;align-items:stretch;flex-shrink:0}
.hr-page .hr-head .compact-metrics>span{display:flex;flex-direction:column;justify-content:center;gap:2px;min-width:74px;padding:2px 13px;background:transparent;border:0;border-inline-start:1px solid var(--hr-line);border-radius:0;color:var(--hr-muted);font-size:11px;line-height:1.7;white-space:nowrap}
.hr-page .hr-head .compact-metrics b{font-size:23px;font-weight:650;line-height:1.25;margin:0;color:var(--ajyal-ink,var(--ink));font-variant-numeric:tabular-nums}
.hr-page .hr-head .compact-metrics>span:nth-child(2){background:var(--hr-warm);border:0;border-radius:6px;margin-inline:5px;padding-inline:15px;color:#75572c}
.hr-page .hr-head .compact-metrics>span:nth-child(2) b{color:#75572c}
.hr-page .hr-layout{display:grid;grid-template-columns:minmax(0,1fr) 308px;align-items:start;gap:20px;margin-top:18px}
.hr-page .hr-core{min-width:0}
.hr-page .hr-tabs{display:flex;gap:3px;align-items:stretch;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:thin;border-bottom:1px solid var(--hr-line);margin:0 0 18px;padding:0 0 5px}
.hr-page .hr-tabs>button{flex:0 0 auto;min-height:40px;padding:8px 11px;border:0;border-radius:5px 5px 0 0;background:transparent;color:var(--hr-muted);font-size:12px;font-weight:550;white-space:nowrap;cursor:pointer}
.hr-page .hr-tabs>button.active{background:var(--ajyal-surface,#fff)!important;color:var(--ajyal-ink,var(--ink))!important;font-weight:700;box-shadow:inset 0 -2px 0 var(--gold)!important}
.hr-page .view-panel.hidden{display:none}
.hr-page .section-head{align-items:center;gap:12px;margin-bottom:10px;min-width:0}
.hr-page .section-head>div{min-width:0}
.hr-page .section-head h2{font-size:17px;line-height:1.65;margin:0;font-weight:650;overflow-wrap:anywhere}
.hr-page .section-head .eyebrow{font-size:10px;line-height:1.6;font-weight:550;letter-spacing:0;color:var(--hr-muted);margin:0 0 2px}
.hr-page .section-head .text-btn{flex-shrink:0;padding:6px 0;font-size:11px;font-weight:600;min-height:36px;color:var(--ajyal-primary,#47608a)}
.hr-page #overview-view>.section-head{border-inline-start:3px solid var(--gold);padding-inline-start:12px;margin-bottom:12px}
.hr-page #overview-view>.section-head .eyebrow{color:#876326}
.hr-page .filter-row{gap:4px;flex-shrink:0}
.hr-page .filter{min-height:34px;padding:5px 9px;border:1px solid transparent;border-radius:6px;background:transparent;font-size:11px;color:var(--hr-muted)}
.hr-page .filter.active{background:var(--ajyal-surface,#fff);border-color:var(--ajyal-line-strong,#d8dfe8);color:var(--ajyal-ink,var(--ink))}
.hr-page .filter b{font-size:10px;font-weight:550;margin-inline-start:4px;font-variant-numeric:tabular-nums}
.hr-page .attention-queue{border-top:1px solid var(--hr-line);background:var(--ajyal-surface,#fff)}
.hr-page .attention-row{display:grid;grid-template-columns:10px minmax(0,1fr) 102px 16px;align-items:center;gap:10px;min-height:73px;width:100%;padding:12px 13px!important;border:0;border-bottom:1px solid var(--ajyal-line-soft,#e8ebf0);border-radius:0;text-align:start;background:transparent;cursor:pointer}
.hr-page .attention-row .row-main{min-width:0}
.hr-page .attention-row .row-main strong{font-size:13px;font-weight:650;line-height:1.7;overflow-wrap:anywhere}
.hr-page .attention-row .row-main small{font-size:11px;line-height:1.7;margin-top:3px;color:var(--hr-muted)}
.hr-page .attention-row .row-meta{text-align:end}
.hr-page .attention-row .row-meta small{font-size:10px;font-variant-numeric:tabular-nums;line-height:1.6;color:var(--hr-muted)}
.hr-page .attention-row .row-meta i{margin-top:5px;padding:3px 7px;border-radius:4px;border:1px solid #e4dfd3;background:#faf6ed;color:#795b2f;font-size:10px;font-style:normal;line-height:1.5}
.hr-page .attention-row .row-meta .late{background:#faeeeb;border-color:#edd4cf;color:var(--hr-danger)}
.hr-page .attention-row:has(.dot.red):not(.selected){background:#fffaf9}
.hr-page .attention-row .arrow{font-size:22px;color:#8592a3}
.hr-page .hr-main .ns-record.selected,.hr-page .hr-main .ns-record[aria-current="true"],.hr-page .hr-main button[data-record].selected{background:#f5f1e8!important;box-shadow:inset -3px 0 0 var(--gold)!important}
.hr-page .hr-main .ns-record.selected .arrow{color:#806331}
.hr-page .hr-section{margin-top:22px}
.hr-page .ops-strip{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));border-block:1px solid var(--hr-line);background:transparent}
.hr-page .ops-strip>div{padding:12px 10px;border-inline-end:1px solid var(--hr-line);min-width:0}
.hr-page .ops-strip>div:last-child{border:0}
.hr-page .ops-strip span,.hr-page .ops-strip strong,.hr-page .ops-strip small{display:block}
.hr-page .ops-strip span{color:var(--hr-muted);font-size:11px;line-height:1.7}
.hr-page .ops-strip strong{font-size:23px;font-weight:650;font-variant-numeric:tabular-nums;line-height:1.35;margin:4px 0 2px}
.hr-page .ops-strip small{font-size:10px;color:var(--hr-muted);line-height:1.7;overflow-wrap:anywhere}
.hr-page .hr-two-col{display:grid;grid-template-columns:1.15fr .85fr;gap:22px;min-width:0}
.hr-page .hr-two-col>.hr-section{min-width:0}
.hr-page .hr-two-col .section-head h2{font-size:15px}
.hr-page .dense-table{background:var(--ajyal-surface,#fff);border-top:1px solid var(--hr-line)}
.hr-page .dense-header,.hr-page .dense-table>button{display:grid;grid-template-columns:minmax(110px,1.3fr) 50px minmax(74px,1fr);align-items:center;gap:8px}
.hr-page .dense-header{padding:9px 10px;border-bottom:1px solid var(--hr-line);background:var(--ajyal-surface-alt,#f0f2f5);color:var(--hr-muted);font-size:10px;line-height:1.7}
.hr-page .dense-table>button{min-height:66px;width:100%;padding:11px 10px!important;border:0;border-bottom:1px solid var(--ajyal-line-soft,#e8ebf0);border-radius:0;background:var(--ajyal-surface,#fff);text-align:start;cursor:pointer}
.hr-page .dense-table strong{display:block;font-size:12px;font-weight:650;line-height:1.7;overflow-wrap:anywhere}
.hr-page .dense-table small{display:block;font-size:10px;line-height:1.75;color:var(--hr-muted);margin:3px 0 0;overflow-wrap:anywhere}
.hr-page .dense-table>button>b{justify-self:start;font-size:10px;line-height:1.6;font-weight:600;padding:3px 6px;border-radius:4px;background:#f1f3f6;color:#58677b}
.hr-page .dense-table>button.hr-record-warning>b{background:#faf3e4;color:var(--hr-warning)}
.hr-page .dense-table>button.hr-record-late>b{background:#faeeeb;color:var(--hr-danger)}
.hr-page .dense-table>button.hr-record-good>b{background:#edf5f0;color:var(--ajyal-success,#35664e)}
.hr-page .pipeline{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:transparent;border-block:1px solid var(--hr-line)}
.hr-page .pipeline>div{padding:15px 10px;border-inline-end:1px solid var(--hr-line);min-width:0}
.hr-page .pipeline>div:last-child{border:0}
.hr-page .pipeline span,.hr-page .pipeline strong{display:block}
.hr-page .pipeline span{font-size:10px;color:var(--hr-muted);line-height:1.7}
.hr-page .pipeline strong{font-size:23px;font-weight:650;line-height:1.4;margin-top:5px;font-variant-numeric:tabular-nums}
.hr-page .timeline{border-color:var(--hr-line)}
.hr-page .timeline>div{grid-template-columns:75px 10px minmax(0,1fr);padding:10px 2px;border-color:var(--ajyal-line-soft,#e6eaf0)}
.hr-page .timeline time{font-size:11px;line-height:1.7;font-variant-numeric:tabular-nums}
.hr-page .timeline strong{font-size:12px;font-weight:600;line-height:1.8}
.hr-page .timeline small{font-size:11px;line-height:1.7;color:var(--hr-muted)}
.hr-page .ops-data-table{border-top:1px solid var(--hr-line);background:var(--ajyal-surface,#fff)}
.hr-page .ops-data-head,.hr-page .ops-data-table>button{display:grid;grid-template-columns:minmax(160px,1.6fr) minmax(120px,1.2fr) minmax(58px,.7fr) minmax(68px,.7fr) minmax(54px,.65fr);gap:12px;align-items:center}
.hr-page .ops-data-head{padding:11px 14px;color:var(--hr-muted);font-size:10px;line-height:1.7;background:var(--ajyal-surface-alt,#f0f2f5);border-bottom:1px solid var(--hr-line);font-weight:500}
.hr-page .ops-data-table>button{width:100%;min-height:82px;padding:15px 14px!important;background:var(--ajyal-surface,#fff);border:0;border-bottom:1px solid var(--ajyal-line-soft,#e6eaf0);border-radius:0;text-align:start;cursor:pointer;color:#46546a;font-size:12px;line-height:1.7}
.hr-page .ops-data-table>button>span{min-width:0;overflow-wrap:anywhere}
.hr-page .ops-data-table strong{display:block;color:var(--ajyal-ink,var(--ink));font-size:14px;line-height:1.65;font-weight:650;overflow-wrap:anywhere}
.hr-page .ops-data-table small{display:block;font-size:11px;line-height:1.7;margin-top:4px;color:var(--hr-muted)}
.hr-page .ops-data-table i{display:inline-block;max-width:100%;font-style:normal;font-size:11px;font-weight:600;line-height:1.6;padding:3px 8px;border:1px solid var(--ajyal-line,#e1e5eb);border-radius:4px;background:#f5f6f8;color:#596779}
.hr-page .ops-data-table i.good{color:var(--ajyal-success,#35664e);border-color:#d3e4d9;background:#edf5f0}
.hr-page .ops-data-table .hr-record-warning i{color:var(--hr-warning);border-color:#e9ddc5;background:#fbf5e9}
.hr-page .ops-data-table .hr-record-warning>span:nth-child(4){color:var(--ajyal-error,#9b403b);font-weight:600}
.hr-page .inline-search{display:flex;align-items:center;gap:8px;width:min(290px,48%);min-height:40px;padding:0 11px;border:1px solid var(--ajyal-line-strong,#d7dee7);border-radius:7px;background:var(--ajyal-surface,#fff);color:var(--hr-muted)}
.hr-page .inline-search>span{font-size:22px;line-height:1}
.hr-page .inline-search input{width:100%;min-width:0;padding:8px 0;border:0!important;box-shadow:none!important;outline:0;background:transparent;color:var(--ajyal-ink,var(--ink));font-size:12px;line-height:1.7}
.hr-page .inline-search:focus-within{border-color:#b8a27b;box-shadow:0 0 0 3px var(--focus-soft)}
.hr-page .org-list{display:grid;gap:0;border-top:1px solid var(--hr-line);background:var(--ajyal-surface,#fff)}
.hr-page .org-list button{display:grid;grid-template-columns:minmax(0,1.5fr) 86px minmax(0,1fr);gap:12px;align-items:center;min-height:73px;padding:13px 14px;border:0;border-bottom:1px solid var(--ajyal-line-soft,#e6eaf0);border-radius:0;background:var(--ajyal-surface,#fff);text-align:start;cursor:pointer}
.hr-page .org-list strong{font-size:13px;font-weight:650;line-height:1.7;overflow-wrap:anywhere}
.hr-page .org-list span{font-size:12px;font-weight:550;color:#46546a;line-height:1.7}
.hr-page .org-list small{font-size:11px;line-height:1.7;color:var(--hr-muted);text-align:end;overflow-wrap:anywhere}
.hr-page .org-list .hr-record-warning small{color:var(--hr-warning)}
.hr-page .empty-operational{padding:22px;border:1px dashed var(--ajyal-line-strong,#d5dce6);border-radius:8px;background:var(--ajyal-surface,#fff)}
.hr-page .empty-operational h2{font-size:20px;line-height:1.6;margin:0 0 7px}
.hr-page .empty-operational p{font-size:12px;line-height:1.85;color:var(--hr-muted);max-width:72ch;overflow-wrap:anywhere}
.hr-page .empty-operational .eyebrow{font-size:10px}
.hr-page .empty-operational .link-btn{display:inline-flex;align-items:center;min-height:40px;padding:8px 13px;font-size:12px;line-height:1.8;white-space:normal;max-width:100%}
.hr-page .hr-inspector{position:sticky;top:84px;min-width:0;max-height:calc(100dvh - 225px);overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;background:var(--ajyal-surface,#fff);border:1px solid var(--hr-line);border-radius:var(--ajyal-radius-card,10px);box-shadow:none}
.hr-page .hr-inspector .inspector-head{position:sticky;top:0;z-index:3;display:flex;align-items:flex-start;gap:8px;padding:15px 15px 13px;background:var(--ajyal-surface,#fff);border-bottom:1px solid var(--hr-line)}
.hr-page .hr-inspector .inspector-head>div{min-width:0}
.hr-page .hr-inspector .inspector-head .eyebrow{font-size:10px;font-weight:500;line-height:1.6;margin:0 0 5px;color:var(--hr-muted)}
.hr-page .hr-inspector .inspector-head h2{margin:0;font-size:15px;font-weight:650;line-height:1.75;overflow-wrap:anywhere}
.hr-page .hr-inspector .inspector-head>.icon-btn{border-color:transparent;background:transparent;color:var(--hr-muted);flex-shrink:0;width:30px;height:32px;font-size:20px}
.hr-page .hr-inspector .inspector-status{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 15px;border-bottom:1px solid var(--ajyal-line-soft,#e9edf2);background:var(--ajyal-surface-alt,#fafbfc);font-size:10px;color:var(--hr-muted);line-height:1.7}
.hr-page .hr-inspector .inspector-status i{font-style:normal;font-size:11px;font-weight:600;line-height:1.6;margin:0;padding:3px 7px;background:#f4f0e7;color:#795b2f;border:1px solid #e7ddc9;border-radius:4px;max-width:65%;overflow-wrap:anywhere}
.hr-page .hr-layout:has(.hr-record-good.selected) .inspector-status i{background:#edf5f0;border-color:#d3e4d9;color:var(--ajyal-success,#35664e)}
.hr-page .hr-layout:has(.hr-record-late.selected) .inspector-status i{background:#faeeeb;border-color:#edd4cf;color:var(--hr-danger)}
.hr-page .hr-inspector .inspector-facts{margin:0;padding:4px 15px 8px;border-bottom:1px solid var(--hr-line)}
.hr-page .hr-inspector .inspector-facts>div{display:grid;grid-template-columns:76px minmax(0,1fr);align-items:baseline;gap:8px;padding:8px 0;border-bottom:1px solid var(--ajyal-line-soft,#eff1f4)}
.hr-page .hr-inspector .inspector-facts>div:last-child{border:0}
.hr-page .hr-inspector dt{font-size:10px;font-weight:500;color:var(--hr-muted);line-height:1.75;overflow-wrap:anywhere}
.hr-page .hr-inspector dd{font-size:12px;line-height:1.8;margin:0;overflow-wrap:anywhere;color:#39475c}
.hr-page .hr-inspector #inspector-person,.hr-page .hr-inspector #inspector-owner{font-weight:650;color:var(--ajyal-ink,var(--ink))}
.hr-page .hr-inspector .hr-context-fact{grid-template-columns:1fr;gap:3px}
.hr-page .hr-inspector #inspector-context{font-size:11px;color:var(--hr-muted);line-height:1.85}
.hr-page .hr-inspector>section{padding:13px 15px;border-bottom:1px solid var(--hr-line)}
.hr-page .hr-inspector h3{font-size:11px;font-weight:700;line-height:1.7;margin:0 0 8px}
.hr-page .hr-inspector .next-action{margin:0;padding:10px 12px;background:var(--hr-warm);border-inline-start:3px solid var(--gold);border-radius:0 5px 5px 0;color:#594c34;font-size:12px;line-height:1.9;overflow-wrap:anywhere}
.hr-page .hr-inspector .mini-head{display:flex;align-items:baseline;justify-content:space-between;gap:8px}
.hr-page .hr-inspector .mini-head>span{font-size:10px;color:var(--hr-muted);font-variant-numeric:tabular-nums}
.hr-page .hr-inspector .file-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 0;border-color:var(--ajyal-line-soft,#edf0f4);font-size:11px;color:#46546a;line-height:1.7;overflow-wrap:anywhere}
.hr-page .hr-inspector .file-row>span{font-size:9px;flex-shrink:0;background:var(--ajyal-primary-soft,#f3f5f8);border:1px solid #e4e8ee;border-radius:3px;padding:2px 5px;color:var(--hr-muted)}
.hr-page .hr-inspector .inspector-activity p{position:relative;padding:7px 12px 7px 0;margin:0;border:0;border-inline-start:1px solid var(--ajyal-line-strong,#dfe5ed);font-size:11px;line-height:1.85;color:var(--hr-muted);overflow-wrap:anywhere}
.hr-page .hr-inspector .inspector-activity p::before{content:"";position:absolute;inset-inline-start:-3px;top:16px;width:5px;height:5px;border-radius:50%;background:#b4bfcd}
.hr-page .hr-inspector .inspector-activity strong{color:#46546a;font-size:11px;font-weight:600}
.hr-page .hr-inspector .inspector-activity small{display:block;font-size:10px;line-height:1.7;margin-top:2px;color:var(--hr-muted)}
.hr-page .hr-inspector .inspector-actions{position:sticky;bottom:0;z-index:3;display:grid;grid-template-columns:1.2fr 1fr;gap:7px;padding:12px 15px;background:var(--ajyal-surface,#fff);border-top:1px solid var(--hr-line);box-shadow:0 -5px 14px #18233a06}
.hr-page .hr-inspector .inspector-actions button{padding:7px 9px;min-height:38px;border:1px solid var(--ajyal-line-strong,#d8dfe8);border-radius:var(--ajyal-radius-button,6px);font-size:11px;font-weight:550;line-height:1.7;background:var(--ajyal-surface,#fff);white-space:normal}
.hr-page .hr-inspector .inspector-actions button:last-child{grid-column:1/-1;min-height:32px;border-color:transparent;color:#586b86}
.hr-page .command-dialog{border-radius:12px}
.hr-page .command-dialog .command-head{gap:8px;padding:12px 15px}
.hr-page .command-dialog .command-head input{width:100%;min-width:0;font-size:14px;line-height:1.7}
.hr-page .command-dialog .command-results{padding:10px}
.hr-page .command-dialog .command-results>p{font-size:11px;padding:3px 8px;color:var(--ajyal-muted,#616d7d)}
.hr-page .command-dialog .command-results button{min-height:65px;padding:11px 12px;border-radius:6px}
.hr-page .command-dialog .command-results strong{font-size:13px;line-height:1.7;font-weight:650}
.hr-page .command-dialog .command-results small{font-size:11px;line-height:1.7;color:var(--ajyal-muted,#616d7d)}
@media(hover:hover){.hr-page .hr-main button[data-record]:not(.selected):not([aria-current="true"]):hover{background:var(--ajyal-primary-soft,#f3f5f8)!important;box-shadow:inset -2px 0 0 #bfc9d6}.hr-page .hr-tabs>button:not(.active):hover{background:var(--ajyal-primary-soft,#edf0f5);color:var(--ajyal-ink,var(--ink))}}
@media(min-width:1101px) and (max-width:1279px){.hr-page .hr-main{padding-inline:18px}.hr-page .hr-layout{grid-template-columns:minmax(0,1fr) 278px;gap:16px}.hr-page .hr-two-col{grid-template-columns:1fr;gap:0}.hr-page .ops-data-head,.hr-page .ops-data-table>button{grid-template-columns:minmax(135px,1.6fr) minmax(96px,1.1fr) 58px 64px 54px;gap:8px;padding-inline:10px!important}.hr-page .hr-head .compact-metrics>span{min-width:60px;padding-inline:9px}.hr-page .hr-head h1{font-size:23px}}
@media(max-width:1100px){.hr-page .hr-layout{grid-template-columns:minmax(0,1fr);gap:0}.hr-page .hr-inspector.ns-inspector-surface{max-height:82dvh;padding-bottom:env(safe-area-inset-bottom)}.hr-page .hr-inspector .inspector-facts>div{grid-template-columns:100px minmax(0,1fr)}.hr-page .hr-inspector .hr-context-fact{grid-template-columns:1fr}.hr-page .hr-head{flex-wrap:wrap;gap:14px}.hr-page .hr-head .compact-metrics{margin-inline-start:auto}}
@media(min-width:701px) and (max-width:760px){.hr-page .ops-data-head{display:grid!important}}
@media(max-width:700px){.hr-page .hr-main{padding:16px 12px 24px}.hr-page .hr-head{display:block;padding-bottom:14px}.hr-page .hr-head h1{font-size:23px}.hr-page .hr-head>div>p:last-child{font-size:11px;line-height:1.8}.hr-page .hr-head .compact-metrics{width:100%;margin-top:14px}.hr-page .hr-head .compact-metrics>span{flex:1;min-width:0;font-size:10px;padding:3px 8px}.hr-page .hr-head .compact-metrics>span:first-child{border:0;padding-inline-start:0}.hr-page .hr-head .compact-metrics>span:nth-child(2){padding-inline:10px}.hr-page .hr-head .compact-metrics b{font-size:21px}.hr-page .hr-layout{margin-top:14px}.hr-page .hr-tabs{margin-bottom:16px}.hr-page .hr-tabs>button{min-height:44px;font-size:12px;padding-inline:11px}.hr-page .section-head{flex-wrap:wrap;align-items:center;gap:8px}.hr-page .filter-row{max-width:100%;overflow:auto}.hr-page .filter{min-height:38px}.hr-page .attention-row{grid-template-columns:8px minmax(0,1fr) 14px;gap:7px 10px;padding:12px 10px!important;min-height:84px}.hr-page .attention-row .row-main strong{font-size:13px}.hr-page .attention-row .row-meta{grid-column:2;display:flex;align-items:center;justify-content:space-between;gap:8px;text-align:start}.hr-page .attention-row .row-meta i{margin:0}.hr-page .attention-row .arrow{grid-column:3;grid-row:1/3}.hr-page .hr-two-col{grid-template-columns:1fr;gap:0}.hr-page .ops-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.hr-page .ops-strip>div{padding:10px 8px}.hr-page .ops-strip>div:nth-child(3){border:0}.hr-page .ops-strip>div:nth-child(n+4){border-top:1px solid var(--hr-line)}.hr-page .ops-strip span{font-size:10px}.hr-page .ops-strip small{font-size:10px;line-height:1.8}.hr-page .ops-strip strong{font-size:21px}.hr-page .pipeline{grid-template-columns:repeat(4,minmax(0,1fr))}.hr-page .inline-search{width:100%;min-height:44px}.hr-page .inline-search input{font-size:16px}.hr-page .ops-data-head{display:none}.hr-page .ops-data-table>button{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px 10px;padding:13px 12px!important}.hr-page .ops-data-table>button>span:first-child,.hr-page .ops-data-table>button>span:nth-child(2){grid-column:1/-1}.hr-page .ops-data-table>button>span:first-child{padding-bottom:3px}.hr-page .ops-data-table>button>span:nth-child(2){font-size:11px;margin-bottom:3px}.hr-page .ops-data-table>button>span:nth-child(2)::before{content:"القسم · ";color:var(--hr-muted);font-size:10px}.hr-page .ops-data-table>button>span:nth-child(3)::before{content:"الحالة";display:block;color:var(--hr-muted);font-size:10px;font-weight:400;margin-bottom:4px}.hr-page .ops-data-table>button>span:nth-child(4)::before{content:"الحضور";display:block;color:var(--hr-muted);font-size:10px;font-weight:400;margin-bottom:4px}.hr-page .ops-data-table>button>span:nth-child(5)::before{content:"العقد";display:block;color:var(--hr-muted);font-size:10px;font-weight:400;margin-bottom:4px}.hr-page .org-list button{grid-template-columns:minmax(0,1fr) auto;gap:5px 12px;padding:12px}.hr-page .org-list small{grid-column:1/-1;text-align:start}.hr-page .empty-operational{padding:18px 15px}.hr-page .hr-inspector .inspector-facts>div{grid-template-columns:88px minmax(0,1fr)!important}.hr-page .hr-inspector .hr-context-fact{grid-template-columns:1fr!important}.hr-page .hr-inspector .inspector-actions button{min-height:44px}.hr-page .command-dialog .command-head{padding:9px 10px}.hr-page .command-dialog .command-head input{font-size:16px;padding-inline:4px}}
@media print{.hr-page .workspace{margin:0}.hr-page .hr-main{padding:0;max-width:none}.hr-page .hr-head{break-inside:avoid}.hr-page .hr-layout{display:block;margin-top:12px}.hr-page .hr-tabs,.hr-page .filter-row,.hr-page .inline-search,.hr-page .text-btn{display:none!important}.hr-page .hr-core{width:100%}.hr-page .hr-two-col{display:block}.hr-page .attention-row,.hr-page .ops-data-table>button,.hr-page .dense-table>button,.hr-page .org-list button{break-inside:avoid}.hr-page .view-panel{animation:none!important;transform:none!important;opacity:1!important}.hr-page .ops-strip,.hr-page .pipeline{break-inside:avoid}.hr-page .hr-inspector{display:none!important}}

.hr-page .hr-organization-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap}
.hr-page .hr-organization-actions .text-btn{text-decoration:none}
.hr-page .hr-organization-actions [hidden]{display:none!important}
.hr-page .hr-template-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.hr-page .hr-template-grid .admin-card{min-height:170px}.hr-page .hr-template-grid h3{margin:0 0 8px;font-size:15px}.hr-page .hr-template-grid p{margin:0 0 10px;line-height:1.8}.hr-page .hr-organization-actions,.hr-page .hr-admin-links{display:flex;flex-wrap:wrap;gap:8px}.hr-page .hr-organization-actions [hidden]{display:none!important}@media(max-width:900px){.hr-page .hr-template-grid{grid-template-columns:1fr}}
/* Bounded HR admin operations */
.hr-crud-actions{display:flex;gap:6px;flex-wrap:wrap;align-items:center}
.hr-crud-actions button{border:1px solid var(--ajyal-line,var(--line));background:var(--ajyal-surface,#fff);border-radius:var(--ajyal-radius-button,8px);padding:8px 11px;cursor:pointer}
.hr-admin-dialog{border:0;padding:0;background:transparent;max-width:min(760px,calc(100vw - 24px));width:100%}
.hr-admin-dialog::backdrop{background:rgba(15,23,42,.45)}
.hr-admin-dialog .admin-card{margin:0;max-height:calc(100vh - 40px);overflow:auto;box-shadow:0 24px 70px rgba(15,23,42,.25)}
.hr-admin-dialog-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:14px}
.hr-admin-dialog-head h2{margin:2px 0 0}
.hr-admin-dialog-head>button{border:1px solid var(--ajyal-line,var(--line));background:var(--ajyal-surface,#fff);border-radius:var(--ajyal-radius-button,8px);width:36px;height:36px;cursor:pointer}
.hr-admin-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.hr-admin-fields label{display:grid;gap:5px;font-size:12px;color:var(--ajyal-muted,var(--muted))}
.hr-admin-fields input,.hr-admin-fields select,.hr-admin-fields textarea{width:100%;box-sizing:border-box;border:1px solid var(--ajyal-line,var(--line));background:var(--ajyal-surface,#fff);color:var(--ajyal-ink,var(--ink));border-radius:8px;padding:9px 10px;font:inherit}
.hr-admin-fields .hr-admin-wide{grid-column:1/-1}
.hr-admin-fields .hr-admin-check{display:flex;grid-column:1/-1;flex-direction:row;align-items:center}
.hr-admin-fields .hr-admin-check input{width:auto}
.hr-admin-result{min-height:22px;margin:12px 0 0;color:var(--ajyal-muted,var(--muted))}
@media(max-width:680px){.hr-admin-fields{grid-template-columns:1fr}.hr-admin-fields .hr-admin-wide{grid-column:auto}}
/* ROUND 3 — real HR operational cases */
.hr-case-list{display:grid;gap:.55rem;margin-top:.75rem}
.hr-case-row{display:grid;grid-template-columns:minmax(180px,1.5fr) .65fr .8fr 1fr auto;gap:.65rem;align-items:center;padding:.75rem;border:1px solid var(--ajyal-line-soft,#e7ecee);border-radius:10px;background:var(--ajyal-surface,#fff)}
.hr-case-row>div:first-child{display:grid;gap:.2rem}.hr-case-row small{color:var(--ajyal-muted,#74818a)}
.hr-case-row .row-actions{display:flex;gap:.35rem;flex-wrap:wrap}
.hr-case-row .row-actions button{padding:.35rem .55rem;border:1px solid var(--ajyal-line-strong,#d7e0e3);border-radius:var(--ajyal-radius-button,8px);background:var(--ajyal-surface,#fff);cursor:pointer}
.hr-admin-dialog{border:0;border-radius:14px;padding:0;box-shadow:0 24px 80px rgba(0,0,0,.22)}
.hr-admin-dialog::backdrop{background:rgba(15,24,28,.48)}
.hr-admin-dialog .admin-card{min-width:min(760px,92vw);max-height:86vh;overflow:auto;margin:0;padding:1.2rem}
.hr-admin-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}
.hr-admin-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;margin:1rem 0}
.hr-admin-fields label{display:grid;gap:.35rem;font-size:.82rem}.hr-admin-wide{grid-column:1/-1}
.hr-admin-fields input,.hr-admin-fields select,.hr-admin-fields textarea{padding:.6rem;border:1px solid var(--ajyal-line-strong,#d7e0e3);border-radius:8px;background:var(--ajyal-surface,#fff)}
.hr-admin-result{min-height:1.2rem;color:var(--ajyal-muted,#53636d)}.admin-actions{display:flex;gap:.5rem;justify-content:flex-end}
@media(max-width:900px){.hr-case-row{grid-template-columns:1fr 1fr}.hr-case-row .row-actions{grid-column:1/-1}.hr-admin-fields{grid-template-columns:1fr}.hr-admin-wide{grid-column:auto}}
