/* Design tokens + shared components (guest + owner) */
:root {
  --color-bg: #0b0c10;
  --color-surface: #101217;
  --color-surface2: #141822;
  --color-border: #2a2d38;
  --color-borderMuted: #22252e;
  --color-text: #e8eaef;
  --color-muted: #9aa3b2;
  --color-accent: #4c7de8;
  --color-accentHover: #6b94f0;
  --color-primaryBtn: #2d4a7c;
  --color-danger: #c45c5c;
  --color-dangerBg: #301818;
  --color-success: #8fd18f;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.35);
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.45;
}

.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 16px;
}

.pageHeader {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 0 16px;
  border-bottom: 1px solid var(--color-borderMuted);
}

.pageHeader h1,
.pageHeader .pageTitle {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
}

.navBar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
}

.navBar.ownerNav {
  width: 100%;
  justify-content: flex-start;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--color-borderMuted);
}

.navLink {
  color: var(--color-muted);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
}

.navLink:hover {
  color: var(--color-accent);
  background: var(--color-surface2);
}

.navLink.isActive {
  color: var(--color-text);
  background: var(--color-surface2);
  font-weight: 600;
}

.navLink.navLink--badgeWaiters {
  position: relative;
}

.navLink.navLink--badgeWaiters::after {
  content: "";
  position: absolute;
  top: 4px;
  right: 4px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-danger);
}

.navLink.navLink--badgeMenu {
  position: relative;
}

.navLink.navLink--badgeMenu::after {
  content: "";
  position: absolute;
  top: 4px;
  right: 4px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-danger);
}

.navLinkMuted {
  opacity: 0.45;
  cursor: default;
  pointer-events: none;
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-card);
}

.ownerTablesMain {
  display: flex;
  flex-direction: column;
}

.ownerTablesIntroCard {
  order: 1;
}

.ownerTablesListCard {
  order: 2;
}

.ownerQrKitCard {
  order: 3;
}

/* Floating progress notice (owner menu) */
.ownerFloatingNotice {
  position: sticky;
  top: 10px;
  z-index: 25;
  background: color-mix(in srgb, var(--color-surface) 92%, var(--color-bg) 8%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  box-shadow: var(--shadow-card);
  margin-bottom: 12px;
}

.ownerFloatingNotice__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ownerFloatingNotice__title {
  font-weight: 800;
}

.ownerFloatingNotice__bar {
  margin-top: 10px;
  height: 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--color-border) 70%, transparent);
  overflow: hidden;
}

.ownerFloatingNotice__barFill {
  height: 100%;
  width: 0%;
  background: var(--color-success);
  border-radius: 999px;
  transition: width 0.35s ease;
}

.card h2,
.card h3 {
  margin-top: 0;
}

.muted {
  color: var(--color-muted);
  font-size: 0.85rem;
  line-height: 1.4;
}

.label,
label .muted {
  display: block;
  margin-bottom: 4px;
}

.input,
input.input,
select.input,
textarea.input {
  width: 100%;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-surface2);
  color: var(--color-text);
  font: inherit;
}

textarea.input {
  resize: vertical;
  min-height: 72px;
}

.inputInline {
  width: auto;
  flex: 1;
  min-width: 0;
}

.formGrid {
  display: grid;
  gap: 10px;
}

.billingHero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background:
    linear-gradient(135deg, rgba(249, 115, 22, 0.14), rgba(219, 39, 119, 0.1)),
    var(--color-surface2);
}

.billingEyebrow,
.billingTitle,
.billingCopy,
.billingPlanName,
.billingPlanPrice,
.billingPlanNote {
  margin: 0;
}

.billingEyebrow {
  width: fit-content;
  margin-bottom: 8px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(249, 115, 22, 0.16);
  color: #f97316;
  font-size: 0.78rem;
  font-weight: 800;
}

.billingTitle {
  font-size: 1.25rem;
  font-weight: 850;
  letter-spacing: 0;
}

.billingCopy {
  margin-top: 6px;
  color: var(--color-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.billingStatusPill {
  flex: 0 0 auto;
  min-width: 190px;
  padding: 10px 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
}

.billingStatusPill span,
.billingStatusPill small {
  display: block;
}

.billingStatusPill span {
  font-weight: 800;
}

.billingStatusPill small {
  margin-top: 3px;
  color: var(--color-muted);
  font-size: 0.78rem;
}

.billingManageForm {
  margin-top: 12px;
}

.billingPlans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.billingPlan {
  position: relative;
  display: grid;
  gap: 14px;
  align-content: space-between;
  min-height: 190px;
  padding: 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface2);
}

.billingPlanFeatured {
  border-color: rgba(249, 115, 22, 0.55);
  background:
    linear-gradient(135deg, rgba(249, 115, 22, 0.13), rgba(219, 39, 119, 0.08)),
    var(--color-surface2);
}

.billingSaveBadge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #22c55e;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 850;
}

.billingPlanName {
  padding-right: 92px;
  font-size: 0.92rem;
  font-weight: 800;
}

.billingPlanPrice {
  margin-top: 12px;
  font-size: 1.75rem;
  font-weight: 900;
  letter-spacing: 0;
}

.billingPlanPrice span {
  color: var(--color-muted);
  font-size: 0.92rem;
  font-weight: 650;
}

.billingPlanNote {
  margin-top: 6px;
  color: var(--color-muted);
  font-size: 0.86rem;
}

.billingPlan .btn,
.billingManageForm .btn {
  width: 100%;
}

@media (max-width: 720px) {
  .billingHero {
    flex-direction: column;
  }

  .billingStatusPill {
    width: 100%;
  }

  .billingPlans {
    grid-template-columns: 1fr;
  }
}

.formRow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--color-border);
  background: var(--color-surface2);
  color: var(--color-text);
  text-decoration: none;
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.btnPrimary {
  background: var(--color-primaryBtn);
  border-color: #3d5a8c;
  color: #fff;
}

.btnPrimary:hover:not(:disabled) {
  filter: brightness(1.08);
}

.btnSecondary {
  background: var(--color-surface2);
  color: var(--color-text);
}

.btnDanger {
  background: var(--color-dangerBg);
  border-color: #522;
  color: #faa;
}

dialog.ownerConfirmDialog {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  color: var(--color-text);
  padding: 1.1rem 1.25rem;
  max-width: min(22rem, 92vw);
}

dialog.ownerConfirmDialog::backdrop {
  background: rgba(0, 0, 0, 0.5);
}

.btnGhost {
  background: transparent;
  border: none;
  color: var(--color-danger);
  padding: 4px 8px;
}

.btnBlock {
  width: 100%;
}

.btnSm {
  padding: 8px 12px;
  font-size: 0.875rem;
}

code {
  background: var(--color-surface2);
  border: 1px solid var(--color-borderMuted);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.85em;
}

/* Status badges (orders) */
.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.badge + .badge {
  margin-left: 6px;
}

.badgeUnpaid {
  background: #1e3a5f;
  color: #9ec5ff;
}

.badgePaid {
  background: #2a2a3a;
  color: #c8c0ff;
}

.badgeReady {
  background: rgba(34, 197, 94, 0.16);
  color: #4ade80;
}

.badgeCancelled {
  background: var(--color-dangerBg);
  color: #faa;
}

/* Tables (owner orders) */
.tableWrap {
  overflow-x: auto;
  margin-top: 12px;
}

.dataTable {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.dataTable th,
.dataTable td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--color-borderMuted);
  vertical-align: top;
}

.dataTable th {
  color: var(--color-muted);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Owner item form: photo pair + description +AI */
.ownerPhotoPairGrid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin-top: 10px;
  width: 100%;
  max-width: min(520px, 100%);
}

.ownerPhotoPairGrid--single {
  grid-template-columns: minmax(0, 1fr);
  max-width: min(260px, 100%);
}

.ownerPhotoPairCol {
  min-width: 0;
}

.ownerPhotoPairCol .ownerPhotoTile {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ownerPhotoPairColLabel {
  margin: 0 0 6px;
  font-size: 0.8rem;
}

.ownerPhotoTile {
  display: block;
  margin: 0;
}

.ownerPhotoTile--original {
  cursor: pointer;
}

/* Не даём flex-ребёнку растянуться под intrinsic img до JS/явных размеров */
#ownerPhotoOriginalTile {
  width: 100%;
  max-width: 168px;
  min-width: 0;
  overflow: hidden;
  margin-left: auto;
  margin-right: auto;
}

.ownerPhotoTileFrame {
  position: relative;
  display: block;
  box-sizing: border-box;
  width: 168px;
  height: 168px;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid var(--color-borderMuted);
  background: var(--color-surface2);
}

#ownerPhotoOriginalTile.ownerPhotoTile--picked .ownerPhotoTileFrame {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 1px var(--color-accent);
}

#ownerPhotoAiTile.ownerPhotoTile--picked {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 1px var(--color-accent);
}

.ownerPhotoTileImg {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.ownerPhotoTilePlaceholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px;
  font-size: 0.8rem;
  z-index: 0;
}

.ownerPhotoLeftServer {
  z-index: 1;
}

.ownerPhotoPickPreviewImg {
  z-index: 2;
}

/* WebView: иногда сбрасывают absolute — жёстко привязываем к рамке миниатюры */
#ownerPhotoOriginalTile .ownerPhotoTileImg,
#ownerPhotoAiTile > .ownerPhotoTileImg {
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
}

.ownerPhotoTileOverlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: rgba(76, 125, 232, 0.18);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
}

.ownerPhotoTile--picked .ownerPhotoTileOverlay {
  opacity: 1;
}

.ownerPhotoTileCheck {
  position: absolute;
  top: 8px;
  left: 8px;
  right: auto;
  z-index: 4;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid var(--color-border);
  background: var(--color-surface);
  color: transparent;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transform: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  pointer-events: auto;
}

.ownerPhotoUploadProgress {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  z-index: 5;
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.08);
}

.ownerPhotoUploadProgress > span {
  display: block;
  width: 46%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2f8df4, #ff6a00);
  animation: ownerPhotoUploadProgress 1.05s ease-in-out infinite;
}

.ownerPhotoUploadProgress--done > span {
  width: 100%;
  animation: none;
  background: #22c55e;
}

@keyframes ownerPhotoUploadProgress {
  0% {
    transform: translateX(-110%);
  }

  100% {
    transform: translateX(230%);
  }
}

.ownerPhotoTile--picked .ownerPhotoTileCheck {
  border-color: var(--color-accent);
  background: var(--color-accent);
  color: #fff;
}

#ownerPhotoAiTile {
  position: relative;
  box-sizing: border-box;
  cursor: pointer;
  width: 168px;
  height: 168px;
  max-width: 100%;
  min-width: 0;
  margin-left: auto;
  margin-right: auto;
  min-height: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid var(--color-borderMuted);
  background: var(--color-surface2);
}

#ownerPhotoAiTile.ownerPhotoTile--empty {
  cursor: default;
}

#ownerPhotoAiTile.ownerPhotoTile--empty .ownerPhotoTileCheck {
  opacity: 0.45;
}

#ownerPhotoAiTile.ownerPhotoTile--processing .ownerPhotoTilePlaceholder--ai {
  padding-bottom: 24px;
}

#ownerPhotoAiTile > .ownerPhotoTileImg {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.ownerPhotoTilePlaceholder--ai {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  font-size: 0.8rem;
}

.ownerPhotoTilePlaceholder--ai[hidden],
.ownerPhotoAiBusyMsg {
  display: none !important;
}

.ownerPhotoTools {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  max-width: min(360px, 100%);
  margin-top: 12px;
}

.ownerPhotoToolBtn {
  gap: 6px;
  width: 100%;
  min-height: 48px;
  cursor: pointer;
  justify-content: center;
}

.ownerPhotoPickIcon {
  font-size: 18px;
  line-height: 1;
}

.ownerPhotoTileAiBtn {
  position: absolute;
  bottom: 8px;
  right: 8px;
  z-index: 5;
  margin: 0;
  padding: 5px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-accent);
  cursor: pointer;
  font: inherit;
}

.ownerPhotoTileAiBtn--full {
  inset: 0;
  bottom: auto;
  right: auto;
  z-index: 4;
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  border-radius: inherit;
}

.ownerPhotoTileClearBtn {
  position: absolute;
  top: 6px;
  right: 6px;
  left: auto;
  z-index: 6;
  width: 28px;
  height: 28px;
  margin: 0;
  padding: 0;
  line-height: 26px;
  text-align: center;
  font-size: 1.1rem;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-muted);
  cursor: pointer;
  font: inherit;
}

.ownerPhotoTileClearBtn--left {
  top: 6px;
  right: 6px;
  left: auto;
}

.ownerPhotoAiChoiceBox {
  max-width: min(520px, 100%);
  margin-top: 12px;
  padding: 12px;
  border: 1px solid var(--color-borderMuted);
  border-radius: var(--radius-md);
  background: var(--color-surface2);
}

.ownerPhotoAiChoiceHint {
  margin: 0 0 10px;
  font-size: 0.88rem;
}

.ownerPhotoAiChoiceActions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
}

@media (max-width: 420px) {
  .ownerPhotoAiChoiceActions {
    grid-template-columns: 1fr;
  }
}

/* Owner: image zoom (simple lightbox, not fullscreen) */
.ownerImgZoomOverlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.ownerImgZoomBox {
  width: min(92vw, 420px);
  max-height: 82vh;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
}

.ownerImgZoomBox img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 82vh;
  object-fit: contain;
  background: #000;
}

.ownerImgZoomHint {
  padding: 10px 12px;
  font-size: 0.8rem;
  color: var(--color-muted);
  background: var(--color-surface);
  border-top: 1px solid var(--color-borderMuted);
}

.ownerPhotoFileRow {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}

.ownerPhotoFileHint {
  font-size: 0.8rem;
  flex: 1 1 160px;
  min-width: 0;
}

.ownerPhotoFileInputHidden {
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
  padding: 0;
  margin: 0;
  border: 0;
}

.ownerItemDescBlock {
  margin-top: 14px;
}

.ownerItemDescFieldLabel {
  display: block;
  margin-bottom: 6px;
}

.ownerItemDescArea {
  position: relative;
}

.ownerItemDescArea textarea {
  display: block;
  width: 100%;
  min-height: 5.5rem;
  padding-bottom: 2.25rem;
  box-sizing: border-box;
}

.ownerItemFormActions {
  display: flex;
  gap: 12px;
  margin-top: 6px;
}

.ownerItemFormActions .btn {
  flex: 1;
}

.ownerDescAiBtn {
  position: absolute;
  bottom: 8px;
  right: 8px;
  z-index: 2;
  margin: 0;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-accent);
  cursor: pointer;
  font: inherit;
}

.ownerOnboarding {
  margin-bottom: 14px;
}

.ownerOnboardingTitle {
  margin: 0 0 10px 0;
  font-size: 1.05rem;
}

.ownerOnboardingHint {
  margin: 8px 0 0;
}

.ownerOnboardingSteps {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ownerOnboardingSteps .btn {
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  justify-content: center;
}

.ownerOnboardingNameBtn {
  box-shadow: 0 12px 28px rgba(255, 106, 0, 0.22);
  animation: ownerNamePulse 1.45s ease-in-out infinite;
}

@keyframes ownerNamePulse {
  0%, 100% {
    transform: translateY(0);
    filter: brightness(1);
  }
  50% {
    transform: translateY(-1px);
    filter: brightness(1.08);
  }
}

.ownerOnboardingStep--done {
  opacity: 0.95;
  color: var(--color-success);
  border-color: color-mix(in srgb, var(--color-success) 55%, var(--color-border) 45%);
}

.ownerOnboardingStep--done .ownerOnboardingCheck {
  color: var(--color-success);
}

.ownerOnboardingCheck {
  margin-right: 2px;
}

.ownerThemeOnboarding {
  display: grid;
  gap: 12px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--color-borderMuted);
}

.ownerThemeOnboardingTitle {
  margin: 0;
  font-size: 0.98rem;
}

.ownerThemeOnboardingBody {
  margin: 6px 0 0;
  line-height: 1.45;
}

.ownerThemeOnboardingError {
  margin: 8px 0 0;
  color: var(--color-danger);
  font-size: 0.86rem;
}

.ownerThemeOnboardingActions {
  display: grid;
  gap: 8px;
}

.ownerThemeOnboardingActions .btn {
  width: 100%;
  box-sizing: border-box;
  justify-content: center;
}

@keyframes ownerItemFlashBluePulse {
  0% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.0); }
  25% { box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.18); }
  55% { box-shadow: 0 0 0 10px rgba(59, 130, 246, 0.10); }
  100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.0); }
}

.ownerItemFlashBlue {
  border-color: color-mix(in srgb, #3b82f6 55%, var(--color-border) 45%) !important;
  animation: ownerItemFlashBluePulse 1.25s ease-out 1;
}

/* Import job UX (menu import processing) */
.importUxTimeStrong {
  font-size: 1rem;
  font-weight: 800;
  color: var(--color-text);
}

.importUxStepActive {
  color: var(--color-text);
  font-weight: 700;
}

.importUxDot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--color-border);
  box-sizing: border-box;
  display: inline-block;
}

.importUxStepActive .importUxDot {
  border-color: var(--color-success);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-success) 18%, transparent);
  position: relative;
}

.importUxStepActive .importUxDot::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: var(--color-success);
  opacity: 0.9;
  animation: importUxPulse 1.1s ease-in-out infinite;
}

@keyframes importUxPulse {
  0% { transform: scale(0.85); opacity: 0.55; }
  50% { transform: scale(1.05); opacity: 0.95; }
  100% { transform: scale(0.85); opacity: 0.55; }
}

/* Юридический футер (все страницы на _base.html) */
.siteLegalFooter {
  margin-top: auto;
  padding: 14px 16px 20px;
  border-top: 1px solid var(--color-borderMuted);
  background: color-mix(in srgb, var(--color-surface) 92%, var(--color-bg) 8%);
}

.siteLegalFooter__inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 14px;
  font-size: 0.8125rem;
}

.siteLegalFooter__a {
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 600;
}

.siteLegalFooter__a:hover {
  text-decoration: underline;
}

.siteLegalFooter__sep {
  color: var(--color-muted);
  user-select: none;
}

body.landingPage .siteLegalFooter {
  background: rgba(255, 255, 255, 0.55);
  border-top-color: rgba(15, 17, 23, 0.08);
}

/* Гостевое меню (отдельный документ без _base) */
.guestLegalFooter {
  margin-top: 20px;
  padding: 14px 0 8px;
  border-top: 1px solid var(--color-borderMuted);
  text-align: center;
  font-size: 0.8125rem;
}

.guestLegalFooter__a {
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 600;
}

.guestLegalFooter__a:hover {
  text-decoration: underline;
}

.guestLegalFooter__sep {
  color: var(--color-muted);
  margin: 0 6px;
  user-select: none;
}
