/* =====================================================================
   ImportPanel, portal klienta E: pulpit z modułów (CAP-2, 29.09.2026)
   Wygląd przeniesiony z makiet assets/mockups/portal-redesign/warianty/
   (pulpit-baza.css i 01-07): bilet 228 px ze sceną obok mapy, mapa na
   tle #ECE6DD, plakietki płatności z kropką, lista zamówień bez zdjęć.
   Ładowany po css/portal-e.css (tokeny --e-*).
   ===================================================================== */

:root { --e-map-bg: #ECE6DD; --e-land: #C4B8A6; --e-hatch: repeating-linear-gradient(135deg, #E7C9A8 0 5px, var(--e-sun-tint) 5px 10px); }

.e-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.e-page-h-r { display: flex; align-items: center; gap: 10px 12px; flex-wrap: wrap; justify-content: flex-end; }
.e-hello { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.e-pill { display: inline-flex; align-items: center; gap: 6px; background: var(--e-sun-tint); color: var(--e-sun); padding: 3px 9px; border-radius: 999px; font-size: 12.5px; font-weight: 800; white-space: nowrap; }
.e-pill.sea { background: var(--e-sea-tint); color: var(--e-sea-ink); }
.e-pill.ok { background: var(--e-ok-tint); color: var(--e-ok); }
.e-pill.gray { background: var(--e-bg); color: var(--e-ink-2); }
.e-pb { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 800; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.e-pb::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.e-pb.ok { background: var(--e-ok-tint); color: var(--e-ok); }
.e-pb.info { background: var(--e-sea-tint); color: var(--e-sea-ink); }
.e-pb.due { background: var(--e-sun-tint); color: var(--e-sun); }
.e-pb.late { background: var(--e-late-tint); color: var(--e-late); }
.e-pb.plan { background: var(--e-bg); color: var(--e-ink-3); }
.e-pb.plan::before { background: transparent; box-shadow: inset 0 0 0 1.5px currentColor; }
.e-m .live { width: 7px; height: 7px; border-radius: 50%; background: #F5B77A; box-shadow: 0 0 0 4px rgba(245,183,122,.25); display: inline-block; flex: none; }
.e-linkbtn { border: 0; background: none; padding: 0; font: inherit; color: var(--e-sea-2); font-weight: 700; cursor: pointer; }
.e-linkbtn:hover { text-decoration: underline; }
.e-pbar { height: 8px; border-radius: 8px; background: var(--e-surface-2); overflow: hidden; display: flex; }
.e-pbar i { display: block; height: 100%; background: var(--e-sea); }
.e-pbar i.due { background: var(--e-hatch); }

/* ---------- siatka modułów ---------- */
.e-grid { --e-row: 176px; position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-flow: row dense; grid-auto-rows: auto; gap: 44px 22px; align-items: stretch; }
.e-mod { grid-column: 1 / -1; min-width: 0; position: relative; display: flex; flex-direction: column; }
.e-mod > .e-mod-body { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.e-mod > .e-mod-body > * { flex: 1 0 auto; }
.e-mod.sz-w > .e-mod-body > * { flex: 0 0 auto; }
.e-mod.sz-s { grid-column: span 1; }
.e-mod.sz-m { grid-column: span 2; }
.e-mod.sz-l { grid-column: span 2; grid-row: span 2; }
.e-mod.sz-s > .e-mod-body, .e-mod.sz-m > .e-mod-body { min-height: var(--e-row); }
.e-mod.sz-l > .e-mod-body { min-height: calc(var(--e-row) * 2 + 22px); }
.e-m-none { padding: 26px 28px; }
.e-m-none p { margin: 6px 0 0; color: var(--e-ink-2); max-width: 580px; }
.e-m-none .acts { margin-top: 14px; }
.e-grid-empty { padding: 40px 24px; text-align: center; margin-top: 8px; }
.e-grid-empty p { color: var(--e-ink-2); margin: 6px 0 18px; }

/* ---------- 01 bilet i mapa ---------- */
.e-m01 { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 22px; align-items: stretch; }
.e-m01-tk { border-radius: 28px; box-shadow: var(--e-shadow-l); overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.e .e-m01-tk .e-trip-img { height: 228px; background: #20333F; flex: none; }
.e-m01-tk .e-trip-img::after { background: linear-gradient(180deg, rgba(8,20,28,.35) 0%, rgba(8,20,28,0) 30%, rgba(8,20,28,0) 42%, rgba(8,20,28,.8) 100%); }
.e-m01-tk .e-trip-top { top: 18px; left: 20px; right: 20px; }
.e-m01-tk .e-trip-cap { left: 24px; right: 24px; bottom: 20px; }
.e .e-m01-tk .e-trip-cap h2 { font-size: 38px; margin: 4px 0 6px; }
.e-m01-tk .e-trip-cap p { font-size: 16px; max-width: 560px; }
.e-m01-tk .e-pass { padding: 24px 28px 22px; flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.e-m01-tk .e-pass .perf { margin: 22px -28px 20px; }
.e-m01-tk .e-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.e-m01-tk .e-meta .act { grid-column: 1 / -1; }
.e-m01-tk .e-route { gap: 18px; }
.e-m01-tk .e-route .pt .code { font-size: 38px; }
.e-m01-map { border-radius: 28px; overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.e-m01-map .hd { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 22px 14px; }
.e-m01-map .upd { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--e-ink-3); white-space: nowrap; }
.e-m01-map .mapbox { flex: 1; background: var(--e-map-bg); display: flex; align-items: center; }
.e-m01-map .ft { padding: 14px 22px 18px; display: grid; gap: 12px; margin-top: auto; }
.e-m01-map .nx { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; color: var(--e-ink-2); border-top: 1px solid var(--e-line); padding-top: 12px; }
.e-m01-map .nx b { color: var(--e-ink); }
.e-m01-map .wp { display: flex; gap: 6px; flex-wrap: wrap; }
.e-m01-map .wp span { font-size: 12.5px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: var(--e-bg); color: var(--e-ink-2); }
.e-m01-map .wp span.ok { background: var(--e-ok-tint); color: var(--e-ok); }
.e-miles { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--e-ink-2); }
.e-miles > span:first-child { white-space: nowrap; }
.e-miles b { color: var(--e-ink); font-weight: 800; }
.e-miles .mbar { flex: 1 1 120px; height: 6px; border-radius: 6px; background: var(--e-surface-2); overflow: hidden; min-width: 40px; }
.e-miles .mbar i { display: block; height: 100%; background: var(--e-sea); border-radius: 6px; }
/* mapa z wariantu 01: tło mapy, ciemniejszy ląd, podpisy bez ramek */
.e-m01 .e-map, .e-m02 .e-map { border-radius: 0; background: var(--e-map-bg); width: 100%; }
.e-m01 .e-map .land, .e-m02 .e-map .land { fill: var(--e-land); }
.e-m01 .e-map .tag, .e-m02 .e-map .tag { background: none; padding: 0; border-radius: 0; font: 700 12.5px/1.2 var(--e-body); text-shadow: 0 0 3px var(--e-map-bg), 0 0 3px var(--e-map-bg), 0 0 2px var(--e-map-bg); }
.e-m01 .e-map .tag small, .e-m02 .e-map .tag small { font: 600 11.5px/1.3 var(--e-body); }
.e-m01 .e-map .pt, .e-m02 .e-map .pt { box-shadow: 0 0 0 3px var(--e-map-bg); }
.e-map .pt.via { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: var(--e-surface); box-shadow: inset 0 0 0 2px var(--e-ink-3) !important; }

/* ---------- 02 mapa w tle z biletem ---------- */
.e-m02 { display: grid; grid-template-columns: minmax(0, 1fr) 404px; align-items: center; border-radius: 28px; background: var(--e-map-bg); box-shadow: var(--e-shadow); overflow: hidden; }
.e-m02 .bg { align-self: stretch; display: flex; align-items: center; min-width: 0; }
.e-m02-tk { margin: 18px 18px 18px 0; border-radius: 24px; box-shadow: var(--e-shadow-l); padding: 22px 24px; min-width: 0; }
.e-m02-tk .th { display: flex; justify-content: space-between; gap: 10px; align-items: center; font-size: 13px; font-weight: 700; }
.e-m02-tk .th .e-muted { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.e .e-m02-tk h2 { font: 700 32px/1.06 var(--e-disp); letter-spacing: -.03em; margin: 12px 0 4px; }
.e-m02-tk > p { margin: 0 0 16px; font-size: 14px; }
.e-m02-tk .e-route { gap: 14px; }
.e-m02-tk .e-route .pt .code { font-size: 30px; }
.e-m02-tk .e-route .remain { margin-top: 14px; }
.e-m02-tk .e-miles { margin-top: 16px; }
.e-m02-tk .perf { position: relative; height: 1px; margin: 18px -24px 16px; border-top: 1.5px dashed var(--e-line-2); }
.e-m02-tk .perf::before, .e-m02-tk .perf::after { content: ""; position: absolute; top: -12px; width: 22px; height: 22px; border-radius: 50%; background: var(--e-map-bg); }
.e-m02-tk .perf::before { left: -11px; } .e-m02-tk .perf::after { right: -11px; }
.e-m02-tk .e-meta { grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.e-m02-tk .acts { display: flex; gap: 10px; margin-top: 18px; }
.e-m02-tk .acts .e-btn { flex: 1; }

/* ---------- 04 najpilniejsza sprawa ---------- */
.e-m04 { display: grid; grid-template-columns: minmax(0, 1fr) 340px; border-radius: 28px; box-shadow: var(--e-shadow-l); overflow: hidden; }
.e-m04.calm { grid-template-columns: minmax(0, 1fr); }
.e-m04-main { padding: 28px 34px 30px; border-top: 4px solid var(--e-sun); min-width: 0; }
.e-m04.calm .e-m04-main { border-top-color: var(--e-sea); }
.e-m04 .when { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 700; color: var(--e-ink-3); flex-wrap: wrap; }
.e-m04 .when .pill { background: var(--e-sun-tint); color: var(--e-sun); padding: 3px 10px; border-radius: 999px; font-weight: 800; }
.e .e-m04 h2 { font: 700 38px/1.08 var(--e-disp); letter-spacing: -.03em; margin: 16px 0 8px; }
.e .e-m04 h2:focus { outline: none; }
.e-m04-main > p { margin: 0; color: var(--e-ink-2); font-size: 15.5px; max-width: 640px; }
.e-m04 .big { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 22px 0 18px; }
.e-m04 .big b { font: 700 48px/1 var(--e-disp); letter-spacing: -.04em; }
.e-m04 .big b small { font: 600 16px var(--e-body); color: var(--e-ink-3); letter-spacing: 0; }
.e-m04-bank { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; }
.e-m04-bank > div { position: relative; background: var(--e-bg); border-radius: 14px; padding: 12px 52px 12px 14px; min-width: 0; }
.e-m04-bank dt { font-size: 12.5px; font-weight: 700; color: var(--e-ink-3); }
.e-m04-bank dd { margin: 3px 0 0; font-weight: 800; font-size: 14.5px; overflow-wrap: anywhere; }
.e-m04-bank .e-copy { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); background: var(--e-surface); width: 34px; height: 34px; border-radius: 10px; }
.e-m04 .acts { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.e-m04-list { background: #FBFAF8; border-left: 1px solid var(--e-line); padding: 24px 20px; display: flex; flex-direction: column; min-width: 0; }
.e-m04-list .hd { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin: 0 4px 12px; font-size: 13.5px; font-weight: 700; }
.e-m04-list ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.e-m04-list button { width: 100%; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; align-items: start; text-align: left; border: 0; background: none; padding: 12px; border-radius: 16px; cursor: pointer; font: inherit; color: inherit; }
.e-m04-list button:hover { background: var(--e-surface-2); }
.e-m04-list button[aria-current] { background: var(--e-surface); box-shadow: var(--e-shadow); }
.e-m04-list .n { width: 28px; height: 28px; border-radius: 50%; background: var(--e-ink); color: #fff; display: grid; place-items: center; font: 800 12.5px/1 var(--e-body); }
.e-m04-list b { display: block; font-weight: 800; font-size: 14.5px; line-height: 1.3; }
.e-m04-list small { display: block; color: var(--e-sun); font-weight: 700; font-size: 12.5px; margin-top: 2px; }
.e-m04-list .foot { margin: auto 4px 0; padding-top: 16px; border-top: 1px solid var(--e-line); font-size: 13px; color: var(--e-ink-3); }
.e-m04-list .foot b { display: inline; font-size: 13px; color: var(--e-ink); }

/* ---------- 05 kafle ---------- */
.e-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-flow: dense; gap: 18px; }
.e-tile { background: var(--e-surface); border-radius: 26px; box-shadow: var(--e-shadow); padding: 20px 22px; display: flex; flex-direction: column; gap: 6px; min-width: 0; min-height: 196px; text-decoration: none; color: inherit; transition: box-shadow .2s; overflow: hidden; }
.e-tile:hover { box-shadow: var(--e-shadow-l); }
.e-tile.sun { border-top: 4px solid var(--e-sun); }
.e-tile.sun .val { color: var(--e-sun); }
.e-tile.wide { grid-column: span 2; }
.e-tile .lab { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 800; color: var(--e-ink-2); }
.e-tile .lab .e-st { margin-left: auto; }
.e-tile .ico { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: var(--e-bg); color: var(--e-ink-2); flex: none; }
.e-tile.sun .ico { background: var(--e-sun-tint); color: var(--e-sun); }
.e-tile.sea .ico { background: var(--e-sea-tint); color: var(--e-sea); }
.e-tile .ico .e-ic { width: 18px; height: 18px; }
.e-tile .val { font: 700 30px/1.05 var(--e-disp); letter-spacing: -.03em; margin-top: auto; }
.e-tile .val small { font: 600 13px var(--e-body); color: var(--e-ink-3); letter-spacing: 0; }
.e-tile .sub { font-size: 13.5px; color: var(--e-ink-2); }
.e-tile-stack { display: flex; height: 14px; border-radius: 8px; overflow: hidden; margin: 14px 0 12px; background: var(--e-surface-2); }
.e-tile-stack i { display: block; height: 100%; }
.e-tile-stack .p { background: var(--e-sea); }
.e-tile-stack .d { background: var(--e-hatch); }
.e-tile-leg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.e-tile-leg > span { min-width: 0; }
.e-tile-leg b { display: block; font: 700 21px/1.1 var(--e-disp); letter-spacing: -.02em; margin-top: 6px; white-space: nowrap; }
.e-tile-docs { display: block; margin-top: 8px; font-size: 13.5px; }
.e-tile-docs > span { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; border-top: 1px solid var(--e-line); }
.e-tile-docs > span:first-child { border-top: 0; }
.e-tile-docs > span > span:first-child { font-weight: 700; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.e-tile-docs > span > span + span { color: var(--e-ink-3); flex: none; }

/* ---------- 06 oś czasu konta ---------- */
.e-m06 { border-radius: 28px; box-shadow: var(--e-shadow-l); padding: 24px 0 10px; }
.e-m06 .hd { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px 16px; padding: 0 26px 16px; flex-wrap: wrap; }
.e-m06 .hd p { margin: 4px 0 0; font-size: 13.5px; }
.e-m06 .legend { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 12.5px; font-weight: 700; color: var(--e-ink-2); }
.e-m06 .legend > span { display: inline-flex; align-items: center; gap: 7px; }
.e-m06 .sw { width: 22px; height: 10px; border-radius: 5px; display: inline-block; }
.e-m06 .mk { width: 13px; height: 13px; border-radius: 50%; display: inline-block; }
.e-m06 .sw.q, .e-m06 .seg.q { background: #D5CCBF; }
.e-m06 .sw.prod, .e-m06 .seg.prod { background: #9DB9C8; }
.e-m06 .sw.sea, .e-m06 .seg.sea { background: var(--e-sea); }
.e-m06 .sw.land, .e-m06 .seg.land { background: #5E8BA3; }
.e-m06 .seg.done { background: #9FB3BF; }
.e-m06 .sw.plan { background: transparent; box-shadow: inset 0 0 0 2px #8A9097; }
.e-m06 .mk.ok { background: var(--e-ok); }
.e-m06 .mk.due { background: #fff; box-shadow: inset 0 0 0 3px var(--e-sun); }
.e-m06 .mk.late { background: var(--e-late); }
.e-m06 .scroller { overflow-x: auto; scrollbar-width: thin; }
.e-m06 .scroller:focus-visible { outline-offset: -3px; }
.e-m06 .tl { min-width: 900px; display: grid; grid-template-columns: 236px minmax(0, 1fr); }
.e-m06 .lc { position: sticky; left: 0; z-index: 3; background: var(--e-surface); padding: 12px 16px 12px 26px; border-top: 1px solid var(--e-line); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 5px; min-width: 0; }
.e-m06 .lc a { text-decoration: none; color: inherit; }
.e-m06 .lc a:hover b { text-decoration: underline; }
.e-m06 .lc b { font-weight: 800; font-size: 14px; display: block; line-height: 1.25; }
.e-m06 .tc { position: relative; height: 86px; border-top: 1px solid var(--e-line); margin-right: 26px; }
.e-m06 .tc.head, .e-m06 .lc.head { height: 34px; border-top: 0; }
.e-m06 .lc.head { padding-top: 0; padding-bottom: 6px; font-size: 12.5px; font-weight: 800; color: var(--e-ink-3); justify-content: flex-end; }
.e-m06 .ml { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--e-line); }
.e-m06 .mlab { position: absolute; bottom: 8px; font-size: 12.5px; font-weight: 800; color: var(--e-ink-3); transform: translateX(8px); white-space: nowrap; }
.e-m06 .today { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--e-sun); z-index: 1; transform: translateX(-1px); }
.e-m06 .todaylab { position: absolute; top: 8px; transform: translateX(-50%); background: var(--e-sun); color: #fff; font-size: 12px; font-weight: 800; padding: 2px 9px; border-radius: 999px; white-space: nowrap; z-index: 2; }
.e-m06 .seg { position: absolute; top: 50%; height: 14px; margin-top: -7px; border-radius: 7px; }
.e-m06 .seg.plan { background: transparent !important; box-shadow: inset 0 0 0 2px #8A9097; background-image: repeating-linear-gradient(135deg, transparent 0 5px, rgba(15,59,83,.06) 5px 10px) !important; }
.e-m06 .tick { position: absolute; top: 50%; z-index: 2; }
.e-m06 .tick i { position: absolute; left: -1px; top: -12px; width: 2px; height: 24px; border-radius: 1px; background: var(--e-ink-2); }
.e-m06 .tick em { position: absolute; top: 12px; transform: translateX(-50%); font-style: normal; font-size: 11.5px; font-weight: 700; color: var(--e-ink-3); white-space: nowrap; }
.e-m06 .pm { position: absolute; top: 50%; z-index: 3; width: 20px; height: 20px; border-radius: 50%; transform: translate(-50%, -50%); border: 0; padding: 0; cursor: pointer; display: grid; place-items: center; transition: transform .15s; }
.e-m06 .pm .e-ic { width: 12px; height: 12px; stroke: #fff; stroke-width: 3; }
.e-m06 .pm.ok { background: var(--e-ok); box-shadow: 0 0 0 3px #fff; }
.e-m06 .pm.due { background: #fff; box-shadow: inset 0 0 0 4px var(--e-sun), 0 0 0 3px #fff, 0 0 0 8px var(--e-sun-tint); }
.e-m06 .pm.late { background: var(--e-late); box-shadow: 0 0 0 3px #fff; }
.e-m06 .pm.plan { background: #fff; box-shadow: inset 0 0 0 2px var(--e-ink-3), 0 0 0 3px #fff; }
.e-m06 .pm:hover, .e-m06 .pm:focus-visible { transform: translate(-50%, -50%) scale(1.15); }
.e-m06 .plab { position: absolute; top: 6px; transform: translateX(-50%); font-size: 12px; font-weight: 800; white-space: nowrap; color: var(--e-sun); z-index: 2; }
.e-m06 .tip { position: absolute; left: 4px; bottom: 5px; font-size: 11.5px; font-weight: 700; color: var(--e-ink-3); white-space: nowrap; }
.e-m06-info { margin: 10px 26px 8px; font-size: 13.5px; color: var(--e-ink-2); min-height: 20px; }

/* ---------- 07 trzy liczby ---------- */
.e .e-m07 .say { font: 700 44px/1.08 var(--e-disp); letter-spacing: -.035em; margin: 0 0 22px; max-width: 920px; }
.e-m07 .say em { font-style: normal; color: var(--e-sun); }
.e-m07 .three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.e-m07 .num { background: var(--e-surface); border: 0; border-radius: 22px; box-shadow: var(--e-shadow); padding: 18px 20px; text-align: left; cursor: pointer; display: flex; flex-direction: column; gap: 4px; min-width: 0; font: inherit; color: inherit; transition: box-shadow .2s; }
.e-m07 .num:hover { box-shadow: var(--e-shadow-l); }
.e-m07 .num[aria-expanded="true"] { box-shadow: inset 0 0 0 2px var(--e-sea), var(--e-shadow); }
.e-m07 .num .k { font-size: 13px; font-weight: 800; color: var(--e-ink-3); display: flex; justify-content: space-between; gap: 8px; }
.e-m07 .num .k .e-ic { width: 18px; height: 18px; transition: transform .2s; }
.e-m07 .num[aria-expanded="true"] .k .e-ic { transform: rotate(90deg); }
.e-m07 .num .v { font: 700 34px/1.05 var(--e-disp); letter-spacing: -.035em; margin-top: 4px; white-space: nowrap; }
.e-m07 .num .v small { font: 600 15px var(--e-body); color: var(--e-ink-3); letter-spacing: 0; }
.e-m07 .num .s { font-size: 13.5px; color: var(--e-ink-2); }
.e-m07 .num.due .v { color: var(--e-sun); }
.e-m07 .num .pbar { display: flex; height: 6px; margin-top: 8px; border-radius: 6px; overflow: hidden; background: var(--e-surface-2); }
.e-m07 .num .pbar i { display: block; height: 100%; background: var(--e-sea); }
.e-m07 .num .pbar i.d { background: var(--e-hatch); }
.e-m07 .drawer { margin-top: 14px; border-radius: 24px; padding: 22px 24px; }
.e-m07-waits { list-style: none; margin: 0; padding: 0; }
.e-m07-waits li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px 14px; align-items: center; padding: 12px 0; border-top: 1px solid var(--e-line); }
.e-m07-waits li:first-child { border-top: 0; }
.e-m07-waits b { font-weight: 800; }
.e-m07-waits small { display: block; color: var(--e-sun); font-weight: 700; font-size: 12.5px; }
.e-m07-waits .a { font: 700 17px/1.2 var(--e-disp); white-space: nowrap; }
.e-m07-waits .a small { display: inline; color: var(--e-ink-3); font: 600 12.5px var(--e-body); }
.e-m07-waits .acts { display: flex; gap: 6px; }

/* ---------- płatności ---------- */
.e-mpay .cols { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.e-ptot { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 14px 0 8px; }
.e-ptot > div { background: var(--e-bg); border-radius: var(--e-radius-s); padding: 12px 14px; min-width: 0; }
.e-ptot dt { display: flex; align-items: center; gap: 6px; }
.e-ptot dd { margin: 4px 0 0; font: 700 22px/1.1 var(--e-disp); letter-spacing: -.02em; white-space: nowrap; }
.e-ptot dd small { display: block; font: 600 12.5px/1.35 var(--e-body); color: var(--e-ink-3); letter-spacing: 0; white-space: normal; margin-top: 3px; }
.e-ptot .is-ok dd { color: var(--e-ok); }
.e-ptot .is-due dd { color: var(--e-sun); }
.e-ptot .is-late dd { color: var(--e-ink-3); }
.e-psched { list-style: none; margin: 0; padding: 0; }
.e-psrow { display: grid; grid-template-columns: 62px minmax(0, 1fr) auto; gap: 4px 14px; align-items: center; padding: 13px 0; border-top: 1px solid var(--e-line); }
.e-psrow:first-child { border-top: 0; }
.e-psrow .dd { font: 700 19px/1 var(--e-disp); letter-spacing: -.02em; }
.e-psrow .dd small { display: block; font: 600 12px/1.4 var(--e-body); color: var(--e-ink-3); letter-spacing: 0; margin-top: 3px; }
.e-psrow .t { font-weight: 700; font-size: 14.5px; min-width: 0; }
.e-psrow .t a { color: inherit; text-decoration: none; }
.e-psrow .t a:hover { text-decoration: underline; }
.e-psrow .t small { display: block; font-weight: 500; font-size: 13px; color: var(--e-ink-3); overflow-wrap: anywhere; }
.e-psrow .a { text-align: right; font-weight: 800; white-space: nowrap; font-size: 15px; }
.e-psrow .a .e-pb { margin-top: 5px; }
.e-psrow.paid .dd { color: var(--e-ink-3); }
.e-psrow.paid .a { color: var(--e-ink-2); }
.e-psrow.due .dd { color: var(--e-sun); }
.e-opay { display: grid; gap: 16px; }
.e-opay .top2 { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; margin-bottom: 7px; }
.e-opay .top2 b { font-weight: 800; }
.e-opay p { margin: 6px 0 0; font-size: 13px; color: var(--e-ink-3); }
.e-opay p b { color: var(--e-ink); font-weight: 700; }

/* ---------- zamówienia (lista bez zdjęć) ---------- */
.e-olist-card { padding: 8px 24px; }
.e-olist { list-style: none; margin: 0; padding: 0; }
.e-orow { display: grid; grid-template-columns: 54px minmax(0, 1fr) 150px 170px 20px; gap: 16px; align-items: center; padding: 14px 4px; border-top: 1px solid var(--e-line); text-decoration: none; color: inherit; }
.e-olist li:first-child .e-orow { border-top: 0; }
.e-orow:hover { background: #FBFAF8; }
.e-orow .no { font: 700 20px/1 var(--e-disp); letter-spacing: -.02em; color: var(--e-ink-3); }
.e-orow .ti { font-weight: 800; font-size: 15px; min-width: 0; }
.e-orow .ti small { display: block; font-weight: 500; color: var(--e-ink-3); font-size: 13px; margin-top: 1px; }
.e-orow .st { justify-self: start; }
.e-orow .pay { font-size: 13px; color: var(--e-ink-3); }
.e-orow .pay b { color: var(--e-ink); }
.e-orow .pay .e-pbar { height: 6px; margin-top: 5px; }
.e-orow .e-ic { width: 18px; height: 18px; }
.e-orow .mst { display: flex; gap: 4px; margin-top: 6px; max-width: 160px; }
.e-orow .mst i { flex: 1; height: 4px; border-radius: 4px; background: var(--e-line); }
.e-orow .mst i.on { background: var(--e-sea); }
.e-orow .mst i.cur { background: var(--e-sun); }
.e-mord .e-arch { margin-top: 16px; }

/* ---------- opiekun ---------- */
.e-mcare .e-strip { margin-top: 0; }

/* ---------- szerokość połowy i węższe ekrany ---------- */
.e-mod.half .e-m01, .e-mod.half .e-mpay .cols { grid-template-columns: minmax(0, 1fr); }
.e-mod.half .e-m02 { grid-template-columns: minmax(0, 1fr); }
.e-mod.half .e-m02-tk { margin: 0 16px 16px; }
.e-mod.half .e-m04 { grid-template-columns: minmax(0, 1fr); }
.e-mod.half .e-m04-list { border-left: 0; border-top: 1px solid var(--e-line); }
.e-mod.half .e-m04-main { padding: 24px 24px 26px; }
.e-mod.half .e-m04 h2 { font-size: 30px; }
.e-mod.half .e-m04-bank { grid-template-columns: minmax(0, 1fr); }
.e-mod.half .e-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.e-mod.half .e-wait { grid-template-columns: minmax(0, 1fr); }
.e-mod.half .e-m07 .say { font-size: 30px; }
.e-mod.half .e-m07 .three { grid-template-columns: minmax(0, 1fr); }
.e-mod.half .e-orow { grid-template-columns: 44px minmax(0, 1fr) auto 20px; }
.e-mod.half .e-orow .pay { display: none; }
.e-mod.half .e-facts4 { grid-template-columns: 1fr 1fr; }
.e-mod.half .e-facts4 > div:nth-child(3) { border-left: 0; }
.e-mod.half .e-facts4 > div:nth-child(n+3) { border-top: 1px solid var(--e-line); }
.e-mod.half .e-axis { grid-template-columns: minmax(0, 1fr); gap: 0; }
@media (max-width: 1080px) {
    .e-m01, .e-mpay .cols, .e-m02, .e-m04 { grid-template-columns: minmax(0, 1fr); }
    .e-m02-tk { margin: 0 16px 16px; }
    .e-m04-list { border-left: 0; border-top: 1px solid var(--e-line); }
    .e-orow { grid-template-columns: 44px minmax(0, 1fr) 140px 20px; }
    .e-orow .pay { display: none; }
}

/* ---------- tryb "Dostosuj pulpit" ---------- */
.e-cust .e-ic, .e-editbar .e-ic { width: 18px; height: 18px; }
.e-editbar { position: sticky; top: 80px; z-index: 25; display: flex; align-items: center; gap: 10px 18px; flex-wrap: wrap; background: rgba(255,255,255,.95); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-radius: 20px; box-shadow: var(--e-shadow-l); padding: 12px 14px 12px 20px; margin: 0 0 28px; animation: eUp .3s cubic-bezier(.2,.7,.2,1) both; }
body.portal-preview .e-editbar { top: 120px; }
.e-editbar .t { flex: 1 1 280px; min-width: 0; font-size: 13.5px; color: var(--e-ink-3); }
.e-editbar .t b { display: block; font: 700 17px/1.2 var(--e-disp); color: var(--e-ink); letter-spacing: -.015em; }
.e-editbar .acts { display: flex; gap: 8px; flex-wrap: wrap; }
.e-save { font-size: 13px; font-weight: 700; color: var(--e-ink-3); display: inline-flex; align-items: center; gap: 6px; }
.e-save:empty { display: none; }
.e-save .e-ic { width: 15px; height: 15px; stroke-width: 2.4; }
.e-save.ok { color: var(--e-sea-2); }
.e-save.off, .e-save.err { color: var(--e-sun); }
.e-save.prev { color: var(--e-sun); background: var(--e-sun-tint); padding: 4px 10px; border-radius: 999px; }
.e-mod-bar { display: none; }
.editing .e-mod-bar { display: flex; align-items: center; gap: 4px; margin: 0 0 12px; padding: 6px; background: var(--e-surface); border-radius: 14px; box-shadow: var(--e-shadow); }
.e-mod-bar .nm { flex: 1; min-width: 0; font-weight: 800; font-size: 14px; display: flex; gap: 8px; align-items: baseline; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; padding-left: 6px; }
.e-mod-bar .nm small { font-weight: 600; color: var(--e-ink-3); font-size: 12.5px; }
.e-mod-grip { width: 40px; height: 40px; border-radius: 10px; border: 0; background: var(--e-bg); display: grid; place-items: center; cursor: grab; touch-action: none; color: var(--e-ink-2); flex: none; }
.e-mod-grip:hover { background: var(--e-surface-2); color: var(--e-ink); }
.e-mod-grip .e-ic { width: 20px; height: 20px; fill: currentColor; stroke: none; }
.e-mod.dragging .e-mod-grip { cursor: grabbing; }
.e-mod-b { height: 40px; min-width: 40px; border-radius: 10px; border: 0; background: none; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 0 10px; cursor: pointer; color: var(--e-ink-2); font: 700 13px var(--e-body); flex: none; }
.e-mod-b:hover:not(:disabled) { background: var(--e-surface-2); color: var(--e-ink); }
.e-mod-b:disabled { opacity: .32; cursor: default; }
.e-mod-b .e-ic { width: 18px; height: 18px; }
.e-mod-b.wide[aria-pressed="true"] { background: var(--e-sea-tint); color: var(--e-sea-ink); }
.e-mod-b.x:hover { background: var(--e-late-tint) !important; color: var(--e-late) !important; }
.editing .e-grid { gap: 34px 22px; }
.editing .e-mod { outline: 2px dashed var(--e-line-2); outline-offset: 8px; border-radius: 26px; transition: outline-color .2s; }
.editing .e-mod.sz-w .e-mod-body { max-height: 380px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 72%, transparent); mask-image: linear-gradient(#000 72%, transparent); pointer-events: none; user-select: none; }
.editing .e-rise > * { animation: none; }
.e-grid.is-drag { user-select: none; -webkit-user-select: none; }
.e-mod.dragging { z-index: 30; outline-color: var(--e-sea-2); }
.e-mod.dragging .e-mod-bar { box-shadow: var(--e-shadow-l); }
.e-mod.dragging .e-mod-body { filter: drop-shadow(0 18px 30px rgba(21,25,28,.16)); }
.e-mod.fresh { outline-color: var(--e-sun) !important; }

/* katalog modułów (arkusz na środku, na telefonie od dołu) */
.e-dlg.e-dlg-cat { width: min(780px, calc(100vw - 32px)); }
.e-cat { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.e-cat-i { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 10px 14px 10px 10px; border-radius: 18px; background: var(--e-bg); }
.e-cat-i.on .th, .e-cat-i.on .tx { opacity: .62; }
.e-cat-i .th svg { display: block; width: 120px; height: 72px; }
.e-cat-i .tx b { font-weight: 800; font-size: 15px; }
.e-cat-i .from { display: block; font-size: 12px; font-weight: 700; color: var(--e-ink-3); }
.e-cat-i p { margin: 3px 0 0; font-size: 13.5px; color: var(--e-ink-2); }
.e-cat-i .e-btn .e-ic { width: 16px; height: 16px; }
.e-cat svg .bg { fill: #E4DDD3; } .e-cat svg .w { fill: #fff; } .e-cat svg .dk { fill: #2B4252; } .e-cat svg .ink { fill: #3A4147; }
.e-cat svg .sea { fill: #0F3B53; } .e-cat svg .sun { fill: #9A4F16; } .e-cat svg .sunf { fill: #B86A2E; } .e-cat svg .suntint { fill: #F6E9DC; } .e-cat svg .seatint { fill: #E4ECF0; }
.e-cat svg .ln { fill: #D6CEC2; } .e-cat svg .ln2 { fill: #F5F2ED; } .e-cat svg .bgc { fill: #EFEAE3; } .e-cat svg .bgc2 { fill: #D5CCBF; } .e-cat svg .dt { fill: #C4B8A6; }
.e-cat svg .seaf { fill: #9DB9C8; } .e-cat svg .seal2 { fill: #0F3B53; }
.e-cat svg .ln3 { stroke: #D6CEC2; stroke-width: 1; fill: none; } .e-cat svg .route { fill: none; stroke: #0F3B53; stroke-width: 2; }
.e-cat svg .dash { stroke: #B8AE9F; stroke-width: 1.5; stroke-dasharray: 3 3; } .e-cat svg .seal { stroke: #0F3B53; stroke-width: 2; }
.e-cat svg .ring { stroke: #B8AE9F; stroke-width: 1.2; } .e-cat svg .sunr { stroke: #9A4F16; stroke-width: 2; } .e-cat svg .sunl { stroke: #9A4F16; stroke-width: 1.2; }

@media (prefers-reduced-motion: reduce) {
    .e-editbar { animation: none; }
    .e-tile, .e-m07 .num, .e-m07 .num .k .e-ic, .e-m06 .pm, .editing .e-mod { transition: none; }
}

/* ---------- telefon ---------- */
@media (max-width: 760px) {
    .e-pulpit .e-page-h { flex-direction: column; align-items: stretch; gap: 12px; }
    .e-pulpit .e-page-h-r { justify-content: space-between; }
    .e-hello { justify-content: flex-start; }
    .e-grid { --e-row: 150px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 12px; }
    .e-mod.sz-m, .e-mod.sz-l { grid-column: 1 / -1; }
    .e-m01 { gap: 14px; }
    .e-m01-tk, .e-m01-map { border-radius: 24px; }
    .e .e-m01-tk .e-trip-img { height: auto; aspect-ratio: 1 / .78; }
    .e-m01-tk .e-trip-cap { left: 18px; right: 18px; bottom: 16px; }
    .e .e-m01-tk .e-trip-cap h2 { font-size: 28px; }
    .e-m01-tk .e-trip-cap p { font-size: 14.5px; }
    .e-m01-tk .e-trip-top { top: 14px; left: 14px; right: 14px; }
    .e-m01-tk .e-pass { padding: 18px 18px 16px; }
    .e-m01-tk .e-pass .perf { margin: 18px -18px 16px; }
    .e-m01-tk .e-route { gap: 12px; }
    .e-m01-tk .e-route .pt .code { font-size: 30px; }
    .e-m01-map .hd { padding: 14px 16px 10px; }
    .e-m01-map .ft { padding: 12px 16px 14px; }
    .e-m01-map .nx { flex-direction: column; gap: 2px; }
    .e-miles { gap: 8px; font-size: 12.5px; }
    .e-m01 .e-map .tag small, .e-m02 .e-map .tag small, .e-m01 .e-map .callout, .e-m02 .e-map .callout { display: none; }
    .e-m01 .e-map .tag, .e-m02 .e-map .tag { font-size: 11px; }
    .e-m02 { border-radius: 24px; }
    .e-m02-tk { margin: 0 12px 12px; padding: 18px; }
    .e .e-m02-tk h2 { font-size: 26px; }
    .e-m02-tk .perf { margin: 16px -18px 14px; }
    .e-m04 { border-radius: 24px; }
    .e-m04-main { padding: 20px 18px 22px; }
    .e .e-m04 h2 { font-size: 28px; }
    .e-m04 .big b { font-size: 34px; }
    .e-m04-bank { grid-template-columns: minmax(0, 1fr); }
    .e-m04 .acts .e-btn { flex: 1; }
    .e-m04-list { padding: 16px 12px; }
    .e-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .e-tile { padding: 16px; border-radius: 22px; min-height: 150px; }
    .e-tile .lab { font-size: 12.5px; gap: 8px; flex-wrap: wrap; }
    .e-tile .lab .e-st { margin-left: 0; }
    .e-tile .val { font-size: 21px; }
    .e-tile .sub { font-size: 12.5px; }
    .e-tile-leg { grid-template-columns: minmax(0, 1fr); gap: 8px; }
    .e-tile-leg > span { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
    .e-tile-leg b { font-size: 16px; margin: 0; }
    .e-m06 { border-radius: 22px; padding: 18px 0 6px; }
    .e-m06 .hd { padding: 0 16px 12px; }
    .e-m06 .legend { gap: 6px 12px; font-size: 12px; }
    .e-m06 .tl { min-width: 820px; grid-template-columns: 132px minmax(0, 1fr); }
    .e-m06 .lc { padding: 10px 10px 10px 16px; }
    .e-m06 .lc b { font-size: 13px; }
    .e-m06 .tc { margin-right: 16px; }
    .e-m06-info { margin: 8px 16px 6px; }
    .e .e-m07 .say, .e-mod.half .e-m07 .say { font-size: 28px; margin-bottom: 16px; }
    .e-m07 .three { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .e-m07 .num { padding: 14px 16px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; align-items: center; }
    .e-m07 .num .k, .e-m07 .num .s, .e-m07 .num .pbar { grid-column: 1 / -1; }
    .e-m07 .num .v { font-size: 25px; margin: 0; }
    .e-m07 .drawer { padding: 18px 16px; }
    .e-m07-waits li { grid-template-columns: minmax(0, 1fr) auto; }
    .e-m07-waits .acts { grid-column: 1 / -1; }
    .e-ptot { grid-template-columns: 1fr 1fr; gap: 10px; }
    .e-ptot > div:last-child { grid-column: 1 / -1; }
    .e-ptot dd { font-size: 19px; }
    .e-psrow { grid-template-columns: 52px minmax(0, 1fr) auto; gap: 4px 10px; }
    .e-psrow .dd { font-size: 16px; }
    .e-psrow .a { font-size: 14px; }
    .e-olist-card { padding: 4px 16px; }
    .e-orow, .e-mod.half .e-orow { grid-template-columns: 38px minmax(0, 1fr) 16px; gap: 6px 10px; padding: 13px 0; }
    .e-orow .st { grid-column: 2; grid-row: 2; }
    .e-orow .no { font-size: 16px; }
    .e-orow > .e-muted { grid-column: 3; grid-row: 1 / span 2; }
    /* tryb dostosowania */
    .e-editbar { top: 64px; padding: 12px; border-radius: 18px; gap: 10px; }
    body.portal-preview .e-editbar { top: 104px; }
    .e-editbar .t span { display: none; }
    .e-editbar .acts { width: 100%; }
    .e-editbar .acts .e-btn { flex: 1 1 auto; padding: 0 12px; }
    .e-mod-b.wide { display: none; }
    .editing .e-grid { gap: 26px; }
    .editing .e-mod { outline-offset: 5px; border-radius: 22px; }
    .editing .e-mod.sz-w .e-mod-body { max-height: 300px; }
    .e-cat-i { grid-template-columns: 84px minmax(0, 1fr); gap: 6px 12px; padding: 10px; }
    .e-cat-i .th svg { width: 84px; height: 50px; }
    .e-cat-i > .e-btn, .e-cat-i > .e-pb { grid-column: 2; justify-self: start; }
    .e-cat-i p { font-size: 13px; }
}

/* atrybut hidden ma pierwszeństwo przed display z reguł powyżej */
.e-editbar[hidden], .e-cust[hidden], .e-grid-empty[hidden], .e-m07 .drawer[hidden] { display: none !important; }
.e-miles > span:last-child { white-space: nowrap; }
.e-m02-tk .e-route .remain { flex-direction: column; align-items: center; gap: 2px; }
.e-m02-tk .e-route .remain b { font-size: 19px; white-space: nowrap; }
.e-m02-tk .e-miles { font-size: 12.5px; gap: 8px; }
@media (max-width: 760px) {
    .e-m01-map .hd h2 { font-size: 19px; }
    .e-m01-map .upd { font-size: 12px; }
}

/* ikony (js/portal/e-ikony.js) w modułach */
.e-m-none { display: flex; gap: 16px; align-items: flex-start; }
.e-wcard .when .e-ikt, .e-m04 .when .e-ikt { margin-right: 2px; }
.e-m07-waits li { grid-template-columns: 34px minmax(0, 1fr) auto auto; }
@media (max-width: 760px) {
    .e-m07-waits li { grid-template-columns: 34px minmax(0, 1fr) auto; }
    .e-m07-waits .acts { grid-column: 2 / -1; }
}

/* ---------- bilet E2 (domyślny pierwszy moduł, niski baner) ---------- */
:root { --e-water: #EAF0F1; --e-land-2: #D3C7B6; }
.e-e2 { border-radius: 28px; box-shadow: var(--e-shadow-l); overflow: hidden; }
.e .e-e2 .e-trip-img { height: 212px; background: #20333F; }
.e-e2 .e-trip-img::after { background: linear-gradient(180deg, rgba(8,20,28,.4) 0%, rgba(8,20,28,.05) 36%, rgba(8,20,28,.1) 50%, rgba(8,20,28,.8) 100%); }
.e-e2 .e-trip-top { top: 16px; left: 20px; right: 20px; }
.e-e2 .e-trip-cap { left: 26px; right: 26px; bottom: 18px; }
.e .e-e2 .e-trip-cap h2 { font-size: 36px; margin: 2px 0 4px; }
.e-e2 .e-trip-cap p { font-size: 15.5px; }
.e-e2 .e-pass { padding: 24px 30px 26px; }
.e-e2-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 22px 34px; align-items: start; }
.e-e2-grid.one { grid-template-columns: minmax(0, 1fr); }
.e-e2-grid .lft { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.e-e2 .e-meta { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.e-e2 .act { display: flex; gap: 10px; flex-wrap: wrap; }
.e-otr { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.e-otr li { position: relative; padding: 26px 10px 0 0; min-width: 0; }
.e-otr li::after { content: ""; position: absolute; top: 7px; left: 22px; right: 4px; height: 2.5px; border-radius: 3px; background: var(--e-line-2); }
.e-otr li:last-child::after { display: none; }
.e-otr .dot { position: absolute; top: 0; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--e-surface); box-shadow: inset 0 0 0 2px var(--e-line-2); display: grid; place-items: center; }
.e-otr .dot svg { width: 9px; height: 9px; stroke: #fff; stroke-width: 3; fill: none; stroke-linecap: round; stroke-linejoin: round; display: none; }
.e-otr .done .dot { background: var(--e-sea); box-shadow: none; }
.e-otr .done .dot svg { display: block; }
.e-otr .done::after { background: var(--e-sea); }
.e-otr .cur .dot { box-shadow: inset 0 0 0 5px var(--e-sun), 0 0 0 5px var(--e-sun-tint); }
.e-otr .cur::after { background: linear-gradient(90deg, var(--e-sun) 0 var(--p, 0%), var(--e-line-2) var(--p, 0%)); }
.e-otr .nm { display: block; font-weight: 800; font-size: 13.5px; line-height: 1.25; }
.e-otr .cur .nm { color: var(--e-sun); }
.e-otr .fut .nm { color: var(--e-ink-2); }
.e-otr .dt { display: block; margin-top: 4px; font-size: 12.5px; color: var(--e-ink-3); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.e-paymini { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; align-items: center; padding: 14px 16px; border-radius: 16px; background: var(--e-bg); }
.e-paymini .lbl { font-size: 12.5px; font-weight: 800; color: var(--e-ink-3); white-space: nowrap; }
.e-paybar2 { display: flex; height: 8px; border-radius: 10px; background: var(--e-surface-2); overflow: hidden; gap: 2px; }
.e-paybar2 i { display: block; height: 100%; }
.e-paybar2 .p { background: var(--e-ok); }
.e-paybar2 .d { background: repeating-linear-gradient(135deg, var(--e-sun) 0 5px, #B8703A 5px 10px); }
.e-payline { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 4px 14px; flex-wrap: wrap; font-size: 13.5px; color: var(--e-ink-3); margin-top: 4px; }
.e-payline b { color: var(--e-ink); font-weight: 800; }
.e-payline .ok-t { color: var(--e-ok); font-weight: 800; }
.e-payline .due-t { color: var(--e-sun); }
.e-payline .nx { flex-basis: 100%; }
.e-e2-mini { display: block; text-decoration: none; color: inherit; border-radius: 18px; overflow: hidden; background: var(--e-water); box-shadow: inset 0 0 0 1px rgba(15,59,83,.06); }
.e-e2-mini .e-map { border-radius: 0; background: var(--e-water); }
.e-e2-mini .e-map .land { fill: var(--e-land-2); }
.e-e2-mini .e-map .tag { background: none; padding: 0; font: 700 11.5px/1.2 var(--e-body); text-shadow: 0 0 3px var(--e-water), 0 0 3px var(--e-water); }
.e-e2-mini .e-map .tag small, .e-e2-mini .e-map .callout { display: none; }
.e-e2-mini .e-map .pt { width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; box-shadow: 0 0 0 2px var(--e-water); }
.e-e2-mini .e-map .shipdot { width: 14px; height: 14px; margin: -7px 0 0 -7px; }
.e-e2-mini .mfoot { display: flex; justify-content: space-between; gap: 10px; padding: 9px 12px; font-size: 12.5px; font-weight: 600; color: var(--e-ink-2); border-top: 1px solid rgba(15,59,83,.08); background: rgba(255,255,255,.72); }
.e-e2-mini:hover .mfoot { background: #fff; }
.e-e2-mini .go { color: var(--e-sea-2); font-weight: 800; display: inline-flex; align-items: center; gap: 4px; }
.e-e2-mini .go .e-ic { width: 15px; height: 15px; }
.e-cat svg .okf { fill: #2D6446; } .e-cat svg .water { fill: #EAF0F1; }
.e-mod.half .e-e2-grid { grid-template-columns: minmax(0, 1fr); }
.e-mod.half .e-e2 .e-meta { grid-template-columns: 1fr 1fr; }
@media (max-width: 1080px) {
    .e-e2-grid { grid-template-columns: minmax(0, 1fr) 300px; gap: 20px 24px; }
    .e-e2 .e-meta { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
    .e-e2 { border-radius: 24px; }
    .e .e-e2 .e-trip-img { height: 172px; aspect-ratio: auto; }
    .e-e2 .e-trip-top { top: 12px; left: 12px; right: 12px; }
    .e-e2 .e-trip-cap { left: 16px; right: 16px; bottom: 14px; }
    .e .e-e2 .e-trip-cap h2 { font-size: 26px; }
    .e-e2 .e-trip-cap p { font-size: 13.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .e-e2 .e-trip-cap .no { font-size: 12px; }
    .e-e2 .e-pass { padding: 18px 18px 18px; }
    .e-e2-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
    .e-e2-grid .lft { gap: 18px; }
    .e-otr { display: flex; overflow-x: auto; scroll-snap-type: x proximity; margin: 0 -18px; padding: 0 18px 6px; scrollbar-width: none; }
    .e-otr::-webkit-scrollbar { display: none; }
    .e-otr li { flex: 0 0 104px; scroll-snap-align: start; }
    .e-e2 .act .e-btn { flex: 1; }
    .e-paymini { padding: 12px 14px; }
}
.e-tcard .e-paymini.in-card { margin-top: 12px; padding: 10px 12px; gap: 4px 10px; }
.e-tcard .e-paymini.in-card .e-payline { font-size: 12.5px; }
.e-mod.half .e-trips { grid-template-columns: minmax(0, 1fr); }
.e-tcard .e-paymini.in-card { background: var(--e-surface); box-shadow: var(--e-shadow); }
/* 29.09 integracja: płatności w karcie podróży bez osobnego pudełka (jak .tpay w E2), po terminie na czerwono */
.e-tcard .e-paymini.in-card { background: none; box-shadow: none; padding: 0; margin-top: 12px; border-radius: 0; }
.e-payline .due-t.late { color: var(--e-late); }
.e-pill.late { background: var(--e-late-tint); color: var(--e-late); }
/* telefon: w niskim banerze biletu zostaje sam nagłówek, żeby tekst nie zasłaniał logo sceny
   (tytuł zamówienia i zdanie o etapie są niżej w bilecie) */
@media (max-width: 760px) {
    .e-e2 .e-trip-cap .no, .e-e2 .e-trip-cap p { display: none; }
}
/* komputer: tekst banera w lewej części (logo scen stoi w prawej, kadry w assets/portal/sceny/*-pano-*) */
@media (min-width: 761px) { .e-e2 .e-trip-cap { right: auto; max-width: 56%; } }


/* =====================================================================
   WIDŻETY W ROZMIARACH s / m / l (Kevin 29.09: jak w iOS i Androidzie)
   Treść dobrana do rozmiaru w e-moduly.js (SUM + widget), bez ucinania:
   liczby skalują się z szerokością karty (container queries).
   ===================================================================== */
.e-wg { container-type: inline-size; border-radius: 26px; box-shadow: var(--e-shadow); padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; min-width: 0; text-decoration: none; color: inherit; background: var(--e-surface); position: relative; }
a.e-wg { transition: box-shadow .2s; }
a.e-wg:hover { box-shadow: var(--e-shadow-l); }
.e-wg.sun { box-shadow: inset 0 4px 0 var(--e-sun), var(--e-shadow); }
.e-wg.late { box-shadow: inset 0 4px 0 var(--e-late), var(--e-shadow); }
.e-wg-h { display: flex; align-items: center; gap: 10px; min-width: 0; }
.e .e-wg-h h2 { font: 800 13.5px/1.25 var(--e-body); letter-spacing: 0; color: var(--e-ink-2); margin: 0; min-width: 0; }
.e-wg-big { font: 700 clamp(24px, 13cqi, 40px)/1.05 var(--e-disp); letter-spacing: -.035em; margin-top: auto; overflow-wrap: anywhere; }
.e-wg-big.txt { font-size: clamp(20px, 10cqi, 30px); letter-spacing: -.025em; }
.e-wg-big small { font: 700 13.5px var(--e-body); color: var(--e-ink-3); letter-spacing: 0; white-space: nowrap; }
.e-wg.sun .e-wg-big { color: var(--e-sun); }
.e-wg.late .e-wg-big { color: var(--e-late); }
.e-wg.ok .e-wg-big { color: var(--e-ok); }
.e .e-wg-sub { margin: 0; font-size: 13.5px; line-height: 1.35; color: var(--e-ink-2); }
.e-wg-bar { display: flex; height: 8px; border-radius: 8px; overflow: hidden; background: var(--e-surface-2); gap: 2px; }
.e-wg-bar i { display: block; height: 100%; background: var(--e-ok); }
.e-wg-bar i.d { background: repeating-linear-gradient(135deg, var(--e-sun) 0 5px, #B8703A 5px 10px); }
.e-wg-steps { display: flex; gap: 4px; }
.e-wg-steps i { flex: 1; height: 6px; border-radius: 4px; background: var(--e-surface-2); }
.e-wg-steps i.on { background: var(--e-sea); }
.e-wg-steps i.cur { background: var(--e-sun); }
.e-wg-pill { display: inline-block; font-size: 12px; font-weight: 800; padding: 2px 8px; border-radius: 999px; background: var(--e-sun-tint); color: var(--e-sun); white-space: nowrap; }
.e-wg-pill.late { background: var(--e-late-tint); color: var(--e-late); }
.e-wg-rows { list-style: none; margin: 0; padding: 0; display: grid; }
.e-wg-rows li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--e-line); font-size: 13.5px; min-width: 0; }
.e-wg-rows li:first-child { border-top: 0; }
.e-wg-rows .a { color: inherit; text-decoration: none; min-width: 0; overflow-wrap: anywhere; background: none; border: 0; padding: 0; font: inherit; font-weight: 700; text-align: left; cursor: pointer; }
.e-wg-rows a.a:hover, .e-wg-rows button.a:hover { text-decoration: underline; }
.e-wg-rows .b { flex: none; color: var(--e-ink-3); font-weight: 600; text-align: right; }
.e .e-wg-line { margin: 0; font-size: 14px; color: var(--e-ink-2); }
.e-wg-foot { margin-top: auto; padding-top: 4px; }
.e-wg-cta { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 14px; color: var(--e-sea-2); text-decoration: none; min-height: 44px; }
.e-wg-cta:hover { text-decoration: underline; }
.e-wg-cta .e-ic { width: 16px; height: 16px; }
.e-wg-who { display: flex; align-items: center; gap: 10px; margin-top: auto; min-width: 0; }
.e-wg-who .e-av { width: 40px; height: 40px; font-size: 14px; }
.e-wg-who .e-wg-big { overflow-wrap: normal; margin-top: 0; font-size: clamp(17px, 9cqi, 24px); }
.e-wg-mail { font-size: 13px; color: var(--e-ink-3); overflow-wrap: anywhere; }
/* średni 2x1: liczba po lewej, lista albo mapa po prawej */
.e-wg-m { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 18px; align-items: stretch; }
.e-wg-m.trio { display: flex; }
.e-wg-m .e-wg-main { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.e-wg-m .e-wg-aside { min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.e-wg-side { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.e-wg-map { display: block; border-radius: 16px; overflow: hidden; background: var(--e-water, #EAF0F1); }
.e-wg-map .e-map { border-radius: 0; background: var(--e-water, #EAF0F1); width: 100%; }
.e-wg-map .e-map .land { fill: var(--e-land-2, #D3C7B6); }
.e-wg-map .e-map .tag small, .e-wg-map .e-map .callout { display: none; }
.e-wg-map .e-map .tag { background: none; padding: 0; font: 700 11px/1.2 var(--e-body); text-shadow: 0 0 3px #EAF0F1, 0 0 3px #EAF0F1; }
/* duży 2x2: scena albo mapa, liczba, lista, link */
.e-wg-l { gap: 12px; }
.e-wg-l .e-wg-mid { display: flex; flex-direction: column; gap: 8px; }
.e-wg-l .e-wg-mid .e-wg-big { margin-top: 0; }
.e-wg-scene { display: block; border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 7; background: #20333F; }
.e-wg-scene img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* trzy liczby: w rzędzie (średni) albo w kolumnie (duży) */
.e-wg-trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: auto; }
.e-wg-trio.col { grid-template-columns: minmax(0, 1fr); margin-top: 4px; }
.e-wg-trio a { display: flex; flex-direction: column; gap: 3px; padding: 10px 12px; border-radius: 16px; background: var(--e-bg); text-decoration: none; color: inherit; min-width: 0; }
.e-wg-trio a:hover { background: var(--e-surface-2); }
.e-wg-trio .k { font-size: 12.5px; font-weight: 800; color: var(--e-ink-3); }
.e-wg-trio b { font: 700 22px/1.1 var(--e-disp); letter-spacing: -.02em; overflow-wrap: anywhere; }
.e-wg-trio b small { font: 700 12px var(--e-body); color: var(--e-ink-3); letter-spacing: 0; }
.e-wg-trio .sun b { color: var(--e-sun); }
.e-wg-trio .s { font-size: 12.5px; color: var(--e-ink-2); overflow-wrap: anywhere; }
@container (max-width: 520px) {
    .e-wg-trio:not(.col) b { font-size: 18px; }
}
@container (max-width: 430px) {
    .e-wg-m .e-wg-rows li:nth-child(n+3) { display: none; }
}
@media (max-width: 760px) {
    .e-wg { padding: 14px; border-radius: 22px; gap: 6px; }
    .e .e-wg-h h2 { font-size: 12.5px; }
    .e .e-wg-sub { font-size: 12.5px; }
    .e-wg-m { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .e-wg-m .e-wg-main .e-wg-big { margin-top: 6px; }
    .e-wg-trio { gap: 6px; }
    .e-wg-trio a { padding: 8px 9px; }
}

/* ---------- strefy wstawiania "+" (tylko tryb Dostosuj) ---------- */
.e-ins { position: absolute; z-index: 6; display: flex; align-items: center; justify-content: center; opacity: .72; transition: opacity .15s; }
.e-ins.h { height: 44px; }
.e-ins.v { width: 44px; }
.e-ins::before { content: ""; position: absolute; background: var(--e-sea-2); border-radius: 2px; opacity: 0; transition: opacity .15s; }
.e-ins.h::before { left: 18px; right: 18px; top: 21px; height: 2px; }
.e-ins.v::before { top: 14px; bottom: 14px; left: 21px; width: 2px; }
.e-ins-b { position: relative; width: 44px; height: 44px; border: 0; background: none; padding: 0; cursor: pointer; display: grid; place-items: center; border-radius: 50%; color: var(--e-ink-3); }
.e-ins-b::before { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: var(--e-surface); box-shadow: inset 0 0 0 1.5px var(--e-line-2), var(--e-shadow); transition: background .15s, box-shadow .15s, transform .15s; }
.e-ins-b .e-ic { position: relative; width: 16px; height: 16px; stroke-width: 2.4; }
.e-ins:hover, .e-ins:focus-within { opacity: 1; }
.e-ins:hover::before, .e-ins:focus-within::before { opacity: .9; }
.e-ins-b:hover, .e-ins-b:focus-visible { color: #fff; outline: none; }
.e-ins-b:hover::before, .e-ins-b:focus-visible::before { background: var(--e-sea); box-shadow: 0 0 0 4px var(--e-sea-tint); transform: scale(1.12); }
.e-ins-end { display: none; }
.editing .e-ins-end { display: block; position: relative; height: 44px; margin-top: 10px; }
.e-ins-end .e-ins { left: 0; right: 0; top: 0; }
.editing .e-grid { padding-top: 22px; }
.e-addmore { display: flex; justify-content: center; margin-top: 30px; }
.editing .e-addmore { display: none; }
.e-addmore-b { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 0; border-radius: 999px; background: none; color: var(--e-ink-3); font: 700 13.5px var(--e-body); cursor: pointer; box-shadow: inset 0 0 0 1.5px transparent; transition: color .15s, box-shadow .15s; }
.e-addmore-b:hover, .e-addmore-b:focus-visible { color: var(--e-sea-2); box-shadow: inset 0 0 0 1.5px var(--e-line-2); }
.e-addmore-b .e-ic { width: 16px; height: 16px; }

/* ---------- pasek modułu: rozmiar, uchwyt w rogu, menu ---------- */
.e-mod-bar { container-type: inline-size; }
.e-mod-b.sz { gap: 8px; }
.e-mod-b.sz[aria-expanded="true"] { background: var(--e-sea-tint); color: var(--e-sea-ink); }
@container (max-width: 400px) { .e-mod-bar .e-mod-b.mv, .e-mod-bar .e-mod-b.sz span:not(.e-szi) { display: none; } }
@container (max-width: 250px) { .e-mod-bar .nm { visibility: hidden; } }
.e-szi { width: 20px; height: 16px; display: inline-block; position: relative; border-radius: 3px; box-shadow: inset 0 0 0 1.5px currentColor; flex: none; }
.e-szi i { position: absolute; left: 0; top: 0; background: currentColor; border-radius: 3px; }
.e-szi.s i { width: 50%; height: 50%; } .e-szi.m i { width: 100%; height: 50%; } .e-szi.l i { width: 100%; height: 100%; opacity: .55; } .e-szi.w i { width: 100%; height: 100%; }
.e-szi.w { width: 26px; height: 12px; margin: 2px 0; }
.e-szmenu { position: absolute; z-index: 40; top: 54px; right: 6px; background: var(--e-surface); border-radius: 16px; box-shadow: var(--e-shadow-l), 0 0 0 1px var(--e-line); padding: 6px; display: grid; gap: 2px; min-width: 200px; animation: eUp .18s cubic-bezier(.2,.7,.2,1) both; }
.e-szmenu button { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 6px 12px; border: 0; background: none; border-radius: 12px; cursor: pointer; font: inherit; color: var(--e-ink); text-align: left; }
.e-szmenu button:hover:not(:disabled), .e-szmenu button:focus-visible { background: var(--e-surface-2); outline: none; }
.e-szmenu button[aria-checked="true"] { background: var(--e-sea-tint); color: var(--e-sea-ink); }
.e-szmenu button:disabled { opacity: .4; cursor: default; }
.e-szmenu b { display: block; font-size: 14px; font-weight: 800; }
.e-szmenu small { display: block; font-size: 12px; color: var(--e-ink-3); }
.e-mod-rs { display: none; }
.editing .e-mod-rs { display: grid; place-items: center; position: absolute; z-index: 7; right: -14px; bottom: -14px; width: 44px; height: 44px; border: 0; padding: 0; background: none; cursor: nwse-resize; touch-action: none; color: var(--e-ink-2); }
.editing .e-mod-rs::before { content: ""; position: absolute; inset: 8px; border-radius: 10px; background: var(--e-surface); box-shadow: var(--e-shadow), inset 0 0 0 1.5px var(--e-line-2); transition: background .15s; }
.editing .e-mod-rs svg { position: relative; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.editing .e-mod-rs:hover::before, .editing .e-mod-rs:focus-visible::before { background: var(--e-sea); box-shadow: 0 0 0 4px var(--e-sea-tint); }
.editing .e-mod-rs:hover, .editing .e-mod-rs:focus-visible { color: #fff; outline: none; }
.e-rs-ghost { position: absolute; top: 0; left: 0; z-index: 35; border-radius: 26px; border: 2.5px dashed var(--e-sea-2); background: rgba(24,81,112,.07); pointer-events: none; transition: width .14s ease, height .14s ease, left .14s ease; display: flex; align-items: flex-end; justify-content: flex-end; padding: 12px; }
.e-rs-ghost span { background: var(--e-sea); color: #fff; font-size: 12.5px; font-weight: 800; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.e-rs-ghost.same { border-color: var(--e-line-2); background: none; }
.e-mod.resizing { z-index: 30; }

/* ---------- komunikat z "Cofnij" ---------- */
.e-ptoast { position: fixed; z-index: 60; left: 50%; bottom: 24px; transform: translateX(-50%); display: flex; align-items: center; gap: 6px 10px; background: var(--e-ink); color: #fff; border-radius: 16px; padding: 4px 4px 4px 18px; box-shadow: var(--e-shadow-l); font-size: 14px; font-weight: 700; max-width: calc(100vw - 32px); animation: eUp .22s cubic-bezier(.2,.7,.2,1) both; }
.e-ptoast[hidden] { display: none !important; }
.e-ptoast .tx { min-width: 0; }
.e-ptoast .e-linkbtn { color: #9FD0EA; min-height: 44px; padding: 0 10px; border-radius: 10px; font-weight: 800; }
.e-ptoast .e-linkbtn[hidden] { display: none; }
.e-ptoast-x { width: 44px; height: 44px; border: 0; background: none; color: #fff; opacity: .7; cursor: pointer; display: grid; place-items: center; border-radius: 10px; flex: none; }
.e-ptoast-x:hover { opacity: 1; background: rgba(255,255,255,.1); }
.e-ptoast-x .e-ic { width: 16px; height: 16px; }

@media (max-width: 760px) {
    .editing .e-grid { gap: 34px 14px; }
    .editing .e-mod-rs { right: -8px; bottom: -8px; }
    .e-szmenu { right: 0; min-width: 190px; }
    .e-ptoast { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); left: 16px; right: 16px; transform: none; }
    .e-mod.sz-s .e-mod-bar { gap: 2px; padding: 4px; }
    .e-mod.sz-s .e-mod-grip, .e-mod.sz-s .e-mod-b { width: 36px; min-width: 36px; height: 44px; padding: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .e-szmenu, .e-ptoast { animation: none; }
    .e-ins, .e-ins::before, .e-ins-b::before, .e-rs-ghost { transition: none; }
}

/* =====================================================================
   30.09 poprawki detali (audyt P1-P59): bilet pulpitu
   Komputer: ciemny gradient od lewej pod tekstem, tekst w lewych 58% banera (kontrast >= 4,5:1).
   Telefon: scena jako pas 2:1, podpis pod nią w kolorze tekstu karty (jak okładki zamówienia).
   ===================================================================== */
@media (min-width: 761px) {
    .e-e2 .e-trip-img::after, .e-m01-tk .e-trip-img::after { background: linear-gradient(90deg, rgba(8,20,28,.8) 0%, rgba(8,20,28,.62) 45%, transparent 74%); }
    .e-e2 .e-trip-cap, .e-m01-tk .e-trip-cap { right: 42%; max-width: none; }
    .e-e2 .e-trip-top .e-glass, .e-m01-tk .e-trip-top .e-glass { background: rgba(8,20,28,.62); }
}
@media (max-width: 760px) {
    .e .e-e2 .e-trip-img, .e .e-m01-tk .e-trip-img { height: auto; aspect-ratio: auto; background: var(--e-surface); color: var(--e-ink); }
    .e-e2 .e-trip-img img, .e-m01-tk .e-trip-img img { position: relative; inset: auto; display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; }
    .e-e2 .e-trip-img::after, .e-m01-tk .e-trip-img::after { display: none; }
    .e-e2 .e-trip-cap, .e-m01-tk .e-trip-cap { position: static; padding: 16px 18px 0; }
    .e .e-e2 .e-trip-cap h2, .e .e-m01-tk .e-trip-cap h2 { color: var(--e-ink); font-size: 24px; margin: 2px 0 4px; }
    .e-e2 .e-trip-cap .no, .e-e2 .e-trip-cap p, .e-m01-tk .e-trip-cap .no, .e-m01-tk .e-trip-cap p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--e-ink-2); }
    .e-e2 .e-trip-cap .no, .e-m01-tk .e-trip-cap .no { -webkit-line-clamp: 1; color: var(--e-ink-3); opacity: 1; }
    .e-e2 .e-trip-cap p, .e-m01-tk .e-trip-cap p { font-size: 14px; font-weight: 600; }
    .e-e2 .e-trip-top .e-glass, .e-m01-tk .e-trip-top .e-glass { background: rgba(8,20,28,.62); }
    .e-e2 .e-pass { padding-top: 14px; }
}
/* numer zamówienia obok statusu po lewej: logo „ImportPanel.” w scenach stoi w prawej górnej części (np. załadunek) */
.e-e2 .e-trip-top, .e-m01-tk .e-trip-top { justify-content: flex-start; }
/* P16: jedna sprawa w „Czeka na Ciebie” na pełną szerokość, poziomo: opis po lewej, kwota i przyciski po prawej */
@media (min-width: 761px) {
    .e-mod[data-size="w"] .e-wait.one { grid-template-columns: minmax(0, 1fr); }
    .e-mod[data-size="w"] .e-wait.one > .e-wcard { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "when amt" "h amt" "p foot"; column-gap: 32px; row-gap: 8px; align-items: start; }
    .e-mod[data-size="w"] .e-wait.one > .e-wcard > .when { grid-area: when; }
    .e-mod[data-size="w"] .e-wait.one > .e-wcard > h3 { grid-area: h; }
    .e-mod[data-size="w"] .e-wait.one > .e-wcard > p { grid-area: p; max-width: 640px; }
    .e-mod[data-size="w"] .e-wait.one > .e-wcard > .amt { grid-area: amt; justify-self: end; text-align: right; align-self: center; }
    .e-mod[data-size="w"] .e-wait.one > .e-wcard > .foot { grid-area: foot; justify-self: end; align-self: end; margin: 0; padding: 0; }
}
/* P15: etapy podróży na telefonie w dwóch rzędach po 3 (bez ucinania i bez ukrytego przewijania) */
@media (max-width: 760px) {
    .e-otr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 18px; overflow: visible; margin: 0; padding: 0; }
    .e-otr li { flex: none; }
    .e-otr li:nth-child(3n)::after { display: none; }
}
