:root {
  --primary: #2463eb;
  --primary-dark: #154ed1;
  --primary-soft: #eaf1ff;
  --mint: #16c79a;
  --lime: #95df39;
  --amber: #ffb52e;
  --danger: #ff4d59;
  --ink: #10182c;
  --muted: #71819d;
  --subtle: #98a7bd;
  --bg: #f6f8fc;
  --surface: #fff;
  --surface-2: #eef3fa;
  --border: #dce5f1;
  --shadow: 0 14px 40px rgba(37, 68, 120, .10);
  --radius: 24px;
  --sidebar: 260px;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--bg); }
body { min-width: 280px; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }
.hidden { display: none !important; }
.app-shell { min-height: 100vh; }
.desktop-sidebar { position: fixed; inset: 0 auto 0 0; width: var(--sidebar); padding: 24px 18px; background: #fff; border-right: 1px solid var(--border); display: flex; flex-direction: column; z-index: 30; }
.brand { border: 0; background: transparent; display: flex; align-items: center; gap: 12px; padding: 4px; cursor: pointer; text-align: left; }
.brand img { width: 48px; height: 48px; object-fit: contain; }
.brand span { display: grid; gap: 2px; }
.brand b { color: var(--primary); font-size: 15px; letter-spacing: .8px; }
.brand small { font-size: 19px; font-weight: 900; color: var(--ink); }
.desktop-nav { display: grid; gap: 7px; margin-top: 34px; }
.nav-button, .soft-button { width: 100%; border: 0; background: transparent; border-radius: 16px; min-height: 50px; padding: 0 14px; display: flex; align-items: center; gap: 13px; color: var(--muted); font-weight: 700; cursor: pointer; }
.nav-button:hover, .soft-button:hover { background: var(--surface-2); color: var(--ink); }
.nav-button.active { background: var(--primary-soft); color: var(--primary); }
.nav-button svg, .soft-button svg { width: 22px; height: 22px; }
.sidebar-bottom { margin-top: auto; display: grid; gap: 8px; }
.profile-mini { border: 0; border-radius: 18px; background: var(--surface-2); padding: 10px; display: flex; align-items: center; gap: 10px; cursor: pointer; text-align: left; }
.profile-mini > span:first-child, .avatar { width: 40px; height: 40px; flex: 0 0 auto; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: #fff; font-weight: 900; overflow: hidden; }
.profile-mini > span:last-child { display: grid; gap: 2px; min-width: 0; }
.profile-mini b, .profile-mini small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profile-mini small { color: var(--muted); }
.main-column { margin-left: var(--sidebar); min-height: 100vh; }
.topbar { height: 82px; padding: 14px clamp(18px, 4vw, 52px); background: rgba(255,255,255,.92); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 25; display: flex; align-items: center; gap: 14px; backdrop-filter: blur(16px); }
.mobile-brand { display: none; }
.global-search { position: relative; width: min(760px, 100%); height: 52px; border: 1px solid #b9cffc; border-radius: 28px; background: var(--surface-2); display: flex; align-items: center; gap: 10px; padding: 0 13px 0 17px; }
.global-search:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(36,99,235,.10); }
.global-search > svg { color: var(--primary); width: 22px; }
.global-search input { flex: 1; border: 0; outline: 0; background: transparent; color: var(--ink); min-width: 0; font-size: 16px; }
.icon-button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; display: grid; place-items: center; cursor: pointer; flex: 0 0 auto; }
.icon-button:hover { background: var(--surface-2); }
.notification-button { margin-left: auto; position: relative; }
.notification-dot { position: absolute; right: 8px; top: 7px; width: 8px; height: 8px; border-radius: 50%; background: var(--danger); box-shadow: 0 0 0 2px white; }
.suggestions { position: absolute; left: 0; right: 0; top: 60px; padding: 8px; background: white; border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow); z-index: 40; }
.suggestion { width: 100%; border: 0; background: transparent; padding: 12px; display: flex; align-items: center; gap: 10px; border-radius: 12px; cursor: pointer; text-align: left; }
.suggestion:hover { background: var(--surface-2); }
.view { width: min(1440px, 100%); margin: 0 auto; padding: 28px clamp(18px, 4vw, 56px) 110px; }
.page-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.eyebrow { margin: 0 0 6px; color: var(--primary); font-weight: 900; font-size: 12px; letter-spacing: 1px; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 0; font-size: clamp(28px, 4vw, 44px); line-height: 1.03; letter-spacing: -.7px; }
h2 { margin-bottom: 16px; font-size: clamp(20px, 2.5vw, 28px); }
.muted { color: var(--muted); }
.hero { min-height: 260px; border-radius: 32px; padding: clamp(24px, 5vw, 54px); color: #fff; background: radial-gradient(circle at 85% 12%, rgba(84,149,255,.85), transparent 32%), linear-gradient(135deg, #0d4bd9, #2268f3 62%, #114dbd); display: grid; grid-template-columns: 1.3fr .7fr; align-items: center; overflow: hidden; box-shadow: 0 20px 55px rgba(27,83,205,.22); }
.hero h1 { max-width: 720px; }
.hero p { color: rgba(255,255,255,.8); max-width: 650px; margin-top: 14px; line-height: 1.6; }
.hero-art { display: grid; place-items: center; }
.hero-art img { width: min(240px, 75%); object-fit: contain; border-radius: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.button { min-height: 46px; padding: 0 19px; border: 0; border-radius: 16px; background: var(--primary); color: #fff; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; gap: 9px; cursor: pointer; text-decoration: none; }
.button:hover { background: var(--primary-dark); }
.button.white { background: white; color: var(--primary); }
.button.soft { background: var(--primary-soft); color: var(--primary); }
.button.ghost { background: transparent; color: var(--primary); border: 1px solid var(--primary); }
.button.danger { background: #fff0f1; color: var(--danger); }
.button:disabled { opacity: .55; cursor: not-allowed; }
.section { margin-top: 34px; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.section-head h2 { margin: 0; }
.chips { display: flex; gap: 9px; overflow: auto; padding: 2px 0 8px; scrollbar-width: none; }
.chip { border: 1px solid var(--border); background: white; color: var(--muted); border-radius: 999px; padding: 10px 15px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.chip.active, .chip:hover { color: #fff; background: var(--primary); border-color: var(--primary); }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.product-card { position: relative; min-width: 0; background: white; border: 1px solid rgba(220,229,241,.9); border-radius: 24px; padding: 12px; box-shadow: 0 8px 30px rgba(30,64,120,.06); transition: transform .18s, box-shadow .18s; cursor: pointer; }
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.product-image { width: 100%; aspect-ratio: 5/6; border-radius: 18px; object-fit: cover; background: var(--surface-2); }
.favorite-button { position: absolute; top: 22px; right: 22px; width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgba(255,255,255,.94); color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: 0 5px 15px rgba(0,0,0,.12); }
.favorite-button.active { color: var(--danger); }
.discount { position: absolute; top: 22px; left: 22px; border-radius: 10px; padding: 7px 10px; background: var(--primary); color: white; font-size: 12px; font-weight: 900; }
.product-body { padding: 13px 3px 4px; }
.product-body h3 { font-size: 17px; margin-bottom: 7px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.product-meta { min-height: 20px; color: var(--muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rating { display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: 13px; margin-top: 9px; }
.rating svg { width: 17px; fill: var(--amber); color: var(--amber); }
.price-row { margin-top: 10px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
.price { font-size: 20px; font-weight: 900; }
.old-price { color: var(--subtle); text-decoration: line-through; font-size: 13px; }
.empty { min-height: 260px; display: grid; place-items: center; text-align: center; color: var(--muted); }
.empty svg { width: 52px; height: 52px; color: var(--primary); margin-bottom: 12px; }
.loader { min-height: 280px; display: grid; place-items: center; }
.spinner { width: 38px; height: 38px; border: 4px solid var(--primary-soft); border-top-color: var(--primary); border-radius: 50%; animation: spin .75s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.store-grid, .settings-list { display: grid; gap: 12px; }
.store-grid { grid-template-columns: repeat(3, 1fr); }
.store-card, .list-card { border: 1px solid var(--border); border-radius: 22px; background: white; padding: 18px; cursor: pointer; }
.store-card { display: flex; gap: 14px; align-items: center; }
.store-card img, .store-logo { width: 58px; height: 58px; border-radius: 16px; object-fit: cover; background: var(--primary-soft); }
.list-card { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; }
.list-card:hover, .store-card:hover { border-color: #b5cbf6; box-shadow: 0 8px 24px rgba(30,64,120,.07); }
.list-icon { width: 48px; height: 48px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; flex: 0 0 auto; }
.list-card > span:nth-child(2) { min-width: 0; flex: 1; display: grid; gap: 4px; }
.list-card b { font-size: 16px; }
.list-card small { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.list-card > svg { color: var(--subtle); }
.map-layout { display: grid; grid-template-columns: minmax(300px, 420px) 1fr; gap: 18px; height: calc(100vh - 150px); min-height: 520px; }
.map-panel { overflow: auto; padding-right: 4px; }
#map { width: 100%; height: 100%; min-height: 460px; border-radius: 26px; border: 1px solid var(--border); z-index: 1; }
.map-loading, .map-fallback { display: grid; place-items: center; text-align: center; color: var(--muted); background: linear-gradient(135deg, #eaf1ff, #f8fbff); }
.map-loading > div, .map-fallback { padding: 24px; }
.map-loading b { display: block; margin-top: 10px; }
.map-fallback h2 { margin: 12px 0 7px; color: var(--ink); }
.map-fallback p { max-width: 280px; margin: 0; line-height: 1.5; }
.modal-backdrop { position: fixed; inset: 0; z-index: 100; background: rgba(9,17,34,.48); backdrop-filter: blur(5px); display: grid; place-items: center; padding: 18px; }
.modal { width: min(680px, 100%); max-height: min(900px, 94vh); overflow: auto; background: white; border-radius: 28px; box-shadow: 0 28px 90px rgba(0,0,0,.24); }
.modal.wide { width: min(1040px, 100%); }
.modal-head { position: sticky; top: 0; z-index: 3; display: flex; align-items: center; justify-content: space-between; padding: 17px 20px; background: rgba(255,255,255,.94); border-bottom: 1px solid var(--border); backdrop-filter: blur(12px); }
.modal-head h2 { margin: 0; font-size: 20px; }
.modal-body { padding: 22px; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.detail-image { width: 100%; aspect-ratio: 1; object-fit: contain; background: var(--surface-2); border-radius: 24px; }
.detail-info h1 { font-size: clamp(26px,4vw,42px); }
.detail-description { white-space: pre-wrap; color: var(--muted); line-height: 1.65; }
.back-link { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 20px; border: 0; background: transparent; color: var(--ink); font-weight: 800; cursor: pointer; }
.back-link:hover { color: var(--primary); }
.product-detail-page { display: grid; grid-template-columns: minmax(320px, .95fr) minmax(360px, 1.05fr); gap: clamp(26px, 4vw, 56px); align-items: start; }
.product-gallery { position: sticky; top: 106px; }
.gallery-thumbs { display: flex; gap: 9px; margin-top: 12px; overflow: auto; padding-bottom: 3px; }
.gallery-thumb { width: 64px; height: 64px; flex: 0 0 auto; padding: 3px; border: 2px solid transparent; background: var(--surface-2); border-radius: 14px; cursor: pointer; }
.gallery-thumb.active { border-color: var(--primary); background: white; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 9px; }
.detail-price { margin: 20px 0 8px; }
.detail-section { margin-top: 28px; padding-top: 25px; border-top: 1px solid var(--border); }
.detail-section h2 { font-size: 19px; margin-bottom: 12px; }
.spec-list { display: grid; gap: 0; border: 1px solid var(--border); border-radius: 18px; overflow: hidden; }
.spec-list div { display: flex; justify-content: space-between; gap: 20px; padding: 13px 15px; background: white; border-bottom: 1px solid var(--border); }
.spec-list div:last-child { border-bottom: 0; }
.spec-list span { color: var(--muted); }
.spec-list b { text-align: right; }
.form { display: grid; gap: 14px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 13px; font-weight: 800; color: var(--muted); }
.field input, .field textarea, .field select { width: 100%; border: 1px solid var(--border); border-radius: 15px; background: var(--surface-2); outline: 0; padding: 13px 15px; color: var(--ink); }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(36,99,235,.1); }
.field textarea { min-height: 110px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.auth-logo { width: 72px; margin: 4px auto 18px; }
.auth-copy { text-align: center; color: var(--muted); margin-bottom: 20px; }
.auth-intro { display: flex; align-items: center; gap: 15px; padding: 2px 0 16px; }
.auth-intro .auth-logo { width: 62px; height: 62px; object-fit: contain; margin: 0; flex: 0 0 auto; }
.auth-intro h2 { margin: 0 0 5px; font-size: 24px; }
.auth-intro .eyebrow { margin-bottom: 2px; }
.auth-intro .auth-copy { margin: 0; text-align: left; line-height: 1.45; font-size: 13px; }
.field-note { color: var(--muted); font-size: 12px; line-height: 1.35; }
.auth-submit { margin-top: 4px; }
.profile-hero { padding: 24px; border: 1px solid var(--border); background: white; border-radius: 26px; display: flex; align-items: center; gap: 18px; }
.profile-hero .avatar { width: 76px; height: 76px; font-size: 24px; }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 15px 0 28px; }
.stat { padding: 18px; background: var(--primary-soft); border-radius: 20px; }
.stat small { display: block; color: var(--muted); margin-bottom: 7px; }
.stat b { font-size: 20px; }
.wallet { padding: 25px; border-radius: 27px; color: white; background: linear-gradient(135deg, #0748d4, #276cf2); box-shadow: 0 16px 38px rgba(25,83,213,.24); }
.wallet-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.wallet-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 18px; }
.wallet-item { border-radius: 16px; padding: 13px; background: rgba(255,255,255,.12); }
.chat-layout { height: calc(100dvh - 190px); min-height: 300px; display: grid; grid-template-columns: 350px minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); border: 1px solid var(--border); border-radius: 26px; background: var(--surface); overflow: hidden; }
.chat-list { min-height: 0; min-width: 0; border-right: 1px solid var(--border); overflow-y: auto; overscroll-behavior-y: contain; }
.chat-list-head { padding: 18px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.chat-list-head span { min-width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; background: var(--primary-soft); color: var(--primary); font-size: 12px; font-weight: 800; }
.chat-empty { padding: 24px 18px; color: var(--muted); text-align: center; }
.chat-empty p { color: var(--ink); font-weight: 800; margin-bottom: 6px; }
.chat-empty small { display: block; line-height: 1.5; }
.chat-store-starts { display: grid; gap: 8px; margin-top: 18px; text-align: left; }
.chat-store-starts button { border: 1px solid var(--border); border-radius: 13px; background: var(--surface); padding: 11px 12px; color: var(--ink); font-weight: 700; cursor: pointer; }
.chat-store-starts button:hover { border-color: var(--primary); color: var(--primary); }
.chat-thread { width: 100%; border: 0; background: var(--surface); color: var(--ink); padding: 14px 16px; display: flex; align-items: center; gap: 11px; text-align: left; cursor: pointer; }
.chat-thread:hover, .chat-thread.active { background: var(--primary-soft); }
.chat-thread-content { flex: 1; min-width: 0; }
.chat-thread-content p { color: var(--muted); font-size: 13px; margin: 4px 0 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-room { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; min-width: 0; min-height: 0; overflow: hidden; }
.chat-room-head { padding: 15px 18px; border-bottom: 1px solid var(--border); font-weight: 900; }
.messages { min-height: 0; overflow-y: auto; overscroll-behavior-y: contain; padding: 18px; background: var(--bg); display: flex; flex-direction: column; gap: 9px; }
.message { flex-shrink: 0; max-width: min(76%, 560px); overflow-wrap: anywhere; padding: 10px 13px; border-radius: 17px; background: var(--elevated); color: var(--ink); border: 1px solid var(--border); align-self: flex-start; }
.message.mine { align-self: flex-end; color: white; background: var(--primary); border: 0; }
.message img { max-width: 260px; border-radius: 12px; margin-bottom: 7px; }
.message time { display: block; text-align: right; opacity: .68; font-size: 10px; margin-top: 4px; }
.composer-wrap { padding: 10px; background: var(--surface); border-top: 1px solid var(--border); }
.attachment-preview { display: flex; align-items: center; gap: 10px; padding: 0 6px 9px; }
.attachment-preview img { width: 52px; height: 52px; object-fit: cover; border-radius: 11px; }
.composer-row { display: flex; align-items: end; gap: 8px; }
.composer { flex: 1; min-height: 50px; display: flex; align-items: end; background: var(--surface-2); border-radius: 26px; overflow: hidden; }
.composer .icon-button { color: var(--primary); width: 50px; height: 50px; }
.composer textarea { flex: 1; min-width: 0; max-height: 120px; resize: none; border: 0; outline: 0; background: transparent; padding: 14px 6px; color: var(--ink); }
.send-button { width: 50px; height: 50px; flex: 0 0 auto; border-radius: 50%; border: 0; background: var(--primary); color: white; display: grid; place-items: center; cursor: pointer; transition: transform .15s, opacity .15s; }
.send-button.hidden-send { width: 0; opacity: 0; overflow: hidden; pointer-events: none; }
.qr-box { width: 230px; height: 230px; margin: 10px auto; display: grid; place-items: center; border-radius: 24px; background: white; border: 1px solid var(--border); }
.qr-box canvas { max-width: 190px; max-height: 190px; }
.notice { border-radius: 18px; padding: 14px 16px; background: #fff9e9; color: #885a00; border: 1px solid #f7dda0; }
.toast-root { position: fixed; z-index: 200; right: 22px; bottom: 24px; display: grid; gap: 10px; }
.toast { max-width: 360px; padding: 13px 16px; border-radius: 15px; color: white; background: var(--ink); box-shadow: var(--shadow); animation: toast-in .2s ease-out; }
.toast.error { background: #b4232f; }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } }
.mobile-nav { display: none; }

@media (max-width: 1120px) {
  :root { --sidebar: 88px; }
  .brand span, .nav-button span, .soft-button span, .profile-mini > span:last-child { display: none; }
  .desktop-sidebar { padding-inline: 14px; align-items: center; }
  .desktop-nav, .sidebar-bottom { width: 100%; }
  .nav-button, .soft-button { justify-content: center; padding: 0; }
  .product-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .store-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .desktop-sidebar { display: none; }
  .main-column { margin-left: 0; }
  .topbar { height: 70px; padding: 9px 12px; }
  .mobile-brand { display: flex; }
  .mobile-brand img { width: 38px; height: 38px; }
  .mobile-brand b { display: none; }
  .global-search { height: 48px; }
  .view { padding: 18px 13px 100px; }
  .hero { grid-template-columns: 1fr; min-height: 240px; border-radius: 25px; }
  .hero-art { display: none; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .product-card { border-radius: 19px; padding: 8px; }
  .product-image { border-radius: 14px; }
  .favorite-button { width: 37px; height: 37px; top: 15px; right: 15px; }
  .discount { top: 15px; left: 15px; }
  .store-grid { grid-template-columns: 1fr; }
  .map-layout { display: block; height: auto; }
  .map-panel { max-height: 330px; margin-bottom: 14px; }
  #map { height: 54vh; min-height: 400px; }
  .detail-grid { grid-template-columns: 1fr; }
  .product-detail-page { grid-template-columns: 1fr; gap: 22px; }
  .product-gallery { position: static; }
  .detail-image { aspect-ratio: 1/1; }
  .chat-layout { display: block; height: auto; min-height: 0; border: 0; background: transparent; }
  .chat-list { max-height: calc(100dvh - 210px); border: 1px solid var(--border); border-radius: 22px; background: var(--surface); }
  .chat-room { position: fixed; inset: 0; z-index: 80; background: white; }
  .chat-room.hidden-mobile { display: none; }
  .messages { min-height: 0; }
  .mobile-nav { position: fixed; z-index: 50; left: 0; right: 0; bottom: 0; height: calc(72px + env(safe-area-inset-bottom)); padding: 7px 5px env(safe-area-inset-bottom); display: grid; grid-template-columns: repeat(5, 1fr); background: rgba(255,255,255,.96); border-top: 1px solid var(--border); backdrop-filter: blur(18px); }
  .mobile-nav .nav-button { min-height: 58px; display: grid; place-items: center; gap: 2px; font-size: 10px; padding: 3px; }
  .mobile-nav .nav-button svg { width: 23px; height: 23px; }
  .mobile-nav .nav-button span { display: block; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .wallet-grid { grid-template-columns: 1fr; }
}

@media (max-width: 390px) {
  .mobile-brand { display: none; }
  .product-body h3 { font-size: 15px; }
  .price { font-size: 17px; }
  .page-head { align-items: flex-start; }
  .form-row { grid-template-columns: 1fr; }
  .profile-hero { align-items: flex-start; }
  .auth-intro { align-items: flex-start; }
}
.auth-phone { display: flex; align-items: center; gap: 10px; padding-left: 14px; border: 1px solid var(--border); border-radius: 15px; background: var(--surface-2); }
.auth-phone > span { font-weight: 700; }
.auth-phone input { min-width: 0; border: 0; background: transparent; }
.auth-phone:focus-within { outline: 2px solid var(--primary); }
.auth-legal { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; line-height: 1.6; }
.auth-legal input { flex: 0 0 auto; margin-top: 4px; accent-color: var(--primary); }
.auth-legal a { color: var(--primary); }
.auth-error { margin: 0; color: var(--danger); font-size: 14px; }
