:root{--ink:#18262a;--muted:#6e7b7c;--green:#1d775f;--mint:#e7f2ec;--line:#e3e8e4;--paper:#f6f7f3;--nav:#152a29;--danger:#b3483f;font-family:Inter,-apple-system,BlinkMacSystemFont,'PingFang SC','Microsoft YaHei',sans-serif;color:var(--ink);font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background:var(--paper);font-size:14px;line-height:1.6}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent;outline-offset:4px}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.48}a{color:inherit;text-decoration:none}:focus-visible{outline:3px solid #5eac90}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}h1,h2,h3,p{margin:0}h1{font-size:28px;line-height:1.4;letter-spacing:-.7px}h2{font-size:19px;letter-spacing:-.3px}h3{font-size:15px}[hidden],.hidden{display:none!important}.muted{color:var(--muted)}.small{font-size:12px}.mono{font-family:'SFMono-Regular',Consolas,monospace}.mobile-only{display:none}.eyebrow{font-size:11px;letter-spacing:2px;font-weight:650;color:var(--green)}
.brand{font-size:19px;font-weight:750;letter-spacing:-.6px;display:flex;align-items:center;gap:10px}.brand-mark{width:35px;height:35px;border-radius:10px;display:grid;place-items:center;background:#bde6b9;color:#173d30}.brand-mark svg{width:23px;height:23px}.brand-studio{font-size:10px;font-weight:400;color:#a1b9aa;letter-spacing:1px}
.badge{display:inline-flex;align-items:center;gap:6px;font-size:11px;padding:4px 9px;border-radius:5px;background:var(--mint);color:var(--green);white-space:nowrap}.badge .dot{width:5px;height:5px;border-radius:50%;background:currentColor}.badge.inactive{background:#f2eae6;color:#8c6356}
.btn{border:1px solid var(--line);background:white;border-radius:8px;min-height:44px;padding:10px 16px;font-weight:600;display:inline-flex;align-items:center;justify-content:center;gap:8px;transition:background .18s}.btn:hover{background:#eef3ee}.btn.primary{background:var(--green);border-color:var(--green);color:white}.btn.primary:hover{background:#135e4b}.btn.dark{background:var(--nav);border-color:var(--nav);color:white}.btn.full{width:100%}.link-btn{border:0;background:none;color:var(--green);padding:10px 4px;min-height:44px;font-size:12px}.link-btn.danger{color:#956c5c}.link-btn:hover{text-decoration:underline}.error{background:#fff0ee;border:1px solid #f3d7d3;color:var(--danger);padding:11px 14px;border-radius:8px;margin-top:12px;font-size:13px;overflow-wrap:anywhere}
.shell{display:grid;grid-template-columns:218px minmax(0,1fr);min-height:100vh}.sidebar{background:var(--nav);color:#e6efea;display:flex;flex-direction:column;padding:30px 20px;position:fixed;inset:0 auto 0 0;width:218px}.sidebar .brand{margin:0 7px 48px}.nav-label{font-size:10px;color:#92a6a0;letter-spacing:2px;margin:0 13px 14px}.nav-item{display:flex;align-items:center;gap:12px;padding:12px 14px;color:#afc2ba;border-radius:7px;margin-bottom:7px;border:0;width:100%;text-align:left;background:transparent;min-height:46px}.nav-item.active{background:#2b4640;color:#d5f5d0}.nav-item:hover{background:#263e39}.nav-item .count{margin-left:auto;font-size:10px;background:#3c5850;padding:0 6px;border-radius:4px}.sidebar-foot{margin-top:auto;border-top:1px solid #344842;padding-top:20px;font-size:11px;color:#a4b7af;display:flex;gap:10px}.sidebar-foot .avatar{background:#365048;color:#d8f2ce;width:33px;height:33px;display:grid;place-items:center;border-radius:50%;font-size:12px}.sidebar-foot span{font-size:10px;color:#78968a}.workspace{grid-column:2;min-width:0}.topbar{height:74px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 38px;background:#fcfdf9;gap:12px}.crumb{font-size:12px;color:var(--muted);white-space:nowrap}.crumb span{color:var(--ink);margin-left:9px}.top-actions{display:flex;align-items:center;gap:18px}.top-actions a{font-size:12px;display:inline-flex;align-items:center;gap:6px;min-height:44px;white-space:nowrap}.top-actions .badge{background:#f1f3ed;color:#54645c}.main{max-width:1320px;margin:auto;padding:30px 38px 28px}
.work-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.96fr);gap:24px;align-items:start}.panel{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden;min-width:0}.panel-head{display:flex;align-items:center;justify-content:space-between;padding:20px 23px;border-bottom:1px solid #edf0ea;gap:10px}.panel-head h2{display:flex;gap:9px;align-items:center;font-size:16px}.panel-head h2 svg{width:18px}.panel-body{padding:22px}.dropzone{border:1.5px dashed #b8c8bc;border-radius:9px;background:#fafbf7;min-height:228px;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:22px;text-align:center;transition:background .18s}.dropzone.drag{background:var(--mint);border-color:var(--green)}.upload-symbol{display:grid;place-items:center;background:#eaf0e5;color:var(--green);width:51px;height:51px;border-radius:13px;margin-bottom:16px}.upload-symbol svg{width:25px;height:25px}.dropzone h3{margin-bottom:5px;font-size:15px}.dropzone p{font-size:12px;color:var(--muted);margin-bottom:18px}.dropzone .btn{padding:8px 17px;font-size:12px}.upload-foot{margin:10px 0 22px;font-size:11px;color:var(--muted)}.preview-strip{display:flex;align-items:center;gap:12px;margin-top:14px;padding:10px;border:1px solid var(--line);border-radius:8px;text-align:left;width:100%;min-width:0}.preview-strip img{width:40px;height:50px;object-fit:cover;border-radius:4px;flex-shrink:0}.preview-strip div{min-width:0;flex:1}.preview-strip strong{display:block;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.section-label{font-size:11px;color:#7a867e;display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;gap:12px}.match-card{background:#f7f9f5;border:1px solid var(--line);border-radius:8px;padding:12px;display:flex;gap:12px;align-items:center}.match-card img{width:53px;height:53px;object-fit:cover;border-radius:7px;flex-shrink:0}.match-card>div{min-width:0;flex:1}.match-card strong{font-size:14px}.match-card p{font-size:11px;color:var(--muted);margin-top:3px;overflow-wrap:anywhere}.fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin-top:16px}.field{display:flex;flex-direction:column;gap:6px;min-width:0}.field label{font-size:12px;color:#63736b}.field input,.field select{background:#fff;border:1px solid #dfe5de;border-radius:6px;padding:10px 11px;width:100%;height:44px;font-size:13px;color:var(--ink);min-width:0}.field input[readonly]{background:#fcfdfb}.field.wide{grid-column:1/-1}.review-note{font-size:11px;color:var(--muted);margin:14px 0}.review-note svg{width:14px;height:14px;margin-right:4px}.ocr-details{margin-top:14px;font-size:12px;color:var(--muted)}.ocr-details summary{cursor:pointer;min-height:44px;display:list-item;padding-top:10px}.ocr-details pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:180px;overflow:auto;font-size:11px;background:#f6f7f3;padding:12px;border-radius:6px}
.empty{min-height:390px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:35px}.empty-art{width:100px;height:100px;margin-bottom:24px;background:#f2f6ee;border-radius:50%;display:grid;place-items:center;color:#70927c}.empty-art svg{width:45px;height:45px;stroke-width:1}.empty h3{font-size:15px;margin-bottom:9px}.empty p{font-size:12px;color:var(--muted);max-width:245px;line-height:1.9}.delivery-content{padding:22px}.success-line{display:flex;align-items:center;gap:8px;color:var(--green);font-size:12px;margin-bottom:15px}.success-line svg{flex-shrink:0}.code-box{background:#f2f7ee;border:1px solid #dce9d5;border-radius:9px;padding:16px;margin-bottom:18px}.code-box label{display:block;color:#6d7e69;font-size:11px;letter-spacing:1px;margin-bottom:7px}.code-box strong{font-size:18px;letter-spacing:1.1px;overflow-wrap:anywhere;font-weight:650}.code-box p{font-size:11px;margin-top:9px}.message-label{display:flex;justify-content:space-between;align-items:center;font-size:12px;margin-bottom:7px;gap:10px}.message-text{width:100%;min-height:270px;resize:vertical;padding:15px;border:1px solid var(--line);border-radius:8px;background:#fcfdfb;font-size:13px;line-height:1.9;color:#3c4b42}.delivery-content .full{margin-top:15px}.delivery-tip{border-top:1px solid var(--line);padding:14px 23px;font-size:11px;color:var(--muted);display:flex;gap:8px;align-items:start;background:#fafbf7}.delivery-tip svg{width:15px;height:15px;flex-shrink:0;margin-top:2px}.expired .code-box{background:#f6eee7;border-color:#ead8cd}.expired .success-line{color:var(--danger)}
.recent{margin-top:26px}.recent.history-only{margin-top:0}.recent-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.recent-head h2{font-size:15px}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:9px;background:white}table{width:100%;border-collapse:collapse;white-space:nowrap}th{text-align:left;font-weight:500;font-size:11px;color:var(--muted);padding:12px 16px;background:#fafbf7;border-bottom:1px solid var(--line)}td{padding:12px 16px;font-size:12px;border-bottom:1px solid #f0f2ed}tr:last-child td{border-bottom:0}.time-cell small{display:block;font-size:10px;color:var(--muted);margin-top:2px}.actions-cell .link-btn+.link-btn{margin-left:14px}.table-empty{text-align:center;padding:24px;color:var(--muted)}.footer{font-size:10px;color:#8a948b;display:flex;justify-content:space-between;gap:20px;margin-top:26px}.toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);background:var(--nav);color:white;border-radius:8px;padding:12px 23px;box-shadow:0 8px 30px #0002;z-index:30;font-size:13px;max-width:calc(100% - 32px);width:max-content}
.category-tabs{display:flex;gap:12px;border-bottom:1px solid var(--line);padding:0 0 15px;margin-bottom:25px;overflow-x:auto;scrollbar-width:thin}.category-tab{border:0;background:transparent;border-radius:7px;min-height:44px;padding:10px 20px;color:var(--muted);white-space:nowrap}.category-tab.active{background:var(--mint);color:var(--green);font-weight:600}.category-tab:hover{background:#eaf0e6}.product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:22px}.product-card{aspect-ratio:3/4;display:grid;grid-template-rows:3fr 1fr;border:1px solid var(--line);border-radius:12px;background:white;overflow:hidden;min-width:0;box-shadow:0 3px 12px #17352a04;transition:box-shadow .18s,border-color .18s}.product-card:hover{border-color:#a5bfab;box-shadow:0 6px 20px #17352a13}.product-card img{width:100%;height:100%;min-height:0;object-fit:contain;background:#08142d;display:block}.product-card-name{padding:16px 18px;display:flex;align-items:center;font-size:16px;font-weight:600;overflow-wrap:anywhere}
/* Customer page */
.customer-header{max-width:1160px;margin:auto;height:88px;display:flex;align-items:center;padding:0 30px}.customer-main{max-width:1100px;margin:14px auto 40px;padding:0 30px}.customer-card{display:grid;grid-template-columns:1.04fr 1fr;background:white;border:1px solid #e1e5dd;border-radius:17px;overflow:hidden;box-shadow:0 18px 60px #1f352b08}.product-visual{background:#08142d;position:relative;display:flex;flex-direction:column;justify-content:space-between;min-height:550px;isolation:isolate}.product-visual img{width:100%;height:100%;position:absolute;inset:0;object-fit:contain;object-position:center center;z-index:-2}.product-visual:after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,#08142d15 55%,#08142df2)}.visual-top{padding:23px;display:flex;justify-content:space-between;align-items:center;gap:10px}.visual-top .badge{background:#ffffff16;border:1px solid #ffffff28;color:#e1eafa;backdrop-filter:blur(10px)}.visual-edition{color:#ffffff70;font-size:10px;letter-spacing:2px}.visual-caption{padding:26px 30px;color:#eef6ff}.visual-caption .eyebrow{color:#97bcdb;letter-spacing:2px;font-size:9px;margin-bottom:8px}.visual-caption p{font-size:12px;color:#aebed4;line-height:1.8}.visual-features{display:flex;gap:16px;margin-top:16px;font-size:10px;color:#c2cee1}.visual-features span{display:flex;align-items:center;gap:5px}.visual-features svg{width:14px;height:14px}.claim-panel{padding:44px 38px;display:flex;flex-direction:column;min-width:0;justify-content:center}.claim-panel h1{font-size:25px}.claim-panel h1 span{font-size:15px;font-weight:500;letter-spacing:0}.subtitle{font-size:13px;line-height:1.9;color:var(--muted);margin-top:10px}.claim-form{margin-top:28px}.claim-form label{font-size:13px;font-weight:600;display:flex;align-items:center;justify-content:space-between;margin-bottom:10px;gap:12px}.claim-form label span{font-size:11px;color:#76876e;font-weight:400;white-space:nowrap}.input-wrap{position:relative}.input-wrap svg{position:absolute;left:14px;top:16px;width:18px;height:18px;color:#829386}.input-wrap textarea{display:block;width:100%;height:148px;min-height:100px;max-height:320px;resize:vertical;border:1px solid #ced9cd;background:#fcfdf9;border-radius:8px;padding:14px 13px 14px 42px;font-size:14px;line-height:1.8;color:var(--ink);overflow-wrap:anywhere}.input-wrap textarea::placeholder{color:#8a958b}.claim-form .btn{margin-top:14px;height:49px;font-size:14px}.customer-support{padding-top:24px;margin-top:auto;font-size:11px;color:#7a8978}.customer-support strong{color:#456441;font-weight:500}.legal-note{font-size:10px;line-height:1.8;color:#8c9789;margin-top:17px}.customer-bottom{display:flex;justify-content:space-between;gap:14px;margin-top:20px;font-size:10px;color:#879281}.resource-list{display:flex;flex-direction:column;gap:10px;margin-top:20px}.resource-link{display:flex;align-items:center;gap:11px;padding:14px;border:1px solid var(--line);border-radius:8px;background:#fcfdf9;transition:background .18s}.resource-link:hover{border-color:#7fa68a;background:#f0f6ed}.drive-icon{width:34px;height:34px;flex-shrink:0;border-radius:7px;background:#e8f0e4;color:var(--green);display:grid;place-items:center}.resource-link strong{font-size:13px;display:block}.resource-link small{font-size:11px;color:var(--muted)}.resource-arrow{margin-left:auto}.resource-arrow svg{width:16px;height:16px}.redeem-success{background:var(--mint);color:var(--green);font-size:13px;padding:10px 13px;border-radius:6px;display:flex;align-items:center;gap:7px}.resource-note{font-size:11px;color:var(--muted);margin-top:13px;line-height:1.9}.resource-note:empty{display:none}#use-another{margin-top:8px}
@media(min-width:1500px){.main{padding-top:38px}.work-grid{gap:28px}.dropzone{min-height:260px}}
@media(max-width:1100px){.shell{grid-template-columns:180px minmax(0,1fr)}.sidebar{width:180px;padding:24px 13px}.main{padding:25px 24px}.topbar{padding:0 24px}.panel-body,.delivery-content{padding:18px}.panel-head{padding:18px}.claim-panel{padding:32px 25px}.visual-top{padding:18px}.visual-edition{display:none}.visual-caption{padding:22px}.visual-features{gap:11px}}
@media(max-width:820px){
  .shell{display:block}.workspace{padding-bottom:calc(90px + env(safe-area-inset-bottom));width:100%}
  .sidebar{position:static;width:100%;padding:15px 20px;display:block}.sidebar .brand{margin:0;width:max-content}.sidebar .brand-mark{width:31px;height:31px}.nav-label,.sidebar-foot{display:none}
  .sidebar nav{position:fixed;z-index:20;left:0;right:0;bottom:0;padding:7px 10px calc(7px + env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;background:#fff;border-top:1px solid var(--line);box-shadow:0 -5px 22px #102b1706}
  .nav-item{color:#738078;min-height:54px;flex-direction:column;justify-content:center;gap:3px;margin:0;padding:5px 3px;font-size:11px;text-align:center}.nav-item svg{width:20px;height:20px}.nav-item.active{color:var(--green);background:#edf4e9}.nav-item:hover{background:#edf4e9}.nav-item .count{display:none}
  .topbar{height:54px;padding:0 20px}.top-actions .badge{display:none}.main{padding:20px}.work-grid{grid-template-columns:minmax(0,1fr);gap:20px}.dropzone{min-height:205px}.dropzone .btn{font-size:14px;min-height:46px;padding:10px 24px}.desktop-only{display:none}.mobile-only{display:inline}.field input,.field select,.message-text,.input-wrap textarea{font-size:16px}.field input,.field select{height:48px}.field label{font-size:13px}.panel-body,.delivery-content{padding:20px}.panel-head{padding:17px 20px}.section-label{font-size:12px}.match-card p{font-size:12px}.empty{min-height:190px;padding:25px}.empty-art{width:62px;height:62px;margin-bottom:14px}.empty-art svg{width:31px;height:31px}.message-text{min-height:310px}.message-label{font-size:12px}.code-box strong{font-size:17px}.review-note,.delivery-tip{font-size:12px}.delivery-tip{padding:14px 20px}.btn.full{min-height:48px;font-size:14px}.ocr-details summary{font-size:13px}.link-btn{font-size:13px}.success-line{font-size:13px}#delivery-panel{scroll-margin-top:16px}.toast{bottom:calc(86px + env(safe-area-inset-bottom));font-size:12px}
  .table-wrap{overflow:visible;border:0;background:transparent}table,tbody{display:block;white-space:normal}thead{display:none}tbody{display:grid;gap:12px}tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px 14px;padding:16px;background:white;border:1px solid var(--line);border-radius:10px}td{display:block;padding:0;border:0;min-width:0;font-size:12px}.order-cell{grid-column:1/-1;overflow-wrap:anywhere;font-size:12px;display:flex;gap:8px;align-items:baseline}.order-cell:before{content:attr(data-label);font-family:inherit;color:var(--muted);flex-shrink:0;font-size:11px}.product-cell{grid-column:1;font-weight:600;font-size:14px}.status-cell{grid-column:2;grid-row:2}.time-cell{grid-column:1/-1;color:var(--muted);font-size:11px;display:flex;gap:8px;flex-wrap:wrap}.time-cell:before{content:'生成于'}.time-cell small{display:inline;font-size:11px;margin:0}.actions-cell{grid-column:1/-1;display:flex;justify-content:flex-end;gap:16px;border-top:1px solid #eff2eb;margin-top:4px;padding-top:4px}.actions-cell .link-btn{margin:0!important;min-width:60px}.table-empty{grid-column:1/-1;padding:12px}.recent-head{margin-bottom:9px}.recent-head h2{font-size:15px}
  .product-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.category-tabs{margin-bottom:20px}.product-card-name{padding:12px 15px}.footer{font-size:10px;margin-top:22px;gap:10px}.customer-header{height:74px;padding:0 22px}.customer-main{max-width:600px;padding:0 20px;margin:6px auto 30px}.customer-card{grid-template-columns:1fr}.product-visual{min-height:300px}.visual-top,.visual-caption{display:none}.claim-panel{padding:28px}.claim-panel h1{font-size:24px}.claim-panel h1 span{font-size:14px}.customer-support{margin-top:0}.customer-bottom{flex-direction:column;gap:5px}
}
@media(max-width:500px){.main{padding:16px}.sidebar{padding:14px 18px}.topbar{padding:0 18px}.panel-body,.delivery-content{padding:17px}.panel-head{padding:17px}.match-card{gap:9px;padding:10px}.match-card img{width:43px;height:43px}.match-card .badge{font-size:10px;padding:3px 6px}.match-card p{font-size:11px}.fields{gap:10px}.field input,.field select{padding:9px}.section-label{font-size:11px}.review-note{font-size:11px}.dropzone{padding:18px;min-height:200px}.dropzone p{font-size:12px}.code-box{padding:13px}.code-box strong{font-size:16px;letter-spacing:.3px}.message-label .link-btn{font-size:11px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.product-card{border-radius:10px}.product-card-name{font-size:14px;padding:10px 12px}.category-tabs{gap:8px;padding-bottom:12px}.category-tab{padding:10px 17px;font-size:13px}.customer-main{padding:0 16px}.product-visual{min-height:240px}.claim-panel{padding:24px 20px}.claim-panel h1{font-size:23px}.claim-panel h1 span{font-size:13px}.claim-form{margin-top:22px}.claim-form label{font-size:13px}.claim-form label span{font-size:10px}.input-wrap textarea{height:145px;padding-left:38px}.subtitle{font-size:12px}.legal-note{font-size:10px}.customer-bottom{font-size:9px}.crumb{font-size:11px}.top-actions a{font-size:11px}.top-actions svg{width:16px;height:16px}.upload-foot{font-size:11px}.footer{flex-wrap:wrap}.empty p{font-size:12px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
/* Three separate delivery screens. */
.wizard{max-width:680px;margin:0 auto}.wizard-page{min-height:0}.wizard-page .panel-head{padding:22px 26px}.wizard-page .panel-body,.wizard-page .delivery-content{padding:26px}.wizard-page .dropzone{min-height:340px}.wizard-page .upload-foot{margin-bottom:0}.wizard-status{display:flex;align-items:center;gap:14px;background:#f4f8ef;border-radius:9px;padding:17px;margin-bottom:19px}.wizard-status strong{font-size:14px}.wizard-status p{font-size:12px;color:var(--muted);margin-top:4px}.spinner{width:23px;height:23px;flex-shrink:0;border:2px solid #d7e5d0;border-top-color:var(--green);border-radius:50%;animation:spin .8s linear infinite}.wizard-status.needs-attention{background:#fbf3e9}.preview-strip{margin:0 0 20px}.review-continue{margin-top:22px}.secondary-action{margin-top:12px}.wizard-page .code-box label{display:flex;align-items:center;justify-content:space-between;gap:12px}.wizard-page .message-text{min-height:330px}.wizard-page .section-label{margin-top:18px}.wizard-page .delivery-tip{font-size:12px}.wizard-page .success-line{font-size:13px}.wizard-page .code-box strong{font-size:19px}.wizard-page .upload-symbol{width:62px;height:62px}.wizard-page .upload-symbol svg{width:29px;height:29px}
.customer-bottom{justify-content:center;text-align:center;font-size:20px}.legal-note{font-size:20px;text-align:center;line-height:1.7}.customer-support{text-align:center}.claim-panel{padding-bottom:30px}
@keyframes spin{to{transform:rotate(360deg)}}
@media(max-width:820px){.wizard{max-width:620px}.wizard-page .panel-head{padding:19px 20px}.wizard-page .panel-body,.wizard-page .delivery-content{padding:20px}.wizard-page .dropzone{min-height:300px}.wizard-page .message-text{min-height:355px}.customer-bottom{font-size:20px}.legal-note{font-size:20px}.wizard-page .code-box strong{font-size:17px}.wizard-page .panel-head h2{font-size:17px}}
@media(max-width:500px){.wizard-page .panel-head{padding:17px}.wizard-page .panel-body,.wizard-page .delivery-content{padding:17px}.wizard-page .dropzone{min-height:300px}.wizard-status{padding:14px;gap:11px}.wizard-status strong{font-size:13px}.wizard-status p{font-size:11px}.wizard-page .code-box strong{font-size:16px}.customer-bottom{font-size:18px}.legal-note{font-size:20px}.wizard-page .message-label{font-size:12px}}
@media(prefers-reduced-motion:reduce){.spinner{animation:none}}
/* Errors are isolated from the workflow in a modal. */
.error-dialog{padding:0;border:1px solid #e2e9df;border-radius:17px;width:min(440px,calc(100% - 32px));max-height:calc(100dvh - 40px);color:var(--ink);background:#fff;box-shadow:0 20px 80px #102c2440;overflow:auto}.error-dialog::backdrop{background:#142b295c;backdrop-filter:blur(5px)}.dialog-close{position:absolute;right:10px;top:10px;width:44px;height:44px;border:0;border-radius:50%;display:grid;place-items:center;background:transparent;color:#7a8980}.dialog-close:hover{background:#f1f5ed}.dialog-close svg{width:19px;height:19px}.dialog-body{padding:27px 27px 0}.dialog-icon{width:45px;height:45px;border-radius:12px;background:#f3eee4;color:#92714c;display:grid;place-items:center;margin-bottom:17px}.dialog-icon svg{width:23px;height:23px}.dialog-body h2{font-size:20px;padding-right:25px}.dialog-body p{color:var(--muted);font-size:13px;margin-top:9px}.dialog-body ul{font-size:14px;line-height:1.9;margin:17px 0 0;padding-left:19px;overflow-wrap:anywhere}.dialog-body li+li{margin-top:8px}.dialog-actions{display:flex;flex-direction:column;gap:10px;padding:23px 27px 27px}.dialog-actions .btn{min-height:46px}.error-dialog:focus{outline:none}
@media(max-width:500px){.dialog-body{padding:24px 22px 0}.dialog-actions{padding:22px}.dialog-body h2{font-size:19px}.dialog-body ul{font-size:14px}}
/* Compact delivery records: status above, actions alongside the dates. */
#orders-body .actions-cell .link-btn{border:1px solid #c5d9cd;border-radius:6px;background:#fff;padding:6px 10px;white-space:nowrap;text-decoration:none}
#orders-body .actions-cell .link-btn:hover{background:#eef5ee;border-color:#93b69f}
#orders-body .actions-cell .link-btn.danger{border-color:#dfcdc3;background:#fffaf6}
#orders-body .actions-cell .link-btn.danger:hover{background:#f8eee6;border-color:#c7a795}
@media(max-width:820px){
  #orders-body tr{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"order status" "product product" "time actions";gap:4px 10px;padding:12px 14px}
  #orders-body .order-cell{grid-area:order;gap:6px;align-self:center}
  #orders-body .status-cell{grid-area:status;justify-self:end;align-self:start}
  #orders-body .product-cell{grid-area:product;line-height:1.5}
  #orders-body .time-cell{grid-area:time;display:flex;flex-direction:column;gap:1px;align-self:center;line-height:1.6;font-size:11px}
  #orders-body .time-cell:before{content:none}
  #orders-body .time-cell small{font-size:11px}
  #orders-body .actions-cell{grid-area:actions;align-self:center;display:flex;gap:8px;border:0;margin:0;padding:0;white-space:nowrap}
  #orders-body .actions-cell .link-btn{min-width:44px;min-height:44px;padding:6px 8px;font-size:12px}
  #orders-body tr:has(.table-empty){display:block}
}
