:root {
  /* kolor akcentu firmy – nadpisywany w ustawieniach (organizations.accent_color) */
  --accent: #18181B;
  --accent-soft: color-mix(in srgb, var(--accent) 8%, #fff);
  --accent-line: color-mix(in srgb, var(--accent) 22%, #fff);
  --pink: var(--accent);
  --violet: var(--accent);
  --indigo: var(--accent);
  --grad: var(--accent);
  --soft: #F4F4F5;
  --soft2: #FAFAFA;
  --bar: #D4D4D8;
  --text: #18181B;
  --text2: #52525B;
  --muted: #71717A;
  --bg: #F7F7F8;
  --line: #E4E4E7;
  --white: #fff;
  --ok: #15803D;
  --err: #B91C1C;
  --warn: #B45309;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(24, 24, 27, .05);
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif; font-weight: 400; color: var(--text); background: var(--bg); font-size: 14.5px; line-height: 1.45; }
a { color: var(--violet); }
h1 { font-size: 22px; margin: 0; font-weight: 600; letter-spacing: -.01em; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
h2 { font-size: 16px; margin: 0 0 10px; font-weight: 600; }
h3 { font-size: 12px; margin: 0 0 10px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; }
code { background: var(--soft); padding: 1px 6px; border-radius: 6px; font-size: 13px; word-break: break-all; }
code.big { font-size: 18px; padding: 4px 10px; }
hr { border: 0; border-top: 1px solid var(--line); margin: 10px 0; }
.muted { color: var(--muted); }
.tiny { font-size: 12.5px; }
.nowrap { white-space: nowrap; }
[hidden] { display: none !important; }

/* układ */
.shell { display: flex; min-height: 100vh; }
.side { width: 240px; flex: 0 0 240px; background: var(--white); border-right: 1px solid var(--line); padding: 18px 14px; display: flex; flex-direction: column; gap: 14px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.logo { display: flex; gap: 10px; align-items: center; text-decoration: none; color: var(--text); }
.logo b { display: block; font-size: 16px; }
.logo small { display: block; color: var(--muted); font-size: 12px; }
.side nav { display: flex; flex-direction: column; gap: 2px; }
.side nav a { text-decoration: none; color: var(--text); padding: 8px 10px; border-radius: 10px; display: flex; align-items: center; gap: 6px; }
.side nav a:hover { background: var(--bg); }
.side nav a.on { background: var(--grad); color: #fff; }
.side nav a.warn { color: var(--err); }
.badge { margin-left: auto; background: var(--pink); color: #fff; border-radius: 20px; font-size: 11px; padding: 1px 7px; }
.badge.red { background: var(--err); }
.side nav a.on .badge { background: #fff; color: var(--violet); }
.me { margin-top: auto; display: flex; align-items: center; gap: 8px; border-top: 1px solid var(--line); padding-top: 12px; }
.me b { display: block; font-size: 13px; }
.me small { display: block; color: var(--muted); font-size: 11.5px; }
.me a { margin-left: auto; text-decoration: none; font-size: 18px; }
.avatar, .pv-av { width: 32px; height: 32px; border-radius: 50%; background: var(--grad); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; flex: 0 0 32px; }
.main { flex: 1; padding: 22px 26px 60px; min-width: 0; }
.menu-toggle { display: none; }

.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.month-nav { display: flex; align-items: center; gap: 8px; }
.month-nav h1 { min-width: 190px; justify-content: center; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }

.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); margin-bottom: 16px; }
.card.narrow { max-width: 720px; margin: 40px auto; }
.card.empty { text-align: center; color: var(--muted); padding: 40px; }

/* formularze */
label { display: block; font-weight: 600; font-size: 13.5px; margin-bottom: 12px; }
.lbl { display: block; font-weight: 600; font-size: 13.5px; margin-bottom: 6px; }
.field { margin-bottom: 14px; }
input, select, textarea { font: inherit; width: 100%; margin-top: 4px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--text); }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent-line); border-color: var(--violet); }
input[type=checkbox] { width: auto; margin: 0 6px 0 0; accent-color: var(--violet); }
input[type=color] { padding: 2px; height: 40px; }
input:disabled, select:disabled, textarea:disabled { background: var(--soft2); color: #555; }
.filters input, .filters select { margin: 0; width: auto; min-width: 170px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stack > * { margin-bottom: 10px; }
.ch { display: flex; align-items: center; gap: 6px; font-weight: 500; margin: 0 0 6px; }
fieldset { border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; margin: 0 0 12px; }
.counters { font-size: 12.5px; color: var(--muted); margin: -6px 0 12px; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.counters .over { color: var(--err); font-weight: 700; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font: inherit; font-weight: 700; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--text); cursor: pointer; text-decoration: none; white-space: nowrap; }
.btn:hover { border-color: var(--violet); }
.btn-grad { background: var(--grad); color: #fff; border: 0; }
.btn-grad:hover { filter: brightness(1.08); }
.btn.ghost { background: transparent; }
.btn.danger { color: var(--err); }
.btn-block { width: 100%; }
.link { background: none; border: 0; padding: 0; font: inherit; color: var(--violet); cursor: pointer; text-decoration: underline; }
.danger-text { color: var(--err); }
.actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 8px; }
.actions form { margin: 0; }
form.inline { display: inline; }

.flash { padding: 11px 14px; border-radius: 12px; margin-bottom: 14px; border: 1px solid; }
.flash.ok { background: #edf7ee; border-color: #b9dfbc; color: #1b5e20; }
.flash.err { background: #fdecec; border-color: #f5c2c2; color: #8e1c1c; }
.flash.warn { background: #fff5e8; border-color: #ffd8a8; color: #7a3d00; }
.flash ul { margin: 6px 0 0; padding-left: 18px; }
.err-text { color: var(--err); }

/* statusy */
.st { display: inline-block; font-size: 11.5px; font-weight: 700; padding: 2px 9px; border-radius: 999px; background: #eee; color: #555; vertical-align: middle; }
.st-idea { background: #fff7d6; color: #8a6d00; }
.st-draft { background: #F4F4F5; color: #52525B; }
.st-review { background: #FEF3C7; color: #92400E; }
.st-approved { background: #DCFCE7; color: #166534; }
.st-scheduled { background: #E0E7FF; color: #3730A3; }
.st-publishing { background: #e3f2fd; color: #1565c0; }
.st-published { background: #e3f4e4; color: var(--ok); }
.st-failed { background: #fdecec; color: var(--err); }
.legend { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }

/* ikony sieci */
.net { display: inline-block; width: 15px; height: 15px; border-radius: 4px; vertical-align: -2px; flex: 0 0 15px; }
.net-facebook { background: #1877F2 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M15 8h-2c-.6 0-1 .4-1 1v2h3l-.4 3H12v7H9v-7H7v-3h2V8.5C9 6.6 10.3 5 12.5 5H15v3z'/%3E%3C/svg%3E") center/100% no-repeat; }
.net-instagram { background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%); position: relative; }
.net-linkedin { background: #0A66C2 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M6.5 9H9v9H6.5zM7.8 5a1.4 1.4 0 110 2.9 1.4 1.4 0 010-2.9zM11 9h2.4v1.3c.4-.7 1.3-1.5 2.7-1.5 2.8 0 3.3 1.8 3.3 4.2V18h-2.5v-4.4c0-1 0-2.4-1.5-2.4s-1.8 1.1-1.8 2.3V18H11z'/%3E%3C/svg%3E") center/100% no-repeat; }
.net-google { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%234285F4' d='M20.6 12.2c0-.6 0-1.2-.2-1.7H12v3.3h4.8a4 4 0 01-1.8 2.7v2.2h2.9c1.7-1.6 2.7-3.9 2.7-6.5z'/%3E%3Cpath fill='%2334A853' d='M12 21c2.4 0 4.5-.8 5.9-2.2L15 16.5c-.8.5-1.8.9-3 .9-2.3 0-4.3-1.6-5-3.7H4v2.3A9 9 0 0012 21z'/%3E%3Cpath fill='%23FBBC05' d='M7 13.7a5.4 5.4 0 010-3.4V8H4a9 9 0 000 8z'/%3E%3Cpath fill='%23EA4335' d='M12 6.6c1.3 0 2.5.5 3.4 1.3L18 5.4A9 9 0 004 8l3 2.3c.7-2.1 2.7-3.7 5-3.7z'/%3E%3C/svg%3E") center/100% no-repeat; box-shadow: inset 0 0 0 1px #ddd; }
.net-tiktok { background: #000 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%2325F4EE' d='M10.2 10.4v-.9a6 6 0 00-.9-.1 4.8 4.8 0 00-2.7 8.8 4.8 4.8 0 013.6-7.8z'/%3E%3Cpath fill='%23FE2C55' d='M15.6 5.4a3.6 3.6 0 01-.3-1.4h-2.6v10.3a2.2 2.2 0 01-3.9 1.3 2.2 2.2 0 001 4.1 2.2 2.2 0 002.2-2.1V7.4a5.2 5.2 0 003.6 1.4z'/%3E%3Cpath fill='%23fff' d='M16.6 7a3.5 3.5 0 01-1-1.6 3.6 3.6 0 01-2.9 0v10.3a2.2 2.2 0 01-3.9 1.3 2.2 2.2 0 01-1-4.1 2.2 2.2 0 012.4-.4v-2.8a4.8 4.8 0 00-3.6 7.8 4.8 4.8 0 008.1-3.5V9.3a6.2 6.2 0 003.6 1.2V7.9a3.6 3.6 0 01-1.7-.9z'/%3E%3C/svg%3E") center/100% no-repeat; }
.brand-actions { display: inline-flex; flex-wrap: wrap; gap: 6px; margin-left: auto; }
.brand-actions .btn .net { margin-right: 4px; }
.net-instagram::after { content: ""; position: absolute; inset: 3.5px; border: 1.6px solid #fff; border-radius: 50%; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: 0; }
.dot.big { width: 16px; height: 16px; }

/* kalendarz */
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cal-h { text-align: center; font-weight: 700; font-size: 12.5px; color: var(--muted); text-transform: uppercase; padding: 4px 0; }
.cal-d { background: #fff; border: 1px solid var(--line); border-radius: 12px; min-height: 118px; padding: 6px; display: flex; flex-direction: column; gap: 4px; transition: background .15s; }
.cal-d.other { background: var(--soft2); opacity: .7; }
.cal-d.today { border: 2px solid var(--pink); }
.cal-d.drop { background: var(--accent-soft); }
.cal-dn { display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 13px; }
.cal-dn .add { text-decoration: none; width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--violet); opacity: 0; }
.cal-d:hover .add { opacity: 1; background: var(--bg); }
.chip { display: flex; gap: 5px; align-items: flex-start; text-decoration: none; color: var(--text); background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--brand, var(--violet)); border-radius: 8px; padding: 4px 5px; font-size: 12px; line-height: 1.3; cursor: grab; }
.chip:hover { box-shadow: var(--shadow); }
.chip img { width: 30px; height: 30px; object-fit: cover; border-radius: 5px; flex: 0 0 30px; }
.chip-t { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.chip-t .net { width: 12px; height: 12px; flex-basis: 12px; vertical-align: -1px; }
.chip-t .net-instagram::after { inset: 2.5px; border-width: 1.3px; }
.chip.st-published { opacity: .75; }
.chip.st-failed { background: #fdecec; }
.chip.st-review { background: var(--soft2); }
.chip.st-idea { border-style: dashed; border-left-style: solid; }
.chip.dragging { opacity: .4; }

/* tabela */
.table-wrap { padding: 0; overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; }
.table th { text-align: left; font-size: 12px; text-transform: uppercase; color: var(--muted); padding: 10px 12px; border-bottom: 1px solid var(--line); }
.table td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tbody tr { cursor: pointer; }
.table tbody tr:hover { background: var(--soft2); }
.table tr.off { opacity: .5; }
.table .thumb { width: 54px; }
.table .thumb img { width: 44px; height: 44px; object-fit: cover; border-radius: 8px; display: block; }
.vid { display: inline-flex; width: 44px; height: 44px; border-radius: 8px; background: var(--grad); color: #fff; align-items: center; justify-content: center; }
.table td a { color: var(--text); font-weight: 700; text-decoration: none; }

/* edytor posta */
.post-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, .9fr); gap: 16px; align-items: start; }
.side-col { position: sticky; top: 14px; }
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-bottom: 10px; }
.media-item { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--soft2); }
.media-item img, .media-item video { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; background: #222; }
.media-item.new { outline: 2px dashed var(--pink); }
.media-meta { padding: 6px; }
.media-meta label { margin: 0 0 4px; display: flex; gap: 6px; align-items: center; }
.media-meta input { margin: 0 0 4px; padding: 5px 7px; font-size: 12.5px; }
.media-meta input.sort { width: 60px; }
.card-fields { display: none; }
.is-carousel .card-fields { display: block; }
.del { color: var(--err); }
.pubs { list-style: none; padding: 0; margin: 12px 0 0; }
.pubs li { padding: 6px 0; border-top: 1px solid var(--line); font-size: 13.5px; }
.thread { list-style: none; padding: 0; margin: 0 0 12px; max-height: 360px; overflow-y: auto; }
.thread li { padding: 8px 10px; border-radius: 10px; background: var(--soft2); margin-bottom: 6px; font-size: 13.5px; }
.thread li.event { background: transparent; color: var(--muted); font-size: 12.5px; padding: 2px 10px; }
.thread small { color: var(--muted); display: block; font-size: 11.5px; }

/* podgląd */
.tabs { display: flex; gap: 6px; margin-bottom: 12px; }
.tabs button { font: inherit; font-weight: 700; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 14px; cursor: pointer; }
.tabs button.on { background: var(--grad); color: #fff; border-color: transparent; }
.pv { border: 1px solid #e4e6eb; border-radius: 10px; overflow: hidden; background: #fff; font-family: system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif; font-size: 14px; color: #050505; }
.pv-head { display: flex; gap: 8px; align-items: center; padding: 10px 12px; }
.pv-head small { display: block; color: #65676b; font-size: 12px; }
.pv-text { padding: 0 12px 10px; white-space: pre-wrap; word-wrap: break-word; }
.pv-ig .pv-text { padding: 4px 12px 12px; }
.pv-media { display: grid; gap: 2px; background: #f0f2f5; }
.pv-media.n2 { grid-template-columns: 1fr 1fr; }
.pv-media.n3, .pv-media.n4p { grid-template-columns: 1fr 1fr; }
.pv-media img, .pv-media video { width: 100%; display: block; max-height: 420px; object-fit: cover; }
.pv-media.n2 img, .pv-media.n3 img, .pv-media.n4p img { aspect-ratio: 1; }
.pv-media.n3 > :first-child { grid-column: span 2; aspect-ratio: 2 / 1; }
.pv-media .more { position: relative; }
.pv-media .more::after { content: attr(data-more); position: absolute; inset: 0; background: rgba(0, 0, 0, .45); color: #fff; font-size: 26px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.pv-media.sq { display: block; position: relative; }
.pv-media.sq img, .pv-media.sq video { aspect-ratio: 4 / 5; max-height: none; }
.pv-media.sq .dots { position: absolute; bottom: 8px; left: 0; right: 0; text-align: center; color: #fff; text-shadow: 0 0 3px #000; letter-spacing: 3px; }
.pv-icons { padding: 8px 12px 0; font-size: 18px; letter-spacing: 6px; }
.pv-empty { padding: 40px; text-align: center; color: #888; background: #f0f2f5; }
.pv mark { background: none; color: #00376b; }

/* marki */
.brand-list { display: grid; gap: 4px; }
.brand { border-top: 5px solid var(--brand); }
.brand-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.brand-head h2 { margin: 0; flex: 1; }
.ch-list { list-style: none; padding: 0; margin: 0 0 10px; }
.ch-list li { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.ch-list img { width: 26px; height: 26px; border-radius: 50%; }
details summary { cursor: pointer; color: var(--violet); font-weight: 700; margin: 6px 0; }
.inline-edit[open] { position: absolute; right: 30px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px; width: 340px; box-shadow: 0 10px 30px rgba(0,0,0,.12); z-index: 5; white-space: normal; }
.pick { border-bottom: 1px solid var(--line); padding: 8px 0; }
ul.plain { list-style: none; padding: 0; }
ul.plain li { padding: 5px 0; }

/* logowanie */
body.auth { display: flex; align-items: center; justify-content: center; min-height: 100vh; background: var(--bg); padding: 20px; }
.auth-card { background: #fff; border-radius: 20px; padding: 30px 28px; width: 100%; max-width: 400px; text-align: center; border: 1px solid var(--line); box-shadow: 0 8px 30px rgba(24, 24, 27, .06); }
.auth-card label { text-align: left; }
.auth-card h1 { justify-content: center; margin-top: 8px; }
body.doc { padding: 20px; }

@media (max-width: 1100px) {
  .post-grid { grid-template-columns: 1fr; }
  .side-col { position: static; }
}
@media (max-width: 820px) {
  .shell { display: block; }
  .side { position: fixed; z-index: 20; left: -260px; transition: left .2s; box-shadow: 0 0 40px rgba(0,0,0,.2); }
  .side.open { left: 0; }
  .menu-toggle { display: inline-flex; margin-bottom: 12px; font: inherit; font-weight: 700; border: 1px solid var(--line); border-radius: 999px; background: #fff; padding: 7px 14px; }
  .main { padding: 14px; }
  .row2 { grid-template-columns: 1fr; }
  .cal { grid-template-columns: 1fr; }
  .cal-h { display: none; }
  .cal-d { min-height: 0; }
  .cal-d.other { display: none; }
  .cal-d:not(:has(.chip)) { display: none; }
  .cal-d.today { display: flex; }
  .inline-edit[open] { position: static; width: auto; }
}

/* przełącznik marki */
.brand-switch { display: flex; flex-direction: column; gap: 4px; margin: 0 0 12px; padding: 10px 12px; border-radius: 12px; background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--brand, var(--accent)); }
.brand-switch label { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--accent); font-weight: 700; }
.brand-switch select { width: 100%; font-weight: 700; border: 0; padding: 4px 0; background: transparent; font-size: 15px; }
.brand-tag { display: inline-block; font-size: 14px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: color-mix(in srgb, var(--brand) 14%, #fff); color: var(--brand); vertical-align: middle; margin-left: 6px; }

/* statystyki */
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin-bottom: 16px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 2px; }
.kpi small { text-transform: uppercase; letter-spacing: .06em; font-size: 11px; color: var(--muted); font-weight: 700; }
.kpi b { font-size: 28px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kpi span { font-size: 12px; color: var(--muted); }
.up { color: var(--ok) !important; font-weight: 700; }
.down { color: var(--err) !important; font-weight: 700; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; }
.grid2 .card { margin-bottom: 0; }
.grid2 + .card { margin-top: 16px; }
.bars { display: flex; flex-direction: column; gap: 7px; }
.bar-row { display: grid; grid-template-columns: 110px 1fr 70px; gap: 8px; align-items: center; font-size: 13px; }
.bar-t { background: var(--soft); border-radius: 999px; height: 12px; overflow: hidden; }
.bar-t i { display: block; height: 100%; background: var(--bar); border-radius: 999px; }
.bar-row.best .bar-t i { background: var(--grad); }
.bar-row.best .bar-l { font-weight: 700; color: var(--pink); }
.bar-v { text-align: right; font-weight: 700; } .bar-v small { color: var(--muted); font-weight: 500; }
.rec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px; }
.rec { display: flex; gap: 12px; padding: 12px; border-radius: 12px; background: var(--soft2); border: 1px solid var(--line); }
.rec-i { font-size: 22px; width: 36px; height: 36px; flex: 0 0 36px; display: grid; place-items: center; background: #fff; border-radius: 10px; font-weight: 700; color: var(--violet); }
.rec p { margin: 4px 0 8px; font-size: 13px; color: var(--text2); }
.btn.small { padding: 5px 10px; font-size: 12px; }
.top-posts { display: flex; flex-direction: column; gap: 8px; }
.top-post { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 8px; border-radius: 12px; border: 1px solid var(--line); color: inherit; text-decoration: none; }
.top-post:hover { border-color: var(--violet); }
.top-post img, .top-post .noimg { width: 56px; height: 56px; object-fit: cover; border-radius: 10px; background: var(--soft); display: grid; place-items: center; color: var(--violet); font-weight: 700; }
.tp-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tp-meta, .tp-nums { font-size: 12px; color: var(--muted); }
.tp-text { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tp-eng { font-size: 20px; color: var(--pink); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { background: var(--soft); color: var(--violet); padding: 4px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.tag small { color: var(--muted); font-weight: 500; }
.ideas { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.idea { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 8px 10px; border-radius: 12px; border: 1px solid var(--line); }
.idea p { margin: 2px 0 0; font-size: 13px; color: var(--text2); }
.idea-d { display: flex; flex-direction: column; align-items: center; color: var(--pink); }
.idea-d small { font-size: 11px; color: var(--muted); }
.brand-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.brand-card { display: flex; flex-direction: column; gap: 4px; padding: 14px; background: #fff; border: 1px solid var(--line); border-left: 6px solid var(--brand); border-radius: var(--radius); color: inherit; text-decoration: none; box-shadow: var(--shadow); font-size: 13px; }
.brand-card:hover { border-color: var(--brand); }
.brand-card b { font-size: 15px; }
@media (max-width: 640px) { .bar-row { grid-template-columns: 80px 1fr 60px; } .idea { grid-template-columns: 50px 1fr; } .idea .btn { grid-column: 2; justify-self: start; } }

.pick.known { background: #F0FDF4; }
.ok-t { color: var(--ok); font-weight: 700; display: block; margin-bottom: 4px; }

/* strony publiczne (klient) */
body.public { background: var(--bg); margin: 0; }
.public-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; padding: 22px max(16px, calc(50% - 380px)); background: #fff; border-bottom: 1px solid var(--line); }
.public-top small { color: var(--pink); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 11px; }
.public-top h1 { margin: 4px 0 0; font-size: 22px; }
.public-top .who { display: flex; flex-direction: column; font-size: 12px; color: var(--muted); }
.public-main { max-width: 760px; margin: 0 auto; padding: 20px 16px 40px; }
.center { text-align: center; }
.rv-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 16px; box-shadow: var(--shadow); }
.rv-head { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.rv-date { font-weight: 700; color: var(--text); text-transform: capitalize; }
.rv-card h3 { margin: 4px 0 8px; }
.rv-media { display: grid; gap: 6px; margin: 8px 0 12px; }
.rv-media.multi { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.rv-media img, .rv-media video { width: 100%; border-radius: 10px; max-height: 520px; object-fit: cover; background: var(--soft); }
.rv-body { white-space: normal; line-height: 1.55; font-size: 15px; }
.rv-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-start; margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); }
.rv-actions details { flex: 1 1 260px; }
.rv-actions details[open] summary { margin-bottom: 8px; }
.rv-actions summary { list-style: none; cursor: pointer; display: inline-block; }
.rv-actions summary::-webkit-details-marker { display: none; }
.rv-actions textarea { width: 100%; margin-bottom: 8px; box-sizing: border-box; }
.rv-sub { margin-top: 30px; font-size: 17px; color: var(--muted); }
.share-box { padding: 14px 18px; }
.share-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.share-form input[type=email] { flex: 1 1 220px; }
.copy-row { display: flex; gap: 8px; flex-wrap: wrap; }
.copy-row input { flex: 1 1 320px; font-family: monospace; }

/* raport */
.report-bar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; padding: 12px max(16px, calc(50% - 460px)); background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.report-bar .grow { flex: 1; }
.send-report { position: relative; }
.send-report summary { list-style: none; cursor: pointer; }
.send-report summary::-webkit-details-marker { display: none; }
.send-report form { position: absolute; right: 0; top: 46px; width: 340px; z-index: 10; }
.report { max-width: 920px; margin: 0 auto; padding: 22px 16px 40px; }
.rp-head { display: flex; justify-content: space-between; align-items: center; padding: 22px 26px; border-radius: var(--radius); color: #fff; background: var(--grad); margin-bottom: 16px; }
.rp-head small { opacity: .85; text-transform: uppercase; letter-spacing: .06em; font-size: 11px; font-weight: 700; }
.rp-head h1 { margin: 4px 0; font-size: 28px; }
.rp-head p { margin: 0; font-size: 17px; text-transform: capitalize; }
.rp-head img { background: #fff; border-radius: 12px; padding: 6px; }
.report .occ { padding-left: 18px; } .report .occ li { margin: 4px 0; }
.rp-foot { text-align: center; margin-top: 20px; }
@media print {
  .no-print, .side, .menu-toggle { display: none !important; }
  body, body.public { background: #fff; }
  .report { max-width: none; padding: 0; }
  .card, .kpi { box-shadow: none; break-inside: avoid; }
  .avoid-break { break-inside: avoid; }
  .rp-head, .bar-t i, .kpi b { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .kpi b { color: var(--accent); background: none; }
  a { color: inherit; text-decoration: none; }
  @page { margin: 14mm; }
}

/* biblioteka, kolejka, siatka IG */
.snippet-sel { margin-left: 8px; font-size: 12px; padding: 3px 6px; border-radius: 8px; max-width: 220px; }
.lib-pick { margin-top: 8px; }
.lib-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 6px; margin: 8px 0; }
.lib-item { position: relative; display: block; aspect-ratio: 1; border-radius: 8px; overflow: hidden; border: 2px solid transparent; cursor: pointer; background: var(--soft); }
.lib-item img, .lib-item video { width: 100%; height: 100%; object-fit: cover; }
.lib-item input { position: absolute; top: 4px; left: 4px; z-index: 2; }
.lib-item:has(input:checked) { border-color: var(--pink); }
.lib-item .vid { position: absolute; right: 4px; bottom: 2px; color: #fff; text-shadow: 0 0 3px #000; }
.snip { display: flex; gap: 10px; align-items: baseline; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.snip span { flex: 1; color: var(--muted); }
.snip-add { margin-top: 10px; }
.ig-phone { max-width: 470px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 10px; box-shadow: var(--shadow); }
.ig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; }
.ig-tile { position: relative; aspect-ratio: 3 / 4; background: var(--soft); overflow: hidden; display: block; color: inherit; text-decoration: none; }
.ig-tile img, .ig-tile video { width: 100%; height: 100%; object-fit: cover; display: block; }
.ig-tile.planned { outline: 3px solid var(--pink); outline-offset: -3px; }
.ig-tile.planned.st-draft, .ig-tile.planned.st-review { outline-style: dashed; }
.ig-text { display: grid; place-items: center; height: 100%; padding: 8px; font-size: 11px; text-align: center; color: var(--violet); font-weight: 700; }
.ig-badge { position: absolute; left: 4px; bottom: 4px; background: rgba(24, 24, 27, .85); color: #fff; font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 999px; }
.ig-multi { position: absolute; right: 5px; top: 3px; color: #fff; text-shadow: 0 0 3px rgba(0,0,0,.6); font-size: 14px; }

/* skrzynka, AI, rejestracja, panel firm */
.ib { border-left: 5px solid var(--brand, var(--violet)); }
.ib-head { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ib-msg { font-size: 15px; margin: 8px 0 4px; }
.ib-post a { color: var(--muted); }
.ib-reply { margin: 8px 0 0 18px; padding: 8px 12px; background: var(--soft2); border-radius: 10px; font-size: 14px; }
.ib-form textarea { width: 100%; box-sizing: border-box; margin-top: 10px; }
.ib-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 6px; }
.brand-tag.sm { font-size: 11px; padding: 1px 8px; margin: 0; }
.ai-box { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding: 10px 12px; margin: 4px 0 14px; border-radius: 12px; background: var(--soft2); border: 1px solid var(--line); }
.ai-box.busy { opacity: .7; pointer-events: none; }
.ai-lbl { font-weight: 700; color: var(--violet); margin-right: 4px; font-size: 13px; }
.chip-btn { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 4px 10px; font-size: 12px; cursor: pointer; font-family: inherit; }
.chip-btn:hover { border-color: var(--pink); color: var(--pink); }
.ai-out { width: 100%; }
.ai-out textarea { width: 100%; box-sizing: border-box; margin: 6px 0; background: #fff; }
.auth-card.wide { max-width: 440px; }
.hp { position: absolute; left: -9999px; }
.pricing { background: var(--soft2); border-radius: 10px; padding: 10px 12px; text-align: left; margin-bottom: 10px; }
.admin-form { min-width: 260px; margin-top: 8px; }
.flash.trial a, .flash.err a { color: inherit; font-weight: 700; }

/* własne ustawienia kanałów */
.ch-custom { margin: -2px 0 8px 26px; font-size: 13px; }
.ch-custom summary { cursor: pointer; color: var(--violet); font-size: 12px; }
.ch-custom[open] { background: var(--soft2); border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; }
.ch-custom textarea, .ch-custom input[type=datetime-local], .ch-custom input[name$="[doc_title]"] { width: 100%; box-sizing: border-box; margin-top: 3px; }
.ch-custom label { display: block; margin: 6px 0; }
.ch-media { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 4px; }
.lib-item.sm { width: 58px; height: 58px; aspect-ratio: auto; }
.lib-item .doc, .doc-tile { display: grid; place-items: center; width: 100%; height: 100%; background: #FFF3E0; color: #E65100; font-weight: 700; font-size: 12px; text-align: center; text-decoration: none; }
.doc-tile { min-height: 120px; border-radius: 8px; padding: 8px; }
.cover-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 6px 0; }
.cover-thumb { width: 54px; height: 72px; object-fit: cover; border-radius: 6px; }
details.extra > summary { cursor: pointer; }
.lm-log { font-size: 13px; max-height: 60vh; overflow: auto; } .lm-log .err { color: var(--err); } .lm-log .warn { color: var(--warn); }


/* nowoczesny, neutralny wygląd (nadpisania) */
b, strong { font-weight: 600; }
.btn { font-weight: 500; }
.btn-grad { background: var(--accent) !important; color: #fff !important; border-color: var(--accent) !important; box-shadow: none; }
.btn-grad:hover { filter: brightness(1.12); }
.side nav a.on { background: var(--accent-soft) !important; color: var(--accent) !important; font-weight: 600; }
.side nav a:hover { background: var(--soft); }
.kpi b { background: none !important; -webkit-background-clip: initial !important; background-clip: initial !important; color: var(--text) !important; font-weight: 600; }
.rp-head { background: var(--accent) !important; }
.tag { background: var(--soft); color: var(--text2); }
.brand-switch label { color: var(--muted) !important; }
.bar-row.best .bar-t i { background: var(--accent) !important; }
.bar-row.best .bar-l { color: var(--accent) !important; }
.tp-eng { color: var(--text) !important; }
.rec-i { color: var(--text2) !important; }
.ig-tile.planned { outline-color: var(--accent); }
.ig-text { color: var(--text2); }
.idea-d { color: var(--accent); }
a { color: var(--accent); }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.swatch { display: flex; flex-direction: column; align-items: center; gap: 3px; cursor: pointer; width: 74px; text-align: center; }
.swatch input { position: absolute; opacity: 0; }
.swatch span { width: 30px; height: 30px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--line); }
.swatch input:checked + span { box-shadow: 0 0 0 2px var(--text); }
.swatch small { font-size: 11px; color: var(--muted); line-height: 1.2; }
.ch:has(input[type=checkbox]:not(:checked)) + .ch-custom { display: none; }

/* ===== podgląd na żywo (jak w Loomly) ===== */
.post-nav { display: flex; gap: 6px; flex-wrap: wrap; }
.pv-tabs { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 8px; }
.pv-tabs button, .pv-modes button { border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 5px 10px; font: inherit; font-size: 12.5px; cursor: pointer; display: inline-flex; align-items: center; gap: 5px; }
.pv-tabs button.on, .pv-modes button.on { background: var(--accent); color: #fff; border-color: var(--accent); }
.pv-modes { display: inline-flex; gap: 4px; margin-bottom: 8px; background: var(--soft); padding: 3px; border-radius: 10px; }
.pv-modes button { border: 0; background: transparent; }
.pv-stage { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; font-size: 14px; color: #0f1419; }
.pv-none { padding: 30px 14px; text-align: center; color: var(--muted); background: var(--soft2); border-radius: 10px; font-size: 13px; }
.pv-tag, .pv-link { color: #00376b; }
.pv-more { border: 0; background: none; color: #65676b; font: inherit; cursor: pointer; padding: 0; font-weight: 600; }
.pv-slider { position: relative; overflow: hidden; }
.pv-track { display: flex; transition: transform .25s ease; }
.pv-slide { flex: 0 0 100%; min-width: 0; }
.pv-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); box-shadow: 0 1px 4px rgba(0,0,0,.25); cursor: pointer; font-size: 18px; line-height: 1; z-index: 2; }
.pv-nav.prev { left: 6px; } .pv-nav.next { right: 6px; }
.pv-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 52px; height: 52px; border-radius: 50%; background: rgba(0,0,0,.5); color: #fff; display: grid; place-items: center; font-size: 20px; cursor: pointer; }
.pv-doc-mini { display: grid; place-items: center; aspect-ratio: 1; background: #FFF3E0; color: #E65100; font-weight: 700; }
.pv-tips { list-style: none; padding: 0; margin: 10px 0 6px; display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; }
.pv-tips li { padding: 6px 10px; border-radius: 8px; background: var(--soft2); border: 1px solid var(--line); }
.pv-tips li.err { background: #FEF2F2; border-color: #FECACA; color: #991B1B; }
.pv-tips li.warn { background: #FFFBEB; border-color: #FDE68A; color: #92400E; }
/* Facebook */
.pv-fb2 { border: 1px solid #dadde1; border-radius: 10px; background: #fff; overflow: hidden; }
.fb-head { display: flex; gap: 8px; align-items: center; padding: 10px 12px 6px; }
.fb-head small { display: block; color: #65676b; font-size: 12px; }
.fb-dots { margin-left: auto; color: #65676b; }
.fb-av { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; color: #fff; font-weight: 700; flex: 0 0 38px; }
.fb-av.sm { width: 28px; height: 28px; flex-basis: 28px; font-size: 12px; }
.fb-text { padding: 2px 12px 10px; line-height: 1.38; word-wrap: break-word; }
.fb-grid { display: grid; gap: 2px; background: #fff; }
.fb-grid.g2 { grid-template-columns: 1fr 1fr; } .fb-grid.g3 { grid-template-columns: 1fr 1fr; } .fb-grid.g4 { grid-template-columns: 1fr 1fr; } .fb-grid.g5 { grid-template-columns: repeat(6, 1fr); }
.fb-grid.g3 .fb-cell:first-child { grid-column: span 2; }
.fb-grid.g5 .fb-cell { grid-column: span 2; } .fb-grid.g5 .fb-cell:nth-child(-n+2) { grid-column: span 3; }
.fb-cell { position: relative; overflow: hidden; aspect-ratio: 1; }
.fb-grid.g1 .fb-cell { aspect-ratio: auto; }
.fb-grid.g3 .fb-cell:first-child { aspect-ratio: 2 / 1; }
.fb-cell img, .fb-cell video { width: 100%; height: 100%; object-fit: cover; display: block; }
.fb-grid.g1 .fb-cell img { height: auto; max-height: 520px; }
.fb-plus { position: absolute; inset: 0; background: rgba(0,0,0,.45); color: #fff; font-size: 26px; font-weight: 700; display: grid; place-items: center; }
.fb-video { position: relative; background: #000; } .fb-video video { width: 100%; display: block; max-height: 520px; }
.fb-car { padding: 0 0 8px 12px; }
.fb-car .pv-slide { flex: 0 0 74%; margin-right: 2%; }
.fb-card { border: 1px solid #dadde1; border-radius: 8px; overflow: hidden; background: #fff; }
.fb-card img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.fb-card-meta { display: flex; align-items: center; gap: 6px; padding: 8px; background: #f0f2f5; }
.fb-card-meta div { flex: 1; min-width: 0; } .fb-card-meta b { display: block; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .fb-card-meta small { color: #65676b; font-size: 11px; }
.fb-cta { background: #e4e6eb; border-radius: 6px; padding: 5px 8px; font-size: 12px; font-weight: 600; }
.fb-card.end { aspect-ratio: 1 / 1.18; display: grid; place-items: center; background: #f0f2f5; text-align: center; color: #65676b; }
.fb-link { display: flex; background: #f0f2f5; border-top: 1px solid #dadde1; border-bottom: 1px solid #dadde1; }
.fb-link-img { width: 90px; display: grid; place-items: center; font-size: 26px; background: #e4e6eb; }
.fb-link-meta { padding: 10px; } .fb-link-meta small { display: block; color: #65676b; font-size: 11px; }
.fb-stats { display: flex; justify-content: space-between; padding: 8px 12px; color: #65676b; font-size: 12.5px; }
.fb-actions { display: flex; justify-content: space-around; border-top: 1px solid #dadde1; margin: 0 12px; padding: 6px 0; color: #65676b; font-weight: 600; font-size: 13px; }
.fb-comment { display: flex; gap: 6px; padding: 8px 12px 12px; font-size: 13px; } .fb-comment > div { background: #f0f2f5; border-radius: 14px; padding: 6px 10px; }
/* Instagram */
.pv-ig2 { border: 1px solid #dbdbdb; border-radius: 10px; background: #fff; overflow: hidden; max-width: 420px; margin: 0 auto; }
.ig-head { display: flex; align-items: center; gap: 8px; padding: 8px 10px; font-size: 13px; } .ig-head > span { margin-left: auto; } .ig-head div span { font-weight: 400; }
.ig-av { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; display: inline-grid; place-items: center; color: #fff; font-weight: 700; box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px #d6249f; flex: 0 0 32px; font-size: 13px; vertical-align: middle; }
.ig-av.sm { width: 24px; height: 24px; flex-basis: 24px; font-size: 11px; box-shadow: none; }
.ig-av.big { width: 64px; height: 64px; flex-basis: 64px; font-size: 24px; }
.ig-media { position: relative; overflow: hidden; background: #000; }
.ig-media .pv-slider, .ig-media .pv-track, .ig-media .pv-slide { height: 100%; }
.ig-media img, .ig-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.ig-count { position: absolute; top: 10px; right: 10px; background: rgba(0,0,0,.6); color: #fff; border-radius: 12px; padding: 2px 8px; font-size: 12px; z-index: 2; }
.ig-dots { display: flex; justify-content: center; gap: 4px; padding: 8px 0 0; } .ig-dots i { width: 6px; height: 6px; border-radius: 50%; background: #c7c7c7; } .ig-dots i.on { background: #0095f6; }
.ig-actions { display: flex; justify-content: space-between; padding: 8px 12px 4px; font-size: 20px; letter-spacing: 6px; }
.ig-likes { padding: 0 12px; font-weight: 600; font-size: 13px; }
.ig-cap { padding: 4px 12px; font-size: 13.5px; line-height: 1.4; }
.ig-com { padding: 2px 12px; font-size: 13px; }
.ig-date { padding: 4px 12px 12px; color: #737373; font-size: 11px; text-transform: uppercase; }
.ig-empty { padding: 50px 20px; text-align: center; color: #888; background: #fafafa; }
.ig-reel .ig-reel-media { position: relative; aspect-ratio: 9 / 16; background: #000; color: #fff; }
.ig-reel-media > img, .ig-reel-media > video { width: 100%; height: 100%; object-fit: cover; display: block; }
.ig-reel-side { position: absolute; right: 10px; bottom: 90px; display: flex; flex-direction: column; gap: 16px; font-size: 22px; text-shadow: 0 0 4px rgba(0,0,0,.5); }
.ig-reel-cap { position: absolute; left: 10px; right: 50px; bottom: 14px; font-size: 13px; text-shadow: 0 0 4px rgba(0,0,0,.6); }
.ig-reel-cap .pv-more { color: #ddd; } .ig-reel-cap .pv-tag { color: #fff; font-weight: 600; }
.ig-nocover { position: absolute; top: 10px; left: 10px; right: 10px; background: rgba(0,0,0,.55); font-size: 11px; padding: 4px 8px; border-radius: 6px; text-align: center; }
.ig-story-top { position: absolute; top: 12px; left: 10px; display: flex; gap: 6px; align-items: center; font-size: 13px; text-shadow: 0 0 4px #000; }
.ig-profile .ig-prof { display: flex; gap: 14px; align-items: center; padding: 14px; } .ig-prof small { display: block; color: #737373; }
.ig-tabs { display: flex; justify-content: space-around; border-top: 1px solid #dbdbdb; padding: 8px 0; color: #737373; } .ig-tabs .on { color: #000; }
.ig-pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.ig-tile2 { position: relative; aspect-ratio: 3 / 4; background: #efefef; overflow: hidden; }
.ig-tile2 img, .ig-tile2 video { width: 100%; height: 100%; object-fit: cover; display: block; }
.ig-tile2.cur { outline: 3px solid #0095f6; outline-offset: -3px; } .ig-tile2.plan { outline: 2px dashed #a1a1aa; outline-offset: -2px; }
.ig-ic { position: absolute; top: 4px; right: 6px; color: #fff; font-style: normal; text-shadow: 0 0 3px rgba(0,0,0,.6); }
.ig-badge2 { position: absolute; left: 4px; bottom: 4px; background: #0095f6; color: #fff; font-size: 10px; font-weight: 600; padding: 1px 6px; border-radius: 8px; } .ig-badge2.pl { background: rgba(24,24,27,.8); }
.ig-t-empty { display: grid; place-items: center; height: 100%; color: #aaa; }
.ig-load { grid-column: 1 / -1; padding: 10px; text-align: center; color: #737373; font-size: 12px; }
/* LinkedIn */
.pv-li { border: 1px solid #e0dfdc; border-radius: 10px; background: #fff; overflow: hidden; }
.li-head { display: flex; gap: 8px; padding: 12px; } .li-head small { display: block; color: #666; font-size: 12px; line-height: 1.3; }
.li-av { width: 46px; height: 46px; border-radius: 4px; object-fit: cover; display: grid; place-items: center; color: #fff; font-weight: 700; flex: 0 0 46px; }
.li-text { padding: 0 12px 10px; line-height: 1.4; }
.li-doc { background: #f3f2ef; } .li-doc-page { aspect-ratio: 4 / 5; margin: 0 auto; max-width: 78%; background: #fff; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; text-align: center; padding: 20px; box-shadow: 0 1px 4px rgba(0,0,0,.15); }
.li-doc-page b { font-size: 18px; } .li-doc-page span { color: #666; font-size: 12px; }
.li-doc-bar { display: flex; justify-content: space-between; background: rgba(0,0,0,.75); color: #fff; font-size: 12px; padding: 6px 10px; margin-top: 8px; }
.li-media { position: relative; } .li-media video { width: 100%; display: block; }
.li-actions { display: flex; justify-content: space-around; border-top: 1px solid #e0dfdc; padding: 8px 4px; color: #666; font-size: 12.5px; font-weight: 600; }
/* TikTok */
.pv-tt { max-width: 320px; margin: 0 auto; border-radius: 14px; overflow: hidden; background: #000; color: #fff; }
.tt-media { position: relative; aspect-ratio: 9 / 16; } .tt-media > img, .tt-media > video { width: 100%; height: 100%; object-fit: cover; display: block; }
.tt-side { position: absolute; right: 8px; bottom: 80px; display: flex; flex-direction: column; align-items: center; gap: 14px; font-size: 22px; text-shadow: 0 0 4px rgba(0,0,0,.6); }
.tt-side small { display: block; font-size: 11px; text-align: center; }
.tt-av { width: 40px; height: 40px; border-radius: 50%; border: 2px solid #fff; display: grid; place-items: center; font-size: 15px; font-weight: 700; object-fit: cover; }
.tt-cap { position: absolute; left: 10px; right: 56px; bottom: 14px; font-size: 13px; text-shadow: 0 0 4px rgba(0,0,0,.7); }
.tt-cap .pv-tag { color: #fff; font-weight: 600; } .tt-cap .pv-more { color: #ddd; }
/* Google */
.pv-gbp { border: 1px solid #dadce0; border-radius: 10px; background: #fff; overflow: hidden; }
.gbp-head { display: flex; gap: 8px; padding: 12px; } .gbp-head small { display: block; color: #70757a; }
.gbp-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.gbp-text { padding: 10px 12px; } .gbp-cta { margin: 0 12px 12px; color: #1a73e8; font-weight: 600; border: 1px solid #dadce0; border-radius: 18px; text-align: center; padding: 7px; }
/* okładka, etykiety, wersje */
.cover-box { display: flex; gap: 14px; align-items: flex-start; flex-wrap: wrap; margin: 6px 0 10px; }
.cover-current { display: flex; flex-direction: column; gap: 4px; align-items: center; }
.cover-thumb { width: 72px; height: 128px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.cover-thumb.empty { display: grid; place-items: center; text-align: center; font-size: 11px; color: var(--muted); background: var(--soft2); }
.cover-tools { flex: 1; min-width: 220px; display: flex; flex-direction: column; gap: 6px; }
.frame-pick { display: flex; flex-direction: column; gap: 6px; } .frame-pick video { width: 100%; max-height: 220px; background: #000; border-radius: 8px; }
.label-pick { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.label-chip { position: relative; cursor: pointer; } .label-chip input { position: absolute; opacity: 0; }
.label-chip span { display: inline-block; padding: 4px 10px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--lc) 40%, #fff); color: var(--lc); background: #fff; font-size: 12.5px; font-weight: 500; }
.label-chip input:checked + span { background: var(--lc); color: #fff; border-color: var(--lc); }
.label-new { display: inline-flex; gap: 4px; align-items: center; } .label-new input[name=new_label] { width: 150px; padding: 4px 8px; font-size: 12.5px; } .label-new input[type=color] { width: 30px; height: 28px; padding: 0; border: 0; background: none; }
.lbl-chip { display: inline-block; font-size: 10.5px; padding: 0 6px; border-radius: 6px; background: color-mix(in srgb, var(--lc) 15%, #fff); color: var(--lc); font-weight: 600; margin-left: 3px; vertical-align: 1px; }
.label-row { display: flex; gap: 6px; align-items: center; } .label-row input[type=color] { width: 34px; height: 32px; padding: 0; border: 0; background: none; } .label-row input[name=name] { flex: 1; max-width: 260px; }
.revs { margin: 8px 0; } .revs summary { cursor: pointer; color: var(--muted); } .rev { padding: 6px 0; border-bottom: 1px dashed var(--line); font-size: 13px; } .rev-body { color: var(--text2); }
.side-col { max-height: calc(100vh - 28px); overflow-y: auto; scrollbar-width: thin; }

/* widok tygodnia, przełącznik widoków */
.seg { display: inline-flex; background: var(--soft); border-radius: 10px; padding: 3px; margin-left: 6px; }
.seg a { padding: 5px 10px; border-radius: 8px; text-decoration: none; color: var(--text2); font-size: 13px; font-weight: 500; }
.seg a.on { background: #fff; color: var(--text); box-shadow: var(--shadow); }
.cal.week { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.cal.week .cal-d { min-height: 60vh; }
.cal.week .cal-dn span { font-weight: 500; font-size: 12.5px; color: var(--muted); } .cal.week .cal-dn b { color: var(--text); }
.wk-card { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: inherit; border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: 10px; padding: 6px; background: #fff; font-size: 12.5px; }
.wk-card:hover { border-color: var(--text2); border-left-color: var(--brand); }
.wk-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; }
.wk-meta { display: flex; align-items: center; gap: 3px; flex-wrap: wrap; } .wk-meta .st { font-size: 10px; padding: 1px 6px; margin-left: auto; }
.wk-title { font-weight: 500; line-height: 1.3; }
.wk-card.dragging { opacity: .5; }
@media (max-width: 900px) { .cal.week { grid-template-columns: 1fr; } .cal.week .cal-d { min-height: 0; } }

/* przycinanie */
.crop-modal { position: fixed; inset: 0; background: rgba(24,24,27,.6); z-index: 100; display: grid; place-items: center; padding: 16px; }
.crop-box { background: #fff; border-radius: 14px; padding: 16px; width: min(760px, 100%); max-height: 94vh; overflow: auto; display: flex; flex-direction: column; gap: 10px; }
.crop-head { display: flex; justify-content: space-between; align-items: center; }
.crop-ratios { display: flex; flex-wrap: wrap; gap: 4px; }
.crop-ratios button { border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 5px 9px; font: inherit; font-size: 12.5px; cursor: pointer; }
.crop-ratios button.on { background: var(--accent); color: #fff; border-color: var(--accent); }
.crop-stage { position: relative; align-self: center; touch-action: none; user-select: none; line-height: 0; }
.crop-stage img { max-width: 100%; max-height: 60vh; display: block; }
.crop-rect { position: absolute; border: 2px solid #fff; box-shadow: 0 0 0 9999px rgba(0,0,0,.5); cursor: move; outline: 1px solid rgba(0,0,0,.3); }
.crop-h { position: absolute; right: -8px; bottom: -8px; width: 16px; height: 16px; background: #fff; border: 2px solid var(--accent); border-radius: 50%; cursor: nwse-resize; }
.crop-stage { overflow: hidden; }

/* ===== aktualizacja 11: cennik, branże, serie, sklep, wrzutka, nasłuch, konto ===== */
.side-series { margin-top: 6px; font-size: 13px; }
.pricing-page { max-width: 1180px; margin: 0 auto; padding: 32px 16px; display: flex; flex-direction: column; gap: 20px; }
.pricing-head { text-align: center; max-width: 720px; margin: 0 auto; }
.pricing-head h1 { font-size: 30px; margin: 10px 0; letter-spacing: -.02em; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.plan-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 8px; position: relative; }
.plan-card.hot { border: 2px solid var(--accent); box-shadow: 0 8px 30px rgba(0,0,0,.08); }
.plan-card h2 { margin: 0; font-size: 19px; }
.plan-card p { margin: 0; }
.plan-badge { position: absolute; top: -11px; left: 18px; background: var(--accent); color: #fff; font-size: 11px; padding: 3px 9px; border-radius: 99px; }
.plan-card .price { font-size: 14px; margin-top: 4px; }
.plan-card .price b { font-size: 28px; letter-spacing: -.02em; }
.plan-card ul { padding-left: 18px; margin: 6px 0 auto; font-size: 13.5px; display: flex; flex-direction: column; gap: 5px; }
.plan-card .btn { margin-top: 12px; }
.ind-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.ind { display: flex; flex-direction: column; gap: 3px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; }
.ind-ico { font-size: 22px; }
.upsell { text-align: center; margin: 40px auto; }
.price-edit { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.price-edit label { display: flex; flex-direction: column; gap: 3px; font-size: 13px; }
.inv-row { margin: 2px 0; }
.series-types { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 8px; }
.stype { display: flex; gap: 8px; align-items: flex-start; border: 1px solid var(--line); border-radius: 12px; padding: 10px; cursor: pointer; }
.stype:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.stype span { display: flex; flex-direction: column; gap: 2px; }
.stype .rec-badge { color: #15803D; font-size: 11.5px; font-weight: 600; }
.row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 700px) { .row3 { grid-template-columns: 1fr; } }
.ch-pick { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.inspire summary { cursor: pointer; }
.inspire-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; margin-top: 10px; }
@media (max-width: 900px) { .inspire-grid { grid-template-columns: 1fr; } }
.inspire h3 { font-size: 14px; margin: 6px 0; }
.idea-row { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.chip { background: #F4F4F5; border-radius: 6px; padding: 1px 6px; }
.shop-bar { position: sticky; top: 0; z-index: 5; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 10px 14px; }
.prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; margin-top: 12px; }
.prod { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 8px; display: flex; flex-direction: column; gap: 4px; cursor: pointer; }
.prod:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
.prod input { position: absolute; top: 12px; left: 12px; width: 18px; height: 18px; z-index: 1; }
.prod-img { aspect-ratio: 1; background: #F4F4F5; border-radius: 8px; overflow: hidden; }
.prod-img img { width: 100%; height: 100%; object-fit: cover; }
.prod.out { opacity: .55; }
.qr-box { display: flex; gap: 16px; align-items: flex-start; flex-wrap: wrap; }
.qr canvas { width: 150px; height: 150px; border: 1px solid var(--line); border-radius: 8px; image-rendering: pixelated; }
.qr-box .stack { flex: 1; min-width: 220px; }
.upload-card { margin-top: 24px; }
.upload-drop { display: block; border: 2px dashed var(--line); border-radius: 14px; padding: 28px 12px; text-align: center; cursor: pointer; position: relative; }
.upload-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin-bottom: 12px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; }
.kpi b { font-size: 22px; }
.kpi span { font-size: 12px; color: var(--muted, #71717A); }
.kpi.bad b { color: #BE123C; }
.tabs { display: flex; gap: 4px; margin: 10px 0; flex-wrap: wrap; }
.tabs a { padding: 6px 12px; border-radius: 8px; text-decoration: none; color: inherit; font-size: 13.5px; }
.tabs a.on { background: var(--accent); color: #fff; }
.mentions { display: flex; flex-direction: column; gap: 10px; }
.mention { border-left: 4px solid #D4D4D8; }
.mention.s-pos { border-left-color: #16A34A; }
.mention.s-neg { border-left-color: #DC2626; }
.mention h3 { font-size: 15px; margin: 6px 0; }
.mention p { margin: 4px 0; font-size: 14px; }
.m-head { display: flex; gap: 8px; align-items: center; }
.m-head .sent { margin-left: auto; font-size: 18px; }
.m-actions { display: flex; gap: 12px; flex-wrap: wrap; font-size: 13px; }
.usage { list-style: none; padding: 0; margin: 6px 0; display: flex; flex-direction: column; gap: 6px; }
.usage .bar { display: block; height: 6px; background: #F4F4F5; border-radius: 99px; margin-top: 4px; overflow: hidden; max-width: 260px; }
.usage .bar i { display: block; height: 100%; background: var(--accent); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 900px) { .grid2 { grid-template-columns: 1fr; } }
@media print { .side, .menu-toggle, .toolbar .btn { display: none !important; } .main { padding: 0 !important; } }
.plan-card .btn { white-space: normal; text-align: center; justify-content: center; }
input[type=radio] { width: auto; margin: 3px 6px 0 0; padding: 0; accent-color: var(--accent); flex: 0 0 auto; }
.stype small { border: 0 !important; background: none !important; padding: 0 !important; box-shadow: none !important; }
.mention h3 { text-transform: none; letter-spacing: 0; font-weight: 600; }
.card.table-wrap > h2, .card.table-wrap > p { padding: 14px 18px 4px; margin: 0; }
.card.table-wrap > p:last-child { padding-bottom: 14px; }

/* ===== nawigacja w grupach, administracja ===== */
.side nav .nav-group { display: flex; flex-direction: column; gap: 1px; margin-top: 10px; }
.side nav .nav-h { font-size: 10.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 4px 10px; font-weight: 600; }
.side nav a { padding: 7px 10px; font-size: 14px; }
.side nav .nav-admin-link { color: var(--muted); font-size: 13px; }
.admin-shell .side { background: #18181B; border-right-color: #27272A; }
.admin-shell .side, .admin-shell .side a, .admin-shell .side b { color: #E4E4E7; }
.admin-shell .side small, .admin-shell .side .nav-h { color: #A1A1AA; }
.admin-shell .side nav a:hover { background: #27272A !important; }
.admin-shell .side nav a.on { background: #3F3F46 !important; color: #fff !important; }
.admin-shell .main { background: #FAFAFA; }
.admin-badge { background: #27272A; color: #FDE68A; border-radius: 10px; padding: 9px 12px; font-size: 13px; font-weight: 600; text-align: center; }
.admin-shell .me { border-top-color: #27272A; }

/* ===== marka: logo, zakładki, biblioteka ===== */
.brand-logo { width: 34px; height: 34px; object-fit: contain; border-radius: 8px; background: #fff; border: 1px solid var(--line); }
.brand-logo.lg { width: 40px; height: 40px; vertical-align: middle; margin-right: 6px; }
.brand-logo.xl { width: 72px; height: 72px; }
.logo-row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.brand-title h1 { display: flex; align-items: center; gap: 8px; }
.brand-tabs { border-bottom: 1px solid var(--line); padding-bottom: 8px; margin-bottom: 14px; }
.brand-foot { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.brand-foot .tiny { margin-left: auto; }
.asset-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; margin-top: 8px; }
.asset { display: flex; flex-direction: column; gap: 3px; }
.asset img, .asset video, .asset .doc-ico { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); background: #F4F4F5; }
.doc-ico { display: grid; place-items: center; font-weight: 700; color: #B91C1C; font-size: 13px; }
.lib-item .doc-ico { width: 100%; height: 100%; }

/* ===== start (pulpit) ===== */
.start-hero { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.start-hero h1 { margin: 2px 0 4px; font-size: 28px; letter-spacing: -.02em; }
.start-hero p { margin: 0; }
.start-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.start-kpis .kpi { text-decoration: none; color: inherit; transition: border-color .15s; }
.start-kpis .kpi:hover { border-color: var(--accent); }
.kpi.attn b { color: var(--accent); }
.kpi small.up { color: #15803D; font-size: 12px; }
.kpi small.down { color: #BE123C; font-size: 12px; }
.start-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr); gap: 14px; align-items: start; }
@media (max-width: 1000px) { .start-grid { grid-template-columns: 1fr; } }
.sec-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.sec-head h2 { font-size: 16px; margin: 0; }
.start-side { display: flex; flex-direction: column; gap: 14px; }
.start-side .card { margin: 0; }
.day-row { display: grid; grid-template-columns: 84px 1fr; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); }
.day-row:first-of-type { border-top: 0; }
.day-row.today .day-lbl b { color: var(--accent); }
.day-lbl { display: flex; flex-direction: column; }
.day-posts { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.mini-post { display: flex; gap: 10px; align-items: center; text-decoration: none; color: inherit; padding: 6px; border-radius: 10px; border: 1px solid var(--line); border-left: 3px solid var(--brand); background: #fff; }
.mini-post:hover { border-color: var(--accent); }
.mini-post img, .mp-ph { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; flex: 0 0 40px; }
.mp-ph { display: grid; place-items: center; background: var(--brand); color: #fff; font-weight: 700; opacity: .85; }
.mp-txt { display: flex; flex-direction: column; gap: 2px; font-size: 13.5px; min-width: 0; }
.mp-txt small { display: flex; gap: 4px; align-items: center; }
.empty-day { padding: 8px 0; }
.side-row { display: flex; gap: 10px; align-items: flex-start; padding: 7px 0; border-top: 1px solid var(--line); text-decoration: none; color: inherit; font-size: 13.5px; }
.side-row:first-of-type { border-top: 0; }
.occ-date { font-weight: 700; min-width: 40px; }

/* ===== logowanie ===== */
body.login2 { display: grid; grid-template-columns: 1.1fr 1fr; min-height: 100vh; margin: 0; background: #fff; }
@media (max-width: 900px) { body.login2 { grid-template-columns: 1fr; } .login-art { display: none !important; } }
.login-art { background: radial-gradient(1200px 600px at 10% 10%, #27272A 0%, #18181B 50%, #09090B 100%); color: #E4E4E7; padding: 36px 48px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.login-art::after { content: ''; position: absolute; right: -120px; bottom: -120px; width: 420px; height: 420px; border-radius: 50%; background: var(--accent, #4F46E5); opacity: .25; filter: blur(60px); }
.la-top { display: flex; align-items: center; gap: 10px; font-size: 17px; }
.la-top img { filter: invert(1); }
.la-mid h2 { font-size: 40px; line-height: 1.1; letter-spacing: -.03em; margin: 0 0 14px; color: #fff; }
.la-mid p { color: #A1A1AA; max-width: 460px; line-height: 1.55; }
.la-card { margin-top: 28px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 16px; padding: 10px; max-width: 460px; backdrop-filter: blur(6px); position: relative; z-index: 1; }
.la-row { display: flex; align-items: center; gap: 8px; padding: 10px; border-radius: 10px; font-size: 13.5px; color: #E4E4E7; }
.la-row + .la-row { border-top: 1px solid rgba(255,255,255,.07); }
.la-row b { color: #fff; min-width: 64px; }
.la-dot { width: 8px; height: 8px; border-radius: 50%; }
.la-st { margin-left: auto; font-size: 11.5px; background: rgba(34,197,94,.15); color: #86EFAC; padding: 2px 8px; border-radius: 99px; }
.la-st.rev { background: rgba(250,204,21,.15); color: #FDE68A; }
.la-bot { color: #71717A; position: relative; z-index: 1; }
.la-bot a { color: #A1A1AA; }
.login-main { display: grid; place-items: center; padding: 32px 20px; }
.login-form { width: min(380px, 100%); display: flex; flex-direction: column; gap: 12px; }
.login-form h1 { font-size: 28px; margin: 8px 0 0; letter-spacing: -.02em; }
.login-form p { margin: 0; }
.login-form .btn { padding: 12px; font-size: 15px; }
.pw { position: relative; display: block; }
.pw input { padding-right: 44px; }
.pw-eye { position: absolute; right: 6px; top: 50%; transform: translateY(-40%); border: 0; background: none; cursor: pointer; font-size: 16px; opacity: .6; }
.lf-sep { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; margin-top: 6px; }
.lf-sep::before, .lf-sep::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.center { text-align: center; }

/* ===== wybór marki z logotypami (jak Loomly) ===== */
.brand-pick { position: relative; }
.bp-btn { width: 100%; display: flex; align-items: center; gap: 10px; padding: 10px; border: 1px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer; text-align: left; font: inherit; }
.bp-btn:hover { border-color: var(--accent); }
.bp-name { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.bp-name b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bp-name small { color: var(--muted); font-size: 11.5px; }
.bp-caret { transform: rotate(-90deg); color: var(--muted); }
.brand-pick.open .bp-caret { transform: rotate(90deg); }
.bp-logo { width: 34px; height: 34px; border-radius: 50%; object-fit: contain; background: #fff; border: 1px solid var(--line); flex: 0 0 34px; }
.bp-letter { display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 14px; border: 0; }
.bp-pop { display: none; position: absolute; left: 0; top: calc(100% + 6px); width: 280px; max-height: 70vh; overflow-y: auto; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 50px rgba(0,0,0,.15); padding: 12px; z-index: 50; }
.brand-pick.open .bp-pop { display: block; }
.bp-pop h3 { font-size: 15px; margin: 2px 4px 8px; }
.bp-search { margin: 0 0 8px; }
.bp-item { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 12px; text-decoration: none; color: var(--text); }
.bp-item:hover { background: var(--soft, #F4F4F5); }
.bp-item.on { background: var(--accent-soft, #EEF2FF); }
.bp-item span:not(.bp-logo) { flex: 1; }
.bp-count { margin-left: auto; background: #F4F4F5; border-radius: 99px; padding: 1px 8px; font-size: 12px; flex: 0 0 auto !important; }
.bp-dot { width: 8px; height: 8px; border-radius: 50%; background: #22C55E; margin-left: auto; }
.bp-pop hr { border: 0; border-top: 1px solid var(--line); margin: 6px 0; }
.bp-new { margin-top: 8px; }

/* ===== górny pasek ===== */
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: -6px 0 16px; }
.tb-search input { width: min(340px, 50vw); margin: 0; background: #fff; border-radius: 12px; }
.tb-right { display: flex; align-items: center; gap: 10px; }
.tb-bell { position: relative; }
.tb-bell > button, .tb-help, .tb-avatar { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; cursor: pointer; text-decoration: none; color: var(--text); font-weight: 600; font-size: 15px; position: relative; }
.tb-avatar { background: var(--accent); color: #fff; border: 0; font-size: 13px; }
.tb-n { position: absolute; top: -4px; right: -4px; background: #DC2626; color: #fff; font-size: 10.5px; border-radius: 99px; min-width: 17px; height: 17px; display: grid; place-items: center; padding: 0 4px; }
.tb-pop { display: none; position: absolute; right: 0; top: calc(100% + 6px); width: 300px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 50px rgba(0,0,0,.15); padding: 10px; z-index: 50; }
.tb-bell.open .tb-pop { display: block; }
.tb-pop h3 { font-size: 14px; margin: 2px 6px 6px; }
.tb-pop a { display: flex; gap: 10px; padding: 9px 8px; border-radius: 10px; text-decoration: none; color: var(--text); font-size: 13.5px; }
.tb-pop a:hover { background: #F4F4F5; }
@media (max-width: 700px) { .tb-search { display: none; } }

/* ===== pomysły gotowe dla Ciebie ===== */
.ideas-ready { background: linear-gradient(135deg, #FFFBEB 0%, #fff 35%, #F5F3FF 100%); }
.ideas-ready h2 { font-size: 18px; }
.ideas-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); gap: 14px; overflow-x: auto; padding: 4px 2px 10px; scroll-snap-type: x mandatory; }
.idea-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 10px; display: flex; flex-direction: column; gap: 6px; scroll-snap-align: start; max-width: 320px; }
.idea-card:hover { border-color: var(--accent); box-shadow: 0 8px 24px rgba(0,0,0,.06); }
.ic-img { position: relative; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: linear-gradient(135deg, var(--brand), #18181B); display: grid; place-items: center; }
.ic-img img { width: 100%; height: 100%; object-fit: cover; }
.ic-img span { color: #fff; font-weight: 700; font-size: 18px; padding: 16px; text-align: center; line-height: 1.25; }
.ic-img em { position: absolute; left: 8px; top: 8px; background: rgba(0,0,0,.6); color: #fff; font-style: normal; font-size: 11px; padding: 2px 8px; border-radius: 99px; }
.idea-card h3 { font-size: 15px; margin: 4px 2px 0; line-height: 1.3; }
.idea-card p { font-size: 13px; color: var(--muted); margin: 0 2px; flex: 1; }
.ic-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.ico { flex: 0 0 auto; vertical-align: -3px; }
.side nav a .ico { opacity: .8; }
.side nav a.on .ico { opacity: 1; }
.la-top img { filter: none; }
.btn .ico { margin-right: 2px; }
.admin-badge { display: flex; align-items: center; justify-content: center; gap: 6px; }
.idea-card h3, .start-grid h2, .sec-head h2 { text-transform: none; letter-spacing: 0; }
.bp-pop { width: 100%; min-width: 0; }
.bp-pop h3 { text-transform: none; letter-spacing: 0; }

/* ===== strona dla nowych klientów (landing) ===== */
body.lp { --v: #7C3AED; --p: #EC4899; --o: #F59E0B; --s: #0EA5E9; --l: #84CC16; margin: 0; background: #FFFCF8; color: #18181B; font-family: Inter, system-ui, sans-serif; overflow-x: hidden; position: relative; }
.lp-blobs { position: absolute; inset: 0 0 auto 0; height: 1100px; pointer-events: none; z-index: 0; overflow: hidden; }
.lp-blobs i { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .45; }
.lp-blobs .b1 { width: 520px; height: 520px; background: var(--v); left: -140px; top: -120px; }
.lp-blobs .b2 { width: 460px; height: 460px; background: var(--p); right: -100px; top: 60px; opacity: .35; }
.lp-blobs .b3 { width: 380px; height: 380px; background: var(--o); left: 38%; top: 420px; opacity: .25; }
.lp-blobs .b4 { width: 300px; height: 300px; background: var(--s); right: 18%; top: 700px; opacity: .2; }
.lp > header, .lp > section, .lp > footer { position: relative; z-index: 1; }
.lp-nav { display: flex; justify-content: space-between; align-items: center; max-width: 1180px; margin: 0 auto; padding: 18px 20px; }
.lp-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; font-size: 18px; }
.lp-nav nav { display: flex; align-items: center; gap: 22px; }
.lp-nav nav a { text-decoration: none; color: #3F3F46; font-weight: 500; font-size: 15px; }
.lp-nav nav a:hover { color: var(--v); }
@media (max-width: 860px) { .lp-nav nav a:not(.lp-btn):not(.lp-login) { display: none; } }
.lp-btn { display: inline-flex; align-items: center; gap: 6px; background: linear-gradient(135deg, var(--v), var(--p)); color: #fff !important; text-decoration: none; font-weight: 700; border-radius: 999px; padding: 12px 22px; box-shadow: 0 10px 30px rgba(124,58,237,.3); transition: transform .15s, box-shadow .15s; border: 0; }
.lp-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(236,72,153,.35); }
.lp-btn.small { padding: 9px 16px; font-size: 14px; }
.lp-btn.big { padding: 16px 28px; font-size: 17px; }
.lp-btn.ghost { background: #fff; color: #18181B !important; box-shadow: 0 2px 10px rgba(0,0,0,.06); border: 1px solid #E4E4E7; }
.lp-btn.white { background: #fff; color: var(--v) !important; }
.lp-hero { max-width: 1180px; margin: 0 auto; padding: 40px 20px 60px; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 960px) { .lp-hero { grid-template-columns: 1fr; } }
.lp-pill { display: inline-block; background: rgba(255,255,255,.75); border: 1px solid #F3E8FF; padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; color: #6D28D9; backdrop-filter: blur(6px); }
.lp-hero h1 { font-size: clamp(38px, 5.2vw, 62px); line-height: 1.03; letter-spacing: -.035em; margin: 18px 0 16px; font-weight: 800; }
.grad { background: linear-gradient(90deg, var(--v), var(--p) 55%, var(--o)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-lead { font-size: 18.5px; line-height: 1.6; color: #52525B; max-width: 560px; }
.lp-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 18px; }
.lp-trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; color: #3F3F46; font-size: 14px; font-weight: 500; }
.lp-mock { position: relative; padding: 30px 10px; }
.mk-window { background: #fff; border-radius: 22px; box-shadow: 0 30px 80px rgba(76,29,149,.18), 0 2px 0 rgba(0,0,0,.02); overflow: hidden; transform: rotate(-1.5deg); border: 1px solid #F4F4F5; }
.mk-top { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid #F4F4F5; font-size: 13px; }
.mk-top span { width: 10px; height: 10px; border-radius: 50%; background: #FCA5A5; }
.mk-top span:nth-child(2) { background: #FDE68A; } .mk-top span:nth-child(3) { background: #BBF7D0; }
.mk-top b { margin-left: 8px; color: #52525B; }
.mk-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; padding: 12px; }
.mk-day { min-height: 74px; border-radius: 10px; background: #FAFAFA; padding: 6px; display: flex; flex-direction: column; gap: 4px; }
.mk-day small { font-size: 11px; color: #A1A1AA; font-weight: 600; }
.mk-post { font-style: normal; font-size: 10.5px; line-height: 1.25; color: #fff; padding: 5px 6px; border-radius: 7px; font-weight: 600; }
.mk-post.violet { background: var(--v); } .mk-post.pink { background: var(--p); } .mk-post.orange { background: var(--o); } .mk-post.sky { background: var(--s); } .mk-post.lime { background: #65A30D; }
.mk-float { position: absolute; background: #fff; border-radius: 16px; padding: 12px 16px; font-size: 13.5px; box-shadow: 0 16px 40px rgba(0,0,0,.12); max-width: 260px; display: flex; align-items: center; gap: 8px; animation: lpFloat 6s ease-in-out infinite; }
.mk-float.f1 { left: -10px; top: 0; } .mk-float.f2 { right: -6px; top: 46%; animation-delay: 1.5s; } .mk-float.f3 { left: 20px; bottom: -6px; animation-delay: 3s; }
.mk-float b { color: var(--v); white-space: nowrap; }
.mk-ok { background: #DCFCE7; color: #15803D; border-radius: 50%; width: 24px; height: 24px; display: grid; place-items: center; font-weight: 800; flex: 0 0 24px; }
.mk-nets { display: flex; gap: 3px; }
@keyframes lpFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .mk-float { animation: none; } }
@media (max-width: 600px) { .mk-float { position: static; margin-top: 10px; max-width: none; } .mk-window { transform: none; } }
.lp-strip { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 34px; padding: 18px 20px; color: #71717A; font-weight: 700; font-size: 15px; border-top: 1px solid #F4F4F5; border-bottom: 1px solid #F4F4F5; background: rgba(255,255,255,.6); }
.lp-sec { max-width: 1180px; margin: 0 auto; padding: 80px 20px 10px; }
.lp-sec h2, .lp-final h2 { font-size: clamp(28px, 3.4vw, 42px); letter-spacing: -.03em; text-align: center; margin: 0 0 10px; font-weight: 800; }
.lp-sub { text-align: center; color: #71717A; font-size: 17px; margin: 0 auto 34px; max-width: 640px; }
.lp-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 30px; }
@media (max-width: 860px) { .lp-steps { grid-template-columns: 1fr; } }
.lp-step { background: #fff; border-radius: 22px; padding: 26px; box-shadow: 0 10px 30px rgba(0,0,0,.05); border: 1px solid #F4F4F5; }
.lp-step em { font-style: normal; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; color: #fff; font-weight: 800; font-size: 20px; background: linear-gradient(135deg, var(--v), var(--p)); }
.lp-step:nth-child(2) em { background: linear-gradient(135deg, var(--p), var(--o)); }
.lp-step:nth-child(3) em { background: linear-gradient(135deg, var(--s), var(--l)); }
.lp-step h3 { font-size: 19px; margin: 16px 0 6px; }
.lp-step p { color: #52525B; line-height: 1.55; margin: 0; }
.lp-feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1000px) { .lp-feats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .lp-feats { grid-template-columns: 1fr; } }
.lp-feat { border-radius: 22px; padding: 22px; background: #fff; border: 1px solid #F4F4F5; transition: transform .15s, box-shadow .15s; }
.lp-feat:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,0,0,.08); }
.lp-feat span { font-size: 26px; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; }
.lp-feat h3 { font-size: 17px; margin: 14px 0 6px; }
.lp-feat p { color: #52525B; font-size: 14.5px; line-height: 1.55; margin: 0; }
.c1 span { background: #EDE9FE; } .c2 span { background: #FCE7F3; } .c3 span { background: #FEF3C7; } .c4 span { background: #DCFCE7; }
.c5 span { background: #E0F2FE; } .c6 span { background: #FFE4E6; } .c7 span { background: #F3E8FF; } .c8 span { background: #ECFCCB; }
.lp-inds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .lp-inds { grid-template-columns: 1fr; } }
.lp-ind { border-radius: 22px; padding: 22px; color: #fff; display: flex; flex-direction: column; gap: 6px; min-height: 170px; }
.lp-ind span { font-size: 30px; }
.lp-ind b { font-size: 18px; }
.lp-ind small { opacity: .9; font-size: 14px; }
.lp-ind em { margin-top: auto; font-style: normal; font-size: 12.5px; background: rgba(255,255,255,.2); padding: 6px 10px; border-radius: 10px; }
.lp-ind.c1 { background: linear-gradient(135deg, #6D28D9, #8B5CF6); } .lp-ind.c2 { background: linear-gradient(135deg, #DB2777, #F472B6); }
.lp-ind.c3 { background: linear-gradient(135deg, #EA580C, #F59E0B); } .lp-ind.c4 { background: linear-gradient(135deg, #16A34A, #84CC16); }
.lp-ind.c5 { background: linear-gradient(135deg, #0369A1, #0EA5E9); } .lp-ind.c6 { background: linear-gradient(135deg, #BE123C, #FB7185); }
.lp-why { display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; align-items: center; }
@media (max-width: 860px) { .lp-why { grid-template-columns: 1fr; } }
.lp-why h2 { text-align: left; }
.lp-why p { color: #52525B; font-size: 17px; line-height: 1.6; }
.lp-why ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
.lp-why a { color: var(--v); }
.lp-quote { background: linear-gradient(135deg, #7C3AED, #EC4899); color: #fff; border-radius: 26px; padding: 34px; box-shadow: 0 24px 60px rgba(124,58,237,.3); }
.lp-quote p { font-size: 21px; line-height: 1.45; font-weight: 600; margin: 0 0 14px; color: #fff; }
.lp-quote span { opacity: .85; }
.lp-prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 860px) { .lp-prices { grid-template-columns: 1fr; } }
.lp-price { background: #fff; border-radius: 24px; padding: 26px; border: 1px solid #F4F4F5; position: relative; display: flex; flex-direction: column; gap: 6px; }
.lp-price.hot { border: 2px solid var(--v); box-shadow: 0 20px 50px rgba(124,58,237,.18); }
.lp-badge { position: absolute; top: -12px; left: 24px; background: linear-gradient(135deg, var(--v), var(--p)); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 99px; }
.lp-price h3 { margin: 0; font-size: 20px; }
.lp-price small { color: #71717A; }
.lp-amount { margin: 8px 0; color: #52525B; }
.lp-amount b { font-size: 34px; color: #18181B; letter-spacing: -.02em; }
.lp-price ul { padding-left: 18px; margin: 4px 0 16px; color: #3F3F46; font-size: 14.5px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.lp-price .lp-btn { justify-content: center; }
.lp-link { color: var(--v); font-weight: 600; }
.lp-faq { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.lp-faq details { background: #fff; border-radius: 16px; padding: 16px 20px; border: 1px solid #F4F4F5; }
.lp-faq summary { font-weight: 700; cursor: pointer; font-size: 16px; }
.lp-faq p { color: #52525B; line-height: 1.6; margin: 10px 0 0; }
.lp-final { margin: 90px auto 50px; max-width: 1140px; border-radius: 32px; padding: 60px 24px; text-align: center; color: #fff; background: linear-gradient(120deg, #6D28D9 0%, #DB2777 55%, #F59E0B 100%); box-shadow: 0 30px 80px rgba(219,39,119,.3); }
.lp-final h2 { color: #fff; }
.lp-final p { font-size: 18px; opacity: .95; margin: 0 0 26px; }
.lp-foot { max-width: 1180px; margin: 0 auto; padding: 20px 20px 40px; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; color: #71717A; font-size: 14px; }
.lp-foot div:first-child { display: flex; align-items: center; gap: 8px; }
.lp-foot a { color: #52525B; }

/* logowanie i rejestracja – kolorowo, jak strona główna */
.login-art { background: linear-gradient(140deg, #6D28D9 0%, #DB2777 60%, #F59E0B 100%) !important; }
.login-art::after { background: #fff !important; opacity: .12 !important; }
.la-mid p, .la-bot, .la-bot a { color: rgba(255,255,255,.85) !important; }
.la-card { background: rgba(255,255,255,.16) !important; border-color: rgba(255,255,255,.3) !important; }
.la-st { background: rgba(255,255,255,.9) !important; color: #15803D !important; }
.la-st.rev { color: #B45309 !important; }
body.login2 .btn-grad, body.auth .btn-grad { background: linear-gradient(135deg, #7C3AED, #EC4899) !important; color: #fff !important; border: 0 !important; }
body.auth { background: radial-gradient(800px 500px at 10% 0%, #EDE9FE 0%, transparent 60%), radial-gradient(700px 500px at 100% 20%, #FCE7F3 0%, transparent 55%), #FFFCF8; }
body.lp h3 { text-transform: none; letter-spacing: -.01em; color: #18181B; }
body.lp .lp-ind b, body.lp .lp-ind small { color: #fff; }
.lp-mock { padding: 40px 0 50px 20px; }
.mk-float.f1 { left: -20px; top: 0; }
.mk-float.f2 { right: -24px; top: auto; bottom: 90px; }
.mk-float.f3 { left: 40px; bottom: 0; }
.mk-day { min-height: 86px; }
.lp-ind > span { background: none !important; width: auto; height: auto; display: block; }
body.public:has(.pricing-page) { background: radial-gradient(900px 500px at 0% 0%, #EDE9FE 0%, transparent 60%), radial-gradient(800px 500px at 100% 10%, #FCE7F3 0%, transparent 55%), #FFFCF8; }
.pricing-page .plan-card.hot { border-color: #7C3AED; }
.pricing-page .plan-badge, .pricing-page .btn-grad { background: linear-gradient(135deg, #7C3AED, #EC4899) !important; color: #fff !important; border: 0; }

/* ===== strona akceptacji: posty jak po publikacji ===== */
.rv-switch { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; margin: 0 0 16px; box-shadow: var(--shadow); position: sticky; top: 8px; z-index: 5; }
.rv-switch span { font-size: 13px; color: var(--muted); margin-right: 4px; }
.rv-switch button, .rv-tabs button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 12px; font: inherit; font-size: 13px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; color: var(--text); }
.rv-switch button.on, .rv-tabs button.on { background: var(--text); color: #fff; border-color: var(--text); }
.rv-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 12px; }
.rv-tabs small { opacity: .65; font-size: 11.5px; max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rv-tabs .net, .rv-switch .net, .rv-one .net { width: 16px; height: 16px; }
.rv-one { font-size: 12.5px; color: var(--muted); margin-bottom: 8px; display: flex; align-items: center; gap: 6px; justify-content: center; }
.rv-stages { background: linear-gradient(180deg, #f0f2f5, #e9ebee); border-radius: 14px; padding: 18px 12px; }
.rv-stage { max-width: 500px; margin: 0 auto; }
.rv-stage .pv-fb2, .rv-stage .pv-li, .rv-stage .pv-gbp { box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.rv-stage .pv-ig2 { max-width: 470px; box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.rv-stage .ig-reel, .rv-stage .pv-tt { max-width: 340px; margin: 0 auto; }
.rv-stage .fb-text, .rv-stage .ig-cap, .rv-stage .li-text { font-size: 15px; line-height: 1.45; }
/* pojedyncze zdjęcie i wideo na FB/LinkedIn – w całości, bez przycinania */
.rv-stage .fb-grid.g1 .fb-cell img { height: auto; max-height: none; object-fit: contain; }
.rv-stage .fb-video video, .rv-stage .li-media video { max-height: 640px; background: #000; }
.rv-stage .rp-zoom { cursor: zoom-in; }
.rv-stage .fb-plus { cursor: zoom-in; }
.rv-stage .li-doc { display: block; text-decoration: none; color: inherit; }
.rv-hint { font-size: 12px; color: var(--muted); text-align: center; margin: 8px 0 0; }
.rv-card.rv-dim { opacity: .45; }
.rp-box { position: fixed; inset: 0; background: rgba(10,10,12,.92); z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 40px 60px; }
.rp-box[hidden] { display: none; }
.rp-box img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; box-shadow: 0 10px 40px rgba(0,0,0,.5); }
.rp-box button { position: absolute; border: 0; background: rgba(255,255,255,.14); color: #fff; width: 44px; height: 44px; border-radius: 50%; font-size: 26px; line-height: 1; cursor: pointer; }
.rp-box button:hover { background: rgba(255,255,255,.28); }
.rp-x { top: 14px; right: 14px; } .rp-p { left: 12px; top: 50%; transform: translateY(-50%); } .rp-n { right: 12px; top: 50%; transform: translateY(-50%); }
.rp-box button[hidden] { display: none; }
.rp-c { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); color: #fff; font-size: 13px; opacity: .8; }
@media (max-width: 600px) { .rv-stages { padding: 12px 4px; margin: 0 -10px; border-radius: 0; } .rp-box { padding: 50px 8px; } .rv-tabs small { display: none; } }

/* ===== TikTok: ustawienia publikacji w edytorze ===== */
.ch:has(input[type=checkbox]:not(:checked)) + .tt-box, .ch:has(input[type=checkbox]:not(:checked)) + .tt-box + .ch-custom { display: none; }
.tt-box { margin: 4px 0 10px 26px; padding: 10px 12px; border: 1px solid var(--line); border-left: 3px solid #111; border-radius: 10px; background: var(--soft2, #fafafa); display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.tt-who { display: flex; align-items: center; gap: 8px; }
.tt-who img, .tt-av { width: 26px; height: 26px; border-radius: 50%; background: #111; flex: 0 0 26px; object-fit: cover; }
.tt-box select { width: 100%; }
.tt-allow { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
.tt-chk { display: block; padding-left: 22px; text-indent: -22px; font-size: 13px; cursor: pointer; line-height: 1.4; }
.tt-chk input { width: auto; margin: 0 6px 0 0; vertical-align: -2px; }
.tt-allow .tt-chk { display: inline-block; padding-left: 0; text-indent: 0; }
.tt-chk.off { opacity: .5; cursor: not-allowed; }
.tt-comopts { margin-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.tt-warn, .tt-note.bad { color: #b91c1c; font-size: 12.5px; margin: 0; }
.tt-note { margin: 0; color: var(--muted); } .tt-note:empty { display: none; }
.tt-consent { margin: 0; color: var(--muted); }
.req { color: #b91c1c; }

/* ===== strona główna na telefonie: nic nie wystaje poza ekran ===== */
html:has(body.lp) { overflow-x: clip; }
body.lp { overflow-x: clip; }
.lp-hero > *, .lp-steps > *, .lp-feats > *, .lp-inds > *, .lp-why > *, .lp-prices > * { min-width: 0; }
.mk-cal { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.mk-day { min-width: 0; overflow: hidden; }
@media (max-width: 960px) { .lp-hero { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) {
  .lp-hero { padding: 24px 16px 40px; gap: 28px; }
  .lp-hero h1 { font-size: 34px; }
  .mk-cal { gap: 4px; padding: 8px; }
  .mk-day { font-size: 9px; }
}
@media (max-width: 600px) {
  .lp-nav { padding: 12px 14px; gap: 8px; }
  .lp-nav nav { gap: 10px; }
  .lp-nav .lp-btn.small, .lp-nav .lp-login { white-space: nowrap; font-size: 13px; }
  .lp-nav .lp-btn.small { padding: 8px 12px; }
  .lp-nav .brand-txt, .lp-nav b { font-size: 15px; }
}
@media (max-width: 600px) {
  .month-nav { flex-wrap: wrap; row-gap: 8px; }
  .month-nav h1 { min-width: 0; font-size: 22px; }
  .month-nav .seg { margin-left: 0; }
  html { overflow-x: clip; }
}

/* ===== stan systemu ===== */
.row-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; margin: 10px 0 14px; }
.row-actions form.inline { margin: 0; }
.doc-ico { display: grid; place-items: center; width: 100%; height: 100%; background: #FFF3E0; color: #E65100; font-weight: 700; font-size: 12px; aspect-ratio: 1; border-radius: 8px; }
