  :root {
    --cbjj-blue: #172d7a;
    --cbjj-blue-dark: #0d1f5c;
    --cbjj-red: #c8102e;
    --ink: #15171d;
    --muted: #5b6472;
    --line: #dfe4ec;
    --surface: #ffffff;
    --page: #f3f5f9;
  }

  * {
    box-sizing: border-box;
  }

  html {
    min-height: 100%;
  }

  body {
    min-height: 100vh;
    margin: 0 !important;
    padding: 34px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink) !important;
    font-family: Arial, Helvetica, sans-serif;
    background:
      linear-gradient(135deg, rgba(23, 45, 122, 0.08), rgba(200, 16, 46, 0.05)),
      var(--page) !important;
  }

  body:before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(90deg, #111111 0 33%, var(--cbjj-blue) 33% 72%, var(--cbjj-red) 72% 100%);
  }

  font,
  b,
  strong,
  em {
    color: inherit !important;
    font-family: inherit !important;
    font-size: inherit !important;
  }

  em {
    font-style: normal;
  }

  form[name="form1"] {
    width: min(100%, 650px);
  }

  form[name="form1"] > p {
    display: none;
  }

  form[name="form1"] table {
    max-width: 100%;
  }

  form[name="form1"] > table {
    width: 100% !important;
    border-collapse: separate;
    border-spacing: 0;
  }

  form[name="form1"] > table > tbody > tr > td,
  form[name="form1"] > table > tr > td {
    width: auto !important;
  }

  div[align="left"] {
    text-align: left;
  }

  table[border="1"] {
    width: 100% !important;
    overflow: hidden;
    border: 0 !important;
    border-radius: 8px;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--surface) !important;
    box-shadow: 0 22px 55px rgba(18, 28, 45, 0.18);
  }

  table[border="1"] td {
    border: 0;
    vertical-align: middle;
  }

  table[border="1"] tr:first-child {
    background: #111111 !important;
  }


  table[border="1"] tr:first-child td {
    height: 14px;
    padding: 0;
  }

  table[border="1"] tr:first-child p {
    display: none;
  }

  table[border="1"] tr:nth-child(2) {
    background: var(--surface) !important;
  }

  table[border="1"] tr:nth-child(2) td {
    padding: 24px 22px;
    border-bottom: 1px solid var(--line);
    background: var(--surface) !important;
  }

  table[border="1"] tr:nth-child(2) td:first-child {
    width: 140px !important;
    text-align: center;
  }

  table[border="1"] tr:nth-child(2) img {
    display: block;
    width: 104px;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
  }

  table[border="1"] tr:nth-child(2) td:last-child {
    text-align: center;
  }

  table[border="1"] tr:nth-child(2) p {
    margin: 0;
    line-height: 1.08;
  }

  table[border="1"] tr:nth-child(2) p + p {
    margin-top: 6px;
  }

  table[border="1"] tr:nth-child(2) font {
    color: #10131a !important;
    font-size: 28px !important;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  table[border="1"] tr:nth-child(n+3):nth-child(-n+5) {
    background: var(--surface) !important;
  }

  table[border="1"] tr:nth-child(n+3):nth-child(-n+5) td {
    border-bottom: 1px solid var(--line);
  }

  table[border="1"] tr:nth-child(n+3):nth-child(-n+5) td:first-child {
    width: 170px !important;
    padding: 18px 20px;
    color: #ffffff !important;
    background: var(--cbjj-blue) !important;
  }

  table[border="1"] tr:nth-child(n+3):nth-child(-n+5) td:first-child font {
    font-size: 16px !important;
    font-weight: 800;
    letter-spacing: 0.02em;
  }

  table[border="1"] tr:nth-child(n+3):nth-child(-n+5) td:last-child {
    padding: 14px 18px;
    background: #ffffff !important;
  }

  select {
    width: 100%;
    min-height: 44px;
    padding: 0 42px 0 14px;
    color: var(--ink);
    border: 1px solid #c9d1df;
    border-radius: 6px;
    outline: none;
    font: 700 15px Arial, Helvetica, sans-serif;
    background:
      linear-gradient(45deg, transparent 50%, var(--cbjj-blue) 50%),
      linear-gradient(135deg, var(--cbjj-blue) 50%, transparent 50%),
      linear-gradient(to right, #eef2f8, #eef2f8),
      #ffffff;
    background-position:
      calc(100% - 18px) 19px,
      calc(100% - 12px) 19px,
      calc(100% - 40px) 0,
      0 0;
    background-size: 6px 6px, 6px 6px, 1px 100%, 100% 100%;
    background-repeat: no-repeat;
    box-shadow: 0 1px 2px rgba(18, 28, 45, 0.06);
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
  }

  select:focus {
    border-color: var(--cbjj-blue);
    box-shadow: 0 0 0 3px rgba(23, 45, 122, 0.16);
  }

  input[type="submit"] {
    min-height: 46px;
    padding: 0 28px;
    color: #ffffff;
    border: 0;
    border-radius: 6px;
    cursor: pointer;
    font: 800 14px Arial, Helvetica, sans-serif;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    background: var(--cbjj-red);
    box-shadow: 0 12px 24px rgba(200, 16, 46, 0.25);
  }

  input[type="submit"]:hover,
  input[type="submit"]:focus {
    background: #a90f28;
  }

  table[border="1"] tr:last-child {
    background: #111111 !important;
  }

  table[border="1"] tr:last-child td {
    padding: 22px;
    background: #111111 !important;
  }

  table[border="1"] tr:last-child td:first-child {
    width: 170px !important;
  }

  @media (max-width: 560px) {
    body {
      align-items: flex-start;
      padding: 26px 10px;
    }

    table[border="1"],
    table[border="1"] tbody,
    table[border="1"] tr,
    table[border="1"] td {
      display: block;
      width: 100% !important;
      height: auto !important;
      min-height: 0;
    }

    table[border="1"] tr:nth-child(2) td {
      padding: 18px 16px;
    }

    table[border="1"] tr:nth-child(2) td:last-child {
      padding-top: 0;
    }

    table[border="1"] tr:nth-child(2) font {
      font-size: 24px !important;
    }

    table[border="1"] tr:nth-child(n+3):nth-child(-n+5) td:first-child {
      padding: 10px 14px 8px;
      line-height: 1.2;
      position: relative;
      z-index: 1;
    }

    table[border="1"] tr:nth-child(n+3):nth-child(-n+5) td:first-child font {
      font-size: 14px !important;
    }

    table[border="1"] tr:nth-child(n+3):nth-child(-n+5) td:last-child {
      padding: 10px 14px 14px;
      position: relative;
      z-index: 2;
    }

    select {
      display: block;
      min-height: 36px;
      height: 36px;
      padding: 0 34px 0 10px;
      font-size: 13px;
      line-height: 36px;
      background-position:
        calc(100% - 16px) 15px,
        calc(100% - 10px) 15px,
        calc(100% - 34px) 0,
        0 0;
    }

    table[border="1"] tr:last-child td:first-child {
      display: none;
    }

    input[type="submit"] {
      width: 100%;
      white-space: normal;
    }
  }

