.control-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(290px,1fr));gap:18px}.control-card{padding:24px;border:1px solid var(--line);border-radius:12px;margin-bottom:18px;background:var(--light)}.control-card[hidden]{display:none}.control-card p,.proposal-text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65}.control-card h3{margin:14px 0 8px}.control-card pre{max-height:500px;overflow:auto}.control-card small{color:var(--muted)}.report-top,.road-toolbar{display:flex;gap:16px;flex-wrap:wrap;align-items:end;margin:18px 0}.report-top>.field{flex:1;min-width:180px}summary{cursor:pointer;font-weight:600;padding:12px 0}.report-columns{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:8px;max-height:240px;overflow:auto;padding:12px;border:1px solid var(--line);border-radius:8px}.report-columns label{display:flex;align-items:center;gap:8px;overflow-wrap:anywhere;font-size:12px}.report-columns input{width:auto;min-height:auto}.report-filter{display:grid;grid-template-columns:2fr 1fr 2fr auto;gap:10px;margin:10px 0}.report-bar{display:grid;grid-template-columns:1fr 2fr 100px;gap:16px;align-items:center;padding:12px}.report-bar meter{width:100%;height:24px}.road-planner{padding:20px;margin-bottom:24px}.road-toolbar{margin-top:0}.road-toolbar label{display:grid;gap:6px;font-size:12px}.road-layout{display:grid;grid-template-columns:minmax(260px,340px) minmax(280px,1fr);gap:20px}.road-sidebar{max-height:610px;overflow:auto;padding-right:6px}.road-sidebar h3{margin:10px 0}.road-sidebar p,.map-note{font-size:12px;line-height:1.6;color:var(--muted)}.road-add{display:flex;gap:8px;margin:10px 0}.road-add select{min-width:0;width:100%}#road-map{height:560px;border:1px solid var(--line);border-radius:10px;z-index:1}.map-note{padding:8px 0}.road-stop{display:flex;gap:12px;padding:16px 0;border-bottom:1px solid var(--line);cursor:grab}.road-stop small{display:block;line-height:1.7}.stop-number,.road-marker span{display:flex;align-items:center;justify-content:center;border-radius:50%;width:28px;height:28px;background:#1b5750;color:white;font-weight:700;flex-shrink:0}.road-marker span{border:2px solid white;box-shadow:0 2px 5px #0006}.stop-content{flex:1;min-width:0}.stop-content .text-button{text-align:left}.stop-actions{display:flex;gap:8px;margin-top:8px}.stop-actions button{padding:6px 10px;border:1px solid var(--line);border-radius:5px;background:var(--light);color:inherit}.stop-actions button:disabled{opacity:.4}.directions-leg{padding:12px 20px}.directions-leg li{padding:8px 0}.leaflet-popup-content{color:#243d3a}.leaflet-control-attribution{font-size:10px}.leaflet-control a{color:#243d3a!important}.proposal-text{font-family:inherit}.report-top input,.report-filter input,.road-toolbar input{max-width:100%}@media(max-width:900px){.road-layout{grid-template-columns:1fr}.road-sidebar{max-height:none}#road-map{height:400px}.report-filter{grid-template-columns:1fr 1fr}.heading-actions{flex-wrap:wrap}.control-cards{grid-template-columns:1fr}}
.road-toolbar input,.road-toolbar select,.road-add select,#road-search,.report-filter input,.report-filter select,#control-search{font:inherit;padding:9px 12px;border:1px solid var(--line);border-radius:7px;background:var(--light);color:inherit;min-height:38px}.road-toolbar input,.road-toolbar select{min-width:150px}.main,.content,.road-layout>div{min-width:0}.page-heading{flex-wrap:wrap;gap:18px}.page-heading .heading-actions{flex-wrap:wrap}#road-map img{max-width:none}.leaflet-container{font-family:inherit}.leaflet-control-attribution a{color:#17679a}.control-card .heading-actions{justify-content:flex-start}

/* Administration inventory remains usable with both patch actions visible. */
#patch-content table{white-space:normal;min-width:640px}
#patch-content td{vertical-align:top}
#patch-content td:first-child{min-width:130px}
#patch-content td small{display:block;max-width:180px;margin-top:5px;color:var(--muted)}
#patch-content td:last-child .button{display:block;width:100%;margin-bottom:8px;white-space:normal;text-align:center}
#patch-content td details{min-width:100px}
#patch-content td details[open]{max-width:240px;overflow-wrap:anywhere}
#patch-content .toolbar{flex-wrap:wrap}
#patch-form [hidden]{display:none}

.control-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(290px,1fr));gap:18px}.control-card{padding:24px;border:1px solid var(--line);border-radius:12px;margin-bottom:18px;background:var(--light)}.control-card[hidden]{display:none}.control-card p,.proposal-text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65}.control-card h3{margin:14px 0 8px}.control-card pre{max-height:500px;overflow:auto}.control-card small{color:var(--muted)}.report-top,.journey-toolbar{display:flex;gap:16px;flex-wrap:wrap;align-items:end;margin:18px 0}.report-top>.field{flex:1;min-width:180px}summary{cursor:pointer;font-weight:600;padding:12px 0}.report-columns{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:8px;max-height:240px;overflow:auto;padding:12px;border:1px solid var(--line);border-radius:8px}.report-columns label{display:flex;align-items:center;gap:8px;overflow-wrap:anywhere;font-size:12px}.report-columns input{width:auto;min-height:auto}.report-filter{display:grid;grid-template-columns:2fr 1fr 2fr auto;gap:10px;margin:10px 0}.report-bar{display:grid;grid-template-columns:1fr 2fr 100px;gap:16px;align-items:center;padding:12px}.report-bar meter{width:100%;height:24px}.journey-planner{padding:20px;margin-bottom:24px}.journey-toolbar{margin-top:0}.journey-toolbar label{display:grid;gap:6px;font-size:12px}.journey-layout{display:grid;grid-template-columns:minmax(260px,340px) minmax(280px,1fr);gap:20px}.journey-sidebar{max-height:610px;overflow:auto;padding-right:6px}.journey-sidebar h3{margin:10px 0}.journey-sidebar p,.map-note{font-size:12px;line-height:1.6;color:var(--muted)}.journey-add{display:flex;gap:8px;margin:10px 0}.journey-add select{min-width:0;width:100%}#journey-map{height:560px;border:1px solid var(--line);border-radius:10px;z-index:1}.map-note{padding:8px 0}.journey-stop{display:flex;gap:12px;padding:16px 0;border-bottom:1px solid var(--line);cursor:grab}.journey-stop small{display:block;line-height:1.7}.stop-number,.journey-marker span{display:flex;align-items:center;justify-content:center;border-radius:50%;width:28px;height:28px;background:#1b5750;color:white;font-weight:700;flex-shrink:0}.journey-marker span{border:2px solid white;box-shadow:0 2px 5px #0006}.stop-content{flex:1;min-width:0}.stop-content .text-button{text-align:left}.stop-actions{display:flex;gap:8px;margin-top:8px}.stop-actions button{padding:6px 10px;border:1px solid var(--line);border-radius:5px;background:var(--light);color:inherit}.stop-actions button:disabled{opacity:.4}.directions-leg{padding:12px 20px}.directions-leg li{padding:8px 0}.leaflet-popup-content{color:#243d3a}.leaflet-control-attribution{font-size:10px}.leaflet-control a{color:#243d3a!important}.proposal-text{font-family:inherit}.report-top input,.report-filter input,.journey-toolbar input{max-width:100%}@media(max-width:900px){.journey-layout{grid-template-columns:1fr}.journey-sidebar{max-height:none}#journey-map{height:400px}.report-filter{grid-template-columns:1fr 1fr}.heading-actions{flex-wrap:wrap}.control-cards{grid-template-columns:1fr}}
.journey-toolbar input,.journey-toolbar select,.journey-add select,#journey-search,.report-filter input,.report-filter select,#control-search{font:inherit;padding:9px 12px;border:1px solid var(--line);border-radius:7px;background:var(--light);color:inherit;min-height:38px}.journey-toolbar input,.journey-toolbar select{min-width:150px}.main,.content,.journey-layout>div{min-width:0}.page-heading{flex-wrap:wrap;gap:18px}.page-heading .heading-actions{flex-wrap:wrap}#journey-map img{max-width:none}.leaflet-container{font-family:inherit}.leaflet-control-attribution a{color:#17679a}.control-card .heading-actions{justify-content:flex-start}
.journey-toolbar input[type=checkbox]{min-width:0;width:auto}.journey-toolbar select[multiple]{min-width:260px;max-width:100%}

.journey-toolbar label:has(input[type=checkbox]){display:flex;align-items:center;gap:8px}.journey-toolbar input[type=checkbox]{width:18px;height:18px;min-height:18px;padding:0}#journey-edit{font:inherit;padding:9px 12px;border:1px solid var(--line);border-radius:7px;background:var(--light);color:inherit;max-width:100%}
