:root{color:#17231f;background:#eef4f1;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}button,input,select{font:inherit}button{min-height:44px;padding:0 16px;color:#17231f;background:#fff;border:1px solid #d9e3de;border-radius:12px;cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}button.primary{color:#fff;background:#087a57;border-color:#087a57;font-weight:600}button.block{width:100%}h1{margin:0;font-size:1.3rem}p{margin:.35rem 0 0}label{display:grid;gap:7px;color:#52625b;font-size:.875rem}input{width:100%;min-height:48px;padding:0 13px;color:#17231f;background:#f5f8f6;border:1px solid #cad7d1;border-radius:11px;font-size:1rem}input:focus{outline:3px solid rgb(8 122 87 / .2);border-color:#087a57}select{width:100%;min-height:44px;padding:0 38px 0 12px;color:#17231f;background:#f5f8f6;border:1px solid #cad7d1;border-radius:11px}select:focus{outline:3px solid rgb(8 122 87 / .2);border-color:#087a57}.loading{display:grid;min-height:100vh;place-items:center}.auth-page{display:grid;min-height:100vh;padding:24px;place-items:center}.auth-panel,.content-card{width:min(100%,420px);padding:24px;background:#fff;border:1px solid #d9e3de;border-radius:20px;box-shadow:0 16px 42px #19372b17}.brand-mark{display:grid;width:48px;height:48px;margin-bottom:20px;color:#fff;background:#087a57;border-radius:14px;place-items:center}.form-stack{display:grid;gap:16px;margin-top:22px}.muted,.field-help{color:#66756f}.field-help{margin:-5px 0 0;font-size:.8rem}.notice{padding:11px;color:#155d47;background:#e7f5ef;border-radius:10px;font-size:.875rem}.error{padding:11px;color:#8b2c20;background:#fff0ed;border-radius:10px}.reset-actions{display:grid;gap:4px;margin-top:14px;justify-items:start}.link-button{min-height:38px;padding:0;color:#087a57;background:transparent;border:0;text-decoration:underline}.app-shell{min-height:100vh}.app-header{display:flex;min-height:64px;padding:0 max(18px,env(safe-area-inset-right)) 0 max(18px,env(safe-area-inset-left));align-items:center;justify-content:space-between;background:#fff;border-bottom:1px solid #d9e3de}.account-summary{display:grid;max-width:68%;justify-items:end}.store-name{max-width:100%;overflow:hidden;font-size:.85rem;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.account-button{min-height:26px;max-width:100%;overflow:hidden;padding:0;color:#52625b;background:transparent;border:0;font-size:.72rem;text-overflow:ellipsis;white-space:nowrap}.app-nav{display:flex;min-height:52px;gap:8px;padding:6px 16px;align-items:center;justify-content:center;background:#fff;border-bottom:1px solid #d9e3de}.app-nav button{min-height:38px;padding:0 20px;color:#52625b;background:transparent;border-color:transparent;font-weight:600}.app-nav button.active{color:#087a57;background:#e7f5ef;border-color:#b7dccd}.app-main{display:grid;padding:22px 16px 36px;justify-items:center}.steps{display:grid;width:min(100%,420px);margin:0 0 16px;padding:0;grid-template-columns:repeat(3,1fr);list-style:none}.steps li{position:relative;color:#82908a;text-align:center;font-size:.8rem}.steps li:before{content:"";display:block;width:22px;height:22px;margin:0 auto 6px;background:#d9e3de;border-radius:50%}.steps li.active,.steps li.done{color:#17231f;font-weight:600}.steps li.active:before,.steps li.done:before{background:#087a57}.camera-area{position:relative;display:grid;width:100%;min-height:260px;margin:18px 0 12px;padding:0;overflow:hidden;color:#d6e3dd;background:#26322d;border:0;border-radius:16px;place-items:center}.camera-area:focus-within{outline:4px solid rgb(8 122 87 / .32);outline-offset:3px}.camera-area img{width:100%;height:260px;object-fit:cover}.camera-area img{object-fit:contain}.camera-input{position:absolute;z-index:4;inset:0;width:100%;height:100%;min-height:0;padding:0;opacity:0;cursor:pointer}.camera-placeholder{position:relative;z-index:2;max-width:220px;padding:24px;color:#fff;text-align:center;font-weight:600;line-height:1.7}.camera-tap-hint{position:absolute;z-index:3;bottom:12px;left:50%;width:max-content;padding:7px 13px;color:#fff;background:#08120ec7;border-radius:999px;font-size:.78rem;font-weight:600;transform:translate(-50%);pointer-events:none}.fallback-actions{display:grid;gap:12px;margin-top:22px}.fallback-actions button{min-height:54px}.fallback-help{margin-top:14px}.manual-fields{display:grid;gap:16px;margin-top:22px}.review-image-button{position:relative;display:block;width:100%;min-height:0;margin:18px 0;padding:0;overflow:hidden;background:#26322d;border:0;border-radius:14px}.review-image-button img{display:block;width:100%;height:170px;object-fit:contain}.review-image-button.zoomed img{height:auto;max-height:520px}.review-image-button span{position:absolute;right:9px;bottom:9px;padding:5px 9px;color:#fff;background:#08120ec7;border-radius:999px;font-size:.72rem}.member-id-display{margin:0 0 18px;padding:15px 8px;overflow:hidden;color:#10251e;background:#e7f5ef;border:2px solid #87c8b0;border-radius:12px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:clamp(1.5rem,8vw,2.8rem);font-variant-numeric:tabular-nums;font-weight:800;letter-spacing:clamp(.02em,.6vw,.07em);line-height:1.2;text-align:center;white-space:nowrap}.member-id{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:1.55rem;font-weight:600;letter-spacing:.08em}.validation-list{display:grid;gap:8px;margin:16px 0;padding-left:22px;color:#52625b}.validation-list .ok{color:#087a57}.error-text{color:#a33a2c}.warning-notice{margin:14px 0;padding:11px 12px;color:#795100;background:#fff4cf;border-radius:10px;font-size:.85rem;font-weight:600}.confirm-check{display:grid;margin-top:16px;padding:13px;color:#17231f;background:#f5f8f6;border:1px solid #cad7d1;border-radius:11px;grid-template-columns:24px 1fr;align-items:center;cursor:pointer}.confirm-check input{width:22px;min-height:22px;margin:0;accent-color:#087a57}.button-row{display:flex;gap:10px;margin-top:18px}.button-row>*{flex:1}.complete{text-align:center}.success-mark{display:grid;width:68px;height:68px;margin:10px auto 20px;color:#fff;background:#087a57;border-radius:50%;place-items:center;font-size:2rem}.saved-id{display:block;margin:14px 0;overflow:hidden;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:clamp(1.3rem,7.2vw,1.75rem);font-variant-numeric:tabular-nums;letter-spacing:clamp(.02em,.6vw,.08em);line-height:1.2;white-space:nowrap}.records-card{width:min(100%,720px)}.records-heading{display:flex;gap:16px;align-items:flex-start;justify-content:space-between}.records-heading button{flex:0 0 auto}.records-summary{display:flex;margin:20px 0 14px;align-items:baseline;justify-content:space-between;color:#66756f}.records-summary strong{color:#17231f;font-size:1.4rem}.records-summary span{font-size:.8rem}.operator-filter{max-width:360px;margin-bottom:18px}.record-table-wrap{width:100%;overflow-x:auto;border:1px solid #d9e3de;border-radius:12px;-webkit-overflow-scrolling:touch}.record-table{width:100%;min-width:620px;border-spacing:0;border-collapse:separate;font-size:.82rem;text-align:left}.record-table th,.record-table td{padding:11px 12px;border-bottom:1px solid #d9e3de;vertical-align:middle}.record-table th{color:#52625b;background:#eef4f1;font-size:.75rem;font-weight:700;white-space:nowrap}.record-table tbody tr:last-child td{border-bottom:0}.record-table tbody tr:nth-child(2n) td{background:#f8faf9}.record-table time{color:#52625b;font-variant-numeric:tabular-nums;white-space:nowrap}.record-member-id{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:1rem;font-variant-numeric:tabular-nums;font-weight:700;letter-spacing:.04em;white-space:nowrap}.record-operator{max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.record-method{display:flex;gap:5px;align-items:flex-start;flex-direction:column;white-space:nowrap}.warning-chip{padding:2px 7px;color:#795100;background:#fff0bb;border-radius:999px;font-weight:600}.empty-state{padding:26px 12px;color:#66756f;background:#f5f8f6;border-radius:12px;text-align:center}.records-note{margin-top:16px}footer{display:flex;padding:0 16px 28px;justify-content:center}@media(prefers-color-scheme:dark){:root{color:#effaf5;background:#111a17}button{color:#effaf5;background:#1b2622;border-color:#35443e}input,select{color:#effaf5;background:#22302b;border-color:#35443e}.auth-panel,.content-card,.app-header,.app-nav{background:#1b2622;border-color:#35443e}.muted,.field-help,label,.account-button,.validation-list{color:#9fb0a9}.notice{color:#b6f5df;background:#153b30}.error{color:#ffb4a8;background:#48231e}.app-nav button.active{color:#b6f5df;background:#153b30;border-color:#2b5d4e}.member-id-display{color:#effaf5;background:#153b30;border-color:#2b8065}.warning-notice{color:#ffdfa0;background:#493b18}.confirm-check,.empty-state{color:#effaf5;background:#22302b;border-color:#35443e}.records-summary strong{color:#effaf5}.record-table-wrap,.record-table th,.record-table td{border-color:#35443e}.record-table th{color:#b9c8c2;background:#26332e}.record-table td{background:#1f2b27}.record-table tbody tr:nth-child(2n) td{background:#22302b}.record-table time,.records-summary{color:#9fb0a9}.warning-chip{color:#ffdfa0;background:#493b18}}@media(max-width:420px){.camera-area,.camera-area img{height:235px;min-height:235px}.records-heading{display:grid}.records-heading button{width:100%}.record-table-wrap{margin-right:-8px;width:calc(100% + 8px)}}
