
.section-editor{margin:0;background:#f4f7fb;color:#183655;font:15px system-ui,sans-serif}.section-editor main{max-width:1440px;margin:auto;padding:28px}.section-editor h2{font-size:19px}.section-eyebrow{font-size:11px;letter-spacing:3px;color:#577693}.section-editor button,.section-editor input,.section-editor select{font:inherit}.section-editor button,.section-back{border:1px solid #c8d7e6;background:#fff;color:#183655;border-radius:9px;padding:10px 14px;cursor:pointer}.section-editor button:hover{border-color:#1864d5}.section-editor .section-primary{background:#1761d1;color:white;border:0}.section-editor-layout{display:grid;grid-template-columns:280px minmax(0,1fr);gap:24px}.section-editor aside,.section-card{background:white;border:1px solid #dde6f0;border-radius:16px;padding:20px;margin-bottom:20px}.section-editor aside{align-self:start;position:sticky;top:16px}.section-editor p{color:#657a91;line-height:1.6}.section-editor #editor-section-list{display:grid;gap:8px;margin-bottom:12px}.section-editor #editor-section-list button{text-align:left;border-left:5px solid var(--section-color)}.section-editor #editor-section-list button.active{background:#eaf2ff;border-color:#1761d1}.section-editor label.field{display:grid;gap:6px;margin-top:16px}.section-editor input[type=text]{padding:8px;border:1px solid #ccd8e6;border-radius:7px;min-width:0}.section-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:16px 0}.editor-seat-scroll{overflow:auto;max-height:500px;padding:16px;background:#f6f8fc;border-radius:12px}.section-editor #editor-seat-grid,.section-mini-grid{display:grid;width:max-content;gap:5px;position:relative;user-select:none}.section-editor .editor-seat{width:34px;height:32px;padding:0;font-size:10px;border-radius:5px;border:1px solid #c6d3e1;background:var(--section-color,#fff);color:#183655}.section-editor .editor-seat.assigned{color:#fff}.section-editor .editor-seat.picked{outline:3px solid #f9c928;outline-offset:1px}.section-selection-box{position:fixed;pointer-events:none;border:1px solid #1761d1;background:#1761d122;z-index:100}.section-map{position:relative;aspect-ratio:1.7;min-height:240px;max-width:1000px;margin:12px auto;background:#f3f7fc;border:1px solid #e1e9f2;border-radius:18px;overflow:hidden}.section-map-stage{position:absolute;top:4%;left:28%;width:44%;height:12%;border-top:4px solid #e6b928;border-radius:50%;display:flex;justify-content:center;align-items:center;font-size:12px;letter-spacing:4px;color:#5b728b}.section-map button.section-region{position:absolute;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:6px;background:var(--section-color);color:#fff;border:2px solid transparent;border-radius:22px 22px 36px 36px;font:800 clamp(14px,2vw,23px) system-ui;cursor:pointer;padding:6px;text-align:center}.section-region small{font-size:11px;font-weight:500}.section-map button.section-region:hover,.section-map button.section-region:focus-visible{outline:3px solid #f9c928;outline-offset:-5px;filter:brightness(1.07)}.section-region[disabled]{opacity:.5;cursor:not-allowed}.section-mini-grid span{display:flex;width:30px;height:30px;align-items:center;justify-content:center;border:1px solid #b6c7d9;border-radius:4px;font-size:9px}.section-back{margin:8px 0}.section-overview{padding:20px clamp(12px,3vw,40px);width:100%;box-sizing:border-box}.section-overview h2{color:#183655;font-size:24px;margin:0}.section-overview p{color:#657a91}.section-detail-bar{display:flex;align-items:center;gap:16px;padding:10px 16px;background:#fff;border-bottom:1px solid #e0e8f0}.section-detail-bar strong{color:#193955}.local-booking .section-filter-grid{display:grid!important;gap:8px;width:max-content;min-width:0!important;padding:10px;margin:0 auto}.section-hidden{display:none!important}.section-notice{font-size:13px;color:#657a91}.section-editor .danger{color:#b33144;margin-top:18px}.section-editor #save-status{font-weight:600}.section-editor a{color:#1761d1}@media(max-width:800px){.section-editor main{padding:16px}.section-editor-layout{grid-template-columns:1fr}.section-editor aside{position:static}.section-map{aspect-ratio:1.3}.section-overview{padding:16px}.section-detail-bar{flex-wrap:wrap;gap:8px}.section-map button.section-region{font-size:14px}}

/* Save feedback stays visible even when the editor is scrolled. */
.section-editor #save-status:not(:empty){position:fixed;bottom:20px;left:50%;transform:translateX(-50%);z-index:1000;box-sizing:border-box;width:max-content;max-width:calc(100vw - 32px);margin:0;padding:14px 20px;border:1px solid #c8d7e6;border-radius:12px;background:#fff;color:#183655;box-shadow:0 8px 30px #18365526;}
.section-editor #save-status[data-state=error]{background:#fff2f2;color:#9d2435;border-color:#e6a9b1;}
.section-editor #save-status[data-state=success]{background:#edf9f2;color:#17643d;border-color:#9bcdb0;}
.section-editor button:disabled{opacity:.65;cursor:wait;}

.section-breadcrumb{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-bottom:16px;color:#657a91;font-size:13px}
.section-breadcrumb a{text-decoration:none;font-weight:600}
.section-breadcrumb a:hover{text-decoration:underline}
.section-editor-header{background:#fff;border:1px solid #dde6f0;border-radius:16px;margin-bottom:24px;overflow:hidden}
.section-heading-row{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:22px 24px}
.section-heading-copy{min-width:0}
.section-editor-header .section-eyebrow{margin:0 0 8px;font-size:10px;font-weight:700;letter-spacing:1.8px}
.section-editor-header h1{font-size:clamp(20px,2vw,28px);line-height:1.25;letter-spacing:-.5px;margin:0;overflow-wrap:anywhere}
.section-editor-header .section-heading-description{font-size:13px;margin:8px 0 0;line-height:1.5}
.section-editor-header .section-primary{flex:none;min-width:108px;min-height:44px;font-weight:650}
.section-mode{display:flex;align-items:center;gap:12px;margin:0;padding:14px 24px;background:#f8fafc;border-top:1px solid #e5ecf3;cursor:pointer}
.section-mode input{width:20px;height:20px;flex:none;margin:0;accent-color:#1761d1}
.section-mode strong{display:block;font-size:13px;font-weight:650}
.section-mode small{display:block;font-size:12px;color:#657a91;margin-top:3px}
@media(max-width:600px){.section-heading-row{padding:18px;gap:16px;align-items:flex-start;flex-wrap:wrap}.section-editor-header .section-primary{width:100%}.section-mode{padding:14px 18px}.section-breadcrumb{font-size:12px}.section-editor-header{margin-bottom:16px}}

/* Customer section navigation */
.section-picker{display:flex;align-items:center;gap:8px;width:calc(100% - 32px);max-width:720px;min-height:52px;box-sizing:border-box;margin:16px auto 8px;padding:6px 14px 6px 6px;background:#fff;border:1px solid #dfe4ea;border-radius:999px;flex-shrink:0}
.section-picker-back{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;padding:0;border:0;border-radius:50%;background:#f4f7fb;color:#24496c;cursor:pointer}
.section-picker-back:disabled{opacity:.4;cursor:default}
.section-picker select{width:100%;min-width:0;padding:8px 24px 8px 4px;border:0;background:transparent;color:#183655;font:500 16px system-ui;cursor:pointer;text-overflow:ellipsis}
.section-picker select:focus-visible,.section-picker-back:focus-visible{outline:2px solid #1761d1;outline-offset:2px}
.section-overview .section-map{margin:0 auto;background:transparent;border:0}
.section-overview .section-region{transition:opacity .18s ease,filter .18s ease,background-color .18s ease}
@media(hover:hover) and (pointer:fine){
 .section-overview .section-map:has(.section-region:hover) .section-region:not(:hover){opacity:.3;filter:grayscale(1)}
 .section-overview .section-map .section-region:hover{background:#183655;filter:none;outline:0}
}
.section-overview .section-map:has(.section-region:focus-visible) .section-region:not(:focus-visible){opacity:.3;filter:grayscale(1)}
@media(prefers-reduced-motion:reduce){.section-overview .section-region{transition:none}}
@media(max-width:600px){.section-picker{margin-top:10px;min-height:46px}.section-picker select{font-size:14px}.section-picker-back{flex-basis:32px;width:32px;height:32px}.section-overview{padding-top:10px}}

.section-editor #editor-map .section-region-selected{outline:2px dashed #183655;outline-offset:3px}
.section-editor #editor-map .section-resize-handle{position:absolute;z-index:3;width:28px;height:28px;transform:translate(-50%,-50%);padding:0;border:0;border-radius:0;background:transparent;touch-action:none;user-select:none}
.section-editor #editor-map .section-resize-handle::after{content:"";display:block;width:12px;height:12px;margin:auto;background:#fff;border:2px solid #1761d1;border-radius:3px;box-shadow:0 1px 4px #18365533}
.section-editor .resize-nw,.section-editor .resize-se{cursor:nwse-resize}
.section-editor .resize-ne,.section-editor .resize-sw{cursor:nesw-resize}
.section-editor .section-resize-handle:focus-visible{outline:2px solid #1761d1;outline-offset:1px}

.section-editor .resize-n,.section-editor .resize-s{cursor:ns-resize}
.section-editor .resize-e,.section-editor .resize-w{cursor:ew-resize}

.preview-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}
.preview-devices{display:flex;gap:4px;background:#eef3f9;border-radius:10px;padding:4px}
.section-editor .preview-devices button{padding:8px 14px;border:0;background:transparent;font-size:13px}
.section-editor .preview-devices button[aria-pressed=true]{background:#183655;color:#fff;box-shadow:0 2px 5px #18365518}
.section-editor #preview-size-note{font-size:12px;margin:8px 0 16px}
.preview-canvas{padding:16px;background:#edf1f6;border-radius:12px;overflow:auto}
.preview-frame{box-sizing:border-box;width:100%;margin:0 auto;background:#f4f7fb;padding:12px;border:1px solid #dce5ef;border-radius:14px;min-width:0}
.preview-frame.is-mobile{width:390px;max-width:none;min-height:460px;border:5px solid #183655;border-radius:28px;padding:16px 10px;box-shadow:0 8px 24px #18365518}
.preview-frame.is-mobile .section-map{aspect-ratio:1.3;min-height:240px}
.preview-frame.is-mobile .section-map button.section-region{font-size:14px;border-radius:22px 22px 36px 36px}
.preview-frame.is-mobile .section-region small{font-size:11px}
.preview-frame.is-mobile .editor-seat-scroll{max-height:500px}

.section-shape-svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none;fill:var(--section-fill,var(--section-color))}
.section-map button.section-curved{background:transparent!important;border:0}
.section-map button.section-curved>span,.section-map button.section-curved>small{position:relative;z-index:1}
.section-map button.section-curved:hover{--section-fill:#183655}
.section-editor #editor-map .section-draggable{touch-action:none;cursor:move;user-select:none}
.section-editor #editor-map .resize-rotate{background:#1761d1;color:white;border-radius:50%;font-size:22px;cursor:grab}
.section-editor #editor-map .resize-rotate::after{display:none}
.section-editor #editor-map .resize-n::after,.section-editor #editor-map .resize-e::after,.section-editor #editor-map .resize-s::after,.section-editor #editor-map .resize-w::after{border-radius:50%;background:#fff5cc;border-color:#ba8500}

.section-map button.section-region>.section-label{position:absolute;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;width:max-content;max-width:90%;z-index:1;pointer-events:none}
.section-text-fields{min-width:0;margin:20px 0;padding:12px;border:1px solid #dce5ef;border-radius:10px}
.section-text-fields legend{padding:0 5px;font-size:13px;font-weight:700}
.section-text-fields output{font-size:12px;color:#657a91;text-align:right}
.section-text-fields button{margin-top:12px;font-size:12px}

.section-editor output[data-geometry-value]{font-size:13px;font-weight:650;color:#24496c;text-align:right;font-variant-numeric:tabular-nums}
