:root{--bg:#f5f7fb;--card:#fff;--text:#1f2937;--muted:#6b7280;--primary:#0f4c81;--accent:#f59e0b;--danger:#b91c1c;--ok:#047857;--border:#e5e7eb}*{box-sizing:border-box}body{margin:0;font-family:Inter,Segoe UI,Arial,sans-serif;background:var(--bg);color:var(--text)}a{color:var(--primary);text-decoration:none}.topbar{height:64px;background:#fff;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;padding:0 20px;position:sticky;top:0;z-index:20}.brand{font-weight:800;color:var(--primary)}.layout{display:grid;grid-template-columns:240px 1fr;min-height:calc(100vh - 64px)}.sidebar{background:#0f2740;color:#fff;padding:18px}.sidebar a{display:block;color:#dbeafe;padding:11px 12px;border-radius:9px;margin:4px 0}.sidebar a:hover,.sidebar a.active{background:#174a75;color:#fff}.main{padding:22px}.card{background:var(--card);border:1px solid var(--border);border-radius:14px;padding:18px;box-shadow:0 4px 18px rgba(0,0,0,.04);margin-bottom:18px}.grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.stat strong{font-size:28px;display:block}.muted{color:var(--muted);font-size:14px}.btn{display:inline-block;border:0;border-radius:9px;padding:10px 14px;font-weight:700;cursor:pointer;background:#e5e7eb;color:#111827}.btn-primary{background:var(--primary);color:#fff}.btn-accent{background:var(--accent);color:#111827}.btn-danger{background:var(--danger);color:#fff}.btn-ok{background:var(--ok);color:#fff}.form-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.field{margin-bottom:13px}.field label{display:block;font-size:13px;font-weight:700;margin-bottom:6px}.field input,.field select,.field textarea{width:100%;padding:10px 11px;border:1px solid #cbd5e1;border-radius:8px;background:#fff}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse}th,td{padding:11px;border-bottom:1px solid var(--border);text-align:left;font-size:14px}th{background:#f8fafc}.badge{display:inline-block;padding:4px 8px;border-radius:999px;font-size:12px;background:#e5e7eb}.alert{padding:12px 14px;border-radius:9px;margin-bottom:14px}.alert-success{background:#ecfdf5;color:#065f46}.alert-error{background:#fef2f2;color:#991b1b}.login-shell{min-height:100vh;display:grid;place-items:center;padding:20px}.login-card{width:min(430px,100%);background:#fff;padding:28px;border-radius:16px;box-shadow:0 15px 45px rgba(15,39,64,.12)}.camera-box{position:relative;max-width:640px;margin:auto;background:#111827;border-radius:14px;overflow:hidden}.camera-box video,.camera-box canvas{width:100%;display:block}.camera-box canvas{position:absolute;inset:0}.center{text-align:center}.big-status{font-size:20px;font-weight:800;margin:12px 0}.kiosk-title{font-size:28px;font-weight:900}.row-actions{display:flex;gap:8px;flex-wrap:wrap}.note{padding:12px;border-left:4px solid var(--accent);background:#fff7ed}.danger-note{border-left-color:var(--danger);background:#fef2f2}.success-note{border-left-color:var(--ok);background:#ecfdf5}@media(max-width:900px){.layout{grid-template-columns:1fr}.sidebar{display:flex;overflow:auto;padding:8px}.sidebar a{white-space:nowrap}.grid{grid-template-columns:repeat(2,1fr)}.form-row{grid-template-columns:1fr}.main{padding:14px}}@media(max-width:520px){.grid{grid-template-columns:1fr}.topbar{padding:0 12px}.brand{font-size:14px}}
.version{font-size:11px;font-weight:700;background:#e0f2fe;color:#075985;padding:3px 7px;border-radius:999px;vertical-align:middle}.grid-2{grid-template-columns:repeat(2,minmax(0,1fr));}.badge-ok{background:#d1fae5;color:#065f46}.badge-warn{background:#fef3c7;color:#92400e}.badge-danger{background:#fee2e2;color:#991b1b}code{background:#f1f5f9;border:1px solid #e2e8f0;border-radius:5px;padding:2px 5px;font-size:.92em}.card h3:first-child{margin-top:0}@media(max-width:700px){.grid-2{grid-template-columns:1fr}.row-actions select{max-width:100%}}
.btn:disabled{opacity:.45;cursor:not-allowed;filter:grayscale(.25)}
.pose-guide{max-width:640px;margin:14px auto;padding:14px 16px;border:1px solid #bfdbfe;border-radius:12px;background:#eff6ff;text-align:center}.pose-count{font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;color:#1d4ed8}.pose-title{font-size:19px;font-weight:900;margin-top:5px}.pose-hint{font-size:14px;color:#475569;margin-top:4px;line-height:1.45}.flow-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:12px}.flow-steps>div{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:10px}.flow-steps b,.flow-steps span{display:block}.flow-steps span{font-size:12px;color:#64748b;margin-top:4px;line-height:1.35}@media(max-width:700px){.flow-steps{grid-template-columns:1fr}.pose-title{font-size:17px}}
.day-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.day-check{display:flex!important;align-items:center;gap:8px;padding:9px 10px;border:1px solid #dbe3ec;border-radius:8px;background:#f8fafc;font-weight:600!important;margin:0!important}.day-check input{width:auto!important;margin:0}@media(max-width:520px){.day-grid{grid-template-columns:1fr}}
.attention-list{display:grid;gap:8px}.attention-list .note{margin:0}.trend-list{display:grid;gap:14px}.trend-row{display:grid;grid-template-columns:150px 1fr;gap:16px;align-items:center;padding:10px 0;border-bottom:1px solid var(--border)}.trend-row:last-child{border-bottom:0}.trend-label b,.trend-label span{display:block}.trend-bars{display:grid;gap:8px}.trend-metric span{display:block;font-size:12px;color:var(--muted);margin-bottom:4px}.progress{height:10px;background:#e5e7eb;border-radius:999px;overflow:hidden}.progress i{display:block;height:100%;background:var(--primary);border-radius:999px}.progress.secondary i{background:var(--ok)}@media(max-width:700px){.trend-row{grid-template-columns:1fr;gap:8px}}

/* v1.14.1 - Professional categorized sidebar */
.layout{grid-template-columns:268px 1fr}.sidebar{position:sticky;top:64px;height:calc(100vh - 64px);overflow-y:auto;padding:14px 12px;background:#0f2740}.sidebar-quick{padding-bottom:10px;border-bottom:1px solid rgba(219,234,254,.13)}.sidebar a{margin:2px 0}.sidebar-home{font-weight:800}.sidebar-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#60a5fa;margin-right:9px;vertical-align:1px}.sidebar-groups{padding:8px 0}.sidebar-group{border-bottom:1px solid rgba(219,234,254,.10)}.sidebar-group summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:11px 10px;color:#93c5fd;font-size:12px;font-weight:800;letter-spacing:.035em;text-transform:uppercase;cursor:pointer;border-radius:8px;user-select:none}.sidebar-group summary::-webkit-details-marker{display:none}.sidebar-group summary:hover{background:rgba(255,255,255,.045);color:#fff}.sidebar-chevron{font-size:16px;line-height:1;transition:transform .18s ease}.sidebar-group[open] .sidebar-chevron{transform:rotate(180deg)}.sidebar-group-links{padding:0 0 8px}.sidebar-group-links a{font-size:14px;padding:9px 11px 9px 16px;margin:1px 0}.sidebar-group-links a.active{box-shadow:inset 3px 0 0 #60a5fa}.sidebar-footer{margin-top:10px;padding-top:10px;border-top:1px solid rgba(219,234,254,.13)}.sidebar-logout{color:#fecaca!important}.sidebar-logout:hover{background:#7f1d1d!important;color:#fff!important}@media(max-width:900px){.layout{grid-template-columns:1fr}.sidebar{position:static;top:auto;height:auto;overflow:visible;display:block;padding:10px 12px}.sidebar-quick{padding-bottom:7px}.sidebar-groups{padding:5px 0}.sidebar-group summary{padding:10px}.sidebar-group-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px;padding-bottom:8px}.sidebar-group-links a{white-space:normal;margin:0}.sidebar-footer{display:flex;gap:6px}.sidebar-footer a{flex:1;text-align:center}}@media(max-width:520px){.sidebar-group-links{grid-template-columns:1fr}}

/* v1.14.2 - Clean Medical UI: elegant health-themed navigation */
:root{
  --bg:#f4f9fb;
  --card:#ffffff;
  --text:#17324d;
  --muted:#6b7f91;
  --primary:#176b87;
  --primary-strong:#11546c;
  --medical:#159b8d;
  --medical-soft:#e9f7f5;
  --blue-soft:#eaf4fb;
  --cyan-soft:#e9f8fb;
  --border:#dce9ee;
  --shadow:0 10px 30px rgba(25,72,94,.065);
}
body{
  background:
    radial-gradient(circle at 84% 2%,rgba(21,155,141,.065),transparent 24rem),
    linear-gradient(180deg,#f8fbfc 0,#f3f8fa 100%);
  color:var(--text);
}
a{transition:color .16s ease,background-color .16s ease,border-color .16s ease,box-shadow .16s ease,transform .16s ease}
.topbar{
  height:74px;
  padding:0 26px;
  background:rgba(255,255,255,.96);
  border-bottom:1px solid #dfecef;
  box-shadow:0 3px 18px rgba(20,67,88,.04);
  backdrop-filter:saturate(130%) blur(8px);
}
.brand-wrap{display:flex;align-items:center;gap:12px;min-width:0}
.brand-mark{
  width:42px;height:42px;border-radius:13px;display:grid;place-items:center;
  color:#fff;background:linear-gradient(145deg,#176b87,#159b8d);
  box-shadow:0 7px 18px rgba(21,122,131,.22);
  flex:0 0 auto;
}
.brand-mark-icon{width:24px;height:24px}
.brand-copy{min-width:0}.brand{font-size:16px;line-height:1.15;color:#114e69;letter-spacing:.01em}.brand-subtitle{margin-top:4px;font-size:11.5px;color:#78909f;font-weight:600;letter-spacing:.015em}
.version{background:#e5f6f4;color:#0c756c;border:1px solid #c9ebe6;padding:3px 8px}
.topbar-user{display:flex;align-items:center;gap:10px;min-width:0}
.topbar-user-icon{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:#eef7fa;color:#176b87;border:1px solid #d9eaef}
.topbar-avatar-icon{width:20px;height:20px}
.topbar-user-copy{display:grid;line-height:1.2;text-align:right}.topbar-user-copy b{font-size:14px;color:#18354b}.topbar-user-copy span{font-size:12px;color:#758a99;margin-top:3px}
.topbar-notification{display:inline-flex!important;align-items:center;gap:5px;margin-left:2px}.notification-icon{width:15px;height:15px}
.layout{grid-template-columns:284px minmax(0,1fr);min-height:calc(100vh - 74px)}
.sidebar{
  top:74px;height:calc(100vh - 74px);
  padding:18px 14px 16px;
  background:linear-gradient(180deg,#fbfefe 0%,#f6fbfc 100%);
  color:#29475d;
  border-right:1px solid #dbe9ed;
  box-shadow:5px 0 20px rgba(25,72,94,.035);
  scrollbar-width:thin;scrollbar-color:#c9dde3 transparent;
}
.sidebar-quick{padding:0 2px 12px;border-bottom:1px solid #e1ecef}
.sidebar a{color:#486579;border-radius:11px;margin:2px 0}
.sidebar-home{
  display:flex!important;align-items:center;gap:10px;
  padding:11px 12px!important;font-weight:750;color:#2f5368!important;
  border:1px solid transparent;
}
.sidebar-home:hover{background:#eff8fa!important;color:#155e75!important}
.sidebar-home.active{
  background:linear-gradient(90deg,#e7f5f7,#edf7fb)!important;
  color:#0f6874!important;border:1px solid #d2eaed;
  box-shadow:0 5px 14px rgba(18,112,123,.065)!important;
}
.sidebar-link-icon{width:30px;height:30px;border-radius:9px;display:inline-grid;place-items:center;background:#edf7f9;color:#1b8190;flex:0 0 auto}
.sidebar-home.active .sidebar-link-icon{background:#d7efed;color:#0e7d72}.nav-svg{width:17px;height:17px}
.sidebar-groups{padding:9px 0}
.sidebar-group{border-bottom:0;margin:4px 0}
.sidebar-group summary{
  min-height:44px;padding:7px 9px 7px 7px;
  color:#486579;font-size:13px;font-weight:750;letter-spacing:0;text-transform:none;
  border:1px solid transparent;border-radius:12px;
}
.sidebar-group summary:hover{background:#f0f8f9;color:#155f72;border-color:#e0eff1}
.sidebar-group[open] summary{background:#f3fafa;color:#165f72;border-color:#e0eff1}
.sidebar-group-title{display:flex;align-items:center;gap:9px;min-width:0}
.sidebar-group-icon{width:30px;height:30px;border-radius:9px;display:grid;place-items:center;background:#eaf5f7;color:#1d8390;flex:0 0 auto}
.sidebar-group[open] .sidebar-group-icon{background:#dff3ef;color:#0d806f}.group-svg{width:16px;height:16px}
.sidebar-chevron{font-size:16px;color:#88a0ad;transition:transform .18s ease,color .18s ease}.sidebar-group[open] .sidebar-chevron{color:#168071}
.sidebar-group-links{padding:3px 0 7px 39px;position:relative}
.sidebar-group-links:before{content:"";position:absolute;left:21px;top:4px;bottom:11px;width:1px;background:#dce9ec}
.sidebar-group-links a{
  position:relative;display:flex!important;align-items:center;gap:8px;
  min-height:34px;padding:7px 10px!important;margin:2px 0!important;
  color:#35566b!important;font-size:13.5px;font-weight:600;border-radius:9px;
}
.sidebar-group-links a:hover{background:#eaf6f8!important;color:#0f5f75!important;font-weight:650}
.sidebar-group-links a.active{
  background:#dff3f1!important;color:#0a675f!important;font-weight:750;
  box-shadow:none!important;
}
.sidebar-link-dot{width:5px;height:5px;border-radius:999px;background:#7fa5b2;flex:0 0 auto}.sidebar-group-links a.active .sidebar-link-dot{background:#159b8d;box-shadow:0 0 0 3px rgba(21,155,141,.13)}
.sidebar-footer{margin-top:10px;padding-top:12px;border-top:1px solid #e1ecef}
.sidebar-footer a{display:flex!important;align-items:center;gap:10px;color:#536f82!important;padding:9px 12px!important}
.sidebar-footer a:hover{background:#eff8fa!important;color:#155e75!important}.sidebar-footer a.active{background:#e8f5f6!important;color:#0f6b74!important;font-weight:750}
.sidebar-logout{color:#a95555!important}.sidebar-logout .sidebar-link-icon{background:#fff1f1;color:#b85757}.sidebar-logout:hover{background:#fff1f1!important;color:#9b4141!important}
.main{padding:28px 30px 34px;min-width:0}.page-shell{max-width:1500px;margin:0 auto}
.page-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin:2px 0 22px}.page-heading h1{margin:0;color:#173a53;font-size:34px;letter-spacing:-.025em}.page-heading p{margin:7px 0 0;color:#728795;font-size:14px}
.page-health-chip{display:inline-flex;align-items:center;gap:7px;padding:8px 11px;border:1px solid #d8ece9;border-radius:999px;background:#f0faf8;color:#16786e;font-size:12px;font-weight:750;white-space:nowrap}.chip-svg{width:16px;height:16px}
.card{border-color:#dfeaed;border-radius:16px;box-shadow:var(--shadow)}
.stat{position:relative;overflow:hidden}.stat strong{color:#173a53}.stat-modern{display:flex;align-items:center;gap:14px;min-height:112px;padding:18px 20px}.stat-modern:after{content:"";position:absolute;left:0;right:0;top:0;height:3px;background:var(--stat-accent,#176b87)}
.stat-icon{width:46px;height:46px;border-radius:14px;display:grid;place-items:center;flex:0 0 auto;color:var(--stat-accent,#176b87);background:var(--stat-soft,#eaf4fb);border:1px solid rgba(20,90,110,.06)}.stat-svg{width:22px;height:22px}.stat-copy{min-width:0}.stat-copy .muted{font-size:13px}.stat-copy strong{margin-top:3px;font-size:30px;line-height:1}
.stat-tone-blue{--stat-accent:#2377a6;--stat-soft:#eaf4fb}.stat-tone-teal{--stat-accent:#159b8d;--stat-soft:#e8f7f4}.stat-tone-green{--stat-accent:#3b936b;--stat-soft:#ecf7f1}.stat-tone-cyan{--stat-accent:#208ea0;--stat-soft:#e9f8fb}.stat-tone-violet{--stat-accent:#6d72b8;--stat-soft:#f0f0fa}.stat-tone-amber{--stat-accent:#c1852d;--stat-soft:#fff7e9}.stat-tone-rose{--stat-accent:#b66875;--stat-soft:#fff0f2}
.btn{border-radius:10px}.btn-primary{background:linear-gradient(135deg,#176b87,#137d84);box-shadow:0 4px 11px rgba(17,107,125,.13)}.btn-primary:hover{filter:brightness(.98);transform:translateY(-1px)}
.note{border-radius:10px;border-left-width:3px}.alert{border-radius:11px}
@media(max-width:1050px){.layout{grid-template-columns:258px minmax(0,1fr)}.main{padding:24px 20px}.brand-subtitle{display:none}}
@media(max-width:900px){
  .topbar{height:68px;padding:0 14px}.layout{grid-template-columns:1fr}.sidebar{position:static;top:auto;height:auto;overflow:visible;padding:10px 12px;border-right:0;border-bottom:1px solid #dce9ed;box-shadow:none}.main{padding:18px 14px 28px}.sidebar-quick{padding-bottom:7px}.sidebar-groups{padding:5px 0}.sidebar-group{margin:2px 0}.sidebar-group-links{grid-template-columns:repeat(2,minmax(0,1fr));padding:3px 0 8px 39px}.sidebar-group-links:before{display:none}.sidebar-footer{display:flex;gap:6px}.sidebar-footer a{flex:1;text-align:left}.page-heading h1{font-size:29px}.topbar-user-copy{display:none}
}
@media(max-width:620px){.brand{font-size:14px}.brand-mark{width:36px;height:36px;border-radius:11px}.brand-mark-icon{width:20px;height:20px}.topbar-user-icon{width:34px;height:34px}.topbar-notification{padding:4px 7px}.page-heading{display:block}.page-health-chip{margin-top:12px}.sidebar-group-links{grid-template-columns:1fr}.dashboard-stats{grid-template-columns:1fr}.stat-modern{min-height:96px}.main{padding-left:12px;padding-right:12px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}.sidebar-chevron,a,.btn{transition:none!important}}

/* v1.14.4 - Regional identity & active PKM context in header */
.topbar{gap:18px}
.regional-logo-shell{
  width:48px;height:52px;display:grid;place-items:center;flex:0 0 auto;
  border:1px solid #dbe8ec;border-radius:7px;background:#fff;
  box-shadow:0 5px 16px rgba(18,70,88,.08);overflow:visible;padding:5px;
}
.regional-logo{
  width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;object-position:center;
  display:block;border-radius:0!important;clip-path:none!important;overflow:visible;background:transparent;
}
.regional-logo-fallback{
  width:100%;height:100%;place-items:center;border-radius:8px;
  color:#fff;background:linear-gradient(145deg,#176b87,#159b8d)
}
.topbar-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;min-width:0;margin-left:auto}
.pkm-context{
  display:flex;align-items:center;gap:9px;min-width:0;max-width:260px;
  padding:7px 11px 7px 8px;border:1px solid #d7ebe8;border-radius:13px;
  background:linear-gradient(135deg,#f4fbfa,#eef8fb);box-shadow:0 4px 14px rgba(18,100,110,.05)
}
.pkm-context-logo{
  width:34px;height:34px;display:grid;place-items:center;flex:0 0 auto;overflow:hidden;
  border-radius:10px;background:#dff3ef;color:#0e7d72;border:1px solid #cfe9e4
}
.pkm-context-logo img{width:100%;height:100%;object-fit:contain;background:#fff;padding:2px}
.pkm-context-svg{width:18px;height:18px}
.pkm-context-copy{display:grid;min-width:0;line-height:1.15}
.pkm-context-copy small{font-size:10px;font-weight:750;letter-spacing:.035em;text-transform:uppercase;color:#6c8a92;margin-bottom:3px}
.pkm-context-copy b{font-size:13px;color:#15586a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-width:1180px){
  .pkm-context{max-width:200px}.pkm-context-copy b{max-width:130px}
}
@media(max-width:1050px){
  .regional-logo-shell{width:44px;height:48px}.topbar{padding-left:18px;padding-right:18px;gap:12px}.topbar-actions{gap:8px}
  .pkm-context{max-width:175px;padding-right:9px}.pkm-context-copy b{max-width:112px;font-size:12.5px}
}
@media(max-width:900px){
  .topbar{gap:10px}.pkm-context{max-width:190px}.topbar-actions{gap:7px}.pkm-context-copy b{max-width:125px}
}
@media(max-width:700px){
  .regional-logo-shell{width:38px;height:42px;border-radius:6px;padding:4px}.brand-wrap{gap:9px}.topbar{padding-left:10px;padding-right:10px}
  .pkm-context{padding:5px 7px;max-width:145px}.pkm-context-logo{width:30px;height:30px;border-radius:9px}.pkm-context-copy small{display:none}.pkm-context-copy b{max-width:92px;font-size:12px}
}
@media(max-width:560px){
  .brand .version{display:none}.pkm-context{max-width:118px}.pkm-context-copy b{max-width:66px}.topbar-user-icon{display:none}
}


/* v1.14.5 - Preserve the full official regional emblem without corner clipping */
.regional-logo-shell{clip-path:none!important}
.regional-logo-shell .regional-logo{border-radius:0!important;clip-path:none!important;transform:none!important}

/* v2.0.0-RC4-HF1 — Halaman Pengguna: read-first + editor per pengguna */
.user-list-table td{vertical-align:top}.user-list-table th:last-child,.user-list-table td:last-child{white-space:nowrap}.user-row-active td{background:#f0fdfa}.compact-locations{max-width:360px;line-height:1.45}.user-editor{scroll-margin-top:84px;border-color:#b9e3df;box-shadow:0 9px 28px rgba(15,76,129,.08)}.user-editor-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.user-editor-head h3{margin:3px 0 4px}.user-editor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.user-editor-section{border:1px solid var(--border);border-radius:12px;padding:15px;background:#fbfdff}.user-editor-section h4{margin:0 0 13px}.user-editor-section-wide{grid-column:1/-1}.location-current{margin-bottom:13px}.location-chip-list{display:flex;flex-wrap:wrap;gap:8px;margin-top:9px}.location-chip{display:inline-flex;align-items:center;gap:6px;padding:6px 8px 6px 10px;border-radius:999px;background:#e6f6f3;border:1px solid #c5e9e3;color:#145b55;font-size:13px;font-weight:700}.location-chip-warn{background:#fff7ed;border-color:#fed7aa;color:#9a4c0f}.location-chip form{display:inline-flex;margin:0}.chip-remove{border:0;background:transparent;color:inherit;font-size:18px;line-height:1;cursor:pointer;padding:0 2px;font-weight:900}.chip-remove:hover{opacity:.65}.location-add-form{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap;margin-top:14px}.location-add-form .field{margin:0;min-width:260px;flex:1}.user-editor .note{margin-top:10px}.user-list-table .btn{padding:8px 12px}
@media(max-width:900px){.user-editor-grid{grid-template-columns:1fr}.user-editor-section-wide{grid-column:auto}.user-editor-head{flex-direction:column}.location-add-form{align-items:stretch}.location-add-form .field{min-width:0}.user-list-table th:nth-child(2),.user-list-table td:nth-child(2){display:none}}

/* v2.1.0-RC1 mobile navigation — hamburger + off-canvas sidebar */
.mobile-menu-toggle{
  display:none;width:42px;height:42px;flex:0 0 42px;align-items:center;justify-content:center;
  flex-direction:column;gap:5px;padding:0;border:1px solid #d7e7eb;border-radius:11px;
  background:#f7fbfc;color:#155f72;cursor:pointer;box-shadow:0 3px 10px rgba(20,67,88,.05)
}
.mobile-menu-toggle span{display:block;width:20px;height:2px;border-radius:999px;background:currentColor;transition:transform .18s ease,opacity .18s ease}
.sidebar-backdrop{display:none}

@media(max-width:900px){
  body.sidebar-mobile-open{overflow:hidden}
  .topbar{position:sticky;top:0;z-index:80}
  .mobile-menu-toggle{display:flex}
  .layout{display:block;min-height:calc(100vh - 68px)}
  .sidebar{
    position:fixed!important;top:68px!important;left:0;bottom:0;width:min(86vw,320px);height:auto!important;
    overflow-y:auto!important;overscroll-behavior:contain;padding:14px 12px 20px!important;
    border-right:1px solid #d5e5e9!important;border-bottom:0!important;
    box-shadow:12px 0 34px rgba(18,61,79,.18)!important;
    transform:translateX(-105%);visibility:hidden;pointer-events:none;
    transition:transform .22s ease,visibility 0s linear .22s;z-index:70;background:#f8fcfd!important
  }
  body.sidebar-mobile-open .sidebar{
    transform:translateX(0);visibility:visible;pointer-events:auto;transition:transform .22s ease;z-index:70
  }
  .sidebar-backdrop{
    display:block;position:fixed;inset:68px 0 0 0;background:rgba(15,39,64,.34);
    opacity:0;visibility:hidden;pointer-events:none;transition:opacity .2s ease,visibility 0s linear .2s;z-index:60
  }
  body.sidebar-mobile-open .sidebar-backdrop{opacity:1;visibility:visible;pointer-events:auto;transition:opacity .2s ease}
  body.sidebar-mobile-open .mobile-menu-toggle span:nth-child(1){transform:translateY(7px) rotate(45deg)}
  body.sidebar-mobile-open .mobile-menu-toggle span:nth-child(2){opacity:0}
  body.sidebar-mobile-open .mobile-menu-toggle span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
  .sidebar-quick{padding-bottom:9px!important}.sidebar-groups{padding:7px 0!important}
  .sidebar-group-links{display:block!important;padding:3px 0 8px 39px!important}.sidebar-group-links:before{display:block!important}
  .sidebar-footer{display:block!important}.sidebar-footer a{width:100%;text-align:left!important}
  .main{width:100%;min-width:0}
}

@media(max-width:560px){
  .mobile-menu-toggle{width:38px;height:38px;flex-basis:38px;border-radius:10px}
  .mobile-menu-toggle span{width:18px}
  .topbar{gap:8px!important}
  .brand-wrap{min-width:0;flex:1}
  .brand-copy{min-width:0;overflow:hidden}
  .brand{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .topbar-actions{flex:0 0 auto}
}

@media(prefers-reduced-motion:reduce){
  .mobile-menu-toggle span,.sidebar,.sidebar-backdrop{transition:none!important}
}

/* v2.1.0-RC1-HF2 — Login branding + developer contact modal */
.login-page{
  min-height:100vh;
  background:
    radial-gradient(circle at 15% 15%,rgba(25,155,141,.10),transparent 32%),
    radial-gradient(circle at 85% 85%,rgba(15,76,129,.09),transparent 34%),
    linear-gradient(145deg,#f4fbfc 0%,#eef6f8 50%,#f7fafc 100%);
}
.login-page .login-shell{padding:28px 18px;min-height:100vh}
.login-stack{width:min(460px,100%);display:grid;gap:14px;justify-items:center}
.login-card-branded{
  width:100%;padding:30px 30px 26px;border:1px solid #d9e8ec;border-radius:20px;
  box-shadow:0 20px 55px rgba(15,76,105,.13);background:rgba(255,255,255,.97)
}
.login-branding{margin-bottom:24px;overflow:visible}
.login-regional-logo{
  width:96px;height:116px;max-width:none;max-height:none;box-sizing:border-box;
  object-fit:contain;object-position:center;display:block;margin:0 auto 13px;padding:8px 10px;
  border-radius:0!important;clip-path:none!important;overflow:visible;background:transparent;
  filter:drop-shadow(0 7px 13px rgba(16,64,82,.10))
}
.login-brand-title{font-size:23px!important;line-height:1.2;color:#154f68}
.login-brand-subtitle{margin:7px auto 0;max-width:350px;color:#6c8792;font-size:13px;font-weight:650;line-height:1.45}
.login-card-branded .field input{min-height:46px;border-radius:11px;border-color:#c9dce2;background:#fbfdfe}
.login-card-branded .field input:focus{outline:2px solid rgba(21,125,132,.15);border-color:#2b8e98}
.login-submit{min-height:46px;margin-top:3px}
.login-help{margin-top:17px!important;font-size:12.5px}
.developer-credit{
  border:0;background:transparent;color:#6d8088;padding:7px 12px;cursor:pointer;font-size:12.5px;
  font-weight:600;border-radius:9px;transition:background .18s ease,color .18s ease,transform .18s ease
}
.developer-credit strong{color:#a67820}
.developer-credit:hover,.developer-credit:focus-visible{background:rgba(255,255,255,.72);color:#385b67;outline:none;transform:translateY(-1px)}
body.developer-modal-open{overflow:hidden}
.developer-modal[hidden]{display:none!important}
.developer-modal{position:fixed;inset:0;z-index:9999;display:grid;place-items:center;padding:20px}
.developer-modal-backdrop{position:absolute;inset:0;background:rgba(4,19,28,.72);backdrop-filter:blur(7px)}
.developer-modal-card{
  position:relative;z-index:1;width:min(570px,100%);padding:38px 34px 34px;text-align:center;
  border:1px solid rgba(90,180,194,.28);border-radius:22px;
  background:linear-gradient(145deg,#0d2b3b,#0a2231);color:#f4fbfd;
  box-shadow:0 26px 80px rgba(0,0,0,.36)
}
.developer-modal-card:before{
  content:"";position:absolute;left:24px;right:24px;top:0;height:2px;border-radius:999px;
  background:linear-gradient(90deg,transparent,#3bd2df,#f3c75c,transparent)
}
.developer-modal-card h2{margin:8px 36px 14px;font-size:27px;line-height:1.2;color:#fff}
.developer-modal-card p{margin:0 auto 24px;max-width:470px;color:#a9bec8;font-size:15px;line-height:1.75}
.developer-modal-close{
  position:absolute;right:17px;top:16px;width:42px;height:42px;border:1px solid rgba(150,205,215,.18);
  border-radius:12px;background:rgba(255,255,255,.035);color:#a9c2cc;font-size:29px;line-height:1;cursor:pointer
}
.developer-modal-close:hover,.developer-modal-close:focus-visible{background:rgba(255,255,255,.08);color:#fff;outline:2px solid rgba(59,210,223,.18)}
.developer-whatsapp-number{
  display:inline-block;margin-bottom:18px;padding:12px 20px;border:1px solid rgba(74,190,173,.23);
  border-radius:14px;background:rgba(18,112,105,.14);font-size:19px;font-weight:850;color:#effffc
}
.developer-whatsapp-button{
  display:block;width:100%;padding:15px 20px;border-radius:13px;background:linear-gradient(135deg,#16a34a,#22c55e);
  color:#fff!important;font-weight:850;font-size:16px;box-shadow:0 10px 24px rgba(34,197,94,.17)
}
.developer-whatsapp-button:hover{filter:brightness(1.04)}
@media(max-width:520px){
  .login-page .login-shell{padding:18px 12px}.login-card-branded{padding:24px 18px 21px;border-radius:17px}
  .login-regional-logo{width:84px;height:102px;padding:7px 9px}.login-brand-title{font-size:20px!important}.login-brand-subtitle{font-size:12px}
  .developer-modal{padding:14px}.developer-modal-card{padding:34px 20px 24px;border-radius:18px}.developer-modal-card h2{font-size:23px;margin-left:28px;margin-right:28px}.developer-modal-card p{font-size:14px}.developer-whatsapp-number{font-size:16px;padding:11px 14px}
}
