.boot-screen{min-height:90vh;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:20px;padding:25px;text-align:center}.boot-screen img{width:52px}.boot-screen h1{font-size:1.4rem}.login-page{min-height:100dvh;padding:40px 5vw;background:#fff}.login-brand{display:flex;align-items:center;gap:11px;font-size:1.55rem;font-weight:800;letter-spacing:.02em;width:max-content}.login-brand img{width:38px;height:38px}.login-brand small{display:block;font-size:.7rem;letter-spacing:.14em;font-weight:500;color:#8c98a6;margin-top:-4px}.login-layout{max-width:1080px;margin:70px auto;display:grid;grid-template-columns:1fr 460px;gap:100px;align-items:center}.login-eyebrow{font-size:.8rem;color:#6487db;font-weight:600;letter-spacing:.12em}.login-intro h1{font-size:2.7rem;line-height:1.4;font-weight:650;margin:20px 0}.login-intro>p{font-size:1.1rem;line-height:1.9}.login-preview{margin-top:45px;max-width:340px;height:250px;background:#f3f6fe;border-radius:28px;position:relative;display:grid;place-items:center}.login-paper{width:220px;background:white;padding:25px;transform:rotate(-5deg);box-shadow:0 10px 30px #4262a611;border-radius:8px}.login-paper>span{font-size:.7rem;letter-spacing:.1em;color:#a6b2c5}.login-paper strong{display:block;font-size:1rem;margin:15px 0}.login-paper>div{height:7px;background:#eef2fa;border-radius:3px;margin:11px 0}.login-paper>div:nth-of-type(2){width:65%}.login-paper footer{border-top:1px dashed #dde5f5;padding-top:18px;margin-top:20px;display:flex;justify-content:space-between;font-size:.75rem;color:#8e9bb0}.login-paper b{color:#4169d8}.login-check{position:absolute;right:30px;bottom:40px;background:#5d87ff;color:#fff;width:46px;height:46px;display:grid;place-items:center;border:5px solid #fff;border-radius:50%;font-size:1.4rem}.login-card{border:1px solid #e6ecf5;border-radius:20px;padding:38px;background:#fff;box-shadow:0 14px 50px #2c497606}.login-card h2{font-size:1.6rem;letter-spacing:-.04em;margin:22px 0 10px}.login-card>p{font-size:1rem;line-height:1.7}.login-cta{display:flex;width:100%;height:50px;font-size:1rem;margin-top:30px}.login-switch{display:block;text-align:center;margin-top:15px;color:#7385a4;font-size:.875rem}.login-account{display:flex;gap:13px;align-items:center;margin-top:25px;padding:15px;background:#f7f9fd;border-radius:10px}.login-account strong,.login-account span{display:block}.login-account div>span{font-size:.875rem;color:#8490a1;word-break:break-all}.login-notes{border-top:1px solid #edf0f5;margin-top:28px;padding-top:25px;display:flex;flex-direction:column;gap:20px}.login-notes b{font-size:.875rem;font-weight:600;display:block;margin-bottom:4px}.login-notes span{font-size:.875rem;color:#8692a2;line-height:1.6;display:block}.login-card .login-footnote{font-size:.75rem;margin-top:24px;color:#9ba5b3}.login-footer{text-align:center;color:#9ba5b3;font-size:.8rem}.pilot-banner{border:1px solid #e3eafb;background:#f6f8ff;padding:14px 18px;border-radius:10px;display:flex;align-items:center;gap:12px;margin-bottom:22px;color:#5573ac;font-size:.875rem}.pilot-banner .icon{color:#5d87ff}.pilot-banner a{margin-left:auto;color:#4169d8;white-space:nowrap;font-weight:600}.capture-options{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:24px}.capture-option{position:relative;border:1px solid #dce5f8;border-radius:12px;padding:24px 15px;text-align:center;background:#f7f9ff;cursor:pointer}.capture-option .icon{margin:0 auto 13px;color:#5d87ff;width:28px;height:28px}.capture-option strong,.capture-option span{display:block}.capture-option strong{font-size:1rem}.capture-option span{font-size:.8125rem;color:#8c99ab;margin-top:5px}.capture-option input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}.scan-status{padding:20px;background:#f5f8ff;border-radius:12px;margin:15px 0}.scan-status .between{margin-bottom:12px}.scan-status strong{font-size:.95rem}.scan-status p{font-size:.875rem;margin-top:12px;line-height:1.7}.scan-status progress{width:100%;height:7px;appearance:none;border:0;border-radius:6px;overflow:hidden;background:#e7edfa}.scan-status progress::-webkit-progress-bar{background:#e7edfa}.scan-status progress::-webkit-progress-value{background:#5d87ff;border-radius:6px}.scan-status progress::-moz-progress-bar{background:#5d87ff}.scan-thumb{width:100%;max-height:210px;object-fit:contain;background:#f2f5fa;border-radius:10px;margin-bottom:18px}.scan-save-label{display:flex;gap:8px;align-items:center;margin:4px 0 20px;font-size:.875rem;color:#37796a}.scan-save-label .icon{width:17px}.ocr-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:18px 16px;margin-bottom:18px}.ocr-fields>.field{margin-bottom:0}.ocr-fields .full{grid-column:1/-1}.ocr-warning{font-size:.875rem;padding:12px 15px;border-radius:8px;background:#fff7eb;color:#936527;line-height:1.7;margin:14px 0}.ocr-source{margin-top:22px;border-top:1px solid #edf0f5;padding-top:17px}.ocr-source summary{cursor:pointer;font-size:.875rem;color:#78889d}.ocr-source pre{font-family:inherit;white-space:pre-wrap;overflow-wrap:anywhere;max-height:220px;overflow:auto;background:#f8fafe;padding:15px;font-size:.8125rem;color:#758396}.receipt-pilot-table .status-cell{min-width:98px}.receipt-photo-cell{width:38px;height:45px;object-fit:cover;border:1px solid #e6ecf3;border-radius:5px}.receipt-empty{padding:65px 25px;text-align:center}.receipt-empty>.icon{width:40px;height:40px;color:#8da8e9;margin:0 auto 22px}.receipt-empty h3{font-size:1.1rem;margin-bottom:10px}.receipt-empty p{font-size:1rem;line-height:1.7;margin-bottom:25px}.source-caption{font-size:.75rem;color:#9ca6b3;margin-top:6px}.retry-row{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-top:18px}.server-error{padding:15px 18px;border:1px solid #f2d9dc;background:#fff6f7;border-radius:10px;color:#a55a64;font-size:.875rem;margin-bottom:20px}.account-card{display:flex;align-items:center;gap:14px;margin:24px 0}.account-card p{font-size:.875rem;word-break:break-all}.capture-running{display:flex;align-items:center;gap:8px;background:#f0f5ff;color:#4169d8;border-radius:8px;padding:11px 15px;margin-bottom:18px;font-size:.875rem}.capture-running .spinner{width:15px;height:15px;border:2px solid #ccdafa;border-top-color:#5d87ff;border-radius:50%;animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
@media(max-width:900px){.login-layout{gap:40px;grid-template-columns:1fr 420px}.login-intro h1{font-size:2.2rem}.login-card{padding:30px}}
@media(max-width:760px){.receipt-columns .receipt-detail-image{max-height:220px}.receipt-columns{gap:18px}}
@media(max-width:760px){.login-page{padding:26px 22px}.login-layout{display:block;margin:45px auto;max-width:440px}.login-intro{display:none}.login-card{padding:28px 24px}.login-card h2{font-size:1.45rem}.pilot-banner{align-items:flex-start;font-size:.8125rem;flex-wrap:wrap}.capture-options{gap:10px}.capture-option{padding:22px 10px}.ocr-fields{gap:12px}.receipt-pilot-table th,.receipt-pilot-table td{padding:13px}.receipt-pilot-table .optional{display:none}.receipt-photo-cell{display:none}.scan-thumb{max-height:170px}.retry-row{align-items:flex-start}.login-footer{font-size:.75rem}}

.pilot-sms-banner{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 22px;padding:20px 24px;border:1px solid #d9e4fc;background:#f7faff;border-radius:14px}.pilot-sms-banner strong{display:block;color:#223851;font-size:15px}.pilot-sms-banner p{margin:8px 0;font-size:14px}.pilot-sms-banner small{color:#66788f;line-height:1.6}.pilot-sms-banner>div:last-child{display:flex;gap:8px;flex-shrink:0}.pilot-sms-context{display:flex;flex-direction:column;gap:7px;background:#f4f7ff;padding:16px;border-radius:12px;margin-bottom:18px}.receipt-extra{margin-top:20px;border-top:1px solid #e5ebf3;padding-top:16px}.receipt-extra summary{cursor:pointer;color:#344d6c;font-size:14px;font-weight:600;min-height:44px}.receipt-extra summary span{display:block;font-size:12px;font-weight:400;color:#78889d;padding:6px 0 12px}.receipt-extra .ocr-fields{padding-top:10px}.receipt-extra input{min-height:44px}.android-receipt-settings{margin-top:22px}.android-receipt-settings p{line-height:1.75;color:#687d96}.android-receipt-settings .btn{margin-top:12px}@media(max-width:760px){.pilot-sms-banner{align-items:stretch;flex-direction:column;padding:18px;gap:14px}.pilot-sms-banner>div:last-child{flex-wrap:wrap}.receipt-extra input{font-size:16px}}

/* Receipt capture, recognition and review are ordinary pages in the workspace. */
.receipt-flow-page{width:100%;max-width:1080px;min-width:0;margin:0 auto;color:#283c57}
.receipt-flow-page[data-view="capture"],.receipt-flow-page[data-view="progress"],.receipt-flow-page[data-view="error"],.receipt-flow-page[data-view="missing"]{max-width:760px}
.receipt-flow-header{display:flex;flex-direction:column;align-items:flex-start;gap:18px;margin-bottom:26px;min-width:0}
.receipt-flow-back{display:inline-flex;align-items:center;justify-content:flex-start;gap:7px;min-height:44px;padding:8px 0;border:0;background:transparent;color:#58708f;font-size:14px;font-weight:550;line-height:1.5;text-align:left;touch-action:manipulation}
.receipt-flow-back .icon{width:19px;height:19px;flex:none}
.receipt-flow-back:not(:disabled):hover{color:#4169d8}
.receipt-flow-back:disabled{opacity:.5;cursor:default}
.receipt-flow-heading{min-width:0}
.receipt-flow-heading h1{margin:0;font-size:28px;font-weight:700;line-height:1.4;letter-spacing:-.035em;overflow-wrap:anywhere}
.receipt-flow-heading p{margin:9px 0 0;color:#65748b;font-size:15px;line-height:1.75;word-break:keep-all;overflow-wrap:anywhere}
.receipt-flow-eyebrow{margin:0 0 8px;color:#65748b;font-size:12px;font-weight:600;letter-spacing:.04em;line-height:1.5}
.receipt-flow-body{min-width:0;padding:28px;border:1px solid #e5ebf3;border-radius:16px;background:#fff}
.receipt-flow-body>.note{color:#65748b;font-size:14px;line-height:1.8;word-break:keep-all;overflow-wrap:anywhere}
.receipt-flow-body .divider{margin:24px 0}
.receipt-flow-body .between{gap:12px;flex-wrap:wrap}
.receipt-flow-page .capture-options{gap:16px;margin-bottom:22px}
.receipt-flow-page .capture-option{padding:32px 16px;border-color:#e0e7f3;background:#f7f9fd;border-radius:14px;transition:background .15s,border-color .15s}
.receipt-flow-page .capture-option:first-child{background:#f2f6ff;border-color:#dce6fc}
.receipt-flow-page .capture-option:hover{background:#edf3ff;border-color:#9eb7f4}
.receipt-flow-page .capture-option:focus-within{outline:2px solid #4169d8;outline-offset:3px}
.receipt-flow-page .capture-option strong{font-size:17px;line-height:1.5;font-weight:650}
.receipt-flow-page .capture-option span{margin-top:6px;font-size:14px;line-height:1.6;color:#65748b}
.receipt-flow-page .capture-option .icon{width:30px;height:30px;margin-bottom:17px;color:#4169d8}
.receipt-flow-page .scan-thumb{display:block;max-height:300px;min-height:120px;margin:0 0 24px;padding:12px;background:#f6f8fb;border:1px solid #e9edf4;border-radius:12px}
.receipt-flow-page .scan-status{padding:20px;margin:0 0 20px;background:#f3f6fd}
.receipt-flow-page .scan-status strong{font-size:16px;line-height:1.6}
.receipt-flow-page .scan-status p{color:#65748b;line-height:1.75}
.receipt-flow-page .scan-status progress{display:block;height:8px;margin-top:12px}
.receipt-flow-page .receipt-columns{grid-template-columns:minmax(240px,.85fr) minmax(0,1.15fr);align-items:start;gap:32px}
.receipt-flow-page .receipt-columns>div{min-width:0}
.receipt-flow-page .receipt-detail-image{display:block;width:100%;max-height:520px;padding:12px;object-fit:contain;border:1px solid #e9edf4;border-radius:12px;background:#f6f8fb}
.receipt-flow-page .scan-save-label{align-items:flex-start;margin:0 0 22px;color:#387569;font-size:14px;line-height:1.65}
.receipt-flow-page .scan-save-label .icon{flex:none;margin-top:3px}
.receipt-flow-page .retry-row{flex-wrap:wrap;gap:8px 12px;margin-top:12px}
.receipt-flow-page .retry-row .btn{min-height:44px}
.receipt-flow-page .ocr-fields{gap:18px 16px}
.receipt-flow-page .field label{font-size:14px;line-height:1.5;font-weight:550;color:#536781}
.receipt-flow-page .field :is(input,select,textarea){min-width:0;min-height:48px;font-size:16px;border-color:#dfe6f0;border-radius:9px}
.receipt-flow-page .field :is(input,textarea)::placeholder{color:#8a97a9}
.receipt-flow-page .field :is(input,select,textarea):focus{border-color:#6487df}
.receipt-flow-page .receipt-extra summary{padding-bottom:6px;font-size:15px;line-height:1.6;word-break:keep-all}
.receipt-flow-page .receipt-extra summary span{font-size:13px;line-height:1.65;color:#65748b}
.receipt-flow-page .source-caption{font-size:13px;line-height:1.75;color:#65748b}
.receipt-flow-page :is(.ocr-warning,.server-error){line-height:1.75;word-break:keep-all;overflow-wrap:anywhere}
.receipt-flow-page .ocr-source{margin-top:28px;padding-top:20px}
.receipt-flow-page .ocr-source summary{min-height:44px;line-height:1.7}
.receipt-flow-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:10px;padding:22px 0 0;margin-top:2px;background:#fff}
.receipt-flow-actions:empty{display:none}
.receipt-flow-actions .btn{min-height:46px;padding-inline:18px;font-size:14px;line-height:1.5;white-space:normal;text-align:center}
.receipt-flow-actions .btn.primary{min-width:120px}

@media(max-width:1050px) and (min-width:761px){
 .receipt-flow-page .receipt-columns{grid-template-columns:minmax(200px,.8fr) minmax(0,1.2fr);gap:24px}
 .receipt-flow-page[data-view="detail"] .ocr-fields{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:760px){
 .receipt-flow-header{gap:12px;margin-bottom:24px}
 .receipt-flow-back{font-size:14px}
 .receipt-flow-heading h1{font-size:25px;line-height:1.4}
 .receipt-flow-heading p{font-size:15px;line-height:1.7;margin-top:8px}
 .receipt-flow-body{padding:0;border:0;border-radius:0}
 .receipt-flow-page .capture-options{gap:12px;margin-bottom:20px}
 .receipt-flow-page .capture-option{padding:26px 12px}
 .receipt-flow-page .capture-option strong{font-size:16px}
 .receipt-flow-page .capture-option span{font-size:13px}
 .receipt-flow-page .capture-option .icon{width:28px;height:28px;margin-bottom:14px}
 .receipt-flow-page .receipt-columns{grid-template-columns:minmax(0,1fr);gap:24px}
 .receipt-flow-page .receipt-detail-image{max-height:320px;padding:10px}
 .receipt-flow-page .scan-thumb{max-height:280px;margin-bottom:20px}
 .receipt-flow-page .scan-save-label{margin-bottom:20px}
 .receipt-flow-page .ocr-fields{grid-template-columns:minmax(0,1fr);gap:18px}
 .receipt-flow-page .field :is(input,select,textarea){min-height:48px;font-size:16px}
 .receipt-flow-page .receipt-extra{margin-top:24px;padding-top:18px}
 .receipt-flow-page .ocr-source{margin-top:24px}
 .receipt-flow-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding-top:22px;margin-top:24px;border-top:1px solid #e8edf4}
 .receipt-flow-actions>.btn{width:100%;min-width:0;min-height:48px;padding:10px 12px}
 .receipt-flow-actions>.btn:only-child{grid-column:1/-1}
}
