/* The approved contractor canvas, with live text and the same two paths. */
.contractor-demo{--flow-line:#839dc3;--flow-card:#f9fbff;--flow-card-ink:#112742;--flow-soft:#dce8ff;--flow-active:#3b7dff;background:var(--task-navy);color:#f7f9ff}
.contractor-demo__viewport{overflow-x:auto;overscroll-behavior-x:contain;scrollbar-color:#6489bd #122742}
.contractor-demo__viewport:focus-visible{outline:3px solid #86b2fb;outline-offset:-3px}
.contractor-demo__board{min-width:1180px;background-image:radial-gradient(#204065 1px,transparent 1px);background-size:22px 22px}
.contractor-demo__header{display:flex;align-items:center;gap:24px;min-height:64px;padding:15px 25px;border-bottom:1px solid #35506f;background:#07162a}
.contractor-demo__brand{display:flex;align-items:center;gap:9px;flex:none}
.contractor-demo__brand svg{fill:none;stroke:none}
.contractor-demo__brand .contractor-demo__brand-symbol{width:33px;height:28px}
.contractor-demo__brand .contractor-demo__brand-name{width:160px;height:34px}
.contractor-demo__title{border-left:1px solid #6a8ab2;padding-left:24px;color:#b7d0ff;font:500 12px/1.5 var(--font-mono);letter-spacing:.07em;text-transform:uppercase}
.contractor-demo__tag{margin-left:auto;color:#a9c3e8;font:500 10px/1.5 var(--font-mono);letter-spacing:.08em;text-transform:uppercase}
.contractor-demo__canvas{position:relative;aspect-ratio:1672/850}
.contractor-demo .contractor-demo__connections{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}
.contractor-demo__connections [data-contractor-wire]{fill:none;stroke:var(--flow-line);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;opacity:.75;vector-effect:non-scaling-stroke}
.flow-card{position:absolute;z-index:1;min-width:0;padding:12px;background:var(--flow-card);color:var(--flow-card-ink);border:1px solid #c7d8ee;border-radius:8px;box-shadow:0 2px 0 #213c5d;font-size:15px;line-height:1.4}
.flow-card h4,.flow-card h5{font-size:17px;line-height:1.2;font-weight:700;letter-spacing:-.025em;margin:0}
.flow-card p{margin:5px 0 0;font-size:15px;line-height:1.4;color:#385477}
.flow-card__label{display:block;margin:0 0 5px;color:#456392;font:500 10px/1.3 var(--font-mono);letter-spacing:.06em;text-transform:uppercase}
.flow-card__heading{display:flex;align-items:flex-start;gap:10px}
.flow-card__heading>div{min-width:0}
.flow-card__heading>svg{width:24px;height:24px;padding:3px;box-sizing:content-box;border-radius:5px;background:#e7efff;color:#185cd5}
.flow-card__agent{width:30px;height:39px;flex:none;border-radius:9px;object-fit:cover;object-position:50% 4%;background:#e1e9f4}
.flow-card__badge{position:absolute;left:20%;top:-15px;padding:4px 11px;border:1px solid #eed9b5;border-radius:20px;background:#fff1d9;color:#805014;font-size:11px;line-height:1.4;font-weight:700;white-space:nowrap}
.flow-card--request{left:10.3%;top:7%;width:20%}
.flow-card--review{left:8.9%;top:28.5%;width:18.5%}
.flow-card--estimates{left:2.3%;top:48.6%;width:23.5%}
.flow-card--followup{left:29.1%;top:45.2%;width:16.8%}
.flow-card--draft{left:48%;top:45.2%;width:15%}
.flow-card--owner{left:31.1%;top:71.1%;width:14%}
.flow-card--followup-result{left:31.1%;top:84.1%;width:14.5%}
.flow-card--trigger{left:67.3%;top:7%;width:19.4%}
.flow-card--customer-reply{left:71.2%;top:21.5%;width:14%}
.flow-card--schedule{left:64.9%;top:44.7%;width:16.8%}
.flow-card--times{left:83.6%;top:43.3%;width:14.2%}
.flow-card--time-owner{left:68.1%;top:71.1%;width:14.5%}
.flow-card--time-result{left:68.1%;top:84.1%;width:18.5%}
.flow-card--request,.flow-card--trigger{padding-top:18px}
.flow-card--request h4,.flow-card--trigger h4{font-size:16px}
.flow-card--request p,.flow-card--trigger p{font-size:14px}
.flow-card--review p{font-size:14px}
.flow-card--customer-reply{padding:9px 10px}
.flow-card--customer-reply p{font-size:14px;margin:0;color:var(--flow-card-ink)}
.flow-card--customer-reply .flow-card__heading{gap:7px;align-items:center}
.flow-card--customer-reply svg{width:17px;height:17px;padding:2px}
.flow-estimates{width:100%;border-collapse:collapse;font-size:14px}
.flow-estimates td,.flow-estimates th{padding:6px 4px;border-bottom:1px solid #d5e0ef;vertical-align:middle}
.flow-estimates tbody th{padding-left:0;font-size:15px;font-weight:500}
.flow-estimates td:nth-child(2){color:#385477}
.flow-estimates td:last-child{text-align:right;white-space:nowrap;font-size:12px;color:#425c82}
.flow-estimates td:last-child::before{content:"";display:inline-block;width:6px;height:6px;margin-right:4px;border-radius:50%;background:#7989ff}
.flow-card--estimates>p{font-size:12px;color:#526987;margin-top:9px}
.flow-card--draft h5,.flow-card--times h5{font-size:16px}
.flow-card--draft>p{margin:9px 0;padding:9px;background:#edf2fa;border-radius:4px;font-size:15px;color:#244466}
.flow-card__pending{display:flex;align-items:center;gap:6px;padding:6px 7px;background:#fff1d9;border:1px solid #f0d6b1;border-radius:4px;color:#86500d;font-size:12px;line-height:1.35}
.flow-card__pending svg{width:14px;height:14px}
.flow-card--owner,.flow-card--time-owner{padding:10px 12px}
.flow-card--owner strong,.flow-card--time-owner strong{display:block;font-size:14px;line-height:1.35;font-weight:700}
.flow-card--followup-result,.flow-card--time-result{padding:10px 12px}
.flow-card--followup-result strong,.flow-card--time-result strong{display:block;font-size:16px;line-height:1.25;font-weight:700;letter-spacing:-.015em}
.flow-card--times{padding:11px}
.flow-card--times>p{font-size:14px;margin:8px 0}
.flow-times__slots{display:flex;flex-wrap:wrap;gap:5px;margin-top:9px}
.flow-times__slots span{padding:5px 4px;border-radius:3px;background:#e1e7ff;color:#1b4bcc;font-size:12px;font-weight:700;line-height:1.4;white-space:nowrap}
.contractor-demo[data-step="0"] .flow-card--review,.contractor-demo[data-step="1"] .flow-card--followup,.contractor-demo[data-step="2"] .flow-card--schedule{border-color:#3b7dff;box-shadow:0 0 0 2px #3b7dff}
.contractor-demo[data-step="0"] [data-wire-stage="0"],.contractor-demo[data-step="1"] [data-wire-stage="1"],.contractor-demo[data-step="2"] [data-wire-stage="2"]{stroke:#4b90ff;opacity:1}
.contractor-demo[data-running="true"][data-step="0"] [data-wire-stage="0"],.contractor-demo[data-running="true"][data-step="1"] [data-wire-stage="1"],.contractor-demo[data-running="true"][data-step="2"] [data-wire-stage="2"]{stroke-dasharray:5 8;animation:contractor-flow .7s linear infinite}
.contractor-demo__scroll-hint{display:none;margin:0;padding:11px 17px;border-top:1px solid #38516f;color:#b9cde9;font-size:12px}
@keyframes contractor-flow{to{stroke-dashoffset:-26}}
@media(max-width:1279px){.contractor-demo__scroll-hint{display:block}.contractor-demo__title{font-size:11px}.contractor-demo__tag{font-size:9px}}
@media(prefers-reduced-motion:reduce){.contractor-demo [data-contractor-wire]{animation:none!important}}

.flow-estimates th{text-align:left;background:transparent}.flow-estimates__head{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
