:root{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#20252a;background:#f7f7f2;font-synthesis:none;color-scheme:light;--yellow:#f4d33d;--ink:#20252a;--muted:#777d80;--line:#e4e6df}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}body{margin:0}button,input,select{font:inherit}button,a,input,summary{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}[hidden]{display:none!important}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible,.file-button:focus-within{outline:3px solid #3b8058;outline-offset:3px}.app-header{height:calc(78px + env(safe-area-inset-top));padding:calc(14px + env(safe-area-inset-top)) 22px 14px;display:flex;align-items:center;justify-content:space-between;max-width:620px;margin:auto;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:10px;padding:0;background:none;border:0;text-align:left;color:var(--ink);font-size:13px;line-height:1.25;letter-spacing:-.2px}.brand b{font-size:17px}.brand img{width:42px;height:42px;object-fit:contain;border-radius:10px}.account-badge{display:flex;align-items:center;gap:7px;max-width:145px;min-height:40px;border:1px solid var(--line);border-radius:24px;background:#fff;padding:8px 12px;font-size:11px;line-height:1.2}.account-badge svg{width:17px;height:17px}main{max-width:540px;margin:auto;padding:28px 22px calc(124px + env(safe-area-inset-bottom))}.page{min-height:50vh}.eyebrow,.step-label{font-size:10px;font-weight:700;letter-spacing:1.6px;color:#787e75}.step-label{color:#678d6e}h1{font-size:34px;line-height:1.1;letter-spacing:-1.4px;margin:15px 0 13px;font-weight:750}h1 span{color:#718175}h2{font-size:22px;letter-spacing:-.6px;margin:8px 0 12px}p{font-size:14px;line-height:1.6;color:#737975}.lead{font-size:16px;line-height:1.5;margin:0 0 20px}.page-heading{margin-bottom:26px}.page-heading p{margin:0}.hero-card{height:205px;position:relative;overflow:hidden;border-radius:24px;background:#e7e9df;display:flex;justify-content:center;align-items:center;margin-bottom:20px}.hero-card img{width:170px;height:170px;object-fit:cover;transform:rotate(-7deg);border-radius:8px;box-shadow:0 12px 24px #1a271a25}.hero-label{position:absolute;right:12px;bottom:12px;font-size:7px;font-weight:800;letter-spacing:1.3px;color:#687361}.corner{position:absolute;width:18px;height:18px;border-color:#75876e;border-style:solid}.tl{top:20px;left:20px;border-width:2px 0 0 2px}.tr{top:20px;right:20px;border-width:2px 2px 0 0}.bl{bottom:20px;left:20px;border-width:0 0 2px 2px}.br{bottom:20px;right:20px;border-width:0 2px 2px 0}.primary,.secondary,.file-button{min-height:52px;border-radius:16px;padding:15px 18px;display:flex;align-items:center;justify-content:center;gap:10px;font-size:14px;font-weight:650;text-decoration:none;border:0}.primary{background:var(--yellow);color:var(--ink)}.secondary{background:#fff;border:1px solid var(--line);color:var(--ink)}.primary svg{width:22px;height:22px}.wide{width:100%;margin-top:10px}.home-description{font-size:13px;margin:20px 0 16px;line-height:1.7}.feature-row{display:flex;justify-content:space-between;gap:7px;padding:14px 0 20px;border-bottom:1px solid var(--line);font-size:9px;color:#778173;letter-spacing:.1px}.info-card{display:flex;gap:12px;padding:18px;background:#eeeee7;border:1px solid #e9e9e0;border-radius:18px;margin:20px 0}.info-card b{font-size:13px;font-weight:650}.info-card p{font-size:12px;line-height:1.6;margin:6px 0 0}.info-dot{width:8px;height:8px;background:#679373;border-radius:50%;margin-top:5px;flex-shrink:0}.text-button{display:flex;align-items:center;justify-content:space-between;width:100%;background:none;border:0;color:#727b70;min-height:46px;padding:10px 0;font-size:13px}.danger{color:#9b4942;margin-top:25px}.actions{display:grid;gap:12px}.file-button{position:relative;overflow:hidden}.file-button input{position:absolute;opacity:0;inset:0;width:100%;height:100%;cursor:pointer}.card{background:#fff;border:1px solid var(--line);border-radius:22px;padding:20px;margin:20px 0}.small{font-size:11px;line-height:1.65;color:#8a8e89}.scanner{position:relative;aspect-ratio:1.15;background:#1b2723;border-radius:22px;overflow:hidden;margin:18px 0}video{width:100%;height:100%;object-fit:cover;position:absolute}.viewfinder{position:absolute;inset:18% 20%;border:2px solid var(--yellow);border-radius:14px;display:grid;place-items:center;pointer-events:none}.viewfinder span{color:#ffffff20;font-size:70px}.camera-caption{position:absolute;bottom:18px;left:0;right:0;text-align:center;color:#fff;font-size:11px;text-shadow:0 1px 4px black}#photo-scroll{overflow:auto;max-height:360px;border-radius:13px;border:1px solid var(--line);background:#f0f1ed}#photo-preview{display:block;width:100%;max-width:none;height:auto}.hint-panel{margin:15px 0;border-top:1px solid var(--line)}label:not(.file-button){display:block;font-size:12px;color:#656c63;margin:17px 0}input:not([type=file]),select{display:block;width:100%;min-height:50px;padding:13px 14px;margin-top:7px;border-radius:13px;border:1px solid #dfe3d9;background:#fff;color:#20252a}input[type=range]{padding:0;min-height:32px;accent-color:#7c8f61;border:0;background:none}.marking-note{background:#f1f4ed;padding:12px;border-radius:12px;font-size:12px}.marking-note:empty{display:none}.result-card{border-color:#c6dac7;background:#fbfef9}#result-summary{font-size:12px;color:#62695e}.status-message{margin:20px 0 0;padding:14px;border-radius:14px;border:1px solid #e6dfc7;background:#fffbea;color:#726644;font-size:12px;overflow-wrap:anywhere}.bottom-nav{position:fixed;z-index:10;bottom:0;left:50%;transform:translate(-50%);width:100%;max-width:620px;display:grid;grid-template-columns:1fr 1fr 1.25fr 1fr 1fr;align-items:end;background:#fff;padding:8px 10px calc(12px + env(safe-area-inset-bottom));border-top:1px solid #e8e9e1;box-shadow:0 -4px 30px #202c2010}.bottom-nav button{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:7px;min-height:53px;padding:0 0 2px;border:0;background:none;color:#9a9f97;font-size:9px}.bottom-nav button>svg{width:22px;height:22px}.bottom-nav button.active{color:#32412f;font-weight:750}.scan-circle{display:grid;place-items:center;background:var(--yellow);width:53px;height:53px;border-radius:50%;margin-top:-23px;box-shadow:0 4px 13px #ac922726;color:#20252a;border:4px solid #f7f7f2}.scan-circle svg{width:24px;height:24px}.bottom-nav .scan-nav{gap:5px;color:#4e5948;font-weight:650}.history-list{margin-top:22px}.history-item{display:flex;flex-direction:column;align-items:flex-start;width:100%;text-align:left;background:#fff;border:1px solid var(--line);border-radius:16px;padding:17px;margin:10px 0;font-size:13px;line-height:1.5;color:#4b5449}.empty-state{padding:55px 15px;text-align:center;font-size:13px;color:#91968b;border:1px dashed #dadfd2;border-radius:20px}.legacy-history{margin:25px 0}summary{cursor:pointer;font-size:13px;color:#798271;min-height:35px}.package-card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:22px;margin:14px 0}.package-card>span{font-size:10px;text-transform:uppercase;letter-spacing:1px;color:#88917d}.package-card p{font-size:12px;margin-bottom:0}.profile-card{display:flex;gap:15px;align-items:center;padding:20px;background:#fff;border-radius:20px;border:1px solid var(--line);margin-bottom:18px}.profile-card img{width:54px;height:54px;object-fit:contain}.profile-card b{font-size:14px}.profile-card p{font-size:12px;margin:6px 0 0}.login-brand img{width:82px;height:82px;object-fit:contain}.login-brand{margin:20px 0 24px}.invite-panel{margin:24px 0 18px;padding-top:18px;border-top:1px solid var(--line)}#login-status:empty{display:none}#login-status{font-size:13px;color:#8c673d;background:#fff8e1;padding:12px;border-radius:12px}dialog#code-screen{position:fixed;inset:0;width:100%;height:100%;max-width:none;max-height:none;margin:0;border:0;padding:calc(12px + env(safe-area-inset-top)) 12px calc(12px + env(safe-area-inset-bottom));background:#fff;color:#111;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}dialog::backdrop{background:#fff}.code-toolbar{display:flex;align-items:center;gap:15px;font-size:13px}.code-toolbar button{border:0;min-height:44px;padding:10px 15px;background:#eee;color:#111;border-radius:12px}#code-white{display:flex;align-items:center;justify-content:center;background:#fff;min-height:43vh;padding:20px;overflow:auto}#code-image{width:240px;max-width:calc(100vw - 64px);height:auto;image-rendering:pixelated;flex-shrink:0;-webkit-user-drag:none;pointer-events:none}.code-controls{max-width:380px;margin:auto}.code-controls p{font-size:12px}.display-watermark{text-align:center;font-size:10px;color:#8a8f85;padding:12px}#code-screen~.bottom-nav{display:none}@media(min-width:650px){.home-page h1{font-size:42px}.hero-card{height:240px}.hero-card img{width:198px;height:198px}.bottom-nav{border-radius:24px 24px 0 0}.page{min-height:60vh}}.result-card{margin-top:0;background:#fff;padding:20px 16px}.result-card h1{font-size:30px;margin:12px 0 4px}.success-label{color:#216742;font-size:12px;font-weight:800;letter-spacing:1px}#result-kind{margin:6px 0 12px;font-size:13px}#code-white{min-height:0;padding:8px 0;overflow:hidden}#code-image{width:320px;max-width:100%;display:block}.marking-note{margin:16px 0;padding:15px;border:1px solid #dce1dd;background:#f1f3f2;color:#4b5551}.marking-note b,.marking-note span{display:block}.marking-note b{font-size:14px}.marking-note span{font-size:12px;line-height:1.5;margin-top:5px}.marking-note.positive{background:#e7f6ec;border-color:#a5d1b3;color:#1b6639}.marking-note.negative{background:#fff0ee;border-color:#e6a79f;color:#9c3026}.marking-note.waiting{background:#fff8df;border-color:#e8d384;color:#7b6019}.processing-card{margin-top:0;background:#fffbea;border-color:#e6cf79;text-align:center;padding:30px 22px}.processing-card h2{margin-top:14px}.spinner{width:42px;height:42px;border:4px solid #e9e1bc;border-top-color:#7c6a1d;border-radius:50%;animation:spin 1s linear infinite;margin:0 auto 20px}@keyframes spin{to{transform:rotate(360deg)}}#image-state{font-size:13px;background:#fff8df;padding:14px;border-radius:12px}#display-options summary{font-size:12px;min-height:40px;padding:10px 0}#result-summary{overflow-wrap:anywhere}@media(prefers-reduced-motion:reduce){.spinner{animation:none;border-style:dotted}}.review-message{padding:16px;margin:12px 0;background:#f2f3ee;border:1px solid #e0e5da;border-radius:14px}.review-message.operator{background:#ebf6ed;border-color:#bbd8c2}.review-message b{font-size:13px;color:#354c39}.review-message p{white-space:pre-wrap;overflow-wrap:anywhere;color:#37403a;margin:8px 0}.review-message small{font-size:10px;color:#748072}.review-message img{display:block;max-width:100%;height:auto;margin-top:12px;image-rendering:pixelated}#review-thread{border-color:#bad5c0}textarea{font:inherit;width:100%;padding:14px;border:1px solid #cdd8ca;border-radius:14px;resize:vertical;min-height:110px;background:#fff;color:#20252a}#reply-status{font-size:13px;color:#2f6341;white-space:pre-wrap}#reply-status:empty{display:none}#notification-banner{position:sticky;top:8px;z-index:11;background:#fff6cc;border-color:#dfc751;margin-bottom:18px}html{overflow-wrap:break-word}input:not([type=file]),select,textarea{font-size:16px}button,summary{min-height:44px}.profile-card>div,.info-card>div{min-width:0}#account-status{overflow-wrap:anywhere}.install-card{padding:22px;margin:22px 0;border:1px solid #ced6c8;background:#edf1e8;border-radius:20px}.install-card h2{font-size:21px}.install-card p{font-size:13px;color:#53604f;margin-bottom:0}.connection-note{padding:14px;border:1px solid #dbc98a;border-radius:14px;background:#fff7d9;color:#68591e;font-size:13px}.package-price{display:block;font-size:28px;margin:12px 0}.package-card .primary{margin-top:20px}.web-app .small{color:#646c62}.web-app .bottom-nav button{color:#626d60}.web-app .bottom-nav button.active{color:#243d26}.web-app p,.web-app .lead{color:#606b60}.web-app main{padding-left:max(22px,env(safe-area-inset-left));padding-right:max(22px,env(safe-area-inset-right))}.web-app #update-app{margin-bottom:20px}@media(max-width:359px){.app-header{padding-left:16px;padding-right:16px}.brand{gap:7px;font-size:11px}.brand b{font-size:15px}.brand img{width:34px;height:34px}.account-badge{max-width:115px;padding:8px 10px}.web-app main{padding-left:16px;padding-right:16px}h1{font-size:31px}.feature-row{font-size:8px;gap:4px}.bottom-nav{padding-left:4px;padding-right:4px}.bottom-nav button{font-size:8px}.info-card,.card,.profile-card{padding:16px}.profile-card img{width:40px;height:40px}.hero-card{height:190px}}@media(min-width:900px){.web-app main{max-width:680px}.web-app .app-header,.web-app .bottom-nav{max-width:760px}.web-app .home-page h1{font-size:48px}.web-app .hero-card{height:260px}.web-app .hero-card img{width:210px;height:210px}.web-app .package-list{display:grid;grid-template-columns:1fr 1fr;gap:14px}.web-app .package-card{margin:0}.web-app .page-heading{margin-bottom:32px}}@media(orientation:landscape)and (max-height:500px){.app-header{height:auto;min-height:62px}.bottom-nav{padding-top:5px}.bottom-nav button{min-height:46px}.scan-circle{width:45px;height:45px;margin-top:-10px}.scanner{max-height:55vh;aspect-ratio:auto}.web-app main{padding-top:18px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}.team-panel{margin-top:24px}.team-panel fieldset{border:0;padding:0;margin:0;min-width:0}.team-panel summary{padding:12px 0;cursor:pointer;font-size:14px;font-weight:650}.team-invite-form{border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-top:20px}.team-invite-form form{padding-bottom:18px}.team-limits{display:grid;grid-template-columns:1fr 1fr;gap:12px}.team-limits label{min-width:0}.team-limits input{min-width:0;width:100%}.team-list-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:14px 0}.team-list-heading b{font-size:14px}.team-list-heading button{width:auto;margin:0}.team-member{padding:20px 0;border-top:1px solid var(--line)}.team-member h3{font-size:17px;line-height:1.4;margin:0;overflow-wrap:anywhere}.team-member .team-email{margin:4px 0;font-size:13px;overflow-wrap:anywhere}.team-state{display:inline-block;border-radius:20px;background:#eceee8;padding:5px 10px;font-size:12px;margin:12px 0}.team-active{background:#e6f1e7;color:#37583b!important}.team-stats{display:grid;grid-template-columns:1fr 1fr;gap:8px}.team-stats p{margin:0;background:#f3f5ef;padding:12px;border-radius:12px;color:#344831;font-size:13px}.team-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:space-between}.team-actions button{width:auto;max-width:100%;margin:5px 0;text-align:left}.team-policy{border-top:1px solid var(--line);padding-top:16px}.team-edit .secondary{margin-bottom:6px}.team-panel input{margin-bottom:12px}#team-status{overflow-wrap:anywhere;color:#37583b}#team-status:empty{display:none}@media(max-width:390px){.team-limits,.team-stats{grid-template-columns:1fr}.team-actions,.team-actions button{display:block}}
