:root { font-family: Inter, system-ui, sans-serif; color: #0f172a; background: #f8fafc; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
.topbar { padding: 1.2rem 1.5rem; background: linear-gradient(90deg, #1d4ed8, #0f172a); color: #fff; }
.topbar-title-link,.topbar-title-link:visited{color:#fff;text-decoration:none;}
.version-tag { font-size: .7em; }
.layout { width: 100%; max-width: min(96vw, 980px); margin: 1rem auto; padding: 0 .5rem 1rem; }
.card { background:#fff; border:1px solid #e2e8f0; border-radius:.75rem; padding:1.25rem; box-shadow:0 10px 30px rgba(15,23,42,.05);} 
.crop-grid { margin-top: .8rem; display: grid; grid-template-columns: repeat(auto-fit,minmax(120px,1fr)); gap: .6rem; }
.crop-grid label { display: flex; flex-direction: column; gap: .25rem; font-weight: 600; }
input { border:1px solid #cbd5e1; border-radius:.45rem; padding:.45rem; }
canvas { margin-top:.9rem; max-width:100%; border:1px solid #cbd5e1; border-radius:.4rem; }
.actions { margin-top: .9rem; }
.btn { border:0;border-radius:.5rem;cursor:pointer;padding:.7rem .95rem;font-weight:600;background:#2563eb;color:#fff; }
.status { margin:.75rem 0 0; color:#1e40af; font-weight:600; }
.status.error { color:#b91c1c; }
.report-bug-hint a{ color:#1d4ed8; font-weight:600; text-decoration:none; }
.subtle-text{ color:#64748b; }
