/* ==========================================================================
   Compliance layout (data-sol-layout="compliance")
   Legal-reference page: rules-at-a-glance hero panel, sticky numbered TOC,
   rule boxes with citation chips, consent decision flow, wording examples,
   opt-out timeline, state table, penalties, records, printable checklist.
   Loaded after /css/solutions.css.
   ========================================================================== */

/* Hero: legal line + rules-at-a-glance panel */
.cmp-hero .sol-hero-copy .cmp-legal { margin: 18px 0 0; display: flex; gap: 10px; align-items: flex-start; max-width: 620px; padding: 12px 16px; border-radius: 14px; background: rgba(255, 196, 61, .1); border: 1px solid rgba(255, 196, 61, .35); color: #ffe7a8; font-size: .9rem; line-height: 1.5; }
.cmp-hero .cmp-legal .i { width: 18px; height: 18px; flex: none; margin-top: 2px; color: #ffc43d; }
.cmp-hero .cmp-legal b { color: #fff3cf; }
.cmp-glance { background: rgba(255, 255, 255, .05); border: 1px solid var(--dark-line, rgba(255,255,255,.12)); border-radius: 22px; padding: 22px; backdrop-filter: blur(6px); }
.cmp-glance-title { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 14px; }
.cmp-glance-title b { font-family: var(--display); color: #fff; font-size: 1.05rem; }
.cmp-glance-title small { color: var(--dark-text, #c9d6ea); font-size: .76rem; }
.cmp-glance dl { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; }
.cmp-glance dl > div { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); border-radius: 14px; padding: 14px; }
.cmp-glance dt { font-family: var(--display); font-weight: 800; color: #fff; font-size: 1.3rem; line-height: 1.15; }
.cmp-glance dd { margin: 4px 0 0; color: var(--dark-text, #c9d6ea); font-size: .82rem; line-height: 1.4; }
.cmp-glance dd a { color: #9cc3f7; }

/* Reference layout */
.cmp-ref { padding: 64px 0 24px; }
@media (min-width: 961px) { .cmp-ref .doc-layout { grid-template-columns: 240px minmax(0, 1fr); } }
@media (max-width: 960px) { .cmp-ref .doc-layout { grid-template-columns: minmax(0, 1fr); } .cmp-hero .cmp-legal { text-align: left; margin-left: auto; margin-right: auto; } }
.cmp-main { min-width: 0; }
.cmp-sec { scroll-margin-top: 96px; padding: 0 0 56px; margin: 0 0 56px; border-bottom: 1px solid var(--line); }
.cmp-sec:last-child { border-bottom: 0; margin-bottom: 0; }
.cmp-sec-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.cmp-num { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--dark); color: #fff; font-family: var(--display); font-weight: 800; font-size: .95rem; }
.cmp-sec-head h2 { margin: 2px 0 4px; font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.cmp-sec-head p { margin: 0; color: var(--muted); }
.cmp-main > .cmp-sec p, .cmp-main > .cmp-sec li { line-height: 1.7; }
.cmp-main ul.cmp-list { margin: 0 0 1em; padding-left: 20px; list-style: disc; display: grid; gap: 6px; }

/* Rule box with citation chip */
.cmp-rule { position: relative; margin: 0 0 18px; padding: 18px 20px 18px 22px; border-radius: 0 16px 16px 0; background: var(--soft); border-left: 4px solid var(--brand); }
.cmp-rule-label { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin-bottom: 6px; }
.cmp-rule p { margin: 0 0 10px; color: var(--ink); }
.cmp-rule p:last-of-type { margin-bottom: 8px; }
.cmp-cite { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .78rem; font-weight: 700; color: var(--body); text-decoration: none; margin: 2px 6px 2px 0; }
.cmp-cite .i { width: 13px; height: 13px; color: var(--brand); }
.cmp-cite:hover { border-color: var(--brand); color: var(--brand); }
.cmp-rule--warn { border-left-color: #d97706; background: #fff8ec; }
.cmp-rule--warn .cmp-rule-label { color: #b45309; }
.cmp-rule--site { border-left-color: #7c5cff; background: #f6f3ff; }
.cmp-rule--site .cmp-rule-label { color: #6a4be0; }

/* Tables inside the reference */
.cmp-main .table-wrap { margin: 0 0 18px; }
.cmp-main .table td b { color: var(--ink); }
.cmp-tag { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: .74rem; font-weight: 800; white-space: nowrap; }
.cmp-tag--info { background: #e8f1fe; color: #1565d8; }
.cmp-tag--mkt { background: #fff1e6; color: #c2410c; }
.cmp-tag--no { background: #fdecec; color: #c0262d; }

/* Anatomy of a valid sign-up */
.cmp-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 26px; align-items: start; margin: 8px 0 18px; }
.cmp-form-mock { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px; box-shadow: var(--shadow); }
.cmp-form-mock .fld { height: 38px; border-radius: 10px; background: var(--soft); border: 1px solid var(--line); margin-bottom: 10px; display: flex; align-items: center; padding: 0 12px; color: var(--muted); font-size: .86rem; }
.cmp-form-mock label { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: .88rem; line-height: 1.55; color: var(--ink); margin: 6px 0 14px; }
.cmp-form-mock .box { width: 18px; height: 18px; border: 2px solid #94a3b8; border-radius: 4px; margin-top: 3px; background: #fff; }
.cmp-form-mock mark { background: none; border-bottom: 2px solid var(--c); padding: 0 1px; }
.cmp-form-mock sup { color: var(--c); font-weight: 800; font-size: .68rem; }
.cmp-form-mock .btn { width: 100%; justify-content: center; pointer-events: none; }
.cmp-form-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.cmp-form-list li { display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: start; font-size: .94rem; line-height: 1.5; color: var(--body); }
.cmp-form-list .n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--c); color: #fff; font-weight: 800; font-size: .84rem; }
.cmp-form-list b { color: var(--ink); }
.cmp-form-list small { display: block; color: var(--muted); font-size: .8rem; margin-top: 2px; }
@media (max-width: 760px) { .cmp-form { grid-template-columns: 1fr; } }

/* Decision flow */
.cmp-flow { background: var(--dark); color: var(--dark-text, #c9d6ea); border-radius: 22px; padding: 26px; margin: 8px 0 22px; position: relative; overflow: hidden; }
.cmp-flow-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.cmp-flow-head b { font-family: var(--display); color: #fff; font-size: 1.05rem; }
.cmp-flow-reset { background: transparent; border: 1px solid rgba(255,255,255,.25); color: #fff; border-radius: 999px; padding: 6px 14px; font-weight: 700; font-size: .8rem; cursor: pointer; }
.cmp-flow-trail { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; min-height: 0; }
.cmp-flow-trail span { font-size: .76rem; padding: 3px 10px; border-radius: 999px; background: rgba(255,255,255,.08); color: #cfe0f7; }
.cmp-node { padding: 18px; border-radius: 16px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); margin-bottom: 12px; }
.cmp-node h3 { color: #fff; font-size: 1.04rem; margin: 0 0 6px; }
.cmp-node p { margin: 0 0 12px; font-size: .92rem; line-height: 1.55; }
.cmp-node-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.cmp-node-opts button { border: 0; border-radius: 999px; padding: 9px 18px; font-weight: 700; cursor: pointer; background: #fff; color: var(--ink); }
.cmp-node-opts button + button { background: rgba(255,255,255,.12); color: #fff; }
.cmp-node-opts .cmp-static { font-size: .8rem; color: #9fb3cf; }
.cmp-node--result { border-width: 1px 1px 1px 4px; }
.cmp-node--ok { border-color: rgba(18,161,80,.5); border-left-color: #22c55e; background: rgba(34,197,94,.08); }
.cmp-node--stop { border-color: rgba(224,90,79,.5); border-left-color: #f87171; background: rgba(248,113,113,.08); }
.cmp-node--result .cmp-res-tag { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 6px; }
.cmp-node--ok .cmp-res-tag { color: #4ade80; } .cmp-node--stop .cmp-res-tag { color: #fca5a5; }
.cmp-flow.is-live .cmp-node { display: none; }
.cmp-flow.is-live .cmp-node.is-current { display: block; animation: cmpIn .25s ease; }
.cmp-flow:not(.is-live) .cmp-flow-reset, .cmp-flow:not(.is-live) .cmp-node-opts button { display: none; }
.cmp-flow.is-live .cmp-static { display: none; }
@keyframes cmpIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Wording examples */
.cmp-ex { display: grid; gap: 14px; margin: 8px 0 8px; }
.cmp-ex-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cmp-ex-card { border-radius: 16px; padding: 16px 18px; border: 1px solid var(--line); }
.cmp-ex-card--bad { background: #fff6f5; border-color: #f6d3cf; }
.cmp-ex-card--good { background: #f1fbf5; border-color: #c4efd5; }
.cmp-ex-tag { display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 8px; }
.cmp-ex-card--bad .cmp-ex-tag { color: #c2410c; } .cmp-ex-card--good .cmp-ex-tag { color: #12a150; }
.cmp-ex-tag .i { width: 14px; height: 14px; stroke-width: 3; }
.cmp-ex-card blockquote { margin: 0 0 8px; padding: 10px 12px; background: #fff; border-radius: 10px; font-size: .9rem; line-height: 1.55; color: var(--ink); border: 1px dashed var(--line); }
.cmp-ex-card p { margin: 0; font-size: .85rem; color: var(--muted); line-height: 1.5; }
.cmp-ex-label { font-weight: 800; font-size: .86rem; color: var(--ink); margin: 6px 0 -4px; }
@media (max-width: 760px) { .cmp-ex-row { grid-template-columns: 1fr; } }

/* Opt-out timeline */
.cmp-tl { list-style: none; margin: 8px 0 18px; padding: 0; position: relative; display: grid; gap: 14px; }
.cmp-tl::before { content: ""; position: absolute; left: 19px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--brand), #c7d8f0); }
.cmp-tl li { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.cmp-tl .dot { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--brand); color: var(--brand); position: relative; z-index: 1; }
.cmp-tl .dot .i { width: 18px; height: 18px; }
.cmp-tl small { display: inline-block; font-weight: 800; font-size: .74rem; color: var(--brand); background: var(--brand-soft); padding: 2px 9px; border-radius: 999px; margin-bottom: 4px; }
.cmp-tl b { display: block; color: var(--ink); }
.cmp-tl p { margin: 2px 0 0; font-size: .93rem; color: var(--muted); }
.cmp-tl .is-stop .dot { border-color: #e05a4f; color: #e05a4f; }

/* Penalty + records cards */
.cmp-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 8px 0 18px; }
.cmp-card { border: 1px solid var(--line); border-radius: 16px; padding: 18px; background: #fff; }
.cmp-card .big { font-family: var(--display); font-weight: 800; font-size: 1.6rem; color: var(--ink); line-height: 1.1; display: block; margin-bottom: 6px; }
.cmp-card p { margin: 0; font-size: .9rem; color: var(--muted); line-height: 1.5; }
@media (max-width: 760px) { .cmp-cards { grid-template-columns: 1fr; } }
.cmp-keep { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; margin: 8px 0 18px; padding: 0; list-style: none; }
.cmp-keep li { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: var(--soft); border: 1px solid var(--line); font-size: .9rem; line-height: 1.45; }
.cmp-keep .i { width: 18px; height: 18px; color: var(--brand); flex: none; margin-top: 1px; }

/* VoidFix helps: rule -> feature map */
.cmp-map { display: grid; gap: 10px; margin: 8px 0 18px; }
.cmp-map-row { display: grid; grid-template-columns: minmax(0, 1fr) 32px minmax(0, 1.2fr); align-items: center; gap: 10px; }
.cmp-map-row > div { padding: 14px 16px; border-radius: 14px; font-size: .92rem; line-height: 1.5; }
.cmp-map-rule { background: var(--soft); border: 1px solid var(--line); color: var(--ink); font-weight: 600; }
.cmp-map-feat { background: #fff; border: 1px solid #cfe1fb; box-shadow: var(--shadow); color: var(--body); }
.cmp-map-feat b { color: var(--ink); }
.cmp-map-row > .i { color: var(--brand); width: 22px; height: 22px; justify-self: center; }
.cmp-cant { margin: 0; padding: 16px 18px; border-radius: 14px; background: #fff8ec; border: 1px solid #fbe0ad; font-size: .92rem; color: var(--body); }
@media (max-width: 760px) { .cmp-map-row { grid-template-columns: 1fr; } .cmp-map-row > .i { transform: rotate(90deg); } }

/* Printable checklist */
.cmp-check { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px; box-shadow: var(--shadow); margin: 8px 0 18px; }
.cmp-check-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.cmp-check-head b { font-family: var(--display); color: var(--ink); font-size: 1.05rem; }
.cmp-check-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.cmp-check h3 { font-size: .82rem; text-transform: uppercase; letter-spacing: .07em; color: var(--brand); margin: 12px 0 8px; }
.cmp-check ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.cmp-check li label { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: .9rem; line-height: 1.45; color: var(--body); cursor: pointer; }
.cmp-check input { width: 17px; height: 17px; margin-top: 2px; accent-color: var(--brand); }
.cmp-check-note { margin: 14px 0 0; font-size: .8rem; color: var(--muted); }
@media (max-width: 860px) { .cmp-check-cols { grid-template-columns: 1fr; } }
.cmp-tool-wrap { margin-top: 18px; }
.cmp-tool-wrap > summary { cursor: pointer; font-weight: 700; color: var(--brand); padding: 8px 0; }

/* Sources list */
.cmp-sources { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.cmp-sources li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; font-size: .9rem; line-height: 1.5; }
.cmp-sources .i { width: 16px; height: 16px; color: var(--muted); margin-top: 3px; }
.cmp-sources small { color: var(--muted); }
.cmp-sources-h { font-size: .8rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin: 18px 0 8px; }

/* Mobile TOC as a compact block */
@media (max-width: 960px) { .cmp-ref .toc ol { grid-template-columns: 1fr 1fr; border-left: 0; } .cmp-ref .toc a { border-left: 0; margin-left: 0; } .cmp-ref { padding-top: 40px; } }
@media (max-width: 520px) { .cmp-ref .toc ol { grid-template-columns: 1fr; } .cmp-glance dl { grid-template-columns: 1fr 1fr; } .cmp-glance dt { font-size: 1.1rem; } }

/* Print: only the checklist */
@media print {
  body[data-sol-layout="compliance"] main > *:not(.cmp-ref) { display: none !important; }
  body[data-sol-layout="compliance"] .toc, body[data-sol-layout="compliance"] .cmp-sec:not(#checklist) { display: none !important; }
  body[data-sol-layout="compliance"] .doc-layout { display: block; }
  body[data-sol-layout="compliance"] #checklist { border: 0; padding: 0; margin: 0; }
  body[data-sol-layout="compliance"] .cmp-check { box-shadow: none; border: 0; padding: 0; }
  body[data-sol-layout="compliance"] .cmp-check-cols { grid-template-columns: 1fr; }
  body[data-sol-layout="compliance"] .cmp-tool-wrap, body[data-sol-layout="compliance"] [data-cmp-print] { display: none !important; }
}
.cmp-ref .toc .toc-cta a::before { content: none; }

/* Result kind: warn (decision flow) */
.cmp-node--warn { border-color: rgba(217,119,6,.5); border-left-color: #f59e0b; background: rgba(245,158,11,.08); }
.cmp-node--warn .cmp-res-tag { color: #fcd34d; }
.cmp-h3 { font-size: 1.08rem; margin: 22px 0 10px; }
.cmp-cap { font-weight: 800; font-size: .86rem; color: var(--ink); margin: 6px 0 8px; }

/* Reply sorter: "is this an opt-out?" */
.cmp-sort { background: var(--dark); color: var(--dark-text, #c9d6ea); border-radius: 22px; padding: 26px; margin: 8px 0 22px; }
.cmp-sort-score { font-size: .8rem; color: #9fb3cf; }
.cmp-sort-lead { margin: 0 0 16px; font-size: .92rem; line-height: 1.55; color: var(--dark-text, #c9d6ea); }
.cmp-sort-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: srt; }
.cmp-sort-item { padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); display: grid; gap: 10px; }
.cmp-sort-item q { color: #fff; font-weight: 700; font-size: 1rem; quotes: "\201C" "\201D"; }
.cmp-sort-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.cmp-sort-opts button { border: 1px solid rgba(255,255,255,.22); border-radius: 999px; padding: 7px 14px; font-weight: 700; font-size: .84rem; cursor: pointer; background: rgba(255,255,255,.08); color: #fff; }
.cmp-sort-opts button[aria-pressed="true"] { background: #fff; color: var(--ink); }
.cmp-sort-why { font-size: .9rem; line-height: 1.55; }
.cmp-sort-verdict { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: 2px 9px; border-radius: 999px; margin-right: 6px; }
.cmp-sort-verdict--optout { background: rgba(248,113,113,.18); color: #fca5a5; }
.cmp-sort-verdict--not { background: rgba(34,197,94,.16); color: #86efac; }
.cmp-sort-verdict--ask { background: rgba(245,158,11,.18); color: #fcd34d; }
.cmp-sort-res { font-weight: 700; color: #fff; margin-right: 4px; }
.cmp-sort:not(.is-live) .cmp-sort-opts { display: none; }
.cmp-sort.is-live .cmp-sort-item:not(.is-answered) .cmp-sort-why { display: none; }
.cmp-sort-item.is-right { border-color: rgba(34,197,94,.5); }
.cmp-sort-item.is-wrong { border-color: rgba(245,158,11,.55); }

/* Send-time checker */
.cmp-tc { background: var(--dark); color: var(--dark-text, #c9d6ea); border-radius: 22px; padding: 26px; margin: 8px 0 22px; }
.cmp-tc-form { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.cmp-tc-form label { display: grid; gap: 6px; font-size: .78rem; font-weight: 700; color: #cfe0f7; }
.cmp-tc-form select, .cmp-tc-form input { width: 100%; min-width: 0; padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.08); color: #fff; font: inherit; font-size: .92rem; color-scheme: dark; }
.cmp-tc-form select option { color: #111; }
.cmp-tc:not(.is-live) .cmp-tc-form { display: none; }
.cmp-tc-out { padding: 16px 18px; border-radius: 16px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-left-width: 4px; }
.cmp-tc.is-ok .cmp-tc-out { border-left-color: #22c55e; }
.cmp-tc.is-no .cmp-tc-out { border-left-color: #f87171; }
.cmp-tc-out p { margin: 0 0 10px; font-size: .94rem; line-height: 1.55; }
.cmp-tc-when b { color: #fff; }
.cmp-tc-list { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 6px; font-size: .9rem; }
.cmp-tc-list li.is-ok b { color: #86efac; }
.cmp-tc-list li.is-no b { color: #fca5a5; }
.cmp-tc-note { color: #9fb3cf; font-size: .86rem !important; }
.cmp-tc-fix { color: #fde68a; font-weight: 600; margin-bottom: 0 !important; }
@media (max-width: 860px) { .cmp-tc-form { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .cmp-tc-form { grid-template-columns: 1fr; } .cmp-sort, .cmp-tc, .cmp-flow { padding: 18px; } }

/* ==========================================================================
   Design variants (.lx wrapper, set when a page has PAGE["design"]). Catalog: tools/sol/layouts/compliance_design.py
   ========================================================================== */

/* ---------- Themes ---------- */
.lx { --t-deep: var(--dark); --t-deep-2: #0a3d8f; --t-tint: var(--soft); --t-on-deep: #5fd3ff; --t-deep-text: var(--dark-text); --t-glow: rgba(0,188,212,.25); }
.lx-theme--teal { --brand: #0f766e; --brand-600: #115e59; --brand-2: #2dd4bf; --brand-soft: #e2f6f4; --t-deep: #062724; --t-deep-2: #134e4a; --t-tint: #f3faf9; --t-on-deep: #5eead4; --t-deep-text: #bfdcd8; --t-glow: rgba(45,212,191,.25); }
.lx-theme--indigo { --brand: #4f46e5; --brand-600: #4338ca; --brand-2: #818cf8; --brand-soft: #eef0ff; --t-deep: #14123a; --t-deep-2: #312e81; --t-tint: #f6f6ff; --t-on-deep: #a5b4fc; --t-deep-text: #c9cdf0; --t-glow: rgba(99,102,241,.38); }
.lx-theme--amber { --brand: #b45309; --brand-600: #92400e; --brand-2: #f59e0b; --brand-soft: #fff3dc; --t-deep: #1f1206; --t-deep-2: #78350f; --t-tint: #fffaf2; --t-on-deep: #fcd34d; --t-deep-text: #e6d6c1; --t-glow: rgba(245,158,11,.28); }
.lx-theme--violet { --brand: #6d28d9; --brand-600: #5b21b6; --brand-2: #a78bfa; --brand-soft: #f3edff; --t-deep: #1a0f33; --t-deep-2: #4c1d95; --t-tint: #faf7ff; --t-on-deep: #c4b5fd; --t-deep-text: #d6cbef; --t-glow: rgba(139,92,246,.3); }
.lx-theme--slate { --brand: #334155; --brand-600: #1e293b; --brand-2: #94a3b8; --brand-soft: #eef2f6; --t-deep: #0f172a; --t-deep-2: #1e293b; --t-tint: #f6f8fa; --t-on-deep: #cbd5e1; --t-deep-text: #b6c2d2; --t-glow: rgba(148,163,184,.25); }
.lx .btn--primary { background: linear-gradient(135deg, var(--brand), var(--brand-600)); box-shadow: 0 10px 26px color-mix(in srgb, var(--brand) 35%, transparent); }
.lx .callout--tip { background: var(--brand-soft); border-color: color-mix(in srgb, var(--brand) 22%, #fff); }
.lx .callout--tip > .i { color: var(--brand); }
.lx .sol-jump a:hover { border-color: var(--brand); color: var(--brand); }
.lx-jn { font-weight: 800; color: var(--brand); margin-right: 6px; font-size: .78rem; }
.lx:not(.lx-hero-is-glance) .sol-benefits { margin-top: 0; padding: 40px 0 8px; }

/* ---------- Bands ---------- */
.lx-band--white { background: #fff; }
.lx-band--soft { background: var(--t-tint); }
.lx-band--accent { background: var(--brand-soft); }
.lx-band--deep, .lx-band--dark, .lx-band--fill { color: var(--t-deep-text); position: relative; overflow: hidden; }
.lx-band--deep { background: radial-gradient(900px 420px at 88% 0%, var(--t-glow), transparent 62%), var(--t-deep); }
.lx-band--dark { background: var(--dark); }
.lx-band--fill { background: radial-gradient(800px 400px at 90% 0%, rgba(255,255,255,.14), transparent 60%), linear-gradient(135deg, var(--brand-600), var(--t-deep-2) 55%, var(--t-deep)); }
.lx-band--deep .sec-head h2, .lx-band--dark .sec-head h2, .lx-band--fill .sec-head h2, .lx-band--deep .sol-scn-story h2, .lx-band--dark .sol-scn-story h2 { color: #fff; }
.lx-band--deep .eyebrow, .lx-band--dark .eyebrow, .lx-band--fill .eyebrow { color: var(--t-on-deep); }
.lx-band--deep .sec-head p, .lx-band--dark .sec-head p, .lx-band--fill .sec-head p, .lx-band--deep .sol-scn-story p, .lx-band--dark .sol-scn-story p { color: var(--t-deep-text); }
.lx-band--deep .sol-scn-label, .lx-band--dark .sol-scn-label { background: rgba(255,255,255,.08); color: var(--t-deep-text); }
.lx-band--deep .table-wrap, .lx-band--dark .table-wrap, .lx-band--fill .table-wrap { background: #fff; color: var(--body); border-radius: 16px; }
.lx-band--deep .sol-rule, .lx-band--dark .sol-rule { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); color: var(--t-deep-text); }
.lx-band--deep .sol-rule h3, .lx-band--dark .sol-rule h3 { color: #fff; }
.lx-band--deep .sol-rule p, .lx-band--dark .sol-rule p { color: var(--t-deep-text); }
.lx-band--deep .sol-limit, .lx-band--dark .sol-limit { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); color: var(--t-deep-text); }

/* ---------- Section heads ---------- */
.lx-head--split { max-width: none; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px 56px; align-items: end; text-align: left; margin: 0 0 44px; padding-bottom: 26px; border-bottom: 2px solid color-mix(in srgb, var(--brand) 22%, transparent); }
.lx-head--split h2 { margin: 0; font-size: clamp(1.8rem, 3vw, 2.5rem); }
.lx-head--split p { margin: 0; font-size: 1.04rem; }
.lx-band--deep .lx-head--split, .lx-band--dark .lx-head--split { border-color: rgba(255,255,255,.14); }
.lx-head--index { max-width: 1080px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 26px; align-items: start; text-align: left; margin: 0 auto 40px; }
.lx-head--index .lx-ix { font-family: var(--display); font-weight: 800; font-size: clamp(3.4rem, 7vw, 5.6rem); line-height: .85; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 2px var(--brand); }
.lx-band--deep .lx-ix, .lx-band--dark .lx-ix, .lx-band--fill .lx-ix { -webkit-text-stroke-color: var(--t-on-deep); }
.lx-head--index h2 { margin: 4px 0 8px; }
.lx-head--index p { margin: 0; }
.lx-ch { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 56px; align-items: start; }
.lx-ch-side { position: sticky; top: 104px; }
.lx-head--chapter { text-align: left; margin: 0; max-width: none; padding-left: 18px; border-left: 3px solid var(--brand-2); }
.lx-head--chapter h2 { font-size: clamp(1.5rem, 2.2vw, 1.95rem); }
.lx-ch-n { display: block; font-family: var(--display); font-weight: 800; font-size: 3.6rem; line-height: 1; letter-spacing: -.04em; color: var(--brand); margin-bottom: 10px; }
.lx-band--deep .lx-ch-n, .lx-band--dark .lx-ch-n { color: var(--t-on-deep); }
.lx-ch-main > * { max-width: none !important; }
@media (max-width: 960px) { .lx-ch { grid-template-columns: minmax(0, 1fr); gap: 28px; } .lx-ch-side { position: static; } .lx-ch-n { font-size: 2.6rem; } }
@media (max-width: 760px) { .lx-head--split { grid-template-columns: 1fr; } .lx-head--index { grid-template-columns: 1fr; } }
.lx-heads--chapter .sol-jump, .lx-heads--split .sol-jump { justify-content: flex-start; max-width: 1080px; margin-left: auto; margin-right: auto; }

/* ---------- FAQ / CTA ---------- */
.lx-faq--columns { max-width: 1120px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; align-items: start; }
@media (max-width: 860px) { .lx-faq--columns { grid-template-columns: 1fr; } }
.lx-cta--band { padding: 0; background: radial-gradient(800px 400px at 85% 0%, var(--t-glow), transparent 60%), linear-gradient(135deg, var(--t-deep), var(--t-deep-2)); }
.lx .cta-band.lx-cta--band .cta-box { background: none; border: 0; box-shadow: none; border-radius: 0; padding: 96px 0 40px; }
.lx-cta--band .sol-updated { margin: 0; padding-bottom: 32px; color: var(--t-deep-text); }
.lx-cta--band .btn--white { color: var(--brand-600); }
@media (max-width: 760px) { .lx .cta-band.lx-cta--band .cta-box { padding: 64px 0 28px; } }
.lx .cta-band.lx-cta--light .cta-box { background: var(--brand-soft); }
.lx-cta--light .cta-box { background: var(--brand-soft); border: 2px solid color-mix(in srgb, var(--brand) 25%, #fff); color: var(--body); box-shadow: none; }
.lx-cta--light .cta-box h2 { color: var(--ink); }
.lx-cta--light .cta-box p { color: var(--body); }
.lx-cta--light .btn--white { background: var(--brand); color: #fff; }
.lx-cta--light .btn--ghost { color: var(--ink); border-color: color-mix(in srgb, var(--brand) 35%, #fff); }

.lx-theme--rose { --brand: #be123c; --brand-600: #9f1239; --brand-2: #fb7185; --brand-soft: #ffe8ec; --t-deep: #2a0a12; --t-deep-2: #881337; --t-tint: #fff7f8; --t-on-deep: #fda4af; --t-deep-text: #ecc9cf; --t-glow: rgba(251,113,133,.28); }
.lx-band--deep .table th, .lx-band--deep .table td, .lx-band--dark .table th, .lx-band--dark .table td { color: var(--body); border-bottom-color: var(--line); }
.lx-band--deep .table thead th, .lx-band--dark .table thead th { background: var(--soft); color: var(--ink); }
.lx-band--deep .sol-limit, .lx-band--dark .sol-limit { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); color: var(--t-deep-text); }
.lx-band--deep .sol-limit b, .lx-band--dark .sol-limit b { color: #fff; }

/* ---------- Themed reference basics ---------- */
.lx .cmp-rule { border-left-color: var(--brand); }
.lx .cmp-rule-label, .lx .cmp-cite .i { color: var(--brand); }
.lx .cmp-cite:hover { border-color: var(--brand); color: var(--brand); }
.lx .cmp-tl::before { background: linear-gradient(var(--brand), color-mix(in srgb, var(--brand) 20%, #fff)); }
.lx .cmp-tl .dot { border-color: var(--brand); color: var(--brand); }
.lx .cmp-tl small { color: var(--brand); background: var(--brand-soft); }
.lx .toc a:hover, .lx .toc a.active, .lx .toc a.is-active { color: var(--brand); }
.lx:not(.lx-hero-is-glance) .sol-benefits { margin-top: 0; padding: 40px 0 8px; }

/* ---------- Heroes (shared) ---------- */
.lx-hero { position: relative; overflow: hidden; padding: 150px 0 96px; background: radial-gradient(1000px 500px at 80% -20%, color-mix(in srgb, var(--brand) 45%, transparent), transparent 60%), var(--t-deep); color: var(--t-deep-text); }
.lx-hero .wrap { position: relative; }
.lx-hero h1 { color: #fff; font-size: clamp(2.1rem, 4vw, 3.2rem); line-height: 1.06; letter-spacing: -.03em; margin-bottom: 18px; }
.lx-hero-sub { font-size: 1.1rem; line-height: 1.65; max-width: 620px; margin-bottom: 0; }
.lx-hero .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.lx-hero .btn--ghost { color: #fff; border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.06); }
.lx-hero .crumbs { justify-content: flex-start; flex-wrap: wrap; margin-bottom: 18px; }
.lx-hero .crumbs [aria-current] { color: #fff; }
.lx-hero .sol-hero-badges .badge .i { width: 14px; height: 14px; }
.lx-legal { margin: 18px 0 0; display: flex; gap: 10px; align-items: flex-start; max-width: 620px; padding: 12px 16px; border-radius: 14px; background: rgba(255,196,61,.1); border: 1px solid rgba(255,196,61,.25); font-size: .9rem; }
.lx-legal .i { width: 18px; height: 18px; flex: none; margin-top: 2px; color: #ffc43d; }
.lx-legal b { color: #fff3cf; }
.lx-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.lx-hero-small { margin: 30px 0 0; font-size: .8rem; opacity: .8; }
.lx-notes-t { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: baseline; margin-bottom: 12px; }
.lx-notes-t b { font-family: var(--display); color: var(--ink); }
.lx-notes-t small { color: var(--muted); font-size: .78rem; }
@media (max-width: 960px) { .lx-hero { padding: 124px 0 72px; } .lx-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; } }

/* light heroes (form, statute) */
.lx-hero--light { background: radial-gradient(700px 380px at 92% 10%, color-mix(in srgb, var(--brand-2) 26%, transparent), transparent 65%), linear-gradient(180deg, var(--t-tint), #fff 92%); color: var(--body); }
.lx-hero--light h1 { color: var(--ink); }
.lx-hero--light .crumbs { color: var(--muted); }
.lx-hero--light .crumbs a { color: var(--body) !important; }
.lx-hero--light .crumbs [aria-current] { color: var(--ink); }
.lx-hero--light .badge--dark { background: #fff; color: var(--ink); border-color: var(--line); }
.lx-hero--light .btn--ghost { color: var(--ink); border-color: var(--line); background: #fff; }
.lx-hero--light .lx-legal { background: #fff8e6; border-color: #f5d68a; color: #5b4300; }
.lx-hero--light .lx-legal .i { color: #b45309; }
.lx-hero--light .lx-legal b { color: #3d2d00; }
body:has(.lx-hero--light) .site-header:not(.is-scrolled):not(.menu-open) .brand-logo img { filter: none; }
body:has(.lx-hero--light) .site-header:not(.is-scrolled):not(.menu-open) .nav a { color: var(--body); }
body:has(.lx-hero--light) .site-header:not(.is-scrolled):not(.menu-open) .header-cta .login,
body:has(.lx-hero--light) .site-header:not(.is-scrolled):not(.menu-open) .lang { color: var(--ink); }
body:has(.lx-hero--light) .site-header:not(.is-scrolled):not(.menu-open) .menu-btn { color: var(--ink); border-color: var(--line); }

/* form: a signed sign-up sheet */
.lx-paper { position: relative; background: #fff; border-radius: 6px; padding: 30px 30px 26px; box-shadow: 0 30px 60px rgba(11,27,51,.14), 0 0 0 1px var(--line); transform: rotate(-1.5deg); background-image: repeating-linear-gradient(transparent 0 31px, color-mix(in srgb, var(--brand) 8%, transparent) 31px 32px); }
.lx-paper::before { content: ""; position: absolute; left: 50%; top: -14px; width: 120px; height: 28px; margin-left: -60px; background: color-mix(in srgb, var(--brand-2) 40%, #fff); opacity: .8; transform: rotate(2deg); }
.lx-paper-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding-bottom: 12px; border-bottom: 2px solid var(--ink); margin-bottom: 16px; }
.lx-paper-head b { font-family: var(--display); color: var(--ink); font-size: 1.1rem; }
.lx-paper-head small { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.lx-paper-field { display: grid; gap: 4px; margin-bottom: 14px; }
.lx-paper-field span { font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.lx-paper-field b { padding: 9px 12px; border: 1.5px solid var(--line); border-radius: 8px; color: var(--ink); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: #fff; }
.lx-paper-consent { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; padding: 12px; border-radius: 10px; background: var(--brand-soft); }
.lx-tick { width: 22px; height: 22px; border-radius: 5px; background: var(--brand); color: #fff; display: grid; place-items: center; margin-top: 2px; }
.lx-tick .i { width: 14px; height: 14px; stroke-width: 3.5; }
.lx-paper-consent p { margin: 0; font-size: .9rem; line-height: 1.55; color: var(--ink); }
.lx-paper-sign { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 22px; }
.lx-paper-sign > div { display: flex; flex-direction: column; border-bottom: 1.5px solid var(--ink); padding-bottom: 4px; }
.lx-sig { font-family: "Brush Script MT", "Segoe Script", cursive; font-size: 1.9rem; color: var(--brand-600); line-height: 1; transform: rotate(-4deg); transform-origin: left; }
.lx-sig-date { font-size: .82rem; color: var(--ink); font-weight: 600; margin-top: auto; }
.lx-paper-sign small { order: 2; margin-top: 6px; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); position: relative; top: 22px; }
.lx-paper-sign { margin-bottom: 22px; }
.lx-stamp { position: absolute; right: -10px; top: 70px; padding: 6px 12px; border: 3px double #12a150; color: #12a150; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; font-size: .76rem; border-radius: 8px; transform: rotate(-12deg); background: rgba(255,255,255,.85); }
.lx-notes { margin-top: 40px; padding-top: 22px; border-top: 1px dashed color-mix(in srgb, var(--brand) 30%, transparent); }
.lx-notes ul, .lx-clock-list ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.lx-notes li { padding: 14px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--brand); font-size: .86rem; line-height: 1.45; }
.lx-notes li b, .lx-clock-list li b { display: block; font-family: var(--display); color: var(--ink); font-size: 1.35rem; line-height: 1.1; margin-bottom: 4px; }
@media (max-width: 860px) { .lx-notes ul, .lx-clock-list ul { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .lx-paper { padding: 22px 18px; transform: none; } .lx-paper-sign { grid-template-columns: 1fr; gap: 34px; } .lx-stamp { position: static; display: inline-block; margin-top: 4px; } }

/* stop: phone with STOP + confirmation */
.lx-stop { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 22px; align-items: center; }
.lx-phone { position: relative; border-radius: 40px; background: #0b0f17; padding: 14px; box-shadow: 0 30px 70px rgba(0,0,0,.45), inset 0 0 0 2px rgba(255,255,255,.12); }
.lx-phone-notch { position: absolute; top: 20px; left: 50%; width: 70px; height: 16px; margin-left: -35px; border-radius: 10px; background: #000; z-index: 2; }
.lx-phone-head { border-radius: 28px 28px 0 0; background: #f3f4f6; padding: 44px 14px 10px; text-align: center; border-bottom: 1px solid #e5e7eb; }
.lx-phone-head .chat-avatar { margin: 0 auto 4px; }
.lx-phone-head b { display: block; color: var(--ink); font-size: .84rem; }
.lx-phone-head small { color: var(--muted); font-size: .68rem; }
.lx-phone-body { background: #fff; border-radius: 0 0 28px 28px; padding: 16px 12px 22px; display: flex; flex-direction: column; gap: 10px; min-height: 280px; }
.lx-bub { max-width: 82%; padding: 9px 13px; border-radius: 18px; font-size: .84rem; line-height: 1.4; }
.lx-bub--in { align-self: flex-start; background: #e9e9eb; color: #111; font-weight: 800; letter-spacing: .06em; border-bottom-left-radius: 5px; font-size: 1.1rem; }
.lx-bub--out { align-self: flex-end; background: #34c759; color: #fff; border-bottom-right-radius: 5px; }
.lx-sys { align-self: center; display: inline-flex; align-items: center; gap: 6px; font-size: .68rem; font-weight: 700; color: var(--brand-600); background: var(--brand-soft); padding: 4px 10px; border-radius: 999px; text-align: center; }
.lx-sys .i { width: 12px; height: 12px; flex: none; }
.lx-sys--end { color: #0f7a3d; background: #e7f8ee; margin-top: auto; }
.lx-stop-tiles { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.lx-stop-tiles li { padding: 14px 16px; border-radius: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); font-size: .84rem; line-height: 1.45; }
.lx-stop-tiles b { display: block; font-family: var(--display); color: #fff; font-size: 1.3rem; line-height: 1.1; }
.lx-stop-tiles a { color: var(--t-on-deep); }
@media (max-width: 600px) { .lx-stop { grid-template-columns: 1fr; justify-items: center; } .lx-phone { width: 260px; } .lx-stop-tiles { width: 100%; grid-template-columns: 1fr 1fr; } }

/* clock: 24-hour dial */
.lx-clock-wrap { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lx-clock { position: relative; width: min(380px, 80vw); aspect-ratio: 1; border-radius: 50%; padding: 22px; background: conic-gradient(from 0deg, #1e293b 0deg 120deg, var(--brand-2) 120deg 315deg, #1e293b 315deg 360deg); box-shadow: 0 30px 70px rgba(0,0,0,.4), 0 0 0 8px rgba(255,255,255,.06); }
.lx-clock-face { position: absolute; inset: 22px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--t-deep) 70%, #fff 0%) , var(--t-deep)); }
.lx-hr { position: absolute; left: 50%; top: 50%; width: 2px; height: 50%; margin-left: -1px; transform-origin: 50% 0; transform: rotate(calc(var(--h) * 15deg + 180deg)); }
.lx-hr::after { content: ""; position: absolute; bottom: 4px; left: 0; width: 2px; height: 10px; background: rgba(255,255,255,.4); }
.lx-hr i { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%) rotate(calc(-1 * (var(--h) * 15deg + 180deg))); font-style: normal; font-size: .72rem; font-weight: 800; color: #fff; white-space: nowrap; }
.lx-hand { position: absolute; left: 50%; top: 50%; width: 4px; height: 38%; margin-left: -2px; background: #fff; border-radius: 4px; transform-origin: 50% 0; transform: rotate(calc(14.5 * 15deg + 180deg)); animation: lxSweep 8s ease-in-out infinite alternate; box-shadow: 0 0 10px rgba(255,255,255,.6); }
@keyframes lxSweep { from { transform: rotate(calc(9 * 15deg + 180deg)); } to { transform: rotate(calc(20.5 * 15deg + 180deg)); } }
.lx-clock-mid { position: absolute; left: 50%; top: 50%; width: 46%; transform: translate(-50%, -50%); text-align: center; background: var(--t-deep); border-radius: 50%; aspect-ratio: 1; display: flex; flex-direction: column; justify-content: center; box-shadow: 0 0 0 4px rgba(255,255,255,.08); z-index: 1; }
.lx-clock-mid b { color: #fff; font-family: var(--display); font-size: clamp(1.2rem, 3vw, 1.7rem); }
.lx-clock-mid small { font-size: .72rem; padding: 0 10px; }
.lx-clock-key { display: flex; gap: 16px; font-size: .78rem; }
.lx-k { display: inline-flex; align-items: center; gap: 6px; }
.lx-k::before { content: ""; width: 12px; height: 12px; border-radius: 3px; }
.lx-k--ok::before { background: var(--brand-2); } .lx-k--quiet::before { background: #1e293b; border: 1px solid rgba(255,255,255,.3); }
.lx-clock-list { margin-top: 40px; padding: 20px; border-radius: 20px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.lx-clock-list .lx-notes-t b, .lx-clock-list li b { color: #fff; }
.lx-clock-list .lx-notes-t small { color: var(--t-deep-text); }
.lx-clock-list li { font-size: .86rem; line-height: 1.45; padding-left: 14px; border-left: 3px solid var(--brand-2); }

/* statute: document card */
.lx-doc { background: #fffefa; border: 1px solid #e7e1cf; border-radius: 4px; padding: 30px 32px; box-shadow: 0 24px 60px rgba(11,27,51,.12), 8px 8px 0 -1px #f4efe0, 8px 8px 0 0 #e7e1cf; font-family: Georgia, "Times New Roman", serif; color: #2b2b2b; }
.lx-doc-top { display: flex; gap: 16px; align-items: center; padding-bottom: 16px; border-bottom: 3px double #c9bfa3; margin-bottom: 18px; }
.lx-doc-sec { font-size: 3.4rem; line-height: 1; color: var(--brand); }
.lx-doc-top b { display: block; font-size: 1.25rem; color: #1a1a1a; }
.lx-doc-top small { font-family: var(--font); font-size: .76rem; color: #6b6450; text-transform: uppercase; letter-spacing: .08em; }
.lx-doc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.lx-doc-list li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 8px; font-size: 1rem; line-height: 1.55; }
.lx-sub { color: var(--brand); font-weight: 700; }
.lx-doc-list b { color: #111; }
.lx-doc-list a { color: var(--brand); }
.lx-doc-foot { margin: 20px 0 0; padding-top: 12px; border-top: 1px solid #e7e1cf; font-size: .82rem; font-style: italic; color: #6b6450; }

/* ---------- Reference navigation ---------- */
/* rail: contents on the right with a reading line */
@media (min-width: 961px) {
  .lx-ref--rail .doc-layout { grid-template-columns: minmax(0, 1fr) 250px; }
  .lx-ref--rail .toc { order: 2; padding-left: 18px; border-left: 1px solid var(--line); }
}
.lx-read { height: 4px; border-radius: 4px; background: var(--brand-soft); margin: 0 0 12px; overflow: hidden; }
.lx-read i { display: block; height: 100%; width: var(--read, 0%); background: var(--brand); }
.lx-ref--rail .toc a.is-active { font-weight: 800; }

/* tabs: one section at a time */
.lx-ref--tabs { padding-top: 34px; }
.lx-tabbar { position: sticky; top: 76px; z-index: 5; padding: 8px 0; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); margin-bottom: 26px; }
.lx-tabs { display: flex; gap: 6px; overflow-x: auto; padding: 6px; border-radius: 18px; background: var(--t-tint); border: 1px solid var(--line); scrollbar-width: thin; }
.lx-tabs button { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border: 0; border-radius: 12px; background: none; font: inherit; font-size: .86rem; font-weight: 700; color: var(--body); cursor: pointer; white-space: nowrap; }
.lx-tabs button span { font-size: .72rem; color: var(--muted); }
.lx-tabs button[aria-selected="true"] { background: var(--brand); color: #fff; box-shadow: 0 6px 16px color-mix(in srgb, var(--brand) 30%, transparent); }
.lx-tabs button[aria-selected="true"] span { color: rgba(255,255,255,.8); }
.lx-tabs button:focus-visible { outline: 3px solid var(--brand-2); outline-offset: 2px; }
.lx-tabs-box:not(.is-live) .lx-tabbar, .lx-tabs-box:not(.is-live) .lx-tabnav { display: none; }
.lx-tabs-box.is-live .cmp-sec[hidden] { display: none; }
.lx-tabs-box.is-live .cmp-sec { border-bottom: 0; margin-bottom: 0; padding-bottom: 20px; min-height: 420px; }
.lx-tab-main { max-width: 980px; margin: 0 auto; }
.lx-tabnav { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); }
.lx-tabgo { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font: inherit; font-weight: 700; font-size: .88rem; color: var(--ink); cursor: pointer; }
.lx-tabgo--next { background: var(--brand); border-color: var(--brand); color: #fff; }
.lx-tabgo .i { width: 15px; height: 15px; }
.lx-back { transform: rotate(180deg); }
.lx-ref--tabs .toc-cta { max-width: 980px; margin: 30px auto 0; display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; padding: 20px; border-radius: 18px; background: var(--brand-soft); }
@media (max-width: 760px) { .lx-tabbar { top: 64px; } }

/* chapters: index cards, then full-width chapters */
.lx-cc { margin: 0 auto 56px; }
.lx-cc-head { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin-bottom: 18px; }
.lx-cc-head > b { font-family: var(--display); font-size: 1.5rem; color: var(--ink); }
.lx-cc-head .toc-cta { margin-left: auto; display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; font-size: .88rem; }
.lx-cc ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.lx-cc ol a { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 18px; border-radius: 18px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--body); transition: transform .2s, border-color .2s, box-shadow .2s; }
.lx-cc ol a:hover { transform: translateY(-3px); border-color: var(--brand); box-shadow: var(--shadow); }
.lx-cc-n { font-family: var(--display); font-weight: 800; font-size: 1.8rem; color: var(--brand); line-height: 1; }
.lx-cc ol a b { color: var(--ink); font-size: 1rem; }
.lx-cc ol a small { font-size: .8rem; line-height: 1.45; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.lx-ch-main { max-width: 1040px; margin: 0 auto; }
.lx-ref--chapters .cmp-sec:nth-child(even) { position: relative; }
.lx-ref--chapters .cmp-sec:nth-child(even)::before { content: ""; position: absolute; inset: -28px -9999px 28px; background: var(--t-tint); z-index: -1; }
.lx-ref--chapters { position: relative; overflow: hidden; isolation: isolate; }
.lx-ref--chapters .cmp-sec { border-bottom: 0; }

/* ---------- Section numbers inside the reference ---------- */
.lx .cmp-num { background: var(--t-deep); }
.lx-secnum--outline .cmp-sec-head { flex-direction: column; gap: 4px; }
.lx-secnum--outline .cmp-num { width: auto; height: auto; background: none; color: transparent; -webkit-text-stroke: 2px var(--brand); font-size: 4.4rem; line-height: .9; letter-spacing: -.04em; border-radius: 0; }
.lx-secnum--outline .cmp-sec-head h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.lx-secnum--stamp .cmp-sec-head { padding: 14px 18px; border-radius: 16px; background: var(--brand-soft); border: 1px dashed color-mix(in srgb, var(--brand) 40%, transparent); align-items: center; }
.lx-secnum--stamp .cmp-num { width: 54px; height: 54px; border-radius: 50%; background: #fff; color: var(--brand); border: 3px double var(--brand); transform: rotate(-8deg); font-size: 1rem; }

/* ---------- Rule blocks ---------- */
.lx-rules--card .cmp-rule { border: 1px solid var(--line); border-top: 0; border-radius: 16px; background: #fff; padding: 0 22px 18px; box-shadow: var(--shadow); overflow: hidden; }
.lx-rules--card .cmp-rule-label { display: flex; align-items: center; gap: 8px; margin: 0 -22px 14px; padding: 10px 22px; background: var(--brand); color: #fff; }
.lx-rules--card .cmp-rule-label::before { content: "§"; font-size: 1rem; }
.lx-rules--card .cmp-rule--warn .cmp-rule-label { background: #b45309; color: #fff; }
.lx-rules--card .cmp-rule--site .cmp-rule-label { background: #5b3fe0; color: #fff; }
.lx-rules--card .cmp-rule--warn, .lx-rules--card .cmp-rule--site { background: #fff; }
.lx-rules--quote .cmp-rule { border: 0; border-radius: 0; background: none; padding: 8px 0 8px 64px; margin: 8px 0 26px; }
.lx-rules--quote .cmp-rule::before { content: "\201C"; position: absolute; left: 0; top: -14px; font-family: Georgia, serif; font-size: 5.4rem; line-height: 1; color: var(--brand); opacity: .9; }
.lx-rules--quote .cmp-rule p { font-family: Georgia, "Times New Roman", serif; font-size: 1.16rem; line-height: 1.6; color: var(--ink); }
.lx-rules--quote .cmp-rule-label { display: block; font-size: .7rem; letter-spacing: .12em; }
.lx-rules--quote .cmp-rule--warn::before { color: #d97706; }
.lx-rules--quote .cmp-rule--site::before { color: #6a4be0; }
.lx-rules--quote .cmp-rule { border-bottom: 1px solid var(--line); }

/* ---------- Widgets: light ---------- */
.lx-widgets--light .cmp-flow, .lx-widgets--light .cmp-sort, .lx-widgets--light .cmp-tc { background: #fff; color: var(--body); border: 2px solid var(--brand); box-shadow: 0 18px 40px color-mix(in srgb, var(--brand) 14%, transparent); }
.lx-widgets--light .cmp-flow-head { margin: -26px -26px 18px; padding: 14px 26px; background: var(--brand); border-radius: 18px 18px 0 0; }
.lx-widgets--light .cmp-flow-head b { color: #fff; }
.lx-widgets--light .cmp-flow-reset { border-color: rgba(255,255,255,.5); }
.lx-widgets--light .cmp-flow-trail span { background: var(--brand-soft); color: var(--brand-600); }
.lx-widgets--light .cmp-node { background: var(--t-tint); border-color: var(--line); }
.lx-widgets--light .cmp-node h3 { color: var(--ink); }
.lx-widgets--light .cmp-node-opts button { background: var(--brand); color: #fff; }
.lx-widgets--light .cmp-node-opts button + button { background: #fff; color: var(--ink); border: 1.5px solid var(--line); }
.lx-widgets--light .cmp-node-opts .cmp-static { color: var(--muted); }
.lx-widgets--light .cmp-node--ok { background: #f1fbf5; border-color: #9fe0bb; border-left-color: #12a150; }
.lx-widgets--light .cmp-node--stop { background: #fff5f4; border-color: #f6c6c1; border-left-color: #d63b30; }
.lx-widgets--light .cmp-node--warn { background: #fff8ec; border-color: #f5d68a; border-left-color: #d97706; }
.lx-widgets--light .cmp-node--ok .cmp-res-tag { color: #0f7a3d; } .lx-widgets--light .cmp-node--stop .cmp-res-tag { color: #b42318; } .lx-widgets--light .cmp-node--warn .cmp-res-tag { color: #92400e; }
.lx-widgets--light .cmp-sort-score, .lx-widgets--light .cmp-sort-lead { color: rgba(255,255,255,.9); }
.lx-widgets--light .cmp-sort-lead { color: var(--body); }
.lx-widgets--light .cmp-sort-item { background: var(--t-tint); border-color: var(--line); }
.lx-widgets--light .cmp-sort-item q, .lx-widgets--light .cmp-sort-res { color: var(--ink); }
.lx-widgets--light .cmp-sort-opts button { background: #fff; color: var(--ink); border-color: var(--line); }
.lx-widgets--light .cmp-sort-opts button[aria-pressed="true"] { background: var(--brand); color: #fff; }
.lx-widgets--light .cmp-sort-verdict--optout { background: #fdecec; color: #b42318; } .lx-widgets--light .cmp-sort-verdict--not { background: #e7f8ee; color: #0f7a3d; } .lx-widgets--light .cmp-sort-verdict--ask { background: #fff3dc; color: #92400e; }
.lx-widgets--light .cmp-tc-form label { color: var(--ink); }
.lx-widgets--light .cmp-tc-form select, .lx-widgets--light .cmp-tc-form input { background: #fff; color: var(--ink); border-color: var(--line); color-scheme: light; }
.lx-widgets--light .cmp-tc-out { background: var(--t-tint); border-color: var(--line); }
.lx-widgets--light .cmp-tc-when b { color: var(--ink); }
.lx-widgets--light .cmp-tc-list li.is-ok b { color: #0f7a3d; } .lx-widgets--light .cmp-tc-list li.is-no b { color: #b42318; }
.lx-widgets--light .cmp-tc-note { color: var(--muted); } .lx-widgets--light .cmp-tc-fix { color: #92400e; }
.lx .cmp-flow, .lx .cmp-sort, .lx .cmp-tc { --dark: var(--t-deep); }

@media print {
  .lx-tabs-box .cmp-sec#checklist[hidden] { display: block !important; }
  .lx-cc, .lx-tabbar, .lx-tabnav { display: none !important; }
}
@media (prefers-reduced-motion: reduce) { .lx-hand { animation: none; } .lx-cc ol a { transition: none; } }
@media print {
  body[data-sol-layout="compliance"] main > .lx.lx { display: block !important; }
  body[data-sol-layout="compliance"] .lx > *:not(.cmp-ref) { display: none !important; }
}

/* ==========================================================================
   Day 2 variants: lanes + callout heroes, message classifier, opt-in wording builder
   ========================================================================== */

/* lanes: three sorting lanes of sample texts */
.lx-lanes-wrap { padding: 22px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 60px rgba(11,27,51,.12); min-width: 0; }
.lx-lanes-top { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: baseline; margin-bottom: 14px; }
.lx-lanes-top b { font-family: var(--display); color: var(--ink); }
.lx-lanes-top small { color: var(--muted); font-size: .76rem; }
.lx-lanes { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.lx-lane { border-radius: 16px; border: 1.5px solid color-mix(in srgb, var(--c) 35%, #fff); background: color-mix(in srgb, var(--c) 7%, #fff); overflow: hidden; }
.lx-lane-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding: 9px 14px; background: color-mix(in srgb, var(--c) 14%, #fff); }
.lx-lane-h b { color: var(--ink); font-size: .92rem; }
.lx-lane-h span { font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #fff; background: var(--c); padding: 3px 10px; border-radius: 999px; }
.lx-lane-b { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 14px 14px; }
.lx-lane-bub { max-width: 100%; padding: 8px 12px; border-radius: 16px 16px 16px 5px; background: #fff; border: 1px solid var(--line); font-size: .8rem; line-height: 1.4; color: var(--ink); }
.lx-lane-bub mark { background: color-mix(in srgb, var(--c) 25%, #fff); color: inherit; padding: 0 3px; border-radius: 4px; }
.lx-strip { list-style: none; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.lx-strip li { padding: 14px 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); font-size: .84rem; line-height: 1.45; }
.lx-strip b { display: block; font-family: var(--display); font-size: 1.25rem; color: var(--brand); line-height: 1.15; margin-bottom: 4px; }
@media (max-width: 860px) { .lx-strip { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .lx-strip { grid-template-columns: 1fr; } .lx-lanes-wrap { padding: 14px; } }

/* callout: browser window with a pinned disclosure */
.lx-browser { border-radius: 16px; background: #fff; overflow: hidden; box-shadow: 0 30px 70px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.12); color: var(--body); min-width: 0; }
.lx-browser-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #eef1f5; border-bottom: 1px solid #dde3ea; }
.lx-browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #cbd3dd; flex: none; }
.lx-browser-bar span { margin-left: 10px; flex: 1; min-width: 0; padding: 4px 12px; border-radius: 999px; background: #fff; font-size: .74rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lx-browser-body { padding: 24px 24px 18px; display: grid; gap: 14px; }
.lx-browser-h { font-family: var(--display); font-size: 1.2rem; color: var(--ink); }
.lx-browser-field { display: grid; gap: 4px; }
.lx-browser-field span { font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.lx-browser-field b { padding: 9px 12px; border: 1.5px solid var(--line); border-radius: 8px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--ink); }
.lx-browser-consent { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; padding: 12px; border-radius: 10px; background: var(--brand-soft); }
.lx-browser-box { width: 18px; height: 18px; margin-top: 2px; border-radius: 4px; border: 2px solid var(--brand); background: #fff; }
.lx-browser-consent p { margin: 0; font-size: .84rem; line-height: 1.6; color: var(--ink); }
.lx-pin { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 4px; margin: 0 2px; border-radius: 999px; background: var(--brand-2); color: var(--t-deep); font-size: .66rem; font-weight: 800; line-height: 1; vertical-align: super; font-family: var(--font); }
.lx-browser-btn { justify-self: start; padding: 10px 18px; border-radius: 10px; background: var(--brand); color: #fff; font-weight: 800; font-size: .88rem; }
.lx-browser-note { font-size: .72rem; color: var(--muted); }
.lx-pins { margin-top: 40px; padding: 20px; border-radius: 20px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.lx-pins .lx-notes-t b { color: #fff; }
.lx-pins .lx-notes-t small { color: var(--t-deep-text); }
.lx-pins ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 20px; }
.lx-pins li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; font-size: .84rem; line-height: 1.45; }
.lx-pins li .lx-pin { width: 24px; height: 24px; margin: 0; vertical-align: baseline; font-size: .78rem; }
.lx-pins li b { display: block; color: #fff; }
.lx-theme--slate .lx-hero--callout { background: radial-gradient(900px 480px at 85% -10%, rgba(148,163,184,.35), transparent 60%), #0f172a; }
@media (max-width: 960px) { .lx-pins ol { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .lx-pins ol { grid-template-columns: 1fr; } .lx-browser-body { padding: 18px 16px 14px; } }

/* sorter verdict keys used by the classification pages */
.cmp-sort-verdict--conv { background: rgba(56,189,248,.18); color: #7dd3fc; }
.cmp-sort-verdict--info { background: rgba(34,197,94,.16); color: #86efac; }
.cmp-sort-verdict--mkt { background: rgba(248,113,113,.18); color: #fca5a5; }
.lx-widgets--light .cmp-sort-verdict--conv { background: #e0f2fe; color: #075985; }
.lx-widgets--light .cmp-sort-verdict--info { background: #e7f8ee; color: #0f7a3d; }
.lx-widgets--light .cmp-sort-verdict--mkt { background: #fdecec; color: #b42318; }

/* classifier */
.lx-cl, .lx-oi { border-radius: 22px; padding: 26px; margin: 8px 0 22px; background: #fff; border: 2px solid var(--brand); box-shadow: 0 18px 40px color-mix(in srgb, var(--brand) 14%, transparent); }
.lx-cl .cmp-flow-head, .lx-oi .cmp-flow-head { margin: -26px -26px 18px; padding: 14px 26px; background: var(--brand); border-radius: 18px 18px 0 0; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.lx-cl .cmp-flow-head b, .lx-oi .cmp-flow-head b { color: #fff; }
.lx-cl .cmp-flow-reset { color: #fff; border-color: rgba(255,255,255,.5); }
.lx-cl .cmp-sort-lead, .lx-oi .cmp-sort-lead { color: var(--body); }
.lx-cl-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 22px; align-items: start; }
.lx-cl-form { display: grid; gap: 14px; }
.lx-cl-form fieldset { margin: 0; padding: 0; border: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.lx-cl-form legend { width: 100%; font-weight: 800; font-size: .88rem; color: var(--ink); margin-bottom: 8px; }
.lx-cl-opt { display: inline-flex; align-items: flex-start; gap: 8px; padding: 8px 12px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--t-tint); font-size: .84rem; line-height: 1.4; cursor: pointer; color: var(--ink); max-width: 100%; }
.lx-cl-opt input { margin: 2px 0 0; accent-color: var(--brand); flex: none; }
.lx-cl-opt:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.lx-cl-sig--promo:has(input:checked) { border-color: #d63b30; background: #fff5f4; }
.lx-cl-draft { display: grid; gap: 6px; font-size: .82rem; font-weight: 700; color: var(--ink); }
.lx-cl-draft textarea { width: 100%; min-width: 0; padding: 10px 12px; border-radius: 10px; border: 1.5px solid var(--line); font: inherit; font-weight: 400; font-size: .9rem; resize: vertical; }
.lx-cl-hits { margin: 0; font-size: .84rem; color: #92400e; min-height: 1em; }
.lx-cl-hits b { background: #fff3dc; padding: 0 4px; border-radius: 4px; }
.lx-cl-out { display: grid; gap: 12px; }
.lx-cl-res { padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line); border-left: 5px solid var(--brand); background: var(--t-tint); }
.lx-cl-res.cmp-node--ok { border-left-color: #12a150; background: #f1fbf5; }
.lx-cl-res.cmp-node--stop { border-left-color: #d63b30; background: #fff5f4; }
.lx-cl-res.cmp-node--warn { border-left-color: #d97706; background: #fff8ec; }
.lx-cl-res .cmp-res-tag { font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.lx-cl-res h3 { margin: 4px 0 6px; font-size: 1.05rem; color: var(--ink); }
.lx-cl-res p { margin: 0 0 8px; font-size: .9rem; line-height: 1.55; }
.lx-cl-tbl { width: 100%; border-collapse: collapse; font-size: .82rem; }
.lx-cl-tbl th, .lx-cl-tbl td { text-align: left; vertical-align: top; padding: 6px 8px 6px 0; border-top: 1px solid var(--line); }
.lx-cl-tbl th { width: 38%; color: var(--ink); font-weight: 800; }
.lx-cl:not(.is-live) .lx-cl-form, .lx-cl:not(.is-live) [data-cl-reset] { display: none; }
.lx-cl:not(.is-live) .lx-cl-grid { grid-template-columns: 1fr; }
.lx-cl.is-live .lx-cl-res:not(.is-on) { display: none; }
@media (max-width: 860px) { .lx-cl-grid { grid-template-columns: 1fr; } }

/* opt-in wording builder */
.lx-oi-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 22px; align-items: start; }
.lx-oi-in { display: grid; gap: 10px; }
.lx-oi-in label { display: grid; gap: 4px; font-size: .78rem; font-weight: 800; color: var(--ink); }
.lx-oi-in input, .lx-oi-in select { width: 100%; min-width: 0; padding: 9px 11px; border-radius: 10px; border: 1.5px solid var(--line); font: inherit; font-size: .9rem; font-weight: 400; background: #fff; color: var(--ink); }
.lx-oi-outs { display: grid; gap: 12px; }
.lx-oi-card { padding: 14px 16px; border-radius: 14px; background: var(--t-tint); border: 1px solid var(--line); }
.lx-oi-card small { display: block; font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.lx-oi-card p { margin: 0; font-size: .9rem; line-height: 1.6; color: var(--ink); overflow-wrap: anywhere; }
.lx-oi-card--sms p { display: inline-block; padding: 10px 14px; border-radius: 18px 18px 18px 5px; background: #e9e9eb; color: #111; }
.lx-oi-count { display: block; margin-top: 8px; font-size: .78rem; color: var(--muted); }
.lx-oi-count.is-bad { color: #b42318; font-weight: 700; }
.lx-oi-checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; font-size: .84rem; }
.lx-oi-checks li { display: flex; gap: 8px; align-items: center; color: var(--ink); }
.lx-oi-dot { width: 14px; height: 14px; border-radius: 50%; flex: none; background: #12a150; box-shadow: inset 0 0 0 3px #e7f8ee; }
.lx-oi-checks li.is-miss { color: #b42318; }
.lx-oi-checks li.is-miss .lx-oi-dot { background: #d63b30; box-shadow: inset 0 0 0 3px #fdecec; }
.lx-oi:not(.is-live) .lx-oi-in, .lx-oi:not(.is-live) .lx-oi-checks, .lx-oi:not(.is-live) .lx-oi-count { display: none; }
.lx-oi:not(.is-live) .lx-oi-grid { grid-template-columns: 1fr; }
@media (max-width: 860px) { .lx-oi-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .lx-cl, .lx-oi { padding: 18px; } .lx-cl .cmp-flow-head, .lx-oi .cmp-flow-head { margin: -18px -18px 14px; padding: 12px 18px; } .lx-oi-checks { grid-template-columns: 1fr; } }
@media print { .lx-cl, .lx-oi { display: none !important; } }
.lx-browser-box { position: relative; }
.lx-pin--box { position: absolute; left: -12px; top: -14px; margin: 0; }
.lx-oi-checks li[hidden] { display: none; }

/* ==========================================================================
   Day 3 (Canada pages): maple theme, request / countdown / zones heroes,
   implied-consent clock, unsubscribe clock, zone checker
   ========================================================================== */
.lx-theme--maple { --brand: #b4161b; --brand-600: #8f1115; --brand-2: #ef4444; --brand-soft: #fdeceb; --t-deep: #22090a; --t-deep-2: #7f1d1d; --t-tint: #fff8f5; --t-on-deep: #fca5a5; --t-deep-text: #efd2cf; --t-glow: rgba(239,68,68,.28); }

/* request: consent-request card + three pillars */
.lx-rq { display: grid; grid-template-columns: minmax(0, 1fr) 170px; gap: 18px; align-items: stretch; }
.lx-rq-card { position: relative; background: #fff; border-radius: 18px; padding: 22px 22px 18px; box-shadow: 0 26px 60px rgba(60,10,10,.14), 0 0 0 1px var(--line); border-top: 6px solid var(--brand); }
.lx-rq-top { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.lx-rq-top small { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.lx-rq-flag { width: 28px; height: 16px; border-radius: 3px; background: linear-gradient(90deg, var(--brand) 0 25%, #fff 25% 75%, var(--brand) 75%); box-shadow: 0 0 0 1px var(--line); position: relative; }
.lx-rq-flag::after { content: ""; position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--brand); transform: rotate(45deg); }
.lx-rq-h { display: block; font-family: var(--display); color: var(--ink); font-size: 1.12rem; margin-bottom: 12px; }
.lx-rq-field { display: grid; gap: 4px; margin-bottom: 12px; }
.lx-rq-field span { font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.lx-rq-field b { padding: 8px 12px; border: 1.5px solid var(--line); border-radius: 8px; color: var(--ink); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-weight: 600; }
.lx-rq-consent { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; }
.lx-rq-box { width: 20px; height: 20px; border-radius: 5px; border: 2px solid var(--ink); margin-top: 2px; background: #fff; }
.lx-rq-consent p { margin: 0; font-size: .88rem; line-height: 1.65; color: var(--ink); }
.lx-rq-part { background: var(--brand-soft); color: inherit; padding: 1px 3px; border-radius: 4px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.lx-rq-part sup { display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: var(--brand); color: #fff; font-size: .6rem; font-weight: 800; margin-right: 3px; vertical-align: 2px; }
.lx-rq-btn { display: inline-block; margin-top: 14px; padding: 9px 18px; border-radius: 999px; background: var(--brand); color: #fff; font-weight: 700; font-size: .86rem; }
.lx-rq-legend { list-style: none; margin: 16px 0 0; padding: 12px 0 0; border-top: 1px dashed var(--line); display: grid; gap: 6px; font-size: .8rem; color: var(--body); }
.lx-rq-legend li { display: flex; gap: 8px; align-items: baseline; }
.lx-rq-legend span { flex: none; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--brand); color: #fff; font-size: .64rem; font-weight: 800; }
.lx-rq-foot { display: block; margin-top: 10px; font-size: .72rem; color: var(--muted); }
.lx-rq-pillars { list-style: none; margin: 0; padding: 0; display: grid; grid-template-rows: repeat(3, 1fr); gap: 10px; counter-reset: none; }
.lx-rq-pillars li { display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 14px; border-radius: 16px; background: var(--t-deep); color: var(--t-deep-text); }
.lx-rq-n { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--brand-2); color: #fff; font-family: var(--display); font-weight: 800; }
.lx-rq-pillars b { display: block; color: #fff; font-family: var(--display); font-size: 1.02rem; }
.lx-rq-pillars small { display: block; font-size: .76rem; line-height: 1.4; }
.lx-rq-strip { margin-top: 38px; }
.lx-rq-strip ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: 16px; background: #fff; overflow: hidden; }
.lx-rq-strip li { padding: 14px 16px; font-size: .84rem; line-height: 1.45; border-left: 1px solid var(--line); }
.lx-rq-strip li:first-child { border-left: 0; }
.lx-rq-strip li b { display: block; font-family: var(--display); color: var(--brand); font-size: 1.3rem; line-height: 1.1; margin-bottom: 4px; }
@media (max-width: 860px) { .lx-rq-strip ul { grid-template-columns: 1fr 1fr; } .lx-rq-strip li:nth-child(3) { border-left: 0; } .lx-rq-strip li:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 600px) { .lx-rq { grid-template-columns: 1fr; } .lx-rq-pillars { grid-template-rows: none; grid-template-columns: 1fr; } .lx-rq-pillars li { flex-direction: row; align-items: center; } .lx-rq-n { flex: none; } }
@media (max-width: 480px) { .lx-rq-strip ul { grid-template-columns: 1fr; } .lx-rq-strip li { border-left: 0 !important; } .lx-rq-strip li + li { border-top: 1px solid var(--line); } }

/* countdown: business-day calendar */
.lx-cd { padding: 22px; border-radius: 24px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); }
.lx-cd-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.lx-cd-top b { color: #fff; font-family: var(--display); font-size: 1.05rem; }
.lx-cd-top small { font-size: .76rem; }
.lx-cd-head, .lx-cd-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.lx-cd-head span { text-align: center; font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--t-on-deep); padding-bottom: 6px; }
.lx-cd-grid { list-style: none; margin: 0; padding: 0; }
.lx-cd-grid li { min-height: 54px; border-radius: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: .72rem; text-align: center; line-height: 1.15; }
.lx-cd-grid li b { font-family: var(--display); font-size: 1.15rem; color: #fff; }
.lx-cd-past, .lx-cd-after { background: rgba(255,255,255,.025); }
.lx-cd-wknd { background: repeating-linear-gradient(45deg, rgba(255,255,255,.06) 0 6px, transparent 6px 12px); border: 1px dashed rgba(255,255,255,.14); color: rgba(255,255,255,.55); }
.lx-cd-wknd small { font-size: .62rem; }
.lx-cd-req { background: #fff; color: var(--brand-600); }
.lx-cd-req b { color: var(--brand-600) !important; font-size: .86rem !important; }
.lx-cd-day { background: color-mix(in srgb, var(--brand-2) calc(12% + var(--i) * 4%), transparent); border: 1px solid color-mix(in srgb, var(--brand-2) 40%, transparent); }
.lx-cd-last { background: var(--brand-2); box-shadow: 0 0 0 3px #fff, 0 0 24px var(--t-glow); }
.lx-cd-last small { color: #fff; font-weight: 800; }
.lx-cd-bar { margin-top: 18px; }
.lx-cd-fill { display: block; height: 10px; border-radius: 999px; background: linear-gradient(90deg, #fff 0 3%, var(--brand-2) 3% 100%); opacity: .85; }
.lx-cd-bar div { display: flex; justify-content: space-between; gap: 10px; margin-top: 6px; }
.lx-cd-bar small { font-size: .74rem; }
.lx-cd-tiles { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.lx-cd-tiles li { padding: 14px 16px; border-left: 3px solid var(--brand-2); background: rgba(255,255,255,.04); border-radius: 0 14px 14px 0; font-size: .84rem; line-height: 1.45; }
.lx-cd-tiles b { display: block; color: #fff; font-family: var(--display); font-size: 1.3rem; line-height: 1.1; margin-bottom: 4px; }
.lx-cd-tiles a { color: var(--t-on-deep); }
@media (max-width: 860px) { .lx-cd-tiles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .lx-cd { padding: 14px; } .lx-cd-head, .lx-cd-grid { gap: 4px; } .lx-cd-grid li { min-height: 44px; } .lx-cd-grid li small { display: none; } .lx-cd-tiles { grid-template-columns: 1fr; } }

/* zones: time-zone ladder */
.lx-hero--zones .lx-hero-copy--wide { max-width: 760px; }
.lx-zn { margin-top: 40px; padding: 22px 24px; border-radius: 24px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); }
.lx-zn-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.lx-zn-top b { color: #fff; font-family: var(--display); font-size: 1.05rem; }
.lx-zn-top small { font-size: .78rem; }
.lx-zn-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.lx-zn-row { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 14px; align-items: center; }
.lx-zn-name b { display: block; color: #fff; font-size: .9rem; }
.lx-zn-name small { font-size: .72rem; }
.lx-zn-track { position: relative; height: 30px; border-radius: 8px; background: rgba(255,255,255,.06); }
.lx-zn-win { position: absolute; top: 0; bottom: 0; border-radius: 8px; background: color-mix(in srgb, var(--brand-2) 35%, transparent); border: 1px solid color-mix(in srgb, var(--brand-2) 60%, transparent); }
.lx-zn-dot { position: absolute; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.2); }
.lx-zn--out .lx-zn-dot { background: #fbbf24; box-shadow: 0 0 0 4px rgba(251,191,36,.25); }
.lx-zn-dot i { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); font-style: normal; font-weight: 800; font-size: .76rem; color: #fff; white-space: nowrap; }
.lx-zn-ticks { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 14px; margin: 8px 0 12px; }
.lx-zn-ticks div { position: relative; height: 16px; }
.lx-zn-ticks div span { position: absolute; transform: translateX(-50%); font-size: .68rem; color: var(--t-deep-text); opacity: .8; }
.lx-hero--zones .lx-k--ok::before { background: color-mix(in srgb, var(--brand-2) 60%, transparent); }
@media (max-width: 700px) { .lx-zn { padding: 16px; } .lx-zn-row, .lx-zn-ticks { grid-template-columns: 1fr; gap: 4px; } .lx-zn-tick-pad { display: none; } .lx-zn-row { margin-bottom: 6px; } }

/* shared look for the three Day 3 widgets (light by default, dark with widgets=dark) */
.lx-xp, .lx-bc, .lx-zc { margin: 8px 0 22px; padding: 24px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.lx-xp-form, .lx-bc-form, .lx-zc-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.lx-zc-form { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.lx-bc-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lx-xp-form label, .lx-bc-form label, .lx-zc-form label { display: grid; gap: 6px; font-size: .78rem; font-weight: 700; color: var(--body); }
.lx-xp-form select, .lx-xp-form input, .lx-bc-form input, .lx-zc-form select, .lx-zc-form input { width: 100%; min-width: 0; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--soft); color: var(--ink); font: inherit; font-size: .92rem; }
.lx-xp:not(.is-live) .lx-xp-form, .lx-bc:not(.is-live) .lx-bc-form, .lx-zc:not(.is-live) .lx-zc-form { display: none; }
.lx-xp.is-live .lx-xp-static { display: none; }
.lx-xp-out, .lx-bc-out { padding: 16px 18px; border-radius: 16px; background: var(--brand-soft); border-left: 4px solid var(--brand); }
.lx-xp-out p, .lx-bc-out p { margin: 0 0 8px; line-height: 1.55; }
.lx-xp-out p:last-child, .lx-bc-out p:last-child { margin-bottom: 0; }
.lx-xp-out b, .lx-bc-out b { color: var(--ink); }
.lx-xp.is-gone .lx-xp-out { background: #fdecec; border-left-color: #c0262d; }
.lx-xp.is-soon .lx-xp-out { background: #fff8ec; border-left-color: #d97706; }
.lx-bc-strip { list-style: none; margin: 0 0 14px; padding: 0; display: flex; gap: 4px; flex-wrap: wrap; }
.lx-bc-strip li { flex: 1 0 30px; min-width: 30px; padding: 6px 2px; border-radius: 8px; text-align: center; font-size: .66rem; line-height: 1.2; background: var(--soft); color: var(--muted); }
.lx-bc-strip li b { display: block; font-size: .8rem; color: var(--ink); }
.lx-bc-strip li.is-req { background: var(--ink); color: #fff; } .lx-bc-strip li.is-req b { color: #fff; }
.lx-bc-strip li.is-biz { background: var(--brand-soft); color: var(--brand-600); }
.lx-bc-strip li.is-last { background: var(--brand); color: #fff; } .lx-bc-strip li.is-last b { color: #fff; }
.lx-bc-strip li.is-wknd { background: repeating-linear-gradient(45deg, var(--soft) 0 4px, #fff 4px 8px); }
.lx-zc-tbl td, .lx-zc-tbl th { vertical-align: top; }
.lx-zc-tbl th small { display: block; font-weight: 400; color: var(--muted); font-size: .76rem; }
.lx-zc-tbl td.is-ok { color: #0f7a3d; font-weight: 700; }
.lx-zc-tbl td.is-no { color: #c0262d; font-weight: 700; }
.lx-zc-sum { margin: 4px 0 0; font-size: .92rem; }
.lx-widgets--dark .lx-xp, .lx-widgets--dark .lx-bc, .lx-widgets--dark .lx-zc { background: var(--dark); color: var(--dark-text, #c9d6ea); border-color: transparent; }
.lx-widgets--dark .lx-xp .cmp-flow-head b, .lx-widgets--dark .lx-bc .cmp-flow-head b, .lx-widgets--dark .lx-zc .cmp-flow-head b { color: #fff; }
.lx-widgets--dark .lx-xp-form label, .lx-widgets--dark .lx-bc-form label, .lx-widgets--dark .lx-zc-form label { color: #cfe0f7; }
.lx-widgets--dark .lx-xp-form select, .lx-widgets--dark .lx-xp-form input, .lx-widgets--dark .lx-bc-form input, .lx-widgets--dark .lx-zc-form select, .lx-widgets--dark .lx-zc-form input { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); color: #fff; color-scheme: dark; }
.lx-widgets--dark .lx-xp-out, .lx-widgets--dark .lx-bc-out { background: rgba(255,255,255,.06); }
.lx-widgets--dark .lx-xp-out b, .lx-widgets--dark .lx-bc-out b { color: #fff; }
.lx-widgets--dark .lx-bc-strip li { background: rgba(255,255,255,.06); color: #9fb3cf; } .lx-widgets--dark .lx-bc-strip li b { color: #fff; }
.lx-widgets--dark .lx-bc-strip li.is-biz { background: color-mix(in srgb, var(--brand-2) 25%, transparent); color: #fff; }
.lx-widgets--dark .lx-bc-strip li.is-last { background: var(--brand-2); }
.lx-widgets--dark .lx-bc-strip li.is-req { background: #fff; color: var(--ink); } .lx-widgets--dark .lx-bc-strip li.is-req b { color: var(--ink); }
.lx-widgets--dark .lx-bc-strip li.is-wknd { background: repeating-linear-gradient(45deg, rgba(255,255,255,.06) 0 4px, transparent 4px 8px); }
@media (max-width: 960px) { .lx-zc-form { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .lx-xp-form, .lx-zc-form { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .lx-xp, .lx-bc, .lx-zc { padding: 16px; } .lx-xp-form, .lx-bc-form, .lx-zc-form { grid-template-columns: 1fr; } }
@media print { .lx-xp-form, .lx-bc-form, .lx-zc-form, .lx-bc-strip { display: none !important; } }
