:root {
  color-scheme: light;
  --page-width: 1440px;
  /* palette of the home page (docs/redesign): navy for text and actions, orange as the accent */
  --orange: #f57a1f;
  --orange-light: #ff9a49;
  /* orange text keeps at least 4.5:1 against white and --orange-soft (WCAG AA); --orange is for surfaces and lines */
  --orange-dark: #b84a06;
  --orange-soft: #fff1e6;
  --navy: #17324d;
  --navy-dark: #0f263d;
  --blue: #2e6791;
  --ink: #162333;
  --muted: #5f6e80;
  --line: #dde5ed;
  --surface: #fff;
  --canvas: #f5f8fb;
  --soft: #eef4f8;
  --green: #197653;
  /* text colors keep at least 4.5:1 against white and their soft backgrounds (WCAG AA) */
  --success: #047857;
  --danger: #b91c1c;
  --gradient-navy: linear-gradient(160deg, #0f263d 0%, #1a3c5e 100%);
  --shadow: 0 8px 28px rgba(23, 50, 77, .055);
  --shadow-sm: 0 10px 30px rgba(23, 50, 77, .08);
  --shadow-lg: 0 24px 60px rgba(23, 50, 77, .12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { display: flex; flex-direction: column; margin: 0; min-height: 100vh; color: var(--ink); font: 16px/1.55 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at 86% 0, rgba(245, 122, 31, .08), transparent 32rem) no-repeat, radial-gradient(circle at 8% 0, rgba(46, 103, 145, .07), transparent 28rem) no-repeat, var(--canvas); }
button, input, select { font: inherit; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--orange-dark); }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .65; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid rgba(245, 122, 31, .4); outline-offset: 3px; }
/* Header and footer shared with the home page (ZoneLayout::header(), footer()) */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .93); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(221, 229, 237, .9); }
.header-inner { max-width: var(--page-width); min-height: 72px; margin: auto; padding: 0 24px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; color: var(--navy); }
.brand:hover { color: var(--navy); }
.brand-mark { width: 42px; height: 42px; flex: none; filter: drop-shadow(0 9px 18px rgba(245, 122, 31, .18)); }
.brand-text { display: grid; gap: 3px; min-width: 0; }
.brand-title { color: var(--navy); font-size: 17px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; white-space: nowrap; }
.brand-sub { color: var(--muted); font-size: 12px; font-weight: 500; line-height: 1.25; }
.header-links { display: flex; gap: 18px; }
.header-links a { color: var(--navy); font-size: 14px; font-weight: 650; white-space: nowrap; }
.header-links a:hover { color: var(--orange-dark); }
.site-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.header-tools { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px 16px; }
.header-end { display: flex; align-items: center; justify-content: flex-end; gap: 14px; min-width: 0; }
/* Language menu: the flag of the current language, the others in a dropdown */
.locale-menu { position: relative; flex: none; }
.locale-menu summary { display: flex; align-items: center; gap: 7px; min-height: 36px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--navy-dark); font-size: 12px; font-weight: 750; letter-spacing: .04em; cursor: pointer; list-style: none; user-select: none; }
.locale-menu summary::-webkit-details-marker { display: none; }
.locale-menu summary::after { content: ""; width: 6px; height: 6px; margin: -3px 1px 0 2px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); }
.locale-menu summary:hover, .locale-menu[open] summary { border-color: var(--navy); }
.locale-menu .flag { display: block; width: 21px; height: 14px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(15, 23, 42, .12); object-fit: cover; }
.locale-options { position: absolute; top: calc(100% + 6px); right: 0; z-index: 20; display: grid; min-width: 168px; padding: 6px; border: 1px solid var(--line); border-radius: 11px; background: #fff; box-shadow: 0 12px 30px rgba(15, 23, 42, .14); }
.locale-option { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 0; border-radius: 7px; background: none; color: var(--navy-dark); font: inherit; font-size: 13px; font-weight: 650; text-align: left; white-space: nowrap; cursor: pointer; }
.locale-option:hover { background: var(--soft); }
.locale-option[aria-current] { background: var(--orange-soft); color: var(--orange-dark); cursor: default; }
.org-switch { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; font-weight: 700; white-space: nowrap; }
.org-switch select { min-height: 36px; max-width: 220px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--navy-dark); font-size: 13px; font-weight: 700; }
.member-permissions { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.unit-scope { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin-top: 10px; }
.unit-scope[hidden] { display: none; }
.check-inline { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; white-space: nowrap; cursor: pointer; }
.check-inline input { width: 16px; height: 16px; accent-color: var(--orange); }
.member-table td { white-space: normal; }
.member-table select { min-height: 36px; padding: 6px 10px; border: 1px solid #c9d6e1; border-radius: 9px; background: #fff; font-size: 13px; }
.actions.actions-compact { margin-top: 0; gap: 6px; flex-wrap: nowrap; }
.actions.installer-links { margin-top: 12px; }
.connector-help { display: grid; gap: 12px; margin-top: 16px; }
.connector-help .field-hint { margin: 0; line-height: 1.55; }
.connector-help .actions.installer-links { margin-top: 0; }
.site-nav a { padding: 8px 13px; border-radius: 99px; color: var(--navy); font-size: 13px; font-weight: 700; white-space: nowrap; }
.site-nav a:hover { background: var(--soft); color: var(--navy-dark); }
.site-nav a.active { background: var(--orange-soft); color: var(--orange-dark); }
.page { flex: 1 0 auto; width: 100%; max-width: var(--page-width); margin: 0 auto; padding: 38px 24px 80px; }
.page.auth-page { max-width: 1228px; padding-top: clamp(28px, 6vw, 76px); }
.auth-shell { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, 460px); gap: clamp(28px, 5vw, 70px); align-items: center; }
/* The intro of the home page (ZoneHome::intro()) left of the card, in a narrower column than on the home page; the card comes first in the HTML */
.auth-shell > .auth-card { grid-column: 2; grid-row: 1; }
.auth-intro { grid-column: 1; grid-row: 1; padding: 18px 0; }
.auth-intro .landing-heading picture { flex-basis: 120px; }
.auth-intro .landing-heading img { width: 120px; }
/* A tall form (registration): wider card, the intro stays at its top instead of the middle of the form */
.page.auth-page:has(.auth-shell-wide) { max-width: var(--page-width); }
.auth-shell-wide { grid-template-columns: minmax(0, 1fr) minmax(420px, 600px); align-items: start; }
.auth-shell-wide .auth-intro { position: sticky; top: 104px; padding-top: 48px; }
.auth-shell-wide .landing-flow { grid-template-columns: 1fr; gap: 7px; max-width: 420px; }
.auth-shell-wide .landing-flow-arrow { height: 20px; transform: rotate(90deg); }
.eyebrow { color: var(--orange-dark); font-size: 12px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.auth-intro h1, .page-title { margin: 12px 0 15px; color: var(--navy-dark); line-height: 1.1; letter-spacing: -.04em; font-size: clamp(32px, 4vw, 52px); }
.auth-intro h1 { margin: 0; line-height: 1.06; letter-spacing: -.042em; font-size: clamp(30px, 3.2vw, 44px); }
.lede { margin: 0; color: #42566b; font-size: 18px; max-width: 49ch; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
.auth-card { position: relative; padding: clamp(25px, 3vw, 34px); border-color: rgba(221, 229, 237, .95); border-radius: 26px; box-shadow: var(--shadow-lg); }
.auth-card::before { content: ""; position: absolute; left: 30px; right: 30px; top: 0; height: 4px; border-radius: 0 0 8px 8px; background: linear-gradient(90deg, var(--orange), var(--orange-light)); }
.auth-card h2 { color: var(--navy-dark); font-size: 25px; letter-spacing: -.025em; line-height: 1.2; margin: 9px 0 8px; }
.auth-card > p, .section-description { color: var(--muted); margin: 0 0 23px; }
.form-stack { display: grid; gap: 16px; }
.field { display: grid; gap: 7px; color: var(--navy-dark); font-size: 13px; font-weight: 700; }
.field input, .field select { display: block; width: 100%; min-height: 47px; padding: 11px 13px; border: 1px solid #c9d6e1; border-radius: 11px; background: #fff; color: var(--ink); box-shadow: inset 0 1px 2px rgba(34, 62, 80, .025); font-weight: 450; }
.field input::placeholder { color: #98a7b3; }
.field input:hover, .field select:hover { border-color: #9eafb9; }
.field input:focus, .field select:focus { border-color: var(--blue); outline: 3px solid rgba(46, 103, 145, .15); }
.field-hint { margin: -2px 0 0; color: var(--muted); font-size: 12px; font-weight: 450; }
.btn { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 44px; padding: 10px 17px; border-radius: 11px; border: 1px solid transparent; font-size: 14px; font-weight: 800; line-height: 1.25; transition: background .18s, border-color .18s, transform .18s, box-shadow .18s; }
.btn:hover:not(:disabled) { transform: translateY(-1px); }
.btn-primary { color: #fff; background: var(--navy); box-shadow: 0 8px 18px rgba(23, 50, 77, .18); }
.btn-primary:hover:not(:disabled) { color: #fff; background: #102a42; box-shadow: 0 10px 22px rgba(23, 50, 77, .22); }
.btn-secondary { background: #fff; color: var(--navy); border-color: #b9c9d7; }
.btn-secondary:hover:not(:disabled) { background: var(--canvas); border-color: #8ba2b8; color: var(--navy); }
.btn-danger { background: #fff; color: var(--danger); border-color: #fecaca; }
.btn-danger:hover:not(:disabled) { background: #fef2f2; }
.btn-full { width: 100%; }
.auth-note { margin: 19px 0 0; padding: 14px 15px; border-radius: 11px; background: var(--soft); color: var(--muted); font-size: 13px; }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 25px; }
.page-heading .page-title { font-size: clamp(31px, 3.6vw, 43px); margin-bottom: 7px; }
.page-heading .lede { font-size: 15px; }
.account-badge { display: inline-flex; align-items: center; gap: 10px; padding: 10px 15px; border-radius: 99px; background: #fff; border: 1px solid var(--line); color: var(--navy-dark); font-size: 13px; font-weight: 700; white-space: nowrap; }
.account-badge::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px var(--orange-soft); }
.hero-bar { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 25px 30px; margin-bottom: 25px; border-radius: 20px; background: var(--gradient-navy); color: #fff; overflow: hidden; position: relative; }
.hero-bar::after { content: ''; position: absolute; right: -120px; top: -150px; width: 340px; height: 340px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 50%; pointer-events: none; }
.hero-bar > * { position: relative; z-index: 1; }
.hero-bar .eyebrow { color: #ffc18d; }
.hero-bar h2 { margin: 4px 0 5px; font-size: 23px; line-height: 1.2; letter-spacing: -.025em; }
.hero-bar p { margin: 0; color: #d3deea; font-size: 13px; }
.hero-value { color: #fff; font-size: 24px; font-weight: 800; white-space: nowrap; }
.usage-meters { display: flex; flex-wrap: wrap; gap: 12px 22px; margin: -8px 0 25px; }
.usage-meters .field-hint { flex-basis: 100%; margin: 0; }
.usage-meter { flex: 1 1 300px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.usage-meter-top { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--muted); }
.usage-meter-top strong { color: var(--navy-dark); font-size: 15px; white-space: nowrap; }
.usage-meter progress { display: block; width: 100%; height: 8px; margin: 9px 0 7px; accent-color: var(--success); }
.usage-meter small { color: var(--muted); font-size: 12px; }
.usage-warn progress { accent-color: #d97706; }
.usage-high progress, .usage-full progress { accent-color: var(--danger); }
.usage-high, .usage-full { border-color: #fecaca; }
.usage-full strong { color: var(--danger); }
.content-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr); gap: 22px; align-items: start; }
.content-grid-even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.content-grid > .section-spaced { margin-top: 0; }
.section-panel { padding: 25px; }
.section-top { display: flex; justify-content: space-between; align-items: start; gap: 15px; margin-bottom: 20px; }
.section-top h2 { margin: 0 0 4px; color: var(--navy-dark); font-size: 20px; letter-spacing: -.02em; }
.section-top p { margin: 0; color: var(--muted); font-size: 13px; }
.section-count { display: inline-flex; justify-content: center; align-items: center; min-width: 28px; height: 28px; padding: 0 8px; border-radius: 8px; background: var(--orange-soft); color: var(--orange-dark); font-size: 12px; font-weight: 800; }
.proposal-list, .pending-list { list-style: none; margin: 0; padding: 0; display: grid; }
.proposal-row { display: flex; align-items: center; justify-content: space-between; gap: 13px; padding: 15px 0; border-top: 1px solid var(--line); }
.proposal-row:first-child { border-top: 0; padding-top: 0; }
.proposal-row:last-child { padding-bottom: 0; }
.proposal-main { min-width: 0; display: grid; gap: 4px; }
.proposal-main a { color: var(--navy-dark); font-weight: 750; overflow-wrap: anywhere; }
.proposal-main a:hover { color: var(--orange-dark); }
.proposal-row.selectable { justify-content: flex-start; }
.proposal-row.selectable .proposal-main { flex: 1; }
.bulkProposal { flex: none; width: 18px; height: 18px; accent-color: var(--orange); cursor: pointer; }
.bulk-all { margin-left: auto; align-self: center; }
.bulk-approve { display: grid; gap: 12px; margin-top: 21px; padding-top: 19px; border-top: 1px solid var(--line); }
.bulk-approve h3 { margin: 0; color: var(--navy-dark); font-size: 16px; }
.bulk-selection { margin: 0; color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.bulk-approve .notice { margin: 0; }
.bulk-declaration { white-space: normal; align-items: flex-start; color: var(--ink); font-weight: 650; }
.bulk-declaration input { flex: none; margin-top: 1px; }
.legal-check { white-space: normal; align-items: flex-start; color: var(--ink); line-height: 1.45; }
.legal-check input { flex: none; margin-top: 2px; }
.legal-card { border-left: 3px solid var(--orange); }
.bulk-approve .actions { margin-top: 0; }
.proposal-meta { color: var(--muted); font-size: 12px; }
.status { display: inline-flex; align-items: center; padding: 5px 9px; border-radius: 99px; font-size: 11px; font-weight: 800; white-space: nowrap; background: var(--soft); color: var(--navy); }
.status-pending { background: var(--orange-soft); color: #ac480e; }
.status-completed { background: #d1fae5; color: var(--success); }
.status-rejected, .status-failed, .status-expired { background: #fee2e2; color: var(--danger); }
.status-sending, .status-unknown { background: #eaf0f4; color: var(--navy); }
.empty-state { padding: 24px 18px; border: 1px dashed #c9d6e1; border-radius: 12px; text-align: center; color: var(--muted); background: #fafcfd; }
.empty-state strong { display: block; margin-bottom: 4px; color: var(--navy-dark); }
.stack { display: grid; gap: 22px; }
.card-divider { height: 1px; background: var(--line); margin: 22px 0; }
.feature-toggle { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 13px 0; border-top: 1px solid var(--line); cursor: pointer; }
.feature-toggle span { display: grid; gap: 2px; }
.feature-toggle strong { color: var(--navy-dark); font-size: 14px; }
.feature-toggle small { color: var(--muted); font-size: 12px; }
.feature-toggle input { width: 19px; height: 19px; accent-color: var(--orange); cursor: pointer; flex: none; }
.permission-list { list-style: none; margin: 0; padding: 0; }
.permission-list li { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 13px 0; border-top: 1px solid var(--line); }
.permission-list li:first-child { border-top: 0; padding-top: 0; }
.permission-name { display: grid; gap: 2px; min-width: 0; cursor: pointer; }
.permission-name strong { color: var(--navy-dark); font-size: 14px; }
.permission-name small { color: var(--muted); font-size: 12px; }
.permission-warning { color: #ac480e; }
.permission-control { display: flex; align-items: center; justify-content: flex-end; gap: 10px; flex: none; }
.permission-control select { min-height: 36px; padding: 6px 10px; border: 1px solid #c9d6e1; border-radius: 9px; background: #fff; font-size: 13px; }
.permission-control input[type="checkbox"] { width: 19px; height: 19px; accent-color: var(--orange); cursor: pointer; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 21px; }
.pending-list li { display: flex; align-items: center; justify-content: space-between; gap: 14px; border-top: 1px solid var(--line); padding: 13px 0; }
.pending-list li:first-child { border-top: 0; }
.pending-list strong { display: block; font-size: 13px; overflow-wrap: anywhere; }
.pending-list small { color: var(--muted); }
.section-spaced { margin-top: 22px; }
.form-row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 14px; align-items: end; }
.form-row-2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.form-row-3 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; }
.form-row-3 > .btn { min-height: 47px; }
.auth-card .operation-title { margin: 8px 0 -4px; }
.item-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 8px; }
.pending-list small { display: block; }
.btn-small { min-height: 34px; padding: 7px 12px; font-size: 12px; }
code { font: 12px/1.5 ui-monospace, SFMono-Regular, Consolas, monospace; overflow-wrap: anywhere; }
.credentials { display: grid; gap: 12px; margin-top: 20px; padding: 16px; border: 1px solid #a7f3d0; border-radius: 12px; background: #ecfdf5; }
[hidden] { display: none !important; }
.credentials > strong { color: var(--success); font-size: 13px; }
.credentials > .btn { justify-self: start; }
.credential { display: grid; gap: 4px; }
.credential span { color: var(--muted); font-size: 12px; }
.credential-value { display: flex; align-items: center; gap: 8px; }
.credential-value code { flex: 1; min-width: 0; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.tabs a { padding: 8px 14px; border: 1px solid var(--line); border-radius: 99px; background: var(--surface); color: var(--navy); font-size: 13px; font-weight: 700; }
.tabs a.active { border-color: var(--orange); background: var(--orange-soft); color: var(--orange-dark); }
.log-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.log-table th, .log-table td { padding: 9px 8px; border-bottom: 1px solid #e9eef1; text-align: left; vertical-align: top; white-space: nowrap; }
.log-table th { color: var(--muted); font-size: 12px; font-weight: 700; }
.log-table td:nth-child(4) { white-space: normal; overflow-wrap: anywhere; }
.usage-table td:nth-child(3) { white-space: normal; }
.log-table a { color: var(--navy-dark); font-weight: 700; }
.log-table a:hover { color: var(--orange-dark); }
.table-scroll { overflow-x: auto; }
.filters { grid-template-columns: repeat(3, minmax(0, 1fr)) auto; }
.filter-actions { margin-top: 0; }
.log-body { overflow: auto; max-height: 600px; margin: 0; padding: 16px; border: 1px solid var(--line); border-radius: 9px; background: #f8fafb; font: 12px/1.55 ui-monospace, SFMono-Regular, Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
:is(.log-body, .xml-panel pre) .x-tag { color: var(--navy); }
:is(.log-body, .xml-panel pre) .x-ns { color: var(--muted); }
:is(.log-body, .xml-panel pre) .x-attr { color: var(--orange-dark); }
:is(.log-body, .xml-panel pre) .x-val { color: var(--success); }
:is(.log-body, .xml-panel pre) .x-text { color: var(--ink); font-weight: 650; }
:is(.log-body, .xml-panel pre) .x-com, :is(.log-body, .xml-panel pre) .x-decl { color: var(--muted); }
:is(.log-body, .xml-panel pre) .x-com { font-style: italic; }
:is(.log-body, .xml-panel pre) .j-key { color: var(--navy); }
:is(.log-body, .xml-panel pre) .j-str { color: var(--success); }
:is(.log-body, .xml-panel pre) .j-num, :is(.log-body, .xml-panel pre) .j-lit { color: var(--orange-dark); }
:is(.log-body, .xml-panel pre) .j-punct { color: var(--muted); }
:is(.log-body, .xml-panel pre) .j-embedded { background: rgba(23, 50, 77, .06); }
.log-details { margin-top: 14px; }
.log-details summary { margin-bottom: 8px; color: var(--navy-dark); font-size: 13px; font-weight: 750; cursor: pointer; }
.back-link { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 21px; color: var(--navy); font-size: 13px; font-weight: 700; }
.back-link::before { content: '←'; color: var(--orange); font-size: 18px; }
.confirm-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(280px, .85fr); gap: 22px; align-items: start; }
.summary-operation { border-top: 1px solid var(--line); padding-top: 21px; margin-top: 21px; }
.section-top + .summary-operation { border-top: 0; margin-top: 0; padding-top: 0; }
.summary-operation > .section-top { margin-bottom: 6px; }
.summary-operation > .section-top .operation-title { margin: 0; }
.operation-title { color: var(--navy-dark); font-size: 18px; margin: 0 0 14px; }
.summary-group h3 { margin: 19px 0 8px; color: var(--navy); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.summary-group table { width: 100%; border-collapse: collapse; font-size: 13px; }
.summary-group th, .summary-group td { padding: 9px 6px; border-bottom: 1px solid #e9eef1; text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.summary-group th { width: 46%; color: var(--muted); font-weight: 600; }
.summary-group td { color: var(--ink); font-weight: 650; }
.notice-danger { border-left-color: var(--danger) !important; background: #fef2f2 !important; color: #991b1b !important; }
.notice { border-left: 3px solid var(--orange); background: var(--orange-soft); padding: 11px 13px; border-radius: 0 8px 8px 0; color: #82400f; font-size: 13px; }
.detail-line { display: flex; justify-content: space-between; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.detail-line span { color: var(--muted); }
.detail-line strong { color: var(--navy-dark); text-align: right; overflow-wrap: anywhere; }
.detail-line.target-line { margin: 0 -10px; padding: 11px 10px; background: var(--orange-soft); border-radius: 8px; border-bottom: 0; }
.detail-line.target-line strong { font-size: 14px; }
.decision-actions { display: grid; gap: 9px; margin-top: 17px; }
.decision-actions .btn { width: 100%; }
.xml-panel { margin-top: 22px; padding: 0; overflow: hidden; }
.xml-panel summary { display: flex; align-items: center; justify-content: space-between; padding: 20px 25px; color: var(--navy-dark); font-weight: 750; cursor: pointer; list-style: none; }
.xml-panel summary::-webkit-details-marker { display: none; }
.xml-panel summary::after { content: '+'; font-size: 25px; font-weight: 450; color: var(--orange); line-height: 1; }
.xml-panel[open] summary::after { content: '−'; }
.xml-panel pre { overflow: auto; max-height: 500px; margin: 0; padding: 20px 25px; background: #f8fafb; border-top: 1px solid var(--line); font: 12px/1.55 ui-monospace, SFMono-Regular, Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.guide-list li > span a { color: var(--navy-dark); text-decoration: none; }
.guide-list li > span a:hover strong { color: var(--orange-dark); }
.guide-list small { display: block; margin-top: 3px; color: var(--muted); font-size: 13px; }
.guide-steps { max-width: 900px; margin: 0; padding-left: 22px; color: var(--ink); font-size: 15px; }
.guide-steps li { min-width: 0; overflow-wrap: anywhere; }
.guide-steps li + li { margin-top: 26px; }
.guide-steps p { margin: 0; line-height: 1.6; }
.guide-steps li > a { display: block; }
.guide-steps img { display: block; max-width: 100%; height: auto; margin-top: 12px; border: 1px solid var(--line); border-radius: 10px; }
.guide-note { margin: 26px 0 0; }
.guide > p:first-child { max-width: 900px; margin: 0; line-height: 1.6; }
.guide-download { margin: 16px 0 26px; }
.eyebrow a { color: inherit; text-decoration: none; }
.result-report { margin-top: 22px; }
.result-report .summary-operation .section-top { margin-bottom: 8px; }
.result-report .operation-title { margin: 0; }
.result-summary { margin: 0; color: var(--muted); font-size: 13px; }
.auth-switch { margin: -8px 0 0; color: var(--muted); font-size: 13px; text-align: center; }
/* a touch target of 44 px; the links under each other stay close */
.auth-switch a { display: inline-flex; align-items: center; min-height: 44px; }
.auth-switch + .auth-switch { margin-top: -18px; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.plan-strip { margin: 0 0 18px; color: var(--muted); font-size: 13px; }
.plan-strip strong { color: var(--navy-dark); }
.plan-table tr.current td { background: var(--orange-soft); }
.plan-table td .btn { margin-left: 6px; }
.plan-table td small { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; font-weight: 500; }
.message-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.message-list li { display: grid; gap: 3px; padding: 10px 13px; border-left: 3px solid var(--navy); border-radius: 0 8px 8px 0; background: #f8fafc; font-size: 13px; }
.message-list li strong { color: var(--navy-dark); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.message-list li small { color: var(--muted); overflow-wrap: anywhere; }
.message-list .message-failed { border-left-color: var(--danger); background: #fef2f2; }
.message-list .message-failed strong { color: var(--danger); }
.message-list .message-pending { border-left-color: var(--orange); background: var(--orange-soft); }
.message-list .message-pending strong { color: var(--orange-dark); }
.field input[aria-invalid="true"] { border-color: var(--danger); outline: 3px solid rgba(185, 28, 28, .15); }
.section-attention { border-color: #f5c3a0; box-shadow: 0 0 0 3px var(--orange-soft), var(--shadow); }
.pager { display: flex; justify-content: space-between; gap: 10px; margin-top: 18px; }
.pager .btn:only-child:last-child { margin-left: auto; }
.setup-steps { list-style: none; margin: 0; padding: 0; display: grid; counter-reset: step; }
.setup-steps li { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 13px 0; border-top: 1px solid var(--line); counter-increment: step; }
.setup-steps li:first-child { border-top: 0; padding-top: 0; }
.setup-steps li > span:first-child { position: relative; display: grid; gap: 2px; min-width: 0; padding-left: 38px; }
.setup-steps li > span:first-child::before { content: counter(step); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--soft); color: var(--navy); font-size: 12px; font-weight: 800; }
.setup-steps li.done > span:first-child::before { content: '✓'; background: #d1fae5; color: var(--success); }
.setup-steps li.current > span:first-child::before { background: var(--orange-soft); color: var(--orange-dark); }
.setup-steps strong { color: var(--navy-dark); font-size: 14px; }
.setup-steps small { color: var(--muted); font-size: 12px; }
.setup-steps .btn { flex: none; }
.trial-teaser { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 16px; padding: 14px 20px; margin-bottom: 20px; }
.trial-teaser p { margin: 0; font-size: 14px; }
.trial-teaser strong { color: var(--navy-dark); }
.trial-plans { list-style: none; margin: 0; padding: 0; display: grid; }
.trial-plans li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 14px; padding: 13px 0; border-top: 1px solid var(--line); }
.trial-plans li:first-child { border-top: 0; padding-top: 0; }
.trial-plans li > div { display: grid; gap: 4px; min-width: 0; }
.trial-plans strong { color: var(--navy-dark); font-size: 16px; }
.trial-plans small { color: var(--muted); font-size: 12px; }
.trial-plans .btn { flex: none; }
.plan-table .startTrial { margin-top: 6px; }
.connection-state { margin: -8px 0 16px; color: var(--muted); font-size: 13px; }
.connection-state.connection-ok { color: var(--success); font-weight: 650; }
.summary-group .items-table th { width: auto; }
.items-table .num { text-align: right; white-space: nowrap; }
.all-fields { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); }
.all-fields summary { color: var(--navy-dark); font-size: 13px; font-weight: 750; cursor: pointer; }
#message { display: none; position: fixed; right: 24px; bottom: 20px; z-index: 20; width: min(420px, calc(100vw - 32px)); margin: 0; border-radius: 10px; padding: 13px 16px; font-size: 13px; font-weight: 650; box-shadow: var(--shadow); }
#message:not(:empty) { display: block; background: #ecfdf5; color: var(--success); border: 1px solid #a7f3d0; }
#message.error { background: #fef2f2; color: var(--danger); border-color: #fecaca; }
#message.form-message { position: static; width: auto; margin-top: 16px; box-shadow: none; }
.inline-message { margin: 16px 0 0; border-radius: 10px; padding: 13px 16px; font-size: 13px; font-weight: 650; background: #ecfdf5; color: var(--success); border: 1px solid #a7f3d0; }
.inline-message:empty { display: none; }
.inline-message.error { background: #fef2f2; color: var(--danger); border-color: #fecaca; }
.owner-reset { margin: 12px 0 4px; border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; font-size: 13px; }
.owner-reset[hidden] { display: none; }
.owner-reset p:first-child { margin: 0 0 10px; }
.owner-reset .inline-message { margin-top: 12px; }
.site-footer { border-top: 1px solid var(--line); background: #fff; }
.footer-inner { max-width: var(--page-width); margin: 0 auto; padding: 30px 24px 34px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.site-footer .brand-mark { width: 34px; height: 34px; }
.site-footer .brand-title { font-size: 14px; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 18px; font-size: 12px; font-weight: 650; }
.footer-legal a { color: #5f6f80; }
.site-footer a:hover { color: var(--navy); text-decoration: underline; }
.footer-meta { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 16px; padding-top: 16px; border-top: 1px solid var(--soft); color: #6f7d8c; font-size: 11px; }
.footer-meta a { color: inherit; }
.legal-document { max-width: 900px; color: var(--ink); font-size: 15px; line-height: 1.6; overflow-wrap: anywhere; }
.legal-document > :first-child { margin-top: 0; }
.legal-document > :last-child { margin-bottom: 0; }
.legal-document h2 { margin: 28px 0 10px; font-size: 19px; }
.legal-document h3 { margin: 22px 0 8px; font-size: 16px; }
.legal-document p { margin: 0 0 12px; max-width: 80ch; }
.legal-document ul, .legal-document ol { margin: 0 0 12px; padding-left: 22px; max-width: 80ch; }
.legal-document li + li { margin-top: 4px; }
.legal-document hr { margin: 26px 0; border: 0; border-top: 1px solid var(--line); }
.legal-document hr + h2 { margin-top: 0; }
@media (max-width: 850px) {
  .header-inner { flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
  .site-nav { width: 100%; flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; padding-bottom: 2px; }
  /* the language menu stays next to the brand, the navigation goes under them */
  .header-end { display: contents; }
  .header-end > :not(.locale-menu) { order: 2; }
  .header-end > .header-links { order: 0; margin-left: auto; }
  .header-tools { width: 100%; justify-content: flex-start; }
  .site-header { position: static; }
  .auth-shell, .content-grid, .content-grid-even, .confirm-grid, .form-row { grid-template-columns: 1fr; }
  /* the form first as in the HTML, the intro of the home page under it */
  .auth-shell > .auth-card, .auth-intro { grid-column: auto; grid-row: auto; }
  .auth-intro, .auth-shell-wide .auth-intro { position: static; padding: 0; }
  /* the strip of the brands between the intro and the footer */
  body > .landing-trust { border-top: 1px solid var(--line); border-bottom: 0; }
  .page { padding-top: 27px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-legal { justify-content: flex-start; }
}
/* The strip of the brands follows the form of an auth page in the HTML (ZoneLayout::page()); a wide screen shows it under the header */
@media (min-width: 851px) {
  body > .site-header { order: -2; }
  body > .landing-trust { order: -1; }
}
@media (max-width: 560px) {
  .permission-list li { flex-wrap: wrap; }
  .header-inner { min-height: 64px; padding: 0 16px; }
  .brand-mark { width: 36px; height: 36px; }
  .brand-title { font-size: 15px; }
  .brand-sub { font-size: 11px; }
  .page { padding: 24px 16px 55px; }
  .footer-inner { padding: 26px 16px 30px; }
  .footer-meta { flex-direction: column; }
  .auth-intro h1 { font-size: 27px; }
  .section-panel { padding: 21px; }
  .auth-card { padding: 25px 20px; border-radius: 21px; }
  .page-heading { align-items: flex-start; flex-direction: column; }
  .hero-bar { flex-direction: column; align-items: flex-start; gap: 10px; padding: 23px; }
  .hero-value { font-size: 20px; }
  .setup-steps li { align-items: flex-start; flex-direction: column; }
  .setup-steps .btn { margin-left: 38px; }
  .proposal-row, .pending-list li { align-items: flex-start; }
  .summary-group th { width: 42%; }
  #message { right: 16px; bottom: 16px; }
}
.changelog-entry { margin-bottom: 18px; }
.changelog-entry ul { margin: 0; padding-left: 20px; color: var(--navy-dark); font-size: 14px; line-height: 1.6; }
.totp-setup { display: grid; gap: 18px; margin: 0; padding-left: 20px; }
.totp-setup li { display: grid; gap: 10px; }
.totp-qr { justify-self: start; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: #fff; line-height: 0; }
.totp-qr svg { width: 200px; height: 200px; }
.recovery-codes { display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: 6px 18px; margin: 0; padding-left: 22px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px; }
/* Public home page (ZoneHome, ZoneLayout::landing()) */
/* --page-width keeps the shared header and footer as wide as .landing-container */
body.landing { --page-width: 1228px; background: #fff; }
/* the strip of the brands follows the hero in the HTML (ZoneHome::page()), a wide screen shows it on top */
.landing main { display: flex; flex-direction: column; }
:is(.landing, .auth-intro) svg { display: block; }
.landing-container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.landing-trust { border-bottom: 1px solid var(--line); background: #fbfcfe; }
.landing-trust-inner { display: flex; align-items: center; justify-content: center; gap: 30px; min-height: 90px; padding: 14px 0; }
.landing-trust-item { display: flex; align-items: center; gap: 14px; padding: 6px 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.landing-trust-item picture { flex: none; }
.landing-trust-item img { display: block; width: auto; height: 44px; }
.landing-trust-item strong { display: block; color: var(--ink); font-weight: 750; }
.landing-hero { position: relative; overflow: hidden; padding: 76px 0 78px;
  background: radial-gradient(circle at 84% 14%, rgba(245, 122, 31, .12), transparent 28%), radial-gradient(circle at 10% 18%, rgba(46, 103, 145, .10), transparent 24%), linear-gradient(180deg, #fbfdff 0%, #fff 100%); }
.landing-hero::before { content: ""; position: absolute; width: 420px; height: 420px; border: 1px solid rgba(23, 50, 77, .06); border-radius: 50%; right: -150px; top: 15px; }
.landing-hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(360px, .78fr); gap: 70px; align-items: center; }
/* the access card comes first in the HTML, on a wide screen right of the intro */
.landing-hero-grid > .landing-access { grid-column: 2; grid-row: 1; }
.landing-intro { grid-column: 1; grid-row: 1; min-width: 0; }
.landing-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 11px; border-radius: 999px; background: #edf4f8; color: var(--navy); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.landing-eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(25, 118, 83, .10); }
.landing-heading { display: flex; align-items: center; gap: 26px; max-width: 790px; margin: 20px 0 24px; }
.landing-heading picture { flex: 0 0 150px; }
.landing-heading img { display: block; width: 150px; height: auto; filter: drop-shadow(0 8px 24px rgba(23, 50, 77, .08)); }
.landing h1 { max-width: 590px; margin: 0; color: var(--navy-dark); font-size: clamp(38px, 4vw, 56px); line-height: 1.03; letter-spacing: -.042em; }
.landing-lead { max-width: 730px; margin: 0 0 18px; color: #42566b; font-size: 21px; line-height: 1.55; }
.landing-lead strong { color: var(--navy-dark); }
.landing-support { max-width: 760px; margin: 0 0 22px; color: var(--muted); font-size: 15px; }
.landing-provider { display: flex; align-items: center; gap: 10px; margin: 0 0 30px; color: var(--navy); font-size: 14px; font-weight: 750; }
.landing-provider span { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: rgba(245, 122, 31, .18); color: var(--orange-dark); font-size: 11px; font-weight: 900; }
.landing-flow { display: grid; grid-template-columns: 1fr 44px 1.15fr 44px 1fr; align-items: center; gap: 8px; max-width: 700px; }
.landing-flow-card { display: flex; align-items: center; gap: 10px; min-height: 76px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow-sm); }
.landing-flow-card.core { border-color: rgba(245, 122, 31, .28); background: linear-gradient(180deg, #fffaf6, #fff); }
.landing-flow-icon { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 11px; background: var(--soft); color: var(--navy); }
.landing-flow-card.core .landing-flow-icon { background: rgba(245, 122, 31, .12); }
.landing-flow-icon svg { width: 20px; height: 20px; }
.landing-flow-icon img { display: block; width: 24px; height: 24px; }
.landing-flow-label { color: var(--muted); font-size: 12px; line-height: 1.25; }
.landing-flow-label strong { display: block; margin-bottom: 3px; color: var(--ink); font-size: 13px; }
.landing-flow-arrow { display: grid; place-items: center; color: #9aaabd; }
.landing-flow-arrow svg { width: 22px; height: 22px; }
.landing-access { position: relative; padding: 30px; border: 1px solid rgba(221, 229, 237, .95); border-radius: 26px; background: #fff; box-shadow: var(--shadow-lg); }
.landing-access::before { content: ""; position: absolute; left: 30px; right: 30px; top: 0; height: 4px; border-radius: 0 0 8px 8px; background: linear-gradient(90deg, var(--orange), var(--orange-light)); }
.landing-access h2 { margin: 6px 0 22px; color: var(--navy-dark); font-size: 24px; line-height: 1.2; letter-spacing: -.025em; }
.landing-access-block + .landing-access-block { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.landing-access-block h3 { margin: 0 0 7px; color: var(--ink); font-size: 16px; }
.landing-access-block p { margin: 0 0 15px; color: var(--muted); font-size: 14px; }
.landing-access-block .landing-microcopy { margin: 11px 0 0; color: #6f7d8c; font-size: 12px; }
.landing-button { display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%; min-height: 50px; padding: 0 18px; border: 1px solid transparent; border-radius: 13px; font-weight: 800; transition: background .18s, border-color .18s, transform .18s; }
.landing-button svg { width: 17px; height: 17px; }
.landing-button.primary, .landing .landing-button.primary:hover { color: #fff; }
.landing-button.primary { background: var(--navy); box-shadow: 0 8px 18px rgba(23, 50, 77, .18); }
.landing-button.primary:hover { background: #102a42; transform: translateY(-1px); }
.landing-button.secondary { border-color: #b9c9d7; background: #fff; color: var(--navy); }
.landing-button.secondary:hover { border-color: #8ba2b8; background: var(--canvas); color: var(--navy); transform: translateY(-1px); }
.landing-minor-link { display: flex; justify-content: center; align-items: center; min-height: 44px; margin-top: 3px; color: var(--blue); font-size: 13px; font-weight: 700; text-align: center; }
.landing .landing-minor-link:hover { color: var(--navy); text-decoration: underline; }
.landing-section { padding: 84px 0; }
.landing-section-head { max-width: 720px; margin: 0 auto 42px; text-align: center; }
.landing-kicker { margin: 0 0 10px; color: var(--orange-dark); font-size: 12px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.landing-section-head h2 { margin: 0 0 14px; color: var(--navy-dark); font-size: 36px; line-height: 1.12; letter-spacing: -.035em; }
.landing-section-head p:last-child { margin: 0; color: var(--muted); font-size: 16px; }
.landing-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.landing-card { min-height: 230px; padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 8px 28px rgba(23, 50, 77, .055); }
.landing-card-icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px; border-radius: 14px; background: var(--soft); color: var(--navy); }
.landing-card-icon.orange { background: rgba(245, 122, 31, .12); color: var(--orange-dark); }
.landing-card-icon svg { width: 22px; height: 22px; }
.landing-card h3 { margin: 0 0 10px; color: var(--navy-dark); font-size: 18px; }
.landing-card p { margin: 0; color: var(--muted); font-size: 14px; }
.landing-security { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--navy-dark), #1a3c5e); color: #fff; }
.landing-security::after { content: ""; position: absolute; width: 520px; height: 520px; right: -180px; top: -160px; border: 1px solid rgba(255, 255, 255, .08); border-radius: 50%; }
.landing-security-grid { position: relative; z-index: 1; display: grid; grid-template-columns: .95fr 1.35fr; gap: 72px; align-items: center; }
.landing-security .landing-kicker { color: #ffc18d; }
.landing-security h2 { margin: 0 0 16px; font-size: 39px; line-height: 1.1; letter-spacing: -.035em; }
.landing-security-grid > div > p:last-child { margin: 0; color: #d3deea; font-size: 16px; }
.landing-points { display: grid; gap: 14px; }
.landing-point { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; padding: 18px; border: 1px solid rgba(255, 255, 255, .11); border-radius: 16px; background: rgba(255, 255, 255, .055); }
.landing-point-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .10); color: #ffd0aa; }
.landing-point-icon svg { width: 20px; height: 20px; }
.landing-point h3 { margin: 0 0 4px; font-size: 15px; }
.landing-point p { margin: 0; color: #c9d6e3; font-size: 13px; }
.landing-final { padding: 70px 0; background: #f8fafc; }
.landing-final-box { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 42px 44px; border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: var(--shadow-sm); }
.landing-final-box h2 { margin: 0 0 9px; color: var(--navy-dark); font-size: 30px; letter-spacing: -.03em; }
.landing-final-box p { max-width: 720px; margin: 0; color: var(--muted); font-size: 15px; }
.landing-final-box strong { color: var(--ink); }
.landing-final-box .landing-endpoint { margin-top: 14px; font-size: 13px; }
.landing-endpoint code { display: inline-block; margin-left: 4px; padding: 3px 8px; border-radius: 7px; background: var(--soft); color: var(--navy-dark); font-size: 13px; overflow-wrap: anywhere; }
.landing-final-actions { display: flex; gap: 11px; flex: none; }
.landing-final-actions .landing-button { width: auto; min-width: 150px; }
@media (min-width: 981px) {
  .landing main > .landing-trust { order: -1; }
}
@media (max-width: 980px) {
  .landing-container { width: calc(100% - 48px); }
  /* three brands in three columns, the logo above its text */
  .landing-trust-inner { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 20px; padding: 20px 0; }
  .landing-trust-item { flex-direction: column; align-items: flex-start; gap: 8px; padding: 0; }
  .landing main > .landing-trust { border-top: 1px solid var(--line); }
  .landing-hero { padding: 60px 0 66px; }
  .landing-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  /* the access card first as in the HTML, the intro under it */
  .landing-hero-grid > .landing-access, .landing-intro { grid-column: auto; grid-row: auto; }
  .landing-access { width: 100%; max-width: 620px; }
  .landing-cards { grid-template-columns: repeat(2, 1fr); }
  .landing-security-grid { grid-template-columns: 1fr; gap: 34px; }
  .landing-final-box { flex-direction: column; align-items: flex-start; }
  .landing-final-actions { width: 100%; }
}
@media (max-width: 680px) {
  .header-links { display: none; }
  .landing-container { width: calc(100% - 32px); }
  .landing .header-inner, .landing .footer-inner { padding-left: 16px; padding-right: 16px; }
  /* three compact blocks under each other, the texts aligned behind a column of the logos */
  .landing-trust-inner { grid-template-columns: 1fr; gap: 10px; }
  .landing-trust-item { flex-direction: row; align-items: center; gap: 14px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 13px; background: #fff; font-size: 12px; }
  .landing-trust-item picture { flex-basis: 112px; }
  .landing-trust-item img { height: 36px; }
  /* the intro under the form of an auth page stays short: a small logo next to the heading */
  .auth-intro .landing-heading { flex-direction: row; align-items: center; gap: 14px; margin: 16px 0 16px; }
  .auth-intro .landing-heading picture { flex: 0 0 64px; }
  .auth-intro .landing-heading img { width: 64px; }
  .landing-hero { padding: 44px 0 52px; }
  .landing-heading { flex-direction: column; align-items: flex-start; gap: 16px; margin: 18px 0 22px; }
  .landing-heading picture { flex: none; }
  .landing-heading img { width: 112px; }
  .landing h1 { font-size: 36px; }
  .landing-lead { font-size: 18px; }
  .landing-support { font-size: 14px; }
  .landing-provider { margin-bottom: 24px; }
  .landing-flow { grid-template-columns: 1fr; gap: 7px; }
  .landing-flow-arrow { height: 20px; transform: rotate(90deg); }
  .landing-flow-card { min-height: 64px; }
  .landing-access { padding: 25px 20px; border-radius: 21px; }
  .landing-access h2 { font-size: 22px; }
  .landing-section { padding: 62px 0; }
  .landing-section-head { margin-bottom: 28px; text-align: left; }
  .landing-section-head h2 { font-size: 30px; }
  .landing-cards { grid-template-columns: 1fr; }
  .landing-card { min-height: 0; padding: 21px; }
  .landing-security h2 { font-size: 32px; }
  .landing-final { padding: 52px 0; }
  .landing-final-box { padding: 28px 22px; border-radius: 20px; }
  .landing-final-box h2 { font-size: 27px; }
  .landing-final-actions { flex-direction: column; }
  .landing-final-actions .landing-button { width: 100%; }
}
