/* Direct booking preserves every existing physical floor-plan coordinate. */
.direct-plan-booking #space-list{display:none!important}
.direct-plan-booking .booking-layout{max-width:1200px;grid-template-columns:minmax(0,1fr) 290px;gap:28px;align-items:start}
.direct-plan-booking #layout-reference{margin:0}
.direct-plan-booking #layout-reference>h2{text-align:start;font-size:20px!important;margin:0 0 8px}
.booking-plan-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:10px}
.booking-plan-toolbar p{font-size:12px;line-height:1.5;color:var(--shell-muted,#5d6872);margin:0}
.booking-plan-zoom{display:flex;align-items:center;flex:none;border:1px solid var(--shell-line,#ccd2d7);border-radius:10px;overflow:hidden;background:var(--shell-surface,#fff)}
.booking-plan-zoom button{height:36px;min-width:36px;padding:0 10px;border:0;background:transparent;color:var(--shell-ink,#25313b);font:500 12px/1 inherit;cursor:pointer}
.booking-plan-zoom button:first-child,.booking-plan-zoom button:last-child{font-size:20px}
.booking-plan-zoom button:hover{background:var(--shell-raised,#e8ecef)}
.booking-plan-zoom button:disabled{opacity:.35;cursor:default}
.booking-plan-zoom button:focus-visible{outline:2px solid currentColor;outline-offset:-3px}
.direct-plan-booking .map-shell{padding:12px!important;height:var(--booking-viewport-height,500px)!important;max-height:none!important;overflow:hidden!important;scrollbar-gutter:auto;direction:ltr}
.direct-plan-booking .map-shell.booking-plan-zoomed{overflow:auto!important}
.direct-plan-booking .floor-stage{width:var(--booking-plan-width,440px)!important;height:var(--booking-plan-height,476px)!important;margin-inline:auto}
.direct-plan-booking #floor{transform:scale(var(--booking-scale,.46))!important;pointer-events:auto}
/* Physical sides: B is always left, A is always right, also in Arabic. */
.direct-plan-booking #floor .rack-plan{display:flex;flex-direction:row-reverse;direction:ltr;min-height:88px}
.direct-plan-booking #floor .rack-side{width:50%;min-width:0;padding:8px 2px;border-top:0;display:flex;align-items:center;justify-content:center}
.direct-plan-booking #floor .rack-side+.rack-side{border-top:0;border-right:1px solid #8996a3}
.direct-plan-booking #floor .rack-side .side-label{display:flex;flex-direction:column;gap:2px;font-size:14px}
.direct-plan-booking #floor .rack-side .side-label bdi{font-size:21px}
.direct-plan-booking #floor .rack>small{font-size:18px!important}
.direct-plan-booking #floor .table{font-size:18px;font-weight:700}
.direct-plan-booking #floor [data-quick]:not(:disabled){cursor:pointer}
.direct-plan-booking #floor [data-quick]:focus-visible{outline:4px solid #1d586e;outline-offset:4px}
.direct-plan-booking #floor [data-quick]:disabled{opacity:.38;cursor:not-allowed}
.direct-plan-booking #floor [data-quick][aria-pressed=true]{outline:3px solid #fff;outline-offset:-4px}
.direct-plan-booking #layout-reference .map-note{font-size:11px;margin:8px 0 0;text-align:start}
.direct-plan-booking .selection-panel{margin:0;padding:20px;position:static}
@media(min-width:900px){.direct-plan-booking #portal main{padding-bottom:20px}.direct-plan-booking .greeting{padding:18px 0 14px;margin-bottom:0}.direct-plan-booking .greeting h1{font-size:28px}.direct-plan-booking .months{margin-bottom:16px}.direct-plan-booking .month{height:66px;min-height:66px}.direct-plan-booking .section-heading{margin-bottom:8px}.direct-plan-booking .edition-footer{margin-top:20px}}
@media(max-width:899px){.direct-plan-booking .booking-layout{grid-template-columns:1fr;gap:20px}.booking-plan-toolbar{align-items:start;gap:8px}.booking-plan-toolbar p{max-width:210px}.booking-plan-zoom button{min-height:44px}.direct-plan-booking #layout-reference>h2{margin-top:0}}
/* Desktop: month and selection sit alongside the plan, leaving its full height. */

/* A single reading order: month, plan, reservation summary. */
.direct-plan-booking #portal main{max-width:960px;margin-inline:auto}
.direct-plan-booking .booking-layout{display:block;max-width:820px;margin-inline:auto}
.direct-plan-booking #layout-reference{display:grid;grid-template-columns:1fr auto;gap:12px 16px}
.direct-plan-booking #layout-reference>h2{grid-column:1;margin:0;align-self:center}
.direct-plan-booking #layout-reference>.floor-size{grid-column:2;margin:0;font-size:12px;align-self:center}
.direct-plan-booking .booking-plan-toolbar{grid-column:1/-1;margin:0}
.direct-plan-booking .map-shell{grid-column:1/-1;width:100%;max-width:660px;justify-self:center;background:#e5e9ec;border:1px solid #cdd4d9;border-radius:8px}
.direct-plan-booking .booking-map-key{grid-column:1/-1;grid-row:4;margin:0;gap:20px;font-size:12px;justify-content:center}
.direct-plan-booking #layout-reference .map-note{grid-column:1/-1;margin:0;text-align:center}
.direct-plan-booking #floor .cafe-bay-caption,.direct-plan-booking #floor .cafe-centre>small{display:none}
.direct-plan-booking .selection-panel{max-width:660px;margin:24px auto 0;padding:24px}
.direct-plan-booking .selection-panel .eyebrow{display:none}
.direct-plan-booking #waitlist-panel{max-width:660px;margin:0 auto 24px}
@media(min-width:900px){
 .direct-plan-booking #portal main{padding:0 40px 32px}
 .direct-plan-booking #portal .greeting{padding:28px 0 20px!important;margin:0!important}
 .direct-plan-booking #portal .greeting h1{font-size:22px!important;line-height:1.3;margin:0}
 .direct-plan-booking #portal .greeting>p{display:none}
 .direct-plan-booking #portal [data-view="spaces"]>.section-heading{display:none}
 .direct-plan-booking #portal #months{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;width:100%;margin:0 0 12px!important;padding:5px;border-radius:12px;overflow:visible}
 .direct-plan-booking #portal #months .month{width:100%;min-width:0;height:66px!important;min-height:66px!important;padding:10px 12px;border-radius:9px}
 .direct-plan-booking #portal #months .month>span{font-size:14px!important;gap:4px}
 .direct-plan-booking #portal #months .month>span small{font-size:12px!important}
 .direct-plan-booking #portal #months .month>small{font-size:11px!important}
 .direct-plan-booking #portal #month-note{margin:0 0 28px!important;min-height:18px;height:auto;font-size:13px}
 .direct-plan-booking #portal #month-note[hidden]{display:none!important}
 .direct-plan-booking #owner-return{top:auto;bottom:20px;font-size:12px;padding:8px 12px;min-height:36px}
}
@media(max-width:599px){
 .direct-plan-booking #layout-reference{gap:12px 8px}
 .direct-plan-booking #layout-reference>.floor-size{font-size:10px}
 .direct-plan-booking .booking-map-key{gap:10px;font-size:10px}
}

.direct-plan-booking #portal .greeting{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}
.direct-plan-booking #portal .greeting #owner-return{position:static;inset:auto;transform:none;box-shadow:none;min-height:36px;padding:8px 12px;font-size:12px;margin:0}
.direct-plan-booking #portal [data-view="spaces"]:has(#waitlist-panel:not([hidden])) .booking-plan-toolbar p{visibility:hidden}

/* Consistent, spacious controls across booking and owner screens. */
#portal .header nav{padding:5px!important;gap:4px!important;min-width:290px;width:auto!important}
#portal .header nav a{min-width:136px!important;padding:13px 22px!important;min-height:46px!important;font-size:14px!important;line-height:20px!important;white-space:nowrap;box-sizing:border-box}
.edition-choice{position:relative;min-width:220px;max-width:100%;font:inherit}
.edition-choice-trigger{width:100%;min-height:48px;padding:12px 48px 12px 18px!important;text-align:start;border:1px solid #bfc8d0!important;border-radius:16px!important;background:linear-gradient(120deg,#fafbfc,#e9edf0)!important;color:#293942;font:inherit;line-height:1.5;cursor:pointer;position:relative}
.edition-choice-trigger:after{content:'';position:absolute;right:20px;top:19px;width:7px;height:7px;border-right:1.7px solid currentColor;border-bottom:1.7px solid currentColor;transform:rotate(45deg)}
[dir=rtl] .edition-choice-trigger{padding:12px 18px 12px 48px!important}[dir=rtl] .edition-choice-trigger:after{right:auto;left:20px}
.edition-choice-menu{position:absolute;top:calc(100% + 8px);inset-inline:0;z-index:100;background:#fafbfc;border:1px solid #cbd2d9;border-radius:18px;padding:6px;box-shadow:0 12px 30px #25313b20;max-height:300px;overflow:auto}
.edition-choice-menu[hidden]{display:none!important}
.edition-choice-menu button{display:block;width:100%;min-height:44px;padding:11px 14px!important;border:0!important;border-radius:12px!important;background:transparent;text-align:start;color:#293942;font:inherit;line-height:1.4;cursor:pointer}
.edition-choice-menu button:hover,.edition-choice-menu button[aria-pressed=true]{background:#e4e9ed}
.edition-choice button:focus-visible{outline:2px solid #63788b;outline-offset:2px}
#portal #waitlist-panel{display:grid;grid-template-columns:1fr auto;gap:14px 24px;border:1px solid #d3dae0;border-radius:22px;padding:26px;background:linear-gradient(120deg,#fafbfc,#eef1f4)}
#portal #waitlist-panel[hidden]{display:none!important}
#portal #waitlist-panel h2,#portal #waitlist-panel p{grid-column:1/-1;margin:0}
#portal #waitlist-panel label{display:grid;gap:9px;font-size:13px}
#portal #waitlist-panel>button{position:static;grid-column:2;grid-row:3;align-self:end;min-height:48px;margin:0;border-radius:999px;padding:12px 24px}
#portal #waitlist-panel>small{grid-column:1/-1;margin:0;line-height:1.6}
#portal #selection-summary{border:1px solid #cbd3db;border-radius:24px;background:linear-gradient(130deg,#fafbfc,#e9edf1);padding:26px;box-shadow:0 8px 24px #25313b08}
#portal #selection-summary h2{font-size:20px;margin:0 0 18px}
#portal #selection-summary .selection-item{border:0;border-radius:14px;background:#ffffff90;margin:8px 0;padding:12px 16px!important;min-height:48px}
#portal #selection-summary .total{border-top:1px solid #cbd3db;padding:20px 0;margin:16px 0 0}
#portal #selection-summary .primary{border-radius:999px;min-height:48px;padding:13px 24px}
#owner-panel input,#owner-panel select,#owner-panel .owner-badge{border-radius:14px!important}
#owner-panel .owner-toolbar label{min-width:0}
@media(max-width:600px){#portal .header nav{min-width:0;width:100%!important}#portal .header nav a{min-width:0!important;flex:1;padding:12px 16px!important}#portal #waitlist-panel{grid-template-columns:1fr;padding:20px}#portal #waitlist-panel>button{grid-column:1;grid-row:auto;width:100%}.edition-choice{min-width:0;width:100%}}
:root[data-portal-theme=dark] .edition-choice-trigger,:root[data-portal-theme=dark] .edition-choice-menu,:root[data-portal-theme=dark] #portal #waitlist-panel,:root[data-portal-theme=dark] #portal #selection-summary{background:#242a30!important;color:#eef1f4;border-color:#4c5761!important}
:root[data-portal-theme=dark] .edition-choice-menu button{color:#eef1f4}:root[data-portal-theme=dark] .edition-choice-menu button[aria-pressed=true],:root[data-portal-theme=dark] .edition-choice-menu button:hover{background:#3b454e}

#portal #selection-summary .text-action{border-radius:10px;padding:8px 12px;margin-inline-start:-12px;min-height:40px}#portal #selection-summary .selection-item button{border-radius:50%;min-width:36px;min-height:36px}

/* Equal, comfortably padded booking tabs at every device size. */
#portal>.header nav{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));width:340px!important;min-width:0!important;max-width:100%;padding:6px!important;gap:6px!important;border-radius:999px;box-sizing:border-box;justify-self:center}
#portal>.header nav a{display:flex!important;align-items:center;justify-content:center;min-width:0!important;width:auto!important;min-height:48px!important;padding:12px 22px!important;border-radius:999px;font-size:14px!important;line-height:22px!important;white-space:nowrap;box-sizing:border-box}
@media(max-width:700px){#portal>.header nav{width:min(100%,380px)!important;margin:10px auto 0!important;grid-column:1/-1;grid-row:2}#portal>.header nav a{padding:12px 16px!important}#portal .greeting{text-align:center;justify-content:center;align-items:center;flex-direction:column;gap:14px}#portal .greeting h1{font-size:25px;line-height:1.4;margin-inline:auto;text-wrap:balance}}

/* Activity records use their own layout rather than reservation-card columns. */
#owner-panel .owner-recent-activity .owner-rows{padding:0 24px;border-radius:24px}
#owner-panel .owner-recent-activity article{display:grid;grid-template-columns:minmax(140px,1fr) minmax(180px,1.4fr) auto;align-items:center;gap:12px 24px;padding:22px 0}
#owner-panel .owner-recent-activity article>strong{font-size:14px;line-height:1.5;font-weight:600;overflow-wrap:anywhere}
#owner-panel .owner-recent-activity article>span{font-size:14px;line-height:1.5;color:var(--shell-muted)}
#owner-panel .owner-recent-activity article>small{font-size:12px;line-height:1.6;white-space:nowrap;margin:0;text-align:end;font-variant-numeric:tabular-nums}
@media(max-width:700px){#owner-panel .owner-recent-activity .owner-rows{padding:0 20px}#owner-panel .owner-recent-activity article{grid-template-columns:minmax(0,1fr);gap:5px;padding:20px 0}#owner-panel .owner-recent-activity article>small{text-align:start;margin-top:4px}#owner-panel .owner-recent-activity article>strong{font-size:15px}}

/* Owner follow-up filters use the same silver controls as booking. */
#owner-panel .owner-followups{margin-block:28px 24px}
#owner-panel .owner-followup-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-block-end:14px}
#owner-panel .owner-followup-heading h3{margin:0}
#owner-panel .owner-followup-heading button{min-height:44px;padding:10px 16px;border:1px solid #bcc6cf;border-radius:999px;background:#f8fafb;color:#293942;font:inherit;font-size:13px;cursor:pointer}
#owner-panel .owner-action-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
#owner-panel .owner-action-filters button{display:flex;align-items:center;justify-content:space-between;gap:14px;min-width:0;min-height:64px;padding:16px 18px;border:1px solid #bdc8d1;border-radius:18px;background:linear-gradient(120deg,#fafbfc,#e9edf0);color:#293942;text-align:start;font:inherit;font-size:14px;line-height:1.5;cursor:pointer}
#owner-panel .owner-action-filters strong{font-size:19px;font-weight:600;font-variant-numeric:tabular-nums;flex-shrink:0}
#owner-panel .owner-action-filters button:hover,#owner-panel .owner-followup-heading button:hover{border-color:#718493;background:#e4eaf0}
#owner-panel .owner-followups button[aria-pressed=true]{border-color:#516979;background:#d8e2e9;color:#172c39;box-shadow:inset 0 0 0 1px #516979}
#owner-panel .owner-followups button:focus-visible{outline:3px solid #516979;outline-offset:3px}
#owner-panel .owner-filter-status{margin:12px 0 0;font-size:13px;line-height:1.6;color:#52616d}
#owner-panel .owner-action-results{min-width:0}
@media(max-width:800px){#owner-panel .owner-action-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){#owner-panel .owner-followup-heading{align-items:flex-start;flex-direction:column;gap:10px}#owner-panel .owner-action-filters button{padding:13px;gap:8px;font-size:13px;min-height:72px}#owner-panel .owner-action-filters strong{font-size:18px}}
:root[data-portal-theme=dark] #owner-panel .owner-followups button{background:#242a30;color:#eef1f4;border-color:#5e6b76}
:root[data-portal-theme=dark] #owner-panel .owner-followups button:hover{background:#35424c}
:root[data-portal-theme=dark] #owner-panel .owner-followups button[aria-pressed=true]{background:#3c5363;border-color:#b5c8d6;color:#fff;box-shadow:inset 0 0 0 1px #b5c8d6}
:root[data-portal-theme=dark] #owner-panel .owner-filter-status{color:#c1cbd3}

/* Dark silver: explicit surface/ink pairs override legacy light-only materials. */
:root[data-portal-theme=dark]{--shell-bg:#15171a;--shell-surface:#202328;--shell-raised:#2b3036;--shell-ink:#f0f2f5;--shell-muted:#b4bdc7;--shell-line:#454d57;--shell-silver:linear-gradient(125deg,#e0e4e9,#bac3cd);--dark-metal:linear-gradient(125deg,#343b44,#4a5561 45%,#303842)}
:root[data-portal-theme=dark] #portal>.header nav{background:var(--shell-raised)!important;border:1px solid var(--shell-line)}
:root[data-portal-theme=dark] #portal>.header nav a{color:var(--shell-muted)!important;background:transparent!important;text-shadow:none}
:root[data-portal-theme=dark] #portal>.header nav a.active{color:#19222b!important}
:root[data-portal-theme=dark] #portal>.header nav .nav-pill{background:var(--shell-silver);box-shadow:0 2px 5px #0003}
:root[data-portal-theme=dark] #portal>.header nav:not(.has-nav-pill) a.active{background:var(--shell-silver)!important}
:root[data-portal-theme=dark] :is(#owner-return,.brand-auth .primary,.production-dialog .primary){background:var(--shell-silver)!important;color:#19222b!important;border-color:#b0bac5!important;text-shadow:none}
:root[data-portal-theme=dark] #portal #months{background:var(--shell-surface);border:1px solid var(--shell-line)}
:root[data-portal-theme=dark] #portal #months .month:not(.active),:root[data-portal-theme=dark] #portal #months .month:not(.active)>small{color:var(--shell-muted)!important}
:root[data-portal-theme=dark] #portal #months .month.active{background:var(--shell-silver)!important;color:#19222b!important;box-shadow:inset 0 0 0 1px #b0bac5!important}
:root[data-portal-theme=dark] #portal #months .month.active>small{color:#303d49!important}
:root[data-portal-theme=dark] #portal :is(#month-note,.floor-size,.map-note,.booking-map-key,.selection-panel .period,.selection-panel .allowance,.selection-panel .payment-note,.selection-panel .empty-selection,#waitlist-panel>small){color:var(--shell-muted)!important}
:root[data-portal-theme=dark] #portal :is(#layout-reference,.edition-footer,.selection-panel .total){border-color:var(--shell-line)!important}
:root[data-portal-theme=dark] #portal :is(.footer-name,.edition-footer a,.selection-panel .total b){color:var(--shell-ink)!important}
:root[data-portal-theme=dark] #portal #selection-summary .selection-item{background:var(--shell-raised);color:var(--shell-ink)}
:root[data-portal-theme=dark] #portal #selection-summary :is(.selection-item button,.text-action){color:var(--shell-ink)!important;background:transparent}
:root[data-portal-theme=dark] #portal :is(.selection-item button,.contact-icon):hover{background:var(--shell-raised)!important}
:root[data-portal-theme=dark] #portal .primary:disabled{background:var(--shell-raised)!important;color:var(--shell-muted)!important;border-color:var(--shell-line)!important;opacity:1}
:root[data-portal-theme=dark] :is(.production-record button,.production-record a,.booking-sections button){background:var(--shell-raised);color:var(--shell-ink);border-color:var(--shell-line)}
:root[data-portal-theme=dark] .booking-sections button[aria-pressed=true]{background:var(--shell-silver);color:#19222b}
:root[data-portal-theme=dark] :is(.production-dialog,.reservation-success){background:var(--shell-surface);color:var(--shell-ink);border-color:var(--shell-line)}
:root[data-portal-theme=dark] :is(#auth-error,#payment-error,.owner-account-status){color:#ffb4b4!important}
:root[data-portal-theme=dark] :is(input,textarea)::placeholder{color:#aab4bf;opacity:1}
:root[data-portal-theme=dark] :is(button,a,input,select,summary):focus-visible{outline-color:#d5dee8!important}
:root[data-portal-theme=dark] ::selection{background:#bac3cd;color:#19222b}
/* The plan retains its coordinates; darker café furniture recedes from bookable silver blocks. */
:root[data-portal-theme=dark].direct-plan-booking .map-shell{background:#252a30!important;border-color:#49535e!important;color:var(--shell-ink);color-scheme:dark;--ink:#f0f2f5;--muted:#b4bdc7}
:root[data-portal-theme=dark] #floor{background:#1d2228!important;border-color:#46505b;box-shadow:none}
:root[data-portal-theme=dark] #floor :is(.cabin,.reception){background:var(--dark-metal)!important;color:#f0f2f5;border-color:#7b8997;box-shadow:0 3px 8px #0003}
:root[data-portal-theme=dark] #floor :is(.rack>small,.entrance,.cafe-bay-caption,.cafe-centre>small){color:#bec8d2!important}
:root[data-portal-theme=dark] #floor :is(.cafe-table,.cafe-small-table){background:#343c45!important;border-color:#697582!important;box-shadow:none}
:root[data-portal-theme=dark] #floor :is(.chair,.cafe-seat,.communal-seat){background:#46515d!important;border-color:#74818e!important;box-shadow:none}
:root[data-portal-theme=dark] #floor :is(.table,.rack-side){background:linear-gradient(125deg,#aab5c1,#d9dfe6 45%,#98a6b4)!important;color:#18232e!important;text-shadow:none}
:root[data-portal-theme=dark] #floor :is(.table.chosen,.rack-side.side-selected){background:#f0f3f6!important;color:#17212b!important;outline:4px solid #f0f3f6!important;outline-offset:3px!important}
:root[data-portal-theme=dark] #floor [data-quick]:disabled{background:#343c45!important;color:#a5afbb!important;opacity:.65;border-color:#53606d}
:root[data-portal-theme=dark] #owner-panel :is(.owner-space-custom .owner-rack-block,.owner-space-block:not(.is-selected)){background:var(--shell-raised)!important;color:var(--shell-ink);border-color:var(--shell-line)}
:root[data-portal-theme=dark] #owner-panel .owner-space-block.is-selected{background:var(--shell-silver)!important;color:#19222b!important}
:root[data-portal-theme=dark] #floor .reception{background:none!important;box-shadow:none;border:0}
:root[data-portal-theme=dark] #floor .reception>span{color:#e0e6ec}

/* Keep future-month hover readable instead of inheriting the light theme fill. */
@media (hover:hover){
  :root[data-portal-theme=dark] #portal #months .month:not(.active):hover{background:#30363e!important;color:#f0f2f5!important;box-shadow:inset 0 0 0 1px #59636f!important}
  :root[data-portal-theme=dark] #portal #months .month:not(.active):hover>small{color:#d1d8e0!important}
}
:root[data-portal-theme=dark] #portal .settings>button{background:#252a30!important;color:#e5eaf0!important;border-color:#505a65!important}
:root[data-portal-theme=dark] #portal .settings>button:is(:hover,[aria-expanded=true]){background:#343c45!important;color:#fff!important}

/* Account menu: keep it above page actions and isolate English identity text. */
#portal .greeting #owner-return{z-index:auto!important}
#portal .header{z-index:200!important}
#portal #settings-menu{width:272px;max-width:calc(100vw - 36px);box-sizing:border-box}
#portal #settings-menu .account-heading{direction:ltr;flex-direction:row-reverse;gap:14px}
#portal #settings-menu .account-heading>div{flex:1;min-width:0;text-align:left}
#portal #settings-menu .account-heading b{display:block;direction:ltr;unicode-bidi:isolate;text-align:left;overflow-wrap:anywhere;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;line-height:1.5}
#portal #settings-menu .account-avatar{flex:0 0 34px;direction:ltr;color:#243843!important}
html[dir=rtl] #portal #settings-menu button{direction:rtl;flex-direction:row-reverse;justify-content:flex-end;text-align:right;gap:12px}
html[dir=rtl] #portal #settings-menu .account-heading small{direction:rtl;text-align:left}

/* Booking records: shared spacing and states across current, history and waitlists. */
#portal .production-records{max-width:900px;padding:0;margin:32px auto 56px}
#portal .production-records>h2{margin:0 0 18px;font-size:22px;line-height:1.4}
#portal .production-records>.waitlist-heading{margin-top:36px}
#portal .production-records>p{margin:20px 0;color:#596875;line-height:1.7}
#portal .production-record{box-sizing:border-box;padding:24px;margin:16px 0;border:1px solid #d4dbe2;border-radius:22px;background:#fff;overflow-wrap:anywhere}
#portal .production-record h3{margin:0 0 10px;font-size:19px;line-height:1.4}
#portal .production-record p{margin:8px 0;line-height:1.65}
#portal .production-record small{display:block;margin:12px 0;color:#596875}
#portal .waitlist-record{display:flex;align-items:center;justify-content:space-between;gap:24px}
#portal .waitlist-record .record-copy{min-width:0}
#portal .production-record :is(button,a),#portal .records-space-link{min-height:44px;border-radius:999px;padding:11px 20px;text-decoration:none;font:inherit;font-weight:500;line-height:1.5;box-sizing:border-box}
#portal .waitlist-record button{flex-shrink:0;margin:0}
#portal .records-space-link{display:inline-flex;align-items:center;margin-top:8px;border:1px solid #bcc5cf;background:linear-gradient(120deg,#f6f7f9,#dce1e7);color:#253641}
#portal .booking-sections{border-radius:999px;padding:5px;gap:4px;max-width:100%}
#portal .booking-sections button{border-radius:999px;min-height:44px;padding:10px 18px;white-space:normal}
#portal .production-records :is(button,a):focus-visible{outline:2px solid #6b859b;outline-offset:4px}
#portal .production-record button:disabled{cursor:wait;opacity:.65}
:root[data-portal-theme=dark] #portal .production-record{background:#202328;border-color:#454d57;color:#f0f2f5}
:root[data-portal-theme=dark] #portal .production-records>p,:root[data-portal-theme=dark] #portal .production-record small{color:#b4bdc7}
:root[data-portal-theme=dark] #portal .records-space-link{background:linear-gradient(120deg,#e0e4e9,#bac3cd);color:#19222b;border-color:#9da8b4}
@media(max-width:600px){#portal .production-records{margin:24px auto 36px}#portal .production-record{padding:20px;border-radius:20px}#portal .waitlist-record{align-items:flex-start;flex-direction:column;gap:16px}#portal .booking-sections{display:flex;width:100%;box-sizing:border-box}#portal .booking-sections button{flex:1;padding:10px 12px}#portal .records-space-link{justify-content:center;width:100%}}
/* Shared owner controls retain the same soft segmented shape. */
#owner-panel .owner-nav{border-radius:999px;padding:5px}
#owner-panel .owner-nav button{border-radius:999px;min-height:44px;padding:11px 20px}
:root[data-portal-theme=dark] #portal .wordmark>span{color:#b4bdc7!important}
