.flat-preview{overflow-wrap:anywhere;min-width:0;max-width:100%;color:var(--studio-ink,#25354a)}.flat-preview h2{margin:0 0 10px;font-size:20px}.flat-preview-choice{background:#f5f1e9;border-radius:8px;flex-wrap:wrap;gap:12px;margin:8px 0 16px;padding:10px 12px;font-size:14px;display:flex}.flat-preview-description{margin:0 0 14px;font-size:13px;line-height:1.6}.flat-preview-factory-note{color:#5e6268;margin:6px 0 12px;font-size:13px;line-height:1.5}.flat-preview-photo-only .flat-preview-product{margin:4px 0 8px;font-size:14px}.flat-preview-photo-only .flat-preview-choice{margin:6px 0 10px;padding:8px 10px}.flat-preview .flat-preview-status-quiet{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;min-height:0;margin:-1px;padding:0;position:absolute;overflow:hidden}.flat-preview-photo-only .flat-preview-image{margin:8px 0}.flat-preview-photo-only .flat-preview-image img{max-height:min(52dvh,480px)}.flat-preview-context{background:#f5f7f9;border-radius:10px;gap:8px;margin:0 0 16px;padding:12px;font-size:12px;line-height:1.5;display:grid}.flat-preview-context>div{grid-template-columns:minmax(88px,1fr) minmax(0,2fr);gap:10px;min-width:0;display:grid}.flat-preview-context dt{font-weight:600}.flat-preview-context dd{white-space:normal;min-width:0;margin:0}.flat-preview-sides{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:16px;display:grid}.flat-preview .flat-preview-sides button{flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;min-width:0;min-height:48px;margin:0;display:flex}.flat-preview-sides button[aria-pressed=true]{background:var(--studio-ink,#25354a);border-color:var(--studio-ink,#25354a);color:#fff}.flat-preview-sides small{font-size:11px;font-weight:400}.flat-preview h3{flex-wrap:wrap;align-items:center;gap:8px;margin:0;font-size:15px;display:flex}.flat-preview h3 small{font-size:12px;font-weight:400}.flat-preview h3[hidden]{display:none}.flat-preview-status{min-height:18px;margin:8px 0;font-size:12px;line-height:1.5}.flat-preview-empty,.flat-preview-error{margin:8px 0;font-size:13px;line-height:1.6}.flat-preview-unreviewed button{white-space:normal;max-width:100%;min-height:44px}.flat-preview-image{background:#e9edf0;border-radius:10px;justify-content:center;align-items:center;min-width:0;margin:12px 0;display:flex;overflow:hidden}.flat-preview .flat-preview-image img{object-fit:contain;width:auto;max-width:100%;height:auto;max-height:min(48dvh,480px);margin:0;display:block}.flat-preview-actions{z-index:1;padding:12px 0 env(safe-area-inset-bottom,0px);background:#fff;border-top:1px solid #dde3e8;justify-content:flex-end;margin-top:12px;display:flex;position:sticky;bottom:0}.pillow-reference-modes{flex-wrap:wrap;gap:8px;display:flex}.pillow-reference-modes button{white-space:normal;flex:1;min-height:44px;margin:0!important}.pillow-reference-modes button[aria-pressed=true]{background:var(--studio-ink,#25354a);color:#fff}.flat-preview .pillow-reference-image{background:radial-gradient(#fff 0%,#eee8de 100%);padding:12px}.pillow-reference-note{color:#5e6268;margin:8px 0;font-size:12px;line-height:1.5}.pillow-reference-trace{min-height:44px;margin:4px 0!important}.flat-preview-actions{flex-wrap:wrap;gap:8px}.flat-preview-actions>button{flex:1}.flat-preview .flat-preview-actions button{white-space:normal;max-width:100%;min-height:48px;margin:0}@media (width<=650px){.flat-preview-context>div{grid-template-columns:minmax(76px,1fr) minmax(0,2fr);gap:8px}.flat-preview h2{font-size:18px}.flat-preview-actions>button{width:100%}.flat-preview .flat-preview-image img{max-height:42dvh}}.modal:has(>.source-switch){max-height:90dvh}.source-switch{min-width:0;max-width:100%;max-height:calc(90dvh - 50px);color:var(--studio-ink,#25354a);flex-direction:column;display:flex;overflow:hidden}.source-switch-content{overscroll-behavior:contain;overflow-wrap:anywhere;min-width:0;min-height:0;overflow:auto}.source-switch h2{margin:0 0 12px;font-size:20px;line-height:1.4}.source-switch-warning{margin:0 0 16px;font-size:13px;line-height:1.65}.source-switch-target{background:#f5f7f9;border-radius:10px;min-width:0;padding:12px}.source-switch-target h3{margin:0 0 10px;font-size:14px;line-height:1.5}.source-switch-target dl{gap:8px;margin:0;font-size:12px;line-height:1.6;display:grid}.source-switch-target dl>div{grid-template-columns:minmax(78px,1fr) minmax(0,2fr);gap:10px;min-width:0;display:grid}.source-switch-target dt{min-width:0;font-weight:600}.source-switch-target dd{white-space:normal;min-width:0;margin:0}.source-switch-actions{z-index:1;padding:12px 0 env(safe-area-inset-bottom,0px);overflow-wrap:anywhere;background:#fff;border-top:1px solid #dde3e8;flex-shrink:0;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px;display:grid;position:sticky;bottom:0}.source-switch .source-switch-actions button{white-space:normal;min-width:0;max-width:100%;min-height:48px;margin:0}@media (width<=650px){.source-switch h2{font-size:18px}.source-switch-target dl>div{grid-template-columns:minmax(68px,1fr) minmax(0,2fr);gap:8px}.source-switch .source-switch-actions button{padding:9px 10px;font-size:13px}}.product-selection{color:#29251f;overflow-wrap:anywhere;width:100%;max-width:1100px;margin:0 auto;padding:34px 28px 40px}.product-selection *{box-sizing:border-box;min-width:0}.product-selection-heading{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:28px;display:flex}.product-selection-eyebrow{letter-spacing:.12em;color:#70695e;margin:0 0 10px;font-size:11px;font-weight:700}.product-selection h1{letter-spacing:-.035em;margin:0 0 12px;font-size:clamp(25px,3vw,38px);font-weight:700;line-height:1.16}.product-selection-note{color:#756b5c;margin:0;font-size:13px;line-height:1.6}.product-selection button,.product-selection input{font:inherit;border-radius:11px;min-height:48px}.product-selection button{cursor:pointer;color:#29251f;background:#fffefd;border:1px solid #ded8cf}.product-selection button:disabled{cursor:default;opacity:.5}.product-selection button:focus-visible,.product-selection input:focus-visible,.product-selection summary:focus-visible{outline-offset:3px;outline:3px solid #156e96}.product-selection-admin{flex-shrink:0;padding:10px 16px;font-size:13px!important}.product-selection-step{margin:0 0 12px;font-size:14px;line-height:1.4}.product-selection-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}.product-selection-card{text-align:left;flex-direction:column;padding:0;transition:border-color .12s,box-shadow .12s;display:flex;overflow:hidden;box-shadow:0 2px 6px #29251f05}.product-selection-card:hover:not(:disabled){background:#fffefd;border-color:#91836f}.product-selection-card.is-selected{border:2px solid #29251f;box-shadow:0 0 0 2px #29251f12}.product-selection-media{aspect-ratio:1.38;background:#f4f1eb;flex-direction:column;width:100%;display:flex;position:relative;overflow:hidden}.product-selection-media>img{object-fit:contain;width:100%;height:100%;padding:12px 12px 30px;display:block}.product-selection-media-caption{text-align:center;color:#756b5c;background:#faf8f2e8;padding:5px 10px;font-size:10px;line-height:1.35;position:absolute;bottom:0;left:0;right:0}.product-selection-placeholder{color:#887b67;flex-direction:column;justify-content:center;align-items:center;gap:0;width:100%;height:100%;padding:6px 12px 30px;display:flex}.product-selection-placeholder svg{flex:1;width:100%;max-width:220px;max-height:77%;display:block}.product-selection-placeholder>span{text-align:center;font-size:11px;line-height:1.4}.product-selection-card-copy{flex-direction:column;flex:1;gap:5px;width:100%;padding:17px 19px 16px;display:flex}.product-selection-card-copy>strong{font-size:21px;font-weight:650;line-height:1.25}.product-selection-card-copy>span:not(.product-selection-card-action){color:#756b5c;font-size:12px;line-height:1.5}.product-selection-card-action{justify-content:space-between;align-items:center;gap:10px;margin-top:9px;font-size:13px;font-weight:600;line-height:1.4;display:flex}.product-selection-card-action>span:last-child{font-size:20px;line-height:1}.product-selection-card.is-selected .product-selection-card-action{color:#156145}.product-selection-details{background:#fffefd;border:1px solid #ded8cf;border-radius:14px;margin-top:22px;padding:22px}.product-selection-details-heading{justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:16px;display:flex}.product-selection-details-heading h2{margin:0;font-size:18px;line-height:1.35}.product-selection-details-heading p{color:#756b5c;margin:0;font-size:13px}.product-selection-details-grid{grid-template-columns:minmax(0,1fr) minmax(180px,230px);gap:24px;display:grid}.product-selection-sizes{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px;display:grid}.product-selection-size{text-align:left;justify-content:space-between;align-items:center;gap:8px;padding:12px 13px;line-height:1.4;display:flex;font-size:13px!important}.product-selection-size.is-selected{background:#f4f1eb;border:2px solid #29251f;font-weight:600}.product-selection-size>span:last-child{color:#156145;flex-shrink:0}.product-selection-layout{color:#756b5c;gap:7px;margin:15px 0 0;font-size:11px;line-height:1.55;display:grid}.product-selection-layout>div{grid-template-columns:100px minmax(0,1fr);gap:10px;display:grid}.product-selection-layout dt,.product-selection-layout dd{margin:0}.product-selection-start{flex-direction:column;align-items:stretch;gap:10px;display:flex}.product-selection-start label{justify-content:space-between;align-items:center;gap:12px;font-size:13px;font-weight:600;display:flex}.product-selection-start input{color:#29251f;background:#fffefd;border:1px solid #ded8cf;width:85px;padding:9px 10px;font-weight:400}.product-selection .product-selection-primary{color:#fffefd;background:#29251f;border-color:#29251f;justify-content:space-between;align-items:center;gap:10px;padding:13px 15px;font-size:14px;font-weight:600;line-height:1.4;display:flex}.product-selection .product-selection-primary:hover:not(:disabled){color:#fffefd;background:#433a2e}.product-selection-hint,.product-selection-validation,.product-selection-empty{color:#756b5c;margin:12px 0 0;font-size:12px;line-height:1.6}.product-selection-start .product-selection-hint,.product-selection-validation{margin:0}.product-selection-validation{color:#9a3e25}.product-selection-works{border-top:1px solid #ded8cf;margin-top:26px;padding-top:16px}.product-selection-works>summary{cursor:pointer;min-height:48px;list-style:revert;align-items:center;gap:10px;padding:8px 0;font-size:13px;font-weight:600;display:flex}.product-selection-works>summary:before{content:"▸";color:#756b5c;font-size:13px}.product-selection-works[open]>summary:before{content:"▾"}.product-selection-works>summary>span{border:1px solid #ded8cf;border-radius:99px;justify-content:center;align-items:center;padding:2px 7px;font-size:11px;font-weight:400;display:inline-flex}.product-selection-works>div{overscroll-behavior:contain;max-height:360px;overflow:auto}.product-selection-works article{border-bottom:1px solid #eee8de;justify-content:space-between;align-items:center;gap:12px;padding:13px 0;display:flex}.product-selection-works article>div{flex-direction:column;flex:1;gap:5px;min-width:0;font-size:13px;line-height:1.4;display:flex}.product-selection-works article>div>span{color:#756b5c;font-size:11px}.product-selection-works article button{flex-shrink:0;align-items:center;gap:10px;max-width:50%;padding:10px 12px;font-size:12px;display:flex}@media (width<=650px){.product-selection{padding:20px 14px 28px}.product-selection-heading{flex-wrap:wrap;gap:12px;margin-bottom:22px}.product-selection-admin{min-height:48px;margin-left:auto;padding:7px 12px}.product-selection-eyebrow{margin-bottom:8px;font-size:10px}.product-selection h1{max-width:14em;font-size:27px}.product-selection-note{font-size:12px}.product-selection-cards{gap:10px}.product-selection-media{aspect-ratio:.96}.product-selection-media>img{padding:8px 8px 28px}.product-selection-media-caption{padding:5px 6px;font-size:9px}.product-selection-placeholder{padding:5px 6px 29px}.product-selection-placeholder>span{font-size:10px}.product-selection-card-copy{gap:4px;padding:12px 11px}.product-selection-card-copy>strong{font-size:17px;line-height:1.3}.product-selection-card-copy>span:not(.product-selection-card-action){font-size:11px}.product-selection-card-action{gap:5px;margin-top:6px;font-size:11px}.product-selection-details{margin-top:18px;padding:16px 13px}.product-selection-details-heading{display:block}.product-selection-details-heading h2{margin-bottom:4px;font-size:17px}.product-selection-details-grid{grid-template-columns:minmax(0,1fr);gap:18px}.product-selection-sizes{grid-template-columns:minmax(0,1fr)}.product-selection-layout>div{grid-template-columns:85px minmax(0,1fr);gap:8px}.product-selection-start{grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);align-items:start;gap:12px;display:grid}.product-selection-start label{flex-wrap:wrap;align-items:center;gap:8px;min-height:48px}.product-selection-start input{width:65px}.product-selection .product-selection-primary{min-height:48px;font-size:13px}.product-selection-start .product-selection-validation,.product-selection-start .product-selection-hint{grid-column:1/-1}.product-selection-works article{align-items:flex-start}.product-selection-works article button{gap:5px;padding:9px;font-size:11px}}.design-support-reference-fields{min-width:0;margin:8px 0}.design-support-reference-fields>div{margin:4px 0}.design-support-reference-fields dt{font-weight:600}.design-support-reference-fields dd{overflow-wrap:anywhere;margin:0}.design-support-reference-text{min-width:0;display:block}.design-support-reference-text textarea{box-sizing:border-box;width:100%;max-width:100%;min-height:96px;font:inherit;overflow-wrap:anywhere;white-space:pre-wrap;resize:vertical;margin:4px 0 8px;padding:8px;display:block}.design-support-reference button{white-space:normal;max-width:100%;min-height:44px}.customer-studio{--workflow-header-height:100px;--workflow-footer-height:0px;background:var(--studio-wash,#f5f4f0);min-height:100dvh}.customer-studio button{min-height:48px}.customer-studio.management-view{--workflow-header-height:64px;--workflow-footer-height:0px;padding-bottom:0}.customer-studio.management-view>.studio-workbench-help{display:none}.customer-studio .studio-workflow-section{flex:1;min-width:0;font-size:14px;font-weight:600}.customer-studio .studio-workflow-header{flex-wrap:initial;background:var(--studio-paper,#fffefd);border-bottom:1px solid var(--studio-line,#dedbd3);gap:0;padding:0;display:block}.customer-studio .studio-workflow-bar{align-items:center;gap:16px;min-height:64px;padding:8px 20px;display:flex}.customer-studio .studio-workflow-brand{letter-spacing:1px;white-space:nowrap;color:var(--studio-blue,#15758e);flex-shrink:0;align-items:center;gap:5px;font-size:18px;font-weight:800;display:inline-flex}.customer-studio .studio-workflow-brand>span{font-size:24px}.customer-studio .studio-workflow-steps{min-width:0;color:var(--studio-muted,#6d726f);flex:1;align-items:center;gap:12px;margin:0;padding:0;font-size:12px;list-style:none;display:flex}.customer-studio .studio-workflow-steps>li{align-items:center;gap:5px;min-width:0;line-height:1.3;display:flex}.customer-studio .studio-workflow-steps button{color:inherit;text-align:left;background:0 0;border:0;align-items:center;gap:5px;min-width:0;padding:4px 0;display:flex}.customer-studio .studio-workflow-step-number{border:1px solid var(--studio-line,#dedbd3);border-radius:50%;flex-shrink:0;place-items:center;width:22px;height:22px;font-size:11px;display:inline-grid}.customer-studio .studio-workflow-steps>[aria-current=step]{color:var(--studio-ink,#29251f);font-weight:700}.customer-studio .studio-workflow-steps>[aria-current=step]>.studio-workflow-step-number{background:var(--studio-ink,#29251f);border-color:var(--studio-ink,#29251f);color:var(--studio-paper,#fff)}.customer-studio .studio-workflow-menu{flex-wrap:wrap;align-items:center;gap:6px;min-width:0;font-size:12px;display:flex}.customer-studio .studio-workflow-menu nav{flex:none;gap:4px}.customer-studio .studio-workflow-menu button,.customer-studio .studio-workflow-menu select{font-size:12px}.customer-studio .studio-workflow-actions{flex-shrink:0;align-items:center;gap:8px;display:flex}.customer-studio .studio-workflow-actions>button{white-space:nowrap;margin:0;padding:8px 14px;font-size:13px}.customer-studio .studio-workflow-save{border-color:var(--studio-line,#dedbd3);background:0 0}.customer-studio .studio-workflow-complete{font-weight:650}.customer-studio .studio-workflow-context{border-top:1px solid var(--studio-line,#e8e5de);justify-content:space-between;align-items:center;gap:12px;min-height:36px;padding:5px 20px;font-size:12px;display:flex}.customer-studio .studio-workflow-product{align-items:center;gap:10px;min-width:0;margin:0;line-height:1.5;display:flex}.customer-studio .studio-workflow-product>strong,.customer-studio .studio-workflow-product>span:not(.studio-workflow-quantity){text-overflow:ellipsis;white-space:nowrap;min-width:0;max-width:420px;overflow:hidden}.customer-studio .studio-workflow-product>strong{font-weight:650}.customer-studio .studio-workflow-product>span{color:var(--studio-muted,#6d726f)}.customer-studio .studio-workflow-quantity{flex-shrink:0}.customer-studio .studio-workflow-status{color:var(--studio-muted,#6d726f);flex-shrink:0;margin:0;font-size:11px;line-height:1.5}.customer-studio .studio-workflow-status[data-dirty=true]{color:#825c1e}.customer-studio>.status{overflow-wrap:anywhere;min-height:0;padding:6px 20px;font-size:12px;line-height:1.5}.customer-studio .studio{max-width:none;min-height:calc(100dvh - var(--workflow-header-height));grid-template-columns:64px 228px minmax(0,1fr) 264px;align-items:stretch;gap:0;margin:0;padding:0;display:grid}.customer-studio .tool-rail,.customer-studio .tools,.customer-studio .inspector{max-height:calc(100dvh - var(--workflow-header-height));border-radius:0;overflow:auto}.customer-studio .tool-rail{padding:8px 5px}.customer-studio .tools,.customer-studio .inspector{min-width:0;padding:14px}.customer-studio .workspace{flex-direction:column;min-width:0;min-height:0;padding:12px 16px;display:flex}.customer-studio .canvas-toolbar{gap:6px;margin-bottom:8px}.customer-studio .canvas-area{flex:1;min-height:280px;padding:12px}.customer-studio .canvas-face-nav{gap:6px;max-width:440px;margin:0 auto 8px}.customer-studio .canvas-face-nav>button{min-height:48px;padding:5px 10px}.customer-studio .canvas-caption{padding:7px 0;font-size:11px;line-height:1.5}.customer-studio .configuration-strip{gap:8px;margin-bottom:8px}.customer-studio .studio-workbench-help{color:var(--studio-muted,#6d726f);margin:0;padding:0 16px;font-size:12px;line-height:1.6}.customer-studio .studio-workbench-help>summary{cursor:pointer;align-items:center;min-height:48px;display:flex}.customer-studio .studio-workbench-help[open]{padding-bottom:12px}.customer-studio button:focus-visible{outline:2px solid var(--studio-blue,#15758e);outline-offset:2px}@media (width>=1500px){.customer-studio .studio{grid-template-columns:68px 248px minmax(0,1fr) 280px}}@media (width>=651px) and (width<=1100px){.customer-studio .studio-workflow-bar{flex-wrap:wrap;gap:8px 16px}.customer-studio .studio-workflow-steps{min-width:280px}.customer-studio .studio-workflow-menu{margin-left:auto}.customer-studio .studio{grid-template-columns:60px 204px minmax(0,1fr)}.customer-studio .inspector{border-radius:0;grid-column:1/-1;max-height:none}}@media (width<=650px){.customer-studio{--workflow-header-height:132px;--workflow-footer-height:calc(66px + env(safe-area-inset-bottom));padding-bottom:var(--workflow-footer-height)}.customer-studio .studio-workflow-bar{grid-template-columns:auto minmax(0,1fr);gap:2px 8px;min-height:64px;padding:5px 12px;display:grid}.customer-studio .studio-workflow-brand{letter-spacing:.5px;font-size:15px}.customer-studio .studio-workflow-brand>span{font-size:20px}.customer-studio .studio-workflow-menu{grid-area:1/2;justify-content:flex-end;gap:4px;font-size:11px}.customer-studio .studio-workflow-menu button,.customer-studio .studio-workflow-menu select{padding:6px;font-size:11px}.customer-studio .studio-workflow-steps{grid-area:2/1/auto/-1;justify-content:center;gap:12px;min-width:0;min-height:32px;font-size:11px}.customer-studio .studio-workflow-steps button{min-height:48px}.customer-studio .studio-workflow-step-number{width:19px;height:19px;font-size:10px}.customer-studio .studio-workflow-context{align-items:center;gap:8px;min-height:36px;padding:6px 12px}.customer-studio .studio-workflow-product{flex-wrap:wrap;flex:1;gap:0 6px;font-size:11px;line-height:1.5}.customer-studio .studio-workflow-product>strong{flex-basis:100%;max-width:100%}.customer-studio .studio-workflow-product>span:not(.studio-workflow-quantity){max-width:calc(100% - 60px)}.customer-studio .studio-workflow-status{white-space:normal;text-align:right;max-width:100px;font-size:10px}.customer-studio .studio-workflow-actions{z-index:40;padding:8px 12px calc(8px + env(safe-area-inset-bottom));background:var(--studio-paper,#fffefd);border-top:1px solid var(--studio-line,#dedbd3);grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);gap:8px;display:grid;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -4px 18px #29251f12}.customer-studio .studio-workflow-actions>button{white-space:normal;width:100%;min-width:0;min-height:48px;padding:7px 10px;font-size:13px}.customer-studio .studio{flex-direction:column;gap:6px;min-height:0;padding:0 8px 12px;display:flex}.customer-studio .workspace{background:0 0;border:0;order:1;width:100%;padding:6px 0 0}.customer-studio .canvas-area{flex:none;min-height:0;padding:4px}.customer-studio .canvas-toolbar,.customer-studio .canvas-face-nav{margin-bottom:5px}.customer-studio .studio-quickbar{background:var(--studio-paper,#fffefd);border:1px solid var(--studio-line,#dedbd3);width:100%;box-shadow:none;border-radius:10px;order:2;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;padding:6px;display:grid;position:static;inset:auto}.customer-studio .studio-quickbar>button{min-width:0;min-height:48px;font-size:11px}.customer-studio .studio-quickbar .quickbar-sides{grid-column:1/-1;gap:5px}.customer-studio .tools{order:3}.customer-studio .tool-rail{display:none}.customer-studio .tools.mobile-open,.customer-studio .inspector.mobile-open{bottom:calc(var(--workflow-footer-height) + 8px);max-height:calc(100dvh - var(--workflow-footer-height) - 24px)}.customer-studio .tools,.customer-studio .inspector{max-height:none}.customer-studio .studio-workbench-help{padding:0 12px;font-size:11px}.customer-studio>.status{padding:6px 12px}}.customer-studio .studio-options{position:relative}.customer-studio .studio-options>summary{cursor:pointer;border:1px solid var(--studio-line);background:#fff;border-radius:8px;align-items:center;min-height:48px;padding:6px 10px;display:flex}.customer-studio .studio-options-panel{z-index:52;border:1px solid var(--studio-line);background:#fff;border-radius:12px;width:min(350px,100vw - 24px);padding:12px;position:absolute;top:100%;right:0;box-shadow:0 10px 36px #29251f2b}.customer-studio .studio-options-panel nav{flex-wrap:wrap;display:flex}.customer-studio .studio-options-panel>label{margin:12px 0}.customer-studio .canvas-area{flex:none;justify-content:center;align-items:center;height:calc(100dvh - 250px);min-height:280px;display:flex;position:relative}.customer-studio .editor-canvas-component{align-self:center}.customer-studio .canvas-empty-upload{z-index:3;background:#fffefdf0;flex-direction:column;align-items:center;gap:8px;width:min(78%,320px);min-height:92px;padding:16px;display:flex;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 2px 16px #29251f10}.customer-studio .canvas-empty-upload small{font-size:12px;font-weight:400;line-height:1.6}.customer-studio .canvas-checks{font-size:12px}.customer-studio .canvas-checks>summary{cursor:pointer;align-items:center;min-height:44px;display:flex}.customer-studio .canvas-caption{font-size:10px}.customer-product-start{min-height:100dvh}.product-start-account{background:#fff;justify-content:flex-end;align-items:center;gap:16px;padding:8px 24px;display:flex}.product-start-account>section{max-width:340px}.product-start-status{margin:8px 24px;font-size:13px}.flat-preview-actions{flex-wrap:wrap}.flat-preview-actions>button{white-space:normal;min-width:0}.flat-preview-actions>.flat-preview-completion-error{color:#a23e2f;flex-basis:100%;margin:0;font-size:13px;line-height:1.5}@media (width<=650px){.customer-studio .studio-workflow-menu>details{font-size:11px}.customer-studio .canvas-area{height:calc(100dvh - 320px);min-height:220px}.customer-studio .studio-quickbar{grid-template-columns:repeat(3,minmax(0,1fr))}.customer-studio .canvas-caption{display:none}.customer-studio .configuration-strip>label{font-size:10px}.customer-studio .canvas-toolbar input{min-height:38px;font-size:11px}.customer-studio .canvas-toolbar small{font-size:9px}.customer-studio .canvas-toolbar button{min-width:40px;padding:4px;font-size:11px}.customer-studio .canvas-empty-upload{min-height:76px;padding:10px;font-size:13px}.customer-studio .canvas-empty-upload small{font-size:10px}.customer-studio.app:has(.photo-upload-feedback)>.status{clip-path:none;white-space:normal;width:auto;height:auto;min-height:0;margin:0;padding:6px 12px;position:static;overflow:visible}.product-start-account{flex-wrap:wrap;gap:8px;padding:4px 12px}.product-start-account>label{font-size:11px!important}.product-start-account>section{max-width:190px;font-size:11px;padding:0!important}.flat-preview-actions>button{flex:1;font-size:12px;line-height:1.5}}.customer-studio .tool-rail,.customer-studio .canvas-area[data-fit-viewport=true]{min-height:0}.customer-studio>.status:empty,.customer-studio .mobile-tools-close{display:none}.customer-studio .studio-workflow-header{z-index:30;position:sticky;top:0}@media (width<=650px){.customer-studio .studio-workflow-bar{min-height:56px}.customer-studio .studio-workflow-steps,.customer-studio .configuration-strip>span{display:none}.customer-studio .studio-quickbar{left:0;right:0;bottom:var(--workflow-footer-height);z-index:41;border-radius:0;width:100%;position:fixed;box-shadow:0 -2px 10px #29251f08}.customer-studio .tools.mobile-open,.customer-studio .inspector.mobile-open{z-index:45;bottom:calc(var(--workflow-footer-height) + var(--studio-dock-height,66px) + 8px);max-height:calc(100dvh - var(--workflow-footer-height) - var(--studio-dock-height,66px) - 24px)}.customer-studio .tools .mobile-tools-close{z-index:1;background:var(--studio-paper);justify-content:space-between;align-items:center;width:100%;margin:0 0 10px;display:flex;position:sticky;top:0}.customer-studio .workspace{padding-bottom:var(--studio-dock-height,66px)}}.flat-preview-product{margin:0 0 10px;font-size:12px;line-height:1.5}.flat-preview-details{margin-top:8px;font-size:12px}.flat-preview-details>summary{cursor:pointer;align-items:center;gap:6px;min-height:36px;display:flex}.flat-preview-details>summary:before{content:"▸"}.flat-preview-details[open]>summary:before{content:"▾"}.flat-preview-details .flat-preview-context{margin:0 0 8px}.flat-preview .flat-preview-description{margin-bottom:10px;font-size:12px;line-height:1.45}.flat-preview .flat-preview-image{margin:8px 0}.customer-studio .canvas-toolbar{flex-wrap:wrap}.customer-studio .canvas-settings{z-index:20;flex:180px;min-width:0;position:relative}.customer-studio .canvas-settings>summary{cursor:pointer;border:1px solid var(--studio-line);background:var(--studio-paper);border-radius:8px;align-items:center;gap:8px;min-height:48px;padding:6px 10px;list-style:none;display:flex}.customer-studio .canvas-settings>summary::-webkit-details-marker{display:none}.customer-studio .canvas-settings>summary:focus-visible{outline:2px solid var(--studio-blue);outline-offset:2px}.customer-studio .canvas-settings-caption{color:var(--studio-muted);flex-shrink:0;font-size:11px}.customer-studio .canvas-settings-title{text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.customer-studio .canvas-settings-panel{background:var(--studio-paper);border:1px solid var(--studio-line);border-radius:12px;width:min(360px,100vw - 24px);max-height:min(520px,65dvh);padding:14px;position:absolute;top:calc(100% + 6px);left:0;overflow:auto;box-shadow:0 10px 30px #29251f26}.customer-studio .canvas-settings-heading{justify-content:space-between;align-items:center;gap:8px;margin-bottom:12px;font-size:13px;display:flex}.customer-studio .canvas-settings-heading button{min-height:44px;padding:4px 8px;font-size:11px}.customer-studio .canvas-settings-panel>label{width:100%;display:block;max-width:100%!important}.customer-studio .canvas-settings-panel input:not([type=checkbox]):not([type=color]){width:100%;min-height:44px}.customer-studio .canvas-settings-panel>label small{margin-top:5px;font-size:11px;display:block}.customer-studio .canvas-settings-panel .configuration-strip{gap:14px;margin:16px 0 0;font-size:12px;display:grid}.customer-studio .canvas-settings-panel .configuration-strip>span{font-size:12px;line-height:1.6;display:block}.customer-studio .canvas-settings-panel .configuration-strip label{align-items:center;gap:10px;min-height:44px;font-size:12px;display:flex}.customer-studio .canvas-settings-panel .configuration-strip input[type=checkbox]{flex:0 0 18px;width:18px;height:18px;min-height:18px;margin:0;padding:0}.customer-studio .canvas-settings-panel .configuration-strip input[type=color]{flex:0 0 88px;width:88px;min-height:44px;padding:4px;font-size:12px}.customer-studio .canvas-edit-actions{flex:1 0 100%;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;display:grid}.customer-studio .canvas-edit-actions>button{white-space:normal;min-width:48px;font-size:12px}.customer-studio .layer-row{align-items:stretch;gap:4px;min-width:0;display:flex}.customer-studio .layer-row>button:first-child{text-overflow:ellipsis;text-align:left;flex:1;min-width:0;overflow:hidden}.customer-studio .layer-delete{color:#8b3024;flex:0 0 48px;min-width:48px;margin:0}.product-finish-options h2{margin:0 0 12px;font-size:21px}.product-finish-options h3{font-size:16px}.product-finish-options p{font-size:13px;line-height:1.6}.product-finish-options label{margin:14px 0;font-size:13px;display:block}.product-finish-options input,.product-finish-options select{width:100%;min-height:48px;margin-top:6px;display:block}.product-finish-actions{flex-wrap:wrap;gap:8px;margin-top:20px;display:flex}.product-finish-actions>button{flex:1;min-height:48px;font-size:13px}@media (width<=650px){.customer-studio .canvas-edit-actions{flex-basis:100%;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;display:grid}.customer-studio .canvas-edit-actions>button{min-width:0;min-height:44px;padding:4px 2px;font-size:10px;line-height:1.3}.customer-studio .canvas-edit-actions>button>span{display:block}.customer-studio .canvas-toolbar>label{flex:1}.customer-studio .studio-workflow-product{flex-wrap:wrap;gap:2px 8px}.customer-studio .studio-workflow-product>span:not(.studio-workflow-quantity){max-width:100%;font-size:10px}.product-finish-options h2{font-size:18px}}.customer-studio .canvas-toolbar{flex-wrap:nowrap;align-items:stretch}.customer-studio .canvas-edit-actions{flex:0 520px;min-width:0}@media (width<=650px){.customer-studio .canvas-toolbar{gap:4px;margin-bottom:4px}.customer-studio .canvas-settings{flex:0 0 44px}.customer-studio .canvas-settings>summary{flex-direction:column;justify-content:center;gap:1px;min-height:44px;padding:2px;font-size:14px}.customer-studio .canvas-settings-caption{font-size:9px;line-height:1.2}.customer-studio .canvas-settings-title{display:none}.customer-studio .canvas-edit-actions{flex:1 1 0}.customer-studio .canvas-settings-panel{max-height:calc(100dvh - 240px)}.customer-studio .studio-workflow-context{min-height:30px;padding:3px 10px}.customer-studio .studio-workflow-product>strong{flex-basis:auto}.customer-studio .studio-workflow-product>span:not(.studio-workflow-quantity){display:none}.customer-studio .studio-workflow-bar{min-height:48px;padding:2px 10px}.customer-studio .studio-workflow-brand{font-size:14px}.customer-studio .studio-workflow-actions,.customer-studio .studio-quickbar{padding-top:4px;padding-bottom:4px}.customer-studio .studio-quickbar>button{min-height:44px}.customer-studio .studio-workflow-actions{padding-bottom:calc(4px + env(safe-area-inset-bottom))}}.customer-studio .studio-workflow-menu .product-saved-trigger{white-space:nowrap;min-height:44px;padding:4px 8px;font-size:12px}.product-saved-dialog{max-height:70dvh;padding:4px;overflow-y:auto}.product-saved-dialog h2{margin:0 0 12px;font-size:20px}.product-saved-dialog p{font-size:14px;line-height:1.5}.product-saved-dialog ul{margin:16px 0;padding:0;list-style:none}.product-saved-dialog li{border-bottom:1px solid #dde4ea;align-items:center;gap:12px;padding:12px 0;display:flex}.product-saved-dialog li>div{overflow-wrap:anywhere;flex:1;min-width:0}.product-saved-dialog small{margin-top:4px;display:block}.product-saved-dialog button{min-height:44px;font-size:13px}.design-support-reference{min-width:0;margin:8px 0;font-size:12px;line-height:1.5}.design-support-reference summary{cursor:pointer;text-underline-offset:3px;align-items:center;min-height:44px;text-decoration:underline;display:flex}.design-support-reference p{margin:4px 0;font-size:12px}.design-support-reference code{overflow-wrap:anywhere;-webkit-user-select:all;user-select:all;display:block}.workbench-preview{border:1px solid var(--studio-line);background:#f5f7fa;border-radius:10px;margin:0 0 14px;padding:10px}.workbench-preview-heading{justify-content:space-between;gap:8px;margin-bottom:6px;font-size:12px;display:flex}.workbench-preview-heading>span{color:var(--studio-muted)}.workbench-preview>button{justify-items:center;gap:5px;width:100%;display:grid;background:0 0!important;border:0!important;padding:5px!important}.workbench-preview img{object-fit:contain;width:100%;height:160px;display:block}.workbench-preview>button>span{color:var(--studio-muted);font-size:11px}.workbench-preview-placeholder{place-items:center;min-height:160px;display:grid}.workbench-preview-modes{grid-template-columns:1fr 1fr;gap:4px;margin-bottom:6px;display:grid}.workbench-preview .workbench-preview-modes button{min-height:36px;padding:5px;font-size:11px;line-height:1.3}.workbench-preview-modes button[aria-pressed=true]{background:var(--studio-ink,#29251f);color:#fff}.workbench-preview .workbench-preview-open figure{width:100%}.workbench-preview .workbench-preview-open figure img{height:100%}.workbench-preview-note,.workbench-preview-recovery p{color:var(--studio-muted);margin:6px 0;font-size:11px;line-height:1.45}.workbench-preview .workbench-preview-recovery button{min-height:36px;padding:5px;font-size:11px}.customer-studio .tool-rail button{overflow-wrap:normal;word-break:normal;-webkit-hyphens:none;hyphens:none}.customer-studio .product-preview-status{color:var(--studio-muted);margin:0;padding:6px 12px;font-size:12px;line-height:1.45}.customer-studio .product-preview-status[role=alert]{color:#923d2c}.customer-studio .studio-options-panel{overscroll-behavior:contain;max-height:calc(100dvh - 80px);overflow:auto}.mobile-panel-history{display:none}@media (width<=650px){.customer-studio.app>.status.photo-upload-status{overscroll-behavior:contain;clip-path:none;white-space:normal;width:auto;height:auto;min-height:0;max-height:84px;margin:0;padding:6px 12px;position:static;overflow:auto}.customer-studio .mobile-panel-history{z-index:2;background:var(--studio-paper,#fffefd);grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0 0 12px;padding:6px 0;display:grid;position:sticky;top:44px}.customer-studio .mobile-panel-history>button{min-height:44px;font-size:12px}.customer-studio .studio-options-panel{width:min(350px,100vw - 40px);max-height:max(96px,calc(100dvh - var(--workflow-footer-height) - var(--studio-dock-height,66px) - 80px))}.customer-studio .studio-workflow-menu .product-saved-trigger{padding:4px;font-size:10px}.product-saved-dialog li{flex-wrap:wrap}.product-saved-dialog li>div{flex-basis:100%}}.customer-studio .canvas-secondary-actions,.customer-studio .mobile-dock-action{display:none}.customer-studio .workspace{background:#f0f2f4}.customer-studio .canvas-area{background:#e8ecef;border-radius:4px}.customer-studio .canvas-edit-actions>button{box-shadow:none;background:0 0;border-color:#0000;border-radius:5px}.customer-studio .canvas-edit-actions>button:hover:not(:disabled){background:#fff;border-color:#cbd5dc}.customer-studio .canvas-edit-actions>button:focus-visible{outline-offset:1px;outline:2px solid #137e9d}.customer-studio .canvas-face-nav{background:#fff;border:1px solid #d9e0e5;border-radius:7px;gap:3px;padding:3px}.customer-studio .canvas-face-nav>button{box-shadow:none;border:0;border-radius:4px}.customer-studio .tools,.customer-studio .inspector{border-color:#d9e0e5}@media (width>=651px){.customer-studio .workspace{padding:8px 12px}.customer-studio .canvas-toolbar{border-bottom:1px solid #d9e0e5;padding-bottom:6px}.customer-studio .canvas-face-nav{max-width:360px}.customer-studio .tool-rail{background:#f8fafb}.customer-studio .tool-rail button{border:0;border-left:3px solid #0000;border-radius:0}.customer-studio .tool-rail button[aria-pressed=true]{background:#eaf5f9;border-left-color:#137e9d}}@media (width<=650px){.customer-studio .canvas-edit-actions{grid-template-columns:repeat(4,minmax(0,1fr))}.customer-studio .canvas-edit-actions>.canvas-clear-desktop{display:none}.customer-studio .canvas-secondary-actions{border-top:1px solid var(--studio-line);margin-top:16px;padding-top:12px;display:block}.customer-studio .canvas-secondary-actions>button{color:#8b3024;width:100%;min-height:44px}.customer-studio .studio{background:#f0f2f4}.customer-studio .canvas-face-nav>button{flex-direction:row;justify-content:center;align-items:center;gap:8px;min-height:44px;padding:4px 8px;display:flex}.customer-studio .canvas-face-nav>button small{font-size:10px;line-height:1.3}.customer-studio .studio-quickbar{box-shadow:none;border-color:#d9e0e5}.customer-studio .studio-quickbar>button{border-radius:6px}.customer-studio .studio-workflow-bar{gap:8px;min-height:48px;padding:2px 8px}.customer-studio .studio-workflow-context{gap:6px;min-height:26px;padding:2px 8px}.customer-studio .studio-workflow-product{flex-wrap:nowrap;flex:1;min-width:0}.customer-studio .studio-workflow-product>strong{max-width:100%;font-size:11px;line-height:1.5}.customer-studio .studio-workflow-product>.studio-workflow-quantity{display:none}.customer-studio .studio-workflow-status{text-overflow:ellipsis;white-space:nowrap;max-width:95px;font-size:10px;overflow:hidden}.customer-studio .status-saved-quiet{clip-path:inset(50%);white-space:nowrap;width:1px!important;height:1px!important;padding:0!important;position:absolute!important;overflow:hidden!important}.customer-studio .workspace{padding-top:0;position:relative}.customer-studio .canvas-toolbar{z-index:20;margin:0;position:absolute;top:4px;right:4px}.customer-studio .canvas-toolbar .canvas-edit-actions{display:none}.customer-studio .canvas-settings{flex:none;width:44px}.customer-studio .canvas-settings-panel{max-height:calc(100dvh - 190px);left:auto;right:0}.customer-studio .mobile-canvas-settings-slot .canvas-settings{width:100%;margin:4px 0 10px}.customer-studio .mobile-canvas-settings-slot .canvas-settings>summary{flex-direction:row;justify-content:flex-start;padding:5px 10px}.customer-studio .mobile-canvas-settings-slot .canvas-settings-title{font-size:11px;display:inline}.customer-studio .mobile-canvas-settings-slot .canvas-settings-panel{width:100%;max-height:35dvh;box-shadow:none;margin-top:6px;position:static}.customer-studio .studio-quickbar{grid-template-columns:repeat(6,minmax(0,1fr));gap:3px;padding:4px}.customer-studio .studio-quickbar>.mobile-dock-action{flex-direction:column;justify-content:center;align-items:center;display:flex}.customer-studio .studio-quickbar>button{overflow-wrap:anywhere;min-height:44px;padding:3px 1px;font-size:10px;line-height:1.2}.customer-studio .studio-workflow-actions{padding:4px 8px calc(4px + env(safe-area-inset-bottom));box-shadow:none;gap:6px}.customer-studio .studio-workflow-actions>button{min-height:44px;padding:5px 8px;font-size:12px}.customer-studio .tools.mobile-open,.customer-studio .inspector.mobile-open{overscroll-behavior:contain;border-radius:16px 16px 0 0;width:auto;max-height:55dvh;top:auto;left:8px;right:8px}dialog.modal:has(>.flat-preview){box-sizing:border-box;border-radius:0;height:100dvh;max-height:100dvh;margin:0;padding:12px;width:100%!important;max-width:none!important}.flat-preview{flex-direction:column;min-height:100%;display:flex}.flat-preview h2{margin:4px 0 10px;font-size:21px}.flat-preview .flat-preview-actions{padding:10px 0 max(10px,env(safe-area-inset-bottom));background:var(--studio-paper,#fffefd);z-index:2;margin-top:auto;position:sticky;bottom:-12px}.flat-preview .flat-preview-actions>button{min-height:48px}.flat-preview .flat-preview-choice{margin:6px 0 10px;padding:6px 8px;font-size:12px}.flat-preview .pillow-reference-modes>button{min-height:44px;padding:5px;font-size:12px;line-height:1.25}.flat-preview .pillow-reference-note{margin:6px 0;font-size:11px;line-height:1.4}.flat-preview .flat-preview-display>figure{width:100%;max-width:min(100%,max(120px,100dvh - 310px));margin-inline:auto!important}}.customer-studio .tablet-inspector-toggle{display:none}@media (width>=651px) and (width<=1100px){.customer-studio .tablet-inspector-toggle{white-space:nowrap;flex:none;min-width:64px;display:block}.customer-studio .inspector{z-index:50;background:var(--studio-paper,#fffefd);border:1px solid var(--studio-line,#dedbd3);overscroll-behavior:contain;border-radius:12px;grid-column:auto;width:min(340px,100vw - 24px);max-height:calc(100dvh - 24px);display:none;position:fixed;inset:12px 12px 12px auto;overflow:auto;box-shadow:0 12px 48px #29251f38}.customer-studio .inspector.mobile-open{display:block}.customer-studio .inspector .inspector-close{z-index:2;background:var(--studio-paper,#fffefd);margin-left:auto;display:block;position:sticky;top:0}.customer-studio .inspector .mobile-panel-history{gap:8px;margin:8px 0;display:flex}}@media (width>=651px) and (width<=850px){.customer-studio .canvas-toolbar{flex-wrap:wrap}.customer-studio .canvas-settings{flex:calc(100% - 80px)}.customer-studio .tablet-inspector-toggle{order:1}.customer-studio .canvas-edit-actions{flex:1 0 100%;order:2}}:root{color:#25354a;font-synthesis:none;background:#f5f4f0;font-family:Arial,Microsoft YaHei,sans-serif}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{cursor:pointer;color:#25354a;background:#fff;border:1px solid #dde3e8;border-radius:10px;min-height:44px;padding:9px 14px}button:hover{background:#f0f5ff;border-color:#5473ac}button:disabled{opacity:.5;cursor:wait}input{border:1px solid #d8dfe6;border-radius:8px;min-width:0;padding:10px}button.active,.primary{color:#fff;background:#224f86;border-color:#224f86}.primary{min-width:122px}header{background:#fff;border-bottom:1px solid #e3e8ed;align-items:center;gap:28px;padding:18px 30px;display:flex}.brand{letter-spacing:1px;color:#214c80;white-space:nowrap;font-size:23px;font-weight:800;text-decoration:none}.brand small{letter-spacing:2px;margin-top:5px;font-size:10px;font-weight:400;display:block}nav{flex:1;gap:8px;display:flex}nav button{border:0}.dev-banner{color:#79613c;background:#fff2d8;padding:9px 30px;font-size:12px}.status{color:#52708c;min-height:38px;padding:10px 30px;font-size:13px}.studio{grid-template-columns:230px minmax(300px,1fr) 260px;align-items:start;gap:18px;padding:0 22px 22px;display:grid}.tools,.inspector{background:#fff;border:1px solid #e3e7eb;border-radius:16px;max-height:calc(100vh - 162px);padding:18px;overflow:auto}h2{margin:8px 0 16px;font-size:15px}h2 small{color:#8b9aae;font-weight:400}.tools>button,.inspector>button{width:100%;margin-bottom:10px}.tool-grid{grid-template-columns:1fr 1fr;gap:8px;margin-bottom:10px;display:grid}.tool-grid button{padding:8px;font-size:12px}.muted,.empty{color:#8290a0;font-size:12px;line-height:1.8}.templates{gap:12px;margin-bottom:24px;display:grid}.template{text-align:left;padding:8px}.template span{color:#244f77;border-radius:7px;flex-direction:column;justify-content:center;align-items:center;min-height:95px;font-size:27px;display:flex}.template b{margin-top:10px;font-size:14px}.template small{color:#77889b;margin-top:8px;font-size:11px;display:block}.canvas-toolbar{justify-content:space-between;gap:10px;margin-bottom:12px;display:flex}.canvas-toolbar input{background:#fff;width:52%}.canvas-toolbar>div{gap:6px;display:flex}.canvas-toolbar button{padding:8px 12px}.canvas-area{background:#e9edf0;border-radius:16px;justify-content:center;align-items:center;min-height:600px;padding:24px;display:flex}.canvas-caption{text-align:center;color:#8897a7;padding:15px;font-size:11px}.inspector label,.draw-options label{flex-direction:column;gap:8px;margin-bottom:14px;font-size:12px;display:flex}.inspector input[type=color]{width:100%;height:42px;padding:5px}.layers{gap:6px;display:grid}.layers button{text-align:left;justify-content:space-between;padding:10px;font-size:12px;display:flex}.layers small{font-size:10px}.works{max-width:1000px;margin:auto;padding:30px}.works article{background:#fff;border:1px solid #dde4eb;border-radius:15px;min-width:230px;margin:12px;padding:24px;display:inline-block}.modal-backdrop{z-index:20;background:#172d4666;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.modal{background:#fff;border-radius:18px;max-width:550px;max-height:90vh;padding:25px;overflow:auto}.modal img{max-width:100%;max-height:60vh;margin:15px auto;display:block}.modal button{margin:5px}.conflict{background:#fff1d8;padding:15px}.conflict button{margin-left:10px}.loading{text-align:center;padding:80px}@media (width>=1500px){.studio{grid-template-columns:260px minmax(500px,1fr) 290px;max-width:1700px;margin:auto}.canvas-area{min-height:740px}}@media (width<=1000px){header{gap:12px;padding:14px}.brand{font-size:17px}.studio{grid-template-columns:180px minmax(250px,1fr);gap:12px;padding:0 12px 20px}.inspector{grid-column:1/-1;max-height:none}.layers{grid-template-columns:repeat(3,1fr)}.canvas-area{min-height:450px;padding:14px}}@media (width<=650px){header{flex-wrap:wrap}.brand{flex:1}.brand small{letter-spacing:1px}header nav{flex-basis:100%;order:3}nav button{flex:1;min-height:48px}.dev-banner,.status{padding:10px 14px}.studio{flex-direction:column;display:flex}.tools,.inspector,.workspace{width:100%;max-height:none}.tools{padding:12px}.templates{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-bottom:10px}.template span{min-height:72px}.template b{font-size:11px}.template small{display:none}.tools .muted{margin:8px 0}.canvas-toolbar input{width:45%}.canvas-toolbar button{padding:8px}.canvas-area{min-height:360px;padding:12px}.layers{grid-template-columns:1fr 1fr}.tool-grid button,button{min-height:48px}.modal{width:100%}.works{padding:15px}.works article{margin:10px 0;display:block}.canvas-caption{font-size:10px}}.upload-input{width:100%;margin-bottom:12px;padding:7px;font-size:11px}.template-toggle{display:none}.template-heading{margin-top:24px}@media (width<=650px){.tools h2:first-child,.tools>button:first-of-type,.template-heading,.template-description{display:none}.tools .template-toggle{margin:0;display:block}.templates.collapsed{display:none}.templates.expanded{margin-top:10px}.tools .upload-input{min-height:42px;margin-bottom:8px}.tools>p:last-child{display:none}.tools .tool-grid,.tools>button{margin-bottom:8px}.canvas-area{margin-top:0}}select{font:inherit;background:#fff;border:1px solid #d8dfe6;border-radius:8px;max-width:100%;padding:10px}.configuration-strip{color:#64788f;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin:0 0 12px;font-size:11px;display:flex}.configuration-strip label{align-items:center;gap:6px;display:flex}.configuration-strip input[type=color]{width:34px;height:28px;padding:2px}.inspector .tool-grid input{width:100%}@media (width<=650px){.configuration-strip{gap:6px;font-size:10px}.inspector select{min-height:48px}}.material-library{margin-top:24px}.material-library label{margin:12px 0;font-size:12px;display:block}.material-library input,.material-library select{box-sizing:border-box;width:100%;margin-top:6px}.material-items{gap:8px;max-height:340px;display:grid;overflow:auto}.material-items button{text-align:left;gap:6px;display:grid}.material-items span{max-height:65px;font-size:18px;overflow:hidden}.material-items img{object-fit:contain;width:100%;height:85px}.material-items small{color:#777;font-size:11px}.material-items .shape-sample{width:70px;height:35px}.photo-tools{border-top:1px solid #eee;margin-top:18px;padding-top:14px}.photo-tools input[type=file]{width:100%;font-size:12px}.photo-tools .tool-grid{margin:12px 0}.photo-tools label{font-size:12px}.crop-help{color:#777;font-size:12px}.upload-input-hidden{clip:rect(0,0,0,0);white-space:nowrap;clip-path:inset(50%);border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.studio-quickbar{display:none}.quickbar-sides{gap:4px;display:flex}.quickbar-sides button[aria-pressed=true]{color:#fff;background:#224f86;border-color:#224f86}@media (width<=650px){.studio-quickbar{background:#fff;border:1px solid #e3e7eb;border-radius:12px;flex-wrap:wrap;align-items:center;gap:8px;width:100%;padding:8px;display:flex}.studio-quickbar>button{flex:1;min-width:120px}.studio-quickbar .quickbar-sides{order:3;width:100%}.quickbar-sides button{flex:1}.tools:not(.mobile-open){display:none}.tools.mobile-open{display:block}.canvas-toolbar{align-items:stretch}.canvas-toolbar>div{flex-shrink:0}.canvas-area{border-radius:12px;min-height:0;padding:10px}.workspace{min-width:0}header{grid-template-columns:minmax(0,1fr) auto;gap:6px 8px;padding:8px 12px;display:grid}header .brand{grid-area:1/1;min-width:0;font-size:17px}header .brand small{margin-top:1px;font-size:9px}header>.primary{grid-area:1/2;min-width:0;min-height:42px;padding:7px 10px;font-size:12px}header nav{order:initial;flex-basis:auto;grid-area:2/1;gap:2px;min-width:0}header nav button{white-space:normal;min-height:42px;padding:4px 5px;font-size:11px}header>label{grid-area:2/2;min-width:0;font-size:0!important}header>label select{width:96px;padding:5px;min-height:42px!important;font-size:11px!important}}.inspector-close{display:none}@media (width<=650px){header>.primary{display:none}.studio-quickbar{z-index:10;position:sticky;top:0;box-shadow:0 4px 18px #172d461a}.studio-quickbar>button{flex:calc(50% - 6px);min-width:0}.studio-quickbar .quickbar-sides{order:0;width:100%}.inspector:not(.mobile-open){display:none}.inspector.mobile-open{z-index:15;width:auto;max-height:min(72dvh,680px);padding-bottom:calc(18px + env(safe-area-inset-bottom));border-radius:20px 20px 0 0;display:block;position:fixed;bottom:0;left:0;right:0;overflow:auto;box-shadow:0 -16px 50px #172d4655}.inspector-close{z-index:1;background:#fff;display:block;position:sticky;top:0;width:auto!important;margin-left:auto!important}}.studio{grid-template-columns:62px 210px minmax(300px,1fr) 250px;gap:12px;padding:0 14px 22px}.tool-rail{background:#fff;border:1px solid #e3e7eb;border-radius:14px;flex-direction:column;align-self:start;gap:8px;padding:8px;display:flex;position:sticky;top:12px}.tool-rail button{overflow-wrap:anywhere;min-height:62px;padding:7px 3px;font-size:11px;line-height:1.25}.tool-rail button:before{margin-bottom:4px;font-size:19px;line-height:1;display:block}.tool-rail button:first-child:before{content:"＋"}.tool-rail button:nth-child(2):before{content:"▣"}.tool-rail button:nth-child(3):before{content:"✿"}.tool-rail button:nth-child(4):before{content:"▤"}.tool-rail button[aria-pressed=true],.tool-tabs-mobile button[aria-pressed=true]{color:#fff;background:#224f86;border-color:#224f86}.tool-tabs-mobile{display:none}.tools{min-width:0}@media (width>=1500px){.studio{grid-template-columns:68px 230px minmax(500px,1fr) 280px;max-width:1840px;margin:auto}}@media (width<=1000px){.studio{grid-template-columns:60px 180px minmax(250px,1fr);gap:10px;padding:0 10px 20px}.inspector{grid-column:1/-1}}@media (width<=650px){.studio{flex-direction:column;padding:0 10px 20px;display:flex}.tool-rail{display:none}.tool-tabs-mobile{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-bottom:10px;display:grid}.tool-tabs-mobile button{min-height:44px;padding:5px;font-size:12px}.tools .template-heading{margin-top:8px;display:block}}.template-toggle{width:100%;margin:8px 0 12px;display:block}.templates.collapsed{display:none}.templates.expanded{display:grid}@media (width<=650px){.studio{padding:0 8px calc(76px + env(safe-area-inset-bottom));gap:8px}.workspace{order:1;width:100%}.studio-quickbar{z-index:16;width:100%;padding:7px 8px calc(7px + env(safe-area-inset-bottom));border-radius:14px 14px 0 0;order:2;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;display:grid;position:fixed;inset:auto 0 0;box-shadow:0 -8px 28px #172d4626}.studio-quickbar>button{overflow-wrap:anywhere;min-width:0;min-height:48px;padding:5px 3px;font-size:11px;line-height:1.2}.studio-quickbar .quickbar-sides{order:5;grid-column:1/-1;width:100%}.tools{order:3}.tools.mobile-open{left:8px;right:8px;bottom:calc(66px + env(safe-area-inset-bottom));z-index:15;width:auto;max-height:min(67dvh,640px);display:block;position:fixed;overflow:auto;box-shadow:0 -12px 38px #172d4633}.canvas-toolbar{gap:5px;margin-bottom:6px}.canvas-toolbar input{width:100%;min-width:0}.canvas-toolbar>div{gap:3px}.canvas-toolbar button{min-width:44px;padding:5px}.configuration-strip{margin-bottom:5px}.canvas-area{padding:5px}.canvas-caption{padding:6px}}:root{--studio-paper:#fffefd;--studio-ink:#29251f;--studio-muted:#746d62;--studio-line:#e7e0d5;--studio-wash:#f5f2eb;--studio-blue:#147ba5;--studio-blue-wash:#e9f5fa;--studio-yellow:#ffcf66;color:var(--studio-ink);background:var(--studio-wash);font-family:Inter,Arial,Microsoft YaHei,sans-serif}body{background:var(--studio-wash)}button,input,select{color:var(--studio-ink)}button{border-color:var(--studio-line);background:var(--studio-paper);border-radius:10px}button:hover{border-color:var(--studio-blue);background:var(--studio-blue-wash)}button.active,.primary{background:var(--studio-ink);border-color:var(--studio-ink);color:#fff9ee}button.active:hover,.primary:hover{background:#484138;border-color:#484138}header{border-bottom-color:var(--studio-line);background:var(--studio-paper);gap:18px;padding:14px 22px}.brand{color:var(--studio-blue);font-size:21px}.brand small{color:var(--studio-muted);letter-spacing:1px}header nav button{border-radius:8px}.dev-banner{color:#69573c;background:#fff0cb;padding:8px 22px}.status{color:var(--studio-muted);min-height:34px;padding:8px 22px}.studio{grid-template-columns:68px 218px minmax(360px,1fr) 264px;align-items:stretch;gap:0;max-width:1850px;margin:0 auto;padding:0 14px 22px}.tool-rail,.tools,.inspector{background:var(--studio-paper);border:1px solid var(--studio-line);border-radius:0;max-height:calc(100dvh - 154px)}.tool-rail{border-radius:15px 0 0 15px;gap:7px;min-height:620px;padding:12px 6px;position:sticky;top:0}.tool-rail button{min-height:65px;color:var(--studio-muted);background:0 0;border:0;border-radius:9px}.tool-rail button[aria-pressed=true]{background:var(--studio-blue-wash);color:var(--studio-blue)}.tools{border-left:0;border-right:0;padding:18px 14px}.tools h2,.inspector h2{color:var(--studio-ink);font-size:14px}.tools .muted,.inspector .muted,.empty{color:var(--studio-muted)}.workspace{background:var(--studio-wash);border-top:1px solid var(--studio-line);border-bottom:1px solid var(--studio-line);min-width:0;padding:18px 20px}.canvas-toolbar{align-items:center;margin-bottom:12px}.canvas-toolbar input{background:var(--studio-paper)}.canvas-area{background:#eceae5;border-radius:13px;min-height:580px;padding:20px}.canvas-caption,.configuration-strip{color:var(--studio-muted)}.inspector{border-radius:0 15px 15px 0;padding:18px 14px}.template{border:1px solid var(--studio-line);background:var(--studio-paper);border-radius:11px;margin:0}.template:hover,.template:focus-visible{border-color:var(--studio-blue);background:var(--studio-blue-wash)}.template span{border:1px solid var(--studio-line);background:var(--studio-wash);min-height:72px}.template small{color:var(--studio-muted)}.layers button[aria-pressed=true]{background:var(--studio-blue-wash);border-color:var(--studio-blue);color:var(--studio-ink)}.quickbar-sides button[aria-pressed=true]{background:var(--studio-ink);border-color:var(--studio-ink)}.canvas-face-nav{min-width:0}.canvas-face-nav>button{white-space:normal;overflow-wrap:anywhere;flex-direction:column;justify-content:center;align-items:center;gap:3px;min-width:0;min-height:54px;padding:8px 10px;display:flex}.canvas-face-title{justify-content:center;align-items:center;gap:5px;max-width:100%;font-weight:600;display:flex}.canvas-face-current{min-width:1em;font-weight:700}.canvas-face-nav small{font-size:11px;font-weight:400;line-height:1.4}.canvas-face-nav>button[aria-pressed=true]{background:var(--studio-ink,#25354a);border-color:var(--studio-ink,#25354a);color:var(--studio-paper,#fff)}.canvas-face-nav>button:focus-visible{outline:2px solid var(--studio-blue,#224f86);outline-offset:2px}@media (width>=1500px){.studio{grid-template-columns:72px 240px minmax(520px,1fr) 285px;max-width:1850px}.canvas-area{min-height:700px}}@media (width<=1100px) and (width>=651px){.studio{grid-template-columns:64px 190px minmax(300px,1fr);gap:0}.inspector{border:1px solid var(--studio-line);border-radius:0 0 15px 15px;grid-column:1/-1;max-height:none}.tool-rail{border-radius:15px 0 0}.workspace{border-right:1px solid var(--studio-line)}}@media (width<=650px){header,.dev-banner,.status{padding:8px 12px}.studio{padding:0 8px calc(76px + env(safe-area-inset-bottom));gap:8px;display:flex}.workspace{background:0 0;border:0;order:1;width:100%;padding:0}.canvas-area{background:#eceae5;min-height:0;padding:5px}.studio-quickbar{background:var(--studio-paper);border-color:var(--studio-line)}.tools.mobile-open{border:1px solid var(--studio-line);border-radius:15px;order:3;max-height:min(67dvh,640px);display:block}.inspector.mobile-open{border:1px solid var(--studio-line);border-radius:20px 20px 0 0}.app{--studio-dock-height:calc(64px + env(safe-area-inset-bottom))}.app:has(.photo-upload-feedback)>.status{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;min-height:0;margin:-1px;padding:0;position:absolute;overflow:hidden}.studio-quickbar>.photo-upload-feedback{color:var(--studio-muted);overflow-wrap:anywhere;overscroll-behavior:contain;grid-column:1/-1;max-height:30dvh;margin:0;padding:4px 5px;font-size:12px;line-height:1.5;overflow:auto}.studio{padding-bottom:calc(var(--studio-dock-height) + 12px)}.tools.mobile-open{bottom:calc(var(--studio-dock-height) + 8px);max-height:min(67dvh,calc(100dvh - var(--studio-dock-height) - 24px),640px)}.inspector.mobile-open{bottom:calc(var(--studio-dock-height) + 8px);max-height:min(72dvh,calc(100dvh - var(--studio-dock-height) - 24px),680px)}}
