.lbe-mod-staff-banner{align-items:center;background:#641f35;border-bottom:3px solid #d9a441;color:#fff;display:flex;font:inherit;gap:1rem;justify-content:space-between;padding:.65rem max(1rem,calc((100vw - 72rem)/2));position:relative;z-index:2147483000}.lbe-mod-staff-banner strong{letter-spacing:.035em;text-transform:uppercase}.lbe-mod-staff-banner a{align-items:center;background:#fff;color:#641f35;display:inline-flex;min-height:44px;outline-offset:3px;padding:.3rem .65rem;text-decoration:none}.lbe-mod-staff-banner a:focus-visible,.lbe-mod-staff-banner a:hover{background:#f6dfaa}.lbe-mod-backend-badge{background:#641f35;border:1px solid #d9a441;border-radius:999px;color:#fff;display:inline-block;font:inherit;font-size:.82em;letter-spacing:.03em;margin:.5rem;padding:.35rem .6rem}.lbe-mod-diagnostics{align-items:center;background:#f9f3ea;border-top:1px solid #d9a441;color:#431426;display:flex;font:inherit;font-size:.85em;gap:.5rem;justify-content:center;margin-top:1rem;padding:.45rem 1rem}.lbe-mod-diagnostics__trigger,.lbe-mod-diagnostics button{background:#fff;border:1px solid #641f35;color:#641f35;cursor:pointer;font:inherit;min-height:44px;padding:.4rem .6rem}.lbe-mod-diagnostics__dialog{border:2px solid #641f35;box-shadow:0 1rem 3rem #0008;max-width:min(42rem,calc(100vw - 2rem));padding:0;width:100%}.lbe-mod-diagnostics__dialog::backdrop{background:#1d111766}.lbe-mod-diagnostics__dialog header,.lbe-mod-diagnostics__dialog footer{align-items:center;background:#f9f3ea;display:flex;gap:.5rem;justify-content:space-between;padding:.75rem 1rem}.lbe-mod-diagnostics__dialog p{padding:0 1rem}.lbe-mod-diagnostics__dialog pre{background:#1d1117;color:#f8ecdc;max-height:50vh;overflow:auto;padding:1rem;white-space:pre-wrap}.lbe-mod-diagnostics__dialog button:focus-visible{outline:3px solid #d9a441;outline-offset:2px}@media(max-width:42rem){.lbe-mod-staff-banner{align-items:flex-start;flex-direction:column;gap:.5rem}.lbe-mod-diagnostics{align-items:flex-start;flex-direction:column}}
.lbe-mod-diagnostics[hidden]{display:none}

/* Template adapters: a dense workbench with deliberate contrast and room for labels. */
html.lbe-ui-templates{--lbe-template-label:14rem;--lbe-template-gap:1rem;--lbe-template-line:#b8c5d6;--lbe-template-ink:#17233a;--lbe-template-muted:#4b5c73;--lbe-template-panel:#f5f8fc}
html.lbe-ui-templates .lbe-ui-template-heading{align-items:center;display:flex;flex-wrap:wrap;gap:1rem;min-height:76px;padding-block:.875rem!important}
html.lbe-ui-templates .lbe-ui-template-heading-actions{align-items:center;display:flex;flex-wrap:wrap;gap:.5rem;margin-left:auto;position:static!important}
html.lbe-ui-templates .lbe-ui-template-heading-actions>:is(a,button),html.lbe-ui-templates .btn-layout-prestiscene{height:auto!important;inset:auto!important;position:static!important;transform:none!important;width:auto!important}

/* Editors keep a fixed reading rhythm: labels have their own column and never share a line-height with the next row. */
html.lbe-ui-templates .lbe-ui-template-editor:not(.lbe-ui-template-crm){max-width:none}
html.lbe-ui-templates .lbe-ui-template-editor .lbe-ui-template-field-row{align-items:start;column-gap:var(--lbe-template-gap);margin:0 0 9px!important;min-width:0;padding:1px 0}
html.lbe-ui-templates .lbe-ui-template-editor .lbe-ui-template-field-row>:where(label,.form-label){align-self:start;color:var(--lbe-template-ink);flex:0 0 var(--lbe-template-label);font-size:14px;font-weight:400;line-height:1.4;margin:0;max-width:var(--lbe-template-label);padding:8px 0 0;text-align:left;width:var(--lbe-template-label)}
html.lbe-ui-templates .lbe-ui-template-editor .lbe-ui-template-field-row>:not(:where(label,.form-label)){flex:1 1 0;min-width:0;padding-inline:0;width:auto}
html.lbe-ui-templates .lbe-ui-template-short-frame{max-width:900px;margin-inline:auto}
html.lbe-ui-templates .lbe-ui-template-editor :is(.lbe-ui-template-rich-row,.lbe-ui-template-collection-row){display:block;margin-block:16px!important;padding:0}
html.lbe-ui-templates .lbe-ui-template-editor :is(.lbe-ui-template-rich-row,.lbe-ui-template-collection-row)>label{display:block;max-width:none;width:auto;padding:0;margin:0 0 8px;font-weight:600}
html.lbe-ui-templates .lbe-ui-template-editor :is(.lbe-ui-template-rich-row,.lbe-ui-template-collection-row)>div{max-width:none;width:100%;padding:0}
html.lbe-ui-templates .lbe-ui-template-editor .lbe-ui-template-collection-row{border:1px solid #b4c4d9;border-radius:6px;overflow:visible}
html.lbe-ui-templates .lbe-ui-template-editor .lbe-ui-template-collection-row>label{background:#e8eef7;border-bottom:1px solid #b4c4d9;border-radius:5px 5px 0 0;color:#17385f;margin:0;padding:9px 12px}
html.lbe-ui-templates .lbe-ui-template-editor .lbe-ui-template-collection-row>div{padding:12px}
html.lbe-ui-templates .lbe-ui-template-editor .lbe-ui-template-association-row{border:1px solid #b4c4d9;border-radius:5px;background:#f4f7fc;padding:10px 12px;margin-block:10px!important}
html.lbe-ui-templates .lbe-ui-template-rich-row .ck-editor__editable{min-height:128px;height:160px;max-height:320px;overflow:auto;resize:vertical}
/* Product metadata uses native DOM order in two columns; pricing blocks stay whole. */
html.lbe-ui-templates .lbe-ui-template-product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 20px;max-width:none!important}
html.lbe-ui-templates .lbe-ui-template-product-grid>:not(.lbe-ui-template-field-row){grid-column:1/-1}
html.lbe-ui-templates .lbe-ui-template-product-grid>.lbe-ui-template-field-row{display:block;margin:0!important;padding:0}
html.lbe-ui-templates .lbe-ui-template-product-grid>.lbe-ui-template-field-row>label{display:block;max-width:none;width:auto;padding:0;margin:0 0 6px;font-weight:500}
html.lbe-ui-templates .lbe-ui-template-product-grid>.lbe-ui-template-field-row>div{width:100%;max-width:none;padding:0}
html.lbe-ui-templates .lbe-ui-template-product-grid>:is(.lbe-ui-template-collection-row,.lbe-ui-template-rich-row),html.lbe-ui-templates .lbe-ui-template-product-grid>.lbe-ui-template-field-row:has(textarea){grid-column:1/-1}
html.lbe-ui-templates .lbe-ui-template-product-grid>.lbe-ui-template-collection-row>label{margin:0;padding:6px 12px;font-weight:600}
html.lbe-ui-templates .lbe-ui-template-product-grid>.lbe-ui-template-collection-row>div{padding:8px}
html.lbe-ui-templates .lbe-ui-template-product-grid>.lbe-ui-template-product-toggle-row>div{max-width:none;width:100%;padding:0}
html.lbe-ui-templates .lbe-ui-template-product-grid>.lbe-ui-template-product-toggle-row{grid-column:auto;align-items:center;display:flex;min-height:44px;padding:6px 0 0;margin:0!important}
@media(max-width:767px){html.lbe-ui-templates .lbe-ui-template-product-grid{grid-template-columns:1fr}}

/* CRM uses a 2+1 information grid. Each field becomes a self-contained label/control pair. */
html.lbe-ui-templates .lbe-ui-template-crm{align-items:start;display:grid;gap:16px;grid-template-columns:minmax(0,2fr) minmax(18rem,1fr)}
html.lbe-ui-templates .lbe-ui-template-crm>:not(.lbe-ui-template-crm-card){grid-column:1/-1}
html.lbe-ui-templates .lbe-ui-template-crm>.lbe-ui-template-crm-card{border:1px solid var(--lbe-template-line);box-shadow:none!important;margin:0;min-width:0}
html.lbe-ui-templates .lbe-ui-template-crm>[data-lbe-template-crm-part=informations]{grid-row:span 2}
html.lbe-ui-templates .lbe-ui-template-crm>[data-lbe-template-crm-part=contacts]{grid-column:2}
html.lbe-ui-templates .lbe-ui-template-crm>[data-lbe-template-crm-part=other]{grid-column:1/-1}
html.lbe-ui-templates .lbe-ui-template-crm .card-header{background:#e8eef7!important;border-bottom:1px solid var(--lbe-template-line);color:var(--lbe-template-ink)!important;font-size:16px;font-weight:700;letter-spacing:-.01em;padding:9px 12px!important}
html.lbe-ui-templates .lbe-ui-template-crm .card-body{padding:12px!important}
html.lbe-ui-templates .lbe-ui-template-crm [data-lbe-template-crm-part=informations] .card-body>.row{display:grid;gap:10px 14px;grid-template-columns:repeat(2,minmax(0,1fr));margin:0}
html.lbe-ui-templates .lbe-ui-template-crm [data-lbe-template-crm-part=informations] .card-body>.row>.col-md-6{display:grid;align-content:start;gap:12px;max-width:none;padding:0;width:100%}
html.lbe-ui-templates .lbe-ui-template-crm [data-lbe-template-crm-part=contacts] .card-body>.row{display:grid;grid-template-columns:1fr;gap:12px;margin:0}
html.lbe-ui-templates .lbe-ui-template-crm [data-lbe-template-crm-part=contacts] .card-body>.row>.col-md-6{display:grid;align-content:start;gap:12px;max-width:none;padding:0;width:100%}
html.lbe-ui-templates .lbe-ui-template-crm .lbe-ui-template-field-row{display:block;margin:0!important;min-width:0;padding:0}
html.lbe-ui-templates .lbe-ui-template-crm .lbe-ui-template-field-row>:where(label,.form-label){color:var(--lbe-template-ink);display:block;font-size:14px;font-weight:400;line-height:1.4;margin:0 0 7px;max-width:none;overflow-wrap:anywhere;padding:0;width:auto}
html.lbe-ui-templates .lbe-ui-template-crm .lbe-ui-template-field-row>div{max-width:none;min-width:0;padding:0;width:100%}
html.lbe-ui-templates .lbe-ui-template-crm .lbe-ui-template-billing-address-row{margin-top:12px!important}
html.lbe-ui-templates .lbe-ui-template-crm .form-text{color:#40536e;font-size:14px;line-height:1.45;margin-top:6px}

html.lbe-ui-templates .lbe-ui-template-filters{display:block!important;margin-block:0!important}
html.lbe-ui-templates form.lbe-ui-template-filter-compact{display:flex!important;align-items:end;flex-wrap:wrap;gap:12px 16px}
html.lbe-ui-templates .lbe-ui-template-compact-filter-fields{display:flex;flex-wrap:wrap;flex:1 1 560px;gap:12px 16px;margin:0;max-width:640px}
html.lbe-ui-templates .lbe-ui-template-compact-filter-fields>div{flex:1 1 220px;max-width:none;min-width:0;padding:0;width:auto}
html.lbe-ui-templates .lbe-ui-template-compact-filter-single{flex-basis:320px;max-width:420px}
html.lbe-ui-templates .lbe-ui-template-compact-filter-actions{align-items:center;border:0!important;display:flex;flex:0 1 auto;flex-wrap:wrap;gap:10px;justify-content:flex-start!important;margin:0!important;padding:0!important;min-width:0}
html.lbe-ui-templates .lbe-ui-template-compact-filter-actions>.lbe-ui-action{margin-inline:0!important}
@media(max-width:767px){html.lbe-ui-templates .lbe-ui-template-compact-filter-fields{flex-basis:100%;max-width:100%}}
html.lbe-ui-templates .lbe-ui-template-filters>.row{align-items:end;row-gap:10px}
html.lbe-ui-templates .lbe-ui-template-filters .lbe-ui-template-field-row{margin:0!important;min-width:0;padding:0}
html.lbe-ui-templates .lbe-ui-template-filters .lbe-ui-template-field-row>:where(label,.form-label){color:var(--lbe-template-ink);display:block;font-size:14px;font-weight:600;line-height:1.35;margin:0 0 5px;padding:0}
html.lbe-ui-templates .lbe-ui-template-filters .lbe-ui-template-field-row>:not(:where(label,.form-label)){min-width:0;padding:0;width:100%}
html.lbe-ui-templates .lbe-ui-template-filters :is(.form-control,.form-select,.ts-control){font-size:16px;min-height:36px}
html.lbe-ui-templates .lbe-ui-template-filters .ts-wrapper{min-width:0;width:100%}

/* The entity settings are their own provider template, not a generic long form. */

html.lbe-ui-templates .lbe-ui-template-table-host{max-width:100%;overflow:auto;overscroll-behavior:contain}
html.lbe-ui-templates .lbe-ui-template-table{margin-bottom:0}
html.lbe-ui-templates .lbe-ui-template-table thead th{background:var(--lbe-template-panel);border-bottom-color:var(--lbe-template-line);color:var(--lbe-template-ink);font-size:13px;font-weight:700;vertical-align:middle}
html.lbe-ui-templates :is(.lbe-ui-template-tabs,[data-lbe-record-tabs]):not(.settings-nav):not(.settings-nav *){align-items:flex-end;border-bottom:1px solid #c9d3e1;display:flex;flex-wrap:nowrap;gap:4px;max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;padding:0 0 1px}
html.lbe-ui-templates :is(.lbe-ui-template-tabs,[data-lbe-record-tabs]):not(.settings-nav):not(.settings-nav *).nav-fill{justify-content:flex-start!important}
html.lbe-ui-templates :is(.lbe-ui-template-tabs,[data-lbe-record-tabs]):not(.settings-nav):not(.settings-nav *).nav-fill>.nav-item{flex:0 0 auto!important;width:auto!important}
html.lbe-ui-templates :is(.lbe-ui-template-tabs,[data-lbe-record-tabs]):not(.settings-nav):not(.settings-nav *) :is([role=tab],[data-bs-toggle=tab],[data-bs-toggle=pill],.nav-link){align-items:center;background:transparent!important;border:0!important;border-radius:0!important;color:#40536e!important;display:inline-flex;flex:0 0 auto;font-size:16px;font-weight:500;justify-content:center;min-height:40px;padding:8px 12px 7px;position:relative;text-decoration:none;white-space:nowrap}
html.lbe-ui-templates :is(.lbe-ui-template-tabs,[data-lbe-record-tabs]):not(.settings-nav):not(.settings-nav *) :is([role=tab],[data-bs-toggle=tab],[data-bs-toggle=pill],.nav-link):is(.active,[aria-selected=true]){color:#172e59!important;font-weight:650}
html.lbe-ui-templates :is(.lbe-ui-template-tabs,[data-lbe-record-tabs]):not(.settings-nav):not(.settings-nav *) :is([role=tab],[data-bs-toggle=tab],[data-bs-toggle=pill],.nav-link):is(.active,[aria-selected=true])::after{background:#5422a2;bottom:-1px;content:'';height:3px;left:12px;position:absolute;right:12px}
html.lbe-ui-templates :is(.lbe-ui-template-tabs,[data-lbe-record-tabs]):not(.settings-nav):not(.settings-nav *) :is([role=tab],[data-bs-toggle=tab],[data-bs-toggle=pill],.nav-link):hover{background:#eef3f9!important;color:#172e59!important}
html.lbe-ui-templates :is(.lbe-ui-template-tabs,[data-lbe-record-tabs]):not(.settings-nav):not(.settings-nav *) :is([role=tab],[data-bs-toggle=tab],[data-bs-toggle=pill],.nav-link):focus-visible{outline:3px solid #1456ba;outline-offset:-3px}
html.lbe-ui-templates :is(.lbe-ui-template-modal,[data-lbe-quote-import]) > .modal-dialog{display:flex;flex-direction:column;max-height:calc(100dvh - 2rem);margin-block:1rem}
html.lbe-ui-templates .lbe-ui-template-modal-content{display:flex;flex-direction:column;max-height:inherit;min-height:0;border-color:#b8c5d6}
html.lbe-ui-templates .lbe-ui-template-modal-title{color:var(--lbe-template-ink);font-size:18px;font-weight:650;line-height:1.35}
html.lbe-ui-templates .lbe-ui-template-modal-body{min-height:0;overflow:auto;padding:16px!important}
html.lbe-ui-templates .lbe-ui-template-modal-footer{align-items:center;display:flex;flex-wrap:wrap;gap:8px;padding:12px 16px!important;border-top-color:#c8d3e1}
html.lbe-ui-templates .lbe-ui-template-modal-table{display:table;max-width:100%;min-width:max-content;margin:0}
html.lbe-ui-templates .lbe-ui-template-modal-body:has(.lbe-ui-template-modal-table){overflow:auto;padding:12px!important}
html.lbe-ui-templates .lbe-ui-template-modal-table :is(th,td){vertical-align:middle;white-space:normal}
html.lbe-ui-templates .lbe-ui-template-modal-table input[type=number]{inline-size:5rem;min-inline-size:5rem}

@media (pointer:coarse){
  html.lbe-ui-templates .lbe-ui-template-heading-actions>:is(a,button),html.lbe-ui-templates .lbe-ui-template-editor .lbe-ui-template-field-row :is(.form-control,.form-select,.ts-control),html.lbe-ui-templates .lbe-ui-template-filters :is(.form-control,.form-select,.ts-control),html.lbe-ui-templates .lbe-ui-template-tabs :is([role=tab],[data-bs-toggle=tab],[data-bs-toggle=pill]){min-height:44px}
}

@media(max-width:48rem){
  html.lbe-ui-templates :is(.lbe-ui-template-modal,[data-lbe-quote-import]) > .modal-dialog{max-height:calc(100dvh - 1rem);margin:.5rem}
  html.lbe-ui-templates .lbe-ui-template-modal-body{padding:12px!important}
  html.lbe-ui-templates .lbe-ui-template-modal-footer{align-items:stretch;flex-direction:column}
  html.lbe-ui-templates .lbe-ui-template-modal-footer :is(button,a){min-height:44px}
}

@media (max-width:48rem){
  html.lbe-ui-templates .lbe-ui-template-crm{grid-template-columns:1fr}
  html.lbe-ui-templates .lbe-ui-template-crm>.lbe-ui-template-crm-card{grid-column:auto;grid-row:auto}
  html.lbe-ui-templates .lbe-ui-template-heading-actions{margin-left:0;width:100%}
  html.lbe-ui-templates .lbe-ui-template-editor .lbe-ui-template-field-row{display:block}
  html.lbe-ui-templates .lbe-ui-template-editor .lbe-ui-template-field-row>:where(label,.form-label){display:block;margin-bottom:5px;max-width:none;padding-top:0;width:auto}
  html.lbe-ui-templates .lbe-ui-template-editor .lbe-ui-template-field-row>:not(:where(label,.form-label)){width:100%}
  html.lbe-ui-templates .lbe-ui-template-crm [data-lbe-template-crm-part=informations] .card-body>.row{display:block}
}

/* Size only verified controls, never descend into editable tables or widget internals. */
html.lbe-ui-templates .lbe-ui-template-field-row{min-width:0;width:100%}
html.lbe-ui-templates :where(.lbe-ui-template-control){border-color:#718096;color:var(--lbe-template-ink);font-size:16px;min-height:40px}
html.lbe-ui-templates input.lbe-ui-template-control:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=color]):not([type=range]),html.lbe-ui-templates select.lbe-ui-template-control:not([multiple]){height:40px;padding-block:7px;padding-inline-start:10px}
html.lbe-ui-templates .ts-control.lbe-ui-template-control{min-height:40px;padding-block:7px;padding-inline-start:10px}
html.lbe-ui-templates .lbe-ui-template-heading>.page-header-center-prestiscene{flex:1;inset:auto!important;position:static!important;text-align:left!important;transform:none!important}
html.lbe-ui-templates .lbe-ui-template-heading .title-page-prestiscene{font-size:22px;line-height:1.2;text-align:left}
html.lbe-ui-templates .lbe-ui-template-editor .lbe-ui-template-field-row .ts-control:not(.lbe-ui-template-control){height:auto;min-height:initial}
html.lbe-ui-templates .lbe-ui-template-form-frame{border:1px solid #b8c5d6;border-radius:6px!important;box-shadow:none!important}
html.lbe-ui-templates .lbe-ui-template-form-title{background:#010933!important;background-image:none!important;border:0;border-radius:5px 5px 0 0!important;color:#fff!important;font-size:17px;font-weight:600;padding:10px 14px}
@media(pointer:coarse){html.lbe-ui-templates .lbe-ui-template-control,html.lbe-ui-templates .btn-layout-prestiscene{min-height:48px!important}}

/* The provider's reservation builder: same native steps and calculation engine. */
html.lbe-ui-templates .lbe-ui-template-booking>.row{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);gap:16px;margin:0}
html.lbe-ui-templates .lbe-ui-template-booking>.row>.col-xl-6{width:100%;max-width:none;min-width:0;padding:0}
html.lbe-ui-templates .lbe-ui-template-booking>.card>.card-header{padding:8px 12px}
html.lbe-ui-templates .lbe-ui-template-booking :is(button.btn,a.btn){min-height:36px;border-radius:5px;font-size:15px;line-height:22px}
html.lbe-ui-templates .lbe-ui-template-booking .category-line__quantity input{min-height:36px;min-width:80px;max-width:100px;font-size:16px}
html.lbe-ui-templates .lbe-ui-template-booking :is(.input-group>input,.cart-item__voucher__input>input){font-size:16px;min-height:36px}
@media(max-width:1199px){html.lbe-ui-templates .lbe-ui-template-booking>.row{display:block}}
@media(pointer:coarse){html.lbe-ui-templates .lbe-ui-template-booking :is(button.btn,a.btn,input){min-height:44px}}

html.lbe-ui-templates .lbe-ui-template-filters .lbe-ui-template-field-row>label{flex:0 0 100%;max-width:none;width:100%;font-size:15px;line-height:1.3;margin-bottom:4px}

html.lbe-ui-templates .lbe-ui-template-booking a.btn-minus-or-plus{display:inline-flex;align-items:center;justify-content:center;min-width:36px;min-height:36px;text-decoration:none}@media(pointer:coarse){html.lbe-ui-templates .lbe-ui-template-booking a.btn-minus-or-plus{min-width:44px;min-height:44px}}

html.lbe-ui-templates .lbe-ui-template-field-row>label{color:#3d4959;letter-spacing:0;line-height:1.4}

/* Formules et options restent des arbres Prestiscène.  La grille ne s'applique
   qu'aux feuilles déjà visibles dans un parent natif ouvert. */
html.lbe-ui-templates .lbe-ui-template-option-items{grid-template-columns:repeat(auto-fit,minmax(min(100%,18rem),1fr));gap:8px 14px;padding:10px!important;margin:0!important}
html.lbe-ui-templates .lbe-ui-template-option-items:not(.collapse),html.lbe-ui-templates .lbe-ui-template-option-items.collapse.show{display:grid}
html.lbe-ui-templates .lbe-ui-template-option-items>:not(.lbe-ui-template-option-item){grid-column:1/-1}
html.lbe-ui-templates .lbe-ui-template-option-items>.lbe-ui-template-option-item{border:1px solid #d0d9e6;border-radius:6px;min-width:0;padding:9px 10px;margin:0!important}
html.lbe-ui-templates .lbe-ui-template-option-item label{line-height:1.4;min-width:0;overflow-wrap:break-word}
html.lbe-ui-templates .lbe-ui-template-option-choice{display:flex;align-items:flex-start;gap:10px;padding-left:0;min-height:28px}
html.lbe-ui-templates .lbe-ui-template-option-choice input[type=checkbox]{float:none;margin:2px 0 0;min-width:20px;min-height:20px}
html.lbe-ui-templates .lbe-ui-template-option-choice label{display:block;flex:1;margin:0}
html.lbe-ui-templates .lbe-ui-template-option-master{accent-color:#174ea6;width:20px;height:20px}
@media(max-width:700px){html.lbe-ui-templates .lbe-ui-template-option-items{grid-template-columns:1fr}}

/* Scalar flags share their original direct host.  Other native blocks keep a
   full row, so price, TVA and conditional companions never enter this grid. */
html.lbe-ui-templates .lbe-ui-template-flags-host{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}
html.lbe-ui-templates .lbe-ui-template-flags-host>:not(.lbe-ui-template-scalar-flag){grid-column:1/-1}
html.lbe-ui-templates .lbe-ui-template-scalar-flag{align-items:center;display:flex;gap:9px;min-height:44px;margin:0!important;min-width:0;padding:6px 4px!important;border:0;border-radius:0}
html.lbe-ui-templates .lbe-ui-template-scalar-flag input[type=checkbox]{block-size:20px;flex:none;inline-size:20px;margin:0}
html.lbe-ui-templates .lbe-ui-template-scalar-flag :is(label,.form-check-label){align-items:center;display:inline-flex;line-height:1.35;min-height:28px;overflow-wrap:anywhere}
@media(max-width:700px){html.lbe-ui-templates .lbe-ui-template-flags-host{grid-template-columns:1fr}}
html.lbe-ui-templates :is(.lbe-ui-template-editor,.lbe-ui-template-settings-form) .ck-toolbar__items{flex-wrap:wrap!important;min-width:0;max-width:100%}

html.lbe-ui-templates .lbe-ui-template-scalar-flag>div{flex:1 1 0;width:100%!important;max-width:100%;margin-inline:0!important;padding:0!important}
html.lbe-ui-templates .lbe-ui-template-scalar-flag .form-check{display:flex;align-items:flex-start;gap:10px;padding-left:0;min-height:32px}
html.lbe-ui-templates .lbe-ui-template-scalar-flag .form-check-input{float:none!important;margin:3px 0 0!important}
html.lbe-ui-templates .lbe-ui-template-scalar-flag .form-check-label{display:block;flex:1;min-width:0;margin:0;line-height:1.4}
html.lbe-ui-templates .lbe-ui-template-scalar-flag>.lbe-ui-template-flag-spacer{display:none!important}
/* Product editors keep the stronger actions without extending the native page. */
html.lbe-ui-templates .lbe-ui-template-product-grid{row-gap:6px}
html.lbe-ui-actions .lbe-ui-template-product .lbe-ui-action-bar{margin-block-start:8px!important;padding-block-start:8px}

/* Editorial forms keep their running order. Only single native field rows
   share the grid; collection editors and conditional blocks span it. */
html.lbe-ui-templates .lbe-ui-template-form-frame.lbe-ui-work-editor-frame {
  width:100%;
  max-width:64rem;
  margin-inline:auto!important;
  border:1px solid #cbd6e4;
  border-radius:12px!important;
  box-shadow:none!important;
}
html.lbe-ui-templates .lbe-ui-work-editor-frame > .lbe-ui-template-form-title {
  background:#fff!important;
  border-block-end:1px solid #d6dfeb;
  border-radius:11px 11px 0 0!important;
  color:#17263b!important;
  font-size:clamp(18px,2vw,24px);
  padding:16px clamp(14px,3vw,26px)!important;
}
html.lbe-ui-templates .lbe-ui-work-editor-frame > .card-body {
  padding:clamp(14px,3vw,26px)!important;
}
html.lbe-ui-templates form.lbe-ui-template-editor.lbe-ui-work-editor {
  --lbe-work-editor-width:60rem;
  max-width:var(--lbe-work-editor-width)!important;
  min-width:0;
  margin-inline:auto;
}
html.lbe-ui-templates .lbe-ui-work-editor-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  align-items:start;
  gap:10px clamp(16px,3vw,28px);
  min-width:0;
}
html.lbe-ui-templates .lbe-ui-work-editor-grid > :not(.lbe-ui-work-editor-field),
html.lbe-ui-templates .lbe-ui-work-editor-grid > .lbe-ui-work-editor-wide {
  grid-column:1/-1;
}
html.lbe-ui-templates .lbe-ui-work-editor-grid > .lbe-ui-work-editor-heading {
  color:#17263b;
  border-block-start:1px solid #d6dfeb;
  padding:14px 0 0;
  margin:8px 0 0;
  font-size:16px;
  line-height:1.35;
  font-weight:650;
}
html.lbe-ui-templates .lbe-ui-work-editor-grid > .lbe-ui-work-editor-heading:first-of-type {
  border:0;
  padding:0;
  margin:0;
}
html.lbe-ui-templates .lbe-ui-work-editor .lbe-ui-work-editor-grid > .lbe-ui-work-editor-field {
  display:block;
  flex-direction:column;
  margin:0!important;
  padding:0;
  min-width:0;
}
html.lbe-ui-templates .lbe-ui-work-editor .lbe-ui-work-editor-field > :is(label,.form-label) {
  display:block;
  color:#243951;
  font-size:14px;
  font-weight:550;
  line-height:1.4;
  overflow-wrap:break-word;
  padding:0;
  margin:0 0 6px;
  flex:none;
  width:auto;
  max-width:none;
}
html.lbe-ui-templates .lbe-ui-work-editor .lbe-ui-work-editor-field > :not(:is(label,.form-label)) {
  min-width:0;
  flex:none;
  width:100%;
  max-width:100%;
  padding-inline:0;
}
html.lbe-ui-templates .lbe-ui-work-editor .lbe-ui-work-editor-field .form-text,
html.lbe-ui-templates .lbe-ui-work-editor .lbe-ui-work-editor-field .invalid-feedback {
  margin-block:6px 0;
  max-inline-size:60ch;
  font-size:14px;
  line-height:1.45;
}
html.lbe-ui-templates .lbe-ui-work-editor :is(.lbe-ui-work-editor-field,.lbe-ui-work-editor-wide) :is(textarea,.ts-wrapper) {
  max-width:min(100%,42rem);
}
html.lbe-ui-templates .lbe-ui-work-editor .lbe-ui-work-editor-field :is(input[type=date],input[type=time],input[type=datetime-local]) {
  inline-size:min(100%,18rem);
}
html.lbe-ui-templates .lbe-ui-work-editor .lbe-ui-work-editor-field input[type=number]:not(.input-group input) {
  inline-size:min(100%,12rem);
}
html.lbe-ui-templates .lbe-ui-work-editor :is(input[type=file],.input-group) {
  max-width:min(100%,34rem);
}
html.lbe-ui-templates .lbe-ui-work-editor-field .lbe-ui-choice-pair {
  min-height:44px;
}
html.lbe-ui-templates .lbe-ui-work-editor .lbe-ui-work-editor-field:has(.is-invalid) > label {
  color:var(--bs-form-invalid-color,#9a2333);
}
html.lbe-ui-templates .lbe-ui-work-editor .lbe-ui-work-editor-grid > .lbe-ui-action-bar,
html.lbe-ui-templates .lbe-ui-work-editor > .lbe-ui-action-bar {
  justify-content:flex-end;
  margin-block-start:12px!important;
  padding-block:14px 0;
}
@media(max-width:650px) {
  html.lbe-ui-templates .lbe-ui-work-editor-grid {
    grid-template-columns:minmax(0,1fr);
    gap:13px;
  }
}

html.lbe-ui-templates .lbe-ui-work-movement-empty {
  color:#3f4f64;
  background:#eef3f9;
  border-radius:6px;
  font-size:14px;
  line-height:1.45;
  padding:8px 10px;
  margin:8px 0 0;
}

/* Nomenclatures edit one definition at a time. Product pricing and
   composition editors keep their full width and their native grouping. */
html.lbe-ui-templates .lbe-ui-template-form-frame.lbe-ui-template-short-frame {
  max-width:42rem;
  margin-inline:auto!important;
  border-color:#cbd6e4;
  border-radius:12px!important;
}
html.lbe-ui-templates .lbe-ui-template-short-frame > .lbe-ui-template-form-title {
  background:#fff!important;
  border-block-end:1px solid #d6dfeb;
  border-radius:11px 11px 0 0!important;
  color:#17263b!important;
  font-size:20px;
  padding:14px 18px!important;
}
html.lbe-ui-templates .lbe-ui-template-short-frame .lbe-ui-template-editor .lbe-ui-template-field-row {
  display:block;
  flex-direction:column;
  margin-block-end:12px!important;
}
html.lbe-ui-templates .lbe-ui-template-short-frame .lbe-ui-template-field-row > label {
  display:block;
  flex:none;
  width:auto;
  max-width:none;
  padding:0;
  margin-block-end:6px;
}
html.lbe-ui-templates .lbe-ui-template-short-frame .lbe-ui-template-field-row > div {
  flex:none;
  width:100%;
  max-width:100%;
}
html.lbe-ui-templates .lbe-ui-template-product-grid > .lbe-ui-template-collection-row {
  border-color:#cbd6e4;
  border-radius:9px;
}
html.lbe-ui-templates .lbe-ui-template-product-grid > .lbe-ui-template-collection-row > label {
  background:#f3f7fc;
  border-color:#d6dfeb;
  border-radius:8px 8px 0 0;
  padding:9px 12px;
}
html.lbe-ui-templates .lbe-ui-template-product-grid > .lbe-ui-template-field-row > div>input[type=number] {
  max-inline-size:min(100%,12rem);
}

/* Reservation customer step. Scoped to the exact native cart/customer form. */
.lbe-ui-customer-shortcuts {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0 0 16px;
  padding: 5px;
  border: 1px solid #dbe3ee;
  border-radius: 9px;
  background: #f1f5fa;
  font-size: 14px;
}
.lbe-ui-customer-shortcuts a {
  border: 1px solid transparent;
  border-radius: 6px;
  color: #344b68;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  text-decoration: none;
}
.lbe-ui-customer-shortcuts a:hover { background: #e8eef7; color: #12385f; }
.lbe-ui-customer-shortcuts a:focus-visible { outline: 2px solid var(--lbe-focus, #1456ba); outline-offset: 2px; }
.lbe-ui-customer-shortcuts .lbe-ui-customer-shortcut-primary { background: #fff; border-color: #c7d4e4; color: #173e6e; font-weight: 650; }
html.lbe-ui-customer .lbe-ui-customer-section[id]{scroll-margin-top:82px}
@media(pointer:coarse){.lbe-ui-customer-shortcuts a{min-height:44px}}
html.lbe-ui-customer .lbe-ui-customer-form {
  max-width: none !important;
  min-width: 0;
  width: 100%;
}

html.lbe-ui-customer .lbe-ui-customer-form > .lbe-ui-customer-section,
html.lbe-ui-customer .lbe-ui-customer-form .reservation-cart-customer {
  max-width: none;
  min-width: 0;
  width: 100%;
}

html.lbe-ui-customer .lbe-ui-customer-form .lbe-ui-customer-row {
  align-items: start;
  column-gap: 16px;
  margin: 0 0 14px;
  min-width: 0;
  padding: 0;
}

html.lbe-ui-customer .lbe-ui-customer-form .lbe-ui-customer-row > :is(label, .col-form-label) {
  color: #17233a;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  padding-top: 8px;
}

html.lbe-ui-customer .lbe-ui-customer-form .lbe-ui-customer-row > :is(.col, [class*="col-"]) {
  min-width: 0;
}

html.lbe-ui-customer :where(.lbe-ui-template-control){border-color:#718096;color:#182230;font-size:16px;min-height:36px}

html.lbe-ui-customer .lbe-ui-customer-form .lbe-ui-customer-section.card {
  border: 1px solid #dbe3ee;
  border-radius: 10px;
  background: #fff;
  box-shadow: none !important;
}

html.lbe-ui-customer .lbe-ui-customer-form [data-lbe-customer-section] > .card-header {
  padding: 14px 16px;
  background: #fff !important;
  color: var(--lbe-ink, #17263b) !important;
  border-bottom: 1px solid #e7edf4;
  border-radius: 9px 9px 0 0;
  font-weight: 650;
  font-size: 17px;
  letter-spacing: -.015em;
}

html.lbe-ui-customer .lbe-ui-customer-form [data-lbe-customer-section] > .card-body {
  background: #fff !important;
  padding: 16px;
  border-radius: 0 0 9px 9px;
}

html.lbe-ui-customer .lbe-ui-customer-form [data-lbe-customer-section="client"] {
  border-color: #b6c9e1;
}

html.lbe-ui-customer .lbe-ui-customer-form [data-lbe-customer-section="client"] > .card-header {
  background: #eef4fc !important;
  border-bottom-color: #cfdaea;
}

html.lbe-ui-customer .lbe-ui-customer-frame > .card-header {
  background: #fff !important;
  color: var(--lbe-ink, #17263b) !important;
  padding: 16px;
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
  border-bottom: 1px solid #dbe3ee;
}

html.lbe-ui-customer .lbe-ui-customer-form .lbe-ui-customer-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  border-top: 1px solid #dbe3ee;
  padding-block-start: 14px;
}

html.lbe-ui-customer .lbe-ui-customer-actions > :is(.btn, [data-controller] > .btn) {
  margin: 0 !important;
}

html.lbe-ui-customer .lbe-ui-customer-form .lbe-ui-customer-textarea {
  min-height: 64px;
  resize: vertical;
}

html.lbe-ui-customer .lbe-ui-customer-form .lbe-ui-customer-editor {
  max-width: 100%;
  min-width: 0;
  width: 100%;
}

html.lbe-ui-customer .lbe-ui-customer-form .lbe-ui-customer-editor .ck-editor__editable {
  color: #182230;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.45;
  min-height: 80px!important;
  height:auto;
}

html.lbe-ui-customer .lbe-ui-customer-form .lbe-ui-customer-editor :is(.ck-toolbar,.ck-toolbar__items) {
  flex-wrap: nowrap !important;
}

html.lbe-ui-customer .lbe-ui-customer-form .lbe-ui-customer-editor .ck-toolbar {
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
}

html.lbe-ui-customer .lbe-ui-customer-form .lbe-ui-customer-editor:is(.lbe-ui-customer-editor-editing,:not(.lbe-ui-customer-editor-empty)) .ck-editor__editable {
  min-height: 128px!important;
}

html.lbe-ui-customer .lbe-ui-customer-form .form-check {
  align-items: center;
  display: flex;
  gap: 9px;
  min-height: 36px;
}

html.lbe-ui-customer .lbe-ui-customer-form .form-check > :is(input, label) { margin: 0; }

/* Desktop keeps a compact label column. On an iPad, labels get their own line:
   controls remain broad enough and multi-line labels can never collide. */
@media (min-width: 68.8125rem) {
  html.lbe-ui-customer .lbe-ui-customer-form .lbe-ui-customer-row {
    display: grid;
    grid-template-columns: minmax(10rem, 11.5rem) minmax(0, 1fr);
  }

  html.lbe-ui-customer .lbe-ui-customer-form .lbe-ui-customer-row > :is(label, .col-form-label) {
    overflow-wrap: anywhere;
  }

  html.lbe-ui-customer .lbe-ui-customer-form .lbe-ui-customer-row > :is(.col, [class*="col-"]) {
    max-width: none;
    padding: 0;
    width: 100%;
  }
}

@media (max-width: 68.75rem) {
  html.lbe-ui-customer .lbe-ui-customer-form .lbe-ui-customer-row {
    display: block;
    margin-bottom: 16px;
  }

  html.lbe-ui-customer .lbe-ui-customer-form .lbe-ui-customer-row > :is(label, .col-form-label) {
    display: block;
    margin-bottom: 6px;
    padding-top: 0;
  }

  html.lbe-ui-customer .lbe-ui-customer-form .lbe-ui-customer-row > :is(.col, [class*="col-"]) {
    max-width: none;
    padding: 0;
    width: 100%;
  }
}

@media (pointer: coarse) {
  html.lbe-ui-customer :where(.lbe-ui-template-control),
  html.lbe-ui-customer .lbe-ui-customer-form .form-check {
    min-height: 44px;
  }
}

@media (max-width: 767px) {
  html.lbe-ui-customer .lbe-ui-customer-form .lbe-ui-customer-row {
    display: block;
  }

  html.lbe-ui-customer .lbe-ui-customer-form .lbe-ui-customer-row > :is(label, .col-form-label) {
    display: block;
    padding-top: 0;
    margin-bottom: 6px;
  }
}

/* CKEditor positions its dropdown panels outside the toolbar. Restore its
   own wrapping and overflow while a toolbar control or panel is in use. */
html.lbe-ui-customer .lbe-ui-customer-form .lbe-ui-customer-editor .ck-toolbar:is(:focus-within,:has(.ck-dropdown__panel-visible)) {
  overflow:visible;
}
html.lbe-ui-customer .lbe-ui-customer-form .lbe-ui-customer-editor .ck-toolbar:is(:focus-within,:has(.ck-dropdown__panel-visible)) .ck-toolbar__items {
  flex-wrap:wrap!important;
}
/* Both quantity controls already contain their native sign as text. */
html.lbe-ui-templates .lbe-ui-template-booking .category-line__quantity a.btn-minus-or-plus[aria-label]::before {content:none}

/* Quantities keep their native controls. The small surface at right is the actual basket. */
.lbe-booking-builder .lbe-booking-category-row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  justify-items: start;
  gap: 8px 12px;
  padding: 10px 12px !important;
}
.lbe-booking-category-row > .category-line {
  min-width: 0;
  inline-size: auto;
  max-inline-size: 100%;
}
.lbe-booking-category-row > .grouped-category-line {
  overflow-wrap: anywhere;
}
.lbe-booking-category-row > .category-line__quantity {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  justify-self: end;
}
.lbe-booking-category-row .category-line__quantity > input.input-quantity {
  box-sizing: border-box;
  min-width: 3rem !important;
  width: 3.25rem !important;
  text-align: center;
}
.lbe-booking-category-row > .category-line__price {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.lbe-booking-builder :is(.lbe-booking-basket, .card:has(.lbe-booking-category-row)) {
  border: 1px solid #dbe3ee;
  border-radius: 10px;
  box-shadow: none;
}
.lbe-booking-builder :is(.lbe-booking-basket, .card:has(.lbe-booking-category-row)) > .card-header {
  padding: 12px 14px;
  background: #fff !important;
  color: var(--lbe-ink, #17263b) !important;
  border-bottom: 1px solid #e7edf4;
  font-size: 16px;
  font-weight: 650;
}
.lbe-booking-builder .lbe-booking-basket > .card-header {
  background: #edf4fd !important;
  border-bottom-color: #cfdaea;
}
.lbe-booking-builder .lbe-booking-basket > .card-body {
  background: #fff !important;
}
@media (max-width: 575px) {
  html.lbe-ui-customer .lbe-ui-customer-form .lbe-ui-customer-actions {
    justify-content: flex-start;
  }
  html.lbe-ui-customer .lbe-ui-customer-form [data-lbe-customer-section] > :is(.card-header,.card-body) {
    padding-inline: 12px;
  }
  .lbe-booking-builder .lbe-booking-category-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .lbe-booking-category-row > .grouped-category-line {
    grid-column: 1 / -1;
  }
  .lbe-booking-category-row > .category-line__quantity {
    grid-column: 2;
  }
}

/* Settings owns its layout. Generic form adapters never style this family. */
html.lbe-ui-settings .lbe-settings-source-hidden,html.lbe-ui-settings .lbe-settings-redundant-list{display:none!important}
html.lbe-ui-settings .lbe-settings-editor{max-width:1280px;margin-inline:auto;width:100%;min-width:0;container-type:inline-size}
html.lbe-ui-settings .lbe-settings-overview{background:#fff;border:1px solid #bdcbdc;border-radius:10px;margin:16px auto;padding:24px;width:100%;max-width:1280px}
html.lbe-ui-settings .lbe-settings-overview h2{color:#17263b;font-size:21px;line-height:1.3;margin:0 0 4px}
html.lbe-ui-settings .lbe-settings-overview>p{color:#40536e;font-size:15px;line-height:1.45;margin:0 0 18px}
html.lbe-ui-settings .lbe-settings-overview__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
html.lbe-ui-settings .lbe-settings-overview__item{display:grid;grid-template-columns:28px minmax(0,1fr) 18px;gap:4px 10px;align-items:start;min-width:0;min-height:86px;padding:14px;text-align:left;font:inherit;cursor:pointer;border:1px solid #c7d2e0;border-radius:8px;background:#f8fafc;color:#17263b}
html.lbe-ui-settings .lbe-settings-overview__item:hover{background:#edf3fb;border-color:#7890ae}
html.lbe-ui-settings .lbe-settings-overview__item:focus-visible{outline:3px solid #1456ba;outline-offset:2px}
html.lbe-ui-settings .lbe-settings-overview__item strong{grid-column:2;grid-row:1;font-size:16px;font-weight:500;line-height:22px}
html.lbe-ui-settings .lbe-settings-overview__item>span:not(.lbe-settings-overview__icon){grid-column:2;grid-row:2;color:#40536e;font-size:14px;line-height:1.45;white-space:normal;overflow-wrap:break-word}
html.lbe-ui-settings .lbe-settings-overview__icon{grid-column:1;grid-row:1/3;color:#56309b;font-size:22px;line-height:26px;width:24px;height:26px;text-align:center}
html.lbe-ui-settings .lbe-settings-overview__item>.lbe-ui-icon{grid-column:3;grid-row:1/3;align-self:center;width:18px;height:18px}
html.lbe-ui-settings .lbe-settings-overview__manage,html.lbe-ui-settings .lbe-settings-all{display:inline-flex;align-items:center;min-height:42px;margin-top:12px;border:0;background:transparent;color:#1646b4;font:inherit;font-size:14px;text-decoration:underline;text-underline-offset:3px;cursor:pointer;padding:5px 0}
html.lbe-ui-settings .lbe-settings-all{margin:0 0 12px;text-decoration:none;font-weight:500}
html.lbe-ui-settings :is(.lbe-settings-native-hidden,.lbe-settings-overview[hidden],.lbe-settings-overview__item[hidden],.lbe-settings-empty[hidden],.lbe-settings-all[hidden]){display:none!important}
html.lbe-ui-settings .lbe-settings-overview-frame>.card-header{display:none!important}
html.lbe-ui-settings .lbe-settings-layout{display:grid;grid-template-columns:216px minmax(0,1fr);gap:24px;align-items:start;margin:0!important;width:100%;max-width:1280px}
html.lbe-ui-settings .lbe-settings-nav-host,html.lbe-ui-settings .lbe-settings-content-host{width:100%;max-width:100%;min-width:0;padding:0}
html.lbe-ui-settings .settings-nav .nav-link{max-width:100%;min-width:0;white-space:normal!important;overflow:hidden;padding:10px 12px}
html.lbe-ui-settings .settings-nav :is(.settings-nav-description,.settings-nav-desc,small,p){display:none!important}
html.lbe-ui-settings .settings-nav .settings-nav-label{white-space:normal;font-size:14px;font-weight:400}
html.lbe-ui-settings .settings-nav-text{min-width:0}
html.lbe-ui-settings .lbe-ui-template-settings-form{max-width:none;min-width:0;width:100%}
html.lbe-ui-settings .lbe-settings-field-row{display:grid;grid-template-columns:minmax(180px,216px) minmax(0,1fr);gap:5px 24px;align-items:start;margin:0!important;min-width:0;width:100%;padding:14px 0}
html.lbe-ui-settings .lbe-settings-field-row>.settings-row-label{display:contents}
html.lbe-ui-settings .lbe-settings-field-row .settings-row-label>.settings-row-title{grid-column:1;grid-row:1;color:#17263b;font-size:15px;font-weight:500;line-height:1.4;max-width:none;padding:9px 0 0}
html.lbe-ui-settings .lbe-settings-field-row .settings-row-label>.form-text{grid-column:2;color:#40536e;font-size:13.5px;line-height:1.45;margin:0;max-width:68ch}
html.lbe-ui-settings .lbe-settings-field-row>.settings-row-control{grid-column:2;grid-row:1;background:transparent!important;border-left:0!important;padding:0!important;width:100%!important;min-width:0;max-width:100%}
html.lbe-ui-settings .lbe-settings-field-row .settings-row-control :is(input:not([type=file]):not([type=checkbox]):not([type=radio]),select,.ts-wrapper){max-width:35rem}
html.lbe-ui-settings .lbe-settings-field-row .settings-row-control :is(input[type=number],input[type=date],input[type=time]){max-width:16rem}
html.lbe-ui-settings .lbe-settings-field-row .settings-row-control :is(textarea,.ck-editor,.vich-image,.table-responsive){max-width:100%;min-width:0}
html.lbe-ui-settings .lbe-settings-field-row .settings-row-control :is(input,select,textarea){font-size:16px}
html.lbe-ui-settings .lbe-settings-field-row .settings-row-control .ck-toolbar__items{flex-wrap:wrap!important;max-width:100%;min-width:0}
html.lbe-ui-settings .lbe-settings-media-row{align-items:start}
html.lbe-ui-settings .lbe-settings-media-control{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 14px;align-items:start;max-width:42rem!important;padding:12px!important;border:1px solid #c8d3e1!important;border-radius:8px;background:#f8fafc!important}
html.lbe-ui-settings .lbe-settings-media-control>input[type=file]{grid-column:1;inline-size:100%;min-height:40px;max-width:100%;font:inherit}
html.lbe-ui-settings .lbe-settings-media-control :is(.vich-image,.lbe-settings-media-preview){grid-column:1;max-width:min(100%,18rem)}
html.lbe-ui-settings .lbe-settings-media-preview{display:block;max-height:9rem;object-fit:contain;object-position:left center;border:1px solid #c8d3e1;border-radius:5px;background:#fff}
html.lbe-ui-settings .lbe-settings-media-control .lbe-settings-media-remove{grid-column:2;grid-row:1;align-self:center;display:flex;align-items:center;gap:7px;color:#8a2a3c;font-size:14px;line-height:1.35;white-space:nowrap}
html.lbe-ui-settings .lbe-settings-media-remove-input{inline-size:20px;block-size:20px;margin:0}
@media(max-width:640px){html.lbe-ui-settings .lbe-settings-media-control{max-width:100%!important;grid-template-columns:1fr}html.lbe-ui-settings .lbe-settings-media-control .lbe-settings-media-remove{grid-column:1;grid-row:auto}}
@container(min-width:1050px){html.lbe-ui-settings .lbe-settings-overview__grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@container(max-width:620px){html.lbe-ui-settings .lbe-settings-overview__grid{grid-template-columns:1fr}html.lbe-ui-settings .lbe-settings-overview{padding:16px}}
@media(max-width:1100px){html.lbe-ui-settings .lbe-settings-layout{display:block}html.lbe-ui-settings .settings-nav{display:flex!important;flex-direction:row!important;flex-wrap:nowrap;overflow-x:auto;max-width:100%;margin-bottom:16px;overscroll-behavior:contain}html.lbe-ui-settings .settings-nav .nav-link{flex:0 0 auto;max-width:230px;min-height:44px}html.lbe-ui-settings .settings-nav .settings-nav-label{white-space:nowrap}}
@media(max-width:640px){html.lbe-ui-settings .lbe-settings-field-row{grid-template-columns:minmax(0,1fr);gap:5px;padding-block:12px}html.lbe-ui-settings .lbe-settings-field-row .settings-row-label>.settings-row-title{grid-column:1;grid-row:1;padding:0}html.lbe-ui-settings .lbe-settings-field-row>.settings-row-control{grid-column:1;grid-row:2}html.lbe-ui-settings .lbe-settings-field-row .settings-row-label>.form-text{grid-column:1;grid-row:3}html.lbe-ui-settings .lbe-settings-field-row .settings-row-control :is(input,select,.ts-wrapper){max-width:100%}}
@media(max-width:640px){html.lbe-ui-settings .lbe-settings-content-host :has(>.settings-family-open){flex-wrap:wrap;gap:8px!important}html.lbe-ui-settings .settings-family-open{max-width:100%;white-space:normal}}

html.lbe-ui-settings .lbe-settings-field-row>.settings-row-control.lbe-settings-media-control {
  container-type:inline-size;padding:10px 12px!important;box-sizing:border-box;min-width:0;
}
.lbe-settings-media-control .vich-image {min-width:0}
@container (min-width:375px) {
  .lbe-settings-media-control .vich-image:has(>.lbe-settings-preview-slot) {
    display:grid;grid-template-columns:minmax(0,1fr) 116px;
    grid-template-areas:"file preview" "remove preview";align-items:center;gap:8px 14px;
  }
  .lbe-settings-media-control .vich-image>input[type=file] {grid-area:file;min-width:0;width:100%}
  .lbe-settings-media-control .vich-image>.lbe-settings-preview-slot {grid-area:preview;margin:0!important}
  .lbe-settings-media-control .vich-image>.lbe-settings-remove-slot {grid-area:remove;margin:0!important}
  .lbe-settings-media-control .lbe-settings-preview-slot img {max-inline-size:100%;max-block-size:80px;object-fit:contain}
}

/* Same tone for the settings index and the editor. The native cards, nav
   states and preview remain responsible for navigation and live updates. */
html.lbe-ui-settings .lbe-settings-overview__item {
  border-color:#d0dbe8;
  background:#fff;
  grid-template-columns:34px minmax(0,1fr) 18px;
  min-height:82px;
  gap:4px 12px;
}
html.lbe-ui-settings .lbe-settings-overview__icon {
  display:grid;
  place-items:center;
  inline-size:34px;
  block-size:34px;
  border-radius:8px;
  background:#e9f1fb;
  color:#294c7b;
  font-size:18px;
}
html.lbe-ui-settings .lbe-settings-layout .settings-nav .nav-link.active {
  color:#203f69;
  background:#e6effc;
}
html.lbe-ui-settings .lbe-settings-layout .settings-nav .nav-link:focus-visible {
  outline:2px solid #1456ba;
  outline-offset:-3px;
}
html.lbe-ui-settings .lbe-settings-field-row .settings-row-label > .settings-row-title {
  overflow-wrap:break-word;
}
html.lbe-ui-settings .lbe-settings-field-row .settings-row-label > .form-text {
  max-inline-size:62ch;
}
html.lbe-ui-settings .lbe-settings-field-row .settings-row-control input[type="time"] {
  max-width:min(100%,12rem);
}
html.lbe-ui-settings .lbe-settings-field-row .settings-row-control input[type="number"] {
  max-width:min(100%,11rem);
}
html.lbe-ui-settings .lbe-settings-media-control input[type="file"] {
  min-height:44px;
}
html.lbe-ui-settings .lbe-settings-media-control input[type="file"]::file-selector-button {
  color:#203f69;
  background:#e8eff9;
}
@container(max-width:770px) {
  html.lbe-ui-settings .lbe-settings-layout {
    gap:14px;
  }
  html.lbe-ui-settings .lbe-settings-overview__item {
    padding:12px;
  }
}

/* Cold-start only; native HTML becomes visible automatically if JavaScript fails. */
html.lbe-ui-pending body{visibility:hidden}
html.lbe-ui-pending::before{content:"";visibility:visible;position:fixed;inset:0;z-index:2147483000;background:#f5f7fa;pointer-events:auto}
html.lbe-ui-pending::after{content:"";visibility:visible;position:fixed;inset:0;z-index:2147483001;pointer-events:none;background:linear-gradient(#010933,#010933) 0 0/100% 64px no-repeat,linear-gradient(#e2e7ef,#e2e7ef) 16px 88px/184px 32px no-repeat,linear-gradient(#e2e7ef,#e2e7ef) 16px 138px/184px 180px no-repeat,linear-gradient(#dfe5ee,#dfe5ee) 256px 92px/290px 28px no-repeat,linear-gradient(#e7ecf3,#e7ecf3) 256px 154px/calc(100% - 280px) 280px no-repeat;animation:lbe-load-breathe 900ms ease-in-out infinite alternate}
@keyframes lbe-load-breathe{from{opacity:.65}to{opacity:1}}
html.lbe-ui-shell::view-transition-old(root),html.lbe-ui-shell::view-transition-new(root){animation:none!important;mix-blend-mode:normal}
@media(max-width:1279px){html.lbe-ui-pending::after{background:linear-gradient(#010933,#010933) 0 0/100% 64px no-repeat,linear-gradient(#dfe5ee,#dfe5ee) 20px 92px/250px 28px no-repeat,linear-gradient(#e7ecf3,#e7ecf3) 20px 152px/calc(100% - 40px) 280px no-repeat}}
@media(prefers-reduced-motion:reduce){html.lbe-ui-pending::after{animation:none}}

/* LBE application frame. No business status or amount formatting is changed. */
.lbe-ui-shell,.lbe-ui-auth{--lbe-navy:#010933;--lbe-ink:#17263b;--lbe-muted:#40536e;--lbe-paper:#eef2f7;--lbe-line:#b8c7da;--lbe-focus:#1456ba;--lbe-rose:#e6077a;color-scheme:light}
.lbe-ui-shell body{background:var(--lbe-paper);padding-top:64px;--lbe-sidebar-offset:0px}
body.lbe-ui-frame{display:flex;flex-direction:column;min-height:100dvh}
.lbe-ui-icon{display:inline-block;flex:none;pointer-events:none;vertical-align:middle;width:22px;height:22px}
.lbe-ui-navbar{background:var(--lbe-navy)!important;border:0;border-bottom:1px solid #ffffff24;height:64px!important;min-height:64px;padding:0 16px!important}
.lbe-ui-navbar>.container-fluid{display:flex!important;align-items:center;gap:12px;padding:0!important;height:64px!important}
.lbe-ui-native-glyph{opacity:0!important;position:absolute!important;pointer-events:none!important}
.lbe-ui-version-source,.lbe-ui-entity-source,.lbe-ui-source-tool{display:none!important}
.lbe-ui-menu-trigger{align-items:center;display:inline-flex!important;justify-content:center;min-width:36px;min-height:44px;padding:6px!important;color:#fff!important}
.lbe-ui-home{align-items:center;display:flex;flex:none;width:144px;height:64px;padding-block:8px;box-sizing:border-box;overflow:hidden;justify-content:center;text-decoration:none}
.lbe-ui-brand-image{display:block;flex:none;width:144px;height:80px;max-width:none;object-fit:contain}
.lbe-ui-native-tools{margin-left:auto;display:flex;align-items:center;gap:6px;position:relative}
.lbe-ui-navigation .lbe-ui-site-item{display:flex!important;align-items:center;background:transparent!important;height:auto!important;margin:0!important;padding:0!important}
.lbe-ui-nav-control,.lbe-ui-account,.lbe-ui-help>summary{align-items:center;border:1px solid transparent;border-radius:6px;display:inline-flex!important;justify-content:center;gap:7px;min-width:36px;min-height:40px;height:auto!important;margin:0!important;padding:8px!important;font:inherit;font-size:14px!important;line-height:20px!important;white-space:nowrap;color:#f7f9ff!important;text-decoration:none;cursor:pointer;touch-action:manipulation}
.lbe-ui-nav-control:hover,.lbe-ui-account:hover,.lbe-ui-help>summary:hover{background:#ffffff16;border-color:#ffffff28}
.lbe-ui-nav-label{font-size:14px;line-height:20px}
.lbe-ui-native-notification>img{width:22px;height:22px;object-fit:contain}
.lbe-ui-native-notification>.lbe-ui-nav-label{display:none}
.lbe-ui-account>span:not(.lbe-ui-avatar){font-size:14px;max-width:160px;overflow:hidden;text-overflow:ellipsis}
.lbe-ui-account img{width:30px!important;height:30px!important;object-fit:cover}
.lbe-ui-avatar{align-items:center;display:inline-flex;justify-content:center;border-radius:50%;background:#eff2fa;color:#192754;font-size:13px;font-weight:650;height:30px;width:30px;flex:none}
.lbe-ui-avatar[hidden],.lbe-ui-avatar-source--empty{display:none!important}
.lbe-ui-help{position:relative}
.lbe-ui-help>summary{list-style:none}
.lbe-ui-help>summary::-webkit-details-marker{display:none}
.lbe-ui-help>summary>.lbe-ui-icon:last-child{width:13px;height:13px}
.lbe-ui-help-panel{position:absolute;right:0;top:calc(100% + 6px);z-index:1100;min-width:248px;background:#fff;color:var(--lbe-ink);border:1px solid var(--lbe-line);border-radius:8px;box-shadow:0 12px 32px #071b3826;padding:6px}
.lbe-ui-help-item{display:flex;align-items:center;gap:10px;width:100%;min-height:42px;padding:10px 12px;border:0;border-radius:5px;background:transparent;color:var(--lbe-ink);font:inherit;font-size:15px;text-decoration:none;text-align:left;cursor:pointer}
.lbe-ui-help-item:hover{background:#e9f0fa;color:#0b3980}
.lbe-ui-support-count{margin-left:auto;font-size:13px}
.lbe-ui-tools-trigger{display:none}
.lbe-ui-navigation .lbe-ui-account-menu{--bs-dropdown-bg:#fff;--bs-dropdown-color:#17263b;--bs-dropdown-link-color:#17263b;--bs-dropdown-link-hover-bg:#e9f0fa;--bs-dropdown-link-hover-color:#143b77;background:#fff!important;border:1px solid #aebed2;border-radius:8px;box-shadow:0 12px 32px #071b3830;color:#17263b!important;inset-inline-start:auto!important;inset-inline-end:0!important;min-width:280px;max-width:calc(100vw - 24px);padding:6px;color-scheme:light}
.lbe-ui-navigation .lbe-ui-account-menu>li{margin:0;padding:0}
.lbe-ui-navigation .lbe-ui-account-menu .lbe-ui-account-link,.lbe-ui-navigation .lbe-ui-account-menu .lbe-ui-classic-button{align-items:center;background:transparent;border:0;border-radius:5px;color:#17263b!important;display:flex;gap:10px;min-height:44px;width:100%;padding:10px 12px;font-family:inherit;font-size:15px;font-weight:500;line-height:22px;text-align:left;text-decoration:none;white-space:normal;touch-action:manipulation}
.lbe-ui-navigation .lbe-ui-account-menu .lbe-ui-account-link:hover,.lbe-ui-navigation .lbe-ui-account-menu .lbe-ui-classic-button:hover{background:#e9f0fa!important;color:#123d7b!important}
.lbe-ui-navigation .lbe-ui-account-menu .lbe-ui-account-profile{display:block;background:#eef3f9!important;color:#17263b!important;font-size:16px;font-weight:600;margin-bottom:6px}
.lbe-ui-account-caption{display:block;color:#40536e;font-size:12px;font-weight:500;line-height:18px;margin-bottom:3px}
.lbe-ui-navigation .lbe-ui-account-menu .lbe-ui-account-logout{color:#9e2438!important}
.lbe-ui-navigation .lbe-ui-account-menu .lbe-ui-account-logout:hover{background:#fff0f1!important;color:#831829!important}
.lbe-ui-classic{margin:0}
.lbe-ui-classic-item{border-top:1px solid #c4cfdd;padding-top:6px!important;margin-top:4px!important}
.lbe-ui-classic-note{display:block;white-space:normal;color:#40536e;font-size:12px;line-height:18px;padding:0 12px 8px}
.lbe-ui-content{flex:1;min-width:0;padding:0 16px 24px!important;background:transparent!important;width:100%}
.lbe-ui-content :is(a,button,input,select,textarea,[role=button]):focus-visible{outline:3px solid var(--lbe-focus);outline-offset:3px}
.lbe-ui-navbar :is(a,button,summary):focus-visible{outline:2px solid #ffc6e3;outline-offset:2px}
.lbe-ui-navbar .lbe-ui-account-menu :is(a,button):focus-visible{outline:3px solid #1456ba;outline-offset:-3px}
.lbe-ui-content [id]{scroll-margin-top:80px}
.lbe-ui-main-menu{background:#f7f8fb!important;color:#202938!important;border-right:1px solid #bac8da!important;width:232px!important}
.lbe-ui-main-menu .offcanvas-body{padding:10px 8px;overflow:auto;overscroll-behavior:contain}
.lbe-ui-main-menu a{border-radius:5px;display:flex;align-items:center;gap:10px;color:#22364f!important;min-height:40px;padding:9px 12px;text-decoration:none;font-size:15px;line-height:21px;background:transparent!important;border:0!important}
.lbe-ui-main-menu a:hover{background:#e1e9f5!important;color:#08295e!important}
.lbe-ui-main-menu a[aria-current=page]{background:#dce7f8!important;color:#0a3474!important;font-weight:650;box-shadow:inset 3px 0 #1756b5}
.lbe-ui-main-menu .lbe-ui-menu-parent-current{color:#0a3474!important;font-weight:650;background:#e9eff8!important}
.lbe-ui-main-menu i{color:inherit!important;width:20px;text-align:center}
.lbe-ui-main-menu .dropdown-menu{position:static!important;inset:auto!important;transform:none!important;border:0;box-shadow:none;background:transparent;min-width:0;width:100%;padding:2px 0 8px 10px}
.lbe-ui-main-menu .dropdown-item{font-weight:400;white-space:normal;overflow-wrap:break-word}
.lbe-ui-main-menu .dropdown-toggle{font-weight:600}
.lbe-ui-controls .lbe-ui-checkbox-target{min-height:36px;align-items:center;gap:6px}
/* Footer spans the viewport in the flow, above the bottom of the fixed drawer. */
.lbe-ui-footer{align-items:center;background:#fff;border-top:1px solid #b5c5db;color:#263a54;display:flex;flex-shrink:0;flex-wrap:wrap;gap:14px 18px;font-size:14px;margin-top:auto;min-height:78px;padding:14px 24px;box-sizing:border-box;margin-inline-start:calc(-1 * var(--lbe-sidebar-offset,0px));width:calc(100% + var(--lbe-sidebar-offset,0px));position:relative}
.lbe-ui-provider-brand{display:flex;align-items:center;justify-content:center;background:#010933;border-radius:5px;color:#fff;flex:none;min-width:100px;height:44px;padding:5px 10px}
.lbe-ui-provider-brand img{display:block;width:82px;height:34px;object-fit:contain}
.lbe-ui-footer-message{margin:0!important;font-size:14px;line-height:21px;font-weight:500}
.lbe-ui-footer-tools{display:flex;align-items:center;gap:22px;margin-left:auto;min-width:0}
.lbe-ui-interface-tools{display:block!important}
.lbe-ui-interface-tools :is(form,p){margin:0!important}
.lbe-ui-interface-tools a{display:none}
.lbe-ui-interface-tools button{border:0;background:transparent;color:#174a91;cursor:pointer;font:inherit;font-size:14px;font-weight:600;min-height:36px;padding:4px 0;text-align:left;text-decoration:underline;text-underline-offset:3px}
.lbe-ui-interface-tools small{display:block;color:#40536e;font-size:12px;line-height:18px}
.lbe-ui-footer-about{position:relative}
.lbe-ui-footer-about>summary{color:#2d4566;cursor:pointer;font-size:14px;min-height:36px;display:flex;align-items:center;list-style:none;gap:6px;padding:4px 6px;border-radius:4px}
.lbe-ui-footer-about>summary::after{content:'⌃';font-size:16px}
.lbe-ui-footer-about>summary::-webkit-details-marker{display:none}
.lbe-ui-footer-about-panel{position:absolute;right:0;bottom:calc(100% + 10px);min-width:270px;background:#fff;color:#17263b;padding:16px;border:1px solid #aebed2;border-radius:8px;box-shadow:0 8px 24px #071b3826;z-index:10}
.lbe-ui-footer-about-panel p{font-size:13px;line-height:20px;margin:0 0 6px;overflow-wrap:anywhere}
.lbe-ui-technical-trigger{align-items:center;display:flex;gap:8px;border:0;border-top:1px solid #c2cede;background:transparent;color:#174a91;cursor:pointer;font:inherit;font-size:14px;font-weight:600;min-height:40px;padding:10px 0 0;margin-top:10px;width:100%}
.lbe-ui-technical-trigger .lbe-ui-icon{width:18px;height:18px}
.lbe-ui-about--issue{background:#fff0d0;color:#664600!important;font-weight:600}
.lbe-ui-footer :is(a,button,summary):focus-visible{outline:3px solid #1456ba;outline-offset:3px}
.lbe-mod-diagnostics--detached{display:contents!important}
.lbe-mod-diagnostics__notice{display:contents}
.lbe-mod-diagnostics__notice[hidden]{display:none!important}
.lbe-mod-diagnostics--detached>.lbe-mod-diagnostics__notice:not([hidden]){display:flex;align-items:center;justify-content:center;gap:12px;background:#fff3d9;color:#59421c;border-top:1px solid #ceb98d;padding:8px}
.lbe-ui-shell .lbe-mod-diagnostics__dialog{border:1px solid var(--lbe-line);border-radius:8px;color:var(--lbe-ink)}
.lbe-ui-auth body{background:var(--lbe-navy);display:flex;flex-direction:column;min-height:100dvh;padding-top:0!important}
.lbe-ui-auth .min-vh-100{min-height:0!important}
.lbe-ui-auth-brand{display:flex;justify-content:center;margin:24px auto 12px}
.lbe-ui-auth-brand .lbe-ui-brand-image{width:180px;height:100px}
.lbe-ui-auth-form{background:#fff;border:1px solid #cbd3e2;border-radius:8px;color:var(--lbe-ink);margin:0 auto 24px;max-width:440px;padding:24px;width:100%}
.lbe-ui-auth-form :is(input,button,.btn){min-height:44px;font-family:inherit;font-size:16px}
.lbe-ui-auth-label{display:block;font-size:15px;font-weight:600;margin:12px 0 5px;text-align:left}
.lbe-ui-auth-form :is(button,.btn):not([data-action*="password-visibility"]){background:var(--lbe-navy);color:#fff;border-color:var(--lbe-navy)}
.lbe-ui-auth-footer{color:#dce3f6;font-size:12px;margin-top:auto;padding:12px;text-align:center}
@media(min-width:1280px){
 html.lbe-ui-sidebar-pinned body{--lbe-sidebar-offset:232px;padding-left:232px}html.lbe-ui-sidebar-collapsed body{--lbe-sidebar-offset:48px;padding-left:48px}
 html.lbe-ui-sidebar-pinned .lbe-ui-navbar{left:232px!important;width:calc(100% - 232px)!important}html.lbe-ui-sidebar-collapsed .lbe-ui-navbar{left:48px!important;width:calc(100% - 48px)!important}
 html.lbe-ui-sidebar .lbe-ui-menu-trigger{display:none!important}
 .lbe-ui-footer{z-index:1023}
}
@media(max-width:1179px){.lbe-ui-nav-control>.lbe-ui-nav-label{display:none}.lbe-ui-account>span:not(.lbe-ui-avatar){max-width:110px}.lbe-ui-native-tools{gap:3px}.lbe-ui-navbar{padding-inline:12px!important}}
@media(pointer:coarse){.lbe-ui-nav-control,.lbe-ui-account,.lbe-ui-help>summary,.lbe-ui-help-item,.lbe-ui-technical-trigger,.lbe-ui-main-menu a,.lbe-ui-controls .lbe-ui-checkbox-target,.lbe-ui-account-menu button,.lbe-ui-interface-tools button,.lbe-ui-footer-about>summary{min-height:44px;min-width:44px}}
@media(max-width:767px){
 .lbe-ui-navbar{padding-inline:8px!important}.lbe-ui-navbar>.container-fluid{gap:4px}.lbe-ui-home{width:126px}.lbe-ui-home .lbe-ui-brand-image{width:136px;height:76px}
 .lbe-ui-native-tools{background:#010933;border:1px solid #ffffff30;box-shadow:0 8px 20px #01093330;border-radius:6px;display:none!important;flex-direction:column;align-items:stretch;gap:2px;max-height:72dvh;overflow:auto;min-width:264px;padding:6px;position:absolute;right:0;top:68px;z-index:1080}
 .lbe-ui-native-tools.lbe-ui-tools-open{display:flex!important}.lbe-ui-nav-control,.lbe-ui-account{justify-content:flex-start}.lbe-ui-nav-control>.lbe-ui-nav-label{display:inline}.lbe-ui-account>span:not(.lbe-ui-avatar){max-width:none}.lbe-ui-help>summary{display:flex!important;justify-content:flex-start}.lbe-ui-help-panel{position:static;box-shadow:none;margin-top:3px}
 .lbe-ui-navigation .lbe-ui-account-menu{position:static!important;transform:none!important;min-width:0;max-width:100%;margin-top:4px}
 .lbe-ui-tools-trigger{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:44px;min-width:44px;background:transparent;color:#fff;border:1px solid #ffffff40;border-radius:6px;font:inherit;font-size:13px;padding:6px;margin-left:auto;cursor:pointer}.lbe-ui-tools-trigger .lbe-ui-icon{width:18px;height:18px}
 .lbe-ui-content{padding-inline:10px!important}.lbe-ui-footer{padding:16px;gap:12px}.lbe-ui-footer-message{flex:1;min-width:160px}.lbe-ui-footer-tools{width:100%;margin-left:0;justify-content:space-between;gap:12px}.lbe-ui-footer-about-panel{min-width:250px;max-width:calc(100vw - 32px)}
}
@media(prefers-reduced-motion:reduce){.lbe-ui-shell [data-lbe-ui-owned]{animation:none!important;transition:none!important}}

/* One native tree: it changes width, never becomes a copied navigation rail. */
.lbe-ui-sidebar-header{align-items:center;background:#010933!important;border:0!important;color:#f7f9ff!important;display:flex!important;gap:8px;min-height:64px!important;padding:0 10px 0 16px!important}
.lbe-ui-sidebar-title{color:#f7f9ff!important;font-size:15px;font-weight:600;letter-spacing:.01em;line-height:20px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lbe-ui-main-menu .lbe-ui-sidebar-header .btn-close{filter:invert(1) grayscale(1) brightness(3);opacity:.82}
.lbe-ui-pin{align-items:center;background:transparent!important;border:1px solid transparent!important;border-radius:6px;color:#fff!important;cursor:pointer;display:inline-flex;justify-content:center;min-height:36px;min-width:36px;padding:5px;touch-action:manipulation;margin-left:auto}
.lbe-ui-pin:hover{background:#ffffff16!important;border-color:#ffffff5c!important}.lbe-ui-pin:focus-visible{outline:2px solid #ffc6e3;outline-offset:-4px}
.lbe-ui-sidebar-help{background:#f7f8fb;border-top:1px solid #c7d2e2;display:block;flex:none;padding:8px}
.lbe-ui-sidebar-help .lbe-ui-help{border-top:0!important;margin-top:0!important;padding-top:0!important}

@media(min-width:1280px){
  .lbe-ui-main-menu{container-type:inline-size;--lbe-branch-inset:10px;--lbe-branch-axis:24px}
  html.lbe-ui-sidebar-pinned .lbe-ui-main-menu,html.lbe-ui-sidebar-collapsed .lbe-ui-main-menu{background:#f7f8fb!important;bottom:0;box-sizing:border-box!important;display:flex!important;flex-direction:column;height:100dvh!important;left:0;position:fixed!important;scrollbar-gutter:stable;top:0!important;transition:width 160ms cubic-bezier(.23,1,.32,1)!important;width:232px!important;z-index:1020}
  html.lbe-ui-sidebar-pinned .lbe-ui-main-menu{transform:none!important;width:232px!important;visibility:visible!important;box-shadow:none!important;overflow:visible!important}
  html.lbe-ui-sidebar-collapsed .lbe-ui-main-menu{transform:none!important;width:64px!important;visibility:visible!important;will-change:width}
  html.lbe-ui-sidebar-collapsed .lbe-ui-main-menu.lbe-ui-menu-preview{transform:none!important;width:232px!important;z-index:1035;box-shadow:8px 0 24px -12px rgb(15 30 55 / 24%),2px 0 6px -3px rgb(15 30 55 / 12%)!important;overflow:visible!important}
  html.lbe-ui-sidebar-collapsed .lbe-ui-main-menu:not(.lbe-ui-menu-preview){box-shadow:none!important;overflow:clip!important}
  html.lbe-ui-sidebar-instant .lbe-ui-main-menu{transition:none!important}
  html.lbe-ui-sidebar-pinned .lbe-ui-main-menu .btn-close,html.lbe-ui-sidebar-collapsed .lbe-ui-main-menu .btn-close{display:none!important}
  html.lbe-ui-sidebar .lbe-ui-menu-trigger{display:none!important}
  .lbe-ui-main-menu .offcanvas-body{background:#f7f8fb!important;flex:1;min-height:0;overflow-x:hidden!important;overflow-y:auto!important;padding:10px 8px!important;overscroll-behavior:contain;width:231px!important;max-width:none!important;box-sizing:border-box;align-self:flex-start}
  /* Keep the native tree at its expanded width, including wrapped child labels.
     The compact drawer clips it horizontally; no row disappears or changes height. */
  .lbe-ui-main-menu .offcanvas-body>.navbar-nav{width:215px!important;max-width:none!important;flex:none}
  html.lbe-ui-sidebar-collapsed body{--lbe-sidebar-offset:64px;padding-left:64px}html.lbe-ui-sidebar-collapsed .lbe-ui-navbar{left:64px!important;width:calc(100% - 64px)!important}
  .lbe-ui-main-menu .lbe-ui-menu-category{margin:8px 0 0;min-width:0;position:relative}.lbe-ui-main-menu .lbe-ui-menu-category:first-child{margin-top:0}
  .lbe-ui-main-menu .lbe-ui-menu-category-control{align-items:center!important;box-sizing:border-box!important;display:flex!important;font-size:15px!important;font-weight:400!important;height:44px!important;line-height:18px!important;min-height:44px!important;min-width:0!important;overflow:hidden;padding:4px 14px!important;position:relative}.lbe-ui-main-menu .lbe-ui-menu-category-control :is(.lbe-ui-menu-label,span:not(.badge)){line-height:18px!important;min-width:0;overflow:hidden}.lbe-ui-main-menu .lbe-ui-menu-label{display:-webkit-box!important;flex:1;-webkit-box-orient:vertical;-webkit-line-clamp:2}.lbe-ui-main-menu .dropdown-toggle{position:relative}.lbe-ui-main-menu .dropdown-toggle::after{margin-left:auto}
  .lbe-ui-main-menu .dropdown-menu{padding:2px 0 4px var(--lbe-branch-inset)!important}.lbe-ui-main-menu .dropdown-menu .dropdown-item{min-height:40px!important;font-weight:400!important}
  .lbe-ui-main-menu a[aria-current=page],.lbe-ui-main-menu .lbe-ui-menu-parent-current{box-shadow:none!important;font-weight:400!important}.lbe-ui-main-menu a[aria-current=page]{background:#dce7f8!important;color:#0a3474!important}.lbe-ui-main-menu .lbe-ui-menu-parent-current{background:#e9eff8!important;color:#0a3474!important}
  html.lbe-ui-sidebar-collapsed .lbe-ui-main-menu:not(.lbe-ui-menu-preview) .lbe-ui-sidebar-header{justify-content:center;padding-inline:8px!important}html.lbe-ui-sidebar-collapsed .lbe-ui-main-menu:not(.lbe-ui-menu-preview) .lbe-ui-sidebar-title{display:none!important}html.lbe-ui-sidebar-collapsed .lbe-ui-main-menu:not(.lbe-ui-menu-preview) .lbe-ui-pin{margin-inline:auto;min-height:44px;min-width:44px}
  html.lbe-ui-sidebar-collapsed .lbe-ui-main-menu:not(.lbe-ui-menu-preview) .lbe-ui-menu-category-control{justify-content:flex-start!important;min-width:48px!important;padding-inline:14px!important}
  html.lbe-ui-sidebar-collapsed .lbe-ui-main-menu:not(.lbe-ui-menu-preview) .lbe-ui-menu-category-control :is(.lbe-ui-menu-label,span:not(.badge),.badge){visibility:hidden!important}
  html.lbe-ui-sidebar-collapsed .lbe-ui-main-menu:not(.lbe-ui-menu-preview) .lbe-ui-menu-category-control :is(i,svg,img){display:block!important;font-size:20px!important;height:20px!important;line-height:20px!important;max-width:20px!important;object-fit:contain;width:20px!important}
  html.lbe-ui-sidebar-collapsed .lbe-ui-main-menu:not(.lbe-ui-menu-preview) .lbe-ui-menu-category-control::after{visibility:hidden!important}
  html.lbe-ui-sidebar-collapsed .lbe-ui-main-menu:not(.lbe-ui-menu-preview) .lbe-ui-menu-category-current::after{content:none!important}
  html.lbe-ui-sidebar-collapsed .lbe-ui-main-menu:not(.lbe-ui-menu-preview) .dropdown-menu{position:relative!important}
  html.lbe-ui-sidebar-collapsed .lbe-ui-main-menu:not(.lbe-ui-menu-preview) .dropdown-menu::before{background:#b7c6d9;content:'';left:var(--lbe-branch-axis);transform:translateX(-50%);pointer-events:none;position:absolute;top:2px;bottom:6px;width:1px}
  html.lbe-ui-sidebar-collapsed .lbe-ui-main-menu:not(.lbe-ui-menu-preview) .dropdown-menu a{color:transparent!important;text-shadow:none!important;position:relative}
  html.lbe-ui-sidebar-collapsed .lbe-ui-main-menu:not(.lbe-ui-menu-preview) .dropdown-menu a>*{opacity:0!important}
  /* The native list keeps its open width for label wrapping. Paint both
     selection backgrounds inside the compact rail with a complete right edge. */
  html.lbe-ui-sidebar-collapsed .lbe-ui-main-menu:not(.lbe-ui-menu-preview) .lbe-ui-menu-category-control {
    inline-size:calc(100cqi - 16px);min-width:0!important;
  }
  html.lbe-ui-sidebar-collapsed .lbe-ui-main-menu:not(.lbe-ui-menu-preview) .dropdown-menu a[aria-current=page] {
    clip-path:inset(0 max(0px,calc(100% - 100cqi + 16px + var(--lbe-branch-inset))) 0 0 round 5px);
  }
  html.lbe-ui-sidebar-collapsed .lbe-ui-main-menu:not(.lbe-ui-menu-preview) .dropdown-menu a::before{content:none!important}
  html.lbe-ui-sidebar-collapsed .lbe-ui-main-menu:not(.lbe-ui-menu-preview) .dropdown-menu a[aria-current=page]::after {
    content:'';position:absolute;pointer-events:none;
    left:calc(var(--lbe-branch-axis) - var(--lbe-branch-inset));top:50%;
    transform:translate(-50%,-50%);height:7px;width:7px;border:0;border-radius:50%;background:#1756b5
  }
  html.lbe-ui-sidebar-collapsed .lbe-ui-main-menu.lbe-ui-menu-preview .lbe-ui-menu-category-control{font-size:15px!important;justify-content:flex-start!important;padding-inline:14px!important}
  html.lbe-ui-sidebar-collapsed .lbe-ui-main-menu.lbe-ui-menu-preview .lbe-ui-menu-category-control .lbe-ui-menu-label{display:-webkit-box!important}html.lbe-ui-sidebar-collapsed .lbe-ui-main-menu.lbe-ui-menu-preview .lbe-ui-menu-category-control span:not(.lbe-ui-menu-label){display:inline!important}
  html.lbe-ui-sidebar-collapsed .lbe-ui-main-menu.lbe-ui-menu-preview .lbe-ui-menu-category-control::after{display:block!important}
  html.lbe-ui-sidebar-collapsed .lbe-ui-main-menu:not(.lbe-ui-menu-preview) .lbe-ui-sidebar-help{padding:8px}html.lbe-ui-sidebar-collapsed .lbe-ui-main-menu:not(.lbe-ui-menu-preview) [data-lbe-sidebar-help] .lbe-ui-help{border-top:0;margin-top:0;padding-top:0;position:relative}
  html.lbe-ui-sidebar-collapsed .lbe-ui-main-menu:not(.lbe-ui-menu-preview) [data-lbe-sidebar-help] .lbe-ui-help>summary{justify-content:center!important;min-width:44px!important;padding:10px!important;font-size:0!important}
  html.lbe-ui-sidebar-collapsed .lbe-ui-main-menu:not(.lbe-ui-menu-preview) [data-lbe-sidebar-help] .lbe-ui-help>summary .lbe-ui-icon{display:block!important;height:22px!important;width:22px!important}html.lbe-ui-sidebar-collapsed .lbe-ui-main-menu:not(.lbe-ui-menu-preview) [data-lbe-sidebar-help] .lbe-ui-help>summary .lbe-ui-icon:last-child{display:none!important}
  html.lbe-ui-sidebar-collapsed .lbe-ui-main-menu:not(.lbe-ui-menu-preview) [data-lbe-sidebar-help] .lbe-ui-help-panel{background:#fff!important;border:1px solid #aebed2!important;border-radius:8px!important;bottom:0!important;box-shadow:0 12px 32px #071b3826!important;left:calc(100% + 8px)!important;min-width:248px!important;padding:6px!important;position:absolute!important;width:auto!important}
  html.lbe-ui-sidebar-pinned [data-lbe-sidebar-help] .lbe-ui-help-panel{position:static!important}
}
@media(pointer:coarse){.lbe-ui-pin{min-height:44px;min-width:44px}}
@media(prefers-reduced-motion:reduce){html.lbe-ui-sidebar-pinned .lbe-ui-main-menu,html.lbe-ui-sidebar-collapsed .lbe-ui-main-menu{transition:none!important}}
/* The same native hierarchy is still used by Bootstrap's tablet/phone drawer. */
.lbe-ui-main-menu .lbe-ui-menu-category-control{font-size:15px!important;font-weight:400!important}.lbe-ui-main-menu .lbe-ui-menu-category{margin-top:8px}.lbe-ui-main-menu .dropdown-toggle{position:relative}.lbe-ui-main-menu .dropdown-toggle::after{margin-left:auto}.lbe-ui-main-menu a[aria-current=page],.lbe-ui-main-menu .lbe-ui-menu-parent-current{box-shadow:none!important;font-weight:400!important}

.lbe-ui-main-menu .lbe-ui-menu-category-control>:is(i,svg,img){flex:none;display:block;font-size:20px!important;line-height:20px!important;width:20px!important;height:20px!important;max-width:20px;object-fit:contain}

/* The destination is already chosen while Turbo is still showing the old page. */
.lbe-ui-main-menu[data-lbe-sidebar-navigating] a[data-lbe-sidebar-pending] {
  background: #dce7f8 !important;
  color: #0a3474 !important;
}
.lbe-ui-main-menu[data-lbe-sidebar-navigating] a[aria-current="page"]:not([data-lbe-sidebar-pending]) {
  background: transparent !important;
}
@media(min-width:1280px) {
  html.lbe-ui-sidebar-collapsed .lbe-ui-main-menu:not(.lbe-ui-menu-preview) .dropdown-menu a[data-lbe-sidebar-pending] {
    color:transparent!important;
  }
}

/* Commands have context and emphasis. Vendor status badges and values stay native. */
html.lbe-ui-actions .lbe-ui-action{--lbe-action-bg:#2458ad;--lbe-action-ink:#fff;--lbe-action-border:#2458ad;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:10px 20px;border:1px solid var(--lbe-action-border)!important;border-radius:8px;background:var(--lbe-action-bg)!important;color:var(--lbe-action-ink)!important;font:inherit;font-size:15px;font-weight:500;line-height:22px;text-decoration:none;vertical-align:middle;white-space:normal;touch-action:manipulation;box-shadow:0 1px 2px #102a491a}
html.lbe-ui-actions [data-lbe-action=confirm]{--lbe-action-bg:#176b48;--lbe-action-border:#176b48}
html.lbe-ui-actions [data-lbe-action=secondary]{--lbe-action-bg:#e8e7f6;--lbe-action-ink:#453277;--lbe-action-border:#b4a9d4;box-shadow:none}
html.lbe-ui-actions [data-lbe-action=supporting]{--lbe-action-bg:#dceff3;--lbe-action-ink:#075361;--lbe-action-border:#91bdc7;box-shadow:none}
html.lbe-ui-actions [data-lbe-action=back]{--lbe-action-bg:#fff;--lbe-action-ink:#234779;--lbe-action-border:#6883a7;box-shadow:none}
html.lbe-ui-actions [data-lbe-action=draft]{--lbe-action-bg:#fff0bb;--lbe-action-ink:#654700;--lbe-action-border:#bd963f;box-shadow:none}
html.lbe-ui-actions [data-lbe-action=danger]{--lbe-action-bg:#ac2940;--lbe-action-border:#ac2940;margin-inline-start:10px}
html.lbe-ui-actions .lbe-ui-action:hover:not(:disabled):not(.disabled):not([aria-disabled=true]){filter:brightness(.94);border-color:currentColor!important;box-shadow:0 2px 5px #102a4929}
html.lbe-ui-actions .lbe-ui-action:active:not(:disabled):not(.disabled):not([aria-disabled=true]){filter:brightness(.87);box-shadow:inset 0 1px 3px #102a4933}
html.lbe-ui-actions .lbe-ui-action:focus-visible{outline:3px solid #1456ba;outline-offset:3px}
html.lbe-ui-actions .lbe-ui-action[hidden]{display:none!important}
html.lbe-ui-actions .lbe-ui-action-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px;margin-block-start:16px!important;padding-block:14px 0;border-top:1px solid #bdcadd}
html.lbe-ui-actions .page-header-prestiscene .lbe-ui-action-bar{margin:0!important;padding:0;border:0;justify-content:flex-end}
html.lbe-ui-actions .lbe-ui-action[data-lbe-action-context=row]{min-height:36px;padding:6px 11px;border-radius:6px;font-size:14px;line-height:20px;box-shadow:none}
html.lbe-ui-actions [data-lbe-record-command]{min-height:38px;padding:8px 13px;white-space:nowrap}
html.lbe-ui-actions [data-lbe-record-command=primary]{--lbe-action-bg:#2458ad;--lbe-action-ink:#fff;--lbe-action-border:#2458ad}
html.lbe-ui-actions [data-lbe-record-command=secondary]{--lbe-action-bg:#e8e7f6;--lbe-action-ink:#453277;--lbe-action-border:#b4a9d4;box-shadow:none}
html.lbe-ui-actions [data-lbe-record-command=danger]{--lbe-action-bg:#ac2940;--lbe-action-ink:#fff;--lbe-action-border:#ac2940;margin-inline-start:10px}
html.lbe-ui-actions [data-lbe-record-row-action]{
  box-sizing:border-box;
  height:36px;
  min-height:36px;
  min-width:36px;
  padding:6px;
  width:36px;
  border-radius:7px;
  white-space:nowrap
}
html.lbe-ui-actions .lbe-ui-action[data-lbe-action-context=menu]{display:flex;width:100%;justify-content:flex-start;min-height:38px;padding:8px 12px;border:0!important;border-radius:4px;box-shadow:none;--lbe-action-bg:transparent;--lbe-action-ink:#243b59}
html.lbe-ui-actions [data-lbe-action-context=menu][data-lbe-action=danger]{--lbe-action-ink:#9c263c;margin:0}
html.lbe-ui-actions .lbe-ui-action-native-icon{position:relative;display:inline-block!important;flex:none;width:19px;height:19px;line-height:19px;font-size:19px;color:transparent!important;pointer-events:auto}
html.lbe-ui-actions [data-lbe-action-glyph]{width:19px;height:19px;flex:none;pointer-events:none}html.lbe-ui-actions .lbe-ui-action-native-icon>[data-lbe-action-glyph]{position:absolute;inset:0;color:var(--lbe-action-ink)}
html.lbe-ui-actions .lbe-ui-action:has(.fa-spinner,.fa-circle-notch,.spinner-border,.spinner-grow) [data-lbe-action-glyph]{display:none}
html.lbe-ui-actions .lbe-ui-action-native-icon:is(.fa-spinner,.fa-circle-notch){display:inline-block!important;color:var(--lbe-action-ink)!important}
html.lbe-ui-actions .modal .btn-close{min-width:36px;min-height:36px;background-position:center;flex:none}
@media(pointer:coarse){html.lbe-ui-actions .lbe-ui-action{min-height:48px;padding:12px 20px}html.lbe-ui-actions .lbe-ui-action[data-lbe-action-context=row]{min-height:44px;min-width:44px;padding:10px 12px}html.lbe-ui-actions [data-lbe-record-row-action]{height:44px;min-height:44px;min-width:44px;padding:10px;width:44px}html.lbe-ui-actions .lbe-ui-action[data-lbe-action-context=menu],html.lbe-ui-actions .modal .btn-close{min-height:44px;min-width:44px}}
@media(max-width:575px){html.lbe-ui-actions [data-lbe-record-row-action]{height:44px;min-height:44px;min-width:44px;padding:10px;width:44px}}
@media(max-width:575px){html.lbe-ui-actions .lbe-ui-action-bar{justify-content:flex-start}html.lbe-ui-actions .lbe-ui-action{max-width:100%}html.lbe-ui-actions [data-lbe-action=danger]{margin-inline-start:0}}

/* This state wins over every command tone, including dropdowns and record actions. */
html.lbe-ui-actions .lbe-ui-action:is(:disabled,.disabled,[aria-disabled=true]){
  --lbe-action-bg:#f1f2f3;
  --lbe-action-ink:#555e68;
  --lbe-action-border:#8d959e;
  border:1px dashed var(--lbe-action-border)!important;
  opacity:1;
  box-shadow:none;
  filter:none;
  cursor:not-allowed;
}
@media(forced-colors:active){
  html.lbe-ui-actions .lbe-ui-action:is(:disabled,.disabled,[aria-disabled=true]){
    border-color:GrayText!important;
    color:GrayText!important;
  }
}

/* Visual control and clickable area are distinct; no inherited empty label column. */
html.lbe-ui-controls .lbe-ui-choice-pair{display:flex;align-items:flex-start;gap:0;min-height:40px;margin:0;padding:8px 0;box-sizing:border-box}
html.lbe-ui-controls .lbe-ui-choice-input{float:none!important;inline-size:20px;block-size:20px;min-inline-size:20px;min-block-size:20px;flex:none;margin:2px 0 0!important}
html.lbe-ui-controls .lbe-ui-choice-label{display:block!important;min-width:0;min-height:24px!important;flex:1;line-height:24px;font-size:14px;font-weight:400;margin:0!important;padding:0 0 0 9px!important;position:relative;overflow-wrap:break-word}
html.lbe-ui-controls .form-switch .lbe-ui-choice-input{inline-size:48px;block-size:26px;min-inline-size:48px;min-block-size:26px;margin-top:0!important;background-size:contain}
html.lbe-ui-controls .lbe-ui-choice-empty-label{display:none!important}
html.lbe-ui-controls .lbe-ui-choice-row{margin-inline:0!important}
html.lbe-ui-controls .lbe-ui-choice-column{padding-inline:0!important;margin-inline:0!important;max-width:100%!important;width:100%!important;flex:1 1 0}
html.lbe-ui-controls .lbe-ui-choice-pair[hidden]{display:none!important}
html.lbe-ui-controls :is(.lbe-ui-choice-input,.lbe-ui-native-select,.lbe-ui-action-link):focus-visible{outline:3px solid #1456ba;outline-offset:3px}
html.lbe-ui-controls .lbe-ui-generated-label{display:block;color:#334863;font-size:14px;font-weight:400;line-height:20px;margin-bottom:7px}
html.lbe-ui-controls .lbe-ui-generated-label--sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
html.lbe-ui-actions .lbe-ui-control-toggle{min-height:40px;padding:7px 12px;border-radius:6px;font:inherit;font-size:14px;touch-action:manipulation}
html.lbe-ui-actions .lbe-ui-control-toggle:focus-visible{outline:3px solid #1456ba;outline-offset:3px}
html.lbe-ui-actions .lbe-ui-control-toggle:is(.active,[aria-pressed=true],[aria-checked=true]){border-color:#1456ba;box-shadow:0 0 0 1px #1456ba}
@media(pointer:coarse){html.lbe-ui-controls .lbe-ui-choice-pair{min-height:44px;padding-block:10px}html.lbe-ui-controls .lbe-ui-choice-label{font-size:15px}html.lbe-ui-actions .lbe-ui-control-toggle{min-height:44px;min-width:44px}}
/* Inline native radio choices stay inline; the hit area must not stack Oui/Non. */
html.lbe-ui-controls .form-check-inline.lbe-ui-choice-pair{display:inline-flex;margin-inline-end:14px}

html.lbe-ui-controls .lbe-ui-choice-label::before{content:"";position:absolute;inset:-8px 0}
@media(pointer:coarse){html.lbe-ui-controls .lbe-ui-choice-label::before{inset-block:-10px}}

/* Native search is anchored to its launcher; no input or controller is moved. */
@media(min-width:768px){
 .lbe-ui-search .lbe-ui-navbar>.container-fluid{display:grid!important;grid-template-columns:minmax(150px,1fr) minmax(220px,560px) minmax(150px,1fr);gap:16px}
 .lbe-ui-search .lbe-ui-home{grid-column:1;grid-row:1;justify-self:start}
 .lbe-ui-search .lbe-ui-native-tools{grid-column:3;grid-row:1;justify-self:end;margin-left:0;min-width:0}
 .lbe-ui-search-launcher{grid-column:2;grid-row:1}
 .lbe-ui-search-modal .modal-dialog{position:fixed!important;left:var(--lbe-search-left)!important;top:0!important;width:var(--lbe-search-width)!important;max-width:calc(100vw - 24px)!important;margin:0!important;transform:none!important;transform-origin:top center;transition:none!important}
 .lbe-ui-search-modal .modal-content{max-height:100dvh;border-radius:0 0 8px 8px;border:1px solid #aebed2;border-top:0;box-shadow:0 12px 32px #01093338;padding-top:24px}
 .lbe-ui-search-modal .global-search-results{overflow-y:auto;overscroll-behavior:contain;min-height:0}
 .lbe-ui-search-modal .global-search-bar{min-height:44px;padding:0 12px!important;gap:10px!important}
 .lbe-ui-search-modal .global-search-bar input{min-height:42px;font-size:16px;padding-block:8px!important}
 .lbe-ui-search-modal .global-search-types{padding-top:12px}
}
.lbe-ui-search-launcher{min-width:0;height:42px;display:flex;align-items:center;gap:10px;background:#152249;color:#e8eefb;border:1px solid #647299;border-radius:7px;padding:0 12px;text-align:left;font:inherit;font-size:15px;cursor:text;transition:background-color 100ms,border-color 100ms}
.lbe-ui-search-launcher:hover{background:#202f57;border-color:#beccec}
.lbe-ui-search-launcher:focus-visible{outline:3px solid #a7c9ff;outline-offset:3px}
.lbe-ui-search-launcher span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.lbe-ui-search-launcher kbd{margin-left:auto;background:#29385e;border:1px solid #697798;border-radius:3px;padding:0 5px;color:#e8eefb;font:inherit;font-size:12px}
.lbe-ui-search-launcher .lbe-ui-icon{width:20px;height:20px}
.lbe-ui-search-modal.fade{transition:none!important}
.lbe-ui-search-modal .global-search-type:not(:disabled):not([aria-disabled=true]){opacity:1}
.lbe-ui-search-modal .global-search-type:focus-visible{outline:3px solid #1456ba;outline-offset:3px}
@media(min-width:1920px){.lbe-ui-search .lbe-ui-navbar>.container-fluid{grid-template-columns:minmax(200px,1fr) minmax(280px,640px) minmax(200px,1fr)}}
@media(max-width:1599px){.lbe-ui-search .lbe-ui-account>span:not(.lbe-ui-avatar){display:none}}
@media(min-width:768px) and (max-width:1279px){.lbe-ui-search .lbe-ui-menu-trigger{position:absolute;left:8px}.lbe-ui-search .lbe-ui-home{margin-left:40px;width:112px}.lbe-ui-search .lbe-ui-home .lbe-ui-brand-image{width:120px;height:67px}.lbe-ui-search .lbe-ui-nav-label{display:none!important}.lbe-ui-search .lbe-ui-native-tools{gap:2px}}
@media(max-width:767px){.lbe-ui-search-launcher{width:44px;min-width:44px;height:44px;justify-content:center;padding:8px;margin-left:auto}.lbe-ui-search-launcher span,.lbe-ui-search-launcher kbd{display:none}.lbe-ui-search .lbe-ui-tools-trigger{margin-left:0}.lbe-ui-search .lbe-ui-home{width:112px}.lbe-ui-search .lbe-ui-search-modal .modal-dialog{position:fixed!important;left:12px!important;top:0!important;margin:0!important;max-width:calc(100vw - 24px);width:calc(100vw - 24px)!important;transform:none!important}.lbe-ui-search-modal .modal-content{max-height:100dvh;overflow-y:auto;padding-top:20px}.lbe-ui-search-modal .global-search-bar input{font-size:16px;min-height:44px}}
/* Sidebar help has a stable place outside the menu's scrolling destinations. */
[data-lbe-sidebar-help] .lbe-ui-help{width:100%;border-top:1px solid #c5cedb;margin-top:8px;padding-top:6px}
[data-lbe-sidebar-help] .lbe-ui-help>summary{color:#243b5c!important;justify-content:flex-start;padding:10px!important;font-size:15px!important;min-height:44px}
[data-lbe-sidebar-help] .lbe-ui-help-panel{position:static;box-shadow:none;border:0;min-width:0;width:100%;padding:2px;background:transparent}
[data-lbe-sidebar-help] .lbe-ui-help-item{font-size:14px;line-height:20px;min-height:42px;padding:9px 8px;white-space:normal}
.lbe-ui-help-item[hidden]{display:none!important}
.lbe-ui-tutorials .lbe-ui-icon:nth-last-child(-n+2){width:16px;height:16px;margin-left:auto}
.lbe-ui-tutorials .lbe-ui-icon:last-child{width:14px;height:14px;margin-left:0}
.lbe-ui-classic-button{display:inline-flex;align-items:center;gap:8px;text-decoration:none}
.lbe-ui-classic-button .lbe-ui-icon{width:17px;height:17px}
.lbe-ui-footer-about-panel .lbe-ui-interface-tools{display:block;margin:12px 0 0;padding-top:10px;border-top:1px solid #c2cede;font-size:13px}
.lbe-ui-footer-about-panel .lbe-ui-interface-tools button{color:#344b68;font-size:13px}
.lbe-ui-footer-about-panel .lbe-ui-interface-tools small{font-size:12px}
@media(prefers-reduced-motion:reduce){.lbe-ui-search-launcher{transition:none}}
/* Bootstrap utility !important rules must not resurrect hidden source tools. */
html.lbe-ui-navigation .lbe-ui-native-tools .lbe-ui-source-tool{display:none!important}
@media(max-width:1599px){html.lbe-ui-search .lbe-ui-account>span:not(.lbe-ui-avatar){display:none!important}}
/* A real multi-establishment selector takes precedence over symmetric spacing. */
@media(min-width:768px){html.lbe-ui-search .lbe-ui-navbar:has(.layout-select-prestiscene:not(.lbe-ui-entity-source))>.container-fluid{display:flex!important}html.lbe-ui-search .lbe-ui-navbar:has(.layout-select-prestiscene:not(.lbe-ui-entity-source)) .lbe-ui-search-launcher{flex:1;max-width:560px}html.lbe-ui-search .lbe-ui-navbar:has(.layout-select-prestiscene:not(.lbe-ui-entity-source)) .lbe-ui-native-tools{margin-left:auto}html.lbe-ui-search .layout-select-prestiscene:not(.lbe-ui-entity-source){max-width:180px;min-width:0}}
/* Native selected scope is not a disabled button. Keep the native state classes. */
html.lbe-ui-search .lbe-ui-search-modal .global-search-types{gap:7px!important;padding:12px!important}
html.lbe-ui-search .lbe-ui-search-modal .global-search-type{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:34px;padding:6px 11px;border:1px solid #bcc9dc!important;border-radius:6px!important;background:#f3f6fa!important;color:#4b5e79!important;font:inherit;font-size:14px;line-height:20px;font-weight:400;cursor:pointer;text-decoration:none!important;box-shadow:none;opacity:1!important}
html.lbe-ui-search .lbe-ui-search-modal .global-search-type[aria-pressed=true]{background:#e4edff!important;color:#183f82!important;border-color:#829fd0!important;font-weight:500}
html.lbe-ui-search .lbe-ui-search-modal .global-search-type[aria-pressed=false]{background:#f7f9fc!important;color:#526179!important;border-color:#c6d0df!important;border-style:dashed!important}
html.lbe-ui-search .lbe-ui-search-modal .global-search-type:hover{filter:brightness(.96)}
html.lbe-ui-search .lbe-ui-search-modal .global-search-type:focus-visible{outline:3px solid #1456ba;outline-offset:2px}
html.lbe-ui-search .lbe-ui-search-modal .global-search-bar:focus-within{outline:2px solid #1456ba;outline-offset:-2px;border-radius:7px}
html.lbe-ui-search .lbe-ui-search-modal .global-search-bar input:focus{box-shadow:none!important;outline:0!important}
.lbe-ui-search-old-guidance{display:none!important}
.lbe-ui-search-modal .global-search-results:has(>.lbe-ui-search-old-guidance:only-child){display:none}
@media(pointer:coarse){html.lbe-ui-search .lbe-ui-search-modal .global-search-type{min-height:44px;padding:10px 12px}}

.lbe-ui-favorites-host {
  --favorite-icon-column: 45px;
  --favorite-icon-size: 24px;
  box-sizing: border-box;
  margin: 4px 0 12px;
  padding: 0;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 9px;
}
.lbe-ui-favorites-host:has(.lbe-ui-favorite-row) {
  margin: 4px 0 24px;
  padding-block: 5px;
  background: #e9f0fa;
  border-color: #cad7e9;
}
.lbe-ui-favorites-zone {
  min-inline-size: 0;
  position: relative;
}
.lbe-ui-favorites-empty {
  display: grid;
  grid-template-columns: var(--favorite-icon-column) minmax(0, 1fr);
  align-items: center;
  overflow: clip;
  color: #52647c;
  font-size: 12px;
  font-weight: 400;
  line-height: 20px;
  margin: 0;
  min-height: 32px;
  white-space: nowrap;
}
.lbe-ui-favorites-empty .lbe-ui-icon {
  justify-self: center;
}
.lbe-ui-favorites-empty .lbe-ui-icon {
  height: 14px;
  width: 14px;
}
.lbe-ui-favorites-empty[hidden] {
  display: none !important;
}
.lbe-ui-favorites-list {
  display: grid;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.lbe-ui-favorite-row {
  position: relative;
  min-inline-size: 0;
}
.lbe-ui-favorites-host a.lbe-ui-favorite-link {
  box-sizing: border-box;
  display: grid;
  align-items: center;
  grid-template-columns: var(--favorite-icon-column) minmax(0, 1fr);
  gap: 0;
  min-height: 46px;
  padding: 7px 0;
  width: 100%;
  margin: 0;
  border-radius: 7px;
  color: inherit;
  text-decoration: none;
  touch-action: manipulation;
}
.lbe-ui-favorites-host .lbe-ui-favorite-link:hover {
  background: #dce7f7 !important;
  color: #14213a;
}
.lbe-ui-favorite-link:focus-visible,
.lbe-ui-favorite-remove:focus-visible,
.lbe-ui-favorite-context-action:focus-visible {
  outline: 3px solid #1b64c1;
  outline-offset: -3px;
}
.lbe-ui-favorite-label-slot {
  display: block;
  min-width: 0;
  overflow: clip;
}
.lbe-ui-favorite-label {
  display: block;
  padding-inline-end: 6px;
  overflow-wrap: anywhere;
  line-height: 21px;
}
.lbe-ui-favorites-host .lbe-ui-favorite-link > .lbe-ui-favorite-icon {
  box-sizing: border-box;
  display: block;
  justify-self: center;
  flex: none;
  text-align: center;
  width: var(--favorite-icon-size) !important;
  height: var(--favorite-icon-size) !important;
  font-size: var(--favorite-icon-size) !important;
  line-height: var(--favorite-icon-size) !important;
  margin: 0;
  object-fit: contain;
  color: #213e60;
}
.lbe-ui-favorite-remove {
  align-items: center;
  background: #f4f7fb;
  border: 0;
  border-radius: 6px;
  color: #4c6077;
  cursor: pointer;
  display: inline-flex;
  height: 28px;
  justify-content: center;
  opacity: 0;
  padding: 4px;
  position: absolute;
  right: 4px;
  bottom: 5px;
  pointer-events: none;
  width: 28px;
}
.lbe-ui-favorite-row:hover .lbe-ui-favorite-remove,
.lbe-ui-favorite-row:focus-within .lbe-ui-favorite-remove {
  opacity: 1;
}
.lbe-ui-favorite-label::after {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
}
.lbe-ui-favorite-row:hover .lbe-ui-favorite-remove,
.lbe-ui-favorite-row:focus-within .lbe-ui-favorite-remove {
  pointer-events: auto;
}
.lbe-ui-favorite-remove:hover {
  background: #e7edf5;
  color: #14213a;
}
.lbe-ui-favorite-remove:active {
  transform: scale(0.97);
}
.lbe-ui-favorite-context {
  background: #fff;
  border: 1px solid #b9c8db;
  border-radius: 8px;
  box-shadow: 0 10px 26px rgb(11 32 61 / 18%);
  display: grid;
  gap: 2px;
  max-width: calc(100vw - 16px);
  padding: 5px;
  position: fixed;
  width: 196px;
  z-index: 1080;
}
.lbe-ui-favorite-context[hidden] {
  display: none !important;
}
.lbe-ui-favorite-context-action {
  background: transparent;
  border: 0;
  border-radius: 5px;
  color: #17243a;
  cursor: pointer;
  font: 500 14px/20px inherit;
  min-height: 36px;
  padding: 8px 10px;
  text-align: left;
}
.lbe-ui-favorite-context-action:hover {
  background: #e9f0fa;
  color: #08295e;
}
.lbe-ui-favorites-dropping {
  border: 1px dashed #7e99bb;
  border-radius: 8px;
  outline: 1px dashed #7e99bb;
  outline-offset: -2px;
}
.lbe-ui-favorite-row[data-lbe-drop-before="true"]::before {
  background: #1b64c1;
  border-radius: 1px;
  content: "";
  height: 2px;
  left: 4px;
  position: absolute;
  right: 4px;
  top: -2px;
}
.lbe-ui-favorites-host[data-lbe-drop-after="true"]
  .lbe-ui-favorites-list::after {
  background: #1b64c1;
  border-radius: 1px;
  content: "";
  display: block;
  height: 2px;
  margin: 2px 4px 0;
}
.lbe-ui-favorite-drag-ghost {
  align-items: center;
  background: #fff;
  border: 1px solid #aebdd0;
  border-radius: 7px;
  box-shadow: 0 5px 16px rgb(10 31 60 / 18%);
  color: #17243a;
  display: flex;
  font:
    500 13px/18px system-ui,
    sans-serif;
  gap: 7px;
  left: -10000px;
  padding: 6px 8px;
  position: fixed;
  top: -10000px;
}
.lbe-ui-favorite-drag-ghost .lbe-ui-favorite-icon {
  height: 16px;
  width: 16px;
}
@media (pointer: coarse) {
  .lbe-ui-favorites-empty {
    min-height: 36px;
  }
  .lbe-ui-favorite-row,
  .lbe-ui-favorite-link {
    min-height: 44px;
  }
  .lbe-ui-favorite-remove {
    display: none;
  }
  .lbe-ui-favorite-context-action {
    min-height: 44px;
  }
  .lbe-ui-favorites-host .lbe-ui-favorite-link > .lbe-ui-favorite-icon {
    box-sizing: content-box;
    padding: 10px;
  }
}
/* The outline and actual click targets follow the moving edge of the drawer.
   Only the label has an expanded typesetting width, inside its own clipped slot. */
@media (min-width: 1280px) {
  .lbe-ui-main-menu .lbe-ui-favorites-host {
    inline-size: min(100%, calc(100cqi - 16px));
  }
  .lbe-ui-main-menu .lbe-ui-favorite-label {
    box-sizing: border-box;
    inline-size: calc(215px - 2px - var(--favorite-icon-column));
  }
  html.lbe-ui-sidebar-collapsed
    .lbe-ui-main-menu:not(.lbe-ui-menu-preview)
    :is(
      .lbe-ui-favorite-label-slot,
      .lbe-ui-favorites-empty span,
      .lbe-ui-favorite-remove
    ) {
    opacity: 0;
    pointer-events: none;
  }
  html.lbe-ui-sidebar-collapsed
    .lbe-ui-main-menu:not(.lbe-ui-menu-preview)
    .lbe-ui-favorite-remove {
    visibility: hidden;
  }
}
@media (prefers-reduced-motion: reduce) {
  .lbe-ui-favorite-remove {
    transform: none;
  }
}

/* One owner for page geometry. The complete surface and heading share a width. */
html.lbe-ui-layout :is(.lbe-ui-page-surface,.lbe-ui-page-heading){box-sizing:border-box;min-width:0;width:100%;margin-inline:auto!important;align-self:center}
html.lbe-ui-layout [data-lbe-layout=compact]{max-width:900px}
html.lbe-ui-layout [data-lbe-layout=form]{max-width:1280px}
html.lbe-ui-layout [data-lbe-layout=workbench]{max-width:1440px}
html.lbe-ui-layout [data-lbe-layout=list]{max-width:none}
html.lbe-ui-layout .lbe-ui-page-surface>.card,html.lbe-ui-layout .lbe-ui-template-form-frame,html.lbe-ui-layout .lbe-ui-template-short-frame{width:100%;max-width:none;margin-inline:0}
html.lbe-ui-layout .lbe-ui-template-editor{width:100%;max-width:none!important;margin-inline:0}
html.lbe-ui-layout .lbe-ui-page-heading{padding-inline:24px!important}
html.lbe-ui-layout .lbe-ui-page-surface{padding-block:16px!important}
html.lbe-ui-layout .lbe-ui-template-field-row>:is(label,.form-label,.col-form-label){font-size:14px;font-weight:400;line-height:1.45}
html.lbe-ui-layout .lbe-ui-template-field-row>:is(label,.form-label,.col-form-label)+div{min-width:0}
html.lbe-ui-layout .lbe-ui-template-crm .lbe-ui-template-field-row>label,html.lbe-ui-layout .lbe-ui-template-product-grid>.lbe-ui-template-field-row>label{font-size:14px;font-weight:400;margin-bottom:7px}
html.lbe-ui-layout .lbe-ui-customer-row>:is(label,.col-form-label){font-weight:400;font-size:14px;line-height:1.45}
html.lbe-ui-layout .lbe-ui-template-crm .card-header{font-weight:500}
@media(pointer:coarse){html.lbe-ui-layout .lbe-ui-template-field-row>:is(label,.form-label,.col-form-label),html.lbe-ui-layout .lbe-ui-customer-row>:is(label,.col-form-label){font-size:15px}}
@media(max-width:767px){html.lbe-ui-layout .lbe-ui-page-heading{padding-inline:12px!important}html.lbe-ui-layout .lbe-ui-page-surface{padding-inline:10px!important}}

html.lbe-ui-layout .lbe-ui-form-flow{width:100%!important;max-width:none!important;margin-inline:0!important}

html.lbe-ui-layout .lbe-ui-page-frame{width:100%!important;max-width:none!important;margin-inline:0!important}
html.lbe-ui-layout .lbe-ui-customer-form .lbe-ui-customer-row>:is(label,.col-form-label){font-size:14px;font-weight:400;line-height:1.45;margin-bottom:7px}
html.lbe-ui-layout.lbe-ui-settings .lbe-settings-field-row .settings-row-label>.settings-row-title{font-size:14px;font-weight:400}
.lbe-ui-main-menu .lbe-ui-menu-category-control .lbe-ui-menu-label{white-space:normal!important;min-width:0;flex:1;line-height:18px}
@media(pointer:coarse){html.lbe-ui-layout .lbe-ui-customer-form .lbe-ui-customer-row>:is(label,.col-form-label),html.lbe-ui-layout.lbe-ui-settings .lbe-settings-field-row .settings-row-label>.settings-row-title{font-size:15px}}

/* List actions, results and pagination share the native GET/POST navigation. */
.lbe-result-list .lbe-result-commands {
  display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start;
  gap:6px 8px;border-block-start:1px solid #d3dce8;padding-block:10px 0;
}
.lbe-result-list .lbe-result-commands > .btn {margin:0!important}
.lbe-result-list .lbe-result-pages {
  display:flex;flex-wrap:wrap;align-items:center;gap:2px 4px;
  margin:0;min-width:0;padding-block:3px;
}
.lbe-result-pages>a {
  box-sizing:border-box;display:inline-grid;place-items:center;min-width:34px;min-height:34px;
  padding:3px 7px;border-radius:5px;color:#21486f;text-decoration:none;
  line-height:1.25;font-variant-numeric:tabular-nums;
}
.lbe-result-pages>a.active {background:#deebfa;color:#143958;font-weight:600}
.lbe-result-pages>a:hover {background:#e9f0f9}
.lbe-result-pages>a:focus-visible,.lbe-result-scroll:focus-visible {outline:2px solid #1456ba;outline-offset:-2px}
.lbe-result-scroll {max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}
.lbe-result-list td.lbe-result-row-tools {white-space:nowrap;width:1%;vertical-align:middle}
html.lbe-ui-actions .lbe-result-list td.lbe-result-row-tools .lbe-ui-action {
  box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;
  width:36px;min-width:36px;height:36px;min-height:36px;margin:2px 1px;
  padding:0;vertical-align:middle;
}
@media(pointer:coarse) {
  .lbe-result-pages>a {min-height:44px;min-width:44px}
  html.lbe-ui-actions .lbe-result-list td.lbe-result-row-tools .lbe-ui-action {width:44px;height:44px;min-height:44px;min-width:44px}
}
@media (min-width:680px) and (max-width:991px) {
  .lbe-result-list .lbe-result-filter>.row.align-items-center>.col-lg-4 {
    flex:0 0 50%;max-width:50%;width:50%;
  }
}
@media (min-width:1900px) {
  .lbe-result-list .lbe-result-filter>.row.align-items-center>.col-lg-4 {
    flex:0 0 25%;max-width:25%;width:25%;
  }
}

.lbe-result-list .lbe-result-commands > .btn {width:auto!important;flex:0 0 auto}
html.lbe-ui-actions .lbe-result-commands>[data-action*="core--submit-form#submit"][data-lbe-action=secondary] {
  --lbe-action-bg:#f6f8fb;--lbe-action-border:#adbed3;--lbe-action-ink:#234565;
}
.lbe-result-pages a[data-lbe-empty-search] {color:#174e88;text-decoration:underline;text-underline-offset:3px;width:auto}
.lbe-result-pages [data-lbe-empty-search][hidden] {display:none!important}

/* Contact record. Keep the supplier's buttons, confirmation hosts and document links. */
.lbe-record-page-heading .title-page-prestiscene {
  display: none;
}
html.lbe-ui-layout .lbe-record-page-heading {
  align-items: center;
  display: flex !important;
  min-height: 58px;
  padding-block: 8px !important;
  position: relative !important;
}

html.lbe-ui-layout .lbe-record-page-heading > .page-header-center-prestiscene {
  flex: 1;
  inset: auto !important;
  min-width: 0;
  position: static !important;
  text-align: start !important;
  transform: none !important;
}
[data-lbe-record] {
  color: #17263b;
  min-width: 0;
}
.lbe-record-header {
  background: #fff !important;
  color: #17263b !important;
  border: 0 !important;
  padding: 0 !important;
}
.lbe-record-header + .card-body {
  padding-block-start: 0;
}
.lbe-record-header .show-prestiscene {
  display: grid !important;
  grid-template-columns: minmax(12rem, 1fr) auto;
  grid-template-areas: "name actions" "contact actions";
  align-items: center;
  gap: 4px 24px;
  background: #fff !important;
  color: #17263b !important;
  padding: 22px 22px 18px !important;
  border: 0 !important;
}
.lbe-record-header .show-prestiscene > .title {
  grid-area: name;
  font-size: clamp(1.35rem, 2vw, 1.8rem) !important;
  line-height: 1.18;
  text-transform: none;
  letter-spacing: -0.02em;
  font-weight: 650 !important;
  color: #132641 !important;
  overflow-wrap: anywhere;
  margin: 0;
  padding: 0;
  width: auto;
  justify-self: start;
}
.lbe-record-header .show-prestiscene > .informations {
  grid-area: contact;
  display: flex !important;
  align-items: center;
  justify-content: flex-start !important;
  flex-wrap: wrap;
  gap: 5px 18px;
  width: auto !important;
  margin: 0;
  min-width: 0;
}
.lbe-record-header .informations > span {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  max-width: 100%;
  flex: none !important;
  width: auto !important;
  color: #425975 !important;
}
.lbe-record-header .informations a {
  color: #214d83 !important;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}
.lbe-record-header .informations .lbe-record-empty-contact {
  display: none !important;
}
.lbe-record-header .actions {
  grid-area: actions;
  display: flex !important;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  width: auto !important;
}
.lbe-record-header .actions .btn {
  white-space: normal;
  height: auto !important;
  width: auto !important;
  gap: 7px;
}
.lbe-record-header .actions span[data-controller] {
  display: inline-flex;
}
[data-lbe-record] .lbe-record-section {
  background: #fff !important;
  border: 1px solid #dbe3ee;
  border-radius: 10px;
  padding: 14px 16px !important;
  color: #17263b;
  box-shadow: none;
}
[data-lbe-record] .lbe-record-section > .title {
  display: flex;
  align-items: center;
  gap: 6px 8px;
  flex-wrap: wrap;
  min-height: 36px;
  margin: 0 0 4px;
  color: #1b314d !important;
  font-size: 17px !important;
  line-height: 1.35;
  font-weight: 600 !important;
  text-transform: none !important;
}
[data-lbe-record] .lbe-record-section > .title .badge-circle {
  width: 20px !important;
  height: 22px !important;
  display: inline-grid;
  place-items: center;
  background: transparent !important;
  color: #546e8b !important;
  margin: 0 !important;
  border-radius: 0;
}
[data-lbe-record] .lbe-record-section > .title .badge-circle i {
  color: inherit !important;
  font-size: 16px !important;
}
[data-lbe-record] .lbe-record-section > .title > .ms-auto,
.lbe-record-row-tools {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  white-space: normal !important;
}
[data-lbe-record] .lbe-record-section > .title > .ms-auto {
  border: 0 !important;
  padding: 0 !important;
  margin-block: 0 !important;
}
[data-lbe-record] .lbe-record-section > .d-flex {
  min-width: 0;
  gap: 6px 12px;
  flex-wrap: wrap;
  padding-block: 6px !important;
}
[data-lbe-record] .lbe-record-section > .d-flex.border-bottom {
  border-color: #e7edf4 !important;
}
[data-lbe-record] .lbe-record-section > .d-flex.border-bottom:last-child {
  border-bottom: 0 !important;
}
[data-lbe-record] .lbe-record-section > .d-flex.border-bottom > span:first-child {
  color: var(--lbe-muted, #40536e);
}
[data-lbe-record] .lbe-record-section > .d-flex > * {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}
[data-lbe-record] .lbe-record-row-tools {
  flex: 0 0 auto;
  margin-inline-start: auto !important;
}
[data-lbe-record] .lbe-record-section .lbe-record-row-tools .btn {
  margin: 0 !important;
  box-sizing: border-box;
  flex: 0 0 auto;
}
[data-lbe-record] .lbe-record-section .title .btn {
  margin: 0 !important;
}
@media (max-width: 1199px) {
  .lbe-record-header .show-prestiscene {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "name" "contact" "actions";
    gap: 8px;
    padding: 16px !important;
  }
  .lbe-record-header .actions {
    justify-content: flex-start;
  }
}
@media (max-width: 575px) {
  html.lbe-ui-layout .lbe-record-page-heading {
    min-height: 56px;
    padding-block: 8px !important;
    padding-inline: 16px !important;
  }

  html.lbe-ui-layout .lbe-record-page-heading > .page-header-center-prestiscene {
    max-width: calc(100% - 116px);
  }

  html.lbe-ui-layout .lbe-record-page-heading .page-header-actions-prestiscene {
    inset: 8px 16px auto auto !important;
    position: absolute !important;
    width: auto !important;
  }

  [data-lbe-record] .lbe-record-section {
    padding: 12px !important;
  }
  .lbe-record-header .actions {
    gap: 6px;
  }
  .lbe-record-header .actions .btn {
    font-size: 14px;
    padding-inline: 10px;
  }

  html.lbe-ui-actions .lbe-record-page-heading .lbe-record-list-add {
    font-size: 15px;
    min-height: 40px;
    padding-inline: 13px;
  }

  html.lbe-ui-actions .lbe-record-page-heading .lbe-record-list-add [data-lbe-ui-owned="record-caption"] {
    display: none;
  }
}
@media (min-width: 992px) {
  [data-lbe-record] .lbe-record-columns {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 16px;
    margin: 0;
  }
  [data-lbe-record] .lbe-record-columns > :is(.col-lg-4, .col-lg-8) {
    width: auto;
    padding: 0;
    min-width: 0;
  }
}
[data-lbe-record] .lbe-record-section > .d-flex {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
[data-lbe-record] .lbe-record-section + .lbe-record-section {
  margin-top: 12px;
}
[data-lbe-record] > .card-body {
  background: #f7f9fc;
}
[data-lbe-record] .lbe-record-section > .title > .ms-auto {
  margin-inline-start: auto;
}
[data-lbe-record-tabs] {
  list-style: none;
  padding-inline-start: 0;
  margin-block-start: 0;
}
html.lbe-ui-actions [data-lbe-record] [data-lbe-record-command="secondary"] {
  --lbe-action-bg: #f2f5fa;
  --lbe-action-ink: #263e61;
  --lbe-action-border: #bac7d9;
}
html.lbe-ui-actions
  [data-lbe-record-row-action][data-lbe-record-command="danger"] {
  --lbe-action-bg: #fff5f5;
  --lbe-action-ink: #982c40;
  --lbe-action-border: #dcaeb6;
  margin: 0;
}
html.lbe-ui-actions .lbe-record-page-heading .lbe-record-list-add {
  --lbe-action-bg: #fff;
  --lbe-action-ink: #254367;
  --lbe-action-border: #a5b4c9;
  gap: 0.27em;
  box-shadow: none;
}
html.lbe-ui-actions .lbe-record-header [data-lbe-record-command="danger"] {
  --lbe-action-bg: #fff;
  --lbe-action-ink: #93273a;
  --lbe-action-border: #dbaab1;
  box-shadow: none;
}

/* Inline detail tools are separate from write actions at the section and record levels. */
html.lbe-ui-record .btn[data-lbe-record-inline-action] {
  --lbe-record-target: 36px;
  display: inline-flex !important;
  box-sizing: border-box;
  inline-size: var(--lbe-record-target) !important;
  min-inline-size: var(--lbe-record-target) !important;
  min-block-size: var(--lbe-record-target) !important;
  block-size: var(--lbe-record-target) !important;
  padding: 0 !important;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  vertical-align: middle;
  border-radius: 7px;
  margin-inline-start: 5px !important;
}
html.lbe-ui-record .btn[data-lbe-record-inline-action]:not(:is(:disabled,.disabled,[aria-disabled=true])) {
  --lbe-action-bg: #eef3fa;
  --lbe-action-ink: #213d60;
  --lbe-action-border: #c7d4e4;
}
html.lbe-ui-record .btn[data-lbe-record-inline-action]:focus-visible {
  outline: 2px solid var(--lbe-focus, #1456ba);
  outline-offset: 2px;
}
html.lbe-ui-record .lbe-reservation-client-card {
  background: #fff;
  border: 1px solid #dbe3ee;
  border-radius: 10px;
  min-width: 0;
  padding: 12px 14px;
}
html.lbe-ui-record .lbe-reservation-client-row {
  min-width: 0;
  margin-block: 3px;
  overflow-wrap: anywhere;
}
html.lbe-ui-record .lbe-reservation-record-heading {
  display: flex !important;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 12px 16px;
  padding: 16px;
}
html.lbe-ui-record .lbe-reservation-record-heading > .title {
  flex: 1 1 15rem;
  min-width: 0;
  width: auto;
  padding: 0 !important;
  overflow-wrap: anywhere;
}
html.lbe-ui-record .lbe-reservation-record-heading > .informations {
  flex: 1 1 27rem;
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
  width: auto;
  padding: 0 !important;
}
html.lbe-ui-record .lbe-reservation-record-heading > .informations > .block-info {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}
html.lbe-ui-record .lbe-reservation-record-heading > .actions {
  flex: 1 1 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
  width: 100%;
  padding: 10px 0 0 !important;
  border: 0;
  border-top: 1px solid rgba(255,255,255,.24);
}
@media (pointer: coarse), (max-width: 575px) {
  html.lbe-ui-record .btn[data-lbe-record-inline-action] {
    --lbe-record-target: 44px;
  }
}
@media (max-width: 950px) {
  html.lbe-ui-record .lbe-reservation-record-heading > :is(.informations,.actions) {
    justify-content: flex-start;
  }
}

/* Create/edit forms keep their three native groups. Contact details lead the right-hand column. */
html.lbe-ui-templates form.lbe-ui-template-crm > [data-lbe-template-crm-part] {
  background: #fff;
  border-color: #dbe3ee;
  border-radius: 10px;
}
html.lbe-ui-templates form.lbe-ui-template-crm > [data-lbe-template-crm-part] > .card-header {
  background: #fff !important;
  border-color: #e7edf4;
  border-radius: 9px 9px 0 0;
  padding: 12px 14px !important;
  font-size: 17px;
  font-weight: 650;
}
html.lbe-ui-templates form.lbe-ui-template-crm > [data-lbe-template-crm-part="contacts"] > .card-header {
  background: #edf4fd !important;
  border-color: #cfdaea;
}
html.lbe-ui-templates form.lbe-ui-template-crm > [data-lbe-template-crm-part] > .card-body {
  background: #fff !important;
  border-radius: 0 0 9px 9px;
  padding: 14px !important;
}

/* Size document actions against the space actually available beside the sidebar. */
.lbe-result-scroll:has(:is([data-lbe-quote-list],[data-lbe-ticket-list])) {
  container: document-list / inline-size;
}
.lbe-result-scroll :is([data-lbe-quote-list],[data-lbe-ticket-list]) thead th {
  background: #e6edf6 !important;
  color: #263c55 !important;
  border-bottom: 1px solid #a3b4c9;
  vertical-align: middle;
}
.lbe-result-scroll :is([data-lbe-quote-list],[data-lbe-ticket-list]) thead th a { color: inherit !important; }
.lbe-result-scroll .lbe-quote-label {
  min-width: 16rem;
  max-width: 35rem;
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: start;
}
.lbe-result-scroll .lbe-quote-code {
  position: sticky;
  inset-inline-start: 0;
  z-index: 2;
  background: #f7f9fc !important;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  box-shadow: inset -1px 0 #c5d0dd;
}
.lbe-result-list td.lbe-document-list-actions { width: 1%; white-space: nowrap; }
html.lbe-ui-actions .lbe-result-list td.lbe-document-list-actions :is(a.btn,button.btn) {
  box-sizing:border-box; align-items:center; justify-content:center; vertical-align:middle;
  width: auto; min-width: 36px; height: auto; min-height: 36px;
  margin: 0; padding: 5px 10px; gap: 6px;
  box-shadow: none;
  font-size: 14px; font-weight: 500; line-height: 1.35; white-space: nowrap;
}
html.lbe-ui-actions .lbe-result-list td.lbe-document-list-actions .lbe-ui-action:not(:is(:disabled,.disabled,[aria-disabled=true])) {
  --lbe-action-ink:#254d75; --lbe-action-bg:#fff; --lbe-action-border:#98aec5;
}
html.lbe-ui-actions .lbe-result-list td.lbe-document-list-actions .lbe-quote-consult:not(:is(:disabled,.disabled,[aria-disabled=true])) {
  background: #eaf2fc !important; border-color: #88a5c5 !important; color: #183e67 !important;
}
.lbe-document-list-actions > :is(a,button,span) ~ :is(a,button,span) { margin-inline-start: 5px !important; }
.lbe-document-list-actions > .lbe-quote-secondary, .lbe-document-list-actions > .lbe-quote-consult { vertical-align:middle; }
.lbe-document-list-actions > .lbe-quote-archive { display:inline-flex; align-items:center; border-inline-start: 1px solid #b9c4d1; padding-inline-start: 8px; }
html.lbe-ui-actions .lbe-result-list td.lbe-document-list-actions .lbe-quote-archive :is(button,a):not(:is(:disabled,.disabled,[aria-disabled=true])) {color:#7d3c30 !important;}
.lbe-result-scroll [data-lbe-quote-toggle] { display: none; }
@media (pointer:coarse) {
  html.lbe-ui-actions .lbe-result-list td.lbe-document-list-actions :is(a.btn,button.btn) {
  box-sizing:border-box; align-items:center; justify-content:center; vertical-align:middle; min-height:44px; min-width:44px; }
}
@container document-list (max-width: 75rem) {
  .lbe-result-scroll .lbe-document-list-actions:has([data-lbe-quote-toggle]) {
    position: sticky; inset-inline-end: 0; z-index: 2;
    background: #f7f9fc !important; box-shadow: inset 1px 0 #c5d0dd;
  }
  .lbe-result-scroll [data-lbe-quote-list] th:last-child { position: sticky; inset-inline-end:0; z-index:2; }
  .lbe-result-scroll [data-lbe-quote-toggle] {
    display:inline-flex; align-items:center; justify-content:center; vertical-align:middle;
    width:42px; min-height:40px; border:1px solid #98aec5; border-radius:6px;
    background:#fff; color:#294f78; cursor:pointer;
  }
  .lbe-result-scroll [data-lbe-quote-toggle]:is(:hover,[aria-expanded=true]) {background:#e2edf8;}
  .lbe-result-scroll [data-lbe-quote-toggle]:focus-visible {outline:3px solid #1456ba;outline-offset:2px;}
  .lbe-result-scroll [data-lbe-quote-toggle] svg {width:19px;height:19px;}
  .lbe-result-scroll td:has(>[data-lbe-quote-toggle][aria-expanded=false]) > .lbe-quote-secondary { display:none !important; }
  .lbe-result-scroll td:has(>[data-lbe-quote-toggle][aria-expanded=true]) > .lbe-quote-secondary {
    display:flex; width:max-content; margin:5px 0 0 !important;
  }
  .lbe-result-scroll td:has(>[data-lbe-quote-toggle][aria-expanded=true]) > .lbe-quote-archive {
    border:0; border-top:1px solid #bccbd8; width:100%; padding:6px 0 0;
  }
  @media (pointer:coarse) { .lbe-result-scroll [data-lbe-quote-toggle] {width:44px;min-height:44px;} }
}
@container document-list (max-width: 34rem) {
  .lbe-result-scroll .lbe-quote-code, .lbe-result-scroll .lbe-document-list-actions:has([data-lbe-quote-toggle]),
  .lbe-result-scroll [data-lbe-quote-list] th:last-child {position: static;box-shadow:none;}
}

/* Agenda and reception stay native. These rules only group confirmed controls and
   present a verified empty result; no calendar, select, link or submit mechanism is replaced. */
html.lbe-period-work .lbe-period-work-agenda .fc-header-toolbar.lbe-period-work__toolbar{align-items:center;display:flex;flex-wrap:wrap;gap:8px 14px;margin-bottom:16px}
html.lbe-period-work .lbe-period-work__title-group{order:1;flex:0 1 auto;margin-right:4px}
html.lbe-period-work .lbe-period-work__navigation-group{order:2;flex:0 0 auto}
html.lbe-period-work .lbe-period-work__view-group{order:3;flex:0 1 auto;margin-left:auto}
html.lbe-period-work .lbe-period-work__toolbar .fc-toolbar-chunk{min-width:0}
html.lbe-period-work .lbe-period-work__toolbar .fc-toolbar-title{color:#172e59;font-size:clamp(1.15rem,2vw,1.5rem);line-height:1.2;overflow-wrap:anywhere}
html.lbe-period-work .lbe-period-work__toolbar .fc-button-group{display:inline-flex;flex-wrap:wrap;gap:4px}
html.lbe-period-work .lbe-period-work__toolbar .fc-button-group>.fc-button{border-radius:4px!important;margin:0!important;min-height:36px}
html.lbe-period-work .lbe-period-work__toolbar .fc-today-button{min-height:36px}
/* Reserve space for the response inside the calendar, above its weekday headers. */
html.lbe-period-work .lbe-period-work__empty {
  margin:0 0 10px;
  padding:9px 12px;
  background:#eff4fa;
  color:#334b66;
  border-radius:5px;
  font-size:14px;
  line-height:1.4;
}
html.lbe-period-work .lbe-period-work__toolbar .fc-button-primary {
  color:#284664;
  border:1px solid #a4b6c9;
  background:#fff;
  box-shadow:none;
}
html.lbe-period-work .lbe-period-work__toolbar .fc-button-primary:is(.fc-button-active,:active) {
  color:#fff; background:#213e60; border-color:#213e60;
}
html.lbe-period-work .lbe-period-work__toolbar .fc-button-primary:not(:disabled):hover {
  color:#123451; background:#e5eef7;
}
html.lbe-period-work .lbe-period-work__toolbar .fc-button-primary:focus-visible {
  outline:3px solid #1456ba; outline-offset:2px;
}
html.lbe-period-work .lbe-period-work__toolbar .fc-button-primary:disabled {
  color:#555e68; border:1px dashed #8d959e; background:#f1f2f3; opacity:1;
}
@media (pointer:coarse) {
  html.lbe-period-work .lbe-period-work__toolbar .fc-button {min-width:44px;min-height:44px}
}
@media (max-width:990px) {
  .lbe-period-work-agenda > .row > :is(.col-md-10,.col-md-2) {width:100%}
}
@media (max-width: 48rem) {
  html.lbe-period-work .lbe-period-work__title-group {
    flex-basis: 100%;
    margin-right: 0;
    order: 0;
  }
  html.lbe-period-work .lbe-period-work__view-group { margin-left: 0; }
  html.lbe-period-work .lbe-period-work__toolbar .fc-button-group > .fc-button,
  html.lbe-period-work .lbe-period-work__toolbar .fc-today-button { min-height: 44px; }
}

/* Native dates and events keep their order; these colors belong to the calendar grid. */
html.lbe-period-work .lbe-period-work__calendar {
  --fc-border-color: #d8e1ec;
  --fc-neutral-bg-color: #f3f6fa;
  --fc-today-bg-color: #edf4fe;
}
html.lbe-period-work .lbe-period-work-agenda :is(.row, .card-body):has(.lbe-period-work__calendar) {
  min-width: 0;
}
html.lbe-period-work .lbe-period-work-agenda .card:has(.lbe-period-work__calendar) {
  border: 1px solid #d3deeb;
  border-radius: 12px;
  box-shadow: none !important;
}
html.lbe-period-work .lbe-period-work__calendar .fc-toolbar-title {
  color: #193451;
  font-weight: 650;
  letter-spacing: -.025em;
}
html.lbe-period-work .lbe-period-work__calendar .fc-col-header-cell {
  background: #f5f8fb;
}
html.lbe-period-work .lbe-period-work__calendar .fc-col-header-cell-cushion {
  color: #324c6a;
  font-size: .875em;
}
html.lbe-period-work .lbe-period-work__calendar .fc-daygrid-day-number {
  color: #294762;
  font-variant-numeric: tabular-nums;
}
html.lbe-period-work .lbe-period-work__calendar .fc-day-other .fc-daygrid-day-top {
  opacity: 1;
}
html.lbe-period-work .lbe-period-work__calendar .fc-day-other .fc-daygrid-day-number {
  color: #60748e;
}
html.lbe-period-work .lbe-period-work__calendar .fc-day-today .fc-daygrid-day-number {
  color: #154579;
  font-weight: 700;
}
html.lbe-period-work .lbe-period-work__calendar .fc-view-harness :is(a[href], [tabindex="0"]):focus-visible {
  outline: 3px solid #1456ba;
  outline-offset: -3px;
}
html.lbe-period-work .lbe-period-work__toolbar .fc-button-primary.fc-button-active:hover {
  color: #fff;
  background: #213e60;
}

html.lbe-period-work :is(.lbe-period-work-reception, .lbe-period-work-reception-fullscreen) .card:has(.lbe-period-work__reception-controls) {
  border: 1px solid #d3deeb;
  border-radius: 12px;
  box-shadow: none !important;
}
html.lbe-period-work :is(.lbe-period-work-reception, .lbe-period-work-reception-fullscreen) .card-body:has(.lbe-period-work__reception-controls) {
  padding: clamp(16px, 3vw, 28px);
}
html.lbe-period-work .lbe-period-work__reception-controls {
  width: 100%;
  max-width: 36rem;
  margin-inline: auto;
}
html.lbe-period-work .lbe-period-work__reception-label {
  display: block;
  margin: 0 0 8px;
  text-align: start;
  font-weight: 600;
}
html.lbe-period-work .lbe-period-work__reception-native-title {
  color: #193451;
  font-weight: 650;
  margin-bottom: 10px !important;
}
html.lbe-period-work .lbe-period-work__reception-select {
  min-height: 44px;
  max-width: 100%;
}
html.lbe-period-work .lbe-period-work__reception-empty {
  max-width: 36rem;
  padding: 11px 14px;
  margin-inline: auto;
  border: 1px solid #dbe5f0;
  border-radius: 8px;
  color: #3d5773 !important;
  background: #f4f8fc;
}
html.lbe-period-work .lbe-period-work__reception-action-row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 8px;
}
html.lbe-period-work .lbe-period-work__reception-action-row > :is(
  .lbe-period-work__reception-save, .lbe-period-work__reception-view-link
) {
  display: inline-flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  width: auto;
  min-height: 44px;
  margin: 0 !important;
  padding-inline: 12px;
  white-space: normal;
}
html.lbe-period-work .lbe-period-work-reception-fullscreen .lbe-period-work__reception-save:not(:disabled):not([aria-disabled="true"]) {
  background: #244f86;
  border-color: #244f86;
  color: #fff;
}
html.lbe-period-work .lbe-period-work-reception-fullscreen .lbe-period-work__reception-save:is(:disabled, [aria-disabled="true"]) {
  background: #f1f2f3;
  border: 1px dashed #8d959e;
  color: #555e68;
  opacity: 1;
}
html.lbe-period-work .lbe-period-work-reception-fullscreen .lbe-period-work__reception-view-link {
  background: #f2f5fa;
  border-color: #a7b7ca;
  color: #193451;
}
html.lbe-period-work .lbe-period-work-reception-fullscreen .card:has(.lbe-period-work__reception-controls) {
  width: min(100%, 42rem);
  margin: clamp(12px, 3vh, 28px) auto;
}
html.lbe-period-work .lbe-period-work__reception-controls :is(select,button,a[href]):focus-visible {
  outline: 3px solid #1456ba;
  outline-offset: 2px;
}
@media (max-width: 380px) {
  html.lbe-period-work .lbe-period-work__calendar .fc-col-header-cell-cushion {
    padding-inline: 0;
    font-size: 13px;
    line-height: 1.4;
  }
}

/* The provider's forms stay inside their original surfaces and reading order. */
html.lbe-ui-layout {
  --lbe-work-ink:#17283d;
  --lbe-work-secondary:#42556c;
  --lbe-work-edge:#c3cfde;
  --lbe-work-surface:#fff;
  --lbe-work-subtle:#f3f6fa;
  --lbe-work-selected:#e9f1fb;
}
.lbe-skip-content {
  position:fixed;
  inset:12px auto auto 12px;
  z-index:1080;
  padding:10px 16px;
  border-radius:6px;
  background:white;
  color:#173b65;
  transform:translateY(calc(-100% - 20px));
}
.lbe-skip-content:focus { transform:none; outline:3px solid #1456ba; }
.lbe-ui-layout .lbe-ui-page-surface { scroll-margin-block-start:76px; }
.lbe-ui-layout .lbe-ui-page-heading.page-header-prestiscene {
  padding-block:22px 12px !important;
  color:var(--lbe-work-ink);
}
.lbe-ui-layout .lbe-ui-page-heading .title-page-prestiscene {
  color:inherit;
  font-size:clamp(1.35rem, 1.1rem + .6vw, 1.75rem);
  font-weight:650;
  letter-spacing:-.025em;
  line-height:1.2;
  text-transform:none !important;
}
.lbe-ui-layout .lbe-ui-page-heading .breadcrumb-wrapper-prestiscene {
  margin-block-start:6px;
  font-size:.825rem;
  color:var(--lbe-work-secondary);
  line-height:1.45;
  overflow-wrap:anywhere;
}
.lbe-ui-layout .lbe-ui-page-heading .breadcrumb-wrapper-prestiscene a { color:#345875; }
.lbe-ui-layout .lbe-ui-page-surface > .content-page-prestiscene.lbe-ui-page-frame {
  background:transparent !important;
  padding:4px 8px 20px !important;
  min-width:0;
}
.lbe-ui-layout .lbe-ui-page-surface[data-lbe-layout=list]:has(>.content-page-prestiscene) { padding-block-start:4px !important; }

.lbe-result-list :is(.lbe-result-filter-card,.lbe-result-data-card) {
  border:1px solid var(--lbe-work-edge);
  border-radius:10px;
  background:var(--lbe-work-surface);
  box-shadow:none !important;
}
.lbe-result-list .lbe-result-filter-card { margin-block-end:12px !important; }
.lbe-result-filter-card > .card-body { padding:14px 16px; }
.lbe-result-list .lbe-result-filter { container:result-filter / inline-size; }
.lbe-result-list .lbe-result-filter > .row { --bs-gutter-x:14px; --bs-gutter-y:0; }
.lbe-result-list .lbe-result-filter > .row > :where(.col-lg-4,.col-lg-6) label {
  color:var(--lbe-work-secondary);
  line-height:1.35;
  margin-block:0 4px;
}
.lbe-result-list .lbe-result-commands {
  border:0;
  margin-block:10px 0 !important;
  padding-block:0;
  gap:6px 8px;
}
.lbe-result-list .lbe-result-commands > :is(a,button) { margin-inline:0 !important; }
.lbe-result-list .lbe-result-commands > .underline {
  --lbe-action-bg:transparent;
  --lbe-action-ink:#345875;
  --lbe-action-border:transparent;
  padding-inline:10px;
  box-shadow:none;
  text-decoration:underline;
  text-underline-offset:.16em;
}
.lbe-result-list .lbe-result-commands > .btn-search-prestiscene {
  min-inline-size:0;
  padding-inline:14px;
}
html.lbe-ui-actions .lbe-result-list .lbe-result-commands > [data-action*="core--submit-form#submit"]:not([type=submit]):not(:is(:disabled,.disabled,[aria-disabled=true])) {
  --lbe-action-bg:#f4f7fb;
  --lbe-action-ink:#294b70;
  --lbe-action-border:#a5b9cf;
  box-shadow:none;
}
.lbe-result-list .lbe-result-count-strip {
  display:flex;
  gap:5px;
  flex-wrap:wrap;
}
.lbe-result-list .lbe-result-count-strip small {
  margin-inline-end:auto;
  color:var(--lbe-work-secondary);
  padding-block:4px;
}
.lbe-result-list .lbe-result-data-card > .card-table { padding:0; border-radius:inherit; }
.lbe-result-list .lbe-result-data-card .lbe-result-scroll { border-radius:inherit; }
.lbe-result-list .lbe-result-data { margin-block-end:0; }
.lbe-result-list .lbe-result-data thead th {
  background:#edf2f8 !important;
  color:var(--lbe-work-ink) !important;
  border-block-end:1px solid #b7c7db;
  line-height:1.3;
  font-size:13px;
  font-weight:650;
}
.lbe-result-list .lbe-result-data thead th a { color:inherit !important; }
.lbe-result-list .lbe-result-data > tbody > tr > td {
  border-block-end:1px solid #e3eaf1;
  font-size:.93rem;
  line-height:1.5;
  vertical-align:middle;
}
.lbe-result-list .lbe-result-data > tbody > tr:last-child > td { border-block-end:0; }
.lbe-result-list .lbe-result-data > tbody > tr:nth-of-type(odd) > td {
  --bs-table-striped-bg:#f5f7fa;
  --bs-table-striped-color:var(--lbe-work-ink);
}
.lbe-result-list .lbe-result-data > tbody > tr:focus-within > td:not([class*="bg-"]) {
  --bs-table-accent-bg:var(--lbe-work-selected);
}
html.lbe-ui-actions .lbe-result-list td.lbe-result-row-tools
.lbe-ui-action:not([data-lbe-action=danger]):not(:is(:disabled,.disabled,[aria-disabled=true])) {
  --lbe-action-bg:#fff;
  --lbe-action-ink:#294b70;
  --lbe-action-border:#a5b9cf;
}
.lbe-result-list .lbe-result-data :is(a,button):focus-visible { outline-offset:0; }
html.lbe-ui-layout .lbe-result-scroll[data-lbe-scrollable=true]:focus-visible { outline:2px solid #1456ba; outline-offset:-2px; }

@container result-filter (max-width:550px) {
  .lbe-result-list .lbe-result-filter > .row > :where(.col-lg-4,.col-lg-6) {
    flex-basis:100%;
    max-width:100%;
  }
}
@media(max-width:767px) {
  html.lbe-ui-layout .lbe-ui-page-heading.page-header-prestiscene { padding-block:16px 10px !important; }
  .lbe-ui-layout .lbe-ui-page-surface > .content-page-prestiscene.lbe-ui-page-frame { padding-inline:0 !important; }
  .lbe-result-filter-card > .card-body { padding:12px; }
}

/* Login and password reset share the native form and recovery controls. */
html.lbe-ui-auth {
  --lbe-entry-ink: #17263b;
  --lbe-entry-subtle: #455b75;
  --lbe-entry-surface: #ffffff;
  --lbe-entry-border: #a3b2c5;
}
html.lbe-ui-auth body {
  background: #eef2f7;
  color: var(--lbe-entry-ink);
}
html.lbe-ui-auth body > div:has(.lbe-ui-auth-form) {
  width: min(444px, calc(100% - 32px));
  max-width: none !important;
  margin: clamp(24px, 8vh, 80px) auto 24px !important;
}
html.lbe-ui-auth .card:has(.lbe-ui-auth-form) {
  background: var(--lbe-entry-surface);
  border: 1px solid #c8d4e2;
  border-radius: 14px;
  box-shadow: 0 3px 6px #14365b0c;
  margin: 0 !important;
}
html.lbe-ui-auth .card-body:has(.lbe-ui-auth-form) {
  padding: clamp(20px, 6vw, 34px);
  background: transparent;
  border-radius: inherit;
}
html.lbe-ui-auth .text-center:has(> .lbe-ui-auth-form) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0 12px;
  align-items: center;
  text-align: start !important;
}
html.lbe-ui-auth .text-center:has(> .lbe-ui-auth-form) > * {
  grid-column: 1 / -1;
}
html.lbe-ui-auth .text-center:has(> .lbe-ui-auth-form) > img {
  grid-column: 2;
  grid-row: 1;
  place-self: start end;
  width: min(100%, 108px);
  height: auto;
  max-height: 58px;
  object-fit: contain;
  margin: 0 !important;
}
html.lbe-ui-auth .lbe-ui-auth-brand {
  grid-column: 1;
  grid-row: 1;
  justify-content: flex-start;
  margin: 0 0 16px;
}
html.lbe-ui-auth .lbe-ui-auth-brand .lbe-ui-brand-image {
  width: min(100%, 142px);
  height: auto;
  aspect-ratio: 9 / 5;
}
html.lbe-ui-auth .lbe-ui-auth-title {
  margin: 2px 0 12px;
  font-size: clamp(22px, 5vw, 30px);
  font-weight: 650;
  line-height: 1.17;
  letter-spacing: -.025em;
  text-wrap: balance;
}
html.lbe-ui-auth .lbe-ui-auth-form {
  padding: 0;
  border: 0;
  margin: 0;
  max-width: none;
  text-align: start;
}
html.lbe-ui-auth .lbe-ui-auth-form :is(.lbe-ui-auth-label, label[for]) {
  margin: 0 0 6px;
  color: var(--lbe-entry-ink);
  font-size: .9375rem;
  line-height: 1.4;
}
html.lbe-ui-auth .lbe-ui-auth-form :is(.form-control, .input-group > .btn) {
  min-height: 46px;
  color: var(--lbe-entry-ink);
}
html.lbe-ui-auth .lbe-ui-auth-form :is(.form-control, .input-group > .btn):not(.is-invalid,.is-valid) {
  border-color: var(--lbe-entry-border) !important;
}
html.lbe-ui-auth .lbe-ui-auth-form .form-control::placeholder {
  color: var(--lbe-entry-subtle);
}
html.lbe-ui-auth .lbe-ui-auth-form .input-group > .btn {
  min-width: 46px;
  border-radius: 0 8px 8px 0;
  background: #f5f7fa;
  color: var(--lbe-entry-ink);
}
html.lbe-ui-auth .lbe-ui-auth-form .input-group > .btn:hover {
  background: #e7effa;
}
html.lbe-ui-auth .lbe-ui-auth-form .text-center:has(> button[type="submit"]) {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
html.lbe-ui-auth .lbe-ui-auth-form button[type="submit"] {
  width: 100%;
  min-height: 46px;
  border: 1px solid #1d467a;
  border-radius: 8px;
  padding: 10px 15px;
  box-shadow: none;
  color: #fff;
  background-color: #1d467a !important;
  font-weight: 600;
  margin-bottom: 0 !important;
}
html.lbe-ui-auth .lbe-ui-auth-form .text-center > button[type="submit"] {
  flex: 2 1 130px;
  width: auto;
}
html.lbe-ui-auth .lbe-ui-auth-form button[type="submit"]:not(:disabled):not([aria-disabled="true"]):hover {
  background-color: #133c70 !important;
}
html.lbe-ui-auth .lbe-ui-auth-form a.btn[href="/"] {
  flex: 1 1 80px;
  align-content: center;
  padding-inline: 12px;
  color: var(--lbe-entry-ink) !important;
  background-color: #f2f5fa !important;
  border: 1px solid #a7b7ca !important;
  border-radius: 8px;
}
html.lbe-ui-auth .lbe-ui-auth-form a.btn[href="/"]:hover {
  background-color: #e7effa !important;
}
html.lbe-ui-auth .lbe-ui-auth-form button[type="submit"]:is(:disabled, [aria-disabled="true"]) {
  color: #555e68 !important;
  background-color: #eef1f5 !important;
  border: 1px dashed #8d959e !important;
  opacity: 1;
}
html.lbe-ui-auth .text-center:has(> .lbe-ui-auth-form) > a[href="/password-reset-request"] {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  width: max-content;
  max-width: 100%;
  margin-top: 6px;
  color: #184b83;
  text-decoration: underline;
  text-underline-offset: 4px;
}
html.lbe-ui-auth .lbe-ui-auth-form :is(button, input, a):focus-visible,
html.lbe-ui-auth .text-center:has(> .lbe-ui-auth-form) > a:focus-visible,
html.lbe-ui-auth .lbe-interface-tools :is(button,a):focus-visible {
  outline: 3px solid #1456ba;
  outline-offset: 2px;
  z-index: 3;
}
html.lbe-ui-auth body > .lbe-interface-tools {
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: min(444px, calc(100% - 32px));
  gap: 8px;
  padding-top: 9px;
  border-top: 1px solid #d0dce9;
  color: var(--lbe-entry-subtle);
  font-size: .8125rem;
  line-height: 1.5;
}
html.lbe-ui-auth .lbe-interface-tools form {
  display: grid;
  gap: 5px;
}
html.lbe-ui-auth .lbe-interface-tools :is(button, a) {
  color: #244c77;
  text-decoration: underline;
  text-underline-offset: 4px;
}
html.lbe-ui-auth .lbe-interface-tools button {
  background: none;
  border: 0;
  padding: 4px 0;
  text-align: start;
}
html.lbe-ui-auth .lbe-ui-auth-footer {
  color: var(--lbe-entry-subtle);
}
@media (pointer: coarse) {
  html.lbe-ui-auth .lbe-interface-tools :is(button,a) {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
}

/* The dashboard indicators are separate native widgets with their own data. */
.lbe-ui-layout .content-page-prestiscene [data-controller~="configuration--spectacle-calendar-indicator"] {
  --fc-border-color: #dce4ee;
  --fc-neutral-bg-color: #f3f6fa;
  --fc-page-bg-color: #fff;
}
.lbe-ui-layout .content-page-prestiscene :is(
  [data-controller~="configuration--spectacle-calendar-indicator"],
  [data-controller~="configuration--representation-statistics-indicator"]
) .card {
  min-inline-size: 0;
  border: 1px solid #d3deeb;
  border-radius: 12px;
  box-shadow: none !important;
}
.lbe-ui-layout .content-page-prestiscene .spectacle-calendar-prestiscene > .card-header,
.lbe-ui-layout .content-page-prestiscene [data-controller~="configuration--representation-statistics-indicator"] > .card > .card-header {
  border-bottom: 1px solid #dce4ee;
  background: #f5f8fb !important;
  color: #17263b !important;
  padding: 12px 16px;
  font-weight: 600;
}
.lbe-ui-layout .content-page-prestiscene :is(
  .spectacle-calendar-prestiscene,
  [data-controller~="configuration--representation-statistics-indicator"] > .card
) > .card-header :is(h2,h3,.text-white):not(.badge) {
  color: #17263b !important;
}
.lbe-ui-layout .content-page-prestiscene [data-controller~="configuration--spectacle-calendar-indicator"] .fc .fc-toolbar {
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  margin-block-end: 12px;
}
.lbe-ui-layout .content-page-prestiscene [data-controller~="configuration--spectacle-calendar-indicator"] .fc .fc-toolbar-title {
  color: #17263b;
  font-size: clamp(19px, 3vw, 25px);
  line-height: 1.2;
  letter-spacing: -.02em;
}
.lbe-ui-layout .content-page-prestiscene [data-controller~="configuration--representation-statistics-indicator"] .accordion-button {
  background: #f4f7fa;
  color: #19314f;
  padding: 12px 16px;
  box-shadow: none;
}
.lbe-ui-layout .content-page-prestiscene [data-controller~="configuration--representation-statistics-indicator"] .accordion-button:not(.collapsed) {
  background: #e5eef9;
}
.lbe-ui-layout .content-page-prestiscene [data-controller~="configuration--representation-statistics-indicator"] .accordion-button:focus-visible,
.lbe-ui-layout .content-page-prestiscene [data-controller~="configuration--spectacle-calendar-indicator"] .fc :is(button,a[href]):focus-visible {
  outline: 3px solid #1456ba;
  outline-offset: -3px;
}
.lbe-ui-layout .content-page-prestiscene [data-controller~="configuration--representation-statistics-indicator"] .accordion-body {
  padding: clamp(10px, 2vw, 18px);
  max-inline-size: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
}
@media (pointer: coarse) {
  .lbe-ui-layout .content-page-prestiscene [data-controller~="configuration--representation-statistics-indicator"] .accordion-button,
  .lbe-ui-layout .content-page-prestiscene [data-controller~="configuration--spectacle-calendar-indicator"] .fc button {
    min-height: 44px;
  }
}

/* Compact the native action cluster, leaving each event's own colors in place. */
.lbe-ui-layout .content-page-prestiscene .spectacle-calendar-prestiscene .fc-event-title .mt-auto > div:has(> button.fc-event-button-prestiscene) {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
}
html.lbe-ui-actions .content-page-prestiscene .spectacle-calendar-prestiscene .fc-event-title button.fc-event-button-prestiscene.lbe-ui-action {
  inline-size: 32px;
  min-inline-size: 32px;
  min-block-size: 32px;
  margin: 0;
  padding: 4px;
  border-radius: 5px;
}
html.lbe-ui-actions .content-page-prestiscene .spectacle-calendar-prestiscene .fc-event-title button.fc-event-button-prestiscene.lbe-ui-action[data-lbe-action="secondary"]:not(:is(:disabled,.disabled,[aria-disabled="true"])) {
  --lbe-action-bg: #fff;
  --lbe-action-border: #91a3bc;
  --lbe-action-ink: #23435f;
}
@media (pointer: coarse) {
  html.lbe-ui-actions .content-page-prestiscene .spectacle-calendar-prestiscene .fc-event-title button.fc-event-button-prestiscene.lbe-ui-action {
    inline-size: 44px;
    min-inline-size: 44px;
    min-block-size: 44px;
  }
}

/* Only the page heading is shared. Each plan owns its own application surface. */
html.lbe-ui-seatmap .lbe-seatmap-heading {
  position: relative;
  display: flex;
  align-items: start;
  flex-wrap: wrap;
  gap: 12px 20px;
  min-height: 0;
  padding-block: 18px 14px !important;
}
html.lbe-ui-seatmap .lbe-seatmap-heading > .page-header-center-prestiscene {
  flex: 2 1 min(100%, 34rem);
  min-width: 0;
  position: static !important;
  inset: auto !important;
  transform: none !important;
  text-align: start !important;
}
html.lbe-ui-seatmap .lbe-seatmap-heading .title-page-prestiscene {
  color: #17263b;
  font-size: clamp(1.25rem, 1.04rem + .7vw, 1.65rem);
  font-weight: 650;
  line-height: 1.25;
  text-transform: none !important;
}
html.lbe-ui-seatmap .lbe-seatmap-heading .breadcrumb-wrapper-prestiscene {
  color: #40536e;
  margin-block-start: .3rem;
  min-width: 0;
  font-size: .875rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
  white-space: normal;
}
html.lbe-ui-seatmap .lbe-seatmap-heading > .page-header-actions-prestiscene {
  position: static !important;
  inset: auto !important;
  transform: none !important;
  max-width: 100%;
}
html.lbe-ui-seatmap .lbe-seatmap-heading :is(.page-header-actions-prestiscene,.page-header-actions-prestiscene>.d-flex) {
  display: flex;
  align-items: center;
  justify-content: flex-start !important;
  flex-wrap: wrap;
  gap: 8px;
}
html.lbe-ui-seatmap .lbe-seatmap-heading :is(a,button).btn-layout-prestiscene {
  min-height: 36px;
  height: auto !important;
  width: auto !important;
  min-width: 44px;
  margin: 0 !important;
  padding: 7px 12px !important;
  border: 1px solid #adbed3;
  border-radius: 7px !important;
  color: #234565 !important;
  background: #fff !important;
  white-space: normal;
}
html.lbe-ui-seatmap .lbe-seatmap-heading :is(a,button).btn-layout-prestiscene:hover {
  color: #183759 !important;
  background: #e9f1fb !important;
}
html.lbe-ui-seatmap .lbe-seatmap-heading :is(a,button):focus-visible {
  outline: 2px solid #1456ba;
  outline-offset: 2px;
}
@media (pointer: coarse) {
  html.lbe-ui-seatmap .lbe-seatmap-heading :is(a,button).btn-layout-prestiscene { min-height: 44px; }
}

html.lbe-ui-seatmap [data-controller~="configuration--representation-plan"] {
  --lbe-rep-ink: #203650;
  --lbe-rep-muted: #445a72;
  --lbe-rep-line: #c9d5e3;
  --lbe-rep-panel: #f5f8fb;
  --lbe-rep-focus: #18569a;

  & .card-plan-header-prestiscene {
    padding: 8px;
    border-bottom: 1px solid var(--lbe-rep-line);
    background: var(--lbe-rep-panel);
  }

  & .card-plan-header-prestiscene .d-flex {
    min-inline-size: 0;
    max-inline-size: 100%;
    flex-wrap: wrap;
    gap: 4px 6px;
  }

  & .card-plan-header-prestiscene .card-plan-btn {
    inline-size: auto;
    block-size: auto;
    min-inline-size: 44px;
    min-block-size: 38px;
    margin: 0 !important;
    border: 1px solid #adbed3;
    border-radius: 6px;
    background: #fff;
    color: var(--lbe-rep-ink);
  }

  & .card-plan-header-prestiscene .card-plan-btn :is(i,svg) {
    font-size: 1em;
    inline-size: 1em;
    block-size: 1em;
  }

  & .card-plan-header-prestiscene .card-plan-btn:hover:not(:disabled) {
    background: #e9f1fb;
  }

  & .card-plan-header-prestiscene .card-plan-btn[aria-pressed="true"] {
    border-color: #2458ad;
    background: #2458ad;
    color: #fff;
  }

  & .lbe-rep-command {
    display: inline-flex;
    min-block-size: 38px;
    min-inline-size: 44px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 5px 8px;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  & .lbe-rep-command-label {
    pointer-events: none;
    font-size: .8125rem;
    line-height: 1.25;
  }

  & .lbe-rep-date {
    inline-size: auto;
    max-inline-size: 100%;
    min-block-size: 44px;
  }

  & .lbe-rep-reservations-heading {
    padding: 3px 1px 5px;
    border: 0;
    background: transparent !important;
    color: var(--lbe-rep-ink) !important;
    overflow-wrap: anywhere;
  }

  & .lbe-rep-reservations-heading .uppercase { text-transform:none !important; font-size:1.125rem; }
  & .lbe-rep-reservations-heading small {
    font-size:.8125rem;
    white-space: nowrap;
    overflow-wrap: normal;
  }

  & .lbe-rep-reservations {
    min-inline-size: 0;
  }

  & .card-plan-reservation-prestiscene {
    min-inline-size: 0;
    overflow-wrap: anywhere;
    border-radius: 7px;
  }

  & .lbe-rep-reservations .card-plan-reservation-prestiscene[draggable="true"]::before {
    display: block;
    inline-size: 16px;
    block-size: 12px;
    margin: 5px auto 0;
    background: radial-gradient(circle, var(--lbe-rep-muted) 1.25px, transparent 1.5px) 0 0 / 5px 5px;
    content: '';
    pointer-events: none;
  }

  & .card-plan-reservation-prestiscene button {
    max-inline-size: 100%;
    white-space: normal;
  }

  & .lbe-rep-release {
    min-block-size: 44px;
    flex: 0 0 auto;
    text-overflow: clip;
    white-space: nowrap !important;
  }

  & .lbe-rep-reservation-row {
    flex-wrap: wrap;
    gap: 4px 8px;
  }

  & .lbe-rep-panel-controls {
    display: none;
  }

  & :is(.lbe-rep-command, .lbe-rep-more, .lbe-rep-panel-toggle, .lbe-rep-panel-resize):focus-visible {
    outline: 2px solid var(--lbe-rep-focus);
    outline-offset: 2px;
  }
}

@media (pointer: coarse) {
  html.lbe-ui-seatmap [data-controller~="configuration--representation-plan"] .card-plan-header-prestiscene :is(button,.btn) {
    min-block-size: 44px;
  }
}

@media (max-width: 900px) {
  html.lbe-ui-seatmap [data-controller~="configuration--representation-plan"] {
    & .lbe-rep-workspace {
      display: flex !important;
      flex-flow: column nowrap !important;
      align-items: stretch !important;
      gap: 8px;
      min-inline-size: 0;
    }

    & .lbe-rep-map {
      order: 0;
      width: 100% !important;
      max-width: 100% !important;
      min-inline-size: 0;
      flex: 0 0 auto !important;
      overflow-x: auto;
    }

    & .lbe-rep-panel-controls {
      display: flex;
      order: 1;
      flex-wrap: wrap;
      gap: 8px;
    }

    & :is(.lbe-rep-panel-toggle, .lbe-rep-panel-resize) {
      min-block-size: 44px;
      padding: 7px 12px;
      border: 1px solid var(--lbe-rep-line);
      border-radius: 7px;
      background: var(--lbe-rep-panel);
      color: var(--lbe-rep-ink);
      font: inherit;
      font-size: .875rem;
      line-height: 1.3;
    }

    & .lbe-rep-panel-resize[hidden] {
      display: none;
    }

    & .lbe-rep-reservations {
      order: 2;
      width: 100% !important;
      max-width: 100% !important;
      flex: 0 0 auto !important;
      overflow-y: auto;
      overscroll-behavior-y: contain;
    }

    & [data-lbe-panel-mode="closed"] .lbe-rep-reservations {
      display: none !important;
    }

    & [data-lbe-panel-mode="preview"] .lbe-rep-reservations {
      max-block-size: min(15rem, 34dvh);
    }

    & [data-lbe-panel-mode="expanded"] .lbe-rep-reservations {
      max-block-size: min(28rem, 54dvh);
    }
  }
}

@media (max-width: 600px) {
  html.lbe-ui-seatmap [data-controller~="configuration--representation-plan"] .lbe-rep-panel-controls {
    order: -1;
  }

  html.lbe-ui-seatmap body > .bg-white.px-4:has(.lbe-rep-commandbar) {
    padding-inline: 8px !important;
  }
  html.lbe-ui-seatmap .content-page-prestiscene.px-3:has(.lbe-rep-commandbar) {
    padding-inline: 4px !important;
  }
}

@media (max-width: 420px) {
  html.lbe-ui-seatmap [data-controller~="configuration--representation-plan"] {
    & .card-plan-reservation-prestiscene :is(button, a.btn) {
      min-block-size: 44px;
      flex-shrink: 0;
      text-overflow: clip;
    }
  }
}

/* One stable grid. Native event handlers, dropdown parents and form values stay in place. */
html.lbe-ui-seatmap .card-plan-prestiscene:has(> .lbe-rep-commandbar) {
  container: rep-plan / inline-size;
}
html.lbe-ui-seatmap .card-plan-header-prestiscene.lbe-rep-commandbar {
  --hit: 38px;
  --tool-gap: 4px;
  display: grid;
  position: relative;
  overflow: visible;
  align-items: center;
  gap: 6px var(--tool-gap);
  grid-template:
    'modes date zoom-in zoom-out fit undo export more status save expand' auto /
    max-content minmax(174px,1fr) var(--hit) var(--hit) var(--hit) var(--hit) max-content max-content auto auto var(--hit);
  padding: 7px 10px;
  background: #f6f8fb;
  border-bottom: 1px solid #c4d1df;

  & > .lbe-rep-commandbar-shell,
  & .lbe-rep-main-tools,
  & .lbe-rep-session-tools {
    display: contents !important;
  }
  & > .lbe-seat-placement-tools {
    grid-area: modes;
    min-width: 0;
    align-items: center;
    padding: 0;
    gap: 3px;
  }
  & .lbe-seat-tool-status {
    flex-basis: 100%;
    overflow-wrap: break-word;
  }
  & .lbe-rep-main-tools > [data-lbe-tool='mode'] {
    grid-area: modes;
    justify-self: start;
  }
  & [data-lbe-tool='zoom-in'] {
    grid-area: zoom-in;
  }
  & [data-lbe-tool='zoom-out'] {
    grid-area: zoom-out;
  }
  & [data-lbe-tool='fit'] {
    grid-area: fit;
  }
  & [data-lbe-tool='undo'] {
    grid-area: undo;
  }
  & .lbe-rep-date-group {
    grid-area: date;
    justify-self: start;
    flex-wrap: nowrap !important;
    max-width: 100%;
    min-width: 0;
    gap: 2px;
    margin: 0 !important;
  }
  & .lbe-rep-date-group > :is(button, select) {
    height: var(--hit);
    min-height: var(--hit);
  }
  & .lbe-rep-date-group > select.lbe-rep-date {
    width: auto;
    min-inline-size: 0;
    flex: 1 1 auto;
    font-size: 0.875rem;
  }
  & .lbe-rep-date-group > button {
    width: var(--hit);
    min-width: var(--hit);
    margin: 0 !important;
  }
  & .lbe-rep-save-status {
    grid-area: status;
    justify-self: end;
    margin: 0 4px !important;
    font-size: 0.8rem;
  }
  & [data-lbe-tool='save'] {
    grid-area: save;
    justify-self: end;
    width: max-content;
    white-space: nowrap;
    overflow-wrap: normal;
  }
  & [data-lbe-tool='save'] .lbe-rep-command-label {
    display: inline;
  }
  & .lbe-seat-workspace-expand {
    grid-area: expand;
    justify-self: end;
  }
  & .lbe-rep-more {
    grid-area: more;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 4px 9px;
    min-width: var(--hit);
    height: var(--hit);
    color: #26425f;
    background: #fff;
    border: 1px solid #aebed1;
    border-radius: 6px;
    font: inherit;
    font-weight: 500;
    font-size: 0.875rem;
    line-height: 1.2;
    white-space: nowrap;
  }
  & .lbe-rep-more svg {
    display: block;
    width: 18px;
    height: 18px;
  }
  & .lbe-rep-more[aria-expanded='true'],
  & .lbe-rep-more:hover {
    background: #e8f0fa;
    border-color: #7994b2;
  }
  & :is([data-lbe-plan-command='view'], [data-lbe-tool='undo']) {
    width: var(--hit);
    min-width: var(--hit);
    height: var(--hit);
    min-height: var(--hit);
    padding: 0 !important;
    margin: 0 !important;
    white-space: nowrap;
    line-height: 1;
    color: #2a425e;
  }
  & :is([data-lbe-plan-command='view'], [data-lbe-tool='undo']) > i {
    width: 1.1rem;
    height: auto;
    line-height: 1;
    font-size: 1rem;
  }
  & .lbe-seat-workspace-expand {
    width: var(--hit);
    height: var(--hit);
    min-height: var(--hit);
    min-width: var(--hit);
    padding: 0;
    font-size: 0;
    display: inline-grid;
    place-items: center;
  }
  & .lbe-seat-workspace-expand::before {
    content: '';
    display: block;
    width: 17px;
    height: 17px;
    background:
      linear-gradient(currentColor, currentColor) left top / 7px 2px,
      linear-gradient(currentColor, currentColor) left top / 2px 7px,
      linear-gradient(currentColor, currentColor) right bottom / 7px 2px,
      linear-gradient(currentColor, currentColor) right bottom / 2px 7px;
    background-repeat: no-repeat;
  }
  & .lbe-seat-workspace-expand[aria-pressed='true']::before {
    transform: rotate(180deg) scale(0.7);
  }
  &:not(:has(.lbe-rep-more[aria-expanded='true'])) [data-lbe-extra] {
    display: none !important;
  }
  & [data-lbe-extra] {
    grid-column: 1 / -1;
    min-width: 0;
    max-width: 100%;
    margin: 0 !important;
    justify-self: stretch;
  }
  & [data-lbe-extra]:is(.lbe-rep-command, .btn),
  & [data-lbe-extra] > .card-plan-btn {
    width: 100%;
    justify-content: start;
    white-space: normal;
  }
  & .lbe-rep-main-tools > .card-plan-btn:not([data-lbe-tool]) {
    justify-self: start;
  }
  & .lbe-rep-command[data-lbe-extra='table-label'] {
    grid-column: 1 / -1;
    width: fit-content;
    justify-self: start;
  }
  & [data-lbe-extra='lock'] {
    grid-column: 1 / 2;
  }
  & [data-lbe-extra='sync'] {
    grid-column: 2 / 5;
  }
  & [data-lbe-extra='auto'] {
    grid-column: 5 / 8;
  }
  & [data-lbe-extra='pdf'] {
    grid-column: 8 / -1;
  }
  & [data-lbe-extra='back'] {
    grid-column: 1 / 2;
  }
  & [data-lbe-extra='cart'] {
    grid-column: 2 / 7;
  }
  & [data-lbe-extra='sliders'] {
    grid-column: 7 / -1;
  }
  & [data-lbe-extra='sliders'] .form-range {
    min-width: 0;
    max-width: 100%;
  }
}

/* The tray owns its layout; secondary commands never participate in the
   header grid. Native slider rows and the PDF button/menu stay together. */
html.lbe-ui-seatmap .card-plan-header-prestiscene .lbe-rep-more-source {display:none!important;}
html.lbe-ui-seatmap .lbe-rep-commandbar > .lbe-rep-more-panel {
  position:absolute;z-index:32;top:var(--lbe-menu-top,100%);right:var(--lbe-menu-right,8px);
  width:min(20rem,calc(100% - 16px));max-height:min(32rem,65dvh,var(--lbe-menu-space,100dvh));box-sizing:border-box;overflow:auto;
  padding:6px;background:white;color:#193449;border:1px solid #bccbd6;
  border-radius:9px;box-shadow:0 6px 22px #17375026;overscroll-behavior:contain;
}
html.lbe-ui-seatmap .lbe-rep-more-panel[hidden] {display:none!important;}
html.lbe-ui-seatmap .lbe-rep-more-head {
  display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 4px 3px;padding:0 2px 4px 6px;
  border-bottom:1px solid #dce4ea;
}
html.lbe-ui-seatmap .lbe-rep-more-title {font-size:.875rem;color:#31485c;font-weight:600;}
html.lbe-ui-seatmap .lbe-rep-more-close {
  display:grid;place-items:center;width:32px;height:32px;padding:0;background:transparent;
  color:#36536a;border:0;border-radius:5px;
}
html.lbe-ui-seatmap .lbe-rep-more-close svg {width:17px;height:17px;}
html.lbe-ui-seatmap .lbe-rep-more-actions {display:grid;gap:1px;}
html.lbe-ui-seatmap .lbe-rep-more-row {min-width:0;}
html.lbe-ui-seatmap .lbe-rep-more-action,
html.lbe-ui-seatmap .lbe-rep-commandbar .lbe-rep-more-panel [data-lbe-tool=pdf] {
  display:flex;gap:10px;align-items:center;justify-content:start;width:100%;min-height:36px;
  padding:6px 10px;border:0;border-radius:5px;background:transparent;color:#18364e;
  text-decoration:none;text-align:start;font:inherit;font-size:.875rem;font-weight:500;line-height:1.25;
}
html.lbe-ui-seatmap .lbe-rep-more-panel .lbe-rep-more-action > i,
html.lbe-ui-seatmap .lbe-rep-commandbar .lbe-rep-more-panel [data-lbe-tool=pdf] > i {
  flex:none;width:18px;height:auto;text-align:center;font-size:15px;color:#496984;
}
html.lbe-ui-seatmap .lbe-rep-more-panel [data-lbe-tool=pdf]::after {
  content:'';width:7px;height:7px;margin-left:auto;border-right:1.6px solid currentColor;
  border-bottom:1.6px solid currentColor;transform:rotate(45deg) translateY(-2px);
}
html.lbe-ui-seatmap .lbe-rep-more-panel .lbe-rep-command-label {font:inherit;}
html.lbe-ui-seatmap .lbe-rep-more-panel .dropdown-menu.show {
  position:static!important;transform:none!important;float:none;max-width:100%;min-width:0;width:auto;
  padding:3px 4px;margin:0 0 4px 28px!important;border:0;border-left:2px solid #c8d5df;
  border-radius:0;background:#f7f9fb;box-shadow:none;
}
html.lbe-ui-seatmap .lbe-rep-more-panel .dropdown-item {
  white-space:normal;font-size:.875rem;color:#213c54;padding:7px 9px;
}
html.lbe-ui-seatmap .lbe-rep-more-row[data-lbe-native-tool=sliders] {
  margin:4px;padding:8px 5px;border-block:1px solid #dce4ea;
  display:grid;gap:5px;
}
html.lbe-ui-seatmap .lbe-rep-commandbar .lbe-rep-more-row[data-lbe-native-tool=sliders] > .d-flex {
  display:grid!important;grid-template-columns:5rem minmax(0,1fr) 2rem!important;
  align-items:center;gap:8px;inline-size:100%;min-width:0;
}
html.lbe-ui-seatmap .lbe-rep-more-panel [data-lbe-native-tool=sliders] label {font-size:.8125rem;color:#36536a;margin:0!important;}
html.lbe-ui-seatmap .lbe-rep-more-panel [data-lbe-native-tool=sliders] input[type=range] {
  width:100%!important;margin:0!important;height:30px;accent-color:#285f90;
}
html.lbe-ui-seatmap .lbe-rep-more-panel [data-lbe-native-tool=sliders] span {font-variant-numeric:tabular-nums;text-align:end;}
html.lbe-ui-seatmap .lbe-rep-more-panel :is(button,a,input):focus-visible {outline:2px solid #155aa2;outline-offset:-2px;}
html.lbe-ui-seatmap .lbe-rep-more-action:disabled {color:#7a8996;background:#f5f6f7;cursor:not-allowed;}
@media(hover:hover) {
  html.lbe-ui-seatmap .lbe-rep-more-panel :is(.lbe-rep-more-action,.lbe-rep-more-close,[data-lbe-tool=pdf]):hover:not(:disabled) {background:#eaf1f7;}
}
@media (pointer:coarse){
  html.lbe-ui-seatmap .lbe-rep-more-panel :is(.lbe-rep-more-action,.lbe-rep-more-close,[data-lbe-tool=pdf],.dropdown-item) {min-height:44px;}
  html.lbe-ui-seatmap .lbe-rep-more-close {min-width:44px;}
}
@media(max-width:600px){
  html.lbe-ui-seatmap .lbe-rep-commandbar > .lbe-rep-more-panel {
    position:fixed;inset:auto 8px max(8px,env(safe-area-inset-bottom)) auto;
    max-height: min(76dvh,32rem);width:min(22rem,calc(100vw - 16px));
  }
}
@media (pointer: coarse) {
  html.lbe-ui-seatmap .card-plan-header-prestiscene.lbe-rep-commandbar {
    --hit: 44px;
  }
}
@container rep-plan (max-width:64rem) {
  html.lbe-ui-seatmap .card-plan-header-prestiscene.lbe-rep-commandbar {
    grid-template:
      'date zoom-in zoom-out fit undo export more expand' auto
      'modes status status status status status save save' auto /
      minmax(0, 1fr) var(--hit) var(--hit) var(--hit) var(--hit) max-content max-content var(--hit);
    & .lbe-rep-date-group {
      justify-self: start;
    }
    & .lbe-rep-save-status {
      justify-self: end;
    }
    & [data-lbe-extra='lock'] {
      grid-column: 1 / 2;
    }
    & [data-lbe-extra='sync'] {
      grid-column: 2 / 5;
    }
    & [data-lbe-extra='auto'] {
      grid-column: 5 / -1;
    }
    & [data-lbe-extra='back'] {
      grid-column: 1 / 2;
    }
    & [data-lbe-extra='cart'] {
      grid-column: 2 / 6;
    }
    & [data-lbe-extra='pdf'] {
      grid-column: 6 / -1;
    }
    & [data-lbe-extra='sliders'] {
      grid-column: 1 / -1;
    }
  }
}
@container rep-plan (max-width:38rem) {
  html.lbe-ui-seatmap .card-plan-header-prestiscene.lbe-rep-commandbar {
    grid-template-areas:
      'modes modes modes modes modes'
      'date date date date date'
      'zoom-in zoom-out fit undo export'
      'more session session session session';
    grid-template-columns: repeat(4, minmax(0,1fr)) max-content;
    grid-template-rows: repeat(4, auto);
    & > .lbe-seat-placement-tools {
      justify-self: stretch;
      width: 100%;
    }
    & .lbe-seat-placement-tools > button {
      flex: 1 1 auto;
      padding-inline: 4px;
      white-space: normal;
    }
    & .lbe-rep-date-group {
      justify-self: stretch;
    }
    & .lbe-rep-export { justify-self:start; }
    & .lbe-rep-session-tools {
      display: grid !important;
      grid-area: session;
      grid-template-columns: minmax(0, 1fr) max-content;
      grid-template-areas: 'status save';
      align-items: center;
      gap: 6px 10px;
    }
    & .lbe-rep-session-tools [data-lbe-extra='back'] { grid-column: 1; }
    & .lbe-rep-session-tools [data-lbe-extra='cart'] { grid-column: 2; }
    & .lbe-rep-save-status {
      justify-self: start;
      min-inline-size: 0;
      margin-inline: 0 !important;
      white-space: normal !important;
      line-height: 1.3;
    }
    & [data-lbe-plan-command='view'],
    & [data-lbe-tool='undo'],
    & .lbe-rep-more {
      width: 100%;
      min-inline-size: min(100%, var(--hit));
      justify-self: stretch;
    }
    & .lbe-rep-more-label {
      display: none;
    }
    & .lbe-seat-workspace-expand {
      display: none;
    }
    & [data-lbe-tool='save'] {
      min-width: var(--hit);
      min-height: var(--hit);
    }
    & [data-lbe-extra='lock'],
    & [data-lbe-extra='auto'],
    & [data-lbe-extra='back'] {
      grid-column: 1 / 4;
    }
    & [data-lbe-extra='sync'],
    & [data-lbe-extra='pdf'],
    & [data-lbe-extra='cart'] {
      grid-column: 4 / -1;
    }
  }
}

/* At high zoom the session controls still fit at their intrinsic size. */
@container rep-plan (max-width: 21rem) {
  html.lbe-ui-seatmap .card-plan-header-prestiscene.lbe-rep-commandbar {
    & .lbe-rep-session-tools {
      grid-template-columns: minmax(0, 1fr);
      grid-template-areas: 'status' 'save';
    }
    & .lbe-rep-session-tools [data-lbe-extra] { grid-column: 1; }
    & [data-lbe-tool='save'] { justify-self: start; }
  }
}

@media(min-width:601px){html.lbe-ui-seatmap .lbe-rep-more-panel.lbe-rep-above {transform:translateY(-100%);}}

html.lbe-ui-seatmap .lbe-rep-commandbar .lbe-rep-export { grid-area: export; margin: 0!important; justify-self: start; }
html.lbe-ui-seatmap .lbe-rep-commandbar .lbe-rep-export [data-lbe-tool=pdf] {
  align-items:center; display:inline-flex; flex-wrap:nowrap; gap:6px; height:var(--hit);
  color:#17446b; background:#f5f9ff; border-color:#9cb6ce; padding:4px 9px; white-space:nowrap;
}
html.lbe-ui-seatmap .lbe-rep-export .dropdown-menu {max-width:min(20rem,calc(100vw - 16px));}

html.lbe-ui-seatmap [data-controller~="configuration--representation-plan"] {
  & .lbe-seat-workspace {
    display: grid !important;
    align-items: stretch !important;
    min-inline-size: 0;
    grid-template-columns: minmax(0, 1fr) clamp(20rem, 29%, 25rem);
    grid-template-rows: minmax(0, 1fr);
    column-gap: 12px;
    margin-inline: 0;
    block-size: max(22rem, var(--lbe-seat-workspace-height, 32rem));
  }

  & .lbe-seat-workspace > :is(.lbe-seat-workspace-map, .lbe-seat-workspace-reservations) {
    min-inline-size: 0;
    min-block-size: 0;
    inline-size: 100% !important;
    max-inline-size: 100% !important;
    margin-block-end: 0 !important;
    padding-inline: 0;
    display: flex;
    flex-direction: column;
  }

  & .lbe-seat-workspace-map > .lbe-plan-native-container {
    /* Prestiscène measures this container, including the new block size. */
    flex: 1 1 0;
    height: auto !important;
    min-block-size: 10rem;
  }

  & .lbe-seat-workspace-reservations > :not(.lbe-plan-reservation-scroll) {
    flex-shrink: 0;
  }

  & .lbe-plan-reservation-scroll {
    flex: 1 1 auto;
    min-block-size: 0;
    max-block-size: none !important;
    overscroll-behavior-y: contain;
  }

  & .lbe-seat-workspace[data-lbe-plan-expanded="true"] {
    grid-template-columns: minmax(0, 1fr);
  }

  & .lbe-seat-workspace[data-lbe-plan-expanded="true"] >
    :is(.lbe-seat-workspace-reservations, .lbe-rep-panel-controls) {
    display: none !important;
  }

  & .lbe-seat-workspace-expand {
    min-block-size: 38px;
    padding: 6px 10px;
    border: 1px solid var(--lbe-rep-line, #c9d5e3);
    border-radius: 6px;
    background: #fff;
    color: var(--lbe-rep-ink, #203650);
    font: inherit;
    font-size: .875rem;
  }

  & .lbe-seat-workspace-expand:hover,
  & .lbe-seat-workspace-expand[aria-pressed="true"] {
    background: #e9f1fb;
  }

  & .lbe-seat-workspace-expand:focus-visible {
    outline: 2px solid var(--lbe-rep-focus, #18569a);
    outline-offset: 2px;
  }
}

@media (max-width: 900px) {
  html.lbe-ui-seatmap [data-controller~="configuration--representation-plan"] {
    & .lbe-rep-workspace.lbe-seat-workspace {
      --lbe-seat-panel-minimum: max(12rem, var(--lbe-seat-workspace-panel-minimum, 0px));
      grid-template-columns: minmax(0, 1fr);
      grid-template-rows: minmax(14rem, 1fr) auto minmax(var(--lbe-seat-panel-minimum), min(34%, 16rem));
      gap: 8px;
      block-size: max(calc(18rem + var(--lbe-seat-panel-minimum)), var(--lbe-seat-workspace-height, 38rem));
    }

    & .lbe-seat-workspace[data-lbe-panel-mode="expanded"] {
      grid-template-rows: minmax(14rem, 1fr) auto minmax(var(--lbe-seat-panel-minimum), min(46%, 24rem));
    }

    & .lbe-seat-workspace[data-lbe-panel-mode="closed"] {
      grid-template-rows: minmax(14rem, 1fr) auto;
      block-size: max(22rem, var(--lbe-seat-workspace-height, 32rem));
    }

    & .lbe-seat-workspace[data-lbe-plan-expanded="true"] {
      grid-template-rows: minmax(14rem, 1fr);
      block-size: max(22rem, var(--lbe-seat-workspace-height, 32rem));
    }

    & .lbe-seat-workspace > .lbe-seat-workspace-reservations {
      max-block-size: none;
      overflow-y: visible;
    }
  }
}

@media (max-width: 600px) {
  html.lbe-ui-seatmap [data-controller~="configuration--representation-plan"] {
    & .lbe-rep-workspace.lbe-seat-workspace {
      grid-template-rows: auto;
      block-size: auto;
    }

    & .lbe-seat-workspace > .lbe-seat-workspace-map {
      block-size: max(17rem, calc(var(--lbe-seat-workspace-height, 28rem) - 3.25rem));
    }

    & .lbe-seat-workspace > .lbe-seat-workspace-reservations {
      max-block-size: max(14rem, 54dvh);
    }

    & .lbe-seat-workspace-expand {
      display: none;
    }
  }
}

@media (pointer: coarse) {
  html.lbe-ui-seatmap [data-controller~="configuration--representation-plan"] .lbe-seat-workspace-expand {
    min-block-size: 44px;
  }
}

html.lbe-ui-seatmap .lbe-seat-reservations-pane {
  --lbe-seat-reservation-ink: #182b43;
  --lbe-seat-reservation-muted: #45607b;
  --lbe-seat-reservation-line: #cad6e3;
  --lbe-seat-reservation-accent: #1556a0;
}

/* The provider renders “6/8 place(s)” in one small. Let title and count
   wrap as two units even when the surrounding header uses overflow-wrap. */
html.lbe-ui-seatmap .lbe-seat-reservations-pane .card-header:has(> .uppercase):has(> small) {
  display:flex;
  align-items:baseline;
  flex-wrap:wrap;
  justify-content:space-between;
  gap:2px 10px;
  text-align:start !important;
}
html.lbe-ui-seatmap .lbe-seat-reservations-pane .card-header:has(> .uppercase):has(> small) > br {
  display:none;
}
html.lbe-ui-seatmap .lbe-seat-reservations-pane .card-header > small,
html.lbe-ui-seatmap .lbe-seat-reservations-pane .card-plan-reservation-body-prestiscene .text-end > :is(.badge,.text-nowrap) {
  white-space:nowrap !important;
  overflow-wrap:normal !important;
  word-break:normal;
  inline-size:auto !important;
  font-variant-numeric:tabular-nums;
}
html.lbe-ui-seatmap .lbe-seat-reservation-toolbar {
  flex:0 0 auto;
  display:grid;
  gap:8px;
  padding:8px 0 10px;
  border-block-end:1px solid var(--lbe-seat-reservation-line);
}
html.lbe-ui-seatmap .lbe-seat-reservation-search {
  inline-size:100%;
  min-inline-size:0;
  min-block-size:36px;
  padding:5px 9px;
  border:1px solid #9eb0c5;
  border-radius:6px;
  background:#fff;
  color:var(--lbe-seat-reservation-ink);
  font:inherit;
  font-size:.875rem;
}
html.lbe-ui-seatmap .lbe-seat-reservation-filters {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  align-items:stretch;
  padding:3px;
  border-radius:7px;
  background:#e7eef5;
}
html.lbe-ui-seatmap .lbe-seat-reservation-filter {
  min-inline-size:0;
  min-block-size:32px;
  padding:3px;
  border:1px solid transparent;
  border-radius:5px;
  background:transparent;
  color:#324a63;
  font:inherit;
  font-size:.8125rem;
  font-weight:500;
  line-height:1.3;
  cursor:pointer;
}
html.lbe-ui-seatmap .lbe-seat-reservation-filter:hover:not([aria-pressed=true]) { background:#dce5ef; }
html.lbe-ui-seatmap .lbe-seat-reservation-filter[aria-pressed=true] {
  border-color:#9ab2cb;
  background:#fff;
  color:#143b62;
  font-weight:650;
}
html.lbe-ui-seatmap .lbe-seat-reservation-refine {
  display:grid; gap:6px;
}
html.lbe-ui-seatmap .lbe-seat-reservation-refine-toggle {
  display:flex; align-items:center; justify-content:start; gap:8px; min-block-size:32px; padding:4px 2px;
  border:0;
  border-radius:6px; background:#fff; cursor:pointer; color:#314d67; font:inherit; font-size:.8125rem; font-weight:600;
}
html.lbe-ui-seatmap .lbe-seat-reservation-refine-toggle::after { content:'⌄'; font-size:1rem; line-height:1; }
html.lbe-ui-seatmap .lbe-seat-reservation-refine-toggle[aria-expanded=true]::after { transform:rotate(180deg); }
html.lbe-ui-seatmap .lbe-seat-native-refine-controls {
  display:none;
}
html.lbe-ui-seatmap [data-lbe-refine-open=true] > .lbe-seat-native-refine-controls {
  display:flex; align-items:center; flex-wrap:wrap; gap:6px; padding:7px 9px;
}
html.lbe-ui-seatmap .lbe-seat-native-refine-controls #showUnplacedOnly,
html.lbe-ui-seatmap .lbe-seat-native-refine-controls label:has(#showUnplacedOnly) { display:none !important; }
html.lbe-ui-seatmap .lbe-seat-native-refine-controls select { flex:1 1 12rem; min-inline-size:0; }
html.lbe-ui-seatmap .lbe-seat-reservation-filter-summary {
  margin:0;
  color:var(--lbe-seat-reservation-muted);
  font-size:.8125rem;
}
html.lbe-ui-seatmap .lbe-seat-reservations-pane .card-plan-reservation-prestiscene { scroll-margin-block:8px; }
html.lbe-ui-seatmap .lbe-seat-reservation-filtered { display:none !important; }
html.lbe-ui-seatmap .lbe-seat-reservation-selected {
  outline:2px solid #1765a4;
  outline-offset:-2px;
  background:#edf6ff;
  box-shadow:inset 4px 0 0 #1765a4, 0 2px 7px rgb(33 76 112 / 14%);
}
html.lbe-ui-seatmap .lbe-seat-reservation-summary {
  display:grid;
  grid-template-columns:18px minmax(0,1fr) auto;
  align-items:center;
  gap:2px 7px;
  padding:4px 8px 5px;
  color:var(--lbe-seat-reservation-ink);
}
/* One grip on the card. The older, centred pseudo-element consumes an
   entire row and duplicates this affordance. */
html.lbe-ui-seatmap [data-controller~="configuration--representation-plan"] .lbe-seat-reservations-pane
.card-plan-reservation-prestiscene[data-lbe-seat-reservation-id]::before { content:none; }
html.lbe-ui-seatmap [draggable=true] .lbe-seat-reservation-grip {
  display:inline-block;
  width:18px;
  height:18px;
  background:radial-gradient(circle,#6b8197 1.2px,transparent 1.5px) left top / 6px 6px;
  cursor:grab;
  user-select:none;
}
html.lbe-ui-seatmap [draggable=true] .lbe-seat-reservation-grip:active { cursor:grabbing; }
html.lbe-ui-seatmap .card-plan-reservation-prestiscene:not([draggable=true]) > .lbe-seat-reservation-summary {
  grid-template-columns:minmax(0,1fr) auto;
}
html.lbe-ui-seatmap .card-plan-reservation-prestiscene:not([draggable=true]) .lbe-seat-reservation-grip { display:none; }
html.lbe-ui-seatmap .lbe-seat-reservation-name,
html.lbe-ui-seatmap .lbe-seat-reservation-detail-button {
  min-inline-size:0;
  min-block-size:36px;
  padding:3px 0;
  border:0;
  border-radius:4px;
  background:transparent;
  color:var(--lbe-seat-reservation-ink);
  font:inherit;
  cursor:pointer;
}
html.lbe-ui-seatmap .lbe-seat-reservation-name {
  justify-self:start;
  text-align:start;
  font-weight:650;
  line-height:1.3;
  overflow-wrap:anywhere;
}
html.lbe-ui-seatmap .lbe-seat-reservation-name[aria-pressed=true] { color:var(--lbe-seat-reservation-accent); }
html.lbe-ui-seatmap .lbe-seat-reservation-name[aria-current=true] { font-weight:700; }
html.lbe-ui-seatmap .lbe-seat-reservation-name:hover { text-decoration:underline;text-underline-offset:3px; }
html.lbe-ui-seatmap .lbe-seat-reservation-detail-button {
  display:inline-grid;
  place-items:center;
  min-inline-size:36px;
  color:var(--lbe-seat-reservation-muted);
}
html.lbe-ui-seatmap .lbe-seat-reservation-detail-button:hover { background:#e6edf5; }
html.lbe-ui-seatmap .lbe-seat-reservation-detail-button svg { width:16px; height:16px; }
html.lbe-ui-seatmap .lbe-seat-reservation-detail-button[aria-expanded=true] svg { transform:rotate(180deg); }
html.lbe-ui-seatmap .lbe-seat-reservation-summary [hidden] { display:none !important; }
html.lbe-ui-seatmap .lbe-seat-placement-status {
  grid-column:1 / -1;
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:5px 8px;
  min-inline-size:0;
  padding:4px 0 1px;
  color:#183e62;
}
html.lbe-ui-seatmap .lbe-seat-placement-amount {
  min-inline-size:0;
  color:#0b4476;
  font-size:1rem;
  font-weight:750;
  line-height:1.25;
}
html.lbe-ui-seatmap .lbe-seat-placement-detail {
  flex:none;
  color:#4a6278;
  font-size:.75rem;
  font-variant-numeric:tabular-nums;
  line-height:1.25;
  white-space:nowrap;
}
html.lbe-ui-seatmap .lbe-seat-placement-complete .lbe-seat-placement-amount { color:#36703b; }
html.lbe-ui-seatmap .lbe-seat-reservation-outside {
  grid-column:1/-1;
  font-size:.8125rem;
  color:var(--lbe-seat-reservation-muted);
}
html.lbe-ui-seatmap .lbe-seat-reservation-has-summary .card-plan-reservation-body-prestiscene p.bold,
html.lbe-ui-seatmap .card-plan-reservation-prestiscene:not(.lbe-seat-reservation-details-open) .lbe-seat-reservation-detail { display:none; }
html.lbe-ui-seatmap .lbe-seat-reservation-selected .lbe-seat-reservation-detail {
  display:block;
  margin:6px 0 0;
  color:#354f66;
  font-size:.8125rem;
  line-height:1.4;
  overflow-wrap:anywhere;
  white-space:pre-wrap;
}
html.lbe-ui-seatmap .lbe-seat-reservation-selected .card-plan-reservation-body-prestiscene {
  border:0;
}
html.lbe-ui-seatmap .lbe-seat-reservations-pane .card-plan-reservation-body-prestiscene > .d-flex {
  flex-wrap:wrap;
  align-items:center !important;
  gap:3px 8px;
}
html.lbe-ui-seatmap .lbe-seat-reservations-pane .card-plan-reservation-body-prestiscene .text-end {
  flex:0 0 auto;
  margin-inline-start:auto;
  max-inline-size:100%;
}
html.lbe-ui-seatmap .card-plan-reservation-prestiscene:not(.lbe-seat-reservation-selected)
  .card-plan-reservation-body-prestiscene .text-end { display:none; }
html.lbe-ui-seatmap .lbe-seat-reservation-selected .card-plan-reservation-body-prestiscene .text-end {
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:3px;
  padding-inline-start:8px;
}
html.lbe-ui-seatmap .lbe-seat-reservations-pane :is(button,input):focus-visible {
  outline:2px solid var(--lbe-seat-reservation-accent);
  outline-offset:2px;
}
@media(pointer:coarse) {
  html.lbe-ui-seatmap .lbe-seat-reservations-pane :is(.lbe-seat-reservation-filter,.lbe-seat-reservation-detail-button,.lbe-seat-reservation-name,.lbe-seat-reservation-search) {
    min-block-size:44px;
  }
  html.lbe-ui-seatmap .lbe-seat-reservation-detail-button { min-inline-size:44px; }
  html.lbe-ui-seatmap .lbe-seat-reservation-search { font-size:1rem; }
}
html.lbe-ui-seatmap .lbe-seat-reservation-name {
  display:flex;flex-direction:column;align-items:flex-start;justify-content:center;
  width:100%;gap:2px;line-height:1.25;
}
html.lbe-ui-seatmap .lbe-seat-card-title {color:#17354c;font-size:.9375rem;font-weight:600;}
html.lbe-ui-seatmap .lbe-seat-card-customer {color:#465e73;font-size:.8125rem;font-weight:400;}
html.lbe-ui-seatmap .lbe-seat-reservations-pane .lbe-seat-reservation-summary {padding:7px 9px 2px;}
html.lbe-ui-seatmap .lbe-seat-reservations-pane .card-plan-reservation-header-prestiscene {padding:2px 8px;}
html.lbe-ui-seatmap .lbe-seat-reservations-pane .lbe-rep-reservation-row {gap:3px 6px;}
html.lbe-ui-seatmap .lbe-rep-reservation-row > div:first-child {
  display:flex;align-items:center;flex-wrap:wrap;gap:3px 7px;min-inline-size:0;
}
html.lbe-ui-seatmap .lbe-rep-reservation-row > div:first-child :is(a,small) {margin-inline-start:0!important;}
html.lbe-ui-seatmap .lbe-rep-reservation-row .bold {font-size:.8125rem;font-weight:500;}
html.lbe-ui-seatmap .lbe-rep-reservation-row .lbe-rep-release {min-height:32px;font-size:.8125rem;padding:3px 5px;}
html.lbe-ui-seatmap .lbe-seat-reservations-pane .card-plan-reservation-body-prestiscene {padding:5px 8px;}
html.lbe-ui-seatmap .lbe-seat-reservations-pane .lbe-seat-reservation-selected {opacity:1!important;}
html.lbe-ui-seatmap .card-plan-reservation-prestiscene .card-plan-reservation-header-prestiscene {border-block-end:0;}
html.lbe-ui-seatmap .lbe-seat-known-count .card-plan-reservation-body-prestiscene:has(.text-end):not(:has(button,a,.lbe-seat-urgent-detail)) {padding-block:0;}
html.lbe-ui-seatmap .lbe-seat-detail-source-hidden { display:none !important; }
html.lbe-ui-seatmap .lbe-seat-selected-details {
  display:grid;gap:5px;padding:6px 9px 8px;border-block-start:1px solid #d3e0eb;
  color:#29465e;font-size:.8125rem;line-height:1.38;
}
html.lbe-ui-seatmap .lbe-seat-detail-heading {
  margin:2px 0 0;color:#587087;font-size:.6875rem;font-weight:700;
  letter-spacing:.06em;text-transform:uppercase;
}
html.lbe-ui-seatmap .lbe-seat-detail-list {display:grid;gap:3px;}
html.lbe-ui-seatmap .lbe-seat-detail-row {display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:baseline;}
html.lbe-ui-seatmap .lbe-seat-detail-label {min-inline-size:0;overflow-wrap:anywhere;white-space:pre-wrap;}
html.lbe-ui-seatmap .lbe-seat-detail-quantity {font-variant-numeric:tabular-nums;color:#183f61;white-space:nowrap;}
@media(pointer:coarse){
  html.lbe-ui-seatmap .lbe-rep-reservation-row .lbe-rep-release {min-height:44px;}
}

html.lbe-ui-seatmap .lbe-seat-original-detail {display:none;}
html.lbe-ui-seatmap .card-plan-reservation-prestiscene:not(.lbe-seat-reservation-selected) .lbe-seat-original-detail.lbe-seat-urgent-detail {display:block;}
html.lbe-ui-seatmap .lbe-seat-detail-list {list-style:none;margin:0;padding:0;}
html.lbe-ui-seatmap .lbe-seat-detail-label {white-space:pre-line;overflow-wrap:anywhere;}
html.lbe-ui-seatmap .lbe-seat-known-count .card-plan-reservation-body-prestiscene .text-end > :is(.badge,.text-nowrap) {display:none!important;}
html.lbe-ui-seatmap .lbe-seat-reservations-pane .card-plan-reservation-prestiscene:not(.lbe-seat-reservation-selected) .card-plan-reservation-header-prestiscene,
html.lbe-ui-seatmap .lbe-seat-reservations-pane .card-plan-reservation-prestiscene:not(.lbe-seat-reservation-selected) .card-plan-reservation-body-prestiscene {border:0;}

html.lbe-ui-seatmap .lbe-seat-preview-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 4;
  pointer-events: none;
  overflow: hidden;
}
html.lbe-ui-seatmap .lbe-seat-area-armed { touch-action: none; cursor: crosshair; }
html.lbe-ui-seatmap .lbe-seat-choice-armed canvas { cursor: crosshair; }
html.lbe-ui-seatmap .lbe-seat-plan-input:focus-visible { outline: 3px solid #155db0; outline-offset: -3px; }
html.lbe-ui-seatmap .lbe-seat-assigned { fill: #175f9d30; stroke: #0d4e86; stroke-width: 3px; }
html.lbe-ui-seatmap .lbe-seat-origin { fill: #8b286e20; stroke: #8b286e; stroke-width: 3px; stroke-dasharray: 5 3; }
html.lbe-ui-seatmap .lbe-seat-preview-first { fill: #00897964; stroke: #005344; stroke-width: 3px; }
html.lbe-ui-seatmap .lbe-seat-preview-next { fill: #009b8338; stroke: #00695b; stroke-width: 2px; }
html.lbe-ui-seatmap .lbe-seat-preview-blocked { fill: none; stroke: #993715; stroke-width: 2.5px; stroke-dasharray: 3 2; }
html.lbe-ui-seatmap .lbe-seat-preview-path { fill: none; stroke: #00695bcc; stroke-width: 2px; }
html.lbe-ui-seatmap .lbe-seat-cursor-pin {
  position: absolute;
  z-index: 5;
  width: 10px;
  height: 10px;
  box-sizing: border-box;
  transform: translate(-50%, -50%);
  pointer-events: none;
  background: transparent;
  border: 1.5px solid #005344;
  border-radius: 50%;
}
html.lbe-ui-seatmap .lbe-seat-hover-count {
  position: absolute; z-index: 6; pointer-events: none;
  padding: 4px 9px; border-radius: 12px;
  background: #123651; color: white;
  font-size: .8125rem; font-weight: 600; white-space: nowrap;
}
html.lbe-ui-seatmap .lbe-seat-placement-tools {
  display: inline-flex; align-items: stretch;
  width: max-content; max-width: 100%; gap: 2px; padding: 2px;
  border: 1px solid #bcc9d5; border-radius: 7px; background: #f0f3f6;
}
html.lbe-ui-seatmap .lbe-seat-placement-tools:not(:has(button)) { position: absolute; width: 0; height: 0; padding: 0; border: 0; }
html.lbe-ui-seatmap .lbe-seat-tool-status {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
html.lbe-ui-seatmap .lbe-seat-native-mode { display: none !important; }
html.lbe-ui-seatmap :is(.lbe-seat-selection-bar,.lbe-seat-placement-prompt) { color: #152b40; }
html.lbe-ui-seatmap .lbe-seat-selection-bar {
  display:flex; align-items:center; flex-wrap:wrap;
  gap:5px 7px; padding:5px 0 0; margin:0 8px 7px;
  border:0; border-radius:0; background:transparent;
}
html.lbe-ui-seatmap .lbe-seat-selection-progress {
  min-inline-size:0; color:#26475f; font-size:.8125rem; font-weight:600; line-height:1.35;
  font-variant-numeric:tabular-nums;
}
html.lbe-ui-seatmap .lbe-seat-selection-bar > a {
  color:#245a88; font-size:.8125rem; text-decoration-thickness:1px; text-underline-offset:2px;
}
html.lbe-ui-seatmap .lbe-seat-selection-bar > small { color:#506f87; font-size:.75rem; }
html.lbe-ui-seatmap .lbe-seat-selection-bar > select { max-inline-size:100%; }
html.lbe-ui-seatmap .lbe-seat-selection-bar .lbe-seat-choice-actions {
  display:flex; align-items:center; flex-wrap:wrap; gap:6px;
}
html.lbe-ui-seatmap .lbe-seat-placement-prompt {
  position: absolute; z-index: 8; display: flex; align-items: center; flex-wrap: wrap;
  width: max-content; max-width: min(calc(100% - 12px), 22rem); box-sizing: border-box;
  gap: 4px 10px; padding: 5px 6px 5px 10px; margin: 0;
  border: 1px solid #9fb3c5; border-radius: 8px; background: #fff;
  box-shadow: 0 2px 8px #18354b26; font-size: .875rem; line-height: 1.3;
}
html.lbe-ui-seatmap .lbe-seat-placement-prompt:is([data-phase="start"],[data-phase="end"],[data-phase="move"]) { pointer-events: none; }
html.lbe-ui-seatmap .lbe-seat-placement-prompt button { pointer-events: auto; }
html.lbe-ui-seatmap .lbe-seat-placement-prompt[data-phase="partial"] { display: grid; gap: 6px; padding: 8px; }
html.lbe-ui-seatmap .lbe-seat-placement-prompt[data-phase="error"] { color: #893e16; }
html.lbe-ui-seatmap .lbe-seat-choice-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
html.lbe-ui-seatmap :is(.lbe-seat-placement-tools,.lbe-seat-selection-bar,.lbe-seat-placement-prompt) :is(button,select) {
  display: inline-flex; align-items: center; justify-content: center; gap: 5px;
  width: auto; min-height: 34px; padding: 4px 9px; border: 1px solid #a3b5c5;
  border-radius: 5px; color: #203e58; background: white; font: inherit; font-size: .84375rem; line-height: 1.2;
}
html.lbe-ui-seatmap :is(.lbe-seat-selection-bar,.lbe-seat-placement-prompt) button:has(> svg:only-child) {
  width: 34px; padding: 4px; border-color: transparent; background: transparent;
}
html.lbe-ui-seatmap :is(.lbe-seat-selection-bar,.lbe-seat-placement-prompt) button svg { width: 18px; height: 18px; }
html.lbe-ui-seatmap .lbe-seat-placement-tools button { border: 0; background: transparent; min-height: 32px; }
html.lbe-ui-seatmap .lbe-seat-placement-tools button[aria-pressed="true"] { background: #24476a; color: #fff; }
html.lbe-ui-seatmap .lbe-seat-placement-prompt .lbe-seat-confirm { color: white; background: #175186; border-color: #175186; }
@media (hover: hover) {
  html.lbe-ui-seatmap :is(.lbe-seat-placement-tools,.lbe-seat-selection-bar,.lbe-seat-placement-prompt) button:not(:disabled):not([aria-pressed="true"]):hover { background: #e5edf5; color: #132e47; }
  html.lbe-ui-seatmap .lbe-seat-placement-prompt .lbe-seat-confirm:not(:disabled):hover { background: #0e3f6c; color: #fff; }
}
html.lbe-ui-seatmap :is(.lbe-seat-placement-tools,.lbe-seat-selection-bar,.lbe-seat-placement-prompt) :is(button,select,a):focus-visible {
  outline: 3px solid #1456ba; outline-offset: 2px;
}
html.lbe-ui-seatmap .lbe-seat-choice-actions button:disabled { border-style: dashed; color: #52677f; background: #f0f2f4; }
@media (pointer: coarse) {
  html.lbe-ui-seatmap :is(.lbe-seat-placement-tools,.lbe-seat-selection-bar,.lbe-seat-placement-prompt) :is(button,select) { min-height: 44px; }
  html.lbe-ui-seatmap :is(.lbe-seat-selection-bar,.lbe-seat-placement-prompt) button:has(> svg:only-child) { width: 44px; }
}
html.lbe-ui-seatmap :is(.lbe-seat-selection-bar,.lbe-seat-placement-prompt,.lbe-seat-hover-count,.lbe-seat-cursor-pin)[hidden],
html.lbe-ui-seatmap :is(.lbe-seat-selection-bar,.lbe-seat-placement-prompt) [hidden] { display: none !important; }
html.lbe-ui-seatmap .lbe-seat-grabbable canvas,
html.lbe-ui-seatmap [data-lbe-group-movable] .lbe-seat-reservation-summary,
html.lbe-ui-seatmap [data-lbe-group-movable] .lbe-seat-reservation-name { cursor: grab; }
html.lbe-ui-seatmap .lbe-seat-grabbing canvas { cursor: grabbing !important; }
html.lbe-ui-seatmap .lbe-seat-hover-count {
  max-inline-size: min(16rem, calc(100% - 8px)); overflow: hidden; text-overflow: ellipsis;
}
html.lbe-ui-seatmap .lbe-seat-hover-count[data-lbe-seat-box-tracking] {
  z-index:7;
  padding:3px 7px;
  border-radius:5px;
  background:#173b55e8;
  font-size:.75rem;
  font-variant-numeric:tabular-nums;
  box-shadow:0 1px 3px #10283d40;
}
html.lbe-ui-seatmap [draggable=false][data-lbe-group-movable] > .lbe-seat-reservation-summary {
  grid-template-columns: 18px minmax(0,1fr) auto;
}
html.lbe-ui-seatmap [draggable=false][data-lbe-group-movable] .lbe-seat-reservation-grip {
  display:inline-block; width:18px; height:18px; cursor:grab;
  background:radial-gradient(circle,#637f90 1.25px, transparent 1.6px) left top / 6px 6px;
}

/* Native table/seat info is a fixed, pointer-transparent sibling of the plan.
   It remains available at rest; while aiming it would cover the destination. */
html.lbe-ui-seatmap .representation-plan:has(.lbe-seat-choice-armed) ~ div[style*="position: fixed"][style*="pointer-events: none"] {
  visibility: hidden;
}
html.lbe-ui-seatmap .lbe-seat-selection-bar {
  border-block-start:1px solid #ccd9e3;padding:7px 0 0;margin:1px 8px 7px;
}
html.lbe-ui-seatmap .lbe-seat-selection-bar .lbe-seat-choice-actions {width:100%;gap:5px;}
html.lbe-ui-seatmap .lbe-seat-selection-bar .lbe-seat-start-placement {
  background:#244c6e;color:#fff;border-color:#244c6e;
}
html.lbe-ui-seatmap .lbe-seat-selection-bar .lbe-seat-choice-actions button:last-child {margin-inline-start:auto;}

/* The saved state belongs to the reservation card and the seats, so the staff
   can see the operation continues after they release the pointer. */
html.lbe-ui-seatmap [data-lbe-seat-reservation-id][data-lbe-seat-saving] {
  position:relative;
  isolation:isolate;
}
html.lbe-ui-seatmap [data-lbe-seat-reservation-id][data-lbe-seat-saving]::after {
  content:'';
  position:absolute;
  inset:0;
  z-index:2;
  pointer-events:none;
  border:2px solid #2d6a9d;
  border-radius:7px;
  opacity:.36;
  animation:lbe-seat-saving-pulse 1.05s ease-in-out infinite;
}
html.lbe-ui-seatmap .lbe-seat-placement-prompt[data-phase="saving"] {
  border-color:#2d6a9d;
  box-shadow:0 2px 8px #18354b26, 0 0 0 3px #2d6a9d1f;
}
html.lbe-ui-seatmap .lbe-seat-placement-prompt[data-phase="saving"]::before {
  content:'';
  flex:0 0 auto;
  width:12px;height:12px;
  border:2px solid #a9c5dd;
  border-top-color:#2d6a9d;
  border-radius:50%;
  animation:lbe-seat-spin .8s linear infinite;
}
html.lbe-ui-seatmap .lbe-seat-placement-prompt[data-phase="review"] {
  border-color:#1b6e7b;
  box-shadow:0 2px 8px #18354b26,0 0 0 3px #1b6e7b18;
}
html.lbe-ui-seatmap .lbe-seat-placement-prompt[data-phase="partial"] strong,
html.lbe-ui-seatmap .lbe-seat-placement-prompt[data-phase="review"] strong {font-weight:700;}
@keyframes lbe-seat-saving-pulse {50%{opacity:1;box-shadow:0 0 0 4px #2d6a9d17;}}
@keyframes lbe-seat-spin {to{transform:rotate(1turn);}}
@media (prefers-reduced-motion:reduce) {
  html.lbe-ui-seatmap [data-lbe-seat-reservation-id][data-lbe-seat-saving]::after,
  html.lbe-ui-seatmap .lbe-seat-placement-prompt[data-phase="saving"]::before {animation:none;}
}

html.lbe-ui-seatmap .lbe-seat-rectangle {
  fill: rgb(11 102 151 / 6%);
  stroke: #246a94;
  stroke-width: 1.5;
  stroke-dasharray: 5 3;
  pointer-events:none;
}
html.lbe-ui-seatmap .lbe-seat-plan-input.lbe-seat-choice-armed {touch-action:none;}

html.lbe-ui-seatmap .lbe-seat-hover-count[data-lbe-saved] {
  background:#17523d;
}
html.lbe-ui-seatmap .lbe-seat-hover-count[data-lbe-saved]::before {
  content:"";display:inline-block;inline-size:.36em;block-size:.7em;
  margin-inline:1px .55em;border:solid currentColor;border-width:0 2px 2px 0;
  transform:rotate(45deg);
}

/* A quiet working surface makes the native room and mode the strongest cues. */
html.lbe-ui-seatmap [data-controller~="configuration--salle-plan-builder"] .lbe-room-plan-toolbar {
  padding: 8px;
  border-bottom: 1px solid var(--lbe-line, #b8c7da);
  background: #f7f9fc;
}

html.lbe-ui-seatmap [data-controller~="configuration--salle-plan-builder"] .lbe-room-plan-toolbar > .d-flex {
  gap: 6px 10px;
}

html.lbe-ui-seatmap [data-controller~="configuration--salle-plan-builder"] .lbe-room-plan-toolbar .d-flex {
  min-inline-size: 0;
  max-inline-size: 100%;
}

html.lbe-ui-seatmap [data-controller~="configuration--salle-plan-builder"] .lbe-room-plan-toolbar .btn-group {
  flex-wrap: wrap;
  max-inline-size: 100%;
  gap: 4px;
}

html.lbe-ui-seatmap [data-controller~="configuration--salle-plan-builder"] .lbe-room-plan-toolbar .btn-group > .lbe-room-plan-command {
  flex: 0 0 auto;
  margin-inline-start: 0;
  border-radius: 6px;
}

html.lbe-ui-seatmap [data-controller~="configuration--salle-plan-builder"] .lbe-room-plan-command {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  max-inline-size: 100%;
  padding: 6px 10px;
  border: 1px solid #aebed2;
  border-radius: 6px;
  color: #243b59;
  background: #fff;
  font-size: .875rem;
  font-weight: 500;
  line-height: 1.25;
  white-space: normal;
}

html.lbe-ui-seatmap [data-controller~="configuration--salle-plan-builder"] .lbe-room-plan-command[data-lbe-room-plan-label]::after {
  content: attr(data-lbe-room-plan-label);
}

html.lbe-ui-seatmap [data-controller~="configuration--salle-plan-builder"] .lbe-room-plan-command:is(.lbe-room-plan-save,.lbe-room-plan-mode:is(.btn-primary,.active,[aria-pressed="true"])) {
  border-color: #2458ad;
  background: #2458ad;
  color: #fff;
}

html.lbe-ui-seatmap [data-controller~="configuration--salle-plan-builder"] .lbe-room-plan-command:hover:not(:disabled) {
  border-color: currentColor;
  filter: brightness(.96);
}

html.lbe-ui-seatmap [data-controller~="configuration--salle-plan-builder"] .lbe-room-plan-command:is(:disabled,[aria-disabled="true"]) {
  border-style: dashed;
  color: #526279;
  background: #eef2f7;
}

html.lbe-ui-seatmap [data-controller~="configuration--salle-plan-builder"] .lbe-room-plan-inspector {
  min-inline-size: 0;
}

html.lbe-ui-seatmap [data-controller~="configuration--salle-plan-builder"] .lbe-room-plan-idle:not(:has(input,select,textarea,button,a[href],[role="button"],[tabindex])) {
  display: none;
}

html.lbe-ui-seatmap [data-controller~="configuration--salle-plan-builder"] .lbe-room-plan-property-card > .card-header {
  background: #edf3fa;
  color: #243b59;
  border-bottom: 1px solid var(--lbe-line, #b8c7da);
  gap: 8px;
  line-height: 1.35;
  overflow-wrap: break-word;
}

html.lbe-ui-seatmap [data-controller~="configuration--salle-plan-builder"] .lbe-room-plan-field-row {
  display: grid;
  grid-template-columns: minmax(0, 26rem);
  gap: 5px;
  margin-inline: 0;
  margin-block-end: 10px;
}

html.lbe-ui-seatmap [data-controller~="configuration--salle-plan-builder"] :is(.lbe-room-plan-field-label,.lbe-room-plan-field-value) {
  inline-size: 100%;
  min-inline-size: 0;
  max-inline-size: none;
  padding-inline: 0;
  overflow-wrap: anywhere;
  line-height: 1.35;
}

html.lbe-ui-seatmap [data-controller~="configuration--salle-plan-builder"] .lbe-room-plan-field-label {
  color: #344a65;
  font-size: .875rem;
  font-weight: 600;
}

html.lbe-ui-seatmap [data-controller~="configuration--salle-plan-builder"] .lbe-room-plan-field-value :is(input:not([type="checkbox"]),select,textarea) {
  max-inline-size: 100%;
  inline-size: 100%;
  min-height: 36px;
}

html.lbe-ui-seatmap [data-controller~="configuration--salle-plan-builder"] .lbe-room-plan-delete {
  min-height: 36px;
  margin-block-start: 10px;
}

html.lbe-ui-seatmap [data-controller~="configuration--salle-plan-builder"] .lbe-room-plan-rows-label {
  overflow-wrap: anywhere;
}

html.lbe-ui-seatmap [data-controller~="configuration--salle-plan-builder"] .lbe-room-plan-rows-help-toggle {
  min-height: 36px;
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: #174a91;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-inline-start: 8px;
}

html.lbe-ui-seatmap [data-controller~="configuration--salle-plan-builder"] .lbe-room-plan-rows-help-toggle[aria-expanded="false"] + .lbe-room-plan-rows-help {
  display: none;
}

html.lbe-ui-seatmap [data-controller~="configuration--salle-plan-builder"] :is(.lbe-room-plan-command,.lbe-room-plan-inspector :is(button,input,select,textarea)):focus-visible {
  outline: 3px solid var(--lbe-focus, #1456ba);
  outline-offset: 2px;
}

@media (max-width: 991px) {
  /* Prestiscène redraws its layers at the native resize notification. Until
     then, an old wider drawing stays scrollable inside this column. */
  html.lbe-ui-seatmap [data-controller~="configuration--salle-plan-builder"] .lbe-room-plan-split > :is(.lbe-room-plan-map,.lbe-room-plan-inspector) {
    flex: 0 0 100%;
    inline-size: 100%;
    max-inline-size: 100%;
  }

  html.lbe-ui-seatmap [data-controller~="configuration--salle-plan-builder"] .lbe-room-plan-split > .lbe-room-plan-map {
    min-inline-size: 0;
    overflow-x: auto;
  }
}

@media (pointer: coarse) {
  html.lbe-ui-seatmap [data-controller~="configuration--salle-plan-builder"] :is(.lbe-room-plan-command,.lbe-room-plan-rows-help-toggle,.lbe-room-plan-rows-label,.lbe-room-plan-delete,.lbe-room-plan-field-value input:not([type="checkbox"]),.lbe-room-plan-field-value select) {
    min-height: 44px;
  }
}

html.lbe-ui-seatmap .lbe-seatmap-assistant {
  --lbe-assistant-ink: #142440;
  --lbe-assistant-muted: #49596d;
  --lbe-assistant-line: #c6d0db;
  --lbe-assistant-focus: #1456ba;
}

html.lbe-ui-seatmap .lbe-seatmap-assistant .modal-content {
  border-radius: 12px;
  color: var(--lbe-assistant-ink);
}

html.lbe-ui-seatmap .lbe-seatmap-assistant .modal-header {
  gap: 8px;
  flex-wrap: wrap;
  border-color: var(--lbe-assistant-line);
}

html.lbe-ui-seatmap .lbe-seatmap-assistant .modal-header > .modal-title {
  flex: 1 1 auto;
  min-inline-size: 0;
  line-height: 1.25;
  font-weight: 650;
}

html.lbe-ui-seatmap .lbe-seatmap-assistant .modal-header > .btn-close {
  flex-shrink: 0;
  margin-inline-start: 0;
}

html.lbe-ui-seatmap .lbe-seatmap-assistant .modal-body {
  min-block-size: 0;
  min-inline-size: 0;
  overscroll-behavior: contain;
}

html.lbe-ui-seatmap .lbe-seatmap-assistant .modal-footer {
  flex-shrink: 0;
  gap: 8px;
  border-color: var(--lbe-assistant-line);
}

html.lbe-ui-seatmap .lbe-seatmap-assistant :is(button, select, input, a[href]):focus-visible {
  outline: 3px solid var(--lbe-assistant-focus);
  outline-offset: 2px;
}

html.lbe-ui-seatmap .lbe-seatmap-assistant-intro > .modal-dialog {
  align-items: flex-start;
  min-block-size: 0;
}

html.lbe-ui-seatmap .lbe-seatmap-assistant-intro .modal-content {
  block-size: auto !important;
  min-block-size: 0 !important;
  overflow: visible;
}

html.lbe-ui-seatmap .lbe-seatmap-assistant-intro .modal-body {
  block-size: auto !important;
  min-block-size: 0 !important;
  overflow: clip;
}

html.lbe-ui-seatmap .lbe-seatmap-assistant-intro .modal-body > .lbe-seatmap-assistant-choice {
  position: relative !important;
  inset: auto !important;
  padding: clamp(12px, 2.2vw, 24px) !important;
}

/* The native workspace remains laid out at the same inline width while inert. */
html.lbe-ui-seatmap .lbe-seatmap-assistant-intro .modal-body > .lbe-seatmap-assistant-preview-behind-choice[inert] {
  position: absolute;
  inset-block-start: var(--bs-modal-padding, 1rem);
  inset-inline: var(--bs-modal-padding, 1rem);
  visibility: hidden;
}

html.lbe-ui-seatmap .lbe-seatmap-assistant-intro .lbe-seatmap-assistant-choice button {
  min-block-size: 48px;
  block-size: auto;
  text-align: start;
  white-space: normal;
  text-wrap: pretty;
}

html.lbe-ui-seatmap .lbe-seatmap-assistant-guide-navigation {
  position: sticky;
  inset-block-end: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: #f4f7fa;
  border-color: var(--lbe-assistant-line);
  color: var(--lbe-assistant-muted);
}

html.lbe-ui-seatmap .lbe-seatmap-assistant-step {
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

@media (pointer: coarse), (max-width: 640px) {
  html.lbe-ui-seatmap .lbe-seatmap-assistant :is(.modal-header, .modal-footer, .lbe-seatmap-assistant-guide-navigation) button {
    min-block-size: 44px;
  }

  html.lbe-ui-seatmap .lbe-seatmap-assistant :is(.modal-header, .card-header) .btn-close {
    min-inline-size: 44px;
  }
}

