/* КОРПОРАТИВНЫЙ СТИЛЬ ЯНДЕКС PRO / GO */
:root {
  --brand-orange: #FF4C00;
  --brand-orange-hover: #E04200;
  --brand-dark: #21201F;
  --brand-bg: #F5F4F2;
  --brand-card-bg: #FFFFFF;
  --brand-border: #E8E6E1;
  --brand-border-subtle: #F0EEE9;
  --text-main: #1A1918;
  --text-muted: #706E6B;
  --text-hint: #9E9C96;
  --accent-green: #28C76F;
  --phone-width: 390px;
  --phone-height: 810px;
  --studio-bg: #111113;
  --deck-card-bg: #1B1B1E;
  --deck-border: #2B2B30;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--studio-bg);
  color: #F5F5F7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ВЫРАЗИТЕЛЬНАЯ ТИПОГРАФИКА INTER */
h1, h2, h3, h4, .deck-title, .payout-amount, .lead-counter {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 800 !important;
  letter-spacing: -0.02em;
}

.tariff-tag {
  background: #F0F2F6 !important;
  color: #1A1A1A !important;
  font-weight: 700 !important;
  border-radius: 8px !important;
  padding: 4px 10px !important;
  letter-spacing: 0.02em;
}

.income-tag {
  font-size: 16px !important;
  font-weight: 800 !important;
  color: var(--brand-orange) !important;
}

.btn-primary-corp {
  font-family: 'Inter', sans-serif !important;
  font-weight: 700 !important;
  border-radius: 14px !important;
  letter-spacing: -0.01em;
}

.pro-input-group input, .pro-input-group select {
  font-family: 'Inter', sans-serif !important;
  border-radius: 12px !important;
  font-size: 16px !important;
}

/* ШАПКА ДЕВ-ДЕКА */
.top-deck-header {
  height: 58px;
  background: rgba(23, 23, 26, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--deck-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.brand-yandex-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #25252A;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  padding: 5px 10px;
  border-radius: 8px;
  border: 1px solid #36363E;
}

.deck-title {
  font-size: 14px;
  font-weight: 600;
  color: #A1A1A8;
}

.deck-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #8E8E93;
}

.status-indicator {
  width: 8px;
  height: 8px;
  background: var(--accent-green);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-green);
}

/* ЛЕЙАУТ СТУДИИ */
.studio-layout {
  display: flex;
  flex: 1;
  padding: 24px;
  gap: 32px;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.phone-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 0 0 auto;
}

.device-switcher-bar {
  display: flex;
  background: #202024;
  padding: 4px;
  border-radius: 12px;
  margin-bottom: 16px;
  gap: 6px;
  border: 1px solid var(--deck-border);
}

.dev-btn {
  background: transparent;
  border: none;
  color: #8E8E93;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.dev-btn.active {
  background: #323238;
  color: #fff;
  border: 1px solid #45454E;
}

/* КОРПУС СМАРТФОНА */
.phone-chassis {
  width: var(--phone-width);
  height: var(--phone-height);
  background: #fff;
  border-radius: 48px;
  box-shadow: 
    0 0 0 12px #26262A,
    0 0 0 14px #1A1A1D,
    0 25px 60px rgba(0, 0, 0, 0.7);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: var(--text-main);
  border: 4px solid #000;
}

/* ОСТРОВОК КАМЕРЫ */
.phone-island {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 26px;
  background: #000;
  border-radius: 16px;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 10px;
}

.island-camera {
  width: 10px;
  height: 10px;
  background: #111422;
  border-radius: 50%;
  border: 1.5px solid #282C3F;
}

/* СТАТУС-БАР */
.phone-status-bar {
  height: 44px;
  padding: 10px 22px 0 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  z-index: 70;
  background: #fff;
}

.status-icons {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
}

.signal-bars {
  display: flex;
  align-items: flex-end;
  gap: 1.5px;
  height: 10px;
}

.signal-bars .bar {
  width: 2.5px;
  background: #111;
  border-radius: 1px;
}

.bar.b1 { height: 3px; }
.bar.b2 { height: 5px; }
.bar.b3 { height: 7px; }
.bar.b4 { height: 10px; }

.network-badge {
  font-weight: 700;
  font-size: 10px;
}

.battery-icon {
  width: 20px;
  height: 10px;
  border: 1.5px solid #111;
  border-radius: 3px;
  padding: 1px;
  display: flex;
  position: relative;
}

.battery-icon::after {
  content: "";
  position: absolute;
  right: -3px;
  top: 2px;
  width: 2px;
  height: 3px;
  background: #111;
  border-radius: 0 1px 1px 0;
}

.battery-fill {
  width: 85%;
  height: 100%;
  background: #111;
  border-radius: 1px;
}

/* VIEWPORT ПРИЛОЖЕНИЯ */
.app-viewport {
  flex: 1;
  overflow-y: auto;
  position: relative;
  background: var(--brand-bg);
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.app-viewport::-webkit-scrollbar {
  display: none;
}

.app-screen {
  display: none;
  padding: 14px 16px;
  animation: fadeIn 0.2s ease-out;
}

.app-screen.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(3px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ШАПКА ВНУТРИ ПРИЛОЖЕНИЯ */
.pro-app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.pro-brand-lockup {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.brand-badge-y {
  font-size: 20px;
  font-weight: 900;
  color: var(--brand-orange);
  letter-spacing: -0.5px;
}

.brand-badge-sub {
  font-size: 20px;
  font-weight: 800;
  color: var(--brand-dark);
  letter-spacing: -0.5px;
}

.partner-verify-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #FFFFFF;
  border: 1px solid var(--brand-border);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-main);
  padding: 4px 8px;
  border-radius: 14px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}

.pro-sub-header {
  margin-bottom: 14px;
}

.pro-sub-header h2 {
  font-size: 20px;
  font-weight: 800;
  color: var(--brand-dark);
  letter-spacing: -0.3px;
}

.sub-label {
  font-size: 12px;
  color: var(--text-muted);
}

/* КАРУСЕЛЬ */
.hero-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.carousel-track {
  display: flex;
  transition: transform 0.4s ease;
}

.hero-card {
  min-width: 100%;
  padding: 18px;
  color: #fff;
}

.slide-corp-1 {
  background: linear-gradient(135deg, #21201F 0%, #302E2D 100%);
}

.slide-corp-2 {
  background: linear-gradient(135deg, #1A1F2B 0%, #2A3245 100%);
}

.slide-corp-3 {
  background: linear-gradient(135deg, #1C332A 0%, #294E40 100%);
}

.card-meta {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--brand-orange);
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}

.hero-card h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 4px;
  letter-spacing: -0.3px;
}

.hero-card p {
  font-size: 12px;
  color: #D1CFCA;
  margin-bottom: 12px;
}

.card-pills {
  display: flex;
  gap: 6px;
}

.card-pills span {
  background: rgba(255,255,255,0.14);
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
}

.carousel-dots {
  position: absolute;
  bottom: 8px;
  right: 12px;
  display: flex;
  gap: 4px;
}

.carousel-dots .dot {
  width: 5px;
  height: 5px;
  background: rgba(255,255,255,0.3);
  border-radius: 50%;
}

.carousel-dots .dot.active {
  background: #fff;
  width: 12px;
  border-radius: 3px;
}

/* КАРТОЧКИ ВАКАНСИЙ С ФОТО */
.jobs-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.job-card-pro {
  background: var(--brand-card-bg);
  border-radius: 18px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid #E2E4E9;
  box-shadow: 0 4px 14px rgba(0,0,0,0.03);
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, border-color 0.2s ease;
}

.job-card-pro:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  border-color: #D0D3DC;
}

.job-card-visual {
  width: 72px;
  height: 60px;
  background: #F8F7F5;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.car-photo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.job-card-body {
  flex: 1;
}

.job-tag-line {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 2px;
}

.tariff-tag {
  background: #EDEBE6;
  color: var(--text-main);
  font-size: 12px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  white-space: nowrap;
}

.income-tag {
  font-size: 14px;
  font-weight: 800;
  color: var(--brand-orange);
  white-space: nowrap;
}

.job-card-body h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--brand-dark);
  margin-top: 2px;
  line-height: 1.25;
}

.job-requirements {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
  margin-top: 2px;
}

.job-action-cell {
  color: #B5B3AD;
}

.btn-cell-arrow {
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  display: flex;
}

/* ИНТЕРАКТИВНЫЙ ЧЕКЕР АВТО */
.car-checker-card {
  background: #FFFFFF;
  border-radius: 18px;
  padding: 18px;
  border: 1px solid var(--brand-border);
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  margin-bottom: 16px;
}

.checker-top {
  margin-bottom: 12px;
}

.checker-tag {
  display: inline-block;
  background: #EBF8F1;
  color: #178248;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  margin-bottom: 6px;
}

.checker-top h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--brand-dark);
  line-height: 1.2;
}

.checker-sub {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.35;
  margin-top: 4px;
}

.checker-row {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.checker-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.checker-group label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
}

.checker-group input,
.checker-group select {
  height: 44px;
  border: 1px solid var(--brand-border);
  border-radius: 10px;
  padding: 0 12px;
  font-size: 14px;
  font-family: inherit;
}
  height: 40px;
  border: 1px solid var(--brand-border);
  border-radius: 8px;
  padding: 0 10px;
  font-size: 13px;
  font-family: inherit;
}

.quick-cars-pills {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.quick-cars-pills button {
  background: #F0EEE9;
  border: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-dark);
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
}

.quick-cars-pills button:hover {
  background: #E2DFD8;
}

.checker-result-box {
  background: #EFFBF4;
  border: 1px solid #D2F2E1;
  border-radius: 14px;
  padding: 14px;
}

.result-status-line {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #167D44;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.result-specs {
  font-size: 13px;
  color: #2F6948;
  line-height: 1.35;
  margin-bottom: 12px;
}

.btn-checker-apply {
  width: 100%;
  height: 48px;
  background: #198048;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease;
}

.btn-checker-apply:hover {
  background: #146B3C;
}



/* СТРОГИЙ БЛОК: СРАВНЕНИЕ С ТАКСИ */
.anti-taxi-corporate {
  background: var(--brand-dark);
  color: #fff;
  border-radius: 18px;
  padding: 18px 16px;
  margin-bottom: 14px;
}

.head-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--brand-orange);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.anti-taxi-corporate h3 {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -0.3px;
  line-height: 1.3;
}

.comparison-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.compare-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.compare-badge-icon.ok {
  width: 20px;
  height: 20px;
  background: #28C76F;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.compare-content strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1px;
}

.compare-content span {
  font-size: 11px;
  color: #BDBBB5;
  line-height: 1.35;
  display: block;
}

.btn-primary-corp {
  width: 100%;
  height: 48px;
  background: var(--brand-orange);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease;
}

.btn-primary-corp:hover {
  background: var(--brand-orange-hover);
}

.trust-footer-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #EDEBE6;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.35;
  margin-bottom: 14px;
}

.trust-footer-card strong {
  display: block;
  color: var(--brand-dark);
  font-size: 11px;
  margin-bottom: 2px;
}

/* КАЛЬКУЛЯТОР */
.calc-card-pro {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tariff-segmented-control {
  display: flex;
  background: #E8E6E1;
  padding: 3px;
  border-radius: 10px;
}

.segment-btn {
  flex: 1;
  border: none;
  background: transparent;
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  color: var(--text-muted);
  transition: all 0.2s ease;
}

.segment-btn.active {
  background: #fff;
  color: var(--brand-dark);
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.payout-display-box {
  background: #fff;
  border-radius: 16px;
  padding: 18px;
  text-align: center;
  border: 1px solid var(--brand-border);
}

.payout-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
}

.payout-digits {
  font-size: 36px;
  font-weight: 900;
  color: var(--brand-orange);
  letter-spacing: -0.5px;
  margin: 4px 0;
}

.payout-digits .curr {
  font-size: 24px;
}

.payout-sub {
  font-size: 12px;
  color: var(--text-muted);
}

.sliders-card {
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  border: 1px solid var(--brand-border);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.slider-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.slider-header-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
}

.slider-header-row .lbl {
  color: var(--text-muted);
}

.slider-header-row .val {
  color: var(--brand-dark);
  font-size: 14px;
}

.slider-ticks {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--text-hint);
}

.perks-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 4px;
}

.perk-bullet {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--text-muted);
}

/* ПРОГРЕСС-БАР ШАГОВ (STEPPER) */
.pro-stepper-bar {
  margin-bottom: 16px;
}

.stepper-track {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  margin: 0 24px 6px 24px;
}

.step-pip {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #E0DDD7;
  color: #7A7873;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  z-index: 2;
  transition: all 0.25s ease;
}

.step-pip.active {
  background: var(--brand-orange);
  color: #fff;
}

.step-line {
  flex: 1;
  height: 2px;
  background: #E0DDD7;
  margin: 0 -2px;
  z-index: 1;
}

.step-line.active {
  background: var(--brand-orange);
}

.stepper-labels {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--text-hint);
  font-weight: 600;
  padding: 0 14px;
}

.stepper-labels span.active {
  color: var(--brand-dark);
}

/* ФОРМА РЕГИСТРАЦИИ (ЧИСТАЯ С МАСКАМИ) */
.pro-form {
  display: flex;
  flex-direction: column;
}

.wizard-step-content {
  display: none;
  flex-direction: column;
  gap: 12px;
}

.wizard-step-content.active {
  display: flex;
}

.pro-input-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pro-input-group label {
  font-size: 11px;
  font-weight: 700;
  color: var(--brand-dark);
}

.pro-input-group input,
.pro-input-group select {
  height: 44px;
  background: #fff;
  border: 1px solid var(--brand-border);
  border-radius: 10px;
  padding: 0 12px;
  font-size: 14px;
  color: var(--brand-dark);
  font-family: inherit;
  transition: border-color 0.15s ease;
}

.pro-input-group input::placeholder {
  color: #B5B3AD;
  font-size: 13px;
}

.pro-input-group input:focus,
.pro-input-group select:focus {
  outline: none;
  border-color: var(--brand-orange);
}

.input-hint {
  font-size: 10px;
  color: var(--text-hint);
  line-height: 1.25;
}

.pro-input-row {
  display: flex;
  gap: 10px;
}

.flex-1 {
  flex: 1;
}

.rent-toggle-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--brand-border);
}

.rent-label-text strong {
  display: block;
  font-size: 12px;
  color: var(--brand-dark);
}

.rent-label-text span {
  font-size: 10px;
  color: var(--text-muted);
}

.switch-corp {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 22px;
  flex-shrink: 0;
}

.switch-corp input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider-corp {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #D3D0C9;
  transition: .3s;
  border-radius: 22px;
}

.slider-corp:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
}

input:checked + .slider-corp {
  background-color: var(--brand-orange);
}

input:checked + .slider-corp:before {
  transform: translateX(20px);
}

.alert-requirement-ok {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #EFFBF4;
  border: 1px solid #D1F3E1;
  color: #167D44;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 8px;
}

.form-btn-row {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}

.btn-back-corp {
  height: 48px;
  background: #E8E6E1;
  color: var(--brand-dark);
  border: none;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  padding: 0 16px;
  cursor: pointer;
}

.legal-disclaimer {
  font-size: 10px;
  color: var(--text-hint);
  text-align: center;
  line-height: 1.35;
  margin-top: 6px;
}

/* КУРАТОР ЭКРАН */
.curator-corp-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--brand-border);
  margin-bottom: 12px;
}

.avatar-ring {
  width: 36px;
  height: 36px;
  background: var(--brand-orange);
  color: #fff;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

.curator-info h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-dark);
}

.online-indicator {
  font-size: 10px;
  color: var(--accent-green);
  font-weight: 600;
}

.chat-thread {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bubble.in {
  background: #fff;
  padding: 12px 14px;
  border-radius: 14px 14px 14px 4px;
  border: 1px solid var(--brand-border);
  font-size: 12px;
  color: var(--text-main);
  line-height: 1.4;
  box-shadow: 0 1px 4px rgba(0,0,0,0.02);
}

.btime {
  display: block;
  font-size: 9px;
  color: var(--text-hint);
  text-align: right;
  margin-top: 4px;
}

.tg-deep-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #2AABEE;
  color: #fff;
  text-decoration: none;
  padding: 9px 12px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 12px;
  margin-top: 8px;
  width: 100%;
}

/* МОДАЛКА УСПЕХА */
.modal-overlay {
  display: none;
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  z-index: 90;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal-card-corp {
  background: #fff;
  border-radius: 20px;
  padding: 22px;
  text-align: center;
  width: 100%;
  animation: popIn 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-check-circle {
  width: 52px;
  height: 52px;
  background: var(--accent-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px auto;
}

.modal-card-corp h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--brand-dark);
  margin-bottom: 4px;
}

.modal-card-corp p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 10px;
}

.modal-note {
  font-size: 11px;
  color: var(--brand-dark);
  font-weight: 600;
  margin-bottom: 14px;
}

.btn-modal-dismiss {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  margin-top: 10px;
  cursor: pointer;
}

/* НИЖНЯЯ НАВИГАЦИЯ */
.app-bottom-nav {
  height: 60px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--brand-border);
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 60;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  background: transparent;
  border: none;
  color: #8C8A85;
  cursor: pointer;
  padding: 6px 14px;
  transition: color 0.15s ease;
}

.nav-item span {
  font-size: 10px;
  font-weight: 700;
}

.nav-item.active {
  color: var(--brand-orange);
}

.phone-home-indicator {
  height: 16px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 70;
}

.phone-home-indicator::after {
  content: "";
  width: 120px;
  height: 4px;
  background: #111;
  border-radius: 4px;
}

.screen-spacer {
  height: 36px;
}

/* ТЕМА ANDROID */
body.theme-android .phone-chassis {
  border-radius: 36px;
}

body.theme-android .phone-island {
  width: 12px;
  height: 12px;
  top: 14px;
  border-radius: 50%;
  padding: 0;
  justify-content: center;
}

body.theme-android .island-camera {
  width: 8px;
  height: 8px;
}

body.theme-android .phone-home-indicator::after {
  width: 72px;
  height: 3px;
}

/* ДЕВ-КОНСОЛЬ СПРАВА */
.console-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.deck-card {
  background: var(--deck-card-bg);
  border: 1px solid var(--deck-border);
  border-radius: 16px;
  padding: 18px;
}

.deck-card.flex-1 {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.deck-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.card-desc {
  font-size: 12px;
  color: #8E8E93;
  margin-bottom: 12px;
}

.quick-actions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.action-btn {
  background: #252528;
  color: #E5E5EA;
  border: 1px solid #36363B;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: all 0.15s ease;
  text-decoration: none;
}

.action-btn:hover {
  background: #323236;
}

.action-btn.highlight {
  background: var(--brand-orange);
  color: #fff;
  border-color: var(--brand-orange);
}

.action-btn.highlight:hover {
  background: var(--brand-orange-hover);
}

.action-btn.link-btn {
  display: flex;
  align-items: center;
}

.log-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.btn-clear-log {
  background: transparent;
  border: none;
  color: #8E8E93;
  font-size: 11px;
  cursor: pointer;
}

.btn-clear-log:hover {
  color: #fff;
}

.api-terminal {
  flex: 1;
  min-height: 220px;
  max-height: 360px;
  background: #0B0B0D;
  border: 1px solid #202024;
  border-radius: 10px;
  padding: 12px;
  font-family: 'SF Mono', Consolas, Menlo, monospace;
  font-size: 11px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.log-entry {
  line-height: 1.4;
  word-break: break-all;
}

.log-time {
  color: #545458;
}

.log-tag {
  display: inline-block;
  padding: 1px 5px;
  border-radius: 3px;
  font-size: 9px;
  font-weight: 800;
  margin: 0 4px;
}

.log-entry.system .log-tag { background: #1C54F2; color: #fff; }
.log-entry.req .log-tag { background: #FF9F0A; color: #000; }
.log-entry.res .log-tag { background: #30D158; color: #000; }
.log-entry.timing .log-tag { background: #BF5AF2; color: #fff; }
.log-entry.error .log-tag { background: #FF453A; color: #fff; }

.log-msg {
  color: #C7C7CC;
}

.compact {
  padding: 12px 16px;
}

.meta-row {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  padding: 3px 0;
  border-bottom: 1px solid #252528;
}

.meta-row:last-child {
  border-bottom: none;
}

.meta-row span {
  color: #8E8E93;
}

.meta-row strong {
  color: #E5E5EA;
}

@media (max-width: 950px) {
  .studio-layout {
    flex-direction: column;
    align-items: center;
  }
  .console-column {
    width: 100%;
    max-width: var(--phone-width);
  }
}

/* ЭКРАН ПОМОЩИ И FAQ */
.faq-screen-header {
  padding: 18px 18px 12px;
}
.faq-screen-header h3 {
  font-size: 20px;
  font-weight: 800;
  color: #1A1A1A;
  margin-bottom: 4px;
}
.faq-screen-header p {
  font-size: 13px;
  color: #777;
}

.faq-accordion {
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.faq-item {
  background: #FFFFFF;
  border: 1px solid #EAEAEF;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.faq-item[open] {
  border-color: #D6D8E1;
  box-shadow: 0 4px 14px rgba(0,0,0,0.04);
}

.faq-summary {
  display: flex;
  align-items: center;
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
  gap: 12px;
  user-select: none;
}
.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-bullet {
  background: #FC3F1D;
  color: #FFFFFF;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  min-width: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 900;
  box-shadow: 0 2px 6px rgba(252, 63, 29, 0.25);
}

.faq-q {
  flex: 1;
  font-size: 14px;
  font-weight: 700;
  color: #212121;
  line-height: 1.35;
}

.faq-arrow {
  font-size: 20px;
  color: #999;
  font-weight: bold;
  transform: rotate(90deg);
  transition: transform 0.2s ease;
}
.faq-item[open] .faq-arrow {
  transform: rotate(-90deg);
  color: #FC3F1D;
}

.faq-answer {
  padding: 0 16px 14px 48px;
  font-size: 13px;
  line-height: 1.5;
  color: #555;
  border-top: 1px solid #F0F0F4;
  padding-top: 10px;
}

.curator-support-card {
  margin: 0 16px 20px;
  background: #F5F5F7;
  border: 1px solid #E8E8EE;
  border-radius: 20px;
  padding: 18px;
}

.curator-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.avatar-ring-pro {
  position: relative;
}
.avatar-circle {
  width: 44px;
  height: 44px;
  background: #FC3F1D;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
}
.pulse-online {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 12px;
  height: 12px;
  background: #28C76F;
  border: 2px solid #fff;
  border-radius: 50%;
}

.curator-meta h4 {
  font-size: 16px;
  font-weight: 800;
  color: #1A1A1A;
}
.online-status {
  font-size: 12px;
  font-weight: 600;
  color: #28C76F;
}

.curator-card-desc {
  font-size: 13px;
  color: #555;
  line-height: 1.45;
  margin-bottom: 14px;
}

.tg-curator-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #2AABEE;
  color: #FFFFFF;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 18px;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(42, 171, 238, 0.3);
  transition: all 0.2s ease;
}
.tg-curator-btn:hover {
  background: #229ED9;
  transform: translateY(-1px);
}

/* Кнопка открытия онбординга */
.btn-onb-trigger {
  background: #EDEDED;
  border: none;
  font-size: 11px;
  font-weight: 700;
  color: var(--brand-dark);
  padding: 4px 8px;
  border-radius: 6px;
  cursor: pointer;
  margin-right: 6px;
  transition: background 0.15s;
}
.btn-onb-trigger:hover {
  background: #DFDFDF;
}

/* Модалка онбординга */
.modal-card-onboarding {
  background: #fff;
  border-radius: 20px;
  width: 90%;
  max-width: 340px;
  padding: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
}

.onboarding-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.brand-badge-row {
  display: flex;
  align-items: center;
  gap: 5px;
}

.btn-skip-onboarding {
  background: none;
  border: none;
  color: #888;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.onboarding-visual-box {
  width: 100%;
  height: 180px;
  border-radius: 16px;
  overflow: hidden;
  background: #F5F4F2;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.onb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.onboarding-slide-content h3 {
  font-size: 18px;
  font-weight: 800;
  color: #111;
  margin-bottom: 4px;
}

.onb-accent {
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-red);
  margin-bottom: 12px;
}

.onb-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.onb-bullets li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 600;
  color: #1A1A1A;
  background: #F5F5F7;
  border-radius: 50px;
  padding: 10px 14px;
  border: 1px solid #EAEAEF;
  line-height: 1.3;
}

.onb-bullets .check-icon {
  background: #FC3F1D;
  color: #FFFFFF;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  min-width: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 900;
  box-shadow: 0 2px 6px rgba(252, 63, 29, 0.3);
}
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  flex-shrink: 0;
}

.onboarding-bottom-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.onb-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.onb-dot {
  width: 6px;
  height: 6px;
  border-radius: 3px;
  background: #DDD;
  transition: all 0.2s;
}

.onb-dot.active {
  width: 20px;
  background: var(--brand-red);
}
