:root { color-scheme: light; font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif; color: #1d2a24; background: #f5f7f2; font-synthesis: none; }
* { box-sizing: border-box; }
body { margin: 0; }
button,input { font: inherit; }
button { cursor: pointer; border: 0; min-height: 58px; border-radius: 14px; padding: 16px 12px; font-size: 21px; font-weight: 600; line-height: 1.35; width: 100%; }
button:focus-visible,a:focus-visible,input:focus-visible { outline: 3px solid #8a5a14; outline-offset: 4px; }
button:disabled { opacity: .65; cursor: wait; }
[hidden] { display: none !important; }
.app { max-width: 440px; min-height: 100dvh; margin: 0 auto; padding: 26px 24px calc(28px + env(safe-area-inset-bottom)); }
header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 34px; }
.brand { font-size: 24px; font-weight: 750; letter-spacing: 2px; }
.profile { font-size: 13px; color: #486457; border: 1px solid #cbd9cc; border-radius: 99px; padding: 7px 10px; }
#home { text-align: center; }
.eyebrow { font-size: 18px; color: #486457; margin: 20px 0 16px; }
h1 { font-size: clamp(40px, 12vw, 49px); line-height: 1.19; letter-spacing: -1px; margin: 0; }
.hero-copy { font-size: 22px; line-height: 1.65; color: #486457; margin: 24px 0 34px; }
.primary { color: #fff; background: #1f6b4f; }
.secondary { color: #1f6b4f; background: white; border: 1px solid #b8cbbf; }
.camera-button { min-height: 148px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; font-size: 28px; border-radius: 22px; box-shadow: 0 8px 22px #1f6b4f20; }
.camera-icon { position: relative; display: block; width: 40px; height: 30px; border: 2.5px solid white; border-radius: 7px; }
.camera-icon::before { content: ''; position: absolute; top: -8px; left: 8px; width: 17px; height: 5px; border: 2.5px solid white; border-bottom: 0; border-radius: 4px 4px 0 0; }
.camera-icon span { display: block; width: 15px; height: 15px; border: 2.5px solid white; border-radius: 50%; margin: 5px auto; }
.quiet { margin: 17px 0 12px; font-size: 18px; color: #486457; }
.text-button { background: transparent; color: #486457; font-size: 17px; font-weight: 400; min-height: 48px; padding: 14px 10px; }
.underline { text-decoration: underline; text-underline-offset: 4px; }
.connection-status { font-size: 15px; color: #805415; margin: 18px 0 0; }
.preview-note { font-size: 12px; line-height: 1.6; color: #486457; margin: 6px 0 0; }
.photo { width: 100%; height: 220px; border-radius: 20px; object-fit: cover; background: #e2e8e1; }
.result-photo { height: 150px; }
#loading,#error { text-align: center; }
h2 { font-size: 29px; line-height: 1.35; margin: 20px 0 12px; }
.body-copy { font-size: 21px; line-height: 1.7; }
.pulse { display: block; height: 12px; width: 12px; margin: 30px auto 0; border-radius: 50%; background: #1f6b4f; animation: breathe 1.2s infinite; }
@keyframes breathe { 50% { opacity: .3; } }
@media (prefers-reduced-motion: reduce) { .pulse { animation: none; } }
.demo-notice { padding: 11px; margin-bottom: 16px; background: #e8eee9; color: #355745; font-size: 15px; text-align: center; border-radius: 10px; }
.example-picture { height: 110px; display: flex; align-items: center; justify-content: center; background: #edf0e6; border-radius: 20px; font-size: 74px; }
.result-card { background: white; border: 1px solid #dce5db; border-radius: 20px; padding: 22px; margin: 18px 0 20px; }
.verdict-mark { display: inline-flex; justify-content: center; align-items: center; width: 35px; height: 35px; background: #e7f4ec; color: #236143; border-radius: 50%; font-size: 23px; }
.alternative .verdict-mark { background: #fff1d8; color: #805415; }
.unknown .verdict-mark,.neutral .verdict-mark { background: #edf0ec; color: #486457; }
.summary { font-size: 27px; font-weight: 600; line-height: 1.65; margin: 14px 0 0; }
.spaced { margin-top: 14px; }
.scope { margin: 22px 0 0; font-size: 15px; color: #486457; line-height: 1.7; text-align: center; }
.message { padding: 14px; background: #fff1d8; color: #805415; font-size: 18px; line-height: 1.6; margin: 16px 0; border-radius: 12px; }
.example-switch { display: flex; gap: 8px; margin-top: 16px; }
.example-switch button { flex: 1; padding: 13px 4px; min-height: 48px; font-size: 16px; background: #e8eee9; color: #355745; }
label { display: block; font-size: 19px; margin: 24px 0 12px; }
input:not([hidden]) { width: 100%; min-height: 62px; border: 1px solid #b8cbbf; border-radius: 12px; background: white; padding: 16px; font-size: 19px; }
.hint,.privacy-copy { font-size: 16px; color: #486457; line-height: 1.8; }
.privacy-copy { margin-top: 28px; }
a { color: #1f6b4f; }
