/* src/styles.css */
:root {
  --primary: #2aa8f2;
  --primary-dark: #1486d0;
  --primary-light: #52baff;
  --primary-soft: #eef8ff;
  --accent: #fbbf24;
  --accent-dark: #f59e0b;
  --danger: #e0414b;
  --danger-soft: #fef2f3;
  --success: #16a34a;
  --success-soft: #effbf3;
  --bg: #f3f8fd;
  --text-main: #2b3440;
  --text-muted: #6b7785;
  --border: #e4ebf2;
  --card-shadow: 0 1px 2px rgba(16,42,67,.04), 0 8px 24px -12px rgba(16,42,67,.18);
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html,
body {
  min-height: 100%;
}
body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  color: var(--text-main);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(
      circle at 6% 0%,
      rgba(82, 186, 255, .14),
      transparent 32%),
    radial-gradient(
      circle at 96% 8%,
      rgba(251, 191, 36, .12),
      transparent 30%),
    var(--bg);
  background-attachment: fixed;
}
a {
  color: var(--primary-dark);
}
.container {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 1.75rem 1.25rem 4rem;
}
h1 {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.02em;
}
h2 {
  font-size: 1.3rem;
  font-weight: 800;
}
h3 {
  font-size: 1.05rem;
  font-weight: 700;
}
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.6rem;
  box-shadow: var(--card-shadow);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem 1.6rem;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition:
    transform .08s,
    box-shadow .15s,
    background .15s,
    opacity .15s;
}
.btn:active {
  transform: translateY(1px);
}
.btn:disabled {
  opacity: .5;
  cursor: not-allowed;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 16px -6px rgba(42, 168, 242, .7);
}
.btn-primary:hover:not(:disabled) {
  background: var(--primary-dark);
}
.btn-accent {
  background: var(--accent);
  color: #5a4300;
  box-shadow: 0 6px 16px -6px rgba(251, 191, 36, .7);
}
.btn-accent:hover:not(:disabled) {
  background: var(--accent-dark);
  color: #fff;
}
.btn-ghost {
  background: #fff;
  color: var(--primary-dark);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--primary);
  background: var(--primary-soft);
}
.btn-block {
  width: 100%;
}
.field {
  margin-bottom: 1.1rem;
}
label {
  display: block;
  margin-bottom: .4rem;
  font-size: .9rem;
  font-weight: 600;
  color: var(--text-main);
}
input,
select {
  width: 100%;
  padding: .8rem .9rem;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 1rem;
  outline: none;
  background: #fff;
  color: var(--text-main);
  transition: border-color .15s, box-shadow .15s;
}
input:focus,
select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(42, 168, 242, .15);
}
.error {
  color: var(--danger);
  font-size: .9rem;
  margin: .5rem 0;
}
.muted {
  color: var(--text-muted);
}
.text-center {
  text-align: center;
}
.brand {
  font-weight: 800;
  letter-spacing: -.01em;
}
.brand-smoke {
  color: var(--text-main);
}
.brand-check {
  color: var(--primary);
}
.app-header {
  background: rgba(255, 255, 255, .85);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.app-header .inner {
  max-width: 720px;
  margin: 0 auto;
  padding: .7rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.app-header .logo {
  display: inline-flex;
  align-items: center;
}
.app-header .logo img {
  height: 30px;
  width: auto;
  display: block;
}
.app-header nav {
  display: flex;
  gap: 1.1rem;
  align-items: center;
}
.app-header nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 600;
}
.app-header nav a:hover {
  color: var(--primary-dark);
}
.app-header .logout {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font: inherit;
  font-weight: 600;
}
.app-header .logout:hover {
  color: var(--danger);
}
.banner {
  border-radius: 14px;
  padding: 1.1rem 1.25rem;
  margin-bottom: 1rem;
  font-weight: 600;
  display: flex;
  gap: .6rem;
  align-items: flex-start;
}
.banner-ok {
  background: var(--success-soft);
  color: var(--success);
  border: 1px solid #b6ebc7;
}
.banner-warn {
  background: var(--danger-soft);
  color: var(--danger);
  border: 1px solid #f7c4c7;
}
.list-reset {
  list-style: none;
}
.choice-row {
  display: flex;
  gap: .75rem;
  margin-top: 1rem;
}
.choice {
  flex: 1;
  padding: 1rem;
  border: 2px solid var(--border);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-main);
  transition: all .12s;
  text-align: left;
}
.choice:hover {
  border-color: var(--primary-light);
}
.choice.selected {
  border-color: var(--primary);
  background: var(--primary-soft);
  color: var(--primary-dark);
  box-shadow: 0 0 0 3px rgba(42, 168, 242, .12);
}
.progress {
  height: 9px;
  background: #e2edf6;
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 1rem;
}
.progress > div {
  height: 100%;
  background:
    linear-gradient(
      90deg,
      var(--primary-light),
      var(--primary));
  transition: width .25s;
  border-radius: 99px;
}
.pill {
  display: inline-block;
  padding: .2rem .65rem;
  border-radius: 99px;
  font-size: .78rem;
  font-weight: 700;
}
.pill-warn {
  background: var(--danger-soft);
  color: var(--danger);
}
.pill-ok {
  background: var(--success-soft);
  color: var(--success);
}
.hero {
  text-align: center;
  background:
    linear-gradient(
      160deg,
      #ffffff,
      var(--primary-soft));
}
.sun {
  display: inline-flex;
}
.q-wrap {
  max-width: 580px;
}
.q-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: .55rem;
}
.q-label {
  font-size: .85rem;
  font-weight: 700;
  color: var(--primary-dark);
}
.seg-progress {
  display: flex;
  gap: 4px;
  margin-bottom: 1.6rem;
}
.seg {
  flex: 1;
  height: 6px;
  border-radius: 99px;
  background: #dde8f2;
  transition: background .25s;
}
.seg.filled {
  background:
    linear-gradient(
      90deg,
      var(--primary-light),
      var(--primary));
}
.question-card {
  border-radius: 22px;
  padding: 1.9rem 1.75rem;
}
.q-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .02em;
  padding: .35rem .75rem;
  border-radius: 99px;
  margin-bottom: 1rem;
}
.q-text {
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text-main);
  margin-bottom: 1.4rem;
}
.choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .9rem;
}
.choice-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .65rem;
  padding: 1.25rem;
  border: 2px solid var(--border);
  border-radius: 18px;
  background: #fff;
  cursor: pointer;
  transition:
    border-color .14s,
    transform .14s,
    box-shadow .14s,
    background .14s;
  text-align: left;
}
.choice-card:hover:not(:disabled) {
  border-color: var(--primary-light);
  transform: translateY(-2px);
}
.choice-card:disabled {
  cursor: not-allowed;
  opacity: .7;
}
.choice-card.selected {
  border-color: var(--primary);
  background: var(--primary-soft);
  box-shadow: 0 0 0 3px rgba(42, 168, 242, .12);
}
.choice-ic {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1;
}
.choice-ic.no {
  background: #f3f8fd;
  color: var(--text-muted);
}
.choice-ic.yes {
  background: var(--primary-soft);
  color: var(--primary);
}
.choice-lbl {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
}
.q-tip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  font-size: .78rem;
  color: #9aa6b2;
  margin-top: 1.25rem;
  text-align: center;
}
.q-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.25rem;
  gap: 1rem;
}
@keyframes cardInA {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes cardInB {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.question-card.anim-a {
  animation: cardInA .22s ease;
}
.question-card.anim-b {
  animation: cardInB .22s ease;
}
.disclaimer-note {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: .4rem;
  max-width: 480px;
  margin: .9rem auto 0;
  padding: 0 .25rem;
  font-size: .8rem;
  line-height: 1.5;
  color: #9aa6b2;
  text-align: center;
}
.disclaimer-note svg {
  margin-top: 2px;
  flex-shrink: 0;
}
.disclaimer-strong {
  font-weight: 700;
  color: var(--text-muted);
}
html {
  -webkit-text-size-adjust: 100%;
}
* {
  -webkit-tap-highlight-color: rgba(42, 168, 242, .15);
}
img,
svg {
  max-width: 100%;
}
@media (max-width: 900px) {
  .container {
    padding-left: 1.1rem;
    padding-right: 1.1rem;
  }
}
@media (max-width: 560px) {
  .container {
    padding: 1.25rem 1rem 3rem;
  }
  h1 {
    font-size: 1.5rem;
  }
  h2 {
    font-size: 1.15rem;
  }
  .app-header .inner {
    padding: .6rem 1rem;
  }
  .app-header .logo img {
    height: 26px;
  }
  .app-header nav {
    gap: .75rem;
  }
  .app-header nav a,
  .app-header .logout {
    font-size: .82rem;
  }
  .card {
    padding: 1.25rem;
  }
  .question-card {
    padding: 1.4rem 1.15rem;
    border-radius: 18px;
  }
  .q-text {
    font-size: 1.15rem;
  }
  .choice-card {
    padding: 1rem;
  }
  .choice-ic {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
  }
  .choice-lbl {
    font-size: 1rem;
  }
  .btn {
    padding: .8rem 1.2rem;
  }
}
@media (max-width: 360px) {
  .choice-grid {
    grid-template-columns: 1fr;
  }
  .app-header nav {
    gap: .55rem;
  }
  .app-header nav a,
  .app-header .logout {
    font-size: .78rem;
  }
}
@media (hover: none) and (pointer: coarse) {
  .btn,
  .choice-card {
    min-height: 48px;
  }
  .choice-card:hover {
    transform: none;
  }
}
@supports (padding: max(0px)) {
  .app-header .inner {
    padding-left: max(1.25rem, env(safe-area-inset-left));
    padding-right: max(1.25rem, env(safe-area-inset-right));
  }
}
.result-alert {
  display: flex;
  gap: .9rem;
  align-items: flex-start;
  margin-top: 1rem;
  background: #fff;
  border: 1px solid #f7c4c7;
  border-radius: 18px;
  padding: 1.25rem;
  box-shadow: 0 12px 30px -20px rgba(224, 65, 75, .35);
}
.result-alert-ic {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--danger-soft);
  color: var(--danger);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.result-alert-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.4;
}
.result-alert-sub {
  font-size: .85rem;
  color: var(--text-muted);
  margin-top: .35rem;
}
.symptom-head {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .82rem;
  font-weight: 700;
  color: var(--text-muted);
  margin: 1.4rem .25rem .7rem;
}
.symptom-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: .65rem;
}
.symptom-chip {
  display: flex;
  gap: .65rem;
  align-items: center;
  background: #fff;
  border: 1px solid rgba(16, 42, 67, .07);
  border-radius: 14px;
  padding: .8rem .9rem;
  font-size: .9rem;
  color: var(--text-main);
  line-height: 1.35;
}
.symptom-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--danger);
  flex-shrink: 0;
}
.next-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .6rem;
  background: var(--primary-soft);
  border: 1px solid #cfeaff;
  border-radius: 14px;
  padding: .85rem 1rem;
  margin-top: 1rem;
  font-size: .85rem;
  color: var(--primary-dark);
}
.next-row .next-date {
  font-weight: 700;
  white-space: nowrap;
}

/* angular:styles/global:styles */
/*# sourceMappingURL=styles.css.map */
