body.hl-full-inbound-active .app-main{display:none!important}
#hl-full-inbound{--fi-blue:#0879c4;--fi-ink:#20344c;--fi-muted:#596a7f;--fi-border:#dce4ee;--fi-surface:#fff;--fi-bg:#f3f6fa;box-sizing:border-box;height:var(--fi-height,calc(100dvh - 100px));overflow:auto;overscroll-behavior:contain;padding:22px;background:var(--fi-bg);color:var(--fi-ink);font-family:inherit;font-size:14px;line-height:1.5;scrollbar-color:#9caabb #edf1f6;scrollbar-width:thin;font-variant-numeric:tabular-nums}
#hl-full-inbound[hidden]{display:none}
#hl-full-inbound *{box-sizing:border-box}
#hl-full-inbound ::selection{color:#102f4b;background:#cde9ff}
#hl-full-inbound button,#hl-full-inbound input,#hl-full-inbound select{font:inherit;caret-color:var(--fi-blue)}
#hl-full-inbound button{min-height:34px;padding:6px 16px;border:1px solid #cbd8e7;border-radius:4px;color:var(--fi-ink);background:#fff;cursor:pointer;transition:background-color .15s ease-out,border-color .15s ease-out}
#hl-full-inbound button:hover{border-color:var(--fi-blue);background:#f1f8ff}
#hl-full-inbound button:disabled{color:#718096;background:#f4f6f9;cursor:default;opacity:.7}
#hl-full-inbound :is(button,input,select,[tabindex]):focus-visible{outline:2px solid var(--fi-blue);outline-offset:3px}
#hl-full-inbound h1,#hl-full-inbound h2,#hl-full-inbound p{margin:0}
.fi-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}
.fi-heading h1{font-size:22px;line-height:1.4;font-weight:700;color:var(--fi-ink)}
.fi-heading p{margin-top:5px!important;color:var(--fi-muted)}
.fi-panel,.fi-section{background:var(--fi-surface);border:1px solid var(--fi-border);border-radius:6px}
.fi-status-tabs{display:flex;gap:10px;flex-wrap:wrap;padding:0 18px;border-bottom:1px solid var(--fi-border)}
#hl-full-inbound .fi-status-tabs button{padding:15px 12px;border:0;border-bottom:2px solid transparent;border-radius:0;color:var(--fi-muted);background:transparent;white-space:nowrap}
#hl-full-inbound .fi-status-tabs button.active{color:var(--fi-blue);border-bottom-color:var(--fi-blue);font-weight:600}
.fi-status-tabs span{margin-left:7px;font-weight:400}
.fi-filters{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;padding:20px 18px}
.fi-filters label{display:flex;flex-direction:column;gap:6px;min-width:150px}
.fi-filters label>span{color:var(--fi-muted);font-size:13px}
.fi-filters .fi-search{width:330px;max-width:100%}
#hl-full-inbound input,#hl-full-inbound select{height:36px;padding:6px 10px;border:1px solid #cbd8e7;border-radius:4px;background:#fff;color:var(--fi-ink);min-width:0}
#hl-full-inbound input::placeholder{color:#67778b;opacity:1}
#hl-full-inbound .fi-primary{background:var(--fi-blue);color:#fff;border-color:var(--fi-blue)}
.fi-source{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:11px 18px;border-top:1px solid #e6ecf3;background:#f8fafc;color:var(--fi-muted);font-size:12px}
.fi-table-scroll{width:100%;overflow:auto;scrollbar-color:#9caabb #edf1f6;scrollbar-width:thin}
.fi-table{width:100%;min-width:1130px;border-collapse:collapse;text-align:left;font-size:13px}
.fi-table th{padding:13px 16px;background:#f6f8fb;border-bottom:1px solid var(--fi-border);font-weight:600;color:#31455f;white-space:nowrap}
.fi-table th>span{display:block;font-size:12px;font-weight:400;color:var(--fi-muted);margin-top:3px}
.fi-table td{padding:19px 16px;border-bottom:1px solid #e5ecf4;vertical-align:middle}
.fi-table tbody tr:last-child td{border-bottom:0}
.fi-table tbody tr:hover{background:#f8fbff}
.fi-table th:first-child{width:24%}
.fi-table .fi-secondary{display:block;margin-top:4px;color:var(--fi-muted);font-size:12px;max-width:320px;overflow-wrap:anywhere}
#hl-full-inbound .fi-link{border:0;background:transparent;padding:4px 0;min-height:30px;color:var(--fi-blue);text-align:left;text-underline-offset:4px}
#hl-full-inbound .fi-link:hover{background:transparent;text-decoration:underline}
#hl-full-inbound .fi-id{font-weight:600;font-size:14px}
.fi-store{display:flex;flex-direction:column;gap:3px;min-width:75px;color:#3d526b}
.fi-store>span:first-child{display:flex;align-items:center;gap:5px}
.fi-store img{display:inline-block;object-fit:contain}
.fi-store>span+span{padding-left:23px;font-size:12px}
.fi-quantity{white-space:nowrap}.fi-quantity>span{padding:0 5px;color:var(--fi-muted)}
.fi-warehouse{max-width:250px;min-width:180px;color:var(--fi-muted)}
.fi-amount{white-space:nowrap}.fi-has-fee{font-weight:600;color:#a34817}
.fi-status{display:inline-block;padding:4px 9px;white-space:nowrap;border-radius:4px;background:#eef2f7;color:#4f627b;font-size:12px}
.fi-status-waiting,.fi-status-scheduled{background:#fff3d9;color:#805800}
.fi-status-received,.fi-status-processing{background:#e7f2ff;color:#145e9c}
.fi-status-completed{background:#e4f5ed;color:#19704c}
.fi-status-cancelled{background:#fceeee;color:#994343}
.fi-pagination{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 18px;border-top:1px solid var(--fi-border);color:var(--fi-muted);font-size:13px}
.fi-pagination>div,.fi-pagination label{display:flex;align-items:center;gap:12px}
.fi-pagination select{height:32px!important}
.fi-loading{min-height:300px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:15px;color:var(--fi-muted);text-align:center}
.fi-loading strong{font-size:16px;color:var(--fi-ink)}
.fi-loading i{height:28px;width:28px;border:3px solid #dcecf8;border-top-color:var(--fi-blue);border-radius:50%;animation:fi-spin .8s linear infinite}
.fi-empty{padding:42px 20px;text-align:center;color:var(--fi-muted)}
.fi-empty strong{display:block;color:var(--fi-ink);font-size:15px}.fi-empty p{margin-top:8px!important}.fi-error button{margin-top:16px}
.fi-warning{padding:10px 18px;color:#805800;background:#fff5df}
.fi-breadcrumb{display:flex;align-items:center;gap:12px;margin-bottom:15px;color:var(--fi-muted);font-size:13px}
.fi-detail-summary{padding:20px;margin-bottom:20px}
.fi-detail-identity{display:flex;align-items:center;gap:20px;padding-bottom:20px;border-bottom:1px solid var(--fi-border)}
.fi-detail-identity>span:last-child{margin-left:auto;color:var(--fi-muted);font-size:12px}
.fi-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;margin:20px 0 0}
.fi-facts dt{color:var(--fi-muted);font-size:13px}.fi-facts dd{margin:6px 0 0;font-weight:600;font-size:18px;overflow-wrap:anywhere}
.fi-facts>div:nth-child(n+5){grid-column:span 2}.fi-facts>div:nth-child(n+5) dd{font-size:14px;font-weight:400}
.fi-selling{margin-top:18px!important;padding:12px 14px;background:#eff7ff;color:#285b84;font-size:13px}
.fi-section{margin-top:20px;overflow:hidden}.fi-section h2{font-size:16px;padding:17px 20px;border-bottom:1px solid var(--fi-border)}
.fi-products{min-width:800px}.fi-products th:first-child{width:46%}.fi-product{display:flex;align-items:center;gap:14px;max-width:560px}.fi-product>img{width:64px;height:64px;object-fit:contain;border:1px solid var(--fi-border);border-radius:4px}.fi-product strong{display:block;font-size:13px;font-weight:500;max-width:50ch}.fi-product span{display:block;margin-top:7px;color:var(--fi-muted);font-size:12px}.fi-product small{background:#edf1f7;padding:2px 5px;border-radius:3px;font-size:12px}
.fi-fee-summary{display:flex;flex-wrap:wrap;gap:28px;padding:18px 20px;background:#f8fafc;font-size:13px;color:var(--fi-muted)}
.fi-fee-summary b{margin-left:9px;color:var(--fi-ink);font-size:16px}.fi-footnote{padding:12px 20px;color:var(--fi-muted);font-size:12px}
.fi-timeline{list-style:none;padding:22px 24px;margin:0}.fi-timeline li{position:relative;display:flex;flex-direction:column;gap:5px;padding:0 0 22px 24px;border-left:1px solid #b8d9c9;color:var(--fi-muted);font-size:13px}.fi-timeline li:last-child{border-left-color:transparent;padding-bottom:0}.fi-timeline li:before{position:absolute;top:5px;left:-4px;width:7px;height:7px;border-radius:50%;background:#25845e;content:''}.fi-timeline strong{color:#315542;font-weight:500}.fi-timeline time{font-size:12px}
.fi-toast{position:fixed;z-index:30000;left:50%;top:110px;transform:translateX(-50%);padding:12px 20px;border:1px solid #ced9e7;border-radius:5px;background:white;color:#20344c;box-shadow:0 8px 22px #18334a20}
@keyframes fi-spin{to{transform:rotate(360deg)}}
@media(max-width:850px){#hl-full-inbound{padding:14px}.fi-heading{align-items:flex-start}.fi-heading h1{font-size:20px}.fi-status-tabs{padding:0 10px;gap:2px}.fi-filters{padding:16px 14px}.fi-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.fi-detail-identity{flex-wrap:wrap}.fi-detail-identity>span:last-child{margin-left:0;flex-basis:100%}.fi-pagination{flex-wrap:wrap}.fi-pagination>div{gap:8px}}
@media(max-width:520px){#hl-full-inbound{padding:10px}.fi-heading{gap:10px}.fi-heading p{font-size:13px}.fi-filters label,.fi-filters .fi-search{width:100%}.fi-filters button{min-height:42px}.fi-heading>button{flex-shrink:0}.fi-facts{gap:18px}.fi-pagination>div{width:100%;flex-wrap:wrap}.fi-pagination label{margin-right:auto}}
@media(prefers-reduced-motion:reduce){#hl-full-inbound button{transition:none}.fi-loading i{animation:none}}
