@import "https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@600;700&family=Quicksand:wght@400;600;700&display=swap";.cloud-status{color:#604256;background:#fff;border:1px solid #e4cbdc;border-radius:12px;align-items:center;gap:8px;padding:10px 14px;font-weight:700;display:flex}:root{color:#352531;background:#fdf4fa;font-family:Quicksand,system-ui,sans-serif}*{box-sizing:border-box}body{background:radial-gradient(circle at 70% 0,#f4d9ec 0,#0000 35%),#fdf4fa;margin:0}button,input,textarea{font:inherit}.app>header{z-index:10;background:#fffafd;border-bottom:1px solid #ead2e2;justify-content:space-between;align-items:center;height:68px;padding:0 24px;display:flex;position:sticky;top:0}.brand{align-items:center;gap:11px;display:flex}.brand-icon{color:#71435f;background:#edcce5;border-radius:12px;place-items:center;width:38px;height:38px;display:grid}.brand span,.kicker{text-transform:uppercase;letter-spacing:.12em;color:#a45e8c;font-size:9px;font-weight:800}.brand h1{margin:0;font:700 22px Cormorant Garamond}button{cursor:pointer}.ghost,.primary{border-radius:10px;justify-content:center;align-items:center;gap:7px;padding:10px 13px;font-weight:700;display:inline-flex}.ghost{color:#604256;background:#fff;border:1px solid #e4cbdc}.primary{color:#fff;background:#3b2534;border:0}.primary:disabled{opacity:.45;cursor:default}main{grid-template-columns:330px minmax(480px,1fr) 230px;gap:16px;max-width:1600px;margin:auto;padding:18px;display:grid}.setup{align-content:start;gap:14px;display:grid}.card{background:#fffffff0;border:1px solid #ead2e2;border-radius:16px;padding:16px;box-shadow:0 8px 28px #4223390f}.card h2{margin:3px 0 12px;font:700 21px Cormorant Garamond}.upload{color:#704c65;background:#fff7fc;border:1.5px dashed #d799c7;border-radius:13px;align-content:center;place-items:center;gap:7px;width:100%;min-height:155px;display:grid}.upload small,.run small{color:#8c7785}.uploaded{position:relative}.uploaded img{object-fit:contain;background:#f7edf4;border-radius:12px;width:100%;height:190px}.uploaded span{text-overflow:ellipsis;white-space:nowrap;margin-top:7px;font-size:11px;display:block;overflow:hidden}.uploaded button{border:0;border-radius:50%;width:28px;height:28px;position:absolute;top:7px;right:7px}.error{color:#a5445d;font-size:11px}.presets{grid-template-columns:1fr 1fr;gap:8px;display:grid}.presets button{color:#53384a;background:#faedf6;border:2px solid #0000;border-radius:10px;padding:0;overflow:hidden}.presets button.active{border-color:#c56fae}.presets img{object-fit:cover;width:100%;height:72px;display:block}.presets span{padding:6px;font-size:10px;font-weight:700;display:block}.row{justify-content:space-between;align-items:center;display:flex}.count{gap:4px;display:flex}.count button{border:0;border-radius:7px;padding:6px 9px}.count button.active{background:#e7b9da}.run>.primary{width:100%;margin-top:8px}.run small{text-align:center;margin-top:7px;font-size:9px;display:block}.workspace{min-height:calc(100vh - 104px)}.workspace-head{justify-content:space-between;align-items:center;display:flex}.empty{text-align:center;color:#876f7f;place-content:center;justify-items:center;height:70vh;display:grid}.empty svg{background:#f1d7e9;border-radius:50%;width:46px;height:46px;padding:12px}.results{grid-template-columns:1fr 1fr;gap:12px;display:grid}.results article{aspect-ratio:4/3;background:#f7edf4;border:2px solid #0000;border-radius:13px;position:relative;overflow:hidden}.results article.selected{border-color:#be67a5}.results img{object-fit:cover;width:100%;height:100%}.pending,.failed{text-align:center;place-content:center;height:100%;padding:14px;font-size:11px;display:grid}.pending span{border:3px solid #e6c0dc;border-top-color:#8c4c79;border-radius:50%;width:28px;height:28px;margin:auto;animation:1s linear infinite spin}.failed{color:#9a4056;background:#fff0f3}.failed button{background:#fff;border:1px solid #dc9aae;border-radius:8px;gap:5px;margin:auto;padding:7px;display:flex}.result-actions{gap:5px;display:flex;position:absolute;bottom:7px;right:7px}.result-actions button{background:#fff;border:0;border-radius:8px;width:30px;height:30px}.refine{border-top:1px solid #ead2e2;margin-top:15px;padding-top:15px}.refine textarea{resize:vertical;border:1px solid #e5cada;border-radius:10px;width:100%;min-height:76px;padding:11px}.refine .primary{margin-top:8px}.history{max-height:calc(100vh - 104px);overflow:auto}.history-run{border-top:1px solid #efdce8;padding:11px 0}.history-run>span{color:#937c8b;font-size:10px;display:block}.history-run>div{grid-template-columns:repeat(2,1fr);gap:4px;margin-top:7px;display:grid}.history-run img{aspect-ratio:1;object-fit:cover;border-radius:6px;width:100%}.overlay{z-index:30;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#31202c73;place-items:center;display:grid;position:fixed;inset:0}.key-card{background:#fff;border-radius:16px;width:min(430px,100vw - 30px);padding:24px;position:relative}.key-card h2{margin:4px 0;font:700 27px Cormorant Garamond}.key-card p{color:#796572;font-size:12px;line-height:1.5}.key-card input{border:1px solid #dec1d4;border-radius:10px;width:100%;margin:8px 0;padding:11px}.key-card .primary{width:100%}.close{background:0 0;border:0;position:absolute;top:12px;right:12px}@keyframes spin{to{transform:rotate(360deg)}}@media (width<=1100px){main{grid-template-columns:300px 1fr}.history{grid-column:1/-1}.workspace{min-height:600px}}@media (width<=760px){main{padding:10px;display:block}.setup,.workspace,.history{margin-bottom:12px}.results{grid-template-columns:1fr}.app>header{padding:0 12px}.brand h1{font-size:18px}.app>header .ghost{font-size:0}.app>header .ghost svg{margin:0}}
