/* Compact review at the existing 1600px portal canvas. No content is clipped. */
body #app:has(.p-request-review) {--o-header:72px;}
body #app .p-request-review {
  grid-template-columns:minmax(0,1.45fr) minmax(330px,1fr);
  gap:14px;
}
body #app .p-request-review .p-review-details>.card {padding:14px 16px;}
body #app .p-request-review .o-ticket-header {padding-bottom:10px;}
body #app .p-request-review .o-facts {
  grid-template-columns:repeat(4,minmax(0,1fr));gap:11px 16px;padding:12px 0;
}
body #app .p-request-review .o-facts dt {margin-bottom:3px;line-height:1.35;}
body #app .p-request-review .o-facts dd {line-height:1.45;overflow-wrap:anywhere;}
body #app .p-request-review .o-problem {margin:8px 0;padding:8px 0;line-height:1.5;overflow-wrap:anywhere;}
body #app .p-request-review .p-request-note {
  margin:10px 0;padding:8px 10px;font-size:11px;line-height:1.45;
}
body #app .p-request-review .o-attachments {padding:10px 0;font-size:11px;line-height:1.5;}
body #app .p-request-review .o-attachments>strong {font-size:12px;}
body #app .p-request-review .o-file {overflow-wrap:anywhere;}
body #app .p-review-request-actions {
  margin-top:10px;padding-top:10px;
}
body #app .p-request-review .p-review-payment>.price-card.compact-checkout {
  margin:0;padding:12px 16px;border-radius:12px;
}
body #app .p-request-review .compact-checkout h3 {font-size:15px;margin:0 0 5px;}
body #app .p-request-review .compact-checkout .checkout-subtitle {font-size:11px;margin:0 0 8px;}
body #app .p-request-review .compact-checkout .checkout-details {padding:4px 0;}
body #app .p-request-review .compact-checkout summary {font-size:12px;}
body #app .p-request-review .compact-checkout .payment-breakdown {margin:5px 0 0;max-width:none;}
body #app .p-request-review .compact-checkout .payment-breakdown>div {padding:3px 0;gap:12px;font-size:12px;line-height:1.4;}
body #app .p-request-review .compact-checkout .checkout-total {margin:3px 0 6px;}
body #app .p-request-review .compact-checkout .checkout-total>div {font-size:16px;padding:7px 0;}
body #app .p-request-review .compact-checkout .checkout-refund-note {padding:7px 9px;font-size:11px;line-height:1.45;}
body #app .p-review-payment .price-card>form {
  margin-top:6px;padding-top:6px;
}
body #app .p-request-review .payment-review {margin-top:0;}
body #app .p-request-review .payment-review .billing-option {padding:9px 11px;margin-bottom:7px;}
body #app .p-request-review .payment-review .billing-option>label {font-size:12px;}
body #app .p-request-review .payment-review input[type=checkbox] {width:16px!important;height:16px!important;min-height:16px!important;padding:0!important;margin:0!important;}
body #app .p-request-review .payment-review .gst-fields {gap:9px;margin-top:10px;}
body #app .p-request-review .payment-review .gst-fields .field {gap:4px;}
body #app .p-request-review .payment-review .gst-fields label {margin:0;font-size:11px;line-height:1.3;}
body #app .p-request-review .payment-review .gst-fields .help {margin:2px 0 0;font-size:10px;line-height:1.3;}
body #app .p-request-review .payment-review .gst-fields input {padding:7px 9px;min-height:32px;}
body #app .p-request-review .payment-review .gst-fields textarea {min-height:40px;height:40px;padding:6px 9px;}
body #app .p-request-review .payment-review>.help {font-size:10px;line-height:1.45;margin:6px 0 8px;}
body #app .p-request-review .payment-review .terms-consent {padding:9px 11px;font-size:12px;gap:8px!important;}
body #app .p-request-review .payment-review .terms-consent span {line-height:1.4;}
body #app .p-request-review .p-consent-saved {margin:0;font-size:11px;line-height:1.45;}
body #app .p-request-review .form-error:empty {display:none;}
body #app .p-review-checkout .p-review-pay-footer {
  margin-top:6px;padding-top:6px;
}
body #app .p-request-review .p-review-pay-footer>.btn {min-height:35px;padding:8px 16px;}
body #app .p-payment-dialog .p-provider-list {gap:8px;margin:12px 0;}
body #app .p-payment-dialog .p-provider-choice {padding:11px 13px;gap:2px;}
body #app .p-payment-dialog .p-provider-choice:disabled,
body #app .p-payment-dialog .p-provider-choice:disabled:hover {opacity:1;color:#667085;background:#f8f9fb;}
body #app .p-payment-dialog .p-provider-choice:disabled .p-provider-note {color:#596579;}
body #app .p-payment-dialog .p-provider-note>span {display:block;line-height:1.5;}
body #app .p-payment-dialog .p-quote-expiry {font-size:10px;line-height:1.45;margin:8px 0;}
body #app .p-payment-dialog .p-payment-footer {font-size:11px;line-height:1.45;margin-top:10px;padding-top:10px;}

body #app .p-review-evidence {border:1px solid #e0e6ed;border-radius:10px;background:#fff;}
body #app .p-review-evidence>summary {padding:10px 14px;cursor:pointer;color:#1457a6;font-size:12px;font-weight:600;}
body #app .p-review-evidence>.card {border:0;margin:0;padding:10px 14px;}

/* Automatic provider verification: a bounded 15 + 30 second wait. */
.p-payment-progress::backdrop,.p-ticket-success-dialog::backdrop{background:rgba(12,66,139,.84);backdrop-filter:blur(4px)}
.p-payment-progress{max-width:480px;text-align:center;color:#163457;padding:32px!important;border:1px solid #d8e5f7!important;border-radius:24px!important}
.p-payment-progress h2{font-size:24px;line-height:1.2;margin:20px 0 12px}
.p-payment-progress p{line-height:1.55}
.p-payment-countdown{display:inline-block;background:#eaf2ff;color:#185bb5;padding:8px 18px;border-radius:24px;font-weight:700;font-variant-numeric:tabular-nums}
.p-payment-progress .p-payment-footer{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}
.p-payment-progress [hidden]{display:none!important}
.p-payment-spinner{width:46px;height:46px;margin:8px auto;border:4px solid #e2ecfc;border-top-color:#185bb5;border-radius:50%;animation:triq-payment-spin 1s linear infinite}
.p-payment-wait-complete .p-payment-spinner{animation:none;border-color:#185bb5}
@keyframes triq-payment-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.p-payment-spinner{animation:none}}
/* Compact additional-day review and native radio provider choices. */
.chat-extra-day .extra-payment-breakdown{width:100%;max-width:none;margin:10px 0}
.chat-extra-day .extra-payment-breakdown>div{padding:5px 0;font-size:13px;gap:12px}
.chat-extra-day .extra-payment-breakdown .total{font-size:16px;border-top:1px solid #cbdcf4;margin-top:4px;padding-top:10px}
.chat-extra-day .payment-review{margin:0}
.chat-extra-day .card,.chat-extra-day form{margin-top:12px;padding:14px}
.chat-extra-day form .fields{gap:10px}
.chat-extra-day .billing-option,.chat-extra-day .terms-consent{padding:9px 10px}
.chat-extra-day .payment-review>.help{font-size:11px;line-height:1.4;margin:5px 0 8px}
.extra-provider-options{border:0;padding:0;margin:4px 0;min-width:0}
.extra-provider-options legend{font-size:12px;font-weight:700;margin-bottom:8px}
.extra-provider-options>div{display:flex;flex-wrap:wrap;gap:8px}
.extra-provider-option{position:relative;display:inline-flex!important;cursor:pointer}
.extra-provider-option input{position:absolute!important;opacity:0;width:1px!important;height:1px!important;margin:0!important;min-height:0!important;padding:0!important}
.extra-provider-option span{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:112px;min-height:42px;padding:10px 16px;border:1px solid #b8cdef;border-radius:10px;background:#fff;color:#194577;font-size:13px;font-weight:700}
.extra-provider-option span:before{content:'';width:13px;height:13px;border:2px solid #8ba7d0;border-radius:50%}
.extra-provider-option input:checked+span{background:#185bb5;color:white;border-color:#185bb5;box-shadow:0 3px 9px #185bb51c}
.extra-provider-option input:checked+span:before{background:white;border-color:white;box-shadow:inset 0 0 0 3px #185bb5}
.extra-provider-option input:focus-visible+span{outline:3px solid #74adf2;outline-offset:3px}
.extra-payment-auto-note{font-size:12px;color:#185bb5;margin:10px 0 0}
.extra-payment-progress{box-sizing:border-box;width:min(460px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:28px;border:1px solid #d8e5f7;border-radius:22px;color:#163457;background:white;text-align:center;box-shadow:0 24px 80px #10366c40;font:14px/1.5 Inter,'Segoe UI',sans-serif}
.extra-payment-progress::backdrop{background:rgba(12,66,139,.84);backdrop-filter:blur(4px)}
.extra-payment-progress h2{font-size:24px;line-height:1.2;margin:18px 0 12px}.extra-payment-progress button{margin-top:8px}.extra-payment-progress [hidden]{display:none!important}
@media(max-height:520px){.extra-payment-progress{padding:16px}.extra-payment-progress h2{font-size:20px;margin:10px 0}.extra-payment-progress p{margin:8px 0}.extra-payment-progress .p-payment-spinner{width:28px;height:28px;margin:0 auto}}
.chat-extra-day .extra-payment-breakdown{grid-column:1/-1}
