:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#0b1120;--panel:#111827;--panel2:#182235;--text:#e5e7eb;--muted:#94a3b8;--blue:#2563eb;--green:#22c55e;--red:#ef4444;--border:#94a3b838}*{box-sizing:border-box}body{background:var(--bg);color:var(--text);margin:0;font-family:IBM Plex Sans,Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif}button,input,select{font:inherit}button{color:#fff;cursor:pointer;background:linear-gradient(135deg,#2563eb,#4f46e5);border:0;border-radius:18px;justify-content:center;align-items:center;gap:12px;min-height:64px;padding:0 26px;font-size:22px;font-weight:950;display:inline-flex}button.ghost{background:#1f2937;min-height:44px;padding:0 16px;font-size:15px}input,select{border:1px solid var(--border);width:100%;min-height:64px;color:var(--text);background:#0f172a;border-radius:18px;outline:none;padding:0 18px;font-size:24px;font-weight:800}.login-screen{place-items:center;min-height:100vh;padding:32px;display:grid}.login-card{background:var(--panel);border:1px solid var(--border);text-align:center;border-radius:30px;gap:16px;width:min(520px,100%);padding:34px;display:grid;box-shadow:0 30px 80px #00000059}.login-card img{background:#fff;border-radius:18px;width:130px;margin:0 auto;padding:8px}.login-card h1{letter-spacing:.12em;margin:8px 0 0}.login-card p{color:var(--muted);text-transform:uppercase;letter-spacing:.08em;margin:0 0 10px;font-weight:800}.error{color:#fecaca;background:#ef444424;border:1px solid #ef444459;border-radius:14px;padding:14px;font-weight:900}.kiosk{flex-direction:column;min-height:100vh;display:flex}header{border-bottom:1px solid var(--border);background:#101827;justify-content:space-between;align-items:center;height:76px;padding:0 22px;display:flex}.brand{align-items:center;gap:14px;display:flex}.brand img{object-fit:contain;background:#fff;border-radius:12px;width:62px;height:48px;padding:5px}.brand strong{letter-spacing:.12em;font-size:22px;display:block}.brand span{color:var(--muted);text-transform:uppercase;letter-spacing:.12em;font-size:12px;font-weight:900;display:block}main{flex:1;grid-template-columns:420px 1fr;gap:18px;min-height:0;padding:18px;display:grid}.status-panel{background:var(--panel);border:1px solid var(--border);border-radius:24px;flex-direction:column;gap:16px;padding:18px;display:flex}.weight{border:1px solid var(--border);color:#dbeafe;letter-spacing:-.07em;background:linear-gradient(#1e293b,#111827);border-radius:22px;place-items:center;height:190px;font:950 76px/1 IBM Plex Mono,ui-monospace,SFMono-Regular,Menlo,monospace;display:grid}.weight.ok{color:#061600;background:linear-gradient(#a3ff2d,#7ee20d);border-color:#7ee20d}.weight small{letter-spacing:0;font-size:34px}.status-text{text-align:center;background:var(--panel2);color:#bfdbfe;border-radius:16px;justify-content:center;align-items:center;min-height:70px;padding:12px;font-size:20px;font-weight:900;display:flex}.row{align-items:center;gap:12px;display:flex}.status-panel .row{flex-direction:column}.status-panel button,.status-panel select{width:100%;min-height:56px;font-size:18px}.steps{grid-template-columns:1fr 1fr;gap:18px;min-height:0;display:grid}.step{background:var(--panel);border:1px solid var(--border);border-radius:24px;flex-direction:column;gap:16px;padding:20px;display:flex}.step.done{border-color:#22c55ea6;box-shadow:0 0 0 3px #22c55e1f}h2{align-items:center;gap:12px;margin:0;font-size:26px;display:flex}p{color:var(--muted);margin:0;font-size:16px;font-weight:700}.photos{grid-template-columns:1fr 1fr;gap:12px;display:grid}.photo{border:1px solid var(--border);background:#0f172a;border-radius:18px;min-height:150px;padding:10px}.photo label{color:var(--muted);text-transform:uppercase;font-size:13px;font-weight:950}.photo img{object-fit:cover;border-radius:12px;width:100%;height:130px;margin-top:6px}.photo div{height:130px;color:var(--muted);place-items:center;font-weight:800;display:grid}.choice{grid-template-columns:1fr 1fr;gap:12px;display:grid}.choice button{background:#1f2937}.choice button.selected{background:linear-gradient(135deg,#16a34a,#22c55e)}.summary{grid-template-columns:repeat(3,1fr);gap:12px;display:grid}.summary span{border:1px solid var(--border);color:var(--muted);text-align:center;background:#0f172a;border-radius:18px;padding:18px;font-size:16px;font-weight:900}.summary b{color:var(--text);margin-top:8px;font-size:30px;display:block}.final{grid-column:1/-1}.save{background:linear-gradient(135deg,#16a34a,#22c55e);min-height:88px;font-size:30px}@media (width<=1200px){main,.steps{grid-template-columns:1fr}.status-panel .row{flex-direction:row}}@media (width<=760px){header{flex-wrap:wrap;gap:10px;height:auto;padding:12px}main{padding:10px}.row,.choice,.photos,.summary{flex-direction:column;grid-template-columns:1fr}button,input,select{min-height:56px;font-size:18px}}html,body,#root{width:100%;height:100%;overflow:hidden}.kiosk{height:100vh;min-height:0;overflow:hidden}.kiosk header{flex:none}.kiosk main{height:calc(100vh - 76px);overflow:hidden}.steps,.status-panel,.step{min-height:0}.step{overflow:hidden}.step.final{min-height:0}@media (width:1280px) and (height:800px),(width<=1400px) and (height<=860px) and (orientation:landscape){button{border-radius:13px;gap:8px;min-height:48px;padding:0 16px;font-size:17px}button svg{width:20px;height:20px}button.ghost{min-height:38px;padding:0 12px;font-size:13px}input,select{border-radius:13px;min-height:48px;padding:0 12px;font-size:18px}header{height:62px;padding:0 14px}.brand{gap:10px}.brand img{border-radius:10px;width:50px;height:40px}.brand strong{font-size:17px}.brand span{font-size:10px}.kiosk main{height:calc(100vh - 62px)}main{grid-template-columns:335px 1fr;gap:10px;padding:10px}.status-panel{border-radius:18px;gap:10px;padding:10px}.weight{border-radius:16px;height:136px;font-size:56px}.weight small{font-size:24px}.status-text{border-radius:13px;min-height:56px;padding:8px;font-size:16px}.status-panel button,.status-panel select{min-height:44px;font-size:15px}.row{gap:8px}.steps{grid-template-rows:minmax(0,1fr) minmax(0,1fr) auto;grid-template-columns:1fr 1fr;gap:10px}.step{border-radius:18px;gap:9px;padding:12px}h2{gap:8px;font-size:19px}h2 svg{width:21px;height:21px}p{font-size:12px;line-height:1.25}.photos{gap:8px}.photo{border-radius:13px;min-height:92px;padding:7px}.photo label{font-size:10px}.photo img,.photo div{border-radius:9px;height:76px;margin-top:4px;font-size:12px}.choice,.summary{gap:8px}.summary span{border-radius:13px;padding:10px;font-size:13px}.summary b{margin-top:4px;font-size:24px}.save{min-height:58px;font-size:22px}.login-card{gap:12px;padding:24px}.login-card img{width:104px}}@media (width>=1600px) and (height>=1000px){button{border-radius:22px;min-height:74px;padding:0 32px;font-size:25px}button svg{width:28px;height:28px}button.ghost{min-height:52px;font-size:17px}input,select{border-radius:22px;min-height:74px;padding:0 22px;font-size:28px}header{height:92px;padding:0 28px}.brand img{width:76px;height:58px}.brand strong{font-size:28px}.brand span{font-size:14px}.kiosk main{height:calc(100vh - 92px)}main{grid-template-columns:540px 1fr;gap:22px;padding:22px}.status-panel,.step{border-radius:30px;gap:20px;padding:24px}.weight{border-radius:28px;height:270px;font-size:106px}.weight small{font-size:44px}.status-text{border-radius:22px;min-height:92px;font-size:25px}.status-panel button,.status-panel select{min-height:66px;font-size:22px}.steps{gap:22px}h2{font-size:31px}h2 svg{width:34px;height:34px}p{font-size:18px}.photo{border-radius:22px;min-height:210px;padding:13px}.photo label{font-size:15px}.photo img,.photo div{border-radius:16px;height:184px}.summary span{border-radius:22px;padding:22px;font-size:19px}.summary b{font-size:40px}.save{min-height:104px;font-size:36px}}@media (orientation:portrait),(width<=900px){html,body,#root,.kiosk{height:auto;min-height:100%;overflow:auto}.kiosk main{height:auto;overflow:visible}main,.steps{grid-template-columns:1fr}.final{grid-column:auto}}html,body,#root,.kiosk{overscroll-behavior:none;touch-action:manipulation;-webkit-tap-highlight-color:transparent}body{-webkit-user-select:none;user-select:none}input,select,textarea{-webkit-user-select:text;user-select:text}button,.choice button,.save{transition:transform 80ms,filter .12s}button:active,.choice button:active,.save:active{filter:brightness(1.08);transform:scale(.985)}button:focus-visible,input:focus-visible,select:focus-visible{outline-offset:3px;outline:3px solid #93c5fdbf}@media (display-mode:fullscreen),(display-mode:standalone){header{padding-top:env(safe-area-inset-top,0)}.kiosk{background:var(--bg)}}@media (width:720px) and (height:1280px),(width<=820px) and (height>=1000px) and (orientation:portrait){html,body,#root,.kiosk{width:100%;height:100%;min-height:0;overflow:hidden}button{border-radius:16px;gap:9px;min-height:58px;padding:0 18px;font-size:19px}button svg{width:22px;height:22px}button.ghost{min-height:42px;padding:0 12px;font-size:13px}input,select{border-radius:16px;min-height:58px;padding:0 14px;font-size:20px}header{flex-wrap:nowrap;gap:10px;height:68px;padding:0 12px}.brand{gap:10px;min-width:0}.brand img{border-radius:10px;width:50px;height:40px}.brand strong{letter-spacing:.08em;white-space:nowrap;font-size:17px}.brand span{font-size:10px}.kiosk main{height:calc(100vh - 68px);overflow:hidden}main{grid-template-rows:auto minmax(0,1fr);grid-template-columns:1fr;gap:10px;padding:10px;display:grid}.status-panel{border-radius:18px;grid-template-columns:1fr;gap:8px;padding:10px;display:grid}.weight{border-radius:16px;height:112px;font-size:54px}.weight small{font-size:23px}.status-text{border-radius:12px;min-height:44px;padding:7px 10px;font-size:15px}.status-panel .row{grid-template-columns:1fr 1fr 1fr;gap:8px;display:grid}.status-panel button,.status-panel select{width:100%;min-height:44px;padding:0 8px;font-size:14px}.steps{grid-template-rows:repeat(3,minmax(0,1fr)) auto;grid-template-columns:1fr;gap:10px;min-height:0;display:grid;overflow:hidden}.step{border-radius:18px;gap:9px;min-height:0;padding:12px;overflow:hidden}.step.final{grid-column:auto}h2{gap:8px;font-size:20px}h2 svg{width:22px;height:22px}p{font-size:12px;line-height:1.25}.row{flex-direction:row;gap:8px;display:flex}.step .row input,.step .row select{min-width:0}.step .row button{white-space:nowrap;flex:none}.photos{grid-template-columns:1fr 1fr;gap:8px}.photo{border-radius:13px;min-height:92px;padding:7px}.photo label{font-size:10px}.photo img,.photo div{border-radius:9px;height:76px;margin-top:4px;font-size:12px}.choice{grid-template-columns:1fr 1fr;gap:8px}.summary{grid-template-columns:repeat(3,1fr);gap:8px}.summary span{border-radius:13px;padding:9px;font-size:12px}.summary b{margin-top:4px;font-size:22px}.save{min-height:62px;font-size:23px}}button,.login-card button{background:linear-gradient(135deg, var(--brand-primary,#2563eb), color-mix(in srgb, var(--brand-primary,#2563eb) 72%, #111827))}.choice button.selected,.save{background:linear-gradient(135deg, var(--brand-primary,#16a34a), var(--brand-accent,#22c55e))}.weight.ok{background:linear-gradient(180deg, color-mix(in srgb, var(--brand-accent,#a3ff2d) 72%, #fff), var(--brand-accent,#7ee20d));border-color:var(--brand-accent,#7ee20d)}.brand img,.login-card img{object-fit:contain}.virtual-keyboard{z-index:50;border:1px solid var(--border);background:#0f172afa;border-radius:22px;padding:10px;position:fixed;bottom:10px;left:10px;right:10px;box-shadow:0 22px 70px #0000008c}.vk-header{grid-template-columns:auto 1fr auto;align-items:center;gap:10px;margin-bottom:8px;display:grid}.vk-header strong{font-size:15px}.vk-header span{text-overflow:ellipsis;white-space:nowrap;color:#bfdbfe;min-width:0;font-family:IBM Plex Mono,ui-monospace,SFMono-Regular,Menlo,monospace;font-weight:900;overflow:hidden}.vk-header button{background:#334155;border-radius:12px;min-height:38px;padding:0 12px;font-size:14px}.vk-rows{gap:7px;display:grid}.vk-row{grid-auto-columns:1fr;grid-auto-flow:column;gap:7px;display:grid}.vk-row button{background:#1f2937;border-radius:12px;min-height:48px;padding:0;font-size:18px}.vk-actions{grid-auto-columns:1.3fr 1fr 1.4fr 1.2fr}.vk-actions button:last-child{background:linear-gradient(135deg, var(--brand-primary,#2563eb), var(--brand-accent,#22c55e))}@media (width:720px) and (height:1280px),(width<=820px) and (height>=1000px) and (orientation:portrait){.virtual-keyboard{border-radius:18px;padding:8px;bottom:8px;left:8px;right:8px}.vk-row button{min-height:44px;font-size:17px}.vk-header{margin-bottom:6px}}@media (width>=1600px) and (height>=1000px){.virtual-keyboard{border-radius:28px;padding:16px;bottom:22px;left:22px;right:22px}.vk-row button{border-radius:18px;min-height:66px;font-size:25px}.vk-header strong{font-size:20px}.vk-header button{min-height:48px;font-size:17px}}@media (width:1280px) and (height:720px),(width<=1400px) and (height<=760px) and (orientation:landscape){html,body,#root,.kiosk{width:100%;height:100%;min-height:0;overflow:hidden}button{border-radius:12px;gap:7px;min-height:44px;padding:0 14px;font-size:16px}button svg{width:19px;height:19px}button.ghost{min-height:36px;padding:0 10px;font-size:12px}input,select{border-radius:12px;min-height:44px;padding:0 11px;font-size:17px}header{height:56px;padding:0 12px}.brand{gap:9px}.brand img{border-radius:9px;width:46px;height:36px}.brand strong{letter-spacing:.08em;font-size:16px}.brand span{font-size:9px}.kiosk main{height:calc(100vh - 56px);overflow:hidden}main{grid-template-columns:315px 1fr;gap:8px;padding:8px}.status-panel{border-radius:16px;gap:8px;padding:9px}.weight{border-radius:14px;height:118px;font-size:50px}.weight small{font-size:22px}.status-text{border-radius:12px;min-height:48px;padding:7px;font-size:14px}.status-panel button,.status-panel select{min-height:40px;font-size:14px}.row{gap:7px}.steps{grid-template-rows:minmax(0,1fr) minmax(0,1fr) auto;grid-template-columns:1fr 1fr;gap:8px}.step{border-radius:16px;gap:8px;padding:10px}h2{gap:7px;font-size:18px}h2 svg{width:20px;height:20px}p{font-size:11px;line-height:1.2}.photos{gap:7px}.photo{border-radius:12px;min-height:78px;padding:6px}.photo label{font-size:9px}.photo img,.photo div{border-radius:8px;height:62px;margin-top:3px;font-size:11px}.choice,.summary{gap:7px}.summary span{border-radius:12px;padding:8px;font-size:12px}.summary b{margin-top:3px;font-size:21px}.save{min-height:52px;font-size:20px}.virtual-keyboard{border-radius:16px;padding:8px;bottom:8px;left:8px;right:8px}.vk-row button{min-height:40px;font-size:16px}.vk-header button{min-height:34px}}
