.rt-lg-page { padding-bottom: 80px; }
.rt-lg-hero { width: 100%; padding: 44px 20px 60px; margin-bottom: -21px; text-align: center; color: #fff; background-color: #0F1F2E; background-image: linear-gradient(to right, rgba(15, 31, 46, .9), rgba(15, 31, 46, .82)), url('/assets/images/banner/banner.webp'); background-size: cover; background-position: center; }
[data-theme="dark"] .rt-lg-hero { background-color: #050505; background-image: linear-gradient(to right, rgba(0, 0, 0, .88), rgba(0, 0, 0, .8)), url('/assets/images/banner/banner-dark.webp'); }
.rt-lg-hero h1 { margin: 0 0 10px; font-size: clamp(28px, 5vw, 42px); font-weight: 800; line-height: 1.25; color: #fff; }
.rt-lg-hero h1 .rt-hl { color: #4ADE80; }
.rt-lg-hero p { max-width: 720px; margin: 0 auto; font-size: 15.5px; line-height: 1.85; color: #E2E8F0; }

.rt-lg-tabs { position: relative; z-index: 10; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.rt-lg-tabs a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; font-size: 13.5px; font-weight: 700; color: var(--rt-text-main); background: var(--rt-card-bg); border: 1px solid var(--rt-border); border-radius: 30px; box-shadow: 0 6px 18px rgba(15, 31, 46, .08); text-decoration: none; transition: var(--rt-ease, all .3s ease); }
.rt-lg-tabs a i { color: var(--rt-accent); font-size: 13px; }
.rt-lg-tabs a:hover { border-color: var(--rt-accent); color: var(--rt-accent); }
.rt-lg-tabs a.is-current { color: #fff; background: var(--rt-accent); border-color: var(--rt-accent); }
.rt-lg-tabs a.is-current i { color: #fff; }

.rt-lg-wrap { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 32px; align-items: start; max-width: 1100px; margin: 36px auto 0; padding: 0 20px; }

.rt-lg-toc { position: sticky; top: calc(var(--header-h, 70px) + 16px); padding: 18px; background: var(--rt-card-bg); border: 1px solid var(--rt-border); border-radius: 18px; display: flex; flex-direction: column; max-height: calc(100vh - var(--header-h, 70px) - 40px); overflow: hidden; }
.rt-lg-toc-btn { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; padding: 0; font: inherit; font-size: 14px; font-weight: 800; color: var(--rt-text-main); background: none; border: 0; cursor: default; text-align: start; }
.rt-lg-toc-btn i { display: none; font-size: 12px; color: var(--rt-accent); transition: transform .25s ease; }
.rt-lg-toc ol { display: grid; gap: 2px; align-content: start; flex: 1 1 auto; min-height: 0; overflow-y: auto; margin: 12px 0 0; padding: 0; list-style: none; counter-reset: lgt; }
.rt-lg-toc li { counter-increment: lgt; }
.rt-lg-toc a { display: flex; gap: 8px; padding: 7px 10px; font-size: 13px; font-weight: 600; line-height: 1.5; color: var(--rt-text-muted); border-radius: 10px; text-decoration: none; transition: var(--rt-ease, all .3s ease); }
.rt-lg-toc a::before { content: counter(lgt) '.'; flex-shrink: 0; min-width: 20px; color: var(--rt-accent); font-weight: 800; }
.rt-lg-toc a:hover { color: var(--rt-accent); background: var(--rt-tint); }
.rt-lg-toc a.is-active { color: var(--rt-accent); background: var(--rt-tint); }
.rt-lg-print { display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex-shrink: 0; width: 100%; margin-top: 12px; padding: 9px 12px; font: inherit; font-size: 13px; font-weight: 700; color: var(--rt-accent); background: var(--rt-tint); border: 0; border-radius: 12px; cursor: pointer; transition: var(--rt-ease, all .3s ease); }
.rt-lg-print:hover { color: #fff; background: var(--rt-accent); }

.rt-lg-body { min-width: 0; }
.rt-lg-summary { margin: 0 0 28px; padding: 22px 24px; background: var(--rt-tint); border: 2px dotted var(--rt-accent); border-radius: 16px; }
.rt-lg-summary h2 { margin: 0 0 10px; font-size: 17px; font-weight: 800; color: var(--rt-text-main); }
.rt-lg-summary ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.rt-lg-summary li { position: relative; padding-inline-start: 26px; font-size: 14.5px; line-height: 1.75; color: var(--rt-text-main); }
.rt-lg-summary li::before { content: '\f00c'; position: absolute; inset-inline-start: 0; top: 1px; font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: 12px; color: var(--rt-accent); }

.rt-lg-sec { margin: 0 0 18px; padding: 26px 28px; background: var(--rt-card-bg); border: 1px solid var(--rt-border); border-radius: 18px; scroll-margin-top: calc(var(--header-h, 70px) + 16px); }
.rt-lg-sec h2 { display: flex; align-items: baseline; gap: 10px; margin: 0 0 14px; font-size: 21px; font-weight: 800; line-height: 1.4; color: var(--rt-text-main); }
.rt-lg-num { flex-shrink: 0; min-width: 30px; height: 30px; padding: 0 8px; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; color: #fff; background: var(--rt-accent); border-radius: 10px; transform: translateY(-2px); }
.rt-lg-sec h3 { margin: 20px 0 8px; font-size: 16px; font-weight: 800; color: var(--rt-text-main); }
.rt-lg-sec p { margin: 0 0 12px; font-size: 14.8px; line-height: 1.9; color: var(--rt-text-muted); }
.rt-lg-sec p:last-child { margin-bottom: 0; }
.rt-lg-sec strong { font-weight: 700; color: var(--rt-text-main); }
.rt-lg-sec a { color: var(--rt-accent); font-weight: 600; text-decoration: none; }
.rt-lg-sec a:hover { text-decoration: underline; }
.rt-lg-sec ul { display: grid; gap: 8px; margin: 0 0 14px; padding: 0; list-style: none; }
.rt-lg-sec ul:last-child { margin-bottom: 0; }
.rt-lg-sec li { position: relative; padding-inline-start: 22px; font-size: 14.8px; line-height: 1.85; color: var(--rt-text-muted); }
.rt-lg-sec li::before { content: ''; position: absolute; inset-inline-start: 4px; top: 12px; width: 7px; height: 7px; background: var(--rt-accent); border-radius: 50%; }

.rt-lg-note { display: flex; gap: 12px; margin: 14px 0; padding: 14px 16px; background: var(--rt-tint); border-radius: 14px; }
.rt-lg-note i { flex-shrink: 0; margin-top: 4px; font-size: 15px; color: var(--rt-accent); }
.rt-lg-note p { margin: 0; font-size: 14px; line-height: 1.8; color: var(--rt-text-main); }
.rt-lg-langnote { margin: 0 0 18px; }
.rt-lg-note.is-warn { background: rgba(245, 158, 11, .12); }
.rt-lg-note.is-warn i { color: #D97706; }

.rt-lg-tablewrap { margin: 14px 0; overflow-x: auto; border: 1px solid var(--rt-border); border-radius: 14px; }
.rt-lg-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 13.5px; }
.rt-lg-table th { padding: 11px 14px; text-align: start; font-size: 12.5px; font-weight: 800; letter-spacing: .02em; color: var(--rt-text-main); background: var(--rt-tint); white-space: nowrap; }
.rt-lg-table td { padding: 11px 14px; line-height: 1.7; color: var(--rt-text-muted); vertical-align: top; border-top: 1px solid var(--rt-border); }
.rt-lg-table td:first-child { font-weight: 700; color: var(--rt-text-main); }
.rt-lg-table code { padding: 2px 7px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12.5px; color: var(--rt-accent); background: var(--rt-tint); border-radius: 6px; word-break: break-all; }

.rt-lg-contact { display: grid; gap: 10px; margin-top: 14px; }
.rt-lg-contact-row { display: flex; align-items: flex-start; gap: 10px; font-size: 14.8px; line-height: 1.8; color: var(--rt-text-main); }
.rt-lg-contact-row i { flex-shrink: 0; width: 18px; margin-top: 6px; text-align: center; font-size: 14px; color: var(--rt-accent); }
.rt-lg-contact-row span { font-weight: 800; color: var(--rt-text-main); }
.rt-lg-sec .rt-lg-contact-row a { font-weight: 800; color: var(--rt-text-main); text-decoration: none; }
.rt-lg-sec .rt-lg-contact-row a:hover { color: var(--rt-accent); text-decoration: underline; }

.rt-lg-related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 8px; }
.rt-lg-rel { display: flex; flex-direction: column; gap: 6px; padding: 18px; color: var(--rt-text-main); background: var(--rt-card-bg); border: 1px solid var(--rt-border); border-radius: 16px; text-decoration: none; transition: var(--rt-ease, all .3s ease); }
.rt-lg-rel:hover { border-color: var(--rt-accent); transform: translateY(-3px); }
.rt-lg-rel i { font-size: 18px; color: var(--rt-accent); }
.rt-lg-rel strong { font-size: 15px; font-weight: 800; }
.rt-lg-rel span { font-size: 13px; line-height: 1.65; color: var(--rt-text-muted); }

@media (max-width: 900px) {
    .rt-lg-wrap { grid-template-columns: minmax(0, 1fr); gap: 18px; }
    .rt-lg-toc { position: static; max-height: none; padding: 14px 16px; }
    .rt-lg-js .rt-lg-toc-btn { cursor: pointer; }
    .rt-lg-js .rt-lg-toc-btn i { display: inline-block; }
    .rt-lg-js .rt-lg-toc ol, .rt-lg-js .rt-lg-print { display: none; }
    .rt-lg-js .rt-lg-toc.open ol { display: grid; }
    .rt-lg-js .rt-lg-toc.open .rt-lg-print { display: inline-flex; }
    .rt-lg-js .rt-lg-toc.open .rt-lg-toc-btn i { transform: rotate(180deg); }
}
@media (max-width: 768px) {
    .rt-lg-hero { padding: 36px 16px 56px; margin-bottom: -20px; }
    .rt-lg-tabs { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; padding-inline: 16px; scrollbar-width: none; }
    .rt-lg-tabs::-webkit-scrollbar { display: none; }
    .rt-lg-tabs a { flex-shrink: 0; white-space: nowrap; padding: 9px 15px; }
    .rt-lg-wrap { margin-top: 24px; padding-inline: 16px; }
    .rt-lg-sec { padding: 20px 18px; border-radius: 16px; }
    .rt-lg-sec h2 { font-size: 18px; }
    .rt-lg-summary { padding: 18px; }
    .rt-lg-related { grid-template-columns: minmax(0, 1fr); }
}
@media print {
    @page { margin: 14mm 12mm; }
    #main-header, .rt-bc-nav, .rt-footer, .rt-mobile-nav, #rtMobileNav, #rtCkBanner, .rt-ckb, .rt-ck-toast, .rt-lg-tabs, .rt-lg-toc, .rt-lg-related, .rt-promo, [class*="rt-a2hs"], [class*="rt-pwa"] { display: none !important; }
    body { background: #fff !important; }
    .rt-lg-hero { margin: 0; padding: 0 0 14px; color: #000; background: none !important; }
    .rt-lg-hero h1, .rt-lg-hero p { color: #000; }
    .rt-lg-wrap { display: block; margin: 0; padding: 0; }
    .rt-lg-sec { border: 0; padding: 0 0 14px; break-inside: avoid-page; }
    .rt-lg-wm { display: block !important; position: fixed; top: 50%; left: 50%; width: 360px; height: 360px; margin: -180px 0 0 -180px; object-fit: contain; opacity: .08; z-index: 0; pointer-events: none; }
}
.rt-lg-wm { display: none; }