/* overlap-screen.css — 20/20/20 Overlap Date Screener, scoped under .ols2 */
/* Adapted from closing-calc.css (.ccc2) with prefix renamed */
.ols2 {
  --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: 20px 24px 18px;
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
}
.ols2 *, .ols2 *::before, .ols2 *::after { box-sizing: border-box; margin: 0; padding: 0; }
.ols2 p, .ols2 ul, .ols2 li, .ols2 label, .ols2 h3, .ols2 h4, .ols2 input, .ols2 button {
  font-size: 14px; line-height: 1.45;
}
.ols2 div { font-size: 14px; line-height: 1.45; }

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

/* Input groups */
.ols2-group { margin-bottom: 14px; }
.ols2-group-label { font-size: 13px; line-height: 1.4; font-weight: 700; color: var(--gold); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.05em; }

.ols2-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 8px; }
.ols2-field { display: flex; flex-direction: column; gap: 3px; }
.ols2-label { font-size: 12px; line-height: 1.3; font-weight: 600; color: rgba(255,255,255,0.7); }
.ols2-input {
  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%;
}
.ols2-input:focus { outline: none; border-color: var(--gold); }

/* Checkbox row */
.ols2-check { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; cursor: pointer; }
.ols2-check input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--gold); cursor: pointer; }
.ols2-check span { font-size: 13px; line-height: 1.4; color: rgba(255,255,255,0.8); }

/* Results card */
.ols2-results { display: none; margin-top: 16px; }
.ols2-results.ols2-visible { display: block; }

.ols2-headline {
  background: linear-gradient(135deg, var(--navy-mid), var(--navy-light));
  border: 1px solid rgba(255,255,255,0.1); border-radius: 10px;
  padding: 20px; margin-bottom: 12px; text-align: center;
}
.ols2-headline-label { font-size: 12px; line-height: 1.3; color: rgba(255,255,255,0.6); margin-bottom: 4px; }
.ols2-headline-value { font-family: 'Source Serif 4', Georgia, serif; font-size: 28px; line-height: 1.2; font-weight: 700; color: var(--gold); }

/* KV rows */
.ols2-kv { display: flex; justify-content: space-between; align-items: baseline; padding: 4px 0; font-size: 13px; line-height: 1.4; }
.ols2-kv-label { color: rgba(255,255,255,0.7); }
.ols2-kv-value { font-weight: 600; }

/* Collapsible sections */
.ols2-section { border: 1px solid rgba(255,255,255,0.08); border-radius: 8px; margin-top: 10px; overflow: hidden; }
.ols2-section-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 14px; cursor: pointer; font-size: 13px; line-height: 1.4; font-weight: 600;
  background: rgba(255,255,255,0.03);
}
.ols2-section-head:hover { background: rgba(255,255,255,0.06); }
.ols2-section-body { display: none; padding: 10px 14px 14px; }
.ols2-section.ols2-open .ols2-section-body { display: block; }
.ols2-section-arrow { transition: transform 0.2s; font-size: 12px; line-height: 1; }
.ols2-section.ols2-open .ols2-section-arrow { transform: rotate(90deg); }

.ols2-line { font-size: 13px; line-height: 1.5; color: rgba(255,255,255,0.85); margin-bottom: 6px; }
.ols2-line:last-child { margin-bottom: 0; }

/* Flag */
.ols2-flag { font-size: 12px; line-height: 1.4; color: var(--gold); padding: 8px 12px; background: rgba(255,184,0,0.08); border-radius: 6px; margin-top: 8px; }

/* CTA */
.ols2-cta {
  display: block; text-align: center; background: var(--gold); color: var(--navy);
  border-radius: 8px; padding: 12px; font-size: 14px; line-height: 1.45; font-weight: 700;
  text-decoration: none; margin-top: 12px;
}
.ols2-cta:hover { background: var(--gold-soft); }

/* Disclaimer */
.ols2-disclaimer { font-size: 11px; line-height: 1.4; color: rgba(255,255,255,0.35); margin-top: 16px; }

/* Scoped Divi resets */
.ols2 label { display: block; font-weight: 600; }
.ols2 input[type="date"] { -webkit-appearance: none; appearance: none; }
.ols2 button { cursor: pointer; border: none; }

@media (max-width: 480px) {
  .ols2-row { grid-template-columns: 1fr; }
  .ols2-headline-value { font-size: 24px; }
}
