← Files DataARCHIVED FILE

templates/data-app/inline/sources.css

24.3 KB · Sep 30, 2026 · 23:19 UTC

↓ Download file

/* All overrides stay inside this receipt; the shared sidebar keeps its styling. */
:host {
  display: block;
  min-width: 0;
  color: var(--text);
  background: transparent;
  font-family: var(--font-sans, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  font-size: 14px;
  line-height: 1.6;
  font-kerning: normal;
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/* Classic receipts follow the live conversation tokens across the Shadow DOM.
   Inherit colliding token names before aliasing them for the receipt below;
   otherwise the bundled dashboard theme masks the host's chosen background.
   Explicit Data themes retain their own token declarations. */
:host([data-app-theme="codex-classic"]) {
  --background: inherit;
  --border: inherit;
  --receipt-host-background: var(--background, var(--color-background-primary, light-dark(#fff, #181818)));
  --receipt-host-border: var(--border, var(--color-border-secondary, light-dark(#ededed, #303030)));
  --text: var(--foreground, var(--color-text-primary, light-dark(#1a1c1f, #fff)));
  --secondary: var(--muted-foreground, var(--color-text-secondary, light-dark(#767676, #afafaf)));
  --surface-raised: var(--popover, var(--color-background-secondary, var(--receipt-host-background)));
  --accent: var(--accent-foreground, var(--color-text-info, light-dark(#216ab8, #99ceff)));
  --positive: var(--color-text-success, light-dark(#087f45, #4bd68a));
}
:host([data-app-theme="codex-classic"]) .sources-receipt {
  --background: var(--receipt-host-background);
  --border: var(--receipt-host-border);
}
.sources-receipt {
  --receipt-secondary: var(--secondary);
  --receipt-tertiary: var(--secondary);
  --receipt-subtle: color-mix(in srgb, var(--text) 4%, var(--background));
  --receipt-gray-50: var(--receipt-subtle);
  --receipt-hover: color-mix(in srgb, var(--text) 8%, transparent);
  --receipt-line: var(--border);
  --receipt-link: var(--accent);
  --receipt-green: var(--positive);
  --receipt-orange: var(--color-text-warning, color-mix(in srgb, var(--orange, var(--chart-4)) 75%, var(--text)));
  --receipt-icon-table: var(--receipt-green);
  --receipt-icon-file: var(--receipt-secondary);
  --receipt-icon-document: color-mix(in srgb, var(--purple, var(--chart-2)) 75%, var(--text));
  --receipt-icon-presentation: color-mix(in srgb, var(--yellow, var(--chart-6)) 60%, var(--text));
  --receipt-icon-code: color-mix(in srgb, var(--receipt-link) 65%, var(--receipt-green));
  --receipt-icon-image: color-mix(in srgb, var(--receipt-icon-document) 60%, var(--receipt-orange));
  --receipt-icon-video: color-mix(in srgb, var(--receipt-icon-document) 60%, var(--receipt-link));
  --receipt-icon-audio: color-mix(in srgb, var(--receipt-green) 75%, var(--receipt-link));
  --receipt-icon-dashboard: var(--receipt-orange);
  --receipt-icon-link: var(--receipt-link);
  --receipt-mono: var(--font-mono, ui-monospace, "SFMono-Regular", Menlo, monospace);
  width: 100%; min-width: 0; padding: 3px 0;
}
.sources-receipt *, .sources-receipt *::before, .sources-receipt *::after { box-sizing: border-box; }
.sources-receipt [hidden] { display: none !important; }
.sources-receipt button { font: inherit; }
.receipt-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.sources-receipt .receipt-disclosure {
  display: inline-flex; flex-wrap: wrap; max-width: 100%; align-items: center; gap: 4px; min-height: 26px;
  padding: 4px 0; margin-inline-start: 0; border: 0; border-radius: 6px;
  background: transparent; color: var(--receipt-tertiary); cursor: pointer;
  font-size: 14px; font-weight: 400; line-height: 18px;
  transition: opacity 150ms ease;
}
.receipt-disclosure:hover { opacity: .75; }
.receipt-disclosure > img { display: block; flex: 0 0 auto; }
.receipt-disclosure[aria-expanded="true"] > :last-child { transform: rotate(0deg); }
.receipt-disclosure > :last-child { transform: rotate(-90deg); transition: transform 190ms cubic-bezier(.2,.7,.2,1); }
.receipt-expander {
  display: grid; grid-template-rows: 1fr; margin-top: 8px; opacity: 1;
  transition: grid-template-rows 220ms cubic-bezier(.2,.75,.2,1), opacity 160ms ease, margin-top 220ms cubic-bezier(.2,.75,.2,1);
}
.receipt-expander[data-open="false"] { grid-template-rows: 0fr; margin-top: 0; opacity: 0; pointer-events: none; }
.receipt-expander-inner { min-width: 0; min-height: 0; overflow: hidden; }
.receipt-cards { display: grid; grid-template-columns: minmax(0, 1fr); width: 100%; min-width: 0; gap: 8px; }
.receipt-card {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 24px;
  width: 100%; min-width: 0; padding: 16px; border: 1px solid var(--receipt-line);
  border-radius: 24px; background: var(--background); box-shadow: none;
  transition: padding 190ms cubic-bezier(.2,.75,.2,1), border-radius 190ms cubic-bezier(.2,.75,.2,1), background-color 140ms ease;
}
.receipt-card[data-open="false"] { min-height: 38px; padding: 8px 12px; border-radius: 16px; }
.receipt-card-toggle {
  position: static; z-index: 1; grid-area: 1 / 2; justify-self: end; align-self: start;
  display: grid; width: 16px; height: 22.4px; place-items: center;
  margin: 0; padding: 0; border: 0; border-radius: inherit; background: transparent; color: var(--text); cursor: pointer;
  transition: width 190ms cubic-bezier(.2,.75,.2,1), height 190ms cubic-bezier(.2,.75,.2,1), margin-top 190ms cubic-bezier(.2,.75,.2,1), background-color 140ms ease;
}
.receipt-card-label {
  grid-area: 1 / 1; display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  min-width: 0; font-size: 14px; font-weight: 400; line-height: 1.6;
  letter-spacing: -.14px; overflow-wrap: anywhere;
}
/* Stretch the native button over the collapsed card, including its padding and
   border. Expanded content keeps its own independent interactive controls. */
.receipt-card[data-open="false"] .receipt-card-toggle::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; }
.receipt-card[data-open="true"] .receipt-card-toggle { width: 24px; height: 24px; border-radius: 6px; }
.receipt-card[data-open="true"]:has(.receipt-card-toolbar .source-tabs) > .receipt-card-toggle { margin-top: 3px; }
.receipt-card[data-open="true"] .receipt-card-toggle:hover { background: var(--receipt-hover); }
.receipt-card-toggle > :last-child { transform: rotate(0deg); }
.receipt-card[data-open="true"] .receipt-card-toggle > :last-child { transform: rotate(180deg); }
.receipt-card-toggle > :last-child, .receipt-card-collapse > :last-child {
  flex: 0 0 auto; color: var(--receipt-tertiary);
  transition: color 140ms ease, transform 190ms cubic-bezier(.2,.75,.2,1);
}
.receipt-card-toggle:hover > :last-child, .receipt-card-toolbar:hover .receipt-card-collapse > :last-child { color: var(--text); }
.receipt-card-content { grid-area: 1 / 1 / 2 / 3; display: flex; min-width: 0; min-height: 0; flex-direction: column; }
.receipt-card-collapse {
  display: grid; width: 24px; height: 24px; flex: 0 0 auto; place-items: center;
  padding: 0; border: 0; border-radius: 6px; background: transparent; cursor: pointer;
  transition: background-color 140ms ease;
}
.receipt-card-collapse > * { transform: rotate(180deg); }
.receipt-card-collapse:hover { background: var(--receipt-hover); }
.receipt-card-toolbar { display: flex; min-width: 0; align-items: center; justify-content: space-between; gap: 8px; }
.receipt-card-toolbar:has(.receipt-card-collapse, .receipt-card-collapse-placeholder) { cursor: pointer; }
.receipt-card-collapse-placeholder { width: 24px; height: 24px; flex: 0 0 auto; }
.receipt-card-title { flex: 1 1 auto; margin: 0; font-size: 14px; font-weight: 400; line-height: 22px; }
.receipt-overview-only > .receipt-card-toolbar + .source-section { margin-top: 16px; }
.receipt-source-section { display: grid; min-width: 0; gap: 16px; }
.receipt-source-section + .receipt-source-section { margin-top: 20px; }
.receipt-source-heading { margin: 0; color: var(--text); font-size: 14px; font-weight: 500; line-height: 22px; }
.receipt-method {
  min-width: 0; max-width: 100%; margin: 0; font-family: var(--receipt-mono); font-size: 12px;
  line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere;
}
.receipt-method { padding: 8px; border: 1px solid var(--receipt-line); border-radius: 8px; background: var(--background); }
/* Embedded browsers can retain :focus-visible after a pointer focus. Keep
   actual focus intact, but show its indicator only after keyboard input. */
.sources-receipt :focus { outline: none; }
.sources-receipt[data-input-modality="keyboard"] :is(button, a, summary, [role="tab"], [role="tabpanel"], [data-source-title], .receipt-trace-table-scroll):focus {
  outline: 2px solid var(--ring, var(--receipt-link)); outline-offset: 3px;
}
.sources-receipt[data-input-modality="keyboard"] .receipt-disclosure:focus { outline-offset: -2px; }
.sources-receipt[data-input-modality="keyboard"] [role="tabpanel"]:focus { outline-offset: -2px; }
.sources-receipt .receipt-card[data-open="false"] .receipt-card-toggle:focus { outline: none; }
.sources-receipt[data-input-modality="keyboard"] .receipt-card[data-open="false"] .receipt-card-toggle:focus::after { outline: 2px solid var(--ring, var(--receipt-link)); outline-offset: -3px; }
.sources-receipt .source-inspector { min-width: 0; }
.sources-receipt .source-tabs {
  position: relative; isolation: isolate; z-index: auto; display: flex; align-items: center;
  flex: 1 1 auto; gap: 2px; flex-wrap: nowrap; min-width: 0;
  padding: 0; margin: 0; border: 0; overflow-x: auto; scrollbar-width: none; background: transparent;
}
.sources-receipt .source-tabs::-webkit-scrollbar { display: none; }
.sources-receipt .source-tabs [role="tab"] {
  flex: 0 0 auto; min-height: 30px; padding: 4px 10px; border: 0; border-radius: 999px;
  background: transparent; color: var(--receipt-tertiary); font-size: 14px; font-weight: 400;
  line-height: 22px; white-space: nowrap; cursor: pointer;
  transition: background-color 150ms ease, color 150ms ease;
}
.sources-receipt .source-tabs [role="tab"]:is(:hover, [aria-selected="true"]) { color: var(--text); background: transparent; }
.sources-receipt .tab-active-indicator {
  display: block; position: absolute; z-index: -1; top: 0; left: 0; bottom: auto;
  height: 30px; border-radius: 999px; background: var(--receipt-subtle); pointer-events: none;
}
.receipt-panels {
  min-width: 0; margin-top: 16px;
}
.receipt-panels[data-anchored] { height: max(var(--receipt-overview-height), 10lh); }
.sources-receipt .receipt-panels[data-anchored] > .source-section {
  height: 100%; overflow: auto; overscroll-behavior: contain; scrollbar-gutter: stable;
}
.sources-receipt .source-section {
  display: block; width: 100%; min-width: 0; height: auto; min-height: 0; padding: 0;
  overflow-wrap: anywhere;
  animation: receipt-panel-enter 160ms cubic-bezier(.2,.7,.2,1) both;
}
.sources-receipt .receipt-overview {
  display: grid; grid-template-columns: minmax(0, 1fr); grid-auto-rows: max-content;
  align-content: start; gap: 16px; overflow: visible;
}
.sources-receipt .receipt-overview > * { min-width: 0; max-width: 100%; }
@keyframes receipt-panel-enter { from { transform: translateY(3px); } to { transform: translateY(0); } }
.sources-receipt .receipt-qualifications { gap: 8px; }
.receipt-qualification-list { display: grid; min-width: 0; gap: 4px; margin: 0; padding-inline-start: 20px; list-style: disc; }
.receipt-qualification-list li { font-size: 14px; line-height: 22px; letter-spacing: -.14px; overflow-wrap: anywhere; }
.receipt-description { margin: 0; font-size: 14px; line-height: 22px; letter-spacing: -.14px; }
.receipt-definitions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.receipt-definition-list { display: grid; min-width: 0; gap: 4px; margin: 0; padding-inline-start: 20px; list-style: disc; }
.receipt-definition-entry { min-width: 0; overflow-wrap: anywhere; }
.receipt-definitions p { margin: 0; line-height: 1.7; letter-spacing: -.14px; }
.sources-receipt .receipt-overview .receipt-definitions strong { font-weight: 600; }
.receipt-definition-metadata { display: grid; min-width: 0; gap: 4px; margin-top: 4px; }
.receipt-definition-method { display: block; margin: 0; color: var(--receipt-secondary); font-size: 13px; font-weight: 400; line-height: 1.6; letter-spacing: -.14px; overflow-wrap: anywhere; }
.receipt-definitions .source-definition-formula,
.receipt-definitions .source-definition-lineage { margin-top: 0; color: var(--receipt-secondary); font-size: 13px; }
.receipt-definitions .source-definition-formula { font-family: var(--receipt-mono); line-height: 1.7; }
.receipt-definitions .source-definition-lineage { line-height: 1.6; }
.sources-receipt .source-group { display: grid; grid-template-columns: minmax(0, 1fr); min-width: 0; gap: 4px; margin: 0; }
.sources-receipt .source-label { margin: 0; font-size: 13px; font-weight: 400; line-height: 1.7; letter-spacing: -.13px; color: var(--receipt-tertiary); }
.sources-receipt .source-caveats { display: grid; gap: 4px; margin: 0; padding-inline-start: 16px; border: 0; list-style: disc; }
.sources-receipt .source-caveats:has(> li:only-child) { padding-inline-start: 0; list-style: none; }
.sources-receipt .source-caveats li { padding: 0; border: 0; font-size: 14px; line-height: 22px; }
.sources-receipt .source-list { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 6px; min-width: 0; margin: 0; }
.sources-receipt .source-row {
  display: inline-flex; align-items: flex-start; gap: 4px; width: auto; min-width: 0; max-width: 100%; min-height: 28px;
  padding: 3px 9px; border: 1px solid var(--receipt-line); border-radius: 14px; background: var(--background);
  color: var(--text); font-size: 13px; line-height: 20px; letter-spacing: -.13px; text-decoration: none;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
}
.sources-receipt :is(a, span).source-row:is(:hover, :focus-visible) {
  background: color-mix(in srgb, var(--text) 5%, transparent);
}
.sources-receipt a.source-row { cursor: pointer; }
.sources-receipt span.source-row { cursor: default; }
.sources-receipt a.source-row:hover { text-decoration: none; }
.sources-receipt .source-row-copy { min-width: 0; }
.sources-receipt .source-row-title { display: block; font-size: 13px; color: var(--text); white-space: normal; overflow-wrap: anywhere; }
.sources-receipt .receipt-source-icon { width: 16px !important; height: 16px !important; flex: 0 0 auto; color: var(--receipt-icon-table); }
/* The 20/21px icons have more inset than the 16px table SVG.
   Balance their painted area while keeping every chip and card icon in a 16px box. */
.sources-receipt .receipt-source-icon[data-source-kind="file"] { color: var(--receipt-icon-file); }
.sources-receipt .receipt-source-icon[data-source-icon="document"] { color: var(--receipt-icon-document); mask-size: 118%; }
.sources-receipt .receipt-source-icon[data-source-icon="presentation"] { color: var(--receipt-icon-presentation); }
.sources-receipt .receipt-source-icon[data-source-icon="code"] { color: var(--receipt-icon-code); }
.sources-receipt .receipt-source-icon[data-source-icon="image"] { color: var(--receipt-icon-image); mask-size: 108%; }
.sources-receipt .receipt-source-icon[data-source-icon="video"] { color: var(--receipt-icon-video); }
.sources-receipt .receipt-source-icon[data-source-icon="audio"] { color: var(--receipt-icon-audio); }
.sources-receipt .receipt-source-icon[data-source-kind="dashboard"] { color: var(--receipt-icon-dashboard); mask-size: 108%; }
.sources-receipt .receipt-source-icon[data-source-kind="link"] { color: var(--receipt-icon-link); mask-size: 108%; }
.sources-receipt .source-row-icon { margin-top: 2px; }
.sources-receipt .source-trust, .sources-receipt .source-row-external { display: none; }
.receipt-preview-note { margin: 0 8px 10px; color: var(--receipt-secondary); font-size: 12px; line-height: 1.55; }
.sources-receipt .table-wrap { width: 100%; overflow-x: auto; border: 0; border-radius: 0; background: transparent; }
.sources-receipt .table { width: 100%; min-width: 480px; border-collapse: collapse; }
.sources-receipt .table :is(th, td) { padding: 10px 8px; color: var(--text); font-size: 14px; line-height: 1.45; white-space: nowrap; }
.sources-receipt .table thead { background: transparent; }
.sources-receipt .table th { border-bottom: 1px solid var(--receipt-line); font-weight: 500; }
.sources-receipt .table td { border-bottom: 0; }
.sources-receipt .table tbody tr + tr td { border-top: 1px solid var(--receipt-line); }
.sources-receipt .table tr { background: transparent; transition: background-color 140ms ease; }
.sources-receipt .table tr:hover,
.sources-receipt[data-input-modality="keyboard"] .table tr:focus-within { background: color-mix(in srgb, var(--text) 2.5%, transparent); }
.receipt-pagination { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; color: var(--receipt-secondary); font-size: 12px; }
.receipt-pagination button { padding: 6px 10px; border: 0; border-radius: 8px; color: var(--text); background: transparent; cursor: pointer; font: inherit; }
.receipt-pagination button:hover:not(:disabled) { background: var(--receipt-subtle); }
.receipt-pagination button:disabled { color: var(--receipt-tertiary); cursor: default; }
.sources-receipt .sql-viewer { position: relative; min-height: 0; overflow: auto; border: 0; border-radius: 12px; background: var(--receipt-subtle); }
.sources-receipt .sql {
  min-width: 0; min-height: 0; max-height: none; margin: 0; padding: 12px; border: 0;
  background: transparent; color: var(--text); font-family: var(--receipt-mono); font-size: 12px;
  font-weight: 400; line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere; tab-size: 2;
}
.sources-receipt .sql:has(.sql-line) code { display: grid; grid-template-columns: minmax(2ch, max-content) minmax(0, 1fr); }
.sources-receipt .sql-line { display: contents; }
.sources-receipt .sql-line-number { padding-right: 8px; border-right: 1px solid var(--receipt-line); color: var(--receipt-tertiary); }
.sources-receipt .sql-line-content { min-width: 0; min-height: 1.65em; padding-left: 8px; white-space: pre-wrap; }
.sources-receipt .sql-keyword { color: var(--receipt-link); font-weight: 500; }
.sources-receipt .sql-string { color: var(--receipt-green); }
.sources-receipt .sql-number { color: var(--receipt-orange); }
.sources-receipt .sql-comment { color: var(--receipt-tertiary); }
.sources-receipt .source-trace { display: grid; grid-auto-rows: max-content; align-content: start; gap: 8px; margin: 0; padding: 0; list-style: none; }
.sources-receipt .source-trace-step { display: block; min-width: 0; padding: 0; border: 0; border-radius: 16px; background: var(--receipt-gray-50); }
.sources-receipt .source-trace-step::after { display: none; }
.sources-receipt .source-trace-marker { display: grid; width: 24px; height: 24px; place-items: center; border: 1px solid var(--receipt-line); border-radius: 999px; background: var(--background); color: var(--receipt-tertiary); font-size: 11px; font-weight: 500; font-variant-numeric: tabular-nums; }
.sources-receipt .source-trace-copy { width: 100%; min-width: 0; padding: 0; }
.sources-receipt .source-trace-copy summary { display: grid; width: 100%; grid-template-columns: 24px minmax(0, 1fr) 16px; align-items: center; column-gap: 10px; min-height: 48px; margin: 0; padding: 12px; border-radius: 16px; list-style: none; cursor: pointer; }
.sources-receipt .source-trace-copy summary::-webkit-details-marker { display: none; }
.sources-receipt .source-trace-copy summary strong { font-size: 14px; font-weight: 500; line-height: 1.45; }
.sources-receipt .source-trace-copy summary > :last-child { color: var(--receipt-tertiary); transition: transform 160ms cubic-bezier(.2,.7,.2,1); }
.sources-receipt .source-trace-copy[open] summary > :last-child { transform: rotate(90deg); }
.receipt-trace-expanded { display: grid; min-width: 0; gap: 12px; margin: 0 0 0 46px; padding: 0 12px 12px 0; animation: receipt-panel-enter 160ms cubic-bezier(.2,.7,.2,1) both; }
.receipt-trace-expanded p { margin: 0; font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.receipt-trace-section { display: grid; min-width: 0; gap: 8px; }
.sources-receipt .receipt-trace-section-label { color: var(--receipt-tertiary); font-size: 12px; font-weight: 400; line-height: 1.5; }
.receipt-trace-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.receipt-trace-chip { display: inline-flex; flex-wrap: wrap; max-width: 100%; min-height: 22px; align-items: center; padding: 4px 8px; border: 1px solid var(--receipt-line); border-radius: 8px; background: var(--background); color: var(--text); font-family: var(--receipt-mono); font-size: 11px; font-weight: 400; line-height: 1.4; overflow-wrap: anywhere; }
.receipt-calculation-text { white-space: pre-wrap; overflow-wrap: anywhere; }
.sources-receipt .receipt-trace-action { width: fit-content; max-width: 100%; padding: 0; border: 0; background: transparent; color: var(--receipt-link); text-align: left; font-size: 13px; font-weight: 400; line-height: 1.55; cursor: pointer; }
.receipt-trace-action:hover { color: var(--text); }
.receipt-trace-table-scroll { width: 100%; min-width: 0; max-width: 100%; overflow-x: auto; overflow-y: hidden; }
.receipt-trace-source-table { width: 100%; min-width: 520px; border-collapse: separate; border-spacing: 0; table-layout: fixed; }
.sources-receipt .receipt-trace-source-table :is(th, td) { min-width: 0; padding: 8px 6px; text-align: left; font-size: 13px; font-weight: 400; line-height: 1.55; vertical-align: top; white-space: normal; }
.sources-receipt .receipt-trace-source-table :is(th, td):first-child { width: 42%; padding-left: 0; }
.sources-receipt .receipt-trace-source-table th { color: var(--receipt-tertiary); border-bottom: 1px solid var(--receipt-line); }
.sources-receipt .receipt-trace-source-table td { color: var(--text); }
.sources-receipt .receipt-trace-source-table td + td { color: var(--receipt-secondary); }
.sources-receipt .receipt-trace-source-table tbody tr + tr td { border-top: 1px solid var(--receipt-line); }
.sources-receipt .receipt-trace-source-table .source-row { width: fit-content; min-height: 0; padding: 0; border: 0; border-radius: 0; background: transparent; }
.sources-receipt .receipt-trace-expanded .source-pills { margin-top: 0; }
.receipt-tooltip { position: fixed; inset: auto; }
.receipt-tooltip:not(.source-preview-card) {
  width: max-content; max-width: min(320px, calc(100vw - 16px)); max-height: calc(100vh - 16px);
  margin: 0; padding: 6px 8px; overflow: auto; border: 1px solid var(--receipt-line);
  border-radius: var(--radius-lg, 8px); background: var(--color-surface-elevated-secondary, var(--background));
  color: var(--text); font-size: var(--text-sm, 12px); font-weight: 400; line-height: 1.5;
  overflow-wrap: anywhere; white-space: pre-line; box-shadow: none; z-index: 50;
  opacity: 0; transition: opacity 100ms ease;
}
.receipt-tooltip:not(.source-preview-card)[data-visible="true"] { opacity: 1; }
@media (max-width: 440px) {
  :host { font-size: 15px; }
  .receipt-card { padding: 12px; }
  .receipt-panels[data-anchored] { height: auto; }
  .sources-receipt .receipt-panels[data-anchored] > .source-section { height: auto; overflow: visible; }
  .sources-receipt .source-tabs { gap: 3px; }
  .sources-receipt .source-tabs [role="tab"] { padding-inline: 12px; font-size: 15px; }
  .sources-receipt .receipt-disclosure,
  .receipt-card-title, .receipt-card-label, .receipt-source-heading,
  .receipt-description, .receipt-qualification-list li,
  .sources-receipt .source-caveats li,
  .sources-receipt .source-trace-copy summary strong,
  .receipt-trace-expanded p { font-size: 15px; }
  .sources-receipt .source-row, .sources-receipt .source-row-title,
  .sources-receipt .receipt-trace-action { font-size: 14px; }
  .sources-receipt .receipt-trace-section-label,
  .sources-receipt .sql, .receipt-method { font-size: 13px; }
  .receipt-trace-chip { font-size: 12px; }
}
@media (hover: none) and (pointer: coarse) {
  .sources-receipt .receipt-disclosure { min-height: 44px; }
  .receipt-card { grid-template-columns: minmax(0, 1fr) 44px; }
  .receipt-card[data-open="false"] { min-height: 44px; }
  .receipt-card[data-open="true"] .receipt-card-toggle { width: 44px; height: 44px; }
  .sources-receipt .source-tabs [role="tab"] { min-height: 44px; }
  .sources-receipt .tab-active-indicator { height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .sources-receipt *, .sources-receipt *::before, .sources-receipt *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
}

SHA-256: 439f26c06c920b7e4631a87fabe9f5bd9977d9e715a83ffc128af8ca190aefc6