@charset "UTF-8";
:root{--ink:#17211d;--muted:#65716a;--green:#17664d;--green-dark:#104d3a;--mint:#eaf4ef;--paper:#fff;--stage:#f2f4f2;--line:#e1e6e2;--red:#af3b35;--font:Arial,"Noto Sans HK","PingFang HK","Microsoft JhengHei",sans-serif;font-family:var(--font);color:var(--ink)}
.mobile-save-status{display:none}
@media(max-width:700px){.mobile-save-status{display:block;text-align:center;color:var(--green);font-size:8px;line-height:1.5;margin-top:3px}.mobile-save-status[data-state=error]{color:var(--red)}}
*{box-sizing:border-box}body{margin:0;background:var(--paper);overflow:hidden;font-size:14px}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer;color:inherit}button:disabled{cursor:default;opacity:.3}button{border:0;background:none}button, a{outline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,[tabindex]:focus-visible{outline:3px solid #539c7f}input,textarea,select{color:inherit}input,textarea{min-width:0}button svg, a svg, label svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}h1,h2{font-weight:700;letter-spacing:-.045em}h1 span,h2 span{color:var(--green)}[hidden]{display:none!important}.icon-library{position:absolute;width:0;height:0;overflow:hidden}.skip{position:fixed;top:-100px;left:20px;background:var(--green);color:white;padding:14px;z-index:100}.skip:focus{top:12px}
.topbar{height:76px;display:flex;align-items:center;gap:32px;border-bottom:1px solid var(--line);padding:0 26px 0 22px;position:relative;z-index:5;background:white}.brand{display:flex;align-items:center;gap:11px;flex-shrink:0;width:282px}.brand-mark{height:38px;width:38px;display:grid;place-items:center;background:var(--green);color:white;font-size:20px;font-weight:800;letter-spacing:-3px;padding-right:3px;border-radius:11px}.brand b{font-size:17px;letter-spacing:.09em;display:block}.brand small{font-size:10px;letter-spacing:.18em;color:var(--muted);display:block;margin-top:5px}.document-title{display:flex;align-items:center;gap:16px;flex:1;min-width:0}.document-title input{width:130px;border:1px solid transparent;border-radius:5px;background:transparent;font-weight:600;padding:8px 7px}.document-title input:hover,.document-title input:focus{border-color:var(--line);background:var(--stage)}.save-status{font-size:11px;color:var(--muted);display:flex;align-items:center;gap:6px;white-space:nowrap}.save-status i{width:5px;height:5px;border-radius:50%;background:var(--green)}.save-status[data-state=error]{color:var(--red)}.save-status[data-state=error] i{background:var(--red)}.top-actions{display:flex;align-items:center;gap:7px}.icon-button{width:36px;height:36px;display:grid;place-items:center;border-radius:7px}.icon-button:hover:not(:disabled){background:var(--stage)}.separator{width:1px;height:22px;background:var(--line);margin:0 4px}.button{min-height:42px;padding:10px 15px;border:1px solid var(--line);border-radius:8px;display:inline-flex;align-items:center;justify-content:center;gap:9px;font-size:13px;font-weight:600;background:white;transition:background .15s,border-color .15s}.button:hover{background:var(--stage);border-color:#bdc9bf}.button.primary{background:var(--green);border-color:var(--green);color:white}.button.primary:hover{background:var(--green-dark)}.top-actions .primary{margin-left:12px;padding-inline:18px;min-height:42px}.subtle{background:var(--stage)}
.studio{height:calc(100dvh - 76px);display:grid;grid-template-columns:76px 282px minmax(0,1fr)}.tool-rail{border-right:1px solid var(--line);display:flex;flex-direction:column;align-items:center;padding:18px 9px 13px;gap:7px;background:white;z-index:4}.tool{position:relative;width:58px;height:68px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;border-radius:10px;color:#5c6860;font-size:11px}.tool>svg{width:22px;height:22px;stroke-width:1.6}.tool:hover{background:var(--stage)}.tool.active{background:var(--mint);color:var(--green);font-weight:700}.tool.active:before{content:"";position:absolute;width:3px;height:23px;border-radius:4px;background:var(--green);left:-9px;top:22px}.tool em{position:absolute;right:5px;top:6px;font-style:normal;font-size:9px;font-weight:700;background:var(--green);color:white;border-radius:4px;padding:1px 4px}.help-link{margin-top:auto;display:flex;flex-direction:column;align-items:center;gap:8px;font-size:10px;color:var(--muted);text-align:center;line-height:1.5;padding:12px 0}.help-link svg{width:18px;height:18px}.panel-shell{background:white;border-right:1px solid var(--line);overflow-y:auto;scrollbar-width:thin;scrollbar-color:#dce3de transparent;position:relative;z-index:3}.panel-collapse{display:none}.panel{padding:29px 22px 26px}.panel-heading{margin-bottom:24px}.eyebrow{font-size:10px;letter-spacing:.12em;color:var(--muted);font-weight:500;margin-bottom:10px}.panel-heading h1,.panel-heading h2{font-size:24px;line-height:1.4;margin-bottom:10px}.panel-heading>p:last-child{font-size:12px;color:var(--muted);line-height:1.8}.style-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px}.style-card{background:white;border:1px solid var(--line);border-radius:10px;text-align:left;position:relative;overflow:hidden;padding:0 0 12px;transition:border-color .15s,box-shadow .15s}.style-card:hover{border-color:#93ad9b}.style-card[aria-pressed=true]{border-color:var(--green);box-shadow:0 0 0 1px var(--green)}.style-card[aria-pressed=true]:after{content:'✓';position:absolute;top:8px;right:8px;background:var(--green);color:white;width:17px;height:17px;display:grid;place-items:center;border-radius:50%;font-size:10px}.style-card .style-image{height:99px;display:grid;place-items:center;background:#f5f6f4;margin-bottom:10px}.style-card img{height:96px;width:96px;object-fit:contain;filter:drop-shadow(0 4px 4px #17211d09)}.style-card strong{display:block;font-size:11px;font-weight:600;margin:0 10px;line-height:1.6}.style-card small{display:block;font-size:9px;color:var(--muted);margin:4px 10px 0}.panel-note{margin-top:26px;padding-top:20px;border-top:1px solid var(--line);display:flex;align-items:flex-start;gap:8px}.panel-note svg{width:15px;height:15px;stroke:var(--green);fill:none;stroke-width:2;flex:none;margin-top:3px}.panel-note p{color:var(--muted);font-size:11px;line-height:1.85}.current-color{display:flex;gap:13px;align-items:center;padding:16px;border:1px solid var(--line);border-radius:10px;background:#fcfdfc}.color-picker{position:relative;display:grid;place-items:center;flex:none;width:52px;height:58px;border:1px solid #17211d18;border-radius:7px;background:#c9dfce;overflow:hidden}.color-picker input{opacity:0;position:absolute;inset:0;width:100%;height:100%;cursor:pointer}.color-picker svg{width:19px;height:19px;pointer-events:none;mix-blend-mode:difference;color:white}.hex-label{display:block;flex:1;min-width:0}.hex-label>span:first-child{font-size:10px;color:var(--muted);display:block;margin-bottom:8px}.hex-input{display:flex;align-items:center;gap:7px;font:13px ui-monospace,monospace}.hex-input b{color:#8b978e;font-weight:400}.hex-input input{border:none;width:100%;padding:4px 0;background:transparent;text-transform:uppercase;font:inherit}.section-label{display:flex;justify-content:space-between;align-items:baseline;margin:27px 0 15px}.section-label h3{font-size:12px;font-weight:600}.section-label>span{font-size:10px;color:var(--muted)}.swatch-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:13px 9px}.swatch{width:30px;height:30px;border-radius:50%;border:1px solid #17211d12;position:relative;margin:auto}.swatch:hover{transform:scale(1.1)}.swatch[aria-pressed=true]{outline:1.5px solid var(--green);outline-offset:3px}.swatch[aria-pressed=true]:after{content:'✓';font-size:14px;position:absolute;inset:0;display:grid;place-items:center;color:var(--check,#fff)}.color-note{border-top:1px solid var(--line);padding-top:19px;margin-top:27px}.color-note>span{font:11px ui-monospace,monospace;display:inline-block;padding:6px 8px;border-radius:4px;background:var(--mint);color:var(--green);margin-bottom:10px}.color-note p{font-size:11px;color:var(--muted);line-height:1.9}.field-error{color:var(--red);font-size:12px;line-height:1.6;padding-top:10px}.upload-zone{border:1.5px dashed #a5bdae;background:#f8fbf9;border-radius:12px;display:flex;flex-direction:column;align-items:center;padding:27px 8px;gap:10px;text-align:center;cursor:pointer}.upload-zone:hover,.upload-zone.dragover{border-color:var(--green);background:var(--mint)}.upload-zone>svg{width:28px;height:28px;color:var(--green);margin-bottom:5px}.upload-zone strong{font-size:13px}.upload-zone span{font-size:11px;color:var(--muted)}.upload-zone small{font-size:9px;color:var(--muted);margin-top:9px}.upload-tip{font-size:11px;color:var(--muted);line-height:1.9;margin-top:13px}.upload-list{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.upload-item{border:1px solid var(--line);border-radius:7px;padding:8px;aspect-ratio:1;background:repeating-conic-gradient(#fff 0 25%,#f0f2ef 0 50%) 0 0/14px 14px}.upload-item img{width:100%;height:100%;object-fit:contain}.empty-mini{grid-column:1/-1;text-align:center;padding:21px 10px;background:var(--stage);border-radius:8px;font-size:11px;color:var(--muted);line-height:1.9}.add-text{width:100%;background:var(--mint);border-color:#cbded2;color:var(--green);justify-content:flex-start;min-height:49px}.add-text>span{margin-left:auto;font-size:20px;font-weight:400}.text-hint{text-align:center;color:var(--muted);margin-top:30px;padding:22px 6px;border-top:1px solid var(--line)}.text-hint>svg{width:30px;height:30px;stroke:#aebbb1;stroke-width:1.2;fill:none;margin-bottom:15px}.text-hint p{font-size:12px;line-height:1.9}.text-hint small{font-size:10px;line-height:1.8;display:block;margin-top:12px}.field{display:flex;flex-direction:column;gap:9px;font-size:11px;font-weight:600;margin-top:20px}.field input,.field textarea,.field select{border:1px solid var(--line);background:white;border-radius:7px;padding:11px 10px;width:100%;font-size:13px;font-weight:400}.field textarea{resize:vertical;min-height:80px;line-height:1.7}.field input[type=color]{padding:4px;height:40px}.field-pair{display:grid;grid-template-columns:1fr 1fr;gap:10px}#text-bold{margin-top:13px;width:100%}#text-bold[aria-pressed=true]{background:var(--mint);color:var(--green);border-color:#c4dacf}.layer-list{display:flex;flex-direction:column;gap:8px}.layer-row{display:flex;gap:12px;align-items:center;width:100%;padding:11px;border:1px solid var(--line);border-radius:8px;text-align:left;background:white}.layer-row.active{border-color:var(--green);background:var(--mint)}.layer-row .layer-thumb{width:36px;height:36px;display:grid;place-items:center;background:#edf0ec;border-radius:5px;flex:none;overflow:hidden;font-size:21px;font-family:Georgia,serif}.layer-thumb img{width:100%;height:100%;object-fit:contain}.layer-row strong{font-size:12px;line-height:1.7;max-width:130px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block}.layer-row small{font-size:10px;display:block;color:var(--muted);margin-top:2px}
.workspace{background:var(--stage);position:relative;min-width:0;display:flex;flex-direction:column;padding:22px 32px 13px;overflow:hidden;outline:none}.workspace-heading{display:flex;align-items:center;justify-content:space-between;flex:none}.workspace-kicker{font-size:10px;color:var(--muted);letter-spacing:.13em}.workspace-heading h2{font-size:16px;letter-spacing:-.02em;margin-top:7px;line-height:1.2}.workspace-heading h2 span{font-size:13px;font-weight:400;color:var(--muted);margin-left:7px}.reference-toggle{display:flex;align-items:center;gap:7px;font-size:10px;color:var(--muted);height:35px;border:1px solid #dce2dc;background:#f9fbf9;border-radius:7px;padding:0 10px}.reference-toggle[aria-pressed=false]{opacity:.5}.dashed-icon{width:13px;height:13px;border:1px dashed currentColor;border-radius:2px}.object-toolbar{height:40px;display:flex;align-items:center;justify-content:space-between;border:1px solid #e2e7e2;border-radius:9px;background:#ffffffc9;max-width:540px;width:100%;margin:20px auto 4px;padding:0 9px 0 13px;flex:none}.object-toolbar-label{font-size:11px;color:var(--muted)}.object-actions{display:flex;align-items:center;gap:2px}.object-actions button{height:30px;width:32px;display:grid;place-items:center;border-radius:5px}.object-actions button:hover:not(:disabled){background:var(--mint);color:var(--green)}.object-actions svg{height:15px;width:15px}.object-actions>span{height:15px;width:1px;background:var(--line);margin:0 4px}.canvas-stage{min-height:0;flex:1;position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden}.canvas-wrap{width:100%;height:100%;display:flex;align-items:center;justify-content:center}.canvas-container{flex:none;touch-action:none}.canvas-container canvas{touch-action:none}.loading-overlay{position:absolute;inset:0;background:var(--stage);display:flex;align-items:center;justify-content:center;flex-direction:column;gap:14px;z-index:2;font-size:12px;color:var(--muted);text-align:center}.loading-overlay.error{padding:30px;line-height:1.8}.spinner{width:24px;height:24px;border:2px solid #d3dfd6;border-top-color:var(--green);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.workspace-bottom{display:flex;align-items:center;justify-content:space-between;position:relative;min-height:70px;flex:none}.side-switch{display:flex;gap:8px;margin:auto}.side-switch button{display:flex;align-items:center;gap:9px;position:relative;width:128px;height:65px;border:1px solid #dae1da;border-radius:9px;padding:6px 12px 6px 5px;background:#f9fbf9;text-align:left}.side-switch button.active{border-color:var(--green);background:white;box-shadow:0 1px 3px #173c2520}.side-switch img{height:47px;width:47px;object-fit:contain}.side-switch span{font-size:11px;font-weight:600;line-height:1.4}.side-switch small{font-size:9px;display:block;color:var(--muted);font-weight:400;margin-top:4px;white-space:nowrap}.side-switch i{position:absolute;right:7px;top:7px;width:4px;height:4px;border-radius:50%;background:transparent}.side-switch button.active i{background:var(--green)}.zoom-control{position:absolute;right:0;display:flex;align-items:center;border:1px solid #dce3dc;background:white;border-radius:7px;height:32px;overflow:hidden}.zoom-control button{height:30px;width:29px;color:var(--muted);font:13px ui-monospace,monospace;padding:0}.zoom-control button:nth-child(2){width:45px;font-size:10px}.zoom-control button:hover{background:var(--mint)}.canvas-note{text-align:center;font-size:10px;line-height:1.6;color:var(--muted);margin-top:12px;flex:none}
.toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);padding:13px 20px;max-width:min(90vw,570px);border-radius:10px;color:white;background:var(--ink);font-size:13px;line-height:1.6;box-shadow:0 6px 25px #0002;z-index:50;text-align:center}.toast[data-error=true]{background:#8b3930}dialog{border:1px solid var(--line);padding:28px;border-radius:18px;color:var(--ink);max-width:calc(100vw - 30px);max-height:calc(100dvh - 32px);box-shadow:0 28px 90px #142e2530;overflow:auto}dialog::backdrop{background:#14231bc0;backdrop-filter:blur(3px)}.finish-dialog{width:680px}.dialog-head{display:flex;align-items:flex-start;gap:20px;justify-content:space-between;margin-bottom:22px}.dialog-head h2{font-size:25px;line-height:1.4}.dialog-head .eyebrow{margin-bottom:7px}.dialog-head .icon-button{flex:none;border:1px solid var(--line)}.preview-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.preview-grid figure{margin:0;background:var(--stage);border-radius:11px;overflow:hidden;display:flex;flex-direction:column;align-items:center}.preview-grid img{width:100%;aspect-ratio:1;object-fit:contain}.preview-grid figcaption{font-size:11px;color:var(--muted);padding-bottom:15px}.preview-description{font-size:12px;color:var(--muted);margin:16px 0 22px}.delivery-options{display:grid;grid-template-columns:1fr 1fr;gap:10px}.delivery-options button{min-height:48px}.dialog-note{font-size:11px;line-height:1.8;color:var(--muted);margin-top:18px}.dialog-footer{border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:10px;margin-top:21px;padding-top:13px}.text-button{font-size:11px;color:var(--green);padding:8px 0;text-decoration:underline;text-underline-offset:4px}.share-result{margin-top:20px;padding:16px;background:var(--mint);border-radius:9px}.share-result>label{font-size:11px;display:block;margin-bottom:9px}.share-result>div{display:flex;gap:7px}.share-result input{flex:1;padding:8px 10px;border:1px solid #cbdcd0;border-radius:6px;font-size:11px;min-width:0}.share-result .button{min-height:37px}.share-result .whatsapp-link{margin-top:12px;width:100%;background:var(--green);color:white;border-color:var(--green)}.share-result p{font-size:10px;color:var(--muted);line-height:1.7;margin-top:10px}.file-dialog{width:445px}.file-dialog h2{font-size:23px}.file-dialog>p{font-size:12px;color:var(--muted);line-height:1.9;margin-bottom:22px}.file-action{display:flex;align-items:center;gap:15px;padding:15px 0;width:100%;text-align:left;border-bottom:1px solid var(--line)}.file-action>svg{color:var(--green)}.file-action>span:nth-child(2){flex:1;font-size:13px}.file-action small{display:block;font-size:10px;color:var(--muted);margin-top:7px}.file-dialog>.button{width:100%;margin-top:22px}.noscript{position:fixed;inset:0;z-index:100;background:white;display:grid;place-items:center;font-size:18px}
@media(min-width:1600px){.studio{grid-template-columns:82px 310px minmax(0,1fr)}.panel{padding-inline:26px}.brand{width:310px}.style-card .style-image{height:120px}.style-card img{width:116px;height:116px}.panel-heading h1,.panel-heading h2{font-size:27px}.style-card strong{font-size:12px}.workspace{padding-inline:48px}.object-toolbar{max-width:570px}}
@media(max-width:1150px){.topbar{padding-inline:16px;gap:16px}.brand{width:254px}.studio{grid-template-columns:66px 258px minmax(0,1fr)}.tool-rail{padding-inline:6px}.tool{width:53px}.tool.active:before{left:-6px}.panel{padding-inline:18px}.workspace{padding-inline:20px}.document-title{gap:6px}.save-status{font-size:10px}.document-title input{width:99px}.zoom-control{position:static;flex:none}.workspace-bottom{gap:10px}.side-switch{margin:0;gap:5px}.side-switch button{width:109px;padding-right:8px}.side-switch img{width:35px}.workspace-bottom{justify-content:space-between}}
@media(max-width:900px) and (min-width:701px){.studio{grid-template-columns:60px 230px minmax(0,1fr)}.brand{width:243px}.brand small{display:none}.brand b{font-size:14px}.document-title input{width:90px}.save-status{display:none}.topbar{gap:9px}.top-actions{gap:2px}.top-actions .primary{padding-inline:12px;margin-left:4px}.panel{padding-inline:15px}.panel-heading h1,.panel-heading h2{font-size:21px}.style-card .style-image{height:86px}.style-card img{width:82px;height:82px}.style-card strong{margin-inline:8px;font-size:10px}.style-card small{margin-inline:8px;font-size:8px}.workspace{padding-inline:14px}.object-toolbar-label{display:none}.object-toolbar{justify-content:center;width:auto;margin-top:15px}.object-actions{gap:5px}.workspace-bottom{flex-wrap:wrap;justify-content:center;gap:10px}.side-switch{margin:0}.zoom-control{position:absolute;right:0;bottom:83px}.workspace-heading h2{font-size:14px}.reference-toggle{font-size:9px;padding-inline:7px}.tool{width:48px}.swatch{width:25px;height:25px}.canvas-note{font-size:9px}}
@media(max-width:700px){body{overflow:hidden}.topbar{height:62px;padding:0 12px;gap:12px}.brand{width:auto;gap:7px}.brand-mark{width:31px;height:31px;border-radius:9px;font-size:17px}.brand b{font-size:12px;letter-spacing:.04em}.brand small{font-size:9px;letter-spacing:.05em;margin-top:4px}.document-title{display:none}.top-actions{margin-left:auto;gap:0}.top-actions .separator{display:none}.top-actions .icon-button{width:30px;height:34px}.top-actions svg{width:16px;height:16px}.top-actions .primary{margin-left:8px;min-height:36px;padding:8px 10px;font-size:11px;gap:6px}.top-actions .primary>svg{width:14px}.studio{height:calc(100dvh - 62px);display:flex;flex-direction:column}.tool-rail{order:3;flex-direction:row;justify-content:space-around;border-right:0;border-top:1px solid var(--line);padding:5px 10px max(5px,env(safe-area-inset-bottom));gap:0;flex:none;min-height:66px}.tool{width:58px;height:55px;gap:5px;font-size:10px;border-radius:8px}.tool>svg{width:21px;height:21px}.tool.active:before{display:none}.help-link{display:none}.workspace{order:1;flex:1;min-height:0;padding:12px 14px 8px}.workspace-heading{min-height:32px;align-items:center}.workspace-kicker{display:none}.workspace-heading h2{font-size:13px;margin-top:0}.workspace-heading h2 span{font-size:11px}.reference-toggle{height:30px;font-size:9px;padding-inline:7px}.object-toolbar{height:31px;margin:9px auto 0;border-radius:6px;max-width:360px;padding:0 6px 0 9px}.object-toolbar-label{font-size:9px}.object-actions{gap:1px}.object-actions button{height:28px;width:28px}.object-actions svg{width:13px;height:13px}.object-actions>span{margin:0 3px}.workspace-bottom{height:47px;min-height:47px;gap:8px}.side-switch{gap:5px;margin:0}.side-switch button{width:88px;height:44px;padding:4px 5px;gap:4px;border-radius:7px}.side-switch img{width:30px;height:33px}.side-switch span{font-size:10px}.side-switch small{font-size:8px;margin-top:2px}.zoom-control{height:29px;position:static}.zoom-control button{width:24px;height:27px;font-size:12px}.zoom-control button:nth-child(2){width:39px;font-size:9px}.canvas-note{font-size:8px;margin-top:4px;line-height:1.5}.panel-shell{order:2;flex:none;max-height:30dvh;min-height:0;border:0;border-top:1px solid var(--line);box-shadow:0 -4px 15px #17211d03;overflow-y:auto}.panel-shell.collapsed{height:0!important;max-height:0;border:0;overflow:hidden}.panel-collapse{display:flex;position:sticky;top:0;align-items:center;justify-content:center;width:100%;height:16px;background:white;z-index:2;padding:0}.panel-collapse span{width:30px;height:3px;border-radius:10px;background:#ccd7ce}.panel{padding:0 17px 17px}.panel-heading{margin-bottom:12px}.panel-heading .eyebrow{display:none}.panel-heading h1,.panel-heading h2{font-size:15px;line-height:1.4;margin-bottom:3px}.panel-heading>p:last-child{font-size:10px;line-height:1.6}.style-grid{display:flex;gap:9px;overflow-x:auto;padding:2px 2px 5px}.style-card{min-width:92px;width:92px;flex:none;padding-bottom:8px;border-radius:7px}.style-card .style-image{height:69px;margin-bottom:7px}.style-card img{height:66px;width:66px}.style-card strong{font-size:10px;margin-inline:7px}.style-card small{font-size:8px;margin:2px 7px 0}.style-card[aria-pressed=true]:after{top:5px;right:5px;width:14px;height:14px;font-size:9px}.panel-note{display:none}.current-color{padding:8px 10px;gap:12px;float:left;width:165px;margin-right:18px;margin-bottom:8px;border-radius:7px}.color-picker{width:39px;height:40px}.hex-label>span:first-child{font-size:9px;margin-bottom:2px}.hex-input{font-size:12px}.hex-input input{font-size:16px}.section-label{margin:10px 0}.section-label h3{font-size:11px}.section-label>span{font-size:9px}.panel[data-panel=colors] .section-label{margin-top:3px;margin-bottom:10px}.swatch-grid{grid-template-columns:repeat(6,1fr);gap:9px 8px;overflow:visible}.swatch{height:24px;width:24px}.color-note{clear:both;border:0;padding-top:10px;margin:0;display:flex;align-items:center;gap:10px}.color-note>span{font-size:9px;white-space:nowrap;padding:5px;margin:0}.color-note p{font-size:9px;line-height:1.6}.field-error{font-size:10px;float:left;max-width:165px;clear:left}.upload-zone{padding:13px 9px;gap:5px;float:left;width:180px;margin-right:15px}.upload-zone>svg{width:19px;height:19px;margin:0}.upload-zone strong{font-size:11px}.upload-zone span{font-size:9px}.upload-zone small{font-size:8px;margin:4px 0 0}.upload-tip{font-size:9px;margin-top:6px}.upload-list{gap:6px;grid-template-columns:repeat(2,1fr)}.upload-item{padding:5px}.empty-mini{padding:10px 4px;font-size:9px;background:transparent}.panel[data-panel=uploads] .section-label{margin:10px 0 7px}.add-text{min-height:40px;font-size:12px;width:auto;padding-inline:14px;margin-bottom:5px}.text-hint{padding:0;margin:10px 0 0;border:0;text-align:left}.text-hint>svg{display:none}.text-hint p{font-size:10px}.text-hint small{font-size:9px;margin-top:4px}.field{margin-top:10px;gap:6px;font-size:10px}.field input,.field textarea,.field select{font-size:16px;padding:7px 9px;min-height:36px}.field textarea{min-height:55px;line-height:1.5}.field-pair{gap:12px}#text-properties{display:grid;grid-template-columns:1fr 1fr;gap:0 10px}#text-properties>.field:first-child{grid-column:1/-1}#text-properties>.field-pair{grid-column:1/-1}#text-bold{width:auto;margin-top:10px;min-height:34px}.layer-list{flex-direction:row;overflow-x:auto;gap:6px}.layer-row{width:160px;flex:none;padding:7px}.layer-row strong{max-width:95px;font-size:10px}.layer-row small{font-size:9px}.layer-row .layer-thumb{width:29px;height:29px}.toast{bottom:84px;font-size:12px;padding:11px 15px;width:max-content;max-width:90vw}.dialog-head h2{font-size:21px}dialog{padding:20px 16px;border-radius:14px}.dialog-head{margin-bottom:16px}.dialog-head .eyebrow{font-size:9px}.preview-grid{gap:7px}.preview-description{font-size:11px;line-height:1.7}.delivery-options{grid-template-columns:1fr}.delivery-options button{font-size:13px;min-height:44px}.dialog-note{font-size:10px}.dialog-footer{gap:10px}.text-button{font-size:10px}.share-result input{font-size:16px}.file-dialog .file-action small{font-size:11px}.file-dialog .file-action{min-height:65px}}
@media(max-width:360px){.brand b{font-size:10px}.brand small{font-size:8px}.brand-mark{width:27px;height:27px;font-size:16px}.topbar{gap:6px;padding-inline:8px}.top-actions .icon-button{width:26px}.top-actions .primary{font-size:10px;padding-inline:8px;margin-left:4px}.panel{padding-inline:12px}.current-color{width:145px;margin-right:12px}.swatch{width:21px;height:21px}.swatch-grid{gap:8px 6px}.object-toolbar-label{font-size:8px}.object-actions button{width:26px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(max-width:700px){.swatch-grid{grid-template-columns:repeat(5,1fr)}}
.finish-dialog{width:780px}.preview-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.preview-grid img{height:155px}.preview-grid figcaption{padding-bottom:12px}.original-section{margin-top:22px;border-top:1px solid var(--line);padding-top:17px}.original-section h3{font-size:13px}.original-section>p{font-size:11px;line-height:1.8;color:var(--muted);margin:8px 0 10px}#original-list{display:grid;grid-template-columns:1fr 1fr;gap:7px}.original-download{border:1px solid var(--line);background:var(--stage);border-radius:7px;padding:10px;text-align:left;font-size:12px;overflow-wrap:anywhere}.original-download small{display:block;color:var(--green);font-size:10px;margin-top:6px}.original-download:hover{border-color:var(--green)}.side-switch{max-width:100%;overflow-x:auto;padding:4px;scrollbar-width:thin}.side-switch button{flex:none;width:112px;gap:6px}.workspace-bottom{justify-content:center}.zoom-control{right:0;bottom:86px}.side-switch img{width:38px}.delivery-options #download-originals{grid-column:1/-1}
@media(max-width:1150px){.workspace-bottom{justify-content:center}.side-switch button{width:92px}.side-switch img{width:30px}.zoom-control{position:absolute;bottom:84px}.workspace-bottom{gap:0}.side-switch{margin:0}}
@media(max-width:700px){.workspace-bottom{height:51px;min-height:51px}.side-switch{width:100%;justify-content:space-between;gap:4px}.side-switch button{width:calc((100% - 12px)/4);min-width:71px;height:44px;padding:4px;gap:3px}.side-switch img{width:24px;height:32px}.side-switch span{font-size:9px}.side-switch small{font-size:7px}.zoom-control{position:absolute;right:14px;bottom:102px;opacity:.94}.preview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.preview-grid img{height:120px}.preview-grid figcaption{font-size:10px;padding-bottom:8px}.delivery-options{grid-template-columns:1fr 1fr}.delivery-options button{font-size:11px;padding:9px;line-height:1.7}.delivery-options #download-package{grid-column:1/-1}.delivery-options #download-originals{grid-column:auto}.delivery-options button svg{width:16px}.original-section{margin-top:17px}#original-list{grid-template-columns:1fr}.original-download{font-size:12px;min-height:50px}}
.template-choice{display:flex;gap:4px;padding:4px;background:var(--stage);border:1px solid var(--line);border-radius:8px;margin-bottom:10px}.template-choice button{flex:1;padding:9px 5px;border-radius:5px;font-size:12px;white-space:nowrap}.template-choice button[aria-pressed=true]{background:var(--green);color:white;font-weight:700}.template-hint{font-size:11px;line-height:1.7;color:var(--muted);margin-bottom:17px}@media(max-width:700px){.template-choice{margin-bottom:7px}.template-hint{font-size:10px;margin-bottom:12px}}

.template-choice button:disabled{opacity:.4;cursor:not-allowed}

.template-summary{font-size:11px;font-weight:700;color:var(--green);margin-bottom:8px}.print-position-toolbar{display:flex;align-items:center;gap:10px;flex:none;margin-top:15px;min-width:0}.print-position-label{font-size:11px;color:var(--muted);white-space:nowrap}.print-positions{display:flex;gap:5px;min-width:0;overflow-x:auto;scrollbar-width:thin}.print-positions button{font-size:11px;white-space:nowrap;padding:8px 10px;border:1px solid var(--line);border-radius:6px;background:#fff;flex:none}.print-positions button[aria-pressed=true]{background:var(--green);border-color:var(--green);color:#fff}#apply-print-position{font-size:11px;white-space:nowrap;color:var(--green);padding:8px 10px;border:1px solid #b8cbbf;border-radius:6px;margin-left:auto;flex:none}#apply-print-position:disabled{opacity:.4;cursor:not-allowed}.object-toolbar{margin-top:10px}
@media(max-width:700px){.print-position-toolbar{margin-top:7px;gap:5px;flex-wrap:wrap}.print-position-label{font-size:9px}.print-positions{gap:4px}.print-positions button{font-size:10px;padding:7px 8px;min-width:44px;min-height:44px}#apply-print-position{font-size:10px;padding:7px 8px;min-height:44px}.object-toolbar{margin-top:7px}.template-summary{font-size:10px;margin-bottom:5px}}

.template-collection-label{display:flex;align-items:center;justify-content:space-between;margin:4px 0 16px;font-size:12px;font-weight:700}.template-collection-label small{font-size:10px;font-weight:400;color:var(--muted)}
.design-template-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 12px}.design-template-card{min-width:0;text-align:left;border:1px solid var(--line);border-radius:9px;overflow:hidden;background:white;padding:0 0 12px;transition:border-color .18s,box-shadow .18s}.design-template-card:hover{border-color:var(--green);box-shadow:0 3px 14px #17211d0d}.design-template-visual{display:block;height:154px;position:relative;overflow:hidden;margin-bottom:11px}.design-template-visual img{width:100%;height:100%;object-fit:contain;transform:scale(2.25);transform-origin:50% 47%}.template-card-tag{position:absolute;bottom:6px;right:6px;font-size:8px;font-weight:600;background:#ffffffdf;border-radius:4px;padding:4px 6px}.design-template-card strong,.design-template-card small{display:block;margin-inline:10px}.design-template-card strong{font-size:12px;line-height:1.6}.design-template-card small{font-size:9px;line-height:1.7;color:var(--muted);margin-top:3px}.design-template-visual.preview-unavailable{background:var(--mint)!important}
.template-dialog{width:1000px;padding:28px}.template-dialog-body{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:30px}.template-showcase{background:#f3f5f2;border:1px solid var(--line);border-radius:12px;padding:24px 12px;align-self:start}.template-preview-single{display:block;max-width:370px;margin:0 auto}.template-preview-single figure{min-width:0;margin:0;text-align:center}.template-preview-single img{width:100%;aspect-ratio:1;object-fit:contain;display:block}.template-preview-single img:not([src]){visibility:hidden}.template-preview-single figcaption{font-size:11px;color:var(--muted);padding:8px}.template-showcase #template-preview-status{font-size:11px;text-align:center;color:var(--green);margin:22px 0 0;min-height:18px}.template-preview-tip{font-size:11px;line-height:1.9;color:var(--muted);text-align:center;border-top:1px solid var(--line);padding:18px 5px 0;margin-top:18px}.template-form-heading h3{font-size:16px}.template-form-heading span{font-size:11px;color:var(--muted);display:block;margin-top:7px}#template-form .field{margin-top:16px}#template-form .field input{min-height:42px}.template-colors{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.template-fabric-note{font-size:10px;color:var(--muted);line-height:1.8;margin-top:13px}.template-apply-area{border-top:1px solid var(--line);margin-top:20px;padding-top:15px}.template-apply-area p{font-size:11px;color:var(--muted);line-height:1.8;margin:0 0 12px}#apply-template{width:100%;min-height:46px}.template-dialog .dialog-head h2{font-size:26px}
@media(max-width:1000px) and (min-width:701px){.design-template-visual{height:128px}.design-template-card strong,.design-template-card small{margin-inline:7px}.design-template-card small{font-size:8px}.template-dialog-body{gap:20px;grid-template-columns:1fr 1fr}}
@media(max-width:700px){.tool{flex:1;width:auto;min-width:0;max-width:62px}.tool-rail{padding-inline:5px}.design-template-grid{display:flex;overflow-x:auto;gap:10px;padding-bottom:5px}.design-template-card{width:136px;flex:none;padding-bottom:9px}.design-template-visual{height:122px;margin-bottom:8px}.design-template-card strong{font-size:11px}.design-template-card small{font-size:9px}.template-collection-label{font-size:11px;margin-bottom:9px}.template-dialog{padding:20px 16px;max-height:92dvh;max-width:calc(100vw - 20px)}.template-dialog-body{display:block}.template-dialog .dialog-head h2{font-size:23px}.template-showcase{padding:7px 6px 12px;margin-bottom:20px}.template-preview-single img{max-height:235px}.template-preview-single figcaption{padding:0 5px;font-size:10px}.template-showcase #template-preview-status{margin-top:10px;font-size:10px}.template-preview-tip{display:none}.template-form-heading h3{font-size:14px}.template-form-heading span{font-size:10px}#template-form .field{margin-top:12px;font-size:11px}.template-apply-area{margin-top:15px;padding-top:12px}.template-fabric-note{font-size:10px}.template-colors{gap:12px}}

@media(max-width:700px){.panel[data-panel=templates] .panel-heading>p:last-child,.panel[data-panel=templates] .template-collection-label{display:none}}

/* Product library: the catalogue has its own space; editing tools stay compact. */
.start-actions{display:flex;flex-direction:column;gap:10px;margin-top:28px}.start-actions button{display:flex;align-items:center;gap:12px;text-align:left;min-height:83px;padding:15px 12px;border:1px solid var(--line);border-radius:9px;background:white}.start-actions button:hover{border-color:#8bb5a0;background:var(--mint)}.start-actions button>svg{width:25px;height:25px;color:var(--green)}.start-actions strong{display:block;font-size:13px}.start-actions small{display:block;font-size:10px;color:var(--muted);line-height:1.7;margin-top:6px}.start-actions b{margin-left:auto;font-weight:400;color:var(--muted)}.start-product-note{margin-top:30px;border-top:1px solid var(--line);padding-top:22px}.start-product-note p{font-size:11px;color:var(--muted);margin-bottom:12px}.start-product-note .button{width:100%;font-size:12px}.current-product-bar{display:flex;align-items:center;gap:13px;flex:none;border-top:1px solid #d6ded7;background:#fff;margin:13px -32px -13px;padding:10px 28px;min-height:76px}.current-product-bar>img{width:47px;height:49px;object-fit:contain;background:var(--stage);border-radius:5px}.current-product-copy{min-width:0;flex:1}.current-product-copy>strong{font-size:13px;display:block}.current-product-copy>span{display:flex;align-items:center;gap:6px;margin-top:7px}.current-product-copy small{font-size:10px;color:var(--muted);overflow-wrap:anywhere}.current-product-copy i{width:12px;height:12px;border:1px solid #17211d22;border-radius:50%;flex:none}.current-product-actions{display:flex;gap:8px}.current-product-actions button{min-height:40px;padding:9px 12px;border:1px solid var(--line);border-radius:7px;font-size:11px;color:var(--green);white-space:nowrap}.current-product-actions button:hover{background:var(--mint);border-color:var(--green)}.current-product-actions button:first-child{font-weight:700;border-color:#a7c4b5}.workspace .zoom-control{bottom:166px}
.product-dialog{width:min(1160px,calc(100vw - 64px));height:min(820px,calc(100dvh - 64px));max-width:none;max-height:none;padding:0;overflow:hidden;border:1px solid var(--line);border-radius:14px;background:white;box-shadow:0 20px 100px #0e2c2230}.product-dialog[open]{display:flex;flex-direction:column}.product-dialog::backdrop{background:#14221bad;backdrop-filter:blur(3px)}.catalog-head{padding:24px 30px 22px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);flex:none;gap:15px}.catalog-head .eyebrow{font-size:10px;margin-bottom:7px}.catalog-head h2{font-size:27px;letter-spacing:-.025em}.catalog-head .icon-button{width:44px;height:44px;border:1px solid var(--line);border-radius:50%;flex:none}.catalog-browse{min-height:0;flex:1;display:grid;grid-template-columns:188px minmax(0,1fr)}.catalog-navigation{border-right:1px solid var(--line);padding:25px 16px;overflow:auto;background:#fafbf9}.catalog-navigation>p{font-size:10px;color:var(--muted);padding:0 12px 13px;letter-spacing:.08em}.catalog-navigation nav{display:flex;flex-direction:column;gap:3px}.catalog-category{padding:12px;min-height:44px;text-align:left;font-size:12px;border-radius:6px}.catalog-category:hover{background:#eef2ee}.catalog-category[aria-pressed=true]{background:var(--mint);color:var(--green);font-weight:700;box-shadow:inset 3px 0 var(--green)}.catalog-navigation>small{display:block;margin:28px 12px 0;font-size:10px;line-height:1.9;color:var(--muted)}.catalog-results{padding:24px 28px 28px;overflow:auto;min-width:0}.catalog-search-row{display:flex;gap:10px;margin-bottom:25px}.catalog-search{display:flex;gap:10px;align-items:center;border:1px solid #ced8d0;background:white;border-radius:8px;min-height:48px;padding:0 15px;flex:1;min-width:0}.catalog-search>svg{color:var(--muted);width:18px;height:18px}.catalog-search:focus-within{outline:2px solid var(--green);outline-offset:1px}.catalog-search input{width:100%;border:0;outline:0!important;background:transparent;font-size:13px;min-height:46px}.catalog-search input::placeholder{color:#7d8981}#catalog-category-mobile{display:none}.catalog-results-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin:0 0 19px}.catalog-results-heading h3{font-size:20px;letter-spacing:-.02em}.catalog-results-heading span{font-size:11px;color:var(--muted)}.catalog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px 17px}.catalog-card{padding:0;text-align:left;display:flex;flex-direction:column;border:1px solid var(--line);border-radius:9px;overflow:hidden;background:white;min-width:0;transition:border-color .15s,box-shadow .15s}.catalog-card:hover{border-color:#84ad97;box-shadow:0 4px 16px #17211d0a}.catalog-card-visual{display:block;position:relative;background:#f2f4ef;aspect-ratio:1/.91;width:100%;padding:15px}.catalog-card-visual>img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}.catalog-kind{position:absolute;left:11px;bottom:10px;font-size:9px;padding:4px 6px;background:#ffffffd9;border-radius:3px;color:#607166}.catalog-current{position:absolute;right:10px;top:10px;background:var(--green);color:white;font-size:9px;padding:5px 7px;border-radius:4px}.catalog-card-info{padding:14px 14px 12px;width:100%;display:flex;flex:1;flex-direction:column}.catalog-sku{font-size:10px;letter-spacing:.07em;color:var(--muted);display:block;margin-bottom:7px}.catalog-card-info>strong{font-size:15px;letter-spacing:-.02em;line-height:1.4}.catalog-card-summary{font-size:10px;color:var(--muted);margin:7px 0 16px;line-height:1.7}.catalog-card-foot{display:flex;align-items:center;gap:8px;margin-top:auto}.catalog-card-foot>small{font-size:10px;white-space:nowrap;color:var(--muted)}.catalog-mini-colours{display:flex;gap:3px}.catalog-mini-colours i{width:11px;height:11px;border-radius:50%;border:1px solid #17211d22}.catalog-arrow{margin-left:auto;color:var(--green);font-size:19px}.catalog-library-note{font-size:10px;color:var(--muted);line-height:1.8;padding:22px 0 0}.catalog-empty{padding:70px 20px;text-align:center}.catalog-empty h3{font-size:21px;margin-bottom:13px}.catalog-empty p{font-size:13px;line-height:1.8;color:var(--muted);margin-bottom:22px}.catalog-detail{min-height:0;flex:1;overflow:auto;padding:20px 32px 28px}.catalog-back{display:inline-flex;align-items:center;min-height:44px;font-size:12px;color:var(--green);margin-bottom:12px;padding:0}.catalog-detail-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:45px;align-items:start}.catalog-preview{margin:0;position:sticky;top:0;background:#f2f4ef;border-radius:8px;padding:10px 12px 18px}.catalog-preview>img{display:block;width:100%;aspect-ratio:1;object-fit:contain;mix-blend-mode:multiply}.catalog-preview figcaption{font-size:11px;text-align:center;color:var(--green);line-height:1.6}.catalog-preview p{font-size:10px;text-align:center;color:var(--muted);margin-top:8px;line-height:1.6}.catalog-detail-info{padding-top:5px;min-width:0}.catalog-detail-info h3{font-size:25px;letter-spacing:-.025em;line-height:1.4;outline:none}.catalog-detail-info>p{font-size:12px;line-height:1.8;color:var(--muted);margin-top:9px}#catalog-product-link{display:inline-block;font-size:11px;color:var(--green);padding:10px 0;text-decoration:underline;text-underline-offset:3px;min-height:40px}.catalog-colour-heading{display:flex;align-items:center;justify-content:space-between;margin-top:22px;border-top:1px solid var(--line);padding-top:21px;gap:10px}.catalog-colour-heading h4{font-size:14px;margin:0}.catalog-colour-heading>span{font-size:11px;color:var(--muted)}#catalog-colour-name{color:var(--green);font-size:12px;font-weight:700;margin:10px 0 15px;min-height:22px}.catalog-colour-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px 4px}.catalog-swatch{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:7px;border:1px solid transparent;padding:8px 2px 6px;border-radius:7px;min-height:67px;min-width:0}.catalog-swatch>span{width:28px;height:28px;border-radius:50%;border:1px solid #17211d22;display:block;flex:none}.catalog-swatch>small{font-size:9px;line-height:1.4;text-align:center;overflow-wrap:anywhere}.catalog-swatch:hover{background:var(--stage)}.catalog-swatch[aria-pressed=true]{border-color:var(--green);background:var(--mint);color:var(--green)}.catalog-swatch[aria-pressed=true]>span{outline:2px solid white;box-shadow:0 0 0 3px var(--green)}#catalog-fabric-note{font-size:10px;line-height:1.8;margin-top:20px}#catalog-generic-note{border:1px solid var(--line);background:var(--stage);padding:15px;border-radius:7px}.catalog-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 30px;border-top:1px solid var(--line);background:white;flex:none}.catalog-footer strong{display:block;font-size:13px}.catalog-footer small{display:block;font-size:10px;color:var(--muted);margin-top:7px}.catalog-footer .button{min-height:48px;padding-inline:25px;white-space:nowrap}.catalog-error{font-size:12px;line-height:1.6;color:var(--red);padding:10px 30px;background:#fff5f3;flex:none}.product-dialog[data-applying=true]{pointer-events:none}.colour-dialog{width:min(780px,calc(100vw - 64px));height:auto;max-height:calc(100dvh - 64px)}.colour-dialog .catalog-detail{padding-top:28px}.colour-dialog .catalog-detail-grid{grid-template-columns:150px minmax(0,1fr);gap:25px}.colour-dialog .catalog-preview figcaption,.colour-dialog .catalog-preview p{display:none}.colour-dialog .catalog-preview{padding:5px;top:0}.colour-dialog .catalog-detail-info h3{font-size:20px}.colour-dialog .catalog-colour-heading{margin-top:8px;padding-top:15px}.colour-dialog #catalog-product-link{display:none}
@media(min-width:1600px){.current-product-bar{margin-inline:-48px;padding-inline:44px}}
@media(min-width:701px) and (max-width:1150px){.current-product-bar{margin-inline:-20px;padding-inline:16px;gap:8px}.current-product-actions{gap:4px}.current-product-actions button{font-size:10px;padding-inline:8px}.current-product-copy>strong{font-size:12px}.current-product-copy small{font-size:9px}.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.catalog-detail-grid{gap:26px}.catalog-colour-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.catalog-detail-info h3{font-size:22px}}
@media(max-width:700px){.start-actions{flex-direction:row;gap:8px;margin-top:12px}.start-actions button{flex:1;min-width:0;min-height:76px;flex-direction:column;gap:8px;padding:10px 5px;text-align:center}.start-actions strong{font-size:10px}.start-actions small,.start-actions b{display:none}.start-actions button>svg{width:21px;height:21px}.start-product-note{margin:12px 0 0;padding-top:10px;display:flex;align-items:center;gap:8px}.start-product-note p{font-size:10px;margin:0}.start-product-note .button{width:auto;margin-left:auto;font-size:10px;min-height:36px;padding:7px 9px}.panel[data-panel=styles] .template-hint{display:none}.current-product-bar{margin:7px -14px -8px;padding:8px 12px;gap:8px;min-height:62px}.current-product-bar>img{width:33px;height:38px}.current-product-copy>strong{font-size:11px}.current-product-copy>span{gap:4px;margin-top:5px}.current-product-copy small{font-size:8px}.current-product-copy i{width:10px;height:10px}.current-product-actions{gap:5px}.current-product-actions button{font-size:9px;min-height:36px;padding:7px 8px}.mobile-save-status{display:none}.workspace .zoom-control{bottom:152px}.product-dialog{width:100vw;height:100dvh;max-width:100vw;max-height:100dvh;margin:0;border:0;border-radius:0}.catalog-head{padding:15px 17px;gap:10px}.catalog-head h2{font-size:21px}.catalog-head .eyebrow{font-size:9px;margin-bottom:5px}.catalog-head .icon-button{width:42px;height:42px}.catalog-browse{display:block;overflow:auto}.catalog-navigation{display:none}.catalog-results{padding:17px;overflow:visible}.catalog-search-row{display:flex;flex-wrap:wrap;margin-bottom:19px}.catalog-search{width:100%;flex:none;min-height:46px;padding:0 11px}.catalog-search input{font-size:16px;min-height:44px}#catalog-category-mobile{display:block;min-height:44px;padding:8px 12px;border:1px solid var(--line);border-radius:7px;background:white;font-size:14px;width:100%}.catalog-results-heading h3{font-size:18px}.catalog-results-heading span{font-size:10px}.catalog-results-heading{margin-bottom:14px}.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 10px}.catalog-card-visual{padding:11px;aspect-ratio:1/.95}.catalog-card-info{padding:11px 10px}.catalog-sku{font-size:9px;margin-bottom:5px}.catalog-card-info>strong{font-size:13px}.catalog-card-summary{font-size:9px;margin:7px 0 12px}.catalog-mini-colours{gap:2px}.catalog-mini-colours i{width:9px;height:9px}.catalog-card-foot{gap:4px}.catalog-card-foot>small{font-size:9px}.catalog-arrow{font-size:17px}.catalog-kind{font-size:8px;left:8px;bottom:8px}.catalog-current{font-size:8px;right:7px;top:7px}.catalog-detail{padding:7px 17px 23px}.catalog-back{margin-bottom:6px}.catalog-detail-grid{display:block}.catalog-preview{position:static;display:flex;align-items:center;gap:12px;padding:8px 12px;margin-bottom:20px}.catalog-preview>img{width:110px;height:110px;aspect-ratio:1}.catalog-preview figcaption{font-size:11px;text-align:left}.catalog-preview p{display:none}.catalog-detail-info h3{font-size:22px}.catalog-detail-info>p{font-size:12px}.catalog-colour-heading{margin-top:13px;padding-top:15px}.catalog-colour-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}.catalog-swatch{min-height:68px;padding:8px 1px 6px}.catalog-swatch small{font-size:10px}.catalog-swatch>span{width:28px;height:28px}.catalog-footer{padding:12px 17px calc(12px + env(safe-area-inset-bottom));display:block}.catalog-footer strong{font-size:12px}.catalog-footer small{font-size:9px;margin-top:4px}.catalog-footer .button{width:100%;margin-top:10px;min-height:47px;font-size:13px}.catalog-error{padding:9px 17px;font-size:11px}.catalog-empty{padding:45px 0}.colour-dialog{width:100vw;height:auto;max-height:92dvh;margin:auto 0 0;border-radius:15px 15px 0 0}.colour-dialog .catalog-detail{padding-top:18px}.colour-dialog .catalog-detail-grid{display:block}.colour-dialog .catalog-preview{display:none}.colour-dialog .catalog-detail-info h3{font-size:19px}.catalog-library-note{font-size:10px}}

.catalog-back{position:sticky;top:-20px;z-index:2;background:white;width:100%}
@media(max-width:700px){.catalog-back{top:-7px}.current-product-actions button{min-height:44px}.catalog-head .icon-button{width:44px;height:44px}}
.panel[data-panel=styles] .template-hint{margin-top:24px;padding-top:15px;border-top:1px solid var(--line);font-size:10px;color:var(--muted);line-height:1.8}

/* Product colour sidebar: direct colour changes keep the canvas visible. */
.product-details .details-heading{margin-bottom:24px}.details-heading h2{font-size:23px;letter-spacing:-.03em}.detail-current{display:flex;gap:14px;align-items:center}.detail-current>img{width:76px;height:86px;object-fit:contain;background:#f3f5f1;border-radius:6px}.detail-current>div{min-width:0}.detail-current small{font-size:10px;color:var(--muted)}.detail-current h3{font-size:15px;line-height:1.5;margin:5px 0 8px}.detail-current a{font-size:11px;color:var(--green)}.detail-change{width:100%;margin-top:16px;justify-content:flex-start}.detail-change span{margin-left:auto}.detail-section{margin-top:24px;padding-top:22px;border-top:1px solid var(--line)}.detail-section h3{font-size:15px}.detail-section-heading{display:flex;justify-content:space-between;align-items:center}.detail-section-heading>span{font-size:11px;color:var(--muted)}.detail-colour-label{font-size:12px;min-height:18px;margin:10px 0 14px}.detail-colours{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px}.detail-swatch{aspect-ratio:1;border:1px solid #18251d24;border-radius:5px;position:relative;min-width:0;padding:0}.detail-swatch span{display:none;background:white;color:#18251d;border-radius:50%;width:20px;height:20px;line-height:20px;font-size:14px;font-weight:700;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);box-shadow:0 0 0 1px #18251d24}.detail-swatch[aria-pressed=true]{outline:2px solid var(--green);outline-offset:2px}.detail-swatch[aria-pressed=true] span{display:block}.detail-swatch:hover{transform:translateY(-1px)}.detail-swatch:focus-visible{outline:3px solid var(--green);outline-offset:2px}.detail-swatch:disabled{cursor:wait;opacity:.6}.detail-note{font-size:11px;line-height:1.8;color:var(--muted);margin-top:14px}.detail-size-list{font-size:14px;line-height:1.9;margin-top:12px}.product-details .template-hint{margin-top:20px;font-size:10px;line-height:1.8}
@media(min-width:1151px){.studio{grid-template-columns:76px 340px minmax(0,1fr)}}
@media(max-width:1150px) and (min-width:701px){.detail-colours{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:700px){.product-details .details-heading{margin-bottom:12px}.details-heading h2{font-size:19px}.detail-current>img{width:56px;height:62px}.detail-current h3{font-size:13px;margin:3px 0}.detail-change{margin-top:10px;min-height:42px}.detail-section{margin-top:16px;padding-top:15px}.detail-colours{grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}.detail-swatch{min-height:36px}.detail-note{font-size:10px}.product-details .template-hint{display:block!important}.detail-colour-label{margin:8px 0 12px}}

@media(max-width:700px){.product-details .details-heading,.product-details .detail-current,.product-details .detail-change{display:none}.product-details .detail-section:first-of-type{margin-top:0;padding-top:0;border-top:0}.product-details>.detail-section{margin-top:0;padding-top:0;border-top:0}.product-details #detail-sizes{margin-top:18px;padding-top:15px;border-top:1px solid var(--line)}.product-details .detail-colours{grid-template-columns:repeat(7,minmax(0,1fr))}.product-details .detail-swatch{min-height:38px}}

/* Fabric palettes remain separate; switching is confirmed in the product dialog. */
.catalog-fabric{margin:20px 0 8px;display:grid;gap:8px}.catalog-fabric[hidden]{display:none}.catalog-fabric label{font-weight:700;font-size:14px}.catalog-fabric select{width:100%;min-height:44px;padding:10px 12px;border:1px solid #ced4d1;border-radius:8px;background:#fff;color:inherit;font:inherit}.catalog-fabric select:focus-visible{outline:2px solid #187760;outline-offset:3px}.catalog-fabric p{margin:0;font-size:14px;line-height:1.6}.detail-fabric-change{min-height:44px;border:0;background:transparent;color:#187760;font:inherit;font-size:13px;text-decoration:underline;cursor:pointer}.detail-fabric-change:disabled{opacity:.5;cursor:wait}

/* Mobile product overview and canvas-preserving colour sheet. */
.mobile-product-head,.mobile-colour-row,.mobile-colour-head,.mobile-colour-tip{display:none}
@media(max-width:700px){
 .panel-shell:has(.product-details.active):not(.collapsed):not(.mobile-colour-sheet){position:fixed;inset:62px 0 66px;max-height:none;z-index:20;background:white;padding:0 20px;overflow-y:auto}
 .panel-shell:has(.product-details.active)>.panel-collapse{display:none}
 .product-details{padding:0!important}
 .product-details .details-heading{display:none!important}
 .mobile-product-head{display:flex;align-items:center;justify-content:space-between;height:62px;border-bottom:1px solid var(--line);font-size:17px}
 .mobile-product-head button{width:44px;height:44px;font-size:28px}
 .product-details .detail-current{display:flex!important;padding:24px 0;gap:18px}
 .product-details .detail-current>img{width:75px;height:85px}
 .product-details .detail-current h3{font-size:18px;line-height:1.5}
 .mobile-colour-row{display:flex;width:100%;align-items:center;justify-content:space-between;gap:16px;padding:20px 0;border-block:1px solid var(--line);font-size:15px;text-align:left;min-height:72px}
 .mobile-colour-row>span:last-child{display:flex;align-items:center;gap:9px;max-width:60%}
 .mobile-colour-row b{font-size:13px;font-weight:400;overflow-wrap:anywhere}
 .mobile-colour-row i{width:26px;height:26px;border:1px solid #ccc;border-radius:5px;flex:none}
 .product-details .detail-change{display:flex!important;background:transparent;border:0;border-bottom:1px solid var(--line);border-radius:0;padding:22px 0;margin:0;font-size:15px}
 .product-details #detail-fabric{padding:20px 0!important;border-bottom:1px solid var(--line)}
 .product-details #detail-palette{display:none}
 .product-details #detail-sizes,.product-details #detail-material,.product-details #template-hint{display:none!important}
 .panel-shell.mobile-colour-sheet{max-height:250px;max-height:min(32dvh,250px);background:white;border-radius:20px 20px 0 0;overflow-y:auto;box-shadow:0 -8px 28px #17211d12;padding:0 16px 10px}
 .mobile-colour-sheet .product-details>*{display:none!important}
 .mobile-colour-sheet .product-details #detail-palette{display:block!important;margin:0;padding:0;border:0}
 .mobile-colour-head{display:flex;align-items:center;justify-content:space-between;gap:10px;position:sticky;top:0;background:white;z-index:2;min-height:52px;border-bottom:1px solid var(--line)}
 .mobile-colour-head strong{font-size:15px}.mobile-colour-head button{min-height:44px;min-width:48px;color:var(--green);font-size:14px}
 .mobile-colour-sheet .detail-section-heading{display:none}
 .mobile-colour-sheet .detail-colour-label{margin:10px 0 8px;font-size:12px}
 .mobile-colour-sheet .product-details .detail-colours{display:flex;gap:9px;overflow-x:auto;padding:4px 3px 10px;scroll-snap-type:x proximity;overscroll-behavior-x:contain}
 .mobile-colour-sheet .detail-swatch{width:40px;height:40px;min-height:40px;flex:0 0 40px;scroll-snap-align:start}
 .mobile-colour-tip{display:block;font-size:10px;color:var(--muted);margin:2px 0 0}
 .mobile-colour-sheet .detail-note{font-size:9px;line-height:1.5;margin-top:5px}
 .mobile-colour-sheet .field-error{float:none;max-width:none}
}
@media(max-width:700px){body:has(.panel-shell.mobile-colour-sheet:not(.collapsed)) .print-position-toolbar,body:has(.panel-shell.mobile-colour-sheet:not(.collapsed)) .object-toolbar,body:has(.panel-shell.mobile-colour-sheet:not(.collapsed)) .reference-toggle{display:none}}

/* Numeric artwork size stays beside the live canvas. */
.artwork-size-panel{flex:none;background:#fff;border:1px solid var(--line);border-radius:14px;padding:12px 18px;max-width:520px;width:100%;align-self:center;box-sizing:border-box}
.artwork-size-panel[hidden]{display:none}.artwork-size-panel header{display:flex;align-items:center;justify-content:space-between}.artwork-size-panel header small{font-weight:400;color:var(--muted)}
.artwork-size-panel header button{color:var(--green);min-height:40px;min-width:44px}.size-inputs{display:flex;align-items:center;gap:12px;margin:8px 0}.size-inputs label{flex:1;min-width:0;font-size:12px}.size-inputs label span{display:flex;align-items:center;border:1px solid #b8c7bf;border-radius:7px;padding:0 8px;margin-top:5px;gap:4px}.size-inputs input{width:100%;min-width:0;border:0;background:transparent;font-size:18px;padding:10px 0;color:inherit}.size-inputs button{font-size:11px;min-height:44px;color:var(--green);flex:none}.size-inputs button[aria-pressed=false]{color:var(--muted)}
.artwork-size-panel p{font-size:11px;color:var(--muted);line-height:1.5;margin:5px 0}.artwork-size-panel #size-clear{font-size:11px;color:var(--muted);text-decoration:underline;min-height:32px}
@media(max-width:700px){.editing-artwork-size .panel-shell,.editing-artwork-size .print-position-toolbar,.editing-artwork-size .object-toolbar,.editing-artwork-size .workspace-bottom,.editing-artwork-size .canvas-note,.editing-artwork-size .current-product-bar{display:none!important}.artwork-size-panel{border-radius:18px 18px 0 0;border-inline:0;padding:8px 16px;max-width:none}.editing-artwork-size .workspace{padding-bottom:0}.artwork-size-panel p{font-size:10px}.size-inputs{gap:8px;margin:3px 0}}
[data-object="size"]{min-width:44px;white-space:nowrap;font-size:12px}@media(min-width:701px){.artwork-size-panel{position:absolute;right:24px;bottom:104px;width:340px;z-index:5}.workspace{position:relative}}
@media(min-width:701px){.editing-artwork-size .panel-shell>.panel{visibility:hidden}.artwork-size-panel{position:fixed;left:86px;top:110px;bottom:auto;right:auto;width:244px;box-shadow:none}}@media(min-width:1151px){.artwork-size-panel{left:96px;width:298px}}
.custom-part{display:grid;gap:7px;margin:14px 0;font-size:13px}.custom-part select{width:100%;max-width:100%;min-height:44px;padding:9px;border:1px solid var(--line);border-radius:7px;background:#fff;color:inherit;font:inherit}.custom-part input[type=color]{width:100%;height:44px;padding:4px;border:1px solid var(--line);border-radius:7px;background:#fff}.custom-part :focus-visible{outline:2px solid #187760;outline-offset:2px}
.custom-part input[type=text]{width:100%;box-sizing:border-box;min-height:44px;padding:9px;border:1px solid var(--line);border-radius:7px;font:inherit}
.catalog-kind.catalog-popular{background:#fde7df;color:#8b3021;font-size:11px;font-weight:700;line-height:1.2;letter-spacing:0;padding:5px 8px}
