:root {
  --bg: #0a0a0a;
  --panel: #141414;
  --panel2: #1b1b1b;
  --line: #2a2a2a;
  --text: #fbf6f5;
  --muted: #a39d9b;
  --red: #c8202a;
  --red2: #e0353f;
  --ok: #3fb67a;
  --warn: #e0a030;
  --serif: "Fraunces", Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.5 var(--mono);
}
h2,
h3 {
  font-family: var(--serif);
  margin: 0 0 8px;
}
h2 {
  font-size: 22px;
}
h3 {
  font-size: 17px;
}
a {
  color: #ff8d93;
}
button,
input,
select,
textarea {
  font: inherit;
  color: var(--text);
}
input,
select,
textarea {
  background: #0d0d0d;
  border: 1px solid #3a3a3a;
  padding: 9px 10px;
  border-radius: 6px;
  width: 100%;
}
textarea {
  resize: vertical;
}
input:focus,
select:focus,
textarea:focus,
button:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 1px;
}
button {
  background: var(--panel2);
  border: 1px solid #3a3a3a;
  border-radius: 6px;
  padding: 8px 14px;
  cursor: pointer;
  white-space: nowrap;
}
button:hover {
  border-color: #666;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
button.primary {
  background: var(--red);
  border-color: var(--red);
  font-weight: 700;
}
button.primary:hover {
  background: var(--red2);
}
button.ghost {
  background: transparent;
}
button.danger {
  border-color: #6b2226;
  color: #ff8d93;
}
.note {
  color: var(--muted);
  font-size: 13px;
  margin: 4px 0 10px;
}
.empty {
  color: var(--muted);
  padding: 30px;
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: 10px;
}
.row {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.row > input,
.row > textarea {
  flex: 1;
  min-width: 180px;
  width: auto;
}
.row.end {
  justify-content: flex-end;
  margin-top: 12px;
}

/* Topo */
.top {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 12px 20px;
  border-bottom: 3px solid var(--red);
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 5;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.brand b {
  font: 900 26px var(--serif);
  letter-spacing: 1px;
}
.brand span {
  color: var(--red2);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 3px;
}
.tabs {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.tabs button {
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  padding: 6px 10px;
  color: var(--muted);
}
.tabs button[aria-selected="true"] {
  color: var(--text);
  border-bottom-color: var(--red);
}
.tabs i {
  font-style: normal;
  background: var(--red);
  color: #fff;
  border-radius: 9px;
  padding: 0 6px;
  font-size: 11px;
}
.tabs i:empty {
  display: none;
}
.status {
  margin-left: auto;
  color: var(--muted);
  font-size: 12px;
}

main {
  padding: 16px 20px 60px;
}
.panel {
  max-width: 1400px;
  margin: 0 auto;
}

/* Pautas */
.sources {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 22px;
}
.source,
.card,
.cfg section,
.editor,
aside {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
}
.source textarea {
  margin-bottom: 8px;
}
.list-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.list-head select {
  width: auto;
}
.card {
  margin-bottom: 10px;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 14px;
}
.card .thumb {
  width: 120px;
  height: 90px;
  object-fit: cover;
  border-radius: 6px;
  background: #222;
}
.card h3 {
  margin: 0 0 4px;
}
.card .meta {
  font-size: 12px;
  color: var(--muted);
}
.card p {
  margin: 6px 0;
}
.card .angle {
  color: #ffc9cc;
  font-size: 13px;
}
.dots {
  color: var(--red2);
  letter-spacing: 2px;
}
.card .row {
  margin-top: 8px;
}

/* Matérias e Instagram */
.split {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 14px;
  align-items: start;
}
aside {
  position: sticky;
  top: 80px;
  max-height: calc(100vh - 100px);
  overflow: auto;
}
.item {
  display: block;
  width: 100%;
  text-align: left;
  white-space: normal;
  margin-bottom: 6px;
  background: var(--panel2);
}
.item.sel {
  border-color: var(--red);
}
.item small {
  display: block;
  color: var(--muted);
}
.chip {
  display: inline-block;
  font-size: 11px;
  padding: 0 7px;
  border-radius: 9px;
  background: #2a2a2a;
  color: var(--muted);
}
.chip.draft {
  background: #3a2e12;
  color: var(--warn);
}
.chip.pub {
  background: #143222;
  color: var(--ok);
}
.editor label,
.cfg label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 10px;
}
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 14px;
}
.grid .wide {
  grid-column: 1/-1;
}
.editor textarea.body {
  min-height: 320px;
  font-size: 14px;
}
.preview {
  background: #fbf6f5;
  color: #111;
  font: 17px/1.6 Georgia, serif;
  padding: 18px 22px;
  border-radius: 8px;
  max-height: 520px;
  overflow: auto;
}
.preview h1 {
  font: 900 28px/1.2 var(--serif);
}
.featured {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.featured img {
  width: 200px;
  height: 120px;
  object-fit: cover;
  border-radius: 6px;
  background: #222;
}
.check-list {
  background: #1d1411;
  border: 1px solid #4a2a20;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 13px;
}
.actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.arts {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: flex-start;
  margin-bottom: 14px;
}
.arts figure {
  margin: 0;
}
.arts canvas {
  display: block;
  border-radius: 6px;
  border: 1px solid var(--line);
}
#art-feed {
  width: 320px;
}
#art-story {
  width: 216px;
}
.arts figcaption {
  font-size: 12px;
  color: var(--muted);
  margin: 6px 0;
}

/* Comercial */
.chat {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  min-height: 70vh;
}
.log {
  flex: 1;
  overflow: auto;
  max-height: 64vh;
  margin-bottom: 12px;
}
.msg {
  margin-bottom: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  white-space: pre-wrap;
  word-break: break-word;
}
.msg.me {
  background: #251416;
  margin-left: 60px;
}
.msg.ai {
  background: var(--panel2);
  margin-right: 30px;
}
.msg small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 6px;
}
.quick button {
  display: block;
  width: 100%;
  text-align: left;
  white-space: normal;
  margin-bottom: 6px;
}
.check {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  margin: 10px 0;
}
.check input {
  width: auto;
}

/* Configurações */
.cfg {
  display: grid;
  gap: 14px;
}
.cfg h3 {
  margin-top: 14px;
}
.feed-row,
.oa-row {
  display: grid;
  grid-template-columns: 1fr 2fr auto auto;
  gap: 8px;
  margin-bottom: 6px;
  align-items: center;
}
.oa-row {
  grid-template-columns: 2fr 1fr 1fr auto;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%) translateY(100px);
  background: #222;
  border: 1px solid var(--red);
  padding: 10px 18px;
  border-radius: 8px;
  transition: transform 0.25s;
  max-width: 90vw;
  z-index: 20;
}
.toast.show {
  transform: translateX(-50%);
}

@media (max-width: 900px) {
  .sources {
    grid-template-columns: 1fr 1fr;
  }
  .split,
  .grid {
    grid-template-columns: 1fr;
  }
  aside {
    position: static;
    max-height: none;
  }
  .card {
    grid-template-columns: 1fr;
  }
  .card .thumb {
    width: 100%;
    height: 160px;
  }
  .feed-row,
  .oa-row {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .sources {
    grid-template-columns: 1fr;
  }
  .top,
  main {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* Redação em pixel art */
body {
  overflow: hidden;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
}
.office-wrap {
  position: relative;
  flex: 1;
  min-height: 0;
}
#office {
  display: block;
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
  touch-action: manipulation;
}
.prompt {
  position: absolute;
  left: 50%;
  bottom: 56px;
  transform: translateX(-50%);
  background: #0a0a0ae6;
  border: 1px solid var(--red);
  padding: 8px 16px;
  border-radius: 6px;
  pointer-events: none;
  white-space: nowrap;
}
.help {
  position: absolute;
  left: 16px;
  bottom: 14px;
  font-size: 12px;
  color: var(--muted);
  background: #0a0a0acc;
  padding: 6px 10px;
  border-radius: 6px;
}
kbd {
  border: 1px solid #555;
  border-radius: 4px;
  padding: 0 5px;
  font: inherit;
  color: var(--text);
}
.pad {
  display: none;
  position: absolute;
  right: 16px;
  bottom: 16px;
  grid-template-columns: repeat(3, 48px);
  grid-template-rows: repeat(2, 48px);
  gap: 6px;
}
.pad button {
  padding: 0;
  font-size: 18px;
  background: #0a0a0acc;
  user-select: none;
  touch-action: none;
}
.pad [data-pad="w"] {
  grid-column: 2;
}
.pad [data-pad="a"] {
  grid-column: 1;
  grid-row: 2;
}
.pad [data-pad="s"] {
  grid-column: 2;
  grid-row: 2;
}
.pad [data-pad="d"] {
  grid-column: 3;
  grid-row: 2;
}
@media (pointer: coarse) {
  .pad {
    display: grid;
  }
  .help {
    display: none;
  }
}
.drawer {
  position: fixed;
  top: var(--top, 64px);
  right: 0;
  bottom: 0;
  width: min(1240px, 100vw);
  background: var(--bg);
  border-left: 3px solid var(--red);
  overflow: auto;
  z-index: 10;
  box-shadow: -20px 0 60px #000a;
}
.drawer-head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.drawer-head h2 {
  margin: 0;
}
.drawer aside {
  top: 70px;
}
@media (max-width: 700px) {
  .top {
    gap: 6px 14px;
    padding: 8px 16px;
    flex-wrap: nowrap;
    overflow-x: auto;
  }
  .brand b {
    font-size: 20px;
  }
  .brand span,
  .status {
    display: none;
  }
  .tabs {
    flex-wrap: nowrap;
  }
  .tabs button {
    padding: 6px;
  }
  .drawer-head {
    padding: 10px 16px;
  }
  .drawer-head button {
    font-size: 13px;
  }
}
.msg.pending {
  opacity: 0.6;
}
.msg b {
  color: #ff8d93;
}
label.stack {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
}
.zoom {
  position: absolute;
  top: 12px;
  right: 16px;
  display: flex;
  align-items: center;
  gap: 4px;
  background: #0a0a0acc;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 4px;
}
.zoom button {
  padding: 4px 10px;
  min-width: 34px;
  background: transparent;
  border: 0;
  font-size: 16px;
}
.zoom button:hover {
  background: #222;
}
#z-fit {
  font-size: 12px;
}
#z-level {
  min-width: 46px;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}

/* Fluxo de aprovação */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}
.stat {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
}
.stat b {
  font: 900 26px var(--serif);
}
.stat span {
  color: var(--muted);
  font-size: 12px;
}
.stat.bad {
  border-color: var(--red);
}
.stat.bad b {
  color: var(--red2);
}
.ap-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 14px;
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 4px solid var(--ok);
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 8px;
}
.ap-row small {
  display: block;
  color: var(--muted);
}
.ap-row.soon {
  border-left-color: var(--warn);
}
.ap-row.late {
  border-left-color: var(--red);
  background: #1f1213;
}
.ap-when {
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
}
.ap-row.late .ap-when {
  color: #ff8d93;
  font-weight: 700;
}
.chip.ok {
  background: #143222;
  color: var(--ok);
}
.chip.late {
  background: #3a1416;
  color: #ff8d93;
}
.item .chip {
  margin-top: 4px;
}
.mat-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.steps-bar {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  gap: 6px;
}
.steps-bar li {
  flex: 1;
  text-align: center;
  padding: 6px;
  border-radius: 6px;
  background: #1d1d1d;
  color: var(--muted);
  font-size: 13px;
}
.steps-bar li.cur {
  background: var(--red);
  color: #fff;
  font-weight: 700;
}
.steps-bar li.ok {
  background: #143222;
  color: var(--ok);
}
.deadline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
  background: #16181b;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 14px;
  font-size: 13px;
}
.deadline label {
  flex-direction: row !important;
  align-items: center;
  gap: 8px !important;
  margin: 0 !important;
}
.deadline input,
.deadline select {
  width: auto;
}
.deadline.late {
  border-color: var(--red);
  background: #1f1213;
}
.block {
  border-top: 1px solid var(--line);
  padding-top: 12px;
  margin-top: 14px;
}
.block h3 small {
  font: 12px var(--mono);
  color: var(--muted);
}
.btnlike {
  display: inline-block !important;
  background: var(--panel2);
  border: 1px solid #3a3a3a;
  border-radius: 6px;
  padding: 8px 14px;
  cursor: pointer;
  color: var(--text) !important;
  font-size: 15px !important;
  margin: 0 !important;
}
.gen {
  background: #16181b;
  border: 1px dashed #3a3a3a;
  border-radius: 8px;
  padding: 12px;
}
.gen img {
  max-width: 100%;
  width: 480px;
  border-radius: 6px;
  display: block;
  margin: 8px 0;
}
.inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
}
.inline select,
#mat-filter {
  width: auto;
}
#mat-filter {
  width: 100%;
  margin-bottom: 10px;
}
.seg {
  display: flex;
  margin-bottom: 10px;
}
.seg button {
  flex: 1;
  border-radius: 0;
}
.seg button:first-child {
  border-radius: 6px 0 0 6px;
}
.seg button:last-child {
  border-radius: 0 6px 6px 0;
}
.seg button[aria-selected="true"] {
  background: var(--red);
  border-color: var(--red);
  font-weight: 700;
}
.a-feed {
  width: 320px;
}
.a-story {
  width: 216px;
}
.a-li {
  width: 480px;
  max-width: 100%;
}
.member {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 12px;
  margin-bottom: 8px;
}
.member summary {
  cursor: pointer;
}
.member .grid {
  margin-top: 10px;
}
@media (max-width: 700px) {
  .ap-row {
    grid-template-columns: 1fr;
  }
}

/* Painel da redação */
.hud {
  position: absolute;
  top: 12px;
  left: 16px;
  width: 330px;
  max-height: calc(100% - 80px);
  overflow: auto;
  background: #0b0c0ee8;
  border: 1px solid #333;
  border-radius: 10px;
  z-index: 3;
  backdrop-filter: blur(4px);
}
.hud-head {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #2a2a2a;
  border-radius: 10px 10px 0 0;
  padding: 10px 12px;
  text-align: left;
}
.hud.closed .hud-head {
  border-bottom: 0;
}
.hud-head b {
  font: 700 15px var(--serif);
}
.hud-head span {
  font-size: 12px;
  margin-left: auto;
  padding: 1px 8px;
  border-radius: 9px;
}
.hud-head span.ok {
  background: #143222;
  color: var(--ok);
}
.hud-head span.warn {
  background: #3a2e12;
  color: var(--warn);
}
.hud-head span.bad {
  background: #3a1416;
  color: #ff8d93;
}
.hud-head i {
  font-style: normal;
  color: var(--muted);
  transition: transform 0.2s;
}
.hud.closed .hud-head i {
  transform: rotate(-90deg);
}
.hud.closed .hud-body {
  display: none;
}
.hud-body {
  padding: 10px 12px 12px;
  font-size: 13px;
}
.hud-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.hud-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 6px 2px;
  white-space: normal;
  background: #16181b;
}
.hud-tile b {
  font: 900 22px var(--serif);
}
.hud-tile span {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.2;
  text-align: center;
}
.hud-tile.warn b {
  color: var(--warn);
}
.hud-tile.bad {
  border-color: var(--red);
}
.hud-tile.bad b {
  color: #ff8d93;
}
.hud-tile.info b {
  color: #6fd6e8;
}
.hud-live {
  margin: 10px 0 6px;
  color: var(--muted);
}
.hud-live .dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--warn);
  margin-right: 6px;
  animation: pulse 1s infinite alternate;
}
@keyframes pulse {
  to {
    opacity: 0.3;
  }
}
.hud h4 {
  margin: 10px 0 6px;
  font: 700 12px var(--mono);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.hud-list,
.hud-day {
  list-style: none;
  margin: 0;
  padding: 0;
}
.hud-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  border-bottom: 1px solid #1f1f1f;
}
.hud-list a,
.hud-day a {
  cursor: pointer;
  color: var(--text);
  text-decoration: none;
}
.hud-list a {
  flex: 1;
  min-width: 0;
}
.hud-list a span {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hud-list small {
  color: var(--muted);
}
.hud-list em {
  font-style: normal;
  font-size: 12px;
  color: var(--ok);
  white-space: nowrap;
}
.hud-list em.warn {
  color: var(--warn);
}
.hud-list em.bad {
  color: #ff8d93;
  font-weight: 700;
}
.hud-day li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 8px;
  padding: 4px 0 4px 8px;
  border-left: 2px solid var(--red);
  margin-bottom: 4px;
}
.hud-day li.past {
  border-left-color: #333;
  opacity: 0.7;
}
.hud-day a {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hud-day a.agendada {
  color: #6fd6e8;
}
.hud-day a.publicada {
  color: var(--ok);
}
.hud-day a.late {
  color: #ff8d93;
}
.hud-day .none {
  color: #555;
}
@media (max-width: 700px) {
  .hud {
    left: 8px;
    right: 8px;
    width: auto;
    top: 58px;
  }
}
.cats-pick {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 14px;
  max-height: 160px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 10px;
  margin-bottom: 10px;
}
.cats-pick .note {
  width: 100%;
  margin: 0 0 4px;
}
.cats-pick .check {
  margin: 2px 0;
}
small.over {
  color: #ff8d93;
  font-weight: 700;
}
.tag-chips {
  margin: -4px 0 10px;
}
.tag-chips .chip {
  margin: 2px 0;
}

/* Revisão final */
.review {
  position: fixed;
  inset: 0;
  background: #000000c0;
  z-index: 30;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: auto;
  padding: 24px 16px;
}
.review-box {
  background: var(--bg);
  border: 1px solid #333;
  border-top: 3px solid var(--red);
  border-radius: 12px;
  width: min(1200px, 100%);
  padding: 18px 20px 22px;
}
.rv-head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.rv-head > div:first-child {
  flex: 1;
  min-width: 240px;
}
.rv-head h2 {
  margin: 0;
}
.rv-head .ghost {
  font-size: 20px;
}
.rv-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 18px;
  align-items: start;
}
.rv-label {
  font: 700 11px var(--mono);
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  margin: 0 0 8px;
}
.rv-post {
  background: #fbf6f5;
  color: #141414;
  border-radius: 10px;
  padding: 18px 22px 22px;
}
.rv-post .rv-label {
  color: #8a8480;
}
.rv-post img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 6px;
  background: #ddd;
  display: block;
}
.rv-cap {
  font-size: 12px;
  color: #6b6560;
  margin: 4px 0 0;
}
.rv-noimg {
  aspect-ratio: 16/9;
  display: grid;
  place-items: center;
  background: #e8e3df;
  color: #8a8480;
  border-radius: 6px;
}
.rv-cats {
  margin: 12px 0 4px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.rv-cat {
  background: var(--red);
  color: #fff;
  font: 700 11px var(--mono);
  text-transform: uppercase;
  padding: 2px 8px;
}
.rv-cat.none {
  background: #aaa;
}
.rv-post h1 {
  font: 900 30px/1.15 var(--serif);
  margin: 6px 0 8px;
}
.rv-lead {
  font: italic 18px/1.4 Georgia, serif;
  color: #444;
  margin: 0 0 12px;
}
.rv-text {
  font: 17px/1.65 Georgia, serif;
}
.rv-text a {
  color: var(--red);
}
.rv-tags {
  margin-top: 14px;
}
.rv-tags .chip {
  background: #e8e3df;
  color: #555;
}
.rv-tags .chip.draft {
  background: #fde7c4;
  color: #8a5a00;
}
.rv-side {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
  position: sticky;
  top: 0;
}
.serp {
  background: #fff;
  color: #202124;
  border-radius: 8px;
  padding: 12px 14px;
  font-family: Arial, sans-serif;
  margin-bottom: 16px;
}
.serp-url {
  font-size: 12px;
  color: #4d5156;
}
.serp-title {
  font-size: 19px;
  color: #1a0dab;
  margin: 2px 0;
  line-height: 1.3;
}
.serp-desc {
  font-size: 13px;
  color: #4d5156;
  line-height: 1.45;
}
.rv-checks {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  font-size: 13px;
}
.rv-checks li {
  padding: 3px 0;
}
.rv-checks li.ok {
  color: var(--ok);
}
.rv-checks li.bad {
  color: #ff8d93;
}
.rv-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}
.rv-actions button {
  white-space: normal;
}
.rv-grid.social {
  grid-template-columns: auto auto 1fr;
}
.phone {
  width: 340px;
  max-width: 100%;
  background: #fff;
  color: #111;
  border-radius: 14px;
  overflow: hidden;
  font-family: Arial, sans-serif;
  font-size: 14px;
}
.phone.story {
  width: 200px;
  background: transparent;
  color: var(--muted);
}
.ph-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
}
.ph-head small {
  display: block;
  color: #666;
  font-size: 12px;
}
.ph-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: grid;
  place-items: center;
  font: 900 16px var(--serif);
}
.ph-avatar.li {
  border-radius: 4px;
}
.ph-img {
  width: 100%;
  display: block;
}
.phone.story .ph-img {
  border-radius: 12px;
}
.ph-actions {
  padding: 8px 12px 0;
  color: #333;
}
.ph-cap {
  padding: 6px 12px 14px;
  margin: 0;
  line-height: 1.45;
}
.ph-tags {
  color: #00376b;
}
.li-post {
  width: 460px;
  max-width: 100%;
  background: #fff;
  color: #111;
  border-radius: 10px;
  overflow: hidden;
  font-family: Arial, sans-serif;
  font-size: 14px;
}
.li-text {
  padding: 0 14px 10px;
  margin: 0;
  line-height: 1.5;
}
.li-img {
  width: 100%;
  display: block;
}
.li-post .ph-actions {
  padding: 10px 14px;
  border-top: 1px solid #eee;
  color: #555;
}
@media (max-width: 900px) {
  .rv-grid,
  .rv-grid.social {
    grid-template-columns: 1fr;
  }
  .rv-side {
    position: static;
  }
}
