/* MSA Network Solutions · SEO Analytics — Premium Interface v1.2
   Private, self-hosted UI. No external fonts or CDN requests. */
:root {
  color-scheme: dark;
  --bg: #08090b;
  --side: #0c0d0f;
  --card: #131416;
  --card2: #18191b;
  --border: #2b2d30;
  --text: #f7f7f7;
  --muted: #a0a2a6;
  --faint: #74777e;
  --accent: #ffb500;
  --accent2: #d89800;
  --radius: 15px;
  --shadow: 0 24px 70px rgba(0,0,0,.35);
}
*, *::before, *::after {box-sizing: border-box}
html {scroll-behavior: smooth}
body {
  background: #090a0c;
  font-family: 'Open Sans', 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
  letter-spacing: -.007em;
  color: var(--text);
  font-size: 14px;
}
body::selection {background: #ffb500; color: #17100a}
a {color: #ffce68}
a:hover {color: #ffe6ae}
:focus-visible {outline: 2px solid #ffb500!important; outline-offset: 3px}
.muted,.subline {color: #aeb0b5}
.eyebrow {color: var(--accent);font-size: 10px;letter-spacing: 2.25px;font-weight: 800}
h1,h2,h3 {color: #fafafa}
h1 {font-weight: 750;letter-spacing: -.055em}
h2 {font-weight: 720;letter-spacing: -.04em}
h3 {font-weight: 710}
.layout {background:radial-gradient(ellipse 1100px 650px at 75% -15%, #25200e50, transparent 75%),#090a0c}
.sidebar {
  width: 264px; padding: 27px 15px 19px;
  background: linear-gradient(155deg,#101113 0%,#0a0b0d 60%);
  border-color: #252629;
  z-index: 10;
}
.brand {padding: 3px 14px 33px; align-items:stretch;gap:8px}
.brand-link {display:block; line-height:0; outline-offset:7px;border-radius:6px}
.brand-logo {width:100%;max-width:205px;object-fit:contain}
.brand-meta {display:flex;align-items:center;gap:9px;padding:0 1px}
.brand-rule {width:18px;height:2px;background:#ffb500;border-radius:3px}
.brand-meta small {font-size:9px;letter-spacing:1.75px;color:#c4c4c4;font-weight:750;white-space:nowrap}
.side-caption {padding:10px 16px 14px;color:#6d6f73;letter-spacing:2px;font-size:9px}
.sidebar nav {gap:5px}
.nav-swipe-hint {display:none}
.nav {
  color:#a8aaaf;padding:12px 13px;border:1px solid transparent;
  border-radius:10px; font-size:12.5px; font-weight:630;gap:11px;
  transition:background .17s,color .17s,border-color .17s,transform .17s;
}
.nav-icon {width:22px;height:22px;display:inline-grid;place-items:center;flex:0 0 22px}
.nav-icon svg {width:19px;height:19px;display:block}
.nav:hover {background:#1c1c1b;color:#fafafa;border-color:#323028;transform:translateX(1px)}
.nav.active {
  color:#ffcb52; background:linear-gradient(90deg,#29210e,#1c1a14);
  box-shadow:inset 3px 0 0 #ffb500;
  border-color:#483a15;
}
.nav.active .nav-icon {color:#ffbe24}
.side-bottom {padding-top:20px}
.mini-status {border-top:1px solid #292a2d;border-bottom:0;padding:17px 12px 12px;color:#9b9da0;margin:0 2px 9px;font-size:11px}
.mini-status .dot {width:6px;height:6px;box-shadow:0 0 0 3px #ffb5001a}
.status-divider {color:#6e6e6e;padding:0 4px}
.main-column {background:transparent}
.topbar {
  min-height:82px;height:82px;padding:0 clamp(24px,4vw,58px);
  background:rgba(12,13,15,.74);backdrop-filter:blur(14px);
  border-bottom:1px solid #292a2c;
}
.topbar-overline {display:block;color:#76797e;font-size:9px;letter-spacing:1.75px;font-weight:750;margin-bottom:6px}
.breadcrumbs {font-size:10px;letter-spacing:1.3px;color:#84868b}
.breadcrumbs b {font-size:12px;color:#f2f2f2}
.breadcrumbs span {color:#ffb500;margin:0 8px}
.top-actions {gap:22px}
.top-chip {background:#141812!important;border:1px solid #303827!important;color:#d6e1cd;font-size:11px;padding:9px 15px}
.top-chip .dot {background:#8bd49b;box-shadow:0 0 10px #8bd49b55}
.top-logo {height:34px;max-width:125px;width:auto;object-fit:contain}
.content {padding:37px clamp(23px,3.3vw,56px) 55px;max-width:1570px}
.page-top {
  position:relative;overflow:hidden;isolation:isolate;
  display:flex;align-items:center;justify-content:space-between;
  gap:25px;min-height:335px;margin:0 0 25px;
  background:radial-gradient(circle at 80% 50%,#3e2c0c77 0%,transparent 33%),linear-gradient(115deg,#18191b 0%,#101113 61%,#12110d 100%);
  border:1px solid #3a3324;border-radius:21px;
  padding:clamp(24px,3.2vw,48px);box-shadow:0 18px 45px #0000001f;
}
.page-top::before {content:"";position:absolute;inset:0;pointer-events:none;z-index:-1;opacity:.34;
  background-image:linear-gradient(90deg,rgba(255,181,0,.07) 1px,transparent 1px),linear-gradient(rgba(255,181,0,.07) 1px,transparent 1px);
  background-size:39px 39px;mask-image:linear-gradient(90deg,transparent 35%,#000 100%);
}
.page-top::after {content:"";position:absolute;inset:0 0 auto 0;height:2px;background:linear-gradient(90deg,#ffb500,#ffb50055,transparent)}
.hero-content {max-width:615px;position:relative;z-index:2;flex:1}
.hero-pin {display:inline-block;width:7px;height:7px;background:#ffb500;border-radius:50%;margin-right:7px;box-shadow:0 0 0 4px #ffb50020}
.page-top .eyebrow {margin-bottom:19px}
.page-top h1 {font-size:clamp(34px,3.3vw,51px);line-height:1.16;margin-bottom:18px}
.page-top h1 em {background:linear-gradient(90deg,#ffc03c,#ffe7aa);-webkit-background-clip:text;background-clip:text;color:transparent}
.page-top .subline {font-size:13px;line-height:1.8;max-width:535px;margin:0;color:#afb0b3}
.hero-actions {display:flex;align-items:center;flex-wrap:wrap;gap:11px;margin-top:25px}
.hero-actions .btn {min-height:43px;padding:10px 17px;font-size:12px}
.btn.hero-outline {border:1px solid #4b4433;color:#ededed;background:#20201d}
.btn.hero-outline:hover {border-color:#ffb500;color:#ffcc55;background:#292313}
.brand-showcase {position:relative;transform:none;opacity:1;flex:0 0 34%;width:34%;min-width:0;display:flex;align-items:center;justify-content:center}
.brand-showcase img {width:100%;max-width:365px;filter:drop-shadow(0 16px 22px #0008);position:relative;z-index:1}
.hero-orbit {position:absolute;width:330px;height:330px;max-width:100%;aspect-ratio:1;z-index:0;border-radius:50%;border:1px solid #ffb5002c;box-shadow:0 0 0 45px #ffb50006,0 0 0 92px #ffb50004}
.stat-grid {gap:14px;margin:0 0 37px}
.stat {
  min-height:166px;padding:23px 22px 20px;
  border:1px solid #2d2e31;background:linear-gradient(145deg,#18191b,#121315);
  border-radius:15px;box-shadow:0 12px 30px #0000001a;
}
.stat::after {content:'';position:absolute;right:0;top:0;width:75px;height:75px;border-radius:0 0 0 100%;background:#ffb50008;box-shadow:none}
.stat::before {content:'';position:absolute;bottom:0;left:23px;width:26px;height:2px;background:#ffb500;z-index:1}
.stat-icon {position:absolute;right:20px;top:15px;display:grid;place-items:center;height:30px;width:30px;color:#ffba25;font-size:23px;opacity:.8}
.stat-label {font-size:9px;letter-spacing:1.55px;color:#9d9fa3;font-weight:780;max-width:calc(100% - 30px)}
.stat strong {font-size:39px;line-height:1.25;letter-spacing:-.065em;margin:15px 0 5px}
.stat small {font-size:11px;color:#777a7f}
.section-heading {margin:26px 0 16px;gap:16px;align-items:flex-end}
.section-heading h2 {font-size:19px;margin-bottom:5px}
.section-heading p {color:#909197;font-size:12px}
.feature-grid {gap:14px}
.feature {
  min-height:190px;padding:23px;gap:11px;border-radius:15px;
  background:linear-gradient(145deg,#17181a,#111214);
  border:1px solid #2c2d30;box-shadow:0 10px 25px #00000012;
}
.feature::before {content:'';position:absolute;top:0;left:0;width:60px;height:2px;background:linear-gradient(90deg,#ffb50090,transparent);opacity:0;transition:opacity .2s}
.feature:hover {transform:translateY(-3px);border-color:#6b541c;background:linear-gradient(145deg,#211e16,#161617);box-shadow:0 18px 40px #0005}
.feature:hover::before {opacity:1}
.feature-glyph,.feature-glyph.purple,.feature-glyph.blue,.feature-glyph.teal,.feature-glyph.amber,.feature-glyph.pink {width:43px;height:43px;background:#34280f;color:#ffca50;border:1px solid #574019;border-radius:12px}
.feature-glyph svg {width:23px;height:23px}
.feature strong {font-size:14px;letter-spacing:-.015em;font-weight:750}
.feature small {font-size:11.5px;color:#a1a1a5;line-height:1.65}
.feature .arrow {right:21px;top:20px;color:#f8bc3f;font-size:18px}
.panel {background:linear-gradient(145deg,#17181a,#111214);border:1px solid #2e3032;border-radius:15px}
.panel.padded {padding:24px}
.panel h3 {margin-bottom:18px}
.history-row {border-bottom-color:#2b2d30;padding:18px 22px}
.history-row:hover {background:#211f19}
.hist-icon {background:#342912;color:#ffbf38}
.hist-main small {color:#a1a2a5}
.hist-date {color:#96989d}
.footer {display:flex;align-items:center;gap:12px;border-color:#2b2b2e;color:#9b9da1;letter-spacing:.8px;padding:23px clamp(23px,3.3vw,56px);flex-wrap:wrap}
.footer-logo {width:96px;height:auto;margin-right:5px}
.footer span {margin:0}
.foot-right {float:none;margin:0 0 0 auto!important;color:#a6a7ac}
.page-intro {padding-top:12px;max-width:860px;margin-bottom:27px}
.page-intro h1 {font-size:clamp(30px,3vw,45px);margin-bottom:14px}
.page-intro p {font-size:13px;color:#a9aaae}
.scan-form {background:linear-gradient(120deg,#1b1c1e,#151514);border:1px solid #343330;border-radius:15px;padding:21px;margin-bottom:25px}
label {font-size:10px;letter-spacing:1.1px;color:#b8b8ba;font-weight:730}
input,textarea {background:#0c0d0f;border:1px solid #3a3b3f;color:#f6f6f6;padding:13px 15px;border-radius:10px}
input::placeholder,textarea::placeholder {color:#777a80}
input:focus,textarea:focus {border-color:#ffb500;box-shadow:0 0 0 3px #ffb50019}
.btn {border:1px solid #414244;color:#f1f1f1;border-radius:9px;font-size:12px;font-weight:700;padding:10px 15px;letter-spacing:.015em}
.btn:hover:not(:disabled) {border-color:#ffbf42;background:#282418;color:#fdd27d}
.btn.primary {background:linear-gradient(100deg,#ffc943,#ffb500);border-color:#ffc032;color:#151004;box-shadow:0 8px 22px #ffb50020;font-weight:780}
.btn.primary:hover:not(:disabled) {background:linear-gradient(100deg,#ffdb7f,#ffc334);color:#151004;box-shadow:0 10px 25px #ffb5002b}
.btn.ghost {background:#1d1e1f;color:#dfdfdf;border-color:#3d3e41}
.btn.ghost:hover {background:#26231b;border-color:#937021;color:#ffe0a0}
.score-card {background:linear-gradient(120deg,#221c10,#151617);border:1px solid #4b3b1b;border-radius:15px}
.score-ring {background:conic-gradient(#ffb500 calc(var(--score)*1%),#3b3730 0)}
.score-ring::before {background:#181818}
.check-item {border-bottom:1px solid #ffffff09}
.facts>div {border-bottom-color:#333437}
.notice {background:#1f1c16;border-color:#574626;border-left-color:#ffb500;color:#c9c6c0}
.title-tag {color:#251b05;background:#ffce65}
.mini-card {background:linear-gradient(145deg,#1b1b1a,#131416);border-color:#343332}
.mini-icon {color:#ffb500}
.tags span {background:#30291a;color:#ffe2a4;border:1px solid #534221}
.prompt-brand {background:#33270f;color:#ffc759}
.count-pill {background:#33270f;color:#ffc759}
.prompt-card {background:#151617;border-color:#313233}
.prompt-highlight {background:#282115}
.prompt-highlight small {color:#ffc759}
.tab {background:#1c1d1e;color:#a8a9ab;border-color:#38393b}
.tab.active {background:#3a2a08;color:#ffd77b;border-color:#9d721e}
.data-table th,.data-table td {border-color:#303134}
.bar {background:#292b2d}
.bar span {background:linear-gradient(90deg,#ffb500,#ffde80)}
.text-link {color:#ffcb65}
.score-ring strong {color:#fff}
.badge.pass {background:#1b3d31;color:#a5f0cf}
.badge.fail {background:#483125;color:#ffc49b}
.empty >span {color:#ffcb6b}
.auth-wrap {background:radial-gradient(circle at 50% 15%,#4b320c60 0%,transparent 36%),linear-gradient(140deg,#0f1012,#090a0b)}
.auth-card {border:1px solid #3d3730;background:linear-gradient(155deg,#1b1c1e,#111214);box-shadow:0 25px 80px #0009;padding:45px;border-radius:21px;max-width:480px}
.auth-card::before {content:'';display:block;height:2px;background:linear-gradient(90deg,#ffb500,transparent);margin:-45px -45px 36px;border-radius:20px 20px 0 0}
.auth-logo {width:min(100%,300px);max-height:116px;object-fit:contain;margin:0 auto 27px}
.auth-card .eyebrow {text-align:center;color:#eec66c;margin-bottom:15px}
.auth-card h1 {font-size:29px;text-align:center;margin-bottom:12px}
.auth-card p {text-align:center;line-height:1.75;color:#aaaeb2}
.auth-card label {color:#c3c4c7}
.auth-card .btn {margin-top:18px;min-height:47px}
.auth-foot {border-top:1px solid #333538;padding-top:20px;line-height:1.8;color:#97999c}
.mini-secure-dot {display:inline-block;width:6px;height:6px;background:#8bd49b;border-radius:50%;margin-right:7px;box-shadow:0 0 0 3px #8bd49b20}
.report-head {border-bottom:1px solid #323336;padding-bottom:14px}
.report-head h2 {font-size:25px}
.report-actions {display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px}
.report-actions .btn {white-space:nowrap}
.print-report-brand {display:none}
.modal-card {background:#151617;border:1px solid #434140}
/*  Smaller desktop / large tablet  */
@media(max-width:1250px) {
  .sidebar {width:236px}
  .brand-logo {max-width:178px}
  .brand-meta small {font-size:8px}
  .topbar {padding:0 30px}
  .content {padding:28px 30px 48px}
  .page-top {min-height:300px}
  .stat {padding:20px 17px}
  .stat strong {font-size:35px}
}
@media(max-width:920px) {
  .layout {display:block}
  .sidebar {position:relative;width:100%;height:auto;padding:15px 18px 13px;box-shadow:0 5px 20px #0005}
  .brand {padding:0 2px 14px;align-items:flex-start;gap:4px}
  .brand-logo {max-width:170px}
  .brand-meta {gap:7px}
  .brand-meta small {font-size:8px}
  .sidebar nav {display:flex;gap:7px;overflow-x:auto;padding:4px 0 8px;scrollbar-width:thin}
  .nav {flex:0 0 auto;width:auto;padding:10px 13px}
  .nav-swipe-hint {display:block;font-size:10px;color:#888b91;letter-spacing:.02em;padding:0 2px 7px}
  .side-bottom {display:flex;align-items:center;gap:7px;justify-content:flex-end;padding:0}
  .side-bottom .mini-status {padding:4px 9px;border:0;margin:0 auto 0 0}
  .side-bottom .nav {padding:7px 10px}
  .side-caption {display:none}
  .topbar {height:67px;min-height:67px;padding:0 25px}
  .content {padding:26px 22px}
  .page-top {min-height:295px;padding:29px}
  .stat-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
  .stat {min-height:140px}
  .footer {padding:20px 22px}
}
@media(max-width:650px) {
  .sidebar {padding:12px 14px 9px}
  .brand-logo {max-width:153px}
  .brand-meta {display:none}
  .topbar {height:60px;min-height:60px;padding:0 14px}
  .topbar-overline {font-size:8px}
  .breadcrumbs {font-size:9px}
  .breadcrumbs b {font-size:10px}
  .top-logo {max-width:95px;height:28px}
  .top-chip {display:none}
  .content {padding:18px 14px 35px}
  .page-top {padding:24px 20px 26px;min-height:0;margin-bottom:17px}
  .page-top h1 {font-size:clamp(30px,8vw,40px);line-height:1.2;letter-spacing:-.05em}
  .page-top .subline {font-size:12px;line-height:1.73}
  .hero-actions {gap:8px;margin-top:21px}
  .hero-actions .btn {padding:10px 12px}
  .brand-showcase {display:none}
  .stat-grid {gap:9px;margin-bottom:23px}
  .stat {padding:18px 14px;min-height:137px}
  .stat strong {font-size:31px;margin:19px 0 4px}
  .stat-icon {right:12px;top:12px;font-size:20px}
  .stat-label {font-size:8px;line-height:1.5;letter-spacing:1px}
  .stat small {font-size:10px}
  .feature-grid {grid-template-columns:1fr;gap:10px}
  .feature {min-height:145px;padding:20px}
  .section-heading {align-items:flex-start;flex-wrap:wrap;margin:24px 0 14px}
  .section-heading h2 {font-size:18px}
  .page-intro h1 {font-size:32px}
  .form-row,.form-row.two {display:block}
  .form-row .btn {width:100%;margin-top:8px}
  .scan-form {padding:17px}
  .footer {gap:8px;padding:16px 14px;font-size:9px}
  .footer-logo {width:76px}
  .foot-right {flex-basis:100%;margin:5px 0 0!important}
  .report-head {align-items:flex-start;flex-direction:column}
  .report-actions {width:100%;justify-content:flex-start}
  .score-card {flex-direction:column;align-items:flex-start}
  .check-grid,.facts,.three-grid {grid-template-columns:1fr}
  .auth-card {padding:28px;max-width:450px}
  .auth-card::before {margin:-28px -28px 29px}
  .auth-card h1 {font-size:25px}
  .auth-logo {max-width:260px}
}
/* Print/PDF export: browser Print → Save as PDF. The button prints only the
   selected report, not menus, passwords, or other sections. */
@page {size:A4;margin:15mm 13mm}
@media print {
  :root {color-scheme:light;--text:#111;--card:#fff;--border:#ddd}
  html,body {background:#fff!important;color:#111!important;font-size:10pt!important}
  body * {animation:none!important;box-shadow:none!important;text-shadow:none!important}
  .layout {display:block!important;background:#fff!important}
  .sidebar,.topbar,.footer,.page-top,.stat-grid,.section-heading,.feature-grid,
  .page-intro,.scan-form,.notice,.report-actions,.btn,.hero-actions,.top-chip,
  #view-dashboard,.auth-wrap,.modal,.toast {display:none!important}
  .main-column,.content,.view.active,.result-area {display:block!important;width:100%!important;max-width:100%!important;padding:0!important;margin:0!important;background:#fff!important;border:0!important}
  .view:not(.active),.result-area:empty {display:none!important}
  .result-area {gap:12px!important}
  .print-report-brand {display:flex!important;align-items:center;justify-content:space-between;gap:15px;padding:0 0 13px;margin-bottom:15px;border-bottom:2px solid #ffb500;color:#333;font-size:10pt}
  .print-report-brand img {width:190px;height:auto;filter:none}
  .print-report-brand small {display:block;font-size:8pt;color:#555}
  .report-head {display:block!important;padding-bottom:11px;margin:0 0 15px;color:#111!important;border-color:#ccc}
  .report-head h2 {color:#111!important;font-size:19pt!important}
  .report-head .eyebrow {color:#a57500!important}
  .text-link {color:#333!important;max-width:none!important;white-space:normal;word-break:break-word}
  .score-card,.panel,.mini-card {background:#fff!important;color:#161616!important;border:1px solid #ddd!important;break-inside:avoid;margin-bottom:12px!important}
  .score-card h3,.panel h3,.mini-card b,.facts strong,.check-item b {color:#222!important}
  .score-card p,.panel p,.mini-card small,.facts small,.check-item small {color:#555!important}
  .score-ring {background:conic-gradient(#ffb500 calc(var(--score)*1%),#ddd 0)!important;print-color-adjust:exact;-webkit-print-color-adjust:exact}
  .score-ring::before {background:#fff!important}
  .score-ring strong {color:#111!important}
  .passed {background:#daf5e9!important;color:#154d31!important}
  .failed {background:#ffe9e6!important;color:#8d2b22!important}
  .check-item {break-inside:avoid}
  .notice {display:block!important;background:#fff5d9!important;color:#333!important;border:1px solid #d7b44b!important;print-color-adjust:exact;-webkit-print-color-adjust:exact}
  .tags span {color:#333!important;background:#f7f4eb!important}
  .bar {background:#ddd!important;print-color-adjust:exact}
  .data-table td,.data-table th {color:#222!important;border-color:#ddd!important}
}
