@scope (#original-content) {

    #hlm-msc * { box-sizing: border-box; }
    #hlm-msc a { color: #1565c0; text-decoration: none; }
    #hlm-msc a:hover { text-decoration: underline; }
    #hlm-msc .hlm-wrap { max-width: 1080px; margin: 0 auto; padding: 28px 20px 64px; }

    /* ── HERO ── */
    #hlm-msc .hlm-hero {
      background: linear-gradient(135deg, #1565c0 0%, #0d47a1 45%, #1a237e 100%);
      border-radius: 20px;
      padding: 36px 30px 32px;
      color: #ffffff;
      box-shadow: 0 16px 48px rgba(21,101,192,0.22);
      margin-bottom: 28px;
    }
    #hlm-msc .hlm-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
    #hlm-msc .hlm-badge {
      display: inline-block; padding: 5px 13px; border-radius: 999px;
      background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.28);
      font-size: 0.76rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase;
    }
    #hlm-msc h1 {
      margin: 0 0 14px; font-size: clamp(1.9rem,4vw,2.8rem);
      line-height: 1.12; letter-spacing: -0.02em; font-weight: 900;
    }
    #hlm-msc .hlm-hero p {
      margin: 0 0 14px; max-width: 820px;
      font-size: clamp(1rem,2vw,1.1rem); color: #e3f2fd; font-weight: 600;
    }
    #hlm-msc .hlm-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
    #hlm-msc .hlm-btn {
      display: inline-block; padding: 11px 20px; border-radius: 10px;
      font-weight: 800; font-size: 0.95rem; transition: transform 0.15s, opacity 0.15s;
    }
    #hlm-msc .hlm-btn:hover { text-decoration: none; transform: translateY(-2px); opacity:0.92; }
    #hlm-msc .hlm-btn-primary { background: #ffd54f; color: #1a2b38; }
    #hlm-msc .hlm-btn-secondary { background: rgba(255,255,255,0.13); border: 1px solid rgba(255,255,255,0.26); color: #fff; }

    /* ── GRID ── */
    #hlm-msc .hlm-top-grid {
       grid-template-columns: minmax(0,1.5fr) minmax(260px,0.85fr);
      gap: 22px; margin-bottom: 28px;
    }

    /* ── PANELS ── */
    #hlm-msc .hlm-panel, #hlm-msc .hlm-tool, #hlm-msc .hlm-toc,
    #hlm-msc .hlm-callout, #hlm-msc .hlm-facts, #hlm-msc .hlm-related,
    #hlm-msc .hlm-faq-wrap {
      background: #ffffff; border: 1px solid #dde6f0; border-radius: 16px;
      box-shadow: 0 6px 24px rgba(21,101,192,0.06);
    }
    #hlm-msc .hlm-panel, #hlm-msc .hlm-tool,
    #hlm-msc .hlm-facts, #hlm-msc .hlm-related { padding: 22px; }
    #hlm-msc .hlm-toc, #hlm-msc .hlm-faq-wrap { padding: 20px; }
    #hlm-msc .hlm-callout {
      padding: 18px 22px; margin: 20px 0;
      border-left: 5px solid #1565c0;
      background: linear-gradient(180deg, #e8f0fe 0%, #ffffff 100%);
    }

    /* ── TYPOGRAPHY ── */
    #hlm-msc h2 {
      margin: 40px 0 14px; font-size: clamp(1.4rem,2.8vw,1.9rem);
      line-height: 1.22; color: #0d47a1; letter-spacing: -0.018em; font-weight: 800;
    }
    #hlm-msc h3 {
      margin: 22px 0 10px; font-size: clamp(1.05rem,2vw,1.22rem);
      line-height: 1.3; color: #1565c0; font-weight: 800;
    }
    #hlm-msc p, #hlm-msc li {
      font-size: clamp(0.97rem,1.7vw,1.04rem); color: #1e3048; font-weight: 600;
    }
    #hlm-msc p { margin: 0 0 16px; }
    #hlm-msc ul, #hlm-msc ol { margin: 0 0 18px; padding-left: 24px; }
    #hlm-msc li { margin-bottom: 9px; }

    #hlm-msc .hlm-panel h2, #hlm-msc .hlm-toc h2,
    #hlm-msc .hlm-tool h2, #hlm-msc .hlm-facts h2,
    #hlm-msc .hlm-related h2 { margin-top: 0; font-size: clamp(1.15rem,2.3vw,1.42rem); }
    #hlm-msc .hlm-answer { border-left: 5px solid #1565c0; background: linear-gradient(180deg,#e8f0fe 0%,#ffffff 100%); }

    /* ── TOC ── */
    #hlm-msc .hlm-toc ul, #hlm-msc .hlm-related ul { list-style: none; padding: 0; margin: 0; }
    #hlm-msc .hlm-toc li, #hlm-msc .hlm-related li { margin: 0 0 8px; padding: 0; }
    #hlm-msc .hlm-toc a, #hlm-msc .hlm-related a {
      display: block; padding: 9px 12px; border-radius: 10px;
      background: #f0f4ff; border: 1px solid #d6e0f5;
      color: #0d47a1; font-weight: 700; font-size: 0.93rem;
    }
    #hlm-msc .hlm-toc a:hover, #hlm-msc .hlm-related a:hover { background: #e3ecfd; text-decoration: none; }

    /* ── TOOL CARD ── */
    #hlm-msc .hlm-tool { background: linear-gradient(180deg,#f5f8ff 0%,#ffffff 100%); }
    #hlm-msc .calc-grid {
      display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
      gap: 14px; margin: 18px 0;
    }
    #hlm-msc .calc-group {
      background: #ffffff; padding: 16px; border: 1px solid #dde6f5; border-radius: 12px;
    }
    #hlm-msc .calc-group label {
      display: block; font-weight: 800; color: #0d47a1; margin-bottom: 8px; font-size: 0.94rem;
    }
    #hlm-msc .input-row { display: flex; gap: 8px; align-items: center; }
    #hlm-msc .scale-prefix { font-weight: 900; color: #1565c0; font-size: 1rem; white-space: nowrap; }
    #hlm-msc .calc-group input[type="number"],
    #hlm-msc .calc-group select {
      flex: 1; padding: 11px 13px; border: 2px solid #c5d5ee; border-radius: 10px;
      font-size: 0.97rem; font-weight: 700; color: #1a2b38; background: #fff; outline: none;
      transition: border-color 0.2s, box-shadow 0.2s;
    }
    #hlm-msc .calc-group input[type="number"]:focus,
    #hlm-msc .calc-group select:focus {
      border-color: #1565c0; box-shadow: 0 0 0 4px rgba(21,101,192,0.12);
    }
    #hlm-msc .calc-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
    #hlm-msc .calc-btns button {
      flex: 1; min-width: 130px; padding: 12px 18px; border: none; border-radius: 10px;
      font-weight: 800; font-size: 0.97rem; cursor: pointer;
      transition: transform 0.15s, opacity 0.15s;
    }
    #hlm-msc .calc-btns button:hover { transform: translateY(-1px); opacity: 0.92; }
    #hlm-msc #msc-calc-btn { background: #1565c0; color: #fff; }
    #hlm-msc #msc-clear-btn { background: #f3f3f3; color: #1a2b38; border: 1px solid #ccc; }
    #hlm-msc #msc-copy-btn { background: #e8f5e9; color: #1b5e20; border: 1px solid #a5d6a7; }
    #hlm-msc .result-box {
      margin-top: 18px; padding: 18px; border-radius: 14px;
      background: linear-gradient(135deg,#e8f0fe 0%,#f3f8ff 100%);
      border: 1px solid #c5d5ee; text-align: center;
    }
    #hlm-msc .result-label { font-weight: 800; color: #0d47a1; font-size: 0.97rem; margin-bottom: 8px; display: block; }
    #hlm-msc #msc-result {
      display: block; font-size: 2rem; font-weight: 900; color: #1b5e20; line-height: 1.2;
    }
    #hlm-msc .copy-msg { display: block; height: 18px; font-size: 0.88rem; font-weight: 700; color: #1b5e20; margin-top: 6px; }
    #hlm-msc .step-log {
      margin-top: 16px; background: #f8faff; border: 1px solid #dde6f5; border-radius: 12px;
      padding: 14px; max-height: 190px; overflow-y: auto; font-size: 0.88rem;
    }
    #hlm-msc .step-log p { margin: 3px 0; font-size: 0.88rem; }
    #hlm-msc .log-info  { color: #1565c0; font-weight: 700; }
    #hlm-msc .log-calc  { color: #e65100; font-weight: 700; }
    #hlm-msc .log-result{ color: #2e7d32; font-weight: 800; }
    #hlm-msc .log-error { color: #c62828; font-weight: 800; }

    /* ── FORMULA BOX ── */
    #hlm-msc .formula-box {
      background: #f0f4ff; border: 1px solid #c5d5ee; border-radius: 14px;
      padding: 22px; margin: 20px 0; text-align: center;
    }
    #hlm-msc .formula-box .formula-title {
      display: block; font-weight: 800; color: #0d47a1; margin-bottom: 10px; font-size: 0.9rem;
      text-transform: uppercase; letter-spacing: 0.05em;
    }
    #hlm-msc .formula-box .math-display {
      font-size: 1.28rem; line-height: 1.9; color: #1a2b38; font-weight: 700;
    }

    /* ── STEPS ── */
    #hlm-msc .hlm-steps { list-style: none; padding: 0; margin: 0 0 18px; counter-reset: step; }
    #hlm-msc .hlm-steps li {
      position: relative; padding: 14px 16px 14px 58px; margin-bottom: 12px;
      border-radius: 14px; background: #fff; border: 1px solid #dde6f0;
      box-shadow: 0 4px 14px rgba(21,101,192,0.05);
    }
    #hlm-msc .hlm-steps li::before {
      counter-increment: step; content: counter(step);
      position: absolute; left: 14px; top: 15px; width: 30px; height: 30px;
      border-radius: 50%; background: #1565c0; color: #fff;
      display: flex; align-items: center; justify-content: center;
      font-size: 0.88rem; font-weight: 900;
    }

    /* ── TABLE ── */
    #hlm-msc .hlm-table-wrap {
      overflow-x: auto; border: 1px solid #dde6f0; border-radius: 14px; margin: 18px 0; background: #fff;
    }
    #hlm-msc table.hlm-data { width: 100%; min-width: 620px; border-collapse: collapse; }
    #hlm-msc table.hlm-data th {
      background: #1565c0; color: #fff; text-align: left; padding: 13px 14px; font-size: 0.94rem; font-weight: 800;
    }
    #hlm-msc table.hlm-data td {
      padding: 12px 14px; border-top: 1px solid #e8eff8; color: #1e3048;
      font-weight: 700; vertical-align: top; font-size: 0.95rem;
    }
    #hlm-msc table.hlm-data tr:nth-child(even) td { background: #f5f8ff; }

    /* ── CARD GRID ── */
    #hlm-msc .card-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin: 18px 0; }
    #hlm-msc .hlm-card {
      background: #fff; border: 1px solid #dde6f0; border-radius: 14px; padding: 18px;
      box-shadow: 0 4px 14px rgba(21,101,192,0.05);
    }
    #hlm-msc .hlm-card h3 { margin-top: 0; color: #0d47a1; }

    /* ── FAQ ── */
    #hlm-msc details {
      margin-bottom: 10px; border: 1px solid #dde6f0; border-radius: 12px;
      background: #fff; overflow: hidden;
    }
    #hlm-msc summary {
      cursor: pointer; padding: 15px 18px; font-weight: 800; color: #0d47a1;
      list-style: none; position: relative; background: #f5f8ff; font-size: 0.98rem;
    }
    #hlm-msc summary::-webkit-details-marker { display: none; }
    #hlm-msc summary::after {
      content: "+"; position: absolute; right: 18px; top: 50%;
      transform: translateY(-50%); font-size: 1.3rem; font-weight: 900; color: #1565c0;
    }
    #hlm-msc details[open] summary::after { content: "−"; }
    #hlm-msc .hlm-faq-body { padding: 4px 18px 16px; background: #fff; }
    #hlm-msc .hlm-faq-body p { font-size: 0.97rem; }

    /* ── FOOTER CTA ── */
    #hlm-msc .hlm-footer-cta {
      margin-top: 40px; border-radius: 20px; padding: 28px;
      background: linear-gradient(135deg,#1565c0 0%,#1976d2 50%,#0d47a1 100%);
      color: #fff; box-shadow: 0 16px 40px rgba(21,101,192,0.2);
    }
    #hlm-msc .hlm-footer-cta h2 { color: #fff; margin-top: 0; }
    #hlm-msc .hlm-footer-cta p { color: #e3f2fd; max-width: 740px; }
    #hlm-msc .hlm-footer-cta a { color: #ffd54f; font-weight: 800; }

    /* ── HIGHLIGHT ── */
    #hlm-msc .hlm-highlight {
      background: #fff9c4; border-radius: 4px; padding: 1px 5px; font-weight: 800;
    }

    /* ── RESPONSIVE ── */
    @media (max-width: 860px) {
      #hlm-msc .hlm-top-grid, #hlm-msc .card-grid { grid-template-columns: 1fr; }
    }
    @media (max-width: 600px) {
      #hlm-msc .hlm-wrap { padding: 18px 14px 44px; }
      #hlm-msc .hlm-hero { padding: 24px 18px 22px; }
      #hlm-msc #msc-result { font-size: 1.5rem; }
    }
  
}
