:root { color-scheme: light; --ink:#17211b; --muted:#778078; --paper:#f5f3ee; --card:#fff; --green:#c6ff65; --line:#dedfd8; }
* { box-sizing:border-box; }
body { margin:0; background:var(--paper); color:var(--ink); font:14px/1.4 "Segoe UI",sans-serif; overflow:hidden; user-select:none; }
button,input { font:inherit; }
.titlebar { height:48px; display:flex; align-items:center; justify-content:space-between; padding-left:18px; background:#101713; color:#f8faf6; -webkit-app-region:drag; }
.brand { height:100%; display:flex; align-items:center; }
.brand img { display:block; width:auto; height:23px; max-width:165px; object-fit:contain; }
.window-controls { height:100%; display:flex; -webkit-app-region:no-drag; }
.title-button { width:46px; height:100%; border:0; background:transparent; color:#cbd1cc; cursor:pointer; font-size:16px; }
.home-button { display:grid; place-items:center; text-decoration:none; font-size:21px; }
.title-button:hover { background:#263029; color:white; }.title-button.close:hover { background:#d84a4a; }.settings-button { font-size:15px; }
main { height:calc(100vh - 48px); padding:38px; display:flex; flex-direction:column; align-items:center; }
.drop-zone { width:min(720px,100%); flex:1; min-height:240px; border:1.5px dashed #bfc4ba; border-radius:18px; display:flex; flex-direction:column; align-items:center; justify-content:center; outline:none; cursor:pointer; transition:.18s; background:rgba(255,255,255,.33); }
.drop-zone:hover,.drop-zone.dragging { border-color:#7aa826; background:#f9ffe9; transform:scale(1.005); }
.drop-icon { width:64px; height:64px; margin-bottom:15px; padding:10px; display:grid; place-items:center; border:1px solid #344139; border-radius:17px; background:#18231d; box-shadow:0 9px 20px #17211b25; }
.drop-icon img { display:block; width:100%; height:100%; object-fit:contain; }
h1 { font-size:25px; margin:0 0 4px; letter-spacing:-.7px; } .drop-zone p { color:#6f776f; margin:0 0 18px; }.drop-zone small { color:#9a9f99; font-size:11px; letter-spacing:.6px; }
.drop-zone.compact { flex:0 0 78px; min-height:78px; border-radius:13px; flex-direction:row; justify-content:flex-start; padding:14px 20px; gap:14px; }
.drop-zone.compact .drop-icon { width:44px; height:44px; margin:0; padding:7px; border-radius:12px; }.drop-zone.compact h1 { font-size:17px; }.drop-zone.compact p { margin:0; font-size:12px; }.drop-zone.compact small { margin-left:auto; }
.queue-area { display:none; width:min(720px,100%); flex:1; min-height:0; margin-top:18px; }.queue-area.visible { display:flex; flex-direction:column; }
.queue-toolbar { display:flex; justify-content:space-between; align-items:center; margin-bottom:10px; }.queue-toolbar div { display:flex; flex-direction:column; }.queue-toolbar span { color:#8c938d; font-size:11px; margin-top:2px; }
.queue { overflow:auto; display:grid; gap:8px; padding-right:3px; }
.job { background:white; border:1px solid #e4e5de; padding:10px 12px; border-radius:11px; display:grid; grid-template-columns:44px minmax(0,1fr) auto; align-items:center; gap:5px 12px; box-shadow:0 3px 12px #17211b0b; cursor:default; }
.thumb { width:44px; height:44px; object-fit:cover; border-radius:7px; grid-row:1/3; background:#eef0eb; }.job-info { min-width:0; }.job-name { display:block; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; font-weight:600; }.job-meta { display:block; color:#929892; font-size:11px; }.job-status.done { color:#4d7d08; }.job-status.error { color:#bc3939; }
.job-actions { display:flex; gap:6px; }.job-actions button { border:1px solid #dfe1db; background:#f7f8f4; border-radius:7px; padding:6px 9px; cursor:pointer; font-size:11px; }.job-actions button:hover { border-color:#a9b19f; }.job-actions button:disabled { opacity:.5; cursor:default; }
.progress { grid-column:2/-1; height:3px; background:#ebede7; overflow:hidden; border-radius:4px; }.progress span { display:block; height:100%; width:0; background:#88c329; transition:width .15s; }.job.complete .progress span { width:100%!important; }
.primary-button { border:0; background:#17211b; color:white; border-radius:8px; padding:9px 14px; cursor:pointer; font-weight:600; }.primary-button:hover { background:#29382f; }.primary-button:disabled { opacity:.45; cursor:default; }.secondary-button { border:1px solid #d8dbd4; background:white; color:#475048; border-radius:8px; padding:9px 14px; cursor:pointer; }
.output-button { margin-top:14px; border:0; background:transparent; color:#4f5951; text-decoration:underline; text-underline-offset:3px; cursor:pointer; }
.nav-download { position:relative; align-self:center; padding:7px 11px; border:1px solid #435047; border-radius:7px; color:#eef4ec; font-size:12px; font-weight:650; text-decoration:none; -webkit-app-region:no-drag; }.nav-download:hover { border-color:var(--green); color:var(--green); background:#263029; }.nav-download:after { content:attr(data-tooltip); position:absolute; z-index:20; top:calc(100% + 10px); left:50%; width:max-content; max-width:230px; padding:7px 9px; border-radius:7px; background:#17211b; color:#fff; font-size:11px; font-weight:400; line-height:1.3; opacity:0; visibility:hidden; transform:translate(-50%,-4px); transition:.15s; pointer-events:none; box-shadow:0 7px 18px #17211b38; }.nav-download:before { content:""; position:absolute; z-index:21; top:calc(100% + 4px); left:50%; border:6px solid transparent; border-bottom-color:#17211b; opacity:0; visibility:hidden; transform:translateX(-50%); transition:.15s; }.nav-download:hover:after,.nav-download:hover:before,.nav-download:focus-visible:after,.nav-download:focus-visible:before { opacity:1; visibility:visible; transform:translate(-50%,0); }.nav-download:hover:before,.nav-download:focus-visible:before { transform:translateX(-50%); }.hosted-status { align-self:center; font-size:12px; color:#dce6d5; margin:0 10px; }.hosted-status.online { color:var(--green); }.hosted-note { text-align:center; color:#6c746c; font-size:12px; margin:14px; }.job-actions .download-button { background:#202821; color:#fff; border-color:#202821; }

.download-page main { justify-content:center; }.download-panel { width:min(720px,100%); min-height:360px; border:1.5px dashed #bfc4ba; border-radius:18px; display:flex; flex-direction:column; align-items:center; justify-content:center; padding:46px 28px; text-align:center; background:rgba(255,255,255,.33); }.download-panel .drop-icon { flex:0 0 auto; }.download-panel h1 { margin-top:3px; }.download-panel>p { max-width:510px; color:#6f776f; margin:8px 0 24px; }.download-actions { display:flex; justify-content:center; gap:11px; flex-wrap:wrap; }.download-action { min-height:44px; display:inline-flex; align-items:center; justify-content:center; gap:9px; padding:10px 16px; border:1px solid #c9cdc5; border-radius:9px; background:#fff; color:#273129; font-weight:650; text-decoration:none; box-shadow:0 4px 13px #17211b0b; }.download-action:hover { border-color:#7aa826; transform:translateY(-1px); }.download-action.primary { border-color:#17211b; background:#17211b; color:#fff; }.download-action.primary:hover { border-color:#334238; background:#29382f; }.download-action svg { width:19px; height:19px; fill:currentColor; }.download-meta { margin-top:16px; color:#929892; font-size:11px; }.download-page .window-controls { align-items:center; }.download-page .nav-download { color:var(--green); border-color:#61784d; }

@media(max-width:600px){.hosted-status{display:none}.nav-download{margin-right:5px}.download-panel{min-height:330px;padding:34px 20px}.download-actions{width:100%}.download-action{width:100%}}
.settings-panel { position:fixed; top:48px; right:0; bottom:0; width:355px; background:#fff; z-index:3; padding:28px; box-shadow:-12px 0 40px #17211b18; transform:translateX(105%); transition:transform .22s ease; }
.settings-panel.open { transform:none; }.scrim { position:fixed; inset:48px 0 0; background:#17211b26; visibility:hidden; opacity:0; transition:.2s; z-index:2; }.scrim.open { visibility:visible; opacity:1; }
.settings-heading { display:flex; justify-content:space-between; align-items:flex-start; margin-bottom:35px; }.settings-heading small { color:#8a918a; font-size:10px; letter-spacing:1.3px; }.settings-heading h2 { margin:2px 0 0; font-size:25px; }.settings-heading button { border:0; background:#f0f1ed; border-radius:50%; width:30px; height:30px; cursor:pointer; font-size:20px; }
.settings-tabs { display:grid; grid-template-columns:1fr 1fr; border-bottom:1px solid #e3e5df; margin:-17px 0 4px; }.settings-tabs button { border:0; border-bottom:2px solid transparent; background:transparent; padding:11px; color:#858c86; cursor:pointer; }.settings-tabs button.active { color:#17211b; border-bottom-color:#76a922; font-weight:700; }.settings-tab { display:none; }.settings-tab.active { display:block; }
.field-label { display:flex; justify-content:space-between; font-size:12px; font-weight:700; margin:25px 0 11px; }.field-label output { color:#618b1a; }
input[type=range] { width:100%; accent-color:#6f9d1e; }.segmented { display:grid; grid-template-columns:repeat(3,1fr); background:#f0f1ed; border-radius:9px; padding:3px; }.segmented button { border:0; padding:8px; border-radius:7px; background:transparent; cursor:pointer; color:#6a716b; }.segmented button.active { background:#17211b; color:white; }
.size-fields { margin-top:14px; }.size-fields.two { display:grid; grid-template-columns:1fr 1fr; gap:10px; }.size-fields.hidden { display:none; }.size-fields label { position:relative; display:block; color:#777e77; font-size:11px; }.size-fields input { width:100%; margin-top:5px; padding:10px 33px 10px 10px; border:1px solid var(--line); border-radius:8px; outline:none; }.size-fields span { position:absolute; right:10px; bottom:10px; color:#a0a59f; }.hint { color:#929892; font-size:11px; line-height:1.5; margin-top:15px; }
.check-row { display:flex; align-items:center; gap:8px; margin-top:15px; font-size:12px; cursor:pointer; }.check-row.hidden { display:none; }.check-row input { accent-color:#6f9d1e; }
.format-options { display:grid; gap:9px; }.format-options button { position:relative; display:grid; grid-template-columns:1fr auto; text-align:left; border:1px solid #e0e2dc; border-radius:10px; background:#fafbf8; padding:12px 13px; cursor:pointer; color:#17211b; }.format-options button:hover { border-color:#b7bfaf; }.format-options button.active { border-color:#77a62b; background:#f7ffe8; box-shadow:0 0 0 1px #77a62b inset; }.format-options strong { font-size:13px; }.format-options span { grid-column:1/-1; color:#8c938d; font-size:11px; margin-top:2px; }.format-options b { color:#638c20; font-size:9px; text-transform:uppercase; letter-spacing:.7px; }.format-note { margin-top:14px; }.heic-note { display:flex; flex-direction:column; gap:3px; margin-top:22px; padding:12px; border-radius:9px; background:#f1f2ed; }.heic-note strong { font-size:12px; }.heic-note span { font-size:11px; color:#777f78; line-height:1.45; }
.heic-note.enabled { background:#f5ffe6; border:1px solid #d5eab2; }.heic-note.enabled strong { color:#527b13; }
.crop-modal { position:fixed; inset:0; z-index:10; background:#111813d9; display:none; align-items:center; justify-content:center; padding:28px; }.crop-modal.open { display:flex; }.crop-dialog { width:min(900px,100%); height:min(700px,100%); background:#f8f8f4; border-radius:16px; display:flex; flex-direction:column; overflow:hidden; box-shadow:0 30px 80px #0007; }
.crop-heading { height:72px; flex:none; padding:17px 22px; display:flex; justify-content:space-between; align-items:center; background:white; border-bottom:1px solid #e3e4de; }.crop-heading small { color:#8a918a; font-size:9px; letter-spacing:1.2px; }.crop-heading h2 { font-size:17px; margin:1px 0 0; max-width:650px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.crop-heading button { border:0; background:#eef0eb; width:31px; height:31px; border-radius:50%; font-size:20px; cursor:pointer; }
.crop-stage { min-height:0; flex:1; margin:20px; display:flex; align-items:center; justify-content:center; background:#202821; border-radius:10px; overflow:hidden; }.crop-stage canvas { max-width:100%; max-height:100%; cursor:crosshair; }.crop-footer { min-height:65px; flex:none; padding:10px 20px 16px; display:flex; align-items:center; justify-content:space-between; gap:15px; }.crop-footer>span { color:#747c75; font-size:12px; }.crop-footer>div { display:flex; gap:8px; }
@media(max-width:700px) { main{padding:24px}.settings-panel{width:min(355px,100%)} }
