.brand{
  border:1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(17,27,54,.55);
  box-shadow: var(--shadow);
  padding:12px;
}
.brand h1{margin:0;font-size:14px;font-weight:900;letter-spacing:.2px}
.brand .sub{margin-top:6px;color:var(--muted);font-size:12px;line-height:1.4}
.agent{
  margin-top:10px;padding:10px 12px;border-radius:14px;border:1px solid var(--border);
  background: rgba(255,255,255,.03);display:flex;align-items:center;justify-content:space-between;gap:10px;
}
.agent-meta{min-width:0;display:flex;flex-direction:column;gap:4px}
.agent-label{font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.agent-meta strong{font-size:16px;font-weight:900;line-height:1.2}
.agent-logout{
  padding:6px 12px;
  min-width:64px;
  border-radius:12px;
  font-size:12px;
  white-space:nowrap;
}
.pill{
  font-size:12px;padding:5px 10px;border-radius:999px;border:1px solid rgba(122,162,255,.35);
  background: rgba(122,162,255,.10);color: rgba(231,236,255,.95);font-weight:800;white-space:nowrap;
}
.nav{margin-top:12px;display:flex;flex-direction:column;gap:6px}
.nav a{
  display:flex;align-items:center;gap:10px;padding:10px 10px;border-radius:14px;
  border:1px solid transparent;color: rgba(231,236,255,.92);
}
.nav a:hover{background: rgba(122,162,255,.10); border-color: rgba(122,162,255,.25)}
.nav a.active{background: rgba(94,234,212,.10); border-color: rgba(94,234,212,.28)}
.nav .icon{
  width:22px;height:22px;display:grid;place-items:center;border-radius:8px;
  border:1px solid rgba(255,255,255,.10);background: rgba(255,255,255,.04);font-size:12px;
}
.side-footer{
  margin-top:14px;padding:12px;border:1px solid var(--border);border-radius: var(--radius);
  background: rgba(17,27,54,.35);color: rgba(183,192,230,.9);font-size:12px;line-height:1.5;
}
.hamb{
  display:none;width:40px;height:40px;border-radius:14px;border:1px solid var(--border);
  background: rgba(255,255,255,.06);color:var(--text);cursor:pointer;
}
.title{min-width:0}
.title .h{font-weight:900;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.title .m{color:var(--muted);font-size:12px;margin-top:3px}
.topbar-tools{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.filters{display:flex; gap:10px; flex-wrap:wrap; justify-content:flex-end}
.field{
  display:flex; align-items:center; gap:8px;border:1px solid var(--border);
  background: rgba(255,255,255,.04);padding:8px 10px;border-radius: 14px;
}
.field label{font-size:12px;color:var(--muted)}
.field select, .field input{background:transparent;border:none;outline:none;color:var(--text);font-size:13px;min-width:110px}
.btn{
  border:1px solid var(--border);background: rgba(255,255,255,.06);color:var(--text);
  padding:9px 12px;border-radius: 14px;cursor:pointer;font-weight:800;font-size:13px;
  transition:border-color .18s ease, background .18s ease, transform .18s ease;
}
.btn:hover{border-color: rgba(122,162,255,.45); background: rgba(255,255,255,.10)}
.btn:disabled{cursor:not-allowed;opacity:.55;transform:none}
.btn.primary{border-color: rgba(94,234,212,.35); background: rgba(94,234,212,.12)}
.btn.danger{border-color: rgba(251,113,133,.35); background: rgba(251,113,133,.10)}
.grid{display:grid;grid-template-columns: 1fr 1fr 1fr 1fr;gap:12px}
.card{
  border:1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding:14px;min-width:0;
}
.kpi .k{color:var(--muted);font-size:12px;font-weight:700}
.kpi .v{margin-top:6px;font-size:22px;font-weight:900;letter-spacing:.2px}
.kpi .s{margin-top:6px;font-size:12px;color: rgba(183,192,230,.9);display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.tag{
  font-size:12px;padding:4px 8px;border-radius:999px;border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);color: rgba(231,236,255,.92);white-space:nowrap;
}
.tag.good{border-color: rgba(52,211,153,.35); background: rgba(52,211,153,.10)}
.tag.bad{border-color: rgba(251,113,133,.35); background: rgba(251,113,133,.10)}
.tag.warn{border-color: rgba(251,191,36,.35); background: rgba(251,191,36,.10)}
.row{display:flex; gap:12px; margin-top:12px; flex-wrap:wrap}
.row .card{flex:1; min-width: 320px}
.card h2{margin:0;font-size:14px;font-weight:900;letter-spacing:.2px;display:flex;align-items:center;justify-content:space-between;gap:10px}
.card h2 span{color:var(--muted); font-size:12px; font-weight:700}
.subtle{color:var(--muted);font-size:12px;line-height:1.6;margin-top:8px}
.table-wrap{margin-top:10px; overflow:auto; border-radius:14px; border:1px solid rgba(255,255,255,.10)}
table{width:100%; border-collapse: collapse; min-width: 720px; background: rgba(0,0,0,.12)}
th,td{padding:10px 10px; border-bottom:1px solid rgba(255,255,255,.08); font-size:13px; text-align:left; vertical-align:middle}
th{color: rgba(183,192,230,.95); font-weight:900; font-size:12px; letter-spacing:.2px; background: rgba(255,255,255,.03); position:sticky; top:0}
tr:hover td{background: rgba(122,162,255,.06)}
.status{display:inline-flex; align-items:center; gap:6px; padding:4px 8px; border-radius:999px; font-size:12px; font-weight:800;
  border:1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04);}
.dot{width:7px;height:7px;border-radius:99px;background:rgba(255,255,255,.35)}
.status.on{border-color: rgba(52,211,153,.35); background: rgba(52,211,153,.10)}
.status.on .dot{background: var(--good)}
.status.off{border-color: rgba(251,113,133,.35); background: rgba(251,113,133,.10)}
.status.off .dot{background: var(--bad)}
.actions{display:flex; gap:8px; flex-wrap:wrap}
.linkbtn{
  border:1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04); color: rgba(231,236,255,.94);
  padding:6px 10px;border-radius: 12px;cursor:pointer;font-weight:800;font-size:12px;
}
.linkbtn:hover{border-color: rgba(122,162,255,.45); background: rgba(255,255,255,.08)}
.linkbtn.danger{border-color: rgba(251,113,133,.35); background: rgba(251,113,133,.10)}
.modal-mask{position:fixed; inset:0;background: rgba(0,0,0,.55);display:none;align-items:center;justify-content:center;padding:8px;z-index:50}
.modal{
  width:min(1160px, 98vw);
  max-height:calc(100vh - 16px);
  display:flex;
  flex-direction:column;
  border-radius: 18px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(17,27,54,.95);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.modal .mh{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px;border-bottom:1px solid rgba(255,255,255,.10);background: rgba(255,255,255,.03)}
.modal .mh .t{font-weight:900}
.modal .mb{
  padding:10px 12px 12px;
  overflow:auto;
  max-height:calc(100vh - 96px);
}
.modal .close{width:38px;height:38px;border-radius:14px;border:1px solid rgba(255,255,255,.12);background: rgba(255,255,255,.05);color:var(--text);cursor:pointer}
.form{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:10px}
.f{border:1px solid var(--border);background: rgba(255,255,255,.03);border-radius:14px;padding:10px 12px}
.f{min-width:0}
.f.full{
  min-width:0;
  max-width:100%;
  overflow:hidden;
}
.f label{display:block;color:var(--muted);font-size:12px;font-weight:800}
.f input,.f textarea,.f select{width:100%;margin-top:6px;background: rgba(0,0,0,.12);border:1px solid rgba(255,255,255,.10);outline:none;color:var(--text);border-radius:12px;padding:10px 10px;font-size:13px}
.f textarea{min-height:88px;resize:vertical}
.form .full{grid-column:1/-1}
.table-empty{text-align:center;color:var(--muted);padding:24px 10px}
.overview-shell{display:flex;flex-direction:column;gap:14px}
.overview-kicker{font-size:11px;font-weight:900;letter-spacing:.24em;text-transform:uppercase;color:rgba(94,234,212,.92)}
.overview-hero{
  display:grid;
  grid-template-columns:minmax(0,1.6fr) minmax(320px,.9fr);
  gap:18px;
  padding:18px;
  background:
    radial-gradient(620px 260px at 0% 0%, rgba(122,162,255,.22), transparent 68%),
    radial-gradient(360px 220px at 100% 0%, rgba(94,234,212,.16), transparent 72%),
    linear-gradient(180deg, rgba(21,33,66,.94), rgba(12,20,42,.92));
}
.overview-hero-main{display:flex;flex-direction:column;gap:12px;min-width:0}
.overview-hero-title{margin:0;font-size:32px;line-height:1.16;max-width:760px}
.overview-hero-copy{margin:0;color:rgba(214,222,255,.82);line-height:1.7;max-width:720px}
.overview-chip-row,.filter-badge-row{display:flex;flex-wrap:wrap;gap:8px}
.overview-hero-side{
  display:flex;
  flex-direction:column;
  gap:12px;
  padding:16px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.12);
  background:linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
}
.overview-hero-stat span,.overview-hero-grid span{display:block;color:var(--muted);font-size:12px}
.overview-hero-stat strong{display:block;margin-top:6px;font-size:28px;font-weight:900}
.overview-hero-stat small{display:block;margin-top:6px;color:rgba(214,222,255,.74);font-size:12px}
.overview-hero-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.overview-hero-grid-wide{grid-template-columns:repeat(auto-fit, minmax(120px, 1fr))}
.overview-hero-grid div{
  border:1px solid rgba(255,255,255,.1);
  border-radius:16px;
  padding:12px;
  background:rgba(255,255,255,.04);
}
.overview-hero-grid strong{display:block;margin-top:4px;font-size:20px}
.overview-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.overview-kpi-grid-three{grid-template-columns:repeat(3,minmax(0,1fr))}
.overview-kpi-grid-four{grid-template-columns:repeat(4,minmax(0,1fr))}
.overview-kpi-grid-five{grid-template-columns:repeat(5,minmax(0,1fr))}
.overview-kpi-card{position:relative;overflow:hidden;padding:16px}
.overview-kpi-card::after{
  content:'';
  position:absolute;
  inset:auto -40px -48px auto;
  width:140px;
  height:140px;
  border-radius:999px;
  background:radial-gradient(circle, rgba(122,162,255,.18), transparent 70%);
  pointer-events:none;
}
.overview-kpi-label{color:var(--muted);font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}
.overview-kpi-value{margin-top:12px;font-size:30px;font-weight:900;line-height:1.1}
.overview-kpi-value span{display:block;margin-top:8px;font-size:16px;color:rgba(214,222,255,.8)}
.overview-kpi-meta{margin-top:12px;display:flex;flex-wrap:wrap;gap:8px}
.overview-kpi-stats{
  margin-top:14px;
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(120px, 1fr));
  gap:10px;
}
.overview-kpi-stat{
  padding:10px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.04);
}
.overview-kpi-stat span{
  display:block;
  color:var(--muted);
  font-size:11px;
  line-height:1.4;
}
.overview-kpi-stat strong{
  display:block;
  margin-top:6px;
  font-size:15px;
  line-height:1.25;
}
.overview-kpi-foot{margin-top:12px;font-size:12px;color:rgba(214,222,255,.72);line-height:1.6}
.overview-main-row{align-items:stretch}
.overview-funnel-card{min-width:420px}
.overview-funnel{display:flex;flex-direction:column;gap:14px;margin-top:14px}
.overview-stage{
  padding:14px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:18px;
  background:rgba(255,255,255,.03);
}
.overview-stage-top{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
.overview-stage-top strong{display:block;font-size:15px}
.overview-stage-top span{display:block;margin-top:4px;color:rgba(214,222,255,.84);font-size:13px}
.overview-stage-rates{text-align:right;min-width:144px}
.overview-stage-rates span{margin-top:0}
.overview-stage-bar{
  margin-top:12px;
  height:10px;
  border-radius:999px;
  background:rgba(255,255,255,.06);
  overflow:hidden;
}
.overview-stage-bar span{
  display:block;
  height:100%;
  border-radius:999px;
  background:linear-gradient(90deg, rgba(122,162,255,.9), rgba(94,234,212,.9));
  box-shadow:0 0 18px rgba(94,234,212,.18);
}
.overview-insight-card{min-width:320px}
.overview-insight-list{display:flex;flex-direction:column;gap:12px;margin-top:14px}
.overview-insight-item{
  padding:14px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.03);
}
.overview-insight-item span{display:block;color:var(--muted);font-size:12px}
.overview-insight-item strong{display:block;margin-top:6px;font-size:18px}
.overview-insight-item small{display:block;margin-top:6px;color:rgba(214,222,255,.72);line-height:1.5}
.overview-note{
  margin-top:14px;
  padding:14px;
  border-radius:16px;
  border:1px solid rgba(94,234,212,.18);
  background:rgba(94,234,212,.08);
  color:rgba(214,222,255,.82);
  line-height:1.6;
  font-size:13px;
}
.tag-card-grid{
  margin-top:14px;
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(220px, 1fr));
  gap:12px;
}
.tag-card{
  padding:14px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.08);
  background:linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
}
.tag-card-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.tag-card-head strong{font-size:15px}
.tag-card-head span{color:var(--muted);font-size:12px}
.tag-card-metrics{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}
.tag-card-metrics div{padding:10px;border-radius:14px;background:rgba(0,0,0,.16)}
.tag-card-metrics span{display:block;color:var(--muted);font-size:11px}
.tag-card-metrics strong{display:block;margin-top:6px;font-size:16px}
.tag-card-sample{margin-top:14px;color:rgba(214,222,255,.74);font-size:12px}
.overview-empty{
  margin-top:14px;
  padding:24px;
  text-align:center;
  border-radius:18px;
  border:1px dashed rgba(255,255,255,.12);
  color:var(--muted);
  background:rgba(255,255,255,.02);
}
.filter-shell{display:flex;flex-direction:column;gap:18px}
.filter-shell-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}
.filter-shell-head h3{margin:6px 0 0;font-size:22px;line-height:1.24}
.filter-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.filter-card{
  padding:16px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.08);
  background:linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
}
.filter-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.filter-card-head strong{display:block;font-size:14px}
.filter-card-head span{display:block;margin-top:4px;color:var(--muted);font-size:12px;line-height:1.5}
.filter-native-field{padding:12px 14px}
.filter-native-field label{font-size:12px}
.filter-date-row{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}
.filter-date-row.is-hidden{display:none}
.filter-choice-grid{display:grid;grid-template-columns:repeat(auto-fit, minmax(140px, 1fr));gap:10px;margin-top:14px}
.filter-choice{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.1);
  background:rgba(255,255,255,.03);
  color:rgba(231,236,255,.9);
  cursor:pointer;
  text-align:center;
  padding:0 12px;
  transition:border-color .18s ease, background .18s ease, transform .18s ease;
}
.filter-choice:hover{border-color:rgba(122,162,255,.34);background:rgba(122,162,255,.08)}
.filter-choice.is-checked{
  border-color:rgba(94,234,212,.32);
  background:linear-gradient(180deg, rgba(94,234,212,.18), rgba(122,162,255,.10));
  transform:translateY(-1px);
}
.filter-all-button.is-active{
  border-color:rgba(94,234,212,.32);
  background:linear-gradient(180deg, rgba(94,234,212,.18), rgba(122,162,255,.10));
}
.filter-choice input{position:absolute;inset:0;opacity:0;pointer-events:none}
.filter-helper{
  margin-top:12px;
  color:rgba(214,222,255,.72);
  font-size:12px;
  line-height:1.6;
}
.filter-error{
  margin-top:10px;
  color:#ffc8d2;
  font-size:12px;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(251,113,133,.28);
  background:rgba(251,113,133,.12);
}
.filter-actions{display:flex;justify-content:flex-end;gap:10px}
.table-muted{color:var(--muted);font-size:12px}
.entity-pill-list{display:flex;flex-wrap:wrap;gap:8px}
.plan-name-cell{
  display:flex;
  flex-direction:column;
  gap:4px;
  min-width:180px;
}
.plan-name-cell strong{
  font-size:14px;
  line-height:1.35;
}
.plan-name-cell span{
  color:var(--muted);
  font-size:11px;
  line-height:1.4;
  font-family:"JetBrains Mono","SFMono-Regular",Consolas,monospace;
}
.plan-cell-stack{
  display:flex;
  flex-direction:column;
  gap:8px;
  min-width:180px;
}
.plan-cell-line{
  display:flex;
  flex-direction:column;
  gap:6px;
}
.plan-cell-line > span{
  color:var(--muted);
  font-size:11px;
  font-weight:700;
}
.plan-cell-pills{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
}
.plan-scroll-list{
  display:flex;
  flex-direction:column;
  gap:6px;
  max-height:94px;
  overflow:auto;
  padding-right:4px;
  scrollbar-width:none;
  -ms-overflow-style:none;
}
.plan-scroll-list::-webkit-scrollbar{
  width:0;
  height:0;
}
.plan-scroll-list .entity-pill{
  align-self:flex-start;
  max-width:100%;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.plan-scroll-list-os .entity-pill{
  box-sizing:border-box;
  width:132px;
  min-width:132px;
  max-width:132px;
  height:34px;
  min-height:34px;
  padding:0 10px;
  justify-content:center;
  flex-shrink:0;
}
.plan-link-cell a,
.plan-link-cell strong,
.plan-link-cell span{
  display:block;
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
  font-size:12px;
  line-height:1.5;
}
.plan-link-cell a{
  color:rgba(231,236,255,.94);
  text-decoration:none;
}
.plan-link-cell a:hover{color:rgba(94,234,212,.96)}
.plan-actions-cell{
  vertical-align:middle;
  min-width:108px;
  width:108px;
}
.plan-actions{
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:stretch;
  gap:8px;
  height:100%;
  min-height:100%;
}
.plan-actions .linkbtn{
  justify-content:center;
}
.entity-pill{
  display:inline-flex;
  align-items:center;
  padding:5px 10px;
  border-radius:999px;
  border:1px solid rgba(122,162,255,.18);
  background:rgba(122,162,255,.09);
  color:rgba(231,236,255,.92);
  font-size:12px;
  line-height:1.3;
}
.choice-tile-grid{display:grid;grid-template-columns:repeat(auto-fit, minmax(130px, 1fr));gap:10px;margin-top:8px}
.choice-tile{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.1);
  background:rgba(255,255,255,.03);
  color:rgba(231,236,255,.9);
  cursor:pointer;
  text-align:center;
  padding:0 12px;
  transition:border-color .18s ease, background .18s ease, transform .18s ease;
}
.choice-tile span{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  min-height:100%;
  text-align:center;
  line-height:1.45;
}
.choice-tile:hover{border-color:rgba(122,162,255,.34);background:rgba(122,162,255,.08)}
.choice-tile.is-checked{
  border-color:rgba(94,234,212,.32);
  background:linear-gradient(180deg, rgba(94,234,212,.18), rgba(122,162,255,.10));
  transform:translateY(-1px);
}
.choice-tile:has(input:checked){
  border-color:rgba(94,234,212,.32);
  background:linear-gradient(180deg, rgba(94,234,212,.18), rgba(122,162,255,.10));
  transform:translateY(-1px);
}
.choice-tile input{position:absolute;inset:0;opacity:0;pointer-events:none}
.radio-pill-grid{display:grid;grid-template-columns:repeat(auto-fit, minmax(96px, 1fr));gap:10px;margin-top:8px}
.limit-pill-grid{
  max-height:168px;
  overflow:auto;
  grid-template-columns:repeat(auto-fit, minmax(64px, 1fr));
  padding-right:4px;
}
.compact-sheet{width:100%;max-width:none;margin:0}
.compact-sheet-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px, 300px);align-items:flex-start;gap:12px}
.compact-sheet-head h3{margin:6px 0 0;font-size:24px;line-height:1.24}
.compact-sheet-note{max-width:none;color:rgba(214,222,255,.72);font-size:12px;line-height:1.6}
.compact-stack{display:flex;flex-direction:column;gap:14px;margin-top:14px}
.form-section{
  padding:12px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.03);
}
.form-section h4{margin:0 0 12px;font-size:14px;font-weight:900}
.compact-form{grid-template-columns:1fr}
.analytics-hero{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(320px,.85fr);gap:18px}
.analytics-control-panel{display:flex;flex-direction:column;gap:12px}
.analytics-control-field{padding:12px 14px}
.analytics-control-field label{font-size:12px}
.analytics-kpi-grid{grid-template-columns:repeat(5, minmax(0, 1fr));gap:10px}
.analytics-kpi-grid .overview-kpi-card{padding:14px}
.analytics-kpi-grid .overview-kpi-label{font-size:11px}
.analytics-kpi-grid .overview-kpi-value{margin-top:10px;font-size:26px}
.analytics-kpi-grid .overview-kpi-value span{font-size:14px}
.analytics-kpi-grid .overview-kpi-stats{gap:8px;grid-template-columns:repeat(auto-fit, minmax(92px, 1fr))}
.analytics-kpi-grid .overview-kpi-stat{padding:8px 10px}
.analytics-kpi-grid .overview-kpi-stat strong{font-size:14px}
.analytics-kpi-grid .overview-kpi-foot{font-size:11px}
.analytics-summary-grid{grid-template-columns:repeat(4, minmax(0, 1fr))}
.analytics-profile-grid{
  margin-top:14px;
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(220px, 1fr));
  gap:12px;
}
.analytics-profile-grid > div{
  padding:14px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.03);
}
.analytics-profile-label{color:var(--muted);font-size:12px;font-weight:800;margin-bottom:8px}
.analytics-columns{
  display:grid;
  grid-template-columns:minmax(0, 1fr) minmax(0, 1fr);
  gap:12px;
}
.analytics-column{
  display:flex;
  flex-direction:column;
  gap:12px;
  min-width:0;
}
.analytics-plan-strip-list{margin-top:14px;display:flex;flex-direction:column;gap:12px}
.analytics-plan-strip{
  padding:16px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.08);
  background:linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
}
.analytics-plan-strip-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
}
.analytics-plan-strip-head span{
  display:block;
  color:var(--muted);
  font-size:12px;
}
.analytics-plan-strip-head strong{
  display:block;
  margin-top:6px;
  font-size:18px;
  line-height:1.25;
}
.analytics-plan-strip-highlight{
  min-width:120px;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid rgba(94,234,212,.2);
  background:rgba(94,234,212,.08);
}
.analytics-plan-strip-metrics{
  margin-top:14px;
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(120px, 1fr));
  gap:10px;
}
.analytics-plan-strip-metrics div{
  padding:10px 12px;
  border-radius:14px;
  background:rgba(0,0,0,.16);
}
.analytics-plan-strip-metrics span{
  display:block;
  color:rgba(214,222,255,.72);
  font-size:11px;
}
.analytics-plan-strip-metrics strong{
  display:block;
  margin-top:6px;
  font-size:15px;
  line-height:1.25;
}
.analytics-heatmap{
  margin-top:14px;
  display:grid;
  grid-template-columns:repeat(6, minmax(0, 1fr));
  gap:10px;
}
.analytics-heatmap-cell{
  min-height:138px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.08);
  display:flex;
  flex-direction:column;
  align-items:stretch;
  justify-content:flex-start;
  padding:12px;
  color:rgba(231,236,255,.94);
}
.analytics-heatmap-hour{
  font-size:13px;
  font-weight:900;
  letter-spacing:.02em;
}
.analytics-heatmap-metrics{
  display:grid;
  gap:8px;
  margin-top:10px;
}
.analytics-heatmap-metrics div{
  padding:8px 10px;
  border-radius:12px;
  background:rgba(0,0,0,.16);
}
.analytics-heatmap-metrics span{
  display:block;
  color:rgba(214,222,255,.72);
  font-size:11px;
  line-height:1.35;
}
.analytics-heatmap-metrics strong{
  display:block;
  margin-top:4px;
  font-size:13px;
  font-weight:900;
}
.analytics-heatmap-cell.level-1{background:rgba(122,162,255,.08)}
.analytics-heatmap-cell.level-2{background:rgba(122,162,255,.14)}
.analytics-heatmap-cell.level-3{background:rgba(94,234,212,.18)}
.analytics-heatmap-cell.level-4{background:rgba(251,191,36,.18)}
.analytics-frequency-shell{margin-top:14px;display:flex;flex-direction:column;gap:10px}
.analytics-frequency-chart{
  height:260px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.08);
  background:linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  padding:10px;
}
.analytics-frequency-chart svg{display:block;width:100%;height:100%}
.analytics-frequency-axis-title{
  color:var(--muted);
  font-size:12px;
  font-weight:800;
  text-align:right;
}
.analytics-frequency-legend{display:flex;gap:10px;flex-wrap:wrap}
.legend{display:flex;flex-wrap:wrap;gap:10px}
.lg{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.04);
  font-size:12px;
  color:rgba(231,236,255,.92);
}
.sw{
  width:10px;
  height:10px;
  border-radius:999px;
  display:inline-block;
}
.analytics-line-chart{height:140px}
.analytics-feedback-grid{grid-template-columns:repeat(3, minmax(0, 1fr))}
.analytics-tag-grid{grid-template-columns:repeat(auto-fit, minmax(210px, 1fr))}
.analytics-tag-stack{
  margin-top:14px;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.analytics-tag-row{
  padding:14px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.08);
  background:linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
}
.analytics-tag-row-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.analytics-tag-row-head strong{font-size:15px}
.analytics-tag-row-head span{color:var(--muted);font-size:12px}
.analytics-tag-row-metrics{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:10px;
  margin-top:12px;
}
.analytics-tag-row-metrics div{
  padding:10px 12px;
  border-radius:14px;
  background:rgba(0,0,0,.16);
}
.analytics-tag-row-metrics span{
  display:block;
  color:rgba(214,222,255,.72);
  font-size:11px;
}
.analytics-tag-row-metrics strong{
  display:block;
  margin-top:6px;
  font-size:15px;
}
.diagnostics-page{gap:14px}
.diagnostics-hero{grid-template-columns:minmax(0,1.45fr) minmax(280px,.8fr)}
.diagnostics-kpi-grid{grid-template-columns:repeat(5, minmax(0, 1fr))}
.diagnostics-kpi-card{padding:14px}
.diagnostics-kpi-card .overview-kpi-value{font-size:26px}
.diagnostics-reason-list{
  margin-top:14px;
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(220px, 1fr));
  gap:12px;
}
.diagnostics-reason-item{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  padding:14px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.08);
  background:linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
}
.diagnostics-reason-item strong{display:block;font-size:15px}
.diagnostics-reason-item span{display:block;margin-top:6px;color:var(--muted);font-size:12px}
.diagnostics-reason-metric{text-align:right;min-width:72px}
.diagnostics-reason-metric strong{font-size:22px}
.diagnostics-trend-shell{margin-top:14px}
.diagnostics-trend-chart{height:280px}
.diagnostics-query-form{
  margin-top:14px;
  display:grid;
  grid-template-columns:180px minmax(0, 1fr) auto;
  gap:12px;
  align-items:end;
}
.diagnostics-query-field{padding:12px 14px}
.diagnostics-query-input input{min-height:44px}
.diagnostics-query-actions{display:flex;gap:10px;flex-wrap:wrap}
.diagnostics-search-results{
  display:flex;
  flex-direction:column;
  gap:12px;
}
.diagnostics-device-detail{display:flex;flex-direction:column;gap:14px}
.diagnostics-device-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
}
.diagnostics-device-head h2{margin:6px 0 0;font-size:24px;line-height:1.24}
.diagnostics-device-head h2 span{
  display:block;
  margin-top:6px;
  color:var(--muted);
  font-size:12px;
  font-weight:700;
}
.diagnostics-trace-detail{display:flex;flex-direction:column;gap:14px}
.diagnostics-trace-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
}
.diagnostics-trace-head h2{margin:6px 0 0;font-size:24px;line-height:1.24}
.diagnostics-trace-head h2 span{
  display:block;
  margin-top:6px;
  color:var(--muted);
  font-size:12px;
  font-weight:700;
}
.diagnostics-device-actions{
  display:flex;
  gap:10px;
  align-items:flex-end;
  flex-wrap:wrap;
}
.diagnostics-device-layout{
  display:grid;
  grid-template-columns:minmax(0, 1fr) minmax(0, 1fr);
  gap:12px;
}
.diagnostics-mini-grid{
  margin-top:10px;
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(160px, 1fr));
  gap:10px;
}
.diagnostics-mini-card{
  padding:12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.03);
}
.diagnostics-mini-card span{
  display:block;
  color:var(--muted);
  font-size:11px;
  line-height:1.4;
}
.diagnostics-mini-card strong{
  display:block;
  margin-top:6px;
  font-size:16px;
  line-height:1.3;
}
.diagnostics-link-list{
  margin-top:10px;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.diagnostics-snapshot-grid{
  margin-top:14px;
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(220px, 1fr));
  gap:12px;
}
.diagnostics-snapshot-grid > div{
  padding:14px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.03);
}
.diagnostics-snapshot-grid span{
  display:block;
  color:var(--muted);
  font-size:12px;
  line-height:1.4;
}
.diagnostics-snapshot-grid strong{
  display:block;
  margin-top:6px;
  font-size:15px;
  line-height:1.45;
}
.diagnostics-note{
  margin-top:12px;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(0,0,0,.16);
  color:rgba(214,222,255,.78);
  line-height:1.6;
  font-size:13px;
}
.diagnostics-code{
  font-family:"JetBrains Mono","SFMono-Regular",Consolas,monospace;
  font-size:12px;
  color:rgba(214,222,255,.92);
}
.diagnostics-meta{
  max-width:280px;
  white-space:pre-wrap;
  word-break:break-word;
  color:rgba(214,222,255,.78);
  font-family:"JetBrains Mono","SFMono-Regular",Consolas,monospace;
  font-size:12px;
  line-height:1.55;
}
.diagnostics-timeline{
  position:relative;
  margin-top:14px;
  display:flex;
  flex-direction:column;
  gap:12px;
}
.diagnostics-timeline::before{
  content:'';
  position:absolute;
  left:10px;
  top:28px;
  bottom:12px;
  width:2px;
  background:rgba(255,255,255,.08);
}
.diagnostics-timeline-item{
  position:relative;
  display:flex;
  gap:14px;
  align-items:flex-start;
}
.diagnostics-timeline-marker{
  position:relative;
  z-index:1;
  width:22px;
  height:22px;
  border-radius:999px;
  border:2px solid rgba(122,162,255,.38);
  background:rgba(17,27,54,.95);
  flex:0 0 22px;
  margin-top:8px;
}
.diagnostics-timeline-marker.good{border-color:rgba(52,211,153,.45)}
.diagnostics-timeline-marker.bad{border-color:rgba(248,113,113,.45)}
.diagnostics-timeline-content{
  flex:1;
  min-width:0;
  padding:14px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.08);
  background:linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
}
.diagnostics-timeline-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}
.diagnostics-timeline-top strong{font-size:15px}
.diagnostics-timeline-top span{color:var(--muted);font-size:12px;white-space:nowrap}
.diagnostics-timeline-middle{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  margin-top:10px;
}
.creative-preview{display:flex;flex-direction:column;gap:16px;max-width:920px;margin:0 auto}
.creative-style-picker{display:flex;align-items:center;gap:10px;margin-top:6px}
.creative-style-picker select{margin-top:0;flex:1}
.creative-style-preview-btn{white-space:nowrap;min-height:42px}
.creative-preview-mask{
  position:fixed;
  inset:0;
  z-index:80;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:14px;
  background:rgba(0,0,0,.62);
  backdrop-filter:blur(4px);
}
.creative-preview-modal{
  width:min(1160px, 96vw);
  max-height:calc(100vh - 28px);
  display:flex;
  flex-direction:column;
  border-radius:20px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(17,27,54,.97);
  box-shadow:var(--shadow);
  overflow:hidden;
}
.creative-preview-modal-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  padding:16px 18px;
  border-bottom:1px solid rgba(255,255,255,.1);
  background:rgba(255,255,255,.03);
}
.creative-preview-modal-head h3{margin:6px 0 0;font-size:24px;line-height:1.25}
.creative-preview-modal-head p{margin:10px 0 0;color:rgba(214,222,255,.74);font-size:13px;line-height:1.65;max-width:680px}
.creative-preview-modal-actions{display:flex;align-items:center;gap:10px}
.creative-preview-close{
  width:38px;
  height:38px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.05);
  color:var(--text);
  cursor:pointer;
  font-size:20px;
}
.creative-preview-modal-body{
  padding:16px;
  overflow:auto;
  max-height:calc(100vh - 128px);
}
.creative-preview-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.creative-preview-head h3{margin:6px 0 0;font-size:24px;line-height:1.25}
.creative-preview-style{
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(94,234,212,.28);
  background:rgba(94,234,212,.12);
  font-size:12px;
  font-weight:800;
  white-space:nowrap;
}
.creative-preview-toolbar{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
}
.creative-preview-toolbar-stack{align-items:stretch;justify-content:flex-start}
.creative-preview-toolbar-group{display:flex;flex-direction:column;gap:8px}
.creative-preview-toolbar-label{
  display:block;
  color:var(--muted);
  font-size:12px;
  font-weight:800;
}
.creative-preview-style-tabs{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}
.creative-preview-style-tab{
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.04);
  color:rgba(231,236,255,.94);
  padding:8px 12px;
  border-radius:12px;
  cursor:pointer;
  font-weight:800;
  font-size:12px;
}
.creative-preview-style-tab:hover{
  border-color:rgba(122,162,255,.45);
  background:rgba(255,255,255,.08);
}
.creative-preview-style-tab.is-active{
  border-color:rgba(94,234,212,.35);
  background:rgba(94,234,212,.12);
}
.creative-preview-langs{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}
.creative-preview-lang{
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.04);
  color:rgba(231,236,255,.94);
  padding:8px 12px;
  border-radius:12px;
  cursor:pointer;
  font-weight:800;
  font-size:12px;
}
.creative-preview-lang:hover{
  border-color:rgba(122,162,255,.45);
  background:rgba(255,255,255,.08);
}
.creative-preview-lang.is-active{
  border-color:rgba(94,234,212,.35);
  background:rgba(94,234,212,.12);
}
.creative-preview-save{
  opacity:.45;
  pointer-events:none;
  transition:opacity .18s ease, background .18s ease, border-color .18s ease;
}
.creative-preview-save.is-active{
  opacity:1;
  pointer-events:auto;
  border-color:rgba(94,234,212,.38);
  background:rgba(94,234,212,.14);
  color:rgba(232,255,250,.96);
}
.creative-preview-hint{
  color:rgba(214,222,255,.74);
  line-height:1.6;
  font-size:12px;
  max-width:320px;
}
.creative-preview-device-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(300px, 1fr));
  gap:16px;
}
.creative-preview-phone{
  padding:14px;
  border-radius:20px;
  border:1px solid rgba(255,255,255,.08);
  background:linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
}
.creative-preview-phone-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}
.creative-preview-phone-head span{
  display:block;
  color:var(--muted);
  font-size:12px;
}
.creative-preview-phone-head strong{
  display:block;
  margin-top:6px;
  font-size:16px;
  line-height:1.35;
}
.creative-preview-frame{
  position:relative;
  display:flex;
  flex-direction:column;
  margin-top:14px;
  width:min(100%, 380px);
  margin-left:auto;
  margin-right:auto;
  border-radius:28px;
  padding:12px;
  border:1px solid rgba(255,255,255,.14);
  background:linear-gradient(180deg, rgba(8,16,32,.92), rgba(12,20,42,.92));
  box-shadow:0 24px 48px rgba(0,0,0,.28);
}
.creative-preview-frame::before{
  content:'';
  display:block;
  width:34%;
  height:6px;
  margin:0 auto 10px;
  border-radius:999px;
  background:rgba(255,255,255,.12);
}
.creative-preview-frame-popup{
  aspect-ratio:9 / 18.5;
}
.creative-preview-frame-detail{
  aspect-ratio:9 / 19.5;
}
.creative-preview-iframe{
  display:block;
  width:100%;
  flex:1;
  min-height:0;
  border:0;
  border-radius:20px;
  background:#000;
}
.creative-preview-meta{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(240px, 1fr));
  gap:12px;
}
.creative-preview-meta > div{
  padding:16px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.03);
}
.creative-preview-meta span{
  display:block;
  color:var(--muted);
  font-size:12px;
  font-weight:800;
  margin-bottom:8px;
}
.creative-preview-meta p{
  margin:0;
  color:rgba(214,222,255,.78);
  line-height:1.6;
  font-size:13px;
}
.field-inline-head{
  display:grid;
  grid-template-columns:auto minmax(0, 1fr) auto;
  align-items:center;
  gap:14px;
  min-width:0;
}
.field-inline-head label{
  margin:0;
}
.field-inline-actions{
  display:flex;
  align-items:center;
  gap:12px;
  justify-content:center;
  min-width:0;
  justify-self:center;
}
.field-inline-actions-compact{
  margin:0;
}
.creative-inline-lang-label{
  color:var(--muted);
  font-size:12px;
  font-weight:800;
  white-space:nowrap;
}
.creative-inline-lang-shell{
  display:flex;
  align-items:center;
  min-width:0;
  padding:6px 8px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:999px;
  background:rgba(255,255,255,.03);
  max-width:100%;
}
.creative-inline-lang-switch{
  min-width:0;
}
.creative-inline-lang-switch .radio-pill-grid{
  margin-top:0;
  display:flex;
  align-items:center;
  flex-wrap:nowrap;
  gap:8px;
  overflow-x:auto;
  overflow-y:hidden;
  scrollbar-width:none;
}
.creative-inline-lang-switch .radio-pill-grid::-webkit-scrollbar{width:0;height:0}
.creative-inline-lang-switch .choice-tile{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:38px;
  min-width:86px;
  padding:0 14px;
  border-radius:999px;
  white-space:nowrap;
}
.creative-inline-lang-switch .choice-tile span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:1 1 auto;
  width:100%;
  min-height:0;
  height:100%;
  line-height:1;
}
.app-guide-cell{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}
.app-guide-current{
  margin-top:10px;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  padding:12px 14px;
  border-radius:16px;
  border:1px solid rgba(94,234,212,.18);
  background:rgba(94,234,212,.06);
}
.app-guide-current-copy{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:6px;
}
.app-guide-current-copy strong{
  font-size:13px;
  line-height:1.3;
}
.app-guide-current-copy span{
  color:rgba(214,222,255,.76);
  font-size:12px;
  line-height:1.6;
}
.checkbox-inline{
  margin-top:12px;
  display:flex;
  align-items:center;
  gap:10px;
  color:rgba(214,222,255,.86);
  font-size:13px;
}
.checkbox-inline input{
  width:16px;
  height:16px;
  margin:0;
}
.video-resource-section{
  display:flex;
  flex-direction:column;
  gap:12px;
  margin-top:14px;
  align-self:stretch;
}
.video-resource-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  width:100%;
  min-width:0;
}
.video-resource-head-actions{
  align-items:center;
}
.video-resource-head-actions-right{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.video-resource-section{
  width:100%;
  min-width:0;
  overflow:hidden;
}
.video-resource-rail{
  width:100%;
  max-width:100%;
  min-width:0;
  overflow-x:auto;
  overflow-y:hidden;
  padding:2px 2px 4px;
  scrollbar-width:none;
  -ms-overflow-style:none;
}
.video-resource-rail::-webkit-scrollbar{
  width:0;
  height:0;
}
.video-resource-head strong{
  display:block;
  font-size:13px;
}
.video-resource-tools{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  min-width:0;
}
.video-resource-nav{
  display:flex;
  align-items:center;
  gap:8px;
}
.video-resource-nav-btn{
  width:36px;
  height:36px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.05);
  color:rgba(231,236,255,.94);
  cursor:pointer;
  font-size:20px;
  font-weight:800;
  line-height:1;
  transition:border-color .18s ease, background .18s ease, opacity .18s ease, transform .18s ease;
}
.video-resource-nav-btn:hover{
  border-color:rgba(122,162,255,.45);
  background:rgba(255,255,255,.10);
  transform:translateY(-1px);
}
.video-resource-nav-btn:disabled{
  cursor:not-allowed;
  opacity:.42;
  transform:none;
}
.style-card-strip{
  display:flex;
  gap:12px;
  flex-wrap:nowrap;
  overflow-x:auto;
  overflow-y:hidden;
  width:100%;
  min-width:0;
  max-width:100%;
  padding:2px 2px 4px;
  scroll-snap-type:x proximity;
}
.video-resource-strip{
  display:flex;
  gap:10px;
  flex-wrap:nowrap;
  width:max-content;
  min-width:100%;
  max-width:none;
  overflow:visible;
  padding:0;
  scroll-snap-type:x proximity;
}
.video-resource-card{
  flex:0 0 228px;
  width:228px;
  min-width:228px;
  max-width:228px;
  min-height:430px;
  position:relative;
  display:flex;
  flex-direction:column;
  gap:12px;
  padding:12px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.10);
  background:linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  color:rgba(231,236,255,.94);
  cursor:pointer;
  text-align:left;
  scroll-snap-align:start;
  transition:border-color .18s ease, background .18s ease, transform .18s ease, box-shadow .18s ease;
}
.style-choice-card{
  flex:0 0 252px;
  position:relative;
  display:flex;
  flex-direction:column;
  gap:12px;
  padding:12px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.10);
  background:linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  color:rgba(231,236,255,.94);
  cursor:pointer;
  text-align:left;
  scroll-snap-align:start;
  transition:border-color .18s ease, background .18s ease, transform .18s ease, box-shadow .18s ease;
}
.video-resource-card:hover,
.style-choice-card:hover{
  border-color:rgba(122,162,255,.34);
  background:rgba(122,162,255,.08);
  transform:translateY(-1px);
}
.video-resource-card.is-active,
.style-choice-card.is-active{
  border-color:rgba(94,234,212,.34);
  background:linear-gradient(180deg, rgba(94,234,212,.16), rgba(122,162,255,.10));
  box-shadow:0 12px 28px rgba(0,0,0,.18);
}
.video-resource-card.is-editing{
  padding-top:22px;
}
.video-resource-remove{
  position:absolute;
  top:12px;
  right:12px;
  width:34px;
  height:34px;
  border:1px solid rgba(133,148,196,.24);
  border-radius:12px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(180deg, rgba(15,23,41,.94), rgba(17,27,54,.92));
  color:rgba(226,236,255,.94);
  font-size:0;
  line-height:0;
  cursor:pointer;
  box-shadow:0 8px 18px rgba(0,0,0,.22);
  transition:transform .16s ease, border-color .16s ease, background .16s ease, color .16s ease, opacity .16s ease, box-shadow .16s ease;
  z-index:3;
  touch-action:manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select:none;
}
.video-resource-remove::before,
.video-resource-remove::after{
  content:'';
  position:absolute;
  width:13px;
  height:2px;
  border-radius:999px;
  background:currentColor;
}
.video-resource-remove::before{
  transform:rotate(45deg);
}
.video-resource-remove::after{
  transform:rotate(-45deg);
}
.video-resource-remove-icon{
  display:block;
  width:100%;
  height:100%;
}
.video-resource-remove:hover{
  transform:translateY(-1px);
  box-shadow:0 10px 22px rgba(0,0,0,.24);
}
.video-resource-remove:focus-visible{
  outline:none;
  border-color:rgba(122,162,255,.52);
  box-shadow:0 0 0 3px rgba(122,162,255,.16), 0 10px 22px rgba(0,0,0,.24);
}
.video-resource-remove.is-deletable{
  border-color:rgba(94,234,212,.34);
  background:linear-gradient(180deg, rgba(12,29,43,.96), rgba(14,39,56,.92));
  color:rgba(204,255,246,.98);
}
.video-resource-remove.is-deletable:hover{
  border-color:rgba(94,234,212,.56);
  background:linear-gradient(180deg, rgba(20,46,59,.98), rgba(27,59,78,.95));
  color:#ffffff;
}
.video-resource-remove.is-disabled{
  border-color:rgba(133,148,196,.16);
  background:linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.03));
  color:rgba(175,188,220,.52);
  cursor:not-allowed;
  opacity:.95;
}
.video-resource-preview{
  flex:0 0 auto;
  position:relative;
  height:332px;
  overflow:hidden;
  border-radius:18px;
  background:rgba(5,10,22,.92);
  border:1px solid rgba(255,255,255,.08);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04);
}
.video-resource-rail{
  content-visibility:auto;
  contain-intrinsic-size:360px;
}
.video-resource-strip{
  contain:layout paint style;
}
.video-resource-card{
  contain:layout paint style;
}
.video-resource-poster{
  position:absolute;
  inset:0;
  z-index:0;
  display:block;
  background:
    radial-gradient(circle at 50% 22%, rgba(122,162,255,.14), transparent 52%),
    linear-gradient(180deg, rgba(11,18,36,.98), rgba(6,10,24,.98));
}
.video-resource-poster-image{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  transform:translateZ(0);
}
.video-resource-poster-fallback{
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 50% 28%, rgba(94,234,212,.12), transparent 48%),
    linear-gradient(180deg, rgba(11,18,36,.98), rgba(6,10,24,.98));
}
.video-resource-preview video{
  position:absolute;
  inset:0;
  z-index:1;
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  pointer-events:none;
  opacity:0;
  transition:opacity .18s ease;
  background:transparent;
}
.video-resource-preview video::-webkit-media-controls{
  display:none !important;
}
.video-resource-preview video::-webkit-media-controls-panel{
  display:none !important;
  opacity:0 !important;
}
.video-resource-card.is-playing .video-resource-preview video{
  opacity:1;
}
.creative-style-live-preview-shell--compact{
  min-height:auto;
  padding:16px 18px;
}
.creative-style-live-preview-shell--compact .style-choice-preview{
  display:block;
  margin-top:12px;
  height:260px;
}
.creative-style-live-preview-shell--compact .style-choice-preview-stage{
  transform:translateX(-50%) scale(.42);
}
.creative-style-live-preview-empty{
  display:flex;
  flex-direction:column;
  gap:8px;
  margin-top:12px;
  padding:12px 14px;
  border-radius:16px;
  border:1px dashed rgba(255,255,255,.12);
  background:rgba(255,255,255,.03);
}
.creative-style-live-preview-hint{
  font-size:13px;
  font-weight:700;
  color:rgba(231,236,255,.92);
}
.creative-style-live-preview-meta{
  font-size:12px;
  color:rgba(214,222,255,.72);
}
.video-resource-copy,
.style-choice-copy{
  display:flex;
  flex-direction:column;
  gap:6px;
  min-width:0;
}
.video-resource-copy strong,
.style-choice-copy strong{
  font-size:14px;
  line-height:1.35;
}
.video-resource-copy{
  min-height:72px;
}
.video-resource-copy strong{
  display:-webkit-box;
  min-height:38px;
  overflow:hidden;
  overflow-wrap:anywhere;
  word-break:break-word;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
}
.video-resource-copy span,
.style-choice-copy span{
  color:rgba(214,222,255,.72);
  font-size:12px;
  line-height:1.55;
}
.video-resource-copy span{
  display:-webkit-box;
  min-height:36px;
  overflow:hidden;
  overflow-wrap:anywhere;
  word-break:break-word;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
}
.video-resource-empty{
  padding:16px;
  border-radius:16px;
  border:1px dashed rgba(255,255,255,.12);
  background:rgba(255,255,255,.02);
  color:var(--muted);
  line-height:1.6;
  font-size:12px;
}
.style-choice-preview{
  position:relative;
  height:332px;
  overflow:hidden;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(5,10,22,.92);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04);
}
.style-choice-preview-stage{
  position:absolute;
  left:50%;
  top:0;
  width:390px;
  height:600px;
  transform-origin:top center;
  transform:translateX(-50%) scale(.54);
}
.style-choice-preview-frame{
  display:block;
  width:390px;
  height:600px;
  border:0;
  background:#000;
  pointer-events:none;
}
.plan-rail-list{
  margin-top:16px;
  display:flex;
  flex-direction:column;
  gap:14px;
}
.plan-rail{
  position:relative;
  width:100%;
  min-width:0;
  min-height:0;
  height:auto;
  display:grid;
  gap:10px;
  padding:14px 16px;
  border-radius:24px;
  border:1px solid rgba(122,162,255,.18);
  background:
    radial-gradient(320px 220px at 0% 0%, rgba(59,130,246,.16), transparent 72%),
    radial-gradient(240px 180px at 100% 0%, rgba(94,234,212,.10), transparent 74%),
    linear-gradient(180deg, rgba(12,20,42,.98), rgba(7,12,28,.98));
  box-shadow:0 20px 42px rgba(0,0,0,.30);
  overflow:visible;
  transition:transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.plan-rail:hover{
  transform:translateY(-2px);
  border-color:rgba(94,234,212,.28);
  box-shadow:0 24px 50px rgba(0,0,0,.34);
}
.plan-rail::before{
  content:"";
  position:absolute;
  left:0;
  top:16px;
  bottom:16px;
  width:3px;
  border-radius:999px;
  background:linear-gradient(180deg, rgba(94,234,212,.95), rgba(122,162,255,.55));
  opacity:.92;
}
.plan-rail::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  pointer-events:none;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06);
}
.plan-rail-top{
  display:grid;
  grid-template-columns:minmax(0, 1fr) auto;
  gap:10px;
  align-items:start;
}
.plan-rail-head{
  display:flex;
  flex-direction:column;
  gap:5px;
  min-width:0;
}
.plan-rail-head h3{
  margin:0;
  font-size:16px;
  line-height:1.25;
  letter-spacing:-.02em;
  max-width:none;
}
.plan-rail-id{
  color:rgba(210,220,255,.62);
  font-size:11px;
  line-height:1.45;
  font-family:"JetBrains Mono","SFMono-Regular",Consolas,monospace;
}
.plan-rail-tools{
  display:flex;
  align-items:flex-start;
  gap:6px;
  flex-wrap:wrap;
}
.plan-rail-tool{
  min-height:30px !important;
  padding:6px 10px !important;
  font-size:12px !important;
  border-radius:12px !important;
}
.plan-rail-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:8px;
}
.plan-rail-bubble{
  min-width:0;
  min-height:92px;
  padding:10px 12px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.06);
  background:rgba(255,255,255,.035);
  display:grid;
  gap:6px;
}
.plan-rail-bubble-title{
  color:var(--muted);
  font-size:10px;
  line-height:1.35;
  font-weight:800;
  letter-spacing:.04em;
}
.plan-rail-bubble-body{
  min-width:0;
}
.plan-rail-key-value{
  display:block;
  font-size:15px;
  line-height:1.3;
  color:rgba(244,246,255,.96);
  font-weight:800;
}
.plan-rail-key-note{
  margin-top:4px;
  color:rgba(214,222,255,.7);
  font-size:10px;
  line-height:1.45;
}
.plan-rail-mini-row{
  display:flex;
  flex-direction:column;
  gap:6px;
}
.plan-rail-mini-row > span{
  color:rgba(214,222,255,.72);
  font-size:11px;
  font-weight:700;
}
.plan-rail-os-list{
  gap:6px;
}
.plan-rail-os-list .entity-pill{
  padding-inline:8px;
}
.plan-rail-link-inline a,
.plan-rail-link-inline strong{
  display:-webkit-box;
  color:rgba(236,240,255,.9);
  font-size:12px;
  line-height:1.5;
  word-break:break-all;
  overflow:hidden;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
}
.plan-rail-link-inline a{text-decoration:none}
.plan-rail-link-inline a:hover{color:rgba(94,234,212,.96)}
.entity-pill-more{
  background:rgba(122,162,255,.12);
  border-color:rgba(122,162,255,.26);
}
.lifecycle-page,
.anomaly-page{gap:14px}
.lifecycle-controls{display:grid;gap:14px}
.lifecycle-control-grid{
  display:grid;
  grid-template-columns:220px minmax(0,1fr);
  gap:14px;
  align-items:start;
}
.lifecycle-filter-list{display:flex;flex-wrap:wrap;gap:10px}
.lifecycle-kpi-card,
.anomaly-kpi-card{padding:14px}
.lifecycle-two-column,
.anomaly-two-column{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}
.anomaly-reason-list{grid-template-columns:1fr}
@media (max-width: 820px){
  .field-inline-head{grid-template-columns:1fr;align-items:flex-start}
  .field-inline-actions{width:100%;justify-content:flex-start;flex-wrap:wrap}
  .field-inline-actions-compact{margin-top:0}
  .creative-inline-lang-shell{width:100%;border-radius:18px}
  .creative-inline-lang-switch{min-width:0;width:100%}
  .creative-inline-lang-switch .radio-pill-grid{flex-wrap:wrap}
  .creative-style-preview-btn{width:100%}
  .creative-preview-modal-head{flex-direction:column}
  .creative-preview-modal-actions{width:100%;justify-content:flex-end}
  .video-resource-card,
  .style-choice-card{flex-basis:228px}
  .video-resource-preview{height:300px}
  .style-choice-preview{height:300px}
  .style-choice-preview-stage{transform:translateX(-50%) scale(.5)}
  .overview-kpi-grid-three{grid-template-columns:1fr 1fr}
  .overview-kpi-grid-four{grid-template-columns:1fr 1fr}
  .lifecycle-control-grid,
  .lifecycle-two-column,
  .anomaly-two-column{grid-template-columns:1fr}
  .plan-rail{
    height:auto;
    min-height:0;
  }
  .plan-rail-top{grid-template-columns:1fr}
  .plan-rail-head h3{font-size:16px}
  .plan-rail-tools{justify-content:flex-start}
  .plan-rail-grid{grid-template-columns:repeat(2, minmax(0, 1fr))}
}
.login-shell{
  min-height:100vh;
  display:grid;
  grid-template-columns:minmax(0, 1.1fr) minmax(360px, .9fr);
  gap:18px;
  padding:24px;
}
.login-panel{
  border:1px solid var(--border);
  border-radius:24px;
  background:linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  box-shadow:var(--shadow);
}
.login-panel-hero{
  padding:28px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  background:
    radial-gradient(620px 300px at 0% 0%, rgba(122,162,255,.22), transparent 68%),
    radial-gradient(380px 260px at 100% 10%, rgba(94,234,212,.16), transparent 72%),
    linear-gradient(180deg, rgba(19,32,64,.96), rgba(11,18,36,.95));
}
.login-panel-hero h1{margin:10px 0 0;font-size:40px;line-height:1.15;max-width:520px}
.login-panel-hero p{margin:14px 0 0;color:rgba(214,222,255,.8);line-height:1.7;max-width:560px}
.login-highlights{display:grid;gap:12px;margin-top:28px}
.login-highlight{
  padding:16px 18px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.04);
}
.login-highlight strong{display:block;font-size:15px}
.login-highlight span{display:block;margin-top:6px;color:rgba(214,222,255,.74);line-height:1.6;font-size:13px}
.login-panel-form{
  display:grid;
  place-items:center;
  padding:24px;
}
.login-card{width:min(420px, 100%)}
.login-card-head h2{margin:10px 0 0;font-size:30px;line-height:1.2}
.login-card-head p{margin:10px 0 0;color:rgba(214,222,255,.76);line-height:1.6}
.login-form{display:flex;flex-direction:column;gap:14px;margin-top:20px}
.login-field{
  display:flex;
  flex-direction:column;
  gap:8px;
}
.login-field span{color:var(--muted);font-size:12px;font-weight:800}
.login-field input{
  width:100%;
  border:1px solid rgba(255,255,255,.1);
  background:rgba(0,0,0,.18);
  color:var(--text);
  border-radius:14px;
  padding:12px 14px;
  outline:none;
  font-size:14px;
}
.login-error{
  color:#ffc8d2;
  font-size:12px;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(251,113,133,.28);
  background:rgba(251,113,133,.12);
}
.login-submit{width:100%;justify-content:center}
@media (max-width: 980px){
  .hamb{display:inline-grid; place-items:center}
  .grid{grid-template-columns: 1fr 1fr}
  .overview-hero{grid-template-columns:1fr}
  .overview-kpi-grid{grid-template-columns:1fr 1fr}
  .overview-kpi-grid-five{grid-template-columns:1fr 1fr}
  .filter-grid{grid-template-columns:1fr}
  .analytics-hero{grid-template-columns:1fr}
  .analytics-kpi-grid{grid-template-columns:1fr 1fr}
  .analytics-columns{grid-template-columns:1fr}
  .analytics-summary-grid{grid-template-columns:1fr 1fr}
  .analytics-feedback-grid{grid-template-columns:1fr 1fr}
  .analytics-plan-strip-head{flex-direction:column}
  .analytics-plan-strip-highlight{min-width:0}
  .diagnostics-hero{grid-template-columns:1fr}
  .diagnostics-kpi-grid{grid-template-columns:1fr 1fr}
  .diagnostics-query-form{grid-template-columns:1fr}
  .diagnostics-device-layout{grid-template-columns:1fr}
  .diagnostics-device-head{flex-direction:column}
  .diagnostics-trace-head{flex-direction:column}
  .diagnostics-timeline-top{flex-direction:column;align-items:flex-start}
  .login-shell{grid-template-columns:1fr}
}
@media (max-width: 640px){
  .grid{grid-template-columns: 1fr}
  .form{grid-template-columns: 1fr}
  table{min-width: 620px}
  .overview-kpi-grid{grid-template-columns:1fr}
  .overview-kpi-grid-five{grid-template-columns:1fr}
  .overview-hero-title{font-size:24px}
  .overview-stage-top{flex-direction:column}
  .overview-stage-rates{text-align:left;min-width:0}
  .overview-hero-grid{grid-template-columns:1fr 1fr}
  .filter-shell-head{flex-direction:column}
  .filter-date-row{grid-template-columns:1fr}
  .filter-actions{flex-wrap:wrap}
  .compact-sheet-head{grid-template-columns:1fr}
  .compact-form{grid-template-columns:1fr}
  .video-resource-card,
  .style-choice-card{flex-basis:86vw}
  .video-resource-preview{height:352px}
  .style-choice-preview{height:352px}
  .style-choice-preview-stage{transform:translateX(-50%) scale(.58)}
  .overview-kpi-grid-three{grid-template-columns:1fr}
  .overview-kpi-grid-four{grid-template-columns:1fr}
  .plan-rail{
    width:100%;
    min-width:0;
    height:auto;
    min-height:0;
    padding:14px;
  }
  .plan-rail-grid{grid-template-columns:1fr}
  .analytics-kpi-grid{grid-template-columns:1fr}
  .analytics-summary-grid{grid-template-columns:1fr}
  .analytics-feedback-grid{grid-template-columns:1fr}
  .analytics-heatmap{grid-template-columns:repeat(3, minmax(0, 1fr))}
  .analytics-frequency-chart{height:230px}
  .analytics-tag-row-head{flex-direction:column;align-items:flex-start}
  .analytics-tag-row-metrics{grid-template-columns:1fr}
  .diagnostics-kpi-grid{grid-template-columns:1fr}
  .diagnostics-reason-list{grid-template-columns:1fr}
  .diagnostics-snapshot-grid{grid-template-columns:1fr}
  .topbar-tools{width:100%;justify-content:flex-start}
  .login-shell{padding:16px}
  .login-panel-hero h1{font-size:30px}
  .login-panel-form{padding:18px}
}
