:root{--bg:#f1f7fc;--paper:#fbfdff;--ink:#365a75;--muted:#52697e;--line:#dce8f2;--accent:#3f6b8e;--pale:#e6f1fa;--orange:#c99163;--serif:"Songti TC","Noto Serif TC","PMingLiU",serif;--sans:-apple-system,BlinkMacSystemFont,"PingFang TC","Microsoft JhengHei",sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:13px/1.65 var(--sans)}button,input,select{font:inherit;color:inherit}button,a,input,select,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer;transition:background .16s,transform .16s}button:hover{filter:brightness(.97)}button:active{transform:translateY(1px)}button:disabled{opacity:.45;cursor:default}a{color:inherit}button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,#stage:focus-visible{outline:2px solid var(--orange);outline-offset:3px}button{border:0;background:none}input,select{min-width:0;max-width:100%;border:1px solid var(--line);background:var(--paper);border-radius:7px;padding:9px 10px}input[type=checkbox]{accent-color:var(--accent)}[hidden]{display:none!important}.header{height:84px;display:flex;align-items:center;padding:0 32px;gap:28px;border-bottom:1px solid var(--line);background:var(--paper)}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;min-width:215px}.brand-icon{width:43px;height:43px;border-radius:14px;background:var(--pale);padding:5px;color:var(--accent)}.brand strong{font:600 24px var(--serif);letter-spacing:4px;display:block}.brand small{display:block;font-size:8px;letter-spacing:3px;margin-top:5px}.header-caption{font-size:12px;letter-spacing:2px;color:#506577}.header-actions{margin-left:auto;display:flex;gap:12px;align-items:center}.save-status{font-size:10px;color:var(--muted)}.save-status:before{content:'•';color:#506578;margin-right:5px}.button{padding:10px 15px;border-radius:8px;font-size:12px;display:inline-flex;align-items:center;justify-content:center;gap:9px;white-space:nowrap}.primary{background:#c6e4f8;color:#2d597b;border:1px solid #a8cde8}.light{background:#e7ebef}.outline{border:1px solid #c7d1d9;background:transparent}.full{width:100%}.icon-button{width:34px;height:34px;border-radius:50%;font-size:21px;flex-shrink:0}.text-button{font-size:11px;color:var(--accent);padding:9px 0}.workspace{display:grid;grid-template-columns:260px minmax(340px,1fr) 340px;min-height:calc(100dvh - 84px)}.panel{background:var(--paper)}.settings{padding:30px 24px 22px;border-right:1px solid var(--line)}.eyebrow{font-size:8px;letter-spacing:2px;color:#4f6578;font-weight:500;display:block}.settings h1{font:500 29px/1.55 var(--serif);letter-spacing:1px;margin:16px 0 12px}.intro{color:#4f6477;font-size:11px;line-height:1.9;margin-bottom:25px}.settings section{border-top:1px solid var(--line);padding:19px 0 14px}.section-title{display:flex;gap:10px;align-items:center;margin-bottom:13px}.section-title>span{font:12px var(--serif);color:#506678}.section-title h2{font-size:12px;font-weight:500;margin:0;letter-spacing:.4px}.methods{display:grid;grid-template-columns:1fr 1fr;gap:7px}.method{border:1px solid var(--line);border-radius:9px;text-align:left;padding:10px 8px;background:#f4f7fa}.method .method-icon{font:22px/1 var(--serif);display:block;color:#506578;margin-bottom:7px}.method strong{font-size:10px;font-weight:500}.method.active{background:#e4e9ee;border-color:#8399ad}.method.active .method-icon{color:var(--accent)}.hint-card{font-size:10px;color:#506577;line-height:1.8;padding:12px 2px}.hint-card strong{font-weight:500;color:var(--accent)}.tiny{font-size:9px;color:#506577;line-height:1.8}.field{display:flex;flex-direction:column;gap:5px;font-size:10px;margin-bottom:10px;color:#4f6577}.field>span{display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:7px;background:var(--paper);padding:0 10px}.field>span input{border:0;background:none;width:100%;padding-left:0;padding-right:0}.field>span small{font-size:10px}.field-row{display:flex;gap:10px}.field-row>.field{flex:1;min-width:0}.left-footer{margin-top:20px;font-size:9px;color:#506578;line-height:2}.left-footer span{font-size:7px;letter-spacing:1px}.scene-panel{position:relative;min-width:0;padding:28px 27px 20px;background:radial-gradient(ellipse at 50% 35%,#f8fcff,#eaf3fb)}.scene-heading{display:flex;justify-content:space-between;align-items:center;gap:8px}.scene-heading h2{font:500 26px var(--serif);letter-spacing:2px;margin:10px 0 0}.time-pill{font-size:11px;display:flex;gap:7px;align-items:center}.time-pill small{font-size:9px;color:#4f6578}.sun-dot{width:9px;height:9px;border-radius:50%;background:#d5b979;box-shadow:0 0 0 4px #cfdde9}.stage-wrap{position:relative;min-width:0;margin-top:8px}.stage{width:100%;height:clamp(350px,calc(100dvh - 335px),680px);touch-action:none}.stage canvas{width:100%;height:100%;display:block;cursor:grab;border-radius:10px}.scene-badge{position:absolute;top:17px;left:10px;z-index:1;display:flex;align-items:center;gap:8px;font-size:9px;color:#4f6577;pointer-events:none}.badge-divider{opacity:.4;margin:0 3px}.live-dot{display:inline-block;width:5px;height:5px;background:#8b9fb1;border-radius:50%;margin-right:3px}.stage-watermark{position:absolute;bottom:12px;left:17px;font:italic 12px Georgia,serif;color:#506678;pointer-events:none}.view-tools{position:absolute;bottom:12px;right:10px;display:flex;background:#f3f7fbe8;border:1px solid #d0d9e0;border-radius:9px;padding:3px;box-shadow:0 3px 12px #4c607110}.view-tools button{width:32px;height:29px;font-size:18px;color:#506578;border-radius:5px}.view-tools button.active{background:#dfe6ed;color:#4f6477}.scene-bottom{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #d6dde4;padding:11px 0;gap:8px}.scene-bottom p{font-size:9px;color:#4f6578;margin:0}.scene-bottom>div{display:flex;gap:12px}.scene-bottom button{font-size:10px;color:#4f6577;padding:4px 0;white-space:nowrap}.journey-card{margin-top:15px;display:flex;align-items:center;gap:13px;border:1px solid #d5dde4;border-radius:10px;background:#eff4f8b0;padding:17px}.journey-icon{font-size:28px;color:#506477}.journey-card strong{font-weight:400;font-size:12px}.journey-card p{font-size:9px;color:#4f6578;margin:5px 0 0}.journey-card button{margin-left:auto;font-size:10px;white-space:nowrap}.layout-warnings{font-size:10px;color:#7d5b3a;margin:0}.selection{padding:13px 16px;border-radius:10px;border:1px solid #ced8e0;background:#f8fafc;margin-top:6px}.selection-head{display:flex;align-items:center;justify-content:space-between;gap:15px}.selection-head small{font-size:8px;color:#506578;display:block}.selection-head strong{font-size:11px;font-weight:500;display:block;overflow-wrap:anywhere}.selection-actions{display:flex;gap:17px;margin:9px 0 0}.selection-actions button{font-size:10px;padding:4px 0}.selection #adjust{padding-top:12px;max-width:460px}.catalog-panel{padding:30px 21px 20px;border-left:1px solid var(--line);display:flex;flex-direction:column;min-width:0}.catalog-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.catalog-heading h2{font:500 23px var(--serif);margin:10px 0 20px;letter-spacing:1px}.source-badge{font-size:8px;border:1px solid #d4dce3;border-radius:5px;padding:3px 5px;color:#506577;white-space:nowrap}.tabs{display:flex;border-bottom:1px solid var(--line);gap:13px;margin-bottom:13px}.tabs button{font-size:10px;padding:10px 0;color:#4f6477;white-space:nowrap}.tabs button.active{border-bottom:2px solid var(--accent);color:var(--ink)}.tabs span{font-size:8px;border-radius:10px;background:var(--pale);padding:1px 5px}.search{display:flex;gap:8px;align-items:center;border:1px solid var(--line);border-radius:7px;padding:0 10px}.search input{border:0;background:none;font-size:10px;width:100%;padding:9px 0}.search>span{font-size:19px;color:#506477}.filters{display:flex;gap:6px;flex-wrap:wrap;padding:12px 0 4px}.filters button{border:1px solid var(--line);border-radius:5px;padding:4px 9px;font-size:9px;color:#506577}.filters button.active{background:var(--pale);color:var(--accent);border-color:#c7d1d9}.method-filter{font-size:9px;color:#516578;display:flex;gap:6px;align-items:center;margin:4px 0 10px}.products,.inventory,.packing{height:clamp(340px,calc(100dvh - 540px),530px);overflow:auto;scrollbar-width:thin;scrollbar-color:#ced7df transparent;padding-right:3px}.product-card{display:grid;grid-template-columns:70px 1fr;gap:12px;padding:15px 0;border-bottom:1px solid var(--line)}.product-art{background:#e6ebf0;border-radius:9px;height:80px;display:flex;align-items:center;justify-content:center;color:#506577;overflow:hidden}.product-art svg{width:62px;height:65px}.product-copy{min-width:0}.product-copy small{font-size:8px;color:#4f6477;letter-spacing:.7px}.product-copy h3{font-size:10px;line-height:1.6;font-weight:500;margin:3px 0;overflow-wrap:anywhere}.product-copy p{font-size:9px;color:#506577;margin:4px 0}.product-price{display:flex;align-items:center;justify-content:space-between;margin-top:8px;gap:6px}.product-price strong{font-size:11px;font-weight:500;white-space:nowrap}.add-button{height:27px;width:29px;min-width:29px;background:#e0e7ee;border-radius:6px;font-size:17px;color:#506577}.product-link{font-size:8px;color:#506578;text-underline-offset:3px}.budget-panel{border-top:1px solid var(--line);padding-top:16px;margin-top:18px}.budget-caption{font-size:9px;display:flex;justify-content:space-between;color:#506678}.budget-total{display:flex;justify-content:space-between;align-items:center;margin:6px 0}.budget-total small{font-size:10px;margin-right:7px}.budget-total strong{font:500 32px Georgia,serif;letter-spacing:1px}.budget-total>button{font-size:20px;width:33px;height:33px;border-radius:50%;background:var(--pale)}#budgetNote{font-size:9px;color:#506578;line-height:1.8;margin:0 0 12px}.export-buttons{display:flex;gap:8px;margin-bottom:8px}.export-buttons>button{flex:1}.disclaimer{font-size:8px;color:#4f6577;line-height:1.9;margin:12px 0 0}.inventory-item{border-bottom:1px solid var(--line);padding:13px 0}.inventory-name{font-size:11px;text-align:left;overflow-wrap:anywhere;padding:0}.inventory-meta{display:flex;justify-content:space-between;gap:9px;margin-top:6px;font-size:9px;color:#4f6477}.inventory-meta select{padding:3px 6px;font-size:9px}.packing label{display:flex;gap:9px;padding:13px 0;border-bottom:1px solid var(--line);font-size:11px;align-items:flex-start}.packing label span{overflow-wrap:anywhere}.packing input{margin-top:4px;flex-shrink:0}.packing label:has(:checked){color:#506578}.packing-progress{font-size:11px;color:var(--accent);background:var(--pale);padding:10px;border-radius:7px;margin:5px 0}.mobile-nav{display:none}dialog{border:1px solid #d6dde4;border-radius:17px;background:var(--paper);color:var(--ink);padding:27px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 40px);box-shadow:0 20px 100px #23313e33;overflow:auto}dialog::backdrop{background:#32404c4d;backdrop-filter:blur(5px)}.dialog-top{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;margin-bottom:22px}.dialog-top h2{font:500 25px/1.5 var(--serif);margin:9px 0 0;letter-spacing:1px}.workbench-dialog{width:1060px}.rig-toolbar{display:flex;gap:13px;align-items:center;padding:15px;background:#e7ecf1;border-radius:10px;margin-bottom:18px}.rig-toolbar .field{margin:0;min-width:120px}.grow{flex:1}.workbench-layout{display:grid;grid-template-columns:1.2fr 1fr;gap:25px}.rig-overview{min-width:0}.rig-illustration{height:140px;background:#e3e9ef;border-radius:10px;position:relative;overflow:hidden}.rig-illustration svg{width:100%;height:100%;display:block}.slot-caption{display:flex;justify-content:space-between;gap:5px;margin:16px 0 10px;font-size:8px;letter-spacing:1px;color:#506578}.slot-caption small{letter-spacing:0}.rig-slots{display:flex;flex-direction:column;gap:6px}.rig-slot{display:flex;align-items:center;gap:13px;padding:10px;border:1px solid var(--line);border-radius:8px;text-align:left}.rig-slot.active{background:#e2e9f0;border-color:#99abbb}.slot-number{font:19px Georgia,serif;color:#506578}.rig-slot strong{font-size:10px;font-weight:500;display:block}.rig-slot small{font-size:9px;color:#506577;display:block;max-width:330px;overflow-wrap:anywhere}.slot-arrow{margin-left:auto;color:#4f6578}.slot-picker{border-left:1px solid var(--line);padding-left:23px;min-width:0}.slot-picker h3{font:20px var(--serif);margin:4px 0 8px}.slot-picker p{font-size:11px;color:#4f6577}.slot-products{max-height:470px;overflow:auto;scrollbar-width:thin}.slot-product{border:1px solid var(--line);border-radius:9px;padding:12px;margin:8px 0;font-size:10px}.slot-product p{font-size:9px;margin:5px 0}.slot-product strong{font-weight:500}.slot-product button{margin-top:7px;padding:7px 10px;font-size:10px}.slot-product .product-link{margin-left:10px}.rig-findings{margin-top:16px}.finding{font-size:10px;border-left:2px solid #b2c0cc;padding:6px 10px;margin:7px 0;background:#eaeff4;color:#506578}.finding.error{border-color:#c48063;background:#f6eee3;color:#805942}.finding.warning{border-color:#c7a76d;color:#726142}.finding.ok{border-color:#7c93a8;color:#506578}.learning{margin-top:23px;padding-top:17px;border-top:1px solid var(--line)}summary{cursor:pointer;font-size:11px;color:#516578}.learning ol{padding-left:18px;font-size:11px;color:#506577;line-height:1.9}.learning p{font-size:10px;color:#506577;line-height:1.9}.custom-dialog{width:490px}.custom-dialog details{margin:12px 0}.custom-dialog details>summary{margin-bottom:12px}.share-dialog{width:480px}.share-dialog p{font-size:11px;color:#506577}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);padding:13px 20px;background:#3d4f5f;color:#f4f8fb;border-radius:10px;box-shadow:0 5px 22px #34455322;z-index:10;font-size:12px;max-width:calc(100vw - 30px);width:max-content}.empty{padding:24px 5px;color:#516578;font-size:11px}.workbench-dialog .field input,.workbench-dialog .field select{font-size:11px}#customError{font-size:11px;color:#84583f}#loading{position:absolute;inset:0;display:grid;place-items:center;color:#506578;font-size:11px;pointer-events:none}.over-budget{color:#83593b!important}@media(min-width:1800px){.workspace{grid-template-columns:290px 1fr 380px}.settings{padding-left:32px;padding-right:32px}.catalog-panel{padding-left:27px;padding-right:27px}}@media(max-width:1240px) and (min-width:961px){.workspace{grid-template-columns:225px minmax(300px,1fr) 300px}.settings{padding-left:18px;padding-right:18px}.catalog-panel{padding-left:15px;padding-right:15px}.scene-panel{padding-left:16px;padding-right:16px}.header{padding:0 22px}.header-caption{display:none}.journey-card{padding:12px}.journey-card button{display:none}.time-pill small{display:none}.desktop-only{display:none}}
@media(max-width:960px){body{padding-bottom:64px}.header{height:70px;padding:0 18px;gap:8px}.brand{min-width:0;gap:9px}.brand-icon{width:35px;height:35px;border-radius:11px}.brand strong{font-size:20px;letter-spacing:3px}.brand small{font-size:6px;letter-spacing:2px}.header-caption,.save-status{display:none}.header-actions{gap:6px}.header-actions .button{padding:8px 10px;font-size:10px}.header-actions #openWorkbench{display:none}.header-actions #share span{display:none}.workspace{display:block;min-height:calc(100dvh - 134px)}.panel,.scene-panel{display:none}.settings{border:0;padding:25px;max-width:600px;margin:auto}.settings h1{font-size:28px}.scene-panel{padding:22px 18px 16px}.scene-heading h2{font-size:25px}.scene-heading .eyebrow{font-size:7px;letter-spacing:1.5px}.time-pill small{display:none}.stage{height:clamp(310px,calc(100dvh - 320px),530px)}.scene-badge{font-size:8px;left:5px}.stage-watermark{font-size:10px;bottom:13px;left:6px}.view-tools{right:2px}.view-tools button{width:28px}.scene-bottom{padding:12px 0;align-items:flex-start}.scene-bottom p{font-size:8px;max-width:170px}.scene-bottom>div{gap:12px}.scene-bottom button{font-size:9px}.desktop-only{display:none}.journey-card{padding:15px;gap:11px;flex-wrap:wrap;margin-top:10px}.journey-card strong{font-size:11px}.journey-card p{font-size:9px}.journey-card button{padding:0;margin-left:40px;font-size:10px}.selection{margin-top:5px;padding:12px}.selection-actions{gap:17px}.selection-actions button{font-size:10px}.selection .field input{width:100%}.catalog-panel{padding:24px 20px;border:0;min-height:calc(100dvh - 134px)}.catalog-heading h2{font-size:26px}.catalog-content{min-height:0}.products,.inventory,.packing{height:auto;max-height:none;overflow:visible;padding:0}.product-card{grid-template-columns:83px 1fr;gap:16px;padding:17px 0}.product-art{height:90px}.product-art svg{width:72px;height:72px}.product-copy h3{font-size:12px}.product-copy small{font-size:9px}.product-copy p{font-size:10px}.product-price strong{font-size:12px}.product-link{font-size:9px}.filters button,.method-filter,.tabs button{font-size:11px}.tabs{gap:24px}.search input{font-size:12px}.budget-panel{margin-top:24px;padding-top:20px}.disclaimer{font-size:9px}.inventory-name{font-size:12px}.inventory-meta{font-size:10px}.inventory-meta select{font-size:10px}body[data-panel=settings] .settings,body[data-panel=scene] .scene-panel,body[data-panel=catalog] .catalog-panel,body[data-panel=inventory] .catalog-panel{display:block}.mobile-nav{display:flex;position:fixed;z-index:5;bottom:0;left:0;right:0;height:64px;padding-bottom:env(safe-area-inset-bottom);background:#f5f8fbf5;border-top:1px solid var(--line);backdrop-filter:blur(10px);justify-content:space-around;align-items:center}.mobile-nav button{font-size:11px;padding:10px 8px;color:#506577}.mobile-nav button.active{color:var(--accent);background:#e4eaf0;border-radius:7px}.workbench-dialog{padding:20px;width:calc(100vw - 20px);max-width:calc(100vw - 20px);max-height:calc(100dvh - 22px)}.dialog-top{margin-bottom:16px}.dialog-top h2{font-size:22px}.rig-toolbar{flex-wrap:wrap;padding:11px;gap:10px}.rig-toolbar>.field{flex:1 1 45%;min-width:0}.rig-toolbar button{font-size:10px;padding:6px}.workbench-layout{display:block}.rig-illustration{height:115px}.rig-slots{display:grid;grid-template-columns:1fr 1fr}.rig-slot{padding:9px;gap:7px;min-width:0}.slot-number{font-size:16px}.rig-slot small{font-size:8px;max-width:105px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.slot-arrow{display:none}.slot-picker{border:0;border-top:1px solid var(--line);margin-top:17px;padding:17px 0 0}.slot-products{max-height:350px}.rig-findings{margin-top:12px}.finding{font-size:9px}.slot-caption{font-size:7px;letter-spacing:.5px}.slot-caption small{font-size:8px}.toast{bottom:78px;font-size:11px}.custom-dialog,.share-dialog{padding:21px;max-width:calc(100vw - 20px)}.field-row{gap:8px}.custom-dialog .field-row input{width:100%}.field-row>.field input{min-width:0}.tiny{font-size:10px}.left-footer{font-size:10px}.learning ol{font-size:10px}.header .button{min-width:32px}dialog{overscroll-behavior:contain}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;scroll-behavior:auto!important}}

.variant-picker{width:100%;padding:5px 6px;font-size:9px;margin-top:7px;display:block;background:#ecf1f6}.slot-picker>.field select{max-width:100%;width:100%}.slot-product .variant-picker{margin:10px 0 4px}

@media(max-width:960px){.stage{height:clamp(300px,calc(100dvh - 400px),420px)}}

/* Small reference copy remains readable against the light blue surfaces. */
.tiny,.product-copy p,.product-copy small,.product-link,.disclaimer{font-size:10px}.product-copy h3,.field{font-size:11px}
