.lookahead-panel {
  margin: 14px;
  padding: 18px;
  background: #fff;
  border: 1px solid #d9e3ea;
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(15, 47, 72, .08);
}
.lookahead-panel[hidden] { display: none; }
.lookahead-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.lookahead-head h2 { margin: 2px 0 6px; color: #0f2f48; font-size: 1.35rem; }
.lookahead-head p { margin: 0; color: #607180; }
.lookahead-kicker { color: #a85f00 !important; font-size: .76rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.lookahead-actions, .lookahead-controls { display: flex; flex-wrap: wrap; gap: 9px; }
.lookahead-controls { align-items: end; margin-top: 16px; }
.lookahead-controls label { display: grid; gap: 5px; color: #173f5f; font-size: .78rem; font-weight: 800; }
.lookahead-controls select { min-height: 42px; padding: 8px 32px 8px 10px; border: 1px solid #b8c9d4; border-radius: 10px; background: #fff; }
.lookahead-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; margin-top: 15px; }
.lookahead-metric { padding: 12px; background: #eaf3f8; border-radius: 12px; }
.lookahead-metric strong { display: block; color: #173f5f; font-size: 1.35rem; }
.lookahead-metric span { color: #607180; font-size: .76rem; }
.lookahead-status { min-height: 1.3em; color: #16845b; font-size: .82rem; font-weight: 800; }
.lookahead-status.error { color: #b53b3b; }
.lookahead-list { display: grid; gap: 9px; }
.lookahead-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding: 13px; border: 1px solid #d9e3ea; border-left: 5px solid #b53b3b; border-radius: 12px; }
.lookahead-card[data-ready="true"] { border-left-color: #16845b; }
.lookahead-card h3 { margin: 0; color: #0f2f48; font-size: .98rem; }
.lookahead-card p { margin: 5px 0 0; color: #607180; font-size: .8rem; }
.lookahead-card .lookahead-reasons { color: #b53b3b; }
.lookahead-card[data-ready="true"] .lookahead-reasons { color: #16845b; }
.lookahead-empty { padding: 24px; color: #607180; text-align: center; border: 1px dashed #b8c9d4; border-radius: 12px; }
@media (max-width: 720px) {
  .lookahead-panel { margin: 10px; padding: 14px; }
  .lookahead-head, .lookahead-card { display: grid; grid-template-columns: 1fr; }
  .lookahead-summary { grid-template-columns: 1fr 1fr; }
  .lookahead-actions .btn, .lookahead-card .btn { width: 100%; }
}
@media print { .lookahead-actions, .lookahead-controls, .lookahead-status { display: none !important; } }
