.grinea-public-map{margin:24px 0;border:1px solid #dce0e5;background:#fff;color:#1d1f47;max-width:100%;font-family:inherit}.grinea-map-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 20px}.grinea-public-map button{font:inherit;cursor:pointer}.grinea-map-heading button{background:#fff;color:#1d1f47;border:1px solid #1d1f47;padding:8px 14px;border-radius:3px}.grinea-map-canvas{width:100%;position:relative;z-index:0;background:#eef1f4}.grinea-map-canvas img{max-width:none!important}.grinea-public-map .grinea-map-message{margin:0;padding:12px 20px;font-size:14px}.grinea-map-legend{display:flex;gap:18px;flex-wrap:wrap;padding:0 20px 16px;font-size:14px}.grinea-map-legend span{display:flex;align-items:center;gap:6px}.grinea-map-legend i{width:20px;border-top:4px solid #1d1f47}.grinea-map-legend .grinea-progress{border-color:#b97900;border-top-style:dashed}.grinea-map-legend .grinea-unknown{border-color:#666}.grinea-project-list{border-top:1px solid #dce0e5;padding:16px 20px}.grinea-project-list summary{cursor:pointer}.grinea-project-list ul{margin:16px 0 0;padding-left:22px}.grinea-project-list li{padding:8px 0}.grinea-project-list button{background:none;border:0;padding:0;text-align:start;text-decoration:underline;color:#1d1f47;white-space:normal;overflow-wrap:anywhere}.grinea-project-list p{font-size:14px;margin:4px 0}.grinea-popup{font-family:inherit;color:#1d1f47;overflow-wrap:anywhere;max-height:300px;overflow:auto}.grinea-popup strong{display:block;font-size:16px;line-height:1.45}.grinea-popup dl{margin:12px 0 0}.grinea-popup dt{font-weight:600;margin:8px 0 0}.grinea-popup dd{margin:0}.grinea-public-map button:focus-visible,.grinea-project-list summary:focus-visible{outline:3px solid #b97900;outline-offset:3px}@media(max-width:600px){.grinea-map-canvas{height:420px!important}.grinea-map-heading{padding:12px}.grinea-map-heading button{font-size:13px}.grinea-map-legend{gap:10px}}

.grinea-market-switch{display:flex;gap:8px;flex-wrap:wrap}.grinea-market-switch button[aria-pressed="true"]{background:#1d1f47;color:#fff}.grinea-map-heading{flex-wrap:wrap}.grinea-project-list li[hidden]{display:none!important}

.grinea-map-filters{display:flex;gap:16px;flex-wrap:wrap;align-items:flex-end;padding:16px 20px;border-top:1px solid #dce0e5;background:#f7f8fa}.grinea-map-filters label{display:flex;flex:1 1 160px;flex-direction:column;gap:6px;font-size:14px;font-weight:600}.grinea-map-filters select{width:100%;min-height:42px;border:1px solid #b8bec7;background:#fff;color:#1d1f47;border-radius:3px;padding:8px;font:inherit}.grinea-reset-filters{padding:9px 14px;background:white;color:#1d1f47;border:1px solid #1d1f47;border-radius:3px;min-height:42px}.grinea-map-filters select:focus-visible{outline:3px solid #b97900;outline-offset:2px}

/* Map and grouped sidebar: 70/30 on desktop, stacked on narrow screens. */
.grinea-map-layout{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,3fr);border-block:1px solid #dce0e5}
.grinea-map-main{min-width:0}
.grinea-public-map .grinea-project-list{min-width:0;height:var(--grinea-map-height);box-sizing:border-box;display:flex;flex-direction:column;border-top:0;border-inline-start:1px solid #dce0e5;padding:0;background:#fff}
.grinea-public-map .grinea-list-title{margin:0;padding:18px 20px;font-size:18px;line-height:1.4;border-bottom:1px solid #dce0e5}
.grinea-list-scroll{overflow-y:auto;min-height:0;overscroll-behavior:contain;padding:0 18px 18px;scrollbar-width:thin}
.grinea-public-map .grinea-category-group h4{font-size:13px;line-height:1.5;text-transform:uppercase;letter-spacing:.035em;margin:20px 0 4px;border-inline-start:4px solid #1d1f47;padding-inline-start:10px}
.grinea-public-map [data-grinea-category="stations"] h4{border-color:#b97900}
.grinea-public-map [data-grinea-category="uncategorized"] h4{border-color:#666}
.grinea-public-map .grinea-project-list ul{list-style:none;margin:0;padding:0}
.grinea-public-map .grinea-project-list li{border-bottom:1px solid #e7e9ee;padding:14px 0}
.grinea-public-map .grinea-project-list button{font-size:14px;font-weight:600;line-height:1.5;text-decoration:none}
.grinea-public-map .grinea-project-list button:hover{text-decoration:underline;color:#936400}
.grinea-public-map .grinea-project-list p{font-size:12px;line-height:1.6;color:#586174;margin:6px 0 0}
.grinea-public-map [hidden]{display:none!important}
.grinea-group-count{font-weight:400;white-space:nowrap}
.grinea-map-legend .grinea-lines{border-color:#1d1f47}
.grinea-map-legend .grinea-stations{border:0;width:12px;height:12px;background:#b97900;border-radius:50%}
@media(max-width:900px){.grinea-map-layout{grid-template-columns:1fr}.grinea-public-map .grinea-project-list{height:auto;max-height:480px;border-inline-start:0;border-top:1px solid #dce0e5}.grinea-map-canvas{height:420px!important}}

.grinea-public-map .grinea-legend-expanded{display:block;padding:24px;background:#f7f8fa;border-top:1px solid #dce0e5}
.grinea-public-map .grinea-legend-expanded h3{font-size:20px;line-height:1.4;margin:0 0 18px}
.grinea-legend-panels{display:grid;grid-template-columns:1fr 1fr;gap:32px}
.grinea-legend-panel{min-width:0}
.grinea-public-map .grinea-legend-expanded h4{font-size:13px;text-transform:uppercase;letter-spacing:.06em;line-height:1.5;margin:0 0 12px;color:#586174}
.grinea-public-map .grinea-legend-expanded ul{list-style:none;margin:0;padding:0;display:grid;gap:14px}
.grinea-public-map .grinea-legend-expanded li{display:flex;align-items:center;gap:14px;margin:0;padding:0}
.grinea-public-map .grinea-legend-sample{width:90px;height:30px;flex:0 0 90px;color:#1d1f47;overflow:visible}
.grinea-public-map .grinea-legend-expanded strong{display:block;font-size:14px;line-height:1.5}
.grinea-public-map .grinea-legend-expanded small{display:block;font-size:12px;line-height:1.5;color:#586174}
.grinea-public-map .grinea-legend-hint{font-size:12px;line-height:1.6;color:#586174;margin:18px 0 0;max-width:430px}
@media(max-width:650px){.grinea-legend-panels{grid-template-columns:1fr;gap:24px}.grinea-public-map .grinea-legend-expanded{padding:18px}.grinea-public-map .grinea-legend-sample{width:76px;flex-basis:76px}}

/* Compact reference legend: categories in two columns, statuses on the right. */
.grinea-public-map .grinea-legend-expanded{padding:28px 24px}
.grinea-legend-panels{grid-template-columns:1fr 1fr;gap:36px}
.grinea-public-map .grinea-legend-categories ul{grid-template-columns:1.25fr 1fr;column-gap:24px;row-gap:18px;align-items:start}
.grinea-legend-lines{grid-column:1;grid-row:1}
.grinea-legend-stations{grid-column:1;grid-row:2}
.grinea-legend-design{grid-column:2;grid-row:1}
@media(max-width:1100px){.grinea-legend-panels{grid-template-columns:1.5fr 1fr;gap:24px}.grinea-public-map .grinea-legend-expanded li{gap:10px}.grinea-public-map .grinea-legend-sample{width:70px;flex-basis:70px}}
@media(max-width:800px){.grinea-legend-panels{grid-template-columns:1fr}.grinea-public-map .grinea-legend-sample{width:90px;flex-basis:90px}}
@media(max-width:520px){.grinea-public-map .grinea-legend-categories ul{grid-template-columns:1fr}.grinea-legend-design{grid-column:1;grid-row:3}.grinea-public-map .grinea-legend-expanded{padding:20px 16px}}
