/* Consistent shell; floor-plan geometry and reservation status colors remain untouched. */
:root{--shell-bg:#f5f6f8;--shell-surface:#fff;--shell-raised:#eceef1;--shell-ink:#22262b;--shell-muted:#606872;--shell-line:#d7dbe0;--shell-silver:linear-gradient(140deg,#fbfcfd,#dce0e5);--shell-shadow:0 12px 36px #15191f14}
:root[data-portal-theme=dark]{color-scheme:dark;--shell-bg:#111214;--shell-surface:#1b1d20;--shell-raised:#272a2f;--shell-ink:#f1f2f4;--shell-muted:#adb2ba;--shell-line:#3a3e45;--shell-silver:linear-gradient(140deg,#f1f2f4,#b9bdc5);--shell-shadow:0 12px 36px #0005;--paper:var(--shell-bg);--ink:var(--shell-ink);--muted:var(--shell-muted);--line:var(--shell-line)}
body{background:var(--shell-bg);transition:background-color .18s ease,color .18s ease}
#portal>.header,.owner-header{background:var(--shell-surface);color:var(--shell-ink);border-color:var(--shell-line);display:grid;grid-template-columns:44px minmax(140px,1fr) auto 44px;align-items:center;gap:20px;isolation:isolate;position:relative;z-index:20}
#portal>.header{padding:18px max(24px,calc((100vw - 1240px)/2))}.owner-header{padding:20px max(24px,calc((100vw - 1240px)/2))}
.portal-account-menu{position:relative;grid-column:1;grid-row:1;direction:ltr}.portal-icon-button,.settings>.portal-icon-button{display:inline-grid;place-items:center;width:44px;height:44px;min-width:44px;padding:10px;border:1px solid var(--shell-line);border-radius:12px;background:var(--shell-surface);color:var(--shell-ink);cursor:pointer;box-shadow:none}
.portal-icon-button svg{width:21px;height:21px;flex:none}.portal-icon-button:hover,.settings>.portal-icon-button:hover{background:var(--shell-raised)}.portal-icon-button:focus-visible{outline:2px solid var(--shell-ink);outline-offset:3px}.portal-theme-toggle{justify-self:end;grid-column:4;grid-row:1}
#settings-menu,.portal-menu{position:absolute;left:0;right:auto;top:54px;width:224px;max-width:calc(100vw - 36px);padding:8px;background:var(--shell-surface);color:var(--shell-ink);border:1px solid var(--shell-line);border-radius:14px;box-shadow:var(--shell-shadow);z-index:100;text-align:start;direction:inherit}
#settings-menu>button,.portal-menu>button,#settings-menu>.language-toggle{display:flex;align-items:center;gap:10px;width:100%;min-height:44px;margin:0;padding:11px 12px;border:0;border-radius:8px;background:transparent;color:var(--shell-ink);font:inherit;text-align:start;justify-content:flex-start;box-shadow:none}
#settings-menu>button:hover,.portal-menu>button:hover{background:var(--shell-raised)}#settings-menu .account-heading{padding:10px 12px 14px;border-color:var(--shell-line);color:var(--shell-ink)}#settings-menu .account-heading small{color:var(--shell-muted)}
#portal>.header>.wordmark,.owner-header>div:not(.portal-account-menu):not(.owner-actions){grid-column:2;grid-row:1}#portal>.header nav{grid-column:3;grid-row:1;display:flex;gap:24px;align-items:center}#portal>.header nav a{white-space:nowrap;line-height:1.4;padding:12px 0}
.owner-actions{grid-column:3;grid-row:1;display:flex;align-items:center;gap:8px}.owner-actions a,.owner-actions button{display:inline-flex;align-items:center;justify-content:center;text-align:center;min-height:44px;padding:10px 14px;font-size:13px;line-height:1.4;border:1px solid var(--shell-line);border-radius:10px;background:var(--shell-surface);color:var(--shell-ink);white-space:nowrap}.owner-actions a.primary{background:var(--shell-silver);color:#20242a;border-color:#aeb4bd}.owner-header p{color:var(--shell-muted)}
#owner-panel{background:var(--shell-bg);color:var(--shell-ink)}.owner-main{max-width:1240px;padding:30px 24px 80px}.owner-nav{border-radius:12px;background:var(--shell-raised);border-color:var(--shell-line)}.owner-nav button{border-radius:8px;color:var(--shell-muted)}.owner-nav button.active{background:var(--shell-surface);color:var(--shell-ink);border-color:var(--shell-line);box-shadow:0 1px 4px #0001}.owner-toolbar{margin-block:24px;gap:12px}.owner-metrics{gap:14px}.owner-metrics article{padding:22px;background:var(--shell-surface);border-color:var(--shell-line);border-radius:14px}.owner-metrics span{font-size:13px;color:var(--shell-muted);min-height:20px}.owner-metrics strong{font-size:28px;font-variant-numeric:tabular-nums;letter-spacing:-.6px;line-height:1.25;margin-top:10px}.owner-note,.owner-empty,.owner-account small,.owner-rows small,.owner-brand-link small{color:var(--shell-muted)}
.owner-account,.owner-create,.owner-rows{background:var(--shell-surface);border-color:var(--shell-line)}.owner-account>summary{padding:20px 22px}.owner-account-body{border-color:var(--shell-line)}.owner-rows article,.owner-reset{border-color:var(--shell-line)}.owner-badge{background:var(--shell-raised);border-color:var(--shell-line);color:var(--shell-ink)}
#owner-panel input,#owner-panel select,.owner-account button,.owner-toolbar button,.owner-toolbar select,.owner-create button{background-color:var(--shell-surface);color:var(--shell-ink);border-color:var(--shell-line);min-height:44px}.owner-account-body .primary,#owner-add-brand .primary{background:var(--shell-silver);color:#22262b}.owner-space-permissions,.owner-space-custom fieldset,.owner-space-choice{border-color:var(--shell-line)!important}#owner-panel .owner-space-choice:has(input:checked){background:var(--shell-raised)}#owner-status{background:var(--shell-raised);color:var(--shell-ink)}
[data-portal-theme=dark] #portal{color:var(--shell-ink)}[data-portal-theme=dark] :is(.selection-panel,.months,.month,.booking-card,.empty-bookings,.participation-details,.mobile-selection,.interest-panel,.waitlist-card,dialog,.brand-auth,.brand-auth>header){background:var(--shell-surface);color:var(--shell-ink);border-color:var(--shell-line)}
[data-portal-theme=dark] :is(.month.active,.view-switch,.zoom-tools,.reservation-success){background:var(--shell-raised);color:var(--shell-ink);border-color:var(--shell-line)}[data-portal-theme=dark] :is(.greeting p,.section-heading>span,.map-heading p,.map-legend,.map-note,.map-pan-hint,.selection-panel .period,.selection-panel .empty-selection,.selection-panel .payment-note,.edition-footer,.owner-header p){color:var(--shell-muted)}
[data-portal-theme=dark] :is(input,select,textarea){background-color:var(--shell-surface);color:var(--shell-ink);border-color:var(--shell-line)}[data-portal-theme=dark] #portal .primary{background:var(--shell-silver);color:#20242a}[data-portal-theme=dark] .header nav a{color:var(--shell-muted)}[data-portal-theme=dark] .header nav a.active{color:var(--shell-ink);border-color:var(--shell-ink)}[data-portal-theme=dark] .brand-auth h1,[data-portal-theme=dark] .brand-auth p{color:var(--shell-ink)}
#brand-auth>header{gap:12px}#brand-auth .portal-theme-toggle{margin-inline-start:0}#brand-auth .wordmark{margin-inline-end:auto}
@media(max-width:1100px){.owner-header{grid-template-columns:44px 1fr 44px;gap:14px}.owner-header>.portal-theme-toggle{grid-column:3}.owner-actions{grid-column:1/-1;grid-row:2;flex-wrap:wrap}.owner-header>div:not(.portal-account-menu):not(.owner-actions){grid-column:2}}
@media(max-width:700px){#portal>.header{grid-template-columns:44px 1fr 44px;gap:12px;padding:16px 20px}#portal>.header .portal-theme-toggle{grid-column:3}#portal>.header nav{grid-column:1/-1;grid-row:2;width:100%;justify-content:stretch;gap:20px}#portal>.header nav a{flex:1;text-align:center}.owner-header{padding:16px 20px;align-items:center}.owner-actions{width:100%;gap:8px}.owner-actions a,.owner-actions button{flex:1;white-space:normal;min-width:120px}.owner-main{padding:24px 20px 80px}.owner-metrics article{padding:16px}.owner-metrics strong{font-size:23px}.owner-metrics span{min-height:38px}.owner-header .wordmark{font-size:24px}}
@media(prefers-reduced-motion:reduce){body{transition:none}.portal-icon-button{transition:none}}
[data-portal-theme=dark] .production-record{background:var(--shell-surface);color:var(--shell-ink);border-color:var(--shell-line)}[data-portal-theme=dark] .production-record small,[data-portal-theme=dark] .reservation-email{color:var(--shell-muted)}[data-portal-theme=dark] .map-shell{color:#243843;--ink:#243843;--muted:#536975;--line:#c4d1da;color-scheme:light}[data-portal-theme=dark] .owner-space-block:not(.is-selected){background:var(--shell-surface);color:var(--shell-ink);border-color:var(--shell-line)}
[dir=rtl] #portal>.header,[dir=rtl] .owner-header{direction:ltr}[dir=rtl] #portal>.header nav,[dir=rtl] .owner-actions,[dir=rtl] .owner-header>div:not(.portal-account-menu),[dir=rtl] #settings-menu,[dir=rtl] .portal-menu{direction:rtl}

/* Owner workspace: quiet hierarchy, consistent controls, contained reservation editor. */
#owner-panel{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.owner-main{max-width:1120px}.owner-overview-heading{margin:32px 0 24px}.owner-overview-heading h2{font-size:clamp(28px,3vw,36px);font-weight:600;letter-spacing:-.035em;line-height:1.16;margin:0 0 8px}.owner-overview-heading p{margin:0;color:var(--shell-muted);font-size:16px;line-height:1.5}#owner-panel h3{font-size:19px;letter-spacing:-.02em;margin:36px 0 12px}.owner-toolbar{justify-content:space-between}.owner-toolbar label{flex:0 1 260px}.owner-metrics{gap:0;border:1px solid var(--shell-line);border-radius:18px;background:var(--shell-surface);overflow:hidden}.owner-metrics article{border:0;border-radius:0;border-inline-end:1px solid var(--shell-line);padding:24px}.owner-metrics article:last-child{border-inline-end:0}.owner-metrics strong{font-size:26px;white-space:nowrap}.owner-rows{border-radius:18px;padding-inline:24px}.owner-rows article{padding-block:22px}.owner-rows article>strong{font-size:17px;letter-spacing:-.015em}.owner-rows small{font-size:12px}.owner-badge{font-size:12px;border:0;padding:6px 10px}.owner-reservation-actions{flex-basis:100%;width:100%;margin-top:12px;border-top:1px solid var(--shell-line);padding-top:0}.owner-reservation-actions>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:52px;cursor:pointer;font-size:14px;font-weight:600}.owner-reservation-actions>summary::-webkit-details-marker,.reservation-cancel>summary::-webkit-details-marker{display:none}.owner-reservation-actions svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;transition:transform .18s ease}.owner-reservation-actions[open]>summary svg{transform:rotate(90deg)}.reservation-editor{padding:8px 0 12px;max-width:640px}.reservation-payment-heading h4{margin:8px 0 6px;font-size:18px;font-weight:600}.reservation-payment-heading p{color:var(--shell-muted);font-size:14px;max-width:55ch}.owner-reservation-actions form{margin:20px 0;gap:12px}.owner-reservation-actions label{font-size:13px;color:var(--shell-muted)}#owner-panel .owner-reservation-actions input{background:var(--shell-bg);color:var(--shell-ink);border-color:var(--shell-line);font-size:16px;min-height:48px}.owner-reservation-actions button{font:inherit;font-size:14px;padding:12px 20px;border:1px solid var(--shell-line);border-radius:10px;cursor:pointer;transition:background-color .18s ease}.owner-reservation-actions .primary{background:var(--shell-silver);color:#20242a;box-shadow:none;width:auto}.reservation-cancel{margin-top:24px;padding-top:16px;border-top:1px solid var(--shell-line)}.reservation-cancel>summary{list-style:none;cursor:pointer;min-height:44px;display:flex;align-items:center;font-size:14px;color:#bd353b}.reservation-cancel .cancel-reservation{background:#a4262d;color:#fff;border-color:#a4262d}.reservation-cancel .owner-note{font-size:13px}.owner-reservation-status{padding:12px 0;color:var(--shell-ink)}[data-portal-theme=dark] .reservation-cancel>summary{color:#ffaaa9}.owner-nav{box-shadow:none}.owner-nav button.active{box-shadow:none}.booking-sections{gap:4px;padding:4px;border-radius:12px;background:var(--shell-raised);width:fit-content;max-width:100%}.booking-sections button{border-color:transparent;min-height:44px;font-size:14px;padding:10px 14px}.booking-sections button[aria-pressed=true]{background:var(--shell-surface);border-color:var(--shell-line)}
@media(max-width:700px){.owner-overview-heading{margin-top:28px}.owner-metrics article{padding:18px}.owner-metrics article:nth-child(2){border-inline-end:0}.owner-metrics article:nth-child(-n+2){border-bottom:1px solid var(--shell-line)}.owner-metrics span{min-height:20px}.owner-metrics strong{font-size:22px}.owner-rows{padding-inline:18px}.owner-reservation-actions .primary{width:100%;justify-self:stretch}.owner-reservation>strong{flex-basis:100%}.booking-sections{width:100%}.booking-sections button{flex:1;gap:8px;padding-inline:8px}.owner-main{padding-inline:18px}}
@media(prefers-reduced-motion:reduce){.owner-reservation-actions svg,.owner-reservation-actions button{transition:none}}
.owner-reservation-actions>summary::after{content:none!important}.owner-reservation-actions>summary svg{margin-inline-start:auto;flex:none}.owner-reservation-actions>summary>span{flex:1}
