*{box-sizing:border-box}body{margin:0;background:#211912;color:#f4e7d5;font:16px/1.5 system-ui,sans-serif}main{max-width:1250px;margin:auto;padding:24px}h1,h2{font-weight:500}h1{font-size:28px}h2{font-size:22px}a{color:#e9c78e}header p{max-width:950px}.tag{color:#d6b37b;font-size:12px;letter-spacing:2px}.fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.toolbar{display:flex;flex-wrap:wrap;gap:12px;align-items:end;margin:20px 0}label{display:grid;gap:6px;min-width:0}input,select,button{font:inherit;color:inherit;background:#30251d;border:1px solid #97774f;border-radius:7px;min-height:44px;padding:9px 12px;max-width:100%}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}button.primary,button[aria-pressed=true]{color:#24190e;background:#d7b477;border-color:#e8c793}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #ffe2aa;outline-offset:3px}input[type=checkbox]{width:24px;height:24px;min-height:24px;accent-color:#d7b477}section,form{padding:18px 0;border-top:1px solid #6c5138}details{margin:20px 0}summary{cursor:pointer;color:#ecd1a4}.table-scroll,.map-scroll{overflow:auto}table{border-collapse:collapse;width:100%;font-size:14px}td,th{padding:10px 8px;text-align:left;border-bottom:1px solid #654e37}td input[type=number]{width:120px}td select{min-width:160px}#status,#seat-error{color:#ffd39e}#draft-map{position:relative;background-size:100% 100%;background-repeat:no-repeat;min-width:650px;width:100%;max-width:1100px;margin:auto}.map-choice{position:absolute;transform:translate(-50%,-50%);background:transparent;border:0;border-radius:8px;display:grid;align-content:center;justify-items:center;padding:0;min-height:0}.map-choice .number{display:grid;place-items:center;width:100%;height:100%;background:linear-gradient(10deg,#422719,#69452a,#412719);border:2px solid #d5ad66;border-radius:8px;color:#edcf93;font:24px Georgia,serif}.map-choice .badge{position:absolute;top:calc(100% + 3px);background:#302216;color:#ffe0a6;border:1px solid #b88e4e;padding:2px 6px;border-radius:10px;font:11px/1.3 system-ui,sans-serif;white-space:nowrap;pointer-events:none}.map-choice.partial .number{border-color:#ffc15a}.map-choice.partial .badge{background:#734b21}.map-choice.sold{opacity:.8}.map-choice.sold .number{background:#51483f;border-color:#9f9280;color:#e3d3bd}.map-choice.sold .badge{background:#51483f;color:#eee0cf}.legend{display:flex;gap:18px;flex-wrap:wrap;font-size:13px;margin:12px 0;color:#e6c084}.legend .partial{color:#ffcb6b}.legend .sold{color:#b4a693}dialog{background:#251d16;color:#f4e7d5;border:1px solid #c09b63;border-radius:12px;width:min(650px,calc(100% - 24px));max-height:90dvh;overflow:auto;padding:22px}dialog::backdrop{background:#000b}dialog header{display:flex;justify-content:space-between;align-items:center;gap:12px}#seat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;max-width:330px;margin:20px auto}.seat{border:2px solid #dfcfb7;background:#a6957e;color:#241a10;border-radius:16px 16px 7px 7px}.seat:disabled{background:#49443e;color:#e7d7c1;border-color:#756a5b;opacity:1}.seat[aria-pressed=true]{background:#e2b96d;border-color:#ffe0a2}.tabletop{grid-column:1/-1;min-height:65px;display:grid;place-items:center;background:linear-gradient(12deg,#44281a,#68452a,#44281a);border:2px solid #d7b477;border-radius:9px;font:28px Georgia,serif;color:#edcf93}#meal-options{display:grid;gap:10px;margin:16px 0}#meal-options button{text-align:left}.test-line{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px;padding:13px 0;border-bottom:1px solid #655039}.test-line p{margin:0}.test-line small{color:#cdbb9f}@media(max-width:600px){main{padding:15px}.fields{grid-template-columns:1fr}#draft-map{min-width:750px}.toolbar{align-items:stretch}.toolbar>*{flex:1 1 160px}dialog{padding:16px}}

/* Keep the public furniture renderer intact in the private preview. */
#draft-map.floor-map .map-furniture{min-height:0;max-width:none;box-shadow:none}#draft-map.floor-map .map-state{font-size:clamp(8px,.74vw,12px)}#draft-map:not(.floor-map) .map-choice .badge{font-size:10px;padding:1px 4px;min-width:28px}#draft-map:not(.floor-map) .map-choice .number{font-size:clamp(12px,2vw,24px)}

/* A single overlay matches the original tabletop, including vertical tables. */
#draft-map{container-type:inline-size}
[hidden]{display:none!important}
#draft-map:not(.floor-map) .map-choice{display:block;align-content:normal}
#draft-map:not(.floor-map) .map-choice .number{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;width:100%;height:100%;font-size:clamp(12px,2.65cqw,29px);line-height:1;border-radius:4px}
#draft-map:not(.floor-map) .map-choice[data-shape=round] .number{border-radius:50%}
#draft-map:not(.floor-map) .map-choice .badge{top:calc(100% + 4px);left:50%;transform:translateX(-50%);font-size:10px}
#preview-links{display:grid;gap:12px;padding:20px 0}#preview-links input{width:100%}.teaser-setting{margin:16px 0}.teaser-setting input{vertical-align:middle}
body.customer-preview main{max-width:none;padding:16px 22px}
body.customer-preview main>header{border-bottom:1px solid #6c5138;padding-bottom:12px}
body.customer-preview main>header h1,body.customer-preview main>header p:not(.tag),body.customer-preview .toolbar,body.customer-preview #draft-form,body.customer-preview #preview-links,body.customer-preview main>section:not(.customer-floor){display:none!important}
body.customer-preview #draft-map{max-width:none;width:100%}
body.customer-preview .customer-floor{border:0;padding-top:8px}
body.customer-preview .customer-floor h2{margin:8px 0}
body.customer-preview .map-scroll{max-width:none}
body.customer-preview #seat-counts{display:flex!important}
@media(max-width:600px){body.customer-preview main{padding:10px}body.customer-preview #draft-map{min-width:1000px}}

/* No transparency on unavailable tables: the baked number must never show through. */
#draft-map:not(.floor-map) .map-choice.sold,#draft-map:not(.floor-map) .map-choice:disabled{opacity:1}
#draft-map:not(.floor-map) .map-choice.sold .number{background:#51483f}
#draft-map:not(.floor-map) .map-choice .number{border-width:1.5px}
.sylwester-plan-title{position:absolute;left:37%;top:2%;display:grid;gap:3px;color:#60482c;pointer-events:none}
.sylwester-plan-title strong{font:400 clamp(14px,2.1cqw,23px)/1.4 Georgia,serif;letter-spacing:.04em}
.sylwester-plan-title span{font:400 clamp(12px,1.3cqw,15px)/1.4 system-ui,sans-serif}
.sylwester-capacity{position:absolute;transform:translate(-50%,-50%);z-index:2;display:flex;align-items:center;justify-content:center;gap:3px;background:#f1e4d3;border:1px solid #c2ae94;border-radius:20px;color:#2e2922;font:500 clamp(11px,1.4cqw,17px)/1 system-ui,sans-serif;pointer-events:none}
.capacity-person{position:relative;font-size:.65em;padding-bottom:8px;width:10px;text-align:center}
.capacity-person:after{content:'';position:absolute;left:1px;bottom:1px;width:8px;height:7px;background:currentColor;border-radius:5px 5px 1px 1px}

.room-switch{display:flex;flex-wrap:wrap;gap:12px;margin:15px 0}.room-switch button{flex:1 1 200px}body.customer-preview .room-switch{display:flex}

#seat-grid.whole-table-grid{max-width:none;width:100%;container-type:inline-size}#seat-grid .whole-table-label{font:400 clamp(12px,3.8cqw,20px)/1.3 Georgia,serif;white-space:nowrap;min-width:0;padding:12px 8px;min-height:58px;text-align:center}

textarea{font:inherit;color:inherit;background:#30251d;border:1px solid #97774f;border-radius:7px;padding:12px;width:100%;resize:vertical;margin-bottom:16px}.event-offer{white-space:pre-line;line-height:1.6;border-left:2px solid #d6b376;padding:10px 16px;margin:12px 0;max-width:1000px}.meal-details{font-size:14px;line-height:1.6;color:#e5cfae;margin:12px 0}

.sales-fields{display:grid;gap:12px;margin:15px 0}.sales-consent{display:flex;align-items:start;gap:12px}.sales-consent input{flex:0 0 24px}#sales-tools{border:1px solid #97774f;padding:18px;margin:20px 0}.sales-mode>header .tag{font-size:0}.sales-mode>header .tag:after{content:"THE VIEW CAFE · WYDARZENIE";font-size:12px}.sales-mode .customer-floor h2{font-size:22px}

.sales-terms-reader{white-space:pre-line;max-height:240px;overflow-y:auto;overscroll-behavior:contain;background:#19130f;border:1px solid #806346;border-radius:8px;padding:14px;font:14px/1.65 system-ui,sans-serif;margin:12px 0}.sales-reading-hint{font-size:14px;color:#dfcbb2;margin:12px 0}#sales-terms-status{color:#d7dfba;font-size:14px}@media(max-width:600px){.sales-terms-reader{max-height:200px}}
