.dashboard-charts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin-bottom:1rem}.chart-panel{min-height:260px}.donut-wrap{display:grid;grid-template-columns:minmax(180px,.8fr) minmax(180px,1fr);align-items:center;gap:1rem;padding:1.25rem}.donut-chart{width:min(190px,100%);aspect-ratio:1;margin:auto}.donut-track{fill:none;stroke:#edf3f0;stroke-width:18}.donut-segment{fill:none;stroke-width:18;transform:rotate(-90deg);transform-origin:50% 50%;transition:stroke-dasharray .25s ease}.donut-center{font-size:.53rem;font-weight:900;fill:var(--ink)}.donut-subtitle{font-size:.22rem;font-weight:700;fill:var(--muted);text-transform:uppercase;letter-spacing:.08em}.chart-legend{display:grid;gap:.65rem}.legend-row{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:.65rem;font-size:.8rem}.legend-row i{width:10px;height:10px;border-radius:50%;background:var(--legend-color)}.legend-row span{color:var(--muted)}.legend-row strong{font-variant-numeric:tabular-nums}.profile-list{display:grid}.profile-row{display:grid;grid-template-columns:auto minmax(180px,1.2fr) minmax(160px,.8fr) minmax(160px,.8fr) auto;align-items:center;gap:1rem;padding:1.05rem 1.3rem;border-bottom:1px solid #edf1f5}.profile-row small,.profile-row strong{display:block}.profile-row small{color:var(--muted);font-size:.7rem;margin-top:.2rem}.profile-bands{display:flex;gap:.35rem;flex-wrap:wrap}.band-chip{padding:.3rem .48rem;border-radius:999px;background:#ecfdf5;color:#047857;font-size:.67rem;font-weight:800}.integration-panel{margin-top:1rem}.integration-endpoints{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;padding:1.25rem}.integration-endpoints article{padding:1rem;border:1px solid var(--line);border-radius:12px;background:#f8fbf9}.integration-endpoints strong,.integration-endpoints code{display:block}.integration-endpoints code{font-size:.7rem;color:#475569;margin-top:.55rem;overflow-wrap:anywhere}.profile-summary{border:1px solid #b9ead7;background:#f0fdf8;border-radius:12px;padding:1rem;color:#155e45}.profile-summary strong,.profile-summary small{display:block}.profile-summary small{margin-top:.35rem;color:#3f7664}.current-networks{display:flex;gap:.4rem;flex-wrap:wrap;margin-top:.7rem}.current-networks span{background:white;border:1px solid #d6eee5;border-radius:999px;padding:.3rem .5rem;font-size:.7rem}.reveal-button{justify-self:start;padding:0}.confirmation-line{padding:.8rem;border:1px solid #fed7aa;border-radius:10px;background:#fff7ed;color:#9a3412}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.mapping-card{border:1px solid var(--line);border-radius:12px;padding:1rem;display:grid;gap:.8rem}.mapping-card legend{padding:0 .4rem;font-weight:800}.profile-dialog form{width:min(720px,calc(100vw - 2rem))}.wifi-dialog form{width:min(560px,calc(100vw - 2rem))}.device-actions .wifi-action{background:var(--primary-dark);color:white;border-color:var(--primary-dark)}
@media(max-width:900px){.dashboard-charts{grid-template-columns:1fr}.integration-endpoints{grid-template-columns:1fr}.profile-row{grid-template-columns:auto 1fr auto}.profile-row>div:nth-of-type(n+2){display:none}}
@media(max-width:620px){.donut-wrap{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr}.profile-row{padding:.9rem}.profile-dialog form,.wifi-dialog form{width:calc(100vw - 1rem)}}
.form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.task-dialog .mapping-card{display:grid;min-width:0}.mapping-card label,.mapping-card input{min-width:0}.task-dialog.profile-dialog{width:min(720px,calc(100vw - 2rem))}.task-dialog.wifi-dialog{width:min(560px,calc(100vw - 2rem))}.profile-dialog form,.wifi-dialog form{width:auto;min-width:0}
@media(max-width:620px){.form-grid{grid-template-columns:1fr}.task-dialog.profile-dialog,.task-dialog.wifi-dialog{width:calc(100vw - 1rem)}.profile-dialog form,.wifi-dialog form{width:auto}}
.current-password-card{display:grid;gap:.75rem;padding:1rem;border:1px solid #cbd5e1;border-radius:12px;background:#f8fafc}.current-password-head{display:flex;align-items:center;justify-content:space-between;gap:1rem}.current-password-head strong,.current-password-head small{display:block}.current-password-head small{margin-top:.25rem;color:var(--muted);font-size:.7rem}.current-password-status{margin:0;color:#475569;font-size:.75rem}.current-password-results{display:grid;gap:.6rem}.current-password-row{display:grid;grid-template-columns:minmax(110px,.7fr) minmax(0,1.3fr);align-items:center;gap:.8rem;padding:.75rem;background:white;border:1px solid var(--line);border-radius:10px}.current-password-row strong,.current-password-row small{display:block}.current-password-row small{margin-top:.2rem;color:var(--muted);font-size:.68rem}.current-password-value{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.6rem}.current-password-value input{min-width:0;font-family:ui-monospace,SFMono-Regular,Consolas,monospace}.current-password-value .text-button{padding:.35rem}.secret-unavailable{grid-column:1/-1;color:#9a3412;font-size:.72rem}.dialog-subtitle{display:grid;gap:.2rem;padding-top:.25rem;border-top:1px solid var(--line)}.dialog-subtitle small{color:var(--muted)}
.profile-mode{display:inline-flex;align-items:center;min-height:28px;margin-top:.45rem;padding:.3rem .55rem;border-radius:999px;font-size:.67rem;font-weight:850}.profile-mode.manual{background:#fff7ed;color:#9a3412}.profile-mode.automatic{background:#eff6ff;color:#1d4ed8}#wifi-profile-notice:not(:empty){margin:.85rem 1.3rem 0;padding:.75rem .9rem;border:1px solid #a7f3d0;border-radius:10px;background:#ecfdf5;color:#047857}#wifi-profile-notice.warning{border-color:#fde68a;background:#fffbeb;color:#92400e}#wifi-profile-notice.error{border-color:#fecaca;background:#fef2f2;color:#b91c1c}.restore-profile-discovery{min-height:44px}
@media(max-width:620px){.current-password-head{align-items:stretch;flex-direction:column}.current-password-head button{width:100%}.current-password-row{grid-template-columns:1fr}.current-password-value{grid-template-columns:minmax(0,1fr) auto}}
