:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;color:#243d32;background:#f6f8f6;font-synthesis:none;--green:#176b4b;--green-dark:#115238;--muted:#879189;--border:#e7ece7;--soft:#f2f6f2;--amber:#ad7937}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}a{color:inherit;text-decoration:none}button{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #8cc9a7;outline-offset:3px}button{border:0}svg.icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;vertical-align:middle}.icon.small{width:16px;height:16px}.svg-defs{position:absolute;width:0;height:0;overflow:hidden}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.sidebar{position:fixed;inset:0 auto 0 0;width:222px;background:#fff;border-right:1px solid var(--border);padding:36px 20px 22px;display:flex;flex-direction:column;z-index:20}.brand{display:flex;align-items:center;gap:12px;font-size:23px;font-weight:700;letter-spacing:1px;padding:0 8px}.brand-mark{display:inline-flex;align-items:center;justify-content:center;background:var(--green);color:#fff;width:42px;height:44px;border-radius:13px 13px 13px 4px;flex-shrink:0}.brand-mark .icon{width:25px;height:25px}.brand small{display:block;font-size:10px;letter-spacing:1px;font-weight:400;color:#949d96;margin-top:5px}.nav-label{font-size:10px;letter-spacing:1.5px;color:#9aa49d;margin:52px 15px 15px}.side-nav{display:grid;gap:8px}.nav-item{height:48px;display:flex;align-items:center;gap:12px;text-align:left;border-radius:9px;background:transparent;font-size:13px;color:#78837b;padding:0 14px}.nav-item.active{background:#eaf3ed;color:var(--green);font-weight:600}.nav-item:hover:not(.active){background:var(--soft)}.nav-count{margin-left:auto;font-size:11px;background:#d6e8dc;min-width:22px;height:22px;display:grid;place-items:center;border-radius:6px}.sidebar-bottom{margin-top:auto}.help-button{width:100%;background:#f7f9f7;border:1px solid var(--border);padding:13px 12px;display:flex;align-items:center;gap:9px;border-radius:8px;font-size:12px;color:#65776b}.help-button .small{margin-left:auto;color:#a2aea5}.local-note{margin-top:24px;display:flex;align-items:center;gap:7px;font-size:10px;color:#8b968e;padding-left:8px}.connection-dot{display:inline-block;width:6px;height:6px;background:#6caa82;border-radius:100%;flex-shrink:0}.sidebar-version{display:flex;justify-content:space-between;padding:14px 8px 0;font-size:10px;color:#acb4ae}.workspace{margin-left:222px}.topbar{height:77px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;padding:0 42px;background:#fff}.breadcrumb{font-size:12px;display:flex;align-items:center;gap:15px;color:#929b95}.breadcrumb .slash{color:#c8cec9}.breadcrumb strong{font-weight:500;color:#526258}.topbar-right{display:flex;align-items:center;gap:22px}.save-indicator{font-size:11px;color:#8d9890;display:flex;align-items:center;gap:7px}.avatar{height:31px;width:31px;border:1px solid #dce6dd;background:#eef3ec;display:grid;place-items:center;color:#647f6b;border-radius:50%;font-size:12px}.mobile-brand{display:none}main{max-width:1320px;margin:0 auto;padding:35px 42px 24px}.page-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:25px}.eyebrow{font-size:9px;letter-spacing:1.9px;font-weight:600;color:#8fa092}.page-heading h1{font-size:27px;font-weight:650;letter-spacing:.5px;margin:7px 0 8px}.page-heading p{font-size:12px;color:#8a968d;margin:0}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:43px;padding:0 18px;font-size:12px;font-weight:500;border-radius:8px;transition:background .15s,transform .15s;white-space:nowrap}.button:active:not(:disabled){transform:translateY(1px)}.button.primary{background:var(--green);color:white}.button.primary:hover:not(:disabled){background:var(--green-dark)}.button.secondary{background:#fff;border:1px solid #dfe6df;color:#5e7064}.button.secondary:hover:not(:disabled){background:#f4f8f4}.button.compact{min-height:37px;padding:0 13px;font-size:11px}.button.compact .icon{width:15px;height:15px}.button .arrow-icon{width:17px;margin-left:13px}.text-button{display:inline-flex;align-items:center;justify-content:center;gap:3px;background:transparent;font-size:12px;padding:12px 5px;color:#49705a}.text-button:hover{color:#13492f}.hero{border-radius:13px;background:#eaf2e8;position:relative;min-height:250px;overflow:hidden;display:flex;align-items:center;justify-content:space-between;padding:27px 37px;margin-bottom:22px;border:1px solid #e2ecdf}.hero-copy{position:relative;z-index:2}.hero-tag{display:flex;align-items:center;gap:7px;font-size:10px;color:#6e8e75}.hero-tag>span{width:5px;height:5px;background:#7aa480;border-radius:50%}.hero h2{margin:11px 0 10px;font-size:30px;line-height:1.42;font-weight:650;letter-spacing:1.4px;color:#244e38}.hero-copy>p{font-size:11px;color:#7f9480;margin:0}.hero-actions{display:flex;gap:20px;align-items:center;margin-top:21px}.hero-art{width:340px;height:230px;flex-shrink:0;position:relative;margin:-20px 10px -20px 0}.parcel-illustration{position:relative;width:100%;height:100%;z-index:1}.art-orbit{position:absolute;border:1px dashed #d2e0ce;width:280px;height:280px;border-radius:50%;left:30px;top:-30px}.orbit-two{width:350px;height:350px;left:-5px;top:-65px;opacity:.65}.art-caption{position:absolute;bottom:-6px;left:100px;font-size:9px;letter-spacing:1px;color:#6c9279;display:flex;gap:5px;align-items:center}.art-caption .icon{width:13px;height:13px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:31px}.stat-card{background:#fff;border:1px solid var(--border);border-radius:10px;min-height:130px;padding:19px;display:flex;justify-content:space-between;gap:8px}.stat-card>div{display:flex;flex-direction:column}.stat-label{color:#7f8d82;font-size:11px}.stat-card strong{font-size:29px;line-height:1.1;font-weight:600;font-variant-numeric:tabular-nums;margin:10px 0 7px;letter-spacing:.3px}.stat-description{font-size:9px;color:#a0aaa2}.stat-icon{width:34px;height:34px;border-radius:9px;display:grid;place-items:center}.stat-icon .icon{width:18px;height:18px}.stat-icon.neutral{background:#f1f5f1;color:#849987}.stat-icon.amber{background:#fcf3e5;color:#bb975d}.stat-icon.green{background:#eaf4ed;color:#70a785}.currency-icon{font-size:19px}.stat-card strong.amount{font-size:27px;white-space:nowrap}.stat-card strong.amount small{font-size:16px;font-weight:500;margin-right:3px}.section-toolbar{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--border);margin-bottom:20px;gap:12px}.tabs{display:flex;gap:25px;align-self:stretch;flex-shrink:0}.tab{display:flex;align-items:center;gap:6px;position:relative;min-height:51px;padding:0 1px 13px;font-size:12px;background:transparent;color:#8d9890;white-space:nowrap}.tab.active{color:var(--green);font-weight:600}.tab.active:after{content:"";position:absolute;bottom:-1px;left:0;right:0;height:2px;background:var(--green)}.tab>span{font-size:9px;min-width:17px;height:17px;display:grid;place-items:center;border-radius:4px;background:#edf1ed;color:#8a998e}.tab.active>span{background:#e2eee4;color:var(--green)}.list-tools{display:flex;align-items:center;gap:9px;padding-bottom:13px}.search-field{border:1px solid #e4eae4;border-radius:7px;display:flex;align-items:center;background:#fff;height:34px;padding:0 9px;gap:6px}.search-field .icon{color:#a4afa6;width:15px;height:15px}.search-field input{border:0;outline:none;font-size:10px;width:170px;min-width:0;background:transparent;color:#4e6556}.search-field input::placeholder{color:#a6afa8}.list-tools select{font-size:10px;border:1px solid #e4eae4;height:34px;border-radius:7px;color:#829185;background:#fff;padding:0 7px;min-width:86px}.order-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.order-card{border:1px solid #e1e8e1;border-radius:11px;background:#fff;overflow:hidden;transition:border-color .15s,box-shadow .15s}.order-card:hover{border-color:#c5d7c6;box-shadow:0 5px 20px #284c3206}.order-card-header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:18px 20px 0}.merchant{display:flex;align-items:center;gap:8px;min-width:0}.platform-badge{font-size:9px;font-weight:600;display:inline-flex;align-items:center;justify-content:center;height:21px;min-width:33px;padding:0 6px;border-radius:5px;flex-shrink:0}.platform-badge.jd{color:#d76463;background:#fff0ef}.platform-badge.tmall{color:#c97859;background:#fff1e9}.merchant-name{font-size:11px;color:#7a887f;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.status-badge{font-size:10px;display:inline-flex;align-items:center;gap:5px;flex-shrink:0}.status-badge::before{content:"";width:5px;height:5px;border-radius:50%;background:currentColor}.status-badge.pending{color:#b68e52}.status-badge.received{color:#4f9970}.product-row{display:flex;align-items:center;gap:14px;padding:23px 20px 20px}.product-art{width:66px;height:66px;flex-shrink:0;border-radius:9px;background-image:url('assets/jd-order.jpg');background-size:465.12% 1010.85%;background-position:5.31% 46.17%;background-color:#faf3de}.product-info{flex:1;min-width:0}.product-info h3{margin:0 0 9px;font-size:15px;font-weight:600;letter-spacing:.4px}.product-info p{margin:0;font-size:10px;color:#9ba59e}.product-price{font-size:18px;font-weight:600;color:#465b4d;align-self:flex-start;padding-top:6px;font-variant-numeric:tabular-nums;white-space:nowrap}.product-price small{font-size:11px;margin-right:3px}.shipping-panel{margin:0 20px 17px;background:#f6f8f5;border:1px solid #edf1eb;border-radius:8px;padding:13px 12px}.shipping-label{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#8c9a8e;gap:5px;margin-bottom:9px}.shipping-label>span:first-child{display:flex;align-items:center;gap:5px}.shipping-label .icon{width:13px;height:13px}.shipping-state{font-size:9px;color:#86968a}.tracking-row{display:flex;justify-content:space-between;align-items:center;gap:4px}.tracking-number{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:14px;letter-spacing:.3px;color:#48624f;overflow-wrap:anywhere}.copy-button{color:#9aa99d;background:transparent;display:grid;place-items:center;width:28px;height:28px;border-radius:5px;flex-shrink:0}.copy-button:hover{background:#e5eee5;color:#447b54}.copy-button .icon{width:14px;height:14px}.order-meta{display:flex;align-items:center;justify-content:space-between;gap:5px;padding:0 20px 17px;font-size:9px;color:#9ba69e}.order-meta>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.order-card-footer{border-top:1px solid #edf1ec;display:flex;align-items:center;justify-content:space-between;padding:12px 20px;background:#fdfefd;gap:12px}.detail-button{font-size:11px;display:flex;gap:3px;align-items:center;color:#8c9a8f;background:transparent;padding:8px 0}.detail-button:hover{color:var(--green)}.detail-button .icon{width:13px;height:13px}.receive-button{min-height:34px;font-size:11px;padding:0 13px;gap:6px}.receive-button .icon{width:14px;height:14px}.received-label{display:flex;gap:5px;align-items:center;font-size:11px;color:#629373;padding:8px 0}.received-label .icon{width:15px;height:15px}.list-footer{margin-top:19px;display:flex;align-items:center;justify-content:space-between;font-size:9px;color:#a1ada3}.list-footer>span:last-child{display:flex;align-items:center;gap:5px}.list-footer .icon{width:12px;height:12px}.page-footer{margin-top:58px;display:flex;align-items:center;justify-content:space-between;font-size:9px;color:#b0b9b1}.page-footer>span:first-child{color:#98aa9b;letter-spacing:1px}.empty-state{padding:45px 15px 50px;border:1px dashed #dbe5da;background:#fbfdfb;border-radius:12px;text-align:center}.empty-icon{width:54px;height:54px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:#eaf2e7;color:#729278}.empty-icon .icon{width:25px;height:25px}.empty-state h3{font-size:15px;font-weight:500;margin:18px 0 9px}.empty-state p{font-size:11px;color:#929f94;margin-bottom:23px}.mobile-nav{display:none}.record-card .product-row{padding-top:20px;padding-bottom:15px}.record-time{margin:0 20px 18px;display:flex;gap:8px;align-items:center;color:#72947b;font-size:10px}.record-time .icon{width:14px;height:14px}.record-method{color:#a0aaa2;font-size:9px;margin-left:auto}.undo-button{color:#998a75;font-size:11px;display:flex;align-items:center;gap:5px;background:transparent;padding:8px 0}.undo-button .icon{width:14px;height:14px}
.modal{border:1px solid #e3eae1;border-radius:18px;padding:28px;background:#fff;color:#294234;width:calc(100% - 32px);max-width:480px;max-height:calc(100dvh - 48px);overflow-y:auto;overscroll-behavior:contain;box-shadow:0 25px 100px #183b3326}.modal::backdrop{background:#1e332c73;backdrop-filter:blur(4px)}body:has(dialog[open]){overflow:hidden}.modal-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.modal-heading h2{font-size:21px;margin:6px 0 0;font-weight:600;letter-spacing:.6px}.modal-heading .eyebrow{font-size:8px}.icon-button{width:35px;height:35px;display:grid;place-items:center;border-radius:50%;background:#f3f6f2;color:#7f9184;flex-shrink:0}.icon-button:hover{background:#e6eee4}.modal-description{font-size:11px;color:#8e9e91;line-height:1.8;margin:14px 0 20px}.scan-stage{height:248px;position:relative;background:#203d30;border-radius:12px;overflow:hidden;isolation:isolate}.camera-placeholder{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:16px;color:#9bb5a5;background:radial-gradient(circle at 50% 50%,#355745,#203d30 75%);z-index:1}.camera-placeholder>.icon{height:45px;width:45px;stroke-width:1}.camera-placeholder>span{font-size:11px}.scan-stage.active .camera-placeholder{display:none}.scan-corners{position:absolute;inset:25px 33px 46px;pointer-events:none;z-index:3}.scan-corners i{position:absolute;width:21px;height:21px;border-color:#b8d8ba;border-style:solid;border-width:0}.scan-corners i:nth-child(1){top:0;left:0;border-left-width:2px;border-top-width:2px;border-top-left-radius:5px}.scan-corners i:nth-child(2){top:0;right:0;border-right-width:2px;border-top-width:2px;border-top-right-radius:5px}.scan-corners i:nth-child(3){bottom:0;left:0;border-left-width:2px;border-bottom-width:2px;border-bottom-left-radius:5px}.scan-corners i:nth-child(4){bottom:0;right:0;border-right-width:2px;border-bottom-width:2px;border-bottom-right-radius:5px}.scanner-hint{position:absolute;bottom:15px;left:0;right:0;text-align:center;font-size:9px;letter-spacing:.8px;color:#a3bcad;z-index:4;text-shadow:0 1px 3px #15311f}.scan-line{display:none;position:absolute;left:40px;right:40px;height:1px;background:#9ed7a9;top:25%;box-shadow:0 0 12px #71e894;z-index:4;pointer-events:none}.scan-stage.active .scan-line{display:block;animation:scanline 2.5s ease-in-out infinite}@keyframes scanline{0%,100%{top:25%}50%{top:72%}}#reader{width:100%;height:100%;overflow:hidden}#reader video{width:100%!important;height:100%!important;object-fit:cover}#reader #qr-shaded-region{display:none!important}.scan-controls{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:16px}.scan-controls .button{font-size:11px;padding:0 9px}.scan-controls .icon{width:17px;height:17px}.divider{position:relative;text-align:center;margin:26px 0 18px;display:flex;align-items:center;gap:13px;font-size:10px;color:#a5b0a6}.divider::before,.divider::after{content:"";height:1px;background:#e9eee7;flex:1}.manual-form{display:flex;gap:8px}.manual-form input{min-width:0;flex:1;border:1px solid #dfe7dd;border-radius:8px;padding:0 12px;height:43px;font-size:12px;color:#3f654b;background:#fcfdfb}.manual-form input::placeholder{color:#a5afa4;font-size:11px}.manual-form .button{padding:0 13px;font-size:11px}.scan-footnote{font-size:9px;color:#a1ada1;display:flex;align-items:center;justify-content:center;gap:5px;margin:18px 0 0}.scan-footnote .icon{width:12px;height:12px}.scan-feedback{margin-top:14px;padding:15px;border-radius:9px;background:#eaf5ed;border:1px solid #d5e9d8;font-size:11px;line-height:1.7;color:#3d7850;overflow-wrap:anywhere}.scan-feedback h3{font-size:14px;display:flex;gap:7px;align-items:center;margin:0 0 6px}.scan-feedback p{margin:4px 0}.scan-feedback .feedback-sub{font-size:10px;opacity:.8}.scan-feedback.warning{background:#fff8ea;border-color:#efe1c4;color:#9b7c45}.scan-feedback.error{background:#fff2ef;border-color:#efd6d0;color:#b26857}.notice.warning{background:#fff5e6;border:1px solid #efd8b4;color:#967338;font-size:12px;line-height:1.8;padding:12px 16px;border-radius:8px;margin-bottom:20px}.detail-modal{max-width:580px}.detail-summary{background:#f3f7f0;border-radius:11px;margin:22px 0;padding:18px;display:flex;align-items:center;gap:13px}.detail-summary h3{font-size:17px;margin:0 0 9px}.detail-summary p{font-size:10px;color:#8a9b88;margin:0}.detail-summary .product-price{margin-left:auto}.detail-section{margin-top:23px}.detail-section h3{font-size:12px;font-weight:600;margin:0 0 13px;display:flex;justify-content:space-between;align-items:center}.detail-section h3>span{font-size:9px;font-weight:400;color:#a2afa0}.detail-grid{margin:0;border-top:1px solid var(--border)}.detail-line{display:grid;grid-template-columns:83px 1fr;gap:12px;font-size:11px;line-height:1.8;padding:10px 0;border-bottom:1px solid #f0f3ed}.detail-line dt{color:#96a18f}.detail-line dd{margin:0;color:#54684d;text-align:right;overflow-wrap:anywhere}.detail-line dd .copy-button{display:inline-grid;vertical-align:middle;margin-left:4px;height:22px;width:22px}.detail-address{font-size:11px;color:#6d8068;line-height:1.9;background:#f8faf6;padding:12px 14px;border-radius:8px}.detail-address strong{color:#475f43;font-weight:500}.detail-address p{margin:3px 0}.timeline{list-style:none;margin:0;padding:0 0 0 5px}.timeline li{border-left:1px solid #dfe7d9;padding:0 0 19px 19px;position:relative}.timeline li:last-child{border-color:transparent;padding-bottom:0}.timeline li:before{content:"";position:absolute;width:7px;height:7px;border-radius:50%;background:#c7d4c1;left:-4px;top:4px}.timeline li:first-child:before{background:#4c9265;box-shadow:0 0 0 4px #edf4e9}.timeline strong{font-size:11px;font-weight:500;color:#66845e}.timeline p{font-size:10px;line-height:1.8;color:#92a28a;margin:5px 0}.timeline time{font-size:9px;color:#abb5a4}.source-buttons{display:flex;gap:10px;margin-top:12px}.source-buttons .button{flex:1;font-size:11px}.detail-action{margin-top:22px;display:flex}.detail-action>.button{width:100%}.source-modal{max-width:640px;padding:16px}.source-modal>.modal-heading{padding:0 4px 15px}.source-modal h2{font-size:15px}.source-modal img{display:block;width:100%;height:auto;border-radius:6px}.confirm-content{margin-top:20px}.confirm-copy{font-size:12px;color:#84957c;line-height:1.9;margin:18px 0}.confirm-info{background:#f5f8f2;border-radius:8px;padding:14px;font-size:12px;line-height:1.9}.confirm-info strong{display:block;font-size:14px}.confirm-info code{display:block;font-size:12px;color:#65805a;margin-top:5px;overflow-wrap:anywhere}.confirm-actions{display:flex;gap:10px;margin-top:25px}.confirm-actions>.button{flex:1}.help-steps{list-style:none;counter-reset:help;padding:0;margin:25px 0}.help-steps li{counter-increment:help;position:relative;padding-left:44px;margin-bottom:24px}.help-steps li:before{content:counter(help,decimal-leading-zero);position:absolute;left:0;top:-1px;font-size:12px;border-radius:9px;background:#eef5e9;width:30px;height:30px;display:grid;place-items:center;color:#6a8b5c}.help-steps strong{font-size:13px;font-weight:500}.help-steps p{font-size:11px;line-height:1.9;color:#8e9e85;margin:7px 0 0}.help-note{border-radius:9px;padding:14px;background:#f6f8f2;color:#90a084;line-height:1.9;font-size:10px}.toast{position:fixed;bottom:32px;left:50%;transform:translateX(-50%);background:#284b38;color:#f7fff6;padding:12px 20px;font-size:12px;border-radius:10px;box-shadow:0 7px 22px #19311b26;z-index:100;max-width:calc(100% - 32px);text-align:center;line-height:1.6}
@media(min-width:1500px){main{padding-top:43px}.hero{min-height:275px}.hero-art{margin-right:55px}.hero h2{font-size:34px}.stats{margin-top:25px}.stat-card{padding:23px}.order-card-header{padding-top:23px}.product-row{padding-top:27px;padding-bottom:25px}.shipping-panel{margin-bottom:22px}.page-footer{margin-top:75px}}
@media(max-width:1180px){.sidebar{width:190px;padding-left:14px;padding-right:14px}.workspace{margin-left:190px}.brand{font-size:21px;gap:9px;padding:0 4px}.brand-mark{width:38px;height:40px}main{padding-left:27px;padding-right:27px}.topbar{padding:0 27px}.hero{padding-left:28px;padding-right:20px}.hero-art{width:270px;margin-right:0}.art-caption{left:67px}.orbit-one{width:235px;height:235px;left:20px;top:-2px}.orbit-two{width:290px;height:290px;left:-7px;top:-29px}.stat-card{padding:16px 13px}.stat-icon{width:28px;height:28px}.stat-card strong{font-size:26px}.stat-card strong.amount{font-size:23px}.section-toolbar{flex-wrap:wrap;gap:4px}.list-tools{margin-left:auto}.tabs{gap:18px}.search-field input{width:145px}.order-card-header{padding:16px 15px 0}.product-row{padding-left:15px;padding-right:15px;gap:10px}.shipping-panel{margin-left:15px;margin-right:15px}.order-meta,.order-card-footer{padding-left:15px;padding-right:15px}.merchant-name{font-size:10px}.product-price{font-size:16px}.tracking-number{font-size:12px}.order-meta{font-size:8px}}
@media(max-width:930px) and (min-width:761px){.stats{gap:9px}.stat-card{position:relative;padding:16px 12px}.stat-icon{position:absolute;right:10px;top:11px;width:24px;height:24px;border-radius:6px}.stat-icon .icon{width:13px;height:13px}.stat-label{font-size:10px}.stat-card strong.amount{font-size:22px}.stat-description{font-size:8px}.hero-art{width:230px;opacity:.9}.hero h2{font-size:27px}.hero-copy>p{font-size:10px}.list-tools{width:100%}.search-field{flex:1}.search-field input{width:100%}.list-tools select{min-width:105px}.product-art{width:52px;height:52px;border-radius:7px}.product-info h3{font-size:13px}.product-price{font-size:14px}.shipping-state{font-size:8px}.hero-actions{gap:13px}.hero .button{padding:0 13px}.hero .arrow-icon{margin-left:4px}}
@media(max-width:760px){.sidebar{display:none}.workspace{margin-left:0}.topbar{height:65px;padding:0 20px;background:#fff}.breadcrumb{display:none}.mobile-brand{display:flex;align-items:center;gap:9px;font-size:18px;font-weight:650;letter-spacing:1px}.mobile-brand .brand-mark{height:32px;width:31px;border-radius:10px 10px 10px 3px}.mobile-brand .brand-mark .icon{width:20px;height:20px}.topbar-right{gap:13px}.save-indicator{font-size:9px}.avatar{width:28px;height:28px;font-size:10px}main{padding:24px 18px 105px;max-width:610px}.page-heading{margin-bottom:20px;align-items:flex-start}.page-heading .eyebrow{font-size:8px;letter-spacing:1.4px}.page-heading h1{font-size:24px;margin-top:6px;margin-bottom:8px}.page-heading p{font-size:10px}.page-heading .button{font-size:10px;min-height:34px;padding:0 10px;margin-top:18px}.page-heading .button .icon{width:13px;height:13px}.hero{min-height:216px;padding:22px;border-radius:12px;margin-bottom:16px}.hero h2{font-size:25px;line-height:1.45;letter-spacing:1px;margin:11px 0 10px}.hero-tag{font-size:8px;gap:6px}.hero-copy>p{font-size:9px;max-width:185px;line-height:1.8}.hero-actions{gap:8px;margin-top:17px}.hero .button{font-size:11px;min-height:39px;padding:0 13px;gap:7px}.hero .button .icon{width:16px;height:16px}.hero .arrow-icon{display:none}.hero .text-button{font-size:10px}.hero-art{position:absolute;width:200px;height:165px;right:-33px;bottom:27px;margin:0;opacity:.95}.art-orbit{width:165px;height:165px;left:17px;top:-5px}.orbit-two{width:210px;height:210px;left:-5px;top:-27px}.art-caption{font-size:7px;left:49px;bottom:-14px;gap:3px}.art-caption .icon{width:10px;height:10px}.stats{grid-template-columns:repeat(2,1fr);gap:10px;margin-bottom:21px}.stat-card{min-height:111px;padding:15px 16px;border-radius:9px}.stat-label{font-size:10px}.stat-card strong{font-size:26px;margin:9px 0 6px}.stat-card strong.amount{font-size:25px}.stat-description{font-size:8px}.stat-icon{width:29px;height:29px;border-radius:8px}.stat-icon .icon{width:16px;height:16px}.stat-card strong.amount small{font-size:14px}.section-toolbar{margin-bottom:14px;gap:0;border-bottom:0}.tabs{width:100%;gap:25px;border-bottom:1px solid var(--border);margin-bottom:14px}.tab{font-size:11px;min-height:42px;padding-bottom:12px;gap:6px}.tab>span{font-size:9px}.list-tools{width:100%;padding-bottom:0;margin:0;gap:8px}.search-field{flex:1;height:38px;padding:0 10px}.search-field input{font-size:11px;width:100%;min-width:0}.list-tools select{height:38px;font-size:10px;min-width:91px;padding:0 8px}.order-list{grid-template-columns:1fr;gap:14px}.order-card{border-radius:11px}.order-card-header{padding:18px 18px 0}.merchant-name{font-size:11px}.platform-badge{font-size:9px}.status-badge{font-size:10px}.product-row{padding:21px 18px 18px;gap:13px}.product-art{width:62px;height:62px}.product-info h3{font-size:15px}.product-info p{font-size:10px}.product-price{font-size:19px;padding-top:4px}.shipping-panel{margin:0 18px 15px;padding:12px}.shipping-label{font-size:10px;margin-bottom:7px}.shipping-state{font-size:9px}.tracking-number{font-size:14px}.order-meta{font-size:9px;padding:0 18px 16px}.order-card-footer{padding:12px 18px}.receive-button{min-height:36px;font-size:11px}.detail-button{font-size:11px}.list-footer{font-size:8px;margin-top:16px;gap:8px}.list-footer>span:last-child{gap:4px}.page-footer{margin-top:30px;justify-content:center}.page-footer>span:last-child{display:none}.page-footer>span:first-child{font-size:8px}.mobile-nav{position:fixed;display:flex;align-items:center;justify-content:space-around;inset:auto 0 0;background:#fffffff5;backdrop-filter:blur(12px);border-top:1px solid #e6ece4;padding:9px 24px calc(9px + env(safe-area-inset-bottom));z-index:20;height:calc(71px + env(safe-area-inset-bottom))}.mobile-nav>button{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;background:transparent;color:#9ba79b;font-size:9px;min-width:65px;min-height:48px}.mobile-nav>button.active{color:var(--green)}.mobile-nav>button>.icon{height:20px;width:20px}.mobile-nav>.mobile-scan{position:relative;margin-top:-17px;gap:5px;color:#537b59}.mobile-scan>span{width:47px;height:41px;display:grid;place-items:center;background:var(--green);color:#fff;border-radius:12px;box-shadow:0 3px 10px #16563220;border:3px solid #fff}.mobile-scan>span>.icon{width:23px;height:23px}.mobile-scan b{font-size:9px;font-weight:500}.modal{padding:24px 20px;max-height:calc(100dvh - 24px);width:100%;max-width:100%;margin:auto 0 0;border-radius:20px 20px 0 0;border-bottom:0;padding-bottom:calc(24px + env(safe-area-inset-bottom))}.modal-heading h2{font-size:20px}.modal::before{content:"";display:block;width:33px;height:4px;border-radius:4px;background:#dce5d8;margin:-13px auto 20px}.scan-stage{height:230px}.scan-controls{margin-top:13px}.scan-controls .button{font-size:12px;min-height:43px}.manual-form input{font-size:16px}.manual-form input::placeholder{font-size:12px}.manual-form .button{font-size:12px;padding:0 14px}.scan-footnote{font-size:9px}.toast{bottom:calc(89px + env(safe-area-inset-bottom));font-size:11px;width:max-content}.detail-line{font-size:11px;grid-template-columns:75px 1fr;gap:10px}.detail-summary{padding:15px}.detail-summary .product-art{height:55px;width:55px}.detail-summary h3{font-size:16px}.detail-summary .product-price{font-size:18px}.source-modal{padding:18px 12px 20px}.source-modal::before{margin-top:-7px}.source-modal>.modal-heading{padding:0 5px 15px}.record-time{margin-left:18px;margin-right:18px;font-size:10px}.record-method{font-size:9px}.empty-state{padding:35px 12px 40px}}
@media(max-width:370px){main{padding-left:14px;padding-right:14px}.hero{padding-left:18px}.hero h2{font-size:23px}.hero-art{width:168px;right:-33px;bottom:34px}.hero-copy>p{max-width:160px}.hero-actions{gap:2px}.hero .button{padding:0 10px}.hero .text-button{padding-left:4px;font-size:9px}.stats{gap:8px}.stat-card{padding:13px 12px}.stat-card strong.amount{font-size:23px}.stat-icon{width:25px;height:25px}.merchant-name{font-size:10px}.order-card-header,.product-row,.order-card-footer{padding-left:14px;padding-right:14px}.shipping-panel{margin-left:14px;margin-right:14px}.product-art{width:54px;height:54px}.product-info h3{font-size:14px}.product-price{font-size:17px}.tracking-number{font-size:13px}.order-meta{font-size:8px;padding-left:14px;padding-right:14px}.modal{padding-left:17px;padding-right:17px}.scan-footnote{font-size:8px}.scan-stage{height:205px}.scan-corners{inset:20px 23px 42px}.modal-description{font-size:10px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* A compact work surface with strong contrast, centered on the order list. */
:root{--green:#075e3b;--green-dark:#03452a;--muted:#486052;--border:#cbd8cf;color:#172e21;background:#f1f4f2}
.topbar{border-bottom-color:#ced9d1}.breadcrumb,.save-indicator,.page-heading p,.eyebrow,.brand small,.nav-label,.nav-item,.local-note,.sidebar-version,.help-button{color:#506858}.breadcrumb strong{color:#173c25}.avatar{color:#294f35;border-color:#c2d1c5}.nav-item.active{background:#dceee1;color:#064f30}.nav-count{background:#bcdcc7;color:#06472a}.nav-item{font-weight:500}.page-heading .eyebrow{display:none}.page-heading h1{font-size:25px;margin-top:0}.page-heading p{font-size:12px}.page-heading{margin-bottom:19px}
.hero{min-height:150px;padding:22px 27px;background:#e1efdf;border-color:#b6ceb7;margin-bottom:12px}.hero-tag{display:none}.hero h2{font-size:23px;line-height:1.4;margin:0 0 8px;color:#153f25;letter-spacing:.5px}.hero-copy>p{color:#3c6546;font-size:12px}.hero-actions{margin-top:17px}.hero-art{display:none}.text-button{color:#175b33;font-weight:600}.button.secondary{color:#254c33;border-color:#a9c0af}.button.primary{background:var(--green);font-weight:600}.hero .button{min-height:40px}
.stats.stats-compact{display:flex;justify-content:flex-start;align-items:center;gap:0;border:1px solid #ccd9ce;border-radius:8px;background:#fff;margin:0 0 20px;padding:12px 0;min-height:0}.stat-mini{display:flex;align-items:center;justify-content:center;gap:9px;padding:0 23px;font-size:11px;color:#526954;line-height:1.3}.stat-mini+ .stat-mini{border-left:1px solid #cbd9cd}.stat-mini strong{font-size:15px;color:#173f25;font-weight:700;font-variant-numeric:tabular-nums}.stat-mini:nth-child(2) strong{color:#8a4c00}.stat-mini:nth-child(3) strong{color:#075e3b}
.section-toolbar{border-bottom-color:#cbd8cf}.tab{color:#506b56;font-size:12px;font-weight:500}.tab.active{color:#064c2e}.tab>span{background:#e4ebe4;color:#36563c}.tab.active>span{background:#d3e8d7;color:#064c2e}.search-field,.list-tools select{border-color:#bacdbe}.search-field input,.list-tools select{font-size:11px;color:#2e5538}.search-field input::placeholder{color:#627968}.search-field .icon{color:#536e59}.order-card{border-color:#b9cdbd;box-shadow:0 2px 3px #1d382507}.order-card:hover{border-color:#7ea98a}.merchant-name{color:#3d5c46;font-size:12px}.platform-badge.jd{color:#a91d1c;background:#ffe4e3}.platform-badge.tmall{color:#a04410;background:#ffecd8}.status-badge.pending{color:#865000}.status-badge.received{color:#0a6539}.product-info h3{color:#173320;font-size:17px}.product-info p{font-size:11px;color:#526a56}.product-price{color:#1f452b}.product-row{padding-top:20px;padding-bottom:17px}.shipping-panel{background:#edf3ec;border-color:#cfddcb}.shipping-label,.shipping-state{color:#48644c}.tracking-number{font-size:15px;color:#1d4c2c;font-weight:600;letter-spacing:.3px}.copy-button{color:#3a6946}.order-meta{font-size:10px;color:#526e59}.order-card-footer{background:#f8fbf6;border-top-color:#d5e1d2}.detail-button{color:#315e3b;font-weight:500}.received-label,.record-time{color:#176034}.record-method{color:#4e6f53}.undo-button{color:#825319}.list-footer,.page-footer,.page-footer>span:first-child{color:#55705a}.mobile-nav>button{color:#4d6e55}.mobile-nav>button.active{color:#034c2b}.mobile-scan b{color:#164c27}
.modal{color:#173e25;border-color:#c4d6bf}.modal .eyebrow,.modal-description,.divider,.scan-footnote{color:#53704d}.modal-description{font-size:12px}.icon-button{color:#355d31;background:#edf3e8}.manual-form input{color:#234e29;border-color:#a9c6a2}.manual-form input::placeholder{color:#6a8165}.scan-feedback{color:#1b6433;border-color:#9bc9a5;background:#e5f3e8}.scan-feedback.warning{color:#795000;background:#fff4d9;border-color:#d8bc7b}.scan-feedback.error{color:#933c28;background:#fff0ea;border-color:#dda898}.scan-feedback .feedback-sub{opacity:1}.scanner-hint{color:#d1e8d7}.camera-placeholder{color:#c3dfcb}.scan-corners i{border-color:#d0f1d3}.detail-summary p,.detail-line dt,.detail-section h3>span,.timeline p,.timeline time,.help-steps p,.help-note{color:#526d49}.detail-line dd,.detail-address,.timeline strong{color:#234d23}.detail-line{border-bottom-color:#dce5d5}.confirm-copy{color:#4a6b40}.confirm-info code{color:#27552a}.empty-state{border-color:#a8c3a2}.empty-state p{color:#4b6e43}.empty-icon{color:#366b37;background:#e2eedb}
@media(min-width:1100px){.hero-copy{width:100%;display:grid;grid-template-columns:1fr auto;align-items:center}.hero h2{grid-column:1;grid-row:1}.hero-copy>p{grid-column:1;grid-row:2}.hero-actions{grid-column:2;grid-row:1 / span 2;margin-top:0}.hero{min-height:104px}}
@media(max-width:760px){main{padding-top:22px}.page-heading h1{font-size:23px}.page-heading p{font-size:11px}.page-heading .button{margin-top:6px}.hero{min-height:150px;padding:20px;margin-bottom:10px}.hero h2{font-size:21px;margin-bottom:7px}.hero-copy>p{font-size:11px;max-width:none}.hero-actions{margin-top:15px;gap:14px}.hero .button{font-size:12px;min-height:40px;padding:0 16px}.hero .text-button{font-size:11px}.stats.stats-compact{padding:10px 0;margin-bottom:17px}.stat-mini{flex:1;padding:0 7px;gap:7px;font-size:10px}.stat-mini strong{font-size:14px}.tab{font-size:12px}.search-field input,.list-tools select{font-size:11px}.merchant-name{font-size:12px}.product-row{padding-top:19px;padding-bottom:16px}.product-info h3{font-size:17px}.product-info p{font-size:11px}.product-price{font-size:19px}.shipping-label{font-size:11px}.shipping-state{font-size:10px}.tracking-number{font-size:15px}.order-meta{font-size:10px}.detail-button,.receive-button,.received-label{font-size:12px}.record-time{font-size:10px}.record-method{font-size:9px}.list-footer{font-size:9px}.page-footer>span:first-child{font-size:9px}.modal-description{font-size:11px}.scan-footnote{font-size:9px}}
@media(max-width:370px){.hero{min-height:147px;padding:18px}.hero h2{font-size:20px}.hero-copy>p{font-size:10px}.stat-mini{font-size:10px;padding:0 6px;gap:6px}.stat-mini strong{font-size:13px}.merchant-name{font-size:11px}.tracking-number{font-size:13px}.order-meta{font-size:9px}.shipping-state{font-size:9px}.list-footer{font-size:8px}}
@media(max-width:760px){.search-field input{font-size:16px}.search-field input::placeholder{font-size:11px}.list-tools select{font-size:16px;min-width:108px}}

/* Mobile starts with the order controls; scanning stays in the bottom navigation. */
@media (max-width: 760px) {
  .topbar,
  #hero,
  .stats.stats-compact,
  .page-footer,
  body[data-view="orders"] .page-heading {
    display: none;
  }

  main {
    padding-top: max(14px, env(safe-area-inset-top));
  }
}

.camera-guide{display:flex;gap:10px;align-items:flex-start;background:#fff3d2;border:1px solid #d5ab45;border-radius:9px;padding:12px 13px;margin:-6px 0 16px;color:#624400}.camera-guide>.icon{width:20px;height:20px;margin-top:1px}.camera-guide strong{font-size:12px;font-weight:650}.camera-guide p{font-size:11px;line-height:1.8;margin:4px 0 0;color:#624400}.button.camera-attention{outline:2px solid #bf8b11;outline-offset:3px}.camera-placeholder{width:100%;height:100%;border:0;border-radius:inherit;cursor:pointer;padding:26px 32px 42px;gap:12px;font:inherit}.camera-placeholder strong{font-size:15px;font-weight:600;color:#f0fff3}.camera-placeholder>span{font-size:11px;line-height:1.8;color:#d0e7d6}.camera-placeholder:hover:not(:disabled){background:radial-gradient(circle at 50% 50%,#426d52,#203d30 80%)}.camera-placeholder:focus-visible{outline:3px solid #f1cc68;outline-offset:-7px}.scan-stage:not(.active):not([aria-busy="true"]){cursor:pointer}.scanner-hint{pointer-events:none}

/* Keep list rows dense while preserving readable waybills and touch controls. */
.order-list{gap:10px}
.order-card-header{padding:12px 14px 0}
.order-card .platform-badge{height:19px}
.order-card .product-row{padding:12px 14px 9px}
.order-card .product-info h3{font-size:16px;margin-bottom:4px}
.order-card .product-info p{font-size:10px}
.order-card .product-price{font-size:17px;padding-top:0}
.order-card .shipping-panel{margin:0 14px 9px;padding:7px 10px}
.order-card .shipping-label{font-size:10px;margin-bottom:2px}
.order-card .shipping-state{font-size:9px}
.order-card .tracking-number{font-size:14px}
.order-card .order-meta{padding:0 14px 9px;font-size:9px}
.order-card-footer{padding:7px 14px;min-height:49px}
.order-card .receive-button{min-height:34px;font-size:11px}
.order-card .detail-button,.order-card .received-label{font-size:11px}
.order-card .record-time{margin:0 14px 10px;font-size:10px}
@media(max-width:370px){.order-card .tracking-number{font-size:13px}.order-card .merchant-name{font-size:10px}.order-card .shipping-state{font-size:8px}}

/* Product, shipping details and price share one row. */
.order-card-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}
.order-card-header .detail-button{font-size:10px;min-height:28px;padding:4px 0;white-space:nowrap}
.order-card-header .detail-button .icon{width:11px;height:11px}
.order-card .product-row{display:grid;grid-template-columns:minmax(78px,.9fr) minmax(0,1.6fr) auto;gap:8px;align-items:center;padding:9px 14px 10px}
.order-card .product-info h3{font-size:15px;white-space:nowrap;margin-bottom:5px}
.order-card .product-info p{font-size:10px}
.order-card .product-price{align-self:center;font-size:17px;padding:0}
.order-card .shipping-panel{position:relative;min-width:0;margin:0;padding:6px 7px}
.order-card .shipping-label{flex-direction:column;align-items:flex-start;gap:2px;margin-bottom:2px;font-size:9px}
.order-card .shipping-label .icon{width:11px;height:11px}
.order-card .shipping-label>span:first-child{padding-right:20px}
.order-card .shipping-state{font-size:8px;line-height:1.5;white-space:nowrap}
.order-card .tracking-row{gap:1px}
.order-card .tracking-number{font-size:12px;letter-spacing:0;white-space:nowrap;overflow-wrap:normal}
.order-card .copy-button{position:absolute;top:3px;right:3px;width:22px;height:26px;flex-shrink:0}
.order-card .copy-button .icon{width:12px;height:12px}
.order-card-footer{justify-content:flex-end}
@media(min-width:421px){.order-card .tracking-number{font-size:13px}}
@media(min-width:761px) and (max-width:1050px){.order-list{grid-template-columns:1fr}}
@media(max-width:370px){
  .order-card-actions{gap:6px}
  .order-card-header .status-badge{font-size:9px}
  .order-card-header .detail-button{font-size:9px}
  .order-card .merchant-name{font-size:10px}
  .order-card .product-row{grid-template-columns:minmax(70px,.8fr) minmax(0,1.6fr) auto;gap:5px}
  .order-card .product-info h3{font-size:14px}
  .order-card .product-price{font-size:15px}
  .order-card .shipping-panel{padding:6px}
  .order-card .tracking-number{font-size:12px}
  .order-card .copy-button{width:20px}
  .order-card .shipping-state{font-size:8px}
}

/* Keep the receive action beside the order time in the same compact footer. */
.order-card .product-row{grid-template-columns:minmax(62px,.7fr) minmax(0,1.6fr) auto}
.order-card-footer.with-order-meta{display:grid;grid-template-columns:minmax(0,1fr) max-content max-content;align-items:center;gap:6px}
.order-number,.order-created{color:#586d89;font-size:9px;white-space:nowrap}
.order-number{min-width:0;overflow:hidden;text-overflow:ellipsis}
.with-order-meta .receive-button{padding:0 10px;font-size:10px;gap:5px}
.with-order-meta .receive-button .icon{width:13px;height:13px}
@media(max-width:370px){
  .order-card .product-row{grid-template-columns:minmax(58px,.7fr) minmax(0,1.6fr) auto}
  .order-card-footer.with-order-meta{gap:4px}
  .order-number,.order-created{font-size:8px}
  .with-order-meta .receive-button{padding:0 8px;min-height:32px}
  .with-order-meta .received-label{font-size:10px}
}
.signed-overview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 22px;
}
.signed-overview > div {
  padding: 15px 20px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: white;
}
.signed-overview dt { color: var(--text-secondary); font-size: 12px; }
.signed-overview dd { margin: 5px 0 0; color: var(--primary-deep); font-size: 13px; }
.signed-overview strong { font-size: 28px; font-variant-numeric: tabular-nums; }
.signed-days { display: grid; gap: 16px; }
.signed-day {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: white;
  overflow: hidden;
}
.signed-day-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: var(--primary-light);
  color: var(--primary-deep);
}
.signed-day-header h2 { margin: 0; font-size: 16px; font-variant-numeric: tabular-nums; }
.signed-day-count {
  margin-left: auto;
  border-radius: 6px;
  padding: 4px 10px;
  background: white;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.signed-orders { list-style: none; padding: 0; margin: 0; }
.signed-order {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) max-content max-content;
  align-items: center;
  gap: 12px 20px;
  padding: 13px 20px;
}
.signed-order + .signed-order { border-top: 1px solid #e6edf6; }
.signed-product h3 { margin: 0 0 5px; font-size: 14px; }
.signed-product .platform-badge { vertical-align: middle; margin-right: 3px; }
.signed-order-number, .signed-courier { color: var(--text-secondary); font-size: 12px; overflow-wrap: anywhere; }
.signed-waybill { display: flex; align-items: center; gap: 4px; }
.signed-waybill .tracking-number { font-size: 13px; }
.signed-order-meta { display: flex; align-items: center; gap: 12px; font-size: 12px; white-space: nowrap; }
.signed-order-meta time { color: var(--text-secondary); font-variant-numeric: tabular-nums; }
.signed-order-detail { min-height: 40px; white-space: nowrap; }

@media (max-width: 960px) {
  .signed-order { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 10px; }
  .signed-tracking { grid-row: 2; }
  .signed-order-meta { grid-column: 2; grid-row: 1; gap: 7px; }
  .signed-order-detail { justify-self: end; }
}
@media (max-width: 760px) {
  .mobile-nav { padding-inline: 8px; }
  .mobile-nav > button { flex: 1; min-width: 0; }
  .signed-overview { gap: 8px; margin-bottom: 16px; }
  .signed-overview > div, .signed-day-header, .signed-order { padding-inline: 12px; }
  .signed-overview strong { font-size: 24px; }
  .signed-waybill .copy-button { width: 34px; height: 36px; }
}

.import-entry { display: flex; justify-content: flex-end; margin-bottom: 10px; }
.import-modal { width: min(760px, 100%); max-width: 760px; }
.import-form, .import-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.import-auth { display: grid; gap: 12px; max-width: 360px; }
.import-auth .button { justify-self: start; }
.import-access { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 14px; font-size: 13px; color: var(--text-secondary); }
.import-auth label, .import-form label, .import-fields label { display: grid; gap: 5px; color: var(--text-secondary); font-size: 12px; }
.import-auth input, .import-form input, .import-fields input, .import-fields select {
  width: 100%; min-width: 0; min-height: 38px; padding: 7px 9px;
  border: 1px solid var(--border); border-radius: 7px; background: white; color: var(--text);
  font: inherit; font-size: 14px;
}
.import-note { grid-column: 1 / -1; margin: 0; color: var(--text-secondary); font-size: 12px; line-height: 1.65; }
.import-form button { justify-self: start; }
.import-feedback { margin: 14px 0; padding: 10px 12px; border-radius: 7px; background: var(--soft); font-size: 13px; }
.import-feedback.error { background: #fff0ef; color: #941f1f; }
#import-review h3 { margin: 12px 0 5px; }
.import-draft { min-width: 0; margin: 14px 0 0; padding: 12px; border: 1px solid var(--border); border-radius: 8px; }
.import-draft legend { padding: 0 6px; font-weight: 600; font-size: 13px; }
.import-include { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 10px; font-size: 13px; }
.import-save { display: flex; justify-content: flex-end; margin-top: 14px; }
@media (max-width: 760px) {
  .import-entry { justify-content: flex-start; }
  .import-form { grid-template-columns: 1fr; }
  .import-auth input, .import-form input, .import-fields input, .import-fields select { font-size: 16px; }
}

.auth-screen { min-height: 100dvh; display: grid; place-items: center; padding: 24px; }
.auth-card { width: min(100%, 390px); padding: 30px; background: white; border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 14px 50px #1344780a; }
.auth-brand { color: var(--primary-deep); font-weight: 650; font-size: 14px; }
.auth-card h1 { margin: 14px 0 25px; font-size: 25px; }
.auth-card form { display: grid; gap: 15px; }
.auth-card label { display: grid; gap: 8px; color: var(--text-secondary); font-size: 13px; }
.auth-card input { min-height: 44px; border: 1px solid var(--border); border-radius: 8px; width: 100%; padding: 8px 12px; font-size: 16px; }
.auth-card .text-button { margin-top: 14px; }
.auth-feedback { margin: 0; font-size: 13px; line-height: 1.6; color: #a12626; }
.account-identity { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.account-identity > span { color: var(--text-secondary); font-size: 12px; }
.account-identity > button { margin-left: auto; }
.account-modal h3 { font-size: 15px; margin: 8px 0; }
.account-modal .auth-feedback { margin-top: 15px; }
#account-admin { margin-top: 26px; }
.account-users { list-style: none; margin: 10px 0 0; padding: 0; }
.account-users li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--border); font-size: 13px; }
.account-users small { color: var(--text-secondary); margin-left: 8px; }
@media (max-width: 760px) { .auth-card { padding: 24px; } .account-modal { min-height: 55dvh; } }
