:root{--ink:#20302e;--muted:#75817d;--line:#e2e7e1;--paper:#fff;--page:#f6f7f3;--accent:#236b50;--accent-dark:#18503b;--accent-soft:#eaf3ed;--sand:#f3eedf;--warn:#976b23;--warn-bg:#faf3e4;--red:#ad443a;--radius:14px;font-family:Inter,"Segoe UI",Arial,sans-serif;color:var(--ink);font-size:14px;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background:var(--page)}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.45}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible{outline:3px solid #93baa6;outline-offset:3px}input:focus,select:focus,textarea:focus{outline:2px solid #9abca9;outline-offset:1px;border-color:#8eb49e}input,select,textarea{border:1px solid #dce2da;border-radius:8px;background:#fff;color:var(--ink);padding:10px 12px;min-height:42px;width:100%;font-size:14px}input[type=checkbox]{width:17px;min-height:17px;height:17px;accent-color:var(--accent);cursor:pointer}label{display:flex;flex-direction:column;gap:7px;font-weight:550;font-size:12px}label small{font-weight:400;color:var(--muted)}h1,h2,h3,p{margin-top:0}h1{font-size:30px;line-height:1.2;letter-spacing:-.9px;margin-bottom:8px;font-weight:650}h2{font-size:21px;letter-spacing:-.45px;font-weight:650}h3{font-size:15px;font-weight:650;margin-bottom:14px}p{line-height:1.6}.muted{color:var(--muted)}.small{font-size:12px}.eyebrow{font-size:10px;letter-spacing:1.8px;font-weight:650;color:var(--muted);margin-bottom:15px}.button{border:1px solid var(--line);background:#fff;color:var(--ink);border-radius:8px;padding:10px 15px;display:inline-flex;gap:8px;align-items:center;justify-content:center;min-height:40px;font-size:12px;font-weight:600;white-space:nowrap;transition:background .14s,border-color .14s}.button:hover:enabled{background:#f2f5ef;border-color:#c9d4c9}.button.primary{background:var(--accent);color:#fff;border-color:var(--accent)}.button.primary:hover:enabled{background:var(--accent-dark)}.button.quiet{border-color:transparent;background:transparent}.button.quiet:hover:enabled{background:#eaf0e7}.button.small{padding:6px 10px;min-height:31px;font-size:11px}.button.wide{width:100%;justify-content:space-between}.button.danger{color:var(--red)}.brand{display:flex;align-items:center;gap:12px;font-size:17px;font-weight:650;letter-spacing:-.35px}.brand-icon{display:grid;place-items:center;width:37px;height:42px;border-radius:9px 9px 15px 9px;background:var(--accent);color:#fff;font-size:23px;font-weight:600;font-family:Georgia,serif}.brand small{display:block;font-size:10px;font-weight:400;color:var(--muted);letter-spacing:.1px;margin-top:4px}.app-header{height:84px;border-bottom:1px solid var(--line);background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 30px;position:relative;z-index:10}.header-right{display:flex;align-items:center;gap:26px}.status-dot{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:11px}.status-dot:before{content:"";width:6px;height:6px;border-radius:50%;background:#54976d}.app-layout{display:grid;grid-template-columns:246px minmax(0,1fr);min-height:calc(100vh - 84px)}.sidebar{background:#f9faf6;border-right:1px solid var(--line);padding:26px 18px 20px;display:flex;flex-direction:column}.sidebar>.button{margin-bottom:30px;padding:13px 15px}.sidebar-heading{display:flex;justify-content:space-between;padding:0 10px;font-size:9px;font-weight:650;letter-spacing:1.3px;color:#8a938c;margin-bottom:12px}.job-list{display:flex;flex-direction:column;gap:5px}.job-item{border:1px solid transparent;background:transparent;border-radius:9px;padding:13px 12px;text-align:left;display:flex;gap:11px;color:var(--ink);width:100%}.job-item:hover{background:#eff3eb}.job-item.active{background:#fff;border-color:var(--line);box-shadow:0 2px 5px #20302e04}.job-glyph{font-size:19px;color:#839487;padding-top:2px}.job-item strong{display:block;font-size:12px;font-weight:600}.job-item small{display:block;font-size:10px;color:var(--muted);margin-top:6px;line-height:1.35}.sidebar-bottom{margin-top:auto;padding-top:40px}.sidebar-bottom p{font-size:9px;color:#8a938c;line-height:1.8;padding:16px 11px 0;border-top:1px solid var(--line);margin-top:15px;margin-bottom:0}.sidebar-bottom .button{font-size:11px}.workspace{padding:34px 34px 44px;min-width:0;max-width:1800px}.workspace-head{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:27px}.workspace-head .subtitle{color:var(--muted);font-size:12px;line-height:1.5;margin-bottom:0}.head-actions{display:flex;gap:8px;padding-top:5px;align-items:center}.pill{display:inline-flex;align-items:center;gap:5px;background:#edf1e9;color:#68806c;border-radius:5px;padding:4px 7px;font-size:9px;font-weight:600;white-space:nowrap}.pill.success{background:var(--accent-soft);color:var(--accent)}.pill.warning{background:var(--warn-bg);color:var(--warn)}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:26px}.stat{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:19px 21px}.stat>span{font-size:10px;color:var(--muted);display:block;margin-bottom:12px}.stat strong{font-size:26px;letter-spacing:-.7px;font-weight:600;font-variant-numeric:tabular-nums}.stat small{font-size:12px;color:var(--muted);font-weight:400;letter-spacing:0}.stat .green{color:var(--accent)}.stat .amber{color:var(--warn)}.warehouse-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);display:grid;grid-template-columns:minmax(250px,1fr) minmax(240px,1.4fr);gap:24px;align-items:center;padding:20px 23px;margin-bottom:23px}.warehouse-card label{font-size:10px}.warehouse-card select{min-height:40px;font-weight:500;font-size:12px}.warehouse-info{border-left:1px solid var(--line);padding-left:24px;color:var(--muted);font-size:10px;line-height:1.9;white-space:pre-line}.warehouse-info.empty{color:var(--warn)}.tabs{display:flex;gap:26px;border-bottom:1px solid var(--line);margin-bottom:21px}.tab{padding:0 1px 15px;border:0;border-bottom:2px solid transparent;background:transparent;color:var(--muted);font-size:12px;font-weight:550;display:flex;align-items:center;gap:8px}.tab.active{color:var(--accent);border-color:var(--accent)}.tab b{display:grid;place-items:center;font-weight:500;font-size:9px;width:18px;height:18px;border-radius:50%;background:#e9ede6}.tab.active b{background:#deebdf;color:var(--accent)}.table-card{border:1px solid var(--line);border-radius:var(--radius);background:#fff;overflow:hidden}.table-toolbar{padding:15px 18px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:12px}.table-toolbar .left,.table-toolbar .right{display:flex;align-items:center;gap:9px}.table-toolbar .left>span{font-size:11px;font-weight:600}.check-label{display:flex;flex-direction:row;align-items:center;gap:7px;font-size:10px;font-weight:400;color:var(--muted)}.table-toolbar input.search{width:180px;min-height:32px;padding:7px 10px;font-size:10px}.table-scroll{overflow:auto;max-height:60vh}.goods-table{border-collapse:collapse;width:100%;text-align:left;min-width:970px;font-size:10px}.goods-table th{position:sticky;top:0;z-index:2;background:#f7f9f5;font-size:9px;font-weight:550;letter-spacing:.15px;color:#879188;padding:13px 12px;border-bottom:1px solid var(--line);white-space:nowrap}.goods-table td{padding:14px 12px;border-bottom:1px solid #edf0ea;vertical-align:middle;line-height:1.65}.goods-table tr:last-child td{border-bottom:0}.goods-table tbody tr:hover{background:#fafcf8}.goods-table .num{font-variant-numeric:tabular-nums;white-space:nowrap}.goods-table .source-name{font-weight:550;min-width:190px;max-width:310px;font-size:10px}.goods-table .source-name small{display:block;font-size:9px;color:var(--muted);font-weight:400}.goods-table .lk-name{color:#758378;min-width:170px;max-width:300px;font-size:10px}.goods-table .code{font-family:"Consolas",monospace;font-size:10px;white-space:nowrap;letter-spacing:-.1px}.goods-table .missing{color:var(--red)}.goods-table .row-action{display:flex;gap:5px;align-items:center}.icon-button{border:1px solid var(--line);border-radius:5px;background:transparent;color:var(--muted);min-width:26px;height:27px;font-size:13px;cursor:pointer}.icon-button:hover{background:#eef4e9}.review-button{border:0;color:var(--accent);background:var(--accent-soft);border-radius:5px;padding:6px 9px;font-size:9px;font-weight:550;white-space:nowrap}.reviewed{color:var(--accent);font-size:10px;white-space:nowrap}.table-footer{display:flex;justify-content:space-between;align-items:center;padding:13px 18px;border-top:1px solid var(--line);font-size:9px;color:var(--muted);gap:16px}.hint{display:flex;gap:10px;align-items:flex-start;padding:15px 17px;border:1px solid #e5e9df;border-radius:9px;font-size:10px;line-height:1.7;color:#76856e;background:#f3f6ed;margin-top:16px}.hint.warning{background:var(--warn-bg);color:var(--warn);border-color:#ecdfbe}.hint.error{background:#fff0ee;color:var(--red);border-color:#f0d3cd}.empty-workspace{max-width:900px;margin:20px auto}.empty-workspace .eyebrow{margin-bottom:14px}.empty-workspace h1{font-size:34px}.empty-workspace>p{max-width:560px;color:var(--muted);font-size:13px}.dropzone{border:1.5px dashed #bdccba;border-radius:18px;background:#fff;padding:56px 35px;text-align:center;cursor:pointer;margin:34px 0 25px;transition:background .15s,border-color .15s}.dropzone:hover,.dropzone.dragover{background:#f0f5ed;border-color:var(--accent)}.upload-icon{width:54px;height:58px;background:var(--accent-soft);display:grid;place-items:center;color:var(--accent);font-size:29px;border-radius:12px;margin:0 auto 21px}.dropzone h2{font-size:18px;margin-bottom:10px}.dropzone p{font-size:11px;color:var(--muted);margin-bottom:20px}.dropzone small{display:block;color:#8c968b;font-size:10px;margin-top:16px}.steps-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.step-card{padding:22px;border:1px solid var(--line);background:#f9faf7;border-radius:12px}.step-card b{color:#9aa88f;font-size:10px;letter-spacing:1px;display:block;margin-bottom:16px}.step-card h3{font-size:12px;margin-bottom:7px}.step-card p{font-size:10px;color:var(--muted);line-height:1.7;margin-bottom:0}.form-section{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:24px;margin-bottom:16px}.section-head{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:18px}.section-head h3{margin-bottom:0}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 22px}.form-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.form-grid .span-all{grid-column:1/-1}.form-section label{font-size:10px}.form-section input,.form-section select{font-size:12px}.address-summary{margin:14px 0 0;font-size:10px;color:var(--muted);line-height:1.7}.form-actions{display:flex;gap:10px;align-items:center;margin:20px 0}.saved-indicator{font-size:10px;color:var(--muted)}.readiness-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.readiness-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:22px}.readiness-card h3{display:flex;justify-content:space-between;gap:12px;font-size:12px}.readiness-card ul{padding-left:16px;color:var(--warn);font-size:10px;line-height:1.8;margin-bottom:0}.readiness-card .ready-note{font-size:10px;color:var(--accent);margin:0}.ready-banner{background:var(--accent-soft);border:1px solid #d4e5d8;border-radius:12px;padding:23px;display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;gap:20px}.ready-banner h3{color:var(--accent);margin-bottom:6px}.ready-banner p{font-size:11px;color:#698371;margin-bottom:0}.modal{border:1px solid var(--line);padding:0;border-radius:16px;width:min(660px,calc(100vw - 32px));color:var(--ink);box-shadow:0 30px 100px #102c2333;max-height:90vh;background:#fff}.modal::backdrop{background:#182a2455;backdrop-filter:blur(3px)}.modal-head{display:flex;justify-content:space-between;align-items:center;padding:24px 26px;border-bottom:1px solid var(--line);gap:20px}.modal-head h2{margin-bottom:0;font-size:20px}.modal-body{padding:23px 26px}.modal-body>label{margin-bottom:18px}.modal-body .source-block{padding:14px;background:#f5f7f2;border:1px solid var(--line);border-radius:8px;margin-bottom:20px;font-size:11px;line-height:1.7}.source-block small{font-size:9px;display:block;color:var(--muted);margin-bottom:5px}.modal-footer{display:flex;justify-content:flex-end;gap:9px;padding:18px 26px;background:#fafbf8;border-top:1px solid var(--line)}.modal-footer .push-left{margin-right:auto}.product-select{font-size:11px;line-height:1.5;min-height:140px}.product-select option{padding:9px 7px;border-bottom:1px solid #eef2e9}.row-notes{font-size:10px;line-height:1.8;color:var(--muted);padding-left:17px}.settings-section{padding:0 0 23px;margin-bottom:23px;border-bottom:1px solid var(--line)}.settings-section:last-child{border:0;margin-bottom:0;padding-bottom:0}.settings-section p{font-size:11px;color:var(--muted)}.settings-section .form-grid{gap:12px}.settings-section label{font-size:10px}.settings-section .button{margin-top:12px}.settings-section input{font-size:12px}.credentials{background:#eef5eb;padding:14px;border-radius:8px;white-space:pre-line;font-family:Consolas,monospace;font-size:12px;line-height:1.9}.user-line{display:flex;justify-content:space-between;padding:8px 0;font-size:11px;border-bottom:1px solid #eff2eb}.form-error{color:var(--red);font-size:12px;min-height:18px;margin:5px 0 15px}.toast{position:fixed;z-index:1000;bottom:28px;left:50%;transform:translateX(-50%);background:#213e30;color:white;max-width:min(680px,90vw);padding:15px 21px;box-shadow:0 8px 25px #18302422;border-radius:10px;font-size:12px;line-height:1.7}.toast.error{background:#7c3c32}.busy-overlay{position:fixed;inset:0;z-index:2000;background:#f6f7f3bb;backdrop-filter:blur(2px);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;font-size:13px;color:var(--accent)}.busy-overlay[hidden],.toast[hidden],[hidden]{display:none!important}.spinner{border:2px solid #c7d8c5;border-top-color:var(--accent);width:30px;height:30px;border-radius:50%;animation:spin .7s linear infinite}.loading-state{padding:80px;text-align:center;color:var(--muted)}@keyframes spin{to{transform:rotate(360deg)}}.login-page{min-height:100vh;display:grid;place-items:center;background:#f3f5ee;padding:40px}.login-layout{display:grid;grid-template-columns:1.15fr 1fr;max-width:1080px;width:100%;min-height:650px;border:1px solid #e1e7dc;background:#fff;border-radius:22px;overflow:hidden;box-shadow:0 25px 80px #19352007}.login-intro{background:#eaf0e3;padding:42px;display:flex;flex-direction:column;justify-content:space-between}.login-intro .brand{font-size:17px}.login-intro h1{font-size:39px;line-height:1.2;letter-spacing:-1.4px;margin-bottom:22px}.login-intro .eyebrow{font-size:8px;color:#809075}.login-description{font-size:12px;max-width:330px;color:#708169;line-height:1.9}.login-steps{display:flex;flex-direction:column;gap:16px;margin-top:32px;font-size:11px;color:#5d7157}.login-steps b{font-size:9px;margin-right:14px;letter-spacing:1px;color:#8c9d81}.login-intro>small{font-size:9px;color:#8b9982}.login-card{padding:100px 55px 45px}.login-card h2{font-size:26px;margin-bottom:11px}.login-card>.muted{font-size:12px;margin-bottom:32px}.login-card label{font-size:11px;margin-bottom:18px}.login-card .button{margin-top:7px;min-height:45px}.login-footnote{font-size:10px;color:#8d968c;margin-top:26px;line-height:1.8;max-width:290px}.login-card>small{font-size:9px;display:block;margin-top:38px}
@media(min-width:1600px){.workspace{padding:42px 45px}.goods-table{font-size:12px}.goods-table .source-name,.goods-table .lk-name{font-size:12px;max-width:370px}.goods-table th{font-size:10px}.goods-table .code{font-size:12px}.review-button{font-size:10px}.table-scroll{max-height:65vh}}
@media(max-width:1150px){.app-layout{grid-template-columns:205px minmax(0,1fr)}.workspace{padding:25px 20px}.sidebar{padding:22px 12px}.workspace-head{gap:14px}h1{font-size:25px}.stat{padding:16px}.stat strong{font-size:22px}.head-actions .button{font-size:10px;padding:9px 10px}.table-toolbar{flex-wrap:wrap}.table-toolbar .right{margin-left:auto}.warehouse-card{padding:18px;gap:18px}.table-toolbar input.search{width:140px}}
@media(max-width:800px){.app-header{height:72px;padding:0 18px}.brand{font-size:15px}.brand small{font-size:8px}.brand-icon{width:31px;height:36px;font-size:21px}.header-right{gap:9px}.status-dot{display:none}.app-layout{display:block;min-height:calc(100vh - 72px)}.sidebar{border-right:0;border-bottom:1px solid var(--line);padding:14px 18px;display:block}.sidebar>.button{width:auto;display:inline-flex;margin:0;min-height:35px;font-size:11px;padding:8px 13px}.sidebar-heading,.sidebar-bottom{display:none}.job-list{display:flex;flex-direction:row;overflow:auto;gap:7px;margin-top:13px;max-height:68px}.job-item{min-width:145px;width:180px;padding:8px 10px}.job-item small{margin-top:4px;font-size:9px}.job-item strong{font-size:10px}.job-glyph{font-size:16px}.workspace{padding:24px 16px}.workspace-head{flex-wrap:wrap;gap:12px;margin-bottom:18px}.head-actions{padding:0;width:100%;justify-content:flex-start}.stats{gap:8px;margin-bottom:18px;grid-template-columns:repeat(2,1fr)}.stat{padding:15px}.stat>span{font-size:9px;margin-bottom:7px}.stat strong{font-size:24px}.warehouse-card{grid-template-columns:1fr;gap:13px;padding:17px;margin-bottom:18px}.warehouse-info{padding-left:0;border-left:0;font-size:10px}.tabs{gap:19px;overflow:auto}.tab{font-size:11px;white-space:nowrap;padding-bottom:12px}.table-toolbar{padding:12px;gap:12px}.table-toolbar .right{margin-left:0;flex-wrap:wrap;gap:12px}.table-toolbar input.search{width:150px}.table-footer{padding:12px;flex-wrap:wrap;justify-content:flex-start}.empty-workspace{margin:5px auto}.empty-workspace h1{font-size:29px}.dropzone{padding:35px 20px;margin:24px 0}.steps-grid{grid-template-columns:1fr;gap:10px}.step-card{padding:18px;display:grid;grid-template-columns:30px 1fr;column-gap:14px}.step-card b{grid-row:1/3;margin-bottom:0;padding-top:3px}.step-card h3{margin-bottom:5px}.step-card p{grid-column:2}.form-section{padding:18px}.form-grid,.form-grid.three{grid-template-columns:1fr}.readiness-grid{grid-template-columns:1fr}.ready-banner{flex-direction:column;align-items:flex-start}.form-actions{flex-wrap:wrap}.section-head{align-items:flex-start}.login-page{padding:16px}.login-layout{display:block;max-width:470px;min-height:auto}.login-intro{padding:25px}.login-intro>div:nth-child(2){margin-top:35px}.login-intro h1{font-size:30px;margin-bottom:15px}.login-intro .eyebrow,.login-steps,.login-intro>small{display:none}.login-description{font-size:11px;margin-bottom:0}.login-card{padding:28px 25px}.login-card>.eyebrow{display:none}.login-card h2{font-size:22px}.login-card>small{margin-top:20px}.login-footnote{margin-top:20px}.modal-head{padding:20px}.modal-body{padding:20px}.modal-footer{padding:15px 20px;flex-wrap:wrap}.table-scroll{max-height:65vh}}

.file-archive .form-section h3{font-size:16px}
.archive-list{list-style:none;padding:0;margin:0}
.archived-file{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 0;border-bottom:1px solid var(--line)}
.archived-file:last-child{border-bottom:0}
.archived-file>div{min-width:0}
.archived-file strong{display:block;font-size:14px;overflow-wrap:anywhere;line-height:1.6}
.archived-file p,.archive-note{font-size:14px;line-height:1.7;color:var(--muted);margin:8px 0 0}
.archive-note{margin-bottom:16px}
.file-archive .button{font-size:14px;min-height:44px;text-decoration:none;flex-shrink:0}
@media(max-width:600px){.archived-file{align-items:flex-start;flex-direction:column;gap:12px}.file-archive .section-head{flex-wrap:wrap}.file-archive .button{max-width:100%;white-space:normal}}

/* Native file controls and direct archive links work across mobile browsers. */
.mobile-supply-picker,.mobile-upload-note,.mobile-download-note,.mobile-select-all,.mobile-row-label{display:none}
.row-select label{display:flex;align-items:center;justify-content:center}
.download-modal .modal-body>p{font-size:15px;line-height:1.7}
.download-filename{overflow-wrap:anywhere;color:var(--muted);font-family:Consolas,monospace;font-size:13px!important;padding:12px;background:var(--page);border-radius:8px}
.download-modal .button{min-height:48px;font-size:16px}
#upload-progress{width:min(340px,80vw);height:12px;accent-color:var(--accent)}
.upload-status{max-width:min(420px,85vw);text-align:center;font-size:14px;overflow-wrap:anywhere;line-height:1.6}
.workspace-head>div{min-width:0}
.workspace-head .subtitle{overflow-wrap:anywhere}
@media(max-width:800px){
  body{font-size:16px;overflow-wrap:break-word}
  .app-header{height:auto;min-height:72px;padding:12px max(16px,env(safe-area-inset-right)) 12px max(16px,env(safe-area-inset-left));gap:12px}
  .brand{gap:8px;font-size:16px;flex-shrink:0}.brand small{font-size:10px}
  #settings-button{display:block;max-width:112px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-height:44px;font-size:14px;padding:8px}
  .sidebar{padding:16px max(16px,env(safe-area-inset-right)) 16px max(16px,env(safe-area-inset-left))}
  .sidebar>.button{display:flex;width:100%;min-height:48px;font-size:16px;margin:0;justify-content:center}
  .sidebar .job-list{display:none}
  .mobile-supply-picker{display:flex;font-size:14px;gap:8px;margin-top:16px}
  .workspace{padding:24px max(16px,env(safe-area-inset-right)) calc(32px + env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));width:100%;max-width:100%}
  .workspace-head{gap:16px}.workspace-head>div{width:100%}h1{font-size:28px}.workspace-head .subtitle{font-size:14px}
  .eyebrow{font-size:11px;letter-spacing:1px}
  .button,.button.small,.head-actions .button{font-size:15px;min-height:48px;padding:11px 14px;white-space:normal;line-height:1.4}
  .head-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}
  .files-shortcut{grid-column:1/-1}
  input,select,textarea,.form-section input,.form-section select,.settings-section input,.login-card input,.warehouse-card select,.table-toolbar input.search{font-size:16px;min-height:48px;max-width:100%}
  input[type=checkbox]{min-height:22px;width:22px;height:22px;flex-shrink:0}
  label,.form-section label,.settings-section label,.login-card label{font-size:14px}
  .stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
  .stat{min-width:0;padding:12px 10px}.stat>span{font-size:12px;line-height:1.4;min-height:34px}.stat strong{font-size:24px}
  .stat:last-child{grid-column:1/-1}.stat:last-child>span{min-height:0}.stat:last-child strong{font-size:28px}
  .warehouse-info,.address-summary,.hint,.table-footer,.row-notes,.saved-indicator{font-size:14px;line-height:1.7}
  .tabs{position:sticky;top:0;z-index:20;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;padding:10px 0;background:var(--page);overflow:visible;border-bottom:0}
  .tab{min-height:48px;padding:10px 12px;justify-content:center;font-size:14px;border:1px solid var(--line);border-radius:8px;background:#fff;white-space:normal;gap:6px}
  .tab b{display:none}.tab .pill{font-size:12px}.tab.active{background:var(--accent-soft);border:1px solid var(--accent);color:var(--accent)}
  .table-card{overflow:visible;border:0;background:transparent}
  .table-toolbar{display:flex;align-items:stretch;flex-direction:column;padding:16px;background:#fff;border:1px solid var(--line);border-radius:12px;gap:16px}
  .table-toolbar .left,.table-toolbar .right{display:flex;flex-wrap:wrap;width:100%;gap:12px;margin:0}
  .table-toolbar .left>span{font-size:16px;width:100%}.table-toolbar .left .button,.table-toolbar .right>.button{width:100%}
  .check-label,.mobile-select-all{display:flex;min-height:44px;font-size:14px;gap:10px}
  .mobile-select-all{width:100%}.table-toolbar input.search{width:100%;flex:1 1 100%}
  .table-scroll{overflow:visible;max-height:none;margin-top:14px}
  .goods-table,.goods-table tbody{display:block;min-width:0;max-width:100%;width:100%;font-size:16px}
  .goods-table thead{display:none}
  .goods-table tbody tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px 12px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:16px;margin-bottom:14px}
  .goods-table tbody tr:hover{background:#fff}
  .goods-table td{display:block;min-width:0;max-width:100%;width:auto;border:0;padding:0;line-height:1.6;overflow-wrap:anywhere}
  .goods-table td::before{content:attr(data-label);display:block;color:var(--muted);font-size:12px;font-weight:400;margin-bottom:4px}
  .goods-table .source-name,.goods-table .lk-name{grid-column:1/-1;min-width:0;max-width:100%;font-size:16px}
  .goods-table .source-name small{font-size:14px;margin-top:6px}.goods-table .lk-name{color:var(--ink)}
  .goods-table .num{font-size:16px;white-space:normal}.goods-table .code{font-size:14px;white-space:normal;letter-spacing:0}
  .goods-table .row-select{grid-column:1/-1}.goods-table .row-select::before,.goods-table .row-controls::before{display:none}
  .row-select label{flex-direction:row;justify-content:flex-start;gap:10px;min-height:44px;font-size:14px}.mobile-row-label{display:inline}
  .goods-table .row-controls{grid-column:1/-1}.goods-table .row-action{gap:10px;justify-content:space-between}
  .review-button{font-size:15px;min-height:48px;padding:10px 14px;flex:1;white-space:normal}.reviewed{font-size:14px}
  .icon-button{min-width:48px;min-height:48px;height:48px;font-size:22px}
  .table-footer{padding:12px 0;border-top:0}
  .form-section,.readiness-card{padding:18px}.form-section h3,.readiness-card h3{font-size:17px}
  .section-head{flex-wrap:wrap;gap:12px}.section-head .button{max-width:100%}
  .form-actions{align-items:stretch;flex-direction:column}.form-actions>.button{width:100%}
  .readiness-card ul,.readiness-card .ready-note,.ready-banner p{font-size:14px}.ready-banner .button{width:100%}
  .desktop-upload-note{display:none}.mobile-upload-note{display:block}
  .empty-workspace h1{font-size:28px}.empty-workspace>p{font-size:16px}
  .dropzone{padding:28px 20px}.dropzone h2{font-size:21px}.dropzone p{font-size:15px;line-height:1.7}.dropzone small{font-size:13px;line-height:1.7}
  .dropzone .button{width:100%}.step-card h3{font-size:16px}.step-card p{font-size:14px}
  .file-archive .button{font-size:16px;min-height:48px;width:100%}
  .file-archive .section-head{width:100%}.archived-file{align-items:stretch;flex-direction:column;gap:14px}.archived-file strong{font-size:15px}
  .archive-note,.archived-file p,.mobile-download-note{font-size:14px;line-height:1.7}
  .mobile-download-note{display:block;color:var(--muted);margin:0 0 18px}
  .download-modal .mobile-download-note{margin:16px 0 0}
  .modal{max-height:calc(100svh - 32px);width:calc(100vw - 24px);margin:auto;overflow-y:auto}
  .modal-head,.modal-body{padding:18px}.modal-head{gap:12px}.modal-head h2{font-size:22px}.modal-footer{padding:16px 18px calc(16px + env(safe-area-inset-bottom))}
  .modal-footer>.button{width:100%}.modal-body .source-block,.settings-section p,.user-line{font-size:14px}
  .product-select{font-size:16px;min-height:180px}.product-select option{font-size:16px}
  .toast{width:calc(100vw - 32px);max-width:480px;font-size:14px;bottom:calc(16px + env(safe-area-inset-bottom));padding:14px 16px}
  .busy-overlay{padding:24px;font-size:16px;text-align:center}.busy-overlay .button{min-width:220px}
  .login-page{min-height:100svh;padding:16px max(12px,env(safe-area-inset-right)) calc(16px + env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left))}
  .login-intro{padding:22px}.login-intro>div:nth-child(2){display:none}
  .login-card{padding:24px 22px}.login-card>.muted,.login-footnote{font-size:14px}.login-card .button{justify-content:center;min-height:48px}.login-card>small{font-size:12px}
}
