/* My Smart Rental – Groundwork layout (same structure and sizes as the Groundwork / Lumen template):
   48px app bar · 264px side navigation with collapsible sections · 44px breadcrumb strip · sign-in and registration pages.
   Loaded last. Colours only through the tokens of theme.css / brand.css (brand colours stay in branding.json). */

/* neutrals of the template (cool grey, 8px radius); brand + accent still come from /brand.css */
:root {
  --bg: #f8f9fb; --surface: #ffffff; --surface-2: #f9fafb; --surface-3: #f1f3f6;
  --border: #eaecf0; --border-strong: #d0d5dd;
  --text: #101828; --text-2: #475467; --text-3: #667085; --text-4: #98a2b3;
  --hover: #f1f3f6; --appbar: #101828; --appbar-line: #1d2939; --appbar-text: #d0d5dd;
  --ok-dot: #16a34a; --pop-shadow: 0 12px 32px rgba(16, 24, 40, .16);
  --radius-sm: 6px; --radius: 8px; --radius-lg: 12px;
  --sidebar-w: 264px;
}
[data-mode="dark"] {
  --bg: #0c111d; --surface: #161b26; --surface-2: #1a202c; --surface-3: #1f2531;
  --border: #262c38; --border-strong: #3a414f;
  --text: #f5f5f6; --text-2: #cecfd2; --text-3: #a0a3ab; --text-4: #70747d;
  --hover: #1f2531; --appbar: #0b0f19; --appbar-line: #1d2939;
  --pop-shadow: 0 12px 32px rgba(0, 0, 0, .5);
}
body { background: var(--bg); }

/* ---------- app bar ---------- */
.gw { min-height: 100vh; }
.appbar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 16px; height: 48px; padding: 0 16px;
  background: var(--appbar); border-bottom: 1px solid var(--appbar-line); color: #f1f3f6; font-size: 13px; }
.appbar-logo { display: inline-flex; align-items: center; gap: 10px; flex: none; color: #fff; font-size: 14px; font-weight: 600; letter-spacing: -.01em; }
.appbar-logo:hover { text-decoration: none; color: #fff; }
.appbar-logo .logo { width: 28px; height: 28px; border-radius: 7px; }
.appbar-plan { flex: none; padding: 2px 8px; border-radius: 4px; background: rgba(255, 255, 255, .1); color: var(--appbar-text); font-size: 11px; font-weight: 600;
  letter-spacing: .06em; line-height: 17px; text-transform: uppercase; white-space: nowrap; }
.appbar-plan.is-trial { background: color-mix(in srgb, var(--accent) 35%, transparent); color: #e0fbff; }
.appbar-search { display: flex; align-items: center; gap: 8px; flex: 0 1 467px; min-width: 0; height: 32px; padding: 0 6px 0 12px;
  border: 1px solid rgba(255, 255, 255, .1); border-radius: 4px; background: rgba(255, 255, 255, .08); color: #98a2b3; font: inherit; font-size: 13px; cursor: pointer; text-align: left; }
.appbar-search:hover { border-color: rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .11); }
.appbar-search .icon { width: 16px; height: 16px; flex: none; }
.appbar-search .lbl { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.appbar-search kbd { flex: none; padding: 1px 5px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 4px; font: 500 11px/15px var(--font); color: #98a2b3; background: none; }
.appbar-right { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.appbar-right .dropdown { position: relative; }
.appbar-icon { position: relative; display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 1px solid transparent; border-radius: 4px;
  background: transparent; color: var(--appbar-text); cursor: pointer; }
.appbar-icon .icon { width: 18px; height: 18px; stroke: currentColor; }
.appbar-icon:hover { background: rgba(255, 255, 255, .1); color: #fff; text-decoration: none; }
.appbar-icon:focus-visible, .appbar-user:focus-visible, .appbar-search:focus-visible { outline: 2px solid var(--brand-400); outline-offset: 1px; }
.appbar-dot { position: absolute; top: 6px; right: 6px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 2px var(--appbar); }
.appbar-burger, .appbar-search-btn { display: none; }
.appbar-user { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 999px; background: transparent; cursor: pointer; }
.appbar-user:hover .appbar-avatar { box-shadow: 0 0 0 2px rgba(255, 255, 255, .35); }
.appbar-avatar { position: relative; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #d9f4f1; color: #0f766e;
  box-shadow: inset 0 0 0 1px rgba(20, 184, 166, .22); font-size: 10.6px; font-weight: 600; letter-spacing: .02em; }
.appbar-avatar[data-status="active"]::after { content: ""; position: absolute; right: -1px; bottom: -1px; width: 8.4px; height: 8.4px; box-sizing: border-box;
  border: 2px solid #fff; border-radius: 50%; background: var(--ok-dot); }
.appbar-avatar--lg { width: 40px; height: 40px; font-size: 14px; flex: none; }
.appbar-avatar--lg::after { width: 11px !important; height: 11px !important; }

/* profile menu (theme + language segments) */
.dd-menu.gw-menu { padding: 6px; }
.gw-user { display: flex; align-items: center; gap: 12px; padding: 4px 2px; }
.gw-user > span:last-child { display: grid; min-width: 0; }
.gw-user b { font-size: 14px; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gw-user small { font-size: 12.5px; color: var(--text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gw-active { display: flex; align-items: center; gap: 6px; color: var(--success) !important; font-weight: 500; }
.gw-active i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok-dot); }
.gw-seg-wrap { display: grid; gap: 6px; }
.gw-seg-lbl { font-size: 12px; font-weight: 500; color: var(--text-3); }
.gw-seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; padding: 2px; border: 1px solid var(--border); border-radius: 8px; background: var(--bg); }
.gw-seg--lang { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dd-menu .gw-seg button { justify-content: center; gap: 6px; width: auto; height: 28px; padding: 0 6px; border: 1px solid transparent; border-radius: 6px; color: var(--text-2); font-size: 12.5px; }
.dd-menu .gw-seg button:hover { background: transparent; color: var(--text); }
.dd-menu .gw-seg button[aria-pressed="true"] { background: var(--surface); border-color: var(--brand); color: var(--primary); font-weight: 600; box-shadow: var(--shadow-sm); }
.gw-seg .icon { width: 14px; height: 14px; }
.gw-seg .flag { width: 18px; height: 13px; border-radius: 2px; }
.gw-empty { display: grid; justify-items: center; gap: 4px; padding: 18px 10px 20px; text-align: center; color: var(--text-3); font-size: 13px; }
.gw-empty .icon { width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: var(--primary-soft); stroke: var(--primary); }
.gw-empty b { color: var(--text); }

/* ---------- side navigation (264px, collapsible sections) ---------- */
.gw-shell { display: grid; grid-template-columns: var(--sidebar-w) minmax(0, 1fr); min-height: calc(100vh - 48px); }
.sidenav { position: sticky; top: 48px; height: calc(100vh - 48px); overflow-y: auto; padding: 12px 8px; background: var(--surface);
  border-right: 1px solid var(--border); font-size: 13px; scrollbar-width: thin; }
.gw-company { display: flex; align-items: center; gap: 10px; width: 100%; margin-bottom: 8px; padding: 8px; border: 1px solid var(--border); border-radius: 8px;
  background: var(--surface); color: var(--text); font: inherit; text-align: left; cursor: pointer; }
button.gw-company:hover { border-color: var(--border-strong); background: var(--hover); }
.gw-company img, .gw-company__mark { flex: none; width: 30px; height: 30px; border-radius: 7px; object-fit: contain; }
.gw-company__mark { display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); font-size: 11px; font-weight: 700; }
.gw-company__txt { flex: 1; min-width: 0; display: grid; }
.gw-company__txt b { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gw-company__txt small { font-size: 11.5px; color: var(--text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sidenav details + details { margin-top: 2px; }
.sidenav summary { display: flex; align-items: center; justify-content: space-between; height: 30px; padding: 0 8px; border-radius: 4px; list-style: none;
  font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); cursor: pointer; user-select: none; }
.sidenav summary::-webkit-details-marker { display: none; }
.sidenav summary:hover { color: var(--text); background: var(--hover); }
.nav-chev { width: 14px !important; height: 14px !important; transition: transform .15s; }
.sidenav details[open] > summary .nav-chev { transform: rotate(90deg); }
.nav-link { display: flex; align-items: center; gap: 12px; height: 30px; padding: 0 12px; border-radius: 4px; color: var(--text-2); font-weight: 500; white-space: nowrap; }
.nav-link .icon { flex: none; width: 18px; height: 18px; stroke: var(--text-3); }
.nav-link > span:first-of-type { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.nav-link:hover { background: var(--hover); color: var(--text); text-decoration: none; }
.nav-link[aria-current="page"] { background: var(--primary-soft); color: var(--primary); box-shadow: inset 3px 0 0 var(--brand); border-radius: 0 4px 4px 0; }
.nav-link[aria-current="page"] .icon { stroke: var(--primary); }
.nav-count { flex: none; min-width: 20px; height: 19px; padding: 1px 7px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 11px; font-weight: 600; line-height: 17px; text-align: center; }
.nav-count.info { background: var(--surface-3); color: var(--text-2); }
.sidenav summary:focus-visible, .nav-link:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; }
.gw-trial { display: grid; gap: 4px; margin: 16px 4px 4px; padding: 12px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface-2); font-size: 12.5px; color: var(--text-3); }
.gw-trial b { color: var(--text); font-size: 13px; }
.gw-trial .btn { margin-top: 6px; }
.gw-backdrop { display: none; }

/* ---------- workspace + breadcrumb strip ---------- */
.workspace { min-width: 0; display: flex; flex-direction: column; }
.strip { display: flex; align-items: center; gap: 12px; height: 44px; flex: none; padding: 0 20px; background: var(--surface); border-bottom: 1px solid var(--border); font-size: 14px; }
.strip > nav { flex: 1; min-width: 0; overflow: hidden; }
.crumbs { display: flex; align-items: center; gap: 2px; min-width: 0; margin: 0; padding: 0; list-style: none; color: var(--text-2); }
.crumbs li { display: flex; align-items: center; min-width: 0; white-space: nowrap; }
.crumbs li + li::before { content: ""; width: 14px; height: 14px; margin: 0 6px; flex: none; background: currentColor; opacity: .45;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E") center / contain no-repeat; }
.crumbs a { color: var(--text-2); overflow: hidden; text-overflow: ellipsis; }
.crumbs a:hover { color: var(--primary); }
.crumbs [aria-current] { color: var(--text-3); overflow: hidden; text-overflow: ellipsis; }
.strip-pills { display: flex; gap: 8px; flex: none; }
.pill { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border: 1px solid var(--border); border-radius: 999px; font-size: 12.5px; font-weight: 500; white-space: nowrap; }
.pill .icon { width: 14px; height: 14px; }
.pill--dev { background: var(--warning-bg); border-color: color-mix(in srgb, var(--warning) 35%, transparent); color: var(--warning); }
.pill--dev .icon, .pill--demo .icon, .pill--support .icon { stroke: currentColor; }
.pill--demo { background: var(--accent-50); border-color: color-mix(in srgb, var(--accent) 35%, transparent); color: var(--accent-600); }
.pill--support { background: var(--info-bg); border-color: color-mix(in srgb, var(--info) 35%, transparent); color: var(--info); }
.content { padding: 20px 20px 64px; max-width: 1480px; margin: 0; }

/* ---------- tablet / phone: navigation as a drawer (like Lumen) ---------- */
@media (max-width: 960px) {
  .appbar-burger { display: grid; }
  .appbar-search kbd { display: none; }
  .gw-shell { grid-template-columns: minmax(0, 1fr); }
  .sidenav { position: fixed; top: 48px; left: 0; bottom: 0; z-index: 25; width: 264px; height: auto; transform: translateX(-100%); transition: transform .2s ease; box-shadow: var(--pop-shadow); }
  body.nav-open .sidenav { transform: none; }
  body.nav-open .gw-backdrop { display: block; position: fixed; inset: 48px 0 0; z-index: 24; background: var(--overlay); }
  body.nav-open::after { content: none; }
}
@media (max-width: 700px) {
  .appbar { gap: 10px; padding: 0 12px; }
  .appbar-plan, .appbar-search { display: none; }
  .appbar-search-btn { display: grid; }
  .appbar-right { gap: 6px; }
  .strip { padding: 0 14px; }
  .strip-pills .pill span { display: none; }
  .strip-pills .pill { padding: 0 8px; }
  .crumbs li:not(:nth-last-child(-n+2)) { display: none; }
  .crumbs li:nth-last-child(2):not(:first-child)::before { display: none; }
  .content { padding: 16px 14px 72px; }
}
@media (prefers-reduced-motion: reduce) { .sidenav, .nav-chev { transition: none; } }

/* =====================================================================
   Sign-in + registration (Groundwork layout): gradient panel left, form right
   ===================================================================== */
.gw-auth { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); min-height: 100vh; background: var(--surface); }
.gw-hero { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: 48px; color: #fff;
  background: radial-gradient(900px 500px at 0 0, rgba(255, 255, 255, .14), transparent 60%), linear-gradient(150deg, var(--brand-700) 0, var(--brand) 55%, var(--accent-600) 125%); }
.gw-hero::before, .gw-hero::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.gw-hero::before { width: 780px; height: 780px; right: -390px; bottom: -390px; background: rgba(255, 255, 255, .04); border: 80px solid rgba(255, 255, 255, .05); }
.gw-hero::after { width: 520px; height: 520px; right: -260px; bottom: -260px; border: 60px solid rgba(255, 255, 255, .05); }
.gw-hero > * { position: relative; }
.gw-hero__logo, .gw-mlogo { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 600; letter-spacing: -.02em; color: #fff; }
.gw-hero__logo:hover, .gw-mlogo:hover { text-decoration: none; }
.gw-hero__logo .logo { width: 30px; height: 30px; border-radius: 8px; }
.gw-hero__body { max-width: 520px; }
.gw-hero h1 { margin: 0 0 14px; font-size: 30px; font-weight: 600; line-height: 1.17; letter-spacing: -.025em; white-space: pre-line; color: #fff; }
.gw-lead { margin: 0; font-size: 16px; line-height: 1.65; opacity: .85; max-width: 480px; }
.gw-kicker { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .22); font-size: 12.5px; font-weight: 600; }
.gw-kicker .icon, .gw-hero .icon { stroke: currentColor; }
.gw-hcard { max-width: 460px; margin: 0; padding: 18px 20px; border-radius: 16px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); backdrop-filter: blur(6px); display: grid; gap: 10px; font-size: 14px; }
.gw-hcard__h, .gw-hcard__r, .gw-hcard__f { display: flex; align-items: center; gap: 10px; }
.gw-hcard__r { justify-content: space-between; opacity: .92; } .gw-hcard__r span { display: inline-flex; align-items: center; gap: 8px; }
.gw-hcard__dot { width: 9px; height: 9px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 4px rgba(74, 222, 128, .25); }
.gw-hcard__pill { margin-left: auto; padding: 2px 10px; border-radius: 999px; background: rgba(255, 255, 255, .2); font-size: 12px; font-weight: 600; }
.gw-hcard__bar { height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .18); overflow: hidden; } .gw-hcard__bar i { display: block; width: 72%; height: 100%; background: #fff; border-radius: inherit; }
.gw-hcard__f { font-size: 13px; opacity: .9; }
.gw-facts { display: flex; flex-wrap: wrap; gap: 12px 32px; margin: 0; padding: 0; list-style: none; }
.gw-facts b { display: block; font-size: 22px; font-weight: 600; line-height: 1.2; letter-spacing: -.02em; }
.gw-facts span { display: block; font-size: 13px; opacity: .78; }
.gw-steps { display: grid; gap: 18px; margin: 30px 0 0; padding: 0; list-style: none; }
.gw-steps li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 14px; align-items: start; }
.gw-steps li > span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28); font-weight: 600; }
.gw-steps b { display: block; font-size: 16px; } .gw-steps small { display: block; margin-top: 2px; font-size: 14px; opacity: .8; }
.gw-included { max-width: 560px; padding: 20px 22px; border-radius: 16px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); }
.gw-included h2 { margin: 0 0 14px; font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; opacity: .85; color: #fff; }
.gw-included ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; margin: 0; padding: 0; list-style: none; }
.gw-included li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 12px; align-items: start; }
.gw-included__ic { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: #fff; }
.gw-included__ic .icon { width: 17px; height: 17px; stroke: var(--brand) !important; }
.gw-included b { display: block; font-size: 14px; line-height: 1.35; } .gw-included small { display: block; margin-top: 2px; font-size: 12.5px; line-height: 1.45; opacity: .78; }

.gw-panel { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; padding: 80px 24px 24px; background: var(--surface); }
.gw-langbox { position: absolute; top: 20px; right: 24px; }
.gw-lang { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); color: var(--text); font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; box-shadow: var(--shadow-sm); }
.gw-lang:hover { border-color: var(--border-strong); } .gw-lang .flag { width: 22px; height: 15px; border-radius: 3px; }
.gw-mlogo { display: none; color: var(--text); }
.gw-box { width: min(440px, 100%); display: grid; gap: 16px; }
.gw-box--wide { width: min(600px, 100%); }
.gw-box h2 { margin: 0; font-size: 26px; font-weight: 650; letter-spacing: -.02em; color: var(--text); }
.gw-sub { margin: -8px 0 4px; color: var(--text-2); font-size: 14.5px; }
.gw-boxicon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--primary-soft); }
.gw-boxicon .icon { width: 24px; height: 24px; stroke: var(--primary); }
.gw-form { display: grid; gap: 16px; }
.gw-form .field { display: grid; gap: 6px; margin: 0; }
.gw-form label { font-size: 14px; font-weight: 500; color: var(--text); }
.gw-form .input { height: 44px; font-size: 15px; }
.gw-field-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.gw-field-head a { font-size: 14px; font-weight: 500; }
.gw-pw { position: relative; } .gw-pw .input { padding-right: 44px; }
.gw-pw__eye, .gw-pw__ok { position: absolute; top: 50%; right: 6px; transform: translateY(-50%); display: grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 6px; background: none; color: var(--text-3); cursor: pointer; }
.gw-pw__eye:hover { background: var(--hover); color: var(--text); }
.gw-pw__ok { opacity: 0; cursor: default; color: var(--success); transition: opacity .15s; } .gw-pw__ok .icon { stroke: currentColor; }
.gw-pw.is-match .input { border-color: color-mix(in srgb, var(--success) 60%, transparent); } .gw-pw.is-match .gw-pw__ok { opacity: 1; }
.gw-pw.is-nomatch .input { border-color: var(--danger); }
.gw-code { font-size: 24px !important; letter-spacing: .3em; text-align: center; font-variant-numeric: tabular-nums; }
.gw-demo { height: 44px; background: var(--primary-soft); border-color: color-mix(in srgb, var(--brand) 22%, transparent); color: var(--primary); font-weight: 500; }
.gw-demo:hover { background: color-mix(in srgb, var(--brand) 14%, var(--surface)); }
.gw-demo .icon { stroke: currentColor; }
.gw-switchline { margin: 0; text-align: center; color: var(--text-2); font-size: 14.5px; } .gw-switchline a { font-weight: 600; }
.gw-back { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; }
.gw-legal { margin: 8px 0 0; font-size: 12.5px; color: var(--text-3); } .gw-env { color: var(--warning); font-weight: 600; }

/* sign-in option: segmented switch with sliding pill + info cards (same as Groundwork) */
.gw-stay { margin: 0; padding: 0; border: 0; min-width: 0; }
.gw-stay legend { padding: 0; margin-bottom: 8px; font-size: 14px; font-weight: 500; color: var(--text); }
.gw-switch { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 4px; border: 1px solid var(--border); border-radius: 12px; background: var(--bg); }
.gw-switch__thumb { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 9px; background: var(--surface);
  box-shadow: 0 1px 3px rgba(16, 24, 40, .1), 0 0 0 1px var(--brand); transition: transform .25s cubic-bezier(.3, .7, .4, 1); }
.gw-switch:has(input[value="year"]:checked) .gw-switch__thumb { transform: translateX(100%); }
.gw-switch__opt { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 6px 10px; border-radius: 9px;
  color: var(--text-3); font-size: 14px !important; font-weight: 500; line-height: 1.25; text-align: center; text-wrap: balance; cursor: pointer; transition: color .25s, background-color .25s; }
.gw-switch__opt:not(:has(input:checked)):hover { color: var(--primary); background: color-mix(in srgb, var(--brand) 8%, transparent); }
.gw-switch__opt input { position: absolute; opacity: 0; pointer-events: none; }
.gw-switch__opt > .icon { flex: none; width: 16px; height: 16px; stroke: currentColor; }
.gw-switch__opt:has(input:checked) { color: var(--primary); font-weight: 600; }
.gw-switch__opt:has(input:focus-visible) { outline: 2px solid var(--brand); outline-offset: 2px; }
.gw-switch.is-switching .gw-switch__thumb { animation: gw-thumb-right .62s both; }
.gw-switch.is-switching[data-dir="left"] .gw-switch__thumb { animation-name: gw-thumb-left; }
.gw-switch.is-switching .gw-switch__opt:has(input:checked) .gw-switch__lbl,
.gw-switch.is-switching .gw-switch__opt:has(input:checked) > .icon { animation: gw-label-in .45s ease-out both; }
.gw-switch.is-switching[data-dir="left"] .gw-switch__opt:has(input:checked) .gw-switch__lbl,
.gw-switch.is-switching[data-dir="left"] .gw-switch__opt:has(input:checked) > .icon { --from: -4px; }
@keyframes gw-thumb-right { 0% { transform: translateX(0); animation-timing-function: cubic-bezier(.45, 0, .2, 1); } 62% { transform: translateX(101.8%); animation-timing-function: cubic-bezier(.4, 0, .4, 1); }
  84% { transform: translateX(99.5%); animation-timing-function: cubic-bezier(.4, 0, .4, 1); } 100% { transform: translateX(100%); } }
@keyframes gw-thumb-left { 0% { transform: translateX(100%); animation-timing-function: cubic-bezier(.45, 0, .2, 1); } 62% { transform: translateX(-1.8%); animation-timing-function: cubic-bezier(.4, 0, .4, 1); }
  84% { transform: translateX(.5%); animation-timing-function: cubic-bezier(.4, 0, .4, 1); } 100% { transform: translateX(0); } }
@keyframes gw-label-in { 0% { transform: translateX(var(--from, 4px)); opacity: .5; } 100% { transform: none; opacity: 1; } }
.gw-tip { position: absolute; bottom: calc(100% + 12px); left: -4px; z-index: 30; width: min(310px, calc(100vw - 40px)); padding: 14px 16px 15px; border: 1px solid var(--border); border-radius: 12px;
  background: var(--surface); box-shadow: var(--pop-shadow); color: var(--text-2); font-size: 13px; font-weight: 400; line-height: 1.45; text-align: left; text-wrap: pretty; pointer-events: none;
  opacity: 0; visibility: hidden; transform: translateY(6px) scale(.98); transition: opacity .18s ease, transform .22s cubic-bezier(.3, .7, .4, 1), visibility 0s linear .22s; }
.gw-switch__opt + .gw-switch__opt .gw-tip { left: auto; right: -4px; }
.gw-tip::after { content: ""; position: absolute; top: 100%; left: calc(25% + 2px); width: 12px; height: 12px; margin-top: -6px; background: var(--surface);
  border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); transform: rotate(45deg); }
.gw-switch__opt + .gw-switch__opt .gw-tip::after { left: auto; right: calc(25% + 2px); }
.gw-tip__head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.gw-tip__head > span:last-child { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.gw-tip__ic { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 8px; background: var(--primary-soft); }
.gw-tip__ic .icon { width: 16px; height: 16px; stroke: var(--primary); }
.gw-tip b { color: var(--text); font-size: 14px; }
.gw-tip em { padding: 1px 8px; border-radius: 99px; background: var(--success-bg); color: var(--success); font-size: 11px; font-style: normal; font-weight: 600; }
.gw-tip__list { display: grid; gap: 6px; } .gw-tip__list span { position: relative; padding-left: 20px; }
.gw-tip__list span::before { content: ""; position: absolute; left: 3px; top: 5px; width: 8px; height: 4.5px; border-left: 1.6px solid var(--accent-600); border-bottom: 1.6px solid var(--accent-600); transform: rotate(-45deg); }
.gw-tip__list span:last-child { color: var(--text); font-weight: 500; }
@media (hover: hover) { .gw-switch__opt:hover .gw-tip { opacity: 1; visibility: visible; transform: none; transition-delay: .12s, .12s, 0s; } }
.gw-switch__opt:has(input:focus-visible) .gw-tip, .gw-switch__opt.show-tip .gw-tip { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }

/* registration: progress, section cards, strength, plans, consent */
.gw-progress { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: 13px; color: var(--text-3); }
.gw-progress li { display: flex; align-items: center; gap: 8px; }
.gw-progress li + li::before { content: ""; width: 22px; height: 1px; background: var(--border-strong); }
.gw-progress span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--border-strong); font-size: 12px; font-weight: 600; }
.gw-progress b { font-weight: 500; } .gw-progress .is-current { color: var(--primary); } .gw-progress .is-current span { background: var(--brand); border-color: var(--brand); color: #fff; } .gw-progress .is-current b { font-weight: 600; }
.gw-form--reg .form-section { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 16px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); box-shadow: var(--shadow-sm); min-width: 0; }
.gw-form--reg .form-section h3 { display: flex; align-items: center; gap: 8px; margin: 0; padding: 0; font-size: 12.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--text-3); }
.gw-form--reg .form-section h3 .icon { width: 15px; height: 15px; stroke: var(--primary); }
.gw-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.gw-strength { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-3); }
.gw-strength__bars { display: grid; grid-template-columns: repeat(4, 26px); gap: 5px; flex: none; } .gw-strength__bars i { height: 4px; border-radius: 99px; background: var(--border); }
.gw-strength[data-score="1"] i:nth-child(-n+1) { background: var(--danger); } .gw-strength[data-score="2"] i:nth-child(-n+2) { background: var(--warning); }
.gw-strength[data-score="3"] i:nth-child(-n+3) { background: var(--success); } .gw-strength[data-score="4"] i { background: var(--success); }
.gw-check { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border: 1px solid var(--border-strong); border-radius: 12px; font-size: 14px !important; font-weight: 400 !important; line-height: 1.5; cursor: pointer; }
.gw-check:has(input:checked) { border-color: var(--brand); background: var(--primary-soft); }
.gw-check input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--brand); flex: none; }

@media (max-width: 1199px) {
  .gw-auth--register { grid-template-columns: minmax(0, 1fr); }
  .gw-auth--register .gw-hero { padding: 28px 24px 32px; gap: 18px; }
  .gw-auth--register .gw-hero h1 { font-size: 26px; }
  .gw-auth--register .gw-steps, .gw-auth--register .gw-included, .gw-auth--register .gw-facts { display: none; }
  .gw-auth--register .gw-panel { padding: 72px 20px 24px; }
  .gw-auth--register .gw-langbox { top: 16px; right: 16px; }
}
@media (max-width: 900px) {
  .gw-auth { grid-template-columns: minmax(0, 1fr); }
  .gw-hero { padding: 28px 24px 32px; gap: 18px; }
  .gw-hero h1 { font-size: 26px; }
  .gw-hcard, .gw-facts, .gw-steps, .gw-included { display: none; }
  .gw-panel { padding: 72px 20px 24px; justify-content: flex-start; }
  .gw-langbox { top: 16px; right: 16px; }
}
@media (max-width: 600px) {
  .gw-grid2 { grid-template-columns: minmax(0, 1fr); }
  .gw-switch__opt { font-size: 13px !important; gap: 6px; padding: 6px; }
}
@media (prefers-reduced-motion: reduce) { .gw-switch__thumb { transition: none; } .gw-switch.is-switching * { animation: none !important; } .gw-tip { transition: opacity .1s, visibility 0s linear .1s; transform: none !important; } }
