:root{--navy:#131e32;--ink:#202c42;--muted:#788498;--line:#e6ebf1;--paper:#fff;--bg:#f4f6f9;--brand:#2a65dd;--green:#1b9167;--sold:#a82234;--violet:#8b59d9;--amber:#f0a33a;--shadow:0 4px 24px #1e2b4510}
*{box-sizing:border-box}html{font-size:14px}body{margin:0;font:14px/1.5 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;background:var(--bg);color:var(--ink)}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.48}button:hover:not(:disabled){filter:brightness(.977)}[hidden]{display:none!important}.masthead{background:var(--navy);color:#e9edfa;min-height:67px;display:flex;align-items:center;padding:13px max(20px,calc((100vw - 1650px)/2 + 24px));gap:15px}.brand-mark{width:40px;height:40px;background:#fff;color:#172239;border-radius:11px;display:flex;align-items:center;justify-content:center;font-size:19px;letter-spacing:-1.2px;font-weight:850;white-space:nowrap}.brand-mark span{color:#f18756}.brand-name{font-size:14px;letter-spacing:.055em;line-height:1.07;white-space:nowrap}.brand-name span{color:#a7c2ff;font-weight:700}.brand-name small{display:block;font-size:8px;letter-spacing:.25em;color:#8d9eb6;margin-top:6px}.mast-divider{width:1px;height:29px;background:#34425a;margin:0 8px}.mast-product{color:#bdc8d8;font-size:13px}.mast-spacer{flex:1}.sync-indicator{white-space:nowrap;color:#c8d4e5;font-size:11px;background:#1e2e47;border:1px solid #33415d;border-radius:18px;padding:6px 11px}.ping{display:inline-block;width:7px;height:7px;border-radius:100%;background:#f5a944;margin-right:7px}.ping.good{background:#44ca9a}.head-button{color:#e4e9f3;background:transparent;border:1px solid #40516c;border-radius:8px;padding:8px 12px;font-weight:600;font-size:12px}.workspace{max-width:1650px;margin:0 auto;padding:26px 24px 20px}.notice{border-radius:9px;border:1px solid #f7d8a5;background:#fff8ec;color:#835b21;padding:12px 16px;margin-bottom:18px;font-size:12px}.pageheading{display:flex;gap:14px;justify-content:space-between;align-items:center;margin-bottom:22px}.eyebrow{letter-spacing:.14em;font-size:10px;color:#8b98ab;font-weight:850}.eyebrow-dot{color:#ed8f65}.eyebrow-dark{color:#8490a3}.pageheading h1{font-size:29px;margin:2px 0 2px;letter-spacing:-1.15px;font-weight:780}.pageheading p{margin:2px 0;color:#7d899a}.heading-actions{display:flex;gap:10px;flex-wrap:wrap}.btn{background:#fff;border:1px solid #dbe2eb;color:#36435c;padding:10px 14px;border-radius:9px;font-weight:720;font-size:12px;display:inline-flex;align-items:center;justify-content:center;gap:7px;text-decoration:none;transition:background .1s}.btn-primary{color:#fff;background:var(--brand);border-color:var(--brand);box-shadow:0 5px 10px #3867d91b}.btn-secondary{background:#fff}.btn-plain{border-color:transparent;background:transparent;color:#4e5d72}.btn-danger-outline{background:#fff;color:#b72437;border-color:#f1b7bd}.wide{width:100%}.panel{background:var(--paper);border:1px solid var(--line);border-radius:13px;box-shadow:var(--shadow)}.event-control{display:flex;gap:17px;align-items:center;padding:13px 17px;margin-bottom:14px}.event-select-wrap{display:flex;align-items:center;gap:12px;min-width:330px}.event-select-wrap label{font-size:10px;font-weight:850;letter-spacing:.1em;color:#8794a8}.event-select-wrap select{min-width:250px;max-width:440px;font-size:15px;font-weight:730;color:#22324c;border:0;background:#f3f6fb;border-radius:7px;padding:10px}.event-meta{color:#7a8798;flex:1;font-size:12px}.metrics{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin-bottom:16px}.metric{border:1px solid var(--line);background:#fff;border-radius:12px;padding:16px 19px;box-shadow:var(--shadow);position:relative;min-height:105px;overflow:hidden}.metric-label{color:#818ea0;font-size:10px;font-weight:790;letter-spacing:.07em;text-transform:uppercase}.metric-value{font-size:27px;line-height:1.24;font-weight:800;letter-spacing:-1px;margin-top:7px}.metric-indicator{position:absolute;bottom:0;left:0;right:0;height:3px;background:#c8d1dc}.metric-indicator.red{background:#dc4054}.metric-indicator.blue{background:#3875e4}.metric-indicator.purple{background:#9567e2}.metric-indicator.green{background:#43b688}.metric-indicator.orange{background:#efac4a}.metric-indicator.gray{background:#c1ccd9}.content-columns{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:16px;align-items:start}.chart-panel{min-width:0;overflow:hidden}.chart-top{padding:20px 22px 12px;display:flex;align-items:center;justify-content:space-between}.chart-top h2{margin:1px 0 0;font-size:20px;font-weight:760;letter-spacing:-.4px}.chart-actions{display:flex;gap:8px}.icon-btn{background:#f6f8fb;border:1px solid #e6ecf2;border-radius:8px;padding:7px 10px;color:#65748b;font-size:15px}.icon-btn span{font-size:11px;font-weight:700}.sector-strip{display:flex;gap:8px;padding:0 22px 13px;overflow-x:auto;border-bottom:1px solid var(--line)}.sector-tab{background:#f5f7fa;border:1px solid #e6ebf2;border-radius:8px;color:#69788f;padding:8px 13px;font-size:12px;font-weight:750;white-space:nowrap}.sector-tab.active{background:#eaf0ff;border-color:#c8d8ff;color:#2e62d7}.seat-toolbar{padding:13px 21px 4px;display:flex;align-items:center;gap:13px;flex-wrap:wrap}.seat-filter{display:flex;align-items:center;gap:7px;max-width:280px;min-width:210px;flex:1;border:1px solid #e5eaf1;background:#fafbfd;padding:7px 9px;border-radius:9px;color:#8994a3}.seat-filter input{width:100%;border:0;background:transparent;outline:none;font-size:12px}.check-label{white-space:nowrap;display:flex;align-items:center;gap:6px;font-size:11px;color:#657388}.check-label input{accent-color:var(--brand)}.zoom-controls{display:flex;align-items:center;margin-left:auto;gap:4px;color:#718198;font-size:11px;font-weight:700}.zoom-controls button{border:1px solid #e4eaf2;background:#f7f9fc;color:#536683;width:27px;height:27px;border-radius:7px}.zoom-controls span{min-width:37px;text-align:center}.legend{display:flex;flex-wrap:wrap;gap:8px 15px;padding:13px 23px 10px}.legend div{display:flex;align-items:center;gap:6px;color:#77869a;font-size:10px}.legend-dot{width:11px;height:11px;border-radius:3px;display:inline-block}.legend-dot.available{background:#229168}.legend-dot.sold{background:#a82234}.legend-dot.issued{background:#925ee4}.legend-dot.held{background:#edab48}.legend-dot.unknown{background:#dfe4eb}.legend-dot.conflict{background:#fff;border:3px solid #e63047}.map-viewport{min-width:0;overflow:auto;height:min(650px,70vh);min-height:500px;background:radial-gradient(circle at center 20%,#fff 0,#fff 63%,#fbfcfe 100%);position:relative;scrollbar-width:thin}.map-scale{position:relative;transform-origin:top left}.seat-map{position:relative;width:1180px;min-height:790px;margin:0 auto;overflow:visible}.stage{position:absolute;left:370px;top:29px;width:440px;height:36px;border-top:5px solid #a3b4d7;border-radius:50% 50% 8px 8px;background:#f0f4fb;display:flex;justify-content:center;align-items:center;color:#8a9bb8;font-size:10px;font-weight:850;letter-spacing:.32em}.row-label{position:absolute;color:#8e9cb0;font-size:11px;font-weight:740;display:flex;align-items:center;justify-content:center;min-width:40px;height:26px}.row-label.left{left:34px}.row-label.right{right:22px}.seat{position:absolute;width:25px;height:25px;border:1px solid transparent;border-radius:6px 6px 7px 7px;font-size:10px;line-height:1;color:#fff;font-weight:750;padding:0;transition:transform .11s,box-shadow .11s;box-shadow:0 2px 2px #15243a12;z-index:1}.seat:hover{transform:translateY(-3px);box-shadow:0 4px 10px #27385335;z-index:3}.seat.available{background:#229168}.seat.sold{background:#a82234}.seat.issued{background:#925ee4}.seat.held{background:#efad4c;color:#452b11}.seat.blocked{background:#778699}.seat.unknown{background:#e0e5eb;color:#6e7a8d}.seat.conflict{background:#bd203c!important;color:#fff!important;border:2px solid #ffdc49!important;box-shadow:0 0 0 2px #e74b57aa;z-index:4}.seat.conflict::after{content:'!';position:absolute;top:-8px;right:-7px;color:#fff;background:#db263a;border:1px solid #fff;width:12px;height:12px;border-radius:50%;font-size:8px;line-height:11px}.seat.chosen{outline:3px solid #316aee;outline-offset:2px;z-index:5}.seat.dimmed{opacity:.14}.seat:focus-visible{outline:3px solid #173a9c;outline-offset:2px}.map-footer{border-top:1px solid #ecf0f4;padding:12px 21px;display:flex;justify-content:space-between;gap:10px;color:#91a0af;font-size:10px}.right-column{min-width:0;display:grid;gap:15px}.editor-card,.import-card{padding:19px 18px}.card-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:9px;margin-bottom:17px}.card-title-row h2{font-size:17px;letter-spacing:-.4px;margin:4px 0 0}.chip{font-size:10px;letter-spacing:.01em;background:#eff2f7;color:#66748c;border-radius:6px;padding:5px 7px;font-weight:790;white-space:nowrap}.chip-amber{background:#fff3e3;color:#a97a30}.chip-red{background:#ffe9ec;color:#b62032}.chip-green{background:#e5f8ef;color:#157c5b}.empty-selection{text-align:center;padding:24px 12px;color:#758297}.empty-icon{font-size:36px;color:#bcc8d8}.empty-selection h3{margin:10px 0 3px;color:#475973;font-size:14px}.empty-selection p{font-size:11px}.subheading{font-size:11px;color:#536176;font-weight:850;margin:0 0 10px}.space-top{margin-top:18px}.source-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.source-card{background:#f7f9fc;border:1px solid #e8edf2;border-radius:9px;padding:11px 10px}.source-card .source-title{display:flex;gap:6px;align-items:center;font-size:11px;font-weight:800}.source-card .status-pill{font-size:11px;font-weight:750;margin-top:6px}.source-card .source-date{font-size:9px;color:#8b98a9;margin-top:4px;overflow-wrap:anywhere}.source-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#b5bfcc}.source-dot.sold{background:#bd203c}.source-dot.available{background:#25946a}.form-fields{display:grid;gap:11px}.field label{display:block;color:#68758b;font-size:11px;font-weight:760;margin-bottom:5px}.field input,.field textarea,.field select{border:1px solid #dee5ee;border-radius:8px;background:#fff;color:#293a53;outline:0;padding:10px 11px;width:100%;min-width:0}.field textarea{resize:vertical}.field input:focus,.field textarea:focus,.field select:focus{border-color:#91b1ed;box-shadow:0 0 0 3px #2a65dd15}.field-help{font-size:11px;color:#8693a4;margin-top:6px}.field-help code{color:#52678d;background:#f1f5fc;padding:1px 4px;border-radius:4px}.test-tools{border-top:1px solid var(--line);margin-top:18px;padding-top:11px}.test-tools summary{font-size:11px;font-weight:700;color:#8794a7;cursor:pointer}.test-tools p{font-size:11px;color:#8794a7}.test-tools .field{margin:10px 0}.history-section{padding-top:14px;margin-top:16px;border-top:1px solid var(--line)}.history-list{max-height:230px;overflow:auto}.history-entry{margin-left:5px;padding:0 0 13px 14px;border-left:2px solid #e2e9f2;position:relative;color:#687991;font-size:11px}.history-entry::before{content:'';width:6px;height:6px;background:#91a5c7;border-radius:50%;position:absolute;left:-4px;top:4px}.history-entry b{color:#31435e;display:block}.history-entry time{display:block;font-size:10px;color:#9aa6b7;margin-bottom:3px}.muted{color:#7c8a9c;font-size:12px}.small-disclaimer{font-size:10px;line-height:1.7;color:#93a0b0;margin-top:12px}.import-card .btn{margin-top:9px}.seat-warning{padding:11px 12px;background:#fff0ee;border:1px solid #fac4bf;border-left:4px solid #d8273d;border-radius:8px;color:#a82436;font-size:11px;margin-bottom:15px}.seat-warning b{display:block;margin-bottom:5px}.seat-warning span{display:block}.conflict-banner{display:flex;align-items:center;gap:13px;background:#fff4f3;border:1px solid #f7cfc9;border-left:4px solid #d63043;border-radius:10px;padding:13px 17px;margin-bottom:15px}.conflict-sign{width:28px;height:28px;background:#d62c43;border-radius:50%;color:white;display:flex;align-items:center;justify-content:center;font-weight:850}.conflict-copy{display:flex;flex-direction:column;gap:3px;flex:1}.conflict-copy b{color:#a92436;font-size:13px}.conflict-copy span{color:#a4676a;font-size:11px}.bottom-bar{display:flex;justify-content:space-between;gap:12px;padding:19px 4px;color:#96a0af;font-size:10px}.seat-tooltip{position:fixed;z-index:80;min-width:230px;max-width:330px;background:#172239;color:#fff;border-radius:10px;box-shadow:0 12px 40px #0b183445;padding:13px 15px;pointer-events:none;font-size:11px}.seat-tooltip h4{margin:0 0 8px;font-size:13px}.seat-tooltip p{margin:4px 0;color:#d5dded}.seat-tooltip b{color:#fff}.seat-tooltip .warning{color:#ffbd99}.toast{position:fixed;bottom:25px;right:25px;z-index:200;background:#16243e;color:#fff;padding:13px 17px;border-radius:11px;box-shadow:0 10px 36px #17243e48;font-size:12px;max-width:480px;display:none}.toast.visible{display:block}.modal{border:0;padding:0;width:min(94vw,520px);max-height:90vh;border-radius:15px;box-shadow:0 20px 80px #17223d50;color:var(--ink)}.modal-wide{width:min(94vw,750px)}.modal-extra-wide{width:min(94vw,960px)}.modal::backdrop{background:#101c31a6}.modal-body{padding:24px;display:grid;gap:15px;overflow:auto;max-height:90vh}.modal-top{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.modal-top h2{font-size:20px;letter-spacing:-.4px;margin:0}.modal-top p{margin:4px 0 0}.modal-close{border:0;background:#f0f3f8;color:#728098;border-radius:7px;font-size:23px;width:33px;height:33px}.two-fields{display:grid;grid-template-columns:1fr 1fr;gap:13px}.modal-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:3px;flex-wrap:wrap}.layout-input{font:12px/1.7 ui-monospace,SFMono-Regular,Menlo,monospace!important;min-height:250px}.parse-info{font-size:11px;color:#62748a;background:#f6f8fb;border-radius:7px;padding:8px 12px}.parse-info.error{background:#fff2f2;color:#bc2f3b}.import-preview{min-height:150px;max-height:330px;overflow:auto;background:#f8fafc;border:1px solid #e5ebf2;border-radius:9px;padding:14px;color:#64748b;font-size:12px}.empty-import{display:grid;place-items:center;min-height:130px;text-align:center}.import-preview table,.conflict-list table{border-collapse:collapse;width:100%;text-align:left}.import-preview td,.import-preview th,.conflict-list td,.conflict-list th{padding:8px;border-bottom:1px solid #e3e8ef;font-size:11px;vertical-align:top}.import-preview th,.conflict-list th{font-weight:800;color:#6d7a90}.preview-errors{color:#b5283a;font-weight:700}.preview-ok{color:#1d8a65;font-weight:700}.conflict-list{max-height:60vh;overflow:auto}.conflict-list .seat-link{border:0;background:#edf2fc;border-radius:5px;color:#2860cc;padding:5px 8px;font-weight:700}.login-overlay{position:fixed;inset:0;z-index:90;background:#0e192ce8;display:grid;place-items:center}.login-card{background:#fff;border-radius:18px;padding:29px;width:min(90vw,395px);box-shadow:0 25px 90px #0005;display:grid;gap:13px}.login-logo{background:#182943;color:#fff}.login-card h2{margin:0}.login-card p{margin:0 0 5px;color:#7d899c;font-size:12px}.login-error{color:#c42b42;font-size:12px}.login-card .btn{margin-top:7px}html.no-scroll{overflow:hidden}
@media(max-width:1240px){.metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.content-columns{grid-template-columns:minmax(0,1fr) 312px}.mast-product{display:none}}
@media(max-width:900px){.content-columns{grid-template-columns:1fr}.right-column{grid-template-columns:repeat(2,minmax(0,1fr))}.pageheading{align-items:flex-start}.seat-map{margin-left:0}.map-viewport{height:580px}.event-control{flex-wrap:wrap}}
@media(max-width:640px){.masthead{padding:10px 14px;gap:9px}.mast-divider,.mast-product,.head-button{display:none}.brand-name{font-size:11px}.sync-indicator{font-size:10px}.workspace{padding:15px 10px}.pageheading{flex-wrap:wrap}.pageheading h1{font-size:24px}.heading-actions{width:100%}.heading-actions .btn{flex:1}.event-select-wrap{min-width:0;width:100%;flex-wrap:wrap}.event-select-wrap select{min-width:0;max-width:100%;width:100%}.metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.metric{padding:12px 13px;min-height:80px}.metric-value{font-size:23px}.chart-top{padding:15px}.sector-strip{padding:0 13px 12px}.seat-toolbar{padding:12px 13px 2px}.legend{padding:9px 14px}.map-viewport{height:550px}.map-footer{padding:9px 11px}.right-column{grid-template-columns:1fr}.conflict-banner{align-items:flex-start;flex-wrap:wrap}.conflict-banner .btn{width:100%}.bottom-bar{display:block}.two-fields{grid-template-columns:1fr}.modal-body{padding:16px}}
@media print{.masthead,.pageheading,.event-control,.metrics,.right-column,.seat-toolbar,.chart-actions,.bottom-bar,.conflict-banner,.sector-strip,.map-footer,.legend{display:none!important}.workspace{padding:0}.chart-panel{border:0;box-shadow:none}.map-viewport{overflow:visible;height:auto;min-height:unset}.map-scale{transform:none!important}.seat-map{margin:0;transform:scale(.8);transform-origin:top left}.chart-top{padding:0 0 15px}}

/* Chmurowe połączenia bileterii */
.connector-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.connector-panel{border:1px solid #dde5ef;border-radius:12px;padding:16px;display:grid;align-content:start;gap:13px;background:#fbfcfe}
.connector-panel h3{font-size:17px;margin:0}
.connector-status{font-size:11px;color:#9c6571;background:#fff1f2;padding:6px 8px;border-radius:6px;justify-self:start;font-weight:750}
.connector-status.connected{color:#117959;background:#e7f8ee}
.connector-actions{display:flex;flex-wrap:wrap;gap:6px}
.connector-actions .btn{flex:1}
.connector-diagnostic{border:1px solid #e0e7ee;background:#f9fafc;padding:12px;border-radius:10px}
.connector-diagnostic-header{display:flex;align-items:center;justify-content:space-between;gap:9px;font-size:12px}
.connector-diagnostic pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:330px;overflow-y:auto;font-size:11px;line-height:1.6;color:#43546c;background:white;border-radius:7px;padding:12px}
@media(max-width:750px){.connector-grid{grid-template-columns:1fr}}
/* v0.4: katalog wydarzeń po lewej i nawigacja przed wejściem do wydarzenia */
body { --sidebar-width: 252px; }
.navigation{position:fixed;z-index:16;left:0;top:74px;bottom:0;width:var(--sidebar-width);background:#111d30;color:#f5f7fc;overflow:auto;display:flex;flex-direction:column;border-right:1px solid #2b3a51;padding:22px 13px 16px;gap:9px}
.workspace{margin-left:var(--sidebar-width);width:calc(100% - var(--sidebar-width));}
.nav-top,.nav-provider{display:flex;justify-content:space-between;align-items:center;gap:10px}
.nav-caption{font-size:10px;letter-spacing:.14em;font-weight:800;color:#94a8c2}
.nav-add{height:27px;width:27px;border-radius:7px;background:#20334e;border:1px solid #38516e;color:white;cursor:pointer}
.nav-search{background:#202e43;border-radius:9px;display:flex;align-items:center;gap:8px;padding:0 10px;color:#a9b9cf}
.nav-search input{background:none;border:0;min-width:0;width:100%;height:39px;color:white;outline:none;font-size:12px}
.nav-search input::placeholder{color:#9aadc4}
.nav-home,.nav-event,.nav-connect{background:transparent;border:0;text-align:left;color:#c7d7ea;cursor:pointer;width:100%;border-radius:9px;padding:10px 12px;font-size:12px;line-height:1.4;display:flex;gap:9px;align-items:center}
.nav-home.active,.nav-event.active{background:#25466b;color:#fff}
.nav-event:hover,.nav-home:hover,.nav-connect:hover{background:#263f5b;color:white}
.nav-event{display:block;border-left:3px solid transparent;padding:11px 12px}
.nav-event b{display:block;color:inherit;font-size:12px;font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nav-event small{display:block;color:#92a9c2;margin-top:3px;font-size:10px}
.nav-event.active{border-left-color:#66acd9}
.nav-list{overflow-y:auto;overflow-x:hidden;flex:1;min-height:40px}
.nav-muted,.nav-small{color:#91a4bd;font-size:11px;line-height:1.5}
.nav-bottom{border-top:1px solid #324059;padding:14px 3px 0;display:flex;flex-direction:column;gap:12px}
.nav-provider{font-size:12px;color:#b7c8db}.nav-provider b{font-weight:600;font-size:10px;color:#d5ddeb}
.nav-connect{background:#203f60;border:1px solid #486589;justify-content:center;color:white;font-weight:700}
.event-home{min-height:460px}.event-home h2{font-size:27px;margin:5px 0}.home-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:0 0 20px}
.home-event-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(265px,1fr));gap:15px}
.home-event{display:flex;flex-direction:column;gap:10px;min-height:145px;padding:19px 20px;background:white;border:1px solid #e2e6ee;border-radius:15px;text-align:left;cursor:pointer;color:#152b42;box-shadow:0 4px 22px rgba(20,39,61,.045)}
.home-event:hover{border-color:#96b3d2;box-shadow:0 7px 25px rgba(25,53,82,.12)}.home-event h3{margin:0;font-size:17px}.home-event small{color:#6c7c92}.home-event .home-open{margin-top:auto;color:#25699b;font-size:12px;font-weight:700}
.home-empty{padding:60px 18px;background:#f4f6fa;border-radius:15px;text-align:center;color:#738399}
.discovery-section{padding:14px 0}.discovery-list{max-height:300px;overflow:auto}.discovery-line{display:flex;justify-content:space-between;gap:13px;padding:11px 0;border-bottom:1px solid #e2e7ef;font-size:13px}.discovery-line b{display:block}.discovery-line small{display:block;color:#62738b;font-size:11px}.discovery-line button{white-space:nowrap}
@media(max-width:1100px){body{--sidebar-width:214px}.navigation{padding-left:9px;padding-right:9px}.home-head{align-items:flex-start;flex-direction:column}}
@media(max-width:800px){.navigation{position:relative;width:auto;top:auto;bottom:auto;min-height:0;overflow:visible;padding:10px;display:block}.nav-list{display:flex;gap:5px;overflow:auto;max-height:130px}.nav-event{min-width:160px}.nav-bottom,.nav-caption,.nav-search{display:none}.workspace{margin-left:0;width:100%}.home-event-grid{grid-template-columns:1fr}.home-head{display:block}}
.map-not-ready{position:absolute;left:155px;top:115px;width:850px;background:#f4f6f9;border:1px solid #e2e7ef;border-radius:16px;text-align:center;padding:35px;color:#53667d}.map-not-ready b{font-size:18px;color:#213a55}

/* v0.6: compact discovery + unmistakable draft layout warning */
.discovery-compact{max-height:300px;overflow:auto;border:1px solid #e2e8f0;border-radius:12px;margin:12px 0;}
.discovery-compact .discovery-line{display:flex;flex-direction:column;align-items:flex-start;padding:9px 12px;border-bottom:1px solid #edf1f6;gap:3px;}
.discovery-compact .discovery-line:last-child{border-bottom:0;}
.discovery-compact small{display:block;color:#64748b;font-size:11px;}
.map-unverified{position:absolute;z-index:5;top:4px;left:12px;right:12px;font-size:11px;color:#92400e;background:#fef3c7;border:1px solid #f59e0b;border-radius:8px;padding:6px 10px;pointer-events:none;}

.map-scan-status{font-size:12px;line-height:1.45;padding:10px 14px;color:#1d4ed8;background:#eff6ff;border-top:1px solid #dbeafe;border-bottom:1px solid #dbeafe;}
.map-scan-status.error{background:#fffbeb;color:#92400e;border-color:#fde68a;}

/* v09: ticketing source colors and bulk selection */
.seat.kup{background:#ef8a28;color:#fff}
.seat.bil{background:#229e69;color:#fff}
.seat.sold{background:#d04452;color:#fff}
.seat.held,.seat.issued{background:#3779dc;color:#fff}
.seat.blocked{background:#9ca5b1;color:#fff}
.seat.unknown{background:#d9c8f1;color:#604882;border:1px dashed #a283d3}
.seat.bulk-selected{outline:3px solid #163e87;outline-offset:2px;z-index:5}
.legend-dot.kup{background:#ef8a28}.legend-dot.bil{background:#229e69}.legend-dot.held{background:#3779dc}.legend-dot.blocked{background:#9ca5b1}.legend-dot.unknown{background:#d9c8f1;border:1px dashed #a283d3}
.legend-dot.conflict{background:linear-gradient(135deg,#ef8a28 0 47%,#229e69 52% 100%);border:2px solid #a66d24}
#bulkPanel h2{font-size:18px;margin:5px 0 9px}
#bulkPanel p{margin:0 0 12px}

/* v0.10: distinct occupied state: never mislabel it as a paid sale */
.seat.occupied{background:#c3525c;border:2px dashed #fff;color:#fff}.source-dot.occupied{background:#c3525c}.seat-tooltip p{overflow-wrap:anywhere}

/* v10.11 — daty ostatniego udanego odczytu */
.freshness-strip{display:flex;gap:10px;align-items:stretch;margin:0 0 14px;flex-wrap:wrap}
.freshness-caption{align-self:center;font-size:11px;font-weight:750;color:#718099;padding:0 6px 0 1px}
.freshness-provider{background:#fff;border:1px solid #e5eaf2;border-radius:10px;padding:9px 14px;min-width:240px;flex:1;max-width:430px;box-shadow:0 2px 12px #1e2b450b}
.freshness-head{font-size:11px;font-weight:800;color:#31445d;display:flex;gap:7px;align-items:center}
.freshness-dot{width:8px;height:8px;border-radius:50%;background:#bac6d3;display:inline-block;flex-shrink:0}
.freshness-provider.kupbilecik .freshness-dot{background:#e99431}
.freshness-provider.biletyna .freshness-dot{background:#2aa975}
.freshness-date{font-size:12px;font-weight:700;color:#293b56;margin-top:3px}
.freshness-sub{font-size:11px;color:#69768a;margin-top:2px;line-height:1.35}
.freshness-provider.stale{border-color:#efd5ad;background:#fffaf2}
.freshness-provider.error{border-color:#f2c5bd;background:#fff8f5}
.freshness-provider.loading{border-color:#bcd0f5;background:#f5f8ff}
@media(max-width:650px){.freshness-provider{min-width:100%;max-width:none}.freshness-caption{width:100%}}

/* v10.12 — użytkownicy i audyt */
.mast-user{font-size:11px;font-weight:650;color:#e0ecfa;max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bc-account-dialog{border:0;border-radius:16px;padding:25px;width:min(860px,94vw);max-height:88vh;overflow:auto;box-shadow:0 26px 80px #071e3b50;color:#1a2b43}
.bc-account-dialog::backdrop{background:#07182bd0}
.bc-account-header{display:flex;align-items:center;justify-content:space-between;gap:16px}
.bc-account-header h2{margin:5px 0 8px;font-size:23px}
.bc-account-dialog h3{margin:18px 0 10px;font-size:16px}
.bc-account-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(175px,1fr));gap:12px;align-items:end}
.bc-account-form label{font-size:12px;font-weight:700;display:grid;gap:5px}
.bc-account-form input,.bc-account-form select{border:1px solid #ccd9e7;border-radius:9px;padding:10px;font:inherit;min-width:0}
.bc-account-form button{height:42px}
.bc-account-list{margin-top:18px;border-top:1px solid #e3e9f1}
.bc-account-row{padding:13px 0;border-bottom:1px solid #e3e9f1;display:flex;justify-content:space-between;align-items:center;gap:12px}
.bc-account-row small{display:block;margin-top:3px;font-size:11px;color:#64748b}
.bc-account-row button{margin:2px;font-size:11px}
.bc-audit{margin:14px 0;max-height:420px;overflow-y:auto;border:1px solid #e5eaf1;border-radius:10px}
.bc-audit-row{display:grid;grid-template-columns:145px 160px 185px 1fr;gap:8px;padding:11px;border-bottom:1px solid #e8ecf3;align-items:start;font-size:12px}
.bc-audit-row:nth-child(even){background:#f6f8fb}
.bc-audit-row small{color:#64748b;overflow-wrap:anywhere}
.bc-account-message{background:#f4f8fe;border-radius:8px;padding:10px;margin-top:14px;font-size:13px}
@media(max-width:700px){.bc-audit-row{display:flex;flex-direction:column}.bc-account-row{display:block}.mast-user{display:none}}

/* v10.13: jeden serwis Netlify, dwie wewnętrzne podstrony / i /loud */
body.portal-view{background:#0d1728;color:#f4f8ff;min-height:100vh}
body.portal-view #navigation,body.portal-view #workspace,body.portal-view #portalLink,
body.portal-view #exportBackup,body.portal-view #importBackupBtn,body.portal-view #syncLabel{display:none!important}
body:not(.portal-view) #mainPortal,body:not(.portal-view) #headerOpenLoud{display:none!important}
body.portal-view .masthead{position:relative;z-index:19}
body.portal-view .mast-product{color:#abbad0}
body.portal-view #currentUserName{color:#e8f4ff}
.bc-portal{min-height:calc(100vh - 72px);background:radial-gradient(ellipse at 70% 12%,#234263 0,transparent 47%),linear-gradient(140deg,#12223b 0%,#0b1728 62%,#0a1423 100%);color:#fff}
.bc-portal-inner{max-width:1160px;margin:0 auto;padding:clamp(44px,6vw,92px) 25px 55px}
.bc-portal-kicker,.bc-portal-section-title{font-size:11px;letter-spacing:.18em;font-weight:800;color:#95bce5}
.bc-portal-hero h1{font-size:clamp(35px,5.1vw,67px);line-height:1.12;letter-spacing:-.045em;margin:20px 0;max-width:880px;color:#fff;font-weight:790}
.bc-portal-hero h1 span{color:#95c3f7}
.bc-portal-hero>p{max-width:690px;color:#b7c6d9;font-size:15px;line-height:1.75;margin:0 0 23px}
.bc-portal-meta{display:inline-flex;align-items:center;gap:8px;padding:9px 14px;border:1px solid #365270;border-radius:25px;color:#c5d9f0;background:#ffffff0a;font-size:12px}
.bc-portal-presence,.bc-portal-live span{width:8px;height:8px;border-radius:50%;background:#43c99b;display:inline-block}
.bc-portal-section-title{margin:67px 0 17px;display:flex;justify-content:space-between;align-items:center;gap:12px;color:#d5e3f2}
.bc-portal-section-title small{font-weight:600;letter-spacing:0;color:#8da6c2;font-size:12px}
.bc-portal-modules{display:grid;grid-template-columns:1.22fr .9fr;gap:18px}
.bc-portal-module,.bc-portal-upcoming{border:1px solid #3d5b7b;background:#ffffff0d;border-radius:20px;padding:27px;min-height:310px;display:flex;flex-direction:column;justify-content:space-between;gap:17px}
.bc-portal-module{text-decoration:none;color:#fff;transition:background .18s,border-color .18s,transform .18s;box-shadow:0 12px 45px #0000001a}
.bc-portal-module:hover,.bc-portal-module:focus-visible{background:#ffffff17;border-color:#88bbef;transform:translateY(-2px);outline:none}
.bc-portal-module-top{display:flex;align-items:flex-start;justify-content:space-between}
.bc-portal-icon{display:grid;place-items:center;background:#2b73c2;color:#fff;width:53px;height:53px;border-radius:14px;font-size:26px;font-weight:850}
.bc-portal-live{display:inline-flex;align-items:center;gap:7px;font-size:11px;color:#b7d6d0;background:#1d453d;padding:6px 11px;border-radius:20px}
.bc-portal-live span{width:6px;height:6px}
.bc-portal-module-kicker{letter-spacing:.15em;font-size:10px;font-weight:800;color:#9cbfe5}
.bc-portal-module h2{margin:5px 0 5px;color:#fff;font-size:34px;letter-spacing:-.04em}
.bc-portal-module p,.bc-portal-upcoming p{line-height:1.6;color:#b7c9df;margin:0;max-width:530px}
.bc-portal-go{align-self:flex-start;display:flex;gap:24px;align-items:center;background:#3875d4;padding:11px 17px;border-radius:9px;font-size:12px;font-weight:800;color:#fff}
.bc-portal-upcoming{background:#ffffff04;border-color:#344862;justify-content:center;gap:16px}
.bc-portal-upcoming-icon{color:#9ab5d3;font-size:26px;border:1px solid #344b69;width:48px;height:48px;border-radius:12px;display:grid;place-items:center}
.bc-portal-upcoming h2{font-size:23px;margin:0;color:#c2d3e7}
.bc-portal-coming{font-size:11px;color:#9bb1ca}
.bc-portal-footer{margin-top:54px;color:#8298b4;font-size:11px}
@media(max-width:780px){.bc-portal-modules{grid-template-columns:1fr}.bc-portal-upcoming{min-height:200px}.bc-portal-section-title{margin-top:44px}.bc-portal-inner{padding-top:48px}}
@media(max-width:660px){body.portal-view .masthead{gap:8px;padding:10px}.bc-portal-inner{padding-left:17px;padding-right:17px}.bc-portal-hero>p{font-size:13px}.bc-portal-module{min-height:285px}.bc-portal-upcoming{min-height:170px}}
