:root{--green:#174f3c;--green-dark:#123d30;--green-light:#e9f2ed;--orange:#df7939;--ink:#23372e;--muted:#66776e;--line:#e0e8e2;--bs-primary:#174f3c;--bs-body-font-family:"Segoe UI",Arial,sans-serif}
body{margin:0;color:var(--ink);background:#f5f7f4;font-size:15px}a{color:var(--green)}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--orange)!important;outline-offset:3px}.skip-link{position:absolute;left:12px;top:-100px;z-index:50;background:white;padding:12px}.skip-link:focus{top:12px}.btn{font-weight:600;padding:.72rem 1.2rem;border-radius:8px}.btn-sm{padding:.4rem .8rem}.btn-primary{--bs-btn-bg:var(--green);--bs-btn-border-color:var(--green);--bs-btn-hover-bg:var(--green-dark);--bs-btn-hover-border-color:var(--green-dark);--bs-btn-active-bg:var(--green-dark)}.btn-outline-primary{--bs-btn-color:var(--green);--bs-btn-border-color:#a9beb0;--bs-btn-hover-bg:var(--green);--bs-btn-hover-border-color:var(--green)}.form-control,.form-select{min-height:46px;border-color:#cdd8d0;border-radius:8px;background:#fff}.form-control:focus,.form-select:focus{border-color:var(--green);box-shadow:0 0 0 .2rem #174f3c14}.form-label{font-size:14px;font-weight:600;margin-bottom:8px}.form-text{font-size:12px}.form-text ul{padding-left:18px}.required-marker{color:#a94a20}.field-error{font-size:13px;color:#a02929;margin-top:6px}.errorlist{margin-bottom:0;padding-left:18px}.brand{display:flex;align-items:center;gap:13px;text-decoration:none;color:inherit}.brand-mark{display:grid;place-items:center;border:1px solid #ffffff4a;border-radius:10px;width:48px;height:48px;font-size:28px;font-weight:750;letter-spacing:-4px;padding-right:4px}.brand>span:last-child{font-size:9px;letter-spacing:2px;line-height:1.5}.brand strong{display:block;font-size:26px;letter-spacing:-.7px;line-height:1.1}.auth-shell{min-height:100vh;display:grid;grid-template-columns:46% 54%}.auth-story{position:relative;overflow:hidden;background:var(--green-dark);color:#fff;padding:44px 54px;display:flex;flex-direction:column;justify-content:space-between;min-height:100vh}.story-copy{position:relative;z-index:1;margin:70px 0}.eyebrow{font-size:10px;letter-spacing:1.7px;color:#bed0bf;font-weight:600;margin-bottom:26px}.story-copy h1{font-weight:550;font-size:clamp(38px,4vw,64px);letter-spacing:-2px;line-height:1.15;margin:0 0 26px}.story-copy p{font-size:17px;line-height:1.8;color:#c8d9ce}.story-rule{width:44px;height:3px;background:var(--orange);margin:30px 0 20px}.story-caption{font-size:12px;color:#adc7b6}.story-footer{font-size:12px;color:#c4d6c9;z-index:1}.status-dot{display:inline-block;background:#89b69b;width:7px;height:7px;border-radius:50%;margin-right:7px}.story-geometry{position:absolute;width:500px;height:500px;right:-250px;bottom:-220px;border:1px solid #ffffff16;border-radius:60px;transform:rotate(35deg)}.story-geometry:after{content:"";position:absolute;inset:45px;border:1px solid #ffffff16;border-radius:40px}.auth-main{display:flex;align-items:center;justify-content:center;position:relative;min-height:100vh;padding:80px 40px;background:#fbfcfa}.auth-card{width:100%;max-width:385px}.section-kicker{display:block;font-size:10px;font-weight:750;letter-spacing:1.8px;color:var(--green);margin-bottom:14px}.auth-card h2{font-weight:650;font-size:32px;letter-spacing:-1px;margin-bottom:12px}.subheading{color:var(--muted);line-height:1.7;font-size:14px;margin-bottom:32px}.login-submit{display:flex;align-items:center;justify-content:space-between;margin-top:26px;height:50px}.recovery-link{display:block;text-align:center;font-size:13px;margin-top:24px;text-decoration:none;font-weight:600}.access-note{border-top:1px solid var(--line);display:flex;gap:12px;margin-top:40px;padding-top:24px;color:var(--muted);font-size:12px;line-height:1.7}.access-note p{margin:0}.auth-main footer{position:absolute;bottom:28px;color:#7a8980;font-size:11px}.app-shell{display:flex;min-height:100vh}.sidebar{width:236px;flex-shrink:0;background:var(--green-dark);color:white;padding:30px 22px;display:flex;flex-direction:column}.sidebar .brand{margin:0 7px 45px}.sidebar-label{font-size:9px;letter-spacing:1.5px;color:#9dbbaa;margin:0 12px 18px}.sidebar nav a{display:flex;align-items:center;gap:12px;color:#d2e0d6;text-decoration:none;padding:13px 14px;margin-bottom:6px;border-radius:8px;font-size:14px}.sidebar nav a:hover,.sidebar nav a[aria-current]{background:#ffffff10;color:white}.sidebar nav a span{font-size:20px;line-height:1}.sidebar-bottom{margin-top:auto;padding:60px 10px 0;font-size:10px;color:#c1d4c6;line-height:2}.sidebar-bottom small{color:#9ab3a3;margin-left:15px}.workspace{flex:1;min-width:0;display:flex;flex-direction:column}.topbar{height:88px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 40px}.topbar-label{font-size:10px;letter-spacing:1.7px;color:var(--muted)}.user-menu{display:flex;align-items:center;gap:12px}.user-menu strong{font-size:12px}.user-menu small{display:block;font-size:10px;color:var(--muted)}.user-menu form{margin-left:12px}.avatar{width:36px;height:36px;display:grid;place-items:center;border-radius:50%;background:var(--green-light);font-size:13px;font-weight:bold}.main-content{padding:40px;flex:1}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:30px}.page-heading h1{font-size:30px;letter-spacing:-.9px;margin-bottom:8px}.page-heading p{font-size:14px;color:var(--muted);margin:0}.environment-pill{border:1px solid #d1ddd3;border-radius:20px;padding:8px 12px;font-size:10px;color:var(--muted)}.stat-card{display:flex;align-items:flex-start;gap:20px;background:white;border:1px solid var(--line);border-radius:12px;padding:24px}.stat-icon{width:42px;height:42px;display:grid;place-items:center;background:var(--green-light);color:var(--green);border-radius:10px;font-size:24px}.stat-card span{font-size:12px;color:var(--muted)}.stat-card strong{display:block;font-size:34px;font-weight:600;line-height:1.4}.stat-card small{font-size:11px;color:var(--muted)}.welcome-panel{display:flex;align-items:center;justify-content:space-between;background:#eaf1e9;border:1px solid #d9e4d6;border-radius:12px;padding:32px;overflow:hidden}.welcome-panel h2{font-size:24px;font-weight:600;letter-spacing:-.5px}.welcome-panel p{font-size:13px;color:#5d7363;line-height:1.8;margin:14px 0 22px}.welcome-symbol{font-size:110px;font-weight:800;color:#cbdac9;line-height:1;transform:rotate(-8deg);padding:0 25px}.panel{background:#fff;border:1px solid var(--line);border-radius:12px;padding:26px}.panel-title{font-size:16px;margin-bottom:22px}.table{--bs-table-color:var(--ink);margin-bottom:0;font-size:13px}.table th{font-weight:600;font-size:11px;color:var(--muted);padding:12px 10px;background:#f8faf7}.table td{padding:16px 10px;border-color:#eef2ec}.empty-cell{text-align:center;color:var(--muted)!important;padding:36px!important}.app-footer{padding:20px 40px;font-size:11px;color:#738279;display:flex;justify-content:space-between}.development-note{font-size:12px;color:var(--muted);margin:25px 0 0}.form-panel{max-width:740px}.status-badge{font-size:10px;color:#286a47;background:#e7f3eb;padding:5px 10px;border-radius:20px}.status-badge.inactive{color:#706455;background:#f3efe9}
@media(max-width:1050px){.auth-story{padding:36px}.main-content{padding:28px}.topbar{padding:0 28px}.sidebar{width:205px}.welcome-symbol{display:none}}
@media(max-width:760px){.auth-shell{display:block}.auth-story{min-height:auto;padding:25px}.story-copy,.story-footer,.story-geometry{display:none}.auth-main{min-height:calc(100vh - 98px);padding:48px 24px 80px}.auth-card{max-width:420px}.app-shell{display:block}.sidebar{width:100%;padding:18px 20px}.sidebar .brand{margin:0 0 18px}.sidebar-label,.sidebar-bottom{display:none}.sidebar nav{display:flex;gap:5px;flex-wrap:wrap}.sidebar nav a{padding:7px 10px;margin:0}.topbar{height:auto;min-height:76px;padding:16px 20px}.topbar-label{display:none}.user-menu{width:100%}.user-menu form{margin-left:auto}.main-content{padding:24px 18px}.page-heading{align-items:flex-start;flex-wrap:wrap}.page-heading h1{font-size:26px}.environment-pill{display:none}.welcome-panel{padding:24px}.panel{padding:20px}.app-footer{padding:20px}.auth-card h2{font-size:29px}}
.visitor-photo,
.visitor-photo-placeholder,
.camera-preview {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 0.75rem;
  background: #e8efeb;
}

.visitor-photo-placeholder {
  display: grid;
  place-items: center;
  color: #587067;
  font-weight: 600;
}

.present-photo {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 0.5rem;
  background: #e8efeb;
}

.notification-bell {
  position: relative;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-right: 8px;
  border-radius: 50%;
  text-decoration: none;
  font-size: 18px;
}

.notification-bell:hover {
  background: var(--green-light);
}

.notification-count {
  position: absolute;
  top: -2px;
  right: -4px;
  min-width: 18px;
  padding: 1px 5px;
  border-radius: 10px;
  background: var(--orange);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  text-align: center;
}

.notification-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.notification-row.unread {
  border-left: 3px solid var(--orange);
  padding-left: 12px;
}

.host-block {
  margin: 12px 0;
  padding: 12px 14px;
  border-radius: 8px;
  background: var(--green-light);
}

.health-card {
  padding: 20px 22px;
  border-radius: 12px;
  border: 1px solid var(--line);
  border-left: 5px solid #2f8a5f;
  background: #fff;
}

.health-card.alert {
  border-left-color: var(--orange);
  background: #fff8f2;
}

.health-card h2 {
  margin: 8px 0 6px;
  font-size: 16px;
}

.health-card p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.health-status {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #2f8a5f;
}

.health-card.alert .health-status {
  color: #b5541c;
}

.divergence-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  margin: 12px 0;
  padding: 12px 14px;
  border: 1px solid #f0c49d;
  border-left: 5px solid var(--orange);
  border-radius: 8px;
  background: #fff6ee;
  color: #5b3a1d;
}

.late-badge {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 20px;
  background: var(--orange);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.late-note {
  color: #9a4a12;
}
