:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC",sans-serif;color:#ebf0f4;background:#0d131b;font-synthesis:none;color-scheme:dark}*{box-sizing:border-box}body{margin:0;user-select:none}button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}button:focus-visible,input:focus-visible{outline:2px solid #dbbd7d;outline-offset:4px}header{height:84px;padding:23px 36px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #ffffff08}.brand{display:flex;gap:11px;align-items:center}.logo{width:38px;height:38px;border:1px solid #c5a86d66;border-radius:12px;background:#c6a76912;color:#e0c184;display:grid;place-items:center;font-size:31px;line-height:1}.brand b{font-size:16px;font-weight:600;letter-spacing:1px}.brand span:not(.logo){display:block;font-size:9px;letter-spacing:2px;color:#8a929e;margin-top:4px}.header-right{display:flex;gap:14px;align-items:center;color:#8b96a6;font-size:11px}.version{border:1px solid #ffffff14;border-radius:5px;padding:4px 7px}main{padding:24px 36px 10px;max-width:1020px;margin:auto}.hero{position:relative;border:1px solid #cdb78220;border-radius:18px;padding:25px 28px 19px;background:radial-gradient(ellipse at 98% 0%,#b8995325,transparent 55%),linear-gradient(120deg,#19222d,#121a23);overflow:hidden}.hero:after{content:'↻';position:absolute;right:28px;top:0;font-size:220px;line-height:1;color:#c9b48108;pointer-events:none}.eyebrow{display:flex;align-items:center;gap:7px;font-size:11px;color:#adb7c4}.eyebrow i{width:6px;height:6px;border-radius:50%;background:#9ba5b2}.eyebrow i.ready{background:#7dd9b0;box-shadow:0 0 12px #7dd9b055}.eyebrow i.busy{background:#e6bd72;animation:pulse 1s infinite}h1{font-size:32px;letter-spacing:1px;font-weight:600;margin:14px 0 8px}.hero p{margin:0;font-size:13px;color:#929ead}.hero-bottom{display:flex;align-items:center;gap:23px;margin-top:23px;position:relative;z-index:1}.primary{height:46px;display:flex;align-items:center;gap:11px;border:0;border-radius:10px;background:#dfc28a;color:#202124;font-size:14px;font-weight:650;padding:0 17px;box-shadow:0 4px 15px #0002}.primary:hover:not(:disabled){background:#ebd1a3}.reset-icon{font-size:25px;font-weight:400}.duration-badge{font-size:11px;margin-left:8px;border-left:1px solid #28252230;padding-left:14px}.hotkey{display:flex;align-items:center;gap:10px;font-size:11px;color:#9ea8b5}.hotkey>span{border:1px solid #ffffff1a;border-radius:5px;padding:5px 8px;color:#c0c7d0;letter-spacing:2px}.hotkey small{font-size:11px}.activity{font-size:11px;color:#99a5b4;margin-top:14px;min-height:16px}.activity.error{color:#eda69d}.activity.success{color:#8ddbb8}.columns{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:18px}.card{border:1px solid #ffffff0d;border-radius:14px;background:#121b25;padding:20px 22px}.card-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:19px}h2{font-size:13px;font-weight:600;margin:0}.muted{color:#667385;font-size:10px}.duration-row{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#aab4c2}output{font-size:23px;font-variant-numeric:tabular-nums;color:#e6c88f}output span{font-size:11px;color:#919dac}input[type=range]{width:100%;height:3px;accent-color:#dabc81;margin:16px 0 8px;cursor:pointer}.range-labels{display:flex;justify-content:space-between;color:#647286;font-size:10px}.hint{font-size:10px;color:#7e8c9e;line-height:1.6;margin:12px 0 0}.divider{height:1px;background:#ffffff0a;margin:15px 0}.switch-row{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer}.switch-row b{display:block;font-size:12px;font-weight:500}.switch-row small{display:block;color:#7e8c9e;font-size:10px;margin-top:6px}input[role=switch]{appearance:none;width:34px;height:20px;border-radius:20px;background:#394553;position:relative;cursor:pointer;flex-shrink:0;transition:background .2s}input[role=switch]:before{content:'';position:absolute;width:14px;height:14px;border-radius:50%;background:#eff3f5;top:3px;left:3px;transition:transform .2s}input[role=switch]:checked{background:#769e91}input[role=switch]:checked:before{transform:translateX(14px)}.status-row{display:flex;justify-content:space-between;font-size:11px;line-height:1.4;margin:15px 0;color:#7f8c9c}.status-row strong{font-size:11px;font-weight:400;color:#c2cbd5}.status-row strong.ok{color:#8bd4b1}.setup{margin-top:16px;padding-top:12px;border-top:1px solid #ffffff0b;display:flex;align-items:center;justify-content:space-between;gap:12px}.setup p{font-size:10px;color:#a1acba;line-height:1.5;margin:0;max-width:160px}.secondary{border:1px solid #cbb07a66;background:#d4b47312;border-radius:7px;color:#d9bf8e;font-size:10px;padding:9px 12px;white-space:nowrap}.text-button{background:none;border:0;color:#8997a8;font-size:10px;padding:0}.text-button:hover{color:#e1c48a}.journal{display:flex;align-items:center;gap:12px;margin-top:18px;font-size:10px;min-height:18px}.journal-label{color:#566679;white-space:nowrap}.journal p{margin:0;color:#91a0b0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.journal .text-button{font-size:9px;color:#5b6b7e}footer{display:flex;justify-content:space-between;padding:13px 36px 18px;color:#4f5e70;font-size:9px}@keyframes pulse{50%{opacity:.3}}@media(max-height:720px){header{height:72px}main{padding-top:18px}.hero{padding-top:19px;padding-bottom:16px}h1{font-size:29px;margin-top:11px}.hero-bottom{margin-top:18px}.card{padding:17px 20px}.card-title{margin-bottom:13px}.columns{margin-top:14px}.status-row{margin:13px 0}.journal{margin-top:13px}footer{padding-top:9px}}

[hidden]{display:none!important}.stepper{display:flex;align-items:center;gap:10px}.stepper button{width:24px;height:24px;border:1px solid #ffffff15;border-radius:6px;color:#b5c0cd;background:#ffffff06;font-size:15px}.stepper output{min-width:42px;text-align:center}

dialog{width:min(680px,calc(100vw - 40px));max-height:85vh;overflow:auto;border:1px solid #cbb07a55;border-radius:18px;background:#121b25;color:#ebf0f4;padding:28px;line-height:1.8}dialog::backdrop{background:#000b}dialog p,dialog li{font-size:13px;color:#aab4c2}dialog h2{margin-top:22px;color:#e0c184}dialog h1{font-size:26px}dialog ol{padding-left:22px}dialog li{margin:8px 0}dialog summary{cursor:pointer;color:#e0c184;font-size:13px}.guide-close{float:right}dialog form:last-child{margin-top:20px}

.hero>p{max-width:670px;line-height:1.7}.guidance-steps{margin:13px 0 0;padding-left:20px;font-size:12px;color:#b8c3cf;line-height:1.8;position:relative;z-index:1}.guidance-steps:empty{display:none}.eyebrow i.attention{background:#e6bd72}.hero h1{font-size:27px}.notice{position:relative;margin-top:14px;padding:16px 20px;border:1px solid #d9b66a44;border-radius:12px;background:#c6a7690b;color:#e0c184;font-size:12px;line-height:1.7}.notice.success{border-color:#72c7a644;color:#8ddbb8}.notice.error{border-color:#e88d8044;color:#eda69d}.notice b{display:block;padding-right:70px}.notice p{margin:6px 0;color:#c1c9d3;overflow-wrap:anywhere;user-select:text}.notice ol{padding-left:20px;margin:8px 0 0;color:#b8c3cf}.notice-close{position:absolute;right:20px;top:18px;color:inherit}.notice details,.diagnostic{font-size:11px;color:#9aa8ba;margin-top:10px;line-height:1.6}.diagnostic p{user-select:text;overflow-wrap:anywhere}.diagnostic summary,.notice summary{cursor:pointer}.journal p{white-space:normal;overflow-wrap:anywhere;line-height:1.6}.journal{align-items:flex-start}.journal .text-button{white-space:nowrap;line-height:1.6}.activity{line-height:1.6}.hero .primary{min-width:170px}.hero:after{z-index:0}#guidanceCard:focus{outline:1px solid #cdb78255}#logHint{font-family:ui-monospace,monospace;font-size:11px}.header-right{gap:12px}

/* Installation guide: shared by the download companion and first-launch dialog. */
.install-page{min-height:100vh;background:radial-gradient(ellipse at top right,#30405266,transparent 60%),#0d131b;user-select:text}
.install-page main.guide-content{max-width:800px;padding:56px 28px 64px}
.guide-content{--guide-accent:#efd29b;line-height:1.8;user-select:text}
.guide-content .eyebrow{color:var(--guide-accent);font-size:12px;letter-spacing:1px}
.guide-content h1{font-size:clamp(25px,4vw,34px);line-height:1.35;letter-spacing:0;margin:14px 0 16px}
.guide-content p,.guide-content li{font-size:14px;color:#bac6d4;line-height:1.85}
.guide-content>p{margin:12px 0 24px}
.guide-section{margin:24px 0;padding:24px;border:1px solid #ffffff12;border-radius:16px;background:linear-gradient(135deg,#1b2735,#141e2a);box-shadow:0 12px 30px #00000012}
.guide-content h2{margin:0 0 18px;color:#f0f3f7;font-size:17px;line-height:1.5}
.guide-content .guide-warning{padding:12px 16px;border-left:3px solid #e4b96f;border-radius:0 8px 8px 0;background:#e4b96f0d;color:#e9cf9f;font-size:13px}
.guide-content ol{list-style:none;counter-reset:guide-step;padding:0;margin:20px 0 0}
.guide-content li{counter-increment:guide-step;position:relative;padding:0 0 20px 42px;margin:0;overflow-wrap:anywhere}
.guide-content li:last-child{padding-bottom:0}
.guide-content li::before{content:counter(guide-step,decimal-leading-zero);position:absolute;left:0;top:2px;width:28px;height:28px;display:grid;place-items:center;border:1px solid #dfc28a38;border-radius:9px;background:#dfc28a10;color:var(--guide-accent);font:600 11px/1 ui-monospace,monospace}
.guide-content strong{font-weight:600;color:#f1d7a8}
.guide-help{padding:16px 20px;background:#ffffff04;border:1px solid #ffffff12;border-radius:12px}
.guide-content summary{font-size:14px;color:#d4deea;cursor:pointer}
.guide-content .hint{font-size:12px;color:#9cacc0}
.guide-content a{color:#9ecbff;text-underline-offset:4px}
.guide-content a:focus-visible,.guide-content summary:focus-visible{outline:2px solid #efd29b;outline-offset:4px}
.guide-content .secondary{font-size:13px;padding:10px 18px}
.guide-content form:last-child .secondary{background:#dfc28a;color:#202124;border-color:#dfc28a;font-weight:600}
dialog.guide-content{width:min(740px,calc(100vw - 32px));padding:28px;background:#101923;box-shadow:0 30px 100px #0008}
@media(max-width:540px){.install-page main.guide-content{padding:30px 16px}.guide-section{padding:18px 16px}.guide-content li{padding-left:38px}dialog.guide-content{padding:20px}.guide-content h2{font-size:16px}}

.log-settings{margin-top:18px}.log-settings .card-title{margin-bottom:8px}.log-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:16px}#logExportStatus{user-select:text;overflow-wrap:anywhere;color:#aab9cc}
