/* Lesbare Rechnungs- und Textbeispiele auf den drei Fachseiten. */
#cp-shell .cp-example-bill {
  margin: 0;
  width: 100%;
  max-width: 610px;
  overflow: hidden;
  border: 1px solid var(--cp-line);
  border-radius: 10px;
  background: white;
  box-shadow: 0 12px 34px rgb(4 43 57 / 8%);
}
#cp-shell .cp-example-bill figcaption { display: grid; gap: 4px; margin: 0; padding: 20px clamp(14px, 2.2vw, 32px); background: var(--cp-deep); color: white; }
#cp-shell .cp-example-bill figcaption span { color: var(--cp-mint); font-size: 14px; }
#cp-shell .cp-example-bill figcaption strong { font-size: clamp(22px, 2.1vw, 31px); line-height: 1.15; }
#cp-shell .cp-bill-body { padding: 16px clamp(12px, 2.2vw, 32px) 22px; font-variant-numeric: tabular-nums; }
#cp-shell .cp-bill-body table { width: 100%; border-collapse: collapse; line-height: 1.35; text-align: left; }
#cp-shell .cp-bill-body th, #cp-shell .cp-bill-body td { padding: 10px 5px; border-bottom: 1px solid var(--cp-line); vertical-align: middle; }
#cp-shell .cp-bill-body tr > :first-child { padding-left: 0; }
#cp-shell .cp-bill-body tr > :last-child { text-align: right; padding-right: 0; white-space: nowrap; }
#cp-shell .cp-bill-body thead th { color: var(--cp-muted); font-size: 13px; }
#cp-shell .cp-bill-body tbody th { font-size: 15px; }
#cp-shell .cp-bill-body tbody small { display: block; margin-top: 3px; color: var(--cp-muted); font-size: 12px; font-weight: 400; }
#cp-shell .cp-bill-body tbody td { font-size: 14px; }
#cp-shell .cp-bill-body tbody td:nth-child(2) { color: var(--cp-accent); }
#cp-shell .cp-bill-body tfoot { font-size: 17px; font-weight: 700; }
#cp-shell .cp-bill-payments { margin: 12px 0 0; font-size: 14px; }
#cp-shell .cp-bill-payments > div { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
#cp-shell .cp-bill-payments dd { margin: 0; white-space: nowrap; }
#cp-shell .cp-bill-payments > div:last-child { margin-top: 7px; padding: 10px 12px; background: var(--cp-tint); color: var(--cp-on-brand); font-weight: 700; }
#cp-shell .cp-work-links, #cp-shell .cp-source-links { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 22px; margin-top: 20px; }
#cp-shell .cp-work-links a { min-height: 44px; }
#cp-shell .cp-work-cards { margin-top: clamp(24px, 3vw, 40px); }
#cp-shell .cp-work-cards article { min-width: 0; }
#cp-shell .cp-work-cards p + p { margin-top: 12px; }
#cp-shell .cp-work-intro, #cp-shell .cp-ai-tools .cp-body { margin-top: 16px; max-width: 72ch; }
#cp-shell .cp-work-ledger { margin: 25px 0 0; }
#cp-shell .cp-work-ledger > div { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.4fr); gap: 10px clamp(24px, 4vw, 64px); padding: 20px 0; border-top: 1px solid var(--cp-line); }
#cp-shell .cp-work-ledger dt, #cp-shell .cp-work-pair h3, #cp-shell .cp-work-note h3 { font-size: clamp(19px, 1.6vw, 24px); line-height: 1.25; font-weight: 650; letter-spacing: -.025em; }
#cp-shell .cp-work-ledger dd, #cp-shell .cp-work-note p, #cp-shell .cp-work-pair p, #cp-shell .cp-assistant-tasks p,
#cp-shell[data-page="accounting"] .cp-depth-demo-card p { max-width: 76ch; margin: 0; color: var(--cp-muted); font-size: 16px; line-height: 1.65; }
#cp-shell .cp-work-ledger dd .cp-link { display: flex; width: fit-content; margin-top: 6px; }
#cp-shell .cp-work-note { display: flex; align-items: flex-start; gap: 16px; margin-top: 30px; padding: clamp(18px, 3vw, 36px); border-left: 3px solid var(--cp-brand); background: var(--cp-soft); }
#cp-shell .cp-work-note > svg { flex: none; color: var(--cp-accent); }
#cp-shell .cp-work-note p, #cp-shell .cp-work-pair p, #cp-shell[data-page="accounting"] .cp-depth-demo-card p { margin-top: 12px; }
#cp-shell .cp-work-note .cp-source-links { margin-top: 16px; font-size: 13px; }
#cp-shell .cp-source-links a, #cp-shell .cp-text-panel .cp-link { color: var(--cp-accent); text-decoration: underline; text-underline-offset: 3px; }
#cp-shell[data-page="accounting"] .cp-depth-demo-card > a { margin-top: 16px; }
#cp-shell .cp-work-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 4vw, 64px); margin-top: 30px; }
#cp-shell .cp-work-pair article { padding-top: 18px; border-top: 2px solid var(--cp-brand); }
#cp-shell .cp-work-pair .cp-btn { margin-top: 18px; }
#cp-shell .cp-ai-photo { margin: 0; }
#cp-shell .cp-text-example { margin: 10px 0 25px; overflow: hidden; border: 1px solid var(--cp-line); border-radius: 8px; background: white; }
#cp-shell .cp-text-example-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding: clamp(16px, 2.2vw, 28px); background: var(--cp-deep); color: white; }
#cp-shell .cp-text-example-head h3 { margin: 0; color: white; font-size: clamp(19px, 1.8vw, 25px); line-height: 1.25; }
#cp-shell .cp-text-switch { display: inline-flex; flex-wrap: wrap; gap: 4px; }
#cp-shell .cp-text-switch[hidden], #cp-shell .cp-text-panel[hidden] { display: none; }
#cp-shell .cp-text-switch button { min-height: 44px; padding: 7px 13px; border: 1px solid var(--cp-mint); border-radius: 4px; font: inherit; font-size: 14px; font-weight: 650; color: white; background: transparent; cursor: pointer; }
#cp-shell .cp-text-switch button[aria-selected="true"] { color: var(--cp-on-brand); background: var(--cp-mint); }
#cp-shell .cp-text-switch button:focus-visible { outline: 2px solid white; outline-offset: 2px; }
#cp-shell .cp-text-panel { padding: clamp(18px, 2.5vw, 36px); border-top: 1px solid var(--cp-line); }
#cp-shell .cp-text-panel h4 { margin: 0 0 13px; font-size: 18px; line-height: 1.35; }
#cp-shell .cp-text-panel p, #cp-shell .cp-text-panel li { max-width: 76ch; font-size: 16px; line-height: 1.65; }
#cp-shell .cp-text-panel p + p { margin-top: 12px; }
#cp-shell .cp-text-panel ul { margin: 0; padding-left: 1.3em; }
#cp-shell .cp-text-panel .cp-example-context { padding: 10px 14px; margin-bottom: 16px; border-left: 3px solid var(--cp-brand); background: var(--cp-wash); }
#cp-shell .cp-text-panel .cp-example-context, #cp-shell .cp-text-panel .cp-example-foot { color: var(--cp-muted); font-size: 14px; }
#cp-shell .cp-original-heading { margin: 30px 0 14px; font-size: 19px; line-height: 1.35; }
#cp-shell .cp-assistant-tasks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 12px; }
#cp-shell .cp-assistant-tasks details { border: 1px solid var(--cp-line); border-radius: var(--cp-radius); }
#cp-shell .cp-assistant-tasks details[open] { background: var(--cp-wash); border-color: var(--cp-accent); }
#cp-shell .cp-assistant-tasks summary { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; min-height: 68px; padding: 14px 18px; list-style: none; font-weight: 650; cursor: pointer; }
#cp-shell .cp-assistant-tasks summary::-webkit-details-marker { display: none; }
#cp-shell .cp-assistant-tasks summary svg, #cp-shell .cp-task-plus { color: var(--cp-accent); }
#cp-shell .cp-task-plus::before { content: '+'; font-size: 21px; }
#cp-shell .cp-assistant-tasks details[open] .cp-task-plus::before { content: '−'; }
#cp-shell .cp-assistant-tasks details > div { padding: 0 18px 18px; }
#cp-shell .cp-assistant-tasks p + p, #cp-shell .cp-assistant-tasks .cp-btn { margin-top: 12px; }
@media (max-width: 800px) {
  #cp-shell .cp-bill-hero, #cp-shell .cp-ai-hero { grid-template-columns: minmax(0, 1fr); }
  #cp-shell .cp-work-ledger > div, #cp-shell .cp-work-pair, #cp-shell .cp-assistant-tasks { grid-template-columns: minmax(0,1fr); }
  #cp-shell .cp-bill-hero .cp-h1, #cp-shell .cp-ai-hero .cp-h1 { font-size: clamp(35px, 7.5vw, 48px); }
}
@media (max-width: 420px) {
  #cp-shell .cp-bill-body { padding-inline: 10px; }
  #cp-shell .cp-bill-body :is(th,td) { padding-inline: 3px; }
  #cp-shell .cp-bill-body tbody td { font-size: 12px; }
  #cp-shell .cp-work-note { gap: 10px; }
}
