/* Adapted from Better Design / precision-light (MIT).
   Local product palette, Bootstrap and Razor adaptation. See THIRD-PARTY-NOTICES.md. */
:root {
  --qr: #235b49;
  --ink: #25332e;
  --paper: #f7f8f6;
  --surface: #fff;
  --line: #e3e7e2;
  --muted: #657269;
  --bs-primary: #235b49;
  --bs-primary-rgb: 35,91,73;
  --bs-body-color: #25332e;
  --bs-body-bg: #f7f8f6;
  --bs-border-color: #e3e7e2;
  --bs-link-color: #235b49;
  --bs-link-hover-color: #173f32;
}
body { background: var(--paper); color: var(--ink); font-family: 'Segoe UI', Arial, sans-serif; font-size: 14px; -webkit-font-smoothing: antialiased; }
h1,h2,h3,h4,h5,h6 { color: var(--ink); font-family: inherit; letter-spacing: -.025em; }
a { color: var(--qr); }
.text-muted { color: var(--muted)!important; }
.pc-sidebar { width: 244px; background: #f0f3ee!important; border-right: 1px solid #dfe5de; box-shadow: none; }
.pc-sidebar .m-header { height: 84px; padding: 0 23px; background: transparent!important; border-bottom: 1px solid #dfe5de; }
.b-brand { gap: 11px; }
.brand-mark { width: 36px; height: 36px; border-radius: 9px; background: #235b49; color: #fff; font-size: 12px; letter-spacing: .06em; box-shadow: inset 0 0 0 1px #ffffff25; }
.pc-sidebar .brand-title { color: #25332e!important; font-size: 15px; letter-spacing: -.02em; font-weight: 650; }
.brand-title small { display: block; margin-top: 2px; font-size: 10px; letter-spacing: .11em; text-transform: uppercase; color: #657269; font-weight: 500; }
.pc-sidebar .navbar-content { height: calc(100vh - 180px); padding-top: 6px; overflow-y: auto; overflow-x: hidden; }
.pc-sidebar .pc-caption { padding: 24px 25px 8px!important; }
.pc-sidebar .pc-caption label { color: #657269!important; font-size: 10px; font-weight: 600; letter-spacing: .12em; }
.pc-sidebar .pc-navbar>.pc-item>.pc-link { display: flex; align-items: center; margin: 3px 13px; padding: 10px 12px; border-radius: 7px; color: #526057; font-size: 13px; box-shadow: none; transition: background .15s ease,color .15s ease; }
.pc-sidebar .pc-navbar>.pc-item>.pc-link .pc-micon { width: 23px!important; height: 23px; margin-right: 10px!important; background: transparent; color: #69776d; border-radius: 0; box-shadow: none; transform: none; }
.pc-sidebar .pc-micon i { font-size: 19px!important; }
.pc-sidebar .pc-navbar>.pc-item:hover>.pc-link { background: #e7ece5; color: #25332e; }
.pc-sidebar .pc-item:hover .pc-micon { background: transparent; color: #235b49!important; transform: none; }
.pc-sidebar .pc-navbar>.pc-item.active>.pc-link { background: #e0e9df!important; color: #214c3d; box-shadow: none; }
.pc-sidebar .pc-item.active .pc-micon { background: transparent; color: #235b49!important; box-shadow: none; }
.sidebar-note { position: absolute; bottom: 22px; left: 25px; right: 25px; border-top: 1px solid #d8dfd5; padding-top: 17px; font-size: 11px; color: #657269; line-height: 1.6; }
.sidebar-note strong { display: block; color: #3f5245; font-size: 12px; font-weight: 600; }
.pc-header { left: 244px; min-height: 65px; background: #fff!important; border-bottom: 1px solid var(--line); box-shadow: none; }
.pc-header .header-wrapper { min-height: 65px; padding: 0 32px; }
.workspace-path { display: flex; align-items: center; gap: 12px; font-size: 12px; color: #657269; }
.workspace-path strong { font-weight: 600; color: #25332e; }
.workspace-path .divider { color: #bac3ba; }
.account-name { font-size: 12px; font-weight: 600; }
.account-role { font-size: 10px; color: var(--muted); }
.user-avatar { display: grid; place-items: center; width: 32px; height: 32px; background: #eef2eb; color: #355540; border: 1px solid #e0e7dc; border-radius: 50%; font-size: 11px; font-weight: 600; }
.pc-container { margin-left: 244px; top: 65px; min-height: calc(100vh - 65px); }
.pc-content { padding: 35px 32px 40px; max-width: 1680px; margin: 0 auto; }
.page-head { align-items: center; margin-bottom: 25px; gap: 20px; }
.page-head h2 { font-size: 26px; font-weight: 600; letter-spacing: -.04em; }
.page-head p { margin-top: 7px; font-size: 13px; }
.card { border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 1px 2px #24362905; background: #fff; margin-bottom: 0; }
.card .card-header { background: transparent; border-bottom: 1px solid var(--line); }
.card-header h5 { font-size: 14px; font-weight: 600!important; letter-spacing: -.015em; }
.card-body { padding: 22px; }
.btn { border-radius: 6px; font-family: inherit; font-size: 12px; font-weight: 600; padding: 9px 14px; box-shadow: none; transition: background .15s ease,border-color .15s ease; }
.btn-primary { --bs-btn-bg: #235b49; --bs-btn-border-color: #235b49; --bs-btn-hover-bg: #194534; --bs-btn-hover-border-color: #194534; --bs-btn-active-bg: #194534; --bs-btn-active-border-color: #194534; --bs-btn-disabled-bg: #235b49; --bs-btn-disabled-border-color: #235b49; background: #235b49; border-color: #235b49; color: #fff; box-shadow: 0 1px 2px #1a39221a,inset 0 1px #ffffff12; }
.btn-primary:hover,.btn-primary:focus-visible,.btn-primary:active { background: #194534!important; border-color: #194534!important; }
.btn-light { background: #fff; border-color: #dde3dc; color: #405347; }
.btn-light:hover { background: #f1f4ef; border-color: #becabc; }
.btn-outline-primary { --bs-btn-color:#235b49; --bs-btn-border-color:#bfd0c3; --bs-btn-hover-bg:#235b49; --bs-btn-hover-border-color:#235b49; color:#235b49; border-color:#bfd0c3; }
.btn-outline-danger { color: #a54a40; border-color: #e7d2ce; }
.btn-outline-danger:hover { background: #9c4035; border-color: #9c4035; color: #fff; }
.btn-sm { padding: 6px 10px; font-size: 11px; }
.btn-lg { min-height: 46px; font-size: 13px; }
:is(a,button,input,select,textarea):focus-visible { outline: 3px solid #80a995; outline-offset: 3px; box-shadow: none; }
.form-control,.form-select { min-height: 39px; border: 1px solid #d8e0d6; border-radius: 6px; background-color: #fff; color: #25332e; font-size: 13px; padding: 8px 12px; }
.form-control:focus,.form-select:focus { border-color: #6d9982; box-shadow: 0 0 0 3px #235b4912; }
.form-control::placeholder { color: #889287; }
.form-control[readonly] { background: #f6f8f4; color: #657269; }
.form-label { font-size: 12px; font-weight: 600; color: #455548; margin-bottom: 7px; }
.form-check-input:checked { background-color: #235b49; border-color: #235b49; }
.table { font-size: 12px; --bs-table-color: #405046; --bs-table-border-color: #edf0ea; }
.table>:not(caption)>*>* { padding: 15px 19px; vertical-align: middle; }
.table thead th { background: #f8faf6; color: #657269; font-size: 10px; font-weight: 600; letter-spacing: .03em; white-space: nowrap; border-bottom: 1px solid var(--line); }
.table td strong { font-weight: 600; color: #2a3b30; }
.table td small { margin-top: 3px; font-size: 10px; }
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { --bs-table-bg: #fafbf8; }
.badge,.movement-badge { border-radius: 5px; font-size: 10px; font-weight: 600; padding: 5px 8px; }
.badge-soft,.movement-badge.is-in { background: #edf4e9; color: #35633d; }
.movement-badge.is-out { background: #f0f0e9; color: #726b3f; }
.modal-content { border-radius: 12px; border: 1px solid #d8e0d6; box-shadow: 0 20px 60px #14271d26; }
.modal-header { padding: 23px 25px 18px; border-bottom: 1px solid var(--line); }
.modal-header h5 { margin: 0; font-weight: 600; font-size: 18px; }
.modal-body { padding: 24px 25px; }
.modal-footer { padding: 16px 25px; border-top: 1px solid var(--line); background: #f9faf7; border-radius: 0 0 12px 12px; }
.modal-backdrop { --bs-backdrop-opacity: .3; }
.device-map { border-color: #d8e0d6; border-radius: 7px; }
.alert { font-size: 13px; border-radius: 7px; border: 1px solid; padding: 13px 16px; }
.alert-success { background: #eef5e9; border-color: #d6e6cc; color: #365d32; }
.alert-danger { background: #fbefeb; border-color: #edd4cc; color: #8c4034; }
.alert-warning { background: #faf5e8; border-color: #eadeb6; color: #785c24; }
.dashboard-hero { background: transparent; border-radius: 0; box-shadow: none; color: #25332e; padding: 0 0 25px; margin-bottom: 0; align-items: center; }
.dashboard-hero:after,.dashboard-metrics .metric:after { content: none; }
.hero-kicker { color: #657269; font-size: 10px; letter-spacing: .12em; font-weight: 600; }
.dashboard-hero h2 { color: #25332e; font-size: 29px; font-weight: 600; letter-spacing: -.04em; margin: 7px 0 8px; }
.dashboard-hero p { color: #657269; font-size: 13px; }
.hero-date { border-radius: 7px; border: 1px solid #dfe5da; background: #fff; padding: 11px 15px; gap: 11px; color: #3f5544; }
.hero-date>span { font-size: 27px; font-weight: 500; }
.hero-date div { font-size: 11px; text-transform: none; font-weight: 600; }
.hero-date small { color: #657269; font-size: 10px; }
.dashboard-metrics { --bs-gutter-x: 16px; }
.dashboard-metrics .metric { min-height: 174px; height: 100%; }
.metric .icon { width: 32px; height: 32px; border-radius: 7px; background: #f0f3eb; color: #526b47; font-size: 18px; }
.metric-top>span { font-size: 9px; color: #6c7769; letter-spacing: .1em; font-weight: 600; }
.dashboard-metrics .metric h3 { margin: 9px 0 3px; font-size: 31px; font-weight: 600; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.dashboard-metrics .metric p { font-size: 12px; color: #4f6053; font-weight: 500; margin-bottom: 7px; }
.dashboard-metrics .metric small { font-size: 10px; color: #657269; }
.metric .progress { height: 4px; background: #eef2e7; }
.metric .progress-bar { background: #658356; }
.chart-card .card-header,.movement-card .card-header,.quick-card .card-header { padding: 20px 22px; }
.chart-card .card-header span,.movement-card .card-header span,.quick-card .card-header span { font-size: 11px; color: #657269; }
.chart-legend .in { background: #356b50; }
.chart-legend .out { background: #b5c49e; }
.person-cell>span { width: 32px; height: 32px; background: #f0f3eb; color: #5a704a; font-size: 12px; border-radius: 50%; }
.quick-card .card-header { display: block; }
.quick-card .card-header h5 { margin-bottom: 4px; }
.quick-card .card-body a { color: #324a38; padding: 18px 4px; border-color: #edf0e9; }
.quick-card .card-body a>i { background: #f1f4ec; color: #547047; width: 34px; height: 34px; border-radius: 7px; font-size: 18px; }
.quick-card .card-body a strong { font-size: 12px; font-weight: 600; }
.quick-card .card-body a small { color: #657269; font-size: 10px; margin-top: 3px; }
.quick-card .card-body a:hover b { color: #235b49; }
.schedule-table { font-variant-numeric: tabular-nums; }
.schedule-table .present,.schedule-legend .present { background: #edf4e9; color: #3b6a3f; box-shadow: inset 0 0 0 1px #d6e5ce; }
.schedule-table .absent,.schedule-legend .absent { background: #faf0ec; color: #a45a4b; box-shadow: inset 0 0 0 1px #eedcd4; }
.login-page { background: #f7f8f6; }
.login-shell { grid-template-columns: 1fr 1fr; }
.login-brand { position: relative; background: #e8eee2; color: #30462f; border-right: 1px solid #dce4d6; padding: 7vw; }
.login-copy { max-width: 470px; }
.login-copy .brand-mark { margin-bottom: 90px; }
.login-copy h1 { color: #293f2b; font-size: clamp(36px,4vw,59px); font-weight: 500; letter-spacing: -.05em; line-height: 1.12; margin: 17px 0 24px; }
.login-copy>p { color: #5b6f55; font-size: 15px; line-height: 1.8; max-width: 390px; }
.login-copy .eyebrow { font-size: 10px!important; letter-spacing: .15em; font-weight: 600; }
.login-points { margin-top: 40px; flex-direction: column; gap: 14px; color: #48633e; font-size: 12px; }
.login-form-wrap { padding: 40px; }
.login-card { width: min(365px,100%); }
.login-card h2 { font-size: 27px; font-weight: 600; letter-spacing: -.04em; }
.login-card p { font-size: 12px; line-height: 1.8; }
.demo-hint { background: #f1f4ed; border: 1px solid #e0e7da; color: #637359; border-radius: 7px; padding: 15px; gap: 4px; font-size: 11px; }
.demo-hint strong { color: #405638; font-weight: 600; margin-bottom: 3px; }
.mobile-menu { display: none; border: 0; background: transparent; padding: 7px; margin-right: 12px; color: #355540; font-size: 20px; }
.menu-scrim { display: none; }
.chart-empty { min-height: 260px; display: flex; align-items: center; justify-content: center; flex-direction: column; text-align: center; gap: 9px; padding: 30px; color: #657269; }
.chart-empty i { font-size: 25px; color: #899d7b; margin-bottom: 5px; }
.chart-empty strong { font-size: 13px; font-weight: 500; color: #4b604b; }
.chart-empty span { max-width: 260px; font-size: 11px; line-height: 1.7; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 2000; padding: 12px 18px; background: #235b49; color: #fff; border-radius: 6px; }
.skip-link:focus { top: 12px; }
.workspace-footer { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); margin-top: 32px; padding-top: 17px; font-size: 10px; color: #73806d; }
.company-membership { display:flex; align-items:center; flex-wrap:wrap; gap:20px 30px; background:#fff; border:1px solid var(--line); border-radius:9px; padding:17px 20px; margin-bottom:26px; }
.membership-company { display:flex; align-items:center; gap:12px; margin-right:auto; min-width:0; }
.membership-company>i { font-size:23px; color:#547047; }
.membership-company strong { display:block; font-size:13px; font-weight:600; overflow-wrap:anywhere; }
.membership-company span { display:block; color:var(--muted); font-size:11px; margin-top:3px; }
.membership-dates { display:flex; gap:28px; margin:0; }
.membership-dates dt { color:var(--muted); font-size:10px; font-weight:400; margin-bottom:3px; }
.membership-dates dd { font-size:12px; font-weight:600; margin:0; font-variant-numeric:tabular-nums; }
.membership-status { display:flex; flex-direction:column; align-items:flex-end; gap:5px; }
.membership-status strong { font-size:11px; font-weight:500; color:#526c58; }
.company-membership.ending-soon { border-color:#e4d5b4; background:#fffdf7; }
.ending-soon .membership-status strong { color:#896119; }
.membership-renewal { width:100%; margin:0; padding-top:10px; border-top:1px solid #eee5d1; color:#806329; font-size:11px; line-height:1.6; }
@media(max-width:575px) { .company-membership { padding:16px; gap:16px; } .membership-company { width:100%; } .membership-dates { gap:20px; } .membership-status { margin-left:auto; } }
@media(min-width: 1025px) { .pc-sidebar { transform: none!important; visibility: visible!important; } }
@media(max-width: 1024px) {
  .pc-sidebar { left: 0!important; transform: translateX(-100%); z-index: 1030; }
  .pc-sidebar.mobile-open { transform: translateX(0); visibility: visible; }
  .pc-header { left: 0; }
  .pc-container { margin-left: 0; }
  .mobile-menu { display: inline-flex; }
  .menu-scrim { display: none; position: fixed; inset: 65px 0 0; background: #17291e44; border: 0; z-index: 1029; }
  body.menu-open .menu-scrim { display: block; }
}
@media(max-width: 767px) {
  .pc-header .header-wrapper { padding: 0 18px; }
  .pc-content { padding: 25px 18px; }
  .workspace-path>span:first-child,.workspace-path .divider,.account-details { display: none; }
  .dashboard-hero h2 { font-size: 25px; }
  .dashboard-hero p { line-height: 1.7; }
  .hero-date { display: none; }
  .page-head { align-items: flex-start; }
  .page-head h2 { font-size: 24px; }
  .table>:not(caption)>*>* { padding: 12px 14px; }
  .login-shell { grid-template-columns: 1fr; }
  .login-brand { display: none; }
  .login-form-wrap { padding: 28px; }
  .workspace-footer { flex-direction: column; }
}
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto!important; transition:none!important; animation:none!important; } }
@media print { .workspace-footer,.sidebar-note,.mobile-menu,.menu-scrim { display:none!important; } .pc-container { margin:0!important; top:0; } }
