.tx-v2-controls{margin:18px 0 24px;border-block:1px solid var(--line,#C5D5DD);padding:16px 0}.tx-v2-controls .tx-actions{justify-content:flex-end}.tx-v2-controls .tx-note{margin:0 0 12px}.tx-v2-filters{display:flex;align-items:end;flex-wrap:wrap;gap:16px;margin:18px 0 24px}.tx-v2-filters label{flex:1;min-width:150px}.tx-v2-person{gap:24px}.tx-v2-person .tx-eyebrow{margin:0 0 6px}.tx-v2-provider{background:#EAF1F4;border:1px solid #DCE7EB;display:grid;grid-template-columns:1.6fr 1fr;gap:28px;padding:28px;margin-bottom:24px}.tx-v2-provider h2{font-family:var(--serif,Georgia,serif);font-size:30px;font-weight:500;margin:8px 0 14px}.tx-v2-provider p{font-size:12px;line-height:1.8;max-width:650px}.tx-v2-provider .tx-actions{align-content:center;flex-direction:column;justify-content:center;align-items:flex-start}.tx-v2-split-row{display:grid;grid-template-columns:1.5fr .8fr 1fr auto;gap:12px;align-items:end;padding:16px 0;border-bottom:1px solid #C5D5DD}.tx-v2-split-top{display:flex;justify-content:space-between;align-items:center;gap:20px}.tx-v2-split-top p{font-size:12px}.tx-v2-preview{background:#e9edeb;padding:14px;text-align:center;max-height:440px;overflow:auto}.tx-v2-preview canvas{display:block;max-width:100%;height:auto;box-shadow:0 3px 18px #103B5620;margin:12px auto;background:white}.tx-v2-preview #splitPreviewStatus{font-size:12px;line-height:1.7}.tx-v2-merge-row{display:grid;grid-template-columns:1fr 80px;align-items:center;gap:22px;padding:12px 0;border-bottom:1px solid #C5D5DD}.tx-v2-merge-row small{font-weight:400}.tx-doc .tx-actions{flex-wrap:wrap;max-width:360px}.tx-v2-person .tx-actions{max-width:250px}.tx-doc h3,.tx-doc small{overflow-wrap:anywhere}.tx-v2-filters input,.tx-v2-filters select{width:100%}.tx-note.warn{background:#fbefe6;border-left-color:#a74b2f}.tx-v2-controls button:disabled{opacity:.45;cursor:not-allowed}@media(max-width:850px){.tx-v2-provider{grid-template-columns:1fr}.tx-v2-provider .tx-actions{flex-direction:row;align-items:center;justify-content:flex-start}.tx-v2-split-row{grid-template-columns:1fr 1fr}.tx-v2-split-row>label:first-child{grid-column:1/-1}.tx-v2-split-row>button{grid-column:1/-1}.tx-v2-filters label{min-width:140px}.tx-doc .tx-actions{max-width:100%}}@media(max-width:520px){.tx-v2-controls .tx-actions{justify-content:flex-start}.tx-v2-filters{display:grid;grid-template-columns:1fr}.tx-v2-provider{padding:22px 18px;gap:14px}.tx-v2-split-top{align-items:flex-start;flex-direction:column}.tx-v2-person{align-items:flex-start}.tx-v2-merge-row{gap:12px}.tx-v2-split-row{grid-template-columns:1fr}.tx-v2-split-row>*{grid-column:1!important}.tx-v2-controls button{min-height:42px}}
.tx-dialog:has(.tx-form-picker) {
  width: min(1010px, calc(100vw - 28px));
  max-width: 1010px;
  max-height: 92vh;
}

.tx-form-picker [hidden],
.tx-packet-workflow [hidden] {
  display: none !important;
}

.tx-form-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-block: 3px 16px;
}

.tx-form-sources button {
  background: #f5f8f9;
  border: 1px solid #cbdbe1;
  border-radius: 8px;
  color: #163f51;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  min-height: 42px;
  padding: 8px 14px;
}

.tx-form-sources button[aria-pressed="true"] {
  background: #12384b;
  border-color: #12384b;
  color: #fff;
}

.tx-form-search {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}

.tx-form-search input {
  width: 100%;
}

.tx-form-picker-body:has(.tx-form-preview:not([hidden])) {
  align-items: start;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
}

.tx-form-library-list {
  min-width: 0;
}

.tx-dialog .tx-form-library-list {
  max-height: min(47vh, 29rem);
  overflow: auto;
  padding-right: 4px;
}

.tx-form-category {
  background: #eaf2f5;
  border-inline-start: 3px solid #5d899c;
  color: #174254;
  font-size: .9rem;
  margin: 12px 0 2px;
  padding: 8px 12px;
}

.tx-form-source-note,
.tx-form-preview-header,
.tx-packet-picker-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-block: 8px 12px;
}

.tx-form-preview {
  background: #edf3f5;
  border: 1px solid #cbdbe1;
  border-radius: 8px;
  max-height: min(47vh, 32rem);
  overflow: auto;
  padding: 12px;
}

.tx-form-preview-header {
  justify-content: space-between;
  margin: 0;
}

.tx-form-preview canvas {
  background: #fff;
  display: block;
  height: auto;
  max-width: 100%;
}

.tx-form-preview p {
  font-size: .82rem;
  margin: 8px 0;
}

.tx-form-pick-row .tx-actions {
  margin-top: 5px;
}

.tx-packet-workflow {
  grid-column: 1 / -1;
  min-width: 0;
}

.tx-packet-step-guidance {
  color: #315768;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
}

.tx-packet-step-guidance [aria-current="step"] {
  color: #12384b;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.tx-packet-review {
  display: grid;
  gap: 15px;
}

.tx-packet-review li {
  overflow-wrap: anywhere;
  padding-block: 3px;
}

@media (max-width: 670px) {
  .tx-form-picker-body:has(.tx-form-preview:not([hidden])) {
    grid-template-columns: minmax(0, 1fr);
  }

  .tx-form-preview {
    max-height: 43vh;
  }
}
