.mbk {
  --mbk-wine: #5e1027;
  --mbk-wine-dark: #430a1b;
  --mbk-wine-tint: #f7eef1;
  --mbk-gold: #c39a45;
  --mbk-gold-tint: #fbf4e3;
  --mbk-line: #e3d8db;
  --mbk-text: #2a1a20;
  --mbk-muted: #6e5b62;
  max-width: 760px; margin: 0 auto; padding: 24px; background: #fff; color: var(--mbk-text);
  font-size: 16px; line-height: 1.5; border-radius: 12px;
}
.mbk *, .mbk *::before, .mbk *::after { box-sizing: border-box; }
.mbk [hidden] { display: none !important; }
.mbk-sec { margin: 0 0 28px; }
.mbk-sec h3 { margin: 0 0 14px; padding-bottom: 8px; font-family: Georgia, 'Times New Roman', serif; font-size: 1.2em; font-weight: 600; color: var(--mbk-wine); border-bottom: 2px solid var(--mbk-gold); }

.mbk-choices { display: flex; flex-wrap: wrap; gap: 12px; }
.mbk-card { flex: 1 1 260px; text-align: left; padding: 14px 16px; border: 2px solid var(--mbk-line); border-radius: 10px; background: #fff; color: var(--mbk-text); cursor: pointer; display: flex; flex-direction: column; gap: 4px; font: inherit; }
.mbk-card small { color: var(--mbk-muted); font-size: .85em; }
.mbk-card:hover { border-color: var(--mbk-gold); }
.mbk-card.is-on { border-color: var(--mbk-wine); background: var(--mbk-wine-tint); }

.mbk-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.mbk-chip { padding: 9px 16px; border: 2px solid var(--mbk-line); border-radius: 999px; background: #fff; color: var(--mbk-text); cursor: pointer; font: inherit; display: inline-flex; flex-direction: column; align-items: center; line-height: 1.25; }
.mbk-chip small { color: var(--mbk-muted); font-size: .78em; }
.mbk-chip:hover { border-color: var(--mbk-gold); }
.mbk-chip.is-on { border-color: var(--mbk-wine); background: var(--mbk-wine); color: #fff; }
.mbk-chip.is-on small { color: #f0dfe4; }

.mbk-cal { max-width: 360px; margin-bottom: 14px; }
.mbk-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; color: var(--mbk-wine); }
.mbk-nav { width: 38px; height: 38px; border: 1px solid var(--mbk-line); border-radius: 8px; background: #fff; color: var(--mbk-wine); font-size: 22px; line-height: 1; cursor: pointer; }
.mbk-nav:hover:not(:disabled) { border-color: var(--mbk-gold); }
.mbk-nav:disabled { opacity: .35; cursor: default; }
.mbk-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.mbk-dow { text-align: center; font-size: .8em; color: var(--mbk-muted); padding: 4px 0; }
.mbk-day { aspect-ratio: 1; border: 1px solid transparent; border-radius: 8px; background: transparent; color: #b9adb1; font: inherit; cursor: default; padding: 0; }
.mbk-day.is-free { background: var(--mbk-gold-tint); color: var(--mbk-text); border-color: var(--mbk-gold); cursor: pointer; font-weight: 600; }
.mbk-day.is-free:hover { border-color: var(--mbk-wine); }
.mbk-day.is-on { background: var(--mbk-wine); border-color: var(--mbk-wine); color: #fff; }
.mbk-times-title { margin: 8px 0; font-weight: 600; color: var(--mbk-wine); }

.mbk-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px 16px; margin-bottom: 12px; }
.mbk-field { display: flex; flex-direction: column; gap: 4px; margin-bottom: 12px; }
.mbk-grid .mbk-field { margin-bottom: 0; }
.mbk-field span { font-size: .9em; font-weight: 600; color: var(--mbk-wine); }
.mbk-field input, .mbk-field textarea { width: 100%; padding: 10px 12px; border: 1px solid #b9a9ae; border-radius: 8px; font: inherit; background: #fff; color: var(--mbk-text); }
.mbk-field input:focus, .mbk-field textarea:focus { outline: 2px solid var(--mbk-gold); outline-offset: 1px; border-color: var(--mbk-wine); }
.mbk-check { display: flex; gap: 10px; align-items: flex-start; margin: 8px 0 16px; font-size: .92em; }
.mbk-check input { margin-top: 4px; flex: 0 0 auto; accent-color: var(--mbk-wine); }
.mbk-check a { color: var(--mbk-wine); }
.mbk-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.mbk-summary { background: var(--mbk-gold-tint); border-left: 4px solid var(--mbk-gold); border-radius: 8px; padding: 14px 16px; margin: 0 0 16px; }
.mbk-summary h4 { margin: 0 0 6px; font-family: Georgia, 'Times New Roman', serif; color: var(--mbk-wine); }
.mbk-list { list-style: none; margin: 8px 0 0; padding: 0; }
.mbk-list li { margin: 2px 0; }

.mbk-btn { display: inline-block; padding: 13px 30px; border: 2px solid var(--mbk-wine); border-radius: 8px; background: var(--mbk-wine); color: #fff; font: inherit; font-weight: 700; cursor: pointer; text-decoration: none; }
.mbk-btn:hover { background: var(--mbk-wine-dark); border-color: var(--mbk-wine-dark); color: #fff; }
.mbk-btn:focus-visible { outline: 3px solid var(--mbk-gold); outline-offset: 2px; }
.mbk-btn:disabled { opacity: .6; cursor: wait; }

.mbk-box { padding: 14px 16px; border-radius: 10px; border: 1px solid var(--mbk-line); background: #fff; margin: 0 0 14px; }
.mbk-ok { background: var(--mbk-gold-tint); border-color: var(--mbk-gold); border-left-width: 4px; }
.mbk-err { background: #fdf1f1; border-color: #e3a3a8; color: #8a1f26; }
.mbk-err-text { color: #8a1f26; }

/* Zwykła wielkość liter jak w zdaniach: nadpisanie stylów motywu (capitalize / uppercase) */
.mbk, .mbk *:not(svg):not(path) { text-transform: none !important; font-variant: normal !important; letter-spacing: normal !important; }
