/* CNR שחזור מידע — site styles.
   Page content keeps the design's inline styles; this file holds the shared
   chrome (header, nav, form), hover states and the responsive overrides. */

/* Self-hosted fonts (SIL OFL 1.1, from Fontsource) — no requests to Google. */
@font-face { font-family: Rubik; font-style: normal; font-display: swap; font-weight: 300 900; src: url(/assets/fonts/rubik-hebrew-wght-normal.woff2) format("woff2"); unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: Rubik; font-style: normal; font-display: swap; font-weight: 300 900; src: url(/assets/fonts/rubik-latin-wght-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Assistant; font-style: normal; font-display: swap; font-weight: 200 800; src: url(/assets/fonts/assistant-hebrew-wght-normal.woff2) format("woff2"); unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: Assistant; font-style: normal; font-display: swap; font-weight: 200 800; src: url(/assets/fonts/assistant-latin-wght-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --navy: #0e2a47;
  --navy-2: #14406b;
  --blue: #1e6fbf;
  --blue-dark: #15568f;
  --text: #22415f;
  --muted: #55708c;
  --line: #dce8f3;
  --bg: #f8fafd;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 130px; }
body { margin: 0; background: var(--bg); font-family: Assistant, sans-serif; color: var(--text); }
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
img { max-width: 100%; }
:focus-visible { outline: 2.5px solid #5ba6f0; outline-offset: 2px; border-radius: 4px; }
summary { cursor: pointer; }

.skip-link { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 200; background: #fff; color: var(--navy); font-weight: 700; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }

.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

/* Hover states (the design's style-hover). !important because the targets carry inline styles. */
@media (hover: hover) {
  .hv-white:hover { color: #ffffff !important; }
  .hv-blue:hover { color: var(--blue) !important; }
  .hv-sky:hover { background: #7ab8f5 !important; }
  .hv-primary:hover { background: var(--blue-dark) !important; }
  .hv-glass:hover { background: rgba(255,255,255,0.12) !important; }
  .hv-menu:hover { background: #eef5fc !important; color: var(--blue) !important; }
  .hv-wa-dark:hover { background: rgba(43,178,103,0.15) !important; }
  .hv-wa:hover { background: #eafaf1 !important; }
  .hv-lift:hover { box-shadow: 0 16px 36px rgba(14,42,71,0.12) !important; transform: translateY(-3px) !important; }
  .hv-shadow:hover { box-shadow: 0 10px 26px rgba(14,42,71,0.1) !important; }
}

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 14px rgba(14,42,71,0.08); }

.topbar { background: var(--navy); color: #cfe3f7; font-size: 13.5px; display: flex; justify-content: space-between; align-items: center; padding: 7px 40px; gap: 16px; flex-wrap: wrap; }
.topbar-start { display: flex; gap: 20px; align-items: center; }
.topbar-phone { color: #fff; font-weight: 700; text-decoration: none; letter-spacing: 0.4px; font-size: 14.5px; white-space: nowrap; }
.topbar-phone:hover { color: #fff; }
.badge-247 { color: #fff; background: rgba(91,166,240,0.25); border-radius: 20px; padding: 2px 12px; font-weight: 600; white-space: nowrap; }
.topbar-note { color: #8fb8dd; }
.topbar-mail { color: #cfe3f7; text-decoration: none; }
.topbar-mail:hover { color: #fff; }

.mainbar { position: relative; background: #fff; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; padding: 12px 40px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand img { width: 46px; height: 47px; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: Rubik, sans-serif; font-weight: 700; font-size: 22px; color: var(--navy); letter-spacing: 2px; }
.brand-sub { font-size: 13px; color: #4c6a88; font-weight: 600; }

.site-nav { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-list { list-style: none; margin: 0 auto; padding: 0; display: flex; gap: 26px; align-items: center; }
.nav-link { font: 600 15.5px Assistant, sans-serif; text-decoration: none; color: #33475b; padding: 8px 2px; border: 0; border-bottom: 2px solid transparent; background: none; cursor: pointer; display: inline-flex; align-items: center; gap: 5px; }
.nav-link:hover { color: var(--blue); }
.nav-link[aria-current="page"], .nav-group[data-active] > .nav-link { color: var(--blue); border-bottom-color: var(--blue); }
.caret { font-size: 10px; color: #7d97b1; transition: transform 0.15s; }
.nav-group { position: relative; }
.nav-menu { display: none; list-style: none; margin: 0; position: absolute; top: 100%; right: 0; z-index: 60; padding: 8px; min-width: 250px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 16px 40px rgba(14,42,71,0.14); }
.nav-menu::before { content: ""; position: absolute; inset: -10px 0 auto; height: 10px; } /* hover bridge */
.nav-group.open > .nav-menu { display: block; }
.nav-group.open .caret { transform: rotate(180deg); }
.nav-menu a { display: block; text-decoration: none; color: var(--text); font-size: 15px; font-weight: 600; padding: 10px 14px; border-radius: 8px; }
.nav-menu a:hover, .nav-menu a[aria-current="page"] { background: #eef5fc; color: var(--blue); }

.nav-cta { display: flex; gap: 10px; align-items: center; }
.btn { text-decoration: none; border-radius: 10px; font-size: 14.5px; font-weight: 700; white-space: nowrap; text-align: center; }
.btn-wa { color: #0f7a41; border: 1.5px solid #2bb267; padding: 9px 16px; }
.btn-wa:hover { color: #0f7a41; background: #eafaf1; }
.btn-primary { color: #fff; background: var(--blue); padding: 10px 20px; box-shadow: 0 4px 12px rgba(30,111,191,0.3); }
.btn-primary:hover { color: #fff; background: var(--blue-dark); }

.nav-toggle { display: none; width: 46px; height: 46px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 20px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-open .nav-toggle-bars { background: transparent; }
.nav-open .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (hover: hover) and (min-width: 1081px) {
  .nav-group:hover > .nav-menu { display: block; }
}

@media (max-width: 1080px) {
  .mainbar { padding: 10px 20px; }
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; top: 100%; inset-inline: 0; flex-direction: column; align-items: stretch; gap: 16px; padding: 12px 20px 22px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(14,42,71,0.12); max-height: calc(100vh - 120px); max-height: calc(100dvh - 120px); overflow-y: auto; }
  .nav-open .site-nav { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; margin: 0; }
  .nav-list > li { border-bottom: 1px solid #eef3f8; }
  .nav-link { width: 100%; justify-content: space-between; padding: 14px 4px; font-size: 17px; border-bottom: 0; }
  .nav-link[aria-current="page"], .nav-group[data-active] > .nav-link { border-bottom: 0; }
  .nav-menu { position: static; min-width: 0; border: 0; box-shadow: none; padding: 0 12px 10px 0; }
  .nav-menu::before { display: none; }
  .nav-menu a { font-size: 16px; padding: 11px 12px; }
  .nav-cta { display: grid; grid-template-columns: 1fr 1fr; }
  .nav-cta .btn { padding: 13px 16px; font-size: 16px; }
}

@media (max-width: 640px) {
  .topbar { padding: 7px 20px; justify-content: center; }
  .topbar-start { gap: 12px; }
  .topbar-note, .topbar-mail { display: none; }
}

/* ---------- Contact form ---------- */
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14.5px; font-weight: 700; color: #33475b; }
.field input, .field select, .field textarea { font: 400 15.5px Assistant, sans-serif; padding: 12px 14px; border: 1.5px solid #c7dcf0; border-radius: 10px; background: var(--bg); color: var(--text); outline-color: var(--blue); width: 100%; }
.field input[dir="ltr"] { text-align: right; }
.field input[dir="ltr"]::placeholder { text-align: right; }
.contact-form [aria-invalid="true"] { border-color: #c0392b; }
.contact-form button[disabled] { opacity: 0.7; cursor: progress; }
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.form-sent:not([hidden]) { display: flex; }
.link-button { background: none; border: 0; padding: 0; color: var(--blue); font-family: inherit; cursor: pointer; text-align: start; }
.link-button:hover { color: var(--blue-dark); text-decoration: underline; }

/* ---------- Trust band under the home hero ----------
   Flat white band in the old stats style. Items size to their text and get the same
   spacing on both sides of every divider; below 1180px they become an aligned 2×2 grid. */
.highlights { background: #fff; border-bottom: 1px solid #e3edf6; }
.highlights-list { list-style: none; margin: 0 auto; max-width: 1200px; padding: 30px 40px; display: flex; justify-content: center; }
.highlights-list li { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 0 clamp(20px, 2.6vw, 36px); }
.highlights-list li + li { border-inline-start: 1px solid #e3edf6; }
.highlight-title { font: 700 32px/1.15 Rubik, sans-serif; color: var(--blue); white-space: nowrap; }
.highlight-text { font-size: 15px; font-weight: 600; color: #55708c; white-space: nowrap; }
.highlight-title .nowrap { white-space: nowrap; }
@media (max-width: 1180px) {
  .highlights-list { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto auto auto; row-gap: 26px; padding: 28px 24px; }
  .highlights-list li { grid-row: span 2; display: grid; grid-template-rows: subgrid; row-gap: 6px; justify-items: center; padding: 0 16px; }
  .highlights-list li:nth-child(odd) { border-inline-start: 0; }
  .highlight-title { align-self: end; font-size: 28px; }
  .highlight-text { align-self: start; white-space: normal; }
}
@media (max-width: 720px) {
  .hero-pad { padding-top: 64px !important; padding-bottom: 64px !important; }
  .highlights-list { padding: 24px 12px; row-gap: 22px; }
  .highlights-list li { padding: 0 8px; row-gap: 4px; }
  .highlight-title { font-size: 22px; white-space: normal; }
  .highlight-text { font-size: 13.5px; }
}

/* ---------- Google reviews (home) ---------- */
.reviews-fallback[hidden] { display: none !important; }
.reviews-summary:not([hidden]) { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.reviews-score { font: 700 30px Rubik, sans-serif; color: var(--navy); }
.reviews-stars, .review-stars { color: #94600f; letter-spacing: 2px; }
.reviews-stars { font-size: 20px; }
.reviews-count { font-size: 14.5px; color: #4d6680; }
.reviews-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.review-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px 24px; display: flex; flex-direction: column; gap: 10px; }
.review-head { display: flex; align-items: center; gap: 12px; }
.review-avatar { width: 40px; height: 40px; border-radius: 50%; display: block; object-fit: cover; }
.review-avatar-letter { background: var(--blue); color: #fff; font-weight: 700; font-size: 17px; display: flex; align-items: center; justify-content: center; }
.review-who { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.review-author { font-weight: 700; font-size: 15px; color: var(--navy); text-decoration: none; }
a.review-author:hover { text-decoration: underline; }
.review-meta { display: flex; gap: 10px; align-items: center; font-size: 13.5px; color: #4d6680; }
.review-stars { font-size: 13px; letter-spacing: 1.5px; }
.review-text { margin: 0; font-size: 15px; line-height: 1.7; color: #3d5a77; display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
.review-foot { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13.5px; }
.review-translated { color: #4d6680; }
.review-source { font-weight: 700; text-decoration: none; }
.reviews-footer:not([hidden]) { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 4px; }
.reviews-note { font-size: 13.5px; color: #4d6680; }
.reviews-attribution { display: block; height: 18px; width: auto; margin: 10px 10px 5px; }

/* ---------- Legal pages (privacy, terms, accessibility) ----------
   Layout follows the large-company pattern: document header with dates and a lead,
   a sidebar with the legal documents and an in-page contents list, numbered sections
   separated by rules, a short summary box, and a contact block. */
.legal-hero { background: linear-gradient(180deg, #eef5fc, var(--bg)); border-bottom: 1px solid var(--line); }
.legal-hero-inner { max-width: 1120px; margin: 0 auto; padding: 44px 40px 36px; }
.legal-crumbs { font-size: 14px; color: #4d6680; margin-bottom: 18px; }
.legal-crumbs a { color: #4d6680; text-decoration: none; }
.legal-crumbs a:hover { color: var(--blue); text-decoration: underline; }
.legal-eyebrow { margin: 0 0 6px; color: var(--blue); font-weight: 700; font-size: 14.5px; }
.legal-hero h1 { margin: 0; font: 700 40px/1.2 Rubik, sans-serif; color: var(--navy); }
.legal-meta { margin: 12px 0 0; font-size: 14.5px; color: #4d6680; }
.legal-lead { margin: 16px 0 0; max-width: 720px; font-size: 18px; line-height: 1.75; color: #3d5a77; }

.legal-layout { max-width: 1120px; margin: 0 auto; padding: 40px 40px 80px; display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 56px; align-items: start; }
.legal-aside { position: sticky; top: 140px; display: flex; flex-direction: column; gap: 26px; }
.legal-aside-title { margin: 0 0 8px; font-size: 13px; font-weight: 700; letter-spacing: 0.3px; color: #4d6680; }
.legal-docs ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.legal-docs a { display: block; padding: 9px 12px; border-radius: 8px; border-inline-start: 3px solid transparent; color: var(--text); font-weight: 600; font-size: 15px; text-decoration: none; }
.legal-docs a:hover { background: #eef5fc; color: var(--blue); }
.legal-docs a[aria-current="page"] { background: #eef5fc; color: var(--blue); border-inline-start-color: var(--blue); font-weight: 700; }
.legal-toc summary { font-size: 13px; font-weight: 700; color: #4d6680; margin-bottom: 8px; }
.legal-toc-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; border-inline-start: 1px solid var(--line); }
.legal-toc-list a { display: block; padding: 5px 14px; font-size: 14.5px; line-height: 1.5; color: #4d6680; text-decoration: none; }
.legal-toc-list a:hover { color: var(--blue); }

.legal-body { max-width: 760px; min-width: 0; }
.legal-body h2 { margin: 44px 0 14px; padding-top: 26px; border-top: 1px solid var(--line); font: 700 23px/1.35 Rubik, sans-serif; color: var(--navy); }
.legal-body h3 { margin: 22px 0 8px; font: 600 18px Rubik, sans-serif; color: var(--navy); }
.legal-body p, .legal-body li { font-size: 16.5px; line-height: 1.85; color: #33475b; }
.legal-body p { margin: 0 0 14px; }
.legal-body ul { margin: 0 0 14px; padding-inline-start: 22px; display: flex; flex-direction: column; gap: 8px; }
.legal-body strong { color: var(--navy); }
.legal-body a { font-weight: 600; }
.legal-body .clause { display: flex; gap: 12px; }
.legal-body .clause-no { flex: 0 0 38px; color: #4d6680; font-weight: 700; font-variant-numeric: tabular-nums; }

.legal-summary { background: #eef5fc; border: 1px solid #c7dcf0; border-radius: 14px; padding: 22px 26px; }
.legal-summary-title { margin: 0 0 10px; font: 700 17px Rubik, sans-serif; color: var(--navy); }
.legal-summary ul { list-style: none; padding: 0; margin: 0; }
.legal-summary li { position: relative; padding-inline-start: 26px; }
.legal-summary li::before { content: "✓"; position: absolute; inset-inline-start: 0; color: var(--blue); font-weight: 700; }
.legal-summary + h2 { border-top: 0; padding-top: 0; }

.legal-contact { margin-top: 18px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.legal-contact div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.legal-contact span { font-size: 13.5px; color: #4d6680; }
.legal-contact a, .legal-contact strong { font-size: 15.5px; font-weight: 700; color: var(--navy); text-decoration: none; }
.legal-contact a:hover { color: var(--blue); }
.legal-top { margin-top: 36px; font-size: 14.5px; }

@media (max-width: 960px) {
  .legal-layout { grid-template-columns: 1fr; gap: 28px; padding-top: 24px; }
  .legal-aside { position: static; gap: 16px; }
  .legal-docs ul { flex-direction: row; flex-wrap: wrap; gap: 8px; }
  .legal-docs a { border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; background: #fff; font-size: 14.5px; }
  .legal-docs a[aria-current="page"] { border-color: var(--blue); }
  .legal-toc { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; }
  .legal-toc summary { margin: 0; cursor: pointer; font-size: 15px; color: var(--navy); }
  .legal-toc[open] summary { margin-bottom: 8px; }
}
@media (max-width: 720px) {
  .legal-hero-inner, .legal-layout { padding-left: 20px; padding-right: 20px; }
  .legal-hero h1 { font-size: 32px; }
  .legal-lead { font-size: 17px; }
  .legal-body h2 { font-size: 21px; }
  .legal-contact { grid-template-columns: 1fr; }
}
@media print {
  .site-header, .skip-link, .legal-aside, footer, .legal-top { display: none !important; }
  .legal-layout { display: block; padding: 0; }
  .legal-hero { background: none; border: 0; }
  .legal-body { max-width: none; }
}

/* ---------- Responsive overrides for the design's inline layout ---------- */
@media (max-width: 1080px) {
  .cols-4 { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 960px) {
  .cols-3 { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 720px) {
  .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr !important; }
  .wrap { padding-left: 20px !important; padding-right: 20px !important; }
  .pad-lg { padding: 22px !important; }
  .fs-1 { font-size: 32px !important; line-height: 1.25 !important; }
  .fs-2 { font-size: 24px !important; }
  .cols-2, .cols-3, .cols-4 { gap: 16px !important; }
  .stats > * { border: 0 !important; }
}

/* ---------- Live chat (visitor widget, assets/js/chat.js) ---------- */
.chat { position: fixed; z-index: 150; inset-inline-end: 20px; bottom: 20px; font-family: Assistant, sans-serif; }
.chat-launcher { position: relative; display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 22px 0 18px; border: 0; border-radius: 999px; background: var(--blue); color: #fff; font: 700 16px Assistant, sans-serif; cursor: pointer; box-shadow: 0 10px 28px rgba(14,42,71,0.28); }
.chat-launcher:hover { background: var(--blue-dark); }
.chat-badge { position: absolute; top: -5px; inset-inline-start: -5px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; border: 2px solid #fff; background: #c0392b; color: #fff; font-size: 12.5px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.chat-badge[hidden], .chat-panel[hidden], .chat-note[hidden] { display: none; }
.chat-panel { position: absolute; bottom: 70px; inset-inline-end: 0; width: 370px; height: min(560px, calc(100vh - 120px)); display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 24px 60px rgba(14,42,71,0.22); }
.chat-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 16px 18px; background: var(--navy); }
.chat-title { margin: 0; font: 700 17px Rubik, sans-serif; color: #fff; }
.chat-status { margin: 4px 0 0; display: flex; align-items: center; gap: 7px; font-size: 13.5px; color: #cfe3f7; }
.chat-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #8fb8dd; }
.chat-status[data-state="online"]::before { background: #2bb267; }
.chat-close { width: 34px; height: 34px; border: 0; border-radius: 8px; background: rgba(255,255,255,0.12); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.chat-close:hover { background: rgba(255,255,255,0.22); }
.chat-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--bg); }
.chat-msg { max-width: 82%; padding: 10px 13px; border-radius: 14px; font-size: 15px; line-height: 1.55; }
.chat-msg p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.chat-msg-me { align-self: flex-end; background: var(--blue); color: #fff; border-end-end-radius: 4px; }
.chat-msg-them { align-self: flex-start; background: #fff; color: var(--text); border: 1px solid var(--line); border-end-start-radius: 4px; }
.chat-meta { display: block; margin-top: 4px; font-size: 11.5px; }
.chat-msg-me .chat-meta { color: #e6f0fb; }
.chat-msg-them .chat-meta { color: #4d6680; }
.chat-note { margin: 0; padding: 10px 16px; font-size: 13.5px; line-height: 1.5; color: #6b4d15; background: #fdf6ea; border-top: 1px solid #f0e2c8; }
.chat-form { display: flex; align-items: flex-end; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: #fff; }
.chat-input { flex: 1; resize: none; max-height: 120px; padding: 10px 12px; font: 400 15.5px Assistant, sans-serif; color: var(--text); background: var(--bg); border: 1.5px solid #c7dcf0; border-radius: 12px; }
.chat-send { flex: 0 0 44px; height: 44px; display: flex; align-items: center; justify-content: center; border: 0; border-radius: 12px; background: var(--blue); color: #fff; cursor: pointer; }
.chat-send:hover { background: var(--blue-dark); }
.chat-send svg { transform: scaleX(-1); }
.chat-foot { margin: 0; padding: 0 14px 10px; font-size: 12px; color: #4d6680; background: #fff; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; }
.chat-forget { margin-inline-start: auto; padding: 0; border: 0; background: none; font: inherit; color: #4d6680; text-decoration: underline; cursor: pointer; }
.chat-forget:hover { color: var(--blue, #1e6fbf); }
.chat-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 640px) {
  .chat { inset-inline-end: 14px; bottom: 14px; }
  .chat-launcher { width: 56px; padding: 0; justify-content: center; }
  .chat-launcher-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .chat-open .chat-launcher { display: none; }
  .chat-panel { position: fixed; inset: 0; width: auto; height: auto; border: 0; border-radius: 0; }
}
@media print { .chat { display: none !important; } }
