﻿.phone-workspace{margin:0 0 20px}.phone-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.phone-toolbar span,.phone-entry-tools{font-size:.85rem}.phone-entry-tools{margin-top:8px;display:flex;gap:8px;flex-wrap:wrap}.phone-entry-tools .alert{flex-basis:100%}.phone-entry-tools [data-phone-entry-status]{display:block}.phone-dialog{border:1px solid #cbdcdc;border-radius:14px;padding:26px;max-width:540px;width:calc(100% - 32px);max-height:90vh;overflow:auto;color:#102c35}.phone-dialog::backdrop{background:#102c3577}.phone-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.phone-heading h2{margin:0}.phone-dialog canvas{display:block;max-width:100%;height:auto;margin:16px auto}.phone-dialog input{width:100%;min-width:0}.phone-dialog small{display:block}.phone-dialog form{margin-top:16px}.phone-dialog img{max-width:100%;max-height:420px;object-fit:contain}.phone-attached{padding:12px 16px;background:#eaf6f0;border:1px solid #c3ded1;border-radius:8px}.phone-camera{max-width:540px;margin:0 auto;padding:28px 20px;min-height:100vh}.phone-brand{font-weight:800;color:#087d72;font-size:1.5rem}.phone-camera h1{margin-top:16px}.phone-camera h2{font-size:1.2rem;overflow-wrap:anywhere}.phone-camera [data-camera-message]{padding:18px;background:#edf6f5;border-radius:10px;margin:20px 0}.phone-camera small{display:block;margin-top:24px;color:#4d676d}.phone-camera img{width:100%;max-height:52vh;object-fit:contain;display:block;margin:12px 0}.phone-camera label{cursor:pointer;text-align:center;position:relative;overflow:hidden;display:block}.phone-camera input[type=file]{position:absolute;width:1px;height:1px;opacity:0}.phone-camera-button:focus-within,.phone-gallery:focus-within{outline:3px solid #1871be;outline-offset:3px}.phone-camera .button{width:100%;padding:16px}.phone-gallery{margin:14px 0}.phone-camera [data-camera-retake]{display:block;margin:16px auto}.phone-camera .alert{overflow-wrap:anywhere}[data-phone-mailto][hidden],[data-phone-connection][hidden],[data-camera-target][hidden],[data-camera-preview-wrap][hidden],[data-camera-take][hidden]{display:none!important}@media(max-width:600px){.phone-dialog{padding:18px}.phone-toolbar{align-items:flex-start}.phone-toolbar span{flex-basis:100%}}@media print{.phone-workspace,.phone-entry-tools{display:none!important}}
.phone-entry-tools .text-button,.phone-dialog .text-button,.phone-camera .text-button{background:none;border:0;padding:4px 0;color:#087d72;font:inherit;cursor:pointer;text-decoration:underline;text-underline-offset:3px}.phone-dialog .phone-heading .text-button{padding:8px}.phone-dialog .form-actions{margin-top:12px}.phone-entry-tools .text-button:focus-visible,.phone-dialog .text-button:focus-visible{outline:3px solid #1871be;outline-offset:3px}
.entry-invoice{margin-top:18px;max-width:460px;white-space:normal}.entry-invoice>strong{display:block;margin-bottom:12px}.entry-invoice .field{margin:0 0 10px;min-width:0}.entry-invoice input{max-width:100%;min-width:0}.entry-invoice input[type=file]{width:100%;font-size:.85rem;height:auto}.entry-invoice .phone-entry-tools{margin:8px 0 14px}.entry-invoice .purchase-evidence{border:0;margin:0;padding:0}.entry-invoice .purchase-evidence small{margin:8px 0}.entry-invoice-image{margin:16px 0 0;max-width:420px}.entry-invoice-image img{display:block;width:100%;height:auto;max-height:560px;object-fit:contain;object-position:left top;border:1px solid #d3dfdf;background:#fff;border-radius:4px}.entry-invoice-download{margin:10px 0;font-size:.85rem}.entry-invoice [data-entry-upload-status]{display:block;margin:8px 0;color:#087d72}.entry-invoice .alert{margin-top:10px;overflow-wrap:anywhere}.entry-invoice [hidden]{display:none!important}@media(max-width:600px){.entry-invoice{max-width:350px}.entry-invoice-image{max-width:320px}}
.entry-invoice .purchase-evidence{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px}.entry-invoice .purchase-evidence>small,.entry-invoice .purchase-evidence>details{grid-column:1/-1}@media(max-width:600px){.entry-invoice .purchase-evidence{grid-template-columns:minmax(0,1fr)}}

.entry-invoice-enlarge{display:block;background:transparent;border:0;padding:0;width:100%;cursor:zoom-in;border-radius:4px}.entry-invoice-enlarge:focus-visible{outline:3px solid #1768c5;outline-offset:4px}.entry-invoice-image figcaption{font-size:11px;color:#496872;margin-top:5px}.invoice-image-dialog{width:calc(100vw - 32px);max-width:1200px;height:calc(100dvh - 32px);max-height:calc(100dvh - 32px);padding:0;border:1px solid #cbdcdc;border-radius:10px;color:#102c35;overflow:hidden;background:#f2f5f5}.invoice-image-dialog[open]{display:flex;flex-direction:column}.invoice-image-dialog::backdrop{background:#102c35b3}.invoice-image-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:12px 18px;border-bottom:1px solid #cbdcdc;background:white}.invoice-image-heading h2{font-size:18px;margin:0}.invoice-image-heading>div{display:flex;gap:10px}.invoice-image-scroll{overflow:auto;flex:1;min-height:0;padding:16px;overscroll-behavior:contain}.invoice-image-scroll img{display:block;width:100%;max-width:none;height:auto;margin:0 auto;background:white}.invoice-image-dialog.zoomed .invoice-image-scroll img{width:200%}@media(max-width:600px){.invoice-image-dialog{width:calc(100vw - 12px);height:calc(100dvh - 12px);max-height:calc(100dvh - 12px)}.invoice-image-heading{padding:10px}.invoice-image-heading h2{font-size:15px}.invoice-image-scroll{padding:6px}}@media print{.invoice-image-dialog{display:none!important}}

.invoice-image-scroll img[hidden],.invoice-image-scroll [hidden]{display:none!important}.invoice-image-scroll [data-invoice-image-status]{padding:15px;color:#496872}
