:root {
  --fl-bg:      #e8f4ff;
  --fl-border:  #b0d4f8;
  --fl-text:    #185890;
  --fl-icon-bg: #e8f4ff;
}

.app-hero{border-bottom:1px solid var(--color-border);padding:1.25rem 1.5rem 1.1rem}
.app-hero--sky{background:var(--fl-bg);border-bottom-color:var(--fl-border)}
.app-hero__inner{margin:0 auto}
.app-hero__title{font-size:clamp(1.4rem,3vw,2rem);font-weight:800;color:var(--fl-text);letter-spacing:-.02em;margin:0 0 .5rem;line-height:1.2}
.app-hero__desc{font-size:.9rem;color:var(--color-text-secondary);max-width:660px;line-height:1.6;margin:0 0 .85rem}
.app-hero__chips{display:flex;flex-wrap:wrap;gap:.35rem}
.hero-chip{display:inline-flex;align-items:center;padding:.22rem .65rem;font-size:.72rem;font-weight:700;background:var(--color-surface);border:1.5px solid var(--fl-border);border-radius:var(--radius-full);color:var(--fl-text);white-space:nowrap}

.app-wrap {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1.5rem 1rem 3rem;
}
.pane-in { width: 320px; flex-shrink: 0; display: flex; flex-direction: column; gap: 1rem; }
.pane-out { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1rem; }

.card {
  background: var(--color-surface);
  border: 1px solid var(--fl-border);
  border-radius: var(--radius-xl);
  padding: 1rem 1.125rem;
}
.card-title {
  font-size: .7rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--fl-text); margin: 0 0 .75rem;
}

.field { margin-bottom: .75rem; }
.field:last-child { margin-bottom: 0; }

label.lbl {
  display: block; font-size: .72rem; font-weight: 600;
  color: var(--color-text-muted); margin-bottom: .28rem;
}

input.num-in {
  width: 100%; box-sizing: border-box;
  padding: .4rem .6rem; font-size: .9rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg); color: var(--color-text);
  transition: border-color .15s;
}
input.num-in:focus { outline: none; border-color: var(--fl-text); }

.field-hint { font-size: .68rem; color: var(--color-text-muted); margin: .25rem 0 0; }

/* Results */
.result-row { margin-bottom: .85rem; }
.result-row:last-child { margin-bottom: 0; }
.result-row-lbl {
  font-size: .62rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .07em; color: var(--color-text-muted); margin-bottom: .3rem;
  display: flex; align-items: center; gap: .25rem;
}
.result-row-val { font-size: .95rem; font-weight: 700; color: var(--fl-text); margin-bottom: .35rem; }

.status-badge {
  display: inline-block; padding: .3rem .75rem;
  border-radius: var(--radius-full); font-size: .8rem; font-weight: 700;
}
.status-low      { background: #ffeaea; color: #b02020; border: 1.5px solid #f0b0b0; }
.status-normal   { background: #d1f5d3; color: #1a7a2e; border: 1.5px solid #7acc88; }
.status-elevated { background: #fff3cd; color: #856404; border: 1.5px solid #ffc107; }
.status-high     { background: #fff3cd; color: #856404; border: 1.5px solid #ffc107; }

.summary-box {
  font-size: .85rem; line-height: 1.55; color: var(--color-text);
  background: var(--fl-bg); border: 1px solid var(--fl-border);
  border-radius: var(--radius-md); padding: .65rem .8rem; margin-top: .25rem;
}

.disclaimer{font-size:.72rem;color:var(--color-text-muted);line-height:1.5;background:var(--fl-bg);border:1px solid var(--fl-border);border-radius:var(--radius-md);padding:.45rem .7rem;margin-top:.75rem}

@media (max-width: 720px) {
  .app-wrap { flex-direction: column; }
  .pane-in { width: 100%; }
}
