.taRoot {
  --taInk: #14233d;
  --taTeal: #176375;
  --taLine: #dce4e9;
  color: var(--taInk);
  font:
    15px/1.55 system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
.taRoot * {
  box-sizing: border-box;
}
.taPage {
  margin: 0;
  background: #f3f6f8;
}
.taShell {
  max-width: 780px;
  margin: auto;
  padding: 24px 18px 50px;
}
.taBrand {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}
.taBrand a {
  color: inherit;
  text-decoration: none;
  font-weight: 750;
  letter-spacing: 0.03em;
}
.taEyebrow {
  font-size: 12px;
  color: #58707d;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.taShell h1 {
  font-size: 30px;
  line-height: 1.2;
  margin: 8px 0;
}
.taLead {
  color: #60717e;
  margin: 0 0 24px;
}
.taSteps {
  display: flex;
  gap: 7px;
  margin: 20px 0;
}
.taSteps span {
  flex: 1;
  padding: 8px 0;
  border-bottom: 2px solid var(--taLine);
  font-size: 12px;
  color: #71808d;
}
.taSteps [aria-current] {
  color: var(--taTeal);
  border-color: var(--taTeal);
  font-weight: 700;
}
.taForm {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--taLine);
  border-radius: 16px;
}
.taRoot h2 {
  font-size: 20px;
  margin: 0 0 16px;
}
.taRoot h3 {
  font-size: 16px;
}
.taRoot fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 20px;
  min-width: 0;
}
.taRoot legend {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
}
.taField {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 17px;
}
.taField span[aria-hidden] {
  color: #ad5942;
}
.taField input,
.taField textarea,
.taField select {
  display: block;
  width: 100%;
  margin-top: 7px;
  border: 1px solid #cdd7df;
  border-radius: 8px;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.45;
  color: var(--taInk);
  background: #fff;
}
.taField textarea {
  resize: vertical;
  font-family: inherit;
  min-height: 42px;
  overflow: hidden;
}
.taRoot input:focus,
.taRoot textarea:focus {
  outline: 2px solid #237487;
  outline-offset: 1px;
}
.taPair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.taHint {
  display: block;
  color: #6a7988;
  font-size: 12px;
  font-weight: 400;
  margin-top: 5px;
}
.taChoices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}
.taChoices label {
  font-size: 14px;
}
.taRoot input[type="checkbox"],
.taRoot input[type="radio"] {
  accent-color: var(--taTeal);
  width: 17px;
  height: 17px;
  vertical-align: middle;
}
.taRoot button {
  font: 600 14px/1.2 system-ui;
  font-family: inherit;
  cursor: pointer;
  border: 1px solid #ccd9e0;
  border-radius: 9px;
  background: white;
  color: var(--taInk);
  padding: 11px 16px;
  min-height: 42px;
}
.taRoot button:disabled {
  cursor: wait;
  opacity: 0.6;
}
.taRoot .taPrimary {
  background: var(--taTeal);
  color: white;
  border-color: var(--taTeal);
}
.taActions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.taRoot [hidden] {
  display: none !important;
}
.taAgreement {
  border-top: 1px solid var(--taLine);
  padding-top: 16px;
}
.taAgreement button {
  border: 0;
  padding: 0;
  min-height: 32px;
  color: var(--taTeal);
  text-decoration: underline;
  background: none;
  font-size: 13px;
}
.taAgreement label {
  display: block;
  font-size: 13px;
  margin-top: 8px;
}
.taUploads {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: -4px 0 20px;
}
.taUploads img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
}
.taError {
  color: #a13729;
  font-size: 14px;
  white-space: pre-line;
}
.taStatus {
  color: #496375;
  font-size: 14px;
}
.taRoot dialog {
  border: 1px solid var(--taLine);
  border-radius: 16px;
  width: min(760px, calc(100% - 24px));
  max-height: 90dvh;
  padding: 0;
  color: var(--taInk);
}
.taRoot dialog::backdrop {
  background: rgba(10, 24, 40, 0.55);
}
.taDialogTop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--taLine);
  gap: 10px;
}
.taDialogTop h2 {
  margin: 0;
  font-size: 18px;
}
.taDialogBody {
  overflow: auto;
  max-height: calc(90dvh - 74px);
  padding: 20px;
  overscroll-behavior: contain;
}
.taPaper {
  background: #fff;
  color: #152036;
  padding: 22px;
  max-width: 794px;
  margin: auto;
  font-size: 13px;
  line-height: 1.55;
  border: 1px solid #dbe1e6;
}
.taLetterhead {
  text-align: center;
  border-bottom: 2px solid #17263c;
  padding-bottom: 12px;
  margin-bottom: 18px;
}
.taLetterhead h2 {
  font-family: Georgia, serif;
  font-size: 25px;
  margin: 0 0 4px;
}
.taLetterhead p {
  margin: 2px 0;
  font-size: 12px;
}
.taPaper > h3 {
  text-align: center;
  letter-spacing: 0.1em;
  margin: 15px 0 22px;
}
.taBioIdentity {
  display: flex;
  align-items: center;
  gap: 20px;
}
.taBioIdentity img {
  width: 90px;
  height: 110px;
  object-fit: cover;
}
.taBioIdentity h2 {
  font-size: 20px;
  margin: 0;
}
.taBioIdentity p {
  margin: 3px 0;
}
.taBioRow {
  display: grid;
  grid-template-columns: 175px 1fr;
  gap: 14px;
  border-bottom: 1px solid #e4e8ec;
  padding: 10px 0;
  break-inside: avoid;
}
.taBioRow dt {
  font-weight: 600;
}
.taBioRow dd {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.taAcceptance {
  border-top: 1px solid #acb7c2;
  margin-top: 20px;
  padding-top: 12px;
  font-size: 11px;
}
.taAcceptance p {
  margin: 4px 0;
}
.taReceipt {
  padding: 22px;
  background: #eff8f4;
  border: 1px solid #c8e3d8;
  border-radius: 12px;
}
.taRoot ol,
.taRoot ul {
  padding-left: 22px;
}
.taRoot li {
  margin-bottom: 6px;
}
.taZoom {
  width: 100%;
  height: auto;
  max-height: 75dvh;
  object-fit: contain;
}
@media (max-width: 520px) {
  .taShell {
    padding: 18px 12px 30px;
  }
  .taShell h1 {
    font-size: 26px;
  }
  .taForm {
    padding: 18px 14px;
  }
  .taPair {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .taDialogBody {
    padding: 12px;
  }
  .taPaper {
    padding: 14px;
    font-size: 12px;
  }
  .taLetterhead h2 {
    font-size: 19px;
  }
  .taBioRow {
    grid-template-columns: 1fr;
    gap: 3px;
    padding: 8px 0;
  }
  .taBioIdentity {
    gap: 12px;
  }
  .taBioIdentity img {
    width: 72px;
    height: 88px;
  }
  .taBioIdentity h2 {
    font-size: 17px;
  }
}
@page {
  size: A4;
  margin: 14mm;
}
/* Public application polish stays scoped away from admin and A4/print. */
.taApplicantPreview {
  background: #fff;
  border: 1px solid #e1e6e3;
  border-radius: 18px;
  overflow: hidden;
}
.taApplicantPreview .taPaper {
  border: 0;
  padding: 24px;
}
.taApplicantPreview .taLetterhead {
  display: block;
}
.taApplicantPreview .taPaper > h3 {
  margin: 0 0 18px;
  text-align: left;
  color: #547c6a;
  font-size: 11px;
  letter-spacing: 0.14em;
}
.taApplicantPreview .taBioIdentity {
  padding-bottom: 20px;
  border-bottom: 1px solid #edf0ed;
}
.taApplicantPreview .taBioIdentity img {
  width: 88px;
  height: 88px;
  border-radius: 50%;
}
.taRoot .taPreviewPortrait {
  background: transparent;
  border: 0;
  padding: 0;
  border-radius: 50%;
}
.taPreviewPortrait img {
  display: block;
}
.taApplicantPreview .taBioRow {
  grid-template-columns: 155px 1fr;
}
.taPreviewArt {
  padding: 0 24px 24px;
}
.taPreviewArt h3 {
  margin-top: 0;
}
.taPreviewGallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}
.taRoot .taPreviewGallery button {
  padding: 0;
  border: 0;
  border-radius: 8px;
  aspect-ratio: 1;
  overflow: hidden;
  background: #eef2ef;
}
.taPreviewGallery img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.taPage {
  background: #f8f8f5;
}
.taPage .taShell {
  max-width: 790px;
  padding-top: 28px;
}
.taPage .taBrand {
  padding-bottom: 20px;
  border-bottom: 1px solid #e1e5df;
  margin-bottom: 30px;
}
.taPage .taBrand a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 16px;
  letter-spacing: 0.1em;
}
.taPage .taBrand svg {
  flex-shrink: 0;
}
.taPage .taEyebrow {
  letter-spacing: 0.02em;
  text-transform: none;
}
.taPage .taHero {
  padding: 0 6px 5px;
}
.taPage .taHeroLabel {
  color: #527469;
  font-size: 11px;
  letter-spacing: 0.16em;
  font-weight: 700;
  margin: 0 0 15px;
}
.taPage .taShell h1 {
  font-size: clamp(34px, 6vw, 48px);
  letter-spacing: -0.045em;
  line-height: 1.08;
  font-weight: 700;
  margin: 0 0 15px;
}
.taPage h1 em {
  font-style: normal;
  color: #176375;
}
.taPage .taLead {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 18px;
}
.taPage .taSteps {
  gap: 0;
  padding: 8px 3px;
  margin: 15px 0;
}
.taPage .taSteps span {
  display: flex;
  align-items: center;
  gap: 7px;
  border: 0;
  font-size: 12px;
  padding: 4px;
}
.taPage .taSteps b {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border: 1px solid #d3ded9;
  border-radius: 50%;
  font-weight: 500;
  flex-shrink: 0;
}
.taPage .taSteps [aria-current] b {
  background: #176375;
  border-color: #176375;
  color: #fff;
}
.taPage .taForm {
  border-color: #e1e7e4;
  border-radius: 22px;
  padding: 28px;
  box-shadow: 0 8px 30px #243e3310;
}
.taPage .taForm h2 {
  font-size: 21px;
  letter-spacing: -0.025em;
  padding-bottom: 16px;
  border-bottom: 1px solid #edf0ed;
  margin-bottom: 22px;
}
.taPage .taField {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 20px;
}
.taPage .taField input,
.taPage .taField textarea {
  background: #fbfcfb;
  border-color: #dce4e0;
  border-radius: 11px;
  padding: 12px 13px;
}
.taPage .taField input[type="file"] {
  border: 1px dashed #afc7bd;
  background: #f5faf7;
  font-size: 12px;
  padding: 15px 10px;
  color: #587368;
}
.taPage input[type="file"]::file-selector-button {
  padding: 8px 10px;
  border: 1px solid #c9ddd3;
  border-radius: 7px;
  background: white;
  color: #176375;
  margin-right: 8px;
  font: inherit;
  cursor: pointer;
}
.taPage .taChoices {
  gap: 8px;
}
.taPage .taChoices label {
  border: 1px solid #e1e8e3;
  background: #fbfcfb;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 13px;
}
.taPage .taChoices label:has(input:checked) {
  border-color: #79a797;
  background: #eef7f2;
  color: #176375;
}
.taPage .taForm > .taActions {
  padding-top: 18px;
  border-top: 1px solid #edf0ed;
  margin-top: 5px;
}
.taPage .taForm > .taActions .taPrimary {
  padding-inline: 24px;
  border-radius: 11px;
}
.taPage .taAgreement {
  background: #f6f8f5;
  padding: 14px;
  border: 1px solid #e3e9df;
  border-radius: 12px;
}
@media (max-width: 520px) {
  .taPage .taShell {
    padding: 18px 14px 30px;
  }
  .taPage .taBrand {
    margin-bottom: 25px;
  }
  .taPage .taForm {
    padding: 22px 17px;
    border-radius: 18px;
  }
  .taPage .taSteps span {
    gap: 5px;
    font-size: 11px;
  }
  .taPage .taSteps b {
    width: 23px;
    height: 23px;
  }
  .taApplicantPreview .taPaper {
    padding: 18px;
  }
  .taApplicantPreview .taBioRow {
    grid-template-columns: 1fr;
  }
  .taApplicantPreview .taBioIdentity img {
    width: 68px;
    height: 68px;
  }
  .taPreviewArt {
    padding: 0 18px 18px;
  }
}
@media print {
  body.taPage {
    background: white;
  }
  .taPage > * {
    display: none !important;
  }
  .taPage > #taPrint {
    display: block !important;
  }
  .taPaper {
    border: 0;
    padding: 0;
    max-width: none;
    font-size: 11pt;
  }
  .taBioRow {
    grid-template-columns: 48mm 1fr;
  }
  .taLetterhead h2 {
    font-size: 20pt;
  }
  .taAcceptance {
    font-size: 9pt;
  }
}

/* Compact application branding, inputs and image controls. */
.taApplicationHeader {
  overflow: hidden;
  border: 1px solid #dce4e0;
  border-radius: 16px;
  background: #fff;
}
.taTeachingBanner {
  width: 100%;
  height: 126px;
  object-fit: cover;
  display: block;
}
.taApplicationBrand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
}
.taApplicationBrand img {
  flex: none;
  width: 56px;
  height: 56px;
  object-fit: contain;
}
.taPage .taApplicationBrand h1 {
  font: 700 clamp(15px, 3vw, 21px) / 1.3 system-ui;
  letter-spacing: 0.02em;
  margin: 0;
}
.taApplicationBrand p {
  margin: 3px 0 0;
  font-size: 13px;
  color: #526b64;
}
.taDateControl {
  position: relative;
}
.taDateControl .taBirthPicker {
  position: absolute;
  right: 0;
  top: 0;
  width: 44px;
  height: 100%;
  padding: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.taDateControl .taBirthPicker::-webkit-calendar-picker-indicator {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}
.taDateControl .taCalendarIcon {
  position: absolute;
  right: 13px;
  top: 12px;
  color: #176375;
  pointer-events: none;
}
.taDateControl input[name="dob"] {
  padding-right: 48px;
}
.taLinkRow {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 8px 0;
}
.taLinkIcon {
  color: #176375;
  display: grid;
  place-items: center;
  width: 30px;
  flex: none;
}
.taLinkRow textarea {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  font-size: 16px;
  line-height: 1.45;
  font-family: inherit;
  border: 1px solid #dce4e0;
  border-radius: 9px;
  overflow: hidden;
  resize: vertical;
  color: var(--taInk);
}
.taPortfolio small {
  display: block;
  font-weight: 400;
  color: #6a7988;
}
.taPage section[data-step="2"] > fieldset {
  padding: 16px;
  margin: 0 0 22px;
  border: 1px solid #dce4e0;
  border-radius: 12px;
  background: #fbfcfb;
}
.taPage section[data-step="2"] > fieldset > legend {
  max-width: 100%;
  padding: 0 5px;
  line-height: 1.6;
}
.taUploads > span {
  position: relative;
  display: block;
  width: 82px;
  height: 82px;
}
.taUploads img {
  display: block;
  width: 100%;
  height: 100%;
}
.taRoot .taUploads button {
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 28px;
  height: 28px;
  min-height: 28px;
  padding: 0;
  display: grid;
  place-items: center;
  background: #b82934;
  color: white;
  border: 1px solid #fff;
  border-radius: 6px;
  font-size: 22px;
  line-height: 1;
}
@media (max-width: 520px) {
  .taTeachingBanner {
    height: 102px;
  }
  .taApplicationBrand {
    padding: 10px 12px;
    gap: 9px;
  }
  .taApplicationBrand img {
    width: 46px;
    height: 46px;
  }
}

.taWhatsApp {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #176375;
  text-decoration: none;
  vertical-align: middle;
  white-space: nowrap;
}
.taHelpContact {
  text-align: center;
  font-size: 12px;
  color: #60717e;
  margin-top: 18px;
}
@media print {
  .taLetterhead .taWhatsApp {
    color: inherit;
  }
}

/* Whole-field native date picker and compact commitment sections. */
.taDateControl .taBirthPicker { inset: 0; width: 100%; }
.taDateControl input[name="dob"] { pointer-events: none; }
.taRoot .taChoicePair { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
.taRoot .taChoicePair label { margin: 0; display: flex; align-items: center; gap: 5px; padding: 8px; font-size: 12px; }
.taPage section[data-step="2"] > fieldset { padding: 7px 13px 13px; margin-bottom: 17px; }
.taPage section[data-step="2"] > fieldset > legend { margin-bottom: 0; font-size: 13px; }
.taPage section[data-step="2"] fieldset > ol { margin: 5px 0 10px; padding-left: 22px; font-size: 13px; line-height: 1.7; }
.taPage section[data-step="2"] fieldset > p { margin: 6px 0; }
.taRoot .taEvaluation { list-style: none; counter-reset: stage; padding: 0 !important; }
.taEvaluation li { counter-increment: stage; position: relative; padding: 5px 0 7px 30px; }
.taEvaluation li::before { content: counter(stage); position: absolute; left: 0; top: 7px; width: 21px; height: 21px; border-radius: 50%; background: #e3eeea; color: #176375; text-align: center; font-size: 12px; }
.taEvaluation b, .taEvaluation span { display: block; }
.taEvaluation span { font-size: 12px; color: #586d66; line-height: 1.5; }
.taPortfolio .taHint { margin: 4px 0; font-size: 12px; }
.taLinkRow { position: relative; flex-wrap: wrap; }
.taLinkRow textarea { flex: 1; min-width: 0; }
.taLinkError { width: calc(100% - 38px); margin-left: 38px; padding: 7px 9px; background: #fff4f0; border: 1px solid #efd6cd; border-radius: 7px; color: #9b3d2e; font-size: 12px; }
.taLinkRow [aria-invalid="true"] { border-color: #bd6c59; }
.taReceipt { padding: 28px 23px; border: 1px solid #dce4e0; border-radius: 18px; background: white; }
.taReceipt h2 { margin: 12px 0; font-size: 24px; }
.taReceipt p { font-size: 14px; }
.taReceiptMark { display: grid; place-items: center; width: 44px; height: 44px; background: #eaf5ef; color: #176375; border-radius: 50%; font-size: 24px; }
.taReceiptMeta { padding: 12px; background: #f5f8f6; border-radius: 10px; font-size: 12px; overflow-wrap: anywhere; margin: 18px 0; }
.taReceiptMeta span { display: block; margin-bottom: 5px; }
.taReceipt .taPrimary { width: 100%; }

@media(max-width:520px) { .taRoot .taChoicePair label { font-size:11px; padding:8px 6px; gap:3px; } }

.taRoot .taRequired[aria-hidden="true"] { color: #c62828; }
.taHoursSummary {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  justify-content: space-between;
  color: var(--taTeal);
  font-size: 13px;
}
.taHoursSummary > span { font-weight: 700; }
.taHoursGrid { margin: 12px 0 8px; }
.taHoursGrid > div {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid var(--taLine);
  font-size: 13px;
}
.taHoursGrid dt { font-weight: 600; }
.taHoursGrid dd { margin: 0; }
.taHoursGrid small, .taHoursGrid dd > span {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: #60717e;
}
.taAvailability { margin: 12px 0 8px; font-size: 13px; }

.taDeclarationConsent { display:flex; align-items:center; gap:6px; font-size:12px; line-height:1.4; }
.taDeclarationConsent input { flex-shrink:0; margin:0; }

/* Compact guideline reading; keep policy text readable on mobile. */
.taRoot #taGuidelinesContent { font-size:12px; line-height:1.5; }
.taRoot #taGuidelinesContent h3 { font-size:13px; line-height:1.4; margin:14px 0 6px; }
.taRoot #taGuidelinesContent h3:first-child { margin-top:0; }
.taRoot #taGuidelinesContent ul { margin:0 0 12px; padding-left:18px; }
.taRoot #taGuidelinesContent li { margin:0 0 5px; }

/* Submission acknowledgement only; form and admin layouts remain unchanged. */
.taAcknowledgementBrand { display:flex; flex-direction:column; gap:3px; padding:3px 2px 22px; }
.taAcknowledgementBrand strong { font-size:20px; letter-spacing:-.5px; }
.taAcknowledgementBrand span { font-size:12px; color:#60717e; }
.taAcknowledgementCard { padding:32px; border:1px solid var(--taLine); border-radius:18px; background:#fff; box-shadow:0 12px 38px rgba(20,35,61,.05); }
.taAcknowledgementTitle { display:flex; align-items:center; gap:15px; }
.taAcknowledgement .taReceiptMark { flex:0 0 52px; width:52px; height:52px; background:#e6f3eb; color:#257544; font-size:29px; }
.taRoot .taAcknowledgementTitle h2 { font-size:25px; line-height:1.2; letter-spacing:-.6px; margin:0; max-width:380px; }
.taReceiptThanks { margin:22px 0; color:#526172; font-size:14px; overflow-wrap:anywhere; }
.taReceiptDetails { border:1px solid var(--taLine); border-radius:11px; margin:0 0 22px; padding:0 16px; }
.taReceiptDetails > div { display:grid; grid-template-columns:135px minmax(0,1fr); gap:16px; padding:12px 0; border-bottom:1px solid #edf0f3; font-size:13px; }
.taReceiptDetails > div:last-child { border:0; }
.taReceiptDetails dt { color:#697786; }
.taReceiptDetails dd { margin:0; font-weight:600; overflow-wrap:anywhere; }
.taReceivedStatus { display:inline-block; color:#257544; background:#e6f3eb; padding:2px 10px; border-radius:5px; font-size:11px; text-transform:uppercase; letter-spacing:.5px; }
.taReceiptNext { padding:17px 18px; background:#f5f7f9; border-radius:10px; }
.taRoot .taReceiptNext h3 { margin:0 0 10px; font-size:15px; }
.taReceiptNext ol { counter-reset:next; list-style:none; margin:0; padding:0; }
.taReceiptNext li { counter-increment:next; position:relative; padding:3px 0 12px 28px; font-size:13px; color:#526172; line-height:1.6; }
.taReceiptNext li:last-child { padding-bottom:0; }
.taReceiptNext li::before { content:counter(next); position:absolute; left:0; top:4px; width:19px; height:19px; line-height:19px; background:#e4e9ee; border-radius:50%; text-align:center; color:#34495f; font-size:11px; font-weight:600; }
.taReceiptActions { display:grid; gap:10px; margin-top:23px; }
.taReceiptDownloadArea { margin:0 0 22px; }
.taAcknowledgement .taReceiptDownloadArea .taPrimary { display:flex; align-items:center; justify-content:center; gap:9px; width:100%; padding:13px 10px; font-weight:600; font-size:14px; }
.taReceiptDownloadArea svg { width:20px; height:20px; flex:0 0 20px; }
.taReceiptHome { display:block; text-align:center; padding:10px; border:1px solid var(--taLine); border-radius:9px; color:var(--taInk); text-decoration:none; font-size:13px; font-weight:600; }
.taReceiptHome:hover { background:#f5f7f9; }
.taAcknowledgement #taDownloadMessage { margin:12px 0 0; font-size:12px; color:#60717e; }
.taAcknowledgement #taDownloadMessage:empty { display:none; }
@media(max-width:520px) {
 .taAcknowledgementCard { padding:22px 17px; border-radius:14px; }
 .taAcknowledgementBrand strong { font-size:19px; }
 .taRoot .taAcknowledgementTitle h2 { font-size:22px; }
 .taAcknowledgementTitle { gap:12px; }
 .taAcknowledgement .taReceiptMark { flex-basis:43px; width:43px; height:43px; font-size:25px; }
 .taReceiptDetails { padding:0 12px; }
 .taReceiptDetails > div { grid-template-columns:94px minmax(0,1fr); gap:12px; font-size:12px; }
 .taReceiptNext { padding:15px 13px; }
}
