:root {
  --bg: #faf6f0;
  --paper: #fffdf9;
  --ink: #2b221c;
  --muted: #7a6b5f;
  --line: #e8ded2;
  --accent: #7a4e2d;
  --accent-ink: #fffdf9;
  --accent-soft: #f3e8dc;
  --warn: #9a5b00;
  --warn-soft: #fbf0dd;
  --bad: #a3262a;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(60, 40, 20, .05), 0 6px 18px rgba(60, 40, 20, .05);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1b1612; --paper: #241d18; --ink: #f2e9df; --muted: #b3a291; --line: #3a2f27;
    --accent: #d9a97c; --accent-ink: #1b1612; --accent-soft: #3a2b1f;
    --warn: #f0b85c; --warn-soft: #33281a; --bad: #f08a8d;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg); color: var(--ink);
  font: 16px/1.55 "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .brand { font-family: "Newsreader", Georgia, "Times New Roman", serif; font-weight: 600; letter-spacing: -.005em; line-height: 1.15; text-wrap: balance; }
h1 { font-size: clamp(1.9rem, 4.4vw, 2.6rem); margin: 0 0 .4rem; }
h2 { font-size: 1.25rem; margin: 0 0 .3rem; }
h3 { font-size: 1.05rem; margin: 0; }
a { color: var(--accent); }
p { margin: 0 0 .8rem; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }

.wrap { max-width: 880px; margin: 0 auto; padding-inline: 16px; }
header.top { border-bottom: 1px solid var(--line); background: var(--paper); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 12px; }
.brand { font-weight: 700; font-size: 1.15rem; text-decoration: none; color: var(--ink); display: flex; align-items: center; gap: 8px; }
.brand .mark { width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--accent); display: grid; place-items: center; color: var(--accent); font-size: .78rem; font-family: "Newsreader", Georgia, serif; }
.beta { font: 600 .66rem/1 "Public Sans", sans-serif; text-transform: uppercase; letter-spacing: .1em; background: transparent; border: 1px solid var(--line); color: var(--muted); padding: 4px 6px; border-radius: 5px; }
nav.links { display: flex; gap: 6px 14px; flex-wrap: wrap; justify-content: flex-end; font-size: .92rem; }
nav.links a { color: var(--muted); text-decoration: none; }
nav.links a:hover { color: var(--ink); }
main { padding-block: 28px 80px; }

.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.stack { display: grid; gap: 16px; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font: 600 .95rem/1 "Public Sans", sans-serif; padding: 12px 18px; border-radius: 10px; border: 1px solid transparent; background: var(--accent); color: var(--accent-ink); text-decoration: none; cursor: pointer; min-height: 44px; }
.btn:hover { filter: brightness(1.06); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.small { padding: 8px 12px; min-height: 36px; font-size: .85rem; }
.btn.danger { background: transparent; color: var(--bad); border-color: var(--line); }
.btn[disabled] { opacity: .5; cursor: default; }

label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
.hint { font-weight: 400; color: var(--muted); font-size: .85rem; }
input[type=text], input[type=email], input[type=tel], textarea, select {
  width: 100%; font: inherit; color: var(--ink); background: var(--paper);
  border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; min-height: 44px;
}
textarea { min-height: 96px; resize: vertical; }
input:focus, textarea:focus, select:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.field { margin-bottom: 16px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.check input { margin-top: 4px; width: 18px; height: 18px; flex: none; }

.alert { padding: 12px 14px; border-radius: 10px; background: var(--warn-soft); color: var(--warn); border: 1px solid color-mix(in srgb, var(--warn) 25%, transparent); }
.alert.good { background: var(--accent-soft); color: var(--accent); border-color: color-mix(in srgb, var(--accent) 25%, transparent); }

/* hero on the sign-in page */
.hero { display: grid; gap: 28px; grid-template-columns: 1.1fr .9fr; align-items: start; padding-top: 12px; }
@media (max-width: 760px) { .hero { grid-template-columns: 1fr; } }
.hero ul { padding-left: 1.1rem; margin: .4rem 0 1rem; }
.hero li { margin-bottom: 4px; }

/* listing cards */
.listing-card { display: grid; grid-template-columns: 96px 1fr auto; gap: 14px; align-items: center; text-decoration: none; color: inherit; }
.listing-card .thumb { width: 96px; height: 72px; border-radius: 8px; background: var(--accent-soft) center/cover no-repeat; }
@media (max-width: 480px) { .listing-card { grid-template-columns: 72px 1fr; } .listing-card .thumb { width: 72px; height: 56px; } .listing-card .status { grid-column: 2; } }
.status { font-size: .78rem; font-weight: 600; padding: 4px 8px; border-radius: 6px; background: var(--accent-soft); color: var(--accent); white-space: nowrap; }
.status.writing { background: var(--warn-soft); color: var(--warn); }
.status.failed { background: var(--warn-soft); color: var(--bad); }

.tool { display: block; text-decoration: none; color: inherit; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.tool:hover { border-color: var(--accent); }
.tool h3 { margin-bottom: 4px; }

/* outputs */
.output { position: relative; }
.output .head { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; flex-wrap: wrap; margin-bottom: 8px; }
.output pre { white-space: pre-wrap; word-wrap: break-word; font: inherit; margin: 0; background: var(--bg); border-radius: 8px; padding: 14px; max-height: 340px; overflow: auto; }
.output .actions { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; align-items: center; }
.rate button { background: none; border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; cursor: pointer; color: var(--muted); font-size: .9rem; min-height: 36px; }
.rate button.on { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.flags { margin-top: 10px; font-size: .88rem; }
.flags b { color: var(--warn); }
.photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; }
.photos img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 8px; display: block; }
.facts { display: flex; gap: 8px 18px; flex-wrap: wrap; color: var(--muted); font-size: .95rem; }

.writing-box { text-align: center; padding: 40px 20px; }
.spinner { width: 34px; height: 34px; border: 3px solid var(--accent-soft); border-top-color: var(--accent); border-radius: 50%; animation: spin 1s linear infinite; margin: 0 auto 14px; }
@keyframes spin { to { transform: rotate(360deg); } }

.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: .9rem; font-variant-numeric: tabular-nums; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; }

/* feedback button */
.fb-btn { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 20; box-shadow: var(--shadow); }
.fb-panel { position: fixed; right: 16px; bottom: calc(72px + env(safe-area-inset-bottom, 0px)); width: min(340px, calc(100vw - 32px)); z-index: 21; }
.toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: 24px; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 10px; font-size: .9rem; z-index: 30; }
footer.foot { color: var(--muted); font-size: .82rem; padding-block: 20px; border-top: 1px solid var(--line); }

/* Monday assistant */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; margin: 0; font-weight: 400; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font-size: .92rem; }
.chip input:checked + span { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); font-weight: 600; }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 1px; }
.quick-row { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 8px; }
@media (max-width: 560px) { .quick-row { grid-template-columns: 1fr 1fr; } .quick-row select { grid-column: 1 / -1; } }
details > summary { cursor: pointer; list-style: none; }
details > summary::-webkit-details-marker { display: none; }
.touch .head { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; margin-bottom: 10px; }
.touch .draft { min-height: 92px; }
.touch .actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 10px; }
.touch.sent { border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); }
.touch.skipped, .touch.snoozed { opacity: .6; }
.btn.on { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.week-mini li { margin-bottom: 4px; }

.brand { font-size: 1.3rem; font-weight: 600; }
.btn { border-radius: 999px; }
.card { border-radius: 14px; }
input[type=text], input[type=email], input[type=tel], textarea, select { border-radius: 10px; background: var(--paper); }
.guide { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); margin: 6px 0 4px; }
.guide div { background: var(--accent-soft); border-radius: 12px; padding: 12px 14px; font-size: .92rem; }
.guide b { display: block; font-family: "Newsreader", Georgia, serif; font-size: 1.05rem; margin-bottom: 2px; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.photo-grid figure { margin: 0; position: relative; }
.photo-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; display: block; }
.photo-grid figcaption { font-size: .78rem; color: var(--muted); margin-top: 4px; }
.photo-grid .badge { position: absolute; top: 6px; left: 6px; background: var(--paper); color: var(--ink); font-size: .72rem; font-weight: 600; padding: 3px 8px; border-radius: 999px; }
.photo-grid.out img { filter: grayscale(.6); opacity: .7; }

/* guided tour */
.tourbar { background: var(--accent-soft); border-bottom: 1px solid var(--line); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 15; }
.tourbar .wrap { padding-block: 10px 12px; }
.tour-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.tour-progress { height: 6px; background: var(--paper); border-radius: 999px; margin: 8px 0; overflow: hidden; }
.tour-progress span { display: block; height: 100%; background: var(--accent); border-radius: 999px; }
.tour-tip { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 1rem; }
.linkbtn { background: none; border: none; color: var(--muted); text-decoration: underline; cursor: pointer; padding: 4px; }
.checklist li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); list-style: none; }
.checklist li:last-child { border-bottom: 0; }
.checklist .done { color: var(--muted); text-decoration: line-through; }
.checklist { padding: 0; margin: 8px 0 0; }

/* outreach rebuild */
.stage-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.points { margin: 0 0 8px; padding-left: 18px; }
.points li { margin: 2px 0; }
.touch.call { border-left: 4px solid var(--accent); }
.nudge { border: 1px dashed var(--accent); color: inherit; }
.toggle-row { border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.toggle-row:last-of-type { border-bottom: 0; }
.example { font-style: italic; margin: 4px 0 0; }
.untagged { color: var(--warn); }

/* Ask */
.ask { display: grid; grid-template-columns: 240px 1fr; gap: 20px; align-items: start; }
.ask-side { position: sticky; top: 12px; }
.ask-chats summary { cursor: pointer; padding: 6px 0; }
.chat-list { list-style: none; padding: 0; margin: 10px 0; display: grid; gap: 2px; max-height: 60vh; overflow-y: auto; }
.chat-list li { display: flex; justify-content: space-between; gap: 8px; padding: 6px 8px; border-radius: 8px; }
.chat-list li.on { background: var(--accent-soft); }
.chat-list a { color: var(--ink); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ask-main { display: grid; gap: 16px; min-width: 0; }
.quick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.quick { text-align: left; display: grid; gap: 4px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--paper); color: var(--ink); font: inherit; cursor: pointer; }
.quick:hover { border-color: var(--accent); }
.msgs { display: grid; gap: 12px; }
.msg { padding: 12px 14px; border-radius: 14px; max-width: 100%; overflow-wrap: anywhere; }
.msg.me { background: var(--accent); color: var(--accent-ink); justify-self: end; max-width: 85%; white-space: pre-wrap; }
.msg.bot { background: var(--paper); border: 1px solid var(--line); }
.msg.bot.streaming { white-space: pre-wrap; }
.msg.bot p { margin: 0 0 10px; } .msg.bot p:last-child { margin-bottom: 0; }
.msg.bot ul, .msg.bot ol { margin: 0 0 10px; padding-left: 20px; }
.msg.bot h4 { margin: 12px 0 6px; }
.who { display: inline-block; font-size: 12px; font-weight: 600; color: var(--accent); margin-bottom: 6px; }
.draftbox { background: var(--accent-soft); border-radius: 10px; padding: 10px 12px; margin: 8px 0 10px; }
.dtext { white-space: pre-wrap; }
.acts { margin-top: 10px; flex-wrap: wrap; }
.composer { position: sticky; bottom: 0; background: var(--bg); padding-block: 10px; display: grid; gap: 8px;
  padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px)); }
.adv-row { display: flex; flex-wrap: wrap; gap: 6px; }
.chip.small span { font-size: 13px; padding: 4px 10px; }
@media (max-width: 760px) {
  .ask { grid-template-columns: 1fr; }
  .ask-side { position: static; }
}

/* Brand kit */
.pill { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--warn-soft); color: var(--warn); }
.pill.live { background: var(--accent-soft); color: var(--accent); }
.linkrow { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.linkrow code { background: var(--accent-soft); padding: 6px 10px; border-radius: 8px; overflow-wrap: anywhere; }
.copyable { user-select: all; background: var(--accent-soft); padding: 1px 6px; border-radius: 6px; }
.brand-imgs { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.headshot-sm { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.logo-sm { max-width: 120px; max-height: 64px; object-fit: contain; background: #fff; border-radius: 8px; padding: 4px; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch { display: grid; justify-items: center; gap: 4px; cursor: pointer; font-weight: 400; }
.swatch input { position: absolute; opacity: 0; pointer-events: none; }
.swatch span { width: 40px; height: 40px; border-radius: 50%; border: 3px solid var(--paper); box-shadow: 0 0 0 1px var(--line); }
.swatch input:checked + span { box-shadow: 0 0 0 3px var(--accent); }
.swatch em { font-style: normal; color: var(--muted); }
.styles { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; }
.stylecard { cursor: pointer; font-weight: 400; }
.stylecard input { position: absolute; opacity: 0; pointer-events: none; }
.stylecard > span { display: grid; gap: 4px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.stylecard input:checked + span { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }
.sample { font-size: 26px; line-height: 1.1; }
.sample.serif { font-family: Newsreader, Georgia, serif; font-weight: 600; }
.sample.sans { font-family: "Public Sans", system-ui, sans-serif; font-weight: 800; letter-spacing: -0.01em; }
.cover-prev { width: 100%; max-height: 260px; object-fit: cover; border-radius: 12px; display: block; }
.photo-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 6px; }
.photo-pick label { cursor: pointer; }
.photo-pick input { position: absolute; opacity: 0; pointer-events: none; }
.photo-pick img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 8px; border: 3px solid transparent; display: block; }
.photo-pick input:checked + img { border-color: var(--accent); }
.vid-row { display: flex; gap: 12px; align-items: flex-start; border-top: 1px solid var(--line); padding-top: 12px; }
.vid-row video, .vid-ph { width: 120px; aspect-ratio: 9/16; max-height: 200px; object-fit: cover; border-radius: 10px; background: var(--accent-soft); flex: none; }
.vid-ph { display: grid; place-items: center; text-align: center; color: var(--muted); }
.sec-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.sec-list li { display: flex; justify-content: space-between; align-items: center; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
.mini { display: grid; grid-template-rows: 22px 8px 8px; gap: 4px; padding: 6px; border-radius: 8px; margin-bottom: 4px; }
.mini i { display: block; border-radius: 3px; }
.mini-light { background: #fbf9f6; border: 1px solid #e9e2da; } .mini-light i { background: #e9e2da; } .mini-light i:first-child { background: var(--c); opacity: .25; }
.mini-dark { background: #11100f; } .mini-dark i { background: #2b2622; } .mini-dark i:first-child { background: var(--c); }
.mini-bold { background: var(--c); } .mini-bold i { background: rgba(255,255,255,.35); } .mini-bold i:first-child { background: rgba(255,255,255,.75); }

/* Page designer */
.designer { display: grid; gap: 12px; }
.d-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.d-body { display: grid; grid-template-columns: minmax(300px, 400px) 1fr; gap: 18px; align-items: start; }
.d-left { display: grid; gap: 12px; }
.d-right { position: sticky; top: 12px; }
.d-tabs { display: none; gap: 6px; }
.frame-wrap { background: var(--accent-soft); border-radius: 18px; padding: 14px; display: flex; justify-content: center; }
.frame-wrap iframe { border: 0; background: #fff; border-radius: 14px; height: 76vh; box-shadow: var(--shadow); }
.frame-wrap.phone iframe { width: 390px; max-width: 100%; }
.frame-wrap.desktop iframe { width: 100%; }
.blist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.bitem { border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.bitem.open { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }
.bhead { display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 12px; cursor: pointer; }
.bicon { font-size: 18px; }
.bname { display: grid; flex: 1; min-width: 0; }
.bname .small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bact { display: flex; gap: 2px; }
.iconbtn { border: 0; background: transparent; color: var(--ink); font: inherit; font-size: 15px; padding: 6px 7px; border-radius: 8px; cursor: pointer; }
.iconbtn:hover { background: var(--accent-soft); }
.iconbtn:disabled { opacity: .3; cursor: default; }
.iconbtn.del[data-sure] { color: var(--bad); font-size: 13px; font-weight: 600; }
.bbody { padding: 4px 12px 12px; display: grid; gap: 10px; border-top: 1px solid var(--line); }
.bbody .field { margin: 0; }
.add-grid, .tpl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.thumb { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; display: block; }
.thumbs { display: flex; flex-wrap: wrap; gap: 6px; }
.thumbbox { position: relative; }
.thumbbox .x { position: absolute; top: -6px; right: -6px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: var(--ink); color: var(--paper); cursor: pointer; line-height: 1; }
.linkedit { display: grid; grid-template-columns: 1fr 1.4fr auto; gap: 6px; }
.vpick { display: grid; gap: 4px; }
@media (max-width: 860px) {
  .d-body { grid-template-columns: 1fr; }
  .d-tabs { display: flex; }
  .d-body[data-tab=edit] .d-right { display: none; }
  .d-body[data-tab=preview] .d-left { display: none; }
  .d-right { position: static; }
  .frame-wrap { padding: 0; background: none; }
  .frame-wrap iframe { height: 78vh; width: 100% !important; }
}
main.wide { max-width: 1320px; }
.imp-row { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0; border-top: 1px solid var(--line); font-weight: 400; cursor: pointer; }
.imp-row > input { margin-top: 4px; flex: none; }
.imp-row textarea, .imp-row input[type=text], .imp-row input:not([type]) { margin-top: 6px; width: 100%; }
.swatch-inline { display: inline-block; width: 16px; height: 16px; border-radius: 50%; vertical-align: -3px; border: 1px solid var(--line); }

[hidden] { display: none !important; }

/* Phones: the floating Feedback button covers buttons, so it lives in the footer instead. */
@media (max-width: 860px) { .fb-btn { display: none; } }

/* Open house */
.oh-row { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); color: inherit; text-decoration: none; }
.oh-row:first-of-type { border-top: 0; }
.oh-ways { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.oh-ways > div { display: grid; gap: 6px; align-content: start; }
.oh-ways p { margin: 0; }
.sign-prev { width: 120px; border: 1px solid var(--line); border-radius: 6px; box-shadow: var(--shadow); }
.oh-group { border-top: 1px solid var(--line); padding-top: 10px; display: grid; gap: 4px; }
.oh-guest { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }

/* Content calendar */
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cal-h { font-size: 12px; font-weight: 600; color: var(--muted); text-align: center; padding: 4px 0; }
.cal-d { min-height: 120px; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 6px; display: grid; align-content: start; gap: 4px; scroll-margin-top: 80px; }
.cal-d.out { opacity: .4; }
.cal-d.today { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }
.cal-n { font-size: 12px; color: var(--muted); }
.cal-post { display: grid; gap: 4px; color: inherit; text-decoration: none; }
.cal-post img, .cal-ph { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 6px; background: var(--accent-soft); display: grid; place-items: center; font-size: 22px; }
.cal-meta { display: grid; gap: 2px; min-width: 0; }
.cal-meta b { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.25; }
.pill.st { font-size: 11px; justify-self: start; }
.st-approved .pill.st, .pill.st:where(.approved) { background: var(--accent-soft); color: var(--accent); }
.st-posted { opacity: .65; }
.st-skipped { opacity: .45; }
.st-ready .pill.st { background: var(--warn-soft); color: var(--warn); }
@media (max-width: 860px) {
  .cal { grid-template-columns: 1fr; }
  .cal-h, .cal-d.empty { display: none; }
  .cal-d { min-height: 0; }
  .cal-d .cal-n { font-weight: 600; color: var(--ink); }
  .cal-post { grid-template-columns: 96px 1fr; align-items: start; gap: 10px; }
  .cal-post img, .cal-ph { width: 96px; }
}
