/* ============================================================
   Runtime CSS для бренда
   После сборки можно менять dist/spa/css/style.css без пересборки.
   Исходник для разработки: src/css/style.css
   ============================================================ */

:root {
  /* ============================================================
     БРЕНД: дизайнер меняет эти значения в первую очередь.
     Ниже в файле используем смысловые токены, а не прямые hex.
     ============================================================ */
  --brand-primary: #1a56db;
  --brand-primary-light: #e8effc;
  --brand-primary-dark: #1240a8;
  --brand-primary-rgb: 26, 86, 219;
  --brand-personal-primary: #4f46e5;
  --brand-personal-primary-light: #e0e7ff;
  --brand-personal-primary-dark: #4338ca;
  --brand-personal-primary-hover: #6366f1;
  --brand-personal-primary-rgb: 79, 70, 229;
  --brand-personal-border: #e2e8f0;
  --brand-bg: #fdfeff;
  --brand-surface: #ffffff;
  --brand-surface-muted: #f6f8fc;
  --brand-surface-subtle: #f8fafc;
  --brand-surface-page: #f9fafb;
  --brand-surface-hover: #f1f5f9;
  --brand-surface-plain: #fafafa;
  --brand-surface-neutral: #f3f4f6;
  --brand-surface-neutral-soft: #f4f4f5;
  --brand-surface-neutral-strong: #e5e7eb;
  --brand-text: #0f172a;
  --brand-text-strong: #1e293b;
  --brand-text-secondary: #475569;
  --brand-text-soft: #334155;
  --brand-text-muted: #64748b;
  --brand-text-subtle: #94a3b8;
  --brand-border: #dde3ed;
  --brand-border-muted: #e2e8f0;
  --brand-border-light: #eef2f8;
  --brand-border-strong: #cbd5e1;
  --brand-text-gray: #6b7280;
  --brand-shadow-rgb: 15, 23, 42;
  --brand-black-rgb: 0, 0, 0;
  --brand-white-rgb: 255, 255, 255;

  /* Статусы: успех, предупреждение, ошибка, информация. */
  --status-success: #22c55e;
  --status-success-dark: #16a34a;
  --status-success-text: #166534;
  --status-success-bg: #dcfce7;
  --status-success-bg-soft: #f0fdf4;
  --status-success-border: #d1fae5;
  --status-success-rgb: 34, 197, 94;
  --status-success-dark-rgb: 22, 163, 74;
  --status-warning: #f59e0b;
  --status-warning-dark: #d97706;
  --status-warning-text: #92400e;
  --status-warning-bg: #fef3c7;
  --status-warning-bg-soft: #fffbeb;
  --status-warning-border: #fde68a;
  --status-warning-rgb: 245, 158, 11;
  --status-warning-dark-rgb: 217, 119, 6;
  --status-danger: #dc2626;
  --status-danger-light: #ef4444;
  --status-danger-text: #991b1b;
  --status-danger-bg: #fee2e2;
  --status-danger-bg-soft: #fef2f2;
  --status-danger-border: #fecaca;
  --status-danger-rgb: 220, 38, 38;
  --status-info: #3b82f6;
  --status-info-text: #1e40af;
  --status-info-bg: #dbeafe;
  --status-info-bg-soft: #eff6ff;
  --status-info-light: #60a5fa;
  --status-info-lightest: #93c5fd;
  --status-info-rgb: 59, 130, 246;
  --status-purple: #a855f7;
  --status-purple-bg: #f3e8ff;
  --status-attention: #eab308;
  --status-attention-bg: #fef9c3;

  /* Служебные мягкие заливки. Меняем редко, но держим в одном месте. */
  --tint-primary: #eff6ff;
  --tint-primary-strong: #eef2ff;
  --tint-primary-soft: #f0f4ff;
  --tint-primary-cool: #edf3ff;
  --tint-primary-pale: #f5f7ff;

  /* Алиасы приложения: старые блоки читают эти переменные. */
  --spd-accent: var(--brand-primary);
  --spd-accent-light: var(--brand-primary-light);
  --spd-accent-dark: var(--brand-primary-dark);
  --spd-accent-rgb: var(--brand-primary-rgb);
  --spd-bg: var(--brand-bg);
  --spd-surface: var(--brand-surface);
  --spd-surface-2: var(--brand-surface-muted);
  --spd-surface-subtle: var(--brand-surface-subtle);
  --spd-surface-hover: var(--brand-surface-hover);
  --spd-text: var(--brand-text);
  --spd-text-2: var(--brand-text-strong);
  --spd-text-soft: var(--brand-text-soft);
  --spd-text-secondary: var(--brand-text-secondary);
  --spd-muted: var(--brand-text-muted);
  --spd-muted-2: var(--brand-text-subtle);
  --spd-border: var(--brand-border);
  --spd-border-muted: var(--brand-border-muted);
  --spd-border-light: var(--brand-border-light);
  --spd-shadow: 0 1px 3px rgba(var(--brand-shadow-rgb), 0.06),
    0 1px 2px rgba(var(--brand-shadow-rgb), 0.04);
  --spd-shadow-md: 0 4px 16px rgba(var(--brand-shadow-rgb), 0.08),
    0 2px 4px rgba(var(--brand-shadow-rgb), 0.04);
  --spd-shadow-hover: 0 8px 24px rgba(var(--spd-accent-rgb), 0.14),
    0 2px 8px rgba(var(--brand-shadow-rgb), 0.04);
  --spd-shadow-btn: 0 4px 12px rgba(var(--spd-accent-rgb), 0.28);
  --spd-radius-card: 16px;
  --spd-radius-btn: 10px;
  --spd-radius-sm: 8px;
  --spd-radius-xs: 6px;
  --spd-ease: cubic-bezier(0.4, 0, 0.2, 1);
  --spd-transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --spd-transition-lg: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --spd-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;

  /* Quasar runtime palette: перекрывает цвета фреймворка без пересборки. */
  --q-primary: var(--brand-primary);
  --q-secondary: var(--brand-text-muted);
  --q-accent: var(--status-warning);
  --q-positive: var(--status-success-dark);
  --q-negative: var(--status-danger);
  --q-info: var(--status-info);
  --q-warning: var(--status-warning-dark);
  --q-dark: var(--brand-text);

  --pp-primary: var(--brand-personal-primary);
  --pp-primary-light: var(--brand-personal-primary-light);
  --pp-text: var(--brand-text-strong);
  --pp-text-muted: var(--brand-text-muted);
  --pp-border: var(--brand-personal-border);
  --pp-radius-card: var(--spd-radius-card);
  --pp-shadow-soft: 0 1px 3px rgba(0, 0, 0, 0.08);

  /* Старые алиасы EventsPageEx. Держим здесь, чтобы не было второго :root ниже. */
  --primary: var(--brand-personal-primary);
  --primary-light: var(--brand-personal-primary-hover);
  --primary-dark: var(--brand-personal-primary-dark);
  --secondary: var(--status-success);
  --accent: var(--status-warning);
  --surface: var(--brand-surface);
  --on-surface: var(--brand-text-strong);
  --on-surface-muted: var(--brand-text-muted);
  --border: var(--brand-personal-border);
  --hover: var(--brand-surface-hover);
  --success: var(--secondary);
  --dark-text: var(--brand-text);

  --ep-primary: var(--spd-accent);
  --ep-primary-light: var(--spd-accent-light);
  --ep-primary-hover: var(--spd-accent-dark);
  --ep-bg: var(--spd-bg);
  --ep-surface: var(--spd-surface);
  --ep-text: var(--spd-text);
  --ep-text-muted: var(--spd-muted);
  --ep-border: var(--spd-border);
  --ep-shadow-soft: var(--spd-shadow);
  --ep-shadow-hover: var(--spd-shadow-hover);
  --ep-radius-card: var(--spd-radius-card);
  --ep-radius-btn: var(--spd-radius-btn);
  --ep-radius-tab: 12px;
}

body {
  font-family: var(--spd-font) !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--spd-text);
}

.q-layout,
.q-page,
.q-drawer,
.q-header,
.q-footer,
.q-btn,
.q-item,
.q-input,
.q-field,
.q-card,
.q-tab,
.q-dialog,
.q-chip,
.q-badge,
.q-toolbar {
  font-family: var(--spd-font) !important;
}

.QRCodeImg {
  user-drag: none;
  -webkit-user-drag: none;
  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}

.noselect {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* ============================================================
   SPD Cabinet — Global Stylesheet
   Design system: Athletic Refined · Inter · var(--brand-primary)
   ============================================================ */

/* ============================================================
   § 1 — LAYOUTS
   ============================================================ */
.SPDMainLayout {
  background: var(--spd-bg);
  background-image: radial-gradient(
      ellipse 60% 50% at 5% 50%,
      rgba(var(--brand-primary-rgb), 0.04) 0%,
      transparent 70%
    ),
    radial-gradient(
      ellipse 40% 30% at 95% 10%,
      rgba(var(--brand-primary-rgb), 0.03) 0%,
      transparent 60%
    );
}

.SPDFullScreenLayout {
  background: var(--spd-bg);
}

/* q-page-container: no special max-width here — SPDPageOuter handles it */
.SPDPageBox {
  width: 100%;
}

/* ── Outer flex row: sidebar + content, centred at 1280px ── */
.SPDPageOuter {
  display: flex;
  align-items: flex-start;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
  /* right padding only — sidebar sits flush left within the box */
  padding: 0 20px 0 0;
  min-height: 100%;
}

/* ── Inline sticky sidebar (desktop) ── */
.SPDSidebar {
  width: 220px;
  flex-shrink: 0;
  /* Stick below the 64px header */
  position: sticky;
  top: 64px;
  /* Full viewport height minus header — sidebar scrolls independently */
  height: calc(100vh - 64px);
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
  /* No background: transparent, blends with page bg */
  background: transparent;
}
.SPDSidebar::-webkit-scrollbar {
  display: none;
}

/* Sidebar inner flex column: user-menu → nav (flex-1) → logout */
.SPDSidebarInner {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 20px 8px 24px;
  gap: 0;
}

/* User / settings menu row at top of sidebar */
.SPDSidebarUser {
  margin-bottom: 4px;
}

.SPDSidebarUserBtn {
  border-radius: var(--spd-radius-sm) !important;
  background: transparent !important;
  color: var(--spd-text-2) !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  text-align: left !important;
  justify-content: flex-start !important;
  padding: 8px 12px !important;
  height: auto !important;
  letter-spacing: -0.01em !important;
  transition: background var(--spd-transition) !important;
}
.SPDSidebarUserBtn:hover {
  background: rgba(var(--brand-primary-rgb), 0.06) !important;
}

/* Subtle separator */
.SPDSidebarDivider {
  height: 1px;
  background: var(--spd-border-light);
  margin: 8px 4px;
}

/* Nav takes all available space */
.SPDSidebarNav {
  flex: 1;
  padding: 4px 0;
}

/* Footer section (logout) pinned at bottom */
.SPDSidebarFooter {
  padding-top: 4px;
}

/* ── Content area: flex-1, fills remaining width ── */
.SPDPageContent {
  flex: 1;
  min-width: 0;
  /* Left padding creates visual gap between sidebar and content */
  padding: 0 0 0 8px;
}

/* Mobile: add bottom padding so footer doesn't overlap content */
@media (max-width: 767px) {
  .SPDPageContent {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }
}

/* Legacy alias — kept so any old SPDPageInner refs don't break */
.SPDPageInner {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
  padding: 0 20px;
}

/* ============================================================
   § 2 — HEADER
   ============================================================ */
.SPDLayoutHeader {
  background: rgba(var(--brand-white-rgb), 0.96) !important;
  border-bottom: 1px solid var(--spd-border-light);
  box-shadow: 0 1px 0 var(--spd-border-light) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Toolbar explicit height */
.SPDLayoutHeader .q-toolbar {
  min-height: 64px;
  padding: 0;
}

.SPDAppHeader {
  background: transparent;
  color: var(--spd-text);
}

.SPDHeaderBox {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
  padding: 0 12px;
  display: flex;
  align-items: center;
}

.SPDHeaderLeft {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  min-width: 0;
}

.SPDHeaderRight {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Logo link */
.SPDLogoLink {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 4px;
  text-decoration: none;
  outline: none;
}
.SPDLogoLink:hover .SPDLogoSquare {
  transform: translateY(-1px);
}

/* Logo container */
.SPDLogoSquare {
  width: fit-content;
  max-width: min(196px, 36vw);
  height: 52px;
  padding: 7px 12px;
  border-radius: 12px;
  background: var(--spd-logo-bg, var(--spd-accent));
  border: 1px solid rgba(var(--brand-white-rgb), 0.24);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: none;
  transition: transform var(--spd-transition);
}
.SPDLogoSquare--transparent {
  padding: 0;
  background: transparent !important;
  border-color: transparent;
  box-shadow: none;
}
.SPDLogoImg {
  display: block;
  width: auto;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  background: transparent !important;
}

/* Title text next to logo */
.SPDLogoTitle {
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--spd-text);
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 200px;
}
@media (max-width: 480px) {
  .SPDLogoSquare {
    width: fit-content;
    max-width: min(150px, 42vw);
    height: 48px;
    padding: 6px 10px;
  }

  .SPDLogoSquare--transparent {
    padding: 0;
  }

  .SPDLogoTitle {
    display: none;
  }
}

/* "На сайт" link — desktop only */
.SPDSiteLink {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: var(--spd-radius-sm);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--spd-muted);
  text-decoration: none;
  transition: background var(--spd-transition), color var(--spd-transition);
  white-space: nowrap;
}
.SPDSiteLink:hover {
  background: var(--spd-border-light);
  color: var(--spd-accent);
}
@media (max-width: 767px) {
  .SPDSiteLink {
    display: none;
  }
}

/* Vertical divider between sections */
.SPDHeaderDivider {
  width: 1px;
  height: 22px;
  background: var(--spd-border);
  flex-shrink: 0;
  margin: 0 2px;
}
@media (max-width: 767px) {
  .SPDHeaderDivider {
    display: none;
  }
}

/* User avatar pill */
.SPDUserPill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 6px 4px 10px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  text-decoration: none;
  transition: background var(--spd-transition),
    border-color var(--spd-transition);
  cursor: pointer;
}
.SPDUserPill:hover {
  background: var(--spd-surface-2);
  border-color: var(--spd-border);
}
.SPDUserPillName {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--spd-text-2);
  white-space: nowrap;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 479px) {
  .SPDUserPillName {
    display: none;
  }
}

/* Avatar circle */
.SPDUserAvatarWrap {
  position: relative;
  flex-shrink: 0;
}
.SPDUserAvatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--spd-accent-light);
  color: var(--spd-accent);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--spd-surface);
  box-shadow: var(--spd-shadow);
  text-transform: uppercase;
}
/* Online indicator dot */
.SPDUserOnlineDot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--status-success);
  border: 2px solid var(--spd-surface);
}

/* Legacy — keep SPDHeaderLogo for backward compat */
.SPDHeaderLogo {
  object-fit: contain;
  object-position: left;
  height: 38px;
  max-height: 38px;
  max-width: 200px;
  background: none !important;
}
.SPDHeaderLogo img {
  object-fit: contain !important;
  object-position: left !important;
}

.SPDMenuButton {
  border-radius: var(--spd-radius-sm) !important;
  color: var(--spd-muted) !important;
  transition: background var(--spd-transition), color var(--spd-transition) !important;
}
.SPDMenuButton:hover {
  background: var(--spd-border-light) !important;
  color: var(--spd-text) !important;
}

.SPDShoppingCart {
  border-radius: var(--spd-radius-sm) !important;
  color: var(--spd-muted) !important;
  transition: background var(--spd-transition), color var(--spd-transition) !important;
}
.SPDShoppingCart:hover {
  background: var(--spd-border-light) !important;
  color: var(--spd-text) !important;
}

.SPDShoppingCartBox {
  min-width: 280px;
  border-radius: var(--spd-radius-card) !important;
  box-shadow: var(--spd-shadow-md) !important;
  border: 1px solid var(--spd-border) !important;
}

.SPDHomeButton {
  border-radius: var(--spd-radius-sm) !important;
  color: var(--spd-muted) !important;
  transition: background var(--spd-transition), color var(--spd-transition) !important;
}
.SPDHomeButton:hover {
  background: var(--spd-border-light) !important;
  color: var(--spd-text) !important;
}

/* ============================================================
   § 3 — FOOTER & MOBILE BOTTOM NAV
   ============================================================ */
footer.q-layout__section--marginal {
  background-color: transparent;
}

/* Hide footer text on mobile — bottom nav takes full footer space */
.SPDAppFooter--desktop-only {
  display: none;
}
@media (min-width: 1024px) {
  .SPDAppFooter--desktop-only {
    display: block;
  }
}

.SPDAppFooter {
  font-size: 0.8125rem;
  color: var(--spd-muted);
}
.SPDAppFooter a {
  text-decoration: none;
  line-height: 1.4;
  padding-right: 100px;
  color: var(--spd-muted);
  transition: color var(--spd-transition);
}
.SPDAppFooter a:hover {
  color: var(--spd-accent);
}

.SPDFooterBox {
  min-height: 30px;
  height: auto;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
  padding: 8px 20px;
}

.SPDFooterText {
  width: 100%;
  align-items: center;
}

/* ============================================================
   § 4 — NAVIGATION SIDEBAR (Desktop) — inline sticky, no q-drawer
   ============================================================ */

/* Legacy: .SPDMenuDrawer still referenced in code but no longer a Quasar drawer */
.SPDMenuDrawer {
  background: transparent !important;
  border-right: none !important;
}

.SPDMenu {
  padding: 16px 8px;
}

.SPDMenuSectionLabel {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--spd-muted-2);
  padding: 16px 12px 6px;
  user-select: none;
}

/* Desktop nav items */
.SPDMenuItem {
  padding: 10px 14px;
  border-radius: var(--spd-radius-sm);
  margin: 1px 0;
  color: var(--spd-text-2);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: background var(--spd-transition), color var(--spd-transition);
  cursor: pointer;
  /* Fill full sidebar width */
  width: 100%;
}
.SPDMenuItem:hover {
  background: rgba(var(--brand-primary-rgb), 0.06);
  color: var(--spd-text);
}
.SPDMenuItem.q-router-link--active,
.SPDMenuItem.q-router-link--exact-active {
  background: var(--spd-accent-light);
  color: var(--spd-accent);
  font-weight: 600;
  border-left: 3px solid var(--spd-accent);
  padding-left: 11px;
}
.SPDMenuItem.q-router-link--active .q-icon,
.SPDMenuItem.q-router-link--exact-active .q-icon {
  color: var(--spd-accent);
}
.SPDMenuItem .q-icon {
  color: var(--spd-muted);
  transition: color var(--spd-transition);
  font-size: 1.25rem;
}
.SPDMenuItem:hover .q-icon {
  color: var(--spd-accent);
}

/* ============================================================
   § 5 — MOBILE BOTTOM NAV
   ============================================================ */
.SPDMainLayout > .q-footer {
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
}

@media (max-width: 767px) {
  .SPDMainLayout > .q-footer {
    position: fixed !important;
  }
}

.SPDMobileMenu {
  display: flex;
  align-items: stretch;
  min-height: 64px;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: rgba(var(--brand-white-rgb), 0.97);
  border-top: 1px solid var(--spd-border-light);
  box-shadow: 0 -4px 16px rgba(var(--brand-shadow-rgb), 0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.SPDMobileMenu .row {
  width: 100%;
  justify-content: space-around;
  align-items: center;
  padding: 0 8px;
}

.SPDMenuItemMobile {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0 !important;
  padding: 4px 4px 5px !important;
  font-family: var(--spd-font) !important;
  font-size: 0.625rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
  line-height: 1 !important;
  width: 100% !important;
  min-height: 52px !important;
  color: var(--spd-muted) !important;
  background: transparent !important;
  border-radius: var(--spd-radius-sm) !important;
  transition: color 0.15s ease !important;
}
/* Hover: only colour shift, no background flash */
.SPDMenuItemMobile:hover:not(.q-router-link--active):not(.q-router-link--exact-active) {
  color: var(--spd-text-2) !important;
}
/* Active */
.SPDMenuItemMobile.q-router-link--active,
.SPDMenuItemMobile.q-router-link--exact-active {
  color: var(--spd-accent) !important;
}

/* ── Icon wrap — the active pill lives here (Material 3 pattern) ── */
.SPDNavIconWrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 28px;
  border-radius: 14px;
  background: transparent;
  transition: background 0.2s ease;
  margin-bottom: 3px;
}
.SPDMenuItemMobile.q-router-link--active .SPDNavIconWrap,
.SPDMenuItemMobile.q-router-link--exact-active .SPDNavIconWrap {
  background: var(--spd-accent-light);
}

/* ── Icon — spring scale on active, no vertical shift ── */
.SPDMenuItemMobile .q-icon {
  display: inline-flex !important;
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1),
    color 0.15s ease !important;
  will-change: transform;
  color: inherit;
}
.SPDMenuItemMobile.q-router-link--active .q-icon,
.SPDMenuItemMobile.q-router-link--exact-active .q-icon {
  transform: scale(1.12) !important;
  color: var(--spd-accent) !important;
}
.SPDMenuItemMobile:hover:not(.q-router-link--active):not(.q-router-link--exact-active)
  .q-icon {
  transform: scale(1.06) !important;
}

.SPDMenuItemMobileIcon {
  font-size: 1.25rem;
}

/* ============================================================
   § 6 — MOBILE NAV LABEL
   ============================================================ */
.SPDMobileNavLabel {
  font-size: 0.66rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.03em;
  transition: color 0.15s ease;
}

/* ============================================================
   § 7 — LOGIN PAGE
   ============================================================ */
.SPDLoginPage {
  background: linear-gradient(145deg, var(--spd-bg) 0%, var(--tint-primary-strong) 100%);
  min-height: 100vh;
}
.SPDLoginWrapper {
  width: min(440px, 100vw - 32px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.SPDLoginBox {
  border: 1px solid var(--spd-border) !important;
  border-radius: var(--spd-radius-card) !important;
  box-shadow: var(--spd-shadow-md) !important;
  overflow: hidden !important;
}
.SPDLoginAccentBar {
  height: 4px;
  background: linear-gradient(90deg, var(--spd-accent) 0%, #6b8ff0 100%);
}
.SPDLoginCardBody {
  padding: 28px 32px 28px;
}
.SPDLoginHeader {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
.SPDLoginIconWrap {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: var(--spd-accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(var(--spd-accent-rgb), 0.3);
}
.SPDLoginTitle {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--spd-text);
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.SPDLoginSubtitle {
  font-size: 0.8125rem;
  color: var(--spd-muted);
  margin-top: 3px;
  line-height: 1.4;
}
/* Auth type pill tabs */
.SPDLoginTabRow {
  display: flex;
  background: var(--spd-surface-2);
  border-radius: var(--spd-radius-sm);
  padding: 3px;
  margin-bottom: 16px;
  gap: 2px;
}
.SPDLoginTab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 12px;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: var(--spd-muted);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--spd-transition);
  font-family: var(--spd-font);
}
.SPDLoginTab.active {
  background: var(--brand-surface);
  color: var(--spd-accent);
  box-shadow: 0 1px 4px rgba(var(--brand-shadow-rgb), 0.1);
}
.SPDLoginTab:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.SPDLoginTab:hover:not(.active):not(:disabled) {
  background: rgba(var(--brand-white-rgb), 0.55);
  color: var(--spd-text-2);
}
.SPDLoginInput {
  margin-bottom: 12px;
}
/* Светлый фон + мягкая рамка для outlined-инпутов на странице входа */
.SPDLoginInput .q-field__control {
  background: var(--brand-surface) !important;
  border-radius: var(--spd-radius-sm) !important;
}
.SPDLoginInput .q-field__control::before {
  border-color: var(--spd-border) !important;
  border-radius: var(--spd-radius-sm) !important;
  transition: border-color var(--spd-transition),
    box-shadow var(--spd-transition) !important;
}
.SPDLoginInput .q-field__control::after {
  border-radius: var(--spd-radius-sm) !important;
}
.SPDLoginInput.q-field--focused .q-field__control::before,
.SPDLoginInput .q-field--focused .q-field__control::before {
  border-color: var(--spd-accent) !important;
  box-shadow: 0 0 0 3px rgba(var(--spd-accent-rgb), 0.12) !important;
}
.SPDLoginInput .q-field__prepend {
  color: var(--spd-muted);
}
.SPDLoginInput.q-field--focused .q-field__prepend,
.SPDLoginInput .q-field--focused .q-field__prepend {
  color: var(--spd-accent);
}
.SPDCaptchaImg {
  border-radius: var(--spd-radius-sm);
  margin-bottom: 10px;
}
.SPDLoginConsents {
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.SPDLoginBtnEnter {
  width: 100%;
  height: 48px;
  background: var(--spd-accent) !important;
  color: var(--brand-surface) !important;
  border-radius: var(--spd-radius-btn) !important;
  font-size: 0.9375rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em !important;
  box-shadow: var(--spd-shadow-btn) !important;
  transition: background var(--spd-transition), box-shadow var(--spd-transition),
    transform var(--spd-transition) !important;
}
.SPDLoginBtnEnter:hover {
  background: var(--spd-accent-dark) !important;
  box-shadow: 0 6px 18px rgba(var(--spd-accent-rgb), 0.36) !important;
  transform: translateY(-1px) !important;
}
.SPDLoginBtnEnter:active {
  transform: scale(0.98) translateY(0) !important;
}
/* OTP boxes */
.SPDOtpLabel {
  text-align: center;
  font-size: 0.875rem;
  color: var(--spd-muted);
  margin: 0 0 20px;
}
.SPDOtpGroup {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 24px;
}
.SPDOtpBox {
  width: 64px;
  height: 72px;
  border: 2px solid var(--spd-border);
  border-radius: var(--spd-radius-sm);
  font-size: 1.75rem;
  font-weight: 700;
  text-align: center;
  color: var(--spd-text);
  background: var(--spd-surface);
  outline: none;
  transition: border-color var(--spd-transition),
    box-shadow var(--spd-transition), background var(--spd-transition);
  font-family: var(--spd-font);
  caret-color: transparent;
}
.SPDOtpBox::placeholder {
  color: var(--spd-border);
  font-weight: 400;
}
.SPDOtpBox:focus {
  border-color: var(--spd-accent);
  box-shadow: 0 0 0 3px rgba(var(--spd-accent-rgb), 0.14);
}
.SPDOtpBox:not(:placeholder-shown) {
  border-color: var(--spd-accent);
  background: var(--spd-accent-light);
}
.SPDOtpFooter {
  text-align: center;
  margin-bottom: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.SPDOtpTimerText {
  font-size: 0.8125rem;
  color: var(--spd-muted);
}
.SPDOtpTimer {
  font-weight: 600;
  color: var(--spd-accent);
  margin-left: 2px;
}
.SPDLoginBtnResend {
  color: var(--spd-accent) !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
}
.SPDLoginBtnBack {
  width: 100%;
  color: var(--spd-muted) !important;
  font-size: 0.8125rem !important;
  margin-top: 4px;
}

/* ============================================================
   § 8 — MAIN PAGE: stat blocks + action buttons
   ============================================================ */
.SPDMainPage {
  min-height: 0 !important;
}

.SPDPersonalBalance {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  width: 100%;
}
.SPDPersonalBalance__top {
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.SPDPersonalBalance__label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--spd-muted);
  margin: 0;
}
.SPDPersonalBalance__value {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--spd-text);
  line-height: 1.1;
  margin: 0;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.SPDMainPageButton {
  border: 1px solid var(--spd-border) !important;
  border-radius: var(--spd-radius-card) !important;
  background: var(--spd-surface) !important;
  color: var(--spd-text) !important;
  text-align: left !important;
  justify-content: flex-start !important;
  width: 100%;
  padding: 16px 20px !important;
  font-size: 0.9375rem !important;
  font-weight: 500 !important;
  letter-spacing: -0.01em !important;
  box-shadow: var(--spd-shadow) !important;
  height: auto !important;
  transition: border-color var(--spd-transition),
    box-shadow var(--spd-transition), transform var(--spd-transition) !important;
}
.SPDMainPageButton:hover {
  border-color: rgba(var(--spd-accent-rgb), 0.35) !important;
  box-shadow: var(--spd-shadow-hover) !important;
  transform: translateY(-1px) !important;
}
.SPDMainPageButton:active {
  transform: scale(0.99) !important;
}

/* ============================================================
   § 9 — PERSONAL PAGE
   ============================================================ */
.SPDPersonalPage {
  min-height: 0 !important;
  margin-top: 20px;
}

/* CSS Grid: 2 равные колонки, все ячейки одинаковой высоты */
.SPDPersonalGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 320px;
  gap: 12px;
  padding: 0 4px;
}
@media (max-width: 767px) {
  .SPDPersonalGrid {
    grid-template-columns: 1fr;
  }
}

/* Все ячейки занимают ровно 1 колонку, не растягиваются */
.SPDPersonalGrid > * {
  grid-column: span 1;
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Внутренние q-card и компоненты растягиваются на 100% ячейки */
.SPDPersonalGrid > * > .q-card,
.SPDPersonalGrid > * > [class*='Block'] {
  flex: 1;
  min-height: 0;
  overflow: auto;
}

.SPDPersonalCard {
  width: 100%;
  background: var(--spd-surface);
  border: 1px solid var(--spd-border);
  border-radius: var(--spd-radius-card);
  overflow: hidden;
  box-shadow: var(--spd-shadow);
}

/* account block */
.SPDPersonalAccount {
  width: 100%;
  background: var(--spd-surface);
  border: 1px solid var(--spd-border);
  border-radius: var(--spd-radius-card);
  overflow: hidden;
  box-shadow: var(--spd-shadow);
}

.SPDPersonalActions {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  gap: 16px;
}

.SPDButton--action {
  height: 42px;
  padding: 0 24px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.SPDButton--primary {
  background: var(--spd-accent);
  color: var(--brand-surface);
  border-radius: var(--spd-radius-btn);
  box-shadow: var(--spd-shadow-btn);
  transition: background var(--spd-transition), box-shadow var(--spd-transition),
    transform var(--spd-transition);
}
.SPDButton--primary:hover {
  background: var(--spd-accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(var(--spd-accent-rgb), 0.36);
}
.SPDButton--primary:active {
  transform: scale(0.98);
}
.SPDButton--secondary {
  background: transparent;
  border: 1.5px solid var(--spd-accent);
  color: var(--spd-accent);
  border-radius: var(--spd-radius-btn);
  transition: background var(--spd-transition), color var(--spd-transition);
}
.SPDButton--secondary:hover {
  background: var(--spd-accent-light);
  color: var(--spd-accent-dark);
}

.SPDButtonLink {
  background: transparent;
  border: none;
  padding: 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--spd-muted);
  cursor: pointer;
  line-height: 1;
  align-self: center;
  transition: color var(--spd-transition);
}
.SPDButtonLink:hover {
  background: transparent;
  color: var(--spd-accent);
}

/* button */
.SPDButton {
  border: none;
  cursor: pointer;
  border-radius: var(--spd-radius-btn);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  transition: background-color var(--spd-transition),
    color var(--spd-transition), box-shadow var(--spd-transition),
    transform var(--spd-transition);
}

/* data block */
.q-card.SPDPersonalDataCard {
  max-width: 422px;
  height: 216px;
  width: 100%;
  background: var(--spd-surface);
  border: 1px solid var(--spd-border);
  border-radius: var(--spd-radius-card);
  overflow: hidden;
  box-shadow: var(--spd-shadow);
}
.q-card.SPDPersonalDataCard .q-card__section {
  height: 100%;
  padding: 24px;
  display: flex;
  flex-direction: column;
}
.SPDPersonalDataCard__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.SPDPersonalDataCard__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--spd-text);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.SPDPersonalDataCard__list {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.SPDPersonalDataCard__item {
  background: transparent;
  border: none;
  padding: 0;
  text-align: left;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--spd-text-2);
  cursor: pointer;
  line-height: 1.3;
  transition: color var(--spd-transition);
}
.SPDPersonalDataCard__item:hover {
  color: var(--spd-accent);
}
.SPDButton--edit {
  width: 110px;
  height: 32px;
  padding: 0;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
  border-radius: var(--spd-radius-xs) !important;
}

/* ============================================================
   § 10 — IDENTIFIERS (карты и билеты)
   ============================================================ */
.SPDIds__section {
  padding: 24px;
}
.SPDIds__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.SPDIds__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--spd-text);
  letter-spacing: -0.02em;
}
.SPDIds__carousel {
  margin-top: 16px;
}
.SPDIds__track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 6px 60px 6px 0;
  scrollbar-width: none;
}
.SPDIds__track::-webkit-scrollbar {
  display: none;
}
.SPDIds__track::after {
  content: '';
  flex: 0 0 110px;
}

/* карточка SkiPass */
.SPDIdCard {
  flex: 0 0 auto;
  width: 288px;
  height: 166px;
  border-radius: var(--spd-radius-card);
  padding: 20px;
  color: var(--brand-surface);
  background: linear-gradient(
    135deg,
    var(--spd-accent) 0%,
    var(--spd-accent-dark) 100%
  );
  position: relative;
  scroll-snap-align: start;
  transition: transform 200ms var(--spd-ease), opacity 200ms var(--spd-ease),
    box-shadow 200ms var(--spd-ease);
  box-shadow: 0 4px 16px rgba(var(--spd-accent-rgb), 0.3);
}
.SPDIdCard.is-active {
  transform: translateX(0) scale(1);
  opacity: 1;
  z-index: 3;
}
.SPDIdCard:not(.is-active) {
  transform: translateX(-80px) scale(0.9);
  opacity: 0.65;
  z-index: 1;
  box-shadow: none;
}
.SPDIdCard__name {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.SPDIdCard__subtitle {
  margin-top: 4px;
  font-size: 0.75rem;
  font-weight: 500;
  opacity: 0.85;
}
.SPDIdCard__bottom {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 16px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  font-size: 0.75rem;
  font-weight: 500;
}

/* карточка "купить билет" */
.q-card.SPDBuyTicketCard {
  max-width: 422px;
  width: 100%;
  height: 78px;
  border-radius: var(--spd-radius-card);
  background: var(--spd-surface);
  border: 1px solid var(--spd-border);
  box-shadow: var(--spd-shadow);
  overflow: hidden;
  transition: box-shadow var(--spd-transition), transform var(--spd-transition),
    border-color var(--spd-transition);
}
.q-card.SPDBuyTicketCard:hover {
  box-shadow: var(--spd-shadow-hover);
  transform: translateY(-2px);
  border-color: rgba(var(--spd-accent-rgb), 0.3);
}
.SPDBuyTicketCard__section {
  height: 100%;
  padding: 16px 24px;
  display: flex;
  align-items: center;
}
.SPDBuyTicketCard__content {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.SPDBuyTicketCard__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--spd-text);
  letter-spacing: -0.01em;
}
.SPDButton--buy {
  height: 40px;
  padding: 0 20px;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--spd-radius-btn);
}

/* ident identifier blocks */
.SPDPersonalIdentifiers {
}
.SPDClientIdentifiersBlock {
}
.q-card.SPDClientIdentifiersBlock {
  overflow: visible;
}
.SPDIdentBoxHeader {
  width: 100%;
}
.SPDIdentAddBtn {
  justify-items: end;
}
.SPDIdentCarousel {
  height: auto;
}

.SPDIdentCard {
  background-repeat: no-repeat !important;
  background-image: url('/misc/default/bg_card.png') !important;
  background-size: 100% 100% !important;
}
.SPDIdentTicket {
  background-repeat: no-repeat !important;
  background-image: url('/misc/default/bg_ticket.png') !important;
  background-size: 100% 100% !important;
}

.ClientAddIdentifierDialog {
}
.SPDIdentDialog {
}
.SPDIdentDialogBox {
  max-height: 70vh;
  text-align: center;
}
.SPDIdentDialogQRCode {
  max-height: 150px;
  max-width: 150px;
  height: 130px;
  width: 130px;
  min-height: 130px;
  min-width: 130px;
}
.SPDIdentDialogText {
}
.SPDIdentBox {
}
.SPDShowIdentBtn {
  align-content: top;
}
.SPDIdentInfo {
  align-content: center;
}
.SPDIdentPackages {
}
.SPDIdentPack {
}
.SPDIdentAdditions {
}
.SPDIdentAddon {
}

/* ============================================================
   § 11 — DOCUMENTS, GUARDIAN, ORDERS, PAYMENTS (personal blocks)
   ============================================================ */
.SPDPersonalDocuments {
}
.SPDPersonalDocumentsBlock {
}
.SPDClientDocumentsBlock {
}
.SPDDocumentBox {
  width: 100%;
  border: 1px;
}
.SPDDocumentHeader {
}
.SPDDocumentPerson {
}
.SPDDocumentInfo {
}

.SPDPersonalGuardian {
}
.SPDPersonalGuardianBlock {
}
.SPDClientGuardianBlock {
}
.SPDGuardianHeader {
  width: 100%;
}
.SPDGuardLst {
}

.SPDPersonalOrders .q-card {
  width: 100%;
}
.SPDPersonalOrdersBlock {
}
.SPDClientOrders {
}
.SPDOrdersHeader {
  width: 100%;
}
.SPDOrdersHeaderBtn {
}
.SPDOrdersList {
}
.SPDOrdersListItem {
}
.SPDOrderInfo {
}

.SPDPersonalInstrOrders {
}
.SPDPersonalInstrOrdersBlock {
}
.ClientInstrOrders {
}
.SPDInstrOrdersHeader {
  width: 100%;
}
.SPDInstrOrdersHeaderBtn {
}
.SPDInstrOrdersList {
}
.SPDInstrOrdersListItem {
}
.SPDInstrOrderInfo {
}

.SPDPersonalPayments {
}
.SPDPersonalPaymentsBlock {
}
.SPDClientPayments {
}
.SPDPaymentsHeader {
  width: 100%;
}
.SPDPaymentsList {
  width: 100%;
}
.SPDPaymentsListItem {
}
.SPDPaymentDocInfo {
}
.SPDPaymentDialogRequest {
}
.SPDPaymentDialogReport {
}

/* ============================================================
   § 12 — IDENTIFIER COLOR STATES
   ============================================================ */
.ident-empty {
  flex: auto;
  max-width: 600px !important;
  color: white;
  background: var(--brand-text-subtle);
  height: 100%;
  border-radius: var(--spd-radius-sm);
}
.ident-empty:hover {
  outline: var(--status-danger-light) solid 0.3rem;
}

.ident-main {
  flex: auto;
  max-width: 600px !important;
  color: white;
  background: linear-gradient(135deg, #b45309 0%, var(--status-warning-text) 100%);
  height: 100%;
  border-radius: var(--spd-radius-sm);
}
.ident-main:hover {
  outline: var(--status-success) solid 0.3rem;
}

.ident-guard {
  flex: auto;
  max-width: 600px !important;
  color: white;
  background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
  border-radius: var(--spd-radius-sm);
}
.ident-guard:hover {
  outline: #f97316 solid 0.3rem;
}

.ident-linked {
  flex: auto;
  max-width: 600px !important;
  color: white;
  background: linear-gradient(135deg, var(--status-danger) 0%, #b91c1c 100%);
  border-radius: var(--spd-radius-sm);
}
.ident-linked:hover {
  outline: var(--status-danger-light) solid 0.3rem;
}

.ident-add {
  flex: auto;
  max-width: 600px !important;
  color: var(--spd-text);
  background: var(--spd-surface-2);
  border: 1.5px dashed var(--spd-border);
  border-radius: var(--spd-radius-sm);
}
.ident-add:hover {
  outline: var(--status-success) solid 0.3rem;
}

.ident-selected {
  flex: auto;
  max-width: 600px !important;
  outline: var(--status-success) solid 0.4rem;
}

/* ============================================================
   § 13 — EVENTS
   ============================================================ */
.EventsPage {
}
.eventCard {
  width: 100%;
  max-width: 450px;
  cursor: pointer;
  border-radius: var(--spd-radius-card) !important;
  transition: box-shadow var(--spd-transition), transform var(--spd-transition) !important;
}
.eventCard:hover {
  box-shadow: var(--spd-shadow-hover) !important;
  transform: translateY(-2px) !important;
}
.eventSelectCard {
  width: 100%;
  max-width: 450px;
  cursor: pointer;
  border-radius: var(--spd-radius-card) !important;
}
.ep-venue-name {
  font-size: 15px !important;
}
.ep-slot-name {
  font-weight: 600 !important;
}
.events-header {
}
.events-order {
}
.events-calendar {
}
.events-hallplan {
}
.events-hallplan-popup {
}
.events-hallplan-loading {
}
.events-tickets {
}
.events-error {
}
.events-cancel {
}

.events2-venue-header {
  background: linear-gradient(135deg, var(--spd-accent-light) 0%, var(--tint-primary-soft) 100%);
  border: 1px solid rgba(var(--spd-accent-rgb), 0.2);
  border-radius: 20px;
}

/* Page: Events Order */
.EventOrderPage {
}
.order-printbox {
}
.order-info {
}
.order-ticket {
}
.order-fiscaldoc {
}

/* ============================================================
   § 14 — INSTRUCTORS & TRAININGS
   ============================================================ */
.InstrPage {
}
.InstrBlockHeader {
  position: static;
  max-width: 480px;
  left: 0;
  top: 0;
  color: var(--spd-text);
  flex: none;
  order: 0;
  flex-grow: 0;
  margin: auto;
  font-family: var(--spd-font);
  font-size: 2rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  text-align: center;
}
.InstrWorktime {
}
.TrainingsPage {
}

/* ============================================================
   § 15 — PAYMENT / SERVICES PAGE
   ============================================================ */

.SPDPaymentPage {
  padding: 20px 24px;
  box-sizing: border-box;
}

/* ===== Header ===== */

.SPDPayHeader {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.SPDPayHeaderLeft {
  flex: 1;
  min-width: 0;
}

.SPDPayTitle {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--spd-text);
}

.SPDPaySubtitle {
  margin-top: 8px;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--spd-muted);
}

.SPDPayBreadcrumbs {
  margin-top: 10px;
  font-size: 0.875rem;
}

.SPDPayBreadcrumbEl {
  cursor: pointer;
  transition: color var(--spd-transition);
}

.SPDPayBreadcrumbEl:hover {
  color: var(--spd-accent);
}

.SPDPaySearch {
  width: 320px;
  max-width: 100%;
  flex-shrink: 0;
}

.SPDPaySearch .q-field__control {
  background: var(--spd-surface);
  border-radius: 999px !important;
}

/* ===== Categories ===== */

.SPDCatSection {
  margin-bottom: 30px;
}

.SPDCatSectionGrid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  flex: 1;
  padding: 4px 2px 10px;
}

.SPDCatSectionLabel {
  margin-bottom: 14px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--spd-muted);
}

.SPDCatCarouselWrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.SPDCatCarousel {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  flex: 1;
  padding: 4px 2px 10px;
}

.SPDCatCarousel::-webkit-scrollbar {
  display: none;
}

.SPDCatScrollBtn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--spd-border);
  background: var(--spd-surface);
  color: var(--spd-text-2);
  box-shadow: var(--spd-shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color var(--spd-transition), color var(--spd-transition),
    box-shadow var(--spd-transition), transform var(--spd-transition);
}

.SPDCatScrollBtn:hover:not(:disabled) {
  border-color: rgba(var(--spd-accent-rgb), 0.35);
  color: var(--spd-accent);
  box-shadow: var(--spd-shadow-hover);
  transform: scale(1.05);
}

.SPDCatScrollBtn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
}

/* ===== Horizontal category card ===== */

.SPDCatTile {
  width: 360px;
  min-width: 360px;
  min-height: 132px;

  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);

  border-radius: var(--spd-radius-card) !important;
  border: 1px solid var(--spd-border) !important;
  background: var(--spd-surface);
  box-shadow: var(--spd-shadow);
  overflow: hidden;
  cursor: pointer;
  flex-shrink: 0;

  transition: transform var(--spd-transition), box-shadow var(--spd-transition),
    border-color var(--spd-transition);
}

.SPDCatTile:hover,
.SPDCatTile:focus-visible {
  transform: translateY(-3px);
  box-shadow: var(--spd-shadow-hover);
  border-color: rgba(var(--spd-accent-rgb), 0.32) !important;
}

.SPDCatTileMedia {
  width: 100%;
  height: 100%;
  min-height: 132px;
  background: linear-gradient(145deg, var(--spd-accent-light) 0%, var(--tint-primary-cool) 100%);
  overflow: hidden;
}

.SPDCatTileImg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.SPDCatTileIconArea {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.SPDCatTileIcon {
  color: var(--spd-accent) !important;
  opacity: 0.95;
}

.SPDCatTileBody {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 16px 18px 16px 16px;
}

.SPDCatTileName {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--spd-text);
  letter-spacing: -0.01em;
}

.SPDCatTileDesc {
  margin-top: 6px;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--spd-muted);

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.SPDCatTileMeta {
  margin-top: auto;
  padding-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.SPDCatTileCount {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--spd-muted);
}

.SPDCatTileArrow {
  font-size: 1rem;
  font-weight: 700;
  color: var(--spd-accent);
  flex-shrink: 0;
}

/* ===== Services toolbar ===== */

.SPDSrvToolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.SPDSrvCount {
  display: flex;
  align-items: baseline;
  font-size: 0.9375rem;
}

.SPDSrvCountNum {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--spd-text);
  letter-spacing: -0.03em;
}

.SPDSrvCountLabel {
  color: var(--spd-muted);
}

.SPDSrvCountFilter {
  color: var(--spd-muted);
  font-style: italic;
}

.SPDSortSelect {
  width: 220px;
  max-width: 100%;
  flex-shrink: 0;
}

.SPDSortSelect .q-field__control {
  background: var(--spd-surface);
  border-radius: 999px !important;
}

/* ===== Services grid ===== */

.SPDServicesGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
  margin-bottom: 32px;
}

/* ===== Service card ===== */

.SPDSrvCard {
  display: flex;
  flex-direction: column;
  min-height: 360px;
  border-radius: var(--spd-radius-card) !important;
  border: 1px solid var(--spd-border) !important;
  background: var(--spd-surface);
  box-shadow: var(--spd-shadow);
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--spd-transition), box-shadow var(--spd-transition),
    border-color var(--spd-transition);
}

.SPDSrvCard:hover,
.SPDSrvCard:focus-visible {
  transform: translateY(-3px);
  box-shadow: var(--spd-shadow-hover);
  border-color: rgba(var(--spd-accent-rgb), 0.28) !important;
}

.SPDSrvCardMedia {
  position: relative;
  height: 170px;
  background: linear-gradient(145deg, var(--spd-accent-light) 0%, var(--tint-primary-cool) 100%);
  overflow: hidden;
  flex-shrink: 0;
}

.SPDSrvCardImg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.SPDSrvCardIconArea {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.SPDSrvCardIcon {
  color: var(--spd-accent) !important;
  opacity: 0.95;
}

.SPDSrvCardBody {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 16px 16px 12px;
}

.SPDSrvCardName {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--spd-text);
  letter-spacing: -0.01em;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.SPDSrvCardComment {
  margin-top: 8px;
  min-height: 62px;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--spd-muted);

  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.SPDSrvCardFooter {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px 16px;
  border-top: 1px solid var(--spd-border-light);
}

.SPDSrvCardPrice {
  min-width: 0;
  font-size: 1rem;
  font-weight: 800;
  color: var(--spd-accent);
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.SPDSrvCardBtn {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--spd-accent) !important;
  color: var(--brand-surface) !important;
  box-shadow: var(--spd-shadow-btn);
  flex-shrink: 0;
}

.SPDSrvCardBtn:hover {
  background: var(--spd-accent-dark) !important;
}

/* ===== Empty state ===== */

.SPDPayEmpty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 56px 24px;
  text-align: center;
}

.SPDPayEmptyIcon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--spd-surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.SPDPayEmptyTitle {
  font-size: 1rem;
  font-weight: 700;
  color: var(--spd-text-2);
}

.SPDPayEmptyHint {
  font-size: 0.875rem;
  color: var(--spd-muted);
}

.SPDPayIdent {
}

.SPDPayIdentSelected {
  outline: var(--brand-primary) solid 0.2rem !important;
}

/* ===== Mobile ===== */

@media (max-width: 767px) {
  /* мобильная шапка payment */
  .SPDPaymentPage {
    padding: 16px 12px;
  }

  .SPDPayHeader {
    gap: 16px;
    margin-bottom: 22px;
  }

  .SPDPayTitle {
    font-size: 1.625rem;
  }

  .SPDPaySearch {
    width: 100%;
    max-width: 100%;
  }

  /* секция категорий */
  .SPDCatSection {
    margin-bottom: 24px;
  }

  .SPDCatSectionLabel {
    margin-bottom: 12px;
  }

  /* на мобильном стрелки убираем */
  .SPDCatScrollBtn {
    display: none;
  }

  /* карусель категорий */
  .SPDCatCarouselWrap {
    display: block;
  }

  .SPDCatCarousel {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 4px 4px 10px;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .SPDCatCarousel::-webkit-scrollbar {
    display: none;
  }

  /* показываем 1.3–1.5 карточки */
  .SPDCatTile {
    width: 78vw;
    min-width: 78vw;
    max-width: 78vw;

    min-height: 112px;
    grid-template-columns: 88px minmax(0, 1fr);

    scroll-snap-align: start;
  }

  .SPDCatTileMedia {
    min-height: 112px;
    height: 100%;
  }

  .SPDCatTileBody {
    padding: 12px 14px 12px 12px;
  }

  .SPDCatTileName {
    font-size: 0.9375rem;
    line-height: 1.2;
  }

  .SPDCatTileDesc {
    margin-top: 4px;
    min-height: 34px;
    font-size: 0.75rem;
    line-height: 1.35;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .SPDCatTileMeta {
    padding-top: 8px;
  }

  .SPDCatTileCount {
    font-size: 0.75rem;
  }

  .SPDCatTileArrow {
    font-size: 0.9375rem;
  }

  /* услуги на мобилке */
  .SPDServicesGrid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .SPDSrvCard {
    min-height: 320px;
  }

  .SPDSrvCardMedia {
    height: 150px;
  }

  .SPDSrvCardBody {
    padding: 14px 14px 10px;
  }

  .SPDSrvCardName {
    font-size: 0.9375rem;
  }

  .SPDSrvCardComment {
    min-height: 54px;
    font-size: 0.8125rem;
    line-height: 1.45;
    -webkit-line-clamp: 3;
  }

  .SPDSrvCardFooter {
    padding: 10px 14px 14px;
  }

  .SPDSrvCardPrice {
    font-size: 0.9375rem;
  }

  .SPDSrvCardBtn {
    width: 40px;
    height: 40px;
  }
}
/* ============================================================
   § 16 — INFORMATION PAGE
   ============================================================ */
.SPDInformationPage {
  color: var(--spd-text);
}
.SPDInformationSummary {
}
.SPDInformationPayment {
}
.SPDInformationReturn {
}

/* ============================================================
   § 17 — 404 PAGE
   ============================================================ */
.SPD404Page {
  background: var(--spd-bg);
  min-height: 100vh;
}
.SPD404Content {
  padding: 48px 20px;
}
.SPD404Code {
  font-size: clamp(5rem, 20vw, 9rem);
  font-weight: 900;
  color: var(--spd-accent);
  line-height: 1;
  letter-spacing: -0.05em;
}
.SPD404Title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--spd-text);
  margin-top: 16px;
  letter-spacing: -0.03em;
}
.SPD404Subtitle {
  font-size: 0.9375rem;
  color: var(--spd-muted);
  max-width: 340px;
  margin: 8px auto 0;
  line-height: 1.6;
}
.SPD404Btn {
  border-radius: var(--spd-radius-btn) !important;
  height: 48px;
  padding: 0 36px !important;
  font-weight: 600 !important;
  font-size: 0.9375rem !important;
  box-shadow: var(--spd-shadow-btn) !important;
  transition: box-shadow var(--spd-transition), transform var(--spd-transition) !important;
}
.SPD404Btn:hover {
  box-shadow: 0 6px 20px rgba(var(--spd-accent-rgb), 0.36) !important;
  transform: translateY(-1px) !important;
}

/* ============================================================
   § B — EXPANSION ITEMS
   ============================================================ */
.q-card > .q-expansion-item {
  border-bottom: 1px solid var(--spd-border-light);
}
.q-card > .q-expansion-item:last-child {
  border-bottom: none;
}
.q-expansion-item .q-expansion-item__header {
  padding: 14px 20px;
}
.q-expansion-item .q-expansion-item__header .q-item__label {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--spd-text);
  letter-spacing: -0.01em;
}

/* ============================================================
   § C — TABS
   ============================================================ */
.q-tab {
  font-size: 0.875rem;
  font-weight: 600;
  min-height: 48px;
  letter-spacing: -0.01em;
}
.q-tab--active {
  color: var(--spd-accent) !important;
}
.q-tabs__content .q-tab-indicator {
  background: var(--spd-accent) !important;
  height: 2px;
}

/* ============================================================
   § D — DIALOGS
   ============================================================ */
.q-dialog .q-card {
  border-radius: var(--spd-radius-card) !important;
  box-shadow: 0 20px 60px rgba(var(--brand-shadow-rgb), 0.15) !important;
}
.q-dialog .q-card__section--vert:first-child {
  padding: 24px 28px 12px;
}
.q-dialog .q-card__actions {
  padding: 12px 28px 24px;
  gap: 8px;
}
.q-dialog .q-card__actions .q-btn {
  min-height: 44px;
  border-radius: var(--spd-radius-btn) !important;
  font-weight: 600 !important;
}

/* ============================================================
   § E — GLOBAL QUASAR OVERRIDES
   ============================================================ */

/* Cards — universal transition */
.q-card {
  border-radius: var(--spd-radius-card) !important;
  transition: box-shadow var(--spd-transition), transform var(--spd-transition),
    border-color var(--spd-transition);
}

/* Toolbar */
.q-toolbar {
  min-height: 64px;
}

/* Buttons */
.q-btn--standard {
  border-radius: var(--spd-radius-btn) !important;
}
.q-btn--push {
  border-radius: var(--spd-radius-btn) !important;
}
.q-btn .q-btn__content {
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none !important;
}
.q-btn:active .q-btn__content {
  transform: scale(0.98);
}

/* Inputs */
.q-field--focused .q-field__control::before {
  border-color: var(--spd-accent) !important;
}
.q-field--focused .q-field__label {
  color: var(--spd-accent) !important;
}
.q-field__label {
  font-weight: 500;
  color: var(--spd-muted);
}
.q-field__native,
.q-field__input {
  font-family: var(--spd-font) !important;
  font-weight: 500;
  color: var(--spd-text);
}

/* Skeleton */
.q-skeleton {
  background: var(--spd-border-light) !important;
}

/* Chips */
.q-chip {
  border-radius: var(--spd-radius-xs) !important;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* Separators */
.q-separator {
  background: var(--spd-border-light) !important;
}

/* Badges */
.q-badge {
  border-radius: var(--spd-radius-xs);
  font-weight: 700;
  font-size: 0.6875rem;
}

/* Item labels */
.q-item__label {
  font-size: 0.9375rem;
  font-weight: 500;
}
.q-item__label--caption {
  font-size: 0.8125rem;
  color: var(--spd-muted);
  font-weight: 400;
}

/* List items */
.q-item {
  border-radius: var(--spd-radius-sm);
  transition: background var(--spd-transition);
}

/* Scrollbar — refined minimal */
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: var(--spd-border);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--spd-muted-2);
}

/* ============================================================
   § 18 — EVENTS SCHEDULE PAGE
   ============================================================ */

.EventsSchedulePage {
  padding: 20px 24px;
  box-sizing: border-box;
}

.SPDScheduleShell {
  width: 100%;
  max-width: 1120px;
}

.SPDScheduleHeader {
  margin-bottom: 20px;
}

.SPDScheduleTitle {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--spd-text);
}

.SPDScheduleSubtitle {
  margin-top: 8px;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--spd-muted);
}

.SPDScheduleCard {
  border-radius: var(--spd-radius-card) !important;
  border: 1px solid var(--spd-border) !important;
  background: var(--spd-surface) !important;
  box-shadow: var(--spd-shadow) !important;
  padding: 18px;
}

.SPDScheduleToolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.SPDScheduleOrientBtn {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 12px !important;
  background: var(--spd-surface) !important;
  border: 1px solid var(--spd-border) !important;
  color: var(--spd-text-2) !important;
  box-shadow: var(--spd-shadow) !important;
}

.SPDScheduleOrientBtn:hover {
  border-color: rgba(var(--spd-accent-rgb), 0.32) !important;
  color: var(--spd-accent) !important;
  box-shadow: var(--spd-shadow-hover) !important;
}

.SPDScheduleDateInput {
  width: 280px;
  max-width: 100%;
}

.SPDScheduleDateInput .q-field__control {
  background: var(--spd-surface) !important;
  border-radius: 999px !important;
}

.SPDScheduleDateInput .q-field__native,
.SPDScheduleDateInput .q-field__input {
  font-weight: 600;
  color: var(--spd-text) !important;
}

.SPDScheduleContent {
  margin-top: 4px;
}

/*.SPDScheduleReport {
  color: var(--spd-text);
}

.SPDScheduleReport h4 {
  margin: 18px 0 10px;
  padding: 12px 18px;
  border-radius: 16px;
  background: linear-gradient(180deg, #eef4ff 0%, #e8f0ff 100%);
  border: 1px solid rgba(var(--spd-accent-rgb), 0.12);
  color: var(--spd-text);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.SPDScheduleReport h5 {
  margin: 10px 0;
  padding: 12px 18px;
  border-radius: 14px;
  background: #f7fafc;
  border: 1px solid var(--spd-border-light);
  color: var(--spd-text);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.3;
}

.SPDScheduleReport p {
  margin: 8px 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--spd-text-2);
}

.SPDScheduleReport table {
  width: 100%;
  border-collapse: separate !important;
  border-spacing: 0 8px;
  margin: 12px 0 18px;
}

.SPDScheduleReport th {
  padding: 12px 14px;
  background: var(--spd-accent);
  color: #000000;
  font-size: 0.875rem;
  font-weight: 700;
  text-align: center;
  border: none;
}

.SPDScheduleReport th:first-child {
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
}

.SPDScheduleReport th:last-child {
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
}

.SPDScheduleReport td {
  padding: 12px 14px;
  background: var(--spd-surface);
  border-top: 1px solid var(--spd-border-light);
  border-bottom: 1px solid var(--spd-border-light);
  color: var(--spd-text);
  font-size: 0.9375rem;
  text-align: center;
  vertical-align: middle;
}

.SPDScheduleReport td:first-child {
  border-left: 1px solid var(--spd-border-light);
  border-top-left-radius: 14px;
  border-bottom-left-radius: 14px;
}

.SPDScheduleReport td:last-child {
  border-right: 1px solid var(--spd-border-light);
  border-top-right-radius: 14px;
  border-bottom-right-radius: 14px;
}

.SPDScheduleReport td strong,
.SPDScheduleReport td b {
  color: var(--spd-text);
  font-weight: 800;
}

.SPDScheduleReport hr {
  border: none;
  height: 1px;
  background: var(--spd-border-light);
  margin: 18px 0;
}

.SPDScheduleReport a {
  color: var(--spd-accent);
  text-decoration: none;
}

.SPDScheduleReport a:hover {
  text-decoration: underline;
}

.SPDScheduleContent .q-skeleton {
  border-radius: 16px;
}

@media (max-width: 767px) {
  .EventsSchedulePage {
    padding: 16px 12px;
  }

  .SPDScheduleTitle {
    font-size: 1.625rem;
  }

  .SPDScheduleCard {
    padding: 12px;
  }

  .SPDScheduleToolbar {
    gap: 10px;
  }

  .SPDScheduleDateInput {
    width: 100%;
  }

  .SPDScheduleReport h4 {
    margin: 16px 0 8px;
    padding: 10px 12px;
    font-size: 1.25rem;
  }

  .SPDScheduleReport h5 {
    margin: 8px 0 8px;
    padding: 10px 12px;
    font-size: 0.95rem;
  }

  .SPDScheduleReport p {
    font-size: 0.875rem;
  }

  .SPDScheduleReport table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    border-spacing: 0 6px;
  }

  .SPDScheduleReport th,
  .SPDScheduleReport td {
    padding: 10px 12px;
    font-size: 0.875rem;
  }
}
.arn-action-date {
  background-color: var(--brand-primary) !important;
  color: var(--brand-surface) !important;
}
.arn-table-header {
  background-color: white !important;
  color: #1d1d1d !important;
  font-weight: 600 !important;
}*/
/* === src/components/Events/HallPlanV4.vue; scope === */
.hall-plan-v4 {
  position: relative;
  width: 100%;
  user-select: none;
  contain: layout paint;
}

.hp4-controls {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hp4-zoom-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--brand-surface);
  box-shadow: 0 1px 6px rgba(var(--brand-black-rgb), 0.18);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #444;
  padding: 0;
  transition: background 0.15s, box-shadow 0.15s, color 0.15s;
}
.hp4-zoom-btn svg {
  width: 16px;
  height: 16px;
  display: block;
}
.hp4-zoom-btn:hover {
  background: var(--tint-primary-soft);
  color: var(--brand-primary);
  box-shadow: 0 2px 10px rgba(var(--brand-primary-rgb), 0.22);
}
.hp4-zoom-btn:active {
  background: var(--brand-primary-light);
}

.hp4-canvas {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  border: solid 1px #d9d9d9;
  touch-action: none;
  will-change: transform;
}

.events-hallplan-loading {
  border-radius: 8px;
}

/* === src/components/Main/MainActionsPanel.vue; scope === */
.MainActionsPanel__title {
  color: var(--spd-text);
}
.MainActionsPanel__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  align-items: stretch;
  grid-auto-rows: 1fr;
}
@media (min-width: 1024px) {
  .MainActionsPanel__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.MainActionsPanel__tile {
  border-radius: var(--spd-radius-card);
  border: 1px solid var(--spd-border);
  box-shadow: var(--spd-shadow);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  width: 100%;
  transition: box-shadow 0.2s ease, transform 0.15s ease, border-color 0.2s ease;
}
.MainActionsPanel__tile:hover {
  box-shadow: 0 4px 16px rgba(var(--brand-primary-rgb), 0.12);
  border-color: rgba(var(--brand-primary-rgb), 0.35);
  transform: translateY(-2px);
}
.MainActionsPanel__tile-body {
  box-sizing: border-box;
  flex: 1;
  height: 100%;
  width: 100%;
}
.MainActionsPanel__tile-icon {
  color: var(--spd-accent);
}
.MainActionsPanel__tile-label {
  color: var(--spd-text);
  line-height: 1.3;
}
.MainActionsPanel__tile-desc {
  color: var(--spd-muted);
  line-height: 1.3;
}

/* === src/components/Main/MainBalanceCard.vue; scope === */
.MainBalanceCard {
  border-radius: var(--spd-radius-card);
  box-shadow: var(--spd-shadow);
  border: 1px solid var(--spd-border);
  height: 100%;
}
.MainBalanceCard__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
}
.MainBalanceCard__label {
  color: var(--spd-muted);
  font-weight: 600;
  letter-spacing: 0.08em;
}
.MainBalanceCard__account-id {
  color: var(--spd-muted);
}
.MainBalanceCard__body {
  padding: 20px;
}
.MainBalanceCard__balance-main {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.MainBalanceCard__amount--main {
  color: var(--spd-accent);
}
.MainBalanceCard__currency {
  color: var(--spd-muted);
}
.MainBalanceCard__balance-row {
  display: flex;
  align-items: center;
}
.MainBalanceCard__balance-row--bonus {
  color: var(--status-warning-dark);
}
.MainBalanceCard__balance-row--adv {
  color: #0d9488;
}
.MainBalanceCard__actions {
  display: flex;
  gap: 8px;
}
.MainBalanceCard__btn-pay {
  border-radius: var(--spd-radius-btn);
  font-size: 0.875rem;
}
.MainBalanceCard__btn-history {
  color: var(--spd-muted);
  border-radius: var(--spd-radius-btn);
  font-size: 0.875rem;
}

/* === src/components/Main/MainUserCard.vue; scope === */
.MainUserCard {
  border-radius: var(--spd-radius-card);
  overflow: hidden;
  box-shadow: var(--spd-shadow);
  height: 100%;
}
.MainUserCard__hero {
  background: linear-gradient(135deg, var(--spd-accent) 0%, var(--spd-accent-dark) 100%);
  color: white;
}
.MainUserCard__avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(var(--brand-white-rgb), 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 2px solid rgba(var(--brand-white-rgb), 0.4);
}
.MainUserCard__initials {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  letter-spacing: 0.05em;
}
.MainUserCard__name {
  color: white;
  line-height: 1.2;
}
.MainUserCard__contact {
  color: rgba(var(--brand-white-rgb), 0.85);
  font-size: 0.875rem;
  display: flex;
  align-items: center;
}
.MainUserCard__actions {
  background: var(--spd-surface);
}
.MainUserCard__btn-profile {
  color: var(--spd-accent);
  border-color: var(--spd-accent);
  border-radius: var(--spd-radius-btn);
  font-size: 0.875rem;
}
.MainUserCard__btn-logout {
  color: var(--spd-muted);
  border-radius: var(--spd-radius-btn);
  font-size: 0.875rem;
}

/* === src/components/Payments/OrderPaymentWait.vue; scope === */
@keyframes epw-ring-pulse {
  0% {
    transform: scale(0.85);
    opacity: 0.6;
  }
  100% {
    transform: scale(1.65);
    opacity: 0;
  }
}
@keyframes epw-dot-beat {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.5);
    opacity: 0.4;
  }
}
@keyframes epw-shimmer {
  0% {
    background-position: -300% center;
  }
  100% {
    background-position: 300% center;
  }
}
@keyframes epw-shake {
  0%, 100% {
    transform: translateX(0) rotate(0deg);
  }
  15% {
    transform: translateX(-9px) rotate(-4deg);
  }
  35% {
    transform: translateX(9px) rotate(4deg);
  }
  55% {
    transform: translateX(-6px) rotate(-2deg);
  }
  75% {
    transform: translateX(6px) rotate(2deg);
  }
  90% {
    transform: translateX(-3px);
  }
}
@keyframes epw-fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.epw-page {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.epw-row {
  min-height: 100vh;
  padding: 16px;
  position: relative;
  z-index: 1;
}

.epw-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.epw-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
}
.epw-bg-orb--1 {
  width: 480px;
  height: 480px;
  top: -120px;
  left: -100px;
  background: radial-gradient(circle, rgba(var(--brand-primary-rgb), 0.1) 0%, transparent 70%);
}
.epw-bg-orb--2 {
  width: 380px;
  height: 380px;
  bottom: -80px;
  right: -60px;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.08) 0%, transparent 70%);
}

.epw-container {
  width: 100%;
  max-width: 480px;
}

.epw-container--top {
  align-self: flex-start;
}

.epw-card {
  background: rgba(var(--brand-white-rgb), 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 22px;
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 4px 24px rgba(var(--brand-black-rgb), 0.07), 0 1px 4px rgba(var(--brand-black-rgb), 0.04);
  padding: 40px 32px 36px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
  animation: epw-fade-up 0.4s ease both;
}
.epw-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 22px 22px 0 0;
}

.epw-card--waiting::before {
  background: linear-gradient(90deg, var(--brand-primary) 0%, var(--status-info-light) 50%, var(--status-info-lightest) 100%);
}

.epw-card--approved::before {
  background: linear-gradient(90deg, var(--status-success-dark) 0%, #4ade80 50%, #86efac 100%);
}

.epw-card--error::before {
  background: linear-gradient(90deg, var(--status-danger) 0%, #f87171 50%, #fca5a5 100%);
}

.epw-steps {
  display: flex;
  align-items: center;
  width: 100%;
  margin-bottom: 32px;
}

.epw-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

.epw-step-line {
  flex: 1;
  height: 2px;
  background: var(--brand-border-muted);
  margin-bottom: 20px;
  border-radius: 1px;
}
.epw-step-line--done {
  background: linear-gradient(90deg, var(--brand-primary), var(--status-info-light));
}

.epw-step-dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid var(--brand-border-muted);
  background: var(--brand-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.epw-step-dot--done {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
}
.epw-step-dot--active {
  border-color: var(--brand-primary);
  background: var(--brand-surface);
}

.epw-step-pulse {
  display: block;
  width: 10px;
  height: 10px;
  background: var(--brand-primary);
  border-radius: 50%;
  animation: epw-dot-beat 1.4s ease-in-out infinite;
}

.epw-step-label {
  font-size: 0.7rem;
  color: var(--brand-text-subtle);
  white-space: nowrap;
}
.epw-step-label--active {
  color: var(--brand-primary);
  font-weight: 600;
}

.epw-anim-wrap {
  position: relative;
  width: 96px;
  height: 96px;
  margin-bottom: 28px;
}

.epw-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(var(--brand-primary-rgb), 0.28);
  animation: epw-ring-pulse 2.2s ease-out infinite;
}
.epw-ring--2 {
  animation-delay: 1.1s;
}

.epw-spinner {
  position: absolute;
  inset: 4px;
}

.epw-spinner-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background: var(--brand-primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.epw-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--brand-text-strong);
  margin: 0 0 10px;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.epw-subtitle {
  font-size: 0.9rem;
  color: var(--brand-text-muted);
  margin: 0 0 28px;
  line-height: 1.65;
}

.epw-subtitle-em {
  display: inline-block;
  margin-top: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--brand-text-subtle);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.epw-progress-wrap {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.epw-progress-bar {
  flex: 1;
  height: 7px;
  background: var(--brand-primary-light);
  border-radius: 4px;
  overflow: hidden;
}

.epw-progress-fill {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--brand-primary) 0%, var(--status-info) 30%, #bfdbfe 50%, var(--status-info) 70%, var(--brand-primary) 100%);
  background-size: 300% auto;
  animation: epw-shimmer 2.4s linear infinite;
  transition: width 5s linear;
}

.epw-progress-label {
  font-size: 0.75rem;
  color: var(--brand-text-subtle);
  white-space: nowrap;
  min-width: 40px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.epw-order-ref {
  font-size: 0.82rem;
  color: var(--brand-text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
  background: var(--brand-surface-subtle);
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid var(--brand-border-muted);
}
.epw-order-ref strong {
  color: var(--brand-text-soft);
}

.epw-link-btn {
  font-size: 0.8rem !important;
}

.epw-check-badge {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--status-success-bg) 0%, #bbf7d0 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.epw-bill-list {
  width: 100%;
  border: 1px solid var(--brand-border-muted);
  border-radius: 12px;
  overflow: hidden;
  margin: 4px 0 12px;
  text-align: left;
}

.epw-bill-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 10px 16px;
  font-size: 0.85rem;
  border-bottom: 1px solid var(--brand-surface-hover);
}
.epw-bill-item:last-child {
  border-bottom: none;
}

.epw-bill-item-name {
  color: var(--brand-text-secondary);
  flex: 1;
}

.epw-bill-item-cost {
  color: var(--brand-text);
  font-weight: 600;
  white-space: nowrap;
}

.epw-total-row {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: var(--brand-primary-light);
  border-radius: 10px;
  font-size: 0.95rem;
  color: var(--brand-text-soft);
}
.epw-total-row strong {
  color: var(--brand-primary);
  font-size: 1.05rem;
  font-weight: 800;
}

.epw-approved {
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.epw-success-header {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  background: white;
  border: 1px solid var(--brand-border-muted);
  border-radius: 16px 16px 0 0;
  border-bottom: none;
  padding: 18px 20px;
  box-shadow: 0 -2px 0 0 var(--status-success-dark) inset;
}

.epw-check-ring {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--status-success-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(var(--status-success-dark-rgb), 0.35);
}

.epw-success-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--status-success-dark);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.epw-t-wrap {
  width: 100%;
  margin-bottom: 24px;
}

.epw-t-row {
  position: relative;
  width: 100%;
}

.epw-t-arrow {
  position: absolute;
  top: 88px;
  z-index: 2;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--spd-border);
  background: var(--brand-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--spd-text-2);
  box-shadow: 0 2px 6px rgba(var(--brand-shadow-rgb), 0.08);
  transition: all 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.epw-t-arrow:first-child {
  left: 8px;
}
.epw-t-arrow:last-child {
  right: 8px;
}
.epw-t-arrow:hover {
  border-color: var(--spd-accent);
  color: var(--spd-accent);
  box-shadow: 0 4px 14px rgba(var(--brand-primary-rgb), 0.2);
  transform: scale(1.12);
}
.epw-t-arrow:active {
  transform: scale(0.92);
  box-shadow: 0 1px 4px rgba(var(--brand-shadow-rgb), 0.08);
}

.epw-t-viewport {
  width: 100%;
  display: flex;
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 10px;
}
.epw-t-viewport::-webkit-scrollbar {
  display: none;
}

.epw-t-slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  display: flex;
  justify-content: center;
}

.epw-t-indicators {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 4px 0 0;
}

.epw-t-dot {
  width: 6px;
  height: 20px;
  border-radius: 10px;
  border: none;
  background: var(--brand-border-muted);
  cursor: pointer;
  padding: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: width 0.42s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.28s ease;
}
.epw-t-dot--active {
  width: 36px;
  background: var(--brand-primary);
}
.epw-t-dot:hover:not(.epw-t-dot--active) {
  background: var(--brand-text-subtle);
}

.epw-t-dot-n {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--brand-surface);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease 0.22s;
}
.epw-t-dot--active .epw-t-dot-n {
  opacity: 1;
}

.epw-approved-actions {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.epw-primary-btn {
  width: 100%;
  border-radius: 12px !important;
  font-weight: 700 !important;
  font-size: 0.9rem !important;
  padding: 12px 0 !important;
}

.epw-ghost-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--brand-text-muted);
  padding: 6px 12px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
  font-weight: 600;
}
.epw-ghost-btn:hover {
  color: var(--brand-primary);
  background: var(--brand-primary-light);
}

.epw-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.epw-btn {
  border-radius: 10px !important;
  font-weight: 600 !important;
  width: 100%;
}

.epw-error-badge {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--status-danger-bg) 0%, var(--status-danger-border) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  animation: epw-shake 0.65s cubic-bezier(0.36, 0.07, 0.19, 0.97) 0.2s both;
}

.epw-tips {
  width: 100%;
  margin: 4px 0 24px;
  background: #fafbff;
  border: 1px solid var(--brand-border-muted);
  border-radius: 14px;
  padding: 14px 16px 16px;
  text-align: left;
}

.epw-tips-heading {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand-text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.epw-tip {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.83rem;
  color: var(--brand-text-secondary);
  line-height: 1.5;
}
.epw-tip:not(:last-child) {
  margin-bottom: 10px;
}

.epw-tip-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--brand-primary-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

@media (max-width: 600px) {
  .epw-row {
    padding: 12px 8px;
    align-items: flex-start;
  }
  .epw-card {
    padding: 28px 18px 24px;
  }
  .epw-step-label {
    font-size: 0.62rem;
  }
  .epw-title {
    font-size: 1.25rem;
  }
}
@media (max-width: 600px) {
  .epw-page--mobile-fullscreen .epw-row {
    padding: 0;
    align-items: stretch;
    min-height: 100vh;
  }
  .epw-page--mobile-fullscreen .epw-container {
    max-width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
  }
  .epw-page--mobile-fullscreen .epw-approved {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    max-width: 100%;
    padding: 0;
    background: transparent;
    box-shadow: none;
  }
  .epw-page--mobile-fullscreen .epw-success-header {
    background: white;
    border: 1px solid var(--brand-border-muted);
    border-radius: 16px 16px 0 0;
    border-bottom: none;
    padding: 18px 12px;
    box-shadow: 0 -2px 0 0 var(--status-success-dark) inset;
    margin: 0;
    width: 100%;
  }
  .epw-page--mobile-fullscreen .epw-t-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
    min-height: 0;
    width: 100%;
  }
  .epw-page--mobile-fullscreen .epw-t-viewport {
    flex: 1;
    padding-bottom: 0;
  }
  .epw-page--mobile-fullscreen .epw-ticket {
    border-radius: 0 0 16px 16px;
    border: 1px solid var(--brand-border-muted);
    border-top: none;
    margin: 0;
    width: 100%;
  }
  .epw-page--mobile-fullscreen .epw-t-arrow {
    top: 106px;
    z-index: 2;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1.5px solid var(--spd-border);
    background: var(--brand-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--spd-text-2);
    box-shadow: 0 2px 6px rgba(var(--brand-shadow-rgb), 0.08);
    transition: all 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
  }
  .epw-page--mobile-fullscreen .epw-t-arrow:first-child {
    left: 0;
  }
  .epw-page--mobile-fullscreen .epw-t-arrow:last-child {
    right: 0;
  }
  .epw-page--mobile-fullscreen .epw-t-arrow:hover {
    border-color: var(--spd-accent);
    color: var(--spd-accent);
    box-shadow: 0 4px 14px rgba(var(--brand-primary-rgb), 0.2);
    transform: scale(1.12);
  }
  .epw-page--mobile-fullscreen .epw-t-arrow:active {
    transform: scale(0.92);
    box-shadow: 0 1px 4px rgba(var(--brand-shadow-rgb), 0.08);
  }
  .epw-page--mobile-fullscreen .epw-mobile-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(var(--brand-primary-rgb), 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(var(--brand-white-rgb), 0.2);
    padding: 12px 8px calc(12px + env(safe-area-inset-bottom));
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 100;
  }
  .epw-page--mobile-fullscreen .epw-mobile-indicators {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
  }
  .epw-page--mobile-fullscreen .epw-mobile-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }
  .epw-page--mobile-fullscreen .epw-mobile-btn {
    flex: 1;
    border-radius: 12px !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    padding: 10px 0 !important;
  }
  .epw-page--mobile-fullscreen .epw-mobile-btn--primary {
    background: white !important;
    color: var(--brand-primary) !important;
  }
  .epw-page--mobile-fullscreen .epw-t-wrap {
    padding-bottom: 140px;
  }
}

/* === src/components/Payments/ServiceOrderDialog.vue; scope === */
.sod-fade-enter-active,.sod-fade-leave-active {
  transition: opacity 0.2s;
}

.sod-fade-enter-from,.sod-fade-leave-to {
  opacity: 0;
}

.sod-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 560px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--brand-surface);
}
.q-dialog__inner--maximized .sod-card {
  border-radius: 0;
  max-width: 100%;
  height: 100%;
}

.sod-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 16px 14px;
  border-bottom: 1px solid var(--brand-surface-hover);
  flex-shrink: 0;
}

.sod-service-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.sod-service-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--brand-primary-light);
  color: var(--spd-accent, var(--brand-primary));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sod-service-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand-text);
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sod-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: none;
  background: var(--brand-surface-hover);
  color: var(--brand-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s, color 0.15s;
}
.sod-close-btn:hover {
  background: var(--brand-border-muted);
  color: var(--brand-text-strong);
}

.sod-steps {
  display: flex;
  align-items: center;
  padding: 14px 20px 0;
  flex-shrink: 0;
}

.sod-step-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--brand-border-muted);
  background: var(--brand-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s;
}
.sod-step-dot--done {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
}
.sod-step-dot--active {
  border-color: var(--brand-primary);
}

.sod-pulse {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-primary);
  animation: sodPulse 1.4s ease-in-out infinite;
}

@keyframes sodPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.5);
    opacity: 0.5;
  }
}
.sod-step-line {
  flex: 1;
  height: 2px;
  background: var(--brand-border-muted);
  border-radius: 1px;
  transition: background 0.2s;
}
.sod-step-line--done {
  background: linear-gradient(90deg, var(--brand-primary), var(--status-info-light));
}

.sod-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  scrollbar-width: thin;
  scrollbar-color: var(--brand-border-muted) transparent;
}
.sod-body::-webkit-scrollbar {
  width: 4px;
}
.sod-body::-webkit-scrollbar-track {
  background: transparent;
}
.sod-body::-webkit-scrollbar-thumb {
  background: var(--brand-border-muted);
  border-radius: 2px;
}

.sod-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 200px;
  color: var(--brand-text-muted);
}

.sod-loading-text {
  margin-top: 14px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.sod-step-title {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--brand-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.sod-ident-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sod-ident {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1.5px solid var(--brand-border-muted);
  border-radius: 12px;
  background: var(--brand-surface);
  cursor: pointer;
  width: 100%;
  text-align: left;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}
.sod-ident:hover {
  border-color: var(--status-info-lightest);
  background: #f0f6ff;
}
.sod-ident--selected {
  border-color: var(--brand-primary);
  background: var(--tint-primary);
  box-shadow: 0 0 0 3px rgba(var(--brand-primary-rgb), 0.1);
}

.sod-ident-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--brand-primary-light);
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sod-ident-info {
  flex: 1;
  min-width: 0;
}

.sod-ident-num {
  font-family: "Courier New", monospace;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--brand-text-strong);
  letter-spacing: 0.06em;
}

.sod-ident-owner {
  font-size: 0.78rem;
  color: var(--brand-text-muted);
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sod-ident-check {
  color: var(--brand-primary);
  flex-shrink: 0;
}

.sod-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 28px 0;
  color: var(--brand-text-subtle);
}

.sod-empty-text {
  font-size: 0.875rem;
}

.sod-param-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sod-param-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--brand-text-secondary);
}

.sod-chips {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sod-chip {
  width: 100%;
  padding: 9px 16px;
  border-radius: 10px;
  border: 1.5px solid var(--brand-border-muted);
  background: var(--brand-surface);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--brand-text-secondary);
  cursor: pointer;
  text-align: left;
  line-height: 1.4;
  white-space: normal;
  word-break: break-word;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.sod-chip:hover {
  border-color: var(--status-info-lightest);
  color: var(--brand-primary);
  background: var(--tint-primary);
}
.sod-chip--active {
  border-color: var(--brand-primary);
  background: var(--brand-primary);
  color: var(--brand-surface);
}

.sod-q-input {
  margin-top: 2px;
}

.sod-review-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--brand-surface-hover);
}

.sod-review-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--brand-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sod-review-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--brand-text);
  margin-bottom: 4px;
}

.sod-review-desc {
  font-size: 0.8rem;
  color: var(--brand-text-muted);
  line-height: 1.5;
}

.sod-review-params {
  border: 1px solid var(--brand-surface-hover);
  border-radius: 12px;
  overflow: hidden;
}

.sod-review-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--brand-surface-hover);
}
.sod-review-row:last-child {
  border-bottom: none;
}

.sod-review-key {
  font-size: 0.8rem;
  color: var(--brand-text-muted);
  white-space: nowrap;
}

.sod-review-val {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-text-strong);
  text-align: right;
}

.sod-price-block {
  background: linear-gradient(135deg, var(--brand-primary-light) 0%, var(--tint-primary) 100%);
  border-radius: 14px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
}

.sod-price-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brand-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.sod-price-amount {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--brand-primary);
  letter-spacing: -0.02em;
}

.sod-price-pending {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--brand-text-muted);
  padding: 14px 20px;
  background: var(--brand-surface-subtle);
  border-radius: 14px;
}

.sod-error {
  margin: 0 16px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--status-danger-bg-soft);
  border: 1px solid var(--status-danger-border);
  color: var(--status-danger);
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.sod-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--brand-surface-hover);
  flex-shrink: 0;
}

.sod-btn-back {
  border-radius: 10px;
  color: var(--brand-text-muted);
  flex-shrink: 0;
}

.sod-btn-cart {
  border-radius: 10px;
  flex-shrink: 0;
}

.sod-btn-pay {
  flex: 1;
  border-radius: 10px;
}

/* === Личный кабинет: общие карточки и списки === */
/*
   Общая основа для компонентов Personal.
   Здесь лежат повторяемые карточки, заголовки, пустые состояния и пагинация.
   Компонентные секции ниже должны содержать только отличия конкретного блока.
*/
:is(.ClientDataBlock, .ClientDocumentsBlock, .ClientGuardianBlock, .ClientInstrOrders, .ClientOrders, .ClientPayments).pp-card {
  background: white;
  border-radius: var(--pp-radius-card, 16px);
  border: 1px solid var(--pp-border, var(--brand-border-muted));
  box-shadow: var(--pp-shadow-soft, 0 1px 3px rgba(var(--brand-black-rgb), 0.08));
  overflow: hidden;
}

:is(.ClientDataBlock, .ClientDocumentsBlock, .ClientGuardianBlock, .ClientInstrOrders, .ClientOrders, .ClientPayments) .pp-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--pp-border, var(--brand-border-muted));
  background: var(--brand-surface-subtle);
}

:is(.ClientDataBlock, .ClientDocumentsBlock, .ClientGuardianBlock, .ClientInstrOrders, .ClientOrders, .ClientPayments) .pp-card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--pp-text, var(--brand-text-strong));
}

:is(.ClientDataBlock, .ClientDocumentsBlock, .ClientGuardianBlock, .ClientInstrOrders, .ClientOrders, .ClientPayments) .pp-card-content {
  padding: 14px 16px;
}

:is(.ClientDataBlock, .ClientInstrOrders, .ClientOrders, .ClientPayments) .pp-btn-sm {
  border-radius: 8px !important;
  font-weight: 600 !important;
  font-size: 0.8rem !important;
  padding: 6px 14px !important;
}

/* Общие пустые состояния для списков заказов, договоров и платежей. */
:is(.ClientInstrOrders, .ClientOrders, .ClientPayments) .pp-empty-state {
  text-align: center;
  background: var(--brand-surface-subtle);
  border-radius: 12px;
  border: 2px dashed var(--pp-border, var(--brand-border-muted));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

:is(.ClientInstrOrders, .ClientOrders, .ClientPayments) .pp-empty-icon {
  opacity: 0.3;
  color: var(--pp-text-muted, var(--brand-text-muted));
}

:is(.ClientInstrOrders, .ClientOrders, .ClientPayments) .pp-empty-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand-text-secondary);
}

:is(.ClientInstrOrders, .ClientOrders, .ClientPayments) .pp-empty-text {
  font-size: 0.9rem;
  color: var(--pp-text-muted, var(--brand-text-muted));
  margin: 0;
}

:is(.ClientInstrOrders, .ClientOrders, .ClientPayments) .pp-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 20px 0 8px;
  border-top: 1px solid var(--pp-border, var(--brand-border-muted));
  margin-top: 12px;
}

:is(.ClientInstrOrders, .ClientOrders, .ClientPayments) .pp-pagination-pages {
  display: flex;
  gap: 4px;
}

:is(.ClientInstrOrders, .ClientOrders, .ClientPayments) .pp-pagination-btn {
  min-width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--pp-border, var(--brand-border-muted));
  background: white;
  color: var(--pp-text, var(--brand-text-strong));
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

:is(.ClientInstrOrders, .ClientOrders, .ClientPayments) .pp-pagination-btn:hover:not(.pp-pagination-btn--active) {
  background: var(--brand-surface-hover);
  border-color: var(--brand-border-strong);
}

:is(.ClientInstrOrders, .ClientOrders, .ClientPayments) .pp-pagination-btn--active {
  background: var(--pp-primary, var(--brand-personal-primary));
  color: white;
  border-color: var(--pp-primary, var(--brand-personal-primary));
}

/* === src/components/Personal/ClientDataBlock.vue; scope === */
.ClientDataBlock.pp-card {
  margin-bottom: 0;
}

.ClientDataBlock.pp-card--compact {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
}

.ClientDataBlock .pp-user-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.ClientDataBlock .pp-user-avatar {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--pp-primary-light, var(--brand-personal-primary-light));
  color: var(--pp-primary, var(--brand-personal-primary));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ClientDataBlock .pp-user-info {
  flex: 1;
  min-width: 0;
}

.ClientDataBlock .pp-user-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--pp-text, var(--brand-text-strong));
}

.ClientDataBlock .pp-user-contact {
  font-size: 0.75rem;
  color: var(--pp-text-muted, var(--brand-text-muted));
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
}

.ClientDataBlock .pp-btn-compact {
  border-radius: 8px !important;
  font-weight: 600 !important;
  font-size: 0.8rem !important;
  padding: 6px 12px !important;
}

.ClientDataBlock .pp-skeleton {
  height: 60px;
  border-radius: 12px;
  flex-shrink: 0;
}

.ClientDataBlock .pp-card-actions {
  display: flex;
  gap: 8px;
}

.ClientDataBlock .pp-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ClientDataBlock .pp-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
@media (max-width: 599px) {
  .ClientDataBlock .pp-form-row {
    grid-template-columns: 1fr;
  }
}

.ClientDataBlock .pp-form-field {
  flex: 1;
}

.ClientDataBlock .pp-form-display {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 7px 10px;
  background: var(--brand-surface-subtle);
  border-radius: 8px;
  min-height: 46px;
  justify-content: center;
}

.ClientDataBlock .pp-form-display--full {
  grid-column: span 2;
}
@media (max-width: 599px) {
  .ClientDataBlock .pp-form-display--full {
    grid-column: span 1;
  }
}

.ClientDataBlock .pp-form-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--pp-text-muted, var(--brand-text-muted));
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ClientDataBlock .pp-form-value {
  font-size: 0.9rem;
  color: var(--pp-text, var(--brand-text-strong));
  font-weight: 500;
}

.ClientDataBlock .pp-guardian-section {
  border-top: 1px solid var(--pp-border, var(--brand-border-muted));
  padding: 14px 16px;
  background: var(--brand-surface-plain);
}

.ClientDataBlock .pp-guardian-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--pp-text, var(--brand-text-strong));
  margin-bottom: 10px;
}

.ClientDataBlock .pp-card-footer {
  padding: 10px 16px;
  border-top: 1px solid var(--pp-border, var(--brand-border-muted));
  display: flex;
  justify-content: flex-end;
}

.ClientDataBlock .pp-btn {
  border-radius: 10px !important;
  font-weight: 700 !important;
  padding: 10px 24px !important;
}

/* === src/components/Personal/ClientDocumentsBlock.vue; scope === */
.ClientDocumentsBlock .pp-empty-badge {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: var(--brand-surface-hover);
  border-radius: 6px;
  font-size: 0.75rem;
  color: var(--pp-text-muted, var(--brand-text-muted));
}

.ClientDocumentsBlock .pp-docs-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ClientDocumentsBlock .pp-docs-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ClientDocumentsBlock .pp-docs-section-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--pp-text-muted, var(--brand-text-muted));
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ClientDocumentsBlock .pp-docs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}

.ClientDocumentsBlock .pp-doc-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--brand-surface-subtle);
  border-radius: 10px;
  border: 1px solid var(--pp-border, var(--brand-border-muted));
  transition: all 0.2s;
}
.ClientDocumentsBlock .pp-doc-card:hover {
  background: white;
  border-color: var(--pp-primary-light, var(--brand-personal-primary-light));
  box-shadow: 0 2px 8px rgba(var(--brand-personal-primary-rgb), 0.1);
}

.ClientDocumentsBlock .pp-doc-card--valid {
  border-left: 3px solid var(--status-success);
}

.ClientDocumentsBlock .pp-doc-card--expiring {
  border-left: 3px solid var(--status-warning);
}

.ClientDocumentsBlock .pp-doc-card--expired {
  border-left: 3px solid var(--status-danger-light);
  opacity: 0.7;
}

.ClientDocumentsBlock .pp-doc-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--brand-personal-primary-light);
  color: var(--pp-primary, var(--brand-personal-primary));
}

.ClientDocumentsBlock .pp-doc-icon--valid {
  background: var(--status-success-bg);
  color: var(--status-success);
}

.ClientDocumentsBlock .pp-doc-icon--warning {
  background: var(--status-warning-bg);
  color: var(--status-warning-dark);
}

.ClientDocumentsBlock .pp-doc-icon--expired {
  background: var(--status-danger-bg);
  color: var(--status-danger-light);
}

.ClientDocumentsBlock .pp-doc-info {
  flex: 1;
  min-width: 0;
}

.ClientDocumentsBlock .pp-doc-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--pp-text, var(--brand-text-strong));
}

.ClientDocumentsBlock .pp-doc-meta {
  font-size: 0.75rem;
  color: var(--pp-text-muted, var(--brand-text-muted));
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.ClientDocumentsBlock .text-warning {
  color: var(--status-warning-dark);
  font-weight: 600;
}

.ClientDocumentsBlock .text-expired {
  color: var(--status-danger-light);
  font-weight: 600;
}

/* === src/components/Personal/ClientGuardianBlock.vue; scope === */
.ClientGuardianBlock .pp-guardians-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ClientGuardianBlock .pp-guardian-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--brand-surface-subtle);
  border-radius: 12px;
  border: 1px solid var(--pp-border, var(--brand-border-muted));
  transition: all 0.2s;
}
.ClientGuardianBlock .pp-guardian-item:hover {
  background: white;
  border-color: var(--pp-primary-light, var(--brand-personal-primary-light));
  box-shadow: 0 2px 8px rgba(var(--brand-personal-primary-rgb), 0.1);
}

.ClientGuardianBlock .pp-guardian-avatar {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--pp-primary-light, var(--brand-personal-primary-light));
  color: var(--pp-primary, var(--brand-personal-primary));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ClientGuardianBlock .pp-guardian-info {
  flex: 1;
  min-width: 0;
}

.ClientGuardianBlock .pp-guardian-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--pp-text, var(--brand-text-strong));
}

.ClientGuardianBlock .pp-guardian-birth {
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--pp-text-muted, var(--brand-text-muted));
}

.ClientGuardianBlock .pp-guardian-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 6px;
  font-size: 0.8rem;
  color: var(--pp-text-muted, var(--brand-text-muted));
}

.ClientGuardianBlock .pp-guardian-relation,.ClientGuardianBlock .pp-guardian-phone {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* === src/components/Personal/ClientIdentifiersBlock3.vue; scope === */
.CIB3__badge {
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1;
  padding: 3px 7px;
  border-radius: 20px;
  background: var(--spd-accent-light);
  color: var(--spd-accent);
  border: 1px solid rgba(var(--brand-primary-rgb), 0.15);
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.CIB3__section:not(:last-child) {
  margin-bottom: 4px;
}

.CIB3__section-hd {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 16px 10px;
}

.CIB3__section-bar {
  width: 3px;
  height: 15px;
  border-radius: 2px;
  background: var(--spd-accent);
  flex-shrink: 0;
}

.CIB3__section-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--spd-text-2);
}

.CIB3__cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
  padding: 4px 16px 16px;
}
.CIB3__cards-grid {
  width: 100%;
}

.CIB3__more-ghost {
  height: 176px;
  border-radius: 16px;
  border: 2px dashed var(--spd-border);
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  gap: 5px;
  transition: all 0.26s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.CIB3__more-ghost:hover {
  background: var(--spd-accent-light);
  border-color: var(--spd-accent);
  border-style: solid;
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(var(--brand-primary-rgb), 0.12);
}
.CIB3__more-ghost:hover .CIB3__more-num {
  color: var(--spd-accent-dark);
}
.CIB3__more-ghost:hover .CIB3__more-hint {
  color: var(--spd-accent);
}

.CIB3__more-num {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--spd-accent);
  line-height: 1;
  transition: color 0.2s;
}

.CIB3__more-hint {
  font-size: 0.68rem;
  color: var(--spd-muted);
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

.CIB3__tickets-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 8px;
  padding: 4px 16px 8px;
}

.CIB3__expand-row {
  padding: 2px 14px 12px;
}

.CIB3__expand-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--spd-accent);
  background: none;
  border: none;
  padding: 6px 8px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.18s;
}
.CIB3__expand-btn:hover {
  background: var(--spd-accent-light);
}

.CIB3__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px 12px;
}

.CIB3__header-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.CIB3__header-accent {
  width: 3px;
  height: 20px;
  border-radius: 2px;
  background: var(--spd-accent);
  flex-shrink: 0;
}

.CIB3__title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--spd-text);
  letter-spacing: -0.01em;
}

.CIB3__add-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--spd-accent);
  background: var(--spd-accent-light);
  border: 1.5px solid transparent;
  border-radius: 20px;
  padding: 5px 13px;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
  white-space: nowrap;
}
.CIB3__add-btn:hover {
  background: var(--spd-accent);
  color: var(--brand-surface);
  box-shadow: 0 4px 14px rgba(var(--brand-primary-rgb), 0.3);
  transform: translateY(-1px);
}
.CIB3__add-btn:active {
  transform: translateY(0);
}

.CIB3__empty {
  width: 280px;
  height: 176px;
  border-radius: 16px;
  border: 2px dashed var(--spd-border);
  background: var(--spd-surface);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  color: var(--spd-muted);
  transition: all 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.CIB3__empty:hover {
  border-color: var(--spd-accent);
  background: var(--spd-accent-light);
  color: var(--spd-accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(var(--brand-primary-rgb), 0.12);
}

.CIB3__empty-icon {
  margin-bottom: 4px;
  opacity: 0.7;
}

.CIB3__empty-text {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.CIB3__empty-hint {
  font-size: 0.68rem;
  opacity: 0.7;
}

.CIB3__carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 10px;
}

.CIB3__arrow {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--spd-border);
  background: var(--brand-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--spd-text-2);
  box-shadow: 0 2px 6px rgba(var(--brand-shadow-rgb), 0.08);
  transition: all 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.CIB3__arrow:hover {
  border-color: var(--spd-accent);
  color: var(--spd-accent);
  box-shadow: 0 4px 14px rgba(var(--brand-primary-rgb), 0.2);
  transform: scale(1.12);
}
.CIB3__arrow:active {
  transform: scale(0.92);
  box-shadow: 0 1px 4px rgba(var(--brand-shadow-rgb), 0.08);
}

.CIB3__viewport {
  flex: none;
  width: 280px;
  display: flex;
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 8px 0 14px;
}
.CIB3__viewport::-webkit-scrollbar {
  display: none;
}

.CIB3__slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.CIB3__slide-ticket {
  width: 100%;
}

.CIB3__indicators {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0px 0 0px;
}

.CIB3__dot {
  width: 6px;
  height: 20px;
  border-radius: 10px;
  border: none;
  background: var(--spd-border);
  cursor: pointer;
  padding: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: width 0.42s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.28s ease;
}
.CIB3__dot--active {
  width: 36px;
  background: var(--spd-accent);
}
.CIB3__dot:hover:not(.CIB3__dot--active) {
  background: var(--spd-muted-2);
}

.CIB3__dot-n {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--brand-surface);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease 0.22s;
}
.CIB3__dot--active .CIB3__dot-n {
  opacity: 1;
}

/* === src/components/Personal/ClientInstrOrders.vue; scope === */
.ClientInstrOrders .pp-empty-state {
  padding: 48px 24px;
}

.ClientInstrOrders .pp-orders-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ClientInstrOrders .pp-order-card {
  border-radius: 12px;
  border: 1px solid var(--pp-border, var(--brand-border-muted));
  background: white;
  overflow: hidden;
  transition: all 0.2s;
}
.ClientInstrOrders .pp-order-card:hover {
  box-shadow: 0 4px 12px rgba(var(--brand-black-rgb), 0.08);
}

.ClientInstrOrders .pp-order-card--completed {
  border-left: 4px solid var(--status-purple);
}

.ClientInstrOrders .pp-order-card--active {
  border-left: 4px solid var(--status-success);
}

.ClientInstrOrders .pp-order-card--pending {
  border-left: 4px solid var(--status-warning);
}

.ClientInstrOrders .pp-order-card--draft {
  border-left: 4px solid var(--status-attention);
  opacity: 0.8;
}

.ClientInstrOrders .pp-order-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  cursor: pointer;
  transition: background 0.2s;
}
.ClientInstrOrders .pp-order-header:hover {
  background: var(--brand-surface-subtle);
}

.ClientInstrOrders .pp-order-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ClientInstrOrders .pp-order-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ClientInstrOrders .pp-order-icon--completed {
  background: var(--status-purple-bg);
  color: var(--status-purple);
}

.ClientInstrOrders .pp-order-icon--active {
  background: var(--status-success-bg);
  color: var(--status-success);
}

.ClientInstrOrders .pp-order-icon--pending {
  background: var(--status-warning-bg);
  color: var(--status-warning-dark);
}

.ClientInstrOrders .pp-order-icon--draft {
  background: var(--status-attention-bg);
  color: #ca8a04;
}

.ClientInstrOrders .pp-order-info {
  min-width: 0;
}

.ClientInstrOrders .pp-order-number {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--pp-text, var(--brand-text-strong));
}

.ClientInstrOrders .pp-order-meta {
  font-size: 0.8rem;
  color: var(--pp-text-muted, var(--brand-text-muted));
  margin-top: 2px;
}

.ClientInstrOrders .pp-order-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.ClientInstrOrders .pp-order-status {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.ClientInstrOrders .pp-order-status--completed {
  background: var(--status-purple-bg);
  color: #7e22ce;
}

.ClientInstrOrders .pp-order-status--active {
  background: var(--status-success-bg);
  color: var(--status-success-text);
}

.ClientInstrOrders .pp-order-status--pending {
  background: var(--status-warning-bg);
  color: var(--status-warning-text);
}

.ClientInstrOrders .pp-order-status--draft {
  background: var(--status-attention-bg);
  color: #854d0e;
}

.ClientInstrOrders .pp-order-amount {
  font-weight: 700;
  font-size: 1rem;
  color: var(--pp-primary, var(--brand-personal-primary));
  min-width: 80px;
  text-align: right;
}

.ClientInstrOrders .pp-order-expand-icon {
  color: var(--pp-text-muted, var(--brand-text-muted));
  cursor: pointer;
}

.ClientInstrOrders .pp-order-details {
  padding: 0 18px 18px;
  border-top: 1px solid var(--pp-border, var(--brand-border-muted));
  background: var(--brand-surface-plain);
}

.ClientInstrOrders .pp-order-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px dashed var(--pp-border, var(--brand-border-muted));
}
.ClientInstrOrders .pp-order-detail-row:last-child {
  border-bottom: none;
}

.ClientInstrOrders .pp-detail-label {
  font-size: 0.8rem;
  color: var(--pp-text-muted, var(--brand-text-muted));
}

.ClientInstrOrders .pp-detail-value {
  font-size: 0.9rem;
  color: var(--pp-text, var(--brand-text-strong));
  font-weight: 500;
}

.ClientInstrOrders .pp-detail-value--bold {
  font-weight: 700;
  font-size: 1rem;
}

.ClientInstrOrders .pp-discount {
  font-size: 0.8rem;
  color: var(--status-success);
  font-weight: 500;
}

.ClientInstrOrders .pp-trainings-section {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--pp-border, var(--brand-border-muted));
}

.ClientInstrOrders .pp-trainings-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--pp-text-muted, var(--brand-text-muted));
  margin-bottom: 12px;
}

.ClientInstrOrders .pp-trainings-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ClientInstrOrders .pp-training-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: white;
  border-radius: 8px;
  border: 1px solid var(--pp-border, var(--brand-border-muted));
}

.ClientInstrOrders .pp-training-time {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--pp-text-muted, var(--brand-text-muted));
  min-width: 140px;
}

.ClientInstrOrders .pp-training-info {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
}

.ClientInstrOrders .pp-training-duration {
  font-size: 0.85rem;
  color: var(--pp-text, var(--brand-text-strong));
  font-weight: 500;
}

.ClientInstrOrders .pp-training-cost {
  font-size: 0.85rem;
  color: var(--pp-primary, var(--brand-personal-primary));
  font-weight: 600;
}

.ClientInstrOrders .pp-training-state {
  font-size: 0.75rem;
  color: var(--pp-text-muted, var(--brand-text-muted));
  padding: 3px 8px;
  background: var(--brand-surface-hover);
  border-radius: 4px;
}

.ClientInstrOrders .pp-comments-section {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--pp-border, var(--brand-border-muted));
}

.ClientInstrOrders .pp-comments-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--pp-text-muted, var(--brand-text-muted));
  margin-bottom: 12px;
}

.ClientInstrOrders .pp-comment-item {
  font-size: 0.85rem;
  color: var(--pp-text, var(--brand-text-strong));
  padding: 8px 12px;
  background: var(--status-warning-bg-soft);
  border-left: 3px solid var(--status-warning);
  border-radius: 4px;
  margin-bottom: 8px;
}

/* === src/components/Personal/ClientOrders.vue; scope === */
.ClientOrders.pp-card {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.ClientOrders .pp-card-header {
  gap: 12px;
  min-width: 0;
}

.ClientOrders .pp-card-title {
  min-width: 0;
}

.ClientOrders .pp-card-title span {
  overflow-wrap: anywhere;
}

.ClientOrders .pp-card-content {
  min-width: 0;
  overflow: hidden;
}

.ClientOrders .pp-empty-state {
  padding: 32px 16px;
}

.ClientOrders .pp-orders-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  min-width: 0;
}

.ClientOrders .pp-order-card {
  border-radius: 12px;
  border: 1px solid var(--pp-border, var(--brand-border-muted));
  background: white;
  overflow: hidden;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  transition: all 0.2s;
}
.ClientOrders .pp-order-card:hover {
  box-shadow: 0 4px 12px rgba(var(--brand-black-rgb), 0.08);
}

.ClientOrders .pp-order-card--approved {
  border-left: 4px solid var(--status-success);
}

.ClientOrders .pp-order-card--reserved {
  border-left: 4px solid var(--status-info);
}

.ClientOrders .pp-order-card--cancelled {
  border-left: 4px solid var(--status-danger-light);
  opacity: 0.8;
}

.ClientOrders .pp-order-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  cursor: pointer;
  transition: background 0.2s;
  min-width: 0;
}
.ClientOrders .pp-order-header:hover {
  background: var(--brand-surface-subtle);
}

.ClientOrders .pp-order-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1 auto;
  min-width: 0;
}

.ClientOrders .pp-order-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ClientOrders .pp-order-icon--approved {
  background: var(--status-success-bg);
  color: var(--status-success);
}

.ClientOrders .pp-order-icon--reserved {
  background: var(--status-info-bg);
  color: var(--status-info);
}

.ClientOrders .pp-order-icon--cancelled {
  background: var(--status-danger-bg);
  color: var(--status-danger-light);
}

.ClientOrders .pp-order-info {
  min-width: 0;
  flex: 1 1 auto;
}

.ClientOrders .pp-order-number {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--pp-text, var(--brand-text-strong));
  overflow-wrap: anywhere;
}

.ClientOrders .pp-order-meta {
  font-size: 0.8rem;
  color: var(--pp-text-muted, var(--brand-text-muted));
  margin-top: 2px;
}

.ClientOrders .pp-order-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px 16px;
  flex: 0 1 auto;
  min-width: 0;
}

.ClientOrders .pp-order-amount {
  font-weight: 700;
  font-size: 1rem;
  color: var(--pp-primary, var(--brand-personal-primary));
  min-width: max-content;
  text-align: right;
}

.ClientOrders .pp-order-expand-icon {
  color: var(--pp-text-muted, var(--brand-text-muted));
  cursor: pointer;
}

.ClientOrders .pp-order-details {
  padding: 0 18px 18px;
  border-top: 1px solid var(--pp-border, var(--brand-border-muted));
  background: var(--brand-surface-plain);
}

.ClientOrders .pp-order-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--pp-border, var(--brand-border-muted));
  min-width: 0;
}
.ClientOrders .pp-order-detail-row:last-child {
  border-bottom: none;
}

.ClientOrders .pp-detail-label {
  font-size: 0.8rem;
  color: var(--pp-text-muted, var(--brand-text-muted));
  flex: 0 1 auto;
}

.ClientOrders .pp-detail-value {
  font-size: 0.9rem;
  color: var(--pp-text, var(--brand-text-strong));
  font-weight: 500;
  min-width: 0;
  text-align: right;
  overflow-wrap: anywhere;
}

.ClientOrders .pp-detail-value--bold {
  font-weight: 700;
  font-size: 1rem;
}

.ClientOrders .pp-detail-state-id {
  font-size: 0.75rem;
  color: var(--pp-text-muted, var(--brand-text-muted));
  margin-left: 4px;
}

.ClientOrders .pp-status-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

.ClientOrders .pp-status-badge--approved {
  background: var(--status-success);
  color: white;
}

.ClientOrders .pp-status-badge--reserved {
  background: var(--status-info);
  color: white;
}

.ClientOrders .pp-status-badge--cancelled {
  background: var(--status-danger-light);
  color: white;
}

.ClientOrders .pp-order-action {
  padding-top: 14px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.ClientOrders .pp-btn {
  border-radius: 10px !important;
  font-weight: 600 !important;
}

.ClientOrders .pp-pagination-pages {
  flex-wrap: wrap;
  justify-content: center;
  min-width: 0;
}

@media (max-width: 480px) {
  
.ClientOrders .pp-card-header {
  gap: 12px;
  min-width: 0;
}

.ClientOrders .pp-card-content {
  min-width: 0;
  overflow: hidden;
}

.ClientOrders .pp-order-header {
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 10px 12px;
  }
  .ClientOrders .pp-order-right {
    width: 100%;
    padding-left: 52px;
    flex-wrap: wrap;
  }
  .ClientOrders .pp-order-details {
    padding: 0 12px 12px;
  }
  .ClientOrders .pp-order-detail-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
  .ClientOrders .pp-detail-value {
    text-align: left;
  }
  .ClientOrders .pp-order-action {
    flex-direction: column;
    align-items: stretch;
  }
  .ClientOrders .pp-order-action .pp-btn {
    width: 100%;
  }
}

/* === src/components/Personal/ClientPayments.vue; scope === */
.ClientPayments.pp-card {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.ClientPayments .pp-card-header {
  gap: 12px;
  min-width: 0;
}

.ClientPayments .pp-card-title {
  min-width: 0;
}

.ClientPayments .pp-card-title span {
  overflow-wrap: anywhere;
}

.ClientPayments .pp-card-content {
  min-width: 0;
  overflow: hidden;
}

.ClientPayments .pp-empty-state {
  padding: 48px 24px;
}

.ClientPayments .pp-payments-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  width: 100%;
}

.ClientPayments .pp-payments-info {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--pp-text-muted, var(--brand-text-muted));
  padding: 8px 12px;
  background: var(--brand-surface-hover);
  border-radius: 8px;
  margin-bottom: 8px;
}

.ClientPayments .pp-payment-card {
  border-radius: 12px;
  border: 1px solid var(--pp-border, var(--brand-border-muted));
  background: white;
  overflow: hidden;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  transition: all 0.2s;
}
.ClientPayments .pp-payment-card:hover {
  box-shadow: 0 4px 12px rgba(var(--brand-black-rgb), 0.08);
}

.ClientPayments .pp-payment-card--fixed {
  border-left: 4px solid var(--status-success);
}

.ClientPayments .pp-payment-card--pending {
  border-left: 4px solid var(--status-warning);
  opacity: 0.9;
}

.ClientPayments .pp-payment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  cursor: pointer;
  transition: background 0.2s;
  min-width: 0;
}
.ClientPayments .pp-payment-header:hover {
  background: var(--brand-surface-subtle);
}

.ClientPayments .pp-payment-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.ClientPayments .pp-payment-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--brand-surface-hover);
  color: var(--pp-text-muted, var(--brand-text-muted));
}

.ClientPayments .pp-payment-icon--fiscal {
  background: var(--spd-accent-light);
  color: var(--spd-accent);
}

.ClientPayments .pp-payment-info {
  min-width: 0;
  flex: 1;
}

.ClientPayments .pp-payment-name {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  min-width: 0;
}

.ClientPayments .pp-payment-name__text {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--pp-text, var(--brand-text-strong));
  min-width: 0;
  flex-shrink: 1;
  overflow-wrap: anywhere;
}

.ClientPayments .pp-payment-meta {
  font-size: 0.75rem;
  color: var(--pp-text-muted, var(--brand-text-muted));
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  overflow-wrap: anywhere;
}

.ClientPayments .pp-payment-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 1 auto;
  min-width: 0;
}

.ClientPayments .pp-payment-cost {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--spd-accent);
  white-space: nowrap;
  text-align: right;
}

.ClientPayments .pp-payment-status {
  flex: 0 1 auto;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.ClientPayments .pp-payment-status--fixed {
  background: var(--status-success-bg);
  color: var(--status-success-text);
}

.ClientPayments .pp-payment-status--pending {
  background: var(--status-warning-bg);
  color: var(--status-warning-text);
}

.ClientPayments .pp-payment-expand-icon {
  color: var(--pp-text-muted, var(--brand-text-muted));
  cursor: pointer;
}

.ClientPayments .pp-payment-details {
  padding: 0 18px 18px;
  border-top: 1px solid var(--pp-border, var(--brand-border-muted));
  background: var(--brand-surface-plain);
  min-width: 0;
}

.ClientPayments .pp-fiscal-table-wrapper {
  margin-top: 16px;
  overflow-x: auto;
  max-width: 100%;
  min-width: 0;
}

.ClientPayments .pp-fiscal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  table-layout: fixed;
}
.ClientPayments .pp-fiscal-table th {
  text-align: left;
  font-weight: 600;
  color: var(--pp-text-muted, var(--brand-text-muted));
  padding: 10px 8px;
  border-bottom: 2px solid var(--pp-border, var(--brand-border-muted));
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  overflow-wrap: anywhere;
}
.ClientPayments .pp-fiscal-table td {
  padding: 10px 8px;
  border-bottom: 1px solid var(--pp-border, var(--brand-border-muted));
  color: var(--pp-text, var(--brand-text-strong));
  overflow-wrap: anywhere;
}
.ClientPayments .pp-fiscal-table .text-center {
  text-align: center;
}
.ClientPayments .pp-fiscal-table .text-right {
  text-align: right;
}

.ClientPayments .pp-fiscal-divider td {
  color: var(--pp-text-muted, var(--brand-text-muted));
  font-weight: 700;
  word-break: break-all;
}

.ClientPayments .pp-fiscal-info-row td {
  font-size: 0.75rem;
  color: var(--pp-text-muted, var(--brand-text-muted));
}

.ClientPayments .pp-fiscal-qr-row td {
  vertical-align: top;
}

.ClientPayments .pp-fiscal-links {
  font-size: 0.75rem;
  color: var(--pp-text-muted, var(--brand-text-muted));
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.ClientPayments .pp-fiscal-qr {
  text-align: right;
}

.ClientPayments .pp-qr-code {
  display: inline-block;
}

.ClientPayments .pp-dialog-card {
  border-radius: 16px;
  overflow: hidden;
}

.ClientPayments .pp-dialog-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--pp-text, var(--brand-text-strong));
}

.ClientPayments .pp-dialog-text {
  font-size: 0.9rem;
  color: var(--pp-text-muted, var(--brand-text-muted));
  margin: 0;
}

.ClientPayments .pp-dialog-fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ClientPayments .pp-report-card {
  width: min(800px, 100vw - 32px);
  max-width: 800px;
  min-width: 0;
}

.ClientPayments .pp-report-header {
  border-bottom: 1px solid var(--pp-border, var(--brand-border-muted));
}

.ClientPayments .pp-report-content {
  max-height: 60vh;
  padding: 20px;
}

.ClientPayments .pp-report-actions {
  border-top: 1px solid var(--pp-border, var(--brand-border-muted));
  padding: 16px 20px;
  gap: 12px;
}

.ClientPayments .pp-btn {
  border-radius: 10px !important;
  font-weight: 600 !important;
}

.ClientPayments .pp-btn-flat {
  border-radius: 8px !important;
}

.ClientPayments .pp-pagination-pages {
  flex-wrap: wrap;
  justify-content: center;
  min-width: 0;
}

@media (max-width: 480px) {
  
.ClientPayments .pp-card-header {
  gap: 12px;
  min-width: 0;
}

.ClientPayments .pp-card-content {
  min-width: 0;
  overflow: hidden;
}

.ClientPayments .pp-payment-header {
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 12px;
  }
  .ClientPayments .pp-payment-left {
    width: 100%;
  }
  .ClientPayments .pp-payment-icon {
    width: 40px;
    height: 40px;
  }
  .ClientPayments .pp-payment-right {
    width: 100%;
    justify-content: flex-end;
    padding-left: 52px;
  }
  .ClientPayments .pp-payment-status {
    font-size: 0.68rem;
    text-transform: none;
  }
  .ClientPayments .pp-payment-details {
    padding: 0 12px 12px;
  }
  .ClientPayments .pp-fiscal-table {
    font-size: 0.75rem;
  }
  .ClientPayments .pp-fiscal-table th,.ClientPayments .pp-fiscal-table td {
    padding: 8px 4px;
  }
  .ClientPayments .pp-fiscal-qr {
    text-align: left;
  }
}

/* === src/components/Personal/IdentCard.vue; scope === */
.IdentCard {
  position: relative;
  width: 280px;
  min-height: 176px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--c-from) 0%, var(--c-to) 100%);
  color: white;
  cursor: pointer;
  overflow: hidden;
  flex-shrink: 0;
  scroll-snap-align: start;
  transition: transform 0.24s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.24s ease;
  user-select: none;
  outline: none;
}
.IdentCard::before {
  content: "";
  position: absolute;
  top: -48px;
  right: -48px;
  width: 168px;
  height: 168px;
  border-radius: 50%;
  background: rgba(var(--brand-white-rgb), 0.1);
  pointer-events: none;
}
.IdentCard::after {
  content: "";
  position: absolute;
  bottom: -36px;
  left: -28px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: rgba(var(--brand-white-rgb), 0.07);
  pointer-events: none;
}
@media (hover: hover) {
  .IdentCard:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(var(--brand-black-rgb), 0.18);
  }
}
.IdentCard:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(var(--brand-black-rgb), 0.12);
}
.IdentCard:focus-visible {
  outline: 3px solid white;
  outline-offset: 3px;
}
.IdentCard__gloss {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(var(--brand-white-rgb), 0.24) 0%, rgba(var(--brand-white-rgb), 0.08) 42%, rgba(var(--brand-white-rgb), 0) 62%);
  border-radius: inherit;
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.24s;
}
.IdentCard:hover .IdentCard__gloss {
  opacity: 0.7;
}
.IdentCard__top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 14px 0;
}
.IdentCard__chip {
  width: 40px;
  height: 31px;
  flex-shrink: 0;
}
.IdentCard__chip svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 1px 3px rgba(var(--brand-black-rgb), 0.3));
}
.IdentCard__nfc {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-left: auto;
}
.IdentCard__owner {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(var(--brand-white-rgb), 0.22);
  border: 1.5px solid rgba(var(--brand-white-rgb), 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  flex-shrink: 0;
}
.IdentCard__number {
  font-family: "Courier New", "Lucida Console", monospace;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: rgba(var(--brand-white-rgb), 0.88);
  text-shadow: 0 1px 4px rgba(var(--brand-black-rgb), 0.35);
}
.IdentCard__name {
  position: relative;
  z-index: 2;
  padding: 0px 10px 0;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 3px rgba(var(--brand-black-rgb), 0.3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 170px;
}
.IdentCard__packs {
  position: relative;
  z-index: 2;
  padding: 6px 14px 50px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.IdentCard__pack {
  opacity: 1;
  transition: opacity 0.2s;
}
.IdentCard__pack-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 3px;
}
.IdentCard__pack-name {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: rgba(var(--brand-white-rgb), 0.9);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.IdentCard__pack-count {
  font-size: 0.58rem;
  font-family: "Courier New", monospace;
  color: rgba(var(--brand-white-rgb), 0.75);
  flex-shrink: 0;
}
.IdentCard__pack-track {
  height: 4px;
  border-radius: 2px;
  background: rgba(var(--brand-white-rgb), 0.2);
  overflow: hidden;
  opacity: 0.75;
}
.IdentCard__pack-track--low {
  background: rgba(255, 90, 90, 0.22);
  opacity: 0.85;
}
.IdentCard__pack-fill {
  height: 100%;
  border-radius: 2px;
  background: rgba(var(--brand-white-rgb), 0.8);
  transition: width 0.4s ease, background 0.4s ease;
}
.IdentCard__pack-fill--low {
  animation: packPulse 1.8s ease-in-out infinite;
}
@keyframes packPulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.45;
  }
}
.IdentCard__footer {
  position: absolute;
  z-index: 2;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0 14px 13px;
  display: flex;
  justify-content: space-between;
}
.IdentCard__holder {
  flex: 1;
  min-width: 0;
}
.IdentCard__holder-label {
  font-size: 0.48rem;
  letter-spacing: 0.16em;
  color: rgba(var(--brand-white-rgb), 0.58);
  margin-bottom: 2px;
}
.IdentCard__cat {
  font-size: 0.52rem;
  color: rgba(var(--brand-white-rgb), 0.6);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-top: 1px;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 200px;
}
.IdentCard__expiry {
  text-align: right;
  flex-shrink: 0;
  margin-left: 8px;
}
.IdentCard__expiry-label {
  font-size: 0.48rem;
  letter-spacing: 0.14em;
  color: rgba(var(--brand-white-rgb), 0.58);
  margin-bottom: 2px;
}
.IdentCard__expiry-date {
  font-family: "Courier New", monospace;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

/* === src/components/Personal/IdentDetailDialog.vue; scope === */
.IDD {
  width: min(400px, 96vw);
  background: var(--spd-surface);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(var(--brand-black-rgb), 0.22), 0 4px 16px rgba(var(--brand-black-rgb), 0.1);
}
.IDD__header {
  position: relative;
  padding: 22px 18px 18px;
  color: white;
  overflow: hidden;
}
.IDD__header-gloss {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 55%;
  background: linear-gradient(180deg, rgba(var(--brand-white-rgb), 0.18) 0%, transparent 100%);
  pointer-events: none;
}
.IDD__close {
  position: absolute !important;
  top: 10px;
  right: 10px;
  z-index: 2;
  opacity: 0.8;
}
.IDD__close:hover {
  opacity: 1;
}
.IDD__header-body {
  position: relative;
  z-index: 1;
  padding-right: 36px;
}
.IDD__name {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 4px rgba(var(--brand-black-rgb), 0.2);
  margin-bottom: 3px;
}
.IDD__code {
  font-family: "Courier New", monospace;
  font-size: 0.78rem;
  color: rgba(var(--brand-white-rgb), 0.7);
  letter-spacing: 0.12em;
}
.IDD__qr {
  padding: 22px 18px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-bottom: 1px solid var(--spd-border);
}
.IDD__qr-frame {
  width: 216px;
  height: 216px;
  background: white;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(var(--brand-black-rgb), 0.08);
  padding: 8px;
}
.IDD__qr-hint {
  margin-top: 10px;
  font-size: 0.72rem;
  color: var(--spd-muted);
  text-align: center;
  letter-spacing: 0.01em;
}
.IDD__body {
  padding: 14px 18px 6px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.IDD__row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.IDD__row-icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--spd-accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--spd-accent);
}
.IDD__row-text {
  flex: 1;
  min-width: 0;
  padding-top: 1px;
}
.IDD__row-label {
  font-size: 0.65rem;
  color: var(--spd-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 2px;
}
.IDD__row-value {
  font-size: 0.875rem;
  color: var(--spd-text);
  font-weight: 500;
  line-height: 1.3;
  word-break: break-word;
}
.IDD__actions {
  padding: 14px 18px 18px;
  display: flex;
  gap: 8px;
  border-top: 1px solid var(--spd-border);
}
.IDD__action-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 9px 14px;
  border-radius: var(--spd-radius-btn);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: background 0.14s ease, border-color 0.14s ease;
  letter-spacing: 0.01em;
}
.IDD__action-btn--danger {
  color: var(--status-danger);
  border-color: var(--status-danger);
  background: transparent;
}
.IDD__action-btn--danger:hover {
  background: var(--status-danger-bg-soft);
}
.IDD__action-btn--accent {
  color: var(--spd-accent);
  border-color: var(--spd-accent);
  background: transparent;
}
.IDD__action-btn--accent:hover {
  background: var(--spd-accent-light);
}

/* === src/components/Personal/IdentPresentModal.vue; scope === */
.IPM {
  width: min(440px, 100vw);
  max-height: min(680px, 90dvh);
  background: var(--spd-surface);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 64px rgba(var(--brand-black-rgb), 0.22), 0 4px 16px rgba(var(--brand-black-rgb), 0.1);
}
.IPM--fullscreen {
  width: 100%;
  height: 100dvh;
  max-height: none;
  border-radius: 0;
  box-shadow: none;
}
.IPM__header {
  position: relative;
  min-height: 52px;
  color: white;
  overflow: hidden;
  flex-shrink: 0;
  transition: background 0.3s ease;
}
.IPM__header-gloss {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 55%;
  background: linear-gradient(180deg, rgba(var(--brand-white-rgb), 0.18) 0%, transparent 100%);
  pointer-events: none;
}
.IPM__close {
  position: absolute !important;
  top: 10px;
  right: 10px;
  z-index: 2;
  opacity: 0.8;
}
.IPM__close:hover {
  opacity: 1;
}
.IPM__header-title {
  position: relative;
  z-index: 1;
  min-height: 52px;
  padding: 15px 56px 14px 18px;
  color: white;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
  text-shadow: 0 1px 4px rgba(var(--brand-black-rgb), 0.2);
  word-break: break-word;
}
.IPM__carousel {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.IPM__row {
  position: relative;
  width: 100%;
  min-height: 0;
  flex: 1;
  display: flex;
}
.IPM__arrow {
  position: absolute;
  top: 112px;
  z-index: 2;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--spd-border);
  background: var(--brand-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--spd-text-2);
  box-shadow: 0 2px 6px rgba(var(--brand-shadow-rgb), 0.08);
  transition: all 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.IPM__arrow:first-child {
  left: 8px;
}
.IPM__arrow:last-child {
  right: 8px;
}
.IPM__arrow:hover {
  border-color: var(--spd-accent);
  color: var(--spd-accent);
  box-shadow: 0 4px 14px rgba(var(--brand-primary-rgb), 0.2);
  transform: scale(1.12);
}
.IPM__arrow:active {
  transform: scale(0.92);
  box-shadow: 0 1px 4px rgba(var(--brand-shadow-rgb), 0.08);
}
.IPM__indicators {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 4px 0 10px;
  flex-shrink: 0;
}
.IPM__dot {
  width: 6px;
  height: 20px;
  border-radius: 10px;
  border: none;
  background: var(--spd-border);
  cursor: pointer;
  padding: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: width 0.42s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.28s ease;
}
.IPM__dot--active {
  width: 36px;
  background: var(--spd-accent);
}
.IPM__dot:hover:not(.IPM__dot--active) {
  background: var(--spd-muted-2, var(--brand-text-subtle));
}
.IPM__dot-n {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--brand-surface);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease 0.22s;
}
.IPM__dot--active .IPM__dot-n {
  opacity: 1;
}
.IPM__viewport {
  flex: 1;
  min-height: 0;
  display: flex;
  overflow-x: scroll;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.IPM__viewport::-webkit-scrollbar {
  display: none;
}
.IPM__slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  min-width: 0;
}
.IPM__card {
  border-radius: 0;
  border-left: none;
  border-right: none;
}
.IPM__actions {
  padding: 14px 18px 18px;
  display: flex;
  gap: 8px;
  border-top: 1px solid var(--spd-border);
  flex-shrink: 0;
}
.IPM__action-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 10px 14px;
  border-radius: var(--spd-radius-btn);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: background 0.14s ease, border-color 0.14s ease;
  letter-spacing: 0.01em;
}
.IPM__action-btn--danger {
  color: var(--status-danger);
  border-color: var(--status-danger);
  background: transparent;
}
.IPM__action-btn--danger:hover {
  background: var(--status-danger-bg-soft);
}
.IPM__action-btn--accent {
  color: var(--spd-accent);
  border-color: var(--spd-accent);
  background: transparent;
}
.IPM__action-btn--accent:hover {
  background: var(--spd-accent-light);
}

/* === src/components/Personal/IdentPresentationCard.vue; scope === */
.IPC {
  width: 100%;
  background: white;
  border-radius: 0 0 16px 16px;
  border: 1px solid var(--brand-border-muted);
  border-top: none;
  overflow: hidden;
}

.IPC__qr-section {
  background: #fafbfd;
  padding: 24px 20px 20px;
  display: flex;
  justify-content: center;
}

.IPC__qr-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.IPC__code {
  font-family: "Courier New", monospace;
  font-size: 0.7rem;
  color: var(--brand-text-subtle);
  letter-spacing: 0.08em;
  word-break: break-all;
  text-align: center;
  max-width: 220px;
}

.IPC__qr-hint {
  font-size: 0.75rem;
  color: var(--brand-text-muted);
  text-align: center;
}

.IPC__band {
  background: linear-gradient(135deg, var(--ipc-accent) 0%, var(--ipc-accent-dark) 100%);
  padding: 16px 20px 14px;
  position: relative;
  overflow: hidden;
}
.IPC__band::before {
  content: "";
  position: absolute;
  top: -30px;
  right: -20px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(var(--brand-white-rgb), 0.08);
}

.IPC__band-title {
  position: relative;
  z-index: 1;
  font-size: 0.95rem;
  font-weight: 700;
  color: white;
  margin-bottom: 4px;
  line-height: 1.3;
  word-break: break-word;
}

.IPC__band-time {
  position: relative;
  z-index: 1;
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(var(--brand-white-rgb), 0.84);
  display: flex;
  align-items: center;
  gap: 6px;
}

.IPC__tear {
  position: relative;
  height: 0;
  display: flex;
  align-items: center;
  margin: 0 -1px;
}

.IPC__tear-notch {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--tint-primary-soft);
  border: 1px solid var(--brand-border-muted);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.IPC__tear-notch--l {
  margin-left: -9px;
  border-left-color: transparent;
}
.IPC__tear-notch--r {
  margin-right: -9px;
  border-right-color: transparent;
}

.IPC__tear-line {
  flex: 1;
  border-top: 2px dashed var(--brand-border-muted);
}

.IPC__stub {
  background: white;
  padding: 16px 20px 20px;
  border-radius: 0 0 14px 14px;
}

.IPC__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 7px 0;
  gap: 12px;
  border-bottom: 1px solid var(--brand-surface-hover);
}
.IPC__row:last-child {
  border-bottom: none;
}

.IPC__divider {
  border-top: 1px dashed var(--brand-border-muted);
  margin: 4px 0;
}

.IPC__key {
  font-size: 0.75rem;
  color: var(--brand-text-muted);
  white-space: nowrap;
  font-weight: 500;
}

.IPC__val {
  font-size: 0.85rem;
  color: var(--brand-text);
  font-weight: 600;
  text-align: right;
  word-break: break-word;
}
.IPC__val--mono {
  font-family: "Courier New", monospace;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}
.IPC__val--price {
  color: var(--ipc-accent);
  font-size: 0.95rem;
  font-weight: 800;
}

/* === src/components/Personal/IdentTicket.vue; scope === */
.IdentTicket {
  display: flex;
  align-items: stretch;
  background: var(--spd-surface);
  border-radius: 12px;
  border: 1px solid var(--spd-border);
  box-shadow: var(--spd-shadow);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.18s ease;
  outline: none;
  min-height: 80px;
  /* Perforation strip */
}
.IdentTicket:hover {
  box-shadow: 0 6px 22px rgba(var(--brand-black-rgb), 0.1);
  transform: translateY(-2px);
}
.IdentTicket:active {
  transform: translateY(0);
  box-shadow: var(--spd-shadow);
}
.IdentTicket:focus-visible {
  outline: 2px solid var(--spd-accent);
  outline-offset: 2px;
}
.IdentTicket__stub {
  width: 72px;
  flex-shrink: 0;
  background-color: var(--t-color, var(--brand-primary));
  background-image: linear-gradient(160deg, transparent 0%, rgba(var(--brand-black-rgb), 0.18) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 6px;
}
.IdentTicket__stub-inner {
  text-align: center;
  color: white;
}
.IdentTicket__seat-label {
  font-size: 0.48rem;
  letter-spacing: 0.14em;
  color: rgba(var(--brand-white-rgb), 0.65);
  margin-bottom: 2px;
}
.IdentTicket__date {
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1;
  text-shadow: 0 1px 3px rgba(var(--brand-black-rgb), 0.25);
}
.IdentTicket__time {
  margin-top: 3px;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(var(--brand-white-rgb), 0.86);
  text-shadow: 0 1px 3px rgba(var(--brand-black-rgb), 0.25);
}
.IdentTicket__seat {
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1;
  text-shadow: 0 1px 3px rgba(var(--brand-black-rgb), 0.25);
}
.IdentTicket__stub-cat {
  margin-top: 5px;
  font-size: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(var(--brand-white-rgb), 0.7);
  display: -webkit-box;
  max-width: 60px;
  line-height: 1.15;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.IdentTicket__perf {
  width: 14px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--spd-surface);
  position: relative;
}
.IdentTicket__perf::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--t-color, var(--brand-primary));
  opacity: 0.15;
}
.IdentTicket__perf-hole {
  width: 14px;
  height: 7px;
  background: var(--spd-bg, var(--brand-surface-page));
  border: 1px solid var(--spd-border);
  flex-shrink: 0;
}
.IdentTicket__perf-hole--top {
  border-radius: 0 0 7px 7px;
  border-top: none;
}
.IdentTicket__perf-hole--bottom {
  border-radius: 7px 7px 0 0;
  border-bottom: none;
}
.IdentTicket__perf-dashes {
  flex: 1;
  width: 0;
  border-left: 2px dashed var(--spd-border);
  margin: 3px 0;
}
.IdentTicket__body {
  flex: 1;
  padding: 12px 10px 12px 8px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}
.IdentTicket__event {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--spd-text);
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.IdentTicket__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.IdentTicket__meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--spd-muted);
  background: var(--spd-surface-2);
  border-radius: 20px;
  padding: 2px 7px 2px 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 200px;
}
.IdentTicket__additions {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.IdentTicket__addition {
  display: inline-flex;
  align-items: center;
  max-width: 220px;
  padding: 2px 7px;
  border-radius: 20px;
  background: rgba(var(--brand-primary-rgb), 0.08);
  color: var(--spd-text);
  font-size: 0.66rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.IdentTicket__rule {
  font-size: 0.64rem;
  color: var(--spd-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.IdentTicket__arrow {
  display: flex;
  align-items: center;
  padding: 0 8px 0 2px;
  color: var(--spd-muted-2);
  transition: color 0.18s, transform 0.18s;
}
.IdentTicket:hover .IdentTicket__arrow {
  color: var(--spd-accent);
  transform: translateX(2px);
}

/* === src/components/Personal/TicketQuickBar.vue; scope === */
.TQB {
  padding: 8px 0 4px;
}
.TQB__rail {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 4px 16px 10px;
  scrollbar-width: none;
}
.TQB__rail::-webkit-scrollbar {
  display: none;
}
.TQB__item {
  flex-shrink: 0;
  scroll-snap-align: start;
  width: 200px;
  border-radius: 16px;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  outline: none;
}
.TQB__item:active {
  transform: scale(0.97);
}
.TQB__item--selected {
  outline: 3px solid white;
  outline-offset: 2px;
  box-shadow: 0 0 0 5px var(--spd-accent, var(--brand-primary));
}
.TQB__item--card {
  height: 156px;
  background: linear-gradient(135deg, var(--c-from) 0%, var(--c-to) 100%);
  color: white;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.TQB__card-gloss {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(var(--brand-white-rgb), 0.18) 0%, transparent 100%);
  pointer-events: none;
}
.TQB__card-top {
  position: relative;
  z-index: 1;
}
.TQB__card-number {
  font-family: "Courier New", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: rgba(var(--brand-white-rgb), 0.85);
}
.TQB__card-footer {
  position: relative;
  z-index: 1;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.TQB__card-name {
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.TQB__card-expiry {
  font-size: 0.62rem;
  color: rgba(var(--brand-white-rgb), 0.72);
}
.TQB__packs {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 6px;
}
.TQB__pack {
  font-size: 0.62rem;
  background: rgba(var(--brand-white-rgb), 0.22);
  border-radius: 4px;
  padding: 2px 5px;
  white-space: nowrap;
}
.TQB__item--ticket {
  height: 130px;
  background: var(--spd-surface, var(--brand-surface));
  border: 1.5px solid var(--spd-border, var(--brand-surface-neutral-strong));
  display: flex;
  overflow: hidden;
}
.TQB__ticket-stub {
  width: 52px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
}
.TQB__stub-day {
  font-size: 1.3rem;
  line-height: 1;
}
.TQB__stub-month {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.TQB__ticket-body {
  flex: 1;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  overflow: hidden;
  justify-content: center;
}
.TQB__ticket-name {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--spd-text, var(--brand-text));
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.TQB__ticket-place,.TQB__ticket-time {
  font-size: 0.65rem;
  color: var(--spd-muted, var(--brand-text-gray));
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.TQB__item--add {
  width: 100px;
  height: 130px;
  border: 2px dashed var(--spd-border, var(--brand-surface-neutral-strong));
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--spd-muted, var(--brand-text-gray));
  font-size: 0.7rem;
  text-align: center;
  border-radius: 16px;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}
.TQB__item--add:hover {
  border-color: var(--spd-accent, var(--brand-primary));
  color: var(--spd-accent, var(--brand-primary));
}

/* === src/components/System/SPDNotifications.vue === */
.spdn-toast--success {
  --spdn-clr: var(--status-success-dark);
  --spdn-clr-bg: var(--status-success-bg-soft);
  --spdn-clr-progress: rgba(var(--status-success-dark-rgb), 0.6);
}

.spdn-toast--error {
  --spdn-clr: var(--status-danger);
  --spdn-clr-bg: var(--status-danger-bg-soft);
  --spdn-clr-progress: rgba(var(--status-danger-rgb), 0.6);
}

.spdn-toast--warning {
  --spdn-clr: var(--status-warning-dark);
  --spdn-clr-bg: var(--status-warning-bg-soft);
  --spdn-clr-progress: rgba(var(--status-warning-dark-rgb), 0.6);
}

.spdn-toast--info {
  --spdn-clr: var(--brand-primary);
  --spdn-clr-bg: var(--tint-primary);
  --spdn-clr-progress: rgba(var(--brand-primary-rgb), 0.5);
}

.spdn-portal {
  position: fixed;
  top: 80px;
  right: 20px;
  width: 356px;
  z-index: 9500;
  pointer-events: none;
}
@media (max-width: 480px) {
  .spdn-portal {
    top: auto;
    bottom: 80px;
    right: 12px;
    left: 12px;
    width: auto;
  }
}

.spdn-stack {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.spdn-toast {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  padding: 14px 40px 14px 0;
  background: var(--brand-surface);
  border-radius: 12px;
  overflow: hidden;
  pointer-events: all;
  cursor: default;
  box-shadow: 0 1px 3px rgba(var(--brand-shadow-rgb), 0.06), 0 4px 20px rgba(var(--brand-shadow-rgb), 0.09), 0 0 0 1px rgba(var(--brand-shadow-rgb), 0.05);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.spdn-toast:hover {
  box-shadow: 0 2px 6px rgba(var(--brand-shadow-rgb), 0.08), 0 8px 28px rgba(var(--brand-shadow-rgb), 0.12), 0 0 0 1px rgba(var(--brand-shadow-rgb), 0.06);
  transform: translateY(-1px);
}

.spdn-accent {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  border-radius: 12px 0 0 12px;
  background: var(--spdn-clr);
  flex-shrink: 0;
}

.spdn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-left: 16px;
  margin-top: 1px;
  color: var(--spdn-clr);
}
.spdn-icon svg {
  width: 20px;
  height: 20px;
}

.spdn-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.spdn-message-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
}

.spdn-message {
  margin: 0;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--brand-text);
  letter-spacing: -0.01em;
  min-width: 0;
  overflow-wrap: anywhere;
}

.spdn-repeat {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 20px;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--spdn-clr-bg);
  color: var(--spdn-clr);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

.spdn-caption {
  margin: 0;
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--brand-text-muted);
}

.spdn-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.spdn-action-btn {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border: none;
  border-radius: 6px;
  background: var(--spdn-clr-bg);
  color: var(--spdn-clr);
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: filter 0.15s ease;
}
.spdn-action-btn:hover {
  filter: brightness(0.94);
}
.spdn-action-btn:active {
  filter: brightness(0.88);
}

.spdn-close {
  position: absolute;
  top: 11px;
  right: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: var(--brand-text-subtle);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  padding: 0;
}
.spdn-close svg {
  width: 10px;
  height: 10px;
}
.spdn-close:hover {
  background: var(--brand-surface-hover);
  color: var(--brand-text-secondary);
}
.spdn-close:active {
  background: var(--brand-border-muted);
}

.spdn-progress {
  position: absolute;
  bottom: 0;
  left: 4px;
  right: 0;
  height: 2px;
  border-radius: 0 0 12px 0;
  background: var(--spdn-clr-progress);
  transform-origin: left center;
  animation: spdn-shrink var(--spdn-dur, 4000ms) linear forwards;
}

@keyframes spdn-shrink {
  from {
    transform: scaleX(1);
  }
  to {
    transform: scaleX(0);
  }
}
.spdn-toast-enter-active {
  animation: spdn-in 0.35s cubic-bezier(0.34, 1.3, 0.64, 1) both;
}

.spdn-toast-leave-active {
  animation: spdn-out 0.24s cubic-bezier(0.4, 0, 0.8, 0.6) both;
  position: absolute;
  right: 0;
  left: 0;
}

.spdn-toast-move {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes spdn-in {
  from {
    opacity: 0;
    transform: translateX(calc(100% + 24px)) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}
@keyframes spdn-out {
  from {
    opacity: 1;
    transform: translateX(0) scale(1);
    max-height: 120px;
    margin-bottom: 0;
  }
  to {
    opacity: 0;
    transform: translateX(calc(100% + 24px)) scale(0.92);
    max-height: 0;
    margin-bottom: -10px;
  }
}

/* === src/components/System/ThemeDialog.vue; scope === */
.td-card {
  width: 320px;
  max-width: 100vw;
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 0;
}

.td-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px 10px 16px;
  flex-shrink: 0;
}

.td-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--brand-text-strong);
}

.td-header-actions {
  display: flex;
  gap: 2px;
}

.td-body {
  flex: 1;
  overflow-y: auto;
}

.td-group {
  padding: 12px 16px 8px;
  border-bottom: 1px solid var(--brand-border-light);
}
.td-group:last-child {
  border-bottom: none;
}

.td-group-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-text-subtle);
  margin-bottom: 8px;
}

.td-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 5px 0;
}

.td-row-label {
  font-size: 0.82rem;
  color: var(--brand-text-secondary);
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: default;
}

.td-row-right {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.td-swatch-btn {
  position: relative;
  display: inline-flex;
  cursor: pointer;
  flex-shrink: 0;
}
.td-swatch-btn:hover .td-swatch-icon {
  opacity: 1;
}

.td-swatch {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  border: 1px solid rgba(var(--brand-black-rgb), 0.14);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.15s;
  box-shadow: 0 1px 3px rgba(var(--brand-black-rgb), 0.12);
}
.td-swatch-btn:hover .td-swatch {
  box-shadow: 0 2px 6px rgba(var(--brand-black-rgb), 0.22);
}

.td-swatch-icon {
  opacity: 0;
  color: rgba(var(--brand-white-rgb), 0.9);
  filter: drop-shadow(0 0 1px rgba(var(--brand-black-rgb), 0.5));
  transition: opacity 0.15s;
  pointer-events: none;
}

.td-color-input {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
  pointer-events: none;
}

.td-hex {
  font-size: 0.72rem;
  font-family: "Courier New", monospace;
  color: var(--brand-text-muted);
  min-width: 56px;
}

.td-reset-btn {
  opacity: 0.4;
}
.td-reset-btn:not([disabled]) {
  opacity: 1;
}

/* === src/pages/Events/EventsPage.vue; scope === */
.EventsPage {
  min-height: 100vh;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.ep-selection-flow,.ep-ticket-purchase {
  max-width: 900px;
  margin: 0 auto;
  padding: 16px 16px 24px;
}

.ep-page-header {
  margin-bottom: 16px;
}

.ep-page-title {
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--ep-text, var(--brand-text-strong));
  margin: 0 0 8px;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.ep-page-subtitle {
  font-size: 0.875rem;
  color: var(--ep-text-muted, var(--brand-text-muted));
  margin: 0;
  font-weight: 400;
}

.ep-section {
  margin-bottom: 0px;
}

.ep-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--brand-text-soft);
  margin-bottom: 16px;
  line-height: 2rem;
}

.ep-step-badge {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--ep-primary-light, var(--brand-personal-primary-light));
  color: var(--ep-primary, var(--brand-personal-primary));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.ep-venue-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
}

.ep-venue-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  cursor: pointer;
  background: white;
  border-radius: var(--ep-radius-card, 16px);
  border: 2px solid transparent;
  box-shadow: var(--ep-shadow-soft);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
}
.ep-venue-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--ep-shadow-hover);
}
.ep-venue-card:focus,.ep-venue-card:focus-visible {
  outline: none;
}

.ep-venue-card--selected {
  border-color: var(--ep-primary, var(--brand-personal-primary));
  background: var(--tint-primary-pale);
  box-shadow: 0 4px 12px rgba(var(--brand-personal-primary-rgb), 0.15);
}

.ep-venue-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ep-primary-light, var(--brand-personal-primary-light));
  color: var(--ep-primary, var(--brand-personal-primary));
}

.ep-venue-card--selected .ep-venue-icon {
  background: var(--ep-primary, var(--brand-personal-primary));
  color: white;
}

.ep-venue-info {
  flex: 1;
  min-width: 0;
}

.ep-venue-name {
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--ep-text, var(--brand-text-strong));
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.ep-venue-desc {
  font-size: 0.875rem;
  color: var(--ep-text-muted, var(--brand-text-muted));
  margin-top: 4px;
  font-weight: 400;
}

.ep-venue-arrow {
  color: var(--brand-border-strong);
  flex-shrink: 0;
}

.ep-date-tabs-wrapper {
  position: relative;
}

.ep-date-tabs-scroll {
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: none;
}
.ep-date-tabs-scroll::-webkit-scrollbar {
  display: none;
}

.ep-date-tabs-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(calc(-50% - 3px));
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid var(--ep-border, var(--brand-border-muted));
  background: white;
  box-shadow: 0 2px 6px rgba(var(--brand-black-rgb), 0.1);
  color: var(--ep-text, var(--brand-text-strong));
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, box-shadow 0.15s, color 0.15s;
  padding: 0;
}
.ep-date-tabs-arrow:hover {
  background: var(--ep-primary-light, var(--tint-primary));
  border-color: var(--ep-primary, var(--brand-personal-primary));
  color: var(--ep-primary, var(--brand-personal-primary));
  box-shadow: 0 2px 8px rgba(var(--brand-personal-primary-rgb), 0.2);
}
.ep-date-tabs-arrow:active {
  transform: translateY(calc(-50% - 3px)) scale(0.92);
}
.ep-date-tabs-arrow--left {
  left: 0;
}
.ep-date-tabs-arrow--right {
  right: 0;
}

.ep-date-tabs {
  display: flex;
  gap: 8px;
  padding: 2px;
}

.ep-date-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px 18px;
  white-space: nowrap;
  cursor: pointer;
  background: white;
  border: 1px solid var(--ep-border, var(--brand-border-muted));
  border-radius: var(--ep-radius-tab, 12px);
  color: var(--ep-text-muted, var(--brand-text-muted));
  transition: all 0.2s;
  min-width: 80px;
}
.ep-date-tab:hover:not(.ep-date-tab--active) {
  background: var(--brand-surface-subtle);
  border-color: var(--brand-border-strong);
}

.ep-date-tab--active {
  background: var(--ep-primary, var(--brand-personal-primary));
  color: white;
  border-color: var(--ep-primary, var(--brand-personal-primary));
  box-shadow: 0 2px 10px rgba(var(--brand-personal-primary-rgb), 0.25);
}

.ep-date-tab-day {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  opacity: 0.85;
  line-height: 1;
}

.ep-date-tab--active .ep-date-tab-day {
  opacity: 0.9;
}

.ep-date-tab-date {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
}

.ep-slot-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ep-slot-card {
  display: flex;
  align-items: stretch;
  gap: 16px;
  padding: 16px 20px;
  background: white;
  border-radius: 16px;
  border: 1px solid var(--ep-border, var(--brand-border-muted));
  box-shadow: var(--ep-shadow-soft);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.ep-slot-card:hover:not(.ep-slot-card--sold-out) {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(var(--brand-black-rgb), 0.1);
  border-color: var(--brand-personal-primary-light);
}
@media (max-width: 480px) {
  .ep-slot-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    padding: 14px 16px;
  }
}

.ep-slot-card--sold-out {
  opacity: 0.5;
  background: var(--brand-surface-subtle);
}

.ep-slot-time {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  flex-shrink: 0;
  padding: 8px 12px;
  gap: 2px;
}
@media (max-width: 480px) {
  .ep-slot-time {
    flex-direction: column;
    min-width: auto;
    width: 100%;
    align-items: center;
    gap: 2px;
    padding: 6px 10px;
  }
}

.ep-slot-time-start {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ep-primary, var(--brand-personal-primary));
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.ep-slot-time-sep {
  font-size: 0.625rem;
  color: var(--ep-text-muted, var(--brand-text-subtle));
  margin: 0;
}
@media (max-width: 480px) {
  .ep-slot-time-sep {
    display: none;
  }
}

.ep-slot-time-end {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ep-text-muted, var(--brand-text-muted));
  line-height: 1.2;
}
@media (max-width: 480px) {
  .ep-slot-time-end {
    font-size: 0.75rem;
  }
}

.ep-slot-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}
@media (max-width: 480px) {
  .ep-slot-info {
    width: 100%;
  }
}

.ep-slot-name {
  font-weight: 700;
  color: var(--ep-text, var(--brand-text-strong));
  font-size: 1rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
@media (max-width: 480px) {
  .ep-slot-name {
    font-size: 0.9375rem;
  }
}

.ep-slot-remains {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--status-warning-dark);
  margin-top: 2px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
@media (max-width: 480px) {
  .ep-slot-remains {
    justify-content: center;
    font-size: 0.7rem;
  }
}

.ep-slot-remains--none {
  color: var(--brand-text-subtle);
}

.ep-slot-action {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
@media (max-width: 480px) {
  .ep-slot-action {
    width: 100%;
    justify-content: center;
  }
}

.ep-buy-btn {
  border-radius: var(--ep-radius-btn, 10px) !important;
  font-weight: 600 !important;
  min-height: 44px !important;
  font-size: 0.9375rem !important;
}
@media (max-width: 480px) {
  .ep-buy-btn {
    width: 100% !important;
  }
}

.ep-buy-btn--full {
  width: 100% !important;
}

.ep-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: var(--ep-radius-btn, 10px);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0 18px;
  height: 40px;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  line-height: 1;
}
.ep-btn:active {
  transform: scale(0.98);
}
.ep-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.ep-btn--primary {
  background: linear-gradient(135deg, var(--brand-personal-primary) 0%, var(--brand-personal-primary-dark) 100%);
  color: white;
}
.ep-btn--primary:hover:not(:disabled) {
  box-shadow: 0 4px 12px rgba(var(--brand-personal-primary-rgb), 0.3);
  filter: brightness(1.07);
}

.ep-btn--outline {
  background: white;
  border: 1px solid var(--ep-border, var(--brand-border-muted));
  color: var(--brand-text-soft);
}
.ep-btn--outline:hover:not(:disabled) {
  border-color: var(--ep-primary, var(--brand-personal-primary));
  color: var(--ep-primary, var(--brand-personal-primary));
  background: var(--tint-primary-pale);
}

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

.ep-empty-state {
  padding: 36px 20px;
  text-align: center;
  background: white;
  border-radius: var(--ep-radius-card, 16px);
  border: 2px dashed var(--ep-border, var(--brand-border-muted));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.ep-empty-icon {
  opacity: 0.3;
}

.ep-empty-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand-text-secondary);
}

.ep-empty-text {
  font-size: 0.9rem;
  color: var(--ep-text-muted, var(--brand-text-muted));
  margin: 0;
}

.ep-info-alert {
  background: var(--status-warning-bg-soft);
  border: 1px solid var(--status-warning-border);
  border-left: 4px solid var(--status-warning);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 0.88rem;
  color: var(--status-warning-text);
  margin-top: 12px;
  line-height: 1.6;
}

.ep-venue-desc-alert {
  margin-top: 12px;
}

.ep-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  color: var(--ep-text-muted, var(--brand-text-muted));
  margin-bottom: 20px;
  font-weight: 400;
}

.ep-breadcrumb-link {
  cursor: pointer;
  background: none;
  border: none;
  color: var(--ep-text-muted, var(--brand-text-muted));
  font-size: 0.875rem;
  padding: 0;
  font-weight: 400;
}
.ep-breadcrumb-link:hover {
  color: var(--ep-primary, var(--brand-personal-primary));
}

.ep-breadcrumb-current {
  font-weight: 600;
  color: var(--ep-text, var(--brand-text-strong));
}

.ep-session-banner {
  background: linear-gradient(135deg, var(--spd-accent) 0%, var(--spd-accent-dark) 100%);
  border-radius: var(--spd-radius-card);
  padding: 24px 28px;
  margin-bottom: 20px;
  color: white;
  box-shadow: 0 8px 24px rgba(var(--spd-accent-rgb), 0.28);
}

.ep-session-banner-meta {
  font-size: 0.8125rem;
  font-weight: 500;
  opacity: 0.9;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.02em;
}

.ep-session-banner-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 14px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.ep-session-banner-venue {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 10px;
  background: rgba(var(--brand-white-rgb), 0.15);
  font-size: 0.875rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(var(--brand-white-rgb), 0.1);
}

.ep-purchase-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
}
@media (min-width: 900px) {
  .ep-purchase-grid {
    grid-template-columns: 1fr 320px;
  }
}
@media (min-width: 900px) {
  .ep-purchase-grid.ep-purchase-grid--hallplan {
    grid-template-columns: 1fr;
  }
}

.ep-ticket-section-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ep-text, var(--brand-text-strong));
  margin: 0 0 14px;
}

.ep-ticket-categories {
  background: white;
  border-radius: var(--ep-radius-card, 16px);
  border: 1px solid var(--ep-border, var(--brand-border-muted));
  box-shadow: var(--ep-shadow-soft);
  overflow: hidden;
  margin-bottom: 16px;
}

.ep-ticket-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  transition: background 0.15s;
}
.ep-ticket-row:not(:last-child) {
  border-bottom: 1px solid var(--ep-border, var(--brand-border-muted));
}
.ep-ticket-row:hover {
  background: var(--brand-surface-subtle);
}

.ep-ticket-row-info {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 0;
}

.ep-ticket-row-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ep-primary-light, var(--brand-personal-primary-light));
  color: var(--ep-primary, var(--brand-personal-primary));
}

.ep-ticket-row-name {
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--ep-text, var(--brand-text-strong));
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.ep-ticket-row-price {
  font-size: 0.8125rem;
  color: var(--ep-text-muted, var(--brand-text-muted));
  margin-top: 3px;
  font-weight: 500;
}

.ep-qty-control {
  display: flex;
  align-items: center;
  background: var(--brand-surface-hover);
  border-radius: 12px;
  padding: 4px;
  flex-shrink: 0;
}

.ep-qty-btn {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border: none;
  box-shadow: 0 1px 3px rgba(var(--brand-black-rgb), 0.08);
  color: var(--brand-text-secondary);
  cursor: pointer;
  transition: all 0.2s;
}
.ep-qty-btn:hover {
  color: var(--ep-primary, var(--brand-personal-primary));
  transform: scale(1.05);
}
.ep-qty-btn:active {
  transform: scale(0.95);
}

.ep-qty-value {
  width: 44px;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ep-text, var(--brand-text-strong));
}

.ep-added-tickets {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 0;
}

.ep-added-ticket {
  border-radius: 12px;
  border: 1px solid var(--ep-border, var(--brand-border-muted));
  background: var(--brand-surface-subtle);
  overflow: hidden;
}

.ep-added-ticket-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-left: 4px solid var(--ep-primary, var(--brand-personal-primary));
}

.ep-added-ticket-left {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ep-added-ticket-meta {
  flex: 1;
  min-width: 0;
}

.ep-added-ticket-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ep-added-ticket-label {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--ep-text, var(--brand-text-strong));
  letter-spacing: -0.01em;
}

.ep-added-ticket-sub {
  font-size: 0.8125rem;
  color: var(--ep-text-muted, var(--brand-text-muted));
  font-weight: 400;
}

.ep-added-ticket-place {
  font-size: 0.8125rem;
  color: var(--ep-text-muted, var(--brand-text-muted));
  margin-top: 4px;
  display: block;
}

.ep-added-ticket-price {
  font-weight: 700;
  font-size: 1rem;
  color: var(--ep-primary, var(--brand-personal-primary));
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.ep-added-ticket-del {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-text-subtle);
  background: var(--brand-surface-hover);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}
.ep-added-ticket-del:hover {
  background: var(--status-danger-bg);
  color: var(--status-danger-light);
}

.ep-ticket-cat-select {
  min-width: 160px;
}

.ep-addons {
  padding: 10px 16px 12px;
  border-top: 1px dashed var(--ep-border, var(--brand-border-muted));
}

.ep-addons-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ep-text-muted, var(--brand-text-muted));
  display: block;
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.ep-addon-item {
  border-radius: 8px;
}

.ep-hire-remains {
  margin-top: 12px;
  padding: 10px 16px;
  background: white;
  border-radius: 12px;
  border: 1px solid var(--ep-border, var(--brand-border-muted));
  font-size: 0.95rem;
}

@media (min-width: 900px) {
  .ep-order-summary {
    position: sticky;
    top: 84px;
  }
}
.ep-order-summary.ep-order-summary--hallplan {
  position: static;
}
.ep-order-summary.ep-order-summary--hallplan .ep-order-summary-card {
  flex-direction: row;
  align-items: center;
  padding: 10px 16px;
  gap: 20px;
}
.ep-order-summary.ep-order-summary--hallplan .ep-order-summary-title {
  white-space: nowrap;
  padding-bottom: 0;
  border-bottom: none;
  margin-bottom: 0;
  font-size: 1rem;
}
.ep-order-summary.ep-order-summary--hallplan .ep-order-empty {
  flex-direction: row;
  padding: 0;
  gap: 6px;
  font-size: 0.8125rem;
}
.ep-order-summary.ep-order-summary--hallplan .ep-order-lines {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin-bottom: 0;
  flex: 1;
}
.ep-order-summary.ep-order-summary--hallplan .ep-order-line {
  padding: 0;
  gap: 6px;
  align-items: center;
}
.ep-order-summary.ep-order-summary--hallplan .ep-order-line-info {
  flex-direction: row;
  gap: 4px;
  align-items: baseline;
}
.ep-order-summary.ep-order-summary--hallplan .ep-order-line-name {
  font-size: 0.875rem;
}
.ep-order-summary.ep-order-summary--hallplan .ep-order-line-detail {
  font-size: 0.75rem;
}
.ep-order-summary.ep-order-summary--hallplan .ep-order-line-total {
  font-size: 0.875rem;
}
.ep-order-summary.ep-order-summary--hallplan .ep-order-total {
  border-top: none;
  padding-top: 0;
  margin: 0;
  gap: 8px;
  align-items: center;
  white-space: nowrap;
}
.ep-order-summary.ep-order-summary--hallplan .ep-order-total-amount {
  font-size: 1.375rem;
  line-height: 1.1;
}
.ep-order-summary.ep-order-summary--hallplan .ep-order-actions {
  flex-direction: row;
  gap: 10px;
  margin-left: auto;
  flex-shrink: 0;
}
.ep-order-summary.ep-order-summary--hallplan .ep-order-actions .ep-btn--full {
  width: auto;
}
.ep-order-summary.ep-order-summary--hallplan .ep-order-actions .ep-pay-btn {
  width: auto !important;
}

.ep-order-summary-card {
  background: white;
  border-radius: var(--ep-radius-card, 16px);
  padding: 18px 20px;
  border: 1px solid var(--ep-border, var(--brand-border-muted));
  box-shadow: var(--ep-shadow-soft);
  display: flex;
  flex-direction: column;
}

.ep-order-summary-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ep-text, var(--brand-text-strong));
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ep-border, var(--brand-border-muted));
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.ep-order-empty {
  text-align: center;
  padding: 16px 0;
  color: var(--brand-text-subtle);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
}

.ep-order-lines {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 6px;
  flex: 1;
}

.ep-order-line {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
}

.ep-order-line-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}

.ep-order-line-name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--brand-text-soft);
  letter-spacing: -0.01em;
}

.ep-order-line-detail {
  font-size: 0.75rem;
  color: var(--brand-text-muted);
  font-weight: 400;
}

.ep-order-line-total {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ep-primary, var(--brand-personal-primary));
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.ep-order-total {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-top: 1px dashed var(--ep-border, var(--brand-border-muted));
  padding-top: 14px;
  margin: 12px 0 16px;
  font-size: 0.9375rem;
  color: var(--ep-text-muted, var(--brand-text-muted));
  font-weight: 500;
}

.ep-order-total-amount {
  font-size: 2rem;
  font-weight: 800;
  color: var(--ep-primary, var(--brand-personal-primary));
  line-height: 1;
  letter-spacing: -0.02em;
}

.ep-order-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ep-pay-btn {
  border-radius: var(--ep-radius-btn, 10px) !important;
  font-weight: 700 !important;
  width: 100%;
  height: 40px !important;
  min-height: 40px !important;
  box-shadow: 0 4px 12px rgba(var(--brand-personal-primary-rgb), 0.22) !important;
}

.ep-mobile-pay-footer {
  display: none;
}
@media (max-width: 899px) {
  .ep-mobile-pay-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 62px;
    background: white;
    border-top: 1px solid var(--ep-border, var(--brand-border-muted));
    padding: 10px 16px;
    z-index: 50;
    box-shadow: 0 -4px 6px -1px rgba(var(--brand-black-rgb), 0.05);
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  }
}

.ep-mobile-pay-info {
  flex: 1;
}

.ep-mobile-pay-label {
  font-size: 0.75rem;
  color: var(--ep-text-muted, var(--brand-text-muted));
  font-weight: 500;
  margin-bottom: 2px;
  letter-spacing: 0.02em;
}

.ep-mobile-pay-amount {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--ep-primary, var(--brand-personal-primary));
  letter-spacing: -0.02em;
}

@media (max-width: 899px) {
  .ep-order-summary {
    display: none;
  }
  .ep-purchase-grid {
    padding-bottom: 100px;
  }
}
.ep-response-time {
  font-size: 0.6875rem;
  color: var(--brand-text-subtle);
  text-align: center;
  padding: 8px 0 4px;
  max-width: 900px;
  margin: 0 auto;
  font-weight: 400;
}

.ep-added-tickets--hallplan {
  margin-top: 0;
}
@media (max-width: 599px) {
  .ep-added-tickets--hallplan .ep-added-ticket-header {
    flex-wrap: wrap;
    gap: 8px 10px;
  }
  .ep-added-tickets--hallplan .ep-added-ticket-left {
    flex: 1 1 auto;
  }
  .ep-added-tickets--hallplan .ep-added-ticket-right {
    flex: 0 0 auto;
  }
  .ep-added-tickets--hallplan .ep-added-ticket-meta {
    flex: 0 0 100%;
    order: 3;
  }
}

/* === src/pages/Events/EventsPageEx.vue === */
.card.q-card {
  background: var(--surface) !important;
  border-radius: 12px !important; /* Original had 12px */
  box-shadow: 0 1px 3px rgba(var(--brand-black-rgb), 0.05) !important;
  border: 1px solid var(--border) !important;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.card-hover.q-card:hover {
  /* Specific to QCard for hover */
  box-shadow: 0 4px 12px rgba(var(--brand-black-rgb), 0.08) !important;
  border-color: var(--primary-light) !important;
}

.card-selected.q-card,
.service-option-card.selected.q-card {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 2px rgba(var(--brand-personal-primary-rgb), 0.25) !important;
  background-color: var(--brand-surface-neutral-soft) !important;
}

.page-section {
  padding-bottom: 2rem;
}

.event-card.q-card.card-selected {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 2px rgba(var(--brand-personal-primary-rgb), 0.25) !important;
  background-color: var(--brand-surface-neutral-soft) !important;
}

.tab-scroll-container {
  background-color: var(--hover);
  border-radius: 10px;
  max-width: 100%;
  overflow-x: auto;
}

.tab.q-tab {
  transition: all 0.2s ease;
  position: relative;
  border-bottom: 3px solid transparent;
  min-height: auto;
}
.tab.q-tab.tab-active {
  color: var(--primary) !important;
  background-color: var(--surface) !important;
  border-bottom-color: var(--primary) !important;
}
.tab.q-tab.tab-active .q-tab__label span:last-child {
  font-weight: 600 !important;
}
.tab.q-tab.tab-active .q-tab__label span:first-child {
  color: var(--primary) !important;
}
.tab.q-tab:not(.tab-active):hover {
  color: var(--primary-light) !important;
  background-color: rgba(var(--brand-white-rgb), 0.5) !important;
}

.ticket-qty-btn.q-btn {
  width: 28px !important;
  height: 28px !important;
  border-radius: 50% !important;
  transition: all 0.2s ease;
  background-color: var(--brand-surface-neutral) !important;
  color: var(--on-surface-muted) !important;
  box-shadow: none !important;
}
.ticket-qty-btn.q-btn .q-icon {
  font-size: 12px !important;
}

.ticket-qty-btn.q-btn:hover {
  background-color: var(--brand-surface-neutral-strong) !important;
}

.ticket-type-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.custom-badge {
  font-size: 0.7rem;
  padding: 0.2rem 0.5rem;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  font-weight: 500;
}

.bg-green-1 {
  background-color: var(--status-success-border) !important;
}

.text-green-7 {
  color: #047857 !important;
}

.bg-grey-2 {
  background-color: var(--brand-surface-neutral) !important;
}

.text-grey-7 {
  color: #374151 !important;
}

.form-input.q-field--filled .q-field__control {
  border: 1px solid var(--border) !important;
  border-radius: 8px !important;
  background-color: var(--surface) !important;
  padding: 0 0.75rem;
}

.form-input.q-field--filled .q-field__control:before,
.form-input.q-field--filled .q-field__control:after {
  display: none !important;
}

.form-input.q-field--filled.q-field--focused .q-field__control {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 2px rgba(var(--brand-personal-primary-rgb), 0.1) !important;
}

.form-input.q-field--filled.q-field--readonly .q-field__control {
  background-color: var(--brand-surface-neutral) !important;
}

.form-input.q-field--filled.q-field--readonly .q-field__native {
  color: var(--on-surface-muted) !important;
}

.form-input .q-field__native,
.form-input .q-field__input {
  padding: 0.65rem 0 !important;
  min-height: unset !important;
  height: auto !important;
  line-height: 1.2;
}

.form-label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--on-surface-muted);
}

.service-option-card.q-card {
  cursor: pointer;
  transition: all 0.2s ease;
}

/* Общие карточки EventsPageEx: базовый вид Quasar-карточек. */
.card.q-card {
  background: var(--surface) !important;
  border-radius: 12px !important; /* Original had 12px */
  box-shadow: 0 1px 3px rgba(var(--brand-black-rgb), 0.05) !important;
  border: 1px solid var(--border) !important;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.card-hover.q-card:hover {
  /* Specific to QCard for hover */
  box-shadow: 0 4px 12px rgba(var(--brand-black-rgb), 0.08) !important;
  border-color: var(--primary-light) !important;
}

.card-selected.q-card,
.service-option-card.selected.q-card {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 2px rgba(var(--brand-personal-primary-rgb), 0.25) !important;
  background-color: var(--brand-surface-neutral-soft) !important;
}

/* Button Styles for Precise Sizing & Look */
.q-btn {
  /* Base for all our custom buttons */
  border-radius: 8px !important;
  font-weight: 500 !important;
  letter-spacing: 0.025em !important;
  text-transform: none !important; /* Override Quasar's default uppercase */
  line-height: 1.25; /* For better vertical centering with icons */
}

.btn-primary.q-btn {
  background-color: var(--primary) !important;
  color: var(--surface) !important;
  min-height: 40px !important; /* 2.5rem */
  padding: 8px 16px !important; /* py-2 px-4 approx */
  font-size: 0.875rem !important; /* 14px */
}

.btn-primary.q-btn:hover {
  background-color: var(--primary-dark) !important;
  box-shadow: 0 2px 6px rgba(var(--brand-personal-primary-rgb), 0.25);
}

.btn-primary.q-btn.disabled,
.btn-primary.q-btn:disabled {
  background-color: #a5b4fc !important;
  color: var(--surface) !important;
  cursor: not-allowed;
  box-shadow: none;
  opacity: 0.65 !important;
}

.btn-outline.q-btn {
  border: 1px solid var(--border) !important;
  background-color: var(--surface) !important;
  color: var(--on-surface) !important;
  min-height: 40px !important; /* 2.5rem */
  padding: 8px 16px !important; /* py-2 px-4 approx */
  font-size: 0.875rem !important; /* 14px */
}

.btn-outline.q-btn:hover {
  background-color: var(--brand-surface-page) !important;
  border-color: var(--primary-light) !important;
  color: var(--primary) !important;
}

.btn-sm.q-btn {
  min-height: 32px !important; /* 2rem */
  padding: 4px 12px !important; /* py-1 px-3 original text-sm buttons like QR */
  font-size: 0.875rem !important; /* 14px */
}

/* For small icon buttons like ticket qty */
.btn-icon-sm.q-btn {
  min-width: 28px !important; /* w-7 */
  width: 28px !important;
  min-height: 28px !important; /* h-7 */
  height: 28px !important;
  padding: 0 !important;
  font-size: 10px !important; /* text-xs for icon */
}

.btn-success.q-btn {
  background-color: var(--success) !important;
  color: var(--surface) !important;
  min-height: 40px !important;
  padding: 8px 16px !important;
}

.btn-success.q-btn:hover {
  background-color: #059669 !important;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

::-webkit-scrollbar-track {
  background: var(--brand-surface-neutral);
}

::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #9ca3af;
}

/* Form Input Styles */
.form-input.q-field {
  /* Target QField wrapper */
}
.form-input.q-field .q-field__control {
  height: auto !important;
  min-height: 42px !important; /* Match original ~0.65rem padding + font + border */
  border: 1px solid var(--border) !important;
  border-radius: 8px !important;
  background-color: var(--surface) !important;
  box-shadow: none !important;
  padding: 0 12px !important; /* px-3 from original */
}
.form-input.q-field .q-field__control:before,
.form-input.q-field .q-field__control:after {
  /* Remove Quasar's default underlines */
  display: none !important;
}
.form-input.q-field .q-field__native,
.form-input.q-field .q-field__input {
  /* For input and select text */
  padding: 10px 0 !important; /* py-2.5 approx (0.65rem) */
  font-size: 0.9rem !important; /* 14.4px */
  min-height: unset !important;
  height: auto !important;
  line-height: 1.4 !important; /* Adjust for vertical centering */
}
.form-input.q-field .q-field__label {
  /* Label within the input */
  font-size: 0.9rem !important;
  top: 12px !important; /* Adjust based on padding */
  color: var(--on-surface-muted) !important;
}
.form-input.q-field.q-field--float .q-field__label {
  /* Label when floated */
  transform: translateY(-100%) translateY(-0.35rem) scale(0.75) !important; /* Match form-label style */
  font-size: 0.8rem !important; /* Match form-label font-size */
  color: var(--on-surface-muted) !important;
  background-color: var(--surface); /* To cover the border */
  padding: 0 4px;
  left: 8px; /* Adjust to sit nicely */
}
.form-input.q-field.q-field--focused .q-field__control {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 2px rgba(var(--brand-personal-primary-rgb), 0.1) !important;
}
.form-input.q-field.q-field--readonly .q-field__control, .form-input.q-field.q-field--disabled .q-field__control {
  background-color: var(--brand-surface-neutral) !important;
  cursor: not-allowed;
}
.form-input.q-field.q-field--readonly .q-field__native, .form-input.q-field.q-field--disabled .q-field__native {
  color: var(--on-surface-muted) !important;
}

/* External form label */
.form-label-outside {
  display: block;
  margin-bottom: 6px; /* 0.35rem */
  font-size: 0.8rem; /* 12.8px */
  font-weight: 500;
  color: var(--on-surface-muted);
}

/* Page Container Padding */
.q-page-container {
  padding-top: 1rem; /* Default, can be overridden by q-page */
  padding-bottom: calc(50px + 1rem); /* 50px for mobile nav + buffer */
}

@media (min-width: 1024px) {
  .q-page-container {
    padding-bottom: 1rem; /* No mobile nav on desktop */
  }
}
.q-page.q-pa-md-lg {
  /* For p-6 on md+ */
  padding: 24px !important;
}

.q-page.q-pa-sm-sm {
  /* For p-4 on sm- */
  padding: 16px !important;
}

@media (max-width: 599px) {
  /* For mobile, maybe less padding */
  .q-page.q-pa-sm-sm {
    padding: 12px !important; /* e.g. p-3 for very small screens */
  }
}
/* Chip Styles */
.chip.q-chip {
  padding: 3px 10px !important;
  border-radius: 16px !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  min-height: auto !important; /* Override QChip min-height */
  height: auto !important;
  line-height: normal !important;
  background-color: var(--tint-primary-strong);
  color: var(--primary);
  margin: 2px; /* For q-gutter-xs effect */
}

.chip-neutral.q-chip {
  background-color: var(--brand-surface-neutral) !important;
  color: var(--on-surface-muted) !important;
}

.chip-success.q-chip {
  background-color: rgba(16, 185, 129, 0.1) !important;
  color: var(--success) !important;
}

.chip-warning.q-chip {
  background-color: rgba(var(--status-warning-rgb), 0.1) !important;
  color: var(--status-warning-dark) !important;
}

/* Specific fixes for icon sizes inside chips */
.chip.q-chip .q-icon {
  font-size: 10px !important; /* text-xs */
  margin-right: 4px !important; /* mr-1 */
}

/* === src/pages/MaintenancePage.vue; scope === */
.page-title {
  font-weight: 700;
}

/* Точные размеры под Tailwind text-4xl / 5xl / 6xl */
@media (max-width: 599px) {
  .page-title {
    font-size: 2.25rem; /* 36px */
  }
}
@media (min-width: 600px) and (max-width: 959px) {
  .page-title {
    font-size: 3rem; /* 48px */
  }
}
@media (min-width: 960px) {
  .page-title {
    font-size: 3.75rem; /* 60px */
  }
}

/* === src/pages/Personal/IdentifiersDetailPage.vue; scope === */
.IdentifiersDetailPage {
  background: var(--q-color-grey-1);
}
.IdentifiersDetailPage .q-card {
  max-width: 800px;
  margin: 0 auto;
}
@media (max-width: 1023px) {
  .IdentifiersDetailPage .q-card {
    margin: 0;
    border-radius: 0;
    min-height: 100vh;
  }
  .IdentifiersDetailPage .q-card .q-card-section {
    padding: 16px;
  }
  .IdentifiersDetailPage .q-card .q-card-actions {
    padding: 16px;
  }
}

/* === src/pages/Personal/OrderDetailPage.vue; scope === */
.po-container {
  width: min(980px, 100%);
  margin: 0 auto;
  padding: 18px;
}

.po-topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  min-width: 0;
}

.po-back {
  border-radius: 8px;
}

.po-topbar-title {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--brand-text-strong);
}

.po-panel {
  background: var(--brand-surface);
  border: 1px solid var(--brand-border-muted);
  border-radius: 14px;
  box-shadow: 0 1px 3px rgba(var(--brand-shadow-rgb), 0.06);
  padding: 18px;
  margin-bottom: 16px;
  min-width: 0;
}

.po-state-panel {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
}

.po-state-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--brand-text-strong);
}

.po-state-text {
  color: var(--brand-text-muted);
}

.po-empty-panel {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--brand-text-subtle);
  font-size: 0.9rem;
}

.po-summary-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.po-label {
  font-size: 0.8rem;
  color: var(--brand-text-muted);
  margin-bottom: 4px;
}

.po-container h1 {
  margin: 0;
  font-size: 1.55rem;
  line-height: 1.2;
  color: var(--brand-text);
  overflow-wrap: anywhere;
}

.po-status {
  flex: 0 0 auto;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
}

.po-status--approved {
  background: var(--status-success-bg);
  color: var(--status-success-text);
}

.po-status--reserved {
  background: var(--status-info-bg);
  color: var(--status-info-text);
}

.po-status--cancelled {
  background: var(--status-danger-bg);
  color: var(--status-danger-text);
}

.po-status--unknown {
  background: var(--brand-surface-hover);
  color: var(--brand-text-secondary);
}

.po-details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.po-detail {
  border: 1px solid var(--brand-border-muted);
  border-radius: 10px;
  padding: 12px;
  min-width: 0;
}
.po-detail span {
  display: block;
  font-size: 0.78rem;
  color: var(--brand-text-muted);
  margin-bottom: 5px;
}
.po-detail strong {
  display: block;
  color: var(--brand-text-strong);
  font-size: 0.95rem;
  overflow-wrap: anywhere;
}
.po-detail--price {
  color: var(--brand-primary) !important;
  font-weight: 800 !important;
}

.po-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.po-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--brand-text-strong);
  margin-bottom: 12px;
}

.po-ticket-list {
  display: grid;
  gap: 10px;
}

.po-ticket-card {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--brand-border-muted);
  border-radius: 10px;
  padding: 12px;
}

.po-ticket-index {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--tint-primary-strong);
  color: var(--brand-personal-primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.po-ticket-body {
  min-width: 0;
}

.po-ticket-title {
  font-weight: 700;
  color: var(--brand-text-strong);
  overflow-wrap: anywhere;
}

.po-ticket-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
  color: var(--brand-text-muted);
  font-size: 0.82rem;
}

.po-ticket-barcode {
  font-family: "Courier New", monospace;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  word-break: break-all;
}

.po-ticket-additions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.po-ticket-addition {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  color: var(--brand-personal-primary-dark);
  background: var(--tint-primary-strong);
  border-radius: 4px;
  padding: 2px 7px;
}

.po-ticket-price {
  font-weight: 700;
  color: var(--brand-primary);
  white-space: nowrap;
}

.po-payment-list {
  display: grid;
  gap: 10px;
}

.po-payment-card {
  border: 1px solid var(--brand-border-muted);
  border-radius: 10px;
  padding: 12px 14px;
}

.po-payment-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.po-payment-info {
  flex: 1 1 auto;
  min-width: 0;
}

.po-payment-service {
  font-weight: 600;
  color: var(--brand-text-strong);
  font-size: 0.92rem;
  overflow-wrap: anywhere;
}

.po-payment-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 4px;
  font-size: 0.78rem;
  color: var(--brand-text-muted);
}

.po-payment-sep {
  color: var(--brand-border-strong);
}

.po-payment-right {
  flex: 0 0 auto;
  text-align: right;
}

.po-payment-cost {
  font-weight: 700;
  color: var(--brand-primary);
  font-size: 0.95rem;
  white-space: nowrap;
}

.po-payment-state {
  display: inline-block;
  margin-top: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 4px;
  text-transform: uppercase;
}

.po-payment-state--paid {
  background: var(--status-success-bg);
  color: var(--status-success-text);
}

.po-payment-state--other {
  background: var(--brand-surface-hover);
  color: var(--brand-text-secondary);
}

.po-payment-fiscal {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 8px;
  font-size: 0.78rem;
  color: var(--brand-text-muted);
}

.po-payment-fiscal-link {
  color: var(--brand-primary);
  text-decoration: none;
}
.po-payment-fiscal-link:hover {
  text-decoration: underline;
}

.po-fiscal-head {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.po-fiscal-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 999px;
  background: var(--brand-surface-subtle);
  border: 1px solid var(--brand-border-muted);
  color: var(--brand-text-secondary);
  font-size: 0.8rem;
  padding: 5px 10px;
}

.po-fiscal-table-wrap {
  overflow-x: auto;
  margin-top: 6px;
}

.po-fiscal-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 0.84rem;
}
.po-fiscal-table th {
  text-align: left;
  color: var(--brand-text-muted);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 2px solid var(--brand-border-muted);
  padding: 9px 8px;
}
.po-fiscal-table td {
  color: var(--brand-text-strong);
  border-bottom: 1px solid #eef2f7;
  padding: 10px 8px;
  overflow-wrap: anywhere;
}

.po-fiscal-num {
  text-align: center;
  white-space: nowrap;
}

.po-fiscal-money {
  text-align: right;
  white-space: nowrap;
  font-weight: 600;
}

.po-fiscal-total {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}
.po-fiscal-total div {
  border-radius: 10px;
  background: var(--brand-surface-subtle);
  border: 1px solid var(--brand-border-muted);
  padding: 10px 12px;
  min-width: 0;
}
.po-fiscal-total span {
  display: block;
  color: var(--brand-text-muted);
  font-size: 0.74rem;
  margin-bottom: 4px;
}
.po-fiscal-total strong {
  color: var(--brand-text);
  overflow-wrap: anywhere;
}

.po-fiscal-meta {
  margin-top: 14px;
  color: var(--brand-text-secondary);
  font-size: 0.82rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.po-fiscal-org {
  font-weight: 700;
  color: var(--brand-text-strong);
}

.po-fiscal-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: flex-start;
  margin-top: 14px;
  border-top: 1px dashed var(--brand-border-strong);
  padding-top: 14px;
}

.po-fiscal-details {
  color: var(--brand-text-muted);
  font-size: 0.78rem;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.po-fiscal-qr {
  padding: 8px;
  border-radius: 10px;
  border: 1px solid var(--brand-border-muted);
  background: var(--brand-surface);
}

@media (max-width: 640px) {
  .po-container {
    padding: 12px;
  }
  .po-panel {
    border-radius: 12px;
    padding: 14px;
  }
  .po-summary-head {
    flex-direction: column;
    align-items: stretch;
  }
  .po-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .po-details-grid {
    grid-template-columns: 1fr;
  }
  .po-container h1 {
    font-size: 1.28rem;
  }
  .po-status {
    width: fit-content;
  }
  .po-actions .q-btn {
    width: 100%;
  }
  .po-ticket-card {
    grid-template-columns: 32px minmax(0, 1fr);
    align-items: flex-start;
  }
  .po-ticket-price {
    grid-column: 2;
    white-space: normal;
  }
  .po-fiscal-total {
    grid-template-columns: 1fr;
  }
  .po-fiscal-bottom {
    grid-template-columns: 1fr;
  }
  .po-fiscal-qr {
    width: fit-content;
  }
}

/* === src/pages/Personal/OrderRefundPage.vue; scope === */
.pr-page {
  background: #f6f8fb;
}

.pr-container {
  width: min(860px, 100%);
  margin: 0 auto;
  padding: 18px;
}

.pr-topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  min-width: 0;
}

.pr-back {
  border-radius: 8px;
}

.pr-topbar-title {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--brand-text-strong);
}

.pr-panel {
  background: var(--brand-surface);
  border: 1px solid var(--brand-border-muted);
  border-radius: 14px;
  box-shadow: 0 1px 3px rgba(var(--brand-shadow-rgb), 0.06);
  padding: 18px;
  margin-bottom: 16px;
  min-width: 0;
}

.pr-state-panel {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
}

.pr-state-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--brand-text-strong);
}

.pr-state-text {
  color: var(--brand-text-muted);
}

.pr-state-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.pr-header-panel {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.pr-label {
  font-size: 0.8rem;
  color: var(--brand-text-muted);
  margin-bottom: 4px;
}

.pr-page h1 {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.2;
  color: var(--brand-text);
  overflow-wrap: anywhere;
}

.pr-selection-summary {
  flex: 0 0 auto;
  border: 1px solid var(--brand-border-muted);
  border-radius: 10px;
  padding: 9px 12px;
  color: var(--brand-text-secondary);
  background: var(--brand-surface-subtle);
}

.pr-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--brand-text-strong);
  margin-bottom: 12px;
}

.pr-groups {
  display: grid;
  gap: 20px;
}

.pr-group-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  padding: 0 2px;
}

.pr-items {
  display: grid;
  gap: 10px;
}

.pr-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--brand-border-muted);
  border-radius: 12px;
  padding: 12px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.pr-item:hover {
  border-color: #c7d2fe;
  background: #fbfdff;
}

.pr-item--disabled {
  cursor: default;
  opacity: 0.62;
}
.pr-item--disabled:hover {
  border-color: var(--brand-border-muted);
  background: var(--brand-surface);
}

.pr-item--refunded {
  cursor: default;
  background: #f8fdf9;
  border-color: var(--status-success-border);
}
.pr-item--refunded:hover {
  border-color: #a7f3d0;
  background: var(--status-success-bg-soft);
}

.pr-refunded-icon {
  flex-shrink: 0;
  margin: 2px 3px;
}

.pr-badge-refunded {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--status-success-dark);
  background: var(--status-success-bg);
  border-radius: 6px;
  padding: 1px 7px;
}

.pr-item-main {
  min-width: 0;
}

.pr-item-title {
  font-weight: 700;
  color: var(--brand-text-strong);
  overflow-wrap: anywhere;
}

.pr-item-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
  color: var(--brand-text-muted);
  font-size: 0.82rem;
}

.pr-item-price {
  font-weight: 700;
  color: var(--brand-personal-primary);
  white-space: nowrap;
}

.pr-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 18px;
}

@media (max-width: 640px) {
  .pr-container {
    padding: 12px;
  }
  .pr-panel {
    border-radius: 12px;
    padding: 14px;
  }
  .pr-header-panel {
    flex-direction: column;
    align-items: stretch;
  }
  .pr-page h1 {
    font-size: 1.25rem;
  }
  .pr-selection-summary {
    width: fit-content;
  }
  .pr-item {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: flex-start;
  }
  .pr-item-price {
    grid-column: 2;
    white-space: normal;
  }
  .pr-actions,.pr-state-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .pr-actions .q-btn,.pr-state-actions .q-btn {
    width: 100%;
  }
}

/* === src/pages/Service/ClientPage.vue; scope === */
.PersonalPage {
  min-height: 100vh;
  padding: 16px 16px 24px;
}

.pp-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: stretch;
}
@media (min-width: 900px) {
  .pp-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.pp-section {
  display: flex;
  flex-direction: column;
  min-width: 0;
  width: 100%;
}
.pp-section {
  flex: 1;
  height: 100%;
  min-width: 0;
  width: 100%;
}

.pp-page-header {
  max-width: 1200px;
  margin: 0 auto 14px;
}

.pp-page-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--pp-text, var(--brand-text-strong));
  margin: 0 0 2px;
  letter-spacing: -0.02em;
}

.pp-page-subtitle {
  font-size: 0.85rem;
  color: var(--pp-text-muted, var(--brand-text-muted));
  margin: 0;
}

.pp-page-footer {
  max-width: 1200px;
  margin: 32px auto 0;
  display: flex;
  justify-content: center;
}

.pp-logout-link {
  color: var(--status-danger);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.pp-logout-link:hover {
  color: var(--status-danger-text);
  text-decoration: underline;
}

/* === src/pages/Service/MainPage.vue; scope === */
.SPDMainPage {
  min-height: 100%;
}

/* === src/pages/UnderConstruction.vue; scope === */
.page-title {
  font-weight: 700;
}

/* Точные размеры под Tailwind text-4xl / 5xl / 6xl */
@media (max-width: 599px) {
  .page-title {
    font-size: 2.25rem; /* 36px */
  }
}
@media (min-width: 600px) and (max-width: 959px) {
  .page-title {
    font-size: 3rem; /* 48px */
  }
}
@media (min-width: 960px) {
  .page-title {
    font-size: 3.75rem; /* 60px */
  }
}

/* Локальный Inter. Файлы лежат рядом с runtime CSS: /css/fonts/*.woff2. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("/css/fonts/Inter-cyrillic-ext.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("/css/fonts/Inter-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("/css/fonts/Inter-greek-ext.woff2") format("woff2");
  unicode-range: U+1F00-1FFF;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("/css/fonts/Inter-greek.woff2") format("woff2");
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("/css/fonts/Inter-vietnamese.woff2") format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("/css/fonts/Inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("/css/fonts/Inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
