.admin-workspace{min-width:0}
.admin-panel{min-width:0}
.admin-heading{align-items:flex-end;gap:18px}
.admin-heading-actions{display:flex;align-items:center;gap:9px;flex:0 0 auto}
.admin-user-count{padding:10px 13px;border:1px solid var(--theme-line);border-radius:8px;background:var(--theme-alt);color:var(--theme-muted);font-size:10px;white-space:nowrap}
.admin-user-count b{color:var(--theme-ink)}
.admin-clear-filters{height:34px;padding:0 10px;font-size:9px;white-space:nowrap}
.admin-secondary-filters{display:grid;grid-template-columns:minmax(300px,1.4fr) repeat(2,minmax(170px,.7fr));align-items:end;gap:10px;margin:16px 0;padding:13px;border:1px solid var(--theme-line);border-radius:9px;background:var(--theme-alt)}
.admin-secondary-filters label{display:grid;gap:5px;color:var(--theme-muted);font-size:9px;font-weight:700}
.admin-secondary-filters input,.admin-secondary-filters select{width:100%;min-width:0;height:32px;padding:0 8px;border:1px solid var(--theme-line);border-radius:6px;background:var(--theme-surface);color:var(--theme-text);font-family:inherit;font-size:9px;font-weight:400}
.admin-date-range>span{display:flex;align-items:center;gap:7px}
.admin-date-range i{color:var(--theme-muted);font-style:normal}
.admin-table-wrap{width:100%;overflow:auto;border:1px solid var(--theme-line);border-radius:9px;background:var(--theme-surface)}
.admin-table{width:100%;min-width:1320px;border-collapse:collapse;font-size:10px}
.admin-table th,.admin-table td{padding:9px 10px;border-bottom:1px solid var(--theme-line);text-align:left;vertical-align:middle}
.admin-table th{position:sticky;top:0;z-index:2;min-width:112px;background:var(--theme-alt);color:var(--theme-muted);font-size:8px;letter-spacing:.35px;vertical-align:top}
.admin-table th>span{display:block;margin-bottom:6px;white-space:nowrap}
.admin-table th input,.admin-table th select{display:block;width:100%;min-width:92px;height:31px;padding:0 7px;border:1px solid var(--theme-line);border-radius:6px;background:var(--theme-surface);color:var(--theme-text);font-family:inherit;font-size:9px;font-weight:400;line-height:1.2;letter-spacing:normal}
.admin-table th input::placeholder{color:var(--theme-muted);opacity:.8}
.admin-table th input:focus,.admin-table th select:focus{outline:2px solid var(--theme-accent);outline-offset:1px}
.admin-table td:last-child{width:125px}
.admin-row-action{width:112px;height:30px;padding:0 6px;border:1px solid var(--theme-line);border-radius:6px;background:var(--theme-surface);color:var(--theme-text);font-size:9px}
.admin-table td{color:var(--theme-text)}
.admin-table tbody tr:last-child td{border-bottom:0}
.admin-table tbody tr:hover{background:var(--theme-alt)}
.admin-table a{color:var(--theme-accent);text-decoration:none}
.admin-table a:hover{text-decoration:underline}
.admin-id{max-width:125px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-family:monospace}
.admin-role,.admin-confirmation{display:inline-flex;padding:4px 7px;border-radius:20px;background:var(--theme-alt);color:var(--theme-muted);font-size:8px;white-space:nowrap}
.admin-role-admin{background:var(--theme-accent-soft);color:var(--theme-accent)}
.admin-confirmation.is-confirmed{background:#e8f3e9;color:#3a8050}
.theme-expedition .admin-confirmation.is-confirmed,.theme-night-ops .admin-confirmation.is-confirmed{background:#193b31;color:#83d7a3}
.admin-no-results{padding:25px!important;text-align:center!important;color:var(--theme-muted)!important}
.admin-state{padding:28px 14px;text-align:center;color:var(--theme-muted);font-size:11px}
.admin-privacy-note{margin:12px 0 0;color:var(--theme-muted);font-size:9px}
.admin-success{margin:0 0 12px;padding:10px 12px;border:1px solid var(--theme-line);border-radius:7px;background:var(--theme-accent-soft);color:var(--theme-ink);font-size:10px}
.admin-password-modal{background:var(--theme-surface);color:var(--theme-ink)}
.admin-password-modal h2{color:var(--theme-ink)}
.admin-password-modal>p,.admin-password-hint{color:var(--theme-muted)}
.admin-password-modal>p b{color:var(--theme-ink)}
.admin-password-modal label{color:var(--theme-text)}
.admin-password-modal input{background:var(--theme-alt);color:var(--theme-ink);border-color:var(--theme-line)}
.admin-password-mismatch{margin:-5px 0 10px;color:#c04c36;font-size:9px}
.admin-password-error{position:static;margin:0 0 12px;box-shadow:none}
.admin-password-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:16px}
.admin-audit-modal{width:min(1200px,100%);max-height:min(90vh,900px);overflow:auto;background:var(--theme-surface);color:var(--theme-ink)}
.admin-audit-modal h2{color:var(--theme-ink)}
.admin-audit-subtitle,.admin-audit-subtitle b{color:var(--theme-muted)}
.admin-audit-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0;color:var(--theme-muted);font-size:10px}
.admin-audit-toolbar b{color:var(--theme-ink)}
.admin-audit-table-wrap{max-height:58vh;overflow:auto;border:1px solid var(--theme-line);border-radius:8px;background:var(--theme-surface)}
.admin-audit-table{min-width:1000px;font-size:10px}
.admin-audit-table th{position:sticky;top:0;z-index:3}
.admin-audit-table th input,.admin-audit-table th select{min-width:105px;background:var(--theme-surface);color:var(--theme-text);border-color:var(--theme-line)}
.admin-audit-table th:first-child{min-width:185px}
.admin-audit-table th:nth-child(2){min-width:230px}
.admin-audit-table th:nth-child(4){min-width:270px}
.admin-audit-path{max-width:380px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-family:monospace;font-size:9px}
.admin-method,.admin-status{display:inline-flex;padding:4px 7px;border-radius:20px;background:var(--theme-alt);color:var(--theme-muted);font-size:8px;font-weight:700;white-space:nowrap}
.admin-status.is-success{background:#e8f3e9;color:#3a8050}
.admin-status.is-error{background:#fae8e5;color:#aa4032}
.theme-expedition .admin-status.is-success,.theme-night-ops .admin-status.is-success{background:#193b31;color:#83d7a3}
.theme-expedition .admin-status.is-error,.theme-night-ops .admin-status.is-error{background:#482a27;color:#ff9a86}
.admin-delete-modal{width:min(560px,100%);max-height:90vh;overflow:auto;background:var(--theme-surface);color:var(--theme-ink)}
.admin-delete-modal h2{color:var(--theme-ink)}
.admin-delete-modal>p{color:var(--theme-text)}
.admin-delete-effects{margin:12px 0;padding:12px 14px;border:1px solid var(--theme-line);border-radius:8px;background:var(--theme-alt);color:var(--theme-text);font-size:10px;line-height:1.55}
.admin-delete-effects>b{color:var(--theme-ink)}
.admin-delete-effects ul{margin:7px 0;padding-left:18px}
.admin-delete-effects li{margin:4px 0}
.admin-delete-effects>span{display:block;color:var(--theme-muted)}
.admin-delete-error{position:static;margin:10px 0;box-shadow:none}
.admin-delete-confirm{background:#a83c31;border-color:#a83c31;color:#fff}
.admin-delete-confirm:hover:not(:disabled){background:#872d25;border-color:#872d25}
.admin-heading-actions{flex-wrap:wrap}
.admin-create-user{height:34px;padding:0 12px;font-size:9px;white-space:nowrap}
.admin-create-modal{width:min(700px,100%);max-height:90vh;overflow:auto;background:var(--theme-surface);color:var(--theme-ink)}
.admin-create-modal h2{color:var(--theme-ink)}
.admin-create-modal>p{color:var(--theme-muted)}
.admin-create-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px}
.admin-create-fields label{display:grid;gap:6px;margin-bottom:12px;color:var(--theme-text);font-size:9px;font-weight:600}
.admin-create-fields input,.admin-create-fields select{width:100%;height:36px;border:1px solid var(--theme-line);border-radius:6px;padding:0 9px;background:var(--theme-alt);color:var(--theme-ink);font:inherit;font-size:10px}
.admin-create-fields input:focus,.admin-create-fields select:focus{outline:2px solid var(--theme-accent);outline-offset:1px}
.admin-create-modal .validation-message,.admin-create-modal .validation-errors{color:#b84b3d;font-size:9px}
.admin-create-hint{display:block;margin:7px 0;color:var(--theme-muted);font-size:9px}
.admin-create-error{position:static;margin:10px 0;box-shadow:none}
@media(max-width:700px){.admin-heading{align-items:flex-start;flex-direction:column}.admin-heading-actions{width:100%;flex-wrap:wrap}.admin-user-count{align-self:flex-start}.admin-secondary-filters{grid-template-columns:1fr}.admin-date-range>span{max-width:380px}.admin-create-fields{grid-template-columns:1fr}.admin-create-fields>span{display:none}}
