:root {
  --bg: #000;
  --side: #050505;
  --card: #0b0b0b;
  --card2: #101010;
  --card3: #151515;
  --line: #1c1c1c;
  --line2: #262626;
  --line3: #333;
  --text: #f4f4f4;
  --text2: #a3a3a3;
  --text3: #6f6f6f;
  --text4: #4d4d4d;
  --green: #3ecf8e;
  --red: #e5484d;
  --amber: #f5a524;
  --r-lg: 20px;
  --r-md: 14px;
  --r-sm: 10px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  background: var(--bg); color: var(--text); font-family: var(--font); font-size: 13px; line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
button, input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
::selection { background: #fff; color: #000; }

/* ---------- layout ---------- */
.layout { display: grid; grid-template-columns: 216px 1fr; min-height: 100vh; }
.side {
  position: sticky; top: 0; height: 100vh; background: var(--side); border-right: 1px solid var(--line);
  padding: 22px 14px; display: flex; flex-direction: column; gap: 2px;
}
.logo { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; padding: 0 10px 22px; }
.logo i { width: 7px; height: 7px; border-radius: 50%; background: #fff; display: inline-block; }
.nav-item {
  position: relative; display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: var(--r-sm);
  color: var(--text2); border: 1px solid transparent; cursor: pointer; font-size: 13px;
}
.nav-item:hover { color: var(--text); background: #0d0d0d; }
.nav-item.active { color: var(--text); background: #121212; border-color: var(--line2); }
.nav-item.active::before {
  content: ""; position: absolute; left: -9px; top: 8px; bottom: 8px; width: 2px; border-radius: 2px; background: #fff;
}
.nav-item svg { width: 16px; height: 16px; flex: none; }
.nav-item .count { margin-left: auto; font-size: 11px; color: var(--green); }
.nav-label { font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--text3); padding: 20px 10px 8px; }
.side .spacer { flex: 1; }
.main { min-width: 0; }
.topbar {
  position: sticky; top: 0; z-index: 5; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
  padding: 18px 36px 16px; background: rgba(0,0,0,.86); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
.eyebrow { font-family: var(--mono); font-size: 10px; color: var(--text3); letter-spacing: .04em; text-transform: uppercase; }
.topbar h1 { margin: 2px 0 0; font-size: 26px; font-weight: 500; letter-spacing: -.01em; }
.topbar .sub { color: var(--text3); font-size: 12px; margin-top: 4px; }
.topbar .right { display: flex; gap: 10px; align-items: center; }
.content { padding: 28px 36px 60px; max-width: 1120px; display: flex; flex-direction: column; gap: 20px; }
.content.narrow { max-width: 860px; }
.cols { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; align-items: start; }
.cols .sticky { position: sticky; top: 100px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* ---------- cards ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; }
.card-h { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 18px; }
.card-h h2, .card h2 { margin: 0; font-size: 17px; font-weight: 600; letter-spacing: -.005em; }
.card-h p, .muted { margin: 3px 0 0; color: var(--text3); font-size: 12px; }
.inner { background: var(--card2); border: 1px solid var(--line2); border-radius: var(--r-md); padding: 16px; }
.inner + .inner { margin-top: 10px; }
.section-title { font-size: 17px; font-weight: 600; margin: 8px 0 -6px; }
.label { font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--text3); margin: 18px 0 8px; }
.label:first-child { margin-top: 0; }
.field-label { font-size: 12px; color: var(--text2); margin: 18px 0 8px; }
.hr { height: 1px; background: var(--line); margin: 16px 0; }
.big { font-size: 22px; font-weight: 600; letter-spacing: -.01em; margin: 10px 0 8px; }
.row { display: flex; align-items: center; gap: 10px; }
.row.between { justify-content: space-between; }
.wrap { flex-wrap: wrap; }
.grow { flex: 1; min-width: 0; }
.small { font-size: 11px; color: var(--text3); }
.green { color: var(--green); }
.red { color: var(--red); }
.empty { text-align: left; }
.empty h3 { margin: 0 0 4px; font-size: 15px; }

/* ---------- metrics ---------- */
.metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(108px, 1fr)); gap: 10px; }
.metric { background: var(--card2); border: 1px solid var(--line2); border-radius: var(--r-md); padding: 14px; }
.metric .k { font-size: 11px; color: var(--text2); }
.metric .v { font-size: 22px; font-weight: 600; margin: 6px 0 4px; letter-spacing: -.01em; }
.metric .s { font-size: 11px; color: var(--green); }
.metric .s.dim { color: var(--text3); }
.metrics.lg .metric { padding: 16px 18px; }
.metrics.lg { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.metrics.lg .v { font-size: 20px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 34px; padding: 0 14px;
  border-radius: var(--r-sm); border: 1px solid var(--line3); background: #0e0e0e; color: var(--text);
  cursor: pointer; font-size: 12px; font-weight: 500; white-space: nowrap; transition: background .15s, border-color .15s, opacity .15s;
}
.btn:hover { background: #171717; border-color: #444; }
.btn.primary { background: #fff; color: #000; border-color: #fff; }
.btn.primary:hover { background: #e6e6e6; }
.btn.danger { color: var(--red); border-color: rgba(229,72,77,.6); background: transparent; }
.btn.danger:hover { background: rgba(229,72,77,.08); }
.btn.ghost { border-color: transparent; background: transparent; color: var(--text2); padding: 0 8px; }
.btn.ghost:hover { color: var(--text); background: #111; }
.btn.sm { height: 28px; padding: 0 10px; font-size: 11px; }
.btn.lg { height: 40px; padding: 0 18px; font-size: 13px; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn svg { width: 14px; height: 14px; }
.icon-btn {
  width: 32px; height: 32px; border-radius: 50%; border: 0; background: #fff; color: #000; display: grid; place-items: center;
  cursor: pointer; flex: none;
}
.icon-btn svg { width: 15px; height: 15px; }
.link { color: var(--text2); cursor: pointer; font-size: 12px; background: none; border: 0; padding: 0; white-space: nowrap; }
.link:hover { color: var(--text); }
.spin { width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- pills / chips / badges ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 12px; border-radius: 999px;
  border: 1px solid var(--line2); background: #0a0a0a; font-size: 11px; color: var(--text2); white-space: nowrap;
}
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--text4); display: inline-block; flex: none; }
.dot.on { background: var(--green); box-shadow: 0 0 0 3px rgba(62,207,142,.15); }
.dot.warn { background: var(--amber); }
.dot.off { background: var(--red); }
.badge {
  display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: 999px; border: 1px solid var(--line3);
  font-size: 10px; color: var(--text2); white-space: nowrap; background: #0c0c0c;
}
.badge.green { color: var(--green); border-color: rgba(62,207,142,.35); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  height: 30px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line3); background: transparent;
  color: var(--text2); cursor: pointer; font-size: 12px; display: inline-flex; align-items: center; gap: 6px;
}
.chip:hover { color: var(--text); border-color: #4a4a4a; }
.chip.on { background: #fff; color: #000; border-color: #fff; font-weight: 500; }
.chip.danger { color: var(--red); border-color: rgba(229,72,77,.6); height: 26px; font-size: 11px; }
.chip.static { cursor: default; }
.chip .x { opacity: .6; cursor: pointer; }
.seg { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.seg .chip { height: 28px; font-size: 11px; }

/* ---------- toggles ---------- */
.toggle { position: relative; width: 36px; height: 20px; flex: none; cursor: pointer; }
.toggle input { display: none; }
.toggle span { position: absolute; inset: 0; border-radius: 999px; background: #262626; transition: background .15s; }
.toggle span::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: #666;
  transition: transform .15s, background .15s;
}
.toggle input:checked + span { background: #fff; }
.toggle input:checked + span::after { transform: translateX(16px); background: #000; }
.toggle.greenish input:checked + span { background: var(--green); }
.toggle.greenish input:checked + span::after { background: #fff; }
.opt-row { display: flex; align-items: center; gap: 12px; padding: 14px 16px; }
.opt-row + .opt-row { border-top: 1px solid var(--line2); }
.opt-row svg.ic { width: 16px; height: 16px; color: var(--text2); flex: none; }
.opt-row .t { font-size: 13px; font-weight: 500; }
.opt-row .d { font-size: 11px; color: var(--text3); margin-top: 2px; }
.opt-list { background: var(--card2); border: 1px solid var(--line2); border-radius: var(--r-md); }

/* ---------- inputs ---------- */
.input, .textarea, .select {
  width: 100%; background: var(--card2); border: 1px solid var(--line2); border-radius: var(--r-sm); padding: 10px 12px;
  outline: none; color: var(--text); font-size: 13px; transition: border-color .15s;
}
.input:focus, .textarea:focus, .select:focus { border-color: #4a4a4a; }
.textarea { resize: vertical; min-height: 110px; line-height: 1.5; }
.input::placeholder, .textarea::placeholder { color: var(--text4); }
.select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #777 50%), linear-gradient(135deg, #777 50%, transparent 50%); background-position: calc(100% - 16px) 50%, calc(100% - 11px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 30px; cursor: pointer; }
.composer { position: relative; background: var(--card2); border: 1px solid var(--line2); border-radius: var(--r-md); padding: 14px 16px 10px; }
.composer textarea { width: 100%; background: transparent; border: 0; outline: 0; resize: vertical; min-height: 90px; color: var(--text); font-size: 13px; line-height: 1.55; }
.composer .foot { display: flex; justify-content: space-between; font-size: 11px; color: var(--text3); margin-top: 6px; }
.prompt-box { background: var(--card2); border: 1px solid var(--line2); border-radius: var(--r-md); padding: 16px; }
.prompt-box input { width: 100%; background: transparent; border: 0; outline: 0; font-size: 15px; color: var(--text); }
.prompt-box .understood { margin-top: 10px; font-size: 11px; color: var(--text3); display: flex; align-items: center; gap: 6px; }
.dropzone { border: 1px dashed var(--line3); border-radius: var(--r-md); padding: 26px; text-align: center; color: var(--text3); cursor: pointer; font-size: 12px; }
.dropzone:hover, .dropzone.drag { border-color: #555; color: var(--text2); }
.dropzone svg { width: 18px; height: 18px; display: block; margin: 0 auto 8px; }
.thumbs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.thumb { position: relative; width: 72px; height: 72px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line2); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb button { position: absolute; top: 4px; right: 4px; width: 20px; height: 20px; border-radius: 50%; border: 0; background: rgba(0,0,0,.7); color: #fff; cursor: pointer; font-size: 12px; line-height: 1; }
.option-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.option-card { background: var(--card2); border: 1px solid var(--line2); border-radius: var(--r-md); padding: 16px; cursor: pointer; position: relative; transition: border-color .15s; }
.option-card:hover { border-color: #3a3a3a; }
.option-card.on { border-color: #e8e8e8; background: #131313; }
.option-card.on::after { content: ""; position: absolute; top: 18px; right: 16px; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.option-card .t { font-size: 13px; font-weight: 600; }
.option-card .d { font-size: 11px; color: var(--text3); margin-top: 8px; line-height: 1.5; }

/* ---------- chat ---------- */
.chat { display: flex; flex-direction: column; gap: 6px; }
.who { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--text3); margin-top: 8px; }
.ai-av { width: 20px; height: 20px; border-radius: 50%; background: #fff; color: #000; font-size: 8px; font-weight: 700; display: grid; place-items: center; }
.bubble { background: var(--card3); border: 1px solid var(--line2); border-radius: 12px; padding: 11px 14px; font-size: 12.5px; }
.bubble.me { background: #fff; color: #000; border-color: #fff; }
.chat .chips { margin: 6px 0 2px; }
.chat-input { display: flex; align-items: center; gap: 10px; background: var(--card2); border: 1px solid var(--line2); border-radius: 12px; padding: 6px 6px 6px 14px; margin-top: 12px; }
.chat-input input { flex: 1; background: transparent; border: 0; outline: 0; font-size: 12.5px; color: var(--text); }
.typing { display: inline-flex; gap: 4px; padding: 12px 14px; }
.typing i { width: 5px; height: 5px; border-radius: 50%; background: #777; animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; } .typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .2; } 40% { opacity: 1; } }

/* ---------- posts ---------- */
.post { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px 18px 14px; }
.post-h { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.av { width: 30px; height: 30px; border-radius: 50%; background: #1d1d1d; border: 1px solid var(--line2); display: grid; place-items: center; font-size: 11px; color: var(--text2); flex: none; text-transform: lowercase; overflow: hidden; }
.av.sm { width: 22px; height: 22px; font-size: 9px; }
.av.me { background: #fff; color: #000; font-weight: 700; }
.post-h .n { font-size: 12.5px; font-weight: 600; }
.post-h .t { font-size: 10.5px; color: var(--text3); }
.post-text { font-size: 13px; line-height: 1.55; white-space: pre-wrap; word-wrap: break-word; }
.post-img { width: 100%; max-height: 300px; object-fit: cover; border-radius: 12px; margin-top: 12px; border: 1px solid var(--line2); filter: grayscale(.15); }
.post-actions { display: flex; gap: 16px; margin-top: 12px; font-size: 11.5px; }
.post-actions button { background: none; border: 0; color: var(--text3); cursor: pointer; padding: 0; display: inline-flex; align-items: center; gap: 5px; }
.post-actions button:hover, .post-actions button.on { color: var(--text); }
.post-actions button.hl { color: var(--text); }
.post-actions svg { width: 13px; height: 13px; }
.suggest { margin-top: 14px; background: var(--card2); border: 1px solid var(--line2); border-radius: var(--r-md); padding: 14px; }
.suggest .lbl { font-size: 10.5px; color: var(--text3); margin-bottom: 8px; }
.quote { background: var(--card2); border: 1px solid var(--line2); border-radius: 12px; padding: 12px 14px; margin-top: 10px; }
.quote .q-h { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 12px; font-weight: 600; }
.quote .q-h .t { font-size: 10px; color: var(--text3); font-weight: 400; }
.quote .q-t { font-size: 12px; color: var(--text2); line-height: 1.55; white-space: pre-wrap; }
.preview-post { background: var(--card2); border: 1px solid var(--line2); border-radius: var(--r-md); padding: 16px; }
.preview-post .icons { display: flex; gap: 14px; margin-top: 14px; color: var(--text2); }
.preview-post .icons svg { width: 15px; height: 15px; }

/* ---------- timeline ---------- */
.tl-row { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: start; }
.tl-row + .tl-row { margin-top: 10px; }
.tl-time { text-align: center; padding-top: 12px; }
.tl-time b { display: block; font-size: 12px; font-weight: 500; color: var(--text2); margin-bottom: 4px; }
.tl-item { background: var(--card2); border: 1px solid var(--line2); border-radius: 12px; padding: 12px 14px; }
.tl-item .t { font-size: 12.5px; font-weight: 600; }
.tl-item .d { font-size: 11px; color: var(--text3); margin-top: 4px; }
.vline { position: relative; padding-left: 22px; }
.vline::before { content: ""; position: absolute; left: 3px; top: 6px; bottom: 6px; width: 1px; background: var(--line2); }
.vline .it { position: relative; padding-bottom: 18px; }
.vline .it::before { content: ""; position: absolute; left: -22px; top: 5px; width: 7px; height: 7px; border-radius: 50%; background: #555; }
.vline .it:first-child::before { background: #fff; }
.vline .it .tm { font-size: 11px; color: var(--text3); }
.vline .it .t { font-size: 12.5px; font-weight: 500; margin-top: 2px; }
.vline .it .d { font-size: 11px; color: var(--text3); margin-top: 2px; }
.mini-act { display: flex; gap: 10px; align-items: center; background: var(--card2); border: 1px solid var(--line2); border-radius: 12px; padding: 10px 12px; }
.mini-act + .mini-act { margin-top: 8px; }
.mini-act .t { font-size: 12px; }
.mini-act .d { font-size: 10.5px; color: var(--text3); }

/* ---------- list rows ---------- */
.list-row { display: flex; align-items: center; gap: 14px; background: var(--card2); border: 1px solid var(--line2); border-radius: var(--r-md); padding: 14px 16px; }
.list-row + .list-row { margin-top: 10px; }
.list-row .t { font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.list-row .d { font-size: 11px; color: var(--text3); margin-top: 3px; }
.list-row .stat { font-size: 12px; font-weight: 600; text-align: right; }
.list-row .stat small { display: block; font-weight: 400; color: var(--text3); font-size: 10.5px; }
.menu { position: absolute; right: 0; top: 30px; background: #111; border: 1px solid var(--line3); border-radius: 10px; padding: 4px; z-index: 20; min-width: 170px; box-shadow: 0 10px 30px rgba(0,0,0,.6); }
.menu button { display: block; width: 100%; text-align: left; background: none; border: 0; padding: 8px 10px; border-radius: 7px; color: var(--text2); cursor: pointer; font-size: 12px; }
.menu button:hover { background: #1b1b1b; color: var(--text); }
.menu button.red { color: var(--red); }
.rel { position: relative; }

/* ---------- event cards ---------- */
.day-label { font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--text3); margin: 6px 0 -8px; }
.event { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px 20px; }
.event .top { display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: var(--text3); }
.event .title { font-size: 13.5px; font-weight: 500; margin-top: 8px; }
.event .meta { display: flex; gap: 14px; font-size: 11px; color: var(--text3); margin-top: 10px; }
.event .acts { display: flex; gap: 8px; margin-top: 12px; }

/* ---------- status bar ---------- */
.statusbar { display: flex; align-items: center; gap: 14px; }
.statusbar .t { font-size: 13px; font-weight: 600; }
.statusbar .d { font-size: 11px; color: var(--text3); margin-top: 2px; }

/* ---------- training ---------- */
.progress { height: 4px; background: #1d1d1d; border-radius: 4px; overflow: hidden; }
.progress i { display: block; height: 100%; background: #fff; border-radius: 4px; transition: width .3s; }
.lock { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: var(--text3); }
.lock svg { width: 13px; height: 13px; }

/* ---------- chart ---------- */
.bars { display: grid; grid-template-columns: 90px repeat(14, 1fr); gap: 4px; align-items: end; }
.bars .lab { font-size: 11px; color: var(--text2); align-self: center; }
.bars .col { display: flex; flex-direction: column; justify-content: flex-end; height: 70px; }
.bars .col i { display: block; background: #e8e8e8; border-radius: 3px 3px 0 0; min-height: 2px; }
.bars .col i.zero { background: #222; }
.bars .col i:hover { background: #fff; }
.bars .dates { font-size: 9.5px; color: var(--text4); text-align: center; }
.bars .val { font-size: 9.5px; color: var(--text3); text-align: center; }

/* ---------- misc ---------- */
.toast-wrap { position: fixed; right: 20px; bottom: 20px; display: flex; flex-direction: column; gap: 8px; z-index: 100; }
.toast { background: #141414; border: 1px solid var(--line3); border-radius: 12px; padding: 12px 16px; font-size: 12.5px; max-width: 380px; box-shadow: 0 10px 30px rgba(0,0,0,.6); animation: up .2s ease-out; }
.toast.err { border-color: rgba(229,72,77,.6); }
.toast.ok { border-color: rgba(62,207,142,.45); }
@keyframes up { from { transform: translateY(8px); opacity: 0; } }
.md { font-size: 12.5px; line-height: 1.6; color: var(--text2); white-space: pre-wrap; font-family: var(--mono); max-height: 560px; overflow: auto; background: var(--card2); border: 1px solid var(--line2); border-radius: var(--r-md); padding: 16px; }
.log { font-family: var(--mono); font-size: 11px; color: var(--text3); max-height: 220px; overflow: auto; }
.log div { padding: 2px 0; white-space: pre-wrap; }
.skeleton { background: linear-gradient(90deg, #0f0f0f, #171717, #0f0f0f); background-size: 200% 100%; animation: sk 1.4s infinite; border-radius: 10px; height: 14px; }
@keyframes sk { to { background-position: -200% 0; } }
.fade-in { animation: up .25s ease-out; }
.hidden { display: none !important; }
.boot { min-height: 100vh; display: grid; place-items: center; color: var(--text3); }
@media (max-width: 980px) {
  .layout { grid-template-columns: 1fr; }
  .side { position: static; height: auto; flex-direction: row; flex-wrap: wrap; padding: 12px; }
  .side .nav-label, .side .spacer { display: none; }
  .logo { padding: 8px 10px; width: 100%; }
  .cols, .grid2 { grid-template-columns: 1fr; }
  .option-cards { grid-template-columns: 1fr; }
  .topbar, .content { padding-left: 16px; padding-right: 16px; }
  .tl-row { grid-template-columns: 70px 1fr; }
}

/* ---------- продвижение ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.g-item { background: var(--card2); border: 1px solid var(--line2); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.g-item img, .g-item .vid { width: 100%; aspect-ratio: 4/3; object-fit: cover; object-position: top; display: block; background: #151515; border-bottom: 1px solid var(--line2); }
.g-item .vid { display: grid; place-items: center; color: var(--text3); font-size: 11px; }
.g-item .g-d { font-size: 10.5px; color: var(--text3); padding: 8px 10px 4px; line-height: 1.4; max-height: 44px; overflow: hidden; }
.g-item .g-a { display: flex; gap: 2px; padding: 2px 6px 6px; }
.g-item.sel { border-color: #e8e8e8; }
.kv { display: grid; grid-template-columns: 130px 1fr; gap: 10px 16px; align-items: start; }
.kv .k { font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--text3); padding-top: 6px; }
.chip.soft { height: auto; min-height: 26px; padding: 4px 12px; font-size: 11.5px; cursor: default; text-align: left; line-height: 1.35; }
.plan-item { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; background: var(--card2); border: 1px solid var(--line2); border-radius: 12px; padding: 12px 14px; }
.plan-item + .plan-item { margin-top: 8px; }
.plan-item .t { font-size: 12.5px; font-weight: 600; margin-top: 4px; }
.plan-item .h { font-size: 11.5px; color: var(--text2); margin-top: 4px; font-style: italic; }
.plan-item .w { font-size: 10.5px; color: var(--text3); margin-top: 4px; }
.attach { display: flex; gap: 12px; align-items: flex-start; margin-top: 12px; }
.attach img { width: 200px; border-radius: 12px; border: 1px solid var(--line2); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 980px) { .form-grid { grid-template-columns: 1fr; } .kv { grid-template-columns: 1fr; } }
