:where(.gh-ielts) .ielts-mode-dialog { width: min(840px, calc(100% - 32px)); max-height: calc(100dvh - 32px); margin: auto; padding: 0; overflow: hidden; border: 0; border-radius: 4px; background: #fff; color: #262626; box-shadow: 0 20px 48px #0003; }
:where(.gh-ielts) .ielts-mode-dialog[open] { display: flex; flex-direction: column; }
:where(.gh-ielts) .ielts-mode-dialog::backdrop { background: #0006; }
:where(.gh-ielts) .ielts-mode-dialog-body { display: flex; min-height: 0; flex: 1 1 auto; flex-direction: column; padding: 24px; }
:where(.gh-ielts) .ielts-mode-header { display: flex; min-height: 44px; flex: 0 0 auto; align-items: flex-start; justify-content: space-between; gap: 16px; border-bottom: 1px solid #e5e5e5; background: #fff; }
:where(.gh-ielts) .ielts-mode-scroll-content { min-height: 0; flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; }
:where(.gh-ielts) .ielts-mode-header h2 { margin: 0; font-size: 18px; line-height: 28px; font-weight: 700; }
:where(.gh-ielts) .ielts-mode-close { display: grid; flex: 0 0 24px; width: 24px; height: 24px; place-items: center; padding: 0; border: 0; background: transparent; cursor: pointer; }
:where(.gh-ielts) .ielts-mode-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
:where(.gh-ielts) .ielts-mode-card { display: flex; min-width: 0; flex-direction: column; padding: 16px; border: 1px solid #e5e5e5; border-radius: 4px; }
:where(.gh-ielts) .ielts-mode-card-intro { display: contents; }
:where(.gh-ielts) .ielts-mode-card-footer { display: contents; }
:where(.gh-ielts) .ielts-mode-card-title { display: flex; min-height: 56px; align-items: center; gap: 12px; }
:where(.gh-ielts) .ielts-mode-card-title img { display: block; flex: 0 0 56px; width: 56px; height: 56px; object-fit: contain; }
:where(.gh-ielts) .ielts-mode-card-title h3 { margin: 0; font-size: 18px; line-height: 26px; font-weight: 700; }
:where(.gh-ielts) .ielts-mode-benefits { display: grid; gap: 12px; margin: 8px 0 4px; padding: 0; list-style: none; }
:where(.gh-ielts) .ielts-mode-benefits li { display: flex; align-items: center; gap: 8px; color: #525252; font-size: 16px; line-height: 24px; }
:where(.gh-ielts) .ielts-mode-check { display: grid; flex: 0 0 16px; width: 16px; height: 16px; place-items: center; border-radius: 50%; background: linear-gradient(#78df93, #26b862); color: #fff; font-size: 12px; line-height: 16px; font-weight: 700; }
:where(.gh-ielts) .ielts-mode-action { display: block; width: 100%; min-height: 48px; padding: 10px 16px; border: 1px solid #155dfc; border-radius: 4px; background: #155dfc; color: #fff; font-size: 16px; line-height: 24px; font-weight: 600; cursor: pointer; }
:where(.gh-ielts) .ielts-mode-action:hover:not(:disabled) { background: #1249c7; }
:where(.gh-ielts) .ielts-mode-action:disabled { border-color: #d4d4d4; background: #e5e5e5; color: #737373; cursor: not-allowed; }
:where(.gh-ielts) .ielts-mode-exhausted { margin: -10px 0 12px; color: #9a5800; font-size: 14px; line-height: 21px; }
:where(.gh-ielts) .ielts-mode-notice { margin-top: 16px; padding: 12px 12px; border-radius: 4px; background: #fff9ef; color: #404040; font-size: 14px; line-height: 21px; }
:where(.gh-ielts) .ielts-mode-notice p { margin: 0; }
:where(.gh-ielts) .ielts-mode-dialog .hidden { display: none !important; }
:where(.gh-ielts) .ielts-mode-dialog button:focus-visible { outline: 2px solid #155dfc; outline-offset: 2px; }
@media (min-width: 701px) {
    :where(.gh-ielts) .ielts-mode-dialog-body { padding: 24px; }
    :where(.gh-ielts) .ielts-mode-header { align-items: center; padding-bottom: 16px; }
    :where(.gh-ielts) .ielts-mode-options { gap: 16px; }
    :where(.gh-ielts) .ielts-mode-card { display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 24px; }
    :where(.gh-ielts) .ielts-mode-card-intro { display: flex; flex-direction: column; gap: 16px; }
    :where(.gh-ielts) .ielts-mode-card-footer { display: flex; flex-direction: column; justify-content: flex-end; gap: 24px; }
    :where(.gh-ielts) .ielts-mode-benefits { margin: 0; }
    :where(.gh-ielts) .ielts-mode-benefits li { align-items: center; }
    :where(.gh-ielts) .ielts-mode-exhausted { margin: 0; }
}
@media (max-width: 700px) {
    :where(.gh-ielts) .ielts-mode-dialog-body { padding: 16px; }
    :where(.gh-ielts) .ielts-mode-options { grid-template-columns: minmax(0, 1fr); }
    :where(.gh-ielts) .ielts-mode-card { min-height: 0; }
    :where(.gh-ielts) .ielts-mode-card-title { gap: 8px; }
    :where(.gh-ielts) .ielts-mode-card-title img { flex-basis: 48px; width: 48px; height: 48px; }
    :where(.gh-ielts) .ielts-mode-card-title h3 { font-size: 16px; line-height: 24px; }
    :where(.gh-ielts) .ielts-mode-benefits li { font-size: 14px; }
    :where(.gh-ielts) .ielts-mode-benefits { margin-bottom: 16px; }
}
