/* TenantPeach multi-quote work order module */
.tpwq-module,.tpwq-public{font-family:Inter,system-ui,sans-serif;color:#244d42}
.tpwq-module *, .tpwq-public *{box-sizing:border-box}
.tpwq-module{border:1px solid #d5e6da;background:#f9fcfa;border-radius:14px;padding:17px;margin:17px 0}
.tpwq-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}
.tpwq-head small,.tpwq-public-card>small{color:#268269;font-weight:840;font-size:10px;letter-spacing:.13em}
.tpwq-head h4{font:600 22px Georgia,serif;color:#174636;margin:6px 0}
.tpwq-head p,.tpwq-panel p{font-size:12px;line-height:1.65;color:#6c8479}
.tpwq-steps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:16px 0}
.tpwq-steps span{background:#e8f4ec;color:#246c50;border-radius:7px;padding:8px;font-size:11px;font-weight:750}
.tpwq-form-grid{display:grid;gap:13px}
.tpwq-panel,.tpwq-quote{padding:15px;background:#fff;border:1px solid #dbe9e0;border-radius:11px;min-width:0}
.tpwq-panel h5,.tpwq-section-heading h5{font-size:14px;font-weight:820;margin:0 0 7px;color:#245643}
.tpwq-panel form,.tpwq-public form{display:grid;gap:10px}
.tpwq-module label,.tpwq-public label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:710;color:#376453}
.tpwq-panel input:not([type=checkbox]),.tpwq-public input,.tpwq-panel select,.tpwq-panel textarea,.tpwq-public textarea{width:100%;padding:10px 11px;border:1px solid #c2d7ca;border-radius:9px;color:#215342;background:#fff;font:500 13px Inter,system-ui;min-width:0}
.tpwq-vendor-list{display:grid;gap:7px;max-height:210px;overflow:auto}
.tpwq-panel label.tpwq-checkrow{display:flex!important;flex-direction:row!important;gap:10px;align-items:center!important;padding:10px;border:1px solid #d9e8dd;border-radius:9px;background:#fdfefd;cursor:pointer}
.tpwq-checkrow input[type=checkbox]{display:block!important;appearance:auto!important;width:17px!important;height:17px!important;flex:0 0 17px!important;accent-color:#277e64;margin:0!important}
.tpwq-checkrow span{display:flex;flex-direction:column;gap:4px;min-width:0}
.tpwq-checkrow b{font-size:12px;overflow-wrap:anywhere}
.tpwq-checkrow small{font-size:11px;color:#779184;overflow-wrap:anywhere}
.tpwq-checkrow:has(input:checked){background:#e9f7ef!important;border-color:#389477!important}
.tpwq-btn{cursor:pointer;display:inline-flex;align-items:center;justify-content:center;padding:10px 13px;background:#fff;color:#1d684e;font:760 12px Inter,system-ui;border:1px solid #bdd7c7;border-radius:9px;min-height:39px;text-decoration:none}
.tpwq-btn.primary{background:#1b765a;color:#fff;border-color:#1b765a}
.tpwq-btn:hover:not(:disabled){filter:brightness(.94)}.tpwq-btn:disabled{opacity:.5;cursor:wait}
.tpwq-section-heading{display:flex;justify-content:space-between;gap:8px;align-items:center;margin:20px 0 10px}
.tpwq-section-heading span{color:#729084;font-size:11px}
.tpwq-quotes{display:grid;gap:9px}
.tpwq-quote-title{display:flex;justify-content:space-between;gap:9px;align-items:center}
.tpwq-quote-title strong{font-size:13px;overflow-wrap:anywhere}
.tpwq-tag{border:1px solid #cae1d3;background:#ecf6ee;border-radius:15px;padding:5px 8px;font-size:10px;font-weight:770;color:#2a7454;white-space:nowrap}
.tpwq-price{font-size:21px;font-weight:820;color:#1a654b;margin:8px 0;font-variant-numeric:tabular-nums}
.tpwq-quote p{font-size:12px;line-height:1.6;color:#59786c}
.tpwq-empty,.tpwq-info,.tpwq-msg,.tpwq-error{padding:13px;border-radius:10px;font-size:12px;line-height:1.6;margin:12px 0}
.tpwq-empty{background:white;border:1px dashed #cee1d5;color:#638073}
.tpwq-info{background:#edf6f0;color:#286c4d}
.tpwq-msg:empty{display:none}
.tpwq-msg.ok,.tpwq-success{background:#e4f5e9;color:#205f40;padding:14px;border-radius:10px;border:1px solid #c2dfcb}
.tpwq-msg.bad,.tpwq-error{background:#fff0ee;color:#983b33;border:1px solid #e9c9c3}
.tpwq-foot{font-size:11px;color:#6d887b;line-height:1.6;margin-top:15px}
.tpwq-public{min-height:72vh;background:#f4f8f5;padding:35px 12px 70px}
.tpwq-public-card{max-width:720px;background:white;border-radius:16px;border:1px solid #d8e9dd;padding:clamp(20px,4vw,37px);margin:auto}
.tpwq-public h1{font:600 clamp(29px,4vw,38px) Georgia,serif;color:#1f5941;margin:12px 0}
.tpwq-public-card>p{font-size:14px;color:#668073;line-height:1.7}
.tpwq-summary{background:#fafdfa;border:1px solid #dce9dd;border-radius:12px;padding:18px;margin:17px 0}
.tpwq-summary h2{font-size:21px;color:#235b43;margin:0 0 9px}
.tpwq-summary p{font-size:13px;color:#60776d;line-height:1.65}
.tpwq-large{font-size:34px;font-weight:840;color:#1d654b;margin:14px 0;font-variant-numeric:tabular-nums}
.tpwq-buttons{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin:10px 0}
.tpwq-public footer{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;border-top:1px solid #e0ece4;padding-top:16px;margin-top:24px;font-size:11px;color:#779083}
.tpwq-public footer a{color:#277e5d;text-decoration:none;font-weight:740}
@media(max-width:650px){.tpwq-steps{grid-template-columns:1fr 1fr}.tpwq-module{padding:13px}.tpwq-buttons .tpwq-btn{flex:1 1 125px}}
@media(max-width:420px){.tpwq-steps{grid-template-columns:1fr}.tpwq-quote-title{flex-wrap:wrap}.tpwq-public-card{padding:17px}}
.tpwq-reference{font-size:11px!important;font-weight:800;color:#267149}
.tpwq-legacy{background:#f1f7f1;border:1px solid #d0e1d2;border-radius:11px;padding:14px;margin:14px 0}
.tpwq-legacy h5{font-size:14px;color:#236449;margin:0 0 7px;font-weight:820}
.tpwq-legacy p{font-size:12px;line-height:1.6;color:#58735d}
.tpwq-legacy form{display:grid;gap:11px}
.tpwq-legacy label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:700;color:#2c664b}
.tpwq-legacy select,.tpwq-legacy textarea{padding:10px;border:1px solid #c6d8ca;background:#fff;border-radius:9px;font:500 12px Inter,system-ui;width:100%}
.tpwq-legacy label.tpwq-attest{display:flex!important;flex-direction:row!important;gap:9px;align-items:flex-start!important;line-height:1.5}
.tpwq-legacy .tpwq-attest input[type=checkbox]{display:block!important;appearance:auto!important;width:17px!important;min-width:17px!important;height:17px!important;flex:0 0 17px!important;margin:1px 0!important;accent-color:#287849}
.tpwq-attest span{min-width:0}

/* Multiple independent quote options and side-by-side owner review */
.tpwq-option-title{font-size:12px!important;font-weight:820!important;color:#246042!important;margin:9px 0 3px!important;line-height:1.5!important}
.tpwq-review-warning{font-size:11.5px!important;line-height:1.65!important;color:#845926!important;background:#fff8e8!important;border:1px solid #e8d3a8!important;padding:11px 13px!important;border-radius:9px!important;margin:9px 0!important}
.tpwq-quote-shared{color:#2e7451!important;background:#eff8f0!important;border:1px solid #c6e1ce!important;border-radius:8px!important;font-size:11px!important;font-weight:800!important;padding:8px 11px!important;display:inline-block!important}
.tpwq-review-form{border:1px solid #e8d9b5;border-radius:10px;background:#fffdf6;padding:12px;margin:12px 0;display:grid;gap:10px}
.tpwq-review-form label{display:flex;flex-direction:column;gap:6px;font-size:11px;font-weight:760;color:#655d45}
.tpwq-review-form input,.tpwq-review-form textarea{width:100%;min-height:37px;border:1px solid #d5cbb4;border-radius:8px;padding:10px;background:#fff;color:#3b4c37;font-size:12px}
.tpwq-review-form button{justify-self:start}
.tpwq-share-check{display:flex!important;align-items:center!important;gap:9px!important;padding:11px 12px!important;border:1px solid #b8d5c0!important;border-radius:9px!important;background:#f2f9f4!important;margin:12px 0!important;cursor:pointer!important}
.tpwq-share-check:has(input:checked){background:#e1f4e6!important;border-color:#73b88a!important}
.tpwq-share-check input[type=checkbox]{display:block!important;appearance:auto!important;width:17px!important;height:17px!important;min-width:17px!important;accent-color:#2d8150;flex:0 0 17px!important;margin:0!important}
.tpwq-share-check span{font-size:11.5px;color:#286143;font-weight:800}
.tpwq-multi-share{display:flex;justify-content:space-between;align-items:center;gap:15px;flex-wrap:wrap;padding:14px 16px;margin:12px 0 14px;border-radius:12px;border:1px solid #b9dcc4;background:#eff9f2}
.tpwq-multi-share strong{font-size:13px;color:#215b40;font-weight:850}
.tpwq-multi-share p{max-width:560px;color:#62806a;font-size:11.5px;line-height:1.65;margin:7px 0}
.tpwq-multi-share #tpwqSelectedCount{font-size:11px;font-weight:820;color:#2c7e52}
.tpwq-multi-buttons{display:flex;gap:8px;flex-wrap:wrap}
.tpwq-multi-buttons button{min-height:39px}
.tpwq-quote{min-width:0}
@media(max-width:650px){.tpwq-multi-share{align-items:stretch;flex-direction:column;padding:12px}.tpwq-multi-buttons{flex-direction:column}.tpwq-multi-buttons button{width:100%}.tpwq-review-form button{width:100%}}

/* Secure quote revision, soft deletion and restoration controls */
.tpwq-quote-controls{border-top:1px solid #e0ebe3;margin-top:13px;padding-top:13px;display:flex;flex-direction:column;gap:10px}
.tpwq-edit-quote{border:1px solid #c6dfce;background:#f7fcf8;border-radius:11px;padding:10px 12px;min-width:0}
.tpwq-edit-quote summary{cursor:pointer;color:#216b48;font-size:12px;font-weight:850;padding:5px 0}
.tpwq-edit-quote[open] summary{border-bottom:1px solid #d9eadd;margin-bottom:12px}
.tpwq-edit-quote form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.tpwq-edit-quote label{display:flex;flex-direction:column;gap:6px;font-size:11px;font-weight:760;color:#416b4e;min-width:0}
.tpwq-edit-quote label.full{grid-column:1/-1}
.tpwq-edit-quote form input,.tpwq-edit-quote form select,.tpwq-edit-quote form textarea{width:100%;border:1px solid #bbd8c5;border-radius:9px;background:#fff;color:#31583e;padding:10px;font-size:12px;min-height:39px}
.tpwq-edit-quote form textarea{min-height:86px;line-height:1.55;resize:vertical}
.tpwq-edit-quote form .tpwq-btn{grid-column:1/-1;justify-self:start}
.tpwq-edit-note{font-size:10.5px!important;color:#718376!important;line-height:1.65!important;margin:8px 0!important}
.tpwq-edit-locked{font-size:11px!important;color:#80652c!important;line-height:1.6!important;border:1px solid #eadcb7!important;background:#fffaeb!important;padding:11px!important;border-radius:9px!important}
.tpwq-quote-controls .tpwq-btn.danger{background:#fff7f5!important;color:#a94b39!important;border:1px solid #e9c5b9!important;align-self:flex-start}
.tpwq-deleted{border:1px solid #d8e4dc;border-radius:11px;background:#fafbfa;padding:13px;margin:18px 0}
.tpwq-deleted summary{cursor:pointer;color:#3d694b;font-size:12px;font-weight:850}
.tpwq-deleted-item{border-top:1px solid #e4eae5;padding:12px 2px;display:flex;justify-content:space-between;gap:14px;align-items:center;flex-wrap:wrap}
.tpwq-deleted-item strong{font-size:12px;color:#3b5f46}
.tpwq-deleted-item p{font-size:11px;color:#788779;margin:4px 0}
.tpwq-deleted-item button{white-space:nowrap}
@media(max-width:680px){.tpwq-edit-quote form{grid-template-columns:1fr}.tpwq-edit-quote label.full,.tpwq-edit-quote form .tpwq-btn{grid-column:auto}.tpwq-edit-quote form .tpwq-btn{width:100%}.tpwq-quote-controls .tpwq-btn.danger{width:100%}}
