.moeify-page{background:var(--paper)}
.mf-header{height:98px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}
.mf-header .wordmark span{color:var(--accent)}
.mf-header nav{display:flex;gap:34px;font-size:13px}
.mf-header nav a{padding-block:14px}.mf-header nav a:hover{text-decoration:underline;text-underline-offset:5px}
.mf-main{max-width:1080px;padding-top:42px;padding-bottom:56px}
.mf-heading{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:38px;gap:32px}
.mf-heading .eyebrow{margin-bottom:15px;font-size:11px}
.mf-heading h1{font-size:clamp(52px,5.6vw,82px);line-height:1.1;white-space:normal}.mf-heading h1 span{color:var(--accent);display:inline;white-space:normal}
.mf-heading>p{font-size:16px;line-height:1.6;margin:0 0 5px;color:var(--muted)}
.mf-workspace{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);gap:60px;align-items:start}
.mf-preview-top{display:flex;align-items:center;justify-content:space-between;min-height:43px;padding-bottom:12px;gap:12px}
.mf-preview-top>span{font-size:10px;font-weight:600;letter-spacing:.13em;color:var(--muted)}
.mf-view-switch{display:flex;gap:3px;padding:3px;border:1px solid var(--line);border-radius:4px}
.mf-view-switch button{border:0;background:transparent;color:var(--muted);padding:6px 13px;border-radius:2px;font-size:12px;min-height:30px;transition:background .15s,color .15s}
.mf-view-switch button[aria-pressed=true]{background:var(--ink);color:var(--paper)}.mf-view-switch button:disabled{opacity:.35;cursor:default}
.mf-stage{position:relative;aspect-ratio:1;background:var(--sage);overflow:hidden;border:1px solid var(--line)}
.mf-stage>img,.mf-stage>canvas{width:100%;height:100%;object-fit:contain;display:block}
.mf-preview-bottom{display:flex;justify-content:space-between;gap:12px;margin-top:15px;font-size:12px;color:var(--muted)}.mf-preview-bottom>span:last-child{white-space:nowrap}
.mf-form{padding-top:3px}
.mf-step{display:flex;align-items:center;gap:12px;margin:6px 0 17px}.mf-step>span,.mf-colors legend>span{font-size:11px;font-weight:600;color:var(--accent);letter-spacing:.08em}.mf-step h2{font-family:'DM Sans',sans-serif;font-size:18px;font-weight:600;letter-spacing:-.02em;line-height:1.3}
.mf-file-input{position:absolute;width:1px;height:1px;overflow:hidden;opacity:0;pointer-events:none}
.mf-upload{width:100%;border:1px dashed var(--line);border-radius:4px;min-height:145px;padding:20px;background:transparent;color:var(--ink);text-align:center;transition:background .15s,border-color .15s}
.mf-upload:hover,.mf-upload[data-drag=true]{background:var(--control-hover);border-color:var(--accent)}
.mf-upload-empty{display:flex;align-items:center;flex-direction:column;gap:6px}.mf-upload-empty svg{color:var(--accent);margin-bottom:3px}.mf-upload strong{font-size:15px;font-weight:600}.mf-upload-empty>span{font-size:12px;color:var(--muted)}
.mf-upload-selected{display:flex;align-items:center;gap:18px;text-align:left}.mf-upload-selected>img{width:84px;height:84px;object-fit:contain;flex-shrink:0;background:var(--sage)}.mf-upload-selected>span{min-width:0}.mf-upload-selected strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:220px}.mf-upload-selected>span>span{display:block;font-size:12px;color:var(--accent);margin-top:9px}
.mf-help{font-size:12px;line-height:1.7;color:var(--muted);margin:11px 0 30px}
.mf-colors{border:0;padding:0;margin:0 0 28px;min-width:0}.mf-colors legend{font-size:18px;font-weight:600;margin-bottom:18px;padding:0}.mf-colors legend>span{margin-right:12px}
.mf-swatches{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.mf-swatches label{display:flex;align-items:center;flex-direction:column;gap:10px;font-size:12px;cursor:pointer;position:relative;min-width:0}.mf-swatches input{position:absolute;opacity:0;width:100%;height:100%;margin:0;cursor:pointer}
.mf-swatch{display:flex;justify-content:center;align-items:center;width:42px;height:42px;background:var(--swatch);border:1px solid var(--line);border-radius:50%;pointer-events:none}
.mf-swatches input:checked+.mf-swatch{outline:2px solid var(--ink);outline-offset:4px}.mf-swatches input:focus-visible+.mf-swatch{outline:3px solid var(--ink);outline-offset:5px}
.mf-custom-swatch{background:var(--paper);font-size:25px;font-weight:400;color:var(--accent)}
.mf-custom-picker{display:flex;align-items:center;gap:12px;margin-top:20px;font-size:12px}.mf-custom-picker input{width:38px;height:32px;padding:2px;border:1px solid var(--line);background:transparent;cursor:pointer}.mf-custom-picker output{color:var(--muted);font-family:monospace}
.mf-background-help{font-size:12px;line-height:1.6;color:var(--muted);margin:-10px 0 24px}
.mf-actions{display:flex;flex-direction:column;gap:10px}.mf-actions .button{width:100%;min-height:53px;font-size:15px;padding:16px 19px}.mf-actions .button:disabled{opacity:.42;cursor:not-allowed;transform:none}.mf-secondary{border:1px solid var(--accent);background:transparent;color:var(--accent)}.mf-secondary:hover{background:var(--control-hover)}
.mf-status{font-size:13px;line-height:1.6;min-height:21px;margin:13px 0 0}.mf-status[data-error=true]{color:#7d2028}.mf-status[data-success=true]{color:#284728}
.mf-smallprint{font-size:11px;line-height:1.6;color:var(--muted);margin:8px 0 0}
.mf-details{border-top:1px solid var(--line);margin-top:24px;padding-top:18px;color:var(--muted);font-size:12px;line-height:1.7}.mf-details summary{cursor:pointer;color:var(--ink);padding:5px 0}.mf-details p{margin:10px 0}.mf-details a{text-decoration:underline;text-underline-offset:3px}
.mf-pending{position:absolute;inset:0;display:flex;justify-content:center;align-items:center;flex-direction:column;background:rgb(var(--ink-rgb)/.92);color:var(--paper);gap:14px}.mf-pending p{font-size:25px;margin:0;font-family:var(--display)}.mf-pending>span:last-child{font-size:12px;color:var(--paper)}
.mf-spinner{width:30px;height:30px;border:2px solid #f5f6ec4a;border-top-color:var(--paper);border-radius:50%;animation:mf-spin 1s linear infinite}.mf-stage[aria-busy=true]>img,.mf-stage[aria-busy=true]>canvas{opacity:.35}
.mf-footer{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding-block:25px;font-size:12px;color:var(--muted)}
[hidden]{display:none!important}
@keyframes mf-spin{to{transform:rotate(360deg)}}
@media(max-width:1100px){.mf-workspace{gap:40px}.mf-main{padding-top:38px}.mf-heading h1{font-size:64px}.mf-upload-selected strong{max-width:150px}.mf-heading>p{font-size:14px}}
@media(pointer:coarse),(max-width:760px){.mf-view-switch button{min-height:44px}.mf-custom-picker input{width:44px;height:44px}.mf-details summary{min-height:44px;display:flex;align-items:center}.mf-help a{text-decoration:underline;text-underline-offset:3px}}
@media(max-width:760px){.mf-header{height:80px}.mf-header nav{font-size:12px;gap:16px}.mf-header nav a:last-child{display:none}.mf-heading{margin-bottom:24px;display:block}.mf-heading h1{font-size:clamp(42px,9.5vw,66px)}.mf-heading>p{margin-top:14px;font-size:14px}.mf-heading>p br{display:none}.mf-heading>p br:after{content:' '}.mf-main{padding-top:28px;padding-bottom:42px}.mf-workspace{display:flex;flex-direction:column;gap:30px}.mf-preview{width:100%;max-width:520px;align-self:center}.mf-stage{max-height:440px}.mf-preview-top{min-height:40px}.mf-preview-bottom{font-size:11px}.mf-form{width:100%;padding:0}.mf-upload{min-height:120px}.mf-help{margin-bottom:25px}.mf-swatches{gap:10px}.mf-swatch{width:44px;height:44px}.mf-upload-selected strong{max-width:calc(100vw - 200px)}.mf-details{margin-top:22px}.mf-footer{font-size:11px;gap:20px}.mf-footer span{text-align:right}}
