.operator-form{display:grid;gap:14px;margin:28px 0 10px}
.operator-form label{display:grid;gap:7px;font-size:13px;font-weight:750}
.operator-form input{background:white;border:1px solid #c7d9cb;border-radius:12px;padding:13px;min-height:47px;font-size:16px;color:var(--ink);width:100%}
.operator-form button{border:0;width:100%;font-size:14px;font-weight:750}
.operator-form #operatorLoginError{color:#a33338;min-height:19px;font-size:12px;margin:0}
.access .help-note{font-size:12px;max-width:450px;line-height:1.5}
.access .help-note a{color:#155d43;font-weight:750}
:root{--deep:#0d3b2b;--green:#197b52;--ink:#183629;--muted:#718378;--line:#e2eae3;--bg:#f5f7f4}*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;background:var(--bg);color:var(--ink)}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.6;cursor:default}button:focus-visible,a:focus-visible{outline:3px solid #4fbb80;outline-offset:2px}.app{max-width:900px;min-height:100dvh;background:#fff;margin:auto}
.top{padding:calc(env(safe-area-inset-top) + 16px) 20px 18px;background:var(--deep);color:#fff;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;gap:12px;align-items:center}.brand img{width:44px;height:44px;border-radius:13px}.brand small{display:block;font-size:10px;letter-spacing:.14em;font-weight:800;color:#b3d3bd}.brand strong{display:block;font-size:16px;margin-top:4px}.top button{background:#ffffff1a;border:1px solid #ffffff38;color:white;border-radius:13px;width:43px;height:43px;font-size:28px}
.hero{background:var(--deep);color:#fff;border-radius:0 0 23px 23px;padding:9px 21px 26px}.hero-meta{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#b9d6c2}.hero-meta #connection{background:#ffffff22;border-radius:40px;padding:6px 9px}.hero h1{font-size:27px;line-height:1.12;letter-spacing:-.7px;margin:22px 0 10px;max-width:350px}.hero p{font-size:13px;color:#c3dfcb;margin:0 0 23px}.counters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.counter{position:relative;display:block;width:100%;min-height:86px;appearance:none;font:inherit;color:white;cursor:pointer;border:1px solid #ffffff38;border-radius:14px;background:#ffffff16;padding:13px 7px;text-align:center;transition:background .15s,border-color .15s,transform .15s}.counter strong{font-size:29px;display:block;font-variant-numeric:tabular-nums}.counter span{font-size:11px;color:#c9e3d1}.counter .counter-arrow{position:absolute;right:10px;top:8px;color:#d3e7da;font-size:18px;line-height:1}.counter:hover{background:#ffffff29;border-color:#ffffff80}.counter:active{transform:scale(.98)}.counter.selected{background:#ffffff30;border-color:#d7f1df;box-shadow:inset 0 0 0 1px #d7f1df55}.counter:focus-visible{outline:3px solid #aaf6c4;outline-offset:3px}@media(prefers-reduced-motion:reduce){.counter{transition:none}}
.push-panel{margin:16px 16px 0;border:1px solid #e0e8dc;background:#f0f6ee;border-radius:16px;padding:14px;display:flex;align-items:center;gap:9px}.push-panel>div{flex:1;min-width:0}.push-panel strong{display:block;font-size:13px}.push-panel small{display:block;font-size:11px;color:var(--muted);margin-top:5px;line-height:1.3}.push-panel button{border:0;border-radius:10px;background:var(--green);color:white;font-size:12px;font-weight:750;padding:11px 13px;min-height:39px}.push-panel button#testPush{background:#fff;color:var(--deep);border:1px solid var(--green)}
.inbox-section{padding:23px 16px 90px}.section-head{display:flex;justify-content:space-between;align-items:center;gap:8px}.section-head h2{font-size:20px;margin:0}.section-head small{display:block;color:var(--muted);font-size:11px;margin-top:5px}.section-head button{border:0;background:none;color:var(--green);font-size:12px;font-weight:750}.tabs{display:flex;gap:8px;overflow:auto;scrollbar-width:none;padding:20px 0}.tabs button{border:1px solid var(--line);background:white;color:#587160;border-radius:35px;font-weight:700;padding:10px 13px;white-space:nowrap;font-size:12px}.tabs button.selected{background:var(--deep);color:white;border-color:var(--deep)}.items{display:grid;gap:11px}.item{display:grid;grid-template-columns:44px 1fr 15px;gap:12px;text-align:left;width:100%;align-items:start;border:1px solid var(--line);background:white;border-radius:17px;padding:15px 12px;box-shadow:0 3px 13px #16392308;color:var(--ink)}.item-icon{display:grid;place-items:center;background:#e7f2e9;color:#197b52;border-radius:13px;width:44px;height:44px;font-weight:900}.item-icon.courier{background:#fff3e2;color:#9a6b19}.item-icon.citizen{background:#eaf1fd;color:#416398}.item strong{font-size:14px;line-height:1.2}.item p{font-size:12px;color:var(--muted);margin:7px 0 5px;line-height:1.4}.item small{color:#879789;font-size:10px}.item .arrow{font-size:24px;color:#adbfb0}.pill{display:inline-block;border-radius:20px;padding:3px 7px;background:#fff1dc;color:#91631b;font-size:10px;font-weight:750;margin-left:4px}.pill.unread{background:#e3efff;color:#416398}.empty{text-align:center;padding:43px 17px;border:1px dashed #c9d6cb;border-radius:18px;color:var(--muted);font-size:14px}.empty strong{display:block;color:var(--deep);margin-bottom:7px}
.bottom,nav#bottom{display:flex;justify-content:space-around;position:fixed;bottom:0;left:0;right:0;max-width:900px;margin:auto;background:white;border-top:1px solid var(--line);padding:11px 7px calc(11px + env(safe-area-inset-bottom));z-index:20;box-shadow:0 -5px 19px #1639230b}.bottom button,nav#bottom button{border:0;background:none;color:#798c7d;font-size:11px;font-weight:750;padding:6px 8px}.bottom button.selected,nav#bottom button.selected{color:var(--green)}
.access{padding:48px 22px}.access small{color:var(--green);font-weight:800;letter-spacing:.1em}.access h1{font-size:31px;line-height:1.15;max-width:360px}.access p{color:var(--muted);font-size:14px;line-height:1.55;margin-bottom:28px}.primary,.action{display:inline-flex;align-items:center;justify-content:center;min-height:43px;padding:12px 15px;border-radius:12px;color:white;background:var(--green);border:0;text-decoration:none;font-size:13px;font-weight:750}.secondary{background:#eef5ef;color:var(--deep)}.danger{background:#a33338}.w100{width:100%}
#detail{border:0;border-radius:22px;padding:0;width:min(94vw,560px);max-height:88dvh;overflow:auto;box-shadow:0 19px 80px #0005;color:var(--ink)}#detail::backdrop{background:#11241bc4}.detail-content{padding:20px}.detail-head{display:flex;align-items:start;justify-content:space-between;gap:8px}.detail-head h2{font-size:20px;line-height:1.25;margin:0}.detail-head button{border:0;background:#ecf3ed;border-radius:11px;width:38px;height:38px;font-size:20px}.detail-sub{font-size:12px;line-height:1.5;color:var(--muted);margin:10px 0 22px}.detail-section{border-top:1px solid var(--line);padding:16px 0}.detail-section h3{font-size:14px;margin:0 0 11px}.detail-section p{font-size:13px;line-height:1.55;overflow-wrap:anywhere}.detail-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:13px}.detail-actions>*{flex:1 1 auto}.detail-section label{display:grid;gap:6px;font-size:12px;font-weight:750}.detail-section select,.detail-section textarea{border:1px solid #c7d5ca;border-radius:12px;width:100%;padding:12px;color:var(--ink);background:white}.detail-section textarea{min-height:105px;resize:vertical}.thread{display:grid;gap:9px;max-height:300px;overflow:auto}.message{padding:11px 13px;border-radius:12px;background:#f0f5f1;font-size:13px;overflow-wrap:anywhere;white-space:pre-wrap}.message.master{margin-left:18px;background:#dbeddf}.message small{display:block;font-size:10px;color:var(--muted);margin-top:7px}.doc-button{display:block;width:100%;text-align:left;border:1px solid var(--line);padding:11px;border-radius:9px;background:white;margin:7px 0}.doc-preview{max-width:100%;max-height:300px;object-fit:contain}#toast{position:fixed;bottom:85px;left:50%;transform:translateX(-50%);background:var(--deep);color:white;border-radius:12px;padding:12px 16px;max-width:90vw;font-size:13px;z-index:200;visibility:hidden}#toast.show{visibility:visible}
[hidden]{display:none!important}@media(min-width:680px){.hero{padding-left:30px;padding-right:30px}.inbox-section{padding:28px 30px}.items{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Private Lupe inbox entry: independent of citizen support/PQR. */
.lupe-mobile-entry{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff;border:1px solid #d7e4dc;border-radius:15px;padding:14px;margin:12px 0}
.lupe-mobile-entry div{display:grid;gap:5px;min-width:0}.lupe-mobile-entry strong{font-size:15px;color:#123d2a}.lupe-mobile-entry small{color:#60766c;font-size:12px;line-height:1.4}
.lupe-mobile-entry a{padding:10px 14px;background:#0d6b43;color:#fff;border-radius:10px;text-decoration:none;white-space:nowrap;font-size:13px;font-weight:700;flex-shrink:0}
@media(max-width:420px){.lupe-mobile-entry{padding:11px;gap:8px}.lupe-mobile-entry a{padding:10px}}
