@font-face{font-family:UINunito;src:url(/fonts/Nunito-SemiBold.ttf)format("truetype");font-weight:400 600}@font-face{font-family:UINunito;src:url(/fonts/Nunito-ExtraBold.ttf)format("truetype");font-weight:700 900}:root{--bg:#f6f0ea;--panel:#fffdfb;--panel-2:#fbf6f1;--ink:#2f2521;--muted:#8c7c73;--line:#ece1d7;--accent:#d9480f;--accent-ink:#fff;--accent-soft:#fdebe0;--ok:#2f9e44;--danger:#c92a2a;--radius:12px;--shadow:0 1px 2px #3c23140f, 0 6px 24px #3c23140f;color:var(--ink);background:var(--bg);font-family:UINunito,ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif;font-size:14px}*{box-sizing:border-box}html,body,#root{height:100%;margin:0}button{font:inherit;color:inherit;cursor:pointer}button:disabled{opacity:.4;cursor:default}.app{flex-direction:column;height:100%;display:flex}.topbar{background:var(--panel);border-bottom:1px solid var(--line);flex:none;align-items:center;gap:16px;height:60px;padding:0 16px;display:flex}.brand{align-items:center;gap:10px;min-width:230px;display:flex}.brand .logo{font-size:26px}.brand strong{letter-spacing:-.01em;font-size:16px;font-weight:800;display:block}.brand.stacked{flex-direction:column;gap:3px;min-width:0}.brand.stacked .logo{height:26px}.brand.stacked strong{letter-spacing:.01em;font-size:11px;line-height:1}.topbar-mid{flex:1;justify-content:center;align-items:center;gap:6px;display:flex}.topbar-actions{gap:8px;display:flex}.sep{background:var(--line);width:1px;height:24px;margin:0 6px}.btn{border:1px solid var(--line);background:var(--panel);white-space:nowrap;border-radius:9px;align-items:center;gap:6px;height:34px;padding:0 12px;font-size:13px;font-weight:700;display:inline-flex}.btn:hover:not(:disabled){background:var(--panel-2);border-color:#dccbbd}.btn.primary{background:var(--accent);color:var(--accent-ink);border-color:var(--accent)}.btn.primary:hover{background:#c2410c}.btn.ghost{background:0 0}.btn.ghost.active{background:var(--accent-soft);color:#a33a0b;border-color:#f6c9b0}.btn.small{height:28px;padding:0 9px;font-size:12px}.icon-btn{background:0 0;border:1px solid #0000;border-radius:9px;place-items:center;width:34px;height:34px;display:inline-grid}.icon-btn:hover:not(:disabled){background:var(--panel-2);border-color:var(--line)}.icon-btn.danger:hover:not(:disabled){color:var(--danger)}.icon-btn.tiny{border-radius:6px;width:24px;height:24px}.segmented{background:var(--panel-2);border:1px solid var(--line);border-radius:10px;gap:2px;width:100%;padding:3px;display:inline-flex}.segmented.compact{width:auto}.segmented button{color:var(--muted);white-space:nowrap;background:0 0;border:0;border-radius:7px;flex:1;padding:5px 10px;font-size:12.5px;font-weight:700}.segmented button.on{background:var(--panel);color:var(--ink);box-shadow:0 1px 3px #3c23141f}.workspace{flex:1;grid-template-columns:250px minmax(0,1fr) 340px;min-height:0;display:grid}.left{border-right:1px solid var(--line);background:var(--panel);flex-direction:column;min-height:0;display:flex}.right{border-left:1px solid var(--line);background:var(--panel);flex-direction:column;min-height:0;display:flex}.stage{background:radial-gradient(at 50% 35%,#fffaf5 0%,#f3e8de 70%,#eadbcd 100%);min-width:0;position:relative}.stage canvas{touch-action:none}.panel-title{text-align:left;text-transform:uppercase;letter-spacing:.06em;width:100%;color:var(--muted);background:0 0;border:0;align-items:center;gap:6px;margin:0;padding:14px 14px 8px;font-size:12px;font-weight:800;display:flex}.panel-title:hover{color:var(--ink)}.panel-title svg:last-child{margin-left:auto;transition:transform .15s}.panel-title[aria-expanded=false] svg:last-child{transform:rotate(-90deg)}.samples{border-bottom:1px solid var(--line);flex-direction:column;flex:0 auto;min-height:0;max-height:52%;display:flex}.sample-list{flex-direction:column;gap:4px;padding:0 8px 10px;display:flex;overflow:auto}.sample{text-align:left;background:0 0;border:1px solid #0000;border-radius:10px;align-items:center;gap:10px;padding:6px;display:flex}.sample:hover{background:var(--panel-2)}.sample.on{background:var(--accent-soft);border-color:#f6c9b0}.sample img{object-fit:cover;background:#eee;border-radius:8px;flex:none;width:44px;height:44px}.sample strong{font-size:13px;line-height:1.25;display:block}.sample small{color:var(--muted);font-size:11.5px}.left:has(.layers.collapsed) .samples{max-height:none}.sample-search{border:1px solid var(--line);background:var(--panel);height:34px;color:var(--muted);border-radius:9px;flex:none;align-items:center;gap:6px;margin:0 8px 8px;padding:0 10px;display:flex}.sample-search:focus-within{border-color:#eab296;outline:2px solid #f6c9b0}.sample-search input{appearance:none;min-width:0;font:inherit;color:var(--ink);background:0 0;border:0;outline:0;flex:1}.sample-empty{padding:4px 16px 12px}.layers{flex-direction:column;flex:1;min-height:0;display:flex}.layers.collapsed{flex:none}.layer-list{padding:0 8px 12px;overflow:auto}.layer{cursor:pointer;border-radius:8px;align-items:center;gap:8px;padding:5px 6px;display:flex}.layer:hover{background:var(--panel-2)}.layer.on{background:var(--accent-soft)}.layer-icon{text-align:center;width:24px;font-size:16px}.layer-text{flex:1;min-width:0}.layer-text strong{white-space:nowrap;text-overflow:ellipsis;font-size:12.5px;font-weight:700;display:block;overflow:hidden}.layer-text small{color:var(--muted);font-size:11px}.layer .icon-btn{opacity:0}.layer:hover .icon-btn{opacity:1}.tabs{border-bottom:1px solid var(--line);gap:4px;padding:10px 10px 0;display:flex}.tabs button{white-space:nowrap;color:var(--muted);background:0 0;border:0;border-bottom:2px solid #0000;flex:1;justify-content:center;align-items:center;gap:5px;padding:9px 4px 11px;font-size:12.5px;font-weight:800;display:inline-flex}.tabs button.on{color:var(--ink);border-bottom-color:var(--accent)}.right-body{flex:1;overflow:auto}.inspector{padding:6px 0 24px}.spec-head{padding:12px 16px 6px}.spec-head h2{letter-spacing:-.01em;margin:0 0 4px;font-size:18px;font-weight:800}.spec-head p{color:var(--muted);margin:0 0 10px;font-size:13px;line-height:1.45}.chips{flex-wrap:wrap;gap:5px;display:flex}.chip{background:var(--panel-2);border:1px solid var(--line);color:#6b5a50;border-radius:99px;padding:3px 8px;font-size:11.5px}.decor-head{align-items:center;gap:8px;padding:12px 12px 8px 16px;display:flex}.decor-icon{font-size:26px}.decor-title{flex:1;min-width:0}.decor-title .text-input{background:0 0;border-color:#0000;margin-left:-4px;padding:2px 4px;font-size:15px;font-weight:800}.decor-title .text-input:hover{border-color:var(--line)}.decor-title small{color:var(--muted);font-size:11.5px;display:block}.section{border-top:1px solid var(--line);padding:12px 16px}.section.on{background:#fdf3ec;transition:background .15s,box-shadow .15s;box-shadow:inset 0 0 0 2px #f6c9b0}.section-head{justify-content:space-between;align-items:center;margin-bottom:10px;display:flex}.section-head h3{text-transform:uppercase;letter-spacing:.06em;color:var(--muted);margin:0;font-size:12px;font-weight:800}.section-body{flex-direction:column;gap:10px;display:flex}.field{flex-direction:column;gap:5px;display:flex}.field-label{font-size:12.5px;font-weight:700}.field-label em{color:var(--muted);margin-left:6px;font-style:normal;font-weight:600}.select,.text-input{border:1px solid var(--line);background:var(--panel);width:100%;height:34px;font:inherit;color:inherit;border-radius:9px;padding:0 10px}textarea.text-input{resize:vertical;height:auto;padding:8px 10px}.select:focus,.text-input:focus{border-color:#eab296;outline:2px solid #f6c9b0}.slider-top{justify-content:space-between;font-size:12.5px;font-weight:700;display:flex}.slider-top output{color:var(--muted);font-variant-numeric:tabular-nums;font-weight:600}.slider input{width:100%;accent-color:var(--accent)}.color-grid{grid-template-columns:1fr 1fr;gap:6px;display:grid}.color-input{border:1px solid var(--line);cursor:pointer;border-radius:9px;align-items:center;gap:7px;min-width:0;padding:4px 6px;display:flex}.color-input input{cursor:pointer;background:0 0;border:0;border-radius:6px;flex:none;width:24px;height:24px;padding:0}.color-input input::-webkit-color-swatch-wrapper{padding:0}.color-input input::-webkit-color-swatch{border:1px solid #0000001f;border-radius:6px}.color-input span{white-space:nowrap;text-overflow:ellipsis;flex:1;font-size:12px;font-weight:700;overflow:hidden}.color-input code{display:none}.row{flex-wrap:wrap;gap:6px;display:flex}.hint{color:var(--muted);margin:0;font-size:12px;line-height:1.45}.tier-card{border:1px solid var(--line);border-radius:var(--radius);background:var(--panel-2);flex-direction:column;gap:9px;padding:10px;scroll-margin:12px;transition:border-color .15s,box-shadow .15s;display:flex}.tier-card.on{border-color:#eab296;box-shadow:0 0 0 2px #f6c9b0}.tier-head{justify-content:space-between;align-items:center;display:flex}.tier-head strong{font-size:13px}.badge{color:#6b5a50;background:#f1ebe5;border-radius:8px;align-self:flex-start;align-items:center;gap:6px;padding:5px 9px;font-size:12px;font-weight:700;display:inline-flex}.badge.status-ready{color:var(--ok);background:#e6f6ea}.source-row{flex-direction:column;gap:6px;display:flex}.source-row small{color:var(--muted);font-size:11.5px}.crop-preview{border:1px solid var(--line);background-color:#eee;background-repeat:no-repeat;border-radius:10px}.pattern-modes{grid-template-columns:repeat(3,1fr);gap:6px;display:grid}.pattern-modes button{border:1px solid var(--line);background:var(--panel);color:#5f5049;border-radius:10px;flex-direction:column;align-items:center;gap:4px;padding:9px 4px 8px;font-size:12px;font-weight:700;display:flex}.pattern-modes button:hover:not(:disabled){background:var(--accent-soft);border-color:#eab296}.pattern-modes button.on{border-color:var(--accent);background:var(--accent-soft);color:#a33a0b;box-shadow:inset 0 0 0 1px var(--accent)}.alt-colors{flex-direction:column;gap:6px;display:flex}.count-badge{color:#a33a0b;background:var(--accent-soft);border-radius:99px;padding:1px 7px;font-size:11px;font-weight:800}.right-body.is-chat{flex-direction:column;display:flex;overflow:hidden}.chat{flex-direction:column;flex:1;min-height:0;display:flex}.chat-head{border-bottom:1px solid var(--line);color:var(--muted);align-items:center;gap:6px;padding:10px 10px 8px 14px;display:flex}.model-select{flex:1;min-width:0;height:32px;font-size:12.5px;font-weight:700}.chat-warn{color:#8a4b00;background:#fff4e5;border-radius:9px;margin:8px 12px 0;padding:8px 10px;font-size:12px;line-height:1.4}.chat-list{flex-direction:column;flex:1;gap:10px;min-height:0;padding:12px;display:flex;overflow:auto}.chat-divider{color:var(--muted);text-align:center;align-items:center;gap:8px;font-size:11px;display:flex}.chat-divider:before,.chat-divider:after{content:"";background:var(--line);flex:1;height:1px}.chat-empty p{color:var(--muted);margin:4px 2px 12px;font-size:13px;line-height:1.5}.chip.suggest{cursor:pointer;text-align:left;background:var(--panel);padding:6px 10px;font-size:12.5px}.chip.suggest:hover:not(:disabled){background:var(--accent-soft);color:#a33a0b;border-color:#eab296}.chat-empty .chips{flex-direction:column;align-items:flex-start;gap:6px}.msg{word-wrap:break-word;border-radius:14px;max-width:92%;padding:8px 12px;font-size:13.5px;line-height:1.5}.msg.user{background:var(--accent);color:#fff;white-space:pre-wrap;border-bottom-right-radius:4px;align-self:flex-end}.msg-ctx{white-space:normal;flex-wrap:wrap;gap:4px;margin:-1px 0 4px;display:flex}.msg-ctx span{cursor:default;background:#fff3;border-radius:99px;align-items:center;gap:3px;padding:0 7px;font-size:11px;font-weight:600;line-height:1.5;display:inline-flex}.icon-btn.on{color:var(--accent);background:var(--accent-soft)}.msg.bot{background:var(--panel-2);border:1px solid var(--line);border-bottom-left-radius:4px;align-self:flex-start}.msg.bot.error{color:var(--danger);background:#fff1f1;border-color:#f3c2c2}.msg-changes,.msg-errors{flex-direction:column;gap:3px;margin:6px 0 0;padding:0;font-size:12px;list-style:none;display:flex}.msg-changes li{color:var(--ok);align-items:flex-start;gap:5px;display:flex}.msg-errors li{color:#b35c00;align-items:flex-start;gap:5px;display:flex}.msg-changes svg,.msg-errors svg{flex:none;margin-top:2px}.msg-foot{color:var(--muted);justify-content:space-between;align-items:center;gap:8px;margin-top:6px;font-size:11px;display:flex}.msg-foot em{font-style:normal}.link-btn{color:#a33a0b;background:0 0;border:0;align-items:center;gap:4px;padding:0;font-size:11.5px;font-weight:700;display:inline-flex}.link-btn:hover{text-decoration:underline}.typing{gap:3px;padding:4px 0;display:inline-flex}.typing i{background:var(--muted);border-radius:50%;width:6px;height:6px;animation:1s ease-in-out infinite blink}.typing i:nth-child(2){animation-delay:.15s}.typing i:nth-child(3){animation-delay:.3s}@keyframes blink{0%,80%,to{opacity:.25}40%{opacity:1}}@media (prefers-reduced-motion:reduce){.typing i{opacity:.6;animation:none}}.chat-input{border-top:1px solid var(--line);flex-direction:column;gap:6px;padding:10px 12px 12px;display:flex}.ctx-chip{background:var(--accent-soft);color:#a33a0b;border-radius:99px;align-self:flex-start;align-items:center;gap:5px;padding:2px 4px 2px 8px;font-size:12px;display:inline-flex}.chat-box{border:1px solid var(--line);background:var(--panel);border-radius:12px;align-items:flex-end;gap:6px;padding:6px 6px 6px 10px;display:flex}.chat-box:focus-within{border-color:#eab296;outline:2px solid #f6c9b0}.chat-box textarea{resize:none;font:inherit;color:inherit;background:0 0;border:0;outline:0;flex:1;max-height:140px;font-size:13.5px}.send-btn{background:var(--accent);color:#fff;border:0;border-radius:9px;flex:none;place-items:center;width:32px;height:32px;display:grid}.send-btn.stop{background:var(--ink)}.library{padding:6px 12px 24px}.library h4{text-transform:uppercase;letter-spacing:.06em;color:var(--muted);margin:14px 4px 8px;font-size:12px}.lib-grid{grid-template-columns:repeat(3,1fr);gap:6px;display:grid}.lib-item{border:1px solid var(--line);background:var(--panel);border-radius:10px;flex-direction:column;align-items:center;gap:4px;padding:10px 4px 8px;display:flex}.lib-item:hover{background:var(--accent-soft);border-color:#eab296}.lib-item span{font-size:22px}.lib-item small{text-align:center;font-size:11.5px;font-weight:700;line-height:1.2}.library .hint{margin-top:14px}.source-photo{background:var(--panel);border-radius:var(--radius);width:220px;box-shadow:var(--shadow);border:1px solid var(--line);transition:width .2s;position:absolute;top:14px;left:14px;overflow:hidden}.source-head{text-transform:uppercase;letter-spacing:.06em;color:var(--muted);justify-content:space-between;align-items:center;padding:6px 6px 6px 10px;font-size:11.5px;font-weight:800;display:flex}.source-head span{flex:1}.source-photo.big{width:420px;max-width:calc(100% - 28px)}.source-img{cursor:zoom-in;position:relative}.source-photo.big .source-img{cursor:zoom-out}.source-img img{width:100%;display:block}.source-img .box{pointer-events:none;border-radius:3px;position:absolute}.source-img .box.product{border:1.5px dashed #fffffff2;box-shadow:0 0 0 1px #00000059}.source-img .box.selected{border:2px solid var(--accent);box-shadow:0 0 0 999px #00000047}.source-notes{color:var(--muted);border-top:1px solid var(--line);margin:0;padding:8px 10px;font-size:11.5px;line-height:1.4}.stage-hint{-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);border:1px solid var(--line);color:var(--muted);white-space:nowrap;background:#fffdfbe0;border-radius:99px;padding:6px 14px;font-size:12px;position:absolute;bottom:12px;left:50%;transform:translate(-50%)}kbd{font:inherit;background:var(--panel-2);border:1px solid var(--line);color:var(--ink);border-radius:5px;padding:1px 5px;font-size:11px;font-weight:800}.error{color:var(--danger);padding:40px}@media (width<=1100px){.workspace{grid-template-columns:210px minmax(0,1fr) 300px}.brand{min-width:0}.stage-hint{display:none}}@media (width<=820px){html,body{overscroll-behavior:none}.app{height:100dvh}.topbar.mobile{padding:env(safe-area-inset-top) 4px 0 12px;height:calc(52px + env(safe-area-inset-top));gap:0;position:relative}.topbar.mobile .brand{flex:1;gap:8px;min-width:0}.topbar.mobile .logo{height:22px}.brand-title{white-space:nowrap;text-overflow:ellipsis;font-size:15px;font-weight:800;overflow:hidden}.topbar.mobile .icon-btn{width:44px;height:44px}.icon-btn.on{background:var(--panel-2);border-color:var(--line)}.workspace{flex-direction:column;display:flex}.left{display:none}.stage{flex:1;min-height:0}.right.sheet{border-left:0;border-top:1px solid var(--line);flex:none;position:relative}.sheet-grip{width:100%;height:24px;color:var(--muted);background:0 0;border:0;place-items:center;padding:0;display:grid;position:relative}.sheet-grip span{background:var(--line);border-radius:2px;width:40px;height:4px}.sheet-grip svg{position:absolute;top:4px;right:14px}.sheet .right-body{overscroll-behavior:contain;border-bottom:1px solid var(--line);flex:none;height:min(40dvh,420px)}.sheet .panel-title{display:none}.sheet .samples{border-bottom:0;max-height:none}.sheet .sample-list,.sheet .layer-list{padding-top:8px;overflow:visible}.sheet .sample,.sheet .layer{min-height:48px}.sheet .sample-search{height:44px;margin:8px 8px 0}.sheet .sample-search input{font-size:16px}.sheet-tabs{padding:0 4px env(safe-area-inset-bottom);background:var(--panel);display:flex}.sheet-tabs button{min-height:56px;color:var(--muted);background:0 0;border:0;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:3px;font-size:11.5px;font-weight:800;display:flex}.sheet-tabs button svg{width:20px;height:20px}.sheet-tabs button.on{color:var(--accent)}.sel-chip{background:var(--panel);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:14px;align-items:center;gap:2px;padding:4px 6px 4px 10px;display:flex;position:absolute;bottom:calc(100% + 10px);left:10px;right:10px}.sel-chip-icon{margin-right:4px;font-size:18px}.sel-chip strong{white-space:nowrap;text-overflow:ellipsis;flex:1;min-width:0;font-size:14px;overflow:hidden}.sel-chip .icon-btn{width:44px;height:44px}.sel-chip .btn{height:44px;margin-left:2px;padding:0 18px;font-size:13px}.sheet .tier-head .icon-btn,.sheet .layer .icon-btn{width:44px;height:44px}.spec-head{display:none}.inspector{padding:0 0 16px}.section{padding:0 14px}.section-head{min-height:48px;margin:0}.section-toggle{text-align:left;background:0 0;border:0;flex:1;align-items:center;gap:8px;min-height:48px;padding:0;display:flex}.section-toggle svg{color:var(--muted);margin-left:auto;transition:transform .15s}.section-toggle[aria-expanded=true] svg{transform:rotate(180deg)}.section-toggle[aria-expanded=true] h3{color:var(--ink)}.section-body{padding-bottom:14px}.decor-head{padding:10px 8px 8px 14px}.tier-card.collapsed{gap:0;padding:4px 4px 4px 10px}.tier-meta{color:var(--muted);margin-left:auto;margin-right:6px;font-size:12px}.source-photo{width:72px;top:10px;left:10px}.bd-picker{top:10px;right:10px}.bd-btn{width:44px;height:44px}.bd-pop{width:min(280px,100vw - 20px)}.source-photo:not(.big) .source-head,.source-photo:not(.big) .source-notes{display:none}.source-photo.big{width:calc(100% - 20px);max-width:420px}.source-head{padding:2px 2px 2px 10px}.source-head .icon-btn{width:44px;height:44px}}@media (hover:none){.layer .icon-btn{opacity:1}}.bd-picker{position:absolute;top:14px;right:14px}.bd-btn{border:1px solid var(--line);background:var(--panel);width:38px;height:38px;box-shadow:var(--shadow);border-radius:50%;place-items:center;padding:0;display:grid}.bd-btn.on,.bd-btn:hover{border-color:#dccbbd}.bd-dot{border-radius:50%;width:24px;height:24px;box-shadow:inset 0 0 0 1px #3c23142e}.bd-pop{z-index:21;background:var(--panel);border:1px solid var(--line);border-radius:14px;flex-direction:column;gap:8px;width:248px;padding:10px;display:flex;position:absolute;top:calc(100% + 8px);right:0;box-shadow:0 10px 40px #3c23142e}.bd-pop .menu-label{padding-bottom:0}.bd-auto{text-align:left;border:1px solid var(--line);background:0 0;border-radius:10px;align-items:center;gap:10px;min-height:48px;padding:6px 10px;display:flex}.bd-auto span{flex:1;min-width:0}.bd-auto strong{font-size:13.5px;display:block}.bd-auto small{color:var(--muted);font-size:11.5px}.bd-auto.on{background:var(--accent-soft);border-color:#f6c9b0}.bd-auto.on svg:last-child{color:var(--accent)}.bd-grid{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.bd-swatch{aspect-ratio:1;color:var(--ink);border:1px solid #3c231424;border-radius:12px;place-items:center;display:grid}.bd-swatch.dark{color:#fff}.bd-swatch.on{box-shadow:0 0 0 2px var(--panel), 0 0 0 4px var(--accent)}.bd-caption{text-align:center;color:var(--muted);font-size:12.5px;font-weight:700}.menu-scrim{z-index:20;position:fixed;inset:0}.menu{z-index:21;background:var(--panel);border:1px solid var(--line);border-radius:14px;flex-direction:column;gap:2px;width:min(300px,100vw - 16px);padding:10px;display:flex;position:absolute;top:calc(100% + 6px);right:8px;box-shadow:0 10px 40px #3c23142e}.menu-label{text-transform:uppercase;letter-spacing:.06em;color:var(--muted);padding:2px 4px 6px;font-size:11.5px;font-weight:800}.menu .segmented{margin-bottom:6px}.menu .segmented button{padding:9px 4px}.menu-item{text-align:left;background:0 0;border:0;border-radius:10px;align-items:center;gap:10px;min-height:44px;padding:0 10px;font-size:14px;font-weight:700;display:flex}.menu-item:hover,.menu-item:active{background:var(--panel-2)}.menu-cta{justify-content:center;height:44px;margin-top:6px;font-size:14px}.part-grid{flex-direction:column;gap:6px;display:flex}.part-row{grid-template-columns:78px 1fr auto auto;align-items:center;gap:6px;display:grid}.part-row>span:first-child{font-size:12.5px;font-weight:700}.part-row .select{height:30px}.part-row .grow{min-height:1px}.swatch{border:1px solid var(--line);cursor:pointer;border-radius:7px;flex:none;width:26px;height:26px;overflow:hidden}.swatch input{cursor:pointer;background:0 0;border:0;width:36px;height:36px;margin:-5px;padding:0}.check{cursor:pointer;align-items:center;gap:6px;font-size:12.5px;font-weight:600;display:inline-flex}.share-notice{z-index:30;background:var(--accent-soft);color:#a33a0b;width:min(460px,100vw - 24px);box-shadow:var(--shadow);border:1px solid #f6c9b0;border-radius:12px;align-items:center;gap:8px;padding:6px 6px 6px 14px;font-weight:700;display:flex;position:fixed;top:70px;left:50%;transform:translate(-50%)}.share-notice span{flex:1}.share-top .brand{flex:1;min-width:0}.share-top .logo{height:26px}.share-top .brand strong{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.share-body{flex:1;grid-template-columns:minmax(0,1fr) 340px;min-height:0;display:grid}.share-presets{width:auto;box-shadow:var(--shadow);position:absolute;bottom:14px;left:50%;transform:translate(-50%)}.share-summary{background:var(--panel);border-left:1px solid var(--line);padding:18px 18px 24px;overflow:auto}.share-summary h2{text-transform:uppercase;letter-spacing:.06em;color:var(--muted);margin:0 0 4px;font-size:12px;font-weight:800}.share-summary h3{margin:0 0 12px;font-size:18px;font-weight:800}.share-summary section{border-top:1px solid var(--line);padding:12px 0}.share-summary h4{color:var(--muted);margin:0 0 8px;font-size:12.5px;font-weight:800}.share-summary ul{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.share-summary li{flex-wrap:wrap;align-items:center;gap:6px;font-size:13.5px;line-height:1.4;display:flex}.share-swatch{border:1px solid #3c23142e;border-radius:50%;flex:none;width:16px;height:16px}.share-count{color:var(--accent);margin-left:auto;font-weight:800}@media (width<=820px){.topbar.share-top{padding:env(safe-area-inset-top) 8px 0 12px;height:calc(52px + env(safe-area-inset-top));gap:8px}.share-top .logo{height:22px}.share-top .btn{height:44px}.share-body{flex-direction:column;display:flex}.share-body .stage{flex:1;min-height:240px}.share-presets button{min-height:44px;padding:0 8px}.share-summary{border-left:0;border-top:1px solid var(--line);overscroll-behavior:contain;max-height:42dvh;padding:14px 16px calc(20px + env(safe-area-inset-bottom));flex:none}.share-notice{top:calc(60px + env(safe-area-inset-top))}.share-notice .icon-btn{width:44px;height:44px}}
