:root {
  --paper: #f4f7fb;
  --ink: #14233b;
  --muted: #617088;
  --brand: #1856b5;
  --brand-dark: #10458f;
  --soft-blue: #eaf2ff;
  --line: #dce3ed;
  --white: #fff;
  --success: #137a4b;
  --danger: #b42318;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--paper); color: var(--ink); font-size: 16px; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { border: 0; }
::selection { color: #10294f; background: #cfe0fb; }

.hidden { display: none !important; }
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand > span {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  background: var(--brand);
  color: white;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 700;
}
.brand strong { display: block; font-family: Georgia, "Times New Roman", serif; font-size: 20px; letter-spacing: -.03em; }
.brand small { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; font-weight: 600; }

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 12px;
  background: var(--brand);
  color: white;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(24, 86, 181, .16);
  transition: background .2s, transform .2s, box-shadow .2s;
}
.button:hover:not(:disabled) { background: var(--brand-dark); transform: translateY(-1px); box-shadow: 0 14px 30px rgba(24, 86, 181, .22); }
.button:focus-visible { outline: 3px solid rgba(24, 86, 181, .25); outline-offset: 2px; }
.button:disabled { cursor: not-allowed; opacity: .5; box-shadow: none; }
.button-outline { border: 1px solid var(--line); background: white; color: var(--brand); box-shadow: none; }
.button-outline:hover:not(:disabled) { border-color: #b8cae5; background: var(--soft-blue); color: var(--brand-dark); box-shadow: none; }
.button-muted { border: 1px solid var(--line); background: #f7f9fc; color: var(--muted); box-shadow: none; cursor: default; }

/* Admin */
.admin-page {
  min-height: 100vh;
  background:
    linear-gradient(rgba(24,86,181,.028) 1px, transparent 1px),
    linear-gradient(90deg,rgba(24,86,181,.028) 1px, transparent 1px),
    var(--paper);
  background-size: 32px 32px;
}
.admin-header {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.94);
}
.private-badge { color: var(--muted); font-size: 14px; font-weight: 700; }
.admin-layout {
  display: grid;
  width: min(1440px, 100%);
  margin: 0 auto;
  grid-template-columns: minmax(0, 650px) minmax(420px, 1fr);
  gap: 34px;
  padding: 42px clamp(20px, 4vw, 56px) 60px;
}
.wizard, .browser {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: white;
  box-shadow: 0 22px 70px rgba(29, 48, 82, .09);
}
.wizard-intro { padding: 30px 32px 26px; border-bottom: 1px solid var(--line); }
.eyebrow { margin: 0 0 10px; color: var(--brand); font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.wizard h1 {
  max-width: 580px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 4vw, 42px);
  line-height: 1.06;
  letter-spacing: -.04em;
}
.wizard-intro > p:last-child { margin: 16px 0 0; color: var(--muted); line-height: 1.7; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); padding: 16px 32px; border-bottom: 1px solid var(--line); background: rgba(234,242,255,.62); }
.steps > div { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 13px; font-weight: 700; }
.steps b { display: grid; width: 29px; height: 29px; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: white; font-size: 11px; }
.steps .active { color: var(--brand); }
.steps .active b { border-color: var(--brand); background: var(--brand); color: white; }
.wizard-body { display: flex; flex-direction: column; gap: 13px; padding: 28px 32px 32px; }
.wizard-body label { margin-top: 5px; color: #33445f; font-size: 14px; font-weight: 800; }
.wizard input {
  width: 100%;
  height: 48px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: 0;
  background: white;
  color: var(--ink);
  font-size: 16px;
  transition: border .2s, box-shadow .2s;
}
.wizard input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(24, 86, 181, .12); }
.domain-input { display: grid; grid-template-columns: minmax(0, 1fr) auto; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: white; }
.domain-input:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(24, 86, 181, .12); }
.domain-input input { border: 0; border-radius: 0; box-shadow: none !important; }
.domain-input span { display: flex; align-items: center; padding: 0 14px; border-left: 1px solid var(--line); background: var(--paper); color: var(--muted); font-size: 14px; font-weight: 700; }
.inline-controls { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; }
.demo-warning { display: none; padding: 13px 15px; border: 1px solid #f0cf89; border-radius: 12px; background: #fff9e9; color: #765215; font-size: 13px; line-height: 1.55; }
.demo-warning.true { display: block; }
.company-result { margin-top: 7px; padding: 20px; border: 1px solid #bdd8c8; border-radius: 18px; background: #f3fbf6; }
.result-heading { display: flex; align-items: flex-start; gap: 12px; }
.result-heading > span { display: grid; width: 34px; height: 34px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: #168558; color: white; font-weight: 900; }
.result-heading small { color: #126a46; font-size: 13px; font-weight: 800; }
.result-heading h2 { margin: 3px 0 0; font-family: Georgia, "Times New Roman", serif; font-size: 21px; }
.company-result dl { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px 0 0; }
.company-result dl > div { padding: 12px; border-radius: 11px; background: rgba(255,255,255,.9); }
.company-result dt { color: var(--muted); font-size: 12px; }
.company-result dd { margin: 5px 0 0; font-size: 14px; font-weight: 800; overflow-wrap: anywhere; }
.wizard-actions { display: flex; align-items: center; justify-content: flex-end; gap: 13px; margin-top: 12px; padding-top: 22px; border-top: 1px solid var(--line); }
.wizard-actions > span { margin-right: auto; color: var(--muted); font-size: 13px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid > div { display: flex; flex-direction: column; gap: 8px; }
.upload-box {
  display: flex;
  min-height: 122px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 7px;
  border: 1px dashed #adc0dc;
  border-radius: 18px;
  background: #f8fafe;
  color: var(--brand) !important;
  text-align: center;
}
.upload-box:hover { background: var(--soft-blue); }
.upload-box span { max-width: 90%; color: var(--muted); font-size: 13px; font-weight: 600; overflow-wrap: anywhere; }
.success-card { padding: 26px; border: 1px solid #b9dec9; border-radius: 20px; background: #effaf4; }
.success-icon { display: grid; width: 46px; height: 46px; place-items: center; border-radius: 50%; background: #168558; color: white; font-size: 24px; font-weight: 900; }
.success-card h2 { margin: 20px 0 7px; font-family: Georgia, "Times New Roman", serif; font-size: 27px; }
.success-card p { margin: 0; color: #3e6d59; line-height: 1.6; }
.success-card code { display: block; margin-top: 17px; padding: 13px 15px; border-radius: 12px; background: white; color: #125b3d; font-size: 14px; overflow-wrap: anywhere; }
.notice { margin: 18px 32px 0; padding: 13px 15px; border-radius: 12px; font-size: 14px; font-weight: 700; }
.notice.success { border: 1px solid #b9dec9; background: #effaf4; color: #126a46; }
.notice.error { border: 1px solid #f0bbb7; background: #fff1f0; color: var(--danger); }
.notice.warning { border: 1px solid #f0cf89; background: #fff9e9; color: #765215; }
.notice.info { border: 1px solid #b9d0ef; background: #eef5ff; color: var(--brand-dark); }

.preview-panel { position: sticky; top: 24px; align-self: start; }
.preview-title { display: flex; align-items: center; justify-content: space-between; margin: 0 4px 12px; font-size: 14px; }
.preview-title span { padding: 6px 11px; border-radius: 999px; background: #e9f7ef; color: var(--success); font-size: 12px; font-weight: 800; }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 12px 18px; border-bottom: 1px solid var(--line); background: #f7f9fc; }
.browser-bar > i { width: 10px; height: 10px; border-radius: 50%; background: #d6deeb; }
.browser-bar > div { min-width: 0; flex: 1; margin-left: 7px; padding: 8px 12px; overflow: hidden; border: 1px solid #dfe5ee; border-radius: 8px; background: white; color: var(--muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.preview-content { min-height: 560px; padding: 34px 38px; border-top: 6px solid var(--brand); }
.preview-brand { display: flex; align-items: center; gap: 12px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.preview-brand > span { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 14px; background: var(--soft-blue); color: var(--brand); font-family: Georgia, serif; font-size: 21px; font-weight: 800; }
.preview-brand b { display: block; color: var(--brand); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.preview-brand small { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; }
.preview-content > p { margin: 31px 0 9px; color: var(--muted); font-size: 14px; font-weight: 700; }
.preview-content h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(27px, 3vw, 38px); line-height: 1.1; letter-spacing: -.03em; overflow-wrap: anywhere; }
.preview-content dl { display: grid; grid-template-columns: 1fr 1fr; margin: 25px 0; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.preview-content dt { color: var(--muted); font-size: 12px; }
.preview-content dd { margin: 5px 0 0; font-size: 14px; font-weight: 800; }
.preview-document { display: flex; align-items: center; gap: 13px; padding: 15px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
.preview-document > span { display: grid; width: 44px; height: 44px; flex: 0 0 auto; place-items: center; border-radius: 11px; background: white; color: var(--brand); font-size: 11px; font-weight: 900; }
.preview-document b, .preview-document small { display: block; }
.preview-document b { font-size: 14px; }
.preview-document small { max-width: 360px; margin-top: 4px; overflow: hidden; color: var(--muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.preview-content .legal-note { margin-top: 28px; font-size: 12px; font-weight: 500; line-height: 1.6; }

/* Public company page */
.top-line { height: 8px; background: var(--brand); }
.public-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  min-height: 73px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 14px max(24px, calc((100% - 1152px) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
}
.public-header .brand > span { width: 36px; height: 36px; font-size: 19px; }
.public-header .brand strong { font-size: 18px; }
.public-header .brand-placeholder { display: block; width: 137px; min-width: 137px; height: 1px; }
.public-header nav { display: flex; align-items: center; gap: 22px; color: var(--muted); font-size: 14px; font-weight: 700; }
.public-header nav a:hover { color: var(--brand); }
.verified { color: var(--muted); font-size: 13px; font-weight: 700; white-space: nowrap; }
.verified::before { content: "✓"; display: inline-grid; width: 21px; height: 21px; margin-right: 6px; place-items: center; border-radius: 50%; background: #e9f7ef; color: var(--success); }
.container { width: min(1152px, calc(100% - 40px)); margin: 0 auto; }
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg,#fff 0%,#eef5ff 64%,#dceafe 100%);
}
.hero::after {
  position: absolute;
  width: 440px;
  height: 440px;
  top: -190px;
  right: -90px;
  border: 80px solid rgba(255,255,255,.55);
  border-radius: 50%;
  content: "";
}
.hero .container { position: relative; z-index: 1; padding-top: 88px; padding-bottom: 92px; }
.hero-badges { display: flex; align-items: center; gap: 10px; }
.hero-badges span, .hero-badges em { padding: 6px 12px; border-radius: 999px; font-size: 13px; font-style: normal; font-weight: 800; }
.hero-badges span { background: var(--brand); color: white; }
.hero-badges em { border: 1px solid #b8cae5; background: white; color: var(--brand); }
.hero .eyebrow { margin-top: 30px; }
.hero h1 {
  max-width: 940px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(49px, 7.5vw, 84px);
  line-height: .98;
  letter-spacing: -.055em;
  overflow-wrap: anywhere;
}
.lead { max-width: 790px; margin: 22px 0 0; color: var(--muted); font-size: clamp(18px, 2.2vw, 22px); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 32px; }
.hero-actions > span { color: var(--muted); font-size: 13px; font-weight: 700; }
.public-content > section { padding: 72px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 80px; }
.public-content > section:last-child { border-bottom: 0; }
.public-content h2 {
  max-width: 830px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(27px, 3vw, 35px);
  letter-spacing: -.04em;
}
.section-copy { max-width: 660px; margin: 12px 0 28px; color: var(--muted); line-height: 1.7; }
.data-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0; }
.data-grid.two { grid-template-columns: repeat(2, 1fr); }
.data-card { min-height: 114px; padding: 21px; border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: 0 8px 28px rgba(29,48,82,.045); }
.data-card dt { color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.data-card dd { margin: 10px 0 0; font-size: 16px; font-weight: 800; line-height: 1.5; overflow-wrap: anywhere; }
.documents { display: grid; gap: 12px; }
.document-row { display: flex; align-items: center; gap: 16px; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: 0 8px 28px rgba(29,48,82,.045); }
.document-icon { display: grid; width: 50px; height: 50px; flex: 0 0 auto; place-items: center; border-radius: 13px; background: var(--soft-blue); color: var(--brand); font-size: 11px; font-weight: 900; }
.document-copy { min-width: 0; flex: 1; }
.document-copy h3 { margin: 0; font-size: 16px; }
.document-copy p { margin: 7px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.empty-state { padding: 26px; border: 1px dashed #adc0dc; border-radius: 18px; background: #f8fafe; color: var(--muted); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 18px; }
.contact-card, .address-panel { min-height: 320px; padding: 24px; border: 1px solid var(--line); border-radius: 26px; box-shadow: 0 10px 34px rgba(29,48,82,.05); }
.contact-card { display: flex; flex-direction: column; gap: 12px; background: white; }
.contact-card > div { padding: 17px; border-radius: 15px; background: #f8fafe; }
.contact-card small, .contact-card strong { display: block; }
.contact-card small { color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.contact-card strong { margin-top: 7px; overflow-wrap: anywhere; }
.address-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background:
    linear-gradient(rgba(24,86,181,.09) 1px, transparent 1px),
    linear-gradient(90deg,rgba(24,86,181,.09) 1px, transparent 1px),
    linear-gradient(145deg,#eaf2ff,#d8e8ff);
  background-size: 36px 36px, 36px 36px, auto;
  text-align: center;
}
.address-panel span { color: var(--brand); font-size: 12px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.address-panel strong { max-width: 520px; margin-top: 13px; font-family: Georgia, "Times New Roman", serif; font-size: 27px; line-height: 1.35; }
.public-page footer { padding: 29px 0; border-top: 1px solid var(--line); background: white; color: var(--muted); font-size: 13px; line-height: 1.6; }
.public-page footer p { margin: 2px 0; }

/* Setup */
.setup-page { display: grid; min-height: 100vh; place-items: center; padding: 24px; background: linear-gradient(145deg,#eef5ff,#dceafe); }
.setup-card { width: min(620px, 100%); padding: 36px; border: 1px solid #c8d8ee; border-radius: 28px; background: white; box-shadow: 0 22px 70px rgba(29,48,82,.12); }
.setup-card h1 { margin: 30px 0 10px; font-family: Georgia, "Times New Roman", serif; font-size: 38px; letter-spacing: -.04em; }
.setup-card p { color: var(--muted); line-height: 1.7; }

@media (max-width: 1050px) {
  .admin-layout { grid-template-columns: 1fr; }
  .preview-panel { position: static; }
  .public-header nav { display: none; }
  .data-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .admin-header { align-items: flex-start; }
  .private-badge { display: none; }
  .admin-layout { padding: 20px 14px 42px; }
  .wizard, .browser { border-radius: 20px; }
  .wizard-intro, .wizard-body { padding: 23px 20px; }
  .steps { padding: 14px 20px; }
  .steps span { display: none; }
  .notice { margin: 15px 20px 0; }
  .inline-controls, .form-grid { grid-template-columns: 1fr; }
  .domain-input { grid-template-columns: minmax(0, 1fr); }
  .domain-input span { min-height: 42px; border-top: 1px solid var(--line); border-left: 0; }
  .company-result dl { grid-template-columns: 1fr; }
  .wizard-actions { align-items: stretch; flex-direction: column-reverse; }
  .wizard-actions .button { width: 100%; }
  .wizard-actions > span { margin: 0; text-align: center; }
  .preview-content { min-height: auto; padding: 28px 22px; }
  .public-header { padding: 12px 18px; }
  .verified { display: none; }
  .container { width: min(100% - 32px, 1152px); }
  .hero .container { padding-top: 65px; padding-bottom: 66px; }
  .hero::after { display: none; }
  .public-content > section { padding: 56px 0; }
  .data-grid, .data-grid.two, .contact-grid { grid-template-columns: 1fr; }
  .document-row { align-items: flex-start; flex-wrap: wrap; }
  .document-row .button { width: 100%; }
  .contact-card, .address-panel { min-height: 0; }
  .address-panel { min-height: 260px; }
  .address-panel strong { font-size: 23px; }
}

/* Public colour presets */
.theme-blue { --brand:#1856b5; --brand-dark:#10458f; --soft-blue:#eaf2ff; --paper:#f4f7fb; --line:#dce3ed; --theme-rgb:24,86,181; --theme-soft:#eef5ff; --theme-soft-deep:#dceafe; --theme-border:#b8cae5; }
.theme-teal { --brand:#0f766e; --brand-dark:#0b5e58; --soft-blue:#e5f5f2; --paper:#f3f8f7; --line:#d7e6e2; --theme-rgb:15,118,110; --theme-soft:#edf8f6; --theme-soft-deep:#d8efeb; --theme-border:#a7d2cc; }
.theme-burgundy { --brand:#9f1239; --brand-dark:#7f1230; --soft-blue:#fbe8ee; --paper:#faf5f6; --line:#eadde1; --theme-rgb:159,18,57; --theme-soft:#fcf0f3; --theme-soft-deep:#f5dce4; --theme-border:#dfafbd; }
.theme-forest { --brand:#2f6b3b; --brand-dark:#24552f; --soft-blue:#eaf4eb; --paper:#f5f8f4; --line:#dde7dc; --theme-rgb:47,107,59; --theme-soft:#f0f7ef; --theme-soft-deep:#dcebdc; --theme-border:#afcfb4; }
.theme-violet { --brand:#6d28d9; --brand-dark:#5720ae; --soft-blue:#f0eafe; --paper:#f7f5fb; --line:#e4dff0; --theme-rgb:109,40,217; --theme-soft:#f5f0fe; --theme-soft-deep:#e8ddfb; --theme-border:#c7b3eb; }
.theme-graphite { --brand:#334155; --brand-dark:#243247; --soft-blue:#edf1f5; --paper:#f5f7f9; --line:#dce3e9; --theme-rgb:51,65,85; --theme-soft:#f0f3f6; --theme-soft-deep:#e0e7ed; --theme-border:#b6c2ce; }
.theme-stone { --brand:#596168; --brand-dark:#454d54; --soft-blue:#eceff0; --paper:#f5f5f3; --line:#d9dddf; --theme-rgb:89,97,104; --theme-soft:#f0f1ef; --theme-soft-deep:#dce0e1; --theme-border:#b8c0c3; }
.theme-terracotta { --brand:#9a3412; --brand-dark:#7c2d12; --soft-blue:#fff1ea; --paper:#faf7f4; --line:#eaded6; --theme-rgb:154,52,18; --theme-soft:#fff4ec; --theme-soft-deep:#f5dfd1; --theme-border:#dfbda9; }
.theme-ochre { --brand:#795900; --brand-dark:#624700; --soft-blue:#fbf4de; --paper:#faf9f3; --line:#e8e2ce; --theme-rgb:121,89,0; --theme-soft:#fdf9e8; --theme-soft-deep:#f3ebc9; --theme-border:#d5ca9b; }
.theme-midnight { --brand:#1e3a5f; --brand-dark:#152e50; --soft-blue:#eaf0f7; --paper:#f4f7fa; --line:#d9e1ea; --theme-rgb:30,58,95; --theme-soft:#eff4fa; --theme-soft-deep:#dce7f2; --theme-border:#adbed3; }
.public-page[class*="theme-"] { color:#14233b; }
.public-page[class*="theme-"] .hero { background:linear-gradient(135deg,#fff 0%,var(--theme-soft) 64%,var(--theme-soft-deep) 100%); }
.public-page[class*="theme-"] .hero-badges em { border-color:var(--theme-border); }
.public-page[class*="theme-"] .address-panel { background:linear-gradient(rgba(var(--theme-rgb),.09) 1px,transparent 1px),linear-gradient(90deg,rgba(var(--theme-rgb),.09) 1px,transparent 1px),linear-gradient(145deg,var(--theme-soft),var(--theme-soft-deep)); background-size:36px 36px,36px 36px,auto; }
.public-page[class*="theme-"] .button.primary { background:var(--brand); }
.public-page[class*="theme-"] .button.primary:hover { background:var(--brand-dark); }
/* Company-provided logo, never portal branding. */
.public-header .company-logo{display:flex;align-items:center;justify-content:flex-start;min-width:110px;max-width:180px;height:58px;flex:0 0 auto}
.public-header .company-logo img{display:block;max-width:180px;max-height:58px;width:auto;height:auto;object-fit:contain}
@media(max-width:700px){.public-header .company-logo{height:48px;max-width:160px;min-width:80px}.public-header .company-logo img{max-width:160px;max-height:48px}}
.public-page footer .footer-credit{margin-top:18px;text-align:right;font-size:12px;font-weight:700;color:#334155}
.public-page footer .footer-credit a{color:var(--brand)}
