.result-panel{--result-side-padding:34px;min-height:var(--ui-panel-min-height);padding:32px 34px 17px}.result-copy{text-align:center}.result-copy h1{margin:0;font-family:Benzin,Arial Black,sans-serif;font-size:26px;line-height:31px}.result-copy p{color:var(--ui-text-muted);margin:4px -10px 0;font-size:16px;line-height:20px}.result-screen .result-photo{width:calc(100% - 2 * var(--result-side-padding) - 24px);border-radius:24px;height:100%;margin:0 auto}.result-photo-frame{height:289px;margin:22px calc(-1 * var(--result-side-padding)) 0;position:relative}.result-photo__content{position:absolute;inset:0;transform:scale(1.06)}.result-photo__confidence{z-index:6;text-align:right;color:#fff;white-space:nowrap;background:#0818118f;border-radius:999px;padding:7px 10px;font-size:14px;line-height:16px;position:absolute;top:12px;right:40px}.result-screen .result-actions{gap:var(--ui-action-gap);grid-template-columns:1fr;display:grid}.result-screen .result-actions .button{height:var(--ui-cta-height);gap:8px;font-size:16px}.result-share-icon{border:1px solid #ffffff3d;border-radius:50%;place-items:center;width:40px;height:40px;display:grid}.result-share-icon img{width:18px;height:18px}.result-screen .result-retry{color:#00a633;background:0 0;border:0;font-weight:400}@media (width<=370px){.result-panel{--result-side-padding:20px;padding-left:20px;padding-right:20px}.result-copy h1{font-size:24px}.result-copy p{font-size:14px}}.result-screen .result-photo__image{object-fit:cover}.result-copy h1{font-size:24px}.result-screen .result-actions .button--primary{background:linear-gradient(#35ab28,#079f2a);font-weight:500}.result-retry img{width:18px;height:18px}.result-screen .result-photo{background:0 0;overflow:visible;transform:rotate(-3.5deg);box-shadow:0 -32px 32px #c3b7a429}.result-photo__mask{border-radius:inherit;background:#eee9d9;position:absolute;inset:0;overflow:hidden}.result-screen .result-photo__marker{pointer-events:none;width:100%;height:100%;position:absolute;inset:0;overflow:visible;transform:scale(1.06)}.result-screen .result-photo__marker path{fill:none;stroke:#8dda2d;stroke-width:5px;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}.result-screen .result-photo__marker .result-photo__accents{stroke-width:4px}.result-screen .result-photo__marker .result-photo__inner{stroke-width:2px;opacity:.65}.analysis-screen .analysis-card{min-height:var(--ui-panel-min-height);flex-direction:column;align-items:center;padding:32px;display:flex;position:relative}.analysis-screen .flow-copy h1{white-space:nowrap;font-size:24px;line-height:31px}.analysis-screen .flow-copy p{color:var(--ui-text-muted);white-space:nowrap;margin:4px 0 0;font-size:16px;line-height:20px}.analysis-screen .analysis-progress{flex:0 0 170px;place-items:center;width:170px;height:170px;margin:24px auto 32px;display:grid;position:relative;container-type:inline-size}.analysis-screen .analysis-progress svg{width:100%;height:100%;position:absolute;inset:0}.analysis-screen .analysis-progress-arc{transition:stroke-dashoffset .55s}.analysis-screen .analysis-progress strong{color:var(--ui-green);font-size:clamp(14px,22cqw,28px);line-height:1}.analysis-screen .analysis-steps{width:100%;box-shadow:none;background:#e9e0d0;border-radius:24px;gap:15px;margin:0;padding:28px 40px;display:grid}.analysis-screen .analysis-steps li{color:#436859;opacity:1;white-space:nowrap;align-items:center;gap:8px;min-height:24px;font-size:16px;font-weight:400;line-height:24px;display:flex;transform:none}.analysis-screen .analysis-step-icon{flex:0 0 24px;width:24px;height:24px}.analysis-screen .is-current .analysis-step-icon{animation:1s linear infinite analysis-step-spin}.analysis-screen .analysis-error{box-shadow:none}@keyframes analysis-step-spin{to{transform:rotate(360deg)}}@media (width<=370px){.analysis-screen .analysis-card{padding-left:20px;padding-right:20px}.analysis-screen .flow-copy h1{font-size:22px}.analysis-screen .flow-copy p{font-size:14px}.analysis-screen .analysis-steps{padding-left:24px;padding-right:24px}.analysis-screen .analysis-steps li{font-size:14px}}@media (prefers-reduced-motion:reduce){.analysis-screen .analysis-progress-arc{transition:none}.analysis-screen .is-current .analysis-step-icon{animation:none}}.analysis-screen .flow-copy .analysis-title-initial{font-size:clamp(17px,5.3vw,21px)}.analysis-progress strong{font-family:Benzin,Arial Black,sans-serif}.analysis-steps{list-style:none}.analysis-steps li{transition:color .24s,transform .24s,opacity .24s}.camera-flash{right:0}.camera-control:disabled{cursor:default}.camera-preview{aspect-ratio:393/414;isolation:isolate;background:#222b22;width:100%;position:relative;overflow:hidden}.camera-preview video{object-fit:cover;width:100%;height:100%;display:block}.camera-preview:after{content:"";pointer-events:none;background:linear-gradient(#0000002e,#0000000f 65%,#0000);height:100px;position:absolute;inset:0 0 auto}.camera-instruction{z-index:1;color:#fff;text-align:center;background:#0818113d;border-radius:999px;width:max-content;max-width:calc(100% - 60px);margin:0;padding:3px 12px;font-size:14px;font-weight:500;line-height:18px;position:absolute;top:43px;left:50%;transform:translate(-50%)}.camera-guide{z-index:1;position:absolute}.camera-guide-0{top:30px;left:30px}.camera-guide-1{top:30px;right:30px;transform:rotate(90deg)}.camera-guide-2{bottom:30px;right:30px;transform:rotate(180deg)}.camera-guide-3{bottom:30px;left:30px;transform:rotate(270deg)}.camera-error{z-index:2;color:#fff;text-align:center;margin:0;font-size:14px;line-height:20px;position:absolute;top:45%;left:48px;right:48px}.camera-shutter-row{justify-content:center;align-items:flex-end;height:104px;display:flex}.camera-shutter{border:3px solid var(--ui-green);background:var(--ui-green);width:80px;height:80px;box-shadow:inset 0 0 0 4px var(--ui-background);cursor:pointer;border-radius:50%;padding:0}.camera-shutter:disabled{cursor:default}.camera-shutter:active:not(:disabled){transform:scale(.96)}.camera-control:focus-visible,.camera-shutter:focus-visible{outline-offset:3px;outline:2px solid #042d1a}.camera-screen .camera-control:disabled,.camera-screen .camera-shutter:disabled{opacity:1}.share-panel{box-sizing:border-box;width:min(393px,100vw);max-width:100vw;max-height:calc(var(--telegram-viewport-height,100dvh) - var(--safe-top,16px));padding:32px 32px max(24px, var(--safe-bottom,24px));color:var(--ui-text,#042d1a);overscroll-behavior:contain;background:#f4ebdd;border:0;border-radius:32px 32px 0 0;margin:auto auto 0;box-shadow:0 -32px 32px #c3b7a43d}.share-panel::backdrop{background:#342f2580}.share-panel section{flex-direction:column;align-items:stretch;display:flex}.share-panel__heading{text-align:center}.share-panel h2{margin:0;font:700 24px/36px Benzin,sans-serif}.share-panel p{text-align:center;margin:0;font:14px/1.4 -apple-system,BlinkMacSystemFont,sans-serif}.share-panel .share-panel__subtitle{color:var(--ui-text-muted);white-space:nowrap;font-size:16px;line-height:19px}.share-panel__preview{box-sizing:border-box;background:#e9e0d1;border-radius:24px;align-items:flex-start;gap:17px;width:100%;min-height:158px;margin-top:24px;padding:16px;display:flex}.share-panel__photo{color:#fff;text-align:center;background:#081811;border-radius:8px;flex:0 0 104px;place-items:center;height:104px;font-size:12px;display:grid;overflow:hidden}.share-panel__photo img{object-fit:contain;width:104px;height:104px;display:block}.share-panel__copy{color:#446153;flex-direction:column;gap:18px;padding-top:8px;font:500 16px/19px -apple-system,BlinkMacSystemFont,sans-serif;display:flex}.share-panel__copy strong{font-weight:700}.share-panel__url{color:#189140}.share-panel button{cursor:pointer;font:inherit;color:inherit;border:0}.share-panel button:focus-visible{outline-offset:4px;outline:3px solid #00ab31}.share-panel button:disabled{opacity:.45;cursor:wait}.share-panel__actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px 0;margin:32px 4px 0;display:grid}.share-panel__actions button{background:0 0;flex-direction:column;align-items:center;gap:8px;min-height:81px;padding:0;font:500 14px/17px -apple-system,BlinkMacSystemFont,sans-serif;display:flex}.share-panel__icon{place-items:center;width:56px;height:56px;display:grid}.share-panel__icon img{object-fit:contain;display:block}.share-panel__icon--shareToStories{background:radial-gradient(at 30% 110%,#ffdb55 0%,#ffcb52 15%,#0000 55%),linear-gradient(25deg,#ef923b 5%,#ed3465 40%,#ed28be 68%,#7024ff 100%);border-radius:50%;overflow:hidden}.share-panel__icon--shareToStories img{width:24px;height:24px}.share-panel .share-panel__cancel{color:#189140;background:#e9e0d1;border-radius:512px;align-self:center;width:min(100%,324px);min-height:56px;margin-top:32px;font:500 16px/20px -apple-system,BlinkMacSystemFont,sans-serif}@media (width<=370px){.share-panel{padding-inline:20px}.share-panel .share-panel__subtitle{font-size:14px}.share-panel__preview{gap:12px;padding-inline:12px}.share-panel__copy{font-size:14px;line-height:18px}}@media (height<=650px){.share-panel{padding-top:20px}.share-panel__actions{gap:16px 0;margin-top:20px}.share-panel .share-panel__cancel{margin-top:20px}}.share-panel__icon--shareToThreads{background:#000;border-radius:50%}.share-panel__icon--shareToThreads img{width:30px;height:30px}.share-panel .share-panel__cancel:focus,.share-panel .share-panel__cancel:focus-visible{box-shadow:none;outline:none}@font-face{font-family:Benzin;src:local(Benzin Bold),local(Benzin-Bold),url(/fonts/benzin-bold.ttf)format("truetype");font-style:normal;font-weight:700;font-display:swap}:root{color:var(--ui-text);background:var(--ui-background);font-synthesis:none;text-rendering:geometricprecision;--safe-top:max(env(safe-area-inset-top,0px), var(--tg-safe-area-inset-top,0px), var(--tg-content-safe-area-inset-top,0px), var(--telegram-safe-top,0px));--safe-bottom:max(env(safe-area-inset-bottom,0px), var(--tg-safe-area-inset-bottom,0px), var(--tg-content-safe-area-inset-bottom,0px), var(--telegram-safe-bottom,0px));font-family:SF Pro Display,-apple-system,BlinkMacSystemFont,sans-serif}*{box-sizing:border-box}html,body,#root{width:100%;height:100%;min-height:0;margin:0}html,body{overflow:hidden}body{background:var(--ui-background);overscroll-behavior:none;touch-action:manipulation}button,input{font:inherit}button{-webkit-tap-highlight-color:transparent}.start-screen{width:100%;height:100%;min-height:0;padding:calc(var(--safe-top) + var(--ui-header-offset)) var(--ui-page-padding) calc(var(--ui-section-gap) + var(--safe-bottom));background:var(--ui-background);grid-template-rows:24px minmax(0,1fr) auto;row-gap:0;display:grid;position:relative;overflow:hidden}.topbar{z-index:10;justify-content:center;align-items:center;height:24px;display:flex;position:relative}.logotype{width:var(--ui-logo-width);height:var(--ui-logo-height);display:block}.ai-badge{color:#5d8875;white-space:nowrap;background:#eaefd5;border-radius:512px;justify-content:center;align-items:center;gap:4px;height:24px;padding:4px 8px;font-size:12px;font-weight:500;line-height:16px;display:flex}.ai-badge img{width:12px;height:12px;display:block}.hero-media{min-height:0;margin-top:clamp(8px,2.3dvh,20px);position:relative;overflow:visible}.hero-artwork{z-index:2;width:345px;height:404px;transform:translateX(-50%) scale(var(--hero-scale,1));transform-origin:50% 100%;position:absolute;bottom:10px;left:50%;overflow:visible}.doctor-layer{z-index:1;transform-origin:50%;width:345px;height:313px;position:absolute;inset:0 auto auto 0;overflow:hidden;transform:translateY(-1px)scale(1.044)}.doctor-fallback{object-fit:contain;opacity:1;width:345px;height:313px;transition:opacity .12s linear;display:block;position:absolute;inset:0}.doctor-fallback.is-hidden{opacity:0}.doctor-video{object-fit:contain;opacity:1;background:var(--ui-background);pointer-events:none;width:100%;height:100%;transition:opacity .12s linear;display:block;position:absolute;inset:0}.doctor-video.is-ready{opacity:1}.watermelon,.selection-ring{pointer-events:none;-webkit-user-select:none;user-select:none;display:block;position:absolute}.watermelon{object-fit:contain}.watermelon--left{z-index:2;width:145px;height:154px;top:232px;left:0}.watermelon--right{z-index:2;width:134px;height:157px;top:222px;left:207px;transform:rotate(4.15deg)}.watermelon--selected{z-index:3;width:177px;height:186px;top:207px;left:83px}.selection-ring{z-index:4;object-fit:fill;width:170px;height:198px;top:213px;left:91px}.bottom-panel{z-index:7;flex-direction:column;gap:10px;width:100%;display:flex;position:relative}.hero-copy{text-align:center;width:100%;padding:12px 0 0}.hero-copy h1{color:var(--ui-text);letter-spacing:0;margin:0;font-family:Benzin,Arial Black,sans-serif;font-size:clamp(29px,8.65vw,34px);font-weight:700;line-height:1.02}.hero-copy h1 span{white-space:nowrap;display:block}.hero-copy p{color:var(--ui-text-muted);margin:6px 0 0;font-size:16px;font-weight:500;line-height:19px}.actions{flex-direction:column;gap:8px;display:flex}.button{width:100%;height:var(--ui-cta-height);cursor:pointer;border:0;border-radius:512px;justify-content:center;align-items:center;font-size:16px;font-weight:500;line-height:normal;display:flex;position:relative}.button--primary{color:#fff;background:linear-gradient(#41a82d 0%,#0d9a2e 100%);gap:8px}.button--secondary{color:#189140;background:0 0;gap:2px}.button__camera,.button__gallery{border-radius:50%;flex:0 0 40px;place-items:center;width:40px;height:40px;display:grid}.button__camera{border:1px solid #51ae44}.button__camera img{width:20px;height:18px;display:block}.button__gallery img{width:18px;height:18px;display:block}.button:focus-visible{outline:3px solid var(--ui-text);outline-offset:3px}.button:active{transform:translateY(1px)}.button:disabled{cursor:wait;opacity:.72;transform:none}.placeholder-notice{z-index:12;left:50%;bottom:calc(172px + var(--safe-bottom));color:#fff;opacity:0;pointer-events:none;background:#042d1aeb;border-radius:999px;width:max-content;max-width:340px;margin:0;padding:10px 16px;font-size:13px;font-weight:600;transition:opacity .16s,transform .16s;position:absolute;transform:translate(-50%,8px)}.placeholder-notice.is-visible{opacity:1;transform:translate(-50%)}.flow-copy{text-align:center}.flow-copy h1{margin:0;font-family:Benzin,Arial Black,sans-serif;font-size:clamp(21px,6vw,26px);line-height:1.08}.flow-copy p{color:var(--ui-text-muted);margin:7px 0 0;font-size:14px;font-weight:500}.analysis-error{z-index:5;inset:auto 16px calc(20px + var(--safe-bottom));text-align:center;background:#fffffff5;border-radius:18px;padding:14px;position:absolute;box-shadow:0 8px 26px #042d1a1f}.analysis-error p{color:#174b2e;margin:0 0 10px;font-size:14px;font-weight:600}.analysis-error button{color:#fff;background:#189140;border:0;border-radius:999px;min-height:40px;padding:0 18px;font-weight:600}.demo-label{color:#5d8875;background:#eaefd5;border-radius:999px;padding:5px 9px;font-size:11px;font-weight:700;position:absolute;right:0}.result-photo{background:#eee9d9;border-radius:24px;min-height:0;position:relative;overflow:hidden}.result-photo__image{object-fit:contain;width:100%;height:100%;display:block}.result-photo__selection{z-index:2;pointer-events:none;border:4px solid #8dda2d;border-radius:50%;animation:1.8s ease-in-out infinite result-selection;position:absolute;box-shadow:0 0 0 2px #ffffffd1,0 5px 16px #25932b6b}.result-photo__contour{z-index:2;pointer-events:none;filter:drop-shadow(0 5px 8px #25932b61);width:100%;height:100%;animation:1.8s ease-in-out infinite result-selection;position:absolute;inset:0;overflow:visible}.result-photo__contour polygon{fill:#8dda2d29;stroke:#8dda2d;stroke-width:5px;stroke-linejoin:round;vector-effect:non-scaling-stroke;paint-order:stroke}.result-photo__anchor{z-index:4;pointer-events:none;background:#189140;border:4px solid #fff;border-radius:50%;width:18px;height:18px;position:absolute;box-shadow:0 3px 10px #042d1a59}.result-photo__selection-label{z-index:3;color:#fff;letter-spacing:.03em;pointer-events:none;background:#189140;border:2px solid #ffffffe6;border-radius:999px;place-items:center;width:86px;height:27px;font-size:10px;font-weight:800;display:grid;position:absolute;box-shadow:0 4px 12px #042d1a42}.result-card{background:#fff;border-radius:20px;padding:14px;box-shadow:0 8px 26px #042d1a12}.result-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.result-heading h1{margin:0;font-family:Benzin,Arial Black,sans-serif;font-size:clamp(26px,8vw,34px);line-height:1}.confidence{color:#5d8875;background:#edf2d7;border-radius:13px;flex-direction:column;align-items:center;min-width:82px;padding:7px 10px;display:flex}.confidence span{font-size:10px;font-weight:600}.confidence strong{color:#4da82c;font-size:20px;line-height:1.05}.result-reasons{grid-template-columns:repeat(3,1fr);gap:8px;margin:12px 0 0;padding:0;list-style:none;display:grid}.result-reasons li{color:#174b2e;align-items:flex-start;gap:5px;min-width:0;font-size:11px;font-weight:600;line-height:1.2;display:flex}.result-reasons img{flex:0 0 14px;width:14px;height:14px}.result-actions{grid-template-columns:1fr 1fr;gap:8px;display:grid}.result-actions .button{height:48px;font-size:14px}.button--outline{color:#189140;background:0 0;border:1px solid #39a14a}.result-notice{bottom:calc(84px + var(--safe-bottom))}.unsupported-photo{background:#eee9d9;border-radius:24px;min-height:0;overflow:hidden}.unsupported-photo img{object-fit:contain;width:100%;height:100%;display:block}.unsupported-card{text-align:center;background:#fff;border-radius:20px;padding:18px 16px;box-shadow:0 8px 26px #042d1a12}.unsupported-icon{font-size:30px;line-height:1;display:block}.unsupported-card h1{margin:8px 0 6px;font-family:Benzin,Arial Black,sans-serif;font-size:clamp(24px,7vw,31px);line-height:1}.unsupported-card p{max-width:330px;color:var(--ui-text-muted);margin:0 auto;font-size:13px;line-height:1.35}@keyframes doctor-float{0%,to{transform:translate(-50%)translateY(0)}50%{transform:translate(-50%)translateY(-6px)}}@keyframes analysis-ring{0%,to{opacity:.82;transform:scale(.96)rotate(-1deg)}50%{opacity:1;transform:scale(1.02)rotate(2deg)}}@keyframes result-selection{0%,to{transform:scale(.985)}50%{transform:scale(1.015)}}.visually-hidden{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}.analysis-illustration img,.analysis-progress>img,.result-photo__selection,.result-photo__contour{animation:none}}:root{--ui-background:#fcf6e6;--ui-card-background:#f3eadc;--ui-preview-background:#222b22;--ui-app-width:393px;--ui-page-padding:16px;--ui-header-height:40px;--ui-header-offset:8px;--ui-logo-width:148px;--ui-logo-height:21px;--ui-back-size:40px;--ui-control-background:#f3eadb;--ui-character-width:230px;--ui-character-height:200px;--ui-character-space:212px;--ui-character-overlap:7px;--ui-card-radius:36px;--ui-card-shadow:0 -32px 32px 0 #c3b7a452;--ui-cta-width:324px;--ui-cta-height:56px;--ui-cta-radius:512px;--ui-cta-padding:18px;--ui-section-gap:24px;--ui-action-gap:12px;--ui-workspace-min-height:360px;--ui-preview-height:414px;--ui-result-photo-height:289px;--ui-text:#042d1a;--ui-text-muted:#6b7179;--ui-green:#00ab31}.app-shell{width:min(100%, var(--ui-app-width));height:var(--telegram-viewport-height,100dvh);background:var(--ui-background);min-height:0;color:var(--ui-text);margin-inline:auto;overflow:hidden auto;container-type:size}.app-shell>.flow-screen{grid-template-columns:minmax(0,1fr);grid-template-rows:var(--ui-header-height) minmax(112px, var(--ui-character-space)) minmax(var(--ui-workspace-min-height), 1fr);width:100%;height:100%;min-height:calc(var(--safe-top) + var(--ui-header-offset) + var(--ui-header-height) + 112px + var(--ui-workspace-min-height) + var(--safe-bottom));padding:calc(var(--safe-top) + var(--ui-header-offset)) 0 var(--safe-bottom);background:var(--ui-background);align-content:start;gap:0;display:grid;position:relative;overflow:visible}.ui-header{z-index:8;height:var(--ui-header-height);margin-inline:var(--ui-page-padding);justify-content:center;align-items:center;display:flex;position:relative}.ui-header .logotype,.start-screen .logotype{width:var(--ui-logo-width);height:var(--ui-logo-height);display:block;transform:none}.ui-header-back,.ui-header .camera-control{width:var(--ui-back-size);height:var(--ui-back-size);background:var(--ui-control-background);cursor:pointer;border:0;border-radius:50%;place-items:center;padding:0;display:grid;position:absolute;top:0}.ui-header-back{left:0}.ui-header-back img,.ui-header .camera-control img{display:block}.ui-header-back:focus-visible{outline:2px solid var(--ui-text);outline-offset:3px}.ui-character{z-index:5;width:100%;min-width:0;position:relative}.ui-character img{left:50%;bottom:calc(-1 * var(--ui-character-overlap));width:var(--ui-character-width);height:var(--ui-character-height);object-fit:contain;object-position:bottom;position:absolute;transform:translate(-50%)}.ui-card{border-radius:var(--ui-card-radius) var(--ui-card-radius) 0 0;background:var(--ui-card-background);width:100%;min-width:0;min-height:0;box-shadow:var(--ui-card-shadow);position:relative}.ui-card--preview{border-radius:var(--ui-card-radius);background:var(--ui-preview-background)}.camera-workspace{min-height:0;padding-bottom:var(--ui-section-gap);grid-template-rows:minmax(0,1fr) 104px;display:grid}.camera-workspace .camera-preview{height:100%;min-height:0;max-height:var(--ui-preview-height);aspect-ratio:auto;align-self:start}.camera-shutter-row{position:relative}.camera-flash--bottom{display:none}.camera-control{width:var(--ui-back-size);height:var(--ui-back-size);background:var(--ui-control-background);cursor:pointer;border:0;border-radius:50%;place-items:center;padding:0}.start-screen{grid-template-rows:var(--ui-header-height) minmax(0, 1fr) auto;height:100%;min-height:600px}.start-screen .ui-header{margin-inline:0}.start-screen .hero-media{margin-top:0}.start-screen .actions{gap:var(--ui-action-gap)}.start-screen .hero-copy{padding-top:0}.start-screen .hero-artwork{bottom:10px}:root.telegram-mobile{--ui-header-offset:4px}.start-screen .ai-badge{display:none}.start-screen .topbar{justify-content:center}.start-screen .button--primary,.flow-screen .button--primary,.flow-screen .analysis-error button{width:min(var(--ui-cta-width), calc(100cqw - 2 * var(--ui-page-padding)));height:var(--ui-cta-height);min-height:var(--ui-cta-height);border-radius:var(--ui-cta-radius);padding-inline:var(--ui-cta-padding);place-self:center;margin-inline:auto}.start-screen .button--secondary,.result-screen .result-retry,.error-actions .button--outline{height:var(--ui-cta-height);text-align:center;justify-content:center;margin-inline:auto;font-size:16px}.result-screen .result-actions,.error-actions{gap:var(--ui-action-gap)}.error-content{padding:32px var(--ui-page-padding) var(--ui-section-gap)}.error-content .unsupported-photo{height:240px}.error-content .unsupported-card{box-shadow:none;background:0 0}.error-actions{justify-items:center;display:grid}.error-actions .button--outline{width:min(var(--ui-cta-width), 100%)}.result-screen .result-actions{margin-inline:calc(-1 * var(--result-side-padding))}.analysis-error{padding-inline:0}.analysis-error p{padding-inline:14px}.result-screen .result-panel{min-height:0;padding-bottom:var(--ui-section-gap);grid-template-rows:auto minmax(0,1fr) auto;row-gap:22px;display:grid}.result-screen .result-photo-frame{height:100%;max-height:var(--ui-result-photo-height);align-self:start;min-height:0;margin-top:0}.result-screen .result-actions{z-index:7;position:relative}.analysis-screen .analysis-card{grid-template-rows:auto minmax(100px,1fr) auto;justify-items:center;min-height:0;padding-bottom:32px;display:grid}.analysis-screen .analysis-progress{aspect-ratio:1;width:auto;max-width:170px;height:min(170px,100% - 24px);margin:12px auto}.analysis-screen .analysis-steps{padding:28px 40px}@container (height<=780px){.analysis-screen .analysis-card{padding:20px 24px}.analysis-screen .analysis-steps{gap:10px;padding:16px 24px}.result-screen .result-panel{row-gap:14px;padding-top:20px}}@container (width<=370px){.analysis-screen .analysis-steps{padding-inline:16px}.analysis-screen .flow-copy p{white-space:normal}}.app-shell>.analysis-screen,.app-shell>.result-screen{background-image:linear-gradient(var(--ui-card-background), var(--ui-card-background));background-size:100% var(--safe-bottom);background-position:bottom;background-repeat:no-repeat}.unsupported-screen .result-panel{row-gap:12px}.unsupported-screen .result-actions .button--primary{background:linear-gradient(#41a82d 0%,#0d9a2e 100%)}@container (height<=780px){.unsupported-screen .result-panel{row-gap:4px}}.unsupported-screen .result-actions .button--secondary{gap:2px}
