:root{font-family:Inter,Segoe UI,Arial,sans-serif;color:#0b1c2e;background:#eef8f9;font-synthesis:none;text-rendering:optimizeLegibility;--sibur:#00a6ad;--sibur-dark:#007d88;--ink:#0a1a2c;--muted:#687c91;--line:#cce5e8;--surface:rgba(255,255,255,.84)}*{box-sizing:border-box}html,body,#app{margin:0;min-width:100%;min-height:100%}body{min-height:100vh;overflow-x:hidden;overflow-y:auto;background:#eef8f9}button,input,textarea,select{font:inherit}button{cursor:pointer}.ui-icon{width:24px;height:24px;display:block;flex:0 0 auto}.ui-icon.large{width:44px;height:44px}.app{position:relative;isolation:isolate;min-height:100vh;display:flex;flex-direction:column;overflow:hidden;background:linear-gradient(135deg,#effafb,#fff 48%,#edf8f9);color:var(--ink)}.app:not(.question-app):before{content:"";position:fixed;z-index:-2;inset:clamp(88px,10.8vh,106px) 0 0;background:linear-gradient(132deg,rgba(0,166,173,.08) 0 9%,transparent 9% 52%,rgba(0,166,173,.055) 52% 62%,transparent 62%),linear-gradient(315deg,rgba(0,166,173,.1) 0 12%,transparent 12% 72%,rgba(0,125,136,.035) 72%);pointer-events:none}.app:not(.question-app):after{content:"";position:fixed;z-index:-1;left:0;top:126px;width:220px;height:310px;opacity:.24;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='76' viewBox='0 0 88 76'%3E%3Cpath d='M22 2h44l20 36-20 36H22L2 38Z' fill='none' stroke='%2300a6ad' stroke-width='1'/%3E%3C/svg%3E");pointer-events:none}.home-app{height:100vh;height:100dvh;min-height:680px;overflow:hidden}.home-app .main{isolation:isolate;padding:0;overflow:hidden}.home-app .main:before{content:"";position:absolute;z-index:-2;inset:0;background:linear-gradient(90deg,#f9fdfdfc,#f9fdfded 25%,#f9fdfd6e 55%,#f9fdfd1f),linear-gradient(180deg,#f8fdfde0,#f8fdfd14 62%),url(/assets/home-background.webp) center bottom/cover no-repeat}.home-app .main:after{content:"";position:absolute;z-index:-1;inset:0;pointer-events:none;background:linear-gradient(131deg,rgba(0,166,173,.06) 0 7%,transparent 7% 36%,rgba(255,255,255,.72) 36% 48%,transparent 48%),linear-gradient(314deg,rgba(0,166,173,.08) 0 10%,transparent 10%)}.topbar{position:relative;z-index:40;height:clamp(88px,10.8vh,106px);flex:0 0 clamp(88px,10.8vh,106px);display:flex;align-items:center;justify-content:space-between;padding:0 clamp(30px,4vw,66px);background:#fffffff0;border-top:4px solid var(--sibur-dark);border-bottom:1px solid rgba(0,125,136,.13);box-shadow:0 8px 26px #114a520d;-webkit-backdrop-filter:blur(22px);backdrop-filter:blur(22px)}.brand{display:flex;align-items:center;gap:16px;min-width:0}.brand-mark{width:clamp(62px,7.8vh,78px);height:clamp(62px,7.8vh,78px);display:grid;place-items:center;flex:0 0 auto}.brand-mark img{width:100%;height:100%;object-fit:contain;display:block;filter:drop-shadow(0 10px 15px rgba(0,118,128,.15))}.brand-copy{display:flex;flex-direction:column;gap:3px;min-width:0}.brand-copy strong{font-size:clamp(29px,2.15vw,36px);line-height:1;color:var(--sibur-dark);font-weight:900;letter-spacing:-1.3px}.brand-copy small{color:#3d536b;font-size:clamp(15px,1.15vw,18px);letter-spacing:.1px;white-space:nowrap}.top-actions{display:flex;gap:12px;align-items:center}.btn{border:0;border-radius:18px;min-height:52px;padding:14px 23px;display:inline-flex;align-items:center;justify-content:center;gap:10px;font-weight:800;background:linear-gradient(135deg,#00b8bb,#008d98);color:#fff;box-shadow:0 10px 24px #008f9933;transition:transform .18s ease,box-shadow .2s ease,background .2s ease}.btn:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 14px 30px #008f9947}.btn.secondary{background:#ffffffad;color:#087b85;border:1px solid #cce5e8;box-shadow:0 8px 22px #1d5d650f;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.btn.danger{background:#fff0ef;color:#b04b43;border:1px solid #f3d3d0;box-shadow:none}.btn:disabled{opacity:.5;cursor:not-allowed;transform:none!important}.header-action{min-height:54px;border-radius:28px!important;padding:13px 23px!important;white-space:nowrap}.header-action .ui-icon{width:22px;height:22px}.icon-button{width:52px;padding:0}.settings-button{width:68px;height:68px;border-radius:50%!important;padding:0!important;background:#ffffffa8!important;border:1px solid #c8e1e4!important;box-shadow:0 8px 24px #195e660d!important}.settings-button .ui-icon{width:31px;height:31px}.main{position:relative;z-index:1;flex:1;min-height:0;display:flex;align-items:center;justify-content:center;padding:clamp(22px,3vw,48px)}.panel{position:relative;background:var(--surface);border:1px solid rgba(0,138,148,.17);border-radius:32px;padding:32px;box-shadow:0 28px 70px #1c535b1a;-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px)}.eyebrow{display:inline-flex;align-items:center;gap:9px;color:#087f88;font-size:14px;font-weight:850;letter-spacing:.08em;text-transform:uppercase}.eyebrow>span{width:9px;height:9px;border-radius:50%;background:var(--sibur);box-shadow:0 0 0 6px #00a6ad1a}.hero{width:min(1340px,calc(100% - 70px));display:grid;grid-template-columns:minmax(440px,.84fr) minmax(620px,1.16fr);gap:clamp(38px,4.4vw,72px);align-items:center}.hero-copy{padding:12px 0 20px}.home-kicker{display:flex;align-items:center;gap:10px;color:#007f89;font-size:clamp(13px,1.12vw,17px);font-weight:900;letter-spacing:.045em;white-space:nowrap}.home-kicker .ui-icon{width:23px;height:23px;padding:4px;color:#fff;background:#008d96;border-radius:50%;stroke-width:2.3}.home-kicker i{font-style:normal;font-size:12px;color:#0299a2}.hero h1{font-size:clamp(64px,6.15vw,101px);line-height:.96;margin:30px 0 31px;color:var(--ink);font-weight:950;letter-spacing:-.058em}.hero h1 em{font-style:normal;color:#00a5ad;background:linear-gradient(180deg,#04aeb5,#00939c);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}.hero p{font-size:clamp(18px,1.45vw,23px);line-height:1.55;color:#3e536d;max-width:600px;margin:0}.hero-actions{display:flex;gap:16px;flex-wrap:wrap;margin-top:30px}.hero-actions .btn{min-height:72px;border-radius:24px;padding:18px 26px;font-size:17px}.hero-actions .btn .ui-icon{width:29px;height:29px}.home-scan{min-width:236px}.home-reset{min-width:218px;background:#ffffffdb!important}.home-dashboard{min-height:clamp(500px,63vh,590px);padding:36px 36px 30px;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;background:linear-gradient(145deg,#ffffffeb,#f7fcfcd1);border-radius:34px;box-shadow:0 28px 68px #205b631c;transform:translateY(-36px)}.home-dashboard:after{content:"";position:absolute;right:-105px;top:-100px;width:315px;height:315px;border:1px solid rgba(0,166,173,.12);transform:rotate(30deg);clip-path:polygon(25% 5%,75% 5%,98% 50%,75% 95%,25% 95%,2% 50%);pointer-events:none}.home-dashboard-head{position:relative;z-index:1;display:flex;align-items:center;gap:26px;padding:0 13px 28px;border-bottom:1px solid #c7e2e5}.home-dashboard-head>img{width:108px;height:108px;object-fit:contain;filter:drop-shadow(0 13px 18px rgba(0,119,128,.12))}.home-dashboard-head>div{min-width:0}.home-dashboard-head strong{display:block;color:#00818a;font-size:clamp(46px,4.25vw,68px);line-height:1;font-weight:950;letter-spacing:-.045em;text-transform:uppercase;white-space:nowrap}.home-dashboard-head p{margin:14px 0 0;color:#415570;font-size:clamp(17px,1.42vw,22px);white-space:nowrap}.home-features{position:relative;z-index:1;display:grid;grid-template-columns:repeat(4,1fr);margin:28px 0 24px}.home-feature{min-width:0;padding:0 14px;display:flex;flex-direction:column;align-items:center;text-align:center;color:#14263c}.home-feature:not(:last-child){border-right:1px solid #d3e5e7}.home-feature>.ui-icon{width:49px;height:49px;margin-bottom:11px;color:#008a93;stroke-width:2.1}.home-feature strong{font-size:17px;font-weight:900;line-height:1.2}.home-feature span{margin-top:6px;color:#3f536c;font-size:15px;line-height:1.42}.stats{display:grid;grid-template-columns:repeat(2,1fr);gap:20px;position:relative;z-index:1}.stat{min-height:148px;padding:21px 24px;border-radius:25px;background:#ffffffa6;border:1px solid rgba(0,138,148,.16);display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:18px}.stat-copy{display:flex;flex-direction:column;justify-content:center;align-self:stretch}.stat-copy>span{font-size:15px;color:#60738b;font-weight:850}.stat-copy strong{font-size:48px;line-height:1.05;color:var(--ink);display:block;margin:5px 0}.stat-copy small{color:#667b91;font-size:13px}.stat-ring{--value:0;position:relative;width:92px;height:92px;flex:0 0 92px;border-radius:50%;display:grid;place-items:center;color:#0098a1;background:conic-gradient(#05a9b0 calc(var(--value)*1%),#d8e7e9 0);box-shadow:inset 0 0 0 1px #008a940f}.stat-ring:before{content:"";position:absolute;inset:10px;border-radius:50%;background:#fafefefa}.stat-ring>.ui-icon{position:relative;z-index:1;width:41px;height:41px;stroke-width:2.25}.scan-app{height:100vh;height:100dvh;min-height:680px;overflow:hidden}.scan-app .main{padding:22px clamp(26px,4vw,62px) 30px}.scanner-stage{width:min(1510px,100%);height:100%;min-height:0;display:grid;grid-template-columns:.98fr 1.02fr;border:1px solid rgba(0,148,158,.16);border-radius:38px;background:#ffffff8c;box-shadow:0 30px 75px #195c651a;overflow:hidden}.scanner-visual{position:relative;min-width:0;min-height:0;padding:32px clamp(30px,4vw,64px) 28px;display:flex;flex-direction:column;align-items:center;justify-content:space-between;background:linear-gradient(145deg,#ffffff9e,#e7f8f994)}.scanner-visual:before{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(135deg,transparent 0 13%,rgba(0,166,173,.055) 13% 20%,transparent 20% 77%,rgba(0,166,173,.08) 77%)}.camera-pill{position:relative;z-index:5;display:flex;align-items:center;gap:10px;min-height:43px;padding:10px 20px;border-radius:24px;background:#fffc;border:1px solid #cfe6e9;color:#057781;font-weight:800;box-shadow:0 8px 26px #13707912}.camera-pill i{width:12px;height:12px;border-radius:50%;background:#05afb4;box-shadow:0 0 0 6px #05afb41a}.camera-pill.error{color:#b04b43}.camera-pill.error i{background:#e56e64;box-shadow:0 0 0 6px #e56e641a}.camera-orbit{position:relative;z-index:2;width:clamp(300px,min(33vw,46vh),470px);aspect-ratio:1;margin:8px auto}.orbit-ring{position:absolute;border-radius:50%;inset:0;border:1px solid rgba(0,166,173,.19)}.orbit-one{inset:7%;border-color:#00a6ad57}.orbit-two{inset:-6%;border-style:dotted;animation:orbitSpin 24s linear infinite}.orbit-two:before,.orbit-two:after{content:"";position:absolute;width:7px;height:7px;border-radius:50%;background:#c9e9eb;left:50%;transform:translate(-50%)}.orbit-two:before{top:-4px}.orbit-two:after{bottom:-4px}.scanner-card{position:absolute;z-index:2;inset:13%;min-height:0;padding:0;overflow:hidden;border-radius:50%;background:#062e35;border:5px solid rgba(255,255,255,.9);box-shadow:0 0 0 3px #00a6ad52,0 24px 48px #05484f2e}.scanner-card video{display:block;width:100%;height:100%;min-height:0;object-fit:cover;transform:scaleX(-1)}.scan-frame{position:absolute;z-index:3;inset:15%;pointer-events:none}.scan-frame i{position:absolute;width:57px;height:57px}.scan-frame i:nth-child(1){left:0;top:0;border-left:6px solid #03abb1;border-top:6px solid #03abb1;border-radius:12px 0 0}.scan-frame i:nth-child(2){right:0;top:0;border-right:6px solid #03abb1;border-top:6px solid #03abb1;border-radius:0 12px 0 0}.scan-frame i:nth-child(3){right:0;bottom:0;border-right:6px solid #03abb1;border-bottom:6px solid #03abb1;border-radius:0 0 12px}.scan-frame i:nth-child(4){left:0;bottom:0;border-left:6px solid #03abb1;border-bottom:6px solid #03abb1;border-radius:0 0 0 12px}.camera-medallion{position:absolute;z-index:5;left:50%;bottom:1%;transform:translate(-50%);width:66px;height:66px;border-radius:50%;display:grid;place-items:center;color:#07939c;background:#fffffff2;border:1px solid #cce4e7;box-shadow:0 12px 28px #006f791f}.camera-medallion .ui-icon{width:28px;height:28px}.tip-card{position:relative;z-index:4;width:min(520px,96%);min-height:100px;padding:18px 24px;display:flex;align-items:center;gap:18px;border-radius:18px;background:#ffffffb3;border:1px solid #cfe5e8;border-left:7px solid #04afb4;box-shadow:0 12px 30px #1b656e0f}.tip-icon{width:44px;height:44px;color:#04a6ad;fill:#00a6ad14;flex:0 0 auto}.tip-card strong{display:block;color:#04a1a9;font-size:19px;margin-bottom:6px}.tip-card span{display:block;color:#3e5269;font-size:15px;line-height:1.45}.scanner-guide{min-width:0;min-height:0;height:100%;padding:clamp(38px,5vh,68px) clamp(38px,5vw,78px) 36px;border:0;border-left:1px solid rgba(0,148,158,.16);border-radius:38px 0 0 38px;display:flex;flex-direction:column;overflow:hidden;background:#ffffffd6;box-shadow:-18px 0 55px #1660690f}.scanner-guide:after{content:"";position:absolute;z-index:0;right:-8%;bottom:-16%;width:76%;height:58%;background:linear-gradient(180deg,#fff0,#eefafb59),url(/assets/question-default.webp) center/cover no-repeat;opacity:.16;-webkit-mask-image:linear-gradient(150deg,transparent 0,#000 42%);mask-image:linear-gradient(150deg,transparent 0,#000 42%);pointer-events:none}.guide-heading,.guide-steps,.manual{position:relative;z-index:2}.guide-heading{display:flex;align-items:center;gap:30px}.guide-hex{width:120px;height:120px;flex:0 0 120px;display:grid;place-items:center;color:#fff;clip-path:polygon(25% 5%,75% 5%,98% 50%,75% 95%,25% 95%,2% 50%);background:linear-gradient(150deg,#08b9bb,#007581);box-shadow:0 16px 35px #008d9738}.guide-icon{width:58px;height:58px}.guide-heading h1{margin:0;font-size:clamp(37px,3.2vw,58px);line-height:1.04;letter-spacing:-.035em;color:var(--ink);font-weight:900}.guide-heading h1 em{font-style:normal;color:var(--sibur)}.guide-steps{display:flex;flex-direction:column;gap:0;margin:clamp(40px,6vh,70px) 0 28px 24px}.guide-step{position:relative;display:grid;grid-template-columns:44px 1fr;gap:22px;align-items:center;min-height:76px;font-size:18px;color:#13263b}.guide-step>.ui-icon{width:35px;height:35px;color:#038f99}.guide-step:not(:last-child):after{content:"";position:absolute;left:17px;top:56px;height:31px;border-left:2px dashed #c7e3e6}.manual{width:100%;height:76px;margin-top:auto;padding:7px 8px 7px 28px;display:flex;align-items:center;border-radius:42px;border:1px solid #c9e3e6;background:#ffffffd9;box-shadow:0 14px 34px #1b5e6714}.manual input{flex:1;min-width:0;height:100%;border:0;outline:0;background:transparent;color:var(--ink);font-size:19px}.manual input::placeholder{color:#8191a4}.manual input::-webkit-inner-spin-button,.manual input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.manual button{width:62px;height:62px;flex:0 0 62px;border:0;border-radius:50%;display:grid;place-items:center;color:#fff;background:linear-gradient(145deg,#06bec0,#008f99);box-shadow:0 12px 26px #00929c3b;transition:transform .18s ease}.manual button:hover{transform:scale(1.05)}.manual button .ui-icon{width:30px;height:30px}.question-app{height:100vh;height:100dvh;min-height:100vh;background:#062b31;overflow:hidden}.question-screen{width:100%;height:100vh;height:100dvh;position:relative;isolation:isolate;overflow:hidden;background:#062b31}.edge-fill{position:absolute;z-index:0;inset:-42px;background-position:center;background-size:cover;background-repeat:no-repeat;filter:blur(30px) saturate(1.18) brightness(.82);transform:scale(1.08);pointer-events:none}.question-media{position:absolute;z-index:1;inset:0;background-position:center;background-size:contain;background-repeat:no-repeat;pointer-events:none}.question-screen:before{content:"";position:absolute;z-index:2;inset:0;background:linear-gradient(180deg,#00202740,#00383f08 42%,#0020277a);pointer-events:none}.question-top{position:absolute;z-index:3;top:28px;left:50%;transform:translate(-50%);width:min(1120px,88%);padding:20px 32px 24px;border:0;border-radius:26px;background:#f9ffffbf;color:var(--ink);text-align:center;box-shadow:0 0 25px 7px #e6fcfc38,0 16px 38px #00353c2e;-webkit-backdrop-filter:blur(2px) saturate(2);backdrop-filter:blur(2px) saturate(2)}.question-top:after{content:"";position:absolute;left:50%;bottom:0;width:90px;height:4px;border-radius:4px;transform:translate(-50%,50%);background:var(--sibur)}.question-title{font-size:clamp(30px,3.2vw,50px);line-height:1.12;margin:0;font-weight:900;letter-spacing:-.025em}.question-error{margin-top:10px;font-size:20px;color:#9d3f38}.question-bottom{position:absolute;z-index:3;left:50%;bottom:50px;transform:translate(-50%);width:min(1000px,86%)}.answers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.answer{min-height:82px;border-radius:21px;padding:15px 20px;border:0;background:#f9ffffb3;color:#0d3038;font-size:21px;font-weight:800;text-align:left;text-shadow:0 1px 0 rgba(255,255,255,.7);box-shadow:0 0 20px 5px #ecfcfc33,0 10px 28px #0030372b;-webkit-backdrop-filter:blur(2px) saturate(2);backdrop-filter:blur(2px) saturate(2);transition:transform .18s ease,box-shadow .22s ease,background .22s ease,opacity .22s ease}.answer:hover:not(:disabled){background:#ffffffdb;transform:translateY(-2px)}.answer:disabled{cursor:default}.answer.correct{background:linear-gradient(135deg,#deffebed,#b7f2d2e6);color:#075137;box-shadow:0 0 22px 6px #aef1cd40,0 15px 38px #1584534d}.answer.wrong{background:linear-gradient(135deg,#ffebe8f0,#ffccc6e6);color:#821c18;box-shadow:0 0 22px 6px #ffccc63b,0 12px 30px #84271f38}.answer.wrong:disabled{opacity:.7}.result-line{min-height:31px;margin-top:10px;font-size:20px;font-weight:900;text-align:center;text-shadow:0 2px 12px rgba(0,0,0,.72)}.result-line.success-text{color:#d9ffe5}.result-line.error-text{color:#ffd7d3}.simple-question-bottom{display:flex;flex-direction:column;align-items:center}.answered-button{min-width:260px;min-height:82px;padding:18px 34px;border:0;border-radius:22px;background:#effffdc2;color:#07505a;font-size:25px;font-weight:900;box-shadow:0 0 22px 6px #defbf93d,0 14px 34px #00343b33;-webkit-backdrop-filter:blur(2px) saturate(2);backdrop-filter:blur(2px) saturate(2)}.answered-button:hover:not(:disabled){transform:translateY(-2px);background:#f6fffee6}.answered-button:disabled{opacity:.9;cursor:default}.correct-pop{animation:correctPop .58s cubic-bezier(.2,.85,.25,1.3)}.wrong-pop{animation:wrongShake .48s ease}.error-pulse:after{content:"";position:absolute;inset:0;z-index:2;pointer-events:none;background:radial-gradient(circle at center,transparent 28%,rgba(255,53,45,.18));animation:errorScreen .5s ease-out both}.answer-feedback{position:absolute;z-index:8;left:50%;top:51%;transform:translate(-50%,-50%) scale(.72);display:flex;flex-direction:column;align-items:center;gap:12px;opacity:0;pointer-events:none;transition:opacity .25s ease,transform .36s cubic-bezier(.18,.9,.3,1.35)}.answer-feedback.show{opacity:1;transform:translate(-50%,-50%) scale(1)}.feedback-burst{width:112px;height:112px;border-radius:50%;display:grid;place-items:center;position:relative}.feedback-burst:before,.feedback-burst:after{content:"";position:absolute;inset:-12px;border-radius:50%;border:3px solid currentColor;opacity:.45;animation:ring 1s ease-out infinite}.feedback-burst:after{inset:-28px;opacity:.2;animation-delay:.15s}.answer-feedback.success{color:#62ef91}.answer-feedback.error{color:#ff6960}.answer-feedback.success .feedback-burst{background:radial-gradient(circle,#29c65d 0 48%,rgba(31,191,83,.35) 49% 67%,transparent 68%);filter:drop-shadow(0 10px 24px rgba(31,207,87,.46))}.answer-feedback.error .feedback-burst{background:radial-gradient(circle,#ed433b 0 48%,rgba(236,67,59,.34) 49% 67%,transparent 68%);filter:drop-shadow(0 10px 24px rgba(238,68,59,.42))}.feedback-icon{font-size:68px;line-height:1;color:#fff;font-weight:700;text-shadow:0 3px 12px rgba(0,0,0,.24)}.feedback-copy{min-width:240px;max-width:min(560px,80vw);text-align:center;padding:13px 24px;border-radius:19px;background:#072228cc;border:1px solid rgba(255,255,255,.18);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);box-shadow:0 16px 38px #0000004d}.feedback-copy strong{display:block;color:#fff;font-size:30px}.feedback-copy span{display:block;color:#e5f1ef;font-size:16px;line-height:1.35;margin-top:3px;overflow-wrap:anywhere}.confetti{position:absolute;inset:-75px -145px;overflow:visible}.confetti i{--a:calc(var(--i) * 20deg);position:absolute;left:50%;top:50%;width:9px;height:18px;border-radius:3px;background:hsl(calc(var(--i)*47) 82% 57%);transform:rotate(var(--a)) translateY(-38px);animation:confettiFly 1.35s cubic-bezier(.2,.65,.25,1) forwards;animation-delay:calc(var(--i)*-12ms)}.image-screen{position:relative;isolation:isolate;width:100%;height:100vh;height:100dvh;overflow:hidden;background:#031d22}.image-screen .edge-fill{filter:blur(34px) saturate(1.22) brightness(.86)}.fullscreen-image{position:absolute;z-index:1;inset:0;width:100%;height:100%;object-fit:contain;object-position:center;background:transparent}.screen-exit,.screen-enter{will-change:opacity,transform,filter,clip-path}.screen-exit{pointer-events:none}.screen-exit-fade{animation:screenFadeOut .56s ease-in forwards}.screen-enter-fade{animation:screenFadeIn .68s ease-out both}.screen-exit-zoom{animation:screenZoomOut .56s cubic-bezier(.55,.05,.75,.45) forwards}.screen-enter-zoom{animation:screenZoomIn .72s cubic-bezier(.18,.82,.28,1) both}.screen-exit-wipe{animation:screenWipeOut .56s cubic-bezier(.72,0,.28,1) forwards}.screen-enter-wipe{animation:screenWipeIn .72s cubic-bezier(.22,.78,.25,1) both}.question-actions{position:absolute;z-index:10;right:max(20px,env(safe-area-inset-right));bottom:max(20px,env(safe-area-inset-bottom));display:flex;flex-wrap:wrap;justify-content:flex-end;gap:12px;max-width:calc(100% - 40px);align-items:flex-end}.question-actions .btn{min-height:58px;padding:15px 22px;font-size:17px;color:#fff;border:0;background:#05262b66;box-shadow:0 12px 34px #00000057,inset 0 1px #ffffff29;-webkit-backdrop-filter:blur(200px) opacity(.01);backdrop-filter:blur(200px) opacity(.01)}.question-actions .btn:hover{background:#07373d94;box-shadow:0 15px 38px #0006,inset 0 1px #fff3}.question-actions .btn:last-child{background:#009ea770;color:#fff;border:0}.question-actions .btn:last-child:hover{background:#009ea7a8}.admin-app{overflow:visible}.admin-app .main{align-items:flex-start;padding:32px clamp(24px,4vw,58px) 54px}.admin{width:min(1480px,100%);display:grid;grid-template-columns:350px minmax(0,1fr);gap:24px;align-items:start;min-height:0}.admin>.panel{background:#ffffffde}.list{position:sticky;top:18px;max-height:calc(100vh - 140px);overflow:auto;padding:24px 18px}.admin-list-head{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:4px 8px 18px}.admin-list-head h2{font-size:31px;margin:9px 0 0;letter-spacing:-.03em}.qr-text-button{font-size:17px;font-weight:950;letter-spacing:.04em}.list-item{display:flex;gap:12px;align-items:center;width:100%;min-width:0;text-align:left;padding:11px;border:0;border-radius:17px;background:transparent;color:#23374b;transition:background .18s ease,transform .18s ease}.list-item:hover{background:#00a6ad12}.list-item.active{background:linear-gradient(135deg,#00a6ad26,#007d8817);color:#076d76}.qid{flex:0 0 44px;width:44px;min-width:44px;height:44px;display:grid;place-items:center;border-radius:14px;background:#e7f6f7;color:#087984;font-weight:900}.list-item.active .qid{background:linear-gradient(145deg,#08b7ba,#00838e);color:#fff;box-shadow:0 8px 18px #00919a33}.ellipsis{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:650}#editor>h2{font-size:32px;letter-spacing:-.03em;color:var(--ink)}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.field{display:flex;flex-direction:column;gap:9px}.field.full{grid-column:1/-1}.field[hidden]{display:none}.field label,.section-label{font-weight:800;color:#1a3348}.field input,.field textarea,.field select{width:100%;border:1px solid #cfe2e6;border-radius:16px;background:#f8fdfdf2;color:#14293d;padding:14px 16px;min-height:52px;outline:0;transition:border .18s ease,box-shadow .18s ease,background .18s ease}.field input:focus,.field textarea:focus,.field select:focus{border-color:#04a7ad;background:#fff;box-shadow:0 0 0 4px #00a6ad1a}.field input:disabled{opacity:.6;cursor:wait}.field select option{color:#111}.field textarea{min-height:112px;resize:vertical;line-height:1.45}.answer-admin-list{padding:20px;border:1px solid #d5e8ea;border-radius:22px;background:#eff9fab3}.answer-admin-row{display:grid;gap:7px;margin-top:13px}.answer-edit{display:grid;grid-template-columns:52px 1fr;gap:10px;align-items:center}.answer-edit input[type=radio]{width:22px;min-height:22px;margin:auto;accent-color:#00a6ad;box-shadow:none}.field-help{margin:0;color:#708497;font-size:14px;line-height:1.45}.upload-help:empty{display:none}.upload-help.uploading{display:block;color:#078b94;font-weight:800}.upload-help.uploading:before{content:"↻ ";display:inline-block;animation:uploadSpin .8s linear infinite}.upload-layout{display:grid;grid-template-columns:minmax(270px,1fr) minmax(220px,.7fr);gap:14px}.upload-input{position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;padding:0!important;border:0!important}.upload-zone{min-height:176px;padding:25px;border:2px dashed #a8d8dc;border-radius:22px;display:flex!important;align-items:center;justify-content:center;gap:18px;text-align:left;background:linear-gradient(145deg,#f4fcfcf5,#e8f8f9cc);color:#184155;cursor:pointer;transition:border-color .2s ease,background .2s ease,transform .2s ease,box-shadow .2s ease}.upload-zone:hover,.upload-zone.is-dragover{border-color:#00a6ad;background:linear-gradient(145deg,#f4ffff,#dff7f8);transform:translateY(-2px);box-shadow:0 15px 34px #0089921f}.upload-zone.is-uploading{pointer-events:none;opacity:.68}.upload-zone-icon{width:66px;height:66px;flex:0 0 66px;border-radius:20px;display:grid;place-items:center;color:#fff;background:linear-gradient(145deg,#08b9bb,#007e89);box-shadow:0 12px 28px #00919a33}.upload-zone-icon .ui-icon{width:31px;height:31px}.upload-zone-copy{display:flex;flex-direction:column;gap:7px}.upload-zone-copy strong{font-size:17px;color:#12364a}.upload-zone-copy small{font-size:14px;line-height:1.4;color:#718396;font-weight:500}.preview-bg{height:176px;border-radius:22px;background-size:cover;background-repeat:no-repeat;background-position:center;border:1px solid #cfe3e6;display:grid;place-items:end start;color:#fff;background-color:#e9f5f6;overflow:hidden;box-shadow:inset 0 0 0 1px #ffffff73}.contain-preview{background-size:contain}.preview-bg span{margin:12px;padding:8px 12px;border-radius:11px;background:#052e34b8;font-weight:800;font-size:13px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.compact-actions{margin-top:3px}.autosave-status{padding:13px 17px;border-radius:15px;font-weight:800;text-align:center;background:#f1f8f9;transition:background .2s ease,color .2s ease}.autosave-status.saved{color:#16805b;background:#e9f8f1}.autosave-status.pending{color:#987222;background:#fff7df}.autosave-status.saving{color:#087d86;background:#e6f7f8}.autosave-status.error{color:#b04b43;background:#fff0ef}.toast{position:fixed;right:26px;bottom:24px;z-index:200;background:#fff;color:#163b3d;padding:15px 19px;border:1px solid #d4e7e9;border-radius:16px;font-weight:800;box-shadow:0 14px 40px #0f4c542e}.login{width:min(560px,100%);padding:46px}.login h2{font-size:38px;margin:15px 0 10px;letter-spacing:-.04em}.login>p{color:#62778b;line-height:1.5;margin:0 0 26px}.login-mark{width:72px;height:72px;border-radius:23px;display:grid;place-items:center;color:#fff;background:linear-gradient(145deg,#08b9bb,#007c88);margin-bottom:20px}.login-mark .ui-icon{width:34px;height:34px}.qr-dialog{width:min(700px,calc(100% - 36px));border:0;padding:0;border-radius:30px;background:#f8fdfd;color:var(--ink);box-shadow:0 32px 100px #09404847}.qr-dialog::backdrop{background:#04222780;-webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px)}.qr-dialog-card{padding:32px}.qr-dialog-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:22px}.qr-dialog-head h2{font-size:31px;margin:0 0 6px}.qr-dialog-head p{margin:0;color:#667b8e;line-height:1.45}.qr-close{width:46px;height:46px;flex:0 0 46px;border:1px solid #cee3e6;border-radius:15px;background:#fff;color:#087e88;font-size:29px;line-height:1}.qr-mode{display:grid;grid-template-columns:28px 1fr;gap:14px;align-items:start;padding:18px;border:1px solid #d1e5e7;border-radius:19px;background:#fff;margin:12px 0;cursor:pointer}.qr-mode:has(input:checked){border-color:#00a6ad;background:#ebf9fa;box-shadow:0 0 0 3px #00a6ad14}.qr-mode input{width:21px;height:21px;margin-top:3px;accent-color:#00a6ad}.qr-mode strong{display:block;font-size:19px}.qr-mode small{display:block;margin-top:5px;color:#6b7f91;font-size:15px;line-height:1.4}.qr-dialog-actions{display:flex;justify-content:flex-end;gap:12px;flex-wrap:wrap;margin-top:24px}@keyframes orbitSpin{to{transform:rotate(360deg)}}@keyframes uploadSpin{to{transform:rotate(360deg)}}@keyframes correctPop{0%{transform:scale(1)}40%{transform:scale(1.055)}70%{transform:scale(.985)}to{transform:scale(1)}}@keyframes wrongShake{0%,to{transform:translate(0)}20%{transform:translate(-11px)}40%{transform:translate(9px)}60%{transform:translate(-6px)}80%{transform:translate(4px)}}@keyframes errorScreen{0%{opacity:0}30%{opacity:1}to{opacity:0}}@keyframes ring{0%{transform:scale(.72);opacity:.65}to{transform:scale(1.35);opacity:0}}@keyframes confettiFly{0%{opacity:1;transform:rotate(var(--a)) translateY(-35px) rotate(0)}to{opacity:0;transform:rotate(var(--a)) translateY(-185px) rotate(300deg)}}@keyframes screenFadeOut{to{opacity:0;filter:blur(10px)}}@keyframes screenFadeIn{0%{opacity:0;filter:blur(10px)}to{opacity:1;filter:blur(0)}}@keyframes screenZoomOut{to{opacity:0;transform:scale(1.08);filter:blur(6px)}}@keyframes screenZoomIn{0%{opacity:0;transform:scale(.92);filter:blur(7px)}to{opacity:1;transform:scale(1);filter:blur(0)}}@keyframes screenWipeOut{to{clip-path:inset(0 0 0 100%);opacity:.2}}@keyframes screenWipeIn{0%{clip-path:inset(0 100% 0 0);filter:saturate(.55)}to{clip-path:inset(0);filter:saturate(1)}}@media(max-width:1200px){.topbar{padding-inline:28px}.hero{width:calc(100% - 50px);grid-template-columns:minmax(360px,.82fr) minmax(500px,1.18fr);gap:26px}.hero h1{font-size:clamp(62px,7.1vw,82px)}.home-dashboard{padding:28px 26px 24px}.home-dashboard-head{gap:18px;padding-bottom:22px}.home-dashboard-head>img{width:88px;height:88px}.home-dashboard-head strong{font-size:45px}.home-dashboard-head p{font-size:16px}.home-features{margin:22px 0 20px}.home-feature{padding:0 8px}.home-feature>.ui-icon{width:40px;height:40px}.home-feature strong{font-size:15px}.home-feature span{font-size:13px}.stat{min-height:130px;padding:18px}.stat-ring{width:78px;height:78px;flex-basis:78px}.stat-ring>.ui-icon{width:34px;height:34px}.scan-app .main{padding:18px 24px 24px}.scanner-visual{padding:24px 28px 22px}.scanner-guide{padding:35px 38px 28px}.guide-hex{width:96px;height:96px;flex-basis:96px}.guide-icon{width:48px;height:48px}.guide-heading{gap:22px}.guide-heading h1{font-size:40px}.guide-steps{margin:34px 0 20px 12px}.guide-step{min-height:67px;font-size:16px}.guide-step:not(:last-child):after{top:50px;height:26px}.manual{height:68px}.manual button{width:54px;height:54px;flex-basis:54px}.tip-card{min-height:88px;padding:14px 19px}.admin{grid-template-columns:310px minmax(0,1fr)}}@media(max-width:920px){.brand-copy small{display:none}.brand-mark{width:54px;height:54px}.topbar{height:76px;flex-basis:76px}.app:not(.question-app):before{inset:76px 0 0}.home-app{height:auto;min-height:100vh;overflow:auto}.home-app .main{padding:35px 24px 60px;overflow:visible}.hero{width:100%;grid-template-columns:1fr}.home-dashboard{min-height:460px;transform:none}.admin{grid-template-columns:1fr}.list{position:relative;top:auto;max-height:290px}.form-grid{grid-template-columns:1fr}.field.full{grid-column:1}.upload-layout{grid-template-columns:1fr}.question-bottom{left:50%;bottom:50px;width:92%}.question-actions{right:20px;bottom:20px}.question-top{width:92%}.answer{min-height:78px}.question-title{font-size:28px}}@media(orientation:portrait){.app:after{content:"Поверните планшет горизонтально";position:fixed;inset:0;z-index:1000;background:linear-gradient(145deg,#007f89,#00aab0);color:#fff;display:grid;place-items:center;text-align:center;padding:40px;font-size:34px;font-weight:900}}@media(prefers-reduced-motion:reduce){.answer,.answer-feedback{transition:none}.correct-pop,.wrong-pop,.error-pulse:after,.feedback-burst:before,.feedback-burst:after,.confetti i,.screen-exit,.screen-enter,.orbit-two{animation:none!important}}
