:root{
  --bg:#07101d;
  --panel:#0d1728;
  --line:rgba(255,255,255,.10);
  --text:#eef4ff;
  --muted:#9fb0d0;
  --blue:#2563eb;
  --red:#991b1b;
}
body.light-theme{
  --line:rgba(15,23,42,.14);
  --text:#0f172a;
  --muted:#475569;
}
*{box-sizing:border-box}
html{height:100%}
body{
  margin:0;
  height:100%;
  min-height:100vh;
  overflow:hidden;
  font-family:Inter,Arial,sans-serif;
  color:var(--text);
  background:
    radial-gradient(circle at 18% 8%, rgba(37,99,235,.20), transparent 24%),
    radial-gradient(circle at 78% 18%, rgba(153,27,27,.20), transparent 25%),
    linear-gradient(135deg,#060d19,#101a2d);
}
body.light-theme{
  background:
    radial-gradient(circle at 18% 8%, rgba(37,99,235,.10), transparent 24%),
    radial-gradient(circle at 78% 18%, rgba(153,27,27,.08), transparent 25%),
    linear-gradient(135deg,#f8fafc,#eaf1fb);
}
.topbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:18px;
  padding:8px 14px;
  border-bottom:1px solid var(--line);
  background:rgba(5,12,24,.86);
  backdrop-filter:blur(12px);
  position:sticky;
  top:0;
  z-index:10;
}
body.light-theme .topbar{background:rgba(248,250,252,.90)}
.eyebrow{
  display:inline-flex;
  padding:4px 9px;
  border-radius:999px;
  color:#dbeafe;
  background:rgba(37,99,235,.18);
  border:1px solid rgba(37,99,235,.34);
  font-size:11px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.08em;
}
h1,h2,p{margin:0}
h1{margin-top:4px;font-size:clamp(1.15rem,2vw,1.6rem);line-height:1.05}
h2{font-size:1.15rem}
.muted{color:var(--muted);line-height:1.35}
.actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.btn{
  border:0;
  border-radius:9px;
  padding:8px 12px;
  cursor:pointer;
  font-weight:800;
  text-decoration:none;
  color:#fff;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.btn.primary{background:var(--blue)}
.btn.danger{background:#ef4444}
.btn.ghost{background:rgba(255,255,255,.05);border:1px solid var(--line)}
body.light-theme .btn.ghost{background:rgba(255,255,255,.72);color:#0f172a}
.shell{padding:8px;max-width:none;margin:0 auto}
.panel{
  height:calc(100vh - 60px);
  min-height:calc(100vh - 60px);
  display:flex;
  flex-direction:column;
  border:1px solid var(--line);
  border-radius:14px;
  background:rgba(13,23,40,.82);
  box-shadow:0 24px 70px rgba(0,0,0,.32);
  overflow:hidden;
}
body.light-theme .panel{background:rgba(255,255,255,.86)}
.report-frame{
  width:100%;
  flex:1;
  height:calc(100vh - 78px);
  min-height:640px;
  background:#0a1220;
  overflow:hidden;
}
.sr-status{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}
body.light-theme .report-frame{background:#f8fafc}
.report-frame iframe,
.report-frame > div{
  width:100% !important;
  height:100% !important;
  min-height:inherit !important;
  border:0 !important;
  display:block;
}
.setup{
  margin:18px;
  padding:16px;
  border-radius:12px;
  border:1px solid rgba(245,158,11,.34);
  background:rgba(245,158,11,.10);
}
.setup strong{display:block;margin-bottom:8px}
.setup ul{margin:10px 0 0;padding-left:18px;color:#fde68a}
.hidden{display:none}
@media (max-width:760px){
  .topbar{align-items:flex-start;flex-direction:column}
  .shell{padding:8px}
  .report-frame{height:78vh;min-height:560px}
}
