/* Posyandu UI v6.28: visual layer only; application, database, routes remain unchanged. */
:root{
  --v628-blue:#267df7;
  --v628-blue2:#1465d9;
  --v628-purple:#6541ef;
  --v628-navy:#0b2a58;
  --v628-deep:#102e66;
  --v628-cyan:#51dff7;
  --v628-ink:#152a51;
  --v628-muted:#6c7d9a;
  --v628-edge:#dce6fa;
  --v628-paper:#fff;
  --v628-soft:#f4f7ff;
  --v628-shadow:0 12px 32px rgba(30,69,134,.07);
  --v628-shadow-lift:0 18px 38px rgba(27,61,130,.12);
}
/* Login page */
body.guest.v628-login-page{
  min-height:100vh;
  display:block;
  padding:0;
  margin:0;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
  background:#edf3fb;
  color:var(--v628-ink);
}
.v628-login-shell{min-height:100vh;display:grid;grid-template-columns:minmax(0,1fr) minmax(525px,.96fr)}
.v628-login-hero{
  position:relative;
  min-height:100vh;
  overflow:hidden;
  display:flex;flex-direction:column;justify-content:space-between;
  isolation:isolate;
  color:#fff;
  padding:clamp(28px,5vw,68px);
  background:
    linear-gradient(112deg,rgba(5,30,95,.9),rgba(21,77,164,.62) 67%,rgba(34,19,100,.45)),
    url('../img/login-landscape-v628.svg') center/cover no-repeat,
    linear-gradient(135deg,#062459,#1754a0);
}
.v628-login-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(13,42,105,.12),rgba(14,43,110,.15) 42%,rgba(9,30,83,.32));z-index:-1;pointer-events:none}
.v628-hero-header{display:flex;align-items:center;gap:15px;max-width:100%;position:relative;z-index:1}
.v628-hero-logo{width:70px;height:70px;flex:0 0 70px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.34);border-radius:18px;background:rgba(255,255,255,.14);box-shadow:0 8px 25px rgba(4,17,65,.12);backdrop-filter:blur(9px)}
.v628-hero-logo svg{width:34px;height:34px}
.v628-hero-logo.has-logo{padding:10px;background:#fff}
.v628-hero-logo img{display:block;max-width:100%;max-height:100%;object-fit:contain}
.v628-hero-header strong{display:block;color:#fff;font:800 clamp(20px,2vw,28px)/1.18 'Plus Jakarta Sans',Inter,sans-serif;letter-spacing:-.04em}
.v628-hero-header span{display:block;color:#d8edff;font-size:12px;line-height:1.7;margin-top:5px}
.v628-hero-copy{position:relative;z-index:1;max-width:650px;margin:38px 0 20px}
.v628-hero-kicker{display:inline-flex;gap:9px;align-items:center;padding:10px 15px;border:1px solid rgba(255,255,255,.45);border-radius:999px;background:rgba(255,255,255,.11);backdrop-filter:blur(10px);color:#f0fbff;font-size:11px;font-weight:800;letter-spacing:.07em}
.v628-hero-kicker svg{width:18px;height:18px}
.v628-hero-copy h1{color:#fff;font-family:'Plus Jakarta Sans',Inter,sans-serif;letter-spacing:-.05em;font-size:clamp(38px,3.65vw,64px);line-height:1.13;margin:25px 0 17px;font-weight:800}
.v628-hero-copy h1 span{color:#69efff;text-shadow:0 4px 24px rgba(7,41,99,.14)}
.v628-hero-copy>p{max-width:585px;color:#eef7ff;font-size:clamp(13px,1.05vw,17px);line-height:1.8;margin:0 0 25px;font-weight:500}
.v628-hero-features{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;max-width:570px}
.v628-hero-features>div{display:flex;flex-direction:column;align-items:flex-start;gap:9px;min-width:0}
.v628-hero-features>div>span{display:grid;place-items:center;width:52px;height:52px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.29);border-radius:14px;box-shadow:0 8px 24px rgba(3,16,54,.10);backdrop-filter:blur(8px)}
.v628-hero-features svg{width:24px;height:24px}
.v628-hero-features strong{font-size:12px;color:#fff;line-height:1.4}
.v628-hero-footer{position:relative;z-index:1;font-size:12px;color:rgba(255,255,255,.8)}
.v628-login-right{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:20px;min-width:0;padding:28px clamp(22px,4vw,70px);background:radial-gradient(circle at 15% 15%,rgba(84,150,246,.10),transparent 35%),linear-gradient(135deg,#f7faff,#eff5fd 90%)}
.v628-login-panel{width:min(610px,100%);padding:0}
.v628-auth-card{padding:clamp(24px,3vw,42px);border:1px solid #e2eafb;border-radius:26px;background:#fff;box-shadow:0 24px 65px rgba(30,68,132,.12)}
.v628-auth-header{display:flex;gap:17px;align-items:center;margin-bottom:28px}
.v628-auth-header-icon{display:grid;place-items:center;flex:0 0 64px;width:64px;height:64px;border-radius:19px;color:#2077ff;background:#eaf2ff}
.v628-auth-header-icon svg{width:27px;height:27px}
.v628-auth-header>div{min-width:0}
.v628-auth-eyebrow{display:block;color:#697eb6;text-transform:uppercase;letter-spacing:.13em;font-size:10px;font-weight:800;margin-bottom:6px}
.v628-auth-header h1{font-family:'Plus Jakarta Sans',Inter,sans-serif;color:#0b2860;font-size:clamp(19px,1.7vw,27px);line-height:1.23;letter-spacing:-.04em;margin:0 0 8px}
.v628-auth-header p{color:#7789b1;font-size:12px;line-height:1.6;margin:0}
.v628-role-heading{font-size:12px;font-weight:800;color:#243d70;margin-bottom:9px}
.v628-role-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.v628-role-choice{appearance:none;border:1.5px solid #d8e4f7;border-radius:14px;background:#f9fbff;color:#203a70;min-width:0;min-height:119px;padding:13px 6px 10px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;cursor:pointer;text-align:center;position:relative;font:inherit;transition:background .16s,border-color .16s,box-shadow .16s,transform .16s}
.v628-role-choice:not(.is-unavailable):hover{transform:translateY(-2px);border-color:#6ba4fa;box-shadow:0 10px 22px rgba(44,100,200,.10)}
.v628-role-choice.is-active{border:2px solid #2977f3;background:#eaf2ff;box-shadow:inset 0 0 0 1px rgba(41,119,243,.06)}
.v628-role-choice.is-unavailable{background:#f8f9fc;color:#6d7895;cursor:not-allowed;opacity:.76}
.v628-role-choice .v628-role-icon{width:35px;height:35px;display:grid;place-items:center;margin-bottom:5px}
.v628-role-icon svg{width:27px;height:27px}
.v628-role-icon--admin{color:#2878fa}
.v628-role-icon--bidan{color:#139b85}
.v628-role-icon--petugas{color:#e68d2d}
.v628-role-choice strong{font-size:12px;line-height:1.24;font-weight:800;color:inherit}
.v628-role-choice small{font-size:10px;line-height:1.35;color:#7186af;font-weight:600}
.v628-role-soon{position:absolute;right:6px;top:5px;border-radius:999px;background:#e9edf7;padding:3px 6px;font-size:8px;font-weight:800;color:#55678f}
.v628-role-helper{margin:9px 0 24px;color:#6c7d9a;font-size:11px;min-height:18px}
.v628-auth-form{display:grid;gap:10px}
.v628-auth-form>label{display:block;font-size:12px;color:#163065;font-weight:800;margin-top:6px}
.v628-input-wrap{height:52px;display:flex;align-items:center;border:1.5px solid #ccdaf6;background:#edf3ff;border-radius:12px;overflow:hidden;box-shadow:none;transition:border-color .16s,box-shadow .16s}
.v628-input-wrap:focus-within{border-color:#4d83f8;box-shadow:0 0 0 3px rgba(49,120,245,.13)}
.v628-input-icon{width:45px;flex:0 0 45px;display:grid;place-items:center;color:#397beb}
.v628-input-icon svg{width:19px;height:19px}
.v628-input-wrap input{height:100%;min-width:0;flex:1;padding:8px 8px 8px 0;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;border-radius:0;font-size:13px;color:#163065;font-weight:600}
.v628-input-wrap input::placeholder{color:#7d90b7;font-weight:500}
.v628-password-toggle{display:grid;place-items:center;flex:0 0 44px;height:44px;border:0;background:transparent;cursor:pointer;color:#4e7dd1;border-radius:10px}
.v628-password-toggle:hover,.v628-password-toggle:focus-visible{background:#e0eafe;outline:2px solid transparent}
.v628-password-toggle svg{width:20px;height:20px}
.v628-submit{margin-top:10px;width:100%;height:54px;border:0;border-radius:12px;background:linear-gradient(100deg,#2084fa,#4e5df3 58%,#6541f4);box-shadow:0 12px 24px rgba(57,91,225,.23);color:#fff;font:800 13px Inter,sans-serif;display:flex;align-items:center;justify-content:center;gap:18px;cursor:pointer;transition:transform .18s,box-shadow .18s}
.v628-submit:hover,.v628-submit:focus-visible{transform:translateY(-1px);box-shadow:0 18px 28px rgba(57,91,225,.29)}
.v628-submit span:last-child{font-size:22px;font-weight:400}
.v628-access-note{font-size:10px;color:#8493ac;line-height:1.6;padding-top:15px;margin:20px 0 0;border-top:1px solid #e9eef8}
.v628-login-bottom{font-size:11px;color:#8a9bb7;text-align:center}
.v628-login-panel>.alert{margin:0 0 12px;border-radius:12px}
/* Setup remains usable after design switch: no changes to its form logic. */
.v628-login-panel .login-card-modern{border:1px solid #e2eafb;border-radius:26px;padding:32px;background:#fff;box-shadow:0 24px 65px rgba(30,68,132,.12)}
.v628-login-panel .login-kicker{background:#eaf2ff;color:#346ee5;border-color:#cfe0fe}
.v628-login-panel .login-helper-pill{background:#eaf2ff;color:#346ee5;border-color:#d0e3ff}
.v628-login-panel .login-card-modern .btn-primary{background:linear-gradient(105deg,#2084fa,#6541f4);box-shadow:0 12px 24px rgba(57,91,225,.2)}
/* Main application: all three existing roles, with no role or data changes. */
body.posyandu-ui-v628{
 --bg:#f1f5fd;--card:#fff;--text:#162d54;--muted:#71819a;--line:#dfE8f5;
 --primary:#2669df;--primary2:#1857bc;--sidebar:#102b65;
 --mock-bg:#f1f5fd;--mock-ink:#162b56;--mock-line:#dfe7f5;--mock-green:#256de0;
 background:#f1f5fd;color:var(--text);
 font-family:Inter,ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif;
}
.posyandu-ui-v628 h1,.posyandu-ui-v628 h2,.posyandu-ui-v628 h3,.posyandu-ui-v628 h4{font-family:'Plus Jakarta Sans',Inter,system-ui,sans-serif;color:#102a60;letter-spacing:-.025em}
.posyandu-ui-v628 .app-shell{grid-template-columns:248px minmax(0,1fr);min-height:100vh}
.posyandu-ui-v628 .content{min-width:0}
.posyandu-ui-v628 .sidebar,
.posyandu-ui-v628.role-admin_desa .sidebar,
.posyandu-ui-v628.role-posyandu .sidebar{
 padding:20px 13px;
 background:linear-gradient(180deg,#0a2457 0%,#153d88 52%,#112d70 100%)!important;
 color:#f6f9ff;
 box-shadow:8px 0 32px rgba(13,39,91,.11);
}
.posyandu-ui-v628 .brand,.posyandu-ui-v628.role-admin_desa .admin-brand{margin:0 4px 20px;min-width:0;gap:11px}
.posyandu-ui-v628 .brand-mark,.posyandu-ui-v628.role-admin_desa .admin-brand .brand-mark,
.posyandu-ui-v628.role-posyandu .brand .brand-mark{width:46px;height:46px;flex:0 0 46px;border-radius:14px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.28);box-shadow:none;color:#fff}
.posyandu-ui-v628 .brand-mark svg{width:27px;height:27px}
.posyandu-ui-v628 .brand>div:last-child{min-width:0}
.posyandu-ui-v628 .brand strong,.posyandu-ui-v628.role-admin_desa .admin-brand strong{font-family:'Plus Jakarta Sans',Inter,sans-serif;color:#fff;line-height:1.2;font-size:13px;overflow-wrap:anywhere}
.posyandu-ui-v628 .brand small,.posyandu-ui-v628.role-admin_desa .admin-brand small{color:#d2e5ff;opacity:1;font-size:10px;line-height:1.45}
.posyandu-ui-v628 .v628-side-account{display:grid;grid-template-columns:38px minmax(0,1fr);align-items:center;gap:10px;margin:0 3px 15px;padding:11px 10px;border-radius:13px;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.10)}
.posyandu-ui-v628 .v628-side-account-avatar{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:linear-gradient(135deg,#8bddfc,#94b9ff);color:#123b81;font-weight:900;font-size:15px}
.posyandu-ui-v628 .v628-side-account strong{font-size:10px;font-weight:800;color:#fff;display:block;line-height:1.4;overflow-wrap:anywhere}
.posyandu-ui-v628 .v628-side-account small{font-size:9px;color:#d2e6ff;display:block;margin-top:4px}
.posyandu-ui-v628 .kader-side-profile{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.12);border-radius:14px}
.posyandu-ui-v628 .nav-section,
.posyandu-ui-v628.role-admin_desa .nav-section,
.posyandu-ui-v628.role-posyandu .nav-section{font-size:10px;color:#bdd5fe;opacity:1;letter-spacing:.09em;margin-bottom:7px}
.posyandu-ui-v628 .sidebar nav{gap:5px}
.posyandu-ui-v628 .sidebar nav a,
.posyandu-ui-v628.role-admin_desa .sidebar nav a.admin-nav-link,
.posyandu-ui-v628.role-posyandu .sidebar nav a.kader-nav-link{
 display:flex;align-items:center;gap:10px;
 min-height:42px;padding:9px 10px!important;
 border-radius:12px!important;
 color:#eaf2ff;font-size:12px;font-weight:700;
 border:1px solid transparent;
 background:transparent;
 transition:background .2s, border-color .2s, transform .2s;
}
.posyandu-ui-v628 .sidebar nav a:hover{background:rgba(255,255,255,.10)!important;border-color:rgba(255,255,255,.10);transform:translateX(2px)}
.posyandu-ui-v628 .sidebar nav a.active,
.posyandu-ui-v628.role-admin_desa .sidebar nav a.admin-nav-link.active,
.posyandu-ui-v628.role-posyandu .sidebar nav a.kader-nav-link.active{
 background:linear-gradient(105deg,#277cfa,#4c53e9)!important;color:#fff!important;border-color:rgba(255,255,255,.17);
 box-shadow:0 8px 20px rgba(21,37,104,.28);
}
.posyandu-ui-v628 .sidebar .nav-icon,
.posyandu-ui-v628.role-admin_desa .sidebar nav a.admin-nav-link .nav-icon,
.posyandu-ui-v628.role-posyandu .sidebar nav a.kader-nav-link .nav-icon{
 display:grid;place-items:center;width:27px;height:27px;flex:0 0 27px;border-radius:8px;
 background:rgba(255,255,255,.08)!important;color:#ecf5ff!important;
}
.posyandu-ui-v628 .sidebar .nav-icon svg{width:18px;height:18px}
.posyandu-ui-v628 .sidebar .nav-badge{margin-left:auto;background:#eef6ff;color:#1b57ba}
.posyandu-ui-v628 .sidebar-version{color:#c7dafe;border-color:rgba(255,255,255,.14)}
.posyandu-ui-v628 .sidebar-version svg{color:#67dafa}
.posyandu-ui-v628 .topbar,
.posyandu-ui-v628.role-admin_desa .topbar,
.posyandu-ui-v628.role-posyandu .topbar{
 height:74px;padding:0 22px;
 background:rgba(255,255,255,.98);
 border-bottom:1px solid #e1e9f7;
 box-shadow:0 5px 18px rgba(20,55,125,.035);
}
.posyandu-ui-v628 .topbar-title strong{font-family:'Plus Jakarta Sans',Inter,sans-serif;color:#0e2c62;font-size:18px;font-weight:800}
.posyandu-ui-v628 .topbar-title small{font-size:10px;color:#7d8dac}
.posyandu-ui-v628 .admin-period-select{border-color:#d9e4f7;border-radius:12px}
.posyandu-ui-v628 .admin-period-select>span{color:#276fdf}
.posyandu-ui-v628 .notification-button,
.posyandu-ui-v628.role-admin_desa .notification-button,
.posyandu-ui-v628.role-posyandu .notification-button{width:42px;height:42px;border:1px solid #dce6f6;border-radius:13px;color:#1a57bf;background:#f9fbff;box-shadow:none}
.posyandu-ui-v628 .notification-button svg{color:#1a57bf}
.posyandu-ui-v628 .topbar-avatar,.posyandu-ui-v628.role-admin_desa .admin-topbar-avatar{background:#e6efff;color:#1b5cc7}
.posyandu-ui-v628 .page,
.posyandu-ui-v628.role-admin_desa .page,
.posyandu-ui-v628.role-posyandu .page{
 background:radial-gradient(circle at top right,rgba(73,128,255,.055),transparent 30%),#f1f5fd;
 padding:22px 24px 40px;max-width:none;min-width:0;
}
.posyandu-ui-v628 .page h1,.posyandu-ui-v628 .page h2{color:#102c63}
.posyandu-ui-v628 .page .eyebrow{color:#2967d8;letter-spacing:.1em}
.posyandu-ui-v628 .card,
.posyandu-ui-v628 .subcard,
.posyandu-ui-v628 .form-card,
.posyandu-ui-v628 .admin-report-target-section,
.posyandu-ui-v628 .admin-report-section,
.posyandu-ui-v628 .report-target-section,
.posyandu-ui-v628 .report-status-card,
.posyandu-ui-v628 .admin-revision-card{
 background:#fff;
 border:1px solid #e0e8f6;
 border-radius:19px;
 box-shadow:var(--v628-shadow);
}
.posyandu-ui-v628 .page-actions,.posyandu-ui-v628 .period-head,.posyandu-ui-v628 .simple-head,.posyandu-ui-v628 .admin-simple-head{gap:12px}
.posyandu-ui-v628 .btn{border-radius:11px;font-weight:750;transition:transform .18s,box-shadow .18s,background .18s}
.posyandu-ui-v628 .btn-primary{background:linear-gradient(105deg,#237bf4,#5f43ef);border-color:transparent;color:#fff;box-shadow:0 8px 22px rgba(61,99,220,.18)}
.posyandu-ui-v628 .btn-primary:hover{background:linear-gradient(105deg,#156cdb,#5034de);transform:translateY(-1px);box-shadow:0 12px 24px rgba(61,99,220,.24)}
.posyandu-ui-v628 .btn-light{border-color:#d9e4f4;color:#224880;background:#fff}
.posyandu-ui-v628 .btn-light:hover{background:#eff5ff;border-color:#bfd2fc}
.posyandu-ui-v628 .btn-danger{background:#fff2f1;border-color:#ffd3d0;color:#c93534}
.posyandu-ui-v628 .btn:focus-visible,.posyandu-ui-v628 a:focus-visible,.v628-login-page button:focus-visible{outline:3px solid rgba(48,121,246,.65);outline-offset:2px}
.posyandu-ui-v628 input,.posyandu-ui-v628 select,.posyandu-ui-v628 textarea{border-radius:11px;border:1px solid #d7e3f5;background:#fff;color:#203b68}
.posyandu-ui-v628 input:focus,.posyandu-ui-v628 select:focus,.posyandu-ui-v628 textarea:focus{outline:0;border-color:#518dff;box-shadow:0 0 0 3px rgba(67,126,251,.12)}
.posyandu-ui-v628 .table-wrap{border:1px solid #e0e8f6;border-radius:15px;overflow:auto;background:#fff;max-width:100%;box-shadow:var(--v628-shadow)}
.posyandu-ui-v628 table{border-collapse:collapse;width:100%}
.posyandu-ui-v628 table th{background:#f3f7ff;color:#4a6694;letter-spacing:.055em;font-size:11px;font-weight:800}
.posyandu-ui-v628 table td{border-bottom:1px solid #ecf0f8;color:#243e68}
.posyandu-ui-v628 table tbody tr:hover td{background:#f7faff}
.posyandu-ui-v628 .badge{background:#e8f2ff;color:#2869cb;border:1px solid #d1e4ff;border-radius:999px}
.posyandu-ui-v628 .status-valid,.posyandu-ui-v628 .status-terkunci,.posyandu-ui-v628 .badge-hadir{background:#e5f9f0;color:#13774b;border-color:#c4ebd7}
.posyandu-ui-v628 .status-perlu_perbaikan,.posyandu-ui-v628 .badge-tidak_hadir{background:#fff0f0;color:#b92f3a;border-color:#ffd4d6}
.posyandu-ui-v628 .status-dikirim,.posyandu-ui-v628 .status-dikirim_ulang{background:#eaf2ff;color:#1f65d0;border-color:#d2e3ff}
.posyandu-ui-v628 .status-diperiksa{background:#f0ecff;color:#6242d9;border-color:#e2d8ff}
.posyandu-ui-v628 .status-draft{background:#f1f4fa;color:#60718b;border-color:#e2e7f0}
.posyandu-ui-v628 .alert.success{background:#e9faf2;color:#157950;border-color:#bce6ce}
.posyandu-ui-v628 .alert.danger{background:#fff0f1;color:#b92838;border-color:#ffd1d5}
.posyandu-ui-v628 .alert.info{background:#eaf3ff;color:#2465bf;border-color:#bfd8ff}
.posyandu-ui-v628 .empty{border-radius:14px;color:#7385a4}
.posyandu-ui-v628 .stat,.posyandu-ui-v628 .summary-grid>div,.posyandu-ui-v628 .quick-stats>div,.posyandu-ui-v628 .home-summary>a,
.posyandu-ui-v628 .mock-admin-stats-final>a,.posyandu-ui-v628 .mock-kader-stat{
 background:#fff;border:1px solid #dfe8f6;border-radius:18px;box-shadow:var(--v628-shadow);
}
.posyandu-ui-v628 .stats>.stat{border-top:4px solid #4286fa}
.posyandu-ui-v628 .stats>.stat:nth-child(4n + 2){border-top-color:#0ab9cf}
.posyandu-ui-v628 .stats>.stat:nth-child(4n + 3){border-top-color:#8760fa}
.posyandu-ui-v628 .stats>.stat:nth-child(4n + 4){border-top-color:#f5aa44}
.posyandu-ui-v628 .stats .stat b,.posyandu-ui-v628 .quick-stats b,.posyandu-ui-v628 .summary-grid b{color:#123a86}
.posyandu-ui-v628 .stats .stat span,.posyandu-ui-v628 .summary-grid span{color:#7082a1}
.posyandu-ui-v628 .summary-grid>div:nth-child(4n + 1){background:#f0f6ff}
.posyandu-ui-v628 .summary-grid>div:nth-child(4n + 2){background:#ebfaff}
.posyandu-ui-v628 .summary-grid>div:nth-child(4n + 3){background:#f4f0ff}
.posyandu-ui-v628 .summary-grid>div:nth-child(4n + 4){background:#fff8ec}
.posyandu-ui-v628 .module-card,.posyandu-ui-v628 .admin-menu-card,.posyandu-ui-v628 .simple-menu-card{border:1px solid #e0e8f6;border-radius:17px;background:#fff;box-shadow:var(--v628-shadow)}
.posyandu-ui-v628 .module-card:hover,.posyandu-ui-v628 .admin-menu-card:hover,.posyandu-ui-v628 .simple-menu-card:hover{border-color:#a8c7ff;box-shadow:var(--v628-shadow-lift);transform:translateY(-2px)}
.posyandu-ui-v628 .admin-menu-icon,.posyandu-ui-v628 .menu-icon{background:linear-gradient(135deg,#eaf3ff,#f1ebff);color:#2f6fe6;border-radius:12px}
.posyandu-ui-v628 .admin-menu-arrow{color:#4b77d5}
.posyandu-ui-v628 .photo-card,.posyandu-ui-v628 .target-card,.posyandu-ui-v628 .today-card{border-radius:17px;border-color:#dfe7f5;box-shadow:var(--v628-shadow)}
.posyandu-ui-v628 .photo-card{overflow:hidden}
.posyandu-ui-v628 .today-card,.posyandu-ui-v628 .report-status-card{border-left:4px solid #2679ef}
.posyandu-ui-v628 .admin-report-target-section .report-target-head,.posyandu-ui-v628 .report-target-head{background:#f7faff}
/* Admin dashboard designed blocks */
.posyandu-ui-v628 .mock-admin-stats-final,.posyandu-ui-v628 .mock-kader-stats-final{gap:14px}
.posyandu-ui-v628 .mock-admin-stats-final>a,.posyandu-ui-v628 .mock-kader-stat{min-height:108px;border:1px solid #dfe8f6;padding:16px}
.posyandu-ui-v628 .mock-admin-stats-final>a:nth-child(4n + 1){background:linear-gradient(140deg,#fff,#edf5ff)}
.posyandu-ui-v628 .mock-admin-stats-final>a:nth-child(4n + 2){background:linear-gradient(140deg,#fff,#ecfbff)}
.posyandu-ui-v628 .mock-admin-stats-final>a:nth-child(4n + 3){background:linear-gradient(140deg,#fff,#f5efff)}
.posyandu-ui-v628 .mock-admin-stats-final>a:nth-child(4n + 4){background:linear-gradient(140deg,#fff,#f4f7ff)}
.posyandu-ui-v628 .mock-admin-stats-final b,.posyandu-ui-v628 .mock-kader-stat b{color:#0e2e69;font-size:29px}
.posyandu-ui-v628 .mock-admin-stats-final small,.posyandu-ui-v628 .mock-kader-stat small{color:#5b7095;font-size:11px}
.posyandu-ui-v628 .mock-admin-stats-final em,.posyandu-ui-v628 .mock-kader-stat em{color:#7185a3;font-size:10px}
.posyandu-ui-v628 .mock-admin-stats-final>a i,.posyandu-ui-v628 .mock-kader-stat i{width:45px;height:45px;flex:0 0 45px;border-radius:14px;background:#e5efff;color:#2679e7}
.posyandu-ui-v628 .mock-admin-stats-final>a:nth-child(4n + 2) i,.posyandu-ui-v628 .mock-kader-stat:nth-child(4n + 2) i{background:#dff9ff;color:#05a3b7}
.posyandu-ui-v628 .mock-admin-stats-final>a:nth-child(4n + 3) i,.posyandu-ui-v628 .mock-kader-stat:nth-child(4n + 3) i{background:#eee7ff;color:#7646e6}
.posyandu-ui-v628 .mock-admin-stats-final>a:nth-child(4n + 4) i,.posyandu-ui-v628 .mock-kader-stat:nth-child(4n + 4) i{background:#fff2dd;color:#e79522}
.posyandu-ui-v628 .mock-admin-panel-final,.posyandu-ui-v628 .mock-kader-next-card,.posyandu-ui-v628 .mock-kader-announcement{background:#fff;border-color:#e0e8f6;border-radius:18px;box-shadow:var(--v628-shadow)}
.posyandu-ui-v628 .mock-panel-head-final h3,.posyandu-ui-v628 .mock-panel-heading h3{font-size:13px;color:#123467}
.posyandu-ui-v628 .mock-panel-more,.posyandu-ui-v628 .mock-panel-head-final>a{color:#226bde}
.posyandu-ui-v628 .mock-admin-list-final{color:#273d67}
.posyandu-ui-v628 .mock-status-donut{filter:saturate(1.1)}
.posyandu-ui-v628 .mock-rekap-four>div{background:#f8fbff;border:1px solid #e5ecf7;border-radius:13px}
.posyandu-ui-v628 .mock-kader-service-banner{background:linear-gradient(110deg,#1648ae,#3b65e9 62%,#6a47d8);box-shadow:0 15px 30px rgba(53,93,205,.18);border-radius:19px}
.posyandu-ui-v628 .mock-kader-service-copy h2{color:#fff}
.posyandu-ui-v628 .mock-kader-next-card .mock-next-content{background:#f8faff;border-color:#e1eafa}
.posyandu-ui-v628 .mock-kader-announcement{background:#f3f7ff}
.posyandu-ui-v628 .mock-kader-announcement strong{color:#274b91}
.posyandu-ui-v628 .mock-admin-quick-mobile a{background:#fff;border-color:#dde8fa}
/* Overflow fixes for small laptops and narrow forms */
.posyandu-ui-v628 .page,.posyandu-ui-v628 .content,.posyandu-ui-v628 .card,.posyandu-ui-v628 .table-wrap,.posyandu-ui-v628 .mock-admin-panel-final{min-width:0}
.posyandu-ui-v628 .page form,.posyandu-ui-v628 .page .filter-bar{max-width:100%}
.posyandu-ui-v628 .grid2,.posyandu-ui-v628 .stats,.posyandu-ui-v628 .module-grid,.posyandu-ui-v628 .summary-grid{min-width:0}
.posyandu-ui-v628 .grid2>*{min-width:0}
.posyandu-ui-v628 .page-actions .actions{display:flex;flex-wrap:wrap}
@media (max-width:1199px) and (min-width:901px){
 .posyandu-ui-v628 .app-shell{grid-template-columns:220px minmax(0,1fr)}
 .posyandu-ui-v628 .page,.posyandu-ui-v628.role-admin_desa .page,.posyandu-ui-v628.role-posyandu .page{padding:18px 16px 32px}
 .posyandu-ui-v628 .mock-admin-three-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .posyandu-ui-v628 .mock-admin-three-grid .status-panel{grid-column:1/-1}
}
@media(max-width:920px){
 .v628-login-shell{grid-template-columns:1fr;min-height:100vh}
 .v628-login-hero{min-height:unset;padding:24px 26px 28px}
 .v628-hero-copy{margin:18px 0 0}
 .v628-hero-copy h1{font-size:clamp(28px,4vw,42px);margin:13px 0 12px}
 .v628-hero-copy h1 br{display:none}
 .v628-hero-copy>p{margin-bottom:0;max-width:700px}
 .v628-hero-features,.v628-hero-footer{display:none}
 .v628-login-right{padding:24px 18px}
}
@media(max-width:900px){
 .posyandu-ui-v628.role-admin_desa .app-shell,.posyandu-ui-v628.role-posyandu .app-shell,.posyandu-ui-v628 .app-shell{display:block;grid-template-columns:1fr}
 .posyandu-ui-v628.role-admin_desa .sidebar,.posyandu-ui-v628.role-posyandu .sidebar{position:fixed;left:0;top:0;bottom:0;width:min(315px,88vw);height:100dvh;overflow-y:auto;z-index:130;transform:translateX(-105%);transition:transform .2s ease}
 .posyandu-ui-v628.role-admin_desa.admin-menu-open .sidebar{transform:translateX(0)}
 .posyandu-ui-v628.role-admin_desa .page,.posyandu-ui-v628.role-posyandu .page{padding:16px}
 .posyandu-ui-v628.role-admin_desa .topbar,.posyandu-ui-v628.role-posyandu .topbar{height:68px;padding:0 14px}
 .posyandu-ui-v628.role-admin_desa .mock-admin-three-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .posyandu-ui-v628.role-admin_desa .mock-admin-three-grid .status-panel{grid-column:1/-1}
}
@media(max-width:640px){
 .v628-login-shell{display:block}
 .v628-login-hero{padding:17px 17px 22px}
 .v628-hero-header{gap:11px}
 .v628-hero-logo{width:46px;height:46px;flex-basis:46px;border-radius:13px}
 .v628-hero-logo svg{width:25px;height:25px}
 .v628-hero-header strong{font-size:16px}
 .v628-hero-header span{font-size:10px}
 .v628-hero-kicker{font-size:9px;padding:8px 10px}
 .v628-hero-copy h1{font-size:26px;line-height:1.22}
 .v628-hero-copy>p{font-size:11px;line-height:1.7}
 .v628-login-right{padding:16px 12px 28px}
 .v628-auth-card{padding:20px 15px;border-radius:18px}
 .v628-auth-header{gap:12px;margin-bottom:20px}
 .v628-auth-header-icon{width:48px;height:48px;flex-basis:48px;border-radius:14px}
 .v628-auth-header-icon svg{width:24px;height:24px}
 .v628-auth-header h1{font-size:17px}
 .v628-auth-header p{font-size:11px}
 .v628-role-choices{gap:6px}
 .v628-role-choice{min-height:99px;padding:11px 4px 8px;border-radius:12px}
 .v628-role-icon svg{width:23px;height:23px}
 .v628-role-choice strong{font-size:11px}
 .v628-role-choice small{font-size:9px}
 .v628-role-soon{font-size:7px;padding:2px 4px}
 .v628-login-bottom{font-size:9px}
 .posyandu-ui-v628.role-admin_desa .topbar,.posyandu-ui-v628.role-posyandu .topbar{background:linear-gradient(110deg,#143c8c,#3a5edf)!important;color:#fff;border:0}
 .posyandu-ui-v628 .admin-mobile-brand,.posyandu-ui-v628 .posyandu-mobile-brand{color:#fff}
 .posyandu-ui-v628 .admin-mobile-brand>span{background:#edf3ff;color:#2464d6}
 .posyandu-ui-v628.role-admin_desa .notification-button,.posyandu-ui-v628.role-posyandu .notification-button{background:rgba(255,255,255,.11);border-color:rgba(255,255,255,.21);color:#fff}
 .posyandu-ui-v628.role-admin_desa .notification-button svg,.posyandu-ui-v628.role-posyandu .notification-button svg{color:#fff}
 .posyandu-ui-v628.role-admin_desa .page,.posyandu-ui-v628.role-posyandu .page{padding:12px 10px calc(80px + env(safe-area-inset-bottom))}
 .posyandu-ui-v628 .admin-mobile-bottom-nav,.posyandu-ui-v628 .mobile-bottom-nav{background:rgba(255,255,255,.98);border-top-color:#dce6f9;box-shadow:0 -7px 24px rgba(28,65,132,.09)}
 .posyandu-ui-v628 .admin-mobile-bottom-nav a.active,.posyandu-ui-v628 .mobile-bottom-nav a.active{color:#226bdf}
 .posyandu-ui-v628 .mock-admin-stats-final,.posyandu-ui-v628 .mock-kader-stats-final{gap:8px}
 .posyandu-ui-v628 .mock-admin-stats-final>a,.posyandu-ui-v628 .mock-kader-stat{min-height:83px;padding:10px;border-radius:14px}
 .posyandu-ui-v628 .mock-admin-stats-final b,.posyandu-ui-v628 .mock-kader-stat b{font-size:22px}
 .posyandu-ui-v628 .mock-admin-stats-final small,.posyandu-ui-v628 .mock-kader-stat small{font-size:9px}
 .posyandu-ui-v628 .mock-admin-stats-final em,.posyandu-ui-v628 .mock-kader-stat em{font-size:8px}
 .posyandu-ui-v628 .mock-admin-stats-final>a i,.posyandu-ui-v628 .mock-kader-stat i{width:34px;height:34px;flex-basis:34px}
 .posyandu-ui-v628 .mock-admin-panel-final,.posyandu-ui-v628 .mock-kader-next-card{border-radius:14px}
 .posyandu-ui-v628 .mock-admin-three-grid{display:flex;flex-direction:column;gap:10px}
 .posyandu-ui-v628 .mock-admin-three-grid .status-panel{grid-column:auto}
 .posyandu-ui-v628 .page-actions .actions>*{min-width:0}
 .posyandu-ui-v628 .grid2{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){
 .v628-role-choice,.v628-submit,.posyandu-ui-v628 .btn,.posyandu-ui-v628 .sidebar nav a{transition:none!important}
}

/* v6.29 | Bidan Desa: gaya sama dengan Admin, hak akses tetap dibatasi di controller */
.posyandu-ui-v628 .bidan-dashboard{display:grid;gap:18px}
.bidan-hero-banner{display:flex;align-items:center;justify-content:space-between;gap:22px;position:relative;overflow:hidden;border-radius:24px;padding:28px 32px;color:#fff;background:linear-gradient(112deg,#0a2f72 0%,#155bba 52%,#4b45ef 100%);box-shadow:0 16px 42px rgba(23,75,166,.18)}
.bidan-hero-banner:after{content:"";position:absolute;width:260px;height:260px;border:1px solid rgba(255,255,255,.15);border-radius:50%;right:-48px;top:-108px;pointer-events:none}
.bidan-hero-banner h1{font-size:clamp(22px,2.4vw,31px);line-height:1.3;color:#fff!important;margin:10px 0}
.bidan-hero-banner p{margin:0 0 15px;max-width:700px;color:#deebff;line-height:1.6}
.bidan-hero-kicker{font-size:11px;font-weight:900;letter-spacing:.13em;color:#72e7ff}
.bidan-period-pill{display:inline-flex;padding:8px 12px;border:1px solid rgba(255,255,255,.24);border-radius:999px;background:rgba(255,255,255,.13);color:#fff;font-size:12px;font-weight:700}
.bidan-hero-art{font-size:90px;opacity:.18;line-height:1}
.bidan-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.bidan-stat-card{display:grid;align-content:center;gap:7px;min-height:150px;background:linear-gradient(180deg,#fff,#f8fbff);border:1px solid #dde8f6;border-radius:20px;padding:20px;box-shadow:0 10px 25px rgba(16,49,120,.07)}
.bidan-stat-card strong{font:800 32px/1.1 'Plus Jakarta Sans',Inter,sans-serif;color:#102e70}
.bidan-stat-card small{font-size:12px;font-weight:700;color:#5d7290}
.bidan-stat-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:14px;background:#eaf2ff;color:#2460d1}
.bidan-stat-icon svg{width:23px;height:23px}
.bidan-stat-card--cyan .bidan-stat-icon{background:#dff9ff;color:#0898b9}
.bidan-stat-card--violet .bidan-stat-icon{background:#eee9ff;color:#7350dc}
.bidan-stat-card--amber .bidan-stat-icon{background:#fff1df;color:#cd8009}
.bidan-sections-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;min-width:0}
.bidan-quick-card{min-width:0}
.bidan-quick-links{display:grid;gap:8px}
.bidan-quick-links>a{display:grid;grid-template-columns:44px minmax(0,1fr) 12px;align-items:center;gap:11px;background:#f5f9ff;border:1px solid #e2eaf6;border-radius:13px;padding:11px 13px;color:#173c75}
.bidan-quick-links>a:hover{background:#eef4ff;transform:translateY(-1px)}
.bidan-quick-links>a>span{width:42px;height:42px;display:grid;place-items:center;border-radius:12px;background:#e4efff;color:#2460d1}
.bidan-quick-links>a svg{width:20px;height:20px}
.bidan-quick-links strong{display:block;font-size:13px}
.bidan-quick-links small{display:block;margin-top:3px;color:#627b9e;font-size:11px;line-height:1.5}
.bidan-quick-links b{font-size:22px}
.bidan-empty-state{padding:22px;color:#61788f;background:#f6f9fe;border:1px dashed #d6e2f3;border-radius:13px;line-height:1.65}
.bidan-quick-card .table-wrap{max-width:100%}
.bidan-quick-card td small{display:block;margin-top:3px}
@media(max-width:1100px){.bidan-sections-grid{grid-template-columns:1fr}.bidan-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.bidan-hero-banner{padding:20px}.bidan-hero-art{display:none}.bidan-stat-grid{gap:9px}.bidan-stat-card{min-height:118px;padding:14px}.bidan-stat-card strong{font-size:25px}.bidan-stat-icon{width:35px;height:35px}.bidan-stat-icon svg{width:19px;height:19px}.bidan-quick-links>a{grid-template-columns:38px minmax(0,1fr) 12px}.bidan-quick-links>a>span{width:37px;height:37px}}
