/* Scoped dispatcher UI. No effect on existing warehouse, cart or cabinet pages. */
.dispatch-public,.dispatch-workspace{--dispatch-ink:#152f40;--dispatch-muted:#4c6470;--dispatch-line:#cddde5;--dispatch-accent:#096659;color:var(--dispatch-ink);font-family:Arial,sans-serif;font-size:16px;line-height:1.65;overflow-wrap:anywhere}
.dispatch-public{max-width:1240px;margin:0 auto;padding:52px 28px 72px}.dispatch-workspace{max-width:1400px;margin:0 auto;background:#f4f8fa;border-radius:18px;padding:24px}
.dispatch-public *,.dispatch-workspace *{box-sizing:border-box;min-width:0}
.dispatch-intro{max-width:850px;margin-bottom:32px}.dispatch-intro h1{font-size:clamp(30px,4.2vw,54px);line-height:1.14;letter-spacing:-.035em;color:#152f40;margin:12px 0 20px}.dispatch-intro>p:last-child{max-width:700px;font-size:18px;color:#4c6470}
.dispatch-eyebrow{font-size:12px;letter-spacing:.13em;text-transform:uppercase;font-weight:750;color:#096659;margin:0 0 8px}
.dispatch-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(290px,1fr);gap:24px;align-items:start}
.dispatch-card{background:#fff;border:1px solid var(--dispatch-line);border-radius:18px;padding:26px;margin-bottom:22px;box-shadow:0 8px 25px rgba(16,48,65,.035)}
.dispatch-card h2{font-size:23px;line-height:1.3;margin:14px 0 20px;color:#152f40}.dispatch-card h3{color:#152f40}.dispatch-card p{color:#314f5f}.dispatch-card a,.dispatch-workspace a{color:#075d54;text-decoration:underline;text-underline-offset:3px}
.dispatch-pill{display:inline-flex;border-radius:30px;padding:5px 11px;background:#e5f4ed;color:#075344;font-weight:700;font-size:12px}
.dispatch-form p{margin:0 0 18px}.dispatch-form label{display:block;font-size:15px;font-weight:700;line-height:1.5;margin-bottom:8px;color:#17384b}.dispatch-form input:not([type=hidden]):not([type=checkbox]),.dispatch-form textarea,.dispatch-form select{display:block;width:100%;max-width:100%;min-height:48px;border:1px solid #9cb6c3;border-radius:9px;background:#fff;color:#152f40;padding:12px;font:inherit;font-size:16px;line-height:1.4}.dispatch-form textarea{resize:vertical}.dispatch-form input[type=checkbox]{width:20px;height:20px;accent-color:#096659;vertical-align:middle}.dispatch-form input[type=hidden]{display:none}
.dispatch-form button,.dispatch-link{display:inline-flex;align-items:center;justify-content:center;gap:6px;max-width:100%;min-height:48px;border:1px solid #096659;border-radius:9px;background:#096659;color:#fff;padding:11px 18px;font:inherit;font-weight:700;line-height:1.4;text-align:center;cursor:pointer;text-decoration:none}
.dispatch-workspace .dispatch-link{color:#fff;text-decoration:none}.dispatch-form>a{display:inline-block;margin:15px 0 0;font-size:14px}.dispatch-form button:hover{background:#064b42}.dispatch-form .dispatch-secondary{background:#fff;color:#075d54}
.dispatch-form :is(input,textarea,select,button):focus-visible,.dispatch-workspace a:focus-visible,.dispatch-public a:focus-visible{outline:3px solid #d39322;outline-offset:3px}
.dispatch-muted{color:#4c6470;font-size:14px}.dispatch-alert{background:#eef7fa;border:1px solid #a8cdd7;border-left:4px solid #096659;border-radius:10px;padding:16px 18px;color:#123c4a;margin:15px 0 24px}.dispatch-form .errorlist{padding:12px 20px;background:#fff2ef;color:#842f20;border-radius:8px}
.dispatch-steps{list-style:none;counter-reset:step;padding:0;margin:0}.dispatch-steps li{counter-increment:step;position:relative;padding:14px 0 20px 46px;border-bottom:1px solid #e0e9ee}.dispatch-steps li:last-child{border:0;padding-bottom:0}.dispatch-steps li:before{content:counter(step);position:absolute;left:0;top:16px;display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#e5f4ed;color:#075344;font-weight:700}.dispatch-steps span{display:block;color:#4c6470;font-size:14px}
.dispatch-conversation{display:grid;gap:14px;margin:24px 0}.dispatch-message{padding:14px 18px;border-radius:14px;background:#edf5f8;max-width:95%}.dispatch-message strong{font-size:12px;color:#496572}.dispatch-message p{margin:4px 0 0;font-size:15px;white-space:normal}.dispatch-message-customer{margin-left:24px;background:#eaf4ee}.dispatch-facts{display:grid;grid-template-columns:minmax(90px,.7fr) minmax(0,2fr);gap:12px 16px;margin:22px 0}.dispatch-facts dt{color:#4c6470;font-size:14px}.dispatch-facts dd{margin:0;color:#17384b;white-space:pre-line}
.dispatch-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:16px 0}.dispatch-heading h1{font-size:clamp(28px,3vw,40px);line-height:1.2;color:#152f40;margin:0}.dispatch-tabs{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:18px 0 24px}.dispatch-tabs a{display:inline-flex;align-items:center;min-height:44px;padding:8px 13px;border:1px solid #adc6d0;border-radius:8px;background:#fff;text-decoration:none;font-weight:700;font-size:14px}
.dispatch-filter{display:flex;align-items:end;flex-wrap:wrap;gap:16px}.dispatch-filter>div{flex:1 1 220px}.dispatch-filter>button{flex:0 1 auto}.dispatch-queue{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.dispatch-queue>.dispatch-card{margin:0}.dispatch-row{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;font-size:13px}
.dispatch-history{padding:0;list-style:none}.dispatch-history li{padding:14px 0;border-bottom:1px solid #dbe5eb;font-size:14px}.dispatch-history time{color:#4c6470;margin-right:6px}.dispatch-shifts{padding:0;list-style:none}.dispatch-shifts li{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 0;border-top:1px solid #dbe5eb}.dispatch-shifts p{margin:4px 0 0;font-size:14px}
.dispatch-week{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.dispatch-day{border-radius:14px;padding:18px;background:#edf3f6;border:1px solid #cadce5}.dispatch-day h2{font-size:18px;color:#152f40;margin:0 0 18px}.dispatch-appointment{border:1px solid #c5d8d3;border-left:4px solid #096659;background:#fff;border-radius:9px;padding:16px;margin-bottom:14px}.dispatch-appointment h3{font-size:17px;line-height:1.4;color:#152f40;margin:8px 0}.dispatch-appointment p{font-size:14px;color:#4c6470;margin:5px 0}.dispatch-appointment .dispatch-slot{font-size:15px;color:#075344;font-weight:700}
@media(max-width:900px){.dispatch-layout{grid-template-columns:1fr}.dispatch-side{display:grid;grid-template-columns:1fr 1fr;gap:18px}.dispatch-week{grid-template-columns:repeat(2,minmax(0,1fr))}.dispatch-heading{align-items:start;flex-direction:column}}
@media(max-width:600px){.dispatch-public{padding:30px 16px 45px}.dispatch-card{padding:20px 16px;border-radius:13px}.dispatch-side,.dispatch-queue,.dispatch-week{grid-template-columns:1fr}.dispatch-intro>p:last-child{font-size:16px}.dispatch-facts{grid-template-columns:1fr;gap:4px}.dispatch-facts dd{margin-bottom:13px}.dispatch-form button{width:100%}.dispatch-shifts li{display:block}.dispatch-shifts form{margin-top:12px}.dispatch-message-customer{margin-left:12px}.dispatch-heading>.dispatch-link{width:100%}.dispatch-tabs{gap:8px}.dispatch-filter>button{width:100%}}
