.warehouse-custody{--wc-teal:#087f73;--wc-line:#d9e6e3;--wc-muted:#607582;color:#17333f;max-width:1360px;margin:0 auto}
.warehouse-custody *{box-sizing:border-box}.warehouse-custody button,.warehouse-custody input,.warehouse-custody select{font:inherit}
.wc-header{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:20px}.wc-header h2{margin:2px 0 8px}.wc-header p{margin:0;color:var(--wc-muted)}.wc-header .wc-kicker{font-size:12px;color:var(--wc-teal);font-weight:700}.wc-header-actions{display:flex;gap:10px;flex-wrap:wrap}
.wc-tabs{display:flex;gap:8px;flex-wrap:wrap;border-bottom:1px solid var(--wc-line);padding-bottom:14px}.wc-tabs button[aria-pressed=true]{background:var(--wc-teal);color:#fff;border-color:var(--wc-teal)}
.warehouse-custody button{border:1px solid var(--wc-line);border-radius:8px;background:#fff;color:#254653;padding:10px 14px;cursor:pointer;min-height:42px}.warehouse-custody button.primary{background:var(--wc-teal);color:#fff;border-color:var(--wc-teal)}.warehouse-custody button:disabled{opacity:.5;cursor:default}
.wc-message{min-height:26px;margin:14px 0;color:var(--wc-teal)}.wc-message.is-error,.wc-error{color:#a3372d}.wc-error{padding:10px;background:#fff2ed;border-radius:8px;overflow-wrap:anywhere}
.wc-content{display:grid;gap:16px}.wc-checkout{background:#fff;border:1px solid var(--wc-line);border-radius:16px;padding:22px;display:grid;gap:18px}.wc-scan-card{background:#eef8f5;border:1px solid #b9dcd4;border-radius:12px;padding:18px}.wc-person{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.wc-person strong{font-size:20px}.wc-scan-card form{display:flex;gap:12px;align-items:end}.wc-scan-card .wc-field{flex:1}.wc-scan-card input{font-size:22px!important;padding:16px!important}
.wc-field{display:grid;gap:7px;min-width:0}.wc-field>span{font-size:13px;font-weight:600}.wc-field input,.wc-field select{width:100%;min-width:0;border:1px solid #cadbd7;border-radius:8px;background:#fff;color:#17333f;padding:11px;font-size:16px}.wc-hint{font-size:13px;color:var(--wc-muted);margin:10px 0 0;line-height:1.6}.wc-section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.wc-section-title h3{margin:0}.wc-rows{border-top:1px solid var(--wc-line)}.wc-scan-row{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:15px 0;border-bottom:1px solid var(--wc-line)}.wc-scan-row>div{display:grid;gap:4px}.wc-scan-row code,.wc-record code{overflow-wrap:anywhere;font-family:inherit;font-size:13px}.wc-scan-row small,.wc-scan-row span{color:var(--wc-muted)}
.wc-checkout-footer{display:flex;align-items:center;justify-content:space-between;gap:20px}.wc-checkout-footer p{font-size:13px;color:var(--wc-muted)}.wc-checkout-footer button{font-size:18px;min-width:180px;min-height:52px}.wc-empty{color:var(--wc-muted);padding:25px;text-align:center}.wc-filters{display:flex;gap:12px;align-items:end;flex-wrap:wrap}.wc-filters .wc-field{flex:1;min-width:150px}.wc-records{display:grid;gap:14px}.wc-record{padding:18px;background:#fff;border:1px solid var(--wc-line);border-radius:12px;display:grid;gap:13px}.wc-record-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.wc-record-head>div{display:grid;gap:5px}.wc-record-head span,.wc-record-head small{color:var(--wc-muted)}.wc-tag{background:#e8f4ef;border-radius:7px;padding:5px 9px;font-size:12px;white-space:nowrap;color:var(--wc-teal)!important}.wc-record-meta{display:flex;gap:9px 22px;flex-wrap:wrap;font-size:13px;color:var(--wc-muted)}.warehouse-custody .wc-link{border:0;padding:0;min-height:0;color:var(--wc-teal);background:none;text-decoration:underline}.wc-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.wc-return-fields,.wc-old-fields{border:0;padding:0;margin:0;display:grid;gap:12px}.wc-check{display:flex;gap:10px;align-items:flex-start;line-height:1.6}.wc-check input{margin-top:5px;accent-color:var(--wc-teal);width:18px;height:18px;flex-shrink:0}.wc-request{display:flex;align-items:end;gap:12px}.wc-request .wc-field{flex:1}.wc-batch-footer{display:flex;justify-content:flex-end}.wc-detail{background:#fff;border:1px solid var(--wc-line);padding:18px;border-radius:12px}.wc-event{padding:12px 0;border-bottom:1px solid var(--wc-line);display:flex;gap:12px;flex-wrap:wrap}.wc-event p{width:100%;margin:0}.wc-badge-print{text-align:center;background:#fff;padding:20px;border:1px solid var(--wc-line);border-radius:12px}.wc-badge-print img{width:200px;max-width:100%}.wc-results{border-top:1px solid var(--wc-line);padding-top:12px}
body.warehouse-station-mode .sidebar,body.warehouse-station-mode .mobile-nav,body.warehouse-station-mode .mobile-menu-sheet,body.warehouse-station-mode .top-actions>:not(#logout-btn){display:none!important}body.warehouse-station-mode #app{display:block!important}body.warehouse-station-mode main{margin-left:0!important;width:100%}body.warehouse-station-mode .topbar{margin-left:0!important}body.warehouse-station-mode .warehouse-custody{max-width:1050px}
.wc-return-scan{display:flex;gap:12px;align-items:end;flex-wrap:wrap;background:#eef8f5;padding:15px;border:1px solid #b9dcd4;border-radius:10px}.wc-return-scan .wc-field{flex:1;min-width:180px}.wc-pagination{display:flex;justify-content:center;align-items:center;gap:15px;margin:15px 0}
.wc-person{flex-wrap:wrap}.wc-person-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.wc-person-actions .primary{min-height:48px;font-size:18px}body.warehouse-station-mode .topbar,body.warehouse-station-mode #repair-reminder-center-button,body.warehouse-station-mode .wc-tabs{display:none!important}
@media(max-width:700px){.wc-header,.wc-checkout-footer,.wc-scan-card form,.wc-request{align-items:stretch;flex-direction:column}.wc-grid{grid-template-columns:1fr}.wc-checkout{padding:14px}.wc-scan-card{padding:14px}.wc-record{padding:14px}.wc-record-head{flex-wrap:wrap}.wc-checkout-footer button{width:100%}.wc-person strong{font-size:17px}.wc-filters .wc-field{min-width:130px}}
