:root {
  color-scheme: light;
  --ink: #1d2433;
  --muted: #647084;
  --line: #d9dee7;
  --paper: #f7f8fb;
  --panel: #ffffff;
  --brand: #101047;
  --accent: #00a88f;
  --warn: #9c5b00;
  --danger: #b3261e;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--ink);
}
header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand { font-weight: 800; color: var(--brand); }
.status { color: var(--muted); font-size: 14px; }
main {
  width: min(1180px, calc(100vw - 32px));
  margin: 24px auto 48px;
  display: grid;
  grid-template-columns: minmax(320px, 430px) minmax(0, 1fr);
  gap: 22px;
}
section, aside {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}
h1, h2 { margin: 0 0 14px; letter-spacing: 0; }
h1 { font-size: 22px; }
h2 { font-size: 17px; }
p { color: var(--muted); line-height: 1.45; margin: 8px 0; }
video {
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: 680px;
  background: #111;
  border-radius: 8px;
  display: block;
}
label { display: block; font-weight: 700; font-size: 13px; margin: 16px 0 6px; }
textarea, select, input[type="text"] {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 12px;
  font: inherit;
  background: #fff;
  color: var(--ink);
}
textarea { min-height: 112px; resize: vertical; }
button, .button {
  border: 0;
  border-radius: 6px;
  padding: 11px 14px;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  background: var(--brand);
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
button.secondary { background: #e9edf5; color: var(--ink); }
button:disabled { opacity: .45; cursor: not-allowed; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  color: var(--ink);
}
.check input { margin-top: 3px; }
.check span { color: var(--muted); line-height: 1.35; }
.pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 9px;
  color: var(--muted);
  font-size: 12px;
  background: #fff;
}
.account {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px;
  background: #f9fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 78px;
}
.avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #dde3ef;
  object-fit: cover;
}
.notice {
  border-left: 4px solid var(--accent);
  background: #eefaf7;
  padding: 10px 12px;
  border-radius: 4px;
  color: #135e52;
  margin: 12px 0;
}
.warn {
  border-left-color: var(--warn);
  background: #fff8ed;
  color: #694000;
}
pre {
  white-space: pre-wrap;
  overflow: auto;
  max-height: 360px;
  padding: 12px;
  border-radius: 6px;
  background: #111827;
  color: #d6e2ff;
  font-size: 12px;
}
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 880px) {
  main { grid-template-columns: 1fr; }
  header { align-items: flex-start; flex-direction: column; }
  .grid2 { grid-template-columns: 1fr; }
}
