:root{
  --bg:#0b1020;
  --panel:#121933;
  --panel-2:#182142;
  --line:#2a3768;
  --text:#eef3ff;
  --muted:#9eb0df;
  --blue:#7aa2ff;
  --green:#23c483;
  --yellow:#f7b84b;
  --red:#ff6b6b;
  --url:#3c8e3c;
  --shadow:0 18px 40px rgba(0,0,0,.28);
  --radius:18px;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  background:linear-gradient(180deg,#09101f 0%, #0f1630 100%);
  color:var(--text);
  line-height:1.55;
}
a{color:inherit;text-decoration:none}
.page-shell{max-width:1180px;margin:0 auto;padding:32px 18px 60px}
.page-breadcrumb{max-width:1180px;margin:0 auto 14px;padding:0 18px;font-size:14px;color:#9eb0df}
.page-hero{margin-bottom:24px;padding:28px;min-height:186px;border:1px solid rgba(122,162,255,.18);border-radius:24px;background:linear-gradient(180deg,rgba(24,33,66,.95),rgba(14,21,42,.95));box-shadow:var(--shadow);display:flex;flex-direction:column;justify-content:center}
.brand{display:inline-flex;align-items:center;gap:10px;padding:8px 12px;border-radius:999px;background:rgba(122,162,255,.1);border:1px solid rgba(122,162,255,.22);color:#c8d8ff;font-size:13px;font-weight:700;letter-spacing:.02em;margin-bottom:14px;align-self:flex-start}
.brand-dot{width:10px;height:10px;border-radius:50%;background:var(--blue);box-shadow:0 0 18px rgba(122,162,255,.9)}
h1{margin:0 0 10px;font-size:clamp(28px,4vw,42px);line-height:1.12;letter-spacing:-.03em}
.sub{margin:0;color:var(--muted);max-width:820px;font-size:16px}
.page-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:20px;margin-top:20px;align-items:start}
.section-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:20px;align-items:start}
.kpi-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:18px}
.tool-hub-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;align-items:stretch}
.card{background:linear-gradient(180deg,rgba(18,25,51,.96),rgba(13,19,39,.96));border:1px solid rgba(255,255,255,.08);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden}
.card-hd{padding:18px 20px 14px;border-bottom:1px solid rgba(255,255,255,.07);display:flex;justify-content:space-between;align-items:center;gap:14px}.card-hd h2{margin:0;font-size:18px;letter-spacing:-.02em}.card-bd{padding:18px 20px 20px}
.kpi-item,.tool-card{padding:18px;border-radius:16px;background:#0d1430;border:1px solid #293764}
.kpi-item strong{display:block;font-size:20px;margin-bottom:4px}.small{font-size:14px;color:var(--muted)}
.tool-card{min-height:142px;display:block}.tool-card .tag{display:inline-block;margin-bottom:10px;font-size:11px;color:#cfe0ff;background:rgba(122,162,255,.12);padding:5px 8px;border-radius:999px;font-weight:800;letter-spacing:.02em}.tool-card h3{margin:0 0 8px;font-size:16px;line-height:1.35}.tool-card p{margin:0;color:var(--muted);font-size:14px}
.field{margin-bottom:16px}.field label{display:block;margin-bottom:8px;font-size:14px;color:#d8e3ff;font-weight:700}.hint{display:block;margin-top:6px;font-size:12px;color:var(--muted)}
input[type="text"],textarea{width:100%;background:#0d1430;border:1px solid #293764;color:var(--text);border-radius:14px;padding:14px;outline:none;font-size:15px;transition:.18s ease}
input[type="text"]:focus,textarea:focus{border-color:var(--blue);box-shadow:0 0 0 3px rgba(122,162,255,.15)}
textarea{min-height:120px;resize:vertical}
.btn-row,.copy-group,.pill-row{display:flex;flex-wrap:wrap;gap:10px}.copy-group{display:grid;grid-template-columns:repeat(3,1fr);margin-top:10px}
button,.btn{appearance:none;border:none;border-radius:12px;padding:12px 14px;font-weight:800;letter-spacing:.01em;cursor:pointer;transition:.15s ease;display:inline-flex;align-items:center;justify-content:center}
button:hover,.btn:hover{transform:translateY(-1px)}.btn-primary{background:var(--blue);color:#081128}.btn-secondary{background:#24325e;color:#eaf0ff;border:1px solid rgba(255,255,255,.08)}.btn-ghost{background:transparent;color:#dbe6ff;border:1px solid rgba(255,255,255,.12)}
.toggle{display:inline-flex;background:#0d1430;padding:5px;border-radius:14px;border:1px solid #2a3768;gap:6px}.toggle button{padding:10px 14px;border-radius:10px;background:transparent;color:#cdd8f8;font-weight:800}.status-list{display:grid;gap:10px;margin-bottom:18px}.status{border:1px solid rgba(255,255,255,.08);background:#0c132b;border-radius:14px;padding:12px 14px}.status-top{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:8px;flex-wrap:wrap}.status-title{font-weight:800;font-size:14px;color:#e7eeff}.badge{display:inline-flex;align-items:center;gap:8px;border-radius:999px;padding:7px 10px;font-size:12px;font-weight:800;border:1px solid rgba(255,255,255,.08)}.good{color:#c7ffe8;background:rgba(35,196,131,.12)}.caution{color:#ffe6b8;background:rgba(247,184,75,.12)}.danger{color:#ffd1d1;background:rgba(255,107,107,.12)}.metrics{display:flex;gap:14px;flex-wrap:wrap;font-size:13px;color:var(--muted)}
.serp-wrap{background:#fff;color:#202124;border-radius:18px;padding:18px;min-height:290px}.serp-frame{max-width:652px;transition:.2s ease}.serp-frame.mobile{max-width:390px}.serp-label{font-size:12px;color:#5f6368;margin-bottom:14px;font-weight:600}.serp-site{font-size:14px;color:#202124;margin-bottom:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.serp-url{color:var(--url);font-size:14px;margin-bottom:6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.serp-title{color:#1a0dab;font-size:clamp(20px,2.2vw,24px);line-height:1.3;margin-bottom:6px;word-break:break-word}.serp-frame.mobile .serp-title{font-size:20px}.serp-desc{color:#4d5156;font-size:14px;line-height:1.45;word-break:break-word}
.mini-note,.note-box{margin-top:12px;padding:12px 14px;border-radius:14px;background:rgba(122,162,255,.08);border:1px solid rgba(122,162,255,.16);color:#d9e5ff;font-size:13px}
.ad-box{display:flex;align-items:center;justify-content:center;min-height:180px;border:2px dashed rgba(255,255,255,.18);border-radius:18px;background:linear-gradient(180deg,rgba(255,255,255,.03),rgba(255,255,255,.015));color:#c9d6fa;text-align:center;padding:18px;font-weight:700}
.faq details{background:#0d1430;border:1px solid #293764;border-radius:14px;padding:14px 16px;margin-bottom:10px}.faq summary{cursor:pointer;font-weight:800;color:#eef3ff;list-style:none}.faq summary::-webkit-details-marker{display:none}.faq p{margin:10px 0 0;color:var(--muted);font-size:14px}
.footer{margin-top:22px;color:#95a7d6;font-size:13px;text-align:center}.toast{position:fixed;right:18px;bottom:18px;background:#0e1833;color:#eef3ff;border:1px solid rgba(255,255,255,.12);padding:12px 14px;border-radius:14px;box-shadow:var(--shadow);opacity:0;transform:translateY(8px);pointer-events:none;transition:.2s ease;z-index:99;font-size:14px;font-weight:700}.toast.show{opacity:1;transform:translateY(0)}
@media (max-width:980px){.page-shell{padding:24px 16px 48px}.page-breadcrumb{padding:0 16px}.page-hero{min-height:auto;padding:24px}.page-grid,.section-grid,.tool-hub-grid,.kpi-grid{grid-template-columns:1fr}}
@media (max-width:680px){.copy-group{grid-template-columns:1fr}}


.scaffold-box{
  padding:0;
  border:none;
  background:transparent;
  min-height:0;
}

.page-hero .sub{
  min-height:50px;
}


.kpi{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
  align-items:stretch;
}

.kpi .item{
  min-height:96px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:18px 16px;
  border-radius:16px;
  background:#0d1430;
  border:1px solid #293764;
}

.kpi .item strong{
  display:block;
  font-size:28px;
  line-height:1;
  margin-bottom:8px;
}

.kpi .item .small{
  display:block;
  min-height:34px;
  color:var(--muted);
}

.tool-hub-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
  align-items:stretch;
}

.tool-hub-grid > .tool-card,
.tool-hub-grid > a.tool-card{
  min-height:168px;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
}

.tool-hub-grid > .tool-card p,
.tool-hub-grid > a.tool-card p{
  min-height:66px;
}

.page-hero .sub{
  min-height:50px;
}

@media (max-width:980px){
  .kpi{
    grid-template-columns:1fr;
  }

  .tool-hub-grid{
    grid-template-columns:1fr;
  }

  .kpi .item .small,
  .tool-hub-grid > .tool-card p,
  .tool-hub-grid > a.tool-card p,
  .page-hero .sub{
    min-height:auto;
  }
}

.kpi-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
  align-items:stretch;
  margin-top:18px;
}

.kpi-item{
  min-height:96px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:18px 16px;
  border-radius:16px;
  background:#0d1430;
  border:1px solid #293764;
}

.kpi-item strong{
  display:block;
  font-size:28px;
  line-height:1;
  margin-bottom:8px;
}

.kpi-item .small{
  display:block;
  min-height:34px;
  color:var(--muted);
}

.tool-hub-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
  align-items:stretch;
}

.tool-hub-grid > .tool-card,
.tool-hub-grid > a.tool-card{
  min-height:168px;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
}

.tool-hub-grid > .tool-card p,
.tool-hub-grid > a.tool-card p{
  min-height:66px;
}

.page-hero .sub{
  min-height:50px;
}

@media (max-width:980px){
  .kpi-grid{
    grid-template-columns:1fr;
  }

  .tool-hub-grid{
    grid-template-columns:1fr;
  }

  .kpi-item .small,
  .tool-hub-grid > .tool-card p,
  .tool-hub-grid > a.tool-card p,
  .page-hero .sub{
    min-height:auto;
  }
}




