:root{--paper:#f4f3ee;--surface:#fffefa;--ink:#17201d;--muted:#68716e;--green:#174b3d;--green-soft:#e9f0ec;--lime:#ddff73;--amber:#9c6a16;--red:#9f4337;--line:#17201d21;--shadow:0 12px 32px #1c2e2814;--type-body:16px;--type-heading:28px;--type-display:clamp(34px, 5vw, 48px);--page-width:850px;--workspace-action-width:480px;--card-radius:20px;--control-radius:14px;--section-gap:16px}*{box-sizing:border-box}html{scrollbar-gutter:stable;background:var(--paper);min-width:320px;overflow-y:auto}body{background:var(--paper);color:var(--ink);font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Arial,sans-serif;font-size:var(--type-body);margin:0}button,input{font:inherit}button{color:inherit;cursor:pointer}button:disabled{cursor:not-allowed;opacity:.48}button:focus-visible,a:focus-visible,input:focus-visible{outline-offset:3px;outline:3px solid #174b3d40}img{max-width:100%;display:block}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}.spin{animation:.85s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.app-shell{min-height:100vh;padding:16px clamp(18px,4vw,40px) 40px}.app-topbar{max-width:var(--page-width);border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;margin:0 auto;padding-bottom:14px;display:flex}.brand{font-size:var(--type-body);letter-spacing:.17em;background:0 0;border:0;align-items:center;gap:11px;padding:0;font-weight:850;display:inline-flex}.brand-mark{background:var(--green);width:38px;height:38px;color:var(--lime);font-family:Georgia,serif;font-size:var(--type-heading);letter-spacing:0;border-radius:13px;place-items:center;display:grid}.topbar-actions{align-items:center;gap:9px;display:flex}.offline-dot{width:34px;height:34px;color:var(--amber);background:#f5e6cc;border-radius:50%;place-items:center;display:grid}.language-switch{border:1px solid var(--line);background:#ffffff8c;border-radius:999px;padding:3px;display:inline-flex}.language-switch button{width:42px;height:36px;color:var(--muted);font-size:var(--type-body);background:0 0;border:0;border-radius:999px;padding:0;font-weight:850}.language-switch button.active{background:var(--green);color:#fff}.loading-screen{min-height:100vh;color:var(--green);justify-content:center;align-items:center;gap:14px;display:flex}.main-action,.secondary-action,.capture-button,.camera-done{border-radius:var(--control-radius);min-height:52px;font-size:var(--type-body);justify-content:center;align-items:center;gap:10px;padding:0 23px;font-weight:820;transition:background-color .16s,border-color .16s,color .16s;display:inline-flex}.main-action{background:var(--green);color:#fff;border:0}.secondary-action{border:1px solid var(--line);color:var(--green);background:#fff}.secondary-action:hover:not(:disabled){border-color:#174b3d73}.simple-home{max-width:var(--page-width);align-content:start;gap:44px;margin:0 auto;padding:48px 0 32px;display:grid}.simple-home-action{text-align:center;justify-self:center;justify-items:center;max-width:670px;display:grid}.simple-home h1,.workspace-heading h1,.shared-simple h1{letter-spacing:-.045em;margin:0;font-family:Georgia,Times New Roman,serif;font-weight:400}.simple-home h1{max-width:650px;font-size:var(--type-display);line-height:1}.simple-home-action p{max-width:535px;color:var(--muted);font-size:var(--type-body);margin:14px 0 22px;line-height:1.55}.simple-home-action .main-action{min-width:min(100%,255px)}.recent-shipments{width:100%}.recent-heading{border-bottom:1px solid var(--line);justify-content:space-between;align-items:baseline;padding-bottom:13px;display:flex}.recent-heading h2{font-size:var(--type-body);margin:0}.recent-heading>span{color:var(--muted);font-size:var(--type-body)}.recent-row{border:0;border-bottom:1px solid var(--line);text-align:left;background:0 0;grid-template-columns:auto 1fr auto;align-items:center;gap:14px;width:100%;padding:16px 2px;display:grid}.recent-icon{width:40px;height:40px;color:var(--muted);background:#e5e9e7;border-radius:12px;place-items:center;display:grid}.recent-icon.active{background:var(--green-soft);color:var(--green)}.recent-details{gap:4px;min-width:0;display:grid}.recent-row strong{font-size:var(--type-body);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.recent-row small,.continue-label{color:var(--muted);font-size:var(--type-body)}.recent-stats{color:var(--muted);font-size:var(--type-body);flex-wrap:wrap;gap:5px;display:flex}.recent-stats .ready{color:var(--green);font-weight:750}.recent-stats .processing{color:#95671a;font-weight:750}.recent-stats .review{color:var(--red);font-weight:750}.continue-label{font-weight:750}.shipment-workspace{max-width:var(--page-width);margin:0 auto;padding:24px 0 32px}.back-link{color:var(--muted);font-size:var(--type-body);background:0 0;border:0;align-items:center;gap:7px;margin-bottom:16px;padding:5px 0;font-weight:750;display:inline-flex}.workspace-heading{text-align:left;grid-template-columns:auto minmax(0,1fr);align-items:baseline;gap:4px 10px;max-width:720px;margin:0 0 18px;display:grid}.step-label{color:var(--green);font-size:var(--type-body);letter-spacing:.14em;text-transform:uppercase;align-items:center;gap:6px;margin-bottom:6px;font-weight:850;display:inline-flex}.workspace-heading .step-label{margin:0}.workspace-heading h1{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Arial,sans-serif;font-size:var(--type-body);letter-spacing:0;overflow-wrap:anywhere;font-weight:800;line-height:1.4}.workspace-heading p{max-width:680px;color:var(--muted);font-size:var(--type-body);grid-column:1/-1;margin:0;line-height:1.55}.workspace-card{border:1px solid var(--line);border-radius:var(--card-radius);background:var(--surface);box-shadow:var(--shadow)}.empty-workspace{text-align:center;align-content:center;justify-items:center;padding:clamp(24px,4vw,34px);display:grid;position:relative}.empty-workspace-icon{background:var(--green-soft);width:58px;height:58px;color:var(--green);border-radius:18px;place-items:center;margin-bottom:14px;display:grid}.empty-workspace h2{font-family:Georgia,serif;font-size:var(--type-heading);margin:0;font-weight:400}.empty-workspace p{max-width:540px;color:var(--muted);font-size:var(--type-body);margin:8px 0 18px;line-height:1.5}.workspace-action-stack{width:min(100%, var(--workspace-action-width));margin:var(--section-gap) auto 0;grid-template-columns:minmax(0,1fr);gap:10px;display:grid}.empty-actions,.processing-actions{margin-top:0}.workspace-action-stack>.main-action,.workspace-action-stack>.secondary-action,.workspace-action-stack>.folder-drop-zone,.workspace-action-stack>.cloud-state{width:100%}.workspace-action-stack>.folder-drop-zone,.workspace-action-stack>.cloud-state,.workspace-action-stack>.completion-action{margin-top:0}.folder-drop-zone{width:min(100%, var(--workspace-action-width));margin-top:var(--section-gap);border-radius:var(--control-radius);color:var(--green);text-align:left;background:#e9f0ec6b;border:1px dashed #174b3d57;grid-template-columns:auto 1fr;align-items:center;gap:10px;padding:10px 13px;transition:border-color .16s,background .16s,box-shadow .16s;display:grid}.folder-drop-icon{background:var(--green-soft);border-radius:12px;place-items:center;width:38px;height:38px;display:grid}.folder-drop-zone>span:last-child{gap:3px;display:grid}.folder-drop-zone strong{font-size:var(--type-body)}.folder-drop-zone small{color:var(--muted);font-size:var(--type-body);line-height:1.35}.folder-drop-zone.active,.folder-drop-zone.reading{border-color:var(--green);background:var(--green-soft);box-shadow:0 0 0 4px #174b3d14}.drop-active .workspace-card{border-color:#174b3d94;box-shadow:0 12px 32px #174b3d26}.processing-card{gap:var(--section-gap);padding:clamp(18px,3vw,26px);display:grid}.progress-summary{grid-template-columns:auto 1fr auto;align-items:center;gap:12px;display:grid}.progress-orb{border-radius:15px;place-items:center;width:50px;height:50px;display:grid}.progress-orb.working{color:var(--amber);background:#f5eccd}.progress-orb.done{color:#2d7459;background:#dfeedf}.progress-summary>div:nth-child(2){gap:3px;display:grid}.progress-summary span,.progress-summary small{color:var(--muted);font-size:var(--type-body)}.progress-summary strong{font-family:Georgia,serif;font-size:var(--type-heading);font-weight:400}.progress-percent{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:var(--type-body)!important}.progress-track{background:#e5e7e2;border-radius:999px;height:7px;margin:0;overflow:hidden}.progress-track span{border-radius:inherit;background:var(--green);height:100%;display:block}.workspace-status-stack{gap:10px;display:grid}.workspace-status-stack:empty{display:none}.pipeline-status{background:#f7f8f4;border:1px solid #174b3d29;border-radius:15px;gap:12px;padding:14px;display:grid}.pipeline-heading{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.pipeline-heading strong{color:var(--green);font-size:var(--type-body)}.pipeline-heading span{color:var(--muted);font-size:var(--type-body);text-align:right}.pipeline-steps{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.pipeline-step{min-width:0;color:var(--muted);background:#eceee8;border-radius:11px;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:8px;padding:10px;display:grid}.pipeline-step.active{color:var(--amber);background:#f3edda}.pipeline-step.done{background:var(--green-soft);color:var(--green)}.pipeline-step-icon{place-items:center;width:20px;height:20px;display:grid}.pipeline-step-icon>span{background:#aeb2aa;border-radius:50%;width:7px;height:7px}.pipeline-step>span:last-child{gap:3px;min-width:0;display:grid}.pipeline-step strong,.pipeline-step small{font-size:var(--type-body)}.pipeline-step strong{color:inherit}.pipeline-step small{overflow-wrap:anywhere;opacity:.78}.import-progress{color:var(--green);font-size:var(--type-body);background:#eff2eb;border-radius:12px;grid-template-columns:auto 1fr auto;align-items:center;gap:9px;padding:11px 13px;display:grid}.current-batch{background:#f2f3ef;border-radius:15px;padding:13px}.current-batch-heading{color:var(--muted);font-size:var(--type-body);justify-content:space-between;gap:12px;margin-bottom:10px;display:flex}.current-batch-heading strong{color:var(--green);text-transform:uppercase;letter-spacing:.08em}.preview-strip{grid-template-columns:repeat(8,minmax(0,1fr));gap:7px;display:grid}.preview-thumb{background:#dddcd6;border:2px solid #0000;border-radius:13px;height:72px;position:relative;overflow:hidden}.preview-thumb img,.preview-thumb .image-placeholder{object-fit:cover;width:100%;height:100%}.preview-thumb.pending{opacity:.65}.image-placeholder{color:#7f8784;place-items:center;display:grid}.ai-status,.simple-warning,.simple-note,.cloud-state{font-size:var(--type-body);border-radius:12px;align-items:center;gap:10px;padding:12px 14px;display:flex}.ai-status{color:var(--amber);background:#f3edda}.ai-status>span,.simple-warning>span{flex:1;gap:3px;display:grid}.ai-status small,.simple-warning small{opacity:.72}.ai-columns{border:1px solid var(--line);border-radius:var(--control-radius);grid-template-columns:auto 1fr;align-items:start;gap:14px;padding:14px;display:grid}.ai-columns>span{color:var(--green);font-size:var(--type-body);text-transform:uppercase;white-space:nowrap;align-items:center;gap:6px;font-weight:850;display:inline-flex}.ai-columns>div{flex-wrap:wrap;gap:6px;display:flex}.ai-columns>div span{background:var(--green-soft);color:var(--green);font-size:var(--type-body);border-radius:999px;padding:5px 8px}.simple-warning{color:var(--red);background:#f8e5dd}.simple-warning button{color:inherit;font-size:var(--type-body);background:#fff;border:0;border-radius:9px;align-items:center;gap:6px;padding:7px 9px;font-weight:800;display:inline-flex}.simple-note{color:#82581a;background:#f5ead9}.excel-preview{--excel-preview-row-height:38px;border:1px solid var(--line);border-radius:var(--control-radius);background:#f7f8f4;overflow:hidden}.excel-preview-heading{grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:13px 14px 11px;display:grid}.excel-preview-icon{background:var(--green-soft);width:38px;height:38px;color:var(--green);border-radius:11px;place-items:center;display:grid}.excel-preview-heading>div{min-width:0}.excel-preview-heading h2{color:var(--green);font-size:var(--type-body);margin:0}.excel-preview-heading p{color:var(--muted);font-size:var(--type-body);margin:2px 0 0;line-height:1.35}.excel-preview-count{color:var(--muted);font-size:var(--type-body);white-space:nowrap;font-weight:750}.excel-preview-tabs{border-bottom:1px solid var(--line);gap:3px;padding:0 13px;display:flex}.excel-preview-tab{color:var(--muted);font-size:var(--type-body);background:0 0;border:0;border-bottom:3px solid #0000;padding:8px 10px;font-weight:750}.excel-preview-tab.active{border-bottom-color:var(--green);color:var(--green)}.excel-preview-sheet{height:calc(var(--excel-preview-row-height) * 12);scrollbar-gutter:stable;background:#fff;overflow:auto}.excel-preview-sheet:focus-visible{outline-offset:-3px;outline:3px solid #174b3d40}.excel-preview-table{border-spacing:0;border-collapse:separate;table-layout:fixed;width:max-content;min-width:100%;font-size:var(--type-body)}.excel-preview-table th,.excel-preview-table td{height:var(--excel-preview-row-height);text-align:left;text-overflow:ellipsis;white-space:nowrap;border-bottom:1px solid #17201d17;border-right:1px solid #17201d17;padding:8px 10px;overflow:hidden}.excel-preview-table th{z-index:2;color:#fff;background:#153f34;font-weight:800;position:sticky;top:0}.excel-preview-table td{font-size:inherit;font-weight:400}.excel-preview-table td.review{background:#fff3cd}.excel-preview-table td.subtotal,.excel-preview-subtotal td{background:#f4c7a1;font-weight:700}.excel-preview-table td.total,.excel-preview-total td{background:#dfff68;font-weight:700}.excel-preview-total td{z-index:1;position:sticky;bottom:0}.excel-preview-empty td{color:var(--muted);text-align:center;background:#f4f5f1}.excel-preview-footer{color:var(--muted);font-size:var(--type-body);justify-content:space-between;gap:10px;padding:9px 13px;display:flex}.excel-preview-footer>span:last-child{text-align:right;align-items:center;gap:6px;display:inline-flex}.excel-preview-footer .processing{color:var(--amber)}.cloud-state{color:#858c89;min-height:38px;font-size:var(--type-body);justify-content:center;margin-top:13px;padding:7px}.cloud-state.synced{color:#36765d}.cloud-state.error{color:var(--amber)}.cloud-state button{background:var(--green-soft);color:inherit;font-size:inherit;border:0;border-radius:7px;align-items:center;gap:5px;padding:4px 7px;font-weight:800;display:inline-flex}.completion-action{width:100%;margin-top:12px}.confirmation-backdrop{z-index:110;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#0c1d1880;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.confirmation-dialog{border-radius:var(--card-radius);background:var(--surface);border:1px solid #174b3d2e;grid-template-columns:auto 1fr;gap:0 20px;width:min(100%,540px);padding:clamp(22px,4vw,30px);display:grid;box-shadow:0 30px 90px #081c1647}.confirmation-icon{background:var(--green-soft);width:58px;height:58px;color:var(--green);border-radius:18px;grid-row:1/span 2;place-items:center;display:grid}.confirmation-copy .step-label{margin:2px 0 9px}.confirmation-copy h2{font-family:Georgia,Times New Roman,serif;font-size:var(--type-heading);letter-spacing:-.025em;margin:0;font-weight:400}.confirmation-copy p{color:var(--muted);font-size:var(--type-body);margin:12px 0 0;line-height:1.55}.confirmation-copy .preparation-result{color:var(--green);font-weight:750}.confirmation-actions{grid-column:1/-1;grid-template-columns:auto 1fr;gap:10px;margin-top:22px;display:grid}.confirmation-actions .secondary-action{min-width:120px}.camera-modal{z-index:100;color:#fff;background:#10241f;position:fixed;inset:0;overflow:hidden}.camera-modal video{object-fit:cover;width:100%;height:100%;position:absolute}.camera-shade{pointer-events:none;background:linear-gradient(#08191457,#08191412 45%,#081914a6);position:absolute;inset:0}.camera-close{z-index:3;top:max(18px, env(safe-area-inset-top));color:#fff;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#0b201ab8;border:0;border-radius:50%;place-items:center;width:46px;height:46px;display:grid;position:absolute;right:20px}.camera-frame{pointer-events:none;position:absolute;inset:12% 8% 25%}.camera-frame span{border-color:var(--lime);width:54px;height:54px;position:absolute}.camera-frame span:first-child{border-top:4px solid;border-left:4px solid;top:0;left:0}.camera-frame span:nth-child(2){border-top:4px solid;border-right:4px solid;top:0;right:0}.camera-frame span:nth-child(3){border-bottom:4px solid;border-left:4px solid;bottom:0;left:0}.camera-frame span:nth-child(4){border-bottom:4px solid;border-right:4px solid;bottom:0;right:0}.camera-bottom{right:0;bottom:max(24px, env(safe-area-inset-bottom));justify-content:center;align-items:center;gap:24px;padding:20px;display:flex;position:absolute;left:0}.camera-bottom>div:first-child{text-align:right;gap:4px;display:grid}.camera-bottom strong{font-size:var(--type-body)}.camera-bottom small{color:#ffffffa8;font-size:var(--type-body)}.camera-message.error strong{color:#f5e6cc}.camera-actions{gap:10px;display:flex}.capture-button{background:var(--lime);min-width:210px;color:var(--green);border:0}.camera-done{color:#fff;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#0b201ab8;border:1px solid #ffffff94;min-width:196px}.camera-done:disabled{color:#ffffffb8;opacity:1;background:#0b201aa3;border-color:#ffffff4d}.shared-simple{max-width:var(--page-width);text-align:left;justify-items:stretch;margin:0 auto;padding:24px 0 32px;display:grid}.shared-simple .back-link{justify-self:start}.shared-simple .step-label{margin-bottom:6px}.shared-simple h1{max-width:100%;font-size:var(--type-heading);overflow-wrap:anywhere;line-height:1.2}.shared-simple>p{color:var(--muted);font-size:var(--type-body);margin:6px 0 18px}.shared-card{gap:var(--section-gap);padding:clamp(18px,3vw,26px);display:grid}.shared-count{align-items:baseline;gap:8px;margin:0;display:flex}.shared-count strong{font-family:Georgia,serif;font-size:var(--type-heading);font-weight:400;line-height:1}.shared-count span{color:var(--muted);font-size:var(--type-body);text-transform:uppercase}.shared-columns{text-align:left;width:100%}.shared-simple .simple-note{justify-content:center;width:100%}.shared-download{width:min(100%, var(--workspace-action-width));justify-self:center;margin:0}.shared-card>small{color:var(--muted);font-size:var(--type-body);text-align:center;margin:0}.shared-simple.loading,.shared-simple.empty{text-align:center;align-content:center;justify-items:center;gap:14px;min-height:320px}.shared-simple.empty p{margin:0 0 10px}.toast{z-index:120;color:#fff;max-width:min(430px,100vw - 32px);box-shadow:var(--shadow);font-size:var(--type-body);background:#7f352c;border-radius:13px;align-items:center;gap:9px;padding:13px 15px;font-weight:700;display:flex;position:fixed;bottom:22px;right:22px}@media (max-width:680px){.app-shell{padding:12px 14px 28px}.app-topbar{padding-bottom:12px}.simple-home{gap:36px;padding-top:32px}.simple-home-action .main-action{width:100%}.shipment-workspace,.shared-simple{padding-top:18px}.back-link,.workspace-heading{margin-bottom:14px}.empty-workspace{padding:22px 16px}.processing-card{padding:18px 16px}.recent-row{grid-template-columns:auto 1fr}.continue-label{grid-column:2;justify-self:start}.preview-strip{grid-template-columns:repeat(4,minmax(0,1fr))}.pipeline-heading{flex-direction:column;align-items:flex-start;gap:3px}.pipeline-heading span{text-align:left}.pipeline-steps{grid-template-columns:1fr}.preview-thumb{height:72px}.ai-columns{grid-template-columns:1fr}.progress-summary{grid-template-columns:auto 1fr}.progress-percent{display:none}.excel-preview-heading{grid-template-columns:auto minmax(0,1fr)}.excel-preview-count{grid-column:2}.excel-preview-footer{flex-direction:column}.excel-preview-footer>span:last-child{text-align:left}.simple-warning{flex-wrap:wrap;align-items:flex-start}.simple-warning button{margin-left:28px}.confirmation-backdrop{padding:16px}.confirmation-dialog{text-align:center;grid-template-columns:1fr;justify-items:center;padding:28px 20px 20px}.confirmation-icon{grid-row:auto;margin-bottom:18px}.confirmation-actions{grid-template-columns:1fr;width:100%}.confirmation-actions .main-action{grid-row:1}.camera-frame{inset:13% 7% 29%}.camera-bottom{flex-direction:column;gap:12px}.camera-bottom>div:first-child{text-align:center}.camera-actions{flex-direction:column;width:100%;max-width:330px}.capture-button,.camera-done{width:100%}}@media (hover:hover) and (pointer:fine){button:not(:disabled){transition:opacity .16s,background-color .16s,border-color .16s,color .16s}button:not(:disabled):hover{opacity:.88}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation-duration:.01ms!important}}
