:root{--ink:#15283e;--muted:#5f6f83;--accent:#1466ad;--panel:#fff;--line:#dce5ed;--back:#f3f7fb;--green:#0d7656;--danger:#af3036}*{box-sizing:border-box}html{color-scheme:light;font-family:system-ui,-apple-system,"Segoe UI",sans-serif;background:var(--back);color:var(--ink)}body{margin:0;line-height:1.52}a{color:var(--accent)}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #f3b64e;outline-offset:3px}header{background:linear-gradient(115deg,#102e53,#245f9e);color:white;padding:2rem max(1.5rem,calc((100vw - 1120px)/2));}header a{color:#fff}main{max-width:1120px;margin:auto;padding:1.5rem}h1{margin:.4rem 0;font-size:clamp(1.75rem,3.3vw,2.7rem)}h2{font-size:1.25rem;margin:0 0 .65rem}h3{font-size:1.05rem}p{margin:.5rem 0 1rem}header p{max-width:820px;color:#e9f2fd}.v4-layout{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,330px),1fr));gap:1rem}.v4-card,.v4-step{background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:1.25rem;box-shadow:0 5px 20px #1834520a;min-width:0}.v4-step{margin:.65rem 0;border-left:4px solid #337ab8}label{display:block;font-weight:600;margin:.65rem 0;color:var(--ink)}input,select,textarea{display:block;width:100%;font:inherit;border:1px solid #aabed0;border-radius:8px;background:#fff;padding:.65rem;color:var(--ink);margin-top:.3rem}textarea{min-height:115px;resize:vertical;font:12px/1.5 ui-monospace,Consolas,monospace}button,.download{display:inline-flex;align-items:center;justify-content:center;gap:.35rem;border:none;border-radius:9px;padding:.7rem 1rem;margin:.25rem .35rem .25rem 0;background:#145f9d;color:white;cursor:pointer;font-weight:600;font:inherit;text-decoration:none}button:hover,.download:hover{background:#0c4c80;color:white}button:disabled{opacity:.45;cursor:not-allowed}.subtle{background:#e7eff7;color:#163b61}.subtle:hover{background:#d2e3f2;color:#163b61}.small{padding:.3rem .6rem;font-size:.85rem}.danger{background:#b53a3a}.danger:hover{background:#922b2b}.toolbar{display:flex;gap:.3rem;align-items:center;flex-wrap:wrap}.toolbar strong{margin-right:auto}.notice{border-left:4px solid var(--accent);background:#eaf4ff;color:#133e64;padding:.85rem;margin:1rem 0;border-radius:5px}.error{border-left:4px solid #bd3434;background:#fff0f1;color:#8b2730;padding:.85rem;margin:1rem 0;border-radius:5px}small,.muted{color:var(--muted)}.warning{color:#8b4d13}.scroll{overflow:auto;max-height:260px}pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#14283f;color:#e7f3ff;border-radius:9px;padding:.9rem}code{overflow-wrap:anywhere}.inline{display:flex;gap:.6rem;align-items:center;flex-wrap:wrap}.grid-links{display:flex;flex-wrap:wrap;gap:.8rem}.grid-links a{background:white;border:1px solid var(--line);border-radius:10px;padding:.65rem 1rem}.download{max-width:100%;overflow-wrap:anywhere}.res-list{max-height:260px;overflow:auto}.res-list .download{display:flex;width:fit-content}progress{width:100%;height:16px;accent-color:#1976ba}#qr{display:grid;place-items:center;background:white;border:1px solid var(--line);width:min(280px,100%);padding:.7rem;border-radius:12px}footer{text-align:center;margin:3rem auto 1rem;padding:1rem;color:var(--muted);font-size:.85rem}@media(prefers-color-scheme:dark){:root{--ink:#eef5ff;--muted:#bacbe0;--accent:#82befb;--panel:#152839;--line:#38546b;--back:#0b1825}html{color-scheme:dark}input,select,textarea{background:#10202e;color:#fff;border-color:#7890a5}.subtle{background:#254665;color:#e9f5ff}.subtle:hover{background:#326085;color:#fff}.notice{background:#10395a;color:#e8f2ff}.error{background:#591c29;color:#fff}.grid-links a{background:var(--panel)}#qr{background:#fff;color:#111}}
