.tables-asgard { color: var(--asgard-ink, #252c4f); }
.tables-asgard > * + * { margin-top: 1.2rem; }
.tables-asgard .tables-panel { padding: 1.2rem; border: 1px solid var(--asgard-line, #dbe4f0); border-radius: 1rem; background: white; }
.tables-asgard summary { font-weight: 750; cursor: pointer; }
.tables-asgard form { display: grid; gap: .85rem; margin-top: 1rem; }
.tables-asgard label { display: grid; gap: .25rem; }
.tables-asgard input:not([type="hidden"]), .tables-asgard select, .tables-asgard textarea { box-sizing: border-box; width: 100%; min-height: 44px; padding: .55rem; border: 1px solid #929cba; border-radius: .45rem; background: white; color: inherit; font: inherit; }
.tables-asgard button { justify-self: start; min-height: 44px; padding: .5rem 1rem; border: 1px solid var(--asgard-indigo, #3f4878); border-radius: 2rem; background: var(--asgard-indigo, #3f4878); color: white; font: inherit; cursor: pointer; }
.tables-asgard button.tables-cancel { background: white; color: var(--asgard-indigo, #3f4878); }
.tables-asgard .tables-category { font-weight: 700; }
.tables-asgard [role="status"], .tables-asgard [role="alert"] { padding: 1rem; border: 1px solid currentColor; border-radius: .5rem; }
.tables-asgard :focus-visible { outline: 3px solid #5b9bd5; outline-offset: 3px; }
.tables-asgard article p { margin-block: .5rem; }
.tables-asgard [hidden] { display: none !important; }
.tables-asgard .tables-compose { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 1.5rem; align-items: start; }
.tables-asgard .tables-compose > div { display: grid; gap: 1rem; min-width: 0; }
.tables-asgard .tables-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.tables-asgard .tables-summary { position: sticky; top: 2rem; }
.tables-asgard fieldset { min-width: 0; border: 1px solid #dbe4f0; border-radius: .6rem; padding: 1rem; }
.tables-asgard label.tables-choice { display: flex; align-items: start; gap: .5rem; padding-block: .4rem; }
.tables-asgard .tables-choice input { width: 1.15rem; min-height: 1.15rem; margin: .2rem 0; flex: none; accent-color: #3f4878; }
.tables-asgard .tables-member-list { max-height: 15rem; overflow: auto; }
.tables-asgard form.tables-person-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-block: .5rem; }
.tables-asgard .tables-people { padding-left: 1.25rem; }
@media (max-width: 800px) {
    .tables-asgard .tables-compose { grid-template-columns: minmax(0, 1fr); }
    .tables-asgard .tables-summary { position: static; }
    .tables-asgard .tables-pair { grid-template-columns: minmax(0, 1fr); }
}
.tables-asgard .tables-day { padding: 1rem; border: 1px solid #dbe4f0; border-radius: 1rem; }
.tables-asgard .tables-day > h3 { margin-block: 0 .8rem; }
.tables-asgard .tables-day-closure { background: #fff0f0; border-color: #af2626; }
.tables-asgard .tables-day-rooms { background: #fff3e5; border-color: #a45300; }
.tables-asgard .tables-day-info { background: #edf3fa; border-color: #a3b9d5; }
.tables-asgard .tables-event { margin-bottom: .8rem; padding: .7rem; border-left: 4px solid currentColor; }
.tables-asgard .tables-day .tables-panel + .tables-panel { margin-top: 1rem; }
.tables-asgard .tables-cancellation { margin-top: 1rem; padding: .7rem; border: 1px solid #929cba; border-radius: .5rem; }
.tables-asgard .tables-cancellation summary { color: #843232; }
.tables-asgard .tables-legend { font-size: .9rem; }
.wrap.tables-asgard { max-width: 1100px; }
.wrap.tables-asgard > details { margin-top: 1rem; }

.tables-asgard .tables-member-nav { display: flex; flex-wrap: wrap; gap: .65rem; }
.tables-asgard .tables-member-nav a, .tables-asgard .tables-member-link { display: inline-flex; align-items: center; gap: .6rem; padding: .65rem 1rem; border: 1px solid #929cba; border-radius: 1rem; color: inherit; background: #edf3fa; text-decoration: none; min-height: 24px; }
.tables-asgard .tables-member-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.tables-asgard .tables-member-card { min-width: 0; overflow-wrap: anywhere; }
.tables-asgard .tables-member-card h3 { margin-top: 0; }
.tables-asgard section[id], .tables-asgard article[id] { scroll-margin-top: 6rem; }
@media (max-width: 800px) { .tables-asgard .tables-member-grid { grid-template-columns: minmax(0, 1fr); } }

.tables-asgard.tables-upcoming { margin-block: 18px 26px; }
.tables-asgard .tables-upcoming-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.tables-asgard .tables-upcoming-column { min-width: 0; border: 1px solid #dbe4f0; border-radius: 1rem; background: #fff; overflow: hidden; }
.tables-asgard .tables-upcoming-column > h3 { margin: 0; padding: 1rem; background: #3f4878; color: #fff; font-size: 1.1rem; }
.tables-asgard .tables-upcoming-column > p { padding: 1rem; }
.tables-asgard .tables-upcoming-card { padding: 1rem; border-top: 1px solid #dbe4f0; overflow-wrap: anywhere; }
.tables-asgard .tables-upcoming-card h4 { margin: .4rem 0; font-size: 1.05rem; }
.tables-asgard .tables-upcoming-card p { margin-block: .5rem; font-size: .95rem; }
.tables-asgard .tables-upcoming-card a { display: inline-block; padding-block: .6rem; font-weight: 700; }
.tables-asgard .tables-upcoming-card.tables-day-closure { border-left: 4px solid #af2626; }
.tables-asgard .tables-upcoming-card.tables-day-rooms { border-left: 4px solid #a45300; }
.tables-asgard .tables-upcoming-card.tables-day-info { border-left: 4px solid #a3b9d5; }
@media (max-width: 950px) { .tables-asgard .tables-upcoming-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .tables-asgard .tables-upcoming-grid { grid-template-columns: minmax(0, 1fr); } }

/* Calendar and public table detail — Asgard white, blue and indigo. */
.tables-asgard.tables-design { --ta-ink: #252c4f; --ta-indigo: #3f4878; --ta-line: #d3dff0; max-width: 1240px; margin-inline: auto; color: var(--ta-ink); }
.tables-design h2, .tables-design h3, .tables-design h4 { color: var(--ta-ink); line-height: 1.2; }
.tables-design .tables-breadcrumb { display: flex; flex-wrap: wrap; gap: .6rem; font-size: .85rem; font-weight: 650; }
.tables-design .tables-breadcrumb a { color: inherit; text-decoration: none; }
.tables-design .tables-hero { position: relative; overflow: hidden; isolation: isolate; min-height: 176px; display: flex; align-items: center; border-radius: 18px; color: #fff; padding: 1.5rem 2rem; background: linear-gradient(110deg, #3f4878 0%, #3f4878 49%, #3f487815 78%), url(assets/bandeau-photo.jpg) right center / auto 100% no-repeat, #3f4878; }
.tables-design .tables-hero > div { max-width: 69%; }
.tables-design .tables-hero h2 { margin: .3rem 0 .5rem; color: #fff; font-size: clamp(1.6rem, 3.3vw, 2.6rem); letter-spacing: -.03em; }
.tables-design .tables-hero p { margin: 0; }
.tables-design .tables-eyebrow { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 750; color: #e1eafb; }
.tables-design .tables-public-nav { display: flex; flex-wrap: wrap; gap: .5rem 1.1rem; font-size: .9rem; }
.tables-design .tables-public-nav a { color: inherit; text-underline-offset: .25em; }
.tables-design .tables-calendar-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.tables-design .tables-calendar-heading h2 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.15rem); letter-spacing: -.025em; }
.tables-design .tables-primary-link, .tables-asgard .tables-home-actions .tables-primary-link { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; border-radius: 2rem; padding: .6rem 1.2rem; background: var(--ta-indigo); border: 1px solid var(--ta-indigo); color: white; font-weight: 700; text-decoration: none; text-align: center; }
.tables-design .tables-outline-link { display: inline-flex; align-items: center; justify-content: center; gap: .7rem; min-height: 42px; border-radius: .65rem; padding: .5rem .85rem; border: 1px solid var(--ta-indigo); color: var(--ta-ink); background: #fff; font-weight: 700; text-decoration: none; text-align: center; font-size: .88rem; }
.tables-design a.tables-primary-link:hover, .tables-asgard .tables-home-actions a.tables-primary-link:hover { background: #252c4f; }
.tables-design a.tables-outline-link:hover { background: #edf3fa; }
.tables-design .tables-frise { height: 40px; background: url(assets/horizon.png) right center / min(70%, 850px) auto no-repeat; margin-top: -.25rem; }
.tables-design form.tables-filters { display: grid; grid-template-columns: 2fr 1.2fr 1.5fr auto auto; align-items: end; gap: .8rem; padding: 1.2rem; border: 1px solid var(--ta-line); border-radius: 16px; background: linear-gradient(115deg,#f4f8ff,#e5eefb); }
.tables-design .tables-filters label { font-size: .85rem; font-weight: 650; min-width: 0; }
.tables-design .tables-filters input, .tables-design .tables-filters select { min-width: 0; border-color: #97a4c8; }
.tables-design .tables-filters a { align-self: center; padding-top: 1.1rem; color: inherit; font-size: .9rem; }
.tables-design .tables-legend { color: #4b5675; line-height: 1.6; }
.tables-design .tables-day { padding: 0; overflow: hidden; border: 1px solid #c9d5ea; background: #fff; border-radius: 14px; }
.tables-design .tables-day > h3 { margin: 0; padding: .75rem 1.2rem; background: linear-gradient(100deg,#353d6b,#4c5688); color: #fff; font-size: 1.18rem; text-transform: capitalize; }
.tables-design .tables-day-closure > h3 { background: #973e4b; }
.tables-design .tables-day-rooms > h3 { background: #92551e; }
.tables-design .tables-day-info > h3 { background: #536d98; }
.tables-design .tables-event { margin: .8rem; background: #f1f5fc; border-radius: 8px; }
.tables-design .tables-day-closure .tables-event { background: #fff1f2; }
.tables-design .tables-day-rooms .tables-event { background: #fff4e9; }
.tables-design .tables-session-row { display: grid; grid-template-columns: 42px 72px minmax(130px,1fr) 115px 155px 120px; align-items: center; gap: .85rem; padding: 1rem; background: linear-gradient(100deg,#f6f9ff,#fff); }
.tables-design .tables-session-row + .tables-session-row { border-top: 1px solid var(--ta-line); }
.tables-design .tables-row-time { padding: .35rem .5rem; border-radius: 1rem; background: #e0e6f6; font-weight: 800; font-size: .95rem; text-align: center; white-space: nowrap; }
.tables-design .tables-row-name { min-width: 0; overflow-wrap: anywhere; }
.tables-design .tables-row-name h4 { margin: 0 0 .3rem; font-size: 1.08rem; }
.tables-design .tables-row-name p { margin: .12rem 0; font-size: .8rem; color: #4c5876; }
.tables-design .tables-game-icon { width: 30px; height: 30px; object-fit: contain; vertical-align: middle; }
.tables-design .tables-row-symbol { width: 40px; height: 44px; display: grid; place-items: center; background: #e8effa; border-radius: 12px; }
.tables-design .tables-category-badge { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font-size: .82rem; font-weight: 700; padding: .4rem .7rem; border-radius: 2rem; background: #e8eafa; }
.tables-design .tables-status { display: inline-flex; justify-content: center; border-radius: 2rem; padding: .4rem .7rem; font-size: .82rem; font-weight: 750; text-align: center; }
.tables-design .tables-status-open { background: #def0e6; color: #1f5940; }
.tables-design .tables-status-full { background: #e9e8f7; color: #433e75; }
.tables-design .tables-status-blocked { background: #ffe5e7; color: #873241; }
.tables-design .tables-status-closed { background: #e8edf5; color: #4c5876; }
.tables-design .tables-first-visit { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.3rem 1.5rem; border: 1px solid #cbdcf0; border-radius: 16px; background: linear-gradient(100deg,#edf4fc,#d5e3f6); }
.tables-design .tables-first-visit h3 { font-size: 1.35rem; margin: 0 0 .4rem; }
.tables-design .tables-first-visit p { margin: 0; }
.tables-design .tables-create { background: #f8fbff; }
.tables-design .tables-create > summary { padding: .25rem; }
.tables-design .tables-detail-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.tables-design .tables-detail-grid { display: grid; grid-template-columns: minmax(0,1.65fr) minmax(260px,1fr); gap: 1.25rem; align-items: start; }
.tables-design .tables-detail-grid > div, .tables-design .tables-detail-grid > aside { min-width: 0; }
.tables-design .tables-detail-grid .tables-panel + .tables-panel { margin-top: 1.2rem; }
.tables-design .tables-info-panel { padding: 0; overflow: hidden; }
.tables-design .tables-info-panel > h3 { margin: 0; padding: .85rem 1.1rem; font-size: 1.15rem; background: linear-gradient(100deg,#edf5ff,#dae8fb); border-bottom: 1px solid #dbe4f0; }
.tables-design .tables-info-panel > :not(h3) { margin: 1.1rem; }
.tables-design .tables-info-panel .tables-person-actions { margin-inline: 0; }
.tables-design .tables-info-panel form { padding: 0; }
.tables-design .tables-facts, .tables-design .tables-counts { display: grid; gap: .8rem; }
.tables-design .tables-facts > div, .tables-design .tables-counts > div { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid #e5ecf7; padding-bottom: .75rem; }
.tables-design dt { font-weight: 650; }
.tables-design dd { margin: 0; text-align: right; }
.tables-design .tables-counts dd { font-size: 1.3rem; font-weight: 800; }
.tables-design .tables-organizer { font-weight: 750; padding-block: .4rem; }
.tables-design .tables-symbol-watermark { text-align: center; margin-block: 2rem; opacity: .18; }
.tables-design .tables-symbol-watermark .tables-game-icon { width: min(70%,200px); height: 200px; }
.tables-design .tables-people { display: grid; gap: .7rem; }
.tables-design .tables-people > li { padding-block: .35rem; }
.tables-design .tables-description { overflow-wrap: anywhere; }
@media (max-width: 1080px) {
    .tables-design .tables-session-row { grid-template-columns: 40px 70px minmax(130px,1fr) 135px 120px; }
    .tables-design .tables-session-row > .tables-category-badge { display: none; }
    .tables-design form.tables-filters { grid-template-columns: 1fr 1fr; }
    .tables-design .tables-filters a { padding: .5rem 0; }
}
@media (max-width: 760px) {
    .tables-design .tables-hero { min-height: 155px; padding: 1.3rem; background-image: linear-gradient(105deg,#3f4878,#3f4878d9), url(assets/bandeau-photo.jpg); }
    .tables-design .tables-hero > div { max-width: 100%; }
    .tables-design .tables-calendar-heading { align-items: start; flex-direction: column; }
    .tables-design .tables-session-row { grid-template-columns: 40px 68px minmax(0,1fr); gap: .7rem; }
    .tables-design .tables-row-name { grid-column: 3; }
    .tables-design .tables-session-row > .tables-status { grid-column: 2 / 4; justify-self: start; }
    .tables-design .tables-session-row > .tables-outline-link { grid-column: 2 / 4; justify-self: stretch; }
    .tables-design .tables-detail-grid { grid-template-columns: minmax(0,1fr); }
    .tables-design .tables-detail-grid > aside { grid-row: 1; }
    .tables-design .tables-symbol-watermark { display: none; }
    .tables-design .tables-first-visit { flex-direction: column; align-items: start; }
    .tables-design .tables-frise { background-size: 100% auto; }
}
@media (max-width: 440px) {
    .tables-design form.tables-filters { grid-template-columns: minmax(0,1fr); }
    .tables-design .tables-facts > div { flex-direction: column; gap: .3rem; }
    .tables-design .tables-facts dd { text-align: left; }
}

/* Calendar layout matched to the supplied November reference. */
.tables-design .tables-ui-icon { width: 22px; height: 22px; object-fit: contain; flex: none; vertical-align: middle; }
.tables-design .tables-public-nav { gap: .6rem 1rem; }
.tables-design .tables-public-nav a { display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .65rem; min-height: 32px; border-radius: 2rem; background: #3f4878; color: #fff; font-weight: 650; text-decoration: none; }
.tables-design .tables-public-nav a:hover { background: #252c4f; }
.tables-design .tables-hero { min-height: 220px; background: linear-gradient(90deg,#3f4878 0%,#3f4878 60%,#3f487800 73%), url(assets/bandeau-photo.jpg) right center / auto 100% no-repeat, #3f4878; }
.tables-design .tables-hero > div { max-width: 77%; position: relative; }
.tables-design .tables-hero h2 { font-size: clamp(1.7rem,3vw,2.5rem); }
.tables-design .tables-calendar-heading { gap: .6rem; }
.tables-design .tables-calendar-heading h2 { font-size: clamp(1.5rem,2.65vw,2.05rem); flex: none; }
.tables-design .tables-heading-frise { height: 42px; flex: 1; min-width: 30px; background: url(assets/horizon-court.png) center / 100% auto no-repeat; }
.tables-design .tables-calendar-heading .tables-primary-link { flex: none; }
.tables-design .tables-calendar-help { color: #4b5675; font-size: .83rem; margin-block: .5rem; }
.tables-design .tables-calendar-help summary { font-weight: 500; }
.tables-design .tables-day > h3 { background: #3f4878; padding: .55rem 1rem .55rem 3.4rem; font-size: 1.2rem; text-transform: none; }
.tables-design .tables-day-closure > h3 { background: #973e4b; }
.tables-design .tables-day-rooms > h3 { background: #92551e; }
.tables-design .tables-day-info > h3 { background: #536d98; }
.tables-design .tables-session-row { grid-template-columns: 76px 42px minmax(0,1fr) 180px 164px; grid-template-areas: "time symbol name availability action"; gap: .5rem; padding: .6rem .75rem; background: #edf3fa; }
.tables-design .tables-row-time { grid-area: time; font-size: 1.25rem; padding: .15rem .25rem; color: #3f4878; background: #d6d6f5; line-height: 1.25; }
.tables-design .tables-row-symbol { grid-area: symbol; padding: 0; width: 42px; height: 52px; background: none; border-radius: 0; }
.tables-design .tables-row-symbol .tables-game-icon { width: 42px; height: 52px; }
.tables-design .tables-row-name { grid-area: name; }
.tables-design .tables-row-name h4 { padding: .3rem .85rem; border-radius: 2rem; margin: 0 0 .2rem; color: #10131f; font-size: 1rem; background: #dbe4f0; }
.tables-design .tables-category-figurines .tables-row-name h4 { background: #ff565b; }
.tables-design .tables-category-cartes .tables-row-name h4 { background: #7772fa; }
.tables-design .tables-category-role .tables-row-name h4 { background: #16bc91; }
.tables-design .tables-category-societe .tables-row-name h4 { background: #edbb00; }
.tables-design .tables-row-organizer { display: flex; gap: .4rem; align-items: center; color: #10131f; font-weight: 650; }
.tables-design .tables-row-organizer .tables-ui-icon { width: 19px; height: 21px; }
.tables-design .tables-row-name .tables-row-organizer { color: #10131f; font-size: .88rem; }
.tables-design .tables-row-availability { grid-area: availability; text-align: center; min-width: 0; }
.tables-design .tables-row-availability .tables-status { display: block; padding: .3rem .45rem; font-size: .94rem; line-height: 1.25; }
.tables-design .tables-row-availability p { margin: .15rem 0 0; color: #10131f; font-size: .86rem; font-weight: 650; overflow-wrap: anywhere; }
.tables-design .tables-row-availability .tables-status-open { background: #bfe9c4; color: #101a12; }
.tables-design .tables-row-availability .tables-status-full { background: #f5c4c2; color: #201314; }
.tables-design .tables-waiting-link { display: inline-block; padding: .2rem; color: #2d3978; text-underline-offset: .2em; font-size: .88rem; font-weight: 650; }
.tables-design .tables-session-row > .tables-outline-link { grid-area: action; padding: .3rem .7rem; min-height: 34px; border-radius: 2rem; color: #111522; font-size: .98rem; gap: .55rem; }
.tables-design .tables-session-row > .tables-outline-link .tables-ui-icon { width: 23px; height: 25px; }
.tables-design .tables-sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 1000px) {
    .tables-design .tables-session-row { grid-template-columns: 70px 34px minmax(0,1fr) 150px 144px; }
    .tables-design .tables-row-symbol, .tables-design .tables-row-symbol .tables-game-icon { width: 34px; }
    .tables-design .tables-row-name h4 { padding-inline: .65rem; }
    .tables-design .tables-heading-frise { display: none; }
}
@media (max-width: 760px) {
    .tables-design .tables-hero { min-height: 155px; background: linear-gradient(105deg,#3f4878,#3f4878df), url(assets/bandeau-photo.jpg) right center / auto 100% no-repeat; }
    .tables-design .tables-hero > div { max-width: 100%; }
    .tables-design .tables-public-nav a { font-size: .82rem; }
    .tables-design .tables-calendar-heading { align-items: stretch; }
    .tables-design .tables-calendar-heading .tables-primary-link { align-self: start; }
    .tables-design .tables-day > h3 { padding: .65rem .85rem; font-size: 1.05rem; }
    .tables-design .tables-session-row { grid-template-columns: 68px 36px minmax(0,1fr); grid-template-areas: "time symbol name" "availability availability availability" "action action action"; gap: .5rem; padding: .8rem; }
    .tables-design .tables-session-row > .tables-outline-link { grid-area: action; justify-self: stretch; min-height: 42px; }
    .tables-design .tables-row-name { grid-area: name; }
    .tables-design .tables-row-availability { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: center; gap: .5rem; }
    .tables-design .tables-row-time { font-size: 1.1rem; }
    .tables-design .tables-row-name h4 { font-size: .94rem; }
    .tables-design .tables-row-name .tables-row-organizer { font-size: .78rem; }
    .tables-design .tables-row-organizer .tables-ui-icon { width: 15px; height: 18px; }
}
/* Widen only the Tables pages in Horizon, preserving other site pages. */
body:has(.tables-design) .asgard-content { max-width: 1104px; }
body:has(.tables-design) .asgard-content .wp-block-post-content > .tables-design { max-width: 1104px; }
.tables-design > .tables-create:not([open]):not(:target) { display: none; }

/* Member dashboard — shared calendar presentation. */
.tables-member-dashboard .tables-breadcrumb,.tables-member-dashboard .tables-eyebrow{display:none}
.tables-member-dashboard .tables-member-counters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:#edf3fa;border-radius:24px;padding:18px 10px;margin:22px 0 26px;gap:0}
.tables-member-counters>a{display:flex;align-items:center;justify-content:center;gap:12px;padding:0 12px;color:#414878;text-decoration:none;border-right:1px solid #cbd3e9;min-width:0}
.tables-member-counters>a:last-child{border-right:0}
.tables-member-counters>a>span{display:flex;flex-direction:column;text-align:center;line-height:1.4}
.tables-member-counters .tables-ui-icon{width:48px;height:54px;object-fit:contain;flex-shrink:0}
.tables-member-counters strong{font-size:18px}
.tables-member-dashboard .tables-preferences-panel{border-radius:22px;padding:12px 20px;background:white;margin-bottom:20px}
.tables-preferences-panel > summary{display:list-item;cursor:pointer;font-size:clamp(1.15rem,2.6vw,1.5rem);font-weight:700;color:#414878}
.tables-preferences-panel[open]{padding-bottom:20px}
.tables-preferences-panel[open] > summary{margin-bottom:.6rem}
.tables-preferences-grid{display:grid;grid-template-columns:1fr 1fr;column-gap:40px;row-gap:12px;margin-top:18px}
.tables-preferences-grid .tables-choice{margin:0;display:flex;align-items:flex-start;gap:6px;font-size:18px;line-height:1.5}
.tables-preferences-grid input[type=checkbox]{accent-color:#414878;width:22px;height:22px;flex-shrink:0;margin-top:3px}
.tables-preferences-grid .tables-choice:nth-of-type(1){grid-column:1;grid-row:1}
.tables-preferences-grid .tables-choice:nth-of-type(2){grid-column:1;grid-row:2}
.tables-preferences-grid .tables-choice:nth-of-type(3){grid-column:1;grid-row:3}
.tables-preferences-grid .tables-choice:nth-of-type(4){grid-column:2;grid-row:1}
.tables-preferences-grid .tables-choice:nth-of-type(5){grid-column:2;grid-row:2}
.tables-preferences-grid .tables-preferences-note{grid-column:2;grid-row:3 / span 2;margin:0;font-size:14px}
.tables-preferences-grid button{grid-column:1 / -1;justify-self:center;border-radius:32px;padding:14px 24px}
.tables-member-section{margin:18px 0 26px;scroll-margin-top:24px}
.tables-member-dashboard .tables-member-section>h2{background:#edf3fa;border-radius:20px;color:#414878;padding:14px 8px;font-size:28px;margin:0 0 16px;line-height:1.3}
.tables-member-dashboard .tables-day{margin-bottom:12px}
.tables-member-empty{padding:0 10px;color:#596484}
.tables-member-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:10px 16px;background:#edf3fa;border-top:1px solid #d1dbee}
.tables-member-actions p,.tables-member-actions form{margin:0}
.tables-history-pages{display:flex;justify-content:center;align-items:center;gap:20px;padding:12px}
@media(max-width:900px){.tables-member-dashboard .tables-member-counters{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:20px}.tables-member-counters>a:nth-child(2){border-right:0}}
@media(max-width:600px){.tables-preferences-grid{display:flex;flex-direction:column;gap:16px}.tables-preferences-grid button{align-self:center}.tables-member-counters>a{padding:0 6px;gap:6px}.tables-member-counters strong{font-size:14px}.tables-member-counters .tables-ui-icon{width:30px;height:38px}.tables-member-dashboard .tables-member-section>h2{font-size:23px}.tables-preferences-grid .tables-choice{font-size:16px}}

/* Organizer management, using the supplied chair and crown assets. */
.tables-manage .tables-breadcrumb,.tables-manage .tables-eyebrow{display:none}
.tables-manage-counts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:#edf3fa;border-radius:26px;padding:18px 8px;margin:24px 0;color:#414878}
.tables-manage-counts>div{display:flex;align-items:center;gap:12px;padding:0 14px;border-right:1px solid #cbd3e9}
.tables-manage-counts>div:last-child{border:0}
.tables-manage-counts .tables-ui-icon{width:48px;height:58px;object-fit:contain}
.tables-manage-counts strong{display:block;font-size:19px;line-height:1.15}
.tables-manage-counts b{display:block;font-size:36px;line-height:1.25}
.tables-manage-title{font-size:26px;color:#414878;margin-bottom:6px}
.tables-manage-panel{background:#edf3fa;border-radius:18px;overflow:hidden;margin:24px 0;border:1px solid #d4def0}
.tables-manage-panel>h3{background:#414878;color:white;margin:0;padding:8px 12px;display:flex;align-items:center;gap:10px;font-size:22px}
.tables-manage-panel>h3 .tables-ui-icon{width:34px;height:30px;object-fit:contain;filter:brightness(0) invert(1)}
.tables-participant-chips{display:flex;flex-wrap:wrap;gap:12px;padding:20px 10px;min-height:70px;align-items:flex-start}
.tables-participant-chip{display:flex;align-items:center;gap:10px;background:#d4d4f7;border-radius:24px;padding:4px 10px;min-width:190px;max-width:100%;color:#414878;overflow-wrap:anywhere}
.tables-participant-chip>span,.tables-participant-chip>strong{flex:1;min-width:0;font-size:19px}
.tables-participant-chip .tables-ui-icon{width:30px;height:28px;object-fit:contain;flex-shrink:0}
.tables-participant-chip form{margin:0;flex-shrink:0}
.tables-asgard .tables-participant-chip button{background:transparent;color:#414878;padding:0 3px;min-width:30px;min-height:32px;border:1px solid #414878;border-radius:5px;font-size:23px;line-height:1}
.tables-participant-chip button:hover{background:#414878;color:white}
.tables-manage-note{padding:0 12px 12px;margin:0;font-size:14px}
.tables-manage-tools{border:1px solid #d4def0;border-radius:18px;padding:16px;background:#f1f6fc;margin:24px 0}
.tables-manage-tools>h3{margin:0;color:#414878}
.tables-manage-tools .tables-create{display:block!important;margin-bottom:0}
.tables-manage-tools .tables-create>summary{color:#414878;font-size:18px}
.tables-participant-chip button:focus-visible,.tables-member-counters a:focus-visible{outline:3px solid #6179cc;outline-offset:3px}
@media(max-width:800px){.tables-manage-counts{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 0}.tables-manage-counts>div:nth-child(2){border:0}.tables-manage-counts strong{font-size:16px}.tables-manage-counts .tables-ui-icon{width:35px;height:44px}}
@media(max-width:480px){.tables-manage-counts>div{padding:0 8px;gap:8px}.tables-manage-counts b{font-size:30px}.tables-manage-panel>h3{font-size:18px}.tables-participant-chip{width:100%;min-width:0}.tables-manage-tools{padding:10px}}
.tables-design .tables-row-actions{grid-area:action;display:flex;flex-direction:column;gap:5px;min-width:0}
.tables-design .tables-row-actions>.tables-outline-link{min-height:34px;padding:4px 8px;border-radius:24px;font-size:.95rem;gap:6px}
.tables-row-actions .tables-ui-icon{width:23px;height:25px;object-fit:contain}
.tables-row-actions form{margin:0}
.tables-design .tables-quick-join,.tables-design .tables-quick-state{display:flex;justify-content:center;align-items:center;min-height:32px;width:100%;box-sizing:border-box;border-radius:24px;padding:4px 8px;font-size:.9rem;line-height:1.3;text-align:center;font-weight:700;text-decoration:none}
.tables-design .tables-quick-join{background:#414878;color:white;border:1px solid #414878;cursor:pointer}
.tables-design .tables-quick-join:hover{background:#292f59}
.tables-design .tables-quick-state{background:#e3e8f1;color:#4a5571;border:1px solid #d0d8e7}
@media(max-width:760px){.tables-design .tables-row-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}}
@media(max-width:420px){.tables-design .tables-row-actions{grid-template-columns:1fr}}
/* Public party detail, matching the approved mockup. */
.tables-party-public .tables-eyebrow{display:none}
.tables-party-heading{display:flex;align-items:center;gap:18px;margin:28px 0}
.tables-party-symbol{display:flex;align-items:center;justify-content:center;background:#e2e3fa;border-radius:20px;width:78px;height:78px;flex-shrink:0;padding:10px;box-sizing:border-box}
.tables-party-symbol .tables-game-icon{width:100%;height:100%;object-fit:contain}
.tables-party-title{display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.tables-party-title h2{font-size:40px;line-height:1.2;margin:0;color:#262b54}
.tables-party-title .tables-category-badge{background:#e1e6f7;border-radius:22px;padding:5px 14px}
.tables-party-heading p{margin:8px 0 0;font-size:20px}
.tables-party-public .tables-detail-grid{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);align-items:stretch;gap:18px}
.tables-party-public .tables-info-panel{background:linear-gradient(120deg,#fff,#f1f5fc);border:1px solid #cbd7ed;border-radius:17px;overflow:hidden;margin:0;padding:20px}
.tables-party-public .tables-info-panel>h3{margin:-20px -20px 20px;background:#414878;color:#fff;padding:12px 18px;font-size:23px}
.tables-party-public .tables-facts>div{padding:18px 0;border-bottom:1px solid #d6dfef}
.tables-party-public .tables-facts dt{font-weight:700;color:#414878}
.tables-name-label{background:#d7d6f5;border-radius:15px;padding:3px 14px;display:inline-block}
.tables-party-public .tables-counts>div{padding:12px 0;border-bottom:1px solid #d6dfef}
.tables-party-public .tables-counts dd{background:#deddf9;border-radius:12px;padding:0 12px;min-width:36px;text-align:center}
.tables-party-public .tables-detail-summary>.tables-status{display:block;text-align:center;border-radius:15px;padding:10px;font-size:18px}
.tables-party-public .tables-detail-summary form{margin:12px 0}
.tables-party-public .tables-detail-summary button,.tables-party-public .tables-detail-summary .tables-primary-link{width:100%;box-sizing:border-box;border-radius:18px;min-height:46px}
.tables-detail-note{font-size:14px;font-style:italic}
.tables-detail-notice{border:1px solid #cbd7ed;border-radius:14px;padding:16px;background:#edf3fa}
.tables-back-calendar{text-align:center;margin:24px 0}
@media(max-width:760px){.tables-party-public .tables-detail-grid{grid-template-columns:1fr}.tables-party-title h2{font-size:30px}.tables-party-heading p{font-size:17px}.tables-party-symbol{width:62px;height:62px}.tables-party-public .tables-info-panel>h3{font-size:20px}}
/* Detail polish: transparent category symbol, aligned panel tops and action icons. */
.tables-party-public .tables-party-symbol{background:transparent;border-radius:0}
.tables-party-public .tables-detail-grid{align-items:start}
.tables-party-public .tables-detail-grid>.tables-panel{margin-top:0}
.tables-interface-symbol{display:inline-block;vertical-align:middle;flex-shrink:0;margin-right:8px}
.tables-party-public .tables-info-panel>h3{display:flex;align-items:center;min-height:54px;box-sizing:border-box}
.tables-party-public .tables-info-panel>h3 .tables-interface-symbol{width:26px;height:26px}
.tables-party-public .tables-detail-summary button .tables-interface-symbol{width:22px;height:22px}
/* Shared composition form for creation and editing. */
.tables-asgard .tables-compose-design{background:transparent;border:0;padding:0;margin-top:24px}
.tables-compose-design>summary{font-size:28px;font-weight:700;color:#414878;padding:12px 0;cursor:pointer}
.tables-compose-design .tables-compose{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(250px,1fr);align-items:start;gap:20px;margin-top:16px}
.tables-compose-fields{min-width:0;display:flex;flex-direction:column;gap:18px}
.tables-compose-design .tables-compose-block{border:1px solid #ccd8ed;border-radius:17px;background:linear-gradient(120deg,#fff,#f1f5fc);margin:0;min-width:0;box-sizing:border-box}
.tables-compose-design .tables-compose-block{overflow:hidden}
.tables-compose-design .tables-compose-block>h3,.tables-compose-design .tables-compose-block>summary{display:flex;align-items:center;gap:8px;background:#414878;color:#fff;font-size:20px;font-weight:700;line-height:1.3;padding:10px 15px;margin:0;box-sizing:border-box}
.tables-compose-design .tables-compose-block>h3 .tables-ui-icon,.tables-compose-design .tables-compose-block>summary .tables-ui-icon{width:25px;height:25px;object-fit:contain;filter:brightness(0) invert(1)}
.tables-compose-design .tables-interface-symbol{margin:0}
.tables-compose-body{padding:16px}
.tables-compose-design label:not(.tables-choice){display:block;font-weight:600;color:#30375f;margin:0 0 14px}
.tables-compose-design select,.tables-compose-design input:not([type=checkbox]):not([type=hidden]),.tables-compose-design textarea{width:100%;box-sizing:border-box;border:1px solid #a9b5d7;border-radius:10px;background:white;padding:11px 12px;font:inherit;color:#283153;margin-top:6px;min-width:0}
.tables-compose-design input[type=checkbox]{accent-color:#414878;width:20px;height:20px;flex-shrink:0}
.tables-compose-design .tables-choice{display:flex;align-items:flex-start;gap:8px;margin:10px 0;font-weight:400;line-height:1.5}
.tables-compose-design .tables-compose-block p{font-size:14px;color:#566080;line-height:1.55}
.tables-compose-design .tables-summary{margin:0;border:1px solid #ccd8ed;border-radius:17px;background:#edf3fa;position:sticky;top:20px;overflow:hidden;padding:0 18px 18px}
.tables-compose-design .tables-summary h3{display:flex;align-items:center;gap:8px;background:#414878;color:#fff;padding:12px 15px;margin:0 -18px 18px;font-size:21px}
.tables-compose-design .tables-summary h3 img{filter:brightness(0) invert(1);width:25px;height:25px}
.tables-compose-design .tables-summary p{border-bottom:1px solid #d4ddef;padding-bottom:12px;line-height:1.5}
.tables-compose-category{text-align:center;min-height:20px}
.tables-compose-category .tables-game-icon{width:76px;height:76px;object-fit:contain;background:transparent}
.tables-asgard .tables-compose-submit{display:flex;align-items:center;justify-content:center;gap:10px;border-radius:28px;padding:14px 24px;margin:22px 0;background:#414878;color:white;font-size:17px}
.tables-compose-design [data-add-game]{border:1px solid #414878;background:white;color:#414878;border-radius:20px;padding:8px 16px}
.tables-compose-design .tables-member-list{max-height:15rem;overflow:auto;border-radius:10px;border:1px solid #d4ddef;background:#fff;padding:8px 12px}
@media(max-width:800px){.tables-compose-design .tables-compose{grid-template-columns:1fr}.tables-compose-design .tables-summary{position:static}.tables-compose-design>summary{font-size:24px}}
@media(max-width:480px){.tables-compose-design .tables-pair{grid-template-columns:1fr}.tables-compose-body{padding:12px}.tables-compose-design .tables-compose-block>h3,.tables-compose-design .tables-compose-block>summary{font-size:18px}.tables-asgard .tables-compose-submit{width:100%;box-sizing:border-box}}
/* Bureau administration, isolated from the rest of WordPress. */
.tables-bureau-design{max-width:1180px;color:#293153;padding:12px 16px 30px 0}
.tables-bureau-design .tables-bureau-hero{background:#414878;border-radius:20px;padding:24px;display:flex;justify-content:space-between;align-items:center;gap:20px;color:white;margin:12px 0 18px}
.tables-bureau-hero h1{color:white;font-size:29px;font-weight:700;margin:0;padding:0;line-height:1.3}
.tables-bureau-hero p{font-size:16px;margin:10px 0 0}
.tables-bureau-hero .tables-ui-icon{width:35px;height:30px;object-fit:contain;float:left;margin-right:12px}
.tables-bureau-return{border:1px solid white;border-radius:25px;color:white!important;padding:10px 16px;text-decoration:none;white-space:nowrap}
.tables-bureau-nav{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}
.tables-bureau-nav a{background:#414878;color:white;padding:8px 16px;border-radius:24px;text-decoration:none;font-weight:600}
.tables-bureau-counters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));background:#edf3fa;border-radius:20px;padding:18px 10px;margin:20px 0;gap:15px}
.tables-bureau-counters>div{display:flex;align-items:center;gap:12px;padding:0 15px;border-right:1px solid #cbd6e9}
.tables-bureau-counters>div:last-child{border:0}
.tables-bureau-counters strong{font-size:32px;color:#414878;line-height:1.3}
.tables-bureau-counters span{font-size:15px}
.tables-bureau-section{background:#f7f9ff;border:1px solid #d3dced;border-radius:18px;padding:18px;margin:24px 0;scroll-margin-top:45px;min-width:0}
.tables-bureau-design .tables-bureau-section>h2{display:flex;align-items:center;gap:10px;background:#414878;color:#fff;padding:13px 18px;margin:-18px -18px 20px;border-radius:17px 17px 0 0;font-size:21px;line-height:1.35}
.tables-bureau-section>h2 .tables-ui-icon{width:27px;height:27px;object-fit:contain;filter:brightness(0) invert(1)}
.tables-bureau-design .tables-panel{border:1px solid #ccd7ed;border-radius:14px;background:white;padding:16px;margin:14px 0}
.tables-bureau-design details>summary{font-weight:700;font-size:16px;cursor:pointer;padding:6px 0;line-height:1.4}
.tables-bureau-design label:not(.tables-choice){display:block;font-weight:600;margin:12px 0}
.tables-bureau-design input:not([type=checkbox]):not([type=hidden]),.tables-bureau-design select,.tables-bureau-design textarea{box-sizing:border-box;width:100%;max-width:100%;padding:10px 12px;border:1px solid #aab7d5;border-radius:9px;font:inherit;background:white;color:#293153;min-width:0}
.tables-bureau-design input[type=checkbox]{accent-color:#414878}
.tables-bureau-design button{background:#414878;color:white;border:1px solid #414878;border-radius:22px;padding:10px 17px;cursor:pointer;font:inherit;line-height:1.3}
.tables-bureau-design button:hover{background:#30365f}
.tables-bureau-design button:focus-visible,.tables-bureau-design a:focus-visible,.tables-bureau-design summary:focus-visible{outline:3px solid #7a94da;outline-offset:3px}
.tables-bureau-legend{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:18px}
.tables-bureau-legend span{padding:6px 12px;border-radius:20px;font-weight:600}
.tables-bureau-legend .tables-bureau-info{background:#dceaff;color:#253e69}
.tables-bureau-legend .tables-bureau-rooms{background:#ffe0b6;color:#714000}
.tables-bureau-legend .tables-bureau-closure{background:#ffd6d6;color:#7a2020}
.tables-bureau-design .tables-bureau-event{border-left:6px solid #adc9ef}
.tables-bureau-design .tables-bureau-rooms{border-left-color:#ed9d35}
.tables-bureau-design .tables-bureau-closure,.tables-bureau-design .tables-bureau-cancelled{border-left:6px solid #c95b63}
.tables-bureau-design .tables-bureau-conflict{border-left:6px solid #ed9d35;background:#fff9f0}
.tables-bureau-design [role=alert]{border:1px solid #df9e75;background:#fff0df;padding:12px;border-radius:10px}
.tables-bureau-design>p[role=status]{background:#e6f2e8;border:1px solid #bad5c0;padding:15px;border-radius:12px}
.tables-bureau-design fieldset{border:1px solid #d0dced;border-radius:10px;padding:12px;margin:14px 0}
.tables-bureau-design .tables-bureau-event-form{margin-bottom:0;background:#f8faff}
.tables-bureau-design .tables-cancellation{margin-top:15px;border:1px solid #e0b5bc;border-radius:12px;padding:10px 14px}
.tables-bureau-design .tables-cancellation>summary{color:#8c303c}
@media(max-width:780px){.tables-bureau-design .tables-bureau-hero{align-items:flex-start;flex-direction:column}.tables-bureau-counters{grid-template-columns:1fr}.tables-bureau-counters>div{border:0}.tables-bureau-design .tables-pair{grid-template-columns:1fr}.tables-bureau-section{padding:12px}.tables-bureau-design .tables-bureau-section>h2{margin:-12px -12px 16px;font-size:19px}.tables-bureau-hero h1{font-size:25px}.tables-bureau-design{padding-right:6px}}

.tables-occupancy-room {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: .25rem .65rem;
    margin-top: .5rem;
    padding: .65rem .75rem;
    border: 1px solid #d2dcef;
    border-radius: .65rem;
    background: #fff;
}
.tables-occupancy-room > span { font-size: .85em; }
.tables-occupancy-badge {
    padding: .15rem .45rem;
    border-radius: .5rem;
    background: #eeeaf8;
    color: #3e4576;
}
.tables-occupancy-gauge { white-space: nowrap; }
.tables-occupancy-gauge progress {
    width: clamp(2rem, 7vw, 6rem);
    height: .55rem;
    accent-color: #646da6;
}

.tables-compose-design .tables-compose-block > summary {
    cursor: pointer;
    list-style: none;
}
.tables-compose-design .tables-compose-block > summary::-webkit-details-marker { display: none; }
.tables-compose-design .tables-compose-block > summary::after {
    content: "";
    width: .45em;
    height: .45em;
    margin-inline-start: auto;
    flex-shrink: 0;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
}
.tables-compose-design .tables-compose-block[open] > summary::after { transform: rotate(225deg); }
.tables-compose-design .tables-compose-block > summary:focus-visible { outline-offset: -4px; }
.tables-schedule-fields {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr) minmax(0, 1fr);
    grid-template-areas: "players start duration" ". hint .";
    gap: .25rem .85rem;
    align-items: end;
    margin-bottom: 14px;
}
.tables-compose-design .tables-schedule-fields > label:not(.tables-choice) { min-width: 0; margin-bottom: 0; }
.tables-schedule-players { grid-area: players; }
.tables-schedule-start { grid-area: start; }
.tables-schedule-duration { grid-area: duration; }
.tables-schedule-hint { grid-area: hint; }
.tables-compose-design .tables-schedule-fields :is(select, input) { display: block; block-size: max(46px, 2.8em); }
.tables-compose-fields { container-type: inline-size; }
@container (max-width: 490px) {
    .tables-schedule-fields {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "players" "start" "hint" "duration";
    }
    .tables-schedule-start, .tables-schedule-duration { margin-top: .6rem; }
}

.tables-asgard .tables-home-actions {
    --ta-indigo: #3f4878;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .55rem;
    order: 1;
}
.tables-asgard .tables-home-actions .tables-primary-link {
    gap: .45rem;
    box-sizing: border-box;
}
.tables-asgard .tables-home-actions .tables-ui-icon {
    width: 1.1rem;
    height: 1.1rem;
    object-fit: contain;
}

.asgard-plugin-frise {
    position: relative;
    display: flex;
    flex: 1 1 5rem;
    min-width: 0;
    height: clamp(1.5rem, 3vw, 2.6rem);
    overflow: hidden;
}
.asgard-plugin-frise img {
    display: block;
    flex: none;
    width: auto;
    height: 100%;
    max-width: none;
}
.asgard-plugin-frise-end {
    flex: 1;
    height: 100%;
    background: url(assets/frise-modulaire/5-aligne.png) left top / 100% 100% no-repeat;
}

.tables-design .tables-calendar-heading.asgard-frise-active > .tables-heading-frise { display: none; }
@media (max-width: 760px) {
    .tables-design .tables-calendar-heading.asgard-frise-active { flex-wrap: wrap; }
    .tables-design .tables-calendar-heading > .asgard-plugin-frise { flex: 0 0 auto; width: 100%; height: 1.6rem; }
}

/* Quick registration uses the same authorized POST actions as the detail page. */
.tables-design .tables-row-actions{display:grid;grid-template-columns:minmax(0,1fr) 72px;align-items:center}
.tables-row-actions>.tables-outline-link{grid-column:1;grid-row:1}
.tables-row-actions>.tables-quick-state{grid-column:1;grid-row:2}
.tables-row-actions>.tables-quick-icon,.tables-row-actions>.tables-quick-icon-form{grid-column:2;grid-row:1 / span 2;justify-self:center}
.tables-quick-icon,.tables-design .tables-quick-icon,.asgard-program-entry .tables-quick-icon{display:inline-flex;align-items:center;justify-content:center;width:64px;height:64px;min-height:44px;padding:0;border:0;border-radius:8px;background:transparent;box-shadow:none;cursor:pointer;flex:none}
.tables-quick-icon img{display:block;width:100%;height:100%;object-fit:contain}
.tables-quick-icon:focus-visible{outline:3px solid #567eb5;outline-offset:4px}
.tables-quick-icon:hover{opacity:.75}
.asgard-program-entry>div{position:relative}
.asgard-program-entry:has(.tables-home-quick .tables-quick-icon)>div{padding-right:62px}
.tables-home-quick{position:absolute;right:0;bottom:0}
.tables-home-quick .tables-quick-form{margin:0}
.tables-home-quick .tables-quick-icon{width:54px;height:54px}
.tables-home-quick .tables-quick-state{display:none}
@media(prefers-color-scheme:dark){.tables-quick-icon img{filter:brightness(0) invert(1)}}

/* Reserve enough space for the action label and the supplied icon. */
@media(min-width:1001px){.tables-design .tables-session-row{grid-template-columns:96px 40px minmax(0,1fr) 225px 250px}}
.tables-design .tables-row-actions{grid-template-columns:minmax(160px,1fr) 64px;gap:8px;width:100%;box-sizing:border-box}
.tables-design .tables-row-actions>.tables-outline-link{white-space:nowrap;overflow-wrap:normal;word-break:normal;font-size:15px}
.tables-row-actions .tables-quick-icon{width:60px;height:60px}
.tables-row-actions .tables-quick-icon img{width:60px;height:60px}
.tables-design .tables-row-actions>.tables-quick-state{overflow-wrap:normal;word-break:normal}
@media(max-width:1000px){
.tables-design .tables-session-row{grid-template-columns:68px 36px minmax(0,1fr);grid-template-areas:"time symbol name" "availability availability availability" "action action action"}
.tables-design .tables-row-actions{grid-template-columns:minmax(0,1fr) 60px}
}
/* Explicit grid placement avoids the theme's width:100% rule on nested divs. */
.asgard-program-entry:has(.tables-home-quick .tables-quick-icon)>div{display:grid;grid-template-columns:minmax(0,1fr) 54px;column-gap:8px;padding-right:0;box-sizing:border-box}
.asgard-program-entry:has(.tables-home-quick .tables-quick-icon)>div>strong{grid-column:1 / -1}
.asgard-program-entry:has(.tables-home-quick .tables-quick-icon)>div>small,.asgard-program-entry:has(.tables-home-quick .tables-quick-icon)>div>.asgard-link-arrow{grid-column:1}
.asgard-program-entry .tables-home-quick{position:static;grid-column:2;grid-row:2 / span 3;align-self:end;justify-self:end;width:54px;min-width:54px;padding:0}
.asgard-program-entry .tables-home-quick .tables-quick-icon,.asgard-program-entry .tables-home-quick .tables-quick-icon img{width:54px;height:54px;max-width:54px;max-height:54px}

/* Visual reduction only; keep the accessible click target unchanged. */
.tables-design .tables-row-actions .tables-quick-icon img{width:45px;height:45px;max-width:45px;max-height:45px}
.asgard-program-entry .tables-home-quick .tables-quick-icon img{width:32.4px;height:32.4px;max-width:32.4px;max-height:32.4px}
