/* Nugezza on the web: business.nugezza.com and developer.nugezza.com, ONE look (owner, 2026-11-12: "make both sites uses
   the same values for sizing and colors. and same style").

   THE ONE SOURCE. Never edit a copy: `python3 brand/extra_web_style.py` writes it, byte for byte, to
     apps/server/assets/business-site/nugezza-web.css          (business-site/layout.ts puts it first in the page's <style>)
     apps/server/assets/developer-site/site/nugezza-web.css   (linked before site.css)
   and each site's gate refuses a copy that differs, and a site stylesheet that sets one of these values again.

   What is here: every colour and size both sites use, and the parts both draw the same way (the page, the header bar with
   its lockup, links, picker, account and phone menu, buttons, the small label over a title, the hero's badge and title, a
   section and its head, a card, the footer, the floating live chat button and its panel). The markup of the header and
   the chat is written once too (apps/server/src/lib/site-chrome.ts), and what they do (brand/web/nugezza-web.js).
   What is not: each site's own layouts. Those use these values (var(--…)), never their own numbers for them.

   Light only. Inter, from each site's own @font-face (the file's address carries its hash). Two widths step the layout
   down, the same on both sites: 1080px (a laptop, a tablet) and 720px (a phone). */

:root {
  /* Colour: Nugezza blue and its ramp (brand/README.md), the inks, the lines, the states. */
  --brand: #0057AF;
  --brand-ink: #004A95;
  --brand-deep: #003F80;
  --brand-50: #EEF4FB;
  --brand-100: #DCE8F7;
  --brand-200: #B9D2F0;
  --btn: #0057AF;
  --btn-hover: #004A95;
  --ink: #0B1324;
  --text: #3A4559;
  --muted: #667085;
  --faint: #98A2B3;
  --line: #E6EAF0;
  --line-strong: #D5DBE5;
  --bg: #FFFFFF;
  --soft: #F7F9FC;
  --ok: #12805C;
  --ok-50: #ECFDF3;
  --warn: #B54708;
  --warn-50: #FFFAEB;
  --danger: #B42318;
  --danger-hover: #912018;
  --danger-50: #FEF3F2;

  /* Shape */
  --radius: 16px;
  --radius-sm: 10px;
  --radius-btn: 12px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .08);
  --shadow: 0 12px 32px -12px rgba(16, 24, 40, .18), 0 4px 8px -4px rgba(16, 24, 40, .06);
  --shadow-lg: 0 30px 60px -20px rgba(0, 53, 107, .30), 0 12px 24px -12px rgba(16, 24, 40, .14);
  --shadow-btn: 0 6px 16px -6px rgba(0, 87, 175, .55);

  /* Type */
  --font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --fs: 16px;
  --fs-hero: 58px;
  --fs-h2: 44px;
  --fs-lead: 19px;

  /* Layout: ONE column for every page of both sites, public and signed in (owner, 2026-11-15: "different width ... i want
     both sites follows same style same sizing"): the header, the page and the footer all sit in it. 1440px: the width
     the signed-in pages' side panel and tables were built for (in 1200px a till's tables ran out of their boxes). */
  --wrap: 1440px;
  --gutter: 32px;
  --header: 72px;
  --sec: 112px;

  /* Controls: a button, a small one (a finger's 44px), a field. */
  --ctl: 48px;
  --ctl-sm: 44px;
  --field: 46px;

  color-scheme: light;
}
@media (max-width: 1080px) {
  :root { --gutter: 24px; --fs-hero: 46px; --sec: 88px; }
  /* The header's links and its main button go into the phone's menu (the script folds them earlier when they do not fit). */
  .nav { display: none; }
  .menu { display: block; }
  .hdr-end > .btn { display: none; }
}
@media (max-width: 720px) {
  :root { --gutter: 16px; --header: 64px; --fs-hero: 38px; --fs-h2: 32px; --fs-lead: 17px; --sec: 72px; }
}
/* Sinhala pages: the platform's Sinhala face first (each site's @font-face, only on those pages), then the same faces. */
html:lang(si) { --font: "Noto Sans Sinhala", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif; }

/* ── The page ── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  a.card:hover { transform: none; }
}
body { margin: 0; background: var(--bg); color: var(--text); font: var(--fs)/1.6 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-ink); text-decoration: none; }
a:hover { color: var(--brand-deep); text-decoration: underline; }
:focus-visible { outline: 3px solid var(--brand-200); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; letter-spacing: -.02em; line-height: 1.15; }
p { margin: 0; }
[id] { scroll-margin-top: calc(var(--header) + 12px); }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* ── The header bar: see-through over the page, its line once the page moves (the script sets .scrolled). ONE bar on
   every page of both sites, public and signed in (site-chrome.ts siteHeader): the same height, the same column. ── */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .88); backdrop-filter: saturate(1.5) blur(12px); -webkit-backdrop-filter: saturate(1.5) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.hdr.scrolled { border-bottom-color: var(--line); }
/* backdrop-filter makes the header the containing block of anything fixed inside it, which would trap the phone menu's
   full-screen panel in the bar. No blur while the menu is open. */
.hdr:has(.menu[open]) { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
.hdr-in { height: var(--header); display: flex; align-items: center; gap: 24px; }
.ic { flex: none; }
/* Who the header is for (site-chrome.ts siteAccount): signed in or not, one of the two shows, never both. */
html[data-auth="in"] [data-auth="out"], html:not([data-auth="in"]) [data-auth="in"] { display: none!important; }
/* The lockup, in the proportions of the kit's own image lockups (brand/make_assets.py lockup_horizontal): the REAL
   horizontal logo, a hairline 0.62x the logo's height, the product's name in Inter at half the logo's height. The SVG's
   viewBox carries its clear space (220 of its 1069 units on each side): the image is pulled left by that much, so the
   arch lines up with the page's edge, and the hairline into it. */
.brand { display: flex; align-items: center; color: var(--ink); flex: none; }
.brand:hover { text-decoration: none; color: var(--ink); }
.brand-logo { display: block; height: 54px; width: auto; margin-left: -11px; flex: none; }
.brand-sep { width: 1px; height: 20px; background: var(--line-strong); margin: 0 10px 0 -2px; flex: none; }
.brand-txt { font-size: 16px; font-weight: 560; line-height: 1; color: var(--ink); position: relative; top: 2px; white-space: nowrap; }
.ftr .brand-logo { height: 48px; margin-left: -10px; }
.ftr .brand-sep { height: 17px; margin: 0 9px 0 -1px; }
.ftr .brand-txt { font-size: 14px; }
/* Its links, beside the logo. */
.nav { display: flex; align-items: center; gap: 2px; margin-left: 4px; }
.nav a { color: var(--text); font-weight: 550; font-size: 15px; padding: 8px 12px; border-radius: 8px; white-space: nowrap; }
.nav a:hover { color: var(--ink); background: var(--soft); text-decoration: none; }
.nav a[aria-current] { color: var(--brand-ink); background: var(--brand-50); }
/* What a signed-in page with one job puts there instead of links (business.nugezza.com: which business you are in). */
.hdr-mid { display: flex; align-items: center; min-width: 0; }
@media (max-width: 720px) { .hdr-mid { flex: 1 1 auto; } }
/* Its right-hand group: the country and language picker, the account, the main button, all 40px tall. */
.hdr-end { margin-left: auto; display: flex; align-items: center; gap: 10px; }
/* A bar with page links puts them in the middle of the space between the lockup and the right-hand group (owner,
   2026-11-17: "center the pages buttons on header", then "center it between nugezza logo business and language selector
   button"): equal room on both sides of the links, so a wider right-hand group (picker, account, main button) does not
   push them off centre. A bar with no links (the business console) is unchanged; the script still folds the links into
   the menu when the bar overflows. */
.hdr-c > .nav { margin-left: auto; margin-right: auto; }
.hdr-c > .hdr-end { margin-left: 0; }
.hdr-end > * { flex: none; }
.hdr-end .btn-sm { height: 40px; }
.hdr-cta { white-space: nowrap; }
.hdr-acct { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 600; font-size: 14px; white-space: nowrap; flex: none; }
.hdr-acct:hover { text-decoration: none; border-color: var(--brand-200); background: var(--brand-50); color: var(--ink); }
.hdr-acct-full { max-width: 140px; overflow: hidden; text-overflow: ellipsis; }
/* Somebody signed in: their photo (else their round letters), their name, their panel. */
.hdr-me { position: relative; }
.hdr-me > summary { list-style: none; display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 10px 0 4px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 600; font-size: 14px; cursor: pointer; white-space: nowrap; user-select: none; }
.hdr-me > summary::-webkit-details-marker { display: none; }
.hdr-me > summary:hover { border-color: var(--line-strong); }
.hdr-me[open] > summary { border-color: var(--brand-200); background: var(--brand-50); }
.hdr-av { position: relative; overflow: hidden; width: 30px; height: 30px; border-radius: 999px; background: var(--brand); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; letter-spacing: 0; flex: none; }
/* The Nugezza ID photo covers the letters; one that does not load (alt="") leaves them showing. */
.hdr-av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.hdr-av img[hidden] { display: none; }
.hdr-me-n { max-width: 140px; overflow: hidden; text-overflow: ellipsis; }
.hdr-me-n:empty { display: none; }
/* 🗂️ The header's two panels, the account and the country and language, are ONE panel (owner, 2026-11-17: "fix this in
   both sites to proper same style and standardize panel"): the same width, edge, corner, shadow and inner spacing, and
   sections split by the same hairline. Never taller than the screen under the header: they scroll inside themselves. */
.hdr-me-pop, .region-pop { position: absolute; right: 0; top: calc(100% + 8px); width: min(320px, calc(100vw - 24px)); max-height: calc(100vh - var(--header) - 20px); max-height: calc(100dvh - var(--header) - 20px); overflow-y: auto; overscroll-behavior: contain; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 8px; z-index: 60; }
.hdr-me-pop { display: flex; flex-direction: column; }
.hdr-me-pop form { margin: 0; }
.hdr-me-pop a, .hdr-me-pop button { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 42px; padding: 0 10px; border: 0; background: none; border-radius: 10px; font: inherit; font-size: 14.5px; font-weight: 600; color: var(--ink); cursor: pointer; text-align: left; }
.hdr-me-pop a:hover, .hdr-me-pop button:hover { background: var(--soft); text-decoration: none; }
.hdr-me-pop .ic { color: var(--muted); }
/* The account panel: who (photo, name, phone and email), where that is changed, the site's rows, switch, sign out. */
.me-head { display: flex; align-items: center; gap: 12px; padding: 8px 10px 4px; }
.me-head .me-av { width: 44px; height: 44px; font-size: 15px; }
.me-who { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.me-who b { font-size: 15.5px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.me-detail { font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.me-detail[hidden] { display: none; }
.me-note { margin: 0; padding: 4px 10px 10px; font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.me-sec { display: flex; flex-direction: column; gap: 2px; padding: 6px 0; border-top: 1px solid var(--line); }
.me-sec:last-child { padding-bottom: 0; }
.me-sub { margin: 0; padding: 0 10px 6px 40px; font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.region { position: relative; }
.region > summary { list-style: none; display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border-radius: var(--radius-sm); border: 1px solid var(--line); color: var(--text); font-weight: 600; font-size: 14px; cursor: pointer; background: #fff; user-select: none; white-space: nowrap; }
.region > summary::-webkit-details-marker { display: none; }
.region > summary:hover { border-color: var(--line-strong); }
.region[open] > summary { border-color: var(--brand-200); background: var(--brand-50); }
.region-pop.up { top: auto; bottom: calc(100% + 8px); left: 0; right: auto; }
/* The country and language panel: its title, then one section per market (its name, its currency, its languages). */
.region-pop h4, .region-inline h4 { margin: 0; padding: 8px 10px 10px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); font-weight: 700; }
.region-grp { padding: 6px 0; border-top: 1px solid var(--line); }
.region-grp b { display: flex; justify-content: space-between; align-items: baseline; padding: 4px 10px 6px; font-size: 14px; color: var(--ink); }
.region-grp b span { color: var(--faint); font-size: 12.5px; font-weight: 600; }
.region-opts { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 10px 6px; }
.region-opts a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--text); font-size: 14px; font-weight: 550; }
.region-opts a:hover { text-decoration: none; border-color: var(--brand-200); background: var(--brand-50); color: var(--ink); }
.region-opts a[aria-current] { background: var(--brand-50); border-color: var(--brand); color: var(--brand-ink); }
/* The phone's menu: a 44px button, and a panel that is the whole screen under the bar. */
.menu { display: none; }
.menu > summary { list-style: none; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-sm); border: 1px solid var(--line); color: var(--ink); cursor: pointer; background: #fff; }
.menu > summary::-webkit-details-marker { display: none; }
.menu .ic-close { display: none; }
.menu[open] .ic-close { display: block; }
.menu[open] .ic-open { display: none; }
.menu-panel { position: fixed; left: 0; right: 0; top: var(--header); bottom: 0; background: #fff; padding: 12px var(--gutter) 24px; overflow: auto; border-top: 1px solid var(--line); }
.menu-panel nav a { display: block; padding: 14px 4px; font-size: 18px; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line); }
.menu-panel nav a:hover { text-decoration: none; color: var(--brand-ink); }
.menu-panel nav a[aria-current] { color: var(--brand-ink); }
.menu-acts { display: grid; gap: 10px; margin-top: 18px; }
.menu-acts form { margin: 0; }
.menu-panel .btn { width: 100%; }
.menu-panel > .btn { margin-top: 10px; }
.menu-panel .region-inline { margin-top: 20px; }
.menu-panel .region-inline h4 { margin: 0 0 6px; }
/* The links did not fit (measured by the script, never guessed: a long language, a big font, zoom): first the optional
   link goes, then the links go into the menu, then the picker and the main button too. */
.hdr.tight .nav-opt { display: none; }
.hdr.fold .nav { display: none; }
.hdr.fold .menu { display: block; }
.hdr.fold2 .hdr-end > .region, .hdr.fold2 .hdr-end > .btn { display: none; }
.hdr.fold2 .hdr-acct, .hdr.fold2 .hdr-me > summary { width: 44px; height: 44px; padding: 0; justify-content: center; border-radius: 999px; }
.hdr.fold2 .hdr-acct-full, .hdr.fold2 .hdr-me-n, .hdr.fold2 .hdr-me-chev { display: none; }
@media (max-width: 1080px) {
  .hdr-in { gap: 16px; }
}
@media (max-width: 720px) {
  /* A phone: the picker moves into the menu, the account is a round 44px button (a person, or the letters). */
  .hdr-in { gap: 10px; }
  .hdr-end { gap: 8px; }
  .brand-logo { height: 46px; margin-left: -9px; }
  .brand-sep { height: 17px; margin: 0 8px 0 -1px; }
  .brand-txt { font-size: 14px; }
  .hdr-end > .region { display: none; }
  .hdr-acct, .hdr-me > summary { width: 44px; height: 44px; padding: 0; justify-content: center; border-radius: 999px; }
  .hdr-acct-full, .hdr-me-n, .hdr-me-chev { display: none; }
  .hdr-av { width: 34px; height: 34px; font-size: 13px; }
  .hdr-me-pop { position: fixed; left: 12px; right: 12px; top: calc(var(--header) + 4px); width: auto; }
}

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: var(--ctl); padding: 0 22px; border-radius: var(--radius-btn); border: 1px solid transparent; font: inherit; font-size: 16px; font-weight: 650; line-height: 1; white-space: nowrap; cursor: pointer; transition: background .15s, border-color .15s, box-shadow .15s, transform .15s; }
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn[disabled], .btn[aria-disabled="true"] { opacity: .6; cursor: default; transform: none; }
.btn-primary { background: var(--btn); color: #fff; box-shadow: var(--shadow-btn); }
.btn-primary:hover { background: var(--btn-hover); color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--brand-50); border-color: var(--brand-200); color: var(--ink); }
.btn-danger { background: var(--danger); color: #fff; border-color: var(--danger); }
.btn-danger:hover { background: var(--danger-hover); border-color: var(--danger-hover); color: #fff; }
.btn-sm { height: var(--ctl-sm); padding: 0 16px; font-size: 15px; border-radius: var(--radius-sm); }
@media (max-width: 720px) {
  /* Words never cut on a phone: a button grows a line instead. */
  .btn { white-space: normal; height: auto; min-height: var(--ctl); padding-top: 12px; padding-bottom: 12px; max-width: 100%; text-align: center; line-height: 1.25; }
  .btn-sm { min-height: var(--ctl-sm); padding-top: 10px; padding-bottom: 10px; }
}

/* ── Words over a title, the hero's badge and title ── */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-ink); }
.hero-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: 999px; background: #fff; border: 1px solid var(--brand-100); box-shadow: var(--shadow-sm); font-size: 14px; font-weight: 650; color: var(--ink); }
.hero-pill img { width: 22px; height: auto; }
.hero h1 { font-size: var(--fs-hero); line-height: 1.04; letter-spacing: -.035em; font-weight: 780; margin-top: 22px; }
.hero .lead { margin-top: 22px; font-size: calc(var(--fs-lead) + 1px); line-height: 1.55; color: var(--text); max-width: 560px; }

/* ── A section and its head ── */
.sec { padding: var(--sec) 0; }
.sec-soft { background: var(--soft); }
.sec-head { max-width: 760px; margin-bottom: 56px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head h2 { font-size: var(--fs-h2); }
.sec-head .eyebrow + h2 { margin-top: 12px; }
.sec-head p { margin-top: 16px; font-size: var(--fs-lead); color: var(--text); }
@media (max-width: 720px) { .sec-head { margin-bottom: 36px; } }

/* ── A card ── */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); transition: border-color .2s, box-shadow .2s, transform .2s; }
a.card { color: var(--ink); }
a.card:hover { border-color: var(--brand-200); box-shadow: var(--shadow); transform: translateY(-2px); text-decoration: none; }
@media (max-width: 720px) { .card { padding: 22px; } }

/* ── A form's field: its label, the box (one height for an input, a select and the site's own pickers), a hint, a fault ── */
.fld { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; min-width: 0; }
.fld label { font-size: 14px; font-weight: 650; color: var(--ink); }
.fld label small { font-weight: 500; color: var(--muted); }
.fld input, .fld select, .fld textarea { font: inherit; font-size: 16px; color: var(--ink); background-color: #fff; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 0 14px; height: var(--field); width: 100%; min-width: 0; }
.fld select[multiple] { height: auto; padding: 8px 14px; }
.fld textarea { height: auto; min-height: 96px; padding: 12px 14px; resize: vertical; line-height: 1.5; }
/* A file: its choose button is a small button, never the browser's grey one; in a field, the box is a field like the others. */
input[type=file] { font: inherit; font-size: 14px; color: var(--muted); max-width: 100%; min-width: 0; }
input[type=file]::file-selector-button { font: inherit; font-size: 14px; font-weight: 650; height: 32px; padding: 0 12px; margin-right: 12px; border: 1px solid var(--line-strong); border-radius: 8px; background: #fff; color: var(--ink); cursor: pointer; }
input[type=file]::file-selector-button:hover { background: var(--brand-50); border-color: var(--brand-200); }
.fld input[type=file] { height: auto; min-height: var(--field); padding: 6px; font-size: 14px; color: var(--muted); cursor: pointer; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(0, 87, 175, .18); }
.fld .hint { font-size: 13px; color: var(--muted); }
.fld-err { color: var(--danger); font-size: 13px; }
.fld.bad input, .fld.bad select, .fld.bad textarea { border-color: var(--danger); }

/* Every select (and every box with suggestions), in a form or not, wears the same small arrow as a searchable picker's button, never the browser's own
   (a form showed two kinds side by side). A site's own select sets its colour with background-color, never the shorthand,
   and leaves its right 34px to the arrow. */
select:not([multiple]), input[list] { -webkit-appearance: none; appearance: none; padding-right: 34px; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) calc(50% + 1px), calc(100% - 13px) calc(50% + 1px); background-size: 5px 5px; background-repeat: no-repeat; }
/* A box with suggestions (input list=…): the same arrow, always shown, so its list is seen to be there (Chrome draws its own
   only on hover); the browser's own triangle stays, unseen, as the place to tap. */
input[list]::-webkit-calendar-picker-indicator { opacity: 0; cursor: pointer; }

/* ── The footer ── */
.ftr { border-top: 1px solid var(--line); background: var(--soft); padding: 56px 0 40px; }
.ftr p { margin-top: 14px; color: var(--muted); font-size: 15px; max-width: 340px; }
.ftr h4 { margin: 0 0 12px; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.ftr ul a { color: var(--text); }
.ftr ul a:hover { color: var(--ink); }

/* ── 💬 The live chat (site-chrome.ts siteChat): ONE floating button, bottom right, on every page of both sites, and the
   panel it opens. Every class starts with nzc: a site styles short names of its own (.me, .sys), and a bubble wearing
   one of them was drawn one word wide. ── */
.nzc-btn { position: fixed; right: 24px; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 60; display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 20px 0 16px; border: 0; border-radius: 999px; background: var(--brand-ink); color: #fff; font: inherit; font-size: 16px; font-weight: 600; line-height: 1; white-space: nowrap; cursor: pointer; box-shadow: 0 10px 30px rgba(0, 74, 149, .35); transition: background .15s, transform .15s; }
.nzc-btn[hidden], .nzc[hidden] { display: none; }
.nzc-btn:hover { background: var(--brand-deep); }
.nzc-btn:active { transform: translateY(1px); }
.nzc-btn-dot { width: 9px; height: 9px; border-radius: 50%; background: #b8c6dc; box-shadow: 0 0 0 2px var(--brand-ink); flex: none; }
.nzc-btn-dot[hidden] { display: none; }
.nzc-btn-dot.nzc-on { background: #34d399; }
/* The unread answers, on the button and on any other way into the chat. */
.nzc-badge { min-width: 20px; height: 20px; border-radius: 10px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; display: inline-grid; place-items: center; padding: 0 6px; line-height: 1; }
.nzc-btn .nzc-badge { background: #fff; color: var(--brand-ink); }
/* While the chat is open the panel stands where the button was; while the phone's menu covers the page, no button on it. */
html.nzc-open .nzc-btn, html:has(details.menu[open]) .nzc-btn { display: none; }
/* The button never sits on the page's last line: the footer ends above it. */
body:has(> .nzc-btn) > footer { padding-bottom: calc(92px + env(safe-area-inset-bottom, 0px)); }
[data-chat-only][hidden] { display: none!important; }
.nzc { position: fixed; right: 24px; bottom: 24px; z-index: 1000; width: 384px; height: 580px; max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px); background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; overflow: hidden; font-size: 15px; line-height: 1.45; color: var(--text); }
.nzc-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: linear-gradient(135deg, var(--brand), #1d6fcc); color: #fff; }
.nzc-head img { width: 38px; height: 38px; flex: none; }
.nzc-head-t { min-width: 0; }
.nzc-head b { display: block; font-size: 16px; color: #fff; }
.nzc-head span { font-size: 13px; opacity: .95; display: flex; align-items: center; gap: 6px; }
.nzc-head span i { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-200); display: inline-block; flex: none; }
.nzc-head span i.nzc-on { background: #6ee7b7; }
.nzc-x { margin-left: auto; background: rgba(255, 255, 255, .16); border: 0; color: #fff; width: 36px; height: 36px; border-radius: 10px; cursor: pointer; font-size: 22px; line-height: 1; flex: none; }
.nzc-x:hover { background: rgba(255, 255, 255, .26); }
.nzc-x:focus-visible, .nzc-form button:focus-visible { outline: 3px solid var(--brand-200); outline-offset: 2px; }
.nzc-wa { display: flex; align-items: center; gap: 10px; padding: 11px 16px; background: #eafaf0; color: #0b6b37; border-bottom: 1px solid #cdeedb; font-weight: 600; text-decoration: none; }
.nzc-wa:hover { background: #dcf6e6; text-decoration: none; color: #0b6b37; }
.nzc-wa:focus-visible { outline: 3px solid rgba(11, 107, 55, .35); outline-offset: -3px; }
.nzc-wa .ic:last-child { margin-left: auto; opacity: .75; }
.nzc-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 8px; background: #f8fafd; overscroll-behavior: contain; }
.nzc-intro { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.nzc-b { max-width: 82%; padding: 10px 13px; border-radius: 14px; white-space: pre-wrap; overflow-wrap: anywhere; }
.nzc-b small { display: block; font-size: 11px; opacity: .75; margin-top: 4px; }
.nzc-b-me { align-self: flex-end; background: var(--brand-ink); color: #fff; border-bottom-right-radius: 5px; }
.nzc-b-them { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 5px; color: var(--ink); }
.nzc-b-sys { align-self: center; background: transparent; color: var(--muted); font-size: 13px; text-align: center; max-width: 92%; }
.nzc-b.nzc-b-fail { background: var(--danger-50); color: var(--danger); cursor: pointer; }
.nzc-who { font-size: 12px; font-weight: 700; color: var(--brand-ink); margin-bottom: 2px; }
.nzc-id { display: grid; gap: 8px; padding: 10px 12px 0; border-top: 1px solid var(--line); }
.nzc-id input, .nzc-form textarea { font: inherit; font-size: 15px; border: 1px solid var(--line-strong); border-radius: 10px; padding: 10px 12px; background: #fff; color: var(--ink); }
.nzc-me { margin: 0; padding: 10px 14px 0; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.nzc-err { color: var(--danger); font-size: 13px; padding: 0 14px 8px; display: none; }
.nzc-err.nzc-show { display: block; }
.nzc-form { display: flex; gap: 8px; padding: 10px 12px 12px; align-items: flex-end; }
.nzc-form textarea { flex: 1; border-radius: 12px; resize: none; min-height: 44px; max-height: 120px; }
.nzc-form textarea:focus, .nzc-id input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(0, 87, 175, .18); }
.nzc-form button { background: var(--btn); color: #fff; border: 0; border-radius: 12px; height: 44px; padding: 0 16px; font: inherit; font-weight: 600; cursor: pointer; }
.nzc-form button:hover { background: var(--btn-hover); }
.nzc-form button[disabled] { opacity: .55; cursor: default; }
@media (max-width: 720px) {
  /* A phone: the button is a round 56px one with its icon alone; the panel is the whole screen. */
  .nzc-btn { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); width: 56px; height: 56px; padding: 0; justify-content: center; }
  .nzc-btn-l { display: none; }
  .nzc-btn-dot { position: absolute; right: 6px; top: 6px; }
  .nzc-btn .nzc-badge { position: absolute; left: -4px; top: -4px; background: var(--danger); color: #fff; }
  .nzc { right: 0; bottom: 0; width: 100%; height: 100%; max-height: none; border-radius: 0; border: 0; }
}
