:root {
    --green-950:#061f5a; --green-900:#042e98; --green-800:#075ed5; --green-700:#0c63bc;
    --mint:#e9f1ff; --mint-2:#f5f8ff; --lime:#ffc400; --ink:#10264d; --muted:#637089;
    --line:#d9e3f3; --paper:#ffffff; --canvas:#f6f8fc; --danger:#b42318; --danger-bg:#fff1ef;
    --warning:#9a5b00; --warning-bg:#fff8e1; --shadow:0 16px 38px rgba(24,83,157,.12);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  }
  *{box-sizing:border-box} body{margin:0;background:var(--canvas);color:var(--ink);font-size:15px}
  button,input,select,textarea{font:inherit} button{cursor:pointer}.hidden{display:none!important}
  .login-screen{min-height:100vh;min-height:100dvh;display:flex;align-items:center;justify-content:center;padding:clamp(250px,28vh,390px) 24px clamp(150px,18vh,270px);background:#f6fbff var(--login-bg) center/auto 100% no-repeat}
  .login-card{position:relative;overflow:hidden;width:min(86vw,560px);background:rgba(255,255,255,.74);backdrop-filter:blur(7px);border:2px solid rgba(84,151,238,.58);border-radius:36px;padding:54px 66px;box-shadow:0 28px 62px rgba(24,83,157,.2);color:#08245c}
  .login-card:after{content:"";position:absolute;right:22px;top:62px;width:76px;height:120px;border-top:2px solid rgba(45,132,236,.38);border-right:2px solid rgba(45,132,236,.38);border-radius:0 16px 0 0;pointer-events:none}
  h1,h2,h3,p{margin-top:0}h1{font-size:34px;letter-spacing:-1px;margin:8px 0}h2{font-size:22px;margin:2px 0 0}h3{font-size:21px;margin:3px 0}.muted{color:var(--muted);line-height:1.55}
  .eyebrow{margin:18px 0 0;color:var(--green-700);font-size:11px;font-weight:850;letter-spacing:1.35px}.login-card>.eyebrow{margin-top:0;color:#085db4;font-size:15px}.login-accent{width:110px;height:4px;margin:18px 0 20px;border-radius:999px;background:linear-gradient(90deg,#0b4ca5 0 64%,#ffc400 64%)}.login-card h1{font-size:42px;letter-spacing:0;margin:0 0 14px;color:#061f5a}.login-card .muted{color:#4c5e7d;font-size:18px;line-height:1.45;margin-bottom:0}.eyebrow.light{color:#b9e7d8;margin:0}.stack-lg{display:grid;gap:26px;margin-top:36px}.login-help{text-align:center;color:#70809b;font-size:14px;margin:27px 0 0}
  .field{display:grid;gap:8px}.field>span,.section-label b{font-weight:750;font-size:13px}.login-card .field>span{color:#061f5a;font-size:15px}.field input,.field select,.field textarea,.filter-row input,.filter-row select{width:100%;border:1px solid var(--line);background:#fff;border-radius:13px;padding:12px 13px;color:var(--ink);outline:none;transition:.2s}.field input:focus,.field select:focus,.field textarea:focus,.filter-row input:focus,.filter-row select:focus{border-color:var(--green-700);box-shadow:0 0 0 3px rgba(12,99,188,.12)}
  .login-input{height:68px;display:flex;align-items:center;gap:15px;border:1.5px solid rgba(20,85,170,.42);border-radius:14px;background:rgba(255,255,255,.72);padding:0 18px}.login-input:focus-within{border-color:#0c63bc;box-shadow:0 0 0 4px rgba(12,99,188,.12)}.login-input input{height:100%;border:0!important;box-shadow:none!important;background:transparent!important;padding:0!important;color:#10264d}.login-input input::placeholder{color:#99a8bf}.input-icon{position:relative;display:block;width:24px;height:24px;flex:0 0 24px;color:#50627f}.user-icon:before{content:"";position:absolute;left:7px;top:2px;width:9px;height:9px;border:2px solid currentColor;border-radius:50%}.user-icon:after{content:"";position:absolute;left:3px;bottom:2px;width:18px;height:10px;border:2px solid currentColor;border-top:0;border-radius:0 0 11px 11px}.lock-icon:before{content:"";position:absolute;left:4px;bottom:3px;width:16px;height:13px;border:2px solid currentColor;border-radius:3px}.lock-icon:after{content:"";position:absolute;left:7px;top:1px;width:10px;height:11px;border:2px solid currentColor;border-bottom:0;border-radius:10px 10px 0 0}.password-wrap{overflow:hidden}.icon-button{height:42px;min-width:50px;border:0;border-left:1px solid rgba(20,85,170,.22);background:transparent;color:#071d4d;padding:0 0 0 15px}.eye-icon{position:relative;display:block;width:24px;height:15px;border:2px solid currentColor;border-radius:50%}.eye-icon:after{content:"";position:absolute;left:7px;top:3px;width:6px;height:6px;background:currentColor;border-radius:50%}
  .button{border:0;border-radius:13px;padding:12px 17px;font-weight:800}.button.primary{background:var(--green-800);color:#fff;box-shadow:0 7px 18px rgba(7,94,213,.22)}.button.primary:hover{background:var(--green-900)}.login-submit{height:72px!important;margin-top:7px;border-radius:14px!important;background:linear-gradient(135deg,#075ed5,#042e98)!important;box-shadow:0 16px 30px rgba(0,62,164,.28)!important;font-size:21px;display:flex;align-items:center;justify-content:center;gap:14px}.bolt-icon{position:relative;display:grid;place-items:center;width:54px;height:54px;margin-left:-12px;border-radius:999px;background:rgba(255,196,0,.13);color:#ffc400}.bolt-icon:before{content:"";width:18px;height:30px;background:currentColor;clip-path:polygon(55% 0,16% 50%,46% 50%,31% 100%,86% 39%,56% 39%)}.login-card .button.primary:hover{background:linear-gradient(135deg,#064fae,#032674)!important}.button.secondary{background:var(--mint);color:var(--green-900)}.button.danger{background:var(--danger-bg);color:var(--danger)}.button.small{padding:9px 12px;font-size:13px}.button.full{width:100%}.button-row{display:flex;justify-content:flex-end;gap:10px}
  .app-shell{min-height:100vh;padding-bottom:0;background:var(--canvas)}.topbar{min-height:86px;background:#fff;color:var(--ink);display:grid;grid-template-columns:minmax(210px,1fr) minmax(320px,auto) minmax(220px,1fr);align-items:center;gap:18px;padding:12px max(24px,calc((100% - 1180px)/2));position:sticky;top:0;z-index:1000;isolation:isolate;border-top:4px solid #3b3321;border-bottom:1px solid var(--line);box-shadow:0 8px 24px rgba(16,38,77,.06)}.topbar-brand{display:flex;align-items:center;gap:14px;min-width:0}.topbar-brand h2{margin:0;font-size:28px;line-height:1;font-weight:900;color:var(--green-800);letter-spacing:0}.topbar-brand p{margin:5px 0 0;color:var(--muted);font-size:13px;white-space:nowrap}.topbar-logo{width:62px;height:42px;flex:0 0 auto;border-radius:8px;background:#fff var(--app-logo) center/contain no-repeat}
  .profile-chip{justify-self:end;display:flex;align-items:center;gap:11px;background:#fff;border:0;border-left:1px solid var(--line);color:var(--ink);border-radius:0;padding:6px 0 6px 22px;min-width:220px}.profile-chip>span:first-child{display:grid;place-items:center;width:36px;height:36px;border-radius:12px;background:var(--mint);color:var(--green-800);font-weight:900}.profile-copy{display:grid;text-align:left;line-height:1.15}.profile-copy b{font-size:15px}.profile-copy small{font-size:12px;color:var(--muted);margin-top:3px}.logout-icon{position:relative;width:22px;height:22px;margin-left:auto;color:#6f7b91}.logout-icon:before{content:"";position:absolute;left:2px;top:4px;width:11px;height:14px;border:2px solid currentColor;border-right:0;border-radius:3px 0 0 3px}.logout-icon:after{content:"";position:absolute;right:1px;top:6px;width:13px;height:10px;border-top:2px solid currentColor;border-right:2px solid currentColor;transform:rotate(45deg)}
  .content{width:min(100%,1180px);margin:0 auto;padding:36px 24px 42px}.page{animation:fadeIn .18s ease}.welcome-card{background:linear-gradient(135deg,#075ed5,#042e98);color:#fff;border-radius:18px;padding:24px 26px;display:flex;align-items:center;justify-content:space-between;overflow:hidden;box-shadow:var(--shadow)}.welcome-card h3{font-size:25px;margin:4px 0}.welcome-card p:last-child{color:#dbe8ff;margin:0}.welcome-logo{width:116px;height:92px;flex:0 0 auto;border-radius:16px;background:#fff var(--app-logo) center/contain no-repeat;box-shadow:0 14px 26px rgba(0,0,0,.13)}
  .reading-progress-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:16px 0 27px}.reading-progress-card{position:relative;isolation:isolate;min-width:0;overflow:hidden;border:1px solid #cbdaf2;border-radius:20px;background:linear-gradient(145deg,#fff 0%,#f5f8ff 100%);padding:20px;box-shadow:0 10px 28px rgba(24,83,157,.09)}.reading-progress-card:before{content:"";position:absolute;inset:0 0 auto;height:5px;background:linear-gradient(90deg,var(--green-800) 0 72%,var(--lime) 72%)}.reading-progress-card:after{content:"";position:absolute;z-index:-1;right:-42px;top:-46px;width:126px;height:126px;border-radius:50%;background:rgba(7,94,213,.055)}.reading-progress-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.reading-progress-eyebrow{display:block;color:var(--green-700);font-size:9px;font-weight:900;letter-spacing:1.15px}.reading-progress-head h4{margin:4px 0 0;color:var(--ink);font-size:17px}.reading-progress-code{display:grid;place-items:center;min-width:38px;height:27px;border-radius:9px;background:#fff4c7;color:#805300;padding:0 8px;font-size:10px;font-weight:900;box-shadow:inset 0 0 0 1px rgba(255,196,0,.45)}.reading-progress-value-row{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin:18px 0 13px}.reading-progress-percent{color:var(--green-900);font-size:40px;line-height:.9;letter-spacing:-2px}.reading-progress-percent small{font-size:18px;letter-spacing:0}.reading-progress-scope{max-width:132px;color:var(--muted);font-size:10px;line-height:1.4;text-align:right}.reading-progress-track{height:10px;overflow:hidden;border-radius:999px;background:#e2eaf7;box-shadow:inset 0 1px 2px rgba(16,38,77,.09)}.reading-progress-fill{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--green-800),#2e83ed 78%,var(--lime));transition:width .35s ease}.reading-progress-meta{margin:10px 0 0;color:var(--muted);font-size:11px}.reading-progress-meta strong{color:var(--ink);font-size:12px}.reading-count-card{display:grid;align-content:start}.reading-count-row{display:flex;align-items:flex-end;gap:10px;margin:22px 0 14px}.reading-count-value{color:var(--green-900);font-size:48px;line-height:.82;letter-spacing:-2px}.reading-count-unit{color:var(--green-700);font-size:12px;font-weight:850}.section-heading{display:flex;justify-content:space-between;align-items:end;margin:26px 2px 12px}.section-heading .eyebrow{margin:0}.section-heading.compact{margin-top:12px}.action-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.action-card{border:1px solid var(--line);background:#fff;border-radius:19px;padding:18px;text-align:left;min-height:128px;transition:.2s}.action-card:hover{transform:translateY(-2px);box-shadow:var(--shadow);border-color:#bfd0ec}.action-icon{display:grid;place-items:center;width:38px;height:38px;background:var(--mint);border-radius:12px;color:var(--green-900);font-size:20px;font-weight:900}.action-card b{display:block;margin-top:17px}.action-card small{display:block;color:var(--muted);margin-top:3px}
  .gi-map-section{position:relative;z-index:0;margin:0 0 27px;padding:18px;background:#fff;border:1px solid var(--line);border-radius:22px;box-shadow:0 8px 26px rgba(24,83,157,.07)}.gi-map-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:14px}.gi-map-heading .eyebrow{margin:0}.gi-map-heading h3{margin:4px 0 0}.map-legend{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px 12px;font-size:11px;color:var(--muted)}.map-legend span{display:flex;align-items:center;gap:5px}.legend-dot{width:10px;height:10px;border-radius:50%;display:inline-block}.legend-dot.recorded{background:#169b62}.legend-dot.unrecorded{background:#dc2626}.map-status{margin:12px 0;color:var(--muted);font-size:12px}.leaflet-container{font:inherit}.leaflet-popup-content-wrapper{border-radius:14px}.leaflet-popup-content{margin:13px 15px}.gi-popup{display:grid;gap:8px;min-width:190px;color:var(--ink)}.gi-popup>b{font-size:14px}.map-popup-status{display:inline-flex;justify-self:start;border-radius:999px;padding:4px 7px;font-size:10px;font-weight:850}.map-popup-status.recorded{background:var(--mint);color:var(--green-900)}.map-popup-status.unrecorded{background:var(--danger-bg);color:var(--danger)}.gi-popup div{display:grid;gap:2px}.gi-popup small{font-size:10px;color:var(--muted)}.gi-popup strong{font-size:12px}.gi-popup a{margin-top:2px;color:var(--green-800);font-size:12px;font-weight:800;text-decoration:none}.gi-popup a:hover{text-decoration:underline}#giMap{position:relative;z-index:0;height:360px;border-radius:16px;overflow:hidden;border:1px solid #d9e3f3;touch-action:none;overscroll-behavior:contain}
  .card-list{display:grid;gap:10px}.empty-card{padding:26px;text-align:center;color:var(--muted);background:#fff;border:1px dashed #c7d8d2;border-radius:17px}.record-card{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:17px;padding:15px}.record-card h4{margin:0 0 5px;font-size:15px}.record-meta{display:flex;gap:7px;flex-wrap:wrap;color:var(--muted);font-size:12px}.status{display:inline-flex;border-radius:999px;padding:5px 8px;font-size:10px;font-weight:850;letter-spacing:.2px}.status.valid{background:var(--mint);color:var(--green-900)}
  .user-page-heading{align-items:center}.user-form-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding-bottom:16px;border-bottom:1px solid var(--line)}.user-form-heading .eyebrow{margin:0}.user-form-heading h3{margin-top:4px}.user-form-heading>span{max-width:430px;color:var(--muted);font-size:12px;line-height:1.55;text-align:right}.form-password-input{display:flex;align-items:center;width:100%;overflow:hidden;border:1px solid var(--line);border-radius:13px;background:#fff;font-size:inherit;font-weight:400;transition:.2s}.form-password-input:focus-within{border-color:var(--green-700);box-shadow:0 0 0 3px rgba(12,99,188,.12)}.form-password-input>input{min-width:0;border:0!important;border-radius:0!important;box-shadow:none!important}.form-password-toggle{height:44px;min-width:48px;padding:0 12px;border-left:1px solid var(--line)}.user-list-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin:28px 2px 12px}.user-list-heading .eyebrow{margin:0}.user-list-heading h3{margin-top:4px}.user-role-filters{display:flex;align-items:center;gap:6px;max-width:100%;overflow-x:auto;scrollbar-width:none}.user-role-filters::-webkit-scrollbar{display:none}.user-role-filters button{display:flex;align-items:center;gap:7px;min-width:max-content;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--muted);padding:9px 11px;font-size:12px;font-weight:800}.user-role-filters button span{display:grid;place-items:center;min-width:22px;height:22px;border-radius:999px;background:#eef3fb;color:var(--ink);font-size:10px}.user-role-filters button.active{border-color:#9fbbe4;background:var(--mint-2);color:var(--green-900)}.user-role-filters button.active span{background:var(--green-800);color:#fff}.user-groups{display:grid;gap:6px}.user-role-group{display:grid;gap:11px;padding:18px 0;border-top:1px solid var(--line)}.user-role-group:first-child{border-top:0}.user-role-group-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.user-role-group-heading>div{display:flex;align-items:center;gap:9px}.user-role-group-heading h4{margin:0;font-size:12px;color:var(--muted)}.user-role-group-heading>span{font-size:11px;color:var(--muted)}.user-role-badge{display:inline-flex;border-radius:999px;padding:6px 9px;font-size:10px;font-weight:900;text-transform:uppercase}.user-role-badge.admin{background:#e7f0ff;color:#075ed5}.user-role-badge.pegawai{background:#e6f6ed;color:#247a4b}.user-role-badge.petugas{background:#fff4c7;color:#8a5a00}.user-card-grid{display:grid;gap:9px}.user-card{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:13px;padding:15px 16px;border:1px solid var(--line);border-radius:15px;background:#fff}.user-avatar{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:var(--mint-2);color:var(--green-800);font-size:17px;font-weight:900}.user-card-copy{min-width:0}.user-card-title{display:flex;align-items:center;gap:8px;min-width:0}.user-card-title h4{margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}.user-card-copy>p{margin:3px 0 9px;color:var(--muted);font-size:11px}.user-account-status{display:inline-flex;flex:0 0 auto;border-radius:999px;padding:3px 6px;font-size:9px;font-weight:850}.user-account-status.active{background:var(--mint);color:var(--green-900)}.user-account-status.inactive{background:var(--danger-bg);color:var(--danger)}.user-card-details{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 14px}.user-card-details span{display:grid;gap:2px;min-width:0}.user-card-details small{color:var(--muted);font-size:9px;text-transform:uppercase}.user-card-details b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}.user-edit-button{align-self:center;white-space:nowrap}.user-protected-label{align-self:center;border-radius:999px;background:#eef2f7;color:var(--muted);padding:7px 9px;font-size:10px;font-weight:800;white-space:nowrap}
  .summary-period-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px;padding:15px 17px;border:1px solid #d9e3f3;border-radius:18px;background:var(--mint-2)}.summary-period-bar>div:first-child{display:grid;gap:4px}.summary-period-bar b{font-size:14px}.summary-period-bar span{font-size:12px;color:var(--muted)}.summary-period-control{display:flex;gap:9px;align-items:center}.summary-period-control input{border:1px solid var(--line);border-radius:11px;padding:9px 10px;background:#fff;color:var(--ink)}.admin-recording-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.admin-summary-card{display:grid;align-content:start;gap:15px;padding:18px;background:#fff;border:1px solid var(--line);border-radius:21px;box-shadow:0 8px 26px rgba(24,83,157,.07)}.summary-card-head{display:flex;justify-content:space-between;gap:10px;align-items:start}.summary-card-head .eyebrow{margin:0}.summary-card-head h4{font-size:18px;margin:4px 0 0}.summary-card-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px;flex-wrap:wrap}.summary-period{flex:0 0 auto;padding:6px 8px;border-radius:999px;background:var(--mint);color:var(--green-900);font-size:10px;font-weight:800;text-align:center}.export-button{white-space:nowrap}.export-button:disabled{opacity:.55;cursor:wait}.meter-progress{height:8px;overflow:hidden;border-radius:999px;background:#e8eef8}.meter-progress-fill{height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--green-700),var(--lime))}.summary-stat-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.summary-stat-grid>div{display:grid;gap:2px;padding:11px;border-radius:13px;background:var(--mint-2)}.summary-stat-grid>div.unread{background:var(--warning-bg)}.summary-stat-grid span,.summary-stat-grid small{font-size:10px;color:var(--muted)}.summary-stat-grid b{font-size:26px;line-height:1}.summary-section{display:grid;gap:9px;padding-top:14px;border-top:1px solid var(--line)}.summary-section-title{display:grid;gap:2px}.summary-section-title b{font-size:13px}.summary-section-title span{font-size:10px;color:var(--muted)}.lbkb-columns{display:grid;gap:10px}.lbkb-block{display:grid;gap:6px;font-size:11px}.lbkb-list{display:grid;gap:4px}.lbkb-row{display:flex;justify-content:space-between;gap:8px;padding:7px 8px;border-radius:9px;background:#f7faff;font-size:11px}.lbkb-row span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted)}.lbkb-row b{color:var(--green-900)}.summary-history{display:grid;gap:7px;margin:0;padding:0;list-style:none}.summary-history li{display:grid;gap:3px;padding:9px 0;border-bottom:1px solid #e8eef8}.summary-history li:last-child{border-bottom:0;padding-bottom:0}.summary-history b{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.summary-history span,.summary-empty{font-size:10px;color:var(--muted)}.summary-empty{display:block;padding:7px 0}
  .form-card{background:#fff;border:1px solid var(--line);border-radius:22px;padding:20px;display:grid;gap:20px;box-shadow:0 8px 26px rgba(24,83,157,.07)}.compact-form{margin-bottom:18px}.back-link{border:0;background:none;padding:0;color:var(--green-800);font-weight:800}.two-cols{display:grid;grid-template-columns:1fr 1fr;gap:13px}.meta-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;background:var(--mint-2);border-radius:15px;padding:12px}.meta-item{min-width:0}.meta-item small{display:block;color:var(--muted);font-size:10px;text-transform:uppercase;letter-spacing:.4px}.meta-item b{display:block;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:3px}.previous-card{display:grid;gap:5px;border-radius:15px;padding:14px;background:var(--mint-2);border:1px solid #d9e3f3}.previous-card span{font-size:12px;color:var(--muted)}.previous-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:6px}.previous-value{background:#fff;border-radius:10px;padding:9px}.previous-value small{display:block;color:var(--muted);font-size:9px}.previous-value b{font-size:12px}.field-section{display:grid;gap:12px;border-top:1px solid var(--line);padding-top:19px}.section-label{display:grid;gap:4px}.section-label span{font-size:12px;color:var(--muted)}.stand-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:11px}.group-title{grid-column:1/-1;color:var(--green-800);font-size:12px;font-weight:850;margin-top:4px}.photo-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.photo-input{position:relative;border:1px dashed #9fb8df;border-radius:15px;background:var(--mint-2);padding:13px;min-height:92px;display:grid;align-content:center;text-align:center}.photo-input input{position:absolute;inset:0;opacity:0;cursor:pointer}.photo-input b{font-size:12px}.photo-input span{font-size:11px;color:var(--muted);margin-top:4px}.photo-input.ready{border-style:solid;background:var(--mint)}.location-card{display:flex;justify-content:space-between;gap:13px;align-items:center;border-radius:15px;background:#f7faff;border:1px solid var(--line);padding:13px}.location-card div{display:grid;gap:3px}.location-card span{font-size:11px;color:var(--muted)}.alert{border-radius:15px;padding:14px;display:grid;gap:8px}.alert.danger{background:var(--danger-bg);border:1px solid #ffc7c2;color:#7f1d16}.alert div{font-size:12px;line-height:1.5}.check-row{display:flex;gap:8px;align-items:flex-start;font-size:13px}.check-row input{margin-top:2px}.filter-row{display:flex;gap:9px;margin-bottom:14px}.filter-row>*{min-width:0}
  .meter-group-list{display:grid;gap:14px}.meter-group{display:grid;gap:14px;border:1px solid #cbdaf2;border-radius:17px;background:#f7faff;padding:15px}.meter-group-head{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #dfe8f7;padding-bottom:10px}.meter-group-head b{color:var(--green-800);font-size:14px}.meter-group-head span{color:var(--muted);font-size:11px;text-align:right}.meter-group .stand-grid,.meter-group .photo-grid{grid-template-columns:repeat(3,1fr)}.photo-grid.grouped-fields{grid-template-columns:1fr}.meter-group .photo-input{background:#fff;min-height:106px}
  .record-card-detailed{align-items:start}.record-detail-grid{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.record-detail-grid>span{display:grid;gap:2px;min-width:92px;padding:7px 9px;border-radius:10px;background:var(--mint-2);border:1px solid #e1e9f6}.record-detail-grid small{font-size:9px;color:var(--muted);text-transform:uppercase}.record-detail-grid b{font-size:11px;color:var(--ink)}.record-warning{color:var(--danger);font-size:11px;margin-top:8px}.record-note{color:var(--muted);font-size:11px;margin-top:7px}.leaflet-popup-content{max-width:min(78vw,320px);overflow:hidden}.gi-popup{max-height:min(62vh,360px);overflow:auto;padding-right:3px;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.map-reading-detail{display:grid;gap:7px;margin-top:2px}.map-reading-detail summary{cursor:pointer;color:var(--green-800);font-size:12px;font-weight:850;list-style:none}.map-reading-detail summary::-webkit-details-marker{display:none}.map-reading-detail summary:after{content:"Lihat detail";display:inline-flex;margin-left:7px;padding:3px 7px;border-radius:999px;background:var(--mint);font-size:10px;color:var(--green-900)}.map-reading-detail[open] summary:after{content:"Tutup"}.map-detail-toggle{display:grid;gap:5px;width:100%;border:1px solid #dbe6f6;border-radius:11px;background:var(--mint-2);color:var(--ink);padding:9px 10px;text-align:left}.map-detail-toggle span{font-size:11px;color:var(--muted)}.map-detail-toggle b{justify-self:start;border-radius:999px;background:var(--mint);color:var(--green-900);padding:4px 8px;font-size:10px}.map-detail-toggle[aria-expanded="true"]{border-color:#b9cdec;background:#fff}.map-reading-body{display:grid;gap:7px;max-height:min(46vh,260px);overflow:auto;padding-top:4px;padding-right:3px;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.map-reading-body .record-detail-grid{margin-top:0}.gi-popup a{display:inline-flex;align-items:center;justify-content:center;border-radius:10px;background:var(--green-800);color:#fff!important;padding:8px 10px;text-decoration:none!important}
  .top-nav{justify-self:center;display:flex;align-items:center;justify-content:center;gap:10px;max-width:100%;overflow-x:auto;scrollbar-width:none}.top-nav::-webkit-scrollbar{display:none}.nav-item{min-width:max-content;border:0;background:transparent;color:var(--muted);border-radius:18px;display:flex;align-items:center;justify-content:center;gap:8px;padding:14px 17px;font-size:15px;font-weight:800;white-space:nowrap}.nav-item span{font-size:18px;line-height:1}.nav-item.active{background:var(--mint);color:#2e7d4f;box-shadow:inset 0 0 0 1px rgba(7,94,213,.04)}
  .loading{position:fixed;inset:0;z-index:100;background:rgba(6,31,90,.52);backdrop-filter:blur(2px);display:flex;align-items:center;justify-content:center;gap:12px;color:#fff;font-weight:800}.spinner{width:26px;height:26px;border:3px solid rgba(255,255,255,.35);border-top-color:white;border-radius:50%;animation:spin .8s linear infinite}.toast{position:fixed;z-index:120;left:50%;bottom:28px;transform:translateX(-50%);width:min(calc(100% - 32px),480px);padding:13px 16px;border-radius:13px;background:var(--green-950);color:#fff;box-shadow:var(--shadow);text-align:center;font-weight:700}.toast.error{background:#7f1d16}
  .cascade-card{display:grid;gap:10px;padding:15px;border:1px solid #cbdaf2;border-left:4px solid var(--green-700);border-radius:16px;background:var(--mint-2)}.cascade-card .field select:disabled,#entitySelect:disabled{cursor:not-allowed;background:#eef2f7;color:#7b8798}.filter-hint{margin:0;color:var(--muted);font-size:12px;line-height:1.5}
  @keyframes spin{to{transform:rotate(360deg)}}@keyframes fadeIn{from{opacity:.35;transform:translateY(3px)}to{opacity:1;transform:none}}
  @media(max-width:980px){.topbar{grid-template-columns:1fr auto;gap:12px}.top-nav{grid-column:1/-1;justify-self:start;width:100%;justify-content:flex-start;padding-top:2px}.admin-recording-grid{grid-template-columns:1fr}}
  @media(max-width:720px){body{overflow-x:hidden}.login-screen{align-items:flex-start;justify-content:center;min-height:100svh;padding:clamp(300px,64vw,390px) 18px 38px;background-size:100% auto;background-position:top center;background-repeat:no-repeat}.login-card{width:min(92vw,560px);padding:30px 26px;border-radius:30px}.login-card:after{right:22px;top:58px;width:64px;height:104px}.login-card h1{font-size:34px}.login-card .muted{font-size:15px}.stack-lg{gap:20px;margin-top:26px}.login-input{height:60px}.login-submit{height:64px!important;font-size:18px}.bolt-icon{width:46px;height:46px}.topbar{grid-template-columns:minmax(0,1fr) minmax(132px,auto);gap:10px 12px;min-height:auto;padding:12px 14px 10px;overflow:hidden}.topbar-brand{grid-column:1/2;grid-row:1;gap:10px;min-width:0}.topbar-brand h2{font-size:22px}.topbar-brand p{font-size:11px;white-space:normal}.topbar-logo{width:50px;height:34px}.profile-chip{grid-column:2/3;grid-row:1;align-self:center;justify-self:end;min-width:0;max-width:100%;gap:7px;border-left:0;border-radius:16px;background:var(--mint-2);padding:6px 8px}.profile-chip>span:first-child{width:33px;height:33px;border-radius:11px;flex:0 0 auto}.profile-copy{display:grid;min-width:0}.profile-copy b{max-width:92px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.profile-copy small{display:block;max-width:92px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}.logout-icon{width:20px;height:20px;flex:0 0 20px;margin-left:1px}.top-nav{grid-column:1/-1;grid-row:2;justify-self:stretch;width:100%;gap:8px;justify-content:flex-start;overflow-x:auto;margin-top:2px;padding:10px 0 2px;border-top:1px solid var(--line);scroll-snap-type:x proximity}.nav-item{flex:0 0 auto;scroll-snap-align:start;padding:10px 12px;border-radius:15px;font-size:13px}.nav-item span{font-size:16px}.content{padding:22px 12px 32px}.action-grid{grid-template-columns:1fr}.action-card{min-height:auto;display:grid;grid-template-columns:42px 1fr;align-items:center;column-gap:12px}.action-card b{margin-top:0}.action-card small{grid-column:2}.two-cols,.stand-grid{grid-template-columns:1fr 1fr}.meta-grid{grid-template-columns:1fr 1fr}.photo-grid{grid-template-columns:1fr 1fr}.meter-group .stand-grid,.meter-group .photo-grid{grid-template-columns:1fr 1fr}.welcome-logo{width:88px;height:70px}.form-card{padding:16px}.record-card{grid-template-columns:1fr}.record-card>.status{justify-self:start}.filter-row{display:grid;grid-template-columns:1fr 1fr}.filter-row .button{grid-column:1/-1}.summary-period-bar{align-items:stretch;flex-direction:column}.summary-period-control>*{flex:1}.gi-map-heading{align-items:stretch;flex-direction:column}.map-legend{justify-content:flex-start}#giMap{height:310px}}
  @media(max-width:420px){.login-screen{padding:clamp(270px,72vw,330px) 14px 30px;background-size:100% auto}.login-card{width:calc(100vw - 28px);padding:28px 22px;border-radius:27px}.login-card:after{right:18px;top:56px;width:54px;height:94px}.login-card>.eyebrow{font-size:12px}.login-accent{margin:13px 0 16px;width:88px}.login-card h1{font-size:30px}.login-card .muted{font-size:14px}.login-input{height:56px;padding:0 14px}.login-help{font-size:12px;margin-top:20px}.topbar{grid-template-columns:minmax(0,1fr) minmax(118px,auto);padding:11px 12px 9px;gap:9px 10px}.topbar-brand h2{font-size:21px}.topbar-brand p{font-size:10px}.topbar-logo{width:46px;height:32px}.profile-chip{gap:6px;padding:5px 7px}.profile-chip>span:first-child{width:31px;height:31px}.profile-copy b,.profile-copy small{max-width:76px}.nav-item{padding:10px 11px;font-size:12px}.photo-grid,.stand-grid,.two-cols,.meter-group .stand-grid,.meter-group .photo-grid{grid-template-columns:1fr}.meter-group-head{align-items:flex-start;flex-direction:column}.meter-group-head span{text-align:left}.previous-grid{grid-template-columns:1fr 1fr}.welcome-card{padding:19px}.welcome-card h3{font-size:21px}.location-card{align-items:flex-start;flex-direction:column}.location-card .button{width:100%}}
  @media(max-width:720px){.user-form-heading,.user-list-heading,.user-role-group-heading{align-items:stretch;flex-direction:column}.user-form-heading>span{max-width:none;text-align:left}.user-role-filters{width:100%}.user-role-filters button{flex:0 0 auto}.user-card{grid-template-columns:40px minmax(0,1fr);align-items:start}.user-avatar{width:40px;height:40px}.user-edit-button,.user-protected-label{grid-column:1/-1;width:100%;text-align:center}.user-card-details{grid-template-columns:1fr 1fr}.user-role-group-heading>span{text-align:left}}
  @media(max-width:420px){.user-page-heading{align-items:flex-start}.user-page-heading .button{flex:0 0 auto}.user-card-details{grid-template-columns:1fr}.user-card-title{align-items:flex-start;flex-direction:column}.user-role-filters{padding-bottom:2px}}
  @media(max-width:720px){.reading-progress-grid{grid-template-columns:1fr;gap:11px}.reading-progress-card{padding:18px}.reading-progress-value-row{margin-top:15px}}
  @media(max-width:420px){.reading-progress-card{padding:17px}.reading-progress-percent{font-size:36px}.reading-progress-scope{max-width:125px}.reading-count-value{font-size:42px}}
  .content{position:relative;z-index:0}.topbar{z-index:1000}#lbkbFields{position:relative;z-index:0;overflow:visible}#lbkbFields.menu-open{z-index:80}.lbkb-grid{align-items:start}.lbkb-choice{position:relative;display:grid;gap:10px;min-width:0}.lbkb-select-control{position:relative;z-index:0;min-width:0}.lbkb-select-control.open{z-index:40}.lbkb-select-trigger{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:45px;border:1px solid var(--line);border-radius:13px;background:#fff;color:var(--ink);padding:11px 13px;text-align:left;outline:none;transition:.2s}.lbkb-select-trigger:focus,.lbkb-select-control.open .lbkb-select-trigger{border-color:var(--green-700);box-shadow:0 0 0 3px rgba(12,99,188,.12)}.lbkb-select-trigger span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lbkb-select-trigger i{width:8px;height:8px;flex:0 0 8px;border-right:2px solid var(--muted);border-bottom:2px solid var(--muted);transform:rotate(45deg) translateY(-2px);transition:transform .16s}.lbkb-select-control.open .lbkb-select-trigger i{transform:rotate(225deg) translate(-1px,-1px)}.lbkb-select-menu{position:absolute;top:calc(100% + 6px);right:0;left:0;z-index:30;display:grid;gap:3px;max-height:min(240px,42vh);overflow-y:auto;overscroll-behavior:contain;padding:6px;border:1px solid #cbdaf2;border-radius:12px;background:#fff;box-shadow:0 16px 32px rgba(16,38,77,.18)}.lbkb-option{width:100%;border:0;border-radius:8px;background:#fff;color:var(--ink);padding:10px 11px;text-align:left;font-size:13px}.lbkb-option:hover,.lbkb-option:focus{background:var(--mint-2);color:var(--green-900);outline:none}.lbkb-option[aria-selected="true"]{background:var(--mint);color:var(--green-900);font-weight:800}.lbkb-option:last-child{border-top:1px solid var(--line);border-radius:0 0 8px 8px;color:var(--green-800);font-weight:800}.lbkb-manual-field{animation:fadeIn .16s ease}
  .user-presence-bar{display:flex;align-items:center;gap:12px;margin:0 0 16px;padding:13px 15px;border:1px solid #cfe5da;border-left:4px solid #169b62;border-radius:12px;background:#fff}.user-presence-bar>div{display:grid;gap:2px}.user-presence-bar b{font-size:14px;color:var(--ink)}.user-presence-bar div>span{font-size:11px;color:var(--muted)}.presence-dot{display:block;width:11px;height:11px;flex:0 0 11px;border-radius:50%;background:#a7b0bf;box-shadow:0 0 0 4px #eef2f7}.presence-dot.online{background:#169b62;box-shadow:0 0 0 4px #e6f6ed}.user-card-title{flex-wrap:wrap}.user-presence-status{display:inline-flex;align-items:center;gap:4px;flex:0 0 auto;border-radius:999px;padding:3px 6px;font-size:9px;font-weight:850}.user-presence-status i{display:block;width:6px;height:6px;border-radius:50%;background:currentColor}.user-presence-status.online{background:#e6f6ed;color:#247a4b}.user-presence-status.offline{background:#eef2f7;color:#6f7a8d}.existing-password-info{display:flex;align-items:center;gap:12px;padding:13px 14px;border:1px solid #cbdaf2;border-radius:13px;background:var(--mint-2)}.existing-password-info>div{display:grid;gap:3px}.existing-password-info b{font-size:13px;color:var(--ink)}.existing-password-info div>span{font-size:11px;line-height:1.5;color:var(--muted)}.password-shield{position:relative;display:block;width:34px;height:34px;flex:0 0 34px;border-radius:10px;background:var(--mint);color:var(--green-800)}.password-shield:before{content:"";position:absolute;left:10px;top:14px;width:14px;height:11px;border:2px solid currentColor;border-radius:3px}.password-shield:after{content:"";position:absolute;left:13px;top:8px;width:8px;height:9px;border:2px solid currentColor;border-bottom:0;border-radius:8px 8px 0 0}
  @media(max-width:720px){.user-presence-bar{align-items:flex-start}.existing-password-info{align-items:flex-start}}
  #giMap .gi-name-label{background:rgba(255,255,255,.96);border:1px solid #b8ccec;border-radius:6px;box-shadow:0 1px 5px rgba(16,38,77,.18);color:#10264d;font-size:11px;font-weight:800;line-height:1.25;padding:3px 6px;white-space:nowrap;pointer-events:none}
  #giMap .gi-name-label.leaflet-tooltip-top:before{border-top-color:#b8ccec}
  @media(max-width:720px){#giMap .gi-name-label{font-size:10px;padding:2px 5px}}
  .user-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.user-delete-button{background:#fff2f2;color:var(--danger);border:1px solid #efc4c4}.user-delete-button:hover{background:#ffe4e4}.user-delete-button:disabled{opacity:.55;cursor:wait}
  @media(max-width:720px){.user-actions{grid-column:1/-1;width:100%}.user-actions .button{flex:1;width:auto}}
  .combined-report-panel{margin-top:24px}.combined-report-panel>p{font-size:13px;line-height:1.6}.combined-report-filters{display:grid;grid-template-columns:1fr 1fr 1.5fr;gap:14px;margin:0;padding:0;border:0;min-width:0}.combined-report-filters .field{min-width:0}.combined-report-hint{padding:11px 13px;background:#f3f7fd;border-left:3px solid #075ed5;color:var(--muted);border-radius:8px}.combined-report-panel>.button{min-height:44px}.combined-report-panel button:disabled{opacity:.55;cursor:wait}
  @media(max-width:720px){.combined-report-filters{grid-template-columns:1fr 1fr}.combined-report-filters>.field:last-child{grid-column:1/-1}.combined-report-panel>.button{width:100%}}
  .master-download-panel{margin:20px 0}.master-download-panel>p,.feeder-name-panel>p{font-size:13px;line-height:1.6}.master-download-actions{display:flex;flex-wrap:wrap;gap:12px}.feeder-name-fields{display:grid;gap:16px;border:0;min-width:0;margin:0;padding:0}.feeder-edit-details{margin:0;padding:11px 13px;background:#f3f7fd;color:var(--muted);border-left:3px solid #075ed5;border-radius:8px;font-size:13px;line-height:1.6}.feeder-name-panel>.button{margin-top:18px;min-height:44px}.add-master-panel{margin-top:24px}.feeder-name-panel .section-heading{align-items:flex-start;gap:12px}#feederNewName{text-transform:uppercase}
  @media(max-width:720px){.master-download-actions{flex-direction:column}.master-download-actions .button,.feeder-name-panel>.button{width:100%}.feeder-name-panel .section-heading{flex-direction:column}}
  .view-filter-grid{display:grid;grid-template-columns:1fr 2fr auto;gap:16px;align-items:end}.monitoring-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:18px 0}.monitoring-total{background:#fff;border:1px solid var(--line);border-radius:18px;padding:20px;display:grid;gap:9px}.monitoring-total strong{font-size:32px;color:var(--green-800)}.monitoring-total span,.monitoring-total small{color:var(--muted)}.monitoring-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.gi-progress-card{margin:0;gap:16px;min-width:0}.gi-progress-head{display:flex;align-items:start;justify-content:space-between;gap:12px}.gi-progress-head h4{margin:4px 0;font-size:18px;overflow-wrap:anywhere}.gi-progress-head>strong{font-size:25px;color:var(--green-800)}.gi-progress-line{display:grid;grid-template-columns:1fr auto;gap:9px;padding-top:10px;border-top:1px solid var(--line)}.gi-progress-line>span{font-size:12px;color:var(--muted)}.gi-progress-line progress{width:100%;height:12px;grid-column:1/-1;accent-color:#075ed5}.gi-progress-actions{grid-column:1/-1;display:flex;gap:8px;flex-wrap:wrap}.gi-progress-actions .button{flex:1;min-height:38px}.entry-filter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;padding:0;border:0;min-width:0}.entry-filter-grid .field{min-width:0}.entry-result-card{margin:0}.entry-result-card summary{cursor:pointer;font-weight:700;color:var(--green-800);padding:12px 0}.entry-result-card .status{white-space:nowrap}.entry-pagination{display:flex;align-items:center;justify-content:center;gap:16px;margin:24px 0}.entry-pagination span{font-size:12px}.entry-photos{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:16px}.entry-photos a{display:grid;gap:6px;min-width:0;font-size:12px;color:var(--ink);text-decoration:none}.entry-photos img{width:100%;height:160px;object-fit:contain;border-radius:12px;border:1px solid var(--line);background:#f4f7fc}.entry-photos>p{grid-column:1/-1}.entry-result-card p{overflow-wrap:anywhere}.entry-result-card details{min-width:0}.entry-results-button:disabled{opacity:.5}
  @media(max-width:1100px){.monitoring-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.entry-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
  @media(max-width:720px){.view-filter-grid{grid-template-columns:1fr}.monitoring-totals{gap:8px}.monitoring-total{padding:12px;border-radius:13px}.monitoring-total strong{font-size:25px}.monitoring-total small,.monitoring-total span{font-size:11px}.monitoring-grid{grid-template-columns:1fr}.entry-filter-grid{grid-template-columns:1fr}.entry-photos{grid-template-columns:repeat(2,minmax(0,1fr))}.entry-pagination{gap:8px}.entry-pagination .button{padding:10px}.entry-result-card .gi-progress-head{flex-wrap:wrap}}
  /* Keep the original dashboard reachable as the number of standalone modules grows. */
  .topbar{grid-template-columns:minmax(0,1fr) auto;gap:10px 18px}.topbar-brand{grid-column:1;grid-row:1;justify-self:start;border:0;background:transparent;padding:0;text-align:left}.topbar-brand:focus-visible{outline:3px solid #075ed5;outline-offset:5px;border-radius:8px}.profile-chip{grid-column:2;grid-row:1}.top-nav{grid-column:1/-1;grid-row:2;justify-self:stretch;min-width:0;width:100%;max-width:100%;justify-content:flex-start;flex-wrap:wrap;overflow:visible;gap:6px;padding-top:10px;border-top:1px solid var(--line)}.top-nav .nav-item{flex:0 0 auto;padding:11px 15px}
  @media(max-width:720px){.top-nav{flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;gap:8px}.top-nav .nav-item{padding:10px 12px}.top-nav .nav-item[data-menu="DASHBOARD"]{position:sticky;left:0;z-index:2;background:#fff;box-shadow:5px 0 8px -5px rgba(16,38,77,.25)}.top-nav .nav-item[data-menu="DASHBOARD"].active{background:var(--mint)}.topbar{gap:10px 12px}}
  .monitoring-totals{grid-template-columns:repeat(4,minmax(0,1fr))}.pct-monitor-panel{margin:22px 0 26px}.pct-monitor-panel>.muted{font-size:13px;line-height:1.6}.pct-monitor-panel .monitoring-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  @media(max-width:980px){.monitoring-totals{grid-template-columns:repeat(2,minmax(0,1fr))}}
  @media(max-width:720px){.monitoring-total{padding:16px}.monitoring-total small,.monitoring-total span{font-size:12px}.pct-monitor-panel .monitoring-grid{grid-template-columns:1fr}}
  .meter-edit-panel{margin-top:24px}.meter-edit-panel>p{font-size:13px;line-height:1.6}.meter-edit-panel .section-heading{align-items:flex-start;gap:12px}.meter-edit-panel .check-row{align-items:flex-start;font-size:13px;line-height:1.6}.meter-edit-panel .check-row input{flex:0 0 auto;margin-top:4px}.meter-edit-panel button:disabled{opacity:.55;cursor:not-allowed}
  @media(max-width:720px){.meter-edit-panel .section-heading{flex-direction:column}.meter-edit-panel>.button{width:100%}}
  .entry-photo-button{display:grid;gap:6px;min-width:0;width:100%;border:0;padding:0;background:transparent;color:var(--ink);text-align:left;font-size:12px}.entry-photo-button:focus-visible{outline:3px solid #075ed5;outline-offset:4px;border-radius:12px}.entry-photo-button:hover img{border-color:#075ed5}.photo-viewer{width:min(1000px,94vw);max-width:94vw;max-height:94vh;max-height:94dvh;overflow:auto;margin:auto;border:1px solid var(--line);border-radius:18px;padding:16px;color:var(--ink);background:#fff;box-shadow:0 24px 80px rgba(0,0,0,.35)}.photo-viewer::backdrop{background:rgba(4,15,36,.82)}.photo-viewer-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}.photo-viewer-head>div{min-width:0}.photo-viewer-head h3{font-size:17px;overflow-wrap:anywhere;margin:0 0 5px}.photo-viewer-head p{font-size:12px;color:var(--muted);margin:0}.photo-viewer-head>button{flex:0 0 auto;min-height:42px}.photo-viewer-stage{height:min(65vh,620px);height:min(65dvh,620px);width:100%;overflow:auto;overscroll-behavior:contain;background:#0b1220;border-radius:12px}.photo-viewer-stage img{display:block;max-width:none;max-height:none;margin:0 auto;object-fit:contain}.photo-viewer-stage img[hidden]{display:none}.photo-viewer-status{font-size:13px;color:var(--muted);margin:8px 0;min-height:18px}.photo-viewer-controls{display:grid;grid-template-columns:auto minmax(90px,1fr) auto;gap:16px;align-items:center}.photo-viewer-controls button{min-height:44px}.photo-viewer-controls button:disabled{opacity:.45;cursor:not-allowed}.photo-viewer-zoom{display:grid;gap:4px;max-width:260px;width:100%;justify-self:center;font-size:12px}.photo-viewer-zoom input{width:100%;accent-color:#075ed5}
  @media(max-width:720px){.photo-viewer{padding:12px;border-radius:14px;max-width:96vw;width:96vw}.photo-viewer-stage{height:58vh;height:58dvh}.photo-viewer-head h3{font-size:15px}.photo-viewer-controls{gap:8px;grid-template-columns:1fr 1fr}.photo-viewer-zoom{grid-column:1/-1;grid-row:2;max-width:none}.photo-viewer-controls button{font-size:12px}}
  .correction-editor{margin:24px 0;scroll-margin-top:170px}.correction-editor>.muted{font-size:13px;line-height:1.6}.correction-editor .section-heading{gap:12px;align-items:start}.correction-result{display:flex;align-items:center;justify-content:space-between;gap:16px}.correction-result h4{margin:0 0 8px}.correction-result p{font-size:13px}.correction-result>div{min-width:0;overflow-wrap:anywhere}.correction-result>button{flex:0 0 auto}.correction-audit{display:grid;gap:10px}.correction-audit article{padding:12px;background:var(--mint-2);border:1px solid var(--line);border-radius:12px;font-size:12px}.correction-audit article p{margin:7px 0 0}.correction-editor .check-row{align-items:flex-start;font-size:13px;line-height:1.6}.correction-editor .check-row input{flex:0 0 auto;margin-top:4px}
  @media(max-width:720px){.correction-result{align-items:stretch;flex-direction:column}.correction-result>button{width:100%}.correction-editor>.button{width:100%}}
  .entry-correction-marker{display:grid;justify-items:start;gap:7px;margin:0 0 4px;min-width:0}.entry-correction-badge{display:inline-block;max-width:100%;padding:6px 10px;border:1px solid #f2d18d;border-radius:9px;background:#fff5dc;color:#855408;font-size:12px;font-weight:800;overflow-wrap:anywhere}.entry-correction-marker p{margin:0;color:#785d2e;font-size:12px;line-height:1.6;overflow-wrap:anywhere}.entry-correction-reason{padding:10px 12px;background:#fff9ec;border-left:3px solid #e3ad43;border-radius:8px;font-size:13px;line-height:1.6;white-space:pre-wrap}
  .account-chevron{margin-left:auto;color:var(--muted);font-size:21px;line-height:1;flex-shrink:0}.account-dialog{width:min(440px,calc(100% - 28px));max-height:90dvh;margin:auto;padding:22px;border:1px solid var(--line);border-radius:18px;color:var(--ink);background:#fff}.account-dialog::backdrop{background:#0b1d3aa8}.account-dialog-head,.account-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}.account-dialog-head h3{margin:0}.account-dialog .muted{margin:12px 0 18px;line-height:1.5;overflow-wrap:anywhere}.account-dialog fieldset{display:grid;gap:14px;border:0;padding:0;margin:0;min-width:0}.account-actions .button{flex:1}.account-password-status{margin:12px 0 0;color:#963c16;font-size:13px;line-height:1.45}.account-password-status:empty{display:none}