/* Destinario — Live Chat (makieta frontu, bez backendu) */
.dlc {
    --dlc-navy: #10233f;
    --dlc-gold: #b98a3a;
    --dlc-gold-ink: #a9762b;
    --dlc-paper: #fffdfa;
    --dlc-sand: #f5efe6;
    --dlc-line: #e3dbcf;
    --dlc-ink: #131b2c;
    --dlc-text: #514e46;
    --dlc-muted: #6f6b61;
    --dlc-ok: #4fbf86;
    --dlc-off: #9aa3b2;
    --dlc-err: #b3261e;
    --dlc-ease: cubic-bezier(.2, .8, .2, 1);
    position: relative;
    z-index: 120;
    color: var(--dlc-ink);
    font-family: "Montserrat", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 14.5px;
    line-height: 1.5;
    letter-spacing: 0;
    -webkit-font-smoothing: antialiased;
}
.dlc *, .dlc *::before, .dlc *::after { box-sizing: border-box; }
.dlc [hidden] { display: none !important; }
:where(.dlc) button { margin: 0; padding: 0; color: inherit; font: inherit; background: none; border: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
:where(.dlc) svg { display: block; flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dlc :focus { outline: none; }
.dlc :focus-visible { outline: 2px solid rgba(185, 138, 58, .8); outline-offset: 3px; }
.dlc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
html.dlc-lock, html.dlc-lock body { overflow: hidden; }
body.cookie-consent-open .dlc, body.offer-lightbox-open .dlc { display: none; }

/* Status */
.dlc-dot { display: block; width: 10px; height: 10px; border-radius: 50%; background: var(--dlc-off); }
.dlc--online .dlc-dot { background: var(--dlc-ok); }
.dlc--online .dlc-pill .dlc-dot { position: relative; }
.dlc--online .dlc-pill .dlc-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--dlc-ok); animation: dlcPulse 2.4s ease-out infinite; }

/* Przycisk */
.dlc-launcher {
    position: fixed; right: 24px; bottom: 24px;
    display: inline-flex; align-items: center; gap: 12px;
    height: 58px; padding: 6px 24px 6px 6px;
    color: #fff;
    background: linear-gradient(150deg, #1b3a68, #10233f 58%, #0b1d34);
    border: 1px solid rgba(185, 138, 58, .34);
    border-radius: 999px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 18px 40px rgba(16, 35, 63, .28), 0 4px 12px rgba(16, 35, 63, .14);
    transition: transform .35s var(--dlc-ease), box-shadow .35s var(--dlc-ease), padding .45s var(--dlc-ease), gap .45s var(--dlc-ease), opacity .3s ease;
    animation: dlcLaunch .8s var(--dlc-ease) .5s backwards;
}
.dlc-launcher:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 22px 48px rgba(16, 35, 63, .32), 0 0 28px rgba(185, 138, 58, .32); }
.dlc-launcher:active { transform: translateY(0) scale(.98); }
.dlc-launcher.dlc-ping { animation: dlcNudge .7s var(--dlc-ease); }
.dlc-launcher-ic {
    position: relative; display: grid; place-items: center; flex: none;
    width: 46px; height: 46px; border-radius: 50%;
    color: #241703;
    background: linear-gradient(150deg, #e6c47f, #c79a45 54%, #ac7a2e);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 4px 12px rgba(169, 118, 43, .3);
}
.dlc-ic { position: absolute; inset: 0; display: grid; place-items: center; transition: transform .5s var(--dlc-ease), opacity .3s ease; }
.dlc-ic svg { width: 22px; height: 22px; }
.dlc-ic--chat { overflow: hidden; border-radius: 50%; }
.dlc-ic--chat .dlc-face { position: absolute; inset: 0; opacity: 0; transform: scale(1.08); transition: opacity .7s ease, transform 1.2s var(--dlc-ease); }
.dlc-ic--chat .dlc-face--on { opacity: 1; transform: none; }
.dlc-ic--chat b.dlc-face { display: grid; place-items: center; width: 100%; height: 100%; color: var(--dlc-navy); background: #e7dccb; border: 2px solid #10233f; border-radius: 50%; font-size: 14px; font-weight: 800; }
.dlc-stack { display: flex; flex: none; }
.dlc-stack .dlc-av + .dlc-av { margin-left: -14px; }
.dlc-stack .dlc-av:nth-child(1) { z-index: 3; }
.dlc-stack .dlc-av:nth-child(2) { z-index: 2; }
.dlc .dlc-ic--chat img { max-width: none; aspect-ratio: 1; height: 100% !important; }
.dlc-ic--chat img { display: block; width: 100%; height: 100%; border: 2px solid #10233f; border-radius: 50%; object-fit: cover; object-position: 50% 16%; }
.dlc-launcher-ic { padding: 2px; }
.dlc--open .dlc-launcher { gap: 0; padding: 6px; }
.dlc--open .dlc-launcher-label { max-width: 0; opacity: 0; }
.dlc--open .dlc-launcher-ic { color: #fff; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.dlc-ic--close svg { width: 24px; height: 24px; }
.dlc-ic--close { opacity: 0; transform: rotate(-90deg) scale(.5); }
.dlc--open .dlc-ic--chat { opacity: 0; transform: rotate(90deg) scale(.5); }
.dlc--open .dlc-ic--close { opacity: 1; transform: none; }
.dlc-launcher:hover .dlc-ic--chat svg { animation: dlcWiggle .7s var(--dlc-ease); }
.dlc-launcher-ic .dlc-dot { position: absolute; top: 0; right: 0; width: 13px; height: 13px; border: 2.5px solid #10233f; transition: opacity .2s ease; }
.dlc--unread .dlc-launcher-ic .dlc-dot, .dlc--open .dlc-launcher-ic .dlc-dot { opacity: 0; }
.dlc-launcher-label { display: grid; max-width: 240px; overflow: hidden; font-size: 14.5px; font-weight: 700; line-height: 1; white-space: nowrap; transition: max-width .45s var(--dlc-ease), opacity .25s ease; }
.dlc-launcher-label > span { grid-area: 1 / 1; transition: opacity .25s ease, transform .4s var(--dlc-ease); }
.dlc-l-close { opacity: 0; transform: translateY(8px); }
.dlc--open .dlc-l-open { opacity: 0; transform: translateY(-8px); }
.dlc--open .dlc-l-close { opacity: 1; transform: none; }
.dlc-badge {
    position: absolute; top: -5px; left: 36px;
    display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px;
    color: #241703; background: #e6c47f; border: 2px solid #fffdfa; border-radius: 999px;
    font-size: 11.5px; font-weight: 800; line-height: 1;
    animation: dlcPop .5s cubic-bezier(.3, 1.6, .5, 1);
}
.dlc--yield .dlc-launcher, .dlc--yield .dlc-teaser { opacity: 0; transform: translateY(16px); pointer-events: none; }

/* Zaproszenie */
.dlc-teaser {
    position: fixed; right: 24px; bottom: 96px;
    display: flex; align-items: flex-start;
    width: min(320px, calc(100vw - 32px));
    background: rgba(255, 253, 250, .97);
    border: 1px solid rgba(227, 219, 207, .95);
    border-radius: 20px 20px 6px 20px;
    box-shadow: 0 24px 60px rgba(16, 35, 63, .2);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    opacity: 0; transform: translateY(12px) scale(.97); transform-origin: 100% 100%;
    transition: opacity .35s ease, transform .55s var(--dlc-ease);
}
.dlc-teaser.dlc-show { opacity: 1; transform: none; }
.dlc--open .dlc-teaser { display: none; }
.dlc-teaser-main { display: flex; flex: 1; align-items: flex-start; gap: 12px; min-width: 0; padding: 16px 4px 16px 16px; text-align: left; }
.dlc-teaser-txt { display: grid; gap: 3px; min-width: 0; }
.dlc-teaser-txt strong { color: var(--dlc-ink); font-size: 13px; font-weight: 700; line-height: 1.3; }
.dlc-teaser-txt span { color: var(--dlc-text); font-size: 13.5px; line-height: 1.5; text-wrap: pretty; }
.dlc-teaser-x { display: grid; place-items: center; flex: none; width: 36px; height: 36px; margin: 8px 8px 0 0; color: var(--dlc-muted); border-radius: 50%; transition: background .2s ease, color .2s ease; }
.dlc-teaser-x:hover { color: var(--dlc-ink); background: var(--dlc-sand); }
.dlc-teaser-x svg { width: 16px; height: 16px; }

/* Awatar */
.dlc-av { --ring: #10233f; position: relative; display: block; box-sizing: border-box; flex: none; width: var(--s, 40px); height: var(--s, 40px); padding: 2px; border-radius: 50%; background: linear-gradient(150deg, #e6c47f, #b98a3a 60%, #8c6424); }
.dlc-av img, .dlc-av b { display: block; width: 100%; height: 100%; object-fit: cover; border: 2px solid var(--ring); border-radius: 50%; background: #e7dccb; }
.dlc-av b { display: grid; place-items: center; color: var(--dlc-navy); font-size: 12px; font-weight: 800; }
.dlc-av .dlc-dot { position: absolute; right: 0; bottom: 1px; width: 14px; height: 14px; border: 3px solid var(--ring); }
.dlc-teaser .dlc-av, .dlc-log .dlc-av { --ring: #fffdfa; }

/* Okno */
.dlc-panel {
    position: fixed; right: 24px; bottom: 96px;
    display: flex; flex-direction: column;
    width: min(400px, calc(100vw - 32px));
    height: min(660px, calc(100vh - 124px));
    height: min(660px, calc(100dvh - 124px));
    overflow: hidden;
    background: var(--dlc-paper);
    border: 1px solid rgba(227, 219, 207, .95);
    border-radius: 24px;
    box-shadow: 0 40px 90px rgba(16, 35, 63, .26), 0 10px 28px rgba(16, 35, 63, .12);
    transform-origin: calc(100% - 30px) calc(100% + 40px);
    opacity: 0; visibility: hidden; pointer-events: none;
    transform: translateY(14px) scale(.96);
    transition: opacity .28s ease, transform .45s var(--dlc-ease), visibility 0s linear .45s;
}
.dlc--open .dlc-panel { opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition: opacity .3s ease, transform .55s var(--dlc-ease), visibility 0s; }

.dlc-head { position: relative; isolation: isolate; flex: none; overflow: hidden; padding: 16px 18px 18px; color: #fff; background: linear-gradient(150deg, #1b3a68, #10233f 58%, #0b1d34); }
.dlc-head::before { content: ""; position: absolute; z-index: -1; top: -130px; right: -90px; width: 290px; height: 290px; border-radius: 50%; background: radial-gradient(circle, rgba(185, 138, 58, .34), transparent 66%); filter: blur(10px); }
.dlc-head::after { content: ""; position: absolute; right: 0; bottom: 0; left: 0; height: 1px; background: linear-gradient(90deg, rgba(185, 138, 58, 0), rgba(185, 138, 58, .65) 50%, rgba(185, 138, 58, 0)); }
.dlc-head-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dlc-logo { display: block; width: auto; height: 17px; opacity: .92; }
.dlc-logo-txt { color: #fff; font-family: "Cinzel", Georgia, serif; font-size: 14px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.dlc-icon-btn { display: grid; place-items: center; width: 36px; height: 36px; color: rgba(255, 255, 255, .86); background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); border-radius: 50%; transition: background .2s ease, color .2s ease; }
.dlc-icon-btn:hover { color: #fff; background: rgba(255, 255, 255, .16); }
.dlc-icon-btn svg { transition: transform .4s var(--dlc-ease); }
.dlc-only-desktop:hover svg { transform: rotate(90deg); }
.dlc-host { display: flex; align-items: center; gap: 12px; }
.dlc-host-txt { flex: 1; min-width: 0; }
.dlc-head { padding: 14px 14px 14px 16px; }
.dlc-head::before { display: none; }
.dlc-head .dlc-host-name { font-size: 15px; }
.dlc-head .dlc-host-role { margin-top: 2px; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dlc--online .dlc-st-txt { color: #7fdcae; font-weight: 600; }
.dlc-head .dlc-icon-btn { flex: none; width: 34px; height: 34px; background: transparent; border-color: transparent; }
.dlc-head .dlc-icon-btn:hover { background: rgba(255, 255, 255, .1); }
.dlc-host-name { margin: 0; color: #fff; font-family: inherit; font-size: 16.5px; font-weight: 700; line-height: 1.25; letter-spacing: -.005em; }
.dlc-host-role { margin: 3px 0 0; color: rgba(255, 255, 255, .74); font-size: 12.5px; line-height: 1.4; }
.dlc-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 16px; color: rgba(255, 255, 255, .78); font-size: 12px; line-height: 1.35; }
.dlc-pill { display: inline-flex; align-items: center; gap: 8px; height: 26px; padding: 0 11px 0 9px; color: #fff; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .15); border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.dlc-pill .dlc-dot { width: 8px; height: 8px; }
.dlc-meta-txt { display: inline-flex; align-items: center; gap: 6px; }
.dlc-meta-txt svg { width: 14px; height: 14px; color: #e6c47f; }

.dlc-body { position: relative; flex: 1 1 auto; min-height: 0; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; background: linear-gradient(180deg, #f8f3eb, #fffdfa 180px); scrollbar-width: thin; scrollbar-color: rgba(16, 35, 63, .18) transparent; }
.dlc--open .dlc-st { animation: dlcUp .6s var(--dlc-ease) backwards; animation-delay: calc(var(--i, 0) * 55ms + 140ms); }

/* Powitanie */
.dlc-welcome, .dlc-form, .dlc-sent { padding: 26px 22px 24px; }
.dlc-h { margin: 0; color: var(--dlc-ink); font-family: inherit; font-size: 23px; font-weight: 800; line-height: 1.16; letter-spacing: -.02em; text-wrap: balance; }
.dlc-h em { color: var(--dlc-gold-ink); font-family: "Cinzel", Georgia, serif; font-style: italic; font-weight: 500; letter-spacing: 0; }
.dlc-lead { margin: 12px 0 0; color: var(--dlc-text); font-size: 14.5px; line-height: 1.65; text-wrap: pretty; }
.dlc-kicker { display: flex; align-items: center; gap: 12px; margin: 26px 0 4px; color: var(--dlc-gold-ink); font-family: "Cinzel", Georgia, serif; font-size: 11px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; }
.dlc-kicker::before { content: ""; flex: none; width: 28px; height: 1px; background: rgba(185, 138, 58, .55); }
.dlc-topics { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.dlc-topic { display: inline-flex; align-items: center; min-height: 40px; padding: 9px 15px; color: var(--dlc-ink); background: #fff; border: 1px solid #e0d3bd; border-radius: 999px; font-size: 13px; font-weight: 600; line-height: 1.3; text-align: left; transition: border-color .2s ease, background .2s ease, color .2s ease, transform .2s var(--dlc-ease), box-shadow .2s ease; }
.dlc-topic .dlc-dash, .dlc-topic svg { display: none; }
.dlc-topic:hover, .dlc-topic:focus-visible { color: var(--dlc-navy); border-color: rgba(185, 138, 58, .75); background: #fcf8f0; transform: translateY(-1px); box-shadow: 0 6px 14px rgba(16, 35, 63, .06); }
.dlc-topic:active { transform: scale(.97); }
.dlc-topics li:last-child .dlc-topic { color: #fff; background: linear-gradient(150deg, #1b3a68, #10233f 70%); border-color: transparent; box-shadow: 0 6px 16px rgba(16, 35, 63, .16); }
.dlc-topics li:last-child .dlc-topic:hover { color: #fff; box-shadow: 0 8px 20px rgba(16, 35, 63, .24), 0 0 0 3px rgba(185, 138, 58, .25); }

/* Rozmowa */
.dlc-log { display: flex; flex-direction: column; gap: 4px; margin: 0; padding: 18px 16px 14px; list-style: none; }
.dlc-day { display: flex; align-items: center; gap: 12px; margin: 2px 0 12px; color: var(--dlc-muted); font-family: "Cinzel", Georgia, serif; font-size: 10.5px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; }
.dlc-day::before, .dlc-day::after { content: ""; flex: 1; height: 1px; background: #ece4d6; }
.dlc-msg { display: flex; align-items: flex-end; gap: 8px; }
.dlc-msg--tail { margin-bottom: 12px; }
.dlc-msg--me { justify-content: flex-end; }
.dlc-msg-av { display: block; flex: none; width: 28px; height: 28px; }
.dlc-msg-av .dlc-av { padding: 0; background: none; }
.dlc-msg--tail .dlc-msg-av { margin-bottom: 18px; }
.dlc-msg--tail .dlc-msg-av:has(+ .dlc-msg-col > .dlc-typing) { margin-bottom: 0; }
.dlc .dlc-msg-av .dlc-av img { padding: 2px; border: 1px solid #c9a25a; background: #fff; }
.dlc .dlc-av img { max-width: none; height: 100% !important; aspect-ratio: 1; object-position: 50% 16%; vertical-align: top; }
.dlc-msg-col { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; max-width: 80%; }
.dlc-msg--me .dlc-msg-col { align-items: flex-end; }
.dlc-bubble { margin: 0; padding: 10px 14px; font-size: 14.5px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.dlc-msg--host .dlc-bubble { color: #23211d; background: #f3ece1; border: 1px solid #eadfcd; border-radius: 6px 18px 18px 6px; }
.dlc-msg--host.dlc-msg--head .dlc-bubble { border-top-left-radius: 18px; }
.dlc-msg--me .dlc-bubble { color: #fff; background: linear-gradient(150deg, #1b3a68, #10233f 70%); border-radius: 18px 6px 6px 18px; box-shadow: 0 6px 16px rgba(16, 35, 63, .12); }
.dlc-msg--me.dlc-msg--head .dlc-bubble { border-top-right-radius: 18px; }
.dlc-msg-meta { display: flex; align-items: center; gap: 5px; margin-top: 5px; padding: 0 4px; color: var(--dlc-muted); font-size: 11px; font-weight: 500; line-height: 1.2; }
.dlc-msg-meta svg { width: 15px; height: 15px; stroke-width: 2; }
.dlc-msg-meta.is-read svg { color: var(--dlc-gold); }
.dlc-in { animation: dlcMsgIn .45s var(--dlc-ease) backwards; }
.dlc-msg--host.dlc-in { transform-origin: 0 100%; }
.dlc-msg--me.dlc-in { transform-origin: 100% 100%; }
.dlc-typing { display: inline-flex; align-items: center; gap: 4px; padding: 14px 15px !important; }
.dlc-typing i { width: 6px; height: 6px; border-radius: 50%; background: #a99f8c; animation: dlcBlink 1.2s ease-in-out infinite; }
.dlc-typing i:nth-child(2) { animation-delay: .15s; }
.dlc-typing i:nth-child(3) { animation-delay: .3s; }

.dlc-composer { flex: none; padding: 12px 14px 6px; background: var(--dlc-paper); border-top: 1px solid #efe7da; }
.dlc-field-wrap { display: flex; align-items: flex-end; gap: 8px; padding: 5px 5px 5px 16px; background: #fff; border: 1px solid var(--dlc-line); border-radius: 24px; transition: border-color .2s ease, box-shadow .2s ease; }
.dlc-field-wrap:focus-within { border-color: rgba(185, 138, 58, .7); box-shadow: 0 0 0 4px rgba(185, 138, 58, .14); }
.dlc-input { flex: 1; min-width: 0; height: 38px; min-height: 38px; max-height: 132px; margin: 0; padding: 9px 0; color: var(--dlc-ink); background: transparent; border: 0; outline: 0; resize: none; font: inherit; font-size: 14.5px; line-height: 1.4; }
.dlc .dlc-input, .dlc .dlc-input:focus, .dlc .dlc-input:focus-visible { border: 0 !important; outline: 0 !important; box-shadow: none !important; border-radius: 0; }
.dlc-input::placeholder { color: #8f897c; opacity: 1; }
.dlc-send { display: grid; place-items: center; flex: none; width: 40px; height: 40px; color: #241703; background: linear-gradient(150deg, #e6c47f, #c79a45 54%, #ac7a2e); border-radius: 50%; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 4px 12px rgba(169, 118, 43, .25); transition: transform .3s var(--dlc-ease), background .2s ease, color .2s ease, box-shadow .2s ease; }
.dlc-send svg { stroke-width: 2.1; transition: transform .35s var(--dlc-ease); }
.dlc-send:disabled { color: #a39883; background: #efe7d8; box-shadow: none; cursor: default; }
.dlc-send:not(:disabled):hover { transform: scale(1.06); }
.dlc-send:not(:disabled):hover svg { transform: translateY(-2px); }
.dlc-send:not(:disabled):active { transform: scale(.92); }
.dlc-foot { flex: none; margin: 0; padding: 6px 16px 12px; color: var(--dlc-muted); background: var(--dlc-paper); font-size: 11.5px; line-height: 1.45; text-align: center; }
.dlc-foot { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 2px 8px; }
.dlc-foot-sep { width: 3px; height: 3px; border-radius: 50%; background: var(--dlc-gold); opacity: .7; }
.dlc--offline .dlc-foot { padding-top: 12px; border-top: 1px solid #efe7da; }
.dlc-foot a, .dlc-check a { color: var(--dlc-navy); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(185, 138, 58, .55); text-underline-offset: 3px; }
.dlc-foot a:hover, .dlc-check a:hover { color: var(--dlc-gold-ink); }

/* Formularz offline */
.dlc-hours { display: flex; align-items: center; gap: 9px; margin: 16px 0 0; padding: 10px 12px; color: var(--dlc-text); background: var(--dlc-sand); border: 1px solid #ece3d4; border-radius: 12px; font-size: 12.5px; font-weight: 600; line-height: 1.4; }
.dlc-hours svg { width: 16px; height: 16px; color: var(--dlc-gold-ink); }
.dlc-fields { display: grid; gap: 16px; margin-top: 22px; }
.dlc-field { display: grid; gap: 7px; min-width: 0; margin: 0; padding: 0; border: 0; }
.dlc-label { padding: 0; color: var(--dlc-ink); font-size: 12.5px; font-weight: 700; line-height: 1.3; }
.dlc-label small { margin-left: 4px; color: var(--dlc-muted); font-size: 12px; font-weight: 500; }
.dlc-control { display: block; width: 100%; min-height: 46px; margin: 0; padding: 11px 14px; color: var(--dlc-ink); background: #fff; border: 1px solid var(--dlc-line); border-radius: 12px; outline: 0; font: inherit; font-size: 14.5px; line-height: 1.45; -webkit-appearance: none; appearance: none; transition: border-color .2s ease, box-shadow .2s ease; }
.dlc-control::placeholder { color: #8f897c; opacity: 1; }
textarea.dlc-control { min-height: 104px; max-height: 220px; resize: vertical; }
.dlc-control:focus { border-color: rgba(185, 138, 58, .75); box-shadow: 0 0 0 4px rgba(185, 138, 58, .14); }
.dlc-control[aria-invalid="true"] { border-color: rgba(179, 38, 30, .6); box-shadow: 0 0 0 4px rgba(179, 38, 30, .08); }
.dlc-err { display: flex; align-items: center; gap: 6px; margin: 0; color: var(--dlc-err); font-size: 12.5px; font-weight: 600; line-height: 1.4; animation: dlcShake .4s ease; }
.dlc-err svg { width: 15px; height: 15px; }
.dlc-seg { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 4px; background: #f3ece1; border: 1px solid #eadfcd; border-radius: 999px; }
.dlc-seg-thumb { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); background: #fff; border-radius: 999px; box-shadow: 0 2px 8px rgba(16, 35, 63, .12), 0 0 0 1px rgba(185, 138, 58, .28); transition: transform .45s var(--dlc-ease); }
.dlc-seg[data-via="phone"] .dlc-seg-thumb { transform: translateX(100%); }
.dlc-seg-opt { position: relative; z-index: 1; cursor: pointer; }
.dlc-seg-opt input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.dlc-seg-opt span { display: flex; align-items: center; justify-content: center; gap: 8px; height: 38px; color: #6b675d; border-radius: 999px; font-size: 13.5px; font-weight: 700; transition: color .25s ease; }
.dlc-seg-opt svg { width: 16px; height: 16px; }
.dlc-seg-opt input:checked + span { color: var(--dlc-navy); }
.dlc-seg-opt input:checked + span svg { color: var(--dlc-gold-ink); }
.dlc-seg-opt input:focus-visible + span { outline: 2px solid rgba(185, 138, 58, .8); outline-offset: 2px; }
.dlc-check { position: relative; display: flex; align-items: flex-start; gap: 12px; color: var(--dlc-text); font-size: 12.5px; line-height: 1.55; cursor: pointer; }
.dlc-check input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.dlc-box { display: grid; place-items: center; flex: none; width: 20px; height: 20px; margin-top: 1px; color: #fff; background: #fff; border: 1.5px solid #cdbfa8; border-radius: 6px; transition: background .2s ease, border-color .2s ease; }
.dlc-box svg { width: 14px; height: 14px; stroke-width: 2.6; stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset .35s var(--dlc-ease); }
.dlc-check input:checked + .dlc-box { background: var(--dlc-gold); border-color: var(--dlc-gold); }
.dlc-check input:checked + .dlc-box svg { stroke-dashoffset: 0; }
.dlc-check input:focus-visible + .dlc-box { outline: 2px solid rgba(185, 138, 58, .8); outline-offset: 2px; }
.dlc-check input[aria-invalid="true"] + .dlc-box { border-color: var(--dlc-err); }
.dlc-submit { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 52px; margin-top: 4px; padding: 14px 22px; color: #fff; background: linear-gradient(150deg, #1b3a68, #10233f 58%, #0b1d34); border-radius: 999px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 10px 24px rgba(16, 35, 63, .18); font-size: 14.5px; font-weight: 700; line-height: 1; transition: transform .3s var(--dlc-ease), box-shadow .3s ease; }
.dlc-submit:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 14px 30px rgba(16, 35, 63, .22), 0 0 24px rgba(185, 138, 58, .3); }
.dlc-submit svg { width: 16px; height: 16px; color: #e6c47f; transition: transform .35s var(--dlc-ease); }
.dlc-submit:hover svg { transform: translateX(3px); }
.dlc-submit[aria-busy="true"] { pointer-events: none; }
.dlc-spin { width: 16px; height: 16px; border: 2px solid rgba(255, 255, 255, .28); border-top-color: #e6c47f; border-radius: 50%; animation: dlcSpin .8s linear infinite; }

/* Wysłano */
.dlc-sent { display: flex; flex-direction: column; align-items: center; padding-top: 52px; text-align: center; }
.dlc-sent .dlc-h { outline: none; }
.dlc-sent-ic { width: 76px; height: 76px; margin-bottom: 24px; }
.dlc-sent-ic svg { width: 76px; height: 76px; }
.dlc-sent-ic circle { stroke: rgba(185, 138, 58, .4); stroke-width: 1.4; stroke-dasharray: 151; stroke-dashoffset: 151; animation: dlcDraw .9s var(--dlc-ease) .1s forwards; }
.dlc-sent-ic path { stroke: var(--dlc-gold); stroke-width: 2.4; stroke-dasharray: 34; stroke-dashoffset: 34; animation: dlcDraw .6s var(--dlc-ease) .7s forwards; }
.dlc-sent-to { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; margin-top: 14px; padding: 9px 16px; color: var(--dlc-navy); background: var(--dlc-sand); border: 1px solid #ece3d4; border-radius: 999px; font-size: 14px; font-weight: 700; overflow-wrap: anywhere; animation: dlcUp .6s var(--dlc-ease) .9s backwards; }
.dlc-sent-to svg { width: 16px; height: 16px; color: var(--dlc-gold-ink); }
.dlc-sent .dlc-lead { max-width: 30ch; }
.dlc-ghost { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 28px; padding: 10px 20px; color: var(--dlc-navy); border: 1px solid rgba(16, 35, 63, .16); border-radius: 999px; font-size: 14px; font-weight: 700; transition: border-color .2s ease, background .2s ease; }
.dlc-ghost:hover { background: #fcf8f0; border-color: rgba(185, 138, 58, .6); }

@media (min-width: 601px) { .dlc-only-mobile { display: none !important; } }

@media (max-width: 600px) {
    .dlc-launcher { right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); height: 54px; gap: 10px; padding-right: 20px; }
    .dlc-launcher-ic { width: 42px; height: 42px; }
    .dlc-badge { left: 32px; }
    .dlc--collapsed .dlc-launcher { gap: 0; padding-right: 5px; }
    .dlc--collapsed .dlc-launcher-label { max-width: 0; opacity: 0; }
    .dlc--open .dlc-launcher { opacity: 0; pointer-events: none; transform: translateY(20px); }
    .dlc-teaser { right: 14px; bottom: calc(80px + env(safe-area-inset-bottom)); }
    .dlc-panel { top: var(--dlc-vt, 0px); right: 0; bottom: auto; left: 0; width: 100%; height: 100vh; height: var(--dlc-vh, 100dvh); border: 0; border-radius: 0; transform: translateY(40px); transform-origin: 50% 100%; }
    .dlc-head { padding: calc(10px + env(safe-area-inset-top)) 14px 16px 18px; }
    .dlc-icon-btn { width: 44px; height: 44px; }
    .dlc-host { margin-top: 10px; }
    .dlc-head .dlc-av { width: 42px; height: 42px; }
    .dlc-meta { margin-top: 14px; }
    .dlc-only-desktop { display: none !important; }
    .dlc-welcome, .dlc-form, .dlc-sent { padding-right: 18px; padding-left: 18px; }
    .dlc-input, .dlc-control { font-size: 16px; }
    .dlc-topic { min-height: 56px; }
    .dlc-foot { padding-bottom: calc(10px + env(safe-area-inset-bottom)); }
}

@keyframes dlcLaunch { from { opacity: 0; transform: translateY(22px) scale(.9); } }
@keyframes dlcPulse { 0% { transform: scale(1); opacity: .6; } 70%, 100% { transform: scale(2.8); opacity: 0; } }
@keyframes dlcWiggle { 0% { transform: rotate(0); } 30% { transform: rotate(-12deg); } 60% { transform: rotate(8deg); } 100% { transform: rotate(0); } }
@keyframes dlcNudge { 0%, 100% { transform: none; } 30% { transform: translateY(-6px); } 55% { transform: translateY(0); } 75% { transform: translateY(-2px); } }
@keyframes dlcPop { 0% { transform: scale(0); } 60% { transform: scale(1.25); } 100% { transform: scale(1); } }
@keyframes dlcUp { from { opacity: 0; transform: translateY(10px); } }
@keyframes dlcMsgIn { from { opacity: 0; transform: translateY(8px) scale(.96); } }
@keyframes dlcBlink { 0%, 80%, 100% { opacity: .35; transform: none; } 40% { opacity: 1; transform: translateY(-3px); } }
@keyframes dlcShake { 0%, 100% { transform: none; } 25% { transform: translateX(-4px); } 50% { transform: translateX(3px); } 75% { transform: translateX(-2px); } }
@keyframes dlcSpin { to { transform: rotate(360deg); } }
@keyframes dlcDraw { to { stroke-dashoffset: 0; } }

@media (prefers-reduced-motion: reduce) {
    .dlc *, .dlc *::before, .dlc *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
    .dlc-sent-ic circle, .dlc-sent-ic path { stroke-dashoffset: 0; }
}
