/* MHZ.BAND LIVE — Callsign Watch / Alert v3.0.1 — no in-page toast. */
.watch-status-chip {display:inline-flex;align-items:center;min-height:26px;padding:3px 9px;border-radius:5px;background:#092a24;color:#53e2b2;border:1px solid #176f56;font:700 11px ui-monospace,Consolas,monospace;letter-spacing:.035em;white-space:nowrap}
.watch-status-chip.paused {background:#282219;color:#e1b465;border-color:#876025}
.mhz-alert-toolbar {display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.mhz-toolbar-settings {font-weight:700;color:#d7e6f7;background:#1a2834;border:1px solid #3d5362;border-radius:5px;padding:8px 11px;cursor:pointer;white-space:nowrap}
.mhz-toolbar-settings:hover {background:#263b4b;border-color:#69b8e2}
.mhz-watch-row-active {box-shadow:inset 4px 0 0 #ffb83e;background:rgba(240,170,30,.055)}
.mhz-watch-row-flash {animation:mhz-watch-pulse .95s ease-in-out 10}
.mhz-watch-row-active td,.mhz-watch-row-flash td {position:relative}
@keyframes mhz-watch-pulse {0%,100%{background:rgba(255,169,25,.10)} 50%{background:rgba(255,194,42,.30)}}
.mhz-watch-v3 {box-sizing:border-box;width:min(980px,calc(100vw - 24px));max-width:980px;max-height:88vh;overflow:auto;overscroll-behavior:contain;background:#111c24;color:#e5eef7;border:1px solid #385568;border-radius:12px;padding:0 18px 20px;box-shadow:0 20px 65px rgba(0,0,0,.66)}
.mhz-watch-v3 * {box-sizing:border-box}
.mhz-watch-v3 .watch-v3-header {position:sticky;top:0;z-index:2;display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:16px 0 12px;background:#111c24;border-bottom:1px solid #293f4f}
.mhz-watch-v3 .watch-v3-header h3{margin:0 0 4px;color:#f4c459;font-weight:900;letter-spacing:.09em;font-size:19px}
.mhz-watch-v3 .watch-v3-header .watch-help {margin:0;color:#abbaca;font-size:12px;line-height:1.6}
.mhz-watch-v3 .watch-close {min-width:42px;min-height:42px;border:1px solid #486170;border-radius:7px;color:#ebf4fd;background:#233543;font-size:27px;line-height:1;cursor:pointer}
.mhz-watch-v3 .watch-v3-section {padding:17px 0 21px;border-bottom:1px solid #2a414d}
.mhz-watch-v3 .watch-v3-title {display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:12px}
.mhz-watch-v3 .watch-v3-title strong {font-size:13px;letter-spacing:.075em;color:#63cfff}
.mhz-watch-v3 .watch-v3-title small {font-size:12px;color:#9dafbc}
.mhz-watch-v3 .watch-v3-switch {display:inline-flex;align-items:center;gap:8px;min-height:42px;padding:9px 12px;border:1px solid #334c5a;border-radius:7px;background:#192934;color:#dcecf7;font-size:13px;cursor:pointer}
.mhz-watch-v3 .watch-v3-switch input {accent-color:#f6b832;width:18px;height:18px;flex-shrink:0}
.mhz-watch-v3 .watch-v3-master {display:flex;width:max-content;max-width:100%;border-color:#3c795d;color:#81f3ba;background:#123029;font-weight:800;margin-bottom:10px}
.mhz-watch-v3 .watch-v3-options {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.mhz-watch-v3 .watch-v3-sound {display:grid;grid-template-columns:2fr 2fr auto;align-items:end;gap:9px;margin:12px 0 3px}
.mhz-watch-v3 .watch-v3-sound label {display:flex;flex-direction:column;gap:5px;font-size:12px;color:#9ab3c4}
.mhz-watch-v3 select,.mhz-watch-v3 input[type=text] {background:#132631;color:#edf6fa;border:1px solid #406074;border-radius:5px;padding:9px;min-height:42px;width:100%;max-width:100%;font-size:13px}
.mhz-watch-v3 input[type=range] {accent-color:#ffbd49;min-height:42px;width:100%}
.mhz-watch-v3 #sound-arm-btn,.mhz-watch-v3 .permission-btn {border:1px solid #397e94;background:#174356;color:#d2f5ff;border-radius:6px;min-height:42px;padding:9px 14px;font-weight:800;cursor:pointer}
.mhz-watch-v3 #sound-arm-btn:hover,.mhz-watch-v3 .permission-btn:hover {background:#1c6074}
.mhz-watch-v3 .notification-status {font-size:12px;color:#a8bccb;min-height:20px;margin:5px 0}
.mhz-watch-v3 .notification-status.ok {color:#63daa7}
.mhz-watch-v3 .notification-status.warn {color:#f3b85b}
.mhz-watch-v3 .watch-v3-system {display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:12px}
.mhz-watch-v3 .watch-v3-system button:disabled {opacity:.65;cursor:default}
.mhz-watch-v3 .watch-v3-note {color:#a7b7c5;background:#14242c;border-left:3px solid #40889a;border-radius:2px;margin:12px 0 0;padding:10px 12px;font-size:11px;line-height:1.65}
.mhz-watch-v3 .watch-v3-caption {font-weight:800;color:#f0cf81;margin:5px 0 10px}
.mhz-watch-v3 .watch-form-grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
.mhz-watch-v3 .watch-field {display:flex;flex-direction:column;gap:5px;min-width:0}
.mhz-watch-v3 .watch-field span {font-size:12px;color:#b4c6d3}
.mhz-watch-v3 .watch-v3-form-actions {display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin:14px 0 18px}
.mhz-watch-v3 .watch-add-btn {background:#f4aa1e;border:none;color:#13212b;font-weight:900;border-radius:6px;min-height:44px;padding:11px 21px;cursor:pointer}
.mhz-watch-v3 #watch-cancel-btn {min-height:44px;border:1px solid #6b7989;background:#192a39;color:#e3edf7;border-radius:6px;padding:9px 16px;cursor:pointer}
.mhz-watch-v3 #watch-cancel-btn[hidden] {display:none}
.mhz-watch-v3 .wl-items {display:grid;gap:8px}
.mhz-watch-v3 .watch-rule {display:flex;align-items:center;gap:10px;flex-wrap:nowrap;background:#162733;border:1px solid #364f60;border-radius:7px;padding:10px}
.mhz-watch-v3 .watch-rule.disabled {opacity:.53}
.mhz-watch-v3 .watch-rule-toggle {accent-color:#4ac79b;width:20px;height:20px;flex-shrink:0}
.mhz-watch-v3 .watch-rule-main {flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}
.mhz-watch-v3 .watch-rule-main strong {font-size:14px;color:#fcf2d3;overflow-wrap:anywhere}
.mhz-watch-v3 .watch-rule-main small {font-size:11px;line-height:1.5;color:#a3becd;overflow-wrap:anywhere}
.mhz-watch-v3 .watch-rule-edit,.mhz-watch-v3 .watch-rule-remove {flex-shrink:0;min-height:37px;padding:7px 11px;border-radius:6px;border:1px solid #436276;background:#213746;color:#ddf1fd;cursor:pointer}
.mhz-watch-v3 .watch-rule-remove {border-color:#7e454b;background:#40262d;color:#ffd2d2}
@media(max-width:850px){
  .mhz-watch-v3 .watch-v3-options {grid-template-columns:repeat(2,minmax(0,1fr))}
  .mhz-watch-v3 .watch-form-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
  .mhz-watch-v3 .watch-v3-sound {grid-template-columns:1fr 1fr}
  .mhz-watch-v3 #sound-arm-btn {grid-column:1 / -1}
}
@media(max-width:540px){
  .mhz-watch-v3 {max-height:94dvh;width:calc(100vw - 10px);padding:0 12px 24px;border-radius:8px}
  .mhz-watch-v3 .watch-v3-section{padding:12px 0 17px}
  .mhz-watch-v3 .watch-v3-header h3{font-size:17px}
  .mhz-watch-v3 .watch-v3-options {grid-template-columns:1fr 1fr;gap:5px}
  .mhz-watch-v3 .watch-v3-switch {font-size:11px;padding:7px;min-height:48px}
  .mhz-watch-v3 .watch-form-grid {grid-template-columns:1fr 1fr;gap:8px}
  .mhz-watch-v3 .watch-v3-sound {grid-template-columns:1fr;gap:8px}
  .mhz-watch-v3 #sound-arm-btn {grid-column:auto}
  .mhz-watch-v3 .watch-rule {gap:6px;padding:7px;flex-wrap:wrap}
  .mhz-watch-v3 .watch-rule-main {min-width:calc(100% - 40px)}
  .mhz-watch-v3 .watch-rule-edit {margin-left:31px}
  .mhz-alert-toolbar .watch-status-chip {display:none}
  .mhz-alert-toolbar .mhz-toolbar-settings {padding:7px;min-height:38px;font-size:11px}
}
@media(prefers-reduced-motion:reduce){.mhz-watch-row-flash{animation:none;border-left:4px solid #f5b438}}
