/* OROX HR V3 — scoped, compact attendance UI. No global component overrides. */
.hr-attendance-mobile,.hr-self-v3{min-width:0}
.hr-attendance-mobile .health-tile-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
.hr-attendance-mobile .health-tile{min-width:0;min-height:78px;padding:11px;border-radius:14px}
.hr-attendance-mobile .health-tile b{font-size:clamp(16px,1.4vw,22px)}
.hr-attendance-mobile .module-analytics-grid{margin:0}
.hr-attendance-mobile .section-stack{gap:10px}
.hr-attendance-manage-tip{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;
 padding:10px 12px;border:1px solid color-mix(in srgb,var(--blue) 30%,var(--line));border-radius:13px;
 background:color-mix(in srgb,var(--card) 87%,#427fff);font-size:12px;color:var(--text)}
.hr-v3-filters{display:flex;align-items:end;flex-wrap:wrap;gap:8px}
.hr-v3-filters>label{display:grid;gap:4px;min-width:145px;flex:1;font-size:11px;color:var(--muted)}
.hr-v3-filters input,.hr-v3-filters select{width:100%;min-width:0;margin:0}
.hr-v3-filters [data-attendance-field][hidden]{display:none}
.hr-v3-filters .btn{min-height:36px}
.hr-v3-extra-filters{width:100%;font-size:11px}
.hr-v3-extra-filters summary{color:var(--blue);cursor:pointer;display:inline-block;padding:5px}
.hr-v3-filter-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:7px 0}
.hr-v3-filter-choices label{display:grid;gap:5px;min-width:0;color:var(--muted)}
.hr-v3-filter-choices select{width:100%;min-width:0}
.hr-self-v3{display:grid;gap:11px;max-width:680px;margin:0 auto}
.hr-v3-person{display:flex;justify-content:space-between;gap:9px;align-items:center;padding:12px;
 border:1px solid color-mix(in srgb,var(--blue) 25%,var(--line));border-radius:16px;
 background:linear-gradient(130deg,color-mix(in srgb,var(--card) 88%,#166aef),var(--card))}
.hr-v3-person .person-identity{min-width:0}
.hr-v3-person .person-identity b{font-size:14px}
.hr-v3-person .badge{white-space:nowrap}
.hr-v3-action{position:relative;display:grid;justify-items:stretch;gap:9px;padding:16px;
 border:1px solid color-mix(in srgb,#1eccb0 35%,var(--line));border-radius:18px;
 background:linear-gradient(140deg,color-mix(in srgb,var(--card) 88%,#11a4a0),color-mix(in srgb,var(--card) 93%,#365eff));
 box-shadow:0 6px 24px #071b341a}
.hr-v3-pin{display:grid;place-items:center;justify-self:center;border-radius:50%;width:64px;height:64px;
 color:#d7fff0;border:7px solid #24c6ad22;background:linear-gradient(145deg,#20a88a,#046f74);box-shadow:0 0 0 7px #20c9aa13}
.hr-v3-pin .ui-icon{width:27px;height:27px}
.hr-v3-action-heading{text-align:center;font-size:14px}
.hr-v3-action .hr-v3-punch{display:flex;align-items:center;justify-content:center;gap:8px;border:0;
 width:100%;min-height:53px;font-weight:800;font-size:15px;border-radius:13px;color:white;
 background:linear-gradient(115deg,#7362fa,#228ef6);transition:transform 220ms ease,filter 220ms ease}
.hr-v3-action .hr-v3-punch:not(:disabled):active{transform:scale(.985)}
.hr-v3-action .hr-v3-punch:disabled{opacity:.7}
.hr-v3-location-status,.hr-v3-approved-site{display:flex;align-items:center;gap:9px;padding:8px 10px;
 border-radius:12px;background:color-mix(in srgb,var(--card) 82%,#16365b);color:var(--text);font-size:12px}
.hr-v3-location-status .ui-icon,.hr-v3-approved-site .ui-icon{width:19px;height:19px;flex:none;color:#2cd5aa}
.hr-v3-location-status[data-state="working"]{border:1px solid #27bdab99}
.hr-v3-location-status[data-state="error"]{border:1px solid #f166858c;color:#ff9aae;background:#822a4030}
.hr-v3-location-status[data-state="error"] .ui-icon{color:#ff738c}
.hr-v3-approved-site span{min-width:0;display:grid;gap:2px}
.hr-v3-approved-site small{font-size:11px;color:var(--muted);overflow-wrap:anywhere}
.hr-v3-location-warning{font-size:12px;color:#ffc56d;margin:0}
.hr-v3-location-retry{justify-self:start}
.hr-v3-location-retry[hidden]{display:none}
.hr-v3-today{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.hr-v3-today>div{display:grid;gap:4px;padding:12px;border:1px solid var(--line);border-radius:14px;
 background:color-mix(in srgb,var(--card) 92%,#275ce4)}
.hr-v3-today small{color:var(--muted);font-size:11px}
.hr-v3-today b{font-size:15px}
.hr-v3-privacy{font-size:11px;line-height:1.6;color:var(--muted);margin:0}
.hr-v3-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.hr-v3-actions .btn{min-width:0;white-space:normal}
.hr-v3-movement{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 11px;
 border-radius:12px;background:color-mix(in srgb,var(--card) 93%,#306ab8);border:1px solid var(--line)}
.hr-v3-movement+ .hr-v3-movement{margin-top:6px}
.hr-v3-movement>div{display:grid;gap:4px;min-width:0}
.hr-v3-movement b{font-size:12px}
.hr-v3-movement small{font-size:10px;color:var(--muted);overflow-wrap:anywhere}
.hr-v3-movement strong{font-size:11px;white-space:nowrap;font-variant-numeric:tabular-nums}
.hr-v3-site-row,.hr-v3-employee-policy{padding:11px;margin-bottom:9px;border:1px solid var(--line);
 border-radius:12px;background:color-mix(in srgb,var(--card) 92%,#3271e6)}
.hr-v3-site-row{gap:8px}
.hr-v3-assignment-head{gap:8px}
.hr-v3-site-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;margin-top:9px}
.hr-v3-site-choices[hidden],.hr-v3-site-choices [hidden]{display:none}
.hr-v3-site-choices label{display:flex;align-items:center;gap:6px;min-width:0;padding:7px;font-size:11px;
 border:1px solid var(--line);border-radius:9px;overflow-wrap:anywhere}
.hr-v3-site-choices input{flex:none}
@media(max-width:900px){.hr-attendance-mobile .health-tile-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){
 .hr-attendance-mobile .health-tile-grid{gap:6px}
 .hr-attendance-mobile .health-tile{padding:8px;min-height:62px}
 .hr-attendance-mobile .health-tile b{font-size:16px}
 .hr-v3-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
 .hr-v3-filters>label{min-width:0;font-size:10px}
 .hr-v3-filters>.btn{min-width:0}
 .hr-v3-extra-filters{grid-column:1/-1}
 .hr-v3-filter-choices{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
 .hr-attendance-mobile .section-content{min-width:0;overflow:visible}
 .hr-attendance-mobile .section-content table,.hr-attendance-mobile .section-content tbody{display:block;width:100%;min-width:0}
 .hr-attendance-mobile .section-content thead{display:none}
 .hr-attendance-mobile .section-content tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
   gap:5px;margin-bottom:8px;padding:8px;border:1px solid var(--line);border-radius:12px;
   background:color-mix(in srgb,var(--card) 95%,#2860ca)}
 .hr-attendance-mobile .section-content td{display:flex;flex-direction:column;gap:4px;min-width:0;
   font-size:11px;padding:5px;white-space:normal;overflow-wrap:anywhere;border:0}
 .hr-attendance-mobile .section-content td::before{content:attr(data-label);display:block;color:var(--muted);font-size:9px}
 .hr-attendance-mobile .section-content td:first-child,.hr-attendance-mobile .section-content td[data-label="مراجعة الشهر"],
 .hr-attendance-mobile .section-content td[data-label="إجراءات"]{grid-column:1/-1}
 .hr-v3-person{padding:10px}
 .hr-v3-person .person-identity b{font-size:12px}
 .hr-v3-action{padding:12px}
 .hr-v3-movement{flex-wrap:wrap}
 .hr-v3-site-choices{grid-template-columns:1fr}
 .hr-v3-employee-policy .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .hr-v3-site-row{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(prefers-reduced-motion:reduce){.hr-v3-action .hr-v3-punch{transition:none}}

/* V4 policy readiness: only attendance settings; retain existing cards and homepage. */
.hr-v4-readiness{display:grid;gap:9px;min-width:0;padding:11px 12px;border:1px solid var(--line);border-radius:13px;background:var(--card)}
.hr-v4-readiness>b{font-size:13px}
.hr-v4-readiness-summary{display:flex;gap:7px;flex-wrap:wrap}
.hr-v4-readiness-summary>span{display:flex;align-items:center;gap:5px;padding:7px 10px;border-radius:10px;background:color-mix(in srgb,var(--card) 88%,#277cdd);font-size:11px}
.hr-v4-readiness-summary b{font-size:15px;font-variant-numeric:tabular-nums}
.hr-v4-readiness-list{display:grid;gap:6px;max-height:225px;overflow-y:auto;min-width:0}
.hr-v4-readiness-row{display:grid;gap:3px;min-width:0;padding:8px 10px;border:1px solid var(--line);border-radius:10px}
.hr-v4-readiness-row b{font-size:11px;overflow-wrap:anywhere}
.hr-v4-readiness-row small{font-size:11px;color:var(--muted);overflow-wrap:anywhere;line-height:1.5}
.hr-v4-readiness>.muted{font-size:10px;line-height:1.5}
@media(max-width:680px){.hr-v4-readiness{padding:9px}.hr-v4-readiness-list{max-height:180px}}


/* V5: three short, non-destructive setup steps. Existing homepage/card styles remain unchanged. */
.hr-v5-setup{display:grid;gap:13px;min-width:0;max-width:720px;margin-inline:auto}
.hr-v5-setup [hidden],.hr-v5-setup [data-hr-v5-step][hidden]{display:none!important}
.hr-v5-setup>section{display:grid;gap:12px;min-width:0;animation:hr-v5-enter 200ms ease-out both}
.hr-v5-setup>section>h3{margin:0;font-size:17px;color:var(--text)}
.hr-v5-setup .muted{margin:0;font-size:11px;line-height:1.6}
.hr-v5-setup .form-field{min-width:0}
.hr-v5-setup .form-field input,.hr-v5-setup .form-field select{max-width:100%;min-width:0}
.hr-v5-stepper{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.hr-v5-stepper span{display:flex;align-items:center;gap:6px;min-width:0;padding:9px 7px;border:1px solid var(--line);
 border-radius:12px;color:var(--muted);font-size:11px;line-height:1.35}
.hr-v5-stepper span b{display:grid;place-items:center;width:24px;height:24px;flex:none;border-radius:50%;
 background:color-mix(in srgb,var(--blue) 14%,var(--card));color:var(--blue);font-size:12px}
.hr-v5-stepper [data-state="current"]{background:color-mix(in srgb,var(--blue) 8%,var(--card));
 border-color:color-mix(in srgb,var(--blue) 45%,var(--line));font-weight:700;color:var(--text)}
.hr-v5-stepper [data-state="completed"] b{background:#198864;color:#fff}
.hr-v5-site-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:0 0 9px;padding:12px}
.hr-v5-site-row[hidden]{display:none}
.hr-v5-site-heading{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}
.hr-v5-site-heading b{font-size:13px}
.hr-v5-site-coordinates{grid-column:1/-1;color:var(--muted);font-size:11px;min-height:16px}
.hr-v5-site-coordinates a{color:var(--blue)}
.hr-v5-site-advanced{grid-column:1/-1;min-width:0}
.hr-v5-site-advanced summary,.hr-v5-setup-advanced summary{cursor:pointer;color:var(--blue);font-size:12px;font-weight:600;padding:8px 0}
.hr-v5-site-advanced>.form-grid,.hr-v5-site-advanced .form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.hr-v5-site-actions{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:7px}
.hr-v5-site-actions .btn{min-height:34px;white-space:normal}
.hr-v5-site-status{grid-column:1/-1;display:block;overflow-wrap:anywhere;color:var(--muted);font-size:11px}
.hr-v5-setup-advanced{padding:8px 11px;border:1px dashed var(--line);border-radius:12px;min-width:0}
.hr-v5-setup-advanced>.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.hr-v5-setup-advanced .section-stack{gap:8px}
.hr-v5-staff-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px}
.hr-v5-staff-list{display:grid;gap:7px;max-height:320px;overflow-y:auto;min-width:0}
.hr-v5-staff-row{display:flex;align-items:center;gap:9px;padding:9px 10px;border:1px solid var(--line);
 background:var(--card);border-radius:12px;min-width:0}
.hr-v5-staff-row[hidden]{display:none}
.hr-v5-staff-label{display:flex;align-items:center;gap:9px;flex:1;min-width:0;cursor:pointer}
.hr-v5-staff-label>input{width:17px;height:17px;flex:none;accent-color:var(--blue)}
.hr-v5-staff-label>span{display:grid;gap:3px;flex:1;min-width:0;overflow-wrap:anywhere}
.hr-v5-staff-row>[hidden],.hr-v5-staff-row[hidden]{display:none!important}
.hr-v5-overview [data-hr-v5-person-row][hidden]{display:none!important}
.hr-v5-staff-row b{font-size:12px}
.hr-v5-staff-row small{font-size:10px;color:var(--muted)}
.hr-v5-staff-row .badge{font-size:10px;white-space:normal;line-height:1.3;text-align:center}
.hr-v5-staff-row .btn{flex:none;font-size:11px}
.hr-v5-review-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.hr-v5-review-grid>div{display:grid;gap:5px;min-width:0;padding:11px;background:color-mix(in srgb,var(--card) 90%,#256cce);
 border:1px solid var(--line);border-radius:12px}
.hr-v5-review-grid small{font-size:11px;color:var(--muted)}
.hr-v5-review-grid b{font-size:14px;overflow-wrap:anywhere}
.hr-v5-review-alert{margin-top:10px;border:1px solid #cb8b3799;border-radius:12px;padding:10px;font-size:11px}
.hr-v5-review-alert p{margin:6px 0 0;line-height:1.45}
.hr-v5-setup-footer{display:grid;gap:8px;position:sticky;bottom:0;background:var(--card);padding:10px 0 0;
 border-top:1px solid var(--line);z-index:1}
.hr-v5-setup-footer>[role="alert"]{font-size:11px;color:var(--danger,#d14d5c);margin:0;line-height:1.5;overflow-wrap:anywhere}
.hr-v5-setup-footer .action-row{display:flex;gap:8px;justify-content:flex-end}
.hr-v5-setup-footer .btn{min-height:38px}
.hr-v3-location-status[data-state="working"]{animation:hr-v5-pulse 1.15s ease-in-out infinite}
.hr-v3-location-status[data-state="success"]{background:color-mix(in srgb,#179e6a 16%,var(--card));border:1px solid #179e6a}
@keyframes hr-v5-enter{from{opacity:.55;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@keyframes hr-v5-pulse{50%{opacity:.64}}
@media(max-width:680px){
 .hr-v5-setup{gap:9px}
 .hr-v5-stepper span{padding:7px 5px;gap:4px;font-size:10px}
 .hr-v5-stepper span b{width:21px;height:21px}
 .hr-v5-site-row{gap:6px;padding:9px}
 .hr-v5-staff-list{max-height:260px}
 .hr-v5-staff-row{gap:6px;padding:8px 7px;flex-wrap:wrap}
 .hr-v5-staff-row .badge{max-width:42%}
 .hr-v5-setup-advanced{padding:7px}
 .hr-v5-setup-advanced>.form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .hr-v5-site-actions .btn{flex:1;min-width:0}
}
@media(prefers-reduced-motion:reduce){
 .hr-v5-setup>section,.hr-v3-location-status[data-state="working"]{animation:none}
}

/* V6: scoped work-arrangement controls; existing attendance card and desktop layout stay intact. */
.hr-v6-work{display:grid;gap:10px;min-width:0;margin:6px 0 10px;padding:12px;border:1px solid var(--line);
  border-radius:14px;background:color-mix(in srgb,var(--card) 94%,#2b71d9)}
.hr-v6-work [hidden],.hr-v6-work-editor [hidden],.hr-v6-site-choice[hidden]{display:none!important}
.hr-v6-work .form-field,.hr-v6-work-editor .form-field{min-width:0}
.hr-v6-work select,.hr-v6-work-editor select{width:100%;max-width:100%;min-width:0}
.hr-v6-work-editor,.hr-v6-field-start,.hr-v6-sites-panel{display:grid;gap:8px;min-width:0}
.hr-v6-work-editor{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
.hr-v6-work-editor [data-hr-v6-field-policy]{grid-column:1/-1}
.hr-v6-site-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;max-height:180px;
  overflow-y:auto;min-width:0}
.hr-v6-site-choice{display:flex;align-items:center;gap:7px;padding:8px;border-radius:10px;
  border:1px solid var(--line);font-size:11px;min-width:0;overflow-wrap:anywhere}
.hr-v6-site-choice input,.hr-v6-any-confirm input{width:17px;height:17px;flex:none;accent-color:var(--blue)}
.hr-v6-site-choice span{min-width:0}
.hr-v6-any-confirm{display:flex;align-items:flex-start;gap:8px;font-size:11px;line-height:1.5;
  padding:9px;border-radius:10px;background:color-mix(in srgb,var(--card) 83%,#ffa737);
  border:1px solid color-mix(in srgb,#d39f55 40%,var(--line))}
.hr-v6-work>.muted{font-size:11px;line-height:1.5}
.hr-v6-work .form-field{max-width:100%}
@media(max-width:680px){
  .hr-v6-work{gap:7px;padding:9px}
  .hr-v6-site-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}
  .hr-v6-work-editor{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  .hr-v6-work .form-field label,.hr-v6-site-choice,.hr-v6-any-confirm{font-size:10px}
}

/* V7: attendance-only premium manager dashboard; all sections are visible. */
.hr-v7-overview,.hr-v7-overview *{box-sizing:border-box}
.hr-v7-overview{display:grid;gap:12px;min-width:0;margin-bottom:12px}
.hr-v7-metrics{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px;min-width:0}
.hr-v7-metric{--v7-accent:#359be9;display:flex;gap:11px;align-items:flex-start;min-width:0;min-height:102px;
  padding:13px 11px;border:1px solid color-mix(in srgb,var(--v7-accent) 36%,var(--line));border-radius:14px;
  background:linear-gradient(140deg,color-mix(in srgb,var(--card) 83%,var(--v7-accent)),var(--card));
  box-shadow:0 5px 17px #001b2d13}
.hr-v7-tone-green{--v7-accent:#00cfa3}.hr-v7-tone-cyan{--v7-accent:#16c7ed}
.hr-v7-tone-amber{--v7-accent:#f2a43c}.hr-v7-tone-red{--v7-accent:#f05270}
.hr-v7-tone-purple{--v7-accent:#ae65ea}.hr-v7-tone-gold{--v7-accent:#e6bd55}
.hr-v7-metric-icon{display:grid;place-items:center;flex:none;width:37px;height:37px;border-radius:11px;
  background:color-mix(in srgb,var(--v7-accent) 23%,var(--card));color:var(--v7-accent)}
.hr-v7-metric-icon .ui-icon{width:22px;height:22px}
.hr-v7-metric-text{display:grid;align-content:start;gap:3px;min-width:0}
.hr-v7-metric-text small{font-size:11px;color:var(--text);font-weight:700;line-height:1.3}
.hr-v7-metric-text strong{font-size:clamp(19px,2vw,29px);font-variant-numeric:tabular-nums;line-height:1.12;color:var(--text)}
.hr-v7-metric-text>span{font-size:10px;color:var(--muted);line-height:1.45;overflow-wrap:anywhere}
.hr-v7-workspace{display:grid;grid-template-columns:minmax(205px,.85fr) minmax(290px,1.4fr) minmax(215px,1fr);
  gap:10px;align-items:stretch;min-width:0}
.hr-v7-card{display:grid;align-content:start;gap:12px;min-width:0;padding:14px;
  border:1px solid color-mix(in srgb,var(--blue) 23%,var(--line));border-radius:15px;
  background:linear-gradient(145deg,color-mix(in srgb,var(--card) 94%,#1667a8),var(--card));
  box-shadow:0 5px 17px #001b2d12}
.hr-v7-card-head{display:flex;align-items:flex-start;gap:9px;min-width:0}
.hr-v7-head-icon{display:grid;place-items:center;flex:none;width:33px;height:33px;border-radius:10px;
  background:color-mix(in srgb,var(--blue) 18%,var(--card));color:var(--blue)}
.hr-v7-head-icon .ui-icon{width:20px;height:20px}
.hr-v7-card-head>div{min-width:0}
.hr-v7-card-head h3{font-size:13px;margin:0 0 3px;font-weight:800;line-height:1.35;color:var(--text)}
.hr-v7-card-head p{font-size:10px;line-height:1.6;color:var(--muted);margin:0}
.hr-v7-explainer{font-size:12px;line-height:1.8;margin:0;color:var(--text)}
.hr-v7-mobile-card{border-color:color-mix(in srgb,#08b5c2 38%,var(--line))}
.hr-v7-mobile-status{display:flex;align-items:center;justify-content:space-between;gap:9px;
  padding:12px;border-radius:12px;border:1px solid color-mix(in srgb,#06c19d 25%,var(--line));
  background:color-mix(in srgb,#05ac93 9%,var(--card));font-size:12px}
.hr-v7-mobile-status b{font-size:21px;white-space:nowrap;font-variant-numeric:tabular-nums;color:#12c99f}
.hr-v7-mobile-actions{display:grid;gap:7px}
.hr-v7-mobile-actions .btn{min-width:0;white-space:normal;justify-content:center}
.hr-v7-mobile-actions [data-hr-self-open]{background:linear-gradient(125deg,#0dcbac,#018f9e);border:0;color:#fff;
  min-height:43px;font-weight:800}
.hr-v7-map-card{border-color:color-mix(in srgb,#19a1f3 42%,var(--line))}
.hr-v7-location-list{display:grid;gap:7px;align-content:start;min-width:0}
.hr-v7-location{display:flex;align-items:center;gap:8px;min-width:0;padding:10px;
  border-radius:11px;border:1px solid var(--line);color:var(--text);
  background:color-mix(in srgb,var(--card) 94%,#248dca);text-decoration:none}
.hr-v7-location:hover,.hr-v7-location:focus-visible{border-color:var(--blue);background:color-mix(in srgb,var(--card) 83%,#228aca)}
.hr-v7-location-pin{flex:none;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;
  color:#13d6af;background:color-mix(in srgb,#0aa998 22%,var(--card))}
.hr-v7-location-out .hr-v7-location-pin{color:#f1a948;background:color-mix(in srgb,#f1a948 16%,var(--card))}
.hr-v7-location-site .hr-v7-location-pin{color:#499dfa;background:color-mix(in srgb,#499dfa 16%,var(--card))}
.hr-v7-location-pin .ui-icon{width:17px;height:17px}
.hr-v7-location-copy{flex:1;min-width:0;display:grid;gap:3px}
.hr-v7-location-copy b{font-size:12px;overflow-wrap:anywhere}
.hr-v7-location-copy small{font-size:10px;color:var(--muted);overflow-wrap:anywhere}
.hr-v7-location-link{font-size:10px;color:var(--blue);white-space:nowrap}
.hr-v7-card-footnote{font-size:10px;color:var(--muted);line-height:1.6}
.hr-v7-branch-list{display:grid;gap:7px}
.hr-v7-branch{width:100%;display:grid;gap:7px;padding:10px;text-align:start;
  background:color-mix(in srgb,var(--card) 93%,#1c6fbd);border:1px solid var(--line);
  border-radius:11px;color:var(--text);cursor:pointer}
.hr-v7-branch:hover,.hr-v7-branch:focus-visible{border-color:var(--blue);outline-offset:2px}
.hr-v7-branch-name{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:12px}
.hr-v7-branch-name strong{font-size:12px;white-space:nowrap;font-variant-numeric:tabular-nums}
.hr-v7-branch-progress{height:8px;display:block;overflow:hidden;border-radius:40px;background:color-mix(in srgb,var(--blue) 14%,var(--card))}
.hr-v7-branch-progress i{display:block;height:100%;border-radius:40px;transition:width 240ms ease}
.hr-v7-progress-high{background:#00ca9e}.hr-v7-progress-mid{background:#f4b33e}
.hr-v7-progress-low{background:#ed6378}.hr-v7-progress-neutral{background:#8796a8}
.hr-v7-branch-foot{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;font-size:10px;color:var(--muted)}
.hr-v7-branch-foot b{margin-inline-start:auto;color:var(--text);font-size:12px}
.hr-v7-charts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.hr-v7-chart-card{min-width:0}
.hr-v7-distribution{display:flex;justify-content:center;align-items:center;gap:20px;min-width:0}
.hr-v7-ring{display:grid;place-items:center;flex:none;width:156px;height:156px;border-radius:50%;background:var(--line)}
.hr-v7-ring>div{width:111px;height:111px;display:grid;align-content:center;justify-items:center;gap:4px;border-radius:50%;
  background:var(--card);color:var(--text)}
.hr-v7-ring strong{font-size:25px;line-height:1.1;font-variant-numeric:tabular-nums}
.hr-v7-ring small{font-size:10px;color:var(--muted)}
.hr-v7-legend{display:grid;gap:8px;min-width:0;flex:1}
.hr-v7-legend-row{display:flex;align-items:center;gap:8px;font-size:11px;min-width:0}
.hr-v7-legend-row i{flex:none;width:10px;height:10px;border-radius:50%}
.hr-v7-legend-row span{flex:1;min-width:0}
.hr-v7-legend-row b{font-variant-numeric:tabular-nums}
.hr-v7-dot-present{background:#00cea4}.hr-v7-dot-late{background:#ffb637}
.hr-v7-dot-absent{background:#f35b75}.hr-v7-dot-leave{background:#629ef3}.hr-v7-dot-rest{background:#5f6b84}
.hr-v7-trend{min-width:0;display:flex;align-items:flex-end;gap:5px;height:190px;overflow:visible}
.hr-v7-trend-day{flex:1;min-width:0;height:100%;display:flex;align-items:center;justify-content:flex-end;
  flex-direction:column;gap:5px;font-size:10px;font-variant-numeric:tabular-nums}
.hr-v7-trend-day>span{font-size:9px;white-space:nowrap}
.hr-v7-trend-track{position:relative;flex:1;width:100%;max-width:40px;background:color-mix(in srgb,var(--blue) 10%,var(--card));
  border-radius:6px 6px 1px 1px;overflow:hidden}
.hr-v7-trend-track i{position:absolute;inset-inline:0;bottom:0;display:block;
  background:linear-gradient(0deg,#127eea,#14cbdf);border-radius:5px 5px 0 0}
.hr-v7-trend-day small{font-size:9px;min-width:0;white-space:nowrap;color:var(--muted)}
.hr-v7-empty{font-size:12px;line-height:1.6;padding:20px 12px;color:var(--muted);text-align:center;
  border:1px dashed var(--line);border-radius:11px}
.hr-v7-pending-note{font-size:11px;color:var(--muted);margin:0}
.hr-v7-pending-note b{color:var(--text)}
.hr-v7-detailed-reports{display:grid;gap:12px;min-width:0}
.hr-v7-detailed-reports>.module-summary-block{min-width:0}
.hr-v7-detailed-reports .section-card{min-width:0}
.hr-v7-detailed-reports .section-content{min-width:0}
#dashboardHeroActions .hr-v7-home-punch{background:linear-gradient(120deg,#f6cd66,#e6a93c);color:#342208;
  border:1px solid #dbac49;box-shadow:0 4px 16px #bf8b3840;font-weight:800}
#dashboardHeroActions .hr-v7-home-punch:hover{filter:brightness(1.055);transform:translateY(-1px)}
#dashboardHeroActions .hr-v7-home-punch:focus-visible{outline:3px solid #eda83d;outline-offset:2px}
#dashboardHeroActions .hr-v7-home-punch .ui-icon{width:20px;height:20px}
@media(max-width:1320px){
 .hr-v7-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}
 .hr-v7-workspace{grid-template-columns:repeat(2,minmax(0,1fr))}
 .hr-v7-map-card{grid-column:span 1}
 .hr-v7-branches-card{grid-column:1/-1}
}
@media(max-width:800px){
 .hr-v7-workspace{grid-template-columns:1fr}
 .hr-v7-charts{grid-template-columns:1fr}
 .hr-v7-distribution{justify-content:flex-start}
}
@media(max-width:680px){
 .hr-v7-overview{gap:9px}
 .hr-v7-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
 .hr-v7-metric{gap:7px;padding:9px;min-height:85px}
 .hr-v7-metric-icon{width:28px;height:28px;border-radius:9px}
 .hr-v7-metric-icon .ui-icon{width:18px;height:18px}
 .hr-v7-metric-text small{font-size:10px}
 .hr-v7-metric-text strong{font-size:21px}
 .hr-v7-metric-text>span{font-size:9px}
 .hr-v7-card{padding:10px;gap:9px}
 .hr-v7-distribution{gap:12px}
 .hr-v7-ring{width:116px;height:116px}
 .hr-v7-ring>div{width:81px;height:81px}
 .hr-v7-ring strong{font-size:19px}
 .hr-v7-trend{height:150px;gap:3px}
 .hr-v7-location{padding:8px}
 .hr-v7-mobile-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
 .hr-v7-mobile-actions [data-hr-self-open]{grid-column:1/-1}
 .hr-v7-branch-foot{gap:5px 8px}
}
@media(prefers-reduced-motion:reduce){
 .hr-v7-branch-progress i,#dashboardHeroActions .hr-v7-home-punch{transition:none;transform:none}
}


/* V7 closeout: refined attendance toolbar and direct manual action; scoped to HR only. */
#moduleView:has(.hr-v7-overview)>.hero{
  align-items:center;gap:12px;margin-block-end:10px;padding-block-end:12px;
  border-block-end:1px solid color-mix(in srgb,var(--blue) 17%,var(--line))
}
#moduleView:has(.hr-v7-overview)>.hero h2{font-size:clamp(20px,2.2vw,27px);font-weight:900;line-height:1.3}
#moduleView:has(.hr-v7-overview)>.hero p{font-size:12px;line-height:1.6}
#moduleView:has(.hr-v7-overview)>.hero .quick{gap:7px;align-items:center}
#moduleView:has(.hr-v7-overview)>.hero .quick .btn{
  display:inline-flex;gap:6px;align-items:center;justify-content:center;
  min-height:36px;padding:8px 11px;white-space:normal;line-height:1.3;font-size:11px
}
#moduleView:has(.hr-v7-overview)>.hero .quick .hr-v7-top-manual{
  color:#fff;border-color:#1689fa;background:linear-gradient(115deg,#126eea,#258fff);
  box-shadow:0 6px 18px #166fd633;font-size:12px
}
#moduleView:has(.hr-v7-overview)>.hero .quick .hr-v7-top-manual:hover{filter:brightness(1.06)}
#moduleView:has(.hr-v7-overview)>#moduleFilters{
  margin-bottom:12px;min-width:0;padding:10px;border:1px solid var(--line);
  border-radius:14px;background:color-mix(in srgb,var(--card) 96%,#1675c4)
}
#moduleView:has(.hr-v7-overview)>#moduleFilters .hr-v3-filters{align-items:end;width:100%;gap:8px}
#moduleView:has(.hr-v7-overview)>#moduleFilters .hr-v3-filters>label{
  min-width:115px;max-width:240px;flex:1 1 126px;font-size:11px
}
#moduleView:has(.hr-v7-overview)>#moduleFilters .hr-v3-filters>label:has(#hrV5EmployeeSearch){flex:1.3 1 180px}
#moduleView:has(.hr-v7-overview)>#moduleFilters .hr-v3-filters input,
#moduleView:has(.hr-v7-overview)>#moduleFilters .hr-v3-filters select{
  min-width:0;max-width:100%;min-height:36px;border-radius:9px
}
#moduleView:has(.hr-v7-overview)>#moduleFilters .hr-v3-extra-filters{
  width:auto;min-width:230px;flex:2 1 265px;display:grid;gap:4px
}
#moduleView:has(.hr-v7-overview)>#moduleFilters .hr-v3-filter-label{
  display:block;font-size:11px;color:var(--muted)
}
#moduleView:has(.hr-v7-overview)>#moduleFilters .hr-v3-filter-choices{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:0
}
#moduleView:has(.hr-v7-overview)>#moduleFilters .hr-v3-filter-choices>label{
  min-width:0;display:grid;gap:4px;color:var(--muted);font-size:10px
}
#moduleView:has(.hr-v7-overview)>.panel{
  min-width:0;max-width:100%;padding:0;overflow:visible;border:0;
  background:transparent;box-shadow:none
}
#moduleView:has(.hr-v7-overview) #moduleContent{
  min-width:0;max-width:100%;min-height:0;padding:0;overflow:visible
}
#moduleView:has(.hr-v7-overview) .hr-v7-overview,
#moduleView:has(.hr-v7-overview) .hr-v7-detailed-reports{min-width:0}
#moduleView:has(.hr-v7-overview) .hr-v7-detailed-reports .section-stack{gap:10px}
.hr-v7-manual-shortcut{
  border:1px solid color-mix(in srgb,#10bba5 47%,var(--line));
  color:var(--text);background:color-mix(in srgb,#13c7a8 12%,var(--card))
}
.hr-v7-manual-dialog{display:grid;gap:13px;max-width:540px;min-width:0;margin-inline:auto}
.hr-v7-manual-explainer{font-size:12px;line-height:1.85;margin:0;color:var(--text)}
.hr-v7-manual-field{display:grid;gap:7px;min-width:0;font-size:12px;color:var(--muted);font-weight:700}
.hr-v7-manual-field select{
  min-width:0;max-width:100%;width:100%;min-height:44px;padding:10px;
  color:var(--text);background:var(--card);border:1px solid var(--line);border-radius:11px;
  font:inherit;font-size:13px
}
.hr-v7-manual-field select:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.hr-v7-manual-state{
  padding:10px 12px;border-radius:11px;border:1px solid color-mix(in srgb,#21bda8 20%,var(--line));
  background:color-mix(in srgb,var(--card) 87%,#12a88e);color:var(--text);
  font-size:12px;line-height:1.65
}
.hr-v7-manual-feedback{padding:10px 12px;border:1px solid #d4526b88;border-radius:11px;
  background:color-mix(in srgb,#dc3b5b 11%,var(--card));color:var(--text);font-size:12px;line-height:1.7}
.hr-v7-manual-feedback[hidden]{display:none!important}
.hr-v7-manual-submit{width:100%;min-height:46px;border-radius:11px;font-size:13px}
.hr-v7-manual-submit:disabled{opacity:.62;cursor:not-allowed}
@media(max-width:900px){
 #moduleView:has(.hr-v7-overview)>.hero{align-items:stretch;flex-direction:column}
 #moduleView:has(.hr-v7-overview)>.hero .quick{justify-content:flex-start}
 #moduleView:has(.hr-v7-overview)>#moduleFilters .hr-v3-filters>label{max-width:none}
}
@media(max-width:680px){
 #moduleView:has(.hr-v7-overview)>.hero{gap:8px;margin-bottom:8px;padding-bottom:9px}
 #moduleView:has(.hr-v7-overview)>.hero h2{font-size:20px}
 #moduleView:has(.hr-v7-overview)>.hero p{font-size:11px}
 #moduleView:has(.hr-v7-overview)>.hero .quick{
   display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;width:100%
 }
 #moduleView:has(.hr-v7-overview)>.hero .quick>.btn{
   width:100%;min-width:0;min-height:36px;padding:7px 6px;font-size:10px
 }
 #moduleView:has(.hr-v7-overview)>.hero .quick .hr-v7-top-manual{
   grid-column:1/-1;min-height:42px;font-size:12px
 }
 #moduleView:has(.hr-v7-overview)>#moduleFilters{padding:8px;margin-bottom:8px}
 #moduleView:has(.hr-v7-overview)>#moduleFilters .hr-v3-filters{
   display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px
 }
 #moduleView:has(.hr-v7-overview)>#moduleFilters .hr-v3-filters>label{
   min-width:0;max-width:none;width:100%;font-size:10px
 }
 #moduleView:has(.hr-v7-overview)>#moduleFilters .hr-v3-filters>label:has(#hrV5EmployeeSearch){grid-column:1/-1}
 #moduleView:has(.hr-v7-overview)>#moduleFilters .hr-v3-filters>[data-attendance-load]{width:100%}
 #moduleView:has(.hr-v7-overview)>#moduleFilters .hr-v3-extra-filters{
   grid-column:1/-1;min-width:0;width:100%;gap:5px
 }
 #moduleView:has(.hr-v7-overview)>#moduleFilters .hr-v3-filter-choices{
   grid-template-columns:repeat(2,minmax(0,1fr));gap:6px
 }
 .hr-v7-manual-dialog{gap:9px}
 .hr-v7-manual-explainer{font-size:11px}
 .hr-v7-manual-state{font-size:11px;padding:9px}
}
