/* Compact additions share existing typography, panels and theme variables. */
.brightness-control{display:inline-flex;gap:2px;align-items:center}
.brightness{border:1px solid var(--line);border-radius:5px;padding:6px 7px;font-size:10px;font-weight:700;color:#4b3900;min-height:32px}
.brightness.low{background:#fff4ba}.brightness.medium{background:#ffe36b}.brightness.high{background:#ffc400}
.brightness[aria-pressed=true]{outline:2px solid var(--text);outline-offset:1px;box-shadow:inset 0 -3px 0 #735b00}
.equipment-controls{flex-wrap:wrap;justify-content:flex-end}
.audit-summary{display:flex;flex-wrap:wrap;gap:4px 18px;margin:6px 0;font-size:12px}
.audit-summary>div{display:flex;gap:5px}.audit-summary dt{color:var(--muted)}.audit-summary dd{margin:0}
.history-table{font-size:12px;white-space:nowrap}.history-table td,.history-table th{padding:8px}
.history-table .history-reason{white-space:normal;min-width:160px;max-width:330px}
.history-table tbody tr{cursor:pointer}.history-table tbody tr:hover{background:var(--bg)}
.history-detail{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 18px;margin:10px 0}
.history-detail div{min-width:0}.history-detail dt{font-size:11px;color:var(--muted)}.history-detail dd{margin:0;font-size:13px;overflow-wrap:anywhere}
.history-filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:10px;align-items:end}
.history-filters .form-field{margin:0}.history-filters .checkbox{font-size:12px}
.telegram-text{min-height:230px;font-size:13px}.telegram-preview{white-space:pre-wrap;font-size:13px}
.telegram-template-actions{display:flex;gap:5px;flex-wrap:wrap}.telegram-template-actions .button{font-size:11px}
.admin-nav{flex-wrap:nowrap;overflow-x:auto}.admin-nav a{white-space:nowrap}
.gust-component{font-size:10px;color:var(--muted);white-space:nowrap}
[data-page=meteo] .component-row .component-part{flex-wrap:wrap;white-space:normal}
[data-page=meteo] .component-row{flex-wrap:wrap}
@media(max-width:700px){.equipment-controls{justify-content:flex-start}.history-detail{grid-template-columns:1fr 1fr}.history-filters{grid-template-columns:1fr 1fr}.history-table{font-size:11px}.gust-component{font-size:9px}}
.equipment-controls .button{background:var(--surface);color:var(--text)}
.gust-estimate{display:block;width:100%;font-size:10px;color:var(--muted);margin-top:4px}
