:root{font-family:Microsoft YaHei UI,PingFang SC,system-ui,sans-serif;color:#17211d;background:#edf1ed;font-synthesis:none;--green:#167353;--green-dark:#0d4d38;--blue:#1d63d8;--blue-dark:#174ba2;--blue-soft:#e9f1ff;--orange:#d65a24;--orange-dark:#a43c15;--orange-soft:#fff0e8;--purple:#7352c7;--purple-dark:#52369a;--purple-soft:#f1edff;--red:#bd342d;--red-dark:#8f251f;--red-soft:#fff0ee;--slate:#526159;--slate-soft:#f2f5f3;--line:#cfd8d2;--paper:#fbfcfa;--muted:#69756e}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:radial-gradient(circle at 15% 0%,#dcebe2 0,transparent 35%),#edf1ed}button,input,select{font:inherit}button{cursor:pointer;transition:transform .14s ease,box-shadow .14s ease,border-color .14s ease,background .14s ease,color .14s ease}button:not(:disabled):hover{transform:translateY(-1px)}button:not(:disabled):active{transform:translateY(0)}button:focus-visible{outline:3px solid rgba(29,99,216,.25);outline-offset:2px}button:disabled{cursor:not-allowed;opacity:.42;filter:saturate(.55);box-shadow:none!important}.topbar{height:70px;display:flex;align-items:center;justify-content:space-between;padding:0 max(28px,calc((100vw - 1240px)/2));border-bottom:1px solid rgba(23,33,29,.12);background:#fbfcfad6;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);position:sticky;top:0;z-index:5}.topbar>div,.identity{display:flex;align-items:center;gap:12px}.admin-nav{max-width:1240px;margin:18px auto -10px;padding:0 20px;display:flex;gap:8px}.admin-nav button{border:1px solid #bdccc3;border-radius:10px;padding:9px 16px;color:#3d5046;background:#f9fbfa;font-weight:600}.admin-nav button:not(:disabled):hover{border-color:#76a58f;color:var(--green-dark);background:#edf6f1}.admin-nav button.active{border-color:var(--green);color:#fff;background:linear-gradient(135deg,#18805c,#0f6347);box-shadow:0 7px 16px #176b4d3d}.operation-continuity-banner{max-width:1200px;margin:18px auto -8px;padding:12px 16px;display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid #77a78f;border-radius:13px;color:#173e2e;background:#edf7f1;box-shadow:0 8px 20px #1653391a}.operation-continuity-banner>div{min-width:0;display:flex;align-items:center;gap:9px}.operation-continuity-banner span:last-child{overflow:hidden;color:var(--muted);font-size:12px;white-space:nowrap;text-overflow:ellipsis}.operation-pulse{flex:0 0 auto;width:9px;height:9px;border-radius:50%;background:#1a8a61;box-shadow:0 0 #1a8a6173;animation:operation-pulse 1.5s infinite}@keyframes operation-pulse{70%{box-shadow:0 0 0 8px #1a8a6100}to{box-shadow:0 0 #1a8a6100}}.brand-mark{width:38px;height:38px;display:grid;place-items:center;color:#fff;background:var(--green);border-radius:9px;font:700 12px Consolas,monospace;letter-spacing:.08em}.badge{display:inline-flex;padding:4px 8px;border-radius:99px;background:#e0ebe4;color:var(--green-dark);font:500 11px Consolas,monospace}.badge.deleted-state{background:#f3e2e0;color:#9a342d}.page-grid{max-width:1240px;margin:28px auto 60px;padding:0 20px;display:grid;grid-template-columns:1fr 1fr;gap:20px}.panel{background:#fbfcfaf0;border:1px solid rgba(23,33,29,.1);border-radius:18px;padding:24px;box-shadow:0 12px 32px #1637280d}.span-2{grid-column:1/-1}.hero-panel{grid-column:1/-1;display:flex;justify-content:space-between;align-items:end;background:linear-gradient(120deg,#f9fbf8,#e5eee8)}.hero-panel h2{margin:4px 0;font-size:34px;letter-spacing:-.04em}.ham-hero{min-height:156px;align-items:center;overflow:hidden;position:relative}.ham-hero:after{content:"";position:absolute;right:-70px;bottom:-110px;width:280px;height:280px;border:54px solid rgba(23,107,77,.055);border-radius:50%;pointer-events:none}.ham-hero>div{position:relative;z-index:1}.ham-hero p{margin:9px 0 0}.ham-summary{display:grid;grid-template-columns:repeat(3,minmax(110px,1fr));gap:10px}.ham-summary article{min-width:112px;padding:14px 16px;border:1px solid rgba(23,107,77,.14);border-radius:13px;background:#ffffffa6;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.ham-summary strong,.ham-summary span{display:block}.ham-summary strong{color:var(--green-dark);font:700 24px/1 Consolas,monospace}.ham-summary span{margin-top:7px;color:var(--muted);font-size:11px}h3{margin:0 0 6px}p{color:var(--muted)}.eyebrow{color:var(--green);font:500 11px Consolas,monospace;letter-spacing:.14em}.device-select{min-width:300px;display:flex;align-items:end;gap:12px}label{display:flex;flex-direction:column;gap:7px;color:#46524b;font-size:13px;font-weight:500}input,select{min-height:43px;border:1px solid var(--line);border-radius:10px;padding:9px 12px;color:#17211d;background:#fff;outline:none}input:focus,select:focus{border-color:#4d9477;box-shadow:0 0 0 3px #176b4d1a}.state-dot{padding:11px 13px;border-radius:10px;background:#eee;font:500 12px Consolas,monospace}.state-dot.ok{color:#0c6946;background:#dff1e7}.state-dot.pending{color:#81511d;background:#faead5}.panel-title{display:flex;justify-content:space-between;align-items:start;margin-bottom:18px}.panel-title p{margin:0}.operation-panel{overflow:hidden}.operation-heading{align-items:center;gap:24px;margin-bottom:20px;padding-bottom:18px;border-bottom:1px solid var(--line)}.operation-heading h3,.backup-panel h3,.certificate-panel h3{margin-top:5px;font-size:24px}.operation-layout{display:grid;grid-template-columns:minmax(350px,.84fr) minmax(500px,1.16fr);gap:22px;align-items:stretch}.operation-workspace,.operation-feedback{min-width:0}.operation-workspace{display:flex;flex-direction:column;gap:16px}.operation-feedback{display:grid;grid-template-rows:auto 1fr;gap:14px}.workspace-card,.operation-monitor{padding:16px;border:1px solid var(--line);border-radius:14px;background:#f7f9f7}.section-caption{display:flex;align-items:center;gap:10px;margin-bottom:14px}.section-caption>span{width:30px;height:30px;display:grid;place-items:center;border-radius:9px;color:#fff;background:var(--green);font:700 11px Consolas,monospace}.section-caption>div{display:flex;flex-direction:column;gap:2px}.section-caption small{color:var(--muted);font-size:11px}.operation-controls,.operation-controls .device-select{width:100%;min-width:0}.operation-controls .device-select label{width:100%}.bound-device,.no-bound-device{flex:1;min-height:48px;display:flex;flex-direction:column;justify-content:center;gap:3px;padding:7px 11px;border:1px solid var(--line);border-radius:10px;background:#fff}.bound-device small,.no-bound-device small,.bound-device code{color:var(--muted);font-size:11px}.no-bound-device{border-color:#e4b5af;color:#742e29;background:#fff5f3}.serial-select{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:12px}.serial-select small{color:var(--muted);font:11px Consolas,monospace}.unbind-trigger{border-color:#c69555;color:#765024;background:#fff8ec}.unbind-trigger:not(:disabled):hover{border-color:#a96e25;color:#fff;background:#b9782d}.operation-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.operation-steps article{min-width:0;display:flex;align-items:center;gap:8px;padding:11px;border:1px solid #dfe6e1;border-radius:11px;background:#fff}.operation-steps article>span{flex:0 0 auto;width:24px;height:24px;display:grid;place-items:center;border-radius:50%;color:var(--green-dark);background:#dfeee5;font:700 11px Consolas,monospace}.operation-steps article>div{min-width:0;display:flex;flex-direction:column;gap:2px}.operation-steps strong{font-size:12px}.operation-steps small{overflow:hidden;color:var(--muted);font-size:10px;white-space:nowrap;text-overflow:ellipsis}.operation-primary{width:100%;min-height:52px;margin-top:auto;font-size:15px}.operation-hint{margin:-7px 4px 0;font-size:11px;line-height:1.6}.operation-liability{margin:0}.operation-monitor{min-height:185px;display:flex;flex-direction:column}.monitor-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.monitor-heading span{color:var(--green-dark);font:700 13px Consolas,monospace}.operation-monitor .progress-meta{margin:8px 0 0}.operation-monitor .progress-meta span{min-height:20px}.operation-monitor .log{flex:1;min-height:112px;max-height:170px;margin-top:10px}.progress-track{height:10px;background:#e5eae6;border-radius:20px;overflow:hidden}.safety-notice{margin:0 0 17px;padding:11px 13px;border-left:3px solid #b56b1c;border-radius:8px;color:#6e471c;background:#fff3df;font-size:12px;line-height:1.65}.liability-notice{margin:0 0 18px;padding:14px;border:1px solid #e4b5af;border-radius:11px;color:#742e29;background:#fff5f3;font-size:12px;line-height:1.7}.liability-notice strong{display:block;margin-bottom:4px;font-size:13px}.liability-notice p{margin:0;color:#75423d}.compact-notice{margin:22px 0 0}.compact-notice p{font-size:11px}.local-tools-entry{margin-top:18px;border-color:#6f8fdd;color:var(--blue-dark);background:var(--blue-soft);box-shadow:0 5px 12px #1d63d81a}.local-tools-entry:not(:disabled):hover{border-color:var(--blue);color:#fff;background:linear-gradient(135deg,#2b70df,#1b55bd);box-shadow:0 8px 18px #1d63d83d}.local-only-note{margin:8px 0 0;text-align:center;color:var(--muted);font-size:11px}.risk-accept{margin-top:11px;display:flex;flex-direction:row;align-items:center;gap:8px;color:#5f2f2b;font-weight:600;cursor:pointer}.risk-accept input{min-height:0;width:16px;height:16px;margin:0;accent-color:#9a342d}.progress-track div{height:100%;background:linear-gradient(90deg,#1e7757,#50a17f);transition:width .2s}.progress-meta{display:flex;justify-content:space-between;margin:9px 0 18px;color:var(--muted);font-size:13px}.primary{border:1px solid #0f6548;border-radius:10px;padding:11px 18px;background:linear-gradient(135deg,#19845f,#116747);color:#fff;font-weight:700;box-shadow:0 7px 16px #1267483d}.primary:not(:disabled):hover{border-color:#0b543b;background:linear-gradient(135deg,#157555,#0d573e);box-shadow:0 10px 22px #1267484d}.compact{padding:7px 12px}.ghost,.actions button{border:1px solid #bfcac4;border-radius:9px;padding:8px 12px;color:#34463d;background:linear-gradient(#fff,#f6f8f7);font-weight:600}.ghost:not(:disabled):hover,.actions button:not(:disabled):hover{border-color:#78998a;color:#173e2e;background:#eaf3ee;box-shadow:0 5px 12px #183d2c1f}.danger-outline,.actions .danger-outline{border:1px solid #db8e88;color:var(--red-dark);background:var(--red-soft);font-weight:700}.danger-outline:not(:disabled):hover,.actions .danger-outline:not(:disabled):hover{border-color:var(--red);color:#fff;background:linear-gradient(135deg,#ca4037,#a92d27);box-shadow:0 7px 16px #bd342d38}.wide{width:100%;margin-top:7px}.log{min-height:145px;max-height:240px;overflow:auto;margin:18px 0 0;padding:14px;border-radius:12px;color:#a9d9c5;background:#11261d;font:12px/1.65 Consolas,monospace;white-space:pre-wrap}.table-wrap{overflow:auto}.device-browser{display:flex;gap:9px;margin:0 0 18px;padding-bottom:4px;overflow-x:auto}.device-browser button{min-width:150px;display:flex;flex-direction:column;align-items:start;gap:4px;padding:11px 13px;border:1px solid var(--line);border-radius:11px;color:#34463d;background:#fff}.device-browser button.active{border-color:var(--green);color:var(--green-dark);background:#e6f0e9;box-shadow:inset 0 0 0 1px #176b4d1f}.device-browser small{color:var(--muted);font-size:11px}.history-mark{display:inline-flex;margin-left:7px;padding:2px 5px;border-radius:99px;color:#81522a;background:#f7ead9;font-size:9px;vertical-align:2px}.backup-panel>.panel-title{align-items:center}table{width:100%;border-collapse:collapse;font-size:13px}th{color:#738078;font-weight:500;text-align:left}th,td{padding:12px 10px;border-bottom:1px solid #e7ebe8;white-space:nowrap}.actions{display:flex;flex-wrap:wrap;gap:7px}.account-table{table-layout:fixed;min-width:900px}.account-table th:nth-child(1){width:9%}.account-table th:nth-child(2){width:10%}.account-table th:nth-child(3){width:14%}.account-table th:nth-child(4){width:20%}.account-table th:nth-child(5){width:9%}.account-table th:nth-child(6){width:12%}.account-table th:nth-child(7){width:26%}.account-table input,.account-table select{width:100%;min-width:0}.account-table .actions{flex-wrap:wrap}.account-table .actions button{padding:7px 9px}.saving-state{align-self:center;color:var(--muted);font-size:12px}.mono,code{font-family:Consolas,monospace}.empty{padding:28px!important;text-align:center;color:#8a948f}.muted{margin-top:0}.cert-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:12px;margin-top:16px}.cert-grid article{display:flex;flex-direction:column;gap:7px;padding:15px;border:1px solid var(--line);border-radius:12px;background:#fff}.cert-grid small{color:var(--muted)}.cert-grid code{font-size:11px;color:#526159}.auth-shell{min-height:100vh;display:grid;grid-template-columns:minmax(380px,1.1fr) minmax(420px,.9fr)}.auth-intro{display:flex;flex-direction:column;justify-content:center;padding:10vw;color:#fff;background:linear-gradient(145deg,#0c3929f5,#176b4deb),repeating-linear-gradient(90deg,transparent 0 39px,rgba(255,255,255,.04) 40px)}.auth-intro .eyebrow{color:#8fd4b7}.auth-intro h1{margin:18px 0;font-size:clamp(38px,5vw,70px);line-height:1.08;letter-spacing:-.06em}.auth-intro p{max-width:590px;color:#c7ddd3;font-size:16px;line-height:1.9}.trust-row{display:flex;flex-wrap:wrap;gap:10px;margin-top:30px}.trust-row span{padding:7px 11px;border:1px solid rgba(255,255,255,.2);border-radius:99px;color:#d9e9e2;font-size:12px}.auth-card{align-self:center;width:min(500px,calc(100% - 48px));margin:auto;padding:34px;border:1px solid var(--line);border-radius:20px;background:var(--paper);box-shadow:0 30px 70px #182c231f}.tabs{display:flex;gap:6px;padding:4px;margin-bottom:25px;border-radius:11px;background:#e9eeea}.tabs button{flex:1;border:0;padding:9px;border-radius:8px;color:#657169;background:transparent}.tabs button.active{color:#17211d;background:#fff;box-shadow:0 2px 9px #14281f14;font-weight:600}form{display:flex;flex-direction:column;gap:15px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.alert{padding:10px 12px;border-radius:9px;font-size:13px}.alert.error{color:#8f302b;background:#fae7e5}.alert.success{color:#126241;background:#def1e6}.center{min-height:100vh;display:flex;align-items:center;justify-content:center;gap:10px;color:var(--muted)}.spinner{width:20px;height:20px;border:2px solid #cbd5cf;border-top-color:var(--green);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.modal-backdrop{position:fixed;inset:0;z-index:20;display:grid;place-items:center;padding:20px;background:#0c1c1585;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.profile-dialog{width:min(520px,100%);max-height:calc(100vh - 40px);overflow:auto;padding:26px;border:1px solid var(--line);border-radius:18px;background:var(--paper);box-shadow:0 30px 80px #081a124d}.profile-dialog .panel-title{align-items:start}.profile-dialog h3{margin-top:5px;font-size:24px}.transfer-dialog{width:min(620px,100%)}.transfer-notice{margin-bottom:18px}.transfer-form{display:flex;flex-direction:column;gap:14px}.transfer-check-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px}.transfer-check-row button{white-space:nowrap}.danger-transfer{min-height:48px;border:1px solid #9d2b25;border-radius:10px;color:#fff;background:linear-gradient(135deg,#cf443b,#9c2924);box-shadow:0 8px 18px #bd342d40;font-weight:800}.danger-transfer:not(:disabled):hover{border-color:#7e211d;background:linear-gradient(135deg,#bd382f,#81211d);box-shadow:0 11px 24px #bd342d52}.dialog-divider{height:1px;margin:24px 0;background:var(--line)}.dialog-section-title{margin-bottom:13px}.dialog-section-title p{margin:4px 0 0;font-size:12px}.audit-filters{display:grid;grid-template-columns:1fr 1.4fr 1fr auto;align-items:end;gap:12px;margin-bottom:18px}.audit-result{display:inline-flex;padding:4px 8px;border-radius:99px;font:600 10px Consolas,monospace;background:#e8ece9}.audit-result.success{color:#116443;background:#def1e6}.audit-result.denied,.audit-result.failed{color:#96372f;background:#fae5e2}.audit-detail{max-width:280px;overflow:hidden;text-overflow:ellipsis}.local-tools-page{align-items:start}.local-tools-topbar .badge{margin-left:4px}.local-device-summary{min-width:300px;display:flex;flex-direction:column;align-items:flex-end;gap:7px}.local-device-summary strong{font:600 18px Consolas,monospace}.local-device-summary small{color:var(--muted);font:11px Consolas,monospace}.local-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-bottom:18px}.local-action-stack{display:flex;flex-direction:column;gap:14px}.local-action-stack>.muted{margin:-6px 0 0}.local-restore-button{border:1px solid #c97d75;border-radius:10px;padding:11px 18px;color:#932f28;background:#fff4f2;font-weight:700}.debug-fields{display:grid;grid-template-columns:1fr 1fr auto;align-items:end;gap:12px}.local-tools-shell{padding:0;overflow:hidden}.local-tools-shell>.liability-notice{margin:22px 24px 18px}.local-tool-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;padding:12px 24px;border-block:1px solid var(--line);background:#f1f4f2}.local-tool-tabs button{min-height:64px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border:1px solid transparent;border-radius:12px;color:#46544d;background:#fff;font-weight:700;box-shadow:0 3px 8px #1a30250f}.local-tool-tabs button span{font-size:16px}.local-tool-tabs button small{font-size:10px;font-weight:500;opacity:.78}.local-tool-tabs .tab-backup{border-color:#9bb7ec;color:var(--blue-dark);background:var(--blue-soft)}.local-tool-tabs .tab-restore{border-color:#efb191;color:var(--orange-dark);background:var(--orange-soft)}.local-tool-tabs .tab-debug{border-color:#b9a8e8;color:var(--purple-dark);background:var(--purple-soft)}.local-tool-tabs .tab-backup:not(:disabled):hover,.local-tool-tabs .tab-backup.active{border-color:var(--blue);color:#fff;background:linear-gradient(135deg,#2d73e1,#1a54b9);box-shadow:0 8px 18px #1d63d840}.local-tool-tabs .tab-restore:not(:disabled):hover,.local-tool-tabs .tab-restore.active{border-color:var(--orange);color:#fff;background:linear-gradient(135deg,#e46c35,#bd461b);box-shadow:0 8px 18px #d65a2440}.local-tool-tabs .tab-debug:not(:disabled):hover,.local-tool-tabs .tab-debug.active{border-color:var(--purple);color:#fff;background:linear-gradient(135deg,#8464d8,#6240b1);box-shadow:0 8px 18px #7352c740}.local-tab-page{min-height:510px;padding:26px 24px 28px}.local-tab-page>.panel-title h3{margin-top:4px;font-size:25px}.local-page-grid{display:grid;grid-template-columns:minmax(280px,.8fr) minmax(420px,1.2fr);gap:24px;align-items:start}.local-operation-monitor{min-width:0;padding:16px;border:1px solid var(--line);border-radius:13px;background:#f7f9f7}.local-operation-monitor>strong{display:block;margin-bottom:13px}.local-operation-monitor .log{min-height:230px;max-height:320px;margin-top:12px}.debug-monitor{margin-top:20px}.local-partition-table{margin-top:24px;padding-top:22px;border-top:1px solid var(--line)}.device-action{border-color:#154da8;background:linear-gradient(135deg,#2872df,#184fae);box-shadow:0 7px 17px #1d63d840}.device-action:not(:disabled):hover{border-color:#123f88;background:linear-gradient(135deg,#2164c9,#153f8e);box-shadow:0 10px 22px #1d63d84d}.backup-action{border-color:#174fa9;background:linear-gradient(135deg,#2a75e5,#1954b8);box-shadow:0 7px 17px #1d63d840}.backup-action:not(:disabled):hover{border-color:#123f88;background:linear-gradient(135deg,#2468cf,#154494);box-shadow:0 10px 22px #1d63d84d}.scan-action{min-height:48px;border:2px solid #d78b21;color:#764506;background:linear-gradient(135deg,#fff8df,#ffebae);box-shadow:0 5px 12px #c9801a29;font-weight:800}.scan-action:before{content:"▦";margin-right:7px;font-size:16px;vertical-align:-1px}.scan-action:not(:disabled):hover{border-color:#bd6f0e;color:#fff;background:linear-gradient(135deg,#e89a28,#c87912);box-shadow:0 9px 20px #c9801a47}.restore-action{min-height:48px;border-color:#c3443b;color:#fff;background:linear-gradient(135deg,#d74b41,#ad302a);box-shadow:0 7px 17px #bd342d40}.restore-action:not(:disabled):hover{border-color:#92261f;background:linear-gradient(135deg,#c43a32,#92261f);box-shadow:0 10px 22px #bd342d52}.serial-monitor .primary{border-color:var(--purple-dark);background:linear-gradient(135deg,#8060d4,#5b3aa8);box-shadow:0 7px 16px #7352c73d}.serial-monitor .primary:not(:disabled):hover{border-color:#472c87;background:linear-gradient(135deg,#704fc4,#4e3095);box-shadow:0 10px 22px #7352c74d}.serial-monitor{display:flex;flex-direction:column;gap:16px}.serial-config-grid{display:grid;grid-template-columns:1.35fr repeat(4,1fr) auto;align-items:end;gap:10px}.serial-config-grid button{min-height:43px;white-space:nowrap}.serial-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:9px;padding:10px;border:1px solid var(--line);border-radius:11px;background:#f5f8f5}.serial-toolbar label{min-width:110px}.serial-toolbar .inline-check,.serial-signals .inline-check{min-width:0;flex-direction:row;align-items:center;gap:6px}.inline-check input{width:15px;height:15px;min-height:0;margin:0;accent-color:var(--green)}.serial-stats{margin-left:auto;color:var(--muted);font:11px Consolas,monospace}.serial-terminal{height:430px;overflow:auto;margin:0;padding:16px;border:1px solid #1f3a2e;border-radius:12px;color:#b6ead3;background:#0d1d16;font:12px/1.55 Consolas,Microsoft YaHei UI,monospace;white-space:pre-wrap;overflow-wrap:anywhere}.serial-send-row{display:grid;grid-template-columns:120px 120px minmax(240px,1fr) auto;align-items:end;gap:10px}.serial-send-input{min-width:0}.serial-send-row button{min-height:43px}.serial-signals{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:11px 13px;border:1px solid var(--line);border-radius:10px}.serial-signals small{color:#8a5a25}.backup-divider{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:11px}.backup-divider:before,.backup-divider:after{content:"";flex:1;height:1px;background:var(--line)}.partition-picker{overflow:hidden;border:1px solid var(--line);border-radius:12px;background:#fff}.partition-picker-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 13px;border-bottom:1px solid var(--line);background:#f5f8f5}.partition-picker-head>div:first-child{display:flex;flex-direction:column;gap:3px}.partition-picker-head small{color:var(--muted);font-size:11px}.partition-picker-head>div:last-child{display:flex;gap:6px}.partition-choice{display:grid;grid-template-columns:18px minmax(130px,1fr) 100px 82px;align-items:center;gap:10px;padding:10px 12px;border-bottom:1px solid #edf0ed;cursor:pointer}.partition-choice:last-of-type{border-bottom:0}.partition-choice:hover,.partition-choice.selected{background:#edf6f0}.partition-choice>input{width:16px;height:16px;min-height:0;margin:0;accent-color:var(--green)}.partition-choice-main{min-width:0;display:flex;flex-direction:column;gap:2px}.partition-choice-main strong{overflow:hidden;text-overflow:ellipsis}.partition-choice-main small{color:var(--muted);font-size:10px}.partition-choice code{color:#59675f;font-size:11px}.partition-size{text-align:right;color:#34463d;font:11px Consolas,monospace}.partition-selection-summary{padding:10px 12px;color:var(--green-dark);background:#e4f0e8;font-size:11px;font-weight:600}.pager{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:18px;color:var(--muted);font-size:13px}.pager>div{display:flex;gap:8px}@media(max-width:1050px){.operation-layout{grid-template-columns:1fr}.operation-feedback{grid-template-columns:1fr 1fr;grid-template-rows:auto}.operation-monitor .log{max-height:220px}.ham-summary article{min-width:100px}}@media(max-width:800px){.auth-shell{grid-template-columns:1fr}.auth-intro{display:none}.auth-card{margin:40px auto}.page-grid{grid-template-columns:1fr}.span-2,.hero-panel{grid-column:1}.hero-panel{align-items:start;flex-direction:column;gap:18px}.device-select{min-width:100%}.topbar{padding:0 14px}.identity{font-size:12px}.operation-panel{grid-column:1}}@media(max-width:800px){.ham-summary{width:100%;grid-template-columns:repeat(3,1fr)}.ham-summary article{min-width:0;padding:12px}.operation-heading{align-items:flex-start}.operation-feedback,.operation-steps{grid-template-columns:1fr}.operation-steps small{white-space:normal}.serial-select .device-action{width:100%}}@media(max-width:800px){.audit-filters{grid-template-columns:1fr}.admin-nav{overflow-x:auto}.topbar .identity{gap:6px}.topbar .identity>.ghost:first-of-type{display:none}}@media(max-width:800px){.operation-continuity-banner{margin:14px 20px -6px;align-items:stretch;flex-direction:column}.operation-continuity-banner>div{align-items:flex-start;flex-wrap:wrap}.operation-continuity-banner span:last-child{width:100%;white-space:normal}.operation-continuity-banner button{width:100%}}@media(max-width:800px){.local-device-summary{min-width:0;width:100%;align-items:flex-start}.debug-fields,.local-page-grid,.serial-config-grid,.serial-send-row{grid-template-columns:1fr}.local-tools-topbar{height:auto;min-height:70px;gap:10px}.local-tools-topbar>div{flex-wrap:wrap}.local-tool-tabs{padding:0 10px}.local-tab-page{padding:22px 16px}.local-tools-shell>.liability-notice{margin:16px}.local-operation-monitor .log{min-height:180px}.serial-terminal{height:340px}.serial-stats{width:100%;margin-left:0}.partition-choice{grid-template-columns:18px 1fr 75px}.partition-choice code{display:none}}
