.safe-t-panel { border: 1px solid #bfd0e7; border-top: 4px solid #2356a8; background: #fff; scroll-margin-top: 5rem; }
.ticket-workspace-pro .safe-t-panel { scroll-margin-top: var(--workspace-sticky-offset); }
.safe-t-panel [hidden] { display: none !important; }
.safe-t-heading, .safe-t-case-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1rem; }
.safe-t-heading h2 { margin: 0; }
.safe-t-badge { background: #fff0ce; color: #794500; border: 1px solid #ecd19d; padding: .35rem .65rem; border-radius: 999px; font-size: .82rem; font-weight: 700; }
.safe-t-badge-alert, .safe-t-count-alert { background: #fee4e2; color: #912018; border-color: #f4aaa5; }
.safe-t-case { margin-top: 1rem; padding: 1rem; border: 1px solid #dce4ef; border-radius: .65rem; }
.safe-t-case-heading > span, .safe-t-meta { color: #52647d; font-size: .85rem; overflow-wrap: anywhere; }
.safe-t-order-copy { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem .7rem; margin-top: .45rem; min-width: 0; font-size: .85rem; color: #52647d; }
.safe-t-order-copy > span { overflow-wrap: anywhere; }
.safe-t-order-copy .button { flex-shrink: 0; }
.safe-t-copy-status { font-size: .8rem; color: #17633a; }
.safe-t-copy-fallback { display: grid; gap: .3rem; flex-basis: 100%; max-width: 26rem; }
.safe-t-copy-fallback[hidden] { display: none !important; }
.safe-t-copy-fallback input { box-sizing: border-box; min-width: 0; width: 100%; }
.safe-t-ineligible { padding: .8rem; border: 1px solid #e4c693; border-radius: .5rem; background: #fffbf3; }
.safe-t-ineligible p { margin: 0; font-size: .86rem; line-height: 1.5; }
.safe-t-form .safe-t-confirmation { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: .6rem; line-height: 1.5; }
.safe-t-form .safe-t-confirmation input { width: auto; margin-top: .25rem; }
.safe-t-ineligible .button { max-width: 100%; white-space: normal; text-align: left; }
.safe-t-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .6rem; margin: 1rem 0; }
.safe-t-facts > div { padding: .8rem; background: #f4f7fb; border-radius: .4rem; }
.safe-t-facts dt { color: #566983; font-size: .78rem; margin-bottom: .3rem; }
.safe-t-facts dd { margin: 0; color: #16335a; font-weight: 700; font-size: .95rem; }
.safe-t-reason, .safe-t-note { font-size: .9rem; line-height: 1.5; }
.safe-t-note { background: #fff8e9; padding: .7rem .85rem; border-left: 3px solid #cd981f; }
.safe-t-details { border-top: 1px solid #e2e8f0; margin-top: .9rem; padding-top: .7rem; }
.safe-t-details summary { color: #234e88; cursor: pointer; font-size: .9rem; font-weight: 650; }
.safe-t-draft { white-space: pre-wrap; overflow-wrap: anywhere; padding: 1rem; background: #f4f7fb; font: inherit; font-size: .9rem; line-height: 1.6; }
.safe-t-form { display: grid; gap: .8rem; margin-top: 1rem; max-width: 58rem; }
.safe-t-form label { display: grid; gap: .3rem; font-size: .86rem; }
.safe-t-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.safe-t-form :is(input, select, textarea) { width: 100%; min-width: 0; box-sizing: border-box; }
.safe-t-form button { justify-self: start; }
.safe-t-recovery-prepare { border-color: #efaaa4; border-left: 5px solid #c7372f; background: #fffafa; }
.safe-t-route-selector { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; margin: 0; padding: .75rem; border: 1px solid #ccd8e8; border-radius: .55rem; }
.safe-t-route-selector legend { padding: 0 .3rem; color: #243b5a; font-size: .86rem; font-weight: 700; }
.safe-t-route-selector label { display: grid; grid-template-columns: auto 1fr; align-items: start; gap: .6rem; padding: .75rem; border: 1px solid #d7e0ec; border-radius: .45rem; background: #fff; cursor: pointer; }
.safe-t-form .safe-t-route-selector input { width: auto; margin-top: .2rem; }
.safe-t-route-selector span, .safe-t-route-selector small { display: block; }
.safe-t-route-selector small { margin-top: .2rem; color: #64748b; line-height: 1.35; }
.safe-t-recovery-flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin: 1rem 0; }
.safe-t-flow-step { display: grid; grid-template-columns: auto 1fr; gap: .55rem; align-items: center; padding: .7rem; border: 1px solid #dce4ef; border-radius: .5rem; color: #65758b; }
.safe-t-flow-step > span { display: grid; width: 1.65rem; height: 1.65rem; place-items: center; border-radius: 50%; background: #e9eef5; font-weight: 800; }
.safe-t-flow-step strong, .safe-t-flow-step small { display: block; }
.safe-t-flow-step small { margin-top: .15rem; font-size: .75rem; line-height: 1.25; }
.safe-t-flow-step.is-active { border-color: #2356a8; color: #16335a; background: #f2f6ff; }
.safe-t-flow-step.is-active > span { background: #2356a8; color: #fff; }
.safe-t-flow-step.is-done { border-color: #7cc397; color: #17633a; background: #f2fbf5; }
.safe-t-flow-step.is-done > span { background: #268351; color: #fff; }
.safe-t-actions { display: flex; flex-wrap: wrap; gap: .55rem; align-items: center; }
.safe-t-inline-form { margin: .8rem 0; }
.safe-t-submit-confirmation, .safe-t-waiting, .safe-t-amazon-reply { margin-top: .8rem; padding: .85rem; border-radius: .5rem; background: #f4f7fb; }
.safe-t-submit-confirmation { display: grid; gap: .65rem; justify-items: start; }
.safe-t-submit-confirmation label { display: grid; gap: .3rem; width: min(28rem, 100%); font-size: .86rem; }
.safe-t-submit-confirmation input { width: 100%; box-sizing: border-box; }
.safe-t-submit-confirmation p, .safe-t-waiting p, .safe-t-amazon-reply p { margin: .2rem 0 .65rem; }
.safe-t-response-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; margin-top: .8rem; min-width: 0; }
.safe-t-response-card { align-content: start; min-width: 0; margin: 0; padding: .8rem; border: 1px solid #dce4ef; border-radius: .5rem; background: #fafbfd; }
.safe-t-response-card :is(input, textarea) { width: 100%; min-width: 0; max-width: 100%; box-sizing: border-box; }
.safe-t-response-card .button { max-width: 100%; white-space: normal; text-align: center; }
.safe-t-response-card p { margin: 0; font-size: .84rem; color: #52647d; }
.safe-t-response-dispute { grid-column: span 2; }
@media (max-width: 900px) { .safe-t-facts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .safe-t-facts, .safe-t-form-row { grid-template-columns: 1fr; } }

.safe-t-page-heading { align-items: flex-end; }
.safe-t-queue-filters { margin-bottom: 1rem; }
.safe-t-queue-filters .quick-filter { justify-content: space-between; gap: .65rem; }
.safe-t-queue-filters .quick-filter strong {
  min-width: 1.35rem;
  padding: .08rem .36rem;
  border-radius: 999px;
  background: #e8eef7;
  color: #29496f;
  font-size: .74rem;
  text-align: center;
}
.safe-t-queue-filters .quick-filter.is-active strong { background: #fff; color: #234e88; }
.safe-t-queue-panel { padding: 0; overflow: hidden; }
.safe-t-queue-table { min-width: 980px; table-layout: fixed; }
.safe-t-queue-table th:nth-child(1) { width: 126px; }
.safe-t-queue-table th:nth-child(2) { width: 205px; }
.safe-t-queue-table th:nth-child(3) { width: 100px; }
.safe-t-queue-table th:nth-child(4) { width: 190px; }
.safe-t-queue-table th:nth-child(5) { width: 155px; }
.safe-t-queue-table th:nth-child(6) { width: 155px; }
.safe-t-queue-table th:nth-child(7) { width: 125px; }
.safe-t-queue-table tbody tr:nth-child(even) { background: #fafbfd; }
.safe-t-queue-table tbody tr:hover { background: #f4f7fb; }
.safe-t-queue-table td { vertical-align: top; }
.safe-t-reference-cell strong,
.safe-t-reference-cell small,
.safe-t-deadline small,
.safe-t-queue-table td > small { display: block; overflow-wrap: anywhere; }
.safe-t-reference-cell small,
.safe-t-deadline small,
.safe-t-queue-table td > small { margin-top: .22rem; color: #66758a; font-size: .76rem; }
.safe-t-amount { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.safe-t-next-step { color: #243b5a; font-weight: 600; line-height: 1.35; }
.safe-t-status { display: inline-flex; white-space: normal; line-height: 1.2; }
.safe-t-status-overdue { background: #fee4e2; color: #912018; }
.safe-t-status-evidence { background: #fff0ce; color: #794500; }
.safe-t-status-apply,
.safe-t-status-review { background: #e8f0ff; color: #234e88; }
.safe-t-status-waiting { background: #eef2f6; color: #43546a; }
.safe-t-status-done { background: #e5f6ec; color: #17633a; }
.safe-t-photo-state { display: inline-flex; font-weight: 700; font-size: .82rem; }
.safe-t-photo-state.is-complete { color: #17633a; }
.safe-t-photo-state.is-missing { color: #8a4b00; }
.safe-t-pager { display: flex; align-items: center; justify-content: center; gap: .85rem; margin-top: 1rem; }
.safe-t-unprepared { margin-bottom: 1rem; border: 1px solid #efaaa4; border-left: 5px solid #c7372f; }
.safe-t-unprepared-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.safe-t-unprepared-heading h2 { margin: 0; }
.safe-t-count-alert { display: grid; min-width: 2rem; height: 2rem; place-items: center; border: 1px solid #f4aaa5; border-radius: 999px; font-weight: 800; }
.safe-t-nav-count { display: inline-flex; min-width: 1.3rem; min-height: 1.3rem; align-items: center; justify-content: center; margin-left: 6px; padding: 0 .35rem; border-radius: 999px; background: #c7372f; color: #fff; font-size: .72rem; font-weight: 800; line-height: 1; }
.safe-t-unprepared-list { display: grid; gap: .45rem; margin-top: .8rem; }
.safe-t-unprepared-list a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem .8rem; border: 1px solid #dce4ef; border-radius: .45rem; background: #fff; }
.safe-t-unprepared-list a span:first-child { display: grid; gap: .12rem; }
.safe-t-unprepared-list small { color: #66758a; }
.safe-t-evidence-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .65rem; margin: .8rem 0; }
.safe-t-evidence-photo { display: grid; gap: .35rem; padding: .65rem; border: 1px solid #dce4ef; border-radius: .5rem; background: #f8fafc; }
.safe-t-evidence-photo img { width: 100%; aspect-ratio: 4 / 3; border-radius: .35rem; object-fit: cover; background: #e8eef7; }
.safe-t-evidence-photo strong { font-size: .82rem; }
.safe-t-evidence-photo small { color: #66758a; overflow-wrap: anywhere; }
.safe-t-quantity-list { display: grid; gap: .45rem; margin: .75rem 0; padding: 0; list-style: none; }
.safe-t-quantity-list li { padding: .55rem .7rem; border-left: 3px solid #d6dfeb; background: #f7f9fc; font-size: .86rem; }
.safe-t-quantity-list li.has-discrepancy { border-left-color: #c78100; background: #fff8e9; }
@media (max-width: 720px) {
  .safe-t-page-heading { align-items: stretch; }
  .safe-t-page-heading .button { width: 100%; }
  .safe-t-pager { justify-content: space-between; }
  .safe-t-route-selector, .safe-t-recovery-flow, .safe-t-response-grid { grid-template-columns: 1fr; }
  .safe-t-response-dispute { grid-column: auto; }
  .safe-t-unprepared-list a { align-items: flex-start; flex-direction: column; }
}
