:root{font-family:Noto Sans SC,PingFang SC,Microsoft YaHei,sans-serif;color:#192d47;background:#f4f7fb;font-synthesis:none;font-size:14px;--ink:#192d47;--muted:#64748b;--line:#dce5f0;--blue:#2864e8;--canvas:#f4f7fb;--soft:#eaf1ff}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}a{color:inherit;text-decoration:none}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:2px solid var(--blue);outline-offset:3px}[hidden]{display:none!important}.sr-only{position:absolute!important;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;top:-60px;left:240px;padding:12px;background:#fff;z-index:100}.skip-link:focus{top:10px}.workspace-sidebar{position:fixed;inset:0 auto 0 0;width:220px;background:#192d47;color:#fff;z-index:30;display:flex;flex-direction:column;overflow-y:auto}.brand{display:flex;flex-direction:column;gap:9px;padding:24px}.brand strong{font-size:22px;line-height:30px}.brand span{font-size:11px;color:#b7c6d9}.primary-nav{display:grid;gap:5px;padding:13px 14px 14px}.primary-nav a{display:flex;align-items:center;gap:8px;min-height:49px;padding:12px 14px;border-radius:7px;font-size:14px}.primary-nav a:hover{background:#24405f}.primary-nav i{width:6px;height:6px;flex-shrink:0;border-radius:3px;background:#6e87a5}.primary-nav .selected{background:#2e4a6c;font-weight:700}.primary-nav .selected i{background:#80b6ff}.sidebar-bottom{margin-top:auto;padding:24px;display:grid;gap:10px;font-size:11px;color:#b7c6d9}.sidebar-bottom button{border:0;background:transparent;color:inherit;padding:0;text-align:left;font-size:12px;min-height:28px}.sidebar-bottom button:hover{color:#fff}.workspace-main{margin-left:220px;min-height:100dvh;min-width:0}.workspace-topbar{height:66px;background:#fff;display:flex;align-items:center;padding:0 32px;gap:16px}.breadcrumb{display:flex;align-items:center;gap:10px;font-size:12px;color:var(--muted);min-width:0}.preview-label{margin-left:auto;border-radius:6px;background:var(--canvas);color:var(--muted);font-size:12px;padding:6px 14px;white-space:nowrap}.menu-button{display:none}.sidebar-backdrop{position:fixed;inset:0;background:#10203c66;border:0;z-index:29}#workspace{padding:24px 32px 40px;outline:none}#empty-module{min-height:calc(100dvh - 130px)}#warehouse-panel{max-width:1600px;margin:0 auto;min-width:0}.workspace-toast{position:fixed;bottom:28px;left:calc(50% + 110px);transform:translate(-50%);max-width:min(600px,calc(100vw - 40px));border-radius:8px;background:#192d47;color:#fff;padding:13px 20px;box-shadow:0 8px 32px #192d4726;z-index:100;font-size:14px;line-height:1.6}.wh-top{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:16px}.wh-top h1{margin:0;font-size:28px;line-height:40px;font-weight:700;overflow-wrap:anywhere}.wh-top p{margin:4px 0 0;line-height:22px;color:var(--muted)}.wh-actions,.wh-form-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.wh-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:40px;padding:8px 12px;border:1px solid var(--line);border-radius:6px;background:#fff;color:var(--ink);line-height:22px;text-align:center;font-size:14px;white-space:nowrap}.wh-button:hover:not(:disabled){background:#f6f9ff;border-color:#adc2ed}.wh-button.primary{background:var(--blue);color:#fff;border-color:var(--blue)}.wh-button.primary:hover{background:#1954d3}.wh-button.quiet{background:var(--canvas);color:var(--blue);border-color:transparent}.wh-link{color:var(--blue);line-height:22px}.wh-link:hover{text-decoration:underline;text-underline-offset:3px}.wh-back{margin:0 0 16px}.wh-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:16px}.wh-stats>button{border:1px solid var(--line);border-radius:8px;padding:16px;background:#fff;text-align:left;color:var(--ink);display:grid;gap:4px;min-width:0}.wh-stats>button[aria-pressed=true]{background:var(--soft);border:1px solid var(--blue);box-shadow:inset 0 0 0 .5px var(--blue)}.wh-stats>button>span{display:flex;justify-content:space-between;gap:10px;color:var(--muted);font-weight:500;line-height:22px}.wh-stats>button[aria-pressed=true]>span{color:var(--blue)}.wh-stats>button>div{display:flex;align-items:baseline;gap:8px}.wh-stats strong{font-size:28px;line-height:38px;font-variant-numeric:tabular-nums}.wh-stats small,.wh-stats p{font-size:12px;font-weight:400;color:var(--muted);line-height:18px}.wh-stats p{margin:0}.wh-stats>button>span>small{color:inherit}.wh-scopes{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:16px}.wh-scopes button:nth-child(1){min-width:90px}.wh-scopes button:nth-child(2){min-width:132px}.wh-scopes button:nth-child(3){min-width:220px}.wh-scopes>span{font-size:12px;color:var(--muted);margin-left:8px}.wh-filter-line{display:flex;gap:10px;align-items:stretch}.wh-filters label{font-size:0;min-width:0;flex:1}.wh-filters .wh-search{flex:2.4}.wh-filters input,.wh-filters select,.wh-fields input,.wh-fields select,.wh-fields textarea,.wh-reference-form input,.wh-reference-form select{display:block;width:100%;min-width:0;min-height:40px;border:1px solid var(--line);border-radius:6px;background:#fff;color:var(--ink);padding:8px 12px;font-size:14px;line-height:22px}.wh-filters input::placeholder,input::placeholder,textarea::placeholder{color:var(--muted)}.wh-filters select{color:var(--muted);padding-right:20px}.wh-filter-line>.wh-button{min-width:64px}.wh-more-filters{margin-top:8px}.wh-more-filters>summary{width:max-content;color:var(--muted);font-size:12px;cursor:pointer;line-height:24px}.wh-extra-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:10px 0}.wh-extra-filters label{font-size:12px;display:grid;gap:6px;color:var(--muted)}.wh-chips{display:flex;flex-wrap:wrap;gap:6px}.wh-chips:not(:empty){margin-top:10px}.wh-chip{background:var(--soft);color:var(--blue);border:0;font-size:12px;min-height:30px;padding:4px 10px}.wh-list-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:16px 0 12px}.wh-list-head h2{font-size:18px;line-height:28px;margin:0}.wh-list-head>div{display:flex;align-items:center;gap:14px;color:var(--muted);font-size:12px}.wh-list-head label,.wh-pager label{font-size:0}.wh-list-head select,.wh-pager select{font-size:12px;color:var(--muted);background:transparent;border:0;padding:6px;max-width:120px}.wh-table-wrap{overflow:auto;border:1px solid var(--line);border-radius:8px;background:#fff;max-width:100%}.wh-table{border-collapse:collapse;width:100%;text-align:left;font-size:14px}.wh-table th{height:44px;background:var(--canvas);font-weight:400;color:var(--muted);white-space:nowrap}.wh-table th,.wh-table td{padding:12px;border-bottom:1px solid var(--line)}.wh-table td{height:56px;line-height:22px;vertical-align:middle;max-width:330px;overflow-wrap:anywhere}.wh-table th:first-child{width:21%}.wh-table td:first-child{min-width:155px}.wh-table th:last-child{width:100px}.wh-table td:last-child{white-space:nowrap}.wh-table tr:last-child td{border-bottom:0}.wh-table tbody tr:hover{background:#fafcff}.wh-table small{display:block;color:var(--muted);font-size:11px}.wh-table th:nth-child(3),.wh-table th:nth-child(4),.wh-table th:nth-child(5),.wh-table th:nth-child(6){min-width:74px}.wh-pager{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;color:var(--muted);margin-top:16px}.wh-pager>div{display:flex;align-items:center;gap:12px}.wh-pager [aria-label=页码]{min-width:42px;text-align:center;color:var(--blue)}.wh-footnote{font-size:12px;line-height:20px;color:var(--muted);margin:16px 0 0}.wh-mobile-list{display:none}.wh-blank{background:#fff;border:1px solid var(--line);border-radius:8px;text-align:center;padding:48px 20px;line-height:24px}.wh-blank h2{font-size:18px;margin:0 0 8px}.wh-blank p{margin:0 0 18px;color:var(--muted);font-size:14px}.wh-blank .wh-actions{justify-content:center}.wh-card{border:1px solid var(--line);border-radius:8px;background:#fff;padding:24px;margin-bottom:16px;min-width:0}.wh-card h2{font-size:18px;line-height:28px;margin:0 0 20px}.wh-model-summary{display:flex;align-items:center;gap:24px}.wh-model-summary>div{flex:1;min-width:0}.wh-summary-line{display:flex;align-items:center;gap:20px;flex-wrap:wrap}.wh-summary-line h2{font-size:28px;line-height:38px;margin:0 20px 0 0}.wh-badge{display:inline-flex;align-items:center;padding:4px 14px;font-size:12px;line-height:20px;border-radius:6px;background:var(--canvas);color:var(--muted);white-space:nowrap}.wh-badge.blue{background:var(--soft);color:var(--blue)}.wh-badge.warning{background:#fff4dc;color:#976019}.wh-model-summary p{margin:10px 0 0;color:var(--muted);font-size:14px;line-height:22px}.wh-model-image{width:88px;height:88px;object-fit:contain;border:1px solid var(--line);border-radius:6px}.text-button{border:0;background:transparent;color:var(--blue);padding:0 8px;min-height:28px}.wh-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 28px;margin:0}.wh-facts dt{font-size:12px;color:var(--muted);margin-bottom:6px}.wh-facts dd{margin:0;line-height:22px;overflow-wrap:anywhere}.wh-records{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.wh-records button{text-align:left;display:grid;gap:8px;border:1px solid transparent;border-radius:6px;padding:16px;background:var(--canvas);color:var(--ink)}.wh-records button:hover{border-color:var(--line)}.wh-records strong{font-size:14px;font-weight:500}.wh-records span{font-size:12px;color:var(--muted)}.wh-history{padding:0;margin:20px 0 0;list-style:none;color:var(--muted);font-size:12px;line-height:22px}.wh-history li{padding:4px 0;overflow-wrap:anywhere}.wh-notice{background:var(--soft);padding:12px 16px;border-radius:6px;color:var(--ink);font-size:13px;line-height:22px;margin:12px 0}.wh-muted{font-size:13px;line-height:22px;color:var(--muted);overflow-wrap:anywhere}.wh-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 24px;align-items:start}.wh-fields>div,.wh-fields>label{min-width:0}.wh-fields label,.wh-reference-form label{display:grid;gap:6px;color:var(--ink);font-size:14px;line-height:22px}.wh-fields small{display:block;color:var(--muted);font-size:12px;line-height:20px;margin-top:4px}.wh-fields .inline-add{margin-top:12px;min-width:140px}.wide{grid-column:1/-1}.wh-fields textarea{resize:vertical}.wh-fields input[readonly]{background:var(--canvas);color:var(--muted)}.wh-fields [aria-invalid=true]{border-color:#c34545;box-shadow:0 0 0 1px #c34545}.wh-fields [data-sn-known]{margin-top:6px}.wh-fields [data-sn-reason]{margin-top:8px}.wh-fields [data-in-warehouse]>label+label{margin-top:12px}.wh-form-details summary{cursor:pointer;color:var(--muted);font-size:13px}.wh-form-details .wh-fields{padding-top:18px}.wh-fields .wh-notice{margin:0}.wh-form-actions{margin:16px 0 0}.wh-error{padding:12px 16px;background:#fff0ef;border:1px solid #f1ceca;color:#a83333;border-radius:6px;line-height:24px;margin:0;grid-column:1/-1;font-size:14px}.wh-error a{display:inline-block;margin-left:8px}#model-image-preview{display:flex;align-items:center;gap:14px;margin-top:8px}#model-image-preview:empty{display:none}#model-image-preview img{width:80px;height:80px;object-fit:contain;border:1px solid var(--line);border-radius:6px}.wh-dialog{width:min(560px,calc(100vw - 32px));padding:24px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--ink);max-height:85dvh;overflow-y:auto;box-shadow:0 20px 60px #192d4733}.wh-dialog::backdrop{background:#14294266}.wh-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}.wh-dialog-heading h2{font-size:20px;margin:0}.wh-dialog-heading button{font-size:24px;color:var(--muted);border:0;background:transparent;min-width:36px;min-height:36px;padding:0}.wh-reference-form,.wh-evidence{display:grid;gap:18px}.wh-evidence article{border:1px solid var(--line);padding:16px;border-radius:6px}.wh-evidence h3{font-size:15px;margin:0}.wh-evidence p{line-height:22px;font-size:13px;overflow-wrap:anywhere}.wh-evidence img{width:100%;height:auto;max-height:300px;object-fit:contain}.wh-loading{min-height:300px;display:flex;align-items:center;justify-content:center;gap:10px;color:var(--muted)}.wh-loading span{height:18px;width:18px;border-radius:50%;border:2px solid var(--line);border-top-color:var(--blue);animation:wh-spin .8s linear infinite}@keyframes wh-spin{to{transform:rotate(360deg)}}@media(min-width:1600px){.wh-table td{height:60px}}@media(max-width:1200px){#workspace{padding:24px}.workspace-topbar{padding:0 24px}.wh-filter-line{flex-wrap:wrap}.wh-filters .wh-search{flex:1 1 100%}.wh-filters label{flex:1 1 120px}.wh-scopes>span{display:none}.wh-list-head>div{gap:5px}.wh-table{min-width:780px}.detail-filters .wh-filter-line .wh-search{flex:2 1 200px}}@media(max-width:760px){.workspace-sidebar{transform:translate(-100%);width:220px}.sidebar-open .workspace-sidebar{transform:translate(0)}.workspace-main{margin-left:0}.workspace-topbar{height:60px;padding:0 16px;gap:12px}.menu-button{display:inline-flex;border:0;background:transparent;align-items:center;justify-content:center;color:var(--ink);font-size:22px;width:32px;height:40px;padding:0}.preview-label{font-size:10px;padding:5px 8px}.breadcrumb>a,.breadcrumb>span[aria-hidden]{display:none}.breadcrumb{font-size:12px}.workspace-toast{left:50%;bottom:18px;width:max-content;max-width:calc(100vw - 32px)}#workspace{padding:20px 16px 32px}.wh-top{align-items:start;gap:12px;flex-wrap:wrap}.wh-top h1{font-size:24px;line-height:34px}.wh-top p{font-size:13px}.wh-top>.wh-actions{margin-top:2px}.wh-stats{gap:10px}.wh-stats>button{padding:13px 12px;min-height:136px;align-content:start}.wh-stats>button>span{font-size:12px;gap:5px;flex-wrap:wrap}.wh-stats>button>span>small{font-size:10px}.wh-stats strong{font-size:26px}.wh-stats p{font-size:11px}.wh-scopes{gap:4px;flex-wrap:nowrap}.wh-scopes button:nth-child(n){min-width:0;padding:8px 10px;font-size:12px;flex:1;white-space:normal}.wh-scopes button:nth-child(3){flex:1.8}.wh-filters label{flex:1 1 calc(50% - 10px)}.wh-filter-line>.wh-button{flex:1}.wh-extra-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.wh-list-head{align-items:start;flex-wrap:wrap;gap:6px}.wh-list-head h2{font-size:17px}.wh-list-head>div{width:100%;justify-content:space-between}.wh-main-table{display:none}.wh-mobile-list{display:grid;gap:10px}.wh-mobile-row{background:#fff;padding:16px;border:1px solid var(--line);border-radius:8px}.wh-mobile-row h2{font-size:16px;margin:0 0 10px;line-height:24px}.wh-mobile-row p{color:var(--muted);font-size:13px;line-height:22px;margin:5px 0;overflow-wrap:anywhere}.wh-mobile-row>.wh-link:last-child{display:inline-flex;padding-top:8px;min-height:36px}.wh-pager{align-items:start;flex-wrap:wrap}.wh-pager>div{gap:8px}.wh-pager .wh-button{font-size:12px;min-height:36px;padding:6px 10px}.wh-pager>div:last-child{margin-left:auto}.wh-card{padding:20px 18px}.wh-fields{grid-template-columns:1fr;gap:18px}.wh-facts{gap:18px}.wh-facts dd{font-size:13px}.wh-card h2{font-size:17px}.wh-model-summary{gap:14px}.wh-model-image{width:64px;height:64px}.wh-summary-line{gap:8px}.wh-summary-line h2{width:100%;font-size:24px;margin-bottom:5px}.wh-badge{padding:3px 9px;font-size:11px}.wh-records{gap:8px}.wh-records button{padding:12px 10px}.wh-records strong{font-size:12px}.wh-records span{font-size:11px}.wh-form-actions{position:sticky;bottom:0;padding:12px 0;background:var(--canvas);gap:8px}.wh-form-actions .wh-button{font-size:13px}.wh-blank{padding:34px 16px}.wh-dialog{padding:20px}.skip-link{left:16px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}@media(min-width:761px){[data-in-warehouse]{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}[data-in-warehouse]>.wh-actions{grid-column:1/-1}.wh-fields [data-in-warehouse]>label+label{margin-top:0}}.wh-upload{display:flex;align-items:center;position:relative;min-height:40px;border:1px solid var(--line);border-radius:6px;padding:8px 12px;cursor:pointer}.wh-upload>input[type=file]{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.wh-upload:focus-within{outline:2px solid var(--blue);outline-offset:2px}.wh-upload>span{pointer-events:none;color:var(--ink)}.wh-owner-counts{display:flex;flex-wrap:wrap;column-gap:6px}.wh-owner-counts>span{white-space:nowrap}.wh-owner-counts>span+span:before{content:"·";margin-right:6px}
