:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang TC","Noto Sans TC",sans-serif;color:#263448;background:#f4f6fa;font-synthesis:none;--blue:#3478ee;--blue-pale:#edf3ff;--muted:#8491a5;--line:#e5eaf2;--red:#b94c51;--green:#37836b}
*{box-sizing:border-box}body{margin:0;font-size:14px;line-height:1.6}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #95b9ff;outline-offset:3px}h1,h2,h3,p{margin:0}h1{font-size:27px;letter-spacing:-.6px;line-height:1.3;font-weight:650}h2{font-size:18px;letter-spacing:-.25px;font-weight:650}h3{font-size:15px;font-weight:650}a{color:inherit}svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}[hidden]{display:none!important}.muted{color:var(--muted)}.small{font-size:12px}.eyebrow{font-size:10px;letter-spacing:1.9px;color:#8997ac;font-weight:700;margin-bottom:8px}.button{min-height:38px;border:1px solid transparent;border-radius:7px;font-size:12px;font-weight:600;padding:8px 14px;transition:background .15s,box-shadow .15s;white-space:nowrap}.primary{background:var(--blue);color:#fff;box-shadow:0 2px 4px #3478ee18}.primary:hover:enabled{background:#2568dc}.secondary{background:#fff;border-color:#dfe5ef;color:#5b6c84}.secondary:hover:enabled{background:#f8faff;border-color:#c9d5e7}.danger{background:#fff;border-color:#eed7d9;color:var(--red)}.danger:hover:enabled{background:#fff5f5}.wide{width:100%}.compact{min-height:31px;padding:5px 11px}.link-button{background:none;border:0;color:var(--blue);padding:0;font-size:12px;font-weight:600}.badge{display:inline-flex;align-items:center;border-radius:5px;padding:4px 9px;font-size:11px;font-weight:600;white-space:nowrap}.blue{background:var(--blue-pale);color:#477ee1}.green{background:#ecf7f2;color:var(--green)}.amber{background:#fff5e6;color:#a47739}.gray{background:#f0f3f7;color:#7d8b9d}.dot{display:inline-block;width:6px;height:6px;background:#57ab8d;border-radius:50%;margin-right:7px}.brand-mark{display:grid;place-items:center;width:36px;height:36px;border-radius:9px;background:#eaf1ff;color:var(--blue);font-weight:750;font-size:23px}.brand{display:flex;align-items:center;gap:10px;text-decoration:none}.brand strong{display:block;font-size:15px;font-weight:650}.brand small{display:block;font-size:8px;letter-spacing:1.4px;font-weight:700;color:#929fb3;margin-top:2px}.app-shell{display:flex;min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:224px;background:#fff;border-right:1px solid var(--line);padding:30px 21px 23px;display:flex;flex-direction:column}.sidebar nav{display:grid;gap:8px;margin-top:42px}.nav-item{display:flex;align-items:center;gap:12px;border:0;background:transparent;color:#78869b;text-align:left;padding:12px 14px;font-size:13px;border-radius:7px;font-weight:600}.nav-item.active{background:#eaf1ff;color:var(--blue)}.nav-item:hover{background:#f1f5fd}.sidebar-bottom{margin-top:auto;padding-top:22px;border-top:1px solid var(--line);font-size:11px;color:#7f8da1}.sidebar-bottom p+p{margin-top:7px;line-height:1.9}.account-name{overflow-wrap:anywhere;color:#758198;font-size:11px;margin-top:25px;margin-bottom:10px}.sidebar-bottom .link-button{color:#8290a4;display:flex;justify-content:space-between;width:100%}.main-content{width:calc(100% - 224px);max-width:1590px;margin-left:224px;padding:39px 42px 20px}.page-header{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:29px}.page-header .muted{margin-top:8px;font-size:13px}.phase-banner{display:flex;gap:12px;align-items:flex-start;padding:16px 18px;background:#edf3ff;border:1px solid #dfE9fc;border-radius:9px;color:#607ba4;margin-bottom:31px}.phase-banner strong{font-size:12px;font-weight:650;color:#4d6c9a}.phase-banner p{font-size:12px;margin-top:3px}.info-icon{display:inline-grid;place-items:center;border:1.5px solid #769be0;color:#769be0;border-radius:50%;width:16px;height:16px;font-size:10px;font-weight:700;flex:none;margin-top:3px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:19px}.section-heading .muted{margin-top:5px}.count-badge{display:inline-block;font-size:11px;color:#91a0b5;background:#e8edf5;border-radius:5px;padding:1px 6px;margin-left:6px;vertical-align:middle}.supplier-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:23px}.supplier-card{border:1px solid var(--line);border-radius:11px;background:#fff;overflow:hidden;box-shadow:0 2px 4px #253c5c03}.supplier-header{display:flex;align-items:center;justify-content:space-between;padding:22px 24px 19px;border-bottom:1px solid #edf0f6;gap:10px}.supplier-identity{display:flex;gap:12px;align-items:center}.supplier-symbol{width:37px;height:37px;display:grid;place-items:center;background:#f1f5fb;border:1px solid #e9eef6;border-radius:9px;color:#8398b6;font-weight:700;font-size:13px}.supplier-identity h2{font-size:16px}.supplier-identity p{font-size:11px;color:#8f9bb0}.supplier-body{padding:21px 24px}.block-label{font-size:11px;color:#8695aa;font-weight:600;display:flex;align-items:center;gap:8px;margin-bottom:10px}.current-name,.draft-name{font-size:14px;line-height:1.85;font-weight:600;overflow-wrap:anywhere}.product-meta{display:flex;flex-wrap:wrap;gap:6px 17px;color:#8a98ac;font-size:11px;margin-top:11px}.product-meta span{overflow-wrap:anywhere}.supplier-current{min-height:136px}.draft-box{background:#f8faff;border:1px solid #e8eef9;border-radius:8px;padding:16px;margin-top:19px;min-height:125px}.draft-box.empty{background:#fafbfd;border-style:dashed}.draft-name{font-size:13px;font-weight:500}.empty-draft{color:#98a4b7;font-size:12px;line-height:1.8}.draft-heading{display:flex;justify-content:space-between;gap:10px}.draft-heading .link-button{font-size:11px;color:#97a1b2;align-self:flex-start}.supplier-footer{border-top:1px solid #edf0f6;padding:15px 24px;display:flex;align-items:center;justify-content:space-between;gap:12px}.update-caption{font-size:10px;color:#94a1b5;line-height:1.8}.update-caption.error{color:#a88350}.catalog-error-message{margin-top:9px;font-size:11px;color:#b18347}.compatibility-note{margin-top:25px;border:1px solid var(--line);border-radius:9px;background:#f9fafc;padding:15px 18px;color:#8a97ab;display:flex;align-items:flex-start;gap:18px;font-size:12px}.compatibility-note strong{font-weight:600;white-space:nowrap;color:#76859c}.page-footer{display:flex;justify-content:space-between;color:#a9b3c3;font-size:10px;letter-spacing:.5px;margin-top:40px;padding-top:20px;border-top:1px solid var(--line)}.inline-error{border:1px solid #eedcd9;background:#fff7f5;color:#a65d50;border-radius:7px;padding:12px 15px;font-size:12px;margin-bottom:16px}.error-text{color:var(--red);font-size:12px}.loading-placeholder{height:12px;border-radius:4px;background:#edf1f7;animation:pulse 1.4s ease-in-out infinite;margin:11px 0}.loading-placeholder.short{width:64%}.inline-state{padding:24px;color:#94a0b4;text-align:center;font-size:13px}.startup{min-height:100vh;display:flex;align-items:center;justify-content:center;gap:12px;color:#7e8da3;font-size:13px}.spinner{display:inline-block;width:17px;height:17px;border-radius:50%;border:2px solid #dee8fa;border-top-color:#6a99ed;animation:spin .8s linear infinite;flex:none}.login-view{min-height:100vh;display:grid;place-items:center;padding:30px;background:radial-gradient(ellipse at 50% 10%,#eaf1fe 0%,#f4f6fa 65%)}.login-card{width:min(420px,100%);padding:37px 38px 25px;background:#fff;border:1px solid #e7edf5;border-radius:15px;box-shadow:0 12px 60px #485f8210}.login-card>.brand-mark{margin-bottom:23px}.login-card h1{font-size:26px}.login-card>.muted{font-size:12px;margin-top:11px}.login-card form{margin-top:29px;display:grid;gap:9px}.login-card label{font-size:12px;font-weight:600;color:#6b7b93}.login-card input{margin-bottom:9px}.login-card .button{margin-top:6px;min-height:42px}.login-note{margin-top:25px;padding-top:19px;border-top:1px solid var(--line);font-size:10px;text-align:center;color:#95a2b4}input,select{border:1px solid #dfe5ef;background:#fff;border-radius:7px;min-height:39px;padding:8px 12px;font-size:12px;color:#445773;min-width:0}input::placeholder{color:#a4afc0}input:focus,select:focus{border-color:#95b9ff;outline:none;box-shadow:0 0 0 3px #edf3ff}.dialog{padding:0;border:1px solid #e1e7f1;border-radius:13px;box-shadow:0 24px 100px #20375d35;color:#263448;max-height:calc(100dvh - 48px);background:#fff}.dialog::backdrop{background:#273c5966;backdrop-filter:blur(3px)}.picker-dialog{width:min(1130px,calc(100vw - 48px));overflow:auto}.dialog-header{display:flex;align-items:flex-start;justify-content:space-between;padding:25px 27px 21px;gap:20px}.dialog-header .eyebrow{font-size:9px;margin-bottom:6px}.dialog-header h2{font-size:19px}.dialog-header .muted{margin-top:6px}.icon-button{display:grid;place-items:center;width:30px;height:30px;border:0;border-radius:7px;background:#f2f5fa;color:#91a0b5;font-size:24px;line-height:1}.icon-button:hover{background:#e8effa}.search-toolbar{padding:0 27px 15px;display:flex;gap:10px}.search-input{display:flex;flex:1;gap:8px}.search-input input{width:100%}.search-toolbar select{width:190px}.catalog-status{margin:0 27px 13px;color:#93a0b3;font-size:11px;display:flex;gap:8px;align-items:center;min-height:20px}.catalog-status.warning{color:#a17845;background:#fff7e9;padding:9px 12px;border-radius:6px}.catalog-layout{display:grid;grid-template-columns:minmax(0,1fr) 250px;border-top:1px solid var(--line)}.catalog-main{min-width:0}.product-list{height:365px;overflow:auto}.product-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:12px}.product-table th{position:sticky;top:0;background:#f8fafd;text-align:left;color:#8b99af;font-size:10px;font-weight:600;padding:10px 12px;z-index:1;border-bottom:1px solid var(--line)}.product-table th:first-child{width:43px;padding-left:23px}.product-table th:last-child{width:82px}.product-table td{padding:13px 12px;border-bottom:1px solid #edf1f6;vertical-align:middle}.product-table td:first-child{padding-left:23px}.product-table tr.selected{background:#f1f6ff}.product-table tbody tr:hover{background:#f7faff}.product-table input[type=radio]{accent-color:var(--blue);width:14px;height:14px;min-height:0;margin:0;box-shadow:none;cursor:pointer}.product-title{display:block;color:#435570;font-weight:500;line-height:1.75;overflow-wrap:anywhere;cursor:pointer}.product-subtitle{display:flex;align-items:center;gap:7px;flex-wrap:wrap;font-size:10px;color:#98a4b5;margin-top:4px}.product-subtitle .badge{font-size:9px;padding:1px 5px}.product-price{color:#6f809a;font-size:12px;overflow-wrap:anywhere}.pagination{display:flex;align-items:center;justify-content:space-between;padding:12px 20px;border-top:1px solid var(--line);gap:10px}.pagination>div{display:flex;gap:7px}.selection-panel{border-left:1px solid var(--line);background:#fafbfd;padding:22px 20px}.selection-panel .eyebrow{font-size:9px}.selection-panel h3{margin-bottom:20px;font-size:13px}.selection-empty{font-size:12px;color:#a1adbf;line-height:1.9;padding-top:32px;text-align:center}.selected-product-name{font-size:13px;line-height:1.85;font-weight:500;overflow-wrap:anywhere}.selection-meta{display:grid;gap:11px;margin-top:21px;font-size:11px}.selection-meta>div{display:flex;justify-content:space-between;align-items:flex-start;gap:15px}.selection-meta dt{color:#96a2b5;white-space:nowrap}.selection-meta dd{color:#72829a;margin:0;text-align:right;overflow-wrap:anywhere}.stock-box{margin-top:23px;border-top:1px solid var(--line);padding-top:16px;font-size:12px;display:flex;justify-content:space-between;align-items:center;gap:10px}.stock-hint{color:#98a5b7;font-size:10px;margin-top:7px}.dialog-footer{border-top:1px solid var(--line);padding:17px 27px;display:flex;justify-content:space-between;align-items:center;gap:15px}.dialog-footer>div{display:flex;gap:9px}.confirm-dialog{width:min(660px,calc(100vw - 40px))}.confirm-content{padding:0 27px 24px}.compare-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.compare-card{border:1px solid var(--line);padding:16px;border-radius:8px;background:#fbfcfe}.compare-card.new{background:#f5f8ff;border-color:#dce7fc}.compare-card .current-name{font-size:12px}.confirm-notice{background:#edf3ff;border:1px solid #e0e9fb;color:#6382b1;font-size:12px;padding:12px 14px;border-radius:7px;margin-top:18px}.confirm-subtext{margin-top:12px;font-size:11px;color:#99a4b5}.confirm-dialog>.inline-error{margin:0 27px 20px}.confirm-dialog .dialog-footer{justify-content:flex-end}.history-list{display:grid;gap:13px}.history-item{background:#fff;border:1px solid var(--line);border-radius:9px;padding:20px 23px}.history-meta{display:flex;gap:10px;align-items:center;color:#8e9caf;font-size:11px;flex-wrap:wrap;margin-bottom:14px}.history-meta time{margin-left:auto}.history-compare{display:grid;grid-template-columns:1fr 28px 1fr;gap:15px;align-items:center}.history-label{color:#99a5b7;font-size:10px;margin-bottom:5px}.history-value{font-size:12px;color:#63748c;overflow-wrap:anywhere}.history-arrow{color:#b2bed0;text-align:center}.empty-panel{background:#fff;border:1px solid var(--line);border-radius:9px;padding:54px 25px;text-align:center;color:#94a1b5;font-size:13px}.empty-panel strong{display:block;color:#718299;font-size:14px;font-weight:500;margin-bottom:7px}.toast{position:fixed;bottom:29px;left:50%;transform:translateX(-50%);background:#2c405f;color:#fff;padding:12px 21px;border-radius:9px;font-size:12px;box-shadow:0 6px 25px #213b5d20;z-index:20;max-width:calc(100vw - 40px)}.toast.error{background:#9d5353}.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}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.4}}
@media(min-width:1500px){.main-content{padding-left:55px;padding-right:55px}.supplier-body{padding:25px 28px}.supplier-header,.supplier-footer{padding-left:28px;padding-right:28px}}
@media(max-width:1100px){.sidebar{width:192px;padding-left:17px;padding-right:17px}.main-content{width:calc(100% - 192px);margin-left:192px;padding:30px 26px 20px}.supplier-grid{gap:15px}.supplier-header{padding:18px}.supplier-body{padding:18px}.supplier-footer{padding:14px 18px}.supplier-footer .button{padding:8px 11px}.update-caption{font-size:9px}.catalog-layout{grid-template-columns:minmax(0,1fr) 220px}.selection-panel{padding:20px 16px}.supplier-current{min-height:170px}}
@media(max-width:850px){.sidebar{width:175px;padding:24px 14px}.main-content{margin-left:175px;width:calc(100% - 175px);padding:25px 20px 16px}.brand{gap:8px}.brand strong{font-size:14px}.brand small{font-size:7px}.brand-mark{width:31px;height:31px;font-size:20px}.nav-item{font-size:12px;padding:11px;gap:9px}.page-header{align-items:flex-start}.page-header>.badge{margin-top:3px;font-size:9px}.page-header h1{font-size:24px}.supplier-grid{grid-template-columns:1fr}.supplier-current{min-height:100px}.supplier-footer{padding:14px 20px}.update-caption{font-size:10px}.compatibility-note{display:block}.compatibility-note p{margin-top:6px}.catalog-layout{grid-template-columns:minmax(0,1fr) 210px}.search-toolbar{flex-wrap:wrap}.search-input{flex-basis:100%}.search-toolbar select{flex:1}.product-list{height:330px}.dialog-footer>p{max-width:220px}}
@media(max-width:600px){.app-shell{display:block}.sidebar{position:static;width:100%;padding:15px 18px 0;border-right:0;border-bottom:1px solid var(--line)}.brand-mark{width:29px;height:29px;font-size:19px}.brand small{display:none}.sidebar nav{margin-top:16px;display:flex;gap:6px}.nav-item{font-size:12px;border-radius:6px 6px 0 0;flex:1;justify-content:center;padding:10px}.sidebar-bottom{position:absolute;right:19px;top:21px;padding:0;border:0;margin:0}.sidebar-bottom p,.account-name{display:none}.sidebar-bottom .link-button{font-size:10px;gap:8px}.main-content{margin:0;width:100%;padding:25px 18px 18px}.page-header{gap:8px;margin-bottom:20px}.page-header .eyebrow{font-size:8px;letter-spacing:1.6px}.page-header .muted{font-size:11px;max-width:205px}.page-header>.badge{font-size:8px;padding:4px 6px;margin-top:26px}.phase-banner{padding:13px;gap:9px;margin-bottom:24px}.phase-banner strong,.phase-banner p{font-size:11px}.section-heading h2{font-size:16px}.section-heading .muted{font-size:10px;max-width:220px}.section-heading>.button{font-size:10px;padding:7px 10px}.supplier-grid{gap:19px}.supplier-header{padding:18px 20px}.supplier-body{padding:18px 20px}.supplier-current{min-height:0}.current-name{font-size:13px}.draft-box{min-height:110px;margin-top:20px}.compatibility-note{font-size:11px}.page-footer{margin-top:25px;font-size:8px}.picker-dialog{width:100%;max-width:100%;max-height:100dvh;height:100dvh;border-radius:0;border:0;margin:0}.dialog-header{padding:20px 18px 16px}.dialog-header h2{font-size:18px}.search-toolbar{padding:0 18px 12px;gap:8px}.catalog-status{margin:0 18px 10px;font-size:10px}.catalog-layout{display:block}.product-list{height:37dvh;min-height:220px}.product-table th:first-child,.product-table td:first-child{width:35px;padding-left:17px}.product-table td{padding:11px 9px}.product-table th:last-child{width:67px}.product-title{font-size:11px}.pagination{padding:10px 17px}.selection-panel{border-left:0;border-top:1px solid var(--line);padding:14px 18px}.selection-panel>.eyebrow{display:none}.selection-panel h3{margin-bottom:7px;font-size:11px;color:#8d9aaf}.selection-empty{padding:6px 0;text-align:left;font-size:11px}.selected-product-name{font-size:12px}.selection-meta{display:flex;flex-wrap:wrap;gap:8px 18px;margin-top:10px;margin-bottom:0;font-size:10px}.selection-meta>div{gap:8px}.selection-meta .category-meta{display:none}.stock-box{margin-top:11px;padding-top:10px;justify-content:flex-start;gap:15px}.stock-hint{margin-top:4px}.dialog-footer{padding:13px 18px;flex-wrap:wrap;gap:9px}.dialog-footer>p{max-width:none;width:100%;font-size:10px}.dialog-footer>div{width:100%;justify-content:flex-end}.confirm-dialog{max-height:calc(100dvh - 30px)}.confirm-content{padding:0 18px 18px}.compare-grid{grid-template-columns:1fr;gap:10px}.compare-card{padding:12px 14px}.confirm-notice{font-size:11px;margin-top:13px}.confirm-dialog>.inline-error{margin:0 18px 15px}.history-item{padding:16px}.history-meta{font-size:10px}.history-meta time{width:100%;margin:0}.history-compare{grid-template-columns:1fr;gap:8px}.history-arrow{display:none}.history-value{font-size:11px}.toast{bottom:18px;font-size:11px;width:max-content;text-align:center}.login-card{padding:30px 26px 23px}.login-view{padding:20px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}
