:root{color-scheme:light;--bg:#f7f8f5;--surface:#fff;--ink:#202d27;--muted:#7a847d;--line:#e5e9e2;--accent:#327858;--accent-dark:#225e43;--wash:#edf4eb;--field:#fcfdfa;--error:#a13d37;--error-bg:#fff0ed;--shadow:0 10px 40px #213b2510}
:root[data-theme=dark]{color-scheme:dark;--bg:#151c18;--surface:#1e2822;--ink:#edf3ed;--muted:#a0afa4;--line:#344239;--accent:#99cba9;--accent-dark:#b8dec2;--wash:#293c2e;--field:#1a231d;--error:#ffb3a9;--error-bg:#3b2624;--shadow:0 10px 40px #0002}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:system-ui,-apple-system,"Segoe UI",sans-serif;font-size:14px;line-height:1.5}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}button{transition:background .18s,transform .18s}button:not(:disabled):active{transform:translateY(1px)}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid var(--accent);outline-offset:3px}[hidden]{display:none!important}.shell{max-width:1200px;margin:auto;padding-left:40px;padding-right:40px}.header{height:100px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:10px;font-size:25px;font-weight:750;letter-spacing:-1px}.brand-mark{font-size:38px;color:var(--accent);line-height:1}.brand-light{font-weight:400}.brand-dot{color:var(--accent)}.header-actions{display:flex;align-items:center;gap:16px}.private-label{color:var(--muted);font-size:12px}.icon-button{width:38px;height:38px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--ink);font-size:22px;display:inline-flex;align-items:center;justify-content:center}.quiet-button{border:0;background:none;color:var(--muted);padding:8px;font-size:12px}.quiet-button:hover{color:var(--accent)}.hero{padding:54px 0 40px}.eyebrow{font-size:10px;letter-spacing:2.2px;font-weight:650;color:var(--accent);display:flex;gap:8px;align-items:center;margin:0 0 18px}.eyebrow span,.powered span{height:6px;width:6px;border-radius:50%;background:var(--accent);display:inline-block}h1{font-size:clamp(30px,3.5vw,45px);font-weight:600;line-height:1.19;letter-spacing:-1.5px;margin:0 0 20px}h1 em{font-family:Georgia,"Times New Roman",serif;font-weight:400;color:var(--accent);letter-spacing:-.7px}.hero-description{color:var(--muted);font-size:14px;line-height:1.8;margin:0}.workspace{display:grid;grid-template-columns:1fr 1.12fr;gap:24px;align-items:stretch}.panel{background:var(--surface);border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow);min-width:0;padding:28px}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:22px}.section-number{font-size:10px;color:var(--muted);letter-spacing:1.6px;font-weight:600}h2{font-size:21px;letter-spacing:-.5px;font-weight:600;margin:6px 0 0}.small-badge,.status-badge{font-size:10px;background:var(--bg);border:1px solid var(--line);border-radius:20px;padding:5px 9px;color:var(--muted);white-space:nowrap}.status-badge.ready{background:var(--wash);color:var(--accent)}.mode-tabs{display:flex;border-radius:10px;background:var(--bg);padding:4px;gap:4px;margin-bottom:18px}.mode-tab{flex:1;border:0;border-radius:7px;background:transparent;color:var(--muted);padding:9px;font-size:12px}.mode-tab span{margin-right:6px;font-size:16px}.mode-tab.active{color:var(--accent);background:var(--surface);box-shadow:0 2px 5px #00000009;font-weight:600}.drop-zone{position:relative;border:1.5px dashed #c5d3c6;border-radius:12px;background:var(--field);min-height:220px;overflow:hidden;transition:background .2s,border-color .2s}.drop-zone.dragover{background:var(--wash);border-color:var(--accent)}#media{position:absolute;width:1px;height:1px;opacity:0}#drop-zone:focus-within{outline:3px solid var(--accent);outline-offset:3px}.drop-label{min-height:220px;display:flex;flex-direction:column;align-items:center;justify-content:center;cursor:pointer;padding:24px;text-align:center;color:var(--muted);font-size:12px}.upload-symbol{display:flex;align-items:center;justify-content:center;background:var(--wash);color:var(--accent);border-radius:14px;font-size:30px;width:52px;height:52px;margin-bottom:17px}.drop-label strong{font-size:13px;font-weight:550;color:var(--ink);margin-bottom:4px}.text-link{color:var(--accent);text-decoration:underline;text-underline-offset:3px}.drop-label small{font-size:10px;color:var(--muted);margin-top:15px}.preview{height:220px;padding:12px;display:flex;align-items:center;justify-content:center}.preview img,.preview video{width:100%;height:100%;object-fit:contain;border-radius:6px}.file-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 0;font-size:11px;color:var(--muted)}#file-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.options{margin:21px 0}label{display:block;font-size:12px;font-weight:550;margin-bottom:8px}select,input[type=password],textarea{width:100%;border:1px solid var(--line);border-radius:9px;padding:11px 13px;background:var(--field);color:var(--ink)}textarea{resize:vertical;min-height:88px;line-height:1.6;font-size:12px}textarea::placeholder,input::placeholder{color:var(--muted);opacity:.8}.label-row{display:flex;align-items:center;justify-content:space-between;margin-top:18px}.label-row span{font-size:10px;color:var(--muted);margin-bottom:8px}.primary-button{width:100%;background:var(--accent);color:#fff;border:0;border-radius:10px;min-height:46px;padding:12px 16px;display:flex;align-items:center;justify-content:space-between;font-weight:550;font-size:13px}:root[data-theme=dark] .primary-button{color:#152b1c}.primary-button:not(:disabled):hover{background:var(--accent-dark)}.primary-button>span:last-child{font-size:20px;line-height:1}.privacy-note{text-align:center;font-size:10px;line-height:1.7;color:var(--muted);margin:12px 0 0}.result-panel{display:flex;flex-direction:column;padding-bottom:20px}.result-body{flex:1;display:flex;min-height:400px}.empty-result{margin:auto;text-align:center;padding:26px 0}.prompt-art{position:relative;width:132px;height:110px;border:1px solid var(--line);border-radius:12px;background:var(--field);padding:35px 22px 15px;margin:0 auto 25px;transform:rotate(-5deg);box-shadow:6px 7px 0 var(--wash)}.art-spark{position:absolute;right:-14px;top:-20px;color:var(--accent);font-size:48px;line-height:1;transform:rotate(5deg)}.art-line{height:5px;background:var(--line);border-radius:4px;margin:0 0 9px}.art-line.short{width:58%}.art-line.medium{width:78%}.empty-result h3{font-family:Georgia,"Times New Roman",serif;font-size:25px;font-weight:400;line-height:1.3;margin:0 0 14px;letter-spacing:-.4px}.empty-result p{font-size:12px;color:var(--muted);line-height:1.9}.empty-footnote{font-size:8px;letter-spacing:1.4px;color:var(--muted);display:block;margin-top:33px}.prompt-output{min-height:400px;height:100%;background:var(--field);font-size:14px;line-height:1.9;padding:18px;resize:vertical}.status-message{font-size:12px;color:var(--muted);padding:10px 0;min-height:34px;overflow-wrap:anywhere}.status-message.error{color:var(--error)}.status-message.busy::before{content:"";display:inline-block;width:10px;height:10px;border:2px solid var(--line);border-top-color:var(--accent);border-radius:50%;margin-right:8px;animation:spin 1s linear infinite}.result-footer{border-top:1px solid var(--line);padding-top:17px;display:flex;align-items:center;justify-content:space-between;gap:10px}.result-footer>span{font-size:10px;color:var(--muted);max-width:160px}.result-footer>div{display:flex;gap:8px}.secondary-button{border:1px solid var(--line);border-radius:9px;padding:9px 13px;background:var(--surface);color:var(--ink);font-size:11px}.secondary-button:not(:disabled):hover,.icon-button:not(:disabled):hover{background:var(--wash)}.features{display:grid;grid-template-columns:repeat(3,1fr);gap:30px;padding:30px 4px 38px}.features>div{display:flex;gap:12px;align-items:flex-start}.features>div>span{font-size:10px;color:var(--accent);border:1px solid var(--line);border-radius:50%;width:27px;height:27px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.features p{margin:0;color:var(--muted);font-size:11px;line-height:1.9}.features strong{display:block;color:var(--ink);font-size:12px;font-weight:550}.footer{border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:20px;padding-top:24px;padding-bottom:28px;color:var(--muted);font-size:10px}.footer-separator{padding:0 10px;color:var(--line)}.powered{display:flex;align-items:center;gap:7px}.powered span{width:5px;height:5px}.login-card{max-width:480px;padding:30px;background:var(--surface);border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow);margin-bottom:70px}.login-card>p{color:var(--muted);font-size:13px}.login-form{margin-top:24px}.login-form .primary-button{margin-top:16px}.notice{padding:14px;border:1px solid var(--line);background:var(--wash);color:var(--accent);border-radius:10px;font-size:12px}.notice.error{background:var(--error-bg);color:var(--error)}.setup-notice{margin-bottom:20px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@keyframes spin{to{transform:rotate(360deg)}}
@media(max-width:800px){.shell{padding-left:24px;padding-right:24px}.workspace{grid-template-columns:1fr}.hero{padding:40px 0 30px}.result-body{min-height:340px}.prompt-output{min-height:340px}.features{gap:14px}.header{height:80px}.private-label{display:none}}
@media(max-width:480px){.shell{padding-left:18px;padding-right:18px}.brand{font-size:21px}.brand-mark{font-size:30px}.header-actions{gap:8px}.hero{padding:32px 0 28px}h1{font-size:30px;letter-spacing:-1px}.hero-description{font-size:12px}.desktop-break{display:none}.eyebrow{font-size:8px;letter-spacing:1.6px}.panel{padding:20px;border-radius:16px}.panel-heading{gap:8px}.status-badge{font-size:9px;padding:4px 7px}h2{font-size:19px}.features{grid-template-columns:1fr;gap:16px;padding:26px 0}.footer{flex-direction:column;gap:10px}.result-footer>span{max-width:120px}.login-card{padding:22px}.empty-result h3{font-size:23px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}
