.scientific-answer{min-width:0;margin:12px 0 18px}.answer-label-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.answer-label-row label{margin:0;font-weight:700}.answer-scan-button{color:#24584c;background:#edf2e8;padding:9px 12px;font-size:12px}.answer-toolbar{background:#f6f8f2;border:1px solid #dfe7d9;border-radius:11px 11px 0 0;flex-wrap:wrap;align-items:center;gap:6px;padding:9px;display:flex}.answer-toolbar button{color:#59765d;background:0 0;padding:7px 10px;font-size:12px}.answer-toolbar button.is-active{color:#fff;background:#24584c}.answer-toolbar span{color:#7a8780;margin-left:auto;font-size:10px}.scientific-answer>textarea{font-variant-numeric:tabular-nums;border-radius:0 0 11px 11px;width:100%;min-height:240px;margin:0;line-height:1.8;display:block}.answer-toolbox{background:#fbfcf8;border:1px solid #dfe7d9;border-top:0;padding:12px}.answer-symbols{flex-wrap:wrap;gap:7px;display:flex}.answer-symbols button{min-width:42px;padding:8px 10px;font-size:15px}.answer-toolbox details{margin-top:12px;font-size:12px}.answer-formula-builder{grid-template-columns:1fr 1fr;gap:12px;margin-top:14px;display:grid}.answer-formula-builder select,.answer-formula-builder output,.answer-formula-builder button{grid-column:1/-1}.answer-formula-builder label{margin:0;font-size:12px}.answer-formula-builder output{color:#24584c;overflow-wrap:anywhere;background:#edf2e8;border-radius:8px;padding:12px}.answer-error,.answer-warning{color:#8e3b32;background:#fff1ed;border-radius:9px;padding:12px 15px;line-height:1.7}.answer-warning{color:#86652b;background:#fbf3e5}.answer-success{color:#345e38;background:#edf5e7;border-radius:9px;align-items:center;gap:9px;padding:12px;display:flex}.answer-scan-overlay{z-index:160;background:#203b36aa;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.answer-scan-dialog{background:#fafbf7;border:1px solid #e4e8e1;border-radius:22px;width:620px;max-width:100%;max-height:calc(100dvh - 40px);padding:28px;overflow:auto;box-shadow:0 22px 90px #16352b44}.answer-scan-heading{justify-content:space-between;align-items:center;gap:10px;display:flex}.answer-scan-heading h2{margin:8px 0;font-size:25px}.answer-qr{background:#fff;border:1px solid #e4e8e1;border-radius:12px;max-width:100%;height:auto;margin:18px auto;padding:12px;display:block}.answer-scan-steps{color:#577659;flex-wrap:wrap;justify-content:center;gap:10px;margin:18px 0;font-size:11px;display:flex}.answer-scan-link{flex-wrap:wrap;justify-content:space-between;gap:12px;margin:14px 0;display:flex}.answer-scan-link a{color:#24584c;font-size:13px}.answer-scan-status{background:#edf2e8;border:1px solid #dce6d5;border-radius:12px;align-items:center;gap:14px;margin:20px 0;padding:18px;display:flex}.answer-scan-status small{display:block}.answer-scan-status .galien-avatar,.answer-mobile-work .galien-avatar{background:#dde7d1;border-radius:50%;flex-shrink:0;width:55px;height:55px;display:inline-flex;overflow:hidden}.answer-scan-status .galien-avatar img,.answer-mobile-work .galien-avatar img{object-fit:cover;object-position:top;width:100%;height:100%}.answer-spinner{animation:1.5s linear infinite answer-spin}.answer-scan-dialog textarea{width:100%;line-height:1.8}.answer-mobile-shell{max-width:720px;margin:auto;padding:0 20px}.answer-mobile-brand{color:#24584c;border-bottom:1px solid #e2e8db;align-items:center;gap:8px;padding:25px 0;font-size:22px;font-weight:750;display:flex}.answer-mobile-brand span{letter-spacing:1px;color:#7a8780;max-width:95px;margin-left:auto;font-size:9px}.answer-mobile-main{width:100%;margin:0;padding:30px 0 40px}.answer-mobile-main h1{font-size:30px}.answer-mobile-main .panel{border-radius:16px;margin:22px 0;padding:22px}.answer-mobile-question h2{overflow-wrap:anywhere;font-size:18px}.answer-mobile-actions{grid-template-columns:1fr 1fr;gap:12px;display:grid}.answer-mobile-actions button{flex-direction:column;min-height:105px;padding:16px 8px;font-size:13px}.answer-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:20px 0;display:grid}.answer-photo-grid figure{background:#f1f4ec;border-radius:10px;margin:0;padding:8px}.answer-photo-grid img{object-fit:contain;background:#fff;border-radius:5px;width:100%;height:180px}.answer-photo-grid figcaption{color:#59765d;justify-content:space-between;align-items:center;padding:6px;font-size:12px;display:flex}.answer-mobile-submit{width:100%;margin:10px 0 18px}.answer-mobile-work,.answer-mobile-complete{text-align:center;color:#24584c}.answer-mobile-work .answer-spinner{margin:15px auto;display:block}.answer-mobile-work h2{margin:15px 0}.answer-mobile-main .pre{white-space:pre-wrap}.answer-scan-follow{margin-top:10px}@keyframes answer-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.answer-spinner{animation:none}}@media (width<=600px){.answer-scan-overlay{padding:12px}.answer-scan-dialog{max-height:calc(100dvh - 24px);padding:20px}.answer-label-row{align-items:flex-start}.answer-toolbar span{display:none}.answer-formula-builder{grid-template-columns:1fr}.answer-formula-builder select,.answer-formula-builder output,.answer-formula-builder button{grid-column:auto}.answer-mobile-shell{padding:0 16px}.answer-mobile-main h1{font-size:27px}}.pdf-viewer{border:1px solid var(--line);background:#edf0e9;border-radius:10px;min-width:0;margin-top:16px;overflow:hidden}.pdf-toolbar{border-bottom:1px solid var(--line);background:#fff;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:10px;display:flex}.pdf-page-navigation,.pdf-zoom{align-items:center;gap:5px;display:flex}.pdf-toolbar label{align-items:center;gap:6px;margin:0;font-size:11px;display:flex}.pdf-toolbar select{width:60px;margin:0;padding:7px;font-size:12px}.pdf-toolbar .icon{color:var(--green);padding:8px}.pdf-toolbar .text{padding:8px;font-size:11px}.pdf-pages{scrollbar-gutter:stable;min-height:320px;max-height:calc(100vh - 320px);padding:16px;position:relative;overflow:auto}.pdf-pages canvas{background:#fff;margin:0 auto;display:block;box-shadow:0 3px 15px #243b3614}.pdf-pages canvas[hidden]{display:none}.pdf-pages>p{color:var(--muted);justify-content:center;align-items:center;gap:12px;margin-top:50px;display:flex}.pdf-render-status{color:#557249;background:#fff;border-radius:20px;width:max-content;margin:0 auto;padding:8px 12px;font-size:11px;display:block;position:sticky;bottom:12px;box-shadow:0 2px 12px #243b3620}.pdf-error{text-align:center;padding:35px 18px}.pdf-error .secondary{margin:12px auto}.pdf-error a{color:var(--green);display:block}.modal .pdf-pages{max-height:700px}.mock-subject .pdf-pages{height:calc(100vh - 360px);min-height:550px;max-height:none}@media (width<=760px){.pdf-toolbar{gap:6px}.pdf-toolbar .icon{padding:7px}.pdf-pages{max-height:600px;padding:10px}.mock-subject .pdf-pages{height:550px;min-height:0}}.pdf-viewer .pdf-native-frame{background:#fff;border:0;border-radius:8px;width:100%;height:650px;min-height:400px;display:block}.pdf-native .pdf-error{padding:12px}.pdf-native .pdf-error p{margin:4px 0;font-size:12px}.pdf-native .pdf-error .secondary{margin:8px;display:inline-flex}.pdf-native .pdf-error a{font-size:12px;display:inline-block}
