.wh-module,.wh-dialog{--wh-primary:#07868D;--wh-border:#E5E9EF;--wh-muted:#5E6975;color:#27313A;font:14px/1.5 Inter,"PingFang SC","Microsoft YaHei",sans-serif}.wh-module *,.wh-dialog *{box-sizing:border-box}.wh-head{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:24px}.wh-head h1{font-size:24px;margin:6px 0}.wh-head p,.wh-head small,.wh-dialog small,.wh-muted{color:#5E6975;margin:0}.wh-card{background:white;border:1px solid var(--wh-border);border-radius:10px;overflow:hidden}.wh-actions,.wh-toolbar,.wh-pager{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.wh-toolbar,.wh-pager{padding:16px}.wh-toolbar h2{font-size:16px;margin:0}.wh-grow{flex:1}.wh-btn{border:1px solid #D8DEE7;background:white;border-radius:5px;min-height:38px;padding:8px 14px;color:#27313A;font:inherit;cursor:pointer}.wh-btn.primary{background:#07868D;border-color:#07868D;color:white}.wh-btn.primary:hover{background:#046B71}.wh-btn:disabled{opacity:.45;cursor:not-allowed}.wh-link{border:0;background:transparent;color:#07868D;padding:4px 6px;font:inherit;cursor:pointer;text-decoration:none}.wh-module :focus-visible,.wh-dialog :focus-visible{outline:3px solid #07868d40;outline-offset:2px}.wh-badge{display:inline-block;padding:3px 9px;border-radius:4px;background:#F0F2F5;color:#5E6975;white-space:nowrap}.wh-badge.ok{color:#2c8148;background:#edf7ef}.wh-badge.warn{color:#996413;background:#fff6e8}.wh-filters{padding:16px;background:#F6F8FA;border-bottom:1px solid var(--wh-border)}.wh-filters summary{font-weight:600;cursor:pointer;margin-bottom:16px}.wh-filter-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:16px}.wh-field{display:flex;flex-direction:column;gap:6px;min-width:0}.wh-field label{font-weight:500}.wh-field b{color:#E95D62;margin-right:4px}.wh-field input,.wh-field select,.wh-field textarea,.wh-pager select{font:inherit;border:1px solid #D8DEE7;background:white;border-radius:5px;min-height:38px;padding:8px 10px;width:100%;color:#27313A}.wh-field input[readonly]{background:#F6F8FA}.wh-field [aria-invalid]{border-color:#E95D62}.wh-field textarea{resize:vertical}.wh-error{color:#cf3e45;font-size:12px;min-height:0}.wh-errors{background:#fff1f1;border:1px solid #f1b9bc;padding:12px;color:#b3333b;margin-bottom:16px;border-radius:5px}.wh-errors[hidden]{display:none}.wh-table{overflow:auto;width:100%}.wh-table table{border-collapse:collapse;width:100%;min-width:900px;text-align:left}.wh-table th{background:#F6F8FA;font-weight:600;color:#5E6975;position:sticky;top:0;z-index:1}.wh-table td,.wh-table th{padding:14px 16px;border-bottom:1px solid var(--wh-border);white-space:nowrap}.wh-table tr:hover td{background:#FAFCFC}.wh-table td:last-child,.wh-table th:last-child{position:sticky;right:0;background:white}.wh-table th:last-child{background:#F6F8FA}.wh-table td.wh-wrap{white-space:normal;min-width:200px;max-width:320px;overflow-wrap:anywhere}.wh-empty{padding:40px!important;text-align:center;color:#8B95A1}.wh-pager{justify-content:flex-end}.wh-pager label{display:flex;align-items:center;gap:8px}.wh-pager select{width:auto}.wh-detail-summary{padding:20px 24px;display:flex;gap:16px;align-items:center}.wh-tabs{display:flex;overflow:auto;border-bottom:1px solid var(--wh-border);padding:0 24px;gap:24px}.wh-tabs button{font:inherit;white-space:nowrap;background:transparent;border:0;border-bottom:2px solid transparent;padding:14px 0;cursor:pointer}.wh-tabs button.active{border-color:#07868D;color:#07868D}#warehouseTab{padding:24px;min-width:0}.wh-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:0}.wh-grid dt{color:#5E6975;margin-bottom:8px}.wh-grid dd{margin:0;overflow-wrap:anywhere}.wh-note{border:1px solid #c5e7e7;background:#E9F7F7;padding:16px;border-radius:5px;color:#385f62;margin-top:24px;overflow-wrap:anywhere}.wh-note p{margin:8px 0}.wh-dialog{padding:0;width:min(760px,calc(100vw - 32px));max-height:calc(100dvh - 32px);border:1px solid #D8DEE7;border-radius:10px;box-shadow:0 20px 70px #142b3b33;overflow:hidden}.wh-dialog[open]{display:flex;flex-direction:column}.wh-dialog::backdrop{background:#15273166}.wh-dialog header{padding:20px 24px;display:flex;justify-content:space-between;gap:16px;border-bottom:1px solid var(--wh-border);flex-shrink:0}.wh-dialog h2{font-size:20px;margin:4px 0 0}.wh-dialog h3{font-size:15px;margin:16px 0}.wh-dialog #warehouseBody{padding:24px;overflow:auto;min-height:0}.wh-dialog footer{padding:16px 24px;display:flex;justify-content:flex-end;gap:8px;border-top:1px solid var(--wh-border);flex-shrink:0}.wh-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.wh-field.wide{grid-column:1/-1}.wh-checks{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:16px;max-height:300px;overflow:auto}.wh-checks label{padding:12px;border:1px solid var(--wh-border);border-radius:5px;overflow-wrap:anywhere}.wh-checks input{accent-color:#07868D;margin-right:8px}.wh-checks label[hidden]{display:none}.wh-audit{padding:16px;border-bottom:1px solid var(--wh-border)}.wh-audit p{color:#5E6975}.wh-audit-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.wh-audit pre{white-space:pre-wrap;word-break:break-word;font-size:12px;background:#F6F8FA;padding:16px;max-height:420px;overflow:auto}.wh-toast{position:fixed;z-index:9999;top:72px;left:50%;transform:translateX(-50%);max-width:calc(100vw - 32px);padding:12px 20px;border:1px solid #bce2db;border-radius:6px;box-shadow:0 8px 24px #142b3b26;background:white;color:#046B71;font:14px/1.5 sans-serif}.wh-toast[hidden]{display:none}@media(max-width:1100px){.wh-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.wh-head{align-items:flex-start;flex-direction:column}.wh-filter-grid,.wh-form-grid,.wh-grid,.wh-checks,.wh-audit-grid{grid-template-columns:1fr}.wh-btn,.wh-field input,.wh-field select,.wh-field textarea{min-height:44px}.wh-dialog #warehouseBody{padding:16px}.wh-dialog header{padding:16px}.wh-pager{justify-content:flex-start}.wh-detail-summary{padding:16px;align-items:flex-start}#warehouseTab{padding:16px}.wh-tabs{padding:0 16px}.wh-head h1{font-size:22px}}
