@font-face{font-family:Red Hat Text;src:url('fonts/red-hat-text.woff2') format('woff2');font-weight:300 700;font-display:swap}
@font-face{font-family:Red Hat Display;src:url('fonts/red-hat-display.woff2') format('woff2');font-weight:300 900;font-display:swap}
:root{font-family:'Red Hat Text',sans-serif;color:#1a1b1c;background:#fff;font-size:14px;--blue:#0757b8;--muted:#606b78;--line:#e8edf3;--paper:#fff;--tint:#eaf2ff;--red:#b42318;--green:#18794e;--radius:.625rem}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer;border:1px solid var(--line);background:white;padding:9px 13px;border-radius:6px;font-weight:500;transition:background .15s}button:hover:not(:disabled){background:#f2f6fc}button:disabled{opacity:.5;cursor:not-allowed}button.primary{background:var(--blue);color:white;border-color:var(--blue)}button.primary:hover{background:#07499a}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--blue);outline-offset:3px}a{color:var(--blue)}input,select,textarea{width:100%;min-width:0;border:1px solid #d9e2ee;background:white;border-radius:6px;padding:9px}textarea{font-family:ui-monospace,monospace;font-size:13px}input[type=checkbox]{width:16px;height:16px;accent-color:var(--blue)}label{display:grid;gap:7px;margin:14px 0;font-size:13px;font-weight:500}label.tick{display:flex;gap:9px;align-items:center;font-weight:400}.demo{position:relative;z-index:2;background:#f2f6fc;color:#17345e;padding:7px 24px;font-size:12px;letter-spacing:.02em}.shell{display:grid;grid-template-columns:256px minmax(0,1fr);min-height:calc(100vh - 32px)}aside{background:#f7f9fc;padding:0 12px 24px}.brand{position:relative;background:linear-gradient(105deg,#073d94,#0864d4);color:#fff;margin:0 -12px 22px;padding:24px}.brand:after{content:'';position:absolute;bottom:0;left:24px;width:32px;height:3px;background:linear-gradient(90deg,#ff951d,#ff6a02)}.brand strong{font-size:19px;font-weight:900;letter-spacing:-.045em;line-height:1.2}.brand small{display:block;color:#ffffffe6;font-size:12px;margin-top:5px;letter-spacing:0;font-weight:400}.nav-label{font-size:12px;color:var(--muted);padding:0 8px}.brand span{color:white}nav{display:grid;gap:4px}nav button{border:0;background:transparent;text-align:left;display:flex;align-items:center;gap:10px;font-size:14px;padding:9px 10px;font-weight:400}nav button[aria-current=page]{background:#e8f1ff;color:var(--blue);font-weight:500}.nav-icon{width:17px;height:17px;flex:none}.area{min-width:0}header{height:65px;display:flex;align-items:center;padding:12px 28px;border-bottom:1px solid var(--line);background:white}main{max-width:1600px;margin:auto;padding:30px 32px 50px;min-height:720px}h1,h2,h3{font-family:'Red Hat Display',sans-serif}h1{font-size:27px;line-height:1.2;margin:0 0 8px;letter-spacing:-.6px;font-weight:650}h2{font-size:18px;font-weight:650;margin:0 0 14px}h3{font-size:15px}p{line-height:1.6;margin:6px 0 16px}.muted,small{color:var(--muted)}small{font-size:12px}.row{display:flex;align-items:center;flex-wrap:wrap;gap:9px}.between{justify-content:space-between}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.panel{min-width:0;margin:24px 0;padding:22px 0;background:white;border:0;border-top:1px solid var(--line);border-radius:0}.grid>.panel{margin:0}.stats{margin:24px 0;gap:14px}.kpi{text-align:left;padding:18px 20px;border:0;border-radius:8px;background:#f5f7fa;font-weight:400}.kpi strong{display:block;font-size:32px;letter-spacing:-1px;font-family:'Red Hat Display',sans-serif;font-weight:650;margin:6px 0}.kpi small{display:block}.notice{padding:15px 18px;background:#f2f6fc;border-radius:6px;margin:20px 0;color:#17345e}.notice p{margin:6px 0}.pill{display:inline-block;border-radius:5px;background:#f2f6fc;color:#17345e;padding:3px 8px;font-size:12px}.danger{color:var(--red)}.good{color:var(--green)}.item{padding:15px 4px;border-bottom:1px solid var(--line);overflow-wrap:anywhere;min-width:0}.item:last-child{border-bottom:0}.item small{display:block;margin:4px 0}.tabs{margin:24px 0 16px;border-bottom:1px solid var(--line);padding-bottom:8px;gap:5px}.tabs button{border:0;background:transparent;font-size:13px}.tabs button[aria-pressed=true]{background:#e8f1ff;color:var(--blue)}.status{padding:14px 28px;background:#f7f9fc;color:var(--muted);font-size:12px}.placeholder{padding:36px 18px;text-align:center;background:#f5f7fa;color:var(--muted);border-radius:6px;min-height:120px}pre{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.5;font-size:12px;background:#f5f7fa;padding:16px;border-radius:6px}.compact .item{padding:8px 4px}.calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;margin:20px 0}.calendar button{padding:12px 2px;font-size:12px}.legend{font-size:12px;color:var(--muted)}.coverage{width:100%;border-collapse:collapse}.coverage th,.coverage td{padding:12px;text-align:left;border-bottom:1px solid var(--line);vertical-align:top}.table-wrap{overflow-x:auto}.section-tools{display:flex;gap:8px;flex-wrap:wrap;margin:15px 0}.metric{font-size:24px;font-weight:600}.empty-metric{color:var(--muted)}
@media(min-width:1300px){.stats{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
.uptime-client-picker{position:relative;min-width:220px;max-width:100%}.uptime-client-picker>label{margin-bottom:7px}.uptime-client-picker>button{width:100%;text-align:left;margin-bottom:14px}.uptime-client-panel{position:absolute;z-index:10;left:0;top:100%;width:max(100%,260px);max-width:min(90vw,380px);padding:12px;background:var(--paper);border:1px solid var(--line);border-radius:6px;box-shadow:0 8px 24px #0002}.uptime-client-options{max-height:260px;overflow:auto;display:grid;gap:4px;margin-top:8px}.uptime-client-options button{text-align:left;overflow-wrap:anywhere}.uptime-client-options button[aria-pressed=true]{background:var(--tint)}.uptime-client-options button[hidden]{display:none}
.uptime-scope,.uptime-fields{width:100%}.uptime-fields{display:grid;grid-template-columns:2fr repeat(3,minmax(0,1fr)) 2fr auto;gap:12px;align-items:end}.uptime-filter{border:1px solid var(--line);border-radius:6px;padding:10px;min-width:0;margin:14px 0}.uptime-filter legend{font-weight:500}.uptime-filter label{margin:0;flex:1;min-width:0}.uptime-scope input{min-width:130px}.uptime-fields>label{min-width:0}.uptime-fields>button{margin-bottom:14px}.uptime-fields .row{flex-wrap:nowrap}@media(max-width:850px){.uptime-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:440px){.uptime-fields{grid-template-columns:1fr}}
.login-page{min-height:100vh;display:grid;place-items:center;padding:24px}.login-card{width:min(420px,100%);padding:28px;border:1px solid var(--line);border-radius:10px;overflow:hidden}.login-card .brand{margin:-28px -28px 28px;padding:28px}.google-login{display:flex;align-items:center;justify-content:center;gap:12px;border:1px solid #747775;border-radius:4px;padding:12px 16px;text-decoration:none;color:#1f1f1f;font-family:Arial,sans-serif;font-weight:500;margin:24px 0}.google-login:hover{background:#f2f6fc}.google-letter{font-size:20px;font-weight:700;color:#4285f4}
@media(max-width:1000px){.shell{grid-template-columns:220px minmax(0,1fr)}main{padding:24px}.grid{gap:14px}.brand{padding:24px 16px}.brand strong{font-size:18px}}
@media(max-width:700px){.shell{grid-template-columns:1fr}aside{padding-bottom:12px}.brand{padding:18px 24px;margin-bottom:12px}.nav-label{display:none}nav{display:flex;gap:4px;flex-wrap:wrap}nav button{font-size:12px;min-height:44px;padding:8px}.nav-icon{width:15px;height:15px}header{padding:12px 16px;height:auto}main{padding:22px 16px}.grid{grid-template-columns:1fr}.stats{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px}.kpi{padding:13px;font-size:12px}.kpi strong{font-size:28px}h1{font-size:24px}.demo{padding:7px 16px;font-size:11px}.panel{margin:18px 0;padding:18px 0}.tabs{gap:2px}.tabs button{padding:8px}button{min-height:44px}input,textarea,select{font-size:16px}.status{padding:12px 16px}.calendar button{font-size:11px}}

/* Shared monitoring UI: existing PHP/JS behavior, local brand and shadcn-style controls. */
.monitor-page{max-width:1440px;min-height:100vh;margin:0 auto;padding:32px clamp(16px,3vw,40px) 48px}
.monitor-brand{display:flex;align-items:baseline;gap:2px;margin:0 0 24px;color:var(--blue);font-family:'Red Hat Display',sans-serif;font-size:20px;font-weight:900;letter-spacing:-.8px}
.monitor-brand span{color:#ff851b;font-size:30px;line-height:0}
.monitor-page>a{display:inline-flex;align-items:center;min-height:36px;margin-bottom:12px;font-size:13px;text-decoration:none}
.monitor-page>a:hover{text-decoration:underline}
.monitor-page h1{margin-bottom:24px;font-size:30px}
.monitor-page button{min-height:36px;border-radius:var(--radius);box-shadow:0 1px 2px #1a1b1c08}
.monitor-page button.primary:hover:not(:disabled){background:#07499a}
.monitor-page input,.monitor-page select{height:38px;border-color:#dce2e9;border-radius:var(--radius);box-shadow:0 1px 2px #1a1b1c05}
.monitor-page form[id$="-query"]{display:flex;align-items:stretch;gap:16px;padding:20px;border:1px solid var(--line);border-radius:var(--radius);background:var(--paper);box-shadow:0 1px 3px #1a1b1c06}
.monitor-page .uptime-scope{display:grid;grid-template-columns:minmax(220px,1fr) minmax(340px,2fr);align-items:end;gap:16px;padding-bottom:18px;border-bottom:1px solid var(--line)}
.monitor-page .uptime-client-picker{min-width:0;width:100%;align-self:end}
.monitor-page .uptime-client-picker>label{margin:0 0 8px}
.monitor-page .uptime-client-picker>button{margin:0;min-height:38px;display:flex;justify-content:space-between;align-items:center;overflow-wrap:anywhere}
.monitor-page .uptime-client-panel{top:calc(100% + 8px);width:100%;min-width:240px;max-width:min(90vw,420px);padding:8px;border-radius:var(--radius);box-shadow:0 8px 24px #1a1b1c14}
.monitor-page .uptime-client-options{gap:2px}
.monitor-page .uptime-client-options button{border:0;box-shadow:none;font-weight:400}
.monitor-page .uptime-client-options button[aria-pressed=true]{color:var(--blue)}
.monitor-page .uptime-client-panel p{margin:12px 8px;font-size:13px;color:var(--muted)}
.monitor-page .uptime-filter{margin:0;padding:10px 12px 12px;border-radius:var(--radius);border-color:#dce2e9}
.monitor-page .uptime-filter legend{padding:0 4px;font-size:12px;color:var(--muted)}
.monitor-page .uptime-filter label{gap:7px;font-size:12px}
.monitor-page .uptime-scope input{min-width:0}
.monitor-page .uptime-fields{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px;align-items:end}
.monitor-page .uptime-fields>label{margin:0;gap:8px}
.monitor-page .uptime-fields>button{justify-self:start;margin:0;height:38px;align-self:end}
.monitor-page form[id$="-query"]>button{align-self:flex-start}
.monitor-page [id$="-query-status"]:empty{margin:0}
.monitor-page [id$="-query-status"]:not(:empty),.monitor-page>p[role]:not(:empty){padding:12px 16px;border:1px solid var(--line);border-radius:var(--radius);background:#f7f9fc}
.monitor-page>p[role=alert]{color:var(--red);border-color:#f0c5c0;background:#fff7f6}
.monitor-page section[id$="-results"]{margin-top:24px}
.monitor-page section[id$="-results"]>form{margin-bottom:16px}
.monitor-page section[id$="-results"]>p{color:var(--muted);font-size:13px}
.monitor-table-wrap{max-width:100%;overflow-x:auto;border:1px solid var(--line);border-radius:var(--radius)}
.monitor-table-wrap table{width:100%;border-collapse:collapse;font-size:13px}
.monitor-table-wrap th,.monitor-table-wrap td{text-align:left;padding:12px 16px;border-bottom:1px solid var(--line);vertical-align:top}
.monitor-table-wrap th{background:#f7f9fc;color:var(--muted);font-weight:500;white-space:nowrap}
.monitor-table-wrap th button{display:inline-flex;align-items:center;gap:6px;padding:4px 0;border:0;background:transparent;border-radius:4px;box-shadow:none;font-size:12px;text-align:left;color:inherit}
.monitor-table-wrap th[aria-sort=ascending],.monitor-table-wrap th[aria-sort=descending]{color:var(--blue)}
.monitor-table-wrap th button:hover:not(:disabled){background:var(--tint)}
.monitor-table-wrap tbody tr:hover{background:#f8faff}
.monitor-table-wrap tbody tr:last-child td{border-bottom:0}
.monitor-table-wrap td{min-width:100px;max-width:360px;overflow-wrap:anywhere}
.monitor-table-wrap td:first-child{white-space:nowrap;font-variant-numeric:tabular-nums}
.monitor-table-wrap summary{cursor:pointer;color:var(--blue);white-space:nowrap}
.monitor-table-wrap dt{font-weight:500;margin-top:10px}
.monitor-table-wrap dd{margin:4px 0 12px;min-width:200px;max-width:320px;overflow-wrap:anywhere}
.monitor-page nav[aria-label="Páginas de resultados"]{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px;margin-top:16px}
.monitor-page nav[aria-label="Páginas de resultados"] button{border:1px solid var(--line);background:var(--paper);font-size:13px;font-weight:500;padding:8px 14px}
@media(max-width:700px){.monitor-page{padding:20px 16px 32px}.monitor-page h1{font-size:26px}.monitor-page form[id$="-query"]{padding:16px}.monitor-page .uptime-scope{grid-template-columns:1fr;gap:18px}.monitor-page .uptime-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.monitor-page button{min-height:44px}.monitor-page .uptime-fields>button{height:auto}.monitor-page input,.monitor-page select{height:44px}.monitor-page .uptime-client-panel{min-width:0}.monitor-table-wrap th,.monitor-table-wrap td{padding:10px 12px}}
@media(max-width:480px){.monitor-page .uptime-fields{grid-template-columns:1fr}.monitor-page .uptime-filter .row{flex-wrap:wrap}.monitor-page .uptime-filter label{min-width:110px}.monitor-page nav[aria-label="Páginas de resultados"]{justify-content:space-between}}
.nsc-button-spinner{display:inline-block;width:1em;height:1em;margin-right:.5em;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;vertical-align:-.1em;animation:nsc-button-spin .8s linear infinite}
@keyframes nsc-button-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.nsc-button-spinner{animation-duration:2s}}

/* Dashboard home adopts the monitoring brand without changing demo behavior or login. */
.home-dashboard{background:var(--paper)}
.home-dashboard .demo{padding:10px 24px;border-bottom:1px solid var(--line);background:#f7f9fc;color:var(--muted);line-height:1.5}
.home-dashboard aside{background:var(--paper);border-right:1px solid var(--line);padding:0 12px 24px}
.home-dashboard .brand{background:var(--paper);color:var(--blue);margin:0 -12px 20px;padding:28px 24px 24px;border-bottom:1px solid var(--line)}
.home-dashboard .brand:after{display:none}
.home-dashboard .brand .monitor-brand{margin:0;gap:2px;color:var(--blue);font-size:20px;letter-spacing:-.8px}
.home-dashboard .brand .monitor-brand span{color:#ff851b;font-size:30px}
.home-dashboard .brand small{margin-top:10px;color:var(--muted);line-height:1.5}
.home-dashboard .nav-label{margin:0 0 10px;font-size:12px}
.home-dashboard nav[aria-label=Secciones] button{border-radius:var(--radius);min-height:40px;padding:10px 12px}
.home-dashboard nav[aria-label=Secciones] button:hover{background:#f7f9fc}
.home-dashboard nav[aria-label=Secciones] button[aria-current=page]{background:var(--tint);color:var(--blue);font-weight:600}
.home-dashboard header{height:auto;min-height:72px;gap:12px;padding:16px 28px}
.home-dashboard header>a{display:inline-flex;align-items:center;min-height:36px;font-size:13px;text-decoration:none}
.home-dashboard header>a:hover{text-decoration:underline}
.home-dashboard header form{min-width:0;font-size:12px}
.home-dashboard header form>span{overflow-wrap:anywhere}
.home-dashboard main{padding:32px clamp(16px,3vw,40px) 48px}
.home-dashboard button{border-radius:var(--radius);box-shadow:0 1px 2px #1a1b1c08;min-height:36px}
.home-dashboard button.primary:hover:not(:disabled){background:#07499a}
.home-dashboard input:not([type=checkbox]),.home-dashboard select,.home-dashboard textarea{border-color:#dce2e9;border-radius:var(--radius);box-shadow:0 1px 2px #1a1b1c05}
.home-dashboard .panel{padding:22px;border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 1px 3px #1a1b1c06}
.home-dashboard .grid>.panel{margin:0}
.home-dashboard .stats{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))!important}
.home-dashboard .kpi{padding:20px;border:1px solid var(--line);background:var(--paper);border-radius:var(--radius);box-shadow:0 1px 3px #1a1b1c06}
.home-dashboard .kpi:hover:not(:disabled){background:#f8faff;border-color:#bdd2ef}
.home-dashboard .kpi strong{margin:10px 0;font-variant-numeric:tabular-nums}
.home-dashboard .notice{border:1px solid #dce8fa;border-radius:var(--radius);background:#f4f8ff;color:#17345e}
.home-dashboard .pill{border:1px solid var(--line);border-radius:6px;background:#f7f9fc;font-weight:500}
.home-dashboard .tabs{gap:4px;padding:4px;border:1px solid var(--line);border-radius:var(--radius);background:#f7f9fc}
.home-dashboard .tabs button{box-shadow:none}
.home-dashboard .tabs button[aria-pressed=true]{background:var(--paper);color:var(--blue);box-shadow:0 1px 3px #1a1b1c14}
.home-dashboard .table-wrap{border:1px solid var(--line);border-radius:var(--radius)}
.home-dashboard .coverage th{background:#f7f9fc;color:var(--muted);font-size:12px;font-weight:500}
.home-dashboard .coverage tbody tr:hover{background:#f8faff}
.home-dashboard .coverage tbody tr:last-child td{border-bottom:0}
.home-dashboard .status{padding:14px 28px;border-top:1px solid var(--line);background:var(--paper)}
@media(max-width:1000px){.home-dashboard .brand{padding:24px 16px}.home-dashboard .brand .monitor-brand{font-size:18px}.home-dashboard .panel{padding:18px}}
@media(max-width:700px){.home-dashboard aside{border-right:0;border-bottom:1px solid var(--line);padding-bottom:12px}.home-dashboard .brand{padding:20px 16px;margin-bottom:12px}.home-dashboard .brand .monitor-brand{font-size:20px}.home-dashboard nav[aria-label=Secciones]{gap:4px}.home-dashboard nav[aria-label=Secciones] button{min-height:44px;padding:8px 10px}.home-dashboard header{padding:14px 16px}.home-dashboard main{padding:24px 16px 32px}.home-dashboard .panel{padding:16px}.home-dashboard .stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}.home-dashboard .kpi{padding:14px}.home-dashboard button{min-height:44px}.home-dashboard .demo{padding:9px 16px}.home-dashboard .status{padding:12px 16px}}

.module-host{max-width:1600px;margin:auto;padding:32px clamp(16px,3vw,40px) 48px;min-width:0}
.module-host[hidden],.nsc-module-frame[hidden],.home-dashboard main[hidden]{display:none}
.nsc-module-frame{display:block;width:100%;height:600px;min-height:500px;border:0;background:var(--paper)}
.nsc-frame-loading{visibility:hidden}
.nsc-embedded-module .monitor-page{max-width:none;min-height:0;margin:0;padding:0 12px 24px}
.nsc-embedded-module .monitor-page>.monitor-brand,.nsc-embedded-module .monitor-page>a{display:none}
.nsc-evidence-dialog{width:min(1100px,calc(100vw - 32px));max-width:none;height:min(900px,90dvh);max-height:90dvh;padding:0;border:1px solid var(--line);border-radius:var(--radius);background:var(--paper);color:var(--text);box-shadow:0 20px 60px #0003}
.nsc-evidence-dialog::backdrop{background:#10182880}
.nsc-evidence-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 20px;border-bottom:1px solid var(--line)}
.nsc-evidence-header h2{margin:0;font-size:18px;min-width:0}
.nsc-evidence-dialog>p{margin:12px 20px}
.nsc-evidence-frame{display:block;width:100%;height:calc(100% - 75px);border:0;padding:12px;box-sizing:border-box;background:var(--paper)}
@media(max-width:700px){.module-host{padding:24px 16px 32px}.nsc-evidence-dialog{width:calc(100vw - 16px);height:92dvh;max-height:92dvh}.nsc-evidence-header{padding:12px;gap:8px}.nsc-evidence-header h2{font-size:16px}.nsc-evidence-frame{padding:8px}}

/* LOGIN-BRAND:BEGIN — presentation only, scoped to the sign-in page. */
.home-dashboard .module-navigation{min-width:0}
.home-dashboard .module-navigation>summary{display:flex;align-items:center;gap:10px;padding:10px 12px;min-height:40px;border-radius:var(--radius);cursor:pointer;font-size:14px;font-weight:400;list-style:none}
.home-dashboard .module-navigation>summary::-webkit-details-marker{display:none}
.home-dashboard .module-chevron{width:15px;height:15px;margin-left:auto;flex:none;transition:transform .15s ease}
.home-dashboard .module-navigation[open] .module-chevron{transform:rotate(90deg)}
.home-dashboard .module-navigation[data-active]>summary,.home-dashboard .module-submenu a[aria-current=page]{background:var(--tint);color:var(--blue);font-weight:600}
.home-dashboard .module-navigation>summary:hover,.home-dashboard .module-submenu a:hover{background:#f7f9fc}
.home-dashboard .module-submenu{display:grid;gap:2px;padding:4px 0 4px 12px}
.home-dashboard .module-submenu a{display:block;padding:10px 12px;min-height:40px;border-radius:var(--radius);color:inherit;text-decoration:none;font-size:14px;overflow-wrap:anywhere}
.home-dashboard .module-submenu button{font-size:14px}
.home-dashboard .module-submenu a:focus-visible,.home-dashboard .module-navigation>summary:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.home-dashboard .alert-description{flex:1;min-width:0;overflow-wrap:anywhere}
.home-dashboard .alert-description p{margin:8px 0;font-size:14px;line-height:1.5}
.home-dashboard .alert-description details{margin-top:8px;font-size:14px}
.home-dashboard .alert-description summary{cursor:pointer;color:var(--blue)}
.home-dashboard .alert-result-link{display:block;padding:5px 0}
@media(max-width:700px){.home-dashboard .module-navigation>summary{min-height:44px;padding:8px 10px;font-size:12px}.home-dashboard .module-submenu a{min-height:44px}.home-dashboard .module-navigation[open]{flex-basis:100%}.home-dashboard .module-submenu{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}}
.login-page{padding:24px 16px;background:var(--paper)}
.login-page .login-card{padding:32px;border-radius:var(--radius);box-shadow:0 2px 8px #1a1b1c08}
.login-page .brand{margin:0 0 28px;padding:0 0 24px;background:var(--paper);color:var(--blue);border-bottom:1px solid var(--line)}
.login-page .brand:after{display:none}
.login-page .brand .monitor-brand{margin:0;gap:2px;font-size:22px;color:var(--blue);letter-spacing:-.8px}
.login-page .brand .monitor-brand span{color:#ff851b;font-size:32px}
.login-page .brand small{margin-top:10px;line-height:1.5;color:var(--muted)}
.login-page h1{font-size:26px;margin-bottom:12px}
.login-page .google-login{min-height:44px;border-color:var(--blue);border-radius:var(--radius);background:var(--blue);color:#fff;font-family:inherit;font-weight:600;box-shadow:0 1px 2px #1a1b1c08}
.login-page .google-login:hover{background:#07499a;border-color:#07499a}
.login-page .login-card>p:last-child{margin-bottom:0;font-size:13px;line-height:1.6}
@media(max-width:480px){.login-page .login-card{padding:24px}.login-page .brand .monitor-brand{font-size:20px}.login-page h1{font-size:24px}}
/* LOGIN-BRAND:END */
/* Shared issue cards: home and Problems use the same server template. */
.home-dashboard .problem-navigation-link{display:flex;align-items:center;gap:10px;min-height:40px;padding:10px 12px;border-radius:var(--radius);font-size:14px;font-weight:400;color:inherit;text-decoration:none}
.home-dashboard .problem-navigation-link:hover{background:#f7f9fc}
.home-dashboard .problem-navigation-link[aria-current=page]{background:var(--tint);color:var(--blue);font-weight:600}
@media(max-width:700px){.home-dashboard .problem-navigation-link{min-height:44px;padding:8px 10px;font-size:12px}}
#nsc-v2 .problem-card{padding:20px 0;border-bottom:1px solid var(--border,#dce6e6)}
.module-problems{margin:28px 0;padding-top:16px;border-top:1px solid var(--border,#dce6e6)}
.module-problems .problem-card{padding:20px 0;border-bottom:1px solid var(--border,#dce6e6)}
.module-problems .problem-facts{display:grid;grid-template-columns:170px minmax(0,1fr);gap:8px 16px;margin:16px 0}
.module-problems .problem-facts dd{margin:0;overflow-wrap:anywhere}
.module-problems .problem-facts dt{color:#577079;font-size:13px}
.module-problems .problem-actions,.module-problems .problem-actions form{display:flex;gap:8px;flex-wrap:wrap}
.problem-bulk{display:flex;flex-wrap:wrap;align-items:end;gap:12px;margin:16px 0}
.problem-select{display:flex!important;align-items:center;gap:6px;font-size:13px;margin-bottom:10px}
.problem-select input,.problem-bulk input[type=checkbox]{width:18px;height:18px;min-height:0;min-width:0;flex:0 0 18px}
[data-problem-bulk] button[aria-busy=true]::before,.module-problems button[aria-busy=true]::before{content:"";display:inline-block;width:12px;height:12px;margin-right:8px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:nsc-problem-spin .8s linear infinite}
@media(max-width:600px){.module-problems .problem-facts{grid-template-columns:1fr;gap:4px}.module-problems .problem-facts dd{margin-bottom:8px}}
@media(prefers-reduced-motion:reduce){[data-problem-bulk] button[aria-busy=true]::before,.module-problems button[aria-busy=true]::before{animation:none}}
#nsc-v2 .problem-facts{display:grid;grid-template-columns:170px minmax(0,1fr);gap:8px 16px;margin:16px 0}
#nsc-v2 .problem-facts dt{color:#577079;font-size:13px}
#nsc-v2 .problem-facts dd{margin:0;overflow-wrap:anywhere}
.problem-technical dd{white-space:pre-wrap;overflow-wrap:anywhere}
#nsc-v2 .problem-card p{overflow-wrap:anywhere}
#nsc-v2 .problem-actions{margin-top:15px;gap:12px;flex-wrap:wrap}
#nsc-v2 .problem-actions form{display:flex;gap:8px;flex-wrap:wrap}
#nsc-v2 .problem-filters{flex-wrap:wrap;align-items:end;gap:12px;margin-bottom:20px}
#nsc-v2 .problem-filters label{min-width:130px;display:flex;flex-direction:column}
@media(max-width:600px){#nsc-v2 .problem-filters .uptime-filter{width:100%}#nsc-v2 .problem-filters .uptime-filter .row{flex-direction:column;align-items:stretch}#nsc-v2 .problem-filters .uptime-filter label{width:100%}}
#nsc-v2 .problem-card .warning{background:#fff2d8;color:#805b12}
#nsc-v2 [data-problem-action] button[aria-busy=true]::before,#nsc-v2 [data-problem-filters] button[aria-busy=true]::before{content:"";display:inline-block;width:12px;height:12px;margin-right:8px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:nsc-problem-spin .8s linear infinite}
@keyframes nsc-problem-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){#nsc-v2 [data-problem-action] button[aria-busy=true]::before,#nsc-v2 [data-problem-filters] button[aria-busy=true]::before{animation:none}}
@media(max-width:600px){#nsc-v2 .problem-facts{grid-template-columns:1fr;gap:4px}#nsc-v2 .problem-facts dd{margin-bottom:8px}}

/* Shared quiet surfaces: hierarchy comes from space and type, not nested borders. */
:root{--surface-soft:#f6f7f9;--surface-selected:#eaf2ff}
.home-dashboard .panel,.home-dashboard .kpi{background:var(--surface-soft);border-color:transparent;box-shadow:none}
.home-dashboard .kpi{text-decoration:none;transition:background .15s}
.home-dashboard .kpi:hover:not(:disabled){background:#eef2f7;border-color:transparent}
#nsc-v2 .problem-card,.module-problems .problem-card{padding:22px;margin:12px 0;background:var(--surface-soft);border:0;border-radius:var(--radius)}
.problem-management>.panel{background:transparent;border:0;padding-left:0;padding-right:0}
.problem-card>div>strong{font-size:16px;line-height:1.5}
.problem-card .problem-select{font-weight:400;color:var(--muted)}
.problem-card:has([data-problem-select]:checked){background:var(--surface-selected)}
.problem-query{gap:16px!important;align-items:end!important;margin:20px 0 24px}
.problem-query>label,.problem-query>.uptime-filter{margin:0!important}
.problem-query>.uptime-filter{border:0;padding:0;flex:1 1 260px;min-width:0}
.problem-query>.uptime-filter legend{color:var(--muted);font-size:12px;margin-bottom:8px}
.problem-query>.uptime-filter .row{align-items:end;gap:12px}
.problem-query>.uptime-filter label{min-width:0;flex:1 1 110px;margin:0}
.problem-query input,.problem-query select{min-height:40px}
.problem-filter-accordion{order:2;width:100%;padding:12px 16px;background:var(--surface-soft);border-radius:var(--radius)}
.problem-filter-accordion>summary{cursor:pointer;min-height:28px;font-weight:500}
.problem-filter-accordion>.row{gap:16px;align-items:end;padding-top:10px}
.problem-filter-accordion label{flex:1 1 160px;min-width:0!important;margin:0;max-width:340px}
.problem-active-filters{order:3;display:flex;gap:8px;flex-wrap:wrap;width:100%}
.problem-active-filters:empty{display:none}
.problem-filter-chip{display:inline-flex;gap:6px;align-items:center;padding:3px 4px 3px 12px;border-radius:8px;background:var(--tint);color:#17345e;font-size:12px;max-width:100%;overflow-wrap:anywhere}
.problem-filter-chip button{background:transparent;border:0;padding:4px 8px;min-height:28px;flex:none;font-size:18px;line-height:1}
.problem-client-picker{position:relative;flex:1 1 220px;max-width:340px;min-width:0}
.problem-client-picker>label{margin:0!important;display:grid!important;min-width:0!important}
.problem-client-picker label>button{text-align:left;width:100%;min-height:40px}
.problem-client-panel{position:absolute;top:calc(100% + 8px);left:0;width:100%;min-width:220px;max-width:calc(100vw - 40px);z-index:20;background:var(--paper);border-radius:var(--radius);padding:12px;box-shadow:0 8px 28px #1a1b1c24}
.problem-client-options{display:grid;gap:4px;max-height:260px;overflow:auto;margin-top:8px}
.problem-client-options button{text-align:left;border:0;overflow-wrap:anywhere}
.problem-client-options button[aria-pressed=true]{background:var(--tint);color:var(--blue)}
.problem-client-panel[hidden],.problem-query [hidden]{display:none!important}
.problem-bulk{padding:16px;background:var(--surface-soft);border-radius:var(--radius);align-items:center;gap:12px 20px}
.problem-bulk[data-has-selection=true]{background:var(--surface-selected)}
.problem-bulk>label{display:flex;align-items:center;gap:10px;margin:0;font-weight:400;min-width:0}
.problem-bulk>label:has(select){margin-left:auto;flex-wrap:wrap}
.problem-bulk select{width:auto;min-width:150px}
.problem-bulk [data-problem-selected]{font-variant-numeric:tabular-nums;font-weight:600}
.problem-bulk-help{flex-basis:100%;line-height:1.5}
@media(max-width:600px){
 .problem-client-picker{max-width:none;flex-basis:100%}
 .problem-query>.uptime-filter{flex-basis:100%;width:100%}
 #nsc-v2 .problem-query>.uptime-filter .row{flex-direction:row;align-items:end}
 #nsc-v2 .problem-query>.uptime-filter label{width:auto}
 #nsc-v2 .problem-card,.module-problems .problem-card{padding:16px}
 .problem-bulk>label:has(select){margin-left:0;width:100%}
 .problem-bulk select{flex:1;min-width:0}
 .problem-bulk>button{flex:1 1 150px}
 .problem-filter-chip button{min-width:36px;min-height:36px}
}
