.tpt-emphasis {box-sizing:border-box;max-width:100%;min-width:0;padding:14px 16px;margin:10px 0;border:2px solid;border-radius:8px;overflow-wrap:anywhere;word-spacing:normal;font-weight:700;text-align:start}
.tpt-emphasis p{margin:8px 0 0;font-weight:700;color:inherit}
.tpt-approval{background:#eff6ff;color:#1e40af;border-color:#2563eb}
.tpt-approval>strong{font-size:1.15em;color:inherit}
.tpt-exemption{background:#fff7ed;color:#92400e;border-color:#b45309}
.tpt-exemption label{font-weight:700!important;color:#92400e!important;cursor:pointer}
.tpt-exemption input[type=checkbox]{width:20px;height:20px;vertical-align:middle;accent-color:#92400e;margin-inline-end:8px}
.tpt-exemption textarea{display:block;width:100%;max-width:100%;box-sizing:border-box;margin-top:8px}
.tpt-exemption:has(input:checked){border-color:#166534;background:#f0fdf4}
.tpt-financial-total{font-weight:700!important;font-size:1.15em}
.tpt-required-mark,.tpt-required{color:#b91c1c!important;font-weight:700!important}
.tpt-management-frontend .notice-error,.tpt-management-frontend .notice-warning,.tpt-management-frontend .notice-success,.tpt-management-frontend .notice-info{border:2px solid;border-radius:6px;padding:12px;font-weight:700;overflow-wrap:anywhere}
.tpt-management-frontend .notice-error{color:#991b1b;background:#fef2f2}.tpt-management-frontend .notice-warning{color:#92400e;background:#fff7ed}.tpt-management-frontend .notice-success{color:#166534;background:#f0fdf4}.tpt-management-frontend .notice-info{color:#1e40af;background:#eff6ff}
@media(max-width:600px){.tpt-emphasis{padding:10px;margin:8px 0}}

/* Compact grouped choices, preserving native keyboard focus. */
.tpt-condition-panel{box-sizing:border-box;min-width:0;max-width:100%;margin:16px 0;padding:14px 16px;border:1px solid #94a3b8;border-radius:6px;background:#fff;color:#172033;text-align:start;word-spacing:normal}
.tpt-condition-panel legend{font-size:1.15em;font-weight:700;padding:0 6px;color:#92400e}
.tpt-condition-instruction{color:#475569;font-weight:600;margin:0 0 8px}
.tpt-condition-options{display:block}
.tpt-condition-panel label.tpt-condition-card{display:flex!important;align-items:baseline;gap:8px;width:100%;box-sizing:border-box;padding:9px 4px;margin:0;border:0;border-radius:0;background:transparent;color:#172033!important;cursor:pointer;text-align:start}
.tpt-condition-card + .tpt-condition-card{border-top:1px solid #e2e8f0!important}
.tpt-condition-card input[type=radio]{flex:none;width:17px;height:17px;margin:0;accent-color:#2563eb}
.tpt-condition-card input:focus-visible{outline:2px solid #2563eb;outline-offset:3px}
.tpt-condition-copy{display:block;min-width:0;overflow-wrap:anywhere;line-height:1.5}
.tpt-condition-copy strong{font-weight:700;color:#172033}
.tpt-condition-price{font-weight:600;color:#166534}
.tpt-condition-standard .tpt-condition-price{color:#92400e}
.tpt-condition-description{display:block;font-size:.85em;color:#475569}
.tpt-condition-total{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;border-top:1px solid #cbd5e1;margin-top:8px;padding:10px 0 4px}
#tpt-combined-fee{font-size:1.4em;font-weight:800;color:#166534;white-space:nowrap}
.tpt-condition-panel:has(.tpt-condition-standard input:checked) #tpt-combined-fee{color:#92400e}
#tpt-combined-reason{margin-top:10px}#tpt-combined-reason[hidden]{display:none!important}#tpt-combined-reason textarea{display:block;width:100%;box-sizing:border-box;margin-top:6px}
/* Shared presentation refinements, scoped to TPT pages. */
.tpt-emphasis{border-width:1px;border-radius:6px;padding:10px 12px;line-height:1.5}
.tpt-emphasis>strong{font-size:1.05em}
.tpt-management-frontend :is(input,select,textarea),body[class*="tpt-"] #wpbody-content :is(input,select,textarea){box-sizing:border-box;max-width:100%}
.tpt-management-frontend :is(h1,h2,h3),body[class*="tpt-"] #wpbody-content :is(h1,h2,h3){line-height:1.35;overflow-wrap:anywhere}
.tpt-management-frontend table th,.tpt-management-frontend table td{vertical-align:top;overflow-wrap:anywhere}
@media(max-width:600px){.tpt-condition-panel{padding:10px}.tpt-condition-panel label.tpt-condition-card{padding:8px 2px}.tpt-condition-total{align-items:flex-start}}

/* Mandatory indicators must remain visible in compact and responsive forms. */
.tpt-required-mark,.tpt-required{display:inline!important;visibility:visible!important;opacity:1!important;color:#b91c1c!important;font-weight:800!important;font-size:1em!important;line-height:inherit!important;white-space:nowrap!important;float:none!important;position:static!important}
.tpt-required-note{color:#b91c1c!important;font-weight:700!important;font-size:.9em;margin:0 0 12px!important}

/* Reactivation list headings */
.tpt-reactivation-list thead th{font-weight:700!important;color:#243247;background:#f1f5f9;}
.tpt-reactivation-list thead .tpt-action-heading{text-align:center!important;}
.tpt-reactivation-list td:nth-child(4),.tpt-reactivation-list td:nth-child(5){text-align:center;white-space:nowrap;}
@media(max-width:600px){.tpt-reactivation-list th,.tpt-reactivation-list td{padding:6px!important;overflow-wrap:anywhere;}.tpt-reactivation-list td:nth-child(4),.tpt-reactivation-list td:nth-child(5){white-space:normal;}}
.tpt-family-record{border:1px solid #aeb9c6!important;border-radius:6px;padding:14px!important;margin:12px 0!important;min-width:0;box-sizing:border-box}.tpt-family-record legend,.tpt-family-row-title{font-weight:700!important;color:#1e40af!important;word-spacing:normal!important}.tpt-family-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));gap:12px}.tpt-family-grid label{display:block;min-width:0;font-weight:600}.tpt-family-grid input{display:block;width:100%;box-sizing:border-box;margin-top:5px}.tpt-family-row-title{grid-column:1/-1;margin:0 0 8px!important;font-size:1.05em!important}.tpt-repeater .tpt-row{border:1px solid #cbd5e1!important;border-radius:6px;padding:12px!important;margin:10px 0!important}.tpt-family-help{font-size:.9em;color:#475569}.tpt-required-mark{font-family:Arial,sans-serif!important}

/* Consistent label-above-input layout for grouped correction fields. */
.tpt-family-grid.tpt-primary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.tpt-family-grid label>span:first-child{display:block;word-spacing:normal}
.tpt-family-grid input,.tpt-family-grid select,.tpt-family-grid textarea{width:100%!important;max-width:100%!important;min-width:0;box-sizing:border-box;min-height:42px;margin:5px 0 0!important}
.tpt-family-grid .tpt-required-mark{color:#b91c1c!important;font-weight:800!important}
@media(max-width:600px){.tpt-family-grid.tpt-primary-grid,.tpt-family-grid{grid-template-columns:minmax(0,1fr)}}
