/* =====================================================================
   5STAR — painel "Sala de controle" (master control de TV)
   Grafite, monitores com linhas de varredura, luzes de "no ar" (tally),
   relógio âmbar, medidores de sinal e faixa "ao vivo".
   ===================================================================== */
body.ctl {
    --b: #0b0c0f;
    --p: #15171c;
    --p2: #1c1f26;
    --l: #2a2e38;
    --t: #d7dbe4;
    --d: #7d8495;
    --red: #ff2a2a;
    --amb: #ffb020;
    --grn: #3be37a;
    --cyan: #38c8ff;
    --mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;
    --el-line: #2a2e38;
    --el-line-2: #343947;
    --el-dim: #7d8495;
    --el-red: #ff2a2a;
    --el-red-glow: rgba(255, 42, 42, .35);
    --el-green: #3be37a;
    --el-gold: #ffb020;
    --el-cyan: #38c8ff;
    font-family: 'Oxanium', 'Segoe UI', system-ui, sans-serif !important;
    color: var(--t);
    letter-spacing: .01em;
    background: radial-gradient(1200px 700px at 50% -15%, #1b1f29, var(--b) 60%) fixed, var(--b) !important;
}
body.ctl:before, body.ctl:after { display: none !important; }
body.ctl h1, body.ctl h2, body.ctl h3, body.ctl h4, body.ctl h5, body.ctl h6, body.ctl b, body.ctl strong, body.ctl .btn { font-family: inherit; }
body.ctl .el-mono, body.ctl .mac { font-family: var(--mono); }
body.ctl .text-primary { color: var(--red) !important; }
body.ctl a { color: inherit; }
@keyframes ctl-tally { 50% { opacity: .3; } }
@keyframes ctl-eq { from { height: 12%; } to { height: 100%; } }
@keyframes ctl-tick { to { transform: translateX(-100%); } }

/* ---------- mesa (topo) ---------- */
body.ctl #nsofts_header.ctl-top {
    position: sticky; top: 12px; left: auto; right: auto; height: auto; z-index: 60;
    display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px;
    max-width: 1680px; margin: 12px auto 0; padding: 10px 14px 10px 18px;
    background: linear-gradient(#191b21, #121419) !important; border: 1px solid var(--l); border-radius: 12px;
    box-shadow: 0 14px 40px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.04); -webkit-backdrop-filter: none; backdrop-filter: none;
}
body.ctl .ctl-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; white-space: nowrap; }
body.ctl .ctl-brand i { width: 12px; height: 12px; border-radius: 50%; background: var(--red); box-shadow: 0 0 12px var(--red); animation: ctl-tally 1.6s infinite; }
body.ctl .ctl-brand span { font-weight: 800; letter-spacing: .28em; color: #fff; font-size: 17px; }
body.ctl .ctl-brand em { font-style: normal; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--d); padding-left: 10px; border-left: 1px solid var(--l); }
body.ctl .ctl-nav { display: flex; gap: 4px; flex-wrap: wrap; justify-content: center; }
body.ctl .ctl-nav a { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--d); text-decoration: none; padding: 9px 13px; border-radius: 7px; border: 1px solid transparent; transition: color .15s, border-color .15s, background .15s; }
body.ctl .ctl-nav a:hover { color: #fff; border-color: var(--l); }
body.ctl .ctl-nav a.on { color: #fff; border-color: var(--red); background: rgba(255,42,42,.12); box-shadow: 0 0 14px rgba(255,42,42,.2); }
body.ctl .ctl-right { display: flex; align-items: center; gap: 16px; }
body.ctl .ctl-clock { text-align: right; line-height: 1; }
body.ctl .ctl-clock b { display: block; font-size: 28px; font-weight: 800; color: var(--amb); text-shadow: 0 0 14px rgba(255,176,32,.45); font-variant-numeric: tabular-nums; letter-spacing: .04em; }
body.ctl .ctl-clock small { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--d); }
body.ctl .ctl-user { position: relative; display: flex; align-items: center; gap: 9px; padding: 6px 12px 6px 6px; border-radius: 9px; border: 1px solid var(--l); background: #0e1014; cursor: pointer; outline: 0; }
body.ctl .ctl-user:hover, body.ctl .ctl-user:focus-within { border-color: var(--red); }
body.ctl .ctl-op { width: 34px; height: 34px; border-radius: 6px; display: grid; place-items: center; font-size: 11px; font-weight: 800; letter-spacing: .1em; color: #000; background: var(--amb); }
body.ctl .ctl-user-name { font-size: 14px; font-weight: 700; color: #fff; line-height: 1.15; white-space: nowrap; }
body.ctl .ctl-user-name small { display: block; font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--d); }
body.ctl .ctl-user-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 230px; padding: 6px; border-radius: 10px; display: none; z-index: 100; background: #15171c; border: 1px solid var(--l); box-shadow: 0 24px 60px rgba(0,0,0,.6); }
body.ctl .ctl-user-menu:before { content: ''; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
body.ctl .ctl-user:hover .ctl-user-menu, body.ctl .ctl-user:focus-within .ctl-user-menu { display: block; }
body.ctl .ctl-user-menu a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 7px; color: var(--t); text-decoration: none; font-size: 14px; font-weight: 500; }
body.ctl .ctl-user-menu a:hover { background: #20232b; color: #fff; }
body.ctl .ctl-user-menu a.out:hover { background: var(--red); }
body.ctl .ctl-user-menu kbd { margin-left: auto; }
body.ctl .ctl-subnav { display: flex; gap: 6px; max-width: 1680px; margin: 12px auto 0; padding: 0 14px; }
body.ctl .ctl-subnav a { font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; color: var(--d); padding: 8px 14px; border-radius: 7px; border: 1px solid var(--l); background: var(--p); }
body.ctl .ctl-subnav a.on { color: #fff; border-color: var(--amb); box-shadow: inset 0 -2px 0 var(--amb); }

/* ---------- área de conteúdo ---------- */
body.ctl #nsofts_main { margin: 0 auto !important; padding: 18px 14px 20px !important; max-width: 1680px; min-height: auto; }
body.ctl #nsofts_footer { margin: 0 auto !important; max-width: 1680px; padding: 6px 14px 24px !important; color: #5c6373; font-size: 12px; letter-spacing: .06em; }
body.ctl .nsofts-container { max-width: none; padding: 0; }

/* cabeçalho de página = placa da câmera */
body.ctl .el-page-head { gap: 14px; margin-bottom: 14px; padding: 14px 16px; background: var(--p); border: 1px solid var(--l); border-radius: 10px; }
body.ctl .el-page-ic { width: 48px; height: 48px; min-width: 48px; border-radius: 8px; background: #050608; border: 1px solid var(--l); box-shadow: inset 0 0 18px color-mix(in srgb, var(--c) 25%, transparent); }
body.ctl .el-page-ic i { font-size: 22px; }
body.ctl .el-page-tt h1 { font-size: 22px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #fff; }
body.ctl .el-page-tt p { font-size: 13.5px; color: var(--d); letter-spacing: .02em; }
body.ctl .el-back { border-radius: 8px; background: #0e1014; border-color: var(--l); }

/* indicadores = mini monitores */
body.ctl .el-kpis { gap: 10px; margin-bottom: 14px; }
body.ctl .el-kpi { border-radius: 8px; background: #050608; border: 2px solid #000; box-shadow: inset 0 0 0 1px var(--l); padding: 14px 16px; animation: none; }
body.ctl .el-kpi:after { inset: 0; width: auto; height: auto; border-radius: 0; opacity: 1; background: repeating-linear-gradient(0deg, rgba(255,255,255,.03) 0 1px, transparent 1px 3px); }
body.ctl .el-kpi > i { border-radius: 6px; background: transparent; border: 1px solid var(--l); }
body.ctl .el-kpi b { font-size: 32px; font-weight: 800; color: var(--c); text-shadow: 0 0 18px color-mix(in srgb, var(--c) 35%, transparent); }
body.ctl .el-kpi span { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--d); }

/* painéis, linhas, cartões */
body.ctl .card, body.ctl .el-panel, body.ctl .el-sec, body.ctl .el-side-card, body.ctl .el-url, body.ctl .el-danger-zone {
    background: var(--p) !important; border: 1px solid var(--l) !important; border-radius: 10px !important; box-shadow: none !important; -webkit-backdrop-filter: none; backdrop-filter: none; animation: none;
}
body.ctl .el-side-card { background: linear-gradient(160deg, #1d1416, var(--p) 55%) !important; }
body.ctl .el-sec-h > i, body.ctl .el-av { border-radius: 7px; }
body.ctl .el-sec-h b { letter-spacing: .1em; text-transform: uppercase; font-size: 14px; }
body.ctl .el-toolbar { padding: 10px 10px 12px; }
body.ctl .el-search-in, body.ctl .el-seg, body.ctl .el-gcard-stats div, body.ctl .el-toggle-row { background: #0b0c0f; border-color: var(--l); border-radius: 8px; }
body.ctl .el-chip { border-radius: 6px; background: #0e1014; border-color: var(--l); color: var(--d); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
body.ctl .el-chip:hover { color: #fff; border-color: #444a58; }
body.ctl .el-chip.on { background: rgba(255,42,42,.14); border-color: var(--red); color: #fff; box-shadow: none; }
body.ctl .el-chip.on em { background: var(--red); }
body.ctl .el-rows { gap: 0; padding: 0 2px 4px; }
body.ctl .el-row { border-radius: 0; background: transparent; border: 0; border-bottom: 1px solid var(--l); padding: 12px 14px; animation: none; }
body.ctl .el-row:not(.el-row-head):hover { background: #1b1e25; border-color: var(--l); box-shadow: inset 3px 0 0 var(--red); }
body.ctl .el-row-head { font-size: 10.5px; letter-spacing: .22em; color: #5c6373; border-bottom: 1px solid var(--l); }
body.ctl .el-cell-main b { font-weight: 700; }
body.ctl .el-av { background: #050608; border: 1px solid var(--l); }
body.ctl .el-tag { border-radius: 6px; background: #0e1014; border-color: var(--l); letter-spacing: .04em; }
body.ctl .el-pill { border-radius: 4px; letter-spacing: .14em; }
body.ctl .el-bar { height: 8px; border-radius: 1px; background: repeating-linear-gradient(90deg, #23262e 0 9px, transparent 9px 11px); }
body.ctl .el-bar i { border-radius: 1px; -webkit-mask: repeating-linear-gradient(90deg, #000 0 9px, transparent 9px 11px); mask: repeating-linear-gradient(90deg, #000 0 9px, transparent 9px 11px); }
body.ctl .el-seg button { border-radius: 5px; letter-spacing: .06em; font-family: inherit; }
body.ctl .el-act { border-radius: 7px; background: linear-gradient(#22252d, #16181d); border-color: var(--l); box-shadow: 0 2px 0 #000; }
body.ctl .el-act:hover { border-color: #fff; }
body.ctl .el-gcard { border-radius: 8px; background: #050608; border: 2px solid #000; box-shadow: inset 0 0 0 1px var(--l); animation: none; }
body.ctl .el-gcard:before { inset: 0; height: auto; opacity: 1; background: repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 1px, transparent 1px 3px); }
body.ctl .el-gcard:hover { transform: none; box-shadow: inset 0 0 0 1px var(--red), 0 0 22px rgba(255,42,42,.18); }
body.ctl .el-gcard-top b { letter-spacing: .1em; text-transform: uppercase; }
body.ctl .el-gcard .ctl-tl { position: absolute; top: 12px; right: 12px; }
body.ctl .el-url:before { width: 4px; box-shadow: none; }
body.ctl .el-url:hover { transform: none; border-color: #444a58 !important; }
body.ctl .el-empty-big > i { border-radius: 8px; }
body.ctl .nsofts-setting .nsofts-setting__sidebar { background: #121419 !important; border-right-color: var(--l) !important; }
body.ctl .nsofts-setting .nsofts-setting__sidebar .nav-link { border-radius: 7px !important; letter-spacing: .08em; }
body.ctl .nsofts-setting .nsofts-setting__sidebar .nav-link.active { background: rgba(255,42,42,.12) !important; border-color: var(--red) !important; }
body.ctl .nsofts-setting .nsofts-setting__sidebar .nav-link.active i { background: var(--red); box-shadow: none; }
body.ctl .nsofts-setting__content h4 { letter-spacing: .14em; text-transform: uppercase; font-size: 17px; }
body.ctl .nsofts-setting__content form > .mb-3.row:has(input[type=file]) { background: #050608; border: 2px solid #000; box-shadow: inset 0 0 0 1px var(--l); border-radius: 8px; }
body.ctl .nsofts-setting__content form > .mb-3.row:has(input[type=file]):hover { transform: none; box-shadow: inset 0 0 0 1px var(--red); }
body.ctl .nsofts-setting__content form > .mb-3.row:has(input[type=file]) img { border-radius: 4px; }
body.ctl .el-profile-hero { border-radius: 10px; background: linear-gradient(110deg, #2a1012, #15171c 60%); border-color: var(--l); }
body.ctl .el-photo { border-radius: 10px; }

/* formulários e botões de mesa */
body.ctl .form-control, body.ctl .form-select, body.ctl textarea, body.ctl .select2-container--default .select2-selection--single {
    background: #0b0c0f !important; border: 1px solid var(--l) !important; border-radius: 8px !important; color: #fff !important; font-family: inherit; }
body.ctl .form-control:focus, body.ctl .form-select:focus, body.ctl textarea:focus { border-color: var(--amb) !important; box-shadow: 0 0 0 3px rgba(255,176,32,.15) !important; }
body.ctl .form-label, body.ctl label, body.ctl .col-form-label { letter-spacing: .08em; text-transform: uppercase; font-size: 12px !important; color: #a3a9b8; }
body.ctl .btn { border-radius: 8px !important; font-family: inherit; letter-spacing: .12em; text-transform: uppercase; font-size: 13px; font-weight: 700; box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 3px 0 #000 !important; }
body.ctl .btn:hover { transform: translateY(1px); box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 2px 0 #000 !important; }
body.ctl .btn-primary { background: linear-gradient(#6a1010, #350707) !important; border: 1px solid var(--red) !important; color: #fff !important; }
body.ctl .btn-secondary, body.ctl .btn-light { background: linear-gradient(#22252d, #16181d) !important; border: 1px solid var(--l) !important; color: var(--t) !important; }
body.ctl .btn-danger { background: linear-gradient(#6a1010, #350707) !important; border: 1px solid var(--red) !important; }
body.ctl .nsofts-switch input:checked ~ .nsofts-switch__label { background-color: var(--grn) !important; box-shadow: 0 0 12px rgba(59,227,122,.45); }
body.ctl .el-cmd-box { background: #15171c; border-color: var(--l); border-radius: 12px; font-family: 'Oxanium', sans-serif; }
body.ctl .el-cmd-item.sel { background: rgba(255,42,42,.12); box-shadow: inset 3px 0 0 var(--red); }
body.ctl .el-cmd-item.sel i { background: var(--red); }
body.ctl .pagination .page-link { border-radius: 6px !important; background: #0e1014 !important; border-color: var(--l) !important; }
body.ctl .pagination .page-item.active .page-link { background: var(--red) !important; border-color: var(--red) !important; }

/* imagem ainda não enviada: placeholder discreto */
body.ctl img[src$="300x300.jpg"] { opacity: .08; filter: grayscale(1); }
/* configurações com uma aba só: sem coluna lateral */
body.ctl .nsofts-setting:has(.nsofts-setting__sidebar .nav-link:only-child) { grid-template-columns: minmax(0, 1fr); }
body.ctl .nsofts-setting:has(.nsofts-setting__sidebar .nav-link:only-child) .nsofts-setting__sidebar { display: none !important; }

/* luz de "no ar" reutilizável */
.ctl-tl { display: inline-block; font-size: 10px; font-weight: 800; letter-spacing: .15em; padding: 3px 7px; border-radius: 3px; background: var(--red); color: #fff; line-height: 1.3; }
.ctl-tl.off { background: #333; color: #999; }
.ctl-tl.amb { background: var(--amb); color: #000; }
.ctl-tl.grn { background: var(--grn); color: #000; }

/* ---------- Monitor (início) ---------- */
body.ctl .ctl-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 14px; }
body.ctl .ctl-wall { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; align-content: start; }
body.ctl .mon { position: relative; aspect-ratio: 16 / 10; border-radius: 8px; overflow: hidden; background: #050608; border: 2px solid #000; box-shadow: inset 0 0 0 1px var(--l);
    padding: 12px 14px; display: flex; flex-direction: column; text-decoration: none; color: var(--t); transition: box-shadow .2s; }
body.ctl .mon:after { content: ''; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 1px, transparent 1px 3px); }
body.ctl a.mon:hover { box-shadow: inset 0 0 0 1px var(--red), 0 0 22px rgba(255,42,42,.2); color: var(--t); }
body.ctl .mon .ctl-tl { position: absolute; top: 10px; right: 10px; z-index: 1; margin: 0; font-size: 10px; color: #fff; }
body.ctl .mon .ctl-tl.amb, body.ctl .mon .ctl-tl.grn { color: #000; }
body.ctl .mon .ctl-tl.off { color: #999; }
body.ctl .mon small { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--d); padding-right: 54px; }
body.ctl .mon b { font-size: 42px; font-weight: 800; line-height: 1; margin-top: auto; font-variant-numeric: tabular-nums; color: #fff; }
body.ctl .mon span { font-size: 12.5px; color: var(--d); margin-top: 5px; }
body.ctl .mon.big { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; background: linear-gradient(160deg, #0d1a12, #050608); }
body.ctl .mon.big b { font-size: 104px; color: var(--grn); text-shadow: 0 0 30px rgba(59,227,122,.35); }
body.ctl .mon .wave { display: flex; align-items: flex-end; gap: 3px; height: 58px; margin-top: 16px; }
body.ctl .mon .wave i { flex: 1; background: var(--grn); opacity: .7; border-radius: 2px 2px 0 0; animation: ctl-eq 1.2s ease-in-out infinite alternate; }
body.ctl .ctl-side { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
body.ctl .ctl-panel { background: var(--p); border: 1px solid var(--l); border-radius: 10px; padding: 14px 16px; }
body.ctl .ctl-panel h3 { margin: 0 0 14px; font-size: 11.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--d); font-weight: 600; display: flex; justify-content: space-between; gap: 10px; }
body.ctl .ctl-panel h3 a { color: var(--amb); text-decoration: none; letter-spacing: .14em; }
body.ctl .meter { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 5px 10px; margin-bottom: 13px; font-size: 13.5px; }
body.ctl .meter > span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.ctl .meter .bar { grid-column: 1 / -1; display: flex; gap: 2px; }
body.ctl .meter .bar i { flex: 1; height: 8px; background: #23262e; border-radius: 1px; }
body.ctl .meter .bar i.on { background: var(--grn); } body.ctl .meter .bar i.on.y { background: var(--amb); } body.ctl .meter .bar i.on.r { background: var(--red); }
body.ctl .meter a { color: inherit; text-decoration: none; }
body.ctl .meter .ping-sub { grid-column: 1 / -1; font-size: 11.5px; color: var(--d); letter-spacing: .06em; }
body.ctl .meter .ping-ms { font-weight: 700; transition: color .3s; }
body.ctl .meter a:hover { color: #fff; }
body.ctl .ctl-ticker { margin-top: 14px; display: flex; align-items: center; background: #000; border: 1px solid var(--l); border-radius: 8px; overflow: hidden; font-size: 13.5px; }
body.ctl .ctl-ticker strong { background: var(--red); color: #fff; padding: 11px 16px; letter-spacing: .22em; font-weight: 800; flex: 0 0 auto; }
body.ctl .ctl-ticker div { white-space: nowrap; overflow: hidden; flex: 1; min-width: 0; }
body.ctl .ctl-ticker div span { display: inline-block; padding-left: 100%; animation: ctl-tick 40s linear infinite; color: var(--amb); }
body.ctl .ctl-ticker:hover div span { animation-play-state: paused; }
body.ctl .ctl-act { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
body.ctl .ctl-act a { display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; padding: 17px 10px; border-radius: 8px; text-decoration: none;
    color: var(--t); background: linear-gradient(#22252d, #16181d); border: 1px solid var(--l); box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 3px 0 #000; transition: transform .1s, border-color .15s; }
body.ctl .ctl-act a:hover { border-color: var(--red); color: #fff; transform: translateY(1px); box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 2px 0 #000; }
body.ctl .ctl-act a.rec { background: linear-gradient(#5a0d0d, #2b0606); border-color: var(--red); color: #fff; }
body.ctl .ctl-scope { margin-top: 14px; background: #050608; border: 2px solid #000; box-shadow: inset 0 0 0 1px var(--l); border-radius: 8px; padding: 14px 16px; position: relative; }
body.ctl .ctl-scope h3 { margin: 0 0 8px; font-size: 11.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--d); font-weight: 600; display: flex; justify-content: space-between; }
body.ctl .ctl-scope h3 b { color: var(--grn); }

/* ---------- login ---------- */
body.ctl.el-login .el-orb { display: none; }
body.ctl .el-login-show { background: linear-gradient(160deg, #0d1a12, #050608) !important; border: 2px solid #000 !important; box-shadow: inset 0 0 0 1px var(--l), 0 40px 100px rgba(0,0,0,.6) !important; border-radius: 12px !important; }
body.ctl .el-login-show:after { content: ''; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(255,255,255,.03) 0 1px, transparent 1px 3px); }
body.ctl .el-login-brand b { letter-spacing: .28em; font-weight: 800; }
body.ctl .el-login-brand .ctl-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--red); box-shadow: 0 0 14px var(--red); animation: ctl-tally 1.6s infinite; }
body.ctl .el-login-show h1 { font-weight: 800; letter-spacing: .02em; }
body.ctl .el-login-show h1 span { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--grn); text-shadow: 0 0 24px rgba(59,227,122,.35); }
body.ctl .el-dev { border-radius: 8px; background: #0b0c0f; border: 1px solid var(--l); animation: none; }
body.ctl .el-dev i { border-radius: 6px; background: transparent; border: 1px solid var(--l); color: var(--t); }
body.ctl .el-signal i { background: var(--grn); opacity: .7; }
body.ctl .el-login-card { background: var(--p) !important; border: 1px solid var(--l) !important; border-radius: 12px !important; box-shadow: 0 40px 100px rgba(0,0,0,.6) !important; }
body.ctl .el-lock { border-radius: 8px; background: #050608; border: 1px solid var(--red); box-shadow: 0 0 18px rgba(255,42,42,.3); color: var(--red); }
body.ctl .el-login-head h2 { letter-spacing: .14em; text-transform: uppercase; font-weight: 800; font-size: 22px; }
body.ctl .el-field > span { letter-spacing: .14em; text-transform: uppercase; font-size: 11.5px; }
body.ctl .el-field > div { border-radius: 8px; background: #0b0c0f; border: 1px solid var(--l); }
body.ctl .el-field > div:focus-within { border-color: var(--amb); box-shadow: 0 0 0 3px rgba(255,176,32,.15); }
body.ctl .el-field > div:focus-within > i { color: var(--amb); }
body.ctl .el-go { border-radius: 8px; background: linear-gradient(#6a1010, #350707); border: 1px solid var(--red); letter-spacing: .2em; text-transform: uppercase; box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 4px 0 #000; }
body.ctl .el-login-alert { border-radius: 8px; }

/* ---------- celular ---------- */
@media (max-width: 1100px) {
    body.ctl #nsofts_header.ctl-top { grid-template-columns: 1fr auto; top: 0; margin: 0; border-radius: 0; }
    body.ctl .ctl-nav { grid-column: 1 / -1; order: 3; justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
    body.ctl .ctl-nav::-webkit-scrollbar { display: none; }
    body.ctl .ctl-grid { grid-template-columns: 1fr; }
    body.ctl .ctl-act { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    body.ctl .ctl-brand em, body.ctl .ctl-user-name, body.ctl .ctl-clock small { display: none; }
    body.ctl .ctl-clock b { font-size: 22px; }
    body.ctl .ctl-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    body.ctl .mon.big b { font-size: 64px; }
    body.ctl .mon b { font-size: 32px; }
}

body.ctl .ctl-note { margin: -6px 0 14px; font-size: 12px; line-height: 1.5; color: var(--d); }
body.ctl .ctl-note b { color: var(--t); }

/* menus suspensos da barra (painéis com muitos itens) */
body.ctl .ctl-dd { position: relative; outline: 0; }
body.ctl .ctl-dd-t { display: inline-flex; align-items: center; gap: 2px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--d); padding: 9px 13px; border-radius: 7px; border: 1px solid transparent; cursor: pointer; white-space: nowrap; }
body.ctl .ctl-dd-t i { font-size: 16px; letter-spacing: 0; }
body.ctl .ctl-dd:hover .ctl-dd-t, body.ctl .ctl-dd:focus-within .ctl-dd-t { color: #fff; border-color: var(--l); }
body.ctl .ctl-dd-t.on { color: #fff; border-color: var(--red); background: rgba(255,42,42,.12); box-shadow: 0 0 14px rgba(255,42,42,.2); }
body.ctl .ctl-dd-menu { position: absolute; left: 0; top: calc(100% + 8px); min-width: 230px; padding: 6px; border-radius: 10px; display: none; z-index: 120; background: #15171c; border: 1px solid var(--l); box-shadow: 0 24px 60px rgba(0,0,0,.6); }
body.ctl .ctl-dd-menu:before { content: ''; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
body.ctl .ctl-dd:hover .ctl-dd-menu, body.ctl .ctl-dd:focus-within .ctl-dd-menu { display: block; }
body.ctl .ctl-dd-menu a { display: block; padding: 10px 12px; border-radius: 7px; color: var(--t); text-decoration: none; font-size: 14px; font-weight: 500; letter-spacing: 0; text-transform: none; white-space: nowrap; }
body.ctl .ctl-dd-menu a:hover { background: #20232b; color: #fff; }
body.ctl .ctl-dd-menu a.on { color: #fff; box-shadow: inset 3px 0 0 var(--red); background: #1b1e25; }
@media (max-width: 1100px) { body.ctl .ctl-nav { overflow: visible; flex-wrap: wrap; } }
