/* THRS V14.13 — Attendance Signature Workspaces
   Targeted visual re-layout on top of V14.12.
   No data mutation, permission changes, handler changes or new requests. */
html[data-theme="light"] .thrs-page-attendance[data-thrs-attendance-v1411] {
 --at13-surface:#fff;
 --at13-surface-muted:#f5f8fb;
 --at13-ink:#0f2a45;
 --at13-subtle:#64798d;
 --at13-border:#dbe5ee;
 --at13-gold:#bc8d4f;
 --at13-gold-pale:#f4e8d3;
 --at13-accent:#194967;
 --at13-shadow:0 10px 28px rgba(14,46,75,.075);
 --at13-elevated:0 18px 42px rgba(12,47,75,.11);
}
html[data-theme="dark"] .thrs-page-attendance[data-thrs-attendance-v1411] {
 --at13-surface:#16344d;
 --at13-surface-muted:#1d3c57;
 --at13-ink:#f1f6ff;
 --at13-subtle:#c1d2e0;
 --at13-border:#355973;
 --at13-gold:#eec485;
 --at13-gold-pale:#3d3e40;
 --at13-accent:#e8cb94;
 --at13-shadow:0 15px 33px rgba(0,0,0,.23);
 --at13-elevated:0 20px 46px rgba(0,0,0,.27);
}
html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411] {
 gap:15px !important;
 padding-top:10px !important;
 color:var(--at13-ink) !important;
 min-width:0 !important;
}
html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411] .thrs-attendance-v1410-masthead {
 border:1px solid var(--at13-border) !important;
 border-radius:18px !important;
 padding:20px 24px 0 !important;
 gap:18px !important;
 background:
 radial-gradient(ellipse at 88% -26%,color-mix(in srgb,var(--at13-gold) 9%,transparent),transparent 56%),
 linear-gradient(128deg,var(--at13-surface),var(--at13-surface-muted)) !important;
 box-shadow:var(--at13-shadow) !important;
}
html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411] .thrs-attendance-v1410-emblem {
 width:54px !important;height:54px !important;flex-basis:54px !important;
 border-radius:15px !important;
 border:1px solid rgba(215,174,111,.51) !important;
 box-shadow:0 9px 18px rgba(9,36,57,.13) !important;
}
html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411] .thrs-attendance-v1410-ident-copy h1 {
 font-size:clamp(28px,2.5vw,38px) !important;
 letter-spacing:-.045em !important;
 line-height:1.14 !important;
 color:var(--at13-ink) !important;
 font-weight:900 !important;
}
html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411] .thrs-attendance-v1410-ident-copy p {
 color:var(--at13-subtle) !important;
 font-size:12px !important;line-height:1.6 !important;
}
html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411] .thrs-attendance-v1411-nav {
 gap:5px !important;
 padding:1px 0 15px !important;
 border:0 !important;
 scrollbar-width:thin;
}
html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411] .thrs-attendance-v1411-nav-button {
 min-width:125px !important;min-height:44px !important;
 border:1px solid transparent !important;border-radius:10px !important;
 color:var(--at13-subtle) !important;
 background:transparent !important;
 padding:9px 12px !important;
 font-size:11.7px !important;
 box-shadow:none !important;
}
html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411] .thrs-attendance-v1411-nav-button:hover:not(.is-active) {
 background:var(--at13-surface-muted) !important;
 border-color:var(--at13-border) !important;
 transform:translateY(-1px) !important;
}
html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411] .thrs-attendance-v1411-nav-button.is-active {
 border:1px solid rgba(227,193,140,.65) !important;
 background:linear-gradient(125deg,#1b496b,#092c48) !important;
 color:#fff !important;
 box-shadow:0 6px 15px rgba(14,48,76,.18) !important;
}
html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411] .thrs-attendance-v1411-nav-button.is-active em {
 color:#f6dfb7 !important;background:rgba(249,226,186,.12) !important;
}
html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411] .thrs-attendance-v1411-context {
 border-bottom:0 !important;padding:11px 8px 10px !important;
 margin:0 !important;
}
html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411] .thrs-attendance-v1411-context-body {
 gap:4px !important;
}
html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411] .thrs-attendance-v1411-context h2 {
 color:var(--at13-ink) !important;
 font-size:clamp(23px,2.2vw,29px) !important;
 font-weight:910 !important;letter-spacing:-.035em !important;
}
html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411] .thrs-attendance-v1411-context p {
 color:var(--at13-subtle) !important;
 font-size:12px !important;line-height:1.6 !important;
}
html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411] .thrs-attendance-v1411-context-glyph {
 width:43px;height:43px;flex-basis:43px;
 border-radius:11px !important;
 background:var(--at13-surface) !important;
 border:1px solid var(--at13-border) !important;
 box-shadow:var(--at13-shadow) !important;
}
/* Shared cards: coherent layer hierarchy, soft edges, dignified shadow */
html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411] .thrs-premium-panel,
html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411] .thrs-attendance-overview-section {
 border-radius:17px !important;
 border:1px solid var(--at13-border) !important;
 background:var(--at13-surface) !important;
 box-shadow:var(--at13-shadow) !important;
 min-width:0 !important;
}
html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411] .thrs-premium-panel-head h3 {
 font-size:14.5px !important;
 font-weight:860 !important;
 color:var(--at13-ink) !important;
}
html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411] .thrs-premium-panel-head {
 border-color:var(--at13-border) !important;
 margin-bottom:16px !important;
}
/* Today's dark feature with a strong self-contained action pane. */
html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411="today"] .thrs-attendance-hero {
 min-height:0 !important;
 margin:0 !important;
 padding:24px 26px !important;
 border-radius:18px !important;
 border:1px solid rgba(219,180,119,.37) !important;
 background:
 radial-gradient(ellipse at 94% 15%,rgba(214,178,118,.22),transparent 31%),
 linear-gradient(128deg,#17415f,#092a47 62%,#061a2d) !important;
 box-shadow:0 17px 36px rgba(6,31,53,.18) !important;
}
html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411="today"] .thrs-attendance-hero-layout {
 grid-template-columns:minmax(0,1fr) !important;
 gap:19px !important;align-items:start !important;
}
html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411="today"] .thrs-attendance-hero-copy>h1 {
 font-size:clamp(24px,2vw,31px) !important;line-height:1.19 !important;
 color:#fff !important;letter-spacing:-.035em !important;
}
html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411="today"] .thrs-attendance-hero-copy>div:nth-child(3) {
 color:#d4e0ed !important;font-size:12px !important;
}
html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411="today"] .thrs-attendance-live-clock {
 margin-top:14px !important;
}
html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411="today"] .thrs-attendance-live-clock>span:nth-child(-n+3) {
 font-size:clamp(38px,3.8vw,52px) !important;
 letter-spacing:-.055em !important;
}
html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411="today"] .thrs-attendance-hero-metrics {
 grid-template-columns:repeat(3,minmax(0,1fr)) !important;
 gap:7px !important;margin-top:15px !important;
}
html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411="today"] .thrs-attendance-hero-metrics>div:not([style*="width: 1px"]) {
 padding:12px !important;
 background:rgba(235,244,255,.065) !important;
 border:1px solid rgba(244,220,180,.15) !important;
 border-radius:11px !important;
}
html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411="today"] .thrs-attendance-check-card {
 display:flex !important;flex-direction:column !important;
 min-width:0 !important;width:100% !important;max-width:none !important;
 border-radius:14px !important;
 padding:17px !important;
 gap:11px !important;
 background:linear-gradient(145deg,rgba(250,234,203,.12),rgba(224,244,255,.045)) !important;
 border:1px solid rgba(243,215,173,.29) !important;
 box-shadow:inset 0 1px 0 rgba(255,255,255,.08) !important;
}
html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411="today"] .thrs-attendance-check-card :is(.thrs-btn,button) {
 min-height:48px !important;
 border-radius:10px !important;
 font-size:13.5px !important;font-weight:860 !important;
}
html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411="today"] .thrs-attendance-overview-section {
 padding:22px !important;margin:0 !important;
 display:flex !important;flex-direction:column !important;
}
html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411="today"] .thrs-attendance-section-head {
 padding:0 0 16px !important;margin:0 0 15px !important;
 gap:12px !important;border-bottom:1px solid var(--at13-border) !important;
 align-items:flex-start !important;
}
html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411="today"] .thrs-attendance-section-head h2 {
 font-size:18px !important;font-weight:900 !important;
 color:var(--at13-ink) !important;
}
html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411="today"] .thrs-attendance-section-head>div:first-child>div {
 color:var(--at13-subtle) !important;font-size:11px !important;
}
html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411="today"] .thrs-attendance-stats-grid {
 grid-template-columns:repeat(2,minmax(0,1fr)) !important;
 gap:12px !important;flex:1 !important;margin:0 !important;
}
html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411="today"] .thrs-attendance-stat-card {
 border-radius:13px !important;
 min-height:142px !important;
 padding:17px !important;
 background:linear-gradient(142deg,var(--at13-surface),var(--at13-surface-muted)) !important;
 border:1px solid var(--at13-border) !important;
 border-top:3px solid var(--attendance-accent,var(--at13-gold)) !important;
 box-shadow:none !important;
}
html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411="today"] .thrs-attendance-stat-card:hover {
 box-shadow:var(--at13-shadow) !important;transform:translateY(-2px) !important;
}
html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411="today"] .thrs-attendance-stat-value {
 color:var(--at13-ink) !important;
 font-size:clamp(28px,2.2vw,36px) !important;
 font-weight:920 !important;line-height:1.13 !important;
}
html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411="today"] .thrs-attendance-section-actions {
 display:flex;flex-wrap:wrap !important;gap:7px !important;
}
html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411="today"] .thrs-attendance-section-actions button {
 min-height:36px !important;
 border-radius:9px !important;
 padding:7px 11px !important;
 font-size:10.5px !important;
}
/* Insight cards should read like a dedicated analytics studio, not raw charts. */
html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411="insights"] .thrs-attendance-analytics-grid {
 grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;
 gap:15px !important;margin:0 !important;
}
html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411="insights"] .thrs-attendance-chart-panel {
 min-height:370px !important;
 padding:20px 21px !important;
 border-radius:17px !important;
 box-shadow:var(--at13-shadow) !important;
 border:1px solid var(--at13-border) !important;
}
html[data-theme="dark"] .thrs-page-attendance[data-thrs-attendance-v1411="insights"] .thrs-attendance-chart-panel {
 /* Chart.js draws axes with existing dark colors: retain readable pale plot cards. */
 --at13-ink:#17334b;
 --at13-subtle:#52697e;
 --at13-border:#d5e0ec;
 background:#f5f8fd !important;
 border-color:#7996af !important;
}
html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411="insights"] .thrs-attendance-chart-panel .thrs-premium-panel-head {
 border-color:var(--at13-border) !important;
 padding-bottom:15px !important;
}
html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411="insights"] .thrs-attendance-chart-panel .thrs-premium-panel-body {
 min-height:270px !important;
}
html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411="insights"] .thrs-attendance-heatmap-grid {
 gap:6px !important;overflow-x:auto !important;
}
html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411="insights"] .thrs-attendance-monthly-panel {
 padding:21px 22px !important;
 border-radius:17px !important;
}
html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411="insights"] .thrs-attendance-monthly-grid {
 grid-template-columns:repeat(5,minmax(0,1fr)) !important;
 gap:9px !important;
}
html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411="insights"] .thrs-attendance-summary-kpi {
 border:1px solid var(--at13-border) !important;
 background:var(--at13-surface-muted) !important;
 padding:15px !important;border-radius:12px !important;min-height:112px !important;
}
html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411="insights"] .thrs-attendance-summary-kpi>div:nth-child(2) {
 color:var(--at13-ink) !important;font-size:22px !important;font-weight:890 !important;
}
/* Records productivity studio. */
html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411="records"] .thrs-attendance-filters-panel {
 padding:19px !important;
 border-radius:17px !important;
 background:var(--at13-surface) !important;
}
html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411="records"] .thrs-attendance-filters-panel .thrs-premium-panel-head {
 margin-bottom:14px !important;
}
html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411="records"] .thrs-attendance-status-chip {
 border:1px solid var(--at13-border) !important;
 background:var(--at13-surface-muted) !important;
 color:var(--at13-subtle) !important;
 border-radius:9px !important;
 min-height:36px !important;
 padding:7px 10px !important;
 white-space:nowrap !important;
}
html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411="records"] .thrs-attendance-status-chip.is-active {
 color:var(--at13-ink) !important;
 background:color-mix(in srgb,var(--at13-gold) 11%,var(--at13-surface)) !important;
 border-color:var(--attendance-accent,var(--at13-gold)) !important;
 box-shadow:inset 0 0 0 1px rgba(182,136,70,.1) !important;
}
html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411="records"] .thrs-attendance-filters-panel :is(input,select) {
 min-height:42px !important;
 width:100%;max-width:100% !important;
 background:var(--at13-surface) !important;
 color:var(--at13-ink) !important;
 -webkit-text-fill-color:var(--at13-ink) !important;
 border:1px solid var(--at13-border) !important;
 border-radius:9px !important;
 font-size:12px !important;
}
html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411="records"] .thrs-attendance-view-tabs {
 padding:4px !important;gap:3px !important;
 border:1px solid var(--at13-border) !important;
 background:var(--at13-surface-muted) !important;
 border-radius:11px !important;
 align-self:flex-start !important;
}
html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411="records"] .thrs-attendance-view-tabs button {
 border-radius:8px !important;min-height:38px !important;
 font-size:11px !important;font-weight:830 !important;
}
html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411="records"] .thrs-attendance-records-panel {
 padding:19px 20px !important;
 border-radius:17px !important;
 min-width:0 !important;
}
html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411="records"] .thrs-attendance-records-panel .thrs-premium-panel-body {
 overflow-x:auto !important;max-width:100% !important;
 scrollbar-width:thin !important;
}
html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411="records"] .thrs-attendance-records-panel table {
 min-width:790px !important;width:100% !important;
 border-collapse:separate !important;border-spacing:0 !important;
}
html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411="records"] .thrs-attendance-records-panel th {
 background:var(--at13-surface-muted) !important;
 color:var(--at13-subtle) !important;
 font-weight:850 !important;font-size:11px !important;
 padding:13px !important;
 position:sticky !important;top:0;z-index:1;
}
html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411="records"] .thrs-attendance-records-panel td {
 color:var(--at13-ink) !important;
 padding:13px !important;
 border-bottom:1px solid var(--at13-border) !important;
}
html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411="records"] .thrs-attendance-records-panel tbody tr:hover td {
 background:var(--at13-surface-muted) !important;
}
/* Fingerprint Center = privileged admin studio. Keep all HR widgets mounted. */
html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411="admin"]>div:has(>.thrs-attendance-raw-log-panel),
html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411="admin"]>.thrs-premium-panel:not(.thrs-attendance-records-panel):not(.thrs-attendance-filters-panel):not(.thrs-attendance-monthly-panel) {
 border:1px solid var(--at13-border) !important;
 border-top:3px solid var(--at13-gold) !important;
 border-radius:17px !important;
 background:var(--at13-surface) !important;
 box-shadow:var(--at13-shadow) !important;
 min-width:0 !important;
 padding:19px !important;
}
html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411="admin"] .thrs-attendance-import-panel {
 border-radius:13px !important;
 background:var(--at13-surface) !important;
 border:1px solid var(--at13-border) !important;
 box-shadow:none !important;
}
html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411="admin"] .thrs-attendance-import-panel :is(input,select,textarea) {
 min-height:40px !important;max-width:100% !important;
 border:1px solid var(--at13-border) !important;
 border-radius:9px !important;
 background:var(--at13-surface) !important;
 color:var(--at13-ink) !important;
 -webkit-text-fill-color:var(--at13-ink) !important;
}
html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411="admin"] .thrs-attendance-import-panel button {
 border-radius:9px !important;
 min-height:37px !important;
}
html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411="admin"] .thrs-attendance-import-panel .thrs-premium-panel-body {
 max-width:100% !important;min-width:0 !important;
}
html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411="admin"] .thrs-attendance-import-panel table {
 border-collapse:separate !important;border-spacing:0 !important;
}
html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411="admin"] .thrs-attendance-import-panel th {
 position:sticky !important;top:0;
 border-color:var(--at13-border) !important;
 background:var(--at13-surface-muted) !important;
 color:var(--at13-ink) !important;
 z-index:1;
}
html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411="admin"] .thrs-attendance-import-panel tbody tr:hover td {
 background:var(--at13-surface-muted) !important;
}
/* Wide screens: a proper command-center Today split, not two long stacks. */
@media(min-width:1480px) {
 html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411="today"] {
  display:grid !important;
  grid-template-columns:minmax(0,1.16fr) minmax(390px,.84fr) !important;
  align-items:stretch !important;
  gap:15px !important;
 }
 html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411="today"]>.thrs-attendance-v1410-masthead {
  grid-column:1 / -1 !important;grid-row:1 !important;
 }
 html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411="today"]>.thrs-attendance-v1411-context {
  grid-column:1 / -1 !important;grid-row:2 !important;
 }
 html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411="today"]>.thrs-attendance-hero {
  grid-column:1 !important;grid-row:3 !important;
  height:100% !important;
 }
 html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411="today"]>.thrs-attendance-overview-section {
  grid-column:2 !important;grid-row:3 !important;
  height:100% !important;
 }
 html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411="today"] .thrs-attendance-section-head {
  flex-direction:column !important;
 }
 html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411="today"] .thrs-attendance-stat-card {
  min-height:141px !important;
 }
 /* Records: fixed filter rail and roomy records explorer. */
 html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411="records"] {
  display:grid !important;
  grid-template-columns:minmax(268px,300px) minmax(0,1fr) !important;
  grid-template-rows:auto auto auto auto !important;
  align-items:start !important;
  gap:14px !important;
 }
 html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411="records"]>.thrs-attendance-v1410-masthead {
  grid-column:1 / -1 !important;grid-row:1 !important;
 }
 html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411="records"]>.thrs-attendance-v1411-context {
  grid-column:1 / -1 !important;grid-row:2 !important;
 }
 html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411="records"]>.thrs-attendance-filters-panel {
  grid-column:1 !important;grid-row:3 / span 2 !important;
  position:sticky !important;top:88px !important;
 }
 html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411="records"]>.thrs-attendance-view-tabs {
  grid-column:2 !important;grid-row:3 !important;
 }
 html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411="records"]>.thrs-attendance-records-panel {
  grid-column:2 !important;grid-row:4 !important;
 }
 html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411="records"] .thrs-attendance-status-chip {
  flex:1 1 auto !important;
 }
 html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411="records"] .thrs-attendance-filters-panel .thrs-premium-panel-body>div:first-child {
  gap:7px !important;
 }
}
/* Tablets stay intentionally vertical and easy to scan. */
@media(max-width:1479px) {
 html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411="today"] .thrs-attendance-hero-layout {
  grid-template-columns:minmax(0,1fr) minmax(240px,310px) !important;
  gap:19px !important;
 }
 html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411="today"] .thrs-attendance-overview-section {
  padding:20px !important;
 }
 html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411="today"] .thrs-attendance-stats-grid {
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
 }
}
@media(max-width:1110px) {
 html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411="today"] .thrs-attendance-hero-layout {
  grid-template-columns:minmax(0,1fr) !important;
 }
 html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411="today"] .thrs-attendance-stats-grid {
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
 }
 html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411="insights"] .thrs-attendance-analytics-grid {
  grid-template-columns:minmax(0,1fr) !important;
 }
 html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411="insights"] .thrs-attendance-monthly-grid {
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
 }
}
@media(max-width:700px) {
 html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411] {
  gap:10px !important;padding:7px 0 30px !important;
 }
 html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411] .thrs-attendance-v1410-masthead {
  padding:14px 14px 0 !important;border-radius:14px !important;gap:12px !important;
 }
 html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411] .thrs-attendance-v1410-emblem {
  width:40px !important;height:40px !important;flex-basis:40px !important;
 }
 html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411] .thrs-attendance-v1410-ident-copy h1 {
  font-size:23px !important;
 }
 html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411] .thrs-attendance-v1411-nav {
  gap:3px !important;padding-bottom:10px !important;
 }
 html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411] .thrs-attendance-v1411-nav-button {
  min-width:auto !important;min-height:40px !important;
  padding:8px 10px !important;
  font-size:10.5px !important;gap:5px !important;
 }
 html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411] .thrs-attendance-v1411-context {
  padding:7px 4px 5px !important;
 }
 html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411] .thrs-attendance-v1411-context h2 {
  font-size:21px !important;
 }
 html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411="today"] .thrs-attendance-hero {
  padding:17px 15px !important;border-radius:15px !important;
 }
 html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411="today"] .thrs-attendance-hero-metrics {
  gap:5px !important;
 }
 html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411="today"] .thrs-attendance-hero-metrics>div:not([style*="width: 1px"]) {
  padding:8px !important;
 }
 html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411="today"] .thrs-attendance-overview-section,
 html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411="insights"] .thrs-attendance-monthly-panel,
 html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411="records"] .thrs-attendance-filters-panel,
 html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411="records"] .thrs-attendance-records-panel {
  padding:13px !important;border-radius:13px !important;
 }
 html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411="today"] .thrs-attendance-stats-grid {
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:8px !important;
 }
 html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411="today"] .thrs-attendance-stat-card {
  min-height:115px !important;padding:11px !important;
 }
 html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411="insights"] .thrs-attendance-monthly-grid {
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:8px !important;
 }
 html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411="records"] .thrs-attendance-view-tabs {
  width:100% !important;align-self:stretch !important;
 }
 html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411="records"] .thrs-attendance-view-tabs button {
  flex:1 1 0 !important;justify-content:center !important;
 }
}
@media(max-width:360px) {
 html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411] .thrs-attendance-v1410-ident-copy h1 {
  font-size:21px !important;
 }
 html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411="today"] .thrs-attendance-hero-metrics,
 html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411="today"] .thrs-attendance-stats-grid {
  grid-template-columns:minmax(0,1fr) !important;
 }
}
/* Accessible interaction states, with motion kept proportional. */
html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411] :is(button,a,input,select,textarea):focus-visible {
 outline:2px solid var(--at13-gold) !important;outline-offset:2px !important;
}
@media(prefers-reduced-motion:reduce) {
 html[data-theme] .thrs-page-attendance[data-thrs-attendance-v1411] :is(
  .thrs-attendance-stat-card,.thrs-attendance-v1411-nav-button,
  .thrs-attendance-status-chip,.thrs-attendance-summary-kpi) {
  transform:none !important;transition:none !important;animation:none !important;
 }
}
