body.authLocked > header,body.authLocked > nav,body.authLocked > main,body.authLocked > dialog,body.authLocked > .toast { display:none!important; }
.authGate { position:fixed; inset:0; z-index:1000; display:grid; place-items:center; padding:22px; overflow:auto; background:linear-gradient(145deg,#153825,#244f38); }
.authGate[hidden] { display:none; }
.authCard { width:min(620px,96vw); padding:28px; border-radius:18px; background:#f8faf7; box-shadow:0 24px 70px #07150d66; }
.authCard h1 { margin:5px 0 8px; color:#193e2d; font-size:30px; }
.authCard > p { margin:0 0 22px; color:#647169; line-height:1.5; }
.authEyebrow { color:#52705d; font-size:11px; font-weight:800; letter-spacing:.13em; text-transform:uppercase; }
.authCard form > label,.setupUsers label { display:block; margin-bottom:13px; color:#284735; font-size:13px; font-weight:700; }
.authCard input,.authCard select { display:block; width:100%; margin-top:6px; }
.authCard form > button { width:100%; border:0; border-radius:10px; padding:13px 17px; background:#1f5138; color:white; font-weight:800; }
.setupUsers { display:grid; grid-template-columns:1fr 1fr; gap:13px; }
.setupUsers label { margin:0; padding:13px; border:1px solid var(--line); border-radius:11px; background:white; }
.setupUsers input + input { margin-top:8px; }
.headerSearch { position:relative; min-width:260px; width:100%; max-width:620px; margin:0 auto; }
.headerSearch label { display:block; margin-bottom:5px; color:#c8d7cd; font-size:11px; font-weight:700; letter-spacing:.04em; }
.headerSearch input { width:100%; border-color:#6e8b79; background:#fff; color:#17211b; box-shadow:0 4px 14px #081a1033; }
.globalSearchResults { position:absolute; z-index:50; top:calc(100% + 7px); left:0; right:0; max-height:min(62vh,520px); overflow:auto; border:1px solid #cad5cc; border-radius:12px; background:white; color:#17211b; box-shadow:0 16px 38px #07150d4d; }
.globalSearchResults button { width:100%; border:0; border-bottom:1px solid #edf1ed; border-radius:0; padding:12px 14px; background:white; color:inherit; text-align:left; }
.globalSearchResults button:hover,.globalSearchResults button:focus { background:#eef4eb; outline:none; }
.globalSearchResults button:last-child { border-bottom:0; }
.globalSearchResultTop { display:flex; justify-content:space-between; gap:10px; align-items:center; }
.globalSearchResultTop b { color:#214a34; }
.globalSearchResultTop span { border-radius:999px; padding:4px 8px; background:#e4ead8; color:#4a5e50; font-size:10px; font-weight:800; }
.globalSearchResults small { display:block; margin-top:4px; color:#6b766f; }
.globalSearchEmpty { padding:18px; color:#6b766f; text-align:center; }
.currentUserName { padding:7px 10px; border:1px solid #6e8b79; border-radius:999px; color:#dfeeb8; font-size:12px; font-weight:800; white-space:nowrap; }
@media(max-width:1100px) { .headerSearch { width:100%; max-width:none; margin:0; } }
@media(max-width:700px) { .setupUsers { grid-template-columns:1fr; } .authCard { padding:21px; } .headerSearch { min-width:0; } }
