:root{--cb-ui-font:"Segoe UI","Microsoft YaHei UI","PingFang SC","Noto Sans CJK SC",system-ui,sans-serif;font-family:var(--cb-ui-font);color:#203146;background:#f4f7fa;font-size:14px}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.6;cursor:wait}[hidden]{display:none!important}.topbar{height:68px;background:#0d2335;color:#fff;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:0 max(28px,calc((100vw - 1620px)/2));box-shadow:0 3px 18px #0b223318}.back{color:#d5e5ef;text-decoration:none;min-width:150px}.back:hover{text-decoration:underline}.brand{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:800;letter-spacing:.11em}.brand small{display:block;font-size:9px;letter-spacing:.27em;color:#a9c1d0}.brand-mark{width:35px;height:35px;border-radius:10px;background:#d9b879;color:#122736;display:grid;place-items:center;font-weight:900;letter-spacing:-.05em}.language-toggle{display:flex;border:1px solid #496273;border-radius:9px;padding:3px}.language-toggle button{background:none;border:0;color:#b9cfdd;padding:6px 10px;border-radius:6px;font-size:12px}.language-toggle button.active{background:#e4eef3;color:#17334a}main{width:min(100% - 56px,1620px);margin:0 auto;padding:34px 0 80px}.hero{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;padding:10px 0 29px}.eyebrow{color:#4f8497;font-size:11px;font-weight:800;letter-spacing:.17em;margin:0 0 9px;text-transform:uppercase}h1{font-size:32px;line-height:1.15;letter-spacing:-.035em;margin:0;color:#132d40}h2,h3,p{margin-top:0}.hero-copy{color:#65778a;margin:11px 0 0}.hero-actions{display:flex;align-items:center;gap:18px}.operator{color:#60778c;font-size:12px}.primary,.secondary{border-radius:9px;border:1px solid transparent;padding:10px 16px;font-weight:700;white-space:nowrap;min-height:40px}.primary{color:#fff;background:#17627c;box-shadow:0 3px 8px #18627a20}.primary:hover{background:#114d62}.secondary{background:#fff;color:#28566e;border-color:#c9dae3}.secondary:hover{background:#edf7fa}.notice{display:flex;gap:18px;align-items:center;background:#edf4f6;border:1px solid #d5e4e9;border-left:4px solid #6da5b3;border-radius:10px;padding:14px 17px;color:#475f70;line-height:1.5}.notice strong{color:#1f5168;white-space:nowrap}.toolbar{display:flex;justify-content:space-between;align-items:flex-end;margin:25px 0 16px;gap:20px}.toolbar form{width:min(640px,100%)}label{display:flex;flex-direction:column;gap:7px;font-weight:700;color:#415c70}.toolbar label{font-size:12px;margin-bottom:8px}.search-control{display:flex;gap:8px}.search-control input{flex:1;min-width:0}.counts{color:#597287;font-weight:700;white-space:nowrap;padding-bottom:12px}input,select{border:1px solid #c8d7e0;border-radius:8px;background:#fff;color:#1c3344;padding:9px 10px;min-height:40px;outline:none}input:focus,select:focus,button:focus-visible,.table-scroll:focus-visible{outline:3px solid #97cad7;outline-offset:2px}input.immutable{background:#eef3f6;color:#465d6b}.status{padding:12px 15px;background:#e9f3f7;color:#1d5e76;border:1px solid #bbdce5;border-radius:9px;margin:12px 0}.status.error{background:#fff0ed;color:#9c3b2d;border-color:#efc4b9}.status.success{background:#edf8ee;color:#2d7145;border-color:#c1dfc8}.catalog{display:grid;gap:18px}.group-card{background:#fff;border:1px solid #d9e3e9;border-radius:12px;box-shadow:0 4px 17px #2442540a;overflow:hidden}.group-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:19px 21px}.group-heading h2{font-size:18px;letter-spacing:-.02em;margin:6px 0;color:#183347}.group-heading p{color:#788996;font-size:12px;margin:0}.group-code{color:#1d657f;background:#eaf4f6;border-radius:5px;font:700 12px var(--cb-ui-font);font-variant-numeric:tabular-nums lining-nums;padding:5px 8px}.readonly{color:#7c8c96;font-size:12px}.table-scroll{overflow:auto;max-width:100%;border-top:1px solid #e5edf1;border-bottom:1px solid #e5edf1}table{border-collapse:separate;border-spacing:0;min-width:1700px;width:100%;font-size:12px}th,td{padding:11px 12px;text-align:left;vertical-align:top;border-bottom:1px solid #e6edf1;white-space:nowrap;max-width:360px}th{position:sticky;top:0;z-index:2;background:#f2f7f9;color:#4b6577;font-weight:800;letter-spacing:.015em}tbody tr:last-child td{border-bottom:0}tbody tr:hover td{background:#f6fbfc}td.name-cell,td.long-cell{white-space:normal;min-width:170px;overflow-wrap:anywhere;line-height:1.45}.long-cell:last-child{min-width:260px}.sticky-code{position:sticky;left:0;z-index:3;box-shadow:2px 0 5px #253b470d;background:#fff}.sticky-code:first-child{z-index:4}th.sticky-code{background:#eaf2f5;z-index:5}.mono,.number{font-family:var(--cb-ui-font);font-variant-numeric:tabular-nums lining-nums;font-feature-settings:"tnum" 1,"lnum" 1}.number{text-align:right}.blank{color:#a5b3bd}.detail-strip{display:flex;align-items:flex-start;flex-wrap:wrap;gap:7px;padding:13px 19px}.detail-label{font-size:11px;color:#738a98;font-weight:800;margin:7px 5px 0 0;white-space:nowrap}.detail-chip{font-size:11px;line-height:1.4;color:#4f6979;background:#edf3f6;border:1px solid #dce8ed;border-radius:6px;padding:5px 8px;overflow-wrap:anywhere}.detail-chip.virtual{background:#fff4e5;border-color:#f0d8a9;color:#80581d}.empty-state{padding:60px;text-align:center;background:#fff;border:1px dashed #ccdce3;border-radius:12px;color:#698095}.notes{margin-top:32px;background:#fff;border:1px solid #dae5eb;border-radius:12px;padding:22px}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:15px}.section-heading h2,.section-heading h3{margin:0;color:#17354a}.section-heading>span{font-size:12px;color:#798d9b}.note{display:flex;gap:16px;padding:13px 0;border-top:1px solid #ecf1f4}.note>span{color:#3d788c;font:700 12px var(--cb-ui-font);font-variant-numeric:tabular-nums lining-nums;min-width:55px}.note p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;color:#566c7a;line-height:1.6}.editor-layer{position:fixed;inset:0;z-index:30;display:flex;justify-content:flex-end}.editor-scrim{position:absolute;inset:0;background:#0d2439a3}.editor{z-index:1;display:flex;flex-direction:column;width:min(950px,100vw);height:100%;background:#f8fafb;box-shadow:-15px 0 45px #0d23345c}.editing{overflow:hidden}.editor-header{padding:20px 26px;display:flex;justify-content:space-between;align-items:center;gap:12px;background:#fff;border-bottom:1px solid #dce7eb}.editor-header h2{margin:0;color:#153247;font-size:23px}.editor-header-actions{display:flex;align-items:center;gap:12px}.editor-header .language-toggle{border-color:#c8d7e0}.editor-header .language-toggle button{color:#5e7788}.editor-header .language-toggle button.active{background:#dcecf1;color:#1c536b}.icon-button{border:0;background:#eff4f6;color:#466071;border-radius:9px;width:37px;height:37px;font-size:26px;line-height:1}.editor-body{padding:22px 26px;overflow:auto;flex:1}.group-fields,.component-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.group-fields{padding:18px;background:#fff;border:1px solid #dce6eb;border-radius:11px}.group-fields input,.component-grid input,.component-grid select{width:100%}.components-heading{margin:24px 0 14px}.components-heading h3{font-size:18px}.component-card{background:#fff;border:1px solid #dce6eb;border-radius:11px;margin-bottom:13px;padding:17px}.component-card-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px;color:#2b566a}.text-button{border:0;background:none;color:#a34a3e;font-weight:700;padding:5px 8px}.component-grid label{min-width:0;font-size:12px}.component-grid .wide-field{grid-column:span 1}.selected-full{display:block;font-weight:400;color:#728492;line-height:1.4;overflow-wrap:anywhere}.selected-full span{color:#526b79}.ratio-tip{color:#667d8d;font-size:12px;margin:10px 0}.editor-footer{padding:15px 24px;background:#fff;border-top:1px solid #dce7eb;display:flex;justify-content:space-between;align-items:center;gap:14px;color:#708593;font-size:12px}.editor-footer>div{display:flex;gap:8px}@media(max-width:700px){.topbar{padding:0 16px}.brand{display:none}main{width:calc(100% - 30px);padding-top:22px}.hero{align-items:flex-start;flex-direction:column}.hero-actions{width:100%;justify-content:space-between}h1{font-size:26px}.notice,.toolbar{align-items:flex-start;flex-direction:column}.toolbar form{width:100%}.counts{padding:0}.group-heading{padding:16px;align-items:flex-start}.group-heading h2{font-size:16px}.group-heading .secondary{padding:8px}.editor-header,.editor-body{padding:16px}.group-fields,.component-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.editor-footer{align-items:stretch;flex-direction:column}.editor-footer>div{justify-content:flex-end}}@media(max-width:430px){.group-fields,.component-grid{grid-template-columns:1fr}.search-control{flex-direction:column}.search-control .primary{width:100%}.detail-strip{padding:11px}.back{min-width:0}.editor-header h2{font-size:19px}.editor-header-actions{gap:5px}.editor-header .language-toggle button{padding:5px}}

/* CB1（2026-10-20）：保存前没填 / 比例不对的格子标红 */
.field-missing{border-color:#c0392b !important;box-shadow:0 0 0 3px rgba(192,57,43,.16) !important;background:#fff6f5 !important}


/* CB2（2026-10-20）：顶栏换 DJI Enterprise | Aeronex logo；数字用工作台字体（等宽数字）；导出 / 上传 Excel */
.brand-logo{display:block;height:22px;width:auto;max-width:100%}
input,select{font-variant-numeric:tabular-nums lining-nums}
.number{font-weight:600}
.hero-actions .secondary{min-height:40px}
.import-panel{width:min(1000px,100vw)}
.import-file{overflow-wrap:anywhere}
.import-stats{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 16px}
.import-stat{background:#fff;border:1px solid #dce6eb;border-radius:10px;padding:10px 14px;color:#415c70;font-weight:700}
.import-stat b{font-size:20px;color:#17354a;margin-right:6px;font-variant-numeric:tabular-nums lining-nums}
.import-note{color:#6b5a2e;background:#fff8e8;border:1px solid #f0dfb5;border-radius:9px;padding:9px 12px;margin:0 0 12px;line-height:1.5}
.import-section{margin:18px 0 8px;color:#17354a;font-size:15px}
.import-group{background:#fff;border:1px solid #dce6eb;border-radius:11px;margin:0 0 12px;padding:14px 16px}
.import-group-head{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;margin-bottom:10px}
.import-group-head strong{color:#183347}
.import-tag{font-size:11px;font-weight:800;border-radius:6px;padding:3px 8px;white-space:nowrap}
.import-tag.ratio{background:#edf8ee;color:#2d7145;border:1px solid #c1dfc8}
.import-tag.other{background:#fff4e5;color:#80581d;border:1px solid #f0d8a9}
.import-tag.new{background:#e9f3f7;color:#1d5e76;border:1px solid #bbdce5}
.import-group table{min-width:0;width:100%}
.import-group td,.import-group th{white-space:normal;padding:7px 9px}
.import-changes{margin:0;padding:0;list-style:none;display:grid;gap:6px}
.import-changes li{display:flex;flex-wrap:wrap;gap:4px 10px;line-height:1.5;color:#3f586a}
.import-changes li.other{color:#80581d}
.import-changes .who{color:#5b7183;min-width:0;overflow-wrap:anywhere}
.import-changes .what{font-weight:700;color:#1f3e52;font-variant-numeric:tabular-nums lining-nums}
.import-changes li.other .what{color:#80581d}
@media(max-width:700px){.hero-actions{flex-wrap:wrap;justify-content:flex-start;gap:10px}.hero-actions .operator{width:100%}.import-group{padding:12px}}
