:root { color-scheme: light; font-family: ui-rounded, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: #f5f7f3; color: #17221d; }
* { box-sizing: border-box; } body { margin: 0; } button, textarea { font: inherit; } button { border: 0; border-radius: 12px; min-height: 44px; padding: 10px 14px; background: #12372a; color: white; font-weight: 650; } button.secondary { background: #e3ebe5; color: #17221d; } button:disabled { opacity: .5; } textarea { width: 100%; min-height: 88px; padding: 12px; border: 1px solid #cdd7ce; border-radius: 12px; resize: vertical; background: white; }
#app { max-width: 680px; min-height: 100dvh; margin: auto; padding: 20px 16px 92px; } .loading, .muted { color: #64736a; } .top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; } h1 { margin: 0; font-size: 1.45rem; } h2, h3 { margin: 0 0 10px; } .card { background: white; border-radius: 16px; padding: 16px; margin: 12px 0; box-shadow: 0 1px 3px #12372a15; } .error { background: #fff0ef; color: #8a261e; } .messages { display: grid; gap: 9px; } .message { padding: 10px 12px; border-radius: 12px; white-space: pre-wrap; } .message.user { background: #dceee1; margin-left: 12%; } .message.assistant { background: #f0f3f0; margin-right: 12%; } .row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; } .metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; } .metric { background: #f0f5f0; padding: 10px; border-radius: 10px; } .metric b { display: block; font-size: 1.1rem; } .entry { border-top: 1px solid #e4eae5; padding: 10px 0; display: flex; justify-content: space-between; gap: 12px; } pre { overflow: auto; white-space: pre-wrap; font-size: .82rem; background: #f5f7f3; padding: 10px; border-radius: 10px; } .nav { position: fixed; bottom: 0; left: 0; right: 0; display: flex; justify-content: center; gap: 12px; padding: 10px max(16px, env(safe-area-inset-left)) calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid #dfe6e0; } .nav button { min-width: 130px; } .nav button[aria-current="page"] { background: #236045; } @media (max-width: 360px) { .metrics { grid-template-columns: 1fr; } .nav button { min-width: 0; flex: 1; } }
