/**
 * Checkout flow — Sepet → Fatura bilgileri → Ödeme (özet + sözleşmeler + onay) → Sonuç.
 * Loaded after cart-checkout.css on checkout pages (and the order detail contract record).
 * Tokens: assets/css/design-system.css. Tab bar clearance: assets/css/tabbar-clearance.css.
 */

/* ------------------------------------------------------------------
 * Page shell — fill the viewport so the footer / app credit band never
 * floats mid-screen on short pages (empty cart, result).
 * ------------------------------------------------------------------ */
.ts-cart-page,
.ts-checkout-page,
.ts-pay-result-page,
.ts-co-record {
  --ts-co-border: var(--color-border, #e7e5e4);
  --ts-co-muted: var(--color-muted, #57534e);
  --ts-co-text: var(--color-text, #0f172a);
  --ts-co-amber: var(--color-primary-text, #78350f);
  --ts-co-honey: var(--color-primary-hover, #f5c518);
  --ts-co-lemon: var(--color-primary, #ffe800);
  --ts-co-radius: var(--radius-md, 12px);
}

.ts-cart-page,
.ts-checkout-page,
.ts-pay-result-page {
  background: var(--color-background, #fafaf9);
  padding: 12px 0 96px;
  min-height: 60vh;
  min-height: calc(100dvh - 180px);
}

/* The 96px bottom room is only needed under the sticky summary bar. */
@supports selector(:has(a)) {
  .ts-cart-page:not(:has(.ts-cart-sticky)),
  .ts-checkout-page:not(:has(.ts-cart-sticky)),
  .ts-pay-result-page:not(:has(.ts-cart-sticky)),
  html.ts-native-app .ts-cart-page:not(:has(.ts-cart-sticky)) {
    padding-bottom: 24px;
  }
}

@media (min-width: 992px) {
  .ts-cart-page,
  .ts-checkout-page,
  .ts-pay-result-page,
  html.ts-native-app .ts-cart-page {
    padding: 20px 0 48px;
  }
}

/* App / mobile shell: the page section grows, credit band sits right above the tab bar. */
@supports selector(body:has(main)) {
  html.ts-native-app body:has(.ts-cart-page, .ts-checkout-page, .ts-pay-result-page) {
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
    box-sizing: border-box;
  }
  html.ts-native-app body:has(.ts-cart-page, .ts-checkout-page, .ts-pay-result-page) > main {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
  }
  html.ts-native-app main > .ts-cart-page,
  html.ts-native-app main > .ts-checkout-page,
  html.ts-native-app main > .ts-pay-result-page {
    flex: 1 0 auto;
    min-height: 0;
  }
}

.ts-cart-page > .container,
.ts-checkout-page > .container,
.ts-pay-result-page > .container {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

/* ------------------------------------------------------------------
 * Stepper — one line at every width (360px included).
 * Narrow screens: numbers only for inactive steps, label on the current one.
 * ------------------------------------------------------------------ */
.ts-checkout-stepper {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0;
  margin: 4px 0 16px;
  padding: 8px 12px;
  background: var(--color-surface, #fff);
  border: 1px solid var(--ts-co-border);
  border-radius: var(--ts-co-radius);
  overflow: hidden;
}
.ts-checkout-stepper__item {
  flex: 0 0 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  font-size: 0.82rem;
  color: #78716c;
}
.ts-checkout-stepper__item + .ts-checkout-stepper__item {
  flex: 1 1 auto;
}
.ts-checkout-stepper__item + .ts-checkout-stepper__item::before {
  content: "";
  flex: 1 1 0;
  min-width: 10px;
  height: 2px;
  margin: 0 8px;
  border-radius: 2px;
  background: var(--ts-co-border);
}
.ts-checkout-stepper__item--done + .ts-checkout-stepper__item::before {
  background: var(--ts-co-honey);
}
.ts-checkout-stepper__link {
  flex: 0 0 auto;
  width: auto;
  min-width: 0;
  min-height: 32px;
  gap: 6px;
  padding: 2px;
  white-space: nowrap;
}
.ts-checkout-stepper__num {
  width: 26px;
  height: 26px;
  font-size: 0.8rem;
}
.ts-checkout-stepper__label {
  overflow: hidden;
  text-overflow: ellipsis;
}
.ts-checkout-stepper__item--current .ts-checkout-stepper__label {
  font-weight: 700;
  color: var(--ts-co-text);
}
.ts-checkout-stepper__item--done .ts-checkout-stepper__num {
  font-size: 0;
}
.ts-checkout-stepper__item--done .ts-checkout-stepper__num::before {
  content: "\2713";
  font-size: 0.8rem;
  font-weight: 800;
}

@media (max-width: 575.98px) {
  .ts-checkout-stepper {
    padding: 8px 10px;
  }
  .ts-checkout-stepper__item + .ts-checkout-stepper__item::before {
    margin: 0 6px;
  }
  /* Inactive steps keep an accessible name but show only the number. */
  .ts-checkout-stepper__item:not(.ts-checkout-stepper__item--current) .ts-checkout-stepper__label {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  .ts-checkout-stepper__link {
    position: relative;
  }
}

/* ------------------------------------------------------------------
 * Titles, cards, shared bits
 * ------------------------------------------------------------------ */
.ts-co-title-row,
.ts-cart-page .ts-cart-title-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin: 0 0 14px;
}
.ts-co-title-row h1 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0;
  color: var(--ts-co-text);
}
.ts-co-title-row .ts-cart-count {
  color: var(--ts-co-muted);
  font-size: 0.95rem;
}

.ts-co-card__title {
  display: block;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ts-co-text);
  margin: 0 0 10px;
}

.ts-co-main {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.ts-co-narrow {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}

.ts-co-vat {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ts-co-muted);
  margin-left: 4px;
  white-space: nowrap;
}

.ts-co-steps-note {
  font-size: 0.8rem;
  line-height: 1.45;
}

.ts-co-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ts-co-amber);
  text-decoration: underline;
}

.ts-cart-extras {
  list-style: none;
  margin: 0 0 0.4rem;
  padding: 0;
  font-size: 0.82rem;
  color: var(--ts-co-muted);
}
.ts-cart-extras li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  max-width: 22rem;
}
.ts-cart-extras li span:last-child {
  font-weight: 700;
  white-space: nowrap;
}

.ts-cart-line__title {
  overflow-wrap: anywhere;
}

.ts-cart-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 48px;
  line-height: 1.2;
  transition: filter var(--transition-fast, 150ms ease-out), opacity var(--transition-fast, 150ms ease-out);
}
.ts-cart-cta:focus-visible {
  outline: 2px solid var(--ts-co-text);
  outline-offset: 2px;
}
.ts-cart-cta:disabled,
.ts-cart-cta[aria-disabled="true"] {
  opacity: 0.5;
  cursor: not-allowed;
  filter: grayscale(0.35);
  /* Tap falls through to [data-legal-submit-wrap], which scrolls to the checkbox. */
  pointer-events: none;
}
[data-legal-submit-wrap] {
  cursor: pointer;
}

/* Info card (province closed etc.) */
.ts-co-info {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 0 0 14px;
  padding: 14px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: var(--ts-co-radius);
  color: #713f12;
}
.ts-co-info--plain {
  background: var(--color-surface, #fff);
  border-color: var(--ts-co-border);
  color: var(--ts-co-text);
}
.ts-co-info__icon {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ts-co-lemon);
  color: var(--ts-co-text);
  font-size: 0.95rem;
}
.ts-co-info__body {
  min-width: 0;
  font-size: 0.9rem;
  line-height: 1.45;
}
.ts-co-info__body p {
  margin: 0;
}
.ts-co-info__title {
  display: block;
  font-size: 0.95rem;
  margin: 0 0 2px;
  color: var(--ts-co-text);
}
.ts-co-info__hint {
  margin-top: 4px !important;
  color: var(--ts-co-muted);
  font-size: 0.82rem;
}

/* Pending payments list */
.ts-co-pending {
  margin: 0 0 14px;
  padding: 12px 14px;
  background: var(--color-surface, #fff);
  border: 1px solid var(--ts-co-border);
  border-left: 4px solid var(--ts-co-honey);
  border-radius: var(--ts-co-radius);
  font-size: 0.9rem;
}
.ts-co-pending__title {
  display: block;
  margin: 0 0 8px;
  color: var(--ts-co-text);
}
.ts-co-pending__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ts-co-pending__list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.ts-co-pending__btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid var(--ts-co-honey);
  background: #fffbeb;
  color: var(--ts-co-amber);
  font-weight: 700;
  font-size: 0.82rem;
  text-decoration: none;
}
.ts-co-pending__btn:hover {
  background: var(--ts-co-lemon);
  color: var(--ts-co-text);
}

/* Empty cart */
.ts-cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 36px 20px;
  margin: auto 0;
}
.ts-cart-page .ts-cart-empty {
  flex: 0 1 auto;
}
.ts-cart-empty__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 14px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: var(--ts-co-amber);
  font-size: 1.5rem;
}
.ts-cart-empty p {
  max-width: 34ch;
  font-size: 0.92rem;
  line-height: 1.45;
}
.ts-cart-empty .ts-cart-cta {
  display: inline-flex;
  margin-top: 4px;
}

/* Sticky summary bar (mobile / app) */
.ts-co-sticky__sum {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.2;
}
.ts-co-sticky__label {
  font-size: 0.72rem;
  color: var(--ts-co-muted);
  white-space: nowrap;
}
@media (max-width: 991.98px) {
  .ts-cart-sticky {
    padding: 8px 16px;
    backdrop-filter: saturate(1.2) blur(6px);
  }
  .ts-cart-sticky .ts-cart-cta {
    min-height: 46px;
    padding: 10px 16px;
    white-space: nowrap;
  }
  .ts-cart-sticky__total {
    white-space: nowrap;
  }
}

/* ------------------------------------------------------------------
 * Payment step — order facts, coupon, accepted banner
 * ------------------------------------------------------------------ */
.ts-co-order__list {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
@media (min-width: 576px) {
  .ts-co-order__list {
    grid-template-columns: 1fr 1fr;
    gap: 12px 20px;
  }
}
.ts-co-order__list > div {
  min-width: 0;
}
.ts-co-order__list dt {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--ts-co-muted);
  margin: 0 0 2px;
}
.ts-co-order__list dd {
  margin: 0;
  font-size: 0.93rem;
  color: var(--ts-co-text);
  overflow-wrap: anywhere;
}
.ts-co-order__sub {
  margin: 12px 0 4px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ts-co-text);
}
.ts-co-order__extras {
  margin: 0;
}

.ts-co-coupon .input-group .form-control {
  min-height: 44px;
}
.ts-co-coupon .btn {
  min-height: 44px;
  font-weight: 600;
}

.ts-co-sum-row--sub {
  font-size: 0.85rem;
  color: var(--ts-co-muted);
}
.ts-co-sum-row--discount span:last-child {
  color: #15803d;
  font-weight: 600;
}

.ts-co-accepted {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--ts-co-radius);
  color: #14532d;
  font-size: 0.88rem;
  line-height: 1.45;
}
.ts-co-accepted i {
  margin-top: 2px;
  color: #16a34a;
}
.ts-co-accepted a {
  color: #14532d;
  font-weight: 600;
  text-decoration: underline;
  white-space: nowrap;
}

.ts-co-gateway .ts-demo-pos {
  border: 0;
  padding: 0;
}
.ts-co-gateway .form-control {
  min-height: 44px;
}

/* ------------------------------------------------------------------
 * Contracts — Ön Bilgilendirme Formu + Mesafeli Satış Sözleşmesi
 * ------------------------------------------------------------------ */
.ts-co-legal__lead {
  margin: 0 0 12px;
  font-size: 0.88rem;
  color: var(--ts-co-muted);
}

.ts-co-legal-doc {
  border: 1px solid var(--ts-co-border);
  border-radius: 10px;
  background: var(--color-surface, #fff);
  margin: 0 0 12px;
  overflow: hidden;
}
.ts-co-legal-doc__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 12px;
  background: #fafaf9;
  border-bottom: 1px solid var(--ts-co-border);
}
.ts-co-legal-doc__head h3 {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ts-co-text);
}
.ts-co-legal-doc__expand {
  flex: 0 0 auto;
  min-height: 32px;
  padding: 4px 10px;
  border: 1px solid var(--ts-co-border);
  border-radius: 8px;
  background: #fff;
  color: var(--ts-co-amber);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}
.ts-co-legal-doc__expand:hover {
  border-color: var(--ts-co-honey);
  background: #fffbeb;
}
.ts-co-legal-doc__expand:focus-visible,
.ts-co-legal-doc__body:focus-visible {
  outline: 2px solid var(--ts-co-text);
  outline-offset: -2px;
}
.ts-co-legal-doc__body {
  max-height: 220px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 12px 14px;
  font-size: 0.82rem;
  line-height: 1.55;
  color: #292524;
}
.ts-co-legal-doc__body h2,
.ts-co-legal-doc__body h3,
.ts-co-legal-doc__body h4 {
  font-size: 0.86rem;
  font-weight: 700;
  margin: 14px 0 6px;
  color: var(--ts-co-text);
}
.ts-co-legal-doc__body p,
.ts-co-legal-doc__body ul {
  margin: 0 0 8px;
}
.ts-co-legal-doc__body ul {
  padding-left: 18px;
}
.ts-co-legal-doc__body a {
  color: var(--ts-co-amber);
  text-decoration: underline;
}
.ts-co-legal-doc__foot {
  margin: 0;
  padding: 6px 12px;
  border-top: 1px solid var(--ts-co-border);
  font-size: 0.76rem;
}
.ts-co-legal-doc__foot a {
  color: var(--ts-co-muted);
  text-decoration: underline;
}
.ts-co-legal-meta {
  font-size: 0.76rem;
  color: var(--ts-co-muted);
}
.ts-co-legal-dl {
  margin: 0 0 8px;
}
.ts-co-legal-dl dt {
  font-weight: 700;
  margin: 8px 0 2px;
}
.ts-co-legal-dl dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.ts-co-legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 6px 0 10px;
  font-size: 0.82rem;
}
.ts-co-legal-table th,
.ts-co-legal-table td {
  border: 1px solid var(--ts-co-border);
  padding: 6px 8px;
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}
.ts-co-legal-table th {
  width: 40%;
  background: #fafaf9;
  font-weight: 600;
}
.ts-co-legal-table ul {
  margin: 0 0 4px;
  padding-left: 16px;
}

/* Full-screen reading mode */
html.ts-co-legal-open {
  overflow: hidden;
}
/* <main> is its own stacking context (z-index 1); lift it above the fixed header / tab bar. */
html.ts-co-legal-open .ts-main,
html.ts-co-legal-open main#main {
  position: relative;
  z-index: 2000 !important;
}
.ts-co-legal-doc.is-expanded {
  position: fixed;
  inset: 0;
  z-index: 2000;
  margin: 0;
  border: 0;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.ts-co-legal-doc.is-expanded .ts-co-legal-doc__head {
  padding: 12px 16px;
}
.ts-co-legal-doc.is-expanded .ts-co-legal-doc__expand {
  min-height: 40px;
  padding: 6px 16px;
  background: var(--ts-co-lemon);
  border-color: var(--ts-co-honey);
  color: var(--ts-co-text);
}
.ts-co-legal-doc.is-expanded .ts-co-legal-doc__body {
  flex: 1 1 auto;
  max-height: none;
  padding: 16px;
  font-size: 0.9rem;
}
@media (min-width: 768px) {
  .ts-co-legal-doc.is-expanded {
    inset: 5vh 0 auto 0;
    margin: 0 auto;
    width: min(820px, 92vw);
    height: 90vh;
    border-radius: 14px;
    box-shadow: var(--shadow-xl, 0 20px 25px rgba(0, 0, 0, 0.15));
  }
  /* Backdrop: click target is .ts-co-legal itself (closes the reader). */
  html.ts-co-legal-open .ts-co-legal::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 1999;
    background: rgba(15, 23, 42, 0.55);
    cursor: pointer;
  }
}

.ts-co-legal__check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 4px 0 0;
  padding: 12px;
  border: 1.5px solid var(--ts-co-honey);
  border-radius: 10px;
  background: #fffbeb;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--ts-co-text);
  cursor: pointer;
  transition: box-shadow var(--transition-base, 200ms ease-out), background var(--transition-base, 200ms ease-out);
}
.ts-co-legal__check input {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin: 0;
  accent-color: #16a34a;
  cursor: pointer;
}
.ts-co-legal__check a {
  color: var(--ts-co-amber);
  font-weight: 700;
  text-decoration: underline;
}
.ts-co-legal.is-accepted .ts-co-legal__check {
  background: #f0fdf4;
  border-color: #86efac;
}
.ts-co-legal.is-nudged .ts-co-legal__check {
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.25);
  border-color: #dc2626;
}
.ts-co-legal__error {
  margin: 0 0 8px;
  padding: 8px 12px;
  border-radius: 8px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  font-size: 0.86rem;
  font-weight: 600;
}
.ts-co-legal__notice {
  margin: 10px 0 0;
  font-size: 0.78rem;
  color: var(--ts-co-muted);
}
.ts-co-legal__notice a {
  color: var(--ts-co-muted);
  text-decoration: underline;
}
.ts-co-submit .ts-cart-cta {
  margin-top: 14px;
}
@media (max-width: 991.98px) {
  /* Mobile / app: the sticky bar carries the primary action. */
  .ts-co-submit {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ts-cart-cta,
  .ts-co-legal__check {
    transition: none;
  }
}

/* ------------------------------------------------------------------
 * Result page
 * ------------------------------------------------------------------ */
.ts-co-result-wrap {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8px 0 16px;
}
.ts-co-result__legal {
  margin: 14px 0 0;
  font-size: 0.8rem;
  color: var(--ts-co-muted);
}
.ts-co-result__legal a {
  color: var(--ts-co-amber);
  text-decoration: underline;
}
.ts-co-result__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}
.ts-pay-result .ts-cart-cta {
  margin-top: 16px;
}

/* ------------------------------------------------------------------
 * Trust strip — card schemes, secure payment, legal links, company title
 * ------------------------------------------------------------------ */
.ts-co-trust {
  margin-top: auto;
  padding-top: 20px;
}
.ts-co-trust__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 12px 0 10px;
  border-top: 1px solid var(--ts-co-border);
}
.ts-co-trust__cards {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.ts-co-card-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 28px;
  border: 1px solid var(--ts-co-border);
  border-radius: 6px;
  background: #fff;
  font-size: 0.74rem;
  line-height: 1;
}
.ts-co-card-logo--visa {
  color: #1a1f71;
  font-weight: 900;
  font-style: italic;
  letter-spacing: 0.02em;
}
.ts-co-card-logo--troy {
  color: #00a3e0;
  font-weight: 800;
  letter-spacing: 0.01em;
}
.ts-co-trust__secure {
  margin: 0;
  font-size: 0.78rem;
  color: var(--ts-co-muted);
}
.ts-co-trust__secure i {
  color: #16a34a;
  margin-right: 4px;
}
.ts-co-trust__links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  font-size: 0.78rem;
}
.ts-co-trust__links a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  color: var(--ts-co-muted);
  text-decoration: underline;
}
.ts-co-trust__links a:hover {
  color: var(--ts-co-text);
}
.ts-co-trust__company {
  margin: 6px 0 0;
  font-size: 0.72rem;
  line-height: 1.45;
  color: #78716c;
}

/* ------------------------------------------------------------------
 * Order detail — accepted contracts record
 * ------------------------------------------------------------------ */
.ts-co-record h2 {
  margin-bottom: 8px;
}
.ts-co-record__doc {
  border: 1px solid var(--color-border, #e7e5e4);
  border-radius: 10px;
  background: #fff;
  margin: 0 0 8px;
  overflow: hidden;
}
.ts-co-record__doc > summary {
  cursor: pointer;
  padding: 10px 12px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-primary-text, #78350f);
  list-style-position: inside;
}
.ts-co-record__doc[open] > summary {
  border-bottom: 1px solid var(--color-border, #e7e5e4);
  background: #fafaf9;
}
.ts-co-record__doc .ts-co-legal-doc__body {
  max-height: 360px;
}
.ts-co-record__links {
  margin: 8px 0 0;
  font-size: 0.8rem;
  line-height: 1.8;
}
.ts-co-record__links a {
  color: var(--color-muted, #57534e);
  text-decoration: underline;
}
