@import "https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Libre+Caslon+Display&display=swap";
:root{--ink:#263d36;--muted:#7c847e;--green:#345c49;--line:#e2e5db;--paper:#f6f6ef}*{box-sizing:border-box}body{color:var(--ink);background:var(--paper);margin:0;font-family:DM Sans,Arial,sans-serif;font-size:14px}button,a,input{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}button:disabled{cursor:default;opacity:.5}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible{outline-offset:4px;outline:3px solid #9bbca5}.shell{flex-direction:column;min-height:100vh;display:flex}header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;height:96px;margin:0 5%;display:flex}.brand{letter-spacing:-1px;align-items:center;gap:9px;font-size:25px;font-weight:700;display:flex}.mark{background:var(--green);color:#fff;border-radius:10px 10px 10px 1px;place-items:center;width:31px;height:34px;font-family:Georgia,serif;font-size:29px;display:grid}.tag{letter-spacing:1px;border:1px solid #cdd5c5;border-radius:4px;margin-left:4px;padding:4px 5px;font-size:9px}.header-note{color:var(--muted);font-size:12px}main{flex:1;width:min(820px,90%);margin:68px auto 75px}.eyebrow{letter-spacing:2px;color:#657c66;align-items:center;gap:9px;font-size:10px;font-weight:600;display:inline-flex}.dot{background:#77956f;border-radius:50%;width:6px;height:6px}h1{letter-spacing:-1.8px;margin:24px 0 20px;font-family:Libre Caslon Display,Georgia,serif;font-size:62px;font-weight:400;line-height:1.06}h1 em{color:#74836b;font-weight:400}.intro p{color:var(--muted);font-size:14px;line-height:1.7}.workspace{background:#fdfdf9;border:1px solid #dadfd1;border-radius:17px;margin-top:43px;overflow:hidden;box-shadow:0 14px 40px #243d3010}.workspace-top{justify-content:space-between;align-items:center;height:61px;padding:0 25px;font-size:12px;font-weight:600;display:flex}.small-icon{color:#6e896b;margin-right:8px;font-size:18px}.muted{color:#8b9188;font-size:10px;font-weight:400}.dropzone{background:#f7f8f1;border:1px dashed #ccd4c3;border-radius:10px;margin:0 22px;transition:all .2s}.dropzone.drag{border-color:var(--green);background:#e6efde}.upload-target{width:100%;min-height:237px;color:var(--muted);background:0 0;border:0;flex-direction:column;justify-content:center;align-items:center;gap:10px;display:flex}.upload-icon{color:#63805d;background:#e9eddf;border:1px solid #dbe2cf;border-radius:13px;place-items:center;width:48px;height:48px;margin-bottom:5px;font-size:30px;display:grid}.upload-target strong{color:var(--ink);font-size:15px;font-weight:500}.upload-target>span:not(.upload-icon){font-size:12px}.upload-target u{color:#526b47;text-underline-offset:3px}.upload-target small{opacity:.8;margin-top:8px;font-size:10px}.file-input{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.file-input:focus-visible+.dropzone{outline:3px solid #9bbca5}.has-image{text-align:center;padding:20px}.preview{object-fit:contain;border-radius:7px;max-width:100%;max-height:420px;margin:auto;display:block}.file-detail{justify-content:space-between;align-items:center;gap:15px;margin-top:16px;font-size:11px;display:flex}.file-detail span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.file-detail button{color:var(--green);white-space:nowrap;background:0 0;border:0;text-decoration:underline}.workspace-bottom{justify-content:space-between;align-items:center;gap:12px;padding:20px 23px;display:flex}.privacy{color:#8b9188;font-size:10px}.submit{color:#fff;background:var(--green);border:1px solid var(--green);border-radius:7px;align-items:center;gap:25px;padding:13px 18px;font-size:11px;font-weight:500;display:flex}.submit:hover:enabled{background:#254936}.how{color:#a2aa98;justify-content:center;align-items:center;gap:22px;margin-top:30px;font-size:10px;display:flex}.how b{color:#7c8575;margin-left:7px;font-weight:400}.how i{color:#d3d8ca;font-style:normal}footer{border-top:1px solid var(--line);color:#8e958a;justify-content:space-between;padding:23px 5%;font-size:10px;display:flex}.processing{color:var(--green);justify-content:center;align-items:center;gap:12px;margin:28px 0;display:flex}.processing button{color:var(--muted);background:0 0;border:0;margin-left:10px;font-size:11px}.spinner{border:2px solid #dce4d4;border-top-color:var(--green);border-radius:50%;width:16px;height:16px;animation:1s linear infinite spin}.status-text{animation:.3s ease-out fade}.error{color:#8c4731;background:#fff3ee;border:1px solid #e6c4b9;border-radius:9px;margin:22px 0;padding:16px 20px;font-size:13px}.result{border:1px solid var(--line);background:#fdfdf9;border-radius:14px;margin-top:30px;padding:32px 35px;line-height:1.8}.result h2{font-family:Georgia,serif;font-size:28px;font-weight:400;line-height:1.3}.result h3{margin-top:24px;font-size:14px}.result li{margin-bottom:6px}.confidence-note{border-top:1px solid var(--line);color:var(--muted);margin-top:25px;padding-top:18px;font-size:11px}@keyframes spin{to{transform:rotate(360deg)}}@keyframes fade{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}@media (max-width:600px){header{height:75px}.header-note{display:none}main{margin-top:45px}h1{letter-spacing:-1px;font-size:43px}.intro p{font-size:12px}.workspace-top{padding:0 17px}.workspace-top .muted{display:none}.dropzone{margin:0 13px}.workspace-bottom{flex-direction:column;align-items:flex-end;padding:16px}.privacy{align-self:flex-start}.how{flex-wrap:wrap;gap:10px;font-size:9px}.how i{display:none}.how b{margin-left:4px}footer{gap:15px;font-size:9px}.result{padding:24px}.desktop{display:none}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition:none!important;animation:none!important}}.image-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:16px;display:grid}.image-card{min-width:0}.image-card .preview{width:100%;max-height:300px}.image-card .file-detail{gap:8px}.retry{margin-top:16px}.result-footer{justify-content:space-between;align-items:center;gap:16px;margin-top:24px;display:flex}.result-footer .confidence-note{margin:0}.result-footer button{flex-shrink:0}.screenshot-action{justify-content:flex-end;margin-bottom:20px;display:flex}.screenshot-action button{color:var(--green);text-underline-offset:3px;background:0 0;border:0;padding:10px 0;font-size:12px;text-decoration:underline}.screenshot-dialog{border:1px solid var(--line);background:var(--paper);width:min(760px,100% - 32px);max-height:90dvh;color:var(--ink);border-radius:14px;padding:20px;overflow:auto}.screenshot-dialog::backdrop{background:#121e19a6}.screenshot-dialog-header,.screenshot-navigation{justify-content:space-between;align-items:center;gap:16px;display:flex}.screenshot-dialog-header{margin-bottom:16px;font-weight:600}.screenshot-dialog button{border:1px solid var(--line);color:var(--ink);background:#fdfdf9;border-radius:7px;padding:10px 16px}.screenshot-full{max-width:100%;height:auto;margin:0 auto;display:block}.screenshot-navigation{margin-top:16px}.intro{text-align:left}.intro h1{letter-spacing:-.7px;margin:0 0 12px;font-family:inherit;font-size:30px;font-weight:600;line-height:1.2}.intro p{max-width:560px;margin:0;font-size:14px;line-height:1.6}.intro+.workspace{margin-top:28px}@media (max-width:600px){.intro h1{font-size:25px}.intro p{font-size:13px}}.result-actions{align-items:center;gap:12px;margin-left:auto;display:flex}.result-actions>button:not(.submit),.result-footer>button:not(.submit){color:var(--green);text-underline-offset:3px;background:0 0;border:0;padding:10px 0;text-decoration:underline}.history-link{color:var(--muted);text-underline-offset:4px;font-size:12px;text-decoration:underline;display:inline}
