.receipt-page{padding-bottom:calc(88px + env(safe-area-inset-bottom));}.receipt-page-header{gap:16px;align-items:center}.receipt-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0}.receipt-summary-grid .card{display:flex;flex-direction:column;gap:6px}.receipt-summary-grid b{font-size:24px}.receipt-list-card{padding:0;overflow:hidden}.receipt-list-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:16px;border-bottom:1px solid var(--border-color,#e5e7eb)}.receipt-list-main{display:flex;gap:12px;align-items:center}.receipt-list-main div{display:flex;flex-direction:column;gap:4px;min-width:0}.receipt-list-main b,.receipt-list-main small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.receipt-doc-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:rgba(59,130,246,.1);font-size:22px}.receipt-list-meta{display:flex;flex-direction:column;align-items:flex-end;gap:6px}.receipt-list-actions{grid-column:1/-1;display:flex;gap:8px;flex-wrap:wrap}.receipt-status{font-size:11px;padding:4px 8px;border-radius:999px;background:#eef2ff;color:#3730a3}.status-finance_committed{background:#dcfce7;color:#166534}.status-manager_approval_pending{background:#fef3c7;color:#92400e}.status-rejected{background:#fee2e2;color:#991b1b}.receipt-empty{text-align:center;padding:44px 20px}.receipt-empty>span{font-size:54px}.receipt-modal{position:fixed;inset:0;z-index:10050;background:rgba(15,23,42,.62);display:flex;align-items:flex-end;justify-content:center;backdrop-filter:blur(6px)}.receipt-sheet{width:min(760px,100%);max-height:96dvh;overflow:auto;background:var(--card-bg,#fff);border-radius:24px 24px 0 0;padding:20px;padding-bottom:calc(20px + env(safe-area-inset-bottom));box-shadow:0 -20px 60px rgba(15,23,42,.25)}.receipt-modal-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.receipt-modal-head h2{margin:0 0 6px}.receipt-modal-head p{margin:0;color:var(--text-muted,#64748b)}.receipt-close{border:0;background:var(--surface-2,#f1f5f9);width:40px;height:40px;border-radius:50%;font-size:24px}.receipt-source-actions{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:24px 0}.receipt-source-card{border:1px solid var(--border-color,#dbe3ef);background:var(--card-bg,#fff);border-radius:18px;padding:24px 16px;display:flex;flex-direction:column;align-items:center;gap:7px;text-align:center;cursor:pointer}.receipt-source-card>span{font-size:38px}.receipt-source-card small{color:var(--text-muted,#64748b)}.receipt-help{background:var(--surface-2,#f8fafc);border-radius:16px;padding:16px}.receipt-help ul{margin:8px 0 0;padding-left:20px}.receipt-camera{position:relative;background:#020617;margin:-20px;min-height:82dvh;overflow:hidden}.receipt-camera video{width:100%;height:82dvh;object-fit:cover}.receipt-camera-guide{position:absolute;inset:13% 8% 18%;border:2px solid rgba(255,255,255,.8);border-radius:18px;box-shadow:0 0 0 999px rgba(0,0,0,.28)}.receipt-camera-top,.receipt-camera-bottom{position:absolute;left:0;right:0;display:flex;align-items:center;justify-content:space-between;padding:calc(16px + env(safe-area-inset-top)) 18px 16px;color:#fff}.receipt-camera-top{top:0}.receipt-camera-bottom{bottom:0;padding:16px 24px calc(18px + env(safe-area-inset-bottom))}.receipt-camera-top button,.receipt-camera-bottom label{border:0;background:rgba(15,23,42,.6);color:#fff;border-radius:50%;width:44px;height:44px;display:grid;place-items:center;font-size:20px}.receipt-shutter{width:72px;height:72px;border-radius:50%;border:5px solid #fff;background:rgba(255,255,255,.2);display:grid;place-items:center}.receipt-shutter span{width:54px;height:54px;background:#fff;border-radius:50%}.receipt-crop-stage{position:relative;margin:18px auto;background:#0f172a;max-height:68dvh;overflow:hidden;border-radius:18px;width:max-content;max-width:100%}.receipt-crop-stage canvas{display:block;max-width:100%;max-height:68dvh}.receipt-crop-stage #receipt-corner-layer{position:absolute;inset:0}.receipt-corner-handle{position:absolute;width:30px;height:30px;border-radius:50%;border:4px solid #fff;background:#2563eb;box-shadow:0 3px 14px rgba(0,0,0,.35);transform:translate(-50%,-50%);touch-action:none}.receipt-sticky-actions{position:sticky;bottom:calc(-20px - env(safe-area-inset-bottom));display:flex;justify-content:flex-end;gap:10px;background:var(--card-bg,#fff);padding:14px 0 calc(14px + env(safe-area-inset-bottom));margin-top:18px;border-top:1px solid var(--border-color,#e5e7eb);z-index:4}.receipt-processing{text-align:center;padding:55px 20px}.receipt-spinner{width:54px;height:54px;border:5px solid #dbeafe;border-top-color:#2563eb;border-radius:50%;margin:0 auto 18px;animation:receipt-spin .9s linear infinite}@keyframes receipt-spin{to{transform:rotate(360deg)}}.receipt-quality-errors{display:grid;gap:10px;margin:20px 0}.receipt-quality-errors div{padding:13px;border-radius:12px;background:#fff7ed;color:#9a3412}.receipt-form{display:grid;gap:14px;margin-top:20px}.receipt-form label{display:flex;flex-direction:column;gap:7px;font-weight:600}.receipt-form input,.receipt-form select,.receipt-form textarea{width:100%;font:inherit;border:1px solid var(--border-color,#cbd5e1);background:var(--input-bg,#fff);color:inherit;border-radius:11px;padding:12px}.receipt-form .two-col{display:grid;grid-template-columns:1fr 1fr;gap:12px}.receipt-confidence{font-size:10px;font-weight:700;padding:3px 7px;border-radius:999px;width:max-content}.confidence-high{background:#dcfce7;color:#166534}.confidence-medium{background:#fef3c7;color:#92400e}.confidence-low{background:#fee2e2;color:#991b1b}.receipt-confirm{flex-direction:row!important;align-items:center}.receipt-confirm input{width:auto}.receipt-form-note{font-size:13px;color:var(--text-muted,#64748b);display:flex;align-items:center;gap:8px}.large-choice.receipt{color:#1d4ed8;background:linear-gradient(145deg,#eff6ff,#dbeafe)}.btn-danger-ghost{border:1px solid #fecaca;background:transparent;color:#b91c1c;border-radius:10px;padding:8px 12px}@media(max-width:640px){.receipt-summary-grid{grid-template-columns:1fr 1fr}.receipt-summary-grid .card:last-child{grid-column:1/-1}.receipt-source-actions,.receipt-form .two-col{grid-template-columns:1fr}.receipt-page-header{align-items:flex-start;flex-direction:column}.receipt-page-header .btn-primary{width:100%}.receipt-list-item{grid-template-columns:1fr}.receipt-list-meta{align-items:flex-start;flex-direction:row}.receipt-sticky-actions{display:grid;grid-template-columns:1fr}.receipt-sticky-actions button{width:100%}}

/* v43.11.29 — explicit VAT confirmation and three-step approval */
.receipt-vat-editor{border:1px solid rgba(99,179,237,.28);border-radius:18px;padding:14px;background:rgba(5,18,36,.46)}
.receipt-vat-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.receipt-vat-head small{display:block;color:#9fb0c6;margin-top:3px}
.receipt-vat-row{display:grid;grid-template-columns:1fr 1.25fr 1.25fr auto;gap:8px;align-items:end;margin-top:8px}.receipt-vat-row label{margin:0}.receipt-vat-row button{min-height:48px}
.receipt-vat-total{margin-top:10px;text-align:right;color:#cbd8e8}.receipt-three-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.receipt-three-actions button{white-space:normal;min-height:52px}
@media(max-width:680px){.receipt-vat-row{grid-template-columns:1fr 1fr}.receipt-vat-row button{grid-column:2}.receipt-three-actions{grid-template-columns:1fr}}
