    html, body { font-family: system-ui, Arial, sans-serif; padding: 0; margin: 5px;background: #fff;color: #111; }
    .panel { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 18px; }
    select, button { font-size: 16px; padding: 10px 12px; border-radius: 10px; border: 1px solid #ccc; }
    button { cursor: pointer; font-weight: 700; }
    button:disabled { opacity: .6; cursor: not-allowed; }
	a { color: #454fa0; text-decoration: none; }

    #flash{
      font-size: 24px;
      font-weight: 600;
      padding: 14px 18px;
      border-radius: 12px;
      background:#111;
      color:#fff;
      display:inline-block;
      box-shadow:0 8px 22px rgba(0,0,0,.25);
      transition: transform .06s ease, filter .06s ease, opacity .06s ease;
      user-select:none;
      white-space: pre-wrap;
      min-width: 300px;
    }
    .blink { transform: scale(1.02); filter: brightness(1.35); opacity: 0.95; }


    .results { margin-top: 22px; }



/* ========= Список объявлений ========= */
.listwrap { display: grid; gap: 12px; margin-top: 10px; }

.rowCard {
  border: 1px solid #abc6da;
  border-radius: 12px;
  padding: 12px;
  background: #fff;
  box-shadow: 0 6px 16px rgba(0,0,0,.06);
}
	.orderTitle {
  font-size: 1.3em;
  font-weight: 600;
  margin-bottom: 0.3em;
  line-height: 1.2;
}
.orderTitle a {
  color: #404895;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: 600;
  line-height: 1.1;
}

.field-preview {
  color: #000000;
  font-size: 1.1em;
  margin-bottom: 0.4em;
    display: inline;
  vertical-align: baseline;
   a {
  white-space: nowrap;
}
}
.field-label {
  color: #00509f;
  font-size: 1.0em;
}

.field-label-add {
  color: #00509f;
  font-size: 0.95em;
}
.field-value {
  font-weight: 500;
    font-size: 1.0em;
}
.field-value-pay {
  font-weight: 500;
  font-size: 1.15em;
  background:#d0e8ff;
}


.field-content {
  display: table;
  background:linear-gradient(to right,#6589c5,#3f47b4);
  padding: 4px 9px 4px 9px;
  border-radius: 6px;
  font-size: 1.1em;
  border: 2px solid #b8c8e4;
  font-weight: 600;
  margin-top: 0.4em;

  width: fit-content;   /* 👈 ключевое */
}
.field-content a {
  color: #ffffff;
  text-decoration: none;
}

/* ========= END Список объявлений ========= */

/* ===== profile =====*/
  .profile-card{
    border:1px solid #ddd;
    border-radius:14px;
    padding:14px;
    background:#fff;
    box-shadow:0 6px 16px rgba(0,0,0,.06);
  }

  .profile-row{
    display:grid;
    grid-template-columns:220px 1fr auto;
    gap:10px;
    align-items:center;
    padding:10px 0;
    border-bottom:1px solid #b4c9d1;
  }

  .profile-row:last-child{border-bottom:0;}

  .profile-k{font-weight:800;opacity:.75;}
  .profile-v{word-break:break-word;}

  .profile-btn{
    border:1px solid #9ebacd;
    background:#f4f4f4;
    border-radius:10px;
    padding:8px 10px;
    cursor:pointer;
    font-weight:700;
  }

  .profile-msg{
    margin:12px 0;
    font-weight:800;
  }
  .profile-msg.profile-err{color:#b00020;}
  .profile-msg.profile-ok{color:#0b7a0b;}

  /* modal */
  .profile-modalOverlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.55);
    display:none;
    align-items:center;
    justify-content:center;
    padding:12px;
    z-index:9999;
  }
  .profile-modalOverlay.isOpen{display:flex;}

  .profile-modalBox{
    width:min(560px,96vw);
    max-height:92vh;
    background:#fff;
    border-radius:14px;
    overflow:hidden;
    box-shadow:0 14px 40px rgba(0,0,0,.35);
    display:grid;
    grid-template-rows:auto 1fr;
  }

  .profile-modalTop{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    padding:10px 12px;
    border-bottom:1px solid #e7e7e7;
    background:#fafafa;
  }

  .profile-modalTitle{
    font-weight:900;
    font-size:14px;
    opacity:.85;
  }

  .profile-modalClose{
    border:1px solid #d7d7d7;
    background:#fff;
    border-radius:10px;
    padding:8px 10px;
    cursor:pointer;
    font-weight:900;
  }

  .profile-modalBody{
    padding:12px;
    overflow:auto;
  }

  .profile-label{
    display:block;
    font-weight:800;
    opacity:.75;
    margin:10px 0 6px;
  }

  .profile-input{
    width:100%;
    box-sizing:border-box;
    font-size:16px;
    padding:10px 12px;
    border-radius:10px;
    border:1px solid #ccc;
  }

  .profile-actions{
    display:flex;
    gap:10px;
    justify-content:flex-end;
    margin-top:12px;
  }

  .profile-primary{
    background:#111;
    color:#fff;
    border:1px solid #111;
  }

  body.profile-modalNoScroll{overflow:hidden;}

  @media (max-width: 600px) {
  .profile-row {
    grid-template-columns: 1fr;           /* одна колонка */
    grid-template-rows: auto auto auto;   /* метка → значение → кнопка */
    gap: 6px;                             /* меньше отступов */
    padding: 12px 0;                      /* чуть меньше вертикально */
    text-align: left;                     /* или center, как нравится */
  }

  .profile-k,
  .profile-v,
  .profile-btn {
    grid-column: 1;                       /* всё в одну колонку */
  }

  .profile-v {
    font-weight: 500;                     /* значение чуть легче */
    opacity: 1;
	background:#f5f9fa;
	padding: 15px 5px;
  }

  .profile-btn {
    margin-top: 4px;
    justify-self: start;                  /* кнопка слева или center */
    width: auto;                          /* не растягивать на всю ширину */
  }

  .profile-card {
    padding: 12px;                        /* меньше внутреннего отступа */
  }
}

/* ===== END profile =====  */


/* ======== БЛОК 1: ЛОГО + МЕНЮ ======== */
.block-1 {
  display: flex;
  gap: 2px;
  align-items: center;

}

.block-1a {
  width: 115px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 5px;
}

.block-1a img {
  max-width: 100%;
  max-height: 100%;
}

.block-1m {
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.block-1m a {
  font-family: "Inter", "Poppins", system-ui, sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #454fa0;
  text-decoration: none;
  padding: 0 0px; /* отступы справа и слева */
  display: inline-block;
}

.block-1s a {
  font-family: "Inter", "Poppins", system-ui, sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #454fa0;
  text-decoration: none;
  padding: 0 0px; /* отступы справа и слева */
}

.block-1n {
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.block-1n a {
  font-family: "Inter", "Poppins", system-ui, sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #454fa0;
  text-decoration: none;
  padding: 0 18px; /* отступы справа и слева */
  display: inline-block;
}

.block-1b {
  flex: 1;
  min-height: 55px;
  display: flex;
  align-items: left;
  justify-content: flex-end;
  position: relative;
  overflow: visible;
}

/* Десктопное меню */
.nav-list {
  display: flex;
  gap: 2px;
  list-style: none;
}


/* ======== START МЕНЮ  ======== */
/* ======== СТИЛЬ ДЛЯ МОБИЛЬНОЙ ВЕРСИИ (до 768px) ======== */
.nav-list a {
  text-align: left;
  display: block;
  width: 100%;
  text-decoration: none;
  color: #454fa0;
  font-weight: 600;
  font-size: 19px;
  padding: 0px;
}

/* ======== СТИЛЬ ДЛЯ ДЕСКТОПНОЙ ВЕРСИИ (от 1025px) ======== */
@media (min-width: 1025px) {

  .nav-list {
    display: flex;
    flex-wrap: wrap;         /* ← ссылки переносятся целиком на новую строку */
    gap: 20px;               /* расстояние между ссылками */
	row-gap: 5px;      /* ← расстояние между строками */
	padding-left: 20px;   /* ← отступ слева на 20px */
  }

  .nav-list li {
    display: inline-block;   /* каждый пункт как элемент строки */
    white-space: nowrap;     /* не переносить слова внутри */
  }

  .nav-list a {
    display: inline-block;   /* ссылка в одну строку */
    width: auto;             /* убрать растяжение на 100% */
    white-space: nowrap;     /* ссылки не ломаются */
  }
}

/* Мобильная кнопка */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
    position: relative;  /* добавили */
  z-index: 1200;       /* подняли выше nav-list */
}

.mobile-menu-btn span {
  display: block;
  width: 40px;
  height: 5px;
  background: #00356a;
  border-radius: 2px;
  transition: 0.3s;
  position: relative;
  margin: 15px 0;
}

.mobile-menu-btn span::before,
.mobile-menu-btn span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  background: #00356a;
  border-radius: 2px;
  transition: 0.3s;
}

.mobile-menu-btn span::before { top: -12px; }
.mobile-menu-btn span::after { top: 12px; }

/* Крестик */
/* Крестик — идеально под расстояние 12 px */
.mobile-menu-btn.active span { 
  background: transparent; 
}
.mobile-menu-btn.active span::before { 
  transform: rotate(45deg) translate(8.5px, 8.5px); 
}
.mobile-menu-btn.active span::after { 
  transform: rotate(-45deg) translate(8.5px, -8.5px); 
}

/* Мобильное меню */
@media (max-width: 1024px) {
  body:has(.mobile-block .nav-list.active){
    overflow:hidden;
    height:100%;
  }

  .page { gap: 2px; padding: 5px; }
  .block-1 { gap: 2px; }
  .nav-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.nav-list li span {
  flex: 0 0 auto;
  margin-top: 7px;
}

  .mobile-menu-btn { display: block; }
  .mobile-menu-btn.active {
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 1201;
  }
.nav-list {
  position: fixed;
  top: 0;
  bottom: 0;
  right: -110%;
  width: 340px;
  height:100svh;
  max-height:100svh;
  overflow-y:auto;
  overflow-x:hidden;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior:contain;
  box-sizing:border-box;
  background: #fff;
  flex-direction: column;
  align-items: left;
  justify-content: flex-start;
  gap: 10px;
  padding: 70px 25px 25px 25px; /* top right bottom left */
  transition: 0.4s ease;
  box-shadow: -5px 0 15px rgba(0,0,0,0.1);
  z-index: 1100; /* ← ДОБАВЬ ЭТО */
}
  .nav-list.active {
    right: 0;
  }

  .nav-list a {
    font-size: 23px;
    padding: 7px 0;
	width: auto;
flex: 1;
    /* можно ещё: */
    /* line-height: 1.4; */
  }
}

/* ======== END МЕНЮ  ======== */

/* ======== start footer  ======== */

.footer {
  background: #ffffff;
  border-top: 1px solid  #abc6da;
  margin-top: 64px;
}

.footer__wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 56px;
  padding: 52px 0 32px;
}

.footer__col {
  min-width: 0;
}

.footer__col--brand {
  padding-right: 20px;
}


.footer__desc {
  margin: 18px 0 0;
  max-width: 320px;
  color: #6d6d6d;
  font-size: 14px;
  line-height: 1.75;
}

.footer__title {
  margin: 0 0 18px;
  color: #111111;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__list li + li {
  margin-top: 12px;
}

.footer__list a {
  color: #454fa0;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.5;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer__list a:hover {
  color: #454fa0;
}

.footer__bottom {
  border-top: 1px solid #f0f0f0;
  padding: 18px 0 24px;
}

.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer__bottom span {
  color: #8a8a8a;
  font-size: 13px;
  line-height: 1.4;
}

/* Мобильная версия */
@media (max-width: 768px) {
  .footer {
    margin-top: 48px;
  }

  .footer__wrap {
    padding: 0 18px;
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 36px 0 24px;
  }

  .footer__desc {
    max-width: 100%;
    margin-top: 14px;
  }

  .footer__title {
    margin-bottom: 14px;
  }

  .footer__bottom {
    padding: 16px 0 20px;
  }

  .footer__bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer__bottom span {
    font-size: 12px;
  }
}
/* ======== end footer  ======== */

.radio-group {
  display: flex;
  flex-direction: column;
  gap: 12px 0;
  margin: 8px 0 16px 0;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 1.05rem;
  line-height: 1.4;
  user-select: none;
}

.radio-label input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: #2463FF;     /* ваш основной цвет, можно поменять */
  cursor: pointer;
}

.radio-label span {
  flex: 1;
}


/* ========  текст контента  ======== */

.reading-text {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.42;
    color: #222222;
    max-width: 100%;
    margin: 0 auto;
    text-align: left;
    letter-spacing: 0.005em;
    font-weight: 400;
    background: #ffffff;
}

.reading-text p {
    margin: 0;
}

@media (min-width: 768px) {
    .reading-text {
        font-size: 18px;
        line-height: 1.6;
        max-width: 65ch;
        margin: 0 0 0 15px;
    }
}


/* ========  текст контента  ======== */

