.post-desk {
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 20px 80px;
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}
.post-desk .hero {
  margin: 0 0 6px;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}
.post-lead {
  margin: 0;
  max-width: 36rem;
  color: #666;
  font-size: 13px;
  line-height: 1.5;
}
.post-lead a { color: #333; }
.desk-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-end;
  margin-bottom: 16px;
}
.post-kpis {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.post-kpi {
  min-width: 84px;
  background: #fff;
  border: 1px solid rgba(10, 10, 10, 0.08);
  border-radius: 12px;
  padding: 8px 12px;
}
.post-kpi b {
  display: block;
  font-family: Syne, "Noto Sans SC", sans-serif;
  font-size: 1.25rem;
  line-height: 1.1;
}
.post-kpi span { font-size: 11px; color: #888; }

.desk-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.desk-side { display: flex; flex-direction: column; gap: 12px; position: sticky; top: 12px; }
.side-block {
  background: #fff;
  border: 1px solid rgba(10, 10, 10, 0.08);
  border-radius: 14px;
  padding: 12px;
}
.side-h {
  margin: 10px 0 6px;
  font-size: 12px;
  font-weight: 700;
  color: #888;
}
.side-block .side-h:first-child { margin-top: 0; }
.side-link {
  display: block;
  width: 100%;
  text-align: left;
  margin: 0 0 6px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 0;
  background: #f7f7f5;
  color: #222;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
}
.side-link:hover { background: #efefec; }
.post-add { margin-top: 8px; }
.post-add textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 10px;
  background: #fafafa;
  font: inherit;
  font-size: 13px;
  padding: 8px;
  resize: vertical;
}
.post-add .rk-primary {
  margin-top: 8px;
  width: 100%;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  border-radius: 10px;
  padding: 8px 12px;
  background: #141414;
  color: #fff;
  border: 0;
  cursor: pointer;
}
.post-add-hint { margin: 8px 0 0; font-size: 12px; color: #888; line-height: 1.45; }

.post-views, .post-plats { display: flex; flex-direction: column; gap: 2px; }
.post-plats { flex-direction: row; flex-wrap: wrap; gap: 6px; }
.post-views button, .post-plats button {
  border: 0;
  background: transparent;
  border-radius: 8px;
  padding: 7px 8px;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  color: #333;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.post-plats button {
  background: #f7f7f5;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
}
.post-views button em, .post-plats button em { font-style: normal; color: #999; font-size: 12px; }
.post-views button.is-on, .post-plats button.is-on { background: #141414; color: #fff; }
.post-views button.is-on em, .post-plats button.is-on em { color: #ddd; }

.desk-work { min-width: 0; }
.post-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 6px;
}
.post-toolbar input, .post-toolbar select {
  border: 1px solid rgba(0,0,0,.12);
  background: #fff;
  border-radius: 10px;
  padding: 8px 10px;
  font: inherit;
  font-size: 13px;
}
.post-toolbar input { flex: 1; min-width: 160px; }
.post-check { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 650; }
.post-toolbar .rk-primary, .post-toolbar .rk-ghost {
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  border-radius: 10px;
  padding: 8px 12px;
  cursor: pointer;
  border: 1px solid transparent;
}
.post-toolbar .rk-primary { background: #141414; color: #fff; }
.post-toolbar .rk-ghost { background: #f3f3f1; color: #222; border-color: rgba(0,0,0,.06); }
.post-toolbar .rk-primary:disabled, .post-toolbar .rk-ghost:disabled { opacity: .45; cursor: not-allowed; }
.desk-text {
  margin-left: auto;
  border: 0;
  background: none;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  color: #666;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.post-status { margin: 0 0 10px; min-height: 1.2em; font-size: 12px; color: #777; }

.post-demo {
  background: #f7f7f5;
  border-radius: 14px;
  padding: 10px 12px 12px;
  margin-bottom: 12px;
}
.post-demo-h { margin: 0 0 8px; font-size: 12px; font-weight: 700; color: #666; }
.post-list { display: flex; flex-direction: column; gap: 8px; }
.desk-group {
  background: #fff;
  border: 1px solid rgba(10,10,10,.08);
  border-radius: 14px;
  overflow: hidden;
}
.desk-group h3 {
  margin: 0;
  padding: 8px 12px;
  background: #f7f7f5;
  font-size: 13px;
}
.desk-group h3 em { font-style: normal; color: #888; font-weight: 650; margin-left: 6px; }
.desk-row {
  display: grid;
  grid-template-columns: 22px minmax(0, 1.4fr) minmax(180px, .8fr) 32px;
  gap: 8px;
  align-items: start;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid rgba(10,10,10,.08);
  border-radius: 12px;
}
.desk-group .desk-row { border: 0; border-radius: 0; border-top: 1px solid rgba(10,10,10,.06); }
.desk-line { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.desk-line strong { font-size: 14px; }
.desk-meta, .desk-voice { font-size: 12px; color: #666; line-height: 1.45; }
.desk-meta { margin-top: 4px; }
.post-plat {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 999px;
  background: #f3f3f1;
}
.post-pill {
  display: inline-flex;
  padding: 1px 7px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  background: #f3f3f1;
  color: #555;
}
.post-pill.alive, .post-pill.ok { background: #eef6ee; color: #2d4a2d; }
.post-pill.changed { background: #fff6e8; color: #8a5a12; }
.post-pill.missing, .post-pill.unavailable { background: #fdeeee; color: #8a3030; }
.post-ext { color: #555; font-size: 12px; font-weight: 650; }
.post-chips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.post-chip { font-size: 11px; font-weight: 700; padding: 2px 6px; border-radius: 999px; background: #f3f3f1; }
.post-chip.risk { background: #fdeeee; color: #8a3030; }
.post-chip.intent { background: #141414; color: #fff; }
.post-chip.praise { background: #eef6ee; color: #2d4a2d; }
.post-bubble { margin: 4px 0 0; padding-left: 8px; border-left: 2px solid rgba(0,0,0,.12); }
.post-icon {
  width: 28px; height: 28px; border: 0; border-radius: 8px; background: transparent; color: #aaa; cursor: pointer;
}
.post-icon:hover { background: #fdeeee; color: #b91c1c; }
.post-empty {
  background: #fff;
  border: 1px dashed rgba(10,10,10,.16);
  border-radius: 14px;
  padding: 28px 16px;
  text-align: center;
}
.post-empty h2 { margin: 0 0 6px; font-size: 16px; }
.post-empty p { margin: 0 0 12px; color: #777; font-size: 13px; }
.post-empty-acts { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.post-empty-acts button, .post-empty-acts a {
  font: inherit; font-size: 13px; font-weight: 700; text-decoration: none;
  border-radius: 10px; padding: 8px 12px; cursor: pointer;
  background: #141414; color: #fff; border: 1px solid #141414;
}
.post-empty-acts a, .post-empty-acts button:last-child {
  background: #fff; color: #141414;
}
@media (max-width: 860px) {
  .desk-layout { grid-template-columns: 1fr; }
  .desk-side { position: static; }
  .desk-head { flex-direction: column; align-items: stretch; }
  .desk-row { grid-template-columns: 22px minmax(0, 1fr) 32px; }
  .desk-voice { grid-column: 2; }
}
