
#overstock-detail{--od-surface:#fff;--od-ink:light-dark(#263c56,#e3edf8);--od-muted:light-dark(#667b94,#a8b9cd);--od-line:light-dark(#dce6f1,#3a4b60);--od-head:light-dark(#edf4fe,#223b57);--od-soft:light-dark(#f6f9fd,#202f41);--od-blue:light-dark(#246ec6,#8abcff);--od-bluebg:light-dark(#eaf2fe,#243e5d);--od-green:light-dark(#277251,#91d1b0);--od-greenbg:light-dark(#eaf7f0,#203d34);--od-orange:light-dark(#94611b,#edc181);--od-orangebg:light-dark(#fff5e5,#413421);--od-red:light-dark(#b14848,#f3a9a9);--od-redbg:light-dark(#fff0f0,#442b32);color:var(--od-ink);font:13px/1.55 -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;background:var(--od-surface);border:1px solid var(--od-line);border-radius:10px;overflow:hidden;--od-pad:9px}
#overstock-detail *{box-sizing:border-box}
#overstock-detail header{display:flex;justify-content:space-between;align-items:center;padding:15px 18px;background:var(--od-head);gap:12px;border-bottom:1px solid var(--od-line)}
#overstock-detail h2{font-size:17px;font-weight:500;line-height:1.4;margin:0}
#overstock-detail .od-sub,#overstock-detail small{font-size:11px;color:var(--od-muted)}
#overstock-detail .od-body{padding:15px 16px}
#overstock-detail button,#overstock-detail select,#overstock-detail input{font:inherit;color:var(--od-ink);background:var(--od-surface);border:1px solid var(--od-line);border-radius:5px;padding:6px 10px;min-width:0}
#overstock-detail button{cursor:pointer;white-space:nowrap}
#overstock-detail button:disabled{opacity:.45;cursor:default}
#overstock-detail button.od-search-button{color:var(--od-blue);background:var(--od-bluebg);border-color:var(--od-blue)}
#overstock-detail .od-tabs{display:flex;gap:4px;border-bottom:1px solid var(--od-line);margin-bottom:13px}
#overstock-detail .od-tabs button{border:0;border-radius:5px 5px 0 0;padding:8px 14px;border-bottom:2px solid transparent;background:transparent}
#overstock-detail .od-tabs button[aria-selected="true"]{background:var(--od-bluebg);color:var(--od-blue);border-bottom-color:var(--od-blue);font-weight:500}
#overstock-detail .od-filter{display:grid;grid-template-columns:135px minmax(100px,1fr) auto auto;align-items:end;gap:8px;margin:0 0 12px}
#overstock-detail label{display:flex;flex-direction:column;gap:4px;color:var(--od-muted);font-size:11px}
#overstock-detail label input,#overstock-detail label select{width:100%;font-size:13px}
#overstock-detail .od-overview{border-radius:6px;border:1px solid var(--od-line);padding:10px 12px;background:var(--od-soft);margin-bottom:10px}
#overstock-detail .od-statline{display:flex;flex-wrap:wrap;align-items:center;gap:8px 15px;font-variant-numeric:tabular-nums}
#overstock-detail .od-statline strong{font-size:17px;font-weight:500;color:var(--od-blue)}
#overstock-detail .od-meta{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;color:var(--od-muted);font-size:11px;margin-bottom:8px}
#overstock-detail table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:12px}
#overstock-detail col:nth-child(1){width:27%}#overstock-detail col:nth-child(2){width:10%}#overstock-detail col:nth-child(3){width:14%}#overstock-detail col:nth-child(4){width:17%}#overstock-detail col:nth-child(5){width:14%}#overstock-detail col:nth-child(6){width:18%}
#overstock-detail th,#overstock-detail td{padding:var(--od-pad) 8px;border-bottom:1px solid var(--od-line);vertical-align:top;text-align:left;overflow-wrap:anywhere}
#overstock-detail thead th{background:var(--od-head);font-weight:500;color:var(--od-muted);padding:8px}
#overstock-detail td strong{font-weight:500;display:block}
#overstock-detail td small{display:block;font-size:11px;margin-top:2px}
#overstock-detail .od-number{text-align:right;font-variant-numeric:tabular-nums}
#overstock-detail .od-tag{display:inline-block;border-radius:4px;padding:2px 6px;white-space:nowrap;font-size:11px}
#overstock-detail .od-pass{color:var(--od-green);background:var(--od-greenbg)}
#overstock-detail .od-fail{color:var(--od-red);background:var(--od-redbg)}
#overstock-detail .od-pending,#overstock-detail .od-warning{color:var(--od-orange);background:var(--od-orangebg)}
#overstock-detail summary{color:var(--od-blue);cursor:pointer;font-size:12px}
#overstock-detail details p{margin:5px 0 0;color:var(--od-muted);font-size:11px}
#overstock-detail .od-pager{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:13px;font-size:11px;font-variant-numeric:tabular-nums}
#overstock-detail .od-pager button{font-size:12px}
#overstock-detail .od-footer{border-top:1px solid var(--od-line);background:var(--od-soft);padding:9px 17px;display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;font-size:11px;color:var(--od-muted)}
#overstock-detail [hidden]{display:none!important}
@media(max-width:560px){#overstock-detail header{padding:12px}#overstock-detail .od-body{padding:12px}#overstock-detail .od-filter{grid-template-columns:minmax(0,1fr) auto auto}#overstock-detail .od-filter label:first-child{grid-column:1/-1}#overstock-detail table,#overstock-detail tbody{display:block}#overstock-detail thead,#overstock-detail colgroup{display:none}#overstock-detail tbody tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);border:1px solid var(--od-line);border-radius:6px;margin-bottom:8px;padding:5px;background:var(--od-surface)}#overstock-detail td{display:block;border:0;padding:7px;min-width:0}#overstock-detail td:first-child,#overstock-detail td:last-child{grid-column:1/-1}#overstock-detail td:before{content:attr(data-label);display:block;color:var(--od-muted);font-size:11px;margin-bottom:3px}#overstock-detail td:first-child:before,#overstock-detail td:last-child:before{display:none}#overstock-detail .od-number{text-align:left}#overstock-detail .od-pager{gap:6px}#overstock-detail .od-pager button{padding:6px 8px}}
@media(pointer:coarse){#overstock-detail button,#overstock-detail summary,#overstock-detail select,#overstock-detail input{min-height:44px}#overstock-detail input,#overstock-detail select{font-size:16px}}

#overstock-detail{width:min(860px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:88vh;padding:0;overflow:auto;color-scheme:light}
#overstock-detail::backdrop{background:rgba(25,40,60,.3)}
#overstock-detail:not([open]){display:none}
body:has(#overstock-detail[open]){overflow:hidden}
#overstock-detail table{min-width:0;margin:10px 0}
#overstock-detail th,#overstock-detail td{font-size:inherit;white-space:normal}
#overstock-detail small{display:block}
#overstock-detail .od-overview strong{font-size:17px;color:#246ec6;margin-right:8px}
#overstock-detail .od-pager>*{flex:none;margin:0}
#product-follow-up-page>.overstock-detail-entry{display:flex;align-items:center;gap:8px;min-width:0;margin:10px 0}
#product-follow-up-page>.overstock-detail-entry>.follow-up-route-strip{flex:1;min-width:0;margin:0;overflow-wrap:anywhere}
#product-follow-up-page #overstock-detail-open{flex:none;margin:0;padding:6px 9px;min-height:28px;border:1px solid #a9c9ef;border-radius:5px;background:#eaf3ff;color:#2465aa;font-size:11px;font-weight:500;white-space:nowrap}
#product-follow-up-page #overstock-detail-open:hover{background:#dcecff;border-color:#76a6dd}
#product-follow-up-page #overstock-detail-open:focus-visible{outline:2px solid #377dcc;outline-offset:2px}
#product-follow-up-page.journal-operator-page>.overstock-detail-entry{display:flex!important}
/* Preserve the original explanation's hidden state for operator/pending views. */
#product-follow-up-page.journal-operator-page>.overstock-detail-entry>.follow-up-route-strip,
#product-follow-up-page.is-pending>.overstock-detail-entry>.follow-up-route-strip{display:none}
@media(max-width:600px){
 #product-follow-up-page>.overstock-detail-entry{flex-direction:column;align-items:flex-start}
 #product-follow-up-page>.overstock-detail-entry>.follow-up-route-strip{width:100%;box-sizing:border-box}
}

#overstock-detail label{min-width:0}
#overstock-detail input,#overstock-detail select{max-width:100%}
