/* WNNET Manager v2.2.0 - Operator Assist / contextual help */
#wnnetOperatorTooltip{
  position:fixed;z-index:2147483646;display:none;max-width:300px;min-width:180px;
  padding:8px 10px;border-radius:6px;border:1px solid rgba(239,68,68,.72);
  background:linear-gradient(145deg,rgba(10,16,23,.98),rgba(19,27,36,.98));
  color:#eef4fa;box-shadow:0 14px 38px rgba(0,0,0,.48),0 0 0 1px rgba(255,255,255,.035) inset;
  font-family:"Segoe UI",Arial,sans-serif;font-size:11.5px;line-height:1.38;letter-spacing:.005em;
  pointer-events:none;opacity:0;transform:translateY(4px);transition:opacity .12s ease,transform .12s ease;
}
#wnnetOperatorTooltip.wn-help-visible{display:block;opacity:1;transform:translateY(0)}
#wnnetOperatorTooltip .wn-help-kicker{display:flex;align-items:center;gap:6px;margin:0 0 4px;color:#ff6b6b;font-size:10.5px;font-weight:800;text-transform:uppercase;letter-spacing:.8px}
#wnnetOperatorTooltip .wn-help-kicker:before{content:"?";display:inline-grid;place-items:center;width:17px;height:17px;border-radius:50%;background:#c91d28;color:#fff;font-size:11px}
#wnnetOperatorTooltip .wn-help-title{color:#fff;font-size:11.5px;font-weight:750;margin:0 0 3px}
#wnnetOperatorTooltip .wn-help-text{color:#d4dde7;font-size:10.8px;font-weight:450}

/* Settings card */
.wnn-help-settings-card{border:1px solid #344150!important;background:linear-gradient(145deg,#111a24,#0c131b)!important;color:#edf3f8!important}
.wnn-help-settings-card .card-header{background:linear-gradient(90deg,rgba(181,24,31,.22),rgba(181,24,31,.04))!important;border-bottom:1px solid #344150!important}
.wnn-help-settings-card .card-title{color:#fff!important}
.wnn-help-settings-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;align-items:center}
.wnn-help-settings-copy h4{margin:0 0 5px;color:#f7fafc;font-size:14px}
.wnn-help-settings-copy p{margin:0;color:#bac5d0;line-height:1.55;font-size:12.5px}
.wnn-help-settings-copy .wnn-help-example{margin-top:8px;padding:8px 10px;border-radius:8px;background:#0a1118;border:1px solid #2c3946;color:#d7e0e9;font-size:11.5px}
.wnn-help-switch-wrap{display:flex;align-items:center;gap:10px;white-space:nowrap}
.wnn-help-switch{position:relative;display:inline-block;width:52px;height:28px;margin:0}
.wnn-help-switch input{opacity:0;width:0;height:0}
.wnn-help-slider{position:absolute;cursor:pointer;inset:0;background:#495563;border-radius:999px;transition:.2s;border:1px solid #5c6875}
.wnn-help-slider:before{content:"";position:absolute;width:20px;height:20px;left:3px;top:3px;background:#fff;border-radius:50%;transition:.2s;box-shadow:0 2px 6px #0006}
.wnn-help-switch input:checked + .wnn-help-slider{background:#16803a;border-color:#20a650}
.wnn-help-switch input:checked + .wnn-help-slider:before{transform:translateX(24px)}
.wnn-help-state{font-weight:750;color:#e9eff5;font-size:12px;min-width:55px}
.wnn-help-save{margin-left:10px!important}
.wnn-help-message{margin:0 0 10px;padding:8px 10px;border-radius:7px;font-size:12px}
.wnn-help-message.ok{background:#123c24;border:1px solid #1f7a3e;color:#ccf4d7}
.wnn-help-message.bad{background:#49181d;border:1px solid #9c3039;color:#ffd9dc}
@media(max-width:700px){.wnn-help-settings-row{grid-template-columns:1fr}.wnn-help-switch-wrap{justify-content:flex-start;flex-wrap:wrap}}
/* v2.3.0: delayed help and compact settings controls */
.wnn-help-switch-wrap select.form-control{width:auto!important;min-width:145px!important;max-width:190px!important;margin:0!important}
.wnn-settings-inline{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.wnn-settings-inline select.form-control{width:auto;min-width:190px}
@media(max-width:700px){.wnn-help-switch-wrap select.form-control,.wnn-settings-inline select.form-control{width:100%!important;max-width:none!important}}
