/* RECEIPTS reading appearance. A separate palette layer covers legacy components
   without replacing their routing, visibility, entitlement, or reading settings.
   Layered important colors deliberately outrank old unlayered important colors. */
:root {
  color-scheme:light;
  --receipts-bg:#ded8ca;
  --receipts-panel:#eee5d5;
  --receipts-panel-soft:#e2dfd0;
  --receipts-raised:#d1dfe0;
  --receipts-line:#6b807b;
  --receipts-divider:#a4b1a5;
  --receipts-muted:#3e555b;
  --receipts-ink:#1c3540;
  --receipts-link:#285e64;
  --receipts-accent:#9a433c;
  --receipts-accent-line:#9a433c;
  --receipts-focus:#285e64;
  --receipts-sage:#c8d9c8;
  --receipts-warn:#eadab4;
  --receipts-warn-ink:#4f3b24;
  --receipts-error:#ead1cc;
  --text:var(--receipts-ink);
  --muted:var(--receipts-muted);
  --bg:var(--receipts-bg);
  --panel:var(--receipts-panel);
  --panel2:var(--receipts-panel-soft);
  --line:var(--receipts-divider);
  --blue:var(--receipts-link);
  --receipts-info:#d1e0df;
  --receipts-info-ink:#244a51;
  --receipts-success:#d2dfce;
  --receipts-success-ink:#284c38;
  --receipts-gold:#e9dabc;
  --receipts-gold-ink:#564322;
  --receipts-rose:#e5d4d8;
  --receipts-rose-ink:#633d4b;
  --receipts-control:#f1eadc;
  --receipts-on-accent:#fff5e9;
  --receipts-accent-soft:#e5d0c4;
  --receipts-accent-ink:#6e332d;
  --receipts-info-line:#4e777b;
  --receipts-sage-line:#5f7d60;
  --receipts-gold-line:#92764a;
  --receipts-rose-line:#8d6471;

}
html[data-receipts-theme="night"] {
  color-scheme:dark;
  --receipts-bg:#020b14;
  --receipts-panel:#0b1c2b;
  --receipts-panel-soft:#102b3b;
  --receipts-raised:#173b4b;
  --receipts-line:#507f93;
  --receipts-divider:#2b5468;
  --receipts-muted:#b9cad0;
  --receipts-ink:#f0f4f0;
  --receipts-link:#91cbd4;
  --receipts-accent:#b64859;
  --receipts-accent-line:#b64859;
  --receipts-focus:#91cbd4;
  --receipts-sage:#1c3b38;
  --receipts-warn:#3b3020;
  --receipts-warn-ink:#efdfb7;
  --receipts-error:#442832;
  --receipts-info:#123542;
  --receipts-info-ink:#d4eaed;
  --receipts-success:#203b31;
  --receipts-success-ink:#d5e9d6;
  --receipts-gold:#3a3120;
  --receipts-gold-ink:#efdfb8;
  --receipts-rose:#3b2837;
  --receipts-rose-ink:#efdae2;
  --receipts-control:#0c2535;
  --receipts-on-accent:#fff7ec;
  --receipts-accent-soft:#432b32;
  --receipts-accent-ink:#f3d9d2;
  --receipts-info-line:#53828d;
  --receipts-sage-line:#6e9984;
  --receipts-gold-line:#a48b5b;
  --receipts-rose-line:#a3758d;

}
@layer receiptsReadingTheme {
  html {background:var(--receipts-bg)!important}
  /* Switch foregrounds and surfaces together, without a low-contrast fade. */
  body * {transition:none!important}
  body:not(.accessHighContrast):not(.highContrast) {
    background:var(--receipts-bg)!important;
    color:var(--receipts-ink)!important;
  }
  body:not(.accessHighContrast):not(.highContrast) :is(h1,h2,h3,h4,h5,h6,p,ul,ol,li,dl,div,span,strong,b,small,em,i,figure,figcaption,caption,label,summary,td,th,dt,dd,legend,blockquote,section,article,header,footer,nav,aside) {
    color:inherit!important;
    text-shadow:none!important;
  }
  body:not(.accessHighContrast):not(.highContrast) :is(a,a:visited) {
    color:var(--receipts-link)!important;
    text-shadow:none!important;
  }
  body:not(.accessHighContrast):not(.highContrast) :is(.hero,.shell,.page,.view,.tabbar,.taskFocusBar,.subscriberFocusBar) {
    background:var(--receipts-bg)!important;
    color:var(--receipts-ink)!important;
    border-color:var(--receipts-divider)!important;
    box-shadow:none!important;
  }
  body:not(.accessHighContrast):not(.highContrast) :is(.card,.simpleCard,.simpleWelcome,.guidedCard,.moreCard,.helpBlock,.helpResult,.liveItem,.actionCard,.subcard,.sourceDirectoryPanel,.savedIntroCard,.savedSection,.workspaceGroup,.questionPart,.lawLabHero,.lawLabRound,.lawLabGuide,.lawLabResults,.learningStoryCard,.adaptiveMoreGroup,.resultHelpfulness,.receiptWorkspaceCard,.receiptRetentionIntro,.homeSavedReturn,.consumerMagnetSection,.consumerWowCard,.lawLabRealBridge,.advancedHero,.advancedControlCard,.advancedResultCard,.advancedTrailPanel,.advancedProjectPanel,.advancedTrailEntry,.advancedTrailCard,.priceCard,.planCard,.accountCard,.mission,.statusItem,.place,.trailComparison,.voicePanel,.textSizePanel,.firstVisitPanel,.ownerQaPanel,.betaStarter,.homeResearchOptions,.researchStatePreference,.receiptsPathHeading,.homeSupportCallout,.friendlyDisclaimer) {
    background:var(--receipts-panel)!important;
    color:var(--receipts-ink)!important;
    border-color:var(--receipts-divider)!important;
    box-shadow:none!important;
  }
  body:not(.accessHighContrast):not(.highContrast) :is(.workspaceGroupBody,.savedSectionBody,.workspaceSource,.voiceDialog,.textSizeDialog,.toast) {
    background:var(--receipts-panel)!important;
    color:var(--receipts-ink)!important;
    border-color:var(--receipts-divider)!important;
  }
  /* Learning owns paired surfaces too, including dynamic lessons and feedback. */
  body:not(.accessHighContrast):not(.highContrast) #learnView :is(.lawLabLesson,.lawLabActivity,.lawLabNext,.lawLabReview,.lawLabPictureStory,.lawLabPrivacy,.lawLabHint,.learningStories) {
    background:var(--receipts-panel)!important;
    color:var(--receipts-ink)!important;
    border-color:var(--receipts-divider)!important;
    box-shadow:none!important;
  }
  body:not(.accessHighContrast):not(.highContrast) #learnView :is(.lawLabStoryFeedback,.lawLabReflection,.lawLabChoice,.lawLabStoryChip,.lawLabChips span) {
    background:var(--receipts-panel-soft)!important;
    color:var(--receipts-ink)!important;
    border-color:var(--receipts-line)!important;
    box-shadow:none!important;
  }
  body:not(.accessHighContrast):not(.highContrast) #learnView .lawLabFeedback {
    background:var(--receipts-warn)!important;
    color:var(--receipts-warn-ink)!important;
    border-color:var(--receipts-line)!important;
  }
  body:not(.accessHighContrast):not(.highContrast) #learnView :is(.lawLabContinue,.lawLabFeedbackCorrect,.lawLabChoice:has(input:checked):not(.lawLabIncorrect),.lawLabChoice.lawLabCorrect) {
    background:var(--receipts-sage)!important;
    color:var(--receipts-ink)!important;
    border-color:var(--receipts-line)!important;
  }
  body:not(.accessHighContrast):not(.highContrast) #learnView .lawLabChoice.lawLabIncorrect {
    background:var(--receipts-error)!important;
    color:var(--receipts-ink)!important;
    border-color:var(--receipts-accent-line)!important;
  }
  body:not(.accessHighContrast):not(.highContrast) #learnView .lawLabStoryFigure figcaption {
    color:var(--receipts-muted)!important;
  }
  body:not(.accessHighContrast):not(.highContrast) #learnView progress {
    accent-color:var(--receipts-link)!important;
    background:var(--receipts-panel-soft)!important;
  }
  body:not(.accessHighContrast):not(.highContrast) #learnView progress::-webkit-progress-bar {
    background:var(--receipts-panel-soft)!important;
  }
  body:not(.accessHighContrast):not(.highContrast) #learnView progress::-webkit-progress-value {
    background:var(--receipts-link)!important;
  }
  body:not(.accessHighContrast):not(.highContrast) #learnView progress::-moz-progress-bar {
    background:var(--receipts-link)!important;
  }
  body:not(.accessHighContrast):not(.highContrast) :is(.advancedTrailSummary,.advancedTrailEntryThread) {
    background:var(--receipts-panel-soft)!important;
    color:var(--receipts-ink)!important;
    border-color:var(--receipts-line)!important;
  }
  /* Account and plan cards must change surfaces with the inherited reading text. */
  body:not(.accessHighContrast):not(.highContrast) :is(#accountView,#plansView) :is(.subscriptionControlCenter,.compactControlDetails,.syncSummary,.accountSecurity,.authFastIntro,.authAltDetails,.accountIntroDetails,.pendingPlanBox,.accountPlanTile,.planCompareCard,.planDecisionIntro,.planQuickBox,.planMoreDetails,.planIncludedBox,.planOptionsBox,.supportSeparate) {
    background:var(--receipts-panel)!important;
    color:var(--receipts-ink)!important;
    border-color:var(--receipts-divider)!important;
    box-shadow:none!important;
  }
  body:not(.accessHighContrast):not(.highContrast) :is(#accountView,#plansView) :is(.billingSummaryItem,.billingUsageCard,.billingMoreDetails,.billingOptionsDetails,.billingActionStatus,.billingPolicyDetails,.syncWhat,.accountFastStatus>div,.accountStatus,.planBestFor,.planDecisionFact,.planAccessBanner) {
    background:var(--receipts-panel-soft)!important;
    color:var(--receipts-ink)!important;
    border-color:var(--receipts-divider)!important;
    box-shadow:none!important;
  }
  body:not(.accessHighContrast):not(.highContrast) :is(#accountView,#plansView) :is(.billingStatusPill,.syncPill,.planBadge) {
    background:var(--receipts-panel-soft)!important;
    color:var(--receipts-ink)!important;
    border-color:var(--receipts-line)!important;
  }
  body:not(.accessHighContrast):not(.highContrast) :is(#accountView,#plansView) :is(.billingStatusPill.good,.billingActionStatus.good,.planAccessBanner.good,.syncPill) {
    background:var(--receipts-sage)!important;
    color:var(--receipts-ink)!important;
  }
  body:not(.accessHighContrast):not(.highContrast) :is(#accountView,#plansView) :is(.billingStatusPill.warn,.billingStatusPill.locked,.billingActionStatus.warn,.planAccessBanner.locked,.privateLockPill) {
    background:var(--receipts-warn)!important;
    color:var(--receipts-warn-ink)!important;
    border-color:var(--receipts-line)!important;
  }
  body:not(.accessHighContrast):not(.highContrast) #accountView .billingUsageTrack {
    background:var(--receipts-panel)!important;
    border-color:var(--receipts-line)!important;
  }
  body:not(.accessHighContrast):not(.highContrast) #accountView .billingUsageFill {
    background:var(--receipts-link)!important;
  }
  body:not(.accessHighContrast):not(.highContrast) :is(#accountView,#plansView) :is(.billingActionGrid a,.accountBillingLinks a,.planAction) {
    background:var(--receipts-raised)!important;
    color:var(--receipts-ink)!important;
    border-color:var(--receipts-line)!important;
  }
  /* Shared tool surfaces include document, subscriber, and deeper-research views. */
  body:not(.accessHighContrast):not(.highContrast) :is(.subscriberNavCard,.dedicatedPageHero,.advancedWorkspace,.researchTierDesk,.advancedResultHead,.advancedFollowup,.advancedLockedNotice,.planDetailsPanel,.planIncludedBox,.planOptionsBox,.planPayBox,.stickyPlanActions,.continuityCard,.ownerContinuityNote,.helpContextBar,.helpFollowUpBox,.helpFollowUpAnswer,.helpPrivacyDetails,.legalScanBox,.floridaLearningCard,.helpTerm,.currentAnswerBox,.glossaryScopeDetails,#adaptiveHelpScanDetails,#adaptiveHelpResources,.advancedTrailAskBox,.advancedTrailManage) {
    background:var(--receipts-panel)!important;
    color:var(--receipts-ink)!important;
    border-color:var(--receipts-divider)!important;
    box-shadow:none!important;
  }
  body:not(.accessHighContrast):not(.highContrast) :is(.advancedPurpose>div,.advancedSourceLadder,.advancedSourceLink,.advancedTrailPrivacy,.advancedProjectEmpty,.serviceContinuityBanner,.legalScanFileCard,.legalScanType,.helpReadingDetails,.planDecisionFact,.checkoutSteps span,.subscriberNavBadge,.subscriberFocusLevel,.planDetailsBadge,.advancedPlanPill,.advancedEvidencePill,.legalStatusPill,.sourceTypeBadge,.statusFreshness) {
    background:var(--receipts-panel-soft)!important;
    color:var(--receipts-ink)!important;
    border-color:var(--receipts-line)!important;
    box-shadow:none!important;
  }
  body:not(.accessHighContrast):not(.highContrast) :is(.subscriberNavActions a,.subscriberNavAccount,.pageActionRow a,.continuityLinks a) {
    background:var(--receipts-raised)!important;
    color:var(--receipts-ink)!important;
    border-color:var(--receipts-line)!important;
    box-shadow:none!important;
  }
  body:not(.accessHighContrast):not(.highContrast) :is(.advancedPlanPill.good,.advancedEvidencePill.verified,.serviceContinuityBanner.aiOn,.advancedModeBtn.selected,.researchOptionChoice.selected) {
    background:var(--receipts-sage)!important;
    color:var(--receipts-ink)!important;
    border-color:var(--receipts-line)!important;
  }
  body:not(.accessHighContrast):not(.highContrast) :is(.serviceContinuityBanner.aiOff,.privateLockPill,.advancedPlanPill.locked,.advancedEvidencePill.unresolved,.advancedEvidencePill.context-needed,.advancedEvidencePill.outdated) {
    background:var(--receipts-warn)!important;
    color:var(--receipts-warn-ink)!important;
    border-color:var(--receipts-line)!important;
  }
  body:not(.accessHighContrast):not(.highContrast) .advancedEvidencePill.contradicted {
    background:var(--receipts-error)!important;
    color:var(--receipts-ink)!important;
    border-color:var(--receipts-accent-line)!important;
  }
  body #advancedView .advancedExampleRow {
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    overflow:visible!important;
  }
  body #advancedView .advancedExampleRow button {
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    white-space:normal!important;
    border-radius:8px!important;
  }
  @media(max-width:600px) {
    body :is(#accountView,#plansView) .planDecisionChoices,
    body #advancedView .advancedExampleRow {grid-template-columns:minmax(0,1fr)!important}
  }
  /* Scale from a stable reading size, rather than multiplying inherited sizes.
     Legacy ID rules must not leave price descriptions tiny at larger settings. */
  body.textScaled :is(.view,.voicePanel,.textSizePanel,.firstVisitPanel) :is(p,li,.workspaceQuickText,.workspaceFinding) {
    font-size:calc(1.25rem * var(--receipts-text-scale,1))!important;
    line-height:1.6!important;
  }
  body.textScaled :is(.view,.hero,.voicePanel,.textSizePanel,.firstVisitPanel) :is(button,label,input,textarea,select,summary) {
    font-size:calc(1.125rem * var(--receipts-text-scale,1))!important;
  }
  body .view small {
    font-size:calc(1.0625rem * var(--receipts-text-scale,1))!important;
    line-height:1.6!important;
  }
  body :is(#accountView,#plansView) .planDecisionChoices button strong {
    font-size:inherit!important;
  }
  body:not(.accessHighContrast):not(.highContrast) :is(form,fieldset) {
    background:var(--receipts-panel)!important;
    color:var(--receipts-ink)!important;
    border-color:var(--receipts-divider)!important;
  }
  body:not(.accessHighContrast):not(.highContrast) [style*="background"] {
    background:var(--receipts-panel)!important;
    border-color:var(--receipts-divider)!important;
  }
  body:not(.accessHighContrast):not(.highContrast) :is(.workspaceReceiptMeta span,.consumerWowJurisdiction,.workspaceQuickAnswer,.voiceUnifiedPicker,.voiceSpeedSimple,.voiceSampleText,.textSizePreview,.ownerFunnelGrid>div,.advancedTrailNotice,.advancedControls,.advancedResearchTrail,.premiumResearchLab,.sourceSearchPanel,.sourceSearchResult,.firstVisitStep,.notice) {
    background:var(--receipts-panel-soft)!important;
    color:var(--receipts-ink)!important;
    border-color:var(--receipts-divider)!important;
    box-shadow:none!important;
  }
  body:not(.accessHighContrast):not(.highContrast) :is(input:not([type=range]):not([type=checkbox]):not([type=radio]),textarea,select,option) {
    background:var(--receipts-panel)!important;
    color:var(--receipts-ink)!important;
    border-color:var(--receipts-line)!important;
    box-shadow:none!important;
    caret-color:var(--receipts-ink)!important;
  }
  body:not(.accessHighContrast):not(.highContrast) :is(input,textarea)::placeholder {
    color:var(--receipts-muted)!important;
    opacity:1!important;
  }
  body:not(.accessHighContrast):not(.highContrast) :is(button,.btn,.chip,.quickBtn,.tab) {
    background:var(--receipts-raised)!important;
    color:var(--receipts-ink)!important;
    border-color:var(--receipts-line)!important;
    text-shadow:none!important;
    box-shadow:none!important;
  }
  body:not(.accessHighContrast):not(.highContrast) :is(button.primary,.btn.primary,.askbtn,.friendlySend,.consumerWowProof,.trafficCheckBtn) {
    background:var(--receipts-accent)!important;
    color:#fff!important;
    border-color:var(--receipts-accent-line)!important;
  }
  body:not(.accessHighContrast):not(.highContrast) :is(.bottomNav,.accessDock) {
    background:var(--receipts-panel-soft)!important;
    color:var(--receipts-ink)!important;
    border-color:var(--receipts-divider)!important;
    box-shadow:none!important;
    backdrop-filter:none!important;
  }
  body:not(.accessHighContrast):not(.highContrast) :is(.bottomNav button,.hero .accessDock button,.tab) {
    background:transparent!important;
    color:var(--receipts-ink)!important;
  }
  body:not(.accessHighContrast):not(.highContrast) :is(.bottomNav button.active,.tab.active,button[aria-pressed=true],button.on,.friendlyTrust span,.workspaceReceiptMeta #workspaceReceiptKind) {
    background:var(--receipts-sage)!important;
    color:var(--receipts-ink)!important;
    border-color:var(--receipts-line)!important;
  }
  body:not(.accessHighContrast):not(.highContrast) :is(.workspaceQuickAnswer[data-source-packet=true],.consumerDeadlineGuard,.boundary,.warning,.warn,.aiServiceChoiceNotice) {
    background:var(--receipts-warn)!important;
    color:var(--receipts-warn-ink)!important;
    border-color:var(--receipts-line)!important;
  }
  body:not(.accessHighContrast):not(.highContrast) .workspaceQuickAnswer[data-source-packet=true] #workspaceReceiptKind {
    background:var(--receipts-warn)!important;
    color:var(--receipts-warn-ink)!important;
  }
  body:not(.accessHighContrast):not(.highContrast) :is(.error,.errorBox,.danger,.dangerBox) {
    background:var(--receipts-error)!important;
    color:var(--receipts-ink)!important;
    border-color:var(--receipts-accent-line)!important;
  }
  body:not(.accessHighContrast):not(.highContrast) #publicBetaNotice {
    background:var(--receipts-panel-soft)!important;
    color:var(--receipts-ink)!important;
    border-color:var(--receipts-line)!important;
  }
  body:not(.accessHighContrast):not(.highContrast) #homeView .friendlyComposer {
    background:var(--receipts-panel)!important;
    border-color:var(--receipts-line)!important;
    box-shadow:none!important;
  }
  body:not(.accessHighContrast):not(.highContrast) #homeView .friendlyShortcuts button {
    background:var(--receipts-panel)!important;
    border-color:var(--receipts-divider)!important;
  }
  body:not(.accessHighContrast):not(.highContrast) .homeSupportCallout a {
    background:var(--receipts-raised)!important;
    color:var(--receipts-ink)!important;
    border-color:var(--receipts-line)!important;
  }
  body:not(.accessHighContrast):not(.highContrast) :is(.saveChoiceBar,.savedOrganizer) {
    background:var(--receipts-panel)!important;
    color:var(--receipts-ink)!important;
    border-color:var(--receipts-line)!important;
  }
  body:not(.accessHighContrast):not(.highContrast) .savedSourceConfirmed {
    background:var(--receipts-sage)!important;color:var(--receipts-ink)!important;
  }
  body:not(.accessHighContrast):not(.highContrast) :is(.friendlyBrandMark,.eagle) {display:none!important}
  body:not(.accessHighContrast):not(.highContrast) :is(button,a,input,textarea,select,summary):focus-visible {
    outline:3px solid var(--receipts-focus)!important;
    outline-offset:4px!important;
  }
  body:not(.accessHighContrast):not(.highContrast) .hero .brand {
    color:var(--receipts-ink)!important;
    text-shadow:none!important;
    font-size:28px!important;
    line-height:1.1!important;
    letter-spacing:-.035em!important;
  }
  body:not(.accessHighContrast):not(.highContrast) .receiptsThemeControls button {
    background:var(--receipts-panel)!important;
    color:var(--receipts-ink)!important;
    border-color:var(--receipts-line)!important;
  }
  body:not(.accessHighContrast):not(.highContrast) :is(.skipLink,.skip,.accessSkip):focus {
    color:var(--receipts-ink)!important;background:var(--receipts-panel)!important;
  }
  /* Accessibility contrast remains a deliberate independent setting. */
  body:is(.accessHighContrast,.highContrast) #receiptsThemeToggle {
    color:#fff!important;background:#000!important;border-color:#fff!important;
  }
}
body {font-family:Arial,Helvetica,sans-serif;font-size:calc(20px * var(--scale,1));line-height:var(--receipts-reading-line,1.65)}
body :is(p,li,button,a,input,textarea,select,summary,label,small) {overflow-wrap:anywhere}
body :is(button,.btn,summary,select,input) {min-height:48px;max-width:100%;white-space:normal}
body :is(button,input,textarea,select) {font-family:inherit}
body:not(.textScaled) :is(.view,.voicePanel,.textSizePanel,.firstVisitPanel) :is(p,li,.workspaceQuickText,.workspaceFinding) {font-size:1.25rem!important}
body:not(.textScaled) :is(.view,.hero,.voicePanel,.textSizePanel,.firstVisitPanel) :is(button,label,input,textarea,select,summary) {font-size:1.125rem!important}
body:not(.textScaled) .view small {font-size:1.0625rem!important;line-height:1.6!important}
body .view :is(h1,h2,h3,h4,h5) {line-height:1.3;letter-spacing:normal}
body .view h1,body>header h1,body>main h1 {font-family:Georgia,'Times New Roman',serif}
body .hero .brandrow {justify-content:space-between!important;gap:16px!important;flex-wrap:wrap}
body .hero .brand {font-size:28px!important;line-height:1.1!important;letter-spacing:-.035em!important;text-align:left!important;display:inline-block;border-bottom:3px solid #a95647;padding-bottom:4px}
body .hero .tagline {font-size:12px!important;letter-spacing:.035em!important;text-align:left!important;line-height:1.5!important}
body .hero .tagline {display:none}
body .hero .promise {display:none}
body .wrap>.brand {font-size:clamp(28px,8vw,42px)!important;letter-spacing:-.025em;line-height:1.2;overflow-wrap:anywhere}
body .hero .accessDock {margin-block:16px 0}
.receiptsThemeControls {display:flex;align-items:center;justify-content:flex-end;gap:8px;margin-left:auto}
.receiptsThemeControls button {appearance:none;display:inline-flex;align-items:center;justify-content:center;min-height:48px;min-width:132px;border:1px solid var(--receipts-line);border-radius:999px;padding:9px 16px;font:inherit;font-size:16px;font-weight:700;line-height:1.4;cursor:pointer}
.receiptsThemeControls .srOnly {position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}
body>.wrap>.receiptsThemeControls,body>header>.receiptsThemeControls,body>main>.receiptsThemeControls {margin:0 0 16px}
body .simpleHomeWrap {max-width:1040px!important}
#homeView:not(.guidedFocus) .receiptsFamiliarHome {max-width:1040px!important;text-align:left;gap:16px!important;padding:16px 0 32px!important}
#homeView .friendlyIntro h1 {font-size:clamp(36px,4.2vw,56px)!important;line-height:1.12!important;letter-spacing:-.035em;margin:8px 0 16px;max-width:15ch}
#homeView .friendlyIntro p {margin:0!important;max-width:48ch;line-height:1.65!important}
#homeView .homeReadingArtwork {margin:0;min-width:0;justify-self:center;width:min(100%,300px)}
#homeView .homeReadingArtwork img {display:block;width:100%;height:auto;max-width:100%;object-fit:contain}
#homeView .friendlyComposer {display:grid;grid-template-columns:minmax(0,1fr)!important;padding:20px!important;border-radius:16px!important;gap:12px!important;align-content:start}
#homeView .friendlyComposer textarea {min-height:110px;padding:12px!important;border:1px solid var(--receipts-line)!important;border-radius:8px;line-height:1.6;resize:vertical}
#homeView .friendlySend {width:100%;min-height:52px!important;border-radius:8px!important;font-weight:700}
#homeView .friendlyTrust {gap:12px!important}
#homeView .friendlyTrust span {border-radius:10px;padding:16px;text-align:left;font-size:16px;line-height:1.6}
#homeView .homeResearchOptions,#homeView .betaStarter {padding:0 20px!important;border:1px solid var(--receipts-divider);border-radius:12px}
#homeView :is(.homeResearchOptions,.betaStarter)>summary {min-height:56px;padding-block:14px;align-content:center;font-weight:700}
#homeView .researchStatePreference {padding:16px!important;border:1px solid var(--receipts-divider);border-radius:12px}
#homeView .friendlyDisclaimer {text-align:left}
body #adaptiveHomeHint {font-size:calc(16px * var(--receipts-text-scale,1))!important;line-height:1.6!important;text-align:left!important}
.trailComparison {padding:24px;border-radius:16px}
.trailComparison :is(p,li) {line-height:1.65}
.trailComparison h3 {font-family:Georgia,'Times New Roman',serif;font-size:1.65rem;margin-bottom:16px}
.trailComparison select {margin:8px 0 20px}
.trailComparison details {border-top:1px solid var(--receipts-divider);margin:20px 0 8px}
.trailComparison details>summary {padding:16px 0;font-weight:700;cursor:pointer}
.trailVersionPair {gap:20px}
.trailVersionPair section {padding:20px;border-color:var(--receipts-divider)}
.trailComparison a {display:inline-flex;align-items:center;min-height:48px}
@media(min-width:840px) {
  #homeView:not(.guidedFocus) .receiptsFamiliarHome {grid-template-columns:minmax(0,1.65fr) minmax(210px,1fr)}
  #homeView .receiptsFamiliarHome>* {grid-column:1/-1;min-width:0}
  #homeView .receiptsFamiliarHome>.friendlyIntro,#homeView .receiptsFamiliarHome>.friendlyComposer,#homeView .receiptsFamiliarHome>#questionEntryStatus,#homeView .receiptsFamiliarHome>#homeBetaBoundary {grid-column:1}
  #homeView .receiptsFamiliarHome>.homeReadingArtwork {grid-column:2;grid-row:1/5;align-self:center;width:100%;max-width:340px}
  body .bottomNav button {font-size:14px!important}
}
@media(max-width:839px) {
  #homeView .receiptsFamiliarHome {display:grid;grid-template-columns:minmax(0,1fr)}
  #homeView .receiptsFamiliarHome>.homeReadingArtwork {grid-row:5;width:180px;justify-self:end}
  #homeView .friendlyIntro h1 {max-width:17ch}
  body .hero .accessDock {display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px!important;width:100%;max-width:100%!important}
  body .hero .accessDock button {padding:8px 4px!important;min-width:0!important;white-space:normal!important}
  body:not(.textScaled) .hero .accessDock button {font-size:16px!important}
  body .hero .voiceDockLabel {display:none!important}
  body .hero .voiceDockShortLabel {display:inline!important}
}
@media(max-width:420px) {
  body .hero .brand {font-size:25px!important}
  .receiptsThemeControls button {min-width:0;padding-inline:12px;font-size:15px}
  body .hero .tagline {max-width:16ch}
  #homeView .friendlyComposer {padding:16px!important}
  #homeView .receiptsFamiliarHome>.homeReadingArtwork {width:145px}
  .trailComparison,.trailVersionPair section {padding:16px}
}
@media(prefers-reduced-motion:reduce) {body *,body *::before,body *::after {scroll-behavior:auto!important;transition:none!important}}
@media print {.receiptsThemeControls,.homeReadingArtwork {display:none!important}}

/* One reading path, with depth available in place. */
#homeView>.receiptsPageContext {display:none!important}
#homeView .homeResearchOptions>*:not(summary) {margin-block:18px!important}
#homeView .homeResearchOptions .friendlyTrust {display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px!important}
#homeView .homeResearchOptions .friendlyTrust span {padding:10px;font-size:16px}
#homeView .homeResearchOptions .friendlyLearnLink {display:inline-block}
body .workspaceGroups {display:flex!important;flex-direction:column;gap:16px!important;min-width:0}
.workspaceGroups>* {width:100%;min-width:0;box-sizing:border-box}
#workspaceMeaning[hidden] {display:none!important}
.workspaceMeaning {padding:20px;border:1px solid var(--receipts-divider);border-radius:12px;background:var(--receipts-panel);color:var(--receipts-ink)}
.workspaceMeaning h4,.questionResearchDepth h4 {font:700 22px/1.45 Arial,sans-serif;margin:0 0 12px}
.workspaceMeaning p {font-size:calc(20px * var(--receipts-text-scale,1));line-height:1.65;margin:0 0 16px}
.workspaceMeaning h5 {font-size:inherit;margin:18px 0 8px}
.workspaceMeaning li {line-height:1.65;margin-bottom:10px}
.workspaceMeaning details,.workspaceMoreDetails {border-top:1px solid var(--receipts-divider);margin-top:16px}
.workspaceMeaning summary,.workspaceMoreDetails>summary {min-height:48px;box-sizing:border-box;padding:14px 0;cursor:pointer;font-weight:700}
.workspaceMoreDetails>.workspaceGroup {margin:12px 0}
.questionResearchDepth {padding:20px 0;border-top:1px solid var(--receipts-divider)}
.questionResearchDepth p {line-height:1.65}
.questionResearchDepth button {width:auto;min-height:48px;padding:12px 16px;font:inherit;font-weight:700;border:1px solid var(--receipts-line);border-radius:8px}
@media(max-width:420px){.workspaceMeaning{padding:16px}.workspaceMeaning h4,.questionResearchDepth h4{font-size:calc(20px * var(--receipts-text-scale,1))}}

/* Warm, welcoming accents. Every legacy surface keeps a paired foreground;
   these rules change color only and leave layout and access controls intact. */
@layer receiptsReadingTheme {
  /* Generated owner-check rows use the same paired surfaces as their shell. */
  body:not(.accessHighContrast):not(.highContrast) .ownerQaCheck {
    background:var(--receipts-panel-soft)!important;
    color:var(--receipts-ink)!important;
    border-color:var(--receipts-divider)!important;
  }
  body:not(.accessHighContrast):not(.highContrast) .ownerQaCheck p {color:var(--receipts-muted)!important}
  body:not(.accessHighContrast):not(.highContrast) .ownerQaCheckIcon {
    background:var(--receipts-info)!important;color:var(--receipts-info-ink)!important;
  }
  body:not(.accessHighContrast):not(.highContrast) .ownerQaCheck.pass {border-color:var(--receipts-sage-line)!important}
  body:not(.accessHighContrast):not(.highContrast) .ownerQaCheck.pass .ownerQaCheckIcon {
    background:var(--receipts-success)!important;color:var(--receipts-success-ink)!important;
  }
  body:not(.accessHighContrast):not(.highContrast) .ownerQaCheck.warn {border-color:var(--receipts-gold-line)!important}
  body:not(.accessHighContrast):not(.highContrast) .ownerQaCheck.warn .ownerQaCheckIcon {
    background:var(--receipts-gold)!important;color:var(--receipts-gold-ink)!important;
  }
  body:not(.accessHighContrast):not(.highContrast) .ownerQaCheck.fail {border-color:var(--receipts-rose-line)!important}
  body:not(.accessHighContrast):not(.highContrast) .ownerQaCheck.fail .ownerQaCheckIcon {
    background:var(--receipts-error)!important;color:var(--receipts-rose-ink)!important;
  }
  body:not(.accessHighContrast):not(.highContrast) :is(.receiptsPageContext,.branchCard,.governmentInfoCard,.governmentLoopCard,.billProcessLaunch,.billProcessStep,.billProcessFinal,.guideStepCard,.siteCompareCard,.pricingHero,.paydayBox,.briefingSourceCard,.enhancedGlossaryCard,.voiceDisclosure,.voicePanelSimple,.qa79KeyPanel,.qa79KeyItem,#qa79ButtonKeyDialog,.legal,.scope,.status,.accountStatus,.feedbackPanel,.feedbackForm,.communityFeedbackDialog,.ownerQaShell,.planQuickBox,.planMoreDetails,.planMicroTrust,.accountAdvancedDetails) {
    background:var(--receipts-panel)!important;
    color:var(--receipts-ink)!important;
    border-color:var(--receipts-divider)!important;
    box-shadow:none!important;
  }
  body:not(.accessHighContrast):not(.highContrast) :is(.compareTruth>div,.governmentNote,.trafficScopeNote,.trafficContextStrip,.trafficStepChip,#trafficMoreTopics,.billProcessTrail span,.billProcessOutcome,.qa79BriefingScopeNote,.voiceDisclosure[open]>summary,.helpTopicPill,.scope,.legal,.micro,.status,.accountStatus,.ownerQaSummary,code) {
    background:var(--receipts-info)!important;
    color:var(--receipts-info-ink)!important;
    border-color:var(--receipts-info-line)!important;
    box-shadow:none!important;
  }
  body:not(.accessHighContrast):not(.highContrast) :is(.good,.success,.successBox,.savedSourceConfirmed,.badge.green,.badge.good,.billingStatusPill.good,.syncPill,.lawLabFeedbackCorrect,.lawLabContinue,.accountActivePlanSummary,.activePlanPill,.activePlanFacts>div) {
    background:var(--receipts-success)!important;
    color:var(--receipts-success-ink)!important;
    border-color:var(--receipts-sage-line)!important;
  }
  body:not(.accessHighContrast):not(.highContrast) :is(.comparisonNote,.launchPill,.planBadge.best,.badge.pending,.badge.yellow,.badge.unresolved,.lawLabFeedback) {
    background:var(--receipts-gold)!important;
    color:var(--receipts-gold-ink)!important;
    border-color:var(--receipts-gold-line)!important;
  }
  body:not(.accessHighContrast):not(.highContrast) :is(.badge,.titleicon,.firstVisitNum,.billProcessTrail span) {
    background:var(--receipts-info)!important;
    color:var(--receipts-info-ink)!important;
    border-color:var(--receipts-info-line)!important;
  }
  body:not(.accessHighContrast):not(.highContrast) :is(.badge.red,.badge.error,.lawLabChoice.lawLabIncorrect) {
    background:var(--receipts-error)!important;
    color:var(--receipts-ink)!important;
    border-color:var(--receipts-rose-line)!important;
  }
  body:not(.accessHighContrast):not(.highContrast) :is(a.sourcebtn,a.btn,.policyLink,.governmentLoopActions a,.billProcessActions a,.trafficOfficialActions a) {
    background:var(--receipts-raised)!important;
    color:var(--receipts-ink)!important;
    border-color:var(--receipts-line)!important;
    box-shadow:none!important;
  }
  body:not(.accessHighContrast):not(.highContrast) :is(button.primary,a.primary,.btn.primary,.friendlySend,.askbtn,.consumerWowProof,.trafficCheckBtn,.guideStepNumber,.billProcessNumber) {
    background:var(--receipts-accent)!important;
    color:var(--receipts-on-accent)!important;
    border-color:var(--receipts-accent-line)!important;
  }
  body:not(.accessHighContrast):not(.highContrast) :is(input:not([type=range]):not([type=checkbox]):not([type=radio]),textarea,select,option) {
    background:var(--receipts-control)!important;
  }
  body:not(.accessHighContrast):not(.highContrast) :is(button,.btn):disabled {
    opacity:1!important;
    filter:none!important;
    background:var(--receipts-panel-soft)!important;
    color:var(--receipts-muted)!important;
    border-color:var(--receipts-divider)!important;
  }
  body:not(.accessHighContrast):not(.highContrast) .accountGoogle .googleMark {
    background:#f3f4f0!important;
    color:#2455a1!important;
    border-color:#94a3ad!important;
  }
  body:not(.accessHighContrast):not(.highContrast) .supportSeparate {opacity:1!important}
  body:not(.accessHighContrast):not(.highContrast) mark {
    background:var(--receipts-gold)!important;
    color:var(--receipts-gold-ink)!important;
  }
  body:not(.accessHighContrast):not(.highContrast) :is([tabindex],button,a,input,textarea,select,summary):focus-visible {
    outline-color:var(--receipts-focus)!important;
  }
  body:not(.accessHighContrast):not(.highContrast) #publicBetaNotice {
    background:var(--receipts-info)!important;
    color:var(--receipts-info-ink)!important;
    border-color:var(--receipts-info-line)!important;
  }
  body:not(.accessHighContrast):not(.highContrast) :is(.branchCard,.billProcessLaunch,.billProcessFinal,.lawLabHero,.lawLabRealBridge,.homeSavedReturn) {
    background:var(--receipts-success)!important;
    color:var(--receipts-success-ink)!important;
    border-color:var(--receipts-sage-line)!important;
  }
  body:not(.accessHighContrast):not(.highContrast) :is(.governmentInfoCard,.guideStepCard,.siteCompareCard,.lawLabLesson,.lawLabActivity,.lawLabNext) {
    border-color:var(--receipts-info-line)!important;
  }
  body:not(.accessHighContrast):not(.highContrast) .branchCard:nth-child(2),
  body:not(.accessHighContrast):not(.highContrast) .guideStepCard:nth-child(3n+2) {
    background:var(--receipts-gold)!important;
    color:var(--receipts-gold-ink)!important;
    border-color:var(--receipts-gold-line)!important;
  }
  body:not(.accessHighContrast):not(.highContrast) .branchCard:nth-child(3),
  body:not(.accessHighContrast):not(.highContrast) .guideStepCard:nth-child(3n+3) {
    background:var(--receipts-rose)!important;
    color:var(--receipts-rose-ink)!important;
    border-color:var(--receipts-rose-line)!important;
  }
  body:not(.accessHighContrast):not(.highContrast) #adaptiveMoreResearch {--receipts-topic-surface:var(--receipts-info);--receipts-topic-line:var(--receipts-info-line)}
  body:not(.accessHighContrast):not(.highContrast) #adaptiveMoreLearn {--receipts-topic-surface:var(--receipts-success);--receipts-topic-line:var(--receipts-sage-line)}
  body:not(.accessHighContrast):not(.highContrast) #adaptiveMoreAccount {--receipts-topic-surface:var(--receipts-gold);--receipts-topic-line:var(--receipts-gold-line)}
  body:not(.accessHighContrast):not(.highContrast) #adaptiveMoreSupport {--receipts-topic-surface:var(--receipts-rose);--receipts-topic-line:var(--receipts-rose-line)}
  body:not(.accessHighContrast):not(.highContrast) #adaptiveMoreDirectory .moreCard {
    background:var(--receipts-topic-surface,var(--receipts-panel))!important;
    border-color:var(--receipts-topic-line,var(--receipts-divider))!important;
  }
  body:not(.accessHighContrast):not(.highContrast) #adaptiveMoreDirectory .adaptiveMoreGroup {--receipts-divider:var(--receipts-topic-line,var(--receipts-line))}
  body:not(.accessHighContrast):not(.highContrast) :is(button,.btn,.sourcebtn):is(:hover,:active) {
    filter:none!important;
    background-image:none!important;
    box-shadow:none!important;
  }
  body:not(.accessHighContrast):not(.highContrast) .approvedOfficialSource {--receipts-panel:var(--receipts-info)}
  body:not(.accessHighContrast):not(.highContrast) .workspaceMeaning {--receipts-panel:var(--receipts-success)}
  /* Research filters and source text retain their layout, with paired colors. */
  body:not(.accessHighContrast):not(.highContrast) :is(.researchToolsIntro,.sidebar,.placeholder,.plain,.workspaceQuestion,.workspaceFinding,.directAnswerCard) {
    background:var(--receipts-panel)!important;
    color:var(--receipts-ink)!important;
    border-color:var(--receipts-divider)!important;
    box-shadow:none!important;
  }
  body:not(.accessHighContrast):not(.highContrast) :is(.researchToolFeatureGrid>div,.lawActionState,.directAnswerBadge,.partStatus) {
    background:var(--receipts-info)!important;
    color:var(--receipts-info-ink)!important;
    border-color:var(--receipts-info-line)!important;
  }
  body:not(.accessHighContrast):not(.highContrast) :is(.researchPremiumBridge,.lawActionState.loading,.infoOnlyRule,.workspaceClarifier) {
    background:var(--receipts-gold)!important;
    color:var(--receipts-gold-ink)!important;
    border-color:var(--receipts-gold-line)!important;
  }
  body:not(.accessHighContrast):not(.highContrast) .lawActionState.done {
    background:var(--receipts-success)!important;
    color:var(--receipts-success-ink)!important;
    border-color:var(--receipts-sage-line)!important;
  }
  body:not(.accessHighContrast):not(.highContrast) .proof.bad {
    background:var(--receipts-error)!important;
    color:var(--receipts-ink)!important;
    border-color:var(--receipts-rose-line)!important;
  }
  body:not(.accessHighContrast):not(.highContrast) .placeholder::before {
    color:var(--receipts-muted)!important;
  }
  /* High contrast stays independent of Day/Night, including legacy aliases. */
  body:is(.accessHighContrast,.highContrast) {
    color-scheme:dark;
    --receipts-bg:#000;
    --receipts-panel:#000;
    --receipts-panel-soft:#000;
    --receipts-raised:#000;
    --receipts-ink:#fff;
    --receipts-muted:#fff;
    --receipts-link:#ffed80;
    --receipts-focus:#ffed80;
    --receipts-line:#fff;
    --receipts-divider:#fff;
    --text:#fff;
    --muted:#fff;
    --bg:#000;
    --panel:#000;
    --panel2:#000;
    --line:#fff;
    --blue:#ffed80;
  }
  body:is(.accessHighContrast,.highContrast) .hero .brand {color:#fff!important}
  body:is(.accessHighContrast,.highContrast) :is(a.primary,a.btn.primary,button.primary,.friendlySend,.askbtn,.consumerWowProof,.trafficCheckBtn) {
    background:#000!important;
    color:#ffed80!important;
    border-color:#fff!important;
  }
}

