:root {
  color-scheme: light;
  --ink: #18221f;
  --muted: #68746f;
  --line: #dbe4e0;
  --paper: #f4f7f5;
  --panel: #ffffff;
  --rail: #14201c;
  --green: #16734f;
  --teal: #0e7c86;
  --blue: #315f9f;
  --amber: #b16712;
  --red: #b83b43;
  --soft-green: #e8f5ee;
  --soft-blue: #eaf1fb;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  background: var(--paper);
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.rail {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 24px 18px;
  background: var(--rail);
  color: #f1f6f3;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.brand span,
.eyebrow {
  display: block;
  color: #77c7a0;
  font-size: 12px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand strong {
  display: block;
  margin-top: 8px;
  font-size: 22px;
}

.rail nav {
  display: grid;
  gap: 8px;
}

.nav-item,
.nav-link {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: transparent;
  color: inherit;
  text-align: left;
}

.nav-link {
  display: block;
  font-size: 13px;
}

.nav-item.is-active {
  background: #e8f5ee;
  color: var(--rail);
}

.rail-note {
  margin-top: auto;
  color: #c0d2ca;
  font-size: 12px;
  line-height: 1.7;
}

.workspace {
  padding: 26px;
}

.section {
  display: none;
}

.section.is-active {
  display: block;
}

.page-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.material-head {
  margin-bottom: 10px;
}

h1,
h2 {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  font-size: 28px;
}

h2 {
  font-size: 17px;
}

.date-controls,
.quick-actions,
.launch-actions,
.launch-settings {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

label {
  color: var(--muted);
  font-size: 13px;
}

input,
select {
  min-height: 38px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}

input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-height: 18px;
  accent-color: var(--green);
}

.alert {
  display: none;
  margin-bottom: 16px;
  padding: 12px 14px;
  border: 1px solid #e2c88d;
  border-radius: 8px;
  background: #fff8e8;
  color: #7c520d;
}

.alert.is-visible {
  display: block;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(120px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.kpi,
.panel,
.data-range-panel,
.launch-toolbar,
.preview-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.kpi {
  padding: 16px;
}

.kpi span,
.panel-head span,
td small,
.muted {
  color: var(--muted);
  font-size: 12px;
}

.kpi strong {
  display: block;
  margin-top: 8px;
  font-size: 24px;
}

.layout-two {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.7fr);
  gap: 16px;
  margin-bottom: 16px;
}

.panel,
.preview-panel {
  padding: 18px;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

.chart {
  height: clamp(260px, 24vw, 340px);
  min-height: 260px;
  display: block;
  position: relative;
}

.trend-line-chart {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.trend-grid {
  stroke: #e6eeea;
  stroke-width: 1;
}

.trend-axis {
  stroke: #9eaaa5;
  stroke-width: 1;
}

.trend-axis.baseline {
  stroke: #73827b;
}

.trend-axis-label,
.trend-axis-title {
  fill: var(--muted);
  font-size: 12px;
}

.trend-axis-title {
  font-weight: 700;
}

.trend-bar {
  opacity: 0.88;
}

.trend-bar.spend {
  fill: var(--green);
}

.trend-bar.gmv {
  fill: var(--blue);
}

.trend-line {
  fill: none;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trend-line.roi,
.trend-dot.roi,
.trend-legend i.roi {
  stroke: var(--amber);
  background: var(--amber);
}

.trend-dot {
  fill: #fff;
  stroke-width: 3;
}

.trend-date {
  fill: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.trend-roi-label {
  fill: var(--muted);
  font-size: 12px;
}

.trend-legend {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  gap: 12px;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
}

.trend-legend span {
  display: inline-flex;
  gap: 5px;
  align-items: center;
}

.trend-legend i {
  display: inline-block;
  width: 18px;
  height: 4px;
  border-radius: 999px;
}

.trend-legend i.bar {
  height: 10px;
  border-radius: 3px;
}

.trend-legend i.spend {
  background: var(--green);
}

.trend-legend i.gmv {
  background: var(--blue);
}

.status-stack {
  display: grid;
  gap: 12px;
}

.status-row {
  position: relative;
  display: grid;
  grid-template-columns: 90px 1fr 52px;
  gap: 10px;
  align-items: center;
  min-height: 38px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.status-row em {
  position: absolute;
  inset: auto auto 0 0;
  height: 3px;
  background: var(--muted);
}

.status-row.top em,
.pill.top {
  background: var(--green);
}

.status-row.potential em,
.pill.potential {
  background: var(--teal);
}

.status-row.low em,
.pill.low {
  background: var(--red);
}

.material-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.material-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fbfdfb;
  min-width: 0;
}

.preview {
  position: relative;
  aspect-ratio: 9 / 16;
  border: 0;
  border-radius: 6px;
  background: linear-gradient(135deg, #e2f0e9, #e8eef8);
  display: grid;
  place-items: center;
  color: var(--green);
  font-weight: 700;
  margin-bottom: 10px;
  overflow: hidden;
  padding: 0;
  cursor: zoom-in;
}

.material-card .preview {
  width: 76px;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.preview span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
}

.preview.has-image span {
  display: none;
}

.preview.image-failed span {
  display: grid;
}

.preview em {
  position: absolute;
  right: 5px;
  bottom: 5px;
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 0 6px;
  border-radius: 6px;
  background: rgba(20, 32, 28, 0.78);
  color: #fff;
  font-size: 11px;
  font-style: normal;
  font-weight: 500;
}

.material-card strong,
td strong {
  display: block;
  overflow-wrap: anywhere;
}

.material-card span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.material-card dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 10px;
  margin: 10px 0 0;
  font-size: 12px;
}

.material-card dt {
  color: var(--muted);
}

.material-card dd {
  margin: 0;
  font-weight: 700;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 8px;
  background: #eef3ef;
  color: var(--ink);
  font-size: 12px;
  white-space: nowrap;
}

.pill.top,
.pill.potential,
.pill.low {
  color: #fff;
}

.launch-toolbar {
  position: sticky;
  top: 0;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(150px, 0.55fr) minmax(240px, 0.8fr) minmax(460px, 1.4fr) minmax(220px, auto);
  gap: 14px;
  align-items: center;
  padding: 14px;
  margin-bottom: 12px;
  box-shadow: 0 8px 24px rgba(20, 32, 28, 0.06);
}

.data-range-panel {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 14px 16px;
  margin-bottom: 12px;
}

.data-range-panel strong {
  display: block;
  font-size: 15px;
}

.data-range-panel span,
.date-filter-inline span {
  color: var(--muted);
  font-size: 12px;
}

.selection-summary strong {
  display: block;
}

.selection-summary span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.quick-actions button,
.launch-actions button {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  background: #fff;
  color: var(--ink);
}

.launch-actions .primary {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

.launch-actions .danger {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}

.launch-actions button:disabled,
.quick-actions button:disabled {
  opacity: 0.48;
  cursor: not-allowed;
}

.preview-panel {
  margin-bottom: 12px;
}

.preview-empty {
  min-height: 64px;
  display: grid;
  place-items: center;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: #fbfdfc;
}

.preview-empty.is-error {
  color: var(--red);
  border-color: #e2a7ad;
  background: #fff4f5;
}

.preview-body {
  display: grid;
  gap: 10px;
}

.template-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.template-row span {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  border-radius: 8px;
  background: var(--soft-blue);
  color: #25466d;
  font-size: 12px;
}

.preview-group {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfc;
  overflow: hidden;
}

.preview-group-head {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}

.preview-group-head strong {
  overflow-wrap: anywhere;
}

.preview-group-head span,
.preview-group-head em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.preview-ads {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 10px;
}

.preview-ad {
  min-height: 72px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.preview-ad.ok {
  border-color: #acd9c3;
  background: var(--soft-green);
}

.preview-ad.fail {
  border-color: #e3b0b6;
  background: #fff5f6;
}

.preview-ad span,
.preview-ad small,
.preview-ad b {
  display: block;
  overflow-wrap: anywhere;
}

.preview-ad small {
  margin-top: 4px;
  color: var(--muted);
}

.preview-ad b {
  margin-top: 6px;
  font-size: 12px;
}

.unresolved {
  display: grid;
  gap: 5px;
  padding: 10px 12px;
  border: 1px solid #e2c88d;
  border-radius: 8px;
  background: #fff9ec;
  font-size: 12px;
}

.table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 1460px;
}

th,
td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-size: 13px;
}

th {
  position: sticky;
  top: 0;
  background: #f0f6f2;
  z-index: 1;
}

thead tr:first-child th {
  vertical-align: middle;
}

.table-filters th {
  top: 45px;
  padding-top: 8px;
  padding-bottom: 10px;
  background: #f7fbf8;
  z-index: 2;
}

.sort-head {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  width: 100%;
  min-height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-weight: 700;
  text-align: left;
}

.sort-head span {
  width: 14px;
  color: var(--green);
  font-size: 13px;
}

.sort-head.is-active {
  color: var(--green);
}

.table-filters input,
.table-filters select,
.mini-sort {
  width: 100%;
  min-height: 32px;
  border-radius: 7px;
  font-size: 12px;
}

.mini-sort {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
}

.date-filter-inline {
  display: grid;
  grid-template-columns: minmax(112px, 1fr);
  gap: 6px;
}

tr.is-selected td {
  background: #f2faf6;
}

.check-col {
  width: 44px;
  text-align: center;
}

a {
  color: var(--blue);
  text-decoration: none;
}

.code-box,
.ad-name {
  max-width: 320px;
  overflow-wrap: anywhere;
  font-family: Consolas, "Microsoft YaHei", monospace;
  font-size: 12px;
}

.material-cell {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.material-cell .preview {
  margin: 0;
  width: 48px;
  height: 72px;
  aspect-ratio: auto;
}

.material-cell .preview span {
  width: 34px;
  height: 34px;
}

.account-status {
  color: var(--muted);
  font-size: 13px;
  text-align: right;
}

.account-daily-panel {
  margin-bottom: 16px;
}

.account-daily-filter-panel {
  align-items: flex-start;
}

.account-daily-filters {
  display: grid;
  grid-template-columns: repeat(4, minmax(160px, 1fr));
  gap: 10px;
  width: min(100%, 980px);
}

.account-daily-filters label {
  display: grid;
  gap: 6px;
}

.range-inputs {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 6px;
  align-items: center;
}

.range-inputs > span {
  color: var(--muted);
  font-size: 12px;
}

.account-kpi-grid {
  display: grid;
  grid-template-columns: repeat(9, minmax(105px, 1fr));
  gap: 10px;
}

.account-kpi {
  padding: 14px;
  min-height: 112px;
}

.account-kpi strong {
  font-size: 20px;
}

.account-delta {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  margin-top: 7px;
  padding: 0 7px;
  border-radius: 7px;
  background: #eef3ef;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.account-delta.up {
  background: var(--soft-green);
  color: var(--green);
}

.account-delta.down {
  background: #fff0f1;
  color: var(--red);
}

.account-level-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.account-level-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #fbfdfc;
}

.account-level-card h3 {
  margin: 0 0 10px;
  font-size: 15px;
}

.account-level-card div {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 8px;
  align-items: center;
  min-height: 30px;
}

.account-level-card span,
.account-table small {
  color: var(--muted);
  font-size: 12px;
}

.account-level-card strong {
  font-size: 14px;
}

.account-table {
  min-width: 1180px;
}

.account-table th {
  top: 0;
}

.account-cell-main {
  display: grid;
  gap: 2px;
}

.account-rank-layout {
  display: grid;
  grid-template-columns: minmax(420px, 0.9fr) minmax(360px, 1.1fr);
  gap: 14px;
  align-items: stretch;
}

.account-rank-table-inner {
  min-width: 860px;
}

.account-rank-chart-wrap {
  min-height: 240px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 12px;
}

.account-rank-chart-wrap svg {
  display: block;
  width: 100%;
  min-width: 560px;
}

.account-rank-label {
  fill: var(--ink);
  font-size: 12px;
  font-weight: 700;
}

.account-rank-value {
  fill: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.account-pie-card {
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfc;
  padding: 14px;
}

.compact-head {
  margin-bottom: 8px;
}

.account-pie-wrap {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(220px, 1fr);
  gap: 14px;
  align-items: center;
}

.account-pie-wrap svg {
  width: 100%;
  height: auto;
}

.account-pie-center-label {
  fill: var(--muted);
  font-size: 13px;
}

.account-pie-center-value {
  fill: var(--ink);
  font-size: 16px;
  font-weight: 800;
}

.account-pie-legend {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.account-pie-item {
  display: flex;
  gap: 7px;
  align-items: center;
  min-width: 0;
  color: var(--muted);
  font-size: 12px;
}

.swatch {
  flex: 0 0 10px;
  width: 10px;
  height: 10px;
  border-radius: 3px;
}

.empty-note {
  fill: var(--muted);
  font-size: 13px;
}

.launch-progress {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 20;
  width: min(360px, calc(100vw - 44px));
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(20, 32, 28, 0.18);
}

.launch-progress.is-hidden {
  display: none;
}

.launch-progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 12px 8px;
}

.launch-progress-head strong,
.launch-progress-head span {
  display: block;
}

.launch-progress-head span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.launch-progress-head button {
  min-height: 30px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--muted);
}

.launch-progress-body {
  padding: 0 12px 12px;
}

.progress-track {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e7eeeb;
}

.progress-track span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: var(--green);
  transition: width 0.35s ease;
}

.launch-progress p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.launch-progress.is-done .progress-track span {
  background: var(--teal);
}

.launch-progress.is-error .progress-track span {
  background: var(--red);
}

.launch-progress.is-collapsed {
  width: 190px;
}

.launch-progress.is-collapsed .launch-progress-body,
.launch-progress.is-collapsed .launch-progress-head span {
  display: none;
}

.material-viewer {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 24px;
}

.material-viewer.is-hidden,
.material-frame-wrap .is-hidden {
  display: none;
}

.material-viewer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14, 22, 20, 0.62);
}

.material-viewer-panel {
  position: relative;
  z-index: 1;
  width: min(460px, calc(100vw - 28px));
  max-height: calc(100vh - 48px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
}

.material-viewer-panel header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}

.material-viewer-panel header strong,
.material-viewer-panel header span {
  display: block;
  overflow-wrap: anywhere;
}

.material-viewer-panel header span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.material-viewer-panel header button {
  min-height: 32px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
}

.material-frame-wrap {
  display: grid;
  place-items: center;
  min-height: 520px;
  background: #111a17;
}

.material-frame-wrap iframe,
.material-frame-wrap video {
  width: min(360px, 100%);
  height: min(640px, calc(100vh - 190px));
  min-height: 420px;
  border: 0;
  background: #000;
}

.material-viewer-panel p {
  margin: 0;
  padding: 10px 14px 12px;
  color: var(--muted);
  font-size: 12px;
  border-top: 1px solid var(--line);
}

@media (max-width: 1180px) {
  .launch-toolbar {
    grid-template-columns: 1fr;
  }

  .preview-ads {
    grid-template-columns: 1fr;
  }
}

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

  .rail {
    position: static;
    height: auto;
  }

  .rail nav,
  .kpi-grid,
  .layout-two,
  .material-strip,
  .account-kpi-grid,
  .account-level-cards,
  .account-rank-layout,
  .account-pie-wrap,
  .account-pie-legend {
    grid-template-columns: 1fr;
  }

  .page-head {
    align-items: stretch;
    flex-direction: column;
  }

  .data-range-panel {
    align-items: stretch;
    flex-direction: column;
  }

  .account-daily-filters {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .account-status {
    text-align: left;
  }

  .material-viewer {
    padding: 14px;
  }

  .material-frame-wrap {
    min-height: 420px;
  }

  .material-frame-wrap iframe,
  .material-frame-wrap video {
    min-height: 360px;
  }
}

.admin-body {
  display: block;
  min-height: 100vh;
}

.admin-shell {
  max-width: 980px;
  margin: 0 auto;
  padding: 28px;
}

.admin-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
}

.admin-head a,
.admin-summary a {
  color: var(--blue);
  font-weight: 700;
}

.admin-panel {
  margin-bottom: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.admin-step {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  margin-bottom: 10px;
}

.admin-step span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-weight: 700;
}

.admin-step strong,
.admin-summary strong {
  display: block;
}

.admin-step p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.admin-panel input[type="file"],
.admin-panel input[type="password"] {
  width: 100%;
  margin-bottom: 18px;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-actions button {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.admin-actions .primary {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

.admin-actions button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.admin-summary {
  display: grid;
  gap: 6px;
  min-height: 70px;
  padding: 12px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
}

.admin-summary.is-error {
  border-color: #e2a7ad;
  background: #fff4f5;
  color: var(--red);
}

.admin-sop {
  margin: 0;
  padding-left: 22px;
  color: var(--ink);
  line-height: 1.8;
}
