@import url("console-components.476db5aa5985.css");
@import url("components/image_field.db69109d5b86.css");
/* M137.1.4: the design stylesheet, first written as the kit's specimen-uswds.css (M137.1.3) and rewritten for the console's dark attribute. Component rules only; a page has no rule of its own here. */
/* The typefaces, self-hosted in app/static/fonts/; USWDS's settings name the family, this names the files. */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/inter-variable.2bf3d951bf9d.woff2") format('woff2'); }
@font-face { font-family: 'Petrona'; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/petrona-700-latin.93bdf470acd9.woff2") format('woff2'); }
@font-face { font-family: 'Work Sans'; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/worksans-latin.4890688e6436.woff2") format('woff2'); }

/* This stylesheet is unlayered and USWDS sits in the cascade layer "uswds" (vendor-src/uswds/build.sh), so
   every rule below outranks USWDS, the dark copies under html[data-appearance="dark"] included; the kit got
   the same result with a selector prefix. The values come from scratch-codex-v2 (Will's refinement, 2026-11-04) and are component
   directions for the design-system brief; USWDS has no setting for them. */

/* USWDS prose spacing must not add margins to a component after a paragraph. */
:root { color-scheme: light; --console-bottom-menu-height: calc(61px + env(safe-area-inset-bottom, 0px)); }
:root[data-appearance="dark"] { color-scheme: dark; }
:where(.design-page, .design-region) :where(p + *) { margin-top: 0; }

/* Shared design normalization keeps physical dimensions independent of an
   intermediate form or control. The vendor's horizontal-rule exception stays. */
:where(.design-page, .design-region),
:where(.design-page, .design-region) :where(:not(hr)),
:where(.design-page, .design-region) *::before,
:where(.design-page, .design-region) *::after { box-sizing: border-box; }

/* Text links own their typography, including inside a card or a module. */
.usa-tag, .status, .count, .usa-input, .usa-select, .usa-textarea, .usa-button { box-sizing: border-box; }
.usa-input, .usa-select, .usa-textarea, .usa-button { font-family: Inter, system-ui, sans-serif; font-kerning: normal; font-feature-settings: "kern" 1; }
.usa-link { font-family: Inter, system-ui, sans-serif; font-size: 16px; font-weight: 600; line-height: 24px; }
.usa-link[aria-current="location"] { font-weight: 600; color: var(--c-text); }
html[data-appearance="dark"] .usa-link[aria-current="location"] { color: var(--c-text); }
.usa-card { margin: 0; }

/* The page */
.grid-container { max-width: 72rem; padding-inline: 28px; }
.specimen { padding-block: 40px; border-block-end: 1px solid var(--c-surface); }
.specimen__label { margin: 0 0 24px; font-size: 12px; font-weight: 600; letter-spacing: .02em; color: var(--c-base-dark); max-width: none; overflow-wrap: anywhere; }
.sheet-row { margin-block-start: 32px; }
.sheet-row > h3 { margin: 0 0 12px; }
.sheet-panel { display: grid; gap: 12px; align-content: start; padding: 24px; background: var(--c-body-background); color: var(--c-text); border: 1px solid var(--c-surface); border-radius: var(--s-border-radius-md); min-height: 100%; }
.sheet-panel__label { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .02em; color: var(--c-base-dark); }
.sheet-raised { padding: 16px; background: var(--c-rest-fill); border-radius: var(--s-border-radius-md); }
.sheet-rule { height: 1px; margin-block-start: 16px; background: var(--c-control-border); }
.sheet-buttons, .form-actions { display: flex; flex-wrap: wrap; gap: 12px; }
/* M282.21 (M282.21-draft D1 to D3, D7): the row of a form's buttons, form_actions.html given main, cancel, remove or more. The main button last at the right edge, « Cancel » just at its left, a « Delete » or « Remove » alone at the left edge; under 480 px one under the other, the main one on top. Sizes are the action button's own. */
.form-actions--form { justify-content: flex-end; align-items: center; }
.form-actions--form > .form-actions__apart { margin-inline-end: auto; }
@media (max-width: 479.98px) { .form-actions--form { flex-direction: column-reverse; align-items: stretch; } .form-actions--form > .usa-button.usa-button--action { width: 100%; } .form-actions--form > .form-actions__apart { margin-inline-end: 0; } }

/* Text */
:where(.design-page, .design-region) h1 { font-family: 'Petrona', Georgia, serif; font-weight: 700; font-size: 44px; line-height: 1.05; }
:where(.design-page, .design-region) h2 { font-family: Inter, system-ui, sans-serif; font-weight: 600; line-height: 1.2; font-size: 24px; }
:where(.design-page, .design-region) h3 { font-family: Inter, system-ui, sans-serif; font-weight: 600; line-height: 1.2; font-size: 18px; }
:where(.design-page, .design-region) h4 { font-family: Inter, system-ui, sans-serif; font-weight: 600; line-height: 1.2; font-size: 16px; }
:where(.design-page, .design-region) p { font-size: 16px; line-height: 24px; }
:where(.design-page, .design-region) a:focus-visible, :where(.design-page, .design-region) button:focus-visible { outline: 2px solid var(--c-focus); outline-offset: 3px; }
:where(.design-page, .design-region) :where(a, button, summary, [tabindex]):focus:not(:focus-visible):not(.usa-focus) { outline: none; }

/* Buttons: 42px, hairline outline for the secondary styles, hover and pressed as mixes with the text colour */
.usa-button, [data-button-variant="primary"] { display: inline-flex; align-items: center; justify-content: center; max-width: 100%; border: 0; cursor: pointer; font-family: Inter, system-ui, sans-serif; text-align: center; text-decoration: none; min-height: 42px; padding: 10px 16px; border-radius: var(--s-border-radius-sm); background: var(--c-primary); color: var(--c-on-primary); font-size: 14px; font-weight: 600; line-height: 1.2; }
[data-button-variant="primary"]:hover, .usa-button:hover, .usa-button.usa-button--hover { background: color-mix(in srgb, var(--c-primary) 85%, var(--c-text)); color: var(--c-on-primary); }
[data-button-variant="primary"]:active, .usa-button:active, .usa-button.usa-button--active { background: color-mix(in srgb, var(--c-primary) 70%, var(--c-text)); color: var(--c-on-primary); }
.usa-button.usa-button--outline, .usa-button.usa-button--base { background: transparent; color: var(--c-text); font-weight: 500; box-shadow: inset 0 0 0 1px var(--c-control-border); }
.usa-button.usa-button--outline:hover, .usa-button.usa-button--base:hover { background: var(--c-hover-fill); color: var(--c-text); box-shadow: inset 0 0 0 1px var(--c-control-border); }
.usa-button:disabled, .usa-button[disabled], .usa-button:disabled:hover { background: var(--c-rest-fill); color: var(--c-base-dark); box-shadow: none; }
.usa-button:focus, [data-button-variant="primary"]:focus { outline: none; }
.usa-button:focus-visible, [data-button-variant="primary"]:focus-visible { outline: 2px solid var(--c-focus); outline-offset: 3px; }
/* M282.21: the button centres its words (rule above); these pieces keep their words where they were: a timeline card's lines across its width, the place picker and a picture's buttons flowing as text. */
.usa-button:is(.timeline__card, .place__picker, .poster__change, .poster__delete) { display: inline-block; }

/* Tags and status pills */
.usa-tag { display: inline-block; font-family: Inter, system-ui, sans-serif; margin: 0; padding: 1px 7px; border: 1px solid #c2c2c2; border-radius: 999px; background: color-mix(in srgb, var(--c-primary) 5%, var(--c-paper)); color: #6b727e; font-size: 12px; font-weight: 300; line-height: 18px; letter-spacing: 0; text-transform: none; }
html[data-appearance="dark"] .usa-tag { border-color: #4a4a4a; color: #888f9a; }
.status { display: inline-block; margin: 0; font-family: Inter, system-ui, sans-serif; letter-spacing: 0; padding: 1px 7px; border: 1px solid var(--c-control-border); border-radius: 999px; color: var(--c-base-dark); font-size: 13px; line-height: 18px; }

/* Fields: 14px labels, 42px fields on the small radius, 5px inside a group, 18px between groups, error under the field */
.usa-form-group { margin: 18px 0 0; line-height: 24px; }
.usa-form-group.margin-top-0 { margin-top: 0; }
.usa-label { margin: 0 0 1px; font-size: 14px; font-weight: 500; line-height: 20px; color: var(--c-text); max-width: none; }
.usa-label--error { color: var(--c-text); }
.usa-input, .usa-select { float: none; height: 42px; min-height: 42px; margin: 0; padding: 9px 12px; border: 1px solid var(--c-control-border); border-radius: var(--s-border-radius-sm); background: var(--c-paper); color: var(--c-text); font-size: 16px; line-height: 22px; max-width: none; }
.usa-select { padding-right: 36px; background-image: linear-gradient(45deg, transparent 50%, var(--c-base-dark) 50%), linear-gradient(135deg, var(--c-base-dark) 50%, transparent 50%); background-position: calc(100% - 18px) 18px, calc(100% - 13px) 18px; background-size: 5px 5px; background-repeat: no-repeat; }
.usa-input:focus, .usa-select:focus, .usa-input.usa-focus { outline: 2px solid var(--c-focus); outline-offset: 0; border-color: transparent; box-shadow: none; }
.usa-form-group--error { margin-left: 0; padding-left: 0; border-left: 0; }
.usa-input--error { border: 1px solid var(--c-primary); }
.usa-error-message { display: block; margin: 1px 0 0; padding: 0; color: var(--c-primary); font-size: 13px; font-weight: 400; line-height: 18px; }
.usa-input:disabled, .usa-input[disabled] { background: var(--c-rest-fill); color: var(--c-base-dark); border-color: var(--c-control-border); opacity: 1; }
.usa-checkbox { background: transparent; margin-top: 12px; }
.usa-checkbox__label { font-size: 14px; line-height: 20px; color: var(--c-text); padding-left: 28px; }
.usa-checkbox__label::before { width: 18px; height: 18px; border-radius: 3px; background: var(--c-paper); box-shadow: 0 0 0 1px var(--c-control-border); }
.usa-checkbox__input:checked + .usa-checkbox__label::before { background-color: var(--c-primary); box-shadow: 0 0 0 1px var(--c-primary); }
.usa-checkbox__input:focus + .usa-checkbox__label::before { outline: none; }
.usa-checkbox__input:focus-visible + .usa-checkbox__label::before { outline: 2px solid var(--c-focus); outline-offset: 2px; }

/* Messages: pastel edges and tints, the same four in both appearances (the dark tint mixed into the paper) */
.usa-alert { margin-top: 12px; background: var(--c-paper); border-left: 8px solid; color: var(--c-text); }
.usa-alert.margin-top-0 { margin-top: 0; }
.usa-alert__heading { font-size: 16px; font-weight: 700; margin: 0 0 4px; }
.usa-alert__text { font-size: 16px; line-height: 24px; }
.usa-alert--info { border-left-color: #64bdd8; background: #edf8fb; }
.usa-alert--success { border-left-color: #72b65a; background: #eff7ed; }
.usa-alert--warning { border-left-color: #f4cb68; background: #fff9e9; }
.usa-alert--error { border-left-color: #d77c54; background: #fcf0e9; }
html[data-appearance="dark"] .usa-alert--info { background: color-mix(in srgb, #64bdd8 10%, var(--c-paper)); }
html[data-appearance="dark"] .usa-alert--success { background: color-mix(in srgb, #72b65a 10%, var(--c-paper)); }
html[data-appearance="dark"] .usa-alert--warning { background: color-mix(in srgb, #f4cb68 10%, var(--c-paper)); }
html[data-appearance="dark"] .usa-alert--error { background: color-mix(in srgb, #d77c54 10%, var(--c-paper)); }

/* Cards */
.usa-card__container { border: 1px solid var(--c-surface); border-radius: var(--s-border-radius-md); background: var(--c-paper); color: var(--c-text); }
.usa-card__body, .usa-card__header, .usa-card__footer { background: transparent; }

/* The calendar tile (M302.7, M302 draft D18): one look, today's tile of mirageloft.com, 40 px square: the month in capitals on the surface's band, the day under it; no weekday. The tile of a row's icon (components/row_list.css) is its size. */
.calendar { box-sizing: border-box; display: grid; grid-template-rows: 16px 22px; width: 40px; min-width: 40px; height: 40px; flex: 0 0 40px; padding: 0; border: 1px solid var(--c-surface); border-radius: var(--s-border-radius-sm); overflow: hidden; background: var(--c-paper); color: var(--c-base-dark); text-align: center; }
.calendar span { display: block; padding: 0 2px; overflow: hidden; background: var(--c-surface); font-size: 8px; font-weight: 600; letter-spacing: .04em; line-height: 16px; text-transform: uppercase; white-space: nowrap; }
.calendar strong { display: block; font-size: 16px; font-weight: 500; line-height: 22px; }

/* The event page */
.poster { aspect-ratio: 16 / 9; overflow: hidden; margin: 0; }
.poster img { width: 100%; height: 100%; object-fit: cover; display: block; }
.event-head { margin-top: 24px; display: grid; gap: 8px; }
.event-head h1 { margin: 0; max-width: 28ch; }
.booking .usa-card__body { padding: 24px; display: grid; gap: 20px; }
.booking__when { display: flex; align-items: center; gap: 12px; }
.booking__date { margin: 0; font-size: 16px; line-height: 1.5; font-weight: 500; }
.booking__place { margin: 0; font-size: 13px; line-height: 1.5; color: var(--c-base-dark); }
.booking__price { margin: 0; font-size: 22px; font-weight: 600; line-height: 1.3; }
.booking__policy { margin: 0; font-size: 13px; line-height: 1.5; color: var(--c-base-dark); }

/* The events list: cards with the photo, the tile and the text as one link */
.event-month { margin: 0 0 16px; font-size: 14px; font-weight: 500; line-height: 20px; color: var(--c-base-dark); }
.event-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; max-width: none; }
.event-list li { max-width: none; margin: 0; }
/* Hisham, 2026-11-13: the row option of the event card and the quiet section heading take the specs of today's
   console events list (main's .evlist__row and .evlist__month in admin.css), measured on the running local console:
   no box; a 48 px square picture with 8 px corners (56 px from 768 px), 10 px to the text; the name 15 px 600 on 20 px
   in the loud colour, stretched over the row; the date line 13 px 500 on 18 px, 1 px below; the quiet line 12.5 px on
   18 px, 2 px below, its pills 11.5 px 600 on 16 px; the numbers 12 px quiet, the count 15 px 600 loud after a 14 px
   person; the menu button 28 x 44 px with 6 px corners; a 1 px hairline between two rows from the text's left edge;
   12 px above and below a row (14 px from 768 px). */
.event-rows { margin: 0; padding: 0; list-style: none; max-width: none; container-type: inline-size; }
.event-row { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr) auto 28px; column-gap: 10px; align-items: start; max-width: none; margin: 0 -8px; padding: 12px 8px; border-radius: 8px; list-style: none; font-size: 13px; line-height: 20px; }
.event-row + .event-row::before { content: ""; position: absolute; inset: 0 8px auto 66px; border-top: 1px solid var(--c-surface); }
.event-row:has(.event-row__title:active) { background: var(--c-surface); }
.event-row__pic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 8px; object-fit: cover; color: var(--c-base-dark); }
.event-row__pic--empty { background: var(--c-rest-fill); }
.event-row__pic--empty svg { width: 13px; height: 19px; fill: currentColor; }
.event-row__text { min-width: 0; }
.event-row a.event-row__title, .event-row a.event-row__title:visited { display: block; color: #241d18; font-size: 15px; font-weight: 600; line-height: 20px; text-decoration: none; overflow-wrap: anywhere; }
html[data-appearance="dark"] .event-row a.event-row__title, html[data-appearance="dark"] .event-row a.event-row__title:visited { color: #ffffff; }
.event-row__title::after { content: ""; position: absolute; inset: 0; }
/* Hisham, 2026-11-13, after Stripe: the whole row opens the evening. The name stays plain text (no underline); the row under the pointer
   takes a light fill 8 px past the text with 8 px corners, the hairlines beside it step aside, and the keyboard ring goes round the row. */
@media (hover: hover) { .event-row:hover { background: color-mix(in srgb, var(--c-surface) 60%, transparent); } .event-row:hover::before, .event-row:hover + .event-row::before { border-top-color: transparent; } }
.event-row a.event-row__title:focus-visible { outline: none; }
.event-row:has(a.event-row__title:focus-visible) { outline: 2px solid var(--c-focus); outline-offset: -2px; }
.event-row.event-row--struck a.event-row__title { color: var(--c-base-dark); text-decoration: line-through; }
.event-row__when { display: block; margin-top: 1px; font-size: 13px; font-weight: 500; line-height: 18px; color: var(--c-text); }
.event-row__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 3px 6px; margin-top: 2px; font-size: 12.5px; line-height: 18px; color: var(--c-base-dark); }
.event-row__meta .editor-relations__group { display: contents; }
.event-row__meta .editor-relations__note { margin: 0; font-size: inherit; line-height: inherit; color: inherit; }
.event-row__meta .status { margin: 0; padding: 0 7px; font-size: 11.5px; font-weight: 600; line-height: 16px; }
.event-row__meta .status--quiet, html[data-appearance="dark"] .event-row__meta .status--quiet { border-color: var(--c-control-border); background: var(--c-rest-fill); color: var(--c-base-dark); }
.event-row__meta .status--warning { border-color: #e3ce9b; background: #fff9e9; color: var(--c-base-dark); }
.event-row__meta .status--error { border-color: #e3bfb4; background: #fcf0e9; color: var(--c-base-dark); }
html[data-appearance="dark"] .event-row__meta .status--warning { border-color: #5a4a1c; background: #2a2416; color: var(--c-base-dark); }
html[data-appearance="dark"] .event-row__meta .status--error { border-color: #5e3128; background: #2e1f1c; color: var(--c-base-dark); }
.event-row__nums { display: grid; justify-items: end; padding-top: 1px; font-size: 12px; line-height: 18px; color: var(--c-base-dark); text-align: right; white-space: nowrap; }
.event-row__nums strong { font-size: 15px; font-weight: 600; line-height: 20px; color: #241d18; }
html[data-appearance="dark"] .event-row__nums strong { color: #ffffff; }
.event-row__people { display: flex; align-items: baseline; justify-content: flex-end; gap: 4px; }
.event-row__people .usa-icon { flex: none; width: 14px; height: 14px; align-self: center; --line-stroke: 1.6; }
.event-row__nums .usa-button.usa-button--action { position: relative; z-index: 1; margin-top: 12px; padding: 0 11px; font-size: 13px; line-height: 18px; box-shadow: inset 0 0 0 1px var(--c-control-border); }
html .event-row .event-row__nums .usa-button.usa-button--action, html .event-row .event-row__nums .usa-button.usa-button--action:hover { color: var(--c-text); box-shadow: inset 0 0 0 1px var(--c-control-border); }
html .event-row .event-row__nums .usa-button.usa-button--action:hover { background: var(--c-surface); }
.event-row__menu { position: relative; z-index: 1; }
.event-row__menu:has(details[open]) { z-index: 4; }
.event-row__menu .menu__panel { min-width: 168px; }
@container (min-width: 480px) {
  .event-row { grid-template-columns: 56px minmax(0, 1fr) minmax(7rem, auto) 28px; padding: 14px 8px; }
  .event-row + .event-row::before { left: 74px; }
  .event-row__pic { width: 56px; height: 56px; }
}

/* The account form */
.form-card { max-width: 34rem; }
.form-card .usa-card__header { padding: 24px 24px 0; }
.form-card .usa-card__heading { margin: 0; font-size: 18px; }
.form-intro { margin: 4px 0 0; font-size: 13px; line-height: 20px; color: var(--c-base-dark); }
.form-card .usa-card__body { padding: 24px; }
.form-card .usa-card__footer { margin: 0 24px; padding: 18px 0 24px; border-top: 1px solid var(--c-surface); }

/* The members list */
/* The filter tabs. Hisham, 2026-11-13: today's pill row (.chiprow in main's admin.css, the filters above an
   evening's guests and the events list), measured on the running console the same day: 36 px pills, 12 px sides,
   8 px apart, 6 px corners, a 1 px line (#EEE7DC, dark #2A2A27) on the white card (dark #242422), the label at
   14 px and 500 in the text colour with its count at 13 px in the quiet grey (#565C65, dark #A9AEB1), 6 px apart;
   under the pointer the line darkens (#79847F, dark #909090); the chosen pill is outlined twice as thick in near
   black (#241D18, dark white: the second pixel is an inset shadow, so no pill changes size), never filled; the
   focus ring is 2 px of the same ink, 2 px out. One line that scrolls sideways; a side that hides pills fades over
   56 px and shows a small arrow (the action icon button), as on Stripe's dashboard (js/component-edge-fade.js
   marks the sides; every table shares the fade, without the arrows). The row keeps today's 2 px above and 10 px below the pills; its 4 px of inner margin on the sides and above, taken back by a negative margin, keeps the focus ring inside the scroll box. */
@property --edge-keep-start { syntax: "<length>"; inherits: false; initial-value: 0px; }
@property --edge-keep-end { syntax: "<length>"; inherits: false; initial-value: 0px; }
@property --edge-clear-start { syntax: "<length>"; inherits: false; initial-value: 0px; }
@property --edge-clear-end { syntax: "<length>"; inherits: false; initial-value: 0px; }
@property --edge-fade-start { syntax: "<length>"; inherits: false; initial-value: 0px; }
@property --edge-fade-end { syntax: "<length>"; inherits: false; initial-value: 0px; }
/* The edge fade, one behaviour shared by this row and every table's scroll box (js/component-edge-fade.js marks a side
   that hides content): from the side in, « keep » stays whole (a table's pinned column), « clear » is fully faded (the
   pills' 32 px under the arrow) and « fade » is where the content is whole again. Unmarked, every stop is 0 and nothing fades. */
.filters, .usa-table-container--scrollable:is([data-more-start], [data-more-end]):not(:focus-visible) { -webkit-mask-image: linear-gradient(90deg, #000 var(--edge-keep-start), transparent var(--edge-keep-start), transparent var(--edge-clear-start), #000 var(--edge-fade-start), #000 calc(100% - var(--edge-fade-end)), transparent calc(100% - var(--edge-clear-end)), transparent calc(100% - var(--edge-keep-end)), #000 calc(100% - var(--edge-keep-end))); mask-image: linear-gradient(90deg, #000 var(--edge-keep-start), transparent var(--edge-keep-start), transparent var(--edge-clear-start), #000 var(--edge-fade-start), #000 calc(100% - var(--edge-fade-end)), transparent calc(100% - var(--edge-clear-end)), transparent calc(100% - var(--edge-keep-end)), #000 calc(100% - var(--edge-keep-end))); }
.filters, .usa-table-container--scrollable { transition: --edge-keep-start .15s ease, --edge-keep-end .15s ease, --edge-clear-start .15s ease, --edge-clear-end .15s ease, --edge-fade-start .15s ease, --edge-fade-end .15s ease; }
.filter-tabs { position: relative; box-sizing: border-box; width: 100%; min-width: 0; contain: inline-size; }  /* the pills never widen the page: the row scrolls inside the width it is given */
.filters { display: flex; flex-wrap: nowrap; gap: 8px; align-items: center; margin: -2px -4px 0; padding: 4px 4px 10px; list-style: none; max-width: none; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; scroll-padding-inline: 88px; }
.filters::-webkit-scrollbar { display: none; }
/* The arrow (28 px, plus the row's 4 px overhang) is opaque, so the 56 px fade runs from where the pills are whole
   to the arrow's inner edge and the 32 px under the arrow stay clear: drawn under the arrow, the fade showed only
   its first 24 px and the pills looked cut off sharply at the arrow (Hisham, 2026-11-13). */
.filters[data-more-start] { --edge-clear-start: 32px; --edge-fade-start: 88px; }
.filters[data-more-end] { --edge-clear-end: 32px; --edge-fade-end: 88px; }
.filters li { flex: none; margin: 0; max-width: none; }
.filters .filters__item { box-sizing: border-box; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; margin: 0; padding: 0 12px; border: 1px solid var(--c-surface); border-radius: 6px; background: var(--c-paper); color: var(--c-text); font-family: Inter, system-ui, sans-serif; font-size: 14px; font-weight: 500; line-height: 1; letter-spacing: normal; white-space: nowrap; text-decoration: none; cursor: pointer; }
.filters .filters__item:visited { color: var(--c-text); }
.filters .filters__item b { color: var(--c-base-dark); font-size: 13px; font-weight: 500; }
.filters .filters__item:hover, .filters .filters__item.filters__hover { border-color: var(--c-control-border); color: var(--c-text); }
.filters .filters__item[aria-current="page"], .filters .filters__item[aria-current="page"]:visited, .filters .filters__item[aria-current="page"]:hover, .filters .filters__item[aria-pressed="true"] { border-color: #241d18; box-shadow: inset 0 0 0 1px #241d18; color: #241d18; }
html[data-appearance="dark"] .filters .filters__item[aria-current="page"], html[data-appearance="dark"] .filters .filters__item[aria-current="page"]:visited, html[data-appearance="dark"] .filters .filters__item[aria-current="page"]:hover, html[data-appearance="dark"] .filters .filters__item[aria-pressed="true"] { border-color: #ffffff; box-shadow: inset 0 0 0 1px #ffffff; color: #ffffff; }
.filters .filters__item:focus-visible { outline: 2px solid #241d18; outline-offset: 2px; }
html[data-appearance="dark"] .filters .filters__item:focus-visible { outline-color: #ffffff; }
/* The arrows sit over the faded edge, centred on the pills; hidden until the script marks a side. */
.filter-tabs > .usa-button.filter-tabs__arrow { position: absolute; top: 8px; z-index: 1; display: none; }  /* 8 px: centred on the 36 px pills, which start 4 px below the row's top edge */
.filter-tabs > .filter-tabs__arrow--start { left: 0; }
.filter-tabs > .filter-tabs__arrow--end { right: 0; }
.filter-tabs:has(> .filters[data-more-start]) > .usa-button.filter-tabs__arrow--start, .filter-tabs:has(> .filters[data-more-end]) > .usa-button.filter-tabs__arrow--end { display: inline-flex; }
/* M282.4 (M282-draft D11): a pill that cannot be pressed (the tabs of « Organizer profile » while it is edited) reads as a
   name: no pointer and no hover, and every pill but the current one in the quiet colour. */
.filters button.filters__item:disabled { cursor: default; }
.filters button.filters__item:disabled:hover { border-color: var(--c-surface); }
.filters button.filters__item:disabled:not([aria-current="page"]) { color: var(--c-base-dark); }
@media (prefers-reduced-motion: reduce) { .filters, .usa-table-container--scrollable { transition: none; } }
/* M282.10: the sections tab (components/sections_tab.html), the row that takes a person from one section of a page to another.
   Layout only: a name is the action button, which keeps its own text, height, corners and background under the pointer; these
   rules remove its outline and its background at rest, give it the quiet colour at rest and place the one bar. The row is wider
   than its names by the name's side padding, so the background of the first and of the last name is whole.
   Hisham, 2026-11-26: under the pointer a name shows the fill every piece shows, read by its name (--c-hover-fill, the left
   panel's), in both looks, and fades it in like the left panel's rows; it no longer copies the action button's white. */
.sections-tab { --sections-tab-pad: 8px; position: relative; margin-inline: calc(-1 * var(--sections-tab-pad)); padding-inline: var(--sections-tab-pad); overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; }
.sections-tab::-webkit-scrollbar { display: none; }
.sections-tab__row { position: relative; width: max-content; min-width: 100%; box-shadow: inset 0 -1px 0 var(--c-surface); }
.sections-tab__list { display: flex; gap: 28px; margin: 0; padding: 0; list-style: none; }
.sections-tab__list > li { display: flex; align-items: center; min-height: 44px; margin: 0; max-width: none; }
.sections-tab__list > li[hidden] { display: none; }
html .sections-tab .sections-tab__list .usa-button.usa-button--action { margin: 0 calc(-1 * var(--sections-tab-pad)); flex: none; max-width: none; padding-inline: var(--sections-tab-pad); background: transparent; box-shadow: none; color: var(--c-base-dark); white-space: nowrap; text-decoration: none; transition: background-color 300ms cubic-bezier(0, 0, .12, .95), color .12s ease; }
html .sections-tab .sections-tab__list .usa-button.usa-button--action:hover, html .sections-tab .sections-tab__list .usa-button.usa-button--action.usa-button--hover { background: var(--c-hover-fill); box-shadow: none; color: var(--c-text); }
html .sections-tab .sections-tab__list .usa-button.usa-button--action[aria-current="page"] { color: var(--c-text); }
html .sections-tab .sections-tab__list .usa-button.usa-button--action:disabled { background: transparent; box-shadow: none; cursor: default; }
html .sections-tab .sections-tab__list .usa-button.usa-button--action:disabled:not([aria-current="page"]) { color: var(--c-base-dark); }
.sections-tab__count { display: inline-flex; margin-inline-start: calc(var(--sections-tab-pad) + 6px); }
.sections-tab__bar { position: absolute; left: 0; bottom: 0; width: var(--sections-tab-w, 0); height: 2px; background: var(--c-text); transform: translateX(var(--sections-tab-x, 0)); transition: transform .25s cubic-bezier(.4, 0, .2, 1), width .25s cubic-bezier(.4, 0, .2, 1); pointer-events: none; }
.sections-tab--still .sections-tab__bar { transition: none; }
html:not(.sections-tab-js) .sections-tab__list > li:has(> [aria-current="page"]) { box-shadow: inset 0 -2px 0 var(--c-text); }
@media (prefers-reduced-motion: reduce) { .sections-tab__bar, html .sections-tab .sections-tab__list .usa-button.usa-button--action { transition: none; } }
.usa-table { margin: 0; }
.usa-table thead th { padding: 2px 12px 8px; background: transparent; border: 0; border-bottom: 1px solid var(--c-surface); font-size: 13px; font-weight: 500; line-height: 20px; color: var(--c-base-dark); }
.usa-table td, .usa-table tbody th { padding: 8px 12px; border: 0; border-bottom: 1px solid var(--c-surface); background: transparent; font-size: 14px; line-height: 20px; color: var(--c-text); white-space: nowrap; }
.usa-table tbody th a, .usa-table tbody th a:visited { color: var(--c-text); text-decoration: none; font-weight: 600; }
/* Hisham, 2026-11-13: every cell of a table body has the one cell size; a link in a cell (a row's title) keeps its weight, not the 16 px of a link in running text */
.usa-table :is(td, tbody th) .usa-link { font-size: inherit; line-height: inherit; }
.usa-table tr.is-selected td, .usa-table tr.is-selected th { background: #f9f4f1; }
html[data-appearance="dark"] .usa-table tr.is-selected td, html[data-appearance="dark"] .usa-table tr.is-selected th { background: #272724; }
.usa-table tr.is-selected th { box-shadow: inset 3px 0 0 var(--c-primary); }
.usa-pagination { margin: 16px 0 0; }

/* The switch rows (a checkbox with switch semantics; the gap component) */
.switch-list { max-width: 34rem; display: grid; }
.switch-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--c-surface); cursor: pointer; }
.switch-row strong { display: block; font-size: 14px; font-weight: 500; line-height: 20px; }
.switch-row small { display: block; font-size: 13px; line-height: 20px; color: var(--c-base-dark); }
.switch-control { display: flex; align-items: center; position: relative; gap: 10px; flex: 0 0 auto; min-height: 44px; }
.switch-control input { position: absolute; width: 44px; height: 44px; margin: 0; opacity: 0; cursor: pointer; }
.switch-track { width: 40px; height: 24px; border: 1px solid var(--c-control-border); border-radius: 12px; background: var(--c-rest-fill); pointer-events: none; }
.switch-track::after { content: ""; display: block; width: 16px; height: 16px; margin: 3px; border-radius: 50%; background: var(--c-base-dark); }
.switch-control input:checked + .switch-track { background: var(--c-primary); border-color: var(--c-primary); }
.switch-control input:checked + .switch-track::after { transform: translateX(16px); background: var(--c-on-primary); }
.switch-control input:focus-visible + .switch-track { outline: 2px solid var(--c-focus); outline-offset: 3px; }
.switch-state { width: 26px; font-size: 12px; color: var(--c-base-dark); }
.is-disabled { cursor: default; opacity: .6; }

/* The footer */
.usa-footer__primary-section { background: var(--c-ink-band); color: #faf7f2; }
.usa-footer__primary-link, .usa-footer__contact-info { color: #faf7f2; font-size: 14px; }

/* Fixes from the computed-style comparison with scratch-codex-v2 (2026-11-04) */
.usa-button, [data-button-variant="primary"] { margin: 0; }
.usa-input:focus, .usa-select:focus, .usa-input.usa-focus { border-color: var(--c-control-border); }
.usa-alert { padding: 12px 16px; margin: 0; display: grid; gap: 4px; }
.usa-alert .usa-alert__body { padding: 0; margin: 0; max-width: none; }
.usa-alert .usa-alert__body::before { display: none; }
.usa-alert__heading { margin: 0; font-size: 16px; line-height: 24px; letter-spacing: normal; }
.usa-alert__text { margin: 0; }
.usa-card__container { margin: 0; }
.booking__place { line-height: 24px; }
.booking__price { line-height: 24px; }
:where(.design-page, .design-region) :is(h1, h2, h3, h4) { letter-spacing: -0.01em; }
.event-head h1 { letter-spacing: -0.03em; }
.event-body p:first-child { margin-top: 0; }
#events-list h1 { margin: 0 0 24px; }
.event-month { margin: 8px 0 16px; line-height: 1.2; }
.form-card .usa-card__heading { font-size: 16px; line-height: 1.2; }
.form-intro { line-height: 24px; }
.usa-checkbox__label { font-weight: 500; }
.members-title { margin: 0 0 16px; font-size: 20px; line-height: 24px; }
.usa-table thead th { padding: 2px 12px; }
.usa-table tbody th { font-weight: 600; }
.status { font-weight: 300; }
.switch-row strong { line-height: 24px; }
.switch-state { line-height: 24px; }
.pref-intro { margin: 0 0 12px; font-size: 13px; line-height: 20px; font-weight: 400; letter-spacing: 0; color: var(--c-base-dark); }
.specimen__label { font-size: 13px; line-height: 1.2; }
/* The text accent trial from the Codex round applies in both appearances, as on that page. */
/* M282.18 (Hisham, 2026-11-26): every link has one look. One red and no underline at rest; under the pointer an underline and the red mixed 85 to 15 with the text colour. The link piece and a link made of words only are semi-bold. These rules weigh nothing (:where), so a piece that draws its own clickable element (a button, a menu line, a panel entry, a tab, a row's name) keeps its look by its own rules. */
:root { --c-hover-fill: color-mix(in srgb, var(--c-surface) 70%, var(--c-paper)); }  /* M282.22 (Hisham, 2026-11-26): the fill under the mouse, stated once here: the beige at 70 with white. The left panel's rows, the top bar's buttons, the menu lines, the outline and plain buttons, the month calendar, the organization head's buttons, the settings tiles and the settings lines read it by name, so one change reaches them all. It follows the dark look by itself, because it is mixed from two values that do. */
:root { --c-rest-fill: var(--c-hover-fill); }  /* M282.25 (Hisham, 2026-11-26): the beige of a fill at rest, stated once here and set to the fill under the mouse: the ground behind the home's modules, the stand-ins for a missing picture, a switch that is off, a button or a field that cannot be used, the chosen day. The thin lines keep var(--c-surface). It has a name of its own so that a ground at rest can part from the fill under the mouse by changing this one line. */
.left-panel__row, .top-bar__button, a.menu__item, .menu__panel .usa-button, .usa-button.usa-button--outline, .usa-button.usa-button--base, .month-calendar__nav { transition: background-color 300ms cubic-bezier(0, 0, .12, .95), color .12s ease; }  /* M282.22: the fill fades in, as on the settings tiles; the colour keeps the links' own 120 ms */
@media (prefers-reduced-motion: reduce) { .left-panel__row, .top-bar__button, a.menu__item, .menu__panel .usa-button, .usa-button.usa-button--outline, .usa-button.usa-button--base, .month-calendar__nav, .month-calendar a.month-calendar__day--has { transition: none; } }
:root { --c-link: #bd475d; } html[data-appearance="dark"] { --c-link: #e36b6e; }  /* M282.19: the link colour, stated once here. The links' rules below and the title of a category tile read it by name, so one change reaches both. */
:root { --s-border-radius-md: 8px; }  /* M282.26 (Hisham, 2026-11-26): the corner of a frame, stated once here: 8 px. A card, a form's frame, a module of the home, the lines of settings, the frame of an empty list and the pop-up in the middle read it by name. The fields and the buttons read --s-border-radius-sm and keep 4 px. The brand kit's generated values.css still says 4 px and takes this value when the box moves to the new codebase. */
:root { --c-veil: rgb(0 0 0 / 25%); }  /* M282.26 (Hisham, 2026-11-26): the veil that dims the page, stated once here: black at 25 %. The pop-up in the middle, a panel at the right edge and the left panel on a phone read it by name. */
:where(.design-page, .design-region) a:where(:not(.usa-button):not(.filters a):not(.site-footer a):not(.usa-table tbody th a)) { color: var(--c-link); text-decoration: none; transition: color .12s ease; }
:where(.design-page, .design-region) a:where(:not([class])):where(:not(:has(*))) { font-weight: 600; }
:where(.design-page, .design-region) a:where(:hover):where(:not(.usa-button):not(.filters a):not(.site-footer a):not(.usa-table tbody th a)), .usa-link--hover { color: color-mix(in srgb, var(--c-link) 85%, var(--c-text)); text-decoration: underline; }
html[data-appearance="dark"] .usa-link, html[data-appearance="dark"] :where(.design-page, .design-region) a:where(:not(.usa-button):not(.filters a):not(.site-footer a):not(.usa-table tbody th a)) { color: var(--c-link); }
html[data-appearance="dark"] .usa-link:where(:not([aria-current])):hover, html[data-appearance="dark"] .usa-link--hover, html[data-appearance="dark"] :where(.design-page, .design-region) a:where(:hover):where(:not(.usa-button):not(.filters a):not(.site-footer a):not(.usa-table tbody th a)) { color: color-mix(in srgb, var(--c-link) 85%, var(--c-text)); }
.usa-input--error, html[data-appearance="dark"] .usa-input--error { border-color: #822133; }
.usa-error-message, html[data-appearance="dark"] .usa-error-message { color: #822133; }

.event-month { letter-spacing: 0; }
.members-title { letter-spacing: 0; }
.usa-form-group { margin-top: 14px; padding-bottom: 10px; }
.usa-form-group.margin-top-0 { margin-top: 0; }
.usa-checkbox { margin-top: 14px; }

.sheet-tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.usa-alert .usa-alert__body { background: transparent; width: auto; }

.usa-pagination, .usa-pagination__list { background: transparent; }
/* Will, 2026-11-04: in the dark look the error field and its message take the main colour, the lighter of the two reds. */
html[data-appearance="dark"] .usa-input--error { border-color: var(--c-primary); }
html[data-appearance="dark"] .usa-error-message { color: #e36b6e; }


/* Will, 2026-11-04: 2.2em between the title block and the first paragraph only; the tag at the size of the time beside it. */
.event-head + p { margin-top: 2.2em; }
:where(.design-page, .design-region) p + p { margin-top: 1em; }
.usa-tag { font-size: 13px; line-height: 18px; padding: 1px 7px; }
.sheet-panel { background: var(--c-paper); }

/* The console's action controls: buttons and a search field that act on the content beside them, not calls to
   action. One height, 32px, against the 42px of a button or a field. Built on usa-button and usa-input with
   USWDS's own icons, and dressed like the other controls: the field's fill and 1px border, the small radius,
   the outline button's weight. */
.action-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.usa-button.usa-button--action { width: auto; min-height: 32px; padding: 0 12px; column-gap: 6px; border-radius: var(--s-border-radius-sm); background: var(--c-paper); color: var(--c-text); font-size: 14px; font-weight: 500; line-height: 20px; white-space: normal; box-shadow: inset 0 0 0 1px var(--c-control-border); }
.usa-button.usa-button--action:hover, .usa-button.usa-button--action.usa-button--hover { background: var(--c-surface); color: var(--c-text); box-shadow: inset 0 0 0 1px var(--c-control-border); }
.usa-button.usa-button--action:active, .usa-button.usa-button--action.usa-button--active { background: color-mix(in srgb, var(--c-surface) 85%, var(--c-text)); color: var(--c-text); }
.usa-button.usa-button--action.usa-focus { outline: 2px solid var(--c-focus); outline-offset: 3px; }
.usa-button.usa-button--action:disabled, .usa-button.usa-button--action[disabled] { background: var(--c-rest-fill); color: var(--c-base-dark); box-shadow: none; }
.usa-button--action .usa-icon { flex: none; width: 16px; height: 16px; }
.usa-button.usa-button--action.usa-button--icon { width: 32px; padding: 0; }
.usa-button--action .action-label { align-self: stretch; display: flex; align-items: center; padding-right: 8px; border-right: 1px solid var(--c-surface); color: var(--c-base-dark); }
.usa-button--action .action-value { color: var(--c-primary-dark); }
.usa-button--action .action-chevron { margin: 0 -4px 0 -2px; color: var(--c-base-dark); }
.search-field { display: flow-root; position: relative; width: 100%; max-width: 320px; }
.search-field .usa-icon { position: absolute; left: 10px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); color: var(--c-base-dark); pointer-events: none; }
.search-field .usa-input { width: 100%; max-width: none; height: 32px; min-height: 32px; padding: 5px 12px 5px 34px; font-size: 14px; line-height: 20px; }
.search-field .usa-input::placeholder { color: var(--c-base-dark); opacity: 1; }
.sheet-panel.sheet-panel--page { background: var(--c-body-background); }

/* Will's choices of 2026-11-10 for the controls, in the light look, with dark equivalents at the same contrast:
   a lighter line around action buttons and fields, softer text in them.
   Hisham, 2026-11-13: the action button takes the look of today's console button (.home__btn in main's admin.css,
   the Stripe-like « Ajouter »): 28 px tall, 8 px sides, 6 px between icon and word, 6 px corners, a white fill,
   a #EEE7DC line and a faint shadow, dark words #241D18 at 14 px and 600, a 14 px icon; under the pointer only the
   line darkens (#79847F); measured on the running console, 2026-11-13. The pressed and disabled states are kept, since today's button has none. */
.usa-button.usa-button--action { min-height: 28px; padding: 0 8px; column-gap: 6px; border-radius: 6px; background: #ffffff; color: #241d18; font-size: 14px; font-weight: 600; line-height: 1; box-shadow: inset 0 0 0 1px #eee7dc, 0 1px 1px rgb(33 28 24 / .08); }
.usa-button.usa-button--action:hover, .usa-button.usa-button--action.usa-button--hover { background: #ffffff; color: #241d18; box-shadow: inset 0 0 0 1px #79847f, 0 1px 1px rgb(33 28 24 / .08); }
.usa-button.usa-button--action:active, .usa-button.usa-button--action.usa-button--active { background: #f1eee9; color: #241d18; box-shadow: inset 0 0 0 1px #79847f; }
.usa-button.usa-button--action:focus-visible, .usa-button.usa-button--action.usa-focus { box-shadow: inset 0 0 0 1px #79847f, 0 1px 1px rgb(33 28 24 / .08); }
.usa-button.usa-button--action:disabled, .usa-button.usa-button--action[disabled] { background: #f5f5f5; color: #a5a3a1; box-shadow: inset 0 0 0 1px #eee7dc; }
.usa-button.usa-button--action.usa-button--icon { width: 28px; padding: 0; flex-shrink: 0; }
.usa-button.usa-button--action .usa-icon { width: 14px; height: 14px; }
.usa-button--action .action-label { font-weight: 500; }
/* The icon and the words sit on one centred line, on a button as on a menu's summary (which was laid out as a block,
   so its icons sat at the top). The arrow is today's: 8 px, a line, in the quiet colour; « Ajouter » has none, as today. */
.usa-button.usa-button--action { display: inline-flex; align-items: center; justify-content: center; padding: 0 9px; }  /* today's 8 px plus its 1 px border, drawn here as an inner line */
.usa-button.usa-button--action.usa-button--icon { padding: 0; }
.usa-button.usa-button--action .usa-icon { --line-stroke: 1.7; }
.usa-button.usa-button--action .action-chevron { flex: none; width: 8px; height: 8px; margin: 0 0 0 1px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; color: var(--c-base-dark); }
details[open] > .usa-button--action .menu__chevron { transform: rotate(180deg); }
[data-home-add] > .usa-button--action .menu__chevron { display: none; }
.usa-button--action .action-value { color: #605852; }
.usa-button--action .action-label { border-right-color: #c2c2c2; }
/* M282.21 (M282.21-draft D5): the action button with a fill, button.html given variant "action" and filled; the main button of a form. The normal filled button's own values; a disabled one keeps the action button's disabled look. */
.usa-button.usa-button--action.usa-button--filled:not(:disabled, [disabled], [aria-disabled="true"]) { background: var(--c-primary); color: var(--c-on-primary); box-shadow: none; }
.usa-button.usa-button--action.usa-button--filled:not(:disabled, [disabled], [aria-disabled="true"]):hover, .usa-button.usa-button--action.usa-button--filled:not(:disabled, [disabled], [aria-disabled="true"]).usa-button--hover { background: color-mix(in srgb, var(--c-primary) 85%, var(--c-text)); color: var(--c-on-primary); box-shadow: none; }
.usa-button.usa-button--action.usa-button--filled:not(:disabled, [disabled], [aria-disabled="true"]):active, .usa-button.usa-button--action.usa-button--filled:not(:disabled, [disabled], [aria-disabled="true"]).usa-button--active { background: color-mix(in srgb, var(--c-primary) 70%, var(--c-text)); color: var(--c-on-primary); box-shadow: none; }
.usa-button.usa-button--action.usa-button--filled:focus-visible, .usa-button.usa-button--action.usa-button--filled.usa-focus { outline: 2px solid var(--c-focus); outline-offset: 3px; }
.usa-input, .usa-select { border-color: #998f87; color: #605852; }
.search-field .usa-input { height: 30px; min-height: 30px; padding: 5px 12px 5px 34px; border-color: #ebe6e6; }
.search-field .usa-input:hover { border-color: #878787; }
html[data-appearance="dark"] .search-field .usa-input { border-color: #383634; }
html[data-appearance="dark"] .search-field .usa-input:hover { border-color: #7a7a7a; }
.usa-input--error { border-color: var(--c-primary); }
html[data-appearance="dark"] .usa-button.usa-button--action { background: #242422; color: #ffffff; box-shadow: inset 0 0 0 1px #2a2a27, 0 1px 1px rgb(33 28 24 / .08); }
html[data-appearance="dark"] .usa-button.usa-button--action:hover, html[data-appearance="dark"] .usa-button.usa-button--action.usa-button--hover, html[data-appearance="dark"] .usa-button.usa-button--action:focus-visible, html[data-appearance="dark"] .usa-button.usa-button--action.usa-focus { background: #242422; color: #ffffff; box-shadow: inset 0 0 0 1px #909090, 0 1px 1px rgb(33 28 24 / .08); }
html[data-appearance="dark"] .usa-button.usa-button--action:active, html[data-appearance="dark"] .usa-button.usa-button--action.usa-button--active { background: #2e2c29; color: #ffffff; box-shadow: inset 0 0 0 1px #909090; }
html[data-appearance="dark"] .usa-button.usa-button--action:disabled, html[data-appearance="dark"] .usa-button.usa-button--action[disabled] { background: #2b2b2b; color: #656260; box-shadow: inset 0 0 0 1px #383634; }
html[data-appearance="dark"] .usa-button--action .action-value { color: #b4ada7; }
html[data-appearance="dark"] .usa-button--action .action-label { border-right-color: #4b4b4b; }
html[data-appearance="dark"] .usa-input, html[data-appearance="dark"] .usa-select { border-color: #70665f; color: #b4ada7; }
html[data-appearance="dark"] .usa-input--error { border-color: var(--c-primary); }

/* The selected table row and the current page number take a paler fill (Will, 2026-11-10), mirrored for the dark look. */

/* The main button in the dark look (Will, 2026-11-10): a brighter red at rest, darker on hover and pressed; white stays above 4.5:1 on all three.
   M137.1.4: the kit's selector prefix outranked these for the other variants; without it, :where() keeps them to the main button at the same weight. */
html[data-appearance="dark"] .usa-button:where(:not(.usa-button--outline, .usa-button--base, .usa-button--action, .usa-button--unstyled, .usa-button--toast-undo, .usa-button--toast-dismiss, :disabled)) { background: #d13d42; }
html[data-appearance="dark"] .usa-button:not([disabled]):where(:not(.usa-button--outline, .usa-button--base, .usa-button--action, .usa-button--unstyled, .usa-button--toast-undo, .usa-button--toast-dismiss)):hover, html[data-appearance="dark"] .usa-button.usa-button--hover:where(:not(.usa-button--outline, .usa-button--base, .usa-button--action, .usa-button--unstyled, .usa-button--toast-undo, .usa-button--toast-dismiss)) { background: #b0272b; }
html[data-appearance="dark"] .usa-button:not([disabled]):where(:not(.usa-button--outline, .usa-button--base, .usa-button--action, .usa-button--unstyled, .usa-button--toast-undo, .usa-button--toast-dismiss)):active, html[data-appearance="dark"] .usa-button.usa-button--active:where(:not(.usa-button--outline, .usa-button--base, .usa-button--action, .usa-button--unstyled, .usa-button--toast-undo, .usa-button--toast-dismiss)) { background: #912226; }
/* M282.21: the action button with a fill takes the main button's dark fill, under the mouse and pressed. */
html[data-appearance="dark"] .usa-button.usa-button--action.usa-button--filled:not(:disabled, [disabled], [aria-disabled="true"]) { background: #d13d42; }
html[data-appearance="dark"] .usa-button.usa-button--action.usa-button--filled:not(:disabled, [disabled], [aria-disabled="true"]):hover, html[data-appearance="dark"] .usa-button.usa-button--action.usa-button--filled:not(:disabled, [disabled], [aria-disabled="true"]).usa-button--hover { background: #b0272b; }
html[data-appearance="dark"] .usa-button.usa-button--action.usa-button--filled:not(:disabled, [disabled], [aria-disabled="true"]):active, html[data-appearance="dark"] .usa-button.usa-button--action.usa-button--filled:not(:disabled, [disabled], [aria-disabled="true"]).usa-button--active { background: #912226; }

/* M137.1.4: the components the four console pages needed, and the states the specimen had not pinned. The values
   are the specimen's (its colours, its 30px action height, its 4px radius); every colour that is not a variable
   has its dark counterpart beside it. The pages themselves have no rule here. */

/* The states pinned as fixed examples */
.usa-button.usa-focus, .usa-button.usa-button--outline.usa-focus { outline: 2px solid var(--c-focus); outline-offset: 3px; }
.usa-button.usa-button--outline.usa-button--hover, .usa-button.usa-button--base.usa-button--hover { background: var(--c-hover-fill); color: var(--c-text); box-shadow: inset 0 0 0 1px var(--c-control-border); }
.usa-button.usa-button--base { box-shadow: none; }
.usa-button .usa-icon { flex: none; width: 16px; height: 16px; }
.usa-button { column-gap: 6px; }
.usa-link.usa-focus { outline: 2px solid var(--c-focus); outline-offset: 2px; }
.usa-select.usa-focus, .usa-textarea:focus, .usa-textarea.usa-focus { outline: 2px solid var(--c-focus); outline-offset: 0; }
.usa-textarea { height: auto; min-height: 96px; margin: 0; padding: 9px 12px; border: 1px solid #998f87; border-radius: var(--s-border-radius-sm); background: var(--c-paper); color: #605852; font-size: 16px; line-height: 22px; max-width: none; }
html[data-appearance="dark"] .usa-textarea { border-color: #70665f; color: #b4ada7; }
.usa-checkbox__input.usa-focus + .usa-checkbox__label::before { outline: 2px solid var(--c-focus); outline-offset: 2px; }
/* M282.12: a ticked checkbox shows a tick that draws itself from left to right (0.3 s, after 0.1 s) and leaves the same way. The tick is a layer over the box (::after), cut from the colour that sits on the primary colour and uncovered by clip-path. Its shape is a file of the site (img/checkbox-tick.svg), not a data: image: an event's emails page allows no data: image. */
.usa-checkbox__label::after { content: ""; position: absolute; left: 0; top: 0; margin-left: 1px; margin-top: .075rem; width: 18px; height: 18px; background: var(--c-on-primary); -webkit-mask: url("../img/checkbox-tick.e78cc53d5497.svg") center / 18px 18px no-repeat; mask: url("../img/checkbox-tick.e78cc53d5497.svg") center / 18px 18px no-repeat; clip-path: inset(0 100% 0 0); transition: clip-path .3s .1s; pointer-events: none; }
.usa-checkbox__input:checked + .usa-checkbox__label::after { clip-path: inset(0 0 0 0); }
@media (prefers-reduced-motion: reduce) { .usa-checkbox__label::after { transition: none; } }
.usa-hint { color: var(--c-base-dark); }
.usa-hint.field__help { display: block; margin: 4px 0 0; font-size: 13px; line-height: 20px; }
.search-field--hover .usa-input { border-color: #878787; }
html[data-appearance="dark"] .search-field--hover .usa-input { border-color: #7a7a7a; }
.search-field--wide { max-width: 400px; flex: 1 1 240px; }
.usa-button.usa-button--action.usa-button--pill { border-radius: 999px; padding: 0 12px; }

/* The status pill's tones: text with a tint, never colour alone, 4.5:1 in both looks */
.status--success { border-color: color-mix(in srgb, #216e1f 40%, var(--c-paper)); background: #ecf3ec; color: #216e1f; }
.status--warning { border-color: color-mix(in srgb, #765620 40%, var(--c-paper)); background: #fff9e9; color: #765620; }
.status--error { border-color: color-mix(in srgb, #822133 40%, var(--c-paper)); background: #fcf0e9; color: #822133; }
.status--quiet { border-color: var(--c-surface); background: transparent; color: var(--c-base-dark); }
.status--struck { text-decoration: line-through; }
html[data-appearance="dark"] .status--success { border-color: #3d5c35; background: #1f2a1c; color: #8ccf75; }
html[data-appearance="dark"] .status--warning { border-color: #5e4f2a; background: #2b2619; color: #f0c75e; }
html[data-appearance="dark"] .status--error { border-color: #5e3530; background: #2d1f1d; color: #f3998a; }
html[data-appearance="dark"] .status--quiet { border-color: var(--c-surface); }

/* The count beside a title or a panel row */
.count { display: inline-flex; align-items: center; width: fit-content; height: 18px; padding: 0 6px; border-radius: 9px; background: #f6eeee; color: #766b62; font-size: 12px; font-weight: 500; line-height: 18px; vertical-align: 2px; letter-spacing: 0; }
html[data-appearance="dark"] .count { background: #2b2726; color: #988d83; }

/* The console's frame: the left panel, the top bar, the content column, the phone's bottom menu */
.design-page { margin: 0; }
.design-page, .design-region { font-family: Inter, system-ui, sans-serif; font-size: 16px; font-weight: 400; line-height: 1.5; color: var(--c-text); }
.design-strip { display: flex; flex-wrap: wrap; gap: 16px; padding: 6px 16px; border-bottom: 1px solid var(--c-surface); background: var(--c-paper); font-size: 13px; line-height: 20px; }
.design-specimens .specimen__label { font-family: ui-monospace, Menlo, monospace; }
.design-stack { display: grid; gap: 12px; }
.console { display: grid; grid-template-columns: 240px minmax(0, 1fr); min-height: 100vh; }
/* Hisham, 2026-11-14: every console page is at most 1280 px wide, centred between the left panel's right edge and the window's right edge.
   .console__main is that space whatever the panel does (open, folded to its rail, gone on a phone), so the content column centres in it;
   the top bar and the breadcrumbs keep their line and ground across the whole space and put their contents on the same column. */
.console__main { --content-max: 1280px; --content-inline: 32px; --content-gutter: max(var(--content-inline), calc((100% - var(--content-max)) / 2)); display: flex; flex-direction: column; min-width: 0; }
.console__content { --content-top: 24px; --content-bottom: 48px; display: grid; gap: 16px; align-content: start; box-sizing: border-box; width: 100%; max-width: calc(var(--content-max) + 2 * var(--content-inline)); margin-inline: auto; padding: var(--content-top) var(--content-inline) var(--content-bottom); }
/* Hisham, 2026-11-14: the two exceptions. The Members list and the Registrations list take the whole space from the panel's edge
   to the window's edge, starting at the left, with the same edge margin; the column the top bar and the breadcrumbs follow widens with them.
   They are picked by the body classes their list layout already prints (layouts/console_list.html). */
body.change-list:is(.app-accounts.model-user, .app-events.model-registration) .console__main { --content-max: 100%; }
/* M282.1 (M282-draft D4): the pages that ask for the narrow width with the body class page-narrow (the tags, « Adhésions et
   forfaits », a membership's members, a pack's holders, the events list) are drawn 640 px wide, from the page's left edge. */
@media (min-width: 721px) { body.page-narrow .console__content > :not(dialog) { max-width: 40rem; } }
/* M282.1 (M282-draft D4.1): the breadcrumbs as on the current console. From 768 px up they show nothing; below, only their last
   link, the way back to the page above, at 12 px with « \2039 » before it, and nothing when they hold one link only. These rules
   replace the console-components.css ones (imported first): that file hides the whole line on a phone. */
@media (min-width: 768px) { .breadcrumbs { display: none; } }
@media (max-width: 767px) {
  .breadcrumbs { display: block; padding: 0 var(--content-gutter, 16px); font-size: 0; }
  .breadcrumbs a { display: none; }
  .breadcrumbs a:last-of-type { display: inline-flex; align-items: center; min-height: 32px; font-size: 12px; }
  .breadcrumbs a:last-of-type::before { content: "\2039\00a0"; }
  .breadcrumbs:not(:has(a ~ a)) { display: none; }
}

/* M137.1.5: the four layouts (app/templates/layouts/): one grid class each, its regions placed by name */
.layout { display: grid; gap: 16px; align-content: start; }
.layout__header, .layout__main, .layout__aside, .layout__bottom { display: grid; gap: 16px; align-content: start; min-width: 0; }
.layout__header { grid-area: header; }
.layout__main { grid-area: main; }
.layout__aside { grid-area: aside; }
.layout__bottom { grid-area: bottom; }
.layout__header:empty, .layout__aside:empty, .layout__bottom:empty { display: none; }
.layout--panel-one { grid-template-areas: "header" "main" "bottom"; grid-template-columns: minmax(0, 1fr); }
.layout--panel-aside { grid-template-areas: "header header" "main aside" "bottom bottom"; grid-template-columns: minmax(0, 1fr) 360px; column-gap: 24px; }
.layout--panel-aside .layout__aside { position: sticky; top: 72px; align-self: start; }
.layout--panel-aside-narrow { grid-template-columns: minmax(0, 640px) 400px; justify-content: center; }
/* Comparison options of the shared layout: the same regions and components in both versions. */
.layout--surface-content, .layout--surface-header, .layout--surface-boxed { isolation: isolate; --layout-surface: #fff; }
html[data-appearance="dark"] :is(.layout--surface-content, .layout--surface-header, .layout--surface-boxed) { --layout-surface: var(--c-paper); }
.layout--surface-content::before { content: ""; grid-column: 1 / -1; grid-row: 2 / -1; z-index: -1; margin: -16px calc(-1 * var(--content-inline)) calc(-1 * var(--content-bottom)); background: var(--layout-surface); pointer-events: none; }
.layout--surface-header .layout__header { background: var(--layout-surface); margin: calc(-1 * var(--content-top)) calc(-1 * var(--content-inline)) 0; padding: var(--content-top) var(--content-inline) 0; }
.layout--surface-boxed { grid-template-areas: "header header" "body body"; }
.layout__content-frame { grid-area: body; display: grid; grid-template-areas: "main aside" "bottom bottom"; grid-template-columns: minmax(0, 1fr) 336px; gap: 16px 24px; min-width: 0; margin-top: -19px; padding: 24px; background: var(--layout-surface); border-radius: 0 0 15px 15px; }
.layout--panel-grid { grid-template-areas: "header" "main" "bottom"; grid-template-columns: minmax(0, 1fr); }
.layout--focus { grid-template-areas: "header" "main" "bottom"; grid-template-columns: minmax(0, 1fr); gap: 24px; width: min(100% - 32px, 420px); margin: 48px auto; }
@media (max-width: 1023px) {
  .console { grid-template-columns: minmax(0, 1fr); }
  .layout--panel-aside, .layout--panel-aside-narrow { grid-template-areas: "header" "main" "aside" "bottom"; grid-template-columns: minmax(0, 1fr); }
  .layout--panel-aside .layout__aside { position: static; }
  .layout--surface-boxed { grid-template-areas: "header" "body"; }
  .layout__content-frame { grid-template-areas: "main" "aside" "bottom"; grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) { .layout--focus { margin: 24px auto; } }
@media (max-width: 767px) { html:has(> body.design-page) { scroll-padding-bottom: var(--console-bottom-menu-height); } }

/* M137.1.5: the brand mark, for a page without the side panel */
.brand-mark { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0; font-size: 16px; font-weight: 600; line-height: 24px; color: var(--c-text); max-width: none; }
.brand-mark__tile { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: var(--s-border-radius-sm); background: var(--c-ink-band); color: #faf7f2; }
html[data-appearance="dark"] .brand-mark__tile { background: var(--c-rest-fill); color: var(--c-text); }
.brand-mark__tile .logo-mark { width: 14px; height: 20px; }

.left-panel { position: sticky; top: 0; height: 100vh; overflow-y: auto; padding: 12px 8px 24px; border-right: 1px solid var(--c-surface); background: var(--c-body-background); }
.left-panel__brand { display: flex; align-items: center; gap: 8px; margin: 0 0 16px; padding: 6px 8px; font-size: 14px; font-weight: 600; line-height: 20px; color: var(--c-text); max-width: none; }
.left-panel__tile { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: var(--s-border-radius-sm); background: var(--c-ink-band); color: #faf7f2; }
html[data-appearance="dark"] .left-panel__tile { background: var(--c-rest-fill); color: var(--c-text); }
.left-panel__tile .logo-mark { width: 10px; height: 14px; }
.left-panel__chevron { flex: none; width: 16px; height: 16px; margin-left: auto; color: currentColor; }
/* Hisham, 2026-11-13: the panel takes today's look (main's .panel__entry, measured on the running console): rows 30 px
   tall that touch, 12 px inside, 16 px from the icon to the words, 6 px corners, line icons in the words' colour; the page
   you are on is red at 600 on the label and the icon with no fill; the beige fill shows only under the pointer; a
   section title starts 28 px below the row above it. */
.left-panel__group + .left-panel__group { margin-top: 28px; }
.left-panel__title { margin: 0; padding: 0 8px; font-family: inherit; font-size: 12px; font-weight: 400; line-height: 26px; letter-spacing: 0; color: var(--c-base-dark); }
.left-panel__list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; max-width: none; }
.left-panel__list li { margin: 0; max-width: none; }
.left-panel__list--nested { padding-left: 26px; }
.left-panel a.left-panel__row, .left-panel__row { display: flex; align-items: center; gap: 16px; min-height: 30px; padding: 0 12px; border-radius: 6px; color: var(--c-text); font-size: 14px; line-height: 20px; text-decoration: none; cursor: pointer; list-style: none; }
.left-panel__row::-webkit-details-marker { display: none; }
.left-panel a.left-panel__row:visited { color: var(--c-text); }
.left-panel a.left-panel__row:hover, .left-panel__row:hover, .left-panel__row.is-hover { background: var(--c-hover-fill); color: var(--c-text); }
.left-panel a.left-panel__row.is-current, .left-panel a.left-panel__row.is-current:visited, .left-panel__row.is-current { background: transparent; color: #bc393d; font-weight: 600; }
.left-panel a.left-panel__row.is-current:hover { background: var(--c-hover-fill); color: #bc393d; }
html[data-appearance="dark"] .left-panel a.left-panel__row.is-current, html[data-appearance="dark"] .left-panel a.left-panel__row.is-current:visited, html[data-appearance="dark"] .left-panel__row.is-current, html[data-appearance="dark"] .left-panel a.left-panel__row.is-current:hover { color: #e5797c; }
.left-panel__row:focus-visible { outline: 2px solid var(--c-focus); outline-offset: 0; }
.left-panel__icon { display: inline-flex; color: inherit; }
.left-panel__icon .usa-icon { width: 16px; height: 16px; }
.usa-icon { --line-stroke: 1.5; fill: none; stroke: currentColor; stroke-width: var(--line-stroke); stroke-linecap: round; stroke-linejoin: round; } /* a symbol on a 20 or 24 unit grid scales --line-stroke, so every line icon keeps the left panel's weight */
.line-grid-20 { stroke-width: calc(var(--line-stroke, 1.5) * 1.25); }
.line-grid-24 { stroke-width: calc(var(--line-stroke, 1.5) * 1.5); }
.left-panel__label { flex: 1; min-width: 0; }
.left-panel__ext { flex: none; width: 14px; height: 14px; color: var(--c-base-dark); }
/* Hisham, 2026-11-13: a group opens and closes as on today's console. admin/js/nav_sidebar.js runs the list's height between
   nothing and its own over 200 ms (cubic-bezier(0, 0, .4, 1)) and sets .is-moving and .is-closing; while the list moves its rows
   hold to its foot and are clipped, so they slide out from under the group's title, and the chevron makes its half turn in
   100 ms at the start. Without the script, or under reduced motion, the group opens and closes at once. */
.left-panel__list.is-moving { display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.left-panel__list.is-moving > li { flex: 0 0 auto; }
.left-panel__sub > summary > .left-panel__chevron { transition: transform 100ms cubic-bezier(0, 0, .4, 1); }
.left-panel__sub[open]:not(.is-closing) > summary > .left-panel__chevron { transform: rotate(180deg); }
@media (prefers-reduced-motion: reduce) { .left-panel__sub > summary > .left-panel__chevron { transition: none; } }

.top-bar { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 16px; min-height: 56px; padding: 0 var(--content-gutter, 32px); border-bottom: 1px solid var(--c-surface); background: var(--c-body-background); }
.top-bar__title { display: none; margin: 0; font-size: 16px; font-weight: 600; line-height: 24px; }
.top-bar__search { box-sizing: border-box; width: 100%; max-width: 400px; transition: max-width 180ms ease-out, transform 180ms ease-out, border-radius 180ms ease-out, box-shadow 180ms ease-out; }
.top-bar__tools { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.top-bar a.top-bar__button, .top-bar__button { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; margin: 0; padding: 0; border: 0; border-radius: 6px; background: transparent; color: var(--c-base-dark); cursor: pointer; text-decoration: none; }
.top-bar a.top-bar__button:hover, .top-bar__button:hover { background: var(--c-hover-fill); color: var(--c-text); }
.top-bar a.top-bar__button:visited { color: var(--c-base-dark); }
.top-bar__button:focus-visible { outline: 2px solid var(--c-focus); outline-offset: 2px; }
.top-bar__button .usa-icon { width: 20px; height: 20px; }
.top-bar__dot { position: absolute; top: 6px; right: 6px; width: 8px; height: 8px; border-radius: 50%; background: var(--c-primary); box-shadow: 0 0 0 2px var(--c-body-background); }
.usa-button.top-bar__create { margin-left: 8px; }

.phone-menu { display: none; }
.phone-menu--always { display: flex; position: static; }
.phone-menu, .phone-menu--always { justify-content: space-around; gap: 4px; padding: 6px 8px 8px; border-top: 1px solid var(--c-surface); background: var(--c-paper); }
.phone-menu a.phone-menu__tab { display: flex; flex: 1; flex-direction: column; align-items: center; gap: 2px; padding: 4px 0; border-radius: var(--s-border-radius-sm); color: var(--c-base-dark); font-size: 11px; line-height: 16px; text-decoration: none; }
.phone-menu a.phone-menu__tab:visited { color: var(--c-base-dark); }
.phone-menu a.phone-menu__tab .usa-icon { width: 20px; height: 20px; }
.phone-menu a.phone-menu__tab.is-current { color: var(--c-text); font-weight: 500; }
.phone-menu__tab.is-current .usa-icon { color: var(--c-primary); }
.phone-menu__tab:focus-visible { outline: 2px solid var(--c-focus); outline-offset: 0; }
@media (max-width: 767px) {
  .console { grid-template-columns: minmax(0, 1fr); }
  .left-panel { display: none; }
  .console__main { --content-inline: 16px; }
  .console__content { --content-top: 16px; --content-bottom: 88px; }
  .top-bar { padding: 0 16px; }
  .top-bar__title { display: block; }
  .top-bar__search, .top-bar__button { display: none; }
  .phone-menu { display: flex; position: fixed; inset: auto 0 0; z-index: 3; }
}

/* The head of a console page */
.page-header { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; }
.page-header__text { display: grid; gap: 4px; min-width: 0; }
.page-header__eyebrow { margin: 0; font-size: 13px; font-weight: 500; line-height: 20px; color: var(--c-base-dark); }
.page-header__title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin: 0; font-family: Inter, system-ui, sans-serif; font-size: 28px; font-weight: 700; line-height: 36px; letter-spacing: -0.01em; } /* the console title as live: Inter 700, 28/36 (not the Petrona of the design h1) */
.page-header__lede { margin: 0; font-size: 14px; line-height: 20px; color: var(--c-base-dark); }
.page-header__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.action-bar--split { justify-content: flex-start; }
.action-bar__end { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-left: auto; }
/* M282.23 (Hisham, 2026-11-26): a part's title is 20 px on 28 px, the size of the current console, so it reads as a title above its 14 px lines. */
.section-heading { display: flex; align-items: center; gap: 8px; margin: 16px 0 0; font-size: 20px; line-height: 28px; letter-spacing: 0; }
/* M282.23.1 (Hisham, 2026-11-26): inside a side panel or a pop-up a part's title stays 16 px on 24 px, so it is not larger than the panel's own title. */
dialog .section-heading { font-size: 16px; line-height: 24px; }
/* M282.1 (M282-draft D1): a part's head with its button and its sentence. The title at the left and the button at the right end of
   the same line, centred on it, 12 px apart at least, the button wrapping under the title when the line is too short; the sentence
   6 px under the line, 14/20 in the quiet colour, at most 56ch wide. A heading given neither stays the bare h2 above. */
.section-heading__group { margin: 16px 0 0; min-width: 0; }
.section-heading__group > .section-heading__line > .section-heading { margin: 0; }
.section-heading__line { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; }
.section-heading__lede { margin: 6px 0 0; max-width: 56ch; font-size: 14px; line-height: 20px; color: var(--c-base-dark); }

/* The menu a button opens */
.menu { position: relative; display: inline-block; }
/* Hisham, 2026-11-13, from Stripe: a white panel (the dark surface in the dark look), 8 px corners, a thin outer border, a soft
   shadow, 6 px inside; its items are plain 14 px text rows, left aligned, with no line around or between them, a light fill
   under the pointer and a clear focus ring. */
.menu__panel { position: absolute; top: calc(100% + 4px); right: 0; z-index: 4; display: grid; min-width: 180px; margin: 0; padding: 6px; list-style: none; border: 1px solid var(--c-surface); border-radius: 8px; background: var(--c-paper); box-shadow: 0 4px 16px rgba(48, 39, 32, .10), 0 1px 3px rgba(48, 39, 32, .06); }
.menu.is-open { margin-bottom: 88px; }
.menu__panel--static { position: static; }
.menu__panel--above { top: auto; bottom: calc(100% + 4px); }
/* M282.28: menu__panel--fit, a panel as wide as what it holds (the home's date filter): it opens from its button's left edge, never wider
   than the window less 32 px, 12 px inside; a form directly inside it drops the 20 rem maximum of .usa-form. */
.menu__panel--fit { left: 0; right: auto; width: max-content; max-width: calc(100vw - 32px); padding: 12px; }
.menu__panel--fit > form { max-width: none; }
/* M282.14: the list of a select (components/menu.html, select_list; js/component-select-menu.js): the menu's panel in the
   browser's top layer, placed by the script under its field (left edge on the field's, never narrower), at most 9 rows
   tall. The tick of the selected option sits at the right; the other rows keep its room, so every name starts and ends
   at the same place. While its list is open the field keeps the look of the focus. */
.menu__panel--select { position: fixed; inset: auto; margin: 0; width: max-content; max-width: min(480px, calc(100vw - 16px)); max-height: 304px; overflow-y: auto; overscroll-behavior: contain; color: var(--c-text); }
html .menu__panel--select .usa-button.usa-button--action { height: auto; white-space: normal; }
html .menu__panel--select [role="option"] > .usa-icon { order: 1; margin-inline-start: auto; visibility: hidden; }
html .menu__panel--select [role="option"][aria-selected="true"] > .usa-icon { visibility: visible; }
.menu__title { margin: 0; padding: 6px 10px; font-size: 13px; font-weight: 600; line-height: 20px; color: var(--c-text); }
.usa-select[data-select-open] { outline: 2px solid var(--c-focus); outline-offset: 0; border-color: transparent; }
/* Hisham, 2026-11-26: a field opened with the mouse shows no focus ring, while its list is open and once it is closed
   again; the script takes the mark away when a key is used on the field or the focus leaves it. */
html .usa-select[data-select-pointer], html .usa-select[data-select-pointer]:focus { outline: 0; border-color: var(--c-control-border); }
/* The rows of the list, as Stripe's (Hisham, 2026-11-26): the row under the pointer shows the menu's fill; the row the arrow
   keys reach shows a contour and no fill; opened with the mouse, or once the pointer enters another row, no contour shows
   (the script sets data-pointer). */
html .menu__panel--select .usa-button.usa-button--action[role="option"]:focus { outline: 2px solid var(--c-focus); outline-offset: -2px; }
html .menu__panel--select .usa-button.usa-button--action[role="option"]:focus:not(:hover) { background: transparent; }
html .menu__panel--select[data-pointer] .usa-button.usa-button--action[role="option"]:focus { outline: 0; }
.menu__panel li { margin: 0; max-width: none; }
a.menu__item { display: flex; align-items: center; gap: 12px; padding: 6px 10px; border-radius: var(--s-border-radius-sm); color: var(--c-text); font-size: 14px; line-height: 20px; text-decoration: none; }
a.menu__item:visited { color: var(--c-text); }
a.menu__item:hover, a.menu__item.is-hover { background: var(--c-hover-fill); color: var(--c-text); }
/* Every item a menu panel draws (a link, a button, a form's button) starts its words at the item's left padding, never centred; an icon stays before the words. */
a.menu__item, .menu__panel .usa-button:not(:where(.usa-button--calendar-day, .console-calendar-head *, .menu__panel--fit .form-actions *)), .menu__panel button:not(:where(.usa-button--calendar-day, .console-calendar-head *, .menu__panel--fit .form-actions *)), .menu__panel a:not(:where(.usa-button--calendar-day, .console-calendar-head *, .menu__panel--fit .form-actions *)) { justify-content: flex-start; text-align: start; }
/* An item of a menu is a plain row, whatever draws it: the menu's own link, an action button placed in the panel, or any button of a panel that is a menu.
   M282.28: three things a panel may hold are not rows and keep their own look (written in their own sheets): a day of the picking calendar, a
   button of a calendar's head (its arrows) and, in a panel as wide as what it holds (menu__panel--fit), a button of a form's row of buttons. They are left out with :not(:where(...)), which adds no
   weight to the selectors, so every other menu keeps the same rules at the same strength. */
html .menu__panel a.menu__item, html .menu__panel .usa-button.usa-button--action:not(:where(.usa-button--calendar-day, .console-calendar-head *, .menu__panel--fit .form-actions *)), html .menu__panel[role="menu"] .usa-button:not(:where(.usa-button--calendar-day, .console-calendar-head *, .menu__panel--fit .form-actions *)) { display: flex; align-items: center; width: 100%; min-height: 32px; margin: 0; padding: 6px 10px; border: 0; border-radius: 4px; outline: 0; background: transparent; box-shadow: none; font-size: 14px; font-weight: 400; line-height: 20px; text-decoration: none; }
/* Plain dark text, unless the item carries its own tone (the evening editor's red « Delete »). */
html .menu__panel a.menu__item, html .menu__panel a.menu__item:visited, html .menu__panel .usa-button.usa-button--action:not(:where(.usa-button--calendar-day, .console-calendar-head *, .menu__panel--fit .form-actions *)), html .menu__panel[role="menu"] .usa-button:not(:where(.usa-button--calendar-day, .console-calendar-head *, .menu__panel--fit .form-actions *)):not([class*="--danger"]) { color: var(--c-text); }
html .menu__panel a.menu__item:hover, html .menu__panel a.menu__item.is-hover, html .menu__panel .usa-button.usa-button--action:not(:where(.usa-button--calendar-day, .console-calendar-head *, .menu__panel--fit .form-actions *)):hover, html .menu__panel .usa-button.usa-button--action:not(:where(.usa-button--calendar-day, .console-calendar-head *, .menu__panel--fit .form-actions *)).usa-button--hover, html .menu__panel .usa-button.usa-button--action:not(:where(.usa-button--calendar-day, .console-calendar-head *, .menu__panel--fit .form-actions *)):active, html .menu__panel[role="menu"] .usa-button:not(:where(.usa-button--calendar-day, .console-calendar-head *, .menu__panel--fit .form-actions *)):hover { background: var(--c-hover-fill); box-shadow: none; }
html .menu__panel a.menu__item:focus-visible, html .menu__panel .usa-button.usa-button--action:not(:where(.usa-button--calendar-day, .console-calendar-head *, .menu__panel--fit .form-actions *)):focus-visible, html .menu__panel .usa-button.usa-button--action:not(:where(.usa-button--calendar-day, .console-calendar-head *, .menu__panel--fit .form-actions *)).usa-focus, html .menu__panel[role="menu"] .usa-button:not(:where(.usa-button--calendar-day, .console-calendar-head *, .menu__panel--fit .form-actions *)):focus-visible { outline: 2px solid var(--c-focus); outline-offset: -2px; background: var(--c-hover-fill); box-shadow: none; }
html .menu__panel .usa-button.usa-button--action:not(:where(.usa-button--calendar-day, .console-calendar-head *, .menu__panel--fit .form-actions *)):disabled, html .menu__panel .usa-button.usa-button--action:not(:where(.usa-button--calendar-day, .console-calendar-head *, .menu__panel--fit .form-actions *))[disabled] { background: transparent; box-shadow: none; color: var(--c-base-dark); }
/* Hisham, 2026-11-13: in every menu the current choice's check sits at the right end of its row, after the words. */
html .menu__panel .usa-button[aria-current="true"] > .usa-icon, html .menu__panel a.menu__item[aria-current="true"] > .usa-icon { order: 1; margin-inline-start: auto; }
/* M282.28: a line that can become the current choice (aria-current="false") keeps the tick's place at its right and hides it, so a script moves the tick by aria-current alone. */
html .menu__panel .usa-button[aria-current="false"] > .usa-icon, html .menu__panel a.menu__item[aria-current="false"] > .usa-icon { order: 1; margin-inline-start: auto; visibility: hidden; }
/* M282.20 (Hisham, 2026-11-26, from Stripe's account menu): a line between two sections of a panel; a line that stands for a group, whose
   panel opens at its right under the pointer (js/admin-menus.js shows it above the page) and under its line on a phone; and the small
   mark before an organization's name (its picture, the logo, or its first letter). */
.menu__separator { height: 0; margin: 6px -6px; border: 0; border-top: 1px solid var(--c-surface); }
details.menu--side { display: block; }  /* the element in the selector: a later rule shows every menu as an inline block, and a group's line is as wide as the other lines */
html details.menu--side > summary.usa-button--action .menu__chevron { width: 16px; height: 16px; margin-inline-start: auto; color: var(--c-base-dark); }
html details.menu--side[open] > summary.usa-button--action .menu__chevron { transform: none; }
html .menu__panel details.menu--side[open] > summary.usa-button.usa-button--action { background: var(--c-surface); }
.menu__panel--side { top: -7px; right: auto; left: calc(100% + 10px); min-width: 200px; width: max-content; max-width: min(320px, calc(100vw - 16px)); }
.usa-button__mark { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 4px; background: var(--c-rest-fill); color: var(--c-text); font-size: 11px; font-weight: 600; line-height: 1; object-fit: cover; box-shadow: inset 0 0 0 1px rgba(48, 39, 32, .08); }
.usa-button__mark--logo { background: var(--c-ink-band); color: #faf7f2; box-shadow: none; }
.usa-button__mark .logo-mark { width: 8px; height: 12px; }
html[data-appearance="dark"] .usa-button__mark--logo { background: var(--c-rest-fill); color: var(--c-text); }
@media (max-width: 767px) {
  .menu__panel--side { position: static; min-width: 0; width: auto; max-width: none; padding: 0 0 0 30px; border: 0; background: transparent; box-shadow: none; }
  html details.menu--side[open] > summary.usa-button--action .menu__chevron { transform: rotate(90deg); }
}

/* The table's additions: a sorted head, a fixed last column, chips, codes, a person, the foot line */
/* Hisham, 2026-11-13: every table takes the look of today's guests list (main's console, an evening's Guests tab), measured
   on the running console: one card on the paper fill, a 1 px warm border, 12 px corners; a toolbar on top, 13.6 px by 20 px,
   search at the left and the buttons at the right, over a hairline; the filter pills 12 px by 20 px over a hairline; titles
   13 px 500 grey on 2 px by 12 px; cells 8 px by 12 px between warm hairlines, the row on the page fill under the pointer;
   initials on a 28 px square with 6 px corners; codes 13 px monospace grey; a foot 12 px by 20 px, 12 px grey, its last
   figure 14 px 500. A list whose toolbar and foot sit around its table (an element carrying the table's data-table settings)
   is the card; a table on its own is its own card. */
.table { display: grid; gap: 0; min-width: 0; margin: 0; border: 1px solid var(--c-surface); border-radius: 12px; background: var(--c-paper); color: var(--c-text); }
.table > .usa-table-container--scrollable { margin: 0; border-radius: 11px; }
.table:has(> .table__foot) > .usa-table-container--scrollable { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
/* Hisham, 2026-11-13: a table wider than its box fades out at a side that hides columns, the filter tabs' 56 px fade
   to the card behind it (the shared edge fade above, no arrows), starting beside a pinned column, never over it
   (--edge-pin-start and --edge-pin-end, measured by js/component-edge-fade.js). While the box itself has the keyboard
   focus the fade is off, so its focus ring shows whole. A cell text its column cuts (data-cut) fades over its last
   32 px instead of ending on three dots; a cell keeps its bottom line whole, and a cut text or cell holding the keyboard
   focus shows whole with its dots, so the focus ring is never faded. */
.usa-table-container--scrollable[data-more-start] { --edge-keep-start: var(--edge-pin-start, 0px); --edge-clear-start: var(--edge-pin-start, 0px); --edge-fade-start: calc(var(--edge-pin-start, 0px) + 56px); }
.usa-table-container--scrollable[data-more-end] { --edge-keep-end: var(--edge-pin-end, 0px); --edge-clear-end: var(--edge-pin-end, 0px); --edge-fade-end: calc(var(--edge-pin-end, 0px) + 56px); }
.usa-table-container--scrollable [data-cut]:not(:focus-visible, :has(:focus-visible)) { text-overflow: clip; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent); }
.usa-table-container--scrollable :is(td, th)[data-cut]:not(:focus-visible, :has(:focus-visible)) { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent), linear-gradient(#000, #000); mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent), linear-gradient(#000, #000); -webkit-mask-size: 100% 100%, 100% 1px; mask-size: 100% 100%, 100% 1px; -webkit-mask-position: 0 0, 0 100%; mask-position: 0 0, 0 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.usa-table thead th a.table__sort, .usa-table thead th .table__sort { display: inline-flex; align-items: center; gap: 4px; color: var(--c-base-dark); text-decoration: none; }
.table__arrow { width: 14px; height: 14px; }
.usa-table th.is-fixed, .usa-table td.is-fixed { position: sticky; right: 0; background: var(--c-paper); box-shadow: inset 1px 0 0 var(--c-surface); }
.table__chips { display: inline-flex; flex-wrap: wrap; gap: 4px; }
.table__chips.is-nowrap { flex-wrap: nowrap; }
.table__none { color: var(--c-base-dark); }
/* M282.1 (M282-draft D2.1): a quiet value placed after a cell's link is the cell's quiet second line, on its own line, 13/20. */
.usa-table :is(td, th) > .usa-link + .table__none { display: block; font-size: 13px; font-weight: 400; line-height: 20px; }
.table__code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; letter-spacing: .03em; color: var(--c-base-dark); }
.table__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin: 0; padding: 12px 20px; border-top: 1px solid var(--c-surface); font-size: 12px; line-height: 20px; color: var(--c-base-dark); max-width: none; }
.table__foot > :last-child:not(:first-child) { font-size: 14px; font-weight: 500; }
.usa-table .person__initials { border-radius: 6px; color: var(--c-base-dark); font-weight: 500; }
.usa-table .status { padding: 0 7px; font-size: 12px; font-weight: 500; line-height: 16px; vertical-align: middle; }
@media (hover: hover) { .usa-table tbody tr:is(.list__row, :not([class])):hover > :is(td, th) { background: var(--c-body-background); } }
/* M282.17 (Hisham, 2026-11-26): a row that opens something opens as a whole (js/admin-table.js, section 9): the hand on the whole row,
   and the keyboard's ring round the row, not round its name. A row with nothing to open carries neither attribute and stays still. */
.usa-table tbody tr:is([data-href], [data-row-press]) { cursor: pointer; }
/* M282.17 (D4): a row's name stays plain in both looks, at rest and under the mouse, whatever the link's own rules do */
.usa-table tbody th a:is(:hover, :active), html[data-appearance="dark"] .usa-table tbody th a, html[data-appearance="dark"] .usa-table tbody th a:is(:hover, :active) { color: var(--c-text); text-decoration: none; }
.usa-table tbody tr:is([data-href], [data-row-press]) > :first-child :is(a, button):not(details *):focus-visible { outline: none; }
.usa-table tbody tr:is([data-href], [data-row-press]):has(> :first-child :is(a, button):not(details *):focus-visible) { outline: 2px solid var(--c-focus); outline-offset: -2px; }
/* The card around a list: the element that carries the table's settings (data-table) and holds a table */
[data-table]:has(.list__table) { box-sizing: border-box; min-width: 0; margin: 0 0 24px; border: 1px solid var(--c-surface); border-radius: 12px; background: var(--c-paper); color: var(--c-text); }
[data-table]:has(.list__table) .table { border: 0; border-radius: 0; background: transparent; }
[data-table]:has(.list__table) .table > .usa-table-container--scrollable { border-radius: 0; }
[data-table]:has(.list__table) > :has(> .list__tablesettings) { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0; padding: 13.6px 20px; border-bottom: 1px solid var(--c-surface); border-radius: 11px 11px 0 0; background: var(--c-paper); }
[data-table]:has(.list__table) > :has(> .list__tablesettings) > :first-child { margin-right: auto; }
[data-table]:has(.list__table) > :has(> .list__tablesettings) .search-field { max-width: 320px; }
[data-table]:has(.list__table) > .list__tablesettings { margin: 12px 20px; }
[data-table]:has(.list__table) > .filter-tabs, [data-table]:has(.list__table) > .list__answer > .filter-tabs { width: auto; margin: 8px 20px 0; }
[data-table]:has(.list__table) > .filter-tabs:not([hidden]) ~ .table, [data-table]:has(.list__table) > .list__answer > .filter-tabs:not([hidden]) ~ form .table { border-top: 1px solid var(--c-surface); }
[data-table]:has(.list__table) > footer, [data-table]:has(.list__table) > .list__answer > footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin: 0; padding: 12px 20px; border-top: 1px solid var(--c-surface); border-radius: 0 0 11px 11px; background: var(--c-paper); font-size: 12px; line-height: 20px; color: var(--c-base-dark); }
[data-table]:has(.list__table) > footer > :last-child:not(:first-child) { font-size: 14px; font-weight: 500; }
[data-table]:has(.list__table) footer .usa-pagination { margin: 0; }
@media (max-width: 640px) {
  [data-table]:has(.list__table) > :has(> .list__tablesettings) { padding: 12px 16px; }
  [data-table]:has(.list__table) > :has(> .list__tablesettings) > :first-child { flex-basis: 100%; max-width: none; margin-right: 0; }
  [data-table]:has(.list__table) > .filter-tabs, [data-table]:has(.list__table) > .list__answer > .filter-tabs { margin-inline: 16px; }
  .table__foot, [data-table]:has(.list__table) > footer, [data-table]:has(.list__table) > .list__answer > footer { padding-inline: 16px; }
}
/* M137.2: the footer pagination: the previous and next arrows side by side, then the range text (on a live list, the page-size menu's trigger) */
.usa-pagination.usa-pagination--summary { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.usa-pagination--summary > :nth-child(n+3) { margin-inline-start: 8px; }
.pagination__summary { margin: 0; font-size: 13px; line-height: 20px; color: var(--c-base-dark); }
/* Hisham, 2026-11-14: on a live list the range text that opens the page-size menu blends into the footer like the plain range
   text above: no box, line or fill, at rest, under the pointer or open, regular weight, and no small arrow; a click still opens the menu. */
html .usa-pagination--summary > .pager__size > summary.usa-button.usa-button--action, html .usa-pagination--summary > .pager__size > summary.usa-button.usa-button--action:is(:hover, :active, :focus-visible) { min-height: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; font-size: 13px; font-weight: 400; line-height: 20px; color: var(--c-base-dark); }
.usa-pagination--summary > .pager__size .menu__chevron { display: none; }
.pager__size > .menu__panel { left: 0; right: auto; }

/* A person: the initials disc, the name, one line */
.person { font-family: Inter, system-ui, sans-serif; font-size: 16px; font-weight: 400; line-height: 24px; display: inline-flex; align-items: center; gap: 10px; min-width: 0; max-width: 100%; }
.person__initials { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--c-rest-fill); color: var(--c-text); font-size: 12px; font-weight: 600; line-height: 1; }
.person__text { display: grid; grid-template-columns: minmax(0, 1fr); min-width: 0; }
.person__name { font-size: 14px; font-weight: 500; line-height: 20px; color: var(--c-text); min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.person__sub { font-weight: 400; font-size: 13px; line-height: 20px; color: var(--c-base-dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.person.is-wrapped :is(.person__name, .person__sub) { white-space: normal; overflow-wrap: anywhere; }
.person__toggle { border: 0; padding: 0; background: none; font-family: inherit; text-align: left; cursor: pointer; }
.person__toggle:hover { text-decoration: underline; }
.person--big .person__initials { width: 48px; height: 48px; font-size: 16px; }
.person--big .person__name { font-size: 18px; font-weight: 600; line-height: 24px; }

/* The details panel beside a table */
.drawer { position: sticky; top: 72px; display: grid; border: 1px solid var(--c-surface); border-radius: var(--s-border-radius-md); background: var(--c-paper); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--c-surface); }
.drawer__title { margin: 0; font-size: 13px; font-weight: 500; line-height: 20px; letter-spacing: 0; color: var(--c-base-dark); }
.drawer__body { display: grid; gap: 16px; padding: 16px; }
.drawer__chips { display: flex; flex-wrap: wrap; gap: 4px; margin: 0; }
.drawer__facts { display: grid; gap: 4px; }
.drawer__facts p { margin: 0; font-size: 14px; line-height: 20px; }
.drawer__facts p + p { margin-top: 0; }
.drawer__actions { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 16px; border-top: 1px solid var(--c-surface); }

/* The staff home: the grid of modules, a module, its rows, the sales chart */
.module-grid { display: grid; grid-template-columns: minmax(0, 1fr); grid-auto-rows: 360px; gap: 8px; align-items: stretch; padding: 8px; border-radius: 12px; background: var(--c-rest-fill); }  /* every cell the same size; a module fills its cell. Hisham, 2026-11-13, after Stripe: the modules sit on a panel one shade from the page ground, 8 px around and between them */
/* Hisham, 2026-11-13, after Stripe: the grid always fills its width, no module alone on a row. Rows of 3 at the top, rows of 2 at the
   bottom: n mod 3 = 2 puts the last two side by side, n mod 3 = 1 (n of 4 or more) the last four, one module alone takes the whole
   row. Six columns, a module of a row of 3 spans 2 and one of a row of 2 spans 3. Only the modules shown count (of :not([hidden])),
   so it follows by itself a module taken off, put back or moved. From 768 px to 1199 px (with the side menu, three no longer fit
   comfortably below 1200 px) two per row, an odd last one the whole row; on a phone one per row. */
@media (min-width: 768px) { .module-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 768px) and (max-width: 1199.98px) { .module-grid > .module:nth-last-child(1 of :not([hidden])):nth-child(odd of :not([hidden])) { grid-column: 1 / -1; } }
@media (min-width: 1200px) {
  .module-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .module-grid > .module { grid-column: span 2; }
  .module-grid:has(> :nth-child(1 of :not([hidden])):nth-last-child(3n+2 of :not([hidden]))) > .module:nth-last-child(-n+2 of :not([hidden])),
  .module-grid:has(> :nth-child(1 of :not([hidden])):nth-last-child(3n+4 of :not([hidden]))) > .module:nth-last-child(-n+4 of :not([hidden])) { grid-column: span 3; }
  .module-grid > .module:nth-child(1 of :not([hidden])):nth-last-child(1 of :not([hidden])) { grid-column: 1 / -1; }
}
.usa-card.module { margin: 0; }
.module-grid > .module { height: 100%; min-height: 0; }
.module .usa-card__container { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto; box-sizing: border-box; height: 100%; min-width: 0; gap: 12px; margin: 0; padding: 16px 20px 20px; border-radius: var(--s-border-radius-md); border-color: var(--c-rest-fill); }  /* the paper card on the panel; its hairline is the panel's own colour, so it reads as no border */
.module__body { min-height: 0; overflow: hidden; overflow: clip; overflow-clip-margin: 8px; }  /* clip, never a scroll box, and 4 px of margin so a focus ring at the edge shows. Hisham, 2026-11-13: nothing scrolls inside a module. The home sends only the rows that fit (core.dashboard.HOME_ROWS) and js/admin-home.js takes off, whole, a row a wrapped line pushes past the bottom; this only guards */
.module .module__body [hidden] { display: none; }  /* a row taken off stays out, whatever display its own rule gives it */
.module .usa-card__header, .module .usa-card__body, .module .usa-card__footer { padding: 0; }
.module__head { display: flex; align-items: center; gap: 4px; min-height: 30px; }
.module__title { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 16px; font-weight: 600; line-height: 24px; letter-spacing: 0; }
.module__action { margin-left: auto; }
.module__handle { min-width: 0; border-radius: var(--s-border-radius-sm); }
.module .usa-button.module__remove, .module__grip { display: none; }  /* the cross and the grip show in the home's edit mode only */
.home--editing .module .usa-button.module__remove { display: inline-flex; margin-left: auto; }
/* In the edit mode a module is moved, not read: a press that slides from its title (a plain text since 2026-11-13)
   would otherwise select the words of several modules, and the next press on the grip would drag that selection
   instead of the module. */
.home--editing .module { -webkit-user-select: none; user-select: none; }
@media (max-width: 767.98px) { .home--editing .module__grip { display: inline-flex; } }  /* on a phone only the grip drags */
@media (min-width: 768px) { .home--editing .module { cursor: grab; } .home--editing .module.is-lifted { cursor: grabbing; } .home--editing .module:hover > .usa-card__container, .home--editing .module:has(.module__handle:focus-visible) > .usa-card__container { box-shadow: 0 6px 16px rgb(0 0 0 / .12), 0 1px 3px rgb(0 0 0 / .08); } }  /* Hisham, 2026-11-13, after Stripe: in edit mode the module under the pointer, or holding the keyboard focus, lifts a little and reads as grabbable */
@media (min-width: 768px) and (prefers-reduced-motion: no-preference) { .home--editing .module > .usa-card__container { transition: box-shadow .15s ease; } }
.module__subhead { margin: 8px 0 0; font-size: 13px; font-weight: 500; line-height: 20px; letter-spacing: 0; color: var(--c-base-dark); }
.module__empty { display: grid; place-items: center; box-sizing: border-box; height: 100%; min-height: 120px; margin: 0; border: 1px dashed color-mix(in srgb, var(--c-control-border) 45%, transparent); border-radius: 8px; }  /* Hisham, 2026-11-13, after Stripe: every module with nothing to show fills its body with one dashed box and the one chip « No data » */
.module__empty-text { margin: 0; padding: 6px 12px; border-radius: 6px; background: var(--c-rest-fill); color: var(--c-base-dark); font-size: 14px; line-height: 20px; }
.module__foot { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 14px; line-height: 20px; }
.module__foot > .usa-link { margin-left: auto; }  /* « View all » at the bottom right; a note before it keeps the left */
.row-list.usa-collection { margin: 0; }
.row-list .usa-collection__body { margin: 0; }
.row-list { display: grid; margin: 0; padding: 0; list-style: none; max-width: none; font-size: 13px; line-height: 21px; }
.row-list__row, .row-list__row + .row-list__row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; min-height: 48px; margin: 0; padding: 9px 0; border-top: 0; border-bottom: 1px solid var(--c-surface); max-width: none; }
.row-list__row:last-child { border-bottom: 0; }
.row-list__row.is-late .row-list__title::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 6px; border-radius: 50%; background: var(--c-primary); vertical-align: 2px; }
.row-list__text { display: grid; flex: 1 1 8rem; min-width: 0; }
.row-list .row-list__title, .row-list a.row-list__title:visited { color: var(--c-text); font-size: 14px; font-weight: 600; line-height: 20px; text-decoration: none; }
/* Hisham, 2026-11-13, after Stripe: a row with a destination is clickable as a whole. Its name is the one link, plain semibold text
   stretched over the row; the buttons, menus and forms at the right sit above it; the row under the pointer takes a light fill 8 px
   past the text with 6 px corners, and the keyboard ring goes round the row. A row without a destination stays still. */
.row-list__row:has(> .row-list__text > a.row-list__title) { position: relative; margin-inline: -8px; padding-inline: 8px; border-radius: 6px; }
.row-list a.row-list__title::before { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.row-list__side :is(a[href], button, summary, details, form, input, select, textarea, label) { position: relative; z-index: 1; }
@media (hover: hover) { .row-list__row:has(> .row-list__text > a.row-list__title):hover { background: color-mix(in srgb, var(--c-surface) 60%, transparent); } }
.row-list__row:has(> .row-list__text > a.row-list__title:active) { background: var(--c-surface); }
.row-list a.row-list__title:focus-visible { outline: none; }
.row-list__row:has(> .row-list__text > a.row-list__title:focus-visible) { outline: 2px solid var(--c-focus); outline-offset: -2px; }
.console-task-row + .console-task-row { border-top: 1px solid var(--c-surface); }  /* a hairline between two task rows, as between the rows of one list */
.row-list__meta { font-size: 13px; line-height: 20px; color: var(--c-base-dark); }
.row-list__side { display: flex; flex: none; align-items: center; gap: 8px; }
.row-list__amount { font-size: 14px; font-weight: 600; line-height: 20px; font-variant-numeric: tabular-nums; }
.row-list__people { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; line-height: 20px; color: var(--c-base-dark); font-variant-numeric: tabular-nums; }
.row-list__people .usa-icon { width: 16px; height: 16px; }
/* M282.5 (M282-draft D9.2, D11): the row list's small title above its rows (12 px, semi-bold, capitals, in the quiet colour), and
   the buttons before a row's name, in a 44 px place that an empty list keeps so the names line up. */
.row-list__heading { margin: 0 0 4px; padding: 0; color: var(--c-base-dark); font-size: 12px; font-weight: 600; line-height: 1.4; letter-spacing: .06em; text-transform: uppercase; }
.row-list__heading[hidden] { display: none; }
.row-list ~ .row-list__heading { margin-top: 24px; }  /* the title of a second group, 24 px under the first */
.row-list__lead { display: flex; flex: none; align-items: center; min-width: 44px; min-height: 44px; margin: -7px 0 -7px -10px; }
/* M282.2 (M282-draft D7, D8): the category tiles, one look, the settings index's: one, two or three columns; an icon square, the name in the link colour, a second line. The same rules in design.css and design-main.css. A symbol carries its own fill: the console's line symbols say fill="none" and take the stroke, the filled category symbols take the fill, and the stroke, given in the symbol's own units, is under a tenth of a pixel on their 256 unit grid. */
.category-tiles { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px 40px; max-width: 1120px; margin: 0; padding: 0; list-style: none; }
.category-tiles > li { display: block; margin: 0; padding: 0; max-width: none; list-style: none; }
/* M282.19 (Hisham, 2026-11-26): the tile reacts as a whole, as on Stripe. Under the pointer a pale fill fades in behind the whole tile, and the icon's square has that same colour, so it melts into the fill. The fill reaches 8 px past the tile (margin -8px, padding 8px), so nothing moves at rest. The title is not underlined and reads the link colour by its name. */
.category-tiles a, .category-tiles a:visited { display: flex; align-items: flex-start; gap: 16px; min-width: 0; margin: -8px; padding: 8px; border-radius: 8px; color: inherit; text-decoration: none; transition: background-color 300ms cubic-bezier(0, 0, .12, .95); }
@media (hover: hover) { .category-tiles a:hover { background: var(--c-hover-fill); } }
@media (prefers-reduced-motion: reduce) { .category-tiles a { transition: none; } }
.category-tiles a:focus-visible { outline: 2px solid var(--c-focus); outline-offset: 0; }
.category-tiles__icon { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 6px; background: var(--c-hover-fill); color: var(--c-base-dark); }
.category-tiles__icon svg { width: 20px; height: 20px; fill: currentColor; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.category-tiles__text { display: block; min-width: 0; }
.category-tiles__name { display: block; color: var(--c-link); font-size: 14px; font-weight: 600; line-height: 20px; }
.category-tiles__count { display: block; margin-top: 2px; color: var(--c-base-dark); font-size: 14px; line-height: 20px; }
@media (min-width: 768px) { .category-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .category-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.listing:has(> .category-tiles):not(:has(> .listing__head)) { margin-top: -3px; }  /* M282.3 (M282-draft D10): tiles with no head of their own, placed under a heading in a column with a 24 px gap, start 21 px under it, as the current console's settings entries */
/* M282.3 (M282-draft D11): the organization head, as on the public pages (design-main.css), for the console's list. */
.org-head { display: grid; min-width: 0; }
.org-head .panel-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.org-head__cover { aspect-ratio: 7 / 2; border-radius: 16px; overflow: hidden; background: var(--c-rest-fill); }
.org-head__cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.org-head__row { position: relative; display: flex; align-items: flex-end; gap: 16px; margin-top: -52px; }
.org-head__picture { flex: none; display: grid; place-items: center; width: 104px; height: 104px; border-radius: 16px; overflow: hidden; border: 4px solid var(--c-body-background); background: var(--c-rest-fill); font-size: 28px; font-weight: 700; color: var(--c-base-dark); }
.org-head__picture img { display: block; width: 100%; height: 100%; object-fit: cover; }
.org-head__tools { display: flex; gap: 8px; margin-left: auto; padding-bottom: 4px; }
.org-head__tools .usa-button { margin: 0; }
.org-head__tools .usa-button.usa-button--outline, .org-head__tools .usa-button.usa-button--outline:visited { display: inline-flex; align-items: center; gap: 8px; background: var(--c-paper); color: var(--c-text); font-weight: 600; text-decoration: none; }
.org-head__tools .usa-button.usa-button--outline:hover { background: var(--c-hover-fill); }
.org-head__tools .usa-icon { width: 18px; height: 18px; }
.org-head__text { display: grid; gap: 10px; padding-top: 20px; }
.org-head__name { margin: 0; font-family: inherit; font-size: 32px; font-weight: 600; line-height: 38px; letter-spacing: -.025em; }
.org-head__about { margin: 0; max-width: 700px; font-size: 16px; line-height: 24px; }
.org-head__links { display: flex; gap: 14px; margin: 4px 0 0; padding: 0; list-style: none; max-width: none; }
.org-head__links li { margin: 0; }
.org-head__links a { display: grid; place-items: center; width: 28px; height: 28px; color: var(--c-base-dark); }
.org-head__links a:hover { color: var(--c-text); }
.org-head__links svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 760px) {
  .org-head__cover { aspect-ratio: 5 / 2; border-radius: 12px; }
  .org-head__row { margin-top: -40px; }
  .org-head__picture { width: 80px; height: 80px; border-radius: 14px; font-size: 22px; }
  .org-head__text { padding-top: 16px; }
  .org-head__name { font-size: 26px; line-height: 32px; }
}
/* M282.4 (M282-draft D9.1): the head of the console's « Organizer profile ». The row of the pictures and the text stand 32 px
   inside the wide picture (16 px on a phone), as on the public page, where the page's own margin places them. The content
   the console hands it: the menu of the wide picture at its lower right, 12 px inside; the camera of the square picture
   over its lower right corner; the bars under the row, shown one at a time. While a picture is repositioned the buttons
   and the menus step aside and the picture is dragged in its frame. On a phone a link button with an icon shows the icon
   alone, so the buttons stand on one line under the wide picture, as on the current console. */
.org-head__cover { grid-area: 1 / 1; }
.org-head__row, .org-head__text, .org-head__below { padding-inline: 32px; }
.org-head__cover-tools { grid-area: 1 / 1; align-self: end; justify-self: end; position: relative; z-index: 6; margin: 0 12px 12px 0; }
.org-head__picture-tools { position: relative; z-index: 6; align-self: flex-end; margin: 0 0 -6px -46px; }
.org-head__picture-tools .menu__panel { left: 0; right: auto; }
.org-head__cover-tools > .menu > summary.usa-button, .org-head__picture-tools > .menu > summary.usa-button { box-shadow: 0 1px 3px rgb(0 0 0 / .2); }
html .org-head__picture-tools > .menu > summary.usa-button.usa-button--icon, html .photo-grid__items > li > .menu > summary.usa-button.usa-button--icon { width: 32px; min-height: 32px; height: 32px; padding: 0; border-radius: 50%; background: var(--c-paper); color: var(--c-text); box-shadow: 0 1px 3px rgb(0 0 0 / .2); }
html .org-head__picture-tools > .menu > summary.usa-button.usa-button--icon:hover, html .org-head__picture-tools > .menu[open] > summary.usa-button.usa-button--icon, html .photo-grid__items > li > .menu > summary.usa-button.usa-button--icon:hover, html .photo-grid__items > li > .menu[open] > summary.usa-button.usa-button--icon { background: var(--c-surface); }
html[data-appearance="dark"] .org-head__picture-tools > .menu > summary.usa-button.usa-button--icon, html[data-appearance="dark"] .photo-grid__items > li > .menu > summary.usa-button.usa-button--icon { background: var(--c-paper); color: var(--c-text); box-shadow: 0 1px 3px rgb(0 0 0 / .4); }  /* M282.24: in the dark look the round button on a picture keeps its disc, which the icon button's dark rule took away, so the camera and the pen stay visible on a photo */
.org-head__tools { flex-wrap: wrap; justify-content: flex-end; }
.org-head__tools > .component-form, .org-head__tools .usa-button { width: auto; }
.org-head__below { display: grid; gap: 12px; margin-top: 12px; }
.org-head__below:not(:has(> :not([hidden]))) { display: none; }
.org-head.is-repositioning .org-head__tools { visibility: hidden; }
.org-head.is-repositioning :is(.org-head__cover-tools, .org-head__picture-tools) { display: none; }
:is(.org-head__cover, .org-head__picture).is-repositioning img { cursor: grab; touch-action: none; user-select: none; -webkit-user-drag: none; }
:is(.org-head__cover, .org-head__picture).is-dragging img { cursor: grabbing; }
@media (max-width: 760px) {
  .org-head__row, .org-head__text, .org-head__below { padding-inline: 16px; }
}
@media (max-width: 767px) {
  .org-head__tools a.usa-button:has(> .usa-icon) { column-gap: 0; padding-inline: 8px; font-size: 0; }
}
/* M282.3 (M282-draft D11): the follow button, as on the public pages (design-main.css). */
/* M282.3 (M282-draft D11): the month calendar, as on the public pages (design-main.css). */
.month-calendar { display: grid; gap: 12px; padding: 16px 14px 14px; border: 1px solid var(--c-surface); border-radius: 14px; background: var(--c-paper); }
.month-calendar__head { display: flex; align-items: center; gap: 2px; padding: 0 2px 0 6px; }
.month-calendar__title { margin: 0 auto 0 0; max-width: none; font-size: 17px; font-weight: 700; line-height: 28px; letter-spacing: -.01em; }
.month-calendar__nav, .month-calendar__nav:visited { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 7px; color: var(--c-base-dark); text-decoration: none; }
.month-calendar__nav:hover { background: var(--c-hover-fill); color: var(--c-text); }
.month-calendar__nav svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.month-calendar__nav i { display: block; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.month-calendar__dows, .month-calendar__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.month-calendar__dow { font-size: 12px; font-weight: 600; line-height: 28px; text-align: center; color: var(--c-base-dark); }
.month-calendar__view { position: relative; overflow: hidden; }
.month-calendar__grid { row-gap: 2px; }
.month-calendar__grid--out { position: absolute; top: 0; left: 0; right: 0; pointer-events: none; }
.month-calendar__day { position: relative; display: grid; place-items: center; height: 38px; margin: 0; padding: 0 0 6px; box-sizing: border-box; border-radius: 9px; font-size: 14px; font-weight: 400; line-height: 20px; text-decoration: none; color: color-mix(in srgb, var(--c-base-dark) 55%, var(--c-paper)); }
.month-calendar__day--out { color: color-mix(in srgb, var(--c-base-dark) 20%, var(--c-paper)); }
.month-calendar__day--today { font-weight: 600; color: var(--c-primary); }
a.month-calendar__day--has, a.month-calendar__day--has:visited { font-weight: 600; color: var(--c-text); transition: background-color 300ms cubic-bezier(0, 0, .12, .95); }
.month-calendar__day--has::after { content: ""; position: absolute; left: 50%; bottom: 5px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: currentColor; opacity: .55; }
a.month-calendar__day--has.month-calendar__day--today { color: var(--c-primary); }
a.month-calendar__day--has:hover { background: var(--c-hover-fill); }
.month-calendar__day--on, a.month-calendar__day--on:hover { background: var(--c-rest-fill); box-shadow: inset 0 0 0 1px var(--c-control-border); }
.month-calendar__day:focus-visible, .month-calendar__nav:focus-visible, .month-calendar__seg a:focus-visible { outline: 2px solid var(--c-focus); outline-offset: 1px; }
.month-calendar__seg { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; padding: 3px; border-radius: 10px; background: var(--c-rest-fill); }
.month-calendar__seg a, .month-calendar__seg a:visited { display: grid; place-items: center; height: 34px; padding: 0 8px; border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--c-base-dark); text-decoration: none; }
.month-calendar__seg a[aria-pressed="true"] { background: var(--c-paper); color: var(--c-text); box-shadow: 0 1px 2px color-mix(in srgb, var(--c-text) 12%, transparent); }
/* M282.3 (M282-draft D11): the text block, as on the public pages (design-main.css), with the listing's head and title that it and the category tiles' head use. */
.text-block { display: grid; gap: 16px; min-width: 0; }
.text-block__text { max-width: 700px; margin: 0; }
.text-block__text p { margin: 0 0 12px; max-width: none; }
.text-block__text p:last-child { margin-bottom: 0; }
.listing { display: grid; gap: 16px; }
.listing__head { display: flex; align-items: start; gap: 16px; }
.listing__title { margin: 0; font-family: inherit; font-size: 20px; font-weight: 600; line-height: 26px; }
.photo-grid { display: grid; gap: 16px; min-width: 0; }  /* M282.24 (Hisham, 2026-11-26): the photo grid, equal squares with square corners, six in a row, three on a phone; the pen at a square's top right; the viewer */
.photo-grid__items { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; max-width: none; }
.photo-grid__items > li { position: relative; margin: 0; max-width: none; aspect-ratio: 1 / 1; border-radius: 0; background: var(--c-surface); }
.photo-grid__items > li > a { display: block; width: 100%; height: 100%; overflow: hidden; border-radius: 0; }
.photo-grid__items img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.photo-grid__items > li > .menu { position: absolute; top: 6px; right: 6px; }
.photo-grid__items > li > .menu > .menu__panel { left: 0; right: auto; }  /* M282.24 (Hisham, 2026-11-27): the pen's menu opens from the pen towards the right, so it does not cover its own photo */
.photo-grid__items > li:nth-child(6n) > .menu > .menu__panel { left: auto; right: 0; }  /* the last square of a row has no room at its right: its menu opens towards the left, inside the page */
@media (max-width: 760px) { .photo-grid__items > li:nth-child(6n) > .menu > .menu__panel { left: 0; right: auto; } .photo-grid__items > li:nth-child(3n) > .menu > .menu__panel { left: auto; right: 0; } }
@media (max-width: 760px) { .photo-grid__items { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.usa-card__body > .photo-grid + .usa-button { margin-top: 16px; }  /* M282.24: « See more » stands 16 px under the row of photos of « Home » */
dialog[data-photo-viewer].component-dialog:has(> .component-dialog__head) { width: min(960px, calc(100vw - 32px)); }
dialog[data-photo-viewer] > .component-dialog__body { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
dialog[data-photo-viewer] [data-photo-img] { display: block; flex: 0 0 100%; max-width: 100%; max-height: calc(100vh - 220px); margin: 0 auto; object-fit: contain; }
.sales-chart { display: grid; gap: 0; margin: 0; }
.sales-chart__total { margin: 0; font-size: 24px; font-weight: 600; line-height: 32px; font-variant-numeric: tabular-nums; }
.sales-chart__dates { margin: 0 0 8px; font-size: 13px; line-height: 20px; color: var(--c-base-dark); }
.sales-chart__svg { display: block; width: 100%; height: auto; overflow: visible; }
.sales-chart__grid { stroke: var(--c-surface); stroke-width: 1; stroke-dasharray: 2 3; }
.sales-chart__axis { stroke: var(--c-control-border); stroke-width: 1; }
.sales-chart__line { stroke: var(--c-primary); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.sales-chart__area { fill: color-mix(in srgb, var(--c-primary) 10%, transparent); }
.sales-chart__tick { fill: var(--c-base-dark); font-size: 12px; }

/* An empty list */
.empty-state { display: grid; justify-items: start; gap: 8px; padding: 32px 24px; border: 1px dashed var(--c-control-border); border-radius: var(--s-border-radius-md); }
.empty-state__title { margin: 0; font-size: 16px; font-weight: 600; line-height: 24px; }
.empty-state__text { margin: 0; font-size: 14px; line-height: 20px; color: var(--c-base-dark); }

/* The evening editor: the title, the picture, the start and the end, the lines, the sheet, the save bar */
.usa-form-group--title { margin: 0; padding: 0; }
.usa-input.usa-input--title { height: auto; min-height: 48px; padding: 4px 0; border-color: transparent; background: transparent; font-family: 'Petrona', Georgia, serif; font-size: 32px; font-weight: 700; line-height: 40px; color: var(--c-text); }
.usa-input.usa-input--title:hover { border-color: transparent; box-shadow: inset 0 -1px 0 #878787; }
html[data-appearance="dark"] .usa-input.usa-input--title { border-color: transparent; color: var(--c-text); }
html[data-appearance="dark"] .usa-input.usa-input--title:hover { box-shadow: inset 0 -1px 0 #7a7a7a; }
.when { display: grid; gap: 0; padding: 4px 16px; border: 1px solid var(--c-surface); border-radius: var(--s-border-radius-md); background: var(--c-paper); }
.when__row { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 8px 0; }
.when__row + .when__row { border-top: 1px solid var(--c-surface); }
.when__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-text); }
.when__dot--end { background: transparent; box-shadow: inset 0 0 0 1px var(--c-text); }
.when__label { width: 48px; font-size: 14px; font-weight: 500; line-height: 20px; }
.when__inputs { display: flex; gap: 8px; margin-left: auto; }
.when__help { margin: 0; padding: 4px 0 8px; font-size: 13px; line-height: 20px; color: var(--c-base-dark); }
.setting-lines { margin: 0; display: grid; overflow: hidden; border: 1px solid var(--c-surface); border-radius: var(--s-border-radius-md); background: var(--c-paper); }
.setting-lines__line { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 48px; margin: 0; padding: 8px 16px; border: 0; border-bottom: 1px solid var(--c-surface); background: transparent; color: var(--c-text); font: inherit; font-size: 14px; line-height: 20px; text-align: left; cursor: pointer; }
.setting-lines__line:last-child { border-bottom: 0; }
.setting-lines__line:hover, .setting-lines__line.is-hover { background: var(--c-hover-fill); }
.setting-lines__line.is-current { background: #f7f1e8; }
html[data-appearance="dark"] .setting-lines__line.is-current { background: #272724; }
.setting-lines__line:focus-visible { outline: 2px solid var(--c-focus); outline-offset: -2px; }
.setting-lines__line.line--invalid { outline: 2px solid var(--c-error-dark); outline-offset: -2px; }
.setting-lines__icon { flex: none; width: 20px; height: 20px; color: var(--c-base-dark); }
.setting-lines__name { flex: 1; min-width: min-content; font-weight: 500; }
.setting-lines__value { min-width: 0; overflow-wrap: anywhere; color: var(--c-base-dark); }
.setting-lines__chevron { flex: none; width: 16px; height: 16px; color: var(--c-base-dark); }
.setting-lines__story { display: grid; flex: 1; gap: 2px; min-width: 0; }
.setting-lines__preview { display: -webkit-box; overflow: hidden; color: var(--c-base-dark); -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.setting-lines__edit { align-self: start; color: var(--c-base-dark); font-size: 13px; }
.switch-row--compact, .switch-row--line { padding: 8px 0; }
.switch-row--line { min-height: 48px; padding: 4px 16px; border-bottom: 1px solid var(--c-surface); }
.switch-row__text { display: flex; align-items: center; gap: 12px; min-width: 0; }
.switch-row__icon { flex: none; width: 20px; height: 20px; color: var(--c-base-dark); }
.switch-row--line strong { font-size: 14px; line-height: 20px; }
.switch-row__count { margin-left: 4px; font-size: 13px; font-weight: 400; color: var(--c-base-dark); }
.switch-row__note { margin-left: 4px; font-size: 12px; font-weight: 400; color: var(--c-base-dark); }
.switch-control input[aria-invalid="true"] + .switch-track { outline: 2px solid var(--c-error-dark); outline-offset: 2px; }
.switch-control input.usa-focus + .switch-track { outline: 2px solid var(--c-focus); outline-offset: 3px; }
.sheet { position: sticky; top: 72px; display: grid; border: 1px solid var(--c-surface); border-radius: var(--s-border-radius-md); background: var(--c-paper); box-shadow: 0 8px 24px rgba(48, 39, 32, .08); }
html[data-appearance="dark"] .sheet, html[data-appearance="dark"] .menu__panel { box-shadow: 0 8px 24px rgba(0, 0, 0, .4); }
.sheet__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px 12px 20px; border-bottom: 1px solid var(--c-surface); }
.sheet__title { margin: 0; font-size: 16px; line-height: 24px; letter-spacing: 0; }
.sheet__body { display: grid; gap: 16px; padding: 20px; }
.sheet__group { display: grid; gap: 4px; }
.sheet__label { margin: 0; font-size: 14px; font-weight: 500; line-height: 20px; }
.sheet__help { margin: 0 0 4px; font-size: 13px; line-height: 20px; color: var(--c-base-dark); }
.save-bar { position: sticky; bottom: 0; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin: 24px -32px -48px; padding: 12px 32px; border-top: 1px solid var(--c-surface); background: var(--c-paper); }
.save-bar__status { display: grid; }
.save-bar__state { margin: 0; font-size: 14px; font-weight: 500; line-height: 20px; }
.save-bar__note { font-size: 13px; line-height: 20px; color: var(--c-base-dark); }
.save-bar__buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
@media (max-width: 767px) { .save-bar { bottom: var(--console-bottom-menu-height, 61px); margin: 16px -16px calc(var(--console-bottom-menu-height, 61px) - 88px); padding: 12px 16px; } }

/* M137.1.4, after the first look at the pages */
.usa-table thead th { white-space: nowrap; }

/* M137.1.5: the components page's « Mises en page »: each layout drawn as its regions in its own proportions */
.layouts__title { margin: 0 0 4px; font-size: 22px; line-height: 28px; }
.layouts__lede { margin: 0 0 16px; font-size: 14px; line-height: 20px; color: var(--c-base-dark); }
.layouts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: 24px; }
.layouts__item { display: grid; gap: 8px; align-content: start; }
.layouts__label { margin: 0; font-size: 16px; line-height: 24px; }
.layouts__pages { margin: 0; font-size: 14px; line-height: 20px; }
.layout-diagram { display: grid; gap: 6px; padding: 8px; border: 1px solid var(--c-surface); border-radius: var(--s-border-radius-md); background: var(--c-body-background); }
.layout-diagram--panel_one, .layout-diagram--panel_grid { grid-template-areas: "frame header" "frame main" "frame bottom"; grid-template-columns: 104px minmax(0, 1fr); }
.layout-diagram--panel_aside { grid-template-areas: "frame header header" "frame main aside" "frame bottom bottom"; grid-template-columns: 104px minmax(0, 2fr) minmax(0, 1fr); }
.layout-diagram--focus { grid-template-areas: "header" "main" "bottom"; grid-template-columns: minmax(0, 220px); justify-content: center; }
.layout-diagram__region { min-width: 0; overflow-wrap: anywhere; padding: 6px 8px; border: 1px solid var(--c-base-dark); border-radius: var(--s-border-radius-sm); background: var(--c-paper); font-size: 12px; line-height: 16px; }
.layout-diagram__region--frame { grid-area: frame; }
.layout-diagram__region--header { grid-area: header; }
.layout-diagram__region--main { grid-area: main; min-height: 120px; }
.layout-diagram__region--aside { grid-area: aside; }
.layout-diagram__region--bottom { grid-area: bottom; }
.layout-diagram__name { margin: 0 0 4px; font-family: ui-monospace, Menlo, monospace; font-weight: 600; max-width: none; }
.layout-diagram__note { display: block; font-family: inherit; font-weight: 400; color: var(--c-base-dark); }
.layout-diagram__list { display: flex; flex-wrap: wrap; gap: 2px 8px; margin: 0; padding: 0; list-style: none; max-width: none; }
.layout-diagram__list li { margin: 0; min-width: 0; max-width: 100%; }

/* Live shell controls retain their component-owned visibility and geometry. */
.top-bar__search { position: relative; }
.topbar__kbd { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: 12px; color: var(--c-base-dark); }
/* M282.13: the top bar's search opened (html.search-open, js/admin-search.js), as main's search card (M251). The form
   leaves the bar's row where it stood, rises by 4 px and widens into one card that holds the field and, under a
   hairline, the results; the field shows no ring of its own, the opened card is the sign. Everything behind fades:
   the page, the left panel and the bottom menu under the frame's ::after, the rest of the bar under its own ::after,
   the bar raised above the frame's so that the card, which lives in the bar, stays above both. */
html.search-open .top-bar { z-index: 46; }
html.search-open .top-bar__search { position: absolute; z-index: 42; top: calc(50% - 15px); max-width: min(38rem, calc(100vw - 240px - 2.5rem)); overflow: hidden; border: 1px solid var(--c-surface); border-radius: 8px; background: var(--c-paper); box-shadow: 0 12px 32px rgb(0 0 0 / .22); transform: translateY(-4px); }
html.search-open .top-bar__search .search-field { max-width: none; }
.top-bar__search #console-search { transition: height 180ms ease-out, min-height 180ms ease-out; }
html.search-open .top-bar__search #console-search, html.search-open .top-bar__search #console-search:focus, html.search-open .top-bar__search #console-search:focus-visible { height: 36px; min-height: 36px; border: 0; border-radius: 0; background: none; box-shadow: none; outline: 0; }
html.search-open .top-bar__search #console-search::-webkit-search-cancel-button { display: none; }
html.search-open .topbar__kbd { display: none; }
html:not(.search-open) #console-search-results { display: none; }
html.search-open #console-search-results { box-sizing: border-box; max-height: min(32rem, calc(100vh - 6rem)); margin: 0; padding: 8px; overflow-y: auto; border-top: 1px solid var(--c-surface); }
html.search-open #console-search-results > .usa-card__container { border: 0; border-radius: 0; background: none; }
#console-search-results [data-search-name] mark { background: none; color: inherit; font-weight: 700; }
/* M282.13, the planner's pass on the executor's report: inside the search card a category is a quiet title line with its count at the right, and each result takes a line of its own with its chips at the right, as on the current console. Placing only: the card, the count, the link, the person and the status keep their own look. */
#console-search-results [data-search-cat] { margin: 0; border: 0; }
#console-search-results [data-search-cat] + [data-search-cat] { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--c-surface); }
#console-search-results [data-search-cat] > .usa-card__container { position: relative; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
#console-search-results [data-search-cat] .usa-card__header { padding: 0 12px; }
#console-search-results [data-search-cat] .usa-card__heading { margin: 0; font-size: 12px; font-weight: 400; line-height: 28px; color: var(--c-base-dark); }
#console-search-results [data-search-cat] .usa-card__body { display: grid; padding: 0; }
#console-search-results [data-search-cat] .usa-card__body > .count { position: absolute; top: 5px; right: 12px; }
#console-search-results [data-search-row] { display: flex; align-items: center; min-height: 44px; box-sizing: border-box; padding: 5px 12px; border-radius: 4px; color: var(--c-text); text-decoration: none; }
#console-search-results [data-search-row].is-active { background: var(--c-surface); }
#console-search-results [data-search-row] > .person { display: flex; flex: 1 1 auto; align-items: center; min-width: 0; }
#console-search-results [data-search-row] .person__text { flex: 1 1 auto; min-width: 0; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; align-items: center; }
#console-search-results [data-search-row] .person__text > :is(.person__name, .person__sub) { grid-column: 1; }
#console-search-results [data-search-row] .person__text > :not(.person__name, .person__sub) { grid-column: 2; grid-row: 1 / span 2; }
#console-search-results [data-search-row] .person__name, #console-search-results [data-search-row] .person__sub { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
#console-search-results [data-search-more] { min-height: 0; padding: 6px 12px 7px 12px; font-size: 13px; color: var(--c-primary); }
.console::after, .top-bar::after { content: ""; background: rgb(33 28 24 / .5); opacity: 0; visibility: hidden; transition: opacity 160ms ease-out, visibility 0s linear 160ms; }
.console::after { position: fixed; inset: 0; z-index: 45; }
.top-bar::after { position: absolute; inset: 0 0 -1px; z-index: 41; }
html.search-open .console::after, html.search-open .top-bar::after { opacity: 1; visibility: visible; transition-delay: 0s; }
@media (min-width: 768px) and (max-width: 1023px) { html.search-open .top-bar__search { margin-left: 48px; } } /* the menu button stands at the bar's left */
@media (max-width: 767px) {
  html.search-open .top-bar__search { display: block; position: fixed; top: 8px; left: 8px; right: 8px; width: auto; max-width: none; margin: 0; transform: none; }
  html.search-open .top-bar__search #console-search { font-size: 16px; } /* under 16 px an iPhone zooms the page when the field takes the focus */
  html.search-open #console-search-results { max-height: 50vh; } /* the keyboard takes the lower half */
}
@media (prefers-reduced-motion: reduce) { .top-bar__search, .top-bar__search #console-search, .console::after, .top-bar::after { transition: none; } }
.top-bar__button.panel-toggle, .panel-fold.usa-button { display: none; }
@media (max-width: 1023px) {
  .top-bar__button.panel-toggle { display: inline-flex; }
}


/* Native overlays reuse the drawer and sheet visual owners. */
.drawer--modal, .sheet--modal { position: fixed; z-index: 40; inset-block: 0; inset-inline-start: auto; inset-inline-end: 0; margin: 0; width: min(600px, 100vw); max-width: 100vw; height: 100dvh; max-height: 100dvh; padding: 0; overflow: auto; border-radius: 4px; color: var(--c-text); }  /* M282.26: a panel at the edge of the window keeps its 4 px corners while the frames go to 8 px */
.drawer--modal:not([open]), .sheet--modal:not([open]) { display: none; }
.drawer--modal::backdrop, .sheet--modal::backdrop { background: var(--c-veil); }
/* Wide is an explicit sheet geometry option for two-pane workspaces. */
.sheet--wide { width: min(72rem, 100vw); }
.drawer--preview, .sheet--preview { position: relative; inset: auto; width: 100%; max-width: 600px; height: auto; max-height: none; }
.sheet--preview.sheet--wide { width: 100%; max-width: 72rem; }

/* A live overlay fills the viewport without stretching its header or controls. */
.drawer--modal, .sheet--modal { grid-template-rows: auto minmax(0, 1fr); }
.drawer__body, .sheet__body { align-content: start; }
.drawer--modal > .drawer__body, .sheet--modal > .sheet__body { overflow: auto; min-height: 0; }
/* M282.5 (M282-draft D9.2): the dialog given content, as the current console's list pop-up: in the middle of the window, 420 px
   wide at most, a 52 px head with its title in the middle and the close « × » at its right, the body under it; it fades in
   with is-open, which its script sets. The yes or no question keeps its own look. */
.component-dialog:has(> .component-dialog__head) { box-sizing: border-box; width: min(420px, calc(100% - 20px)); max-width: none; max-height: calc(100dvh - 28px); padding: 0; overflow: auto; overscroll-behavior: contain; }
/* M282.26 (Hisham, 2026-11-26): every pop-up the dialog draws moves as Stripe's does. Closed it waits transparent at 95 % of its size, with a transparent veil; js/component-dialog.js gives it is-open, and it fades in with its veil while it grows, in 0.1 s; without the class it fades out the same way in 0.3 s, and the script closes it then. An example on the reference page (--preview) does not move. */
.component-dialog:not(.component-dialog--preview) { opacity: 0; transform: scale(.95); transition: opacity .3s cubic-bezier(0, .09, .4, 1), transform .3s cubic-bezier(0, .09, .4, 1); }
.component-dialog.is-open { opacity: 1; transform: none; transition-duration: .1s; }
.component-dialog:not(.component-dialog--preview)::backdrop { background: transparent; transition: background-color .3s cubic-bezier(0, .09, .4, 1); }
.component-dialog.is-open::backdrop { background: var(--c-veil); transition-duration: .1s; }
.component-dialog__head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 56px; border-bottom: 1px solid var(--c-surface); background: var(--c-paper); }
.component-dialog__head > .component-dialog__title { margin: 0; font-size: 16px; font-weight: 600; line-height: 1.3; text-align: center; }
.component-dialog__head > .usa-button { position: absolute; top: 12px; right: 12px; }
.component-dialog__body { padding: 24px 20px 20px; }
@media (prefers-reduced-motion: reduce) { .component-dialog:not(.component-dialog--preview), .component-dialog.is-open, .component-dialog:not(.component-dialog--preview)::backdrop, .component-dialog.is-open::backdrop { transition: none; } }

.save-bar--flow { position: static; margin: 24px 0 0; padding: 12px 0; }
.usa-button.usa-button--danger { background-color: var(--c-primary-darker); color: var(--c-paper); }
.usa-button.usa-button--danger:hover, .usa-button.usa-button--danger.usa-button--hover { background-color: color-mix(in srgb, var(--c-primary-darker) 85%, var(--c-paper)); color: var(--c-paper); }

.lang-select { margin-block-end: 18px; }

.usa-button.usa-button--danger:active, .usa-button.usa-button--danger.usa-button--active { background-color: color-mix(in srgb, var(--c-primary-darker) 70%, var(--c-paper)); color: var(--c-paper); }
.usa-button.usa-button--danger:disabled { background: var(--c-rest-fill); color: var(--c-base-dark); }

/* Hisham, 2026-11-13 (from Stripe): an icon-only button shows its name in a dark grey bubble centred 6 px below it,
   after 400 ms under the pointer and at once on keyboard focus. The name is the button's aria-label, drawn by a
   pseudo-element, so a screen reader still hears it once and no title tooltip doubles it. The bubble exists only
   while shown, so a hidden one never widens the page; a touch screen, an open menu or an expanded button shows none.
   The top bar's tools are drawn by the top bar component and share this one bubble. */
.usa-button--icon, .top-bar__button, .top-bar__create { position: relative; }
:is(.usa-button--icon, .top-bar__button, .top-bar__create)[aria-label]:is(:hover, :focus-visible)::after { content: attr(aria-label); position: absolute; top: calc(100% + 6px); left: 50%; z-index: 40; width: max-content; max-width: 240px; padding: 4px 8px; border-radius: 6px; background: #414552; color: #ffffff; font: 500 12px/16px Inter, system-ui, sans-serif; letter-spacing: normal; text-align: center; text-transform: none; white-space: normal; box-shadow: 0 2px 6px rgb(0 0 0 / .16); pointer-events: none; transform: translateX(-50%); }
/* The top bar's last tool sits at the window's right edge, where a centred bubble would cross it and widen the
   page: its bubble keeps its place 6 px below and lines up with the button's right side instead. */
.top-bar__tools > :last-child[aria-label]:is(:hover, :focus-visible)::after { left: auto; right: 0; transform: none; }
:is(.usa-button--icon, .top-bar__button, .top-bar__create)[aria-label]:hover:not(:focus-visible)::after { animation: icon-bubble-wait 1ms 400ms backwards; }
@keyframes icon-bubble-wait { from { visibility: hidden; } }
details[open] > :is(.usa-button--icon, .top-bar__button, .top-bar__create)[aria-label]::after, :is(.usa-button--icon, .top-bar__button, .top-bar__create)[aria-label][aria-expanded="true"]::after { content: none; }
@media (hover: none) { :is(.usa-button--icon, .top-bar__button, .top-bar__create)[aria-label]:hover:not(:focus-visible)::after { content: none; } }
/* Hisham, 2026-11-13 (from Stripe): the icon-only button is the icon alone, with no fill, line or shadow at rest;
   under the pointer a clickable one takes a light square fill; a disabled one is a light grey icon with no hover;
   the keyboard focus keeps a ring. Pagination arrows, filter tab arrows, row menus and the table settings share it. */
html .usa-button.usa-button--action.usa-button--icon:not(.usa-button--camera), html .usa-button.usa-button--action.usa-button--icon:not(.usa-button--camera):disabled, html .usa-button.usa-button--action.usa-button--icon:not(.usa-button--camera)[aria-disabled="true"] { background: transparent; box-shadow: none; color: #605852; }
html .usa-button.usa-button--action.usa-button--icon:not(.usa-button--camera):not(:disabled, [aria-disabled="true"]):is(:hover, .usa-button--hover, :active, .usa-button--active), details[open] > html .usa-button.usa-button--action.usa-button--icon:not(.usa-button--camera) { background: #f1eee9; box-shadow: none; color: #241d18; }
html .usa-button.usa-button--action.usa-button--icon:not(.usa-button--camera):is(:disabled, [aria-disabled="true"]) { color: #c4c0bb; cursor: default; }
html .usa-button.usa-button--action.usa-button--icon:not(.usa-button--camera):is(:focus-visible, .usa-focus) { box-shadow: none; outline: 2px solid var(--c-focus); outline-offset: 1px; }
html[data-appearance="dark"] .usa-button.usa-button--action.usa-button--icon:not(.usa-button--camera), html[data-appearance="dark"] .usa-button.usa-button--action.usa-button--icon:not(.usa-button--camera):disabled { background: transparent; box-shadow: none; color: #b4ada7; }
html[data-appearance="dark"] .usa-button.usa-button--action.usa-button--icon:not(.usa-button--camera):not(:disabled, [aria-disabled="true"]):is(:hover, .usa-button--hover, :active, .usa-button--active), details[open] > html[data-appearance="dark"] .usa-button.usa-button--action.usa-button--icon:not(.usa-button--camera) { background: #2e2c29; box-shadow: none; color: #ffffff; }
html[data-appearance="dark"] .usa-button.usa-button--action.usa-button--icon:not(.usa-button--camera):is(:disabled, [aria-disabled="true"]) { color: #5a5754; }
html[data-appearance="dark"] .usa-button.usa-button--action.usa-button--icon:not(.usa-button--camera):is(:focus-visible, .usa-focus) { box-shadow: none; }
/* M282.5 (M282-draft D9.2, approved by the User): the icon button's round look, the current console's minus and plus of a list:
   a filled disc 24 px across in a 44 px press area, the danger colour with a white minus, the success colour with a white
   plus; no fill under the pointer, the keyboard ring kept. In the dark look the danger token is a light grey, so the
   minus takes the primary red there. */
html .usa-button.usa-button--action.usa-button--icon.usa-button--round:not(.usa-button--camera), html .usa-button.usa-button--action.usa-button--icon.usa-button--round:not(.usa-button--camera):not(:disabled, [aria-disabled="true"]):is(:hover, .usa-button--hover, :active, .usa-button--active) { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; min-height: 44px; padding: 0; background: transparent; box-shadow: none; }
.usa-button.usa-button--round::before { content: ""; flex: none; width: 24px; height: 24px; border-radius: 50%; background: linear-gradient(#ffffff, #ffffff) center / 10px 2px no-repeat; background-color: var(--c-error-dark); }
.usa-button.usa-button--round.usa-button--plus::before { background-image: linear-gradient(#ffffff, #ffffff), linear-gradient(#ffffff, #ffffff); background-size: 10px 2px, 2px 10px; background-color: var(--c-success-dark); }
html[data-appearance="dark"] .usa-button.usa-button--round.usa-button--minus::before { background-color: var(--c-primary); }

/* Camera option: action-icon geometry, quiet rest and primary feedback.
   Controllers activate the same canonical hover state for a pointer on the frame. */
.usa-button.usa-button--action.usa-button--icon.usa-button--camera { background: transparent; color: var(--c-text); }
.usa-button.usa-button--action.usa-button--icon.usa-button--camera:hover, .usa-button.usa-button--action.usa-button--icon.usa-button--camera.usa-button--hover,
.usa-button.usa-button--action.usa-button--icon.usa-button--camera:focus-visible, .usa-button.usa-button--action.usa-button--icon.usa-button--camera.usa-focus { background: var(--c-primary); color: var(--c-on-primary); }
.usa-button.usa-button--action.usa-button--icon.usa-button--camera:active, .usa-button.usa-button--action.usa-button--icon.usa-button--camera.usa-button--active { background: color-mix(in srgb, var(--c-primary) 70%, var(--c-text)); color: var(--c-on-primary); }
.usa-button.usa-button--action.usa-button--icon.usa-button--camera:disabled, .usa-button.usa-button--action.usa-button--icon.usa-button--camera[disabled] { background: var(--c-rest-fill); color: var(--c-base-dark); }

/* M282.4 (M282-draft D9.3, D11): « Organizer profile » (the body class page-medium) is drawn 960 px wide at most, from the page's
   left edge: the top, the tabs, the sections of « Home » and the content of every tab share that width. */
@media (min-width: 721px) { body.page-medium .console__content > :not(dialog) { max-width: 60rem; } }
/* M282.4 (M282-draft D11): while the profile is edited, « Edit » stands at the right end of the line of the tabs. */
body.page-medium .console-records:has(> [data-orgprofile-tabs] + [data-showlist-open]) { grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; }
body.page-medium .console-records:has(> [data-orgprofile-tabs] + [data-showlist-open]) > * { grid-column: 1 / -1; }
body.page-medium .console-records > [data-orgprofile-tabs]:has(+ [data-showlist-open]) { grid-column: 1; }
body.page-medium .console-records > [data-orgprofile-tabs] + [data-showlist-open] { grid-column: 2; align-self: center; margin-top: 0; }
.console-records > [data-showlist-open="sections"] { justify-self: end; }  /* M282.24: « Edit the sections » is a small button at the right, as on the current console, in place of a button as wide as the page */
[data-showlist-hidden] .row-list__meta { display: none; }  /* M282.24: the note « Empty for now » shows under a line of « Included » only, as on the current console; it stays in the markup, so it follows a line moved between the groups */
/* M282.4 (M282-draft D9.5, D11): « Events » with its month calendar takes the side column of the layout (layout--panel-aside):
   from 1024 px the list in the main column and the calendar at its right, both inside the 960 px; on a narrower window the
   calendar stands above the list, as on the public profile, so « Upcoming » and « Past » never stand under a long list. */
@media (min-width: 1024px) {
  body.page-medium .console__content.layout--panel-aside { grid-template-columns: minmax(0, calc(60rem - 384px)) 360px; justify-content: start; }
  body.page-medium .console__content.layout--panel-aside > * { grid-column: 1 / -1; }
  body.page-medium .console__content.layout--panel-aside > [data-orgprofile-tab] { grid-column: 1; }
  body.page-medium .console__content.layout--panel-aside > [data-month-calendar] { grid-column: 2; position: sticky; top: 72px; align-self: start; }
}
@media (max-width: 1023px) {
  body.page-medium .console__content.layout--panel-aside > [data-month-calendar] { order: 1; }
  body.page-medium .console__content.layout--panel-aside > [data-orgprofile-tab] { order: 2; }
}
