.nws {
  --nws-bg: #f3f7f4;
  --nws-card: #ffffff;
  --nws-ink: #14251f;
  --nws-muted: #5d6f66;
  --nws-line: #dce6df;
  --nws-accent: #147a4d;
  --nws-accent-soft: #e3f6ea;
  --nws-good: #15965f;
  --nws-good-soft: #e4f7ec;
  --nws-problem: #c93e49;
  --nws-problem-soft: #fff0f1;
  --nws-working: #456fe5;
  --nws-working-soft: #edf1ff;
  --nws-waiting: #78857f;
  width: min(1280px, calc(100% - 40px));
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 0 80px;
  color: var(--nws-ink);
  font-size: 16px;
}

.nws *, .nws *::before, .nws *::after { box-sizing: border-box; }
.nws a { color: inherit; }
.nws button, .nws input, .nws select, .nws textarea { font: inherit; }
.nws h1, .nws h2, .nws h3, .nws p { overflow-wrap: break-word; }
.nws h1 { font-size: clamp(38px, 5vw, 62px); line-height: 1.02; letter-spacing: -.045em; margin: 0 0 18px; max-width: 850px; }
.nws h2 { font-size: clamp(25px, 3vw, 34px); line-height: 1.15; letter-spacing: -.025em; margin: 0 0 12px; }
.nws h3 { font-size: 19px; line-height: 1.3; margin: 0 0 10px; }
.nws p { line-height: 1.65; }
.nws small { font-size: 14px; }
.nws-kicker { display: block; color: var(--nws-accent); font-size: 12px; font-weight: 850; letter-spacing: .16em; line-height: 1.5; text-transform: uppercase; margin-bottom: 12px; }
.nws-lead { color: var(--nws-muted); font-size: clamp(17px, 2vw, 20px); line-height: 1.6; max-width: 760px; margin: 0; }
.nws-muted { color: var(--nws-muted); }
.nws-small { font-size: 14px; color: var(--nws-muted); line-height: 1.55; }
.nws-help { display: block; margin-top: 7px; color: var(--nws-muted); font-size: 14px; line-height: 1.55; font-weight: 400; }
.nws-hero { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; margin-bottom: 28px; }
.nws-hero .nws-actions { flex: 0 0 auto; margin-top: 8px; }
.nws-section { margin: 38px 0; scroll-margin-top: 24px; }
.nws-section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 18px; }
.nws-section-heading p { margin-bottom: 0; }

.nws-nav { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 30px; }
.nws-nav > a { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 12px 19px; border: 1px solid var(--nws-line); border-radius: 13px; background: var(--nws-card); color: var(--nws-ink); text-decoration: none; font-weight: 760; font-size: 15px; transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.nws-nav > a:hover, .nws-nav > a:focus-visible, .nws-nav > a.active { border-color: var(--nws-accent); background: var(--nws-accent-soft); color: var(--nws-accent); transform: translateY(-1px); }
.nws-nav > a.nws-danger-link { border-color: #d68e94; background: var(--nws-problem-soft); color: #9f2731; }
.nws-nav > a.nws-danger-link:hover, .nws-nav > a.nws-danger-link:focus-visible { border-color: #ad3039; background: #fee1e4; color: #8f1e27; }
.nws-report-nav { align-items: center; }
.nws-report-nav form { margin: 0; }

.nws-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 18px 0; }
.nws-button, button.nws-button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; border: 1px solid var(--nws-accent); border-radius: 12px; background: var(--nws-accent); color: #fff !important; padding: 12px 19px; font-weight: 780; font-size: 15px; line-height: 1.2; text-decoration: none; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.nws-button:hover, .nws-button:focus-visible { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(20, 122, 77, .18); }
.nws-button.secondary { background: var(--nws-card); color: var(--nws-accent) !important; }
.nws-button.danger { background: #ad3039; border-color: #ad3039; }
.nws-button.small { min-height: 38px; padding: 8px 12px; font-size: 13px; }
.nws-copy-status { display: inline-block; margin-left: 6px; font-size: 14px; color: var(--nws-accent); }

.nws-card { background: var(--nws-card); border: 1px solid var(--nws-line); border-radius: 20px; padding: 24px; margin: 18px 0; box-shadow: 0 12px 34px rgba(20, 37, 31, .045); }
.nws-danger-zone { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(260px, .7fr); align-items: center; gap: 28px; margin: 22px 0 28px; padding: 26px; scroll-margin-top: 24px; border: 2px solid #c8545e; border-radius: 20px; background: var(--nws-problem-soft); box-shadow: 0 12px 32px rgba(173, 48, 57, .09); }
.nws-danger-zone .nws-kicker { color: #a42934; }
.nws-danger-zone h2 { color: #8f1e27; }
.nws-danger-zone p { margin: 10px 0 0; line-height: 1.6; }
.nws-danger-zone .nws-form { padding: 18px; border: 1px solid #dda0a6; border-radius: 15px; background: var(--nws-card); }
.nws-danger-zone .nws-form input { border-color: #bd6871; }
.nws-danger-zone .nws-button { width: 100%; }
.nws-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 22px 0; }
.nws-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nws-grid .nws-card { margin: 0; }
.nws-stat small { display: block; color: var(--nws-muted); font-weight: 700; }
.nws-stat strong { display: block; font-size: 38px; line-height: 1.15; letter-spacing: -.03em; margin: 10px 0 7px; }
.nws-stat > span { display: block; }
.nws-report-stats .nws-card { min-height: 170px; }

.nws-status { display: inline-flex; align-items: center; gap: 8px; width: fit-content; border-radius: 999px; padding: 7px 11px; font-size: 13px; font-weight: 850; line-height: 1; white-space: nowrap; }
.nws-status i { display: inline-block; width: 9px; height: 9px; flex: 0 0 9px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 14%, transparent); font-style: normal; }
.nws-good { color: var(--nws-good); }
.nws-problem { color: var(--nws-problem); }
.nws-working { color: var(--nws-working); }
.nws-waiting { color: var(--nws-waiting); }
.nws-status.nws-good { background: var(--nws-good-soft); }
.nws-status.nws-problem { background: var(--nws-problem-soft); }
.nws-status.nws-working { background: var(--nws-working-soft); }
.nws-status.nws-waiting { background: var(--nws-bg); }

.nws-live-shell { position: relative; isolation: isolate; overflow: hidden; scroll-margin-top: 24px; border: 1px solid var(--nws-line); border-radius: 28px; padding: clamp(22px, 4vw, 38px); background: linear-gradient(145deg, var(--nws-card) 20%, var(--nws-good-soft) 140%); box-shadow: 0 24px 70px rgba(20, 37, 31, .08); }
.nws-live-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.nws-live-heading p { margin-bottom: 0; }
.nws-connection-wrap { display: grid; justify-items: end; gap: 7px; flex: 0 0 auto; }
.nws-connection-wrap small { color: var(--nws-muted); }
.nws-connection { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 8px 12px; background: var(--nws-working-soft); color: var(--nws-working); font-size: 13px; font-weight: 850; }
.nws-connection::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.nws-connection.online { color: var(--nws-good); background: var(--nws-good-soft); }
.nws-connection.offline { color: var(--nws-problem); background: var(--nws-problem-soft); }
.nws-live-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 28px 0 22px; }
.nws-live-stat { border: 1px solid var(--nws-line); border-radius: 17px; padding: 18px; background: color-mix(in srgb, var(--nws-card) 90%, transparent); }
.nws-live-stat span { display: block; color: var(--nws-muted); font-size: 14px; font-weight: 720; }
.nws-live-stat strong { display: block; margin-top: 8px; font-size: 38px; line-height: 1; }
.nws-live-stat.good strong { color: var(--nws-good); }
.nws-live-stat.problem strong { color: var(--nws-problem); }
.nws-live-stat.working strong { color: var(--nws-working); }

.nws-tracker { position: relative; overflow: hidden; border: 1px solid var(--nws-line); border-radius: 20px; padding: 24px; background: var(--nws-card); }
.nws-tracker::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--nws-line); pointer-events: none; }
.nws-tracker-beam { position: absolute; z-index: 0; top: 0; bottom: 0; width: 22%; left: -25%; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--nws-working) 9%, transparent), transparent); pointer-events: none; animation: nws-beam 7s linear infinite; }
.nws-site-nodes { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.nws-site-node { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 12px; min-height: 84px; border: 1px solid var(--nws-line); border-radius: 16px; padding: 15px; background: var(--nws-card); color: var(--nws-ink); text-decoration: none; box-shadow: 0 8px 24px rgba(20, 37, 31, .06); transition: transform .25s ease, border-color .25s ease; }
.nws-site-node:hover, .nws-site-node:focus-visible { transform: translateY(-4px); border-color: currentColor; }
.nws-node-orb { position: relative; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: currentColor; color: inherit; }
.nws-node-orb::before { content: ''; width: 12px; height: 12px; border-radius: 50%; background: var(--nws-card); }
.nws-site-node.working .nws-node-orb::after { content: ''; position: absolute; inset: -5px; border: 2px solid currentColor; border-radius: 50%; animation: nws-node-pulse 1.8s ease-out infinite; }
.nws-node-copy { min-width: 0; }
.nws-node-copy strong, .nws-node-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nws-node-copy strong { color: var(--nws-ink); font-size: 15px; }
.nws-node-copy small { margin-top: 5px; color: currentColor; font-weight: 750; }
.nws-empty-live { grid-column: 1 / -1; padding: 24px; color: var(--nws-muted); text-align: center; }

.nws-live-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.nws-live-feed { min-width: 0; border: 1px solid var(--nws-line); border-radius: 20px; padding: 21px; background: var(--nws-card); }
.nws-feed-title { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--nws-line); }
.nws-feed-title h3 { margin: 0; }
.nws-feed-title > span { color: var(--nws-muted); font-size: 12px; font-weight: 750; }
.nws-feed-item { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 11px; padding: 14px 0; border-bottom: 1px solid var(--nws-line); color: var(--nws-ink); text-decoration: none; animation: nws-feed-in .35s ease both; }
.nws-feed-item:last-child { border-bottom: 0; padding-bottom: 0; }
.nws-feed-dot { width: 10px; height: 10px; border-radius: 50%; background: currentColor; }
.nws-feed-copy { min-width: 0; }
.nws-feed-copy strong, .nws-feed-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nws-feed-copy strong { color: var(--nws-ink); font-size: 14px; }
.nws-feed-copy small { margin-top: 4px; color: var(--nws-muted); }
.nws-feed-meta { color: var(--nws-muted); font-size: 12px; font-weight: 750; white-space: nowrap; }
.nws-live-note { margin: 18px 0 0; color: var(--nws-muted); font-size: 13px; }

.nws-details { border: 1px solid var(--nws-line); border-radius: 17px; background: var(--nws-card); margin: 14px 0; overflow: hidden; scroll-margin-top: 24px; }
.nws-details > summary { cursor: pointer; padding: 18px 20px; font-weight: 760; line-height: 1.5; list-style-position: inside; }
.nws-details > summary::marker { color: var(--nws-accent); }
.nws-details-body { padding: 4px 22px 24px; }
.nws-panel { border-radius: 20px; margin: 18px 0; box-shadow: 0 8px 26px rgba(20, 37, 31, .035); }
.nws-panel > summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 24px; list-style: none; }
.nws-panel > summary::-webkit-details-marker { display: none; }
.nws-panel > summary span { display: grid; gap: 4px; }
.nws-panel > summary small { color: var(--nws-accent); font-size: 11px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.nws-panel > summary strong { font-size: 21px; }
.nws-panel > summary > b { display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 34px; border-radius: 50%; background: var(--nws-accent-soft); color: var(--nws-accent); font-size: 23px; font-weight: 500; transition: transform .2s ease; }
.nws-panel[open] > summary > b { transform: rotate(45deg); }
.nws-panel[open] > summary { border-bottom: 1px solid var(--nws-line); }
.nws-inner-details { box-shadow: none; }
.nws-inner-details > summary { font-size: 14px; }
.nws-website > summary { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; list-style: none; padding: 19px 22px; }
.nws-website > summary::-webkit-details-marker { display: none; }
.nws-summary-actions { display: flex; flex: 1 0 100%; flex-wrap: wrap; align-items: center; gap: 10px; padding-top: 15px; border-top: 1px solid var(--nws-line); }
.nws-summary-actions .nws-button { min-height: 44px; padding: 11px 17px; }
.nws-summary-actions .nws-copy-status { color: var(--nws-accent); font-size: 14px; }
.nws-website-identity { display: flex; align-items: center; gap: 16px; min-width: 0; }
.nws-website-identity > span:last-child { min-width: 0; }
.nws-website-identity strong, .nws-website-identity small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nws-website-identity strong { font-size: 17px; }
.nws-website-identity small { margin-top: 4px; color: var(--nws-muted); font-weight: 500; }
.nws-manage-label { display: flex; align-items: center; gap: 12px; color: var(--nws-accent); font-size: 14px; }
.nws-manage-label b { font-size: 22px; font-weight: 500; transition: transform .2s ease; }
.nws-website[open] .nws-manage-label b { transform: rotate(45deg); }
.nws-website[open] > summary { border-bottom: 1px solid var(--nws-line); }
.nws-site-progress { padding: 16px; border-radius: 14px; background: var(--nws-bg); }
.nws-site-progress p { margin: 0; }

.nws-badge { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 6px 10px; background: var(--nws-accent-soft); color: var(--nws-accent); font-size: 12px; font-weight: 850; line-height: 1.2; text-transform: capitalize; }
.nws-badge.critical, .nws-badge.failed, .nws-badge.cancelled { background: #fee6e5; color: #a51d22; }
.nws-badge.high { background: #ffecd9; color: #934400; }
.nws-badge.medium { background: #fff4cc; color: #735600; }
.nws-badge.low, .nws-badge.completed, .nws-badge.verified { background: var(--nws-good-soft); color: var(--nws-good); }
.nws-badge.queued, .nws-badge.running, .nws-badge.paused { background: var(--nws-working-soft); color: var(--nws-working); }
.nws-attention { border-left: 5px solid var(--nws-problem) !important; }
.nws-critical-label { color: #a51d22; font-weight: 850; }
.nws-progress { height: 12px; background: var(--nws-line); border-radius: 999px; overflow: hidden; margin: 16px 0; }
.nws-progress span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--nws-accent), #48c78a); transition: width .35s ease; }

.nws-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; }
.nws-form { display: grid; gap: 16px; }
.nws-form.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.nws-form label { display: grid; gap: 7px; font-weight: 720; font-size: 15px; }
.nws-form input, .nws-form select, .nws-form textarea { width: 100%; min-height: 46px; border: 1px solid #b9c8bf; border-radius: 11px; background: var(--nws-card); color: var(--nws-ink); padding: 12px 13px; }
.nws-form input:focus, .nws-form select:focus, .nws-form textarea:focus, .nws-filter input:focus, .nws-filter select:focus { outline: 3px solid color-mix(in srgb, var(--nws-accent) 20%, transparent); border-color: var(--nws-accent); }
.nws-form textarea { min-height: 115px; resize: vertical; }
.nws-form input[type=checkbox] { width: auto; min-height: auto; }
.nws-check { display: flex !important; align-items: flex-start; gap: 10px !important; }
.nws-permissions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 18px 0; }
.nws-permissions > div { border: 1px solid var(--nws-line); border-radius: 14px; padding: 16px; background: var(--nws-bg); }
.nws-permissions strong, .nws-permissions span { display: block; }
.nws-permissions span { margin-top: 6px; color: var(--nws-muted); font-size: 14px; line-height: 1.45; }
.nws-advanced { margin: 18px 0; }

.nws-report-hero { border: 1px solid var(--nws-line); border-left-width: 6px; border-radius: 22px; padding: 26px; margin: 24px 0; background: var(--nws-card); box-shadow: 0 16px 40px rgba(20, 37, 31, .06); }
.nws-report-hero.nws-good { color: var(--nws-ink); border-left-color: var(--nws-good); }
.nws-report-hero.nws-problem { color: var(--nws-ink); border-left-color: var(--nws-problem); }
.nws-report-hero.nws-working { color: var(--nws-ink); border-left-color: var(--nws-working); }
.nws-report-hero.nws-waiting { color: var(--nws-ink); border-left-color: var(--nws-waiting); }
.nws-report-hero h2 { margin-top: 14px; }
.nws-report-percent { font-size: clamp(34px, 5vw, 54px); line-height: 1; letter-spacing: -.04em; }
.nws-priority-list { display: grid; gap: 12px; padding-left: 26px; margin: 18px 0 0; }
.nws-priority-list li { padding-left: 7px; line-height: 1.6; }
.nws-priority-list li::marker { color: var(--nws-accent); font-weight: 850; }
.nws-next-step { border-top: 4px solid var(--nws-accent); }
.nws-explanation { padding: 18px; margin-bottom: 18px; border-radius: 14px; background: var(--nws-bg); }
.nws-explanation p { margin-bottom: 0; }
.nws-finding > summary { font-size: 16px; }
.nws-list { padding-left: 22px; line-height: 1.65; }
.nws-list li { margin: 9px 0; }
.nws-category { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--nws-line); }
.nws-category:last-child { border-bottom: 0; }
.nws-category a { text-decoration: none; font-weight: 750; }
.nws-evidence { background: var(--nws-bg); border-radius: 12px; padding: 16px; white-space: pre-wrap; overflow-wrap: anywhere; font: 14px/1.6 ui-monospace, SFMono-Regular, Consolas, monospace; max-height: 380px; overflow: auto; }
.nws-filter { display: flex; flex-wrap: wrap; gap: 11px; align-items: end; margin: 18px 0; padding: 18px; border: 1px solid var(--nws-line); border-radius: 16px; background: var(--nws-card); }
.nws-filter label { display: grid; gap: 6px; font-size: 13px; font-weight: 750; }
.nws-filter input, .nws-filter select { min-height: 44px; padding: 10px 12px; border: 1px solid #b9c8bf; border-radius: 10px; background: var(--nws-card); color: var(--nws-ink); }

.nws-customer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.nws-customer-site { margin: 0; }
.nws-customer-site h2 { margin-top: 16px; }
.nws-site-initial { display: grid; place-items: center; width: 52px; height: 52px; flex: 0 0 52px; border-radius: 16px; background: var(--nws-accent-soft); color: var(--nws-accent); font-size: 24px; font-weight: 900; }
.nws-customer-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 20px 0; }
.nws-customer-facts > span { display: grid; gap: 5px; border-radius: 14px; padding: 15px; background: var(--nws-good-soft); color: var(--nws-good); font-size: 13px; font-weight: 750; }
.nws-customer-facts > span.has-problems { background: var(--nws-problem-soft); color: var(--nws-problem); }
.nws-customer-facts strong { font-size: 29px; line-height: 1; }

.nws-offer { background: #142d23; color: #fff; border-radius: 24px; padding: 30px; margin: 28px 0; }
.nws-offer .nws-kicker { color: #b9f88e; }
.nws-offer .nws-button { background: #b9f88e; color: #10251b !important; border-color: #b9f88e; }
.nws-offer .nws-details { color: #14251f; }
.nws-price { font-size: 40px; font-weight: 880; letter-spacing: -.04em; }
.nws-footer-note { font-size: 14px; color: var(--nws-muted); margin-top: 28px; }
.nws-pagination { margin-top: 22px; }
.nws-empty { text-align: center; padding: 48px 22px; }
.nws-score { font-size: 56px; font-weight: 850; line-height: 1; }
.nws-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.nws-system-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.nws-system-stats .nws-card { box-shadow: none; padding: 18px; }
.nws-system-stats .nws-stat strong { font-size: 30px; }
.nws-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.nws-table th, .nws-table td { text-align: left; padding: 12px 8px; border-bottom: 1px solid var(--nws-line); vertical-align: top; }
.nws-page { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--nws-line); overflow-wrap: anywhere; }
.nws-public { max-width: 820px; }
.nws-public-progress { height: 18px; border-radius: 999px; background: var(--nws-line); overflow: hidden; margin: 22px 0; }
.nws-public-progress span { display: block; height: 100%; background: var(--nws-accent); transition: width .3s ease; }

html[data-site-theme=cosmic] .nws, html[data-theme=cosmic] .nws {
  --nws-bg: #0e1714;
  --nws-card: #15221d;
  --nws-ink: #eef6f1;
  --nws-muted: #a9bbb1;
  --nws-line: #30443a;
  --nws-accent: #91e6b5;
  --nws-accent-soft: #203b2d;
  --nws-good: #79e3a9;
  --nws-good-soft: #193a2a;
  --nws-problem: #ff939b;
  --nws-problem-soft: #3a2226;
  --nws-working: #9db4ff;
  --nws-working-soft: #222d4a;
  --nws-waiting: #a6b2ac;
}
html[data-site-theme=cosmic] .nws .nws-card, html[data-theme=cosmic] .nws .nws-card { box-shadow: 0 14px 38px rgba(0, 0, 0, .16); }
html[data-site-theme=cosmic] .nws .nws-button.secondary, html[data-theme=cosmic] .nws .nws-button.secondary { background: transparent; }
html[data-site-theme=cosmic] .nws .nws-live-shell, html[data-theme=cosmic] .nws .nws-live-shell { background: linear-gradient(145deg, #15221d 20%, #14291f 140%); box-shadow: 0 24px 70px rgba(0, 0, 0, .24); }
html[data-site-theme=cosmic] .nws .nws-form input, html[data-site-theme=cosmic] .nws .nws-form select, html[data-site-theme=cosmic] .nws .nws-form textarea, html[data-theme=cosmic] .nws .nws-form input, html[data-theme=cosmic] .nws .nws-form select, html[data-theme=cosmic] .nws .nws-form textarea, html[data-site-theme=cosmic] .nws .nws-filter input, html[data-site-theme=cosmic] .nws .nws-filter select, html[data-theme=cosmic] .nws .nws-filter input, html[data-theme=cosmic] .nws .nws-filter select { border-color: var(--nws-line); }

@keyframes nws-beam { to { left: 110%; } }
@keyframes nws-node-pulse { 0% { opacity: .8; transform: scale(.85); } 100% { opacity: 0; transform: scale(1.45); } }
@keyframes nws-feed-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
@keyframes nws-pulse { 50% { opacity: .62; } }

@media (max-width: 980px) {
  .nws-grid, .nws-system-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nws-grid.three { grid-template-columns: 1fr; }
  .nws-hero, .nws-live-heading { display: block; }
  .nws-hero .nws-actions { margin-top: 22px; }
  .nws-connection-wrap { justify-items: start; margin-top: 18px; }
  .nws-live-columns { grid-template-columns: 1fr; }
  .nws-form.two, .nws-danger-zone { grid-template-columns: 1fr; }
  .nws-permissions { grid-template-columns: 1fr; }
  .nws-table { display: block; overflow-x: auto; }
}

@media (max-width: 680px) {
  .nws { width: min(100% - 24px, 1280px); padding: 26px 0 58px; }
  .nws h1 { font-size: 40px; }
  .nws-hero .nws-actions, .nws-actions { align-items: stretch; }
  .nws-hero .nws-actions .nws-button { flex: 1 1 auto; }
  .nws-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nws-nav > a { padding: 11px 12px; }
  .nws-live-shell { border-radius: 22px; padding: 18px; }
  .nws-live-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nws-live-stat { padding: 15px; }
  .nws-live-stat strong { font-size: 32px; }
  .nws-tracker { padding: 15px; }
  .nws-site-nodes { grid-template-columns: 1fr; }
  .nws-tracker::before, .nws-tracker-beam { display: none; }
  .nws-feed-item { grid-template-columns: auto minmax(0, 1fr); }
  .nws-feed-meta { grid-column: 2; }
  .nws-section-heading, .nws-row { display: block; }
  .nws-section-heading .nws-button { margin-top: 14px; }
  .nws-website > summary { align-items: flex-start; padding: 17px; }
  .nws-website-identity { align-items: flex-start; flex-wrap: wrap; gap: 10px; }
  .nws-manage-label { font-size: 0; gap: 0; }
  .nws-manage-label b { font-size: 24px; }
  .nws-panel > summary { padding: 19px; }
  .nws-panel > summary strong { font-size: 18px; }
  .nws-details-body { padding: 4px 17px 20px; }
  .nws-grid { gap: 10px; }
  .nws-card { padding: 18px; }
  .nws-report-stats .nws-card { min-height: 150px; }
  .nws-stat strong { font-size: 31px; }
  .nws-customer-grid { grid-template-columns: 1fr; }
  .nws-filter { display: grid; grid-template-columns: 1fr; }
  .nws-filter > * { width: 100%; }
  .nws-report-percent { display: block; margin-top: 20px; }
  .nws-category { align-items: flex-start; flex-wrap: wrap; }
  .nws-page { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .nws *, .nws *::before, .nws *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

@media (prefers-reduced-motion: no-preference) {
  .nws-critical-label { animation: nws-pulse 2.4s ease-in-out infinite; }
  .nws-status.nws-working i, .nws-connection:not(.offline)::before { animation: nws-pulse 1.8s ease-in-out infinite; }
}

.nws-simple-start { max-width: 820px; margin: 0 auto; }
.nws-simple-start > .nws-form { max-width: 680px; margin: 24px auto 0; }
.nws-simple-start .nws-button { width: 100%; justify-content: center; }
.nws-advanced { margin: 4px 0 8px; border: 1px solid var(--nws-line, rgba(125, 155, 180, .22)); border-radius: 14px; background: rgba(100, 216, 255, .025); }
.nws-advanced summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; cursor: pointer; font-weight: 800; }
.nws-advanced summary span { color: var(--nws-muted, #91a5b7); font-size: 12px; font-weight: 500; text-align: right; }
.nws-advanced-body { padding: 20px; border-top: 1px solid var(--nws-line, rgba(125, 155, 180, .22)); }
.nws-access-hero { margin-bottom: 34px; }
.nws-access-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.nws-access-card { min-width: 0; }
.nws-access-card .nws-form { margin-top: 22px; }
.nws-access-card .nws-button { width: 100%; justify-content: center; }
.nws-access-register { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 22px; }
.nws-access-register > div { max-width: 720px; }
.nws-access-register h2, .nws-access-register p { margin-bottom: 0; }
.nws-access-register .nws-button { flex: 0 0 auto; }
@media (max-width: 760px) {
  .nws-access-grid { grid-template-columns: 1fr; }
  .nws-access-register { align-items: stretch; flex-direction: column; }
  .nws-access-register .nws-button { text-align: center; }
  .nws-advanced summary { align-items: flex-start; flex-direction: column; gap: 4px; }
  .nws-advanced summary span { text-align: left; }
}

@media print {
  .nws-actions, .nws-nav, .nws-filter, .nws-live-shell, header, footer { display: none !important; }
  .nws { width: 100%; padding: 0; }
  .nws-card, .nws-details { box-shadow: none; break-inside: avoid; }
}
