:root {
  color-scheme: dark;
  --bg: #0a0c19;
  --panel: #131729;
  --raised: #1a2037;
  --surface: #101427;
  --line: #333c58;
  --ink: #f3f5ff;
  --muted: #b7c0d9;
  --aqua: #6ce8f5;
  --purple: #ba9aff;
  --danger: #ffafbd;
  --green: #83eab4;
  --font: "Segoe UI", system-ui, sans-serif;
  --section-title: clamp(1.18rem, 1.45vw, 1.375rem);
  --panel-radius: 14px;
  --panel-pad: clamp(13px, 1.65vw, 23px);
  --section-gap: clamp(14px, 1.8vw, 22px);
  font: 16px/1.5 var(--font);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 86px; }
body { margin: 0; color: var(--ink); background: radial-gradient(ellipse 70% 660px at 97% 12%, #102137, transparent 75%), radial-gradient(ellipse 85% 640px at 0 0, #1d1432, transparent 73%), var(--bg); min-height: 100vh; }
h1, h2, h3, h4, p { margin: 0; }
h1 { font-size: clamp(2rem, 4vw, 2.75rem); line-height: 1.12; letter-spacing: -.035em; }
h2, .section-title { font-size: var(--section-title); font-weight: 700; line-height: 1.24; letter-spacing: -.018em; }
h3 { font-size: 1.08rem; line-height: 1.25; }
h4 { font-size: .85rem; }
a { color: inherit; text-decoration: none; }
button, .button, input, select, textarea { font: inherit; }
button, .button { display: inline-flex; min-height: 39px; align-items: center; justify-content: center; padding: .45rem .78rem; background: #192039; border: 1px solid #465478; border-radius: 8px; color: var(--ink); font-size: .88rem; font-weight: 650; cursor: pointer; text-align: center; }
button:not(:disabled):hover, .button:hover { background: #263355; border-color: #7aa6dc; }
button:disabled { cursor: default; opacity: .55; }
.primary { background: var(--aqua); color: #09202d; border-color: var(--aqua); }
.primary:not(:disabled):hover { background: #b0f9ff; border-color: #b0f9ff; }
.quiet { background: transparent; border-color: transparent; }
.icon-button { width: 35px; min-height: 35px; padding: 0; font-size: 1.25rem; }
input:not([type=checkbox]):not([type=radio]), select, textarea { display: block; width: 100%; min-width: 0; padding: .55rem .68rem; border: 1px solid #465173; border-radius: 8px; color: var(--ink); background: #12182c; }
input::placeholder, textarea::placeholder { color: #a4afc9; }
textarea { resize: vertical; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-repeat: no-repeat; background-size: 5px 5px; background-position: right 13px center, right 8px center; padding-right: 1.7rem; }
input:is([type=checkbox], [type=radio]) { accent-color: #7fe2f5; width: 1.06rem; height: 1.06rem; margin: 0; }
input[type=color] { height: 44px; }
:focus-visible { outline: 2px solid var(--aqua); outline-offset: 3px; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; z-index: 2; background: var(--raised); padding: .7rem; }
.shell { width: min(calc(100% - clamp(28px, 6vw, 104px)), 1460px); margin: 0 auto; }
.topbar { position: sticky; inset-block-start: 0; z-index: 4; backdrop-filter: blur(10px); background: #0c0f1ff5; border-bottom: 1px solid var(--line); }
.topbar-inner { display: flex; align-items: center; gap: clamp(10px, 3vw, 48px); min-height: 66px; }
.logo { display: inline-flex; align-items: center; }
.logo img { display: block; width: clamp(130px, 24vw, 220px); height: auto; }
.top-actions, .inline-controls, .form-actions { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; }
.top-actions { margin-inline-start: auto; justify-content: flex-end; }
.signed-in, .byline, small, .subtle { color: var(--muted); font-size: .82rem; }
.page-head { padding: clamp(23px, 3.5vw, 42px) 0 var(--section-gap); }
.page-head p, .section-head p { margin-top: 4px; color: var(--muted); }
main { padding-bottom: 42px; }
.panel, .feed-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--panel-radius); }
.panel { padding: var(--panel-pad); }
.roadmap-panel { margin-bottom: var(--section-gap); }
.roadmap-summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 30px; list-style: none; cursor: pointer; }
.roadmap-summary::-webkit-details-marker { display: none; }
.roadmap-summary::after { content: ''; flex: 0 0 9px; height: 9px; margin-inline-end: 5px; border: solid var(--muted); border-width: 0 2px 2px 0; rotate: 45deg; }
.roadmap-summary:hover::after { border-color: var(--aqua); }
.roadmap-panel[open] > .roadmap-summary { margin-bottom: 14px; }
.roadmap-panel[open] > .roadmap-summary::after { rotate: 225deg; }
.section-head { display: flex; justify-content: space-between; gap: 13px; align-items: center; flex-wrap: wrap; margin-bottom: 12px; }
.roadmap-panel .section-head { justify-content: flex-start; }
.inline-controls label, .section-head label { min-width: 142px; }
.section-head select, .filters select { font-size: .86rem; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; }
thead th { color: #e4e9fb; background: var(--raised); font-size: .88rem; font-weight: 650; white-space: nowrap; }
.roadmap-grid { min-width: 710px; }
.roadmap-grid th, .roadmap-grid td { padding: 8px 12px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.roadmap-grid tr:last-child > * { border-bottom: 0; }
.roadmap-grid thead th { border-bottom: 1px solid var(--line) !important; }
.roadmap-grid tr > :last-child { border-right: 0; }
.roadmap-grid tbody th { width: 172px; min-width: 160px; }
.roadmap-grid tbody tr:nth-child(even) { background: #151a30; }
.private-label { display: block; margin-top: 4px; }
.chips, .badges { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.chip { min-height: 29px; background: #101e31; border-color: #4e92a7; font-size: .8rem; padding: .21rem .45rem; border-radius: 7px; }
.chip.more { background: #262d4e; border-color: #465179; }
[data-product=prismdeck] { --product: #b79aff; }
[data-product=pocket-dj] { --product: #70ddfa; }
[data-product=all-day] { --product: #7ce3b8; }
.product-logo { display: block; width: 142px; max-width: 100%; height: 33px; object-fit: contain; object-position: left center; }
.roadmap-grid .product-logo { width: 126px; height: 29px; }
[data-product=pocket-dj] .product-logo { mix-blend-mode: screen; }
.muted { color: var(--muted); }
.empty { color: var(--muted); padding: 14px; }
.release-timeline-heading, .release-timeline-actions { display: flex; align-items: center; gap: 10px; }
.release-timeline-heading { justify-content: space-between; }
.release-timeline-heading + #timeline:not([hidden]) { margin-top: 12px; }
.release-timeline-actions { flex: 0 0 auto; }
.release-timeline-actions .button { white-space: nowrap; }
.release-timeline-toggle::after, .release-group-name::after { content: ''; flex: 0 0 9px; height: 9px; border: solid var(--muted); border-width: 0 2px 2px 0; rotate: 45deg; }
.release-timeline-toggle[aria-expanded=true]::after, .release-group[open] .release-group-name::after { rotate: 225deg; }
.release-timeline-toggle:hover::after, .release-group-head:hover .release-group-name::after { border-color: var(--aqua); }
.release-chart-scroll { container-type: inline-size; }
.release-chart {
  --product-width: clamp(128px, 22cqi, 170px);
  --version-width: 184px;
  --status-width: 114px;
  --release-row-height: 60px;
  --release-columns: var(--version-width) var(--status-width) minmax(0, 1fr);
  min-width: calc(var(--product-width) + var(--version-width) + var(--status-width) + var(--column-count) * 94px);
}
.release-chart-head, .release-group { display: grid; grid-template-columns: var(--product-width) minmax(0, 1fr); }
.release-chart-head { grid-template-columns: var(--product-width) var(--release-columns); background: var(--raised); font-size: .88rem; }
.release-chart-head > strong { display: flex; align-items: center; padding: 8px 12px; }
.release-chart-product, .release-group-head { position: sticky; inset-inline-start: 0; z-index: 2; background: var(--raised); border-inline-end: 1px solid var(--line); }
.release-group { border-top: 1px solid var(--line); }
.release-group-head { min-width: 0; border-inline-start: 3px solid var(--product, var(--line)); list-style: none; cursor: pointer; }
.release-group-head::-webkit-details-marker { display: none; }
.release-group-head:hover { background: #202843; }
.release-group-head:focus-visible { outline-offset: -3px; }
.release-group-name { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: var(--release-row-height); padding: 8px 12px 8px 10px; font-weight: 650; }
.release-group-name .product-logo { width: 118px; min-width: 0; height: 30px; }
.release-group-empty { display: flex; align-items: center; min-height: var(--release-row-height); padding: 8px 12px; font-size: .88rem; }
.release-chart-row { display: grid; grid-template-columns: var(--release-columns); min-height: var(--release-row-height); }
.release-chart-row + .release-chart-row { border-top: 1px solid var(--line); }
.release-chart-label { display: grid; align-content: center; justify-items: start; padding: 7px 12px; }
.release-chart-label small { color: var(--muted); font-size: .875rem; }
.release-version { min-height: 24px; padding: 0; border: 0; background: transparent; text-align: left; overflow-wrap: anywhere; }
.release-version:not(:disabled):hover { color: var(--aqua); background: transparent; text-decoration: underline; }
.release-chart-status { display: flex; align-items: center; padding: 6px 8px 6px 12px; }
.release-status { padding: .12rem .46rem; border-radius: 5px; color: var(--release-color); background: color-mix(in srgb, var(--release-color) 12%, transparent); font-size: .875rem; font-weight: 650; white-space: nowrap; }
.release-track { position: relative; min-width: 0; overflow: hidden; isolation: isolate; }
.release-chart-head > .release-grid, .release-track { border-inline-start: 1px solid var(--line); }
.release-grid { display: grid; grid-template-columns: repeat(var(--column-count), minmax(0, 1fr)); }
.release-track > .release-grid { position: absolute; inset: 0; }
.release-grid span { border-inline-end: 1px solid var(--line); }
.release-grid span:last-child { border-inline-end: 0; }
.release-track .release-grid span:nth-child(even) { background: rgb(255 255 255 / .025); }
.release-chart-head .release-grid span { display: grid; place-items: center; min-height: 39px; padding: 6px; text-align: center; }
.release-bar { position: absolute; top: 50%; left: var(--left); width: var(--width); min-width: 3px; height: 11px; translate: 0 -50%; border-radius: 999px; background: var(--release-color); }
[data-release-status=planned] { --release-color: var(--purple); }
[data-release-status=in-progress] { --release-color: var(--aqua); }
[data-release-status=released] { --release-color: var(--green); }
.release-feature-links { display: grid; gap: 8px; padding-inline-start: 1.25rem; }
.release-feature-links button { text-align: left; }
.release-feature-picker { min-width: 0; margin: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; }
.release-feature-picker legend { padding: 0 4px; }
.release-feature-list { display: grid; gap: 8px; max-height: 210px; overflow-y: auto; }
.release-feature-list small { display: block; }
.discussion-panel > .section-head { margin-bottom: 14px; }
.community-layout { display: grid; grid-template-columns: minmax(188px, 1.15fr) minmax(0, 3.7fr) minmax(215px, 1.65fr); gap: clamp(12px, 1.45vw, 20px); align-items: start; }
.product-nav, .guide, #feed-results { display: grid; gap: 10px; }
.product-menu { overflow: hidden; border: 1px solid color-mix(in srgb, var(--product) 28%, var(--line)); border-radius: 10px; background: var(--surface); }
.product-menu:has([aria-expanded=true]) { border-color: color-mix(in srgb, var(--product) 57%, var(--line)); }
.product-menu-head { display: grid; }
.product-menu button { justify-content: flex-start; border: 0; border-radius: 0; background: transparent; gap: 8px; }
.product-menu button:focus-visible { outline-offset: -3px; }
.product-menu-head > button { width: 100%; min-height: 53px; padding: 8px 11px; }
.product-menu-head > button[aria-expanded=true], .product-menu-head > button:hover { background: color-mix(in srgb, var(--product) 9%, var(--surface)); }
.product-menu-head .product-logo { min-width: 0; }
.product-menu button[aria-pressed=true] { color: var(--product); }
.product-chevron { flex: 0 0 8px; height: 8px; margin-left: auto; margin-right: 2px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; rotate: 45deg; translate: 0 -2px; transition: rotate .18s ease, translate .18s ease; }
.product-menu-head button[aria-expanded=true] .product-chevron { rotate: 225deg; translate: 0 2px; }
.product-menu-options { display: grid; padding: 5px 11px; border-top: 1px solid var(--line); }
.product-menu-options[hidden] { display: none; }
.product-menu-options button { min-height: 36px; padding: 6px; color: #f0edff; font-weight: 550; border-radius: 5px; }
.product-menu-options button[aria-pressed=true]::after { content: ''; width: 10px; height: 6px; margin-left: auto; border: solid var(--aqua); border-width: 0 0 2px 2px; rotate: -45deg; }
.feed-controls input { margin-bottom: 9px; }
.feed-controls :disabled { opacity: .65; }
.filters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; margin-bottom: 12px; }
.feed-card { display: block; padding: 13px 16px; border-radius: 10px; background: var(--surface); }
.feed-card:hover { border-color: #8c95c2; }
.feed-card h3 { margin: 8px 0 5px; }
.feed-card p { color: #d6deef; margin-bottom: 6px; overflow-wrap: anywhere; }
.badge { border: 1px solid #555b85; border-radius: 5px; background: #272744; color: #f4f5ff; font-size: .73rem; font-weight: 720; padding: .12rem .32rem; }
.badge[data-badge=critical] { border-color: #b96276; }
.badge:is([data-badge=major], [data-badge=under-review], [data-badge=fix-in-progress]) { border-color: #b59357; background: #322d33; }
.badge:is([data-badge=minor], [data-badge=investigating], [data-badge=needs-more-info], [data-badge=pocket-dj]) { border-color: #5279a4; background: #1e2f49; }
.badge:is([data-badge=planned], [data-badge=fixed], [data-badge=added]) { border-color: #488e78; background: #20373b; }
.guide > .panel { padding: 14px; border-radius: 10px; background: var(--surface); }
.guide ol { margin: 10px 0 0; padding-inline-start: 21px; }
.guide li { margin: 5px 0; color: #d2dbf1; font-size: .86rem; }
.guide h4 { margin: 8px 0 4px; color: var(--muted); }
.guide .tag-note { margin: 10px 0 0; color: var(--muted); font-size: .8rem; }
.back-link { display: inline-block; color: var(--aqua); font-weight: 650; margin: 12px 0; }
.back-link:hover { text-decoration: underline; }
.thread, .thread-replies { width: min(100%, 900px); margin-bottom: 15px; }
.thread h1 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
.post-body { white-space: pre-wrap; overflow-wrap: anywhere; margin-top: 8px; }
.thread-replies > * { margin-bottom: 12px; }
.reply .section-head { margin-bottom: 4px; }
.replying { margin-top: 14px; }
.tabs { display: flex; gap: 10px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.tabs a { padding: 8px 11px; color: var(--muted); }
.tabs a[aria-current=page] { color: var(--aqua); box-shadow: inset 0 -2px var(--aqua); }
.sheet-back .back-link { font-size: .9rem; margin: 12px 0 5px; }
.sheet-heading, .sheet-toolbar, .sheet-save, .sheet-footer, .sheet-bulk { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.sheet-heading, .sheet-toolbar, .sheet-footer { justify-content: space-between; }
.sheet-heading { margin-bottom: 12px; }
.sheet-heading h1 { font-size: clamp(1.65rem, 3vw, 2.2rem); }
.sheet-save { justify-content: flex-end; }
.sheet-save span, .sheet-footer, .sheet-backend-note { font-size: .86rem; color: var(--muted); }
.sheet-products { display: flex; flex-wrap: wrap; gap: 5px; border-bottom: 1px solid var(--line); }
.sheet-products button { gap: 8px; padding: 8px 12px; border: 0; border-radius: 0; background: transparent; color: var(--muted); }
.sheet-products button::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--product); }
.sheet-products button[aria-pressed=true] { box-shadow: inset 0 -2px var(--product); color: var(--ink); }
.sheet-toolbar { margin: 14px 0; }
.sheet-toolbar input { min-width: min(225px, 58vw); }
.sheet-add { gap: 7px; border-color: #438f9d; }
.sheet-add span { color: var(--aqua); font-size: 1.12rem; line-height: 1; }
.sheet-filter { position: relative; }
.sheet-filter summary { list-style: none; gap: 6px; }
.sheet-filter summary::-webkit-details-marker { display: none; }
.sheet-filter summary::after { content: ''; width: 7px; height: 7px; border: solid var(--muted); border-width: 0 1px 1px 0; transform: translateY(-2px) rotate(45deg); }
.sheet-filter-menu { position: absolute; inset: calc(100% + 6px) 0 auto auto; z-index: 3; display: grid; gap: 10px; min-width: 180px; padding: 12px; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; }
.sheet-filter-menu label { display: grid; gap: 4px; font-size: .85rem; }
.sheet-bulk { margin-bottom: 12px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--raised); font-size: .88rem; }
.sheet-bulk[hidden], .sheet-cell[hidden] { display: none; }
.sheet-bulk strong { margin-inline-end: 5px; }
.sheet-bulk select { width: auto; font-size: .85rem; }
.sheet-backend-note, .roadmap-editor .form-error { margin-bottom: 10px; }
.sheet-scroll { max-height: min(61vh, 660px); overflow: auto; scroll-padding-block-start: 42px; border-end-start-radius: 0; border-end-end-radius: 0; }
.sheet-table { min-width: 720px; table-layout: fixed; border-collapse: separate; border-spacing: 0; }
.sheet-table th { position: sticky; top: 0; z-index: 1; height: 39px; padding: 6px 10px; }
.sheet-table :is(th, td) { border-inline-end: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sheet-table :is(th, td):last-child { border-inline-end: 0; }
.sheet-table tbody tr:last-child td { border-bottom: 0; }
.sheet-table td { position: relative; height: 38px; padding: 0; }
.sheet-table tr.is-selected td { background: #163343; }
.sheet-table .sheet-select { width: 44px; padding: 0; text-align: center; }
.sheet-select input { vertical-align: middle; }
.sheet-table .sheet-stage { width: 17%; }
.sheet-table .sheet-priority { width: 10%; }
.sheet-table .sheet-releaseId { width: 19%; }
.sheet-table .sheet-published { width: 13%; }
.sheet-table .sheet-votes { width: 9%; text-align: center; font-variant-numeric: tabular-nums; }
.sheet-cell, .sheet-cell-readonly { display: block; min-height: 37px; width: 100%; padding: 7px 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: left; font-size: .93rem; font-weight: 500; }
.sheet-cell { border: 0; border-radius: 0; background: transparent; }
.sheet-cell:focus-visible, .sheet-cell-input:focus-visible { outline-offset: -2px; }
.sheet-cell.is-placeholder, .sheet-cell-readonly { color: var(--muted); }
.sheet-stage[data-value='considering'] .sheet-cell { color: var(--purple); }
.sheet-stage:is([data-value='planned'], [data-value='released']) .sheet-cell { color: var(--green); }
.sheet-stage[data-value='in-progress'] .sheet-cell { color: var(--aqua); }
.sheet-table :is(input, select).sheet-cell-input { min-height: 37px; padding: 6px 10px; border: 0; border-radius: 0; background-color: #122633; font-size: .93rem; }
.sheet-table select.sheet-cell-input { padding-inline-end: 27px; }
.sheet-title:has(.sheet-remove) :is(.sheet-cell, .sheet-cell-input) { padding-inline-end: 37px; }
.sheet-remove { position: absolute; inset-inline-end: 4px; inset-block-start: 5px; min-height: 27px; width: 27px; padding: 0; border-color: transparent; background: transparent; }
.sheet-table .sheet-empty { padding: 15px; color: var(--muted); }
.sheet-footer { padding: 8px 12px; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 9px 9px; background: var(--raised); }
.sheet-footer kbd { margin-inline-end: 4px; padding: 2px 5px; border: 1px solid var(--line); border-radius: 4px; color: var(--ink); }
.sheet-footer kbd + kbd, .sheet-footer kbd:nth-of-type(2) { margin-inline-start: 9px; }
.manage-posts th, .manage-posts td { padding: 8px; border-bottom: 1px solid var(--line); }
.manage-posts { min-width: 600px; }
.manage-posts small { display: block; }
.manage-posts td a:hover { color: var(--aqua); }
.manage-panel form > button { margin-top: 13px; }
.moderation-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.moderation-nav .back-link { margin: 9px 0; font-size: .9rem; }
.moderation-nav .tabs { flex-wrap: wrap; gap: 4px; margin: 0; border: 0; }
.moderation-nav .tabs a { padding: 11px 10px; }
.moderation-workspace > h1 { margin-bottom: 16px; font-size: clamp(1.75rem, 3.2vw, 2.35rem); }
.moderation-filters { display: grid; grid-template-columns: minmax(0, 2.2fr) repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; padding: 12px; }
.moderation-filters :is(input, select) { min-height: 40px; }
.moderation-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); align-items: start; gap: 16px; }
.moderation-list { max-height: min(68vh, 650px); overflow: auto; border-radius: var(--panel-radius); scroll-padding-block-start: 42px; }
.moderation-list table { table-layout: fixed; border-collapse: separate; border-spacing: 0; }
.moderation-list th { position: sticky; top: 0; z-index: 1; white-space: normal; }
.moderation-list th:first-child { width: 53%; }
.moderation-list th, .moderation-list td { padding: 10px 12px; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.moderation-list th:first-child, .moderation-list td:first-child { padding-inline-start: 16px; }
.moderation-list tr:last-child td { border-bottom: 0; }
.moderation-list td { font-size: .9rem; }
.moderation-list tr[data-id] { cursor: pointer; }
.moderation-list tr[data-id]:hover { background: #19233a; }
.moderation-list tr.is-selected { background: #153549; }
.moderation-list tr.is-selected td:first-child { box-shadow: inset 3px 0 var(--aqua); }
.moderation-list small { display: block; margin-top: 3px; }
.moderation-list .badge { display: inline-block; }
.moderation-select { display: inline; min-height: 0; padding: 0; border: 0; border-radius: 2px; background: transparent; font-size: .98rem; font-weight: 650; text-align: left; }
.moderation-select:not(:disabled):hover { color: var(--aqua); background: transparent; }
.moderation-empty { color: var(--muted); }
.moderation-detail { scroll-margin-block-start: 16px; }
.moderation-detail-header { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: start; justify-content: space-between; }
.moderation-detail-header > div { flex: 1 1 190px; min-width: 0; }
.moderation-detail-header h2 { margin-bottom: 6px; overflow-wrap: anywhere; }
.moderation-detail-header p + p { margin-top: 4px; }
.moderation-thread { color: var(--aqua); text-decoration: underline; text-underline-offset: 3px; font-size: .88rem; white-space: nowrap; }
.moderation-content { border-block: 1px solid var(--line); padding: 14px 0 7px; margin: 14px 0; }
.moderation-content p { max-height: 220px; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.moderation-content button { color: var(--aqua); padding-inline: 4px; }
.moderation-form label { font-size: .9rem; font-weight: 650; }
.moderation-form select { font-weight: 400; }
.moderation-visibility { display: flex; gap: 9px; align-items: center; color: var(--muted); font-size: .9rem; }
.moderation-visibility::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.moderation-visibility.is-archived::before { background: var(--muted); }
.moderation-actions { justify-content: flex-end; border-top: 1px solid var(--line); margin-top: 3px; padding-top: 13px; }
.moderation-actions [data-action=post-visibility] { background: transparent; }
.moderation-actions [data-action=post-visibility]:hover { background: var(--raised); }
.permission-layout { display: grid; grid-template-columns: minmax(230px, 1fr) minmax(0, 2.8fr); align-items: start; gap: 15px; }
.permission-sidebar h3 { margin: 18px 0 9px; }
.person-button { display: flex; justify-content: flex-start; width: 100%; margin-bottom: 6px; gap: 9px; text-align: left; }
.person-button[aria-pressed=true] { background: #303055; border-color: #9b80d5; }
.person-button .subtle { margin-inline-start: auto; overflow-wrap: anywhere; }
.role-dot { width: 10px; height: 10px; background: var(--role-color, var(--purple)); border-radius: 50%; flex: 0 0 10px; }
.scope-field { display: grid; gap: 4px; max-width: 280px; margin-block: 10px 16px; }
.privacy-card { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.privacy-card, .assigned-roles { padding: 12px; background: #181e36; border: 1px solid var(--line); border-radius: 9px; margin-bottom: 14px; }
.role-assignments { display: flex; gap: 13px; flex-wrap: wrap; }
.permission-help { padding: 8px 11px; background: #1c2340; border-left: 2px solid #9e83e8; color: #d3dbf0; font-size: .85rem; }
.permission-row { display: flex; gap: 10px; padding: 10px 0 13px; justify-content: space-between; align-items: center; flex-wrap: wrap; border: 0; border-bottom: 1px solid var(--line); margin: 0; min-width: 0; }
.permission-row p, .privacy-card p { font-size: .875rem; }
.permission-toggle { display: flex; flex-wrap: wrap; gap: 3px; background: #0e152a; padding: 3px; border: 1px solid var(--line); border-radius: 8px; }
.permission-toggle label { position: relative; }
.permission-toggle input { position: absolute; opacity: 0; }
.permission-toggle span { display: block; padding: .35rem .52rem; border-radius: 5px; color: var(--muted); font-weight: 650; font-size: .805rem; cursor: pointer; }
.permission-toggle input:focus-visible + span { outline: 2px solid var(--aqua); }
.permission-toggle input:checked + span { color: var(--ink); background: #3b4266; }
.permission-toggle [data-choice=deny] input:checked + span { color: #ffd6de; background: #623649; }
.permission-toggle [data-choice=allow] input:checked + span { color: #cbffe0; background: #265441; }
.stack { display: grid; gap: 12px; }
.stack > label, .form-grid > label { display: grid; gap: 5px; }
.form-grid > label[hidden] { display: none; }
.stack > button { justify-self: start; }
.checkline, .stack > .checkline { display: flex; align-items: center; gap: 7px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form-error { color: var(--danger); font-size: .88rem; }
.form-error:empty { display: none; }
.google-signin { margin-block: 14px; }
.google-signin .form-error { margin-top: 6px; }
.google-signin .muted { margin-top: 6px; font-size: .85rem; }
.password-signin { border-top: 1px solid var(--line); padding-top: 14px; }
dialog { color: var(--ink); width: min(580px, calc(100% - 24px)); max-height: 90vh; overflow: auto; padding: clamp(14px, 3vw, 24px); border-radius: 15px; border: 1px solid #796eb0; background: linear-gradient(140deg, #25203d, #121a31 68%); }
dialog::backdrop { background: #040715cc; }
.dialog-head { display: flex; align-items: start; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
#dialog-content > p { margin-bottom: 8px; }
.toast { position: fixed; z-index: 3; bottom: 20px; right: 18px; max-width: calc(100% - 36px); padding: 10px 14px; background: #243456; border: 1px solid #6ca0ba; border-radius: 9px; }
@media (max-width: 1000px) {
  .community-layout { grid-template-columns: minmax(182px, 1fr) minmax(0, 3.4fr); }
  .guide { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
  .topbar-inner { gap: 12px; }
}
@media (max-width: 760px) {
  .moderation-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .moderation-filters label:first-child { grid-column: 1 / -1; }
  .moderation-layout { grid-template-columns: minmax(0, 1fr); }
  .moderation-list { max-height: 42vh; }
  .moderation-list th, .moderation-list td { padding: 8px; }
}
@media (max-width: 650px) {
  html { scroll-padding-top: 10px; }
  .release-timeline-heading, .release-timeline-actions { gap: 6px; }
  .release-timeline-actions .button { min-height: 34px; padding: 5px 8px; font-size: .8rem; }
  .topbar { position: static; }
  .topbar-inner { min-height: auto; padding-block: 8px; flex-wrap: wrap; }
  .top-actions { gap: 5px; }
  .signed-in { display: none; }
  .community-layout, .permission-layout { grid-template-columns: minmax(0, 1fr); }
  .guide { grid-template-columns: minmax(0, 1fr); }
  .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .permission-toggle { width: max-content; max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .product-chevron { transition: none; }
}
