.lg-page {
    --lg-teal: #06938B;
    --lg-teal-h: #057A73;
    --lg-accent: #06938B;
    --lg-bg: #F8FAFC;
    --lg-card: #FFFFFF;
    --lg-soft: #F1F5F9;
    --lg-text: #0F172A;
    --lg-body: #334155;
    --lg-muted: #64748B;
    --lg-border: rgba(15, 23, 42, .08);
    --lg-dim: rgba(6, 147, 139, .1);
    --lg-shadow: 0 30px 60px -36px rgba(15, 23, 42, .3);
    position: relative;
    padding: 32px 0 80px;
    background: var(--lg-bg);
    color: var(--lg-text);
    font-family: 'Poppins', system-ui, sans-serif;
    line-height: 1.6;
}
html:not(.cf-light) .lg-page {
    --lg-accent: #2DD4BF;
    --lg-bg: #000000;
    --lg-card: #0b0c0e;
    --lg-soft: rgba(255, 255, 255, .05);
    --lg-text: #F1F5F9;
    --lg-body: #CBD5E1;
    --lg-muted: #94A3B8;
    --lg-border: rgba(255, 255, 255, .08);
    --lg-dim: rgba(45, 212, 191, .12);
    --lg-shadow: 0 30px 60px -36px rgba(0, 0, 0, .8);
}
.lg-page *, .lg-page *::before, .lg-page *::after { box-sizing: border-box; }
.lg-page button { font-family: inherit; }
.lg-page a { text-decoration: none; }
.lg-page em { font-family: 'DM Serif Display', Georgia, serif; font-style: italic; font-weight: 400; letter-spacing: -.01em; color: var(--lg-accent); }
.lg-wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.lg-watermark, .lg-print-head { display: none; }

.lg-hero { padding: 8px 0 28px; margin-bottom: 32px; border-bottom: 1px solid var(--lg-border); }
.lg-kicker { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; padding: 6px 14px; border-radius: 999px; background: var(--lg-dim); color: var(--lg-accent); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.lg-title { margin: 0 0 14px; font-size: clamp(2.2rem, 5.4vw, 3.4rem); font-weight: 700; line-height: 1.06; letter-spacing: -.035em; color: var(--lg-text); }
.lg-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 20px; font-size: .84rem; font-weight: 500; color: var(--lg-muted); }
.lg-meta span { display: inline-flex; align-items: center; gap: 8px; }
.lg-meta i { color: var(--lg-accent); font-size: 13px; }
.lg-share { display: flex; flex-wrap: wrap; gap: 8px; }
.lg-share-btn { width: 40px; height: 40px; padding: 0; border: 1px solid var(--lg-border); border-radius: 50%; background: var(--lg-card); color: var(--lg-text) !important; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; cursor: pointer; transition: background .2s, border-color .2s, color .2s, transform .3s cubic-bezier(.34, 1.56, .64, 1); }
.lg-share-btn:hover { background: var(--lg-teal); border-color: var(--lg-teal); color: #fff !important; transform: translateY(-2px); }
.lg-share-btn:focus-visible, .lg-toc-list a:focus-visible, .lg-mtoc-btn:focus-visible { outline: 2px solid var(--lg-teal); outline-offset: 2px; }

.lg-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 48px; align-items: start; }
.lg-side { position: sticky; top: var(--lg-top, 100px); transition: top .2s; }
.lg-toc { display: flex; flex-direction: column; max-height: calc(100vh - var(--lg-top, 100px) - 24px); padding: 20px 20px 12px; border-radius: 20px; background: var(--lg-card); border: 1px solid var(--lg-border); }
.lg-toc-head, .lg-progress-side { flex-shrink: 0; }
.lg-toc > .lg-toc-list { flex: 1; min-height: 0; margin: 0 -8px; padding: 0 8px 8px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(100, 116, 139, .35) transparent; }
.lg-toc > .lg-toc-list::-webkit-scrollbar { width: 4px; }
.lg-toc > .lg-toc-list::-webkit-scrollbar-thumb { border-radius: 4px; background: rgba(100, 116, 139, .35); }
.lg-toc-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--lg-accent); }
.lg-toc-pct { font-size: .7rem; letter-spacing: 0; color: var(--lg-muted); font-variant-numeric: tabular-nums; }
.lg-progress { display: block; height: 3px; border-radius: 999px; background: var(--lg-soft); overflow: hidden; }
.lg-progress span { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--lg-teal); transition: width .15s linear; }
.lg-progress-side { margin-bottom: 14px; }

.lg-toc-list { list-style: none; margin: 0; padding: 0; }
.lg-toc-list ol { list-style: none; margin: 2px 0 4px; padding: 0 0 0 14px; border-left: 1px solid var(--lg-border); margin-left: 18px; }
.lg-toc-list a { display: flex; align-items: flex-start; gap: 10px; padding: 7px 10px; border-radius: 10px; color: var(--lg-muted) !important; font-size: .82rem; font-weight: 500; line-height: 1.4; transition: background .2s, color .2s; }
.lg-toc-list a:hover { background: var(--lg-soft); color: var(--lg-text) !important; }
.lg-toc-list a.is-active { background: var(--lg-dim); color: var(--lg-accent) !important; font-weight: 600; }
.lg-toc-list ol a { padding: 5px 10px; font-size: .76rem; }
.lg-num { min-width: 18px; font-size: .72rem; font-weight: 700; color: var(--lg-muted); font-variant-numeric: tabular-nums; }
.lg-toc-list a.is-active .lg-num { color: var(--lg-accent); }

.lg-mtoc { display: none; }

.lg-doc { min-width: 0; }
.lg-intro { padding: 24px 26px; margin-bottom: 8px; border-radius: 20px; background: var(--lg-card); border: 1.5px dotted rgba(6, 147, 139, .55); }
html:not(.cf-light) .lg-intro { border-color: rgba(45, 212, 191, .45); }
.lg-intro p { margin: 0; font-size: 1rem; line-height: 1.8; color: var(--lg-body); }
.lg-intro strong { color: var(--lg-text); }
.lg-intro a, .lg-prose a, .lg-agree a { color: var(--lg-accent); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(6, 147, 139, .35); text-underline-offset: 3px; }

.lg-sec { padding: 36px 0; border-bottom: 1px solid var(--lg-border); scroll-margin-top: calc(var(--lg-top, 100px) + 70px); }
.lg-sec:last-of-type { border-bottom: 0; }
.lg-sec h2 { display: flex; align-items: center; gap: 14px; margin: 0 0 16px; font-size: clamp(1.3rem, 2.4vw, 1.6rem); font-weight: 700; line-height: 1.25; letter-spacing: -.02em; color: var(--lg-text); }
.lg-sec-num { width: 40px; height: 40px; flex-shrink: 0; border-radius: 12px; background: var(--lg-dim); color: var(--lg-accent); display: flex; align-items: center; justify-content: center; font-size: .82rem; font-weight: 700; font-variant-numeric: tabular-nums; }

.lg-prose { font-size: .95rem; line-height: 1.85; color: var(--lg-body); }
.lg-prose p { margin: 0 0 14px; }
.lg-prose p:last-child { margin-bottom: 0; }
.lg-prose strong { color: var(--lg-text); font-weight: 600; }
.lg-prose ul { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; }
.lg-prose li { position: relative; padding-left: 22px; }
.lg-prose li::before { content: ''; position: absolute; left: 4px; top: .75em; width: 7px; height: 7px; border-radius: 50%; background: var(--lg-teal); }
.lg-prose code { padding: 2px 7px; border-radius: 6px; background: var(--lg-soft); color: var(--lg-accent); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .82em; word-break: break-word; }

.lg-sub { margin-top: 18px; padding: 22px 24px; border-radius: 18px; background: var(--lg-card); border: 1px solid var(--lg-border); scroll-margin-top: calc(var(--lg-top, 100px) + 70px); }
.lg-sub h3 { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; font-size: 1.02rem; font-weight: 700; line-height: 1.35; color: var(--lg-text); }
.lg-sub h3 span { display: flex; flex-direction: column; }
.lg-sub h3 small { font-size: .68rem; font-weight: 700; letter-spacing: .1em; color: var(--lg-accent); }
.lg-sub-ico { width: 40px; height: 40px; flex-shrink: 0; padding: 7px; border-radius: 12px; background: var(--lg-soft); object-fit: contain; }
.lg-sub .lg-prose { font-size: .9rem; }

.lg-contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.lg-contact-item { display: flex; align-items: flex-start; gap: 14px; min-width: 0; padding: 18px; border-radius: 18px; background: var(--lg-card); border: 1px solid var(--lg-border); color: var(--lg-text) !important; transition: border-color .25s, transform .3s cubic-bezier(.34, 1.56, .64, 1); }
a.lg-contact-item:hover { border-color: rgba(6, 147, 139, .45); transform: translateY(-2px); }
.lg-contact-ico { width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px; background: var(--lg-teal); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.lg-contact-item small { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--lg-muted); }
.lg-contact-item strong { display: block; font-size: .92rem; font-weight: 700; color: var(--lg-text); overflow-wrap: anywhere; }
.lg-contact-addr { grid-column: 1 / -1; }
.lg-contact-addr address { font-style: normal; font-size: .86rem; line-height: 1.6; color: var(--lg-body); }
.lg-agree { display: flex; align-items: flex-start; gap: 14px; margin-top: 28px; padding: 20px 22px; border-radius: 18px; background: var(--lg-dim); border: 1.5px dotted rgba(6, 147, 139, .55); }
html:not(.cf-light) .lg-agree { border-color: rgba(45, 212, 191, .45); }
.lg-agree-ico { width: 38px; height: 38px; flex-shrink: 0; border-radius: 11px; background: var(--lg-teal); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 15px; }
.lg-agree p { margin: 0; font-size: .92rem; line-height: 1.7; color: var(--lg-text); font-weight: 500; }
.lg-contact-addr address strong { margin-bottom: 2px; }
.lg-contact-addr address { flex: 1; min-width: 0; }
.lg-map-btn { align-self: center; flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 20px; border-radius: 999px; background: var(--lg-teal); color: #fff !important; font-size: .84rem; font-weight: 700; white-space: nowrap; box-shadow: 0 14px 26px -16px rgba(6, 147, 139, .9); transition: background .25s, transform .3s cubic-bezier(.34, 1.56, .64, 1); }
.lg-map-btn i { font-size: 13px; }
.lg-map-btn:hover { background: var(--lg-teal-h); transform: translateY(-2px); }

.lg-related { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--lg-border); }
.lg-related-lbl { display: block; margin-bottom: 14px; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--lg-muted); }
.lg-related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.lg-related-card { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 16px; background: var(--lg-card); border: 1px solid var(--lg-border); color: var(--lg-text) !important; font-size: .86rem; font-weight: 600; transition: border-color .25s, transform .3s cubic-bezier(.34, 1.56, .64, 1); }
.lg-related-card > i:first-child { width: 36px; height: 36px; flex-shrink: 0; border-radius: 10px; background: var(--lg-dim); color: var(--lg-accent); display: flex; align-items: center; justify-content: center; font-size: 14px; }
.lg-related-card span { flex: 1; min-width: 0; }
.lg-related-go { font-size: 11px; color: var(--lg-muted); transition: transform .25s, color .25s; }
.lg-related-card:hover { border-color: rgba(6, 147, 139, .45); transform: translateY(-2px); }
.lg-related-card:hover .lg-related-go { color: var(--lg-accent); transform: translateX(3px); }

.lg-toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 1000; display: inline-flex; align-items: center; gap: 9px; padding: 10px 18px; border-radius: 999px; background: #0F172A; color: #fff; font-family: 'Poppins', system-ui, sans-serif; font-size: .82rem; font-weight: 600; box-shadow: 0 16px 30px -12px rgba(0, 0, 0, .5); opacity: 0; transform: translate(-50%, 12px); pointer-events: none; transition: opacity .22s, transform .3s cubic-bezier(.34, 1.56, .64, 1); }
.lg-toast i { color: #2DD4BF; }
.lg-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 960px) {
    .lg-layout { grid-template-columns: 1fr; gap: 0; }
    .lg-side { display: none; }
    .lg-mtoc { position: sticky; top: var(--lg-top, 64px); z-index: 50; display: block; margin: 0 -24px 8px; background: transparent; border-bottom: 1px solid transparent; box-shadow: none; transition: top .2s, background-color .25s, border-color .25s, box-shadow .25s; }
    .lg-mtoc .lg-progress { opacity: 0; transition: opacity .25s; }
    .lg-mtoc.is-stuck, .lg-mtoc.is-open { background: #FFFFFF; border-bottom-color: var(--lg-border); box-shadow: 0 12px 24px -20px rgba(15, 23, 42, .4); }
    .lg-mtoc.is-stuck .lg-progress { opacity: 1; }
    html:not(.cf-light) .lg-mtoc.is-stuck, html:not(.cf-light) .lg-mtoc.is-open { background: #0b0c0e; }
    .lg-mtoc-btn { display: flex; align-items: center; gap: 12px; width: 100%; height: 48px; padding: 0 24px; border: 0; background: transparent; color: var(--lg-text); text-align: left; cursor: pointer; }
    .lg-mtoc-ico { width: 28px; height: 28px; flex-shrink: 0; border-radius: 8px; background: var(--lg-dim); color: var(--lg-accent); display: flex; align-items: center; justify-content: center; font-size: 12px; }
    .lg-mtoc-text { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
    .lg-mtoc-text small { font-size: .62rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--lg-muted); }
    .lg-mtoc-text strong { font-size: .84rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .lg-mtoc-chev { flex-shrink: 0; font-size: 11px; color: var(--lg-muted); transition: transform .25s; }
    .lg-mtoc.is-open .lg-mtoc-chev { transform: rotate(180deg); }
    .lg-mtoc .lg-progress { height: 2px; border-radius: 0; background: transparent; }
    .lg-mtoc-panel { position: absolute; left: 0; right: 0; top: 100%; max-height: min(60vh, 460px); overflow-y: auto; padding: 10px 16px 16px; background: var(--lg-card); border-bottom: 1px solid var(--lg-border); box-shadow: 0 24px 40px -20px rgba(15, 23, 42, .45); overscroll-behavior: contain; }
    html:not(.cf-light) .lg-mtoc-panel { background: #0b0c0e; }
    .lg-mtoc-panel a { padding: 9px 10px; font-size: .86rem; }
    .lg-mtoc-panel ol a { font-size: .8rem; }
}
@media (max-width: 760px) {
    .lg-contact, .lg-related-grid { grid-template-columns: 1fr; }
    .lg-map-btn { display: none; }
}
@media (max-width: 560px) {
    .lg-page { padding: 20px 0 56px; }
    .lg-wrap { padding: 0 16px; }
    .lg-mtoc { margin: 0 -16px 4px; }
    .lg-mtoc-btn { height: 44px; padding: 0 16px; gap: 10px; }
    .lg-mtoc-ico { width: 26px; height: 26px; font-size: 11px; }
    .lg-hero { padding-bottom: 22px; margin-bottom: 20px; }
    .lg-title { font-size: 2.1rem; }
    .lg-meta { font-size: .78rem; gap: 6px 16px; margin-bottom: 16px; }
    .lg-share-btn { width: 38px; height: 38px; font-size: 13px; }
    .lg-intro { padding: 18px; margin-top: 16px; border-radius: 16px; }
    .lg-intro p { font-size: .92rem; }
    .lg-sec { padding: 28px 0; }
    .lg-sec h2 { gap: 12px; font-size: 1.2rem; }
    .lg-sec-num { width: 34px; height: 34px; border-radius: 10px; font-size: .76rem; }
    .lg-prose { font-size: .9rem; line-height: 1.8; }
    .lg-sub { padding: 18px 16px; border-radius: 16px; }
    .lg-sub h3 { font-size: .95rem; }
    .lg-sub-ico { width: 36px; height: 36px; }
    .lg-sub .lg-prose { font-size: .86rem; }
    .lg-contact-item { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
    .lg-page *, .lg-toast { transition: none !important; }
}

@page { margin: 16mm 14mm; }
@media print {
    html, body { background: #fff !important; }
    #cfSiteHeader, .cf-site-header, .cf-header-spacer, #cf-premium-footer, footer, .cf-band, .lg-share, .lg-side, .lg-mtoc, .lg-related, .lg-toast, .lg-map-btn, .cf-bc, .cf-breadcrumbs { display: none !important; }
    .lg-page { padding: 0 !important; background: #fff !important; color: #000 !important; --lg-text: #000; --lg-body: #222; --lg-muted: #555; --lg-accent: #06938B; --lg-border: #ddd; --lg-card: #fff; --lg-soft: #f2f2f2; --lg-dim: #e6f4f3; }
    .lg-wrap { max-width: none; padding: 0; }
    .lg-layout { display: block; }
    .lg-watermark { display: block !important; position: fixed; left: 50%; top: 50%; z-index: 0; width: 360px; height: 360px; transform: translate(-50%, -50%); opacity: .07; pointer-events: none; }
    .lg-print-head { display: flex !important; align-items: center; justify-content: space-between; padding-bottom: 10px; margin-bottom: 18px; border-bottom: 2px solid #06938B; font-size: 10pt; color: #555; }
    .lg-print-head img { height: 26px; width: auto; }
    .lg-hero, .lg-doc { position: relative; z-index: 1; }
    .lg-hero { padding: 0 0 12px; margin-bottom: 16px; }
    .lg-kicker { padding: 0; background: none; }
    .lg-title { font-size: 26pt; }
    .lg-intro, .lg-sub, .lg-contact-item, .lg-agree { background: transparent !important; box-shadow: none !important; }
    .lg-sec { padding: 18px 0; break-inside: auto; }
    .lg-sec h2, .lg-sub h3 { break-after: avoid; page-break-after: avoid; break-inside: avoid; }
    .lg-sec h2 + .lg-prose > p:first-child { break-before: avoid; }
    .lg-page, .lg-page * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
    .lg-sub, .lg-contact-item { break-inside: avoid; }
    .lg-prose { font-size: 10.5pt; line-height: 1.6; }
    .lg-contact { grid-template-columns: 1fr 1fr; }
    .lg-contact-ico { background: #06938B !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
    .lg-prose a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 8.5pt; font-weight: 400; color: #555; }
}