/* ============================================================
   VETTA · app.css — Design System v4 (Light + Dark Mode)
   Fonts: DM Sans (body) + Clash Display (display)
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;0,9..40,800;1,9..40,400&family=Syne:wght@700;800;900&display=swap');

/* ── CSS RESET ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── DESIGN TOKENS — LIGHT (default) ───────────────────────── */
:root {
  /* Brand */
  --blue:      #1A6FF5;
  --blue-d:    #1259D8;
  --blue-l:    #C7DEFE;
  --blue-ll:   #EEF4FF;
  --teal:      #0DB8CB;
  --teal-d:    #0A9AAB;
  --grad:      linear-gradient(135deg, #1A6FF5 0%, #0DB8CB 100%);
  --grad-warm: linear-gradient(135deg, #1A6FF5 0%, #7C3AED 100%);

  /* Status */
  --green:     #16A34A;
  --green-l:   #F0FDF4;
  --green-b:   #BBF7D0;
  --amber:     #D97706;
  --amber-l:   #FFFBEB;
  --amber-b:   #FDE68A;
  --red:       #DC2626;
  --red-l:     #FFF5F5;
  --red-b:     #FECACA;

  /* Neutral */
  --ink:       #0D1117;
  --ink2:      #1A2235;
  --ink3:      #374151;
  --ink4:      #6B7280;
  --ink5:      #9CA3AF;
  --ink6:      #CBD5E1;

  /* Surfaces */
  --bg:        #F4F6FA;
  --bg2:       #FAFBFD;
  --bg3:       #F0F2F7;
  --card:      #FFFFFF;
  --card2:     #F8FAFC;
  --border:    rgba(0,0,0,.07);
  --border2:   rgba(0,0,0,.04);

  /* Shadows */
  --shadow-xs: 0 1px 3px rgba(0,0,0,.06);
  --shadow-sm: 0 2px 8px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow:    0 4px 16px rgba(0,0,0,.08), 0 1px 4px rgba(0,0,0,.04);
  --shadow-md: 0 8px 28px rgba(0,0,0,.10), 0 2px 8px rgba(0,0,0,.05);
  --shadow-lg: 0 20px 50px rgba(0,0,0,.12), 0 4px 16px rgba(0,0,0,.06);
  --shadow-blue: 0 8px 24px rgba(26,111,245,.22);

  /* Radius */
  --r-sm:  8px;
  --r:     12px;
  --r-md:  16px;
  --r-lg:  20px;
  --r-xl:  28px;
  --r-2xl: 36px;

  /* Transition */
  --ease: cubic-bezier(.22,.68,0,1.2);
  --t:    0.18s;
}

/* ── DARK MODE TOKENS ───────────────────────────────────────── */
[data-theme="dark"] {
  --ink:       #F0F4FC;
  --ink2:      #D8E0F0;
  --ink3:      #A0AECA;
  --ink4:      #6B7A99;
  --ink5:      #4A5568;
  --ink6:      #2D3748;

  --bg:        #0C0F18;
  --bg2:       #111520;
  --bg3:       #161B2A;
  --card:      #161B2A;
  --card2:     #1C2238;
  --border:    rgba(255,255,255,.08);
  --border2:   rgba(255,255,255,.04);

  --shadow-xs: 0 1px 3px rgba(0,0,0,.3);
  --shadow-sm: 0 2px 8px rgba(0,0,0,.3), 0 1px 2px rgba(0,0,0,.2);
  --shadow:    0 4px 16px rgba(0,0,0,.35), 0 1px 4px rgba(0,0,0,.2);
  --shadow-md: 0 8px 28px rgba(0,0,0,.4), 0 2px 8px rgba(0,0,0,.25);
  --shadow-lg: 0 20px 50px rgba(0,0,0,.5), 0 4px 16px rgba(0,0,0,.3);

  --blue-ll:   rgba(26,111,245,.12);
  --green-l:   rgba(22,163,74,.12);
  --amber-l:   rgba(217,119,6,.12);
  --red-l:     rgba(220,38,38,.12);
}

/* ── BASE ───────────────────────────────────────────────────── */
html { font-size: 14px; scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  transition: background var(--t), color var(--t);
}

a { color: var(--blue); text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}
textarea { resize: vertical; }
::selection { background: rgba(26,111,245,.18); }

/* ── THEME TOGGLE BUTTON ────────────────────────────────────── */
.theme-toggle {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--card);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  transition: all var(--t) var(--ease);
  color: var(--ink3);
}
.theme-toggle:hover {
  transform: scale(1.08) rotate(20deg);
  box-shadow: var(--shadow-lg);
}
@media (max-width: 760px) {
  .theme-toggle { bottom: 80px; right: 14px; width: 42px; height: 42px; font-size: 17px; }
}

/* ══════════════════════════════════════════════════════════════
   AUTH PAGE
   ══════════════════════════════════════════════════════════════ */
body.auth-body {
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  align-items: stretch;
}

[data-theme="dark"] body.auth-body,
body.auth-body {
  --auth-left-bg: linear-gradient(160deg, #071224 0%, #0C1E45 55%, #0A2A5C 100%);
}

.vx-auth {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  width: 100%;
}

/* Left panel */
.vx-left {
  background: var(--auth-left-bg);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 52px;
}

.vx-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  animation: orb-drift 12s ease-in-out infinite alternate;
}
.vx-orb-1 { width: 420px; height: 420px; background: #1A6FF5; opacity: .28; top: -100px; left: -80px; animation-duration: 14s; }
.vx-orb-2 { width: 320px; height: 320px; background: #0DB8CB; opacity: .24; bottom: -60px; right: -60px; animation-duration: 10s; animation-direction: alternate-reverse; }

@keyframes orb-drift {
  from { transform: translate(0,0) scale(1); }
  to   { transform: translate(30px, 20px) scale(1.06); }
}

.vx-content {
  position: relative;
  z-index: 1;
  max-width: 480px;
}

.vx-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}
.vx-logo img { height: 32px; width: auto; }
.vx-logo-text {
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  font-weight: 900;
  color: #fff;
  letter-spacing: 5px;
}

.vx-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  color: rgba(200,225,255,.85);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
  backdrop-filter: blur(8px);
  letter-spacing: .5px;
}
.vx-kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7DD3FC;
  box-shadow: 0 0 0 5px rgba(125,211,252,.15);
  animation: pulse-dot 2.5s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,100% { box-shadow: 0 0 0 5px rgba(125,211,252,.15); }
  50%      { box-shadow: 0 0 0 9px rgba(125,211,252,.05); }
}

.vx-headline {
  font-family: 'Syne', sans-serif;
  font-size: 38px;
  font-weight: 900;
  color: #fff;
  line-height: 1.12;
  margin-bottom: 16px;
  letter-spacing: -.03em;
}
.vx-headline em {
  font-style: normal;
  background: linear-gradient(90deg, #7DD3FC, #34D399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.vx-sub {
  color: rgba(255,255,255,.6);
  font-size: 14.5px;
  margin-bottom: 36px;
  line-height: 1.75;
  max-width: 420px;
}

/* Hero card on left */
.vx-hero-shell { display: grid; gap: 14px; }

.vx-hero-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 24px;
  padding: 22px 24px;
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 40px rgba(0,0,0,.18);
  transition: transform var(--t) var(--ease);
}
.vx-hero-card:hover { transform: translateY(-3px); }

.vx-hero-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.vx-hero-card-top strong {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}
.vx-signature-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(26,111,245,.3);
  border: 1px solid rgba(26,111,245,.4);
  color: #93C5FD;
  font-size: 10px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
}

.vx-hero-card p { color: rgba(255,255,255,.64); font-size: 13px; line-height: 1.7; }

.vx-hero-points {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.vx-hero-points span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.82);
  font-size: 11px;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 999px;
}

.vx-hero-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.vx-hero-mini {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 18px;
  padding: 16px;
  backdrop-filter: blur(8px);
}
.vx-hero-mini strong { display: block; color: #fff; font-size: 13px; margin-bottom: 4px; }
.vx-hero-mini span { color: rgba(255,255,255,.5); font-size: 11px; line-height: 1.5; }

/* Mobile pets (hidden on desktop) */
.vx-mobile-pets { display: none; margin: 0 0 20px; }
.vx-mobile-stage { position: relative; min-height: 200px; }
.vx-mobile-hero-card {
  position: relative;
  min-height: 196px;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(135deg, #071224, #0C2450);
  box-shadow: 0 24px 50px rgba(15,23,42,.18);
}
.vx-mobile-hero-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,18,37,.08) 0%, rgba(7,18,37,.72) 100%);
}
.vx-mobile-chip {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.24);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  backdrop-filter: blur(8px);
}
.vx-mobile-overlay {
  position: absolute;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 2;
  color: #fff;
}
.vx-mobile-overlay strong { display: block; font-size: 22px; font-weight: 800; margin-bottom: 6px; }
.vx-mobile-overlay span { display: block; font-size: 12px; color: rgba(255,255,255,.82); }
.vx-mobile-floating { position: absolute; z-index: 3; border-radius: 22px; box-shadow: 0 18px 40px rgba(15,23,42,.16); }
.vx-float-stat {
  left: 14px; bottom: -16px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
}
.vx-float-stat i {
  width: 36px; height: 36px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--grad);
  color: #fff;
  font-size: 14px;
}
.vx-float-stat strong { display: block; font-size: 12px; color: var(--ink); }
.vx-float-stat span { display: block; font-size: 11px; color: var(--ink4); }

/* Right panel — form */
.vx-right {
  background: var(--bg2);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 32px;
}

[data-theme="dark"] .vx-right {
  background: var(--bg);
}

.vx-form-box {
  width: 100%;
  max-width: 450px;
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--r-2xl);
  box-shadow: var(--shadow-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.vx-form-box::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--grad);
  border-radius: var(--r-2xl) var(--r-2xl) 0 0;
}

.vx-form-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
}
.vx-form-logo img { height: 28px; width: auto; }
.vx-form-logo-t {
  font-family: 'Syne', sans-serif;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 4px;
  color: var(--ink);
}

.vx-form-intro { margin-bottom: 20px; }
.vx-form-intro strong { display: block; font-size: 20px; font-weight: 800; color: var(--ink); margin-bottom: 4px; }
.vx-form-intro span { font-size: 13px; color: var(--ink4); line-height: 1.5; }

/* Tabs */
.vx-tabs {
  display: flex;
  gap: 6px;
  padding: 5px;
  background: var(--bg3);
  border-radius: var(--r-md);
  margin-bottom: 22px;
}
.vx-tab {
  flex: 1;
  padding: 11px 10px;
  background: transparent;
  border: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink4);
  cursor: pointer;
  border-radius: var(--r);
  transition: all var(--t) var(--ease);
}
.vx-tab.active {
  color: var(--blue);
  background: var(--card);
  box-shadow: var(--shadow-sm);
  font-weight: 700;
}

/* Alert */
.vx-alert { display: none; padding: 11px 13px; border-radius: var(--r); font-size: 12.5px; font-weight: 500; margin-bottom: 14px; }
.vx-alert.error   { display: block; background: var(--red-l);   color: var(--red);   border: 1px solid var(--red-b); }
.vx-alert.success { display: block; background: var(--green-l); color: var(--green); border: 1px solid var(--green-b); }

/* Panel */
.vx-panel { display: none; }
.vx-panel.vx-active { display: block; animation: panel-in .22s var(--ease); }
@keyframes panel-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}

.vx-panel-head { margin-bottom: 16px; }
.vx-panel-head strong { display: block; font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 3px; }
.vx-panel-head span { font-size: 12px; color: var(--ink4); }

/* Fields */
.vx-field { margin-bottom: 14px; }
.vx-lbl { display: block; font-size: 11.5px; font-weight: 600; color: var(--ink3); margin-bottom: 6px; letter-spacing: .2px; }

.vx-inp {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  font-size: 14px;
  color: var(--ink);
  background: var(--bg2);
  transition: border-color var(--t), box-shadow var(--t), background var(--t);
  outline: none;
}
.vx-inp:focus {
  border-color: var(--blue);
  background: var(--card);
  box-shadow: 0 0 0 4px rgba(26,111,245,.1);
}
.vx-inp::placeholder { color: var(--ink5); }

[data-theme="dark"] .vx-inp {
  background: var(--bg3);
  border-color: rgba(255,255,255,.1);
}
[data-theme="dark"] .vx-inp:focus {
  background: var(--card2);
  border-color: var(--blue);
}

.vx-pw-wrap { position: relative; }
.vx-pw-wrap .vx-inp { padding-right: 42px; }
.vx-eye {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
  color: var(--ink4);
  padding: 4px;
  border-radius: 8px;
  transition: color var(--t);
}
.vx-eye:hover { color: var(--blue); }

/* Password strength */
.vx-str { display: flex; align-items: center; gap: 8px; margin-top: 7px; }
.vx-str-bar { flex: 1; height: 3px; background: var(--bg3); border-radius: 999px; overflow: hidden; }
.vx-str-fill { height: 100%; border-radius: 999px; transition: width .3s, background .3s; width: 0; }
.vx-str-lbl { font-size: 10px; font-weight: 700; color: var(--ink4); min-width: 50px; }

/* Checkbox */
.vx-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--ink3);
  margin-bottom: 16px;
  cursor: pointer;
}
.vx-check input { accent-color: var(--blue); width: 15px; height: 15px; flex-shrink: 0; }

/* Button */
.vx-btn {
  width: 100%;
  padding: 14px;
  background: var(--grad);
  color: #fff;
  border: none;
  border-radius: var(--r-md);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: .2px;
  box-shadow: var(--shadow-blue);
  transition: opacity var(--t), transform var(--t) var(--ease), box-shadow var(--t);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}
.vx-btn:hover { opacity: .94; transform: translateY(-2px); box-shadow: 0 12px 32px rgba(26,111,245,.3); }
.vx-btn:active { transform: translateY(0); }
.vx-btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }

.vx-forgot { font-size: 11.5px; color: var(--blue); font-weight: 600; }
.vx-forgot:hover { text-decoration: underline; }

/* Clinic CTA */
.vx-clinic-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bg3);
  border-radius: var(--r-lg);
  font-size: 12px;
  border: 1px solid var(--border);
  margin-top: 14px;
}
.vx-clinic-cta > span {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--card);
  color: var(--blue);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}
.vx-clinic-cta strong { display: block; font-weight: 700; color: var(--ink); font-size: 13px; }
.vx-clinic-cta > div > span { display: block; color: var(--ink4); font-size: 11px; margin-top: 1px; }
.vx-clinic-cta a {
  margin-left: auto;
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--blue);
}

/* ── AUTH RESPONSIVE ─── */
@media (max-width: 860px) {
  .vx-auth { grid-template-columns: 1fr; }
  .vx-left { display: none; }
  .vx-mobile-pets { display: block; }
  .vx-right { padding: 24px 16px; }
  .vx-form-box { padding: 24px 20px; }
}

/* ══════════════════════════════════════════════════════════════
   DASHBOARD LAYOUT
   ══════════════════════════════════════════════════════════════ */
body.dash-body {
  background: var(--bg);
}

.ds {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px 60px;
}

/* ── TOPBAR ── */
.ds-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  margin: 14px 0 20px;
  border-radius: var(--r-xl);
  background: var(--card);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
  gap: 12px;
  position: sticky;
  top: 10px;
  z-index: 100;
  backdrop-filter: blur(16px);
}

[data-theme="dark"] .ds-top {
  background: rgba(22,27,42,.85);
}

.ds-top-l { display: flex; align-items: center; gap: 12px; min-width: 0; }
.ds-top-brand img { height: 24px; }
.ds-top-sep { width: 1px; height: 20px; background: var(--border); }
.ds-top-name { font-size: 14px; font-weight: 700; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 200px; }
.ds-top-sub { font-size: 11px; color: var(--ink4); white-space: nowrap; }
.ds-top-r { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

/* Avatar */
.ds-av {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--grad);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.ds-av img { width: 100%; height: 100%; object-fit: cover; }

.ds-top-premium {
  position: sticky;
  top: 10px;
  z-index: 100;
  padding: 13px 20px;
  margin: 14px 0 20px;
  border-radius: var(--r-xl);
  background: var(--card);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(16px);
}

[data-theme="dark"] .ds-top-premium {
  background: rgba(22,27,42,.85);
}

/* ── TABS ── */
.ds-tabs {
  display: flex;
  gap: 4px;
  padding: 6px;
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  margin-bottom: 22px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  box-shadow: var(--shadow-sm);
}
.ds-tabs::-webkit-scrollbar { display: none; }

.ds-tab {
  padding: 9px 15px;
  background: none;
  border: none;
  border-radius: var(--r-lg);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink4);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--t) var(--ease);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.ds-tab.active {
  color: var(--blue);
  background: var(--blue-ll);
  font-weight: 700;
}
.ds-tab:hover:not(.active) { color: var(--ink2); background: var(--bg3); }

.ds-cnt {
  background: var(--red);
  color: #fff;
  border-radius: 10px;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  min-width: 17px;
  text-align: center;
}

/* ── PANELS ── */
.ds-panel { display: none; }
.ds-panel.active { display: block; animation: panel-in .2s var(--ease); }

/* ── CARDS ── */
.ds-card {
  background: var(--card);
  border-radius: var(--r-xl);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--border);
  margin-bottom: 14px;
  transition: box-shadow var(--t);
}
.ds-card:hover { box-shadow: var(--shadow); }

.ds-card-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--ink5);
  margin-bottom: 14px;
}

/* ── STATS ── */
.ds-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 22px;
}
.ds-stat {
  background: var(--card);
  border-radius: var(--r-xl);
  padding: 18px 20px;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: transform var(--t) var(--ease), box-shadow var(--t);
}
.ds-stat:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.ds-stat::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
}
.ds-stat-blue::before  { background: var(--blue); }
.ds-stat-teal::before  { background: var(--teal); }
.ds-stat-amber::before { background: var(--amber); }
.ds-stat-green::before { background: var(--green); }
.ds-stat-n { font-size: 28px; font-weight: 800; color: var(--ink); line-height: 1; margin-bottom: 5px; }
.ds-stat-l { font-size: 11px; font-weight: 600; color: var(--ink4); text-transform: uppercase; letter-spacing: .5px; }

/* ── FORMS ── */
.ds-f  { display: flex; flex-direction: column; gap: 12px; }
.ds-fl { font-size: 11.5px; font-weight: 600; color: var(--ink3); margin-bottom: 4px; }
.ds-fi {
  width: 100%;
  padding: 10px 13px;
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  font-size: 13px;
  color: var(--ink);
  background: var(--bg2);
  outline: none;
  transition: border-color var(--t), box-shadow var(--t);
}
.ds-fi:focus {
  border-color: var(--blue);
  background: var(--card);
  box-shadow: 0 0 0 3px rgba(26,111,245,.09);
}
.ds-fi::placeholder { color: var(--ink5); }
[data-theme="dark"] .ds-fi { background: var(--bg3); border-color: rgba(255,255,255,.1); }
[data-theme="dark"] .ds-fi:focus { background: var(--card2); }

.ds-ta { min-height: 80px; }
.ds-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ds-grid3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.ds-fa { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

/* ── BUTTONS ── */
.ds-btn-pri {
  padding: 9px 18px;
  background: var(--grad);
  color: #fff;
  border: none;
  border-radius: var(--r);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity var(--t), transform var(--t) var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 4px 14px rgba(26,111,245,.22);
}
.ds-btn-pri:hover { opacity: .9; transform: translateY(-1px); }

.ds-btn-ghost {
  padding: 9px 16px;
  background: none;
  color: var(--ink3);
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--t);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.ds-btn-ghost:hover { border-color: var(--blue); color: var(--blue); }

.ds-btn-sm {
  padding: 6px 12px;
  border: none;
  border-radius: var(--r-sm);
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity var(--t), transform var(--t) var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.ds-btn-sm:hover { opacity: .82; transform: translateY(-1px); }
.ds-btn-blue   { background: var(--blue-ll); color: var(--blue); }
.ds-btn-teal   { background: rgba(13,184,203,.1); color: var(--teal-d); }
.ds-btn-green  { background: var(--green-l); color: var(--green); }
.ds-btn-amber  { background: var(--amber-l); color: var(--amber); }
.ds-btn-danger { background: var(--red-l); color: var(--red); }

/* ── PILLS ── */
.ds-pill { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; font-size: 10.5px; font-weight: 700; white-space: nowrap; }
.ds-pill-blue  { background: var(--blue-ll); color: var(--blue); }
.ds-pill-teal  { background: rgba(13,184,203,.1); color: var(--teal-d); }
.ds-pill-green { background: var(--green-l); color: var(--green); }
.ds-pill-amber { background: var(--amber-l); color: var(--amber); }
.ds-pill-gray  { background: var(--bg3); color: var(--ink4); }
.ds-pill-red   { background: var(--red-l); color: var(--red); }

/* ── PANEL HEADER ── */
.ds-ph {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.ds-ptitle { font-size: 16px; font-weight: 800; color: var(--ink); }

/* ── EMPTY STATE ── */
.ds-empty { text-align: center; padding: 52px 20px; color: var(--ink4); }
.ds-empty-ic { font-size: 42px; display: block; margin-bottom: 14px; }
.ds-empty h3 { font-size: 16px; font-weight: 700; color: var(--ink3); margin-bottom: 6px; }
.ds-empty p { font-size: 13px; }

/* Loading */
.ds-loading { text-align: center; padding: 28px; color: var(--ink4); font-size: 13px; }

/* ── MODAL ── */
.modal-ov {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 16px;
  backdrop-filter: blur(4px);
}
.modal-ov.open { display: flex; }

.modal-box {
  background: var(--card);
  border-radius: var(--r-xl);
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  border: 1.5px solid var(--border);
  animation: modal-in .2s var(--ease);
}
.modal-lg { max-width: 720px; }
@keyframes modal-in {
  from { opacity: 0; transform: scale(.96) translateY(10px); }
  to   { opacity: 1; transform: none; }
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
}
.modal-head h3 { font-size: 15px; font-weight: 700; color: var(--ink); }
.modal-x {
  background: var(--bg3);
  border: none;
  font-size: 15px;
  color: var(--ink4);
  cursor: pointer;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t);
}
.modal-x:hover { background: var(--red-l); color: var(--red); }
.modal-body { padding: 20px; }

/* ── TOAST ── */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--ink2);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--r-lg);
  font-size: 13.5px;
  font-weight: 500;
  z-index: 9999;
  box-shadow: var(--shadow-lg);
  animation: toast-in .22s var(--ease);
  max-width: 340px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.toast.success { background: var(--green); }
.toast.error   { background: var(--red); }
@keyframes toast-in { from { opacity: 0; transform: translateY(14px) scale(.96); } }

/* ── CHAT ── */
.chat-wrap { display: grid; grid-template-columns: 250px 1fr; gap: 14px; height: 540px; }
.chat-sidebar {
  background: var(--card);
  border-radius: var(--r-xl);
  border: 1.5px solid var(--border);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.chat-sidebar-hd {
  padding: 14px 16px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--ink5);
  border-bottom: 1px solid var(--border);
}
.chat-conv-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  cursor: pointer;
  border-bottom: 1px solid var(--border2);
  transition: background var(--t);
}
.chat-conv-item:hover, .chat-conv-item.active {
  background: var(--blue-ll);
}
.chat-conv-av {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--blue-ll);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  color: var(--blue);
}
.chat-conv-name { font-size: 13px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-conv-last { font-size: 11px; color: var(--ink4); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 1px; }

.chat-main {
  background: var(--card);
  border-radius: var(--r-xl);
  border: 1.5px solid var(--border);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.chat-main-hd {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  font-size: 13.5px;
  font-weight: 700;
  background: var(--card);
}
.chat-msgs {
  flex: 1;
  overflow-y: auto;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--bg);
}
.chat-msg { display: flex; flex-direction: column; max-width: 72%; }
.chat-msg.me   { align-self: flex-end; align-items: flex-end; }
.chat-msg.them { align-self: flex-start; align-items: flex-start; }
.chat-bubble {
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 13.5px;
  line-height: 1.5;
  word-break: break-word;
}
.chat-msg.me   .chat-bubble { background: var(--blue); color: #fff; border-radius: 16px 16px 4px 16px; }
.chat-msg.them .chat-bubble { background: var(--card); color: var(--ink); border: 1px solid var(--border); border-radius: 16px 16px 16px 4px; }
.chat-meta { font-size: 10px; color: var(--ink5); margin-top: 3px; padding: 0 2px; }
.chat-input-wrap {
  padding: 12px 14px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 8px;
  background: var(--card);
}
.chat-input-wrap input {
  flex: 1;
  padding: 10px 13px;
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  font-size: 13px;
  outline: none;
  background: var(--bg2);
  color: var(--ink);
  transition: border-color var(--t);
}
.chat-input-wrap input:focus { border-color: var(--blue); background: var(--card); }
.chat-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; color: var(--ink4); font-size: 13px; gap: 10px; }
.chat-empty-ic { font-size: 40px; }

/* ── OWNER DASHBOARD SPECIFIC ── */
body.dash-body { background: var(--bg); }

body.dash-body .ds { max-width: 1340px; padding-top: 0; }

/* Hero banner */
.ow-hero {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 20px;
  align-items: center;
  padding: 30px 32px;
  border-radius: var(--r-2xl);
  background: linear-gradient(135deg, #1A6FF5 0%, #0DB8CB 100%);
  color: #fff;
  margin-bottom: 22px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(26,111,245,.22);
}

.ow-hero::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  pointer-events: none;
}
.ow-hero::after {
  content: "";
  position: absolute;
  bottom: -80px;
  left: 40%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
  pointer-events: none;
}

.ow-hero-main { position: relative; z-index: 1; }
.ow-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.22);
  color: rgba(255,255,255,.9);
  font-size: 11px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
  letter-spacing: .4px;
}
.ow-hero h1 {
  font-family: 'Syne', sans-serif;
  font-size: 36px;
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1.1;
  margin-bottom: 10px;
}
.ow-hero p { color: rgba(255,255,255,.78); font-size: 14.5px; line-height: 1.65; margin-bottom: 18px; }

.ow-hero-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.ow-hero-pills span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.9);
  font-size: 11.5px;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 999px;
}

.ow-hero-side { position: relative; z-index: 1; }

.ow-hero-card {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--r-xl);
  padding: 22px;
  backdrop-filter: blur(10px);
}
.ow-hero-stat { margin-bottom: 16px; }
.ow-hero-stat strong { display: block; font-size: 38px; font-weight: 900; line-height: 1; margin-bottom: 4px; }
.ow-hero-stat span { font-size: 12px; color: rgba(255,255,255,.7); }
.ow-hero-actions { display: flex; flex-direction: column; gap: 8px; }

/* Tabs - premium */
body.dash-body .ds-tabs {
  gap: 4px;
  padding: 6px;
  border-radius: var(--r-xl);
  background: var(--card);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
}
body.dash-body .ds-tab {
  border: none;
  margin-bottom: 0;
  padding: 10px 16px;
  border-radius: var(--r-lg);
  font-weight: 600;
  font-size: 12.5px;
}
body.dash-body .ds-tab.active {
  color: #fff;
  background: var(--grad);
  box-shadow: 0 8px 20px rgba(26,111,245,.22);
  font-weight: 700;
}
body.dash-body .ds-tab:hover:not(.active) { background: var(--bg3); }

/* Premium topbar */
body.dash-body .ds-top-premium {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 20px;
  margin: 14px 0 20px;
  border-radius: var(--r-xl);
  background: var(--card);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
  gap: 12px;
  position: sticky;
  top: 10px;
  z-index: 100;
  backdrop-filter: blur(16px);
}
[data-theme="dark"] body.dash-body .ds-top-premium {
  background: rgba(22,27,42,.88);
}

/* Lux cards */
body.dash-body .ds-card,
body.dash-body .ow-lux-card,
body.dash-body .ow-hero-card,
body.dash-body .ds-stat {
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--t), transform var(--t) var(--ease);
}
body.dash-body .ds-card:hover { box-shadow: var(--shadow); }

body.dash-body .ow-lux-card { border-radius: var(--r-xl); }

/* ── OVERVIEW / SPOTLIGHT ── */
.ow-overview-shell { margin-bottom: 22px; }
.ow-overview-head {
  margin-bottom: 16px;
}
.ow-overview-head h2 {
  font-family: 'Syne', sans-serif;
  font-size: 24px;
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 2px;
}
.ow-overview-head p { font-size: 13px; color: var(--ink4); }
.ow-overview-kicker {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 4px;
  display: block;
}

.ow-spotlight-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.ow-spotlight-card {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: transform var(--t) var(--ease), box-shadow var(--t);
  cursor: default;
}
.ow-spotlight-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.ow-spotlight-card span { font-size: 11px; font-weight: 600; color: var(--ink5); text-transform: uppercase; letter-spacing: .5px; display: block; margin-bottom: 8px; }
.ow-spotlight-card strong { display: block; font-size: 38px; font-weight: 900; color: var(--ink); line-height: 1; margin-bottom: 4px; }
.ow-spotlight-card em { display: block; font-style: normal; font-size: 12px; color: var(--ink4); }

.ow-spotlight-card::after {
  content: "";
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--grad);
  opacity: .06;
}

/* Action buttons */
.ow-lux-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}
.ow-lux-head h3 {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 900;
  color: var(--ink);
}

.ow-action-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.ow-action-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 20px;
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  cursor: pointer;
  transition: all var(--t) var(--ease);
  text-align: left;
  box-shadow: var(--shadow-sm);
}
.ow-action-btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--blue); }

.ow-action-btn i {
  font-size: 22px;
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-ll);
  color: var(--blue);
  transition: all var(--t);
}
.ow-action-btn:hover i { background: var(--grad); color: #fff; }
.ow-action-btn strong { font-size: 14px; font-weight: 700; color: var(--ink); }
.ow-action-btn span { font-size: 11.5px; color: var(--ink4); line-height: 1.5; }

/* Timeline */
.ds-timeline { display: flex; flex-direction: column; }
.ds-tl-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border2);
}
.ds-tl-item:last-child { border-bottom: none; }
.ds-tl-ic {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  background: var(--blue-ll);
  color: var(--blue);
}
.ds-tl-body { flex: 1; min-width: 0; }
.ds-tl-body p { font-size: 13px; color: var(--ink2); margin-bottom: 2px; line-height: 1.5; }
.ds-tl-body time { font-size: 11px; color: var(--ink5); }

/* Upcoming appointments */
.ds-upcoming {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border2);
  transition: background var(--t);
}
.ds-upcoming:last-child { border-bottom: none; }
.ds-up-date {
  width: 44px;
  text-align: center;
  background: var(--blue-ll);
  border-radius: var(--r);
  padding: 7px 5px;
  flex-shrink: 0;
}
.ds-up-day { font-size: 20px; font-weight: 900; color: var(--blue); line-height: 1; }
.ds-up-mon { font-size: 9px; font-weight: 700; text-transform: uppercase; color: var(--blue); letter-spacing: .5px; }
.ds-up-pet { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.ds-up-clinic { font-size: 11.5px; color: var(--ink4); }

/* Member card */
.ds-member-card {
  background: var(--grad);
  border-radius: var(--r-xl);
  padding: 24px;
  position: relative;
  overflow: hidden;
  color: #fff;
  box-shadow: var(--shadow-blue);
}
.ds-mc-shine {
  position: absolute;
  top: -50px; right: -50px;
  width: 180px; height: 180px;
  background: rgba(255,255,255,.07);
  border-radius: 50%;
}
.ds-mc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.ds-mc-logo { display: flex; align-items: center; gap: 8px; }
.ds-mc-logo img { height: 14px; filter: brightness(0) invert(1); }
.ds-mc-logo-text { font-family: 'Syne', sans-serif; font-size: 14px; font-weight: 900; letter-spacing: 4px; }
.ds-mc-badge { font-size: 10px; font-weight: 700; background: rgba(255,255,255,.2); padding: 4px 10px; border-radius: 999px; }
.ds-mc-bot { display: flex; gap: 28px; }
.ds-mc-lbl { font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; opacity: .6; margin-bottom: 3px; }
.ds-mc-val { font-size: 13.5px; font-weight: 700; }

/* ── PET CARDS ── */
.ds-pets { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; margin-bottom: 14px; }
.vpc {
  background: var(--card);
  border-radius: var(--r-xl);
  padding: 18px;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t) var(--ease), box-shadow var(--t);
}
.vpc:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.vpc-body { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.vpc-av {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--blue-ll);
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--blue-l);
}
.vpc-av img { width: 100%; height: 100%; object-fit: cover; }
.vpc-name { font-size: 15px; font-weight: 800; color: var(--ink); margin-bottom: 2px; }
.vpc-meta { font-size: 11.5px; color: var(--ink4); }
.vpc-age { font-weight: 700; color: var(--teal-d); }
.vpc-acts { display: flex; gap: 6px; flex-wrap: wrap; }
.vpc-b {
  flex: 1;
  min-width: 70px;
  padding: 7px 10px;
  border-radius: var(--r-sm);
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: opacity var(--t);
  text-decoration: none;
}
.vpc-b:hover { opacity: .82; }
.vpc-b-blue { background: var(--blue-ll); color: var(--blue); }
.vpc-b-teal { background: rgba(13,184,203,.1); color: var(--teal-d); }
.vpc-b-red  { background: var(--red-l); color: var(--red); max-width: 38px; min-width: unset; flex: none; }

/* ── VET GRID ── */
.vet-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.vet-card {
  background: var(--card);
  border-radius: var(--r-xl);
  padding: 16px;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: var(--shadow-sm);
}
.vet-card-l { display: flex; align-items: center; gap: 12px; min-width: 0; }
.vet-av {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--grad);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.vet-av img { width: 100%; height: 100%; object-fit: cover; }
.vet-pname { font-size: 13.5px; font-weight: 700; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vet-pmeta { font-size: 11.5px; color: var(--ink4); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.vet-btn {
  padding: 6px 13px;
  border-radius: var(--r-sm);
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid var(--border);
  background: none;
  color: var(--ink3);
  transition: all var(--t);
  white-space: nowrap;
}
.vet-btn:hover { border-color: var(--blue); color: var(--blue); }
.vet-btn-pri { background: var(--blue-ll); color: var(--blue); border-color: transparent; }

/* ── ACCESS CARDS ── */
.ds-acc-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: var(--card);
  border-radius: var(--r-xl);
  border: 1.5px solid var(--border);
  margin-bottom: 10px;
  box-shadow: var(--shadow-sm);
}
.ds-acc-pending { border-left: 3px solid var(--amber); }
.ds-acc-info { flex: 1; min-width: 0; }
.ds-acc-info strong { display: block; font-size: 13.5px; font-weight: 700; }
.ds-acc-info span { font-size: 12px; color: var(--ink4); }

/* ── PROFILE ── */
.ds-prof-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ds-prof-hero { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.ds-prof-av-wrap { position: relative; }
.ds-prof-av {
  width: 66px;
  height: 66px;
  border-radius: 18px;
  background: var(--grad);
  color: #fff;
  font-size: 26px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.ds-prof-av img { width: 100%; height: 100%; object-fit: cover; }
.ds-prof-av-btn {
  position: absolute;
  bottom: -4px; right: -4px;
  width: 22px; height: 22px;
  background: var(--blue);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  border: 2px solid var(--card);
}
.ds-prof-info h3 { font-size: 16px; font-weight: 800; margin-bottom: 2px; }
.ds-prof-info p { font-size: 12.5px; color: var(--ink4); margin-bottom: 5px; }
.ds-role-badge { display: inline-flex; padding: 3px 10px; background: var(--blue-ll); color: var(--blue); border-radius: 999px; font-size: 10.5px; font-weight: 700; }
.ds-logout { margin-left: auto; font-size: 12px; color: var(--red); font-weight: 600; border: 1.5px solid var(--red); padding: 6px 13px; border-radius: var(--r); }

/* ── TABLE ── */
.adm-tw { overflow-x: auto; border-radius: var(--r-xl); }
.adm-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.adm-table th {
  background: var(--bg3);
  padding: 10px 14px;
  text-align: left;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--ink4);
  position: sticky;
  top: 0;
}
.adm-table td { padding: 10px 14px; border-bottom: 1px solid var(--border2); vertical-align: middle; }
.adm-table tr:last-child td { border-bottom: none; }
.adm-table tr:hover td { background: var(--bg); }
.adm-chart-wrap { height: 200px; position: relative; }

/* ── FORMS ADDFORM ── */
.ds-addform {
  background: var(--bg3);
  border-radius: var(--r-xl);
  padding: 18px;
  border: 1.5px solid var(--border);
  margin-bottom: 16px;
}
.ds-addform h3 { font-size: 14px; font-weight: 700; margin-bottom: 14px; color: var(--ink); }

/* Premium plan */
.ds-sub { border-radius: var(--r-xl); padding: 22px; }
.ds-sub-premium { background: var(--grad); color: #fff; box-shadow: var(--shadow-blue); }
.ds-sub-badge { font-size: 10px; font-weight: 700; letter-spacing: 1px; opacity: .7; margin-bottom: 6px; }
.ds-sub h3 { font-size: 17px; font-weight: 800; margin-bottom: 16px; }
.ds-sub-row { display: flex; gap: 26px; flex-wrap: wrap; }
.ds-sub-row > div span { display: block; font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .7px; opacity: .65; margin-bottom: 2px; }
.ds-sub-row > div strong { font-size: 14px; font-weight: 700; }

/* ── CLINIC VIEW ── */
.clin-cover {
  position: relative;
  height: 240px;
  background: var(--grad);
  background-size: cover;
  background-position: center;
  border-radius: var(--r-xl);
  margin-bottom: 20px;
  overflow: hidden;
}
.clin-cover-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.72), rgba(0,0,0,.12)); }
.clin-cover-content { position: relative; z-index: 1; display: flex; align-items: flex-end; gap: 16px; padding: 22px; height: 100%; }
.clin-av {
  width: 58px; height: 58px;
  background: rgba(255,255,255,.15);
  border: 2px solid rgba(255,255,255,.4);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  flex-shrink: 0;
}
.clin-name { font-size: 24px; font-weight: 900; color: #fff; margin-bottom: 4px; }
.clin-city { font-size: 12.5px; color: rgba(255,255,255,.72); }
.clin-body { display: grid; grid-template-columns: 270px 1fr; gap: 16px; }
.clin-info-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--border2); font-size: 13.5px; }
.clin-info-row a { color: var(--blue); }
.clin-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; }
.clin-gallery-item { border-radius: var(--r); overflow: hidden; cursor: pointer; aspect-ratio: 1; }
.clin-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t); }
.clin-gallery-item:hover img { transform: scale(1.06); }
.clin-service-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.clin-service-pill {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--blue-ll);
  color: var(--blue);
  font-size: 12px;
  font-weight: 600;
}
.clin-spotlight-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}
.clin-spotlight-card {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  padding: 18px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.clin-spotlight-card span { font-size: 11px; color: var(--ink4); font-weight: 600; display: block; margin-bottom: 6px; }
.clin-spotlight-card strong { font-size: 18px; font-weight: 800; color: var(--ink); }
.clin-team-list { display: grid; gap: 10px; }

.clin-cover-premium { }
.clin-cover-copy { flex: 1; }
.clin-kicker {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  margin-bottom: 4px;
}
.clin-cover-sub { color: rgba(255,255,255,.7); font-size: 13px; line-height: 1.6; margin-top: 6px; }
.clin-cover-actions { display: flex; gap: 8px; align-items: center; margin-top: 14px; flex-wrap: wrap; }

.ds-back { font-size: 13px; font-weight: 600; color: var(--blue); display: flex; align-items: center; gap: 5px; }
.clin-lux-card { border-radius: var(--r-xl); }

/* ══════════════════════════════════════════════════════════════
   COMMUNITY SECTION — REDESIGNED
   ══════════════════════════════════════════════════════════════ */
.community-shell {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.community-hero {
  display: grid;
  grid-template-columns: 1fr 280px;
  align-items: stretch;
  gap: 16px;
  padding: 28px 30px;
  border-radius: var(--r-2xl);
  background: linear-gradient(135deg, #071224 0%, #0C2450 48%, #11698F 100%);
  color: #fff;
  box-shadow: 0 24px 50px rgba(7,18,36,.18);
  position: relative;
  overflow: hidden;
}

.community-hero::before {
  content: "";
  position: absolute;
  top: -80px; right: -80px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: rgba(26,111,245,.15);
  filter: blur(60px);
  pointer-events: none;
}

.community-hero-copy { display: grid; align-content: center; position: relative; z-index: 1; }

.community-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border-radius: 999px;
  margin-bottom: 14px;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.14);
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: rgba(255,255,255,.82);
  width: fit-content;
}

.community-hero h2 {
  font-family: 'Syne', sans-serif;
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -.04em;
  margin-bottom: 10px;
  line-height: 1.1;
}

.community-hero p {
  max-width: 560px;
  color: rgba(255,255,255,.68);
  line-height: 1.7;
  font-size: 14px;
}

.community-hero-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.community-hero-pills span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.11);
  font-size: 11.5px;
  font-weight: 600;
}

.community-hero-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.community-hero-stats div {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px;
  padding: 16px 18px;
  backdrop-filter: blur(10px);
  transition: background var(--t);
}
.community-hero-stats div:hover { background: rgba(255,255,255,.1); }
.community-hero-stats strong { display: block; font-size: 28px; font-weight: 900; line-height: 1; margin-bottom: 3px; }
.community-hero-stats span { font-size: 11.5px; color: rgba(255,255,255,.6); }

/* Community app */
.community-phone-stage,
.community-creators-strip,
.community-layout,
.community-side {
  display: none !important;
}

.community-app {
  display: grid;
  gap: 16px;
  max-width: 820px;
  margin: 0 auto;
  width: 100%;
}

/* Community cards */
.community-card {
  padding: 22px;
  border-radius: var(--r-xl);
  border: 1.5px solid var(--border);
  background: var(--card);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--t);
}
.community-card:hover { box-shadow: var(--shadow); }

.community-stories-card,
.community-composer-card { position: relative; overflow: hidden; }

.community-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}
.community-card-head h3 {
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
}

/* Stories rail */
.community-stories-rail {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.community-stories-rail::-webkit-scrollbar { display: none; }

.community-stories-rail .community-story {
  min-width: 100px;
  max-width: 100px;
  min-height: 0;
  padding: 8px;
  border-radius: 20px;
  background: var(--bg3);
  border: 1.5px solid var(--border);
  justify-items: center;
  text-align: center;
  gap: 8px;
  display: grid;
  transition: transform var(--t) var(--ease), border-color var(--t);
  cursor: pointer;
}
.community-stories-rail .community-story:hover { transform: translateY(-2px); border-color: var(--blue); }
.community-stories-rail .community-story strong { font-size: 11.5px; color: var(--ink2); }
.community-stories-rail .community-story span { font-size: 10px; color: var(--ink4); line-height: 1.4; }
.community-stories-rail .community-story.add-story .community-avatar.story {
  box-shadow: inset 0 0 0 2px var(--border);
}
.community-stories-rail .community-story.is-me {
  background: var(--blue-ll);
  border-color: var(--blue-l);
}

/* Avatar */
.community-profile-top,
.community-person,
.community-composer-head,
.community-post-head { display: flex; align-items: center; gap: 12px; }

.community-avatar {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: var(--grad);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-size: 18px;
  font-weight: 800;
  flex: 0 0 46px;
}
.community-avatar img { width: 100%; height: 100%; object-fit: cover; }

.community-avatar.lg {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  flex-basis: 64px;
}
.community-avatar.story {
  width: 60px;
  height: 60px;
  flex-basis: 60px;
  border-radius: 20px;
  box-shadow: 0 0 0 3px var(--blue-ll), 0 0 0 5px var(--blue-l);
}
.community-avatar.xl {
  width: 74px;
  height: 74px;
  border-radius: 24px;
  flex-basis: 74px;
}

.community-profile-top strong,
.community-person strong,
.community-composer-head strong,
.community-post-meta strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}
.community-profile-top span,
.community-person span,
.community-composer-head span,
.community-post-meta span {
  display: block;
  font-size: 11.5px;
  color: var(--ink4);
}

.community-profile-bio,
.community-post-author-bio {
  margin: 10px 0 0;
  color: var(--ink3);
  line-height: 1.7;
  font-size: 13px;
}

/* Mini stats */
.community-mini-stats { display: grid; gap: 8px; margin: 16px 0; }
.community-mini-stats span {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: var(--r-lg);
  background: var(--bg3);
  color: var(--ink2);
  font-weight: 600;
  font-size: 13px;
  border: 1px solid var(--border2);
}

.community-full-btn { width: 100%; }

/* Tags */
.community-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.community-tag {
  border: 1.5px solid var(--border);
  cursor: pointer;
  padding: 8px 13px;
  border-radius: 999px;
  background: var(--card);
  color: var(--ink3);
  font-weight: 600;
  font-size: 12px;
  transition: all var(--t);
}
.community-tag:hover { background: var(--blue-ll); color: var(--blue); border-color: var(--blue-l); }
.community-tag em { font-style: normal; opacity: .6; }
.community-tag.static { cursor: default; }

/* People list */
.community-people { display: grid; gap: 10px; }
.community-person { padding: 10px 0; border-bottom: 1px solid var(--border2); }
.community-person:last-child { border-bottom: none; }
.community-person-actions { margin-left: auto; display: flex; gap: 6px; flex-wrap: wrap; }

/* Story form */
.community-story-form { display: flex; gap: 10px; margin-bottom: 16px; }
.community-story-form .ds-fi { flex: 1; }

.community-stories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
}
.community-story {
  border: 1.5px solid var(--border);
  cursor: pointer;
  text-align: left;
  padding: 14px;
  border-radius: 20px;
  background: var(--bg3);
  display: grid;
  gap: 8px;
  min-height: 170px;
  transition: all var(--t) var(--ease);
}
.community-story:hover { transform: translateY(-2px); border-color: var(--blue); box-shadow: var(--shadow-sm); }
.community-story.is-me { background: var(--blue-ll); border-color: var(--blue-l); }
.community-story strong { font-size: 13px; color: var(--ink2); }
.community-story span { font-size: 11px; color: var(--ink4); line-height: 1.5; }

/* Composer */
.community-composer { display: grid; gap: 12px; }
.community-composer textarea {
  min-height: 110px;
  border-radius: 18px;
  padding: 15px 17px;
}
.community-composer-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.community-upload {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--blue-ll);
  color: var(--blue);
  font-weight: 700;
  cursor: pointer;
  font-size: 12.5px;
  transition: all var(--t);
}
.community-upload:hover { background: var(--blue); color: #fff; }

.community-hints { display: flex; gap: 7px; flex-wrap: wrap; flex: 1; }

.community-chip {
  border: 1.5px solid var(--border);
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--bg3);
  color: var(--ink3);
  font-weight: 600;
  font-size: 12px;
  transition: all var(--t);
}
.community-chip:hover { background: var(--blue-ll); color: var(--blue); border-color: var(--blue-l); }
.community-upload-name { font-size: 11.5px; color: var(--ink4); }

/* Search row */
.community-search-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.community-search-input {
  flex: 1;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink);
  background: var(--bg3);
  outline: none;
  transition: all var(--t);
}
.community-search-input:focus { border-color: var(--blue); background: var(--card); box-shadow: 0 0 0 3px rgba(26,111,245,.09); }

/* Feed — Instagram-like */
.community-feed {
  grid-template-columns: 1fr;
  max-width: 680px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
  width: 100%;
}

.community-post {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 0;
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--t);
}
.community-post:hover { box-shadow: var(--shadow-md); }

.community-post-head,
.community-post-body,
.community-post-actions,
.community-comments,
.community-post-author-bio { padding-left: 20px; padding-right: 20px; }
.community-post-head { padding-top: 18px; }
.community-post-author-bio { margin-top: 6px; }

.community-post-body {
  margin: 14px 0 0;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--ink2);
}

.community-post-media {
  overflow: hidden;
  margin-top: 14px;
  border-left: 0;
  border-right: 0;
}
.community-post-media img {
  display: block;
  width: 100%;
  min-height: 360px;
  max-height: 680px;
  object-fit: cover;
}

.community-post-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.community-post-badges span,
.community-visibility {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--bg3);
  color: var(--ink4);
  font-size: 11px;
  font-weight: 600;
}

.community-post-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 0;
  padding-top: 12px;
  padding-bottom: 16px;
  flex-wrap: wrap;
}
.community-visibility { margin-left: auto; }

.community-like-btn {
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--red-l);
  color: var(--red);
  font-weight: 700;
  font-size: 13px;
  transition: all var(--t) var(--ease);
}
.community-like-btn:hover { transform: scale(1.04); }
.community-like-btn.is-active {
  background: linear-gradient(135deg, #EF476F, #F78C6B);
  color: #fff;
}

.community-follow-btn,
.community-outline-btn {
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12.5px;
  transition: all var(--t) var(--ease);
}
.community-follow-btn { background: var(--grad); color: #fff; box-shadow: var(--shadow-blue); }
.community-follow-btn:hover { opacity: .9; transform: translateY(-1px); }
.community-follow-btn.is-active { background: var(--blue-ll); color: var(--blue); box-shadow: none; }
.community-outline-btn { background: var(--bg3); color: var(--ink3); border: 1.5px solid var(--border); }
.community-outline-btn:hover { border-color: var(--blue); color: var(--blue); }

/* Comments */
.community-comments {
  display: none;
  margin-top: 0;
  padding-top: 14px;
  padding-bottom: 4px;
  border-top: 1px solid var(--border2);
}
.community-comments.is-open { display: block; }
.community-comments-list { display: grid; gap: 8px; margin-bottom: 12px; }
.community-comment {
  padding: 10px 13px;
  border-radius: 14px;
  background: var(--bg3);
  border: 1px solid var(--border2);
}
.community-comment strong { display: block; margin-bottom: 3px; font-size: 12.5px; color: var(--ink2); font-weight: 700; }
.community-comment span,
.community-comment-empty { color: var(--ink4); font-size: 12.5px; line-height: 1.6; }
.community-comment-form { display: flex; gap: 8px; }
.community-comment-form .ds-fi { flex: 1; }

/* Empty states */
.community-empty-feed,
.community-empty-inline {
  text-align: center;
  color: var(--ink4);
  font-size: 13px;
  line-height: 1.7;
  padding: 24px 0;
}
.community-empty-feed strong { display: block; color: var(--ink2); font-size: 16px; margin-bottom: 6px; }

.community-premium-mark { color: var(--amber); font-size: 12px; }

/* Story preview */
.community-story-preview-wrap { overflow: hidden; border-radius: 20px; background: var(--bg3); max-height: 70vh; }
.community-story-preview-wrap img { width: 100%; display: block; object-fit: cover; }
.community-story-preview-caption { margin-top: 12px; color: var(--ink3); line-height: 1.7; }
.community-story-progress { width: 100%; height: 4px; border-radius: 999px; background: var(--bg3); overflow: hidden; margin-bottom: 12px; }
.community-story-progress span { display: block; height: 100%; width: 0%; background: var(--grad); }
.community-story-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 14px; }

/* Profile modal */
.community-profile-modal-body,
.community-profile-modal-feed { display: grid; gap: 14px; }
.community-profile-modal-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 6px 0 16px;
  border-bottom: 1px solid var(--border);
}
.community-profile-modal-copy { flex: 1; }
.community-profile-modal-copy strong { display: block; font-size: 18px; font-weight: 800; color: var(--ink); }
.community-profile-modal-copy span { display: block; margin-top: 3px; color: var(--ink4); font-size: 13px; }
.community-profile-modal-copy p { margin-top: 10px; color: var(--ink3); line-height: 1.7; }
.community-profile-modal-stats { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 12px; }
.community-profile-modal-stats span {
  display: inline-flex;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--bg3);
  color: var(--ink3);
  font-weight: 700;
  font-size: 12px;
}
.community-profile-modal-stories { display: flex; gap: 10px; overflow-x: auto; }
.community-profile-story { min-width: 90px; }
.community-profile-story img { width: 100%; height: 120px; object-fit: cover; border-radius: 14px; }

/* Community "me" card */
.community-me-card { }
.community-me-copy strong {
  font-family: 'Syne', sans-serif;
  font-size: 36px;
  font-weight: 900;
  color: var(--ink);
  line-height: .96;
  letter-spacing: -.05em;
}
.community-me-copy p { color: var(--ink4); margin-top: 6px; font-size: 13px; }
.community-me-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 16px;
}
.community-me-stats span {
  min-height: 100px;
  border-radius: var(--r-xl);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 16px;
  background: var(--bg3);
  border: 1.5px solid var(--border);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink3);
  transition: all var(--t) var(--ease);
}
.community-me-stats span:hover { border-color: var(--blue); background: var(--blue-ll); color: var(--blue); }
.community-me-stats strong { display: block; font-size: 28px; font-weight: 900; color: var(--ink); margin-bottom: 4px; }

/* Community inbox */
.community-inbox-list { display: grid; gap: 8px; }
.community-inbox-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--r-lg);
  background: var(--bg3);
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: all var(--t);
}
.community-inbox-item:hover { border-color: var(--blue); background: var(--blue-ll); }
.community-inbox-copy { flex: 1; min-width: 0; }
.community-inbox-copy strong { font-size: 13px; font-weight: 700; color: var(--ink); }
.community-inbox-copy p { font-size: 12px; color: var(--ink4); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Community mobile nav */
.community-mobile-nav {
  position: fixed;
  bottom: 16px;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  width: min(90vw, 680px);
  z-index: 400;
  padding: 8px;
  border-radius: var(--r-xl);
  background: var(--card);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(20px);
  display: none;
}
.community-mobile-nav-inner { display: flex; gap: 4px; }
.community-mobile-nav-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px 6px;
  border-radius: var(--r-lg);
  min-height: 68px;
  transition: all var(--t) var(--ease);
  color: var(--ink4);
}
.community-mobile-nav-btn i { font-size: 20px; }
.community-mobile-nav-btn span { font-size: 10px; font-weight: 700; }
.community-mobile-nav-btn.active { background: var(--blue-ll); color: var(--blue); }
.community-mobile-nav-btn:hover:not(.active) { background: var(--bg3); }

/* Community screens */
.community-screen { display: none; }
.community-screen.is-active { display: block; }

/* ── MOBILE HEAD ── */
.ow-mobile-head { display: none; }

/* ── OVERVIEW STRUCTURE ── */
.ow-overview-head { margin-bottom: 18px; }
.ow-overview-kicker { font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--blue); display: block; margin-bottom: 4px; }
.ow-overview-head h2 { font-family: 'Syne', sans-serif; font-size: 22px; font-weight: 900; color: var(--ink); }
.ow-overview-head p { font-size: 13px; color: var(--ink4); margin-top: 2px; }

/* ── STICKY TABS ── */
.ow-sticky-tabs {
  position: sticky;
  top: 72px;
  z-index: 90;
}

/* ── ERROR PAGE ── */
.err-page { text-align: center; padding: 80px 20px; }
.err-logo img { height: 32px; }

/* ══════════════════════════════════════════════════════════════
   MOBILE BOTTOM NAV
   ══════════════════════════════════════════════════════════════ */
.mobile-nav {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 600;
  background: var(--card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 24px rgba(0,0,0,.08);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

[data-theme="dark"] .mobile-nav { background: rgba(22,27,42,.95); }

.mobile-nav-inner {
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  height: 58px;
}

.mob-nav-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 2px;
  position: relative;
  transition: background var(--t);
  border-radius: var(--r);
  margin: 4px 2px;
}
.mob-nav-btn .ic {
  font-size: 21px;
  line-height: 1;
  display: block;
  transition: transform var(--t) var(--ease);
}
.mob-nav-btn span:last-child {
  font-size: 10px;
  font-weight: 600;
  color: var(--ink4);
  transition: color var(--t);
}
.mob-nav-btn.active .ic { transform: translateY(-1px); }
.mob-nav-btn.active span:last-child { color: var(--blue); }
.mob-nav-btn.active { background: var(--blue-ll); }

.mob-nav-ic-wrap { position: relative; display: flex; align-items: center; justify-content: center; }
.mob-badge {
  position: absolute;
  top: -5px; right: -7px;
  background: var(--red);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  border: 2px solid var(--card);
}

/* More drawer */
.ow-more-drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 700;
  flex-direction: column;
  justify-content: flex-end;
  background: rgba(0,0,0,.5);
  backdrop-filter: blur(4px);
}
.ow-more-drawer.open { display: flex; }
.ow-more-panel {
  background: var(--card);
  border-radius: var(--r-2xl) var(--r-2xl) 0 0;
  padding: 20px 20px calc(20px + env(safe-area-inset-bottom, 0px));
  display: grid;
  gap: 8px;
  animation: drawer-up .24s var(--ease);
}
@keyframes drawer-up { from { transform: translateY(100%); } to { transform: none; } }

.ow-more-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--bg3);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
  transition: all var(--t);
}
.ow-more-btn:hover { background: var(--blue-ll); border-color: var(--blue); color: var(--blue); }
.ow-more-btn i { font-size: 18px; width: 40px; text-align: center; color: var(--blue); }
.ow-more-btn.danger { color: var(--red); }
.ow-more-btn.danger i { color: var(--red); }
.ow-more-btn.danger:hover { background: var(--red-l); border-color: var(--red-b); }

/* Mobile brand */
.ow-mobile-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ow-mobile-brand-logo {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
}
.ow-mobile-brand-kicker { font-family: 'Syne', sans-serif; font-size: 10px; font-weight: 900; letter-spacing: 3px; color: var(--ink4); display: block; }
.ow-mobile-brand > div > strong { font-size: 14px; font-weight: 800; color: var(--ink); display: block; }

.ow-mobile-menu-btn,
.ow-mobile-profile-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink3);
  font-size: 18px;
  padding: 6px;
  border-radius: 10px;
  transition: all var(--t);
}
.ow-mobile-menu-btn:hover,
.ow-mobile-profile-btn:hover { background: var(--bg3); }

.ow-mobile-profile-av {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: var(--grad);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 2px;
}
.ow-mobile-profile-av img { width: 100%; height: 100%; object-fit: cover; }
.ow-mobile-profile-btn { display: flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 12px; }
.ow-mobile-profile-copy strong { display: block; font-size: 13px; font-weight: 700; color: var(--ink); }
.ow-mobile-profile-copy em { display: block; font-style: normal; font-size: 10px; color: var(--ink4); }

.ow-mobile-head-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  gap: 10px;
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 1080px) {
  .community-hero { grid-template-columns: 1fr; }
  .community-hero-stats { grid-template-columns: repeat(3, 1fr); }
  .ow-spotlight-grid { grid-template-columns: repeat(2, 1fr); }
  .ds-stats { grid-template-columns: repeat(2, 1fr); }
  .clin-spotlight-grid { grid-template-columns: repeat(2, 1fr); }
  .ow-hero { grid-template-columns: 1fr; }
  .ow-hero-side { display: none; }
}

@media (max-width: 860px) {
  .ds-prof-grid { grid-template-columns: 1fr; }
  .clin-body { grid-template-columns: 1fr; }
  .chat-wrap { grid-template-columns: 1fr; height: auto; }
}

@media (max-width: 760px) {
  body.dash-body .ds-top-premium { display: none !important; }
  body.dash-body .ds-tabs.ow-sticky-tabs { display: none !important; }

  .ds { padding: 0 12px 90px; }

  .mobile-nav { display: flex; }
  .ow-mobile-head { display: block; }
  .community-mobile-nav { display: block; }

  .ow-hero {
    padding: 20px;
    border-radius: var(--r-xl);
  }
  .ow-hero h1 { font-size: 30px; }
  .ow-hero-pills { display: grid; grid-template-columns: repeat(2, 1fr); }

  .ow-spotlight-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .ow-spotlight-card { padding: 18px; }
  .ow-spotlight-card strong { font-size: 32px; }

  .ow-action-grid { grid-template-columns: repeat(2, 1fr); }

  .community-shell { padding-bottom: 110px !important; }
  .community-hero { padding: 22px; border-radius: var(--r-xl); }
  .community-hero h2 { font-size: 26px; }
  .community-hero-stats { grid-template-columns: repeat(3, 1fr); }
  .community-card { border-radius: var(--r-xl); padding: 16px; }

  .community-story-form { flex-direction: column; }
  .community-composer textarea { font-size: 16px; }
  .community-composer-actions { flex-wrap: wrap; }
  .community-hints { width: 100%; overflow-x: auto; padding-bottom: 2px; flex-wrap: nowrap; }
  .community-post-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .community-post-actions .community-visibility { grid-column: 1 / -1; }
  .community-comment-form { flex-direction: column; }

  .community-me-stats { gap: 8px; }
  .community-me-stats span { min-height: 86px; }
  .community-me-copy strong { font-size: 30px; }

  .community-mobile-nav {
    bottom: 10px;
    width: calc(100vw - 18px);
    border-radius: var(--r-xl);
  }

  .ds-stats { grid-template-columns: repeat(2, 1fr); }
  .ds-grid2 { grid-template-columns: 1fr; }

  .theme-toggle { bottom: 80px; }
}

@media (max-width: 540px) {
  .community-hero-stats { grid-template-columns: 1fr; }
  .community-post-media img { min-height: 280px; }
  .ow-action-grid { grid-template-columns: 1fr; }
  .ds-stats { grid-template-columns: 1fr 1fr; }
}

/* ── DARK MODE OVERRIDES ── */
[data-theme="dark"] .ow-hero {
  box-shadow: 0 20px 50px rgba(26,111,245,.15);
}
[data-theme="dark"] .community-hero {
  background: linear-gradient(135deg, #040810 0%, #071224 48%, #0A1E35 100%);
  box-shadow: 0 24px 50px rgba(0,0,0,.35);
}
[data-theme="dark"] .ds-stat::before { opacity: .7; }
[data-theme="dark"] .community-post-media img { opacity: .95; }
[data-theme="dark"] .modal-box { background: var(--card2); }
[data-theme="dark"] .adm-table th { background: var(--card2); }
[data-theme="dark"] .adm-table tr:hover td { background: var(--card2); }
[data-theme="dark"] .community-story { background: var(--card2); }
[data-theme="dark"] .community-tag { background: var(--card2); }
[data-theme="dark"] .community-chip { background: var(--card2); }

/* ── BODY DARK ── */
body.dash-body .ow-hero h1,
body.dash-body .community-hero h2 {
  font-family: 'Syne', 'DM Sans', sans-serif;
  letter-spacing: -.04em;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: var(--ink5); }

/* ══════════════════════════════════════════════════════════════
   COMMUNITY SEARCH ROW EXTRA
   ══════════════════════════════════════════════════════════════ */
body.dash-body .community-hero h2 {
  font-size: 30px;
  line-height: 1.1;
}
body.dash-body .community-post-meta strong {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
}
body.dash-body .community-post-meta span {
  font-size: 12px;
  color: var(--ink4);
}
body.dash-body .community-post-body {
  padding: 4px 2px 0;
  font-size: 15px;
  line-height: 1.7;
}
body.dash-body .community-post-actions > * { min-height: 40px; }
body.dash-body .community-comment-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}
body.dash-body .community-me-copy strong {
  font-size: 32px;
  line-height: .96;
  letter-spacing: -.06em;
}
body.dash-body .community-me-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
body.dash-body .community-me-stats span { min-height: 100px; border-radius: var(--r-xl); }
body.dash-body .community-mobile-nav {
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  width: min(92vw, 680px);
  padding: 8px;
}
body.dash-body .community-mobile-nav-btn {
  min-height: 68px;
  border-radius: var(--r-lg);
}
body.dash-body .community-mobile-nav-btn span {
  font-size: 10.5px;
  font-weight: 800;
}

@media (max-width: 980px) {
  body.dash-body .ow-hero { grid-template-columns: 1fr !important; }
  body.dash-body .ow-spotlight-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 760px) {
  body.dash-body .ds-top { display: none !important; }
  body.dash-body .ow-hero { padding: 18px !important; border-radius: var(--r-xl) !important; gap: 12px !important; }
  body.dash-body .ow-hero h1 { font-size: 30px !important; }
  body.dash-body .ow-hero p { font-size: 13.5px !important; max-width: none; }
  body.dash-body .ow-hero-pills { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  body.dash-body .ds-tabs.ow-sticky-tabs { display: none !important; }
  body.dash-body .ow-spotlight-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px !important; }
  body.dash-body .ow-spotlight-card { min-height: 120px; padding: 16px !important; }
  body.dash-body .ow-spotlight-card strong { font-size: 32px !important; }
  body.dash-body .ow-lux-head h3,
  body.dash-body .community-card-head h3,
  body.dash-body .community-me-copy strong { font-size: 22px !important; }
  body.dash-body .ow-action-btn { min-height: 130px !important; }
  body.dash-body .ow-action-btn strong { font-size: 13px !important; }
  body.dash-body .community-shell { padding-bottom: 110px !important; }
  body.dash-body .community-card { border-radius: var(--r-xl) !important; padding: 14px !important; }
  body.dash-body .community-story-form,
  body.dash-body .community-comment-form { grid-template-columns: 1fr !important; }
  body.dash-body .community-composer textarea { min-height: 110px !important; font-size: 16px !important; }
  body.dash-body .community-composer-actions { flex-wrap: wrap !important; }
  body.dash-body .community-hints { width: 100%; overflow: auto; padding-bottom: 2px; }
  body.dash-body .community-post-meta strong { font-size: 16px !important; }
  body.dash-body .community-post-body { font-size: 14px !important; }
  body.dash-body .community-post-actions { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  body.dash-body .community-post-actions .community-visibility { grid-column: 1 / -1; }
  body.dash-body .community-me-stats { gap: 8px !important; }
  body.dash-body .community-me-stats span { min-height: 86px; }
  body.dash-body .community-mobile-nav { bottom: 10px !important; width: calc(100vw - 18px) !important; border-radius: var(--r-xl) !important; }
}

/* ══════════════════════════════════════════════════════════════
   MISSING COMPONENTS — Pet Cards, Dashboard Sections, Notif, PWA
   ══════════════════════════════════════════════════════════════ */

/* ── OW LUX GRID ── */
.ow-lux-grid {
  display: grid;
  grid-template-columns: minmax(0,1.08fr) minmax(0,.92fr);
  gap: 16px;
  margin: 0 0 18px;
}
.ow-lux-grid-secondary {
  grid-template-columns: minmax(0,.8fr) minmax(0,1fr) minmax(0,.9fr);
}
.ow-lux-card {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border-radius: var(--r-xl);
  border: 1.5px solid var(--border);
  background: var(--card);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--t);
}
.ow-lux-card:hover { box-shadow: var(--shadow); }

.ow-lux-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.ow-lux-kicker {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--blue-ll);
  color: var(--blue);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.ow-lux-head h3 {
  margin: 8px 0 0;
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  line-height: 1.1;
  letter-spacing: -.03em;
  color: var(--ink);
  font-weight: 900;
}
.ow-lux-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 12px;
  background: var(--blue-ll);
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ── AGENDA / TIMELINE ── */
.ow-agenda-list, .ow-timeline-list, .ow-checklist {
  display: grid;
  gap: 10px;
  position: relative;
  z-index: 1;
}
.ow-agenda-item, .ow-timeline-item {
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 13px 15px;
  border-radius: var(--r-lg);
  background: var(--bg3);
  border: 1.5px solid var(--border);
}
.ow-agenda-icon, .ow-timeline-dot {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 15px;
  color: #fff;
  background: var(--grad);
  box-shadow: 0 8px 18px rgba(26,111,245,.18);
  flex-shrink: 0;
}
.ow-agenda-icon.is-amber { background: linear-gradient(135deg,#F59E0B,#D97706); box-shadow: 0 8px 18px rgba(217,119,6,.18); }
.ow-agenda-copy, .ow-timeline-copy { min-width: 0; }
.ow-agenda-copy strong, .ow-timeline-copy strong { display: block; font-size: 13.5px; font-weight: 700; color: var(--ink); margin-bottom: 2px; }
.ow-agenda-copy span, .ow-timeline-copy span { display: block; font-size: 12px; line-height: 1.5; color: var(--ink4); }
.ow-agenda-meta, .ow-timeline-item time { font-size: 12px; font-weight: 700; color: var(--ink3); white-space: nowrap; }

/* ── ACTION GRID ── */
.ow-action-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 10px;
}
.ow-action-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-height: 128px;
  padding: 18px;
  border: none;
  border-radius: var(--r-xl);
  cursor: pointer;
  text-align: left;
  background: var(--grad);
  color: #fff;
  box-shadow: 0 16px 32px rgba(26,111,245,.18);
  transition: transform var(--t) var(--ease), box-shadow var(--t);
}
.ow-action-btn:hover { transform: translateY(-3px); box-shadow: 0 24px 44px rgba(26,111,245,.24); }
.ow-action-btn i { font-size: 18px; }
.ow-action-btn strong { font-size: 14px; font-weight: 800; line-height: 1.2; }
.ow-action-btn span { font-size: 12px; line-height: 1.55; color: rgba(255,255,255,.84); }

/* ── PROGRESS ── */
.ow-progress-bar {
  height: 12px;
  border-radius: 999px;
  background: var(--bg3);
  overflow: hidden;
  margin-bottom: 14px;
  border: 1px solid var(--border);
}
.ow-progress-bar span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--grad);
  box-shadow: 0 4px 12px rgba(26,111,245,.2);
}

/* ── CHECKLIST ── */
.ow-check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  border-radius: var(--r-md);
  background: var(--bg3);
  border: 1.5px solid var(--border);
  color: var(--ink3);
  font-size: 13px;
  font-weight: 600;
}
.ow-check-item i { color: var(--ink5); }
.ow-check-item.is-done { background: var(--green-l); border-color: var(--green-b); color: var(--green); }
.ow-check-item.is-done i { color: var(--green); }

/* ── EMPTY STATES ── */
.ow-empty-state {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 20px;
  border-radius: var(--r-xl);
  background: var(--bg3);
  border: 1.5px dashed var(--border);
  text-align: center;
}
.ow-empty-state.slim { padding: 14px; }
.ow-empty-icon {
  width: 48px; height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--blue-ll);
  color: var(--blue);
  font-size: 18px;
}
.ow-empty-state strong { font-size: 14px; color: var(--ink); font-weight: 700; }
.ow-empty-state span { font-size: 12px; line-height: 1.6; color: var(--ink4); max-width: 380px; }

/* ── UPGRADE CARD ── */
.ow-upgrade-card { background: linear-gradient(135deg, #071224 0%, #0F66CF 45%, #0DB8CB 100%); color: #fff; }
.ow-upgrade-card .ow-lux-kicker { background: rgba(255,255,255,.12); color: #fff; }
.ow-upgrade-card .ow-lux-head h3 { color: #fff; }
.ow-upgrade-copy { color: rgba(255,255,255,.84); font-size: 13px; line-height: 1.7; margin-bottom: 14px; }
.ow-upgrade-points { display: grid; gap: 8px; margin-bottom: 16px; }
.ow-upgrade-points span {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 13px; border-radius: var(--r-md);
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  font-size: 12px; font-weight: 600;
}
.ow-upgrade-btn { width: 100%; justify-content: center; min-height: 46px; }

/* ══════════════════════════════════════════════════════════════
   PET CARDS — FULL REDESIGN
   ══════════════════════════════════════════════════════════════ */
.ds-pets {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 18px;
  margin-bottom: 18px;
  align-items: start;
}

.vpc-lux {
  position: relative;
  padding: 0 !important;
  border: 1.5px solid var(--border) !important;
  border-radius: var(--r-xl) !important;
  overflow: hidden !important;
  background: var(--card) !important;
  box-shadow: var(--shadow-sm) !important;
  transition: transform var(--t) var(--ease), box-shadow var(--t) !important;
}
.vpc-lux:hover {
  transform: translateY(-4px) !important;
  box-shadow: var(--shadow-md) !important;
}

[data-theme="dark"] .vpc-lux {
  background: var(--card) !important;
}

.vpc-cover {
  position: relative;
  height: 120px;
  padding: 16px;
  background: var(--grad);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.vpc-cover-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.16);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
}
.vpc-access-badge {
  position: absolute;
  bottom: 14px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  background: rgba(255,255,255,.15);
  color: rgba(255,255,255,.9);
  border: 1px solid rgba(255,255,255,.2);
}
.vpc-access-badge.shared { background: rgba(245,158,11,.25); border-color: rgba(245,158,11,.4); }
.vpc-card-tools {
  display: flex;
  gap: 6px;
}
.vpc-icon-btn {
  width: 36px; height: 36px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.18);
  color: #fff;
  font-size: 13px;
  backdrop-filter: blur(8px);
  transition: background var(--t);
}
.vpc-icon-btn:hover { background: rgba(255,255,255,.3); }

.vpc-body { padding: 0 16px 16px !important; }

.vpc-head {
  display: grid;
  grid-template-columns: 72px minmax(0,1fr);
  align-items: end;
  gap: 12px;
  margin-top: -28px;
  margin-bottom: 14px;
}
.vpc-av {
  width: 72px !important;
  height: 72px !important;
  border-radius: 20px !important;
  background: var(--card) !important;
  border: 3px solid var(--card) !important;
  box-shadow: var(--shadow-md) !important;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.vpc-av img { width: 100%; height: 100%; object-fit: cover; }
.vpc-av-fallback {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  border-radius: 17px;
  background: var(--blue-ll);
  color: var(--blue);
  font-size: 26px;
}
.vpc-main { min-width: 0; padding-bottom: 4px; }
.vpc-name { font-family: 'Syne', sans-serif; font-size: 22px !important; font-weight: 900; color: var(--ink); line-height: 1.05; margin-bottom: 4px; }
.vpc-meta { font-size: 12px; color: var(--ink4); }
.vpc-age { font-weight: 700; color: var(--teal-d); }

.vpc-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}
.vpc-fact {
  padding: 11px 12px;
  border-radius: var(--r-md);
  background: var(--bg3);
  border: 1.5px solid var(--border);
  transition: all var(--t) var(--ease);
}
.vpc-fact:hover { transform: translateY(-1px); border-color: var(--blue-l); }
.vpc-fact span { display: block; font-size: 10px; font-weight: 700; color: var(--ink5); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.vpc-fact strong { display: block; font-size: 12.5px; color: var(--ink); font-weight: 700; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Pet mini timeline */
.pet-mini-timeline {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  padding: 13px;
  border-radius: var(--r-md);
  background: var(--bg3);
  border: 1.5px solid var(--border);
}
.pet-mini-timeline-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pet-mini-timeline-head span { font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--ink5); }
.pet-mini-link { appearance: none; border: none; background: none; cursor: pointer; color: var(--blue); font: inherit; font-size: 11.5px; font-weight: 700; }
.pet-mini-events { display: grid; gap: 6px; }
.pet-mini-event {
  display: grid;
  grid-template-columns: 32px minmax(0,1fr);
  gap: 8px;
  align-items: center;
  padding: 9px 10px;
  border-radius: var(--r);
  background: var(--card);
  border: 1.5px solid var(--border);
}
.pet-mini-event-icon {
  width: 32px; height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--grad);
  font-size: 12px;
  flex-shrink: 0;
}
.pet-mini-event-copy strong { display: block; font-size: 12.5px; font-weight: 700; color: var(--ink); margin-bottom: 1px; }
.pet-mini-event-copy span { display: block; font-size: 11px; line-height: 1.4; color: var(--ink4); }
.pet-mini-empty { padding: 6px 2px; font-size: 12px; color: var(--ink4); }

/* vpc action buttons */
.vpc-acts {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0,1fr)) !important;
  gap: 8px !important;
}
.vpc-b {
  min-height: 42px !important;
  padding: 9px 10px !important;
  border-radius: var(--r) !important;
  font-size: 12.5px !important;
  gap: 6px !important;
  font-weight: 700 !important;
  border: 1.5px solid transparent;
  transition: all var(--t) var(--ease) !important;
}
.vpc-b:hover { transform: translateY(-1px) !important; }
.vpc-b-blue  { background: var(--blue-ll) !important; color: var(--blue) !important; border-color: var(--blue-l) !important; }
.vpc-b-teal  { background: rgba(13,184,203,.1) !important; color: var(--teal-d) !important; }
.vpc-b-soft  { background: rgba(13,184,203,.1) !important; color: var(--teal-d) !important; }
.vpc-b-red   { background: var(--red-l) !important; color: var(--red) !important; }

[data-theme="dark"] .vpc-fact { background: var(--card2); }
[data-theme="dark"] .pet-mini-timeline { background: var(--card2); }
[data-theme="dark"] .pet-mini-event { background: var(--bg3); }

/* ── NOTIF FAB ── */
.notif-fab {
  position: fixed;
  right: 18px;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  z-index: 9997;
  width: 52px; height: 52px;
  border: none;
  border-radius: var(--r-lg);
  background: var(--grad);
  color: #fff;
  box-shadow: 0 14px 32px rgba(26,111,245,.26);
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 18px;
  transition: transform var(--t) var(--ease);
}
.notif-fab:hover { transform: scale(1.08); }
.notif-fab-badge {
  position: absolute;
  top: -4px; right: -4px;
  min-width: 20px; height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: 10px; font-weight: 800;
  display: grid;
  place-items: center;
  border: 2px solid var(--card);
}

/* Notif panel */
.notif-panel {
  position: fixed;
  inset: 0;
  z-index: 9996;
  background: rgba(0,0,0,.4);
  display: flex;
  justify-content: flex-end;
  padding: 18px;
  pointer-events: none;
  backdrop-filter: blur(3px);
}
.notif-panel.open { pointer-events: auto; }
.notif-panel[hidden] { display: none !important; }
.notif-panel-card {
  width: min(100%,420px);
  height: min(100%,680px);
  background: var(--card);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  border: 1.5px solid var(--border);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateX(20px);
  opacity: 0;
  transition: transform .18s var(--ease), opacity .18s var(--ease);
}
.notif-panel.open .notif-panel-card { transform: translateX(0); opacity: 1; }
.notif-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  padding: 18px 18px 14px;
  border-bottom: 1px solid var(--border);
}
.notif-panel-head strong { display: block; font-size: 17px; font-weight: 800; color: var(--ink); }
.notif-panel-head span { display: block; font-size: 12px; color: var(--ink4); margin-top: 3px; }
.notif-panel-actions { display: flex; align-items: center; gap: 8px; }
.notif-link-btn, .notif-close-btn { appearance: none; border: none; background: none; cursor: pointer; font: inherit; }
.notif-link-btn { font-size: 12px; font-weight: 700; color: var(--blue); }
.notif-close-btn { width: 34px; height: 34px; border-radius: 10px; background: var(--bg3); color: var(--ink4); font-size: 15px; display: flex; align-items: center; justify-content: center; }
.notif-list { padding: 10px; overflow: auto; display: grid; gap: 8px; }
.notif-item {
  appearance: none; width: 100%; text-align: left;
  border: 1.5px solid var(--border);
  background: var(--bg3);
  border-radius: var(--r-lg);
  padding: 13px; cursor: pointer;
  transition: all var(--t);
}
.notif-item:hover { border-color: var(--blue); background: var(--blue-ll); }
.notif-item.is-read { background: var(--card); }
.notif-item-head { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; margin-bottom: 5px; }
.notif-item-head strong { font-size: 13px; color: var(--ink); font-weight: 700; }
.notif-item-head span { font-size: 11px; color: var(--ink5); white-space: nowrap; }
.notif-item-body { font-size: 12px; line-height: 1.55; color: var(--ink3); }
.notif-empty { padding: 24px 14px; text-align: center; color: var(--ink4); font-size: 13px; }
body.has-mobile-nav .notif-fab { bottom: calc(82px + env(safe-area-inset-bottom, 0px)); }

/* ── PWA BANNER ── */
.pwa-install-banner {
  position: fixed;
  left: 16px; right: 16px;
  bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--r-xl);
  background: var(--ink2);
  color: #fff;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(10px);
}
.pwa-install-banner[hidden] { display: none !important; }
.pwa-install-copy { display: grid; gap: 3px; min-width: 0; }
.pwa-install-copy strong { font-size: 14px; font-weight: 800; }
.pwa-install-copy span { font-size: 12px; line-height: 1.4; color: rgba(255,255,255,.76); }
.pwa-install-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.pwa-install-btn, .pwa-dismiss-btn { appearance: none; border: none; cursor: pointer; font: inherit; }
.pwa-install-btn { min-height: 40px; padding: 0 15px; border-radius: var(--r); background: var(--grad); color: #fff; font-weight: 800; font-size: 13px; }
.pwa-dismiss-btn { width: 38px; height: 38px; border-radius: var(--r); background: rgba(255,255,255,.1); color: #fff; font-size: 16px; display: flex; align-items: center; justify-content: center; }
body.has-mobile-nav .pwa-install-banner { bottom: calc(86px + env(safe-area-inset-bottom, 0px)); }

/* ── MOBILE MORE SHEET ── */
.mobile-more-sheet[hidden] { display: none !important; }
.mobile-more-sheet {
  position: fixed;
  inset: 0;
  z-index: 10020;
}
.mobile-more-backdrop {
  position: absolute;
  inset: 0;
  border: none;
  background: rgba(0,0,0,.4);
  cursor: pointer;
  backdrop-filter: blur(3px);
}
.mobile-more-card {
  position: absolute;
  left: 12px; right: 12px;
  bottom: calc(74px + env(safe-area-inset-bottom, 0px));
  padding: 16px;
  border-radius: var(--r-xl);
  background: var(--card);
  box-shadow: var(--shadow-lg);
  border: 1.5px solid var(--border);
  animation: drawer-up .22s var(--ease);
}
.mobile-more-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.mobile-more-head strong { font-size: 17px; font-weight: 900; color: var(--ink); }
.mobile-more-close {
  width: 34px; height: 34px;
  border: none; border-radius: 10px;
  background: var(--bg3);
  color: var(--ink3);
  font: inherit;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 15px;
}
.mobile-more-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 10px;
}
.mobile-more-item {
  position: relative;
  display: grid;
  justify-items: start;
  gap: 7px;
  min-height: 84px;
  padding: 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--bg3);
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: all var(--t) var(--ease);
}
.mobile-more-item:hover { border-color: var(--blue); background: var(--blue-ll); }
.mobile-more-item .ic {
  width: 34px; height: 34px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--blue-ll);
  color: var(--blue);
  font-size: 16px;
}
.mobile-more-item span:last-of-type { font-size: 13px; font-weight: 800; line-height: 1.2; }
.mobile-more-item em {
  position: absolute;
  top: 10px; right: 10px;
  min-width: 20px; height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--red);
  color: #fff;
  font-style: normal;
  font-size: 11px; font-weight: 900;
}

/* ══════════════════════════════════════════════════════════════
   COMMUNITY — INSTAGRAM-STYLE STORIES (full redesign)
   ══════════════════════════════════════════════════════════════ */

/* Stories rail — circular Instagram avatars */
.community-stories-rail {
  display: flex !important;
  gap: 16px !important;
  overflow-x: auto !important;
  padding: 4px 2px 8px !important;
  scrollbar-width: none !important;
}
.community-stories-rail::-webkit-scrollbar { display: none !important; }

/* Override — reset story item to Instagram circle style */
.community-stories-rail .community-story {
  min-width: 72px !important;
  max-width: 72px !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 6px !important;
  border-radius: 0 !important;
}
.community-stories-rail .community-story:hover { transform: none !important; box-shadow: none !important; }

/* Story avatar ring */
.community-stories-rail .community-avatar.story {
  width: 62px !important;
  height: 62px !important;
  border-radius: 50% !important;
  flex-basis: 62px !important;
  box-shadow: none !important;
  border: 3px solid transparent !important;
  background-image: linear-gradient(var(--card), var(--card)),
                    linear-gradient(135deg, #F58529, #DD2A7B, #8134AF, #515BD4) !important;
  background-origin: border-box !important;
  background-clip: padding-box, border-box !important;
  padding: 0 !important;
}
/* Seen story — grey ring */
.community-stories-rail .community-story.is-me .community-avatar.story {
  background-image: linear-gradient(var(--card), var(--card)),
                    linear-gradient(135deg, #1A6FF5, #0DB8CB) !important;
}
/* Add story button */
.community-stories-rail .community-story.add-story .community-avatar.story {
  background-image: none !important;
  border: 2.5px dashed var(--border) !important;
  background-clip: unset !important;
  position: relative;
}
.community-stories-rail .community-story.add-story .community-avatar.story::after {
  content: '+';
  position: absolute;
  bottom: -4px; right: -4px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--card);
}
.community-stories-rail .community-story strong {
  font-size: 11px !important;
  font-weight: 600 !important;
  color: var(--ink3) !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  max-width: 70px !important;
  text-align: center !important;
}
.community-stories-rail .community-story span { display: none !important; }

/* Story form — compact */
.community-story-form {
  display: none !important; /* Hidden — replaced by "Ново стори" button in card-head */
}

/* ── POST CARDS — full-width Instagram style ── */
.community-feed {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  max-width: 600px !important;
  margin: 0 auto !important;
  width: 100% !important;
}
.community-post {
  border-radius: 0 !important;
  border: none !important;
  border-bottom: 1px solid var(--border) !important;
  box-shadow: none !important;
  background: var(--card) !important;
  margin-bottom: 0 !important;
}
.community-post:first-child { border-top: 1px solid var(--border); }
.community-post:hover { box-shadow: none !important; }

/* ── Header inside post ── */
.community-post-head {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 14px 16px 0 !important;
}
.community-avatar {
  border-radius: 50% !important;
  flex-shrink: 0 !important;
}
.community-avatar.xl, .community-avatar.lg { border-radius: 50% !important; }
.community-post-meta { flex: 1; min-width: 0; }
.community-post-meta strong { font-size: 13.5px !important; font-weight: 700 !important; }
.community-post-meta span { font-size: 11.5px !important; color: var(--ink4) !important; }

/* Three-dot menu placeholder */
.community-post-more {
  background: none; border: none; cursor: pointer;
  color: var(--ink4); font-size: 18px; padding: 4px;
}

/* ── Post body ── */
.community-post-body {
  padding: 10px 16px 0 !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
  color: var(--ink) !important;
  margin: 0 !important;
}

/* ── Post image full-bleed ── */
.community-post-media {
  margin-top: 10px !important;
  border-radius: 0 !important;
  border: none !important;
}
.community-post-media img {
  width: 100% !important;
  min-height: 300px !important;
  max-height: 600px !important;
  object-fit: cover !important;
}

/* ── Action bar ── */
.community-post-actions {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  padding: 12px 16px !important;
  flex-wrap: nowrap !important;
  border-top: none !important;
  margin-top: 0 !important;
}
.community-like-btn {
  padding: 0 !important;
  background: none !important;
  color: var(--ink3) !important;
  border-radius: 0 !important;
  gap: 5px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  min-height: 0 !important;
  box-shadow: none !important;
}
.community-like-btn i { font-size: 22px; transition: transform .15s var(--ease); }
.community-like-btn:hover i { transform: scale(1.15); }
.community-like-btn.is-active { color: var(--red) !important; background: none !important; }
.community-like-btn.is-active i { font-size: 22px; }

.community-outline-btn {
  padding: 0 !important;
  background: none !important;
  color: var(--ink3) !important;
  border: none !important;
  border-radius: 0 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  gap: 5px !important;
  min-height: 0 !important;
}
.community-outline-btn i { font-size: 22px; }
.community-outline-btn:hover { color: var(--blue) !important; background: none !important; }

.community-follow-btn {
  margin-left: auto !important;
  padding: 6px 14px !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  border-radius: 999px !important;
  background: none !important;
  color: var(--blue) !important;
  border: 1.5px solid var(--blue) !important;
  box-shadow: none !important;
  min-height: 0 !important;
}
.community-follow-btn:hover { background: var(--blue-ll) !important; }
.community-follow-btn.is-active { color: var(--ink4) !important; border-color: var(--border) !important; background: none !important; }

.community-visibility { display: none !important; }
.community-post-badges { display: none !important; }

/* ── Comments ── */
.community-comments { padding: 0 16px 14px !important; }
.community-comment { border-radius: var(--r) !important; background: var(--bg3) !important; border-color: var(--border) !important; }
.community-comment-form { display: flex !important; gap: 8px !important; }

/* ── Composer card ── */
.community-composer-card .community-composer-head .community-avatar {
  border-radius: 50% !important;
}

/* ── Stories card - story form hidden, use modal button ── */
.community-stories-card .community-story-form { display: none !important; }

/* ── Community app wrapper ── */
.community-app {
  max-width: 600px !important;
  margin: 0 auto !important;
}

/* Post author bio - hidden in feed for clean look */
.community-post-author-bio { display: none !important; }

/* ── RESPONSIVE FIXES ── */
@media (max-width: 1180px) {
  .ow-lux-grid, .ow-lux-grid-secondary { grid-template-columns: 1fr; }
}
@media (max-width: 980px) {
  .ds-pets { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .ow-lux-card { padding: 16px; border-radius: var(--r-xl); }
  .ow-lux-head h3 { font-size: 18px; }
  .ow-agenda-item, .ow-timeline-item { grid-template-columns: auto minmax(0,1fr); }
  .ow-agenda-meta, .ow-timeline-item time { grid-column: 2; }
  .ow-action-grid { grid-template-columns: 1fr; }
  .vpc-facts { grid-template-columns: 1fr 1fr !important; }
  .notif-panel { align-items: flex-end; padding: 0; }
  .notif-panel-card { width: 100%; height: min(78vh,680px); border-radius: var(--r-xl) var(--r-xl) 0 0; }
  .notif-fab { right: 14px; }
}
@media (max-width: 540px) {
  .vpc-facts { grid-template-columns: 1fr !important; }
  .vpc-acts { grid-template-columns: 1fr !important; }
  .vpc-cover { height: 100px; }
  .vpc-head { grid-template-columns: 62px minmax(0,1fr) !important; margin-top: -22px !important; }
  .vpc-av { width: 62px !important; height: 62px !important; border-radius: 18px !important; }
  .vpc-name { font-size: 18px !important; }
}

/* ── DARK MODE for new components ── */
[data-theme="dark"] .ow-lux-card { background: var(--card); }
[data-theme="dark"] .ow-agenda-item,
[data-theme="dark"] .ow-timeline-item { background: var(--card2); }
[data-theme="dark"] .ow-empty-state { background: var(--card2); }
[data-theme="dark"] .ow-check-item { background: var(--card2); }
[data-theme="dark"] .mobile-more-card { background: var(--card2); }
[data-theme="dark"] .notif-panel-card { background: var(--card2); }
[data-theme="dark"] .community-post { background: var(--card) !important; }
[data-theme="dark"] .community-stories-rail .community-avatar.story {
  background-image: linear-gradient(var(--card), var(--card)),
                    linear-gradient(135deg, #F58529, #DD2A7B, #8134AF, #515BD4) !important;
}
[data-theme="dark"] .community-stories-rail .community-story.is-me .community-avatar.story {
  background-image: linear-gradient(var(--card), var(--card)),
                    linear-gradient(135deg, #1A6FF5, #0DB8CB) !important;
}
/* --line fallback */
--line: var(--border);
--line-l: var(--border2);
--shadow: var(--shadow-sm);
--r-lg: var(--r-xl);
