/* TenantPeach — modern work order setup */
.tpw2-backdrop,.tpw2-backdrop *{box-sizing:border-box}
.tpw2-backdrop{position:fixed;inset:0;background:rgba(15,39,30,.65);z-index:100050;display:flex;align-items:center;justify-content:center;padding:16px;font-family:Inter,system-ui,-apple-system,sans-serif}
.tpw2-modal{display:flex;flex-direction:column;max-height:min(94vh,1050px);width:min(940px,100%);border-radius:19px;background:#f9fcf9;color:#1c3f32;box-shadow:0 28px 80px rgba(0,0,0,.24);overflow:hidden;min-height:0}
.tpw2-header{display:flex;justify-content:space-between;gap:15px;align-items:flex-start;padding:25px 29px 17px;border-bottom:1px solid #e3ede5;background:#fff}
.tpw2-header h2{font:600 clamp(24px,3vw,31px) Georgia,serif;letter-spacing:-.02em;margin:5px 0 7px;color:#163e2b}
.tpw2-header p{margin:0;font-size:12px;color:#718677;line-height:1.6}
.tpw2-kicker{font-size:10px;letter-spacing:.13em;color:#267052;font-weight:850}
.tpw2-close{border:1px solid #d9e6da;border-radius:9px;background:#fff;color:#396852;font-size:24px;line-height:1;min-width:39px;height:39px;cursor:pointer}
.tpw2-close:hover{background:#f0f5f1}
.tpw2-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;padding:12px 29px;background:white;border-bottom:1px solid #e2eae3}
.tpw2-steps span{font-size:11px;font-weight:750;border-radius:8px;background:#e9f4eb;color:#2b674b;padding:8px 11px}
.tpw2-modal form{display:flex;flex-direction:column;min-height:0;flex:1}
.tpw2-body{overflow-y:auto;padding:19px 29px 5px;scrollbar-gutter:stable;overscroll-behavior:contain}
.tpw2-section{background:#fff;border:1px solid #dfe9e0;border-radius:14px;padding:20px;margin-bottom:16px;box-shadow:0 2px 8px rgba(24,77,46,.025)}
.tpw2-section-head{display:flex;gap:12px;align-items:flex-start;margin-bottom:17px}
.tpw2-section-head h3{font:600 20px Georgia,serif;color:#1d4c36;margin:1px 0 5px}
.tpw2-section-head p{font-size:11.5px;line-height:1.6;color:#728979;margin:0}
.tpw2-step-no{background:#dcefe1;color:#1c704b;display:flex;align-items:center;justify-content:center;min-width:31px;height:31px;border-radius:9px;font-size:12px;font-weight:800}
.tpw2-company{display:flex;gap:8px;align-items:center;margin-bottom:14px;padding:9px 11px;background:#f4f9f5;border-radius:9px;font-size:11px;color:#688070}
.tpw2-company strong{font-size:12px;color:#26523b}
.tpw2-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.tpw2-span{grid-column:1/-1}
.tpw2-field{display:flex;flex-direction:column;gap:6px;font-size:11.5px;font-weight:750;color:#2d5c45;min-width:0;margin-bottom:13px}
.tpw2-field>span b{color:#be5943}
.tpw2-field :is(select,input,textarea){border:1px solid #cadccf;border-radius:9px;background:#fff;color:#264534;font:500 13px/1.4 Inter,system-ui,sans-serif;min-height:40px;padding:10px 12px;width:100%;min-width:0}
.tpw2-field textarea{resize:vertical;min-height:66px}
.tpw2-field textarea[readonly]{background:#f6faf7;color:#627b69}
.tpw2-field :is(select,input,textarea):focus-visible{outline:3px solid #b9dec2;outline-offset:1px;border-color:#43865d}
.tpw2-field :is(select,input,textarea):disabled{background:#f5f7f5;color:#829086}
.tpw2-context{margin:3px 0 16px}
.tpw2-context-placeholder{background:#f5f8f5;border:1px dashed #d9e5d9;border-radius:9px;padding:14px;color:#668473;font-size:12px}
.tpw2-property-summary{display:flex;flex-wrap:wrap;gap:6px 11px;align-items:center;background:#ecf6ee;border:1px solid #d6eadb;border-radius:9px;padding:12px;margin-bottom:8px;font-size:11.5px}
.tpw2-property-summary strong{font-size:13px;color:#275f40}
.tpw2-property-summary span{color:#577260}
.tpw2-context-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.tpw2-context-card{padding:12px 13px;border:1px solid #dfe9e2;border-radius:10px;min-width:0;background:#fcfefc}
.tpw2-context-label{font-size:10px;font-weight:850;text-transform:uppercase;letter-spacing:.1em;color:#5b8b6a}
.tpw2-context-card p{font-size:11px;color:#87998b}
.tpw2-person{display:flex;flex-direction:column;gap:3px;margin-top:9px}
.tpw2-person strong{font-size:12px;color:#26513b;overflow-wrap:anywhere}
.tpw2-person span,.tpw2-person small{font-size:11px;color:#6b8673;overflow-wrap:anywhere}
.tpw2-entry{border:1px solid #dce8df;border-radius:10px;padding:12px 13px;margin:12px 0 14px}
.tpw2-entry legend{font-size:12px;color:#265e40;font-weight:810;padding:0 6px}
.tpw2-radio-row{display:flex;flex-wrap:wrap;gap:8px}
.tpw2-radio{display:inline-flex;gap:7px;align-items:center;cursor:pointer;background:#f8fbf9;border:1px solid #d9e7dc;border-radius:8px;padding:9px 11px;font-size:12px;font-weight:650;color:#365c44}
.tpw2-radio input[type=radio]{appearance:auto!important;display:block!important;width:15px!important;height:15px!important;min-width:15px!important;accent-color:#18724b;margin:0!important}
.tpw2-radio:has(input:checked){background:#e2f4e8;border-color:#51a776;color:#195f39}
.tpw2-hint{font-size:11px;color:#718474;line-height:1.5;margin:10px 0 0}
.tpw2-check{display:flex!important;gap:10px!important;align-items:flex-start!important;padding:10px 12px;border:1px solid #d8e7db;border-radius:9px;background:#f8fbf8;cursor:pointer;font-size:12px;font-weight:680;color:#2d5d41;margin:2px 0 14px}
.tpw2-check input[type=checkbox]{appearance:auto!important;display:block!important;width:17px!important;height:17px!important;min-width:17px!important;flex:0 0 17px!important;margin:0!important;accent-color:#197549}
.tpw2-check:has(input:checked){background:#e9f5eb;border-color:#7ebd90}
.tpw2-check-approval{margin-top:8px}
.tpw2-check-approval span{display:flex;flex-direction:column;gap:4px}
.tpw2-check-approval small{font-size:11px;line-height:1.55;color:#668071;font-weight:500}
.tpw2-warning,.tpw2-error{border-radius:9px;padding:12px 14px;background:#fff8e8;border:1px solid #e9d7a7;color:#88612a;font-size:11.5px;line-height:1.6}
.tpw2-error{background:#fff0ec;border-color:#eac7bd;color:#9a5142}
.tpw2-suggest{border:1px solid #dce8e0;border-radius:9px;background:#f5faf6;color:#4c755b;padding:10px 13px;font-size:11.5px;line-height:1.6;margin:-2px 0 14px}
.tpw2-pipeline{display:flex;flex-direction:column;gap:5px;border-radius:10px;padding:12px 14px;border:1px solid #d0e4d5;background:#edf7ef;font-size:11px;color:#416e52;line-height:1.5}
.tpw2-pipeline strong{font-size:12px;color:#185d39}
.tpw2-footer{display:flex;gap:10px;align-items:center;justify-content:flex-end;border-top:1px solid #dbe8dd;padding:15px 24px;background:white;flex-wrap:wrap}
.tpw2-footer #tpw2Notice{flex:1 1 230px;font-size:11.5px;line-height:1.5}
.tpw2-notice-bad{color:#ac493e}
.tpw2-notice-good{color:#1c7049}
.tpw2-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;border-radius:10px;font:790 12px/1.3 Inter,system-ui,sans-serif;border:1px solid #bdd7c5;padding:11px 15px;min-height:41px;cursor:pointer;text-decoration:none}
.tpw2-btn.light{background:#fff;color:#216648}
.tpw2-btn.primary{background:#1c7450;border-color:#1c7450;color:white}
.tpw2-btn:disabled{opacity:.5;cursor:wait}
.tpw2-btn:hover:not(:disabled){filter:brightness(.94)}
.tpw2-success{padding:50px 35px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:9px}
.tpw2-success-icon{border-radius:50%;background:#e2f4e8;color:#247444;width:52px;height:52px;display:flex;align-items:center;justify-content:center;font-size:27px;font-weight:800}
.tpw2-success h2{font:600 30px Georgia,serif;color:#1c5437;margin:10px 0}
.tpw2-success p{max-width:590px;font-size:13px;line-height:1.7;color:#687f70}
.tpw2-number{background:#f0f9f2;color:#266743;border:1px solid #d1e9d7;border-radius:9px;padding:9px 15px;letter-spacing:.08em;font-size:14px;font-weight:850}
.tpw2-success-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:center;margin-top:16px}
@media(max-width:800px){.tpw2-backdrop{padding:8px}.tpw2-modal{max-height:98dvh;border-radius:13px}.tpw2-header{padding:18px 16px 12px}.tpw2-steps{padding:9px 14px;gap:5px}.tpw2-steps span{font-size:9px;padding:7px}.tpw2-body{padding:12px 13px}.tpw2-section{padding:14px}.tpw2-footer{padding:12px 14px}.tpw2-section-head h3{font-size:18px}}
@media(max-width:560px){.tpw2-grid,.tpw2-context-grid{grid-template-columns:1fr}.tpw2-span{grid-column:auto}.tpw2-steps{grid-template-columns:1fr}.tpw2-steps span{display:none}.tpw2-steps span:first-child{display:block}.tpw2-header h2{font-size:24px}.tpw2-modal{max-height:99dvh}.tpw2-footer #tpw2Notice{flex-basis:100%}.tpw2-btn{flex:1 1 auto}.tpw2-success{padding:30px 16px}.tpw2-radio-row{display:grid;grid-template-columns:1fr 1fr}.tpw2-company{flex-direction:column;align-items:flex-start}}