/* La mémoire s'ouvre dans le même espace que la carte. */
.memory-header-btn{display:flex;gap:8px;align-items:center;min-height:43px;padding:0 15px;background:#f5e6ce;color:#513b21;border:1px solid #e0cba6;border-radius:13px;font:600 11px Manrope,system-ui,sans-serif;cursor:pointer;white-space:nowrap}
.memory-header-btn .icon{width:19px;height:19px}.memory-header-btn:hover{background:#fff1db}.memory-header-btn:focus-visible{outline:3px solid #eac089;outline-offset:3px}
.category-bar button.memory-category{background:#f4e4cc;color:#594025;border:1px solid #dcc299}.category-bar button.memory-category.on{background:#594025;color:#fff2da;border-color:#f3cf97}
.memory-teaser{position:absolute;left:25px;bottom:105px;display:flex;gap:14px;align-items:center;z-index:4;text-align:left;border:1px solid #f4dfb8;border-radius:15px;background:#fcf1e0f2;box-shadow:0 10px 45px #102a2240;color:#543d24;padding:16px 19px;cursor:pointer;transition:transform .2s}
.memory-teaser:hover{transform:translateY(-3px)}.memory-teaser-icon{display:grid;place-items:center;flex:none;width:40px;height:46px;background:#ead8b9;border-radius:10px}.memory-teaser-icon .icon{width:26px;height:26px}.memory-teaser small{display:block;font-size:8px;letter-spacing:1.4px;margin-bottom:5px}.memory-teaser b{font:500 21px Manrope,system-ui,sans-serif;display:block}.memory-teaser em{font:500 10px Manrope,system-ui,sans-serif;display:flex;align-items:center;gap:9px;margin-top:8px}.memory-teaser em .icon{width:15px;height:15px}
body.has-pane .memory-teaser,body.memory-open .memory-teaser{display:none}
.memory-intro{padding:5px 0 15px}.memory-kicker{font-size:8px;font-weight:600;letter-spacing:1.35px;color:#866a45}.memory-intro h3{font:500 27px/1.2 Manrope,system-ui,sans-serif;color:#49351f;margin:10px 0}.memory-intro p{font-size:12px;line-height:1.75;color:#72634d;margin:10px 0}
.memory-link{display:inline-flex;align-items:center;gap:7px;border:none;background:transparent;color:#67461f;font:600 11px/1.6 Manrope,system-ui,sans-serif;text-align:left;padding:7px 0;cursor:pointer}.memory-link .icon{width:17px;height:17px}.memory-link:hover{text-decoration:underline;text-underline-offset:3px}
.memory-modes{position:sticky;top:0;z-index:1;display:grid;grid-template-columns:repeat(3,1fr);gap:4px;padding:5px;background:#eae0d2;border-radius:11px;margin:0 0 8px}.memory-modes button{min-height:38px;border:0;border-radius:8px;background:transparent;color:#6e5d43;font:600 11px Manrope,system-ui,sans-serif;cursor:pointer}.memory-modes button.on{background:#fffaf2;color:#4d371e;box-shadow:0 2px 8px #61451812}
.memory-themes{display:flex;gap:5px;flex-wrap:wrap;padding:5px 0}.memory-themes button{min-height:34px;border:1px solid #e3d4bd;border-radius:20px;background:#fffaf2;padding:5px 10px;font:500 10px Manrope,system-ui,sans-serif;color:#6a563a;cursor:pointer}.memory-themes button.on{background:#6b5131;color:white;border-color:#6b5131}
.memory-status{font-size:10px;color:#826b4d;margin:13px 0}.memory-lift{padding:17px 16px;border:1px solid #e6d8c1;border-radius:13px;background:#fffcf6;margin:0 0 10px}
.memory-date{display:block;font-size:10px;letter-spacing:.25px;color:#866232;font-weight:600;line-height:1.7}.memory-lift h3,.memory-timeline h3{font:500 20px/1.3 Manrope,system-ui,sans-serif;margin:6px 0 9px;color:#47331e}.memory-state{display:inline-block;border-radius:6px;padding:4px 7px;background:#f0e4d1;color:#72502b;font-size:9px;line-height:1.6}
.memory-lift p,.memory-timeline p{font-size:12px;line-height:1.75;color:#6c604f;margin:10px 0 2px}.memory-card-sources{display:grid;gap:5px;border-top:1px solid #eee3d3;padding-top:8px;margin-top:7px}.memory-card-sources a{color:#887155;font-size:9px;line-height:1.6;display:inline-flex;gap:5px;align-items:center;overflow-wrap:anywhere}.memory-card-sources .icon{width:11px;height:11px;flex:none}
.memory-story-card{display:flex;align-items:flex-start;gap:10px;width:100%;border:1px solid #e6d8c1;border-radius:12px;background:#fffaf3;color:#513b21;padding:14px;text-align:left;margin-bottom:9px;cursor:pointer}.memory-story-icon{display:grid;place-items:center;width:35px;height:38px;background:#f1e4cf;border-radius:9px;flex:none}.memory-story-icon .icon{width:21px;height:21px}.memory-story-card>span:nth-child(2){flex:1}.memory-story-card small{display:block;font-size:9px;color:#8a6c44;margin-bottom:5px}.memory-story-card b{font:500 19px/1.3 Manrope,system-ui,sans-serif;display:block}.memory-story-card span span{display:block;font-size:11px;line-height:1.7;color:#74634c;margin-top:6px}.memory-story-card em{display:block;font:400 8px/1.6 Manrope,system-ui,sans-serif;color:#96836b;margin-top:8px}.memory-story-card>.icon{width:15px;height:15px;flex:none;margin-top:5px}.memory-story-card:hover{background:#faedda;border-color:#c7a77a}
.memory-timeline{list-style:none;padding:0 0 0 16px;margin:16px 0 0;border-left:1px solid #d8c0a0}.memory-timeline li{position:relative;padding:0 0 22px 10px}.memory-timeline li:before{content:'';position:absolute;left:-21px;top:6px;width:9px;height:9px;border-radius:50%;background:#a77d46;border:2px solid #faf8f0}.memory-timeline h3{font-size:19px}.memory-method{font-size:10px;line-height:1.8;color:#89775d;margin:18px 0 2px}.memory-empty{padding:20px 0;color:#6b583c;font-size:12px;line-height:1.7}
.memory-cover{display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;overflow:hidden;min-height:150px;margin:-4px 0 18px;border-radius:12px;background:linear-gradient(145deg,#58482f,#91734a);color:#fff5e1}
.memory-cover:before{content:'';position:absolute;top:27px;left:-10%;width:120%;height:1px;background:#c5ac8240;transform:rotate(-13deg)}.memory-cover:after{content:'';position:absolute;bottom:-40px;left:-10%;width:120%;height:80px;transform:rotate(-10deg);background:#c5ac8210}.memory-cover>span{display:grid;place-items:center;width:50px;height:52px;margin:12px 0 8px;color:#eddbba}.memory-cover .icon{width:40px;height:40px}.memory-cover small{font-size:7px;letter-spacing:1.6px;margin-bottom:8px}.memory-cover b{font:500 22px Manrope,system-ui,sans-serif;z-index:1;margin-bottom:16px}
.memory-detail .detail-category{font-size:9px;letter-spacing:.4px;color:#8b6e49}.memory-detail .detail-title{font-size:30px;color:#48351e;line-height:1.2}.memory-lead{font:500 16px/1.65 Manrope,system-ui,sans-serif;color:#78603f;margin:14px 0}.memory-prose{font-size:13px;line-height:1.8;color:#5e594e;margin:18px 0}
.memory-position{display:flex;align-items:center;gap:7px;background:#f5ebda;border:1px dashed #dac6a3;border-radius:9px;padding:10px 11px;color:#85643a;font-size:10px;line-height:1.65}.memory-position>.icon{width:16px;height:16px;flex:none}.memory-position>span{flex:1}.memory-position .text-link{color:#6b4b25;font-size:10px}
.memory-appliances{margin:22px 0}.memory-appliances>h3,.memory-sources>h3{font:500 19px Manrope,system-ui,sans-serif;color:#654a27;margin:0 0 12px}.memory-appliances details{border:1px solid #e0d1ba;background:#fffaf2;border-radius:10px;margin:8px 0}.memory-appliances summary{padding:13px;font-size:12px;color:#5f4423;font-weight:600;cursor:pointer}.memory-appliances summary small{display:block;font-size:9px;font-weight:400;margin-top:5px;color:#8e714c}.memory-appliances details>div{padding:0 13px 13px;font-size:11px;line-height:1.75;color:#75654d}.memory-appliances details>div>b{font-size:10px}.memory-appliances details p{margin:8px 0}.memory-appliances details:target{outline:2px solid #cfab70}
.memory-detail-actions{display:flex;gap:7px;flex-wrap:wrap;margin:19px 0}.memory-detail-actions .btn{font-size:11px;min-height:41px;padding:10px 12px;gap:7px;flex:1 1 130px}.memory-detail-actions .icon{width:15px;height:15px}
.memory-sources{border-top:1px solid #e5d7c1;padding-top:19px;margin:20px 0;display:grid;gap:10px}.memory-sources a,.memory-now a{display:flex;align-items:center;gap:7px;font-size:11px;line-height:1.65;color:#826038;text-decoration:underline;text-underline-offset:3px}.memory-sources a .icon,.memory-now a .icon{width:13px;height:13px;flex:none}.memory-sources small{font-size:9px;line-height:1.8;color:#99836a;margin-top:5px}
.memory-now{padding:14px;background:#edf2e6;color:#4e6447;border-radius:11px;font-size:11px;line-height:1.8}.memory-now p{margin:5px 0 12px}.memory-now a{color:#4e6447;font-size:10px;margin-top:5px}
.memory-next{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:22px}.memory-next button{min-height:58px;display:grid;gap:5px;border:1px solid #e2d1b7;border-radius:9px;background:#f6ebda;padding:12px;text-align:left;color:#674923;cursor:pointer}.memory-next button:last-child{text-align:right}.memory-next small{font-size:9px}.memory-next b{font-size:11px}
button:focus-visible,a:focus-visible{outline:3px solid #769153;outline-offset:3px}
@media(min-width:761px){body.memory-open .map-pane{width:min(410px,calc(100vw - 110px))}.memory-open .pane-scroll{padding:18px 22px 22px}.category-bar{max-width:calc(100% - 45px)}.memory-open .browse-pane .pane-scroll{max-height:calc(100dvh - 420px)}}
@media(max-width:1120px) and (min-width:761px){.memory-header-btn{padding:0 10px;font-size:10px}.memory-header-btn .icon{width:16px;height:16px}}
@media(max-width:760px){.memory-header-btn{min-height:35px;padding:0 9px;gap:5px;border-radius:10px;font-size:10px}.memory-header-btn .icon{width:14px;height:14px}.memory-teaser{display:none}.memory-intro{padding:0 0 12px}.memory-intro h3{font-size:24px}.memory-intro p{font-size:11px;margin:8px 0}.memory-modes button{min-height:39px}.memory-lift{padding:13px}.memory-lift h3{font-size:20px}.memory-cover{min-height:112px}.memory-cover>span{width:35px;height:35px;margin:10px 0 6px}.memory-cover .icon{width:28px;height:28px}.memory-cover b{font-size:20px;margin-bottom:13px}.memory-detail .detail-title{font-size:26px}.memory-lead{font-size:15px}.memory-prose{font-size:12px}.memory-position{flex-wrap:wrap}.memory-position>span{flex:1 1 190px}}
@media(max-height:620px){.memory-teaser{display:none}.memory-intro p{display:none}.memory-cover{min-height:95px}.memory-cover>span{display:none}}
