*,:before,:after{box-sizing:border-box;margin:0;padding:0}:root{--r-card:20px;--r-btn:14px;--brand-1:#007aff;--brand-2:#6a4dff;--btn-primary:linear-gradient(90deg, #007aff, #6a4dff);--accent-fade:color-mix(in srgb, var(--accent) 14%, transparent);--positive-fade:color-mix(in srgb, var(--positive) 22%, transparent);--danger-fade:color-mix(in srgb, var(--negative) 12%, transparent);-webkit-text-size-adjust:100%;font:15px/1.35 -apple-system,SF Pro Text,system-ui,Roboto,Segoe UI,sans-serif}:root,:root[data-theme=light]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--page-solid:#f6f7fb;--page:radial-gradient(120% 60% at 50% -10%, #dcd6ff 0%, #eef0ff 45%, #f6f7fb 100%);--desk:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='220'%20height='220'%3e%3cpath%20fill='none'%20stroke='rgba(79,70,229,.30)'%20stroke-width='1.6'%20stroke-linecap='round'%20stroke-linejoin='round'%20d='M22%2030h30a6%206%200%200%201%206%206v14a6%206%200%200%201-6%206H36l-9%207v-7h-5a6%206%200%200%201-6-6V36a6%206%200%200%201%206-6z'/%3e%3cpath%20fill='none'%20stroke='rgba(79,70,229,.30)'%20stroke-width='1.6'%20stroke-linecap='round'%20stroke-linejoin='round'%20d='M150%2040a13%2013%200%200%201%2013%2013v9l5%207h-36l5-7v-9a13%2013%200%200%201%2013-13zm-5%2032a5%205%200%200%200%2010%200'/%3e%3cpath%20fill='none'%20stroke='rgba(79,70,229,.30)'%20stroke-width='1.6'%20stroke-linecap='round'%20stroke-linejoin='round'%20d='M84%20120h40v26H84zm0%200%2020%2015%2020-15'/%3e%3cpath%20fill='none'%20stroke='rgba(79,70,229,.30)'%20stroke-width='1.6'%20stroke-linecap='round'%20stroke-linejoin='round'%20d='M20%20160h34m-10-10%2010%2010-10%2010'/%3e%3cpath%20fill='none'%20stroke='rgba(79,70,229,.30)'%20stroke-width='1.6'%20stroke-linecap='round'%20stroke-linejoin='round'%20d='M182%20150v14m-7-7h14M120%2030v8m-4-4h8M60%20196v8m-4-4h8'/%3e%3cpath%20fill='none'%20stroke='rgba(79,70,229,.30)'%20stroke-width='1.6'%20stroke-linecap='round'%20stroke-linejoin='round'%20d='M176%20196c-6-5-12-9-12-15a6%206%200%200%201%2012-2%206%206%200%200%201%2012%202c0%206-6%2010-12%2015z'/%3e%3ccircle%20fill='none'%20stroke='rgba(79,70,229,.30)'%20stroke-width='1.6'%20stroke-linecap='round'%20stroke-linejoin='round'%20cx='110'%20cy='190'%20r='5'/%3e%3cpath%20fill='none'%20stroke='rgba(79,70,229,.30)'%20stroke-width='1.6'%20stroke-linecap='round'%20stroke-linejoin='round'%20d='M115%20190v3a4%204%200%200%200%208%200v-3a13%2013%200%201%200-5%2010'/%3e%3ccircle%20fill='none'%20stroke='rgba(79,70,229,.30)'%20stroke-width='1.6'%20stroke-linecap='round'%20stroke-linejoin='round'%20cx='196'%20cy='100'%20r='4'/%3e%3ccircle%20fill='none'%20stroke='rgba(79,70,229,.30)'%20stroke-width='1.6'%20stroke-linecap='round'%20stroke-linejoin='round'%20cx='40'%20cy='100'%20r='3'/%3e%3c/svg%3e"), radial-gradient(90% 80% at 50% 0%, #cfc6ff 0%, #e4e6ff 45%, #f3f4fb 100%);--frame-bg:#ffffffe6;--frame-shadow:0 20px 60px #14285038;--card:#fff;--text:#0b0b12;--text2:#0b0b12b0;--text3:#0b0b1288;--accent:#4f46e5;--positive:#14a44d;--negative:#e0283a;--divider:#0b0b1214;--card-shadow:0 6px 24px #4f46e51a;--card-border:1px solid #e7e7f5;--switch-off:#e6e6f2;--input-bg:#f6f6fc}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--page-solid:#0f0f12;--page:radial-gradient(120% 60% at 50% -10%, #2a2366 0%, #14142a 45%, #0f0f12 100%);--desk:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='220'%20height='220'%3e%3cpath%20fill='none'%20stroke='rgba(139,125,255,.18)'%20stroke-width='1.6'%20stroke-linecap='round'%20stroke-linejoin='round'%20d='M22%2030h30a6%206%200%200%201%206%206v14a6%206%200%200%201-6%206H36l-9%207v-7h-5a6%206%200%200%201-6-6V36a6%206%200%200%201%206-6z'/%3e%3cpath%20fill='none'%20stroke='rgba(139,125,255,.18)'%20stroke-width='1.6'%20stroke-linecap='round'%20stroke-linejoin='round'%20d='M150%2040a13%2013%200%200%201%2013%2013v9l5%207h-36l5-7v-9a13%2013%200%200%201%2013-13zm-5%2032a5%205%200%200%200%2010%200'/%3e%3cpath%20fill='none'%20stroke='rgba(139,125,255,.18)'%20stroke-width='1.6'%20stroke-linecap='round'%20stroke-linejoin='round'%20d='M84%20120h40v26H84zm0%200%2020%2015%2020-15'/%3e%3cpath%20fill='none'%20stroke='rgba(139,125,255,.18)'%20stroke-width='1.6'%20stroke-linecap='round'%20stroke-linejoin='round'%20d='M20%20160h34m-10-10%2010%2010-10%2010'/%3e%3cpath%20fill='none'%20stroke='rgba(139,125,255,.18)'%20stroke-width='1.6'%20stroke-linecap='round'%20stroke-linejoin='round'%20d='M182%20150v14m-7-7h14M120%2030v8m-4-4h8M60%20196v8m-4-4h8'/%3e%3cpath%20fill='none'%20stroke='rgba(139,125,255,.18)'%20stroke-width='1.6'%20stroke-linecap='round'%20stroke-linejoin='round'%20d='M176%20196c-6-5-12-9-12-15a6%206%200%200%201%2012-2%206%206%200%200%201%2012%202c0%206-6%2010-12%2015z'/%3e%3ccircle%20fill='none'%20stroke='rgba(139,125,255,.18)'%20stroke-width='1.6'%20stroke-linecap='round'%20stroke-linejoin='round'%20cx='110'%20cy='190'%20r='5'/%3e%3cpath%20fill='none'%20stroke='rgba(139,125,255,.18)'%20stroke-width='1.6'%20stroke-linecap='round'%20stroke-linejoin='round'%20d='M115%20190v3a4%204%200%200%200%208%200v-3a13%2013%200%201%200-5%2010'/%3e%3ccircle%20fill='none'%20stroke='rgba(139,125,255,.18)'%20stroke-width='1.6'%20stroke-linecap='round'%20stroke-linejoin='round'%20cx='196'%20cy='100'%20r='4'/%3e%3ccircle%20fill='none'%20stroke='rgba(139,125,255,.18)'%20stroke-width='1.6'%20stroke-linecap='round'%20stroke-linejoin='round'%20cx='40'%20cy='100'%20r='3'/%3e%3c/svg%3e"), radial-gradient(90% 80% at 50% 0%, #2a2366 0%, #16162e 45%, #0d0d10 100%);--frame-bg:#0f0f12eb;--frame-shadow:0 0 0 1px #8b7dff24, 0 20px 60px #00000080;--card:#17181c;--text:#fff;--text2:#fffc;--text3:#ffffff94;--accent:#8b7dff;--positive:#2bc644;--negative:#ff6b77;--divider:#ffffff14;--card-shadow:0 0 0 1px #8b7dff1f, 0 10px 30px #0006;--card-border:0;--switch-off:#2c2c38;--input-bg:#0f0f12}html,body{min-height:100%}body{min-height:100vh;min-height:var(--tg-viewport-stable-height,100dvh);background:var(--page-solid) var(--page) no-repeat;color:var(--text)}button,input{font:inherit;color:inherit}button{cursor:pointer;background:0 0;border:0}button:disabled{cursor:default}:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.visually-hidden{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.frame{min-height:100vh;min-height:var(--tg-viewport-stable-height,100dvh);flex-direction:column;display:flex}.screen{padding:18px 16px calc(18px + env(safe-area-inset-bottom));flex-direction:column;flex:1;gap:12px;display:flex}.screen.centered{text-align:center;justify-content:center;align-items:center;gap:14px;padding-inline:28px}@media (width>=600px){body{background:var(--desk);background-color:var(--page-solid);background-attachment:fixed;justify-content:center;align-items:center;padding:40px 16px;display:flex}#root{width:440px}.frame{background:var(--frame-bg);min-height:600px;box-shadow:var(--frame-shadow);-webkit-backdrop-filter:blur(20px);border-radius:28px;overflow:hidden}.screen{padding:22px 18px}}h1{font-size:20px;font-weight:700}h2{text-align:center;font-size:20px;font-weight:700}.muted{color:var(--text2)}.center{text-align:center}.left{text-align:left;align-self:stretch}.positive{color:var(--positive)}.caption{color:var(--text3);text-transform:uppercase;letter-spacing:.04em;padding:6px 4px 0;font-size:13px}.hint{color:var(--text3);margin-top:6px;font-size:13px}.footnote{color:var(--text3);text-align:center;margin-top:auto;padding-top:12px;font-size:13px}.app-version{font-variant-numeric:tabular-nums;margin-top:8px;font-size:12px;display:inline-block}.hero{align-items:center;gap:14px;padding:6px 4px 8px;display:flex}.app-icon{flex:none;width:52px;height:52px}.app-icon.pulse{animation:1.4s ease-in-out infinite pulse}@keyframes pulse{50%{opacity:.55;transform:scale(.94)}}@media (prefers-reduced-motion:reduce){.app-icon.pulse{animation:none}}.card{background:var(--card);border-radius:var(--r-card);box-shadow:var(--card-shadow);border:var(--card-border);padding:14px 16px}.row{justify-content:space-between;align-items:center;gap:12px;min-height:30px;display:flex}.row-button{text-align:left;width:100%}.divider{background:var(--divider);height:1px;margin:6px 0}.status-head{align-items:center;gap:10px;margin-bottom:10px;font-size:17px;display:flex}.status-text{margin-bottom:14px}.dot{border-radius:50%;flex:none;width:10px;height:10px}.dot.ok{background:var(--positive);box-shadow:0 0 12px var(--positive)}.dot.bad{background:var(--negative);box-shadow:0 0 0 4px var(--danger-fade)}.dot.off{background:var(--text3)}.error-banner{color:var(--negative);background:var(--danger-fade);border-radius:12px;padding:10px 14px;font-size:14px}.switch{background:var(--switch-off);border-radius:16px;flex:none;width:51px;height:31px;transition:background .2s;position:relative}.switch i{background:#fff;border-radius:50%;width:27px;height:27px;transition:transform .2s;position:absolute;top:2px;left:2px;box-shadow:0 2px 4px #0003}.switch[aria-checked=true]{background:var(--btn-primary)}.switch[aria-checked=true] i{transform:translate(20px)}.switch:disabled{opacity:.7}.btn{border-radius:var(--r-btn);flex:none;width:100%;height:50px;font-size:16px;font-weight:600;line-height:1}.btn.narrow{width:auto;padding:0 32px}.btn.primary{background:var(--btn-primary);color:#fff}.btn.danger{background:var(--danger-fade);color:var(--negative)}.btn:disabled{opacity:.55}.back{color:var(--accent);align-self:flex-start;padding:2px 0}.qr-card,.pw-card{flex-direction:column;align-items:center;gap:12px;display:flex}.qr-card{padding:22px 18px}.pw-card{padding:26px 18px}.qr{background:#fff;border-radius:18px;width:216px;height:216px;padding:10px}.qr img{width:100%;height:100%;display:block}.pill{background:var(--accent-fade);color:var(--accent);font-variant-numeric:tabular-nums;border-radius:999px;padding:5px 12px;font-size:13px;font-weight:500}.lock{background:var(--accent-fade);width:64px;height:64px;color:var(--accent);border-radius:20px;flex:none;justify-content:center;align-items:center;display:flex}.lock.bad{background:var(--danger-fade);color:var(--negative)}.big-icon{width:34px;height:34px}.field{background:var(--input-bg);border:1px solid var(--divider);border-radius:12px;align-items:center;width:100%;height:50px;margin-top:6px;padding:0 6px 0 14px;display:flex}.field:focus-within{border-color:var(--accent)}.field.invalid{border-color:var(--negative)}.field input{background:0 0;border:0;outline:none;flex:1;min-width:0;font-size:17px}.eye{color:var(--text3);padding:8px;display:flex}.field-error{color:var(--negative);align-self:stretch;font-size:13px}.btn[aria-busy=true]:after,.text-button[aria-busy=true]:after,.row-button[aria-busy=true] .muted:before{content:"";vertical-align:-.15em;border:2px solid;border-right-color:#0000;border-radius:50%;width:1em;height:1em;animation:.8s linear infinite spin;display:inline-block}.btn[aria-busy=true]:after,.text-button[aria-busy=true]:after{margin-left:8px}.row-button[aria-busy=true] .muted:before{margin-right:8px}@keyframes spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.btn[aria-busy=true]:after,.text-button[aria-busy=true]:after,.row-button[aria-busy=true] .muted:before{animation-duration:2.4s}}.card.notice{border:1px solid color-mix(in srgb, var(--negative) 40%, transparent);flex-direction:column;gap:12px;display:flex}.notice-text{align-items:flex-start;gap:12px;font-weight:500;line-height:1.35;display:flex}.notice-icon{background:var(--danger-fade);width:32px;height:32px;color:var(--negative);border-radius:10px;flex:none;justify-content:center;align-items:center;display:flex}.notice-icon .big-icon{width:20px;height:20px}.text-button{color:var(--accent);align-self:center;padding:8px 12px;font-size:15px;font-weight:500}.text-button.danger{color:var(--negative)}.text-button:disabled{opacity:.55}.consent-card p{color:var(--text2)}.points{flex-direction:column;gap:8px;margin-top:12px;list-style:none;display:flex}.points li{padding-left:22px;position:relative}.points li:before{content:"";border-left:2px solid var(--positive);border-bottom:2px solid var(--positive);width:10px;height:6px;position:absolute;top:.45em;left:2px;transform:rotate(-45deg)}.consent-actions{flex-direction:column;gap:4px;margin-top:auto;padding-top:8px;display:flex}.consent-actions .btn.danger{margin-top:8px}.legal{overflow-wrap:anywhere;flex-direction:column;gap:10px;font-size:14px;line-height:1.45;display:flex}.legal h1{font-size:20px;line-height:1.25}.legal h2{text-align:left;margin-top:8px;font-size:16px}.legal h3{font-size:15px}.legal blockquote{border-left:3px solid var(--accent);background:var(--accent-fade);border-radius:0 10px 10px 0;flex-direction:column;gap:4px;padding:8px 12px;display:flex}.legal ul{flex-direction:column;gap:6px;padding-left:20px;display:flex}.legal code{background:var(--accent-fade);overflow-wrap:anywhere;border-radius:5px;padding:0 4px;font-family:ui-monospace,SF Mono,Menlo,monospace;font-size:.92em}.legal table{border-collapse:collapse;width:100%;font-size:13px}.legal th,.legal td{text-align:left;vertical-align:top;border-bottom:1px solid var(--divider);padding:6px 8px}.legal th{color:var(--text2);font-weight:600}@media (width<=599px){.legal thead{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.legal table,.legal tbody,.legal tr,.legal td{display:block}.legal tr{border-bottom:1px solid var(--divider);padding:10px 0}.legal td{border:0;padding:2px 0}.legal td:before{content:attr(data-label) ": ";color:var(--text3)}.legal td:first-child{font-weight:600}.legal td:first-child:before{content:none}}@media (width>=600px){#root:has(.frame-wide){width:min(760px,100%)}}
