.flash-main { max-width: 1140px; padding-block: 54px 70px; }
.flash-title { display:flex; justify-content:space-between; align-items:end; gap:24px; margin-bottom:38px; }
.flash-title h1 { margin:0; font-size:clamp(54px,7vw,84px); font-weight:750; letter-spacing:-.055em; }
.flash-title h1 em { font-family:Georgia,serif; font-weight:400; color:var(--blue); }  /* as the landing page writes zero<em>Flash</em> */
.flash-title p { margin:15px 0 0; color:var(--muted); font-size:17px; }
.flash-page fieldset { padding:0; border:0; margin:0; min-width:0; }
.flash-page legend,.flash-label { display:block; margin-bottom:12px; color:var(--ink); font-size:12px; font-weight:750; }
.flash-products { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.flash-products legend { margin-bottom:14px; }
.flash-product { position:relative; display:flex; align-items:center; justify-content:center; gap:20px; padding:12px 26px; border:1px solid var(--line); border-radius:20px; cursor:pointer; min-width:0; }
.flash-product.pomo { background:var(--pomo-surface); }.flash-product.bot { background:var(--bot-surface); }
.flash-product img { width:140px; height:125px; object-fit:contain; }
.flash-product > span { font-size:30px; letter-spacing:-.055em; font-weight:800; white-space:nowrap; }
.flash-product em { color:#955563; font-family:Georgia,serif; font-weight:400; }.flash-product.bot em { color:#2a6d98; }
.flash-product.is-soon { cursor:default; }.flash-product.is-soon img { opacity:.6; }.flash-product.is-soon > span { opacity:.8; }
.flash-soon { position:absolute; top:12px; right:14px; padding:4px 10px; border-radius:999px; background:white; border:1px solid var(--line); font-size:11px; font-weight:750; color:var(--ink); }
.flash-product.is-soon input { display:none; }
.flash-product input { position:absolute; top:14px; right:14px; accent-color:var(--ink); }
.flash-product:has(input:checked) { border-color:var(--ink); box-shadow:inset 0 0 0 1px var(--ink); }
.flash-product:has(input:focus-visible) { outline:3px solid var(--ink); outline-offset:4px; }
.flash-workspace { display:grid; grid-template-columns:1fr 1fr; gap:20px; margin-top:26px; align-items:start; }
.flash-card { padding:30px; border:1px solid var(--line); border-radius:var(--radius-panel); background:white; min-width:0; }
.flash-card h2 { display:flex; align-items:center; gap:12px; font-size:26px; letter-spacing:-.05em; margin:0 0 28px; }
.flash-step { display:inline-grid; place-items:center; width:30px; height:30px; flex:none; border-radius:50%; background:var(--ink); color:white; font-size:14px; letter-spacing:0; }
.flash-choices { margin-bottom:22px !important; }
.flash-tiles { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.flash-tile { position:relative; display:grid; gap:3px; min-height:62px; padding:11px 14px 11px 40px; background:var(--paper); border:1px solid var(--line); border-radius:12px; cursor:pointer; }
.flash-tile input { position:absolute; left:14px; top:14px; width:16px; height:16px; margin:0; accent-color:var(--ink); }
.flash-tile strong { font-size:14px; }.flash-tile small { font-size:12px; color:#455a68; }
.flash-tile:has(input:checked) { background:#e8f1f6; border-color:#2a6d98; box-shadow:inset 0 0 0 1px #2a6d98; }
.flash-tile:has(input:disabled) { opacity:.55; cursor:default; }
.flash-tile:has(input:focus-visible) { outline:3px solid var(--ink); outline-offset:3px; }
.flash-release { display:grid; gap:4px; padding:16px; background:#eef4ef; border-radius:12px; font-size:13px; line-height:1.6; }
.flash-release strong { font-size:16px; letter-spacing:-.02em; }.flash-release-meta { color:#405665; }.flash-release-meta a { text-decoration:underline; text-underline-offset:3px; }
.flash-release small { color:#506371; }.flash-release p { margin:0; }
.flash-source-row { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:4px 12px; margin:16px 0 0; padding-top:12px; border-top:1px solid var(--line); font-size:13px; color:#455a68; }
.flash-source-row[hidden] { display:none; }.flash-source-row a { font-size:13px; gap:8px; }.flash-source-row a #source-name { font-size:13px; font-weight:750; }
.flash-lead { margin:0 0 16px; font-size:13px; line-height:1.7; }
.flash-device { padding:16px; margin-bottom:16px; border:1px solid var(--line); border-radius:12px; background:var(--paper); }
.flash-device-state { display:flex; align-items:center; gap:9px; margin:0; font-size:14px; font-weight:750; }
.flash-device-state::before { content:''; width:10px; height:10px; flex:none; border-radius:50%; border:1.5px solid #6b7d88; }
.flash-device-state[data-state=busy]::before { border-color:#2a6d98; border-right-color:transparent; animation:flash-spin .8s linear infinite; }
.flash-device-state[data-state=ok]::before { border-color:#2a6d98; background:#2a6d98; }
.flash-device-detail { margin:6px 0 0 19px; font-size:12px; line-height:1.6; color:#506371; }.flash-device-detail:empty { display:none; }
.flash-disconnect { display:block; min-height:44px; margin:8px auto 0; font-size:13px; }
#flash-status[data-kind=error] { color:#a32936; }#flash-status[data-kind=ok] { color:#1f6a3b; font-weight:750; }
@keyframes flash-spin { to { transform:rotate(360deg); } }
@media (prefers-reduced-motion:reduce) { .flash-device-state[data-state=busy]::before { animation:none; } }
.flash-help { color:#506371; font-size:12px; line-height:1.65; margin:10px 0 24px; }
#custom-panel { margin-top:22px; }#firmware-file { width:100%; font-size:12px; }
#firmware-file::file-selector-button { min-height:44px; margin-right:10px; padding:8px 12px; border:1px solid #89949b; border-radius:8px; background:var(--paper); color:var(--ink); font:inherit; cursor:pointer; }
.file-review { padding:16px; margin-top:22px; background:#eef4ef; border-radius:12px; font-size:12px; overflow-wrap:anywhere; }
.file-review strong,.file-review span { display:block; }.file-review span { margin-top:6px; color:#405665; }
.file-review details { margin-top:12px; }.file-review code { display:block; margin-top:10px; font-size:10px; }
.flash-notice { font-size:12px; line-height:1.7; padding:14px; background:#fff4dd; border-radius:10px; }
.flash-confirm input { accent-color:var(--ink); width:18px; height:18px; flex-shrink:0; }
.flash-confirm { display:flex; min-height:44px; align-items:start; gap:10px; margin:24px 0 18px; font-size:12px; line-height:1.65; cursor:pointer; }
.flash-confirm input { margin-top:3px; }.flash-action { width:100%; }
.flash-page button:disabled { cursor:not-allowed; }.flash-page .button { font-size:13px; }
#flash-status:focus { outline:none; }
#flash-status { min-height:40px; font-size:13px; line-height:1.7; margin:16px 0 0; }
#flash-progress-wrap { margin-top:22px; font-size:12px; }#flash-progress { width:100%; height:12px; margin-top:9px; accent-color:#2a6d98; }
.flash-log { margin-top:20px; font-size:12px; }.flash-log pre { max-height:160px; overflow:auto; white-space:pre-wrap; overflow-wrap:anywhere; font:11px/1.6 monospace; background:var(--paper); padding:12px; }
.flash-page summary { cursor:pointer; min-height:36px; padding-block:8px; }
.flash-build-help { padding:22px 0; margin-top:20px; border-block:1px solid var(--line); font-size:12px; line-height:1.8; }
.flash-build-help summary { font-weight:750; }.flash-build-help pre { overflow:auto; padding:16px; border-radius:10px; background:#edf0ef; font-size:11px; }.flash-build-help a { text-decoration:underline; }
@media(max-width:800px){.flash-workspace{grid-template-columns:1fr}.flash-product{gap:6px;padding:16px 12px}.flash-product img{width:105px;height:105px}.flash-product>span{font-size:24px}.flash-title{align-items:start}.flash-title>.text-link{font-size:11px}.flash-card{padding:24px}}
@media(max-width:480px){.flash-title{display:block}.flash-title>.text-link{margin-top:12px}.flash-main{padding-block:34px 45px}.flash-product{flex-direction:column;gap:0;padding:10px}.flash-product img{width:110px;height:100px}.flash-product>span{font-size:24px;margin:0 0 8px}.flash-products{gap:10px}.flash-card{padding:20px}.flash-card h2{font-size:25px}.flash-page .site-header nav>a:not(.button){display:inline-flex}}
@media(forced-colors:active){.flash-product:has(input:checked),.flash-tile:has(input:checked){border:2px solid Highlight}.file-review,.flash-release,.flash-device{border:1px solid CanvasText}}
@media(max-width:480px){.flash-tiles{grid-template-columns:1fr}}
