:root{color-scheme:light;--ink:#13283e;--blue:#205b94;--muted:#54697d;--line:#d9e3ec;--red:#a5353e;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:#edf2f7;background:radial-gradient(ellipse at 10% 10%,#e3edf8,transparent 65%),#f4f7fa;color:var(--ink)}[hidden]{display:none!important}.auth-shell{min-height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:24px 16px}.auth-card,.panel{background:#fff;border:1px solid var(--line);border-radius:18px;padding:32px;box-shadow:0 12px 38px #14335310}.auth-card{width:min(100%,480px)}.brand{display:flex;align-items:center;gap:14px;margin-bottom:28px}.brand img{width:108px;height:58px;object-fit:contain}.brand b{font-size:16px;letter-spacing:1.5px;display:block}.brand small{font-size:10px;font-weight:700;color:var(--muted);display:block;margin-top:4px;letter-spacing:.4px}.kicker{font-size:12px;font-weight:800;letter-spacing:1.3px;color:var(--blue)}h1{font-size:clamp(25px,4.6vw,36px);letter-spacing:-.8px;line-height:1.12;margin:10px 0 12px}h2{font-size:21px;margin:0 0 8px}h3{margin:0 0 10px}p{color:var(--muted);font-size:15px;line-height:1.55;margin:8px 0 16px}form{display:grid;gap:14px;margin-top:23px}label{font-size:14px;font-weight:700;display:grid;gap:7px}input,select{font:inherit;font-size:16px;min-height:46px;padding:11px;border:1px solid #b8c7d5;border-radius:9px;min-width:0;width:100%;background:#fff;color:var(--ink)}input[readonly]{font-family:monospace;font-size:13px;background:#f5f8fb}button,.button{font-family:inherit;font-size:15px;font-weight:700;min-height:46px;padding:12px 17px;border:1px solid #205b94;background:#205b94;color:#fff;border-radius:9px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;text-align:center}button:disabled{opacity:.6;cursor:wait}.auth-card button,.auth-card .button{width:100%;margin-top:8px}.secondary{background:#fff;color:var(--blue);border-color:#becddd}.monitor-link{color:var(--blue);font-weight:650;display:block;text-align:center;padding:12px 4px;font-size:14px}.status{font-size:14px;color:var(--red);min-height:20px;overflow-wrap:anywhere}.status:empty{display:none}.small{font-size:13px}.auth-card footer,footer{text-align:center;margin-top:25px;font-size:12px;color:#60758a}.admin-shell{max-width:1150px;margin:auto;padding:23px}.admin-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:30px}.admin-header .brand{margin:0}.admin-header nav{display:flex;gap:8px;flex-wrap:wrap}.admin-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:20px}.admin-heading h1{margin:6px 0}.admin-heading p{margin:6px 0}.admin-heading span{font-size:14px;color:var(--muted)}.admin-layout{display:grid;grid-template-columns:minmax(270px,1fr) minmax(360px,1.5fr);gap:18px;align-items:start}.panel{padding:23px}.panel-title{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}.users-list{display:grid;gap:10px;margin-top:10px}.user-row{padding:14px;border:1px solid var(--line);border-radius:12px}.user-row p{margin:3px 0;font-size:13px;overflow-wrap:anywhere}.user-row .user-name{font-weight:800;font-size:16px;overflow-wrap:anywhere}.user-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.user-actions button{padding:8px 12px;min-height:38px;font-size:13px}.user-row .badge{display:inline-block;font-size:12px;font-weight:700;color:#286440;background:#e1f5e8;padding:4px 8px;border-radius:20px;margin:5px 0}.user-row .inactive{background:#f9e7e6;color:#a5353e}.new-access{margin-top:22px;background:#f0f7fd;border:1px solid #c8deef;border-radius:12px;padding:16px}.new-access button{width:100%;margin:8px 0 0}.new-access p{margin:7px 0}.new-access label{margin-top:10px}.danger{color:var(--red);border-color:#e4bdbe;background:#fff}.auth-card input:focus,.admin-shell input:focus,.admin-shell select:focus{outline:2px solid #78abe2;outline-offset:2px}@media(max-width:760px){.admin-layout{grid-template-columns:1fr}.admin-header{align-items:flex-start;flex-wrap:wrap}.admin-header .brand img{width:83px}.admin-heading{display:block}.admin-shell{padding:16px}.auth-card,.panel{padding:23px}.brand img{width:90px}.admin-header button,.admin-header .button{font-size:13px;min-height:42px}.admin-header nav{width:100%}.admin-header nav>*{flex:1}}

textarea[readonly]{width:100%;font:14px/1.55 ui-monospace,monospace;color:var(--ink);background:#f5f8fb;padding:10px;border:1px solid #b8c7d5;border-radius:9px;overflow-wrap:anywhere;resize:vertical;user-select:text;-webkit-user-select:text}.auth-card label{margin-top:10px}
