.mo-template-picker{padding:20px 0;border-top:1px solid #e3d8cd;margin-top:18px}.mo-template-picker h3{margin-bottom:8px}.mo-template-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px}.mo-template-card{display:flex;flex-direction:column;align-items:stretch;text-align:left;gap:6px;border:1px solid #d9cbbc;border-radius:9px;padding:8px;background:#fffdf9;color:#332f2c;min-width:0;cursor:pointer}.mo-template-card img{display:block;width:100%;height:auto;aspect-ratio:200/85;border:1px solid #efe8dd;border-radius:5px}.mo-template-card strong{font-size:13px;line-height:1.3}.mo-template-card small{font-size:11px;line-height:1.4;color:#6c6258}.mo-template-card:hover{border-color:#9b4834}.mo-template-card:focus-visible{outline:3px solid #267daf;outline-offset:2px}.mo-template-card[aria-pressed=true]{border:2px solid #9b4834;padding:7px;background:#fff5ed}.mo-template-note{font-size:12px;line-height:1.6;color:#6c6258;margin:10px 0}.mo-placement[hidden],.mo-sliders[hidden]{display:none!important}@media(min-width:1000px){.mo-template-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:360px){.mo-template-grid{grid-template-columns:1fr}}

.mo-start-choices{margin:16px 0;padding:16px;border:1px solid #d9cbbc;border-radius:9px;background:#fffdf9}.mo-start-choices .mo-help{margin-top:8px!important}.mo-start-choices .mo-outline{min-height:44px}

.mo-presets{padding:14px 0;border-top:1px solid #e4d9ce;margin-top:14px}.mo-preset-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.mo-preset-actions button{border:1px solid #d5c5b3;border-radius:7px;padding:10px 12px;min-height:44px;background:#fffdf9;text-align:left}.mo-preset-actions button:disabled{opacity:.5;cursor:not-allowed}

.mo-history-actions{display:flex;gap:8px;flex-wrap:wrap;padding:12px 0}.mo-history-actions button{min-height:44px;padding:9px 14px;border:1px solid #d5c5b3;border-radius:7px;background:#fffdf9}.mo-history-actions button:disabled{opacity:.45;cursor:not-allowed}

.mo-quality{padding:14px;border:1px solid #d7dfd6;background:#f6faf4;border-radius:9px;margin:12px 0}.mo-quality h3{font-size:15px!important}.mo-quality ul{margin:10px 0;padding-left:18px}.mo-quality li{font-size:12px;line-height:1.65;margin:6px 0}.mo-quality-warning{color:#85501d;font-weight:600}

.mo-proof-dialog{width:min(1000px,calc(100vw - 28px));max-height:calc(100dvh - 28px);overflow:auto;padding:24px;border:1px solid #cdbba7;border-radius:14px;color:#332f2c;background:#fffdf9;box-shadow:0 20px 80px #0005}.mo-proof-dialog:not([open]){display:none}.mo-proof-dialog::backdrop{background:#18120ed0}.mo-proof-dialog h2{font-size:28px!important;margin:0 0 12px}.mo-proof-dialog h3{font-size:19px!important;margin:0 0 8px}.mo-proof-dialog #mo-proof-close{margin-bottom:14px}.mo-proof-item{padding:18px 0;border-top:1px solid #dfd3c5}.mo-proof-item p,.mo-proof-footer p{font-size:14px;line-height:1.65}.mo-proof-images{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:16px;margin:14px 0}.mo-proof-images figure{margin:0}.mo-proof-images img{width:100%;height:280px;object-fit:contain;border:1px solid #e5dace;background:white}.mo-proof-images figcaption{font-size:12px;line-height:1.5;margin-top:6px;color:#75695b}.mo-proof-footer{padding:16px;background:#f4ede3;border-radius:9px}.mo-proof-notice{font-size:12px!important;color:#765635}.mo-proof-footer button{margin-top:12px}#mo-proof-all{margin:0 10px 12px 0}@media(max-width:700px){.mo-proof-dialog{padding:16px}.mo-proof-images{grid-template-columns:1fr}.mo-proof-images img{height:auto;max-height:300px;aspect-ratio:auto}.mo-proof-dialog h2{font-size:24px!important}}

.mo-proof-backdrop{position:fixed;inset:0;background:#18120ed0;z-index:1299}.mo-proof-backdrop[hidden]{display:none!important}.mo-proof-fallback{position:fixed;z-index:1300;inset:14px;margin:auto;height:max-content}

.mo-deadline{padding:16px;border:1px solid #d9cbbc;border-radius:9px;background:#f9f4ed;margin:16px 0}.mo-deadline label{display:grid;gap:7px;font-size:13px;font-weight:600}.mo-deadline input{font:inherit;min-height:44px;padding:9px 11px;border:1px solid #bfae9c;border-radius:6px;background:white;max-width:100%;width:100%;box-sizing:border-box}.mo-deadline input:read-only{background:#f0eee9}.mo-deadline .mo-help{margin-top:8px!important}

/* Shared progress for both order paths. Native progress retains its accessible semantics. */
.cup-upload-label{display:block}.cup-upload-progress{display:block;width:min(100%,32rem);height:1rem;margin:.6rem 0;accent-color:#35647f}.cup-upload-progress[hidden]{display:none}

.mo-safe-fallback{width:85%;max-height:350px;object-fit:contain;margin:auto;display:block}.mo-safe-fallback[hidden]{display:none}#mo-open-3d{margin:.8rem auto;display:block;max-width:95%}#mo-open-3d[hidden]{display:none}
