/* Compact controls inherit the portal's active light, dark or contrast palette. */
/* The hotel selector sits on the header, outside the settings form palette. */
body #bpw .bpw-h .bpw-hotel-switch{color:inherit!important;opacity:1!important}
body #bpw .bpw-h .bpw-hotel-switch select{color:inherit!important;-webkit-text-fill-color:currentColor!important;background:transparent!important;border-color:currentColor!important}
body #bpw .bpw-h .bpw-hotel-switch select option{color:var(--ink,CanvasText)!important;background:var(--card,Canvas)!important}
html[data-portal-display-mode="dark"] #bpw .bpw-h .bpw-hotel-switch select option{color:var(--ref-ink,CanvasText)!important;background:var(--ref-solid,Canvas)!important}
html.bp-portal-theme-high-contrast #bpw .bpw-h .bpw-hotel-switch select option{color:var(--bp-portal-ink,CanvasText)!important;background:var(--bp-portal-canvas,Canvas)!important}
#bpw #bpwMain .fw-settings{--fws-ink:var(--ink,CanvasText);--fws-muted:var(--muted,GrayText);--fws-surface:var(--card,Canvas);--fws-paper:var(--paper,Canvas);--fws-line:var(--line,ButtonBorder);--fws-accent:var(--navy,Highlight);--fws-selected:color-mix(in srgb,var(--fws-accent) 9%,var(--fws-surface));max-width:none;margin:0;color:var(--fws-ink);font:inherit;font-size:13px}
html[data-portal-display-mode="dark"] #bpw #bpwMain .fw-settings{--fws-ink:var(--ref-ink,CanvasText);--fws-muted:var(--ref-muted,GrayText);--fws-surface:var(--ref-solid,Canvas);--fws-paper:var(--ref-solid,Canvas);--fws-line:var(--ref-line,ButtonBorder);--fws-accent:var(--ref-accent,Highlight);--fws-on-accent:var(--ref-on-accent,HighlightText);color-scheme:dark}
html[data-portal-display-mode="dark"] #bpw:has(.fw-settings),html[data-portal-display-mode="dark"] #bpw #bpwMain:has(.fw-settings){background:var(--ref-solid,Canvas)!important}
html.bp-portal-theme-high-contrast #bpw #bpwMain .fw-settings{--fws-ink:var(--bp-portal-ink,CanvasText);--fws-muted:var(--bp-portal-muted,GrayText);--fws-surface:var(--bp-portal-canvas,Canvas);--fws-paper:var(--bp-portal-canvas,Canvas);--fws-line:var(--bp-portal-line,ButtonBorder);--fws-accent:var(--bp-portal-primary,Highlight);--fws-on-accent:HighlightText;color-scheme:light}
html.bp-portal-theme-high-contrast #bpw:has(.fw-settings),html.bp-portal-theme-high-contrast #bpw #bpwMain:has(.fw-settings){background:var(--bp-portal-canvas,Canvas)!important}
#bpw #bpwMain .fw-settings [hidden]{display:none!important}
#bpw #bpwMain .fw-settings-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:0 0 12px}
#bpw .fw-eyebrow{display:none}
#bpw #bpwMain .fw-settings h1{margin:0;font-size:19px;line-height:1.35;letter-spacing:0;color:var(--fws-ink)}
#bpw #bpwMain .fw-settings-heading p{margin:3px 0 0;color:var(--fws-muted);font-size:12px}
#bpw #bpwMain .fw-settings-scope{display:flex;align-items:center;gap:8px;font-size:12px;min-width:0}
#bpw #bpwMain .fw-settings-scope span{color:var(--fws-muted)}
#bpw #bpwMain .fw-settings-scope small{display:none}
#bpw #bpwMain .fw-settings-scope strong{font-size:12px;font-weight:600;overflow-wrap:anywhere}
#bpw #bpwMain .fw-settings-layout{display:grid;grid-template-columns:180px minmax(0,1fr);gap:16px;align-items:start}
#bpw #bpwMain .fw-settings-sidebar{position:sticky;top:82px;display:grid;gap:10px}
#bpw #bpwMain .fw-settings-search{display:grid;gap:5px;color:var(--fws-muted);font-size:11px}
#bpw #bpwMain .fw-settings-sidebar nav{display:grid;gap:2px}
#bpw #bpwMain .fw-settings-sidebar nav button{width:100%;display:flex;align-items:center;gap:6px;text-align:left;border:0;border-radius:4px;background:transparent;color:var(--fws-ink);padding:9px 8px;font:inherit;cursor:pointer}
#bpw #bpwMain .fw-settings-sidebar nav button strong{font-size:12px;font-weight:500}
#bpw #bpwMain .fw-settings-sidebar nav button small{display:none}
#bpw #bpwMain .fw-settings-sidebar nav button[aria-current="page"]{background:var(--fws-selected);color:var(--fws-accent);box-shadow:inset 2px 0 var(--fws-accent)}
#bpw #bpwMain .fw-settings-sidebar [data-fw-dirty]{font-size:10px;color:var(--fws-muted);margin-left:auto}
#bpw #bpwMain .fw-settings-content{min-width:0}
#bpw #bpwMain .fw-settings .bpw-panel{margin:0 0 10px;border:1px solid var(--fws-line)!important;border-radius:5px;box-shadow:none!important;overflow:hidden;background:var(--fws-surface)!important;color:var(--fws-ink)!important}
#bpw #bpwMain .fw-settings .bpw-ph{padding:10px 12px;gap:10px;border-bottom:1px solid var(--fws-line);background:var(--fws-surface)!important}
#bpw #bpwMain .fw-settings .bpw-ph h2{font-size:14px;line-height:1.4;font-weight:600;color:var(--fws-ink)!important;margin:0}
#bpw #bpwMain .fw-settings .bpw-muted{font-size:11px;line-height:1.4;color:var(--fws-muted)!important}
#bpw #bpwMain .fw-settings .fw-settings-form{display:block;padding:0!important}
#bpw #bpwMain .fw-settings-group{border:0;border-bottom:1px solid var(--fws-line);padding:11px 12px;margin:0;min-width:0}
#bpw #bpwMain .fw-settings-group legend{float:left;width:100%;padding:0;margin:0 0 3px;font-size:12px;font-weight:600;color:var(--fws-ink)}
#bpw #bpwMain .fw-settings-group>p{clear:both;margin:0 0 9px;font-size:11px;color:var(--fws-muted)}
#bpw #bpwMain .fw-settings-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:9px 14px}
#bpw #bpwMain .fw-settings .bpw-f{min-width:0;display:grid;gap:4px}
#bpw #bpwMain .fw-settings .bpw-f label{font-size:11px;color:var(--fws-muted);font-weight:500}
#bpw #bpwMain .fw-settings input:not([type="checkbox"]),#bpw #bpwMain .fw-settings select{height:32px;border:1px solid var(--fws-line)!important;background:var(--fws-surface)!important;border-radius:4px;font:inherit;font-size:12px;color:var(--fws-ink)!important;box-sizing:border-box;max-width:100%;min-width:0;padding:4px 8px}
#bpw #bpwMain .fw-settings .bpw-f input,#bpw #bpwMain .fw-settings .bpw-f select,#bpw #bpwMain .fw-settings-search input{width:100%}
#bpw #bpwMain .fw-settings input[type="checkbox"]{appearance:auto;min-width:16px!important;width:16px!important;height:16px!important;min-height:16px!important;accent-color:var(--fws-accent);margin:0 5px 0 0;flex:none}
#bpw #bpwMain .fw-settings .bpw-check{display:flex;align-items:center;flex-wrap:wrap;gap:5px;font-size:12px;line-height:1.4;min-height:30px;padding:0;background:transparent!important;border:0!important;color:var(--fws-ink)!important}
#bpw #bpwMain .fw-settings [data-clock-policy]{grid-column:1/-1;background:var(--fws-paper)!important;padding:10px!important;border:1px solid var(--fws-line)!important;border-radius:4px!important}
#bpw #bpwMain .fw-settings [data-clock-policy-row]{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-top:6px}
#bpw #bpwMain .fw-settings [data-clock-policy-row] select{flex:1;min-width:140px}
#bpw #bpwMain .fw-settings .bpw-b{min-height:30px;height:auto;max-width:100%;border-radius:4px;font-size:12px;line-height:1.4;padding:5px 9px;background:var(--fws-surface)!important;border:1px solid var(--fws-line)!important;color:var(--fws-ink)!important;box-shadow:none!important}
#bpw #bpwMain .fw-settings .bpw-b.primary{background:var(--fws-accent)!important;border-color:var(--fws-accent)!important;color:var(--fws-on-accent,var(--inn-on-brand,HighlightText))!important}
#bpw #bpwMain .fw-settings .fw-settings-save,#bpw #bpwMain .fw-settings .bpw-dlg-actions{display:flex;gap:8px;justify-content:flex-end;align-items:center;flex-wrap:wrap;padding:8px 12px!important;background:var(--fws-paper)!important;border-top:1px solid var(--fws-line)}
#bpw #bpwMain .fw-settings [id$="Status"]{margin-right:auto;font-size:11px}
#bpw #bpwMain .fw-settings .bpw-holiday-head{align-items:center;flex-wrap:wrap}
#bpw #bpwMain .fw-settings .bpw-holiday-tools{display:flex;gap:6px;align-items:end;flex-wrap:wrap}
#bpw #bpwMain .fw-settings .bpw-tbl{min-width:540px;width:100%;font-size:12px}
#bpw #bpwMain .fw-settings .bpw-tbl td,#bpw #bpwMain .fw-settings .bpw-tbl th{padding:6px 10px;border-color:var(--fws-line)!important;background:var(--fws-surface)!important;color:var(--fws-ink)!important}
#bpw #bpwMain .fw-settings .bpw-tbl th{background:var(--fws-paper)!important;font-size:11px;font-weight:600}
#bpw #bpwMain .fw-settings .fw-leave-list{display:block!important;padding:0 12px!important}
#bpw #bpwMain .fw-settings [data-fw-settings-panel="leave"]{max-width:1100px}
#bpw #bpwMain .fw-settings .fw-leave-row{display:grid;grid-template-columns:140px minmax(0,1fr) auto;align-items:center;gap:8px;padding:6px 0;border-bottom:1px solid var(--fws-line)}
#bpw #bpwMain .fw-settings .fw-leave-row:last-child{border-bottom:0}
#bpw #bpwMain .fw-settings .fw-leave-summary{font-size:11px;line-height:1.4;color:var(--fws-muted)}
#bpw #bpwMain .fw-settings .fw-leave-edit{font-size:11px;min-height:28px;padding:3px 8px}
#bpw #bpwMain .fw-settings .fw-leave-policy{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:8px 0 4px}
#bpw #bpwMain .fw-settings .fw-policy-field{display:grid;grid-template-columns:1fr 72px;align-items:center;gap:4px 6px;font-size:11px}
#bpw #bpwMain .fw-settings .fw-policy-field small{grid-column:1/-1;font-size:10px;color:var(--fws-muted);line-height:1.35}
#bpw #bpwMain .fw-settings .fw-policy-flags{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 12px}
#bpw #bpwMain .fw-settings .fw-policy-flags .bpw-check{font-size:11px;min-height:27px}
#bpw #bpwMain .fw-settings .fw-blackouts{grid-column:1/-1;border-top:1px solid var(--fws-line);padding-top:7px}
#bpw #bpwMain .fw-settings .fw-blackouts summary{font-size:12px;font-weight:500;cursor:pointer;padding:4px 0;color:var(--fws-ink)}
#bpw #bpwMain .fw-settings .fw-blackouts p{font-size:11px;line-height:1.4;color:var(--fws-muted);margin:5px 0 8px}
#bpw #bpwMain .fw-settings .fw-blackout-row{display:grid;grid-template-columns:minmax(100px,1fr) 140px 140px auto auto;gap:8px;align-items:end;padding:7px 0;border-top:1px solid var(--fws-line)}
#bpw #bpwMain .fw-settings .fw-blackout-row>label{display:grid;gap:4px;font-size:10px;color:var(--fws-muted);min-width:0}
#bpw #bpwMain .fw-settings .fw-blackout-row>.bpw-check{display:flex;font-size:11px;min-height:32px}
#bpw #bpwMain .fw-settings .fw-blackout-row input:not([type="checkbox"]){width:100%}
#bpw #bpwMain .fw-settings .fw-blackout-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin-top:6px;font-size:11px;color:var(--fws-muted)}
@media(max-width:1100px){#bpw #bpwMain .fw-settings .fw-blackout-row{grid-template-columns:1fr 1fr}#bpw #bpwMain .fw-settings .fw-blackout-row>label:first-child{grid-column:1/-1}#bpw #bpwMain .fw-settings .fw-blackout-row>button{justify-self:end}}
@media(max-width:480px){#bpw #bpwMain .fw-settings .fw-blackout-row{grid-template-columns:1fr}#bpw #bpwMain .fw-settings .fw-blackout-row>label:first-child{grid-column:auto}}
#bpw #bpwMain .fw-settings .fw-leave-exceptions{font-size:11px;line-height:1.4;color:var(--fws-muted);margin:8px 12px 10px}
#bpw #bpwMain .fw-settings-notice:empty{display:none}
#bpw #bpwMain .fw-settings-notice,#bpw #bpwMain .fw-settings-readonly{padding:8px 10px;background:var(--fws-paper);color:var(--fws-ink);border:1px solid var(--fws-line);border-left:3px solid var(--fws-accent);border-radius:4px;margin:0 0 8px;font-size:12px}
#bpw #bpwMain .fw-settings-readonly{margin:10px 12px 0}
#bpw #bpwMain .fw-settings-empty{padding:20px;border:1px dashed var(--fws-line);background:var(--fws-surface);border-radius:4px;text-align:center;color:var(--fws-muted)}
#bpw #bpwMain .fw-settings-drafts{position:sticky;bottom:6px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 10px;background:var(--fws-surface);border:1px solid var(--fws-line);border-left:3px solid var(--fws-accent);border-radius:4px;font-size:12px;color:var(--fws-ink);z-index:1}
#bpw #bpwMain .fw-settings-links{display:block;padding:0 12px}
#bpw #bpwMain .fw-settings-link{display:grid;grid-template-columns:160px minmax(0,1fr) auto;gap:12px;align-items:center;text-align:left;width:100%;padding:10px 0;border:0;border-bottom:1px solid var(--fws-line);border-radius:0;background:transparent;font:inherit;color:var(--fws-ink);cursor:pointer}
#bpw #bpwMain .fw-settings-link:last-child{border-bottom:0}
#bpw #bpwMain .fw-settings-link>strong{font-size:12px;font-weight:500}
#bpw #bpwMain .fw-settings-link>span{font-size:11px;color:var(--fws-muted)}
#bpw #bpwMain .fw-settings-link>small{font-size:10px;color:var(--fws-muted)}
#bpw #bpwMain .fw-settings button:hover:not(:disabled){background:var(--fws-selected)}
#bpw #bpwMain .fw-settings :focus-visible{outline:2px solid var(--fws-accent);outline-offset:2px}
#bpw #bpwMain .fw-settings :disabled{opacity:.65;cursor:not-allowed}
@media(max-width:900px){#bpw #bpwMain .fw-settings-layout{grid-template-columns:160px minmax(0,1fr);gap:10px}#bpw #bpwMain .fw-settings .fw-leave-policy{grid-template-columns:1fr}#bpw #bpwMain .fw-settings .fw-leave-row{grid-template-columns:110px minmax(0,1fr) auto}#bpw #bpwMain .fw-settings-link{grid-template-columns:130px minmax(0,1fr)}#bpw #bpwMain .fw-settings-link>small{display:none}}
@media(max-width:640px){#bpw #bpwMain .fw-settings-heading{display:block;margin-bottom:10px}#bpw #bpwMain .fw-settings-scope{margin-top:6px}#bpw #bpwMain .fw-settings-layout{display:block}#bpw #bpwMain .fw-settings-sidebar{position:static;margin-bottom:10px;gap:6px}#bpw #bpwMain .fw-settings-sidebar nav{display:flex;gap:3px;overflow-x:auto}#bpw #bpwMain .fw-settings-sidebar nav button{width:auto;flex:none;white-space:nowrap;padding:8px}#bpw #bpwMain .fw-settings-fields{grid-template-columns:1fr}#bpw #bpwMain .fw-settings .fw-leave-row{grid-template-columns:minmax(0,1fr) auto}#bpw #bpwMain .fw-settings .fw-leave-summary{grid-column:1;grid-row:2}#bpw #bpwMain .fw-settings .fw-leave-edit{grid-column:2;grid-row:1/3;min-height:36px}#bpw #bpwMain .fw-settings .fw-leave-policy{grid-column:1/-1}#bpw #bpwMain .fw-settings .fw-policy-flags{grid-template-columns:1fr}#bpw #bpwMain .fw-settings-drafts{align-items:start;flex-wrap:wrap;bottom:0}}
@media(forced-colors:active){#bpw #bpwMain .fw-settings{--fws-accent:Highlight;--fws-selected:Canvas}#bpw #bpwMain .fw-settings button[aria-current="page"]{outline:1px solid Highlight}}
