:root {
  --bg: #f5efe4;
  --panel: rgba(255, 250, 244, 0.86);
  --panel-strong: #fff9f1;
  --ink: #1f1b16;
  --muted: #665d50;
  --accent: #ce5f3c;
  --accent-2: #0b6e69;
  --line: rgba(31, 27, 22, 0.1);
  --shadow: 0 18px 48px rgba(41, 32, 23, 0.12);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "SF Pro Display", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(206, 95, 60, 0.18), transparent 32%),
    radial-gradient(circle at top right, rgba(11, 110, 105, 0.16), transparent 28%),
    linear-gradient(180deg, #f3eadc 0%, #f7f2e9 100%);
}

.app-shell {
  width: min(1240px, calc(100vw - 24px));
  margin: 0 auto;
  padding: 20px 0 40px;
}

.hero {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 18px;
  align-items: stretch;
  margin-bottom: 18px;
}

.hero-copy,
.forecast-card,
.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 28px;
}

.eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}

h1 {
  margin: 0 0 12px;
  font-size: clamp(30px, 5vw, 52px);
  line-height: 0.96;
  max-width: 11ch;
}

.hero-text {
  margin: 0;
  max-width: 62ch;
  color: var(--muted);
  line-height: 1.55;
}

.forecast-card {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    linear-gradient(160deg, rgba(11, 110, 105, 0.94), rgba(8, 86, 81, 0.92));
  color: #ecf7f5;
}

.forecast-label {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.forecast-value {
  font-size: clamp(54px, 12vw, 96px);
  line-height: 0.95;
  font-weight: 800;
}

.forecast-band,
.forecast-note {
  margin: 8px 0 0;
  color: rgba(236, 247, 245, 0.88);
}

.dashboard {
  display: grid;
  gap: 18px;
}

.panel {
  padding: 22px;
}

.panel-head {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.panel-head h2 {
  margin: 0;
  font-size: 20px;
}

.ghost-button,
.search-input,
input,
textarea,
select {
  border: 1px solid var(--line);
  border-radius: 16px;
  font: inherit;
}

.ghost-button {
  padding: 10px 16px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

label {
  display: grid;
  gap: 8px;
}

label span {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

input,
textarea,
select,
.search-input {
  width: 100%;
  padding: 12px 14px;
  background: var(--panel-strong);
}

textarea {
  min-height: 94px;
  resize: vertical;
}

select[multiple] {
  min-height: 120px;
}

.checkbox-row {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.checkbox-row input {
  width: auto;
}

.company-layout {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 16px;
}

.company-list,
.selected-box,
.jobs-list {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel-strong);
  padding: 14px;
}

.company-list {
  max-height: 420px;
  overflow: auto;
  display: grid;
  gap: 10px;
}

.company-card {
  display: grid;
  gap: 6px;
  padding: 14px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(31, 27, 22, 0.06);
}

.company-card button {
  justify-self: start;
  border: none;
  background: var(--accent);
  color: #fff;
  padding: 8px 12px;
  border-radius: 999px;
  cursor: pointer;
}

.company-meta,
.selected-label,
.job-meta,
.hint-list li {
  color: var(--muted);
}

.selected-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(206, 95, 60, 0.1);
  color: var(--ink);
}

.tag button {
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--accent);
  font-weight: 700;
}

.split-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.hint-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.stats-grid article {
  padding: 16px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(31, 27, 22, 0.06);
}

.stats-grid strong {
  display: block;
  font-size: 32px;
  margin-top: 6px;
}

.jobs-list {
  display: grid;
  gap: 12px;
}

.job-card {
  padding: 16px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(31, 27, 22, 0.06);
}

.job-card h3 {
  margin: 0 0 6px;
}

.job-card p {
  margin: 6px 0 0;
  line-height: 1.5;
}

.job-card a {
  color: var(--accent-2);
  font-weight: 700;
}

@media (max-width: 960px) {
  .hero,
  .company-layout,
  .split-panel,
  .form-grid {
    grid-template-columns: 1fr;
  }
}
