/* EmsEvents Zeltplaner V2.6 */
.ems-zp,.ems-zp *{box-sizing:border-box}.ems-zp{--bg:#f5f8fa;--card:#fff;--ink:#132126;--muted:#5d6d74;--line:#dbe3e7;--accent:#003847;--accent2:#0b6f85;--warn:#e00000;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg);border:1px solid var(--line);border-radius:18px;overflow:hidden;max-width:1540px;margin:0 auto;min-height:760px}.ems-zp button,.ems-zp input,.ems-zp select{font:inherit}.ems-zp button{cursor:pointer}.ems-zp__app{display:grid;grid-template-columns:minmax(310px,365px) minmax(560px,1fr) minmax(280px,340px);min-height:760px}.ems-zp__sidebar,.ems-zp__rightbar{background:#fff;padding:18px;overflow:auto;max-height:90vh}.ems-zp__sidebar{border-right:1px solid var(--line)}.ems-zp__rightbar{border-left:1px solid var(--line)}.ems-zp__stageWrap{display:flex;flex-direction:column;min-width:0;background:linear-gradient(180deg,#fbfdfe,#eef4f6)}.ems-zp__topbar{display:flex;justify-content:space-between;gap:14px;align-items:center;padding:14px 16px;background:rgba(255,255,255,.92);border-bottom:1px solid var(--line)}.ems-zp__brand{display:flex;align-items:center;gap:12px;min-width:0}.ems-zp__logo{width:126px;height:auto;object-fit:contain}.ems-zp__title{font-size:17px;font-weight:800;line-height:1.2;white-space:nowrap}.ems-zp__subtitle{color:var(--muted);font-size:12px;margin-top:2px}.ems-zp__actions,.ems-zp__btnRow{display:flex;flex-wrap:wrap;gap:8px}.ems-zp__actions{justify-content:flex-end}.ems-zp__stage{padding:16px;flex:1;display:flex;flex-direction:column;min-height:570px}.ems-zp__svgCard{flex:1;background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden;min-height:540px;box-shadow:0 18px 45px rgba(22,42,50,.08);position:relative}.ems-zp__svg{display:block;width:100%;height:100%;min-height:540px;touch-action:none;user-select:none;background:#fff}.ems-zp__hintbar{padding:8px 4px 0;font-size:12px;color:var(--muted);display:flex;flex-wrap:wrap;gap:12px}.ems-zp__section{border:1px solid var(--line);border-radius:14px;padding:13px;margin-bottom:14px;background:var(--card)}.ems-zp__sectionTitle{font-weight:800;font-size:14px;margin:0 0 10px;display:flex;align-items:center;justify-content:space-between;gap:8px}.ems-zp__field{display:grid;gap:5px;margin-bottom:10px}.ems-zp__field label,.ems-zp__label{font-size:12px;font-weight:700;color:#2e3c42}.ems-zp__field small{font-size:11px;color:var(--muted)}.ems-zp input[type=text],.ems-zp input[type=number],.ems-zp select,.ems-zp textarea{width:100%;border:1px solid #cdd7dc;border-radius:10px;padding:9px 10px;background:#fff;color:var(--ink);outline:none}.ems-zp input:focus,.ems-zp select:focus,.ems-zp textarea:focus{border-color:var(--accent2);box-shadow:0 0 0 3px rgba(11,111,133,.14)}.ems-zp__row{display:grid;grid-template-columns:1fr 1fr;gap:9px}.ems-zp__row3{display:grid;grid-template-columns:1fr 1fr 1fr;gap:9px}.ems-zp__check{display:flex;align-items:center;gap:8px;font-size:13px;margin:8px 0}.ems-zp__btn{border:1px solid var(--accent);background:var(--accent);color:#fff;border-radius:999px;padding:9px 12px;font-weight:800;font-size:13px;line-height:1;min-height:35px}.ems-zp__btn:hover{filter:brightness(.96)}.ems-zp__btn--secondary{background:#fff;color:var(--accent)}.ems-zp__btn--ghost{background:transparent;color:var(--accent);border-color:#bfd0d6}.ems-zp__btn--danger{background:var(--warn);border-color:var(--warn)}.ems-zp__btn[disabled]{opacity:.55;cursor:not-allowed}.ems-zp__summaryGrid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.ems-zp__metric{padding:11px 10px;border:1px solid var(--line);border-radius:12px;background:#f8fafb}.ems-zp__metricLabel{display:block;font-size:11px;color:var(--muted);margin-bottom:4px}.ems-zp__metricValue{font-weight:900;font-size:18px}.ems-zp__metric--warn{background:rgba(224,0,0,.12);border-color:rgba(224,0,0,.35)}.ems-zp__warnings{display:grid;gap:7px}.ems-zp__warningItem{border-left:4px solid var(--warn);background:rgba(224,0,0,.08);border-radius:9px;padding:8px 9px;font-size:12px}.ems-zp__empty{color:var(--muted);font-size:13px;padding:8px 0}.ems-zp__selectedBox{background:#f7fafb;border:1px solid var(--line);border-radius:12px;padding:10px}.ems-zp__legend{display:grid;gap:7px;font-size:12px;color:var(--muted)}.ems-zp__legendItem{display:flex;align-items:center;gap:7px}.ems-zp__swatch{width:14px;height:14px;border-radius:50%;display:inline-block;border:1px solid rgba(0,0,0,.1)}.ems-zp__note{background:#f4f7f8;border-radius:12px;padding:10px;color:var(--muted);font-size:12px;line-height:1.45}.ems-zp__fileInput{display:none}.ems-zp__printSurface{display:none}@media(max-width:1180px){.ems-zp__app{grid-template-columns:330px 1fr}.ems-zp__rightbar{grid-column:1/-1;border-left:0;border-top:1px solid var(--line);max-height:none}}@media(max-width:820px){.ems-zp{border-radius:0}.ems-zp__app{grid-template-columns:1fr}.ems-zp__sidebar,.ems-zp__rightbar{max-height:none;border:0;border-bottom:1px solid var(--line)}.ems-zp__topbar{align-items:flex-start;flex-direction:column}.ems-zp__actions{justify-content:flex-start}.ems-zp__stage{padding:10px}}
@page{size:A4 landscape;margin:8mm}@media print{html,body{background:#fff!important}body>*:not(#ems-zp-print-surface){display:none!important}#ems-zp-print-surface,#ems-zp-print-surface *{visibility:visible!important}#ems-zp-print-surface{display:block!important;position:static!important;width:100%!important;background:#fff!important;color:#111!important}.ems-zp-printPage{width:281mm;min-height:194mm;padding:0;display:grid;grid-template-rows:auto 1fr auto;gap:5mm;page-break-after:avoid;break-after:avoid}.ems-zp-printHeader,.ems-zp-printFooter{display:flex;align-items:center;justify-content:space-between;gap:8mm}.ems-zp-printHeader img{max-width:45mm;max-height:18mm;object-fit:contain}.ems-zp-printTitle{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:15pt;font-weight:800;margin:0 0 2mm}.ems-zp-printSub{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:8.5pt;color:#555}.ems-zp-printMain{display:grid;grid-template-columns:1fr 65mm;gap:6mm;min-height:0}.ems-zp-printPlan{border:1px solid #cfd8dc;border-radius:3mm;overflow:hidden;min-height:145mm}.ems-zp-printPlan svg{width:100%!important;height:145mm!important;display:block!important}.ems-zp-printAside{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:8pt;line-height:1.35}.ems-zp-printAside h3{font-size:9pt;margin:0 0 2mm}.ems-zp-printTable{width:100%;border-collapse:collapse;margin:0 0 4mm}.ems-zp-printTable td{border-bottom:1px solid #e3e8eb;padding:1.4mm 0;vertical-align:top}.ems-zp-printWarnings{border:1px solid rgba(224,0,0,.4);background:rgba(224,0,0,.07);border-radius:2mm;padding:2mm;margin-top:3mm}.ems-zp-printFooter{border-top:1px solid #d8e0e4;padding-top:3mm;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:8pt;color:#555}}

/* V2-Anpassungen: mobile Empfehlung, gelbe Hinweise, saubere Druckfarben */
.ems-zp__mobileNotice{display:none;background:#fff7d6;border-bottom:1px solid #e5c35c;color:#3f3200;font-weight:750;padding:10px 14px;font-size:13px;line-height:1.35}
.ems-zp__check--disabled{opacity:.52}
.ems-zp__seatControls{border:1px solid #dbe3e7;background:#fffaf0;border-radius:12px;padding:10px;margin:0 0 10px;display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
.ems-zp__seatControls span{color:#5d6d74;font-size:12px}.ems-zp__warningItem--critical{border-left-color:#e00000!important;background:rgba(224,0,0,.09)!important;color:#7f0e0e!important}.ems-zp__warningItem--caution{border-left-color:#d89b00!important;background:#fff7d6!important;color:#5c4300!important}.ems-zp__warningItem--info{border-left-color:#6b7f88!important;background:#f4f7f8!important;color:#34454d!important}.ems-zp-printWarning--critical{color:#8a1010;font-weight:700}.ems-zp-printWarning--caution{color:#5c4300}.ems-zp-printWarning--info{color:#34454d}@media(max-width:820px){.ems-zp__mobileNotice{display:block}.ems-zp__stage{min-height:520px}.ems-zp__svg,.ems-zp__svgCard{min-height:500px}}@media print{*{-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important;color-adjust:exact!important}.ems-zp-printWarnings{background:#fff7d6!important;box-shadow:inset 0 0 0 1000px rgba(255,247,214,.75)!important}.ems-zp-printTable td{background:#fff!important}.ems-zp-printPage,.ems-zp-printPage *{-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}}

/* V2.1 Ergänzungen */
.ems-zp__check--disabled{opacity:.55}.ems-zp__bomTable{width:100%;border-collapse:collapse;font-size:12px}.ems-zp__bomTable th,.ems-zp__bomTable td{border-bottom:1px solid #e3e8eb;padding:6px 4px;text-align:left;vertical-align:top}.ems-zp__bomTable th{font-size:11px;color:#5d6d74;font-weight:800;background:#f6f9fa}.ems-zp__bomTable th:nth-child(2),.ems-zp__bomTable td:nth-child(2){text-align:right;white-space:nowrap}.ems-zp__bomTable th:nth-child(3),.ems-zp__bomTable td:nth-child(3){white-space:nowrap}@media print{.ems-zp-printTable th{border-bottom:1px solid #cfd8dc;padding:1.4mm 0;text-align:left;background:#f4f7f8!important;box-shadow:inset 0 0 0 1000px #f4f7f8!important}.ems-zp-printTable th:nth-child(2),.ems-zp-printTable td:nth-child(2){text-align:right}.ems-zp-printTable th:nth-child(3),.ems-zp-printTable td:nth-child(3){white-space:nowrap}}

/* V2.4: Exportleiste, Layout und robuster A4-Druck */
.ems-zp__actions--top{display:grid;grid-template-columns:repeat(2,minmax(0,auto));align-items:center;gap:8px;justify-content:end;max-width:760px}
.ems-zp__actionGroup{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end;align-items:center}
.ems-zp__section--selected{border-color:#bfd0d6;background:#fbfdfe}
@media(max-width:1320px){.ems-zp__actions--top{grid-template-columns:1fr;justify-content:stretch}.ems-zp__actionGroup{justify-content:flex-start}}
@media print{.ems-zp-printPlan{background:#fff!important;box-shadow:inset 0 0 0 1000px #fff!important}.ems-zp-printPlan svg{background:#fff!important}.ems-zp-printTable th,.ems-zp-printTable td{-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}.ems-zp-printWarning--critical{background:#fbe0e0!important;box-shadow:inset 0 0 0 1000px #fbe0e0!important}.ems-zp-printWarning--caution{background:#fff7d6!important;box-shadow:inset 0 0 0 1000px #fff7d6!important}.ems-zp-printWarning--info{background:#f4f7f8!important;box-shadow:inset 0 0 0 1000px #f4f7f8!important}}


/* V2.5: Anfrageformular */
.ems-zp__section--request{border-color:#c7d8de;background:#fbfdfe}
.ems-zp__requestForm{display:grid;gap:0;margin-top:10px}
.ems-zp__requestOverview{border:1px solid #dbe3e7;border-radius:12px;background:#f8fafb;padding:10px;margin-bottom:10px;font-size:12px;color:#2d3c42}
.ems-zp__requestSummary{line-height:1.45;margin-bottom:8px}
.ems-zp__requestMore{font-size:11px;color:#5d6d74;margin-top:7px}
.ems-zp__bomTable--compact td{font-size:11px;padding:4px 3px}
.ems-zp__requestStatus{margin-top:10px;border-radius:10px;padding:9px 10px;font-size:12px;line-height:1.4;display:none}
.ems-zp__requestStatus:not(:empty){display:block}
.ems-zp__requestStatus--success{background:#e8f7ed;color:#145f2b;border:1px solid #b8dfc4}
.ems-zp__requestStatus--error{background:#fdeaea;color:#8a1010;border:1px solid #efb7b7}
.ems-zp__requestStatus--info{background:#eef6fa;color:#234b5a;border:1px solid #c7d8de}

.ems-zp__section--request .ems-zp__row{grid-template-columns:1fr}

/* V2.6: Struktur, Floating-Editor, Holzboden/Seitenwände, Druckbild */
.ems-zp__btn--highlight{background:#0b8f53;border-color:#0b8f53;color:#fff;box-shadow:0 6px 16px rgba(11,143,83,.20)}
.ems-zp__btn--highlight:hover{filter:brightness(.95)}
.ems-zp__btn--small{min-height:29px;padding:6px 10px;font-size:12px;font-weight:800}
.ems-zp__check--compact{font-size:12px;margin:5px 0 8px}
.ems-zp__actions--top{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end;align-items:center;max-width:790px}
.ems-zp__actionGroup{display:flex;flex-wrap:wrap;gap:7px;justify-content:flex-end;align-items:center}
.ems-zp__floatingEdit{display:none;position:absolute;top:12px;right:12px;z-index:10;width:min(430px,calc(100% - 24px));max-height:calc(100% - 24px);overflow:auto;background:rgba(255,255,255,.96);border:1px solid #c9d7dd;border-radius:16px;padding:12px;box-shadow:0 18px 50px rgba(19,33,38,.18);backdrop-filter:blur(6px)}
.ems-zp__floatingEdit--active{display:block}
.ems-zp__floatingEditHead{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:9px}
.ems-zp__floatingEditHead strong{display:block;font-size:14px;line-height:1.2}
.ems-zp__floatingEditHead span{display:block;color:#5d6d74;font-size:11px;margin-top:2px}
.ems-zp__btnRow--compact{gap:6px}
.ems-zp__row3--compact{gap:7px;margin-bottom:7px}
.ems-zp__row3--compact .ems-zp__field{margin-bottom:6px}
.ems-zp__row3--compact input{padding:7px 8px;font-size:12px}
.ems-zp__floatingWarnings{display:grid;gap:6px;margin-top:8px;max-height:150px;overflow:auto}
.ems-zp-printPlanImage{width:100%;height:145mm;object-fit:contain;display:block;background:#fff}
@media(max-width:1320px){.ems-zp__actions--top{justify-content:flex-start}.ems-zp__actionGroup{justify-content:flex-start}}
@media(max-width:820px){.ems-zp__floatingEdit{position:sticky;top:8px;right:auto;width:auto;margin:8px;max-height:none}.ems-zp__row3--compact{grid-template-columns:1fr 1fr 1fr}}
@media print{.ems-zp-printPlanImage{-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}.ems-zp-printPlan svg,.ems-zp-printPlanImage{background:#fff!important}}
