.tr-panel,.tr-profile{box-sizing:border-box;margin:20px 0;padding:24px;border:1px solid #cbded8;border-radius:16px;background:#f6faf8;color:#173e37;line-height:1.7;text-align:right;direction:rtl;min-width:0}.tr-panel h2,.tr-profile h2{font-size:1.18rem;margin:6px 0 12px}.tr-eyebrow{font-size:.8rem;color:#347168}.tr-party{padding:12px 16px;margin:12px 0;background:#fff;border:1px solid #e0e9e6;border-radius:10px}.tr-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}.tr-primary,.tr-secondary{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;min-height:44px;border-radius:10px;padding:10px 16px;text-decoration:none;cursor:pointer;font:inherit;line-height:1.5;white-space:normal}.tr-primary{background:#166b5c!important;color:white!important;border:1px solid #166b5c}.tr-secondary{background:white!important;color:#1b5047!important;border:1px solid #b8d0c8}.tr-actions button:disabled{opacity:.55;cursor:not-allowed}.tr-wallet{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;background:#e8f4ee;border-radius:10px;padding:16px}.tr-wallet strong{display:block}.tr-inputs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.tr-profile form{display:block!important;width:100%;min-width:0}.tr-profile label{display:block;margin:10px 0;color:#304e48;font-size:.95rem}.tr-profile input,.tr-profile select,.tr-profile textarea,.tr-admin-item textarea{display:block;box-sizing:border-box;width:100%;min-height:46px;margin-top:6px;border:1px solid #bacec8;border-radius:9px;background:#fff;color:#183d36;padding:10px;font:inherit}.tr-doc{margin-top:14px;padding:18px;background:#fff;border:1px solid #dce7e2;border-radius:12px}.tr-doc h4{margin:0 0 5px}.tr-doc details{margin:10px 0}.tr-doc summary{cursor:pointer}.tr-muted,.tr-panel small{font-size:.86rem;color:#5b736d}.tr-state{background:#edf3f0;padding:10px;border-radius:9px}.tr-admin-item{background:white;padding:20px;border:1px solid #d7e5df;border-radius:14px;margin:16px 0}.tr-admin-item dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.tr-admin-item dt{font-size:.83rem;color:#6a8079}.tr-admin-item dd{margin:0;overflow-wrap:anywhere}.tr-feedback{min-height:1em;white-space:pre-line}.tr-kind{max-width:460px}.tr-profile input:focus-visible,.tr-profile select:focus-visible,.tr-primary:focus-visible,.tr-secondary:focus-visible{outline:3px solid #99cebb;outline-offset:2px}@media(max-width:680px){.tr-panel,.tr-profile{padding:16px}.tr-inputs,.tr-wallet,.tr-admin-item dl{grid-template-columns:1fr}.tr-actions>*{flex:1 1 160px}.tr-profile input[type=file]{max-width:100%;padding:6px;font-size:.8rem}.tr-doc{padding:12px}} 

/* V21.43: one save flow; native file controls and durable upload feedback. */
.tr-profile .tr-profile-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px}.tr-profile .tr-profile-head>div{flex:1;min-width:0}.tr-profile .tr-profile-head button{flex:0 0 auto}.tr-profile .tr-save-bar{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:14px 0;border-block:1px solid #dfebe5;margin-block:14px}.tr-profile .tr-save-bottom{background:#f6faf8}.tr-profile .tr-doc{min-width:0;box-sizing:border-box}.tr-profile .tr-doc legend{font-weight:700;padding-inline:8px}.tr-profile .tr-saved{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.tr-profile .tr-badge{display:inline-flex;font-size:.84rem;padding:5px 10px;border-radius:8px}.tr-badge-saved{color:#175d47;background:#e7f4ed}.tr-badge-warning{color:#77541b;background:#fff6e4}.tr-profile .tr-file-name{overflow-wrap:anywhere;color:#45635c}.tr-profile .tr-file-label{border:1px dashed #9cbbb0;border-radius:10px;background:#f9fcfa;padding:12px}.tr-profile .tr-file-label input{border:0;background:transparent;margin:4px 0 0;padding:8px 0;max-width:100%;width:100%}.tr-profile input::file-selector-button{font:inherit;padding:9px 13px;border:1px solid #95b7aa;border-radius:8px;background:#fff;color:#174d3d;cursor:pointer;margin-inline-end:10px}.tr-profile .tr-pending-file{display:flex;gap:10px;flex-wrap:wrap;align-items:center;padding:10px;border-radius:8px;background:#fff7e6;overflow-wrap:anywhere}.tr-profile .tr-pending-file[hidden]{display:none}.tr-profile .tr-doc-controls{display:flex;gap:8px;margin-top:10px}.tr-profile button:disabled,.tr-profile input:disabled{opacity:.6;cursor:wait}.tr-profile .tr-doc-message{min-height:1.7em;white-space:pre-line;margin-bottom:0}.tr-error{color:#a32f25!important}.tr-profile .tr-remaining{padding:16px;background:#fff8ed;border:1px solid #eed7ab;border-radius:12px}.tr-profile .tr-remaining h3{font-size:1rem;margin:0}.tr-profile .tr-ready-message{padding:16px;background:#eaf7ef;border:1px solid #b5d9c5;border-radius:12px}.tr-profile .tr-upload-count{font-size:.88rem;color:#55746a}.tr-profile [data-tr-save]{min-width:210px}.tr-profile .tr-state{font-weight:600}.tr-profile input:focus-visible,.tr-profile button:focus-visible{outline:3px solid #73b99e;outline-offset:2px}@media(max-width:680px){.tr-profile .tr-profile-head{flex-direction:column}.tr-profile .tr-profile-head button{width:100%}.tr-profile .tr-saved{align-items:flex-start}.tr-profile .tr-save-bar button{flex:1 1 100%}.tr-profile .tr-pending-file{flex-direction:column;align-items:flex-start}.tr-profile .tr-doc-controls button{width:100%}.tr-profile .tr-file-label{padding:8px}}
