.tb-operations-panel,
.tb-case,
.tb-cases__empty {
  margin-block: 1rem;
  padding: 1rem;
  border: 1px solid #c8d0dc;
  border-radius: 0.5rem;
  background: #fff;
}

.tb-case-access {
  background: #f3f5f8;
  min-height: 70vh;
  padding-block: clamp(2rem, 6vw, 5rem);
}

.tb-case-access__shell {
  max-width: 64rem;
}

.tb-case-access__bar {
  align-items: end;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.tb-case-access__bar h1,
.tb-case-access__empty h1 {
  color: #13274b;
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 0;
}

.tb-case-access__bar :is(a, .tb-case-access__logout) {
  color: #4b5563;
}

.tb-case-access__empty {
  background: #fff;
  margin-inline: auto;
  max-width: 48rem;
  padding: clamp(1.5rem, 5vw, 3rem);
}

.tb-operations-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.tb-operations-fields > p {
  flex: 1 1 18rem;
  margin: 0;
}

.tb-operations-fields label,
.tb-operations-fields input,
.tb-operations-fields .description {
  display: block;
  width: 100%;
}

.tb-operations-fields label,
.tb-operations-transition label {
  margin-block-end: 0.35rem;
  font-weight: 600;
}

.tb-operations-table-wrap {
  max-width: 100%;
  margin-block: 1rem;
  overflow-x: auto;
}

.tb-operations-items input[type="text"],
.tb-operations-items input[type="number"],
.tb-operations-items select {
  min-width: 7rem;
}

.tb-operations-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
}

.tb-operations-summary div {
  min-width: 12rem;
}

.tb-operations-summary dt {
  font-weight: 600;
}

.tb-operations-summary dd {
  margin: 0.25rem 0 0;
  overflow-wrap: anywhere;
}

.tb-operations-transition {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 0.5rem;
}

.tb-operations-group-controls {
  align-items: end;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tb-operations-group-controls label {
  display: grid;
  gap: 0.35rem;
  min-width: 13rem;
}

.tb-operations-add-item {
  border-top: 1px solid #d9dee7;
  margin-top: 1.5rem;
  padding-top: 1rem;
}

.tb-operations-add-item summary {
  cursor: pointer;
  font-weight: 700;
  min-height: 44px;
}

.tb-operations-add-item form {
  padding-top: 1rem;
}

.tb-operations-case-items input[type="checkbox"] {
  height: 1.25rem;
  width: 1.25rem;
}

.tb-cases__header p,
.tb-case__header p {
  max-width: 70ch;
}

.tb-case__header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

.tb-case__header h2,
.tb-case__header h3,
.tb-case__header p {
  margin: 0;
}

.tb-case__state {
  align-self: start;
  border-radius: 999px;
  background: #eef5fb;
  color: #13274b;
  padding: 0.45rem 0.75rem;
}

.tb-case__progress {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
  margin-block: 1.25rem;
  padding: 0;
  list-style: none;
}

.tb-case__progress li {
  min-height: 2.75rem;
  padding: 0.65rem;
  border: 1px solid #c8d0dc;
  color: #4b5563;
}

.tb-case__progress .is-complete {
  border-color: #13274b;
  color: #13274b;
  font-weight: 600;
}

.tb-case__progress .is-current {
  border-color: #4f8fcc;
  background: #eef5fb;
  color: #13274b;
  font-weight: 700;
}

.tb-case__next {
  border: 1px solid #b8cee2;
  border-radius: 0.65rem;
  margin-block: 1rem 1.5rem;
  padding: 1rem;
  background: #eef5fb;
  color: #13274b;
}

.tb-case__next p {
  margin: 0.3rem 0;
}

.tb-case__responsible {
  font-size: 0.9rem;
}

.tb-case__items ul,
.tb-case__history ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.tb-case__items li {
  display: grid;
  grid-template-columns: minmax(12rem, 1fr) auto auto;
  align-items: center;
  gap: 0.5rem 1rem;
  padding-block: 0.8rem;
  border-block-end: 1px solid #d9dee7;
}

.tb-case__items li > span,
.tb-case__items small {
  display: block;
}

.tb-case__items small {
  margin-top: 0.2rem;
  color: #4b5563;
}

.tb-case__item-price {
  white-space: nowrap;
  font-weight: 650;
}

.tb-case__item-choice {
  border-radius: 999px;
  background: #e8f5ed;
  color: #166534;
  padding: 0.35rem 0.6rem;
  white-space: nowrap;
  font-size: 0.82rem;
  font-weight: 700;
}

.tb-case__items .is-not-selected {
  color: #6b7280;
}

.tb-case__items .is-not-selected .tb-case__item-choice {
  background: #f2f4f7;
  color: #4b5563;
}

.tb-case__documents ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.tb-case__documents li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding-block: 0.75rem;
  border-block-end: 1px solid #d9dee7;
}

.tb-case__boundary {
  padding: 0.75rem;
  border: 1px solid #b7791f;
  background: #fff8e8;
  color: #5f3b00;
}

.tb-case__history {
  margin-top: 1rem;
  border-top: 1px solid #d9dee7;
  padding-top: 1rem;
}

.tb-case__external-states > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.tb-operations-kpis {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-block: 1rem;
}

.tb-operations-readiness {
  background: #fff;
  border: 1px solid #c8d0dc;
  margin-block: 1rem;
  padding: 1rem;
}

.tb-operations-collapsible > summary {
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  min-height: 44px;
  padding-block: 0.65rem;
}

.tb-operations-collapsible[open] > summary {
  border-bottom: 1px solid #dcdcde;
  margin-bottom: 1rem;
}

.tb-operations-readiness > div {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tb-operations-readiness article {
  border: 1px solid #dcdcde;
  display: grid;
  gap: 0.45rem;
  padding: 0.85rem;
}

.tb-operations-readiness p {
  color: #50575e;
  margin: 0;
}

.tb-operations-kpis div {
  background: #f6f7f7;
  border: 1px solid #c8d0dc;
  display: grid;
  padding: 0.9rem;
}

.tb-operations-kpis strong {
  font-size: 1.6rem;
}

.tb-operations-case-link {
  display: grid;
  gap: 0.15rem;
  min-width: 12rem;
  text-decoration: none;
}

.tb-operations-case-link span,
.tb-operations-case-link small {
  color: #50575e;
}

.tb-admin-status {
  border-radius: 999px;
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.3rem 0.55rem;
  white-space: nowrap;
}

.tb-admin-status--active { background: #e7f5ff; color: #0a4b78; }
.tb-admin-status--good { background: #edfaef; color: #166534; }
.tb-admin-status--warning { background: #fff4ce; color: #6b4600; }
.tb-admin-status--muted { background: #f0f0f1; color: #50575e; }

.tb-case__terms label {
  align-items: start;
  display: grid;
  gap: 0.65rem;
  grid-template-columns: auto 1fr;
  margin-block: 0.75rem;
}

.tb-case__terms input[type="checkbox"] {
  height: 1.35rem;
  width: 1.35rem;
}

.tb-case__external-states article {
  display: grid;
  gap: 0.35rem;
  padding: 0.85rem;
  border: 1px solid #d9dee7;
  background: #f8fafc;
}

.tb-case__external-states article span,
.tb-case__external-states > p {
  color: #4b5563;
  font-size: 0.86rem;
}

.tb-case__history summary {
  min-height: 44px;
  cursor: pointer;
  font-weight: 700;
}

.tb-case__history li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  padding-block: 0.55rem;
  border-block-end: 1px solid #e7eaf0;
}

.tb-case__history time {
  color: #4b5563;
  white-space: nowrap;
  font-size: 0.82rem;
}

@media (max-width: 640px) {
  .tb-operations-kpis,
  .tb-operations-readiness > div,
  .tb-case__external-states > div {
    grid-template-columns: 1fr;
  }
  .tb-case-access__bar {
    align-items: start;
    flex-direction: column;
  }

  .tb-case__progress {
    grid-template-columns: 1fr;
  }

  .tb-case__documents li {
    display: block;
  }

  .tb-case__items li,
  .tb-case__history li,
  .tb-case__external-states > div {
    grid-template-columns: 1fr;
  }

  .tb-case__item-choice {
    justify-self: start;
  }

  .tb-case__documents li span {
    display: block;
    margin-block: 0.25rem;
  }
}

@media (max-width: 782px) {
  .tb-operations-dashboard,
  .tb-operations-dashboard tbody,
  .tb-operations-dashboard tr,
  .tb-operations-dashboard td {
    display: block;
    width: 100%;
  }

  .tb-operations-dashboard thead {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
  }

  .tb-operations-dashboard tr {
    border: 1px solid #dcdcde;
    margin-bottom: 0.85rem;
    padding: 0.35rem 0.75rem;
  }

  .tb-operations-dashboard td {
    align-items: start;
    border: 0;
    display: grid;
    gap: 0.75rem;
    grid-template-columns: minmax(5.5rem, 0.65fr) minmax(0, 1.35fr);
    padding: 0.55rem 0;
  }

  .tb-operations-dashboard td::before {
    color: #50575e;
    content: attr(data-label);
    font-weight: 600;
  }

  .tb-operations-table-wrap:has(.tb-operations-dashboard) {
    overflow-x: visible;
  }
}

.tb-order-form,
.tb-order-form * {
  box-sizing: border-box;
  min-width: 0;
}

.tb-order-form {
  border: 1px solid var(--tb-color-border-subtle, #d9dee7);
  border-radius: 0.75rem;
  margin-block: 1.5rem;
  padding: clamp(1rem, 2.5vw, 1.5rem);
}

.tb-order-form__header {
  align-items: start;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.tb-order-form__header h3,
.tb-order-form__header h4,
.tb-order-form__header p {
  margin: 0;
}

.tb-order-form__header h3,
.tb-order-form__header h4 {
  color: var(--tb-color-navy, #13274b);
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  letter-spacing: -0.025em;
}

.tb-order-form__header p {
  color: var(--tb-color-text-muted, #596579);
  font-size: 0.85rem;
  margin-top: 0.2rem;
}

.tb-order-form__state {
  border-radius: 999px;
  flex: 0 0 auto;
  font-size: 0.78rem;
  font-weight: 750;
  padding: 0.4rem 0.65rem;
}

.tb-order-form__state--good { background: #e8f5ed; color: #166534; }
.tb-order-form__state--active { background: #eaf2fa; color: #0f4773; }
.tb-order-form__state--warning { background: #fff3df; color: #6b4300; }
.tb-order-form__state--muted { background: #f1f3f5; color: #596579; }

.tb-order-form__notice {
  border: 1px solid #4f8fcc;
  border-radius: 0.55rem;
  margin: 1rem 0 0;
  padding: 0.65rem 0.8rem;
}

.tb-order-form__notice--good { background: #eff8f1; border-color: #3f8a53; color: #174d27; }
.tb-order-form__notice--warning { background: #fff8eb; border-color: #c46b19; color: #5e3900; }

.tb-order-form__steps {
  border-bottom: 1px solid var(--tb-color-border-subtle, #d9dee7);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-block: 1.25rem;
}

.tb-order-form__steps a {
  align-items: center;
  border-bottom: 3px solid transparent;
  color: var(--tb-color-text-muted, #596579);
  display: flex;
  font-size: 0.9rem;
  font-weight: 700;
  justify-content: center;
  min-height: 46px;
  padding: 0.6rem 0.35rem;
  text-align: center;
  text-decoration: none;
}

.tb-order-form__steps a[aria-current="step"] {
  border-bottom-color: var(--tb-color-orange, #c63f36);
  color: var(--tb-color-navy, #13274b);
}

.tb-order-form__steps a:focus-visible,
.tb-order-form__form input:focus-visible,
.tb-order-form__form select:focus-visible,
.tb-order-form__form textarea:focus-visible,
.tb-order-form__form button:focus-visible {
  outline: 3px solid #4f8fcc;
  outline-offset: 2px;
}

.tb-order-form__summary dl {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 0 1rem;
}

.tb-order-form__review-group + .tb-order-form__review-group {
  margin-top: 1.25rem;
}

.tb-order-form__review-group h4,
.tb-order-form__review-group h5,
.tb-order-form__review-group h6 {
  color: var(--tb-color-navy, #13274b);
  font-size: 1rem;
  margin: 0 0 0.25rem;
}

.tb-order-form__summary-total dd {
  font-size: 1.08rem;
}

.tb-order-form__review-link {
  margin: 0;
}

.tb-order-form__review-link a {
  color: var(--tb-color-navy, #13274b);
  font-weight: 700;
  text-underline-offset: 0.18em;
}

.tb-order-form-admin__guidance {
  color: var(--tb-color-text-muted, #596579);
  margin: 0;
}

.tb-order-form-admin__customer-request {
  background: #f5f7fa;
  border: 1px solid var(--tb-color-orange, #c63f36);
  border-radius: 0.55rem;
  color: var(--tb-color-navy, #13274b);
  padding: 0.85rem 1rem;
}

.tb-order-form-admin__customer-request p {
  margin: 0.35rem 0 0;
  white-space: pre-wrap;
}

.tb-order-form__summary dl > div {
  border-bottom: 1px solid var(--tb-color-border-subtle, #d9dee7);
  padding: 0.8rem 0;
}

.tb-order-form__summary dl > div:nth-child(even) {
  padding-left: 1rem;
}

.tb-order-form__summary-wide {
  grid-column: 1 / -1;
  padding-left: 0 !important;
}

.tb-order-form__summary dt {
  color: var(--tb-color-text-muted, #596579);
  font-size: 0.78rem;
  font-weight: 650;
}

.tb-order-form__summary dd {
  color: var(--tb-color-navy, #13274b);
  font-weight: 700;
  margin: 0.25rem 0 0;
  overflow-wrap: anywhere;
}

.tb-order-form__form {
  display: grid;
  gap: 1.25rem;
}

.tb-order-form__form fieldset,
.tb-order-form-admin__editor fieldset {
  border: 0;
  border-top: 1px solid var(--tb-color-border-subtle, #d9dee7);
  margin: 0;
  padding: 1.15rem 0 0;
}

.tb-order-form__form legend,
.tb-order-form-admin__editor legend {
  color: var(--tb-color-navy, #13274b);
  font-size: 1.05rem;
  font-weight: 750;
  padding: 0 0.45rem 0 0;
}

.tb-order-form__grid,
.tb-order-form-admin__grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tb-order-form__grid label,
.tb-order-form__block,
.tb-order-form-admin__grid label {
  display: grid;
  gap: 0.4rem;
}

.tb-order-form__grid label > span,
.tb-order-form__block > span,
.tb-order-form-admin__grid label > span {
  color: var(--tb-color-navy, #13274b);
  font-size: 0.86rem;
  font-weight: 700;
}

.tb-order-form__wide,
.tb-order-form-admin__wide {
  grid-column: 1 / -1;
}

.tb-order-form__form input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
.tb-order-form__form select,
.tb-order-form__form textarea {
  appearance: none;
  background: #fff;
  border: 1px solid #aeb9c8;
  border-radius: 0.45rem;
  color: var(--tb-color-text, #2f2f2f);
  font: inherit;
  min-height: 48px;
  padding: 0.7rem 0.8rem;
  width: 100%;
}

.tb-order-form__form select {
  cursor: pointer;
}

.tb-order-form__form textarea[readonly] {
  background: #f5f7fa;
  color: var(--tb-color-text-muted, #596579);
}

.tb-order-form__form textarea {
  min-height: 6.5rem;
  resize: vertical;
}

.tb-order-form__passengers {
  display: grid;
  gap: 1rem;
}

.tb-order-form__passengers > section {
  background: #f8fafc;
  border: 1px solid var(--tb-color-border-subtle, #d9dee7);
  border-radius: 0.55rem;
  padding: 1rem;
}

.tb-order-form__passengers h4,
.tb-order-form__passengers h5,
.tb-order-form__passengers h6 {
  color: var(--tb-color-navy, #13274b);
  font-size: 0.95rem;
  margin: 0 0 0.8rem;
}

.tb-order-form__check,
.tb-order-form-admin__confirm {
  align-items: start;
  display: grid;
  gap: 0.65rem;
  grid-template-columns: auto minmax(0, 1fr);
  min-height: 44px;
  padding-block: 0.55rem;
}

.tb-order-form__check input,
.tb-order-form-admin__confirm input {
  height: 1.3rem;
  margin-top: 0.1rem;
  width: 1.3rem;
}

.tb-order-form__newsletter {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-top: 0.5rem;
}

.tb-order-form__newsletter > span {
  color: var(--tb-color-navy, #13274b);
  flex: 1 0 100%;
  font-weight: 700;
}

.tb-order-form__newsletter label {
  align-items: center;
  display: flex;
  gap: 0.4rem;
  min-height: 44px;
}

.tb-order-form__newsletter input {
  height: 1.25rem;
  width: 1.25rem;
}

.tb-order-form__actions,
.tb-order-form-admin__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: flex-end;
}

.tb-order-form__autosave {
  align-self: center;
  color: var(--tb-color-text-muted, #596579);
  flex: 1 1 16rem;
  margin: 0;
  min-height: 1.5em;
}

.tb-order-form__form[data-autosave-state="saved"] .tb-order-form__autosave {
  color: var(--tb-color-success-text, #176b45);
}

.tb-order-form__form[data-autosave-state="error"] .tb-order-form__autosave {
  color: var(--tb-color-error-text, #a12a22);
  font-weight: 700;
}

.tb-order-form .tb-button {
  appearance: none;
  background: var(--tb-color-navy, #13274b);
  border: 1px solid var(--tb-color-navy, #13274b);
  border-radius: 2px;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 750;
  padding: 0.7rem 1.1rem;
  text-decoration: none;
  transition: background-color 160ms var(--tb-ease-out, ease-out), border-color 160ms var(--tb-ease-out, ease-out), color 160ms var(--tb-ease-out, ease-out), transform 120ms var(--tb-ease-out, ease-out);
}

.tb-order-form .tb-button:hover {
  background: var(--tb-color-deep-navy, #001236);
  border-color: var(--tb-color-deep-navy, #001236);
  color: #fff;
}

.tb-order-form .tb-button:focus-visible {
  outline: 3px solid var(--tb-color-coral, #f26458);
  outline-offset: 3px;
}

.tb-order-form .tb-button:active {
  transform: scale(0.98);
}

.tb-order-form__actions .tb-button,
.tb-order-form__document .tb-button {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  min-height: 48px;
}

.tb-order-form__actions .tb-button--secondary {
  background: #fff;
  border: 1px solid var(--tb-color-navy, #13274b);
  color: var(--tb-color-navy, #13274b);
}

.tb-order-form__document {
  display: grid;
  gap: 0.85rem;
  justify-items: start;
}

.tb-order-form__document p {
  margin: 0;
}

.tb-order-form__signature,
.tb-order-form__locked {
  color: var(--tb-color-text-muted, #596579);
  font-size: 0.88rem;
}

.tb-order-form-admin__approval form,
.tb-order-form-admin__editor {
  display: grid;
  gap: 1rem;
}

.tb-order-form-admin__approval form {
  justify-items: start;
}

.tb-order-form-admin__approval p {
  margin-block: 0 1rem;
}

.tb-order-form-admin__editor input,
.tb-order-form-admin__editor select,
.tb-order-form-admin__editor textarea {
  width: 100%;
}

@media (max-width: 640px) {
  .tb-order-form__header {
    align-items: start;
    flex-direction: column;
  }

  .tb-order-form__summary dl,
  .tb-order-form__grid,
  .tb-order-form-admin__grid {
    grid-template-columns: 1fr;
  }

  .tb-order-form__summary dl > div:nth-child(even) {
    padding-left: 0;
  }

  .tb-order-form__wide,
  .tb-order-form-admin__wide,
  .tb-order-form__summary-wide {
    grid-column: auto;
  }

  .tb-order-form__actions,
  .tb-order-form-admin__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .tb-order-form__actions .tb-button,
  .tb-order-form-admin__actions .button,
  .tb-order-form-admin__approval form .button,
  .tb-order-form__document .tb-button {
    width: 100%;
  }
}

.woocommerce-account.logged-in .woocommerce {
  align-items: start;
  display: grid;
  gap: 2rem;
  grid-template-columns: 12rem minmax(0, 1fr);
}

.woocommerce-account.logged-in .woocommerce::before,
.woocommerce-account.logged-in .woocommerce::after {
  content: none;
  display: none;
}

.woocommerce-account.logged-in .woocommerce-MyAccount-navigation,
.woocommerce-account.logged-in .woocommerce-MyAccount-content {
  float: none;
  width: auto;
}

.woocommerce-account.logged-in .woocommerce-MyAccount-navigation ul {
  display: grid;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.woocommerce-account.logged-in .woocommerce-MyAccount-navigation a {
  align-items: center;
  border-radius: 0.5rem;
  color: var(--tb-color-text, #2f2f2f);
  display: flex;
  min-height: 44px;
  padding: 0.65rem 0.75rem;
  text-decoration: none;
}

.woocommerce-account.logged-in .woocommerce-MyAccount-navigation .is-active a {
  background: var(--tb-color-info-surface, #f1f6fb);
  color: var(--tb-color-navy, #13274b);
  font-weight: 700;
}

.tb-cases,
.tb-case,
.tb-case * {
  box-sizing: border-box;
  min-width: 0;
}

.tb-cases {
  color: var(--tb-color-text, #2f2f2f);
  max-width: 68rem;
}

.tb-cases__header {
  border-bottom: 1px solid var(--tb-color-border-subtle, #d9dee7);
  margin-bottom: 1.25rem;
  padding-bottom: 0.85rem;
}

.tb-cases__header h1 {
  color: var(--tb-color-navy, #13274b);
  font-family: var(--tb-font-heading, Inter, Arial, sans-serif);
  font-size: 1.75rem;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 0;
  text-wrap: balance;
}

.tb-cases__empty {
  display: grid;
  gap: 1rem;
  justify-items: start;
}

.tb-cases__empty h2 {
  margin: 0;
}

.tb-cases__empty .tb-button {
  align-items: center;
  background: var(--tb-color-navy, #13274b);
  color: #fff;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  min-height: 44px;
  padding: 0.65rem 1rem;
  text-decoration: none;
}

.tb-cases__empty .tb-button:focus-visible {
  outline: 3px solid var(--tb-color-coral, #ff6b61);
  outline-offset: 3px;
}

.tb-case-switcher {
  border-bottom: 1px solid var(--tb-color-border-subtle, #d9dee7);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
}

.tb-case-switcher > summary,
.tb-case__details > summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  font-weight: 700;
  gap: 0.65rem;
  justify-content: space-between;
  min-height: 44px;
  padding-block: 0.6rem;
}

.tb-case-switcher > summary > span,
.tb-case__details > summary > span {
  align-items: center;
  background: var(--tb-color-info-surface, #f1f6fb);
  border-radius: 999px;
  color: var(--tb-color-navy, #13274b);
  display: inline-flex;
  font-size: 0.8rem;
  justify-content: center;
  min-height: 1.6rem;
  min-width: 1.6rem;
  padding-inline: 0.45rem;
}

.tb-case-switcher ul {
  display: grid;
  list-style: none;
  margin: 0;
  max-height: 18rem;
  overflow-y: auto;
  padding: 0.25rem 0;
}

.tb-case-switcher li + li {
  border-top: 1px solid var(--tb-color-border-subtle, #d9dee7);
}

.tb-case-switcher a {
  align-items: center;
  color: var(--tb-color-text, #2f2f2f);
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 56px;
  padding: 0.65rem 0.5rem;
  text-decoration: none;
  transition: background-color 160ms var(--tb-ease-out, cubic-bezier(0.23, 1, 0.32, 1)), transform 140ms var(--tb-ease-out, cubic-bezier(0.23, 1, 0.32, 1));
}

.tb-case-switcher a[aria-current="page"] {
  background: var(--tb-color-info-surface, #f1f6fb);
  color: var(--tb-color-navy, #13274b);
}

.tb-case-switcher a > span:first-child {
  display: grid;
  gap: 0.15rem;
}

.tb-case-switcher a small,
.tb-case-switcher a > span:last-child {
  color: var(--tb-color-muted, #596579);
}

.tb-case {
  background: transparent;
  border: 0;
  border-radius: 0;
  margin: 0;
  padding: 0;
}

.tb-case__header {
  align-items: start;
  border-bottom: 1px solid var(--tb-color-border-subtle, #d9dee7);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding-bottom: 1rem;
}

.tb-case__header h2,
.tb-case__header h3 {
  color: var(--tb-color-navy, #13274b);
  font-family: var(--tb-font-heading, Inter, Arial, sans-serif);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0;
  text-wrap: balance;
}

.tb-case__header p {
  color: var(--tb-color-muted, #596579);
  font-variant-numeric: tabular-nums;
  margin: 0.25rem 0 0;
}

.tb-case .tb-case__progress {
  align-items: flex-end;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.tb-case__progress > span {
  color: var(--tb-color-muted, #596579);
  font-size: 0.85rem;
}

.tb-case__stage {
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.88rem;
  line-height: 1.2;
  padding: 0.45rem 0.7rem;
  text-align: right;
}

.tb-case__stage--active {
  background: var(--tb-color-info-surface, #f1f6fb);
  color: var(--tb-color-navy, #13274b);
}

.tb-case__stage--good {
  background: var(--tb-color-success-surface, #f2f8f2);
  color: #166534;
}

.tb-case__stage--warning {
  background: #fff8e8;
  color: #6b4600;
}

.tb-case__stage--muted {
  background: #f0f0f1;
  color: #50575e;
}

.tb-case-claim {
  background: #fff;
  border: 1px solid var(--tb-color-border, #c8d0dc);
  border-radius: 0.75rem;
  margin-block: 1rem;
  padding: 1rem;
}

.tb-case-claim__body {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.tb-case-claim__copy {
  min-width: 0;
}

.tb-case-claim__copy h2 {
  color: var(--tb-color-navy, #13274b);
  font-size: 1.15rem;
  letter-spacing: -0.015em;
  margin: 0 0 0.25rem;
}

.tb-case-claim__copy p,
.tb-case-claim__feedback p,
.tb-case-claim form {
  margin: 0;
}

.tb-case-claim__copy p {
  color: var(--tb-color-muted, #596579);
  max-width: 60ch;
}

.tb-case-claim__feedback {
  background: var(--tb-color-warning-surface, #fff5dc);
  border: 1px solid #d59616;
  border-radius: 0.5rem;
  color: #5c3a00;
  margin-bottom: 0.85rem;
  padding: 0.75rem;
}

.tb-case-claim__action {
  align-items: center;
  appearance: none;
  background: var(--tb-color-navy, #13274b);
  border: 1px solid var(--tb-color-navy, #13274b);
  border-radius: 0.5rem;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  flex: 0 0 auto;
  font: inherit;
  font-weight: 700;
  justify-content: center;
  min-height: 44px;
  padding: 0.65rem 0.9rem;
  text-align: center;
  text-decoration: none;
  transition: background-color 160ms var(--tb-ease-out, cubic-bezier(0.23, 1, 0.32, 1)), border-color 160ms var(--tb-ease-out, cubic-bezier(0.23, 1, 0.32, 1)), transform 140ms var(--tb-ease-out, cubic-bezier(0.23, 1, 0.32, 1));
}

.tb-case-claim__action:focus-visible {
  outline: 3px solid var(--tb-color-active, #4f8fcc);
  outline-offset: 3px;
}

.tb-case-claim__action:active {
  transform: scale(0.98);
}

@media (hover: hover) and (pointer: fine) {
  .tb-case-claim__action:hover {
    background: var(--tb-color-coral-text, #c63f36);
    border-color: var(--tb-color-coral-text, #c63f36);
    color: #fff;
  }
}

.tb-case .tb-case__next {
  background: var(--tb-color-info-surface, #f1f6fb);
  border: 1px solid var(--tb-color-border, #c8d0dc);
  border-radius: 0.75rem;
  color: var(--tb-color-navy, #13274b);
  display: grid;
  gap: 1rem 1.5rem;
  grid-template-columns: minmax(0, 1.5fr) minmax(11rem, 0.75fr) auto;
  margin-block: 1.25rem;
  padding: 1rem;
}

.tb-case__next h3,
.tb-case__next h4,
.tb-case__next p,
.tb-case__next dl,
.tb-case__next dd {
  margin: 0;
}

.tb-case__next h3,
.tb-case__next h4 {
  font-size: 0.88rem;
  margin-bottom: 0.3rem;
}

.tb-case__next > div > p:not(.tb-case__blocker) {
  font-size: 1.05rem;
  font-weight: 650;
}

.tb-case__next dl {
  display: grid;
  gap: 0.55rem;
}

.tb-case__next dt {
  color: var(--tb-color-muted, #596579);
  font-size: 0.78rem;
}

.tb-case__next dd {
  font-weight: 650;
}

.tb-case__blocker {
  color: #6b4600;
  margin-top: 0.45rem !important;
}

.tb-case__next-link {
  align-items: center;
  align-self: center;
  background: var(--tb-color-navy, #13274b);
  border-radius: 0.5rem;
  color: #fff;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  min-height: 44px;
  padding: 0.65rem 0.85rem;
  text-align: center;
  text-decoration: none;
  transition: background-color 160ms var(--tb-ease-out, cubic-bezier(0.23, 1, 0.32, 1)), transform 140ms var(--tb-ease-out, cubic-bezier(0.23, 1, 0.32, 1));
}

.tb-case__status-list {
  border-block: 1px solid var(--tb-color-border, #c8d0dc);
  margin: 0;
}

.tb-case__status {
  align-items: start;
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(7.5rem, 0.55fr) minmax(0, 1.45fr);
  padding-block: 0.85rem;
}

.tb-case__status + .tb-case__status {
  border-top: 1px solid var(--tb-color-border-subtle, #d9dee7);
}

.tb-case__status dt {
  align-items: center;
  color: var(--tb-color-navy, #13274b);
  display: flex;
  font-weight: 700;
  gap: 0.55rem;
}

.tb-case__status dt::before {
  background: #8b95a5;
  border-radius: 50%;
  content: "";
  flex: 0 0 0.55rem;
  height: 0.55rem;
  width: 0.55rem;
}

.tb-case__status--active dt::before {
  background: var(--tb-color-active, #4f8fcc);
}

.tb-case__status--good dt::before {
  background: var(--tb-color-success, #2e7d32);
}

.tb-case__status--warning dt::before {
  background: #b7791f;
}

.tb-case__status dd,
.tb-case__status dd > span {
  display: block;
  margin: 0;
}

.tb-case__status dd > strong {
  color: var(--tb-color-navy, #13274b);
}

.tb-case__status dd > span {
  color: var(--tb-color-muted, #596579);
  margin-top: 0.15rem;
}

.tb-case__payments {
  display: grid;
  gap: 0.65rem;
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
}

.tb-case__payments li {
  align-items: start;
  background: var(--tb-color-canvas, #f4f6f9);
  border-radius: 0.5rem;
  display: grid;
  gap: 0.65rem;
  grid-template-columns: minmax(3rem, 0.45fr) repeat(4, minmax(6rem, 1fr));
  padding: 0.75rem;
}

.tb-case__payments li > strong {
  color: var(--tb-color-navy, #13274b);
}

.tb-case__payments li > span {
  display: grid;
  font-variant-numeric: tabular-nums;
  gap: 0.1rem;
}

.tb-case__payments small {
  color: var(--tb-color-muted, #596579);
}

.tb-case__terms,
.tb-case__details {
  border-top: 1px solid var(--tb-color-border-subtle, #d9dee7);
  margin-top: 1rem;
  padding-top: 0.45rem;
}

.tb-case__terms[data-terms-state="blocked_unavailable"] {
  display: none;
}

.tb-case__terms h4 {
  color: var(--tb-color-navy, #13274b);
  margin-bottom: 0.6rem;
}

.tb-case__terms label {
  min-height: 44px;
}

.tb-case__terms button,
.tb-case__terms .tb-button {
  min-height: 44px;
}

.tb-case__details > :not(summary) {
  margin-inline: 0;
}

.tb-case__details[open] > summary {
  color: var(--tb-color-navy, #13274b);
}

.tb-case__overview-details > summary {
  font-size: 1rem;
}

.tb-case__overview-details .tb-case__tasks {
  padding-top: 0.85rem;
}

.tb-case__overview-details .tb-case__tasks h3,
.tb-case__overview-details .tb-case__tasks h4 {
  color: var(--tb-color-navy, #13274b);
  font-size: 0.9rem;
  margin: 0 0 0.35rem;
}

.tb-case__overview-details .tb-case__status-overview {
  margin-top: 0.75rem;
}

.tb-case__items ul,
.tb-case__documents ul,
.tb-case__tasks ul,
.tb-case__history ol {
  margin: 0;
  padding: 0;
}

.tb-case__documents li,
.tb-case__items li,
.tb-case__tasks li,
.tb-case__history li {
  border-top: 1px solid var(--tb-color-border-subtle, #d9dee7);
  padding-block: 0.75rem;
}

.tb-case__documents li,
.tb-case__tasks li,
.tb-case__history li {
  align-items: start;
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr) auto;
}

.tb-case__tasks li {
  align-items: center;
}

.tb-case__tasks li > span {
  color: var(--tb-color-muted, #596579);
  font-weight: 700;
}

.tb-case__tasks li[data-task-status="done"] > span {
  color: var(--tb-color-success, #2f7041);
}

.tb-case__documents li span:first-child,
.tb-case__documents li small {
  display: block;
}

.tb-case__documents li small {
  color: var(--tb-color-muted, #596579);
  margin-top: 0.15rem;
}

.tb-case__document-actions {
  align-items: flex-end;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.tb-case__document-download {
  align-items: center;
  background: var(--tb-color-navy, #13274b);
  border-radius: 0.4rem;
  color: #fff;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  min-height: 44px;
  padding: 0.55rem 0.85rem;
  text-decoration: none;
  transition: transform 160ms cubic-bezier(0.23, 1, 0.32, 1), background-color 160ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .tb-case__document-download:hover {
    background: var(--tb-color-navy-strong, #0b1d3b);
    color: #fff;
  }
}

.tb-case__organizer p {
  margin-bottom: 0.5rem;
}

.tb-case__organizer a,
.tb-case__terms a,
.tb-case-access__bar :is(a, .tb-case-access__logout) {
  overflow-wrap: anywhere;
}

.tb-case__organizer a {
  align-items: center;
  display: inline-flex;
  min-height: 44px;
}

.tb-case__history time {
  font-variant-numeric: tabular-nums;
}

.tb-case-access__bar h1,
.tb-case-access__empty h1 {
  font-size: 2rem;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.tb-case-access__bar :is(a, .tb-case-access__logout) {
  align-items: center;
  display: inline-flex;
  min-height: 44px;
}

.tb-case-switcher summary:focus-visible,
.tb-case__details summary:focus-visible,
.tb-case-switcher a:focus-visible,
.tb-case__next-link:focus-visible,
.tb-case__organizer a:focus-visible,
.tb-case__terms a:focus-visible,
.tb-case__document-download:focus-visible,
.tb-case__terms button:focus-visible,
.tb-case-access__bar :is(a, .tb-case-access__logout):focus-visible {
  outline: 3px solid var(--tb-color-active, #4f8fcc);
  outline-offset: 3px;
}

.tb-case-switcher a:active,
.tb-case__next-link:active,
.tb-case__document-download:active,
.tb-case__terms button:active {
  transform: scale(0.98);
}

@media (hover: hover) and (pointer: fine) {
  .tb-case-switcher a:hover {
    background: var(--tb-color-info-surface, #f1f6fb);
  }

  .tb-case__next-link:hover {
    background: var(--tb-color-coral-text, #c63f36);
    color: #fff;
  }
}

@media (max-width: 900px) {
  .woocommerce-account.logged-in .woocommerce {
    gap: 1.25rem;
    grid-template-columns: 1fr;
  }

  .woocommerce-account.logged-in .woocommerce-MyAccount-navigation ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
  }

  .tb-case .tb-case__next {
    grid-template-columns: minmax(0, 1fr) minmax(11rem, 0.65fr);
  }

  .tb-case__next-link {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .tb-case__payments li {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tb-case__payments li > strong {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .tb-case-claim__body {
    align-items: stretch;
    flex-direction: column;
  }

  .tb-case-claim__action,
  .tb-case-claim form {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .tb-case__header {
    align-items: stretch;
    flex-direction: column;
  }

  .tb-case .tb-case__progress {
    align-items: flex-start;
    display: flex;
  }

  .tb-case__stage {
    text-align: left;
  }

  .tb-case .tb-case__next,
  .tb-case__status {
    grid-template-columns: 1fr;
  }

  .tb-case__next-link {
    justify-self: stretch;
  }

  .tb-case__documents li,
  .tb-case__history li {
    grid-template-columns: 1fr;
  }

  .tb-case__document-actions {
    align-items: stretch;
  }

  .tb-case__history time {
    white-space: normal;
  }
}

@media (max-width: 520px) {
  .woocommerce-account.logged-in .woocommerce-MyAccount-navigation ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .woocommerce-account.logged-in .woocommerce-MyAccount-navigation a {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 420px) {
  .tb-case-switcher a {
    align-items: start;
    gap: 0.2rem;
    grid-template-columns: 1fr;
  }

  .tb-case__payments li {
    grid-template-columns: 1fr;
  }

  .tb-case__payments li > strong {
    grid-column: auto;
  }

  .tb-case__items li {
    grid-template-columns: 1fr;
  }

  .tb-case__item-choice {
    justify-self: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tb-case-switcher a,
  .tb-case__next-link,
  .tb-case-claim__action,
  .tb-order-form .tb-button {
    transition: color 120ms linear, background-color 120ms linear;
  }

  .tb-case-switcher a:active,
  .tb-case__next-link:active,
  .tb-case-claim__action:active,
  .tb-case__terms button:active,
  .tb-order-form .tb-button:active {
    transform: none;
  }
}

.tb-case-access__bar form { margin: 0; max-width: 100%; }
.tb-case-access__logout { background: transparent; border: 0; cursor: pointer; font: inherit; padding: .25rem 0; text-align: left; text-decoration: underline; overflow-wrap: anywhere; }
