    :root {
      --bg: #f6f4f0;
      --ink: #173149;
      --muted: #5a6d80;
      --card: #ffffff;
      --line: #d9e1ea;
      --accent: #a85f20;
      --accent-soft: #fff3e9;
    }

    * { box-sizing: border-box; }

    body {
      margin: 0;
      font-family: "Manrope", sans-serif;
      color: var(--ink);
      background:
        radial-gradient(circle at 85% 10%, #ffe9d4 0%, rgba(255, 233, 212, 0) 35%),
        radial-gradient(circle at 12% 20%, #e4edf6 0%, rgba(228, 237, 246, 0) 30%),
        var(--bg);
    }

    .shell {
      max-width: 1160px;
      margin: 0 auto;
      padding: 42px 20px 28px;
    }

    .module-top {
      display: flex;
      align-items: center;
      justify-content: flex-start;
      gap: 12px;
      margin-bottom: 16px;
    }

    .module-top a {
      color: #1e507d;
      text-decoration: none;
      border: 1px solid rgba(30, 80, 125, 0.45);
      border-radius: 8px;
      padding: 6px 10px;
      font-weight: 700;
      font-size: 14px;
    }

    .module-top a:hover {
      color: #173f66;
      background: rgba(15, 94, 143, 0.07);
      border-color: #1e507d;
    }

    h1 {
      margin: 0 0 8px;
      font: 800 38px/1.15 "Sora", sans-serif;
      letter-spacing: -0.02em;
    }

    .lead {
      margin: 0 0 20px;
      max-width: 760px;
      color: var(--muted);
      line-height: 1.65;
    }

    #selected-type-box {
      margin: 0 0 18px;
      border: 1px solid #e0c8af;
      border-radius: 12px;
      background: #fff9f3;
      padding: 14px 16px;
    }

    .visual {
      margin: 16px 0 18px;
      border: 1px solid #d6e1ea;
      border-radius: 14px;
      background: linear-gradient(145deg, #f7fbff, #ffffff);
      padding: 12px;
    }

    .visual-head {
      font-weight: 700;
      color: #2a455e;
      margin-bottom: 6px;
      font-size: 14px;
    }

    .visual svg {
      width: 100%;
      max-width: 520px;
      height: 200px;
      display: block;
      margin: 0 auto;
    }

    .measure-map {
      margin-top: 8px;
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      justify-content: center;
    }

    .measure-item {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      border: 1px solid #d5dfeb;
      background: #f8fbff;
      border-radius: 999px;
      padding: 5px 10px;
      font-size: 12px;
      color: #3f5e78;
    }

    .measure-item b {
      background: #0f5e8f;
      color: #fff;
      border-radius: 999px;
      min-width: 22px;
      height: 22px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 11px;
    }

    .tag-chip {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 20px;
      height: 20px;
      border-radius: 999px;
      background: #0f5e8f;
      color: #fff;
      font-size: 11px;
      font-weight: 800;
      margin-right: 6px;
      vertical-align: middle;
    }

    #selected-type-box b {
      display: block;
      margin-bottom: 4px;
      color: #7f4516;
    }

    .grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 12px;
    }

    .card {
      display: block;
      text-decoration: none;
      color: inherit;
      border: 1px solid var(--line);
      border-radius: 14px;
      padding: 16px;
      background: var(--card);
      height: 100%;
      transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    }

    .card:hover {
      transform: translateY(-3px);
      border-color: #c7d5e3;
      box-shadow: 0 14px 24px rgba(29, 62, 92, 0.12);
    }

    .card.active {
      border-color: #e2b78c;
      background: var(--accent-soft);
      box-shadow: none;
    }

    .card h2 {
      margin: 0 0 6px;
      font: 700 22px/1.2 "Sora", sans-serif;
    }

    .card p {
      margin: 0;
      color: #567086;
      line-height: 1.55;
      font-size: 14px;
    }

    .note {
      margin-top: 18px;
      color: #5a6d80;
      font-size: 14px;
    }

    .related-links,
    .faq-box {
      margin-top: 20px;
      border: 1px solid #d8e3ee;
      border-radius: 14px;
      background: #fff;
      padding: 14px;
    }

    .related-links h2,
    .faq-box h2 {
      margin: 0 0 10px;
      font: 700 22px/1.2 "Sora", sans-serif;
    }

    .related-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 8px;
    }

    .related-grid a {
      display: block;
      text-decoration: none;
      color: #1a4f7d;
      border: 1px solid #d3dfec;
      border-radius: 10px;
      background: #f7fbff;
      padding: 10px;
      font-weight: 700;
      font-size: 14px;
    }

    .related-grid a:hover {
      border-color: #a7c4de;
      background: #eef6ff;
    }

    .faq-box details {
      border-top: 1px solid #e6edf5;
      padding: 10px 0;
    }

    .faq-box details:first-of-type {
      border-top: 0;
      padding-top: 0;
    }

    .faq-box summary {
      cursor: pointer;
      font-weight: 700;
      color: #173b63;
    }

    .faq-box p {
      margin: 8px 0 0;
      color: #5b7084;
      line-height: 1.6;
      font-size: 14px;
    }

    .calc {
      margin-top: 24px;
      border: 1px solid var(--line);
      border-radius: 16px;
      background: #fff;
      padding: 18px;
    }

    .calc h2 {
      margin: 0 0 8px;
      font: 700 26px/1.2 "Sora", sans-serif;
    }

    .calc .hint {
      margin: 0 0 14px;
      color: #5e7081;
      font-size: 14px;
    }

    .calc-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 10px;
    }

    .field {
      border: 1px solid #d5dfea;
      border-radius: 10px;
      padding: 10px;
      background: #fbfdff;
    }

    .field label {
      display: block;
      font-weight: 700;
      margin-bottom: 6px;
      font-size: 14px;
    }

    .field .unit {
      color: #607486;
      font-weight: 600;
      margin-left: 4px;
    }

    .field input {
      width: 100%;
      border: 1px solid #c5d4e4;
      border-radius: 8px;
      padding: 9px 10px;
      font: 600 14px/1.2 "Manrope", sans-serif;
      color: #1f3850;
      background: #fff;
    }

    .calc-actions {
      margin-top: 12px;
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
      align-items: center;
    }

    .btn {
      border: 0;
      border-radius: 10px;
      background: #0f5e8f;
      color: #fff;
      padding: 10px 14px;
      font: 700 14px/1 "Manrope", sans-serif;
      cursor: pointer;
    }

    .price-wrap {
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .price-wrap label {
      font-weight: 700;
      font-size: 14px;
    }

    .price-wrap input {
      width: 140px;
      border: 1px solid #c5d4e4;
      border-radius: 8px;
      padding: 8px 10px;
      font: 600 14px/1.2 "Manrope", sans-serif;
    }

    .result {
      margin-top: 14px;
      border: 1px solid #d6e2ee;
      border-radius: 12px;
      background: #f8fbff;
      padding: 12px;
      line-height: 1.65;
      color: #29465e;
      font-size: 14px;
    }

    .error {
      margin-top: 10px;
      color: #b3342c;
      font-size: 14px;
      font-weight: 700;
      display: none;
    }

    .materials {
      margin-top: 12px;
      border: 1px solid #d6e2ee;
      border-radius: 12px;
      background: #ffffff;
      overflow: hidden;
    }

    .materials h3 {
      margin: 0;
      padding: 10px 12px;
      font-size: 14px;
      color: #24445e;
      background: #f4f9ff;
      border-bottom: 1px solid #d9e6f3;
    }

    .materials table {
      width: 100%;
      border-collapse: collapse;
      font-size: 13px;
    }

    .materials th,
    .materials td {
      text-align: left;
      padding: 8px 10px;
      border-bottom: 1px solid #edf2f7;
      vertical-align: top;
    }

    .materials th {
      color: #3d5871;
      font-weight: 700;
      background: #fbfdff;
    }

    .materials tbody tr:last-child td {
      border-bottom: 0;
    }

    @media (max-width: 980px) {
      .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    }

    @media (max-width: 640px) {
      .grid { grid-template-columns: 1fr; }
      .related-grid { grid-template-columns: 1fr; }
      h1 { font-size: 30px; }
      .shell { padding-top: 30px; }
      .calc-grid { grid-template-columns: 1fr; }
    }
