/* ORBITECH365 Public site + split-screen Dealer Login (2026-09-26; restyled to the approved references in
   O:\Cloud Project old\ORBITECH365\design-reference\: homepage + dealer login portal). Presentation only.
   html[data-auth] is set by src/dealer/dealer-auth-browser.js from a server-verified session:
   'checking' | 'public' | 'dealer'. Default (attribute absent) = public site, Dealer Portal shell hidden (fail closed).
   Every dealer API independently requires a verified, approved and enabled dealer — hiding is never the protection. */
:root {
  --pub-navy: #0b1f4d;
  --pub-navy-2: #0f2a64;
  --pub-ink: #0f1d3a;
  --pub-blue: #1660ec;
  --pub-blue-dark: #0e4fd0;
  --pub-orange: #f47216;
  --pub-orange-dark: #dc6310;
  --pub-muted: #56637a;
  --pub-line: #e2e8f2;
  --pub-bg: #f4f7fc;
  --pub-script: "Segoe Script", "Brush Script MT", "Lucida Handwriting", cursive;
}

/* ---------- page modes ---------- */
#dealerApp { display: none; }
/* The dealer shell is a viewport-height GRID (topbar row + 1fr layout row, overflow hidden) whose content column
   (.dealer-content) is the page's scroller. Showing it as display:block (2026-09-26..27 hotfix) let the layout grow
   to the full content height and the shell clipped it -- nothing could scroll. Keep it a grid. */
html[data-auth="dealer"] #dealerApp { display: grid; }
html[data-auth="dealer"] #publicSite,
html[data-auth="checking"] #publicSite { display: none; }
.pub-checking { display: none; }
html[data-auth="checking"] .pub-checking {
  display: flex; min-height: 100vh; align-items: center; justify-content: center; gap: 12px;
  background: var(--pub-bg); color: var(--pub-muted); font-weight: 700;
}
.pub-spinner { width: 18px; height: 18px; border: 3px solid #d7deea; border-top-color: var(--pub-blue); border-radius: 50%; animation: pub-spin .8s linear infinite; }
@keyframes pub-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .pub-spinner { animation: none; } }

/* ---------- shared ---------- */
.pub-site { min-height: 100vh; background: #fff; color: var(--pub-ink); display: flex; flex-direction: column; }
.pub-ico { width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pub-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 22px;
  border-radius: 8px; border: 1px solid transparent; font: inherit; font-size: var(--dealer-fs-body-lg, 15px); font-weight: 750;
  cursor: pointer; text-decoration: none; white-space: nowrap; transition: background .15s, border-color .15s, color .15s;
}
.pub-btn-blue { background: var(--pub-blue); color: #fff; }
.pub-btn-blue:hover { background: var(--pub-blue-dark); }
.pub-btn-orange { background: var(--pub-orange); color: #fff; min-height: 50px; padding: 0 26px; }
.pub-btn-orange:hover { background: var(--pub-orange-dark); }
.pub-btn-outline { background: #fff; color: var(--pub-navy-2); border-color: #9fb3dc; }
.pub-btn-outline:hover { border-color: var(--pub-blue); color: var(--pub-blue); }
.pub-btn-glass { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .8); min-height: 50px; padding: 0 30px; }
.pub-btn-glass:hover { background: rgba(255, 255, 255, .1); }
.pub-link { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; border: 0; background: none; padding: 0; color: var(--pub-blue); font: inherit; font-size: var(--dealer-fs-body, 14.5px); font-weight: 700; cursor: pointer; }
.pub-link .pub-ico { width: 16px; height: 16px; }
a.pub-link { text-decoration: none; }
.pub-script { margin: 0; font-family: var(--pub-script); font-size: 30px; line-height: 1.12; color: var(--pub-navy); transform: rotate(-8deg); position: relative; }
.pub-script::after { content: ""; display: block; width: 72%; height: 3px; margin: 6px 0 0 28%; border-radius: 3px; background: var(--pub-orange); transform: rotate(-4deg); }

/* ---------- header ---------- */
.pub-top {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 28px;
  min-height: 72px; padding: 10px clamp(16px, 4vw, 68px); background: #fff; border-bottom: 1px solid var(--pub-line);
}
.pub-logo { display: grid; gap: 2px; text-decoration: none; }
.pub-logo img { display: block; width: auto; height: 38px; }
.pub-logo-sub, .da-logo span { color: #2c3a57; font-size: 9.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; padding-left: 50px; }
.pub-nav { display: flex; gap: 6px; margin: 0 auto; }
.pub-nav a { position: relative; padding: 10px 14px; color: #33415c; font-size: var(--dealer-fs-body-lg, 15px); font-weight: 550; text-decoration: none; }
.pub-nav a:hover { color: var(--pub-blue); }
.pub-nav a.is-active { color: var(--pub-ink); font-weight: 700; }
.pub-nav a.is-active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 3px; border-radius: 3px; background: var(--pub-orange); }
.pub-top-actions { display: flex; gap: 12px; }

/* ---------- hero ---------- */
.pub-main { flex: 1; display: block; }
.pub-hero { position: relative; overflow: hidden; background: var(--pub-navy); color: #fff; min-height: 424px; }
.pub-hero-art { position: absolute; top: 0; bottom: 0; left: 33%; width: 50%; height: 100%; object-fit: cover; object-position: 40% 55%; }
.pub-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, var(--pub-navy) 0%, var(--pub-navy) 34%, rgba(11, 31, 77, .78) 40%, rgba(11, 31, 77, .35) 47%, rgba(11, 31, 77, 0) 56%, rgba(11, 31, 77, 0) 72%, rgba(11, 31, 77, .7) 79%, var(--pub-navy) 84%);
}
.pub-hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; max-width: 1440px; margin: 0 auto; padding: 44px clamp(16px, 4vw, 68px) 44px; }
.pub-hero-copy { max-width: 560px; }
.pub-eyebrow { margin: 0 0 14px; color: #dbe5ff; font-size: var(--dealer-fs-label, 13.5px); font-weight: 600; letter-spacing: .32em; text-transform: uppercase; }
.pub-eyebrow i { font-style: normal; margin: 0 .5em; opacity: .7; }
.pub-hero h1 { margin: 0; font-size: clamp(40px, 5vw, 64px); line-height: .98; font-weight: 900; letter-spacing: -.01em; }
.pub-hero h1 small { display: block; font-size: .72em; font-weight: 800; margin-bottom: 4px; }
.pub-hero h1 span, .da-brand h3 span { color: var(--pub-orange); }
.pub-hero-sub { margin: 18px 0 0; font-size: clamp(18px, 1.6vw, 21px); font-weight: 700; line-height: 1.4; }
.pub-lead { margin: 12px 0 0; color: #dbe5ff; font-size: var(--dealer-fs-total, 17px); line-height: 1.55; }
.pub-cta { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 30px; }
.pub-hero-points { list-style: none; margin: 0; padding: 4px 0 4px 26px; display: grid; gap: 22px; align-content: center; border-left: 2px solid var(--pub-orange); }
.pub-hero-points li { display: flex; gap: 16px; align-items: flex-start; }
.pub-hero-points .pub-ico { width: 34px; height: 34px; stroke-width: 1.5; margin-top: 2px; }
.pub-hero-points strong { display: block; font-size: var(--dealer-fs-body-lg, 15px); }
.pub-hero-points span { display: block; margin-top: 3px; color: #cdd9f5; font-size: var(--dealer-fs-small, 14px); line-height: 1.4; }

/* ---------- categories ---------- */
.pub-cats, .pub-support { max-width: 1440px; margin: 0 auto; padding: 26px clamp(16px, 4vw, 68px); box-sizing: border-box; }
.pub-sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 14px; }
.pub-cats h2, .pub-brands h2, .pub-support h2, .pub-journey h2 { margin: 0; font-size: clamp(22px, 2vw, 26px); font-weight: 800; color: var(--pub-ink); }
.pub-sec-head p, .pub-brands > p { margin: 4px 0 0; color: var(--pub-muted); font-size: var(--dealer-fs-body-lg, 15px); }
.pub-cat-grid { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 14px; }
.pub-cat {
  display: grid; justify-items: center; align-content: center; gap: 10px; min-height: 124px; padding: 12px 8px;
  border: 1px solid var(--pub-line); border-radius: 10px; background: #fff; box-shadow: 0 6px 18px rgba(15, 29, 58, .04);
  color: var(--pub-ink); font: inherit; font-size: var(--dealer-fs-body, 14.5px); font-weight: 650; text-align: center; cursor: pointer;
}
.pub-cat:hover { border-color: #b9c9ec; box-shadow: 0 10px 24px rgba(15, 29, 58, .08); }
/* Real category tiles (public-home-showcase.js): one real product photo per category, else the neutral icon. */
.pub-cat-img { display: grid; place-items: center; width: 100%; height: 64px; }
.pub-cat img { width: auto; max-width: 100%; height: 64px; object-fit: contain; mix-blend-mode: multiply; }
.pub-cat-fallback { width: 40px; height: 40px; color: #8a97b3; stroke-width: 1.4; }
.pub-cat-name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; line-height: 1.25; }
.pub-cat-grid[aria-busy="true"]:empty { min-height: 124px; border-radius: 10px; background: linear-gradient(90deg, #f1f4fa, #f8fafd, #f1f4fa); }
.pub-status { margin: 4px 0 0; color: var(--pub-muted); font-size: var(--dealer-fs-body, 14.5px); }
.pub-cat-more .pub-ico { width: 46px; height: 46px; color: var(--pub-navy-2); stroke-width: 1.5; }
.pub-note { margin: 12px 0 0; color: var(--pub-muted); font-size: var(--dealer-fs-small, 14px); }

/* ---------- brands ---------- */
.pub-brands { background: linear-gradient(180deg, #f4f7fc, #fff); padding: 26px clamp(16px, 4vw, 68px); }
.pub-brands > * { max-width: 1304px; margin-left: auto; margin-right: auto; }
.pub-brand-row { list-style: none; margin-top: 18px; padding: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 26px; }
.pub-brand-row[aria-busy="true"]:empty { min-height: 44px; border-radius: 8px; background: linear-gradient(90deg, #eef2f9, #f7f9fc, #eef2f9); }
/* Real brands (public-home-showcase.js): the Brand Master logo, else the brand name as text. */
.pub-brand { display: inline-flex; align-items: center; justify-content: center; min-width: 0; height: 44px; padding: 0 2px; border: 0; border-radius: 8px; background: none; color: #1f2940; font: inherit; font-size: 18px; font-weight: 800; letter-spacing: .01em; cursor: pointer; }
.pub-brand:hover, .pub-brand:focus-visible { background: #eef3fc; }
.pub-brand-logo { display: block; width: 96px; max-width: 96px; height: 36px; object-fit: contain; mix-blend-mode: multiply; }
.pub-brand-name { white-space: nowrap; }
.pub-brand-row li, .da-brands span { font-size: 20px; font-weight: 800; letter-spacing: .01em; color: #1f2940; }
.b-trueview { font-weight: 900; letter-spacing: .02em; }
.pub-brand-row .b-prama, .da-brands .b-prama { color: #1e2a5a; }
.pub-brand-row .b-hikvision, .da-brands .b-hikvision { color: #d6202b; font-style: italic; }
.pub-brand-row .b-qubo, .da-brands .b-qubo { color: #0e8f9c; }
.pub-brand-row .b-maxxion, .da-brands .b-maxxion { color: #1b3f95; }
.pub-brand-row .b-more { color: var(--pub-muted); font-size: var(--dealer-fs-small, 14px); font-weight: 500; }

/* ---------- trust band ---------- */
.pub-trust { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); margin-top: 8px; }
.pub-stats {
  list-style: none; margin: 0; padding: 30px clamp(16px, 4vw, 68px); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: center;
  background: linear-gradient(100deg, var(--pub-navy) 0%, var(--pub-navy-2) 100%); color: #fff; clip-path: polygon(0 0, 100% 0, 94% 100%, 0 100%);
}
.pub-stats li { display: grid; gap: 4px; padding: 0 18px; border-left: 1px solid rgba(255, 255, 255, .25); }
.pub-stats li:first-child { border-left: 0; padding-left: 0; }
.pub-stats .pub-ico { width: 30px; height: 30px; stroke-width: 1.5; margin-bottom: 6px; }
.pub-stats strong { font-size: var(--dealer-fs-h4, 18px); }
.pub-stats span { color: #cdd9f5; font-size: var(--dealer-fs-small, 14px); }
.pub-rv { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 26px clamp(16px, 3vw, 48px); background: #fff; }
.pub-rv p { margin: 0; color: var(--pub-muted); font-size: var(--dealer-fs-small, 14px); line-height: 1.55; max-width: 44ch; }
.pub-rv .pub-rv-name { margin-bottom: 8px; color: var(--pub-navy); font-size: 20px; font-weight: 800; }
.pub-rv-name small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #43506b; }
.pub-rv .pub-script { flex: 0 0 auto; font-size: 26px; max-width: 170px; color: var(--pub-navy); }

/* ---------- support + footer ---------- */
.pub-support { display: flex; gap: 24px; align-items: center; justify-content: space-between; }
.pub-support p { margin: 6px 0 0; max-width: 72ch; color: var(--pub-muted); line-height: 1.6; }
.pub-support-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.pub-foot { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; align-items: center; padding: 18px clamp(16px, 4vw, 68px); background: #0a1633; color: #c7d2ea; font-size: var(--dealer-fs-small, 14px); }
.pub-foot a { color: #fff; text-decoration: none; }
.pub-foot a:hover { text-decoration: underline; }

@media (max-width: 1280px) {
  .pub-cat-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .pub-hero-inner { grid-template-columns: minmax(0, 1fr) 260px; }
}
@media (max-width: 1100px) {
  .pub-top { flex-wrap: wrap; gap: 10px 16px; }
  .pub-top-actions { margin-left: auto; }
  .pub-nav { order: 3; width: 100%; margin: 0; justify-content: center; }
  .pub-trust { grid-template-columns: minmax(0, 1fr); }
  .pub-stats { clip-path: none; }
}
@media (max-width: 900px) {
  .pub-hero { min-height: 0; }
  .pub-hero-art { position: relative; left: 0; width: 100%; height: 230px; display: block; }
  .pub-hero::before { background: linear-gradient(180deg, rgba(11, 31, 77, 0) 0, rgba(11, 31, 77, 0) 150px, var(--pub-navy) 230px); }
  .pub-hero-inner { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 22px; }
  .pub-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 20px; }
  .pub-stats li:nth-child(4) { border-left: 0; padding-left: 0; }
  .pub-support { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 720px) {
  .pub-logo img { height: 30px; }
  .pub-logo-sub { padding-left: 40px; font-size: 8.5px; }
  .pub-top-actions .pub-btn-outline { display: none; }
  .pub-top-actions .pub-btn { min-height: 40px; padding: 0 14px; }
  .pub-nav { justify-content: space-between; gap: 0; }
  .pub-nav a { padding: 6px 4px; font-size: 13.5px; }
  .pub-nav a.is-active::after { left: 4px; right: 4px; }
  .pub-cta { gap: 12px; }
  .pub-cta .pub-btn { flex: 1 1 100%; }
  .pub-cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .pub-cat { min-height: 108px; font-size: 13px; }
  .pub-cat img { height: 52px; }
  .pub-brand-row { justify-content: flex-start; gap: 8px 18px; }
  .pub-brand-row li { font-size: 17px; }
  .pub-brand { height: 38px; font-size: 16px; }
  .pub-brand-logo { width: 84px; max-width: 84px; height: 32px; }
  .pub-brand-row .pub-skel-brand { width: 84px; height: 38px; }
  .pub-marquee.is-marquee .pub-brand-row > li { padding: 0 6px; }
  .pub-marquee.is-marquee .pub-brand { padding: 0 6px; }
  .pub-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 24px 16px; }
  .pub-stats li, .pub-stats li:nth-child(4) { border-left: 0; padding: 0; }
  .pub-rv { flex-direction: column; align-items: flex-start; }
  .pub-support-actions { width: 100%; }
  .pub-support-actions .pub-btn { flex: 1 1 0; }
  .pub-foot { flex-direction: column; align-items: flex-start; }
}

/* ---------- split-screen Dealer Login (approved reference: dealer login portal) ---------- */
.dealer-auth-v1-dialog { padding: 0; background: #eef3fb; overflow: auto; place-items: stretch; }
.dealer-auth-v1-card.da-split {
  width: 100%; max-width: none; min-height: 100vh; max-height: none; margin: 0; border: 0; border-radius: 0; box-shadow: none; overflow: visible;
  display: grid; grid-template-columns: minmax(0, 1.62fr) minmax(380px, 1fr); background: #f4f7fc;
}
.da-brand { position: relative; display: flex; flex-direction: column; min-height: 100vh; overflow: hidden; color: var(--pub-ink); background: linear-gradient(115deg, #ffffff 0%, #f3f7ff 45%, #dfe9fb 100%); }
.da-brand-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding: 26px 48px 0; }
.da-logo { display: grid; gap: 2px; }
.da-logo img { display: block; height: 44px; width: auto; }
.da-logo span { padding-left: 58px; }
.da-tagline { margin: 10px 0 0; color: #2c3a57; font-size: 12.5px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; }
.da-tagline i { font-style: normal; margin: 0 .9em; color: #9aa6bd; }
.da-brand-body { flex: 1; display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 10px; align-items: center; padding: 10px 0 0 48px; }
.da-brand h3 { margin: 0; color: var(--pub-navy); font-size: clamp(36px, 3.7vw, 58px); line-height: .98; font-weight: 900; }
.da-brand h3 small { display: block; font-size: .78em; font-weight: 800; }
.da-brand-sub { margin: 14px 0 0; font-size: clamp(18px, 1.7vw, 24px); font-weight: 700; color: var(--pub-navy); }
.da-brand-lead { margin: 10px 0 0; color: #34425f; font-size: var(--dealer-fs-total, 17px); line-height: 1.5; max-width: 46ch; }
.da-feats { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 20px; }
.da-feats li { display: flex; gap: 14px; align-items: center; }
.da-feats b { flex: 0 0 56px; height: 56px; display: grid; place-items: center; border-radius: 10px; background: #e5eefe; }
.da-feats svg { width: 34px; height: 34px; fill: none; stroke: var(--pub-blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.da-feats strong { display: block; font-size: var(--dealer-fs-emphasis, 16px); color: var(--pub-navy); }
.da-feats span { display: block; margin-top: 3px; color: #4a5773; font-size: var(--dealer-fs-small, 14px); line-height: 1.4; }
.da-brands-title { margin: 20px 0 0; color: #2c3a57; font-size: 12.5px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; }
.da-brands { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 12px 0 0; }
.da-brands-more { margin: 8px 0 0; color: #6b7892; font-size: var(--dealer-fs-small, 14px); }
.da-art { align-self: end; width: 100%; height: auto; max-height: 380px; object-fit: cover; object-position: center; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16%); mask-image: linear-gradient(90deg, transparent 0, #000 16%); }
.da-band { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 40px 48px 20px; color: #fff; background: linear-gradient(100deg, #0e3f9e 0%, #1660ec 70%, #3c86ff 100%); clip-path: polygon(0 28%, 18% 12%, 45% 22%, 72% 6%, 100% 18%, 100% 100%, 0 100%); }
.da-band ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 0; }
.da-band li { display: grid; gap: 2px; padding: 0 20px; border-left: 1px solid rgba(255, 255, 255, .3); }
.da-band li:first-child { border-left: 0; padding-left: 0; }
.da-band strong { font-size: var(--dealer-fs-h4, 18px); white-space: nowrap; }
.da-band span { font-size: var(--dealer-fs-small, 14px); color: #dce8ff; white-space: nowrap; }
.da-script { margin: 0; font-family: var(--pub-script); font-size: 28px; color: #fff; transform: rotate(-8deg); }

.da-main { position: relative; display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: 56px clamp(20px, 3vw, 44px) 32px; background: #f4f7fc; }
.da-kicker { position: absolute; top: 26px; right: clamp(20px, 3vw, 44px); margin: 0; color: #2c3a57; font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.da-kicker::after { content: ""; display: inline-block; width: 36px; height: 2px; margin-left: 12px; vertical-align: middle; background: var(--pub-orange); }
.da-card { background: #fff; border: 1px solid var(--pub-line); border-radius: 18px; box-shadow: 0 24px 60px rgba(15, 29, 58, .09); padding: 34px clamp(22px, 2.6vw, 44px) 22px; }
.da-card .dealer-auth-v1-head { padding: 0 0 22px; border-bottom: 0; }
.da-card .dealer-auth-v1-head h2 { margin: 0; color: var(--pub-navy); font-size: clamp(32px, 2.8vw, 44px); font-weight: 900; line-height: 1.05; }
.da-card .dealer-auth-v1-head p { margin: 8px 0 0; color: #34425f; font-size: var(--dealer-fs-total, 17px); font-weight: 500; letter-spacing: 0; text-transform: none; }
.da-card form { padding: 0 !important; gap: 10px !important; }
.da-card label { margin-top: 8px !important; color: var(--pub-navy); font-size: var(--dealer-fs-total, 17px) !important; font-weight: 750 !important; }
.da-input { position: relative; }
.da-input .da-in-ico { position: absolute; left: 16px; top: 50%; width: 24px; height: 24px; transform: translateY(-50%); fill: none; stroke: #4a5773; stroke-width: 1.6; pointer-events: none; }
.da-card .da-input input { min-height: 58px !important; padding: 12px 52px 12px 56px !important; border: 1px solid #cfd8e6 !important; border-radius: 8px !important; font-size: var(--dealer-fs-emphasis, 16px) !important; }
.da-card .da-input input:focus { border-color: var(--pub-blue) !important; outline: 3px solid rgba(22, 96, 236, .14) !important; }
.da-eye { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; display: grid; place-items: center; border: 0; background: none; cursor: pointer; border-radius: 8px; }
.da-eye svg { width: 24px; height: 24px; fill: none; stroke: #4a5773; stroke-width: 1.6; }
.da-eye[aria-pressed="true"] svg { stroke: var(--pub-blue); }
.da-card .dealer-auth-v1-message { min-height: 22px; margin: 2px 0 0; }
.da-card .dealer-auth-v1-submit { min-height: 58px; border-radius: 8px; background: var(--pub-blue); font-size: 19px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: 12px; }
.da-card #dealerV1LoginSubmit::after { content: "→"; font-size: 22px; line-height: 1; }
.da-card .dealer-auth-v1-submit:hover { background: var(--pub-blue-dark); }
.da-card .dealer-auth-v1-links { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; align-items: center; margin: 18px 0 0; padding-top: 18px; border-top: 1px solid var(--pub-line); }
.da-card .dealer-auth-v1-links .dealer-auth-v1-link { position: relative; border: 0; background: none; padding: 4px 10px; color: var(--pub-blue); font: inherit; font-size: var(--dealer-fs-emphasis, 16px); font-weight: 650; text-decoration: none; cursor: pointer; white-space: nowrap; }
.da-card .dealer-auth-v1-links .dealer-auth-v1-link + .dealer-auth-v1-link::before { content: ""; position: absolute; left: -2px; top: 20%; bottom: 20%; width: 1px; background: #c3cddf; }
.da-help { display: flex; align-items: center; gap: 18px; margin-top: 18px; padding: 16px 20px; border-radius: 10px; background: #edf3fd; color: var(--pub-ink); text-decoration: none; }
.da-help svg { width: 38px; height: 38px; fill: none; stroke: var(--pub-navy); stroke-width: 1.6; }
.da-help strong { display: block; font-size: var(--dealer-fs-total, 17px); }
.da-help small { display: block; margin-top: 2px; color: #4a5773; font-size: var(--dealer-fs-body, 14.5px); }
.da-help i { margin-left: auto; font-style: normal; font-size: 28px; color: var(--pub-navy); }
.da-help:hover { background: #e2ecfc; }
.da-card-foot { display: flex; justify-content: flex-end; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--pub-line); }
.da-card-foot img { height: 34px; width: auto; }
.da-card .dealer-auth-v1-request h3 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.da-card #dealerV1LoginClose { width: 40px; height: 40px; border-radius: 10px; }

@media (max-width: 1200px) {
  .da-brand-body { grid-template-columns: minmax(0, 1fr); padding-right: 40px; }
  .da-art { display: none; }
  .da-band { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 900px) {
  .dealer-auth-v1-card.da-split { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .da-brand { min-height: 0; }
  .da-brand-top { padding: 20px 20px 0; }
  .da-logo img { height: 34px; }
  .da-logo span { padding-left: 44px; }
  .da-tagline, .da-feats, .da-brands-title, .da-brands, .da-brands-more, .da-band { display: none; }
  .da-brand-body { padding: 10px 20px 18px; }
  .da-brand h3 { font-size: 32px; }
  .da-brand-sub { font-size: 18px; margin-top: 8px; }
  .da-brand-lead { display: none; }
  .da-main { padding: 12px 14px 28px; justify-content: flex-start; }
  .da-kicker { display: none; }
  .da-card { padding: 24px 18px 18px; }
  .da-card .dealer-auth-v1-head h2 { font-size: 30px; }
  .da-card .dealer-auth-v1-links .dealer-auth-v1-link { font-size: var(--dealer-fs-body-lg, 15px); padding: 4px 6px; }
}

/* ---------- Public Home interactive polish (2026-09-27) ----------
   Subtle, one-shot or compositor-only motion over the locked layout (src/dealer/public-home-motion.js + showcase).
   The only continuous effects are the brand marquee (transform only; paused on hover / focus / touch / off screen)
   and the skeleton shimmer (only until the real data arrives). prefers-reduced-motion turns all of it off. */

/* Skeletons while the real data loads: shapes only, never text or data. */
.pub-skel { display: block; border-radius: 10px; background: linear-gradient(90deg, #eef2f9 25%, #f7f9fc 50%, #eef2f9 75%); background-size: 200% 100%; animation: pub-shimmer 1.4s ease-in-out infinite; }
.pub-cat.pub-skel { cursor: default; box-shadow: none; pointer-events: none; }
.pub-brand-row .pub-skel-brand { width: 96px; height: 44px; border-radius: 8px; }
/* Same box before and after the real data / marquee arrive (no layout shift). */
.pub-marquee { margin-top: 18px; padding: 8px 0; }
.pub-marquee .pub-brand-row { margin-top: 0; }
@keyframes pub-shimmer { to { background-position: -200% 0; } }

/* Real images fade in once loaded (lazy category photos, brand logos). */
.pub-fade { opacity: 0; transition: opacity .45s ease; }
.pub-fade.is-loaded { opacity: 1; }

/* Category cards: lift, photo zoom, arrow slides in. */
.pub-cat { position: relative; overflow: hidden; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.pub-cat img.pub-fade { transition: opacity .45s ease, transform .35s ease; }
.pub-cat-go { position: absolute; right: 9px; top: 9px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #eef3fc; color: var(--pub-blue); opacity: 0; transform: translateX(-6px); transition: opacity .2s ease, transform .25s ease; }
.pub-cat-go .pub-ico { width: 14px; height: 14px; stroke-width: 2.2; }
.pub-cat:focus-visible .pub-cat-go { opacity: 1; transform: none; }
@media (hover: hover) {
  .pub-cat:hover { transform: translateY(-4px); }
  .pub-cat:hover .pub-cat-img img { transform: scale(1.08); }
  .pub-cat:hover .pub-cat-go { opacity: 1; transform: none; }
}

/* Brand marquee: every real brand, two identical halves -> translateX(-50%) loops seamlessly. */
.pub-marquee.is-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.pub-marquee.is-marquee .pub-brand-row { margin-top: 0; flex-wrap: nowrap; justify-content: flex-start; gap: 0; width: max-content; animation: pub-marquee var(--pub-marquee-dur, 60s) linear infinite; }
.pub-marquee.is-marquee .pub-brand-row > li { padding: 0 12px; }
.pub-marquee.is-marquee .pub-brand { padding: 0 10px; }
.pub-marquee.is-marquee:hover .pub-brand-row, .pub-marquee.is-marquee:focus-within .pub-brand-row,
.pub-marquee.is-paused .pub-brand-row, .pub-marquee.is-offscreen .pub-brand-row { animation-play-state: paused; }
@keyframes pub-marquee { to { transform: translateX(-50%); } }
/* Brand cards: subtle 3D turn toward the pointer. */
.pub-brand-row > li { perspective: 600px; }
.pub-brand { transition: transform .3s ease, background-color .2s ease, box-shadow .3s ease; }
.pub-brand:hover, .pub-brand:focus-visible { background: #fff; box-shadow: 0 10px 22px rgba(15, 29, 58, .12); }
.pub-brand:focus-visible { outline: 2px solid var(--pub-blue); outline-offset: 2px; }
@media (hover: hover) { .pub-brand:hover { transform: rotateY(-14deg) rotateX(4deg) translateZ(8px); } }

/* Sections reveal once on scroll (only when motion is allowed and JS runs: html.pub-motion). */
html.pub-motion .pub-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
html.pub-motion .pub-reveal.is-in { opacity: 1; transform: none; }

/* Why ORBITECH365 cards (hero points, stats band): subtle hover expand. */
.pub-hero-points li, .pub-stats li { transition: transform .25s ease; }
@media (hover: hover) {
  .pub-hero-points li:hover { transform: translateX(4px); }
  .pub-stats li:hover { transform: translateY(-3px) scale(1.03); }
}

/* Public brand / category search. */
.pub-search { position: relative; display: flex; align-items: center; gap: 8px; flex: 0 1 340px; margin-left: auto; height: 42px; padding: 0 12px; border: 1px solid var(--pub-line); border-radius: 10px; background: #fff; box-sizing: border-box; }
.pub-search:focus-within { border-color: var(--pub-blue); box-shadow: 0 0 0 3px rgba(22, 96, 236, .12); }
.pub-search .pub-ico { width: 18px; height: 18px; color: var(--pub-muted); }
.pub-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; font-size: var(--dealer-fs-body, 14.5px); color: var(--pub-ink); }
.pub-search-results { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 15; list-style: none; margin: 0; padding: 6px; max-height: 320px; overflow-y: auto; background: #fff; border: 1px solid var(--pub-line); border-radius: 10px; box-shadow: 0 14px 30px rgba(15, 29, 58, .14); }
.pub-search-hit { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 10px; border: 0; border-radius: 8px; background: none; color: var(--pub-ink); font: inherit; font-size: var(--dealer-fs-small, 14px); text-align: left; cursor: pointer; }
.pub-search-hit:hover, .pub-search-hit:focus-visible { background: #eef3fc; outline: 0; }
.pub-search-hit span { min-width: 0; overflow-wrap: anywhere; }
.pub-search-hit small { color: var(--pub-muted); font-size: 12px; white-space: nowrap; }
.pub-search-all span { color: var(--pub-blue); font-weight: 700; }

/* Dealer journey: the real onboarding steps; the progress line fills once when revealed. */
.pub-journey { max-width: 1440px; margin: 0 auto; padding: 30px clamp(16px, 4vw, 68px) 6px; box-sizing: border-box; width: 100%; }
.pub-steps { position: relative; list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.pub-steps::before, .pub-steps::after { content: ""; position: absolute; top: 19px; left: 10%; width: 80%; height: 3px; border-radius: 3px; background: var(--pub-line); }
.pub-steps::after { background: linear-gradient(90deg, var(--pub-blue), var(--pub-orange)); transform-origin: left center; }
.pub-steps li { position: relative; z-index: 1; display: grid; justify-items: center; gap: 6px; text-align: center; }
.pub-step-dot { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--pub-blue); background: #fff; color: var(--pub-blue); font-weight: 800; box-sizing: border-box; }
.pub-steps strong { color: var(--pub-ink); font-size: 15px; }
.pub-steps li > span:last-child { max-width: 24ch; color: var(--pub-muted); font-size: var(--dealer-fs-small, 14px); line-height: 1.4; }
html.pub-motion .pub-journey .pub-steps::after { transform: scaleX(0); transition: transform 1.6s cubic-bezier(.4, 0, .2, 1) .2s; }
html.pub-motion .pub-journey.is-in .pub-steps::after { transform: none; }
html.pub-motion .pub-journey .pub-step-dot { border-color: var(--pub-line); color: var(--pub-muted); transition: border-color .3s ease, color .3s ease; }
html.pub-motion .pub-journey.is-in .pub-step-dot { border-color: var(--pub-blue); color: var(--pub-blue); }
html.pub-motion .pub-journey.is-in li:nth-child(2) .pub-step-dot { transition-delay: .5s; }
html.pub-motion .pub-journey.is-in li:nth-child(3) .pub-step-dot { transition-delay: .85s; }
html.pub-motion .pub-journey.is-in li:nth-child(4) .pub-step-dot { transition-delay: 1.2s; }
html.pub-motion .pub-journey.is-in li:nth-child(5) .pub-step-dot { transition-delay: 1.55s; }

/* Sticky CTA: the desktop header is already sticky; it gains a shadow once the hero is scrolled away. */
html.pub-scrolled .pub-top { box-shadow: 0 6px 18px rgba(15, 29, 58, .08); }
.pub-sticky-cta { display: none; }

@media (max-width: 900px) {
  .pub-cats .pub-sec-head { flex-wrap: wrap; }
  .pub-search { order: 3; flex: 1 1 100%; margin-left: 0; }
}
@media (max-width: 720px) {
  .pub-steps { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .pub-steps::before, .pub-steps::after { top: 20px; bottom: 20px; left: 19px; width: 3px; height: auto; }
  .pub-steps::after { transform-origin: center top; background: linear-gradient(180deg, var(--pub-blue), var(--pub-orange)); }
  html.pub-motion .pub-journey .pub-steps::after { transform: scaleY(0); }
  .pub-steps li { grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; row-gap: 2px; justify-items: start; text-align: left; }
  .pub-steps .pub-step-dot { grid-row: span 2; }
  .pub-sticky-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(255, 255, 255, .97); box-shadow: 0 -8px 24px rgba(15, 29, 58, .12);
    transform: translateY(110%); visibility: hidden; transition: transform .28s ease, visibility 0s linear .28s;
  }
  .pub-sticky-cta.is-shown { transform: none; visibility: visible; transition: transform .28s ease; }
  .pub-sticky-cta .pub-btn { min-height: 44px; padding: 0 10px; font-size: 14px; }
  html.pub-scrolled .pub-foot { padding-bottom: 84px; }
}

@media (prefers-reduced-motion: reduce) {
  .pub-site *, .pub-site *::before, .pub-site *::after { animation: none !important; transition: none !important; }
  .pub-fade { opacity: 1; }
  .pub-cat:hover, .pub-brand:hover, .pub-hero-points li:hover, .pub-stats li:hover { transform: none; }
  .pub-cat:hover .pub-cat-img img { transform: none; }
}
