/* Dukly — kreator strony v2 */
.kr-head { padding-bottom: 40px; }
.kr { padding-bottom: 120px; }
.kr .wrap { max-width: 1400px; }
.kr-grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 40px; align-items: start; }

/* ===== Toolbar & preview frame ===== */
.kr-preview { position: sticky; top: 84px; min-width: 0; }
.kr-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; }
.kr-devices { display: inline-flex; gap: 4px; padding: 4px; border-radius: 99px; background: var(--soft); }
.seg-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 16px;
  border: 0; border-radius: 99px; background: transparent; font: inherit; font-size: 14px; font-weight: 600;
  color: var(--grey); cursor: pointer; transition: background-color .2s, color .2s;
}
.seg-btn svg { width: 17px; height: 17px; flex-shrink: 0; }
.seg-btn[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.seg-btn:not([aria-pressed="true"]):hover { color: var(--ink); }
.kr-tools { display: flex; gap: 6px; }
.kr-tool {
  display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 14px; border-radius: 99px;
  border: 1.5px solid var(--line); background: transparent; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink); cursor: pointer;
  transition: border-color .2s, color .2s, transform .2s;
}
.kr-tool svg { width: 16px; height: 16px; }
.kr-tool:hover { border-color: var(--accent); color: var(--accent); }
.kr-tool-icon { width: 40px; padding: 0; justify-content: center; }
.kr-tool .i-close { display: none; }
.kr-tool.spin svg { animation: spin .6s cubic-bezier(.2,.7,.2,1); }
@keyframes spin { to { transform: rotate(360deg); } }

.kr-frame {
  position: relative; margin: 0 auto; width: 100%; border-radius: 14px; overflow: hidden; background: #e8e8ed;
  box-shadow: 0 0 0 1px rgba(0,0,0,.08), 0 30px 70px -30px rgba(0,0,0,.35);
  transition: width .45s cubic-bezier(.2,.7,.2,1), border-radius .45s, box-shadow .3s;
}
:root[data-theme="dark"] .kr-frame:not(.is-phone):not(.is-tablet) { background: #2c2c2e; box-shadow: 0 0 0 1px #3a3a3c, 0 30px 70px -30px rgba(0,0,0,.8); }
.kr-bar { display: flex; align-items: center; gap: 14px; height: 40px; padding: 0 14px; }
.kr-dots { display: flex; gap: 6px; }
.kr-dots i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.kr-dots i:nth-child(2) { background: #febc2e; }
.kr-dots i:nth-child(3) { background: #28c840; }
.kr-url {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; height: 26px; max-width: 360px; margin: 0 auto;
  border-radius: 8px; background: rgba(255,255,255,.75); font-size: 13px; color: #3a3a3c; overflow: hidden; white-space: nowrap;
}
:root[data-theme="dark"] .kr-url { background: #1c1c1e; color: #c7c7cc; }
.kr-url svg { width: 12px; height: 12px; flex-shrink: 0; }
.kr-viewport {
  height: min(74vh, 760px); overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain;
  background: var(--ms-bg, #fff); -webkit-overflow-scrolling: touch;
}
/* The preview renders at a real device width and is scaled to fit (zoom set in JS) */
.kr-canvas { container-type: inline-size; container-name: pv; width: 100%; }
.kr-frame.is-tablet { width: 780px; max-width: 100%; border-radius: 30px; border: 14px solid #0c0c0d; background: #0c0c0d; box-shadow: 0 0 0 1.5px #c9c9ce, 0 30px 70px -30px rgba(0,0,0,.45); }
.kr-frame.is-tablet .kr-bar { height: 34px; background: var(--ms-bg, #fff); justify-content: center; }
.kr-frame.is-tablet .kr-dots { display: none; }
.kr-frame.is-tablet .kr-url { background: transparent; color: var(--ms-mute, #666); font-size: 12px; }
.kr-frame.is-tablet .kr-viewport { border-radius: 0 0 16px 16px; }

/* iPhone frame */
.kr-status-time, .kr-status-icons, .kr-phone-bottom { display: none; }
.kr-frame.is-phone {
  width: 320px; max-width: 100%; padding: 9px; border: 0; border-radius: 54px; background: #0c0c0d;
  box-shadow: inset 0 0 0 1.5px #3a3a3c, 0 0 0 2px #b9b9be, 0 0 0 3px #e3e3e6, 0 40px 80px -30px rgba(0,0,0,.5);
}
.kr-frame.is-phone .kr-bar {
  position: relative; height: 46px; padding: 0 26px 0 30px; justify-content: space-between; gap: 0;
  border-radius: 45px 45px 0 0; background: var(--ms-bg, #fff); color: var(--ms-ink, #111);
}
.kr-frame.is-phone .kr-bar::after { content: ""; position: absolute; top: 11px; left: 50%; transform: translateX(-50%); width: 96px; height: 28px; border-radius: 20px; background: #000; }
.kr-frame.is-phone .kr-dots, .kr-frame.is-phone .kr-url, .kr-frame.is-phone .kr-ai-tag { display: none; }
.kr-frame.is-phone .kr-status-time { display: block; font-size: 14px; font-weight: 600; letter-spacing: -.01em; padding-top: 4px; }
.kr-frame.is-phone .kr-status-icons { display: flex; align-items: center; gap: 5px; padding-top: 4px; }
.kr-frame.is-phone .kr-status-icons svg:first-child { width: 17px; height: 11px; }
.kr-frame.is-phone .kr-status-icons svg:last-child { width: 25px; height: 12px; }
.kr-frame.is-phone .kr-viewport { border-radius: 0; }
.kr-frame.is-phone .kr-phone-bottom {
  display: flex; flex-direction: column; align-items: center; gap: 9px; padding: 8px 14px 8px;
  border-radius: 0 0 45px 45px; background: var(--ms-bg, #fff); border-top: 1px solid rgba(128,128,128,.18);
}
.kr-url-m { display: flex; align-items: center; justify-content: center; gap: 5px; width: 100%; height: 30px; border-radius: 12px; background: rgba(128,128,128,.16); color: var(--ms-ink, #111); font-size: 12.5px; font-weight: 500; }
.kr-url-m svg { width: 11px; height: 11px; }
.kr-home { display: block; width: 110px; height: 4px; border-radius: 99px; background: var(--ms-ink, #111); opacity: .85; }
.kr-frame.is-phone .ms-wa { right: 22px; bottom: 100px; width: 44px; height: 44px; }
.kr-frame.is-phone .kr-ai-overlay { inset: 55px 9px 9px; border-radius: 0 0 45px 45px; }
.kr-hint { margin-top: 14px; font-size: 14px; color: var(--grey); text-align: center; }

/* Fullscreen preview */
.kr-preview.is-full {
  position: fixed; inset: 0; z-index: 300; display: flex; flex-direction: column; padding: 16px clamp(12px, 3vw, 40px) 20px;
  background: rgba(10,10,12,.86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.kr-preview.is-full .kr-toolbar { max-width: 1400px; width: 100%; margin: 0 auto 14px; }
.kr-preview.is-full .kr-devices { background: rgba(255,255,255,.1); }
.kr-preview.is-full .seg-btn { color: #c7c7cc; }
.kr-preview.is-full .seg-btn[aria-pressed="true"] { background: #fff; color: #111; }
.kr-preview.is-full .kr-tool { color: #fff; border-color: rgba(255,255,255,.25); }
.kr-preview.is-full .kr-tool .i-open { display: none; }
.kr-preview.is-full .kr-tool .i-close { display: block; }
.kr-preview.is-full .kr-frame { flex: 1; display: flex; flex-direction: column; max-width: 1400px; }
.kr-preview.is-full .kr-frame.is-phone, .kr-preview.is-full .kr-frame.is-tablet { flex: none; margin: 0 auto; }
.kr-preview.is-full .kr-frame.is-phone .kr-viewport, .kr-preview.is-full .kr-frame.is-tablet .kr-viewport { flex: none; }
.kr-preview.is-full .kr-viewport { flex: 1; height: auto; }
.kr-preview.is-full .kr-hint { display: none; }
body.kr-full-open { overflow: hidden; }

/* ===== Controls ===== */
.kr-panel { min-width: 0; position: sticky; top: 84px; display: flex; flex-direction: column; gap: 12px; max-height: calc(100vh - 100px); }
.kr-scroll { display: grid; gap: 10px; overflow-y: auto; overscroll-behavior: contain; padding-right: 4px; margin-right: -4px; scrollbar-width: thin; }
.kr-step { border-radius: 20px; background: var(--soft); }
:root[data-theme="dark"] .kr-step { background: var(--surface); }
.kr-step > summary {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 16px 18px;
  list-style: none; cursor: pointer; user-select: none;
}
.kr-step > summary::-webkit-details-marker { display: none; }
.kr-n { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--white); font-size: 13px; font-weight: 700; }
.kr-st { font-size: 17px; font-weight: 700; letter-spacing: -.02em; }
.kr-sv { max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 500; color: var(--grey); }
.kr-sv::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); transition: transform .25s; }
.kr-step[open] .kr-sv::after { transform: translateY(0) rotate(-135deg); }
.kr-body { padding: 0 18px 20px; }
.kr-label { display: block; margin: 16px 0 8px; font-size: 13px; font-weight: 600; color: var(--grey); }
.kr-body > .kr-label:first-child, .kr-body > p.kr-label:first-child { margin-top: 2px; }
.kr-label span { font-weight: 500; }
.kr-help { margin: 0 0 12px; font-size: 14px; color: var(--grey); }
.kr-input {
  width: 100%; padding: 12px 15px; font: inherit; font-size: 17px; font-weight: 600; color: var(--ink);
  background: var(--white); border: 1.5px solid var(--line); border-radius: 12px; transition: border-color .15s;
}
.kr-input-sm { font-size: 15px; font-weight: 500; padding: 11px 13px; }
.kr-input::placeholder { color: var(--grey); font-weight: 500; }
.kr-input:focus { outline: none; border-color: var(--ink); }
:root[data-theme="dark"] .kr-input { background: #2c2c2e; border-color: #3a3a3c; }

.kr-branches { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.kr-branch {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; border: 1.5px solid var(--line);
  background: var(--white); font: inherit; font-size: 14px; font-weight: 600; color: var(--ink); cursor: pointer; text-align: left;
  transition: border-color .2s, background-color .2s, color .2s;
}
:root[data-theme="dark"] .kr-branch { background: #2c2c2e; border-color: #3a3a3c; }
.kr-branch svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--grey); }
.kr-branch:hover { border-color: var(--ink); }
.kr-branch[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.kr-branch[aria-pressed="true"] svg { color: var(--accent); }

.kr-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 99px; background: var(--white); border: 1.5px solid var(--line); }
:root[data-theme="dark"] .kr-seg { background: #2c2c2e; border-color: #3a3a3c; }
.kr-seg-3 { grid-template-columns: 1fr 1fr 1fr; }
.kr-seg .seg-btn { padding: 0 8px; min-height: 36px; }

.kr-swatches { display: grid; grid-template-columns: repeat(7, minmax(0, 34px)); justify-content: space-between; gap: 8px; }
.kr-sw {
  position: relative; aspect-ratio: 1; width: 100%; border-radius: 50%; border: 0; cursor: pointer; background: var(--c);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); transition: transform .15s;
}
.kr-sw:hover { transform: scale(1.08); }
.kr-sw[aria-pressed="true"]::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--ink); }
.kr-sw-custom { background: conic-gradient(#e0312f, #f06a2a, #d9a441, #2f7a4f, #0f8b8d, #1f5fbf, #6b4fd8, #b76e79, #e0312f); overflow: visible; }
.kr-sw-custom input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; border: 0; padding: 0; }

.kr-fonts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.kr-font {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 10px 4px 9px;
  border-radius: 12px; border: 1.5px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer; font: inherit;
  transition: border-color .2s, box-shadow .2s;
}
:root[data-theme="dark"] .kr-font { background: #2c2c2e; border-color: #3a3a3c; }
.kr-font b { font-size: 24px; line-height: 1.1; }
.kr-font span { font-size: 11.5px; font-weight: 600; color: var(--grey); font-family: "Inter Tight", system-ui, sans-serif; }
.kr-font:hover { border-color: var(--ink); }
.kr-fonts-body .kr-font b { font-size: 16px; font-weight: 400; line-height: 1.3; }
.kr-font[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }

.kr-layouts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.kr-layout {
  display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 10px 6px; border-radius: 12px; border: 1.5px solid var(--line);
  background: var(--white); font: inherit; font-size: 12px; font-weight: 600; color: var(--grey); cursor: pointer;
}
:root[data-theme="dark"] .kr-layout { background: #2c2c2e; border-color: #3a3a3c; }
.kr-layout[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); color: var(--ink); }
.kr-layout i { position: relative; display: block; width: 64px; height: 40px; border-radius: 6px; background: var(--soft); overflow: hidden; }
:root[data-theme="dark"] .kr-layout i { background: #1c1c1e; }
.kr-layout b { position: absolute; display: block; background: var(--grey); opacity: .55; border-radius: 2px; }
.l-split b:nth-child(1) { left: 6px; top: 12px; width: 22px; height: 4px; box-shadow: 0 7px 0 var(--grey), 0 14px 0 var(--grey); }
.l-split b:nth-child(2) { right: 6px; top: 7px; width: 24px; height: 26px; }
.l-bg { background: linear-gradient(135deg, #9a9aa0, #5a5a60) !important; }
.l-bg b { left: 14px; top: 16px; width: 36px; height: 4px; background: #fff !important; opacity: .9 !important; box-shadow: 0 7px 0 #fff; }
.l-center b:nth-child(1) { left: 20px; top: 6px; width: 24px; height: 4px; box-shadow: 0 6px 0 var(--grey); }
.l-center b:nth-child(2) { left: 8px; top: 20px; width: 48px; height: 14px; }

.kr-services { display: grid; gap: 2px; }
.kr-srv, .kr-cst {
  display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 10px; width: 100%; padding: 9px 2px;
  border: 0; border-bottom: 1px solid var(--line); background: none; font: inherit; font-size: 14.5px; color: var(--ink); cursor: pointer; text-align: left;
}
.kr-srv .box { width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--line); background: var(--white); position: relative; transition: background-color .15s, border-color .15s; }
:root[data-theme="dark"] .kr-srv .box { background: #2c2c2e; border-color: #48484a; }
.kr-srv[aria-checked="true"] .box { background: var(--ink); border-color: var(--ink); }
.kr-srv[aria-checked="true"] .box::after { content: ""; position: absolute; left: 6px; top: 2px; width: 5px; height: 10px; border-right: 2px solid var(--white); border-bottom: 2px solid var(--white); transform: rotate(45deg); }
.kr-srv .p, .kr-cst .p { font-size: 13.5px; font-weight: 600; color: var(--grey); white-space: nowrap; }
.kr-cst { cursor: default; grid-template-columns: 22px 1fr auto auto; }
.kr-cst .x { width: 26px; height: 26px; border-radius: 50%; border: 0; background: var(--line); color: var(--ink); cursor: pointer; font-size: 16px; line-height: 1; }
.kr-cst .x:hover { background: var(--accent); color: #fff; }
.kr-cst .dot { width: 8px; height: 8px; margin-left: 6px; border-radius: 50%; background: var(--accent); }
.kr-add { display: grid; grid-template-columns: 1.4fr 1fr 44px; gap: 6px; margin-top: 12px; }
.kr-add-btn { border: 0; border-radius: 12px; background: var(--ink); color: var(--white); font-size: 22px; cursor: pointer; }
.kr-add-btn:hover { background: var(--accent); color: #fff; }

.kr-toggles { display: grid; gap: 2px; }
.kr-tg {
  display: grid; grid-template-columns: 1fr auto 46px; align-items: center; gap: 12px; width: 100%; padding: 11px 0;
  border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left; font: inherit; color: var(--ink); cursor: pointer;
}
.kr-tg:last-child { border-bottom: 0; }
.kr-tg b { font-size: 15.5px; font-weight: 600; }
.kr-tg small { display: block; font-size: 12.5px; color: var(--grey); font-weight: 500; }
.kr-tg .kr-tg-price { font-size: 13px; font-weight: 600; color: var(--grey); white-space: nowrap; }
.kr-tg .kr-tg-price.plus { color: var(--ink); }
.kr-tg .kr-sw-toggle { position: relative; width: 46px; height: 28px; border-radius: 99px; background: #c7c7cc; transition: background-color .25s; }
:root[data-theme="dark"] .kr-tg .kr-sw-toggle { background: #48484a; }
.kr-tg .kr-sw-toggle::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 5px rgba(0,0,0,.25); transition: transform .25s cubic-bezier(.2,.7,.2,1); }
.kr-tg[aria-checked="true"] .kr-sw-toggle { background: var(--accent); }
.kr-tg[aria-checked="true"] .kr-sw-toggle::after { transform: translateX(18px); }
.kr-tg[aria-disabled="true"] { cursor: default; }
.kr-tg[aria-disabled="true"] .kr-sw-toggle { opacity: .45; }

.kr-care { display: grid; gap: 8px; }
.kr-care-opt {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 15px; border-radius: 14px;
  border: 1.5px solid var(--line); background: var(--white); font: inherit; color: var(--ink); cursor: pointer; text-align: left;
}
:root[data-theme="dark"] .kr-care-opt { background: #2c2c2e; border-color: #3a3a3c; }
.kr-care-opt b { font-size: 15.5px; }
.kr-care-opt span { font-size: 13.5px; color: var(--grey); font-weight: 500; }
.kr-care-opt[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.kr-reset { justify-self: center; margin: 4px 0 6px; padding: 8px 12px; border: 0; background: none; font: inherit; font-size: 14px; font-weight: 600; color: var(--grey); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.kr-reset:hover { color: var(--accent); }

/* Summary */
.kr-summary { flex-shrink: 0; padding: 18px 20px; border-radius: 22px; background: #1d1d1f; color: #fff; box-shadow: 0 20px 50px -20px rgba(0,0,0,.4); }
:root[data-theme="dark"] .kr-summary { background: #1c1c1e; box-shadow: inset 0 0 0 1px #3a3a3c, 0 20px 50px -20px rgba(0,0,0,.8); }
.kr-sum-label { display: block; font-size: 13px; font-weight: 600; opacity: .7; }
.kr-sum-value { display: block; margin: 2px 0; font-size: 19px; font-weight: 600; white-space: nowrap; }
.kr-sum-value b { font-size: 34px; font-weight: 700; letter-spacing: -.04em; }
.kr-sum-value small { font-size: 14px; font-weight: 500; opacity: .7; }
.kr-sum-monthly { display: block; font-size: 13.5px; opacity: .75; }
.kr-breakdown { margin-top: 10px; font-size: 13.5px; }
.kr-breakdown summary { cursor: pointer; opacity: .8; font-weight: 600; list-style: none; }
.kr-breakdown summary::-webkit-details-marker { display: none; }
.kr-breakdown summary::after { content: " +"; }
.kr-breakdown[open] summary::after { content: " −"; }
.kr-breakdown ul { list-style: none; margin: 10px 0 6px; }
.kr-breakdown li { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; border-bottom: 1px solid rgba(128,128,128,.25); opacity: .9; }
.kr-time { opacity: .8; margin-top: 6px; }
.kr-summary .btn, :root[data-theme="dark"] .kr-summary .btn { white-space: nowrap; width: 100%; margin-top: 14px; background: #fff; color: #111; border-color: #fff; }
.kr-summary .btn:hover, :root[data-theme="dark"] .kr-summary .btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.kr-sum-note { margin-top: 10px; font-size: 12.5px; opacity: .65; }
.kr-total-bump { animation: bump .35s ease; display: inline-block; }
@keyframes bump { 50% { transform: scale(1.08); } }

.kr-toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 400; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  padding: 12px 18px; border-radius: 99px; background: var(--ink); color: var(--white); font-size: 14px; font-weight: 600;
  box-shadow: 0 10px 30px rgba(0,0,0,.25); transition: opacity .25s, transform .25s;
}
.kr-toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ===== Mini site ===== */
.ms {
  --bg: #fbf4f1; --ink: #3b2a28; --mute: #8a716c; --acc: #b76e79; --acc-ink: #fff; --card: #fff; --line: #f0e2dd;
  --hfont: "Inter Tight", system-ui, sans-serif; --hw: 700; --htt: none; --hls: -.035em; --hlh: 1.05; --rad: 99px; --radc: 1.1em;
  font-family: var(--bfont, "Inter Tight", system-ui, sans-serif); font-size: min(1.75cqw, 15px); line-height: 1.55;
  background: var(--bg); color: var(--ink); min-height: 100%; transition: background-color .35s ease, color .35s ease;
}
.ms[data-radius="sharp"] { --rad: 0; --radc: 0; }
.ms[data-radius="soft"] { --rad: .45em; --radc: .55em; }
.ms[data-radius="round"] { --rad: 99px; --radc: 1.2em; }
.ms .ms-h1, .ms h2, .ms-logo, .ms-price li b, .ms-team b, .ms-news b { font-family: var(--hfont); font-weight: var(--hw); text-transform: var(--htt); letter-spacing: var(--hls); }
.ms-nav {
  position: sticky; top: 0; z-index: 3; display: flex; align-items: center; gap: 2em; padding: 1.3em 3em;
  background: var(--bg); border-bottom: 1px solid var(--line); transition: background-color .35s;
}
.ms-logo { font-size: 1.55em; line-height: 1.15; max-width: 32%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ms-links { flex: 1; display: flex; justify-content: flex-end; gap: 1.8em; font-size: .95em; color: var(--mute); }
.ms-lang { font-size: .85em; font-weight: 600; color: var(--mute); }
.ms-btn { display: inline-block; padding: .85em 1.7em; border-radius: var(--rad); background: var(--acc); color: var(--acc-ink); font-weight: 600; font-size: .95em; transition: background-color .35s, color .35s; }
.ms-btn-sm { padding: .6em 1.2em; font-size: .85em; white-space: nowrap; }
.ms[data-font="raw"] .ms-btn, .ms[data-font="mono"] .ms-btn { text-transform: uppercase; letter-spacing: .08em; font-size: .82em; }
.ms-hero { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: 3em; align-items: center; padding: 3.5em 3em; isolation: isolate; }
.ms-kicker { font-size: .85em; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--acc); margin-bottom: 1em; }
.ms-hero .ms-h1 { font-size: 3.6em; line-height: var(--hlh); }
.ms-lead { margin: 1em 0 1.9em; font-size: 1.1em; color: var(--mute); max-width: 32em; }
.ms-img { aspect-ratio: 4 / 3.3; border-radius: var(--radc); background-color: #ccc; background-size: cover; background-position: center; }
/* hero: background layout */
.ms[data-hero="bg"] .ms-hero { grid-template-columns: 1fr; min-height: 30em; padding: 5em 3em; color: #fff; background-image: linear-gradient(90deg, rgba(0,0,0,.72), rgba(0,0,0,.25)), var(--hero-img); background-size: cover; background-position: center; }
.ms[data-hero="bg"] .ms-img { display: none; }
.ms[data-hero="bg"] .ms-lead { color: rgba(255,255,255,.85); }
.ms[data-hero="bg"] .ms-kicker { color: #fff; opacity: .85; }
.ms[data-hero="bg"] .ms-hero-text { max-width: 34em; }
/* hero: centered layout */
.ms[data-hero="center"] .ms-hero { grid-template-columns: 1fr; text-align: center; padding-top: 4.5em; }
.ms[data-hero="center"] .ms-hero-text { max-width: 40em; margin: 0 auto; }
.ms[data-hero="center"] .ms-lead { margin-left: auto; margin-right: auto; }
.ms[data-hero="center"] .ms-img { aspect-ratio: 21 / 8; }

.ms-sec { padding: 3.6em 3em; border-top: 1px solid var(--line); }
.ms-sec[hidden] { display: none; }
.ms-sec h2 { font-size: 2.3em; line-height: calc(var(--hlh) + .05); margin-bottom: 1.1em; }
.ms-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2em; }
.ms-card { padding: 1.5em; border-radius: var(--radc); background: var(--card); }
.ms-card i { display: block; width: 2.2em; height: 2.2em; margin-bottom: 1em; border-radius: min(var(--rad), .7em); background: var(--acc); opacity: .9; }
.ms-card b { display: block; font-size: 1.15em; margin-bottom: .3em; }
.ms-card span { color: var(--mute); font-size: .95em; }
.ms-price { list-style: none; max-width: 46em; display: grid; grid-template-columns: 1fr 1fr; column-gap: 3em; }
.ms-price li { display: flex; align-items: baseline; gap: 1em; padding: 1em 0; border-bottom: 1px solid var(--line); }
.ms-price li::after { content: ""; flex: 1; order: 2; border-bottom: 1px dotted var(--mute); opacity: .4; }
.ms-price li b { order: 3; font-size: 1.15em; white-space: nowrap; }
.ms-price li.new span::after { content: "nowość"; margin-left: .6em; padding: .1em .5em; border-radius: 99px; background: var(--acc); color: var(--acc-ink); font-size: .7em; font-weight: 600; vertical-align: middle; }
.ms-book { max-width: 30em; padding: 1.6em; border-radius: var(--radc); background: var(--card); }
.ms-days { display: grid; grid-template-columns: repeat(5, 1fr); gap: .5em; margin-bottom: 1em; }
.ms-days span { padding: .7em 0; border-radius: min(var(--radc), .8em); border: 1px solid var(--line); text-align: center; font-size: .85em; color: var(--mute); }
.ms-days span b { display: block; font-size: 1.3em; color: var(--ink); }
.ms-days span.on { background: var(--acc); border-color: var(--acc); color: var(--acc-ink); }
.ms-days span.on b { color: var(--acc-ink); }
.ms-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5em; margin-bottom: 1.3em; }
.ms-slots span { padding: .65em 0; border-radius: var(--rad); border: 1px solid var(--line); text-align: center; font-size: .9em; }
.ms-slots .on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.ms-slots .off { opacity: .35; text-decoration: line-through; }
.ms-team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2em; }
.ms-member { padding: 1.5em; border-radius: var(--radc); background: var(--card); text-align: center; }
.ms-avatar { display: grid; place-items: center; width: 4.6em; height: 4.6em; margin: 0 auto 1em; border-radius: 50%; background: linear-gradient(135deg, var(--acc), var(--ink)); color: #fff; font-weight: 700; font-size: 1.1em; }
.ms-member b { display: block; font-size: 1.2em; }
.ms-member span { font-size: .9em; color: var(--mute); }
.ms-gallery { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: .8em; }
.ms-g { aspect-ratio: 1; border-radius: var(--radc); background-color: #ccc; background-size: 260%; }
.ms-g:nth-child(1) { background-position: 20% 40%; aspect-ratio: auto; }
.ms-g:nth-child(2) { background-position: 70% 30%; }
.ms-g:nth-child(3) { background-position: 45% 80%; }
.ms-reviews { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2em; }
.ms-review { padding: 1.6em; border-radius: var(--radc); background: var(--card); }
.ms-review p { font-size: 1.05em; }
.ms-review .ms-stars { color: var(--acc); letter-spacing: .15em; margin-bottom: .7em; font-size: .9em; }
.ms-review cite { display: block; margin-top: 1em; font-style: normal; font-size: .85em; font-weight: 600; color: var(--mute); }
.ms-faq { max-width: 44em; }
.ms-q { padding: 1.1em 0; border-bottom: 1px solid var(--line); }
.ms-q b { display: flex; justify-content: space-between; gap: 1em; font-size: 1.08em; font-weight: 600; }
.ms-q b::after { content: "+"; color: var(--acc); font-weight: 400; font-size: 1.3em; line-height: 1; }
.ms-q.open b::after { content: "−"; }
.ms-q p { margin-top: .5em; color: var(--mute); display: none; }
.ms-q.open p { display: block; }
.ms-news { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2em; }
.ms-post { border-radius: var(--radc); overflow: hidden; background: var(--card); }
.ms-post i { display: block; aspect-ratio: 16 / 8; background-size: 220%; }
.ms-post:nth-child(1) i { background-position: 30% 60%; }
.ms-post:nth-child(2) i { background-position: 80% 30%; }
.ms-post div { padding: 1.2em 1.4em 1.4em; }
.ms-post small { color: var(--acc); font-weight: 600; font-size: .8em; }
.ms-post b { display: block; margin-top: .3em; font-size: 1.15em; line-height: 1.25; }
.ms-contact { display: grid; grid-template-columns: 1fr 1.3fr; gap: 2em; align-items: stretch; }
.ms-contact p { margin-bottom: 1.2em; color: var(--mute); }
.ms-contact p b { color: var(--ink); }
.ms-map {
  position: relative; min-height: 14em; border-radius: var(--radc); overflow: hidden;
  background:
    linear-gradient(90deg, transparent 48%, var(--card) 48%, var(--card) 52%, transparent 52%),
    linear-gradient(0deg, transparent 58%, var(--card) 58%, var(--card) 62%, transparent 62%),
    linear-gradient(35deg, transparent 70%, var(--card) 70%, var(--card) 72.5%, transparent 72.5%),
    repeating-linear-gradient(0deg, transparent 0 2.4em, rgba(128,128,128,.12) 2.4em 2.5em),
    repeating-linear-gradient(90deg, transparent 0 2.4em, rgba(128,128,128,.12) 2.4em 2.5em),
    var(--line);
}
.ms-pin { position: absolute; left: 50%; top: 45%; width: 1.6em; height: 1.6em; transform: translate(-50%, -100%) rotate(-45deg); border-radius: 50% 50% 50% 0; background: var(--acc); box-shadow: 0 .3em .8em rgba(0,0,0,.25); }
.ms-pin::after { content: ""; position: absolute; inset: .5em; border-radius: 50%; background: var(--bg); }
.ms-foot { display: flex; justify-content: space-between; gap: 1em; padding: 1.8em 3em; border-top: 1px solid var(--line); font-size: .85em; color: var(--mute); }
.ms-wa {
  position: absolute; right: 18px; bottom: 18px; z-index: 5; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%;
  background: #25d366; color: #fff; box-shadow: 0 8px 22px rgba(0,0,0,.25); animation: waIn .4s cubic-bezier(.2,.7,.2,1);
}
.ms-wa[hidden] { display: none; }
.ms-wa svg { width: 28px; height: 28px; }
@keyframes waIn { from { transform: scale(.4); opacity: 0; } }

.ms-hero, .ms-sec, .ms-links, .ms-logo { transition: opacity .22s ease; }
.ms.switching .ms-hero, .ms.switching .ms-sec, .ms.switching .ms-links { opacity: 0; }
.ms-sec.appear { animation: msIn .45s cubic-bezier(.2,.7,.2,1); }
@keyframes msIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* narrow previews: tablet */
@container pv (max-width: 820px) {
  .ms { font-size: min(2.1cqw, 15px); }
  .ms-links { gap: 1.2em; }
}
/* narrow previews: phone */
@container pv (max-width: 520px) {
  .ms { font-size: 3.7cqw; }
  .ms-nav { padding: 1em 1.4em; gap: 1em; }
  .ms-links, .ms-lang { display: none; }
  .ms-logo { max-width: 55%; flex: 1; }
  .ms-nav .ms-btn-sm { margin-left: auto; }
  .ms-hero { grid-template-columns: 1fr; gap: 1.6em; padding: 1.6em 1.4em 2.4em; }
  .ms[data-hero="split"] .ms-img { order: -1; aspect-ratio: 4 / 3; }
  .ms[data-hero="bg"] .ms-hero { min-height: 26em; padding: 3em 1.4em; }
  .ms[data-hero="center"] .ms-img { aspect-ratio: 4 / 3; }
  .ms-hero .ms-h1 { font-size: 2.3em; }
  .ms-sec { padding: 2.4em 1.4em; }
  .ms-sec h2 { font-size: 1.8em; }
  .ms-cards, .ms-reviews, .ms-contact, .ms-team, .ms-news, .ms-price { grid-template-columns: 1fr; }
  .ms-gallery { grid-template-columns: 1fr 1fr; }
  .ms-g:nth-child(1) { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
  .ms-foot { padding: 1.4em; flex-direction: column; }
}

/* ===== Page responsive ===== */
@media (max-width: 1100px) {
  .kr-grid { grid-template-columns: 1fr; }
  .kr-preview { position: relative; top: 0; }
  .kr-viewport, .kr-frame.is-phone .kr-viewport { height: 64vh; }
  .kr-panel { position: relative; top: 0; max-height: none; }
  .kr-scroll { overflow: visible; padding: 0; margin: 0; }
  .kr-summary { position: sticky; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 16px; }
  .kr-summary .btn { width: auto; margin-top: 0; grid-row: 1 / 3; grid-column: 2; }
  .kr-breakdown { grid-column: 1 / -1; }
  .kr-sum-note { display: none; }
}
@media (max-width: 640px) {
  .kr-head { padding-top: 120px; }
  .kr-tablet-btn { display: none; }
  .kr-devices .seg-btn span, .kr-tool span { display: none; }
  .kr-devices .seg-btn, .kr-tool { padding: 0 12px; }
  .kr-summary { padding: 14px 16px; }
  .kr-sum-label { display: none; }
  .kr-sum-value { font-size: 16px; margin: 0; }
  .kr-sum-value b { font-size: 26px; }
  .kr-sum-value small:last-child { display: none; }
  .kr-sum-monthly { font-size: 12.5px; }
  .kr-breakdown { display: none; }
  .kr-summary .btn { min-height: 44px; padding: 0 18px; font-size: 14px; }
  .kr-frame.is-phone { width: 272px; padding: 7px; border-radius: 46px; }
  .kr-frame.is-phone .kr-bar { height: 40px; padding: 0 20px 0 24px; border-radius: 39px 39px 0 0; }
  .kr-frame.is-phone .kr-bar::after { top: 9px; width: 80px; height: 24px; }
  .kr-frame.is-phone .kr-status-time { font-size: 12.5px; }
  .kr-frame.is-phone .kr-phone-bottom { border-radius: 0 0 39px 39px; }
  .kr-frame:not(.is-phone):not(.is-tablet) .kr-bar { height: 30px; }
  .kr-frame:not(.is-phone):not(.is-tablet) .kr-dots i { width: 8px; height: 8px; }
  .kr-frame:not(.is-phone):not(.is-tablet) .kr-url { height: 20px; font-size: 11px; }
  .kr-swatches { gap: 6px; }
  .kr-sv { max-width: 110px; }
}

/* ===== AI generator ===== */
.kr-ai { position: relative; padding: 2px; border-radius: 22px; background: conic-gradient(from var(--ai-a, 0deg), #ff002d, #f06a2a, #d9a441, #6b4fd8, #1f5fbf, #0f8b8d, #ff002d); animation: aiSpin 6s linear infinite; }
@property --ai-a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes aiSpin { to { --ai-a: 360deg; } }
.kr-ai-inner { padding: 20px 18px 18px; border-radius: 20px; background: var(--white); }
:root[data-theme="dark"] .kr-ai-inner { background: #111113; }
.kr-ai-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 99px; background: linear-gradient(90deg, #ff002d, #6b4fd8); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.kr-ai-badge svg { width: 13px; height: 13px; }
.kr-ai-title { margin: 10px 0 4px; font-size: 21px; font-weight: 700; letter-spacing: -.02em; }
.kr-ai-text { font-size: 14px; color: var(--grey); margin-bottom: 12px; }
.kr-ai-input { resize: vertical; min-height: 84px; line-height: 1.45; }
.kr-ai-examples { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 12px; }
.kr-ai-examples button { padding: 6px 11px; border-radius: 99px; border: 1px dashed var(--line); background: none; font: inherit; font-size: 12.5px; font-weight: 600; color: var(--grey); cursor: pointer; }
.kr-ai-examples button:hover { color: var(--ink); border-color: var(--ink); }
.kr-ai-btn {
  position: relative; display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 50px; border: 0; border-radius: 99px;
  background: linear-gradient(90deg, #ff002d, #b0249a 55%, #6b4fd8); background-size: 200% 100%; color: #fff; font: inherit; font-size: 16px; font-weight: 700; cursor: pointer;
  transition: background-position .5s, transform .15s, opacity .2s; overflow: hidden;
}
.kr-ai-btn:hover { background-position: 100% 0; }
.kr-ai-btn:active { transform: scale(.98); }
.kr-ai-btn svg { width: 18px; height: 18px; }
.kr-ai-btn[disabled] { cursor: progress; opacity: .85; }
.kr-ai-btn[disabled] svg { animation: spin 1s linear infinite; }
.kr-ai-note { margin-top: 10px; font-size: 12px; color: var(--grey); }
.kr-ai-error { margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: #fff0f2; color: #b0001f; font-size: 13.5px; font-weight: 600; }
:root[data-theme="dark"] .kr-ai-error { background: #3a1016; color: #ff8a9b; }
.kr-ai-tag { flex-shrink: 0; padding: 2px 8px; border-radius: 99px; background: linear-gradient(90deg, #ff002d, #6b4fd8); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .06em; }
.kr-frame { position: relative; }
.kr-ai-overlay {
  position: absolute; inset: 40px 0 0 0; z-index: 6; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  background: color-mix(in srgb, var(--ms-bg, #fff) 70%, transparent); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font-size: 15px; font-weight: 600; color: var(--ms-mute, #555);
}
.kr-ai-overlay[hidden] { display: none; }
.kr-ai-orb { width: 70px; height: 70px; border-radius: 50%; background: conic-gradient(from var(--ai-a, 0deg), #ff002d, #d9a441, #6b4fd8, #0f8b8d, #ff002d); filter: blur(1px); animation: aiSpin 1.4s linear infinite, orb 1.6s ease-in-out infinite; box-shadow: 0 0 40px rgba(107,79,216,.45); }
@keyframes orb { 50% { transform: scale(.82); } }
.ms .typing::after { content: ""; display: inline-block; width: .08em; height: .9em; margin-left: .06em; background: currentColor; vertical-align: -.05em; animation: blink .7s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .kr-ai, .kr-ai-orb { animation: none; } }

/* Photos from Pexels (AI mode) */
.ms-credit {
  position: absolute; right: 1.2em; bottom: .9em; z-index: 2; padding: .35em .75em; border-radius: 99px;
  background: rgba(0,0,0,.55); color: #fff; font-size: .72em; font-weight: 500; line-height: 1.3;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.ms-credit[hidden] { display: none; }
.ms-credit a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.ms.has-photos .ms-g, .ms.has-photos .ms-post i { background-size: cover !important; background-position: center !important; }

.kr-summary .btn.is-busy { opacity: .7; pointer-events: none; }

/* Send button: fixed colours in every theme */
.kr-send, :root[data-theme="dark"] .kr-send {
  display: flex; align-items: center; justify-content: center; width: 100%; min-height: 50px; margin-top: 14px; padding: 0 20px;
  border-radius: 99px; background: #ffffff; color: #111111 !important; -webkit-text-fill-color: #111111;
  font: inherit; font-size: 16px; font-weight: 700; text-decoration: none; white-space: nowrap;
  transition: background-color .2s, color .2s;
}
@media (hover: hover) {
  .kr-send:hover, :root[data-theme="dark"] .kr-send:hover { background: var(--accent); color: #fff !important; -webkit-text-fill-color: #fff; }
}
.kr-send.is-busy { opacity: .7; pointer-events: none; }
@media (max-width: 1100px) { .kr-send { width: auto; margin-top: 0; grid-row: 1 / 3; grid-column: 2; } }
@media (max-width: 640px) { .kr-send { min-height: 44px; padding: 0 18px; font-size: 14px; } }

/* Dark site theme: selected states must win over dark base styles */
:root[data-theme="dark"] .kr-branch[aria-pressed="true"] { background: #f5f5f7; border-color: #f5f5f7; color: #111; }
:root[data-theme="dark"] .kr-branch[aria-pressed="true"] svg { color: var(--accent); }
:root[data-theme="dark"] .kr-srv[aria-checked="true"] .box { background: #f5f5f7; border-color: #f5f5f7; }
:root[data-theme="dark"] .kr-srv[aria-checked="true"] .box::after { border-color: #111; }
:root[data-theme="dark"] .kr-font[aria-pressed="true"],
:root[data-theme="dark"] .kr-layout[aria-pressed="true"],
:root[data-theme="dark"] .kr-care-opt[aria-pressed="true"] { border-color: #f5f5f7; box-shadow: inset 0 0 0 1px #f5f5f7; }
:root[data-theme="dark"] .kr-layout[aria-pressed="true"] { color: #f5f5f7; }

/* Wysyłka projektu na e-mail */
.kr-mail-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-top: 8px; padding: 10px; border: 0; border-radius: 99px; background: rgba(255,255,255,.1); color: #fff; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: background-color .2s; }
.kr-mail-btn svg { width: 17px; height: 17px; }
@media (hover: hover) { .kr-mail-btn:hover { background: rgba(255,255,255,.2); } }
.kr-modal { position: fixed; inset: 0; z-index: 450; display: grid; place-items: center; padding: 20px; background: rgba(8,8,10,.6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); animation: krFade .25s both; }
.kr-modal[hidden] { display: none; }
@keyframes krFade { from { opacity: 0; } }
.kr-modal-box { position: relative; width: min(440px, 100%); padding: 32px 28px 26px; border-radius: 26px; background: var(--white); color: var(--ink); box-shadow: 0 40px 100px -30px rgba(0,0,0,.5); animation: krPop .35s cubic-bezier(.2,.9,.3,1.1) both; }
:root[data-theme="dark"] .kr-modal-box { background: #1c1c1e; box-shadow: inset 0 0 0 1px #2c2c2e, 0 40px 100px -30px rgba(0,0,0,.9); }
@keyframes krPop { from { opacity: 0; transform: translateY(14px) scale(.97); } }
.kr-modal-x { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--soft); color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer; }
:root[data-theme="dark"] .kr-modal-x { background: #2c2c2e; }
.kr-modal-ico { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 16px; border-radius: 16px; background: var(--soft); color: var(--accent); }
:root[data-theme="dark"] .kr-modal-ico { background: #2c2c2e; }
.kr-modal-ico svg { width: 26px; height: 26px; }
.kr-modal-ok { border-radius: 50%; background: #34c759; color: #fff; }
.kr-modal-box h2 { font-size: 24px; font-weight: 700; letter-spacing: -.03em; margin-bottom: 8px; }
.kr-modal-box p { font-size: 15px; color: var(--grey); }
.kr-modal-box .kr-label { margin-top: 18px; }
.kr-modal-box .kr-send { margin-top: 18px; width: 100%; background: var(--ink) !important; color: var(--white) !important; -webkit-text-fill-color: var(--white); }
.kr-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.kr-check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; margin-top: 14px; font-size: 14px; color: var(--grey); cursor: pointer; }
.kr-check input { position: absolute; opacity: 0; }
.kr-check span { position: relative; width: 22px; height: 22px; border-radius: 7px; border: 1.6px solid var(--line); background: var(--white); }
:root[data-theme="dark"] .kr-check span { background: #2c2c2e; border-color: #48484a; }
.kr-check input:checked + span { background: var(--ink); border-color: var(--ink); }
.kr-check input:checked + span::after { content: ""; position: absolute; left: 7px; top: 3px; width: 5px; height: 10px; border-right: 2px solid var(--white); border-bottom: 2px solid var(--white); transform: rotate(45deg); }
.kr-check input:focus-visible + span { box-shadow: 0 0 0 3px var(--accent); }
.kr-mail-err { margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: #fff0f2; color: #b0001f !important; font-size: 13.5px !important; font-weight: 600; }
:root[data-theme="dark"] .kr-mail-err { background: #3a1016; color: #ff8a9b !important; }
.kr-mail-note { margin-top: 12px; font-size: 12.5px !important; }
.kr-mail-note a { color: var(--ink); text-decoration: underline; }
@media (max-width: 1100px) { .kr-mail-btn { grid-column: 1 / -1; } }
@media (max-width: 640px) { .kr-mail-btn { font-size: 13px; padding: 8px; } }
