:root{--text:#5f6368;--text-h:#1f1f1f;--bg:#fff;--surface:#fff;--surface-alt:#f8f9fa;--border:#00000026;--border-hover:#0000004d;--border-soft:#00000014;--radius-sm:6px;--radius:8px;--radius-md:10px;--radius-lg:12px;--control-height:38px;--status-inwarehouse-fg:#d93025;--status-inwarehouse-bg:#fce8e6;--status-transit-fg:#b06000;--status-transit-bg:#fef7e0;--status-shipped-fg:#137333;--status-shipped-bg:#e6f4ea;--status-other-fg:#5f6368;--status-other-bg:#f1f3f4;--status-all-dot:#9aa0a6;--scrollbar:#c9ced6;--scrollbar-hover:#9aa0a6;color:var(--text);background:var(--bg);-webkit-font-smoothing:antialiased;font:15px/1.5 system-ui,Segoe UI,Roboto,sans-serif}body{background:var(--bg);margin:0;overflow:hidden}@media (width<=640px){:root{--bg:#f4f6fb}body{overflow:auto}}.button{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);color:var(--text-h);font:inherit;cursor:pointer;padding:8px 16px}.button:disabled{opacity:.6;cursor:default}.control{box-sizing:border-box;height:var(--control-height);border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);color:var(--text-h);font:inherit;padding:0 12px;font-size:14px}.thin-scrollbar::-webkit-scrollbar{width:6px;height:6px}.thin-scrollbar::-webkit-scrollbar-track{background:0 0}.thin-scrollbar::-webkit-scrollbar-corner{background:0 0}.thin-scrollbar::-webkit-scrollbar-thumb{background:var(--scrollbar);border-radius:999px}.thin-scrollbar::-webkit-scrollbar-thumb:hover{background:var(--scrollbar-hover)}@supports not selector(::-webkit-scrollbar){.thin-scrollbar{scrollbar-width:thin;scrollbar-color:var(--scrollbar) transparent}}.stat-cards{grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:16px;display:grid}.stat-card{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface);flex-direction:column;align-items:flex-start;padding:14px 16px;display:flex}.stat-card__value{color:var(--text-h);font-variant-numeric:tabular-nums;font-size:24px;font-weight:600}.stat-card__label{color:var(--text);font-size:13px}@media (height<=760px){.stat-card{padding:10px 14px}.stat-card__value{font-size:20px}}@media (width<=640px){.stat-cards{gap:8px;margin-bottom:12px}.stat-card{padding:8px 10px}.stat-card__value{font-size:18px}.stat-card__label{font-size:12px}}.status-badge{background:var(--status-other-bg);color:var(--status-other-fg);border-radius:999px;padding:2px 8px;font-size:12px;font-weight:600;line-height:16px;display:inline-block}.status-badge--inwarehouse{background:var(--status-inwarehouse-bg);color:var(--status-inwarehouse-fg)}.status-badge--transit{background:var(--status-transit-bg);color:var(--status-transit-fg)}.status-badge--shipped{background:var(--status-shipped-bg);color:var(--status-shipped-fg)}.warehouse-table-card{border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);overflow:auto}.warehouse-table{table-layout:fixed;border-collapse:collapse;white-space:nowrap;width:100%;min-width:960px;font-size:13px}.warehouse-table th,.warehouse-table td{text-overflow:ellipsis;text-align:center;border-bottom:1px solid var(--border-soft);padding:10px 8px;line-height:20px;overflow:hidden}.warehouse-table th{z-index:1;box-shadow:inset 0 -1px 0 var(--border);background:var(--surface-alt);color:var(--text);text-transform:uppercase;letter-spacing:.04em;font-size:11px;font-weight:600;position:sticky;top:0}.warehouse-table td{color:var(--text-h)}.warehouse-table tbody tr:last-child td{border-bottom:none}.warehouse-table tbody tr:hover td{background:var(--surface-alt)}.warehouse-table .col-receipt{width:84px}.warehouse-table .col-date{width:92px}.warehouse-table .col-phone{width:104px}.warehouse-table .col-quantity{width:52px}.warehouse-table .col-unit{width:56px}.warehouse-table .col-location{width:76px}.warehouse-table .col-packing{width:72px}.warehouse-table .col-destination{width:104px}.warehouse-table .col-status{width:112px}.warehouse-table .unit-inline,.warehouse-table .qty-inline{display:none}.warehouse-table .num,.warehouse-table .mono{font-variant-numeric:tabular-nums}.warehouse-table .warehouse-table__message-row td.warehouse-table__message{text-align:center;color:var(--text);padding:40px}@media (width>=641px) and (width<=1024px){.warehouse-table{min-width:1280px}}@media (width<=640px){.warehouse-table-card{background:0 0;border:none;border-radius:0}.warehouse-table,.warehouse-table tbody{white-space:normal;min-width:0;display:block}.warehouse-table thead{display:none}.warehouse-table tbody tr{background:var(--surface);border-radius:12px;grid-template-columns:auto auto auto minmax(0,1fr);grid-template-areas:"receipt receipt receipt status""customer customer customer customer""phone phone phone phone""desc desc desc desc""loc dest date.";align-items:center;margin-bottom:10px;padding:14px;display:grid;box-shadow:0 2px 6px #0000000d}.warehouse-table td,.warehouse-table tbody tr:last-child td,.warehouse-table tbody tr:hover td{text-align:left;white-space:nowrap;background:0 0;border:none;width:auto;min-width:0;padding:0;line-height:1.4;display:block}.warehouse-table .col-receipt,.warehouse-table .col-date,.warehouse-table .col-phone,.warehouse-table .col-quantity,.warehouse-table .col-unit,.warehouse-table .col-location,.warehouse-table .col-packing,.warehouse-table .col-destination,.warehouse-table .col-status{width:auto}.warehouse-table .col-receipt{color:#202124;grid-area:receipt;font-size:16px;font-weight:700}.warehouse-table .col-receipt .main:before{content:"#"}.warehouse-table .col-status{grid-area:status;justify-self:end;padding-left:8px}.warehouse-table .status-badge{border-radius:8px;padding:3px 8px}.warehouse-table .col-customer{color:#202124;grid-area:customer;margin-top:6px;font-size:15px;font-weight:600}.warehouse-table .col-phone{color:var(--text);grid-area:phone;margin-top:2px}.warehouse-table .col-phone:before{content:"Tel: "}.warehouse-table td.col-description{color:#3c4043;white-space:normal;overflow-wrap:anywhere;grid-area:desc;margin-top:4px;font-size:14px}.warehouse-table .qty-inline{display:inline}.warehouse-table .col-location{grid-area:loc}.warehouse-table .col-destination{grid-area:dest}.warehouse-table .col-date{grid-area:date}.warehouse-table .col-location,.warehouse-table .col-destination,.warehouse-table .col-date{color:var(--text);margin-top:8px;margin-right:12px;font-size:13px}.warehouse-table .col-location:before{content:"📍 "}.warehouse-table .col-destination{align-items:center;gap:4px;display:flex}.warehouse-table .col-destination:before{content:"";width:15px;height:15px;-webkit-mask:var(--icon-ferry) center / contain no-repeat;-webkit-mask:var(--icon-ferry) center / contain no-repeat;mask:var(--icon-ferry) center / contain no-repeat;background:currentColor;flex:none}.warehouse-table .col-quantity,.warehouse-table .col-unit,.warehouse-table .col-packing{display:none}.warehouse-table .warehouse-table__message-row{background:var(--surface);border-radius:12px;display:block}.warehouse-table .warehouse-table__message-row td.warehouse-table__message{text-align:center;padding:40px;display:block}}.warehouse-table{--icon-ferry:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6,6H18V9.96L12,8L6,9.96M3.94,19H4C5.6,19 7,18.12 8,17C9,18.12 10.4,19 12,19C13.6,19 15,18.12 16,17C17,18.12 18.4,19 20,19H20.05L21.95,12.31C22.03,12.06 22,11.78 21.89,11.54C21.76,11.3 21.55,11.12 21.29,11.04L20,10.62V6C20,4.89 19.1,4 18,4H15V1H9V4H6A2,2 0 0,0 4,6V10.62L2.71,11.04C2.45,11.12 2.24,11.3 2.11,11.54C2,11.78 1.97,12.06 2.05,12.31M20,21C18.61,21 17.22,20.53 16,19.67C13.56,21.38 10.44,21.38 8,19.67C6.78,20.53 5.39,21 4,21H2V23H4C5.37,23 6.74,22.65 8,22C10.5,23.3 13.5,23.3 16,22C17.26,22.65 18.62,23 20,23H22V21H20Z'/%3E%3C/svg%3E")}.filter-select{flex:none;position:relative}.filter-select__button{cursor:pointer;align-items:center;gap:8px;min-width:180px;padding-right:10px;transition:border-color .15s;display:inline-flex}.filter-select__button:hover,.filter-select__button:focus-visible,.filter-select--open .filter-select__button{border-color:var(--border-hover);outline:none}.filter-select__icon,.filter-select__chevron,.filter-select__check{flex:none;width:16px;height:16px}.filter-select__icon,.filter-select__chevron{color:var(--text)}.filter-select__value{text-align:left;flex:1}.filter-select__chevron{transition:transform .2s}.filter-select--open .filter-select__chevron{transform:rotate(180deg)}.filter-select__menu{z-index:10;box-sizing:border-box;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);min-width:100%;margin:0;padding:6px;list-style:none;animation:.14s ease-out filter-select-in;position:absolute;top:calc(100% + 6px);right:0;box-shadow:0 8px 24px #00000014}@keyframes filter-select-in{0%{opacity:0;transform:translateY(-4px)}}.filter-select__option{border-radius:var(--radius-sm);color:var(--text-h);white-space:nowrap;cursor:pointer;align-items:center;gap:10px;padding:8px 10px;font-size:14px;display:flex}.filter-select__option--active{background:var(--surface-alt)}.filter-select__option[aria-selected=true]{font-weight:600}.filter-select__dot{border-radius:50%;flex:none;width:8px;height:8px}.filter-select__label{flex:1}.filter-select__count{color:var(--text);font-variant-numeric:tabular-nums;font-size:12px}.filter-select__check{color:var(--text-h);visibility:hidden}.filter-select__option[aria-selected=true] .filter-select__check{visibility:visible}@media (width<=640px){.filter-select__button{min-width:0}}.warehouse-toolbar{align-items:center;gap:8px;margin-bottom:12px;display:flex}.warehouse-toolbar__count{white-space:nowrap;color:var(--text);margin:0;font-size:13px}.warehouse-toolbar__search{flex:0 320px;min-width:0;margin-left:auto}@media (width<=640px){.warehouse-toolbar{z-index:5;background:var(--bg,#fff);flex-wrap:wrap;margin:0 -16px 8px;padding:8px 16px;position:sticky;top:0}.warehouse-toolbar .filter-select__button{min-width:0}.warehouse-toolbar__count{flex-basis:100%;order:3;font-size:12px}.warehouse-toolbar__search{flex:auto;margin-left:0;font-size:16px}}.warehouse-page{box-sizing:border-box;flex-direction:column;max-width:1280px;height:100dvh;margin:0 auto;padding:32px 24px;display:flex}.warehouse-page>*{flex:none}.warehouse-page>.warehouse-table-card{flex:0 auto;min-height:120px}.warehouse-page__header{justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px;display:flex}.warehouse-page__title{color:var(--text-h);margin:0;font-size:28px;font-weight:600}.alert{border-radius:var(--radius);padding:16px}.alert--warning{color:#8a4b00;background:#fef7e0;margin-bottom:16px}.alert--error{color:#a50e0e;background:#fce8e6}@media (height<=760px){.warehouse-page{padding-top:20px;padding-bottom:16px}.warehouse-page__header{margin-bottom:16px}}@media (width>=641px) and (width<=1024px){.warehouse-page{padding:24px 20px 20px}}@media (width<=640px){.warehouse-page{height:auto;min-height:100dvh;padding:16px 16px 12px}.warehouse-page>.warehouse-table-card{overflow:visible}.warehouse-page__header{margin-bottom:14px}.warehouse-page__title{font-size:22px}.warehouse-page__refresh{padding:6px 12px;font-size:14px}}
