[hidden]{display:none!important}html,body{height:100%;margin:0}body{color:var(--text);background:var(--surface-page);grid-template-rows:3.25rem minmax(0,1fr) auto;display:grid;overflow:hidden}body[data-state=empty] [data-in]:not([data-in~=empty]),body[data-state=converting] [data-in]:not([data-in~=converting]),body[data-state=asking] [data-in]:not([data-in~=asking]),body[data-state=done] [data-in]:not([data-in~=done]),body[data-state=error] [data-in]:not([data-in~=error]),body[data-state=painting] [data-in]:not([data-in~=painting]),body[data-kind=glb] [data-mini]{display:none!important}#top p,#panel p{margin:0}#top{z-index:var(--z-bar);align-items:center;gap:var(--space-3);min-width:0;padding:0 var(--space-4);background:var(--surface);border-bottom:1px solid var(--line);display:flex}#wordmark{font-family:var(--font-display);font-weight:var(--heading-weight);font-variation-settings:var(--display-settings);letter-spacing:var(--heading-tracking)}#promise-short{min-width:0;color:var(--text-muted);font-size:var(--text-sm);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}#choose{margin-left:auto}#meshtavern .icon{width:1rem;height:1rem}.bar-narrow{display:none}a.menu-item{text-decoration:none}#stage{grid-template-columns:minmax(0,1fr);min-height:0;display:grid;position:relative;overflow:hidden}#view{background:var(--scene-backdrop);min-width:0;min-height:0;position:relative}#viewport{width:100%;height:100%;display:block}#question-view,#paint-view{position:absolute;inset:0}#levels{left:var(--space-3);bottom:var(--space-3);z-index:var(--z-panels);gap:var(--space-1);flex-wrap:wrap;display:flex;position:absolute}#levels .chip{height:1.75rem;padding:0 var(--space-3)}#panel.card{z-index:var(--z-panels);align-items:center;gap:var(--space-2);width:min(26rem, 100% - 2 * var(--space-4));max-height:calc(100% - 2 * var(--space-4));padding:var(--space-6) var(--space-6) var(--space-5);text-align:center;position:absolute;top:50%;left:50%;overflow-y:auto;transform:translate(-50%,-50%)}#panel.card>.panel-header,#panel.card>.panel-body,#panel.card>.panel-footer,#panel.card .panel-section{display:contents}body[data-state=empty] #panel{border:1px dashed var(--line-strong)}#panel.card .card-icon .icon{width:1.75rem;height:1.75rem;margin-bottom:var(--space-2);color:var(--text-faint)}#panel.card #heading{max-width:100%;margin:0 0 var(--space-2);font-family:var(--font-display);font-size:var(--text-xl);font-weight:var(--heading-weight);letter-spacing:var(--heading-tracking);white-space:normal;overflow-wrap:anywhere;flex:none}#panel.card #file-name,#panel.card #status,#panel.card #what-you-get{max-width:100%;color:var(--text-muted);overflow-wrap:anywhere}#panel.card #progress{width:100%;margin:var(--space-3) 0 var(--space-2)}#panel.card #choose-again,#panel.card #cancel{margin-top:var(--space-3)}#pair-hint,#paint-file-hint,.promise{color:var(--text-muted);font-size:var(--text-sm)}#panel.card .promise{margin-top:var(--space-2)}#status:not(.problem) .status-icon{display:none}#panel.card #status.callout{width:100%;margin-top:var(--space-3);text-align:left}.callout{align-items:flex-start;gap:var(--space-2);padding:var(--space-2) var(--space-3);font-size:var(--text-sm);color:var(--text);background:var(--info-soft);border-left:3px solid var(--info-text);border-radius:var(--radius-control);display:flex}.callout .icon{color:var(--info-text);margin-top:.05em}.callout-error{background:var(--danger-soft);border-left-color:var(--danger-text)}.callout-error .icon{color:var(--danger-text)}.callout-warn{background:var(--warn-soft);border-left-color:var(--warn-text)}.callout-warn .icon{color:var(--warn-text)}#panel .callout{color:var(--text)}.callout-text{flex:1}#progress[data-silent]>span{background:linear-gradient(90deg, var(--accent) 30%, color-mix(in srgb, var(--accent) 70%, var(--on-accent)) 50%, var(--accent) 70%) 0 0 / 200% 100%;animation:1.4s linear infinite silent-step}@keyframes silent-step{0%{background-position:100% 0}to{background-position:-100% 0}}@media (prefers-reduced-motion:reduce){#progress[data-silent]>span{animation:none}}#panel.panel{top:var(--space-3);right:var(--space-3);bottom:var(--space-3);z-index:var(--z-dock);width:22rem;max-width:calc(100% - 2 * var(--space-3));position:absolute}#panel.panel #heading{overflow-wrap:normal}#mini-size{font-weight:var(--weight-medium);font-variant-numeric:tabular-nums}#panel.panel #status{margin-top:var(--space-1);color:var(--text-muted);font-size:var(--text-sm)}#panel.panel #status:has(.status-text:empty){display:none}#questions{padding:var(--space-3) var(--space-4)}.stack{gap:var(--space-2);flex-direction:column;display:flex}.stack .btn{width:100%}#export .check{margin-top:var(--space-2)}#panel .field{margin-bottom:var(--space-3)}#panel .field:last-child{margin-bottom:0}#panel .field-row .input-sm{width:5.5rem}#panel .hint{margin-top:var(--space-1);color:var(--text-muted);font-size:var(--text-sm)}.actions{align-items:center;gap:var(--space-2);flex-wrap:wrap;display:flex}.disclosure-body>.actions,.disclosure-body>.check,#placement-adjust>.actions,#placement-controls>.actions{margin-top:var(--space-3)}.segmented.wide{display:flex}.segmented.wide .btn{flex:1;padding:0}#panel input[type=range]{width:100%;accent-color:var(--accent);margin:0}#panel input[type=checkbox]{accent-color:var(--accent)}#panel input[type=color]{width:2.75rem;height:var(--control-height);background:var(--surface-sunken);border:1px solid var(--line);border-radius:var(--radius-control);padding:2px}#look-base-hex{font-family:var(--font-code);font-size:var(--text-sm)}.chips{gap:var(--space-1);flex-wrap:wrap;display:flex}#panel .disclosure .callout{margin-top:var(--space-3);flex-wrap:wrap}#panel .disclosure .callout .btn{margin-left:calc(1.25em + var(--space-2))}.disclosure{border-top:1px solid var(--line)}.disclosure:first-of-type{border-top:0}.disclosure>summary{align-items:center;gap:var(--space-2);min-height:var(--control-height);padding:var(--space-1) 0;font-weight:var(--weight-medium);cursor:pointer;border-radius:var(--radius-xs);list-style:none;display:flex}.disclosure>summary::-webkit-details-marker{display:none}.disclosure>summary .icon{color:var(--text-muted);transition:transform var(--motion-hover)}.disclosure[open]>summary .icon{transform:rotate(180deg)}.summary-hint{text-align:right;min-width:0;font-size:var(--text-xs);font-weight:var(--weight-regular);color:var(--text-muted);white-space:nowrap;text-overflow:ellipsis;flex:1;overflow:hidden}.disclosure[open]>summary .summary-hint{display:none}.disclosure-body{padding:var(--space-1) 0 var(--space-3)}#pair[data-kind=single] [data-pair]:not([data-pair~=single]),#pair[data-kind=pair] [data-pair]:not([data-pair~=pair]),#pair[data-kind=parts] [data-pair]:not([data-pair~=parts]),#pair[data-marked] #placement-adjust{display:none}#pair-files,#placement,#pair-warning{margin-top:var(--space-2);overflow-wrap:anywhere}#pair-files{font-size:var(--text-sm)}#panel.panel>.panel-footer{flex:none}#paint-open{width:100%}#paint-file-save-done{margin-top:var(--space-2)}#paint-file-open{margin-right:auto}#paint-panel{border-top:1px solid var(--line)}#summary #paint-file-forget{margin-top:var(--space-2)}.sheet-handle{display:none}#drop-frame{inset:var(--space-2);z-index:var(--z-overlay);border:3px dashed var(--accent);border-radius:var(--radius-lg);background:var(--surface-scrim);pointer-events:none;justify-content:center;align-items:center;display:none;position:fixed}#drop-frame .banner{padding:var(--space-2) var(--space-4);font-size:var(--text-md);font-weight:var(--weight-semibold)}#drop-frame .banner .icon{color:var(--accent-text)}body[data-dragging] #drop-frame{display:flex}#credits .dialog{width:min(100%,36rem);max-height:calc(100vh - 2 * var(--space-4));overflow-y:auto}#credits .credits-list{margin:var(--space-3) 0}#credits .credits-list dt{margin-top:var(--space-2);font-weight:var(--weight-medium)}#credits .credits-list dd{color:var(--text-muted);font-size:var(--text-sm);margin:0}#stats{font-size:var(--text-xs);font-variant-numeric:tabular-nums;flex-direction:column;gap:2px;margin:0;display:flex}#stats div{gap:var(--space-2);display:flex}#stats dt{color:var(--text-muted);flex:none}#stats dd{margin:0}#dev-thumbnail-figure{align-items:center;gap:var(--space-2);font-size:var(--text-xs);margin:0;display:flex}#dev-thumbnail{background:repeating-conic-gradient(var(--fixed-light) 0 25%, color-mix(in srgb, var(--fixed-light) 88%, var(--fixed-dark)) 0 50%) 0 0 / 16px 16px;flex:none}#paint-team .field{margin:0}#dev-tools{max-height:40vh;padding:var(--space-1) var(--space-4) var(--space-2);background:var(--surface);border-top:1px solid var(--line);font-size:var(--text-sm);overflow-y:auto}#perf{margin:var(--space-1) 0;color:var(--text-muted);font-variant-numeric:tabular-nums}#bench summary{cursor:pointer;color:var(--text-muted)}#bench p{margin:var(--space-2) 0;max-width:70ch}#bench .btn{margin:0 var(--space-1) var(--space-2) 0}#bench textarea{width:100%;color:var(--text);background:var(--surface-sunken);border:1px solid var(--line);border-radius:var(--radius-xs);font:var(--text-xs) var(--font-code);display:block}#bench a{color:var(--accent-text)}@media (width<=600px){#top{gap:var(--space-2);padding:0 var(--space-3)}#promise-short,.bar-wide{display:none}.bar-narrow{display:inline-flex}#choose{width:var(--tap-min);padding:0}#choose .choose-label{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}#top .btn,#panel .btn,#panel .input,#panel .check,#panel .chips .chip,#panel input[type=color],#panel input[type=range],.disclosure>summary{min-height:var(--tap-min)}#top .btn-icon,#panel .btn-icon{min-width:var(--tap-min)}#panel input[type=checkbox]:not(.mt-questions *,.mt-painting-panel *){width:20px;height:20px}#panel.card{padding:var(--space-5) var(--space-4) var(--space-4)}body[data-state=done] #stage,body[data-state=asking] #stage,body[data-state=painting] #stage{grid-template-rows:minmax(0,1fr) auto}#panel.panel{border-radius:var(--radius-dialog) var(--radius-dialog) 0 0;width:auto;max-width:none;max-height:44vh;box-shadow:var(--elevation-overlay);border-bottom:0;position:relative;inset:auto}#panel.panel[data-expanded]{max-height:85vh}#panel.panel>.sheet-handle{width:100%;height:var(--tap-min);border-radius:var(--radius-dialog) var(--radius-dialog) 0 0;cursor:pointer;background:0 0;border:0;flex:none;place-items:center;margin:0;padding:0;display:grid}#panel.panel>.sheet-handle:before{content:"";border-radius:var(--radius-full);background:var(--line-strong);width:2.5rem;height:.25rem}#panel.panel>.panel-header{min-height:2rem}#levels{left:var(--space-2);bottom:var(--space-2)}}.mt-questions [hidden]{display:none!important}.mt-questions-scene canvas{width:100%;height:100%;display:block}:where(.mt-questions-scene){background:var(--scene-backdrop);position:relative}:where(.mt-questions-controls){color:var(--text);background:var(--surface)}.mt-questions-panel{width:22rem;padding:var(--space-3) var(--space-4);border-radius:0;position:absolute;top:0;bottom:0;right:0;overflow-y:auto}.mt-questions #ask,.mt-questions #meet,.mt-questions #meet-marking,.mt-questions #meet-final{align-items:flex-start;gap:var(--space-3);flex-direction:column;display:flex}.mt-questions .field{align-self:stretch;margin:0}.mt-questions .field>.segmented{align-self:flex-start}.mt-questions p{margin:0}.mt-questions .question{font-size:var(--text-md);font-weight:var(--weight-semibold);color:var(--text)}.mt-questions .found,.mt-questions .hint{font-size:var(--text-sm);color:var(--text-muted)}.mt-questions .actions{align-items:center;gap:var(--space-2);flex-wrap:wrap;display:flex}.mt-questions .segmented{flex-wrap:wrap}.mt-questions .meet-brush-size input[type=range]{width:100%}.mt-questions .meet-assembly{gap:var(--space-2);flex-wrap:wrap;align-self:stretch;display:flex}.mt-questions .meet-assembly .field{flex:8rem}.mt-questions .meet-adjust{align-items:flex-start;gap:var(--space-2);flex-direction:column;align-self:stretch;display:flex}.mt-questions .meet-step-head{align-items:center;gap:var(--space-2);flex-wrap:wrap;display:flex}.mt-questions .meet-step-head>span{font-size:var(--text-sm);color:var(--text-muted)}.mt-questions .mt-questions-confirm{align-self:stretch}.mt-questions.panel-footer .mt-questions-confirm{flex:1}.mt-questions .callout{align-items:flex-start;gap:var(--space-2);padding:var(--space-2) var(--space-3);font-size:var(--text-sm);color:var(--text);background:var(--info-soft);border-left:3px solid var(--info-text);border-radius:var(--radius-control);display:flex}.mt-questions .callout>.icon{color:var(--info-text);margin-top:.05em}.mt-questions .callout-warn{background:var(--warn-soft);border-left-color:var(--warn-text)}.mt-questions .callout-warn>.icon{color:var(--warn-text)}.mt-questions .callout>span{flex:1}.mt-questions .parts{font-size:var(--text-sm);color:var(--text-muted);margin:0;padding-left:1.1em}.mt-questions .parts li[data-part]{cursor:pointer}.mt-questions .parts li[data-selected]{color:var(--text);font-weight:var(--weight-semibold)}.mt-questions .pairs{gap:var(--space-1);flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.mt-questions .pairs li{align-items:center;gap:var(--space-1);display:flex}.mt-questions .pairs .chip{height:auto;min-height:1.75rem;padding-block:var(--space-1);white-space:pre-wrap;overflow-wrap:anywhere;text-align:start}.mt-questions #meet-view .btn{max-width:100%;padding-block:var(--space-1);line-height:var(--leading-tight);white-space:normal;overflow-wrap:anywhere;text-align:start}.mt-questions .pairs .chip[aria-pressed=true]:not(:focus-visible){outline:2px solid var(--chip-color);outline-offset:1px}@media (width<=600px){.mt-questions .btn,.mt-questions .input,.mt-questions .chip,.mt-questions .check{min-height:var(--tap-min)}.mt-questions .btn-icon{min-width:var(--tap-min)}.mt-questions .pairs .chip{height:auto}.mt-questions .check input{width:20px;height:20px}}.mt-painting{position:relative}:where(.mt-painting){background:var(--scene-backdrop)}.mt-painting canvas{touch-action:none;width:100%;height:100%;display:block}.mt-painting-cursor{pointer-events:none;border:1px solid var(--accent);border-radius:50%;position:absolute;transform:translate(-50%,-50%)}.mt-painting-cursor[hidden]{display:none}.mt-painting-picking canvas{cursor:crosshair}.mt-painting-panel [hidden]{display:none!important}:where(.mt-painting-panel){color:var(--text)}.mt-painting-panel .toolbar-group{flex-wrap:wrap;width:fit-content;max-width:100%}.mt-painting-panel .toolbar-group+.actions,.mt-painting-panel .toolbar-group+.rows,.mt-painting-panel .actions+.switch,.mt-painting-panel .rows+.actions{margin-top:var(--space-2)}.mt-painting-panel .tool-hint,.mt-painting-panel .hint{margin:var(--space-2) 0 0;font-size:var(--text-sm);color:var(--text-muted)}.mt-painting-panel .hint{margin-top:var(--space-1)}.mt-painting-panel .tool-hint:empty{display:none}.mt-painting-panel .switch{margin-top:var(--space-2);font-size:var(--text-sm)}.mt-painting-panel .actions{align-items:center;gap:var(--space-2);flex-wrap:wrap;display:flex}.mt-painting-panel .field{margin-bottom:var(--space-3)}.mt-painting-panel .field:last-child{margin-bottom:0}.mt-painting-panel input[type=range]{width:100%;accent-color:var(--accent);margin:0}.mt-painting-panel input[type=checkbox]:not(.switch input){accent-color:var(--accent)}.mt-painting-panel input[type=color]{width:2.75rem;height:var(--control-height);background:var(--surface-sunken);border:1px solid var(--line);border-radius:var(--radius-control);padding:2px}.mt-painting-panel [data-look-hex]{font-size:var(--text-sm);font-variant-numeric:tabular-nums}.mt-painting-panel .segmented{display:flex}.mt-painting-panel .segmented .btn{flex:1}.mt-painting-panel .swatches{gap:var(--space-1);flex-wrap:wrap;display:flex}.mt-painting-panel .swatches:not(:empty){margin-top:var(--space-2)}.mt-painting-panel .swatch{border:1px solid var(--line-strong);background:var(--swatch);cursor:pointer;border-radius:50%;width:1.5rem;height:1.5rem;padding:0}.mt-painting-panel .swatch[aria-pressed=true]{outline:2px solid var(--accent);outline-offset:2px}.mt-painting-panel .swatch:focus-visible{outline:var(--focus-width) solid var(--focus-ring);outline-offset:var(--focus-offset)}.mt-painting-panel .swatch:disabled{cursor:not-allowed}.mt-painting-panel .rows{margin:0 calc(-1 * var(--space-4))}.mt-painting-panel .row-main{font:inherit;text-align:left;color:inherit;cursor:pointer;background:0 0;border:0;padding:0}.mt-painting-panel .chips{gap:var(--space-1);flex-wrap:wrap;display:flex}.mt-painting-panel .check{margin-bottom:var(--space-3)}@media (width<=600px),(pointer:coarse){.mt-painting-panel .btn,.mt-painting-panel .chip,.mt-painting-panel .check,.mt-painting-panel .switch,.mt-painting-panel .row-main,.mt-painting-panel input[type=color],.mt-painting-panel input[type=range]{min-height:var(--tap-min)}.mt-painting-panel .btn-icon{min-width:var(--tap-min)}.mt-painting-panel .swatches{gap:calc(var(--tap-min) - 2.25rem)}.mt-painting-panel .swatch{width:2.25rem;height:2.25rem}.mt-painting-panel .check input{width:20px;height:20px}}
