/* Selected 2026-10-08 changes: language access, recoverable previews and decision summary. */
.hero-requirements{color:var(--muted,#8b949e);font-size:13px;line-height:1.7;margin:16px auto 0;max-width:650px;padding:0 16px}
.nav .logo,.nav .logo svg{flex-shrink:0}
.language-control{position:relative;font-size:13px;flex-shrink:0;z-index:60;text-align:left;letter-spacing:normal}
.language-control summary{cursor:pointer;list-style:none;display:flex;align-items:center;gap:6px;min-height:44px;padding:0 10px;border:1px solid var(--border,#30363d);border-radius:8px;background:var(--panel,#0d1117);color:var(--text,#e6edf3);white-space:nowrap}
.language-control summary::-webkit-details-marker{display:none}
.language-control nav{position:absolute;right:0;top:calc(100% + 6px);display:grid;min-width:170px;max-height:65vh;overflow:auto;padding:6px;background:#0d1117;border:1px solid #30363d;border-radius:10px;box-shadow:0 12px 35px #0007}
.language-control a{display:flex;align-items:center;min-height:44px;padding:8px 12px;color:#c9d1d9;border-radius:5px}
.language-control a:hover,.language-control a[aria-current]{background:#21262d;color:#fff}
.language-control :focus-visible,.exact-count:focus-visible,.preview-state button:focus-visible{outline:2px solid #79c0ff;outline-offset:3px}
.footer .language-control nav{top:auto;bottom:calc(100% + 6px)}
.download-decision{margin:16px 0 22px;font-size:13px;line-height:1.6;overflow-wrap:anywhere}
.download-decision h3{font-size:15px;margin:0 0 12px}.download-decision dl{margin:0}.download-decision dl>div{padding:9px 0;border-top:1px solid #30363d}.download-decision dt{font-weight:600;color:#c9d1d9}.download-decision dd{margin:4px 0 0;color:#8b949e}.download-decision ul{margin:0;padding-left:18px}.download-decision p{font-size:12px;margin:6px 0 0}
.preview-state{position:absolute;inset:auto 8px 8px;padding:8px 10px;border-radius:6px;background:#0d1117eb;color:#e6edf3;font-size:12px;line-height:1.5;z-index:11;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.preview-state[hidden],.preview-state button[hidden]{display:none}.vthumb[data-preview-state=success]>.preview-state{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden;padding:0;white-space:nowrap}.vthumb[data-preview-state=error]>.preview-state{border:1px solid #f85149}.preview-state button{min-height:44px}
.exact-count{position:relative;cursor:help}.exact-count-tip{display:none;position:absolute;z-index:10;bottom:calc(100% + 7px);left:0;background:#21262d;color:#f0f6fc;border:1px solid #484f58;border-radius:5px;padding:5px 8px;font-size:13px;white-space:nowrap;font-weight:400}.exact-count:hover .exact-count-tip,.exact-count:focus .exact-count-tip{display:block}
.deployment-note{color:#8b949e;font-size:14px;line-height:1.7;margin:16px 0 28px}.deployment-status{display:block;white-space:normal;font-size:12px;margin-top:5px;line-height:1.6}
@media(max-width:900px){.nav-search{display:none}.nav-actions{gap:8px}.language-control summary{padding:0 8px}}
@media(max-width:480px){.nav-inner{gap:8px}.nav .logo{font-size:17px;gap:6px}.nav-actions{gap:6px}.nav-actions>.btn{display:none}.language-control summary{max-width:120px;font-size:12px}.foot-bottom{flex-wrap:wrap;gap:12px}.download-decision{font-size:13px}}
@media(prefers-reduced-motion:reduce){.swap,.flash-cell{animation:none!important;transition:none!important}}

/* Translated headings may be longer than their English source. */
html:is([lang="ja"],[lang="ko"],[lang="es"],[lang="fr"],[lang="de"],[lang="pt"],[lang="ru"]) .nb{white-space:normal;max-width:100%;overflow-wrap:break-word}
/* Russian copy needs bounded wrapping in the homepage's centered controls. */
html[lang="ru"] .hero-title,html[lang="ru"] .hero-cta{max-width:100%;min-width:0}
html[lang="ru"] .hero-title{overflow-wrap:break-word}
html[lang="ru"] .hero-cta .btn{max-width:100%;white-space:normal;min-height:50px;height:auto;padding-top:12px;padding-bottom:12px;text-align:center}
html[lang="ru"] .mtabs{max-width:100%;flex-wrap:wrap}
html[lang="ru"] .foot-grid>div{min-width:0;overflow-wrap:break-word}
html[lang="ru"]{--font:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}
html[lang="ru"] .legend li{grid-template-columns:12px minmax(0,1fr) minmax(0,1.5fr)}
html[lang="ru"] .legend li b{white-space:normal;overflow-wrap:break-word}
html[lang="ru"] .h2{overflow-wrap:break-word}
html[lang="ru"] .chip{max-width:100%;height:auto;min-height:32px;text-align:left;white-space:normal;padding-top:5px;padding-bottom:5px}

/* Keep Russian navigation actions within the available desktop width. */
html[lang="ru"] .nav-inner{gap:20px}
html[lang="ru"] .nav-links a{padding-left:8px;padding-right:8px}
html[lang="ru"] .nav-actions{flex-shrink:0}
@media(max-width:1600px){html[lang="ru"] .nav-search{display:none}}

@media(max-width:1600px){.nav-search{display:none}}
/* The live wishlist strip must also fit longer translated copy. */
html:is([lang="ja"],[lang="ko"],[lang="es"],[lang="fr"],[lang="de"],[lang="pt"],[lang="ru"]) .home-ideas{flex-wrap:wrap;min-width:0;max-width:100%;margin-left:0;margin-right:0}
html:is([lang="ja"],[lang="ko"],[lang="es"],[lang="fr"],[lang="de"],[lang="pt"],[lang="ru"]) .home-ideas-title{min-width:0;max-width:100%;flex:1 1 280px}
html:is([lang="ja"],[lang="ko"],[lang="es"],[lang="fr"],[lang="de"],[lang="pt"],[lang="ru"]) .home-ideas-title>div{min-width:0;overflow-wrap:break-word}
