.history-heading{align-items:flex-start;padding-bottom:18px}.history-eyebrow{color:var(--muted);text-transform:uppercase;letter-spacing:1.3px;margin-bottom:7px;font-size:10px;font-weight:600;display:block}.history-heading h2{letter-spacing:-.5px;font-size:22px;line-height:1.3}.history-heading .history-subtitle{font-variant-numeric:tabular-nums;max-width:none;margin-top:7px;line-height:1.5}.history-timezone{color:var(--faint);margin-top:3px;font-size:11px;display:block}.history-export{white-space:nowrap;justify-content:center;align-items:center;gap:8px;min-height:40px;display:inline-flex}.history-controls{grid-template-columns:minmax(180px,1fr) minmax(190px,1fr) minmax(190px,1fr) auto;align-items:end;gap:14px;padding:0 24px 20px;display:grid}.history-controls label{color:var(--muted);gap:7px;font-size:11px;font-weight:600;display:grid}.history-controls input,.history-controls select{width:100%;min-width:0;min-height:42px;font-size:13px;font-weight:400}.history-controls button{white-space:nowrap;justify-content:center;align-items:center;gap:8px;min-height:42px;display:inline-flex}.history-controls input::-webkit-calendar-picker-indicator{cursor:pointer}.history-result{border-top:1px solid var(--border);padding-top:16px}.history-chart{padding:0 24px 20px}.history-chart-scroll{overscroll-behavior-x:contain;scrollbar-width:thin;overflow-x:auto}.history-chart .history-svg{width:100%;min-width:900px;max-height:none;font-family:Arial,sans-serif;display:block}.history-svg:focus-visible{outline:2px solid var(--accent);outline-offset:-3px;border-radius:6px}.history-grid{stroke:var(--chart-grid);stroke-width:1px;stroke-dasharray:4 6}.history-axis-line{stroke:var(--border);stroke-width:1px}.history-unit{fill:var(--muted);font-size:12px;font-weight:600}.history-y-tick,.history-x-tick{fill:var(--chart-axis);font-variant-numeric:tabular-nums;font-size:12px}.history-line{stroke:var(--chart-line)}.history-point{fill:var(--chart-line);stroke:var(--surface);stroke-width:1.5px}.history-crosshair{stroke:var(--chart-line);stroke-width:1px;stroke-dasharray:4 4;opacity:.65}.history-tooltip-bg{fill:var(--surface);stroke:var(--border);stroke-width:1px}.history-tooltip-date{fill:var(--muted);font-size:12px}.history-tooltip-value{fill:var(--ink);font-size:17px;font-weight:600}.history-chart .history-summary{color:var(--muted);font-variant-numeric:tabular-nums;align-items:center;gap:9px;padding:0 0 0 12px;font-size:12px;display:flex}.history-summary span{color:var(--faint)}.history-chart-hint{color:var(--faint);margin:7px 0 0 12px;font-size:11px;display:block}.history-message{color:var(--muted);margin:0 24px 18px;font-size:12px;line-height:1.5}.history-message.error{color:var(--danger)}@media (max-width:1100px){.history-controls{grid-template-columns:1fr 1fr}.history-controls button{justify-self:stretch}}@media (max-width:600px){.history-heading{flex-direction:column;gap:14px;padding:18px}.history-heading h2{font-size:21px}.history-heading .history-export{align-self:stretch}.history-controls{grid-template-columns:1fr;gap:12px;padding:0 18px 18px}.history-chart{padding:0 10px 18px}.history-chart .history-svg{min-width:900px}.history-message{margin-left:18px;margin-right:18px}.history-chart-hint{line-height:1.6}}
.device-access{margin-top:24px}.device-access h2,.device-credentials h3{align-items:center;gap:10px;display:flex}.device-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.device-connection{background:var(--surface-2);border-top:1px solid var(--border);border-bottom:1px solid var(--border);grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:0;padding:22px 24px;display:grid}.device-connection dt{color:var(--muted);margin-bottom:7px;font-size:12px}.device-connection dd{overflow-wrap:anywhere;margin:0;font-size:14px;font-weight:600}.device-note{color:var(--muted);margin:16px 24px;font-size:13px;line-height:1.6}.device-empty{color:var(--muted);padding:20px 24px;font-size:14px}.device-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:24px;display:grid}.device-card{border:1px solid var(--border);border-radius:12px;padding:20px}.device-card h3,.device-form h3,.device-confirm h3,.device-credentials h3,.device-files-heading h3{margin:0;font-size:16px;line-height:1.5}.device-card-heading{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.device-card-heading p{color:var(--muted);margin:5px 0 12px;font-size:13px}.device-status{white-space:nowrap;background:var(--surface-3);color:var(--ink-2);border-radius:6px;padding:5px 9px;font-size:12px;display:inline-block}.device-status.active,.device-status.processed{background:var(--success-soft);color:var(--success)}.device-status.revoked,.device-status.invalid{background:var(--danger-soft);color:var(--danger)}.device-status.pending{background:var(--warning-soft);color:var(--warning)}.device-login{align-items:center;gap:8px;font-size:12px;display:flex}.device-login code{overflow-wrap:anywhere;min-width:0;font-size:12px}.device-login span{color:var(--muted)}.device-card .device-note{margin:12px 0 18px}.device-revoke{color:var(--danger)!important}.device-form,.device-confirm,.device-credentials{border:1px solid var(--border);background:var(--surface-2);border-radius:12px;margin:24px;padding:22px}.device-credentials{background:var(--success-soft);border-color:color-mix(in srgb, var(--success) 35%, transparent)}.device-credentials>p,.device-confirm p{color:var(--ink-2);overflow-wrap:anywhere;margin:10px 0;font-size:14px;line-height:1.6}.device-form fieldset{border:0;min-width:0;margin:16px 0 0;padding:0}.device-form-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:20px;display:grid}.device-access label{color:var(--ink-2);flex-direction:column;gap:7px;font-size:13px;font-weight:500;display:flex}.device-access input,.device-access select{border:1px solid var(--border-strong);width:100%;min-width:0;min-height:42px;font:inherit;color:var(--ink);background:var(--surface);border-radius:8px;padding:10px 12px}.device-access input:focus,.device-access select:focus{outline:2px solid var(--accent);outline-offset:2px}.device-secret-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:18px 0;display:grid}.device-map-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 36px;align-items:end;gap:12px;margin-bottom:14px;display:grid}.device-map-row .icon-button{margin-bottom:5px}.device-form .device-note{margin:12px 0}.device-message{background:var(--success-soft);color:var(--success);border-radius:8px;margin:16px 24px;padding:12px 16px;font-size:14px}.device-files-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin:28px 24px 16px;display:flex}.device-files-heading small{color:var(--muted);font-size:12px}.device-files td{vertical-align:top}.device-files td:first-child{white-space:normal;overflow-wrap:anywhere;max-width:340px}.device-files td strong,.device-files td small{display:block}.device-files td small{color:var(--muted);margin-top:5px;font-size:12px}.device-file-error{color:var(--danger);margin:8px 0 0;font-size:12px;line-height:1.5}.device-access>.error{margin:16px 24px}.device-confirm .device-actions{margin-top:16px}@media (max-width:1000px){.device-list{grid-template-columns:1fr}.device-connection{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:600px){.device-access .panel-heading{flex-direction:column;align-items:flex-start;gap:14px}.device-connection{gap:16px;padding:18px}.device-list{margin:18px}.device-form,.device-confirm,.device-credentials{margin:18px;padding:16px}.device-form-grid,.device-secret-fields{grid-template-columns:1fr}.device-actions{gap:8px}.device-actions button{font-size:12px}.device-card-heading{flex-direction:column;gap:4px}.device-note{margin:16px 18px}.device-files-heading{margin:24px 18px 14px}.device-map-row{grid-template-columns:minmax(0,1fr) 36px}.device-map-row label:first-child{grid-column:1/-1}.device-card{padding:16px}.device-connection dd{font-size:13px}.device-connection dt{font-size:12px}}
