@scope (#original-content) {

    #hlm-prealgebra-worksheets{
      --bg:#f8fbff;
      --card:#ffffff;
      --text:#1f2937;
      --muted:#64748b;
      --primary:#1d4ed8;
      --primary-soft:#eff6ff;
      --border:#dbeafe;
      --shadow:0 10px 30px rgba(37,99,235,.08);
      line-height:1.65;
    }
    #hlm-prealgebra-worksheets *{box-sizing:border-box;}
    #hlm-prealgebra-worksheets .hlm-shell{
      background:var(--bg);
      border:1px solid var(--border);
      border-radius:20px;
      overflow:hidden;
    }
    #hlm-prealgebra-worksheets .hlm-hero{
      padding:28px 20px;
      background:linear-gradient(135deg,#eff6ff 0%,#ffffff 58%,#dbeafe 100%);
    }
    #hlm-prealgebra-worksheets .hlm-label{
      display:inline-block;
      font-size:12px;
      font-weight:700;
      letter-spacing:.08em;
      text-transform:uppercase;
      color:var(--primary);
      background:#dbeafe;
      padding:6px 10px;
      border-radius:999px;
      margin-bottom:12px;
    }
    #hlm-prealgebra-worksheets h2{
      margin:0 0 12px;
      font-size:clamp(30px,4vw,42px);
      line-height:1.15;
      color:#0f172a;
    }
    #hlm-prealgebra-worksheets p{
      margin:0 0 12px;
      color:#334155;
    }
    #hlm-prealgebra-worksheets .hlm-lead{
      font-size:18px;
      max-width:880px;
    }
    #hlm-prealgebra-worksheets .hlm-controls{
      padding:18px 20px;
      background:#fff;
      border-top:1px solid var(--border);
      border-bottom:1px solid var(--border);
    }
    #hlm-prealgebra-worksheets .hlm-search{
      width:100%;
      padding:14px 16px;
      border:1px solid #bfdbfe;
      border-radius:14px;
      font-size:16px;
      outline:none;
    }
    #hlm-prealgebra-worksheets .hlm-search:focus{
      border-color:#60a5fa;
      box-shadow:0 0 0 4px rgba(37,99,235,.12);
    }
    #hlm-prealgebra-worksheets .hlm-jump{
      display:flex;
      flex-wrap:wrap;
      gap:10px;
      margin-top:14px;
    }
    #hlm-prealgebra-worksheets .hlm-jump a{
      text-decoration:none;
      color:var(--primary);
      background:var(--primary-soft);
      border:1px solid var(--border);
      padding:8px 12px;
      border-radius:999px;
      font-size:14px;
    }
    #hlm-prealgebra-worksheets .hlm-content{
      background:#fff;
    }
    #hlm-prealgebra-worksheets .hlm-section{
      padding:24px 20px;
      border-bottom:1px solid var(--border);
    }
    #hlm-prealgebra-worksheets .hlm-section:last-child{
      border-bottom:none;
    }
    #hlm-prealgebra-worksheets .hlm-section h3{
      margin:0 0 8px;
      font-size:24px;
      color:#0f172a;
    }
    #hlm-prealgebra-worksheets .hlm-section p{
      margin-bottom:14px;
      color:#475569;
    }
    #hlm-prealgebra-worksheets .hlm-count{
      font-size:14px;
      font-weight:700;
      color:var(--primary);
      margin-bottom:14px;
    }
    #hlm-prealgebra-worksheets .hlm-grid{
      display:grid;
      grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
      gap:14px;
    }
    #hlm-prealgebra-worksheets .hlm-card{
      background:var(--card);
      border:1px solid #e2e8f0;
      border-radius:16px;
      padding:16px;
      transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
    }
    #hlm-prealgebra-worksheets .hlm-card:hover{
      transform:translateY(-2px);
      box-shadow:var(--shadow);
      border-color:#93c5fd;
    }
    #hlm-prealgebra-worksheets .hlm-card a{
      color:var(--primary);
      font-weight:700;
      text-decoration:none;
    }
    #hlm-prealgebra-worksheets .hlm-card a:hover{
      text-decoration:underline;
    }
    #hlm-prealgebra-worksheets .hlm-card span{
      display:block;
      margin-top:8px;
      font-size:13px;
      color:var(--muted);
    }
    #hlm-prealgebra-worksheets .hlm-empty{
      display:none;
      margin-top:12px;
      padding:14px 16px;
      background:#fff7ed;
      border:1px solid #fed7aa;
      border-radius:12px;
      color:#9a3412;
      font-size:14px;
    }
    #hlm-prealgebra-worksheets .hlm-faq{
      padding:24px 20px;
      background:#f8fbff;
      border-top:1px solid var(--border);
    }
    #hlm-prealgebra-worksheets .hlm-faq h3{
      margin:0 0 14px;
      font-size:24px;
      color:#0f172a;
    }
    #hlm-prealgebra-worksheets details{
      background:#fff;
      border:1px solid var(--border);
      border-radius:14px;
      padding:14px 16px;
      margin-bottom:12px;
    }
    #hlm-prealgebra-worksheets summary{
      cursor:pointer;
      font-weight:700;
      color:#0f172a;
    }
    @media (max-width:640px){
      #hlm-prealgebra-worksheets .hlm-hero,
      #hlm-prealgebra-worksheets .hlm-controls,
      #hlm-prealgebra-worksheets .hlm-section,
      #hlm-prealgebra-worksheets .hlm-faq{
        padding:20px 14px;
      }
    }
  
}
