:root{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#18263e;background:#f7f9fc;font-synthesis:none;--navy:#15253f;--blue:#245eea;--muted:#68778c;--border:#e1e7ef;--surface:#fff}*{box-sizing:border-box}body{margin:0;font-size:1rem;line-height:1.5}button,input,textarea{font:inherit}button,a,input,textarea,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button:disabled{cursor:not-allowed;opacity:.5}a{color:var(--blue);text-decoration:none}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible{outline:3px solid #8bacff;outline-offset:3px}h1,h2,h3,p{margin:0}h1{font-size:2rem;line-height:1.2;letter-spacing:-.8px}h2{font-size:1.25rem;line-height:1.35;letter-spacing:-.35px}h3{font-size:1rem}svg{fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}label{display:block;font-size:.875rem;font-weight:600}input,textarea{display:block;width:100%;min-width:0;padding:12px 13px;margin-top:8px;color:var(--navy);background:#fff;border:1px solid #cdd6e3;border-radius:8px;font-size:1rem;font-weight:400;line-height:1.5}input:focus,textarea:focus{border-color:var(--blue)}input::placeholder{color:#7a8799}textarea{resize:vertical}code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.875rem;font-variant-numeric:tabular-nums}summary{cursor:pointer;font-size:.875rem;font-weight:600;min-height:40px;align-content:center}details[open]>summary{margin-bottom:10px}.muted{color:var(--muted)}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:10px 17px;border:1px solid transparent;border-radius:8px;font-size:.9375rem;font-weight:600;line-height:1.4;white-space:nowrap}.primary{color:#fff;background:var(--blue)}.primary:hover:not(:disabled){background:#1b50d0}.secondary{background:#fff;border-color:#cdd6e3}.secondary:hover:not(:disabled){background:#f3f6fb}.destructive{background:#b93344;color:#fff}.text-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:9px 2px;border:0;background:none;color:var(--blue);font-size:.9375rem;font-weight:600;line-height:1.5}.text-button:hover:not(:disabled){text-decoration:underline}.danger{color:#b33143}.button-row{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:16px}.button-row.left{justify-content:flex-start}.plus{font-size:1.375rem;font-weight:400;line-height:1}.site-header{height:76px;border-bottom:1px solid var(--border);background:var(--surface)}.header-inner{max-width:1060px;height:100%;margin:auto;padding:0 28px;display:flex;align-items:center;gap:32px}.brand{display:inline-flex;align-items:center;gap:9px;flex:none;border:0;background:none;padding:0;font-size:1.1875rem;letter-spacing:-.5px;font-weight:750;color:var(--navy)}.brand img{border-radius:9px}.main-nav{display:flex;gap:28px;height:100%;align-items:center;margin-left:20px;margin-right:auto}.main-nav button{display:flex;align-items:center;gap:8px;height:100%;border:0;border-bottom:2px solid transparent;background:none;padding:0 1px;color:var(--muted);font-size:.9375rem;font-weight:600}.main-nav button svg{width:19px;height:19px}.main-nav button.current{color:var(--blue);border-bottom-color:var(--blue)}.collection-badge{display:flex;flex-direction:column;align-items:flex-end;gap:2px;padding:5px 0;border:0;background:none;color:var(--muted);font-size:.75rem;line-height:1.4}.collection-badge code{font-size:.8125rem;color:#4f6078;white-space:nowrap}.workspace{max-width:1060px;margin:auto;padding:0 28px 40px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:36px 0 26px}.list-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;padding-bottom:18px}.segmented{display:flex;gap:4px;padding:3px;background:#e9eef6;border-radius:9px}.segmented button{display:flex;align-items:center;justify-content:center;gap:9px;min-height:39px;padding:8px 14px;border:0;border-radius:6px;background:none;font-size:.875rem;font-weight:600;color:var(--muted)}.segmented button.selected{background:#fff;color:var(--navy);box-shadow:0 1px 3px #15253f0c}.segmented button span{font-size:.875rem;color:#6c7b91}.search-field{width:250px;position:relative}.search-field svg{position:absolute;left:12px;top:12px;width:18px;height:18px;color:#7f8b9d}.search-field input{padding:9px 12px 9px 38px;margin:0;min-height:43px}.parcel-list{overflow:hidden;background:#fff;border:1px solid var(--border);border-radius:12px}.parcel-row{width:100%;display:grid;grid-template-columns:96px minmax(0,1fr) auto;align-items:center;gap:20px;min-height:134px;padding:19px 22px;border:0;border-bottom:1px solid #e9edf3;text-align:left;background:#fff}.parcel-row:last-child{border-bottom:0}.parcel-row:hover{background:#f9fbff}.product-cover{position:relative;display:flex;align-items:center;justify-content:center;width:96px;height:96px;flex:none;background:#f2f5f9;border:1px solid #e7ecf3;border-radius:10px;overflow:hidden;color:#93a3b9}.product-cover>svg{width:34px;height:34px;stroke-width:1.3}.product-cover img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#fff}.parcel-copy{min-width:0;display:flex;flex-direction:column;align-items:flex-start}.parcel-title{font-size:1rem;font-weight:650;line-height:1.45;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow-wrap:anywhere}.tracking-number{display:block;margin-top:5px;max-width:100%;overflow:hidden;text-overflow:ellipsis;color:var(--muted);font-size:.875rem;font-variant-numeric:tabular-nums}.row-status{display:flex;align-items:center;gap:7px;margin-top:10px;font-size:.875rem;color:#52637b}.status-dot{display:inline-block;width:6px;height:6px;background:#8998ad;border-radius:50%;flex:none}.status-dot[data-status=in_transit],.status-dot[data-status=out_for_delivery]{background:#4779f1}.status-dot[data-status=delivered]{background:#299469}.status-dot[data-status=exception]{background:#bf6832}.row-right{display:flex;align-items:flex-end;flex-direction:column;gap:3px;align-self:flex-start;padding-top:5px}.arrival-label{font-size:.875rem;color:var(--muted)}.arrival-date{font-size:.875rem;font-weight:600}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;min-height:260px;padding:30px 20px;background:#fff;border:1px solid var(--border);border-radius:12px;text-align:center}.empty-state>svg{width:44px;height:44px;color:#9aabc1;stroke-width:1.2}.empty-state h2{font-size:1.125rem;font-weight:550;color:var(--muted)}.quiet-notice,.offline-banner{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:10px 15px;margin-top:18px;border:1px solid #dce6fa;border-radius:9px;background:#f0f5ff;color:#4f6385;font-size:.9375rem}.offline-banner{border-color:#e6d5ac;background:#fff9eb;color:#866628}.offline-banner .text-button{color:#866628}.loading-state,.starting{display:flex;align-items:center;justify-content:center;gap:12px;padding:70px 20px;color:var(--muted);font-size:1rem}.starting{min-height:100dvh;flex-direction:column}.spinner{width:18px;height:18px;border:2px solid #dce6f8;border-top-color:var(--blue);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.settings-list{display:flex;flex-direction:column;gap:16px;max-width:680px}.settings-card{padding:22px 24px;background:#fff;border:1px solid var(--border);border-radius:12px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}.section-heading h2{font-size:1.125rem}.settings-card p{font-size:1rem;line-height:1.6}.settings-card>p{margin-bottom:12px}.setting-status{font-size:.875rem;color:var(--muted)}.collection-id,.build-id{font-size:.875rem;color:#53657e;overflow-wrap:anywhere}.connected-apps{margin-top:16px;padding-top:12px;border-top:1px solid #e7ecf3}.connected-apps ul{margin:14px 0 0;padding:0;list-style:none}.connected-apps li{display:flex;justify-content:space-between;align-items:center;gap:16px;border-top:1px solid #e9edf3;font-size:.875rem;padding:6px 0}.pairing-result{margin:12px 0;padding:14px;background:#f3f7ff;border:1px solid #dce6fa;border-radius:8px}.pairing-code{display:block;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:1.375rem;letter-spacing:1px;font-weight:600}.pairing-result p{font-size:.875rem}.update-row{display:flex;justify-content:space-between;align-items:center;gap:14px;font-size:.875rem}.app-dialog{width:calc(100% - 32px);max-width:540px;max-height:calc(100dvh - 40px);padding:0;border:1px solid #d8e1ee;border-radius:14px;color:var(--navy);background:#fff;box-shadow:0 24px 100px #15253f33;overscroll-behavior:contain}.app-dialog::backdrop{background:#12213e69;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.app-dialog:not([open]){display:none}.dialog-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:21px 24px;border-bottom:1px solid #e9edf3}.dialog-header h2{font-size:1.25rem}.close-button{display:grid;place-items:center;flex:none;width:36px;height:36px;padding:0;border:1px solid var(--border);border-radius:50%;background:#fff;color:#74839a;font-size:1.5rem;font-weight:350;line-height:1}.dialog-body{padding:23px 24px}.dialog-body>label+label{margin-top:20px}.optional{float:right;color:var(--muted);font-size:.875rem;font-weight:400}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;padding-top:20px;margin-top:20px;border-top:1px solid #e9edf3}.field-error{padding:11px 13px;margin-top:15px;border-radius:7px;background:#fff2f2;color:#a63245;font-size:.875rem;line-height:1.6}.native-import-option{border-top:1px solid #e9edf3;margin-top:16px;padding-top:9px;text-align:center}.key-file-label input{font-size:.875rem;padding:10px}.transfer-preview{padding:14px;margin-top:16px;background:#f3f7ff;border-radius:8px}.transfer-preview>span{display:block;font-weight:600}.transfer-preview p{font-size:.9375rem;color:var(--muted);line-height:1.6;margin-top:8px}.detail-dialog{max-width:620px}.detail-dialog>.dialog-header{border:0;padding-bottom:0}.status-pill{display:flex;align-items:center;gap:7px;padding:6px 9px;border-radius:6px;background:#f0f4fa;color:#52637b;font-size:.875rem}.detail-product{display:flex;align-items:center;gap:18px;margin-bottom:22px;min-width:0}.detail-product>div{min-width:0}.detail-product h2{font-size:1.25rem;line-height:1.4;overflow-wrap:anywhere}.tracking-copy{display:flex;gap:8px;align-items:center;max-width:100%;margin-top:7px;padding:3px 0;border:0;background:none;color:#60718b;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.875rem;text-align:left;overflow-wrap:anywhere}.additional-products{display:flex;flex-direction:column;gap:7px;margin-bottom:18px;padding:13px 15px;background:#f7f9fc;border-radius:8px;font-size:.9375rem;color:#60718b}.detail-facts{display:flex;flex-wrap:wrap;gap:22px;padding:16px 0;border-top:1px solid #e7ecf3;border-bottom:1px solid #e7ecf3}.detail-facts>div{display:flex;flex-direction:column;gap:5px}.detail-facts span{font-size:.875rem;color:var(--muted)}.detail-facts strong{font-size:.9375rem;font-weight:550}.detail-note{padding-top:8px}.detail-note p{font-size:1rem;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;margin-top:8px}.edit-form{padding-top:20px}.edit-form label+label{margin-top:16px}.edit-form .button-row{margin-top:16px}.tracking-warning,.tracking-progress{padding:12px 14px;margin-top:15px;background:#fff7e9;border-radius:8px;font-size:.9375rem;line-height:1.6;color:#8f682f}.tracking-progress{display:flex;align-items:center;gap:10px;background:#eef4ff;color:#3766b4}.tracking-progress .spinner{flex:none}.timeline-section{margin-top:24px}.timeline{list-style:none;margin:0;padding:0}.timeline li{position:relative;display:flex;gap:16px;padding-bottom:24px}.timeline li:before{content:"";position:absolute;left:5px;top:10px;bottom:0;width:1px;background:#dde5ef}.timeline li:last-child:before{display:none}.timeline-point{position:relative;margin-top:5px;flex:none;width:11px;height:11px;background:#d6e0ed;border:3px solid #fff;outline:1px solid #cbd6e5;border-radius:50%}.latest .timeline-point{background:var(--blue);outline-color:#8caef7}.timeline strong{font-size:1rem;font-weight:550;line-height:1.6;display:block;overflow-wrap:anywhere}.timeline p{font-size:1rem;color:var(--muted);line-height:1.5;margin-top:4px}.timeline time{display:block;color:#68778c;font-size:.875rem;margin-top:6px}.timeline-empty{padding:16px 0;color:var(--muted)}.external-link{display:inline-flex;align-items:center;min-height:44px;margin-top:8px;font-size:.9375rem;font-weight:600}.detail-actions{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-top:20px;margin-top:12px;border-top:1px solid #e9edf3}.delete-confirm{padding:14px;margin-top:16px;border:1px solid #f0d4dc;background:#fff8fa;border-radius:8px}.delete-confirm>p{margin-bottom:10px}.toast{position:fixed;z-index:30;bottom:24px;left:50%;transform:translate(-50%);display:flex;align-items:center;gap:18px;max-width:calc(100% - 28px);width:max-content;padding:12px 14px 12px 17px;background:var(--navy);color:#fff;border-radius:10px;box-shadow:0 8px 30px #15253f20;font-size:.9375rem;line-height:1.6}.toast.error{background:#963446}.toast.info{background:#3a526e}.toast button{flex:none;padding:0;width:26px;height:30px;border:0;background:none;color:#fff;font-size:1.375rem}.row-status.checking{color:#356bcf}.row-status.checking .status-dot{background:var(--blue);animation:tracking-pulse 1.4s ease-in-out infinite}.row-status.failed{color:#a24c42}.row-tracking-error{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;margin-top:6px;color:#a24c42;font-size:.875rem;line-height:1.5;overflow-wrap:anywhere}@keyframes tracking-pulse{50%{opacity:.35}}.login-page{min-height:100dvh;display:flex;flex-direction:column;align-items:center;padding:40px 20px}.login-card{width:100%;max-width:430px;padding:28px;margin-top:45px;background:#fff;border:1px solid var(--border);border-radius:14px}.login-card h1{font-size:1.5rem}.login-card p{margin:16px 0 22px;color:var(--muted);line-height:1.7}@media(max-width:650px){.site-header{height:70px}.header-inner{padding:0 18px;justify-content:space-between;gap:12px}.brand{font-size:1.0625rem;gap:8px}.brand img{width:32px;height:32px}.collection-badge code{font-size:.75rem}.main-nav{position:fixed;left:0;right:0;bottom:0;z-index:20;height:calc(64px + env(safe-area-inset-bottom));padding:0 18px env(safe-area-inset-bottom);margin:0;background:#fff;border-top:1px solid var(--border);justify-content:space-around;gap:0}.main-nav button{min-width:100px;gap:4px;flex-direction:column;justify-content:center;border-bottom:0;font-size:.875rem}.main-nav button svg{width:20px;height:20px}.workspace{padding:0 16px calc(86px + env(safe-area-inset-bottom))}.page-heading{padding:26px 0 22px;gap:12px}.page-heading h1{font-size:1.625rem;letter-spacing:-.5px}.page-heading>.button{font-size:.875rem;padding:10px 13px;gap:7px}.list-toolbar{flex-wrap:wrap;gap:12px}.segmented{gap:3px}.segmented button{padding:8px 12px}.search-field{width:100%}.parcel-row{grid-template-columns:96px minmax(0,1fr);gap:15px;padding:16px 14px}.row-right{display:none}.parcel-title{font-size:1rem}.row-status{font-size:.875rem}.empty-state{min-height:240px}.settings-card{padding:20px}.section-heading{gap:12px}.collection-id{font-size:.8125rem}.update-row{flex-wrap:wrap;gap:4px}.update-row .text-button{margin-left:auto}.app-dialog{width:calc(100% - 24px);max-height:calc(100dvh - 28px);border-radius:13px}.dialog-header{padding:19px 20px 16px}.dialog-body{padding:21px 20px}.dialog-actions{gap:8px}.dialog-actions .button{font-size:.875rem;padding:10px 13px}.detail-product{gap:15px}.detail-product .product-cover{width:80px;height:80px}.detail-product h2{font-size:1.125rem}.tracking-copy{display:block;line-height:1.7}.tracking-copy span{margin-left:7px}.toast{bottom:calc(80px + env(safe-area-inset-bottom));font-size:.9375rem}.offline-banner{padding:8px 12px}.collection-badge>span{font-size:.75rem}.settings-list{gap:14px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition:none!important}}
