:root{font-family:Arial,sans-serif;color:#242a2c;background:#f6f5f2;font-size:18px;line-height:1.5}*{box-sizing:border-box}body{margin:0}a{color:inherit}button,input,select,textarea{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #315a87;outline-offset:3px}.app-header{max-width:1180px;margin:auto;display:flex;justify-content:flex-end;align-items:center;padding:8px 24px}.brand{display:flex;gap:12px;align-items:center;text-decoration:none;font-size:21px;font-weight:600}.brand-mark{width:44px;height:44px;border-radius:14px;background:#ad2736;color:white;display:grid;place-items:center;font-size:30px}.brand small{font-weight:400;font-size:13px}.quiet{background:transparent;border:0;padding:14px;color:#626b70;min-height:48px}.mobile{max-width:440px;margin:10px auto;padding:12px 22px 30px}.admin{max-width:1180px;margin:10px auto;padding:12px 24px 30px}h1{font-size:32px;line-height:1.2;font-weight:600;margin:10px 0 16px}h2{font-size:23px;line-height:1.3;font-weight:600;margin:8px 0 15px}p{margin:10px 0 22px}.eyebrow{font-size:12px;letter-spacing:1.4px;color:#626b70}small,.muted{color:#626b70;font-size:14px}small{display:block}.card{background:#fff;border:1px solid #e8e7e2;border-radius:20px;padding:24px;margin:20px 0}.primary,.secondary{display:block;text-align:center;text-decoration:none;width:100%;padding:20px 15px;min-height:64px;border-radius:16px;font-size:20px;font-weight:600}.primary{background:#ad2736;border:0;color:white;margin:18px 0}.secondary{background:white;border:1px solid #d5d8d6;color:#242a2c;margin:12px 0}.primary:disabled{background:#6b6b6b;cursor:wait}label{display:block;margin:16px 0;color:#424d52}input:not([type=hidden]),select,textarea{display:block;width:100%;border:1px solid #b9c0c2;background:white;color:#242a2c;padding:14px;border-radius:12px;margin-top:7px;min-height:52px;font-size:18px}input[type=file]{font-size:16px}.photo-label{padding:12px;background:#fbeef0;border-radius:14px;color:#81202b;font-weight:600}.preview{width:100%;max-height:320px;object-fit:contain;border-radius:10px}.step{display:grid;place-items:center;background:#fbeef0;color:#ad2736;border-radius:50%;width:38px;height:38px}.back{display:inline-block;color:#626b70;text-decoration:none;padding:12px 0}.alert{background:#fff1ee;color:#8b2929;border:1px solid #e5b8b5;border-radius:14px;padding:18px}.notice{background:#edf6ef;color:#22674f;border-radius:14px;padding:18px}.badge{display:inline-block;padding:7px 10px;border-radius:9px;background:#f4eedf;color:#74500c;font-size:14px}.badge.ok{background:#edf6ef;color:#22674f}.ticket-row{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:20px 0;border-bottom:1px solid #e8e7e2;text-decoration:none}.ticket-row strong{font-weight:600}.ticket-row:hover{color:#ad2736}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.stats strong{display:block;font-size:32px;margin-top:12px;font-variant-numeric:tabular-nums}.review-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:start}.photos figure{margin:20px 0}.photos img{width:100%;display:block}.photos figcaption{color:#626b70;margin-bottom:12px}.export{display:flex;gap:16px;align-items:end;flex-wrap:wrap}.export label{flex:1;min-width:150px}.export button{width:auto}.success{width:80px;height:80px;display:grid;place-items:center;border-radius:50%;color:#22674f;background:#edf6ef;font-size:42px;margin:20px 0}.app-footer{text-align:center;color:#626b70;font-size:13px;padding:25px}details{margin-top:28px;font-size:14px}summary{min-height:44px;cursor:pointer}dd{margin:6px 0 20px}dt{color:#626b70}[hidden]{display:none!important}@media(max-width:700px){.stats,.review-grid{grid-template-columns:1fr}.stats .card{margin:4px 0}.ticket-row{flex-wrap:wrap}.app-header{padding:8px 16px}.admin{padding:12px 16px}.export button{width:100%}.review-grid .photos{order:2}}@media(prefers-reduced-motion:no-preference){button,a{transition:background-color .15s}}
.admin-nav{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:24px}.admin-nav a{display:inline-flex;align-items:center;min-height:48px;padding:12px 18px;border:1px solid #d5d8d6;border-radius:12px;background:white;text-decoration:none}.admin-nav a:hover{background:#fbeef0;color:#ad2736}

.ocr-panel{background:#faf4ef;border:1px solid #eaded3;border-radius:18px;padding:20px;margin:18px 0 24px}.ocr-panel p{font-size:16px;line-height:1.6}.ocr-panel .secondary{width:100%;min-height:52px;font-size:17px}.ocr-panel small{display:block;margin-top:16px;line-height:1.5}.ocr-panel pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:300px;overflow:auto;font-size:14px}.ocr-filled{border-color:#50866d!important;background:#f4faf6!important}


.check-line{display:flex;gap:14px;align-items:flex-start}.check-line input[type=checkbox]{width:28px;min-width:28px;min-height:28px;margin:0;accent-color:#ad2736}.product-row{border-bottom:1px solid #e8e7e2;padding:6px 0 16px}.product-row .quiet{color:#8c2330}.product-row label{margin:10px 0}#capture-summary dd{white-space:pre-line;font-size:22px}#capture-date,#capture-total{font-size:26px;min-height:70px}#capture-notice{font-size:16px;margin-top:20px}#capture-read-status{font-size:18px}#capture-error{margin-top:18px}


body{min-height:100vh;min-height:100svh;padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px)}.install-panel{max-width:440px;margin:28px auto}.install-heading{display:flex;gap:14px;align-items:center}.install-heading img{border-radius:14px;flex-shrink:0}.install-panel h2{font-size:20px;margin:0 0 6px}.install-panel small{font-size:15px}.install-panel ol{padding-left:24px}.install-panel li{margin:14px 0}.install-panel h3{font-size:20px}.install-panel .secondary{margin-bottom:0}.install-panel .muted{font-size:16px}.app-header{padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(16px,env(safe-area-inset-right,0px))}@media(display-mode:standalone){#install-panel{display:none!important}}


.brand-icon{display:block;width:56px;height:56px;border-radius:17px;flex-shrink:0;background:#fff8ed;box-shadow:0 4px 14px #ad273612}.brand-name{font-size:24px;letter-spacing:-.6px;color:#ad2736}.brand-gest{color:#145976}.brand-by{display:block;font-size:11px;letter-spacing:1.2px;color:#145976;margin-top:1px}.brand-name small{font-size:12px;letter-spacing:0;margin-top:1px}.welcome-hero{text-align:center;margin:6px 0 26px}.welcome-symbol{display:block;margin:0 auto 20px;border-radius:30px;box-shadow:0 12px 30px #ad273617}.welcome-hero .eyebrow{color:#145976;font-size:12px}.welcome-hero h1{font-size:30px;margin-top:12px}.welcome-hero p{font-size:17px}.app-footer{padding:16px 20px 24px;font-size:13px}.footer-note{margin:0 0 6px;color:#626b70}.jocu-link{display:flex;flex-direction:column;align-items:center;gap:4px;width:max-content;max-width:100%;margin:0 auto;padding:8px 14px;border-radius:14px;text-decoration:none;min-height:48px}.powered-label{font-size:11px;color:#626b70;letter-spacing:.8px}.jocu-logo{display:block;width:130px;max-width:100%;height:auto;aspect-ratio:1280/539}.jocu-address{font-size:12px;font-weight:600;color:#145976}.jocu-link:hover{background:#edf6f8}.install-heading img{background:#fff8ed}.admin-nav a:focus-visible,.jocu-link:focus-visible{outline-color:#145976}
@media(max-width:400px){.brand-icon{width:50px;height:50px}.brand-name{font-size:22px}.brand{gap:10px}.welcome-hero h1{font-size:28px}.jocu-logo{width:120px}}
@media(prefers-reduced-motion:no-preference){main{animation:yakugest-enter .32s ease-out both}.brand-icon{animation:yakugest-float 1.5s ease-in-out 2}.welcome-symbol{animation:yakugest-float 2s ease-in-out 2}[data-capture-step]:not([hidden]){animation:yakugest-step .28s ease-out both}.notice,.alert,.success{animation:yakugest-step .24s ease-out both}.primary,.secondary,.jocu-link{transition:background-color .18s ease,box-shadow .18s ease,transform .18s ease}.primary:active,.secondary:active{transform:translateY(1px)}.primary:not(:disabled):hover{box-shadow:0 6px 18px #ad27361c}.primary:disabled{position:relative;overflow:hidden}.primary:disabled:after{content:"";position:absolute;bottom:0;left:0;width:32%;height:3px;background:#fff8ed;animation:yakugest-reading 1.3s linear infinite}}
@keyframes yakugest-enter{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@keyframes yakugest-step{from{opacity:.65;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}@keyframes yakugest-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-3px)}}@keyframes yakugest-reading{from{transform:translateX(-100%)}to{transform:translateX(420%)}}


.brand-icon,.install-heading img{background:white}.brand-gest{color:#252a30}.welcome-symbol{width:140px;height:140px;border-radius:18px;object-fit:contain;background:white;box-shadow:0 8px 24px #252a300a}

.amounts-panel{max-width:680px}.amounts-panel>p{font-size:16px}.amount-field{display:flex;gap:12px;align-items:flex-end}.amount-field label{flex:1;min-width:0}.amount-clear{margin-bottom:16px;color:#ad2736;white-space:nowrap}.ticket-amount{font-weight:600;font-variant-numeric:tabular-nums}.ticket-amount small{font-weight:400}@media(max-width:440px){.amount-field{display:block}.amount-clear{margin:-10px 0 4px;padding-left:0}}
.delete-panel{max-width:680px;border-color:#ecd1d4}.delete-panel p{font-size:16px}.danger{color:#ad2736;border-color:#ad2736}

