/* CaseToday Bare Acts — chapter-first legal reading interface */
#ctActsApp.ct-acts {
    --acts-ink: var(--ll-text, #1e293b);
    --acts-muted: var(--ll-muted, #64748b);
    --acts-paper: var(--ll-card, #ffffff);
    --acts-canvas: var(--ll-bg, #f8fafc);
    --acts-line: var(--ll-border, #e2e8f0);
    --acts-walnut: var(--ll-navy, #1e293b);
    --acts-walnut-dark: var(--ll-dark, #0f172a);
    --acts-olive: var(--ll-red, #c81e1e);
    --acts-forest: var(--ll-red-dark, #a11414);
    --acts-gold: #c69a53;
    color: var(--acts-ink);
    background: var(--acts-canvas);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    padding: 30px 22px 52px;
    min-height: 70vh;
    line-height: 1.55;
}
#ctActsApp *, #ctActsApp *::before, #ctActsApp *::after { box-sizing: border-box; }
#ctActsApp button, #ctActsApp input { font: inherit; }
#ctActsApp button { color: inherit; }
#ctActsApp a { color: inherit; }
#ctActsApp button:focus-visible, #ctActsApp a:focus-visible, #ctActsApp input:focus-visible { outline: 3px solid #a77b3e; outline-offset: 3px; }
#ctActsApp .ct-acts-shell { max-width: 1210px; margin: 0 auto; }
#ctActsApp .ct-acts-masthead { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 0 2px 22px; }
#ctActsApp .ct-acts-brandline { display: flex; align-items: center; gap: 13px; }
#ctActsApp .ct-acts-brandmark { width: 44px; height: 44px; display: grid; place-items: center; color: #f7f1e5; background: var(--acts-walnut); border-radius: 14px 14px 14px 4px; box-shadow: 0 5px 14px #43271424; }
#ctActsApp .ct-acts-brandmark span { font-family: Georgia, serif; font-size: 29px; line-height: 1; }
#ctActsApp .ct-acts-brandline h1 { margin: 0; font: 700 19px/1.2 Inter, sans-serif; letter-spacing: -.025em; color: var(--acts-ink); }
#ctActsApp .ct-acts-eyebrow, #ctActsApp .ct-acts-kicker { margin: 0 0 5px; color: var(--acts-olive); font-size: 10px; line-height: 1.3; letter-spacing: .15em; font-weight: 800; }
#ctActsApp .ct-acts-head-actions { display: flex; align-items: center; gap: 9px; }
#ctActsApp .ct-acts-home-link, #ctActsApp .ct-acts-saved-link { min-height: 40px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 0 13px; border: 1px solid var(--acts-line); border-radius: 999px; background: var(--acts-paper); text-decoration: none; font-size: 12px; font-weight: 700; transition: border-color .18s ease, transform .18s ease, background .18s ease; }
#ctActsApp .ct-acts-home-link:hover, #ctActsApp .ct-acts-saved-link:hover { border-color: var(--acts-olive); transform: translateY(-1px); }
#ctActsApp .ct-acts-home-link span:first-child, #ctActsApp .ct-acts-saved-link span:first-child { color: var(--acts-olive); font-size: 17px; }
#ctActsApp .ct-acts-saved-count { display: inline-grid; place-items: center; min-width: 19px; height: 19px; padding: 0 4px; border-radius: 99px; background: #fde8e8; color: var(--acts-forest); font-size: 10px; }
#ctActsApp .ct-acts-intro { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; overflow: hidden; min-height: 254px; padding: 38px 46px; border-radius: 24px; color: #faf6ec; background: radial-gradient(circle at 88% 28%, #c81e1e 0, #c81e1e40 17%, transparent 18%), linear-gradient(115deg, #0f172a, #1e293b 57%, #7f1d1d); box-shadow: 0 15px 35px #0f172a22; }
#ctActsApp .ct-acts-intro::after { content: ""; position: absolute; width: 300px; height: 300px; right: 6%; bottom: -225px; border: 1px solid #eddbbd32; border-radius: 50%; box-shadow: 0 0 0 28px #eddbbd0c, 0 0 0 58px #eddbbd0b; pointer-events: none; }
#ctActsApp .ct-acts-intro-copy { position: relative; z-index: 1; max-width: 680px; }
#ctActsApp .ct-acts-intro .ct-acts-kicker { color: #d8bd88; }
#ctActsApp .ct-acts-intro h2 { margin: 8px 0 12px; color: #fff8e9; font: 700 clamp(31px, 4vw, 47px)/1.12 Merriweather, Georgia, serif; letter-spacing: -.04em; }
#ctActsApp .ct-acts-intro h2 em { color: #e0bd7b; font-weight: 400; }
#ctActsApp .ct-acts-intro-copy > p:last-child { max-width: 625px; margin: 0; color: #eee0ca; font-size: 14px; }
#ctActsApp .ct-acts-intro-aside { position: relative; z-index: 1; flex: 0 0 165px; text-align: center; color: #e8d7bb; }
#ctActsApp .ct-acts-seal { display: grid; place-items: center; width: 84px; height: 84px; margin: 0 auto 12px; border: 1px solid #e4c7888c; border-radius: 50%; color: #e3c27f; font: 44px/1 Georgia, serif; box-shadow: inset 0 0 0 6px #eddbbd10; }
#ctActsApp .ct-acts-intro-aside p { margin: 0; font-size: 11px; letter-spacing: .04em; }
#ctActsApp .ct-acts-searchbar { position: relative; z-index: 4; display: flex; align-items: center; gap: 14px; margin: -22px 6.5% 24px; }
#ctActsApp .ct-acts-searchbox { display: flex; align-items: center; flex: 1; min-height: 56px; gap: 12px; padding: 0 15px 0 18px; border: 1px solid #e5dfd2; border-radius: 15px; background: #fffefa; box-shadow: 0 9px 22px #32271913; }
#ctActsApp .ct-acts-search-icon { color: var(--acts-olive); font: 31px/1 Georgia, serif; transform: rotate(-20deg); }
#ctActsApp .ct-acts-searchbox input, #ctActsApp .ct-act-search input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--acts-ink); font-size: 14px; box-shadow: none; }
#ctActsApp .ct-acts-searchbox input::placeholder, #ctActsApp .ct-act-search input::placeholder { color: #95988e; }
#ctActsApp .ct-acts-searchbox kbd { display: inline-grid; place-items: center; min-width: 22px; height: 23px; border: 1px solid #e7e2d8; border-radius: 6px; background: #f6f3ec; color: #777b71; font: 11px/1 Inter, sans-serif; }
#ctActsApp .ct-acts-search-hint { color: #85897f; font-size: 11px; white-space: nowrap; }
#ctActsApp .ct-acts-search-results { position: relative; z-index: 5; margin: -17px 6.5% 20px; max-height: 460px; overflow-y: auto; border: 1px solid var(--acts-line); border-radius: 15px; background: #fffefa; box-shadow: 0 18px 38px #31281924; }
#ctActsApp .ct-search-results-head { display: flex; justify-content: space-between; padding: 13px 16px 10px; border-bottom: 1px solid var(--acts-line); color: var(--acts-muted); font-size: 11px; }
#ctActsApp .ct-search-results-head strong { color: var(--acts-ink); }
#ctActsApp .ct-search-result { width: 100%; display: grid; grid-template-columns: 58px 1fr 20px; align-items: start; gap: 13px; padding: 13px 16px; border: 0; border-bottom: 1px solid #efede7; background: transparent; text-align: left; cursor: pointer; }
#ctActsApp .ct-search-result:hover { background: #f5f3ec; }
#ctActsApp .ct-search-result-code { padding: 4px 5px; border-radius: 6px; color: var(--acts-forest); background: #fee2e2; text-align: center; font-size: 10px; font-weight: 800; }
#ctActsApp .ct-search-result-main { display: grid; gap: 3px; }
#ctActsApp .ct-search-result-main strong { font-size: 12px; }
#ctActsApp .ct-search-result-main small, #ctActsApp .ct-search-result-main > span { color: var(--acts-muted); font-size: 10px; }
#ctActsApp .ct-search-result-arrow { color: var(--acts-olive); font-size: 16px; }
#ctActsApp .ct-search-empty { margin: 0; padding: 20px; color: var(--acts-muted); font-size: 13px; }
#ctActsApp .ct-acts-breadcrumbs { display: flex; align-items: center; gap: 9px; min-height: 28px; margin: 0 2px 14px; color: #858a80; font-size: 11px; }
#ctActsApp .ct-acts-crumb-root, #ctActsApp .ct-acts-crumb { padding: 0; border: 0; background: transparent; color: var(--acts-forest); font-size: 11px; font-weight: 700; cursor: pointer; }
#ctActsApp .ct-acts-crumb:hover { text-decoration: underline; }
#ctActsApp .ct-acts-crumb-current { color: #7d8178; }
#ctActsApp .ct-acts-crumb-sep { color: #b0b0a6; }
#ctActsApp .ct-acts-status { display: flex; align-items: center; gap: 10px; padding: 18px 20px; border: 1px solid var(--acts-line); border-radius: 13px; background: var(--acts-paper); color: var(--acts-muted); font-size: 13px; }
#ctActsApp .ct-acts-status[hidden], #ctActsApp [hidden] { display: none !important; }
#ctActsApp .ct-acts-view { min-height: 160px; }
#ctActsApp .ct-view-block { margin: 22px 0 35px; }
#ctActsApp .ct-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 14px; margin: 0 2px 16px; }
#ctActsApp .ct-section-heading h2, #ctActsApp .ct-directory-head h2, #ctActsApp .ct-compare-view-head h2 { margin: 0; color: var(--acts-ink); font: 700 25px/1.2 Merriweather, Georgia, serif; letter-spacing: -.035em; }
#ctActsApp .ct-heading-note { color: var(--acts-muted); font-size: 11px; }
#ctActsApp .ct-act-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
#ctActsApp .ct-act-card { position: relative; display: flex; flex-direction: column; min-height: 181px; padding: 18px; border: 1px solid #e2ded5; border-radius: 15px; background: var(--acts-paper); text-align: left; cursor: pointer; box-shadow: 0 5px 16px #3b2c1608; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
#ctActsApp .ct-act-card:hover { transform: translateY(-3px); border-color: #b8c2a9; box-shadow: 0 12px 24px #3b2c1615; }
#ctActsApp .ct-act-card.is-new { border-top: 3px solid var(--acts-forest); }
#ctActsApp .ct-act-card.is-former { border-top: 3px solid var(--acts-gold); }
#ctActsApp .ct-act-card-top { display: flex; align-items: center; justify-content: space-between; }
#ctActsApp .ct-act-code { color: var(--acts-forest); font-size: 11px; letter-spacing: .1em; font-weight: 900; }
#ctActsApp .ct-act-year { color: #797f74; font-size: 10px; }
#ctActsApp .ct-act-card-title { display: block; margin: 12px 0 5px; color: var(--acts-ink); font: 700 15px/1.4 Merriweather, Georgia, serif; }
#ctActsApp .ct-act-card-meta { display: block; color: var(--acts-muted); font-size: 10px; }
#ctActsApp .ct-act-card-bottom { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 15px; color: #666f64; font-size: 10px; }
#ctActsApp .ct-arrow { margin-left: auto; color: var(--acts-olive); font-size: 16px; }
#ctActsApp .ct-compare-block { margin-top: 34px; }
#ctActsApp .ct-compare-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
#ctActsApp .ct-compare-card { display: flex; align-items: center; gap: 13px; min-height: 83px; padding: 14px 16px; border: 1px solid var(--acts-line); border-radius: 14px; background: #f9f7f0; text-align: left; cursor: pointer; transition: background .18s ease, border-color .18s ease, transform .18s ease; }
#ctActsApp .ct-compare-card:hover { transform: translateY(-2px); border-color: #c8b899; background: #fffdf7; }
#ctActsApp .ct-compare-card-mark { display: grid; flex: 0 0 36px; height: 36px; place-items: center; border-radius: 50%; color: var(--acts-walnut); background: #f8e8e7; font-size: 18px; }
#ctActsApp .ct-compare-card-copy { display: grid; gap: 3px; min-width: 0; }
#ctActsApp .ct-compare-card-copy strong { font-size: 13px; }
#ctActsApp .ct-compare-card-copy strong i { color: var(--acts-olive); font-style: normal; }
#ctActsApp .ct-compare-card-copy span { overflow: hidden; color: var(--acts-muted); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
#ctActsApp .ct-source-note { display: flex; align-items: flex-start; gap: 12px; margin: 25px 0 0; padding: 15px 17px; border: 1px solid #e6e0d2; border-radius: 13px; background: #f8f5ed; color: #6e746d; }
#ctActsApp .ct-source-note-mark { display: grid; flex: 0 0 20px; width: 20px; height: 20px; place-items: center; border-radius: 50%; background: #e5eadf; color: var(--acts-forest); font: 700 12px/1 Georgia, serif; }
#ctActsApp .ct-source-note p { margin: 0; font-size: 10px; line-height: 1.55; }
#ctActsApp .ct-source-note-small { margin-top: 19px; }
#ctActsApp .ct-source-note-small a { color: var(--acts-forest); font-weight: 700; }
#ctActsApp .ct-directory-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin: 7px 1px 20px; padding: 0 0 17px; border-bottom: 1px solid var(--acts-line); }
#ctActsApp .ct-directory-head h2 { max-width: 800px; }
#ctActsApp .ct-directory-head p:not(.ct-acts-kicker) { margin: 9px 0 0; color: var(--acts-muted); font-size: 12px; }
#ctActsApp .ct-text-link { color: var(--acts-forest); font-size: 11px; font-weight: 700; text-decoration: none; white-space: nowrap; }
#ctActsApp .ct-text-link:hover { text-decoration: underline; }
#ctActsApp .ct-chapter-list, #ctActsApp .ct-section-list { overflow: hidden; border: 1px solid var(--acts-line); border-radius: 15px; background: var(--acts-paper); }
#ctActsApp .ct-chapter-row, #ctActsApp .ct-section-row { display: grid; grid-template-columns: 100px minmax(0,1fr) 24px; align-items: center; width: 100%; min-height: 68px; gap: 15px; padding: 12px 19px; border: 0; border-bottom: 1px solid #eeeae1; background: transparent; text-align: left; cursor: pointer; transition: background .15s ease; }
#ctActsApp .ct-chapter-row:last-child, #ctActsApp .ct-section-row:last-child { border-bottom: 0; }
#ctActsApp .ct-chapter-row:hover, #ctActsApp .ct-section-row:hover { background: #f4f3eb; }
#ctActsApp .ct-chapter-index { color: var(--acts-walnut); font: 700 11px/1 Inter, sans-serif; letter-spacing: .045em; }
#ctActsApp .ct-chapter-name, #ctActsApp .ct-section-title { display: grid; gap: 3px; min-width: 0; }
#ctActsApp .ct-chapter-name strong, #ctActsApp .ct-section-title strong { color: var(--acts-ink); font-size: 12px; font-weight: 700; }
#ctActsApp .ct-chapter-name small, #ctActsApp .ct-section-title small { color: #858a80; font-size: 10px; }
#ctActsApp .ct-chapter-arrow, #ctActsApp .ct-section-open { color: #8c9a7d; font-size: 21px; text-align: right; }
#ctActsApp .ct-sections-head { align-items: center; }
#ctActsApp .ct-act-search { display: flex; align-items: center; flex: 0 1 360px; min-height: 43px; gap: 9px; padding: 0 12px; border: 1px solid var(--acts-line); border-radius: 11px; background: #fffefa; }
#ctActsApp .ct-act-search > span { color: var(--acts-olive); font: 25px/1 Georgia, serif; }
#ctActsApp .ct-act-search input { font-size: 11px; }
#ctActsApp .ct-section-number { color: var(--acts-walnut); font: 700 11px/1.3 Inter, sans-serif; white-space: nowrap; }
#ctActsApp .ct-directory-actions { display: flex; justify-content: space-between; margin: 17px 0 0; }
#ctActsApp .ct-secondary-button { min-height: 38px; padding: 0 13px; border: 1px solid var(--acts-line); border-radius: 9px; background: #fffdf7; color: var(--acts-forest); font-size: 11px; font-weight: 700; cursor: pointer; }
#ctActsApp .ct-secondary-button:hover { border-color: #aeb99e; background: #f4f5ed; }
#ctActsApp .ct-empty-state { display: grid; gap: 5px; padding: 28px 20px; color: var(--acts-muted); text-align: center; font-size: 12px; }
#ctActsApp .ct-empty-state strong { color: var(--acts-ink); font-size: 14px; }
#ctActsApp .ct-reader-card { max-width: 930px; margin: 7px auto 0; padding: 28px 38px 24px; border: 1px solid #e2ddd1; border-radius: 18px; background: #fffdf8; box-shadow: 0 12px 34px #30281a0c; }
#ctActsApp .ct-reader-topline { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
#ctActsApp .ct-reader-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
#ctActsApp .ct-statute-tag, #ctActsApp .ct-chapter-tag { display: inline-flex; align-items: center; min-height: 25px; padding: 0 9px; border-radius: 999px; font-size: 9px; font-weight: 800; }
#ctActsApp .ct-statute-tag { color: #f7f4e9; background: var(--acts-forest); letter-spacing: .045em; }
#ctActsApp .ct-chapter-tag { color: #656a60; background: #efeee7; }
#ctActsApp .ct-save-button { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 11px; border: 1px solid #d8dfd1; border-radius: 9px; background: #f7f9f3; color: var(--acts-forest); font-size: 10px; font-weight: 700; cursor: pointer; white-space: nowrap; }
#ctActsApp .ct-save-button span { font-size: 16px; }
#ctActsApp .ct-save-button.is-saved { border-color: #d8c99b; background: #fbf4df; color: #876629; }
#ctActsApp .ct-reader-heading { padding: 23px 0 20px; border-bottom: 1px solid var(--acts-line); }
#ctActsApp .ct-reader-heading .ct-acts-kicker { margin-bottom: 7px; }
#ctActsApp .ct-reader-heading h2 { margin: 0; color: #292b26; font: 700 clamp(23px, 3vw, 32px)/1.28 Merriweather, Georgia, serif; letter-spacing: -.035em; }
#ctActsApp .ct-reader-heading h2 > span { color: var(--acts-walnut); white-space: nowrap; }
#ctActsApp .ct-click-highlight { color: var(--ll-red, #c81e1e) !important; transition: color .18s ease; }
#ctActsApp .ct-reader-heading h2.ct-click-highlight > span { color: var(--ll-red, #c81e1e) !important; }
#ctActsApp .ct-reader-section-number.ct-click-highlight { color: var(--ll-red, #c81e1e) !important; }
#ctActsApp .ct-reader-chapterline { margin: 9px 0 0; color: #7a7d74; font-size: 11px; }
#ctActsApp .ct-reader-correspondence { display: flex; align-items: center; gap: 11px; margin: 18px 0 0; padding: 12px 14px; border: 1px solid #e3e6dc; border-radius: 11px; background: #f5f7f0; }
#ctActsApp .ct-reader-correspondence > span { color: #73796f; font-size: 10px; }
#ctActsApp .ct-reader-correspondence > button:first-of-type { display: flex; flex: 1; align-items: center; gap: 8px; padding: 0; border: 0; background: transparent; color: var(--acts-forest); text-align: left; cursor: pointer; }
#ctActsApp .ct-reader-correspondence > button:first-of-type strong { font-size: 11px; white-space: nowrap; }
#ctActsApp .ct-reader-correspondence > button:first-of-type span { color: #6e756a; font-size: 10px; }
#ctActsApp .ct-reader-correspondence > button:first-of-type i { margin-left: auto; font-style: normal; }
#ctActsApp .ct-reader-compare-link { padding: 4px 0 4px 10px; border: 0; border-left: 1px solid #d9dfd1; background: transparent; color: var(--acts-forest); font-size: 10px; font-weight: 700; cursor: pointer; white-space: nowrap; }
#ctActsApp .ct-reader-text { padding: 18px 2px 7px; color: #30312d; font-family: Merriweather, Georgia, serif; font-size: 14px; line-height: 1.88; overflow-wrap: anywhere; }
#ctActsApp .ct-reader-text p { margin: 0 0 15px; white-space: normal; }
#ctActsApp .ct-reader-text p:last-child { margin-bottom: 5px; }
#ctActsApp .ct-reader-no-text { padding: 12px 14px; border-left: 3px solid #c69a53; background: #fcf7e9; color: #715b37; font-family: Inter, sans-serif; font-size: 12px; line-height: 1.65; }
#ctActsApp .ct-reader-alert { display: flex; align-items: baseline; gap: 9px; margin: 18px 0 0; padding: 10px 12px; border-radius: 9px; background: #f2f0e8; color: #6e7068; font-size: 10px; }
#ctActsApp .ct-reader-alert strong { color: #6a4d27; white-space: nowrap; }
#ctActsApp .ct-reader-source { display: flex; justify-content: space-between; gap: 12px; margin: 14px 0 0; padding: 11px 2px; border-bottom: 1px solid var(--acts-line); color: #898c83; font-size: 10px; }
#ctActsApp .ct-reader-source a { color: var(--acts-forest); font-weight: 700; text-decoration: none; }
#ctActsApp .ct-reader-source a:hover { text-decoration: underline; }
#ctActsApp .ct-reader-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 17px 0; }
#ctActsApp .ct-reader-pager button { display: flex; align-items: center; gap: 10px; min-width: 0; min-height: 59px; padding: 10px 12px; border: 1px solid var(--acts-line); border-radius: 10px; background: #fbfaf5; text-align: left; cursor: pointer; }
#ctActsApp .ct-reader-pager button:last-child { justify-content: flex-end; text-align: right; }
#ctActsApp .ct-reader-pager button:disabled { opacity: .48; cursor: default; }
#ctActsApp .ct-reader-pager button > span:first-child, #ctActsApp .ct-reader-pager button > span:last-child { flex: 0 0 auto; color: var(--acts-olive); font-size: 17px; }
#ctActsApp .ct-reader-pager button > span:nth-child(2), #ctActsApp .ct-reader-pager button > span:first-child + span { display: grid; min-width: 0; gap: 2px; }
#ctActsApp .ct-reader-pager small { color: #8a8c82; font-size: 8px; letter-spacing: .1em; }
#ctActsApp .ct-reader-pager strong { display: block; overflow: hidden; color: #41463e; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
#ctActsApp .ct-reader-bottom-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
#ctActsApp .ct-compare-view-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin: 7px 0 19px; padding-bottom: 17px; border-bottom: 1px solid var(--acts-line); }
#ctActsApp .ct-compare-view-head h2 span { color: var(--acts-olive); }
#ctActsApp .ct-compare-view-head p:not(.ct-acts-kicker) { margin: 7px 0 0; color: var(--acts-muted); font-size: 11px; }
#ctActsApp .ct-direction-control { display: flex; gap: 5px; padding: 4px; border: 1px solid var(--acts-line); border-radius: 11px; background: #e9e6dd; }
#ctActsApp .ct-direction-control button { min-height: 34px; padding: 0 11px; border: 0; border-radius: 8px; background: transparent; color: #666d63; font-size: 10px; font-weight: 700; cursor: pointer; }
#ctActsApp .ct-direction-control button.is-active { background: #fffdf8; color: var(--acts-forest); box-shadow: 0 2px 6px #342a1614; }
#ctActsApp .ct-compare-tools { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin: 14px 0 12px; }
#ctActsApp .ct-compare-tools > span { color: #858a80; font-size: 10px; white-space: nowrap; }
#ctActsApp .ct-compare-tools .ct-act-search { flex: 1; max-width: 450px; }
#ctActsApp .ct-map-head, #ctActsApp .ct-map-group, #ctActsApp .ct-map-row { display: grid; grid-template-columns: minmax(0, 1fr) 100px minmax(0, 1fr); align-items: center; gap: 13px; }
#ctActsApp .ct-map-head { padding: 11px 15px; border: 1px solid #ded9cd; border-radius: 12px 12px 0 0; background: #eae5d9; color: #565c52; font-size: 10px; font-weight: 800; letter-spacing: .04em; }
#ctActsApp .ct-map-head small { display: block; margin-top: 2px; color: #85897e; font-size: 8px; font-weight: 500; letter-spacing: 0; }
#ctActsApp .ct-map-head > span:nth-child(2) { text-align: center; font-size: 8px; }
#ctActsApp .ct-map-list { overflow: hidden; border: 1px solid var(--acts-line); border-top: 0; border-radius: 0 0 13px 13px; background: var(--acts-paper); }
#ctActsApp .ct-map-group { padding: 9px 15px; border-bottom: 1px solid #dfdacd; background: #f1eee5; color: var(--acts-walnut); font-size: 10px; font-weight: 800; }
#ctActsApp .ct-map-group span:nth-child(2) { color: #9a9c92; text-align: center; }
#ctActsApp .ct-map-group span:last-child { text-align: right; }
#ctActsApp .ct-map-row { min-height: 63px; padding: 9px 15px; border-bottom: 1px solid #eeebe4; }
#ctActsApp .ct-map-row:last-child { border-bottom: 0; }
#ctActsApp .ct-map-side { min-width: 0; }
#ctActsApp .ct-map-section-link, #ctActsApp .ct-map-no-link { display: flex; align-items: center; gap: 8px; width: 100%; min-width: 0; padding: 0; border: 0; background: transparent; text-align: left; }
#ctActsApp .ct-map-section-link { cursor: pointer; }
#ctActsApp .ct-map-section-link:hover > span:nth-child(2) { color: var(--acts-forest); text-decoration: underline; }
#ctActsApp .ct-map-section-num { flex: 0 0 auto; color: var(--acts-walnut); font-size: 10px; font-weight: 800; white-space: nowrap; }
#ctActsApp .ct-map-section-link > span:nth-child(2), #ctActsApp .ct-map-no-link > span:nth-child(2) { overflow: hidden; color: #62675f; font-size: 10px; text-overflow: ellipsis; }
#ctActsApp .ct-map-section-link i { margin-left: auto; color: var(--acts-olive); font-size: 13px; font-style: normal; }
#ctActsApp .ct-map-status { display: flex; align-items: center; justify-content: center; gap: 7px; color: #a1a298; font-size: 13px; }
#ctActsApp .ct-status-pill { padding: 3px 6px; border-radius: 999px; background: #eeeee8; color: #697064; font-size: 8px; font-weight: 800; letter-spacing: .035em; text-transform: uppercase; }
#ctActsApp .ct-status-changed { background: #f8ebcf; color: #896323; }
#ctActsApp .ct-status-new { background: #fee2e2; color: #a11414; }
#ctActsApp .ct-status-deleted { background: #f3e5e0; color: #8a4c3b; }
#ctActsApp .ct-status-consolidated { background: #e8e7f2; color: #5b577e; }
#ctActsApp .ct-acts-footnote { display: flex; justify-content: space-between; gap: 15px; margin: 25px 3px 0; padding-top: 14px; border-top: 1px solid #ded9cd; color: #8b8d83; font-size: 9px; }
#ctActsApp .ct-acts-footnote span:first-child { color: #6f7569; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
#ctActsApp .ct-acts-toast { position: fixed; z-index: 9999; left: 50%; bottom: 22px; max-width: min(92vw, 440px); padding: 10px 15px; border: 1px solid #ffffff22; border-radius: 999px; background: #1e293b; color: #fffdf8; font-size: 11px; opacity: 0; pointer-events: none; transform: translate(-50%, 12px); transition: opacity .2s ease, transform .2s ease; }
#ctActsApp .ct-acts-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 900px) {
    #ctActsApp .ct-act-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    #ctActsApp .ct-compare-grid { grid-template-columns: 1fr; }
    #ctActsApp .ct-acts-intro { padding: 33px 30px; }
    #ctActsApp .ct-acts-searchbar, #ctActsApp .ct-acts-search-results { margin-left: 3%; margin-right: 3%; }
    #ctActsApp .ct-map-head, #ctActsApp .ct-map-group, #ctActsApp .ct-map-row { grid-template-columns: minmax(0, 1fr) 84px minmax(0, 1fr); gap: 8px; }
}
@media (max-width: 640px) {
    #ctActsApp.ct-acts { padding: 18px 13px 34px; }
    #ctActsApp .ct-acts-masthead { align-items: flex-start; gap: 10px; padding-bottom: 15px; }
    #ctActsApp .ct-acts-brandmark { width: 38px; height: 38px; border-radius: 12px 12px 12px 4px; }
    #ctActsApp .ct-acts-brandmark span { font-size: 25px; }
    #ctActsApp .ct-acts-brandline { gap: 9px; }
    #ctActsApp .ct-acts-brandline h1 { font-size: 16px; }
    #ctActsApp .ct-acts-eyebrow { font-size: 8px; }
    #ctActsApp .ct-acts-head-actions { gap: 5px; }
    #ctActsApp .ct-acts-home-link, #ctActsApp .ct-acts-saved-link { min-height: 35px; gap: 4px; padding: 0 9px; font-size: 10px; }
    #ctActsApp .ct-acts-intro { min-height: auto; padding: 27px 22px 30px; border-radius: 18px; }
    #ctActsApp .ct-acts-intro-aside { display: none; }
    #ctActsApp .ct-acts-intro h2 { margin: 7px 0 10px; font-size: clamp(29px, 8vw, 38px); }
    #ctActsApp .ct-acts-intro-copy > p:last-child { font-size: 12px; }
    #ctActsApp .ct-acts-searchbar { display: block; margin: -16px 10px 18px; }
    #ctActsApp .ct-acts-searchbox { min-height: 51px; gap: 8px; padding: 0 11px; border-radius: 12px; }
    #ctActsApp .ct-acts-searchbox input { font-size: 12px; }
    #ctActsApp .ct-acts-searchbox kbd, #ctActsApp .ct-acts-search-hint { display: none; }
    #ctActsApp .ct-acts-search-results { margin: -9px 10px 16px; max-height: 62vh; }
    #ctActsApp .ct-search-result { grid-template-columns: 45px 1fr 14px; gap: 8px; padding: 12px 10px; }
    #ctActsApp .ct-search-result-main strong { font-size: 10px; }
    #ctActsApp .ct-search-result-main small, #ctActsApp .ct-search-result-main > span { font-size: 9px; }
    #ctActsApp .ct-acts-breadcrumbs { margin-bottom: 9px; font-size: 10px; }
    #ctActsApp .ct-acts-crumb-root, #ctActsApp .ct-acts-crumb { font-size: 10px; }
    #ctActsApp .ct-section-heading { align-items: flex-start; margin-bottom: 11px; }
    #ctActsApp .ct-section-heading h2, #ctActsApp .ct-directory-head h2, #ctActsApp .ct-compare-view-head h2 { font-size: 21px; }
    #ctActsApp .ct-heading-note { display: none; }
    #ctActsApp .ct-act-grid { grid-template-columns: 1fr; gap: 9px; }
    #ctActsApp .ct-act-card { min-height: 146px; padding: 15px; }
    #ctActsApp .ct-act-card-title { margin-top: 9px; font-size: 14px; }
    #ctActsApp .ct-act-card-bottom { padding-top: 10px; }
    #ctActsApp .ct-compare-grid { gap: 8px; }
    #ctActsApp .ct-compare-card { min-height: 68px; padding: 11px 12px; }
    #ctActsApp .ct-compare-card-copy span { font-size: 8px; }
    #ctActsApp .ct-directory-head { align-items: flex-start; flex-direction: column; gap: 10px; margin-bottom: 14px; }
    #ctActsApp .ct-directory-head p:not(.ct-acts-kicker) { font-size: 11px; }
    #ctActsApp .ct-chapter-row, #ctActsApp .ct-section-row { grid-template-columns: 69px minmax(0,1fr) 17px; min-height: 63px; gap: 9px; padding: 10px 11px; }
    #ctActsApp .ct-chapter-index { font-size: 9px; }
    #ctActsApp .ct-chapter-name strong, #ctActsApp .ct-section-title strong { font-size: 10px; line-height: 1.45; }
    #ctActsApp .ct-chapter-name small, #ctActsApp .ct-section-title small { font-size: 8px; }
    #ctActsApp .ct-chapter-arrow, #ctActsApp .ct-section-open { font-size: 18px; }
    #ctActsApp .ct-sections-head { align-items: stretch; }
    #ctActsApp .ct-act-search { flex-basis: auto; width: 100%; }
    #ctActsApp .ct-source-note { gap: 9px; padding: 12px; }
    #ctActsApp .ct-source-note p { font-size: 9px; }
    #ctActsApp .ct-reader-card { padding: 18px 15px 16px; border-radius: 15px; }
    #ctActsApp .ct-reader-topline { align-items: flex-start; gap: 8px; }
    #ctActsApp .ct-reader-tags { gap: 5px; }
    #ctActsApp .ct-statute-tag, #ctActsApp .ct-chapter-tag { min-height: 22px; padding: 0 7px; font-size: 8px; }
    #ctActsApp .ct-save-button { min-height: 30px; padding: 0 8px; font-size: 9px; }
    #ctActsApp .ct-reader-heading { padding: 19px 0 15px; }
    #ctActsApp .ct-reader-heading h2 { font-size: 23px; }
    #ctActsApp .ct-reader-correspondence { flex-wrap: wrap; align-items: flex-start; gap: 8px; padding: 10px; }
    #ctActsApp .ct-reader-correspondence > span { width: 100%; }
    #ctActsApp .ct-reader-correspondence > button:first-of-type { min-width: 70%; }
    #ctActsApp .ct-reader-compare-link { margin-left: auto; font-size: 9px; }
    #ctActsApp .ct-reader-text { padding-top: 15px; font-size: 12px; line-height: 1.8; }
    #ctActsApp .ct-reader-alert { align-items: flex-start; flex-direction: column; gap: 3px; }
    #ctActsApp .ct-reader-source { font-size: 9px; }
    #ctActsApp .ct-reader-pager { grid-template-columns: 1fr; gap: 7px; }
    #ctActsApp .ct-reader-pager button { min-height: 53px; }
    #ctActsApp .ct-reader-pager button:last-child { justify-content: space-between; text-align: left; }
    #ctActsApp .ct-reader-bottom-actions { flex-wrap: wrap; }
    #ctActsApp .ct-compare-view-head { align-items: flex-start; flex-direction: column; gap: 12px; }
    #ctActsApp .ct-direction-control { width: 100%; }
    #ctActsApp .ct-direction-control button { flex: 1; padding: 0 6px; font-size: 9px; }
    #ctActsApp .ct-compare-tools { align-items: stretch; flex-direction: column; gap: 7px; }
    #ctActsApp .ct-compare-tools .ct-act-search { max-width: none; }
    #ctActsApp .ct-map-head { display: none; }
    #ctActsApp .ct-map-list { border-top: 1px solid var(--acts-line); border-radius: 12px; }
    #ctActsApp .ct-map-group { grid-template-columns: 1fr 18px 1fr; gap: 4px; padding: 8px; font-size: 8px; }
    #ctActsApp .ct-map-row { grid-template-columns: 1fr; gap: 6px; padding: 11px 10px; }
    #ctActsApp .ct-map-status { justify-content: flex-start; gap: 5px; font-size: 11px; }
    #ctActsApp .ct-map-status::before, #ctActsApp .ct-map-status::after { content: ""; width: 22px; height: 1px; background: #e7e4db; }
    #ctActsApp .ct-map-section-link > span:nth-child(2), #ctActsApp .ct-map-no-link > span:nth-child(2) { font-size: 9px; }
    #ctActsApp .ct-acts-footnote { flex-direction: column; gap: 4px; font-size: 8px; }
}
@media (prefers-reduced-motion: reduce) {
    #ctActsApp *, #ctActsApp *::before, #ctActsApp *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* CaseToday brand alignment and viewport-safe legal reading */
#ctActsApp.ct-acts {
    --acts-ink: var(--ll-text, #1e293b);
    --acts-muted: var(--ll-muted, #64748b);
    --acts-paper: var(--ll-card, #ffffff);
    --acts-canvas: var(--ll-bg, #f8fafc);
    --acts-line: var(--ll-border, #e2e8f0);
    --acts-walnut: var(--ll-navy, #1e293b);
    --acts-walnut-dark: var(--ll-dark, #0f172a);
    --acts-olive: var(--ll-red, #c81e1e);
    --acts-forest: var(--ll-red, #c81e1e);
    --acts-gold: #64748b;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: clip;
    color: var(--ll-text, #1e293b);
    background: var(--ll-bg, #f8fafc);
    font-family: var(--font-sans, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
}
#ctActsApp .ct-acts-shell { width: 100%; min-width: 0; }
#ctActsApp .ct-acts-brandline h1,
#ctActsApp .ct-section-heading h2,
#ctActsApp .ct-directory-head h2,
#ctActsApp .ct-compare-view-head h2,
#ctActsApp .ct-act-card-title,
#ctActsApp .ct-reader-heading h2 {
    font-family: var(--font-serif, Merriweather, Georgia, serif);
    color: var(--ll-dark, #0f172a);
}
#ctActsApp .ct-acts-intro {
    background: radial-gradient(circle at 88% 25%, rgba(200,30,30,.32), transparent 25%), linear-gradient(115deg, #111827, #1e293b 68%, #344052);
}
#ctActsApp .ct-acts-intro::after { border-color: rgba(255,255,255,.16); box-shadow: 0 0 0 28px rgba(255,255,255,.04), 0 0 0 58px rgba(255,255,255,.03); }
#ctActsApp .ct-acts-intro .ct-acts-kicker { color: #fca5a5; }
#ctActsApp .ct-acts-intro h2 em, #ctActsApp .ct-acts-seal { color: #fecaca; }
#ctActsApp .ct-acts-seal { border-color: rgba(252,165,165,.65); }
#ctActsApp .ct-acts-searchbox,
#ctActsApp .ct-act-search,
#ctActsApp .ct-act-card,
#ctActsApp .ct-compare-card,
#ctActsApp .ct-reader-card,
#ctActsApp .ct-chapter-list,
#ctActsApp .ct-section-list,
#ctActsApp .ct-map-list { background: var(--ll-card, #fff); border-color: var(--ll-border, #e2e8f0); }
#ctActsApp .ct-compare-card { border-radius: 10px; }
#ctActsApp .ct-act-card.is-new { border-top-color: var(--ll-red, #c81e1e); }
#ctActsApp .ct-act-card.is-former { border-top-color: #64748b; }
#ctActsApp .ct-act-code, #ctActsApp .ct-section-number, #ctActsApp .ct-chapter-index { color: var(--ll-red, #c81e1e); }
#ctActsApp .ct-act-card:hover, #ctActsApp .ct-compare-card:hover { border-color: var(--ll-red, #c81e1e); }
#ctActsApp .ct-chapter-row, #ctActsApp .ct-section-row { border-bottom-color: var(--ll-border, #e2e8f0); }
#ctActsApp .ct-chapter-row:hover, #ctActsApp .ct-section-row:hover { background: rgba(200,30,30,.045); }
#ctActsApp .ct-reader-card { box-shadow: 0 4px 20px rgba(15,23,42,.045); }
#ctActsApp .ct-reader-text { color: var(--ll-text, #1e293b); font-family: var(--font-serif, Merriweather, Georgia, serif); }
#ctActsApp .ct-statute-tag { background: var(--ll-red, #c81e1e); }
#ctActsApp .ct-save-button, #ctActsApp .ct-secondary-button { color: var(--ll-red, #c81e1e); border-color: var(--ll-border, #e2e8f0); background: var(--ll-card, #fff); }
#ctActsApp .ct-direction-control { border-color: var(--ll-border, #e2e8f0); background: #eef1f5; }
#ctActsApp .ct-direction-control button.is-active { color: var(--ll-red, #c81e1e); background: var(--ll-card, #fff); }
#ctActsApp .ct-compare-view-head { min-width: 0; }
#ctActsApp .ct-compare-view-head h2 { overflow-wrap: anywhere; }
#ctActsApp .ct-map-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin: 0 0 12px; color: var(--ll-muted, #64748b); font-size: 12px; }
#ctActsApp .ct-map-legend > span { display: inline-flex; align-items: center; gap: 7px; }
#ctActsApp .ct-map-legend > span::before { width: 11px; height: 11px; border-radius: 2px; background: currentColor; content: ""; }
#ctActsApp .ct-legend-new { color: #267541; }
#ctActsApp .ct-legend-changed { color: #3730a3; }
#ctActsApp .ct-legend-deleted { color: #a3332a; }
#ctActsApp .ct-map-head, #ctActsApp .ct-map-group, #ctActsApp .ct-map-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0;
    min-width: 0;
}
#ctActsApp .ct-map-head { padding: 0; border: 1px solid var(--ll-border, #e2e8f0); border-radius: 10px 10px 0 0; background: #eef1f5; color: var(--ll-navy, #1e293b); font-size: 14px; letter-spacing: .04em; text-align: center; }
#ctActsApp .ct-map-head > span { min-width: 0; padding: 13px 10px; }
#ctActsApp .ct-map-head > span:first-child,
#ctActsApp .ct-map-group > span:first-child,
#ctActsApp .ct-map-side:first-child { border-right: 1px solid var(--ll-border, #e2e8f0); }
#ctActsApp .ct-map-head > span:last-child, #ctActsApp .ct-map-group > span:last-child { text-align: center; }
#ctActsApp .ct-map-head > span:nth-child(2) { font-size: inherit; }
#ctActsApp .ct-map-group > span:nth-child(2) { color: inherit; }
#ctActsApp .ct-map-group { padding: 0; border-bottom: 1px solid var(--ll-border, #e2e8f0); background: #f1f3f6; color: var(--ll-navy, #1e293b); text-align: center; }
#ctActsApp .ct-map-group > span { min-width: 0; padding: 13px 10px; overflow-wrap: anywhere; }
#ctActsApp .ct-map-row { min-height: 74px; padding: 0; border-bottom-color: var(--ll-border, #e2e8f0); align-items: stretch; }
#ctActsApp .ct-map-side { display: flex; min-width: 0; flex-direction: column; align-items: stretch; justify-content: center; gap: 7px; padding: 12px 14px; overflow-wrap: anywhere; }
#ctActsApp .ct-map-section-link, #ctActsApp .ct-map-no-link { align-items: flex-start; gap: 7px; min-width: 0; overflow-wrap: anywhere; }
#ctActsApp .ct-map-section-link > span:nth-child(2), #ctActsApp .ct-map-no-link > span:nth-child(2) { min-width: 0; overflow: visible; color: var(--ll-text, #1e293b); font-size: 12px; line-height: 1.55; text-overflow: clip; white-space: normal; overflow-wrap: anywhere; }
#ctActsApp .ct-map-section-num { color: var(--ll-red, #c81e1e); }
#ctActsApp .ct-map-section-link i { flex: 0 0 auto; }
#ctActsApp .ct-map-side .ct-status-pill { align-self: flex-start; }
#ctActsApp .ct-acts-footnote { display: none; }
#ctActsApp .ct-source-note, #ctActsApp .ct-reader-alert, #ctActsApp .ct-reader-source { display: none !important; }
body.ll-dark-theme #ctActsApp.ct-acts { --acts-ink: var(--ll-text); --acts-muted: var(--ll-muted); --acts-paper: var(--ll-card); --acts-canvas: var(--ll-bg); --acts-line: var(--ll-border); background: var(--ll-bg); color: var(--ll-text); }
body.ll-dark-theme #ctActsApp .ct-acts-brandline h1,
body.ll-dark-theme #ctActsApp .ct-section-heading h2,
body.ll-dark-theme #ctActsApp .ct-directory-head h2,
body.ll-dark-theme #ctActsApp .ct-compare-view-head h2 { color: var(--ll-dark); }
body.ll-dark-theme #ctActsApp .ct-acts-searchbox,
body.ll-dark-theme #ctActsApp .ct-act-search,
body.ll-dark-theme #ctActsApp .ct-act-card,
body.ll-dark-theme #ctActsApp .ct-compare-card,
body.ll-dark-theme #ctActsApp .ct-reader-card,
body.ll-dark-theme #ctActsApp .ct-chapter-list,
body.ll-dark-theme #ctActsApp .ct-section-list,
body.ll-dark-theme #ctActsApp .ct-map-list { background: var(--ll-card); border-color: var(--ll-border); }
body.ll-dark-theme #ctActsApp .ct-map-head, body.ll-dark-theme #ctActsApp .ct-map-group { background: #141d2d; color: var(--ll-text); }
body.ll-dark-theme #ctActsApp .ct-map-section-link > span:nth-child(2),
body.ll-dark-theme #ctActsApp .ct-map-no-link > span:nth-child(2) { color: var(--ll-text); }
@media (max-width: 640px) {
    #ctActsApp.ct-acts { padding-left: max(12px, env(safe-area-inset-left)); padding-right: max(12px, env(safe-area-inset-right)); }
    #ctActsApp .ct-map-head { display: grid; }
    #ctActsApp .ct-map-head, #ctActsApp .ct-map-group, #ctActsApp .ct-map-row { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
    #ctActsApp .ct-map-head > span { padding: 11px 6px; font-size: 11px; }
    #ctActsApp .ct-map-group > span { padding: 11px 7px; font-size: 9px; }
    #ctActsApp .ct-map-row { gap: 0; padding: 0; }
    #ctActsApp .ct-map-side { padding: 10px 8px; }
    #ctActsApp .ct-map-section-link, #ctActsApp .ct-map-no-link { flex-wrap: wrap; gap: 4px 6px; }
    #ctActsApp .ct-map-section-link > span:nth-child(2), #ctActsApp .ct-map-no-link > span:nth-child(2) { font-size: 10px; }
    #ctActsApp .ct-map-side .ct-status-pill { font-size: 7px; }
}

/* Clear, touch-first typography for CaseToday mobile readers */
#ctActsApp .ct-act-card-title,
#ctActsApp .ct-compare-card-copy strong { color: var(--ll-red, #c81e1e); }
#ctActsApp .ct-chapter-index { color: var(--ll-red, #c81e1e); font-size: 13px; font-weight: 800; }
#ctActsApp .ct-chapter-name strong,
#ctActsApp .ct-section-title strong { color: var(--ll-dark, #0f172a); font-size: 15px; font-weight: 750; line-height: 1.5; }
#ctActsApp .ct-chapter-name small,
#ctActsApp .ct-section-title small { color: var(--ll-muted, #64748b); font-size: 12px; line-height: 1.45; }
#ctActsApp .ct-section-number { color: var(--ll-red, #c81e1e); font-size: 14px; font-weight: 800; line-height: 1.4; white-space: normal; }
#ctActsApp .ct-directory-head p:not(.ct-acts-kicker) { font-size: 13px; }
#ctActsApp .ct-reader-heading h2 { color: var(--ll-dark, #0f172a); }
#ctActsApp .ct-acts-brandline h1 { color: var(--ll-dark, #0f172a); }
#ctActsApp .ct-acts-kicker, #ctActsApp .ct-acts-eyebrow { color: var(--ll-red, #c81e1e); }
body.ll-dark-theme #ctActsApp .ct-chapter-name strong,
body.ll-dark-theme #ctActsApp .ct-section-title strong,
body.ll-dark-theme #ctActsApp .ct-reader-heading h2,
body.ll-dark-theme #ctActsApp .ct-acts-brandline h1 { color: var(--ll-dark); }
@media (max-width: 640px) {
    #ctActsApp .ct-acts { padding-top: 15px; padding-bottom: 30px; }
    #ctActsApp .ct-acts-masthead { align-items: center; gap: 8px; padding: 0 1px 15px; }
    #ctActsApp .ct-acts-brandline { min-width: 0; gap: 0; }
    #ctActsApp .ct-acts-brandline h1 { font-size: 19px; }
    #ctActsApp .ct-acts-eyebrow { font-size: 10px; letter-spacing: .11em; }
    #ctActsApp .ct-acts-head-actions { flex: 0 0 auto; gap: 5px; }
    #ctActsApp .ct-acts-home-link, #ctActsApp .ct-acts-saved-link { min-height: 40px; padding: 0 10px; font-size: 12px; }
    #ctActsApp .ct-acts-intro { padding: 24px 19px 27px; }
    #ctActsApp .ct-acts-intro h2 { font-size: clamp(28px, 8vw, 36px); }
    #ctActsApp .ct-acts-intro-copy > p:last-child { font-size: 14px; line-height: 1.65; }
    #ctActsApp .ct-acts-searchbox { min-height: 54px; }
    #ctActsApp .ct-acts-searchbox input { font-size: 15px; }
    #ctActsApp .ct-acts-breadcrumbs { font-size: 12px; }
    #ctActsApp .ct-acts-crumb-root, #ctActsApp .ct-acts-crumb { font-size: 12px; }
    #ctActsApp .ct-act-card { min-height: 128px; padding: 15px; }
    #ctActsApp .ct-act-code { font-size: 13px; }
    #ctActsApp .ct-act-year { font-size: 12px; }
    #ctActsApp .ct-act-card-title { margin-top: 8px; font-size: 16px; line-height: 1.45; }
    #ctActsApp .ct-act-card-meta { font-size: 12px; line-height: 1.45; }
    #ctActsApp .ct-act-card-bottom { gap: 10px; padding-top: 10px; font-size: 12px; }
    #ctActsApp .ct-compare-card { min-height: 76px; padding: 12px; }
    #ctActsApp .ct-compare-card-copy strong { font-size: 15px; }
    #ctActsApp .ct-compare-card-copy span { font-size: 11px; white-space: normal; line-height: 1.4; }
    #ctActsApp .ct-directory-head h2, #ctActsApp .ct-section-heading h2, #ctActsApp .ct-compare-view-head h2 { font-size: 23px; line-height: 1.35; }
    #ctActsApp .ct-directory-head p:not(.ct-acts-kicker) { font-size: 13px; }
    #ctActsApp .ct-chapter-row, #ctActsApp .ct-section-row { grid-template-columns: minmax(0, 96px) minmax(0,1fr) 20px; min-height: 78px; gap: 9px; padding: 12px 11px; }
    #ctActsApp .ct-chapter-index { font-size: 12px; line-height: 1.35; letter-spacing: 0; overflow-wrap: anywhere; }
    #ctActsApp .ct-chapter-name strong, #ctActsApp .ct-section-title strong { font-size: 14px; line-height: 1.45; }
    #ctActsApp .ct-chapter-name small, #ctActsApp .ct-section-title small { font-size: 11px; line-height: 1.4; }
    #ctActsApp .ct-section-number { font-size: 13px; white-space: normal; overflow-wrap: anywhere; line-height: 1.3; }
    #ctActsApp .ct-reader-card { padding: 19px 15px; }
    #ctActsApp .ct-statute-tag, #ctActsApp .ct-chapter-tag { min-height: 27px; padding: 0 9px; font-size: 10px; }
    #ctActsApp .ct-save-button { min-height: 38px; padding: 0 10px; font-size: 12px; }
    #ctActsApp .ct-reader-heading h2 { font-size: 24px; line-height: 1.4; }
    #ctActsApp .ct-reader-text { font-size: 16px; line-height: 1.8; }
    #ctActsApp .ct-reader-text p { margin-bottom: 17px; }
    #ctActsApp .ct-reader-correspondence > button:first-of-type { min-height: 44px; font-size: 12px; }
    #ctActsApp .ct-reader-compare-link { font-size: 11px; }
    #ctActsApp .ct-reader-pager strong { font-size: 12px; white-space: normal; }
    #ctActsApp .ct-direction-control button { min-height: 40px; font-size: 11px; }
    #ctActsApp .ct-compare-tools > span { font-size: 12px; }
    #ctActsApp .ct-map-legend { gap: 13px; font-size: 13px; }
    #ctActsApp .ct-map-head > span { padding: 12px 6px; font-size: 13px; }
    #ctActsApp .ct-map-group > span { padding: 12px 7px; font-size: 10px; line-height: 1.4; }
    #ctActsApp .ct-map-side { padding: 11px 8px; }
    #ctActsApp .ct-map-section-link, #ctActsApp .ct-map-no-link { gap: 5px; }
    #ctActsApp .ct-map-section-num { font-size: 11px; line-height: 1.4; white-space: normal; }
    #ctActsApp .ct-map-section-link > span:nth-child(2), #ctActsApp .ct-map-no-link > span:nth-child(2) { font-size: 12px; line-height: 1.55; }
    #ctActsApp .ct-map-side .ct-status-pill { font-size: 8px; }
}

/* Use the act-menu sans-serif voice throughout comparisons; keep legal text inside its columns. */
#ctActsApp .ct-compare-view-head h2,
#ctActsApp .ct-map-head,
#ctActsApp .ct-map-group,
#ctActsApp .ct-map-side,
#ctActsApp .ct-map-legend,
#ctActsApp .ct-status-pill,
#ctActsApp .ct-compare-card-copy { font-family: var(--font-sans, Inter, system-ui, sans-serif); }
#ctActsApp .ct-compare-view-head h2 { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
#ctActsApp .ct-map-head { font-size: 15px; font-weight: 800; }
#ctActsApp .ct-map-group { font-size: 14px; font-weight: 750; }
#ctActsApp .ct-map-section-num { flex: 0 1 auto; min-width: 0; color: var(--ll-red, #c81e1e); font-size: 13px; font-weight: 800; white-space: normal; overflow-wrap: anywhere; }
#ctActsApp .ct-map-section-link > span:nth-child(2),
#ctActsApp .ct-map-no-link > span:nth-child(2) { font-size: 14px; font-weight: 500; line-height: 1.55; }
#ctActsApp .ct-compare-card-copy strong { font-family: var(--font-sans, Inter, system-ui, sans-serif); font-size: 15px; font-weight: 800; }
#ctActsApp .ct-compare-card-copy span { overflow: visible; text-overflow: clip; white-space: normal; overflow-wrap: anywhere; }
#ctActsApp .ct-reader-pager strong { max-width: 100%; overflow: visible; text-overflow: clip; white-space: normal; overflow-wrap: anywhere; }
#ctActsApp .ct-reader-correspondence > button:first-of-type strong { max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
#ctActsApp .ct-text-link { white-space: normal; overflow-wrap: anywhere; }
#ctActsApp .ct-section-number { overflow-wrap: anywhere; }
#ctActsApp .ct-map-section-link,
#ctActsApp .ct-map-no-link,
#ctActsApp .ct-map-side { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
#ctActsApp { max-width: 100%; overflow-wrap: anywhere; }
#ctActsApp * { min-width: 0; overflow-wrap: anywhere; }
/* Keep every one of the six act readers and three comparison views within its panel. */
#ctActsApp,
#ctActsApp .ct-acts-shell,
#ctActsApp .ct-acts-view,
#ctActsApp .ct-map-list,
#ctActsApp .ct-reader-card,
#ctActsApp .ct-chapter-list,
#ctActsApp .ct-section-list { width: 100%; max-width: 100%; min-width: 0; }
#ctActsApp :where(p, li, a, button, span, strong, small, h1, h2, h3, h4, td, th, pre, code) {
    max-width: 100%; min-width: 0; white-space: normal; overflow-wrap: anywhere; word-break: normal;
}
#ctActsApp .ct-map-head,
#ctActsApp .ct-map-group,
#ctActsApp .ct-map-row { min-width: 0; }
#ctActsApp .ct-map-side,
#ctActsApp .ct-map-section-link,
#ctActsApp .ct-map-no-link { min-width: 0; max-width: 100%; }
@media (max-width: 640px) {
    #ctActsApp .ct-map-head { font-size: 14px; }
    #ctActsApp .ct-map-group { font-size: 11px; }
    #ctActsApp .ct-map-section-num { font-size: 12px; }
    #ctActsApp .ct-map-section-link > span:nth-child(2),
    #ctActsApp .ct-map-no-link > span:nth-child(2) { font-size: 13px; }
}

/* Keep clicked legal references visibly aligned with the CaseToday red accent. */
#ctActsApp .ct-directory-head h2.ct-click-highlight,
#ctActsApp .ct-compare-view-head h2.ct-click-highlight,
#ctActsApp .ct-reader-heading h2.ct-click-highlight,
#ctActsApp .ct-reader-section-number.ct-click-highlight,
#ctActsApp [data-action].ct-click-highlight,
#ctActsApp .ct-click-highlight,
#ctActsApp .ct-click-highlight * {
    color: var(--ll-red, #c81e1e) !important;
}


/* v21.12.0: share CaseToday surfaces and type tokens throughout the reference library. */
#ctActsApp.ct-acts { font-family: var(--font-sans, Inter, sans-serif); }
#ctActsApp .ct-acts-searchbox,
#ctActsApp .ct-acts-search-results,
#ctActsApp .ct-act-search,
#ctActsApp .ct-act-card,
#ctActsApp .ct-compare-card,
#ctActsApp .ct-chapter-list,
#ctActsApp .ct-section-list,
#ctActsApp .ct-reader-card,
#ctActsApp .ct-secondary-button,
#ctActsApp .ct-source-note {
    border-color: var(--ll-border, #e2e8f0);
    background-color: var(--ll-card, #fff);
}
#ctActsApp .ct-acts-searchbox,
#ctActsApp .ct-acts-search-results,
#ctActsApp .ct-act-search { box-shadow: 0 8px 24px rgba(15, 23, 42, .07); }
#ctActsApp .ct-acts-searchbox kbd { border-color: var(--ll-border); background: var(--ll-bg); color: var(--ll-muted); }
#ctActsApp .ct-act-card:hover,
#ctActsApp .ct-compare-card:hover { border-color: var(--ll-red); background: var(--ll-card); }
#ctActsApp .ct-chapter-row:hover,
#ctActsApp .ct-section-row:hover { background: #fef2f2; }
#ctActsApp .ct-compare-card-mark { color: var(--ll-navy); background: rgba(200, 30, 30, .09); }
#ctActsApp .ct-chapter-arrow,
#ctActsApp .ct-section-open { color: var(--ll-red); }
#ctActsApp .ct-act-card-title,
#ctActsApp .ct-reader-card h1,
#ctActsApp .ct-reader-card h2 { font-family: var(--font-serif, Merriweather, Georgia, serif); }
#ctActsApp .ct-reader-card { color: var(--ll-text); }
#ctActsApp .ct-secondary-button { color: var(--ll-red); }
#ctActsApp .ct-secondary-button:hover { border-color: var(--ll-red); background: #fef2f2; }
body.ll-dark-theme #ctActsApp .ct-acts-searchbox,
body.ll-dark-theme #ctActsApp .ct-acts-search-results,
body.ll-dark-theme #ctActsApp .ct-act-search,
body.ll-dark-theme #ctActsApp .ct-act-card,
body.ll-dark-theme #ctActsApp .ct-compare-card,
body.ll-dark-theme #ctActsApp .ct-chapter-list,
body.ll-dark-theme #ctActsApp .ct-section-list,
body.ll-dark-theme #ctActsApp .ct-reader-card,
body.ll-dark-theme #ctActsApp .ct-secondary-button,
body.ll-dark-theme #ctActsApp .ct-source-note { border-color: var(--ll-border); background-color: var(--ll-card); color: var(--ll-text); }
body.ll-dark-theme #ctActsApp .ct-chapter-row:hover,
body.ll-dark-theme #ctActsApp .ct-section-row:hover,
body.ll-dark-theme #ctActsApp .ct-secondary-button:hover { background: #21151b; }
body.ll-dark-theme #ctActsApp .ct-chapter-name strong,
body.ll-dark-theme #ctActsApp .ct-section-title strong,
body.ll-dark-theme #ctActsApp .ct-act-card-title,
body.ll-dark-theme #ctActsApp .ct-reader-card h1,
body.ll-dark-theme #ctActsApp .ct-reader-card h2 { color: var(--ll-text); }
@media (max-width: 700px) {
    #ctActsApp .ct-chapter-row,
    #ctActsApp .ct-section-row { grid-template-columns: 82px minmax(0, 1fr) 20px; min-height: 70px; gap: 10px; padding: 13px 12px; }
    #ctActsApp .ct-chapter-index,
    #ctActsApp .ct-section-number { font-size: 13px; }
    #ctActsApp .ct-chapter-name strong,
    #ctActsApp .ct-section-title strong { font-size: 15px; line-height: 1.4; }
    #ctActsApp .ct-chapter-name small,
    #ctActsApp .ct-section-title small { font-size: 11px; }
}
