.login{padding:36px}.login p{margin:20px 0}.live-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:12px 0 24px}.live-head h1{font-size:30px}.live-head p,.muted{color:var(--muted)}.actions{display:flex;gap:10px;flex-wrap:wrap}.live-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:18px}.live-card{padding:22px;border:1px solid var(--border);background:var(--panel,#122131);border-radius:14px;min-width:0;container-type:inline-size}.live-card h2{font-size:17px;margin-bottom:14px}.live-card strong.value{display:block;font-size:32px;color:#a1f6d6;margin:12px 0}.live-card p{line-height:1.6}.live-table{overflow:auto;border:1px solid var(--border);border-radius:12px}.live-table table{width:100%;border-collapse:collapse}.live-table td,.live-table th{padding:15px;text-align:left;border-bottom:1px solid var(--border)}.live-table th{color:var(--muted);font-size:11px}.live-table td{font-size:13px}.live-table a{color:#8ff0d0}.live-table small{display:block;color:var(--muted);margin-top:5px}.live-filter{display:flex;gap:12px;margin:18px 0}.live-filter input{flex:1;min-width:0;background:#0b1926;color:white;border:1px solid var(--border);border-radius:9px;padding:12px}.live-filter select,select{background:#102130;color:#e4edf5;border:1px solid #345065;border-radius:8px;padding:9px}.live-pager{display:flex;align-items:center;gap:15px;margin:18px 0}.detail-list{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:12px;margin:16px 0;overflow-wrap:anywhere}.detail-list dt{color:var(--muted);min-width:0}.detail-list dd{margin:0;min-width:0}.detail-list dd:last-child{margin-bottom:0}@container(max-width:260px){.detail-list{grid-template-columns:minmax(0,1fr);gap:4px}.detail-list dd{margin-bottom:12px}}.live-chart{width:100%;height:160px;display:block;background:#0a1825;border-radius:8px;margin:16px 0}.chart-line{fill:none;stroke:#6fe3bf;stroke-width:2}.status-pill{display:inline-block;padding:4px 9px;border:1px solid #385569;border-radius:5px;font-size:11px}.status-pill.online,.status-pill.active,.status-pill.ready{color:#86efce;border-color:#3c816b}.status-pill.offline,.status-pill.stale,.status-pill.reset_pending{color:#f2cf70;border-color:#806631}#error{margin:20px 28px;padding:16px;background:#542b2b;border-radius:9px}#edit-error{color:#ffb2a7;white-space:pre-wrap}#editor{max-height:90vh;overflow:auto;width:min(850px,94vw)}#edit-fields label{min-width:0}#edit-fields input,#edit-fields textarea{width:100%}.help{font-size:12px;color:var(--muted);line-height:1.6;margin:16px 0}details{margin:12px 0}pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px;max-height:350px;overflow:auto}.live-card svg{max-width:100%}button,a{touch-action:manipulation}@media(max-width:680px){.live-head{align-items:flex-start;flex-direction:column}.live-head h1{font-size:24px}.live-grid{grid-template-columns:1fr}.detail-list{grid-template-columns:1fr;gap:7px}.live-filter{flex-wrap:wrap}.live-filter input{flex-basis:100%}.live-table td,.live-table th{padding:11px}.live-table{max-width:100%}.topbar{flex-wrap:wrap;height:auto;gap:12px;padding:15px}.live-pager{flex-wrap:wrap}#content{min-width:0}.shell{min-width:0}}

.activation-page{display:grid;place-items:center;min-height:100vh;padding:24px}.activation-card{width:min(100%,520px)}.activation-card h1{font-size:24px}.activation-card form{display:grid;gap:16px;margin-top:24px}.activation-card input{display:block;width:100%;padding:12px;background:#0a1825;border:1px solid var(--border);border-radius:8px;color:inherit}.picker-results{display:grid;gap:10px}.activation-link{width:100%;min-height:100px;overflow-wrap:anywhere}

.picker-results>div{min-width:0}.picker-results button{max-width:100%;white-space:normal;overflow-wrap:anywhere}#edit-fields>dl{grid-column:1/-1}

/* Shared production layout: action controls never touch adjacent controls. */
.live-table td>.button+.button,.live-card p>.button{margin-left:10px}.actions{align-items:center;row-gap:10px}.access-entry{padding:16px 0;border-bottom:1px solid var(--border)}.access-entry p{margin-bottom:10px}.access-entry small{display:block;color:var(--muted)}.service-row{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:10px 0;border-bottom:1px solid var(--border)}.service-row:last-child{border:0}.service-row>span:first-child{overflow-wrap:anywhere;min-width:0}.service-row .status-pill{flex:none}.wide-card{grid-column:1/-1;margin-top:4px}.wide-card table{table-layout:fixed;min-width:0}.wide-card td,.wide-card th{white-space:normal;overflow-wrap:anywhere}.wide-card td:first-child,.wide-card th:first-child{width:30%}.checksum{overflow-wrap:anywhere;font-size:11px}.audit-filter{display:flex;flex-wrap:wrap;align-items:end;gap:16px;padding:22px;margin-bottom:24px;background:var(--panel);border:1px solid var(--border);border-radius:14px}.audit-filter label{display:grid;gap:8px;flex:1;min-width:190px;color:var(--muted)}.audit-filter input{padding:11px;border-radius:8px;border:1px solid var(--border);background:#0b1926;color:var(--text);font:inherit}.audit-filter>small{flex-basis:100%;color:var(--muted)}.battery-reading{display:flex;align-items:center;gap:12px;margin-bottom:8px}.battery-gauge{display:inline-flex;position:relative;width:42px;height:21px;padding:3px;border:2px solid #70d9b9;border-radius:5px;align-items:center;justify-content:flex-start;color:var(--muted);font-size:12px}.battery-gauge:after{content:'';position:absolute;width:3px;height:9px;right:-6px;top:4px;background:#70d9b9;border-radius:0 2px 2px 0}.battery-gauge>span{height:100%;background:#70d9b9;border-radius:1px}.battery-gauge.unknown{justify-content:center;border-color:var(--muted)}.battery-gauge.unknown:after{background:var(--muted)}
.login-page{min-height:100svh;display:grid;place-items:center;padding:32px 20px;background:radial-gradient(ellipse at 50% 10%,#173746 0,transparent 60%),#0c1520}.login-card{width:min(100%,440px);padding:40px;border:1px solid #2a4658;background:linear-gradient(150deg,#152635,#101d2a);border-radius:24px;box-shadow:0 24px 80px #0005;text-align:center}.login-logo{width:86px;height:86px;margin-bottom:24px}.login-eyebrow{font-size:10px;letter-spacing:2px;color:#92b3c6;margin-bottom:14px}.login-card h1{font-size:30px;margin-bottom:12px}.login-card>p{line-height:1.7;color:var(--muted)}.login-submit{display:flex;align-items:center;justify-content:space-between;margin-top:30px;padding:15px 20px;border-radius:12px;font-size:14px;font-weight:600;background:#71ddbc;color:#08251d}.login-submit:hover{background:#9aecd3}.login-card .help{margin-top:24px;font-size:12px}.login-submit:focus-visible{outline:3px solid white;outline-offset:4px}@media(max-width:680px){.login-card{padding:30px 24px}.wide-card td,.wide-card th{padding:10px 6px;font-size:10px}.wide-card td:first-child,.wide-card th:first-child{width:29%}.audit-filter{padding:16px}.live-table .actions{min-width:120px}.wide-card{padding:14px}.login-card h1{font-size:26px}}

.battery-gauge>svg{width:100%;height:100%;display:block}.battery-gauge rect{fill:#70d9b9}

/* Plain-text legal drafts retain their content while the registry refreshes. */
.legal-editor{width:min(900px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto}.legal-editor-header{display:flex;align-items:start;justify-content:space-between;gap:20px;margin-bottom:20px}.legal-editor-header h2{margin:0}.legal-editor label{display:block;margin:15px 0 8px;font-size:14px}.legal-editor #legal-title,.legal-editor textarea{width:100%;min-width:0;padding:12px;border:1px solid var(--border,#42536a);background:var(--panel,#152232);color:var(--text,#e8eff7);border-radius:8px;font:inherit}.legal-editor textarea{resize:vertical;min-height:280px;line-height:1.65;white-space:pre-wrap}.legal-preview-document{padding:24px;border:1px solid #60758b;border-radius:10px;background:#f8fafc;color:#182938;overflow-wrap:anywhere}.legal-preview-document h3{font-size:24px;line-height:1.4;margin:0 0 22px}.legal-preview-document div{white-space:pre-wrap;line-height:1.8;font-size:15px}.legal-editor .legal-review{display:flex;gap:12px;align-items:start;line-height:1.5}.legal-review input{width:20px;height:20px;flex:0 0 20px;margin-top:2px}.legal-discard{border:1px solid #b99555;border-radius:8px;padding:16px;background:#473820;color:#fff3d0;margin-top:20px}.legal-editor button{min-height:44px}.legal-editor [hidden]{display:none!important}@media(max-width:600px){.legal-editor{padding:16px}.legal-editor-header{gap:12px}.legal-editor-header h2{font-size:18px}.legal-editor .modal-actions{flex-wrap:wrap}.legal-editor .modal-actions button{flex:1;white-space:normal}.legal-editor textarea,.legal-editor #legal-title{font-size:16px}.legal-preview-document{padding:18px}}
