/* Application styles. MudBlazor's theme (Components/Layout/SiteTheme.cs) does most of the work; keep this file small. */

/* The overview's Name and Brand row (the site redesign, Phase 1): the brand's colors and type as custom properties,
   for what MudBlazor doesn't draw. SiteTheme holds the same values for MudBlazor. Signal yellow is a background
   only, never text on white (1.8:1); ink on it reads at 8.6:1, white on ink at 15.6:1, --od-on-ink-2 on ink 10.3:1,
   River blue on white 7.0:1, Steel on white 6.0:1 (NF-ACC-02). */
:root {
    --od-ink: #16243B;
    --od-signal: #F5B700;
    --od-river: #1E57A8;
    --od-steel: #556479;
    --od-rail: #DDE2EA;
    --od-paper: #FFFFFF;
    --od-on-ink-2: #C9D3E2;
    --od-font-display: "Big Shoulders Display", "Arial Narrow", sans-serif;
    --od-font-body: "Public Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
    /* NF-ACC-02: the keyboard focus ring, blue on white (7.0:1) and yellow on ink (8.6:1), where blue is 2.2:1. */
    --od-focus: var(--od-river);
    --od-focus-on-ink: var(--od-signal);
    /* The top bar's height, which the page below it is padded by. */
    --od-bar-height: 60px;
}

/* The page is a column, so a short page's footer sits at the bottom of the window. */
body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--od-paper);
    color: var(--od-ink);
    font-family: var(--od-font-body);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--od-font-display);
}

a {
    color: var(--od-river);
}
a:not([class]):hover {
    color: var(--od-ink);
}

/* NF-ACC-02, PR-UI-12: every control shows where the keyboard is. MudBlazor takes the outline off links
   (a:focus-visible { outline: none }) and gives a focused button only a faint background, so this puts a 3 px
   blue ring on each; same specificity as MudBlazor's rule and later, so it wins, while a component's own focus
   rule (.speaker-card-link, .nav-disclosure-item) still wins over this one. */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
select:focus-visible,
textarea:focus-visible,
[role="button"]:focus-visible,
[role="tab"]:focus-visible,
[role="link"]:focus-visible,
[tabindex="0"]:focus-visible {
    outline: 3px solid var(--od-focus);
    outline-offset: 2px;
}
/* MudBlazor's check boxes, radios and switches hide their input inside a round button: ring the button. */
.mud-button-root:has(input:focus-visible),
.mud-switch-base:has(input:focus-visible) {
    outline: 3px solid var(--od-focus);
    outline-offset: 0;
}
/* On the ink top bar, guest band and footer the ring is yellow: blue on ink is 2.2:1, under the 3:1 a focus
   indicator needs. The bar's open menus are white, so their items keep their own blue ring (.nav-disclosure-item). */
.site-top-bar .app-bar-action:focus-visible,
.site-top-bar .nav-disclosure-button:focus-visible,
.site-top-bar .mud-icon-button:focus-visible,
.guest-bar a:focus-visible,
.site-footer a:focus-visible {
    outline-color: var(--od-focus-on-ink);
}

.app-main {
    flex: 1 0 auto;
    padding-top: var(--od-bar-height); /* the fixed top bar */
}

/* The top bar (TopBarContent.razor): ink, 60 px, its content in the same 1280 px column as the page's
   MudContainer (MaxWidth.Large, 16 px gutters on a phone and 24 px from 600 px, as the toolbar's). */
.site-top-bar.mud-appbar .mud-toolbar.mud-toolbar-appbar {
    height: var(--od-bar-height);
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    box-sizing: border-box;
}
.site-top-bar .app-bar-action.mud-button-root {
    font-weight: 600;
}
.site-top-bar .mud-button-text-inherit:hover,
.site-top-bar .nav-disclosure-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
}
/* Register, the bar's one yellow button: ink text on Signal yellow (Color.Tertiary). */
.site-top-bar .site-top-register.mud-button-root {
    font-weight: 700;
    padding-left: 16px;
    padding-right: 16px;
}

/* Wordmark C (Wordmark.razor): "Omaha" in Big Shoulders Display 900, ".dev" in ink on a yellow tag. The head
   takes the color around it: white on ink, ink on white. */
.wordmark {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-family: var(--od-font-display);
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
}
.wordmark-tag {
    background: var(--od-signal);
    color: var(--od-ink);
    border-radius: 4px;
    padding: 0 6px 3px;
    line-height: 0.95;
}
.wordmark-bar {
    font-size: 30px;
}
.wordmark-drawer {
    font-size: 26px;
}
.wordmark-footer {
    font-size: 24px;
    gap: 2px;
}
.wordmark-footer .wordmark-tag {
    border-radius: 3px;
    padding: 0 5px 2px;
}
.wordmark-large {
    font-size: 48px;
    gap: 4px;
}
.site-wordmark-link {
    display: inline-flex;
    align-items: center;
    margin-right: 20px;
    border-radius: 4px;
    color: var(--od-paper);
    text-decoration: none;
}
@media (max-width: 599.98px) {
    .wordmark-bar {
        font-size: 28px;
    }
}

/* GuestLayout's band: the top bar's ink and wordmark without its links, in the flow (no padding to make up). */
.guest-bar {
    display: flex;
    align-items: center;
    min-height: var(--od-bar-height);
    padding: 0 16px;
    background: var(--od-ink);
    color: var(--od-paper);
}
@media (min-width: 600px) {
    .guest-bar {
        padding: 0 24px;
    }
}

/* Routes.razor's FocusOnNavigate moves the focus to the page's h1 on every navigation (tabindex="-1"), so a screen
   reader starts at the new page's heading. A heading isn't a control, so it shows no focus box (the Blazor
   template's rule); every link, button and field keeps its visible focus (NF-ACC-02). */
h1:focus,
h1:focus-visible {
    outline: none;
}

/* NF-ACC-01: every control stays on one line inside the bar, so the page never scrolls sideways; the
   person's name gives way by truncating (.nav-account-name). */
.app-bar-action {
    flex-shrink: 0;
    white-space: nowrap;
}

/* The nav-shell change (PR-UI-01): from MudBlazor's md breakpoint (960 px) up, the bar shows the links
   and menus; below it, the menu button that opens the drawer. CSS, not MudHidden, so the prerendered
   page already shows the right one: MudHidden renders nothing until the circuit has measured the
   window. */
.nav-desktop {
    display: flex;
    align-items: center;
    min-width: 0;
}
.nav-phone {
    display: none;
}
@media (max-width: 959.98px) {
    .nav-desktop {
        display: none;
    }
    .nav-phone {
        display: flex;
        align-items: center;
        flex-shrink: 0;
    }
}

/* The bar's menus (NavDisclosure.razor): the list opens under its button, inside the fixed bar, so it
   stays on screen however far the page is scrolled; a transparent backdrop takes the click outside. */
.nav-disclosure {
    position: relative;
    display: flex;
    align-items: center;
    min-width: 0;
}
.nav-disclosure-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1;
}
.nav-disclosure-panel {
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    z-index: 2;
    min-width: 180px;
    padding: 8px 0;
}
.nav-disclosure-panel.nav-disclosure-end {
    left: auto;
    right: 0;
}
.nav-disclosure-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-disclosure-item {
    display: block;
    width: 100%;
    padding: 8px 16px;
    border: 0;
    background: none;
    color: var(--mud-palette-text-primary);
    font: inherit;
    font-size: 1rem;
    text-align: left;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
}
/* sponsor-rep-requests Phase 2 (PR-UI-01): a representative request's long names and addresses wrap anywhere, and a
   button naming a sponsor ("Approve as a representative of …") wraps its words instead of widening the page. */
.request-card, .sponsor-picker {
    overflow-wrap: anywhere;
}
.wrapping-button {
    white-space: normal;
    height: auto;
    text-align: left;
    max-width: 100%;
}
.wrapping-button .mud-button-label {
    white-space: normal;
}

/* CAP-04-BR-35 (sponsor-rep-requests A6): a menu entry's count, ink on Signal yellow (11.6:1), in the menus and the drawer. */
.nav-count {
    display: inline-block;
    min-width: 1.5em;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--od-signal);
    color: var(--od-ink);
    font-size: 0.8125rem;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
}
.nav-disclosure-item:hover {
    background: var(--mud-palette-action-default-hover);
}
.nav-disclosure-item:focus-visible {
    outline: 2px solid var(--mud-palette-primary);
    outline-offset: -2px;
}

/* The person's name opens the account menu; a long name gives way by truncating (NF-ACC-01). */
.nav-account-menu,
.nav-account-menu .nav-disclosure-button {
    min-width: 0;
    max-width: 280px;
}
.nav-account-menu .nav-disclosure-button {
    text-transform: none; /* a name keeps its own capitals */
}
.nav-account-name {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* No rule for .mud-popover-provider (PR-UI-08; CAP-05 Phase 2): this app has no MudLayout, so the
   window scrolls and MudBlazor 9 places each popover in page coordinates inside an unpositioned
   provider, which is right. Pinning the provider to the viewport (an older template's fix) puts every
   open list off-screen once the page is scrolled. HostManagementTests.NF_ACC_01_TheRepresentativeCardFitsAPhone
   holds the options on screen after scrolling. */

/* PR-UI-08: the drawer is pinned to the viewport, so opening it after scrolling shows it on screen.
   Every temporary drawer's class goes in this rule; !important because MudBlazor's stylesheet sets
   the drawer's position with the same specificity. */
.site-drawer {
    position: fixed !important;
    top: 0 !important;
    bottom: 0 !important;
    height: 100vh !important;
    max-width: 85vw;
}
.site-drawer.mud-drawer--closed {
    visibility: hidden;
}
.site-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 4px 4px 4px 16px;
    min-height: 48px;
}
.site-drawer-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
/* A 48 px row per entry: a thumb's target on a phone. */
.site-drawer-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    min-height: 48px;
    padding: 8px 16px;
    border: 0;
    background: none;
    color: var(--mud-palette-text-primary);
    font: inherit;
    font-size: 1rem;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}
.site-drawer-item:hover {
    background: var(--mud-palette-action-default-hover);
}
.site-drawer-item.active {
    color: var(--mud-palette-primary);
    font-weight: 500;
}
.site-drawer-item:focus-visible {
    outline: 2px solid var(--mud-palette-primary);
    outline-offset: -2px;
}
.site-drawer-name {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* The site footer (SiteFooter.razor): an ink band, the wordmark and its line, then the links, in the page's
   1280 px column; everything wraps on a phone (NF-ACC-01). */
.site-footer {
    flex-shrink: 0;
    margin-top: auto;
    background: var(--od-ink);
    color: var(--od-on-ink-2);
}
.site-footer-inner {
    box-sizing: border-box;
    max-width: 1280px;
    margin: 0 auto;
    padding: 28px 16px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 24px;
}
@media (min-width: 600px) {
    .site-footer-inner {
        padding: 28px 24px;
    }
}
.site-footer-brand {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
    min-width: 0;
    color: var(--od-paper);
}
.site-footer-line {
    color: var(--od-on-ink-2);
    font-size: 0.875rem;
}
.site-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
}
.site-footer-link {
    color: var(--od-paper);
    font-weight: 600;
    font-size: 0.9375rem;
    text-underline-offset: 3px;
}
.site-footer-link:hover {
    color: var(--od-on-ink-2);
}

/* Non-production environments only (EnvironmentBanner.razor). Fixed above the app bar. */
.environment-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1400;
    padding: 2px 12px;
    background: #b45309;
    color: #fff;
    font-size: 0.8rem;
    text-align: center;
}

/* NF-ERR-01's message (UnexpectedErrorMessage.razor): its 32-character reference wraps rather than widening a phone's
   page (NF-ACC-01). In Public Sans "(reference: …)." is about 330 px, which with the error page's padding ran to
   408 px at 375 (ErrorPageTests, the site redesign's Phase 1). */
.unexpected-error {
    overflow-wrap: anywhere;
    min-width: 0;
}

/* NF-ERR-01's last resort (App.razor): hidden until Blazor shows it, when a circuit dies outside
   every page's error boundary. Without the display rule it would sit on every page. */
#blazor-error-ui {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1600;
    padding: 0.75rem 1rem;
    background: #fdecea;
    color: #611a15;
    box-shadow: 0 -1px 4px rgba(0, 0, 0, 0.2);
    font-size: 0.95rem;
}

#blazor-error-ui .reload {
    margin-left: 0.75rem;
    font-weight: 500;
}

/* CAP-01 UI table: the registration form's live password checklist (RegisterContent.razor). */
.password-checklist {
    list-style: none;
    margin: 0;
    padding: 0 0 0 4px;
}

.password-checklist li {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    line-height: 1.6;
}

/* Text for screen readers only (NF-ACC-02): the checklist says "met" in words, not only by its icon. */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* A member's account details (CAP-01-UC-07 step 4): label beside value on wider screens, stacked on a
   phone (NF-ACC-01); a long email wraps instead of widening the page. */
.member-details {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    gap: 8px 24px;
    margin: 0;
}
.member-details dt {
    font-weight: 500;
}
.member-details dd {
    margin: 0;
    overflow-wrap: anywhere;
}
/* The member list (CAP-01-UC-07): a long email wraps inside its cell, so on a phone's stacked rows
   the table never grows wider than the screen and pushes the name and status out of sight (NF-ACC-01;
   found by AccessibilityTests at 375 px, Phase 7). */
.members-table .mud-table-cell {
    overflow-wrap: anywhere;
}
/* The Leader's speakers list (CAP-03 A23, Phase 5): the same for a member speaker's long email or a long name; found by
   AccessibilityTests at 375 px, where the rows ran to 485 px. */
.speakers-table .mud-table-cell {
    overflow-wrap: anywhere;
}

/* A member's roles (CAP-01-UC-08): each role with its assigned time, and its Remove button at the
   end of the row; the time wraps under the name on a phone (NF-ACC-01). */
.member-roles {
    list-style: none;
    margin: 0;
    padding: 0;
}
/* CAP-02-UC-04 step 3: a member's social links, side by side, wrapping on a phone. */
.member-profile-links {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
}
.member-role {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid var(--mud-palette-lines-default);
}
.member-role:last-child {
    border-bottom: 0;
}
.member-role-text {
    display: flex;
    flex-wrap: wrap;
    gap: 0 12px;
    min-width: 0;
}
.member-role-name {
    font-weight: 500;
}
.member-role-assigned {
    color: var(--mud-palette-text-secondary);
    overflow-wrap: anywhere;
}
@media (max-width: 599px) {
    .member-details {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }
    .member-details dd {
        margin-bottom: 12px;
    }
}

/* CAP-02-UC-02 (A7 of the cap-02-member-profiles plan): an email address on the account and
   confirm-email pages wraps at any character, so a long one never scrolls a phone sideways (NF-ACC-01). */
.account-email {
    overflow-wrap: anywhere;
}

/* CAP-02 profile photos (A7, A12, A13 of the cap-02-member-profiles plan): a photo or the initials in
   a circle, the same size either way; the image's onerror swaps in the initials (ProfilePhoto.razor),
   so [hidden] must win over MudAvatar's display. */
.profile-photo,
.profile-photo-initials {
    border-radius: 50%;
    flex: 0 0 auto;
}
.profile-photo {
    object-fit: cover;
    display: block;
}
.profile-photo[hidden],
.profile-photo-initials[hidden] {
    display: none !important;
}
.profile-photo-large,
.profile-photo-initials.profile-photo-large {
    width: 96px;
    height: 96px;
    font-size: 2rem;
}
.profile-photo-medium,
.profile-photo-initials.profile-photo-medium {
    width: 80px;
    height: 80px;
    font-size: 1.75rem;
}

/* The photo control on a profile form: the photo beside its buttons, stacked on a narrow phone
   (NF-ACC-01). */
.photo-field {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}
.photo-field-current {
    flex: 0 0 auto;
}
.photo-field-controls {
    flex: 1 1 200px;
    min-width: 0;
}
.photo-preview-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

/* CAP-04's logo control (A9 of the cap-04-sponsors plan): the whole logo, never cropped to a circle,
   in a box the size of the preview; the company name in its place when there is none or it can't be
   loaded (UC-04 3.alt.3). The preview the photo picker draws takes the same box. */
.sponsor-logo,
.sponsor-logo-field .photo-preview-image {
    width: 160px;
    height: 96px;
    border-radius: 4px;
    object-fit: contain;
    display: block;
}
.sponsor-logo-name {
    width: 160px;
    height: 96px;
    border-radius: 4px;
    border: 1px dashed var(--mud-palette-lines-default);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    text-align: center;
    overflow-wrap: anywhere;
    overflow: hidden;
}
/* The hidden attribute must win over the display rules above (the image's onerror swaps them). */
.sponsor-logo[hidden],
.sponsor-logo-name[hidden] {
    display: none;
}

/* A12, NF-ACC-02: the file input is visually hidden but still focusable (never display:none, which no
   keyboard reaches), so Tab lands on it and Space opens the chooser; its label, styled as a button,
   shows the focus ring while the input has focus (minor 11). */
.photo-picker {
    position: relative;
    display: inline-flex;
}
.photo-picker-input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
    opacity: 0;
}
.photo-picker:focus-within .photo-picker-button {
    outline: 3px solid var(--mud-palette-primary);
    outline-offset: 2px;
}

/* CAP-10 (A6, A13 of the cap-10-email plan; Phase 2 pre-build review m7): the email preview and the
   Email page's subject. A long address or word wraps rather than widening the page at 375 px, and a
   code block scrolls inside itself (NF-ACC-01). */
.email-preview,
.email-subject-cell {
    overflow-wrap: anywhere;
    min-width: 0;
}

.email-preview pre {
    overflow-x: auto;
    max-width: 100%;
    padding: 8px;
    background: var(--mud-palette-background-gray);
    white-space: pre;
}

.email-preview h3,
.email-preview h4,
.email-preview h5 {
    margin: 0.75em 0 0.5em;
    font-family: var(--od-font-body); /* an email has no brand font: the preview shows what it will look like */
}

.email-preview h3 { font-size: 1.5rem; }
.email-preview h4 { font-size: 1.25rem; }
.email-preview h5 { font-size: 1.1rem; }

.email-preview p,
.email-preview ul,
.email-preview ol,
.email-preview blockquote {
    margin: 0 0 0.75em;
}

.email-preview ul,
.email-preview ol {
    padding-left: 1.5em;
}

.email-preview blockquote {
    padding-left: 12px;
    border-left: 3px solid var(--mud-palette-lines-default);
}

.email-preview-footer {
    font-size: 0.85rem;
    color: var(--mud-palette-text-secondary);
}

.email-preview-sample-link {
    text-decoration: underline;
}

/* Short stored text with its line breaks kept, as text, never markup (PR-SEC-08, NF-SEC-05): a venue's room
   details and a sponsor's presentation topic. Long words wrap so they never scroll a phone sideways
   (NF-ACC-01). The long text fields are Markdown, shown by .long-text below. */
.text-lines {
    white-space: pre-line;
    overflow-wrap: anywhere;
}

/* NF-SEC-17 (A4, A6 of the markdown-text plan): a long text field rendered from its Markdown by LongTextView. The
   blocks sit tight inside the element that holds them, so each page's own margins still place it; a long word or
   address wraps, a code block scrolls inside itself, and an image fits its column, so nothing scrolls a 375 px phone
   sideways (PR-UI-01, NF-ACC-01). A heading's size follows its rank in the text, not its element level, so a "##"
   looks the same on every page while its element fits the page's outline (A4). */
.long-text {
    overflow-wrap: anywhere;
    min-width: 0;
}
.long-text > :first-child {
    margin-top: 0;
}
.long-text > :last-child {
    margin-bottom: 0;
}
.long-text p,
.long-text ul,
.long-text ol,
.long-text blockquote,
.long-text pre {
    margin: 0 0 0.75em;
}
.long-text li > :last-child {
    margin-bottom: 0;
}
.long-text ul,
.long-text ol {
    padding-left: 1.5em;
}
.long-text ul {
    list-style: disc;
}
.long-text ol {
    list-style: decimal;
}
.long-text blockquote {
    padding-left: 12px;
    border-left: 3px solid var(--od-rail);
    color: var(--od-steel);
}
.long-text code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.9em;
}
.long-text pre {
    overflow-x: auto;
    max-width: 100%;
    padding: 8px 12px;
    background: var(--mud-palette-background-gray);
    white-space: pre;
    overflow-wrap: normal;
}
.long-text-heading {
    margin: 1em 0 0.5em;
    font-family: var(--od-font-display);
    font-weight: 800;
    line-height: 1.15;
}
.long-text-rank-1 { font-size: 1.5rem; }
.long-text-rank-2 { font-size: 1.25rem; }
.long-text-rank-3 { font-size: 1.0625rem; }
.long-text-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0.5em 0;
}
/* A6: the image's own onerror hides it (InlineMarkdownView), and [hidden] must win over display: block. */
.long-text-image[hidden] {
    display: none;
}

/* NF-ACC-03 (A8 of the markdown-text plan, Phase 2): the long text editor, LongTextField. Write and Preview tabs and
   "Markdown supported" in a row above the box, wrapping at 375 px (PR-UI-01); the selected tab underlined in River
   blue (7.0:1 on white), the other in Steel (6.0:1), the hint in Steel (NF-ACC-02). The focus ring is the site's
   ([role="tab"]:focus-visible above). The Write panel is only hidden while Preview shows, so the save still reads
   its box; [hidden] must win over any display rule. Preview is framed like the outlined box it stands in for. */
.long-text-field-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 4px 12px;
    margin-bottom: 8px;
}
.long-text-field-tabs {
    display: flex;
    gap: 4px;
}
.long-text-field-tab {
    min-height: 36px;
    padding: 6px 12px;
    border: 0;
    border-bottom: 2px solid transparent;
    background: none;
    color: var(--od-steel);
    font: inherit;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
}
.long-text-field-tab[aria-selected="true"] {
    color: var(--od-river);
    border-bottom-color: var(--od-river);
}
.long-text-field-hint {
    color: var(--od-steel);
    font-size: 0.8125rem;
}
.long-text-field-panel[hidden] {
    display: none;
}
.long-text-field-preview {
    padding: 16px 14px;
    border: 1px solid var(--od-steel);
    border-radius: 4px;
    min-width: 0;
}
.long-text-field-preview-empty {
    margin: 0;
    color: var(--od-steel);
}
.long-text-field-preview-error {
    margin: 8px 0 0;
    color: var(--mud-palette-error);
    font-size: 0.75rem;
}

/* CAP-03-UC-04 (A6 of the cap-03-speakers plan): the public speaker directory's cards. The speaker's
   name is the card's one link, stretched over the whole card by its ::after, so the card is one tab
   stop read as the name (m7); the bio is clamped to four lines, the speaker's page showing it whole.
   The site redesign's Phase 2: a modest grid of ruled cells, each a rule above it and no raised card; the name in
   display type. */
.speaker-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
    gap: 0 32px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.speaker-grid > li {
    border-top: 1px solid var(--od-rail);
    min-width: 0;
}
.speaker-card {
    position: relative;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    height: 100%;
    padding: 20px 0;
}
.speaker-card-text {
    flex: 1 1 auto;
    min-width: 0;
}
.speaker-card-link {
    font-family: var(--od-font-display);
    font-weight: 800;
    font-size: 1.5rem;
    line-height: 1.1;
    color: var(--od-river);
    text-decoration: none;
    overflow-wrap: anywhere;
}
.speaker-card:hover .speaker-card-link {
    color: var(--od-ink);
    text-decoration: underline;
}
.speaker-card-link::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 4px;
}
.speaker-card-link:focus-visible {
    outline: none;
}
.speaker-card-link:focus-visible::after {
    outline: 3px solid var(--od-focus);
    outline-offset: 2px;
}
/* The markdown-text plan, Phase 1: a rendered bio is several blocks, which -webkit-line-clamp can't clamp, so the card
   clamps by height, four lines. A link in the bio sits above the name link stretched over the card, so both can be
   clicked; and since a link the clamp hides would still take a Tab, the bio shows whole while anything in it has the
   focus, so the focused link is always in view (NF-ACC-02, PR-UI-12). */
.speaker-card-bio {
    line-height: 1.5;
    max-height: 6em;
    overflow: hidden;
    margin-top: 6px;
}
/* Inside the card every block sits on the 1.5 line grid, a heading at the bio's own size, so the clamp shows four whole
   lines rather than cutting one in half. */
.speaker-card-bio p,
.speaker-card-bio ul,
.speaker-card-bio ol,
.speaker-card-bio blockquote,
.speaker-card-bio pre,
.speaker-card-bio .long-text-heading {
    margin: 0;
    font-size: inherit;
    line-height: inherit;
}
.speaker-card-bio:focus-within {
    max-height: none;
}
.speaker-card-bio a {
    position: relative;
    z-index: 1;
}
.speaker-card-count {
    margin-top: 6px;
    color: var(--od-steel);
}
.speaker-detail-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 24px;
    margin: 8px 0 24px;
}
.speaker-detail-header .profile-photo-large,
.speaker-detail-header .profile-photo-initials.profile-photo-large {
    width: 120px;
    height: 120px;
    font-size: 2.5rem;
}
.speaker-detail-name {
    overflow-wrap: anywhere;
    min-width: 0;
}
.speaker-detail-header .page-title,
.sponsor-page-header .page-title {
    margin: 0;
    flex: 1 1 240px;
}
/* The name in the heading reads at the heading's size, whether MemberName renders a link or text. */
.speaker-detail-name .mud-typography {
    font: inherit;
    letter-spacing: inherit;
}
.speaker-past-presentation {
    padding: 14px 0;
    border-top: 1px solid var(--od-rail);
}
.speaker-past-topic {
    margin: 0;
    font-weight: 700;
    font-size: 1.125rem;
    line-height: 1.4;
}
.speaker-past-date {
    margin: 2px 0 4px;
    color: var(--od-steel);
}

/* CAP-04-UC-04 (A12 of the cap-04-sponsors plan, Phase 7): the public sponsor showcase's cards and a sponsor's
   page. The company name is the card's link, and the card itself isn't one, so the website and social links are
   links of their own (round 2 m4). The logo stacks above the text on a narrow card; a long name, description word
   or stored address wraps, so a phone never scrolls sideways (NF-ACC-01). The site redesign's Phase 2: ruled cells
   like the speakers', every logo in the same box on white, the name in display type. */
.sponsors-section {
    margin-bottom: 40px;
}
.sponsor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
    gap: 0 32px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.sponsor-grid > li {
    border-top: 1px solid var(--od-rail);
    min-width: 0;
}
.sponsor-card {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 20px;
    align-items: flex-start;
    height: 100%;
    padding: 20px 0;
    overflow-wrap: anywhere;
}
.sponsor-card .sponsor-logo,
.sponsor-page-header .sponsor-logo {
    box-sizing: border-box;
    padding: 8px;
    border: 1px solid var(--od-rail);
    background: var(--od-paper);
}
/* On a phone a smaller box leaves the text a readable column beside it. */
@media (max-width: 599.98px) {
    .sponsor-card .sponsor-logo,
    .sponsor-card .sponsor-logo-name {
        width: 112px;
        height: 68px;
        font-size: 0.875rem;
    }
}
.sponsor-card-text {
    flex: 1 1 160px;
    min-width: 0;
}
.sponsor-card-name {
    margin: 0;
    font-weight: 800;
    font-size: 1.5rem;
    line-height: 1.1;
}
.sponsor-card-name a {
    color: var(--od-river);
    text-decoration: none;
}
.sponsor-card-name a:hover {
    color: var(--od-ink);
    text-decoration: underline;
}
.sponsor-card-name a:focus-visible {
    text-decoration: underline;
}
.sponsor-card-description {
    margin: 6px 0 0;
    font-size: 0.9375rem;
    line-height: 1.55;
}
.sponsor-card-history {
    margin: 8px 0 0;
    font-size: 0.875rem;
    color: var(--od-steel);
}
.sponsor-links {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 16px;
    list-style: none;
    margin: 8px 0 0;
    padding: 0;
    font-weight: 600;
    overflow-wrap: anywhere;
    min-width: 0;
}
.sponsor-page-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 24px;
    margin: 8px 0 24px;
}
.sponsor-page-header .sponsor-logo,
.sponsor-page-header .sponsor-logo-name {
    width: 240px;
    height: 144px;
}
.sponsor-page-name {
    overflow-wrap: anywhere;
    min-width: 0;
}
.sponsor-page-history {
    list-style: none;
    margin: 0;
    padding: 0;
}
.sponsor-page-history li {
    padding: 10px 0;
    border-top: 1px solid var(--od-rail);
    font-weight: 600;
}

/* A logo's name in its place (UC-04 3.alt.3) on the public pages: a quiet filled box, not the form's dashed one. */
.sponsor-card .sponsor-logo-name,
.sponsor-page-header .sponsor-logo-name,
.public-meeting-sponsor .sponsor-logo-name {
    border: 1px solid var(--od-rail);
    background: #F3F5F8;
    font-weight: 700;
}

/* CAP-07 A7 (DEC-18): Save while the guest count is unchanged. It stays focusable (aria-disabled, never
   disabled, NF-ACC-02) and does nothing, so it looks disabled. */
.rsvp-save-unchanged {
    opacity: 0.6;
    cursor: default;
}

/* The RSVP result takes the focus after each action (DEC-18); it is a message, not a control. */
.rsvp-message:focus {
    outline: none;
}

/* CAP-07 A7: a guest count is a few digits; the field needn't span the page. */
.rsvp-guest-count {
    max-width: 16rem;
}

/* A meeting's sponsors and presentations (CAP-06-UC-02, UC-03; Phase 2 of the cap-06-meetings plan): a long
   company name, topic, description word or slides address wraps inside the card, so on a phone the page never
   grows wider than the screen (NF-ACC-01; found by NF_ACC_01_TheSponsorAndPresentationCardsFitAPhone at 375 px).
   The list keeps its numbers inside the card's padding. */
.meeting-sponsor-row,
.meeting-presentation {
    overflow-wrap: anywhere;
    min-width: 0;
}
.meeting-presentations {
    padding-left: 1.5rem;
    margin: 0;
}
/* A Completed meeting's photos (CAP-06-UC-07, Phase 6 of the cap-06-meetings plan): a grid of thumbnails, each with
   its caption and buttons under it, one column on a phone and as many 220 px columns as fit wider (NF-ACC-01); a long
   caption or file name wraps inside the card. */
.meeting-photos {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
}
.meeting-photo,
.meeting-photo-refusals {
    overflow-wrap: anywhere;
    min-width: 0;
}
.meeting-photo-thumbnail,
.meeting-photo-dialog-thumbnail {
    display: block;
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 4px;
}
.meeting-photo-refusals {
    padding-left: 1.25rem;
    color: var(--mud-palette-error);
}
/* "Our meetings" (CAP-06 Phase 4): a plain list of cards, no bullets. */
.our-meetings {
    list-style: none;
    padding: 0;
    margin: 0;
}
.presentation-presenters {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* A speaker's presentation history and past talks (CAP-03-UC-04, UC-05; Phase 3 of the cap-03-speakers plan):
   no bullets, and a long topic or slides address wraps inside its card, so a phone never scrolls sideways
   (NF-ACC-01). */
.presentation-history,
.speaker-past-presentations {
    list-style: none;
    padding: 0;
    margin: 0;
}
.presentation-history-row,
.speaker-past-presentation,
.presentation-link {
    overflow-wrap: anywhere;
    min-width: 0;
}

/* CAP-06 Phase 3: the publication checklist shows its own icons (met, missing), so no bullets; a long inactive
   company name wraps inside the card (NF-ACC-01). */
.meeting-checklist {
    list-style: none;
    padding: 0;
    overflow-wrap: anywhere;
}

/* CAP-04-BR-04, CAP-08-BR-03 (A12 of the cap-04-sponsors plan, Phase 6): the banner slot at the top of
   the public pages. A 120-character URL with no break point wraps instead of scrolling a phone sideways
   (NF-ACC-01, round 2 m7). */
.banner-ad-slot {
    overflow-wrap: anywhere;
    min-width: 0;
    margin: 0 0 24px;
    padding: 12px 16px;
    border-left: 4px solid var(--mud-palette-primary, #1E57A8);
    background: var(--mud-palette-background-gray, #f5f5f5);
    border-radius: 4px;
}

/* The banner card's preview (CAP-04-UC-03 step 4): the slot's own look, so it shows what guests will see. */
.banner-ad-preview {
    overflow-wrap: anywhere;
    min-width: 0;
}

/* The public pages' type (the site redesign, Phase 2): each page's h1 and each section's h2 in Big Shoulders Display,
   scaling with the window; text people read in a measure that stays readable. */
.page-title {
    margin: 8px 0 24px;
    font-weight: 900;
    font-size: clamp(2.5rem, 1.9rem + 2.6vw, 4rem);
    line-height: 1;
    overflow-wrap: anywhere;
}
.public-section-heading {
    margin: 0 0 12px;
    font-weight: 800;
    font-size: clamp(1.75rem, 1.5rem + 1vw, 2.25rem);
    line-height: 1.1;
}
.public-empty {
    margin: 0;
    font-size: 1.0625rem;
}
.public-lede {
    max-width: 68ch;
    margin: 0 0 16px;
    font-size: 1.0625rem;
    line-height: 1.6;
}
.public-back {
    margin: 0 0 16px;
    font-weight: 600;
}

/* The poster (the site redesign, Phase 2): the next meeting on the landing page and an upcoming meeting's page, on a
   Signal yellow band the width of the window. The band's box stays in the page's column, so its content lines up
   with the page's; its yellow is a shadow spread to either side and clipped above and below, which never widens the
   page (NF-ACC-01: a 100vw box counts the scroll bar and scrolls sideways). The band touches the top bar when it is
   the page's first thing (no banner ad), taking back the container's 24 px. Ink on yellow is 8.6:1; yellow is never
   text. The focus ring on it is ink (8.6:1), the blue ring being 3.9:1 there. */
.poster {
    background: var(--od-signal);
    color: var(--od-ink);
    box-shadow: 0 0 0 100vmax var(--od-signal);
    clip-path: inset(0 -100vmax);
    padding: 40px 0 48px;
    margin-bottom: 32px;
    overflow-wrap: anywhere;
    min-width: 0;
}
.mud-container > .landing:first-child > .poster,
.mud-container > .public-meeting:first-child > .poster {
    margin-top: -24px;
}
.poster a:focus-visible,
.poster button:focus-visible {
    outline-color: var(--od-ink);
}
.poster-label {
    margin: 0 0 12px;
    font-family: var(--od-font-body);
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.4;
}
.poster-card {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 24px 48px;
}
.poster-date {
    flex: 0 0 auto;
    min-width: 0;
}
.poster-card > .poster-date {
    padding-right: 40px;
    border-right: 3px solid var(--od-ink);
}
.poster-date-block {
    display: flex;
    flex-direction: column;
    font-family: var(--od-font-display);
    font-weight: 900;
    line-height: 0.82;
}
.poster-month {
    font-size: clamp(88px, 10vw, 132px);
    line-height: 0.9;
}
.poster-day {
    font-size: clamp(132px, 15vw, 196px);
}
.poster-weekday {
    margin-top: 14px;
    font-weight: 700;
    font-size: clamp(26px, 2.6vw, 34px);
    line-height: 1.1;
}
.poster-body {
    flex: 1 1 360px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.poster-card > .poster-body {
    padding-top: 28px;
}
.poster-talks {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.poster-topic {
    margin: 0;
    max-width: 700px;
    font-family: var(--od-font-display);
    font-weight: 800;
    font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4.75rem);
    line-height: 0.98;
}
.poster-speakers {
    margin: 10px 0 0;
    font-weight: 700;
    font-size: 1.1875rem;
}
.poster-facts {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 40px;
    font-size: 1.0625rem;
    line-height: 1.5;
}
.poster-fact {
    margin: 0;
    font-weight: 600;
    min-width: 0;
}
.poster-sponsor {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
}
.poster-sponsor p {
    margin: 0;
}
/* A logo on white, so one drawn for a white page reads the same on yellow. */
.poster-logo {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 6px;
    background: var(--od-paper);
}
.poster-logo .sponsor-logo,
.poster-logo .sponsor-logo-name {
    width: 112px;
    height: 56px;
    border: 0;
    font-size: 0.8125rem;
}
.poster-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.poster-outline-button.mud-button-outlined {
    border: 2px solid var(--od-ink);
    color: var(--od-ink);
}
.poster-outline-button.mud-button-outlined:hover {
    background: rgba(22, 36, 59, 0.08);
}
.poster-empty {
    margin: 0;
    max-width: 16ch;
    font-family: var(--od-font-display);
    font-weight: 800;
    font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4.5rem);
    line-height: 1;
}
/* On a phone the date block reads across ("Oct 29") over its weekday and time, with no rule beside it. */
@media (max-width: 599.98px) {
    .poster {
        padding: 28px 0 32px;
    }
    .poster-card {
        gap: 20px;
    }
    /* The full row: sized to its content, the wrapping block would count all three parts on one line. */
    .poster-card > .poster-date {
        flex: 1 1 100%;
        padding-right: 0;
        border-right: 0;
    }
    .poster-date-block {
        flex-direction: row;
        flex-wrap: wrap;
        column-gap: 18px;
    }
    .poster-month,
    .poster-day {
        font-size: clamp(72px, 26vw, 104px);
    }
    .poster-weekday {
        flex-basis: 100%;
        margin-top: 10px;
        font-size: 26px;
    }
    .poster-card > .poster-body {
        padding-top: 0;
    }
    .poster-actions .mud-button-root {
        flex: 1 1 100%;
    }
}

/* CAP-08's landing page (A11 of the cap-08-meeting-display plan, Phase 5; the site redesign, Phase 2): under the
   poster the four statistics as one row of display numerals, each its label beside it (two to a row on a phone, the
   label under the number), then the recent meetings with the overview in a side column from 960 px. Long words,
   names and topics wrap inside the page, so a phone never scrolls sideways (PR-UI-01, NF-ACC-01). */
.landing,
.landing-overview,
.landing-recent {
    overflow-wrap: anywhere;
    min-width: 0;
}
.landing-statistics {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 12px 48px;
    margin: 0;
    padding: 0 0 28px;
    border-bottom: 1px solid var(--od-rail);
}
.landing-statistic {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    align-items: baseline;
    gap: 10px;
    min-width: 0;
}
.landing-statistic-value {
    margin: 0;
    font-family: var(--od-font-display);
    font-weight: 900;
    font-size: 3rem;
    line-height: 1;
}
.landing-statistic-label {
    font-size: 1rem;
    color: var(--od-steel);
}
@media (max-width: 599.98px) {
    .landing-statistics {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
        padding-bottom: 20px;
    }
    .landing-statistic {
        flex-direction: column-reverse;
        align-items: flex-start;
        gap: 2px;
    }
    .landing-statistic-value {
        font-size: 2.25rem;
    }
    .landing-statistic-label {
        font-size: 0.875rem;
    }
}
.landing-lower {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
    margin-top: 48px;
}
@media (min-width: 960px) {
    .landing-lower {
        grid-template-columns: minmax(0, 1fr) minmax(0, 340px);
        gap: 64px;
    }
    .landing-lower > :only-child {
        grid-column: 1 / -1;
    }
}
.landing-view-all {
    margin: 20px 0 0;
    font-weight: 700;
}
.landing-side-heading {
    margin: 0 0 14px;
    font-weight: 800;
    font-size: 2rem;
    line-height: 1.1;
}
.landing-welcome,
.landing-mission {
    max-width: 72ch;
    margin: 0 0 14px;
    font-size: 1.0625rem;
    line-height: 1.6;
}
.landing-links {
    list-style: none;
    margin: 4px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    font-weight: 600;
}
.landing-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--od-river);
}

/* The timetable (MeetingSummaryList; the site redesign, Phase 2): the landing page's recent meetings and both of the
   Meetings page's lists. Each entry is one link, a rule above it: the date block in display type, then DEC-24's date,
   each topic in blue as the link's face, its speakers, and the sponsor. */
.public-meeting-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.public-meeting-list-item {
    border-top: 1px solid var(--od-rail);
    min-width: 0;
}
.timetable-entry {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 20px;
    padding: 18px 0;
    color: var(--od-ink);
    text-decoration: none;
    border-radius: 4px;
}
.timetable-date {
    display: flex;
    flex-direction: column;
    font-family: var(--od-font-display);
    line-height: 0.95;
}
.timetable-month {
    font-weight: 800;
    font-size: 1.375rem;
    color: var(--od-steel);
}
.timetable-day {
    font-weight: 900;
    font-size: 2.75rem;
}
.timetable-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}
.timetable-when {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--od-steel);
}
.timetable-talk {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.timetable-topic {
    font-weight: 700;
    font-size: 1.1875rem;
    line-height: 1.35;
    color: var(--od-river);
}
.timetable-entry:hover .timetable-topic {
    color: var(--od-ink);
    text-decoration: underline;
}
.timetable-speakers {
    font-size: 1rem;
}
.timetable-sponsor {
    font-size: 0.875rem;
    color: var(--od-steel);
}
@media (max-width: 599.98px) {
    .timetable-entry {
        grid-template-columns: 56px minmax(0, 1fr);
        gap: 14px;
        padding: 14px 0;
    }
    .timetable-month {
        font-size: 1.125rem;
    }
    .timetable-day {
        font-size: 2.125rem;
    }
    .timetable-topic {
        font-size: 1.0625rem;
    }
}

/* CAP-08's Meetings page (A3; the site redesign, Phase 2): the years a row of display numerals, the one shown on a
   yellow tag like the wordmark's, each a target of about 40 px. */
.public-meeting-years {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 6px;
    margin: 0 0 12px;
    padding: 0;
}
.public-meeting-years a {
    display: inline-block;
    padding: 4px 10px 6px;
    border-radius: 4px;
    font-family: var(--od-font-display);
    font-weight: 800;
    font-size: 1.5rem;
    line-height: 1.2;
    color: var(--od-river);
    text-decoration: none;
}
.public-meeting-years a:hover {
    color: var(--od-ink);
    text-decoration: underline;
}
.public-meeting-years a[aria-current="page"] {
    background: var(--od-signal);
    color: var(--od-ink);
}
.meetings-year-heading {
    margin: 12px 0 8px;
    font-weight: 900;
    font-size: 2.75rem;
    line-height: 1;
}

/* CAP-08's meeting page (A2, A7 of the cap-08-meeting-display plan, Phase 1; the site redesign, Phase 2): the poster
   above for an upcoming meeting, a quieter header for a past one (its date the visible h1, a heavy ink rule under it);
   then the welcome and presentations beside the sponsors, venue and RSVP from 960 px, stacked in that order on a
   phone; presenters and sponsors each a row that wraps under its avatar or logo; lists without bullets; a long topic,
   company name, address or link wraps inside the page, so a phone never scrolls sideways (PR-UI-01, NF-ACC-01). */
.public-meeting,
.public-meeting-section {
    overflow-wrap: anywhere;
    min-width: 0;
}
.public-meeting-section {
    margin-top: 32px;
}
.meeting-hero-past {
    padding: 8px 0 28px;
    margin-bottom: 8px;
    border-bottom: 3px solid var(--od-ink);
}
.meeting-hero-past-inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
/* In the past header's column, the body's 360 px basis would be a height. */
.meeting-hero-past .poster-body {
    flex: 0 0 auto;
}
.meeting-hero-past .poster-label {
    margin-bottom: 8px;
    color: var(--od-steel);
}
.meeting-hero-when {
    margin: 0;
    font-weight: 900;
    font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3.75rem);
    line-height: 1;
}
.meeting-hero-past .poster-topic {
    font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.75rem);
    line-height: 1.05;
}
.meeting-hero-past .poster-speakers {
    margin-top: 6px;
    font-weight: 600;
    font-size: 1.0625rem;
}
.meeting-columns {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    column-gap: 64px;
}
@media (min-width: 960px) {
    .meeting-columns {
        grid-template-columns: minmax(0, 1fr) minmax(0, 360px);
    }
    .meeting-columns > :only-child {
        grid-column: 1 / -1;
    }
}
.meeting-main,
.meeting-side {
    min-width: 0;
}
.meeting-main > :first-child,
.meeting-side > :first-child {
    margin-top: 24px;
}
.meeting-welcome {
    max-width: 68ch;
    margin: 24px 0 0;
    font-size: 1.125rem;
    line-height: 1.6;
}
.meeting-side .public-section-heading {
    font-size: 1.625rem;
}
.public-meeting-presentations,
.public-presenters,
.public-meeting-sponsors {
    list-style: none;
    margin: 0;
    padding: 0;
}
.public-meeting-presentation {
    padding: 20px 0;
    border-top: 1px solid var(--od-rail);
}
.meeting-talk-topic {
    margin: 0 0 8px;
    font-weight: 800;
    font-size: 1.75rem;
    line-height: 1.1;
}
.meeting-talk-description {
    max-width: 68ch;
    margin: 0 0 8px;
    line-height: 1.6;
}
.public-presenters {
    margin-top: 8px;
}
.public-presenter,
.public-meeting-sponsor {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 12px 16px;
    margin-top: 16px;
}
.public-presenter-text,
.public-meeting-sponsor-text {
    flex: 1 1 200px;
    min-width: 0;
}
.public-meeting-sponsor .sponsor-logo,
.public-meeting-sponsor .sponsor-logo-name {
    width: 120px;
    height: 72px;
}
.public-meeting-sponsor .sponsor-logo {
    box-sizing: border-box;
    padding: 6px;
    border: 1px solid var(--od-rail);
}
.meeting-sponsor-mark {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--od-steel);
}
.meeting-sponsor-name {
    font-weight: 700;
    font-size: 1.0625rem;
}
/* CAP-08-DEC-34: a sponsor's full description under its name in the side column, a step smaller than the main
   column's text so a long one stays readable in the narrow box. Its headings keep their ranks but stay near the
   sponsor's name in size, so a "##" in a description doesn't outshout the box's own heading. */
.meeting-sponsor-description {
    margin: 6px 0 8px;
    font-size: 0.9375rem;
    line-height: 1.55;
}
.meeting-sponsor-description .long-text-heading {
    margin: 0.75em 0 0.25em;
}
.meeting-sponsor-description .long-text-rank-1 { font-size: 1.125rem; }
.meeting-sponsor-description .long-text-rank-2 { font-size: 1.0625rem; }
.meeting-sponsor-description .long-text-rank-3 { font-size: 1rem; }
.public-venue {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.rsvp-card.mud-paper-outlined {
    border: 2px solid var(--od-ink);
    border-radius: 8px;
}
.meeting-attendees {
    font-weight: 700;
    font-size: 1.125rem;
}
/* CAP-08-DEC-35: a past meeting's intro, the main column's first section (its spacing is .meeting-main's first child). */
.meeting-intro-text {
    max-width: 68ch;
    margin: 0;
    line-height: 1.6;
}
.meeting-all-meetings {
    font-weight: 600;
}

/* CAP-08's photo gallery (A9 of the cap-08-meeting-display plan, Phase 3; BR-09, DEC-04): square cells of at least
   140 px, as many as fit (two on a 375 px phone), each thumbnail cropped to fill its cell, so a lazily loaded image
   never moves the grid (review m2); no horizontal scroll at any width (PR-UI-01, NF-ACC-01). Its own class names:
   .meeting-photos is the Leader's photo card. */
.public-meeting-gallery {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 8px;
}
.public-meeting-gallery-item {
    min-width: 0;
}
.public-meeting-gallery-link {
    display: block;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 4px;
    background: var(--mud-palette-background-gray);
}
.public-meeting-gallery-link:focus-visible {
    outline: 3px solid var(--mud-palette-primary);
    outline-offset: 2px;
}
.public-meeting-gallery-thumbnail {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* The lightbox (templateApp.photoLightbox in js/app.js): a native modal dialog in the middle of the screen, up to
   960 px wide and a phone's width less 16 px a side; the whole photo shown, never cropped, under the page's height; the controls wrap (NF-ACC-01). */
.photo-lightbox {
    box-sizing: border-box;
    width: min(960px, calc(100vw - 32px));
    max-width: none;
    max-height: calc(100vh - 32px);
    /* Centered: the user agent's margin: auto, which a global reset takes away. */
    margin: auto;
    padding: 12px 16px 16px;
    border: none;
    border-radius: 8px;
    background: var(--mud-palette-surface);
    color: var(--mud-palette-text-primary);
    overflow-wrap: anywhere;
}
.photo-lightbox::backdrop {
    background: rgba(0, 0, 0, 0.8);
}
.photo-lightbox-header,
.photo-lightbox-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.photo-lightbox-status {
    margin: 0;
}
.photo-lightbox-figure {
    margin: 12px 0;
}
.photo-lightbox-image {
    display: block;
    max-width: 100%;
    max-height: calc(100vh - 220px);
    margin: 0 auto;
    object-fit: contain;
}
.photo-lightbox-caption {
    margin-top: 8px;
}
/* A 44 px target per button; aria-disabled at an end (DEC-29) is shown dimmed and stays focusable. */
.photo-lightbox-button {
    min-height: 44px;
    min-width: 88px;
    padding: 8px 16px;
    border: 1px solid var(--mud-palette-primary);
    border-radius: 4px;
    background: transparent;
    color: var(--mud-palette-primary);
    font: inherit;
    font-weight: 500;
    cursor: pointer;
}
.photo-lightbox-button:focus-visible {
    outline: 3px solid var(--mud-palette-primary);
    outline-offset: 2px;
}
.photo-lightbox-button[aria-disabled="true"] {
    opacity: 0.5;
    cursor: default;
}

/* CAP-01-UC-10's merge summary (A10 of the account-merge plan): the two accounts sit side by side and stack below
   600 px; a long email or name wraps inside its side and its list item, so a phone never scrolls sideways (PR-UI-04). */
.merge-page,
.merge-side,
.merge-list {
    overflow-wrap: anywhere;
}
.merge-list {
    margin: 0;
    padding-left: 1.25rem;
}

/* CAP-14 announcements (A6 of the announcements plan): the public list, the landing page's section above the next
   meeting (CAP-08-BR-17) and an announcement's page. Ruled rows, ink on white, in the public pages' type; the text in a
   readable measure. Nothing is wider than the column (PR-UI-01). */
.announcement-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.announcement-list-item {
    padding: 16px 0;
    border-top: 1px solid var(--od-rail);
    min-width: 0;
    overflow-wrap: anywhere;
}
.announcement-list-item:last-child {
    border-bottom: 1px solid var(--od-rail);
}
.announcement-list-title {
    margin: 0 0 4px;
    font-weight: 800;
    font-size: 1.375rem;
    line-height: 1.2;
}
.announcement-byline {
    margin: 0 0 8px;
    font-size: 0.9375rem;
    color: var(--od-steel);
}
.announcement-excerpt {
    max-width: 68ch;
    margin: 0;
    line-height: 1.6;
}
/* CAP-08-BR-17, DEC-37 (landing-announcement-poster, 2026-11-25): the latest announcement as a navy handbill set into
   the yellow band, beside the next meeting on a wide screen and after it on a narrower one. The one bold move is the
   card itself: ink on Signal, squared off with a hard offset shadow in a deeper yellow and a slight tilt, like a notice
   pinned to the poster; inside it everything is quiet. Paper on ink is 15:1, the label's Signal on ink 8.6:1, and the
   focus ring on ink is Signal (the band's ink ring would vanish here). The tilt is dropped for reduced motion and on a
   phone, where the card spans the column. */
.poster-has-note {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    align-items: center;
}
.poster-main {
    min-width: 0;
}
@media (min-width: 1100px) {
    .poster-has-note {
        grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
        gap: 56px;
    }
}
.poster-note {
    background: var(--od-ink);
    color: var(--od-paper);
    padding: 24px 28px 28px;
    border-radius: 2px;
    box-shadow: 8px 8px 0 #C99400;
    min-width: 0;
    overflow-wrap: anywhere;
}
@media (min-width: 1100px) and (prefers-reduced-motion: no-preference) {
    .poster-note {
        transform: rotate(-1deg);
    }
}
.poster-note-label {
    margin: 0 0 12px;
    font-family: var(--od-font-body);
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--od-signal);
}
.poster-note-title {
    margin: 0 0 8px;
    font-family: var(--od-font-display);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.05;
}
.poster-note-title a {
    color: var(--od-paper);
    text-decoration: none;
}
.poster-note-title a:hover {
    /* The site's a:not([class]):hover turns a link ink, the card's own color; this has its specificity and comes later,
       so the title stays paper on hover (bug announcement-card-hover, 2026-11-25). */
    color: var(--od-paper);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}
.poster-note-byline {
    margin: 0 0 16px;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--od-on-ink-2);
}
.poster-note-excerpt {
    margin: 0 0 24px;
    font-size: 1rem;
    line-height: 1.55;
}
.poster-note-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 24px;
    margin: 0;
}
.poster-note-read {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 4px;
    background: var(--od-signal);
    color: var(--od-ink);
    font-weight: 700;
    text-decoration: none;
}
.poster-note-read:hover {
    background: var(--od-paper);
}
.poster-note-all {
    color: var(--od-paper);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.poster .poster-note a:focus-visible {
    outline: 3px solid var(--od-focus-on-ink);
    outline-offset: 3px;
}
.public-announcement {
    min-width: 0;
    overflow-wrap: anywhere;
}
.announcement-text {
    max-width: 68ch;
    margin: 0 0 24px;
    line-height: 1.6;
}
.announcement-all {
    font-weight: 600;
}
/* CAP-14's Manage list (the UI table): one ruled row per announcement, the title over its chip and dates. */
.manage-announcement-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.manage-announcement-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 0;
    border-bottom: 1px solid var(--od-rail);
    min-width: 0;
    overflow-wrap: anywhere;
}
