.hal-plumber-demo{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#092541}
.hal-mode-switch{display:flex;align-items:center;gap:6px;width:max-content;margin:0 0 22px;padding:5px;border:1px solid #dce9f0;border-radius:999px;background:#fff;box-shadow:0 8px 22px rgba(5,36,70,.06)}
.hal-mode-label{padding:0 9px 0 12px;color:#6a7b87;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}
.hal-mode-option{display:inline-flex;align-items:center;justify-content:center;padding:9px 14px;border-radius:999px;color:#092541;text-decoration:none;font-size:13px;font-weight:800}
.hal-mode-option.is-active{background:#052446;color:#fff}
.hal-plumber-intro{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:22px}
.hal-plumber-intro h2{margin:0 0 9px;color:#092541;font-size:clamp(30px,4vw,46px);line-height:1.05;letter-spacing:-.035em}
.hal-plumber-intro p:not(.hal-p-eyebrow){max-width:760px;margin:0;color:#526673;font-size:16px;line-height:1.6}
.hal-p-eyebrow{margin:0 0 9px;color:#078fbe;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.12em}
.hal-live-badge{flex:0 0 auto;padding:9px 13px;border-radius:999px;background:#e9fbf3;color:#13734f;font-size:12px;font-weight:900}
.hal-wc-warning{margin:0 0 18px;padding:14px 16px;border:1px solid #f0c7b6;border-radius:14px;background:#fff7f2;color:#7a3b23;font-size:14px;line-height:1.5}
.hal-plumber-grid{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.35fr);gap:18px}
.hal-job-request-card,.hal-ratebook-card{padding:24px;border:1px solid #dce9f0;border-radius:22px;background:#fff;box-shadow:0 10px 28px rgba(5,36,70,.055)}
.hal-card-topline{display:flex;justify-content:space-between;gap:16px;margin-bottom:18px;color:#70808c;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.1em}
.hal-card-topline strong{color:#078fbe}
.hal-job-request-card h3{margin:0 0 18px;color:#092541;font-size:26px}
.hal-request-details{display:grid;gap:0;margin:0 0 18px}
.hal-request-details>div{display:grid;grid-template-columns:90px 1fr;gap:12px;padding:10px 0;border-top:1px solid #e8eff3}
.hal-request-details>div:first-child{border-top:0;padding-top:0}
.hal-request-details dt{color:#7a8a95;font-size:12px;font-weight:800}
.hal-request-details dd{margin:0;color:#092541;font-size:14px;font-weight:700}
.hal-request-notes{padding:15px;border-radius:16px;background:#f4f9fc}
.hal-request-notes span{display:block;margin-bottom:5px;color:#70808c;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}
.hal-request-notes p{margin:0;color:#465c69;font-size:14px;line-height:1.55}
.hal-small-button{margin-top:14px;padding:9px 13px;border:1px solid #cfe0e9;border-radius:999px;background:#fff;color:#092541;font:800 12px/1.2 inherit;cursor:pointer}
.hal-rate-items{display:grid;gap:9px}
.hal-rate-item{padding:13px 14px;border:1px solid #dce9f0;border-radius:16px;background:#f9fcfd}
.hal-rate-item.is-selected{border-color:#7acbe8;background:#effaff;box-shadow:0 0 0 2px rgba(11,169,224,.08)}
.hal-rate-main{display:grid;grid-template-columns:22px 1fr auto;gap:11px;align-items:center;margin:0;cursor:pointer}
.hal-rate-main input{width:18px;height:18px;margin:0}
.hal-rate-copy strong,.hal-rate-copy small{display:block}
.hal-rate-copy strong{color:#092541;font-size:15px;line-height:1.3}
.hal-rate-copy small{margin-top:2px;color:#7a8a95;font-size:11px}
.hal-rate-price{color:#092541;font-size:14px;font-weight:900;white-space:nowrap}
.hal-inline-field{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin:10px 0 0 33px;color:#617581;font-size:12px;font-weight:800}
.hal-inline-field input[type="number"]{flex:0 0 88px!important;width:88px!important;min-width:88px!important;max-width:88px!important;height:34px!important;min-height:34px!important;margin:0!important;padding:4px 22px 4px 8px!important;border:1px solid #cbdde6;border-radius:8px;background:#fff;color:#092541;box-sizing:border-box;line-height:1.2}
.hal-job-summary{display:flex;justify-content:space-between;gap:18px;margin-top:14px;padding:16px 18px;border-radius:16px;background:#052446;color:#d8edf5}
.hal-job-summary>div{display:flex;flex-direction:column;gap:3px}
.hal-job-summary>div:last-child{text-align:right}
.hal-job-summary span{font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}
.hal-job-summary strong{color:#fff;font-size:18px}
.hal-create-actions{display:flex;align-items:center;gap:14px;margin-top:13px}
.hal-create-order{flex:0 0 auto;padding:13px 18px;border:0;border-radius:999px;background:#ff6b2c;color:#fff;font:900 14px/1.2 inherit;cursor:pointer;box-shadow:0 8px 20px rgba(255,107,44,.22)}
.hal-create-order:disabled{opacity:.45;cursor:not-allowed;box-shadow:none}
.hal-create-actions p{margin:0;color:#73848f;font-size:11.5px;line-height:1.4}
.hal-order-result{display:grid;grid-template-columns:64px 1fr;gap:20px;align-items:start;margin-top:18px;padding:26px;border:1px solid #b9e5d1;border-radius:22px;background:#f3fff9}
.hal-order-success{display:flex;align-items:center;justify-content:center;width:56px;height:56px;border-radius:50%;background:#14865b;color:#fff;font-size:28px;font-weight:900}
.hal-order-result h3{margin:0 0 7px;color:#092541;font-size:25px}
.hal-order-result-copy>p:not(.hal-p-eyebrow):not(.hal-next-note){margin:0;color:#506570;font-size:14px;line-height:1.55}
.hal-order-lines{margin-top:14px;border-top:1px solid #cfe7db}
.hal-order-line{display:flex;justify-content:space-between;gap:14px;padding:9px 0;border-bottom:1px solid #dceee5;color:#38534a;font-size:13px}
.hal-order-bottom{display:grid;grid-template-columns:1fr auto;align-items:center;gap:14px 18px;margin-top:14px}
.hal-order-bottom>strong{grid-column:2;grid-row:1;color:#092541;font-size:20px;text-align:right;white-space:nowrap}
.hal-order-actions{grid-column:1;grid-row:1;display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.hal-order-actions>*{display:inline-flex;align-items:center;justify-content:center;flex:0 0 210px;width:210px;min-height:48px;margin:0;padding:10px 16px;border-radius:999px;box-sizing:border-box;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;font-size:13px!important;font-weight:800!important;line-height:1.2!important;letter-spacing:0!important;text-align:center;text-transform:none!important}
.hal-view-invoice{border:1px solid transparent;background:#ff6b2c;color:#fff!important;text-decoration:none;box-shadow:0 6px 16px rgba(255,107,44,.18)}
.hal-view-invoice:hover{background:#e85d23;color:#fff!important}
.hal-delete-order{appearance:none;border:1px solid #c4d9cf;background:#fff;color:#315749;cursor:pointer}
.hal-next-note{margin:14px 0 0;padding-top:14px;border-top:1px solid #cfe7db;color:#38534a;font-size:13px;line-height:1.55}
@media(max-width:849px){.hal-plumber-grid{grid-template-columns:1fr}.hal-plumber-intro{flex-direction:column}.hal-live-badge{align-self:flex-start}}
@media(max-width:549px){.hal-mode-switch{width:100%;box-sizing:border-box}.hal-mode-label{display:none}.hal-mode-option{flex:1}.hal-job-request-card,.hal-ratebook-card{padding:18px}.hal-rate-main{grid-template-columns:22px 1fr}.hal-rate-price{grid-column:2}.hal-inline-field{margin-left:0;justify-content:space-between}.hal-job-summary,.hal-create-actions{flex-direction:column;align-items:stretch}.hal-job-summary>div:last-child{text-align:left}.hal-order-result{grid-template-columns:1fr}.hal-order-bottom{display:flex;flex-direction:column;align-items:stretch}.hal-order-bottom>strong{text-align:right}.hal-order-actions{display:grid;grid-template-columns:1fr}.hal-order-actions>*{width:100%;min-width:0;max-width:none;flex-basis:auto}}

/* v0.1.1 — one cohesive Customer / Plumber switch across the whole demo. */
.hal-global-modebar{width:100%;background:#eef7fb;border-bottom:1px solid #d7e6ee;box-sizing:border-box}
.hal-global-modebar-inner{display:flex;align-items:center;justify-content:center;gap:7px;max-width:1180px;margin:0 auto;padding:10px 28px;box-sizing:border-box;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.hal-global-modebar-label{margin-right:4px;color:#667985;font-size:11px;font-weight:900;letter-spacing:.1em;text-transform:uppercase}
.hal-global-modebar-option{display:inline-flex;align-items:center;justify-content:center;min-width:126px;padding:9px 15px;border:1px solid #cfe0e9;border-radius:999px;background:#fff;color:#092541;text-decoration:none;font-size:13px;font-weight:850;line-height:1.2;box-shadow:0 4px 12px rgba(5,36,70,.04)}
.hal-global-modebar-option:hover{border-color:#86cde6;color:#078fbe}
.hal-global-modebar-option.is-active{border-color:#052446;background:#052446;color:#fff;box-shadow:0 6px 16px rgba(5,36,70,.16)}
@media(max-width:549px){.hal-global-modebar-inner{padding:9px 16px}.hal-global-modebar-label{display:none}.hal-global-modebar-option{flex:1;min-width:0;padding:10px 12px}.hal-global-modebar{position:relative;z-index:3}}
