/* Drop Mark GEO font files into ../fonts/ using these names when licensed assets arrive. */
@font-face { font-family: "Mark GEO"; src: url("../fonts/MarkGEO-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Mark GEO"; src: url("../fonts/MarkGEO-Medium.woff2") format("woff2"); font-weight: 500 700; font-display: swap; }
@font-face { font-family: "Mark GEO CAPS"; src: url("../fonts/MarkGEOCAPS-SemiBold.woff2") format("woff2"); font-weight: 600 800; font-display: swap; }

:root {
  --green: #35b44a;
  --green-dark: #269239;
  --green-soft: #ebf8ed;
  --black: #181818;
  --white: #fff;
  --bg: #f5f6f4;
  --surface-muted: #f8f9f7;
  --border: #e3e6e1;
  --text-muted: #6d736d;
  --danger: #d64545;
  --danger-soft: #fff0f0;
  --warning: #a86800;
  --warning-soft: #fff7e5;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 10px rgba(24, 24, 24, .05);
  --shadow-md: 0 12px 32px rgba(24, 24, 24, .09);
  --sidebar-width: 248px;
  --mobile-header: 64px;
  --mobile-nav: 76px;
  --font-body: "Mark GEO", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-caps: "Mark GEO CAPS", "Mark GEO", Inter, sans-serif;
}

* { box-sizing: border-box; }
html { color: var(--black); background: var(--bg); font-family: var(--font-body); line-height: 1.5; }
body { margin: 0; min-width: 320px; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -.025em; line-height: 1.16; }
.icon { width: 22px; height: 22px; flex: 0 0 auto; }
.eyebrow { color: var(--green-dark); display: block; font-family: var(--font-caps); font-size: .71rem; font-weight: 700; letter-spacing: .12em; margin-bottom: 8px; }
.eyebrow-light { color: #8ae497; }
.muted { color: var(--text-muted); }

.btn { align-items: center; border: 1px solid transparent; border-radius: 13px; cursor: pointer; display: inline-flex; font-weight: 600; gap: 8px; justify-content: center; min-height: 46px; padding: 10px 18px; transition: background .16s, border-color .16s, transform .16s; }
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible, input:focus-visible, .icon-button:focus-visible, a:focus-visible { outline: 3px solid rgba(53, 180, 74, .24); outline-offset: 2px; }
.btn-primary { background: var(--green); color: var(--white); }
.btn-primary:hover { background: var(--green-dark); }
.btn-secondary { background: var(--white); border-color: var(--border); color: var(--black); }
.btn-danger { background: var(--danger); color: var(--white); }
.btn-danger-soft { background: var(--danger-soft); border-color: #f1caca; color: #b13232; }
.btn-danger-soft:hover { background: #ffe5e5; }
.btn-block { width: 100%; }
.btn-small { min-height: 38px; padding: 7px 13px; }
.icon-button { align-items: center; background: transparent; border: 0; border-radius: var(--radius-sm); color: var(--text-muted); cursor: pointer; display: inline-flex; height: 40px; justify-content: center; padding: 0; width: 40px; }
.icon-button:hover { background: var(--surface-muted); color: var(--black); }

.card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); padding: 20px; }
.card-spaced { margin-bottom: 14px; }
.card-header { align-items: center; display: flex; gap: 16px; justify-content: space-between; margin-bottom: 18px; }
.card-header h2, .card-header h3 { font-size: 1rem; margin: 0; }
.card-link { color: var(--green-dark); font-size: .84rem; font-weight: 600; }
.status-badge, .pill { align-items: center; border-radius: 999px; display: inline-flex; font-size: .73rem; font-weight: 600; gap: 6px; min-height: 26px; padding: 4px 10px; }
.status-success { background: var(--green-soft); color: #1e7f30; }
.status-warning { background: var(--warning-soft); color: var(--warning); }
.status-danger { background: var(--danger-soft); color: var(--danger); }
.status-neutral { background: #eff1ee; color: #5f655e; }
.alert { border: 1px solid; border-radius: var(--radius-md); font-size: .91rem; margin-bottom: 20px; padding: 13px 15px; }
.alert-error { background: var(--danger-soft); border-color: #f3caca; color: #a72f2f; }
.alert-success { background: var(--green-soft); border-color: #bee6c5; color: #176f27; }

.field { display: grid; gap: 7px; }
.field label { font-size: .85rem; font-weight: 600; }
input, select, textarea { background: var(--white); border: 1px solid #d9ddd7; border-radius: var(--radius-md); color: var(--black); min-height: 48px; padding: 11px 13px; width: 100%; }
input::placeholder, textarea::placeholder { color: #9da29d; }
input:focus, select:focus, textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(53, 180, 74, .1); outline: 0; }
input.is-invalid, select.is-invalid, textarea.is-invalid { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: .75rem; }
.field-hint { color: var(--text-muted); font-size: .73rem; }
.optional-label { color: var(--text-muted); font-size: .7rem; font-weight: 400; margin-left: 5px; }
.checkbox-field { align-items: center; cursor: pointer; display: inline-flex; gap: 9px; min-height: 42px; }
.checkbox-field input { accent-color: var(--green); min-height: auto; width: 18px; }
.checkbox-align { align-self: end; }
.file-input { padding: 8px; }
.file-input::file-selector-button { background: var(--surface-muted); border: 1px solid var(--border); border-radius: 9px; cursor: pointer; margin-right: 10px; padding: 7px 10px; }
.input-suffix { position: relative; }
.input-suffix input { padding-right: 56px; }
.input-suffix span { color: var(--text-muted); font-size: .76rem; pointer-events: none; position: absolute; right: 13px; top: 14px; }
.form-stack { display: grid; gap: 18px; }
.password-field { position: relative; }
.password-field input { padding-right: 65px; }
.password-toggle { background: transparent; border: 0; color: var(--green-dark); cursor: pointer; font-size: .78rem; font-weight: 600; height: 100%; padding: 0 14px; position: absolute; right: 0; top: 0; }
.search-field { position: relative; }
.search-field .icon { color: var(--text-muted); left: 13px; position: absolute; top: 13px; width: 19px; }
.search-field input { padding-left: 40px; }

.auth-page { background: var(--white); min-height: 100vh; }
.auth-shell { display: grid; min-height: 100vh; }
.auth-intro { background: var(--black); color: var(--white); display: none; padding: 64px; }
.auth-intro h1 { font-family: var(--font-caps); font-size: clamp(2.7rem, 5vw, 4.8rem); margin-bottom: 24px; max-width: 650px; text-transform: uppercase; }
.auth-intro p { color: #bfc3bd; font-size: 1.05rem; max-width: 520px; }
.auth-brand-mark { height: 48px; width: 164px; }
.auth-panel { align-items: center; display: flex; justify-content: center; padding: 32px 22px; }
.auth-form-wrap { max-width: 420px; width: 100%; }
.auth-logo { height: 42px; margin-bottom: 42px; width: auto; }
.page-title-block { margin-bottom: 26px; }
.page-title-block h2 { font-family: var(--font-caps); font-size: 1.95rem; margin-bottom: 8px; text-transform: uppercase; }
.page-title-block p { color: var(--text-muted); margin: 0; }
.auth-help { color: var(--text-muted); font-size: .8rem; margin: 22px 0 0; text-align: center; }

.employee-app { background: var(--bg); min-height: 100vh; }
.mobile-header { align-items: center; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--border); display: flex; height: calc(var(--mobile-header) + env(safe-area-inset-top)); justify-content: center; left: 0; padding-top: env(safe-area-inset-top); position: fixed; right: 0; top: 0; z-index: 30; }
.mobile-logo { height: 32px; width: auto; }
.employee-content { margin: 0 auto; max-width: 820px; min-height: 100vh; padding: calc(var(--mobile-header) + env(safe-area-inset-top) + 24px) 18px calc(var(--mobile-nav) + env(safe-area-inset-bottom) + 46px); }
.employee-page-header { margin-bottom: 22px; }
.employee-page-header h1 { font-family: var(--font-caps); font-size: 1.65rem; margin-bottom: 6px; text-transform: uppercase; }
.employee-page-header p { color: var(--text-muted); margin: 0; }
.mobile-nav { bottom: 0; left: 0; padding: 0 10px calc(8px + env(safe-area-inset-bottom)); position: fixed; right: 0; z-index: 40; }
.mobile-nav-surface { background: var(--white); border: 1px solid var(--border); border-radius: 22px; box-shadow: 0 -8px 30px rgba(24,24,24,.1); display: grid; grid-template-columns: repeat(2, 1fr) 68px repeat(2, 1fr); height: var(--mobile-nav); margin: auto; max-width: 680px; padding: 8px 7px; position: relative; }
.mobile-nav-item { align-items: center; color: #818680; display: flex; flex-direction: column; font-size: .65rem; font-weight: 600; gap: 3px; justify-content: center; min-width: 0; }
.mobile-nav-item .icon { height: 21px; width: 21px; }
.mobile-nav-item.is-active { color: var(--green); }
.mobile-nav-gap { grid-column: 3; }
.mobile-nav-action { align-items: center; background: var(--green); border: 7px solid var(--bg); border-radius: 50%; box-shadow: 0 8px 18px rgba(53,180,74,.3); color: var(--white); display: flex; height: 68px; justify-content: center; left: 50%; position: absolute; top: -25px; transform: translateX(-50%); width: 68px; }
.mobile-nav-action .icon { height: 30px; width: 30px; }
.mobile-nav-action.is-active { background: var(--green-dark); }

.greeting-row { align-items: flex-start; display: flex; gap: 16px; justify-content: space-between; margin-bottom: 22px; }
.greeting-row h1 { font-size: 1.7rem; margin: 0 0 5px; }
.greeting-row p { color: var(--text-muted); margin: 0; }
.date-pill { background: var(--white); border: 1px solid var(--border); border-radius: 999px; color: var(--text-muted); flex: 0 0 auto; font-size: .7rem; font-weight: 600; padding: 7px 10px; }
.metric-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 14px; }
.metric-card { min-height: 132px; position: relative; }
.metric-card .metric-label { color: var(--text-muted); display: block; font-size: .78rem; margin-bottom: 15px; }
.metric-card strong { display: block; font-family: var(--font-caps); font-size: 2.1rem; line-height: 1; }
.metric-card small { color: var(--text-muted); font-size: .7rem; }
.metric-icon { align-items: center; background: var(--green-soft); border-radius: 12px; color: var(--green-dark); display: flex; height: 38px; justify-content: center; position: absolute; right: 14px; top: 14px; width: 38px; }
.employee-grid { display: grid; gap: 14px; }
.attention-list, .recent-list { display: grid; gap: 2px; }
.list-row { align-items: center; border-top: 1px solid #edf0ec; display: flex; gap: 12px; min-width: 0; padding: 13px 0; }
.list-row:first-child { border-top: 0; padding-top: 2px; }
.list-row:last-child { padding-bottom: 0; }
.list-copy { flex: 1; min-width: 0; }
.list-copy strong, .list-copy span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.list-copy strong { font-size: .88rem; }
.list-copy span { color: var(--text-muted); font-size: .73rem; margin-top: 2px; }
.client-mark { align-items: center; background: #eff1ee; border-radius: 10px; display: flex; flex: 0 0 auto; font-size: .7rem; font-weight: 700; height: 40px; justify-content: center; width: 40px; }
.coverage-wrap { align-items: center; display: flex; gap: 22px; }
.coverage-ring { align-items: center; background: conic-gradient(var(--green) 0 74%, #e9ece7 74%); border-radius: 50%; display: flex; flex: 0 0 auto; height: 112px; justify-content: center; position: relative; width: 112px; }
.coverage-ring::after { background: var(--white); border-radius: 50%; content: ""; height: 78px; position: absolute; width: 78px; }
.coverage-ring strong { font-size: 1.15rem; position: relative; z-index: 1; }
.coverage-legend { display: grid; gap: 10px; flex: 1; }
.legend-item { align-items: center; display: flex; font-size: .77rem; justify-content: space-between; }
.legend-dot { border-radius: 50%; display: inline-block; height: 8px; margin-right: 6px; width: 8px; }
.legend-green { background: var(--green); }
.legend-red { background: var(--danger); }
.legend-gray { background: #e0e4de; }
.legend-orange { background: var(--warning); }
.employee-coverage-ring { background: conic-gradient(var(--green) 0 var(--coverage), #e9ece7 var(--coverage)); }
.activity-bars { align-items: end; display: grid; gap: 9px; grid-template-columns: repeat(7, 1fr); height: 126px; padding-top: 10px; }
.activity-day { align-items: center; color: var(--text-muted); display: flex; flex-direction: column; font-size: .64rem; gap: 7px; height: 100%; justify-content: flex-end; }
.activity-bar { background: #e6e9e4; border-radius: 6px 6px 3px 3px; max-width: 22px; min-height: 8px; width: 100%; }
.activity-bar.is-accent { background: var(--green); }
.activity-day strong { color: var(--black); font-size: .66rem; }
.activity-bar.dynamic-bar { height: var(--bar-height); }
.activity-day:nth-child(1) .activity-bar { height: 28%; }
.activity-day:nth-child(2) .activity-bar { height: 46%; }
.activity-day:nth-child(3) .activity-bar { height: 68%; }
.activity-day:nth-child(4) .activity-bar { height: 42%; }
.activity-day:nth-child(5) .activity-bar { height: 82%; }
.activity-day:nth-child(6) .activity-bar { height: 55%; }
.activity-day:nth-child(7) .activity-bar { height: 19%; }

.placeholder-hero { align-items: center; display: flex; gap: 17px; }
.placeholder-icon { align-items: center; background: var(--green-soft); border-radius: var(--radius-md); color: var(--green-dark); display: flex; flex: 0 0 auto; height: 52px; justify-content: center; width: 52px; }
.placeholder-icon .icon { height: 26px; width: 26px; }
.placeholder-hero h2 { font-size: 1.02rem; margin: 0 0 4px; }
.placeholder-hero p { color: var(--text-muted); font-size: .82rem; margin: 0; }
.empty-state { padding: 42px 20px; text-align: center; }
.empty-state .placeholder-icon { margin: 0 auto 16px; }
.empty-state h2 { font-size: 1.1rem; margin-bottom: 8px; }
.empty-state p { color: var(--text-muted); margin: 0 auto; max-width: 390px; }

.admin-app { background: var(--bg); min-height: 100vh; }
.admin-sidebar { background: var(--white); border-right: 1px solid var(--border); bottom: 0; display: flex; flex-direction: column; left: 0; padding: 24px 16px 16px; position: fixed; top: 0; width: var(--sidebar-width); z-index: 50; }
.sidebar-brand { align-items: center; display: flex; gap: 10px; margin: 0 8px 29px; }
.sidebar-brand img { height: 34px; width: auto; }
.sidebar-brand > span { color: var(--text-muted); font-family: var(--font-caps); font-size: .65rem; letter-spacing: .12em; }
.sidebar-nav { flex: 1; min-height: 0; overflow-y: auto; }
.sidebar-section { color: #a2a7a1; font-family: var(--font-caps); font-size: .61rem; letter-spacing: .12em; margin: 20px 12px 7px; }
.sidebar-link { align-items: center; border-radius: 11px; color: #555b55; display: flex; font-size: .87rem; font-weight: 500; gap: 12px; margin-bottom: 3px; min-height: 42px; padding: 8px 12px; }
.sidebar-link .icon { height: 19px; width: 19px; }
.sidebar-link:hover { background: var(--surface-muted); color: var(--black); }
.sidebar-link.is-active { background: var(--green-soft); color: var(--green-dark); font-weight: 600; }
.sidebar-profile { align-items: center; border-top: 1px solid var(--border); display: flex; gap: 10px; padding: 16px 2px 0; }
.avatar { align-items: center; background: var(--black); border-radius: 12px; color: var(--white); display: flex; flex: 0 0 auto; font-weight: 700; height: 40px; justify-content: center; width: 40px; }
.avatar-small { border-radius: 10px; height: 34px; width: 34px; }
.sidebar-profile-copy { flex: 1; min-width: 0; }
.sidebar-profile-copy strong, .sidebar-profile-copy span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-profile-copy strong { font-size: .78rem; }
.sidebar-profile-copy span { color: var(--text-muted); font-size: .67rem; }
.admin-main { margin-left: var(--sidebar-width); min-height: 100vh; }
.admin-topbar { align-items: center; background: rgba(255,255,255,.94); border-bottom: 1px solid var(--border); display: flex; gap: 16px; height: 76px; padding: 0 34px; position: sticky; top: 0; z-index: 30; }
.admin-heading { flex: 1; min-width: 0; }
.admin-heading h1 { font-family: var(--font-caps); font-size: 1.18rem; margin: 0 0 2px; text-transform: uppercase; }
.admin-heading p { color: var(--text-muted); font-size: .76rem; margin: 0; }
.admin-identity { align-items: center; display: flex; font-size: .8rem; font-weight: 600; gap: 9px; }
.sidebar-toggle { display: none; }
.admin-content { margin: 0 auto; max-width: 1480px; padding: 30px 34px 50px; }
.admin-dashboard-grid { display: grid; gap: 18px; grid-template-columns: repeat(4, minmax(0,1fr)); }
.admin-metric { min-height: 144px; }
.admin-metric-top { align-items: center; display: flex; justify-content: space-between; }
.admin-metric-top span { color: var(--text-muted); font-size: .78rem; }
.admin-metric .metric-icon { position: static; }
.admin-metric strong { display: block; font-family: var(--font-caps); font-size: 2.2rem; margin: 18px 0 4px; }
.admin-metric small { color: var(--text-muted); }
.admin-wide-grid { display: grid; gap: 18px; grid-template-columns: 1.5fr 1fr; margin-top: 18px; }
.skeleton-chart { align-items: end; display: grid; gap: 13px; grid-template-columns: repeat(10, 1fr); height: 230px; padding: 25px 4px 3px; }
.skeleton-chart span { background: #e7eae5; border-radius: 7px 7px 3px 3px; min-height: 14px; }
.skeleton-chart span:nth-child(4n+1) { background: #bde7c4; }
.skeleton-chart span:nth-child(1) { height: 34%; }
.skeleton-chart span:nth-child(2) { height: 48%; }
.skeleton-chart span:nth-child(3) { height: 40%; }
.skeleton-chart span:nth-child(4) { height: 72%; }
.skeleton-chart span:nth-child(5) { height: 61%; }
.skeleton-chart span:nth-child(6) { height: 84%; }
.skeleton-chart span:nth-child(7) { height: 54%; }
.skeleton-chart span:nth-child(8) { height: 68%; }
.skeleton-chart span:nth-child(9) { height: 78%; }
.skeleton-chart span:nth-child(10) { height: 45%; }
.compact-table { border-collapse: collapse; table-layout: fixed; width: 100%; }
.compact-table th { color: var(--text-muted); font-size: .69rem; letter-spacing: .04em; padding: 0 10px 10px; text-align: left; text-transform: uppercase; }
.compact-table td { border-top: 1px solid #edf0ec; font-size: .8rem; overflow: hidden; padding: 13px 10px; text-overflow: ellipsis; white-space: nowrap; }
.compact-table th:first-child, .compact-table td:first-child { padding-left: 0; }
.compact-table th:last-child, .compact-table td:last-child { padding-right: 0; text-align: right; }
.compact-table strong { font-weight: 600; }
.data-card { padding-bottom: 8px; }
.record-link { display: block; min-width: 0; }
.record-link strong, .record-link span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.record-link span, .record-link small, .table-subtext { color: var(--text-muted); font-size: .7rem; margin-top: 2px; }
.record-link:hover strong, .inline-link { color: var(--green-dark); }
.record-with-logo { align-items: center; display: flex; gap: 11px; }
.record-with-logo > span { min-width: 0; }
.record-logo, .record-logo-fallback { align-items: center; background: #f0f2ef; border: 1px solid var(--border); border-radius: 10px; display: flex; flex: 0 0 auto; height: 40px; justify-content: center; object-fit: contain; width: 40px; }
.record-logo-fallback { color: var(--text-muted); font-size: .68rem; font-weight: 700; }
.row-actions { align-items: center; display: flex; gap: 7px; justify-content: flex-end; }
.row-actions form { margin: 0; }
.row-actions .btn { min-height: 34px; padding: 5px 9px; }
.filter-bar { align-items: center; display: flex; gap: 10px; margin-bottom: 18px; }
.filter-bar .search-field { flex: 1 1 300px; max-width: 410px; }
.filter-bar select { min-height: 40px; padding: 8px 34px 8px 11px; width: auto; }
.filter-action { margin-left: auto; }
.pagination { align-items: center; color: var(--text-muted); display: flex; font-size: .76rem; justify-content: space-between; margin-top: 16px; }
.pagination > div { align-items: center; display: flex; gap: 10px; }
.pagination-current { color: var(--black); font-weight: 600; }
.section-tabs { border-bottom: 1px solid var(--border); display: flex; gap: 4px; margin-bottom: 18px; }
.section-tabs a { border-bottom: 2px solid transparent; color: var(--text-muted); font-size: .84rem; font-weight: 600; padding: 10px 14px; }
.section-tabs a.is-active { border-color: var(--green); color: var(--green-dark); }
.content-narrow { max-width: 820px; }
.admin-form { padding: 26px; }
.form-section-heading { border-bottom: 1px solid var(--border); margin-bottom: 24px; padding-bottom: 17px; }
.form-section-heading h2 { font-size: 1.05rem; margin-bottom: 5px; }
.form-section-heading p { color: var(--text-muted); font-size: .8rem; margin: 0; }
.form-grid { display: grid; gap: 19px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field-span-2 { grid-column: 1 / -1; }
.form-actions { border-top: 1px solid var(--border); display: flex; gap: 10px; justify-content: flex-end; margin-top: 26px; padding-top: 20px; }
.current-logo { align-items: center; background: var(--surface-muted); border-radius: var(--radius-md); display: flex; gap: 17px; padding: 13px; }
.current-logo img { background: var(--white); border: 1px solid var(--border); border-radius: 10px; height: 58px; object-fit: contain; width: 58px; }
.detail-header { align-items: center; display: flex; gap: 20px; justify-content: space-between; margin-bottom: 18px; }
.detail-identity { align-items: center; display: flex; gap: 16px; min-width: 0; }
.detail-identity h2 { font-size: 1.28rem; margin: 0 0 4px; }
.detail-identity p { color: var(--text-muted); font-size: .78rem; margin: 0; }
.detail-actions { align-items: center; display: flex; flex: 0 0 auto; gap: 9px; }
.avatar-large { border-radius: 14px; height: 56px; width: 56px; }
.detail-logo, .detail-logo-fallback { background: var(--white); border: 1px solid var(--border); border-radius: 14px; flex: 0 0 auto; height: 64px; object-fit: contain; width: 64px; }
.detail-logo-fallback { display: flex; }
.detail-grid { display: grid; gap: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.detail-list { margin: 0; }
.detail-list > div { align-items: baseline; border-top: 1px solid #edf0ec; display: grid; gap: 16px; grid-template-columns: 140px 1fr; padding: 13px 0; }
.detail-list > div:first-child { border-top: 0; padding-top: 0; }
.detail-list dt { color: var(--text-muted); font-size: .74rem; }
.detail-list dd { font-size: .82rem; margin: 0; text-align: right; }
.compact-empty { padding: 28px 16px; }
.back-link { color: var(--green-dark); display: inline-block; font-size: .8rem; font-weight: 600; margin-top: 18px; }
.detail-footer-actions { align-items: center; display: flex; justify-content: space-between; }
.detail-footer-actions .back-link { margin: 0; }
.coefficient-pair { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.coefficient-pair span { color: var(--text-muted); font-size: .7rem; }
.coefficient-positive { color: #187a2a; }
.coefficient-negative { color: var(--danger); }
.coefficient-zero { color: var(--text-muted); }
.users-table th:nth-child(1) { width: 23%; }
.users-table th:nth-child(2) { width: 16%; }
.users-table th:nth-child(3), .users-table th:nth-child(4) { width: 10%; }
.users-table th:nth-child(5) { width: 17%; }
.users-table th:nth-child(6) { width: 24%; }
.clients-table th:nth-child(1) { width: 52%; }
.clients-table th:nth-child(2), .clients-table th:nth-child(3) { width: 13%; }
.clients-table th:nth-child(4) { width: 22%; }
.branches-table th:nth-child(1) { width: 24%; }
.branches-table th:nth-child(2) { width: 16%; }
.branches-table th:nth-child(3) { width: 11%; }
.branches-table th:nth-child(4), .branches-table th:nth-child(5) { width: 12%; }
.branches-table th:nth-child(6) { width: 25%; }
.visit-details-table th:nth-child(1) { width: 24%; }
.visit-details-table th:nth-child(2) { width: 18%; }
.visit-details-table th:nth-child(3) { width: 24%; }
.visit-details-table th:nth-child(4) { width: 11%; }
.visit-details-table th:nth-child(5) { width: 23%; }
.categories-table th:nth-child(1) { width: 32%; }
.categories-table th:nth-child(2), .categories-table th:nth-child(3), .categories-table th:nth-child(4) { width: 13%; }
.categories-table th:nth-child(5) { width: 29%; }
.toolbar { align-items: center; display: flex; gap: 12px; justify-content: space-between; margin-bottom: 18px; }
.toolbar .search-field { max-width: 360px; width: 100%; }
.placeholder-panel { min-height: 400px; }
.admin-overlay { display: none; }

/* Employee operational screens */
.focused-flow .employee-content { max-width: 720px; padding-bottom: 40px; }
.employee-filter { display: grid; gap: 11px; margin-bottom: 14px; padding: 14px; }
.employee-filter .btn { width: 100%; }
.status-chips { display: flex; gap: 7px; margin: 0 -2px; overflow-x: auto; padding: 2px; scrollbar-width: none; }
.status-chips::-webkit-scrollbar { display: none; }
.status-chips .pill { background: #eff1ee; color: var(--text-muted); flex: 0 0 auto; }
.status-chips .pill.is-active { background: var(--green); color: var(--white); }
.mobile-record-list { display: grid; gap: 10px; }
.mobile-record { align-items: center; display: flex; gap: 12px; min-width: 0; padding: 14px; }
.mobile-record:hover { border-color: #c7ddca; }
.mobile-record-logo { background: var(--white); border: 1px solid var(--border); border-radius: 11px; flex: 0 0 auto; height: 46px; object-fit: contain; width: 46px; }
.mobile-record-copy { flex: 1; min-width: 0; }
.mobile-record-copy span, .mobile-record-copy strong, .mobile-record-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mobile-record-copy span { color: var(--text-muted); font-size: .69rem; }
.mobile-record-copy strong { font-size: .88rem; margin: 2px 0; }
.mobile-record-copy small { color: var(--text-muted); font-size: .7rem; }
.mobile-record > .status-badge { flex: 0 0 auto; }
.mobile-record > .icon { color: #a1a6a0; height: 18px; width: 18px; }
.client-mark-image { object-fit: contain; }
.employee-back { color: var(--green-dark); display: inline-block; font-size: .8rem; font-weight: 600; margin-bottom: 14px; }
.employee-detail-hero { align-items: center; display: flex; gap: 15px; margin-bottom: 14px; }
.employee-detail-hero h1 { font-family: var(--font-caps); font-size: 1.28rem; margin: 0 0 4px; text-transform: uppercase; }
.employee-detail-hero p { color: var(--text-muted); font-size: .77rem; margin: 0; }
.branch-status-card, .visit-meta { margin-bottom: 14px; }
.employee-detail-list { margin: 0 0 18px; }
.employee-detail-list > div { border-top: 1px solid #edf0ec; display: flex; font-size: .79rem; justify-content: space-between; padding: 11px 0; }
.employee-detail-list > div:first-child { border-top: 0; padding-top: 0; }
.employee-detail-list dt { color: var(--text-muted); }
.employee-detail-list dd { font-weight: 500; margin: 0; text-align: right; }
.text-danger { color: var(--danger); }
.visit-history-list { display: grid; }
.visit-history-item { border-top: 1px solid #edf0ec; padding: 14px 0; }
.visit-history-item:first-child { border-top: 0; padding-top: 0; }
.visit-history-top { align-items: center; display: flex; justify-content: space-between; }
.visit-history-top strong, .visit-history-top span { display: block; }
.visit-history-top strong { font-size: .8rem; }
.visit-history-top span { color: var(--text-muted); font-size: .7rem; margin-top: 3px; }
.visit-history-item p { color: var(--text-muted); font-size: .7rem; margin: 7px 0 0; }
.visit-history-item p b { color: var(--black); }
.flow-header { margin-bottom: 18px; }
.flow-header .employee-back { margin-bottom: 18px; }
.flow-header h1 { font-family: var(--font-caps); font-size: 1.55rem; margin-bottom: 14px; text-transform: uppercase; }
.flow-step { color: var(--green-dark); display: block; font-family: var(--font-caps); font-size: .65rem; letter-spacing: .1em; margin-bottom: 5px; }
.step-track { display: grid; gap: 6px; grid-template-columns: repeat(3, 1fr); }
.step-track i { background: #dfe3dd; border-radius: 999px; height: 4px; }
.step-track i.is-complete { background: var(--green); }
.selected-context { align-items: center; display: flex; gap: 12px; margin-bottom: 13px; padding: 13px; }
.selected-context img, .selected-context .record-logo-fallback { height: 42px; object-fit: contain; width: 42px; }
.selected-context div { min-width: 0; }
.selected-context span, .selected-context strong, .selected-context small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.selected-context span { color: var(--text-muted); font-size: .66rem; }
.selected-context strong { font-size: .83rem; }
.selected-context small { color: var(--text-muted); font-size: .69rem; margin-top: 2px; }
.flow-search { display: grid; gap: 9px; grid-template-columns: 1fr auto; margin-bottom: 14px; }
.selection-list { display: grid; gap: 9px; }
.selection-row { align-items: center; display: flex; gap: 12px; min-height: 68px; padding: 12px 14px; }
.selection-row img, .selection-row .record-logo-fallback { height: 42px; object-fit: contain; width: 42px; }
.selection-row > div { flex: 1; min-width: 0; }
.selection-row strong, .selection-row span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.selection-row strong { font-size: .85rem; }
.selection-row > div > span { color: var(--text-muted); font-size: .7rem; margin-top: 3px; }
.selection-row > .status-badge { flex: 0 0 auto; }
.selection-row > .icon { color: #9fa49e; height: 18px; width: 18px; }
.visit-details-form { display: grid; gap: 11px; }
.detail-group { border: 0; margin: 0; padding: 12px; }
.detail-group legend { color: var(--black); font-family: var(--font-caps); font-size: .73rem; letter-spacing: .06em; padding: 0 4px 7px; text-transform: uppercase; }
.detail-choice { align-items: center; border: 1px solid var(--border); border-radius: 12px; cursor: pointer; display: flex; gap: 11px; margin-top: 8px; min-height: 54px; padding: 10px 12px; transition: background .15s, border-color .15s; }
.detail-choice input { height: 1px; min-height: 0; opacity: 0; pointer-events: none; position: absolute; width: 1px; }
.choice-check { align-items: center; background: #edf0ec; border-radius: 9px; color: transparent; display: flex; flex: 0 0 auto; font-weight: 700; height: 30px; justify-content: center; width: 30px; }
.detail-choice:has(input:checked) { background: var(--green-soft); border-color: #a9dfb2; color: #176f27; }
.detail-choice input:focus-visible + .choice-check { outline: 3px solid rgba(53,180,74,.25); outline-offset: 2px; }
.detail-choice input:checked + .choice-check { background: var(--green); color: var(--white); }
.flow-submit { background: linear-gradient(to top, var(--bg) 78%, rgba(245,246,244,0)); bottom: 0; margin: 0 -18px -40px; padding: 28px 18px calc(16px + env(safe-area-inset-bottom)); position: sticky; z-index: 10; }
.flow-submit p { color: var(--text-muted); font-size: .68rem; margin: 8px 0 0; text-align: center; }
.day-groups { display: grid; gap: 18px; }
.day-groups > section > h2 { color: var(--text-muted); font-family: var(--font-caps); font-size: .7rem; letter-spacing: .08em; margin: 0 0 8px 3px; text-transform: uppercase; }
.visit-record { padding: 13px; }
.visit-hero { margin-bottom: 10px; }
.visit-meta .employee-detail-list { margin-bottom: 0; }
.section-heading { margin: 22px 2px 12px; }
.section-heading h2 { font-family: var(--font-caps); font-size: 1.18rem; margin: 0; text-transform: uppercase; }
.visit-detail-groups { display: grid; gap: 10px; }
.visit-detail-groups .section-heading { margin-bottom: 2px; }
.readonly-detail-group h3 { font-family: var(--font-caps); font-size: .76rem; letter-spacing: .05em; margin-bottom: 11px; text-transform: uppercase; }
.readonly-detail-group > div { align-items: center; border-top: 1px solid #edf0ec; display: flex; font-size: .82rem; gap: 10px; padding: 10px 0; }
.readonly-detail-group > div:first-of-type { border-top: 0; padding-top: 0; }
.readonly-check { align-items: center; background: var(--green-soft); border-radius: 50%; color: var(--green-dark); display: flex; flex: 0 0 auto; font-size: .7rem; font-weight: 700; height: 24px; justify-content: center; width: 24px; }
.profile-links { margin-bottom: 14px; }
.profile-links .placeholder-icon { height: 42px; width: 42px; }
.profile-logout { margin-bottom: 10px; }

.error-page { align-items: center; background: var(--bg); display: flex; justify-content: center; min-height: 100vh; padding: 24px; }
.error-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); max-width: 470px; padding: 42px; text-align: center; width: 100%; }
.error-logo { height: 38px; margin: 0 auto 28px; width: auto; }
.error-card .status-badge { margin-bottom: 14px; }
.error-card h1 { font-family: var(--font-caps); font-size: 1.65rem; text-transform: uppercase; }
.error-card p { color: var(--text-muted); margin-bottom: 26px; }

@media (min-width: 760px) {
  .auth-shell { grid-template-columns: minmax(0, 1.08fr) minmax(420px, .92fr); }
  .auth-intro { display: flex; flex-direction: column; justify-content: space-between; }
  .employee-content { padding-left: 28px; padding-right: 28px; }
  .employee-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .employee-grid .card-wide { grid-column: 1 / -1; }
  .employee-filter { align-items: center; grid-template-columns: 1fr auto; }
  .employee-filter .status-chips { grid-column: 1 / -1; }
}

@media (max-width: 1120px) {
  .admin-dashboard-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .filter-bar { flex-wrap: wrap; }
  .filter-action { margin-left: 0; }
  .row-actions { align-items: stretch; flex-direction: column; }
  .row-actions .btn { width: 100%; }
}

@media (max-width: 900px) {
  .admin-sidebar { box-shadow: var(--shadow-md); transform: translateX(-102%); transition: transform .2s ease; }
  .admin-main { margin-left: 0; }
  .sidebar-toggle { display: inline-flex; }
  .sidebar-open .admin-sidebar { transform: translateX(0); }
  .sidebar-open .admin-overlay { background: rgba(24,24,24,.32); display: block; inset: 0; position: fixed; z-index: 45; }
  .admin-wide-grid { grid-template-columns: 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .admin-topbar { height: 70px; padding: 0 16px; }
  .admin-content { padding: 20px 16px 40px; }
  .admin-identity span { display: none; }
  .admin-dashboard-grid { grid-template-columns: 1fr; }
  .toolbar { align-items: stretch; flex-direction: column; }
  .filter-bar { align-items: stretch; flex-direction: column; }
  .filter-bar .search-field, .filter-bar select, .filter-action { max-width: none; width: 100%; }
  .filter-bar .search-field { flex: none; }
  .compact-table thead { display: none; }
  .compact-table, .compact-table tbody, .compact-table tr, .compact-table td { display: block; width: 100%; }
  .compact-table tr { border: 1px solid var(--border); border-radius: var(--radius-md); margin-bottom: 10px; padding: 10px 13px; }
  .compact-table td { border: 0; padding: 3px 0; text-align: left !important; white-space: normal; }
  .compact-table td::before { color: var(--text-muted); content: attr(data-label) ": "; font-size: .7rem; font-weight: 600; }
  .compact-table td:first-child::before { display: none; }
  .row-actions { flex-direction: row; justify-content: flex-start; padding-top: 5px; }
  .row-actions .btn { width: auto; }
  .form-grid { grid-template-columns: 1fr; }
  .field-span-2 { grid-column: auto; }
  .admin-form { padding: 20px; }
  .detail-header { align-items: flex-start; flex-direction: column; }
  .detail-actions { flex-wrap: wrap; width: 100%; }
  .detail-list > div { grid-template-columns: 1fr; gap: 3px; }
  .detail-list dd { text-align: left; }
  .detail-footer-actions { align-items: stretch; flex-direction: column; gap: 14px; }
  .pagination { align-items: flex-start; flex-direction: column; gap: 10px; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* Calendars and analytics */
.range-filter { align-items: center; display: flex; flex-wrap: wrap; gap: 10px 16px; margin-bottom: 18px; }
.range-presets { display: flex; flex-wrap: wrap; gap: 7px; }
.range-presets .pill { background: #ecefec; color: var(--text-muted); }
.range-presets .pill.is-active { background: var(--green); color: var(--white); }
.range-label { color: var(--text-muted); font-size: .75rem; margin-left: auto; }
.custom-range { align-items: end; display: flex; flex-wrap: wrap; gap: 8px; width: 100%; }
.custom-range label { color: var(--text-muted); font-size: .68rem; }
.custom-range input { display: block; margin-top: 4px; min-height: 38px; width: 155px; }
.calendar-card { padding: 18px; }
.calendar-filters select, .analytics-filter select { flex: 0 1 230px; max-width: 230px; min-width: 0; }
.calendar-title, .week-navigation { align-items: center; display: flex; justify-content: space-between; }
.calendar-title { margin-bottom: 16px; }
.calendar-title h2 { font-family: var(--font-caps); font-size: 1.05rem; margin: 0; text-transform: uppercase; }
.calendar-arrow { align-items: center; background: var(--surface-muted); border-radius: 50%; color: var(--green-dark); display: flex; font-weight: 700; height: 34px; justify-content: center; width: 34px; }
.calendar-weekdays, .month-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.calendar-weekdays span { color: var(--text-muted); font-size: .63rem; font-weight: 700; padding: 5px; text-align: center; text-transform: uppercase; }
.month-grid { border-left: 1px solid var(--border); border-top: 1px solid var(--border); }
.calendar-day { border-bottom: 1px solid var(--border); border-right: 1px solid var(--border); color: var(--black); min-height: 76px; padding: 8px; position: relative; }
.calendar-day > span { align-items: center; border-radius: 50%; display: flex; font-size: .76rem; height: 25px; justify-content: center; width: 25px; }
.calendar-day b { color: var(--green-dark); display: block; font-size: .62rem; margin-top: 8px; }
.calendar-day.is-today > span { box-shadow: inset 0 0 0 1px var(--green); color: var(--green-dark); }
.calendar-day.is-selected { background: var(--green-soft); }
.calendar-day.is-selected > span { background: var(--green); color: var(--white); }
.calendar-day.is-empty { background: #fafbfa; }
.employee-calendar { margin-bottom: 20px; }
.employee-calendar .calendar-day { aspect-ratio: 1; min-height: 0; padding: 5px; }
.employee-calendar .calendar-day b { align-items: center; background: var(--green); border-radius: 50%; color: white; display: flex; font-size: .56rem; height: 18px; justify-content: center; margin: 2px auto 0; width: 18px; }
.calendar-day-section .section-heading p { color: var(--text-muted); font-size: .72rem; margin: 4px 0 0; }
.calendar-layout { display: grid; gap: 18px; grid-template-columns: minmax(0, 1.5fr) minmax(280px, .8fr); }
.calendar-activity { align-self: start; }
.calendar-visit-list { display: grid; }
.calendar-visit-row { align-items: center; border-top: 1px solid var(--border); display: grid; gap: 12px; grid-template-columns: 44px minmax(0, 1fr) auto; padding: 12px 0; }
.calendar-visit-row:first-child { border-top: 0; padding-top: 0; }
.calendar-time { color: var(--green-dark); font-size: .74rem; font-weight: 700; }
.calendar-visit-row strong, .calendar-visit-row span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.calendar-visit-row strong { font-size: .78rem; }
.calendar-visit-row span { color: var(--text-muted); font-size: .68rem; margin-top: 3px; }
.week-navigation { margin-bottom: 15px; }
.week-navigation strong { font-size: .82rem; }
.weekly-matrix th:first-child { width: 25%; }
.weekly-matrix th:not(:first-child), .weekly-matrix td:not(:first-child) { text-align: center; }
.weekly-matrix th span { display: block; font-size: .63rem; margin-top: 2px; }
.matrix-count { align-items: center; background: var(--green-soft); border-radius: 50%; color: var(--green-dark); display: inline-flex; font-size: .7rem; font-weight: 700; height: 29px; justify-content: center; width: 29px; }
.matrix-empty { color: #c3c8c2; }
.matrix-activity { margin-top: 18px; }
.dashboard-panels > .dashboard-span { grid-column: 1 / -1; }
.chart-card { min-width: 0; }
.trend-chart { align-items: end; display: flex; gap: 5px; height: 230px; padding-top: 26px; }
.trend-column { align-items: center; display: flex; flex: 1 1 0; flex-direction: column; height: 100%; justify-content: end; min-width: 0; position: relative; }
.trend-column i { background: linear-gradient(180deg, var(--green), #9bdd9f); border-radius: 5px 5px 2px 2px; display: block; height: var(--bar-height); min-height: 3px; width: min(22px, 75%); }
.trend-column small { color: var(--text-muted); font-size: .55rem; margin-top: 6px; overflow: hidden; text-align: center; text-overflow: ellipsis; white-space: nowrap; width: 100%; }
.trend-value { color: var(--text-muted); font-size: .58rem; margin-bottom: 3px; }
.coverage-ring { background: conic-gradient(var(--green) 0 var(--coverage, 74%), #e9ece7 var(--coverage, 74%)); flex-direction: column; }
.coverage-ring span { font-size: .55rem; position: relative; z-index: 1; }
.rank-list { display: grid; }
.rank-list > div, .rank-list > a { align-items: center; border-top: 1px solid var(--border); display: flex; gap: 11px; padding: 11px 0; }
.rank-list > div:first-child, .rank-list > a:first-child { border-top: 0; padding-top: 0; }
.rank-list b { align-items: center; background: var(--surface-muted); border-radius: 50%; color: var(--text-muted); display: flex; flex: 0 0 auto; font-size: .65rem; height: 25px; justify-content: center; width: 25px; }
.rank-list span { flex: 1; min-width: 0; }
.rank-list strong, .rank-list small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank-list strong { font-size: .78rem; }
.rank-list small { color: var(--text-muted); font-size: .66rem; margin-top: 2px; }
.rank-list em { color: var(--green-dark); font-size: .72rem; font-style: normal; font-weight: 700; }
.analytics-tabs { overflow: hidden; }
.analytics-tabs a { text-align: center; }
.analytics-table th:first-child { width: 27%; }
.analytics-table td { overflow: visible; }
.analytics-kpis { display: grid; gap: 14px; grid-template-columns: repeat(4, minmax(0,1fr)); margin-bottom: 14px; }
.analytics-kpis article span, .analytics-kpis article small { color: var(--text-muted); display: block; font-size: .7rem; }
.analytics-kpis article strong { display: block; font-size: 1.55rem; margin-top: 7px; }
.analytics-kpis article small { margin-top: 4px; }
.snapshot-note { background: #f0f5ef; border: 1px solid #d9e7d8; border-radius: var(--radius-md); color: #426044; font-size: .72rem; margin-bottom: 18px; padding: 11px 14px; }
.analytics-detail-grid { align-items: start; }

@media (max-width: 900px) {
  .calendar-layout { grid-template-columns: 1fr; }
  .analytics-kpis { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .weekly-matrix thead { display: none; }
  .weekly-matrix, .weekly-matrix tbody, .weekly-matrix tr, .weekly-matrix td { display: block; width: 100%; }
  .weekly-matrix tr { border: 1px solid var(--border); border-radius: var(--radius-md); margin-bottom: 10px; padding: 10px 13px; }
  .weekly-matrix td { border: 0; display: flex; justify-content: space-between; padding: 4px 0; text-align: right !important; white-space: normal; }
  .weekly-matrix td::before { color: var(--text-muted); content: attr(data-label); font-size: .68rem; font-weight: 600; }
  .weekly-matrix td:first-child { display: block; padding-bottom: 8px; text-align: left !important; }
  .weekly-matrix td:first-child::before { display: none; }
}

@media (max-width: 620px) {
  .range-filter { align-items: stretch; flex-direction: column; }
  .range-presets { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); }
  .range-presets .pill { text-align: center; }
  .range-label { margin-left: 0; }
  .custom-range { align-items: stretch; display: grid; grid-template-columns: 1fr 1fr; }
  .custom-range input { width: 100%; }
  .custom-range .btn { grid-column: 1 / -1; }
  .calendar-day { min-height: 53px; padding: 4px; }
  .admin-calendar .calendar-day b { font-size: 0; }
  .admin-calendar .calendar-day b::after { background: var(--green); border-radius: 50%; content: ''; display: block; height: 6px; margin: 5px auto 0; width: 6px; }
  .calendar-filters { display: grid; grid-template-columns: 1fr 1fr; }
  .calendar-filters .search-field, .calendar-filters .btn { grid-column: 1 / -1; }
  .calendar-visit-row { grid-template-columns: 38px minmax(0, 1fr); }
  .calendar-visit-row .btn { grid-column: 2; justify-self: start; }
  .week-navigation strong { font-size: .68rem; text-align: center; }
  .week-navigation .btn { font-size: 0; padding: 7px 10px; }
  .week-navigation .btn:first-child::after { content: '←'; font-size: .9rem; }
  .week-navigation .btn:last-child::after { content: '→'; font-size: .9rem; }
  .trend-chart { height: 185px; }
  .trend-column small { display: none; }
  .trend-value { display: none; }
  .analytics-tabs { display: grid; grid-template-columns: 1fr 1fr; }
  .analytics-tabs a { padding: 9px 5px; }
  .analytics-kpis { grid-template-columns: 1fr 1fr; }
  .status-chips { flex-wrap: wrap; overflow-x: visible; }
  .mobile-record-copy span, .mobile-record-copy strong, .mobile-record-copy small,
  .selected-context span, .selected-context strong, .selected-context small,
  .selection-row strong, .selection-row span,
  .employee-detail-hero h1, .employee-detail-hero p { overflow: visible; text-overflow: clip; white-space: normal; overflow-wrap: anywhere; }
  .mobile-record { align-items: flex-start; }
  .mobile-record > .icon { margin-top: 12px; }
  .greeting-row > div { min-width: 0; }
  .greeting-row h1 { overflow-wrap: anywhere; }
  .list-copy strong, .list-copy span { overflow: visible; text-overflow: clip; white-space: normal; overflow-wrap: anywhere; }
  .metric-card .metric-label { min-height: 32px; padding-right: 38px; }
}
