/* ASPI HR BASE: full logo, uninterrupted surfaces and desktop overview. */
[hidden] { display: none !important; }
.logo { text-decoration: none; display: flex; flex-wrap: nowrap; align-items: center; gap: 12px; padding: 0 5px 22px; }
.logo-img, .lg-logo { object-fit: contain; filter: grayscale(1) invert(1) brightness(3); mix-blend-mode: screen; opacity: 1; background: transparent; border: 0; }
.logo-img { width: 70px; height: 70px; flex: none; }
.logo-type { white-space: nowrap; font-size: 18px; line-height: 1.4; letter-spacing: -.025em; }
.logo-type em { color: #f4f5ee; font-weight: 500; }
.logo-type small { display: block; margin-top: 5px; font-size: 11px; color: #b9beb1; font-weight: 500; letter-spacing: .08em; }
.side-foot { display: grid; grid-template-columns: 1fr auto; gap: 5px 12px; padding: 18px 12px 0; border-top: 1px solid #42473c; }
.side-foot #me-name { color: #f0f2e9; font-size: 14px; font-weight: 600; grid-column: 1 / -1; }
.side-foot #scope-badge { color: #b9beb1; align-self: center; }
.side-foot #btn-logout { color: #b9beb1; padding: 0; border: 0; min-height: 30px; background: transparent; }
.view-title-line { display: flex; align-items: baseline; gap: 14px; }
#view-meta { color: var(--sub); font-size: 14px; white-space: nowrap; }
#view-actions, #view-actions .tb-act { display: flex; gap: 9px; flex-wrap: wrap; }
.viewer { align-items: center; gap: 16px; }
#global-search { gap: 10px; display: inline-flex; align-items: center; min-height: 36px; border: 1px solid var(--line2); padding: 7px 10px; }
#global-search kbd { color: var(--sub); font: inherit; font-size: 12px; }
.person-name, .store-name { cursor: pointer; font: inherit; border: 0; background: transparent; color: var(--txt); padding: 0; text-align: left; font-weight: 700; }
.person-name { font-size: 15px; line-height: 1.6; letter-spacing: -.045em; }
.person-name:hover, .store-name:hover { text-decoration: underline; text-underline-offset: 4px; }
.store-moves { display: block; }
#people-table .chips .chip { white-space: normal; overflow-wrap: anywhere; align-items: baseline; }
#people-table table { min-width: 1150px; }
#people-table col:nth-child(1) { width: 144px !important; }
#people-table col:nth-child(2) { width: 170px !important; }
#people-table col:nth-child(3) { width: 240px !important; }
#people-table col:nth-child(4) { width: 132px !important; }
#people-table col:nth-child(5) { width: 112px !important; }
#people-table col:nth-child(6) { width: 98px !important; }
#people-table col:nth-child(7) { width: auto; }
#people-table col:nth-child(8) { width: 64px; }
#people-table tbody tr { background: var(--surface); }
#people-table tbody tr.t-un { background: var(--attention); }
#people-table tbody tr.t-off { background: #f5f6f2; }
#people-table tbody tr:hover, #people-table tbody tr:focus-within { background: var(--hover); }
#people-table tbody tr.t-un:hover, #people-table tbody tr.t-un:focus-within { background: var(--attention-hover); }
#people-table tr > :first-child { position: sticky; left: 0; z-index: 1; background: inherit; }
#people-table thead { background: var(--table-head); }
#people-table thead th:first-child { z-index: 3; background: var(--table-head); }
#people-table td:nth-child(6) { white-space: nowrap; overflow-wrap: normal; }
#people-table .person-name { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#people-table td { overflow-wrap: anywhere; }
.store-card-body dt { font-size: 12px; color: var(--sub); }
.store-card-body dd { margin: 7px 0 0; font-size: 15px; font-weight: 600; }
.store-card-foot > span { display: flex; align-items: center; gap: 8px; }
.summary-head { padding: 16px 0 24px; border-bottom: 1px solid var(--line); }
.summary-head h2 { margin: 10px 0 8px; font-size: 25px; letter-spacing: -.045em; }
.summary-head p { margin-bottom: 18px; color: var(--sub); font-size: 15px; }
.summary-row { display: grid; grid-template-columns: 94px minmax(0, 1fr); gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.summary-row dt { color: var(--sub); font-size: 12px; }
.summary-row dd { margin: 0; font-size: 14px; overflow-wrap: anywhere; }
.summary-plans { display: flex; flex-direction: column; gap: 10px; }
.summary-members { display: flex; flex-wrap: wrap; gap: 12px 20px; }
.summary-actions { margin-top: 30px; display: flex; gap: 10px; justify-content: space-between; flex-wrap: wrap; }
.home-columns { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, 1fr); gap: 42px; }
.home-primary, .home-secondary { min-width: 0; }
.home-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 0 0 18px; min-height: 30px; }
.home-section-heading h2 { font-size: 17px; }
.home-primary > .hm-grid { grid-template-columns: 1fr; margin-bottom: 38px; }
.home-primary .hm-grid .hm-card { min-height: 62px; padding: 14px 18px; background: var(--attention); grid-template-columns: 20px minmax(0, 1fr) auto 8px; gap: 14px; }
.home-primary .hm-card::after { content: ""; width: 6px; height: 6px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); color: var(--sub); grid-column: 4; grid-row: 1; }
.home-primary .hm-card:hover { background: var(--attention-hover); }
.home-primary .hm-card .hm-n { font-size: 24px; min-width: 2ch; text-align: right; font-variant-numeric: tabular-nums; }
.home-secondary > .d-sec { margin-top: 0; font-size: 17px; padding-top: 3px; border: 0; }
.home-secondary .hm-pulse { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 32px; }
.home-secondary .hm-pulse .hm-card { min-height: 116px; padding: 18px 16px; }
.home-secondary .hm-quiet { grid-template-columns: 1fr; }
.home-secondary .hm-quiet .hm-card { min-height: 42px; padding: 10px 0; }
.home-secondary .hm-quiet .hm-ico { display: none; }
.home-secondary .hm-grid.hm-quiet .hm-card { grid-template-columns: minmax(0, 1fr) auto; }
.home-secondary .hm-grid.hm-quiet .hm-l { grid-column: 1; }
.home-secondary .hm-grid.hm-quiet .hm-n { grid-column: 2; }
.home-shortcuts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 32px; }
.home-shortcuts .btn { padding: 11px 12px; border: 1px solid var(--line2); text-align: left; }
.home-history-row { display: grid; grid-template-columns: 92px minmax(0, 1fr) 100px; align-items: start; gap: 18px; padding: 18px 0; border-top: 1px solid var(--line); }
.home-history-row time, .home-history-row small { font-size: 12px; color: var(--sub); }
.home-history-row strong { font-size: 14px; font-weight: 600; display: block; }
.home-history-row div span { font-size: 12px; color: var(--sub); display: block; margin-top: 4px; }
#login { background: #f3f4ef; isolation: isolate; justify-content: flex-start; padding: 6vw; }
#login::before { content: ''; position: absolute; inset: 0; z-index: -2; background: var(--login-photo) center / cover no-repeat; filter: grayscale(1); }
#login::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(36,43,39,.91) 0%, rgba(49,57,51,.81) 34%, rgba(235,239,230,.70) 69%, rgba(248,249,244,.91) 100%); }
.login-card { width: min(440px, 100%); padding: 24px 36px; text-align: left; border: 0; box-shadow: none; backdrop-filter: none; background: transparent; animation: none; }
.lg-logo { display: block; width: 160px; height: 160px; margin: 0 0 22px -26px; }
.lg-mark { color: #fff; font-size: clamp(36px, 3.5vw, 52px); line-height: 1.3; letter-spacing: -.03em; }
.lg-mark span { color: #fff; font-weight: 500; }
.lg-tag { color: #e3e8de; font-size: 13px; letter-spacing: .12em; margin: 12px 0 40px; }
.lg-btn { min-height: 50px; background: #fffefa; color: #22251f; border: 1px solid #fffefa; padding: 13px 28px; box-shadow: none; transition: background .15s; }
.lg-btn:hover { background: #e9ede2; transform: none; box-shadow: none; }
.lg-btn:focus-visible { outline: 2px solid #fff; outline-offset: 5px; }
@media (min-width: 1280px) {
  .summary-open .main { margin-right: 380px; }
  .summary-open #drawer-wrap { left: auto; width: 380px; top: 0; }
  .summary-open #drawer-wrap .scrim { display: none; }
  .summary-open #drawer { width: 380px; box-shadow: none; border-left: 1px solid var(--line); }
  .summary-open #people-table table { min-width: 0; }
  .summary-open #people-table tr > :nth-child(5), .summary-open #people-table tr > :nth-child(6), .summary-open #people-table tr > :nth-child(7),
  .summary-open #people-table col:nth-child(5), .summary-open #people-table col:nth-child(6), .summary-open #people-table col:nth-child(7) { display: none; }
  .summary-open #people-table col:nth-child(1) { width: 25% !important; }
  .summary-open #people-table col:nth-child(2) { width: 17% !important; }
  .summary-open #people-table col:nth-child(3) { width: 28% !important; }
  .summary-open #people-table col:nth-child(4) { width: 18% !important; }
  .summary-open #people-table col:nth-child(8) { width: 12% !important; }
  .summary-open .top { align-items: flex-start; flex-wrap: wrap; }
  .summary-open .viewer { margin-left: auto; }
}
@media (max-width: 1100px) { .home-columns { gap: 28px; grid-template-columns: minmax(0, 1.25fr) minmax(270px, 1fr); } .home-history-row { grid-template-columns: 80px 1fr; } .home-history-row small { grid-column: 2; } }
@media (max-width: 760px) { .home-columns { grid-template-columns: 1fr; } .viewer { gap: 8px; } .side-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; padding: 12px 0 0; } .side-foot #btn-logout { margin-left: auto; } .logo { padding-bottom: 14px; } #global-search kbd { display: none; } }
@media (max-width: 600px) { #login { padding: 24px; justify-content: center; } #login::after { background: linear-gradient(135deg, rgba(36,43,39,.9), rgba(60,70,61,.82)); } .login-card { padding: 24px; } .lg-logo { width: 140px; height: 140px; margin-left: -22px; } }

/* Navigation rhythm and shared interaction feedback. */
.nav-group-label { display: block; padding: 17px 14px 5px; color: #aeb5a6; font-size: 10px; font-weight: 600; letter-spacing: .1em; }
#nav.gated .nav-group-label { display: none; }
#nav { gap: 2px; }
#nav button { min-height: 41px; padding-top: 9px; padding-bottom: 9px; }
#nav button.on { background: #383e31; box-shadow: inset 2px 0 0 #e4e7dd; }
#nav button.on svg { color: #e4e7dd; }
.side a:focus-visible, .side-foot button:focus-visible { outline-color: #f6edb8; }
.global-search-label { font-size: 12px; font-weight: 500; }
#global-search { color: var(--sub); background: var(--card2); border-color: var(--line); min-height: 38px; }
#global-search:hover { color: var(--txt); background: var(--selected); text-decoration: none; border-color: var(--line2); }
#global-search kbd { padding-left: 10px; border-left: 1px solid var(--line2); }
.home-section-heading { margin-bottom: 12px; }
.home-secondary > .d-sec { color: var(--txt); font-weight: 700; }
.home-shortcuts .btn { transition: background .12s, border-color .12s; }
.home-shortcuts .btn:hover { background: var(--hover); border-color: #a9b19f; text-decoration: none; }
.home-secondary .hm-pulse .hm-card:nth-child(odd) { border-left: 0; padding-left: 0; }
.home-secondary .hm-pulse .hm-card:nth-child(n+3) { border-top: 1px solid var(--line); }
.home-history-row { padding-top: 14px; padding-bottom: 14px; }
.summary-head { padding-right: 20px; }
.summary-row { line-height: 1.75; }
.card:has(> table), .kc-table-scroll { overscroll-behavior-x: contain; scroll-padding-top: 60px; }
.person-card:focus-visible { outline-offset: -3px; }
.people-empty { border-top: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 64px 20px; }
.people-empty p { color: var(--txt); font-size: 15px; }
.people-empty .btn { border: 1px solid var(--line2); padding: 8px 16px; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 100; padding: 10px 16px; background: var(--surface); color: var(--txt); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
#view:focus { outline: none; }
@media (max-width: 1200px) { .global-search-label { display: none; } }
@media (max-width: 760px) { #global-search kbd { border: 0; padding: 0; } }
@media (max-width: 480px) { .nav-group-label { display: none; } #nav button.on { box-shadow: inset 0 -2px 0 #e4e7dd; } .side-foot { margin-top: 12px; } }
