/* Design tokens. These defaults are the FUNDING matters Brand & Design System v1.0 (shared with Donor
   Email Studio); each brand's assets/brand.css loads its fonts and overrides the colours it needs. */
:root {
  --ink: #14120F;
  --amber: #FDB92F;
  --bone: #FAF7F2;
  --bronze: #A5760A;
  --n100: #FFFFFF;
  --n200: #F2EDE4;
  --n300: #E4DFD6;
  --n400: #C6BFB2;
  --n500: #8A837A;
  --n600: #56504A;
  --n700: #3A362F;
  --ok: #2F6B3F;
  --ok-bg: #E7F0E6;
  --stop: #A33A2A;
  --stop-bg: #F7E6E1;
  --check-bg: #FBF0D6;
  --serif: "Newsreader", Georgia, serif;
  --sans: "Instrument Sans", Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --r: 2px;
  --top-h: 60px;
  --foot-h: 41px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; }
body {
  background: var(--bone);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }

.lbl, .num, .mono, .kicker {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 10.5px;
}

/* ---------- top bar ---------- */
.top {
  height: var(--top-h);
  display: flex; align-items: center; gap: 20px;
  padding: 0 24px;
  background: var(--n100);
  border-bottom: 1px solid var(--n300);
  position: sticky; top: 0; z-index: 20;
}
.brand img { height: 30px; display: block; }
.product { padding-left: 20px; border-left: 1px solid var(--n300); }
.product-name { font-family: var(--serif); font-weight: 400; font-size: 22px; letter-spacing: -.01em; white-space: nowrap; }
.nav { display: flex; gap: 2px; margin-left: 12px; }
.nav button { border: 0; background: none; padding: 8px 12px; cursor: pointer; font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--n600); border-radius: var(--r); }
.nav button:hover { color: var(--ink); background: var(--bone); }
.nav button.on { color: var(--ink); box-shadow: inset 0 -2px 0 var(--amber); }
.who { margin-left: auto; display: flex; align-items: center; gap: 10px; color: var(--n600); font-size: 12.5px; white-space: nowrap; }
.who b { color: var(--ink); font-weight: 600; }
.role { font-family: var(--mono); font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; padding: 2px 6px; border: 1px solid var(--n300); border-radius: var(--r); }
.role.approver { border-color: var(--amber); background: #FEF3D8; color: var(--ink); }

main { flex: 1 1 auto; min-height: calc(100vh - var(--top-h) - var(--foot-h)); }

/* ---------- shared controls ---------- */
.field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.lbl { color: var(--n600); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
input[type=text], input[type=url], input[type=date], input[type=password], select, textarea {
  width: 100%;
  border: 1px solid var(--n300);
  background: var(--n100);
  border-radius: var(--r);
  padding: 8px 10px;
  font-size: 14px;
  outline: none;
}
textarea { resize: vertical; line-height: 1.5; }
input:focus, select:focus, textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
input[readonly], textarea[readonly] { background: var(--bone); color: var(--n700); }
.hint { color: var(--n500); font-size: 12.5px; margin: 0; }
.link-btn { border: 0; background: none; padding: 0; color: var(--n600); font-size: 12.5px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-btn:hover { color: var(--ink); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border-radius: var(--r); padding: 9px 14px; font-weight: 600; font-size: 13.5px; cursor: pointer; text-decoration: none; border: 1px solid transparent; white-space: nowrap; }
.btn-primary { background: var(--amber); color: var(--ink); }
.btn-primary:hover { background: #F2AC1C; }
.btn-ghost { background: var(--n100); border-color: var(--n300); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-dark { background: var(--ink); color: var(--bone); }
.btn-dark:hover { background: var(--n700); }
.btn-sm { padding: 6px 10px; font-size: 12.5px; font-weight: 500; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

.pill { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; padding: 3px 8px; border-radius: 99px; border: 1px solid var(--n300); background: var(--n100); color: var(--n600); white-space: nowrap; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--n400); }
.pill.in_review::before { background: var(--amber); }
.pill.approved::before { background: var(--ok); }
.pill.handed_off::before { background: #4D6FA8; }
.pill.published { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.pill.published::before { background: var(--amber); }
.pill.archived { opacity: .6; }

/* ---------- sign in ---------- */
.signin { max-width: 420px; margin: 9vh auto; background: var(--n100); border: 1px solid var(--n300); border-radius: var(--r); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.signin h1 { font-family: var(--serif); font-size: 30px; letter-spacing: -.01em; }
.signin .err { color: var(--stop); font-size: 13px; min-height: 18px; margin: 0; }

/* ---------- queue ---------- */
.page { max-width: 1240px; margin: 0 auto; padding: 24px 24px 48px; display: flex; flex-direction: column; gap: 22px; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.page-head h1 { font-family: var(--serif); font-size: 32px; letter-spacing: -.015em; line-height: 1.1; }
.page-head p { margin: 6px 0 0; color: var(--n600); max-width: 62ch; }

.planner { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; background: var(--n300); border: 1px solid var(--n300); border-radius: var(--r); overflow: hidden; }
.day { background: var(--n100); min-height: 108px; padding: 9px 10px 10px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.day.past { background: var(--bone); }
.day.today { box-shadow: inset 0 2px 0 var(--amber); }
.day-h { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; }
.day-h .d { font-weight: 600; font-size: 13px; }
.day-h .w { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--n500); }
.chip { display: block; text-align: left; width: 100%; border: 1px solid var(--n300); background: var(--bone); border-radius: var(--r); padding: 5px 7px; font-size: 12px; cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chip:hover { border-color: var(--ink); }
.chip.in_review { border-left: 3px solid var(--amber); }
.chip.approved { border-left: 3px solid var(--ok); }
.chip.handed_off { border-left: 3px solid #4D6FA8; }
.chip.published { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.add-day { margin-top: auto; align-self: flex-start; border: 0; background: none; padding: 0; color: var(--n500); font-size: 12px; cursor: pointer; }
.add-day:hover { color: var(--ink); text-decoration: underline; }
.week-label { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; }

.lanes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.lane { background: var(--n100); border: 1px solid var(--n300); border-radius: var(--r); min-width: 0; }
.lane-h { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--n300); }
.lane-h h2 { font-size: 15px; font-weight: 600; font-family: var(--sans); }
.lane-h .count { font-family: var(--mono); font-size: 11px; color: var(--n500); }
.lane-empty { padding: 14px 16px; color: var(--n500); font-size: 13px; margin: 0; }
.card { display: grid; grid-template-columns: 1fr auto; gap: 3px 12px; width: 100%; text-align: left; border: 0; border-bottom: 1px solid var(--n200); background: none; padding: 12px 16px; cursor: pointer; }
.card:last-child { border-bottom: 0; }
.card:hover { background: var(--bone); }
.card .t { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card .m { color: var(--n500); font-size: 12px; white-space: nowrap; }
.card .p { grid-column: 1 / -1; color: var(--n600); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card .due { color: var(--bronze); font-weight: 600; }

/* ---------- editor ---------- */
.editor { display: grid; grid-template-columns: 360px minmax(0, 1fr) 330px; min-height: calc(100vh - var(--top-h) - var(--foot-h)); }
.col { min-width: 0; }
.brief { background: var(--n100); border-right: 1px solid var(--n300); }
.review { background: var(--n100); border-left: 1px solid var(--n300); }
.col-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 22px; border-bottom: 1px solid var(--n300); }
.col-h h2 { font-family: var(--serif); font-size: 20px; }
.back { border: 0; background: none; cursor: pointer; color: var(--n600); font-size: 12.5px; padding: 0; }
.back:hover { color: var(--ink); }

.sec { border-bottom: 1px solid var(--n300); position: relative; }
.sec > summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 24px 1fr; column-gap: 8px; align-items: baseline; padding: 14px 22px; }
.sec > summary::-webkit-details-marker { display: none; }
.sec > summary::after { content: "+"; position: absolute; top: 13px; right: 22px; color: var(--n500); font-size: 16px; }
.sec[open] > summary::after { content: "–"; }
.sec > summary:hover { background: var(--bone); }
.num { color: var(--bronze); }
.sec-title { font-weight: 600; font-size: 14.5px; }
.sec-body { padding: 2px 22px 18px; display: flex; flex-direction: column; gap: 11px; }
.ideas { display: flex; flex-direction: column; gap: 8px; }
.idea { border: 1px solid var(--n300); border-radius: 6px; padding: 10px 12px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.idea b { font-size: 13.5px; font-weight: 600; }
.gen { padding: 16px 22px 24px; display: flex; flex-direction: column; gap: 10px; }
.gen .btn { width: 100%; }

.draft-col { padding: 18px 28px 28px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.draft-h { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.draft-h .topic { font-family: var(--serif); font-size: 24px; letter-spacing: -.01em; line-height: 1.15; flex: 1 1 260px; min-width: 0; }
.seg { display: inline-grid; grid-auto-flow: column; border: 1px solid var(--n300); border-radius: var(--r); background: var(--bone); padding: 2px; gap: 2px; }
.seg button { border: 0; background: transparent; padding: 5px 10px; border-radius: var(--r); cursor: pointer; font-size: 12.5px; font-weight: 500; color: var(--n600); }
.seg button.on { background: var(--n100); color: var(--ink); box-shadow: 0 0 0 1px var(--n300); }
#draftText, #variantText { min-height: 380px; font-size: 15px; line-height: 1.6; padding: 14px 16px; }
#headline { font-family: var(--serif); font-size: 22px; padding: 10px 14px; }
.meter { display: flex; justify-content: space-between; gap: 10px; color: var(--n500); font-size: 12px; font-family: var(--mono); }
.meter .over { color: var(--stop); }

.li-card { background: var(--n100); border: 1px solid var(--n300); border-radius: 8px; max-width: 555px; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; font-family: -apple-system, system-ui, "Segoe UI", Roboto, sans-serif; }
.li-who { display: flex; gap: 10px; align-items: center; }
.li-av { width: 44px; height: 44px; border-radius: 4px; border: 1px solid var(--n300); background: #fff url("brand-avatar.png") center/88% no-repeat; flex: none; }
.li-name { font-weight: 600; font-size: 14px; }
.li-sub { color: var(--n500); font-size: 12px; }
.li-text { white-space: pre-wrap; font-size: 14px; line-height: 1.45; overflow-wrap: anywhere; }
.li-more { color: var(--n500); cursor: pointer; border: 0; background: none; padding: 0; font: inherit; }
.li-head { font-weight: 600; font-size: 20px; line-height: 1.25; }

.lint { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; list-style: none; }
.lint li { padding: 8px 10px; border-radius: var(--r); font-size: 13px; display: flex; gap: 8px; align-items: flex-start; }
.lint li .lv { font-family: var(--mono); font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; padding-top: 2px; flex: none; width: 46px; }
.lint .stop { background: var(--stop-bg); color: var(--stop); }
.lint .check { background: var(--check-bg); color: var(--n700); }
.lint .note { background: var(--n200); color: var(--n600); }
.lint .clean { background: var(--ok-bg); color: var(--ok); }
.lint li .link-btn { margin-left: auto; flex: none; }

.media { border: 1px solid var(--n300); background: var(--n100); border-radius: var(--r); padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; }
.media-h { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.media-list { display: flex; flex-direction: column; gap: 10px; }
.media-item { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 12px; padding-top: 10px; border-top: 1px solid var(--n200); }
.media-item:first-child { border-top: 0; padding-top: 0; }
.media-thumb img, .media-thumb video, .media-ph { display: block; width: 150px; height: 104px; object-fit: cover; border: 1px solid var(--n300); border-radius: var(--r); background: var(--bone); }
.media-ph { display: flex; align-items: center; justify-content: center; text-align: center; border-style: dashed; font-size: 11.5px; color: var(--n500); padding: 6px; }
.media-meta { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.media-name { display: flex; flex-direction: column; overflow-wrap: anywhere; }
.media-form { display: flex; flex-direction: column; gap: 10px; background: var(--bone); border: 1px solid var(--n200); border-radius: var(--r); padding: 12px; }
.file-btn input { display: none; }
.li-media { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; margin: 0 -16px; }
.li-media.n1 { grid-template-columns: 1fr; }
.li-media.n3 > :first-child { grid-column: 1 / -1; }
.li-media img, .li-media video { display: block; width: 100%; height: 100%; max-height: 560px; object-fit: cover; background: var(--n200); }

.bar { position: sticky; bottom: 0; background: var(--bone); padding: 12px 0 2px; border-top: 1px solid var(--n300); display: flex; flex-direction: column; gap: 8px; }
.bar .why { color: var(--n600); font-size: 12.5px; margin: 0; }

.rv { padding: 14px 20px; border-bottom: 1px solid var(--n300); display: flex; flex-direction: column; gap: 9px; }
.rv h3 { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--n600); }
.rv ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 5px; font-size: 13px; }
.rv .src { white-space: pre-wrap; font-size: 12.5px; color: var(--n700); background: var(--bone); border: 1px solid var(--n200); border-radius: var(--r); padding: 8px 10px; max-height: 220px; overflow: auto; overflow-wrap: anywhere; }
.rv .small { font-size: 12.5px; color: var(--n600); margin: 0; }
.ticks { display: flex; flex-direction: column; gap: 7px; }
.tick { display: grid; grid-template-columns: 16px 1fr; gap: 9px; align-items: start; font-size: 13px; cursor: pointer; }
.tick input { accent-color: var(--ink); width: 15px; height: 15px; margin: 2px 0 0; }
.tick .by { display: block; color: var(--n500); font-size: 11.5px; }
.tick.ro { cursor: default; }
.log { list-style: none; padding: 0 !important; gap: 8px !important; }
.log li { font-size: 12.5px; color: var(--n600); }
.log li b { color: var(--ink); font-weight: 600; }
.log .when { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .08em; color: var(--n500); }
.repost { background: var(--bone); border: 1px solid var(--n300); border-radius: var(--r); padding: 9px 10px; font-size: 13px; display: flex; flex-direction: column; gap: 6px; }

/* ---------- voice + setup ---------- */
.voice-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.panel { background: var(--n100); border: 1px solid var(--n300); border-radius: var(--r); min-width: 0; }
.panel-h { padding: 12px 16px; border-bottom: 1px solid var(--n300); display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.panel-h h2 { font-size: 15px; font-weight: 600; }
.panel-b { padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
#guidance { min-height: 560px; font-family: var(--mono); font-size: 12.5px; line-height: 1.6; }
.ex { border-bottom: 1px solid var(--n200); padding: 10px 16px; display: grid; grid-template-columns: 16px 1fr; gap: 10px; }
.ex:last-child { border-bottom: 0; }
.ex input { accent-color: var(--ink); width: 15px; height: 15px; margin-top: 3px; }
.ex .meta { font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--n500); display: flex; gap: 10px; flex-wrap: wrap; }
.ex .body { font-size: 13px; white-space: pre-wrap; color: var(--n700); max-height: 7.5em; overflow: hidden; overflow-wrap: anywhere; }
.ex.open .body { max-height: none; }
.ex-list { max-height: 720px; overflow: auto; }
.banner { background: var(--check-bg); border: 1px solid #EED9A0; border-radius: var(--r); padding: 12px 14px; font-size: 13.5px; }
.banner.ok { background: var(--ok-bg); border-color: #C8DCC6; }
.status-list { display: flex; flex-direction: column; }
.status-row { display: grid; grid-template-columns: 110px 1fr; gap: 14px; padding: 14px 16px; border-bottom: 1px solid var(--n200); }
.status-row:last-child { border-bottom: 0; }
.status-row .state { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; }
.status-row .state.on { color: var(--ok); }
.status-row .state.off { color: var(--stop); }
.status-row p { margin: 3px 0 0; color: var(--n600); font-size: 13px; }
.steps { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; color: var(--n700); }

/* ---------- footer, toast, dialog ---------- */
.foot { height: var(--foot-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 24px; border-top: 1px solid var(--n300); background: var(--n100); color: var(--n500); font-size: 12px; }
.foot span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.foot .mono { flex: none; }
.toast { position: fixed; left: 50%; bottom: 56px; transform: translate(-50%, 20px); background: var(--ink); color: var(--bone); padding: 10px 16px; border-radius: var(--r); font-size: 13px; opacity: 0; pointer-events: none; transition: .2s ease; z-index: 50; max-width: calc(100vw - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.err { background: var(--stop); }
.ask { border: 1px solid var(--n300); border-radius: var(--r); padding: 0; width: min(480px, calc(100vw - 32px)); background: var(--n100); color: var(--ink); }
.ask::backdrop { background: rgba(20, 18, 15, .35); }
.ask form { padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.ask h2 { font-family: var(--serif); font-size: 22px; }
.busy { position: relative; pointer-events: none; opacity: .6; }
.spin { display: inline-block; width: 12px; height: 12px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spin { animation: none; } .toast { transition: none; } }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .editor { grid-template-columns: 320px minmax(0, 1fr); }
  .review { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--n300); display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
  .review .col-h { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .top { padding: 0 16px; gap: 10px; height: auto; min-height: var(--top-h); flex-wrap: wrap; padding-block: 8px; }
  .brand img { height: 22px; }
  .product { padding-left: 10px; }
  .product-name { font-size: 18px; }
  .nav { order: 3; width: 100%; margin-left: 0; }
  .who { font-size: 12px; }
  .page { padding: 16px; }
  .planner { grid-template-columns: 1fr; }
  .day { min-height: 0; }
  .lanes, .voice-grid { grid-template-columns: 1fr; }
  .editor { display: block; }
  .brief { border-right: 0; border-bottom: 1px solid var(--n300); }
  .review { display: block; }
  .col-h, .sec > summary, .sec-body, .gen, .rv { padding-left: 16px; padding-right: 16px; }
  .sec > summary::after { right: 16px; }
  .draft-col { padding: 16px; }
  #draftText, #variantText { min-height: 300px; }
  .foot { height: auto; flex-direction: column; align-items: flex-start; padding: 12px 16px; }
  .foot span:first-child { white-space: normal; }
  .status-row { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 520px) {
  .row2 { grid-template-columns: 1fr; }
  .media-item { grid-template-columns: 1fr; }
  .media-thumb img, .media-thumb video, .media-ph { width: 100%; height: auto; max-height: 260px; }
  .bar .actions .btn { flex: 1 1 auto; }
}

/* Bill's approval page (bill.html) */
.bill-grid { display: grid; grid-template-columns: minmax(0, 555px) minmax(260px, 1fr); gap: 24px; align-items: start; margin-top: 20px; }
.bill-grid .panel-b h2 { font-size: 16px; margin: 0 0 8px; }
.bill-checks { margin: 0 0 16px; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; color: var(--n600); }
.err { color: #b42318; }
@media (max-width: 800px) { .bill-grid { grid-template-columns: 1fr; } }

/* Platforms: "Post to" buttons, version tabs, and comments under each draft */
.seg.wrap { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); }
.seg.tabs { margin: 10px 0 6px; }
.changes { display: flex; flex-direction: column; gap: 8px; margin: 10px 0 4px; padding: 12px 14px; border: 1px dashed var(--n300); border-radius: var(--r); background: var(--n100); }
.changes textarea { min-height: 56px; }
.guides { margin-top: 20px; }
.bill-versions { display: flex; flex-direction: column; gap: 14px; }
.lint li.writing { background: var(--n100); border: 1px solid var(--n300); color: var(--ink); }

/* Previews for the other platforms */
.li-av.round { border-radius: 50%; }
.pv-bar { display: flex; justify-content: space-around; gap: 8px; border-top: 1px solid var(--n300); padding-top: 8px; color: var(--n500); font-size: 13px; }
.pv-ph { aspect-ratio: 1 / 1; margin: 0 -16px; background: var(--n200); color: var(--n500); display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; font-size: 13px; }
.ig .li-media img, .ig .li-media video { aspect-ratio: 1 / 1; max-height: none; }
.pv-mail { display: flex; flex-direction: column; gap: 4px; font-size: 13px; padding-bottom: 10px; border-bottom: 1px solid var(--n300); }
.pv-k { display: inline-block; width: 64px; color: var(--n500); }

.conn { list-style: none; margin: 0 0 10px; padding: 0; }
.conn li { padding: 10px 0; border-bottom: 1px solid var(--line, #e5e1d8); }
.conn li:last-child { border-bottom: 0; }
.conn .state { margin: 0 6px; }

.nav .badge { display: inline-grid; place-items: center; min-width: 18px; height: 18px; margin-left: 6px; padding: 0 5px; border-radius: 9px; background: var(--amber); color: var(--ink); font: 600 11px/1 var(--sans); letter-spacing: 0; vertical-align: 1px; }
.brand { cursor: pointer; }
