:root{--accent:#262a6b;--accent-soft:#eeeef8;--brand-red:#e63946}*{box-sizing:border-box}body{margin:0}html,body{overscroll-behavior-y:contain;height:100%}.app{text-align:left;flex-direction:column;max-width:480px;min-height:100dvh;margin:0 auto;padding:.9rem .9rem 1rem;font-family:system-ui,sans-serif;display:flex}.brand{text-align:left;align-items:center;gap:.7rem;margin-bottom:1.1rem;display:flex}.brand-logo{flex-shrink:0;width:42px;height:42px;display:block}h1{color:var(--accent);margin:0;font-size:1.15rem}.tagline{color:#6b7280;margin:.1rem 0 0;font-size:.78rem;line-height:1.3}.compact-header{align-items:center;gap:.5rem;margin-bottom:.5rem;display:flex}.compact-header img{flex-shrink:0;width:22px;height:22px;display:block}.compact-header span{color:#374151;text-overflow:ellipsis;white-space:nowrap;flex:1;font-size:.85rem;overflow:hidden}.hint{color:#6b7280;font-size:.8rem}input[type=password],input[type=text],input[type=tel],input[type=email],select{border:1px solid #d1d5db;border-radius:8px;width:100%;padding:.65rem;font-family:inherit;font-size:1rem}.auth-form{flex-direction:column;gap:.9rem;padding-top:.5rem;display:flex}.auth-form h2{color:var(--accent);margin:0;font-size:1.05rem}.auth-form form{flex-direction:column;gap:.9rem;display:flex}.auth-form label{color:#374151;flex-direction:column;gap:.3rem;font-size:.9rem;display:flex}.switch-link{color:#6b7280;text-align:center;margin:0;font-size:.9rem}.admin-page{padding-top:.5rem}.admin-page h2{color:var(--accent)}.admin-list{flex-direction:column;gap:.6rem;margin:0;padding:0;list-style:none;display:flex}.admin-row{border:1px solid #e5e7eb;border-radius:10px;justify-content:space-between;align-items:center;gap:.75rem;padding:.75rem;display:flex}.admin-meta{color:#6b7280;margin-top:.15rem;font-size:.8rem}.admin-actions{flex-shrink:0;gap:.5rem;display:flex}.admin-actions button{padding:.5rem .7rem;font-size:.85rem}.admin-actions button.secondary{color:#374151;background:#e5e7eb}.status-pill{text-transform:capitalize;border-radius:999px;margin-left:.5rem;padding:.1rem .45rem;font-size:.7rem;font-weight:600}.status-pending{color:#92400e;background:#fef3c7}.status-approved{color:#166534;background:#dcfce7}.status-rejected{color:#991b1b;background:#fee2e2}.expert-picker{flex-direction:column;gap:.9rem;padding-top:1rem;display:flex}.expert-picker label{color:#374151;flex-direction:column;gap:.35rem;font-size:.95rem;display:flex}.link-button{color:var(--accent);background:0 0;padding:0;font-size:.85rem}button{cursor:pointer;background:var(--accent);color:#fff;-webkit-tap-highlight-color:transparent;touch-action:manipulation;border:none;border-radius:8px;padding:.7rem 1rem;font-family:inherit;font-size:1rem}button:disabled{opacity:.5;cursor:not-allowed}.start-button{width:100%;padding:1rem;font-size:1.1rem;font-weight:600}.error{color:var(--brand-red);font-size:.9rem}.scanner{flex-direction:column;flex:1;align-items:stretch;gap:.6rem;min-height:0;display:flex}.status{color:#6b7280;text-align:center;margin:0;font-size:.85rem}.answer-box{background:var(--accent-soft);border:1px solid #dcdcf0;border-left:4px solid var(--accent);border-radius:14px;padding:1.1rem 1.1rem .9rem;line-height:1.4}.answer-box-warning{border-color:#f6d3d6;border-left-color:var(--brand-red);background:#fdf1f2}.badge-row{justify-content:flex-end;margin-bottom:.5rem;display:flex}.badge{color:#065f46;background:#d1fae5;border-radius:999px;padding:.15rem .5rem;font-size:.7rem;font-weight:600}.answer-text{color:#111827;word-break:break-word;white-space:pre-line;margin:0;font-size:1.6rem;font-weight:700}.answer-list{flex-direction:column;gap:.5rem;margin:0;padding-left:1.3rem;display:flex}.answer-list .answer-text{font-size:1.25rem;list-style:outside;display:list-item}.explanation-toggle{margin-top:.6rem}.explanation-toggle summary{cursor:pointer;color:var(--accent);-webkit-tap-highlight-color:transparent;touch-action:manipulation;font-size:.85rem;font-weight:600;list-style:none}.explanation-toggle summary::-webkit-details-marker{display:none}.explanation-toggle summary:after{content:" ▾"}.explanation-toggle[open] summary:after{content:" ▴"}.explanation{color:#4b5563;margin:.5rem 0 0;font-size:.95rem}.preview{object-fit:cover;background:#111827;border-radius:10px;flex:1;width:100%;min-height:160px}@media (width<=360px){.answer-text{font-size:1.35rem}}
