/* Self-hosted Adobe Source Sans 3, SIL OFL 1.1; see fonts/source-sans-3/LICENSE.md. */
@font-face {
  font-family: 'Source Sans 3';
  src: url('../fonts/source-sans-3/SourceSans3VF-Upright.ttf.woff2') format('woff2');
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Source Sans 3';
  src: url('../fonts/source-sans-3/SourceSans3VF-Italic.ttf.woff2') format('woff2');
  font-weight: 200 900;
  font-style: italic;
  font-display: swap;
}
/* anti·ntwrk only. Surfaces, spacing and typography replace decorative outlines.
   Never target the shared engine's protection UI or remove semantic focus rings. */
.antintwrk-page .ant-publication-views { display:block; margin:0; padding:0 20px 14px; color:var(--ant-muted); font-size:.72rem; line-height:1.4; font-weight:400; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
/* Keep semantic author emphasis visible independently of shell typography. */
.antintwrk-page .ant-poster { box-sizing:border-box; display:flex; align-items:center; justify-content:center; text-align:center; aspect-ratio:4/3; padding:clamp(24px,5vw,56px); white-space:pre-wrap; overflow-wrap:anywhere; font-family:'Source Sans 3',system-ui,sans-serif; font-weight:700; font-size:clamp(28px,4vw,48px); line-height:1.25; min-width:0; }
.antintwrk-page .ant-poster-square { aspect-ratio:1; }
.antintwrk-page .ant-poster[data-poster-length="medium"] { font-size:clamp(24px,3.3vw,38px); }
.antintwrk-page .ant-poster[data-poster-length="long"] { font-size:clamp(20px,2.6vw,30px); }
.antintwrk-page .ant-poster-theme-0 { background:#25282d; color:#eeeae4; }
.antintwrk-page .ant-poster-theme-1 { background:#20344b; color:#eeeae4; }
.antintwrk-page .ant-poster-theme-2 { background:#244337; color:#eeeae4; }
.antintwrk-page .ant-poster-theme-3 { background:#552f3c; color:#eeeae4; }
.antintwrk-page .ant-poster-theme-4 { background:#443450; color:#eeeae4; }
.antintwrk-page .ant-poster-theme-5 { background:#824632; color:#fff1df; }
.antintwrk-page .ant-poster-theme-6 { background:#dfcba8; color:#282c30; }
.antintwrk-page .ant-poster-theme-7 { background:#b7c8b5; color:#282c30; }
.antintwrk-page .ant-poster-theme-8 { background:#b7cbd9; color:#282c30; }
.antintwrk-page .ant-poster-theme-9 { background:#d0bed8; color:#282c30; }
/* Gently lighten the flags so dark text is readable across every stripe. */
.antintwrk-page .ant-poster-theme-10 { background:linear-gradient(#ffffff66,#ffffff66),linear-gradient(to bottom,#0057b7 0 50%,#ffd700 50% 100%); color:#18222c; }
.antintwrk-page .ant-poster-theme-11 { background:linear-gradient(#ffffff66,#ffffff66),linear-gradient(to bottom,#f5f5f5 0 33.333%,#0078d7 33.333% 66.667%,#f5f5f5 66.667% 100%); color:#18222c; }
.antintwrk-page .ant-poster-fields[hidden],.antintwrk-page .ant-poster-editor .hw-rich-toolbar,.antintwrk-page [data-hero-composer] [hidden],.antintwrk-page .hw-publication-editor [hidden],.antintwrk-page .ant-poster-mode [data-link-preview-choices],.antintwrk-page .ant-poster-mode .hw-composer-photo,.antintwrk-page .ant-poster-mode .ant-sensitive-choice { display:none !important; }
.ant-poster-fields { display:grid; gap:16px; margin-block:16px; }
.ant-poster-fields fieldset { border:0; padding:0; margin:0; }
.ant-poster-swatches { display:flex; flex-wrap:wrap; gap:8px; margin-top:8px; }
.ant-poster-swatches button { width:44px; height:44px; border:0; border-radius:3px; cursor:pointer; }
.ant-poster-swatches button span { visibility:hidden; }
.ant-poster-swatches button[aria-pressed="true"] span { visibility:visible; }
.ant-poster-swatches button:focus-visible { outline:2px solid var(--ant-coral); outline-offset:3px; }
.antintwrk-page [data-ant-text-links] { white-space: pre-wrap; overflow-wrap: anywhere; }
.antintwrk-page [data-ant-text-links] a,
.antintwrk-page [data-gratitude-details] a { color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.antintwrk-page [data-ant-text-links] a:hover,
.antintwrk-page [data-gratitude-details] a:hover { color: var(--ant-coral); }
.antintwrk-page { --ant-reading-gap: 17px; }
.antintwrk-page .hw-rich-surface,
.antintwrk-page .hw-publication-body {
  font-family: 'Source Sans 3', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: normal;
  line-height: 1.6;
  color: #dce0e5;
}
@media (min-width: 768px) {
  .antintwrk-page { --ant-reading-gap: 18px; }
  .antintwrk-page .hw-rich-surface,
  .antintwrk-page .hw-publication-body { font-size: 18px; }
}
.antintwrk-page .hw-rich-surface p,
.antintwrk-page .hw-publication-body p { margin: 0 0 var(--ant-reading-gap); }
.antintwrk-page .hw-rich-surface p:last-child,
.antintwrk-page .hw-publication-body p:last-child { margin-bottom: 0; }
.antintwrk-page .hw-rich-surface strong,
.antintwrk-page .hw-rich-surface b,
.antintwrk-page .hw-publication-body strong,
.antintwrk-page .hw-publication-body b { font-weight: 700; }
.antintwrk-page .hw-rich-surface h2,
.antintwrk-page .hw-publication-body h2 { font-family: inherit; font-size: 1.25em; font-weight: 700; line-height: 1.35; letter-spacing: normal; margin: 1.35em 0 var(--ant-reading-gap); }
.antintwrk-page .hw-publication-body > :first-child,
.antintwrk-page .hw-rich-surface > :first-child { margin-top: 0; }
/* A shared reading rhythm, independent of the larger heading font sizes. */
.antintwrk-page .ant-article-heading { padding-bottom: calc(var(--ant-reading-gap) * 1.15); }
.antintwrk-page .ant-article-heading h2 { margin-bottom: 0; }
.antintwrk-page .ant-article-heading h2 + p { margin-top: calc(var(--ant-reading-gap) * 1.15); }
.antintwrk-page .ant-article-heading + .hw-publication-text .hw-publication-body { padding-top: 0; }
.antintwrk-page .hw-rich-toolbar button[aria-pressed="true"] { background: var(--ant-coral); color: #101214; }
.antintwrk-page .ant-rich-link { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 12px; padding: 16px; background: var(--ant-field); border-radius: 3px; }
.antintwrk-page .ant-rich-link[hidden] { display: none; }
.antintwrk-page .ant-rich-link label { display: grid; gap: 6px; min-width: 0; font-size: 14px; }
.antintwrk-page .ant-rich-link input { width: 100%; min-width: 0; box-sizing: border-box; min-height: 44px; padding: 10px; font: inherit; color: var(--ant-text); background: var(--ant-bg); border: 0; border-radius: 3px; }
.antintwrk-page .ant-rich-link > div { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
.antintwrk-page .ant-rich-link button { min-height: 44px; padding: 8px 12px; width: auto; font: inherit; font-size: 14px; color: var(--ant-text); background: var(--ant-surface); border: 0; border-radius: 3px; cursor: pointer; }
.antintwrk-page .ant-rich-link button[hidden] { display: none; }
.antintwrk-page .ant-rich-link [data-rich-link-save] { background: var(--ant-coral); color: #101214; }
.antintwrk-page .ant-rich-link [data-rich-link-error] { grid-column: 1 / -1; margin: 0; color: var(--ant-coral); font-size: 14px; }
.antintwrk-page .ant-rich-link :focus-visible { outline: 2px solid var(--ant-coral); outline-offset: 2px; }
@media (max-width: 640px) { .antintwrk-page .ant-rich-link { grid-template-columns: minmax(0,1fr); } }
.antintwrk-page .ant-authoring-type { display: flex; flex-wrap: wrap; gap: 12px 20px; }
.ant-participation-fields { display: grid; gap: 16px; min-width: 0; margin: 0 0 20px; padding: 0; border: 0; }
.ant-participation-fields[hidden], .ant-participation-fields [hidden] { display: none; }
.ant-participation-fields label:not(.ant-participation-check) { display: grid; gap: 8px; margin-bottom: 12px; }
.ant-participation-fields input:not([type=checkbox]), .ant-participation-fields textarea, .ant-participation-fields select { box-sizing: border-box; min-width: 0; width: 100%; padding: 12px; border: 0; border-radius: 3px; background: var(--ant-field); color: var(--ant-text); font: inherit; }
.ant-participation-fields small, .ant-participation-fields .hw-muted, .ant-participation-meta { font-size: .85rem; color: var(--ant-muted); }
.ant-participation-title { margin: 0 20px 12px; font-size: 1.35rem; line-height: 1.3; overflow-wrap: anywhere; }
.ant-participation-title a { color: inherit; text-decoration: none; }
.ant-participation { margin: 16px 20px; }
.ant-participation > small { display: block; margin-block: 6px; color: var(--ant-muted); }
.ant-participation fieldset { padding: 0; border: 0; margin: 14px 0; min-width: 0; }
.ant-ballot-option { display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: 8px 12px; padding: 12px; margin-bottom: 8px; border-radius: 3px; background: var(--ant-field); overflow-wrap: anywhere; }
.ant-ballot-option progress { grid-column: 2 / 4; width: 100%; height: 4px; accent-color: var(--ant-coral); }
.ant-participation-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.ant-participation-actions .hw-button { min-height: 44px; padding: 10px 14px; border: 0; border-radius: 3px; background: var(--ant-field); color: var(--ant-text); font: inherit; font-size: .85rem; font-weight: 700; line-height: 1.3; cursor: pointer; text-decoration: none; }
.ant-participation-actions .hw-button-primary { background: var(--ant-coral); color: #101214; }
.ant-participation-actions .hw-button:hover { filter: brightness(1.12); }
.ant-participation-actions .hw-button:focus-visible { outline: 2px solid var(--ant-coral); outline-offset: 3px; }
.ant-participation-actions .hw-button:disabled { opacity: .6; cursor: wait; }
.ant-participation [data-participants-list] { max-height: 280px; overflow: auto; padding-inline-start: 22px; }
.ant-participation [data-participants-list] li { margin-block: 8px; }
body.antintwrk-page {
  --ant-bg: #101214;
  --ant-surface: #1b1e22;
  --ant-social-surface: #1b1e22;
  --ant-social-surface-raised: #24282d;
  --ant-field: #2b3036;
  --hw-panel: var(--ant-surface);
  --hw-panel-strong: var(--ant-social-surface-raised);
  --ant-muted: #aeb4bd;
  --hw-muted: var(--ant-muted);
  background: var(--ant-bg);
}
.antintwrk-page .antintwrk-header { border:0; background:var(--ant-bg); }
.antintwrk-page .antintwrk-footer { border:0; }

/* Primary reading surfaces. Do not remove story rings or media warning gates. */
.antintwrk-page :is(.hw-social-panel,.hw-publication-card,.hw-composer,.hw-profile-hero,
  .hw-hero-profile-card,.hw-profile-card,.hw-settings-card,.hw-chat,.ant-feed-reel,
  .ant-composer-disclosure,.ant-community-card,.ant-community-search,.ant-community-member-search,
  .ant-friends-list,.ant-friends-state,.ant-empty-state,.ant-not-found,.ant-gratitude-invoice) {
  border:0; border-radius:3px; background:var(--ant-surface); box-shadow:none;
}
.antintwrk-page :is(.ant-community-editor form,.ant-community-manage>form,
  .ant-community-layout aside section,.hw-info-sections>section) {
  border:0; border-radius:3px; background:var(--ant-surface);
}
/* Petitions read as collective appeals, not ordinary posts. No decorative borders. */
.antintwrk-page .hw-publication-card.ant-publication-petition { background: #262321; }
.antintwrk-page .ant-petition-heading { margin: 0 20px 16px; min-width: 0; }
.antintwrk-page .ant-petition-kind { display: inline-flex; align-items: center; gap: 8px; color: var(--ant-coral); font-size: .8rem; font-weight: 700; margin-bottom: 10px; }
.antintwrk-page .ant-petition-kind .ant-icon { width: 20px; height: 20px; flex: 0 0 20px; }
.antintwrk-page .ant-petition-heading .ant-participation-title { margin: 0 0 10px; }
.antintwrk-page .ant-petition-addressee { display: grid; gap: 4px; margin: 14px 0 0; font-size: .8rem; color: var(--ant-muted); overflow-wrap: anywhere; }
.antintwrk-page .ant-petition-addressee strong { color: var(--ant-text); font-size: 1.1rem; line-height: 1.4; font-weight: 700; min-width: 0; }
.antintwrk-page .ant-participation-petition { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,2fr); align-items: center; gap: 12px 20px; }
.antintwrk-page .ant-participation-petition > :is(.ant-participation-meta,.ant-petition-note,ul,[role="status"]) { grid-column: 1 / -1; margin: 0; }
.antintwrk-page .ant-petition-note { font-size: .8rem; color: var(--ant-muted); }
.antintwrk-page .ant-participation-petition .ant-participation-total { display: flex; flex-direction: column; gap: 4px; margin: 0; font-size: .8rem; color: var(--ant-muted); }
.antintwrk-page .ant-participation-petition [data-participation-total] { font-size: 1.8rem; line-height: 1.1; font-weight: 800; color: var(--ant-text); overflow-wrap: anywhere; }
.antintwrk-page .ant-participation-petition .ant-participation-actions { justify-content: flex-end; }
.antintwrk-page .ant-participation-petition .hw-button { max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
.antintwrk-page .ant-participation-petition [role="status"]:empty { display: none; }
@media (max-width: 540px) {
  .antintwrk-page .ant-participation-petition { grid-template-columns: minmax(0,1fr); }
  .antintwrk-page .ant-participation-petition .ant-participation-actions { justify-content: flex-start; }
}
.antintwrk-page .ant-community-hero { border:0; }
.antintwrk-page .ant-community-hero:not(.has-cover) { background:var(--ant-surface); }
.antintwrk-page :is(.hw-hero-profile-stats,.hw-hero-profile-metrics,.hw-hero-profile-header) { border:0; }
.antintwrk-page .hw-hero-profile-metrics .hw-hero-profile-stat { border:0; }

/* Internal structure needs breathing room, not another rectangle. */
.antintwrk-page :is(.hw-feed-heading,.hw-profile-actions,.hw-info-heading,.ant-story-rail,
  .ant-feed-widget,.ant-publication-toolbar,.hw-publication-voting,.hw-rich-toolbar,
  .ant-sensitive-choice,.ant-search-summary,.ant-friends-heading,.ant-friend-request-list,
  .ant-friend-request,.ant-inbox-empty,.ant-kindness-gift,.ant-community-invite,
  .ant-community-manage>section,.ant-video-upload,.ant-video-pending,
  .hw-trusted-devices,.hw-account-removal-link,.antintwrk-account-summary,
  .antintwrk-account-signout,.antintwrk-auth-tabs,.hw-settings-submit-row) { border:0; }
.antintwrk-page .ant-feed-scopes { border:0; border-radius:3px; background:var(--ant-surface); }
.antintwrk-page .ant-feed-scopes a { border-radius:3px; }
.antintwrk-page .ant-feed-widget {
  margin-bottom:16px; padding:16px; min-width:0;
  border:0; border-radius:3px; background:var(--ant-surface); box-shadow:none;
  overflow-wrap:anywhere;
}
.antintwrk-page .ant-feed-widget:last-child { margin-bottom:0; }
.antintwrk-page .ant-feed-widget .ant-composer-author { gap:10px; }
.antintwrk-page .ant-feed-widget .ant-composer-author strong { min-width:0; overflow-wrap:anywhere; }
.antintwrk-page .ant-feed-widget nav a > span { min-width:0; }
.antintwrk-page .ant-feed-widget nav a > small { flex-shrink:0; }
.antintwrk-page .ant-composer-disclosure .hw-composer { background:transparent; }
.antintwrk-page .ant-composer-disclosure>summary:hover { background:var(--ant-social-surface-raised); }
.antintwrk-page :is(.hw-rich-editor,.hw-publication-link-preview,.hw-repost-original,
  .ant-composer-community) { border:0; border-radius:3px; background:var(--ant-social-surface-raised); }
.antintwrk-page .hw-rich-toolbar { background:transparent; }
.antintwrk-page .hw-rich-surface { background:transparent; }
.antintwrk-page .hw-rich-editor:focus-within { outline:2px solid var(--ant-coral); outline-offset:2px; }

/* Dense lists: one parent surface, spacing and a quiet hover, not a ruled table. */
.antintwrk-page :is(.hw-notification-list,.ant-messenger-layout) { border:0; background:var(--ant-surface); }
.antintwrk-page :is(.hw-notification+.hw-notification,.ant-friend-row+.ant-friend-row,
  .ant-member-row,.ant-community-person-result,.ant-profile-communities a,
  .ant-people-results,.ant-people-results>a,.ant-kindness-history article,
  .hw-restricted-accounts li,.hw-hidden-publications li,.ant-message,
  .ant-room-list,.ant-room-list>a,.ant-conversation>header,.ant-conversation form,
  .ant-conversation-readonly,.hw-chat-header,.hw-chat-composer) { border:0; }
.antintwrk-page :is(.hw-notification,.ant-friend-row,.ant-member-row,.ant-people-results>a) {
  border-radius:3px;
}
.antintwrk-page :is(.hw-notification,.ant-friend-row,.ant-member-row,.ant-people-results>a):hover {
  background:var(--ant-social-surface-raised);
}
.antintwrk-page .hw-notification.is-unread { background:#2b2525; }
.antintwrk-page :is(.ant-people-results,.ant-member-list,.ant-community-people-results) { gap:8px; }
.antintwrk-page .ant-people-results>a { padding:14px; background:var(--ant-surface); }
.antintwrk-page :is(.hw-trusted-devices li,.ant-community-appeal-list article) {
  border:0; background:var(--ant-social-surface-raised); border-radius:3px;
}
.antintwrk-page .ant-room-list { background:var(--ant-bg); padding:6px; }
.antintwrk-page .ant-room-list>a { border-radius:3px; margin-bottom:4px; }
.antintwrk-page .ant-room-list>a:hover { background:var(--ant-surface); }
.antintwrk-page .ant-room-list>a[aria-current] { background:var(--ant-social-surface-raised); }
.antintwrk-page .ant-message.is-mine { border:0; background:#202b2a; border-radius:3px; padding:12px; }
.antintwrk-page :is(.ant-conversation>header,.ant-conversation form,.hw-chat-composer) { background:var(--ant-surface); }

/* Project-owned dialogs/menus have an elevated background; backdrop does the rest. */
body.antintwrk-page :is(.antintwrk-auth-dialog,.ant-kindness-dialog,.ant-factcheck-dialog,
  .hw-safety-dialog,.hw-publication-delete-dialog,.hw-repost-dialog,.ant-message-delete-dialog,
  .ant-community-confirm,.ant-story-create,.ant-video-trimmer,.ant-gratitude-dialog,.ant-share-dialog) {
  border:0; border-radius:3px; background:var(--ant-surface); box-shadow:0 12px 40px #0005;
}
.antintwrk-page :is(.antintwrk-account-panel,.hw-publication-menu,.ant-item-menu>div,
  .ant-conversation-safety>div,.ant-member-menu,.ant-sections-open .antintwrk-social-links) {
  border:0; border-radius:3px; background:var(--ant-social-surface-raised); box-shadow:0 8px 24px #0005;
}
.antintwrk-page .ant-story-viewer { border:0; }

/* Named product forms only; native radios, checkboxes and engine protections stay intact. */
.antintwrk-page :is(.hw-settings-fields,.hw-account-panel,.ant-article-fields,.ant-kindness-gift,
  .ant-community-search,.ant-community-editor,.ant-community-manage,.ant-publication-search,
  .ant-people-search,.ant-community-member-search,.ant-video-upload,.ant-conversation,
  .hw-safety-dialog,.hw-repost-dialog,.hw-chat-composer,.ant-share-dialog,.antintwrk-auth-form,.antintwrk-reset-form)
  :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=hidden]):not([type=file]),textarea,select) {
  border:1px solid transparent; border-radius:3px; background:var(--ant-field); color:var(--ant-text); box-shadow:none;
}
.antintwrk-page :is(.ant-video-file__control,.ant-slug-input,.hw-composer-audience select) {
  border:1px solid transparent; border-radius:3px; background:var(--ant-field);
}
.antintwrk-page .ant-publication-search { border:0; background:var(--ant-surface); border-radius:3px; }
.antintwrk-page :is(.hw-settings-fields,.hw-account-panel,.ant-article-fields,.ant-kindness-gift,
  .ant-community-search,.ant-community-editor,.ant-community-manage,.ant-publication-search,
  .ant-people-search,.ant-community-member-search,.ant-video-upload,.ant-conversation,
  .hw-safety-dialog,.hw-repost-dialog,.hw-chat-composer,.ant-share-dialog,.antintwrk-auth-form,.antintwrk-reset-form)
  :is(input,textarea)::placeholder { color:var(--ant-muted); opacity:1; }
.antintwrk-page :is(.hw-settings-fields,.hw-account-panel,.antintwrk-auth-form,.antintwrk-reset-form)
  :is(input,textarea,select):focus {
  outline:2px solid var(--ant-coral); outline-offset:2px; box-shadow:none;
}
.antintwrk-page :is(.ant-button,.hw-button-secondary) {
  border-color:transparent; background:var(--ant-social-surface-raised);
}
.antintwrk-page .antintwrk-account-trigger { border-color:transparent; background:transparent; }
.antintwrk-page :is(.ant-button,.hw-button-secondary):hover { background:#343a42; }
.antintwrk-page .ant-button--primary { background:var(--ant-coral); color:#160f0d; }
.antintwrk-page .ant-button--primary:hover { background:#ff806a; }
.antintwrk-page :is(.ant-button--danger,.hw-button-danger) { background:#35252b; color:#ffa9b6; border-color:transparent; }
.antintwrk-page :is(.ant-community-policy,.ant-publication-pinned) { border:0; background:var(--ant-social-surface-raised); }
.antintwrk-page :is(.ant-kind-picker span,.ant-gratitude-dialog fieldset span) { border:0; background:var(--ant-field); }
.antintwrk-page :is(.ant-kind-picker,.ant-gratitude-dialog) input:checked+span {
  background:#42302a; box-shadow:inset 0 0 0 2px var(--ant-coral);
}
.antintwrk-page .ant-kind-picker input:focus-visible+span { outline:2px solid var(--ant-coral); outline-offset:3px; }
.antintwrk-page :is(.ant-friend-requests-entry,.ant-profile-friend-requests,.ant-messenger-notice,
  .ant-community-enforcement,.ant-content-hidden-note) { border:0; border-radius:3px; background:#2b2525; }
.antintwrk-page .ant-factcheck-result { border:0; padding:12px; border-radius:3px; background:var(--ant-social-surface-raised); }
.antintwrk-page .ant-media-sound { border:0; background:#171a20e8; }
.antintwrk-page .ant-story-dialog-close { border:0; background:var(--ant-social-surface-raised); }
.antintwrk-page :is(.hw-composer-photo,.ant-community-avatar-fallback,.hw-settings-avatar-preview,
  .ant-room-avatar,.ant-friend-request-avatar) { border:0; background:var(--ant-social-surface-raised); box-shadow:none; }
.antintwrk-page .ant-feed-reel>header>span { border:0!important; background:transparent!important; }

/* Public editorial landing and account entry follow the same vocabulary. */
.antintwrk-page :is(.antintwrk-trust-panel,.antintwrk-reset-form,.antintwrk-reset-success) {
  border:0; border-radius:3px; background:var(--ant-surface);
}
.antintwrk-page :is(.antintwrk-principle,.antintwrk-partner,.antintwrk-intro-note,
  .antintwrk-trust-list>div,.antintwrk-trust-heading>span) { border:0; }
.antintwrk-page .antintwrk-statement { border:0; border-radius:3px; background:var(--ant-surface); padding-inline:clamp(1.5rem,3vw,3rem); }
.antintwrk-page .antintwrk-auth-close { border:0; background:var(--ant-social-surface-raised); }
.antintwrk-page .antintwrk-auth-submit { border-radius:3px; }
/* Keep OS high-contrast controls legible when background fills are suppressed. */
@media(forced-colors:active) {
  .antintwrk-page :is(.ant-button,.hw-button-secondary,.ant-feed-scopes a,.ant-kind-picker span,
    .ant-gratitude-dialog fieldset span,.hw-rich-editor) { border:1px solid ButtonText; }
}
/* Public legal intake: readable text, contacts visible on the first desktop screen. */
.antintwrk-page .ant-dmca-page { padding-top:8px; }
.antintwrk-page .ant-dmca-page .hw-info-heading h1 { font-size:clamp(28px,4vw,44px); line-height:1.15; letter-spacing:-.025em; }
.antintwrk-page .ant-dmca-page .hw-info-lead { font-size:18px; line-height:1.6; margin:16px 0 24px; }
.antintwrk-page .ant-dmca-page ol { padding-inline-start:24px; }
.antintwrk-page .ant-dmca-page li+li { margin-top:12px; }
/* Publication revisions: quiet metadata, readable separate editorial surfaces. */
.antintwrk-page .ant-publication-meta{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 10px}
.antintwrk-page .ant-publication-meta .hw-publication-permalink{display:inline;margin:0}
.antintwrk-page a.ant-history-link{font-size:12px;line-height:1.5;font-weight:400;color:var(--ant-muted,#a9b0ba);text-decoration:underline;text-underline-offset:3px}
.antintwrk-page a.ant-history-link[hidden]{display:none!important}
.antintwrk-page .ant-publication-history{max-width:860px;margin:32px auto;padding:0 16px;overflow-wrap:anywhere}
.antintwrk-page .ant-publication-history>header{margin-bottom:24px}
.antintwrk-page .ant-publication-history h1{font-size:clamp(28px,5vw,42px)}
.antintwrk-page .ant-history-version{background:var(--ant-surface,#1d2124);padding:24px;margin:16px 0;border:0;border-radius:3px;min-width:0}
.antintwrk-page .ant-history-version>header{margin-bottom:20px;color:var(--ant-muted,#a9b0ba)}
.antintwrk-page .ant-history-version>header h2{font-size:18px;margin:0 0 6px}
.antintwrk-page .ant-history-version>header p{font-size:13px;margin:0}
.antintwrk-page .ant-history-version h3{font-size:24px;margin:12px 0}
.antintwrk-page .ant-history-media{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:16px}
.antintwrk-page .ant-history-media img{display:block;max-width:100%;height:auto}
@media(max-width:480px){.antintwrk-page .ant-history-version{padding:16px}.antintwrk-page .ant-history-media{grid-template-columns:1fr}}
/* Community identities use the same circular silhouette as people. */
.antintwrk-page .ant-community-hero > img,
.antintwrk-page .ant-community-card > a > img,
.antintwrk-page [data-community-media-preview="avatar"],
.antintwrk-page .ant-community-avatar-fallback:not(.ant-community-media-fallback--cover) {
  border-radius: 50%;
  aspect-ratio: 1;
  object-fit: cover;
  flex-shrink: 0;
}
/* Adaptive website labels in community About blocks. */
.antintwrk-page .ant-community-website { min-width: 0; width: 100%; }
.antintwrk-page .ant-community-website > a { overflow-wrap: anywhere; }
