.learning-map-page{background:#eff3ed;color:#1e3833}.map-shell{width:min(1560px,calc(100% - 40px));margin:auto}.map-intro{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:20px 0}.map-intro h1{font-size:clamp(1.9rem,4vw,3rem);margin:10px 0 5px}.map-intro p{margin:0;color:#49625a}.map-intro .button{font-size:.9rem}.map-region{border:1px solid #a9bbb0;border-radius:20px;overflow:hidden;background:#e5ebe4;box-shadow:0 14px 35px #243b2b12}.map-toolbar{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;padding:10px 14px;background:#f7f7ef;border-bottom:1px solid #bec9bd}.map-zoom-controls{display:flex;gap:7px}.map-toolbar button{display:flex;align-items:center;justify-content:center;gap:6px;min-height:46px;min-width:46px;padding:8px 12px;border:1px solid #aab7a7;border-radius:9px;background:#fffef7;color:#25433a;font:800 1rem system-ui;cursor:pointer}.map-toolbar button:first-child,.map-toolbar button:nth-child(2){font-size:1.5rem}.map-toolbar svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.5}.map-toolbar button:disabled{opacity:.45;cursor:default}.map-label-toggle{display:flex;align-items:center;gap:8px;font-size:.9rem;font-weight:700;min-height:44px}.map-label-toggle input{width:20px;height:20px;accent-color:#2e6b59}.map-frame{position:relative}.learning-map{height:clamp(420px,68vh,740px);width:100%;background:#263b31;touch-action:none;z-index:0}.map-loading{position:absolute;inset:40% 16px auto;text-align:center;padding:16px;background:#fff9e8;color:#294434;border-radius:12px;z-index:5;pointer-events:none}.map-caption{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:10px 16px;background:#f8faf5;color:#405a50;font-size:.85rem}.map-caption p{margin:0;max-width:800px}.map-legend{display:flex;gap:15px;flex-wrap:wrap;list-style:none;padding:0;margin:0}.map-legend li{display:flex;align-items:center;gap:6px}.station-dot{display:inline-block;width:11px;height:11px;flex-shrink:0;border-radius:50%;border:1px solid #526759;background:#e2e9dd}.station-dot.working{background:#4b8075;border-color:#254f46}.station-dot.mastered{background:#d8b657;border-color:#816b2a}.landmark-icon{background:none;border:0}.landmark-button{position:relative;display:block;width:52px;height:60px;padding:0;border:0;background:transparent;cursor:pointer;filter:drop-shadow(0 3px 3px #061a1ac0);touch-action:manipulation}.landmark-button>svg{width:52px;height:60px;overflow:visible}.landmark-button>svg>path{fill:#234a43;stroke:#e2cf9d;stroke-width:2}.landmark-button>svg>circle{fill:#f4efdd;stroke:#a59056;stroke-width:1.2}.landmark-number{position:absolute;left:0;top:8px;width:52px;height:34px;display:grid;place-items:center;font:900 18px Georgia,serif;color:#203c34}.landmark-button.working>svg>circle{fill:#cfe6df}.landmark-button.mastered>svg>circle{fill:#e8ca75}.landmark-button:focus-visible{outline:4px solid #f6d169;outline-offset:2px;border-radius:26px 26px 12px 12px}.landmark-icon.selected .landmark-button{filter:drop-shadow(0 0 5px #fff1ad) drop-shadow(0 2px 3px #061a1a)}.landmark-check{display:none;position:absolute;right:-1px;top:0;width:18px;height:18px;background:#f3d783;border-radius:50%;border:1px solid #425b41}.landmark-button.mastered .landmark-check{display:block}.landmark-check svg{fill:none;stroke:#224d35;stroke-width:2.5;width:16px;height:16px}.map-label.leaflet-tooltip{border:1px solid #b9b596;background:#fbf7e5ed;border-radius:7px;color:#263e32;font:750 12px system-ui;padding:4px 8px;box-shadow:0 2px 5px #0b24192b;pointer-events:none;white-space:nowrap}.map-label.leaflet-tooltip-bottom:before{border-bottom-color:#b9b596}.leaflet-control-attribution{font-size:10px!important;background:#f7f5e8dc!important}.station-panel{position:absolute;right:14px;top:14px;bottom:14px;width:min(370px,38%);overflow:auto;padding:22px;border:1px solid #bdb490;border-radius:16px;background:#fbf9effa;box-shadow:0 12px 40px #0c231c66;z-index:600;overscroll-behavior:contain}.station-panel header{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.station-panel h2{font-size:1.7rem;line-height:1.18;margin:8px 0 12px;color:#263e32}.station-eyebrow{font-size:.7rem;font-weight:850;letter-spacing:.08em;text-transform:uppercase;color:#536d55}.station-close{flex:0 0 44px;height:44px;border:1px solid #b8b99e;border-radius:50%;background:white;color:#244238;font-size:1.8rem;cursor:pointer}.station-state{display:inline-block;margin:0;padding:5px 10px;border:1px solid #bfcdbc;border-radius:20px;background:#edf2e8;font-size:.8rem;font-weight:850}.station-state.working{background:#e0eeea;color:#28584b}.station-state.mastered{background:#f3e5b6;color:#574719}.station-panel>p{font-size:.93rem;line-height:1.55}.station-paths{display:grid;gap:10px;list-style:none;margin:18px 0;padding:0}.station-paths a{position:relative;display:block;text-decoration:none;padding:13px 25px 13px 14px;border:1px solid #c3ceb9;border-radius:12px;background:white;color:#254a3e;min-height:56px}.station-paths small{display:block;color:#64775b;font-size:.7rem;margin-bottom:3px}.station-paths strong{display:block;font-size:.94rem}.station-paths a>span{position:absolute;right:10px;top:18px}.station-paths a:hover,.station-paths a:focus-visible{background:#e7f2ec;outline:2px solid #53836c;outline-offset:1px}.station-note{font-size:.8rem!important;color:#526957;background:#edf1e4;padding:12px;border-radius:9px}.station-evidence{font-size:.8rem;color:#53674f;margin-top:16px}.station-evidence summary{cursor:pointer;font-weight:800;padding:8px 0}.map-directory{margin:28px 0}.map-directory header{display:flex;justify-content:space-between;gap:20px;align-items:end}.map-directory h2{font-size:1.8rem}.map-directory .eyebrow{color:#547455;font-size:.7rem}.map-directory header>p{font-size:.85rem;color:#506654}.map-directory>ul{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;list-style:none;padding:0}.map-directory li button{display:flex;align-items:center;gap:12px;width:100%;height:100%;min-height:82px;padding:12px;text-align:left;border:1px solid #b9c9b8;border-radius:13px;background:#fffef8;color:#2a473a;cursor:pointer;font:inherit}.station-list-number{display:grid;place-items:center;flex:0 0 32px;height:32px;border:1px solid #a4b9a4;border-radius:50%;font:800 1.1rem Georgia}.map-directory strong{display:block;font-size:.9rem}.map-directory small{display:block;font-size:.75rem;margin-top:4px;color:#60775f}.map-directory button>.station-dot{margin-left:auto}.map-storage-note{padding:16px;border:1px solid #c4d0bf;border-radius:13px;background:#f9fbf6;margin:0 0 28px;font-size:.9rem}.map-storage-note summary{font-weight:800;cursor:pointer}.map-fog-layer{position:absolute;inset:0;z-index:450;pointer-events:none;background:radial-gradient(ellipse at center,transparent 70%,#d7e1d6aa)}[hidden]{display:none!important}.journey-dialog{width:min(620px,calc(100% - 24px));max-height:90vh;border:1px solid #b9c9b8;border-radius:20px;padding:26px;color:#243f35;background:#fbfcf7}.journey-dialog::backdrop{background:#10241ec4}.journey-dialog header{display:flex;justify-content:space-between;gap:16px;align-items:start}.journey-dialog h2{font-size:1.8rem}.journey-dialog .journey-local{padding:14px;background:#e8f3ec;border-radius:11px}.journey-dialog .actions{flex-wrap:wrap}.journey-import-label{display:inline-flex;align-items:center;min-height:44px;padding:10px 15px;border:1px solid #a5b9aa;border-radius:10px;background:white;cursor:pointer;font-weight:800}.journey-import-label input{max-width:100%;width:100%;display:block;margin-top:8px}.journey-dialog ul{padding-left:22px}.journey-dialog .journey-status{padding:12px;background:#e5f1f8;border-radius:9px}.journey-danger{margin-top:24px;padding-top:18px;border-top:1px solid #cad5c5}.journey-danger button{font:inherit;min-height:44px;padding:8px 12px;border:1px solid #c4b59d;border-radius:9px;background:white;color:#5f452e}.map-return-strip{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;padding:12px 18px;border:1px solid #bfd3c7;border-radius:13px;background:#edf5ef;margin:18px auto;width:min(1180px,calc(100% - 36px))}.map-return-strip a{color:#285446;font-weight:800}.map-return-strip button{background:white;border:1px solid #aac0b0;border-radius:8px;padding:9px 12px;font:inherit;color:#2d5142;cursor:pointer}.orthography-extra{margin:24px auto;padding:20px;border:1px solid #bfd3c7;border-radius:14px;background:#eef6ef}.orthography-extra h2{font-size:1.4rem}.orthography-extra p{font-size:.94rem}.map-entry-card{margin-top:24px;padding:22px;border:1px solid #adc7b6;border-radius:18px;background:#eaf3eb}.map-entry-card a{color:#244d3b;font-weight:900}.map-entry-card h2{font-size:1.5rem}.map-entry-card p{font-size:1rem!important}.map-entry-card .map-entry-preview{display:block;width:100%;height:150px;object-fit:cover;border-radius:10px;margin-bottom:14px}.map-entry-link{display:inline-block;margin-top:10px}
@media(max-width:1000px){.map-directory>ul{grid-template-columns:repeat(2,minmax(0,1fr))}.station-panel{width:340px;max-width:44%}}
@media(max-width:700px){.map-shell{width:calc(100% - 20px)}.map-intro{display:block;padding:16px 4px}.map-intro .button{margin-top:14px}.learning-map{height:470px}.map-toolbar{padding:9px;gap:6px}.map-toolbar button{padding:8px}.map-label-toggle{font-size:.8rem}.station-panel{top:auto;right:8px;left:8px;bottom:8px;width:auto;max-width:none;max-height:46%;padding:16px;border-radius:15px}.station-panel h2{font-size:1.4rem}.station-panel>p{font-size:.85rem}.station-paths{gap:7px;margin:12px 0}.station-paths a{padding:10px 24px 10px 11px}.station-panel .station-note{font-size:.75rem!important}.station-close{flex-basis:44px}.map-directory header{display:block}.map-directory h2{font-size:1.6rem}.map-directory>ul{grid-template-columns:1fr}.map-directory li button{min-height:66px}.map-caption{font-size:.75rem;padding:10px}.map-legend{gap:11px}.journey-dialog{padding:18px}.map-label.leaflet-tooltip{font-size:10px}}
@media(prefers-reduced-motion:reduce){.landmark-button{transition:none}}

@media(min-width:701px){.learning-map{height:clamp(380px,min(68vh,56vw),740px)}}
