@layer page {
  /* Page-specific styles for pta-addon.html */
  body {
    margin: 0;
    font-family:
      -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", Meiryo,
      sans-serif;
    color: #172033;
    background: #f5f7fb;
    line-height: 1.8;
  }
  * {
    box-sizing: border-box;
  }
  header {
    background: linear-gradient(135deg, #0b2d4a, #0f3d63 58%, #176c72);
    color: #fff;
    padding: 54px 20px 50px;
    border-bottom: 5px solid #d4af37;
  }
  .wrap,
  main {
    max-width: 1040px;
    margin: 0 auto;
  }
  .crumb {
    margin: 0 0 20px;
    font-size: 14px;
    color: #dbeafe;
  }
  .crumb a {
    color: #fff;
  }
  .kicker {
    display: inline-flex;
    padding: 5px 12px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    color: #d8f3f1;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
  }
  main {
    padding: 34px 20px 68px;
  }
  h1 {
    font-size: clamp(30px, 5vw, 46px);
    line-height: 1.35;
    margin: 12px 0 12px;
  }
  h2 {
    font-size: clamp(21px, 3vw, 27px);
    line-height: 1.5;
    color: #0f3d63;
    margin: 0 0 14px;
  }
  h3 {
    font-size: 17px;
    color: #0f3d63;
    margin: 0 0 7px;
  }
  .lead {
    font-size: 17px;
    max-width: 820px;
    margin: 0;
  }
  .card {
    background: #fff;
    border: 1px solid #dbe4ee;
    border-radius: 16px;
    padding: 26px 28px;
    margin: 20px 0;
    box-shadow: 0 8px 26px rgba(15, 61, 99, 0.07);
  }
  .actions {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
    margin-top: 24px;
  }
  .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 18px;
    border-radius: 999px;
    background: #d4af37;
    color: #172033;
    text-decoration: none;
    font-weight: 900;
  }
  .button.secondary {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.5);
  }
  .grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
  }
  .mini {
    background: #f8fafc;
    border: 1px solid #dbe4ee;
    border-radius: 12px;
    padding: 17px;
  }
  .mini strong {
    display: block;
    color: #0f3d63;
    margin-bottom: 5px;
  }
  .mini span {
    display: block;
    color: #475569;
    font-size: 14px;
    line-height: 1.75;
  }
  .steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    counter-reset: step;
    margin-top: 18px;
  }
  .step {
    position: relative;
    background: #f8fafc;
    border-top: 4px solid #176c72;
    border-radius: 10px;
    padding: 18px 15px;
  }
  .step::before {
    counter-increment: step;
    content: counter(step);
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #176c72;
    color: #fff;
    font-weight: 900;
    margin-bottom: 10px;
  }
  .step strong {
    display: block;
    color: #0f3d63;
    margin-bottom: 5px;
  }
  .step span {
    font-size: 14px;
    color: #475569;
    line-height: 1.7;
  }
  .table-wrap {
    overflow-x: auto;
    margin-top: 18px;
  }
  table {
    width: 100%;
    border-collapse: collapse;
    min-width: 680px;
    background: #fff;
  }
  th,
  td {
    border: 1px solid #dbe4ee;
    padding: 12px 14px;
    text-align: left;
    vertical-align: top;
  }
  th {
    background: #eaf2f8;
    color: #0f3d63;
    font-size: 14px;
  }
  td {
    font-size: 14px;
    color: #334155;
  }
  ul {
    padding-left: 1.3em;
  }
  .check-list li {
    margin: 0.5em 0;
  }
  .note {
    background: #fff7ed;
    border-left: 5px solid #b45309;
  }
  .ok {
    background: #ecfdf5;
    border-left: 5px solid #0f766e;
  }
  .links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .links a {
    display: block;
    background: #eef6ff;
    border: 1px solid #bfdbfe;
    border-radius: 12px;
    padding: 16px;
    text-decoration: none;
  }
  .links span {
    display: block;
    color: #475569;
    font-size: 13px;
    font-weight: 500;
    margin-top: 4px;
  }
  a {
    color: #0f3d63;
    font-weight: 700;
  }
  footer {
    background: #0b2239;
    color: #dbeafe;
    padding: 24px 20px;
    text-align: center;
    font-size: 13px;
  }
  footer a {
    color: #fff;
    margin: 0 6px;
  }
  @media (max-width: 820px) {
    .grid,
    .steps {
      grid-template-columns: 1fr 1fr;
    }
  }
  @media (max-width: 560px) {
    header {
      padding: 38px 18px 36px;
    }
    main {
      padding: 24px 16px 50px;
    }
    .card {
      padding: 21px 18px;
    }
    .grid,
    .steps,
    .links {
      grid-template-columns: 1fr;
    }
    .actions .button {
      width: 100%;
    }
  }
}
