:root{color-scheme:light;--primary:#0064b4;--primary-dark:#0064b4;--primary-soft:#eaf2ff;--bg:#f5f7fb;--card:#fff;--text:#172033;--muted:#667085;--line:#d9e0ea;--danger:#b42318;--danger-bg:#fff1f0;--success:#067647;--success-bg:#ecfdf3;--warning:#8a5200;--warning-bg:#fff8e6;--shadow:0 12px 34px rgba(23,32,51,.09);--radius:18px;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif}
*{box-sizing:border-box}html{min-height:100%;background:#fff}body{margin:0;min-height:100%;background:#fff;color:var(--text)}button,input,select{font:inherit}button{touch-action:manipulation}a{color:inherit}.hidden{display:none!important}.shell{width:min(1240px,calc(100% - 32px));margin:auto;padding:20px 0 56px}.topbar{display:flex;align-items:center;gap:16px;min-height:58px;margin-bottom:22px}.brand{display:flex;align-items:center;gap:11px;text-decoration:none}.logo{display:grid;place-items:center;width:44px;height:44px;border-radius:13px;background:var(--primary);color:#fff;font-size:21px;box-shadow:0 8px 20px rgba(0, 100, 180, .2)}.brand-copy strong{display:block;font-size:20px;line-height:1}.brand-copy span{display:block;margin-top:5px;color:var(--muted);font-size:12px}.top-actions{display:flex;align-items:center;gap:9px;margin-left:auto}.user-line{max-width:300px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted);font-size:13px}.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 16px;border:0;border-radius:12px;font-weight:750;text-decoration:none;cursor:pointer;transition:background .15s,opacity .15s,transform .05s}.btn:active{transform:translateY(1px)}.btn:disabled{opacity:.56;cursor:wait}.btn-primary{background:var(--primary);color:#fff}.btn-primary:hover:not(:disabled){background:var(--primary-dark)}.btn-light{background:var(--primary-soft);color:var(--primary)}.btn-danger{background:#fff0ef;color:var(--danger)}.btn-outline{background:#fff;color:var(--primary);border:1px solid #b8cef2}.btn-wide{width:100%}.notice{margin:0 0 15px;padding:12px 14px;border-radius:12px;font-size:14px;line-height:1.45;white-space:pre-line}.notice.error{color:var(--danger);background:var(--danger-bg);border:1px solid #fecdca}.notice.success{color:var(--success);background:var(--success-bg);border:1px solid #abefc6}.notice.warning{color:var(--warning);background:var(--warning-bg);border:1px solid #f2cf80}.field{display:grid;gap:7px}.field label{color:#0064b4;font-size:13px;font-weight:750}.field input,.field select{width:100%;height:48px;padding:0 14px;border:1px solid #cfd7e3;border-radius:12px;background:#fff;color:var(--text);outline:0}.field input:focus,.field select:focus{border-color:#0064b4;box-shadow:0 0 0 4px #edf4ff}.field input:disabled,.field select:disabled{background:#f2f4f7;color:#98a2b3}.field-help{color:var(--muted);font-size:12px;line-height:1.4}.field-error{min-height:15px;color:var(--danger);font-size:12px}.stack{display:grid;gap:15px}.page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin:0 0 18px}.page-heading h1{margin:0;font-size:28px;line-height:1.15}.page-heading p{margin:7px 0 0;color:var(--muted)}.back-row{margin-bottom:14px}.empty{padding:28px;text-align:center;color:var(--muted)}.spinner{width:17px;height:17px;border:2px solid rgba(255,255,255,.45);border-top-color:currentColor;border-radius:50%;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.skeleton{position:relative;overflow:hidden;background:#eef2f7;border-radius:9px}.skeleton:after{content:"";position:absolute;inset:0;transform:translateX(-100%);background:linear-gradient(90deg,transparent,rgba(255,255,255,.7),transparent);animation:shimmer 1.3s infinite}@keyframes shimmer{to{transform:translateX(100%)}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}:focus-visible{outline:3px solid #0064b4;outline-offset:3px}
@media(max-width:720px){.shell{width:min(100% - 20px,1240px);padding-top:12px}.topbar{align-items:flex-start;flex-wrap:wrap}.top-actions{width:100%;margin-left:0}.user-line{flex:1}.brand-copy span{display:none}.page-heading{align-items:flex-start;flex-direction:column}.page-heading h1{font-size:24px}}

.sk-h42{height:42px}.sk-h54{height:54px}.sk-h62{height:62px}.sk-h180{height:180px}.sk-h220{height:220px}.section-heading{font-size:22px!important}

/* small-account-link */
.top-actions .account-link{
  font-size:95.83% !important;
}

/* account-home-colors:start */
.top-actions .account-link{
  background: #edf4ff;
  color: #0064b4;
}
.top-actions .account-link{
  background: #ffffff!important;
  color: #1f2937!important;
  border: 1px solid #1f2937!important;
  box-shadow: none!important;
}
.top-actions .account-link:hover{
  background: #f5f5f5!important;
  color: #1f2937!important;
  border-color: #1f2937!important;
}
.top-actions .account-link:active{
  background: #eeeeee!important;
}
/* account-home-colors:end */

/* account-link-regular */
.top-actions .account-link.account-link-regular{
  font-weight:400 !important;
}

/* back-button-regular */
.back-row .btn{
  font-weight:400 !important;
}

/* AVIAMARKET SQUARE BLOCKS START */

/* Прямые углы у карточек, кнопок и всех полей */
html body .card,
html body .btn,
html body button,
html body input,
html body select,
html body textarea{
  border-radius:0 !important;
}

/* AVIAMARKET SQUARE BLOCKS END */

/* AVIAMARKET BACK BUTTON START */

html body .back-row .btn,
html body .back-row .btn-light,
html body .back-row .btn:visited{
  background:var(--primary) !important;
  border-color:transparent !important;
  color:#ffffff !important;
}

html body .back-row .btn:hover,
html body .back-row .btn:focus-visible{
  background:var(--primary) !important;
  color:#ffffff !important;
  filter:brightness(.92);
}

/* AVIAMARKET BACK BUTTON END */

/* AVIAMARKET ACCOUNT BUTTON START */

html body .top-actions .account-link,
html body .top-actions .account-link:visited{
  background:var(--primary) !important;
  border-color:transparent !important;
  color:#ffffff !important;
}

html body .top-actions .account-link:hover,
html body .top-actions .account-link:focus-visible{
  background:var(--primary) !important;
  color:#ffffff !important;
  filter:brightness(.92);
}

/* AVIAMARKET ACCOUNT BUTTON END */





/* AVIAMARKET ACCOUNT RIGHT OFFSET START */
@media(min-width:721px){
  html body .shell > .topbar .top-actions{
    position:relative !important;
    right:-92px !important;
  }
}
/* AVIAMARKET ACCOUNT RIGHT OFFSET END */

/* AVIAMARKET LOGO LEFT 20 START */

/* Телефон: оболочка имеет отступ 10 px, добавляем ещё 10 px */
@media(max-width:720px){
  html body .shell > .topbar .brand{
    position:relative !important;
    left:10px !important;
  }
}

/* Планшет и обычный экран: оболочка имеет отступ 16 px */
@media(min-width:721px) and (max-width:1272px){
  html body .shell > .topbar .brand{
    position:relative !important;
    left:4px !important;
  }
}

/* Большой экран: логотип остаётся ровно в 20 px от края окна */
@media(min-width:1273px){
  html body .shell > .topbar .brand{
    position:relative !important;
    left:calc(640px - 50vw) !important;
  }
}

/* AVIAMARKET LOGO LEFT 20 END */




/* AVIAMARKET WHITE HEADER BLUE PAGES START */

/* Фирменный фон всех страниц */
html,
html body{
  background:#0064b4 !important;
}

html body main.shell{
  background:transparent !important;
}

/* Белая шапка на всю ширину экрана */
html body .topbar{
  position:relative !important;
  isolation:isolate;
  background:#ffffff !important;
}

html body .topbar::before{
  content:"";
  position:absolute;
  top:-32px;
  bottom:18px;
  left:50%;
  width:100vw;
  background:#ffffff;
  transform:translateX(-50%);
  pointer-events:none;
  z-index:-1;
}

/* AVIAMARKET WHITE HEADER BLUE PAGES END */



/* AVIAMARKET HEADER TRANSPARENT ALL PAGES START */
/*
 * Убираем нижнюю белую полосу внутри ширины shell.
 * Белый фон шапки создаётся общим полноэкранным ::before.
 */
html body .shell > .topbar{
  background:transparent !important;
}
/* AVIAMARKET HEADER TRANSPARENT ALL PAGES END */

/* AVIAMARKET UNIFIED SITE HEADER POSITION START */
/* Шапка остаётся на месте на всех страницах */
html body .shell > .site-header{
  position:relative !important;
  background:transparent !important;
  transform:translateY(0) !important;
}
/* AVIAMARKET UNIFIED SITE HEADER POSITION END */

/* AVIAMARKET PAGE STARTS WITH HEADER START */
/*
 * Все страницы начинаются сразу с шапки.
 * Убираем верхний padding оболочки на компьютере,
 * планшете и телефоне.
 */
html body > main.shell,
html body > main.shell.home-shell{
  padding-top:0 !important;
}

/* Сама шапка также не имеет верхнего отступа и смещения */
html body > main.shell > .site-header{
  margin-top:0 !important;
  transform:none !important;
}
/* AVIAMARKET PAGE STARTS WITH HEADER END */

/* AVIAMARKET HEADER CONTENT NORMAL POSITION START */
/* Шапка начинается от верхнего края, содержимое не обрезается */
html body > main.shell > .site-header{
  align-items:center !important;
  transform:none !important;
}

/* Сохраняем только горизонтальный сдвиг логотипа */
html body > main.shell > .site-header .brand{
  transform:translateX(14px) !important;
}

/* Сохраняем только горизонтальный сдвиг кнопки кабинета */
html body > main.shell > .site-header
.top-actions .account-link{
  transform:translateX(14px) !important;
}

html body > main.shell > .site-header
.top-actions .account-link:active{
  transform:translate(14px,1px) !important;
}
/* AVIAMARKET HEADER CONTENT NORMAL POSITION END */

/* AVIAMARKET STRUCTURAL HEADER LAYOUT START */
/*
 * Страница начинается с настоящей шапки.
 * Высота белого фона участвует в разметке страницы.
 */
html body > main.shell{
  padding-top:0 !important;
}

html body > main.shell > .site-header{
  position:relative !important;
  isolation:isolate !important;
  z-index:10 !important;

  display:flex !important;
  align-items:center !important;

  box-sizing:border-box !important;
  min-height:76px !important;
  height:76px !important;
  margin-top:0 !important;
  margin-bottom:22px !important;
  padding-top:0 !important;
  padding-bottom:0 !important;

  background:#ffffff !important;
  transform:none !important;
}

/* Белый фон ровно по реальной высоте шапки */
html body > main.shell > .site-header::before{
  content:"" !important;
  position:absolute !important;
  z-index:-1 !important;

  top:0 !important;
  right:auto !important;
  bottom:0 !important;
  left:50% !important;

  width:100vw !important;
  height:auto !important;

  background:#ffffff !important;
  transform:translateX(-50%) !important;
  pointer-events:none !important;
}

/* На телефоне высота может увеличиваться при переносе элементов */
@media(max-width:720px){
  html body > main.shell > .site-header{
    height:auto !important;
    min-height:76px !important;
    padding-top:10px !important;
    padding-bottom:10px !important;
  }
}
/* AVIAMARKET STRUCTURAL HEADER LAYOUT END */

/* AVIAMARKET BLUE BRAND BLOCK START */
/* Общий фирменный блок логотипа и названия */
html body > main.shell > .site-header .brand{
  display:flex !important;
  align-items:center !important;
  gap:10px !important;

  min-height:56px !important;
  padding:0 18px !important;

  background:#0064b4 !important;
  color:#ffffff !important;
  text-decoration:none !important;
  border-radius:0 !important;
  box-shadow:none !important;
}

/* Значок самолёта становится частью общего синего блока */
html body > main.shell > .site-header .brand .logo{
  width:auto !important;
  height:auto !important;
  padding:0 !important;

  background:transparent !important;
  color:#ffffff !important;
  border-radius:0 !important;
  box-shadow:none !important;
}

/* Надпись AviaMarket белая */
html body > main.shell > .site-header
.brand .brand-copy strong{
  color:#ffffff !important;
  font-weight:400 !important;
}

/* Дополнительная строка логотипа, если появится */
html body > main.shell > .site-header
.brand .brand-copy span{
  color:#ffffff !important;
}
/* AVIAMARKET BLUE BRAND BLOCK END */

/* AVIAMARKET BRAND ACCOUNT EQUAL SIZE START */
/* Логотип и кнопка кабинета — компактные и одинаковые */
html body > main.shell > .site-header .brand,
html body > main.shell > .site-header
.top-actions .account-link{
  box-sizing:border-box !important;
  height:44px !important;
  min-height:44px !important;
  max-height:44px !important;
  padding:0 12px !important;

  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
}

html body > main.shell > .site-header .brand{
  justify-content:flex-start !important;
  gap:7px !important;
}

html body > main.shell > .site-header .brand .logo{
  font-size:17px !important;
}

html body > main.shell > .site-header
.brand .brand-copy strong{
  font-size:16px !important;
}

html body > main.shell > .site-header
.top-actions .account-link{
  font-size:15px !important;
}
/* AVIAMARKET BRAND ACCOUNT EQUAL SIZE END */

