body.modal-open{overflow:hidden}button,input,textarea,select{font-family:inherit}button:disabled{opacity:.45;cursor:not-allowed;transform:none}button:focus-visible,a:focus-visible{outline:3px solid #e6ab40;outline-offset:3px}.option{text-align:left;background:white;width:100%;font:inherit;min-height:48px;overflow-wrap:anywhere}.option span{flex-shrink:0}.guard-notice{padding:12px 24px;background:#fff4dd;color:#835700;font-size:12px;line-height:1.6}.phone-exam{width:min(920px,100%);height:min(900px,94dvh);border-radius:20px;overflow:hidden}.phone-exam main{min-height:0}.phone-exam header>div{min-width:0;flex:1}.phone-exam header strong{overflow-wrap:anywhere}.phone-exam header time{white-space:nowrap}.phone-exam footer button{min-height:44px}.result-summary{text-align:center;padding:28px 4px}.result-summary p,.result-entry p{font-size:13px;line-height:1.8;overflow-wrap:anywhere}.results-list{grid-column:1/-1}.result-entry{padding:16px 0;border-bottom:1px solid var(--line)}.result-entry h3{font-size:16px;overflow-wrap:anywhere}summary{cursor:pointer;padding:12px 0;color:var(--teal)}.empty{padding:24px;color:var(--muted);text-align:center}.exam-card h3,.question-item h3{overflow-wrap:anywhere}.exam-mode .options{user-select:none;-webkit-user-select:none}.exam-card>p{height:auto;min-height:31px}.modal-card>p{line-height:1.8}.profile button{display:none}.mobile-header .avatar{pointer-events:none}.main,.page,.panel{min-width:0}
@media(max-width:720px){input,textarea,select,.field input,.field textarea,.field select,.search input{font-size:16px}.phone-exam{height:100dvh;border-radius:0}.phone-exam main{padding:20px 18px}.phone-exam header{padding:12px}.phone-exam footer{padding-bottom:max(16px,env(safe-area-inset-bottom))}.bottom-nav{height:calc(70px + env(safe-area-inset-bottom));padding-bottom:calc(10px + env(safe-area-inset-bottom))}.main{padding-bottom:calc(92px + env(safe-area-inset-bottom))}.question-actions{display:flex}.question-actions button{width:44px;height:44px}.page-head>button{font-size:12px;white-space:nowrap;padding:10px;flex-shrink:0}.page-head{gap:10px}.page-head h1{font-size:22px}.hero-art{pointer-events:none}.guard-notice{padding:10px 16px}.toast{bottom:calc(86px + env(safe-area-inset-bottom));max-width:92vw;width:max-content;white-space:normal}.form-row{flex-wrap:wrap}.form-row .field{min-width:120px}.modal-card{max-height:92dvh}.exam-mode{align-items:stretch}.phone-exam .option{font-size:15px}.hero-copy p{max-width:100%}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
