:root{
    --bg:#f4f7f8;
    --surface:#ffffff;
    --ink:#17343a;
    --muted:#6b7d82;
    --line:#d9e3e6;
    --brand:#155b68;
    --brand2:#1da9ba;
    --ready:#07956d;
    --conditional:#f5b441;
    --notready:#cf5b49;
    --empty:#eef3f4;
    --shadow:0 12px 28px rgba(18,58,67,.08);
    --radius:18px;
}
*{box-sizing:border-box}
body{
    margin:0;
    font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    background:var(--bg);
    color:var(--ink);
}
a{color:inherit;text-decoration:none}
button,input,textarea,select{font:inherit}
.topbar{
    position:sticky;top:0;z-index:50;
    min-height:72px;
    display:flex;align-items:center;justify-content:space-between;
    gap:24px;padding:10px 28px;
    background:rgba(255,255,255,.95);
    border-bottom:1px solid var(--line);
    backdrop-filter:blur(12px);
}
.brand{display:flex;align-items:center;gap:11px}
.brand-mark{
    width:42px;height:42px;border-radius:13px;
    display:grid;place-items:center;
    background:var(--brand2);color:white;font-weight:800;
}
.brand strong,.brand small{display:block}
.brand small{color:var(--muted);font-size:12px;margin-top:2px}
.topnav{display:flex;align-items:center;gap:8px}
.topnav>a{padding:9px 12px;border-radius:10px}
.topnav>a:hover{background:#edf4f5}
.person-chip{background:#e8f5f7!important;color:#0c6674;font-weight:700}
.page-shell{max-width:1280px;margin:auto;padding:30px}
h1{font-size:clamp(28px,4vw,44px);line-height:1.05;margin:6px 0 10px}
h2{margin:0}
h3{margin:6px 0 8px;line-height:1.35}
p{line-height:1.55}
.muted{color:var(--muted)}
.eyebrow{text-transform:uppercase;letter-spacing:.11em;font-size:12px;font-weight:800;color:#197383}
.hero-row,.facility-hero,.checklist-heading{
    display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:24px
}
.btn{
    display:inline-flex;align-items:center;justify-content:center;
    min-height:44px;padding:10px 16px;border-radius:12px;
    border:1px solid transparent;font-weight:800;cursor:pointer
}
.btn-primary{background:var(--brand);color:white}
.btn-outline{background:white;border-color:var(--line)}
.btn-small{min-height:36px;padding:7px 12px;font-size:14px}
.button-row{display:flex;gap:10px;flex-wrap:wrap}
.stats-grid{
    display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin:20px 0 24px
}
.stats-grid.compact{grid-template-columns:repeat(3,minmax(0,1fr))}
.stat-card{
    background:var(--surface);border:1px solid var(--line);border-radius:15px;
    padding:17px;box-shadow:var(--shadow)
}
.stat-card strong{display:block;font-size:28px}
.stat-card span{color:var(--muted);font-size:13px}
.stat-card.warning{border-top:4px solid var(--conditional)}
.stat-card.danger{border-top:4px solid var(--notready)}
.dashboard-grid{display:grid;grid-template-columns:minmax(320px,520px) 1fr;gap:20px;align-items:start}
.two-col{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.panel,.map-card,.narrow-card,.decision-card{
    background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)
}
.panel{overflow:hidden}
.panel-head{
    display:flex;align-items:center;justify-content:space-between;
    gap:20px;padding:18px 20px;border-bottom:1px solid var(--line)
}
.panel-head span,.panel-head a{color:var(--muted);font-size:13px}
.map-card{padding:18px}
.map-wrap{
    position:relative;
    width:min(100%,420px);
    margin:auto;
    background:#175b65;
    border-radius:16px;
    overflow:hidden;
}
.map-wrap img{display:block;width:100%;height:auto}
.map-pin{
    position:absolute;
    display:grid;place-items:center;
    border:3px solid rgba(255,255,255,.92);
    border-radius:12px;
    opacity:.86;
    box-shadow:0 5px 14px rgba(0,0,0,.15);
    transition:.18s ease;
}
.map-pin:hover{opacity:1;transform:scale(1.06);z-index:5}
.map-pin span{
    display:grid;place-items:center;
    min-width:26px;height:26px;padding:0 7px;
    background:white;color:#155b68;border-radius:999px;font-weight:900
}
.legend{display:flex;gap:14px;flex-wrap:wrap;padding-top:14px;color:var(--muted);font-size:13px}
.dot{display:inline-block;width:10px;height:10px;border-radius:999px;margin-right:5px}
.dot.ready{background:var(--ready)}
.dot.conditional{background:var(--conditional)}
.dot.not-ready{background:var(--notready)}
.dot.empty{background:#dbe4e7;border:1px solid #aab9bd}
.status-ready{background:var(--ready)!important;color:white!important}
.status-conditional{background:var(--conditional)!important;color:#473100!important}
.status-not-ready{background:var(--notready)!important;color:white!important}
.status-empty{background:white!important;color:var(--ink)!important;border-color:#bcc9cc!important}
.facility-list{display:flex;flex-direction:column}
.facility-row{
    display:flex;align-items:center;gap:12px;padding:14px 18px;border-bottom:1px solid #edf1f2
}
.facility-row:hover{background:#f8fbfb}
.facility-number{
    flex:0 0 40px;width:40px;height:40px;border-radius:999px;
    display:grid;place-items:center;font-weight:900;border:1px solid var(--line)
}
.facility-number.xl{width:74px;height:74px;font-size:24px;flex-basis:74px}
.facility-main{flex:1;min-width:0}
.facility-main strong,.facility-main small{display:block}
.facility-main small{margin-top:3px;color:var(--muted)}
.status-pill{
    display:inline-flex;align-items:center;justify-content:center;
    padding:6px 9px;border-radius:999px;
    font-size:11px;font-weight:900;letter-spacing:.02em;text-align:center
}
.status-pill.large{font-size:13px;padding:8px 12px}
.facility-title-block{display:flex;align-items:center;gap:16px}
.crumbs{display:flex;gap:8px;align-items:center;color:var(--muted);font-size:13px;margin-bottom:18px}
.crumbs a{color:#136777;font-weight:700}
.timeline{padding:4px 18px 16px}
.timeline-item{display:grid;grid-template-columns:100px 1fr;gap:4px 10px;padding:12px 0;border-bottom:1px solid #edf1f2}
.timeline-item small{grid-column:2;color:var(--muted)}
.empty-state{padding:24px;color:var(--muted);text-align:center}
.action-list{padding:16px}
.action-card{border:1px solid var(--line);border-radius:14px;padding:14px;margin-bottom:10px}
.action-card p{margin:8px 0}
.action-card small{color:var(--muted)}
.action-top{display:flex;justify-content:space-between;gap:10px}
.info-grid{display:grid;grid-template-columns:170px 1fr;gap:10px 18px;padding:20px}
.info-grid dt{color:var(--muted)}
.info-grid dd{margin:0;font-weight:650}
.narrow-card{max-width:700px;margin:40px auto;padding:28px}
.stack{display:grid;gap:14px}
label{display:grid;gap:7px;font-weight:750;font-size:14px}
input,textarea,select{
    width:100%;border:1px solid #cbd7da;border-radius:10px;
    padding:10px 12px;background:white;color:var(--ink)
}
textarea{resize:vertical}
.people-list{margin-top:18px;color:var(--muted)}
.people-list div{padding:7px 0;border-bottom:1px solid #edf1f2}
.alert{padding:13px 15px;border-radius:12px;margin:14px 0}
.alert-danger{background:#fff0ed;color:#8f2f22;border:1px solid #f0c3bb}
.alert-warning{background:#fff8e8;color:#755000;border:1px solid #f0daa4}
.progress-card{
    background:white;border:1px solid var(--line);border-radius:15px;
    padding:14px 20px;text-align:center;min-width:130px
}
.progress-card strong{font-size:28px;display:block}
.progress-card span{color:var(--muted);font-size:12px}
.checklist-list{display:grid;gap:12px}
.check-item{
    display:grid;grid-template-columns:52px 1fr;
    background:white;border:1px solid var(--line);border-radius:16px;overflow:hidden
}
.check-number{
    display:grid;place-items:center;background:#edf5f6;color:#176876;font-size:20px;font-weight:900
}
.check-content{padding:16px 18px}
.check-meta{display:flex;gap:8px;align-items:center;color:#187082;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.05em}
.check-meta b{background:#ffe9e4;color:#9a3d2f;padding:3px 6px;border-radius:6px}
.status-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:14px 0}
.status-choice input{position:absolute;opacity:0;pointer-events:none}
.status-choice span{
    min-height:42px;display:grid;place-items:center;
    border:1px solid var(--line);border-radius:10px;background:#fafcfc;
    cursor:pointer;text-align:center;padding:7px;font-size:13px
}
.status-choice input:checked + span{outline:3px solid rgba(20,91,104,.12);font-weight:900}
.status-choice.ready input:checked + span{background:#dff5ed;border-color:#64c3a5;color:#075c44}
.status-choice.ready-with-action input:checked + span{background:#fff2cf;border-color:#ecc86f;color:#6f4c00}
.status-choice.not-ready input:checked + span{background:#ffe5df;border-color:#e69d91;color:#8c3327}
.status-choice.not-applicable input:checked + span{background:#edf2f3}
.item-extra{display:grid;grid-template-columns:100px 1fr;gap:12px}
.save-row{display:flex;align-items:center;gap:12px;margin-top:12px}
.save-result{font-size:13px;color:var(--muted)}
.save-result.ok{color:#087456}
.save-result.error{color:#aa3326}
.decision-card{display:grid;grid-template-columns:1fr 1fr;gap:28px;padding:24px;margin-top:24px}
.decision-form{display:grid;gap:12px}
.table-scroll{overflow:auto}
.data-table{width:100%;border-collapse:collapse;min-width:820px}
.data-table th,.data-table td{padding:12px 14px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}
.data-table th{background:#f0f6f7;font-size:12px;text-transform:uppercase;letter-spacing:.04em}
.data-table small{color:var(--muted)}
@media(max-width:980px){
    .stats-grid{grid-template-columns:repeat(3,1fr)}
    .dashboard-grid,.two-col,.decision-card{grid-template-columns:1fr}
}
@media(max-width:700px){
    .topbar{padding:10px 14px;align-items:flex-start}
    .topnav{gap:2px;flex-wrap:wrap;justify-content:flex-end}
    .topnav>a{padding:8px;font-size:13px}
    .brand small{display:none}
    .page-shell{padding:18px 12px}
    .hero-row,.facility-hero,.checklist-heading{flex-direction:column}
    .stats-grid,.stats-grid.compact{grid-template-columns:repeat(2,1fr)}
    .status-options{grid-template-columns:1fr 1fr}
    .item-extra{grid-template-columns:1fr}
    .facility-row{align-items:flex-start}
    .status-pill{max-width:130px}
    .info-grid{grid-template-columns:1fr;gap:4px}
}

.brand-logo{display:flex;align-items:center}.brand-logo img{display:block;width:190px;max-height:68px;object-fit:contain;object-position:left center}.top-actions{display:flex;align-items:center;gap:14px}.lang-switch{display:flex;align-items:center;gap:7px;border:1px solid var(--line);border-radius:999px;padding:6px 10px;background:white;font-weight:800}.lang-switch a{color:var(--muted)}.lang-switch a.active{color:var(--brand)}
.site-footer{max-width:1280px;margin:24px auto 0;padding:26px 30px;display:grid;grid-template-columns:1fr 1fr 1fr;align-items:center;gap:20px;border-top:1px solid var(--line);background:#fff}.footer-logo img{width:170px;max-height:78px;object-fit:contain}.footer-center{text-align:center;display:grid;gap:5px;color:var(--muted)}.footer-center strong{color:var(--ink)}.powered-by{display:flex;justify-content:flex-end;align-items:center;gap:14px}.powered-by div{display:grid;text-align:right}.powered-by span{font-size:12px;color:var(--muted)}.powered-by strong{font-size:18px}.powered-by img{width:78px;height:78px;border-radius:50%;object-fit:cover}
.home-intro{text-align:center;max-width:760px;margin:10px auto 22px}.home-map-card{max-width:780px;margin:0 auto;background:white;border:1px solid var(--line);border-radius:var(--radius);padding:20px;box-shadow:var(--shadow)}.map-wrap.map-large{width:min(100%,560px)}.legend.centered{justify-content:center}.id-card{text-align:center}.id-form{max-width:340px;margin:20px auto 0}.id-input{font-size:38px;letter-spacing:.35em;text-align:center;font-weight:900;padding-left:.35em}.admin-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.admin-card{background:white;border:1px solid var(--line);border-radius:16px;padding:20px;display:grid;gap:6px;box-shadow:var(--shadow)}.admin-card span{color:var(--muted)}.panel-pad{padding:20px}.inline-check{display:flex;align-items:center;gap:9px}.inline-check input{width:auto}.row-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.row-actions form{margin:0}
@media(max-width:700px){.brand-logo img{width:140px}.site-footer{grid-template-columns:1fr;text-align:center}.footer-logo img{margin:auto}.powered-by{justify-content:center}.powered-by div{text-align:center}.admin-links{grid-template-columns:1fr}}

/* V1.1 responsive UI refinement — map image and hotspot coordinates unchanged */
:root{--bg:#eef3f4;--surface:#fff;--ink:#123f49;--muted:#668087;--line:#d7e2e4;--brand:#0f5966;--brand2:#17a8b8;--shadow:0 16px 40px rgba(18,63,73,.08);--radius:22px}
body{min-height:100vh;background:linear-gradient(180deg,#f8fbfb 0,#eef4f5 38%,#edf2f3 100%)}
.topbar{min-height:86px;padding:10px clamp(16px,4vw,46px);box-shadow:0 1px 0 rgba(16,72,83,.04)}
.brand-logo img{width:168px;max-height:66px}
.top-actions{gap:10px}.lang-switch{padding:7px 12px;box-shadow:0 3px 12px rgba(18,63,73,.05)}
.person-chip{border-radius:999px;padding:9px 13px!important}
.page-shell{width:min(100%,1440px);padding:clamp(20px,3vw,44px)}
.home-intro{margin:4px auto 28px;max-width:850px}.home-intro h1{font-size:clamp(30px,4vw,50px);letter-spacing:-.035em}.home-intro p{max-width:650px;margin:12px auto 0;font-size:15px}
.home-map-card{max-width:720px;padding:clamp(12px,2vw,22px);border-radius:28px;border-color:#d8e4e6;box-shadow:0 22px 60px rgba(18,63,73,.11)}
.map-wrap.map-large{width:min(100%,560px);border-radius:20px;box-shadow:0 10px 28px rgba(11,66,77,.16)}
.map-pin{border-width:2px;border-radius:11px;box-shadow:0 5px 13px rgba(0,0,0,.14);transition:transform .16s ease,opacity .16s ease,box-shadow .16s ease}
.map-pin:hover{transform:scale(1.035);box-shadow:0 8px 18px rgba(0,0,0,.18)}
.map-pin span{min-width:25px;height:25px;font-size:13px}
.legend.centered{margin-top:16px;padding:14px 10px 2px;border-top:1px solid #edf2f3;gap:10px 18px}.legend span{display:flex;align-items:center;white-space:nowrap}.dot{width:9px;height:9px}
.panel,.map-card,.narrow-card,.decision-card,.stat-card,.admin-card{border-color:#dbe5e7;box-shadow:0 12px 34px rgba(18,63,73,.07)}
.btn{border-radius:13px}.btn-primary{box-shadow:0 7px 16px rgba(15,89,102,.17)}
input,textarea,select{min-height:44px;border-radius:12px}.check-item{border-radius:18px}.status-choice span{border-radius:12px}
.site-footer{width:min(100%,1440px);max-width:none;margin:36px auto 0;padding:28px clamp(20px,4vw,48px);border-top:1px solid #dbe5e7;background:rgba(255,255,255,.76)}
.footer-logo img{width:145px}.powered-by img{width:64px;height:64px}.footer-center strong{font-size:13px}.footer-center small{font-size:12px}

@media(min-width:1100px){
  .home-map-card{max-width:760px}.map-wrap.map-large{width:590px;max-width:100%}
}
@media(max-width:700px){
  .topbar{min-height:70px;padding:8px 12px;align-items:center}.brand-logo img{width:118px;max-height:54px}.top-actions{gap:6px}.lang-switch{padding:6px 9px;font-size:13px}.person-chip{font-size:12px;padding:8px 9px!important}
  .page-shell{padding:18px 10px 24px}.home-intro{margin:2px auto 18px;padding:0 8px}.home-intro .eyebrow{font-size:10px}.home-intro h1{font-size:29px;line-height:1.08;margin-top:5px}.home-intro p{font-size:13px;line-height:1.45;margin-top:9px}
  .home-map-card{padding:8px;border-radius:20px}.map-wrap.map-large{width:100%;border-radius:16px}.map-pin{border-width:2px;border-radius:9px}.map-pin span{min-width:22px;height:22px;padding:0 5px;font-size:12px}
  .legend.centered{margin-top:9px;padding:11px 5px 3px;justify-content:flex-start;display:grid;grid-template-columns:1fr 1fr;gap:8px 10px;font-size:11px}.legend span{white-space:normal}
  .site-footer{margin-top:24px;padding:24px 16px;gap:16px}.footer-logo img{width:122px}.footer-center{font-size:12px}.powered-by{gap:10px}.powered-by img{width:56px;height:56px}.powered-by strong{font-size:16px}
  .narrow-card{margin:18px auto;padding:20px 16px;border-radius:18px}.id-input{font-size:32px}
  .check-content{padding:14px 12px}.check-item{grid-template-columns:42px 1fr}.check-number{font-size:17px}.status-options{gap:6px}.status-choice span{min-height:46px;font-size:12px;padding:6px 4px}
}
@media(max-width:390px){
  .brand-logo img{width:102px}.person-chip{max-width:108px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.home-intro h1{font-size:26px}.legend.centered{grid-template-columns:1fr}.page-shell{padding-left:7px;padding-right:7px}
}


/* =========================================================
   V1 UI refinement: navbar + footer sizing
   Map geometry/hotspots intentionally untouched.
   ========================================================= */

:root{
  --nav-h: 72px;
}

/* Header / navbar */
.topbar{
  min-height: var(--nav-h);
  padding: 8px clamp(16px, 3vw, 32px);
  gap: 18px;
  display:flex;
  align-items:center;
}
.brand-logo{
  flex:0 0 auto;
  height:54px;
}
.brand-logo img{
  width:auto !important;
  height:54px !important;
  max-width:168px;
  max-height:54px !important;
  object-fit:contain;
  object-position:left center;
}
.top-actions{
  margin-left:auto;
  gap:10px;
  min-width:0;
}
.lang-switch{
  min-height:38px;
  padding:5px 10px;
  font-size:13px;
  line-height:1;
}
.person-chip{
  min-height:38px;
  display:inline-flex;
  align-items:center;
  padding:7px 12px;
  font-size:13px;
  white-space:nowrap;
}

/* Keep page content visually balanced below the slimmer navbar. */
.page-shell{
  padding-top: clamp(18px, 3vw, 30px);
}

/* Footer */
.site-footer{
  max-width:1280px;
  min-height:104px;
  margin:28px auto 0;
  padding:16px clamp(16px, 3vw, 30px);
  grid-template-columns:minmax(150px, .8fr) minmax(260px, 1.4fr) minmax(190px, .8fr);
  gap:20px;
}
.footer-logo img{
  width:auto !important;
  height:62px !important;
  max-width:150px;
  max-height:62px !important;
  object-fit:contain;
  object-position:left center;
}
.footer-center{
  gap:3px;
  font-size:13px;
  line-height:1.35;
}
.footer-center strong{
  font-size:13px;
}
.footer-center small{
  font-size:11px;
}
.powered-by{
  gap:10px;
}
.powered-by span{
  font-size:10px;
}
.powered-by strong{
  font-size:15px;
}
.powered-by img{
  width:54px !important;
  height:54px !important;
  flex:0 0 54px;
}

/* Tablet */
@media (max-width: 900px){
  :root{ --nav-h: 66px; }
  .topbar{
    min-height:66px;
    padding:7px 16px;
  }
  .brand-logo,
  .brand-logo img{
    height:48px !important;
  }
  .brand-logo img{
    max-width:145px;
  }
  .site-footer{
    grid-template-columns:1fr auto;
    min-height:auto;
    padding:16px;
  }
  .footer-center{
    grid-column:1 / -1;
    grid-row:2;
  }
}

/* Mobile */
@media (max-width: 600px){
  :root{ --nav-h: 58px; }
  .topbar{
    min-height:58px;
    padding:6px 12px;
    gap:8px;
  }
  .brand-logo{
    height:42px;
    min-width:0;
  }
  .brand-logo img{
    height:42px !important;
    max-width:118px;
  }
  .top-actions{
    gap:6px;
  }
  .lang-switch{
    min-height:34px;
    padding:4px 8px;
    gap:5px;
    font-size:12px;
  }
  .person-chip{
    min-height:34px;
    max-width:130px;
    overflow:hidden;
    text-overflow:ellipsis;
    padding:6px 9px;
    font-size:11px;
  }
  .page-shell{
    padding-top:14px;
  }

  .site-footer{
    margin-top:20px;
    padding:18px 14px;
    grid-template-columns:1fr;
    gap:12px;
    justify-items:center;
    text-align:center;
  }
  .footer-logo img{
    height:50px !important;
    max-width:126px;
    object-position:center;
  }
  .footer-center{
    grid-column:auto;
    grid-row:auto;
    max-width:300px;
  }
  .footer-center strong{
    font-size:12px;
  }
  .powered-by{
    justify-content:center;
  }
  .powered-by div{
    text-align:right;
  }
  .powered-by img{
    width:46px !important;
    height:46px !important;
    flex-basis:46px;
  }
}

/* Very small phones: keep navbar on one line without dominating screen. */
@media (max-width: 390px){
  .brand-logo img{
    max-width:104px;
    height:38px !important;
  }
  .person-chip{
    max-width:104px;
    padding-inline:7px;
  }
}


/* =========================================================
   Minimalist usability pass
   Map image and hotspot geometry are intentionally unchanged.
   ========================================================= */

:root{
  --radius: 12px;
  --shadow: 0 2px 10px rgba(16, 49, 58, .06);
}

/* Less visual noise */
body{
  background:#f6f8f8;
}
.page-shell{
  max-width:1180px;
}
h1,h2,h3{
  letter-spacing:-.02em;
}
.muted{
  line-height:1.55;
}

/* Simple header */
.topbar{
  background:rgba(255,255,255,.98);
  border-bottom:1px solid var(--line);
  box-shadow:none;
}
.lang-switch{
  border:0;
  background:#f1f5f5;
  border-radius:8px;
  box-shadow:none;
}
.lang-switch a{
  padding:4px 5px;
  border-radius:5px;
}
.lang-switch a.active{
  background:#fff;
  box-shadow:0 1px 3px rgba(0,0,0,.08);
}
.person-chip{
  border-radius:8px;
  box-shadow:none;
}

/* Homepage: map is the main action */
.home-intro{
  margin-top:2px;
  margin-bottom:16px;
}
.home-intro .eyebrow{
  display:none;
}
.home-intro h1{
  margin-bottom:6px;
  font-size:clamp(24px,3vw,34px);
}
.home-intro p{
  margin:0 auto;
  max-width:620px;
}
.home-map-card{
  border:1px solid #dfe7e8;
  border-radius:14px;
  padding:14px;
  box-shadow:none;
}
.legend{
  margin-top:14px;
  gap:8px 16px;
  font-size:12px;
}
.legend span{
  display:inline-flex;
  align-items:center;
  gap:6px;
}

/* Make actions obvious and consistent */
.btn{
  min-height:42px;
  padding:9px 15px;
  border-radius:8px;
  font-weight:750;
  box-shadow:none !important;
  transition:background .15s ease,border-color .15s ease,transform .15s ease;
}
.btn:hover{
  transform:translateY(-1px);
}
.btn-primary{
  border:1px solid var(--brand);
}
.btn-outline{
  background:#fff;
  border:1px solid #cbd8da;
}
.btn-small{
  min-height:34px;
  padding:6px 10px;
  font-size:12px;
}

/* Forms: large click/tap targets, labels above controls */
.stack{
  gap:14px;
}
label{
  font-weight:700;
  font-size:13px;
}
input,select,textarea{
  margin-top:6px;
  min-height:44px;
  border:1px solid #cbd8da;
  border-radius:8px;
  background:#fff;
  box-shadow:none;
}
input:focus,select:focus,textarea:focus{
  outline:3px solid rgba(18,160,174,.13);
  border-color:var(--brand);
}
textarea{
  min-height:96px;
}

/* Cards/panels */
.panel,
.narrow-card,
.stat-card,
.admin-card{
  border:1px solid #dfe7e8;
  border-radius:12px;
  box-shadow:none;
}
.panel-head{
  padding:15px 18px;
  border-bottom:1px solid #e7eded;
}
.panel-head h2,
.panel-head h3{
  margin:0;
}
.panel-pad{
  padding:18px;
}
.stats-grid.compact{
  gap:10px;
}
.stat-card{
  padding:16px;
}
.stat-card strong{
  font-size:24px;
}

/* Admin: clear menu tiles with no decoration */
.admin-links{
  gap:12px;
}
.admin-card{
  min-height:96px;
  padding:18px;
  justify-content:center;
}
.admin-card:hover{
  border-color:#b8cbce;
  background:#fbfdfd;
}
.admin-card strong{
  font-size:16px;
}
.admin-card span{
  font-size:12px;
  line-height:1.4;
}

/* Tables */
.data-table th{
  background:#f7f9f9;
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.04em;
}
.data-table th,
.data-table td{
  padding:11px 12px;
}
.data-table tbody tr:hover{
  background:#fafcfc;
}
.row-actions{
  justify-content:flex-end;
}

/* Breadcrumbs */
.crumbs{
  margin-bottom:14px;
  font-size:12px;
  color:var(--muted);
}
.crumbs a{
  font-weight:700;
}

/* ID screen: one task, one obvious button */
.id-card{
  max-width:440px;
  padding:28px;
  box-shadow:none;
}
.id-card .eyebrow{
  display:none;
}
.id-card h1{
  font-size:26px;
}
.id-input{
  height:60px;
  border-radius:10px;
}
.id-form .btn{
  min-height:48px;
  font-size:15px;
}

/* Status display should be readable without oversized decoration */
.status-pill,
.badge{
  border-radius:999px;
  box-shadow:none;
}

/* Footer: quiet and secondary */
.site-footer{
  border-top:1px solid #e3e9ea;
  background:transparent;
  box-shadow:none;
}
.footer-center strong{
  font-weight:650;
}
.powered-by{
  opacity:.82;
}

/* Mobile-first usability */
@media(max-width:700px){
  .page-shell{
    padding-left:12px;
    padding-right:12px;
  }
  .home-intro{
    margin-bottom:12px;
  }
  .home-intro h1{
    font-size:23px;
  }
  .home-intro p{
    font-size:13px;
  }
  .home-map-card{
    padding:8px;
    border-radius:10px;
  }
  .legend{
    justify-content:flex-start !important;
    display:grid;
    grid-template-columns:1fr 1fr;
    padding:4px 5px 2px;
  }
  .legend span{
    font-size:11px;
  }

  .two-col{
    grid-template-columns:1fr !important;
  }
  .admin-links{
    grid-template-columns:1fr !important;
  }
  .admin-card{
    min-height:78px;
    padding:14px 16px;
  }

  .panel-head{
    padding:13px 14px;
  }
  .panel-pad{
    padding:14px;
  }

  .btn{
    min-height:46px;
  }
  .row-actions{
    justify-content:flex-start;
  }
  .row-actions .btn{
    min-height:38px;
  }

  /* Horizontal tables remain usable instead of crushing columns */
  .table-scroll{
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
  }
  .data-table{
    min-width:620px;
  }

  .id-card{
    padding:22px 16px;
  }
}

/* Very small phones */
@media(max-width:420px){
  .legend{
    grid-template-columns:1fr;
  }
  .top-actions .person-chip{
    max-width:92px;
  }
}


/* =========================================================
   FINAL LAYOUT FIX
   Fixes oversized header/footer and vertical page spacing.
   Map image + map hotspot coordinates remain unchanged.
   ========================================================= */

html, body {
  min-height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  margin: 0;
  background: #f6f8f8;
}

/* Header */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  min-height: 64px !important;
  height: 64px !important;
  padding: 6px 20px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  background: #fff !important;
  border-bottom: 1px solid #e2e8e9 !important;
  box-shadow: none !important;
}

.brand-logo {
  display: flex !important;
  align-items: center !important;
  height: 50px !important;
  max-height: 50px !important;
  overflow: hidden;
}

.brand-logo img {
  display: block !important;
  width: auto !important;
  height: 50px !important;
  max-width: 150px !important;
  max-height: 50px !important;
  object-fit: contain !important;
}

.top-actions {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 8px !important;
  margin-left: auto !important;
}

.lang-switch {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 34px !important;
  padding: 4px 8px !important;
  margin: 0 !important;
}

.person-chip {
  min-height: 34px !important;
  display: inline-flex !important;
  align-items: center !important;
  padding: 5px 9px !important;
  margin: 0 !important;
}

/* Main */
.page-shell {
  width: 100%;
  max-width: 1180px !important;
  margin: 0 auto !important;
  padding: 22px 16px 28px !important;
  flex: 1 0 auto;
}

.home-intro {
  margin: 0 auto 16px !important;
  padding: 0 !important;
}

.home-map-card {
  margin: 0 auto !important;
}

/* Footer */
.site-footer {
  width: 100% !important;
  max-width: none !important;
  min-height: 78px !important;
  margin: 0 !important;
  margin-top: auto !important;
  padding: 10px 20px !important;
  display: grid !important;
  grid-template-columns: 170px 1fr 220px !important;
  align-items: center !important;
  gap: 16px !important;
  background: #fff !important;
  border-top: 1px solid #e2e8e9 !important;
  box-shadow: none !important;
}

.footer-logo {
  display: flex !important;
  align-items: center !important;
}

.footer-logo img {
  display: block !important;
  width: auto !important;
  height: 52px !important;
  max-width: 145px !important;
  max-height: 52px !important;
  object-fit: contain !important;
}

.footer-center {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 2px !important;
  text-align: center !important;
  line-height: 1.3 !important;
}

.footer-center strong {
  font-size: 12px !important;
  font-weight: 650 !important;
}

.footer-center small {
  font-size: 10px !important;
}

.powered-by {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 8px !important;
}

.powered-by div {
  display: flex !important;
  flex-direction: column !important;
  text-align: right !important;
  line-height: 1.2 !important;
}

.powered-by span {
  font-size: 9px !important;
}

.powered-by strong {
  font-size: 13px !important;
}

.powered-by img {
  display: block !important;
  width: 46px !important;
  height: 46px !important;
  min-width: 46px !important;
  max-width: 46px !important;
  min-height: 46px !important;
  max-height: 46px !important;
  object-fit: cover !important;
  border-radius: 50% !important;
}

/* Tablet */
@media (max-width: 800px) {
  .topbar {
    min-height: 58px !important;
    height: 58px !important;
    padding: 5px 12px !important;
  }

  .brand-logo,
  .brand-logo img {
    height: 44px !important;
    max-height: 44px !important;
  }

  .brand-logo img {
    max-width: 130px !important;
  }

  .page-shell {
    padding: 16px 10px 22px !important;
  }

  .site-footer {
    grid-template-columns: 120px 1fr 165px !important;
    min-height: 68px !important;
    padding: 8px 12px !important;
    gap: 10px !important;
  }

  .footer-logo img {
    height: 42px !important;
    max-height: 42px !important;
    max-width: 112px !important;
  }

  .powered-by img {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
  }
}

/* Mobile */
@media (max-width: 560px) {
  .topbar {
    position: sticky;
    min-height: 54px !important;
    height: 54px !important;
    padding: 5px 10px !important;
  }

  .brand-logo,
  .brand-logo img {
    height: 40px !important;
    max-height: 40px !important;
  }

  .brand-logo img {
    max-width: 112px !important;
  }

  .lang-switch {
    min-height: 30px !important;
    padding: 3px 6px !important;
    font-size: 11px !important;
  }

  .person-chip {
    min-height: 30px !important;
    max-width: 96px !important;
    padding: 4px 7px !important;
    font-size: 10px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .page-shell {
    padding: 12px 8px 18px !important;
  }

  .site-footer {
    min-height: auto !important;
    padding: 12px 10px !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    justify-items: center !important;
  }

  .footer-logo {
    display: none !important;
  }

  .footer-center {
    order: 1 !important;
  }

  .footer-center strong {
    font-size: 11px !important;
  }

  .powered-by {
    order: 2 !important;
    justify-content: center !important;
  }

  .powered-by div {
    text-align: right !important;
  }

  .powered-by img {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
  }
}

/* Prevent images from ever expanding layout accidentally */
.topbar img,
.site-footer img {
  flex-shrink: 0 !important;
}


/* =========================================================
   RESPONSIVE MAP SIZE
   Facility hotspot percentages remain unchanged and scale
   together with the map.
   ========================================================= */

.home-map-card{
  width:100% !important;
  max-width:1040px !important;
  padding:16px !important;
}

.map-wrap.map-large{
  position:relative !important;
  width:min(100%, 760px) !important;
  max-width:760px !important;
  margin:0 auto !important;
}

.map-wrap.map-large > img{
  display:block !important;
  width:100% !important;
  height:auto !important;
  max-width:none !important;
  margin:0 !important;
}

/* Large desktop */
@media (min-width: 1400px){
  .page-shell{
    max-width:1320px !important;
  }

  .home-map-card{
    max-width:1120px !important;
  }

  .map-wrap.map-large{
    width:min(100%, 820px) !important;
    max-width:820px !important;
  }
}

/* Standard desktop / laptop */
@media (min-width: 801px) and (max-width: 1399px){
  .map-wrap.map-large{
    width:min(100%, 700px) !important;
    max-width:700px !important;
  }
}

/* Tablet */
@media (max-width: 800px){
  .home-map-card{
    width:100% !important;
    max-width:100% !important;
    padding:10px !important;
  }

  .map-wrap.map-large{
    width:min(100%, 620px) !important;
    max-width:620px !important;
  }
}

/* Mobile */
@media (max-width: 560px){
  .home-map-card{
    padding:6px !important;
    border-radius:10px !important;
  }

  .map-wrap.map-large{
    width:100% !important;
    max-width:100% !important;
  }

  .map-wrap.map-large > img{
    width:100% !important;
  }

  .legend{
    margin-top:10px !important;
  }
}


/* =========================================================
   MODERN FRONTEND REDESIGN — 2026
   Compact header/footer, cleaner hierarchy, stronger UX.
   Existing map image and percentage hotspots are preserved.
   ========================================================= */

:root{
  --bg:#f3f7f8;
  --surface:#ffffff;
  --surface-2:#f8fbfb;
  --ink:#12353c;
  --muted:#71858a;
  --line:#dfe9eb;
  --brand:#0f6070;
  --brand-2:#16a7b6;
  --ready:#0f9d73;
  --conditional:#f3b443;
  --notready:#d65f4b;
  --radius:16px;
  --radius-sm:10px;
  --shadow:0 12px 32px rgba(18,53,60,.07);
  --shadow-soft:0 4px 14px rgba(18,53,60,.05);
}

/* Global */
html{scroll-behavior:smooth}
body{
  background:
    radial-gradient(circle at 15% -10%, rgba(22,167,182,.08), transparent 28%),
    radial-gradient(circle at 100% 0%, rgba(15,96,112,.05), transparent 30%),
    var(--bg);
  color:var(--ink);
  min-height:100vh;
}
.page-shell{
  width:100%;
  max-width:1220px !important;
  margin:0 auto !important;
  padding:22px 18px 34px !important;
}
h1{
  font-size:clamp(28px,4vw,46px);
  letter-spacing:-.035em;
  font-weight:800;
}
h2{letter-spacing:-.02em}
p{color:var(--muted)}
.eyebrow{
  color:var(--brand-2);
  font-size:11px;
  letter-spacing:.14em;
}

/* Compact modern navbar */
.topbar{display:none !important}
.appbar{
  position:sticky;
  top:0;
  z-index:1000;
  height:58px;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(16px);
  border-bottom:1px solid rgba(210,224,227,.9);
}
.appbar-inner{
  max-width:1220px;
  height:58px;
  margin:0 auto;
  padding:0 18px;
  display:flex;
  align-items:center;
  gap:22px;
}
.app-logo{
  display:flex;
  align-items:center;
  flex:0 0 auto;
}
.app-logo img{
  display:block;
  width:auto;
  height:38px;
  max-width:120px;
  object-fit:contain;
}
.main-nav{
  display:flex;
  align-items:center;
  gap:4px;
}
.main-nav a{
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:0 11px;
  border-radius:8px;
  color:#3f585e;
  font-size:13px;
  font-weight:700;
}
.main-nav a:hover{
  background:#eef6f7;
  color:var(--brand);
}
.appbar-actions{
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:8px;
}
.compact-lang{
  display:flex;
  padding:3px;
  background:#edf4f5;
  border-radius:8px;
}
.compact-lang a{
  min-width:31px;
  height:28px;
  padding:0 6px;
  display:grid;
  place-items:center;
  border-radius:6px;
  font-size:11px;
  font-weight:800;
  color:#7b8e92;
}
.compact-lang a.active{
  background:#fff;
  color:var(--brand);
  box-shadow:0 1px 4px rgba(20,64,72,.1);
}
.identity-btn{
  height:34px;
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:0 10px;
  border:1px solid var(--line);
  border-radius:8px;
  background:#fff;
  font-size:12px;
  font-weight:800;
}
.identity-dot{
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--ready);
}

/* Minimal footer */
.site-footer{display:none !important}
.mini-footer{
  border-top:1px solid var(--line);
  background:rgba(255,255,255,.75);
}
.mini-footer-inner{
  max-width:1220px;
  min-height:42px;
  margin:0 auto;
  padding:7px 18px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  color:#819399;
  font-size:11px;
}
.mini-footer strong{color:#466168}
.mini-footer img{
  width:24px;
  height:24px;
  object-fit:cover;
  border-radius:50%;
}
.footer-sep{opacity:.45}

/* Homepage */
.home-intro{
  max-width:760px !important;
  margin:8px auto 18px !important;
  text-align:center;
}
.home-intro h1{
  margin:4px 0 8px;
}
.home-intro p{
  max-width:620px;
  margin:0 auto;
  font-size:14px;
}
.home-map-card{
  width:100% !important;
  max-width:1060px !important;
  margin:0 auto !important;
  padding:16px !important;
  border:1px solid rgba(214,226,228,.95) !important;
  border-radius:22px !important;
  background:rgba(255,255,255,.92) !important;
  box-shadow:var(--shadow) !important;
}
.map-wrap.map-large{
  width:min(100%,800px) !important;
  max-width:800px !important;
  border-radius:18px !important;
  overflow:hidden !important;
  box-shadow:0 8px 24px rgba(8,69,78,.11);
}
.legend{
  margin-top:14px !important;
  padding-top:0 !important;
  justify-content:center !important;
  gap:8px !important;
}
.legend span{
  height:28px;
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:0 10px;
  border:1px solid #e4ebed;
  border-radius:999px;
  background:#fafcfc;
  color:#60767c;
  font-size:11px;
}
.dot{margin:0 !important}

/* Cards and panels */
.panel,.narrow-card,.decision-card,.map-card,.stat-card,.admin-card{
  border:1px solid rgba(216,228,230,.95) !important;
  background:rgba(255,255,255,.94) !important;
  border-radius:16px !important;
  box-shadow:var(--shadow-soft) !important;
}
.panel-head{
  min-height:54px;
  padding:14px 18px !important;
  background:linear-gradient(180deg,#fff,#fbfdfd);
}
.panel-head h2{font-size:16px}
.panel-pad{padding:18px !important}

/* Page headers */
.hero-row,.facility-hero,.checklist-heading{
  margin-bottom:18px !important;
}
.hero-row h1,.facility-hero h1,.checklist-heading h1{
  margin-top:3px;
}
.crumbs{
  margin-bottom:14px !important;
  color:#8a9ca0 !important;
}

/* Buttons */
.btn{
  min-height:40px !important;
  padding:8px 14px !important;
  border-radius:10px !important;
  font-size:13px;
  font-weight:800;
  box-shadow:none !important;
}
.btn-primary{
  background:linear-gradient(135deg,var(--brand),#0c7483) !important;
  border-color:transparent !important;
}
.btn-primary:hover{filter:brightness(1.04)}
.btn-outline{
  border-color:#d4e0e2 !important;
  background:#fff !important;
}
.btn-outline:hover{
  background:#f5fafa !important;
  border-color:#bed2d5 !important;
}

/* Forms */
input,textarea,select{
  min-height:42px !important;
  border:1px solid #d2dfe1 !important;
  border-radius:10px !important;
  background:#fbfdfd !important;
}
input:focus,textarea:focus,select:focus{
  background:#fff !important;
  border-color:#72bdc7 !important;
  outline:3px solid rgba(22,167,182,.11) !important;
}

/* Facility rows */
.facility-row{
  padding:13px 16px !important;
  gap:12px !important;
}
.facility-row:hover{background:#f8fbfb !important}
.facility-number{
  width:38px !important;
  height:38px !important;
  flex-basis:38px !important;
  border:0 !important;
}
.status-pill{
  min-height:26px;
  padding:5px 9px !important;
  font-size:10px !important;
  letter-spacing:.01em !important;
}

/* Checklist */
.checklist-list{gap:10px !important}
.check-item{
  border-radius:14px !important;
  box-shadow:0 2px 8px rgba(18,53,60,.035);
}
.check-number{
  width:50px;
  background:linear-gradient(180deg,#edf8f9,#e7f2f4) !important;
}
.check-content{padding:15px 16px !important}
.status-choice span{
  min-height:40px !important;
  border-radius:9px !important;
  font-size:12px !important;
}

/* Admin */
.admin-links{
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:12px !important;
}
.admin-card{
  min-height:104px !important;
  padding:18px !important;
}
.admin-card:hover{
  transform:translateY(-2px);
  border-color:#bdd2d5 !important;
}
.admin-card strong{font-size:15px !important}
.admin-card span{font-size:12px}

/* Data tables */
.data-table th{
  background:#f4f8f8 !important;
  color:#6a8085;
}
.data-table tbody tr:hover{background:#f9fbfb}

/* ID screen */
.id-card{
  max-width:430px !important;
  padding:28px !important;
}
.id-input{
  height:58px !important;
  font-size:34px !important;
  border:1px solid #c6d8db !important;
  background:#fff !important;
}
.id-form .btn{min-height:46px !important}

/* Responsive */
@media(max-width:900px){
  .appbar-inner{gap:12px}
  .main-nav a{padding:0 8px;font-size:12px}
  .admin-links{grid-template-columns:repeat(2,minmax(0,1fr)) !important}
}

@media(max-width:700px){
  .appbar{
    height:52px;
  }
  .appbar-inner{
    height:52px;
    padding:0 10px;
    gap:8px;
  }
  .app-logo img{
    height:34px;
    max-width:104px;
  }
  .main-nav{
    display:none;
  }
  .identity-btn{
    height:31px;
    padding:0 8px;
  }
  .compact-lang a{
    height:25px;
    min-width:28px;
  }
  .page-shell{
    padding:14px 8px 22px !important;
  }
  .home-intro{
    margin:4px auto 12px !important;
  }
  .home-intro h1{
    font-size:24px !important;
  }
  .home-intro p{
    font-size:12px;
  }
  .home-map-card{
    padding:7px !important;
    border-radius:13px !important;
  }
  .map-wrap.map-large{
    width:100% !important;
    max-width:none !important;
    border-radius:10px !important;
  }
  .legend{
    display:grid !important;
    grid-template-columns:1fr 1fr !important;
    gap:6px !important;
    margin-top:8px !important;
  }
  .legend span{
    justify-content:center;
    padding:0 6px;
  }
  .hero-row,.facility-hero,.checklist-heading{
    gap:12px !important;
  }
  .two-col{
    gap:12px !important;
  }
  .admin-links{
    grid-template-columns:1fr !important;
  }
  .admin-card{
    min-height:82px !important;
    padding:14px !important;
  }
  .mini-footer-inner{
    min-height:38px;
    padding:6px 10px;
    gap:6px;
    font-size:10px;
  }
  .mini-footer img{
    width:20px;
    height:20px;
  }
}

@media(max-width:430px){
  .legend{
    grid-template-columns:1fr !important;
  }
  .identity-btn span:last-child{
    max-width:48px;
    overflow:hidden;
    text-overflow:ellipsis;
  }
}


/* White-screen recovery build: shared-path helpers fixed.
   Keep the redesigned interface visible even if backdrop-filter is unsupported. */
@supports not (backdrop-filter: blur(16px)) {
  .appbar { background: #ffffff !important; }
}

/* COP17 homepage + personnel admin refinement */
.home-hero{
  width:min(100%,900px);
  margin:4px auto 18px;
  text-align:center;
}
.home-kicker{
  margin-bottom:7px;
  color:#1d7783;
  font-size:11px;
  line-height:1;
  font-weight:900;
  letter-spacing:.16em;
}
.home-hero h1{
  margin:0;
  font-size:clamp(27px,4vw,46px);
  letter-spacing:-.045em;
}
.home-hero p{
  max-width:620px;
  margin:9px auto 0;
  color:var(--muted);
  font-size:13px;
}
.readiness-stage{
  width:min(100%,1120px);
  margin:0 auto;
}
.map-wrap.home-map{
  width:min(100%,940px) !important;
  max-width:none !important;
  margin:0 auto;
  border-radius:20px;
  box-shadow:0 16px 42px rgba(13,74,83,.12);
}
.home-map .map-pin{
  border-width:2px;
  border-radius:10px;
  opacity:.80;
}
.home-map .map-pin:hover,
.home-map .map-pin:focus-visible{
  opacity:.98;
  transform:scale(1.035);
  outline:3px solid rgba(255,255,255,.8);
  outline-offset:2px;
}
.home-map .map-pin span{
  min-width:25px;
  height:25px;
  padding:0 6px;
  font-size:12px;
  box-shadow:0 2px 8px rgba(0,0,0,.11);
}
.home-legend{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:7px;
  margin:12px auto 0;
}
.home-legend span{
  display:inline-flex;
  align-items:center;
  gap:6px;
  min-height:30px;
  padding:0 10px;
  border:1px solid #dfe9eb;
  border-radius:999px;
  background:rgba(255,255,255,.78);
  color:#61767b;
  font-size:11px;
  font-weight:650;
}
.home-legend b{color:#17343a;font-size:12px}
.home-legend .dot{flex:0 0 auto}

.alert-success{background:#eaf8f2;color:#17634e;border:1px solid #bfe5d5}
.admin-page-head{display:flex;justify-content:space-between;gap:20px;margin-bottom:18px}
.admin-page-head h1{margin:3px 0 7px}
.admin-page-head p{margin:0;max-width:680px}
.personnel-layout{
  display:grid;
  grid-template-columns:minmax(300px,390px) minmax(0,1fr);
  gap:18px;
  align-items:start;
}
.create-id-panel{position:sticky;top:76px}
.panel-head small{display:block;margin-bottom:3px;color:var(--muted);font-size:11px;font-weight:750}
.personnel-form label>small{color:var(--muted);font-size:11px;font-weight:500;line-height:1.4}
.id-field-row{display:grid;grid-template-columns:1fr auto;gap:8px}
.id-field-row input{
  font-size:20px;
  font-weight:850;
  letter-spacing:.12em;
}
.optional-fields{
  border:1px solid #e1eaec;
  border-radius:11px;
  background:#fafcfc;
  overflow:hidden;
}
.optional-fields summary{
  cursor:pointer;
  padding:12px 13px;
  color:#60767b;
  font-size:12px;
  font-weight:800;
  user-select:none;
}
.optional-fields-body{padding:2px 13px 13px}
.inline-check{display:flex !important;align-items:center;gap:9px !important}
.inline-check input{width:17px !important;min-height:17px !important;height:17px !important}
.create-id-submit{width:100%}
.personnel-list-panel{min-width:0}
.personnel-cards{display:grid}
.personnel-card{
  display:grid;
  grid-template-columns:66px minmax(0,1fr) auto;
  gap:14px;
  align-items:center;
  padding:13px 16px;
  border-bottom:1px solid #edf2f3;
}
.personnel-card:last-child{border-bottom:0}
.personnel-card.is-disabled{background:#fafbfb;opacity:.62}
.personnel-id-badge{
  min-height:42px;
  display:grid;
  place-items:center;
  border-radius:10px;
  background:#e8f4f5;
  color:#135f6b;
  font-size:16px;
  font-weight:900;
  letter-spacing:.08em;
}
.personnel-card-main{min-width:0}
.personnel-name-row{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.personnel-name-row strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.admin-badge{padding:3px 6px;border-radius:6px;background:#17343a;color:#fff;font-size:9px;font-weight:900;letter-spacing:.06em}
.personnel-phone{display:inline-block;margin-top:4px;color:#176d79;font-size:13px;font-weight:750}
.personnel-card-main small{display:block;margin-top:3px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.personnel-actions{display:flex;gap:6px;align-items:center}
.personnel-actions form{margin:0}
.personnel-actions button:disabled{cursor:not-allowed;opacity:.45}

@media(max-width:900px){
  .personnel-layout{grid-template-columns:1fr}
  .create-id-panel{position:static}
}
@media(max-width:700px){
  .home-hero{margin:2px auto 12px}
  .home-kicker{font-size:9px}
  .home-hero h1{font-size:25px}
  .home-hero p{font-size:11px;line-height:1.45;padding:0 8px}
  .map-wrap.home-map{width:100% !important;border-radius:11px;box-shadow:0 8px 22px rgba(13,74,83,.10)}
  .home-map .map-pin{border-width:1.5px;border-radius:7px}
  .home-map .map-pin span{min-width:20px;height:20px;padding:0 4px;font-size:10px}
  .home-legend{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin-top:8px}
  .home-legend span{justify-content:flex-start;min-height:29px;padding:0 8px;font-size:10px}
  .personnel-card{grid-template-columns:58px minmax(0,1fr);gap:10px;padding:12px}
  .personnel-actions{grid-column:1/-1;justify-content:flex-end;padding-top:2px}
  .personnel-actions .btn{min-height:34px !important}
}
@media(max-width:410px){
  .home-legend{grid-template-columns:1fr}
  .id-field-row{grid-template-columns:1fr}
  .id-field-row .btn{width:100%}
}
/* Screenshot-inspired dashboard homepage */
body{background:#f6f8fa;color:#162333}.page-shell{max-width:none;padding:18px 32px 20px}.appbar{background:#fff;border-bottom:1px solid #dfe5e9;box-shadow:0 2px 8px rgba(20,40,55,.06)}.appbar-inner{max-width:none;height:102px;padding:0 32px}.app-logo img{width:255px;max-height:88px}.main-nav{margin-left:auto;gap:10px}.main-nav a{padding:38px 18px 31px;border-bottom:3px solid transparent;border-radius:0;font-size:15px}.main-nav a:first-child{color:#0c5a67;border-bottom-color:#0c5a67}.compact-lang{margin-left:12px}.overview-head{margin:4px 0 14px}.overview-head h1{margin:0;color:#123b5c;font-size:18px;font-weight:800}.overview-head p{margin:5px 0 0;color:#697688;font-size:13px}.overview-grid{display:grid;grid-template-columns:minmax(0,2.25fr) minmax(300px,1fr);gap:18px;align-items:start}.overview-map-card{background:#155665;border:1px solid #245f6d;border-radius:11px;padding:13px 13px 10px;box-shadow:0 2px 8px rgba(20,40,55,.08)}.map-wrap.home-map{width:100%;border-radius:7px;overflow:hidden;box-shadow:none;background:#155665}.home-map>img{width:100%;display:block}.home-map .map-pin{border-radius:7px;border:2px solid rgba(255,255,255,.9);box-shadow:0 2px 6px rgba(0,0,0,.12)}.home-map .map-pin span{width:34px;height:34px;font-size:16px}.map-status-legend{display:flex;gap:22px;align-items:center;padding:9px 7px 1px;color:#fff;font-size:11px}.map-status-legend span{display:flex;gap:7px;align-items:center}.legend-box{width:15px;height:15px;border-radius:3px;background:#fff}.legend-box.ready,.summary-dot.ready{background:#07986f}.legend-box.conditional,.summary-dot.conditional{background:#f5b43f}.legend-box.not-ready,.summary-dot.not-ready{background:#df4939}.legend-box.empty,.summary-dot.empty{background:#83919a}.overview-sidebar{display:grid;gap:14px}.side-card{background:#fff;border:1px solid #dce2e6;border-radius:10px;padding:17px 19px;box-shadow:0 2px 7px rgba(20,40,55,.06)}.side-card h2{margin:0 0 12px;color:#173e5e;font-size:14px}.summary-row,.quick-row{display:flex;align-items:center;justify-content:space-between;min-height:37px;color:#3f4958;font-size:13px;text-decoration:none}.summary-row span,.quick-row span:first-child{display:flex;align-items:center;gap:10px}.summary-dot{display:inline-grid;place-items:center;width:20px;height:20px;border-radius:50%;color:#fff;font-size:10px;font-style:normal}.summary-row b{color:#111}.quick-row{border-top:1px solid #edf0f2}.quick-row:first-of-type{border-top:0}.quick-row b{display:grid;place-items:center;min-width:22px;height:22px;border-radius:50%;background:#d94035;color:#fff;font-size:11px}.side-note p{font-size:12px;line-height:1.55;color:#687586;margin:0}.mini-footer{background:#fff;border-top:1px solid #dde4e8}.mini-footer-inner{max-width:none;min-height:82px;padding:10px 32px;justify-content:flex-end}.mini-footer-inner img{height:55px}.mini-footer-inner>span:first-child{margin-right:auto}.footer-sep{display:none}
@media(max-width:900px){.appbar-inner{height:76px;padding:0 15px}.app-logo img{width:175px}.main-nav{display:none}.page-shell{padding:13px}.overview-grid{grid-template-columns:1fr}.overview-sidebar{grid-template-columns:1fr 1fr}.side-note{grid-column:1/-1}.map-status-legend{flex-wrap:wrap;gap:8px 15px}.mini-footer-inner{padding:10px 15px}}
@media(max-width:560px){.overview-head h1{font-size:15px}.overview-head p{font-size:11px}.overview-map-card{padding:7px}.overview-sidebar{grid-template-columns:1fr}.side-note{grid-column:auto}.map-status-legend{font-size:9px}.home-map .map-pin span{width:24px;height:24px;font-size:11px}.mini-footer-inner{min-height:64px;font-size:10px}.mini-footer-inner img{height:42px}}


/* COP17 primary navbar */
.main-nav{display:flex;align-items:stretch;gap:2px;height:100%}
.main-nav a{display:flex;align-items:center;gap:8px;white-space:nowrap;font-weight:600;color:#1d2731;transition:.15s ease}
.main-nav a:hover{color:#0b6170;background:#f6fafb}
.main-nav .nav-ico{display:inline-grid;place-items:center;min-width:21px;font-size:20px;line-height:1;color:#14252c}
.main-nav .nav-admin{margin-left:4px;color:#0d5966}
.main-nav .nav-admin .nav-ico{color:#0d5966}
@media(max-width:1100px){.main-nav a{padding-left:10px!important;padding-right:10px!important;font-size:13px!important}.main-nav .nav-ico{font-size:17px}}
/* Change 1: zone room maps, permissions and checklist builders */
.zone-page-head{display:flex;justify-content:space-between;gap:24px;align-items:flex-end;margin:0 0 18px}.zone-page-head h1{font-size:36px;margin:3px 0 5px}.zone-legend{display:flex;flex-wrap:wrap;gap:10px 16px;font-size:13px}.zone-legend span{display:flex;align-items:center;gap:7px}.zsw{width:14px;height:14px;border-radius:4px;background:#a8b2b8}.zsw.ready{background:#079669}.zsw.conditional{background:#f2b338}.zsw.not-ready{background:#dc4d3e}.zone-map-shell{background:#0f5560;border-radius:16px;padding:0;overflow:hidden;box-shadow:0 10px 28px rgba(0,0,0,.09);margin-bottom:20px}.zone-map-canvas{position:relative;max-width:1100px;margin:auto}.zone-map-canvas>img{display:block;width:100%;height:auto}.zone-room-hit{position:absolute;display:flex;align-items:center;justify-content:center;border:2px solid transparent;border-radius:7px;text-decoration:none;transition:.15s;overflow:hidden}.zone-room-hit span{opacity:0;background:#fff;color:#143f4a;font-size:11px;font-weight:800;padding:3px 6px;border-radius:999px;box-shadow:0 2px 8px rgba(0,0,0,.15)}.zone-room-hit:hover{border-color:#fff;box-shadow:0 0 0 3px rgba(0,0,0,.12);z-index:5}.zone-room-hit:hover span{opacity:1}.zone-room-hit.status-empty{background:rgba(133,145,152,.28)}.zone-room-hit.status-ready{background:rgba(0,153,103,.42);border-color:rgba(0,117,76,.75)}.zone-room-hit.status-conditional{background:rgba(244,179,55,.48);border-color:rgba(211,137,12,.85)}.zone-room-hit.status-not-ready{background:rgba(222,67,56,.48);border-color:rgba(183,38,30,.85)}.zone-room-list{margin-bottom:24px}.room-chip-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(145px,1fr));gap:10px;padding:16px}.room-chip{display:flex;flex-direction:column;gap:5px;border:1px solid #dfe6e8;border-left:6px solid #99a4aa;border-radius:10px;padding:11px 12px;text-decoration:none;color:inherit;background:#fff}.room-chip.status-ready{border-left-color:#079669}.room-chip.status-conditional{border-left-color:#f2b338}.room-chip.status-not-ready{border-left-color:#dc4d3e}.room-chip small{font-size:11px;color:#68737d}.auto-status-banner{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:12px 16px;border-radius:10px;margin:0 0 16px;background:#eef1f2;border-left:6px solid #9aa5aa}.auto-status-banner.status-ready{background:#e8f7f0;border-left-color:#079669}.auto-status-banner.status-conditional{background:#fff6df;border-left-color:#f2b338}.auto-status-banner.status-not-ready{background:#ffebe8;border-left-color:#dc4d3e}.status-options-three{grid-template-columns:repeat(3,minmax(0,1fr))}.status-options-three .ready input:checked+span,.status-choice.ready input:checked+span{background:#079669;color:#fff;border-color:#079669}.status-choice.ready-with-action input:checked+span{background:#f2b338;color:#362600;border-color:#d89a23}.status-choice.not-ready input:checked+span{background:#dc4d3e;color:#fff;border-color:#dc4d3e}.read-only-item{opacity:.92}.read-only-item .status-choice{pointer-events:none}.check-meta em{font-style:normal;background:#edf1f2;color:#68737d;padding:3px 8px;border-radius:999px;font-size:11px}.permission-role-picker{margin-bottom:16px}.permission-form{gap:18px}.permission-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:10px;padding:16px}.permission-card{border:1px solid #dce4e6;border-radius:10px;padding:12px;background:#fff;display:flex;flex-direction:column;gap:8px}.permission-card>small{color:#6c7880}.perm-checks{display:flex;flex-wrap:wrap;gap:8px 12px;font-size:12px}.perm-checks label{display:flex;gap:5px;align-items:center}.room-permission-grid{grid-template-columns:repeat(auto-fill,minmax(170px,1fr))}.checklist-builder-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:10px;padding:16px}.builder-item{display:flex;gap:11px;align-items:flex-start;border:1px solid #dce4e6;border-radius:10px;padding:12px;background:#fff;cursor:pointer}.builder-item input{margin-top:4px;transform:scale(1.15)}.builder-item span{display:flex;flex-direction:column;gap:5px}.builder-item small{line-height:1.35;color:#5f6d75}.builder-item em{font-size:10px;font-style:normal;color:#bd2f27;font-weight:800}.builder-tools{display:flex;gap:8px}.sticky-save{position:sticky;bottom:12px;display:flex;justify-content:flex-end;padding:10px;z-index:10}.comment-panel{max-width:850px}.history-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:0 0 14px}
@media(max-width:760px){.zone-page-head{align-items:flex-start;flex-direction:column}.zone-map-shell{border-radius:10px}.status-options-three{grid-template-columns:1fr}.permission-grid,.checklist-builder-grid{grid-template-columns:1fr}.zone-room-hit span{display:none}}

/* CHANGE 2 — unified responsive design */
:root{--c2-max:1480px;--c2-nav:78px;--c2-gap:24px;--c2-control:44px}
.appbar{position:sticky;top:0;z-index:100;background:#fff;border-bottom:1px solid #dce4e8;box-shadow:0 2px 12px rgba(20,50,65,.05)}
.appbar-inner{width:min(100%,var(--c2-max));height:var(--c2-nav);margin:auto;padding:0 22px;display:flex;align-items:center;gap:22px}
.app-logo{flex:0 0 auto}.app-logo img{display:block;width:168px!important;max-height:62px!important;object-fit:contain}
.main-nav{margin-left:auto;display:flex;align-items:stretch;height:100%;gap:2px;min-width:0}.main-nav a{display:flex;align-items:center;gap:7px;padding:0 12px!important;border-bottom:3px solid transparent;font-size:14px!important;font-weight:650;white-space:nowrap}.main-nav a:hover{background:#f4f8f9;color:#0c6371;border-bottom-color:#17a8b8}.main-nav .nav-ico{font-size:17px}.appbar-actions{display:flex;align-items:center;gap:8px}.compact-lang,.identity-btn{min-height:38px}
.page-shell{width:min(100%,var(--c2-max));max-width:var(--c2-max)!important;margin:0 auto;padding:28px 24px 42px!important;flex:1}
.btn{min-height:var(--c2-control)!important;height:auto!important;line-height:1.2!important;padding:10px 16px!important;overflow:visible!important;white-space:normal}.btn-small{min-height:36px!important;padding:8px 12px!important}.row-actions{min-width:max-content;overflow:visible}.panel{overflow:visible}.table-scroll{border-radius:12px;overflow:auto}.data-table td:last-child,.data-table th:last-child{min-width:150px}
input,select{min-height:var(--c2-control)!important}textarea{min-height:104px}
.zone-page-head{align-items:center;margin-bottom:16px}.zone-page-head h1{font-size:clamp(30px,4vw,48px)}.zone-map-shell{width:100%;background:#155864;border-radius:18px;padding:0;overflow:hidden}.zone-map-canvas{position:relative;width:100%;max-width:none!important;margin:0}.zone-map-canvas>img{width:100%;height:auto;display:block}.zone-room-hit{border-radius:6px;border:2px solid rgba(255,255,255,.25);cursor:pointer}.zone-room-hit.status-empty{background:rgba(255,255,255,.05)!important}.zone-room-hit.status-ready{background:rgba(7,150,105,.82)!important}.zone-room-hit.status-conditional{background:rgba(242,179,56,.86)!important}.zone-room-hit.status-not-ready{background:rgba(220,77,62,.84)!important}.zone-room-hit:hover{border-color:#fff;filter:brightness(1.05);box-shadow:0 0 0 3px rgba(255,255,255,.25);z-index:6}.zone-room-hit span{opacity:0;pointer-events:none}.zone-room-hit:hover span{opacity:1}.zone-room-list{display:none!important}
.zone-mobile-sheet{display:none;position:fixed;inset:0;z-index:500;background:rgba(8,25,32,.48);align-items:flex-end}.zone-mobile-sheet.open{display:flex}.zone-sheet-card{width:100%;background:#fff;border-radius:22px 22px 0 0;padding:22px 18px calc(20px + env(safe-area-inset-bottom));box-shadow:0 -16px 50px rgba(0,0,0,.2)}.zone-sheet-card h3{font-size:22px;margin:0 0 5px}.zone-sheet-card p{margin:0 0 18px;color:#6b7780}.zone-sheet-actions{display:grid;grid-template-columns:1fr 2fr;gap:10px}
/* admin pages: use the screen instead of a narrow island */
body:has(.admin-links) .page-shell,body:has(.permission-form) .page-shell,body:has(.checklist-builder-grid) .page-shell,body:has(.data-table) .page-shell{max-width:var(--c2-max)!important}.admin-links{grid-template-columns:repeat(3,minmax(220px,1fr))!important}.two-col{grid-template-columns:minmax(320px,.8fr) minmax(520px,1.5fr);gap:24px}.narrow-card{max-width:760px}.panel-pad{padding:22px}.permission-grid{grid-template-columns:repeat(auto-fill,minmax(250px,1fr))}.checklist-builder-grid{grid-template-columns:repeat(auto-fill,minmax(310px,1fr))}
@media(max-width:1180px){.main-nav a{padding:0 8px!important;font-size:12px!important}.app-logo img{width:140px!important}.appbar-inner{gap:12px}}
@media(max-width:900px){.appbar-inner{height:68px;padding:0 14px}.app-logo img{width:132px!important}.main-nav{display:none!important}.appbar-actions{margin-left:auto}.page-shell{padding:20px 14px 32px!important}.admin-links{grid-template-columns:repeat(2,minmax(0,1fr))!important}.two-col{grid-template-columns:1fr}.zone-map-shell{border-radius:12px}.zone-page-head{align-items:flex-start}.zone-legend{font-size:12px}}
@media(max-width:700px){.page-shell{padding:16px 10px 28px!important}.admin-links{grid-template-columns:1fr!important}.zone-page-head{gap:12px}.zone-page-head h1{font-size:30px}.zone-page-head .muted{font-size:13px;margin-bottom:0}.zone-legend{display:grid;grid-template-columns:1fr 1fr;width:100%;gap:7px}.zone-map-shell{margin-left:-10px;margin-right:-10px;width:calc(100% + 20px);border-radius:0}.zone-room-hit span{display:none!important}.zone-room-hit:hover{box-shadow:none}.btn{width:100%}.button-row{display:grid;grid-template-columns:1fr}.status-options-three{grid-template-columns:1fr!important}.check-item{grid-template-columns:38px 1fr}.check-content{padding:13px 10px}.panel,.narrow-card,.decision-card{border-radius:12px}.data-table{min-width:0!important;display:block}.data-table thead{display:none}.data-table tbody{display:grid;gap:10px;padding:10px}.data-table tr{display:block;border:1px solid #dce4e8;border-radius:12px;padding:10px;background:#fff}.data-table td{display:flex!important;justify-content:space-between;gap:14px;min-width:0!important;padding:8px!important;border-bottom:1px solid #eef2f3}.data-table td:last-child{border-bottom:0}.data-table td .row-actions{width:100%;min-width:0;display:grid;grid-template-columns:1fr}.data-table td .row-actions .btn{width:100%}.permission-grid,.checklist-builder-grid{grid-template-columns:1fr}.zone-mobile-sheet{display:none}.zone-mobile-sheet.open{display:flex}}

/* =========================================================
   Change 3 — Easy checklist configuration
   ========================================================= */
.builder-tabs{display:flex;gap:8px;align-items:center;margin:0 0 18px;padding:5px;background:#eaf1f3;border:1px solid #d4e1e5;border-radius:14px;width:max-content;max-width:100%;overflow:auto}.builder-tabs a{display:flex;align-items:center;justify-content:center;min-height:42px;padding:0 18px;border-radius:10px;color:#35515b;font-weight:800;white-space:nowrap;text-decoration:none}.builder-tabs a.active{background:#fff;color:#0b5c68;box-shadow:0 1px 4px rgba(15,45,55,.12)}
.easy-builder-head{margin-bottom:14px}.easy-entity-picker{display:flex;align-items:end;justify-content:space-between;gap:20px;padding:18px 20px;margin-bottom:14px}.easy-picker-form{flex:1;max-width:760px}.easy-picker-form label{margin:0}.easy-picker-form label>span{display:block;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;color:#637780;margin-bottom:7px}.easy-picker-form select{font-size:15px;font-weight:700}.selected-entity-summary{min-width:240px;padding:11px 14px;border-left:3px solid #0f8290;display:flex;flex-direction:column;gap:3px}.selected-entity-summary strong{font-size:17px}.selected-entity-summary span{font-size:12px;color:#71838a}
.easy-builder-toolbar{position:sticky;top:72px;z-index:8;display:grid;grid-template-columns:minmax(280px,1fr) 230px minmax(260px,auto);gap:12px;align-items:center;padding:12px 14px;margin-bottom:14px;background:rgba(255,255,255,.96);backdrop-filter:blur(8px)}.builder-search{display:flex;align-items:center;gap:8px;margin:0;border:1px solid #cbd9dd;background:#fff;border-radius:10px;padding:0 11px}.builder-search>span{font-size:18px;color:#72868d}.builder-search input{border:0!important;box-shadow:none!important;padding-left:0!important;background:transparent!important}.builder-search.compact{min-width:220px}.toolbar-tip{font-size:12px;line-height:1.4;color:#6c7f86;text-align:right}
.easy-check-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding-bottom:90px}.easy-check-card{position:relative;display:grid;grid-template-columns:30px 1fr;min-width:0;background:#fff;border:1px solid #d7e2e5;border-radius:15px;box-shadow:0 4px 14px rgba(16,44,52,.045);transition:border-color .18s,box-shadow .18s,opacity .18s}.easy-check-card.is-on{border-color:#91c7cf;box-shadow:0 5px 18px rgba(15,130,144,.09)}.easy-check-card.is-off{opacity:.7;background:#f7f9fa}.easy-check-card.dragging{opacity:.5;border-style:dashed}.drag-handle{display:flex;align-items:center;justify-content:center;cursor:grab;color:#8aa0a7;border-right:1px solid #e1e9eb;font-size:18px;user-select:none}.drag-handle:active{cursor:grabbing}.easy-check-main{min-width:0;padding:14px}.easy-check-topline{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-bottom:9px}.easy-check-card h3{font-size:14px;line-height:1.45;margin:0 0 13px;color:#17343d;font-weight:750}.switch-control{display:inline-flex!important;align-items:center;gap:6px;margin:0!important;cursor:pointer}.switch-control input{position:absolute;opacity:0;pointer-events:none}.switch-control span{position:relative;width:34px;height:20px;border-radius:99px;background:#bcc9cd;transition:.2s}.switch-control span:after{content:"";position:absolute;top:3px;left:3px;width:14px;height:14px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.18);transition:.2s}.switch-control input:checked+span{background:#0c8995}.switch-control input:checked+span:after{transform:translateX(14px)}.switch-control b{font-size:10px;color:#536b73}.item-number,.category-pill,.critical-pill,.usage-pill{display:inline-flex;align-items:center;min-height:24px;padding:0 8px;border-radius:99px;font-size:10px;font-weight:800;line-height:1}.item-number{background:#e9f4f6;color:#0b6c78}.category-pill{background:#edf1f3;color:#485e66}.critical-pill{background:#fee9e6;color:#bd3e2f}.usage-pill{margin-left:auto;background:#f4f6f7;color:#73858c}.assignment-grid{display:grid;grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr);gap:10px}.assignment-grid label{margin:0}.assignment-grid label>span{display:block;margin-bottom:5px;font-size:11px;font-weight:800;color:#5f747c}.assignment-grid select,.assignment-grid input[type=search]{min-height:40px;font-size:12px}.assignment-grid small{display:block;margin-top:5px;font-size:10px;line-height:1.35;color:#7b8c92}
.person-assign-wrap{position:relative}.person-results{position:absolute;left:0;right:0;top:calc(100% + 4px);z-index:30;padding:5px;background:#fff;border:1px solid #cedbdf;border-radius:10px;box-shadow:0 12px 30px rgba(16,46,55,.18);max-height:250px;overflow:auto}.person-result{display:flex;width:100%;flex-direction:column;align-items:flex-start;gap:2px;padding:9px 10px;border:0;border-radius:7px;background:transparent;text-align:left;cursor:pointer}.person-result:hover{background:#edf6f7}.person-result strong{font-size:12px}.person-result span{font-size:11px;color:#6c7e84}.easy-sticky-save{display:flex;justify-content:space-between;align-items:center;gap:15px}.easy-sticky-save>div{color:#60747c;font-size:12px}.easy-sticky-save strong{font-size:16px;color:#0a6570}
.easy-items-layout{display:grid;grid-template-columns:minmax(400px,.8fr) minmax(500px,1.2fr);gap:16px;align-items:start}.easy-item-editor{position:sticky;top:78px}.form-grid-2{display:grid;grid-template-columns:1fr 1fr;gap:12px}.field-group{display:flex;flex-direction:column;gap:9px}.field-group>strong{font-size:12px}.mini-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.mini-choice-grid label,.assign-room-grid label{display:flex;align-items:flex-start;gap:8px;margin:0;padding:9px;border:1px solid #d9e3e6;border-radius:9px;background:#fff;cursor:pointer}.mini-choice-grid span{font-size:12px;line-height:1.3}.assign-rooms-details{border:1px solid #d9e3e6;border-radius:11px;padding:11px}.assign-rooms-details summary{cursor:pointer;font-weight:800;font-size:12px}.assign-rooms-details[open] summary{margin-bottom:10px}.assign-room-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:9px;max-height:270px;overflow:auto}.assign-room-grid label span{display:flex;flex-direction:column;min-width:0}.assign-room-grid label b{font-size:11px}.assign-room-grid label small{font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.easy-item-list .panel-head{gap:10px}.item-card-list{display:flex;flex-direction:column}.item-admin-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:14px 16px;border-top:1px solid #e2e9eb}.item-admin-card:first-child{border-top:0}.item-admin-card>div:first-child{min-width:0}.item-admin-card strong{display:block;font-size:13px;line-height:1.4}.item-admin-card small{display:block;margin-top:4px;color:#71838a;font-size:11px;line-height:1.35}.item-admin-card .row-actions{align-self:center;display:flex;gap:6px}.item-template-picker{margin-bottom:14px}.item-template-picker form{max-width:560px}.check-description{margin:6px 0 10px;font-size:12px;color:#71838a;line-height:1.45}.admin-card-featured{border-color:#8bcbd2!important;background:linear-gradient(145deg,#f7ffff,#fff)!important}
@media(max-width:980px){.easy-check-grid{grid-template-columns:1fr}.easy-builder-toolbar{grid-template-columns:1fr 200px;top:64px}.toolbar-tip{grid-column:1/-1;text-align:left}.easy-items-layout{grid-template-columns:1fr}.easy-item-editor{position:static}.assignment-grid{grid-template-columns:1fr 1fr}}
@media(max-width:680px){.builder-tabs{width:100%;padding:4px}.builder-tabs a{flex:1;min-width:max-content;padding:0 12px;min-height:38px}.easy-entity-picker{align-items:stretch;flex-direction:column;padding:14px}.selected-entity-summary{min-width:0;border-left:0;border-top:3px solid #0f8290}.easy-builder-toolbar{position:static;grid-template-columns:1fr;padding:10px}.toolbar-tip{grid-column:auto}.easy-check-grid{gap:9px}.easy-check-card{grid-template-columns:24px 1fr;border-radius:12px}.easy-check-main{padding:12px 10px}.easy-check-card h3{font-size:13px}.assignment-grid{grid-template-columns:1fr}.usage-pill{margin-left:0}.easy-sticky-save{left:10px!important;right:10px!important;bottom:10px!important;border-radius:13px!important;padding:9px 10px!important}.easy-sticky-save .btn{min-width:145px}.form-grid-2,.mini-choice-grid,.assign-room-grid{grid-template-columns:1fr}.easy-item-list .panel-head{align-items:stretch;flex-direction:column}.builder-search.compact{width:100%;min-width:0}.item-admin-card{grid-template-columns:1fr}.item-admin-card .row-actions{align-self:auto}.easy-items-layout{display:block}.easy-item-editor{margin-bottom:14px}}
.inspection-slot-switch{display:flex;gap:10px;margin:0 0 18px}.daily-sheet-meta{display:flex;flex-wrap:wrap;gap:10px 24px;margin:14px 0;padding:14px 16px;background:#fff;border:1px solid #dbe5e8;border-radius:12px}.equipment-fields{display:grid;grid-template-columns:110px 120px 1fr;gap:12px;margin:14px 0}.equipment-fields label{font-size:12px;font-weight:700}.equipment-fields input,.equipment-fields textarea{width:100%;margin-top:5px}.abnormal-panel{margin-top:22px}@media(max-width:700px){.equipment-fields{grid-template-columns:1fr 1fr}.equipment-fields .remarks-field{grid-column:1/-1}.daily-sheet-meta{display:grid;grid-template-columns:1fr 1fr}.inspection-slot-switch .btn{flex:1}}


/* Change 5 */
.admin-card-danger{border-color:#efb5b5;background:#fff8f8}.admin-card-danger strong{color:#9f1d1d}.reset-card{margin-top:36px}.standalone-remarks{display:block;margin-top:14px}.standalone-remarks textarea{width:100%;margin-top:7px}.easy-access-note{padding:10px 12px;border-radius:10px;background:#f4f8f8;color:#51656a;font-size:.9rem}.easy-access-note a{font-weight:700;color:#0d6770}.access-login-card{margin-top:40px}

/* Change 6 — operational morning checklist */
.check-description{margin:7px 0 12px;color:#52636c;line-height:1.5;font-size:14px}
.operation-fields{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(220px,.6fr);gap:12px;margin:14px 0}
.operation-fields label{font-size:12px;font-weight:800;color:#314b55}
.operation-fields textarea,.operation-fields input{width:100%;margin-top:5px}
.status-options-four{grid-template-columns:repeat(4,minmax(0,1fr))}
.status-choice.not-applicable input:checked+span{background:#7d8b92;color:#fff;border-color:#7d8b92}
.operational-header-panel{margin:0 0 18px}
.access-id-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0 0 18px}
@media(max-width:980px){.access-id-grid{grid-template-columns:1fr}.operation-fields{grid-template-columns:1fr}}
@media(max-width:700px){.status-options-four{grid-template-columns:1fr 1fr}.operation-fields{grid-template-columns:1fr}}
/* Change 7 operational areas + final approval */
.operational-areas-section{max-width:1480px;margin:28px auto;padding:0 24px}.operational-area-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.operational-area-card{display:flex;flex-direction:column;gap:8px;padding:22px;border:1px solid #dbe4e8;border-radius:16px;background:#fff;color:#123;text-decoration:none;box-shadow:0 8px 28px rgba(20,45,60,.06)}.operational-area-card strong{font-size:18px}.operational-area-card.status-ready{border-left:7px solid #119b70}.operational-area-card.status-conditional{border-left:7px solid #efb33b}.operational-area-card.status-not-ready{border-left:7px solid #db4b3f}.ready-approval-card{margin-top:24px}.ready-approval-card .panel-pad{display:flex;justify-content:space-between;align-items:center;gap:24px}.ready-to-use-btn{min-width:220px;min-height:52px}.ready-to-use-btn:disabled{opacity:.38;cursor:not-allowed}@media(max-width:760px){.operational-area-grid{grid-template-columns:1fr}.ready-approval-card .panel-pad{align-items:stretch;flex-direction:column}.ready-to-use-btn{width:100%}}

/* Change 11: unchecked/previously grey states are shown as Not Accepted red. */
.status-empty{background:#dc4d3e!important;color:#fff!important;border-color:#b7261e!important}
.zone-room-hit.status-empty{background:rgba(220,77,62,.84)!important;border-color:rgba(183,38,30,.85)!important}
.room-chip.status-empty{border-left-color:#dc4d3e!important}
.legend-box.empty,.summary-dot.empty{background:#df4939!important}
/* Change 14: N/A / Тодорхойгүй status */
.status-choice.not-applicable span{background:#eef1f3!important;border-color:#c8d0d5!important;color:#56636b!important}
.status-choice.not-applicable input:checked+span{background:#7b8790!important;border-color:#7b8790!important;color:#fff!important}
