/* TenantPeach — work order vendor quote visit scheduling */
.tpqv-root,.tpqv-root *{box-sizing:border-box}
.tpqv-root{font-family:Inter,system-ui,-apple-system,sans-serif;margin:6px 0 25px;color:#28533a}
.tpqv-heading,.tpqv-panel-head{display:flex;gap:15px;justify-content:space-between;align-items:flex-start;flex-wrap:wrap}
.tpqv-heading h2{font:600 clamp(20px,2.4vw,27px)/1.2 Georgia,serif;color:#1c5037;margin:7px 0}
.tpqv-heading p,.tpqv-panel-head p{font-size:12px;line-height:1.7;color:#698171;margin:0 0 12px;max-width:780px}
.tpqv-eyebrow{font-size:10px;font-weight:850;letter-spacing:.14em;color:#2d8555}
.tpqv-btn{min-height:39px;border-radius:9px;padding:9px 13px;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;border:1px solid #bedbca;background:#fff;color:#2a6848;font-size:11px;font-weight:760;text-decoration:none}
.tpqv-btn.primary{background:#216f4d;border-color:#216f4d;color:#fff}
.tpqv-btn.neutral{background:#fff}
.tpqv-btn.danger{background:#fff8f5;border-color:#e1c9bf;color:#9f4d37}
.tpqv-btn:hover:not(:disabled){filter:brightness(.96)}
.tpqv-btn:disabled{opacity:.55;cursor:wait}
.tpqv-btn:focus-visible,.tpqv-form input:focus-visible,.tpqv-form select:focus-visible{outline:3px solid #9bcda6;outline-offset:3px}
.tpqv-feedback{min-height:0;color:#296c47;font-size:11.5px;line-height:1.65;margin:11px 0}
.tpqv-feedback:not(:empty){background:#eef8f0;border:1px solid #cce6d3;border-radius:9px;padding:10px 13px}
.tpqv-feedback.bad{background:#fff5ed;border-color:#f0d2ba;color:#8a5932}
.tpqv-panel,.tpqv-list{background:#fff;border:1px solid #d6e7db;border-radius:14px;padding:20px;margin:14px 0}
.tpqv-panel-head h3,.tpqv-list-head h3{font:600 20px Georgia,serif;color:#205339;margin:0 0 9px}
.tpqv-form{display:grid;gap:13px;margin-top:13px}
.tpqv-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.tpqv-fields label{display:flex;flex-direction:column;gap:7px;font-size:11.5px;font-weight:800;color:#3c674a;min-width:0}
.tpqv-fields input,.tpqv-fields select{width:100%;min-height:43px;border:1px solid #bfdac8;border-radius:9px;padding:10px;background:white;color:#28553d;font-size:12px}
.tpqv-fields #tpqvManualVendor[hidden]{display:none}
.tpqv-timezone{margin:2px 0 0;color:#698171;font-size:11px}
.tpqv-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.tpqv-list-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:15px}
.tpqv-list-head span{font-size:11px;font-weight:800;color:#397754}
.tpqv-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(255px,1fr));gap:13px}
.tpqv-visit{border:1px solid #d1e5d8;border-radius:12px;background:#fafdfa;padding:17px;display:flex;flex-direction:column;gap:10px;min-width:0}
.tpqv-visit.cancelled{background:#fafafa;border-color:#e0e4e0}
.tpqv-visit-top{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;flex-wrap:wrap}
.tpqv-visit h3{font:600 17px Georgia,serif;color:#26583e;margin:8px 0 5px}
.tpqv-service{font-size:11px;color:#5b7965;line-height:1.5;margin:0;overflow-wrap:anywhere}
.tpqv-date{font-size:11px;font-weight:800;color:#2a6747;flex:1 1 120px;text-align:right}
.tpqv-pill{font-size:10px;font-weight:800;background:#e6f5e9;border:1px solid #c3dfcd;border-radius:7px;padding:5px 9px;color:#2a704a}
.tpqv-pill.cancelled{background:#f2f2f2;color:#777;border-color:#dfdfdf}
.tpqv-time{margin:2px 0;color:#20543a;font-size:15px;font-weight:850;white-space:normal}
.tpqv-time span{font-size:10px;font-weight:620;color:#658271}
.tpqv-visit-footer{margin-top:auto;display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap}
.tpqv-visit-footer small{font-size:10px;color:#82958a}
.tpqv-visit-footer .tpqv-btn{min-height:34px;padding:7px 10px}
.tpqv-empty{border:1px dashed #c8decf;padding:16px;border-radius:10px;font-size:12px;color:#688272;background:#f8fbf9}
.tpqv-previous{margin-top:15px;font-size:12px;color:#60816a}
.tpqv-previous summary{padding:11px;cursor:pointer;font-weight:770}
.tpqv-previous .tpqv-cards{padding-top:8px}
.tpqv-fine{font-size:10.5px;line-height:1.7;color:#718575;margin:14px 0 0}
.tpqv-error{background:#fff2ee;color:#a24e37;border:1px solid #edc6b8;padding:13px;border-radius:10px;font-size:12px}
@media(max-width:890px){.tpqv-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:590px){.tpqv-panel,.tpqv-list{padding:13px}.tpqv-fields{grid-template-columns:1fr}.tpqv-cards{grid-template-columns:1fr}.tpqv-date{text-align:left}.tpqv-form .tpqv-actions{flex-direction:column;align-items:stretch}.tpqv-form .tpqv-btn{width:100%}}
.tpqv-history-list{display:grid;gap:9px;margin:9px 0 5px}.tpqv-history-item{display:grid;gap:5px;border-left:3px solid #b6d9c0;background:#f5fbf6;border-radius:0 8px 8px 0;padding:12px}.tpqv-history-item strong{font-size:12px;color:#275c40}.tpqv-history-item span,.tpqv-history-item small{font-size:10.5px;color:#647a6b;line-height:1.5}

.tpqv-purpose{font-size:11px;line-height:1.55;margin:9px 0 0;color:#256747;display:inline-flex;flex-wrap:wrap;gap:5px;align-items:center;background:#e9f6ed;border:1px solid #c3e2cd;padding:6px 9px;border-radius:8px}
.tpqv-purpose span{font-weight:650;color:#577c64}
.tpqv-purpose strong{font-weight:900;color:#1d6640}
.tpqv-repair-note{font-size:11px;line-height:1.7;background:#fff8e7;border:1px solid #e6d1a5;border-radius:9px;padding:10px 12px;color:#7d612e;margin:0}
.tpqv-repair-note[hidden]{display:none}
