:root{font-family:Inter,Segoe UI,Arial,sans-serif;color:#172b36;background:#f4f7f8;font-synthesis:none;--accent:#087f6b;--line:#dce5e7;--muted:#60737d}
*{box-sizing:border-box}
body{margin:0}
button,input,select,textarea{font:inherit}
button,.button{border:1px solid rgba(52,95,121,.28);border-radius:8px;background:rgba(52,95,121,.09);color:#294e64;padding:9px 13px;cursor:pointer;font-size:13px;font-weight:600;display:inline-block;text-decoration:none}
button:hover,.button:hover{background:rgba(52,95,121,.16)}
button:disabled{opacity:.64;cursor:not-allowed}
.primary{background:rgba(8,127,107,.13);border-color:rgba(8,127,107,.34);color:#075f50}
.primary:hover{background:rgba(8,127,107,.22)}
.muted,.help-text{color:var(--muted);font-size:13px;line-height:1.55}
h1,h2,h3,p{margin-top:0}
h2{font-size:20px}
h3{font-size:16px}
label{display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:600}
input,select,textarea{width:100%;min-width:0;padding:9px 10px;border:1px solid #c7d5d9;border-radius:6px;background:white;color:#17333d;font-size:14px}
input:focus,select:focus,textarea:focus,button:focus-visible,a:focus-visible{outline:3px solid #74c7b7;outline-offset:2px}
input:invalid:not(:placeholder-shown){border-color:#c65b56}
[hidden]{display:none!important}
.app-header{height:64px;background:white;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:30px;padding:0 28px}
.app-header a{color:#075f52;text-decoration:none;font-size:14px}
.app-header .brand{font-size:18px;font-weight:800}
.app-header span{color:var(--muted);font-size:14px}
.app-header a:last-child{margin-left:auto}
.planner-layout{display:grid;grid-template-columns:240px minmax(0,1fr);min-height:calc(100vh - 64px)}
.library{padding:24px 16px;background:#edf2f3;border-right:1px solid var(--line)}
.library-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.library-head h2{font-size:16px;margin:0}
.plan-list{display:grid;gap:8px}
.plan-item{text-align:left;padding:13px;background:rgba(8,127,107,.06);display:grid;gap:6px;border-color:transparent}
.plan-item.active{border-color:var(--accent);box-shadow:inset 3px 0 var(--accent)}
.plan-item span{font-size:11px;font-weight:400;color:var(--muted)}
.plan-item strong{overflow-wrap:anywhere}
.plan-entry{display:grid;grid-template-columns:minmax(0,1fr) 34px;align-items:start;gap:2px;border:1px solid var(--line);border-radius:10px;background:rgba(8,127,107,.04);padding-right:6px;min-width:0}
.plan-entry .plan-item{width:100%;min-width:0;height:100%;background:transparent}
.plan-delete{display:inline-flex;align-items:center;justify-content:center;width:32px;height:34px;padding:7px;margin-top:8px;border-radius:8px}
.plan-delete svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#planLibraryStatus{font-size:12px;overflow-wrap:anywhere}
@media(max-width:740px){.plan-entry{min-width:235px;flex:none}}
.library-note{font-size:11px;color:var(--muted);margin-top:22px}
main{padding:26px 30px;min-width:0;max-width:1750px;width:100%}
.empty-state{padding:14vh 8vw;max-width:760px}
.eyebrow{font-size:10px;font-weight:800;letter-spacing:1.8px;color:var(--accent)}
.empty-state h1{font-size:clamp(30px,4vw,56px);line-height:1.12;letter-spacing:-1.8px;margin:18px 0}
.empty-state p{line-height:1.6;color:var(--muted)}
.plan-heading{display:flex;justify-content:space-between;gap:16px;align-items:center}
.title-input{font-size:27px;font-weight:700;padding:5px 0;background:none;border-color:transparent;max-width:650px}
.save-area{display:flex;align-items:center;gap:8px;flex-shrink:0}
.save-area span{font-size:12px;color:var(--muted)}
.plan-toolbar{display:grid;grid-template-columns:155px 1fr 1fr;gap:15px;margin:22px 0}
.tabbar{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.tabbar [role=tab]{border-color:rgba(52,95,121,.22);background:rgba(52,95,121,.08);padding:10px 15px}
.tabbar [role=tab][aria-selected=true]{background:rgba(8,127,107,.16);border-color:rgba(8,127,107,.4);color:#066653;box-shadow:inset 0 -2px #087f6b}
.tabbar [role=tab] span{background:#ffffffa0;border-radius:4px;padding:2px 6px;margin-left:5px}
.tab-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;margin-left:auto;max-width:100%}
.section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:25px 0 18px}
.section-heading h2{margin-bottom:6px}
.section-heading p{margin:0}
.button-row{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.route-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(245px,1fr));gap:13px}
.route-card{border:1px solid var(--line);border-top:4px solid var(--route-color);background:white;border-radius:10px;padding:15px;min-width:0}
.route-card.selected{box-shadow:0 0 0 2px var(--route-color)}
.route-card-head{display:flex;align-items:center;gap:8px;margin-bottom:10px}
.route-card-head h3{flex:1;min-width:0;margin:0;font-weight:700;font-size:16px;padding:4px;overflow-wrap:anywhere}
.route-card-head button{padding:3px 8px;font-size:19px}
.route-card .two-columns{margin-top:10px}
.route-metrics{display:grid;grid-template-columns:.7fr 1.4fr .8fr;gap:8px;margin:16px 0}
.route-metrics b{font-size:20px;display:block}
.route-metrics small{color:var(--muted);font-size:11px}
.route-timing{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0 0 16px;padding:12px;background:rgba(8,127,91,.07);border:1px solid rgba(8,127,91,.18);border-radius:9px}
.route-timing small{display:block;font-size:11px;color:var(--muted);margin-bottom:5px}
.route-timing strong{display:block;font-size:17px;color:#076147;font-variant-numeric:tabular-nums;white-space:nowrap}
.route-timing-note{font-size:11px;line-height:1.4;color:var(--muted);margin:-6px 0 14px}
.route-card-footer{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.route-card-footer a{font-size:12px;color:var(--accent)}
.route-workspace{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(270px,1fr);gap:18px;margin-top:22px}
.map-panel,.schedule-panel{border:1px solid var(--line);border-radius:10px;background:white;padding:16px;min-width:0}
.map-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}
.map-head h3{margin:0}
#plannerMap{height:400px;border-radius:7px;background:#e4eeea}
#mapHint{margin:12px 0 0}
.optimize-after-stop{display:block;margin-top:8px;padding:5px 8px;font-size:11px;min-height:30px;color:var(--accent)}
.locked-beginning{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;padding:9px 10px;background:#edf7f1;border:1px solid #bedcc9;border-radius:7px;font-size:12px}
.locked-beginning button{padding:5px 8px;font-size:11px;min-height:30px}
.planner-map-stop{min-width:25px;height:25px;padding:0 4px;border:2px solid white;border-radius:50%;color:white;font:bold 12px/21px Arial,sans-serif;text-align:center;box-shadow:0 1px 4px #0005;cursor:pointer}
.planner-map-endpoint{border-radius:6px;white-space:nowrap;z-index:1}
#mapZoomAreas{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}#mapZoomAreas:empty{display:none}#mapZoomAreas button{font-size:11px;padding:7px 9px;min-height:32px}#mapZoomAreas button[aria-pressed=true]{background:#183f33;color:white}
.schedule-list{max-height:450px;overflow:auto}
.schedule-row{display:grid;grid-template-columns:68px minmax(0,1fr);gap:12px;padding:13px 0;border-bottom:1px solid #edf1f2;font-size:13px}
.schedule-row strong,.schedule-row small{display:block;overflow-wrap:anywhere}
.schedule-row time{font-size:13px;font-weight:700;color:var(--accent)}
.schedule-row small{font-size:11px;color:var(--muted);line-height:1.6;margin-top:4px}
.schedule-route-heading{display:flex;justify-content:space-between;gap:10px;padding-top:16px;font-size:14px}
.schedule-route-heading small{font-size:11px;font-weight:400;color:var(--muted)}
.appointment-tools{display:flex;gap:12px;align-items:flex-end;margin-bottom:14px;flex-wrap:wrap}
.appointment-tools label:first-child{flex:1;min-width:200px}
.appointment-tools input[type=number]{max-width:150px}
.table-scroll{overflow:auto;background:white;border:1px solid var(--line);border-radius:9px}
.appointments-table{width:100%;border-collapse:collapse;font-size:13px}
.appointments-table th{text-align:left;font-size:11px;color:var(--muted);background:#edf3f4;white-space:nowrap;padding:13px 10px}
.appointments-table td{padding:12px 10px;border-top:1px solid var(--line);vertical-align:top}
.appointments-table td:first-child{min-width:230px;max-width:350px;overflow-wrap:anywhere}
.appointments-table td:first-child strong,.appointments-table td:first-child small{display:block;line-height:1.5}
.appointments-table td:first-child small{color:var(--muted);margin-top:3px}
.appointments-table input{font-size:12px;padding:7px;min-width:95px}
.appointments-table input[type=number]{width:75px;min-width:65px}
.appointments-table select{font-size:12px;padding:7px;min-width:135px}
.appointments-table td:last-child{white-space:nowrap}
.appointments-table td:last-child button{font-size:11px;padding:7px}
.tag{display:inline-block;font-size:10px;font-weight:700;line-height:1.3;padding:4px 6px;border-radius:4px;background:#e0efe9;color:#09634e}
.tag.warning{background:#fff0cc;color:#76500a}
.tag.error{background:#ffe6e4;color:#a02e27}
.issues-panel{background:#fff6e9;border:1px solid #e8cda3;padding:20px;border-radius:10px;margin-top:20px}
.issues-panel h2{font-size:17px}
.issues-panel li{margin:9px 0;line-height:1.5;font-size:13px;overflow-wrap:anywhere}
.notice{padding:12px 15px;margin-top:15px;border-radius:7px;background:#e3f1ed;font-size:13px;line-height:1.5}
.notice.error{background:#ffe8e6;color:#922f29}
.plan-footer{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:24px;padding-top:18px;border-top:1px solid var(--line);font-size:13px}
.estimate-note{font-size:11px;color:var(--muted);margin:16px 0}
.two-columns{display:grid;grid-template-columns:1fr 1fr;gap:12px}
dialog{border:1px solid var(--line);border-radius:14px;padding:25px;width:min(590px,calc(100vw - 28px));max-height:90vh;overflow:auto;box-shadow:0 20px 70px #122f3940;color:#17333d}
dialog::backdrop{background:#102c3a88}
dialog label{margin:12px 0}
.dialog-heading{display:flex;justify-content:space-between;align-items:center;gap:10px}
.dialog-heading h2{margin:0}
.dialog-heading button{font-size:22px;padding:2px 10px}
.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}
.error-text{color:#a12c25;font-size:13px;line-height:1.5}
.suggestions{border:1px solid var(--line);border-radius:6px;max-height:200px;overflow:auto}
.suggestions button{display:block;border:0;border-radius:0;width:100%;text-align:left;font-size:13px;line-height:1.5;padding:10px}
body.busy #planWorkspace input,body.busy #planWorkspace select{pointer-events:none;opacity:.7}
@media(max-width:1100px){.planner-layout{grid-template-columns:190px minmax(0,1fr)}
main{padding:20px}
.plan-heading{align-items:flex-start;flex-direction:column}
.route-workspace{grid-template-columns:1fr}
.section-heading{align-items:flex-start;flex-direction:column}
}
@media(max-width:740px){.app-header{padding:0 16px;gap:16px}
.app-header span{display:none}
.planner-layout{grid-template-columns:1fr}
.library{border-right:0;border-bottom:1px solid var(--line);padding:15px}
.library>p{display:none}
.plan-list{display:flex;overflow:auto;max-height:90px}
.plan-item{min-width:180px}
.plan-toolbar{grid-template-columns:1fr}
.tabbar{flex-wrap:wrap}
.tab-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;margin:4px 0 0}
.tab-actions button,.tab-actions .button{width:100%}
.title-input{font-size:24px}
.plan-footer{align-items:flex-start;flex-direction:column}
#plannerMap{height:300px}
.route-cards{grid-template-columns:1fr}
.save-area{flex-wrap:wrap}
.empty-state{padding:40px 12px}
}

/* Keep the day actions together and visible from either planner tab. */
.planner-navigation{display:flex;align-items:center;flex-wrap:wrap;gap:14px 20px;border-bottom:1px solid var(--line);padding:0 0 15px}
.tab-actions>button,.tab-actions>.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;line-height:1.3;white-space:nowrap}
.tab-actions svg{width:17px;height:17px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#optimizePlan{background:#087f5b;border-color:#08734f;color:#fff;box-shadow:0 3px 10px rgba(8,127,91,.2);font-weight:750;padding:11px 17px}
#optimizePlan:hover:not(:disabled){background:#066b4c;border-color:#055e42;box-shadow:0 4px 14px rgba(8,127,91,.28)}
#optimizePlan:focus-visible{outline-color:#70c9a6}
.action-danger{background:rgba(220,38,61,.12);border-color:rgba(220,38,61,.4);color:#ad1d32}
.action-danger:hover:not(:disabled){background:rgba(220,38,61,.2);border-color:rgba(220,38,61,.55)}
.action-danger:focus-visible{outline-color:#f78b98}
#confirmAccept.action-danger{background:#c92138;border-color:#b51b30;color:white}
#confirmAccept.action-danger:hover{background:#ae1b2f}
.action-print{background:rgba(37,99,235,.12);border-color:rgba(37,99,235,.35);color:#1e4fa8}
.action-print:hover{background:rgba(37,99,235,.2)}
.action-excel{background:rgba(16,130,80,.12);border-color:rgba(16,130,80,.35);color:#09663e}
.action-excel:hover{background:rgba(16,130,80,.2)}
.action-list{background:rgba(124,58,237,.12);border-color:rgba(124,58,237,.33);color:#6530aa}
.action-list:hover{background:rgba(124,58,237,.2)}
.tab-actions [aria-disabled=true]{opacity:.72;cursor:not-allowed;box-shadow:none}
.route-card-footer .button{padding:7px 10px}
.route-card-footer .action-print{color:#1e4fa8}
.route-card-footer .action-excel{color:#09663e}
#scheduleTitle,#appointmentsPanel h2{scroll-margin-top:24px}
@media(max-width:740px){.planner-navigation{gap:12px}.tabbar{width:100%}.tab-actions>button,.tab-actions>.button{min-height:44px}}
@media(max-width:420px){.tab-actions{grid-template-columns:minmax(0,1fr)}.tabbar [role=tab]{flex:1;white-space:nowrap}}

/* A transfer card with two pins keeps moving a stop close to its address. */
.schedule-row{grid-template-columns:62px minmax(0,1fr) 40px;gap:10px;align-items:start}
.stop-move-button{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;flex:none;padding:5px;border-radius:10px;background:rgba(124,58,237,.1);border-color:rgba(124,58,237,.3);color:#6530aa}
.stop-move-button:hover:not(:disabled){background:rgba(124,58,237,.19);border-color:rgba(124,58,237,.5)}
.stop-move-button svg,.move-dialog-icon svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.move-card-outline{fill:currentColor;fill-opacity:.05;stroke-opacity:.35;stroke-width:1}
.appointments-table td:last-child .stop-move-button{padding:4px;vertical-align:middle}
.pending-visit{justify-self:start;margin-top:3px}
.schedule-draft-note{padding:12px;border:1px solid rgba(180,123,24,.22);border-radius:9px;background:rgba(220,163,49,.1);color:#735115;font-size:12px;line-height:1.6;margin-bottom:5px}
.schedule-route-heading>div{min-width:0;overflow-wrap:anywhere}
.schedule-route-heading>div small{display:block;margin-top:4px}
#moveRouteDialog{width:min(500px,calc(100vw - 28px))}
#moveRouteTitle{display:flex;align-items:center;gap:10px;font-size:21px}
.move-dialog-icon{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:11px;background:rgba(124,58,237,.1);color:#6530aa;flex:none}
.move-stop-summary{padding:16px;background:rgba(52,95,121,.06);border:1px solid rgba(52,95,121,.16);border-radius:10px;margin:20px 0;overflow-wrap:anywhere}
.move-stop-summary strong{display:block;margin-bottom:6px}
.move-stop-summary p{font-size:14px;line-height:1.5;margin:0 0 8px}
.move-stop-summary small{display:block;color:var(--muted);line-height:1.5}
#moveStopFrom{display:block;margin-top:12px;font-size:12px;font-weight:600;color:#6530aa}
#moveRouteDetails{min-height:20px;margin:9px 0 16px;font-size:12px}
#moveRouteDialog .dialog-actions button{min-height:42px}
@media(max-width:420px){.schedule-row{grid-template-columns:52px minmax(0,1fr) 40px;gap:7px}#moveRouteDialog{padding:18px}}

.stop-composer{background:white;border:1px solid var(--line);border-radius:12px;padding:18px;margin:18px 0 22px}
.stop-composer .section-heading{margin:0 0 15px}.stop-composer h2{font-size:18px}
.input-mode-tabs{display:flex;gap:6px;padding-bottom:14px}.input-mode-tabs [aria-selected=true]{background:#e0f3eb;border-color:#8dcbb6;color:#075f50}
.quick-stop-form{display:flex;align-items:end;gap:10px}.quick-stop-form label{flex:1}.quick-stop-form button{flex:none}
#quickStopStatus:empty{display:none}.stop-composer .help-text{margin:12px 0 0}
.setup-drivers{display:grid;gap:10px;margin:18px 0}.setup-driver{border:1px solid var(--line);padding:12px;border-radius:8px;background:#f6faf9}.setup-driver h3{margin:0 0 8px}.setup-driver-fields{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:10px}
.check-label{display:flex;flex-direction:row;align-items:center;margin-top:14px}.check-label input{width:auto}
@media(max-width:740px){.quick-stop-form{flex-wrap:wrap}.quick-stop-form label{flex-basis:100%}.setup-driver-fields{grid-template-columns:1fr}.stop-composer .section-heading{align-items:start;flex-direction:column}}

.route-cards:has(> .route-card:only-child){grid-template-columns:minmax(0,540px)}
.import-columns{margin:16px 0}.import-columns summary{cursor:pointer;color:#075f50;font-size:13px;font-weight:600}

.route-point-column{display:flex;flex-direction:column;gap:10px;min-width:0}.route-point-column>label{margin-top:auto}
.route-point-help{display:flex;align-items:center;justify-content:space-between;gap:6px;min-height:30px;margin-top:4px;color:var(--muted)}.route-point-help small{font-size:11px;line-height:1.3}.route-point-help button{padding:4px 6px;font-size:10px;white-space:nowrap}

.point-suggestions{position:fixed;z-index:1000;overflow:auto;overscroll-behavior:contain;background:#fff;border:1px solid #b9d7cf;border-radius:12px;box-shadow:0 12px 32px rgba(23,51,61,.18);padding:5px}
.point-suggestions button{display:block;width:100%;min-height:44px;padding:11px 12px;border:0;background:transparent;border-radius:7px;text-align:left;font-size:13px;font-weight:500;line-height:1.5;white-space:normal;overflow-wrap:anywhere;color:#17333d}
.point-suggestions button+button{border-top:1px solid #edf2f3}
.point-suggestions button:hover,.point-suggestions button[aria-selected=true]{background:#e6f5ef;color:#075f50}
#pointSearchStatus{padding:9px 12px;margin:0;color:var(--muted);font-size:11px;line-height:1.5}

/* Clearway Routes: the welcome page and planner share a calm, readable shell. */
.clearway-app{--accent:#157456;--line:#dce6df;--muted:#607267;font-family:Inter,"Segoe UI",Arial,sans-serif;color:#18392e;background:#f7f9f6;-webkit-font-smoothing:antialiased}
.clearway-app .skip-link{position:fixed;top:12px;left:14px;z-index:1200;transform:translateY(-160%);padding:12px 17px;background:#fff;border:1px solid #236143;border-radius:9px;color:#174e32;font-size:14px;font-weight:650;text-decoration:none;box-shadow:0 4px 18px #193b2926}
.clearway-app .skip-link:focus{transform:translateY(0)}
.clearway-app .app-header{min-height:76px;height:auto;gap:28px;padding:17px 30px;background:#fff;border-bottom-color:#e1e9e2}
.clearway-app .app-header .brand{display:inline-flex;align-items:center;gap:10px;flex:none;margin:0;line-height:1.15;letter-spacing:-.6px}
.clearway-app .brand-mark{display:block;width:34px;height:34px;flex:none}
.clearway-app .app-header .brand-name{display:block;color:#153e2e;font-size:20px;font-weight:800;white-space:nowrap}
.clearway-app .app-header .brand-name b{font-weight:500;color:#54745c}
.clearway-app .app-header .header-context{display:block;border-left:1px solid #dce6df;padding-left:26px;color:#63766a;font-size:12px;font-weight:500}
.clearway-app .planner-header-actions{margin-left:auto}
.clearway-app .planner-layout{grid-template-columns:236px minmax(0,1fr);min-height:calc(100vh - 76px)}
.clearway-app .library{padding:29px 18px;background:#eff4ee;border-right-color:#dfe8df}
.clearway-app .library-head{margin-bottom:18px}
.clearway-app .library-head h2{color:#304e3e;font-size:14px;letter-spacing:-.2px}
.clearway-app .library-head button{border-radius:8px;padding:7px 10px;font-size:12px}
.clearway-app .library>.muted{font-size:12px;line-height:1.7;margin-bottom:22px}
.clearway-app .library-note{color:#66796c;line-height:1.7;padding-top:18px;border-top:1px solid #dbe5da}
.clearway-app .plan-list{gap:10px}
.clearway-app .plan-entry{background:#ffffffb8;border-color:#dce6da;border-radius:12px;padding-right:5px}
.clearway-app .plan-item{border-radius:10px;color:#284837;line-height:1.4;padding:13px 11px}
.clearway-app .plan-item:hover{background:#e5efe5}
.clearway-app .plan-item.active{background:#e3efe1;border-color:#79a582;box-shadow:inset 3px 0 #278260}
.clearway-app .plan-item span{line-height:1.55}
.clearway-app #workspace{max-width:1800px;padding:34px 36px 28px}
.clearway-app button,.clearway-app .button{border-radius:10px;transition:background-color .15s ease,border-color .15s ease,box-shadow .15s ease}
.clearway-app input,.clearway-app select,.clearway-app textarea{border-color:#cad8ce;border-radius:9px;color:#244333;line-height:1.4}
.clearway-app input::placeholder,.clearway-app textarea::placeholder{color:#79887f;opacity:1}
.clearway-app input:focus,.clearway-app select:focus,.clearway-app textarea:focus,.clearway-app button:focus-visible,.clearway-app a:focus-visible,.clearway-app summary:focus-visible{outline:3px solid #78bfa0;outline-offset:3px}
.clearway-app input:invalid:not(:placeholder-shown){border-color:#c65b56}
.clearway-app label{color:#486252}
.clearway-app .title-input{border-color:transparent;border-radius:6px;color:#183e2c;font-weight:750;letter-spacing:-.6px}
.clearway-app .plan-heading{gap:20px}
.clearway-app .plan-toolbar{gap:18px;margin:25px 0}
.clearway-app .stop-composer{padding:22px;border-color:#dce7dd;border-radius:16px;box-shadow:0 4px 18px #183a2404}
.clearway-app .stop-composer .section-heading{margin-bottom:20px}
.clearway-app .input-mode-tabs{gap:7px;margin-bottom:3px}
.clearway-app .input-mode-tabs button{min-width:66px}
.clearway-app .input-mode-tabs [aria-selected=true]{background:#e7f2e6;border-color:#a7c8ab;color:#235333}
.clearway-app .planner-navigation{padding-bottom:19px;gap:16px}
.clearway-app .tabbar [role=tab]{border-radius:10px;padding:11px 14px}
.clearway-app .tabbar [role=tab][aria-selected=true]{background:#e2efe3;border-color:#92b79c;color:#245337;box-shadow:inset 0 -2px #388156}
.clearway-app .section-heading{margin:28px 0 19px}
.clearway-app .section-heading h2{letter-spacing:-.35px;color:#1f412f}
.clearway-app .route-card{padding:18px;border-radius:14px;box-shadow:0 4px 14px #183a2404}
.clearway-app .route-card.selected{box-shadow:0 0 0 2px var(--route-color)}
.clearway-app .route-card-head h3{color:#254632}
.clearway-app .route-timing{border-radius:10px;background:#f0f6ec;border-color:#dde9d6}
.clearway-app .route-timing strong{color:#28613e}
.clearway-app .map-panel,.clearway-app .schedule-panel{border-radius:15px;padding:20px;box-shadow:0 4px 14px #183a2404}
.clearway-app #plannerMap{border-radius:10px}
.clearway-app .table-scroll{border-radius:13px}
.clearway-app .appointments-table th{background:#edf3eb;color:#526c5c;padding-top:15px;padding-bottom:15px}
.clearway-app dialog{border-radius:18px;border-color:#d5e3d7;box-shadow:0 24px 80px #173b2b30}
.clearway-app dialog::backdrop{background:#12302473}
.clearway-app .notice{border-radius:10px}
.clearway-app .tag{border-radius:6px}

.clearway-app .welcome-page{max-width:1240px;margin:0 auto;padding:28px 0 0}
.welcome-page .welcome-hero{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(310px,.9fr);gap:48px;align-items:center;padding:24px 0 54px}
.welcome-page .welcome-copy{max-width:620px}
.welcome-page .eyebrow,.welcome-page .section-kicker{display:block;font-size:10px;line-height:1.5;font-weight:800;letter-spacing:1.9px;color:#28704d}
.welcome-page .welcome-copy>.eyebrow{display:inline-flex;align-items:center;gap:9px;margin-bottom:6px}
.welcome-page .welcome-copy>.eyebrow::before{content:"";width:7px;height:7px;background:#37815a;border-radius:50%;box-shadow:0 0 0 4px #e4eee0}
.clearway-app .welcome-page h1{font-size:clamp(38px,4.1vw,65px);line-height:1.09;letter-spacing:-2.4px;color:#173e2c;font-weight:750;margin:20px 0 24px}
.welcome-page h1>span{display:block;color:#58825d}
.clearway-app .welcome-page .welcome-description{max-width:470px;font-size:16px;line-height:1.85;color:#5b7061;margin-bottom:28px}
.welcome-page .welcome-actions{display:flex;align-items:center;gap:20px;flex-wrap:wrap}
.welcome-page #createFirst{display:inline-flex;justify-content:center;align-items:center;gap:20px;background:#246445;border:1px solid #246445;border-radius:12px;color:#fff;font-size:14px;font-weight:650;min-height:50px;padding:14px 20px;box-shadow:0 4px 12px #1b60351c}
.welcome-page #createFirst:hover:not(:disabled){background:#1c5137;border-color:#1c5137;box-shadow:0 5px 16px #1b60352b}
.welcome-page #createFirst:disabled{background:#dce6dd;border-color:#c9d6ca;color:#5f7362;opacity:1;box-shadow:none;cursor:wait}
.welcome-page #createFirst svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.welcome-page .welcome-secondary{color:#315e43;font-size:13px;font-weight:600;text-decoration:none;text-underline-offset:5px;padding:10px 0}
.welcome-page .welcome-secondary:hover{text-decoration:underline}
.clearway-app .welcome-page .welcome-note{font-size:12px;color:#647267;line-height:1.7;margin:14px 0 0}
.welcome-page .welcome-preview{position:relative;overflow:hidden;background:#fff;border:1px solid #dce7dc;border-radius:21px;box-shadow:0 22px 60px -26px #2a4c3c38,0 2px 6px #24473305;transform:rotate(1deg);max-width:440px;width:100%;justify-self:end}
.welcome-page .preview-map{height:208px;overflow:hidden;background:#edf3e6;border-bottom:1px solid #e1e9dc}
.welcome-page .preview-map>svg{display:block;width:100%;height:100%;object-fit:cover}
.welcome-page .preview-heading{padding:22px 23px 0}
.welcome-page .preview-heading .eyebrow{color:#60755f;font-size:10px;letter-spacing:1.6px}
.welcome-page .preview-heading h2{font-size:20px;letter-spacing:-.6px;color:#264632;margin:7px 0 0}
.welcome-page .preview-example{display:inline-block;background:#f0f4eb;border:1px solid #dfe7d7;border-radius:5px;color:#5c7155;font-size:10px;font-weight:600;line-height:1.5;padding:3px 7px;margin-top:10px}
.welcome-page .preview-stops{list-style:none;margin:8px 0 0;padding:0 23px}
.welcome-page .preview-stops li{display:grid;grid-template-columns:24px minmax(0,1fr) auto;align-items:center;gap:11px;position:relative;padding:15px 0;border-bottom:1px solid #edf1e9}
.welcome-page .preview-stops li:last-child{border:0}
.welcome-page .preview-dot{display:flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:50%;border:1px solid #b3cbb0;background:#eef5e9;color:#38633d;font-size:11px;font-weight:750;line-height:1;position:relative;z-index:1}
.welcome-page .preview-stops li:first-child .preview-dot{border-color:#367452;background:#367452;color:#fff}
.welcome-page .preview-stops li:last-child .preview-dot{border-color:#d7c3a7;background:#faf3e8;color:#7a582b}
.welcome-page .preview-stops li:not(:last-child)::after{content:"";position:absolute;left:11px;top:calc(50% + 14px);height:calc(100% - 27px);width:1px;background:#dce6d8}
.welcome-page .preview-stops strong{display:block;font-size:13px;font-weight:650;color:#3d5945;line-height:1.4}
.welcome-page .preview-stops small{display:block;font-size:11px;color:#647560;line-height:1.5;margin-top:3px}
.welcome-page .preview-stops time{font-size:12px;font-variant-numeric:tabular-nums;font-weight:600;color:#497252;white-space:nowrap}
.welcome-page .preview-summary{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 22px;margin-top:5px;background:#f7faf4;border-top:1px solid #e5edde;font-size:11px;color:#61745c;line-height:1.6}
.welcome-page .preview-summary strong{font-weight:650;color:#3c6747}
.welcome-page .welcome-features{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;padding:11px 0 58px}
.welcome-page .feature-card{background:#fff;border:1px solid #e0e8dd;border-radius:15px;padding:23px 21px}
.welcome-page .feature-number{display:inline-flex;align-items:center;justify-content:center;width:31px;height:31px;border-radius:9px;background:#eef4e8;color:#466a40;font-size:11px;font-weight:700;margin-bottom:18px;font-variant-numeric:tabular-nums}
.welcome-page .feature-card:nth-child(2) .feature-number{background:#eaf1ed;color:#45725f}
.welcome-page .feature-card:nth-child(3) .feature-number{background:#f4f0e6;color:#776235}
.welcome-page .feature-card h2{color:#315138;font-size:15px;line-height:1.45;letter-spacing:-.2px;margin-bottom:9px}
.clearway-app .welcome-page .feature-card p{font-size:14px;line-height:1.8;color:#5f735f;margin:0}
.welcome-page .welcome-how{padding:39px 0 46px;border-top:1px solid #dce6d9;scroll-margin-top:30px}
.welcome-page .welcome-how>h2,.welcome-page .welcome-faq>h2{font-size:27px;letter-spacing:-.75px;color:#2e5237;line-height:1.3;margin:9px 0 29px}
.welcome-page .welcome-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;list-style:none;padding:0;margin:0}
.welcome-page .welcome-steps li{display:flex;gap:13px;align-items:flex-start}
.welcome-page .step-number{display:flex;justify-content:center;align-items:center;flex:none;width:26px;height:26px;background:#e7efe2;border:1px solid #d7e3d0;border-radius:50%;font-size:11px;font-weight:750;color:#506d40;line-height:1}
.welcome-page .welcome-steps h3{font-size:15px;line-height:1.5;color:#3d5e40;margin:2px 0 8px}
.clearway-app .welcome-page .welcome-steps p{font-size:14px;line-height:1.8;color:#61715b;margin:0}
.welcome-page .welcome-faq{display:grid;grid-template-columns:minmax(210px,.72fr) minmax(0,1.28fr);gap:0 50px;padding:37px 0 45px;border-top:1px solid #dce6d9}
.welcome-page .welcome-faq>.section-kicker{grid-column:1;grid-row:1;align-self:start;margin-top:8px}
.welcome-page .welcome-faq>h2{grid-column:1;grid-row:1 / span 6;align-self:start;max-width:260px;margin-top:8px;padding-top:27px}
.welcome-page .welcome-faq details{grid-column:2;border-bottom:1px solid #dce6d9;padding:0}
.welcome-page .welcome-faq details:first-of-type{border-top:1px solid #dce6d9}
.welcome-page .welcome-faq summary{display:flex;align-items:center;justify-content:space-between;gap:16px;list-style:none;cursor:pointer;font-size:14px;font-weight:600;line-height:1.65;color:#365b3c;padding:18px 0}
.welcome-page .welcome-faq summary::-webkit-details-marker{display:none}
.welcome-page .welcome-faq summary::after{content:"+";font-size:20px;font-weight:400;line-height:1;color:#759069;flex:none;width:18px;text-align:center}
.welcome-page .welcome-faq details[open] summary::after{content:"\2212"}
.welcome-page .welcome-faq summary:hover{color:#1f693e}
.clearway-app .welcome-page .welcome-faq details p{font-size:14px;line-height:1.8;color:#61725b;margin:0;padding:0 24px 19px 0}
.welcome-page .welcome-footer{display:flex;justify-content:space-between;align-items:flex-start;gap:25px;border-top:1px solid #dce6d9;padding:23px 0 10px;color:#637359;font-size:12px;line-height:1.75}
.welcome-page .welcome-footer>span{max-width:280px}
.welcome-page .welcome-footer strong{color:#58744f;font-size:12px;font-weight:700;white-space:nowrap}
.clearway-app .welcome-page .welcome-footer p{margin:0;max-width:590px;color:#637359;font-size:12px;line-height:1.75}

@media(min-width:1600px){.clearway-app #workspace{padding-left:54px;padding-right:54px}.welcome-page .welcome-hero{gap:72px;padding-top:40px;padding-bottom:65px}.welcome-page .welcome-preview{max-width:450px}.welcome-page .preview-map{height:235px}}
@media(max-width:1200px){.clearway-app .planner-layout{grid-template-columns:202px minmax(0,1fr)}.clearway-app #workspace{padding:26px}.welcome-page .welcome-hero{gap:28px;grid-template-columns:minmax(0,1fr) minmax(280px,.95fr)}.clearway-app .welcome-page h1{font-size:42px;letter-spacing:-1.7px}.clearway-app .welcome-page .welcome-description{font-size:14px}.welcome-page .welcome-features{gap:12px}.welcome-page .feature-card{padding:20px 16px}.welcome-page .welcome-steps{gap:18px}.welcome-page .welcome-faq{gap:0 28px}.welcome-page .preview-map{height:190px}}
@media(max-width:1000px){.clearway-app .welcome-page{padding-top:4px}.welcome-page .welcome-hero{grid-template-columns:1fr;gap:32px;padding-top:20px;padding-bottom:36px}.welcome-page .welcome-copy{max-width:620px}.clearway-app .welcome-page h1{font-size:clamp(38px,5.7vw,57px)}.clearway-app .welcome-page .welcome-description{max-width:530px;font-size:15px}.welcome-page .welcome-preview{max-width:100%;transform:none;display:grid;grid-template-columns:minmax(0,.55fr) minmax(285px,1fr);grid-template-rows:auto auto auto;border-radius:17px}.welcome-page .preview-map{grid-column:1;grid-row:1 / 4;height:100%;min-height:260px;border-bottom:0;border-right:1px solid #e1e9dc}.welcome-page .preview-heading{grid-column:2;padding:19px 18px 0}.welcome-page .preview-stops{grid-column:2;padding:0 18px;margin-top:5px}.welcome-page .preview-stops li{gap:8px;padding:12px 0}.welcome-page .preview-summary{grid-column:2;padding:12px 17px;gap:8px;flex-wrap:wrap}.welcome-page .welcome-features{padding-bottom:35px}.welcome-page .welcome-steps{grid-template-columns:1fr;gap:21px}.welcome-page .welcome-steps p{max-width:500px}.welcome-page .welcome-faq{grid-template-columns:1fr;gap:0;padding-top:28px}.welcome-page .welcome-faq>.section-kicker{grid-column:1;grid-row:auto;margin-top:0}.welcome-page .welcome-faq>h2{grid-column:1;grid-row:auto;max-width:none;margin-bottom:20px;padding-top:0}.welcome-page .welcome-faq details{grid-column:1}.welcome-page .welcome-footer{flex-direction:column;gap:8px}}
@media(max-width:740px){.clearway-app .app-header{min-height:70px;padding:15px 17px;gap:12px;flex-wrap:wrap}.clearway-app .brand-mark{width:30px;height:30px}.clearway-app .app-header .brand-name{display:block;font-size:18px}.clearway-app .app-header .header-context{display:none}.clearway-app .planner-header-actions{gap:8px}.clearway-app .planner-layout{grid-template-columns:1fr;min-height:calc(100vh - 70px)}.clearway-app .library{padding:15px 18px;border-right:0;border-bottom:1px solid #dfe8df}.clearway-app .library-head{margin-bottom:0}.clearway-app .plan-list:not(:empty){margin-top:13px;max-height:110px;padding-bottom:2px}.clearway-app .library-note{display:none}.clearway-app #workspace{padding:23px 20px}.clearway-app .welcome-page{padding-top:0}.welcome-page .welcome-hero{padding-top:16px;gap:30px}.clearway-app .welcome-page h1{font-size:clamp(38px,7.5vw,53px);letter-spacing:-1.8px;margin-top:17px;margin-bottom:19px}.welcome-page .welcome-description{margin-bottom:23px}.welcome-page .welcome-features{grid-template-columns:1fr;gap:11px}.welcome-page .feature-card{padding:19px 21px;display:grid;grid-template-columns:35px minmax(0,1fr);gap:4px 15px;align-items:start}.welcome-page .feature-number{grid-column:1;grid-row:1 / 3;margin-bottom:0}.welcome-page .feature-card h2{grid-column:2;margin:2px 0 4px}.welcome-page .feature-card p{grid-column:2}.welcome-page .welcome-how{padding-top:29px;padding-bottom:32px}.welcome-page .welcome-how>h2,.welcome-page .welcome-faq>h2{font-size:25px}.welcome-page .welcome-faq{padding-bottom:30px}.welcome-page .welcome-faq summary{font-size:14px}.clearway-app .plan-toolbar{gap:15px}.clearway-app .stop-composer{padding:18px}.clearway-app .route-card{padding:16px}.clearway-app .map-panel,.clearway-app .schedule-panel{padding:16px}.clearway-app .section-heading{margin-top:23px}.clearway-app .tabbar [role=tab]{padding:10px 12px}.clearway-app .save-area{gap:7px}.clearway-app .route-point-help{align-items:flex-start;flex-wrap:wrap}}
@media(max-width:640px){.welcome-page .welcome-preview{display:block;max-width:470px;justify-self:center}.welcome-page .preview-map{height:190px;min-height:0;border-right:0;border-bottom:1px solid #e1e9dc}.welcome-page .preview-heading{padding:22px 22px 0}.welcome-page .preview-stops{padding:0 22px}.welcome-page .preview-summary{padding:14px 22px}}
@media(max-width:460px){.clearway-app .app-header .brand-name{font-size:17px}.clearway-app .app-header .brand{gap:8px}.clearway-app .planner-header-actions{flex-wrap:wrap}.clearway-app #workspace{padding:20px 17px}.clearway-app .welcome-page h1{font-size:39px;letter-spacing:-1.8px}.clearway-app .welcome-page .welcome-description{font-size:14px;line-height:1.85}.welcome-page .welcome-actions{gap:11px 17px}.welcome-page #createFirst{font-size:13px;gap:16px;padding:13px 17px}.welcome-page .welcome-secondary{font-size:12px}.welcome-page .welcome-preview{display:block;border-radius:16px}.welcome-page .preview-map{height:160px;min-height:0;border-right:0;border-bottom:1px solid #e1e9dc}.welcome-page .preview-heading{padding:20px 20px 0}.welcome-page .preview-stops{padding:0 20px}.welcome-page .preview-stops li{padding:13px 0;gap:10px}.welcome-page .preview-summary{padding:12px 20px;flex-wrap:nowrap}.welcome-page .feature-card{padding:18px 17px;gap:4px 11px}.welcome-page .welcome-how>h2{max-width:270px}.clearway-app .route-card .two-columns{gap:10px}.clearway-app .route-timing{gap:8px;padding:10px}.clearway-app .route-timing strong{font-size:16px}}
@media(prefers-reduced-motion:reduce){.clearway-app button,.clearway-app .button{transition:none}}

/* Public navigation stays in normal document flow so planner tours keep their anchors. */
.clearway-app .app-header.public-header{gap:24px;flex-wrap:nowrap}
.clearway-app .public-header .site-menu-toggle{display:none}
.clearway-app .public-header .site-menu-toggle span,.clearway-app .public-header .site-navigation button span{display:inline;color:inherit;font:inherit}
.clearway-app .public-header .site-navigation{display:flex;align-items:center;justify-content:flex-end;gap:28px;flex:1;min-width:0}
.clearway-app .public-header .site-links{display:flex;align-items:center;gap:22px;flex:none}
.clearway-app .public-header .site-links a{display:inline-flex;align-items:center;min-height:42px;margin:0;color:#486252;font-size:13px;font-weight:600;white-space:nowrap;text-decoration:none;text-underline-offset:5px}
.clearway-app .public-header .site-links a:hover{color:#1c613d;text-decoration:underline}
.clearway-app .public-header .planner-header-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;min-width:0;width:auto;margin-left:0;flex-wrap:nowrap}
.clearway-app .public-header .planner-header-actions>a,.clearway-app .public-header .planner-header-actions .account-controls>a{margin-left:0}
.clearway-app .public-header .planner-tutorial-button{min-height:42px;border-radius:999px;padding:9px 13px;font-size:13px;flex:none;background:#edf5ed;border-color:#d0e2d0;color:#315f3d}
.clearway-app .public-header .planner-tutorial-button:hover:not(:disabled){background:#e0eddf;border-color:#b9d2bb}
.clearway-app .public-header .planner-tutorial-button svg{display:block;width:18px;height:18px;flex:none}
.clearway-app .public-header .account-controls{display:flex;align-items:center;gap:8px;min-width:0;margin-left:0;flex:0 1 auto}
.clearway-app .public-header .account-controls .account-email{display:block;max-width:100px;min-width:0;flex:0 1 auto;color:#617267;font-size:12px;line-height:1.5;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.clearway-app .public-header .account-controls a,.clearway-app .public-header .account-controls button{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:9px 12px;flex:none;border-radius:10px;font-size:12px;line-height:1.4}
.clearway-app .public-header .account-controls .account-signin{background:#f0f5ed;border-color:#ceddcc;color:#386043}
.clearway-app .public-header .account-controls .account-signin:hover{background:#e3edde;border-color:#b7ceb4}
.clearway-app .public-header .header-start-button{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:44px;flex:none;padding:11px 16px;border:1px solid #246445;border-radius:11px;background:#246445;color:#fff;font-size:13px;font-weight:650;line-height:1.4;white-space:nowrap;box-shadow:0 3px 10px #1b603517}
.clearway-app .public-header .header-start-button svg{display:block;width:17px;height:17px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.clearway-app .public-header .header-start-button span{display:inline;color:inherit;font:inherit}
.clearway-app .public-header .header-start-button:hover:not(:disabled){background:#1c5137;border-color:#1c5137;box-shadow:0 4px 13px #1b603524}
.clearway-app .public-header .header-start-button:disabled,.clearway-app .public-header .header-start-button[aria-disabled=true]{background:#dce6dd;border-color:#c9d6ca;color:#5f7362;opacity:1;box-shadow:none;cursor:wait}
.clearway-app .public-header .site-navigation[aria-busy=true] .site-links a{color:#748478;cursor:wait;text-decoration:none}
@media(min-width:1201px) and (max-width:1400px){.clearway-app .app-header.public-header{gap:18px;padding-left:24px;padding-right:24px}.clearway-app .public-header .site-navigation{gap:20px}.clearway-app .public-header .site-links{gap:16px}.clearway-app .public-header .planner-header-actions{gap:8px}.clearway-app .public-header .account-controls{gap:6px}.clearway-app .public-header .account-controls .account-email{max-width:100px}.clearway-app .public-header .account-controls a,.clearway-app .public-header .account-controls button{padding-left:10px;padding-right:10px}.clearway-app .public-header .header-start-button{gap:9px;padding-left:13px;padding-right:13px}}
@media(max-width:1200px){
  .clearway-app .app-header.public-header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:0 18px;padding:14px 24px;min-height:76px}
  .clearway-app .public-header .site-menu-toggle{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;min-width:90px;flex:none;margin-left:auto;padding:9px 12px;border-radius:10px;background:#f0f5ee;border-color:#d9e4d5;color:#365e3f;font-size:13px;font-weight:650}
  .clearway-app .public-header .site-menu-toggle svg{display:block;width:22px;height:22px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
  .clearway-app .public-header .site-menu-toggle:hover{background:#e5efdf;border-color:#c2d6bc}
  .clearway-app .public-header .site-menu-toggle[aria-expanded=true]{background:#e1eddd;border-color:#b4ccaf;color:#234e2e}
  .clearway-app .public-header .site-navigation{display:flex;flex:1 0 100%;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:16px;width:100%;min-width:0;margin-top:14px;padding:14px 0 3px;border-top:1px solid #e0e8dd;background:#fff}
  .clearway-app .public-header.site-menu-ready:not(.menu-open) .site-navigation{display:none}
  .clearway-app .public-header .site-links{display:flex;flex-direction:column;align-items:stretch;gap:3px;width:100%}
  .clearway-app .public-header .site-links a{display:flex;min-height:44px;padding:10px 12px;border-radius:9px;font-size:14px;margin:0;white-space:normal}
  .clearway-app .public-header .site-links a:hover{background:#f1f6ed;text-decoration:none}
  .clearway-app .public-header .planner-header-actions{display:flex;align-items:stretch;justify-content:flex-start;flex-direction:column;flex-wrap:nowrap;gap:12px;width:100%;margin:0;min-width:0}
  .clearway-app .public-header .planner-tutorial-button{align-self:flex-start;min-height:44px;padding:10px 15px;font-size:13px}
  .clearway-app .public-header .account-controls{display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:10px;width:100%;margin:0;min-width:0}
  .clearway-app .public-header .account-controls .account-email{display:block;flex:1 0 100%;max-width:100%;min-width:0;overflow:visible;text-overflow:clip;white-space:normal;overflow-wrap:anywhere;color:#617267;font-size:13px;line-height:1.6;padding:11px 1px}
  .clearway-app .public-header .account-controls a,.clearway-app .public-header .account-controls button{min-height:44px;padding:10px 14px;max-width:100%;font-size:13px;white-space:normal;overflow-wrap:anywhere}
  .clearway-app .public-header .header-start-button{width:100%;min-height:46px;justify-content:space-between;padding:12px 15px;font-size:14px;margin-top:2px}
}
@media(max-width:740px){.clearway-app .app-header.public-header{padding:12px 17px;min-height:70px;gap:0 12px}.clearway-app .public-header .site-menu-toggle{min-width:83px;padding:9px 11px;font-size:12px;gap:7px}.clearway-app .public-header .site-navigation{margin-top:12px;padding-top:12px}.clearway-app .public-header .planner-header-actions{width:100%;margin-left:0;justify-content:flex-start}}

/* Saved routes live in their own dialog, leaving the daily planner full width. */
.clearway-app .planner-layout.no-library-sidebar{display:block}
.clearway-app .no-library-sidebar>#workspace{max-width:1500px;width:100%;margin-left:auto;margin-right:auto}
.clearway-app .public-header .saved-routes-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;flex:none;min-height:44px;margin:0;padding:10px 12px;border:1px solid #c9dbc6;border-radius:10px;background:#edf4e9;color:#345e3b;font-size:12px;font-weight:650;line-height:1.4;text-decoration:none;white-space:nowrap}
.clearway-app .public-header .saved-routes-button:hover{background:#e0ecda;border-color:#b0caaa}
.clearway-app .public-header .saved-routes-button svg{display:block;flex:none;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.clearway-app .public-header .saved-routes-button span,.clearway-app .public-header .account-signin span{display:inline;color:inherit;font:inherit}
.clearway-app .public-header .account-signin,.clearway-app .public-header .account-controls .account-signin{display:inline-flex;align-items:center;justify-content:center;min-height:44px;flex:none;padding:11px 15px;border:1px solid #a3ca94;border-radius:10px;background:#d2eabf;color:#224b2a;font-size:13px;font-weight:750;line-height:1.4;white-space:nowrap;box-shadow:0 2px 7px #53743a10}
.clearway-app .public-header .account-signin:hover:not(:disabled),.clearway-app .public-header .account-controls .account-signin:hover{background:#bfdca7;border-color:#88b776;color:#1d4224;box-shadow:0 3px 9px #53743a1c}
.clearway-app .public-header .account-signin:disabled{opacity:.7;cursor:wait;box-shadow:none}
.clearway-app dialog.saved-routes-dialog{width:min(720px,calc(100vw - 32px));max-width:none;height:fit-content;max-height:85vh;max-height:85dvh;padding:27px;border:1px solid #d5e3d5;border-radius:21px;background:#fff;color:#244632;overflow:hidden;box-shadow:0 24px 90px #1437213d}
.clearway-app dialog.saved-routes-dialog[open]{display:flex;flex-direction:column}
.clearway-app .saved-routes-dialog>*{flex-shrink:0}
.clearway-app .saved-routes-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:13px}
.clearway-app .saved-routes-heading .eyebrow{display:block;font-size:10px;line-height:1.5;font-weight:750;letter-spacing:1.6px;color:#54714f;margin-bottom:7px}
.clearway-app .saved-routes-heading h2{font-size:27px;line-height:1.2;letter-spacing:-.6px;margin:0;color:#244632}
.clearway-app .saved-routes-heading button{display:inline-flex;align-items:center;justify-content:center;flex:none;width:44px;height:44px;min-height:44px;margin:-4px -5px 0 0;padding:11px;border-radius:12px;background:#f0f5ed;border-color:#e0e8dc;color:#51714f}
.clearway-app .saved-routes-heading button:hover{background:#e4eddf;border-color:#c9dcc3}
.clearway-app .saved-routes-heading button svg{display:block;width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.clearway-app .saved-routes-dialog>#savedRoutesDescription{display:block;margin:0 0 20px;font-size:13px;line-height:1.7;color:#60765e;overflow-wrap:anywhere}
.clearway-app .saved-routes-toolbar{display:flex;align-items:flex-end;gap:12px;width:100%;min-width:0;padding-bottom:18px;border-bottom:1px solid #e2eadd}
.clearway-app .saved-routes-toolbar label{flex:1;min-width:0;margin:0;gap:8px;color:#496347;font-size:12px}
.clearway-app .saved-routes-toolbar input{min-height:44px;width:100%;padding:11px 12px;border-color:#cbdcc5;border-radius:10px;background:#fbfcf9;font-size:14px;color:#345332}
.clearway-app .saved-routes-toolbar button{flex:none;min-height:44px;padding:11px 14px;border-color:#b6d0ab;border-radius:10px;background:#e4f0dc;color:#305d30;font-size:13px;line-height:1.4}
.clearway-app .saved-routes-toolbar button:hover:not(:disabled){background:#d6e8cb;border-color:#a3c596}
.clearway-app .saved-routes-dialog .plan-list,.clearway-app .saved-routes-dialog .plan-list:not(:empty){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:12px;flex:0 1 auto;min-height:0;max-height:none;width:100%;margin:17px 0 0;padding:2px 3px 4px;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
.clearway-app .saved-routes-dialog .plan-list:empty{margin:0;padding:0}
.clearway-app .saved-routes-dialog .plan-entry{display:grid;grid-template-columns:minmax(0,1fr) 44px;align-items:start;gap:0;min-width:0;width:100%;padding:4px;background:#f6f9f2;border:1px solid #dce7d4;border-radius:14px}
.clearway-app .saved-routes-dialog .plan-entry:has(.active){background:#e8f2e1;border-color:#9fc695}
.clearway-app .saved-routes-dialog .plan-item{display:grid;align-content:start;gap:9px;min-width:0;min-height:102px;width:100%;padding:12px 10px;border:1px solid transparent;border-radius:10px;background:transparent;color:#294d2f;text-align:left;white-space:normal}
.clearway-app .saved-routes-dialog .plan-item:hover{background:#e9f0e2}
.clearway-app .saved-routes-dialog .plan-item.active{background:transparent;border-color:transparent;box-shadow:inset 3px 0 #4b8851}
.clearway-app .saved-routes-dialog .plan-item strong{font-size:14px;line-height:1.5;font-weight:700;overflow-wrap:anywhere}
.clearway-app .saved-routes-dialog .plan-item span{display:block;font-size:12px;line-height:1.6;color:#61725b;overflow-wrap:anywhere}
.clearway-app .saved-routes-dialog .plan-delete{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;min-width:44px;min-height:44px;margin:0;padding:12px;border-radius:10px}
.clearway-app .saved-routes-dialog>#savedRoutesEmpty{display:block;margin:18px 0 3px;padding:24px 20px;border:1px dashed #cdddc4;border-radius:13px;background:#f7faf3;color:#63735b;font-size:14px;line-height:1.7;text-align:center;overflow-wrap:anywhere}
.clearway-app .saved-routes-dialog>#savedRoutesStatus{display:block;margin:13px 0 0;font-size:13px;line-height:1.7;overflow-wrap:anywhere;color:#4a6745}
.clearway-app .saved-routes-dialog>#savedRoutesStatus:empty{display:none}
.clearway-app .saved-routes-dialog>#savedRoutesStatus.error{padding:10px 12px;border-radius:9px;background:#fff0ed;color:#9e3328}
.clearway-app .saved-routes-dialog .library-note{display:block;margin:18px 0 0;padding-top:15px;border-top:1px solid #e0e9da;font-size:12px;line-height:1.7;color:#63765d;overflow-wrap:anywhere}
.clearway-app .saved-routes-dialog .library-note span{display:inline;color:inherit;font:inherit}
.clearway-app dialog.local-signin-dialog{width:min(480px,calc(100vw - 32px));max-height:85vh;max-height:85dvh;padding:28px;border-radius:20px;border-color:#d5e3d5;background:#fff;box-shadow:0 24px 90px #1437213d}
.clearway-app .local-signin-dialog h2{font-size:25px;line-height:1.25;letter-spacing:-.5px;color:#284b31}
.clearway-app .local-signin-dialog p{font-size:14px;line-height:1.8;color:#5b705b;overflow-wrap:anywhere}
.clearway-app .local-signin-dialog .dialog-actions{padding-top:8px}
.clearway-app .local-signin-dialog .dialog-actions button{min-height:44px;padding:11px 15px;border-radius:10px}
.clearway-app .local-signin-dialog .dialog-actions .primary{background:#246445;border-color:#246445;color:#fff}
.clearway-app .local-signin-dialog .dialog-actions .primary:hover{background:#1c5137;border-color:#1c5137}
.clearway-app .local-signin-dialog .dialog-heading>button{display:inline-flex;align-items:center;justify-content:center;flex:none;min-width:44px;min-height:44px;padding:8px;border-radius:11px}
.clearway-app #confirmDialog .dialog-actions button{min-height:44px;padding:11px 15px}
@media(max-width:1200px){.clearway-app .public-header .saved-routes-button{min-height:44px;justify-content:flex-start;width:100%;font-size:14px;padding:11px 13px}.clearway-app .public-header .account-signin,.clearway-app .public-header .account-controls .account-signin{width:100%;min-height:46px;font-size:14px;padding:12px 15px}.clearway-app .public-header .planner-header-actions>.account-signin{align-self:stretch}}
@media(max-width:600px){.clearway-app dialog.saved-routes-dialog{width:calc(100vw - 24px);max-height:88vh;max-height:88dvh;padding:21px 17px;border-radius:18px}.clearway-app .saved-routes-heading{gap:12px}.clearway-app .saved-routes-heading h2{font-size:25px}.clearway-app .saved-routes-heading button{margin-right:-3px}.clearway-app .saved-routes-dialog>#savedRoutesDescription{margin-bottom:17px}.clearway-app .saved-routes-toolbar{gap:10px}.clearway-app .saved-routes-toolbar button{padding-left:11px;padding-right:11px;font-size:12px}.clearway-app .saved-routes-dialog .plan-list,.clearway-app .saved-routes-dialog .plan-list:not(:empty){grid-template-columns:minmax(0,1fr);gap:10px;margin-top:15px;scrollbar-gutter:auto}.clearway-app .saved-routes-dialog .plan-item{min-height:92px;padding:11px 10px}.clearway-app .saved-routes-dialog .library-note{margin-top:15px;padding-top:13px}.clearway-app dialog.local-signin-dialog{padding:24px 21px}}
@media(max-width:380px){.clearway-app .saved-routes-toolbar{align-items:stretch;flex-direction:column}.clearway-app .saved-routes-toolbar button{align-self:flex-end}.clearway-app .saved-routes-dialog>#savedRoutesDescription{font-size:12px}}
/* Append-and-calculate controls and movable route-list stops. */
.clearway-app .quick-stop-form{flex-wrap:wrap}
.clearway-app .quick-stop-form>label:first-child{flex:2 1 260px;min-width:0}
.clearway-app .quick-stop-form .quick-notes-field{flex:1.5 1 220px;min-width:0}
.quick-notes-field textarea{resize:vertical;min-height:38px}
.clearway-app .quick-stop-form .quick-route-choice{flex:1 1 170px;min-width:0}
.clearway-app .quick-stop-form select{width:100%}
.schedule-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.schedule-tools h3{margin:0}
.schedule-tools button{font-size:12px;min-height:40px;background:#eef4e9;color:#335b38;border-color:#c9dbc4}
.schedule-route{border:1px solid #dce7d8;border-radius:12px;padding:0 12px;margin:14px 0;background:#fcfdfa;transition:background .12s,border-color .12s}
.schedule-route .schedule-row{grid-template-columns:36px minmax(0,1fr) 40px;gap:8px;position:relative}
.schedule-stop-actions{display:flex;flex-direction:column;gap:6px}
.stop-delete-button{display:inline-flex;align-items:center;justify-content:center;width:100%;min-height:40px;padding:4px;border-radius:9px;font-size:22px;line-height:1;color:#ad1d32;background:#fff7f7;border-color:#e7b9bf}
.stop-delete-button:hover:not(:disabled){background:#fce4e7;border-color:#cf7d88}
.stop-delete-button:focus-visible{outline:3px solid #ad1d32;outline-offset:2px}
.schedule-route .schedule-row time{display:block;margin:0 0 5px}
.schedule-route .schedule-row .pending-visit{display:inline-block;margin-bottom:6px}
.custom-order-tag{display:inline-block;border-radius:6px;background:#e8f1e3;color:#48633e;font-size:10px;padding:4px 7px;margin-bottom:6px}
.stop-drag-handle{width:36px;min-height:44px;padding:8px 5px;border:1px solid #d3dfcd;border-radius:9px;background:#eff4eb;color:#6a7d61;cursor:grab;touch-action:none;user-select:none}
.stop-drag-handle svg{width:22px;height:24px;fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round;pointer-events:none}
.stop-drag-handle:hover{background:#e0ecd7;border-color:#a4c191;color:#2d5933}
.stop-drag-handle:focus-visible{outline:3px solid #5a9c79;outline-offset:2px}
.stop-drag-handle[aria-pressed=true]{cursor:grabbing;background:#d2e7c7;color:#284e2e}
.stop-drag-handle:disabled{cursor:wait;opacity:.5}
.schedule-row.stop-dragging{background:#eff5e9;border-radius:8px;opacity:.7}
.schedule-route.drop-active{border-color:#559c6b;background:#f1f8ed}
.schedule-row.stop-drop-before::before{content:'';position:absolute;left:0;right:0;top:-2px;height:4px;border-radius:4px;background:#20815b;box-shadow:0 0 0 2px #e4f2e1}
.stop-drop-end{padding:12px 5px;color:#67805c;font-size:11px;text-align:center;border-top:1px dashed #d5e1cd}
.drop-active .stop-drop-end.drop-end-active{background:#e0f0d7;border-top:3px solid #20815b;color:#254e2c;font-weight:700}
.moving-stop,.moving-stop *{cursor:grabbing!important;user-select:none!important}
#stopMoveStatus:empty{display:none}
.clearway-app .button.action-map{background:rgba(15,118,110,.10);border-color:rgba(15,118,110,.30);color:#145e58}
.clearway-app .button.action-map:hover{background:rgba(15,118,110,.18)}
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:420px){.schedule-route{padding:0 8px}.schedule-route .schedule-row{grid-template-columns:32px minmax(0,1fr) 36px;gap:6px}.stop-drag-handle{width:32px}.schedule-route .stop-move-button{width:36px}.clearway-app .quick-stop-form>label:first-child,.clearway-app .quick-stop-form .quick-notes-field,.clearway-app .quick-stop-form .quick-route-choice{flex-basis:100%}.clearway-app .quick-stop-form>button{flex:1 1 auto}}

#pasteStopsPanel .dialog-heading,#pasteStopsPanel #importForm>p:first-of-type,#pasteStopsPanel [data-close]{display:none}
#pasteStopsPanel textarea{resize:vertical;min-height:150px}

/* Keep everyday actions visible; reveal secondary controls on demand. */
.planner-options { margin: 12px 0 20px; padding: 14px 18px; border: 1px solid #dce5df; border-radius: 12px; background: #f8faf8; }
.planner-options summary { cursor: pointer; font-weight: 600; color: #244c3c; min-height: 24px; }
.planner-options summary span { margin-left: 12px; font-weight: 400; color: #65766c; font-size: 13px; }
.planner-options[open] summary { margin-bottom: 16px; }
.planner-options .button-row { margin-top: 12px; }
.planner-options summary:focus-visible { outline: 3px solid #16815a; outline-offset: 4px; }
@media(max-width:600px) { .planner-options summary span { display: block; margin: 6px 0 0 18px; } .plan-heading { flex-wrap: wrap; gap: 12px; } }
.appointment-review-dialog { width: min(760px, calc(100vw - 32px)); max-height: 90vh; }
.appointment-review-dialog form { display: flex; flex-direction: column; max-height: calc(90vh - 48px); }
.appointment-review-rows { overflow-y: auto; min-height: 0; padding: 4px 8px 4px 0; }
.appointment-review-rows fieldset { border: 1px solid #d4e2dc; border-radius: 10px; margin: 0 0 18px; padding: 14px; }
.appointment-review-rows legend { font-weight: 700; padding: 0 6px; overflow-wrap: anywhere; }
.appointment-review-address { display: flex; align-items: flex-end; gap: 8px; }
.appointment-review-address label { flex: 1; min-width: 0; }
.appointment-review-address [data-review-remove] { flex-shrink: 0; min-width: 44px; min-height: 44px; font-size: 1.25rem; }
.appointment-review-rows details { margin-top: 12px; }
.appointment-review-rows .suggestions button[aria-selected=true] { background: #e6f5ef; color: #075f50; }
.appointment-review-rows summary { cursor: pointer; margin-bottom: 8px; }
.appointment-review-dialog .dialog-actions { flex-shrink: 0; flex-wrap: wrap; padding-top: 12px; }

.route-card[data-select-route]{cursor:pointer}
.route-card[data-select-route]:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
.import-assignment{display:grid;gap:12px;margin-top:16px}
.import-assignment fieldset{border:1px solid var(--line);border-radius:10px;padding:14px}
.import-drivers{display:flex;flex-wrap:wrap;gap:12px;margin:12px 0}
.import-drivers label{display:flex;align-items:center;gap:6px}
.import-drivers input{width:auto}
.import-balance{display:flex;flex-direction:row;align-items:center;gap:8px;margin-top:14px}
.import-balance input{width:auto;flex-shrink:0}
.route-job-panel{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 18px;margin:12px 0;border:1px solid #bed9cb;border-radius:10px;background:#f2f8f4}
.route-job-panel[hidden]{display:none}
.route-job-panel p{margin:0 0 5px;font-weight:600}
.route-job-panel small{color:#52675b}
.route-job-panel button{flex-shrink:0}
@media(max-width:600px){.route-job-panel{align-items:flex-start;flex-direction:column}}
