/* ============================================================
   redaktorzy.com — recreated design system (from screenshots)
   Scoped under .rk so it never leaks into the design-canvas chrome.
   Responsiveness is driven by .bp-desktop / .bp-tablet / .bp-mobile
   wrapper classes (NOT media queries) because every breakpoint is
   rendered simultaneously inside one canvas viewport.
   ============================================================ */

:root {
  --rk-blue: #0d71d3;
  --rk-blue-strong: #1a6ce3;
  --rk-blue-700: #0a5cb0;
  --rk-navy: #15315c;
  --rk-navy-deep: #14305c;
  --rk-ink: #233244;
  --rk-ink-soft: #3a4759;
  --rk-muted: #6e7787;
  --rk-muted-2: #98a1b0;
  --rk-red: #e74b3e;
  --rk-green: #1faf6b;
  --rk-page: #f3f4f6;
  --rk-head: #eef0f2;
  --rk-line: #e4e7ec;
  --rk-line-soft: #eef0f3;
  --rk-info: #d7e9f6;
  --rk-info-ink: #2c4a62;
  --rk-card: #ffffff;
  --rk-etap-1: #1668dd;
  --rk-etap-2: #34d3a0;
  --rk-etap-3: #39bef0;
  --rk-etap-4: #f5b400;
  --rk-etap-5: #14305c;
}

.rk, .rk * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Outfit', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.rk {
  background: var(--rk-page);
  color: var(--rk-ink);
  width: 100%;
  font-size: 15px;
  line-height: 1.5;
  position: relative;
  overflow: hidden;
}
.rk img { display: block; max-width: 100%; }
.rk button { cursor: pointer; }
.rk a { color: inherit; text-decoration: none; }

/* ---------- shared bits ---------- */
.rk-pill {
  display: inline-flex; align-items: center; justify-content: center;
  border: none; background: none;
  border-radius: 999px; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase; white-space: nowrap; transition: .15s;
}
.rk-btn-blue { background: var(--rk-blue); color: #fff; }
.rk-btn-blue:hover { background: var(--rk-blue-700); }
.rk-btn-outline-blue { border: 1.5px solid var(--rk-blue); color: var(--rk-blue); background: #fff; }
.rk-btn-outline-red { border: 1.5px solid var(--rk-red); color: var(--rk-red); background: #fff; }
.rk-btn-outline-ink { border: 1.5px solid #232c39; color: #232c39; background: #fff; }
.rk-btn-outline-navy { border: 1.5px solid #222f48; color: #222f48; background: #fff; }
.rk-btn-outline-navy:hover { background: #222f48; color: #fff; }
.rk-btn-disabled { border: 1.5px solid #dfe3e8; color: #b8bfc9; background: #fff; cursor: not-allowed; }

.rk-avatar {
  border-radius: 50%; flex: 0 0 auto; object-fit: cover; position: relative;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 600; overflow: hidden; background-size: cover;
}
.rk-av-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   HEADER (desktop / tablet)
   ============================================================ */
.rk-topnav {
  background: #fff; display: flex; align-items: center; justify-content: space-between;
  padding: 22px 56px;
}
.rk-logo { font-weight: 800; font-size: 26px; color: var(--rk-navy); letter-spacing: -.02em; display: flex; align-items: center; }
.rk-logo .dot { color: var(--rk-blue); }
.rk-logo .tri {
  width: 0; height: 0; margin: 0 1px 0 2px;
  border-top: 9px solid transparent; border-bottom: 9px solid transparent;
  border-left: 13px solid var(--rk-blue); transform: translateY(1px);
}
.rk-topnav-links { display: flex; align-items: center; gap: 30px; font-size: 13px; font-weight: 600; letter-spacing: .03em; color: var(--rk-ink); text-transform: uppercase; }
.rk-topnav-links .caret { font-size: 9px; opacity: .6; margin-left: 4px; }
.rk-topnav .rk-pill { font-size: 12px; padding: 15px 26px; }

/* blue logged-in bar */
.rk-bluebar {
  background: var(--rk-blue-strong); color: #fff;
  display: flex; align-items: center; justify-content: space-between;
  padding: 17px 56px; font-size: 14px;
}
.rk-bluebar .who { line-height: 1.35; }
.rk-bluebar .who b { font-weight: 700; }
.rk-bluebar-links { display: flex; gap: 34px; font-weight: 600; letter-spacing: .03em; font-size: 13px; text-transform: uppercase; }
.rk-bluebar-links a { padding-bottom: 4px; opacity: .92; }
.rk-bluebar-links a.active { border-bottom: 2px solid #fff; opacity: 1; }
.rk-bluebar .logout b { font-weight: 700; }
.rk-bluebar .logout span { font-weight: 400; opacity: .9; }

/* compact header (tablet+mobile) */
.rk-mobnav {
  background: #fff; display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px;
}
.rk-burger { width: 42px; height: 42px; border-radius: 50%; background: var(--rk-blue); display: flex; align-items: center; justify-content: center; }
.rk-burger span { display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px; box-shadow: 0 -5px 0 #fff, 0 5px 0 #fff; }

/* ============================================================
   PROGRESS STEPS
   ============================================================ */
.rk-steps { background: var(--rk-page); padding: 40px 56px 8px; }
.rk-steps-row { display: flex; }
.rk-step { flex: 1; display: flex; flex-direction: column; align-items: center; position: relative; }
.rk-step .circle {
  width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: #fff; border: 3px solid #d2d7de; z-index: 2; position: relative;
}
.rk-step.done .circle { background: var(--rk-blue); border-color: var(--rk-blue); }
.rk-step.current .circle { border-color: var(--rk-blue); }
.rk-step.current .circle::after { content: ''; width: 14px; height: 14px; border-radius: 50%; background: var(--rk-blue); }
.rk-step .circle svg { width: 18px; height: 18px; }
.rk-step .line { position: absolute; top: 21px; height: 3px; left: 50%; right: -50%; z-index: 1; background: #d2d7de; }
.rk-step.done .line { background: var(--rk-blue); }
.rk-step:last-child .line { display: none; }
.rk-step .lbl { margin-top: 16px; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; text-align: center; color: var(--rk-ink); }
.rk-step.future .lbl { color: var(--rk-muted-2); }
.rk-edit-pill { display: flex; justify-content: flex-start; padding: 14px 56px 0; }
.rk-edit-pill .rk-pill { font-size: 11px; padding: 9px 16px; }
.rk-steps-wrap { position: relative; }
.rk-edit-abs { position: absolute; left: 56px; }

/* mobile steps */
.bp-mobile .rk-steps { padding: 22px 18px 4px; }
.bp-mobile .rk-step .circle { width: 26px; height: 26px; border-width: 2.5px; }
.bp-mobile .rk-step .circle svg { width: 12px; height: 12px; }
.bp-mobile .rk-step.current .circle::after { width: 9px; height: 9px; }
.bp-mobile .rk-step .line { top: 13px; height: 2.5px; }
.bp-mobile .rk-step .lbl { font-size: 9px; margin-top: 9px; letter-spacing: .01em; line-height: 1.2; }

/* ============================================================
   PAGE SHELL
   ============================================================ */
.rk-main { padding: 30px 56px 60px; }
.bp-tablet .rk-main { padding: 26px 30px 50px; }
.bp-mobile .rk-main { padding: 20px 18px 40px; }
.bp-tablet .rk-topnav, .bp-tablet .rk-bluebar { padding-left: 30px; padding-right: 30px; }

.rk-info {
  background: var(--rk-info); color: var(--rk-info-ink);
  border-radius: 8px; padding: 24px 30px; font-size: 15px; line-height: 1.6; margin-bottom: 36px;
}
.rk-info b { font-weight: 700; }
.bp-mobile .rk-info { padding: 18px 18px; font-size: 14px; }

.rk-banner {
  background: var(--rk-blue); color: #fff; border-radius: 8px;
  text-align: center; font-size: 26px; font-weight: 600; padding: 30px; margin-bottom: 38px;
}
.bp-mobile .rk-banner { font-size: 19px; padding: 22px 16px; border-radius: 6px; }

.rk-section-head { display: flex; align-items: center; justify-content: space-between; margin: 8px 0 22px; gap: 16px; }
.rk-section-head h2 { font-size: 30px; font-weight: 600; color: var(--rk-ink); letter-spacing: -.01em; }
.bp-mobile .rk-section-head h2 { font-size: 22px; }
.rk-section-head .rk-pill { font-size: 11px; padding: 11px 18px; }
.rk-block { margin-bottom: 52px; }
.bp-mobile .rk-block { margin-bottom: 38px; }

/* ============================================================
   OFFERS LIST + HARMONOGRAM — DESKTOP (table rendered as grid)
   ============================================================ */
.rk-table { background: #fff; border: 1px solid var(--rk-line); border-radius: 4px; overflow: hidden; }
.rk-grid { display: grid; }
.rk-grid .gh {
  background: var(--rk-head); font-size: 13px; font-weight: 600; color: var(--rk-ink-soft);
  padding: 20px 22px; display: flex; align-items: center;
}
.rk-grid .gc {
  padding: 20px 22px; display: flex; align-items: center; font-size: 14.5px;
  border-top: 1px solid var(--rk-line); color: var(--rk-ink); min-width: 0;
}
.rk-grid .gc.col-first, .rk-grid .gh.col-first { border-left: none; }

/* offers desktop columns: name(auto) | data | kwota | wiadomości | działania(right) */
.rk-offers-grid { grid-template-columns: max-content 1fr 1.3fr 1fr auto; }
.rk-offers-grid .nm { display: flex; align-items: center; gap: 14px; font-weight: 500; white-space: nowrap; }
.rk-offers-grid .nm .rk-profil { margin-left: auto; }
.rk-offers-grid .nm .rk-avatar { width: 38px; height: 38px; font-size: 14px; }
.rk-offers-grid .act { justify-content: flex-end; }
.rk-kwota { font-weight: 600; white-space: nowrap; }
.rk-msg-0 { color: var(--rk-muted); }
.rk-msg-badge { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.rk-msg-bubble {
  width: 34px; height: 34px; border-radius: 50%; background: var(--rk-red); color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.rk-msg-bubble svg { width: 17px; height: 17px; }
.rk-msg-row { display: inline-flex; align-items: center; gap: 9px; }
.rk-msg-row .rk-msg-bubble { width: 28px; height: 28px; }
.rk-msg-row .rk-msg-bubble svg { width: 14px; height: 14px; }
.rk-msg-row .rk-msg-count { color: var(--rk-red); font-weight: 600; }
.rk-msg-count { font-size: 13px; color: var(--rk-ink); font-weight: 500; }
.rk-szczegoly { padding: 10px 22px; font-size: 12px; }

/* harmonogram desktop columns */
.rk-harm-grid { grid-template-columns: 70px 1fr 1fr 1.4fr 1.6fr 1.4fr auto; }
.rk-harm-grid.cols6 { grid-template-columns: 70px 1fr 1fr 1.4fr 1.8fr auto; }
.rk-etap-num {
  width: 34px; height: 34px; border-radius: 50%; color: #fff; font-weight: 700; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
}
.rk-harm-actions { display: flex; flex-direction: column; gap: 8px; align-items: stretch; }
.rk-harm-actions .rk-pill { font-size: 10px; padding: 9px 14px; letter-spacing: .05em; }
.rk-pay { display: flex; align-items: center; gap: 12px; }
.rk-zaplac { padding: 8px 16px; font-size: 11px; }
.rk-green { color: var(--rk-green); }
.rk-status-accept { color: var(--rk-green); font-weight: 600; }
.rk-two-line { line-height: 1.45; }
.rk-two-line small { display: block; color: var(--rk-muted); font-size: 13px; }

/* ============================================================
   CARD LAYOUTS (tablet + mobile) — vertical, no h-scroll
   ============================================================ */
.rk-cards { display: flex; flex-direction: column; gap: 14px; }
.bp-tablet .rk-cards.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }

/* shared card frame */
.rk-card {
  background: #fff; border: 1px solid var(--rk-line); border-radius: 12px;
  padding: 16px 18px; box-shadow: 0 1px 2px rgba(20,40,80,.04);
}
.rk-card-head { display: flex; align-items: center; gap: 12px; }
.rk-card-head .rk-profil { margin-left: auto; flex: 0 0 auto; }
.rk-card-head .rk-avatar { width: 44px; height: 44px; font-size: 16px; }
.rk-card-name { font-weight: 600; font-size: 16px; color: var(--rk-ink); }
.rk-card-divider { height: 1px; background: var(--rk-line-soft); margin: 14px 0; }

/* Variant A — label/value rows */
.rk-kv { display: flex; flex-direction: column; gap: 11px; }
.rk-kv-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.rk-kv-row .k { font-size: 13px; color: var(--rk-muted); flex: 1 1 auto; min-width: 0; }
.rk-kv-row .v { font-size: 14.5px; color: var(--rk-ink); text-align: right; font-weight: 500; flex: 0 0 auto; }
.rk-row-czat { align-items: center; margin-top: 4px; justify-content: space-between; }
.rk-row-czat .rk-czat-msg { text-align: left; }
.rk-czat-inline { flex: 0 0 auto; margin-left: auto; }
.rk-card-foot { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.rk-card-foot .rk-pill { padding: 11px 22px; font-size: 12px; }

/* Variant B — compact emphasised */
.rk-cardb-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.rk-cardb-id { display: flex; align-items: center; gap: 12px; min-width: 0; }
.rk-cardb-id .rk-card-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rk-cardb-price { text-align: right; flex: 0 0 auto; }
.rk-cardb-price .num { font-size: 19px; font-weight: 700; color: var(--rk-ink); white-space: nowrap; }
.rk-cardb-price .lab { font-size: 10.5px; color: var(--rk-muted); text-transform: uppercase; letter-spacing: .04em; }
.rk-cardb-meta { display: flex; align-items: center; gap: 16px; margin-top: 14px; flex-wrap: wrap; }
.rk-chip { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--rk-muted); }
.rk-chip svg { width: 15px; height: 15px; opacity: .7; }
.rk-chip.msg { color: var(--rk-red); font-weight: 600; }
.rk-chip.msg svg { opacity: 1; }
.rk-cardb-foot { margin-top: 16px; text-align: center; }
.rk-cardb-foot .rk-pill { padding: 11px 22px; font-size: 12px; }

/* harmonogram card header */
.rk-harm-card-head { display: flex; align-items: center; gap: 12px; }
.rk-harm-card-head .rk-etap-num { width: 36px; height: 36px; }
.rk-harm-card-head .etap-lbl { font-weight: 600; font-size: 16px; }
.rk-status-pill {
  margin-left: auto; font-size: 11px; font-weight: 600; padding: 6px 12px; border-radius: 999px;
  background: #eef1f5; color: var(--rk-ink-soft); white-space: nowrap;
}
.rk-status-pill.accept { background: rgba(31,175,107,.12); color: var(--rk-green); }
.rk-status-pill.pay { background: rgba(245,180,0,.16); color: #9a6b00; }

/* ============================================================
   CHAT + REDAKTOR (views 3-5)
   ============================================================ */
.rk-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.rk-two-col > * { min-width: 0; }
.bp-tablet .rk-two-col, .bp-mobile .rk-two-col { grid-template-columns: minmax(0, 1fr); gap: 26px; }
.rk-chat-head { display: flex; align-items: center; gap: 14px; margin-bottom: 6px; }
.rk-chat-head h3 { font-size: 25px; font-weight: 600; }
.bp-mobile .rk-chat-head h3 { font-size: 19px; }
.rk-offline { background: var(--rk-red); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .05em; padding: 5px 10px; border-radius: 4px; }
.rk-chat-meta { display: flex; align-items: center; justify-content: space-between; font-size: 14px; color: var(--rk-ink); margin-bottom: 12px; }
.bp-mobile .rk-chat-meta { flex-wrap: wrap; gap: 4px 14px; }
.rk-bub { overflow-wrap: anywhere; }
.rk-chat-meta .save { color: var(--rk-blue); display: inline-flex; align-items: center; gap: 8px; }
.rk-chat-box { background: #eef0f2; border-radius: 8px; padding: 18px; }
.rk-chat-scroll { display: flex; flex-direction: column; gap: 10px; max-height: 320px; overflow: hidden; }
.rk-bub { max-width: 86%; padding: 11px 15px; border-radius: 12px; font-size: 14px; line-height: 1.45; }
.rk-bub .ts { display: block; font-size: 11px; opacity: .8; margin-bottom: 4px; }
.rk-bub.me { background: var(--rk-blue); color: #fff; align-self: flex-end; border-bottom-right-radius: 3px; }
.rk-bub.me .ts { color: #dceafd; }
.rk-bub.them { background: #fff; color: var(--rk-ink); align-self: flex-start; border-bottom-left-radius: 3px; }
.rk-bub.them .ts { color: var(--rk-muted); }
.rk-chat-input { display: flex; gap: 10px; background: #fff; border-radius: 8px; padding: 8px 8px 8px 16px; margin-top: 14px; align-items: center; }
.rk-chat-input span { color: var(--rk-muted-2); flex: 1; font-size: 14px; }
.rk-chat-input .rk-pill { background: var(--rk-navy-deep); color: #fff; border-radius: 6px; padding: 12px 22px; font-size: 13px; letter-spacing: 0; text-transform: none; }
.rk-chat-add { font-size: 13px; color: var(--rk-ink); margin-top: 10px; }
.rk-chat-hint { font-size: 13px; color: var(--rk-muted); margin-top: 12px; display: flex; align-items: center; gap: 8px; }
.rk-chat-hint svg, .rk-chat-meta .save svg { width: 17px; height: 17px; flex: 0 0 auto; }

.rk-redaktor h3 { font-size: 25px; font-weight: 600; margin-bottom: 18px; }
.bp-mobile .rk-redaktor h3 { font-size: 19px; }
.rk-redaktor-card { background: #fff; border: 1px solid var(--rk-line); border-radius: 8px; padding: 26px 28px; display: flex; align-items: center; gap: 22px; }
.rk-redaktor-card .rk-avatar { width: 72px; height: 72px; font-size: 22px; }
.rk-redaktor-card .info { flex: 1; text-align: center; }
.rk-redaktor-card .info .nm { font-size: 22px; font-weight: 600; }
.rk-redaktor-card .info .loc { font-size: 14px; color: var(--rk-muted); margin-top: 2px; }
.rk-redaktor-card .rk-pill { font-size: 11px; padding: 12px 18px; }
.rk-opinia-card { background: #fff; border: 1px solid var(--rk-line); border-radius: 8px; padding: 28px; text-align: center; margin-top: 18px; }
.rk-opinia-card .ttl { font-size: 21px; font-weight: 600; line-height: 1.35; margin-bottom: 18px; }
.rk-opinia-card .rk-pill { font-size: 12px; padding: 14px 26px; }

/* ============================================================
   SPEC LIST
   ============================================================ */
.rk-spec { background: #fff; border: 1px solid var(--rk-line); border-radius: 8px; padding: 34px 40px; }
.bp-mobile .rk-spec { padding: 22px; }
.rk-spec-row { display: grid; grid-template-columns: 220px 1fr; gap: 24px; padding: 9px 0; align-items: start; }
.bp-mobile .rk-spec-row { grid-template-columns: 1fr; gap: 3px; padding: 11px 0; border-bottom: 1px solid var(--rk-line-soft); }
.rk-spec-row .k { font-size: 14.5px; color: var(--rk-ink); }
.rk-spec-row .v { font-size: 14.5px; color: var(--rk-ink); font-weight: 600; line-height: 1.55; }
.rk-spec-row .v.multi { font-weight: 600; }

/* ============================================================
   FOOTER
   ============================================================ */
.rk-foot-cta { display: flex; justify-content: center; padding: 6px 0 50px; }
.rk-foot-cta .rk-pill { font-size: 12px; padding: 13px 28px; }
.rk-footer { background: var(--rk-page); padding: 40px 56px 50px; position: relative; }
.rk-footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 30px; align-items: start; }
.rk-footer .brand .c { font-weight: 700; color: var(--rk-ink); margin-bottom: 14px; }
.rk-footer .brand p { font-size: 14px; color: var(--rk-muted); line-height: 1.5; max-width: 320px; }
.rk-footer .col h4 { font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--rk-ink); text-transform: uppercase; margin-bottom: 18px; }
.rk-footer .col a { display: block; font-size: 14px; color: var(--rk-blue); margin-bottom: 14px; }
.rk-footer .foot-btn { display: flex; justify-content: flex-end; }
.rk-footer .foot-btn .rk-pill { font-size: 12px; padding: 15px 30px; }
.bp-mobile .rk-footer, .bp-tablet .rk-footer { padding: 36px 24px 40px; }
.bp-mobile .rk-footer-top { grid-template-columns: 1fr; text-align: center; gap: 26px; }
.bp-mobile .rk-footer .col a { margin-bottom: 12px; }
.bp-mobile .rk-footer .foot-btn { justify-content: stretch; }
.bp-mobile .rk-footer .foot-btn .rk-pill { width: 100%; }
.bp-mobile .rk-footer .brand { order: 9; }
.rk-tri { position: absolute; width: 0; height: 0; }

/* sub-steps row (edit pill / powrót) + centered cta */
.rk-substeps { display: flex; padding: 16px 56px 0; }
.rk-substeps.right { justify-content: flex-end; }
.rk-substeps .rk-pill { font-size: 11px; padding: 11px 18px; }
.bp-tablet .rk-substeps { padding-left: 30px; padding-right: 30px; }
.bp-mobile .rk-substeps { padding-left: 18px; padding-right: 18px; }
.rk-center-cta { display: flex; justify-content: center; padding: 6px 0 8px; }
.rk-center-cta .rk-pill { font-size: 12px; padding: 13px 28px; }

/* decorative footer triangles (desktop/tablet) */
.rk-decor { position: relative; height: 0; }
.rk-decor i { position: absolute; width: 0; height: 0; display: block; }
.rk-decor .t1 { right: 210px; bottom: 70px; border-left: 14px solid transparent; border-right: 14px solid transparent; border-bottom: 24px solid var(--rk-navy-deep); transform: rotate(18deg); }
.rk-decor .t2 { right: 330px; bottom: 18px; border-left: 11px solid transparent; border-right: 11px solid transparent; border-top: 19px solid #36d39f; transform: rotate(-12deg); }
.rk-decor .t3 { right: 250px; bottom: -6px; border-left: 18px solid transparent; border-right: 18px solid transparent; border-top: 30px solid #34bdf2; transform: rotate(8deg); }
.bp-mobile .rk-decor { display: none; }

/* Button spec (uniform, per spec): 2px border, 4px/12px padding, weight 700.
   .rk button.rk-pill wins over every per-context override. */
.rk button.rk-pill.rk-pill { padding: 4px 12px; border-width: 2px; font-weight: 700; font-size: 10px; }

/* Provisional prototype nav (standalone subpages only) */
.proto-nav { position: sticky; top: 0; z-index: 50; background: #14305c; color: #fff;
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap; padding: 8px 16px;
  font-family: 'Outfit', system-ui, sans-serif; font-size: 13px; }
.proto-nav .lbl { font-weight: 700; opacity: .75; margin-right: 8px; letter-spacing: .02em; }
.proto-nav a { color: #cfe0f5; text-decoration: none; padding: 6px 12px; border-radius: 6px;
  font-weight: 600; white-space: nowrap; transition: background .12s, color .12s; }
.proto-nav a:hover { background: rgba(255,255,255,.12); color: #fff; }
.proto-nav a.active { background: #1668dd; color: #fff; }
@media (max-width: 600px) { .proto-nav { font-size: 12px; } .proto-nav .lbl { flex-basis: 100%; margin-bottom: 4px; } }

/* Per spec: uniform 13px / 600 for ALL headers + text inside the offers &
   harmonogram tables — desktop grid AND card layouts, every breakpoint. */
.rk-table .gh,
.rk-table .gc,
.rk-offers-grid .nm,
.rk-grid .rk-kwota,
.rk-msg-count,
.rk-two-line,
.rk-two-line small,
.rk-status-accept,
.rk-card .rk-card-name,
.rk-card .etap-lbl,
.rk-card .rk-status-pill,
.rk-card .rk-kv-row .k,
.rk-card .rk-kv-row .v { font-size: 13px; font-weight: 600; }

/* Tweak: "Wartości w prawej kolumnie do lewej" — two equal 50% columns,
   both left-aligned. Affects offers + harmonogram cards (tablet & mobile). */
body.kv-left .rk-kv-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: baseline; }
body.kv-left .rk-kv-row .k,
body.kv-left .rk-kv-row .v { text-align: left; }
