/* =========================================================================
   RishteDesk — Legal & policies (layouts/legal.blade.php, pages/legal-hub)
   Added 13 Oct 2026. Scoped under .lgx so it never touches other pages.
   Logical properties throughout, so the layout mirrors in RTL (Urdu).
   ========================================================================= */
:root {
    --lgx-crimson: #7d0d24;
    --lgx-crimson-2: #b3122e;
    --lgx-gold: #b07a4f;
    --lgx-blush: #fdf6f7;
    --lgx-blush-2: #fdeef1;
    --lgx-ink: #14161c;
    --lgx-ink-soft: #3d4350;
    --lgx-muted: #6b7280;
    --lgx-line: #f0e4e6;
    --lgx-line-2: #e6d3d7;
    --lgx-card: #ffffff;
    --lgx-bg: #ffffff;
    --lgx-warn-bg: #fff7ec;
    --lgx-warn-line: #f0d7b4;
    --lgx-warn-ink: #7a4a12;
    --lgx-serif: var(--serif, 'Fraunces', Georgia, serif);
    --lgx-sans: var(--sans, 'Inter', system-ui, sans-serif);
    --lgx-head: 96px;
}

.lgx { background: var(--lgx-bg); color: var(--lgx-ink-soft); overflow-x: clip; }
.lgx *, .lgx *::before, .lgx *::after { box-sizing: border-box; }

/* ---------- Hero ---------- */
.lgx-hero {
    position: relative;
    background:
        radial-gradient(60rem 22rem at 100% -10%, rgba(176, 122, 79, .10), transparent 60%),
        radial-gradient(40rem 18rem at 0% 0%, rgba(179, 18, 46, .06), transparent 60%),
        linear-gradient(180deg, var(--lgx-blush) 0%, #fff 100%);
    border-block-end: 1px solid var(--lgx-line);
    padding-block: clamp(22px, 4vw, 40px) clamp(32px, 5vw, 60px);
}
.lgx-hero-in > * { max-width: 920px; }
.lgx-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 0 0 clamp(22px, 4vw, 40px); font: 500 .82rem/1.4 var(--lgx-sans); color: var(--lgx-muted); }
.lgx-crumbs a { color: var(--lgx-muted); text-decoration: none; }
.lgx-crumbs a:hover, .lgx-crumbs a:focus-visible { color: var(--lgx-crimson); text-decoration: underline; text-underline-offset: 3px; }
.lgx-crumbs [aria-current] { color: var(--lgx-ink); }
.lgx-crumbs span[aria-hidden] { color: #c9b6ba; }
.lgx-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; font: 700 .76rem/1 var(--lgx-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--lgx-crimson); }
.lgx-eyebrow::before { content: ""; inline-size: 26px; block-size: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--lgx-crimson-2), var(--lgx-gold)); }
.lgx-title { margin: 0; font-family: var(--lgx-serif); font-weight: 600; font-size: clamp(2.15rem, 1.4rem + 3.1vw, 3.6rem); line-height: 1.06; letter-spacing: -.02em; color: var(--lgx-ink); overflow-wrap: anywhere; text-wrap: balance; }
.lgx-lede { margin: 18px 0 0; max-width: 62ch; font-size: clamp(1.04rem, .98rem + .35vw, 1.2rem); line-height: 1.65; color: var(--lgx-ink-soft); text-wrap: pretty; }
.lgx-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-block-start: 26px; }
.lgx-chip { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 999px; background: #fff; border: 1px solid var(--lgx-line-2); font: 500 .84rem/1.2 var(--lgx-sans); color: var(--lgx-muted); box-shadow: 0 1px 2px rgba(20, 22, 28, .04); }
.lgx-chip svg { color: var(--lgx-gold); flex: none; }
.lgx-chip strong { color: var(--lgx-ink); font-weight: 600; }
.lgx-chip-ver { background: var(--lgx-blush-2); border-color: #f2d3da; color: var(--lgx-crimson); font-weight: 600; }
.lgx-print { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--lgx-crimson); background: transparent; color: var(--lgx-crimson); font: 600 .84rem/1.2 var(--lgx-sans); cursor: pointer; transition: background .15s, color .15s; }
.lgx-print:hover, .lgx-print:focus-visible { background: var(--lgx-crimson); color: #fff; }
.lgx-print:focus-visible, .lgx a:focus-visible, .lgx summary:focus-visible { outline: 3px solid rgba(176, 122, 79, .45); outline-offset: 2px; }
.lgx-note { margin: 18px 0 0; padding: 10px 14px; max-width: 62ch; border-radius: 10px; background: #fff; border: 1px dashed var(--lgx-line-2); font-size: .88rem; color: var(--lgx-ink-soft); }

/* ---------- Layout ---------- */
.lgx-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; padding-block: clamp(26px, 4vw, 56px) clamp(48px, 7vw, 96px); }
.lgx-aside { display: none; }
.lgx-main { min-width: 0; max-width: 72ch; }
@media (min-width: 1024px) {
    .lgx-layout { grid-template-columns: 250px minmax(0, 1fr); gap: clamp(48px, 5vw, 80px); }
    .lgx-aside { display: block; }
    .lgx-toc-m { display: none !important; }
}

/* ---------- Table of contents (desktop) ---------- */
.lgx-toc { position: sticky; inset-block-start: var(--lgx-head); max-block-size: calc(100vh - var(--lgx-head) - 24px); overflow-y: auto; padding-inline-end: 6px; scrollbar-width: thin; }
.lgx-toc-h { margin: 0 0 14px; font: 700 .72rem/1 var(--lgx-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--lgx-gold); }
.lgx-toc ol, .lgx-toc-m ol { list-style: none; margin: 0; padding: 0; counter-reset: lgxtoc; }
.lgx-toc li { counter-increment: lgxtoc; }
.lgx-toc a { display: block; padding: 7px 12px; border-inline-start: 2px solid var(--lgx-line); color: var(--lgx-muted); font-size: .9rem; line-height: 1.4; text-decoration: none; transition: color .15s, border-color .15s, background .15s; }
.lgx-toc a:hover { color: var(--lgx-ink); border-inline-start-color: var(--lgx-line-2); }
.lgx-toc a[aria-current="true"] { color: var(--lgx-crimson); font-weight: 600; border-inline-start-color: var(--lgx-crimson-2); background: linear-gradient(90deg, var(--lgx-blush), transparent); }
[dir="rtl"] .lgx-toc a[aria-current="true"] { background: linear-gradient(270deg, var(--lgx-blush), transparent); }
.lgx-toc-top { display: inline-block; margin-block-start: 18px; font: 600 .82rem/1 var(--lgx-sans); color: var(--lgx-muted); text-decoration: none; }
.lgx-toc-top:hover { color: var(--lgx-crimson); }
.lgx-autonum .lgx-toc a::before, .lgx-autonum .lgx-toc-m a::before { content: counter(lgxtoc) ". "; font-variant-numeric: tabular-nums; color: #b9a3a8; }

/* ---------- Table of contents (mobile) ---------- */
.lgx-toc-m { margin: 0 0 22px; border: 1px solid var(--lgx-line-2); border-radius: 14px; background: #fff; box-shadow: 0 1px 2px rgba(20, 22, 28, .04); }
.lgx-toc-m summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; cursor: pointer; list-style: none; font: 600 .95rem/1.2 var(--lgx-sans); color: var(--lgx-ink); }
.lgx-toc-m summary::-webkit-details-marker { display: none; }
.lgx-toc-m summary svg { color: var(--lgx-crimson); transition: transform .2s; }
.lgx-toc-m[open] summary svg { transform: rotate(180deg); }
.lgx-toc-m ol { padding: 0 10px 12px; border-block-start: 1px solid var(--lgx-line); padding-block-start: 8px; }
.lgx-toc-m li { counter-increment: lgxtoc; }
.lgx-toc-m a { display: block; padding: 9px 10px; border-radius: 8px; color: var(--lgx-ink-soft); font-size: .94rem; line-height: 1.4; text-decoration: none; }
.lgx-toc-m a:hover, .lgx-toc-m a[aria-current="true"] { background: var(--lgx-blush); color: var(--lgx-crimson); }

/* ---------- Summary ---------- */
.lgx-summary { position: relative; margin: 0 0 clamp(36px, 5vw, 56px); padding: clamp(20px, 3.4vw, 32px); border-radius: 20px; background: linear-gradient(180deg, var(--lgx-blush) 0%, #fff 100%); border: 1px solid #f3dce1; box-shadow: 0 1px 2px rgba(20, 22, 28, .03), 0 18px 40px -24px rgba(125, 13, 36, .25); }
.lgx-summary::before { content: ""; position: absolute; inset-block-start: -1px; inset-inline: 24px; block-size: 3px; border-radius: 0 0 3px 3px; background: linear-gradient(90deg, var(--lgx-crimson-2), var(--lgx-gold)); }
.lgx-summary-head { display: flex; align-items: center; gap: 12px; margin-block-end: 16px; }
.lgx-summary-ico { display: grid; place-items: center; inline-size: 38px; block-size: 38px; border-radius: 12px; background: var(--lgx-crimson); color: #fff; flex: none; }
.lgx-summary h2 { margin: 0; font-family: var(--lgx-serif); font-weight: 600; font-size: clamp(1.25rem, 1.1rem + .5vw, 1.45rem); color: var(--lgx-ink); }
.lgx-summary ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.lgx-summary li { position: relative; padding-inline-start: 32px; line-height: 1.62; color: var(--lgx-ink); }
.lgx-summary li::before { content: ""; position: absolute; inset-inline-start: 0; inset-block-start: .2em; inline-size: 20px; block-size: 20px; border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b3122e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat; border: 1px solid #f0cbd3; }
.lgx-summary a { color: var(--lgx-crimson-2); text-underline-offset: 3px; }
.lgx-summary strong { color: var(--lgx-ink); font-weight: 650; }
.lgx-summary-foot { margin: 16px 0 0; font-size: .86rem; color: var(--lgx-muted); }

/* ---------- Body ---------- */
.lgx-body { font-size: 1.04rem; line-height: 1.78; color: var(--lgx-ink-soft); counter-reset: lgxsec; }
.lgx .legal-sec { scroll-margin-top: calc(var(--lgx-head) + 8px); padding: 0; margin: 0 0 clamp(38px, 5vw, 54px); border: 0; counter-increment: lgxsec; }
.lgx .legal-sec + .legal-sec { padding-block-start: clamp(34px, 5vw, 50px); border-block-start: 1px solid var(--lgx-line); }
.lgx .legal-sec h2 { position: relative; margin: 0 0 16px; font-family: var(--lgx-serif); font-weight: 600; font-size: clamp(1.4rem, 1.2rem + .8vw, 1.85rem); line-height: 1.2; letter-spacing: -.01em; color: var(--lgx-ink); text-wrap: balance; }
.lgx-autonum .legal-sec h2::before { content: counter(lgxsec, decimal-leading-zero); display: block; margin-block-end: 8px; font: 700 .78rem/1 var(--lgx-sans); letter-spacing: .12em; color: var(--lgx-gold); }
.lgx .legal-sec h3 { margin: 22px 0 8px; font-size: 1.06rem; color: var(--lgx-ink); }
.lgx .legal-sec p { margin: 0 0 14px; }
.lgx .legal-sec strong { color: var(--lgx-ink); font-weight: 650; }
.lgx .legal-sec a { color: var(--lgx-crimson-2); text-decoration: underline; text-decoration-color: rgba(179, 18, 46, .35); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.lgx .legal-sec a:hover { text-decoration-color: currentColor; }

.lgx .legal-sec ul { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; }
.lgx .legal-sec ul > li { position: relative; padding-inline-start: 24px; }
.lgx .legal-sec ul > li::before { content: ""; position: absolute; inset-inline-start: 4px; inset-block-start: .72em; inline-size: 7px; block-size: 7px; border-radius: 50%; background: var(--lgx-crimson-2); }
.lgx .legal-sec ol { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 12px; counter-reset: lgxol; }
.lgx .legal-sec ol > li { position: relative; padding-inline-start: 42px; counter-increment: lgxol; min-block-size: 28px; }
.lgx .legal-sec ol > li::before { content: counter(lgxol); position: absolute; inset-inline-start: 0; inset-block-start: .1em; display: grid; place-items: center; inline-size: 28px; block-size: 28px; border-radius: 50%; background: var(--lgx-blush-2); color: var(--lgx-crimson); font: 700 .82rem/1 var(--lgx-sans); }

/* Heading anchor (added by legal.js) */
.lgx-anchor { display: inline-grid; place-items: center; inline-size: 30px; block-size: 30px; margin-inline-start: 8px; vertical-align: middle; border-radius: 8px; border: 0; background: transparent; color: #c2a9ae; cursor: pointer; opacity: 0; transition: opacity .15s, color .15s, background .15s; }
.lgx .legal-sec h2:hover .lgx-anchor, .lgx-anchor:focus-visible { opacity: 1; }
.lgx-anchor:hover { color: var(--lgx-crimson); background: var(--lgx-blush-2); }
@media (hover: none) { .lgx-anchor { opacity: .7; } }

/* Callouts */
.lgx .legal-callout { position: relative; margin: 8px 0 18px; padding: 16px 18px 16px 52px; padding-inline: 52px 18px; border-radius: 14px; background: var(--lgx-blush); border: 1px solid #f3dce1; border-inline-start: 4px solid var(--lgx-crimson-2); color: var(--lgx-ink); line-height: 1.65; }
.lgx .legal-callout::before { content: "i"; position: absolute; inset-inline-start: 16px; inset-block-start: 16px; display: grid; place-items: center; inline-size: 22px; block-size: 22px; border-radius: 50%; background: var(--lgx-crimson-2); color: #fff; font: italic 700 .8rem/1 var(--lgx-serif); }
.lgx .legal-callout.is-warn { background: var(--lgx-warn-bg); border-color: var(--lgx-warn-line); border-inline-start-color: #c27a1a; color: var(--lgx-warn-ink); }
.lgx .legal-callout.is-warn::before { content: "!"; background: #c27a1a; font-style: normal; font-family: var(--lgx-sans); }
.lgx .legal-callout.is-warn strong { color: #5c3509; }

/* Tables */
.lgx .legal-table-wrap { margin: 10px 0 20px; border: 1px solid var(--lgx-line-2); border-radius: 14px; background: #fff; overflow-x: auto; box-shadow: 0 1px 2px rgba(20, 22, 28, .03); }
.lgx .legal-table { inline-size: 100%; border-collapse: collapse; font-size: .95rem; line-height: 1.55; }
.lgx .legal-table th, .lgx .legal-table td { padding: 13px 16px; text-align: start; vertical-align: top; border-block-end: 1px solid var(--lgx-line); }
.lgx .legal-table thead th { background: var(--lgx-blush); color: var(--lgx-crimson); font: 700 .78rem/1.3 var(--lgx-sans); letter-spacing: .06em; text-transform: uppercase; }
.lgx .legal-table tbody td:first-child { color: var(--lgx-ink); font-weight: 600; }
.lgx .legal-table tbody tr:nth-child(even) td { background: #fffbfb; }
.lgx .legal-table tbody tr:last-child td { border-block-end: 0; }
@media (max-width: 640px) {
    .lgx .legal-table-wrap { border: 0; background: transparent; box-shadow: none; overflow: visible; }
    .lgx .legal-table thead { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .lgx .legal-table, .lgx .legal-table tbody, .lgx .legal-table tr, .lgx .legal-table td { display: block; inline-size: 100%; }
    .lgx .legal-table tr { margin-block-end: 12px; border: 1px solid var(--lgx-line-2); border-radius: 14px; background: #fff; overflow: hidden; }
    .lgx .legal-table tbody tr:nth-child(even) td { background: transparent; }
    .lgx .legal-table td { border-block-end: 1px solid var(--lgx-line); padding: 11px 14px; }
    .lgx .legal-table td:first-child { background: var(--lgx-blush) !important; }
    .lgx .legal-table td[data-label]:not(:first-child)::before { content: attr(data-label); display: block; margin-block-end: 2px; font: 700 .7rem/1.3 var(--lgx-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--lgx-gold); }
}

/* Definition lists (if a page uses one) */
.lgx .legal-sec dl { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px 20px; margin: 0 0 16px; }
.lgx .legal-sec dt { color: var(--lgx-ink); font-weight: 650; }
.lgx .legal-sec dd { margin: 0 0 10px; }
@media (min-width: 640px) { .lgx .legal-sec dl { grid-template-columns: 12em minmax(0, 1fr); } .lgx .legal-sec dd { margin: 0; } }

/* Related reading (partials.related-reading) inside the body */
.lgx-body .rr { margin: 8px 0 0; padding: 18px 20px; border-radius: 14px; border: 1px solid var(--lgx-line); background: #fff; }

/* ---------- Contact ---------- */
.lgx-contact { margin-block-start: clamp(24px, 4vw, 40px); padding: clamp(22px, 3.6vw, 34px); border-radius: 22px; color: #fbe9ec; background: radial-gradient(30rem 14rem at 100% 0%, rgba(176, 122, 79, .35), transparent 60%), linear-gradient(135deg, #5a0819 0%, var(--lgx-crimson) 55%, #95102b 100%); box-shadow: 0 24px 50px -28px rgba(125, 13, 36, .6); }
.lgx-contact h2 { margin: 0 0 6px; font-family: var(--lgx-serif); font-weight: 600; font-size: clamp(1.4rem, 1.2rem + .6vw, 1.7rem); color: #fff; }
.lgx-contact > p { margin: 0 0 18px; color: rgba(255, 255, 255, .82); line-height: 1.6; }
.lgx-contact-grid { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.lgx-contact-grid li { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); min-width: 0; }
.lgx-contact-l { font: 600 .74rem/1.3 var(--lgx-sans); letter-spacing: .08em; text-transform: uppercase; color: #e9c7a6; }
.lgx-contact-grid a { color: #fff; font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.lgx-contact-grid a:hover { text-decoration: underline; text-underline-offset: 3px; }
.lgx-operator { margin: 0; padding-block-start: 16px; border-block-start: 1px solid rgba(255, 255, 255, .16); font-size: .84rem; line-height: 1.6; color: rgba(255, 255, 255, .7); }

/* ---------- Related policies / hub cards ---------- */
.lgx-related { padding-block: clamp(40px, 6vw, 72px); background: linear-gradient(180deg, #fff 0%, var(--lgx-blush) 100%); border-block-start: 1px solid var(--lgx-line); }
.lgx-related-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 20px; margin-block-end: 22px; }
.lgx-related-head h2 { margin: 0; font-family: var(--lgx-serif); font-weight: 600; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); color: var(--lgx-ink); }
.lgx-related-head a { font: 600 .9rem/1 var(--lgx-sans); color: var(--lgx-crimson); text-decoration: none; }
.lgx-related-head a:hover { text-decoration: underline; text-underline-offset: 3px; }
.lgx-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.lgx-card { display: flex; flex-direction: column; gap: 8px; block-size: 100%; padding: 22px; border-radius: 18px; background: #fff; border: 1px solid var(--lgx-line-2); color: var(--lgx-ink-soft); text-decoration: none; box-shadow: 0 1px 2px rgba(20, 22, 28, .04); transition: transform .18s, box-shadow .18s, border-color .18s; }
.lgx-card:hover { transform: translateY(-2px); border-color: #e9c3cb; box-shadow: 0 18px 36px -22px rgba(125, 13, 36, .35); }
.lgx-card-ico { display: grid; place-items: center; inline-size: 44px; block-size: 44px; margin-block-end: 6px; border-radius: 13px; background: var(--lgx-blush-2); color: var(--lgx-crimson); }
.lgx-card-t { font-family: var(--lgx-serif); font-weight: 600; font-size: 1.2rem; line-height: 1.25; color: var(--lgx-ink); }
.lgx-card-t::after { content: " →"; color: var(--lgx-gold); transition: margin .15s; }
[dir="rtl"] .lgx-card-t::after { content: " ←"; }
.lgx-card-d { font-size: .92rem; line-height: 1.55; color: var(--lgx-muted); flex: 1; }
.lgx-card-u { margin-block-start: 6px; padding-block-start: 12px; border-block-start: 1px solid var(--lgx-line); font-size: .78rem; color: var(--lgx-muted); }

.lgx-hub-body { padding-block: clamp(30px, 5vw, 60px) clamp(48px, 7vw, 96px); }
.lgx-hub-body .lgx-contact { max-width: 880px; margin-block-start: clamp(36px, 5vw, 60px); }

/* ---------- Floating helpers ---------- */
.lgx-totop { position: fixed; inset-inline-start: 18px; inset-block-end: 18px; z-index: 40; display: grid; place-items: center; inline-size: 44px; block-size: 44px; border-radius: 50%; background: #fff; color: var(--lgx-crimson); border: 1px solid var(--lgx-line-2); box-shadow: 0 10px 24px -10px rgba(20, 22, 28, .3); text-decoration: none; }
.lgx-totop[hidden] { display: none; }
.lgx-totop:hover { background: var(--lgx-crimson); color: #fff; }
.lgx-toast { position: fixed; inset-inline-start: 50%; inset-block-end: 24px; z-index: 60; transform: translate(-50%, 20px); padding: 10px 18px; border-radius: 999px; background: var(--lgx-ink); color: #fff; font: 600 .86rem/1.2 var(--lgx-sans); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
[dir="rtl"] .lgx-toast { transform: translate(50%, 20px); }
.lgx-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
[dir="rtl"] .lgx-toast.is-on { transform: translate(50%, 0); }

/* ---------- RTL type ---------- */
[lang="ur"] .lgx-eyebrow, [lang="ur"] .lgx-toc-h, [lang="ur"] .lgx-contact-l, [lang="ur"] .lgx .legal-table thead th { letter-spacing: 0; text-transform: none; }
[lang="ur"] .lgx-title, [lang="ur"] .lgx .legal-sec h2, [lang="ur"] .lgx-summary h2 { letter-spacing: 0; line-height: 1.6; }
[lang="ur"] .lgx-body, [lang="ur"] .lgx-summary li { line-height: 2.1; }

@media (prefers-reduced-motion: reduce) { .lgx * { transition: none !important; } html { scroll-behavior: auto; } }

/* ---------- Print / PDF ---------- */
@media print {
    @page { margin: 18mm 16mm; }
    .site-header, .site-footer, .skip-link, .lgx-crumbs, .lgx-aside, .lgx-toc-m, .lgx-print, .lgx-related, .lgx-totop, .lgx-toast, .lgx-anchor, .lgx-body .rr, #rd-incoming,
    [class*="assistant"], [class*="consent"], .cookie-bar { display: none !important; }
    body, .lgx, .lgx-hero { background: #fff !important; color: #000 !important; }
    .lgx-hero { padding: 0 0 12px; border-block-end: 2px solid #000; }
    .lgx-layout { display: block; padding: 12px 0 0; }
    .lgx-main { max-width: none; }
    .lgx-title { font-size: 24pt; color: #000; }
    .lgx-body { font-size: 11pt; line-height: 1.55; color: #000; }
    .lgx-chip { border: 1px solid #999; box-shadow: none; }
    .lgx-summary, .lgx .legal-callout, .lgx .legal-table-wrap { box-shadow: none; background: #fff !important; border: 1px solid #999; break-inside: avoid; }
    .lgx-summary::before { display: none; }
    .lgx .legal-sec { break-inside: auto; }
    .lgx .legal-sec h2 { break-after: avoid; color: #000; }
    .lgx .legal-sec a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; }
    .lgx-contact { background: #fff !important; color: #000 !important; border: 1px solid #999; box-shadow: none; }
    .lgx-contact h2, .lgx-contact > p, .lgx-contact-grid a, .lgx-contact-l, .lgx-operator { color: #000 !important; }
    .lgx-contact-grid li { background: #fff; border-color: #bbb; }
}
