.jeb-app { --bg: #f7f7fb; --card: #fff; --text: #1f2430; --muted: #6b7280; --purple: #5c3fb6; --orange: #f1a64f; --selected: #1f8f4e; --unavailable: #cfd3dc; --line: #e8ebf2; --seat-w: 28px; --seat-h: 27px; --seat-gap: 3px; --aisle: 12px; width: 100% !important; max-width: none !important; margin: 0px !important; padding: 0px !important; background: var(--bg) !important; color: var(--text) !important; font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important; overflow: hidden !important; }
.jeb-app, .jeb-app * { box-sizing: border-box !important; }
.jeb-app button { box-shadow: none; font-family: inherit !important; text-transform: none !important; letter-spacing: normal !important; background-image: none !important; }
.jeb-app .jeb-header h1 { font-family: inherit !important; text-transform: none !important; letter-spacing: normal !important; }
.jeb-header { padding: 20px 24px; background: rgb(19, 24, 38); color: rgb(255, 255, 255); display: flex; justify-content: space-between; gap: 16px; align-items: center; flex-wrap: wrap; }
.jeb-header h1 { margin: 0px !important; font-size: 26px !important; line-height: 1.2 !important; color: rgb(255, 255, 255) !important; }
.jeb-header p { margin: 7px 0px 0px !important; color: rgb(215, 222, 235) !important; font-size: 16px !important; }
.jeb-test-badge { background: rgb(255, 243, 205); color: rgb(109, 82, 0); border-radius: 999px; padding: 8px 12px; font-weight: 800; font-size: 12px; }
.jeb-page { display: grid; grid-template-columns: minmax(0px, 1fr) 330px; gap: 14px; padding: 14px; max-width: 1800px; margin: 0px auto; align-items: start; }
.jeb-card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: rgba(10, 20, 40, 0.05) 0px 8px 24px; }
.jeb-left { padding: 14px; min-width: 0px; overflow: visible !important; }
.jeb-sidebar { padding: 18px; height: max-content; position: sticky; top: 20px; min-width: 0px; }
.jeb-toolbar { display: flex; gap: 10px; justify-content: space-between; align-items: center; flex-wrap: wrap; margin-bottom: 12px; }
.jeb-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.jeb-pill { display: inline-flex; padding: 7px 11px; border-radius: 999px; background: rgb(242, 245, 251); color: rgb(54, 65, 82); font-size: 13px; }
.jeb-legend { display: flex; gap: 12px; flex-wrap: wrap; color: var(--muted); font-size: 13px; }
.jeb-legend span { display: inline-flex; align-items: center; gap: 6px; }
.jeb-dot { width: 13px; height: 13px; border-radius: 50%; display: inline-block; }
.jeb-dot-st1 { background: var(--purple); }
.jeb-dot-st2 { background: var(--orange); }
.jeb-dot-selected { background: var(--selected); }
.jeb-dot-unavailable { background: var(--unavailable); }
.jeb-mobile-help { display: none; margin: 8px 0px 12px; padding: 10px 12px; border-radius: 12px; background: rgb(238, 242, 255); color: rgb(38, 53, 110); font-size: 13px; font-weight: 650; text-align: center; line-height: 1.35; }
.jeb-plan-scroll { width: 100%; max-width: 100%; overflow: visible; padding: 0px 0px 4px; margin: 0px; scroll-behavior: smooth; }
.jeb-hall-wrap { width: 100%; min-width: 0px; margin: 0px auto; padding: 0px 0px 4px; }
.jeb-stage { width: 62%; height: 16px; background: rgb(15, 17, 21); border-radius: 12px; margin: 8px auto 9px; }
.jeb-stage-label { text-align: center; font-size: 23px; font-weight: 800; margin: 0px 0px 15px; }
.jeb-row { display: grid; grid-template-columns: 34px minmax(0px, 1fr) 34px; align-items: center; column-gap: 5px; min-height: 34px; margin: 3px 0px; width: 100%; min-width: 0px; }
.jeb-row-label { font-weight: 800; text-align: right; color: rgb(45, 51, 66); font-size: 13px; white-space: nowrap; }
.jeb-row-label-right { text-align: left; }
.jeb-seats { display: flex; align-items: center; justify-content: center; gap: var(--seat-gap); white-space: nowrap; min-width: 0px; }
.jeb-gap { display: inline-block !important; flex: 0 0 var(--aisle) !important; width: var(--aisle) !important; min-width: var(--aisle) !important; max-width: var(--aisle) !important; height: 1px !important; }
.jeb-app button.jeb-seat { cursor: pointer; color: rgb(17, 17, 17); transition: transform 0.08s, filter 0.08s; touch-action: manipulation; appearance: none !important; flex: 0 0 var(--seat-w) !important; width: var(--seat-w) !important; min-width: var(--seat-w) !important; max-width: var(--seat-w) !important; height: var(--seat-h) !important; min-height: var(--seat-h) !important; max-height: var(--seat-h) !important; margin: 0px !important; padding: 0px !important; border: 0px !important; border-radius: 12px !important; font-weight: 800 !important; font-size: 11px !important; line-height: var(--seat-h) !important; text-align: center !important; box-shadow: rgba(0, 0, 0, 0.08) 0px -2px 0px inset !important; }
.jeb-app button.jeb-seat.category-unassigned { background-color: rgb(229, 231, 235) !important; color: rgb(71, 85, 105) !important; border: 1px solid rgb(203, 213, 225) !important; cursor: not-allowed; box-shadow: none !important; }
.jeb-app button.jeb-seat:hover:not(:disabled) { transform: translateY(-1px); filter: brightness(0.97); }
.jeb-app button.jeb-seat.st1 { background-color: var(--purple) !important; color: rgb(255, 255, 255) !important; }
.jeb-app button.jeb-seat.st2 { background-color: var(--orange) !important; color: rgb(17, 17, 17) !important; }
.jeb-app button.jeb-seat.selected { background-color: var(--selected) !important; color: rgb(255, 255, 255) !important; }
.jeb-app button.jeb-seat.unavailable, .jeb-app button.jeb-seat:disabled { cursor: not-allowed; text-decoration: line-through; background-color: var(--unavailable) !important; color: rgb(140, 146, 160) !important; box-shadow: none !important; }
.jeb-boxes { display: flex; justify-content: center; gap: 12px; margin-top: 18px; flex-wrap: nowrap; max-width: 100%; }
.jeb-box { padding: 8px 9px; border: 1px solid var(--line); border-radius: 13px; background: rgb(250, 251, 255); min-width: 88px; text-align: center; }
.jeb-box-title { font-size: 15px; font-weight: 800; margin-bottom: 6px; }
.jeb-box-row { display: flex; justify-content: center; gap: 5px; margin: 4px 0px; }
.jeb-box .jeb-seat { --seat-w: 27px; --seat-h: 26px; }
.jeb-sidebar h2 { font-size: 18px !important; margin: 18px 0px 9px !important; }
.jeb-sidebar h2:first-child { margin-top: 0px !important; }
.jeb-price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 12px 0px; }
.jeb-price-box { background: rgb(250, 251, 255); border: 1px solid var(--line); padding: 14px; border-radius: 14px; }
.jeb-price-box strong { display: block; font-size: 17px; margin-bottom: 4px; }
.jeb-hint { font-size: 13px; color: var(--muted); line-height: 1.5; }
.jeb-summary-list { max-height: 280px; overflow: auto; padding-right: 3px; }
.jeb-summary-item { padding: 10px 0px; border-bottom: 1px solid var(--line); font-size: 15px; }
.jeb-muted { color: var(--muted); }
.jeb-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.jeb-app button.jeb-btn { background-color: rgb(17, 24, 39) !important; color: rgb(255, 255, 255) !important; border: 0px !important; border-radius: 14px !important; padding: 14px 12px !important; min-height: 48px !important; font-weight: 800 !important; font-size: 15px !important; cursor: pointer !important; }
.jeb-app button.jeb-btn.secondary { background-color: rgb(238, 242, 255) !important; color: rgb(33, 48, 127) !important; }
.jeb-btn:disabled { opacity: 0.55; cursor: not-allowed !important; }
.jeb-live-status { margin-top: 12px; font-size: 12px; color: var(--muted); }
.jeb-mobile-cart { display: none; }
.jeb-checkout-overlay { display: none; position: fixed; inset: 0px; z-index: 100000; background: rgba(8, 12, 22, 0.72); backdrop-filter: blur(5px); padding: 24px; overflow: auto; }
.jeb-checkout-overlay.open { display: flex; align-items: flex-start; justify-content: center; }
.jeb-checkout { width: min(980px, 100%); margin: auto; background: rgb(255, 255, 255); border-radius: 20px; box-shadow: rgba(0, 0, 0, 0.28) 0px 24px 80px; overflow: hidden; }
.jeb-checkout-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; background: rgb(19, 24, 38); color: rgb(255, 255, 255); }
.jeb-checkout-head h2 { margin: 0px !important; color: rgb(255, 255, 255) !important; font-size: 23px !important; line-height: 1.2 !important; }
.jeb-checkout-head > div > div { margin-top: 5px; color: rgb(215, 222, 235); font-size: 13px; }
.jeb-checkout-close { border: 0px !important; background: rgba(255, 255, 255, 0.12) !important; color: rgb(255, 255, 255) !important; width: 42px !important; height: 42px !important; min-width: 42px !important; min-height: 42px !important; padding: 0px !important; border-radius: 12px !important; font-size: 25px !important; line-height: 42px !important; cursor: pointer !important; }
.jeb-hold-bar { padding: 10px 22px; background: rgb(255, 247, 237); border-bottom: 1px solid rgb(254, 215, 170); color: rgb(154, 52, 18); font-size: 13px; }
.jeb-checkout-body { display: grid; grid-template-columns: minmax(0px, 1fr) 320px; gap: 20px; padding: 22px; }
.jeb-form-card, .jeb-order-card { border: 1px solid var(--line); border-radius: 16px; padding: 18px; background: rgb(255, 255, 255); }
.jeb-form-card h3, .jeb-order-card h3 { font-size: 18px !important; margin: 0px 0px 14px !important; }
.jeb-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.jeb-form-grid label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 750; color: rgb(55, 65, 81); }
.jeb-form-grid label.full { grid-column: 1 / -1; }
.jeb-form-grid input { width: 100%; min-height: 46px; border: 1px solid rgb(216, 222, 233); border-radius: 11px; padding: 10px 12px; font: inherit; color: rgb(17, 24, 39); background: rgb(255, 255, 255); outline: none; }
.jeb-form-grid input:focus { border-color: rgb(123, 104, 211); box-shadow: rgba(92, 63, 182, 0.12) 0px 0px 0px 3px; }
.jeb-checkline { display: flex; gap: 9px; align-items: flex-start; margin-top: 14px; font-size: 13px; line-height: 1.45; }
.jeb-checkline input { margin-top: 3px; }
.jeb-invoice-fields { display: none; margin-top: 12px; }
.jeb-invoice-fields.open { display: grid; }
.jeb-error { display: none; margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: rgb(255, 241, 242); color: rgb(159, 18, 57); font-size: 13px; }
.jeb-error.show { display: block; }
.jeb-order-list { max-height: 260px; overflow: auto; margin: 8px 0px 14px; }
.jeb-order-item { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0px; border-bottom: 1px solid var(--line); font-size: 13px; }
.jeb-order-total { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0px; font-size: 20px; font-weight: 900; border-top: 2px solid rgb(17, 24, 39); }
.jeb-checkout-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.jeb-demo-note { margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: rgb(238, 242, 255); color: rgb(38, 53, 110); font-size: 12px; line-height: 1.45; }
.jeb-toast { display: none; position: fixed; right: 18px; bottom: 18px; z-index: 100002; max-width: 420px; background: rgb(17, 24, 39); color: rgb(255, 255, 255); padding: 14px 16px; border-radius: 12px; box-shadow: rgba(0, 0, 0, 0.25) 0px 12px 40px; font-size: 14px; }
.jeb-toast.show { display: block; }
@media (max-width: 1450px) {
  .jeb-app { --seat-w: 25px; --seat-h: 25px; --seat-gap: 2px; --aisle: 10px; }
  .jeb-row { grid-template-columns: 30px minmax(0px, 1fr) 30px; column-gap: 4px; }
  .jeb-app button.jeb-seat { font-size: 10.5px !important; border-radius: 11px !important; }
  .jeb-box { min-width: 82px; padding: 7px 8px; }
  .jeb-box .jeb-seat { --seat-w: 24px; --seat-h: 24px; }
}
@media (max-width: 1200px) {
  .jeb-page { grid-template-columns: 1fr; padding: 12px; }
  .jeb-sidebar { position: static; }
  .jeb-mobile-help { display: none; }
  .jeb-app { --seat-w: 23px; --seat-h: 24px; --seat-gap: 2px; --aisle: 9px; }
  .jeb-row { grid-template-columns: 29px minmax(0px, 1fr) 29px; column-gap: 4px; }
  .jeb-boxes { gap: 9px; }
  .jeb-box { min-width: 76px; padding: 7px; }
  .jeb-box .jeb-seat { --seat-w: 23px; --seat-h: 23px; }
}
@media (max-width: 900px) {
  .jeb-app { --seat-w: 20px; --seat-h: 22px; --seat-gap: 2px; --aisle: 8px; }
  .jeb-row { grid-template-columns: 27px minmax(0px, 1fr) 27px; column-gap: 3px; }
  .jeb-app button.jeb-seat { font-size: 9.5px !important; border-radius: 9px !important; }
  .jeb-row-label { font-size: 12px; }
  .jeb-boxes { gap: 6px; }
  .jeb-box { min-width: 68px; padding: 6px; }
  .jeb-box .jeb-seat { --seat-w: 20px; --seat-h: 21px; }
}
@media (max-width: 600px) {
  .jeb-header { padding: 16px 15px; }
  .jeb-header h1 { font-size: 21px !important; }
  .jeb-header p { font-size: 14px !important; }
  .jeb-test-badge { font-size: 11px; }
  .jeb-page { padding: 8px; gap: 10px; }
  .jeb-left { padding: 10px; border-radius: 14px; }
  .jeb-sidebar { padding: 15px; border-radius: 14px; }
  .jeb-toolbar { display: block; }
  .jeb-pills { margin-bottom: 9px; }
  .jeb-pill { font-size: 12px; padding: 6px 9px; }
  .jeb-legend { font-size: 12px; gap: 8px 10px; }
  .jeb-mobile-help { display: block; font-size: 12px; width: 100%; max-width: none; }
  .jeb-plan-scroll { overscroll-behavior-inline: contain; scrollbar-gutter: stable; padding-bottom: 10px; scrollbar-width: auto; scrollbar-color: rgb(139, 143, 154) rgb(238, 240, 244); overflow: auto hidden !important; }
  .jeb-plan-scroll::-webkit-scrollbar { height: 10px; }
  .jeb-plan-scroll::-webkit-scrollbar-track { background: rgb(238, 240, 244); border-radius: 10px; }
  .jeb-plan-scroll::-webkit-scrollbar-thumb { background: rgb(139, 143, 154); border-radius: 10px; }
  .jeb-hall-wrap { width: 900px !important; min-width: 900px !important; margin: 0px !important; }
  .jeb-app { --seat-w: 25px; --seat-h: 27px; --seat-gap: 3px; --aisle: 10px; padding-bottom: 92px !important; }
  .jeb-row { grid-template-columns: 31px minmax(0px, 1fr) 0px; column-gap: 4px; }
  .jeb-row-label-right { display: none; }
  .jeb-row-label { font-size: 13px; }
  .jeb-app button.jeb-seat { font-size: 10.5px !important; border-radius: 11px !important; }
  .jeb-stage-label { font-size: 20px; }
  .jeb-stage { width: 68%; }
  .jeb-boxes { gap: 8px; justify-content: flex-start; padding-left: 42px; }
  .jeb-box { min-width: 74px; }
  .jeb-box .jeb-seat { --seat-w: 23px; --seat-h: 24px; }
  .jeb-actions { grid-template-columns: 1fr; }
  .jeb-btn { min-height: 48px !important; font-size: 15px !important; }
  .jeb-summary-list { max-height: 150px; }
  .jeb-mobile-cart { display: flex; position: fixed; left: 0px; right: 0px; bottom: 0px; z-index: 99999; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(19, 24, 38, 0.97); color: rgb(255, 255, 255); box-shadow: rgba(0, 0, 0, 0.22) 0px -8px 28px; backdrop-filter: blur(8px); }
  .jeb-mobile-cart-info { min-width: 0px; line-height: 1.18; }
  .jeb-mobile-cart-info strong { display: block; color: rgb(255, 255, 255); font-size: 14px; white-space: nowrap; }
  .jeb-mobile-cart-info span { display: block; color: rgb(207, 214, 230); font-size: 12px; margin-top: 3px; white-space: nowrap; }
  .jeb-app button.jeb-mobile-cart-btn { flex: 0 0 auto !important; border: 0px !important; border-radius: 12px !important; padding: 12px 16px !important; min-height: 46px !important; background: rgb(255, 255, 255) !important; color: rgb(19, 24, 38) !important; font-weight: 800 !important; font-size: 14px !important; cursor: pointer !important; }
  .jeb-checkout-overlay { padding: 10px; }
  .jeb-checkout { border-radius: 15px; }
  .jeb-checkout-head { padding: 16px; }
  .jeb-checkout-head h2 { font-size: 19px !important; }
  .jeb-checkout-body { grid-template-columns: 1fr; padding: 12px; gap: 12px; }
  .jeb-form-grid { grid-template-columns: 1fr; }
  .jeb-form-grid label.full { grid-column: auto; }
  .jeb-checkout-actions { grid-template-columns: 1fr; }
  .jeb-toast { left: 12px; right: 12px; bottom: 88px; max-width: none; }
}
.jeb-plan-nav { display: none; }
@media (max-width: 600px) {
  .jeb-plan-nav { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0px 0px 8px; color: rgb(75, 85, 99); font-size: 12px; font-weight: 700; }
  .jeb-app .jeb-plan-nav button { width: 38px !important; min-width: 38px !important; height: 34px !important; min-height: 34px !important; padding: 0px !important; margin: 0px !important; border: 1px solid rgb(216, 222, 233) !important; border-radius: 10px !important; background: rgb(255, 255, 255) !important; color: rgb(31, 36, 48) !important; font-size: 18px !important; line-height: 32px !important; cursor: pointer !important; }
  .jeb-stage { width: 72%; margin-top: 8px; }
  .jeb-stage-label { margin-bottom: 8px; }
}

/* 0.8.5 — fix: plan sali bez ucinania na desktopie i tablecie */
@media (min-width:1201px) and (max-width:1450px){
  .jeb-app{--seat-w:20px;--seat-h:24px;--seat-gap:1px;--aisle:8px}
}
@media (min-width:601px){
  .jeb-plan-scroll{overflow-x:auto;overflow-y:hidden}
}

/* 0.11.0 — rodzaje biletów, dostępność i czytelne przewijanie planu */
.jeb-event-address{margin-top:4px;font-size:13px;color:rgba(255,255,255,.82)}
.jeb-dot-accessible{background:#fff;border:3px solid #147a43;box-sizing:border-box}
.jeb-app button.jeb-seat.accessible:not(.unavailable){outline:3px solid #147a43;outline-offset:1px}
.jeb-ticket-type{display:block;margin-top:6px;min-width:120px;padding:6px 8px;border:1px solid #d8dee9;border-radius:8px;background:#fff;color:#1f2430;font:inherit}
.jeb-order-item>span{min-width:0}
@media (min-width:601px){
  .jeb-plan-scroll{overflow-x:auto!important;overflow-y:hidden!important;overscroll-behavior-inline:contain;scrollbar-gutter:stable}
}
@media (max-width:600px){
  .jeb-price-grid{grid-template-columns:1fr 1fr}
  .jeb-price-box{padding:10px}
  .jeb-price-box strong{font-size:13px}
}


/* V13: lista koncertów */
.jeb-concerts-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:20px;margin:24px 0}.jeb-concert-card{background:#fff;border:1px solid #d9dee7;border-radius:16px;padding:22px;box-shadow:0 8px 24px rgba(17,24,39,.08)}.jeb-concert-card h2{margin-top:0}.jeb-concert-card .jeb-btn{display:inline-block;text-decoration:none}
