/* telefonansagen.ai — Warenkorb-Beiwerk auf der Host-Seite (16.09.2026)
   Rechnungs-Banner ueber der aig-Insel (Gegenstueck zu ansagen.ai .rechnung-banner)
   inkl. Sachstand-Varianten (freigeschaltet / in Pruefung). Alles gescoped auf
   .tai-cart-rechnung*; keine nackten Element-Selektoren. 8px-Raster, hell, Weight 300. */

body .tai-appview .tai-cart-rechnung {
  position: relative;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  margin: 0 0 24px;
  padding: 20px 56px 20px 24px;
  background: #f4f7fa;
  border: 1px solid #dbe4ec;
  border-radius: 12px;
  box-shadow: none;
}
body .tai-appview .tai-cart-rechnung[hidden] { display: none; }

body .tai-appview .tai-cart-rechnung__icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  align-self: start;
  border-radius: 0;
  background: transparent;
  border: 0;
  color: #001357;
}
body .tai-appview .tai-cart-rechnung__icon svg { width: 24px; height: 24px; }

body .tai-appview .tai-cart-rechnung__copy { min-width: 0; }
body .tai-appview .tai-cart-rechnung__copy p,
body .tai-appview .tai-cart-rechnung__copy h2 { padding: 0; margin: 0; }

body .tai-appview .tai-cart-rechnung__kicker {
  margin: 0 0 4px !important;
  color: #001357;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  line-height: 1.4;
}
body .tai-appview .tai-cart-rechnung h2 {
  margin: 0 0 6px !important;
  color: #001357;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.35;
}
body .tai-appview .tai-cart-rechnung__copy > p:not(.tai-cart-rechnung__kicker),
body .tai-appview .tai-cart-rechnung details p {
  color: #455d6b;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
}
body .tai-appview .tai-cart-rechnung details { margin-top: 8px; }
body .tai-appview .tai-cart-rechnung summary {
  cursor: pointer;
  color: #001357;
  font-size: 13px;
  font-weight: 500;
  list-style: none;
}
body .tai-appview .tai-cart-rechnung summary::-webkit-details-marker { display: none; }
body .tai-appview .tai-cart-rechnung summary::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  margin: 0 8px 2px 0;
  border-right: 1.5px solid #001357;
  border-bottom: 1.5px solid #001357;
  transform: rotate(-45deg);
  transition: transform .15s ease;
}
body .tai-appview .tai-cart-rechnung details[open] summary::before { transform: rotate(45deg); }
body .tai-appview .tai-cart-rechnung details p { padding-top: 8px !important; max-width: 76ch; }
body .tai-appview .tai-cart-rechnung details p a { color: #001357; }

body .tai-appview .tai-cart-rechnung__action { align-self: center; }
body .tai-appview .tai-cart-rechnung a.tai-cart-rechnung__btn,
body .tai-appview .tai-cart-rechnung a.tai-cart-rechnung__btn:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px solid #001357;
  background: #ffffff;
  color: #001357 !important;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
  white-space: nowrap;
  text-decoration: none !important;
  box-shadow: none;
  transition: background .15s ease, color .15s ease;
}
body .tai-appview .tai-cart-rechnung a.tai-cart-rechnung__btn:hover,
body .tai-appview .tai-cart-rechnung a.tai-cart-rechnung__btn:focus-visible {
  background: #001357;
  color: #ffffff !important;
  transform: none;
}

body .tai-appview .tai-cart-rechnung__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #7a8aa0;
  font-size: 22px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
}
body .tai-appview .tai-cart-rechnung__close:hover { background: #eef4f3; color: #001357; }

/* Sachstand statt Anfrage (JS: tai-rechnung-20260916.js paintCartBanner) */
body .tai-appview .tai-cart-rechnung--state { grid-template-columns: 28px minmax(0, 1fr); }
body .tai-appview .tai-cart-rechnung--approved { background: #e6f8f4; border-color: #c3e9e0; }
body .tai-appview .tai-cart-rechnung--pending  { background: #f4f7fb; border-color: #d7e0ec; }
body .tai-appview .tai-cart-rechnung__state { color: #001357 !important; font-size: 15px !important; }
body .tai-appview .tai-cart-rechnung__state strong { font-weight: 600; }

@media (max-width: 760px) {
  body .tai-appview .tai-cart-rechnung {
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 16px;
    padding: 20px 48px 20px 16px;
  }
  body .tai-appview .tai-cart-rechnung__icon { width: 24px; height: 24px; }
  body .tai-appview .tai-cart-rechnung__action { grid-column: 2; }
  body .tai-appview .tai-cart-rechnung h2 { font-size: 17px; }
}

/* The explanatory sentence already names the audience. Keep the notice compact. */
body .tai-appview .tai-cart-rechnung__kicker { display:none; }
body .tai-appview .tai-cart-rechnung__btn { min-height:44px; box-sizing:border-box; }
