:root {
  --fl-bg:      #feeee8;
  --fl-border:  #f8c8b0;
  --fl-text:    #903018;
  --fl-icon-bg: #feeee8;
}

.app-hero{border-bottom:1px solid var(--color-border);padding:1.25rem 1.5rem 1.1rem}
.app-hero--peach{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;
}

select.sel {
  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;
}
select.sel:focus { outline: none; border-color: var(--fl-text); }

/* Recommended range box */
.recommend-box {
  background: var(--fl-bg); border: 1.5px solid var(--fl-text);
  border-radius: var(--radius-md); padding: .85rem 1rem; margin-bottom: .65rem;
}
.recommend-box .result-lbl {
  font-size: .62rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .07em; color: var(--color-text-muted); margin-bottom: .3rem;
}
.recommend-box .result-val {
  font-size: 1.15rem; font-weight: 800; color: var(--fl-text); line-height: 1.3;
}
.recommend-box .result-sub {
  font-size: .8rem; color: var(--color-text-secondary); margin-top: .3rem; line-height: 1.5;
}

/* Warning box */
.warn-box {
  background: #ffeaea; border: 1.5px solid #f0b0b0;
  border-radius: var(--radius-md); padding: .7rem .85rem;
}
.warn-box .result-lbl { color: #b02020; font-size: .62rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; margin-bottom: .25rem; }
.warn-box .result-sub { font-size: .8rem; color: #902020; line-height: 1.5; }

/* Reference table */
.color-table {
  width: 100%; border-collapse: collapse; font-size: .78rem;
}
.color-table th {
  text-align: left; font-size: .63rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; color: var(--color-text-muted);
  padding: .4rem .45rem; border-bottom: 1.5px solid var(--fl-border);
}
.color-table td {
  padding: .5rem .45rem; border-bottom: 1px dashed var(--color-border);
  color: var(--color-text); vertical-align: top;
}
.color-table tr:last-child td { border-bottom: none; }
.color-table tr.in-range td { background: var(--fl-bg); font-weight: 700; color: var(--fl-text); }
.color-table tr.above-range td { background: #ffeaea; }
.color-table .swatch {
  display: inline-block; width: .85rem; height: .85rem; border-radius: 3px;
  margin-right: .35rem; vertical-align: middle; border: 1px solid rgba(0,0,0,.15);
}
.color-table .range-col { white-space: nowrap; color: var(--color-text-muted); font-weight: 600; }

@media (max-width: 720px) {
  .app-wrap { flex-direction: column; }
  .pane-in { width: 100%; }
  .color-table { font-size: .7rem; }
}
