:root{color-scheme:dark;--bg:#101413;--panel:#191e1c;--panel-hover:#1d2520;--border:#2b332e;--muted:#8b9790;--text:#edf1ec;--green:#b9f476;--dark-green:#253b24;--red:#f1938c;--font:Inter,"Segoe UI","Microsoft YaHei",sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:14px/1.6 var(--font);-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}a{color:inherit;text-decoration:none}button{color:inherit}input,select,textarea{color:var(--text);background:#111613;border:1px solid #37413a;border-radius:7px;padding:11px 13px;min-width:0;width:100%;outline:none}input:focus,select:focus,textarea:focus{border-color:var(--green);box-shadow:0 0 0 3px #b9f47612}input::placeholder,textarea::placeholder{color:#67746b}input:disabled,input[readonly]{color:var(--muted);background:#1d2420}textarea{resize:vertical}button:focus-visible,a:focus-visible{outline:2px solid var(--green);outline-offset:4px}h1,h2,h3,p{margin:0}h1{font-size:30px;line-height:1.4;letter-spacing:-.9px;font-weight:650}h2{font-size:17px;font-weight:600}h3{font-size:16px;font-weight:600}.icon{width:19px;height:19px;flex-shrink:0;vertical-align:middle}.muted{color:var(--muted)}.mono,code{font-family:"Cascadia Code",Consolas,monospace}.eyebrow{font-size:10px;letter-spacing:2px;color:var(--muted);font-weight:600}.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid transparent;border-radius:7px;padding:10px 17px;font-size:13px;font-weight:600;white-space:nowrap;transition:background .15s,transform .15s;min-height:42px}.btn:hover{transform:translateY(-1px)}.btn.primary{background:var(--green);color:#182215}.btn.primary:hover{background:#ccff93}.btn.secondary{background:#202822;border-color:#3a443b}.btn.secondary:hover{background:#2b352c}.btn.danger{background:#572c29;color:#ffbcb4;border-color:#86443d}.text-btn{display:inline-flex;align-items:center;gap:6px;background:none;border:0;padding:0;color:var(--green);font-size:12px;font-weight:500}.text-btn.muted{color:var(--muted)}.text-btn:hover{color:#d3fca9}.text-btn .icon{width:15px;height:15px}.icon-btn{border:0;background:transparent;display:inline-flex;align-items:center;justify-content:center;width:33px;height:33px;border-radius:6px;color:var(--muted);flex-shrink:0}.icon-btn:hover{background:#ffffff0a;color:var(--text)}.icon-btn .icon{width:16px;height:16px}.danger-hover:hover{color:var(--red);background:#f1938c12}.brand{display:flex;align-items:center;gap:10px;font-size:24px;font-weight:700;letter-spacing:-1.1px}.brand-light{font-weight:400}.brand-mark{display:grid;place-items:center;width:33px;height:33px;border-radius:8px;background:var(--green);color:#192618;font-size:23px;font-weight:900;letter-spacing:-3px;padding-right:3px}.shell{display:flex;min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:224px;background:#151a17;border-right:1px solid var(--border);padding:28px 17px 18px;display:flex;flex-direction:column;z-index:30}.sidebar>.brand{padding:0 11px}.workspace-label{font-size:10px;letter-spacing:1px;color:#78857b;margin:34px 12px 9px}.workspace{display:flex;align-items:center;gap:10px;padding:11px;border:1px solid var(--border);background:#1c231e;border-radius:8px;margin-bottom:24px;min-width:0}.avatar{width:32px;height:32px;background:#35472e;border:1px solid #47603b;color:#d7e7cc;border-radius:8px;display:grid;place-items:center;flex-shrink:0;font-size:13px}.avatar.small{width:29px;height:29px;border-radius:50%}.workspace>span:nth-child(2){min-width:0}.workspace strong{display:block;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:108px}.workspace small{display:block;color:var(--muted);font-size:10px;margin-top:2px}.workspace-dot{width:5px;height:5px;border-radius:50%;background:var(--green);margin-left:auto}.nav-caption{font-size:10px;color:#6c7a70;margin:0 12px 11px;letter-spacing:1px}.nav-item{display:flex;align-items:center;gap:12px;width:100%;text-align:left;background:transparent;border:0;border-radius:6px;padding:11px 13px;color:#9ca89f;font-size:13px;margin-bottom:5px}.nav-item:hover{background:#222a24;color:#eff8ed}.nav-item.active{background:#2b3926;color:var(--green)}.nav-item .icon{width:18px;height:18px}.nav-count{margin-left:auto;font-size:10px;background:#ffffff0a;min-width:20px;text-align:center;border-radius:4px}.bottom-caption{margin-top:29px}.sidebar-bottom{margin-top:auto;padding-top:24px}.version-note{font-size:10px;color:#9aab9e;display:flex;align-items:center;gap:7px;padding:12px 8px;border-bottom:1px solid var(--border)}.version-note small{margin-left:auto;color:#65746a}.dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--green)}.logout{background:none;border:0;color:var(--muted);font-size:12px;display:flex;gap:10px;align-items:center;padding:15px 10px 0}.logout .icon{width:16px;height:16px}.main-wrap{margin-left:224px;flex:1;min-width:0;display:flex;flex-direction:column;min-height:100vh}.topbar{height:72px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;padding:0 36px;gap:16px;background:#121714}.breadcrumb{display:flex;align-items:center;gap:13px;color:#76847a;font-size:12px}.breadcrumb .icon{width:12px;height:12px}.breadcrumb span{color:#d2dbd2}.topbar-right{display:flex;align-items:center;gap:19px}.status-pill{display:flex;align-items:center;gap:7px;font-size:10px;color:#b6c4b7}.status-pill .dot{width:5px;height:5px}.topbar-divider{width:1px;height:20px;background:var(--border)}.user-button{display:flex;align-items:center;gap:9px;background:none;border:0;font-size:12px;max-width:190px}.user-button>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.content{padding:33px 36px 25px;width:100%;max-width:1580px;margin:auto;flex:1}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:27px}.page-heading .eyebrow{margin-bottom:9px}.page-heading h1{margin-bottom:7px;overflow-wrap:anywhere}.page-heading p{font-size:12px;color:var(--muted)}.heading-dot{color:var(--green);margin-left:2px}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:17px;margin-bottom:24px}.metric-card{border:1px solid var(--border);background:var(--panel);border-radius:10px;padding:18px 20px;text-align:left;min-width:0}.metric-card:hover{border-color:#506447;background:var(--panel-hover)}.metric-top{display:flex;justify-content:space-between;align-items:center;color:#b0bcb3;font-size:12px}.metric-top .icon{color:#7e9081}.metric-card>strong{display:block;font-size:35px;line-height:1.6;font-weight:550;letter-spacing:-1px;margin:6px 0 8px}.metric-card strong small{font-size:11px;color:#839187;margin-left:8px;letter-spacing:0;font-weight:400}.metric-bottom{font-size:10px;color:#7f8c83;display:flex;align-items:center;justify-content:space-between;gap:8px}.metric-bottom .icon{width:13px;height:13px}.onboarding{display:flex;border:1px solid #3c5030;border-radius:10px;padding:24px;background:linear-gradient(120deg,#23311e,#1a241b 70%);gap:25px;margin-bottom:26px}.onboard-intro{width:35%;min-width:200px}.onboard-intro .eyebrow{color:#91ae7a;font-size:9px}.onboard-intro h2{font-size:19px;margin:8px 0 7px}.onboard-intro p{font-size:11px;color:#95a78b}.progress-label{display:inline-block;font-size:10px;color:var(--green);border:1px solid #496039;border-radius:4px;padding:2px 7px;margin-top:15px}.onboard-steps{display:grid;grid-template-columns:repeat(3,1fr);align-items:center;flex:1;gap:12px}.setup-step{background:#141e1480;border:1px solid #354630;border-radius:8px;padding:17px 13px;display:flex;flex-wrap:wrap;gap:15px;text-align:left;min-width:0;height:100%}.setup-step:hover{background:#31462a}.step-num{color:#a9c195;border:1px solid #42533a;font:11px/26px monospace;text-align:center;border-radius:50%;width:28px;height:28px}.step-num .icon{width:14px;height:14px}.setup-step.done .step-num{background:var(--green);border-color:var(--green);color:#1b2a15}.setup-step>span:nth-child(2){width:100%;order:2}.setup-step>span strong{font-size:12px;display:block;font-weight:500}.setup-step small{display:block;color:#8da180;font-size:10px;margin-top:5px}.setup-step>.icon{width:12px;height:12px;color:#829d72;margin-left:auto;align-self:center}.dashboard-columns{display:grid;grid-template-columns:1.25fr 1fr;gap:24px}.panel{border:1px solid var(--border);border-radius:10px;background:var(--panel);overflow:hidden}.panel-heading{display:flex;justify-content:space-between;align-items:center;padding:19px 21px;border-bottom:1px solid var(--border);gap:12px}.panel-heading h2{font-size:14px;display:flex;align-items:center;gap:8px}.count{font-size:10px;background:#2b352c;color:#9aaa9c;border-radius:4px;padding:1px 6px}.empty{text-align:center;padding:47px 20px 44px}.empty-icon{display:flex;align-items:center;justify-content:center;width:47px;height:47px;margin:0 auto 14px;border:1px solid #39453b;border-radius:12px;background:#202a22;color:#96b285}.empty-icon .icon{width:23px;height:23px}.empty h3{font-size:14px;margin-bottom:7px}.empty p{font-size:12px;color:var(--muted);max-width:460px;margin:auto}.empty .btn,.empty .text-btn{margin-top:20px}.panel .empty{padding:37px 20px}.activity-list{padding:7px 21px}.activity-item{display:flex;gap:12px;padding:15px 0;position:relative;align-items:flex-start;border-bottom:1px solid #283029}.activity-item:last-child{border-bottom:0}.activity-dot{width:7px;height:7px;border-radius:50%;background:#75856c;margin-top:6px;flex-shrink:0}.activity-item:first-child .activity-dot{background:var(--green)}.activity-item strong{font-size:12px;font-weight:500}.activity-item p{font-size:11px;color:var(--muted);margin-top:4px;overflow-wrap:anywhere}.activity-item time{margin-left:auto;white-space:nowrap;font-size:10px;color:#78867d;padding-top:2px}.bottom-notice{display:flex;align-items:center;gap:13px;background:#171e19;border:1px dashed #344137;border-radius:8px;margin-top:24px;padding:17px 20px;color:#7f9583}.bottom-notice>span{font-size:11px;flex:1}.bottom-notice strong{color:#b9c9b9;font-weight:500;margin-right:12px}.bottom-notice .text-btn{font-size:11px;white-space:nowrap}.page-footer{display:flex;align-items:center;justify-content:space-between;padding:19px 36px;font-size:10px;color:#596b5f;gap:20px}.page-footer .icon{width:12px;height:12px;margin-left:5px}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:21px 0}.toolbar-left{display:flex;align-items:center;gap:15px}.toolbar .muted{font-size:11px}.filter-select{display:flex;align-items:center;border:1px solid var(--border);border-radius:6px;padding:0 10px;background:var(--panel);color:#99ac9b;max-width:280px}.filter-select .icon{width:16px;height:16px}.filter-select select{border:0;background:transparent;font-size:12px;width:auto;max-width:235px;padding:9px 8px}.search{display:flex;align-items:center;border:1px solid var(--border);border-radius:6px;padding:0 10px;background:#171d19;width:245px;color:#708675}.search .icon{width:16px;height:16px}.search input{border:0;background:none;font-size:12px;padding:9px;box-shadow:none}.farm-grid,.flight-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.farm-card,.flight-card{border:1px solid var(--border);background:var(--panel);padding:21px;border-radius:10px;min-width:0}.card-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.card-icon{background:#273625;color:#b8d1a5;border:1px solid #3c4c33;width:39px;height:39px;border-radius:9px;display:grid;place-items:center}.tag{font-size:10px;border:1px solid #3d5236;border-radius:4px;padding:3px 7px;color:#aed591;white-space:nowrap}.tag.subtle{border-color:#354037;background:#232c25;color:#92a494;font-size:10px}.farm-card h2,.flight-card h2{font-size:18px;overflow-wrap:anywhere}.farm-location{font-size:11px;color:#83988a;margin-top:5px}.card-note{font-size:12px;color:#8a998c;min-height:42px;margin:18px 0;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.farm-numbers{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--border);border-bottom:1px solid var(--border);padding:13px 0;margin-bottom:13px}.farm-numbers span{font-size:10px;color:#819185;padding-left:12px;border-left:1px solid var(--border)}.farm-numbers span:first-child{border:0;padding-left:0}.farm-numbers strong{display:block;font-size:22px;color:#d4dfd1;font-weight:500;line-height:1.4;margin-bottom:3px}.card-footer{display:flex;align-items:center;justify-content:space-between;gap:8px}.card-footer>.muted{font-size:10px}.row-actions{display:flex;align-items:center;gap:3px}.info-line{display:flex;align-items:center;gap:10px;border:1px solid #344236;border-radius:7px;background:#1b261d;padding:12px 15px;color:#9eb39d;font-size:12px}.info-line .icon{width:16px;height:16px}.table-scroll{overflow:auto}table{border-collapse:collapse;text-align:left;width:100%;font-size:12px;white-space:nowrap}th{font-size:10px;color:#89998d;font-weight:500;background:#1d251f;padding:13px 20px;border-bottom:1px solid var(--border)}td{padding:18px 20px;border-bottom:1px solid var(--border);color:#bdcabe}tr:last-child td{border-bottom:0}td strong{font-weight:500;color:#e3eae0}.wallet-name{display:flex;align-items:center;gap:11px}.coin-icon{width:33px;height:33px;display:grid;place-items:center;border-radius:50%;border:1px solid #586043;color:#d2d7a7;background:#303326;font-size:15px}.wallet-name small{display:block;font-size:10px;color:#89988a;margin-top:3px}.address-row{display:flex;align-items:center;gap:8px}.address-row code{color:#95a591;font-size:11px}.coin-tag{background:#35462b;color:var(--green);border:1px solid #4a6236;border-radius:5px;font-size:11px;padding:4px 8px;font-weight:600}.flight-card>.muted{font-size:11px;margin-top:4px}.flight-route{padding:18px 0 7px}.flight-route>div{display:flex;gap:12px;align-items:center;margin-bottom:17px}.flight-route .icon{width:16px;height:16px;color:#7f957c}.flight-route span{min-width:0}.flight-route small{display:block;font-size:10px;color:#7a8f7e;margin-bottom:3px}.flight-route strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:500;color:#d1dccd}.flight-route em{font-style:normal;color:#546b53;margin:0 5px}.flight-card .card-footer{border-top:1px solid var(--border);padding-top:12px}.farm-list{padding:0 20px}.farm-list-item{display:flex;align-items:center;gap:12px;padding:20px 0;width:100%;background:none;border:0;border-bottom:1px solid var(--border);text-align:left;min-width:0}.farm-list-item:last-child{border:0}.list-icon{width:37px;height:37px;border:1px solid #3a4a37;border-radius:7px;background:#263323;color:#a5c095;display:grid;place-items:center;flex-shrink:0}.grow{flex:1;min-width:0}.grow strong{display:block;font-size:12px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-weight:500}.grow small{display:block;font-size:10px;color:#7d9181;margin-top:4px}.list-stats{font-size:10px;color:#93a78f}.farm-list-item>.icon{width:13px;height:13px;color:#6b816d}.event-label{display:flex;gap:9px;align-items:center}.event-label .icon{width:14px;height:14px;color:#89a17f}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-bottom:22px}.settings-panel{padding:25px}.settings-panel>p{font-size:12px;margin:7px 0 24px}.settings-panel .btn{margin-top:5px}.field{display:flex;flex-direction:column;gap:7px;margin-bottom:18px;min-width:0}.field>span{font-size:12px;color:#b7c5b7}.field b{font-weight:400;color:#8aa674;font-size:11px;margin-left:5px}.field input,.field select,.field textarea{font-size:13px}.field.full{grid-column:1/-1}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.form-error{font-size:12px;color:#ffaaa1;min-height:4px;margin-bottom:13px;overflow-wrap:anywhere}.form-error:empty{margin-bottom:0}.modal-backdrop{position:fixed;inset:0;z-index:100;background:#030803c9;backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;padding:25px;overflow:auto}.modal{border:1px solid #43503e;border-radius:13px;padding:26px;background:#1a211b;width:650px;max-width:100%;max-height:calc(100dvh - 50px);overflow:auto;box-shadow:0 25px 120px #0009}.modal-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;gap:15px}.modal-heading .eyebrow{font-size:9px;margin-bottom:4px}.modal-heading h2{font-size:21px}.modal-footer{display:flex;gap:10px;justify-content:flex-end;border-top:1px solid var(--border);padding-top:20px;margin-top:9px}.modal-tip{font-size:12px;color:#a9bc98;padding:10px 12px;border:1px solid #3a4c32;background:#243021;border-radius:6px;margin:-6px 0 20px}.delete-copy{font-size:13px;color:#adbfa8;line-height:1.9;margin-bottom:20px;overflow-wrap:anywhere}.modal-open{overflow:hidden}.connection-steps{display:flex;align-items:center;justify-content:center;gap:22px;margin-top:28px;font-size:12px;color:#b6c5b0}.connection-steps b{font-weight:400;color:var(--green);margin-right:8px;font-family:monospace}.connection-steps i{height:1px;width:40px;background:var(--border)}#toast{position:fixed;bottom:27px;left:50%;transform:translate(-50%,15px);background:#d2efbc;color:#1a2916;border:1px solid #b3d598;box-shadow:0 10px 35px #0006;padding:12px 24px;border-radius:8px;font-size:13px;z-index:200;opacity:0;pointer-events:none;transition:.2s;max-width:90vw}#toast.visible{opacity:1;transform:translate(-50%,0)}.loading{display:grid;place-items:center;min-height:100vh;color:var(--muted)}.mobile-toggle{display:none}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.auth-layout{display:grid;grid-template-columns:1.05fr 1fr;min-height:100vh}.auth-story{position:relative;overflow:hidden;background:radial-gradient(ellipse at 70% 68%,#334a27 0%,#1c2b1b 38%,#172016 74%);padding:42px 9% 25px;display:flex;flex-direction:column;min-height:760px;border-right:1px solid #33412e}.auth-story>.brand{margin-bottom:70px}.auth-story>.eyebrow{font-size:10px;letter-spacing:2.5px;color:#92b17b}.auth-story h1{font-size:43px;font-weight:500;letter-spacing:-1px;line-height:1.45;margin:16px 0}.auth-story>p{font-size:13px;line-height:1.9;color:#9aaa91}.auth-story footer{display:flex;justify-content:space-between;gap:10px;font-size:10px;color:#7d9571;margin-top:auto;padding-top:15px;z-index:2}.auth-story footer span:last-child{font-size:8px;letter-spacing:1px}.rack-visual{height:310px;position:relative;perspective:900px;margin:30px -30px 0}.rack{position:absolute;width:228px;border:1px solid #637b4e;border-radius:9px;background:linear-gradient(135deg,#3a4f2e,#202f1d);padding:14px;box-shadow:0 28px 45px #020b0290;transform:rotateY(-18deg) rotateX(12deg) rotateZ(-8deg)}.rack-1{top:25px;left:3%;opacity:.6}.rack-2{top:66px;left:25%;z-index:2}.rack-3{top:111px;left:47%;opacity:.9;z-index:3}.rack-head{display:flex;align-items:center;justify-content:space-between;font:7px monospace;letter-spacing:1.5px;color:#b7ce9b;padding-bottom:13px}.rack-head i{width:5px;height:5px;background:var(--green);border-radius:50%;box-shadow:0 0 8px #b9f476}.rack-row{height:34px;margin-bottom:8px;background:#15230f;border:1px solid #405535;border-radius:4px;display:flex;align-items:center;gap:8px;padding:7px 10px}.rack-row b{width:3px;height:16px;background:#9ad666;box-shadow:0 0 6px #9ad66650;margin-right:5px}.rack-row span{width:19px;height:19px;border:3px dashed #627e4b;border-radius:50%;background:#1c2a16}.rack-row em{margin-left:auto;width:29px;height:12px;background:repeating-linear-gradient(90deg,#465f37 0 2px,transparent 2px 4px)}.auth-panel{display:flex;flex-direction:column;padding:39px 9% 24px}.auth-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.auth-top .muted{font-size:11px}.auth-box{width:100%;max-width:368px;margin:auto; padding:45px 0}.auth-symbol{display:grid;place-items:center;width:44px;height:44px;border:1px solid #374b2d;background:#222f1d;border-radius:12px;color:var(--green);margin-bottom:20px}.auth-symbol .icon{width:23px;height:23px}.auth-box h2{font-size:28px;font-weight:550;letter-spacing:-.6px}.auth-box>p.muted{font-size:12px;margin:8px 0 29px}.auth-box .field{margin-bottom:21px}.auth-box .field>span{font-size:12px}.auth-box input{padding:12px 13px;background:#171e19;border-color:#354033}.auth-submit{width:100%;justify-content:space-between;margin-top:3px;padding:12px 16px}.auth-switch{text-align:center;font-size:12px;color:#82927f;margin:23px 0 31px}.auth-switch .text-btn{margin-left:7px}.auth-note{display:flex;gap:9px;border-top:1px solid var(--border);padding-top:21px;color:#71846f;font-size:10px;line-height:1.8}.auth-note .icon{width:15px;height:15px;margin-top:2px}.auth-bottom{display:flex;justify-content:space-between;font-size:10px;color:#5d735b;gap:15px}
@media(min-width:1600px){.content{padding-top:45px}.auth-story{padding-left:13%;padding-right:13%}.auth-story h1{font-size:52px}.rack-visual{transform:scale(1.15);margin-top:60px}}@media(max-width:1200px){.sidebar{width:205px;padding-left:12px;padding-right:12px}.main-wrap{margin-left:205px}.topbar{padding:0 25px}.content{padding:28px 25px}.farm-grid,.flight-grid{grid-template-columns:repeat(2,1fr)}.metric-card{padding:15px}.metric-bottom{font-size:9px}.onboarding{padding:20px;gap:18px}.onboard-intro{min-width:190px;width:31%}.onboard-intro h2{font-size:17px}.onboard-steps{gap:8px}.setup-step{padding:13px 9px}.list-stats{display:none}.auth-story{padding-left:8%;padding-right:8%}.auth-story h1{font-size:38px}.rack-visual{margin-left:-35px;transform:scale(.9);transform-origin:left center}.rack-3{left:40%}}@media(max-width:1000px){.metrics{gap:12px}.metric-card>strong{font-size:29px}.metric-bottom .icon{display:none}.onboarding{display:block}.onboard-intro{width:100%;margin-bottom:17px}.onboard-intro p{display:none}.progress-label{position:absolute;right:48px;margin-top:-30px}.onboard-steps{grid-template-columns:repeat(3,1fr)}.setup-step{height:110px}.dashboard-columns{gap:17px;grid-template-columns:1fr 1fr}.panel-heading{padding:17px}.activity-list{padding:5px 15px}.activity-item time{font-size:9px}.bottom-notice .text-btn{display:none}.auth-story footer span:last-child{display:none}.auth-story h1{font-size:34px}.rack-visual{transform:scale(.8);width:390px}.auth-panel{padding:30px 8% 20px}.topbar-right{gap:12px}.status-pill{font-size:9px}.settings-grid{grid-template-columns:1fr}.auth-layout{grid-template-columns:1fr 1fr}}
@media(max-width:760px){.sidebar{transform:translateX(-100%);transition:transform .2s;width:224px;box-shadow:20px 0 70px #0008}.sidebar.mobile-open{transform:translateX(0)}.main-wrap{margin-left:0}.mobile-toggle{display:inline-flex}.topbar{height:60px;padding:0 15px;gap:7px}.breadcrumb{gap:7px;font-size:11px;margin-right:auto}.topbar-right .status-pill,.topbar-divider,.user-button>span:last-child{display:none}.topbar-right{gap:0}.content{padding:25px 18px}.page-heading{gap:12px;align-items:flex-start;margin-bottom:22px}.page-heading h1{font-size:25px}.page-heading p{font-size:11px;max-width:260px}.page-heading>.btn{font-size:11px;padding:8px 10px;min-height:36px;margin-top:25px}.page-heading>.btn .icon{width:15px;height:15px}.metrics{grid-template-columns:repeat(2,1fr);gap:12px;margin-bottom:18px}.metric-card{padding:16px}.metric-card>strong{font-size:31px;margin:4px 0}.metric-bottom{font-size:10px}.onboarding{padding:19px;margin-bottom:20px}.onboard-intro h2{font-size:17px}.progress-label{right:40px}.setup-step{height:118px;padding:12px 8px;gap:10px}.setup-step small{font-size:9px}.setup-step strong{font-size:11px!important}.setup-step>.icon{display:none}.dashboard-columns{grid-template-columns:1fr;gap:18px}.panel .empty{padding:30px 16px}.activity-item time{font-size:10px}.bottom-notice{padding:13px 15px;align-items:flex-start}.bottom-notice strong{display:block;margin-bottom:3px}.page-footer{padding:15px 18px;font-size:9px}.page-footer>span:last-child{display:none}.farm-grid,.flight-grid{grid-template-columns:1fr}.toolbar{flex-wrap:wrap;gap:12px}.toolbar-left{flex:1}.search{width:100%}.filter-select{max-width:230px}.filter-select select{max-width:180px}.info-line{font-size:11px;align-items:flex-start}.table-scroll table{min-width:640px}.settings-panel{padding:20px}.form-grid{grid-template-columns:1fr}.modal-backdrop{padding:12px}.modal{padding:21px;max-height:calc(100dvh - 24px);border-radius:10px}.modal-heading{margin-bottom:20px}.modal-heading h2{font-size:20px}.connection-steps{gap:8px;font-size:10px;flex-wrap:wrap}.connection-steps i{width:15px}.connection-steps b{margin-right:4px}.auth-layout{display:block}.auth-story{display:none}.auth-panel{min-height:100dvh;padding:25px 25px 18px}.auth-box{padding:40px 0}.auth-top:before{content:'矿鸭';font-size:23px;color:var(--green);font-weight:600;letter-spacing:-1px}.auth-top>.muted{display:none}.auth-box h2{font-size:27px}.auth-bottom{margin-top:10px}}
.heading-actions{display:flex;gap:10px;align-items:center}.clipboard-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.clipboard-toolbar .muted{font-size:11px}.clipboard-toolbar .btn{font-size:11px;padding:7px 10px;min-height:34px}.json-input{font:11px/1.7 Consolas,monospace;white-space:pre;overflow:auto}.import-facts{border:1px solid var(--border);border-radius:7px;padding:12px 14px;background:#141c15;margin:18px 0}.import-facts>div{display:grid;grid-template-columns:105px 1fr;gap:10px;padding:5px 0;min-width:0}.import-facts span{font-size:11px;color:#8b9f85}.import-facts code{font-size:11px;color:#d1dfc8;overflow-wrap:anywhere;min-width:0}.import-warning{border:1px solid #73643b;background:#352f1c;color:#dbc893;font-size:11px;padding:11px 13px;border-radius:6px;margin:15px 0}.import-warning[hidden]{display:none}.pool-choices{display:grid;gap:9px;margin:16px 0 21px}.pool-choices label{display:flex;align-items:flex-start;gap:10px;padding:12px;border:1px solid #3c4e34;border-radius:7px;cursor:pointer}.pool-choices input{width:16px;height:16px;accent-color:var(--green);flex-shrink:0;margin:3px 0}.pool-choices strong{display:block;font-size:11px;font-weight:500;color:#bdd0b1}.pool-choices code{display:block;font-size:11px;margin-top:5px;color:#8aab7c;overflow-wrap:anywhere}.import-wallet-note,.import-footnote{font-size:11px;color:#8c9e85;line-height:1.8;margin:7px 0 12px}#import-error{margin-top:12px}.modal:has(#import-form){width:720px}
@media(max-width:760px){.page-heading:has(.heading-actions){flex-wrap:wrap}.heading-actions{width:100%;margin-top:5px}.heading-actions .btn{flex:1;font-size:11px;padding:8px 10px}.clipboard-toolbar{align-items:flex-start}.clipboard-toolbar .muted{max-width:140px}.import-facts>div{grid-template-columns:85px 1fr}.pool-choices strong{font-size:10px}.json-input{font-size:10px}}
.json-input{white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-all}
.miner-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:22px 0}.telemetry-card{padding:19px 21px;min-width:0}.telemetry-card>span{display:block;font-size:11px;color:#96a991}.telemetry-card strong{display:block;font-size:26px;font-weight:500;letter-spacing:-.5px;margin:10px 0;color:#e2efdb;white-space:nowrap}.telemetry-card small{font-size:10px;color:#789074}.live-refresh{display:flex;align-items:center;gap:8px;font-size:11px;color:#8ca184;margin:16px 0}.live-refresh .text-btn{margin-left:auto}.refresh-error{color:#e7b68b}.refresh-error .dot{background:#e7b68b}.status-tabs{display:flex;align-items:center;gap:6px;margin:18px 0 13px}.status-tabs button{background:transparent;border:1px solid transparent;border-radius:5px;padding:6px 11px;font-size:11px;color:#8e9f89}.status-tabs button.selected{background:#2a3c23;border-color:#405737;color:var(--green)}.status-tabs>span{margin-left:auto;font-size:10px;color:#7d9373}.miner-status{display:inline-flex;align-items:center;gap:7px;border:1px solid #35432e;background:#253320;color:#bee49e;font-size:11px;padding:4px 9px;border-radius:5px;white-space:nowrap}.miner-status.is-offline{color:#aaaca8;background:#292c27;border-color:#45483f}.miner-status.is-offline .dot{background:#8b9182}.miner-name{display:flex;align-items:center;gap:10px;background:none;border:0;padding:0;text-align:left}.miner-name>.icon{color:#93b57e;width:24px;height:24px}.miner-name strong{font-size:13px;color:#dbead2}.miner-name small{display:block;font-size:10px;color:#7f9476;margin-top:4px}.table-sub{display:block;font-size:10px;color:#7f9576;margin-top:3px}.temperature-hot{color:#f4c083!important}.miner-table td{padding:19px 14px}.miner-table th{padding:14px}.back-link{margin-bottom:19px}.miner-config-note{display:flex;align-items:center;gap:12px;border:1px solid #3a4c31;border-radius:8px;background:#202d1d;padding:17px 20px;margin:21px 0;color:#98b78a}.miner-config-note>div{flex:1}.miner-config-note strong{display:block;color:#cee3bb;font-size:12px;font-weight:500}.miner-config-note div span{display:block;color:#8ca67f;font-size:11px;margin-top:3px}.gpu-panel .panel-heading>.muted,.history-panel .panel-heading>.muted,.messages-panel .panel-heading>.muted{font-size:10px}.gpu-name{display:flex;align-items:center;gap:13px}.gpu-index{font:12px Consolas,monospace;color:#9cb78b;border:1px solid #3c4c33;border-radius:5px;width:25px;height:25px;display:grid;place-items:center}.gpu-name small{display:block;color:#809577;font-size:10px;margin-top:3px}.miner-system-grid{display:grid;grid-template-columns:1.3fr 1fr;gap:20px;margin:22px 0}.system-facts{margin:0;padding:12px 21px 18px}.system-facts>div{display:flex;gap:12px;align-items:flex-start;justify-content:space-between;padding:9px 0;border-bottom:1px solid #293624}.system-facts>div:last-child{border:0}.system-facts dt{font-size:11px;color:#819476;white-space:nowrap}.system-facts dd{font-size:11px;color:#c4d5b6;margin:0;text-align:right;overflow-wrap:anywhere}.share-stats{display:grid;grid-template-columns:1fr 1fr;gap:16px;padding:22px}.share-stats>div+div{border-left:1px solid #33412c;padding-left:20px}.share-stats strong{font-size:30px;font-weight:500;color:#d8e8c8;display:block}.share-stats span{font-size:11px;color:#8aa079}.hash-chart{padding:20px}.hash-chart svg{width:100%;height:auto;display:block}.chart-line{stroke:#b9f476;stroke-width:2;fill:none;vector-effect:non-scaling-stroke}.chart-fill{fill:#b9f4760b}.chart-grid{stroke:#34422d;stroke-width:1;stroke-dasharray:4 6;fill:none}.chart-range{display:flex;justify-content:space-between;gap:12px;font-size:10px;color:#8a9f7c}.messages-panel{margin-top:22px}.message-text{white-space:normal;overflow-wrap:anywhere;max-width:700px}.miner-table{min-width:900px}.telemetry-card .muted{font-size:10px}
@media(max-width:1100px){.telemetry-card{padding:16px}.telemetry-card strong{font-size:22px}.miner-system-grid{grid-template-columns:1fr 1fr}}@media(max-width:760px){.miner-metrics{grid-template-columns:1fr 1fr;gap:11px}.telemetry-card{padding:15px}.telemetry-card strong{font-size:21px}.telemetry-card>span{font-size:10px}.telemetry-card small{font-size:9px}.miner-system-grid{grid-template-columns:1fr;gap:18px}.live-refresh{font-size:9px;gap:6px}.live-refresh .text-btn{font-size:10px}.status-tabs>span{display:none}.miner-config-note{padding:13px;align-items:flex-start}.miner-config-note>.tag{display:none}.miner-config-note div span{font-size:10px}.gpu-panel .panel-heading{align-items:flex-start}.gpu-panel .panel-heading>.muted{font-size:9px}.history-panel .panel-heading>.muted{font-size:9px}.system-facts dd{max-width:65%}.hash-chart{padding:14px}.chart-range{font-size:9px}}
/* Compact worker console */
.content:has(.hive-view){max-width:none;background:#22272b;padding:26px 28px}.hive-view{--panel:#2d343a;--border:#383f46;--muted:#8d9aa7;--green:#99c94b;--text:#e0e4e8;color:var(--text)}.hive-view .panel{border-radius:3px}.hive-view .page-heading{margin-bottom:18px}.hive-view .page-heading h1{font-size:26px}.hive-view .eyebrow{color:#84919d}.hive-view .page-heading p{color:#8d9aa7}.fleet-summary{display:flex;align-items:center;gap:34px;padding:17px 0 22px;border-bottom:1px solid #383f46;margin-bottom:18px;color:#96a2ae;flex-wrap:wrap}.fleet-summary strong{font-size:24px;font-weight:500;color:#e3e7eb;margin-right:5px}.fleet-summary small{font-size:13px}.fleet-summary>span:last-child{margin-left:auto;font-size:11px}.hive-view .status-tabs button.selected{background:#343c43;border-color:#515d67;color:#edf0f3}.fleet-table{min-width:1050px;width:100%;border-collapse:collapse}.fleet-table th{padding:9px 12px;color:#85929f;font-size:10px;font-weight:500;letter-spacing:.5px;background:#22272b}.fleet-table td{padding:8px 12px;border-bottom:1px solid #20262b;white-space:nowrap;font-size:12px}.fleet-table tbody tr:nth-child(even){background:#30383f}.fleet-table tbody tr:hover{background:#39434b}.fleet-table .miner-name{gap:8px}.fleet-table .miner-name strong{color:#e1e6ea;font-size:14px}.gpu-count{font-size:11px;background:#20262b;padding:0 7px;border-radius:12px;color:#d6dde2}.fleet-table .table-sub{margin-top:1px;color:#8d9aa7;font-size:10px}.fleet-table .miner-status{border:0;padding:0;background:none;color:#9ac955}.fleet-table .is-offline{color:#929ca5}.uptime{margin-left:9px;color:#92a0ad;font-size:11px}.algo-label{color:#b9c6cf;font-size:12px;font-weight:600}.fleet-hash{font-size:14px;font-weight:500}.temp-strip{display:flex;gap:3px;flex-wrap:wrap;max-width:440px;min-width:200px}.temp-block{display:inline-flex;align-items:center;justify-content:center;min-width:29px;height:22px;padding:0 3px;color:#17202a;font-size:12px;font-variant-numeric:tabular-nums}.cool{background:#85be3e}.yellow{background:#f5d800}.warm{background:#ff9f00}.hot{background:#ff5157}.unknown{background:#697580}.temp-legend{display:flex;gap:18px;flex-wrap:wrap;color:#8d9aa7;font-size:10px;margin:14px 0}.temp-legend span{display:flex;align-items:center;gap:5px}.temp-legend i{width:8px;height:8px;display:inline-block}.stale-row .temp-strip{opacity:.5}.worker-strip{display:flex;gap:25px;flex-wrap:wrap;color:#a2aeb9;font-size:12px;margin:10px 0 22px}.worker-strip small{color:#7c8a96}.worker-tabs{display:flex;gap:30px;border-bottom:1px solid #3c444b;margin-bottom:22px;overflow-x:auto}.worker-tabs button{border:0;border-bottom:2px solid transparent;padding:12px 0 15px;background:none;font-size:16px;color:#93a1ad;white-space:nowrap}.worker-tabs button.active{border-bottom-color:#dce3e9;color:#edf2f5}.hive-chart{display:flex;align-items:center;gap:24px;margin:0 0 30px;min-height:145px}.hive-chart .hash-chart{flex:1;min-width:0;padding:0}.hive-chart svg{max-height:160px}.chart-current{min-width:155px;text-align:right;color:#ce8049}.chart-current span{font-size:12px;letter-spacing:2px;display:block}.chart-current strong{font-size:24px;font-weight:400}.hive-view .chart-line{stroke:#bb7545;stroke-width:1.5}.hive-view .chart-fill{fill:#bb754510}.hive-view .chart-grid{stroke:#354049}.hive-view .chart-range{color:#83919f}.hive-view .gpu-panel td{padding:13px 14px;border-bottom:1px solid #20262b;font-size:14px}.hive-view .gpu-panel th{background:#22272b;color:#8b99a8;font-size:11px;font-weight:500;letter-spacing:1px}.hive-view .gpu-name strong{color:#93c63c;font-size:16px;font-weight:500}.hive-view .gpu-name small{font-size:12px;color:#8a99a8}.hive-view .gpu-index{border:0;width:38px;color:#bcc6ce}.hive-view .gpu-panel tbody tr:nth-child(even){background:#30383e}.hive-view .system-facts dt,.hive-view .share-stats span{color:#91a0ad}.hive-view .system-facts dd,.hive-view .share-stats strong{color:#cbd4db}.hive-view .system-facts>div{border-color:#3a444d}.hive-view .miner-status.is-online{color:#a3cb68;background:#2c3929;border-color:#45533d}.hive-view .temperature-hot{color:#ff646b!important}.worker-config{padding:24px;margin-bottom:22px}.worker-config p{margin:12px 0;color:#a1aeb8;font-size:12px}.worker-config .system-facts{padding-left:0;padding-right:0;max-width:650px}.hive-view .live-refresh{color:#8d9aa7}
@media(max-width:760px){.content:has(.hive-view){padding:20px 14px}.fleet-summary{gap:14px 25px}.fleet-summary strong{font-size:20px}.fleet-summary>span:last-child{margin-left:0}.worker-tabs{gap:24px}.worker-tabs button{font-size:14px}.worker-strip{gap:9px 16px}.hive-chart{display:block}.chart-current{text-align:left;margin-top:10px}.chart-current strong{font-size:20px}.hive-view .gpu-panel table{min-width:800px}.temp-legend{gap:9px 12px}}
.summary-four{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;padding:0;border:1px solid #3a434b;background:#293037;border-radius:4px}.summary-four>div{padding:18px 22px;min-width:0;border-right:1px solid #3a434b}.summary-four>div:last-child{border:0}.summary-four>div>span{display:block;font-size:12px;color:#a9b5bf}.summary-four strong{display:block;margin:6px 0;font-size:27px;color:#e5ebef}.summary-four strong small{font-size:12px;font-weight:400}.summary-four small{font-size:10px;color:#8a98a5}.total-hash>strong{display:inline-block;font-size:22px;margin-right:7px}.batch-bar{display:flex;align-items:center;gap:12px;margin:14px 0;flex-wrap:wrap}.batch-bar>span{color:#97a5b2;margin-right:8px;font-size:12px}.batch-bar .btn{min-height:35px;padding:6px 13px;background:#333d45;border-color:#4a5863;font-weight:400}.batch-bar button:disabled{cursor:not-allowed}.select-cell{width:38px}.select-cell input{width:16px;height:16px;padding:0;vertical-align:middle;accent-color:#b9d962;cursor:pointer}.batch-history{margin-top:25px}.batch-history table{min-width:650px}.batch-history td{padding:10px 14px}.command-succeeded{color:#99cc60}.command-warning,.command-unknown,.command-failed{color:#ffb16e}.oc-field-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.field{display:block;font-size:12px;color:#bbc6ce;margin:14px 0}.field input,.field select{display:block;margin-top:7px}.batch-preview{padding:14px;background:#232c30;border:1px solid #425049;border-radius:6px;font-size:12px;overflow-wrap:anywhere;margin:15px 0}.batch-preview p{margin:7px 0}.form-body{padding:0 24px 20px}.form-body>.muted{font-size:11px;margin-top:12px}.form-body>p{overflow-wrap:anywhere}@media(max-width:760px){.summary-four{grid-template-columns:1fr 1fr}.summary-four>div{padding:14px;border-bottom:1px solid #3a434b}.summary-four strong{font-size:23px}.summary-four .total-hash strong{font-size:19px}.batch-bar{gap:9px}.batch-bar>span{width:100%}.oc-field-grid{grid-template-columns:1fr 1fr}}
.gpu-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.gpu-actions .btn{min-height:32px;padding:5px 10px;font-size:11px}.oc-source{padding:12px 18px;color:#92a0ac;font-size:11px;border-bottom:1px solid #39434b}.detailed-gpus table{min-width:1330px}.detailed-gpus .gpu-index{width:45px;white-space:nowrap}.detailed-gpus .oc-values{font-size:12px;white-space:nowrap}.detailed-gpus .table-sub{color:#8597a7;font-size:11px}.detailed-gpus th small{font-size:10px;letter-spacing:0}.detailed-gpus .gpu-name{gap:10px}.worker-flight-list{display:grid;gap:12px;margin:20px 0}.worker-flight-card{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px;border:1px solid #46525b;background:#252d33;border-radius:5px;min-width:0}.worker-flight-card>div{min-width:0}.worker-flight-card strong{font-size:15px;color:#d9e3eb;overflow-wrap:anywhere}.worker-flight-card code{font-size:12px;overflow-wrap:anywhere}.worker-flight-card .btn{flex-shrink:0}.mining-log-panel{background:#151b20!important}#live-mining-log{white-space:pre-wrap;overflow-wrap:anywhere;overflow:auto;height:480px;padding:18px;margin:0;color:#bfcfd8;font:12px/1.8 Consolas,'Cascadia Code',monospace;tab-size:4;scrollbar-color:#526471 #161e25}.oc-field-grid .field small{display:block;color:#91a292;margin-top:4px;font-size:10px}.gpu-actions button:disabled{cursor:not-allowed}@media(max-width:760px){.detailed-gpus .panel-heading,.mining-log-panel .panel-heading{flex-direction:column;align-items:flex-start}.gpu-actions{gap:12px}.worker-flight-card{align-items:flex-start;flex-direction:column}.worker-flight-card .btn{width:100%}#live-mining-log{height:400px;font-size:11px}.oc-source{font-size:10px;padding:10px 12px}}
/* Clear measurement/configuration hierarchy and bounded console width. */
.content,.content:has(.hive-view){max-width:1280px;padding:24px 22px;margin:0 auto}.main-wrap:has(.hive-view){background:#22272b}.hive-view .page-heading{margin-bottom:14px}.worker-strip{margin-bottom:14px;gap:18px}.worker-tabs{gap:26px;margin-bottom:16px}.worker-tabs button{font-size:14px;padding:10px 0 12px}.hive-chart{min-height:110px;margin-bottom:20px;gap:18px}.hive-chart svg{max-height:115px}.chart-current{min-width:140px}.chart-current strong{font-size:22px}.hive-view .detailed-gpus table{min-width:940px;table-layout:fixed;width:100%}.hive-view .detailed-gpus th{font-size:10px;letter-spacing:0;padding:10px 8px}.hive-view .detailed-gpus td{padding:10px 8px;font-size:12px;white-space:normal}.detailed-gpus th:nth-child(1){width:20%}.detailed-gpus th:nth-child(2){width:10%}.detailed-gpus th:nth-child(3){width:9%}.detailed-gpus th:nth-child(4){width:10%}.detailed-gpus th:nth-child(5),.detailed-gpus th:nth-child(6){width:15%}.detailed-gpus th:nth-child(7){width:14%}.detailed-gpus th:last-child{width:7%}.hive-view .detailed-gpus .gpu-name{gap:6px;align-items:flex-start}.hive-view .detailed-gpus .gpu-index{width:32px;min-width:32px;font-size:10px;margin-top:3px}.hive-view .detailed-gpus .gpu-name strong{font-size:13px;overflow-wrap:anywhere}.hive-view .detailed-gpus .gpu-name small{font-size:10px;line-height:1.6}.detailed-gpus .table-sub{font-size:10px}.detailed-gpus .oc-live{display:flex;gap:5px;align-items:baseline;white-space:nowrap;line-height:1.5;margin-bottom:5px}.detailed-gpus .oc-live>span{color:#79cbe3;font-size:9px}.detailed-gpus .oc-live strong{color:#81e1ff;font-size:14px;font-weight:650;font-variant-numeric:tabular-nums}.detailed-gpus .oc-live strong small{font-size:9px;font-weight:400;color:#79b6c7}.detailed-gpus .oc-set{display:flex;gap:5px;align-items:baseline;font-size:10px;line-height:1.5;color:#d8a96f;white-space:nowrap}.detailed-gpus .oc-set>span{font-size:9px;background:#61482566;color:#f1bf7d;padding:0 3px;border-radius:3px}.detailed-gpus .oc-set b{font-size:11px;font-weight:500;color:#f2c68d;font-variant-numeric:tabular-nums}.power-readback{display:block;color:#8195a2;font-size:9px;margin-top:3px;white-space:nowrap}.oc-legend{display:inline-flex;gap:12px;flex-wrap:wrap;margin-left:8px}.oc-legend b{font-size:10px;font-weight:500}.legend-live{color:#81e1ff}.legend-set{color:#f2c68d}.oc-source{padding:10px 14px;font-size:10px}.detailed-gpus .panel-heading{padding:13px 14px}.detailed-gpus .gpu-actions{gap:12px}.detailed-gpus .gpu-actions .text-btn{font-size:11px}.detailed-gpus td:last-child .text-btn{font-size:11px;white-space:nowrap}.miner-system-grid{gap:16px;margin:18px 0}.hive-view .system-facts{padding:10px 16px}.hive-view .system-facts>div{padding:7px 0}
@media(min-width:761px){.sidebar{width:200px;padding:24px 12px 16px}.main-wrap{margin-left:200px}.topbar{height:62px;padding:0 24px}.content{padding-top:24px}.page-heading h1{font-size:27px}}
@media(max-width:760px){.content,.content:has(.hive-view){padding:18px 12px}.worker-tabs{gap:22px}.oc-legend{display:flex;margin:6px 0 0}.hive-view .detailed-gpus table{min-width:940px}.hive-chart{min-height:90px}.chart-current{margin-top:6px}.gpu-actions{gap:10px}.worker-strip{gap:8px 12px}.detailed-gpus .panel-heading{gap:10px}}
/* Left-aligned, intrinsic-width GPU panel; do not stretch rows across the page. */
.hive-view .detailed-gpus{width:100%;max-width:1010px;margin-right:auto}.hive-view .detailed-gpus table{width:100%;min-width:980px;table-layout:fixed}.hive-view .detailed-gpus th:nth-child(1){width:174px}.hive-view .detailed-gpus th:nth-child(2){width:85px}.hive-view .detailed-gpus th:nth-child(3){width:80px}.hive-view .detailed-gpus th:nth-child(4){width:72px}.hive-view .detailed-gpus th:nth-child(5){width:70px}.hive-view .detailed-gpus th:nth-child(6){width:85px}.hive-view .detailed-gpus th:nth-child(7){width:70px}.hive-view .detailed-gpus th:nth-child(8){width:85px}.hive-view .detailed-gpus th:nth-child(9){width:116px}.hive-view .detailed-gpus th:nth-child(10){width:65px}.hive-view .detailed-gpus td{padding:7px 6px;line-height:1.4;font-size:11px}.hive-view .detailed-gpus th{padding:7px 6px;line-height:1.4}.hive-view .detailed-gpus th small{display:block;color:#6f8290;font-size:9px}.hive-view .detailed-gpus .gpu-name{gap:4px;align-items:center}.hive-view .detailed-gpus .gpu-name strong{font-size:12px}.hive-view .detailed-gpus .gpu-name small{font-size:9px;white-space:nowrap}.hive-view .detailed-gpus .gpu-index{font-size:9px;min-width:30px;width:30px;margin:0}.hive-view .detailed-gpus .oc-live{margin:2px 0 0;gap:4px}.hive-view .detailed-gpus .oc-live strong{font-size:12px}.hive-view .detailed-gpus .oc-set{gap:4px;line-height:1.4}.hive-view .detailed-gpus .oc-set b{font-size:11px}.hive-view .detailed-gpus .table-sub{font-size:9px;margin-top:2px}.hive-view .detailed-gpus .panel-heading{padding:10px 12px}.hive-view .detailed-gpus .oc-source{padding:7px 12px;line-height:1.6}.hive-view .detailed-gpus .gpu-actions .btn{min-height:28px;padding:3px 8px}.hive-view .detailed-gpus .gpu-actions{gap:10px}.hive-view .detailed-gpus .power-readback{font-size:9px;margin-top:2px}.hive-view .detailed-gpus td:last-child .text-btn{font-size:10px}@media(max-width:760px){.hive-view .detailed-gpus table{min-width:980px}.hive-view .detailed-gpus{max-width:100%}}
/* Eight-GPU overview: prioritize telemetry within a laptop viewport. */
.content:has(.worker-detail){padding-top:12px;padding-bottom:10px}.worker-detail .back-link{margin-bottom:6px;font-size:10px}.worker-detail .page-heading{margin-bottom:5px;gap:10px}.worker-detail .page-heading .eyebrow{display:none}.worker-detail .page-heading h1{font-size:21px;line-height:1.2;margin-bottom:3px}.worker-detail .page-heading p{font-size:10px}.worker-detail .worker-strip{font-size:10px;margin:5px 0 7px;gap:16px}.worker-detail .worker-tabs{margin-bottom:9px;gap:24px}.worker-detail .worker-tabs button{font-size:12px;padding:6px 0 8px}.worker-detail .hive-chart{min-height:54px;margin-bottom:10px;gap:12px}.worker-detail .hive-chart svg{height:48px;max-height:48px}.worker-detail .hive-chart .chart-range{font-size:8px;line-height:1.2}.worker-detail .hive-chart .empty{padding:8px 0;flex:1;text-align:left}.worker-detail .hive-chart .empty-icon{display:none}.worker-detail .hive-chart .empty h3{font-size:11px}.worker-detail .hive-chart .empty p{font-size:9px;margin:2px 0}.worker-detail .chart-current strong{font-size:18px}.worker-detail .chart-current span{font-size:9px}.worker-detail .chart-current{min-width:120px}.hive-view .detailed-gpus{max-width:1040px}.hive-view .detailed-gpus table{min-width:1010px}.hive-view .detailed-gpus th:nth-child(1){width:157px}.hive-view .detailed-gpus th:nth-child(2){width:76px}.hive-view .detailed-gpus th:nth-child(3){width:110px}.hive-view .detailed-gpus th:nth-child(4){width:110px}.hive-view .detailed-gpus th:nth-child(5){width:66px}.hive-view .detailed-gpus th:nth-child(6){width:80px}.hive-view .detailed-gpus th:nth-child(7){width:66px}.hive-view .detailed-gpus th:nth-child(8){width:80px}.hive-view .detailed-gpus th:nth-child(9){width:106px}.hive-view .detailed-gpus th:nth-child(10){width:62px}.hive-view .detailed-gpus td{padding:4px 5px;line-height:1.25;height:43px}.hive-view .detailed-gpus th{padding:5px;line-height:1.15}.hive-view .detailed-gpus th small{display:inline;font-size:8px;margin-left:3px}.hive-view .detailed-gpus .gpu-name small{line-height:1.3}.hive-view .detailed-gpus .panel-heading{padding:7px 10px}.hive-view .detailed-gpus .panel-heading h2{font-size:12px}.hive-view .detailed-gpus .oc-source{padding:4px 10px;font-size:9px;line-height:1.3}.hive-view .detailed-gpus .oc-set,.hive-view .detailed-gpus .oc-live{line-height:1.2}.hive-view .detailed-gpus .power-readback{line-height:1.1;margin-top:1px;font-size:8px}.hive-view .detailed-gpus .table-sub{margin:1px 0 0;line-height:1.1;font-size:8px}.gpu-spark-reading{display:flex;align-items:center;gap:6px;white-space:nowrap}.gpu-spark-reading>span:not(.spark-pending){font-size:12px;color:#cbd5de;font-variant-numeric:tabular-nums}.gpu-spark{width:62px;height:24px;flex:0 0 62px;display:block}.spark-line{fill:none;stroke-width:1.35;vector-effect:non-scaling-stroke}.spark-temp .spark-line{stroke:#2ebaff}.spark-temp .spark-fill{fill:#38a7ff33}.spark-fan .spark-line{stroke:#958aff}.spark-fan .spark-fill{fill:#8276ee33}.spark-pending{width:62px;flex:0 0 62px;height:24px;display:grid;place-items:center;background:#253039;color:#708391;font-size:8px}.worker-fold{max-width:1040px;margin-top:7px;border-bottom:1px solid #36414a;color:#8d9ba7}.worker-fold>summary{cursor:pointer;font-size:10px;padding:4px 0}.worker-fold .miner-system-grid,.worker-fold .batch-history{margin:8px 0}.worker-detail>.live-refresh{margin:7px 0 0;font-size:9px}.main-wrap:has(.worker-detail)>.page-footer{padding-top:6px;padding-bottom:6px;font-size:9px}.temperature-hot .gpu-spark-reading>span:not(.spark-pending){color:#ff646b}@media(max-width:760px){.content:has(.worker-detail){padding:10px}.worker-detail .hive-chart{display:flex}.worker-detail .worker-strip{gap:4px 10px}.worker-detail .chart-current{min-width:100px}.worker-detail .worker-tabs{gap:18px}.worker-detail .hive-chart .empty p{display:none}.hive-view .detailed-gpus .panel-heading{gap:6px}.hive-view .detailed-gpus .gpu-actions .text-btn{font-size:10px}}
.worker-detail .hive-chart svg{height:36px;max-height:36px}.worker-detail .hive-chart{min-height:44px;margin-bottom:7px}.hive-view .detailed-gpus td{height:40px;padding-top:2px;padding-bottom:2px}.gpu-spark{height:20px}.spark-pending{height:20px}.hive-view .detailed-gpus .fan-reading+.oc-set{line-height:1.1;margin-top:1px}.worker-detail .page-heading h1{font-size:20px}.worker-detail .hive-chart .chart-range{line-height:1}
.worker-detail .detailed-gpus .power-readback{display:none}.worker-detail .detailed-gpus .panel-heading{padding:5px 10px}.worker-detail .detailed-gpus .gpu-actions .btn{min-height:23px;padding:2px 7px;font-size:10px}.worker-detail .detailed-gpus .oc-live{margin-top:1px;margin-bottom:1px}.worker-detail .detailed-gpus td{height:38px}.worker-detail .live-refresh{line-height:1.3}.main-wrap:has(.worker-detail)>.topbar{height:52px;min-height:52px}.main-wrap:has(.worker-detail)>.page-footer{padding:4px 22px;line-height:1.3}.worker-detail .hive-chart .hash-chart svg{width:100%}
.current-flight,.selectable-flights{max-width:1040px;margin-bottom:14px}.current-flight .panel-heading,.selectable-flights .panel-heading{padding:12px 16px}.current-flight .panel-heading>.muted{font-size:10px}.current-flight-body{padding:14px 16px}.current-flight-title{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin-bottom:10px}.current-flight-title strong{font-size:15px;color:#e4eaf0}.current-flight-title>span{font-size:11px;color:#8ca0af}.current-flight-badge{display:inline-block;background:#65441f55;border:1px solid #8f69394d;color:#edb974;padding:1px 7px;border-radius:4px;font-size:11px;font-weight:500}.flight-facts{display:grid;grid-template-columns:1fr 1fr;margin:0;gap:0 20px}.flight-facts>div{display:flex;gap:12px;padding:8px 0;border-bottom:1px solid #39434b;min-width:0}.flight-facts .wide{grid-column:1/-1}.flight-facts dt{flex:0 0 82px;font-size:11px;color:#8799a8}.flight-facts dd{margin:0;min-width:0;overflow-wrap:anywhere;font-size:12px;color:#ced9e1}.flight-facts dd.address-value{color:#abd477;font-family:Consolas,monospace;font-size:13px}.flight-facts dd small{color:#8c9cab}.flight-facts code{font-size:11px}.pool-transport{color:#8799a8;font-size:9px;margin-left:12px;white-space:nowrap}.flight-pending{margin-top:12px;padding:9px 12px;border:1px solid #746139;background:#51422355;font-size:11px;color:#dfbe83}.selectable-flights .worker-flight-list{padding:12px;margin:0;gap:9px}.selectable-flights .worker-flight-card{padding:12px 14px}.selectable-flights .worker-flight-card strong{font-size:13px}.selectable-flights .worker-flight-card p{font-size:11px;margin:6px 0;color:#a6b4bf}.candidate-facts{margin:8px 0 0}.candidate-facts>div{display:flex;gap:10px;font-size:11px;margin:4px 0}.candidate-facts dt{color:#8396a5;flex:0 0 40px}.candidate-facts dd{margin:0;color:#b4c4cf;overflow-wrap:anywhere;min-width:0;font-family:Consolas,monospace}.empty-flight{font-size:12px;color:#879aa9;padding:20px}.selectable-flights .btn{font-size:11px;min-height:34px;padding:7px 12px}@media(max-width:760px){.current-flight .panel-heading{align-items:flex-start;flex-direction:column;gap:7px}.flight-facts{grid-template-columns:1fr}.flight-facts dt{flex-basis:67px}.flight-facts dd.address-value{font-size:11px}.pool-transport{display:block;margin:4px 0 0}.current-flight-title{gap:6px}.current-flight-body{padding:12px}.selectable-flights .worker-flight-card{gap:10px}.candidate-facts{max-width:100%}}
/* Command feedback mode and temporary interactive terminal. */
.command-panel,.command-history{max-width:1100px}.command-panel #worker-command-form{padding:12px 16px}.command-panel textarea{font:13px/1.5 Consolas,monospace;min-height:76px;resize:vertical}.command-submit{display:flex;align-items:center;justify-content:space-between;gap:12px}.command-submit .muted{font-size:12px}.command-empty{padding:16px}.command-result{border-top:1px solid var(--border,#343b43);padding:10px 16px}.command-result summary{display:flex;justify-content:space-between;gap:16px;cursor:pointer}.command-result summary code{white-space:pre-wrap;word-break:break-all;max-width:70%;font-size:13px}.command-result summary span{color:#8fa1b2;font-size:12px;flex-shrink:0}.command-result pre{background:#171b20;color:#cbd7df;padding:12px;max-height:300px;overflow:auto;white-space:pre-wrap;word-break:break-word;font:12px/1.55 Consolas,monospace}.interactive-terminal{height:380px;background:#171b20;padding:10px;margin:0 16px}.command-panel .form-error:empty{display:none}.command-panel>.form-error{padding:0 16px}.command-result .oc-source{padding-left:0}@media(max-width:700px){.command-submit,.command-result summary{align-items:flex-start;flex-direction:column}.command-result summary code{max-width:100%}.interactive-terminal{margin:0 8px;height:340px}.command-panel .panel-heading{flex-wrap:wrap;gap:8px}}
/* Farm-scoped HiveOS enrollment. */
.farm-enroll{margin:14px 0}.farm-enroll .btn{width:100%;justify-content:center}.enrollment-body{padding:4px 24px 20px}.enrollment-body>p{line-height:1.6}.enrollment-body textarea{min-height:125px;resize:vertical;font:12px/1.6 Consolas,monospace;overflow-wrap:anywhere;word-break:break-all}.enrollment-body #enrollment-status{font-size:12px;line-height:1.6}.enrollment-notes{border-top:1px solid #343d3a;margin-top:18px;padding-top:8px;color:#96a69e;font-size:12px;line-height:1.7}.enrollment-footer{flex-wrap:wrap}.enrollment-footer>.text-btn{margin-right:auto}@media(max-width:600px){.enrollment-body{padding:4px 16px 16px}.enrollment-body textarea{min-height:190px}.enrollment-footer{gap:8px}}
.worker-name-settings{max-width:720px;margin-bottom:16px}.worker-name-settings form{padding:0 20px 20px}.worker-name-settings .field{max-width:360px}.worker-name-settings form .muted{font-size:12px;line-height:1.65}.worker-name-settings .form-error:empty{display:none}
.fleet-machine-counts{display:flex;align-items:baseline;gap:22px;flex-wrap:wrap}.fleet-machine-counts .online-count{color:#a7d750}.fleet-machine-counts .offline-count{color:#9ca8b4}.fleet-machine-counts strong small{font-size:13px;font-weight:400}.fleet-sort-label{margin-left:auto;display:flex;align-items:center;gap:8px;color:#9ca8b4;font-size:12px}.fleet-sort-label select{width:auto;min-width:170px;padding:7px 10px}.status-tabs b{font-size:12px;margin-left:5px}.restart-targets{display:flex;flex-wrap:wrap;gap:8px;max-height:200px;overflow:auto}.restart-targets span{padding:5px 8px;background:#293039;border-radius:4px}.command-acknowledged{color:#b5d871}@media(max-width:700px){.fleet-sort-label{width:100%;margin-left:0}.fleet-machine-counts{gap:12px}.batch-bar{flex-wrap:wrap}}
.worker-restart-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}.worker-restart-actions .btn{padding:7px 11px;font-size:12px}@media(max-width:700px){.worker-restart-actions{justify-content:flex-start}.worker-detail .page-heading{flex-wrap:wrap;gap:10px}}

.temp-block.gpu-warning,.temp-legend i.gpu-warning{background:transparent;border:2px solid #ffd43b;color:#ffd43b;box-sizing:border-box;min-width:18px;min-height:18px}

.protection-options{border:0;padding:0;margin:16px 0}.protection-options[hidden]{display:none}.protection-check{display:flex;align-items:center;gap:10px;margin:12px 0}.protection-check input{width:18px;height:18px}.protection-step{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:12px;align-items:center;border-bottom:1px solid var(--border);padding:8px 0}.batch-bar{flex-wrap:wrap}@media(max-width:600px){.protection-step{grid-template-columns:1fr 1fr}.protection-step>.protection-check{grid-column:1/-1}}

.farm-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));align-items:stretch}.farm-card{min-width:0}.farm-online strong{color:#95ca68}.farm-offline strong{color:#93a0aa}.farm-hash-summary{border-top:1px solid var(--border);padding:16px 0;min-height:100px}.farm-hash-summary>small,.farm-power small{color:var(--muted)}.farm-hash-summary>div,.farm-power{display:flex;justify-content:space-between;gap:16px;margin-top:12px}.farm-hash-summary small,.card-note small{display:block}.farm-hash-summary strong{text-align:right}.farm-power{border-top:1px solid var(--border);padding-top:14px}.farm-enroll{display:flex;flex-wrap:wrap;gap:8px}.farm-card h2{overflow-wrap:anywhere}

.farm-card[data-open-farm]{cursor:pointer}.farm-card[data-open-farm]:hover{border-color:#91ba66}.farm-card[data-open-farm]:focus-visible{outline:2px solid #b9f77a;outline-offset:3px}

.worker-favorite{background:none;border:0;color:#87939a;cursor:pointer;font-size:23px;line-height:1;vertical-align:middle;padding:2px 7px 2px 0}.worker-favorite.is-favorite{color:#ffd43b}.worker-favorite:focus-visible{outline:2px solid #ffd43b;border-radius:3px}

.gpu-warning-row td{border-top:1px solid #ffd43b!important;border-bottom:1px solid #ffd43b!important}.gpu-warning-row td:first-child{border-left:2px solid #ffd43b}.gpu-warning-row td:last-child{border-right:2px solid #ffd43b}.gpu-warning-index{color:#ffd43b!important}.gpu-warning-icon{display:inline-flex;border:1px solid #ffd43b;color:#ffd43b;width:17px;height:17px;align-items:center;justify-content:center;flex-shrink:0}

.gpu-summary-counts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:14px 0}.gpu-summary-counts>span{display:flex;flex-direction:column;gap:5px}.gpu-summary-counts strong{font-size:24px;font-weight:600}.gpu-summary-counts small{font-size:11px;color:var(--muted)}.gpu-count-online strong{color:#95ca68}.gpu-count-fault strong{color:#ffd43b}.fleet-summary .gpu-summary-counts{padding:0 0 8px}.fleet-summary .gpu-summary-counts strong{font-size:24px}.fleet-summary .gpu-summary-counts small{font-size:11px}

.overview-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.overview-hash-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0}.overview-hash-row small{display:block;color:var(--muted);font-size:11px}.overview-hash-row strong{font-size:20px;white-space:nowrap}.overview-hash-card .metric-bottom{margin-top:16px}@media(max-width:1000px){.overview-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:480px){.overview-metrics{grid-template-columns:1fr}.farm-list-item .list-stats{white-space:normal}}

/* Compact farm management cards: three columns on desktop. */
.farm-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.farm-grid .farm-card{padding:18px}
.farm-grid .farm-card .card-top{margin-bottom:12px}
.farm-grid .farm-card h2{font-size:18px;margin:0 0 10px}
.farm-grid .farm-numbers{padding:12px 0;margin:0}
.farm-grid .farm-numbers strong,.farm-grid .gpu-summary-counts strong{font-size:22px}
.farm-grid .gpu-summary-counts{padding:12px 0;gap:8px}
.farm-grid .farm-hash-summary{padding:12px 0;min-height:80px}
.farm-grid .farm-hash-summary>div{margin-top:8px;gap:8px}
.farm-grid .farm-power{padding-top:12px;margin-top:0;gap:8px}
.farm-grid .card-note{min-height:0;margin:12px 0}
.farm-grid .farm-enroll{margin-top:12px}
.farm-grid .farm-enroll .btn{padding:8px 10px;min-height:34px;font-size:12px}
.farm-grid .card-footer{margin-top:12px;padding-top:12px}
@media(max-width:1100px){.farm-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.farm-grid{grid-template-columns:1fr}}

/* Dense farm cards: about two and a half rows in a 900px viewport. */
.farm-grid{gap:10px}
.farm-grid .farm-card{padding:12px;position:relative}
.farm-grid .card-top{position:absolute;right:12px;top:12px;margin:0!important}
.farm-grid .card-top .card-icon{display:none}
.farm-grid .card-top .tag{max-width:105px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}
.farm-grid .farm-card h2{font-size:16px;line-height:22px;margin:0 110px 5px 0}
.farm-grid .farm-numbers{padding:6px 0;gap:6px}
.farm-grid .farm-numbers span{font-size:10px}
.farm-grid .farm-numbers strong,.farm-grid .gpu-summary-counts strong{font-size:18px;line-height:21px;margin:0}
.farm-grid .gpu-summary-counts{padding:6px 0;gap:6px}
.farm-grid .gpu-summary-counts>span{gap:1px}
.farm-grid .gpu-summary-counts small{font-size:10px}
.farm-grid .farm-hash-summary{padding:6px 0;min-height:0}
.farm-grid .farm-hash-summary>small{font-size:10px}
.farm-grid .farm-hash-summary>div{margin-top:3px;align-items:center;font-size:12px;line-height:17px}
.farm-grid .farm-hash-summary>div>span small{display:inline;margin-left:6px;font-size:10px}
.farm-grid .farm-hash-summary p{margin:3px 0;font-size:11px}
.farm-grid .farm-power{padding-top:5px;margin-top:0;font-size:12px;line-height:18px}
.farm-grid .farm-power small{font-size:10px}
.farm-grid .card-note{display:none}
.farm-grid .farm-enroll{margin-top:7px;gap:5px;align-items:center}
.farm-grid .farm-enroll .btn{width:auto;min-height:26px;padding:3px 8px;font-size:10px}
.farm-grid .farm-enroll .text-btn{font-size:10px}
.farm-grid .card-footer{margin-top:5px;padding-top:5px;min-height:25px}
.farm-grid .card-footer .text-btn{font-size:10px}
.farm-grid .card-footer .icon-btn{width:25px;height:25px;padding:4px}

.farm-grid .farm-card{padding:10px}
.farm-grid .farm-hash-summary>small{display:none}
.farm-grid .farm-enroll{margin-bottom:0}
.farm-grid .card-footer{margin-top:3px;padding-top:0}
.content:has(.farm-grid){padding-top:18px}
.content:has(.farm-grid) .page-heading{margin-bottom:12px}
.content:has(.farm-grid) .page-heading p{margin-top:4px}
.content:has(.farm-grid) .toolbar{margin-bottom:12px}

.content:has(.farm-grid) .page-heading .eyebrow,.content:has(.farm-grid) .page-heading p{display:none}.content:has(.farm-grid) .page-heading h1{margin:0;font-size:25px}.content:has(.farm-grid) .page-heading{min-height:44px}


.farm-favorite{border:0;background:none;color:#87939a;cursor:pointer;font-size:20px;line-height:20px;padding:0 5px 0 0;vertical-align:middle}.farm-favorite.is-favorite{color:#ffd43b}.farm-favorite:focus-visible{outline:2px solid #ffd43b;border-radius:3px}

.pci-switch{display:inline-flex;align-items:center;flex-shrink:0;width:32px;height:18px;border:1px solid #67766e;border-radius:12px;padding:2px;background:#35443d;cursor:pointer}.pci-switch>span{display:block;width:12px;height:12px;border-radius:50%;background:#c3d0c7;transition:transform .15s}.pci-switch.is-disabled{background:#b77c21;border-color:#ffd43b}.pci-switch.is-disabled>span{transform:translateX(13px);background:#fff}.pci-switch:disabled{opacity:.45;cursor:wait}.pci-switch:focus-visible{outline:2px solid #b9f77a;outline-offset:2px}.pci-disabled-label{color:#d4b26b!important;font-size:10px}.temp-block.gpu-disabled{background:#51565b;color:#c9ced3;border:1px solid #7d858c}.gpu-disabled-row{opacity:.75}
.flight-copy-value{display:inline-flex;align-items:center;gap:5px;max-width:100%;vertical-align:middle}.flight-copy-value>span{min-width:0;overflow-wrap:anywhere;white-space:pre-wrap}.flight-value-copy{display:inline-flex!important;flex:0 0 24px;width:24px!important;height:24px!important;padding:4px!important;opacity:.65;vertical-align:middle}.flight-value-copy:hover,.flight-value-copy:focus-visible{opacity:1;color:var(--accent)}.flight-value-copy svg{width:14px;height:14px}.flight-route strong:has(.flight-copy-value){white-space:normal;overflow:visible}#flight-copy-fallback{width:100%}
.ai-entry{display:flex;align-items:center;justify-content:space-between;padding:18px 22px;margin-bottom:18px}.ai-entry h2{margin:0 0 6px}.ai-entry p{margin:0}.ai-toolbar{display:flex;gap:12px;align-items:end;flex-wrap:wrap;padding:16px}.ai-toolbar label{display:grid;gap:6px;min-width:180px}.ai-toolbar select{max-width:280px}.ai-messages{height:480px;overflow:auto;padding:20px;background:#182024}.ai-message{margin-bottom:18px;padding:14px 16px;max-width:95%;border-radius:9px;background:#293437}.ai-message.user{margin-left:12%;background:#30412b}.ai-message strong{display:block;margin-bottom:8px}.ai-message strong small{margin-left:8px;color:#93a098;font-weight:400}.ai-message>div{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8}.ai-message details p{font-size:12px}.ai-composer{padding:16px}.ai-composer textarea{width:100%;resize:vertical}.ai-composer>div{display:flex;align-items:center;gap:12px;margin-top:10px}.ai-composer>div>span{margin-right:auto}.ai-console>.worker-fold{padding:0 18px}.ai-console .oc-source{padding:10px 18px}@media(max-width:700px){.ai-entry,.ai-composer>div{flex-wrap:wrap;gap:12px}.ai-messages{height:400px}}
.ai-composer [hidden]{display:none!important}

/* Conversational operations workspace */
.ai-console{max-width:1280px;margin-inline:auto;display:flex;flex-direction:column;height:calc(100dvh - 200px);min-height:520px;padding:18px 22px;gap:10px}
.ai-console .panel-heading{margin-bottom:0}.ai-toolbar{gap:10px;padding:0}.ai-toolbar label{font-size:12px}.ai-toolbar select{max-width:280px;height:36px}
.ai-console #ai-info{font-size:11px;margin:0;padding:5px 0;opacity:.8}.ai-messages{flex:1;min-height:180px;height:auto;padding:16px 8px;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;background:var(--bg)}
.ai-message{max-width:94%;padding:13px 17px;margin:0 0 16px;border-radius:12px}.ai-message.user{margin-left:auto;max-width:82%;background:rgba(80,136,213,.13);border:1px solid rgba(80,136,213,.22)}.ai-message.assistant{margin-right:auto;background:transparent;border:0;padding-left:8px}.ai-message>strong{display:flex;align-items:center;gap:14px;margin-bottom:9px;font-size:12px}.ai-message>strong small{font-weight:400;opacity:.65}.ai-reply{white-space:normal;line-height:1.7;font-size:14px;overflow-wrap:anywhere}.ai-reply p{margin:4px 0}.ai-reply h4{font-size:15px;margin:12px 0 6px}.ai-reply code{background:rgba(128,144,166,.14);padding:2px 5px;border-radius:4px}.ai-reply pre,.ai-action-card pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.55;background:rgba(0,0,0,.2);padding:10px;border-radius:6px;max-height:260px;overflow:auto}.ai-reply pre code{padding:0;background:none}.ai-gap{height:6px}.ai-bullet{padding-left:12px}.ai-message>small{display:block;margin-top:12px;font-size:10px;opacity:.5}.ai-message details{font-size:12px;margin:8px 0}.ai-message details p{margin:3px 0}
.ai-composer{margin:0;border:1px solid var(--border);border-radius:10px;padding:8px 12px;background:rgba(128,144,166,.04)}.ai-composer textarea{min-height:56px;max-height:160px;resize:vertical;border:0;background:transparent;padding:5px;width:100%;font-size:14px}.ai-composer>div{padding-top:6px}.ai-composer .muted{font-size:11px}.ai-composer .form-error:empty{display:none}.ai-console>.worker-fold{margin:0;font-size:11px}.ai-console>.worker-fold[open]{max-height:110px;overflow:auto}
.ai-action-card{margin:14px 0;padding:14px;border:1px solid rgba(230,171,63,.45);border-radius:8px;background:rgba(230,171,63,.04);max-width:820px}.ai-action-head{display:flex;justify-content:space-between;gap:15px;font-size:13px}.ai-action-head span{color:#d8ae59;font-size:12px}.ai-action-card p{font-size:12px;margin:8px 0}.ai-action-notice{color:#d8ae59;line-height:1.6}.ai-action-buttons{display:flex;align-items:center;gap:8px;margin-top:12px}
@media(max-width:750px){.ai-console{height:auto;min-height:650px;padding:12px}.ai-messages{height:48dvh;flex:auto}.ai-toolbar{flex-wrap:wrap}.ai-message{max-width:100%}.ai-composer>div{flex-wrap:wrap}.ai-composer .muted{flex-basis:100%}}

.ai-message>.ai-reply{white-space:normal}
/* Taller, narrower AI conversation layout */
.content:has(.ai-console){padding-top:12px;padding-bottom:12px}
.content:has(.ai-console)>.page-heading{max-width:960px;margin:0 auto 12px}
.content:has(.ai-console)>.page-heading .eyebrow{display:none}
.content:has(.ai-console)>.page-heading h1{font-size:22px;margin-bottom:3px}
.content:has(.ai-console)>.page-heading p{font-size:12px;margin:0}
.ai-console{width:100%;max-width:960px;height:calc(100dvh - 154px);min-height:540px;padding:12px 16px;gap:8px;box-sizing:border-box}
.ai-console .panel-heading{padding:6px 0 10px;min-height:0}
.ai-console .panel-heading h2{font-size:14px}
.ai-console .panel-heading>span{font-size:11px}
.ai-console .ai-toolbar{padding:0;gap:8px}
.ai-console .ai-toolbar label{min-width:150px;flex:1}
.ai-console .ai-toolbar select{width:100%;max-width:none}
.ai-console .ai-toolbar .btn{min-height:34px;padding:6px 10px;font-size:12px}
.ai-console .ai-messages{padding:10px 4px;min-height:240px}
.ai-console .ai-composer{padding:6px 10px;flex-shrink:0}
.ai-console .ai-composer textarea{min-height:44px}
.ai-console .ai-composer>div{margin-top:2px;padding-top:2px}
.ai-console .ai-composer .btn{min-height:34px;padding:6px 12px}
.main-wrap:has(.ai-console)>.page-footer{display:none}
@media(max-width:760px){.ai-console{height:calc(100dvh - 150px);min-height:560px;padding:10px}.ai-console .ai-messages{height:auto;min-height:220px;flex:1}.ai-console .ai-toolbar label{min-width:120px}.content:has(.ai-console)>.page-heading p{display:none}}

/* AI conversation: viewport-bound layout and scoped message typography */
.main-wrap:has(.ai-console){height:100dvh;display:flex;flex-direction:column;overflow:hidden}
.main-wrap:has(.ai-console)>.topbar{flex-shrink:0}
.content:has(.ai-console){display:flex;flex-direction:column;flex:1;min-height:0;padding:14px 24px;overflow:hidden}
.content:has(.ai-console)>.page-heading{display:none}
.ai-console{flex:1;height:auto;min-height:0;max-width:960px;margin:0 auto;padding:14px 18px;gap:12px;overflow:hidden;border-radius:14px}
.ai-console>.panel-heading{flex-shrink:0;padding:0 0 10px;margin:0;align-items:center}
.ai-console>.panel-heading h2{font-size:16px}.ai-console #ai-balance{font-size:11px;color:#9daf9f;background:#263226;border-radius:20px;padding:4px 10px}
.ai-console .ai-toolbar{flex-shrink:0;align-items:center;gap:8px}
.ai-console .ai-toolbar label{display:flex;align-items:center;gap:8px;font-size:11px;white-space:nowrap;min-width:0}
.ai-console .ai-toolbar select{flex:1;min-width:0;height:34px;padding:5px 28px 5px 10px;font-size:12px;line-height:normal}
.ai-console .ai-toolbar .btn{font-size:11px;white-space:nowrap}
.ai-console .ai-messages{flex:1;min-height:0;height:auto;padding:18px 12px;background:#111714;border:1px solid #263129;border-radius:10px;scrollbar-width:thin;scrollbar-color:#47574b transparent}
.ai-messages::-webkit-scrollbar{width:6px}.ai-messages::-webkit-scrollbar-thumb{background:#47574b;border-radius:6px}.ai-messages::-webkit-scrollbar-button{display:none}
.ai-console .ai-message{max-width:100%;margin-bottom:20px}.ai-console .ai-message.user{max-width:85%;padding:10px 14px;background:#243422;border-color:#364a2f}.ai-console .ai-message.assistant{padding:0 2px}
.ai-message strong{display:inline;margin:0}.ai-message>strong{display:flex;margin:0 0 8px;font-size:12px;color:#b7c8b5}.ai-message>strong small{font-size:10px;font-weight:400;margin:0}
.ai-message>.ai-reply{font-size:14px;line-height:1.75;color:#d3dbd5;white-space:normal}.ai-reply p{margin:6px 0}.ai-reply b{font-weight:600;color:#edf3ec}.ai-reply hr{border:0;border-top:1px solid #2a352d;margin:16px 0}.ai-reply .ai-bullet{padding-left:14px;text-indent:-10px;margin:4px 0}.ai-message .ai-usage{font-size:10px;color:#7e9184;margin:10px 0 0}.ai-usage summary{cursor:pointer}
.ai-console .ai-composer{flex-shrink:0;border:1px solid #39493b;border-radius:12px;padding:8px 10px;background:#1b241f}.ai-console .ai-composer:focus-within{border-color:#789a57;box-shadow:0 0 0 2px #a5dc6610}
.ai-console .ai-composer .ai-compose-row{display:flex;align-items:flex-end;gap:10px;margin:0;padding:0;flex-wrap:nowrap}.ai-console .ai-composer textarea{flex:1;min-width:0;height:40px;min-height:40px;max-height:112px;padding:9px 6px;line-height:22px;resize:none;box-shadow:none;outline:none;border:0;font-size:13px}
.ai-console .ai-composer #ai-send{flex-shrink:0;height:36px;min-width:66px;margin-bottom:2px;font-size:12px}
.ai-console .ai-composer .ai-compose-footer{display:flex;align-items:center;min-height:20px;margin:3px 0 0;padding:0;gap:8px;flex-wrap:nowrap}.ai-compose-footer .muted{font-size:10px!important;flex-basis:auto!important;color:#819386}.ai-console .ai-compose-footer [data-ai-stop]{min-height:22px;padding:2px 7px;font-size:10px;margin-left:auto}
.ai-console>.ai-account-info{flex-shrink:0;padding:0 2px;font-size:10px;color:#829488;max-height:96px;overflow:auto}.ai-account-info summary{cursor:pointer}.ai-console #ai-info{padding:6px 0;line-height:1.6}
.ai-action-card{padding:12px;margin:12px 0;border-color:#6a5b33}.ai-action-card strong{display:inline;margin:0}.ai-action-head b{font-size:13px}.ai-action-card .btn{font-size:12px;min-height:30px;padding:5px 10px}.ai-action-buttons{flex-wrap:wrap}
@media(max-width:760px){.content:has(.ai-console){padding:8px}.ai-console{min-height:0;height:auto;padding:10px;gap:8px}.ai-console .ai-toolbar{display:grid;grid-template-columns:1fr 1fr;gap:6px}.ai-console .ai-toolbar label{display:grid;gap:4px}.ai-console .ai-toolbar select{width:100%}.ai-console .ai-messages{min-height:0;height:auto;padding:12px 8px}.ai-console #ai-balance{font-size:10px;padding:3px 7px}.ai-console .panel-heading h2{font-size:14px}.ai-compose-footer .muted{font-size:9px!important}}

.ai-console .ai-budget-label{display:flex;align-items:center;gap:4px;margin-left:auto;font-size:10px;color:#9db09e;white-space:nowrap}.ai-console #ai-budget{width:66px;min-height:24px;height:24px;padding:2px 4px;font-size:11px}.ai-console .ai-compose-footer{flex-wrap:wrap!important}

/* 矿鸭品牌 */
.kya-logo{width:40px;height:40px;flex:none;display:block}.kya-wordmark{display:flex;flex-direction:column;gap:3px;line-height:1.1;font-size:24px;letter-spacing:2px}.kya-wordmark small{font-size:9px;letter-spacing:2px;color:#94a78e;font-weight:500}.auth-story .kya-logo{width:46px;height:46px}
@media(max-width:760px){.auth-top:before{content:'矿鸭';padding-left:42px;background:url('/favicon.svg?v=20261010-kya') left center/34px 34px no-repeat;line-height:36px;letter-spacing:2px}}

.account-time-badge{font-size:12px;color:var(--green);white-space:nowrap}@media(max-width:760px){.account-time-badge{font-size:10px}.topbar .breadcrumb{display:none}}

.connection-guide{margin-top:24px;padding:24px}.connection-guide .panel-heading{padding:0 0 20px}.connection-guide .panel-heading p{margin:5px 0 0;font-size:12px}.connection-guide-steps{list-style:none;display:grid;grid-template-columns:1fr 1fr;gap:24px 32px;margin:0;padding:0}.connection-guide-steps li{display:flex;gap:14px;align-items:flex-start}.guide-number{flex:none;display:grid;place-items:center;width:34px;height:34px;border:1px solid #405137;border-radius:10px;background:#243320;color:var(--green);font:600 12px monospace}.connection-guide h3{font-size:14px;margin:3px 0 8px}.connection-guide p{font-size:12px;line-height:1.9;margin:6px 0;color:#a9b5ad}.connection-guide .text-btn{font-size:12px;margin-top:6px}.connection-guide-note{margin-top:24px;padding:15px 18px;background:#151d17;border-radius:8px;border:1px solid var(--border)}.connection-guide-note strong{font-size:13px}.connection-guide details{margin-top:18px;font-size:12px}.connection-guide summary{cursor:pointer;color:var(--green)}.connection-guide .guide-secret{font-size:11px;margin-top:14px;color:var(--muted)}@media(max-width:760px){.connection-guide{padding:18px}.connection-guide-steps{grid-template-columns:1fr;gap:22px}.connection-guide .panel-heading{align-items:flex-start}.connection-guide .panel-heading .tag{display:none}}

.sidebar{overflow-y:auto;overscroll-behavior:contain}.sidebar>*{flex-shrink:0}.topbar-logout{white-space:nowrap;flex-shrink:0;color:var(--muted)}@media(max-width:760px){.topbar-logout span{display:none}.topbar-logout{min-width:32px;min-height:36px;justify-content:center}}

/* 超频编辑：单列参数，保持 HiveOS 的填写顺序 */
.oc-field-grid{display:flex;flex-direction:column;gap:12px;margin:16px 0}.oc-field-grid .oc-editor-field{position:relative;display:block;margin:0;padding:10px 14px 6px;background:#20272d;border:1px solid #364149;border-radius:4px}.oc-editor-label{display:block;color:#c1ced8;font-size:12px;line-height:1.6}.oc-editor-english{margin-left:8px;color:#8195a6;font-size:11px}.oc-field-grid .oc-editor-field input{width:100%;margin:4px 0 0;padding:3px 0 5px;background:transparent;border:0;border-radius:0;box-shadow:none;color:#edf2f7;font:16px/1.5 Consolas,monospace}.oc-field-grid .oc-editor-field:focus-within{border-color:#a8ce7e;box-shadow:0 0 0 1px #a8ce7e30}.oc-field-grid .oc-editor-field input::placeholder{font:12px/1.5 var(--font);color:#657986}.oc-field-grid .oc-editor-field .oc-editor-current{margin:2px 0 0;color:#dfa869;font-size:11px}.modal:has(#gpu-edit-form),.modal:has(#oc-template-form){width:min(680px,100%)}@media(max-width:760px){.oc-editor-english{font-size:10px;margin-left:5px}.oc-field-grid{gap:10px}}

/* Native dropdown popups must use the same dark palette as the control. */
select{color-scheme:dark;background-color:#20272d;color:#e3eaf0}select option,select optgroup{background-color:#20272d;color:#e3eaf0}select option:checked{background-color:#344936;color:#d7f7b5}select option:disabled{color:#87958f}

/* GPU detail editor: fixed actions and independently scrolling parameter list. */
.modal:has(#gpu-edit-form){display:flex;flex-direction:column;width:min(620px,100%);max-height:calc(100dvh - 32px);padding:0;overflow:hidden}
.modal:has(#gpu-edit-form)>.modal-heading{flex:none;margin:0;padding:18px 22px;border-bottom:1px solid var(--border)}
#gpu-edit-form{display:flex;flex-direction:column;min-height:0;overflow:hidden}
#gpu-edit-form>.form-body{overflow-y:auto;min-height:0;padding:16px 22px;scrollbar-gutter:stable}
#gpu-edit-form>.modal-footer{flex:none;margin:0;padding:14px 22px;border-top:1px solid var(--border);background:#191e1c;display:flex;justify-content:flex-end;gap:12px}
#gpu-edit-form .oc-field-grid{gap:10px;margin:14px 0 0}
#gpu-edit-form .oc-editor-field{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:0 12px;padding:9px 12px 6px}
#gpu-edit-form .oc-editor-label{grid-column:1;line-height:1.5}
#gpu-edit-form .oc-editor-english{display:block;margin:0;font-size:10px}
#gpu-edit-form .oc-editor-field .oc-editor-current{grid-column:2;grid-row:1;margin:0;text-align:right;font-size:11px;max-width:140px}
#gpu-edit-form .oc-editor-field input{grid-column:1/-1;margin-top:4px;padding:2px 0 3px;min-height:28px}
@media(max-width:760px){.modal:has(#gpu-edit-form){max-height:calc(100dvh - 24px)}.modal:has(#gpu-edit-form)>.modal-heading{padding:14px 16px}.modal:has(#gpu-edit-form) h2{font-size:18px}#gpu-edit-form>.form-body{padding:12px 16px}#gpu-edit-form>.modal-footer{padding:12px 16px}#gpu-edit-form .oc-editor-current{max-width:110px}}

/* Compact GPU editor */
.modal:has(#gpu-edit-form)>.modal-heading{padding:12px 18px}
#gpu-edit-form>.form-body{padding:10px 18px}
#gpu-edit-form>.form-body>.muted{margin-top:5px;line-height:1.5}
#gpu-edit-form .oc-field-grid{gap:6px;margin-top:10px}
#gpu-edit-form .oc-editor-field{padding:6px 10px 3px}
#gpu-edit-form .oc-editor-label{font-size:12px;line-height:1.4}
#gpu-edit-form .oc-editor-english{display:inline;margin-left:6px;font-size:10px}
#gpu-edit-form .oc-editor-field input{margin-top:2px;padding:1px 0 2px;min-height:24px;font-size:15px;line-height:1.4}
#gpu-edit-form>.modal-footer{padding:10px 18px}
#gpu-edit-form>.modal-footer .btn{min-height:34px;padding:6px 14px}
@media(max-width:480px){#gpu-edit-form .oc-editor-english{display:none}#gpu-edit-form .oc-editor-field .oc-editor-current{font-size:10px}.modal:has(#gpu-edit-form)>.modal-heading{padding:12px 14px}#gpu-edit-form>.form-body{padding:10px 14px}}

.auth-ai-accent{color:var(--green)}.auth-ai-features{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.auth-ai-features span{padding:5px 10px;border:1px solid #4a603c;border-radius:6px;color:#c0d4af;font-size:11px;background:#26362080}.auth-story:has(.auth-ai-features) .rack-visual{height:240px;margin-top:12px}.auth-story:has(.auth-ai-features) h1{font-size:clamp(32px,3.2vw,48px);line-height:1.35}

.auth-mobile-promise{display:none}@media(max-width:760px){.auth-mobile-promise{display:block;color:var(--green);font-size:16px;line-height:1.7;margin-bottom:24px}}

/* KYAMINER console visual system: graphite, cyan telemetry, lime actions. */
body:has(.shell){--bg:#0b1018;--panel:#121c28;--panel-hover:#182636;--border:#26374a;--muted:#91a4b8;--text:#e6edf5;--green:#b9f476;--dark-green:#233729;background:#0b1018}
.shell{background:radial-gradient(ellipse at 80% 0%,#12304740,transparent 48%),#0b1018}
.shell .sidebar{background:#0d1520;border-right:1px solid #233448;padding-top:22px;scrollbar-width:thin;scrollbar-color:#31455a transparent}
.shell .brand{padding-bottom:20px;border-bottom:1px solid #233448}.shell .kya-wordmark small{color:#7294af}
.shell .workspace{background:#111f2c;border-color:#273e50;border-radius:8px}.shell .workspace-label,.shell .nav-caption{color:#6e8aa3;font-size:10px;letter-spacing:1.2px}.shell .workspace small{color:#8da2b6}.shell .avatar{background:#203627;color:#c7f69f;border:1px solid #3b5340}
.shell .nav-item{border-radius:6px;color:#98aec2;position:relative;transition:background .15s,color .15s}.shell .nav-item:hover{background:#182737;color:#eef7ff}.shell .nav-item.active{background:linear-gradient(90deg,#25433480,#1b303540);color:#c9f7a3}.shell .nav-item.active:before{content:'';position:absolute;left:0;top:11px;bottom:11px;width:3px;border-radius:4px;background:#b9f476;box-shadow:0 0 12px #b9f47640}.shell .nav-count{background:#1b2d3c;color:#91b7d0}.shell .sidebar-bottom{border-color:#233448}.shell .version-note{color:#6e879e}
.shell .topbar{background:#0d1621ed;border-bottom:1px solid #26374a;backdrop-filter:blur(12px)}.shell .breadcrumb{color:#718ba4}.shell .breadcrumb>span{color:#dce8f3}.shell .status-pill{background:#112530;color:#86cddd;border:1px solid #254c5a;font-size:10px}.shell .topbar-divider{background:#26374a}.shell .account-time-badge{color:#bddca8}
.shell .page-heading{padding-bottom:18px;border-bottom:1px solid #223448;margin-bottom:22px}.shell .page-heading h1{font-size:27px;letter-spacing:.3px;color:#eff6ff}.shell .page-heading p{color:#8ea5ba;font-size:12px}.shell .eyebrow{color:#65becf;font-size:9px;letter-spacing:2px;margin-bottom:6px}.shell .page-footer{border-color:#233448;color:#66839b}
.shell .panel,.shell .metric-card,.shell .farm-card,.shell .flight-card{background:linear-gradient(135deg,#152231,#111b28);border:1px solid #283b4e;border-radius:9px;box-shadow:0 5px 20px #02060e20}.shell .panel-heading{border-color:#25384b}.shell h2{color:#e0ecf7}.shell .muted{color:#91a4b8}.shell .info-line,.shell .bottom-notice{background:#102331;border-color:#244454;color:#9fbdcd}
.shell .metric-card{position:relative;overflow:hidden}.shell .metric-card:before{content:'';position:absolute;left:18px;right:18px;top:0;height:1px;background:linear-gradient(90deg,#6ad2e3,transparent)}.shell .metric-card>strong{font-variant-numeric:tabular-nums;letter-spacing:-1px;color:#edf6ff}.shell .metric-top{color:#9bb0c3}.shell .metric-top .icon{color:#71b9ca}.shell .metric-bottom{border-color:#26394a;color:#839bb1}.shell .metric-card:hover{border-color:#45667c}.shell .overview-hash-row{border-color:#26394a}.shell .overview-hash-row strong{color:#96dfeb}
.shell .ai-entry{position:relative;border:1px solid #376151;background:radial-gradient(ellipse at 90% 10%,#304b3260,transparent 55%),linear-gradient(110deg,#162b2c,#12212d);padding:20px 22px;gap:20px}.ai-entry-intro{display:flex;align-items:center;gap:16px;min-width:0}.ai-entry-duck{width:54px;height:54px;flex:none;border-radius:14px;box-shadow:0 0 30px #b9f47612}.ai-entry-kicker{display:block;color:#8fb59c;font-size:9px;letter-spacing:2px;margin-bottom:5px}.shell .ai-entry h2{font-size:18px;color:#e0f5d9}.shell .ai-entry p{font-size:12px;line-height:1.7}.shell .ai-entry .btn{flex-shrink:0}
.shell .farm-list-item{background:transparent;border-color:#25384b}.shell .farm-list-item:hover{background:#1b2c3b}.shell .list-icon{background:#19323b;color:#7ccbd9}.shell .list-stats{color:#9fb6c9}.shell .farm-card:hover,.shell .flight-card:hover{border-color:#45667c}
.shell table{color:#d2dfeb}.shell th{background:#142130;color:#7fa4bf;border-color:#2a3d50;font-size:11px;font-weight:500}.shell td{border-color:#243648}.shell tbody tr:nth-child(even){background:#14223050}.shell tbody tr:hover{background:#1e324450}.shell .summary-four{background:#132231;border-color:#2a4055}.shell .summary-four>div{border-color:#2a4055}.shell .summary-four strong{color:#e2f2ff}.shell .summary-four>div>span{color:#85a5bf}.shell .batch-bar .btn{background:#1b2d3d;border-color:#344d63}.shell .worker-row{background:#142332}.shell .worker-row:nth-child(even){background:#172838}
.shell input,.shell select,.shell textarea{background-color:#0d1926;color:#dfebf5;border-color:#31485d}.shell input:focus,.shell select:focus,.shell textarea:focus{border-color:#77c3d5;box-shadow:0 0 0 2px #5bc2d51c}.shell select option,.shell select optgroup{background:#122231;color:#e1edf7}.shell .btn.secondary{background:#1a2b3b;border-color:#344b60;color:#cbdeee}.shell .btn.primary{background:#b9f476;color:#182819;box-shadow:0 2px 10px #b9f47610}.shell .btn.primary:hover{background:#cdfb9e}.shell .search{background:#101e2b;border-color:#31485d}.shell .filter-select{color:#9db4c8}
.shell .worker-flight-card,.shell .telemetry-card{background:#152432;border-color:#2b4358}.shell .worker-tabs{border-color:#2d4358}.shell .oc-source,.shell .miner-config-note{background:#101f2d;border-color:#2a4054;color:#93acc2}.shell .ai-console{background:#111c28}.shell .ai-messages{background:#0b1621}.shell .ai-message.assistant{background:#142635;border:1px solid #284356}.shell .ai-message.user{background:#25382d;border:1px solid #3c5440}.shell .ai-composer{background:#152532;border-color:#30485c}.shell .ai-action-card{background:#172b38;border-color:#355569}.shell .ai-reply code{background:#0b1823;color:#9bdce9}.shell .connection-guide-note{background:#0e202b;border-color:#2c4556}.shell .guide-number{background:#1b342a;border-color:#3b5740}.shell .connection-guide p{color:#9eb2c5}
body:has(.shell) .modal{background:#131f2b;border-color:#365064;color:#dfebf5;box-shadow:0 24px 90px #0009}body:has(.shell) .modal-backdrop{background:#040911b8;backdrop-filter:blur(4px)}body:has(.shell) .modal .modal-footer{background:#111e29;border-color:#2c4356}body:has(.shell) .modal select option{background:#152535;color:#e5edf5}body:has(.shell) .modal .oc-editor-field{background:#172936;border-color:#304858}body:has(.shell) .modal .oc-editor-current{color:#dfa869}
@media(max-width:760px){.shell .page-heading h1{font-size:23px}.shell .ai-entry{padding:16px;gap:14px}.ai-entry-intro{gap:12px}.ai-entry-duck{width:42px;height:42px}.shell .ai-entry h2{font-size:16px}.shell .ai-entry>.btn{width:100%}.shell .page-heading{padding-bottom:14px}.shell .content{padding-left:14px;padding-right:14px}.shell .metric-card>strong{font-size:28px}}
@media(prefers-reduced-motion:reduce){.shell *{transition:none!important;scroll-behavior:auto!important}}

.shell .main-wrap:has(.hive-view),.shell .content:has(.hive-view){background:transparent}.shell .filter-select{background:#152534;border-color:#2a4358}@media(max-width:760px){.shell .overview-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.shell .sidebar:not(.mobile-open){visibility:hidden;pointer-events:none}.shell .sidebar.mobile-open{visibility:visible;pointer-events:auto}.shell .content:has(.hive-view){padding:22px 14px}}

@media(max-width:760px){.shell .overview-hash-row{flex-direction:column;align-items:flex-start;gap:7px}.shell .overview-hash-row strong{font-size:19px}.shell .overview-hash-row>span{width:100%}}

/* Mobile fleet: each table row becomes a complete device card. */
@media(max-width:760px){
.shell .hive-view:has(.fleet-table){min-width:0}.shell .hive-view:has(.fleet-table) .summary-four{grid-template-columns:repeat(2,minmax(0,1fr))}.shell .hive-view:has(.fleet-table) .summary-four>div{padding:12px;min-width:0}.shell .summary-four strong{font-size:20px}.shell .summary-four small{font-size:9px}.shell .fleet-machine-counts{gap:10px;flex-wrap:wrap}.shell .fleet-gpu-summary{overflow-wrap:anywhere}
.shell .hive-view:has(.fleet-table) .toolbar{display:flex;flex-direction:column;align-items:stretch;gap:8px;margin:14px 0}.shell .hive-view:has(.fleet-table) .toolbar-left{display:flex;flex-wrap:wrap;gap:8px;min-width:0}.shell .hive-view:has(.fleet-table) .filter-select{max-width:100%;flex:1;min-width:0}.shell .hive-view:has(.fleet-table) .filter-select select{max-width:none;min-width:0;flex:1}.shell .hive-view:has(.fleet-table) .search{width:100%;min-width:0}
.shell .status-tabs{display:flex;flex-wrap:wrap;gap:6px}.shell .status-tabs>button{padding:6px 9px;font-size:11px}.shell .status-tabs>span{font-size:10px}.shell .fleet-sort-label{width:100%;margin-left:0;display:flex;align-items:center;justify-content:space-between}.shell .fleet-sort-label select{width:auto;max-width:75%}
.shell .batch-bar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:12px 0}.shell .batch-bar>span{grid-column:1/-1}.shell .batch-bar .btn{padding:7px 5px;font-size:11px;min-width:0;min-height:34px;gap:4px}.shell .batch-bar>.text-btn{min-height:32px;justify-content:center}
.shell .table-scroll:has(>.fleet-table){background:transparent;border:0;box-shadow:none;overflow:visible}.shell .fleet-table{display:block;width:100%;min-width:0!important;table-layout:auto}.shell .fleet-table thead{display:block;margin:0 0 8px}.shell .fleet-table thead tr{display:block;background:transparent}.shell .fleet-table thead th{display:none}.shell .fleet-table thead th:first-child{display:flex;align-items:center;gap:8px;width:auto;padding:6px 2px;background:none;border:0}.shell .fleet-table thead th:first-child:after{content:'选择当前列表全部矿机';font-size:11px;color:#91a9be}
.shell .fleet-table tbody{display:grid;gap:10px}.shell .fleet-table tbody tr{display:grid;grid-template-columns:24px minmax(0,1fr) auto;gap:8px 6px;padding:12px;border:1px solid #2a4256;border-radius:8px;background:#132231;min-width:0}.shell .fleet-table tbody tr:nth-child(even){background:#142534}.shell .fleet-table tbody td{display:block;padding:0;border:0;min-width:0;width:auto;white-space:normal;overflow-wrap:anywhere;font-size:11px}.shell .fleet-table tbody td:nth-child(1){grid-column:1;grid-row:1;align-self:center}.shell .fleet-table tbody td:nth-child(2){grid-column:2/-1;grid-row:1;padding-right:0}.shell .fleet-table .miner-name{max-width:calc(100% - 32px);display:inline-flex;align-items:center;gap:6px;text-align:left;white-space:normal}.shell .fleet-table .miner-name strong{font-size:14px;overflow-wrap:anywhere}.shell .fleet-table .worker-favorite{padding:0 5px 0 0;min-width:24px}.shell .fleet-table tbody td:nth-child(2)>.table-sub{margin-top:3px;padding-left:25px;font-size:10px}.shell .fleet-table tbody td:nth-child(3){grid-column:1/-1;grid-row:2;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #253d50;padding-bottom:7px}.shell .fleet-table tbody td:nth-child(4){grid-column:1/3;grid-row:3}.shell .fleet-table .fleet-hash{font-size:15px;display:block;margin:2px 0}.shell .fleet-table .algo-label{font-size:10px;color:#81cbd9}.shell .fleet-table tbody td:nth-child(6){grid-column:3;grid-row:3;text-align:right;font-size:14px;color:#d5ebf8}.shell .fleet-table tbody td:nth-child(6):before{content:'GPU 功耗';display:block;font-size:10px;color:#8ca4b9;margin-bottom:4px}.shell .fleet-table tbody td:nth-child(5){grid-column:1/-1;grid-row:4}.shell .fleet-table tbody td:nth-child(5):before{content:'显卡温度 / 异常';display:block;font-size:10px;color:#8ca4b9;margin-bottom:5px}.shell .fleet-table .temp-strip{display:flex;flex-wrap:wrap;max-width:100%;gap:3px;min-width:0}.shell .fleet-table tbody td:nth-child(7){grid-column:1/-1;grid-row:5;display:flex;flex-wrap:wrap;align-items:center;gap:5px;border-top:1px solid #253d50;padding-top:7px;font-size:10px}.shell .fleet-table tbody td:nth-child(7):before{content:'CPU 负载';color:#7998b0}.shell .fleet-table tbody td:nth-child(7) .table-sub{margin:0 0 0 auto;font-size:10px}.shell .temp-legend{display:flex;flex-wrap:wrap;gap:6px 10px;font-size:9px}.shell .live-refresh{flex-wrap:wrap;gap:8px;font-size:10px}
}

@media(max-width:760px){.shell .hive-view:has(.fleet-table) .page-heading{margin-bottom:12px;padding-bottom:10px}.shell .hive-view:has(.fleet-table) .page-heading .eyebrow{display:none}.shell .hive-view:has(.fleet-table) .page-heading h1{font-size:22px}.shell .hive-view:has(.fleet-table) .summary-four>div{padding:8px 10px}.shell .hive-view:has(.fleet-table) .summary-four>div>small{display:none}.shell .hive-view:has(.fleet-table) .summary-four strong{margin:3px 0;font-size:18px}.shell .hive-view:has(.fleet-table) .summary-four .total-hash strong{font-size:17px}.shell .hive-view:has(.fleet-table) .toolbar{margin:10px 0}.shell .batch-bar:has([data-batch="flight"]:disabled)>.btn{display:none}.shell .batch-bar:has([data-batch="flight"]:disabled)>span{grid-column:auto;width:auto;align-self:center}.shell .hive-view:has(.fleet-table) .status-tabs{margin:8px 0}.shell .hive-view:has(.fleet-table) .fleet-sort-label{width:auto;flex:1;min-width:170px}.shell .fleet-table tbody tr{gap:6px;padding:10px}}

.bsc-invoice{margin:16px 0;padding:16px;border:1px solid #355365;border-radius:8px;background:#10212e}.bsc-invoice-head{display:flex;justify-content:space-between;gap:12px}.bsc-invoice-head span{font-size:12px;color:#b9f476}.bsc-recharge p{margin:10px 0;font-size:12px;line-height:1.7}.bsc-amount{font:600 26px/1.6 Consolas,monospace;color:#b9f476}.bsc-amount small{font-size:13px}.bsc-address-block{display:flex;align-items:center;gap:14px;margin:16px 0}.bsc-address-block img{background:#fff;border-radius:6px;flex:none}.bsc-recharge code{display:block;overflow-wrap:anywhere;word-break:break-all;margin:8px 0;font-size:12px}.bsc-card-alternative{display:flex;gap:12px;margin-top:20px;font-size:12px;border-top:1px solid #304659;padding-top:14px}@media(max-width:550px){.bsc-address-block{flex-direction:column;align-items:flex-start}.bsc-invoice{padding:12px}.bsc-amount{font-size:22px}}

.thermal-overview{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;margin-bottom:16px}.thermal-overview p,.thermal-history p{font-size:12px;margin:6px 0}.thermal-history{padding:18px;max-width:1100px}.thermal-record{padding:14px 0;border-bottom:1px solid var(--border)}.thermal-record-heading{display:flex;justify-content:space-between;gap:12px}.thermal-changes{display:flex;gap:10px 20px;flex-wrap:wrap;margin:10px 0;font-size:12px}.thermal-changes b{color:#edb76f}.thermal-reading strong{color:#64cef0}.thermal-curve{display:block;width:100%;max-width:480px;height:auto}.thermal-history h3{margin-top:20px}@media(max-width:600px){.thermal-overview{align-items:flex-start;flex-direction:column}.thermal-record-heading{flex-wrap:wrap}.thermal-history{padding:12px}.thermal-changes{gap:8px 14px}}
