/* Screens of onda 3 (js/hwio/view.js): Hardware & IO, commissioning, data exclusion, hardware profile.
   Layout only. The colors follow the page; a state is never a color alone. */
.hwio-body, .hwio-section { display: grid; gap: 12px; }
.hwio-section { padding: 16px; border-radius: 16px; border: 1px solid rgba(127, 127, 127, .25); }
.hwio-section h3, .hwio-section h4 { margin: 0; }
.hwio-note { margin: 0; font-size: 14px; opacity: .85; }
.hwio-note-warning { color: #FF9500; opacity: 1; }
.hwio-note-error { color: #FF453A; opacity: 1; }
.hwio-note-success { color: #30D158; opacity: 1; }
.hwio-kv { display: grid; grid-template-columns: max-content 1fr; gap: 4px 16px; margin: 0; font-size: 14px; }
.hwio-kv dt { opacity: .7; }
.hwio-kv dd { margin: 0; overflow-wrap: anywhere; }
.hwio-table { border-collapse: collapse; width: 100%; font-size: 13px; font-variant-numeric: tabular-nums; display: block; overflow-x: auto; }
.hwio-table th, .hwio-table td { padding: 6px 10px; text-align: left; border-bottom: 1px solid rgba(127, 127, 127, .2); }
.hwio-json pre { overflow-x: auto; font-size: 12px; max-height: 320px; }
.hwio-field { display: grid; gap: 4px; font-size: 14px; }
.hwio-field input, .hwio-field select, .hwio-field textarea { font: inherit; padding: 8px; max-width: 100%; }
.hwio-field textarea { min-height: 120px; font-family: ui-monospace, monospace; font-size: 12px; }
.hwio-actions, .hwio-picker { display: flex; flex-wrap: wrap; gap: 8px; align-items: end; }
.hwio-button { min-height: 44px; padding: 0 16px; border-radius: 10px; border: 0; background: rgba(118, 118, 128, .2); font-weight: 600; color: inherit; font: inherit; cursor: pointer; }
.hwio-button-primary { background: #0A84FF; border-color: #0A84FF; color: #fff; }
.hwio-button:disabled { opacity: .5; cursor: not-allowed; }
.hwio-period { display: grid; gap: 8px; padding: 12px; border-radius: 12px; border: 1px solid rgba(127, 127, 127, .2); }
