/* Strictly scoped: no changes to the existing studio/navigation/video tools. */
#amoon-3d{--a3-ink:#14233e;--a3-muted:#53647c;--a3-line:#dce4ef;--a3-surface:#fff;--a3-blue:#2258d6;--a3-wash:#f2f6fc;color:var(--a3-ink);font:16px/1.55 system-ui,-apple-system,Segoe UI,sans-serif;max-width:1640px;width:100%;margin:0 auto;padding:24px 24px 100px;box-sizing:border-box;text-align:start}
#amoon-3d *{box-sizing:border-box}#amoon-3d [hidden]{display:none!important}#amoon-3d h1,#amoon-3d h2,#amoon-3d h3,#amoon-3d p{margin:0}#amoon-3d h1{font-size:clamp(27px,3vw,42px);line-height:1.15;letter-spacing:-1.2px;margin:8px 0 12px}#amoon-3d h2{font-size:22px;line-height:1.3}#amoon-3d h3{font-size:17px}#amoon-3d p{color:var(--a3-muted)}#amoon-3d button,#amoon-3d input,#amoon-3d select{font:inherit}#amoon-3d button,#amoon-3d a,#amoon-3d input,#amoon-3d select{outline-offset:4px}#amoon-3d button{cursor:pointer;background:#f4f7fc;color:var(--a3-ink);border:1px solid var(--a3-line);border-radius:10px;padding:9px 14px;line-height:1.4;min-height:42px}#amoon-3d button:hover{border-color:#7b9bdc;background:#edf3ff}#amoon-3d button:disabled{opacity:.6;cursor:wait}#amoon-3d a{color:var(--a3-blue);text-decoration:none}#amoon-3d .a3-top{display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--a3-line);padding-bottom:20px;flex-wrap:wrap}#amoon-3d .a3-brand{display:flex;align-items:center;gap:12px;color:var(--a3-ink);font-size:19px;letter-spacing:1px}#amoon-3d .a3-brand img{width:62px;height:52px;object-fit:contain}#amoon-3d .a3-brand small{display:block;font-size:10px;letter-spacing:2px;color:var(--a3-muted)}#amoon-3d .a3-top nav{display:flex;align-items:center;flex-wrap:wrap;gap:10px;font-size:14px}#amoon-3d .a3-top nav a{padding:8px}#amoon-3d .a3-intro{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:30px 0}#amoon-3d .a3-eyebrow{font-size:11px;letter-spacing:1.7px;font-weight:750;color:#53729c}#amoon-3d .a3-pill{font-size:12px;font-weight:700;padding:8px 12px;border-radius:30px;border:1px solid var(--a3-line);white-space:nowrap;background:#fff}#amoon-3d .a3-pill.online{color:#15734a;background:#eaf9f2;border-color:#bee8d4}#amoon-3d .a3-workspace{display:grid;grid-template-columns:minmax(340px,440px) minmax(0,1fr);gap:22px;align-items:start}#amoon-3d .a3-panel{background:var(--a3-surface);border:1px solid var(--a3-line);border-radius:20px;padding:24px;min-width:0;box-shadow:0 8px 30px #10234a06;margin-bottom:22px}#amoon-3d .a3-heading{display:flex;align-items:center;gap:12px;margin-bottom:22px}#amoon-3d .a3-heading p{font-size:13px;margin-top:5px}#amoon-3d .a3-step{background:#eaf0ff;color:#2455b7;border-radius:10px;display:grid;place-items:center;width:36px;height:36px;flex:0 0 36px;font-size:12px;font-weight:800}#amoon-3d .a3-field,#amoon-3d .a3-row label{font-size:13px;font-weight:650;color:var(--a3-muted);display:block;min-width:0}#amoon-3d input:not([type=radio]):not([type=checkbox]):not([type=file]),#amoon-3d select{display:block;width:100%;min-width:0;background:#f9fbff;color:var(--a3-ink);border:1px solid var(--a3-line);border-radius:10px;height:44px;padding:9px 11px;margin-top:6px;font-size:15px}#amoon-3d .a3-field{margin-bottom:16px}#amoon-3d .a3-mode{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:18px 0}#amoon-3d .a3-mode label{position:relative;padding:12px 10px;border:1px solid var(--a3-line);border-radius:12px;cursor:pointer;background:#fff}#amoon-3d .a3-mode label:has(input:checked){background:#eef3ff;border-color:#7d9ee8}#amoon-3d .a3-mode input{margin:0 5px 5px 0}#amoon-3d .a3-mode b{font-size:13px}#amoon-3d .a3-mode small{display:block;font-size:11px;color:var(--a3-muted)}#amoon-3d .a3-upload{border:1.5px dashed #9fb7da;border-radius:15px;position:relative;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;gap:3px;padding:22px 10px;background:#f6f9ff;cursor:pointer;overflow:hidden}#amoon-3d .a3-upload input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%}#amoon-3d .a3-upload>span{font-size:27px;color:#3d68b7}#amoon-3d .a3-upload b{font-size:15px}#amoon-3d .a3-upload small{font-size:12px;color:var(--a3-muted)}#amoon-3d .a3-upload.dragover{border-color:#2455b7;background:#dce9ff}#amoon-3d #a3-crop{display:block;max-width:100%;height:auto;width:100%;border-radius:12px;margin-top:14px;touch-action:none;background:#ebeff6}#amoon-3d .a3-small{font-size:12px;line-height:1.65;margin:9px 0}#amoon-3d .a3-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;margin:16px 0}#amoon-3d .a3-three{grid-template-columns:repeat(3,minmax(0,1fr))}#amoon-3d .a3-check{display:flex;align-items:center;gap:9px;font-size:13px;margin:14px 0;font-weight:500}#amoon-3d .a3-check input{width:17px;height:17px;flex-shrink:0;accent-color:#2258d6}#amoon-3d .a3-engine-note{font-size:12px;background:#f2f6fc;padding:10px 12px;border-radius:10px}#amoon-3d details{border-top:1px solid var(--a3-line);padding-top:13px;margin-top:16px}#amoon-3d summary{font-size:13px;font-weight:650;cursor:pointer}#amoon-3d .a3-generate{display:flex;align-items:center;justify-content:space-between;background:#214eb8;color:#fff;width:100%;border:0;border-radius:12px;font-weight:700;font-size:16px;padding:15px 18px;margin-top:20px}#amoon-3d .a3-generate:hover{background:#183f9f}#amoon-3d .a3-inline{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}#amoon-3d .a3-notice{background:#fff8e9;border:1px solid #e9d7ae;border-radius:11px;padding:12px 14px;color:#654e23;font-size:13px;margin:12px 0;overflow-wrap:anywhere}#amoon-3d .a3-error{background:#fff0f1;border:1px solid #edc3c9;border-radius:10px;padding:12px;color:#89243a;font-size:13px;margin-top:12px;overflow-wrap:anywhere;white-space:pre-wrap}#amoon-3d .a3-job{padding:14px;border-radius:12px;background:#f1f5fd;margin-bottom:15px}#amoon-3d progress{width:100%;height:7px;accent-color:#2258d6;margin:12px 0 0;display:block}#amoon-3d .a3-viewer-wrap{position:relative;height:clamp(320px,44vw,570px);border:1px solid #e0e7f2;border-radius:15px;overflow:hidden;background:radial-gradient(ellipse at 50% 25%,#f9fbff,#e7edf6)}#amoon-3d #a3-viewer{display:block;width:100%;height:100%;touch-action:none}#amoon-3d .a3-empty{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;text-align:center;padding:25px;pointer-events:none}#amoon-3d .a3-empty>span{font-size:66px;font-weight:300;color:#b4c3dc}#amoon-3d .a3-empty h3{font-size:20px;max-width:310px}#amoon-3d .a3-empty p{font-size:13px}#amoon-3d #a3-viewer-error{position:absolute;left:12px;right:12px;bottom:12px}#amoon-3d .a3-viewer-tools{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:12px 0}#amoon-3d .a3-viewer-tools button{font-size:12px;padding:7px 10px;min-height:35px}#amoon-3d .a3-viewer-tools span{font-size:10px;color:var(--a3-muted);flex:1 1 170px}#amoon-3d .a3-viewer-tools button[aria-pressed=true]{background:#214eb8;color:#fff}#amoon-3d .a3-downloads{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:18px 0}#amoon-3d .a3-downloads a{border:1px solid #cad9f1;border-radius:11px;padding:13px;color:#234d9c;font-size:14px;font-weight:700;background:#f2f6ff}#amoon-3d .a3-downloads a:first-child{background:#18365e;color:#fff;border-color:#18365e}#amoon-3d .a3-downloads small{font-size:10px;font-weight:400;display:block;opacity:.85}#amoon-3d .a3-part{border:1px solid var(--a3-line);border-radius:12px;background:#f9fbff;padding:12px;margin:12px 0}#amoon-3d .a3-part .a3-row{margin:10px 0;gap:8px}#amoon-3d .a3-part label{font-size:11px}#amoon-3d .a3-part input:not([type=checkbox]){font-size:13px;height:37px;padding:5px 8px}#amoon-3d .a3-part .a3-remove{min-height:32px;font-size:11px;padding:5px 8px;color:#8f3350}#amoon-3d .a3-part .a3-bounds{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-top:8px}#amoon-3d .a3-library-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:18px 0}#amoon-3d .a3-history-card{border:1px solid var(--a3-line);border-radius:13px;overflow:hidden;background:#fff}#amoon-3d .a3-history-card img{width:100%;height:138px;object-fit:cover;background:#e8edf5;display:block}#amoon-3d .a3-history-card>div{padding:12px}#amoon-3d .a3-history-card b{font-size:14px;display:block;overflow-wrap:anywhere}#amoon-3d .a3-history-card small{display:block;color:var(--a3-muted);font-size:11px;margin:5px 0;overflow-wrap:anywhere}#amoon-3d .a3-history-card .a3-inline{gap:7px;justify-content:flex-start}#amoon-3d .a3-history-card button{font-size:11px;padding:6px 9px;min-height:33px}#amoon-3d .a3-history-card [data-status=completed]{color:#187148}#amoon-3d .a3-history-card [data-status=failed]{color:#ad3352}#amoon-3d .a3-worker-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:20px 0}#amoon-3d .a3-worker-card{border:1px solid var(--a3-line);border-radius:13px;padding:16px}#amoon-3d .a3-worker-card small{display:block;font-size:12px;color:var(--a3-muted);margin-top:8px}#amoon-3d .a3-worker-card .ready{color:#187148}#amoon-3d .a3-admin{background:#f4f7fd;border-radius:12px;padding:20px}#amoon-3d .a3-admin p{font-size:13px;margin:8px 0 16px}#amoon-3d .a3-primary-link{background:#214eb8;color:#fff;border-radius:10px;padding:12px 16px;font-size:13px}#amoon-3d #a3-object-list label{display:flex;justify-content:space-between;gap:12px;align-items:center;font-size:13px;border-bottom:1px solid #eef1f6;padding:9px 0}#amoon-3d #a3-object-list span{overflow-wrap:anywhere}#amoon-3d #a3-object-list small{font-size:11px;color:var(--a3-muted)}#amoon-3d .a3-footer{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;font-size:11px;color:#6d7f99;letter-spacing:1px;padding:18px 0}#amoon-3d .a3-footer span{letter-spacing:0}#amoon-3d .a3-toast{position:fixed;bottom:110px;left:50%;transform:translateX(-50%);max-width:min(500px,90vw);background:#153457;color:#fff;border-radius:12px;padding:12px 22px;z-index:999999;font-size:13px;box-shadow:0 8px 25px #0003}#amoon-3d #a3-viewer-wrap:fullscreen{width:100vw;height:100vh;background:#e9eff7;border-radius:0}#amoon-3d #a3-viewer-wrap:fullscreen:after{content:'Press Esc to leave fullscreen';position:absolute;top:20px;left:20px;color:#234;font-size:13px}
@media(max-width:1200px){#amoon-3d .a3-library-grid{grid-template-columns:repeat(3,minmax(0,1fr))}#amoon-3d .a3-workspace{grid-template-columns:minmax(310px,.8fr) minmax(0,1fr)}#amoon-3d .a3-panel{padding:18px}}
@media(max-width:920px){#amoon-3d{padding:16px 14px 110px}#amoon-3d .a3-workspace{grid-template-columns:1fr}#amoon-3d .a3-intro{align-items:flex-start;flex-direction:column;gap:15px}#amoon-3d .a3-result{margin-top:-6px}#amoon-3d .a3-viewer-wrap{height:440px}#amoon-3d .a3-library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:540px){#amoon-3d .a3-top{gap:14px}#amoon-3d .a3-top nav{width:100%;gap:5px}#amoon-3d .a3-top nav button,#amoon-3d .a3-top nav a{font-size:11px;padding:7px 9px;min-height:34px}#amoon-3d .a3-panel{padding:16px;border-radius:16px}#amoon-3d .a3-viewer-wrap{height:330px}#amoon-3d .a3-worker-list{grid-template-columns:1fr}#amoon-3d .a3-library-grid{gap:9px}#amoon-3d .a3-history-card img{height:110px}#amoon-3d .a3-history-card>div{padding:10px}#amoon-3d .a3-downloads a{font-size:12px;padding:11px}#amoon-3d .a3-mode b{font-size:12px}#amoon-3d .a3-mode small{font-size:10px}}

#amoon-3d .a3-brand img{width:78px;height:40px;background:#14233e;border-radius:8px;padding:9px;object-fit:contain;}
@media(max-width:540px){#amoon-3d .a3-engines{grid-template-columns:1fr}#amoon-3d .a3-mode b{font-size:13px}#amoon-3d .a3-mode small{font-size:11px}#amoon-3d .a3-top nav button,#amoon-3d .a3-top nav a{font-size:12px}}

/* 1.0.1 — Inline converted-file viewer. No global navigation/layout overrides. */
#amoon-3d #a3-result{scroll-margin-top:24px;outline:none}
#amoon-3d .a3-preview-shell{border:1px solid #ccd8e9;border-radius:15px;overflow:hidden;background:#f4f7fc;min-width:0}
#amoon-3d .a3-preview-topbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;background:#f8faff;border-bottom:1px solid #dae4f0}
#amoon-3d .a3-preview-title{display:flex;gap:9px;align-items:center;flex-wrap:wrap;min-width:0}
#amoon-3d .a3-preview-title>b{font-size:13px;font-weight:650;overflow-wrap:anywhere;line-height:1.4}
#amoon-3d .a3-preview-status{font-size:11px;font-weight:700;border-radius:30px;padding:4px 9px;white-space:nowrap;color:#4e6079;background:#e8edf5}
#amoon-3d [data-state=ready] .a3-preview-status{color:#146642;background:#ddf4e7}
#amoon-3d [data-state=loading] .a3-preview-status,#amoon-3d [data-state=waiting] .a3-preview-status{color:#214daa;background:#e4ecff}
#amoon-3d [data-state=error] .a3-preview-status{color:#89243a;background:#ffe1e5}
#amoon-3d .a3-preview-shell .a3-viewer-wrap{border:0;border-radius:0;height:clamp(330px,42vw,560px);background:#09101c}
#amoon-3d .a3-preview-shell #a3-viewer{background:#09101c;cursor:grab;outline-offset:-4px}
#amoon-3d .a3-preview-shell #a3-viewer:active{cursor:grabbing}
#amoon-3d .a3-preview-shell:not([data-state=ready]) #a3-viewer{opacity:0}
#amoon-3d .a3-preview-shell .a3-empty{color:#e9f0ff;padding:26px 22px 65px;gap:10px}
#amoon-3d .a3-preview-shell .a3-empty h3{max-width:440px;color:#e9f0ff;font-size:20px;line-height:1.3}
#amoon-3d .a3-preview-shell .a3-empty p{color:#a5b6ce;max-width:390px;font-size:13px;line-height:1.65}
#amoon-3d .a3-preview-shell .a3-empty>span{font-size:54px;line-height:1.2;color:#7993be}
#amoon-3d .a3-load-progress{width:min(320px,90%)}
#amoon-3d .a3-load-progress progress{height:8px;margin:12px 0 5px}
#amoon-3d .a3-load-progress small{font-size:12px;color:#b6c8e2}
#amoon-3d .a3-view-orientation{position:absolute;right:12px;bottom:12px;display:flex;gap:5px}
#amoon-3d .a3-view-orientation button{font-size:12px;min-height:34px;padding:6px 9px;background:#f7faff;color:#21344e;border-color:#c7d6eb;border-radius:8px}
#amoon-3d .a3-view-orientation button:disabled{opacity:.40;cursor:default}
#amoon-3d .a3-preview-shell #a3-viewer-error{position:absolute;top:12px;left:12px;right:12px;bottom:auto;max-height:140px;overflow:auto;z-index:1;margin:0;box-shadow:0 3px 12px #0002}
#amoon-3d [data-state=error] .a3-empty{padding-top:135px}
#amoon-3d .a3-preview-shell .a3-viewer-tools{margin:0;padding:12px;border-top:1px solid #dbe4f0;gap:7px;background:#f7faff}
#amoon-3d .a3-preview-shell .a3-viewer-tools button{font-size:13px;padding:8px 11px;min-height:39px}
#amoon-3d .a3-preview-shell button:disabled{cursor:default}
#amoon-3d .a3-preview-shell .a3-viewer-tools button[aria-pressed=true]{background:#214eb8;color:#fff;border-color:#214eb8}
#amoon-3d .a3-preview-meta{display:flex;flex-wrap:wrap;justify-content:space-between;gap:5px 12px;padding:0 14px 12px;color:#586b85;font-size:11px;line-height:1.5}
#amoon-3d .a3-preview-meta>span:first-child{font-weight:650;color:#314968}
#amoon-3d .a3-preview-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
#amoon-3d .a3-preview-actions button{font-size:13px;min-height:42px}
#amoon-3d #a3-open-model{background:#edf3ff;border-color:#b4caee;color:#234d9c;font-weight:650}
#amoon-3d #a3-object-count{font-weight:500;color:#63748a}
#amoon-3d #a3-object-list{max-height:300px;overflow:auto;margin-top:8px}
#amoon-3d #a3-show-all{font-size:12px;min-height:34px;padding:5px 10px;margin-top:12px}
#amoon-3d #a3-object-list input{width:17px;height:17px;vertical-align:middle;accent-color:#2258d6}
#amoon-3d #a3-object-list small{flex-shrink:0}
#amoon-3d .a3-preview-shell.a3-model-dragover{outline:3px solid #427ced;outline-offset:-3px}
#amoon-3d #a3-preview-shell:fullscreen,#amoon-3d #a3-preview-shell.a3-expanded{display:grid;grid-template-rows:auto minmax(0,1fr) auto auto;width:100%;height:100vh;height:100dvh;max-width:none;max-height:none;border:0;border-radius:0;background:#f4f7fc}
#amoon-3d #a3-preview-shell.a3-expanded{position:fixed;inset:0;z-index:2147483000}
#amoon-3d #a3-preview-shell:fullscreen .a3-viewer-wrap,#amoon-3d #a3-preview-shell.a3-expanded .a3-viewer-wrap{height:100%;min-height:0}
#amoon-3d #a3-preview-shell:fullscreen .a3-preview-topbar,#amoon-3d #a3-preview-shell.a3-expanded .a3-preview-topbar{padding-top:max(12px,env(safe-area-inset-top));padding-left:max(14px,env(safe-area-inset-left));padding-right:max(14px,env(safe-area-inset-right))}
#amoon-3d #a3-preview-shell:fullscreen .a3-preview-meta,#amoon-3d #a3-preview-shell.a3-expanded .a3-preview-meta{padding-bottom:max(12px,env(safe-area-inset-bottom))}
#amoon-3d button.a3-close-full{flex-shrink:0;background:#17375e;color:#fff;border-color:#17375e;padding:8px 14px;font-size:13px;min-height:40px}
@media(max-width:540px){
 #amoon-3d .a3-preview-shell .a3-viewer-wrap{height:340px}
 #amoon-3d .a3-preview-topbar{padding:10px}
 #amoon-3d .a3-preview-title{gap:6px}
 #amoon-3d .a3-preview-title>b{font-size:12px}
 #amoon-3d .a3-preview-shell .a3-viewer-tools{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:9px;gap:6px}
 #amoon-3d .a3-preview-shell .a3-viewer-tools button{font-size:12px;min-height:42px;padding:6px 3px;line-height:1.3;overflow-wrap:normal}
 #amoon-3d .a3-preview-shell .a3-empty h3{font-size:19px}
 #amoon-3d .a3-preview-shell .a3-empty p{font-size:12px}
 #amoon-3d .a3-preview-meta{font-size:11px;padding:0 11px 10px}
 #amoon-3d .a3-preview-actions button{font-size:12px}
 #amoon-3d #a3-result{scroll-margin-top:12px}
}

/* Final 1.23.26 upload-preview sizing follows every legacy density rule. */
@media(min-width:1260px){
  #amoon-3d .a3-capture-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important}
  #amoon-3d .a3-angle-grid>label.has-file{min-height:82px!important}
  #amoon-3d .a3-angle-preview{height:42px!important;border-radius:6px!important}
}
@media(min-width:601px) and (max-width:980px){
  #amoon-3d .a3-angle-grid>label.has-file{min-height:86px!important}
  #amoon-3d .a3-angle-preview{height:46px!important;border-radius:6px!important}
}
@media(max-width:600px){
  #amoon-3d .a3-angle-grid label.has-file{min-height:122px!important}
  #amoon-3d .a3-angle-preview{height:72px!important}
}

/* 1.22.13 — surface switching, denser no-scroll cockpit and four-side intake. */
#amoon-3d .a3-moodboard-capture{display:grid;grid-template-columns:minmax(230px,1.35fr) minmax(210px,.65fr);gap:10px;align-items:center;margin:10px 0;padding:10px;border:1px solid rgba(212,162,46,.42);border-radius:12px;background:rgba(242,205,111,.08)}
#amoon-3d .a3-moodboard-capture[hidden]{display:none!important}
#amoon-3d .a3-moodboard-capture>label:not(.a3-upload){font-weight:800}
#amoon-3d .a3-moodboard-capture>p{grid-column:1/-1;margin:0}
#amoon-3d .a3-moodboard-capture>.a3-license-note{grid-column:1/-1;font-size:9px;line-height:1.35;color:var(--a3-muted)}
#amoon-3d .a3-moodboard-upload{margin:0!important}
#amoon-3d[data-surface="library"] .a3-studio-nav [data-a3-surface="library"],#amoon-3d[data-surface="workers"] .a3-studio-nav [data-a3-surface="workers"]{background:linear-gradient(135deg,#f7df99,#d6a333)!important;color:#17121f!important;-webkit-text-fill-color:#17121f!important}
@media(min-width:1260px){
  #amoon-3d{padding-bottom:8px!important}
  #amoon-3d .a3-capture-grid{grid-template-columns:repeat(6,minmax(0,1fr))!important}
  #amoon-3d .a3-panel{padding:9px!important;margin-bottom:7px!important}
  #amoon-3d .a3-heading{margin-bottom:5px!important}
  #amoon-3d .a3-capture-card{min-height:68px!important;padding:5px 4px!important}
  #amoon-3d .a3-capture-icon{width:25px!important;height:25px!important;font-size:13px!important}
  #amoon-3d .a3-upload{min-height:50px!important;padding:5px 8px!important}
  #amoon-3d .a3-multi-capture{margin:6px 0!important;padding:7px!important;border-radius:10px!important}
  #amoon-3d .a3-multi-capture h3{font-size:11px!important;margin:0!important}
  #amoon-3d .a3-multi-capture .a3-inline{gap:6px!important}
  #amoon-3d .a3-angle-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:5px!important;margin:5px 0!important}
  #amoon-3d .a3-angle-grid>label{min-height:62px!important;padding:5px!important;border-radius:8px!important}
  #amoon-3d .a3-angle-grid b{font-size:9px!important}#amoon-3d .a3-angle-grid span{font-size:7px!important}#amoon-3d .a3-angle-grid small{font-size:6.5px!important}
  #amoon-3d .a3-capture-quality{padding:5px 7px!important;margin:5px 0!important;font-size:8px!important;line-height:1.3!important}
  #amoon-3d .a3-capture-quality p{display:inline;margin:0 0 0 6px!important}
  #amoon-3d .a3-honest-note{margin:4px 0 0!important;font-size:7.5px!important;line-height:1.3!important}
  #amoon-3d .a3-moodboard-capture{grid-template-columns:minmax(0,1.5fr) minmax(180px,.5fr);gap:6px;margin:5px 0;padding:6px}
  #amoon-3d .a3-moodboard-capture>.a3-license-note{font-size:7px!important;line-height:1.25!important}
  #amoon-3d .a3-moodboard-capture .a3-upload{min-height:44px!important}
  #amoon-3d .a3-moodboard-capture>p{display:none}
  #amoon-3d .a3-settings-block{margin-top:5px!important;padding-top:5px!important}
  #amoon-3d .a3-row{margin:5px 0!important}
  #amoon-3d .a3-preview-shell .a3-viewer-wrap{height:clamp(190px,24vh,245px)!important}
  #amoon-3d #a3-result>.a3-small{display:none}
  #amoon-3d .a3-downloads{gap:5px!important;margin:5px 0!important}
  #amoon-3d .a3-downloads a{min-height:46px!important;padding:7px 9px!important;font-size:10px!important}
  #amoon-3d .a3-service-actions{padding:6px!important;gap:4px!important;margin:5px 0!important}
  #amoon-3d .a3-service-actions button{min-height:28px!important;padding:4px 7px!important;font-size:8px!important}
  #amoon-3d #a3-result>.a3-job{padding:7px!important;margin:5px 0!important}
  #amoon-3d .a3-model-info{grid-template-columns:repeat(6,minmax(0,1fr))!important}
  #amoon-3d[data-surface="studio"] .a3-footer{display:none!important}
}

/* 1.23.27 — unfolded phone/Fold cockpit. Keep the desktop relationship:
   compact controls on the left and the live 3D result on the right. */
@media(min-width:560px) and (max-width:980px){
  #amoon-3d{padding:0 8px 42px!important;font-size:11px!important}
  #amoon-3d .a3-top{margin:0 -8px!important;padding:7px 10px!important;gap:7px!important;flex-wrap:nowrap!important}
  #amoon-3d .a3-brand{font-size:12px!important;gap:5px!important}#amoon-3d .a3-brand img{width:52px!important;height:30px!important;padding:5px!important}#amoon-3d .a3-brand small{display:none!important}
  #amoon-3d .a3-top nav{gap:3px!important;flex-wrap:nowrap!important;font-size:8px!important}#amoon-3d .a3-top nav a,#amoon-3d .a3-top nav button{min-height:27px!important;padding:3px 5px!important;font-size:8px!important}
  #amoon-3d .a3-intro{display:none!important}
  #amoon-3d .a3-studio-nav{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:4px!important;padding:5px 0!important;overflow:visible!important}
  #amoon-3d .a3-studio-nav a,#amoon-3d .a3-studio-nav button{min-width:0!important;min-height:31px!important;padding:3px!important;font-size:8px!important;line-height:1.1!important}#amoon-3d .a3-studio-nav small{display:none!important}
  #amoon-3d .a3-engine-health{margin:5px 0!important;padding:6px 8px!important;min-height:42px!important;gap:6px!important;flex-direction:row!important;align-items:center!important;border-radius:9px!important}
  #amoon-3d .a3-engine-state{gap:7px!important;flex:1 1 auto!important}#amoon-3d .a3-engine-state small{font-size:7px!important;margin:0!important}#amoon-3d .a3-engine-state b{font-size:9px!important}#amoon-3d .a3-engine-state p{font-size:7px!important;margin:1px 0 0!important;line-height:1.2!important}
  #amoon-3d .a3-engine-actions{display:flex!important;width:auto!important;flex:0 0 auto!important;gap:3px!important;flex-wrap:nowrap!important}#amoon-3d .a3-engine-actions button,#amoon-3d .a3-engine-actions a{min-height:27px!important;padding:3px 5px!important;font-size:7px!important;border-radius:6px!important}
  #amoon-3d .a3-flow{position:static!important;margin:5px 0 7px!important;min-height:30px!important;border-radius:8px!important}#amoon-3d .a3-flow button{min-height:30px!important;padding:3px!important;font-size:8px!important}#amoon-3d .a3-flow button span{width:20px!important;height:20px!important;font-size:8px!important}
  #amoon-3d .a3-workspace{display:grid!important;grid-template-columns:minmax(0,.94fr) minmax(0,1.06fr)!important;gap:7px!important;align-items:start!important}
  #amoon-3d .a3-panel{padding:7px!important;margin-bottom:7px!important;border-radius:10px!important}
  #amoon-3d .a3-result{position:sticky!important;top:7px!important;align-self:start!important;max-height:none!important;overflow:visible!important}
  #amoon-3d .a3-heading{gap:5px!important;margin-bottom:5px!important}#amoon-3d .a3-heading h2{font-size:13px!important}#amoon-3d .a3-heading p{font-size:7px!important;margin-top:0!important;line-height:1.25!important}#amoon-3d .a3-step{width:24px!important;height:24px!important;flex-basis:24px!important;font-size:8px!important;border-radius:7px!important}
  #amoon-3d .a3-field{margin-bottom:5px!important;font-size:8px!important}#amoon-3d .a3-section-title{font-size:9px!important;margin:3px 0!important}
  #amoon-3d input:not([type=radio]):not([type=checkbox]):not([type=file]),#amoon-3d select{height:29px!important;margin-top:2px!important;padding:3px 6px!important;font-size:9px!important;border-radius:7px!important}
  #amoon-3d .a3-capture-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:3px!important;margin:4px 0!important}
  #amoon-3d .a3-capture-card{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;min-height:52px!important;padding:3px 2px!important;gap:1px!important;border-radius:7px!important;text-align:center!important}#amoon-3d .a3-capture-card .a3-capture-icon{width:20px!important;height:20px!important;font-size:11px!important}#amoon-3d .a3-capture-card b{font-size:7px!important;line-height:1.1!important}#amoon-3d .a3-capture-card small,#amoon-3d .a3-capture-card em{display:none!important}
  #amoon-3d .a3-upload{min-height:42px!important;padding:4px!important;gap:0!important;border-radius:7px!important}#amoon-3d .a3-upload>span{font-size:14px!important}#amoon-3d .a3-upload b{font-size:8px!important}#amoon-3d .a3-upload small{font-size:6px!important}
  #amoon-3d .a3-multi-capture{margin:4px 0!important;padding:5px!important;border-radius:8px!important}#amoon-3d .a3-multi-capture h3{font-size:10px!important}#amoon-3d .a3-multi-capture .a3-small{font-size:6.5px!important;line-height:1.25!important;margin:2px 0!important}#amoon-3d .a3-capture-score{font-size:8px!important;padding:4px 6px!important}
  #amoon-3d .a3-moodboard-capture{grid-template-columns:minmax(0,1.25fr) minmax(105px,.75fr)!important;gap:4px!important;margin:4px 0!important;padding:4px!important}#amoon-3d .a3-moodboard-capture>p,#amoon-3d .a3-license-note{display:none!important}
  #amoon-3d .a3-angle-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:3px!important;margin:4px 0!important}#amoon-3d .a3-angle-grid label{min-height:54px!important;padding:3px!important;gap:1px!important;border-radius:6px!important}#amoon-3d .a3-angle-grid b{font-size:7px!important}#amoon-3d .a3-angle-grid>label>span{font-size:5.5px!important}#amoon-3d .a3-angle-grid small{font-size:5.5px!important}#amoon-3d .a3-angle-preview{height:34px!important;min-height:34px!important;border-radius:4px!important;object-fit:contain!important}#amoon-3d .a3-angle-quality{gap:2px!important}#amoon-3d .a3-angle-quality strong{font-size:7px!important}#amoon-3d .a3-angle-quality span{font-size:5px!important}
  #amoon-3d .a3-capture-quality{padding:4px!important;margin:3px 0!important;font-size:6.5px!important}#amoon-3d .a3-capture-quality p{display:inline!important;font-size:6.5px!important;margin-right:5px!important}
  #amoon-3d #a3-image-wrap:not([hidden]){grid-template-columns:70px minmax(0,1fr)!important;margin:4px 0!important;padding:4px!important;gap:4px!important}#amoon-3d #a3-image-wrap:not(.is-scene-editor) #a3-crop{width:70px!important;height:48px!important;max-width:70px!important;max-height:48px!important}#amoon-3d #a3-image-note{font-size:7px!important;line-height:1.25!important}
  #amoon-3d .a3-settings-block{margin-top:5px!important;padding-top:5px!important}#amoon-3d .a3-settings-block .a3-heading{margin-bottom:3px!important}#amoon-3d .a3-row,#amoon-3d .a3-row.a3-four{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:4px!important;margin:3px 0!important}#amoon-3d .a3-row label{font-size:7px!important}
  #amoon-3d .a3-engine-note{font-size:6.5px!important;line-height:1.25!important;padding:4px 5px!important;margin:3px 0!important;max-height:34px!important;overflow:hidden!important}#amoon-3d details{margin-top:4px!important;padding-top:4px!important}#amoon-3d summary{font-size:8px!important}
  #amoon-3d .a3-generate-wrap{margin:4px 0!important;gap:5px!important}#amoon-3d .a3-generate-wrap b{font-size:9px!important}#amoon-3d .a3-generate-wrap small{display:none!important}#amoon-3d .a3-generate{min-height:31px!important;margin-top:3px!important;padding:4px 7px!important;font-size:9px!important;border-radius:8px!important}#amoon-3d #a3-submit-note{font-size:6.5px!important;line-height:1.2!important;margin:3px 0!important}
  #amoon-3d .a3-preview-topbar{padding:5px 6px!important}#amoon-3d .a3-preview-title>b{font-size:9px!important}#amoon-3d .a3-preview-status{font-size:7px!important;padding:3px 5px!important}
  #amoon-3d .a3-preview-shell .a3-viewer-wrap{height:clamp(230px,37vh,320px)!important}#amoon-3d .a3-view-orientation{right:5px!important;bottom:5px!important;gap:3px!important}#amoon-3d .a3-view-orientation button{min-height:25px!important;padding:3px 5px!important;font-size:7px!important}
  #amoon-3d .a3-preview-shell .a3-viewer-tools{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;padding:5px!important;gap:3px!important}#amoon-3d .a3-preview-shell .a3-viewer-tools button{min-height:26px!important;padding:3px!important;font-size:7px!important}
  #amoon-3d .a3-preview-meta{padding:0 6px 5px!important;font-size:6px!important;line-height:1.2!important}#amoon-3d .a3-export-strip{margin:4px 0!important;padding:4px!important;gap:3px!important;font-size:6px!important}#amoon-3d .a3-export-strip span{padding:3px 4px!important;font-size:6px!important}
  #amoon-3d .a3-preview-actions{margin-top:4px!important;gap:3px!important}#amoon-3d .a3-preview-actions button{min-height:27px!important;padding:3px 5px!important;font-size:7px!important}#amoon-3d #a3-preview-help,#amoon-3d #a3-result>.a3-small{display:none!important}
  #amoon-3d .a3-model-info{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:3px!important;margin:4px 0!important}#amoon-3d .a3-model-info>div{padding:4px!important;border-radius:6px!important}#amoon-3d .a3-model-info small{font-size:6px!important}#amoon-3d .a3-model-info b{font-size:7px!important}
}

/* 1.23.25 — permanent contrast lock + compact fold-phone cockpit. */
html body.amoon-ai-studio-standalone #amoon-3d .a3-panel .a3-step,
html body.amoon-ai-studio-standalone #amoon-3d .a3-heading .a3-step,
html body.amoon-ai-studio-standalone #amoon-3d .a3-generate-wrap .a3-step{
  background:#211e1a!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  border-color:#211e1a!important;
  text-shadow:none!important;
}
html body.amoon-ai-studio-standalone #amoon-3d .a3-panel :is(h1,h2,h3,h4,b,strong){
  color:#1d1b18!important;
  -webkit-text-fill-color:#1d1b18!important;
}
html body.amoon-ai-studio-standalone #amoon-3d .a3-panel :is(p,small,label){
  color:#655f57!important;
  -webkit-text-fill-color:#655f57!important;
}

@media(min-width:601px) and (max-width:980px){
  #amoon-3d{padding:0 8px 55px!important}
  #amoon-3d .a3-top{margin:0 -8px!important;padding:8px 10px!important;gap:8px!important}
  #amoon-3d .a3-top nav{gap:4px!important;font-size:9px!important}
  #amoon-3d .a3-top nav a,#amoon-3d .a3-top nav button{min-height:30px!important;padding:4px 6px!important;font-size:9px!important}
  #amoon-3d .a3-studio-nav{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:4px!important;padding:6px 0 2px!important}
  #amoon-3d .a3-studio-nav a,#amoon-3d .a3-studio-nav button{min-height:38px!important;padding:4px!important;font-size:10px!important;gap:4px!important;border-radius:8px!important}
  #amoon-3d .a3-studio-nav a span,#amoon-3d .a3-studio-nav button span{font-size:13px!important}
  #amoon-3d .a3-studio-nav small{display:none!important}
  #amoon-3d .a3-intro{display:flex!important;flex-direction:row!important;align-items:center!important;padding:10px 1px 7px!important;gap:10px!important}
  #amoon-3d .a3-intro h1{font-size:29px!important;margin:3px 0 4px!important}
  #amoon-3d .a3-intro p{font-size:12px!important;line-height:1.35!important}
  #amoon-3d .a3-eyebrow{font-size:8px!important}
  #amoon-3d .a3-intro-side{min-width:150px!important;gap:4px!important}
  #amoon-3d .a3-value-badge,#amoon-3d .a3-pill{padding:5px 8px!important;font-size:9px!important}
  #amoon-3d .a3-engine-health{flex-direction:row!important;align-items:center!important;margin:5px 0!important;padding:7px 9px!important;gap:7px!important;border-radius:9px!important}
  #amoon-3d .a3-engine-state{gap:7px!important}#amoon-3d .a3-engine-state b{font-size:11px!important}#amoon-3d .a3-engine-state p{font-size:8px!important;line-height:1.25!important}
  #amoon-3d .a3-engine-actions{width:auto!important;display:flex!important;gap:4px!important}
  #amoon-3d .a3-engine-actions button,#amoon-3d .a3-engine-actions a{min-height:29px!important;padding:4px 6px!important;font-size:8px!important}
  #amoon-3d .a3-flow{margin:5px 0 7px!important;min-height:36px!important;border-radius:9px!important}
  #amoon-3d .a3-flow button{min-height:36px!important;padding:4px!important;font-size:9px!important}
  #amoon-3d .a3-flow button span{width:21px!important;height:21px!important;font-size:9px!important}
  #amoon-3d .a3-panel{padding:10px!important;margin-bottom:8px!important;border-radius:11px!important}
  #amoon-3d .a3-heading{gap:7px!important;margin-bottom:7px!important}#amoon-3d .a3-heading h2{font-size:17px!important}#amoon-3d .a3-heading p{font-size:9px!important;margin-top:1px!important}
  #amoon-3d .a3-step{width:28px!important;height:28px!important;flex-basis:28px!important;font-size:9px!important}
  #amoon-3d .a3-field{margin-bottom:7px!important}#amoon-3d .a3-section-title{font-size:11px!important;margin:4px 0!important}
  #amoon-3d input:not([type=radio]):not([type=checkbox]):not([type=file]),#amoon-3d select{height:34px!important;margin-top:3px!important;padding:5px 7px!important;font-size:11px!important}
  #amoon-3d .a3-capture-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:5px!important;margin:5px 0 7px!important}
  #amoon-3d .a3-capture-card{min-height:74px!important;padding:6px 4px!important;gap:2px!important;border-radius:8px!important}
  #amoon-3d .a3-capture-card .a3-capture-icon{width:25px!important;height:25px!important;font-size:13px!important}
  #amoon-3d .a3-capture-card b{font-size:9px!important;line-height:1.1!important}#amoon-3d .a3-capture-card small{font-size:7px!important;line-height:1.15!important}#amoon-3d .a3-capture-card em{display:none!important}
  #amoon-3d .a3-upload{min-height:48px!important;padding:5px 7px!important;gap:0!important;border-radius:8px!important}#amoon-3d .a3-upload>span{font-size:16px!important}#amoon-3d .a3-upload b{font-size:10px!important}#amoon-3d .a3-upload small{font-size:7px!important}
  #amoon-3d .a3-multi-capture{margin:5px 0!important;padding:6px!important;border-radius:9px!important}
  #amoon-3d .a3-multi-capture h3{font-size:11px!important}#amoon-3d .a3-multi-capture .a3-small{font-size:8px!important;line-height:1.3!important;margin:2px 0!important}
  #amoon-3d .a3-capture-score{min-width:58px!important;min-height:27px!important;padding:3px 6px!important;font-size:9px!important}
  #amoon-3d .a3-moodboard-capture{grid-template-columns:minmax(0,1.3fr) minmax(155px,.7fr)!important;gap:5px!important;margin:4px 0!important;padding:5px!important}
  #amoon-3d .a3-moodboard-capture>p{display:none!important}#amoon-3d .a3-moodboard-capture>.a3-license-note{font-size:6px!important;line-height:1.2!important}
  #amoon-3d .a3-angle-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:5px!important;margin:5px 0!important}
  #amoon-3d .a3-angle-grid label{min-height:68px!important;padding:6px!important;border-radius:8px!important;gap:2px!important}
  #amoon-3d .a3-angle-grid b{font-size:9px!important}#amoon-3d .a3-angle-grid span{font-size:7px!important}#amoon-3d .a3-angle-grid small{font-size:7px!important}
  #amoon-3d .a3-capture-quality{padding:5px 7px!important;margin:4px 0!important;font-size:8px!important;line-height:1.25!important}
  #amoon-3d .a3-capture-quality p{display:inline!important;margin-left:5px!important}
  #amoon-3d .a3-settings-block{margin-top:7px!important;padding-top:7px!important}
  #amoon-3d .a3-row{gap:6px!important;margin:5px 0!important}#amoon-3d .a3-row.a3-four{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  #amoon-3d .a3-row label,#amoon-3d .a3-field{font-size:9px!important}
  #amoon-3d .a3-engine-note{font-size:8px!important;line-height:1.3!important;padding:5px 7px!important;margin:3px 0!important}
  #amoon-3d details{margin-top:6px!important;padding-top:5px!important}#amoon-3d summary{font-size:9px!important}
  #amoon-3d .a3-generate-wrap{margin:5px 0!important}#amoon-3d .a3-generate-wrap small{font-size:8px!important}
  #amoon-3d .a3-generate{min-height:38px!important;margin-top:4px!important;padding:7px 10px!important;font-size:12px!important}
  #amoon-3d #a3-submit-note{font-size:7px!important;margin:4px 0!important}
}
@media(max-width:760px){#amoon-3d .a3-moodboard-capture{grid-template-columns:1fr}#amoon-3d .a3-moodboard-capture>p{grid-column:auto}}
@media(prefers-reduced-motion:reduce){#amoon-3d *{scroll-behavior:auto}}

/* 1.0.3 — lock 3D Pro to a readable Universe palette.
   High specificity prevents the global platform theme from painting light text
   onto the original white form surfaces. */
html body.amoon-ai-studio-standalone #amoon-3d{
 --a3-ink:#f6f2ff!important;
 --a3-muted:#bdb3cf!important;
 --a3-line:rgba(206,179,255,.22)!important;
 --a3-surface:#171326!important;
 --a3-blue:#e4b94f!important;
 --a3-wash:#100d1c!important;
 color:#f6f2ff!important;
 color-scheme:dark;
}
html body.amoon-ai-studio-standalone #amoon-3d :is(h1,h2,h3,h4,b,strong,label,summary){color:#f6f2ff!important;text-shadow:none!important}
html body.amoon-ai-studio-standalone #amoon-3d :is(p,small,.a3-small,.a3-field,.a3-row label,.a3-viewer-tools span){color:#bdb3cf!important}
html body.amoon-ai-studio-standalone #amoon-3d .a3-eyebrow{color:#e7bd55!important}
html body.amoon-ai-studio-standalone #amoon-3d :is(.a3-top,.a3-panel,.a3-preview-shell,.a3-history-card,.a3-worker-card){border-color:rgba(206,179,255,.22)!important}
html body.amoon-ai-studio-standalone #amoon-3d .a3-panel{background:linear-gradient(155deg,#1a152b,#12101f)!important;box-shadow:0 16px 46px rgba(0,0,0,.30)!important}
html body.amoon-ai-studio-standalone #amoon-3d .a3-heading{border-color:rgba(206,179,255,.15)!important}
html body.amoon-ai-studio-standalone #amoon-3d .a3-step{background:rgba(184,121,255,.17)!important;color:#efdfff!important;border:1px solid rgba(207,172,255,.24)!important}
html body.amoon-ai-studio-standalone #amoon-3d :is(input:not([type=radio]):not([type=checkbox]):not([type=file]),select){background:#0e0c18!important;color:#f7f3ff!important;border-color:rgba(206,179,255,.25)!important;box-shadow:none!important;-webkit-text-fill-color:#f7f3ff!important}
html body.amoon-ai-studio-standalone #amoon-3d select option{background:#151120!important;color:#f7f3ff!important}
html body.amoon-ai-studio-standalone #amoon-3d :is(input,select,button,a):focus-visible{outline:3px solid rgba(232,190,84,.62)!important;outline-offset:3px!important}
html body.amoon-ai-studio-standalone #amoon-3d input::placeholder{color:#8d849f!important;opacity:1!important}
html body.amoon-ai-studio-standalone #amoon-3d .a3-mode label{background:#100d1c!important;border-color:rgba(206,179,255,.22)!important;color:#f6f2ff!important}
html body.amoon-ai-studio-standalone #amoon-3d .a3-mode label:has(input:checked){background:linear-gradient(135deg,rgba(126,74,190,.34),rgba(48,31,78,.72))!important;border-color:#c395ff!important;box-shadow:0 0 0 1px rgba(195,149,255,.18) inset!important}
html body.amoon-ai-studio-standalone #amoon-3d :is(input[type=radio],input[type=checkbox]){accent-color:#e2b84f!important}
html body.amoon-ai-studio-standalone #amoon-3d .a3-upload{background:linear-gradient(145deg,#100d1c,#181229)!important;border-color:#8568ae!important;color:#f6f2ff!important}
html body.amoon-ai-studio-standalone #amoon-3d .a3-upload:hover,
html body.amoon-ai-studio-standalone #amoon-3d .a3-upload.dragover{background:#211635!important;border-color:#e3b950!important}
html body.amoon-ai-studio-standalone #amoon-3d .a3-upload>span{color:#e5b950!important}
html body.amoon-ai-studio-standalone #amoon-3d :is(.a3-engine-note,.a3-job,.a3-part,.a3-admin){background:#0f0d1a!important;color:#c9bfd8!important;border:1px solid rgba(206,179,255,.16)!important}
html body.amoon-ai-studio-standalone #amoon-3d details{border-color:rgba(206,179,255,.18)!important}
html body.amoon-ai-studio-standalone #amoon-3d button{background:#211a31!important;color:#f6f2ff!important;border-color:rgba(206,179,255,.28)!important;-webkit-text-fill-color:#f6f2ff!important}
html body.amoon-ai-studio-standalone #amoon-3d button:hover{background:#302341!important;border-color:#d5adff!important}
html body.amoon-ai-studio-standalone #amoon-3d button:disabled{color:#948aa7!important;-webkit-text-fill-color:#948aa7!important;opacity:.72!important}
html body.amoon-ai-studio-standalone #amoon-3d .a3-generate{background:linear-gradient(135deg,#ffe499,#d5a53a)!important;color:#171109!important;-webkit-text-fill-color:#171109!important;border:0!important;box-shadow:0 10px 30px rgba(213,165,58,.20)!important}
html body.amoon-ai-studio-standalone #amoon-3d .a3-generate:hover{background:linear-gradient(135deg,#ffebae,#e1b44d)!important}
html body.amoon-ai-studio-standalone #amoon-3d .a3-pill{background:#171326!important;color:#ded5eb!important;border-color:rgba(206,179,255,.25)!important}
html body.amoon-ai-studio-standalone #amoon-3d .a3-pill.online{background:rgba(38,183,116,.13)!important;color:#79e4ad!important;border-color:rgba(72,213,145,.34)!important}
html body.amoon-ai-studio-standalone #amoon-3d .a3-brand{color:#f6f2ff!important}
html body.amoon-ai-studio-standalone #amoon-3d .a3-brand img{background:#100d1c!important;border:1px solid rgba(226,184,78,.25)!important}
html body.amoon-ai-studio-standalone #amoon-3d .a3-top nav a{color:#e8c66d!important}
html body.amoon-ai-studio-standalone #amoon-3d .a3-notice{background:#29200f!important;border-color:#6d5621!important;color:#f0d78f!important}
html body.amoon-ai-studio-standalone #amoon-3d .a3-error{background:#32141d!important;border-color:#7b3044!important;color:#ffb7c4!important}
html body.amoon-ai-studio-standalone #amoon-3d :is(.a3-preview-shell,.a3-preview-topbar,.a3-preview-shell .a3-viewer-tools){background:#0f0d19!important;border-color:rgba(206,179,255,.18)!important}
html body.amoon-ai-studio-standalone #amoon-3d .a3-preview-status{background:#282135!important;color:#d8cee6!important}
html body.amoon-ai-studio-standalone #amoon-3d [data-state=ready] .a3-preview-status{background:#143223!important;color:#8ce2b5!important}
html body.amoon-ai-studio-standalone #amoon-3d .a3-preview-meta{color:#aaa0bc!important;background:#0f0d19!important}
html body.amoon-ai-studio-standalone #amoon-3d .a3-preview-meta>span:first-child{color:#e1d9ed!important}
html body.amoon-ai-studio-standalone #amoon-3d .a3-view-orientation button{background:rgba(19,24,36,.92)!important;color:#eef3ff!important;border-color:#51627d!important}
html body.amoon-ai-studio-standalone #amoon-3d :is(.a3-history-card,.a3-worker-card){background:#100d1b!important}
html body.amoon-ai-studio-standalone #amoon-3d .a3-history-card img{background:#090711!important}
html body.amoon-ai-studio-standalone #amoon-3d .a3-downloads a{background:#211a31!important;color:#eadfff!important;border-color:rgba(206,179,255,.28)!important}
html body.amoon-ai-studio-standalone #amoon-3d .a3-downloads a:first-child,
html body.amoon-ai-studio-standalone #amoon-3d .a3-primary-link{background:linear-gradient(135deg,#8a4fd0,#5e2d9e)!important;color:#fff!important;border-color:transparent!important}
html body.amoon-ai-studio-standalone #amoon-3d .a3-footer{color:#a99ebc!important;border-top:1px solid rgba(206,179,255,.14)!important}
@media(max-width:920px){html body.amoon-ai-studio-standalone #amoon-3d{padding-top:106px!important}}
@media(max-width:540px){html body.amoon-ai-studio-standalone #amoon-3d{padding-left:12px!important;padding-right:12px!important}html body.amoon-ai-studio-standalone #amoon-3d .a3-mode{gap:10px!important}}

/* 1.0.4 — phone scrolling must continue when a swipe starts on the uploaded image. */
html body.amoon-ai-studio-standalone #amoon-3d #a3-crop{touch-action:pan-y pinch-zoom!important}

/* 1.0.7 — a phone swipe that begins over the preview scrolls the page. */
@media (hover:none),(pointer:coarse){html body.amoon-ai-studio-standalone #amoon-3d #a3-viewer{touch-action:pan-y pinch-zoom!important}}


/* 1.19.23 — history controls + truthful live telemetry. UI/status only. */
#amoon-3d .a3-live-telemetry{margin-top:9px;padding:8px 10px;border:1px solid var(--a3-line);border-radius:9px;font-size:12px;color:var(--a3-muted);background:color-mix(in srgb,var(--a3-surface) 88%,#6a8fff 12%)}
#amoon-3d .a3-build{display:inline-flex;align-items:center;border:1px solid #3fba7b66;background:#e9f9f1;color:#126941;border-radius:999px;padding:5px 9px;font-size:10px;font-weight:850;letter-spacing:.6px;white-space:nowrap}
#amoon-3d .a3-time-box{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:10px;padding:10px 12px;border:1px solid #d7b451;border-radius:10px;background:#fff8df;color:#49370b}
#amoon-3d .a3-time-box span:first-child{display:flex;align-items:baseline;gap:9px;flex-wrap:wrap}#amoon-3d .a3-time-box small{font-size:9px;font-weight:900;letter-spacing:1.2px;color:#7a5b0c}#amoon-3d .a3-time-box b{font-size:15px;color:#2c2109}#amoon-3d #a3-live-pulse{font-size:11px;font-weight:700;color:#176c49;text-align:right}
#amoon-3d .a3-live-cooking{margin-top:10px!important;padding:0!important;border:1px solid #263a31!important;border-radius:10px;overflow:hidden;background:#09110d}
#amoon-3d .a3-live-cooking summary{padding:9px 11px;color:#a9f2cb!important;background:#10241a;font-size:11px;font-weight:850;letter-spacing:.8px}#amoon-3d .a3-live-cooking summary span{color:#45db91;text-shadow:0 0 10px #45db91}
#amoon-3d #a3-live-log{max-height:168px;overflow:auto;padding:8px 11px;font:11px/1.55 ui-monospace,SFMono-Regular,Consolas,monospace;color:#c7ead6;background:#09110d}#amoon-3d #a3-live-log p{margin:0 0 5px!important;color:#c7ead6!important}#amoon-3d #a3-live-log time{color:#58d996;margin-right:7px}
#amoon-3d .a3-job.is-stalled{outline:2px solid #d89b2b55}#amoon-3d .a3-job.is-stalled .a3-live-telemetry{color:#9b5d00;background:#fff7e5;border-color:#e8c57b}
#amoon-3d .a3-history-toolbar{display:grid;grid-template-columns:minmax(150px,220px) 1fr;gap:10px 14px;align-items:end;margin:16px 0;padding:13px;border:1px solid var(--a3-line);border-radius:13px;background:color-mix(in srgb,var(--a3-surface) 94%,#6a8fff 6%)}
#amoon-3d .a3-history-toolbar>label{font-size:11px;color:var(--a3-muted);font-weight:700}#amoon-3d .a3-history-toolbar select{margin-top:4px;height:38px;font-size:13px}
#amoon-3d .a3-history-select,#amoon-3d .a3-bulk-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}#amoon-3d .a3-bulk-actions{grid-column:1/-1}
#amoon-3d .a3-history-toolbar button{min-height:35px;padding:6px 10px;font-size:12px}#amoon-3d #a3-selected-count{font-size:12px;font-weight:750;color:var(--a3-muted);padding:0 5px}
#amoon-3d button.a3-danger{color:#a62f48;border-color:#e6b8c2;background:#fff5f7}#amoon-3d button.a3-danger:hover{background:#ffe8ed;border-color:#d88a9a}
#amoon-3d .a3-history-card{position:relative;transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease}#amoon-3d .a3-history-card.is-selected{border-color:#5d83e5;box-shadow:0 0 0 2px #5d83e528}#amoon-3d .a3-history-card.is-stalled{border-color:#dda84a}
#amoon-3d .a3-card-select{position:absolute;z-index:3;top:8px;left:8px;display:flex;align-items:center;gap:5px;background:#111a2dde;color:#fff;border:1px solid #ffffff44;border-radius:999px;padding:5px 8px;font-size:10px;font-weight:750;backdrop-filter:blur(5px);cursor:pointer}#amoon-3d .a3-card-select input{width:15px;height:15px;margin:0;accent-color:#f0c34b}
#amoon-3d .a3-status-badge{display:inline-flex!important;width:auto!important;border-radius:999px;padding:3px 8px!important;margin-top:8px!important;font-weight:800!important;background:#edf1f8}#amoon-3d .a3-status-badge[data-status=running]{color:#245bc1;background:#e7efff}#amoon-3d .a3-status-badge[data-status=queued]{color:#825f0d;background:#fff4cf}#amoon-3d .a3-status-badge[data-status=cancelled]{color:#6a6170;background:#eeeaf1}#amoon-3d .a3-status-badge[data-status=failed]{color:#a82c48;background:#ffe5ea}#amoon-3d .a3-status-badge[data-status=completed]{color:#167248;background:#dff5e8}
#amoon-3d .a3-card-stage{font-weight:700;color:var(--a3-ink)!important}#amoon-3d .a3-card-live{min-height:32px;line-height:1.45}#amoon-3d .a3-card-progress{height:5px;margin:7px 0 9px}#amoon-3d .a3-card-actions{display:flex;gap:5px;flex-wrap:wrap}#amoon-3d .a3-card-actions button{font-size:10px;padding:5px 7px;min-height:30px}
#amoon-3d .a3-history-empty{grid-column:1/-1;padding:24px;text-align:center;border:1px dashed var(--a3-line);border-radius:12px}
@media(max-width:720px){#amoon-3d .a3-history-toolbar{grid-template-columns:1fr}#amoon-3d .a3-bulk-actions{grid-column:auto}#amoon-3d .a3-history-toolbar button{flex:1 1 auto}#amoon-3d .a3-history-select{justify-content:flex-start}}
@media(max-width:540px){#amoon-3d .a3-time-box{align-items:flex-start;flex-direction:column}#amoon-3d #a3-live-pulse{text-align:left}#amoon-3d .a3-build{font-size:9px}}
@media(max-width:540px){#amoon-3d .a3-card-select{top:6px;left:6px}#amoon-3d .a3-card-select span{display:none}#amoon-3d .a3-card-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}#amoon-3d .a3-card-actions button{width:100%;font-size:10px}}
html body.amoon-ai-studio-standalone #amoon-3d .a3-history-toolbar,html body.amoon-ai-studio-standalone #amoon-3d .a3-live-telemetry{background:#0f0d1a!important;border-color:rgba(206,179,255,.18)!important;color:#c9bfd8!important}
html body.amoon-ai-studio-standalone #amoon-3d .a3-build{background:#10291e!important;color:#82e8b3!important;border-color:#3fba7b66!important}
html body.amoon-ai-studio-standalone #amoon-3d .a3-time-box{background:#2a210d!important;color:#f5dfa2!important;border-color:#80682d!important}html body.amoon-ai-studio-standalone #amoon-3d .a3-time-box small{color:#d6b85d!important}html body.amoon-ai-studio-standalone #amoon-3d .a3-time-box b{color:#fff0b7!important}html body.amoon-ai-studio-standalone #amoon-3d #a3-live-pulse{color:#84e9b7!important}
html body.amoon-ai-studio-standalone #amoon-3d .a3-live-cooking{background:#09110d!important;border-color:#294b3b!important}html body.amoon-ai-studio-standalone #amoon-3d .a3-live-cooking summary{background:#10241a!important;color:#a9f2cb!important}html body.amoon-ai-studio-standalone #amoon-3d #a3-live-log{background:#09110d!important;color:#c7ead6!important}
html body.amoon-ai-studio-standalone #amoon-3d .a3-job.is-stalled .a3-live-telemetry{background:#271d0d!important;color:#ffd27a!important;border-color:#8c6524!important}
html body.amoon-ai-studio-standalone #amoon-3d .a3-status-badge[data-status=running]{background:#14254a!important;color:#a9c4ff!important}html body.amoon-ai-studio-standalone #amoon-3d .a3-status-badge[data-status=queued]{background:#33280e!important;color:#f4ce6c!important}html body.amoon-ai-studio-standalone #amoon-3d .a3-status-badge[data-status=completed]{background:#0e2d21!important;color:#77e0ae!important}html body.amoon-ai-studio-standalone #amoon-3d .a3-status-badge[data-status=failed]{background:#34131d!important;color:#ff9caf!important}html body.amoon-ai-studio-standalone #amoon-3d .a3-status-badge[data-status=cancelled]{background:#24202a!important;color:#cfc4d6!important}

/* 1.20.0 MASTER — reference-inspired workflow layout, truthful telemetry and queue controls. */
#amoon-3d .a3-flow{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin:0 0 22px;border:1px solid var(--a3-line);border-radius:16px;overflow:hidden;background:var(--a3-surface)}
#amoon-3d .a3-flow button{border:0;border-inline-end:1px solid var(--a3-line);border-radius:0;display:flex;align-items:center;justify-content:center;gap:9px;min-height:54px;background:transparent;font-size:13px;font-weight:650}
#amoon-3d .a3-flow button:last-child{border-inline-end:0}#amoon-3d .a3-flow button span{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:#e8edf6;color:#4d607d;font-size:11px;font-weight:850}
#amoon-3d .a3-flow button.is-active,#amoon-3d .a3-flow button.is-current{background:linear-gradient(135deg,#f8e8c5,#e4c17c);color:#231b10}#amoon-3d .a3-flow button.is-active span,#amoon-3d .a3-flow button.is-current span{background:#171717;color:#fff}
#amoon-3d .a3-flow button.is-done:not(.is-current){background:color-mix(in srgb,var(--a3-surface) 92%,#dfbd72 8%)}#amoon-3d .a3-flow button.is-done:not(.is-current) span{background:#d9b660;color:#17120a}
#amoon-3d .a3-section-title{font-size:14px;margin:5px 0 10px!important}
#amoon-3d .a3-capture-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:10px 0 16px}
#amoon-3d .a3-capture-card{position:relative;display:grid;grid-template-columns:36px 1fr;grid-template-rows:auto auto;gap:2px 8px;padding:13px;border:1px solid var(--a3-line);border-radius:14px;background:color-mix(in srgb,var(--a3-surface) 94%,#d9bb78 6%);cursor:pointer;min-height:82px;overflow:hidden}
#amoon-3d .a3-capture-card input{position:absolute;opacity:0;pointer-events:none}#amoon-3d .a3-capture-card:has(input:checked){border-color:#d6ae53;box-shadow:0 0 0 2px #d6ae532d;background:linear-gradient(145deg,color-mix(in srgb,var(--a3-surface) 88%,#f0d9a4 12%),color-mix(in srgb,var(--a3-surface) 96%,#fff 4%))}
#amoon-3d .a3-capture-card .a3-capture-icon{grid-row:1/3;width:34px;height:34px;border-radius:10px;display:grid;place-items:center;border:1px solid var(--a3-line);font-size:19px;align-self:center}#amoon-3d .a3-capture-card b{font-size:13px;align-self:end}#amoon-3d .a3-capture-card small{font-size:10px;line-height:1.3;color:var(--a3-muted)}#amoon-3d .a3-capture-card em{position:absolute;right:7px;top:7px;font-style:normal;font-size:8px;letter-spacing:.6px;padding:2px 5px;border-radius:20px;background:#173d2c;color:#8fe0b5}
#amoon-3d .a3-capture-card.is-disabled{opacity:.62;cursor:not-allowed;filter:saturate(.65)}#amoon-3d .a3-capture-card.is-disabled em{background:#2b2730;color:#b9aec3}
#amoon-3d .a3-settings-block{margin-top:22px;padding-top:20px;border-top:1px solid var(--a3-line);scroll-margin-top:20px}#amoon-3d .a3-subheading{margin-bottom:12px}#amoon-3d .a3-generate-wrap{display:grid;grid-template-columns:36px 1fr;gap:10px;align-items:center;margin-top:22px}#amoon-3d .a3-generate-wrap b{display:block;font-size:15px}#amoon-3d .a3-generate-wrap small{display:block;color:var(--a3-muted);font-size:11px}
#amoon-3d .a3-result{position:sticky;top:18px;align-self:start;max-height:calc(100vh - 36px);overflow:auto;scrollbar-gutter:stable}#amoon-3d .a3-result::-webkit-scrollbar{width:8px}#amoon-3d .a3-result::-webkit-scrollbar-thumb{background:#6e647744;border-radius:20px}
#amoon-3d .a3-model-info{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:0 0 12px}#amoon-3d .a3-model-info>div{padding:9px 10px;border:1px solid var(--a3-line);border-radius:10px;background:color-mix(in srgb,var(--a3-surface) 92%,#d8be84 8%);min-width:0}#amoon-3d .a3-model-info small{display:block;color:var(--a3-muted);font-size:9px;text-transform:uppercase;letter-spacing:.6px}#amoon-3d .a3-model-info b{display:block;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:2px}
#amoon-3d .a3-export-strip{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:13px 0 4px;padding:9px;border:1px solid var(--a3-line);border-radius:11px}#amoon-3d .a3-export-strip b{font-size:11px;margin-right:4px}#amoon-3d .a3-export-strip span{font-size:10px;font-weight:750;border:1px solid var(--a3-line);border-radius:7px;padding:5px 8px}
#amoon-3d .a3-history-toolbar{grid-template-columns:minmax(130px,180px) minmax(130px,180px) 1fr!important}#amoon-3d .a3-history-select{grid-column:3}#amoon-3d .a3-bulk-actions,#amoon-3d .a3-clean-actions{grid-column:1/-1;display:flex;align-items:center;gap:7px;flex-wrap:wrap}#amoon-3d .a3-clean-actions{padding-top:8px;border-top:1px dashed var(--a3-line)}#amoon-3d .a3-clean-actions>span{font-size:11px;font-weight:750;color:var(--a3-muted)}
#amoon-3d .a3-card-meta{font-size:10px!important;opacity:.84}#amoon-3d .a3-history-card[data-active="1"]{box-shadow:0 0 0 1px #e6bd55 inset}
#amoon-3d .a3-live-telemetry{display:flex;align-items:center;min-height:38px;line-height:1.45}#amoon-3d .a3-live-telemetry:before{content:'';width:8px;height:8px;border-radius:50%;background:#4dcb88;margin-right:8px;box-shadow:0 0 0 0 #4dcb8860;animation:a3pulse 1.6s infinite}#amoon-3d .a3-job.is-stalled .a3-live-telemetry:before{background:#e05468;animation:none}
@keyframes a3pulse{0%{box-shadow:0 0 0 0 #4dcb8860}70%{box-shadow:0 0 0 8px #4dcb8800}100%{box-shadow:0 0 0 0 #4dcb8800}}
html body.amoon-ai-studio-standalone #amoon-3d .a3-flow{background:#100d1b!important;border-color:rgba(206,179,255,.19)!important}html body.amoon-ai-studio-standalone #amoon-3d .a3-flow button{border-color:rgba(206,179,255,.16)!important}html body.amoon-ai-studio-standalone #amoon-3d .a3-flow button.is-current{background:linear-gradient(135deg,#f6dea1,#c99a37)!important;color:#171109!important;-webkit-text-fill-color:#171109!important}html body.amoon-ai-studio-standalone #amoon-3d .a3-flow button.is-done:not(.is-current){background:#211a2d!important}
html body.amoon-ai-studio-standalone #amoon-3d .a3-capture-card,html body.amoon-ai-studio-standalone #amoon-3d .a3-model-info>div{background:#0f0c18!important;border-color:rgba(206,179,255,.20)!important}html body.amoon-ai-studio-standalone #amoon-3d .a3-capture-card:has(input:checked){background:linear-gradient(145deg,#251b2d,#16101f)!important;border-color:#d1a94d!important}html body.amoon-ai-studio-standalone #amoon-3d .a3-export-strip{border-color:rgba(206,179,255,.20)!important;background:#0e0b17!important}
@media(max-width:1200px){#amoon-3d .a3-model-info{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:920px){#amoon-3d .a3-result{position:relative;top:auto;max-height:none;overflow:visible}#amoon-3d .a3-flow{position:sticky;top:0;z-index:20;box-shadow:0 8px 20px #0002}#amoon-3d .a3-flow button{min-height:48px;font-size:11px}#amoon-3d .a3-flow button b{display:none}#amoon-3d .a3-history-toolbar{grid-template-columns:1fr 1fr!important}#amoon-3d .a3-history-select{grid-column:1/-1}}
@media(max-width:600px){#amoon-3d .a3-capture-grid{grid-template-columns:1fr 1fr}#amoon-3d .a3-capture-card{padding:10px;grid-template-columns:28px 1fr;min-height:74px}#amoon-3d .a3-capture-card .a3-capture-icon{width:27px;height:27px;font-size:15px}#amoon-3d .a3-capture-card em{display:none}#amoon-3d .a3-model-info{grid-template-columns:repeat(2,minmax(0,1fr))}#amoon-3d .a3-flow{border-radius:12px}#amoon-3d .a3-flow button{padding:5px;gap:4px}#amoon-3d .a3-flow button span{width:25px;height:25px}#amoon-3d .a3-history-toolbar{grid-template-columns:1fr!important}#amoon-3d .a3-history-select,#amoon-3d .a3-bulk-actions,#amoon-3d .a3-clean-actions{grid-column:1}#amoon-3d .a3-history-select button,#amoon-3d .a3-bulk-actions button,#amoon-3d .a3-clean-actions button{flex:1 1 calc(50% - 7px)}}

/* 1.21.0 — MASTER MAX PEAK capture/QA foundation. Keeps the verified single-view worker path intact. */
#amoon-3d .a3-multi-capture{margin:14px 0 4px;padding:14px;border:1px solid var(--a3-line);border-radius:14px;background:color-mix(in srgb,var(--a3-surface) 94%,#d9bb78 6%)}
#amoon-3d .a3-multi-capture h3{margin:0 0 2px;font-size:15px}#amoon-3d .a3-capture-score{display:inline-grid;place-items:center;min-width:80px;min-height:36px;padding:6px 10px;border-radius:999px;border:1px solid var(--a3-line);font-weight:900;color:#d4aa42;background:color-mix(in srgb,var(--a3-surface) 88%,#d4aa42 12%)}
#amoon-3d .a3-angle-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:12px 0}
#amoon-3d .a3-angle-grid label{position:relative;display:grid;gap:5px;min-height:112px;padding:12px;border:1px dashed var(--a3-line);border-radius:12px;background:color-mix(in srgb,var(--a3-surface) 96%,#fff 4%);cursor:pointer}
#amoon-3d .a3-angle-grid label.has-file{border-style:solid;border-color:#41b978;box-shadow:0 0 0 1px #41b97822 inset}#amoon-3d .a3-angle-grid input{position:absolute;opacity:0;pointer-events:none}#amoon-3d .a3-angle-grid b{font-size:12px}#amoon-3d .a3-angle-grid span{font-size:10px;line-height:1.35;overflow-wrap:anywhere;color:var(--a3-muted)}#amoon-3d .a3-angle-grid small{align-self:end;font-size:9px;color:var(--a3-muted)}
#amoon-3d .a3-angle-preview{display:block;width:100%;height:92px;object-fit:contain;object-position:center;border-radius:8px;background:#eee9e2;border:1px solid var(--a3-line)}
#amoon-3d .a3-angle-preview[hidden]{display:none!important}
#amoon-3d .a3-angle-quality{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:4px;margin-top:1px;line-height:1.15;min-width:0}#amoon-3d .a3-angle-quality strong{color:#13824f!important;-webkit-text-fill-color:#13824f!important;font-size:11px!important;font-weight:900!important}#amoon-3d .a3-angle-quality span{color:#6d675f!important;-webkit-text-fill-color:#6d675f!important;font-size:7px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#amoon-3d .a3-angle-grid label.has-file small{color:#187148!important;-webkit-text-fill-color:#187148!important;font-weight:800}
#amoon-3d .a3-capture-quality{padding:10px 12px;border:1px solid var(--a3-line);border-radius:10px;background:color-mix(in srgb,var(--a3-surface) 92%,#4dcb88 8%)}#amoon-3d .a3-capture-quality b{display:block;margin-bottom:5px}#amoon-3d .a3-capture-quality p{margin:3px 0;font-size:10px;line-height:1.4;color:var(--a3-muted)}#amoon-3d .a3-honest-note{margin:10px 2px 0!important;padding:9px;border-inline-start:3px solid #d3ab4b}
#amoon-3d .a3-service-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:10px 0;padding:10px;border:1px solid var(--a3-line);border-radius:11px;background:color-mix(in srgb,var(--a3-surface) 94%,#65b98b 6%)}#amoon-3d .a3-service-actions[hidden]{display:none}#amoon-3d .a3-service-actions b{font-size:11px;margin-right:4px}#amoon-3d .a3-service-actions button{min-height:34px;padding:6px 9px;font-size:10px}
#amoon-3d .a3-library-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:12px 0}#amoon-3d .a3-library-stats>div{padding:9px 10px;border:1px solid var(--a3-line);border-radius:10px;background:color-mix(in srgb,var(--a3-surface) 94%,#d9bb78 6%)}#amoon-3d .a3-library-stats small{display:block;font-size:9px;text-transform:uppercase;letter-spacing:.5px;color:var(--a3-muted)}#amoon-3d .a3-library-stats b{display:block;margin-top:3px;font-size:14px}
html body.amoon-ai-studio-standalone #amoon-3d .a3-multi-capture,html body.amoon-ai-studio-standalone #amoon-3d .a3-angle-grid label,html body.amoon-ai-studio-standalone #amoon-3d .a3-capture-quality,html body.amoon-ai-studio-standalone #amoon-3d .a3-service-actions,html body.amoon-ai-studio-standalone #amoon-3d .a3-library-stats>div{background:#0f0c18!important;border-color:rgba(206,179,255,.20)!important}
@media(max-width:920px){#amoon-3d .a3-angle-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#amoon-3d .a3-library-stats{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:540px){#amoon-3d .a3-angle-grid{grid-template-columns:1fr 1fr}#amoon-3d .a3-angle-grid label{min-height:98px;padding:9px}#amoon-3d .a3-library-stats{grid-template-columns:repeat(2,minmax(0,1fr))}#amoon-3d .a3-service-actions button{flex:1 1 calc(50% - 7px)}}

/* 1.22.0 MASTER SUITE — reference-inspired product workspace.
   Layout/UI only around the verified generation core. */
#amoon-3d{
  --a3-ink:#191916;--a3-muted:#6c6a64;--a3-line:#e4ded4;--a3-surface:#ffffff;--a3-blue:#a97926;--a3-wash:#f6f3ed;--a3-gold:#c79a48;
  max-width:1560px;background:#f7f5f1;border:1px solid #e3ddd3;border-radius:28px;padding:0 22px 90px;overflow:hidden;box-shadow:0 28px 80px rgba(24,21,17,.12);color:var(--a3-ink)
}
#amoon-3d .a3-top{margin:0 -22px 0;padding:18px 26px;background:linear-gradient(135deg,#141515,#202224 70%,#151515);border:0;color:#fff;position:relative}
#amoon-3d .a3-top:after{content:'Ideas into Reality';position:absolute;right:32px;bottom:-2px;font:italic 22px/1 Georgia,serif;color:#f0dfbf;opacity:.85;pointer-events:none}
#amoon-3d .a3-brand,#amoon-3d .a3-top nav a,#amoon-3d .a3-top nav button{color:#f7f2e8!important;-webkit-text-fill-color:#f7f2e8!important}
#amoon-3d .a3-top nav button{background:transparent!important;border-color:#55504a!important}
#amoon-3d .a3-studio-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;padding:14px 0 4px}
#amoon-3d .a3-studio-nav a,#amoon-3d .a3-studio-nav button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px;border:1px solid var(--a3-line);border-radius:12px;background:#fff;color:#2a2926;text-decoration:none;font-size:13px;font-weight:750;padding:8px 10px}
#amoon-3d .a3-studio-nav a span,#amoon-3d .a3-studio-nav button span{font-size:18px}
#amoon-3d .a3-studio-nav small{font-size:8px;color:#9c9487;margin-left:3px}
#amoon-3d .a3-studio-nav .is-active{background:#eee4d4;border-color:#d4ba8b;box-shadow:inset 0 0 0 1px #e7d0a8}
#amoon-3d .a3-studio-nav button:disabled{opacity:.55;cursor:not-allowed}
#amoon-3d .a3-intro{padding:24px 2px 18px;align-items:flex-start}
#amoon-3d .a3-intro h1{font-size:clamp(30px,3vw,48px);letter-spacing:-1.7px}
#amoon-3d .a3-eyebrow{color:#8d6727;font-weight:900;letter-spacing:1.8px}
#amoon-3d .a3-intro-side{display:flex;align-items:flex-end;gap:9px;flex-direction:column}
#amoon-3d .a3-value-badge{display:inline-flex;padding:9px 14px;border-radius:11px;background:#eee3d3;color:#2d2922;font-size:12px;font-weight:850;border:1px solid #e1cfb3}
#amoon-3d .a3-pill{background:#fff;border-color:#ddd5ca}
#amoon-3d .a3-flow{border-color:#e2ddd5!important;background:#fff!important;box-shadow:0 5px 18px rgba(31,28,22,.04)}
#amoon-3d .a3-flow button{color:#55514b!important;-webkit-text-fill-color:#55514b!important;background:#fff!important;border-color:#e2ddd5!important}
#amoon-3d .a3-flow button.is-current,#amoon-3d .a3-flow button.is-active{background:linear-gradient(135deg,#eadcc5,#f6efe3)!important;color:#1d1b17!important;-webkit-text-fill-color:#1d1b17!important}
#amoon-3d .a3-flow button.is-current span,#amoon-3d .a3-flow button.is-active span{background:#181818!important;color:#fff!important}
#amoon-3d .a3-workspace{grid-template-columns:minmax(560px,1.12fr) minmax(480px,.88fr);gap:16px}
#amoon-3d .a3-panel{background:#fff!important;border-color:#e2ddd5!important;border-radius:16px!important;box-shadow:0 7px 26px rgba(29,25,20,.05)!important;color:#1c1b18!important;-webkit-text-fill-color:initial!important}
#amoon-3d .a3-result{position:sticky;top:12px;max-height:calc(100vh - 24px);overflow:auto}
#amoon-3d .a3-controls{padding:20px!important}
#amoon-3d .a3-heading{margin-bottom:16px}
#amoon-3d .a3-step{background:#231f1a!important;color:#fff!important}
#amoon-3d .a3-section-title{font-size:16px;margin:7px 0 12px!important}
#amoon-3d .a3-capture-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}
#amoon-3d .a3-capture-card{display:flex;flex-direction:column;align-items:center;text-align:center;justify-content:center;gap:5px;min-height:128px;padding:14px 10px;background:#faf9f6!important;border-color:#e4dfd7!important;color:#222!important}
#amoon-3d .a3-capture-card .a3-capture-icon{grid-row:auto;width:42px;height:42px;font-size:22px;border-color:#d9d1c5!important;background:#fff}
#amoon-3d .a3-capture-card b{font-size:13px}
#amoon-3d .a3-capture-card small{font-size:10px;color:#77716a!important}
#amoon-3d .a3-capture-card em{position:static;margin-top:2px;background:#1f6b4c!important;color:#d9ffe9!important}
#amoon-3d .a3-capture-card:has(input:checked){background:#f5eee3!important;border-color:#bf8e3a!important;box-shadow:0 0 0 2px rgba(191,142,58,.14)!important}
#amoon-3d .a3-capture-card.is-disabled{background:#f6f4f0!important}
#amoon-3d .a3-upload{background:#fbfaf7!important;border-color:#c8b18d!important;min-height:150px}
#amoon-3d .a3-multi-capture{background:#fbfaf7!important;border-color:#e2ddd5!important}
#amoon-3d .a3-angle-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
#amoon-3d .a3-angle-grid label{background:#fff!important;border-color:#e1dbd1!important;min-height:180px!important}
#amoon-3d .a3-capture-quality{background:#f5fbf7!important;border-color:#d1e9da!important}
#amoon-3d .a3-settings-block{border-top:1px solid #e8e3db;margin-top:20px;padding-top:20px}
#amoon-3d input:not([type=radio]):not([type=checkbox]):not([type=file]),#amoon-3d select{background:#fcfbf8!important;color:#24221e!important;border-color:#ddd6cc!important}
#amoon-3d .a3-engine-note{background:#f6f3ee!important;color:#625c52!important}
#amoon-3d .a3-generate{background:#171717!important;color:#fff!important;border-radius:9px!important;min-height:54px;font-size:16px}
#amoon-3d .a3-generate:hover{background:#292929!important}
#amoon-3d .a3-job{background:#faf8f4!important;border:1px solid #e3ddd4}
#amoon-3d progress{accent-color:#b88a3b}
#amoon-3d .a3-preview-shell{border:1px solid #e2ddd5!important;background:#faf9f6!important;border-radius:13px!important}
#amoon-3d .a3-viewer-wrap{height:clamp(360px,43vw,620px);background:radial-gradient(circle at 50% 30%,#fff,#f0ece5 78%)!important;border-color:#e3ddd5!important}
#amoon-3d .a3-viewer-tools{justify-content:flex-start}
#amoon-3d .a3-viewer-tools button[aria-pressed=true]{background:#171717!important;color:#fff!important}
#amoon-3d .a3-model-info{grid-template-columns:repeat(5,minmax(0,1fr))!important;margin:10px 0 14px}
#amoon-3d .a3-model-info>div{background:#fff!important;border-color:#e4ded5!important;color:#27231f!important}
#amoon-3d .a3-export-strip{background:#fff!important;border-color:#e4ded5!important;gap:8px!important;display:flex!important;flex-wrap:wrap!important}
#amoon-3d .a3-export-strip span{border:1px solid #e2ddd5;border-radius:8px;padding:7px 11px;color:#6b665e!important;background:#faf9f6!important}
#amoon-3d .a3-export-strip .is-live{border-color:#c8a465;background:#f7eee0!important;color:#3f3320!important;font-weight:800}
#amoon-3d .a3-downloads a{background:#fffaf1!important;border-color:#e0cba9!important;color:#4b391d!important}
#amoon-3d .a3-downloads a:first-child{background:#181818!important;color:#fff!important;border-color:#181818!important}
#amoon-3d .a3-library,#amoon-3d #a3-workers{margin-top:16px}
#amoon-3d .a3-library-stats>div,#amoon-3d .a3-history-card,#amoon-3d .a3-worker-card,#amoon-3d .a3-service-actions{background:#fff!important;border-color:#e4ded5!important;color:#24221e!important}
#amoon-3d .a3-history-toolbar{background:#faf8f4!important;border-color:#e4ded5!important}
#amoon-3d .a3-primary-link{background:#171717!important;color:#fff!important}
#amoon-3d .a3-footer{color:#766e62}
/* Override the legacy standalone dark skin for this product workspace. */
html body.amoon-ai-studio-standalone #amoon-3d{background:#f7f5f1!important;color:#191916!important;-webkit-text-fill-color:initial!important}
html body.amoon-ai-studio-standalone #amoon-3d .a3-panel,html body.amoon-ai-studio-standalone #amoon-3d .a3-capture-card,html body.amoon-ai-studio-standalone #amoon-3d .a3-multi-capture,html body.amoon-ai-studio-standalone #amoon-3d .a3-angle-grid label,html body.amoon-ai-studio-standalone #amoon-3d .a3-capture-quality,html body.amoon-ai-studio-standalone #amoon-3d .a3-model-info>div,html body.amoon-ai-studio-standalone #amoon-3d .a3-export-strip,html body.amoon-ai-studio-standalone #amoon-3d .a3-library-stats>div{background:#fff!important;color:#24221e!important;border-color:#e4ded5!important;-webkit-text-fill-color:initial!important}
/* 1.22.1 contrast lock: override the older standalone dark selectors too. */
html body.amoon-ai-studio-standalone #amoon-3d .a3-upload{background:#fbfaf7!important;color:#24221e!important;-webkit-text-fill-color:#24221e!important;border-color:#a77a30!important}
html body.amoon-ai-studio-standalone #amoon-3d .a3-upload b{color:#24221e!important;-webkit-text-fill-color:#24221e!important}
html body.amoon-ai-studio-standalone #amoon-3d .a3-upload small{color:#655f57!important;-webkit-text-fill-color:#655f57!important}
html body.amoon-ai-studio-standalone #amoon-3d .a3-upload>span{color:#9b6b1d!important;-webkit-text-fill-color:#9b6b1d!important}
html body.amoon-ai-studio-standalone #amoon-3d .a3-capture-card:has(input:checked){background:#f5eee3!important;color:#1f1c17!important;-webkit-text-fill-color:#1f1c17!important;border-color:#b7832f!important}
html body.amoon-ai-studio-standalone #amoon-3d .a3-capture-card:has(input:checked) b{color:#1f1c17!important;-webkit-text-fill-color:#1f1c17!important}
html body.amoon-ai-studio-standalone #amoon-3d .a3-capture-card:has(input:checked) small{color:#655f57!important;-webkit-text-fill-color:#655f57!important}
html body.amoon-ai-studio-standalone #amoon-3d p,html body.amoon-ai-studio-standalone #amoon-3d small,html body.amoon-ai-studio-standalone #amoon-3d label{color:#6d675f!important;-webkit-text-fill-color:#6d675f!important}
html body.amoon-ai-studio-standalone #amoon-3d h1,html body.amoon-ai-studio-standalone #amoon-3d h2,html body.amoon-ai-studio-standalone #amoon-3d h3,html body.amoon-ai-studio-standalone #amoon-3d b,html body.amoon-ai-studio-standalone #amoon-3d strong{color:#1d1b18!important;-webkit-text-fill-color:#1d1b18!important}
html body.amoon-ai-studio-standalone #amoon-3d .a3-top b,html body.amoon-ai-studio-standalone #amoon-3d .a3-top strong,html body.amoon-ai-studio-standalone #amoon-3d .a3-top small{color:#f7f2e8!important;-webkit-text-fill-color:#f7f2e8!important}
@media(max-width:1250px){#amoon-3d .a3-workspace{grid-template-columns:minmax(430px,.9fr) minmax(440px,1.1fr)}#amoon-3d .a3-capture-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:980px){#amoon-3d{border-radius:0;padding:0 14px 90px}#amoon-3d .a3-top{margin:0 -14px;padding:14px 16px}#amoon-3d .a3-top:after{display:none}#amoon-3d .a3-studio-nav{grid-template-columns:repeat(2,minmax(0,1fr))}#amoon-3d .a3-workspace{grid-template-columns:1fr}#amoon-3d .a3-result{position:relative;top:auto;max-height:none;overflow:visible}#amoon-3d .a3-capture-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#amoon-3d .a3-model-info{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:600px){#amoon-3d{padding:0 10px 80px}#amoon-3d .a3-top{margin:0 -10px}#amoon-3d .a3-intro{display:block}#amoon-3d .a3-intro-side{align-items:flex-start;margin-top:12px}#amoon-3d .a3-studio-nav{display:flex;overflow-x:auto;padding-bottom:8px}#amoon-3d .a3-studio-nav a,#amoon-3d .a3-studio-nav button{flex:0 0 145px}#amoon-3d .a3-flow{position:sticky;top:0;z-index:20}#amoon-3d .a3-capture-grid{grid-template-columns:1fr 1fr}#amoon-3d .a3-capture-card{min-height:112px}#amoon-3d .a3-angle-grid{grid-template-columns:1fr 1fr!important}#amoon-3d .a3-angle-grid label{min-height:145px!important}#amoon-3d .a3-viewer-wrap{height:390px}}

/* 1.22.2 contrast lock — never inherit dark text into a dark product surface.
   Gold/light controls always use dark ink; dark workflow/status surfaces always
   use light ink. These scoped rules intentionally come last. */
html body.amoon-ai-studio-standalone #amoon-3d .a3-studio-nav a,
html body.amoon-ai-studio-standalone #amoon-3d .a3-studio-nav button{background:#fff!important;color:#24211d!important;-webkit-text-fill-color:#24211d!important;border-color:#e0d8cc!important}
html body.amoon-ai-studio-standalone #amoon-3d .a3-studio-nav :is(b,strong,span){color:#24211d!important;-webkit-text-fill-color:#24211d!important}
html body.amoon-ai-studio-standalone #amoon-3d .a3-studio-nav small{color:#6e675d!important;-webkit-text-fill-color:#6e675d!important}
html body.amoon-ai-studio-standalone #amoon-3d .a3-studio-nav .is-active{background:#efe3d1!important;color:#1d1a16!important;-webkit-text-fill-color:#1d1a16!important;border-color:#cba75e!important}
html body.amoon-ai-studio-standalone #amoon-3d .a3-flow{background:#171326!important;border-color:#403653!important}
html body.amoon-ai-studio-standalone #amoon-3d .a3-flow button{background:#171326!important;color:#f5efff!important;-webkit-text-fill-color:#f5efff!important;border-color:#403653!important}
html body.amoon-ai-studio-standalone #amoon-3d .a3-flow button b{color:#f5efff!important;-webkit-text-fill-color:#f5efff!important}
html body.amoon-ai-studio-standalone #amoon-3d .a3-flow button span{background:#eee8f7!important;color:#312a3e!important;-webkit-text-fill-color:#312a3e!important}
html body.amoon-ai-studio-standalone #amoon-3d .a3-flow button.is-current,
html body.amoon-ai-studio-standalone #amoon-3d .a3-flow button.is-active{background:linear-gradient(135deg,#f4dda0,#d2a13e)!important;color:#18120a!important;-webkit-text-fill-color:#18120a!important}
html body.amoon-ai-studio-standalone #amoon-3d .a3-flow button.is-current b,
html body.amoon-ai-studio-standalone #amoon-3d .a3-flow button.is-active b{color:#18120a!important;-webkit-text-fill-color:#18120a!important}
html body.amoon-ai-studio-standalone #amoon-3d .a3-flow button.is-current span,
html body.amoon-ai-studio-standalone #amoon-3d .a3-flow button.is-active span{background:#181818!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
html body.amoon-ai-studio-standalone #amoon-3d .a3-job{background:#100d19!important;color:#f5efff!important;border-color:#3f3450!important}
html body.amoon-ai-studio-standalone #amoon-3d .a3-job :is(b,strong,span,p,small){color:#f5efff!important;-webkit-text-fill-color:#f5efff!important}
html body.amoon-ai-studio-standalone #amoon-3d .a3-job .a3-live-telemetry{background:#181326!important;color:#d8cfea!important;-webkit-text-fill-color:#d8cfea!important;border-color:#4b3d60!important}
html body.amoon-ai-studio-standalone #amoon-3d .a3-job button{background:#fff!important;color:#1b1720!important;-webkit-text-fill-color:#1b1720!important;border-color:#d7cedf!important}
html body.amoon-ai-studio-standalone #amoon-3d .a3-job.is-stalled{outline:2px solid #e0ad4e}
html body.amoon-ai-studio-standalone #amoon-3d .a3-job.is-stalled .a3-live-telemetry{background:#32240e!important;color:#ffe09b!important;-webkit-text-fill-color:#ffe09b!important;border-color:#a5782d!important}
html body.amoon-ai-studio-standalone #amoon-3d .a3-preview-topbar{background:#100d19!important;color:#f5efff!important;border-color:#403653!important}
html body.amoon-ai-studio-standalone #amoon-3d .a3-preview-topbar .a3-preview-title>b{color:#f5efff!important;-webkit-text-fill-color:#f5efff!important}
html body.amoon-ai-studio-standalone #amoon-3d .a3-preview-topbar button{background:#fff!important;color:#1b1720!important;-webkit-text-fill-color:#1b1720!important}
html body.amoon-ai-studio-standalone #amoon-3d .a3-preview-status{color:#e6ddf2!important;-webkit-text-fill-color:#e6ddf2!important}
html body.amoon-ai-studio-standalone #amoon-3d .a3-preview-meta,
html body.amoon-ai-studio-standalone #amoon-3d .a3-preview-shell .a3-viewer-tools{background:#100d19!important;color:#d6cde4!important;border-color:#403653!important}
html body.amoon-ai-studio-standalone #amoon-3d .a3-preview-shell .a3-viewer-tools button{background:#fff!important;color:#1b1720!important;-webkit-text-fill-color:#1b1720!important;border-color:#d7cedf!important}
html body.amoon-ai-studio-standalone #amoon-3d .a3-preview-shell .a3-viewer-tools button[aria-pressed=true]{background:#d2a13e!important;color:#18120a!important;-webkit-text-fill-color:#18120a!important;border-color:#d2a13e!important}

/* 1.22.6 ENGINE + CONTRAST LOCK — this block must remain last.
   Every dark surface owns light text; every light/gold control owns dark text. */
#amoon-3d .a3-engine-health{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 18px;padding:15px 17px;border:1px solid #403653;border-radius:14px;background:#100d19;color:#f7f2ff;box-shadow:0 9px 28px rgba(24,16,34,.12)}
#amoon-3d .a3-engine-state{display:flex;align-items:center;gap:12px;min-width:0}
#amoon-3d .a3-engine-state>div{min-width:0}
#amoon-3d .a3-engine-state small{display:block;margin:0 0 3px;font-size:9px;font-weight:900;letter-spacing:1.25px}
#amoon-3d .a3-engine-state b{display:block;font-size:14px;overflow-wrap:anywhere}
#amoon-3d .a3-engine-state p{margin:3px 0 0;font-size:11px;line-height:1.45;overflow-wrap:anywhere}
#amoon-3d .a3-engine-dot{width:12px;height:12px;flex:0 0 12px;border-radius:50%;background:#e05266;box-shadow:0 0 0 5px rgba(224,82,102,.14)}
#amoon-3d .a3-engine-health[data-state=online] .a3-engine-dot{background:#48d592;box-shadow:0 0 0 5px rgba(72,213,146,.14)}
#amoon-3d .a3-engine-health[data-state=worker-only] .a3-engine-dot{background:#e9b84d;box-shadow:0 0 0 5px rgba(233,184,77,.14)}
#amoon-3d .a3-engine-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
#amoon-3d .a3-engine-actions button,#amoon-3d .a3-engine-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:8px 12px;border-radius:9px;border:1px solid #d9d0e1;background:#fff;color:#1b1720;font-size:11px;font-weight:850;text-decoration:none;white-space:nowrap}
#amoon-3d .a3-engine-actions #a3-force-engine{background:#d9ae4d;color:#181109;border-color:#d9ae4d}
#amoon-3d .a3-engine-actions #a3-download-engine{background:#241d30;color:#f8f3ff;border-color:#5a486f}
#amoon-3d .a3-engine-actions :is(button,a):hover{filter:brightness(1.06)}
#amoon-3d .a3-engine-actions button:disabled{background:#393140;color:#bdb2c8;border-color:#5b5064;opacity:1}

html body.amoon-ai-studio-standalone #amoon-3d .a3-engine-health,
html body.amoon-ai-studio-standalone #amoon-3d .a3-engine-health :is(b,strong,span,p,small){color:#f7f2ff!important;-webkit-text-fill-color:#f7f2ff!important}
html body.amoon-ai-studio-standalone #amoon-3d .a3-engine-health .a3-engine-state p{color:#cfc5db!important;-webkit-text-fill-color:#cfc5db!important}
html body.amoon-ai-studio-standalone #amoon-3d .a3-engine-actions button{background:#fff!important;color:#1b1720!important;-webkit-text-fill-color:#1b1720!important;border-color:#d9d0e1!important}
html body.amoon-ai-studio-standalone #amoon-3d .a3-engine-actions #a3-force-engine{background:#d9ae4d!important;color:#181109!important;-webkit-text-fill-color:#181109!important;border-color:#d9ae4d!important}
html body.amoon-ai-studio-standalone #amoon-3d .a3-engine-actions #a3-download-engine{background:#241d30!important;color:#f8f3ff!important;-webkit-text-fill-color:#f8f3ff!important;border-color:#5a486f!important}

html body.amoon-ai-studio-standalone #amoon-3d .a3-engine-note{background:#100d19!important;color:#ded5e9!important;-webkit-text-fill-color:#ded5e9!important;border:1px solid #403653!important}
html body.amoon-ai-studio-standalone #amoon-3d .a3-advanced summary{color:#3e382f!important;-webkit-text-fill-color:#3e382f!important}
html body.amoon-ai-studio-standalone #amoon-3d .a3-value-badge{background:#eee3d3!important;color:#2d2922!important;-webkit-text-fill-color:#2d2922!important;border-color:#d7c19e!important}

html body.amoon-ai-studio-standalone #amoon-3d .a3-history-card{background:#100d19!important;color:#f5efff!important;-webkit-text-fill-color:#f5efff!important;border-color:#403653!important}
html body.amoon-ai-studio-standalone #amoon-3d .a3-history-card :is(h1,h2,h3,b,strong,p,small,label,time,span){color:#f5efff!important;-webkit-text-fill-color:#f5efff!important}
html body.amoon-ai-studio-standalone #amoon-3d .a3-history-card :is(.a3-card-stage,.a3-card-meta,.a3-card-live){color:#d5cbe2!important;-webkit-text-fill-color:#d5cbe2!important}
html body.amoon-ai-studio-standalone #amoon-3d .a3-history-card .a3-card-select{background:#171326!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border-color:#645674!important}
html body.amoon-ai-studio-standalone #amoon-3d .a3-history-card .a3-card-actions button{background:#fff!important;color:#1b1720!important;-webkit-text-fill-color:#1b1720!important;border-color:#d7cedf!important}
html body.amoon-ai-studio-standalone #amoon-3d .a3-history-card .a3-card-actions button.a3-danger{background:#ffe8ed!important;color:#8b2039!important;-webkit-text-fill-color:#8b2039!important;border-color:#e09aaa!important}
html body.amoon-ai-studio-standalone #amoon-3d .a3-history-card .a3-status-badge[data-status=running]{background:#14254a!important;color:#b8ceff!important;-webkit-text-fill-color:#b8ceff!important}
html body.amoon-ai-studio-standalone #amoon-3d .a3-history-card .a3-status-badge[data-status=queued]{background:#3a2b0d!important;color:#ffdc80!important;-webkit-text-fill-color:#ffdc80!important}
html body.amoon-ai-studio-standalone #amoon-3d .a3-history-card .a3-status-badge[data-status=completed]{background:#0e2d21!important;color:#8ce9bc!important;-webkit-text-fill-color:#8ce9bc!important}
html body.amoon-ai-studio-standalone #amoon-3d .a3-history-card .a3-status-badge[data-status=failed]{background:#3a1420!important;color:#ffafbd!important;-webkit-text-fill-color:#ffafbd!important}
html body.amoon-ai-studio-standalone #amoon-3d .a3-history-card .a3-status-badge[data-status=cancelled]{background:#29232f!important;color:#ded2e7!important;-webkit-text-fill-color:#ded2e7!important}

html body.amoon-ai-studio-standalone #amoon-3d .a3-history-toolbar{background:#100d19!important;color:#f5efff!important;-webkit-text-fill-color:#f5efff!important;border-color:#403653!important}
html body.amoon-ai-studio-standalone #amoon-3d .a3-history-toolbar :is(label,span,b,strong){color:#f5efff!important;-webkit-text-fill-color:#f5efff!important}
html body.amoon-ai-studio-standalone #amoon-3d .a3-history-toolbar select{background:#fff!important;color:#211b25!important;-webkit-text-fill-color:#211b25!important;border-color:#d7cedf!important}
html body.amoon-ai-studio-standalone #amoon-3d .a3-history-toolbar button{background:#fff!important;color:#1b1720!important;-webkit-text-fill-color:#1b1720!important;border-color:#d7cedf!important}
html body.amoon-ai-studio-standalone #amoon-3d .a3-history-toolbar button.a3-danger{background:#ffe8ed!important;color:#8b2039!important;-webkit-text-fill-color:#8b2039!important;border-color:#e09aaa!important}
html body.amoon-ai-studio-standalone #amoon-3d .a3-history-toolbar button:disabled{background:#342d3b!important;color:#afa5b8!important;-webkit-text-fill-color:#afa5b8!important;border-color:#54495e!important;opacity:1!important}

@media(max-width:860px){#amoon-3d .a3-engine-health{align-items:flex-start;flex-direction:column}#amoon-3d .a3-engine-actions{justify-content:flex-start;width:100%}}
@media(max-width:540px){#amoon-3d .a3-engine-health{padding:13px}#amoon-3d .a3-engine-actions{display:grid;grid-template-columns:1fr 1fr}#amoon-3d .a3-engine-actions #a3-download-engine{grid-column:1/-1}}

/* 1.22.7 — viewer-first result hierarchy + 3ds Max navigation cue. */
#amoon-3d #a3-result>.a3-preview-shell{margin-bottom:14px}
#amoon-3d #a3-result>.a3-job{margin-top:20px;margin-bottom:12px}
#amoon-3d #a3-result>.a3-job+.a3-model-info{margin-top:0}
#amoon-3d #a3-viewer{cursor:default}
#amoon-3d .a3-preview-meta>span:last-child{font-weight:750;color:#4b3e5c!important;-webkit-text-fill-color:#4b3e5c!important}
html body.amoon-ai-studio-standalone #amoon-3d .a3-preview-meta>span:last-child{color:#d8cfea!important;-webkit-text-fill-color:#d8cfea!important}

/* 1.22.8 — one document scrollbar, compact source thumbnail and denser viewer. */
#amoon-3d .a3-result{position:static!important;top:auto!important;max-height:none!important;overflow:visible!important;scrollbar-gutter:auto!important}
#amoon-3d #a3-result #a3-live-log,#amoon-3d #a3-result #a3-object-list,#amoon-3d #a3-result #a3-viewer-error{max-height:none!important;overflow:visible!important}
#amoon-3d #a3-image-wrap:not([hidden]){display:grid;grid-template-columns:180px minmax(0,1fr);align-items:start;gap:10px 14px;margin:12px 0;padding:10px;border:1px solid var(--a3-line);border-radius:12px;background:var(--a3-surface)}
#amoon-3d #a3-image-wrap:not(.is-scene-editor) #a3-crop{display:block;width:180px!important;height:120px!important;max-width:180px!important;max-height:120px!important;object-fit:contain;margin:0!important;border-radius:9px;background:#eee9e2}
#amoon-3d #a3-image-wrap:not(.is-scene-editor) #a3-image-note{margin:4px 0;align-self:center}
#amoon-3d #a3-image-wrap:not(.is-scene-editor) #a3-scene-tip{grid-column:1/-1}
#amoon-3d #a3-image-wrap.is-scene-editor{display:block}
#amoon-3d #a3-image-wrap.is-scene-editor #a3-crop{width:100%!important;height:auto!important;max-height:520px;object-fit:contain}
#amoon-3d .a3-viewer-wrap{height:clamp(280px,32vw,430px)}
@media(max-width:620px){#amoon-3d #a3-image-wrap:not([hidden]){grid-template-columns:112px minmax(0,1fr)}#amoon-3d #a3-image-wrap:not(.is-scene-editor) #a3-crop{width:112px!important;height:84px!important;max-width:112px!important;max-height:84px!important}}

/* 1.22.12 — wide-screen cockpit: one document scroll, no nested/right scroll,
   and the complete input + preview controls remain visible as one compact area. */
html body.amoon-ai-studio-standalone{overflow-x:hidden!important}
html body.amoon-ai-studio-standalone #amoon-3d{overflow-x:clip!important}
#amoon-3d .a3-workspace>*{min-width:0}
#amoon-3d .a3-live-cooking:not([open]){padding:0!important}
#amoon-3d .a3-live-cooking:not([open]) summary{border-radius:9px}
@media(min-width:1260px){
  #amoon-3d{max-width:1760px;padding:8px 14px 70px;font-size:13px}
  #amoon-3d .a3-top{padding:5px 0 7px;gap:10px;flex-wrap:nowrap}
  #amoon-3d .a3-brand{font-size:15px;gap:8px}#amoon-3d .a3-brand img{width:58px;height:32px;padding:6px}
  #amoon-3d .a3-brand small{font-size:8px}#amoon-3d .a3-top nav{gap:5px;font-size:11px;flex-wrap:nowrap}
  #amoon-3d .a3-top nav a,#amoon-3d .a3-top nav button{min-height:30px;padding:5px 8px}
  #amoon-3d .a3-studio-nav{margin:7px 0!important;min-height:34px!important;gap:5px!important}
  #amoon-3d .a3-studio-nav a,#amoon-3d .a3-studio-nav button{min-height:34px!important;padding:5px 8px!important;font-size:11px!important}
  #amoon-3d .a3-studio-nav small{font-size:7px!important}
  #amoon-3d .a3-intro{display:none}
  #amoon-3d .a3-engine-health{margin:6px 0!important;padding:7px 10px!important;min-height:48px;border-radius:10px;gap:10px}
  #amoon-3d .a3-engine-state b{font-size:12px}#amoon-3d .a3-engine-state p{font-size:9px;margin-top:1px}
  #amoon-3d .a3-engine-actions button,#amoon-3d .a3-engine-actions a{min-height:30px;padding:5px 8px;font-size:9px}
  #amoon-3d .a3-flow{margin:7px 0!important;min-height:36px!important}
  #amoon-3d .a3-flow button{min-height:36px!important;padding:5px 8px!important;font-size:10px!important}
  #amoon-3d .a3-flow button span{width:21px!important;height:21px!important;font-size:9px!important}
  #amoon-3d .a3-workspace{grid-template-columns:minmax(560px,1.08fr) minmax(520px,.92fr);gap:10px;align-items:start}
  #amoon-3d .a3-panel{padding:11px;border-radius:13px;margin-bottom:10px}
  #amoon-3d .a3-heading{gap:8px;margin-bottom:7px}#amoon-3d .a3-heading h2{font-size:17px}#amoon-3d .a3-heading p{font-size:10px;margin-top:1px}
  #amoon-3d .a3-step{width:29px;height:29px;flex-basis:29px;font-size:9px}
  #amoon-3d .a3-field{margin-bottom:7px}#amoon-3d .a3-section-title{font-size:12px;margin:5px 0!important}
  #amoon-3d input:not([type=radio]):not([type=checkbox]):not([type=file]),#amoon-3d select{height:34px!important;margin-top:3px!important;padding:5px 8px!important;font-size:12px!important}
  #amoon-3d .a3-capture-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:6px!important;margin:6px 0!important}
  #amoon-3d .a3-capture-card{min-height:76px!important;padding:7px 5px!important;gap:2px!important;border-radius:10px!important}
  #amoon-3d .a3-capture-icon{width:29px!important;height:29px!important;font-size:15px!important}
  #amoon-3d .a3-capture-card b{font-size:10px!important;line-height:1.15!important}#amoon-3d .a3-capture-card small{font-size:7.5px!important;line-height:1.25!important}#amoon-3d .a3-capture-card em{font-size:6px!important;padding:2px 4px!important}
  #amoon-3d .a3-upload{min-height:58px!important;padding:7px 10px!important;gap:0!important;border-radius:10px}#amoon-3d .a3-upload>span{font-size:17px}#amoon-3d .a3-upload b{font-size:11px}#amoon-3d .a3-upload small{font-size:8px}
  #amoon-3d #a3-image-wrap:not([hidden]){grid-template-columns:92px minmax(0,1fr)!important;margin:7px 0!important;padding:6px!important;gap:7px!important}
  #amoon-3d #a3-image-wrap:not(.is-scene-editor) #a3-crop{width:92px!important;height:66px!important;max-width:92px!important;max-height:66px!important}
  #amoon-3d .a3-settings-block{margin-top:7px!important;padding-top:7px!important}
  #amoon-3d .a3-row{gap:8px;margin:7px 0}#amoon-3d .a3-row label,#amoon-3d .a3-field{font-size:10px}
  #amoon-3d .a3-engine-note{font-size:9px!important;line-height:1.35!important;padding:6px 8px!important;margin:4px 0!important}
  #amoon-3d details{margin-top:7px;padding-top:6px}#amoon-3d summary{font-size:10px}
  #amoon-3d .a3-advanced .a3-small{font-size:8px;line-height:1.35;margin:4px 0}
  #amoon-3d .a3-generate-wrap{margin:6px 0!important;padding:0!important}#amoon-3d .a3-generate-wrap small{font-size:8px!important}
  #amoon-3d .a3-generate{min-height:38px!important;margin-top:5px!important;padding:7px 11px!important;font-size:12px!important}
  #amoon-3d #a3-submit-note{font-size:8px;line-height:1.35;margin:5px 0}
  #amoon-3d .a3-preview-topbar{padding:7px 9px}#amoon-3d .a3-preview-title>b{font-size:11px}
  #amoon-3d .a3-preview-shell .a3-viewer-wrap{height:clamp(220px,29vh,285px)!important}
  #amoon-3d .a3-view-orientation{right:7px;bottom:7px}#amoon-3d .a3-view-orientation button{min-height:28px;padding:4px 7px;font-size:9px}
  #amoon-3d .a3-preview-shell .a3-viewer-tools{padding:7px!important;gap:4px!important}#amoon-3d .a3-preview-shell .a3-viewer-tools button{min-height:29px!important;padding:4px 7px!important;font-size:9px!important}
  #amoon-3d .a3-preview-meta{padding:0 9px 7px;font-size:8px}
  #amoon-3d .a3-export-strip{margin:6px 0!important;padding:6px!important;gap:4px!important;font-size:8px!important}
  #amoon-3d .a3-export-strip span{padding:4px 6px!important;font-size:8px!important}
  #amoon-3d .a3-preview-actions{margin-top:6px}#amoon-3d .a3-preview-actions button{min-height:30px;font-size:9px;padding:5px 8px}
  #amoon-3d #a3-preview-help,#amoon-3d #a3-result>.a3-small{font-size:8px;line-height:1.35;margin:5px 0}
  #amoon-3d #a3-result>.a3-job{margin:7px 0;padding:8px}#amoon-3d .a3-job progress{margin-top:5px}
  #amoon-3d .a3-live-telemetry{font-size:8px!important;padding:5px!important;margin:5px 0!important}
  #amoon-3d .a3-time-box{padding:6px!important;margin:5px 0!important;font-size:8px!important}
  #amoon-3d .a3-live-cooking summary{padding:6px 8px!important;font-size:9px!important}
  #amoon-3d .a3-model-info{gap:5px!important;margin-top:6px!important}#amoon-3d .a3-model-info>div{padding:6px!important}#amoon-3d .a3-model-info small{font-size:7px!important}#amoon-3d .a3-model-info b{font-size:9px!important}
}

/* Final 1.23.24 wide overrides intentionally follow all legacy density rules. */
@media(min-width:1260px){
  #amoon-3d{padding-bottom:8px!important}
  #amoon-3d .a3-capture-grid{grid-template-columns:repeat(6,minmax(0,1fr))!important}
  #amoon-3d .a3-panel{padding:9px!important;margin-bottom:7px!important}
  #amoon-3d .a3-capture-card{min-height:68px!important;padding:5px 4px!important}
  #amoon-3d .a3-upload{min-height:50px!important;padding:5px 8px!important}
  #amoon-3d .a3-multi-capture{margin:6px 0!important;padding:7px!important}
  #amoon-3d .a3-angle-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:5px!important;margin:5px 0!important}
  #amoon-3d .a3-angle-grid>label{min-height:62px!important;padding:5px!important}
  #amoon-3d .a3-moodboard-capture{grid-template-columns:minmax(0,1.5fr) minmax(180px,.5fr);gap:6px;margin:5px 0;padding:6px}
  #amoon-3d .a3-row.a3-four{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}
  #amoon-3d .a3-settings-block .a3-heading{margin-bottom:4px!important}
  #amoon-3d .a3-settings-block .a3-row{margin:4px 0!important}
  #amoon-3d .a3-preview-shell .a3-viewer-wrap{height:clamp(190px,24vh,245px)!important}
  #amoon-3d #a3-result>.a3-small{display:none!important}
  #amoon-3d .a3-model-info{grid-template-columns:repeat(6,minmax(0,1fr))!important}
  #amoon-3d[data-surface="studio"] .a3-footer{display:none!important}
}

/* Final 1.23.27 Fold thumbnail lock: full image, per-card green QA. */
@media(min-width:560px) and (max-width:980px){
  #amoon-3d .a3-angle-preview{height:34px!important;min-height:34px!important;object-fit:contain!important;object-position:center!important}
  #amoon-3d .a3-angle-quality{gap:2px!important;margin:0!important}
  #amoon-3d .a3-angle-quality strong{font-size:7px!important;color:#13824f!important;-webkit-text-fill-color:#13824f!important}
  #amoon-3d .a3-angle-quality span{font-size:5px!important;color:#6d675f!important;-webkit-text-fill-color:#6d675f!important}
}

/* 1.23.28 — identify the restored/current job and its model setup state. */
#amoon-3d .a3-active-job-id{display:grid;grid-template-columns:58px minmax(0,1fr);gap:9px;align-items:center;margin:0 0 10px;padding:7px;border:1px solid #493d59;border-radius:10px;background:#171326}
#amoon-3d .a3-active-job-id img{display:block;width:58px;height:48px;object-fit:contain;border-radius:7px;background:#f0ece6}
#amoon-3d .a3-active-job-id>div{min-width:0;display:grid;gap:2px}
#amoon-3d .a3-active-job-id small{font-size:7px!important;letter-spacing:1px;font-weight:900;color:#bfb3cb!important;-webkit-text-fill-color:#bfb3cb!important}
#amoon-3d .a3-active-job-id b{font-size:12px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#fff!important;-webkit-text-fill-color:#fff!important}
#amoon-3d .a3-active-job-id span{font-size:8px!important;line-height:1.25;color:#d9cfE4!important;-webkit-text-fill-color:#d9cfE4!important}
#amoon-3d #a3-setup-engine{background:#d9ae4d!important;color:#181109!important;-webkit-text-fill-color:#181109!important;border-color:#d9ae4d!important}
@media(min-width:560px) and (max-width:980px){
  #amoon-3d .a3-active-job-id{grid-template-columns:42px minmax(0,1fr);gap:5px;margin-bottom:5px;padding:4px;border-radius:7px}
  #amoon-3d .a3-active-job-id img{width:42px;height:36px;border-radius:5px}
  #amoon-3d .a3-active-job-id small{font-size:5px!important}#amoon-3d .a3-active-job-id b{font-size:8px!important}#amoon-3d .a3-active-job-id span{font-size:6px!important}
}
