.download-control{display:inline-flex;vertical-align:top;flex-direction:column;align-items:flex-start;gap:.3rem;max-width:100%;margin:.25rem .5rem .6rem 0}
html body [data-download-state]{display:inline-block;background:#14683f!important;color:#fff!important;border:2px solid #0d5130!important;border-radius:12px;padding:.7rem 1rem;text-decoration:none!important;line-height:1.4;box-sizing:border-box;max-width:100%;overflow-wrap:anywhere}
html body [data-download-state=requested],html body [data-download-state=saved]{background:#a52d3c!important;border-color:#81202d!important;color:#fff!important}
html body [data-download-state]:hover{filter:brightness(1.12)}
html body [data-download-state]:focus-visible,.download-actions button:focus-visible{outline:3px solid #e6a900;outline-offset:3px}
.download-note{font-size:.82rem;line-height:1.45;max-width:35ch;color:inherit}
.download-actions{display:flex;flex-wrap:wrap;gap:.35rem}
html body .download-actions button{font:inherit;font-size:.78rem;padding:.35rem .55rem;min-height:32px;border:1px solid #64748b;border-radius:8px;background:#fff;color:#17303b;box-shadow:none;cursor:pointer}
.download-actions [hidden]{display:none!important}
.download-legend{padding:1rem;border:1px solid #64748b;border-radius:12px;font-size:.9rem;line-height:1.6}
.action-help{display:inline-flex;align-items:center;gap:.25rem;vertical-align:middle;max-width:100%}
.action-help>a,.action-help>button:not(.action-info){min-width:0;max-width:100%}
html body button.action-info{display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;min-width:44px;height:44px;min-height:44px;padding:0;margin:.2rem 0;border:1px solid #6f8c93;border-radius:50%;background:#edf6f6;color:#124b4c;font:700 1.25rem/1 system-ui,sans-serif;cursor:pointer}
html body button.action-info:focus-visible{outline:3px solid #e6a900;outline-offset:3px}
html body .action-help-dialog{box-sizing:border-box;width:min(560px,calc(100% - 2rem));max-height:85dvh;overflow:auto;padding:1.5rem;border:2px solid #64858c;border-radius:20px;background:#f8fcfc;color:#193b3c;box-shadow:0 20px 70px #0005;font:1rem/1.65 system-ui,sans-serif}
.action-help-dialog::backdrop{background:#061b23b8}
html body .action-help-dialog h2{font-size:1.4rem;line-height:1.25;margin-top:0;color:#193b3c}
html body .action-help-dialog .action-help-close{background:#174d4b;color:#fff;border:1px solid #174d4b;padding:.7rem 1rem;border-radius:12px;font:inherit;min-height:44px;cursor:pointer}
@media(forced-colors:active){html body .action-help-dialog{background:Canvas;color:CanvasText;border-color:CanvasText}html body button.action-info,html body .action-help-dialog .action-help-close{background:ButtonFace;color:ButtonText;border-color:ButtonText}}
