/* Publishing settings rows (Universal Publishing Settings brief, Nov 2026): icon, name, value. */
.as__rows .as-row, .cv__rows .cv-row, [data-ps-rows] details[data-row] { border: 0 !important; margin: 1px 0; }
.as__rows .as-row > summary, .cv__rows .cv-row > summary, .cv .cv-more > summary, .as__advanced > summary {
    display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 0 10px; margin: 0 -10px; border-radius: 8px; list-style: none; cursor: pointer; transition: background-color .16s ease;
}
.as__rows .as-row > summary::-webkit-details-marker, .cv__rows .cv-row > summary::-webkit-details-marker, .as__advanced > summary::-webkit-details-marker { display: none; }
.as__rows .as-row > summary:hover, .cv__rows .cv-row > summary:hover, .cv .cv-more > summary:hover, .as__advanced > summary:hover { background: #f6f7f9; }
.as__rows .as-row > summary:focus-visible, .cv__rows .cv-row > summary:focus-visible, .cv .cv-more > summary:focus-visible, .as__advanced > summary:focus-visible { outline: 2px solid #0b5fff; outline-offset: 0; }
.ps-ico { flex: 0 0 18px; width: 18px; height: 18px; display: inline-flex; color: #667085; transition: color .16s ease; }
summary:hover > .ps-ico, label:hover > .ps-ico { color: #344054; }
details[open] > summary > .ps-ico { color: #0b5fff; }
.as__rows .as-row__label, .cv__rows .cv-row__label { flex: 1 1 auto; font-size: 13.5px; font-weight: 500; color: #101828; }
.as__rows .as-row__value, .cv__rows .cv-row__value { margin-left: auto; font-size: 13px; font-weight: 500; color: #475467; text-align: right; }
.as__rows .as-row__chev, .cv__rows .cv-row__chev { color: #98a2b3; transition: transform .18s ease; }
.as__rows .as-row[open] .as-row__chev, .cv__rows .cv-row[open] .cv-row__chev { transform: rotate(90deg); }
.as__rows .as-row__body, .cv__rows .cv-row__body { padding: 6px 0 14px 30px; }
.cv .cv-more > summary { color: #101828; font-weight: 500; }
.as__advanced > summary { font-size: 13.5px; font-weight: 500; color: #101828; }
.cv .cv-toggle { gap: 12px; }
.cv .cv-row--toggle { border-top: 0 !important; }
.ps-sug { font-weight: 400; color: #98a2b3; }
.cv__panel.is-called { animation: ps-called .7s ease-out; }
@keyframes ps-called { 0% { box-shadow: 0 0 0 0 rgba(11, 95, 255, 0); } 30% { box-shadow: 0 0 0 4px rgba(11, 95, 255, .16); } 100% { box-shadow: 0 0 0 0 rgba(11, 95, 255, 0); } }
.ps-cog { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 8px; background: none; color: #475467; cursor: pointer; transition: background-color .15s ease, color .15s ease; }
.ps-cog:hover { background: #f2f4f7; color: #101828; }
.ps-cog:focus-visible { outline: 2px solid #0b5fff; outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .ps-ico, .as__rows .as-row__chev, .cv__rows .cv-row__chev { transition: none; } .cv__panel.is-called { animation: none; } }.as__rows .as-nrrow { margin: 1px -10px; padding: 8px 10px; min-height: 46px; }
.as__rows .as-nrrow .as-nrrow__ico { flex-basis: 18px; }

/* Post settings dialog rows. */
.mcx__rows .mcx__row { border: 0 !important; margin: 1px 0; }
.mcx__rows .mcx__row > summary { display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 0 10px; border-radius: 8px; list-style: none; cursor: pointer; transition: background-color .16s ease; }
.mcx__rows .mcx__row > summary::-webkit-details-marker { display: none; }
.mcx__rows .mcx__row > summary:hover { background: #f6f7f9; }
.mcx__rows .mcx__row-label { flex: 1 1 auto; font-size: 13.5px; font-weight: 500; color: #101828; }
.mcx__rows .mcx__row-value { margin-left: auto; font-size: 13px; font-weight: 500; color: #475467; }
.mcx__rows .mcx__row-body { padding: 6px 10px 14px 40px; }

/* ============================================================ Article publishing settings (Nov 2026 upgrade) */
.as__settings { width: min(352px, 100vw); padding: 0 18px 40px; overflow-x: hidden; overscroll-behavior: contain; box-shadow: none; border-left: 1px solid #eaecf0; }
.as__settings-head { position: sticky; top: 0; z-index: 2; margin: 0 -18px 4px; padding: 14px 18px 10px; background: #fff; }
.as__settings-head h2 { font-size: 15px; font-weight: 600; letter-spacing: 0; text-transform: none; color: #101828; }
.as__settings-head .as__icon-btn { width: 32px; height: 32px; border-radius: 8px; color: #667085; }
.as__settings-head .as__icon-btn:hover { background: #f2f4f7; color: #101828; }
html.as-settings-open [data-as-settings] { background: #eef4ff; color: #0b5fff; }
.ps-gone { display: none !important; }

/* Section labels: small and muted, a hairline above each group after the first. */
.as__rows .ps-sec { margin: 14px 0 2px; padding-top: 12px; border-top: 1px solid #f0f2f5; font-size: 11.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #98a2b3; }
.as__rows .ps-sec:first-child { margin-top: 2px; padding-top: 0; border-top: 0; }

/* Rows: 46px, the whole row is the target. */
.as__rows .as-row > summary { min-height: 46px; }
.as__rows .as-row > summary:hover .ps-ico, .as__rows .as-nrrow:hover .ps-ico, .as__rows .as-nrrow:hover .as-nrrow__ico, .ps-people__head:hover .ps-ico { color: #0b5fff; }

/* Publishing as */
.ps-idrow { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 4px 0; }
.ps-idrow__av { flex: none; width: 28px; height: 28px; border-radius: 50%; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; background: #eef0f4; font-size: 12px; font-weight: 600; color: #344054; }
.ps-idrow__av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ps-idrow__text { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.ps-idrow__label { font-size: 12px; color: #667085; }
.ps-idrow__text strong { font-size: 13.5px; font-weight: 600; color: #101828; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ps-idrow__type { margin-left: auto; font-size: 12.5px; color: #667085; white-space: nowrap; }

/* Compact switch rows (Newsroom, Reader contributions). */
.as__rows .as-nrrow { display: flex; align-items: center; gap: 12px; margin: 1px -10px; padding: 8px 10px; min-height: 46px; border: 0 !important; border-radius: 8px; background: none !important; cursor: pointer; transition: background-color .16s ease; }
.as__rows .as-nrrow:hover { background: #f6f7f9 !important; }
.as__rows .as-nrrow .as-nrrow__text { flex: 1 1 auto; display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.as__rows .as-nrrow .as-nrrow__label { font-size: 13.5px; font-weight: 500; color: #101828; }
.as__rows .as-nrrow .as-nrrow__help { font-size: 12.5px; line-height: 1.35; color: #667085; }
.as__rows .as-nrrow .as-nrrow__ico, .as__rows .as-nrrow .ps-ico { flex: 0 0 18px; color: #667085; transition: color .16s ease; }
.as__rows .ps-togrow.is-disabled { cursor: default; }
.as__rows .ps-togrow.is-disabled:hover { background: none !important; }

/* Authors & contributors: a summary that opens the existing manager in place. */
.ps-people { margin: 1px -10px; }
.ps-people__head { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 46px; padding: 0 10px; border: 0; border-radius: 8px; background: none; font: inherit; text-align: left; cursor: pointer; transition: background-color .16s ease; }
.ps-people__head:hover { background: #f6f7f9; }
.ps-people__head:focus-visible { outline: 2px solid #0b5fff; outline-offset: 0; }
.ps-people__label { flex: 1 1 auto; font-size: 13.5px; font-weight: 500; color: #101828; }
.ps-people__value { font-size: 13px; font-weight: 500; color: #475467; white-space: nowrap; }
.ps-people__manage { color: #0b5fff; }
.ps-people__chev { color: #98a2b3; transition: transform .18s ease; }
.ps-people.is-open .ps-people__chev { transform: rotate(90deg); }
.ps-people.is-open .ps-people__head .ps-ico { color: #0b5fff; }
.ps-people__body { display: none; padding: 4px 10px 12px 40px; border: 0 !important; }
.ps-people.is-open .ps-people__body { display: block; }

/* Advanced: one row, then a quiet Article URL line. */
.as__settings .as__advanced { margin-top: 10px; padding-top: 8px; border-top: 1px solid #f0f2f5; }
.as__settings .as__advanced > summary { min-height: 46px; }
.as__settings .as__adv-body { padding: 2px 0 8px 30px; }
.ps-url { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; background: #f6f7f9; }
.ps-url__path { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px; color: #344054; }
.ps-url__edit { flex: none; padding: 2px 6px; border: 0; border-radius: 6px; background: none; font: inherit; font-size: 13px; font-weight: 600; color: #0b5fff; cursor: pointer; }
.ps-url__edit:hover { background: #eef4ff; }

@media (max-width: 760px) {
    .as__settings { width: 100%; padding: 0 16px calc(24px + env(safe-area-inset-bottom, 0px)); border-left: 0; }
    .as__settings-head { margin: 0 -16px 4px; padding: 14px 16px 10px; }
    .as__rows .as-row > summary, .ps-people__head, .as__rows .as-nrrow { min-height: 50px; }
}
@media (prefers-reduced-motion: reduce) { .ps-people__chev, .ps-people__head, .as__rows .as-nrrow { transition: none; } }aside.as__settings { width: min(352px, 100vw); }
aside.as__settings .as__settings-head h2 { font-size: 15px; font-weight: 600; letter-spacing: 0; text-transform: none; color: #101828; }
aside.as__settings .as__advanced { padding-left: 10px; padding-right: 10px; }
@media (max-width: 760px) { aside.as__settings { width: 100%; } }
.ps-url.is-fresh .ps-url__path { font-family: inherit; font-size: 12.5px; color: #667085; white-space: normal; }

.ps-sugadd { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; padding: 8px 10px; border-radius: 8px; background: #f6f7f9; font-size: 13px; color: #475467; }
.ps-sugadd span { flex: 1 1 auto; }
.ps-sugadd strong { color: #101828; font-weight: 600; }
.ps-sugadd .ps-sugadd__x { color: #667085; }

/* ============================================================ Drawer: docked, compact (Nov 2026 layout refinement) */
aside.as__settings { top: var(--ps-top, 60px); bottom: 0; right: 0; width: min(360px, 100vw); max-height: none; padding: 0 22px 32px; border-left: 1px solid #eaecf0; border-top: 0; border-radius: 0; box-shadow: none; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; animation: psDrawer .2s ease-out; }
@keyframes psDrawer { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: none; } }
aside.as__settings .as__settings-head { margin: 0 -22px 6px; padding: 16px 22px 14px; border-bottom: 1px solid #f0f2f5; align-items: center; }
aside.as__settings .as__settings-head h2 { line-height: 1.3; }

/* Rhythm: 44px rows, taller only where a line of help is needed. */
aside.as__settings .as__rows .as-row > summary, aside.as__settings .ps-people__head { min-height: 44px; }
aside.as__settings .as__rows .as-row__label, aside.as__settings .ps-people__label, aside.as__settings .as__rows .as-nrrow .as-nrrow__label { font-size: 13px; }
aside.as__settings .as__rows .as-row__value, aside.as__settings .ps-people__value { font-size: 12.5px; }
aside.as__settings .as__rows .as-nrrow { min-height: 44px; padding: 7px 10px; }
aside.as__settings .as__rows .as-nrrow .as-nrrow__help { font-size: 11.5px; line-height: 1.4; }
aside.as__settings .as__rows .ps-sec { margin: 18px 0 4px; padding-top: 14px; font-size: 10.5px; font-weight: 500; letter-spacing: .06em; color: #8a94a6; border-top-color: #f2f4f7; }
aside.as__settings .as__rows .ps-sec:first-child { margin-top: 6px; padding-top: 0; }

/* Publishing as: avatar, label, name with its context beside it. */
aside.as__settings .ps-idrow { min-height: 48px; gap: 10px; padding: 2px 0 4px; }
aside.as__settings .ps-idrow__av { width: 30px; height: 30px; }
aside.as__settings .ps-idrow__label { font-size: 11.5px; }
aside.as__settings .ps-idrow__name { display: flex; align-items: baseline; gap: 6px; min-width: 0; }
aside.as__settings .ps-idrow__name strong { font-size: 13px; }
aside.as__settings .ps-idrow__type { margin: 0; font-size: 11.5px; color: #8a94a6; }

/* Reader contributions: the set-up link replaces a switch that could not switch anything on. */
.ps-togrow.is-setup .as-nrrow__switch { display: none; }
.ps-togrow.is-setup { cursor: default; }
.ps-togrow.is-setup:hover { background: none !important; }
.ps-setup { display: inline-block; margin-top: 2px; font-weight: 600; color: #0b5fff; text-decoration: none; }
.ps-setup:hover { text-decoration: underline; }

aside.as__settings .as__advanced { margin-top: 14px; padding-top: 6px; }

/* Two regions: the writing column re-centres in the space left of the drawer, without reloading or jumping. */
.as__canvas { transition: transform .2s ease; }
@media (max-width: 1099px) and (min-width: 761px) {
    html.as-settings-open .as__canvas { transform: none; }
    aside.as__settings { box-shadow: -8px 0 24px rgba(16, 24, 40, .06); }
}
@media (max-width: 760px) {
    aside.as__settings { top: 0; bottom: 0; left: 0; z-index: 1000; width: 100%; padding: 0 18px calc(24px + env(safe-area-inset-bottom, 0px)); border: 0; animation-name: psSheet; }
    aside.as__settings .as__settings-head { margin: 0 -18px 6px; padding: 14px 18px 12px; }
    aside.as__settings .as__rows .as-row > summary, aside.as__settings .ps-people__head, aside.as__settings .as__rows .as-nrrow { min-height: 48px; }
    @keyframes psSheet { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) { aside.as__settings { animation: none; } html.as-settings-open .as__canvas { transition: none; } }
/* ============================================================ Release and Statement drawer (Nov 2026, Article standard) */
.rs .rs-drawer { top: var(--ps-top, 60px); width: min(360px, 100%); box-shadow: none; border-left: 1px solid #eaecf0; animation: psDrawer .2s ease-out; }
.rs .rs-drawer__head { padding: 16px 22px 14px; border-bottom: 1px solid #f0f2f5; }
.rs .rs-drawer__h { font-size: 15px; font-weight: 600; line-height: 1.3; }
.rs .rs-drawer__body { padding: 4px 22px 32px; overscroll-behavior: contain; overflow-x: hidden; }
.rs .rs-drawer .ps-sec { margin: 18px 0 4px; padding-top: 14px; border-top: 1px solid #f2f4f7; font-size: 10.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: #8a94a6; }
.rs .rs-drawer .ps-sec:first-child { margin-top: 6px; padding-top: 0; border-top: 0; }
.rs .rs-sec { border-bottom: 0; margin: 1px 0; }
.rs .rs-sec__sum { gap: 12px; min-height: 44px; margin: 0 -10px; padding: 0 10px; border-radius: 8px; font-size: 13px; font-weight: 500; transition: background-color .16s ease; }
.rs .rs-sec__sum:hover { background: #f6f7f9; }
.rs .rs-sec__sum:hover .ps-ico, .rs .rs-sec[open] > .rs-sec__sum .ps-ico { color: #0b5fff; }
.rs .rs-sec__sum:focus-visible { outline: 2px solid #0b5fff; outline-offset: 0; }
.rs .rs-sec__label { flex: 1 1 auto; color: #101828; }
.rs .rs-sec__val { margin-left: auto; max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12.5px; font-weight: 500; color: #475467; text-align: right; }
.rs .rs-sec__flag { flex: none; }
.rs .rs-sec__sum::after { flex: none; margin-left: 4px; width: 6px; height: 6px; border-color: #98a2b3; transform: rotate(-45deg); }
.rs .rs-sec[open] > .rs-sec__sum::after { transform: rotate(45deg); }
.rs .rs-sec__body { padding: 6px 0 14px 30px; }
.rs .rs-sec--adv { margin-top: 14px; padding-top: 6px; border-top: 1px solid #f2f4f7; }
.rs .rs-drawer .as-nrrow { display: flex; align-items: center; gap: 12px; margin: 1px -10px; padding: 7px 10px; min-height: 44px; border: 0; border-radius: 8px; background: none; cursor: pointer; transition: background-color .16s ease; }
.rs .rs-drawer .as-nrrow:hover { background: #f6f7f9; }
.rs .rs-drawer .as-nrrow:hover .as-nrrow__ico { color: #0b5fff; }
.rs .rs-drawer .as-nrrow__ico { flex: 0 0 18px; color: #667085; }
.rs .rs-drawer .as-nrrow__text { flex: 1 1 auto; display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.rs .rs-drawer .as-nrrow__label { font-size: 13px; font-weight: 500; color: #101828; }
.rs .rs-drawer .as-nrrow__help { font-size: 11.5px; line-height: 1.4; color: #667085; }
.rs .rs-gear[aria-expanded='true'] { background: #eef4ff; color: #0b5fff; }
.rs [data-rs-canvas] { transition: transform .2s ease; }
@media (min-width: 1100px) { .rs .rs-drawer-scrim { display: none !important; } }
@media (max-width: 760px) {
    .rs .rs-drawer { top: 0; width: 100%; border-left: 0; animation-name: psSheet; }
    .rs .rs-drawer__head { padding: 14px 18px 12px; }
    .rs .rs-drawer__body { padding: 4px 18px calc(24px + env(safe-area-inset-bottom, 0px)); }
    .rs .rs-sec__sum, .rs .rs-drawer .as-nrrow { min-height: 48px; }
}
@media (prefers-reduced-motion: reduce) { .rs .rs-drawer { animation: none; } .rs [data-rs-canvas], .rs .rs-sec__sum { transition: none; } }