/* EcoSort hackathon MVP: restrained engineering workbench styling */
.mvp-notice{border:1px solid #d4ded4;background:#eef2ec;border-left:3px solid #456f50;border-radius:6px;color:#405247;font-size:12px;line-height:1.7;padding:13px 17px;margin:0 0 23px}.mvp-notice strong{color:#244532}
.robot-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin-bottom:22px;border:1px solid var(--line);border-radius:7px;background:#fff;overflow:hidden}.robot-steps>div{padding:17px 20px;border-right:1px solid var(--line)}.robot-steps>div:last-child{border:0}.robot-steps small{display:block;color:#78837a;letter-spacing:1.2px;font-size:10px;margin-bottom:6px}.robot-steps strong{display:block;font-size:13px;font-weight:600}
.mvp-columns{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:20px}.camera-stage{position:relative;background:#172420;aspect-ratio:16/10;overflow:hidden;display:grid;place-items:center}.camera-stage video{width:100%;height:100%;object-fit:contain;display:none}.camera-stage video.camera-on{display:block}.camera-placeholder{color:#c4d1c9;display:flex;flex-direction:column;gap:10px;text-align:center;align-items:center;padding:25px}.camera-placeholder strong{font-size:16px;font-weight:550;color:#fff}.camera-placeholder span:last-child{font-size:12px;color:#9fac9f}.camera-reticle{font-size:42px;color:#92b69f}.camera-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:9px;padding:17px 18px}.camera-toolbar .button{min-width:0;gap:8px}.camera-help{font-size:11px;color:var(--muted);padding:0 19px 19px;line-height:1.7}.camera-panel .error{margin:0 19px 18px}.decision-body{padding:20px}.decision-preview{height:170px;background:#f0f3ee;display:grid;place-items:center;border-radius:6px;overflow:hidden;color:var(--muted);text-align:center;font-size:12px}.decision-preview img{width:100%;height:100%;object-fit:contain}.robot-decision{padding:19px 0 0}.robot-decision>strong{font-weight:650;font-size:16px}.robot-decision p{font-size:12px;color:var(--muted);line-height:1.7;margin:9px 0}.decision-metric{border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:10px;padding:11px 0;font-size:12px}.decision-metric strong{font-variant-numeric:tabular-nums;text-align:right}.decision-pill{display:inline-block;border-radius:4px;padding:4px 8px;background:#e8efe7;color:#245542;font-size:11px;font-weight:650}.decision-pill.review{background:#fff0df;color:#8a561f}.sim-warning{font-size:11px;background:#f5f5ef;border:1px solid #e7e8df;border-radius:5px;padding:12px;line-height:1.6;margin:14px 0 0}.process-panel,.event-panel{margin-top:19px}.routing-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.routing-grid>div{padding:20px;border-right:1px solid var(--line)}.routing-grid>div:last-child{border:0}.routing-grid strong{font-size:12px}.routing-grid p{font-size:11px;color:var(--muted);line-height:1.7;margin:7px 0 0}.robot-events{margin:0;padding:18px 24px 18px 42px;max-height:200px;overflow:auto;font-size:12px;color:var(--muted)}.robot-events li{padding:5px 0;border-bottom:1px solid #eef0ec}.robot-events li:last-child{border:0}
.map-controls{display:flex;align-items:end;gap:14px;flex-wrap:wrap;margin:0 0 13px}.map-controls label{display:flex;flex-direction:column;gap:5px;color:var(--muted);font-size:11px}.map-controls select,.bin-form input{border:1px solid var(--line);border-radius:6px;background:white;padding:10px 12px;color:var(--ink);min-height:40px}.map-counter{margin-left:auto;font-size:11px;color:var(--muted)}#azerbaijan-map{height:510px;width:100%;background:#e3e8e0;border:1px solid var(--line);border-radius:7px;z-index:0}.map-status{font-size:12px;color:var(--muted);margin:12px 0;min-height:20px;line-height:1.6}.map-legend{display:flex;flex-wrap:wrap;gap:25px;font-size:11px;color:var(--muted);margin:14px 0}.map-legend>span{display:inline-flex;gap:8px;align-items:center}.map-legend i{display:inline-block;width:11px;height:11px;border-radius:50%;border:2px solid white;box-shadow:0 0 0 1px #bec9ba}.legend-osm{background:#2f7452}.legend-local{background:#d99e32}.map-source{font-size:10px;color:var(--muted);margin:14px 0 22px}.map-source a{text-decoration:underline}.bin-form{padding:20px;margin:15px 0}.bin-form h2{margin:0 0 7px;font-size:16px}.bin-form p{font-size:12px;color:var(--muted)}.bin-form label{display:flex;flex-direction:column;gap:6px;margin:12px 0;font-size:12px}.bin-form>div{display:flex;gap:9px;margin-top:12px}.bin-form>span{font-size:11px;color:var(--muted)}.leaflet-container{font:inherit}.leaflet-popup-content{line-height:1.5}.leaflet-popup-content strong{font-size:13px}.leaflet-popup-content a{color:#235c43}
@media(max-width:1100px){.mvp-columns{grid-template-columns:1fr}.routing-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.routing-grid>div:nth-child(2){border:0}.routing-grid>div:nth-child(-n+2){border-bottom:1px solid var(--line)}.robot-steps>div{padding:13px}.robot-steps strong{font-size:12px}}
@media(max-width:780px){.robot-steps{grid-template-columns:repeat(2,minmax(0,1fr))}.robot-steps>div:nth-child(2){border:0}.robot-steps>div:nth-child(-n+2){border-bottom:1px solid var(--line)}#azerbaijan-map{height:420px}.map-counter{margin-left:0;width:100%}.camera-toolbar .button{flex:1}.routing-grid>div{padding:14px}.mvp-notice{font-size:11px}}
@media(max-width:420px){.robot-steps strong{font-size:11px}.camera-toolbar{padding:12px}.camera-toolbar .button{font-size:11px;padding:9px 10px}.decision-body{padding:14px}.routing-grid{grid-template-columns:1fr}.routing-grid>div{border-right:0!important;border-bottom:1px solid var(--line)}.routing-grid>div:last-child{border:0}}

/* Camera selection overlay: functional, deliberately unobtrusive. */
.camera-roi-layer{position:absolute;inset:0;z-index:3;pointer-events:none;background:transparent}
.camera-roi-box{position:absolute;pointer-events:none;border:2px solid #a5e4bd;border-radius:5px;background:rgba(58,128,83,.08);box-shadow:0 0 0 1px rgba(12,27,16,.4)}
#camera-screening{color:var(--ink);padding-bottom:7px}
@media(max-width:780px){.camera-toolbar{gap:6px}.camera-toolbar #select-camera-object,.camera-toolbar #clear-camera-object{flex:1 1 42%}}
