:root{--wiwi-orange-50:#fef9f0;--wiwi-orange-100:#fdf2e1;--wiwi-orange-200:#fbdcab;--wiwi-orange-300:#f8c46f;--wiwi-orange-400:#f5ae42;--wiwi-orange-500:#f2971b;--wiwi-orange-600:#dd8103;--wiwi-orange-700:#b76a01;--wiwi-orange-800:#8d5202;--wiwi-orange-900:#643a02;--wiwi-teal-50:#f5fbfc;--wiwi-teal-100:#eaf7f9;--wiwi-teal-200:#c4e9ef;--wiwi-teal-300:#96d8e3;--wiwi-teal-400:#6bc9d8;--wiwi-teal-500:#44bcce;--wiwi-teal-600:#22a1b4;--wiwi-teal-700:#157e8e;--wiwi-teal-800:#0f6471;--wiwi-teal-900:#0b4851;--wiwi-ember-500:#cd4400;--wiwi-ember-600:#a83800;--wiwi-ember-700:#822b00;--wiwi-gray-50:#f7f7f7;--wiwi-gray-100:#f0f0f0;--wiwi-gray-200:#ddd;--wiwi-gray-300:#c4c4c4;--wiwi-gray-400:#8a8a8a;--wiwi-gray-500:#626262;--wiwi-gray-600:#555;--wiwi-gray-700:#333;--wiwi-gray-800:#22262a;--wiwi-gray-900:#14181a;--wiwi-white:#fff;--wiwi-green-500:#1f7a45;--wiwi-green-100:#e6f4ec;--wiwi-amber-500:#8a5a00;--wiwi-amber-100:#fdf3dc;--wiwi-red-500:#c0281f;--wiwi-red-100:#fceae8;--wiwi-blue-500:#1e5fa8;--wiwi-blue-100:#e8f0fa;--wiwi-bg:var(--wiwi-white);--wiwi-surface:var(--wiwi-white);--wiwi-surface-sunken:var(--wiwi-gray-50);--wiwi-surface-raised:var(--wiwi-white);--wiwi-text:var(--wiwi-gray-700);--wiwi-text-muted:var(--wiwi-gray-500);--wiwi-text-subtle:var(--wiwi-gray-400);--wiwi-border:var(--wiwi-gray-200);--wiwi-border-strong:var(--wiwi-gray-400);--wiwi-focus-ring:var(--wiwi-ember-500);--wiwi-overlay:#14181a8c;--wiwi-success:var(--wiwi-green-500);--wiwi-success-tint:var(--wiwi-green-100);--wiwi-warning:var(--wiwi-amber-500);--wiwi-warning-tint:var(--wiwi-amber-100);--wiwi-danger:var(--wiwi-red-500);--wiwi-danger-tint:var(--wiwi-red-100);--wiwi-info:var(--wiwi-blue-500);--wiwi-info-tint:var(--wiwi-blue-100)}[data-theme=dark]{--wiwi-bg:var(--wiwi-gray-900);--wiwi-surface:var(--wiwi-gray-800);--wiwi-surface-sunken:#101315;--wiwi-surface-raised:#2a2f34;--wiwi-text:#eceef0;--wiwi-text-muted:#a8aeb4;--wiwi-text-subtle:#7c8288;--wiwi-border:#343a40;--wiwi-border-strong:#6a727a;--wiwi-focus-ring:var(--wiwi-orange-500);--wiwi-overlay:#000000b3;--wiwi-success:#4ade80;--wiwi-success-tint:#16281d;--wiwi-warning:#fbbf4e;--wiwi-warning-tint:#2a2110;--wiwi-danger:#f87171;--wiwi-danger-tint:#2c1717;--wiwi-info:#7db3f0;--wiwi-info-tint:#14202e}:root,[data-thermal=warm]{--wiwi-thermal-tint:var(--wiwi-orange-100);--wiwi-thermal-tint-strong:var(--wiwi-orange-200);--wiwi-thermal-fill:var(--wiwi-orange-500);--wiwi-thermal-fill-hover:var(--wiwi-orange-400);--wiwi-thermal-on-fill:var(--wiwi-gray-700);--wiwi-thermal-solid:var(--wiwi-ember-500);--wiwi-thermal-solid-hover:var(--wiwi-ember-600);--wiwi-thermal-solid-active:var(--wiwi-ember-700);--wiwi-thermal-on-solid:var(--wiwi-white);--wiwi-thermal-text:var(--wiwi-ember-500);--wiwi-thermal-text-strong:var(--wiwi-ember-600);--wiwi-thermal-border:var(--wiwi-orange-500);--wiwi-thermal-arrow:"▲";--wiwi-thermal-label:"溫感"}[data-thermal=cool]{--wiwi-thermal-tint:var(--wiwi-teal-100);--wiwi-thermal-tint-strong:var(--wiwi-teal-200);--wiwi-thermal-fill:var(--wiwi-teal-500);--wiwi-thermal-fill-hover:var(--wiwi-teal-400);--wiwi-thermal-on-fill:var(--wiwi-gray-700);--wiwi-thermal-solid:var(--wiwi-teal-700);--wiwi-thermal-solid-hover:var(--wiwi-teal-800);--wiwi-thermal-solid-active:var(--wiwi-teal-900);--wiwi-thermal-on-solid:var(--wiwi-white);--wiwi-thermal-text:var(--wiwi-teal-700);--wiwi-thermal-text-strong:var(--wiwi-teal-800);--wiwi-thermal-border:var(--wiwi-teal-500);--wiwi-thermal-arrow:"▼";--wiwi-thermal-label:"涼感"}[data-theme=dark],[data-theme=dark] [data-thermal=warm],[data-theme=dark][data-thermal=warm]{--wiwi-thermal-tint:#2a1e0b;--wiwi-thermal-tint-strong:#3d2c10;--wiwi-thermal-text:var(--wiwi-orange-500);--wiwi-thermal-text-strong:var(--wiwi-orange-500);--wiwi-thermal-border:var(--wiwi-orange-600)}[data-theme=dark] [data-thermal=cool],[data-theme=dark][data-thermal=cool]{--wiwi-thermal-tint:#0c2429;--wiwi-thermal-tint-strong:#113238;--wiwi-thermal-text:var(--wiwi-teal-500);--wiwi-thermal-text-strong:var(--wiwi-teal-500);--wiwi-thermal-border:var(--wiwi-teal-600)}:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--radius:8px;--radius-lg:12px;--shadow-sm:0 1px 2px #1018280f;--shadow-md:0 4px 12px #10182814}*{box-sizing:border-box}html,body,#root{height:100%}body{background:var(--wiwi-surface-sunken);color:var(--wiwi-text);margin:0;font-family:-apple-system,BlinkMacSystemFont,PingFang TC,Noto Sans TC,Microsoft JhengHei,system-ui,sans-serif;font-size:15px;line-height:1.5}h1,h2,h3{margin:0 0 .75rem;font-weight:700}p{margin:0 0 .5rem}a{color:var(--wiwi-thermal-text-strong)}.muted{color:var(--wiwi-text-muted)}.empty-state{color:var(--wiwi-text-muted);text-align:center;padding:1.5rem 0}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--wiwi-focus-ring);outline-offset:2px}.app-shell{flex-direction:column;min-height:100%;display:flex}.topbar{background:var(--wiwi-surface);border-bottom:1px solid var(--wiwi-border);z-index:10;flex-wrap:wrap;align-items:center;gap:1.5rem;padding:.75rem 1.25rem;display:flex;position:sticky;top:0}.topbar__brand-group{align-items:center;gap:.65rem;display:flex}.topbar__logo{width:auto;height:48px;display:block}.topbar__brand{white-space:nowrap;font-size:1.1rem;font-weight:800}.topnav{flex-wrap:wrap;flex:1;gap:.25rem;display:flex}.topnav__link{border-radius:var(--radius);color:var(--wiwi-text-muted);white-space:nowrap;padding:.4rem .7rem;font-size:.92rem;text-decoration:none}.topnav__link:hover{background:var(--wiwi-surface-sunken)}.topnav__link.is-active{background:var(--wiwi-thermal-solid);color:var(--wiwi-thermal-on-solid)}.topbar__user{white-space:nowrap;align-items:center;gap:.6rem;margin-left:auto;display:flex}.topbar__username{color:var(--wiwi-text-muted);font-size:.85rem}.page-container{flex-direction:column;flex:1;gap:1.25rem;width:100%;max-width:1200px;margin:0 auto;padding:1.25rem;display:flex}.page-title{font-size:1.4rem}.card{background:var(--wiwi-surface);border:1px solid var(--wiwi-border);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);padding:1.1rem 1.25rem}.form-grid{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:.9rem;margin-bottom:.9rem;display:grid}.form-field{color:var(--wiwi-text-muted);flex-direction:column;gap:.3rem;font-size:.85rem;display:flex}.form-field--inline{flex-direction:row;align-items:center;gap:.6rem}.form-actions{flex-wrap:wrap;gap:.6rem;margin-top:.75rem;display:flex}.checkbox-group{border:1px solid var(--wiwi-border);border-radius:var(--radius);flex-wrap:wrap;gap:.6rem 1rem;margin:0 0 .9rem;padding:.6rem .9rem;display:flex}.checkbox-group legend{color:var(--wiwi-text-muted);padding:0 .4rem;font-size:.8rem}.checkbox-field{align-items:center;gap:.35rem;font-size:.88rem;display:inline-flex}.input,.select,.textarea{font:inherit;border:1px solid var(--wiwi-border-strong);border-radius:var(--radius);background:var(--wiwi-surface);color:var(--wiwi-text);width:100%;padding:.5rem .65rem}.input-sm{max-width:6rem;padding:.3rem .45rem}.textarea{resize:vertical;font-family:inherit}.btn{border-radius:var(--radius);font:inherit;cursor:pointer;white-space:nowrap;border:1px solid #0000;justify-content:center;align-items:center;gap:.4rem;padding:.55rem 1.1rem;font-weight:600;text-decoration:none;display:inline-flex}.btn:disabled{opacity:.55;cursor:not-allowed}.btn-primary{background:var(--wiwi-thermal-solid);color:var(--wiwi-thermal-on-solid)}.btn-primary:hover:not(:disabled){background:var(--wiwi-thermal-solid-hover)}.btn-primary:active:not(:disabled){background:var(--wiwi-thermal-solid-active)}.btn-secondary{background:var(--wiwi-surface);color:var(--wiwi-text);border-color:var(--wiwi-border-strong)}.btn-secondary:hover:not(:disabled){background:var(--wiwi-surface-sunken)}.btn-sm{padding:.3rem .6rem;font-size:.82rem}.btn-block{width:100%}.btn-link{color:var(--wiwi-thermal-text-strong);cursor:pointer;font:inherit;text-align:left;background:0 0;border:none;padding:.2rem 0}.alert{border-radius:var(--radius);margin:.75rem 0;padding:.7rem .9rem;font-size:.9rem}.alert-error{background:var(--wiwi-danger-tint);color:var(--wiwi-text);border:1px solid var(--wiwi-danger)}.alert-warning{background:var(--wiwi-warning-tint);color:var(--wiwi-text);border:1px solid var(--wiwi-warning)}.alert__meta{opacity:.85;gap:1rem;margin:.2rem 0 0;font-size:.75rem;display:flex}.toast-container{z-index:1000;flex-direction:column;gap:.5rem;max-width:min(360px,100vw - 2rem);display:flex;position:fixed;bottom:1rem;right:1rem}.toast{background:var(--wiwi-surface);border-radius:var(--radius);box-shadow:var(--shadow-md);border-left:4px solid var(--wiwi-border);align-items:flex-start;gap:.5rem;padding:.65rem .9rem;font-size:.88rem;display:flex}.toast--error{border-left-color:var(--wiwi-danger)}.toast--success{border-left-color:var(--wiwi-success)}.toast__message{flex:1}.toast__request-id{color:var(--wiwi-text-muted);font-size:.7rem;display:block}.toast__close{cursor:pointer;color:var(--wiwi-text-muted);background:0 0;border:none;font-size:1rem;line-height:1}.status-badge{white-space:nowrap;border:1px solid #0000;border-radius:999px;align-items:center;padding:.18rem .65rem;font-size:.8rem;font-weight:700;display:inline-flex}.status-green{background:var(--wiwi-success-tint);color:var(--wiwi-text);border-color:var(--wiwi-success)}.status-blue{background:var(--wiwi-info-tint);color:var(--wiwi-text);border-color:var(--wiwi-info)}.status-yellow{background:var(--wiwi-warning-tint);color:var(--wiwi-text);border-color:var(--wiwi-warning)}.status-red{background:var(--wiwi-danger-tint);color:var(--wiwi-text);border-color:var(--wiwi-danger)}.status-orange{background:var(--wiwi-thermal-tint);color:var(--wiwi-thermal-text-strong);border-color:var(--wiwi-thermal-border)}.status-gray{background:var(--wiwi-surface-sunken);color:var(--wiwi-text-muted);border-color:var(--wiwi-border-strong)}.tag{border-radius:4px;margin-right:.25rem;padding:.1rem .4rem;font-size:.72rem;font-weight:700;display:inline-block}.tag-red{background:var(--wiwi-danger-tint);color:var(--wiwi-text)}.tag-orange{background:var(--wiwi-warning-tint);color:var(--wiwi-text)}.table-wrapper{width:100%;overflow-x:auto}.table{border-collapse:collapse;white-space:nowrap;width:100%;font-size:.88rem}.table th,.table td{border-bottom:1px solid var(--wiwi-border);text-align:left;padding:.55rem .7rem}.table thead th{color:var(--wiwi-text-muted);text-transform:none;font-size:.78rem;font-weight:700}.table--compact th,.table--compact td{padding:.35rem .5rem}.table-row--clickable{cursor:pointer}.table-row--clickable:hover{background:var(--wiwi-surface-sunken)}.pagination{justify-content:center;align-items:center;gap:1rem;margin-top:.75rem;display:flex}.pagination__info{color:var(--wiwi-text-muted);font-size:.85rem}.loading{color:var(--wiwi-text-muted);align-items:center;gap:.5rem;padding:1rem 0;display:flex}.spinner{border:2px solid var(--wiwi-border);border-top-color:var(--wiwi-thermal-solid);border-radius:50%;width:1rem;height:1rem;animation:.7s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.home-page,.trackings-page,.tracking-detail-page,.batch-page,.import-page,.export-page,.settings-page,.carriers-page,.monitoring-page,.users-page,.not-found-page{flex-direction:column;gap:1.1rem;display:flex}.query-section{background:var(--wiwi-surface);border:1px solid var(--wiwi-border);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);padding:1.25rem}.single-query-form{flex-wrap:wrap;gap:.6rem;display:flex}.single-query-form .input{flex:2;min-width:200px}.single-query-form .select{flex:1;min-width:140px}.result-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:.75rem;margin:.75rem 0 1rem;display:grid}.result-grid__item dt{color:var(--wiwi-text-muted);margin-bottom:.15rem;font-size:.78rem}.result-grid__item dd{margin:0;font-weight:600}.candidate-list__buttons{flex-wrap:wrap;gap:.5rem;margin-top:.5rem;display:flex}.batch-section textarea{margin-bottom:.6rem}.stat-grid{grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:.75rem;display:grid}.stat-grid--compact{grid-template-columns:repeat(auto-fit,minmax(100px,1fr));margin-bottom:.75rem}.stat-card{background:var(--wiwi-surface);border:1px solid var(--wiwi-border);border-radius:var(--radius);cursor:pointer;font:inherit;text-align:left;flex-direction:column;align-items:flex-start;gap:.2rem;padding:.8rem 1rem;display:flex}.stat-card:hover{border-color:var(--wiwi-thermal-border)}.stat-card--exception{background:var(--wiwi-danger-tint)}.stat-card--pickup{background:var(--wiwi-thermal-tint)}.stat-card--static{cursor:default}.stat-card--static:hover{border-color:var(--wiwi-border)}.stat-card__count{color:var(--wiwi-text);font-size:1.5rem;font-weight:800}.stat-card__label{color:var(--wiwi-text-muted);font-size:.82rem}.detail-card__header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;display:flex}.provider-chain{border-top:1px dashed var(--wiwi-border);margin-top:.75rem;padding-top:.75rem;font-size:.85rem}.timeline{flex-direction:column;gap:.9rem;margin:0;padding:0;list-style:none;display:flex}.timeline__item{border-left:2px solid var(--wiwi-border);gap:1rem;padding-left:.9rem;display:flex}.timeline__item--latest{border-left-width:3px;border-left-color:var(--wiwi-thermal-fill)}.timeline__time{min-width:9rem;color:var(--wiwi-text-muted);font-size:.85rem}.timeline__location{margin-bottom:.15rem;font-weight:700}.timeline__description{flex-wrap:wrap;align-items:center;gap:.5rem;font-size:.88rem;display:flex}.progress-bar{background:var(--wiwi-surface-sunken);border-radius:999px;height:.6rem;margin:.5rem 0 .3rem;overflow:hidden}.progress-bar__fill{background:var(--wiwi-thermal-fill);height:100%;transition:width .3s}.progress-bar__label{color:var(--wiwi-text-muted);font-size:.82rem}.import-summary{flex-wrap:wrap;gap:1.2rem;padding:0;font-weight:600;list-style:none;display:flex}.btn-danger{background:var(--wiwi-danger);color:var(--wiwi-white)}.btn-danger:hover:not(:disabled){opacity:.85}.row-actions{flex-wrap:wrap;align-items:center;gap:.4rem;display:flex}.confirm-inline{align-items:center;gap:.5rem;font-size:.85rem;display:inline-flex}.inline-edit-form{background:var(--wiwi-surface-sunken);border-radius:var(--radius);padding:.9rem}.login-page{justify-content:center;align-items:center;min-height:100vh;padding:1.5rem;display:flex}.login-card{flex-direction:column;gap:.85rem;width:100%;max-width:360px;display:flex}.login-card__logo{width:auto;height:48px;margin:0 auto .25rem;display:block}.login-card__title{text-align:center;font-size:1.3rem}.login-card__subtitle{text-align:center;color:var(--wiwi-text-muted);margin-top:-.5rem}@media (width<=640px){.page-container{padding:.85rem}.topbar{padding:.6rem .85rem}.topbar__user{margin-left:0}.single-query-form{flex-direction:column;align-items:stretch}.single-query-form .input,.single-query-form .select{min-width:0}.form-grid{grid-template-columns:1fr}.stat-grid{grid-template-columns:repeat(2,1fr)}.detail-card__header{flex-direction:column;align-items:flex-start}.timeline__item{flex-direction:column;gap:.2rem}.timeline__time{min-width:0}}
