/* Download consent dialog (loaded as a file: the site CSP blocks inline styles). */
.dlc{position:fixed;inset:0;margin:auto;height:fit-content;max-height:calc(100% - 32px);overflow:auto;width:calc(100% - 32px);max-width:480px;padding:0;border:1px solid var(--line,#e3eadb);border-radius:20px;background:var(--card,#fff);color:var(--ink,#152018);font-family:var(--font,system-ui);box-shadow:0 1px 2px rgba(21,32,24,.06),0 28px 64px -16px rgba(21,32,24,.28)}
.dlc[open]{animation:dlc-in .22s cubic-bezier(.2,.7,.2,1)}
@keyframes dlc-in{from{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:none}}
.dlc::backdrop{background:rgba(236,242,228,.72);backdrop-filter:blur(6px)}
.dlc .hd{display:flex;gap:14px;align-items:center;padding:22px 24px 18px;border-bottom:1px solid var(--line,#e3eadb)}
.dlc .hd img{width:44px;height:44px;flex:none;padding:7px;border-radius:12px;background:var(--limesoft,#eef6df)}
.dlc .hd b{display:block;font-size:17px;line-height:1.35}
.dlc .hd small{display:block;margin-top:2px;font-size:12.5px;color:var(--muted,#5d6c61)}
.dlc .x{margin-left:auto;align-self:flex-start;width:32px;height:32px;border:0;border-radius:9px;background:none;color:var(--faint,#8a978d);cursor:pointer;display:grid;place-items:center}
.dlc .x:hover{background:var(--paper,#f6f8f1);color:var(--ink,#152018)}
.dlc .bd{padding:18px 24px 6px}
.dlc .lead{margin:0 0 12px;font-size:13px;font-weight:600;color:var(--leafink,#22703c);letter-spacing:.02em}
.dlc ul{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.dlc li{display:grid;grid-template-columns:28px 1fr;gap:12px;align-items:start}
.dlc li .ic{width:28px;height:28px;border-radius:8px;display:grid;place-items:center;background:var(--limesoft,#eef6df);color:var(--leafink,#22703c)}
.dlc li.w .ic{background:var(--warnsoft,#fbf0e3);color:var(--warn,#9a4f0d)}
.dlc li b{display:block;font-size:14px;line-height:1.5}
.dlc li span{display:block;font-size:13px;line-height:1.6;color:var(--muted,#5d6c61)}
.dlc svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.dlc .ok{display:flex;gap:10px;align-items:center;margin:18px 0 0;padding:12px 14px;border-radius:12px;background:var(--paper,#f6f8f1);border:1px solid var(--line,#e3eadb);font-size:13.5px;cursor:pointer;user-select:none}
.dlc .ok input{width:18px;height:18px;margin:0;accent-color:var(--leafink,#22703c);cursor:pointer;flex:none}
.dlc .ok a{color:var(--leafink,#22703c);text-underline-offset:3px}
.dlc .ft{display:flex;gap:10px;justify-content:flex-end;padding:18px 24px 22px}
.dlc .ft .b{height:42px}
.dlc .ft .b.pri[disabled]{opacity:.45;cursor:not-allowed;box-shadow:none}
/* Device choice (Windows / Android) inside the dialog. */
.dlc .pick{margin:0 0 16px;padding:0;border:0;min-width:0}
.dlc .pick legend{padding:0;margin:0 0 8px;font-size:13px;font-weight:600;color:var(--leafink,#22703c);letter-spacing:.02em}
.dlc .opts{display:grid;gap:6px}
.dlc .opt{display:flex;align-items:center;gap:10px;min-height:44px;padding:8px 12px;border:1px solid var(--line,#e3eadb);border-radius:12px;background:var(--card,#fff);cursor:pointer;font-size:14px;line-height:1.4}
.dlc .opt input{width:18px;height:18px;margin:0;flex:none;accent-color:var(--leafink,#22703c);cursor:pointer}
.dlc .opt .nm{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 8px;min-width:0;flex:1}
.dlc .opt .nm b{display:inline;font-size:14px;font-weight:600;line-height:1.4}
.dlc .opt .nm small{font-size:12.5px;color:var(--muted,#5d6c61)}
.dlc .opt:hover:not(.off){border-color:var(--leafink,#22703c)}
.dlc .opt:has(input:checked){border-color:var(--leafink,#22703c);background:var(--limesoft,#eef6df)}
.dlc .opt:has(input:focus-visible){outline:2px solid var(--leafink,#22703c);outline-offset:2px}
.dlc .opt.off{cursor:not-allowed;background:var(--paper,#f6f8f1);color:var(--faint,#8a978d)}
.dlc .opt.off .nm small{color:var(--faint,#8a978d)}
.dlc .opt.off input{cursor:not-allowed}
.dlc .opt .tag{flex:none;font-style:normal;font-size:12px;padding:2px 8px;border-radius:999px;background:var(--card,#fff);border:1px solid var(--line,#e3eadb);color:var(--muted,#5d6c61)}
.dlc .pick .hint{margin:8px 0 0;font-size:12.5px;line-height:1.6;color:var(--muted,#5d6c61)}
@media (max-width:520px){.dlc .ft{flex-direction:column-reverse}.dlc .ft .b{width:100%}}
@media (prefers-reduced-motion:reduce){.dlc[open]{animation:none}}
