/* ============ Fogaspot — style ============ */
:root {
  color-scheme: only light;
  --bg: #faf6f0; --card: #fff; --ink: #122b4b; --ink-2: #3b4d68; --muted: #66707f; --line: #e7e0d5; --line-2: #f1ece3;
  --brand: #c71842; --brand-d: #a3123a; --brand-soft: #fbe9ee; --navy: #122b4b;
  --ok: #12a05c; --ok-soft: #e6f6ee; --warn: #d98206; --warn-soft: #fff4de; --danger: #d92d20; --danger-soft: #fdecea;
  --info: #2e6bd6; --info-soft: #e8f0fd;
  --r: 14px; --r-sm: 9px; --shadow: 0 1px 2px rgba(16,24,40,.06), 0 1px 3px rgba(16,24,40,.08);
  --shadow-lg: 0 12px 40px rgba(16,24,40,.18);
  --nav-h: 60px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; background: var(--bg); color: var(--ink); font-size: 15px; line-height: 1.5; }
h1, h2, h3, h4 { margin: 0 0 .4em; line-height: 1.2; letter-spacing: -.01em; }
h1 { font-size: 30px; font-weight: 800; } h2 { font-size: 21px; font-weight: 700; } h3 { font-size: 16.5px; font-weight: 700; } h4 { font-size: 14px; font-weight: 600; }
p { margin: 0 0 .8em; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }
.muted { color: var(--muted); } .small { font-size: 13px; } .tiny { font-size: 12px; } .right { text-align: right; } .center { text-align: center; }
.row { display: flex; align-items: center; gap: 10px; } .row.wrap { flex-wrap: wrap; } .row.between { justify-content: space-between; } .row.top { align-items: flex-start; }
.col { display: flex; flex-direction: column; gap: 10px; } .grow { flex: 1; min-width: 0; } .gap-s { gap: 6px; } .gap-l { gap: 18px; }
.hide { display: none !important; } .nowrap { white-space: nowrap; } .ell { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
svg.i { width: 18px; height: 18px; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -3px; }
svg.i.s { width: 15px; height: 15px; } svg.i.l { width: 22px; height: 22px; }

/* ---- przyciski i formularze ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 9px 16px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: 14px; cursor: pointer; transition: .15s; white-space: nowrap; }
.btn:hover { background: #f8f9fb; border-color: #d0d5dd; }
.btn:focus-visible, .chip:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--brand); outline-offset: 1px; }
.btn.primary { background: var(--brand); border-color: var(--brand); color: #fff; } .btn.primary:hover { background: var(--brand-d); border-color: var(--brand-d); }
.btn.dark { background: var(--navy); border-color: var(--navy); color: #fff; } .btn.dark:hover { background: #1d3c66; }
.btn.danger { color: var(--danger); } .btn.danger:hover { background: var(--danger-soft); border-color: #f5c2bd; }
.btn.ok { background: var(--ok); border-color: var(--ok); color: #fff; } .btn.ok:hover { filter: brightness(.94); }
.btn.ghost { background: transparent; border-color: transparent; } .btn.ghost:hover { background: rgba(16,24,40,.06); }
.btn.sm { padding: 6px 11px; font-size: 13px; border-radius: 8px; } .btn.lg { padding: 13px 22px; font-size: 16px; border-radius: 12px; } .btn.block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.icon-btn { width: 36px; height: 36px; padding: 0; border-radius: 10px; }
label.f { display: flex; flex-direction: column; gap: 5px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
label.f > .hint { font-weight: 400; color: var(--muted); font-size: 12px; }
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=number], input[type=date], input[type=time], input[type=url], input[type=search], select, textarea {
  width: 100%; padding: 9px 12px; border: 1px solid #d0d5dd; border-radius: 10px; background: #fff; font-size: 14.5px; font-weight: 400; color: var(--ink); }
textarea { min-height: 90px; resize: vertical; line-height: 1.45; }
input:focus, select:focus, textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(199,24,66,.15); outline: none; }
input[type=checkbox], input[type=radio] { accent-color: var(--brand); width: 17px; height: 17px; flex: none; margin: 0; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 14px; } .form-grid .full { grid-column: 1 / -1; }
.check { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; font-size: 14px; cursor: pointer; }
.check small { display: block; color: var(--muted); font-weight: 400; }
.switch { position: relative; flex: none; width: 42px; height: 24px; }
.switch input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; margin: 0; z-index: 1; }
.switch i { position: absolute; inset: 0; background: #cbd0d8; border-radius: 99px; transition: .15s; }
.switch i::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: .15s; box-shadow: 0 1px 2px rgba(0,0,0,.3); }
.switch input:checked + i { background: var(--brand); } .switch input:checked + i::after { transform: translateX(18px); }
.switch input:focus-visible + i { outline: 2px solid var(--brand); outline-offset: 2px; }
.err { color: var(--danger); font-size: 13.5px; font-weight: 500; } .alert { padding: 11px 14px; border-radius: 10px; font-size: 14px; display: flex; gap: 10px; align-items: flex-start; }
.alert.info { background: var(--info-soft); color: #1e4fa8; } .alert.warn { background: var(--warn-soft); color: #8a5300; } .alert.err { background: var(--danger-soft); color: #a3231a; } .alert.ok { background: var(--ok-soft); color: #0d7443; }

/* ---- znaczki, chipy ---- */
.chip { display: inline-flex; align-items: center; gap: 5px; padding: 4px 11px; border-radius: 99px; background: #fff; border: 1px solid var(--line); font-size: 13px; font-weight: 500; cursor: pointer; white-space: nowrap; transition: .12s; color: var(--ink-2); }
.chip:hover { border-color: #c3c9d3; } .chip.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.tag { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: 99px; background: var(--line-2); color: var(--ink-2); font-size: 12px; font-weight: 500; white-space: nowrap; }
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: 99px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.badge.ok { background: var(--ok-soft); color: #0d7443; } .badge.warn { background: var(--warn-soft); color: #8a5300; } .badge.danger { background: var(--danger-soft); color: #a3231a; }
.badge.info { background: var(--info-soft); color: #1e4fa8; } .badge.brand { background: var(--brand-soft); color: var(--brand-d); } .badge.gray { background: var(--line-2); color: var(--muted); }
.verified { color: var(--info); display: inline-flex; vertical-align: -3px; }
.rate { font-weight: 700; color: var(--ink); } .rate svg { color: #f5a623; fill: #f5a623; width: 15px; height: 15px; vertical-align: -2px; }
.tcount { color: var(--muted); }

/* ---- karty ---- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.card.pad { padding: 20px; } .card.pad-s { padding: 14px; }
.card h3 .muted { font-weight: 500; }
.sep { height: 1px; background: var(--line); margin: 14px 0; border: 0; }
.empty { text-align: center; color: var(--muted); padding: 34px 16px; } .empty .i { width: 34px; height: 34px; opacity: .45; margin-bottom: 8px; }
.skeleton { background: linear-gradient(90deg, #eceef2 25%, #f6f7f9 50%, #eceef2 75%); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: 8px; min-height: 16px; }
@keyframes sk { to { background-position: -200% 0; } }
.spinner { width: 22px; height: 22px; border: 3px solid #e4e7ec; border-top-color: var(--brand); border-radius: 50%; animation: spin .7s linear infinite; margin: 30px auto; } @keyframes spin { to { transform: rotate(360deg); } }

/* ---- awatar ---- */
.av { flex: none; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; overflow: hidden; background-size: cover; background-position: center; letter-spacing: .02em; user-select: none; }
.av.sq { border-radius: 14px; }
.av-stack { display: flex; } .av-stack .av { border: 2px solid #fff; margin-left: -9px; } .av-stack .av:first-child { margin-left: 0; }
.av-more { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--line-2); border: 2px solid #fff; margin-left: -9px; display: grid; place-items: center; font-size: 11px; font-weight: 700; color: var(--muted); }

/* ---- nawigacja ---- */
.nav { position: sticky; top: 0; z-index: 1200; height: var(--nav-h); background: rgba(250,246,240,.92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 22px; padding: 0 20px; }
.logo { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 19px; letter-spacing: -.02em; }
.logo .mark { width: 32px; height: 32px; display: grid; place-items: center; } .logo .mark img { width: 30px; height: auto; }
.logo .lt { color: var(--ink); }
.biglogo { display: block; margin: 0 auto; height: auto; max-width: 100%; }
.nav nav { display: flex; gap: 4px; } .nav nav a { padding: 8px 13px; border-radius: 9px; font-weight: 600; font-size: 14px; color: var(--ink-2); } .nav nav a:hover { background: var(--line-2); } .nav nav a.on { background: var(--brand-soft); color: var(--brand-d); }
.nav .sp { flex: 1; }
.userbtn { display: flex; align-items: center; gap: 9px; padding: 4px 10px 4px 4px; border-radius: 99px; border: 1px solid var(--line); background: #fff; cursor: pointer; font-weight: 600; font-size: 14px; }
.menu { position: absolute; right: 16px; top: calc(var(--nav-h) - 4px); background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); padding: 6px; min-width: 210px; z-index: 1300; }
.menu a, .menu button { display: flex; gap: 9px; align-items: center; width: 100%; text-align: left; padding: 9px 11px; border: 0; background: none; border-radius: 8px; font-weight: 500; cursor: pointer; font-size: 14px; } .menu a:hover, .menu button:hover { background: var(--line-2); }
.menu hr { border: 0; height: 1px; background: var(--line); margin: 5px 0; }
.navburger { display: none; }
@media (max-width: 760px) {
  .nav { padding: 0 12px; gap: 8px; } .nav nav { display: none; } .nav nav.open { display: flex; position: absolute; top: var(--nav-h); left: 0; right: 0; background: #fff; flex-direction: column; padding: 8px 12px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); }
  .navburger { display: inline-flex; } .userbtn .nm { display: none; } .userbtn { padding: 4px; }
}
@media (max-width: 480px) { .nav > .btn { padding: 0 10px; font-size: 13px; height: 36px; } .nav .logo { font-size: 17px; } .nav .logo .mark { width: 30px; height: 30px; } .nav { gap: 6px; } } @media (max-width: 370px) { .nav .logo .lt { display: none; } .nav > .btn { padding: 0 8px; }}

/* ---- strona główna: mapa ---- */
.explorer { display: grid; grid-template-columns: 450px minmax(0, 1fr); height: calc(100vh - var(--nav-h)); height: calc(100dvh - var(--nav-h)); }
.side { background: var(--card); border-right: 1px solid var(--line); display: flex; flex-direction: column; min-height: 0; z-index: 2; }
.side-head { padding: 14px 16px 10px; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.search { position: relative; } .search svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; } .search input { padding-left: 38px; border-radius: 12px; height: 42px; background: #f7f8fa; }
.chips { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; } .chips::-webkit-scrollbar { display: none; }
.side-body { flex: 1; overflow-y: auto; min-height: 0; }
.tabs { display: flex; gap: 2px; padding: 3px; background: var(--line-2); border-radius: 11px; } .tabs button { flex: 1; border: 0; background: none; padding: 7px 10px; border-radius: 8px; font-weight: 600; font-size: 13.5px; color: var(--muted); cursor: pointer; } .tabs button.on { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.gym-card { padding: 14px 16px; border-bottom: 1px solid var(--line-2); cursor: pointer; display: flex; flex-direction: column; gap: 8px; transition: background .12s; } .gym-card:hover, .gym-card.hl { background: #fafbfc; }
.gym-card .nm { font-weight: 700; font-size: 15.5px; }
.trow { display: flex; gap: 12px; padding: 13px 16px; border-bottom: 1px solid var(--line-2); cursor: pointer; align-items: flex-start; transition: background .12s; } .trow:hover { background: #fafbfc; }
.trow .nm { font-weight: 700; font-size: 15px; display: flex; align-items: center; gap: 5px; } .trow .price { text-align: right; flex: none; line-height: 1.25; } .trow .price b { font-size: 17px; font-weight: 800; } .trow .price small { display: block; color: var(--muted); font-size: 12px; }
.gym-head { padding: 14px 16px 12px; background: linear-gradient(180deg, #fff6f1, #fff); border-bottom: 1px solid var(--line); }
.sticky-ctl { position: sticky; top: 0; background: #fff; z-index: 3; padding: 10px 16px; border-bottom: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 8px; }
.mapwrap { position: relative; min-height: 0; } #map { position: absolute; inset: 0; background: #e6eaee; }
.map-ctl { position: absolute; z-index: 800; top: 12px; left: 12px; right: 12px; display: flex; gap: 6px; pointer-events: none; overflow-x: auto; scrollbar-width: none; } .map-ctl > * { pointer-events: auto; box-shadow: var(--shadow); }
.pin { position: relative; width: 38px; height: 38px; }
.pin span { position: absolute; inset: 0; border-radius: 50% 50% 50% 4px; transform: rotate(-45deg); background: var(--brand); border: 3px solid #fff; box-shadow: 0 3px 10px rgba(0,0,0,.35); }
.pin b { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 14px; z-index: 1; }
.pin.hl span { background: var(--navy); }
.marker-cluster-small, .marker-cluster-medium, .marker-cluster-large { background: rgba(199,24,66,.25) !important; } .marker-cluster div { background: var(--brand) !important; color: #fff !important; font-weight: 800; font-family: Inter, sans-serif; border: 3px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,.3); }
.leaflet-popup-content-wrapper { border-radius: 14px; box-shadow: var(--shadow-lg); } .leaflet-popup-content { margin: 14px 16px; font-family: Inter, sans-serif; min-width: 230px; }
.popup .nm { font-weight: 800; font-size: 15px; margin-bottom: 2px; } .popup .btn { margin-top: 10px; width: 100%; color: #fff; }
.mobile-switch { display: none; }
@media (max-width: 900px) {
  .explorer { grid-template-columns: minmax(0, 1fr); position: relative; } .side, .mapwrap { grid-area: 1 / 1; }
  .explorer[data-m="map"] .side { visibility: hidden; } .explorer[data-m="list"] .mapwrap { visibility: hidden; }
  .mobile-switch { display: flex; position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 1100; background: var(--navy); border-radius: 99px; padding: 4px; box-shadow: var(--shadow-lg); }
  .mobile-switch button { border: 0; background: none; color: #c9d1de; padding: 9px 20px; border-radius: 99px; font-weight: 600; cursor: pointer; display: flex; gap: 7px; align-items: center; } .mobile-switch button.on { background: #fff; color: var(--navy); }
}

/* ---- strona trenera ---- */
.page { max-width: 1120px; margin: 0 auto; padding: 22px 20px 70px; } .page.narrow { max-width: 760px; } .page.wide { max-width: 1280px; }
.hero { border-radius: 20px; overflow: hidden; position: relative; margin-bottom: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.hero .cover { height: 130px; } .hero .body { padding: 0 24px 22px; display: flex; gap: 20px; align-items: flex-end; margin-top: -44px; flex-wrap: wrap; } .hero .av { border: 4px solid #fff; box-shadow: var(--shadow); }
.hero .hinfo { flex: 1; min-width: 260px; padding-top: 52px; }
.layout-2 { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 20px; align-items: start; } .sticky { position: sticky; top: calc(var(--nav-h) + 16px); }
@media (max-width: 960px) { .layout-2 { grid-template-columns: 1fr; } .sticky { position: static; } .page { padding: 14px 14px 80px; } .form-grid { grid-template-columns: 1fr; } }
.sec { margin-bottom: 18px; } .sec h2 { margin-bottom: 12px; }
.gym-line { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-2); align-items: center; } .gym-line:last-child { border-bottom: 0; }
.pkg { border: 1px solid var(--line); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 4px; background: #fff; } .pkg b.p { font-size: 22px; font-weight: 800; } .pkg.best { border-color: var(--brand); background: var(--brand-soft); }
.pkg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.bars .bar { display: grid; grid-template-columns: 20px 1fr 30px; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); } .bars .bar i { display: block; height: 8px; border-radius: 99px; background: var(--line-2); overflow: hidden; } .bars .bar i b { display: block; height: 100%; background: #f5a623; border-radius: 99px; }
.review { padding: 14px 0; border-bottom: 1px solid var(--line-2); } .review:last-child { border-bottom: 0; }
.stars-in { display: inline-flex; gap: 2px; } .stars-in button { border: 0; background: none; cursor: pointer; padding: 2px; color: #d0d5dd; } .stars-in button.on { color: #f5a623; } .stars-in svg { width: 26px; height: 26px; fill: currentColor; }
.booking-card { padding: 18px; } .booking-card .price-big { font-size: 28px; font-weight: 800; }
.daystrip { display: flex; gap: 6px; overflow-x: auto; padding: 2px 2px 8px; scrollbar-width: thin; }
.day { flex: none; width: 58px; padding: 8px 0; text-align: center; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; line-height: 1.2; } .day small { display: block; color: var(--muted); font-size: 11.5px; text-transform: uppercase; font-weight: 600; } .day b { font-size: 18px; } .day em { display: block; font-style: normal; font-size: 11px; color: var(--ok); font-weight: 600; margin-top: 2px; }
.day:hover { border-color: #c3c9d3; } .day.on { background: var(--navy); border-color: var(--navy); color: #fff; } .day.on small, .day.on em { color: #cfe9dc; } .day.off { opacity: .4; pointer-events: none; }
.slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; } .slot { padding: 9px 0; border: 1px solid var(--line); background: #fff; border-radius: 9px; font-weight: 600; cursor: pointer; font-size: 14px; } .slot:hover { border-color: var(--brand); color: var(--brand-d); } .slot.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.opt { display: flex; gap: 10px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 11px; cursor: pointer; align-items: flex-start; background: #fff; } .opt:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); } .opt .grow b { display: block; font-size: 14px; }

/* ---- auth ---- */
.auth { max-width: 440px; margin: 40px auto; padding: 0 16px; } .auth .card { padding: 26px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; background: var(--line-2); padding: 3px; border-radius: 11px; } .seg label { text-align: center; padding: 9px 6px; border-radius: 8px; cursor: pointer; font-weight: 600; font-size: 14px; color: var(--muted); } .seg input { display: none; } .seg label:has(input:checked) { background: #fff; color: var(--ink); box-shadow: var(--shadow); }

/* ---- panele ---- */
.shell { display: grid; grid-template-columns: 232px minmax(0, 1fr); min-height: calc(100vh - var(--nav-h)); }
.sidenav { background: #fff; border-right: 1px solid var(--line); padding: 16px 12px; display: flex; flex-direction: column; gap: 3px; position: sticky; top: var(--nav-h); height: calc(100vh - var(--nav-h)); overflow-y: auto; }
.sidenav a { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 10px; font-weight: 600; font-size: 14.5px; color: var(--ink-2); } .sidenav a:hover { background: var(--line-2); } .sidenav a.on { background: var(--brand-soft); color: var(--brand-d); }
.sidenav .cnt { margin-left: auto; background: var(--brand); color: #fff; border-radius: 99px; font-size: 11.5px; padding: 1px 7px; font-weight: 700; }
.sidenav h6 { margin: 14px 12px 4px; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.shell-body { padding: 24px 28px 80px; min-width: 0; max-width: 1180px; }
.page-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; } .page-head h1 { font-size: 26px; margin: 0; }
@media (max-width: 900px) {
  .shell { grid-template-columns: 1fr; } .sidenav { position: sticky; top: var(--nav-h); z-index: 50; height: auto; flex-direction: row; overflow-x: auto; padding: 8px 10px; border-right: 0; border-bottom: 1px solid var(--line); gap: 4px; scrollbar-width: none; } .sidenav::-webkit-scrollbar { display: none; }
  .sidenav a { white-space: nowrap; padding: 8px 12px; } .sidenav h6 { display: none; } .shell-body { padding: 16px 14px 90px; }
}
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin-bottom: 18px; }
.kpi { padding: 16px 18px; } .kpi .v { font-size: 28px; font-weight: 800; letter-spacing: -.02em; } .kpi .l { color: var(--muted); font-size: 13px; font-weight: 500; } .kpi.hot { border-color: #f1b8c7; background: var(--brand-soft); }
.list-item { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line-2); } .list-item:last-child { border-bottom: 0; }
.timebox { flex: none; width: 56px; text-align: center; line-height: 1.15; } .timebox b { font-size: 16px; display: block; } .timebox small { color: var(--muted); font-size: 11.5px; }
table.t { width: 100%; border-collapse: collapse; font-size: 14px; } table.t th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 600; padding: 10px 12px; border-bottom: 1px solid var(--line); background: #fafbfc; } table.t td { padding: 11px 12px; border-bottom: 1px solid var(--line-2); vertical-align: middle; } table.t tr.click { cursor: pointer; } table.t tr.click:hover td { background: #fafbfc; }
.progress { height: 7px; background: var(--line-2); border-radius: 99px; overflow: hidden; min-width: 70px; } .progress i { display: block; height: 100%; background: var(--brand); border-radius: 99px; } .progress.low i { background: var(--danger); }
.tabbar { display: flex; gap: 2px; border-bottom: 1px solid var(--line); margin-bottom: 16px; overflow-x: auto; scrollbar-width: none; } .tabbar button { border: 0; background: none; padding: 10px 12px; white-space: nowrap; font-weight: 600; font-size: 14px; color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; } .tabbar button.on { color: var(--brand-d); border-color: var(--brand); } .tabbar button .cnt { background: var(--line-2); border-radius: 99px; padding: 0 7px; font-size: 12px; margin-left: 4px; }
.mat { padding: 16px; } .mat pre { white-space: pre-wrap; font-family: inherit; margin: 8px 0 0; color: var(--ink-2); font-size: 14px; line-height: 1.55; }
.filebox { display: flex; gap: 8px; align-items: center; padding: 6px 10px; border: 1px solid var(--line); border-radius: 9px; font-size: 13px; background: #fafbfc; }
.hue { -webkit-appearance: none; appearance: none; height: 10px; border-radius: 99px; background: linear-gradient(90deg, hsl(0,70%,50%), hsl(60,70%,45%), hsl(120,60%,40%), hsl(180,60%,40%), hsl(240,65%,55%), hsl(300,60%,50%), hsl(360,70%,50%)); padding: 0; border: 0; } .hue::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 3px solid var(--ink); cursor: pointer; }

/* ---- availability editor ---- */
.wk { display: grid; grid-template-columns: 90px 1fr; gap: 4px 14px; align-items: start; padding: 12px 0; border-bottom: 1px solid var(--line-2); } .wk:last-child { border-bottom: 0; } .wk .ranges { display: flex; flex-direction: column; gap: 6px; }
.range { display: grid; grid-template-columns: minmax(120px, 1fr) 100px 100px 34px; gap: 6px; align-items: center; } @media (max-width: 560px) { .range { grid-template-columns: 1fr 1fr 34px; } .range select { grid-column: 1 / -1; } .wk { grid-template-columns: 1fr; } }

/* ---- kalendarz ---- */
.cal-wrap { display: flex; flex-direction: column; height: calc(100vh - var(--nav-h) - 48px); min-height: 480px; }
.cal-bar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 12px; } .cal-bar h2 { margin: 0; font-size: 18px; min-width: 190px; } .cal-bar h2::first-letter { text-transform: uppercase; }
.cal { flex: 1; min-height: 0; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; }
.cal-head { display: grid; border-bottom: 1px solid var(--line); background: #fff; padding-right: var(--sbw, 0px); } .cal-head > div { padding: 8px 4px; text-align: center; font-size: 12.5px; color: var(--muted); font-weight: 600; border-left: 1px solid var(--line-2); } .cal-head b { display: block; font-size: 19px; color: var(--ink); line-height: 1.2; } .cal-head .today b { background: var(--brand); color: #fff; width: 32px; height: 32px; line-height: 32px; border-radius: 50%; margin: 0 auto; }
.cal-scroll { flex: 1; overflow-y: auto; position: relative; } .cal-grid { display: grid; position: relative; }
.gutter { position: relative; } .gutter span { position: absolute; right: 8px; transform: translateY(-50%); font-size: 11.5px; color: var(--muted); } .gutter span:first-child { transform: none; }
.dcol { position: relative; border-left: 1px solid var(--line-2); cursor: cell; background-image: linear-gradient(var(--line-2) 1px, transparent 1px); }
.dcol.today { background-color: #fffaf7; }
.band { position: absolute; left: 0; right: 0; background: rgba(46,107,214,.055); border-top: 1px dashed rgba(46,107,214,.25); border-bottom: 1px dashed rgba(46,107,214,.25); pointer-events: none; } .band small { position: absolute; top: 2px; right: 5px; font-size: 10px; color: #4a6fb0; font-weight: 600; }
.blk { position: absolute; left: 2px; right: 2px; border-radius: 8px; background: repeating-linear-gradient(135deg, #eceef2 0 8px, #f6f7f9 8px 16px); border: 1px solid #d0d5dd; color: var(--muted); font-size: 11.5px; padding: 3px 6px; cursor: pointer; overflow: hidden; z-index: 2; font-weight: 600; }
.ev { position: absolute; left: 3px; right: 3px; border-radius: 9px; padding: 4px 7px 4px 9px; font-size: 12px; line-height: 1.25; cursor: pointer; overflow: hidden; z-index: 3; border: 1px solid transparent; border-left-width: 4px; user-select: none; touch-action: pan-y; transition: box-shadow .12s; }
.ev:hover { box-shadow: 0 4px 14px rgba(16,24,40,.2); z-index: 5; } .ev b { display: block; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .ev span { opacity: .85; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.ev.st-confirmed { background: #e6f6ee; border-color: #bfe6d1; border-left-color: var(--ok); color: #0d5a37; }
.ev.st-pending { background: repeating-linear-gradient(135deg, #fff6e0 0 8px, #fffaf0 8px 16px); border-color: #f4d58f; border-left-color: var(--warn); color: #7a4a00; }
.ev.st-completed { background: #fbe9ee; border-color: #f1b8c7; border-left-color: var(--brand); color: #7d0f2a; }
.ev.st-no_show { background: #fdecea; border-color: #f5c2bd; border-left-color: var(--danger); color: #8c1d14; }
.ev.st-cancelled { background: #f3eee6; border-color: #e7e0d5; border-left-color: #b8bec9; color: #8b93a1; text-decoration: line-through; opacity: .75; }
.ev.dragging { opacity: .9; box-shadow: var(--shadow-lg); z-index: 20; transition: none; cursor: grabbing; } .ev.ghost-src { opacity: .35; }
.ev .rs { position: absolute; left: 0; right: 0; bottom: 0; height: 8px; cursor: ns-resize; } .ev .rs::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 22px; height: 3px; margin-left: -11px; border-radius: 3px; background: currentColor; opacity: .3; }
.dragtip { position: fixed; z-index: 3000; background: var(--navy); color: #fff; font-size: 12.5px; font-weight: 600; padding: 4px 9px; border-radius: 7px; pointer-events: none; box-shadow: var(--shadow-lg); }
.nowline { position: absolute; left: 0; right: 0; height: 2px; background: var(--danger); z-index: 6; pointer-events: none; } .nowline::before { content: ""; position: absolute; left: -4px; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--danger); }
.legend { display: flex; gap: 12px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); } .legend i { display: inline-block; width: 11px; height: 11px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }

/* ---- modal / toast ---- */
.modal-bg { position: fixed; inset: 0; background: rgba(12,20,36,.5); z-index: 2000; display: flex; align-items: flex-start; justify-content: center; padding: 5vh 14px; overflow-y: auto; animation: fade .15s; backdrop-filter: blur(2px); }
.modal { background: #fff; border-radius: 18px; width: 100%; max-width: 560px; box-shadow: var(--shadow-lg); animation: pop .18s; } .modal.lg { max-width: 760px; } .modal.sm { max-width: 420px; }
.modal-h { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px 0; } .modal-h h3 { margin: 0; font-size: 18px; } .modal-b { padding: 16px 22px 22px; } .modal-f { display: flex; justify-content: flex-end; gap: 8px; padding-top: 18px; flex-wrap: wrap; }
@keyframes fade { from { opacity: 0; } } @keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98); } }
#toasts { position: fixed; bottom: 20px; right: 20px; z-index: 4000; display: flex; flex-direction: column; gap: 8px; max-width: calc(100vw - 40px); }
.toast { background: var(--navy); color: #fff; padding: 12px 16px; border-radius: 12px; box-shadow: var(--shadow-lg); font-weight: 500; font-size: 14px; animation: pop .2s; max-width: 420px; display: flex; gap: 10px; } .toast.err { background: #a3231a; } .toast.ok { background: #0d7443; }
@media (max-width: 560px) { .modal-bg { padding: 0; align-items: flex-end; } .modal, .modal.lg { border-radius: 18px 18px 0 0; max-width: none; max-height: 94vh; overflow-y: auto; } #toasts { left: 12px; right: 12px; bottom: 84px; } }
.landing-hero { background: radial-gradient(1200px 400px at 80% -10%, #7a2a49, transparent), var(--navy); color: #fff; padding: 56px 20px; } .landing-hero h1 { font-size: 40px; max-width: 700px; } .landing-hero p { color: #c9d1de; max-width: 600px; font-size: 17px; }
.feat { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; } .feat .card { padding: 20px; } .feat .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--brand-soft); color: var(--brand-d); display: grid; place-items: center; margin-bottom: 10px; }
@media print { .nav, .sidenav, .btn, #toasts { display: none !important; } .shell { display: block; } }
.chip:has(input:checked) { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip input.sr:focus-visible + * { outline: 2px solid var(--brand); }
.shell-body.wide { max-width: none; }
.cal-scroll { scrollbar-gutter: stable; }
@media (max-width: 760px) {
  .cal-wrap { height: auto; } .cal { flex: none; height: 72vh; min-height: 460px; } .legend { display: none; }
  .cal-bar h2 { flex-basis: 100%; min-width: 0; font-size: 17px; order: -1; } .cal-bar { gap: 8px; }
  .page-head h1 { font-size: 22px; } .kpi .v { font-size: 24px; }
}
.yt-strip { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; } .yt-card { position: relative; width: 260px; max-width: 100%; aspect-ratio: 16/9; border: 0; padding: 0; border-radius: 12px; overflow: hidden; background: #0f172a; cursor: pointer; } .yt-card img, .yt-card iframe { width: 100%; height: 100%; border: 0; display: block; object-fit: cover; } .yt-card.playing { width: 480px; cursor: default; } .yt-play { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 22px; text-shadow: 0 2px 8px rgba(0,0,0,.6); background: rgba(0,0,0,.18); transition: background .15s; } .yt-card:hover .yt-play { background: rgba(0,0,0,.32); }
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; } .media-card { margin: 0; overflow: hidden; } .media-card img, .media-card video { width: 100%; height: 170px; object-fit: cover; display: block; background: #0f172a; } .media-card figcaption { padding: 10px 12px 12px; } .media-link { display: flex; align-items: center; gap: 8px; height: 170px; padding: 12px; background: var(--line-2); word-break: break-all; font-weight: 600; }
.cat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; } @media (max-width: 900px) { .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } } @media (max-width: 520px) { .cat-grid { grid-template-columns: 1fr; } }
.cat-tile { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px; display: flex; flex-direction: column; gap: 6px; box-shadow: var(--shadow); transition: .15s; min-height: 170px; }
.cat-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #f1b8c7; }
.cat-tile b { font-size: 17px; letter-spacing: -.01em; } .cat-emoji { font-size: 34px; line-height: 1; margin-bottom: 4px; }
.cat-count { margin-top: auto; font-weight: 600; font-size: 13px; color: var(--brand-d); }
.cat-tile.all { background: linear-gradient(135deg, #fff1ea, #fff); border-color: #f1b8c7; }

/* formularz: tryb indywidualny / dla wielu osób */
form[data-kind=multi] .ind { display: none !important; }
form[data-kind=single] .multi { display: none !important; }
.plist { max-height: 180px; overflow-y: auto; border: 1px solid var(--line); border-radius: 10px; margin-top: 6px; padding: 4px 6px; background: #fff; }
.plist .check { padding: 6px 6px; border-radius: 8px; align-items: center; } .plist .check:hover { background: var(--line-2); }
.ev.ses { background: #eef0ff; border-color: #cfd3ff; border-left-color: #5b5bd6; color: #25257a; }
.ev.ses.full { background: #e1e4ff; }
.ev.ses.past { background: #fbe9ee; border-color: #f1b8c7; border-left-color: var(--brand); color: #7d0f2a; }
.ev.ses.st-cancelled { background: #f3eee6; border-color: #e7e0d5; border-left-color: #b8bec9; color: #8b93a1; text-decoration: line-through; }
.ev .cap { float: right; font-size: 11px; font-weight: 700; background: rgba(255,255,255,.7); border-radius: 99px; padding: 0 6px; margin-left: 4px; }
.group-card { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line-2); } .group-card:last-child { border-bottom: 0; }
.group-card .when { flex: none; width: 62px; text-align: center; background: #eef0ff; color: #25257a; border-radius: 12px; padding: 7px 0; line-height: 1.15; } .group-card .when b { font-size: 20px; display: block; } .group-card .when small { font-size: 11.5px; font-weight: 600; text-transform: uppercase; }
/* panel mapy: chipy zawijają się zamiast przewijać; strzałka powrotu do wyboru kategorii */
.side-head .chips.wrap { flex-wrap: wrap; overflow: visible; }
.backlink { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); padding: 2px 4px 2px 0; align-self: flex-start; }
.backlink:hover { color: var(--brand-d); } .backlink b { color: var(--ink); }
.map-ctl, .daystrip { cursor: grab; } .map-ctl .btn, .daystrip .day { cursor: pointer; }

/* rozwijana lista specjalizacji */
.specbox { display: flex; flex-direction: column; gap: 8px; }
.spec-toggle { display: flex; align-items: center; gap: 8px; width: 100%; padding: 9px 12px; border: 1px solid #d0d5dd; border-radius: 10px; background: #fff; font-size: 14px; cursor: pointer; text-align: left; transition: .15s; }
.spec-toggle:hover { border-color: #aab1bd; } .spec-toggle b { flex: 1; font-weight: 600; margin-left: 2px; }
.spec-toggle svg { transition: transform .2s; color: var(--muted); } .specbox.open .spec-toggle svg { transform: rotate(180deg); }
.specbox.open .spec-toggle { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(199,24,66,.12); }
.specbox.active .spec-toggle b { color: var(--brand-d); }
.specbox .chips.wrap { padding: 2px 0 4px; animation: fade .15s; }

/* panel klienta */
.next-card { background: linear-gradient(135deg, #0e2340, #1d3c66 60%, #5a2147); color: #fff; border-radius: 20px; padding: 22px 24px; margin-bottom: 16px; box-shadow: var(--shadow-lg); }
.next-card .big { font-size: 26px; font-weight: 800; letter-spacing: -.02em; margin: 4px 0 6px; } .next-card .big::first-letter { text-transform: uppercase; }
.next-card .btn { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.25); color: #fff; } .next-card .btn:hover { background: rgba(255,255,255,.2); }
.next-card .btn.primary { background: var(--brand); border-color: var(--brand); }
.next-card.empty-next { background: linear-gradient(135deg, #1d3c66, #0e2340); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.mcal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.mcal .mh { text-align: center; font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; padding: 4px 0; }
.mcal .md { min-height: 76px; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; padding: 5px 4px; text-align: left; cursor: pointer; display: flex; flex-direction: column; gap: 2px; align-items: stretch; }
.mcal .md:hover { border-color: #c3c9d3; } .mcal .md.out { opacity: .45; background: #fafbfc; } .mcal .md.sel { border-color: var(--brand); box-shadow: 0 0 0 2px rgba(199,24,66,.2); }
.mcal .md .n { font-size: 13px; font-weight: 700; padding-left: 3px; } .mcal .md.today .n { background: var(--brand); color: #fff; border-radius: 99px; width: 24px; height: 24px; display: grid; place-items: center; padding: 0; }
.pill { font-size: 11px; font-weight: 700; border-radius: 6px; padding: 1px 5px; text-align: center; border-left: 3px solid transparent; }
.pill.st-confirmed { background: #e6f6ee; color: #0d5a37; border-color: var(--ok); } .pill.st-pending { background: #fff6e0; color: #7a4a00; border-color: var(--warn); }
.pill.st-completed { background: #fbe9ee; color: #7d0f2a; border-color: var(--brand); } .pill.st-no_show { background: #fdecea; color: #8c1d14; border-color: var(--danger); }
svg.chart { width: 100%; height: auto; display: block; }
@media (max-width: 560px) { .mcal .md { min-height: 58px; } .pill { font-size: 10px; padding: 0 3px; } .next-card .big { font-size: 21px; } .grid2 { grid-template-columns: 1fr 1fr; } }

/* logowanie społecznościowe */
.btn.social { background: #fff; font-weight: 600; justify-content: center; gap: 10px; padding: 11px 14px; border-color: #d0d5dd; }
.btn.social:hover:not([disabled]) { background: #f8f9fb; } .btn.social[disabled] { opacity: .5; cursor: not-allowed; }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 12.5px; margin: 14px 0; } .or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
article.card.pinned { border-color: #f1b8c7; box-shadow: 0 0 0 3px rgba(199,24,66,.08), var(--shadow); }
/* edytor i podgląd treningu */
.exlist { display: flex; flex-direction: column; gap: 12px; }
.exedit { border: 1px solid var(--line); border-radius: 14px; padding: 12px; background: #fff; } .exedit.ss { border-left: 4px solid #5b5bd6; background: #fafaff; }
.exn { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-size: 12.5px; font-weight: 700; }
.sslabel { font-size: 11.5px; font-weight: 700; color: #4747b5; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 6px; }
.sets { margin-top: 10px; padding-left: 36px; } .sethead, .setrow { display: grid; grid-template-columns: 24px 1fr 1fr 34px; gap: 8px; align-items: center; margin-bottom: 6px; }
.sethead { font-size: 11.5px; font-weight: 600; color: var(--muted); } .sn { font-size: 12px; font-weight: 700; color: var(--muted); text-align: center; }
.setrow input { padding: 7px 10px; }
@media (max-width: 560px) { .sets { padding-left: 0; } }
.wk-view { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.exgroup { border: 1px solid var(--line-2); border-radius: 12px; padding: 10px 12px; background: #fcfcfd; } .exgroup.ss { border-left: 4px solid #5b5bd6; background: #fafaff; }
.exrow { display: flex; gap: 10px; padding: 4px 0; } .exrow + .exrow { border-top: 1px dashed var(--line); margin-top: 6px; padding-top: 10px; }
.exsets { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 5px; }
.setchip { display: inline-flex; align-items: center; gap: 6px; background: var(--brand-soft); color: #7d0f2a; border-radius: 99px; padding: 2px 10px; font-size: 13px; font-weight: 600; } .setchip i { font-style: normal; background: #fff; border-radius: 50%; width: 18px; height: 18px; display: grid; place-items: center; font-size: 10.5px; color: var(--muted); }
.setchip.big { font-size: 14.5px; padding: 3px 12px; }
.exnote { margin-top: 5px; font-size: 13px; color: var(--ink-2); background: #fffbea; border-radius: 8px; padding: 4px 9px; display: inline-block; }
.wknote { border-top: 1px solid var(--line); padding-top: 10px; font-size: 14px; color: var(--ink-2); }

/* społeczność: zakładki, kod, czat */
.social-tabs { gap: 6px; border-bottom: 1px solid var(--line); } .tabbtn { padding: 10px 14px; font-weight: 600; font-size: 14px; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; display: inline-flex; gap: 6px; align-items: center; } .tabbtn.on { color: var(--brand-d); border-color: var(--brand); } .tabbtn:hover { color: var(--ink); }
.cnt.hot { background: var(--brand); color: #fff; border-radius: 99px; font-size: 11.5px; padding: 1px 7px; font-weight: 700; margin-left: 5px; }
.nav nav a .cnt.hot { margin-left: 6px; }
.bigcode { font-size: 38px; font-weight: 800; letter-spacing: .12em; font-family: ui-monospace, Menlo, Consolas, monospace; margin: 4px 0; color: var(--navy); }
.mycode { background: linear-gradient(135deg, #fff7f2, #fff); border-color: #f1b8c7; }
.comm-card { display: flex; flex-direction: column; gap: 10px; transition: .15s; } .comm-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); border-color: #c9d3ff; }
.chat-layout { display: grid; grid-template-columns: 372px minmax(0, 1fr); gap: 14px; height: calc(100vh - var(--nav-h) - 200px); min-height: 460px; margin-top: 14px; }
.chat-side { display: flex; flex-direction: column; min-height: 0; overflow: hidden; } .clist { flex: 1; overflow-y: auto; }
.citem { display: flex; gap: 12px; padding: 12px 14px; border-top: 1px solid var(--line-2); align-items: center; } .citem:hover { background: #fafbfc; } .citem.on { background: var(--brand-soft); }
.chat-main { display: flex; flex-direction: column; min-height: 0; overflow: hidden; } .chat-head { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--line); } .backbtn { display: none; }
.chat-embed { height: 520px; display: flex; flex-direction: column; overflow: hidden; }
.thread { display: flex; flex-direction: column; flex: 1; min-height: 0; height: 100%; }
.msgs { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 6px; background: #fafbfc; }
.msg { display: flex; flex-direction: column; align-items: flex-start; max-width: 78%; } .msg.mine { align-self: flex-end; align-items: flex-end; }
.mauthor { font-size: 12px; font-weight: 700; color: var(--ink-2); margin: 6px 0 2px 6px; }
.bubble { background: #fff; border: 1px solid var(--line); border-radius: 16px 16px 16px 4px; padding: 8px 12px; white-space: pre-wrap; word-break: break-word; line-height: 1.4; }
.msg.mine .bubble { background: var(--brand); border-color: var(--brand); color: #fff; border-radius: 16px 16px 4px 16px; } .msg.mine .bubble a { color: #fff; text-decoration: underline; }
.bubble a { color: var(--info); text-decoration: underline; } .mtime { font-size: 10.5px; opacity: .6; margin-left: 10px; float: right; margin-top: 4px; }
.daysep { text-align: center; margin: 10px 0 4px; font-size: 12px; color: var(--muted); font-weight: 600; } .daysep span { background: #eef0f3; padding: 2px 12px; border-radius: 99px; }
.composer { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--line); background: #fff; align-items: flex-end; } .composer textarea { resize: none; min-height: 40px; max-height: 140px; border-radius: 12px; }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 12.5px; } .or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
@media (max-width: 800px) {
  .chat-layout { grid-template-columns: 1fr; height: calc(100vh - var(--nav-h) - 180px); }
  .chat-layout.has-open .chat-side { display: none; } .chat-layout:not(.has-open) .chat-main { display: none; } .backbtn { display: inline-flex; } .msg { max-width: 90%; }
}
/* pola w jednej linii wyrównane do dołu — podpowiedź pod etykietą nie przesuwa pola */
.form-grid { align-items: end; }

/* stawki godzinowe i zakres karnetów */
.trow .price small.offpeak { color: var(--ok); font-weight: 600; }
.rulebox { margin-top: 12px; padding: 12px; border: 1px dashed #bfe6d1; border-radius: 12px; background: #f6fbf8; }
.rulerow { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 10px; align-items: end; padding: 10px 0; border-top: 1px solid #e3efe8; } .rulerow:first-of-type { border-top: 0; }
.rulerow .f { min-width: 90px; width: 110px; } .rulerow .rmain { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: flex-end; }
.scope { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; padding: 2px 9px; border-radius: 99px; } .scope.all { background: var(--ok-soft); color: #0d7443; } .scope.one { background: var(--info-soft); color: #1e4fa8; }
.slot small { display: block; font-size: 10.5px; font-weight: 600; color: var(--muted); line-height: 1.1; } .slot.cheap small { color: var(--ok); } .slot.on small { color: #fff; }
.propbox { margin-top: 10px; border: 1px solid #c9d3ff; background: #f7f8ff; border-radius: 12px; padding: 12px; }
.propbox .row { flex-wrap: wrap; }

/* subskrypcja */
.subbar { display: block; padding: 9px 16px; font-size: 13.5px; font-weight: 500; text-align: center; border-bottom: 1px solid var(--line); }
.subbar.info { background: var(--info-soft); color: #1e4fa8; } .subbar.warn { background: var(--warn-soft); color: #8a5300; } .subbar.danger { background: var(--danger-soft); color: #a3231a; }
.subbar u { font-weight: 700; margin-left: 6px; }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 4px; } @media (max-width: 720px) { .plans { grid-template-columns: 1fr; } }
.plancard { position: relative; } .plancard.chosen, .plancard.popular { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(199,24,66,.1), var(--shadow); }
.feat-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; font-size: 14px; } .feat-list li.no { color: var(--muted); text-decoration: line-through; }
.modesel { width: auto; padding: 5px 10px; font-size: 13px; border-radius: 8px; }

/* ---------- Kreator wniosku o konto specjalisty ---------- */
[hidden] { display: none !important; }
.wz-page { min-height: calc(100vh - var(--nav-h)); background: #e8e9ec; padding: 26px 12px 70px; display: flex; justify-content: center; align-items: flex-start; }
.wz { width: 100%; max-width: 500px; background: #fff; border-radius: 14px; box-shadow: 0 2px 12px rgba(16,24,40,.07); overflow: hidden; }
.wz.wide { max-width: 580px; }
.wz-head { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.wz-back { width: 38px; height: 38px; border: 0; background: none; border-radius: 50%; cursor: pointer; display: grid; place-items: center; color: var(--ink); } .wz-back:hover { background: var(--line-2); } .wz-back svg { width: 24px; height: 24px; }
.wz-bar { flex: 1; max-width: 260px; margin: 0 auto; height: 6px; border-radius: 99px; background: #ece5da; overflow: hidden; } .wz-bar i { display: block; height: 100%; background: var(--brand); border-radius: 99px; transition: width .25s; }
.wz-step { min-width: 38px; text-align: right; }
.wz-body { padding: 26px 30px 30px; }
.wz h1 { text-align: center; font-size: 24px; line-height: 1.25; margin: 4px 0 10px; letter-spacing: -.01em; }
.wz-sub { text-align: center; color: var(--muted); font-size: 13.5px; margin-bottom: 22px; }
.wz-label { font-size: 13px; color: var(--muted); margin: 22px 0 6px; font-weight: 500; }
.wz-count { text-align: center; font-size: 12.5px; color: var(--muted); margin-top: 14px; }
.wz-next { width: 100%; margin-top: 22px; padding: 14px; border: 0; border-radius: 8px; background: var(--navy); color: #fff; font-weight: 700; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; cursor: pointer; transition: background .15s; }
.wz-next:hover:not(:disabled) { background: #000; } .wz-next:disabled { background: #d6d6d6; cursor: not-allowed; }
.wz-hint { text-align: center; margin-top: 8px; min-height: 16px; }
.fl { position: relative; display: block; } .fl > span { position: absolute; top: -8px; left: 12px; background: #fff; padding: 0 5px; font-size: 12px; color: var(--muted); z-index: 1; }
.fl input, .fl select, .fl textarea { padding: 14px 14px 12px; border-radius: 8px; }
.wz-prefix { padding: 14px 14px 12px; border: 1px solid #d0d5dd; border-radius: 8px; font-size: 14.5px; background: #fff; white-space: nowrap; }
.wz-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 8px; }
.wz-tile { background: none; border: 0; cursor: pointer; font: inherit; font-weight: 700; font-size: 13.5px; line-height: 1.25; color: var(--ink); text-align: center; padding: 0; }
.wz-tile .ic { position: relative; display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: var(--brand-soft); font-size: 32px; margin: 0 auto 8px; border: 3px solid transparent; transition: .12s; }
.wz-tile:hover .ic { transform: scale(1.04); } .wz-tile.on .ic { border-color: var(--brand); }
.wz-tile .tick { position: absolute; right: -4px; bottom: -2px; width: 22px; height: 22px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 13px; font-style: normal; display: none; place-items: center; } .wz-tile.on .tick { display: grid; }
.wz-list { display: flex; flex-direction: column; }
.wz-row { display: flex; align-items: flex-start; gap: 12px; width: 100%; padding: 14px 4px; border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left; font: inherit; font-size: 14.5px; color: var(--ink); cursor: pointer; }
.wz-row:last-child { border-bottom: 0; } .wz-row:hover { background: #fafafa; }
.wz-row small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; font-weight: 400; }
.wz-ck { flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 6px; border: 1.5px solid #cfd4dc; display: grid; place-items: center; color: transparent; transition: .12s; } .wz-ck svg { width: 14px; height: 14px; stroke-width: 3; }
.wz-row.radio .wz-ck { border-radius: 50%; }
.wz-row.on .wz-ck { background: var(--navy); border-color: var(--navy); color: #fff; }
.wz-gl { border: 1px solid var(--line); border-radius: 10px; max-height: 280px; overflow: auto; } .wz-gl:empty { display: none; }
.wz-hit { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border: 0; border-bottom: 1px solid var(--line-2); background: #fff; text-align: left; font: inherit; font-size: 14px; cursor: pointer; } .wz-hit:last-child { border-bottom: 0; } button.wz-hit:hover { background: var(--line-2); }
.wz-hit small { display: block; color: var(--muted); font-size: 12.5px; } .wz-hit .i { flex: none; color: var(--muted); }
.wz-place { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin-bottom: 10px; }
.wz-map { height: 260px; border-radius: 10px; border: 1px solid var(--line); overflow: hidden; }
.wz-days { border-top: 1px solid var(--line); } .wz-day { display: flex; align-items: center; gap: 14px; padding: 12px 2px; border-bottom: 1px solid var(--line); }
.wz-dayb { flex: 1; display: flex; align-items: center; gap: 14px; background: none; border: 0; font: inherit; font-size: 14.5px; cursor: pointer; text-align: left; padding: 0; color: var(--ink); } .wz-dayb:disabled { cursor: default; } .wz-dayb b { width: 108px; flex: none; font-weight: 600; } .wz-dayb span { flex: 1; font-size: 13.5px; } .wz-dayb .i { color: var(--muted); }
.wz-svc { border-top: 1px solid var(--line); } .wz-svcrow { display: flex; align-items: center; gap: 6px; border-bottom: 1px solid var(--line); }
.wz-svcb { flex: 1; display: flex; align-items: center; gap: 10px; padding: 12px 4px; background: none; border: 0; font: inherit; font-size: 14.5px; cursor: pointer; text-align: left; color: var(--ink); } .wz-svcb small { display: block; color: var(--muted); font-size: 12.5px; } .wz-svcb .i { color: var(--muted); }
.wz-addsvc { width: 100%; margin-top: 8px; padding: 14px; border: 0; background: none; font: inherit; font-weight: 600; font-size: 14.5px; cursor: pointer; color: var(--ink); } .wz-addsvc:hover { background: var(--line-2); border-radius: 8px; }
.wz-sum { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
@media (max-width: 560px) { .wz-page { padding: 0 0 50px; background: #fff; } .wz { border-radius: 0; box-shadow: none; } .wz-body { padding: 22px 18px 26px; } .wz h1 { font-size: 22px; } .wz-dayb b { width: 92px; } }

/* kalendarz: przeciąganie kafelka — „duch” w kolumnie docelowej */
.ev.ghost-src { opacity: .3; filter: grayscale(.4); box-shadow: none; }
.ev.ev-ghost { pointer-events: none; z-index: 30; opacity: .96; transition: none; cursor: grabbing; box-shadow: 0 10px 26px rgba(16,24,40,.28); outline: 2px dashed var(--brand); outline-offset: -2px; }
.dcol.drop { background-color: rgba(199,24,66,.07); }

/* własne specjalizacje: usuwalny chip i grupy per kategoria */
.chip-x { border: 0; background: none; padding: 0 0 0 2px; margin-left: 2px; font: inherit; font-size: 15px; line-height: 1; cursor: pointer; color: inherit; opacity: .6; } .chip-x:hover { opacity: 1; }
.spec-group { margin-top: 14px; } .spec-group:first-child { margin-top: 6px; }

/* wizytówka: widok całego miesiąca w widżecie rezerwacji */
.mgrid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.mgrid .mh { text-align: center; font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; padding: 2px 0 4px; }
.mday { position: relative; aspect-ratio: 1 / 1; min-height: 40px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; font: inherit; line-height: 1.1; padding: 0; color: var(--ink); }
.mday b { font-size: 14px; } .mday em { font-style: normal; font-size: 10.5px; font-weight: 700; color: var(--ok); }
.mday:hover:not(:disabled) { border-color: #b8bec9; } .mday.on { background: var(--navy); border-color: var(--navy); color: #fff; } .mday.on em { color: #8ee6b8; }
.mday.off { background: transparent; border-color: transparent; color: #b9bfc9; cursor: default; } .mday.today:not(.on) { border-color: var(--brand); }

/* specjalizacje: osobna karta dla każdej dyscypliny */
.spec-cards { display: flex; flex-direction: column; gap: 14px; }
.spec-card { border: 1px solid var(--line); border-left: 4px solid var(--navy); border-radius: 12px; background: #fafbfc; padding: 12px 14px 14px; }
.spec-card:nth-child(2) { border-left-color: var(--brand); } .spec-card:nth-child(3) { border-left-color: #5b5bd6; }
.spec-card > header { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; font-size: 14.5px; }
.spec-card .chip { background: #fff; } .spec-card .chip.on { background: var(--navy); }
.spec-add { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); }
.spec-add input { flex: 1; min-width: 0; max-width: 320px; padding: 7px 11px; font-size: 13.5px; }
.spec-add .btn { flex: none; }

/* ---------- Zajęcia grupowe: mapa i lista ---------- */
#cmap { position: absolute; inset: 0; background: #e6eaee; }
.dchip { flex: none; width: 54px; padding: 6px 0 5px; text-align: center; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; line-height: 1.15; font: inherit; color: var(--ink); }
.dchip small { display: block; font-size: 10.5px; font-weight: 700; text-transform: uppercase; color: var(--muted); } .dchip b { display: block; font-size: 17px; } .dchip em { display: block; font-style: normal; font-size: 11px; font-weight: 700; color: var(--ok); }
.dchip.zero { background: #fafbfc; } .dchip.zero em { color: #b9bfc9; } .dchip.zero b { color: #8b93a1; }
.dchip.on { background: var(--navy); border-color: var(--navy); color: #fff; } .dchip.on small { color: #b7c2d6; } .dchip.on em { color: #8ee6b8; } .dchip.on b { color: #fff; }
.cgym > header { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 16px; background: #f6f7f9; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); cursor: pointer; position: sticky; top: 0; z-index: 2; }
.cgym > header:hover { background: #eef0f3; }
.ccard { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-bottom: 1px solid var(--line-2); cursor: pointer; transition: background .12s; } .ccard:hover { background: #fafbfc; }
.ctime { flex: none; width: 58px; text-align: center; line-height: 1.15; } .ctime b { display: block; font-size: 18px; font-weight: 800; } .ctime small { color: var(--muted); font-size: 12.5px; }
.ctitle { font-weight: 700; font-size: 15.5px; }
.cspots { height: 5px; border-radius: 99px; background: var(--line); overflow: hidden; margin: 8px 0 3px; max-width: 220px; } .cspots i { display: block; height: 100%; background: var(--ok); border-radius: 99px; } .cspots.low i { background: var(--warn); }
.ccta { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.gfilter { display: flex; align-items: center; gap: 8px; padding: 10px 16px; background: var(--brand-soft); border-bottom: 1px solid #ffd9c8; font-size: 13.5px; flex-wrap: wrap; }
@media (max-width: 560px) { .ccard { flex-wrap: wrap; } .ccta { width: 100%; flex-direction: row; justify-content: flex-start; align-items: center; margin-left: 72px; } }

/* konfigurator zajęć w panelu trenera */
.cls-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 14px; }
.cplan { display: flex; flex-direction: column; gap: 8px; padding: 16px; } .cplan.paused { opacity: .6; }
.cplan h3 { margin: 0; font-size: 16.5px; }
.cfg-sec { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; background: #fff; }
.cfg-sec > h4 { margin: 0 0 10px; font-size: 14.5px; display: flex; align-items: center; gap: 8px; } .cfg-sec > h4 i { font-style: normal; width: 22px; height: 22px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 12px; display: inline-grid; place-items: center; }
.opt-cards { display: grid; gap: 8px; } .opt-card { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; } .opt-card:has(input:checked) { border-color: var(--navy); background: #f5f7fb; box-shadow: 0 0 0 1px var(--navy) inset; }
.opt-card small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; font-weight: 400; }
.cfg-sum { background: #f5f7fb; border-radius: 10px; padding: 10px 14px; font-size: 13.5px; }

/* wizytówka: specjalizacje w wierszach i własne zdjęcie w tle */
.spec-rows { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.spec-row { display: flex; align-items: flex-start; gap: 10px; } .spec-row > .badge { flex: none; min-width: 168px; justify-content: flex-start; } .spec-row > .row { padding-top: 1px; }
@media (max-width: 560px) { .spec-row { flex-direction: column; gap: 5px; } .spec-row > .badge { min-width: 0; } }
.hero .cover.photo { height: 170px; background-size: cover; background-position: center; }
.coverprev { height: 96px; border-radius: 12px; background-size: cover; background-position: center; border: 1px solid var(--line); }

.chip.dim { opacity: .5; }
.explorer .side-head { gap: 8px; } .explorer .side-head .search input { height: 38px; }

.chips.wrap { flex-wrap: wrap; overflow: visible; } .chip.ghost { background: transparent; border-style: dashed; }

/* zajęcia: dni i zajęcia tylko do podglądu (poza oknem zapisów) */
.daynav { display: flex; align-items: center; gap: 2px; } .daynav .chips { flex: 1; min-width: 0; } .daynav .icon-btn { width: 30px; height: 36px; flex: none; } .daynav .btn.sm { flex: none; margin-left: 4px; }
.dchip.later { background: #f1f2f5; border-style: dashed; } .dchip.later b, .dchip.later small { color: #7b8493; } .dchip.later em { color: #9aa2b1; } .dchip.later.on { background: #5b6577; border-color: #5b6577; } .dchip.later.on b, .dchip.later.on small, .dchip.later.on em { color: #fff; }
.mday.later { background: #f1f2f5; border-style: dashed; color: #7b8493; } .mday.later em { color: #9aa2b1; } .mday.later.on { background: #5b6577; border-color: #5b6577; color: #fff; }
.ccard.view { background: #fafafb; } .ccard.view .ctitle, .ccard.view .ctime b { color: #6b7385; }

/* grafik obiektu (kalendarz zajęć jednego obiektu) */
.modal.xl { max-width: 1080px; }
.sched-scroll { max-height: 62vh; overflow: auto; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 10px 10px; } .sched-scroll .cal-grid { min-width: 560px; }
#sgrid .cal-head { border: 1px solid var(--line); border-radius: 10px 10px 0 0; }
.ev.sev { cursor: pointer; border-left-width: 4px; }
.ev.sev.pay-free { background: #e6f6ee; border-color: #bfe6d1; border-left-color: var(--ok); color: #0d5a37; }
.ev.sev.pay-pass { background: #e8f0ff; border-color: #c8d8ff; border-left-color: #2f6fed; color: #1b3d85; }
.ev.sev.pay-paid { background: #fbe9ee; border-color: #f1b8c7; border-left-color: var(--brand); color: #7d0f2a; }
.ev.sev.pay-pass_plus { background: #f1ebff; border-color: #dccdff; border-left-color: #7a4ee0; color: #3f2480; }
.ev.sev.st-past, .ev.sev.st-closed { opacity: .5; filter: grayscale(.5); }
.ev.sev.st-full { opacity: .75; filter: grayscale(.8); } .ev.sev.st-not_yet { background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.55) 0 6px, transparent 6px 12px); opacity: .85; }
.ev.sev.st-joined { box-shadow: 0 0 0 2px var(--navy) inset; }
.lgd { display: inline-block; width: 11px; height: 11px; border-radius: 3px; vertical-align: -1px; margin-right: 3px; border: 1px solid transparent; }
.lgd.pay-free { background: #e6f6ee; border-color: var(--ok); } .lgd.pay-pass { background: #e8f0ff; border-color: #2f6fed; } .lgd.pay-paid { background: #fbe9ee; border-color: var(--brand); } .lgd.pay-pass_plus { background: #f1ebff; border-color: #7a4ee0; }
.popup .btn:not(.primary) { color: var(--ink); width: auto; }

.sched-head { position: sticky; top: 0; z-index: 9; } .sched-head small { display: block; font-size: 10.5px; }

.search .loc { position: absolute; right: 5px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border: 0; border-radius: 8px; background: transparent; cursor: pointer; font-size: 18px; color: var(--muted); display: grid; place-items: center; } .search .loc:hover { background: var(--line-2); color: var(--brand); }
.search:has(.loc) input { padding-right: 38px; }

.restartbar { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 3000; max-width: min(640px, calc(100vw - 24px)); background: var(--navy); color: #fff; padding: 12px 40px 12px 16px; border-radius: 12px; box-shadow: var(--shadow-lg); font-size: 13.5px; line-height: 1.4; }
.restartbar button { position: absolute; right: 8px; top: 6px; border: 0; background: none; color: #c9d1de; font-size: 22px; cursor: pointer; line-height: 1; }

/* zaznaczeni uczestnicy: podświetlenie w kolorze motywu (poza samym ptaszkiem) */
.plist label.check, #mm label.check { padding: 7px 10px; border-radius: 9px; border: 1px solid transparent; transition: background .12s, border-color .12s; cursor: pointer; }
.plist label.check:hover, #mm label.check:hover { background: var(--line-2); }
.plist label.check:has(input:checked), #mm label.check:has(input:checked) { background: var(--brand-soft); border-color: #f1b8c7; } 
.plist label.check:has(input:checked) span, #mm label.check:has(input:checked) span { font-weight: 600; color: #7d0f2a; }

/* ---- powiadomienia i dzwonek ---- */
.bell { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 10px; color: var(--ink-2); }
.bell:hover, .bell.on { background: var(--bg-2, rgba(0,0,0,.06)); color: var(--ink); }
.bell .cnt { position: absolute; top: 1px; right: 0; margin: 0; }
.list-item.notif { padding: 12px 14px; border-bottom: 1px solid var(--line, #e7e7ee); text-decoration: none; color: inherit; }
.list-item.notif:last-child { border-bottom: 0; }
.list-item.notif.unread { background: color-mix(in srgb, var(--brand, #5b5bd6) 6%, transparent); }
.nicon { width: 34px; height: 34px; border-radius: 50%; flex: none; display: inline-flex; align-items: center; justify-content: center; background: var(--brand-soft, #ececff); color: var(--brand, #5b5bd6); }
.nicon.urgent { background: var(--warn-soft); color: #8a5300; }
.dot-new { width: 9px; height: 9px; border-radius: 50%; background: var(--brand, #5b5bd6); flex: none; }

/* ---- pasek niezapisanych zmian (wizytówka) ---- */
.savebar { margin-top: 12px; display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: var(--r, 14px); background: #fff; border: 1.5px solid var(--brand); box-shadow: 0 6px 22px rgba(0,0,0,.12); animation: sbIn .18s ease-out; }
.savebar[hidden] { display: none; }
.savebar .sb-t { display: flex; flex-direction: column; gap: 2px; }
.savebar .sb-t b::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); margin-right: 7px; }
@keyframes sbIn { from { transform: translateY(8px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (max-width: 960px) { .savebar { position: fixed; left: 12px; right: 12px; bottom: 12px; margin: 0; z-index: 40; flex-direction: row; align-items: center; justify-content: space-between; } .savebar .sb-t .small { display: none; } }

/* ---- przełącznik rodzajów rozmów ---- */
.segsw { display: flex; flex-wrap: wrap; gap: 3px; padding: 10px 8px 0; }
.segsw::-webkit-scrollbar { display: none; }
.segsw button { flex: 1 1 auto; display: inline-flex; align-items: center; justify-content: center; gap: 5px; white-space: nowrap; border: 0; background: var(--line-2); color: var(--ink-2); font-weight: 650; font-size: 12px; padding: 7px 7px; border-radius: 999px; cursor: pointer; transition: background .15s, color .15s, box-shadow .15s; }
.segsw button:hover { background: #e4e7ee; }
.segsw button .i { display: none; }
.segsw button.on { background: var(--brand); color: #fff; box-shadow: 0 2px 8px rgba(255, 90, 31, .35); }
.segsw .sdot { font-style: normal; font-size: 11px; font-weight: 700; min-width: 17px; height: 17px; padding: 0 5px; border-radius: 99px; background: var(--brand); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.segsw button.on .sdot { background: #fff; color: var(--brand); }


/* ---- nagłówki sekcji na liście wyników (specjaliści / obiekty) ---- */
.list-sec { padding: 12px 16px 4px; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

/* ---- karta „tryb konta” w menu bocznym specjalisty ---- */
.modecard { display: flex; flex-direction: column; gap: 8px; padding: 12px; margin: 0 0 6px; border-radius: 14px; background: linear-gradient(135deg, #fff4ee, #fff); border: 1.5px solid #ffd2bd; }
.modecard .mc-label { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--muted); }
.modecard .mc-label b { color: var(--brand-d, var(--brand)); letter-spacing: .04em; }
.modecard .mc-btn { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 11px; border-radius: 10px; background: var(--brand); color: #fff !important; font-weight: 700; font-size: 13.5px; text-decoration: none; box-shadow: 0 2px 8px rgba(255, 90, 31, .3); transition: filter .15s, transform .15s; }
.modecard .mc-btn:hover { filter: brightness(1.06); transform: translateY(-1px); background: var(--brand); }
.modecard .mc-btn .i { width: 16px; height: 16px; flex: none; }
.modecard .mc-btn span { display: inline-flex; align-items: center; gap: 8px; }
@media (max-width: 960px) { .modecard { flex-direction: row; align-items: center; padding: 4px 6px; margin: 0 6px 0 0; flex: none; } .modecard .mc-label { display: none; } .modecard .mc-btn { padding: 7px 12px; white-space: nowrap; } }

/* ---- panel administratora ---- */
.adm-side { background: #0e2340 !important; border-right-color: #0e2340 !important; }
.adm-side a { color: #cbd5e1; } .adm-side a:hover { background: rgba(255,255,255,.08); color: #fff; } .adm-side a.on { background: rgba(255, 90, 31, .18); color: #ffb08f; }
.adm-side h6 { color: #7b8aa3; }
.adm-badge { display: flex; align-items: center; gap: 8px; margin: 2px 4px 6px; padding: 9px 12px; border-radius: 10px; background: rgba(255, 90, 31, .16); color: #ffb08f; font-weight: 800; font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; }
.adm-side .cnt { background: var(--brand); }
.subbar.imp { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; background: #7c2d12; color: #fff; padding: 9px 16px; font-size: 13.5px; }
.subbar.imp .btn { background: #fff; color: #7c2d12; border: 0; font-weight: 700; }
@media (max-width: 960px) { .adm-badge { display: none; } }

/* ---- modal blokujący (np. potwierdzenie wieku): bez przycisku zamknięcia ---- */
.modal-bg.locked [data-close] { display: none; }

.subbar.imp.verify { background: #1e3a8a; }
.subbar.imp.verify .btn.primary { background: var(--brand); color: #fff; }

/* stronicowanie list */
.pager { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 10px 14px; border-top: 1px solid var(--line); }
.pager-nav { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.pager-nav .btn { min-width: 34px; justify-content: center; }
.tabs-s { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 12px; }

/* pole telefonu z prefiksem +48 */
.phone-row { display: flex; gap: 8px; align-items: stretch; } .phone-row input { flex: 1; min-width: 0; }
.phone-prefix { display: inline-flex; align-items: center; padding: 0 13px; border: 1px solid #d0d5dd; border-radius: 10px; background: var(--line-2); font-weight: 600; font-size: 14.5px; color: var(--ink-2); white-space: nowrap; }
