*,:after,:before{box-sizing:border-box}:root{--oms-bg:#0f1419;--oms-surface:#1a2332;--oms-surface-hover:#243044;--oms-border:#2d3a4d;--oms-text:#e6edf3;--oms-text-muted:#8b9cb3;--oms-accent:#6eb8ff;--oms-accent-hover:#9dd0ff;--oms-success:#56d364;--oms-warning:#e3b341;--oms-radius:8px;--oms-font:"DM Sans","Noto Sans SC",system-ui,sans-serif}body{margin:0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.oms-app,body{font-family:var(--oms-font);min-height:100vh;background:var(--oms-bg);color:var(--oms-text)}.oms-header{display:flex;align-items:center;justify-content:space-between;gap:1rem;background:var(--oms-surface);border-bottom:1px solid var(--oms-border);padding:1.25rem 2rem}.oms-header h1{margin:0;font-size:1.5rem;font-weight:600;letter-spacing:-.02em}.oms-header-logout{flex-shrink:0}.oms-loading{color:var(--oms-text-muted)}.oms-loading,.oms-login-wrap{display:flex;align-items:center;justify-content:center;min-height:100vh}.oms-login-wrap{padding:1.5rem}.oms-login-card{width:100%;max-width:360px;padding:2rem;background:var(--oms-surface);border:1px solid var(--oms-border);border-radius:var(--oms-radius);box-shadow:0 8px 32px rgba(0,0,0,.3)}.oms-login-title{margin:0 0 .25rem;font-size:1.25rem;font-weight:600;text-align:center}.oms-login-desc{margin:0 0 1.5rem;font-size:.875rem;color:var(--oms-text-muted);text-align:center}.oms-login-form label{display:flex;flex-direction:column;gap:.25rem;margin-bottom:1rem}.oms-login-form label span{font-size:.875rem;color:var(--oms-text-muted)}.oms-login-form input{width:100%;padding:.6rem .75rem;border:1px solid var(--oms-border);border-radius:6px;background:var(--oms-bg);color:var(--oms-text);font-size:.95rem}.oms-login-form input:focus{outline:none;border-color:var(--oms-accent)}.oms-login-error{margin:0 0 1rem;font-size:.875rem;color:#f85149}.oms-login-btn{width:100%;min-height:44px;margin-top:.25rem}.oms-subtitle{margin:.25rem 0 0;font-size:.875rem;color:var(--oms-text-muted)}.oms-main{padding:1.5rem 2rem;max-width:1600px;margin:0 auto}.oms-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:1rem;margin-bottom:1.25rem}.oms-search{display:inline-flex;align-items:center;gap:.75rem}.oms-search span{color:var(--oms-text-muted);font-size:.9rem}.oms-search input{width:280px;padding:.5rem .75rem;border:1px solid var(--oms-border);border-radius:var(--oms-radius);background:var(--oms-surface);color:var(--oms-text);font-size:.9rem}.oms-search input::placeholder{color:var(--oms-text-muted)}.oms-search input:focus{outline:none;border-color:var(--oms-accent)}.oms-filter-select{min-width:140px;padding:.5rem .75rem;border:1px solid var(--oms-border);border-radius:var(--oms-radius);background:var(--oms-surface);color:var(--oms-text);font-size:.9rem;cursor:pointer}.oms-filter-select:focus{outline:none;border-color:var(--oms-accent)}.oms-table-wrap{overflow-x:auto;border-radius:var(--oms-radius);border:1px solid var(--oms-border);background:var(--oms-surface)}.oms-table{width:100%;border-collapse:collapse;font-size:.875rem}.oms-table td,.oms-table th{padding:.75rem 1rem;text-align:left;border-bottom:1px solid var(--oms-border)}.oms-table th{color:var(--oms-text-muted);font-weight:600;white-space:nowrap}.oms-table tbody tr:hover,.oms-table th{background:var(--oms-surface-hover)}.oms-order-no{font-weight:500;color:var(--oms-accent)}.oms-col-actions{position:-webkit-sticky;position:sticky;right:0;z-index:1;min-width:170px;border-left:1px solid var(--oms-border)}.oms-table th.oms-col-actions{background:var(--oms-surface-hover)}.oms-table td.oms-col-actions{background:var(--oms-surface)}.oms-table tbody tr:hover td.oms-col-actions{background:var(--oms-surface-hover)}.oms-table-actions{display:grid;grid-template-columns:1fr 1fr;grid-gap:.4rem;gap:.4rem}.oms-status{display:inline-block;padding:.2rem .5rem;border-radius:4px;font-size:.8rem}.oms-status--shipped{background:rgba(110,184,255,.25);color:#9dd0ff}.oms-status--completed{background:rgba(63,185,80,.2);color:var(--oms-success)}.oms-status--pending-local{background:rgba(210,153,34,.2);color:var(--oms-warning)}.oms-status--pending-warehouse{background:rgba(210,134,34,.25);color:#e3b341}.oms-status--pending-local-warehouse{background:rgba(56,189,186,.2);color:#39c5cf}.oms-status--cancelled{background:hsla(0,0%,50%,.2);color:var(--oms-text-muted)}.oms-status--pending{background:rgba(210,153,34,.2);color:var(--oms-warning)}.oms-address-cell{max-width:240px}.oms-address-name{font-weight:500}.oms-address-detail{margin-top:.2rem;font-size:.8rem;color:var(--oms-text-muted)}.oms-lines{max-width:420px}.oms-line-item{list-style:none;margin:0;padding:.35rem 0;border-bottom:1px solid var(--oms-border);font-size:.8rem;display:flex;align-items:flex-start;gap:.5rem}.oms-line-img{object-fit:cover}.oms-line-img,.oms-line-img-placeholder{width:48px;height:48px;border-radius:6px;flex-shrink:0}.oms-line-img-placeholder{display:inline-flex;align-items:center;justify-content:center;background:var(--oms-border);color:var(--oms-text-muted);font-size:.7rem}.oms-line-body{flex:1 1;min-width:0}.oms-line-item:last-child{border-bottom:none}.oms-line-sku{color:var(--oms-text-muted)}.oms-line-price,.oms-line-qty,.oms-line-sku{margin-right:.5rem}.oms-line-price{color:var(--oms-text-muted)}.oms-line-name,.oms-line-subtotal{font-weight:500;margin-right:.5rem}.oms-line-extra{display:block;margin-top:.25rem;color:var(--oms-text-muted)}.oms-line-video-tag{color:var(--oms-accent);font-size:.8rem}.oms-line-video-tag--btn{background:none;border:none;padding:0;margin:0;cursor:pointer;font:inherit;color:inherit;text-decoration:none}.oms-line-video-tag--btn:hover{text-decoration:underline;color:var(--oms-accent-hover)}.oms-btn{padding:.4rem .75rem;border-radius:6px;border:1px solid #4a5f7a;background:#2d3d52;color:#e6edf3;cursor:pointer;font-size:.875rem}.oms-btn:hover{border-color:var(--oms-accent);color:var(--oms-accent-hover);background:#354358}.oms-btn--primary{background:var(--oms-accent);border-color:var(--oms-accent);color:#fff}.oms-btn--primary:hover{background:var(--oms-accent-hover);border-color:var(--oms-accent-hover);color:#fff}.oms-btn--outline{border-color:var(--oms-accent);color:var(--oms-accent-hover);background:transparent}.oms-btn--outline:hover{background:rgba(110,184,255,.18);border-color:var(--oms-accent-hover);color:var(--oms-accent-hover)}.oms-btn--danger{background:#e5534b;border-color:#e5534b;color:#fff}.oms-btn--danger:hover{background:#f06a62;border-color:#f06a62;color:#fff}.oms-empty{text-align:center;padding:3rem 2rem;color:var(--oms-text-muted);background:var(--oms-surface);border-radius:var(--oms-radius);border:1px solid var(--oms-border)}.oms-pagination{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:1rem;margin-top:1.25rem;padding:.75rem 0;border-top:1px solid var(--oms-border)}.oms-pagination-info{font-size:.875rem;color:var(--oms-text-muted)}.oms-pagination-btns{display:flex;gap:.5rem}.oms-pagination .oms-btn:disabled{opacity:.5;cursor:not-allowed}.oms-pagination .oms-btn:disabled,.oms-pagination .oms-btn:disabled:hover{border-color:var(--oms-border);color:var(--oms-text-muted)}.oms-modal-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.6);display:flex;align-items:center;justify-content:center;z-index:1000;padding:1rem}.oms-modal{width:100%;max-width:560px;max-height:90vh;overflow:hidden;display:flex;flex-direction:column;background:var(--oms-surface);border:1px solid var(--oms-border);border-radius:var(--oms-radius);box-shadow:0 8px 32px rgba(0,0,0,.4)}.oms-modal-header{display:flex;align-items:center;justify-content:space-between;padding:1rem 1.25rem;border-bottom:1px solid var(--oms-border)}.oms-modal-header h2{margin:0;font-size:1.1rem;font-weight:600}.oms-modal-close{width:32px;height:32px;border:none;background:transparent;color:var(--oms-text-muted);font-size:1.5rem;line-height:1;cursor:pointer;border-radius:6px}.oms-modal-close:hover{background:var(--oms-surface-hover);color:var(--oms-text)}.oms-modal-body{overflow-y:auto;padding:1.25rem;flex:1 1}.oms-confirm-title{margin:0 0 1rem;font-size:1rem;font-weight:600;color:var(--oms-text)}.oms-change-list{list-style:none;margin:0 0 1.25rem;padding:0}.oms-change-item{padding:.5rem 0;border-bottom:1px solid var(--oms-border);font-size:.875rem}.oms-change-item:last-child{border-bottom:none}.oms-change-label{display:block;color:var(--oms-text-muted);margin-bottom:.25rem}.oms-change-values{display:flex;align-items:baseline;flex-wrap:wrap;gap:.5rem}.oms-change-old{color:var(--oms-text-muted);text-decoration:line-through}.oms-change-arrow{color:var(--oms-accent);font-weight:600}.oms-change-new{color:var(--oms-success);font-weight:500}.oms-form-section{margin-bottom:1.5rem}.oms-form-section--readonly{padding:.75rem 0;border-bottom:1px solid var(--oms-border)}.oms-readonly-row{display:flex;align-items:center;gap:.75rem;padding:.25rem 0}.oms-readonly-label{font-size:.85rem;color:var(--oms-text-muted);min-width:5em}.oms-readonly-value{font-size:.9rem;color:var(--oms-text)}.oms-form-section h3{font-size:.9rem;font-weight:600}.oms-form-hint,.oms-form-section h3{margin:0 0 .75rem;color:var(--oms-text-muted)}.oms-form-hint{font-size:.8rem}.oms-form-hint--block{display:block;margin-bottom:1rem;padding:.5rem .75rem;background:rgba(210,153,34,.15);border-radius:6px;color:var(--oms-warning)}.oms-form-hint--error{background:rgba(248,81,73,.15);color:#f85149}.oms-form-actions{margin:.5rem 0 1rem}.oms-cvs-store-detail{margin-top:.75rem}.oms-cvs-store-search-wrap{margin-bottom:.75rem}.oms-cvs-store-search{width:100%;padding:.5rem .75rem;border:1px solid var(--oms-border);border-radius:6px;background:var(--oms-bg);color:var(--oms-text);font-size:.9rem;font-family:inherit}.oms-cvs-store-search:focus{outline:none;border-color:var(--oms-accent)}.oms-cvs-store-count{margin-top:.35rem;margin-bottom:0}.oms-required{color:#f85149}.oms-form-section input,.oms-form-section select,.oms-form-section textarea{width:100%;padding:.5rem .75rem;border:1px solid var(--oms-border);border-radius:6px;background:var(--oms-bg);color:var(--oms-text);font-size:.9rem;font-family:inherit}.oms-form-section input:focus,.oms-form-section select:focus,.oms-form-section textarea:focus{outline:none;border-color:var(--oms-accent)}.oms-form-section input:disabled,.oms-form-section select:disabled,.oms-form-section textarea:disabled,.oms-input-readonly{opacity:.8;cursor:not-allowed;background:var(--oms-surface)}.oms-form-grid{display:grid;grid-template-columns:1fr 1fr;grid-gap:.75rem;gap:.75rem}.oms-form-grid label{display:flex;flex-direction:column;gap:.25rem}.oms-form-grid label span,.oms-form-section label span{font-size:.8rem;color:var(--oms-text-muted)}.oms-form-full{grid-column:1/-1}.oms-line-form{padding:.75rem;margin-bottom:.75rem;background:var(--oms-bg);border-radius:6px;border:1px solid var(--oms-border)}.oms-line-form-title{display:flex;align-items:center;gap:.75rem;font-size:.85rem;margin-bottom:.5rem;color:var(--oms-text-muted)}.oms-line-form-title-text{flex:1 1;min-width:0}.oms-line-form-img{object-fit:cover}.oms-line-form-img,.oms-line-form-img-placeholder{width:40px;height:40px;border-radius:6px;flex-shrink:0}.oms-line-form-img-placeholder{display:inline-flex;align-items:center;justify-content:center;background:var(--oms-border);color:var(--oms-text-muted);font-size:.65rem}.oms-line-form label{display:block;margin-top:.5rem}.oms-line-form label span{display:block;font-size:.8rem;color:var(--oms-text-muted);margin-bottom:.25rem}.oms-line-form textarea{resize:vertical;min-height:60px}.oms-modal-footer{display:flex;justify-content:flex-end;gap:.5rem;padding:1rem 1.25rem;border-top:1px solid var(--oms-border)}@media (max-width:768px){.oms-header{padding:.875rem 1rem}.oms-header h1{font-size:1.2rem}.oms-subtitle{font-size:.8rem}.oms-main{padding:1rem}.oms-toolbar{margin-bottom:1rem}.oms-search{flex-direction:column;align-items:stretch;gap:.5rem}.oms-filter-select,.oms-search input{width:100%;min-height:44px}.oms-btn{min-height:48px;padding:.6rem 1rem;font-size:.95rem}.oms-table-actions{gap:.75rem}.oms-toolbar .oms-btn{min-height:48px;padding:.6rem 1rem}.oms-table-wrap{overflow-x:visible;-webkit-overflow-scrolling:touch}.oms-table,.oms-table tbody,.oms-table td,.oms-table th,.oms-table thead{display:block}.oms-table thead tr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.oms-table tbody tr{display:grid;grid-template-columns:1fr 1fr;grid-gap:.25rem 1rem;gap:.25rem 1rem;margin-bottom:1rem;padding:.875rem 1rem;border:1px solid var(--oms-border);border-radius:var(--oms-radius);align-items:start}.oms-table tbody tr,.oms-table tbody tr:hover{background:var(--oms-surface)}.oms-table td{padding:.35rem 0;border-bottom:none;text-align:left}.oms-table td:first-child,.oms-table td:nth-child(2){grid-column:span 1;padding-bottom:.5rem;border-bottom:1px solid var(--oms-border)}.oms-table td:nth-child(2){text-align:right}.oms-table td:nth-child(2):before{display:none}.oms-table td:nth-child(3){grid-column:1/-1;padding-top:.35rem;padding-bottom:.5rem;border-bottom:1px solid var(--oms-border)}.oms-table td:nth-child(4),.oms-table td:nth-child(5),.oms-table td:nth-child(6),.oms-table td:nth-child(7),.oms-table td:nth-child(8){grid-column:span 1;padding-top:.25rem;padding-bottom:.5rem;border-bottom:1px solid var(--oms-border)}.oms-table td:nth-child(9){grid-column:1/-1;padding-top:.5rem;padding-bottom:.5rem;border-bottom:1px solid var(--oms-border)}.oms-table td:nth-child(9):before{content:"收货信息"}.oms-table td:nth-child(10){grid-column:1/-1;padding-top:.5rem;padding-bottom:.5rem;border-bottom:1px solid var(--oms-border)}.oms-table td:nth-child(10):before{display:none}.oms-col-actions{position:static;border-left:none;min-width:0}.oms-table td:nth-child(11){grid-column:1/-1;padding-top:.5rem;padding-bottom:0}.oms-table td:nth-child(11):before{display:none}.oms-table td:nth-child(11) .oms-btn{min-height:48px}.oms-table td:before{content:attr(data-label);display:block;font-weight:600;font-size:.7rem;color:var(--oms-text-muted);margin-bottom:.15rem}.oms-table td.oms-order-no:before{color:var(--oms-accent)}.oms-address-cell,.oms-lines{max-width:none}.oms-lines .oms-line-item{flex-wrap:wrap}.oms-line-img,.oms-line-img-placeholder{width:40px;height:40px}.oms-pagination{flex-direction:column;align-items:stretch;gap:.75rem;margin-top:1rem}.oms-pagination-info{text-align:center}.oms-pagination-btns{justify-content:center}.oms-pagination .oms-btn{min-height:48px;flex:1 1}.oms-modal-backdrop{padding:0;align-items:flex-end}.oms-modal{max-width:none;max-height:95vh;border-radius:var(--oms-radius) var(--oms-radius) 0 0}.oms-modal-header{padding:.875rem 1rem}.oms-modal-header h2{font-size:1rem}.oms-modal-close{min-width:44px;min-height:44px}.oms-modal-body{padding:1rem 1rem 5rem;-webkit-overflow-scrolling:touch}.oms-form-section h3{font-size:.85rem}.oms-form-grid{grid-template-columns:1fr}.oms-modal-footer{position:fixed;bottom:0;left:0;right:0;padding:.75rem 1rem calc(.75rem + env(safe-area-inset-bottom, 0px));gap:1rem;background:var(--oms-surface);border-top:1px solid var(--oms-border);box-shadow:0 -4px 12px rgba(0,0,0,.25);z-index:1001}.oms-modal-footer .oms-btn{min-height:48px;flex:1 1}.oms-empty{padding:2rem 1rem}}.oms-modal--mainland-ship{max-width:780px}.oms-mainland-download{margin:0 0 1rem}.oms-mainland-download .oms-btn{font-size:.875rem}.oms-upload-zone{border:2px dashed var(--oms-border);border-radius:var(--oms-radius);padding:2rem;text-align:center;cursor:pointer;transition:border-color .2s,background .2s;margin-bottom:1rem}.oms-upload-zone--active,.oms-upload-zone:hover{border-color:var(--oms-accent);background:rgba(110,184,255,.12)}.oms-upload-input{position:absolute;width:0;height:0;opacity:0;pointer-events:none}.oms-upload-label{display:block;color:var(--oms-text-muted);font-size:.9rem;cursor:pointer}.oms-mainland-preview{margin-top:1rem;padding-top:1rem;border-top:1px solid var(--oms-border)}.oms-mainland-preview p{margin:0 0 .75rem;font-size:.9rem;color:var(--oms-text-muted)}.oms-mainland-table-wrap{overflow-x:auto;border:1px solid var(--oms-border);border-radius:var(--oms-radius);background:var(--oms-bg)}.oms-table--preview{font-size:.8rem}.oms-table--preview td,.oms-table--preview th{padding:.5rem .75rem}.oms-mainland-table-wrap--scroll{max-height:320px;overflow-y:auto}.oms-preview-input{width:100%;background:transparent;border:1px solid transparent;border-radius:3px;padding:.2rem .35rem;font-size:inherit;color:var(--oms-text);box-sizing:border-box;outline:none;font-family:inherit}.oms-preview-input:hover{border-color:var(--oms-border)}.oms-preview-input:focus{border-color:var(--oms-accent);background:rgba(110,184,255,.08)}.oms-preview-del-btn{background:none;border:none;color:var(--oms-text-muted);cursor:pointer;padding:0 .25rem;font-size:1rem;line-height:1}.oms-preview-del-btn:hover{color:#f56565}.oms-video-pending-badge{font-size:.7rem;background:var(--oms-accent);color:#fff;border-radius:3px;padding:.1rem .4rem;margin-left:.5rem;opacity:.85}.oms-modal--upload-video{max-width:520px}.oms-upload-video-lines{display:flex;flex-direction:column;gap:1rem}.oms-upload-video-line{padding:.75rem;background:var(--oms-bg);border:1px solid var(--oms-border);border-radius:var(--oms-radius)}.oms-upload-video-line-title{display:flex;align-items:center;gap:.5rem;margin-bottom:.5rem;font-size:.9rem;font-weight:500}.oms-upload-video-line-img{width:36px;height:36px;object-fit:cover;border-radius:6px;flex-shrink:0}.oms-upload-video-line-img-placeholder{width:36px;height:36px;flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;background:var(--oms-border);color:var(--oms-text-muted);font-size:.7rem;border-radius:6px}.oms-upload-video-line-actions{margin-top:.5rem}.oms-upload-video-label input,.oms-upload-video-replace input{position:absolute;width:0;height:0;opacity:0;pointer-events:none}.oms-upload-video-label .oms-btn,.oms-upload-video-replace{cursor:pointer;display:inline-block;margin-top:.25rem}.oms-upload-video-preview{display:flex;flex-direction:column;gap:.5rem}.oms-upload-video-hint{font-size:.8rem;color:var(--oms-text-muted)}.oms-upload-video-player{max-width:100%;max-height:180px;border-radius:var(--oms-radius);background:#000}.oms-modal--video-view{max-width:640px}.oms-video-view-player{width:100%;max-height:70vh;border-radius:var(--oms-radius);background:#000;display:block;margin-bottom:1rem}.oms-video-view-actions{margin-top:.5rem}.oms-video-view-actions a{text-decoration:none}@media (max-width:480px){.oms-header h1{font-size:1.1rem}.oms-table tbody tr{padding:.75rem}.oms-btn{min-height:48px;padding:.6rem 1rem}.oms-table-actions{gap:.75rem}}