/* REV5.13: independent off-React recovery panel; mobile safe and read-only unless an operator submits metadata. */
.thrc-open{overflow:hidden!important}
.thrc-floating-launch{position:fixed;right:14px;bottom:100px;z-index:1051;max-width:210px;display:flex;gap:7px;align-items:center;justify-content:center;border:1px solid #d9c4c9;border-radius:18px;background:#fff7f8;color:#7c293b;padding:10px 12px;box-shadow:0 9px 25px #24263824;cursor:pointer;font-size:12px;line-height:1.3;font-weight:800;}
.thrc-floating-launch svg,.thrc-menu-item svg{flex-shrink:0}
.thrc-menu-item{display:flex;gap:10px;align-items:center;justify-content:center;padding:14px 10px;border:1px solid #eadfe4;border-radius:13px;background:#fff;color:#762938;cursor:pointer;font-size:13px;font-weight:800;min-height:64px;width:100%;}
.thrc-menu-item:focus-visible,.thrc-floating-launch:focus-visible,.thrc-panel button:focus-visible,.thrc-panel input:focus-visible,.thrc-panel select:focus-visible{outline:3px solid #c47687;outline-offset:2px}
@media(min-width:980px){.thrc-floating-launch{right:20px;bottom:18px;max-width:none}}
.thrc-root{position:fixed;inset:0;z-index:2147482500;display:flex;align-items:center;justify-content:center;padding:max(16px,env(safe-area-inset-top)) 14px max(16px,env(safe-area-inset-bottom));font-family:inherit}
.thrc-scrim{position:absolute;inset:0;background:rgba(15,23,42,.68)}
.thrc-panel{position:relative;z-index:1;display:flex;flex-direction:column;width:min(100%,780px);max-height:90dvh;overflow:hidden;border:1px solid #ebe2e6;border-radius:24px;background:#fff;color:#1f2938;box-shadow:0 24px 90px #070e2540}
.thrc-panel-head{display:flex;align-items:center;gap:10px;padding:15px 19px;border-bottom:1px solid #eaeaf0;background:linear-gradient(110deg,#fff8fa,#f6f8fc)}
.thrc-panel-head strong{font-size:15px;font-weight:850;flex:1}.thrc-badge{display:flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:13px;background:#f3e5e9;color:#862c41}
.thrc-panel-head button{width:40px;height:40px;background:#f0f0f3;color:#922f43;border:0;border-radius:13px;font-size:26px;font-weight:750;cursor:pointer}
.thrc-content{overflow-y:auto;overscroll-behavior:contain;padding:18px 20px 25px;min-height:0}
.thrc-content h2{margin:0;font-size:21px;line-height:1.3;color:#1c293b;font-weight:850}.thrc-lede{margin:8px 0 20px;font-size:13px;color:#526177;line-height:1.55}
.thrc-section-title{margin:21px 0 10px}.thrc-section-title h3{margin:0;font-size:15px;color:#202b3d;font-weight:850}.thrc-section-title p{margin:5px 0 0;color:#5c6678;font-size:12px;line-height:1.5}
.thrc-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.thrc-stat{padding:13px 11px;background:#f5f6f9;border-radius:12px;min-width:0;overflow-wrap:anywhere}.thrc-stat span{display:block;font-size:11px;color:#607087;font-weight:600}.thrc-stat strong{display:block;color:#1d293b;font-size:15px;margin-top:5px;line-height:1.25}
.thrc-message{font-size:12px;line-height:1.55;border:1px solid #cbdce8;border-radius:12px;padding:11px 12px;color:#2c526d;background:#eef7ff;margin:12px 0}
.thrc-message.warn{background:#fff7e6;color:#795414;border-color:#eed4a7}
.thrc-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.thrc-card{border:1px solid #e6e8ee;border-radius:14px;padding:13px 12px;min-width:0}.thrc-card-head{display:flex;gap:5px;align-items:flex-start;justify-content:space-between;flex-wrap:wrap}.thrc-card h4{font-size:13px;font-weight:850;color:#243044;margin:0}.thrc-status{display:inline-flex;border:1px solid #e5d4a3;background:#fff7e4;color:#846017;border-radius:15px;font-size:10px;padding:3px 8px;font-weight:750}.thrc-status.operator_reported{background:#eff7fd;border-color:#c5dfed;color:#2a5675}.thrc-status.missing,.thrc-status.stale,.thrc-status.coverage_review{background:#fff0ee;border-color:#edc4bd;color:#8a4038}
.thrc-value{font-size:13px;font-weight:800;line-height:1.4;margin:10px 0 4px;color:#233149}.thrc-small,.thrc-ellipsis{font-size:11px;line-height:1.45;color:#617085;margin:4px 0;overflow-wrap:anywhere}
.thrc-history{border:1px solid #e6e8ef;border-radius:13px;overflow:hidden}.thrc-history-item{padding:11px 12px;border-bottom:1px solid #e6e8ef}.thrc-history-item:last-child{border-bottom:0}.thrc-history-item strong{display:block;font-size:12px;line-height:1.4;overflow-wrap:anywhere}.thrc-history-item span{display:block;margin-top:3px;font-size:11px;color:#58687e}
.thrc-form-fold{margin:20px 0 0;border:1px solid #e6e0e5;border-radius:14px;overflow:hidden}.thrc-form-fold>summary{list-style-position:inside;cursor:pointer;font-size:13px;font-weight:800;padding:14px;background:#fbf7f8;color:#732c3f}.thrc-form-fold>.thrc-message{margin:10px 13px}.thrc-form-tabs{display:flex;gap:8px;margin:12px 13px}.thrc-tab{flex:1;border:1px solid #e0d9de;background:#fff;color:#73394a;padding:9px;border-radius:10px;font-size:12px;cursor:pointer}.thrc-tab.active{background:#79283a;color:#fff;border-color:#79283a}
.thrc-fields{padding:0 13px 14px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.thrc-fields[hidden]{display:none}.thrc-input{display:flex;flex-direction:column;min-width:0;gap:5px}.thrc-input>span{font-size:11px;color:#40516a;font-weight:700}.thrc-input input,.thrc-input select{width:100%;max-width:100%;box-sizing:border-box;border:1px solid #ced3de;background:#fff;border-radius:10px;color:#1e293b;padding:11px 10px;font:inherit;font-size:12px;min-height:40px}
.thrc-input input:focus-visible,.thrc-input select:focus-visible{border-color:#b85870}.thrc-confirm{display:flex;align-items:flex-start;gap:8px;grid-column:1/-1;font-size:12px;color:#624041;line-height:1.4}.thrc-confirm input{margin-top:4px}.thrc-submit{grid-column:1/-1;background:#84283d;color:#fff;min-height:42px;border:0;border-radius:11px;font-size:13px;font-weight:750;cursor:pointer}.thrc-steps{padding-left:23px;margin:12px 0 15px;font-size:12px;line-height:1.65;color:#475569}.thrc-steps li{margin:5px 0}.thrc-footer{margin:15px 0 0;font-size:12px}.thrc-footer a{color:#8c3044;text-decoration:underline}.thrc-panel-foot{border-top:1px solid #ebe7ea;padding:12px 20px;display:flex;justify-content:flex-end;background:#fff}.thrc-panel-foot button{border:0;border-radius:10px;background:#f2e9ed;color:#722a40;padding:10px 16px;font-size:12px;font-weight:800;cursor:pointer;min-height:39px}
@media(max-width:680px){.thrc-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.thrc-cards{grid-template-columns:1fr}}
@media(max-width:450px){.thrc-root{align-items:flex-end;padding:0}.thrc-panel{width:100%;max-height:89dvh;border-radius:24px 24px 0 0;padding-bottom:env(safe-area-inset-bottom)}.thrc-panel-head{padding:12px 15px}.thrc-content{padding:13px 15px}.thrc-content h2{font-size:19px}.thrc-stats{gap:7px}.thrc-stat strong{font-size:13px}.thrc-fields{grid-template-columns:1fr}.thrc-floating-launch{bottom:100px;right:10px}.thrc-form-fold{margin-bottom:12px}}
