.tp-app .tp-stat{font:inherit;text-align:right;cursor:pointer;color:inherit;transition:border-color .2s,box-shadow .2s,transform .2s}
.tp-app .tp-stat:hover,.tp-app .tp-stat[aria-pressed=true]{border-color:var(--mld-primary,#a80000);box-shadow:0 5px 20px #a8000010}
.tp-app .tp-stat:focus-visible{outline:3px solid #a80000;outline-offset:3px}
.tp-app .tp-stat-hint{display:flex;align-items:center;gap:6px;font-size:11px;color:#a80000;margin-top:8px}
.tp-app .tp-stat-hint svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8}
.tp-app .tp-v1-fieldset{border:1px solid #e7e5e9;border-radius:16px;padding:20px;margin:20px 0;min-width:0}
.tp-app .tp-v1-fieldset legend{font-weight:700;padding:0 8px}
.tp-app .tp-v1-fieldset>.tp-check{margin-bottom:14px}
.tp-app .tp-v08-row>div{min-width:0;overflow-wrap:anywhere}
.tp-app [data-kind=notifications] textarea[name$=variables],.tp-app [data-kind=notifications] textarea[name=emails],.tp-app [data-kind=notifications] textarea[name=phones]{direction:ltr;text-align:left}
@media(max-width:600px){.tp-app .tp-v1-fieldset{padding:14px}.tp-app .tp-stat{min-width:0}.tp-app .tp-stat-hint{font-size:10px}}
@media(prefers-reduced-motion:reduce){.tp-app .tp-stat{transition:none}}

/* Tracking cards occupy the complete shortcode column, independent of RTL theme main rules. */
.tp-app.mlu-public[data-mode=tracking]{display:block;width:100%;max-width:1440px;margin-inline:auto;float:none;min-width:0}
.tp-app[data-mode=tracking]>.tp-auth{display:block;float:none;position:relative;inset:auto;width:min(100%,510px);max-width:510px;margin:32px auto!important;margin-inline:auto!important;justify-self:center;grid-column:1/-1;text-align:right}
.tp-app .tp-provider-fields{border:1px solid #e8e5e8;border-radius:14px;padding:16px;margin-block:16px;min-width:0}
.tp-app .tp-provider-fields legend{padding-inline:8px;font-weight:700}
.tp-app .tp-provider-fields textarea{direction:ltr;text-align:left}
.tp-app .tp-sms-log{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:14px 0;border-bottom:1px solid #e8e5e8;overflow-wrap:anywhere}
.tp-app .tp-sms-log p{font-size:12px;color:#636772}
.tp-app .tp-sms-log code{direction:ltr;unicode-bidi:isolate;font-size:11px}
@media(max-width:600px){.tp-app .tp-provider-fields{padding:12px}.tp-app[data-mode=tracking]>.tp-auth{margin-block:18px!important}.tp-app .tp-sms-log{grid-template-columns:1fr}}

/* 1.1.1: repair-panel controls remain independent of the active WP theme. */
.tp-app.mld-scope {direction:rtl;text-align:right}
.tp-app.mld-scope label.tp-field,.tp-app.mld-scope .tp-field>span,.tp-app.mld-scope .tp-field>small {direction:rtl!important;text-align:right!important;float:none!important}
.tp-app.mld-scope bdi,.tp-app.mld-scope [dir="ltr"] {direction:ltr!important;unicode-bidi:isolate!important}
.tp-app.mld-scope input[dir="ltr"] {text-align:left!important}
.tp-app.mld-scope .tp-device-types {display:block!important;float:none!important;min-width:0;width:100%;box-sizing:border-box}
.tp-app.mld-scope .tp-device-types>legend {display:block!important;float:none!important;position:static!important;width:100%!important;max-width:100%;margin:0 0 12px!important;padding:0!important;text-align:right!important;direction:rtl!important}
.tp-app.mld-scope .tp-choice,.tp-app.mld-scope .tp-check {float:none!important;direction:rtl!important;text-align:right!important;cursor:pointer}
.tp-app.mld-scope :is(.tp-choice,.tp-check)::before,.tp-app.mld-scope :is(.tp-choice,.tp-check)::after {content:none!important;display:none!important}
.tp-app.mld-scope :is(.tp-choice,.tp-check) input:is([type="radio"],[type="checkbox"]) {appearance:auto!important;-webkit-appearance:auto!important;position:static!important;display:inline-block!important;opacity:1!important;visibility:visible!important;float:none!important;transform:none!important;width:18px!important;height:18px!important;min-width:18px!important;min-height:18px!important;max-width:18px!important;max-height:18px!important;flex:0 0 18px!important;margin:0!important;padding:0!important;border:initial!important;border-radius:initial!important;box-shadow:none!important;accent-color:#a80000;clip:auto!important;clip-path:none!important}
.tp-app.mld-scope :is(.tp-choice,.tp-check) input::before,.tp-app.mld-scope :is(.tp-choice,.tp-check) input::after {content:none!important;display:none!important}
.tp-app.mld-scope .tp-choice:focus-within {outline:2px solid #a80000;outline-offset:3px}
.tp-app.mld-scope .tp-feedback {margin:12px 0;padding:14px;border:1px solid #e8e2e4;border-radius:12px;background:#faf8f9;min-width:0}
.tp-app.mld-scope .tp-feedback-tags {display:flex;flex-wrap:wrap;gap:6px;margin-block:8px}
.tp-app.mld-scope .tp-rating {display:flex;flex-wrap:wrap;gap:8px}
.tp-app.mld-scope .tp-rating .tp-choice {min-height:48px;flex:1 1 90px}
.tp-app.mld-scope .tp-feedback p {white-space:pre-wrap;overflow-wrap:anywhere}

.tp-app .tp-lead-tabs{display:flex;flex-wrap:wrap;gap:.5rem;margin-block:1rem}
.tp-app .tp-lead-tabs button{display:inline-flex;align-items:center;gap:.45rem;border:1px solid #e8e0e2;border-radius:12px;background:#fff;padding:.55rem .8rem;color:#33252a;min-height:44px;font:inherit;cursor:pointer}
.tp-app .tp-lead-tabs button[aria-pressed=true]{color:#890018;border-color:#b2152d;background:#fff1f2;font-weight:700}
.tp-app .tp-lead-tabs button span{font-size:.85em;background:#f3eaec;padding:.05rem .4rem;border-radius:8px}
.tp-app .tp-net-total{display:block;padding:12px;background:#f5f2f3;border-radius:10px;text-align:center;font-weight:bold}
.tp-app .tp-trash-box{margin-block:1rem;padding:1rem;border:1px solid #e7d7db;border-radius:14px}
.tp-app .tp-trash-box summary{cursor:pointer;font-weight:650}
.tp-app [data-trash-result]{display:block;margin-block:.5rem}
