/* cll2.css — County Limit & Entitlement Lookup, scoped under .cll2 */
.cll2 {
  --navy: #0A2540;
  --navy-deep: #061829;
  --navy-mid: #143256;
  --navy-light: #1E4470;
  --gold: #FFB800;
  --gold-soft: #FFC733;
  --blue: #2B7FFF;
  --white: #FFFFFF;
  --gray-400: #94A3B8;
  --green: #10B981;
  --red: #C8102E;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 14px;
  line-height: 1.45;
  color: var(--white);
  background: radial-gradient(circle at 15% 0%, rgba(43,127,255,0.12) 0%, transparent 50%),
    radial-gradient(circle at 85% 100%, rgba(255,184,0,0.08) 0%, transparent 45%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  border-radius: 12px;
  padding: 14px 24px 12px;
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
}
.cll2 *, .cll2 *::before, .cll2 *::after { box-sizing: border-box; margin: 0; padding: 0; }
.cll2 p, .cll2 ul, .cll2 li, .cll2 label, .cll2 h3, .cll2 h4, .cll2 input, .cll2 select, .cll2 button {
  font-size: 14px; line-height: 1.45;
}

/* Head */
.cll2-head { margin-bottom: 10px; }
.cll2-title { font-family: 'Source Serif 4', Georgia, serif; font-size: 22px; line-height: 1.25; font-weight: 700; margin-bottom: 4px; }
.cll2-subtitle { font-size: 12px; line-height: 1.4; color: rgba(255,255,255,0.5); }

/* Body: inputs left, results right */
.cll2-body { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
@media (max-width: 768px) { .cll2-body { grid-template-columns: 1fr; } }

.cll2-inputs { min-width: 0; }
.cll2-results { min-width: 0; }

/* Input rows */
.cll2-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 6px; }
@media (max-width: 480px) { .cll2-row { grid-template-columns: 1fr; } }
.cll2-field { display: flex; flex-direction: column; gap: 3px; }
.cll2-label { font-size: 12px; line-height: 1.3; font-weight: 600; color: rgba(255,255,255,0.7); }
.cll2-input, .cll2-select {
  font-size: 14px; line-height: 1.45;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px; padding: 8px 10px; color: var(--white);
  font-family: inherit; width: 100%;
  appearance: none; -webkit-appearance: none;
}
.cll2-select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%2394A3B8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; padding-right: 28px; }
.cll2-input:focus, .cll2-select:focus { outline: none; border-color: var(--gold); }
.cll2-hint { font-size: 11px; line-height: 1.3; color: rgba(255,255,255,0.4); margin-top: 2px; }

/* Results panel */
.cll2-panel { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 8px; padding: 14px 16px; }
.cll2-panel-title { font-size: 13px; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 10px; }
.cll2-units { display: flex; gap: 12px; padding: 2px 0 6px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.cll2-unit { font-size: 11px; color: rgba(255,255,255,0.45); font-variant-numeric: tabular-nums; }
.cll2-line { display: flex; justify-content: space-between; align-items: baseline; padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.cll2-line:last-child { border-bottom: none; }
.cll2-line-label { font-size: 13px; color: rgba(255,255,255,0.7); }
.cll2-line-value { font-size: 16px; font-weight: 700; color: var(--white); font-variant-numeric: tabular-nums; }
.cll2-line-value.cll2-highlight { color: var(--gold); font-size: 18px; }
.cll2-line-value.cll2-green { color: var(--green); }
.cll2-line-value.cll2-red { color: var(--red); }
.cll2-units-note { font-size: 10px; color: rgba(255,255,255,0.3); padding: 0 0 4px; font-style: italic; }
.cll2-note { font-size: 11px; line-height: 1.4; color: rgba(255,255,255,0.35); margin-top: 10px; padding-top: 8px; border-top: 1px solid rgba(255,255,255,0.06); }
.cll2-unsure-text { font-size: 13px; line-height: 1.5; color: rgba(255,255,255,0.7); margin-bottom: 8px; }
.cll2-unsure-text strong { color: var(--gold); }

/* Toggle + lead form */
.cll2-toggle { margin-top: 12px; }
.cll2-toggle-btn {
  width: 100%; padding: 10px 14px; border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px; background: rgba(255,255,255,0.04); color: var(--gold);
  font-size: 13px; font-weight: 600; cursor: pointer; text-align: center;
  font-family: inherit; transition: background 0.15s;
}
.cll2-toggle-btn:hover { background: rgba(255,255,255,0.08); }
.cll2-form-wrap { margin-top: 10px; }
.cll2-form { display: flex; flex-direction: column; gap: 6px; }
.cll2-hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.cll2-submit {
  margin-top: 4px; padding: 10px 14px; border: none; border-radius: 6px;
  background: var(--gold); color: var(--navy); font-size: 14px; font-weight: 700;
  cursor: pointer; font-family: inherit; transition: background 0.15s;
}
.cll2-submit:hover { background: var(--gold-soft); }
.cll2-submit:disabled { opacity: 0.5; cursor: default; }
.cll2-form-status { font-size: 12px; line-height: 1.4; margin-top: 6px; min-height: 18px; }
.cll2-form-ok { color: var(--green); }
.cll2-form-err { color: var(--red); }
