/* Phase 7-03 WebApp styles (WA-04). MVP — no animations, mobile-first. */

:root {
  --primary: #0066cc;
  --primary-hover: #0055aa;
  --secondary: #eeeeee;
  --secondary-hover: #dddddd;
  --tertiary: #999999;
  --text: #111111;
  --muted: #666666;
  --bg: #ffffff;
  --radius: 8px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

#app {
  padding: 24px 20px;
  max-width: 520px;
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.screen { text-align: center; }
.hidden { display: none !important; }

.content {
  font-size: 1.05rem;
  line-height: 1.55;
  white-space: pre-wrap;
  margin-bottom: 20px;
}

.muted { color: var(--muted); font-size: 0.95rem; margin: 8px 0 20px; }

h2 { font-size: 1.3rem; margin-bottom: 8px; }

.actions { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }

.btn {
  display: block;
  width: 100%;
  padding: 13px 20px;
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  line-height: 1.2;
}

.btn-primary   { background: var(--primary);   color: #fff; }
.btn-primary:hover  { background: var(--primary-hover); }
.btn-secondary { background: var(--secondary); color: var(--text); }
.btn-secondary:hover { background: var(--secondary-hover); }
.btn-tertiary  { background: transparent; color: var(--tertiary); font-size: 0.9rem; }
.btn:disabled  { opacity: 0.55; cursor: wait; }

@media (max-width: 480px) {
  #app { padding: 20px 16px; }
  .content { font-size: 1rem; }
  h2 { font-size: 1.15rem; }
}
