@scope (#original-content) {

    #hm-accounting-igcse-papers {
      --hm-bg:#ffffff;
      --hm-card:#ffffff;
      --hm-soft:#f6f8fc;
      --hm-line:#dbe4f0;
      --hm-text:#172033;
      --hm-muted:#5c6b84;
      --hm-primary:#1e5eff;
      --hm-primary-dark:#1447c7;
      --hm-accent:#eef4ff;
      --hm-success:#eaf8ef;
      --hm-success-text:#146c2e;
      font-family:Arial,Helvetica,sans-serif;
      color:var(--hm-text);
      background:var(--hm-bg);
      line-height:1.6;
      margin:0;
      padding:28px 16px;
    }
    #hm-accounting-igcse-papers * { box-sizing:border-box; }
    #hm-accounting-igcse-papers .hm-container {
      max-width:1280px;
      margin:0 auto;
    }
    #hm-accounting-igcse-papers .hm-hero {
      background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);
      border:1px solid var(--hm-line);
      border-radius:22px;
      padding:28px;
      box-shadow:0 12px 32px rgba(19,36,71,.06);
      margin-bottom:22px;
    }
    #hm-accounting-igcse-papers .hm-badge {
      display:inline-block;
      padding:8px 12px;
      border-radius:999px;
      background:var(--hm-accent);
      color:var(--hm-primary-dark);
      font-weight:700;
      font-size:13px;
      margin-bottom:14px;
    }
    #hm-accounting-igcse-papers h1,
    #hm-accounting-igcse-papers h2,
    #hm-accounting-igcse-papers h3 {
      margin:0 0 12px;
      color:var(--hm-text);
      line-height:1.2;
    }
    #hm-accounting-igcse-papers h1 { font-size:clamp(30px,4vw,46px); }
    #hm-accounting-igcse-papers h2 { font-size:clamp(24px,3vw,34px); margin-top:0; }
    #hm-accounting-igcse-papers h3 { font-size:20px; }
    #hm-accounting-igcse-papers p {
      margin:0 0 14px;
      color:var(--hm-muted);
      font-size:16px;
    }
    #hm-accounting-igcse-papers .hm-lead {
      font-size:18px;
      max-width:980px;
    }
    #hm-accounting-igcse-papers .hm-grid {
      display:grid;
      gap:16px;
    }
    #hm-accounting-igcse-papers .hm-grid-4 {
      grid-template-columns:repeat(4,minmax(0,1fr));
      margin-top:20px;
    }
    #hm-accounting-igcse-papers .hm-card {
      background:var(--hm-card);
      border:1px solid var(--hm-line);
      border-radius:18px;
      padding:18px;
      box-shadow:0 8px 22px rgba(19,36,71,.04);
    }
    #hm-accounting-igcse-papers .hm-stat-number {
      font-size:30px;
      font-weight:800;
      color:var(--hm-text);
      margin-bottom:4px;
    }
    #hm-accounting-igcse-papers .hm-stat-label {
      color:var(--hm-muted);
      font-size:14px;
      font-weight:600;
    }
    #hm-accounting-igcse-papers .hm-note {
      background:var(--hm-soft);
      border:1px solid var(--hm-line);
      border-radius:16px;
      padding:16px;
      margin-top:18px;
      color:var(--hm-muted);
      font-size:15px;
    }
    #hm-accounting-igcse-papers .hm-controls {
      display:grid;
      grid-template-columns:1.15fr .8fr .8fr auto;
      gap:12px;
      margin:22px 0;
      position:sticky;
      top:12px;
      z-index:10;
      background:rgba(255,255,255,.94);
      backdrop-filter:blur(10px);
      padding:14px;
      border:1px solid var(--hm-line);
      border-radius:18px;
      box-shadow:0 8px 24px rgba(19,36,71,.06);
    }
    #hm-accounting-igcse-papers .hm-control,
    #hm-accounting-igcse-papers .hm-button,
    #hm-accounting-igcse-papers .hm-tab {
      min-height:48px;
      border-radius:14px;
      border:1px solid var(--hm-line);
      font-size:15px;
    }
    #hm-accounting-igcse-papers .hm-control {
      width:100%;
      padding:0 14px;
      color:var(--hm-text);
      background:#fff;
      outline:none;
    }
    #hm-accounting-igcse-papers .hm-control:focus {
      border-color:var(--hm-primary);
      box-shadow:0 0 0 4px rgba(30,94,255,.12);
    }
    #hm-accounting-igcse-papers .hm-button {
      background:var(--hm-primary);
      color:#fff;
      border-color:var(--hm-primary);
      cursor:pointer;
      font-weight:700;
      padding:0 16px;
    }
    #hm-accounting-igcse-papers .hm-button:hover {
      background:var(--hm-primary-dark);
      border-color:var(--hm-primary-dark);
    }
    #hm-accounting-igcse-papers .hm-tabs {
      display:flex;
      flex-wrap:wrap;
      gap:10px;
      margin-bottom:16px;
    }
    #hm-accounting-igcse-papers .hm-tab {
      padding:0 16px;
      background:#fff;
      color:var(--hm-text);
      cursor:pointer;
      font-weight:700;
    }
    #hm-accounting-igcse-papers .hm-tab.active {
      background:var(--hm-primary);
      color:#fff;
      border-color:var(--hm-primary);
      box-shadow:0 10px 20px rgba(30,94,255,.2);
    }
    #hm-accounting-igcse-papers .hm-section-panel {
      border:1px solid var(--hm-line);
      border-radius:22px;
      padding:22px;
      background:#fff;
      box-shadow:0 10px 26px rgba(19,36,71,.05);
    }
    #hm-accounting-igcse-papers .hm-section-meta {
      display:flex;
      flex-wrap:wrap;
      gap:10px;
      align-items:center;
      margin-bottom:14px;
    }
    #hm-accounting-igcse-papers .hm-pill {
      display:inline-flex;
      align-items:center;
      gap:8px;
      padding:8px 12px;
      border-radius:999px;
      border:1px solid var(--hm-line);
      background:#fff;
      color:var(--hm-muted);
      font-size:13px;
      font-weight:700;
    }
    #hm-accounting-igcse-papers .hm-success {
      background:var(--hm-success);
      color:var(--hm-success-text);
      border-color:#ccead5;
    }
    #hm-accounting-igcse-papers .hm-table-wrap {
      overflow:auto;
      border:1px solid var(--hm-line);
      border-radius:18px;
    }
    #hm-accounting-igcse-papers table {
      width:100%;
      border-collapse:collapse;
      min-width:760px;
      background:#fff;
    }
    #hm-accounting-igcse-papers th,
    #hm-accounting-igcse-papers td {
      padding:14px 12px;
      border-bottom:1px solid var(--hm-line);
      text-align:left;
      vertical-align:top;
      font-size:14px;
    }
    #hm-accounting-igcse-papers th {
      position:sticky;
      top:0;
      z-index:2;
      background:#f9fbff;
      color:var(--hm-text);
      font-size:13px;
      text-transform:uppercase;
      letter-spacing:.03em;
    }
    #hm-accounting-igcse-papers tbody tr:nth-child(even) {
      background:#fcfdff;
    }
    #hm-accounting-igcse-papers tbody tr:hover {
      background:#f4f8ff;
    }
    #hm-accounting-igcse-papers .hm-link {
      display:inline-flex;
      align-items:center;
      justify-content:center;
      gap:8px;
      padding:10px 12px;
      border-radius:12px;
      text-decoration:none;
      font-weight:700;
      font-size:13px;
      border:1px solid var(--hm-line);
      background:#fff;
      color:var(--hm-primary-dark);
      transition:.2s ease;
      white-space:nowrap;
    }
    #hm-accounting-igcse-papers .hm-link:hover {
      background:var(--hm-accent);
      border-color:#bdd0ff;
      transform:translateY(-1px);
    }
    #hm-accounting-igcse-papers .hm-actions {
      display:flex;
      flex-wrap:wrap;
      gap:8px;
    }
    #hm-accounting-igcse-papers .hm-empty {
      padding:20px;
      text-align:center;
      color:var(--hm-muted);
      background:#fcfdff;
      border:1px dashed var(--hm-line);
      border-radius:16px;
      margin-top:12px;
    }
    #hm-accounting-igcse-papers .hm-two-col {
      display:grid;
      grid-template-columns:1.1fr .9fr;
      gap:18px;
      margin-top:24px;
    }
    #hm-accounting-igcse-papers .hm-list {
      margin:0;
      padding-left:18px;
      color:var(--hm-muted);
    }
    #hm-accounting-igcse-papers .hm-list li {
      margin:0 0 10px;
    }
    #hm-accounting-igcse-papers .hm-faq details {
      border:1px solid var(--hm-line);
      border-radius:16px;
      padding:16px 18px;
      background:#fff;
      margin-bottom:12px;
    }
    #hm-accounting-igcse-papers .hm-faq summary {
      cursor:pointer;
      font-weight:700;
      color:var(--hm-text);
      list-style:none;
    }
    #hm-accounting-igcse-papers .hm-faq summary::-webkit-details-marker {
      display:none;
    }
    #hm-accounting-igcse-papers .hm-faq details p {
      margin-top:12px;
      margin-bottom:0;
    }
    #hm-accounting-igcse-papers .hm-modal {
      position:fixed;
      inset:0;
      background:rgba(11,18,34,.74);
      display:none;
      align-items:center;
      justify-content:center;
      padding:24px;
      z-index:9999;
    }
    #hm-accounting-igcse-papers .hm-modal.active {
      display:flex;
    }
    #hm-accounting-igcse-papers .hm-modal-dialog {
      width:min(1200px,100%);
      height:min(88vh,920px);
      background:#fff;
      border-radius:20px;
      overflow:hidden;
      display:flex;
      flex-direction:column;
      box-shadow:0 20px 50px rgba(0,0,0,.26);
    }
    #hm-accounting-igcse-papers .hm-modal-head {
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:10px;
      padding:14px 16px;
      border-bottom:1px solid var(--hm-line);
      background:#f9fbff;
    }
    #hm-accounting-igcse-papers .hm-modal-title {
      font-size:15px;
      font-weight:800;
      color:var(--hm-text);
      overflow:hidden;
      text-overflow:ellipsis;
      white-space:nowrap;
    }
    #hm-accounting-igcse-papers .hm-modal-actions {
      display:flex;
      gap:10px;
      flex-wrap:wrap;
    }
    #hm-accounting-igcse-papers .hm-modal-close,
    #hm-accounting-igcse-papers .hm-modal-open {
      display:inline-flex;
      align-items:center;
      justify-content:center;
      min-height:40px;
      padding:0 14px;
      border-radius:12px;
      border:1px solid var(--hm-line);
      background:#fff;
      text-decoration:none;
      color:var(--hm-text);
      font-weight:700;
      cursor:pointer;
    }
    #hm-accounting-igcse-papers .hm-modal-open {
      color:var(--hm-primary-dark);
    }
    #hm-accounting-igcse-papers .hm-modal-body {
      flex:1;
      background:#eef3fb;
      position:relative;
    }
    #hm-accounting-igcse-past-papers .hm-modal-body iframe,
    #hm-accounting-igcse-papers .hm-modal-body iframe {
      width:100%;
      height:100%;
      border:0;
      background:#fff;
    }
    #hm-accounting-igcse-papers .hm-pdf-help {
      position:absolute;
      right:14px;
      bottom:14px;
      background:rgba(255,255,255,.94);
      border:1px solid var(--hm-line);
      border-radius:12px;
      padding:8px 12px;
      font-size:12px;
      color:var(--hm-muted);
      box-shadow:0 8px 18px rgba(19,36,71,.08);
      pointer-events:none;
    }
    @media (max-width:1100px) {
      #hm-accounting-igcse-papers .hm-grid-4 {
        grid-template-columns:repeat(2,minmax(0,1fr));
      }
      #hm-accounting-igcse-papers .hm-controls {
        grid-template-columns:1fr 1fr;
      }
      #hm-accounting-igcse-papers .hm-two-col {
        grid-template-columns:1fr;
      }
    }
    @media (max-width:680px) {
      #hm-accounting-igcse-papers {
        padding:20px 12px;
      }
      #hm-accounting-igcse-papers .hm-hero,
      #hm-accounting-igcse-papers .hm-section-panel,
      #hm-accounting-igcse-papers .hm-card {
        padding:18px;
        border-radius:18px;
      }
      #hm-accounting-igcse-papers .hm-grid-4,
      #hm-accounting-igcse-papers .hm-controls {
        grid-template-columns:1fr;
      }
      #hm-accounting-igcse-papers .hm-tabs {
        display:grid;
        grid-template-columns:1fr 1fr;
      }
      #hm-accounting-igcse-papers .hm-tab {
        width:100%;
      }
      #hm-accounting-igcse-papers .hm-modal {
        padding:10px;
      }
      #hm-accounting-igcse-papers .hm-modal-dialog {
        height:min(92vh,920px);
      }
      #hm-accounting-igcse-papers .hm-modal-head {
        align-items:flex-start;
        flex-direction:column;
      }
      #hm-accounting-igcse-papers .hm-modal-title {
        white-space:normal;
      }
    }
  
}
