:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Noto Sans TC","Microsoft JhengHei",sans-serif;color:#242424;background:#f2f2f2;font-synthesis:none;font-size:16px;--green:#2f6d32;--lime:#ffffff;--line:#dedede;--muted:#686868}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select,summary{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.42;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,canvas:focus-visible{outline:3px solid #3f7b3e;outline-offset:3px}header{min-height:90px;padding:20px 40px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:32px;background:#fff}.brand{color:var(--green);text-decoration:none;font-weight:750;display:flex;gap:12px;align-items:center;letter-spacing:.05em}.brand-symbol{width:44px;height:44px;background:var(--green);color:var(--lime);border-radius:12px;display:grid;place-items:center;font-size:30px;line-height:1;letter-spacing:-4px;padding-right:5px}.brand-en{display:block;font-size:10px;letter-spacing:.16em;margin-top:4px}.app-title{font-size:16px;border-left:1px solid var(--line);padding-left:30px;color:var(--muted)}.badge{display:inline-block;background:#f1f1f1;padding:5px 8px;font-size:12px;border-radius:6px;margin-left:8px;vertical-align:middle}header>.button{margin-left:auto}.workspace{max-width:1560px;margin:auto;padding:32px 40px 24px;display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:36px}.preview-panel{min-width:0}.preview-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px;gap:16px}.eyebrow{font-size:12px;font-weight:650;letter-spacing:.12em;color:var(--muted)}h1{font-size:24px;font-weight:650;letter-spacing:.04em;margin:10px 0 0;line-height:1.5}h2{font-size:23px;line-height:1.5;margin:7px 0}h3{font-size:16px;display:flex;align-items:center;gap:9px;margin:0 0 17px;font-weight:650}h3>span{font-size:12px;width:23px;height:23px;border-radius:50%;background:#ececec;display:grid;place-items:center}h3 small{margin-left:auto;font-size:12px;color:var(--muted);font-weight:400}.side-switch{display:flex;border:1px solid var(--line);background:#fff;border-radius:10px;padding:4px;flex-shrink:0}.side-switch button{background:none;border:0;padding:10px 20px;color:var(--muted);border-radius:7px;font-size:14px;position:relative}.side-switch button.active{background:var(--green);color:white}.side-switch button span.has-art:after{content:"";display:inline-block;width:5px;height:5px;border-radius:50%;background:#4a8041;margin-left:5px;vertical-align:middle}.canvas-wrap{position:relative;min-height:260px;background:#fff;border:1px solid #dfdfdf;border-radius:18px;overflow:hidden;isolation:isolate;max-width:880px;margin:auto}.canvas-wrap.dragover{outline:3px dashed var(--green);outline-offset:-5px}#editor{width:100%;height:auto;display:block;touch-action:none;max-height:72vh;object-fit:contain}.canvas-loading{position:absolute;inset:0;display:grid;place-items:center;background:#fff;color:var(--muted)}.canvas-chip{position:absolute;left:22px;top:20px;padding:8px 12px;border-radius:30px;font-size:12px;background:rgba(255,255,255,.94);border:1px solid #dedede;pointer-events:none}.green-dot{display:inline-block;background:var(--green);width:6px;height:6px;border-radius:50%;margin-right:6px}.sample-button{position:absolute;bottom:24px;left:50%;transform:translateX(-50%);border:1px solid #d3d3d3;padding:12px 21px;background:#fafafa;border-radius:30px;color:var(--green);white-space:nowrap;font-size:14px;box-shadow:0 3px 14px #0000000a}.preview-bottom{display:flex;align-items:center;gap:18px;margin:16px 0;color:var(--muted);font-size:12px}.toggle{display:flex;align-items:center;white-space:nowrap;gap:7px;font-size:14px}.toggle input{accent-color:var(--green);width:16px;height:16px}.history{margin-left:auto;display:flex;gap:6px}.history button{width:36px;height:34px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--green);font-size:22px}.notice{display:flex;gap:10px;padding:12px 15px;background:#eeeeee;border-radius:10px;color:#606060;font-size:12px;line-height:1.8}.notice p{margin:0}.notice>span{font-size:17px}.controls{background:#fff;border:1px solid #dddddd;border-radius:16px;overflow:hidden;align-self:start}.product{padding:24px 26px;background:#f7f7f7;border-bottom:1px solid var(--line)}.product p{font-size:14px;margin:8px 0 0;color:var(--muted)}.product p span{font-size:12px;margin-left:10px;white-space:nowrap}.control-section{padding:23px 26px;border-bottom:1px solid var(--line)}.upload-button{border:1px dashed #aaaaaa;border-radius:10px;background:#fafafa;display:flex;align-items:center;flex-direction:column;padding:17px 8px;cursor:pointer;gap:7px;text-align:center}.upload-icon{font-size:24px;color:var(--green);font-weight:300}.upload-button strong{font-size:14px;font-weight:600}.upload-button>span:last-of-type{font-size:12px;color:var(--muted);line-height:1.6}.upload-button:focus-within{outline:3px solid #3f7b3e}.upload-button.loaded{padding:12px 8px;flex-direction:row;justify-content:center;gap:8px}.upload-button.loaded>span:last-of-type{display:none}.upload-button.loaded .upload-icon{font-size:20px}.two-col{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}.two-col>label{font-size:12px;color:var(--muted);line-height:1.6}input[type=number],select{width:100%;padding:10px 12px;background:#fff;border:1px solid #d1d1d1;border-radius:8px;min-height:43px;color:#242424;min-width:0}input:disabled{background:#f5f5f5}.unit-input{position:relative;margin-top:6px}.unit-input input{padding-right:35px;font-size:16px}.unit-input>span{position:absolute;right:12px;top:13px;font-size:12px;pointer-events:none;color:#777777}.lock-note{font-size:12px;margin:11px 0 20px;color:var(--muted)}.button{border:0;border-radius:9px;padding:12px 15px;min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:10px;line-height:1.5;font-size:14px;font-weight:550;transition:background .15s}.button.primary{color:#fff;background:var(--green);width:100%}.button.primary:hover:enabled{background:#245728}.button.primary>span{margin-left:auto;font-size:21px;line-height:1}.button.secondary,.button.ghost{background:#f5f5f5;border:1px solid #d7d7d7;color:#343434}.button.secondary:hover:enabled,.button.ghost:hover{background:#ebebeb}.inline-buttons{display:flex;gap:9px;margin-top:14px}.inline-buttons .button{flex:1;font-size:12px;padding:9px}.small{font-size:12px;line-height:1.7}.muted{color:var(--muted)}.file-line{display:flex;align-items:center;gap:10px;font-size:14px;margin-top:12px}.file-line>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.text-button{border:0;background:none;color:var(--green);font-size:12px;padding:7px 0;text-decoration:underline;text-underline-offset:3px}.text-button.danger{color:#686868}#artInfo p{margin:4px 0}.tier-section select{font-size:14px}.tier-result{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:14px;margin-top:13px;min-height:25px}.tier-result.error{color:#a53a27}#tierStatus{font-size:12px;background:#eeeeee;padding:4px 7px;border-radius:5px;white-space:nowrap}#tierStatus:empty{display:none}.tier-result.error #tierStatus{background:#ffebe3}.export-section{padding:23px 26px}.export-section>.two-col{margin-top:10px;gap:8px}.export-section>.two-col .button{font-size:12px;padding:10px 7px}.revision{display:flex;justify-content:space-between;color:var(--muted);font-size:12px;margin-bottom:13px}.calibration{padding:17px 26px;border-top:1px solid var(--line);background:#fafafa}.calibration summary{font-size:12px;cursor:pointer;color:var(--muted)}.calibration input{margin-top:5px;font-size:14px}.cal-image-size{align-self:center;font-size:12px;color:var(--muted);line-height:1.8}.toast{position:fixed;z-index:20;left:50%;bottom:26px;transform:translateX(-50%);background:#252525;color:white;border:1px solid #666666;border-radius:11px;padding:14px 22px;box-shadow:0 10px 35px #00000030;font-size:14px;max-width:min(560px,90vw);line-height:1.6}.toast.error{background:#783b2d;border-color:#b68170}dialog{max-width:560px;width:calc(100% - 32px);border:1px solid var(--line);border-radius:17px;padding:28px;color:#242424;box-shadow:0 15px 70px #00000025}dialog::backdrop{background:#00000066;backdrop-filter:blur(3px)}dialog p{font-size:14px;line-height:1.8;color:var(--muted)}dialog .notice{margin:18px 0}.dialog-close{float:right;border:0;background:#f2f2f2;border-radius:50%;width:32px;height:32px;color:var(--green);font-size:22px}.summary-row{padding:12px 0;border-bottom:1px solid var(--line);font-size:14px;line-height:1.9}.summary-row strong{display:block}footer{max-width:1560px;margin:0 auto;padding:20px 40px 28px;font-size:10px;letter-spacing:.13em;color:#777777;display:flex;justify-content:space-between}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}[hidden]{display:none!important}@media(min-width:1100px){.preview-panel{position:sticky;top:26px}}@media(max-width:1000px){header{padding:18px 24px;gap:20px}.workspace{padding:26px 24px;gap:24px;grid-template-columns:minmax(0,1fr) 340px}.control-section,.product,.export-section,.calibration{padding-left:21px;padding-right:21px}h1{font-size:21px}.preview-top{display:block}.side-switch{display:inline-flex;margin-top:16px}.preview-bottom>span{display:none}.app-title{padding-left:20px}}@media(max-width:760px){header{padding:14px 16px;min-height:76px;gap:12px;flex-wrap:wrap}.brand{font-size:14px}.brand-symbol{width:36px;height:36px;font-size:25px}.brand-en{font-size:8px}.app-title{display:none}header>.button{font-size:12px;padding:9px 12px;min-height:39px}.workspace{display:flex;flex-direction:column;padding:20px 16px;gap:20px}.preview-top{display:flex;margin-bottom:16px;gap:8px}.eyebrow{font-size:11px}h1{font-size:19px;margin-top:6px}.side-switch{margin:0}.side-switch button{padding:9px 13px}.canvas-wrap{border-radius:14px;width:100%}#editor{max-height:none}.canvas-chip{left:13px;top:13px;font-size:11px}.sample-button{bottom:15px;padding:10px 16px;font-size:12px}.preview-bottom{margin:12px 0}.notice{padding:10px 12px;font-size:12px}.controls{width:100%}.product{padding:20px 22px}.control-section,.export-section{padding:21px 22px}.calibration{padding:17px 22px}.two-col>label{font-size:13px}.small{font-size:12px}.inline-buttons .button,.export-section>.two-col .button{font-size:14px}footer{padding:12px 17px 24px;gap:14px;font-size:9px;letter-spacing:.05em}.toast{bottom:16px;width:calc(100% - 32px)}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}

.two-col>label{font-size:14px}.small,.lock-note{font-size:13px}h3 small{font-size:13px}.product p span{font-size:12px}.upload-button>span:last-of-type{font-size:12px}

input[type=text]{width:100%;min-height:43px;padding:10px 12px;border:1px solid #d1d1d1;border-radius:8px;font-size:14px;color:#242424;background:white}.draft-label{font-size:13px;display:block;color:var(--muted);margin:13px 0}.draft-label input{margin-top:6px}.order-row{display:grid;grid-template-columns:minmax(0,1fr) 80px 28px;gap:8px;align-items:end;margin-bottom:10px}.order-row label{font-size:12px;color:var(--muted)}.order-row input{margin-top:6px}.order-row button{height:42px;border:0;background:none;color:#686868;font-size:19px}.measure-step{font-size:13px;display:grid;gap:12px;margin:16px 0}.measure-step .two-col{gap:9px}.point-inputs{display:flex;gap:5px}.point-inputs input{padding:8px 6px;font-size:12px}.cal-status{font-size:13px;padding:8px 10px;background:#eeeeee;border-radius:7px}.manual-mapping{margin-top:16px}.manual-mapping .two-col{margin-top:12px}.cal-pick-banner{position:absolute;z-index:3;left:12px;right:12px;top:12px;display:flex;justify-content:space-between;align-items:center;gap:8px;padding:12px;background:#2f6d32;color:white;border-radius:9px;font-size:14px}.cal-pick-banner button{border:1px solid #bcbcbc;border-radius:6px;background:#fff;color:#2f6d32;padding:6px 10px}.cal-pick-banner:not([hidden])~.canvas-chip{display:none}.check-list{padding-left:20px;font-size:13px;line-height:1.9;color:var(--muted)}.integration .button{width:100%}.integration .text-button{display:block;margin-top:8px}.check-list li.ok{color:#2f6d32}.check-list li.blocked{color:#965637}

#bundleBtn{background:#f5f5f5}#bundleStatus{overflow-wrap:anywhere;margin:10px 0 14px}.export-section #workorderBtn{background:#f5f5f5;color:#333333;border:1px solid #d7d7d7}

.revision span:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-right:10px}.revision span:last-child{flex-shrink:0}

.mode-picker{max-width:290px}.mode-picker select{font-size:14px;border:0;background:#f2f2f2;min-width:210px}.luggage-workspace{grid-template-columns:minmax(0,1fr) 360px}.luggage-canvas-wrap{background:repeating-conic-gradient(#ededed 0% 25%,#fff 0% 50%) 50%/18px 18px;border:1px solid var(--line);border-radius:12px;overflow:hidden;position:relative;margin-top:25px}#luggageCanvas{width:100%;height:auto;display:block;touch-action:none}.luggage-legend{display:flex;justify-content:space-around;font-size:13px;color:var(--muted);margin:12px 0}.luggage-workspace h1{font-size:22px}.luggage-workspace .product h2{font-size:23px}.luggage-workspace .button{width:100%;margin-top:8px}#luggageScale{display:block;width:100%;margin:16px 0;accent-color:var(--green)}#luggageScaleLabel{float:right;font-weight:700}.coverage-status{padding:12px;border-radius:8px;background:#f1f1f1;font-size:13px;line-height:1.7;margin-top:14px}.coverage-status.error{background:#fff0e7;color:#9a4525}.marked-regions{margin:12px 0}.marked-region{display:flex;justify-content:space-between;gap:8px;border-bottom:1px solid var(--line);font-size:13px;padding:10px 0;line-height:1.6}.marked-region.error{color:#a44b2b}.marked-region button{align-self:start;border:0;background:none;font-size:18px;color:inherit}#luggageProgress{width:100%;height:12px;accent-color:var(--green);margin-top:14px}#luggageExportStatus{line-height:1.8}.luggage-workspace .preview-panel{align-self:start}.luggage-workspace .cal-pick-banner{font-size:13px}#luggageCoverage strong{font-weight:650}@media(max-width:1000px){.mode-picker select{min-width:190px}.luggage-workspace{grid-template-columns:minmax(0,1fr) 330px}}@media(max-width:760px){header .brand-en{display:none}.mode-picker{order:3;width:100%;max-width:none}.mode-picker select{width:100%;font-size:14px;min-height:40px}.luggage-workspace h1{font-size:18px}.luggage-workspace .preview-top{display:block}.luggage-workspace .preview-top .badge{margin:10px 0 0}.luggage-canvas-wrap{margin-top:15px}.luggage-workspace{display:flex}.luggage-workspace .notice{font-size:12px}}

.staff-workbench{max-width:1300px;margin:30px auto;padding:0 32px}.staff-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:20px}.staff-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:24px}.staff-specs,.staff-actions{padding:25px}.staff-specs .summary-row{overflow-wrap:anywhere}.staff-actions h3{margin-top:28px}.staff-actions>.button{width:100%;margin:12px 0}.staff-actions .small{line-height:1.8}#luggageAudit{max-height:180px;overflow:auto}.audit-row{padding:8px 0;border-bottom:1px solid var(--line)}#luggageWorkbenchBtn{font-size:12px;margin-left:0}#luggageWorkbenchBtn[hidden]{display:none!important}@media(max-width:760px){.staff-workbench{padding:0 16px;margin-top:20px}.staff-heading{align-items:start}.staff-heading h1{font-size:20px}.staff-grid{grid-template-columns:1fr;gap:16px}.staff-specs,.staff-actions{padding:20px}#luggageWorkbenchBtn{order:4;width:100%}}

/* Product checkout embeds keep the existing geometry editor, without owner-only exports or other product modes. */
.checkout-embedded>header,.checkout-embedded>footer,.checkout-embedded .order-draft,.checkout-embedded .export-section,.checkout-embedded .calibration{display:none!important}.checkout-embedded .workspace{padding:22px;max-width:1400px;grid-template-columns:minmax(0,1fr) 340px}.checkout-embedded .product{padding:18px 24px}.checkout-embedded h1{font-size:21px}.checkout-embedded .preview-top{margin-bottom:16px}.checkout-embedded .controls .control-section{padding:20px 24px}.checkout-embedded .product h2{font-size:21px}#checkoutDemoLink{font-size:12px;margin-left:auto}@media(max-width:760px){.checkout-embedded .workspace{display:flex;padding:14px;gap:14px}.checkout-embedded h1{font-size:17px}#checkoutDemoLink{order:4;margin-left:0;width:100%;justify-content:center}}

.cloud-download:not([hidden]){display:block;text-align:center;text-decoration:none;margin-top:12px}

/* Customer-facing brand treatment; source artwork and canvas rendering are unchanged. */
.brand{color:#242424;gap:17px}.brand-mark{width:52px;height:52px;object-fit:contain;display:block;flex-shrink:0}.brand-wordmark{font-size:15px;letter-spacing:.13em;font-weight:750;padding-left:17px;border-left:1px solid #d8d8d8;white-space:nowrap}.brand-symbol{display:none}#bundleBtn{color:#333;border:1px solid #d7d7d7}.staff-entry{margin-left:auto;color:#686868;text-decoration:none;font-size:13px}.customer-save-note{color:#686868}.live-storage>.button{margin-top:10px}.live-storage .primary{font-weight:650}.live-storage .cloud-download{display:none!important}.staff-mode .live-storage .cloud-download:not([hidden]){display:block!important}@media(max-width:760px){.brand{gap:12px}.brand-mark{width:44px;height:44px}.brand-wordmark{font-size:12px;padding-left:12px;letter-spacing:.1em}.staff-entry{font-size:12px}header{justify-content:space-between}}

/* Neutral remove controls share the editor utility palette. */
.order-row button,.text-button.danger{color:#686868;border-radius:6px;transition:color .15s,background-color .15s}.order-row button:hover:enabled,.text-button.danger:hover:enabled{color:#343434;background-color:#f0f0f0}.order-row button:focus-visible,.text-button.danger:focus-visible{color:#343434;background-color:#f0f0f0;outline:2px solid #727272;outline-offset:3px}.order-row button:active:enabled,.text-button.danger:active:enabled{color:#242424;background-color:#e5e5e5}

/* Only validation/error states use red; regular controls retain the neutral brand palette. */
.cart-validation{margin:16px 0;padding:14px 16px;border:1px solid #d62828;border-left:4px solid #c62828;border-radius:9px;background:#fff2f2;color:#a51d1d;font-size:14px;line-height:1.7;white-space:pre-line;overflow-wrap:anywhere}.cart-validation[hidden]{display:none}#liveStatus.error{color:#b42318;background:#fff2f2;border-left:3px solid #c62828;padding:12px;border-radius:6px}.toast.error{background:#b42318;color:#fff;white-space:pre-line;max-height:45vh;overflow:auto}
