.header-inner { grid-template-columns: auto auto minmax(10rem, 1fr) auto; column-gap: clamp(.65rem, 1.8vw, 1.55rem); }
.header-tools { display: flex; align-items: center; gap: .5rem; }
.inbox-link { display: inline-flex; align-items: center; padding: .58rem .6rem; min-height: 42px; border-radius: .5rem; font-weight: 800; }
.inbox-link:hover, .inbox-link[aria-current="page"] { background: #e9eddb; }
.notification-link { position: relative; display: inline-grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: .5rem; }
.notification-link:hover, .notification-link[aria-current="page"] { background: #e9eddb; }
.bell-icon { position: relative; display: block; width: 15px; height: 14px; border: 1.6px solid currentColor; border-radius: 7px 7px 2px 2px; }
.bell-icon::after { content: ""; position: absolute; top: 100%; left: 50%; width: 5px; height: 3px; border-radius: 0 0 3px 3px; background: currentColor; transform: translateX(-50%); }
.notification-count { position: absolute; top: 1px; right: 0; display: grid; place-items: center; min-width: 17px; min-height: 17px; padding-inline: .15rem; border-radius: 1rem; background: var(--ink); color: white; font: 800 .7rem/1 var(--body); }
.notification-count[hidden] { display: none; }
.account-menu { position: relative; }
.account-menu summary { list-style: none; display: flex; align-items: center; gap: .4rem; min-height: 42px; padding: .45rem .55rem; border-radius: .5rem; font-weight: 800; cursor: pointer; }
.account-menu summary::-webkit-details-marker { display: none; }
.account-menu summary:hover, .account-menu[open] summary { background: #e9eddb; }
.account-menu .panel { position: absolute; z-index: 4; top: calc(100% + .3rem); right: 0; min-width: 148px; padding: .3rem; box-shadow: 0 9px 28px #191b1620; }
.account-menu .panel a, .account-menu .panel button { display: block; width: 100%; border: 0; padding: .48rem .58rem; border-radius: .4rem; background: transparent; color: var(--ink); font-weight: 700; text-align: left; }
.account-menu .panel :is(a, button):hover { background: #f0f2e9; }
.global-search { width: min(100%, 23rem); justify-self: end; }
.global-search input { min-height: 43px; background: #fff; }
.global-search .search-submit { position: absolute; z-index: 1; width: 36px; height: 36px; top: 3px; left: 3px; background: transparent; border: 0; border-radius: .4rem; }
.global-search .search-submit:hover { background: #2029150d; }
.primary-nav a { padding-inline: .65rem; }
.primary-nav[hidden] { display: none; }
.market-links { display: flex; align-items: center; gap: .75rem 1.15rem; flex-wrap: wrap; }
.talk-home { background: #ece9f6; }
.talk-home p { color: var(--muted); }
.dashboard-social { margin-top: .95rem; }
.explore-preferences { max-width: 640px; }
.explore-preferences h2 { margin-bottom: .35rem; }
.explore-options { margin-top: .75rem; }
.explore-option { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .75rem .15rem; border-top: 1px solid var(--line); font-weight: 750; cursor: pointer; }
.explore-option input { appearance: none; display: flex; align-items: center; flex: none; width: 2.7rem; height: 1.55rem; padding: .17rem; margin: 0; border: 1px solid #7e8575; border-radius: 2rem; background: #e9ebe1; cursor: pointer; }
.explore-option input::before { content: ""; flex: none; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: #fff; box-shadow: 0 0 1px 1px #222a2040; }
.explore-option input:checked { justify-content: flex-end; border-color: #52651d; background: #52651d; }

.content-narrow { width: min(100%, 840px); margin-inline: auto; }
.content-narrow h1, .inbox-heading h1 { font-size: clamp(2.05rem, 4vw, 3.15rem); }
.talk-banner { border-radius: 1rem; display: flex; justify-content: space-between; align-items: flex-end; gap: 1.2rem; padding: clamp(1.45rem, 4vw, 3.15rem); color: #fff; background: radial-gradient(ellipse at 96% 10%, #454f2b, transparent 60%), #1e2318; }
.talk-banner h1 { font-size: clamp(2.55rem, 5vw, 4.3rem); margin: .45rem 0 .68rem; }
.talk-banner p { color: #e2e8d4; }
.talk-label { display: inline-block; color: var(--lime); font-weight: 800; }
.talk-label:hover { text-decoration: underline; text-underline-offset: .2em; }
.talk-banner .button { flex: none; }
.talk-banner-actions { display: grid; gap: .65rem; max-width: 100%; }
.talk-search { margin-top: 1rem; }
.talk-search > input { flex: 1; }
.talk-search > .button { flex: none; white-space: nowrap; }
.talk-trends { margin-top: .85rem; }
.talk-trends h2 { font-size: 1.35rem; margin-bottom: .22rem; }
.trend-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7rem 1rem; margin-top: .75rem; }
.trend-item { min-width: 0; display: flex; flex-direction: column; gap: .35rem; padding-left: .75rem; border-left: 2px solid #dbe5c2; }
.trend-item h3 { font-size: 1rem; line-height: 1.25; overflow-wrap: anywhere; }
.trend-item p { color: var(--muted); font-size: .92rem; line-height: 1.4; overflow-wrap: anywhere; }
.trend-actions { display: flex; align-items: baseline; gap: .3rem .8rem; flex-wrap: wrap; padding-top: .2rem; margin-top: auto; }
.trend-news-button { border: 0; background: transparent; color: var(--ink); padding: .35rem .15rem; font-weight: 750; }
.trend-news-button:hover { text-decoration: underline; text-underline-offset: .23em; }
#trend-news-topic { margin-top: .3rem; overflow-wrap: anywhere; }
.trend-news-list li { border-top: 1px solid var(--line); padding-block: .75rem; }
.trend-news-list a { display: inline-block; margin-top: .2rem; overflow-wrap: anywhere; }
.trend-news-footer { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem 1rem; padding-top: .9rem; margin-top: .4rem; border-top: 1px solid var(--line); }
.trend-list-actions { display: flex; justify-content: center; margin-top: .85rem; }
.trend-item[data-more-trends] { scroll-margin-block-start: 1rem; }
.talk-search-summary { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem .8rem; color: var(--muted); }
.community-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(245px, 305px); gap: 1.15rem; }
.discussion-feed { display: grid; gap: .75rem; align-content: start; }
.discussion-feed > .tabs { margin-bottom: .12rem; }
.talk-feed-actions { display: grid; justify-items: center; gap: .8rem; padding-block: .65rem .2rem; }
.button.talk-add-post { min-width: 46px; min-height: 46px; padding: 0; border-radius: 50%; font-size: 1.4rem; line-height: 1; }
.community-sidebar { align-self: start; }
.community-sidebar h2 { font-size: 1.35rem; }
.community-sidebar > .text-link { display: block; width: fit-content; padding-block: .28rem; }
.space-links { display: grid; gap: .2rem; }
.space-links a { display: flex; align-items: center; gap: .55rem; padding: .4rem .45rem; border-radius: .5rem; font-weight: 800; }
.space-links a:hover, .space-links a[aria-current="page"] { background: #f0f2e8; }
.sidebar-divider { margin-block: .8rem .45rem; border-top: 1px solid var(--line); }
.theme-general, .theme-jobs { --market-tint: #edf0e3; }
.member-avatar { width: 37px; height: 37px; display: inline-grid; place-items: center; flex: none; background: var(--market-tint, var(--sage)); color: var(--ink); border-radius: 50%; font: 800 .85rem/1 var(--heading); }
.member-avatar.large { width: 74px; height: 74px; font-size: 1.45rem; border: 4px solid white; background: var(--market-tint); }
.member-avatar { position: relative; overflow: hidden; }
.member-avatar .avatar-photo { width: 100%; height: 100%; object-fit: cover; }
.member-avatar .avatar-sheet { position: absolute; width: 300%; height: 200%; max-width: none; inset-inline-start: calc(-100% * var(--portrait-x)); top: calc(-100% * var(--portrait-y)); }
.profile-connections { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .85rem; }
.profile-connections [aria-current="page"] { background: var(--sage); }
.connection-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; margin-top: .85rem; }
.connection-card { min-width: 0; padding: .8rem; border: 1px solid var(--line); border-radius: .62rem; }
.connection-card-head, .connection-person { display: flex; align-items: center; gap: .6rem; }
.connection-card-head { justify-content: space-between; flex-wrap: wrap; }
.connection-person .meta { display: block; }
.connection-person:hover strong { text-decoration: underline; text-underline-offset: .16em; }
.member-avatar.connection-avatar { width: 50px; height: 50px; font-size: 1rem; }
.member-presence { display: inline-flex; align-items: center; gap: .32rem; color: var(--muted); font-size: .86rem; font-weight: 700; margin-top: .5rem; }
.member-presence.is-online { color: #425817; }
.member-presence.is-online::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #58791e; }
.connection-card .social-text { margin-top: .32rem; }
.notice-list li { border-top: 1px solid var(--line); }
.notice-link { display: flex; align-items: center; gap: .65rem; padding: .75rem .3rem; }
.notice-link .meta { display: block; margin-top: .1rem; overflow-wrap: anywhere; }
.notice-link:hover strong { text-decoration: underline; text-underline-offset: .16em; }
.notice-unread { margin-left: auto; background: var(--sage); }
.thread-top { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; }
.thread-top > .tags, .thread-top > .accepted { margin-left: auto; }
.person-link { font-weight: 800; }
.meta .person-link, .job-details .person-link, .search-hit strong .person-link { text-decoration: underline; text-underline-offset: .16em; }
.person-link:hover, .thread-title:hover { text-decoration: underline; text-underline-offset: .2em; }
.topic-tag { background: var(--market-tint); }
.audience-only-tag { background: var(--lavender); }
.topic-link:hover { text-decoration: underline; text-underline-offset: .15em; }
.thread-card h2 { margin: .62rem 0 .35rem; font-size: 1.32rem; }
.thread-card p { overflow-wrap: anywhere; }
.thread-bottom { display: flex; align-items: center; gap: .7rem; margin-top: .7rem; }
.accepted { color: #375012; font-weight: 800; font-size: .86rem; }
.back-link { display: inline-block; margin-bottom: .8rem; }
.thread-detail, .compose-panel { padding: clamp(1.15rem, 3vw, 1.8rem); }
.thread-detail h1 { margin: .7rem 0 .9rem; overflow-wrap: anywhere; }
.topic-directory h2, .related-posts h2 { font-size: 1.45rem; }
.topic-directory .topic-result { padding: .7rem 0; border-bottom: 1px solid var(--line); }
.topic-directory .topic-result:last-child { border-bottom: 0; }
.topic-result > .thread-title { display: inline-block; font: 800 1.1rem/1.35 var(--heading); }
.topic-result p { margin-top: .16rem; overflow-wrap: anywhere; }
.bulletin-index { display: flex; flex-wrap: wrap; gap: .38rem; margin: .9rem 0 1.25rem; }
.bulletin-index-key { width: 2.4rem; min-height: 2.4rem; padding: 0; border: 1px solid #beca9c; border-radius: .48rem; background: var(--sage); color: var(--ink); font-weight: 800; }
.bulletin-index-key:hover:not(:disabled) { background: var(--lime); }
.bulletin-index-key:disabled { border-color: transparent; background: var(--paper); color: var(--muted); opacity: 1; }
.bulletin-group { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); gap: clamp(.65rem, 2.5vw, 1.2rem); padding: 1rem 0; border-top: 1px solid var(--line); }
.bulletin-group h3 { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; margin: 0; border-radius: .5rem; background: var(--sage); scroll-margin-block-start: 1rem; }
.bulletin-group .topic-result:first-child { padding-top: .22rem; }
.bulletin-group .topic-result:last-child { padding-bottom: .15rem; }
.bulletin-group .thread-title { overflow-wrap: anywhere; }
.topic-suggestion-box { margin-top: .45rem; padding: .65rem .78rem; border: 1px solid var(--line); border-radius: .55rem; background: #f6f8f0; }
.topic-suggestion-box ul { display: flex; flex-wrap: wrap; gap: .3rem 1rem; margin-top: .25rem; }
.topic-suggestion-box a { overflow-wrap: anywhere; }
.related-posts .thread-title { overflow-wrap: anywhere; }
.article-nav { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .7rem; margin-bottom: .85rem; }
.topic-page-actions { margin-top: .9rem; }
.revision-list, .compose-panel > .empty { margin-top: .9rem; }
.revision-item { padding: .75rem 0; border-bottom: 1px solid var(--line); }
.revision-item:last-child { border-bottom: 0; }
.revision-item details { margin-top: .55rem; }
.revision-item summary { cursor: pointer; font-weight: 700; }
.revision-item h2 { font-size: 1.3rem; margin-top: .55rem; }
.revision-item .social-text { margin-top: .45rem; }
.report-detail { padding: clamp(1.2rem, 4vw, 2.35rem); }
.report-detail .report-subtitle { font-size: clamp(1.37rem, 2.9vw, 1.8rem); margin: 0 0 .8rem; }
.report-body { border-top: 1px solid var(--line); margin-top: 1.1rem; padding-top: .15rem; font-size: 1.05rem; line-height: 1.72; }
.report-body .social-text { max-width: 69ch; margin-top: .95rem; }
.social-text { white-space: pre-wrap; overflow-wrap: anywhere; }
.thread-detail .social-text, .reply-card .social-text { margin-top: .85rem; }
.replies { display: grid; gap: .75rem; }
.replies .section-heading { margin-bottom: 0; }
.reply-card .actions { margin-top: .85rem; }
.reply-card.accepted-reply { border-left: 4px solid #819c2e; }
.reply-card { margin-inline-start: calc(var(--reply-depth, 0) * clamp(.7rem, 3vw, 1.25rem)); scroll-margin-block: 1rem; }
.reply-card.shared-comment { border-color: #819c2e; }
.talk-controls { margin-top: .8rem; gap: .4rem; }
.talk-controls button[aria-pressed="true"] { background: #eaf1d6; border-color: #b0c379; }
.talk-action-menu summary { width: max-content; min-width: 2.4rem; cursor: pointer; list-style: none; }
.talk-action-menu summary::-webkit-details-marker { display: none; }
.talk-action-options { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin-top: .4rem; }
.talk-video { display: block; width: min(100%, 42rem); margin: 1rem auto 0; aspect-ratio: 16 / 9; object-fit: contain; background: #1e2318; border-radius: .6rem; }
.talk-video.vertical-video { width: min(100%, 17rem); aspect-ratio: 9 / 16; }
#talk-video-field[hidden] { display: none; }
#talk-video-field .meta { display: block; margin-top: .35rem; font-weight: 500; }
.compose-panel h1 { margin-bottom: .65rem; }
.compose-panel .stack-form { margin-top: 1rem; }
.talk-audience-channels { display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; }
.talk-audience-fields .meta { margin-top: .3rem; }
.stack-form { display: grid; gap: .9rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
.field :is(input:not([type=search]), textarea), .dm-form textarea { width: 100%; min-height: 43px; padding: .58rem .7rem; border: 1px solid var(--line); border-radius: .5rem; background: white; color: var(--ink); font: 400 1rem/1.45 var(--body); }
.field :is(input:not([type=search]), textarea) { display: block; margin-top: .32rem; }
textarea { resize: vertical; }
.tab[aria-current="page"] { background: var(--ink); color: white; border-color: var(--ink); }
.profile-card { padding: 0; overflow: hidden; }
.profile-cover { min-height: 102px; background: repeating-linear-gradient(120deg, transparent 0 30px, #2530110e 31px 32px), linear-gradient(100deg, var(--market-tint), #e5ead5); }
.profile-body { padding: 0 clamp(1.1rem, 3vw, 1.8rem) 1.4rem; }
.profile-identity { display: flex; align-items: end; gap: .65rem; margin-top: -22px; position: relative; }
.profile-identity h1 { margin-bottom: .14rem; overflow-wrap: anywhere; font-size: clamp(1.85rem, 4vw, 2.8rem); }
.profile-body > .social-text, .profile-actions, .profile-body > .tags { margin-top: .85rem; }
.profile-song { display: flex; gap: .85rem; flex-wrap: wrap; align-items: center; padding: .75rem; margin-top: 1.15rem; border-radius: .65rem; background: var(--market-tint, #f1f3e8); }
.profile-song .cover { height: 66px; width: 66px; min-height: 0; flex: none; border-radius: .45rem; }
.profile-song-info { flex: 1 1 10rem; min-width: 0; }
.profile-song h2 { font-size: .9rem; letter-spacing: 0; margin-bottom: .23rem; }
.profile-song strong { font: 800 1.14rem/1.25 var(--heading); }
.profile-song .actions { flex: 0 1 auto; }
.empty-song { justify-content: space-between; }
.profile-song-selection { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .35rem .8rem; font-size: .9rem; }
.profile-song-selection button { background: none; border: 0; padding: 0; font: inherit; text-decoration: underline; cursor: pointer; }
.profile-song-results .list-row { flex-wrap: wrap; }
.profile-song-results .actions { gap: .45rem; }
.profile-song-results audio { max-width: min(100%, 15rem); }
.profile-status { margin-top: .8rem; color: #415325; font-weight: 700; }
.profile-notification-settings { margin-top: .75rem; }
.profile-notification-settings form { margin-top: .65rem; }
.profile-settings { min-width: 0; margin: .3rem 0 0; padding: .8rem 1rem 1rem; border: 1px solid var(--line); border-radius: .65rem; display: grid; gap: .7rem; }
.profile-settings legend { padding-inline: .3rem; font: 800 1.2rem/1.2 var(--heading); }
.profile-toggle, .resume-share { display: flex; align-items: flex-start; gap: .55rem; }
.profile-toggle input, .resume-share input { accent-color: #53651d; width: 1rem; height: 1rem; margin: .28rem 0 0; flex: none; }
.profile-toggle .meta { display: block; }
#survey-other[hidden] { display: none; }
.resume-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.resume-setting { min-width: 0; }
.resume-share { align-items: center; font-weight: 600; margin-top: .3rem; }
.resume-share input { margin-top: 0; }
.public-resume { padding: clamp(1.1rem, 3vw, 1.6rem); }
.public-resume .resume-grid { margin: .85rem 0 0; }
.public-resume .resume-grid > div { min-width: 0; background: #f2f4e9; border-radius: .45rem; padding: .68rem .8rem; }
.public-resume dt { font-weight: 800; }
.public-resume dd { margin: .17rem 0 0; color: var(--muted); }
.resume-view { margin-top: .5rem; }
.profile-reviews { padding: clamp(1.1rem, 3vw, 1.6rem); }
.profile-review-list li { padding: .72rem 0; border-top: 1px solid var(--line); }
.review-heading { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .8rem; }
.review-stars { color: #805700; letter-spacing: .06em; white-space: nowrap; }
.profile-review-list .social-text { margin-top: .3rem; }
.profile-review-editor { margin-top: .65rem; }
.profile-review-editor summary { cursor: pointer; }
.profile-review-editor form { margin-top: .8rem; }
.search-page-box { display: flex; gap: .5rem; }
.search-page-box input { min-width: 0; }
.search-tip { margin: .55rem 0 .75rem; }
.search-scopes { margin-bottom: .7rem; }
.result-group { margin-top: .7rem; }
.result-group h2, .conversation-header h2 { font-size: 1.3rem; }
.search-hit .tag { margin-bottom: .3rem; }
.inbox-heading p { margin-top: .3rem; }
.inbox-layout { display: grid; grid-template-columns: minmax(240px, 305px) minmax(0, 1fr); align-items: start; gap: 1rem; }
.contacts { display: grid; padding: .6rem; gap: .2rem; }
.inbox-contact-group + .inbox-contact-group { margin-top: .25rem; padding-top: .35rem; border-top: 1px solid var(--line); }
.inbox-contact-group h2 { margin: .25rem .58rem; font-size: 1rem; letter-spacing: 0; }
.contact-link { display: flex; gap: .65rem; align-items: center; border-radius: .52rem; padding: .58rem; }
.contact-link:hover, .contact-link[aria-current="page"] { background: #ecf0e1; }
.contact-name { min-width: 0; }
.contact-name :is(strong, span) { display: block; overflow-wrap: anywhere; }
.conversation { padding: 0; overflow: hidden; }
.conversation-header { padding: .9rem 1rem; border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; }
.conversation-header h2 { margin: 0; }
.inbox-category-field { margin-left: auto; min-width: 8rem; font-size: .85rem; }
.message-list { min-height: 260px; max-height: min(53vh, 520px); overflow: auto; padding: 1rem; display: grid; align-content: start; gap: .64rem; background: #f8f9f4; }
.message { display: flex; }
.message.outgoing { justify-content: flex-end; }
.message-bubble { border-radius: .8rem; border: 1px solid var(--line); background: white; width: fit-content; max-width: min(86%, 34rem); padding: .6rem .75rem; }
.message-bubble .meta { margin-top: .18rem; }
.outgoing .message-bubble { background: #eaf2d3; border-color: #d7e2bd; }
.dm-form { display: flex; gap: .6rem; align-items: flex-end; padding: .8rem 1rem 0; border-top: 1px solid var(--line); }
.dm-form textarea { flex: 1; min-width: 0; }
.conversation-footer { padding: .34rem 1rem .65rem; }
.conversation-block { display: block; min-height: 25px; padding: .15rem 0; border: 0; color: var(--muted); background: transparent; font: 500 .8rem/1.35 var(--body); text-decoration: underline; text-underline-offset: .16em; }
.conversation-block:hover { color: var(--ink); }
.inbox-disabled { padding: .75rem 1rem; border-top: 1px solid var(--line); color: var(--muted); }

@media (min-width: 1161px) {
  .header-inner:has(.primary-nav[hidden]) { grid-template-columns: auto minmax(10rem, 1fr) auto; }
}
@media (max-width: 1160px) {
  .header-inner { grid-template-columns: auto 1fr auto; row-gap: .5rem; padding-block: .65rem; }
  .primary-nav { justify-self: center; grid-column: 2; grid-row: 1; }
  .header-tools { grid-column: 3; grid-row: 1; }
  .global-search { grid-column: 1 / -1; grid-row: 2; width: 100%; }
}
@media (max-width: 860px) {
  .header-inner { grid-template-columns: 1fr auto; }
  .header-tools { grid-column: 2; }
  .primary-nav { grid-column: 1 / -1; grid-row: 2; justify-self: start; flex-wrap: wrap; }
  .global-search { grid-row: 3; }
  .header-inner:has(.primary-nav[hidden]) .global-search { grid-row: 2; }
}
@media (max-width: 675px) {
  .talk-banner { align-items: flex-start; flex-direction: column; }
  .community-layout, .inbox-layout, .resume-grid, .trend-grid, .connection-list { grid-template-columns: 1fr; }
  .community-sidebar { grid-row: 1; }
  .space-links { display: flex; flex-wrap: wrap; gap: .18rem .35rem; }
  .space-links a { padding: .3rem .35rem; }
  .contacts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-link { gap: .4rem; padding: .4rem; }
  .contact-link .member-avatar { width: 29px; height: 29px; }
  .contact-name span { display: none; }
  .thread-top > .tags { margin-left: 0; }
  .message-list { min-height: 170px; }
}
@media (max-width: 460px) {
  .account-menu-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .account-menu summary { min-width: 38px; justify-content: center; }
  .header-tools .account-link { padding-inline: .55rem; }
  .header-tools { gap: .1rem; }
  .header-tools .account-link .account-icon { display: none; }
}
@media (max-width: 375px) {
  .header-tools { grid-column: 1 / -1; grid-row: 2; justify-content: flex-end; }
  .primary-nav { grid-row: 3; }
  .global-search { grid-row: 4; }
  .header-inner:has(.primary-nav[hidden]) .global-search { grid-row: 3; }
}
@media (max-width: 390px) {
  .primary-nav a { padding-inline: .53rem; }
  .dm-form { flex-wrap: wrap; }
  .dm-form textarea { flex-basis: 100%; }
}
.site-header [hidden] { display: none !important; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: .55rem 1.1rem; }
.community-language-bar { display:flex; justify-content:flex-end; margin-block:1rem; }
.community-language { width:min(100%,16rem); }
.community-body {
  white-space: pre-wrap;
}

.community-translation [hidden] { display: none; }

.community-translation {
  margin-block: .75rem;
}

.comment-translate {
  padding: 0;
  background: none;
  border: 0;
  color: var(--muted, #555);
  font: inherit;
  font-size: .875rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: .14em;
  cursor: pointer;
}

.comment-translate:disabled {
  cursor: wait;
}
