 * { margin: 0; padding: 0; box-sizing: border-box; }
    body {
      font-family: 'Inter', sans-serif;
      background: #f9fafb;
      color: #111;
      line-height: 1.5;
      padding: 16px;
    }
    .rate { 
      display: inline-block;
      margin: 8px;
      padding: 12px 20px;
      background: white;
      border-radius: 8px;
      text-align: center;
      min-width: 160px;
      box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }
    header {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    /* min-height: 220px;
    max-width: 388px; */
    margin: auto;
    background-image: url(https://static.mfbcdn.net/images/dashboard/worldMap.webp);
}
    .symbol { font-weight: bold; font-size: 18px; display: block; }
    .price { font-size: 22px; margin-top: 6px; }
    .flash-up .price { color: #2e7d32; }
    .flash-down .price { color: #c62828; }
    .flash-up, .flash-down {
      animation: flash 1.2s;
    }
    @keyframes flash {
      0% { background-color: #e8f5e9; }
      50% { background-color: #c8e6c9; }
      100% { background-color: white; }
    }
 
   
    .container {
      max-width: 1000px;
      margin: 0 auto;
    }
    header {
      text-align: center;
      margin: 20px 0 30px;
    }
    h1 {
      font-size: 24px;
      font-weight: 700;
      margin-bottom: 12px;
      color: #000;
    }
    .logo__style {
      color: #000; text-decoration: none;
    }
    .logo__text {
      font-size: 14px; color: #666; margin: 5px 0 0 0;
    }
    h2 {
      font-size: 24px;
      font-weight: 700;
      margin-bottom: 12px;
      margin-top: 12px;
      color: #000;
      text-align: center;
    }
    li {
    list-style-type: none;
    }

    .subtitle {
      font-size: 16px;
      color: #555;
      max-width: 650px;
      margin: 0 auto;
    }
    .calculator {
      display: flex;
      flex-direction: column;
      gap: 30px;
    }
    .input-panel, .result-panel {
      background: white;
      padding: 20px;
      border-radius: 16px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    }
    .form-group {
      margin-bottom: 20px;
    }
    label {
      display: block;
      margin-bottom: 8px;
      font-weight: 600;
      color: #222;
      font-size: 15px;
    }
    input[type="number"] {
      width: 100%;
      padding: 14px;
      border: 1px solid #ddd;
      border-radius: 12px;
      font-size: 18px; /* Увеличено для мобильных */
      -webkit-appearance: none;
    }
    input[type="range"] {
      width: 100%;
      height: 36px;
      -webkit-appearance: none;
      background: #eee;
      border-radius: 18px;
    }
    input[type="range"]::-webkit-slider-thumb {
      -webkit-appearance: none;
      width: 28px;
      height: 28px;
      background: #ff5500;
      border-radius: 50%;
      cursor: pointer;
    }
    .range-label {
      display: flex;
      justify-content: space-between;
      margin-top: 6px;
      font-size: 14px;
      color: #666;
    }
    .checkbox-group {
      display: flex;
      align-items: flex-start;
      gap: 12px;
      margin-top: 8px;
    }
    .checkbox-group input {
      margin-top: 4px;
      min-width: 18px;
      min-height: 18px;
    }
    .result-item {
      margin-bottom: 14px;
      font-size: 17px;
    }
    .result-label {
      display: block;
      color: #555;
      margin-bottom: 4px;
    }
    .result-value {
      font-weight: 600;
      color: #000;
      font-size: 19px;
    }
    .cta-button {
      display: block;
      width: 100%;
      padding: 16px;
      background: #ff5500;
      color: white;
      text-align: center;
      font-size: 18px;
      font-weight: 600;
      border: none;
      border-radius: 12px;
      text-decoration: none;
      margin: 14px 0;
      transition: background 0.2s;
      min-height: 56px; /* Минимум по Material Design */
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .cta-button:hover {
      background: #e04b00;
    }
    .cta-button.freedom {
      background: #2d5af0;
    }
    .cta-button.freedom:hover {
      background: #1a48d0;
    }
    .cta-button.finam {
      background: #009a6e;
    }
    .cta-button.finam:hover {
      background: #007a55;
    }
    .seo-content {
      background: white;
      padding: 22px;
      border-radius: 16px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.05);
      margin-top: 30px;
    }
    .seo-content h2 {
      margin: 20px 0 16px;
      font-size: 20px;
    }
    .seo-content p {
      margin-bottom: 14px;
      font-size: 16px;
    }
    .article-links {
      margin-top: 20px;
      padding-top: 20px;
      border-top: 1px solid #eee;
      font-size: 16px;
    }
    .article-links a {
      color: #ff5500;
      text-decoration: none;
      font-weight: 600;
    }
    footer {
      margin-top: 40px;
      padding-top: 20px;
      border-top: 1px solid #ccc;
      text-align: center;
      font-size: 14px;
      color: #666;
    }
  .markets-bar {
  background: #0b2f1c;
  color: #fff;
  padding: 8px 0;
  font-size: 14px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}
.market-status {
  display: flex;
  align-items: center;
  gap: 6px;
}
/* Иконки вместо точек */
.market-status .icon {
  font-size: 16px;
  line-height: 1;
}

/* Главный макет: калькулятор + сайдбар */
.main-layout {
  display: flex;
  gap: 24px;
  margin-top: 10px;
}

.nakoplyu {
    display: flex;
    flex-direction: column;
}

.sidebar {
  width: 60%;
  background: white;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  align-self: flex-start;
  position: sticky;
  top: 20px; /* прилипает при прокрутке */
}

.sidebar h3 {
  font-size: 18px;
  margin: 0 0 16px;
  color: #000;
}

.recent-posts {
  list-style: none;
  padding: 0;
  margin: 0;
}

.recent-posts li {
  margin-bottom: 12px;
}

.recent-posts a {
  color: #ff5500;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  display: block;
  line-height: 1.4;
}

.recent-posts a:hover {
  text-decoration: underline;
}

/* Мобильные устройства: сайдбар уходит вниз */
@media (max-width: 992px) {
  .main-layout {
    flex-direction: column;
  }
  .sidebar {
    width: 100%;
    position: static;
  }
}

    /* Планшеты и десктоп */
    @media (min-width: 768px) {
      .calculator {
        flex-direction: row;
      }
      h1 { font-size: 28px; }
      .subtitle { font-size: 18px; }
      h2 { font-size: 28px; }
    }

           a {
        color: #ff5500;
        text-decoration: none;
        font-weight: 500;
    }

    .back-link {
        display: inline-block;
        margin-top: 24px;
        color: #555;
        font-size: 16px;
        text-decoration: none;
    }

    .back-link:hover {
        text-decoration: underline;
    }
    table {
        width: 100%;
        border-collapse: collapse;
        margin: 20px 0;
    }

    th,
    td {
        border: 1px solid #000;
        padding: 8px 10px;
        text-align: left;
    }

    th {
        background: #f5f5f5;
    }

    .calculator-profitability {
        border: 1px solid #ccc;
        padding: 16px;
        margin: 25px 0;
        background: #f9f9f9;
    }

    .calculator h3 {
        margin-top: 0;
    }

    label {
        display: block;
        margin: 10px 0 5px 0;
        font-weight: bold;
    }

    input[type="number"] {
        width: 100%;
        padding: 8px;
        font-size: 16px;
        border: 1px solid #999;
    }

    button {
        width: 100%;
        padding: 10px;
        background: #000;
        color: #fff;
        border: none;
        font-size: 16px;
        font-weight: bold;
        cursor: pointer;
        margin-top: 10px;
    }

    button:hover {
        background: #333;
    }

    .result {
        margin-top: 15px;
        padding: 12px;
        background: #fff;
        border: 1px solid #999;
        display: none;
        font-weight: bold;
    }

    .result.show {
        display: block;
    }

    .highlight {
        background: #f0f8ff;
        border-left: 3px solid #007acc;
        padding: 15px;
        margin: 20px 0;
    }

    .note {
        background: #fff8e1;
        padding: 12px;
        border: 1px solid #ffd54f;
        margin: 20px 0;
    }
  
/* ===== ВВОДНЫЙ БЛОК ===== */
    .intro {
        background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 100%);
        /* Градиентный фон */
        border-left: 5px solid #3b82f6;
        /* Акцентная полоса */
        padding: 1.8rem;
        border-radius: 0 12px 12px 0;
        margin-bottom: 3rem;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    }

    .intro p {
        margin-bottom: 1rem;
        font-size: 1.1rem;
        color: #374151;
    }

    .intro p:last-child {
        margin-bottom: 0;
        font-size: 1rem;
    }

    .intro a {
        color: #2563eb;
        text-decoration: none;
        font-weight: 600;
        display: inline-flex;
        align-items: center;
        gap: 5px;
        transition: color 0.2s;
    }

    .intro a:hover {
        color: #1d4ed8;
        text-decoration: underline;
    }

    /* ===== ЗАПИСЬ В ДНЕВНИКЕ ===== */
    .entry {
        background-color: #ffffff;
        border-radius: 16px;
        padding: 2rem;
        margin-bottom: 2.5rem;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
        border: 1px solid #e5e7eb;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        position: relative;
        overflow: hidden;
    }

    .entry:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
    }

    .entry::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 6px;
        height: 100%;
        background: linear-gradient(to bottom, #60a5fa, #3b82f6);
        /* Вертикальный градиент */
    }

    /* ===== ДАТА ===== */
    .date {
        display: inline-block;
        background-color: #dbeafe;
        /* Светло-синий */
        color: #1e40af;
        /* Темно-синий */
        font-weight: 600;
        padding: 0.5rem 1.2rem;
        border-radius: 30px;
        margin-bottom: 1.5rem;
        font-size: 0.95rem;
        box-shadow: 0 2px 5px rgba(59, 130, 246, 0.2);
    }

    /* ===== ТЕКСТ ЗАПИСИ ===== */
    .entry p {
        margin-bottom: 1.2rem;
        color: #4b5563;
    }

    .entry p:last-of-type {
        margin-bottom: 0;
    }

    /* ===== СПИСОК ===== */
    .entry ul {
        list-style-type: none;
        padding-left: 0;
        margin: 1.5rem 0;
    }

    .entry li {
        padding: 0.7rem 0 0.7rem 2.2rem;
        position: relative;
        border-bottom: 1px dashed #e5e7eb;
        color: #4b5563;
    }

    .entry li:last-child {
        border-bottom: none;
    }

    .entry li::before {
        content: '•';
        color: #3b82f6;
        /* Синяя точка */
        font-size: 1.8rem;
        position: absolute;
        left: 0.5rem;
        top: 0.4rem;
    }

    /* ===== ВЫДЕЛЕНИЕ КЛЮЧЕВЫХ ЭЛЕМЕНТОВ ===== */
    .highlight {
        background-color: #fef3c7;
        /* Светло-желтый */
        color: #92400e;
        /* Темно-оранжевый */
        padding: 0.2rem 0.5rem;
        border-radius: 4px;
        font-weight: 600;
    }

    strong {
        color: #1f2937;
        font-weight: 700;
    }

    /* ===== СПЕЦИАЛЬНЫЙ СТИЛЬ ДЛЯ НАЗВАНИЙ ОБЛИГАЦИЙ ===== */
    .bond {
        font-family: 'Courier New', monospace;
        background-color: #f8fafc;
        border: 1px solid #cbd5e1;
        padding: 0.2rem 0.5rem;
        border-radius: 6px;
        color: #0f172a;
        font-weight: 600;
        letter-spacing: 0.5px;
    }

    /* ===== АДАПТИВНОСТЬ ===== */
    @media (max-width: 768px) {
        body {
            padding: 15px;
            max-width: 100%;
        }

        h1 {
            font-size: 2rem;
        }

        .intro,
        .entry {
            padding: 1.5rem;
        }

        .entry::before {
            width: 4px;
        }
    }

/* Общий блок формы */
.search-form {
  display: inline-block;
  font-family: Arial, sans-serif;
}

/* Обёртка поля и кнопки — единая форма */
.search-form__field {
  display: flex;
  align-items: center;
  border: 2px solid #ff7a00; /* основной оранжевый */
  border-radius: 8px;
  overflow: hidden;
  background: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.search-form__field:focus-within {
  border-color: #ff5500;
  box-shadow: 0 2px 6px rgba(255, 85, 0, 0.15);
}

/* Поле ввода */
.search-form__input {
  flex: 1;
  padding: 10px 14px;
  border: none;
  background: transparent;
  font-size: 15px;
  outline: none;
  min-width: 160px;
  color: #333;
}

.search-form__input::placeholder {
  color: #999;
  font-style: italic;
}

/* Кнопка поиска */
.search-form__button {
  background: #ff7a00;
  color: white;
  border: none;
  padding: 10px 16px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0;
}

.search-form__button:hover,
.search-form__button:focus {
  background: #ff5500;
  outline: none;
}

/* Убираем стандартные стили кнопки */
.search-form__button::-moz-focus-inner {
  border: 0;
}

/* Дополнительно: если хотите иконку SVG вместо 🔍 — вот пример */
/* .search-form__button svg {
  width: 18px;
  height: 18px;
  fill: white;
} */



