@font-face { font-family: "Manrope"; src: url("/fonts/manrope/Manrope-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("/fonts/manrope/Manrope-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("/fonts/manrope/Manrope-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("/fonts/manrope/Manrope-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("/fonts/manrope/Manrope-ExtraBold.ttf") format("truetype"); font-weight: 800; font-display: swap; }

:root {
  --blue: #2A9BEF; --blue-d: #1D86D6; --soft: #E8F4FE; --soft2: #F3F9FF;
  --ink: #1E293B; --muted: #64748B; --label: #94A3B8; --line: #E2E8F0; --line2: #EEF2F7; --nav: #475569;
  --bg: #EEF2F7; --card: #FFFFFF;
  --green: #16A34A; --green-s: #DCFCE7; --red: #E11D48; --red-s: #FFE4E9; --amber: #D97706; --amber-s: #FEF3C7; --violet: #7C3AED; --violet-s: #EDE9FE; --pink: #EC4899; --pink-s: #FCE7F3; --orange: #F97316;
  --r: 18px; --r-sm: 12px;
  --sh: 0 1px 2px rgba(15, 23, 42, .04), 0 4px 16px rgba(15, 23, 42, .04);
  --sh-lg: 0 20px 50px rgba(15, 23, 42, .18), 0 2px 8px rgba(15, 23, 42, .06);
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: "Manrope", system-ui, sans-serif; background: var(--bg); color: var(--ink); font-size: 14px; line-height: 1.45; -webkit-font-smoothing: antialiased; }
body.noscroll { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
.i { flex: none; display: block; }
.muted { color: var(--muted); }
.lbl { color: var(--label); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.blue { color: var(--blue); }
.green { color: var(--green); }
.red { color: var(--red); }
.row { display: flex; align-items: center; gap: 10px; }
.col { display: flex; flex-direction: column; }
.grow { flex: 1; min-width: 0; }
.wrap { flex-wrap: wrap; }
.sp { justify-content: space-between; }
.b { font-weight: 700; }
.sb { font-weight: 600; }
.sm { font-size: 12.5px; }
.xs { font-size: 11.5px; }
.nowrap { white-space: nowrap; }
.ell { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hide { display: none !important; }

/* ---------- layout ---------- */
.app { display: grid; grid-template-columns: 236px 1fr; min-height: 100vh; }
.app.collapsed { grid-template-columns: 76px 1fr; }
.side { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 18px 14px 14px; gap: 4px; overflow-y: auto; }
.side-top { display: flex; align-items: center; justify-content: space-between; padding: 0 4px 0 6px; height: 40px; margin-bottom: 12px; }
.logo img { display: block; height: 26px; width: auto; }
.side-search { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 10px; border-radius: 10px; background: #fff; border: 1px solid var(--line); color: var(--label); margin-bottom: 14px; }
.side-search span { flex: 1; text-align: left; }
.side-search kbd, kbd { font: 600 10.5px "Manrope"; background: var(--bg); border-radius: 6px; padding: 2px 6px; color: var(--muted); }
.side-group { font-size: 11px; font-weight: 700; letter-spacing: .08em; color: var(--label); text-transform: uppercase; padding: 12px 10px 6px; }
.nav { display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 10px; border-radius: 10px; color: var(--nav); font-weight: 600; font-size: 14.5px; }
.nav:hover { background: rgba(255, 255, 255, .6); }
.nav.on { background: #fff; color: var(--blue); box-shadow: var(--sh); }
.nav span { flex: 1; }
.nav-badge { font-size: 11px; font-weight: 700; color: var(--blue); background: var(--soft); border-radius: 999px; padding: 1px 8px; }
.side-fill { flex: 1; min-height: 20px; }
.plan-card { background: #fff; border-radius: 14px; padding: 14px; box-shadow: var(--sh); margin-bottom: 10px; }
.plan-card b { font-size: 13px; }
.plan-card p { font-size: 12px; color: var(--muted); margin: 4px 0 10px; }
.bar { height: 6px; background: var(--line2); border-radius: 99px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--blue); border-radius: 99px; transition: width .3s; }
.me { display: flex; align-items: center; gap: 10px; padding: 8px 6px; border-radius: 12px; text-align: left; color: var(--label); }
.me:hover { background: rgba(255, 255, 255, .6); }
.me span { flex: 1; display: flex; flex-direction: column; color: var(--ink); }
.me b { font-size: 13px; }
.me small { font-size: 11.5px; color: var(--muted); }
.app.collapsed .side span, .app.collapsed .side kbd, .app.collapsed .side-group, .app.collapsed .plan-card, .app.collapsed .nav-badge, .app.collapsed .me .i { display: none; }
.app.collapsed .side-top { flex-direction: column; height: auto; gap: 10px; }
.app.collapsed .logo img { width: 30px; height: 26px; object-fit: cover; object-position: left; }
.app.collapsed .nav, .app.collapsed .side-search { justify-content: center; padding: 0; }
.main { min-width: 0; display: flex; flex-direction: column; padding: 0 24px 32px 8px; }
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 12px; height: 72px; background: var(--bg); }
.top-fill { flex: 1; }
.content { min-width: 0; }
.demo-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--muted); background: #fff; border: 1px dashed #CBD5E1; padding: 5px 10px; border-radius: 99px; }
.saved-note { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; font-weight: 500; }
.saved-note .i { color: var(--green); background: var(--green-s); border-radius: 99px; padding: 3px; }
.mob-only { display: none !important; }
.mnav-bg { display: none; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 11px; font-weight: 700; font-size: 14px; white-space: nowrap; transition: transform .08s, box-shadow .15s, background .15s; }
.btn:active { transform: translateY(1px); }
.btn.sm { height: 34px; padding: 0 12px; font-size: 13px; border-radius: 9px; }
.btn.xs { height: 28px; padding: 0 10px; font-size: 12px; border-radius: 8px; }
.btn.primary { background: var(--blue); color: #fff; box-shadow: 0 6px 16px rgba(42, 155, 239, .28); }
.btn.primary:hover { background: var(--blue-d); }
.btn.primary:disabled { background: #A9D6F8; box-shadow: none; cursor: not-allowed; }
.btn.orange { background: linear-gradient(180deg, #FF8A3D, #F97316); color: #fff; box-shadow: 0 8px 20px rgba(249, 115, 22, .3); }
.btn.ai { background: linear-gradient(90deg, #5B6CFF, #8B5CF6); color: #fff; box-shadow: 0 6px 16px rgba(91, 108, 255, .3); }
.btn.white { background: #fff; border: 1px solid var(--line); color: var(--ink); }
.btn.white:hover { border-color: #CBD5E1; }
.btn.soft { background: var(--soft); color: var(--blue); }
.btn.danger { background: var(--red); color: #fff; }
.btn.danger-o { background: #fff; color: var(--red); border: 1px solid #FBC5D1; }
.btn.ghost { color: var(--blue); padding: 0 8px; }
.btn.dashed { border: 1.5px dashed #A9D6F8; color: var(--blue); background: var(--soft2); }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 10px; color: var(--muted); }
.icon-btn:hover { background: rgba(15, 23, 42, .05); color: var(--ink); }
.icon-btn.round { border-radius: 99px; background: #fff; border: 1px solid var(--line); }
.icon-btn.bordered { background: #fff; border: 1px solid var(--line); }
.icon-btn.sm { width: 30px; height: 30px; }
.bell { position: relative; }
.bell .dot { position: absolute; top: 7px; right: 8px; width: 7px; height: 7px; background: var(--red); border-radius: 99px; border: 1.5px solid #fff; }
.link { color: var(--blue); font-weight: 700; display: inline-flex; align-items: center; gap: 4px; }
.link:hover { text-decoration: underline; }

/* ---------- chips, avatars, toggles ---------- */
.chip { display: inline-flex; align-items: center; gap: 4px; height: 20px; padding: 0 8px; border-radius: 6px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.chip .i { width: 11px; height: 11px; }
.chip-gray { background: #F1F5F9; color: var(--muted); }
.chip-blue { background: var(--soft); color: var(--blue); }
.chip-green { background: var(--green-s); color: var(--green); }
.chip-red { background: var(--red-s); color: var(--red); }
.chip-amber { background: var(--amber-s); color: #B45309; }
.chip-violet { background: var(--violet-s); color: var(--violet); }
.chip-pink { background: var(--pink-s); color: #BE185D; }
.chip-dark { background: var(--ink); color: #fff; }
.dotc::before { content: ""; width: 6px; height: 6px; border-radius: 99px; background: currentColor; }
.av { border-radius: 99px; object-fit: cover; flex: none; display: block; }
.av-txt { display: inline-flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; background: linear-gradient(160deg, #57B6FA, #2A9BEF); }
.tgl { position: relative; width: 40px; height: 24px; border-radius: 99px; background: #CBD5E1; transition: background .18s; flex: none; }
.tgl span { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 99px; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .18s; }
.tgl.on { background: var(--blue); }
.tgl.on span { transform: translateX(16px); }
.tgl.green.on { background: #22C55E; }
.seg { display: inline-flex; background: #F1F5F9; padding: 3px; border-radius: 10px; gap: 2px; }
.seg button { height: 30px; padding: 0 12px; border-radius: 8px; font-size: 12.5px; font-weight: 600; color: var(--muted); white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.seg button svg { flex: none; }
.seg button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(15, 23, 42, .1); }
.seg.blue button.on { color: var(--blue); }
.seg.lg button { height: 34px; padding: 0 14px; font-size: 13.5px; }
.check { width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid #CBD5E1; display: inline-flex; align-items: center; justify-content: center; background: #fff; color: #fff; flex: none; }
.check.on { background: var(--blue); border-color: var(--blue); }
.radio { width: 18px; height: 18px; border-radius: 99px; border: 1.5px solid #CBD5E1; display: inline-block; flex: none; position: relative; background: #fff; }
.radio.on { border-color: var(--blue); }
.radio.on::after { content: ""; position: absolute; inset: 3px; border-radius: 99px; background: var(--blue); }

/* ---------- cards / forms ---------- */
.card { background: var(--card); border-radius: var(--r); box-shadow: var(--sh); border: 1px solid rgba(226, 232, 240, .7); }
.pad { padding: 22px 24px; }
.page-h { display: flex; align-items: flex-end; gap: 14px; margin: 4px 0 18px; flex-wrap: wrap; }
.page-h h1 { font-size: 30px; font-weight: 800; letter-spacing: -.02em; display: flex; align-items: center; gap: 6px; }
.page-h .sub { color: var(--muted); font-size: 14px; margin-bottom: 4px; }
.page-h2 { margin: 4px 0 18px; }
.page-h2 h1 { font-size: 30px; font-weight: 800; letter-spacing: -.02em; display: flex; align-items: center; gap: 6px; }
.page-h2 .sub { color: var(--muted); font-size: 13.5px; margin-top: 4px; }
.sec-h { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 18px; }
.sec-ic { width: 38px; height: 38px; border-radius: 11px; background: var(--soft); color: var(--blue); display: flex; align-items: center; justify-content: center; flex: none; }
.sec-h h3 { font-size: 17px; font-weight: 800; }
.sec-h p { color: var(--muted); font-size: 13px; margin-top: 2px; }
.f { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.f > label, .f > .flabel { font-size: 13px; font-weight: 600; color: var(--nav); }
.inp { height: 42px; border: 1px solid var(--line); border-radius: 11px; padding: 0 13px; background: #fff; outline: none; width: 100%; transition: border-color .15s, box-shadow .15s; font-weight: 500; }
.inp:focus, .ta:focus, .inpw:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(42, 155, 239, .15); }
.inp[readonly], .inp:disabled { background: #F8FAFC; color: var(--muted); }
.inpw { display: flex; align-items: center; gap: 8px; height: 42px; border: 1px solid var(--line); border-radius: 11px; padding: 0 12px; background: #fff; color: var(--label); }
.inpw input { border: 0; outline: none; flex: 1; min-width: 0; height: 100%; background: transparent; font-weight: 500; color: var(--ink); }
.inpw .pre { color: var(--label); font-weight: 500; }
.ta { width: 100%; border: 1px solid var(--line); border-radius: 11px; padding: 11px 13px; outline: none; resize: vertical; min-height: 84px; line-height: 1.55; font-weight: 500; background: #fff; }
.sel { position: relative; }
.sel select { appearance: none; -webkit-appearance: none; height: 42px; width: 100%; border: 1px solid var(--line); border-radius: 11px; padding: 0 36px 0 13px; background: #fff; font-weight: 600; outline: none; cursor: pointer; }
.sel select:focus { border-color: var(--blue); }
.sel .i { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--muted); }
.sel.sm select { height: 34px; font-size: 13px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.hint { color: var(--label); font-size: 12px; }
.divider { height: 1px; background: var(--line2); margin: 18px 0; }
.stepper { display: inline-flex; align-items: center; gap: 4px; height: 40px; border: 1px solid var(--line); border-radius: 11px; padding: 0 4px; background: #fff; }
.stepper button { width: 30px; height: 30px; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--muted); }
.stepper button:hover { background: var(--soft); color: var(--blue); }
.stepper b { min-width: 64px; text-align: center; font-weight: 700; }
.empty { text-align: center; color: var(--muted); padding: 40px 20px; }
.empty .i { margin: 0 auto 10px; color: var(--label); }

/* ---------- overlays ---------- */
.ov { position: fixed; inset: 0; z-index: 100; background: rgba(30, 41, 59, .38); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; padding: 20px; animation: fade .15s; }
.ov-drawer { justify-content: flex-end; padding: 12px; }
.modal { background: #fff; border-radius: 22px; box-shadow: var(--sh-lg); width: 520px; max-width: 100%; max-height: calc(100vh - 40px); overflow-y: auto; animation: pop .18s; }
.drawer { background: #fff; border-radius: 22px; box-shadow: var(--sh-lg); width: 400px; max-width: 100%; height: 100%; overflow-y: auto; animation: slide .2s; }
.m-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 22px 24px 6px; }
.m-head h3 { font-size: 19px; font-weight: 800; }
.m-head p { color: var(--muted); font-size: 13px; margin-top: 3px; }
.m-body { padding: 14px 24px 8px; }
.m-foot { display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding: 16px 24px 22px; }
.m-foot.split { justify-content: space-between; border-top: 1px solid var(--line2); background: linear-gradient(180deg, #fff, var(--soft2)); border-radius: 0 0 22px 22px; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.98); } }
@keyframes slide { from { opacity: 0; transform: translateX(24px); } }
.pop { position: fixed; max-height: calc(100vh - 16px); overflow-y: auto; z-index: 150; background: #fff; border-radius: 14px; box-shadow: var(--sh-lg); border: 1px solid var(--line2); padding: 6px; min-width: 200px; animation: pop .12s; }
.pop .mi { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border-radius: 9px; font-weight: 600; font-size: 13.5px; text-align: left; }
.pop .mi:hover, .pop .mi.on { background: var(--soft2); }
.pop .mi.on { color: var(--blue); }
.pop .mi .r { margin-left: auto; font-size: 10.5px; font-weight: 700; color: var(--label); letter-spacing: .06em; }
.pop .mi.on .r { color: var(--blue); }
.pop .mi.danger { color: var(--red); }
.pop .sep { height: 1px; background: var(--line2); margin: 5px 4px; }
.pop .ph { font-size: 11px; font-weight: 700; color: var(--label); letter-spacing: .08em; text-transform: uppercase; padding: 8px 10px 4px; }
#toasts { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 300; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.toast { display: flex; align-items: center; gap: 8px; background: var(--ink); color: #fff; padding: 11px 16px; border-radius: 12px; font-weight: 600; font-size: 13.5px; box-shadow: var(--sh-lg); opacity: 0; transform: translateY(10px); transition: all .25s; }
.toast.in { opacity: 1; transform: none; }
.toast .i { color: #4ADE80; }
.toast.err .i { color: #FB7185; }

/* ---------- Wizyty ---------- */
.req-row { display: grid; grid-template-columns: 40px 1.3fr 1.8fr 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line2); }
.req-row:first-of-type { border-top: 0; }
.req-acts { display: flex; gap: 6px; align-items: center; }
.toolbar { display: flex; align-items: center; gap: 12px; margin: 16px 0; flex-wrap: wrap; }
.tabs-pill { display: inline-flex; background: #fff; border-radius: 12px; padding: 4px; box-shadow: var(--sh); gap: 2px; }
.tabs-pill button { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 9px; font-weight: 600; color: var(--nav); }
.tabs-pill button.on { background: var(--blue); color: #fff; }
.tabs-pill.light button.on { background: var(--soft); color: var(--blue); }
.days { display: flex; align-items: center; gap: 10px; margin: 16px 0 12px; }
.daybtn { flex: 1; height: 68px; border: 1px solid var(--line); border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; background: #fff; transition: all .15s; }
.daybtn small { font-size: 12px; color: var(--muted); }
.daybtn b { font-size: 19px; font-weight: 800; }
.daybtn .dots { display: flex; gap: 2px; height: 6px; }
.daybtn .dots i { width: 4px; height: 4px; border-radius: 9px; background: var(--blue); }
.daybtn:hover { border-color: #A9D6F8; }
.daybtn.on { background: var(--blue); color: #fff; border-color: var(--blue); box-shadow: 0 8px 18px rgba(42, 155, 239, .3); }
.daybtn.on small { color: rgba(255, 255, 255, .85); }
.daybtn.on .dots i { background: #fff; }
.daybtn.closed { background: #F8FAFC; color: var(--label); }
.daybtn.closed small { color: var(--label); }
.daybtn .cl { font-size: 10px; }
.legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: var(--nav); font-weight: 500; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 12px; height: 12px; border-radius: 4px; display: inline-block; }
.lg-conf { background: #EAF5FE; border: 1px solid #A9D6F8; }
.lg-sel { background: var(--blue); }
.lg-req { background: #FFF7E6; border: 1.5px dashed #F59E0B; }
.lg-free { border: 1.5px dashed #A9D6F8; }
.lg-br { background: #F1F5F9; }
.cal { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin-top: 14px; }
.cal-head { display: grid; border-bottom: 1px solid var(--line); background: #FBFCFE; }
.cal-head > div { padding: 14px 12px; display: flex; align-items: center; gap: 10px; border-left: 1px solid var(--line2); min-width: 0; }
.cal-head > div:first-child { border-left: 0; }
.cal-head b { font-size: 13.5px; display: block; }
.cal-head small { font-size: 11.5px; color: var(--muted); }
.cal-body { display: grid; position: relative; }
.cal-times { position: relative; }
.cal-times span { position: absolute; right: 8px; font-size: 11px; color: var(--muted); transform: translateY(-50%); font-weight: 500; }
.cal-col { position: relative; border-left: 1px solid var(--line2); background-image: repeating-linear-gradient(180deg, transparent 0, transparent 67px, var(--line2) 67px, var(--line2) 68px); }
.ev { position: absolute; left: 8px; right: 8px; border-radius: 9px; padding: 7px 10px; overflow: hidden; background: #EAF5FE; border: 1.5px solid #8CC9F5; cursor: pointer; transition: box-shadow .15s, transform .1s; }
.ev:hover { box-shadow: 0 6px 16px rgba(42, 155, 239, .2); z-index: 3; }
.ev b { display: block; font-size: 12.5px; font-weight: 700; line-height: 1.25; }
.ev small { display: block; font-size: 11px; color: var(--nav); }
.ev .t { color: var(--muted); }
.ev b.row { display: flex; }
.ev .p { position: absolute; right: 10px; top: 32px; font-size: 11.5px; font-weight: 700; }
.ev.sel { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 10px 22px rgba(42, 155, 239, .35); }
.ev.sel small, .ev.sel .t { color: rgba(255, 255, 255, .88); }
.ev.req { background: #FFF7E6; border: 1.5px dashed #F59E0B; color: #B45309; }
.ev.req small { color: #B45309; }
.ev.brk { background: #F8FAFC; border: 1.5px solid var(--line); color: var(--muted); cursor: default; }
.ev.brk:hover { box-shadow: none; }
.ev.free { background: transparent; border: 1.5px dashed #A9D6F8; color: var(--blue); }
.ev.free small { color: var(--muted); }
.ev.free:hover { background: var(--soft2); }
.ev.cancel { background: #F8FAFC; border-color: var(--line); color: var(--label); text-decoration: line-through; }
.now-line { position: absolute; left: 0; right: 0; height: 2px; background: #EF4444; z-index: 4; pointer-events: none; }
.now-line span { position: absolute; left: 6px; top: -10px; background: #EF4444; color: #fff; font-size: 10.5px; font-weight: 700; padding: 2px 6px; border-radius: 6px; }
.month { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin-top: 14px; }
.month-h, .month-g { display: grid; grid-template-columns: repeat(7, 1fr); }
.month-h div { padding: 12px; font-size: 12.5px; color: var(--muted); font-weight: 600; border-left: 1px solid var(--line2); background: #FBFCFE; border-bottom: 1px solid var(--line); }
.month-h div:first-child { border-left: 0; }
.mcell { min-height: 132px; padding: 8px; border-left: 1px solid var(--line2); border-top: 1px solid var(--line2); display: flex; flex-direction: column; gap: 4px; cursor: pointer; min-width: 0; }
.mcell:nth-child(7n+1) { border-left: 0; }
.mcell:hover { background: var(--soft2); }
.mcell .mh { display: flex; justify-content: space-between; font-size: 12.5px; font-weight: 700; align-items: center; }
.mcell .mh small { font-weight: 500; color: var(--muted); font-size: 11px; }
.mcell.out { background: #FBFCFE; color: var(--label); }
.mcell.closed { background: #FBFCFE; cursor: default; }
.mcell.today .mh b { background: var(--blue); color: #fff; width: 22px; height: 22px; border-radius: 99px; display: inline-flex; align-items: center; justify-content: center; }
.mev { font-size: 11px; padding: 3px 6px; border-radius: 5px; background: #EAF5FE; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 500; }
.mev b { color: var(--blue); font-weight: 600; margin-right: 3px; }
.mev.req { background: #FFF7E6; border: 1px dashed #F59E0B; color: #B45309; }
.mev.req b { color: #B45309; }
.mev.past { opacity: .55; }
.mev.sel { background: var(--blue); color: #fff; }
.mev.sel b { color: #fff; }
.more-l { font-size: 11px; color: var(--blue); font-weight: 700; padding-left: 4px; }
.list-day { margin-top: 18px; }
.list-day h4 { font-size: 13px; color: var(--muted); font-weight: 700; margin-bottom: 8px; }
.lrow { display: grid; grid-template-columns: 110px 1fr 180px 120px 90px 30px; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 8px; background: #fff; cursor: pointer; }
.lrow:hover { border-color: #A9D6F8; }
.staff-pick { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px 0 6px; border: 1px solid var(--line); border-radius: 11px; background: #fff; }

/* New visit drawer */
.step { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .06em; color: var(--label); text-transform: uppercase; margin: 16px 0 8px; }
.step .n { width: 20px; height: 20px; border-radius: 99px; background: #F1F5F9; color: var(--label); display: inline-flex; align-items: center; justify-content: center; font-size: 11px; letter-spacing: 0; }
.step.on { color: var(--ink); }
.step.on .n { background: var(--blue); color: #fff; }
.step.done .n { background: var(--green-s); color: var(--green); }
.pick { display: flex; align-items: center; gap: 10px; min-height: 52px; border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; width: 100%; text-align: left; background: #fff; }
.pick:hover:not(:disabled) { border-color: #A9D6F8; }
.pick:disabled { opacity: .55; cursor: not-allowed; }
.pick .ph { width: 32px; height: 32px; border-radius: 99px; background: #F1F5F9; display: flex; align-items: center; justify-content: center; color: var(--label); }
.pick-dash { border: 1.5px dashed #CBD5E1; justify-content: center; color: var(--blue); font-weight: 700; min-height: 46px; }
.sugg { border: 1px solid var(--line); border-radius: 12px; margin-top: 6px; max-height: 240px; overflow-y: auto; }
.sugg button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; text-align: left; }
.sugg button:hover { background: var(--soft2); }
.svc-line { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 11px; margin-bottom: 6px; }
.svc-ic { width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex: none; }
.t-blue { background: var(--soft); color: var(--blue); }
.t-violet { background: var(--violet-s); color: var(--violet); }
.t-pink { background: var(--pink-s); color: var(--pink); }
.t-amber { background: var(--amber-s); color: var(--amber); }
.t-red { background: var(--red-s); color: var(--red); }
.t-green { background: var(--green-s); color: var(--green); }
.t-gray { background: #F1F5F9; color: var(--muted); }
.dt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dt { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; text-align: left; background: #fff; min-height: 52px; }
.dt:disabled { opacity: .5; cursor: not-allowed; }
.dt small { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; color: var(--label); text-transform: uppercase; }
.dt span { font-weight: 600; font-size: 13.5px; }
.dt .i { color: var(--blue); }
.mini-cal { width: 340px; padding: 14px; }
.mini-cal .mc-g { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.mini-cal .mc-g > span { font-size: 11.5px; color: var(--muted); font-weight: 600; padding: 4px 0; }
.mini-cal .d { height: 40px; border-radius: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; gap: 2px; }
.mini-cal .d i { width: 4px; height: 4px; border-radius: 9px; }
.mini-cal .d:hover:not(:disabled) { background: var(--soft2); }
.mini-cal .d.out { color: #CBD5E1; }
.mini-cal .d.cl { background: #F1F5F9; color: var(--label); cursor: not-allowed; }
.mini-cal .d.on { background: var(--blue); color: #fff; }
.mini-cal .d.on i { background: #fff !important; }
.time-pop { width: 360px; padding: 14px; }
.tgrp { display: flex; justify-content: space-between; align-items: center; margin: 10px 0 6px; font-weight: 700; font-size: 13.5px; }
.tgrp small { color: var(--muted); font-weight: 500; font-size: 11.5px; }
.tgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.tgrid button { height: 36px; border: 1px solid var(--line); border-radius: 9px; font-weight: 600; font-size: 13px; }
.tgrid button:hover:not(:disabled) { border-color: var(--blue); }
.tgrid button:disabled { background: #F1F5F9; border-color: #F1F5F9; color: #CBD5E1; cursor: not-allowed; }
.tgrid button.on { background: var(--blue); border-color: var(--blue); color: #fff; }
.tsum { margin-top: 12px; background: var(--soft); border-radius: 10px; padding: 10px 12px; display: flex; gap: 10px; align-items: center; font-weight: 800; }
.tsum small { font-weight: 500; color: var(--muted); }
.svc-pop { width: 400px; padding: 10px; }
.svc-pop .s-item { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 10px; width: 100%; text-align: left; }
.svc-pop .s-item:hover { background: var(--soft2); }
.svc-pop .s-item mark { background: none; color: var(--blue); font-weight: 800; }
.svc-pop .s-list { max-height: 320px; overflow-y: auto; }
.qd { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line2); }
.qd button { height: 30px; padding: 0 12px; border-radius: 99px; border: 1px solid var(--line); font-size: 12.5px; font-weight: 600; }
.qd button:hover { border-color: var(--blue); color: var(--blue); }

/* ---------- Klienci ---------- */
.filters { display: grid; grid-template-columns: 2fr 1.2fr 1.2fr 1.2fr; gap: 12px; align-items: end; }
.crow { display: grid; grid-template-columns: 56px minmax(220px, 2.4fr) 1.1fr .6fr 1fr .8fr 40px; gap: 12px; align-items: center; padding: 14px 16px; background: #fff; border-radius: 14px; box-shadow: var(--sh); margin-bottom: 10px; cursor: pointer; border: 1px solid transparent; transition: border-color .15s; }
.crow:hover { border-color: #A9D6F8; }
.crow .nm { font-size: 15px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.crow .ct { display: flex; gap: 16px; color: var(--muted); font-size: 12.5px; margin-top: 3px; flex-wrap: wrap; }
.crow .ct span { display: inline-flex; align-items: center; gap: 5px; }
.crow .k small { display: block; font-size: 10.5px; color: var(--label); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 3px; }
.crow .k b { font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.av-wrap { position: relative; width: 48px; height: 48px; }
.av-src { position: absolute; right: -3px; bottom: -3px; width: 20px; height: 20px; border-radius: 99px; background: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 1px 3px rgba(0, 0, 0, .15); }
.src-ig { color: #E1306C; } .src-fb { color: #1877F2; } .src-wa { color: #22C55E; } .src-web { color: #7C3AED; } .src-ai { color: #8B5CF6; } .src-dir { color: var(--blue); } .src-tg { color: #229ED9; }
.add-round { width: 34px; height: 34px; border-radius: 99px; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--blue); background: #fff; }
.add-round:hover { background: var(--soft); }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile { background: #fff; border-radius: 16px; box-shadow: var(--sh); overflow: hidden; cursor: pointer; transition: transform .15s; }
.tile:hover { transform: translateY(-2px); }
.tile-top { position: relative; height: 180px; background: linear-gradient(160deg, #8DD0FF, #2A9BEF 70%); display: flex; align-items: center; justify-content: center; gap: 14px; color: #fff; padding: 0 16px; }
.tile-top .ph { width: 52px; height: 52px; border: 2px solid #fff; border-radius: 99px; display: flex; align-items: center; justify-content: center; flex: none; }
.tile-top b { font-size: 22px; font-weight: 800; line-height: 1.2; }
.tile-top .tl, .tile-top .tr { position: absolute; top: 12px; }
.tile-top .tl { left: 12px; } .tile-top .tr { right: 12px; }
.src-pill { display: inline-flex; align-items: center; gap: 5px; background: #fff; color: var(--ink); border-radius: 99px; height: 22px; padding: 0 9px; font-size: 11px; font-weight: 700; }
.tile-b { padding: 14px 16px; }
.tile-b b { font-size: 14px; }
.tile-b .row { margin-top: 6px; font-size: 12px; color: var(--muted); }

/* client profile */
.prof { display: grid; grid-template-columns: 320px 1fr; gap: 20px; align-items: start; }
.prof-card { padding: 20px; text-align: center; background: linear-gradient(180deg, #EDF6FF 0, #fff 140px); }
.prof-av { width: 84px; height: 84px; margin: 14px auto 12px; border: 4px solid #fff; box-shadow: 0 8px 20px rgba(42, 155, 239, .3); font-size: 30px !important; }
.qacts { display: flex; justify-content: center; gap: 10px; margin: 14px 0 6px; }
.qacts button { width: 40px; height: 40px; border-radius: 99px; display: flex; align-items: center; justify-content: center; }
.kv { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; font-size: 13.5px; }
.kv span { color: var(--muted); }
.kv b { font-weight: 700; text-align: right; display: inline-flex; align-items: center; gap: 6px; }
.contact { display: flex; align-items: center; gap: 12px; padding: 7px 0; text-align: left; }
.contact .ci { width: 32px; height: 32px; border-radius: 9px; display: flex; align-items: center; justify-content: center; flex: none; }
.contact small { display: block; color: var(--label); font-size: 11.5px; }
.contact b { font-weight: 600; font-size: 13.5px; }
.note-y { background: #FFFBEB; border: 1px solid #FDE68A; border-radius: 16px; padding: 16px; }
.note-y .lbl { color: #B45309; display: flex; gap: 6px; align-items: center; }
.note-y p { color: #92400E; margin: 8px 0 6px; font-weight: 500; }
.note-y small { color: #B45309; font-size: 11.5px; }
.ptabs { display: flex; gap: 26px; border-bottom: 1px solid var(--line2); padding: 0 22px; overflow-x: auto; }
.ptabs button { height: 52px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--nav); border-bottom: 2.5px solid transparent; font-size: 14.5px; white-space: nowrap; }
.ptabs button i { font-style: normal; font-size: 11px; background: #F1F5F9; color: var(--muted); border-radius: 6px; padding: 1px 6px; }
.ptabs button.on { color: var(--blue); border-color: var(--blue); }
.ptabs button.on i { background: var(--soft); color: var(--blue); }
.kpi { border: 1px solid var(--line); border-radius: 14px; padding: 14px; position: relative; min-height: 112px; }
.kpi small { font-size: 10.5px; font-weight: 700; letter-spacing: .07em; color: var(--label); text-transform: uppercase; }
.kpi b { display: block; font-size: 22px; font-weight: 800; margin: 12px 0 6px; }
.kpi em { font-style: normal; font-size: 11.5px; }
.kpi .ki { position: absolute; top: 12px; right: 12px; width: 28px; height: 28px; border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.kpi.hl { background: linear-gradient(150deg, #47ACF6, #1F8BE0); color: #fff; border: 0; }
.kpi.hl small, .kpi.hl em { color: rgba(255, 255, 255, .9); }
.kpi.hl .ki { background: rgba(255, 255, 255, .2); color: #fff; }
.vrow { display: flex; align-items: center; gap: 14px; border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; margin-bottom: 10px; background: #fff; }
.vdate { width: 46px; height: 50px; border-radius: 10px; background: #F1F5F9; display: flex; flex-direction: column; align-items: center; justify-content: center; flex: none; }
.vdate small { font-size: 9.5px; font-weight: 700; color: var(--muted); letter-spacing: .06em; }
.vdate b { font-size: 17px; font-weight: 800; line-height: 1.1; }
.vdate.blue { background: var(--blue); color: #fff; }
.vdate.blue small { color: rgba(255, 255, 255, .85); }
.vrow .meta { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12.5px; margin-top: 3px; flex-wrap: wrap; }
.spec { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.convo { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin-bottom: 12px; }
.convo-h { display: flex; align-items: center; gap: 10px; padding: 12px 14px; cursor: pointer; }
.convo-b { border-top: 1px solid var(--line2); padding: 14px; background: #FBFCFE; display: flex; flex-direction: column; gap: 10px; }
.bub { max-width: 72%; padding: 10px 14px; border-radius: 14px; font-size: 13.5px; line-height: 1.5; background: #fff; border: 1px solid var(--line); align-self: flex-start; }
.bub small { display: block; font-size: 10.5px; margin-top: 4px; opacity: .7; }
.bub.me { align-self: flex-end; background: var(--blue); color: #fff; border-color: var(--blue); }
.bub.note { align-self: flex-end; background: #FFFBEB; border-color: #FDE68A; color: #92400E; }
.bub-ai { align-self: flex-end; font-size: 11.5px; font-weight: 700; color: var(--violet); display: flex; gap: 4px; align-items: center; margin-bottom: -6px; }
.bub-ev { align-self: center; background: var(--soft); color: var(--blue); font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 8px; display: flex; gap: 6px; align-items: center; }
.bub-day { align-self: center; font-size: 11.5px; color: var(--muted); border: 1px solid var(--line); border-radius: 8px; padding: 2px 10px; background: #fff; }
.ai-sum { background: linear-gradient(120deg, #F3F0FF, #EEF5FF); border: 1px solid #DDD6FE; border-radius: 14px; padding: 14px 16px; display: flex; gap: 12px; margin-bottom: 14px; }
.ai-ic { width: 36px; height: 36px; border-radius: 10px; background: linear-gradient(150deg, #8B5CF6, #6366F1); color: #fff; display: flex; align-items: center; justify-content: center; flex: none; }
.wave { display: flex; align-items: center; gap: 2px; flex: 1; height: 28px; cursor: pointer; }
.wave i { width: 3px; border-radius: 3px; background: #CBD5E1; }
.wave i.on { background: var(--blue); }
.play { width: 32px; height: 32px; border-radius: 99px; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; flex: none; }
.trans { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin-top: 12px; background: #FBFCFE; }
.trans .tl { display: grid; grid-template-columns: 34px 80px 1fr; gap: 8px; font-size: 12.5px; padding: 4px 0; }
.trans .tl em { font-style: normal; color: var(--label); }
.email-prev { border: 1px solid var(--line); border-radius: 14px; padding: 18px; background: #fff; margin: 12px 0; box-shadow: var(--sh); }
.email-tbl { background: #F8FAFC; border-radius: 10px; padding: 10px 14px; margin: 12px 0; font-size: 12.5px; }
.email-tbl div { display: grid; grid-template-columns: 110px 1fr; padding: 3px 0; }
.note-card { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; margin-bottom: 10px; }
.note-card.pinned { background: #FFFBEB; border-color: #FDE68A; }
.note-card.ai { background: #F7F5FF; border-color: #DDD6FE; }
.composer { border: 1.5px solid var(--blue); border-radius: 14px; padding: 12px; box-shadow: 0 0 0 3px rgba(42, 155, 239, .12); margin-bottom: 18px; }
.composer textarea { width: 100%; border: 0; outline: none; resize: none; min-height: 46px; font-weight: 500; }

/* ---------- Czaty ---------- */
.chat-wrap { display: grid; grid-template-columns: 330px 1fr 290px; height: calc(100vh - 96px); min-height: 600px; background: #fff; border-radius: var(--r); box-shadow: var(--sh); overflow: hidden; }
.chat-wrap.noside { grid-template-columns: 330px 1fr; }
.chat-list { border-right: 1px solid var(--line2); display: flex; flex-direction: column; min-height: 0; }
.chat-list .head { padding: 18px 16px 10px; }
.chat-items { overflow-y: auto; flex: 1; padding: 6px 8px 12px; }
.citem { display: flex; gap: 10px; padding: 12px 10px; border-radius: 12px; cursor: pointer; position: relative; text-align: left; width: 100%; }
.citem:hover { background: #F8FAFC; }
.citem.on { background: var(--soft2); }
.citem.on::before { content: ""; position: absolute; left: -8px; top: 10px; bottom: 10px; width: 3px; background: var(--blue); border-radius: 3px; }
.ch-av { width: 40px; height: 40px; border-radius: 99px; display: flex; align-items: center; justify-content: center; color: #fff; flex: none; }
.ch-ig { background: linear-gradient(140deg, #F58529, #DD2A7B 55%, #8134AF); }
.ch-fb { background: #1877F2; } .ch-wa { background: #22C55E; } .ch-web { background: #2A9BEF; } .ch-tg { background: #229ED9; }
.citem .nm { display: flex; justify-content: space-between; gap: 8px; font-weight: 700; font-size: 14px; }
.citem .nm small { font-weight: 600; color: var(--label); font-size: 11.5px; }
.citem .nm small.new { color: var(--blue); }
.citem .pv { color: var(--muted); font-size: 13px; display: flex; gap: 6px; align-items: center; margin: 2px 0 5px; }
.citem.unread .pv { color: var(--ink); font-weight: 600; }
.ubadge { min-width: 20px; height: 20px; border-radius: 99px; background: var(--blue); color: #fff; font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; padding: 0 6px; flex: none; }
.chat-main { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.chat-top { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line2); }
.chat-msgs { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 10px; background: #FBFCFE; }
.chat-msgs .bub small { opacity: .7; }
.chat-foot { border-top: 1px solid var(--line2); padding: 12px 16px 16px; }
.cmp-tabs { display: flex; gap: 6px; margin-bottom: 10px; align-items: center; }
.cmp-tabs button { height: 30px; padding: 0 12px; border-radius: 8px; font-size: 12.5px; font-weight: 600; color: var(--nav); display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.cmp-tabs button.on { background: var(--soft); color: var(--blue); border: 1px solid #A9D6F8; }
.cmp { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 14px; padding: 6px 6px 6px 14px; }
.cmp input { flex: 1; border: 0; outline: none; height: 38px; font-weight: 500; min-width: 0; background: transparent; }
.cmp.note { background: #FFFBEB; border-color: #FDE68A; }
.send { width: 38px; height: 38px; border-radius: 10px; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; }
.chat-side { border-left: 1px solid var(--line2); overflow-y: auto; }
.cs-sec { padding: 14px 16px; border-bottom: 1px solid var(--line2); }
.cs-sec h5 { font-size: 13.5px; font-weight: 700; margin: 0 0 10px; display: flex; justify-content: space-between; align-items: center; }
.cs-sec h5 .muted { display: inline-flex; align-items: center; gap: 6px; }
.cs-col h5 { cursor: pointer; user-select: none; }
.cs-col h5 svg { transition: transform .2s; }
.cs-col.closed h5 { margin-bottom: 0; }
.cs-col.closed h5 svg { transform: rotate(-90deg); }
.cs-col.closed > :not(h5) { display: none; }
.ai-paused { background: #FFF7E6; color: #B45309; font-size: 12.5px; font-weight: 600; padding: 8px 12px; border-radius: 10px; display: flex; gap: 8px; align-items: center; margin: 0 16px 0; }
.typing { align-self: flex-end; background: var(--blue); color: #fff; border-radius: 14px; padding: 10px 14px; display: flex; gap: 4px; }
.typing i { width: 6px; height: 6px; border-radius: 9px; background: #fff; opacity: .6; animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; } .typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 50% { opacity: 1; } }

/* ---------- Zespół ---------- */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tcard { background: #fff; border-radius: 16px; box-shadow: var(--sh); overflow: hidden; cursor: pointer; transition: transform .15s, box-shadow .15s; display: flex; flex-direction: column; }
.tcard:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(15, 23, 42, .1); }
.tcard .ph { position: relative; aspect-ratio: 1/1.05; background: #E2E8F0 center/cover; }
.tcard .ph .st { position: absolute; top: 12px; left: 12px; }
.tcard .ph .rt { position: absolute; top: 12px; right: 12px; background: rgba(15, 23, 42, .55); color: #fff; }
.st-pill { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 99px; background: #fff; font-size: 11.5px; font-weight: 700; }
.st-pill i { width: 7px; height: 7px; border-radius: 9px; }
.tcard .bd { padding: 14px 16px; flex: 1; }
.tcard .nm { display: flex; gap: 8px; align-items: center; font-weight: 800; font-size: 15.5px; }
.tcard .nm::before { content: ""; width: 3px; height: 18px; border-radius: 3px; background: var(--c); }
.tcard .rl { font-size: 10.5px; color: var(--label); font-weight: 700; letter-spacing: .07em; text-transform: uppercase; margin: 2px 0 10px 11px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: 11.5px; font-weight: 600; color: var(--blue); background: var(--soft2); border: 1px solid #DBEEFD; padding: 3px 8px; border-radius: 7px; }
.tag.g { color: var(--muted); background: #F8FAFC; border-color: var(--line); }
.tstats { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line2); }
.tstats div { text-align: center; padding: 12px 6px; }
.tstats div + div { border-left: 1px solid var(--line2); }
.tstats b { display: block; font-size: 16px; font-weight: 800; }
.tstats small { font-size: 10px; font-weight: 700; letter-spacing: .07em; color: var(--label); }
.page-acts { position: relative; z-index: 2; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin: 0 0 22px; }
.wz-split { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 16px; align-items: start; }
.wz-split .cal { overflow-x: auto; }
.wz-split .cal-head, .wz-split .cal-body { min-width: 640px; }
.appt-panel { padding: 18px 18px 20px; position: sticky; top: 84px; max-height: calc(100vh - 96px); overflow-y: auto; }
.appt-panel .step { margin: 14px 0 8px; }
.appt-panel .dt { padding: 8px 10px; }
.tcard.flat, .tcard.flat:hover { box-shadow: none; transform: none; cursor: default; }
.tinvite { border: 1.5px dashed #A9D6F8; border-radius: 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 150px; color: var(--muted); background: rgba(255, 255, 255, .5); cursor: pointer; }
.tinvite .add-round { width: 44px; height: 44px; background: var(--soft); border: 0; }
.tinvite:hover { background: #fff; }
.emp { display: grid; grid-template-columns: 330px 1fr; gap: 20px; align-items: start; }
.emp-photo { aspect-ratio: 1/.88; background: center/cover; position: relative; border-radius: var(--r) var(--r) 0 0; }
.emp-photo .st-pill { position: absolute; top: 12px; left: 12px; }
.emp-mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 14px 0; }
.emp-mini div { border: 1px solid var(--line); border-radius: 10px; text-align: center; padding: 8px 4px; }
.emp-mini b { display: block; font-size: 16px; font-weight: 800; }
.emp-mini small { font-size: 9.5px; font-weight: 700; letter-spacing: .07em; color: var(--label); }
.stars { position: relative; display: inline-block; height: 11px; margin: 3px auto 2px; vertical-align: top; }
.stars-bg, .stars-fg { display: flex; gap: 2px; height: 11px; }
.stars-bg { color: #E2E8F0; }
.stars-fg { position: absolute; left: 0; top: 0; overflow: hidden; color: #F59E0B; }
.emp-mini .stars + small { display: block; }
.info-v { background: #F7F5FF; border: 1px solid #DDD6FE; color: #5B21B6; border-radius: 14px; padding: 12px 14px; font-size: 12.5px; display: flex; gap: 8px; margin-top: 14px; }
.colors { display: flex; gap: 8px; flex-wrap: wrap; }
.colors button { width: 30px; height: 30px; border-radius: 9px; display: flex; align-items: center; justify-content: center; color: #fff; }
.colors button.on { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--ink); }
.srow { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-top: 1px solid var(--line2); cursor: pointer; }
.srow:first-child { border-top: 0; }
.srow:hover { background: #FBFCFE; }
.srow.off { opacity: .6; }
.box { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.sch { display: grid; grid-template-columns: 50px 130px 1fr 60px; align-items: center; gap: 10px; padding: 10px 14px; border-top: 1px solid var(--line2); }
.sch:first-child { border-top: 0; }
.sch.off { background: #F8FAFC; color: var(--label); }
.sch input[type=time] { height: 34px; border: 1px solid var(--line); border-radius: 9px; padding: 0 8px; font-weight: 600; width: 92px; }
.bars { display: flex; align-items: flex-end; gap: 14px; height: 170px; padding: 8px 0 0; }
.bars div { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 6px; font-size: 11.5px; color: var(--muted); }
.bars i { display: block; width: 100%; border-radius: 8px 8px 0 0; background: #D4EAFD; transition: height .3s; }
.bars div.on i { background: var(--blue); }
.bars div b { color: var(--ink); font-size: 11.5px; }
.bars div.on b { color: var(--blue); }
.perm { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-top: 1px solid var(--line2); }
.perm:first-child { border-top: 0; }
.perm .pi { width: 32px; height: 32px; border-radius: 9px; background: #F1F5F9; color: var(--muted); display: flex; align-items: center; justify-content: center; }
.perm.on .pi { background: var(--soft); color: var(--blue); }
.role-row { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; margin-bottom: 8px; }
.role-row .sw { width: 28px; height: 28px; border-radius: 8px; flex: none; }
.role-row input { border: 1px solid var(--blue); border-radius: 8px; height: 32px; padding: 0 8px; font-weight: 700; outline: none; flex: 1; }
.add-role { border: 1.5px dashed #A9D6F8; border-radius: 14px; padding: 14px; background: var(--soft2); }

/* ---------- Ustawienia ---------- */
.set { display: grid; grid-template-columns: 260px 1fr; gap: 20px; align-items: start; }
.set-nav { padding: 14px 10px; position: sticky; top: 84px; }
.set-nav .side-group { padding: 8px 10px 6px; }
.snav { display: flex; align-items: center; gap: 10px; width: 100%; height: 38px; padding: 0 10px; border-radius: 10px; font-weight: 600; color: var(--nav); font-size: 14px; }
.snav:hover { background: #F8FAFC; }
.snav.on { background: var(--soft); color: var(--blue); }
.snav .chip { margin-left: auto; }
.set-main { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.opt { display: flex; align-items: center; gap: 14px; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; margin-bottom: 10px; }
.opt .oi { width: 34px; height: 34px; border-radius: 10px; background: var(--soft); color: var(--blue); display: flex; align-items: center; justify-content: center; flex: none; }
.opt b { font-size: 14px; font-weight: 700; }
.opt p { color: var(--muted); font-size: 12.5px; margin-top: 1px; }
.opt.green { background: #F7FEF9; border-color: #BBF7D0; }
.opt.click { cursor: pointer; }
.opt.click:hover { background: #FBFCFE; }
.mode { border: 1px solid var(--line); border-radius: 14px; padding: 16px; text-align: left; display: flex; flex-direction: column; gap: 10px; transition: all .15s; background: #fff; }
.mode:hover { border-color: #A9D6F8; }
.mode.on { border: 1.5px solid var(--blue); background: var(--soft2); box-shadow: 0 0 0 3px rgba(42, 155, 239, .12); }
.mode .mi-ic { width: 34px; height: 34px; border-radius: 10px; background: #F1F5F9; display: flex; align-items: center; justify-content: center; color: var(--nav); }
.mode.on .mi-ic { background: var(--soft); color: var(--blue); }
.mode b { font-size: 14.5px; }
.mode p { color: var(--muted); font-size: 12.5px; }
.tl-wrap { border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.tl-scale { display: grid; grid-template-columns: 50px 1fr; font-size: 11px; color: var(--muted); margin-bottom: 6px; }
.tl-scale div { display: flex; justify-content: space-between; }
.tl-row { display: grid; grid-template-columns: 50px 1fr; align-items: center; height: 32px; margin-bottom: 6px; }
.tl-row b { font-size: 12.5px; }
.tl-track { position: relative; height: 26px; background: #F1F5F9; border-radius: 8px; }
.tl-open { position: absolute; top: 0; bottom: 0; background: linear-gradient(90deg, #47ACF6, #2A9BEF); border-radius: 8px; color: #fff; font-size: 12px; font-weight: 700; display: flex; align-items: center; gap: 6px; padding: 0 12px; cursor: pointer; }
.tl-br { position: absolute; top: 2px; bottom: 2px; background: #FEF3C7; border: 1px solid #FCD34D; border-radius: 6px; color: #B45309; display: flex; align-items: center; justify-content: center; }
.tl-closed { position: absolute; inset: 0; border: 1.5px dashed var(--line); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 12px; color: var(--muted); background: #fff; }
.sum-strip { display: flex; gap: 28px; background: #F8FAFC; border-radius: 12px; padding: 14px 16px; margin-top: 14px; flex-wrap: wrap; }
.sum-strip b { font-size: 18px; font-weight: 800; margin-right: 6px; }
.sum-strip span { color: var(--muted); font-size: 13px; }
.exc { display: flex; align-items: center; gap: 14px; border: 1px solid var(--line); border-radius: 14px; padding: 14px; margin-bottom: 10px; }
.mtx { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; font-size: 13.5px; }
.mtx th { background: #F8FAFC; font-size: 11px; font-weight: 700; letter-spacing: .07em; color: var(--label); text-transform: uppercase; padding: 12px 14px; text-align: center; }
.mtx th:first-child, .mtx td:first-child { text-align: left; }
.mtx td { padding: 11px 14px; border-top: 1px solid var(--line2); text-align: center; font-weight: 600; }
.mtx .ok { display: inline-flex; width: 22px; height: 22px; border-radius: 99px; background: var(--green-s); color: var(--green); align-items: center; justify-content: center; }
.mtx .no { color: #CBD5E1; }
.prow { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; margin-bottom: 10px; }
.swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.swatches button { width: 34px; height: 34px; border-radius: 10px; border: 2px solid transparent; }
.swatches button.on { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--acc, var(--ink)); }
.icons-row { display: flex; gap: 8px; flex-wrap: wrap; }
.icons-row button { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--nav); }
.icons-row button.on { border: 2px solid var(--acc); color: var(--acc); }
.posbox { border: 1px solid var(--line); border-radius: 14px; padding: 10px; text-align: left; display: flex; flex-direction: column; gap: 10px; }
.posbox.on { border: 2px solid var(--acc); background: color-mix(in srgb, var(--acc) 6%, #fff); }
.posbox .scr { height: 56px; background: #F1F5F9; border-radius: 8px; position: relative; }
.posbox .scr::before { content: ""; position: absolute; left: 8px; right: 8px; top: 8px; height: 6px; border-radius: 3px; background: #E2E8F0; }
.posbox .scr i { position: absolute; bottom: 8px; width: 14px; height: 14px; border-radius: 99px; background: #CBD5E1; }
.posbox.on .scr i { background: var(--acc); }
.wprev { background: #F1F5F9; border-radius: 16px; padding: 14px; position: relative; min-height: 380px; }
.wbox { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: var(--sh-lg); }
.wbox .wh { background: linear-gradient(140deg, var(--acc), color-mix(in srgb, var(--acc) 75%, #000)); color: #fff; padding: 12px 14px; display: flex; gap: 10px; align-items: flex-start; }
.wbox .wb { padding: 12px; display: flex; flex-direction: column; gap: 8px; font-size: 12px; }
.wbox .wb .q { background: #F1F5F9; border-radius: 10px; padding: 8px 10px; max-width: 82%; }
.wbox .wb .a { background: var(--acc); color: #fff; border-radius: 10px; padding: 8px 10px; max-width: 82%; align-self: flex-end; }
.wbox .wi { border-top: 1px solid var(--line2); padding: 10px 12px; display: flex; justify-content: space-between; color: var(--label); font-size: 12px; align-items: center; }
.wfab { position: absolute; bottom: 14px; width: 44px; height: 44px; border-radius: 99px; background: var(--acc); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 18px rgba(0, 0, 0, .2); }
.info-b { background: var(--soft2); border: 1px solid #CDE6FB; border-radius: 12px; padding: 12px 14px; font-size: 13px; display: flex; gap: 10px; color: var(--nav); }
.info-b .i { color: var(--blue); }
.warn-b { background: #FFFBEB; border: 1px solid #FDE68A; border-radius: 12px; padding: 12px 14px; font-size: 13px; display: flex; gap: 10px; color: #78350F; margin-bottom: 10px; }
.warn-b .i { color: var(--amber); }
.counter { text-align: right; font-size: 11.5px; color: var(--label); margin-top: 4px; }
.chan { display: flex; align-items: center; gap: 14px; border: 1px solid var(--line); border-radius: 14px; padding: 14px; margin-bottom: 10px; }
.chan.on { background: #F7FEF9; border-color: #BBF7D0; }
.brand { width: 40px; height: 40px; border-radius: 11px; display: flex; align-items: center; justify-content: center; color: #fff; flex: none; }
.plan-hero { background: linear-gradient(120deg, #EEF6FF, #F5F3FF); border: 1px solid #DBEAFE; border-radius: 16px; padding: 20px 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.usage { margin-bottom: 16px; }
.usage .row { justify-content: space-between; font-size: 13.5px; font-weight: 700; margin-bottom: 6px; }
.feat { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 13px; font-weight: 500; }
.feat .ok { width: 18px; height: 18px; border-radius: 99px; background: var(--green-s); color: var(--green); display: flex; align-items: center; justify-content: center; flex: none; }
.feat.off { color: var(--label); }
.feat.off .ok { background: #F1F5F9; color: var(--label); }
.danger-card { background: #FFF5F7; border: 1px solid #FBC5D1; }

/* ---------- misc pages ---------- */
.ai-drawer { display: flex; flex-direction: column; height: 100%; }
.ai-drawer .msgs { flex: 1; overflow-y: auto; padding: 16px 20px; display: flex; flex-direction: column; gap: 10px; }
.ai-drawer .bub.me { background: linear-gradient(90deg, #5B6CFF, #8B5CF6); border: 0; }
.sugg-q { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 20px 10px; }
.sugg-q button { border: 1px solid #DDD6FE; color: var(--violet); background: #F7F5FF; border-radius: 99px; padding: 6px 12px; font-size: 12.5px; font-weight: 600; }
.palette { width: 560px; padding: 0; }
.palette .ps { display: flex; align-items: center; gap: 10px; padding: 16px 18px; border-bottom: 1px solid var(--line2); }
.palette .ps input { flex: 1; border: 0; outline: none; font-size: 16px; font-weight: 600; }
.palette .pl { max-height: 380px; overflow-y: auto; padding: 8px; }
.palette .pl a, .palette .pl button { display: flex; gap: 10px; align-items: center; padding: 10px; border-radius: 10px; width: 100%; text-align: left; font-weight: 600; }
.palette .pl a:hover, .palette .pl button:hover { background: var(--soft2); }
.dash { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.svc-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.svc-table th { text-align: left; font-size: 11px; color: var(--label); font-weight: 700; letter-spacing: .07em; text-transform: uppercase; padding: 10px 14px; }
.svc-table td { padding: 12px 14px; border-top: 1px solid var(--line2); }
.svc-table tr:hover td { background: #FBFCFE; }

.w280 { width: 280px; } .w320 { width: 320px; }
.icon-btn.blue { color: var(--blue); background: var(--soft); }
.i.blue { color: var(--blue); } .i.amber { color: #F59E0B; }
/* ---------- responsive ---------- */
@media (max-width: 1280px) {
  .team, .tiles { grid-template-columns: repeat(3, 1fr); }
  .chat-wrap { grid-template-columns: 300px 1fr; }
  .chat-wrap .chat-side { display: none; }
  .crow { grid-template-columns: 56px minmax(200px, 2fr) 1fr .5fr 1fr 40px; }
  .crow .k-last { display: none; }
}
@media (max-width: 1180px) {
  .wz-split { grid-template-columns: minmax(0, 1fr); }
  .appt-panel { position: fixed; top: 12px; right: 12px; bottom: 12px; width: 360px; max-width: calc(100vw - 24px); max-height: none; z-index: 95; box-shadow: var(--sh-lg); }
}
@media (max-width: 1080px) {
  .wgrid { grid-template-columns: 1fr !important; }
  .prof, .emp, .set { grid-template-columns: 1fr; }
  .set-nav { position: static; }
  .grid4, .dash { grid-template-columns: repeat(2, 1fr); }
  .team, .tiles { grid-template-columns: repeat(2, 1fr); }
  .filters { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .app, .app.collapsed { grid-template-columns: 1fr; }
  .side { position: fixed; left: 0; top: 0; z-index: 90; width: 260px; background: var(--bg); transform: translateX(-100%); transition: transform .2s; box-shadow: var(--sh-lg); }
  .app.mnav-open .side { transform: none; }
  .app.mnav-open .mnav-bg { display: block; position: fixed; inset: 0; z-index: 80; background: rgba(15, 23, 42, .3); }
  .mob-only { display: inline-flex !important; }
  .main { padding: 0 14px 24px; }
  .top { height: 60px; }
  .top .btn.ai span, .demo-pill, .top .saved-note span { display: none; }
  .page-h h1, .page-h2 h1 { font-size: 24px; }
  .grid2, .grid3, .dt-grid { grid-template-columns: 1fr; }
  .req-row { grid-template-columns: 40px 1fr; }
  .req-row > :nth-child(n+3) { grid-column: 2; }
  .crow { grid-template-columns: 48px 1fr 36px; }
  .crow .k { display: none; }
  .lrow { grid-template-columns: 70px 1fr; }
  .lrow > :nth-child(n+3) { display: none; }
  .chat-wrap, .chat-wrap.noside { grid-template-columns: 1fr; height: auto; }
  .chat-wrap .chat-list { max-height: 360px; }
  .chat-msgs { min-height: 380px; }
  .tiles, .team { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tile-top { height: 130px; }
  .tile-top b { font-size: 16px; }
  .days .daybtn { height: 58px; }
  .days { gap: 4px; overflow-x: auto; }
  .daybtn { min-width: 44px; }
  .cal { overflow-x: auto; }
  .cal-head, .cal-body { min-width: 760px; }
  .month { overflow-x: auto; }
  .month-h, .month-g { min-width: 760px; }
  .grid4, .dash { grid-template-columns: 1fr 1fr; }
  .sch { grid-template-columns: 44px 1fr; }
  .sch > :nth-child(n+3) { grid-column: 2; }
  .filters { grid-template-columns: 1fr; }
  .modal { border-radius: 18px; }
  .ov-drawer { padding: 0; }
  .drawer { border-radius: 0; }
  .mtx { font-size: 12px; }
  .pad { padding: 18px 16px; }
}
/* usługi: wspólna siatka kolumn we wszystkich kategoriach + zwijane kategorie */
.svc-table { table-layout: fixed; width: 100%; }
.svc-cat-h { padding: 16px 20px 6px; cursor: pointer; user-select: none; }
.svc-cat-chev { margin-left: auto; color: var(--muted); display: inline-flex; transition: transform .2s; }
.svc-cat.closed .svc-cat-h { padding-bottom: 16px; }
.svc-cat.closed .svc-cat-chev { transform: rotate(-90deg); }
.svc-cat.closed .svc-table { display: none; }


/* ===================== Marketing: Social media / Reklamy / Strona www ===================== */
.btn.dark { background: var(--ink); color: #fff; }
.btn.dark:hover { background: #0F172A; }
.ai-mark { width: 26px; height: 26px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #E8EAFF, #F1E8FF); color: #6D5BFF; flex: none; }
.mk-pill { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 12px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.mk-pill.ig .i { color: #E1306C; } .mk-pill.fb .i { color: #1877F2; }
.g-amber { background: linear-gradient(135deg, #FBBF24, #F97316); } .g-pink { background: linear-gradient(135deg, #F472B6, #DB2777); }
.g-cyan { background: linear-gradient(135deg, #67E8F9, #0EA5E9); } .g-violet { background: linear-gradient(135deg, #C4B5FD, #8B5CF6); }
.g-red { background: linear-gradient(135deg, #FB7185, #E11D48); } .g-rose { background: linear-gradient(135deg, #F9A8D4, #C084FC); }
.g-green { background: linear-gradient(135deg, #86EFAC, #16A34A); }
.mk-ch { width: 18px; height: 18px; border-radius: 5px; display: inline-flex; align-items: center; justify-content: center; color: #fff; flex: none; }
.mk-ch.ch-ig { background: linear-gradient(135deg, #F58529, #DD2A7B, #8134AF); } .mk-ch.ch-fb { background: #1877F2; } .mk-ch.ch-tt { background: #111827; }
.mk-split { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; align-items: start; }
.mk-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); overflow: hidden; }
.mk-day { border-right: 1px solid var(--line2); padding: 0 8px 12px; min-height: 420px; display: flex; flex-direction: column; gap: 8px; }
.mk-day:last-child { border-right: 0; }
.mk-dh { text-align: center; padding: 12px 0 10px; border-bottom: 1px solid var(--line2); margin: 0 -8px 4px; }
.mk-dh small { display: block; font-size: 11px; font-weight: 700; color: var(--label); letter-spacing: .06em; text-transform: uppercase; }
.mk-dh b { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; margin-top: 4px; border-radius: 99px; font-size: 17px; font-weight: 800; }
.mk-day.today .mk-dh b { background: var(--blue); color: #fff; }
.mk-post { display: flex; flex-direction: column; gap: 6px; padding: 5px; border-radius: 12px; border: 1px solid var(--line); background: #fff; text-align: left; transition: box-shadow .15s, transform .15s; }
.mk-post:hover { box-shadow: var(--sh); transform: translateY(-1px); }
.mk-post.ai { border: 1.5px solid #A78BFA; box-shadow: 0 0 0 3px rgba(139, 92, 246, .12); }
.mk-cover { display: flex; align-items: flex-end; min-height: 78px; padding: 8px; border-radius: 8px; color: #fff; font-weight: 700; font-size: 11.5px; line-height: 1.3; }
.mk-pm { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--nav); padding: 0 2px; }
.mk-post .chip { align-self: flex-start; margin: 0 2px 2px; }
.mk-add { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 84px; border: 1.5px dashed var(--line); border-radius: 12px; color: var(--label); font-size: 12px; font-weight: 600; }
.mk-add:hover { border-color: #A9D6F8; color: var(--blue); background: var(--soft2); }
.mk-gen .ta { min-height: 70px; font-size: 13px; }
.mk-prev { margin-top: 12px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; }
.mk-prev-img { min-height: 150px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: #fff; text-align: center; padding: 16px; border-radius: 10px; }
.mk-prev > .mk-prev-img { border-radius: 0; }
.mk-prev-img b { font-size: 22px; font-weight: 800; } .mk-prev-img span { font-size: 13px; font-weight: 600; opacity: .9; }
.mk-prev p { margin: 10px 12px; font-size: 13px; line-height: 1.5; color: var(--nav); }
.mk-tags { color: var(--blue) !important; font-weight: 600; }
.mk-chan { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px; border-radius: 99px; border: 1px solid var(--line); font-size: 12.5px; font-weight: 600; color: var(--muted); background: #fff; }
.mk-chan.on { border-color: #A9D6F8; background: var(--soft2); color: var(--ink); }
.mk-chan:not(.on) .mk-ch { filter: grayscale(1); opacity: .5; }
.mk-feed { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.mk-tile { aspect-ratio: 1; border-radius: 16px; color: #fff; display: flex; flex-direction: column; justify-content: space-between; padding: 14px; text-align: left; font-size: 15px; }
.mk-tile span { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; background: rgba(0, 0, 0, .18); padding: 4px 8px; border-radius: 8px; align-self: flex-start; }
.mk-chart { display: flex; align-items: flex-end; gap: 10px; height: 200px; margin-top: 16px; }
.mk-chart i { flex: 1; border-radius: 8px 8px 3px 3px; background: linear-gradient(180deg, #7DD3FC, var(--blue)); }
.mk-net { width: 26px; height: 26px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; flex: none; }
.mk-net.g { background: #fff; border: 1px solid var(--line); color: #4285F4; } .mk-net.m { background: #1877F2; color: #fff; }
.mk-net.sm { width: 20px; height: 20px; border-radius: 6px; font-size: 11px; }
.mk-split.ads { grid-template-columns: minmax(0, 1fr) 320px; }
.mk-split.ads .dash { gap: 12px; }
.lg { width: 10px; height: 10px; border-radius: 3px; display: inline-block; } .lg.g, .mk-bars i.g { background: var(--blue); } .lg.m, .mk-bars i.m { background: #A78BFA; }
.mk-bars { display: flex; align-items: flex-end; gap: 4px; height: 170px; margin-top: 14px; }
.mk-bars span { flex: 1; display: flex; align-items: flex-end; gap: 2px; height: 100%; }
.mk-bars i { flex: 1; border-radius: 3px 3px 1px 1px; }
.mk-tbl { overflow: hidden; }
.mk-tbl table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.mk-tbl th { text-align: left; font-size: 11px; color: var(--label); font-weight: 700; letter-spacing: .07em; text-transform: uppercase; padding: 12px 16px; }
.mk-tbl td { padding: 12px 16px; border-top: 1px solid var(--line2); white-space: nowrap; }
.mk-st { font-weight: 700; font-size: 13px; } .mk-st.green { color: var(--green); } .mk-st.amber { color: #D97706; } .mk-st.gray { color: var(--label); }
.mk-recs { display: flex; flex-direction: column; gap: 10px; }
.mk-rec { border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.mk-rec b { display: block; font-size: 14px; } .mk-rec p { font-size: 13px; color: var(--muted); margin: 6px 0 12px; line-height: 1.45; }
.mk-budget { margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--line2); }
.mk-budget .bar { height: 6px; border-radius: 99px; background: #EEF2F7; margin-top: 8px; overflow: hidden; } .mk-budget .bar i { display: block; height: 100%; background: var(--blue); border-radius: 99px; }
.mk-goal { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 8px; border: 1px solid var(--line); border-radius: 12px; font-size: 12.5px; font-weight: 600; color: var(--nav); background: #fff; }
.mk-goal.on { border-color: var(--blue); background: var(--soft2); color: var(--blue); }
.mk-adprev { border: 1px solid var(--line); border-radius: 14px; padding: 12px; }
.mk-web { display: grid; grid-template-columns: 220px minmax(0, 1fr) 300px; gap: 16px; align-items: stretch; }
.mk-pages { display: flex; flex-direction: column; gap: 2px; }
.mk-pages > b { margin-bottom: 6px; }
.mk-pg { display: flex; align-items: center; gap: 9px; height: 36px; padding: 0 10px; border-radius: 10px; font-size: 13.5px; font-weight: 600; color: var(--nav); text-align: left; }
.mk-pg:hover { background: #F1F5F9; } .mk-pg.on { background: var(--ink); color: #fff; } .mk-pg.sec { font-weight: 500; height: 32px; }
.mk-sw { width: 28px; height: 28px; border-radius: 99px; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); }
.mk-sw.on { box-shadow: 0 0 0 2px var(--ink); }
.mk-frame { overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.mk-fbar { padding: 10px 14px; border-bottom: 1px solid var(--line2); gap: 10px; }
.mk-canvas { background: #F1F5F9; padding: 16px; flex: 1; overflow: auto; max-height: 640px; }
.mk-canvas.mob .ws { max-width: 360px; margin: 0 auto; }
.mk-aied { display: flex; flex-direction: column; gap: 12px; }
.mk-chat { display: flex; flex-direction: column; gap: 8px; }
.mk-msg { font-size: 13px; line-height: 1.5; padding: 10px 12px; border-radius: 14px; max-width: 92%; }
.mk-msg.me { align-self: flex-end; background: var(--blue); color: #fff; border-bottom-right-radius: 4px; }
.mk-msg.ai { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.mk-ask { display: flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 12px; padding: 4px 4px 4px 12px; background: #fff; }
.mk-ask input { flex: 1; min-width: 0; border: 0; outline: none; height: 34px; font-size: 13px; background: transparent; }
.mk-ask .send { width: 34px; height: 34px; border-radius: 9px; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; }
/* mini strona salonu w podglądzie */
.ws { --th: #E11D74; background: #fff; border-radius: 14px; box-shadow: var(--sh); overflow: hidden; font-size: 12px; color: #1F2937; }
.ws-banner { background: var(--th); color: #fff; text-align: center; padding: 7px 10px; font-weight: 600; font-size: 11.5px; }
.ws-nav { display: flex; align-items: center; gap: 14px; padding: 12px 18px; border-bottom: 1px solid #F1F5F9; font-size: 11px; color: #6B7280; flex-wrap: wrap; }
.ws-nav span.on { color: #111827; font-weight: 700; }
.ws-logo { font: italic 700 18px/1 Georgia, serif; color: var(--th); margin-right: auto; }
.ws-btn { display: inline-flex; align-items: center; height: 30px; padding: 0 14px; border-radius: 99px; background: var(--th); color: #fff; font-style: normal; font-weight: 700; font-size: 11px; }
.ws-btn.sm { height: 26px; } .ws-btn.o { background: #fff; color: #111827; border: 1px solid #E5E7EB; }
.ws-hero { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 18px; align-items: center; padding: 18px; }
.ws-photo { aspect-ratio: 1; border-radius: 50%; background: color-mix(in srgb, var(--th) 22%, #fff); overflow: hidden; }
.ws-photo img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.ws-eyebrow { display: block; color: var(--th); font-size: 9.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 6px; }
.ws h2 { font: 700 21px/1.2 Georgia, serif; margin: 0 0 10px; } .ws h3 { font: 700 17px/1.25 Georgia, serif; margin: 0 0 12px; }
.ws ul { margin: 0 0 12px; padding-left: 16px; color: #4B5563; line-height: 1.6; font-size: 11px; } .ws li::marker { color: var(--th); }
.ws-sec { padding: 18px; border-top: 1px solid #F8FAFC; }
.ws-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ws-cards div { background: color-mix(in srgb, var(--th) 8%, #fff); border-radius: 10px; padding: 10px; display: flex; flex-direction: column; gap: 3px; }
.ws-cards span { color: #6B7280; font-size: 10.5px; } .ws-cards em { font-style: normal; font-weight: 800; color: var(--th); }
.ws-list > div { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; padding: 9px 0; border-bottom: 1px dashed #E5E7EB; }
.ws-list b { color: var(--th); }
.ws-team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; text-align: center; }
.ws-team div { display: flex; flex-direction: column; align-items: center; gap: 4px; } .ws-team span { color: #6B7280; font-size: 10.5px; }
.ws-gal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; } .ws-gal i { aspect-ratio: 1; border-radius: 10px; }
.mk-canvas.mob .ws-hero, .mk-canvas.mob .ws-cards { grid-template-columns: 1fr; }
.mk-canvas.mob .ws-team { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1280px) { .mk-web { grid-template-columns: 200px minmax(0, 1fr); } .mk-aied { grid-column: 1 / -1; } .mk-split, .mk-split.ads { grid-template-columns: 1fr; } }
@media (max-width: 860px) { .mk-week { grid-template-columns: repeat(7, 140px); overflow-x: auto; } .mk-feed { grid-template-columns: repeat(2, 1fr); } .mk-web { grid-template-columns: 1fr; } .mk-tbl { overflow-x: auto; } }
/* podgląd prawdziwej strony salonu (beata.beauty) */
.mk-canvas { padding: 0; background: #fff; max-height: none; overflow: hidden; }
.mk-canvas .ws-banner { border-radius: 0; }
.mk-canvas .ws-banner[hidden] { display: none; }
.ws-live { position: relative; overflow: hidden; background: #fff; }
.ws-live iframe { display: block; border: 0; }
.mk-canvas.mob { background: #F1F5F9; padding: 16px 0; }
.mk-canvas.mob .ws-live { width: 390px; margin: 0 auto; border-radius: 24px; box-shadow: 0 0 0 8px #1E293B, var(--sh); }
