/* Stable field rows, compact chemistry and shared CrewTend typography. */
.daycards .schedule70,.routedensity .routecards .schedule70,.map-selection66 .schedule70{grid-template-columns:22px minmax(0,1fr) auto 36px!important;grid-template-rows:auto auto auto auto!important;gap:5px 8px!important;padding:12px!important}
.schedule70 h2.client-name67{grid-column:2!important;grid-row:1!important;padding:0!important;font-size:16px!important;line-height:24px!important}
.schedule70 .job-status67{grid-column:3!important;grid-row:1!important;align-self:baseline!important;justify-self:end;white-space:nowrap;font-size:12px;line-height:24px}
.schedule70 .rowaddress{grid-column:2/4!important;grid-row:2!important}.schedule70 .rowjob{grid-column:2/4!important;grid-row:3!important}.schedule70 .rowappointment{grid-column:2/4!important;grid-row:4!important}.schedule70 .rowdirections{grid-column:4!important;grid-row:2/4!important;align-self:center!important}
.daycards .schedule70.finished,.routedensity .routecards .schedule70.finished,.map-selection66 .schedule70.finished{width:70%!important;box-sizing:border-box!important;grid-template-columns:16px minmax(0,1fr) minmax(0,1fr) 28px!important;grid-template-rows:auto!important;align-items:center!important;gap:5px!important;padding:5px 8px!important;min-height:44px!important;margin-inline:auto!important}
.schedule70.finished h2.client-name67,.schedule70.finished .rowjob{font-size:13px!important;line-height:20px!important;margin:0!important;overflow:hidden;white-space:nowrap;display:block!important;text-overflow:ellipsis;min-width:0;padding:0!important}.schedule70.finished h2.client-name67{grid-column:2!important;grid-row:1!important}.schedule70.finished .rowjob{grid-column:3!important;grid-row:1!important;text-align:right!important;font-weight:400!important}.schedule70.finished .rowjob svg{display:none!important}.schedule70.finished .rowjob span{white-space:nowrap!important}.schedule70.finished .rowindex{font-size:12px!important;line-height:20px!important;align-self:center!important}.schedule70.finished .rowdirections{grid-column:4!important;grid-row:1!important;width:28px!important;height:34px!important;min-height:34px!important;padding:3px!important}.schedule70.finished .job-status67{display:none!important}
#dialogbody .recurring68 .sliderreading .scalemarks{display:none!important}#dialogbody .recurring68 .sliderreading{padding:7px 10px!important;margin-bottom:0!important}#dialogbody .recurring68 .fieldscreenhead .clientidentitylink,.work69 .clientidentitylink{color:var(--brand,#245fd4)!important;font-family:inherit!important;font-weight:650!important;letter-spacing:-.015em!important;text-decoration:none!important}.recurring68 .fieldscreenhead p>a,.recurring68 .fieldscreenhead p>button,.work69 .address69{font-family:inherit!important;color:#536f96!important;font-weight:500!important;text-decoration:none!important;font-size:14px!important;background:none!important;border:0!important;padding:0!important;box-shadow:none!important}
#dialogbody .recurring68 .servicetabs{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));align-items:stretch!important;gap:0!important}#dialogbody .recurring68 .servicetabs button{font-size:14px!important;font-weight:600!important;line-height:20px!important;font-family:inherit!important;border:0!important;border-bottom:3px solid transparent!important;background:transparent!important;background-image:none!important;box-shadow:none!important;padding:10px 4px!important;color:#506179!important;width:100%!important;margin:0!important;outline-offset:-2px}#dialogbody .recurring68 .servicetabs button.active,#dialogbody .recurring68 .servicetabs button.selected{color:var(--brand,#245fd4)!important;border-bottom-color:var(--brand,#245fd4)!important}
.work-meta70{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding-bottom:10px;margin-bottom:10px;border-bottom:1px solid #dbe3ee;font-size:14px}.work-meta70 button{border:0;background:transparent;color:var(--brand,#245fd4);padding:5px 0;font-size:14px;font-weight:600;line-height:20px;font-family:inherit;cursor:pointer}.work-meta70 span{font-size:13px;color:var(--muted,#66768a)}.work69 .orderheading{display:block!important}.identity-line70{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.identity-line70 .tag{flex-shrink:0}.identity-line70 .clientidentitylink{min-width:0;text-align:left}.appointment69{margin-top:8px}
.history70{min-width:0}.history-toggle70{display:flex;gap:5px;overflow:auto;padding:2px 0 7px;scrollbar-width:thin}.history-toggle70 button{border:1px solid #c5d1df;background:#fff;border-radius:6px;padding:5px 7px;min-height:32px;white-space:nowrap;font-size:12px;font-weight:600;font-family:inherit;color:#5a6c82;cursor:pointer}.history-toggle70 button.selected{border-color:var(--metric,#2563eb);color:var(--metric,#2563eb);background:#f1f6ff}.history-toggle70 i,.dose-legend70 i{display:inline-block;width:7px;height:7px;background:var(--metric);border-radius:50%;margin-right:4px}.graph-caption70{font-size:12px;color:var(--muted,#66768a);margin:3px 0 6px;line-height:1.4}.history-chart70{width:100%;height:140px;display:block}.history-chart70 text{font:11px system-ui;fill:#607389}.history-chart70 .grid70{stroke:#dde5f0;stroke-width:1}.quick-history70{margin:8px 0}.quick-history70>summary{font-size:14px;cursor:pointer;padding:5px 0}.history-scroll70{overflow:auto;max-height:176px;scrollbar-width:thin;border:1px solid #d1dce9;border-radius:6px}.history-scroll70 table{table-layout:fixed;border-collapse:separate;border-spacing:0;font-size:12px;min-width:100%}.history-scroll70 th,.history-scroll70 td{padding:7px 3px!important;text-align:center!important;border:0;border-bottom:1px solid #e3e9f1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.history-scroll70 th{background:#edf3fc;position:sticky;top:0;z-index:1;font-weight:650}.history-scroll70 th small{display:block;font-size:10px;font-weight:400;color:#66768a}.history-scroll70 td:first-child,.history-scroll70 th:first-child{position:sticky;left:0;background:#f5f8fd;border-right:1px solid #d1dce9;z-index:2}.history-scroll70 th:first-child{z-index:3}.history-scroll70 td:first-child small{display:block;font-size:10px;color:#6d7e93}.dose-legend70{display:flex;flex-wrap:wrap;gap:5px 12px;font-size:12px;margin:5px 0 9px}.dose-legend70 span{display:inline-flex;align-items:center}.dose-total70{font-size:14px;font-weight:650;color:#244e8a}.crew-options70{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0}.crew-options70 label{display:flex;gap:8px;align-items:center;font-size:14px}.crew-options70 input{width:20px!important;height:20px!important;flex-shrink:0}.type-crew70{margin:16px 0;padding:12px;border:1px solid #c6d3e3;border-radius:8px}.type-crew70 h3{margin:0 0 10px;font-size:16px}.type-crew70 .field{font-size:14px}.chem-cost70{display:grid;grid-template-columns:minmax(0,1fr) 120px;gap:12px;margin:12px 0;align-items:center}.chem-cost70 label{font-size:13px}.chem-cost70 input{width:100%}.chem-cost70 small{display:block;color:#66768a;font-size:12px}.history-actions70{display:flex;justify-content:space-between;gap:8px;margin-top:8px}.history-actions70 .btn{padding:5px 9px;font-size:12px;min-height:32px}

/* Tap-to-toggle chart series; selections retain a clear state on touch screens. */
.history-toggle70 button{min-height:36px;font-size:13px;padding:6px 9px;transition:background-color .15s,border-color .15s;touch-action:manipulation}
.history-toggle70 button.selected{border-color:#2563eb;background:#e7efff;color:#174ea6;box-shadow:inset 0 0 0 1px #2563eb;font-weight:700}
.history-toggle70 button:not(.selected){background:#fff;color:#68758a;border-color:#d5dce6}
.history-toggle70 button:not(.selected) i{opacity:.4}
.history-toggle70 button:focus-visible{outline:2px solid #2563eb;outline-offset:2px}
.history-empty71{display:grid;place-items:center;min-height:140px;margin:0;padding:12px;text-align:center;font-size:14px;color:var(--muted,#66768a)}
@media(prefers-reduced-motion:reduce){.history-toggle70 button{transition:none}}

/* Center the compact completed pill and place status directly before its appointment. */
.schedule70:not(.finished) h2.client-name67{grid-column:2/4!important}
.schedule70 .appointment-line72{grid-column:2/4!important;grid-row:4!important;display:flex;align-items:center;flex-wrap:wrap;gap:0 7px;min-width:0;margin:0;color:#64748b}
.schedule70 .appointment-line72 .job-status67,.schedule70 .appointment-line72 .rowappointment{font-size:13px!important;line-height:20px!important;align-self:center!important;margin:0!important}
.appointment-separator72{font-size:13px;line-height:20px;color:#8995a5}
.schedule70.finished .rowindex,.schedule70.finished h2.client-name67,.schedule70.finished .rowjob,.schedule70.finished .rowdirections{align-self:center!important;margin-block:0!important}
.schedule70.finished h2.client-name67,.schedule70.finished .rowjob{line-height:20px!important}
