/* Studio routes share the paper, type and controls defined in writing-desk.css. */
.studio {
    --studio-ink: var(--sd-sumi);
    --studio-brass: var(--sd-brass-dark);
}
.studio-main {
    width: min(88%, 70rem);
    margin-inline: auto;
    padding-block: clamp(28px, 5.5vw, 76px) 64px;
}
.studio-primary, .studio-content, .studio-secondary { min-width: 0; }
.studio-title { margin-block-end: clamp(22px, 3.5vh, 38px); }
.studio-title p {
    margin: .6rem 0 0;
    color: var(--sd-muted);
    max-width: 62ch;
    font: 1rem/1.55 var(--sd-serif);
}
.studio-content > * + *, .studio-secondary { margin-top: 1.5rem; }
@media (min-width: 1024px) {
    .studio-main-with-rail {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(14rem, 25%);
        align-items: start;
        gap: clamp(2rem, 4vw, 4rem);
    }
    .studio-secondary {
        margin-top: 0;
        border-inline-start: 1px solid var(--sd-rule);
        padding-inline-start: 1.5rem;
    }
}
.studio :is(.bg-white, .bg-white\/80, .bg-slate-50) { background-color: var(--sd-paper); }
.studio :is(.rounded-2xl, .rounded-3xl) {
    background-color: transparent;
    border-radius: 0;
    border: 0;
    border-top: 1px solid var(--sd-rule);
    box-shadow: none;
}
.studio :is(.shadow-md, .shadow-lg, .shadow-xl, .shadow-2xl) { box-shadow: none; }
.studio :is(.text-slate-900, .text-slate-800) { color: var(--sd-sumi); }
.studio :is(.text-slate-600, .text-slate-500) { color: var(--sd-muted); }
.studio :is(.bg-slate-900, .bg-slate-800) { background-color: var(--sd-sumi); }

.sd-feed-stream { width: min(100%, 60rem); margin-inline: auto; }
.sd-feed-stream :where(h2) {
    margin: .15em 0 .3em;
    font: 400 clamp(1.65rem, 3vw, 2.75rem)/1.14 var(--sd-serif);
    letter-spacing: -.035em;
}
.sd-feed-stream :where(a) { color: inherit; text-underline-offset: .25em; }
.sd-feed-stream :where(h2 a) { text-decoration: none; }
.sd-feed-stream :where(h2 a:hover) { text-decoration: underline; text-decoration-color: var(--sd-brass); }
.sd-feed-item, .sd-feed-curated > article {
    border: 0;
    margin-block: 0;
    padding-block: clamp(1.75rem, 4.5vh, 3.25rem);
}
.sd-feed-short, .sd-feed-medium, .sd-feed-essay {
    margin-top: .75rem;
    padding-block: .4rem;
}
.sd-feed-stream .sd-manuscript-stage { display: flow-root; }
.sd-feed-essay :is(.ink-paper, .sd-feed-reading), .sd-feed-medium .ink-paper {
    max-height: none;
    overflow: visible;
}
.sd-feed-meta, .sd-feed-actions, .sd-feed-stream nav:not(.ink-paper__pagination, .sd-chapter-pills, .sd-feed-filter, .sd-feed-jump) {
    color: var(--sd-muted);
    font: 500 .78rem/1.5 var(--sd-sans);
}
.sd-feed-meta { margin: .3em 0 .75em; }
.sd-feed-actions, .sd-feed-stream nav:not(.ink-paper__pagination, .sd-chapter-pills, .sd-feed-filter, .sd-feed-jump) { display: flex; align-items: center; flex-wrap: wrap; gap: .15rem 1rem; }
.sd-feed-stream :is(.sd-feed-actions, nav:not(.ink-paper__pagination, .sd-chapter-pills, .sd-feed-filter, .sd-feed-jump)) :is(button, select), .sd-feed-stream a:not(h2 a) {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: .25rem .3rem;
    color: var(--sd-brass-dark);
}
.sd-feed-actions select {
    max-width: 100%;
    border: 0;
    border-bottom: 1px solid var(--sd-rule);
    border-radius: 0;
    background: transparent;
}
.sd-feed-stream nav:not(.ink-paper__pagination, .sd-chapter-pills, .sd-feed-filter, .sd-feed-jump) [aria-pressed=true] { text-decoration: underline; text-underline-offset: .4em; }
.sd-feed-stream :where(:disabled) { opacity: .55; cursor: default; }
.sd-feed-stream [role=alert] { color: var(--sd-oxblood); }
.sd-feed-stream .sd-scrubber { margin: 12px 0 4px; }

.sd-auth-page {
    display: grid;
    place-items: center;
    padding: clamp(22px, 5vh, 54px) 20px;
}
.sd-auth-wrap { width: min(100%, 27rem); margin: auto; }
.sd-auth-intro { text-align: center; margin-bottom: 20px; }
.sd-auth-group { display: grid; gap: 14px; }
.sd-auth-heading { margin-bottom: 12px; }
.sd-auth-alternate { font-size: .9rem; color: var(--sd-muted); }
.sd-auth-sheet {
    padding: clamp(22px, 3.5vw, 42px);
    background: var(--sd-paper);
    border-block: 1px solid var(--sd-rule);
    color: var(--sd-sumi);
}
.sd-auth-sheet h1 { font-size: clamp(2rem, 3.5vw, 2.8rem); }
.sd-auth-sheet form { display: grid; gap: .9rem; }
.sd-auth-sheet label { display: block; color: var(--sd-sumi); font: 500 .85rem/1.4 var(--sd-sans); }
.sd-auth-sheet input {
    display: block;
    width: 100%;
    min-height: 46px;
    margin-top: 5px;
    padding: 9px 11px;
    border: 1px solid var(--sd-rule);
    border-radius: 2px;
    background: #fbf8f0;
    color: var(--sd-sumi);
    font: 1rem/1.45 var(--sd-sans);
}
.sd-auth-sheet button[type=submit] { width: 100%; margin-top: .5rem; }
.sd-auth-sheet a { display: inline-flex; min-height: 44px; align-items: center; color: var(--sd-brass-dark); text-decoration: underline; text-underline-offset: 4px; }
.sd-local-draft-note {
    margin: .75rem 0 1rem;
    color: var(--sd-muted);
    font: italic .96rem/1.5 var(--sd-serif);
}
.sd-auth-sheet [role=alert] { padding: .6rem 0; color: var(--sd-oxblood); background: transparent; border: 0; }
@media (max-width: 700px) {
    .studio-main { width: calc(100% - 36px); }
    .sd-auth-page { align-items: start; padding-block-start: 26px; }
    .sd-auth-sheet { padding-inline: 20px; }
}
/* Keep the editorial grid inside the gutters, with room for the oak in the margin. */
.sd-editor-sheet { width: min(90%, 58rem); margin-inline: auto; padding: clamp(1.25rem, 3vh, 2.5rem) 0 3rem; }
.sd-reading-room main {
    box-sizing: content-box;
    max-width: 60rem;
    margin-inline: auto;
    padding: clamp(1rem, 2.8vh, 2.25rem) clamp(1rem, 4vw, 3rem) 3rem;
}
.sd-editor .sd-manuscript-stage,
.sd-feed-stream .sd-manuscript-stage,
.sd-reading-room .sd-pen-replay .sd-manuscript-stage {
    margin: .5rem 0;
    padding: clamp(.5rem, 1.5vw, 1rem) 0;
    overflow: visible;
    background: transparent;
    border: 0;
    box-shadow: none;
}
@media (min-width: 1220px) {
    :is(.sd-feed-stream, .sd-editor-sheet, .sd-reading-room) .sd-manuscript-stage .sd-oak-margin {
        right: -124px;
    }
}
.sd-editor { font: 1rem/1.55 var(--sd-serif); }
.sd-editor .sd-editor-title, .sd-editor .sd-guest-title, .sd-reading-room h1 {
    font-family: var(--sd-serif);
    font-size: clamp(1.9rem, 3.2vw, 2.6rem);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -.035em;
    color: var(--sd-sumi);
}
.sd-editor-heading, .sd-editor-actions, .sd-editor-footer, .sd-editor-nav nav,
.sd-reader-actions, .sd-segments {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: .4rem 1.35rem;
}
.sd-editor-heading { flex-wrap: nowrap; gap: 1rem; }
.sd-editor-heading small:empty { display: none; }
.sd-editor .sd-editor-title {
    width: 100%;
    min-width: 0;
    padding: .15rem 0;
    background: transparent;
    border: 0;
    border-bottom: 1px solid transparent;
}
.sd-editor .sd-editor-title:focus { border-bottom-color: var(--sd-brass); outline: none; }
.sd-reading-room h1 { margin: 0 0 .75rem; overflow-wrap: anywhere; }
.sd-editor-nav nav, .sd-editor-actions, .sd-editor-footer, .sd-editor small, .sd-editor .sd-whisper,
.sd-reading-room .sd-whisper-bar { font: 500 .86rem/1.5 var(--sd-sans); }
.sd-editor-nav nav, .sd-reader-actions { align-items: center; }
.sd-reading-room .sd-whisper-bar { justify-content: flex-start; }
.sd-reader-actions { margin-inline-start: auto; }
.sd-reading-room .sd-reader-mark { font: 500 1.5rem/1 var(--sd-serif); letter-spacing: -.05em; }
.sd-editor .sd-composer {
    width: 100%;
    min-height: 8rem;
    resize: vertical;
    padding: .6rem .2rem;
    color: inherit;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--sd-rule);
    font: inherit;
    line-height: 1.65;
}
.sd-editor .sd-adaptive-short ~ .sd-composer { font-size: 1.4rem; }
.sd-editor .sd-adaptive-medium ~ .sd-composer { font-size: 1.18rem; }
.sd-editor .sd-adaptive-essay ~ .sd-composer { font-size: 1.05rem; }
.sd-editor :is(button, summary, a, select, input[type=checkbox], input[type=range]) { cursor: pointer; }
.sd-editor :is(button, summary, a) { color: inherit; }
.sd-editor button, .sd-editor .sd-link {
    padding: .25rem 0;
    background: none;
    border: 0;
    text-decoration: underline;
    text-decoration-color: var(--sd-rule);
    text-underline-offset: .28em;
}
.sd-editor :is(a, button):hover, .sd-editor button[aria-pressed=true] {
    color: var(--sd-oxblood);
    text-decoration-color: currentColor;
}
.sd-editor button:disabled, .sd-reading-room button:disabled { cursor: default; opacity: .5; }
.sd-editor .sd-studio-row, .sd-editor-footer { border-top: 1px solid var(--sd-rule); padding-block: 1.35rem; }
.sd-editor h2, .sd-editor summary { font: 400 1.65rem/1.3 var(--sd-serif); }
.sd-editor h3 { font-size: 1.2rem; margin: 1.4rem 0 .5rem; }
.sd-editor-actions, .sd-editor .sd-whisper { margin-block: .65rem; color: var(--sd-muted); }
.sd-editor-actions .sd-publish { font-weight: 650; color: var(--sd-sumi); }
.sd-editor .sd-collab-pill, .sd-reading-room .sd-collab-pill { color: var(--sd-brass-dark); }
.sd-editor .sd-error, .sd-editor .sd-second-pen { color: var(--sd-oxblood); }
.sd-editor .sd-feedback { margin: .5rem 0; }
.sd-editor .sd-feedback:empty, .sd-reader-feedback:empty { display: none; }
.sd-editor .sd-craft-controls, .sd-milestone-fields {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr));
    gap: .8rem 1.4rem;
    align-items: end;
    margin: 1rem 0;
}
.sd-craft-controls label, .sd-milestone-fields label { display: grid; gap: .3rem; }
.sd-editor :is(select, input:not([type=checkbox], [type=range], .sd-editor-title)) {
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--sd-rule);
    padding: .25rem 0;
    color: inherit;
}
.sd-editor :is(input[type=range], input[type=checkbox]) { accent-color: var(--sd-brass-dark); }
.sd-revision-list, .sd-snapshots { list-style: none; margin: .75rem 0; padding: 0; }
.sd-revision-list li, .sd-snapshots label {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: .3rem 1rem;
    padding: .55rem 0;
    border-bottom: 1px solid var(--sd-rule);
}
.sd-revision-list time, .sd-snapshots small { margin-left: auto; color: var(--sd-muted); font-size: .78rem; }
.sd-snapshots { max-height: 22rem; overflow: auto; }
.sd-editor .sd-restart-dialog {
    position: fixed;
    inset: 0;
    margin: auto;
    width: min(90vw, 28rem);
    padding: 1.8rem;
    background: var(--sd-washi);
    color: var(--sd-sumi);
    border: 1px solid var(--sd-brass);
}
.sd-restart-dialog::backdrop { background: #17141266; }
.sd-restart-dialog p { margin: 1rem 0; }
.sd-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.sd-reading-room :where(a, button):hover { text-decoration: underline; text-underline-offset: .25em; }
.sd-reading-room .sd-collab-pill { margin-bottom: .8rem; }
.sd-reading-room .sd-collab-pill b { color: var(--sd-oxblood); }
.sd-segments { gap: 1rem; margin: 1rem 0; font-size: .88rem; }
.sd-segments [aria-current=true] { text-decoration: underline; text-underline-offset: .3em; }
.sd-reading-room .sd-margin-whispers {
    margin: clamp(1.75rem, 5vw, 3rem) 0 0 auto;
    max-width: 34rem;
    border-top: 1px solid var(--sd-rule);
    padding-top: 1rem;
}
.sd-margin-whispers h2 { font: italic 1.3rem var(--sd-serif); }
.sd-margin-whispers li { white-space: pre-wrap; overflow-wrap: anywhere; font: 1.05rem/1.5 var(--sd-serif); margin: .7rem 0; }
.sd-margin-whispers :is(label, button) { font-size: .85rem; }
.sd-margin-whispers textarea {
    display: block;
    width: 100%;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--sd-brass);
    margin: .5rem 0;
    padding: .5rem 0;
    font: 1.1rem/1.5 var(--sd-serif);
    color: var(--sd-sumi);
    resize: vertical;
}
.sd-reader-feedback { font-size: .87rem; color: var(--sd-brass-dark); }
.sd-pen-replay .sd-scrubber { grid-template-columns: minmax(0, 1fr); }

/* A missing legacy renderer still leaves its current revision readable. */
[data-preview-unavailable] :is([data-preview-canvas], [data-preview-debug], [data-preview-status]) { display: none; }
[data-preview-unavailable] [data-preview-fallback] { display: block; }

/* A journal presents one work at a time, with its apparatus in the margins. */
.sd-feed-controls { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; padding-block: 12px; border-bottom: 1px solid var(--sd-rule); color: var(--sd-muted); font: 500 .8rem/1.4 var(--sd-sans); }
.sd-feed-filter { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.sd-feed-controls button, .sd-curated-toggle {
    min-height: 44px; padding: 6px 14px; border: 1px solid var(--sd-rule); border-radius: 999px;
    background: transparent; color: var(--sd-brass-dark); font: 500 .8rem/1.4 var(--sd-sans); cursor: pointer;
    transition: background-color .18s, border-color .18s, color .18s;
}
.sd-feed-controls button:hover, .sd-curated-toggle:hover { background: rgb(235 226 210 / 65%); border-color: var(--sd-brass); }
.sd-feed-controls button[aria-pressed=true] { background: #ebe2d2; border-color: var(--sd-brass-dark); color: var(--sd-sumi); }
.sd-feed-jump { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.sd-feed-stream .sd-feed-jump a { min-height: 44px; max-width: 19rem; padding: 6px 12px; border: 1px solid var(--sd-rule); border-radius: 999px; background: transparent; color: var(--sd-muted); font: 500 .76rem/1.4 var(--sd-sans); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sd-feed-stream .sd-feed-jump a:hover { color: var(--sd-sumi); border-color: var(--sd-brass); background: rgb(247 243 233 / 85%); }
.sd-feed-stream { background: transparent; border: 0; box-shadow: none; }
.sd-feed-hidden { display: none !important; }
.sd-work-ornament { display: flex; align-items: center; justify-content: center; gap: 14px; margin-block: clamp(.5rem, 2vh, 1.25rem); color: var(--sd-brass); font: .9rem/1 var(--sd-serif); letter-spacing: .25em; }
.sd-work-ornament::before, .sd-work-ornament::after { content: ""; width: 48px; height: 1px; background: var(--sd-rule); }
.sd-essay-ribbon { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 6px 20px; padding: 4px 0; margin-bottom: 4px; border-block: 1px solid var(--sd-rule); }
.sd-essay-ribbon > .sd-evolution-rail { grid-column: 1 / -1; min-width: 0; }
.sd-essay-story { margin: 0; overflow-wrap: anywhere; color: var(--sd-muted); font: .82rem/1.35 var(--sd-sans); }
.sd-essay-story em { display: block; color: var(--sd-sumi); font: italic 1rem/1.25 var(--sd-serif); }
.sd-essay-lenses { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: stretch; gap: 6px; min-width: 0; }
.sd-essay-ribbon .sd-essay-lenses button { box-sizing: border-box; min-width: 0; min-height: 38px; padding: 6px 10px; border: 1px solid var(--sd-rule); border-radius: 999px; background: rgb(247 243 233 / 70%); color: var(--sd-brass-dark); font: 500 .78rem/1.4 var(--sd-sans); cursor: pointer; transition: background-color .18s, border-color .18s; }
.sd-essay-lenses button:hover, .sd-essay-lenses button[aria-pressed=true] { background: #ebe2d2; border-color: var(--sd-brass-dark); }
.sd-feed-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; margin-top: 10px; color: var(--sd-muted); font: .8rem/1.5 var(--sd-sans); }
.sd-feed-stream .sd-manuscript-stage .ink-paper { width: 100%; max-width: 920px; max-height: none; overflow: visible; }
@media (min-width: 701px) {
    .sd-feed-item:has(.sd-feed-essay) { padding-block-start: 4px; }
    .sd-feed-item:has(.sd-feed-essay) > h2 { display: inline; margin: 0; font-size: clamp(1.55rem, 2.2vw, 1.9rem); }
    .sd-feed-item:has(.sd-feed-essay) > .sd-feed-meta { display: inline-block; margin: 0 0 0 12px; }
    .sd-feed-essay { padding-block-start: 0; margin-block-start: 4px; }
    .sd-feed-essay .sd-manuscript-stage { padding-block-start: 0; margin-block-start: 0; }
}
.sd-feed-short .sd-oak-margin { left: auto; right: 0; }
.sd-reading-room { background: var(--sd-washi); color: var(--sd-sumi); }
.sd-reading-byline { margin: .4rem 0 1.5rem; color: var(--sd-muted); font: .86rem/1.5 var(--sd-sans); }
.sd-pen-replay { min-width: 0; margin-block: 1.5rem; }
.sd-chapters { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; padding-block: 12px; margin-block: 1rem; border-block: 1px solid var(--sd-rule); color: var(--sd-muted); font: .8rem/1.4 var(--sd-sans); }
.sd-chapters :is(a, button) { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 12px; border: 1px solid var(--sd-rule); border-radius: 999px; background: transparent; color: var(--sd-brass-dark); text-decoration: none; }
.sd-chapters :is([aria-current=true], [aria-current=step], [aria-pressed=true]) { border-color: var(--sd-brass-dark); background: #ebe2d2; color: var(--sd-sumi); }
.sd-margin-whispers :is(button, a) { min-height: 44px; display: inline-flex; align-items: center; color: var(--sd-brass-dark); }
@media (min-width: 1220px) {
    .sd-feed-stream .sd-feed-short .sd-oak-margin { right: -124px; }
}
@media (max-width: 700px) {
    .sd-feed-controls { align-items: flex-start; }
    .sd-essay-ribbon { grid-template-columns: minmax(0, 1fr); gap: 8px; }
    .sd-essay-lenses { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sd-essay-ribbon .sd-essay-lenses button { min-height: 44px; }
    .sd-feed-jump { width: 100%; }
    .sd-feed-stream .sd-feed-jump a { max-width: 100%; min-width: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .sd-feed-controls button, .sd-curated-toggle, .sd-essay-lenses button { transition: none; }
}

.sd-feed-empty { margin: 1.5rem 0; color: var(--sd-muted); font: italic 1rem/1.6 var(--sd-serif); }
.sd-feed-empty button { min-height: 44px; padding: 6px 12px; border: 1px solid var(--sd-rule); border-radius: 999px; background: transparent; color: var(--sd-brass-dark); font: 500 .78rem/1.4 var(--sd-sans); cursor: pointer; }
.sd-feed-empty button:hover { border-color: var(--sd-brass); background: rgb(247 243 233 / 85%); }

/* Essay canvases use the full manuscript measure, including on public routes. */
.sd-adaptive-essay .sd-manuscript-stage,
.sd-manuscript-stage.sd-adaptive-essay {
    width: 100%;
    max-width: min(860px, 100%);
    margin-inline: auto;
}
.sd-feed-stream .sd-adaptive-essay .sd-manuscript-stage .ink-paper,
.sd-adaptive-essay .sd-manuscript-stage .ink-paper,
.sd-manuscript-stage.sd-adaptive-essay .ink-paper { max-width: min(860px, 100%); margin-inline: auto; }
.sd-reading-room main { width: calc(100% - 36px); box-sizing: border-box; padding-inline: 0; }
.sd-pen-replay.sd-adaptive-essay .sd-manuscript-stage { padding-inline: 0; margin-inline: auto; }
.sd-feed-stream, .sd-feed-item, .sd-feed-curated, .sd-reading-room main { min-width: 0; }
.sd-feed-stream :is(.sd-scrubber, .scrubber-controls, .sd-lens-tabs),
.sd-reading-room :is(.sd-scrubber, .scrubber-controls, .sd-lens-tabs) { min-width: 0; max-width: 100%; }
.sd-feed-stream select, .sd-reading-room select { min-width: 0; max-width: 100%; }
/* Keep marginal ornament within the viewport at intermediate desktop widths. */
@media (min-width: 1220px) and (max-width: 1439px) {
    :is(.sd-feed-stream, .sd-editor-sheet, .sd-reading-room) .sd-manuscript-stage .sd-oak-margin,
    .sd-feed-stream .sd-feed-short .sd-oak-margin { right: 0; }
}
@media (max-width: 700px) {
    .sd-feed-stream .sd-scrubber select, .sd-reading-room .sd-scrubber select { width: auto; max-width: 100%; }
    .sd-feed-stream .scrubber-controls, .sd-reading-room .scrubber-controls { flex-wrap: wrap; }
}

.sd-editor-sheet:has(.sd-manuscript-stage.sd-adaptive-essay) { width: min(90%, 60rem); }

.sd-feed-banner {
    color: var(--sd-muted);
    font: .85rem/1.5 var(--sd-sans);
}
.sd-feed-banner a { color: var(--sd-brass-dark); text-underline-offset: .2em; }
.sd-feed-stream nav.sd-feed-scope { gap: .4rem; margin-block: 1rem; }
.sd-feed-stream nav.sd-feed-scope button, .sd-editor-visibility button {
    padding: .25em .8em;
    border: 1px solid var(--sd-rule);
    border-radius: 999px;
    background: transparent;
    color: var(--sd-muted);
}
.sd-feed-stream nav.sd-feed-scope button[aria-pressed=true], .sd-editor-visibility button[aria-pressed=true] {
    border-color: var(--sd-brass);
    background: #ebe2d2;
    color: var(--sd-sumi);
    text-decoration: none;
}
.sd-editor-visibility { display: inline-flex; gap: .2rem; }
.sd-visibility-pill, .sd-feed-follow {
    display: inline-block;
    margin-inline-start: .55em;
    padding: .05em .55em;
    border: 1px solid var(--sd-rule);
    border-radius: 999px;
    background: transparent;
    color: var(--sd-brass-dark);
    font: inherit;
    white-space: nowrap;
}
.sd-feed-follow:hover { border-color: var(--sd-brass); }
