.apf-launch{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;margin:14px 0 4px;padding:13px 15px;border:1px solid #d9bca7;border-radius:13px;background:#fff6ee;color:#793d20;font:600 14px/1.4 system-ui;cursor:pointer;text-align:left}.apf-launch:hover{background:#fcebdc;box-shadow:0 4px 14px #6c381c12}.apf-launch i:first-child{font-size:19px}.apf-weather-note{display:block!important;margin:9px 0;color:#6b6260!important;font-size:11px!important;line-height:1.5!important}.apf-dialog{box-sizing:border-box;width:min(940px,calc(100% - 28px));max-height:92dvh;padding:0;border:0;border-radius:24px;background:#fbfaf7;color:#263e42;box-shadow:0 24px 90px #132e4355;overflow:auto;overscroll-behavior:contain;font:15px/1.55 system-ui,-apple-system,sans-serif}.apf-dialog::backdrop{background:#142c3cc7;backdrop-filter:blur(5px)}.apf-dialog[open]{animation:apf-enter .22s ease-out}.apf-dialog *{box-sizing:border-box}.apf-hero{position:relative;padding:25px 29px 23px;background:linear-gradient(120deg,#faf0df,#eaf3ed);border-bottom:1px solid #e2e5db}.apf-eyebrow{display:flex;flex-wrap:wrap;gap:12px;align-items:center;padding-right:40px;color:#46625b;font-size:10px;letter-spacing:1.5px;font-weight:800}.apf-eyebrow span{letter-spacing:.8px;font-size:9px;background:#ffffffab;border:1px solid #d8e0d3;border-radius:20px;padding:4px 9px}.apf-close{position:absolute;top:18px;right:18px;border:1px solid #d9ded4;background:#ffffffb0;width:38px;height:38px;border-radius:50%;font-size:26px;line-height:1;cursor:pointer;color:#375251}.apf-title-row{display:flex;gap:15px;align-items:center;margin:18px 0}.apf-fire{display:grid;place-items:center;width:60px;height:66px;border-radius:19px;background:#fff9ed;box-shadow:0 4px 12px #9b632413;color:#b35a2f;font-size:33px;flex-shrink:0}.apf-title-row h2{font-size:28px;letter-spacing:-.8px;margin:0;color:#254f49;line-height:1.2;font-weight:800}.apf-title-row p{margin:5px 0 0;font-size:14px;color:#5b6b61}.apf-region{font-size:12px;color:#50675d}.apf-content{padding:22px 28px 25px}.apf-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 18px;font-size:12px}.apf-toolbar button,.apf-secondary{border:1px solid #d6dfd8;border-radius:11px;background:white;padding:10px 12px;font:600 12px system-ui;color:#315d53;white-space:nowrap;cursor:pointer;min-height:40px}.apf-dialog button:disabled{opacity:.6;cursor:wait}.apf-warning{color:#8c5523}.apf-overview{border:1px solid #e7dcc9;border-radius:20px;background:linear-gradient(135deg,#fffcf6,#faf4e7);padding:22px}.apf-combat{background:#fff2ed;border-color:#edcdbb}.apf-tag{display:inline-block;border-radius:7px;font-size:10px;letter-spacing:.7px;font-weight:750;color:#875325;background:#f2e6ce;padding:5px 8px}.apf-overview h3{font-size:24px;line-height:1.3;letter-spacing:-.5px;color:#433c30;margin:12px 0 8px}.apf-overview p{font-size:12px;margin:0;color:#6d675b}.apf-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:20px 0 15px}.apf-stats>div{display:flex;flex-direction:column;align-items:center;text-align:center;background:#ffffffcf;border:1px solid #e9e1d4;padding:13px 5px;border-radius:13px}.apf-stats i{color:#9b784d;font-size:18px}.apf-stats strong{font-size:27px;font-weight:800;color:#4b5247;line-height:1.4}.apf-stats span{font-size:11px;color:#696c61}.apf-area{display:flex;align-items:center;gap:9px;color:#666246;font-size:12px;border-top:1px dashed #dccfb8;padding-top:13px}.apf-overview>small{display:block;color:#787368;font-size:11px;margin-top:7px}.apf-location{background:white;border:1px solid #dce6df;border-radius:20px;margin:19px 0;padding:21px}.apf-section-title{display:flex;align-items:center;gap:11px}.apf-location-icon{width:39px;height:39px;display:grid;place-items:center;background:#ebf4ee;color:#3b7c69;border-radius:12px;font-size:20px}.apf-section-title h3{font-size:18px;margin:0;color:#2d5349}.apf-section-title p{font-size:12px;color:#7a8a81;margin:2px 0}.apf-location-empty{text-align:center;padding:25px 18px 17px;background:radial-gradient(ellipse at top,#edf5ee,#fafcf9);border:1px dashed #cfddd1;border-radius:16px;margin-top:17px}.apf-location-art{display:inline-grid;place-items:center;width:72px;height:72px;border-radius:50%;background:#e4efe5;color:#5b896d;font-size:34px;box-shadow:0 0 0 9px #eff5eb}.apf-location-empty h4{margin:22px 0 8px;font-size:19px;color:#325546}.apf-location-empty p{font-size:13px;color:#63786b;max-width:480px;margin:0 auto 15px}.apf-location-chips{display:flex;flex-wrap:wrap;gap:7px;justify-content:center;margin-bottom:14px}.apf-location-chips span{font-size:11px;color:#566e60;background:#fff;border:1px solid #e1e8de;padding:5px 9px;border-radius:20px}.apf-location-empty small{display:block;color:#7b897e;font-size:11px}.apf-limit{font-size:12px;color:#7e6745;background:#f9f2e6;padding:11px;border-radius:9px}.apf-events{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.apf-event{padding:17px;border:1px solid #dce6df;border-radius:14px}.apf-event h4{font-size:19px;margin:9px 0;color:#2d5349}.apf-event dl{margin:0}.apf-event dl>div{margin:8px 0}.apf-event dt{font-size:11px;color:#819086}.apf-event dd{font-size:14px;color:#334d40;margin:0;font-weight:650}.apf-event small{font-size:11px;color:#718375}.apf-bulletins{border:1px solid #dce6df;background:#fff;border-radius:18px;padding:20px;margin-bottom:18px}.apf-bulletins h3{font-size:17px;color:#31594f;margin:0}.apf-bulletins p{font-size:12px;color:#61736a}.apf-bulletin{border:1px solid #e1e8e0;border-radius:12px;padding:14px;margin-top:10px}.apf-bulletin summary{cursor:pointer}.apf-bulletin summary span{display:block;font-size:11px;color:#8b6435}.apf-bulletin summary strong{font-size:14px}.apf-reader{white-space:pre-line;font-size:13px;max-height:380px;overflow:auto;padding:13px 0}.apf-dialog a{color:#2b6f61;text-underline-offset:3px;font-size:12px}.apf-guide{padding:15px 18px;background:#f0f4ef;border:1px solid #dfe6da;border-radius:13px;font-size:13px}.apf-guide summary{cursor:pointer;font-weight:650;color:#43614f}.apf-guide dt{margin-top:12px;font-weight:700}.apf-guide dd{margin:3px 0 0;color:#647266;font-size:12px}.apf-footer{margin-top:19px;color:#829085;font-size:11px}.apf-footer p{font-size:11px;margin-bottom:8px}.apf-footer>span{display:block;margin-top:12px}.apf-empty{text-align:center;padding:28px 14px;background:#f0f4ef;border-radius:16px}.apf-empty i{font-size:30px;color:#789281}.apf-empty h3{font-size:18px}.apf-empty p{font-size:13px}.apf-dialog :focus-visible,.apf-launch:focus-visible{outline:3px solid #2f8470;outline-offset:3px}.apf-dialog [hidden]{display:none!important}@keyframes apf-enter{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}@media(max-width:600px){.apf-dialog{width:calc(100% - 14px);max-height:96dvh;border-radius:20px}.apf-hero{padding:22px 17px 18px}.apf-title-row{gap:12px}.apf-title-row h2{font-size:23px}.apf-title-row p{font-size:12px}.apf-fire{width:49px;height:58px;border-radius:16px;font-size:28px}.apf-content{padding:16px 13px}.apf-overview,.apf-location,.apf-bulletins{padding:16px}.apf-overview h3{font-size:22px}.apf-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.apf-stats>div{padding:10px 6px}.apf-stats span{font-size:12px}.apf-stats strong{font-size:28px}.apf-location-empty{padding:25px 12px 17px}.apf-events{grid-template-columns:1fr}.apf-toolbar{align-items:flex-start}.apf-toolbar>span{line-height:1.5}.apf-location-empty h4{font-size:18px}.apf-eyebrow{gap:6px;font-size:9px}}
@media(prefers-reduced-motion:reduce){.apf-dialog[open]{animation:none}}
.apf-secondary{white-space:normal;max-width:100%;text-align:left}.apf-content{overflow-wrap:anywhere}.apf-reader{overflow-wrap:anywhere}

/* v2: un acordeón cerrado no debe reservar filas para sus controles. */
@media(max-width:560px){
 #apaGrid .apa-card.apf-fire-card:not(.is-open)>.apa-card-detail{display:none!important;height:0!important;min-height:0!important;padding:0!important;margin:0!important;border:0!important;}
 #apaGrid .apa-card.apf-fire-card.is-open>.apa-card-detail{display:block!important;height:auto!important;min-height:0!important;grid-template-rows:none!important;opacity:1;}
 #apaGrid .apa-card.apf-fire-card.is-open>.apa-card-detail>.apf-launch{display:flex;}
}
