/* Native scrolling remains keyboard/touch accessible; only the chrome changes. */
html:has(body.embedded-application){scrollbar-width:thin;scrollbar-color:#b67582 #f8eeeb;scrollbar-gutter:stable;overscroll-behavior-y:contain;scroll-padding-block:24px 100px}
html:has(body.embedded-application)::-webkit-scrollbar{width:8px}
html:has(body.embedded-application)::-webkit-scrollbar-track{background:#f8eeeb;border-radius:99px}
html:has(body.embedded-application)::-webkit-scrollbar-thumb{background:#b67582;border:2px solid #f8eeeb;border-radius:99px;min-height:48px}
html:has(body.embedded-application)::-webkit-scrollbar-thumb:hover{background:#945765}
body.embedded-application{background:#fff8f3;color:#174c37;text-rendering:optimizeLegibility;-webkit-text-size-adjust:100%;text-size-adjust:100%}
body.embedded-application .a-form-wrap{width:100%;min-width:0;padding:24px 28px 32px}
body.embedded-application :is(h1,h2,p,label,button){word-break:keep-all;overflow-wrap:anywhere}
body.embedded-application .a-step h2{font-size:28px;line-height:1.45;letter-spacing:-.025em}
body.embedded-application .a-step header p,body.embedded-application .a-note,body.embedded-application .apply-animal-hero>p:last-child{font-size:14px;line-height:1.8}
body.embedded-application .a-field{min-width:0}
body.embedded-application .a-field label,body.embedded-application .a-field>span,body.embedded-application .a-agree label{font-size:14px;line-height:1.65}
body.embedded-application .a-field :is(input:not([type=range]):not([type=checkbox]):not([type=radio]),select,textarea){font-family:Pretendard,sans-serif;font-size:16px;line-height:1.6;padding:12px 14px;min-width:0;background:#fffdf9;border:1px solid #174c3726;border-radius:12px}
body.embedded-application .a-field textarea{min-height:136px;scrollbar-width:thin;scrollbar-color:#b67582 transparent}
body.embedded-application .a-field :is(input,select,textarea):focus-visible{outline:2px solid #b67582;outline-offset:2px}
body.embedded-application .a-chip span{font-size:14px;line-height:1.5;padding:10px 14px}
body.embedded-application .a-chip input{position:absolute;width:1px;height:1px;min-height:0;padding:0;margin:0;clip-path:inset(50%);overflow:hidden}
body.embedded-application .a-chip:has(input:focus-visible) span{outline:2px solid #b67582;outline-offset:2px}
body.embedded-application .a-progress button{font-family:Pretendard,sans-serif;font-size:13px;line-height:1.5}
body.embedded-application .apply-animal-table>span{animation:none;transform:none;opacity:1;font-size:12px;line-height:1.6}
body.embedded-application .apply-animal-tables{padding-top:50px}
body.embedded-application .a-actions{background:#fff8f3;box-shadow:0 -12px 20px #fff8f3;margin-top:32px;padding:14px 0 max(16px,env(safe-area-inset-bottom));gap:16px}
body.embedded-application .a-actions button{font-size:15px;line-height:1.5;min-height:48px;flex-shrink:0}
body.embedded-application .a-summary div{grid-template-columns:90px minmax(0,1fr);font-size:14px;line-height:1.7}
body.embedded-application .a-summary span{overflow-wrap:anywhere}
body.embedded-application .a-agree input{flex-shrink:0;width:18px;height:18px;margin-top:3px}
@media(max-width:480px){body.embedded-application .a-form-wrap{padding:22px 20px 28px}body.embedded-application .a-fields{grid-template-columns:minmax(0,1fr);gap:22px}body.embedded-application .a-step h2{font-size:26px}body.embedded-application .a-actions .s-button{min-width:130px}}
@media(forced-colors:active){html:has(body.embedded-application){scrollbar-color:auto}}
