:root{--bg: #0e1116;--surface: #171b22;--text: #f5f1e8;--muted: #b7becb;--green: #2fa36b;--amber: #e8a13a;--red: #d65a5a;--accent: #d9b26a;--radius: 14px}*{box-sizing:border-box}html,body{margin:0;padding:0;background:var(--bg);color:var(--text);font-family:IBM Plex Sans,system-ui,-apple-system,Segoe UI,Roboto,sans-serif;font-size:18px;line-height:1.55}.check{max-width:720px;margin:0 auto;padding:24px 18px 64px}.check-header{text-align:center;margin-bottom:24px}.check-brand{font-size:1.6rem;font-weight:700;color:var(--accent);text-decoration:none}.check-tagline{font-size:1.15rem;color:var(--muted);margin:10px 0 0}.input-area{background:var(--surface);border-radius:var(--radius);padding:18px}.tabs{display:flex;gap:8px;margin-bottom:16px}.tab{flex:1;padding:12px;font-size:1rem;font-weight:600;color:var(--muted);background:transparent;border:2px solid rgba(255,255,255,.12);border-radius:10px;cursor:pointer}.tab.is-active{color:var(--bg);background:var(--accent);border-color:var(--accent)}.tab:disabled{opacity:.5;cursor:not-allowed}.field-label{display:block;font-size:1rem;color:var(--muted);margin-bottom:10px}.stack-textarea{width:100%;font-size:1.1rem;line-height:1.5;padding:14px;color:var(--text);background:var(--bg);border:2px solid rgba(255,255,255,.12);border-radius:10px;resize:vertical;font-family:inherit}.stack-textarea:focus{outline:none;border-color:var(--accent)}.stack-textarea::placeholder{color:#b7becb80}.upload-btn{width:100%;padding:14px;font-size:1.05rem;font-weight:600;color:var(--text);background:var(--bg);border:2px dashed rgba(255,255,255,.25);border-radius:10px;cursor:pointer}.upload-btn:disabled{opacity:.5;cursor:not-allowed}.thumb-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(84px,1fr));gap:10px;list-style:none;padding:0;margin:14px 0 0}.thumb{position:relative;aspect-ratio:1}.thumb img{width:100%;height:100%;object-fit:cover;border-radius:8px}.thumb-remove{position:absolute;top:-8px;right:-8px;width:28px;height:28px;border-radius:50%;border:none;background:var(--red);color:#fff;font-size:1.1rem;line-height:1;cursor:pointer}.input-note{font-size:.95rem;color:var(--amber);margin:12px 0 0}.analyze-btn{width:100%;margin-top:18px;padding:16px;font-size:1.15rem;font-weight:700;color:var(--bg);background:var(--green);border:none;border-radius:12px;cursor:pointer}.analyze-btn:disabled{opacity:.45;cursor:not-allowed}.results{display:flex;flex-direction:column;gap:16px}.disclaimer{font-size:.95rem;color:var(--muted);text-align:center;padding:10px 12px;background:#ffffff0d;border-radius:10px;margin:0}.disclaimer a{color:var(--accent)}.signal-banner{display:flex;align-items:center;gap:14px;padding:18px;border-radius:var(--radius);border-left:6px solid var(--muted);background:var(--surface)}.signal-banner.tone-perfect{border-left-color:var(--green)}.signal-banner.tone-caution{border-left-color:var(--amber)}.signal-banner.tone-warning{border-left-color:var(--red)}.signal-icon{font-size:2rem;line-height:1}.signal-text{display:flex;flex-direction:column;gap:4px}.signal-label{font-size:1.3rem}.signal-count{font-size:1rem;color:var(--red);font-weight:600}.signal-reason{font-size:1rem;color:var(--muted)}.section-title{font-size:1.2rem;font-weight:700;margin:8px 0 2px}.product-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:12px}.product-card{background:var(--surface);border-radius:var(--radius);padding:16px}.product-head{display:flex;justify-content:space-between;align-items:baseline;gap:10px}.product-name{font-size:1.15rem;font-weight:600}.product-cost{font-size:1rem;color:var(--muted);white-space:nowrap}.badges{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.badge{font-size:.85rem;font-weight:600;padding:3px 10px;border-radius:999px;background:#ffffff1a;color:var(--text)}.badge-overlap{background:#e8a13a38;color:var(--amber)}.badge-ul-excess{background:#d65a5a38;color:var(--red)}.badge-similar-effect{background:#d9b26a38;color:var(--accent)}.chips{display:flex;flex-wrap:wrap;gap:6px;list-style:none;padding:0;margin:12px 0 0}.chip{font-size:.95rem;padding:4px 10px;border-radius:8px;background:var(--bg);color:var(--muted)}.safety-section,.mechanism-section{display:flex;flex-direction:column;gap:12px}.alert-card{background:var(--surface);border-radius:var(--radius);padding:16px;border-left:5px solid var(--muted)}.alert-card.tone-warning{border-left-color:var(--red)}.alert-card.tone-caution{border-left-color:var(--amber)}.alert-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px}.alert-tag{font-size:.9rem;color:var(--muted)}.alert-summary{margin:8px 0 0;font-size:1.02rem}.alert-details{margin:6px 0 0;font-size:.95rem;color:var(--muted)}.savings-card{background:#2fa36b24;border:2px solid var(--green);border-radius:var(--radius);padding:18px}.savings-amount{font-size:1.4rem;font-weight:700;color:var(--green)}.savings-annual{font-size:1.05rem;color:var(--muted);margin-top:2px}.savings-remove{margin:10px 0 0;font-size:1.05rem}.savings-reason{margin:6px 0 0;font-size:.98rem;color:var(--muted)}.app-cta{background:var(--accent);color:var(--bg);border-radius:var(--radius);padding:22px 18px;text-align:center}.app-cta-text{font-size:1.15rem;font-weight:600;margin:0 0 14px}.app-cta-btn{display:inline-block;padding:14px 22px;font-size:1.1rem;font-weight:700;color:var(--accent);background:var(--bg);border-radius:12px;text-decoration:none}.reset-btn{margin-top:6px;padding:14px;font-size:1.05rem;font-weight:600;color:var(--text);background:transparent;border:2px solid rgba(255,255,255,.2);border-radius:12px;cursor:pointer}.loading{text-align:center;padding:48px 18px;background:var(--surface);border-radius:var(--radius)}.spinner{width:48px;height:48px;margin:0 auto 20px;border:5px solid rgba(255,255,255,.15);border-top-color:var(--accent);border-radius:50%;animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.spinner{animation-duration:2.4s}}.loading-stage{font-size:1.2rem;font-weight:600;margin:0}.loading-hint{font-size:1rem;color:var(--muted);margin:8px 0 0}.error-state{text-align:center;padding:40px 18px;background:var(--surface);border-radius:var(--radius);border-left:6px solid var(--red)}.error-icon{font-size:2.4rem}.error-message{font-size:1.2rem;margin:14px 0 22px}.error-actions{display:flex;flex-direction:column;gap:10px}.error-actions .analyze-btn,.error-actions .reset-btn{margin-top:0}@media(min-width:560px){html,body{font-size:19px}.check{padding:32px 24px 72px}}
