.lvv-wrap { max-width: 880px; margin: 0 auto; padding: 28px 24px 80px; }
    .lvv-hero { text-align: center; padding: 30px 0 28px; }
    .lvv-hero h1 { font-size: clamp(1.8rem,4vw,2.8rem); font-weight: 800; letter-spacing:-.03em; }
    .lvv-hero h1 span { color: #15a35a; }
    .lvv-hero p { max-width: 580px; margin: 12px auto 0; color: var(--ink-soft); font-size: .98rem; }

    .lvv-back {
      display:inline-flex; align-items:center; gap:6px;
      font-size:.88rem; font-weight:600; color:#15a35a;
      cursor:pointer; margin-bottom:16px; background:none; border:none;
      font-family: inherit;
    }
    .lvv-back:hover { text-decoration: underline; }

    /* Section heading */
    .lvv-section-head {
      margin: 36px 0 16px;
      padding-bottom: 10px;
      border-bottom: 1.5px solid var(--line);
    }
    .lvv-section-head h2 {
      font-size: 1.2rem; font-weight: 800; color: var(--ink); margin: 0;
    }
    .lvv-section-head p {
      font-size: .85rem; color: var(--ink-mute); margin: 4px 0 0;
    }

    /* Type cards: list-style giống English */
    .lvv-type-list {
      display: flex; flex-direction: column; gap: 10px;
    }
    .lvv-type-card {
      display: grid;
      grid-template-columns: 1fr auto;
      align-items: center;
      gap: 12px;
      padding: 16px 18px;
      background: var(--surface);
      border: 1.5px solid var(--line);
      border-radius: var(--r-md);
      box-shadow: var(--shadow-sm);
      cursor: pointer;
      transition: all .15s var(--ease);
      text-align: left;
      font-family: inherit;
    }
    .lvv-type-card:hover {
      border-color: #15a35a;
      background: #f3faf5;
    }
    .lvv-type-info { min-width: 0; }
    .lvv-type-name { font-size: 1rem; font-weight: 800; color: var(--ink); }
    .lvv-type-meta { font-size: .76rem; color: var(--ink-mute); margin-top: 3px; }
    .lvv-type-desc {
      font-size: .82rem; color: var(--ink-soft); line-height: 1.5; margin-top: 6px;
    }
    .lvv-type-arrow { color: var(--ink-mute); font-size: 1.1rem; }

    /* Detail panel khi click 1 thể loại */
    .lvv-detail { display:none; }
    .lvv-detail.show { display:block; }
    .lvv-detail-header {
      padding: 22px 24px;
      background: var(--surface);
      border: 1.5px solid var(--line);
      border-left: 4px solid #15a35a;
      border-radius: var(--r-lg) var(--r-lg) 0 0;
      border-bottom: none;
    }
    .lvv-detail-header h2 {
      font-size: 1.3rem; font-weight: 800; color: var(--ink); margin: 0;
    }
    .lvv-detail-header h2 span { color: #15a35a; font-weight: 600; font-size: .92em; }
    .lvv-detail-header .sub {
      font-size: .82rem; color: var(--ink-mute); margin-top: 6px;
    }

    .lvv-detail-body {
      background: var(--surface);
      border: 1.5px solid var(--line);
      border-radius: 0 0 var(--r-lg) var(--r-lg);
      padding: 0;
    }
    .lvv-tabs.lvv-detail-tabs {
      margin: 0; padding: 0 24px;
      border-bottom: 1.5px solid var(--line);
    }
    .lvv-tab {
      padding: 12px 16px;
      font-size: .88rem; font-weight: 600;
      color: var(--ink-mute);
      background: none; border: none;
      cursor: pointer;
      border-bottom: 2px solid transparent;
      transition: all .15s var(--ease);
      font-family: inherit;
    }
    .lvv-tab:hover { color: var(--ink); }
    .lvv-tab.active { color: #15a35a; border-bottom-color: #15a35a; }
    .lvv-tab-panel { display: none; }
    .lvv-tab-panel.active { display: block; }

    .lvv-panel-pad { padding: 22px 24px; }
    .lvv-compact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
    .lvv-section h3 {
      font-size: .95rem; font-weight: 800; color: var(--ink);
      margin: 0 0 8px; display: flex; align-items: center; gap: 8px;
    }
    .lvv-section h3 .badge {
      font-size: .68rem; font-weight: 700; color: #15a35a;
      background: #dcf5e8; padding: 2px 8px; border-radius: var(--r-pill);
      letter-spacing: .03em; text-transform: uppercase;
    }
    .lvv-section + .lvv-section { margin-top: 18px; }
    .lvv-outline ul, .lvv-outline ol { padding-left: 20px; margin: 4px 0; line-height: 1.7; font-size: .9rem; color: var(--ink); }
    .lvv-outline li { margin-bottom: 4px; }
    .lvv-soft-box {
      background: #fafbfc; border: 1px solid var(--line);
      border-radius: var(--r-md); padding: 16px;
    }
    .lvv-tip {
      margin-top: 12px;
      padding: 10px 14px;
      background: #fffbe6;
      border-left: 3px solid #f5872e;
      border-radius: 4px;
      font-size: .85rem;
      color: #5b3d1f;
    }

    /* Ráp đề / Viết thử */
    .lvv-ai { background: #fafbfc; padding: 18px; border-radius: var(--r-md); border: 1px solid var(--line); }
    .lvv-ai h3 { font-size: 1rem; font-weight: 800; margin: 0 0 12px; }
    .lvv-ai-input {
      width: 100%; padding: 10px 14px;
      border: 1.5px solid var(--line); border-radius: var(--r-md);
      font-size: .92rem; font-family: inherit;
    }
    .lvv-ai-row { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
    .lvv-ai-btn {
      padding: 9px 16px;
      background: #15a35a; color: #fff;
      border: none; border-radius: var(--r-md);
      font-size: .85rem; font-weight: 700; cursor: pointer;
      font-family: inherit;
    }
    .lvv-ai-btn:hover { background: #128a4c; }
    .lvv-ai-btn.secondary { background: #fff; color: var(--ink); border: 1.5px solid var(--line); }
    .lvv-ai-btn.secondary:hover { border-color: #15a35a; color: #15a35a; }
    .lvv-ai-output {
      display: none;
      margin-top: 14px;
      padding: 14px 16px;
      background: #fff;
      border: 1px solid var(--line);
      border-radius: var(--r-md);
      font-size: .88rem; line-height: 1.6;
    }
    .lvv-ai-output.show { display: block; }
    .lvv-ai-output h4 {
      font-size: .9rem; font-weight: 800; margin: 0 0 8px; color: #15a35a;
    }
    .lvv-ai-output ul { padding-left: 20px; margin: 4px 0; }
    .lvv-essay-textarea {
      width: 100%; min-height: 180px;
      padding: 12px 14px;
      border: 1.5px solid var(--line); border-radius: var(--r-md);
      font-size: .92rem; font-family: inherit; line-height: 1.6;
      resize: vertical;
    }

    /* Biện pháp tu từ — accordion */
    .lvv-rh-list {
      display: flex; flex-direction: column; gap: 8px;
    }
    .lvv-rh-item {
      background: var(--surface);
      border: 1.5px solid var(--line);
      border-radius: var(--r-md);
      overflow: hidden;
      transition: border-color .15s var(--ease);
    }
    .lvv-rh-item.open { border-color: #15a35a; }
    .lvv-rh-toggle {
      display: grid;
      grid-template-columns: 1fr auto;
      align-items: center;
      gap: 12px;
      width: 100%;
      padding: 14px 18px;
      background: none; border: none;
      cursor: pointer; text-align: left;
      font-family: inherit;
    }
    .lvv-rh-toggle:hover { background: #f7f8fa; }
    .lvv-rh-item.open .lvv-rh-toggle { background: #f3faf5; }
    .lvv-rh-name { font-size: .98rem; font-weight: 800; color: var(--ink); }
    .lvv-rh-short { font-size: .8rem; color: var(--ink-mute); margin-top: 3px; }
    .lvv-rh-caret {
      color: var(--ink-mute); font-size: 1rem; line-height: 1;
      transition: transform .2s var(--ease);
    }
    .lvv-rh-item.open .lvv-rh-caret { transform: rotate(90deg); color: #15a35a; }
    .lvv-rh-body {
      display: none;
      padding: 14px 22px 18px;
      border-top: 1px solid var(--line);
      background: var(--surface);
    }
    .lvv-rh-item.open .lvv-rh-body { display: block; }

    .lvv-rh-formula {
      background: #fafbfc;
      border: 1.5px dashed #15a35a;
      border-radius: var(--r-md);
      padding: 10px 14px;
      font-size: .88rem;
      font-family: 'Courier New', Consolas, monospace;
      color: #1a1a2e; line-height: 1.6;
      margin-bottom: 12px;
    }
    .lvv-rh-formula .label {
      display: inline-block;
      font-size: .66rem; font-weight: 700; color: #fff;
      background: #15a35a;
      padding: 2px 8px; border-radius: var(--r-pill);
      margin-right: 6px;
      letter-spacing: .03em; text-transform: uppercase;
      font-family: inherit;
    }
    .lvv-rh-row {
      margin-bottom: 10px;
      font-size: .88rem; color: var(--ink); line-height: 1.55;
    }
    .lvv-rh-row strong {
      display: block; font-size: .78rem; font-weight: 700;
      color: var(--ink-mute); text-transform: uppercase;
      letter-spacing: .04em; margin-bottom: 4px;
    }
    .lvv-rh-row ul { padding-left: 20px; margin: 0; }
    .lvv-rh-row li { margin-bottom: 3px; }

    .lvv-chips { display: flex; flex-wrap: wrap; gap: 6px; }
    .lvv-chips .chip {
      font-size: .76rem; font-weight: 600;
      padding: 3px 10px;
      border-radius: var(--r-pill);
      background: #f0f1f4;
      color: var(--ink-soft);
      border: 1px solid var(--line);
    }
    .lvv-rh-effect {
      margin-top: 6px;
      padding: 8px 12px;
      background: #f3faf5;
      border-left: 3px solid #15a35a;
      border-radius: 4px;
      font-size: .85rem; color: #1a4d2e; line-height: 1.55;
    }
    .lvv-rh-effect strong { font-weight: 700; }

    @media (max-width: 640px) {
      .lvv-wrap { padding: 20px 16px 60px; }
      .lvv-compact-grid { grid-template-columns: 1fr; }
      .lvv-detail-header, .lvv-panel-pad { padding: 18px; }
      .lvv-tabs.lvv-detail-tabs { padding: 0 16px; overflow-x: auto; }
    }
