@font-face { font-family: "Inter"; src: url("fonts/inter-300.ttf") format("truetype"); font-style: normal; font-weight: 300; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-400.ttf") format("truetype"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-500.ttf") format("truetype"); font-style: normal; font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-600.ttf") format("truetype"); font-style: normal; font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-700.ttf") format("truetype"); font-style: normal; font-weight: 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-800.ttf") format("truetype"); font-style: normal; font-weight: 800; font-display: swap; }

:root {
  --navy-950: #101a3a; --navy-900: #172142; --blue-700: #1555d6; --blue-600: #2166eb; --blue-100: #eaf2ff;
  --slate-950: #142039; --slate-700: #43516a; --slate-500: #748099; --slate-300: #cfd7e3; --slate-200: #e3e8f0; --slate-100: #f4f7fb; --surface: #fff;
  --green: #149c72; --green-soft: #e6f7f1; --amber: #cc8309; --amber-soft: #fff4dc; --violet: #7657d6; --violet-soft: #f1edff; --cyan: #168ea2; --cyan-soft: #e7f7fa; --red: #c74652; --red-soft: #fff0f1;
  --shadow-sm: 0 1px 2px rgba(19,35,62,.04), 0 6px 18px rgba(19,35,62,.045); --shadow-lg: 0 24px 70px rgba(6,18,48,.24); --radius: 11px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--slate-950); background: var(--slate-100);
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { background: var(--slate-100); font-size: 13px; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { color: var(--blue-700); }
button, input, select { font: inherit; }
button { cursor: pointer; }
svg { display: block; }

.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 30; width: 256px; padding: 18px 13px 14px; background: #fff; color: var(--slate-950); display: flex; flex-direction: column; border-right: 1px solid var(--slate-200); }
.sidebar-brand { display: flex; align-items: center; gap: 11px; padding: 0 8px 25px; color: var(--slate-950); }
.sidebar-brand:hover { color: var(--slate-950); }
.sidebar-brand strong { display: block; font-size: 20px; letter-spacing: .04em; line-height: 1; }
.sidebar-brand small { display: block; color: var(--slate-500); font-size: 10px; margin-top: 4px; }
.brand-mark { width: 39px; height: 39px; border-radius: 10px; display: grid; place-items: center; flex: 0 0 auto; background: var(--blue-600); box-shadow: 0 7px 18px rgba(33,102,235,.2); }
.brand-mark svg { width: 22px; height: 22px; fill: #fff; }
.brand-mark-large { width: 64px; height: 64px; border-radius: 18px; }
.brand-mark-large svg { width: 36px; height: 36px; }
.main-nav { display: flex; flex-direction: column; gap: 3px; }
.main-nav a { color: #56627a; border-radius: 7px; min-height: 39px; display: flex; align-items: center; gap: 10px; padding: 0 11px; font-size: 12px; font-weight: 600; }
.main-nav a:hover { color: var(--blue-700); background: #f4f7fd; }
.main-nav a.active { color: var(--blue-700); background: #edf4ff; box-shadow: inset 3px 0 0 var(--blue-600); }
.nav-icon { width: 19px; font-size: 15px; text-align: center; opacity: .9; }
.sidebar-status { margin-top: auto; display: flex; gap: 9px; align-items: center; padding: 11px; border: 1px solid #dfe7f0; background: #f8fafc; border-radius: 9px; }
.sidebar-status strong, .sidebar-status small { display: block; }
.sidebar-status strong { font-size: 11px; }
.sidebar-status small { color: var(--slate-500); font-size: 9px; margin-top: 2px; }
.sidebar-version { padding: 10px 11px 0; font-size: 9px; color: #909aae; }

.app-shell { margin-left: 256px; min-height: 100vh; }
.topbar { height: 65px; padding: 0 24px; display: flex; align-items: center; gap: 16px; background: #fff; border-bottom: 1px solid var(--slate-200); position: sticky; top: 0; z-index: 20; }
.topbar-spacer { flex: 1; }
.topbar-actions { margin-left: auto; display: flex; align-items: center; gap: 11px; }
.lan-pill { border: 1px solid #cce9df; color: #187b60; background: #f1fbf7; display: inline-flex; align-items: center; gap: 7px; border-radius: 999px; padding: 6px 10px; font-size: 10px; font-weight: 700; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; flex: 0 0 auto; background: var(--slate-300); }
.status-dot.online { background: #23b783; box-shadow: 0 0 0 3px rgba(35,183,131,.13); }
.user-menu { display: flex; align-items: center; gap: 8px; padding-left: 10px; border-left: 1px solid var(--slate-200); }
.avatar { width: 33px; height: 33px; border-radius: 9px; display: grid; place-items: center; color: #fff; background: linear-gradient(145deg,#476de0,#1d4cb9); font-weight: 760; }
.user-copy strong, .user-copy small { display: block; }
.user-copy strong { font-size: 11px; }
.user-copy small { color: var(--slate-500); font-size: 9px; margin-top: 2px; }
.menu-button { display: none; border: 0; background: none; color: var(--slate-700); font-size: 20px; padding: 4px; }
.content { padding: 18px 20px 42px; max-width: 1640px; margin: 0 auto; }

.page-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 18px; }
.page-heading h1 { margin: 2px 0 4px; font-size: 21px; letter-spacing: -.025em; }
.page-heading p { margin: 0; color: var(--slate-500); font-size: 11px; }
.compact-heading, .dashboard-heading { align-items: center; }
.dashboard-heading h1 { font-size: 20px; }
.heading-actions { display: flex; gap: 8px; align-items: center; }
.dashboard-clock { text-align: right; }
.dashboard-clock strong, .dashboard-clock span { display: block; }
.dashboard-clock strong { font-size: 17px; letter-spacing: .01em; }
.dashboard-clock span { margin-top: 2px; color: var(--slate-500); font-size: 9px; }
.page-heading-meta { background: #fff; border: 1px solid var(--slate-200); border-radius: 8px; padding: 8px 11px; color: var(--slate-700); font-size: 10px; white-space: nowrap; box-shadow: var(--shadow-sm); }
.eyebrow { font-size: 9px; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; }
.text-blue { color: var(--blue-600) !important; }
.text-success { color: var(--green) !important; }
.live-pulse { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 5px; background: #24b784; box-shadow: 0 0 0 3px rgba(36,183,132,.12); }

.origin-metric-grid { display: grid; grid-template-columns: 1.25fr repeat(4,minmax(0,1fr)); gap: 11px; margin-bottom: 12px; }
.origin-stat-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 11px; margin-bottom: 12px; }
.campus-card, .summary-card { border-radius: var(--radius); min-height: 103px; box-shadow: var(--shadow-sm); }
.campus-card { padding: 15px 17px; color: #fff; background: linear-gradient(140deg,#15966f,#19ad7e); position: relative; overflow: hidden; }
.campus-card::after { content: ""; position: absolute; width: 105px; height: 105px; border: 20px solid rgba(255,255,255,.08); border-radius: 50%; right: -35px; bottom: -52px; }
.campus-card span, .campus-card strong, .campus-card small, .summary-card strong, .summary-card small { display: block; }
.live-label { text-transform: uppercase; letter-spacing: .08em; font-size: 8px; font-weight: 800; }
.live-label i { display: inline-block; width: 6px; height: 6px; background: #fff; border-radius: 50%; margin-right: 5px; box-shadow: 0 0 0 3px rgba(255,255,255,.16); }
.campus-card strong { margin-top: 8px; font-size: 27px; line-height: 1; }
.campus-card small { margin-top: 5px; color: rgba(255,255,255,.82); font-size: 9px; }
.summary-card { background: #fff; border: 1px solid var(--slate-200); padding: 14px 15px; position: relative; }
.summary-icon { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 8px; color: var(--blue-700); background: var(--blue-100); font-size: 12px; font-weight: 800; position: absolute; top: 13px; right: 13px; }
.summary-card strong { font-size: 24px; line-height: 1; margin-top: 20px; }
.summary-card small { color: var(--slate-500); margin-top: 7px; font-size: 9px; }
.summary-card.blue { border-top: 3px solid var(--blue-600); }
.summary-card.violet { border-top: 3px solid var(--violet); }.summary-card.violet .summary-icon { color: var(--violet); background: var(--violet-soft); }
.summary-card.cyan { border-top: 3px solid var(--cyan); }.summary-card.cyan .summary-icon { color: var(--cyan); background: var(--cyan-soft); }
.summary-card.amber { border-top: 3px solid var(--amber); }.summary-card.amber .summary-icon { color: var(--amber); background: var(--amber-soft); }
.summary-card.green { border-top: 3px solid var(--green); }.summary-card.green .summary-icon { color: var(--green); background: var(--green-soft); }
.summary-card.slate { border-top: 3px solid #7c899e; }.summary-card.slate .summary-icon { color: #647086; background: #edf1f5; }

.panel { background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius); box-shadow: var(--shadow-sm); margin-bottom: 12px; overflow: hidden; }
.panel-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 15px 17px; border-bottom: 1px solid var(--slate-200); }
.panel-heading.compact { padding: 13px 15px; }
.panel-heading h2 { font-size: 13px; margin: 0 0 3px; letter-spacing: -.01em; }
.panel-heading p { margin: 0; color: var(--slate-500); font-size: 9px; }
.panel-heading > a { font-size: 10px; font-weight: 700; }
.dashboard-main-grid { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(290px,.75fr); gap: 12px; }
.trend-panel, .recent-panel { min-height: 294px; }
.legend { display: flex; align-items: center; gap: 12px; color: var(--slate-500); font-size: 9px; }
.legend span { display: flex; align-items: center; gap: 5px; }.legend i { width: 7px; height: 7px; border-radius: 2px; background: var(--blue-600); }.legend i.exit { background: #b9c7ea; }
.bar-chart { height: 242px; padding: 24px 20px 14px; display: grid; grid-template-columns: repeat(7,1fr); gap: 12px; align-items: end; background: repeating-linear-gradient(to top,transparent 0,transparent 43px,#f0f3f7 44px); }
.chart-day { height: 100%; display: grid; grid-template-rows: 1fr auto auto; align-items: end; justify-items: center; gap: 4px; }
.bars { align-self: stretch; width: 100%; display: flex; align-items: end; justify-content: center; gap: 4px; }
.bar { width: min(15px,34%); border-radius: 3px 3px 1px 1px; min-height: 3px; background: linear-gradient(180deg,#2b72ff,#1657d9); }.bar.exit { background: #bac8e8; }
.h-1{height:5%}.h-2{height:10%}.h-3{height:15%}.h-4{height:20%}.h-5{height:25%}.h-6{height:30%}.h-7{height:35%}.h-8{height:40%}.h-9{height:45%}.h-10{height:50%}.h-11{height:55%}.h-12{height:60%}.h-13{height:65%}.h-14{height:70%}.h-15{height:75%}.h-16{height:80%}.h-17{height:85%}.h-18{height:90%}.h-19{height:95%}.h-20{height:100%}
.chart-day strong { font-size: 9px; }.chart-day small { color: #9ba6b7; font-size: 8px; }
.activity-list { padding: 0 14px; }.activity-item { display: grid; grid-template-columns: 29px 1fr auto; align-items: center; gap: 9px; padding: 10px 0; border-bottom: 1px solid #edf0f4; }.activity-item:last-child { border-bottom: 0; }
.activity-copy strong, .activity-copy small, .activity-meta time { display: block; }.activity-copy strong { font-size: 10px; }.activity-copy small, .activity-meta time { color: var(--slate-500); font-size: 8px; margin-top: 2px; }.activity-meta { text-align: right; }.activity-meta .direction { margin-top: 4px; }
.operations-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.operation-list { padding: 2px 14px 8px; }.site-summary, .status-row { display: flex; align-items: center; justify-content: space-between; gap: 9px; min-height: 54px; border-bottom: 1px solid #edf0f4; }.site-summary:last-child, .status-row:last-child { border-bottom: 0; }.site-summary > div:last-child { text-align: right; }
.site-summary strong, .site-summary small, .status-row strong, .status-row small { display: block; }.site-summary strong, .status-row strong { font-size: 10px; }.site-summary small, .status-row small { margin-top: 3px; color: var(--slate-500); font-size: 8px; }.status-row > div { flex: 1; min-width: 0; }
.compact-empty { padding: 25px 10px !important; font-size: 10px; }.dashboard-events { margin-top: 0; }

.table-wrap { overflow-x: auto; } table { width: 100%; border-collapse: collapse; }
th { text-align: left; padding: 10px 15px; color: var(--slate-500); background: #fafbfd; border-bottom: 1px solid var(--slate-200); font-size: 8px; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
td { padding: 11px 15px; border-bottom: 1px solid #edf0f4; color: var(--slate-700); font-size: 10px; vertical-align: middle; } tbody tr:last-child td { border-bottom: 0; } tbody tr:hover { background: #fbfcfe; } td strong { color: var(--slate-950); }
.nowrap { white-space: nowrap; }.block { display: block; color: var(--slate-500); margin-top: 3px; }.muted { color: var(--slate-500); }
.person-cell { display: flex; align-items: center; gap: 8px; }.person-cell strong, .person-cell small { display: block; }.person-cell small { color: var(--slate-500); margin-top: 2px; }
.mini-avatar { width: 29px; height: 29px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 8px; color: var(--blue-700); background: var(--blue-100); font-size: 10px; font-weight: 800; text-transform: uppercase; }.mini-avatar.unknown { color: var(--amber); background: var(--amber-soft); }
.direction, .tag, .evidence, .status-label { display: inline-flex; align-items: center; border-radius: 999px; padding: 4px 7px; font-size: 8px; font-weight: 700; white-space: nowrap; }
.direction.in { color: #13795b; background: var(--green-soft); }.direction.out { color: #6440c2; background: var(--violet-soft); }.tag { color: #4c5b73; background: #edf1f6; }.evidence { color: #3f5a96; background: #edf3ff; }
.status-label { gap: 5px; color: #4d5a70; background: #edf1f5; }.status-label i { width: 5px; height: 5px; border-radius: 50%; background: #8793a5; }.status-label.healthy { color: #16795d; background: var(--green-soft); }.status-label.healthy i { background: #22aa7d; }.status-label.offline { color: #a2464f; background: var(--red-soft); }.status-label.offline i { background: var(--red); }
.empty-state { text-align: center; padding: 38px 17px !important; color: var(--slate-500); }.empty-state strong, .empty-state span { display: block; }.empty-state strong { color: var(--slate-700); margin-bottom: 5px; }.table-action { font-weight: 700; }
code { font-family: ui-monospace,SFMono-Regular,Menlo,Consolas,monospace; color: #35517e; font-size: 9px; }

.button { min-height: 33px; border-radius: 7px; border: 1px solid transparent; padding: 7px 11px; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 10px; transition: .15s ease; }.button:hover { transform: translateY(-1px); }.button-primary { background: var(--blue-600); color: #fff; box-shadow: 0 6px 15px rgba(29,99,237,.2); }.button-primary:hover { color: #fff; background: var(--blue-700); }.button-secondary { color: var(--slate-700); background: #fff; border-color: var(--slate-300); }.button-secondary:hover { color: var(--slate-950); background: var(--slate-100); }.button-quiet { color: var(--slate-500); background: transparent; }.button-quiet:hover { color: var(--slate-950); background: var(--slate-100); }.button-wide { width: 100%; min-height: 43px; font-size: 12px; }.button.disabled { pointer-events: none; opacity: .4; }
.filter-panel { padding: 13px; overflow: visible; }.filter-grid { display: grid; grid-template-columns: minmax(190px,1.4fr) repeat(4,minmax(115px,.8fr)) auto; gap: 9px; align-items: end; }.search-form { display: flex; align-items: end; gap: 9px; }.grow { flex: 1; }
label { display: block; color: var(--slate-700); font-size: 9px; font-weight: 700; } input, select { width: 100%; margin-top: 5px; min-height: 37px; padding: 8px 10px; border: 1px solid var(--slate-300); border-radius: 7px; color: var(--slate-950); background: #fff; outline: none; transition: border .15s,box-shadow .15s; } input:focus, select:focus { border-color: var(--blue-600); box-shadow: 0 0 0 3px rgba(29,99,237,.1); } input::placeholder { color: #a2acbb; }
textarea { width:100%; margin-top:5px; min-height:64px; resize:vertical; padding:9px 10px; border:1px solid var(--slate-300); border-radius:7px; color:var(--slate-950); background:#fff; outline:none; font:inherit; } textarea:focus { border-color:var(--blue-600); box-shadow:0 0 0 3px rgba(29,99,237,.1); } label b { color:#e53e4f; }
.form-panel { padding: 22px; }.form-stack { display: flex; flex-direction: column; gap: 15px; }.wide-form { max-width: 760px; }.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }.check-row { display: flex; align-items: center; gap: 8px; font-size: 10px; }.check-row input { width: 16px; min-height: 16px; margin: 0; }.form-actions { display: flex; gap: 8px; padding-top: 6px; }.optional { color: #98a3b4; font-weight: 500; }
.alert { border-radius: 8px; padding: 10px 12px; margin-bottom: 14px; font-size: 10px; }.alert-error { color: #a23440; border: 1px solid #facdd1; background: var(--red-soft); }.pagination { padding: 13px 18px; border-top: 1px solid var(--slate-200); display: flex; justify-content: center; align-items: center; gap: 12px; color: var(--slate-500); font-size: 9px; }
.identity-modal-backdrop { display:grid; place-items:start center; padding:8px 0 40px; }.identity-modal { width:min(760px,100%); background:#fff; border:1px solid var(--slate-200); border-radius:12px; padding:20px; box-shadow:var(--shadow-lg); }.identity-modal-head { display:flex; align-items:flex-start; justify-content:space-between; gap:20px; margin-bottom:16px; }.identity-modal-head h2 { margin:0 0 4px; font-size:18px; }.identity-modal-head p { margin:0; color:var(--slate-500); font-size:10px; }.modal-close { color:#9aa5b5; font-size:24px; line-height:1; }.identity-form { display:flex; flex-direction:column; gap:14px; }.full-width { grid-column:1/-1; }.enrollment-strip { display:grid; grid-template-columns:repeat(3,1fr); gap:1px; margin:0 0 16px; border:1px solid var(--slate-200); border-radius:8px; overflow:hidden; background:var(--slate-200); }.enrollment-strip div { padding:10px 12px; background:#fafbfd; }.enrollment-strip span,.enrollment-strip strong { display:block; }.enrollment-strip span { color:var(--slate-500); font-size:8px; }.enrollment-strip strong { margin-top:4px; font-size:10px; }.edge-enrollment-help { padding:12px; border:1px solid #cfe0ff; border-radius:8px; background:#f5f8ff; }.edge-enrollment-help strong { font-size:10px; }.edge-enrollment-help p { color:var(--slate-600); font-size:9px; line-height:1.5; }.edge-enrollment-help code { display:block; overflow:auto; padding:8px; border-radius:6px; background:#fff; }.modal-actions { justify-content:flex-end; border-top:1px solid var(--slate-200); padding-top:14px; }.button-success { background:#159a72; color:#fff; }.button-danger { color:#a12d3a; border-color:#efc5ca; background:#fff6f7; }

.edge-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }.edge-card { padding: 0; }.edge-card-head { display: flex; align-items: center; gap: 11px; padding: 16px; border-bottom: 1px solid var(--slate-200); }.edge-card-head h2 { margin: 0 0 3px; font-size: 13px; }.edge-card-head p { margin: 0; color: var(--slate-500); font-size: 9px; }.edge-card-head .status-label { margin-left: auto; }.edge-device { width: 38px; height: 38px; border-radius: 10px; background: var(--navy-900); color: #fff; display: grid; place-items: center; font-weight: 850; }.edge-stats { display: grid; grid-template-columns: repeat(3,1fr); padding: 15px 17px; border-bottom: 1px solid var(--slate-200); }.edge-stats > div { border-right: 1px solid var(--slate-200); padding-left: 12px; }.edge-stats > div:first-child { padding-left: 0; }.edge-stats > div:last-child { border: 0; }.edge-stats span, .edge-stats strong, .edge-stats small { display: block; }.edge-stats span { color: var(--slate-500); font-size: 8px; }.edge-stats strong { font-size: 11px; margin-top: 4px; }.edge-stats small { color: var(--slate-500); font-size: 8px; margin-top: 3px; }.camera-list { padding: 15px 17px 17px; }.camera-list h3 { margin: 0 0 7px; font-size: 9px; color: var(--slate-500); text-transform: uppercase; letter-spacing: .08em; }.camera-list > div { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; }.camera-icon { color: var(--blue-600); margin-right: 6px; font-size: 6px; }

.login-body { background: var(--navy-950); min-height: 100vh; color: #fff; position: relative; overflow-x: hidden; }.login-body::before { content: ""; position: fixed; inset: 0; opacity: .24; background-image: radial-gradient(circle at center,#7180ab 1px,transparent 1.5px); background-size: 30px 30px; mask-image: linear-gradient(90deg,#000,transparent 80%); }.login-shell { min-height: calc(100vh - 45px); max-width: 1040px; margin: 0 auto; padding: 70px 30px 40px; display: grid; grid-template-columns: 1fr 440px; align-items: center; gap: 90px; position: relative; z-index: 1; }
.login-brand h1 { font-size: clamp(36px,5vw,58px); line-height: 1.02; max-width: 500px; margin: 22px 0 10px; letter-spacing: -.05em; }.login-brand > p:not(.eyebrow) { color: #aab6d3; font-size: 20px; margin: 0; }.login-brand .eyebrow { color: #7d91c2; margin-top: 35px; }.login-assurance { display: inline-flex; align-items: center; gap: 8px; color: #9cabce; border: 1px solid rgba(255,255,255,.1); border-radius: 999px; padding: 8px 12px; margin-top: 35px; font-size: 11px; }.login-assurance span { width: 7px; height: 7px; background: #30c58e; border-radius: 50%; box-shadow: 0 0 0 4px rgba(48,197,142,.12); }
.login-card { color: var(--slate-950); background: #fff; border-radius: 20px; padding: 36px; box-shadow: var(--shadow-lg); }.login-heading { margin-bottom: 24px; }.login-heading h2 { font-size: 28px; margin: 5px 0; letter-spacing: -.03em; }.login-heading p:last-child { color: var(--slate-500); margin: 0; font-size: 12px; }.mobile-brand { display: none; }.login-help { text-align: center; color: var(--slate-500); font-size: 10px; margin: 20px 0 0; }.login-footer { position: relative; z-index: 1; text-align: center; color: #60709a; font-size: 10px; height: 45px; }.sidebar-scrim { display: none; }

@media (max-width:1180px) { .origin-metric-grid { grid-template-columns: repeat(3,1fr); }.operations-grid { grid-template-columns: 1fr 1fr; }.filter-grid { grid-template-columns: repeat(3,1fr); } }
@media (max-width:900px) { .sidebar { transform: translateX(-100%); transition: transform .2s ease; box-shadow: 8px 0 30px rgba(12,22,49,.12); }.app-shell { margin-left: 0; }.menu-button { display: block; }.menu-open .sidebar { transform: translateX(0); }.menu-open .sidebar-scrim { display: block; position: fixed; inset: 0; z-index: 25; background: rgba(6,13,31,.48); }.topbar { padding: 0 16px; }.content { padding: 17px 16px 38px; }.lan-pill,.user-copy { display:none; }.dashboard-main-grid,.edge-grid { grid-template-columns:1fr; }.origin-stat-grid { grid-template-columns:repeat(2,1fr); }.login-shell { grid-template-columns:1fr; max-width:490px; padding-top:40px; }.login-brand { display:none; }.mobile-brand { display:flex; align-items:center; gap:10px; margin-bottom:28px; }.login-card { padding:28px; } }
@media (max-width:650px) { .topbar-actions { gap:4px; }.avatar { display:none; }.page-heading { align-items:flex-start; flex-direction:column; }.dashboard-clock { text-align:left; }.heading-actions { flex-wrap:wrap; }.origin-metric-grid,.origin-stat-grid,.operations-grid,.filter-grid,.form-grid,.enrollment-strip { grid-template-columns:1fr; }.full-width { grid-column:auto; }.search-form { align-items:stretch; flex-direction:column; }.filter-grid .button { width:100%; }.bar-chart { gap:4px; padding-inline:10px; }.edge-stats { grid-template-columns:1fr; gap:9px; }.edge-stats > div { border:0; border-bottom:1px solid var(--slate-200); padding:0 0 9px; }.edge-stats > div:last-child { padding:0; }.modal-actions { flex-wrap:wrap; }.modal-actions .button { flex:1; } }

/* CFAS readability adjustment — 2026-09-05 */
body { font-size: 15px; }

.sidebar-brand small { font-size: 12px; }
.main-nav a { font-size: 14px; min-height: 44px; }
.sidebar-status strong { font-size: 13px; }
.sidebar-status small,
.sidebar-version { font-size: 11px; }

.lan-pill { font-size: 12px; }
.user-copy strong { font-size: 13px; }
.user-copy small { font-size: 11px; }

.page-heading h1,
.dashboard-heading h1 { font-size: 25px; }
.page-heading p { font-size: 14px; }
.dashboard-clock strong { font-size: 20px; }
.dashboard-clock span,
.page-heading-meta { font-size: 12px; }
.eyebrow { font-size: 11px; }

.live-label { font-size: 10px; }
.campus-card small,
.summary-card small { font-size: 12px; }

.panel-heading h2 { font-size: 16px; }
.panel-heading p { font-size: 12px; }
.panel-heading > a { font-size: 13px; }
.legend { font-size: 11px; }

.chart-day strong { font-size: 12px; }
.chart-day small { font-size: 10px; }
.activity-copy strong { font-size: 13px; }
.activity-copy small,
.activity-meta time { font-size: 11px; }
.site-summary strong,
.status-row strong { font-size: 13px; }
.site-summary small,
.status-row small { font-size: 11px; }
.compact-empty { font-size: 13px; }

th { font-size: 11px; }
td { font-size: 13px; }
.direction,
.tag,
.evidence,
.status-label { font-size: 11px; }
code { font-size: 12px; }

.button { min-height: 38px; font-size: 13px; }
.button-wide { min-height: 46px; font-size: 15px; }

label { font-size: 12px; }
input,
select { min-height: 42px; font-size: 15px; }
textarea { font-size: 15px; }
.check-row,
.alert { font-size: 13px; }
.pagination { font-size: 12px; }

.identity-modal-head h2 { font-size: 22px; }
.identity-modal-head p { font-size: 13px; }
.enrollment-strip span { font-size: 11px; }
.enrollment-strip strong { font-size: 13px; }
.edge-enrollment-help strong { font-size: 13px; }
.edge-enrollment-help p { font-size: 12px; }

.edge-card-head h2 { font-size: 16px; }
.edge-card-head p { font-size: 12px; }
.edge-stats span,
.edge-stats small { font-size: 11px; }
.edge-stats strong { font-size: 14px; }
.camera-list h3 { font-size: 11px; }

.login-heading p:last-child { font-size: 14px; }
.login-help,
.login-footer { font-size: 12px; }

/* CFAS Central v0.3.2 reporting */
.report-filter-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(130px, .8fr)) minmax(210px, 1.3fr) auto;
  gap: 10px;
  align-items: end;
}
.report-period {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 2px 2px 12px;
  color: var(--slate-500);
}
.report-period span {
  font-size: 12px;
  font-weight: 700;
}
.report-period strong {
  color: var(--slate-950);
  font-size: 14px;
}
.report-period small {
  margin-left: auto;
  font-size: 11px;
}
.report-summary-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 11px;
  margin-bottom: 12px;
}
.summary-card.red {
  border-top: 3px solid var(--red);
}
.summary-card.red .summary-icon {
  color: var(--red);
  background: var(--red-soft);
}
@media (max-width: 1250px) {
  .report-filter-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .report-summary-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 650px) {
  .report-filter-grid,
  .report-summary-grid {
    grid-template-columns: 1fr;
  }
  .report-period {
    align-items: flex-start;
    flex-direction: column;
  }
  .report-period small {
    margin-left: 0;
  }
}

/* CFAS Central v0.3.2 Origin-aligned reporting */
.report-filter-panel {
  padding: 15px;
  overflow: visible;
}
.report-quick-ranges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 13px;
  padding-top: 12px;
  border-top: 1px solid var(--slate-200);
}
.report-quick-ranges span {
  color: var(--slate-500);
  font-size: 12px;
  font-weight: 700;
}
.report-quick-ranges a {
  padding: 7px 12px;
  border-radius: 7px;
  color: var(--blue-700);
  background: var(--blue-100);
  font-size: 12px;
  font-weight: 700;
}
.report-quick-ranges a:hover {
  color: #fff;
  background: var(--blue-600);
}
.report-tabs {
  display: flex;
  gap: 28px;
  margin: 4px 0 12px;
  padding: 0 4px;
  border-bottom: 1px solid var(--slate-200);
}
.report-tabs a {
  padding: 11px 2px 10px;
  border-bottom: 2px solid transparent;
  color: var(--slate-600);
  font-size: 13px;
  font-weight: 700;
}
.report-tabs a:hover {
  color: var(--blue-700);
  border-bottom-color: var(--blue-600);
}
.report-insight-grid {
  display: grid;
  grid-template-columns: minmax(300px, .8fr) minmax(500px, 1.2fr);
  gap: 12px;
}
.report-quality-body {
  padding: 18px;
}
.quality-stat {
  display: inline-flex;
  flex-direction: column;
  min-width: 45%;
  margin-bottom: 18px;
}
.quality-stat strong {
  color: var(--slate-950);
  font-size: 27px;
}
.quality-stat span {
  margin-top: 4px;
  color: var(--slate-500);
  font-size: 12px;
}
.quality-progress {
  display: grid;
  gap: 8px;
}
.quality-progress > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--slate-700);
  font-size: 12px;
}
.quality-progress i {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 7px;
  border-radius: 50%;
}
.recognized-dot {
  background: var(--blue-600);
}
.unknown-dot {
  background: var(--amber);
}
.unverified-dot {
  background: var(--red);
}
.quality-progress progress {
  width: 100%;
  height: 8px;
  margin-bottom: 5px;
  border: 0;
  border-radius: 999px;
  overflow: hidden;
  background: var(--slate-200);
}
.quality-progress progress::-webkit-progress-bar {
  background: var(--slate-200);
}
.quality-progress progress::-webkit-progress-value {
  background: var(--blue-600);
}
.quality-progress progress::-moz-progress-bar {
  background: var(--blue-600);
}
.report-trend-scroll {
  overflow-x: auto;
}
.report-trend-chart {
  min-width: 760px;
  height: 280px;
  display: grid;
  grid-template-columns: repeat(31, minmax(22px, 1fr));
  align-items: end;
  gap: 5px;
  padding: 25px 20px 16px;
  background: repeating-linear-gradient(
    to top,
    transparent 0,
    transparent 51px,
    #edf1f5 52px
  );
}
.report-trend-day {
  height: 100%;
  display: grid;
  grid-template-rows: 1fr auto auto;
  align-items: end;
  justify-items: center;
  gap: 3px;
}
.report-trend-bars {
  align-self: stretch;
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 2px;
  width: 100%;
}
.report-trend-bars .bar {
  width: min(10px, 42%);
}
.report-trend-bars .h-0 {
  height: 0;
  min-height: 0;
}
.report-trend-day strong {
  font-size: 11px;
}
.report-trend-day small {
  color: var(--slate-500);
  font-size: 9px;
}
.report-boundary-note {
  padding: 14px 16px;
  border: 1px solid #cfe0ff;
  border-radius: var(--radius);
  color: #35517e;
  background: #f5f8ff;
}
.report-boundary-note strong {
  font-size: 13px;
}
.report-boundary-note p {
  margin: 4px 0 0;
  font-size: 12px;
  line-height: 1.5;
}
@media (max-width: 1050px) {
  .report-insight-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 650px) {
  .report-tabs {
    gap: 15px;
    overflow-x: auto;
  }
  .report-tabs a {
    white-space: nowrap;
  }
  .quality-stat {
    display: flex;
    min-width: 0;
  }
}

/* CFAS Central v0.3.3 user directory alignment */
.directory-stat-grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:11px; margin-bottom:12px; }
.directory-filter-panel { padding:13px; overflow:visible; }
.directory-filter-grid { display:grid; grid-template-columns:minmax(240px,1.8fr) repeat(4,minmax(130px,.8fr)) auto auto; align-items:end; gap:9px; }
.directory-actions { display:flex; align-items:center; gap:12px; white-space:nowrap; }
.directory-pagination { justify-content:space-between; }
.directory-pagination > div { display:flex; gap:7px; }
.face-indicator { display:inline-grid; width:21px; height:21px; place-items:center; border-radius:50%; color:#fff; background:#9aa5b5; font-weight:850; }
.face-indicator.enrolled { background:var(--green); }
.profile-back { margin-bottom:13px; font-weight:700; }
.profile-hero { display:flex; align-items:center; gap:16px; padding:6px 2px 18px; }
.profile-avatar { width:68px; height:68px; flex:0 0 auto; display:grid; place-items:center; border-radius:50%; color:#fff; background:linear-gradient(145deg,var(--blue-600),var(--violet)); box-shadow:var(--shadow-lg); font-size:24px; font-weight:850; text-transform:uppercase; }
.profile-identity h1 { margin:0; font-size:25px; }.profile-identity p { margin:3px 0 7px; color:var(--slate-500); }.profile-tags { display:flex; flex-wrap:wrap; gap:6px; }.profile-edit { margin-left:auto; }
.profile-tabs { display:flex; gap:28px; margin-bottom:18px; border-bottom:1px solid var(--slate-200); }.profile-tabs a { padding:11px 3px; color:var(--slate-600); font-weight:750; border-bottom:2px solid transparent; }.profile-tabs a.active { color:var(--blue-700); border-color:var(--blue-600); }.profile-tabs span { margin-left:4px; color:var(--slate-500); font-size:11px; }
.profile-layout { display:grid; grid-template-columns:minmax(0,1.65fr) minmax(300px,.75fr); gap:12px; align-items:start; }.profile-card { margin-bottom:12px; }.profile-card .panel-heading h2 { margin:0; }
.profile-data-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px 34px; margin:0; padding:20px; }.profile-data-grid > div.wide { grid-column:1/-1; }.profile-data-grid dt,.profile-enrolment dt { color:var(--slate-500); font-size:11px; }.profile-data-grid dd,.profile-enrolment dd { margin:5px 0 0; color:var(--slate-950); font-weight:700; }.profile-data-grid dd small { display:block; margin-top:3px; color:var(--slate-500); font-weight:500; }
.profile-enrolment { padding:22px; text-align:center; }.enrolment-symbol { width:46px; height:46px; margin:0 auto 11px; display:grid; place-items:center; border-radius:50%; color:#9a6800; background:var(--amber-soft); font-size:20px; font-weight:850; }.enrolment-symbol.ready { color:#15765a; background:var(--green-soft); }.profile-enrolment > strong { font-size:17px; }.profile-enrolment > p { color:var(--slate-500); }.profile-enrolment dl { margin:18px 0 0; text-align:left; }.profile-enrolment dl div { padding:10px 0; border-top:1px solid var(--slate-200); }.profile-enrolment dl dd { overflow-wrap:anywhere; }.profile-enrolment .privacy-note { margin:14px 0 0; padding:11px; border-radius:7px; color:var(--slate-600); background:var(--slate-100); font-size:11px; line-height:1.5; text-align:left; }
.profile-stat-grid { display:grid; grid-template-columns:repeat(3,1fr); padding:18px; }.profile-stat-grid div { text-align:center; border-right:1px solid var(--slate-200); }.profile-stat-grid div:last-child { border:0; }.profile-stat-grid strong,.profile-stat-grid small { display:block; }.profile-stat-grid strong { font-size:22px; }.profile-stat-grid small { margin-top:4px; color:var(--slate-500); font-size:11px; }.profile-panel-link { display:block; padding:13px 17px; border-top:1px solid var(--slate-200); font-weight:700; }.profile-summary-grid { max-width:900px; }
@media (max-width:1250px) { .directory-filter-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }.directory-search { grid-column:span 2; } }
@media (max-width:1000px) { .directory-stat-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }.profile-layout { grid-template-columns:1fr; } }
@media (max-width:650px) { .directory-stat-grid,.directory-filter-grid,.profile-data-grid { grid-template-columns:1fr; }.directory-search,.profile-data-grid > div.wide { grid-column:auto; }.directory-pagination,.profile-hero { align-items:flex-start; flex-direction:column; }.profile-edit { margin-left:0; }.profile-tabs { gap:14px; overflow-x:auto; }.profile-avatar { width:56px; height:56px; } }

/* CFAS Central v0.3.3 enrolment management */
.profile-back-link { display:inline-block; margin-bottom:7px; font-weight:700; }
.enrollment-status-banner { display:flex; align-items:center; gap:13px; margin-bottom:12px; padding:16px 18px; border:1px solid #f2d9a0; border-radius:var(--radius); background:#fffaf0; }.enrollment-status-banner.ready { border-color:#bcebd9; background:#f0fcf7; }.enrollment-status-banner strong { display:block; font-size:16px; }.enrollment-status-banner p { margin:4px 0 0; color:var(--slate-600); }.enrollment-banner-icon { width:34px; height:34px; display:grid; place-items:center; flex:0 0 auto; border-radius:50%; color:#9a6800; background:var(--amber-soft); font-weight:900; }.enrollment-status-banner.ready .enrollment-banner-icon { color:#147457; background:#d8f7ea; }.enrollment-banner-count { margin-left:auto; color:var(--slate-700); font-weight:800; white-space:nowrap; }
.enrollment-progress { display:grid; grid-template-columns:repeat(4,1fr); gap:1px; margin-bottom:12px; overflow:hidden; border:1px solid var(--slate-200); border-radius:var(--radius); background:var(--slate-200); }.enrollment-progress > div { position:relative; min-height:96px; padding:16px 14px 14px 52px; background:#fff; }.enrollment-progress span { position:absolute; top:17px; left:15px; width:27px; height:27px; display:grid; place-items:center; border-radius:50%; color:var(--slate-500); background:var(--slate-100); font-weight:850; }.enrollment-progress .complete span { color:#fff; background:var(--green); }.enrollment-progress strong,.enrollment-progress small { display:block; }.enrollment-progress strong { margin-top:2px; }.enrollment-progress small { margin-top:6px; color:var(--slate-500); }
.enrollment-layout { display:grid; grid-template-columns:minmax(320px,.78fr) minmax(0,1.35fr); gap:12px; align-items:start; }.enrollment-card { min-height:410px; }.enrollment-workflow { padding:24px; text-align:center; }.enrollment-device { width:70px; height:70px; margin:4px auto 13px; display:grid; place-items:center; border-radius:18px; color:var(--blue-700); background:var(--blue-100); font-size:30px; }.enrollment-workflow h3 { margin:0; font-size:18px; }.enrollment-workflow > p { max-width:520px; margin:8px auto 15px; color:var(--slate-600); line-height:1.55; }.enrollment-workflow code { display:block; overflow:auto; padding:11px; border:1px solid var(--slate-200); border-radius:7px; background:var(--slate-100); text-align:left; }.enrollment-workflow ul { margin:18px 0; padding-left:21px; color:var(--slate-600); text-align:left; line-height:1.8; }
.template-summary { display:grid; grid-template-columns:repeat(3,1fr); border-bottom:1px solid var(--slate-200); }.template-summary div { padding:18px; text-align:center; border-right:1px solid var(--slate-200); }.template-summary div:last-child { border:0; }.template-summary strong,.template-summary small { display:block; }.template-summary strong { font-size:22px; }.template-summary small { margin-top:4px; color:var(--slate-500); }
.enrollment-privacy-boundary { margin-top:12px; padding:15px 17px; border:1px solid #cfe0ff; border-radius:var(--radius); background:#f5f8ff; }.enrollment-privacy-boundary strong { color:var(--blue-800); }.enrollment-privacy-boundary p { margin:5px 0 0; color:var(--slate-600); line-height:1.55; }.enrollment-manage-link { margin:17px -22px -22px; text-align:left; }
@media (max-width:950px) { .enrollment-layout { grid-template-columns:1fr; }.enrollment-progress { grid-template-columns:repeat(2,1fr); } }
@media (max-width:650px) { .enrollment-status-banner { align-items:flex-start; flex-wrap:wrap; }.enrollment-banner-count { width:100%; margin-left:47px; }.enrollment-progress { grid-template-columns:1fr; }.template-summary { grid-template-columns:1fr; }.template-summary div { border-right:0; border-bottom:1px solid var(--slate-200); } }
/* CFAS Central v0.3.3 visual foundation */
:root {
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Arial, sans-serif;
  --slate-950: #101a31;
  --slate-700: #3d4b63;
  --slate-600: #56647c;
  --slate-500: #68758d;
  --slate-300: #cbd5e2;
  --slate-200: #dfe6ef;
  --slate-100: #f4f7fb;
  --blue-700: #1557d7;
  --blue-600: #2166eb;
  --blue-100: #e9f1ff;
  --radius: 12px;
  --shadow-sm: 0 1px 2px rgba(15, 29, 55, .04), 0 7px 20px rgba(15, 29, 55, .055);
  font-family: var(--font-sans);
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
}
body {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  color: var(--slate-950);
}
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ui-icon, .nav-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sidebar { width: 258px; padding: 20px 14px 16px; }
.sidebar-brand { gap: 12px; padding: 0 9px 28px; }
.sidebar-brand strong { font-size: 22px; font-weight: 750; letter-spacing: .025em; }
.sidebar-brand small { margin-top: 5px; font-size: 12px; color: var(--slate-600); }
.brand-mark { width: 42px; height: 42px; border-radius: 11px; }
.main-nav { gap: 5px; }
.main-nav a {
  min-height: 46px;
  gap: 12px;
  padding: 0 13px;
  border-radius: 9px;
  color: #4d5b73;
  font-size: 14px;
  font-weight: 650;
  transition: color .16s ease, background .16s ease, box-shadow .16s ease;
}
.main-nav a:hover { color: var(--blue-700); background: #f1f5fc; }
.main-nav a.active { color: var(--blue-700); background: var(--blue-100); box-shadow: inset 3px 0 0 var(--blue-600); }
.main-nav a.active .nav-icon { stroke-width: 2.15; }
.nav-icon { width: 19px; height: 19px; opacity: 1; }
.sidebar-status { padding: 13px; border-radius: 10px; background: #f8fafc; }
.sidebar-status strong { font-size: 13px; }
.sidebar-status small { font-size: 11px; color: var(--slate-600); }
.sidebar-version { padding-top: 12px; font-size: 11px; color: var(--slate-500); }
.app-shell { margin-left: 258px; }
.topbar { height: 68px; padding: 0 26px; }
.topbar-actions { gap: 13px; }
.lan-pill { padding: 7px 11px; font-size: 12px; }
.avatar { width: 36px; height: 36px; border-radius: 10px; font-size: 14px; }
.user-copy strong { font-size: 13px; font-weight: 700; }
.user-copy small { font-size: 11px; color: var(--slate-600); }
.content { max-width: 1680px; padding: 24px 24px 48px; }
.page-heading { margin-bottom: 20px; }
.page-heading h1, .dashboard-heading h1 { margin-bottom: 5px; font-size: 27px; font-weight: 760; letter-spacing: -.028em; }
.page-heading p { font-size: 14px; color: var(--slate-600); }
.panel { border-color: var(--slate-200); box-shadow: var(--shadow-sm); }
.panel-heading { padding: 17px 19px; }
.panel-heading.compact { padding: 15px 18px; }
.panel-heading h2 { font-size: 16px; font-weight: 730; }
.panel-heading p { margin-top: 3px; font-size: 12px; color: var(--slate-600); }
.panel-heading > a { font-size: 13px; }
.summary-card { min-height: 112px; padding: 16px 17px; }
.summary-card strong { margin-top: 22px; font-size: 27px; font-weight: 760; }
.summary-card small { margin-top: 8px; font-size: 12px; color: var(--slate-600); }
.summary-icon { width: 32px; height: 32px; border-radius: 9px; }
.summary-icon .ui-icon { width: 17px; height: 17px; }
.button {
  min-height: 40px;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}
.button .ui-icon { width: 16px; height: 16px; }
.button:hover { transform: none; box-shadow: 0 5px 13px rgba(16, 34, 66, .10); }
.button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(33, 102, 235, .28);
  outline-offset: 2px;
}
label { font-size: 12px; font-weight: 700; color: var(--slate-700); }
input, select, textarea {
  margin-top: 6px;
  min-height: 43px;
  border-radius: 8px;
  border-color: var(--slate-300);
  font-size: 14px;
}
input::placeholder { color: #8793a7; opacity: 1; }
th { padding: 12px 16px; font-size: 11px; font-weight: 750; color: #637089; letter-spacing: .07em; }
td { padding: 13px 16px; font-size: 13px; line-height: 1.4; color: var(--slate-700); }
tbody tr { transition: background .14s ease; }
tbody tr:hover { background: #f8faff; }
.mini-avatar { width: 34px; height: 34px; border-radius: 50%; font-size: 11px; }
.person-cell { gap: 11px; }
.person-cell strong { font-size: 13px; }
.person-cell small, .block { font-size: 11px; }
.attendance-table .identity-column { min-width: 220px; }
@media (max-width: 1250px) {
  .attendance-table .optional-camera { display: none; }
}
.direction, .tag, .evidence, .status-label { padding: 5px 8px; font-size: 11px; }
.table-action { padding: 4px 1px; font-size: 13px; }
.muted { color: var(--slate-600); }
code { font-size: 12px; }
.profile-back, .profile-back-link { margin-bottom: 15px; font-size: 13px; }
.profile-hero { gap: 18px; padding: 4px 2px 21px; }
.profile-avatar { width: 72px; height: 72px; font-size: 25px; box-shadow: 0 9px 24px rgba(55, 80, 180, .20); }
.profile-identity h1 { font-size: 28px; font-weight: 760; letter-spacing: -.025em; }
.profile-identity p { font-size: 14px; }
.profile-tabs { gap: 34px; margin-bottom: 20px; }
.profile-tabs a { padding: 12px 3px; font-size: 14px; }
.profile-tabs span { font-size: 11px; }
.profile-data-grid { gap: 24px 38px; padding: 22px; }
.profile-data-grid dt, .profile-enrolment dt { font-size: 12px; color: var(--slate-500); }
.profile-data-grid dd, .profile-enrolment dd { font-size: 14px; }
.profile-enrolment { padding: 24px; }
.profile-enrolment > p, .profile-enrolment .privacy-note { font-size: 12px; color: var(--slate-600); }
.profile-panel-link { padding: 15px 19px; font-size: 13px; }
.enrollment-status-banner { padding: 18px 20px; }
.enrollment-status-banner strong { font-size: 17px; }
.enrollment-status-banner p { font-size: 13px; }
.enrollment-progress > div { min-height: 102px; padding-top: 18px; }
.enrollment-progress strong { font-size: 14px; }
.enrollment-progress small { font-size: 11px; }
.enrollment-workflow { padding: 27px; }
.enrollment-workflow > p, .enrollment-workflow ul { font-size: 13px; }
.enrollment-device { width: 74px; height: 74px; }
.enrollment-device .ui-icon { width: 35px; height: 35px; }
.empty-state { padding: 44px 20px !important; font-size: 13px; }
.pagination { font-size: 12px; }
.login-heading p:last-child, .login-help { color: var(--slate-600); }
@media (max-width: 900px) {
  .app-shell { margin-left: 0; }
  .menu-button { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 8px; }
  .menu-button:hover { background: var(--slate-100); }
  .content { padding: 20px 17px 40px; }
}
@media (max-width: 650px) {
  .page-heading h1, .dashboard-heading h1, .profile-identity h1 { font-size: 24px; }
  .summary-card { min-height: 103px; }
  th { font-size: 10px; }
  td { font-size: 12px; }
}
/* CFAS Central v0.3.3 icon refinement */
.face-indicator .ui-icon { width: 13px; height: 13px; stroke-width: 2.2; }
.enrollment-banner-icon .ui-icon,
.enrolment-symbol .ui-icon { width: 21px; height: 21px; stroke-width: 2; }
.table-action { display: inline-flex; align-items: center; gap: 5px; }
.table-action .ui-icon { width: 15px; height: 15px; }
.directory-actions { gap: 15px; }
/* CFAS Central v0.3.3 QR credential management */
.qr-heading-icon { color: var(--violet); }
.qr-profile-summary { padding: 19px; }
.qr-profile-summary p { margin: 12px 0 3px; color: var(--slate-950); font-weight: 700; }
.qr-profile-summary small { color: var(--slate-600); }
.qr-layout { display: grid; grid-template-columns: minmax(420px, .9fr) minmax(380px, .7fr); gap: 14px; align-items: start; }
.qr-card, .qr-management-card { min-height: 520px; }
.qr-display { padding: 24px 24px 16px; text-align: center; }
.qr-image-frame { width: 302px; height: 302px; margin: 0 auto 18px; padding: 10px; border: 1px solid var(--slate-200); border-radius: 14px; background: #fff; box-shadow: var(--shadow-sm); }
.qr-image-frame img { display: block; width: 100%; height: 100%; }
.qr-display strong, .qr-display span, .qr-display small { display: block; }
.qr-display strong { font-size: 19px; }
.qr-display span { margin-top: 4px; color: var(--slate-600); }
.qr-display small { margin-top: 8px; color: var(--slate-500); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.qr-actions { display: flex; justify-content: center; gap: 9px; padding: 0 20px 22px; }
.qr-empty { min-height: 420px; display: grid; place-content: center; justify-items: center; padding: 30px; text-align: center; color: var(--slate-600); }
.qr-empty .ui-icon { width: 62px; height: 62px; margin-bottom: 18px; color: #9aa7ba; stroke-width: 1.3; }
.qr-empty strong { color: var(--slate-950); font-size: 18px; }
.qr-empty p { margin: 7px 0 0; }
.qr-form { display: grid; gap: 17px; padding: 22px; }
.qr-revoke-form { padding: 0 22px 20px; }
.qr-metadata { margin: 0; padding: 0 22px 22px; }
.qr-metadata div { display: flex; justify-content: space-between; gap: 15px; padding: 12px 0; border-top: 1px solid var(--slate-200); }
.qr-metadata dt { color: var(--slate-500); }
.qr-metadata dd { margin: 0; color: var(--slate-950); font-weight: 700; text-align: right; }
.qr-security-note { margin-top: 14px; padding: 16px 18px; border: 1px solid #cfe0ff; border-radius: var(--radius); background: #f5f8ff; }
.qr-security-note strong { color: var(--blue-700); }
.qr-security-note p { margin: 5px 0 0; color: var(--slate-600); line-height: 1.55; }
@media (max-width: 1000px) { .qr-layout { grid-template-columns: 1fr; }.qr-card, .qr-management-card { min-height: 0; } }
@media (max-width: 650px) { .qr-image-frame { width: min(280px, 100%); height: auto; aspect-ratio: 1; }.qr-actions { flex-direction: column; }.qr-actions .button { width: 100%; } }
@media print {
  .sidebar, .topbar, .page-heading, .qr-management-card, .qr-security-note, .qr-actions, .sidebar-scrim { display: none !important; }
  .app-shell { margin: 0 !important; }
  .content { max-width: none; padding: 20px !important; }
  .qr-layout { display: block; }
  .qr-card { border: 0; box-shadow: none; }
  .qr-card .panel-heading { display: none; }
  .qr-display { padding-top: 40px; }
}

/* CFAS Central v0.3.4 browser enrolment */
.central-enrollment-card { margin-bottom: 12px; }
.central-enrollment-grid { display: grid; grid-template-columns: minmax(360px, 1.2fr) minmax(300px, .8fr); gap: 20px; padding: 20px; }
.central-camera-frame { position: relative; min-height: 330px; overflow: hidden; border-radius: 12px; background: #111827; }
.central-camera-frame video { display: block; width: 100%; height: 100%; min-height: 330px; object-fit: cover; transform: scaleX(-1); }
.central-camera-placeholder { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 7px; padding: 30px; color: #cbd5e1; background: #111827; text-align: center; }
.central-camera-placeholder[hidden] { display: none; }
.central-camera-placeholder .ui-icon { width: 54px; height: 54px; margin-bottom: 8px; }
.central-camera-placeholder strong { color: #fff; font-size: 17px; }
.central-camera-placeholder span { font-size: 13px; }
.central-enrollment-controls { display: grid; align-content: start; gap: 14px; }
.central-enrollment-controls > p { margin: 0; color: var(--slate-600); line-height: 1.55; }
.central-enrollment-controls .button { width: 100%; }
.central-lawful-basis { display: flex; align-items: flex-start; gap: 9px; color: var(--slate-600); font-weight: 600; line-height: 1.45; }
.central-lawful-basis input { width: 18px; min-height: 18px; margin: 2px 0 0; flex: 0 0 auto; }
.central-enrollment-status { min-height: 42px; padding: 11px 12px; border-radius: 8px; background: var(--slate-100); font-size: 12px; }
.central-enrollment-complete { padding: 25px; }
.central-enrollment-complete p { margin: 5px 0 0; color: var(--slate-600); }
@media (max-width: 900px) { .central-enrollment-grid { grid-template-columns: 1fr; }.central-camera-frame { min-height: 280px; } }

/* CFAS Central v0.3.6 permission-list layout */
.permission-grid { display: grid; gap: 9px; margin-top: 12px; }
.permission-grid .check-row { align-items: flex-start; }
.permission-grid .check-row > span,
.permission-grid .check-row strong,
.permission-grid .check-row small { display: block; }
.permission-grid .check-row small { margin-top: 3px; color: var(--slate-500); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-weight: 500; }

/* v0.3.7 development: Origin-inspired charts and camera preview shell */
.analytics-chart{padding:12px 20px 20px}.analytics-chart svg{width:100%;height:auto;min-height:200px}.analytics-chart text,.donut-layout text{font:13px system-ui;fill:#64748b}.chart-gridline{stroke:#e2e8f0;stroke-dasharray:3 5}.chart-area{fill:currentColor;opacity:.20}.chart-line{fill:none;stroke:currentColor;stroke-width:1.25;stroke-linecap:round;stroke-linejoin:round}.chart-guide{stroke:#94a3b8;stroke-width:1}.chart-point{fill:#fff;stroke:currentColor;stroke-width:3}.chart-tooltip rect{fill:#fff;stroke:#cbd5e1;filter:drop-shadow(0 4px 8px rgb(15 23 42/.16))}.chart-tooltip text{font-size:13px;font-weight:600}.chart-tooltip-title{fill:#0f172a!important;font-weight:750!important}.chart-hit-target{fill:transparent;cursor:crosshair;outline:none}.chart-hit-target:focus{fill:rgb(37 99 235/.04)}.series-0{color:#347ff1}.series-1{color:#0aaf88}.series-2{color:#f59e0b}.series-3{color:#8b5cf6}.series-4{color:#ec4899}.chart-legend{display:flex;justify-content:center;gap:20px;flex-wrap:wrap;font-size:14px}.chart-data{margin-top:16px;color:#475569}.chart-data summary{cursor:pointer;font-size:14px}.donut-layout{display:flex;align-items:center;justify-content:center;padding:20px;gap:20px;flex-wrap:wrap}.donut-layout svg{width:240px;max-width:100%}.donut-track{fill:none;stroke:#edf2f7;stroke-width:32}.donut-segment{stroke:currentColor}.donut-layout .donut-total{font-size:30px;font-weight:750;fill:#0f172a}.chart-legend.vertical{display:grid;list-style:none;padding:0;gap:15px}.feed-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.feed-card{overflow:hidden}.feed-placeholder{aspect-ratio:16/9;background:linear-gradient(135deg,#112846,#203f62);color:#dce7f5;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px}.feed-placeholder .ui-icon{width:42px;height:42px}.summary-card.blue strong{color:#2563eb}.summary-card.violet strong{color:#8745df}.summary-card.cyan strong{color:#0891b2}.summary-card.green strong{color:#059669}.summary-card.amber strong{color:#b45309}.panel{border-radius:14px}.main-nav a.active{background:#edf4ff;color:#1d4ed8}.campus-card{background:linear-gradient(120deg,#00b88a,#009b78)}
.identity-stack{display:flex;flex-direction:column;gap:3px}.identity-stack small{display:block;color:#64748b}
@media(max-width:850px){.feed-grid{grid-template-columns:1fr}.analytics-chart{padding:8px}.chart-legend{gap:12px}}

.category-bars{padding:12px 24px 24px}.category-row{display:grid;grid-template-columns:minmax(90px,25%) 1fr;align-items:center;gap:12px}.category-row strong{overflow-wrap:anywhere;font-size:14px}.category-row svg{width:100%;max-height:64px}.category-bar{fill:currentColor}.category-row text{font:14px system-ui;fill:#475569}

/* v0.3.7 preview review corrections */
.report-details>summary{padding:20px 24px;font-weight:700;color:#1e40af;cursor:pointer;min-height:48px}
.report-details[open]>summary{border-bottom:1px solid #e2e8f0}
.report-details>summary:focus-visible{outline:3px solid #2563eb;outline-offset:-3px}
body[data-page="live_feeds"] .report-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
body[data-page="live_feeds"] .report-filter-grid{padding:20px}
@media(max-width:700px){body[data-page="live_feeds"] .report-summary-grid{grid-template-columns:1fr}}

/* Attendance evidence custody and audited image review */
.evidence-button{display:inline-flex;align-items:center;gap:7px;border:0;background:transparent;color:#047857;font:inherit;font-weight:700;cursor:pointer;padding:5px 7px;border-radius:7px}
.evidence-button:hover{background:#ecfdf5}.evidence-button:focus-visible{outline:3px solid #93c5fd;outline-offset:2px}.evidence-button .ui-icon{width:18px;height:18px}
.evidence.pending{color:#92400e;background:#fffbeb;border-color:#fde68a}
.evidence-dialog{width:min(760px,calc(100vw - 30px));max-height:calc(100vh - 30px);padding:0;border:0;border-radius:16px;box-shadow:0 28px 70px rgba(15,23,42,.32);overflow:hidden}
.evidence-dialog::backdrop{background:rgba(15,23,42,.68);backdrop-filter:blur(4px)}
.evidence-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 20px;border-bottom:1px solid var(--slate-200)}
.evidence-dialog-heading h2{margin:0;font-size:18px}.evidence-close{width:36px;height:36px;border:0;border-radius:50%;background:var(--slate-100);font-size:25px;line-height:1;cursor:pointer}
.evidence-dialog-body{display:grid;place-items:center;min-height:300px;max-height:calc(100vh - 180px);padding:18px;background:#0f172a;overflow:auto}
.evidence-dialog-body img{display:block;max-width:100%;max-height:calc(100vh - 220px);border-radius:8px}.evidence-loading{color:#e2e8f0;text-align:center}
.evidence-privacy{margin:0;padding:12px 20px;color:var(--slate-600);font-size:12px;background:#fff}
.setup-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; padding: 24px; align-items: end; }
.setup-form label { display: grid; gap: 8px; }
.setup-form input[type="checkbox"] { width: 20px; min-height: 20px; }
.setup-form textarea { min-height: 90px; }
.setup-list { margin-top: 24px; }
.camera-edit-form { display: grid; gap: 22px; }
.camera-edit-form fieldset { border: 1px solid #dce3ed; border-radius: 10px; padding: 18px; min-width: 0; }
.camera-edit-form legend { font-weight: 600; padding: 0 8px; }
.camera-edit-form .setup-form { padding: 12px 0; }
.camera-edit-form details { border: 1px solid #dce3ed; border-radius: 10px; padding: 18px; }
.camera-edit-form summary { cursor: pointer; font-weight: 600; min-height: 32px; }
.camera-edit-form input[type="checkbox"] { width: 20px; min-height: 20px; vertical-align: middle; }
.notification-bell { display: inline-flex; align-items: center; gap: 6px; padding: 8px; }
.notification-bell span { background: #b42318; color: white; border-radius: 16px; padding: 2px 7px; font-size: 13px; }
.notification-item { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px; border-bottom: 1px solid var(--slate-200); }
.notification-item h2 { font-size: 18px; }
.notification-unread { background: #eff6ff; }
@media (max-width:650px) { .notification-item { align-items: flex-start; flex-direction: column; } }

/* Camera management browser review: scoped layout corrections. */
.camera-management .camera-selector { grid-template-columns: minmax(0, 1fr) auto; }
.camera-management .camera-selector .button { min-width: 110px; }
.camera-management .setup-list > h2 { margin: 0; padding: 22px 24px 8px; }
.camera-management .setup-list > p { margin: 0; padding: 0 24px 20px; }
.camera-management td small { display: block; margin-top: 5px; color: var(--slate-500); }
.camera-management td:last-child form { display: inline-block; margin: 4px 0 4px 8px; }
.camera-management td:last-child .button { white-space: nowrap; }
@media (max-width:650px) {
  .camera-management .camera-selector { grid-template-columns: minmax(0, 1fr); }
  .camera-management .setup-list > h2 { padding: 18px 16px 8px; }
  .camera-management .setup-list > p { padding: 0 16px 16px; }
}

/* Origin-style Setup navigation and isolated-preview notice. */
.setup-menu > summary { display:flex; align-items:center; gap:12px; min-height:46px; padding:0 13px; border-radius:9px; color:#4d5b73; font-size:14px; font-weight:650; cursor:pointer; list-style:none; }
.setup-menu > summary::-webkit-details-marker { display:none; }
.setup-menu > summary:hover { color:var(--blue-700); background:#f1f5fc; }
.setup-menu > summary:focus-visible { outline:2px solid var(--blue-600); outline-offset:2px; }
.setup-chevron { margin-left:auto; transition:transform .15s ease; }
.setup-menu[open] .setup-chevron { transform:rotate(180deg); }
.setup-submenu { display:flex; flex-direction:column; gap:4px; padding:5px 0 5px 20px; }
.preview-notice { padding:12px 16px; margin-bottom:18px; background:#fff3cd; color:#513c00; border:1px solid #ead48b; border-radius:8px; text-align:center; font-weight:650; }
.login-shell > .preview-notice { position:absolute; top:12px; left:30px; right:30px; margin:0; font-size:12px; }
@media(max-width:900px) { .login-shell:has(> .preview-notice) { padding-top:100px; } }

/* Dashboard chart refinement */
[data-weekly-trend] .chart-line { stroke-width: 1.25; }
[data-weekly-trend] .chart-data { display: none; }

/* Hide inactive SVG chart overlays */
.chart-tooltip[hidden], .chart-focus[hidden] { display: none !important; }
.chart-tooltip, .chart-focus { pointer-events: none; }

/* CFAS dashboard shortcuts */
.dashboard-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:20px 0}
.dashboard-shortcut{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:22px 16px;min-height:150px;background:#fff;border:1px solid #dce4ef;border-radius:16px;box-shadow:0 2px 5px rgb(15 23 42/.08);text-decoration:none;color:#64748b;text-align:center}
.dashboard-shortcut strong{font-size:18px;color:#0f172a;font-weight:600}
.dashboard-shortcut:hover{border-color:#2563eb;box-shadow:0 4px 12px rgb(37 99 235/.14);text-decoration:none}
.dashboard-shortcut:focus-visible{outline:3px solid #2563eb;outline-offset:3px}
.shortcut-icon{display:grid;place-items:center;width:50px;height:50px;border-radius:12px;margin-bottom:10px}
.shortcut-icon .ui-icon{width:24px;height:24px}
.shortcut-icon.blue{background:#dbeafe;color:#2563eb}.shortcut-icon.green{background:#dcfce7;color:#16a34a}.shortcut-icon.purple{background:#f3e8ff;color:#9333ea}.shortcut-icon.orange{background:#ffedd5;color:#ea580c}
@media(max-width:1000px){.dashboard-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.dashboard-shortcuts{grid-template-columns:1fr}}

/* Reports chart line refinement */
.report-daily-trend .chart-line { stroke-width: 0.625; }

/* Reports chart axis label sizing */
.report-daily-trend .analytics-chart > svg > text {
    font-size: 7px;
}

/* Edge health heading layout */
.edge-health-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}


/* Live preview layout: external styles for CSP compatibility */
#live-previews .feed-placeholder {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}
#live-previews .feed-placeholder > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: contain;
  object-position: center;
}
#live-previews [data-preview-status] {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  background: rgba(17, 40, 70, .85);
  padding: 6px;
}

/* Live preview fullscreen controls */
#live-previews .preview-fullscreen-button {
  margin: 0 12px 12px 8px;
}
#live-previews .feed-card:fullscreen {
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #112846;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: minmax(0, 1fr) auto auto;
  overflow: auto;
}
#live-previews .feed-card:fullscreen .feed-placeholder {
  grid-column: 1 / -1;
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
}
#live-previews .feed-card:fullscreen .panel-heading {
  grid-column: 1 / -1;
  background: white;
}
#live-previews .feed-card:fullscreen [data-preview-toggle] {
  justify-self: start;
  margin: 12px;
}
#live-previews .feed-card:fullscreen .preview-fullscreen-button {
  margin: 12px;
}

/* Multi-site preview grid; fullscreen keeps its own dimensions. */
.preview-grid-control { display:flex; align-items:center; gap:12px; margin:16px 0; }
#live-previews.preview-grid-1 { grid-template-columns:minmax(0,1fr); }
#live-previews.preview-grid-2 { grid-template-columns:repeat(2,minmax(0,1fr)); }
#live-previews.preview-grid-3 { grid-template-columns:repeat(3,minmax(0,1fr)); }
#live-previews.preview-grid-4 { grid-template-columns:repeat(4,minmax(0,1fr)); }
@media(max-width:1000px) {
 #live-previews.preview-grid-3,#live-previews.preview-grid-4 { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:650px) { #live-previews.feed-grid { grid-template-columns:minmax(0,1fr); } }

/* Per-camera live preview controls */
.camera-management .preview-rate-form{display:flex;align-items:end;gap:8px;flex-wrap:wrap}
.preview-rate-form input[type="number"]{width:85px}
.preview-rate-form label{display:flex;flex-direction:column;gap:4px}
.preview-metrics{padding:8px 16px;color:#475569;font-size:13px}

/* Enrolment sample review */
.enrollment-review-preview {max-width:100%;max-height:260px;border-radius:12px;display:block;margin:12px 0;}
[data-enrollment-review][hidden] {display:none;}
[data-enrollment-action] {width:100%;max-width:100%;padding:10px;border:1px solid #dbe3ee;border-radius:8px;background:#fff;color:#17304d;}
[data-replace-sample] {display:block;margin-top:8px;}

/* Identified presence and visits */
.origin-metric-grid {grid-template-columns:1.25fr repeat(5,minmax(0,1fr));}
.presence-count-link {color:inherit;display:block;text-decoration:none;}
.presence-count-link:hover {text-decoration:underline;}
.presence-note {font-size:13px;color:var(--slate-600);margin:0 0 16px;}
.presence-filters {display:flex;gap:12px;align-items:center;flex-wrap:wrap;padding:16px;}
.presence-tabs {display:flex;gap:12px;flex-wrap:wrap;margin:16px 0;}
@media(max-width:1180px){.origin-metric-grid{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media(max-width:650px){.origin-metric-grid{grid-template-columns:1fr;}}

/* Keep expanded navigation accessible at smaller viewport heights. */
.sidebar { overflow: hidden; }
.sidebar-brand, .sidebar-status, .sidebar-version { flex-shrink: 0; }
.sidebar .main-nav {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior-y: contain;
  scrollbar-width: thin;
  margin-bottom: 12px;
}
.sidebar .main-nav > * { flex-shrink: 0; }

/* Compact controls for manual presence corrections. */
input[type="checkbox"][form="presence-selection"],
form[action$="/presence/close"] input[type="checkbox"][name="confirmed"] {
  appearance: auto;
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  max-width: 18px;
  max-height: 18px;
  margin: 0;
  padding: 0;
  flex: 0 0 18px;
  vertical-align: middle;
  accent-color: var(--blue-600);
}
label:has(> input[type="checkbox"][form="presence-selection"]),
form[action$="/presence/close"] label:has(> input[type="checkbox"][name="confirmed"]) {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  min-height: 32px;
  text-align: left;
  cursor: pointer;
}

/* Origin live occupancy tile: non-interactive, white text and two solid accents. */
.campus-card.origin-live-card { background:linear-gradient(120deg,#00bd83,#009b6b); color:#fff; border-radius:16px; padding:20px; min-height:162px; isolation:isolate; }
.origin-live-card::before,.origin-live-card::after { content:""; position:absolute; border:0; border-radius:50%; background:rgba(255,255,255,.12); pointer-events:none; z-index:-1; }
.origin-live-card::before { width:120px; height:120px; right:-20px; top:-20px; }
.origin-live-card::after { width:80px; height:80px; right:40px; bottom:-40px; }
.origin-live-card .live-label { display:flex; align-items:center; gap:10px; color:#fff; font-size:18px; line-height:24px; font-weight:500; letter-spacing:0; }
.origin-live-card .live-label i { flex:0 0 15px; width:15px; height:15px; margin:0; background:#fff; box-shadow:none; }
.origin-live-card strong { color:#fff; font-size:40px; line-height:1.15; font-weight:700; margin-top:12px; }
.origin-live-card small { color:#fff; font-size:18px; line-height:1.4; margin-top:10px; }

/* Origin tile: compact proportions and responsive single-line labels. */
@media (min-width:1181px) {
  .origin-metric-grid {
    grid-template-columns:minmax(300px,1.65fr) repeat(5,minmax(0,1fr));
  }
}
.campus-card.origin-live-card {
  container-type:inline-size;
  box-sizing:border-box;
  min-width:0;
  min-height:162px;
  padding:18px 20px;
}
.origin-live-card .live-label {
  white-space:nowrap;
  font-size:clamp(12px,7cqi,18px);
  line-height:24px;
  gap:8px;
}
.origin-live-card .live-label i {
  flex:0 0 12px;
  width:12px;
  height:12px;
}
.origin-live-card strong {
  margin-top:8px;
  font-size:40px;
  line-height:46px;
}
.origin-live-card small {
  white-space:nowrap;
  margin-top:8px;
  font-size:clamp(12px,7cqi,18px);
  line-height:24px;
}

/* Slightly smaller typography on the live tile only. */
.origin-live-card .live-label,
.origin-live-card small {
  font-size:clamp(12px,6.2cqi,16px);
}
.origin-live-card strong {
  font-size:36px;
}
