@font-face{font-family:Portal;src:local("Segoe UI");font-display:swap}
:root{--green:#193746;--green-light:#eaf4fa;--ink:#193746;--muted:#607582;--line:#dce5eb;--paper:#f7fafc;--cream:#eef4f8;--white:#fff;--yellow:#66b6e3;--danger:#a23432;font-family:Portal,"Segoe UI",Arial,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button,a,input{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #66b6e3;outline-offset:4px}a{color:inherit}button{border:0}[hidden]{display:none!important}.test-banner{background:#efe5bf;color:#5b4a1b;text-align:center;padding:10px 20px;font-size:12px;line-height:1.5;letter-spacing:.02em}.header{max-width:1240px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:30px 40px;border-bottom:1px solid var(--line);gap:20px}.brand{text-decoration:none;display:flex;align-items:center;gap:12px;letter-spacing:.2em;font-size:20px;font-weight:700}.brand small{display:block;font-size:9px;letter-spacing:.26em;margin-top:4px;color:var(--muted)}.brand-symbol{background:var(--green);color:#fff;display:flex;align-items:center;justify-content:center;width:47px;height:47px;font-size:29px;font-weight:500;letter-spacing:-4px;border-radius:11px}.brand-symbol span{color:var(--yellow);font-size:25px;margin-top:15px}.header-right{display:flex;align-items:center;gap:25px}.portal-label{font-size:13px;color:var(--muted)}.text-button{background:none;color:var(--green);padding:10px 0;font-size:13px;font-weight:600;white-space:nowrap}.text-button:hover{text-decoration:underline}.text-button span{margin-left:7px}main{max-width:1160px;margin:0 auto;padding:0 0 60px}.eyebrow{font-size:11px;letter-spacing:.16em;font-weight:650;color:var(--muted)}h1,h2,h3,p{margin:0}h1{font-size:46px;font-weight:500;letter-spacing:-1.8px;line-height:1.12}h2{font-size:22px;font-weight:550;letter-spacing:-.55px}h3{font-size:16px;font-weight:600}.muted{color:var(--muted);line-height:1.65}p{line-height:1.65}.login-layout{display:grid;grid-template-columns:1fr 440px;gap:100px;padding:65px 35px 10px;align-items:center}.intro h1{font-size:58px;margin:20px 0;letter-spacing:-2.5px}.intro>p{max-width:350px;color:var(--muted);font-size:16px}.paper-scene{height:260px;position:relative;margin-top:15px}.paper{position:absolute;left:80px;top:30px;background:white;border:1px solid #dce5eb;width:160px;height:180px;padding:22px;box-shadow:0 12px 35px #1937460b}.paper.back{transform:rotate(-12deg);left:60px;top:32px;background:#dceefa}.paper.front{transform:rotate(7deg)}.paper-top{display:flex;justify-content:space-between;font-size:10px;letter-spacing:2px;margin-bottom:23px}.paper-line{height:4px;background:#d5e4ed;width:67%;margin-bottom:11px}.paper-line.long{width:100%}.paper-line.short{width:35%}.paper-rule{border-bottom:1px dashed #d5e4ed;margin:18px 0}.paper-check{position:absolute;right:-19px;bottom:15px;background:var(--green);color:#c5e6f8;border-radius:50%;width:43px;height:43px;display:grid;place-items:center;font-size:23px;transform:rotate(-7deg)}.scene-note{position:absolute;bottom:3px;left:50px;font-size:12px;color:var(--muted);letter-spacing:.03em}.login-card{background:white;border:1px solid var(--line);border-radius:18px;padding:34px;box-shadow:0 15px 40px #19374605}.login-card h2{font-size:26px;margin:12px 0}.login-card .muted{font-size:14px;margin-bottom:25px}label{display:block;font-size:13px;font-weight:600;margin:18px 0 8px}input{width:100%;border:1px solid #c6d7e2;border-radius:8px;padding:13px;background:#fff;color:var(--ink);min-height:47px}.password-row{display:flex;align-items:stretch;border:1px solid #c6d7e2;border-radius:8px}.password-row input{border:0;background:none;min-width:0}.password-row button{background:none;color:var(--muted);font-size:12px;padding:0 14px}.button{display:inline-flex;align-items:center;justify-content:center;gap:16px;min-height:48px;border-radius:8px;padding:13px 20px;font-size:14px;font-weight:600;transition:background .15s,transform .15s}.button:hover{transform:translateY(-1px)}.primary{background:var(--green);color:white}.primary:hover{background:#254d62}.secondary{background:white;border:1px solid #c6d7e2;color:var(--green)}.secondary:hover{background:var(--green-light)}.full{width:100%;justify-content:space-between}.error-text{color:var(--danger);font-size:13px;min-height:0;line-height:1.5;margin:12px 0}.error-text:empty{display:none}.login-card form .button{margin-top:20px}.login-help{font-size:12px;color:var(--muted);margin-top:20px;line-height:1.75}.demo-box{border-top:1px solid var(--line);margin-top:23px;padding-top:22px}.demo-box strong{font-size:13px}.demo-box p{font-size:12px;color:var(--muted);margin:7px 0 14px}.page-heading{display:flex;align-items:center;justify-content:space-between;padding:45px 0 31px;gap:20px}.page-heading h1{margin:12px 0}.page-heading p{color:var(--muted);font-size:15px}.account-badge{display:flex;gap:8px;align-items:center;font-size:12px;color:var(--muted);white-space:nowrap}.status-dot{width:7px;height:7px;border-radius:50%;background:#4598c6}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px;align-items:start}.upload-card{background:white;border:1px solid var(--line);border-radius:14px;padding:28px}.section-heading{display:flex;align-items:center;gap:13px;margin-bottom:23px}.step{color:var(--muted);border:1px solid var(--line);font-size:11px;border-radius:6px;padding:6px}.dropzone{padding:36px 15px 28px;background:#f7fbfe;border:1.5px dashed #b8d2e2;border-radius:10px;text-align:center;transition:background .15s}.dropzone.drag{background:#e3f1fa;border-color:var(--green)}.upload-symbol{width:48px;height:48px;display:grid;place-items:center;margin:0 auto 18px;border:1px solid #d8e7f0;background:#eaf4fa;border-radius:13px;color:var(--green);font-size:30px;line-height:1}.dropzone h3{font-size:20px;font-weight:500;letter-spacing:-.3px}.dropzone>p{font-size:13px;color:var(--muted);margin-top:7px}.upload-actions{display:flex;gap:10px;justify-content:center;margin:23px 0 19px}.dropzone .formats{font-size:11px;line-height:1.7;max-width:330px;margin:auto}.side-card{background:var(--green);color:#f4f9fc;border-radius:14px;padding:28px}.side-card>.eyebrow{color:#a4d2ed;font-size:10px}.side-card h2{font-size:26px;line-height:1.25;margin-top:13px;letter-spacing:-.7px}.steps{list-style:none;padding:0;margin:27px 0 0}.steps li{display:flex;gap:13px;margin-bottom:23px}.steps li>span{flex:0 0 24px;height:24px;border:1px solid #5b859d;border-radius:50%;display:grid;place-items:center;color:var(--yellow);font-size:11px}.steps strong{font-size:13px;font-weight:550}.steps p{font-size:12px;line-height:1.65;color:#c5dce9;margin-top:5px}.side-note{border-top:1px solid #40657b;display:flex;gap:14px;padding-top:20px;margin-top:4px}.side-note>span{font-size:24px;color:var(--yellow)}.side-note p{font-size:12px;color:#c7dfed}.selection-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:25px}.count{font-size:11px;border:1px solid var(--line);border-radius:20px;min-width:25px;display:inline-block;text-align:center;vertical-align:middle;padding:3px 7px;margin-left:7px;color:var(--muted);letter-spacing:0;font-weight:500}.file-list,.history-list{list-style:none;padding:0;margin:12px 0 0}.file-row{display:flex;gap:12px;align-items:center;padding:14px 0;border-bottom:1px solid #eaf0f4}.file-icon{width:38px;height:45px;border-radius:6px;background:#edf5fa;color:#45728d;flex-shrink:0;display:grid;place-items:center;font-size:9px;font-weight:650;border:1px solid #dceaf2;overflow:hidden}.file-icon img{width:100%;height:100%;object-fit:cover}.file-info{min-width:0;flex:1}.file-name{display:block;font-size:13px;font-weight:550;overflow-wrap:anywhere;line-height:1.5}.file-meta{font-size:11px;color:var(--muted);margin-top:3px}.file-error{color:var(--danger)}.icon-button{background:none;font-size:23px;width:38px;height:38px;color:var(--muted);flex-shrink:0}.preview-button{background:none;color:var(--green);text-align:left;padding:0;text-decoration:underline;text-decoration-color:#8eb9d2;text-underline-offset:3px}.progress{width:100%;height:5px;accent-color:var(--green);display:block;margin-top:8px}.send-footer{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:22px}.send-footer p{font-size:11px;color:var(--muted);max-width:220px}.send-footer .button{flex-shrink:0}.feedback{padding:14px 16px;border-radius:8px;margin-top:20px;background:#e7f3fa;font-size:13px;line-height:1.6}.feedback.error{background:#fff0ec;color:var(--danger)}.history-card{background:white;border:1px solid var(--line);border-radius:14px;margin-top:26px;padding:27px 28px}.history-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}.history-heading h2{margin-top:9px}.empty-state{display:flex;gap:16px;align-items:center;justify-content:center;padding:40px 15px;color:var(--muted)}.empty-state>span{font-size:32px;color:#8fabbc}.empty-state strong{font-size:13px;font-weight:500}.empty-state p{font-size:12px;margin-top:4px}.history-list .file-row{padding:18px 0}.status-badge{font-size:11px;border-radius:20px;padding:6px 11px;white-space:nowrap;background:#f4edda;color:#7b652a}.status-badge.received{background:#eaf2e6;color:#365b32}.status-badge.retry{background:#fff0e5;color:#925b28}.history-foot{font-size:10px;color:var(--muted);margin-top:17px}.history-foot:has(+*){display:none}footer{max-width:1160px;margin:auto;border-top:1px solid var(--line);padding:22px 0 30px;display:flex;justify-content:space-between;gap:20px;color:var(--muted);font-size:11px}.footer-dot{padding:0 7px}.loading{text-align:center;padding:100px 20px;color:var(--muted)}.offline-card{padding:70px 30px;text-align:center}.offline-card p{max-width:520px;margin:22px auto}.offline-card h1{font-size:32px}dialog{border:1px solid var(--line);border-radius:14px;padding:25px;max-width:min(650px,calc(100% - 28px));color:var(--ink);background:var(--paper)}dialog::backdrop{background:#10273588}.dialog-top{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.dialog-top h2{font-size:18px;overflow-wrap:anywhere}dialog p{font-size:13px;color:var(--muted);margin-top:18px}#preview-image{display:block;max-width:100%;max-height:65vh;margin:auto}#install-dialog{max-width:430px}
@media(min-width:1000px) and (max-width:1240px){main,footer{margin-left:40px;margin-right:40px}.login-layout{gap:55px;padding-left:0;padding-right:0}}
@media(max-width:999px){.header{padding:22px 25px}.portal-label{display:none}main{padding:0 24px 40px}footer{margin:0 24px}.login-layout{grid-template-columns:1fr 390px;gap:30px;padding:45px 0}.intro h1{font-size:45px}.paper-scene{transform:scale(.85);transform-origin:left top}.workspace{grid-template-columns:minmax(0,1fr) 260px;gap:16px}.upload-card{padding:20px}.side-card{padding:23px}.upload-actions{flex-direction:column;max-width:260px;margin-left:auto;margin-right:auto}.page-heading h1{font-size:40px}}
@media(max-width:740px){.header{padding:18px 20px;gap:10px}.brand{font-size:16px;gap:9px}.brand-symbol{width:39px;height:39px;font-size:25px}.brand small{font-size:8px}.header-right{gap:16px}.header-right .text-button{font-size:11px}.test-banner{font-size:10px;padding:8px 15px}.login-layout{display:block;padding:31px 0 0}.intro h1{font-size:40px;letter-spacing:-1.6px;margin:12px 0}.intro>p{font-size:14px;max-width:350px}.intro .eyebrow{font-size:10px}.paper-scene{display:none}.login-card{margin-top:28px;padding:25px}.login-card h2{font-size:24px}main{padding:0 18px 30px}.page-heading{padding:28px 2px 24px;display:block}.page-heading h1{font-size:34px;letter-spacing:-1.3px}.page-heading p{font-size:13px}.account-badge{margin-top:15px;font-size:11px}.workspace{grid-template-columns:1fr}.side-card{display:none}.upload-card{padding:19px 16px}.section-heading h2{font-size:19px}.dropzone{padding:27px 12px 23px}.dropzone h3{font-size:19px}.upload-actions{flex-direction:column;max-width:260px;margin-top:20px}.upload-actions .button{width:100%;min-height:49px}.selection-heading h3{font-size:14px}.selection-heading .text-button{font-size:11px}.send-footer{flex-direction:column;align-items:stretch;gap:13px}.send-footer p{max-width:none}.send-footer .button{width:100%;justify-content:space-between}.history-card{padding:23px 17px;margin-top:18px}.history-heading h2{font-size:19px}.history-heading .text-button{font-size:11px}.history-list .file-row{flex-wrap:wrap;gap:10px}.history-list .file-info{width:calc(100% - 52px);flex:auto}.history-list .status-badge{margin-left:48px}.empty-state{justify-content:flex-start;padding:30px 0}.empty-state p{font-size:11px}.history-foot{font-size:9px}.file-name{font-size:12px}.file-meta{font-size:10px}footer{margin:0 20px;flex-direction:column;gap:9px;padding:20px 0;font-size:10px}.eyebrow{font-size:10px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}

/* Original Ranft logo, displayed without image edits. */
.header{background:#fff}.brand{gap:20px}.brand-logo{width:210px;height:auto;display:block}.brand-divider{width:1px;height:35px;background:var(--line)}.brand-product{font-size:13px;letter-spacing:.03em;font-weight:500;color:var(--muted)}@media(max-width:740px){.brand{gap:0}.brand-logo{width:152px}.brand-divider,.brand-product{display:none}.header-right{gap:12px}.header{padding:16px 18px}}

.receipt-badges{display:flex;flex-direction:column;align-items:flex-end;gap:7px}.quality-badge{font-size:11px;border-radius:20px;padding:6px 11px;background:#eaf2f8;color:#47687c;white-space:nowrap}.quality-badge.good{background:#eaf3e9;color:#356235}.quality-badge.review,.quality-badge.retake{background:#fff0d7;color:#825d12}.quality-badge.blocked{background:#fae7e5;color:#963c38}.quality-badge.unavailable{background:#eeedf3;color:#655c79}.receipt-dialog{width:720px;max-width:calc(100% - 28px)}.quality-summary{border-radius:9px;padding:17px;background:#edf3f7}.quality-summary strong{font-size:16px}.quality-summary p{margin-top:7px;font-size:13px}.quality-summary.good{background:#eaf3e9}.quality-summary.review,.quality-summary.retake{background:#fff0d7}.quality-summary.blocked{background:#fae7e5}.receipt-dialog .transfer-note{font-size:12px;margin:12px 0}.page-controls{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:18px 0;font-size:12px}.page-controls .button{padding:8px 15px;min-height:40px}.receipt-canvas{background:#e8edf0;border-radius:8px;overflow:auto;max-height:55vh}.receipt-canvas:has(img[hidden]){display:none}#receipt-image{display:block;width:100%;height:auto}.receipt-dialog .quality-disclaimer{font-size:11px;padding-top:15px;border-top:1px solid var(--line);margin-top:18px}.receipt-tools{display:flex;justify-content:space-between;gap:12px}.review-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:15px}.review-actions:has(button:not([hidden])){padding-top:15px;border-top:1px solid var(--line)}@media(max-width:740px){.receipt-badges{margin-left:48px;align-items:flex-start}.history-list .receipt-badges .status-badge{margin-left:0}.quality-badge{font-size:10px}.receipt-dialog{padding:18px}.review-actions{flex-direction:column}.review-actions .button{width:100%;font-size:12px}.receipt-tools .text-button{font-size:11px}}
