/* ═══════════════════════════════════════════════════════════════
   POOKIJ MINING — CLAIM FINDER STYLESHEET
   Design: Matches main site — dark western / Rye + Playfair fonts
═══════════════════════════════════════════════════════════════ */

/* ── Reset & Variables ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold: #c8963e;
  --gold-light: #f0c46a;
  --gold-pale: #f5dfa0;
  --gold-dark: #8A6210;
  --dark: #1a1208;
  --dark2: #1e1509;
  --dark3: #2a1f0e;
  --cream: #f9f3e3;
  --stone: #7a6a52;
  --rust: #8b3a1a;
  --earth: #3d2b1a;
  --coal: #1A1814;
  --charcoal: #2D2B27;
  --slate: #5C5850;
  --dust: #A09880;
  --sand: rgba(200,150,62,0.25);
  --paper: #1e1509;
  --white: rgba(255,255,255,0.04);
  --green: #2E7D32;
  --green-light: rgba(46,125,50,0.15);
  --red: #C62828;
  --red-light: rgba(198,40,40,0.12);
  --amber: #E65100;
  --amber-light: rgba(230,81,0,0.12);
  --blue: #1565C0;
  --blue-light: rgba(21,101,192,0.12);
  --font-display: 'Rye', serif;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Source Serif 4', serif;
  --font-mono: 'JetBrains Mono', monospace;
  --radius: 6px;
  --radius-lg: 10px;
  --shadow: 0 2px 12px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 24px rgba(0,0,0,0.4);
  --border: 1px solid rgba(200,150,62,0.2);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--dark);
  color: var(--cream);
  line-height: 1.6;
  font-size: 15px;
  overflow-x: hidden;
}

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ── Nav — exact main site match ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(26,18,8,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(200,150,62,0.3);
  padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.nav-logo { font-family: 'Rye', serif; color: var(--gold); font-size: 1.3rem; text-decoration: none; }
.nav-links { display: flex; gap: 1.5rem; list-style: none; }
.nav-links a { color: var(--cream); text-decoration: none; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; transition: color .2s; font-family: var(--font-body); }
.nav-links a:hover, .nav-links a.nav-active { color: var(--gold); }
.nav-links .nav-active { color: var(--gold-light); font-family: 'Rye', serif; }

/* ── Hero — matches main site ── */
.cf-hero {
  min-height: 44vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  padding: 120px 2rem 4rem;
  text-align: center;
}
.cf-hero .hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(200,150,62,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 60% 80% at 20% 80%, rgba(139,58,26,0.2) 0%, transparent 60%),
    linear-gradient(180deg, #1a1208 0%, #2a1f0e 50%, #1a1208 100%);
}
.dust {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    radial-gradient(1px 1px at 20% 30%, rgba(240,196,106,0.7) 0%, transparent 100%),
    radial-gradient(1px 1px at 60% 20%, rgba(240,196,106,0.5) 0%, transparent 100%),
    radial-gradient(2px 2px at 70% 40%, rgba(240,196,106,0.8) 0%, transparent 100%),
    radial-gradient(1px 1px at 80% 60%, rgba(240,196,106,0.6) 0%, transparent 100%),
    radial-gradient(1px 1px at 40% 80%, rgba(240,196,106,0.4) 0%, transparent 100%),
    radial-gradient(2px 2px at 90% 10%, rgba(240,196,106,0.7) 0%, transparent 100%);
  background-size: 400px 400px;
  animation: shimmer 8s linear infinite;
  opacity: 0.5;
}
@keyframes shimmer { 0%{background-position:0 0} 100%{background-position:400px 400px} }

.cf-hero-badge {
  display: inline-block;
  border: 1px solid rgba(200,150,62,0.5);
  background: rgba(200,150,62,0.1);
  color: var(--gold-light);
  font-family: var(--font-body);
  font-size: .8rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 30px;
  margin-bottom: 1.5rem;
  position: relative; z-index: 1;
}
.cf-hero-title {
  font-family: 'Rye', serif;
  font-size: clamp(2.5rem, 7vw, 5rem);
  color: var(--cream);
  line-height: 1.1;
  margin-bottom: 1.25rem;
  position: relative; z-index: 1;
  text-shadow: 0 2px 20px rgba(200,150,62,0.4);
  animation: fadeUp .8s ease both;
}
.cf-hero-title em { color: var(--gold); font-style: italic; }
.cf-hero-sub {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: rgba(249,243,227,0.75);
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  position: relative; z-index: 1;
  animation: fadeUp .8s .2s ease both;
}
.cf-hero-stats {
  display: flex; align-items: center; justify-content: center; gap: 2rem;
  position: relative; z-index: 1;
  animation: fadeUp .8s .4s ease both;
}
@keyframes fadeUp { from{opacity:0;transform:translateY(24px)} to{opacity:1;transform:translateY(0)} }
.hstat { text-align: center; }
.hstat-n {
  display: block;
  font-family: 'Rye', serif;
  font-size: 1.8rem;
  color: var(--gold-light);
  line-height: 1;
}
.hstat-l { font-size: 12px; color: rgba(249,243,227,0.5); letter-spacing: .08em; text-transform: uppercase; }
.hstat-div { width: 1px; height: 40px; background: rgba(200,150,62,0.2); }

/* ── Stepper ── */
.stepper-wrap {
  background: #1e1509;
  border-bottom: 1px solid rgba(200,150,62,0.2);
  padding: 0;
  position: sticky;
  top: 64px;
  z-index: 50;
}
.stepper {
  display: flex;
  align-items: center;
  padding: 0;
  height: 56px;
}
.step {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 24px;
  height: 100%;
  cursor: pointer;
  transition: background 0.2s;
  position: relative;
}
.step:hover { background: rgba(200,150,62,0.06); }
.step.active { background: rgba(200,150,62,0.1); }
.step.done .step-circle { background: var(--green); }
.step.done .step-label { color: #81C784; }
.step-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(200,150,62,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Rye', serif;
  font-size: 13px;
  color: var(--dust);
  flex-shrink: 0;
  transition: background 0.2s;
}
.step.active .step-circle { background: var(--gold); color: var(--dark); border-color: var(--gold); }
.step-label {
  font-size: 13px;
  font-family: var(--font-body);
  color: rgba(249,243,227,0.45);
  white-space: nowrap;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.step.active .step-label { color: var(--gold-light); }
.step-line {
  flex: 1;
  height: 1px;
  background: rgba(200,150,62,0.15);
  min-width: 20px;
}

/* ── Main Content ── */
.main-content { padding: 2.5rem 0 4rem; min-height: 60vh; background: var(--dark); }

.panel { display: none; }
.panel.active-panel { display: block; }

.panel-header { margin-bottom: 2rem; }
.panel-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--cream);
  margin-bottom: 0.4rem;
}
.panel-header p { color: rgba(249,243,227,0.55); font-size: 15px; font-family: var(--font-body); }

/* ── Forms ── */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
@media (max-width: 768px) { .form-grid { grid-template-columns: 1fr; } }

.form-section {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(200,150,62,0.2);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
.form-section-title {
  font-family: 'Rye', serif;
  font-size: .85rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(200,150,62,0.2);
}

.field { flex: 1; min-width: 0; }
.field-row { display: flex; gap: 12px; margin-bottom: 14px; }
.field-row.three-col .field { flex: 1; }
.field label {
  display: block;
  font-size: 11px;
  color: rgba(249,243,227,0.45);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 5px;
  font-family: var(--font-body);
}
.field input[type=text],
.field input[type=number],
.field input[type=date],
.field select,
.field textarea {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid rgba(200,150,62,0.25);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.05);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 14px;
  transition: border-color 0.15s, box-shadow 0.15s;
  appearance: none;
  -webkit-appearance: none;
}
.field select option { background: #2a1f0e; color: var(--cream); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200,150,62,0.15);
}
.field input[readonly] {
  background: rgba(255,255,255,0.02);
  color: rgba(249,243,227,0.4);
  cursor: default;
}
.field input.mono, .field textarea.mono { font-family: var(--font-mono); font-size: 13px; }
.field textarea { resize: vertical; }

.field-divider {
  text-align: center;
  position: relative;
  margin: 16px 0;
}
.field-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(200,150,62,0.15);
}
.field-divider span {
  position: relative;
  background: rgba(255,255,255,0.03);
  padding: 0 12px;
  font-size: 12px;
  color: rgba(249,243,227,0.35);
  font-style: italic;
}

/* ── Toggles / Filters ── */
.filter-group { margin-bottom: 14px; }
.filter-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: rgba(249,243,227,0.45);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 7px;
  font-family: var(--font-body);
}
.badge-ai {
  background: rgba(200,150,62,0.2);
  color: var(--gold);
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 3px;
  font-style: normal;
  letter-spacing: 0.05em;
}
.toggle-set { display: flex; flex-wrap: wrap; gap: 6px; }
.tog {
  padding: 5px 11px;
  border: 1px solid rgba(200,150,62,0.2);
  border-radius: 20px;
  font-size: 12px;
  font-family: var(--font-body);
  color: rgba(249,243,227,0.5);
  background: transparent;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}
.tog:hover { border-color: var(--gold); color: var(--gold-light); }
.tog.active {
  background: rgba(200,150,62,0.15);
  border-color: var(--gold);
  color: var(--gold-light);
}

.slider-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.slider-row input[type=range] {
  flex: 1;
  accent-color: var(--gold);
  height: 4px;
}
.slider-row .mono {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--gold);
  min-width: 38px;
}

/* ── Panel Footer ── */
.panel-footer {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(200,150,62,0.15);
}
.data-note { font-size: 12px; color: rgba(249,243,227,0.35); }

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--dark);
  border: none;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-family: 'Rye', serif;
  font-size: 15px;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  box-shadow: 0 4px 20px rgba(200,150,62,0.3);
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn-primary:active { transform: scale(0.98); }
.btn-icon { font-size: 16px; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold);
  padding: 10px 22px;
  border-radius: var(--radius);
  font-family: 'Rye', serif;
  font-size: 14px;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.15s;
}
.btn-secondary:hover { background: rgba(200,150,62,0.1); transform: translateY(-2px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: rgba(249,243,227,0.5);
  border: 1px solid rgba(200,150,62,0.2);
  padding: 9px 18px;
  border-radius: var(--radius);
  font-size: 14px;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all 0.15s;
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-light); }

/* ── Results View ── */
.results-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  gap: 1rem;
}
.results-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--cream);
}
.results-header p { color: rgba(249,243,227,0.45); font-size: 14px; margin-top: 3px; }

.results-stats {
  display: flex;
  gap: 12px;
  margin-bottom: 1.5rem;
}
.rstat {
  flex: 1;
  padding: 14px 16px;
  border-radius: var(--radius-lg);
  border: 1px solid;
  text-align: center;
}
.rstat.green { background: rgba(46,125,50,0.12); border-color: rgba(46,125,50,0.3); }
.rstat.red { background: rgba(198,40,40,0.1); border-color: rgba(198,40,40,0.25); }
.rstat.amber { background: rgba(230,81,0,0.1); border-color: rgba(230,81,0,0.25); }
.rstat.blue { background: rgba(21,101,192,0.1); border-color: rgba(21,101,192,0.25); }
.rstat-n {
  display: block;
  font-family: 'Rye', serif;
  font-size: 1.8rem;
  line-height: 1;
  margin-bottom: 3px;
}
.rstat.green .rstat-n { color: #81C784; }
.rstat.red .rstat-n { color: #EF9A9A; }
.rstat.amber .rstat-n { color: #FFCC80; }
.rstat.blue .rstat-n { color: #90CAF9; }
.rstat-l { font-size: 12px; color: rgba(249,243,227,0.45); letter-spacing: .05em; text-transform: uppercase; }

.map-results-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 1.5rem;
  align-items: start;
}
@media (max-width: 900px) { .map-results-layout { grid-template-columns: 1fr; } }

.map-panel { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid rgba(200,150,62,0.25); }
#map { width: 100%; height: 480px; }

.map-legend {
  position: absolute;
  bottom: 40px;
  left: 10px;
  background: rgba(26,18,8,0.92);
  border: 1px solid rgba(200,150,62,0.2);
  border-radius: var(--radius);
  padding: 8px 12px;
  font-size: 12px;
  line-height: 2;
}
.ml-item { display: flex; align-items: center; gap: 7px; color: rgba(249,243,227,0.65); }
.ml-dot { width: 12px; height: 12px; border-radius: 2px; flex-shrink: 0; }

.map-sources {
  position: absolute;
  bottom: 8px;
  right: 10px;
  font-size: 10px;
  color: rgba(249,243,227,0.35);
  background: rgba(26,18,8,0.7);
  padding: 2px 6px;
  border-radius: 3px;
}

.results-list { display: flex; flex-direction: column; gap: 12px; max-height: 540px; overflow-y: auto; padding-right: 4px; }

/* ── Result Cards ── */
.result-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(200,150,62,0.15);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  border-left: 4px solid rgba(200,150,62,0.2);
  transition: background 0.15s, border-color 0.15s;
  cursor: pointer;
}
.result-card:hover { background: rgba(200,150,62,0.05); border-color: rgba(200,150,62,0.3); }
.result-card.available { border-left-color: #4CAF50; }
.result-card.claimed { border-left-color: #E57373; opacity: 0.55; cursor: default; }
.result-card.historical { border-left-color: #FFB74D; }
.result-card.withdrawn { border-left-color: #64B5F6; opacity: 0.55; cursor: default; }

.card-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; margin-bottom: 6px; }
.card-badges { display: flex; gap: 5px; flex-wrap: wrap; }
.badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  font-family: var(--font-body);
}
.badge-green { background: rgba(76,175,80,0.18); color: #81C784; border: 1px solid rgba(76,175,80,0.25); }
.badge-red { background: rgba(229,115,115,0.15); color: #EF9A9A; border: 1px solid rgba(229,115,115,0.2); }
.badge-amber { background: rgba(255,183,77,0.15); color: #FFCC80; border: 1px solid rgba(255,183,77,0.2); }
.badge-blue { background: rgba(100,181,246,0.15); color: #90CAF9; border: 1px solid rgba(100,181,246,0.2); }
.badge-gold { background: rgba(200,150,62,0.15); color: var(--gold-light); border: 1px solid rgba(200,150,62,0.25); }

.card-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: var(--cream);
  margin-bottom: 4px;
}
.card-meta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 12px;
  color: rgba(249,243,227,0.4);
}
.card-meta span { display: flex; align-items: center; gap: 3px; }

.ai-insight {
  margin-top: 10px;
  background: rgba(200,150,62,0.08);
  border: 1px solid rgba(200,150,62,0.2);
  border-radius: var(--radius);
  padding: 9px 12px;
  font-size: 13px;
  color: rgba(249,243,227,0.7);
  line-height: 1.6;
}
.ai-insight-label {
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-body);
}

.card-action { margin-top: 10px; }

/* ── Loading ── */
.loading-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 3rem;
  color: rgba(249,243,227,0.4);
  font-size: 14px;
}
.spinner {
  width: 28px;
  height: 28px;
  border: 3px solid rgba(200,150,62,0.2);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Analysis View ── */
.analysis-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 1.5rem;
  align-items: start;
}
@media (max-width: 900px) { .analysis-layout { grid-template-columns: 1fr; } }

.score-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(200,150,62,0.25);
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.score-ring { position: relative; width: 80px; height: 80px; flex-shrink: 0; }
.score-ring svg { width: 80px; height: 80px; }
.score-number {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  font-family: 'Rye', serif;
  font-size: 1.2rem;
  color: var(--gold-light);
}
.score-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--cream);
  margin-bottom: 4px;
}
.score-coords { font-family: var(--font-mono); font-size: 12px; color: rgba(249,243,227,0.4); margin-bottom: 6px; }
.score-verdict {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 3px;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-family: var(--font-body);
}
.verdict-high { background: rgba(76,175,80,0.15); color: #81C784; border: 1px solid rgba(76,175,80,0.2); }
.verdict-medium { background: rgba(255,183,77,0.15); color: #FFCC80; border: 1px solid rgba(255,183,77,0.2); }
.verdict-low { background: rgba(229,115,115,0.12); color: #EF9A9A; border: 1px solid rgba(229,115,115,0.15); }

.tab-nav {
  display: flex;
  gap: 0;
  border-bottom: 1px solid rgba(200,150,62,0.2);
  margin-bottom: 1.25rem;
}
.tabn {
  padding: 10px 18px;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(249,243,227,0.4);
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.tabn:hover { color: rgba(249,243,227,0.7); }
.tabn.active { color: var(--gold-light); border-bottom-color: var(--gold); }

.tab-content { display: none; }
.tab-content.active-tab { display: block; }

.ai-response-box {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(200,150,62,0.2);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  line-height: 1.8;
  font-size: 14px;
  color: rgba(249,243,227,0.8);
  margin-bottom: 1.25rem;
  min-height: 80px;
  white-space: pre-wrap;
}
.ai-spinner {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(249,243,227,0.4);
  font-size: 13px;
  padding: 0.5rem;
}

.indicator-bars { display: flex; flex-direction: column; gap: 10px; }
.ind-row { }
.ind-header {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 4px;
}
.ind-label { color: rgba(249,243,227,0.6); }
.ind-value { font-size: 12px; letter-spacing: .04em; }
.ind-value.high { color: #81C784; }
.ind-value.medium { color: #FFCC80; }
.ind-value.low { color: #EF9A9A; }
.ind-bar { height: 5px; background: rgba(255,255,255,0.08); border-radius: 3px; }
.ind-fill { height: 100%; border-radius: 3px; transition: width 1s ease; }
.ind-fill.high { background: #4CAF50; }
.ind-fill.medium { background: var(--gold); }
.ind-fill.low { background: #E57373; }

/* Mines list */
.mines-list { display: flex; flex-direction: column; gap: 1px; }
.mine-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid rgba(200,150,62,0.1);
  gap: 12px;
}
.mine-row:last-child { border-bottom: none; }
.mine-name { font-size: 14px; color: var(--cream); margin-bottom: 2px; font-family: 'Playfair Display', serif; }
.mine-detail { font-size: 12px; color: rgba(249,243,227,0.45); }
.mine-dist {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gold);
  white-space: nowrap;
}

/* Risk list */
.risk-list { display: flex; flex-direction: column; gap: 10px; }
.risk-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 1px solid;
}
.risk-item.ok { background: rgba(76,175,80,0.08); border-color: rgba(76,175,80,0.2); }
.risk-item.warn { background: rgba(255,183,77,0.08); border-color: rgba(255,183,77,0.2); }
.risk-item.info { background: rgba(100,181,246,0.08); border-color: rgba(100,181,246,0.2); }
.risk-icon {
  width: 22px; height: 22px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; flex-shrink: 0; margin-top: 1px; font-weight: 700;
}
.risk-item.ok .risk-icon { background: rgba(76,175,80,0.3); color: #81C784; }
.risk-item.warn .risk-icon { background: rgba(255,183,77,0.3); color: #FFCC80; }
.risk-item.info .risk-icon { background: rgba(100,181,246,0.3); color: #90CAF9; }
.risk-title { font-size: 14px; color: var(--cream); margin-bottom: 2px; }
.risk-desc { font-size: 13px; color: rgba(249,243,227,0.55); line-height: 1.5; }

/* Steps list */
.steps-list { display: flex; flex-direction: column; gap: 0; }
.step-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(200,150,62,0.1);
}
.step-item:last-child { border-bottom: none; }
.step-num-circle {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(200,150,62,0.1);
  border: 1px solid rgba(200,150,62,0.4);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Rye', serif;
  font-size: 13px;
  color: var(--gold);
  flex-shrink: 0;
}
.step-title { font-size: 14px; color: var(--cream); margin-bottom: 3px; }
.step-desc { font-size: 13px; color: rgba(249,243,227,0.5); line-height: 1.5; }
.step-link { font-size: 12px; color: var(--gold); text-decoration: none; margin-top: 3px; display: inline-block; }
.step-link:hover { color: var(--gold-light); text-decoration: underline; }

/* ── Side cards ── */
.analysis-side { display: flex; flex-direction: column; gap: 14px; }
.filing-side { display: flex; flex-direction: column; gap: 14px; }

.side-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(200,150,62,0.18);
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
}
.side-card h4 {
  font-family: 'Rye', serif;
  font-size: .8rem;
  color: var(--gold);
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(200,150,62,0.15);
}

.cost-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 5px 0;
  border-bottom: 1px solid rgba(200,150,62,0.1);
  color: rgba(249,243,227,0.5);
}
.cost-row:last-of-type { border-bottom: none; }
.cost-row.total { color: var(--cream); padding-top: 8px; }
.cost-row .gold { color: var(--gold); font-family: var(--font-mono); }
.cost-note { font-size: 11px; color: rgba(249,243,227,0.3); margin-top: 6px; font-style: italic; }

.detail-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 5px 0;
  border-bottom: 1px solid rgba(200,150,62,0.1);
  gap: 8px;
}
.detail-row:last-child { border-bottom: none; }
.detail-key { color: rgba(249,243,227,0.35); font-size: 12px; white-space: nowrap; }
.detail-val { color: rgba(249,243,227,0.8); text-align: right; font-size: 13px; }

.source-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  border-bottom: 1px solid rgba(200,150,62,0.1);
  font-size: 13px;
}
.source-row:last-child { border-bottom: none; }
.source-icon { font-size: 14px; }
.source-name { color: rgba(249,243,227,0.7); }
.source-detail { font-size: 11px; color: rgba(249,243,227,0.35); }

/* ── Filing Form ── */
.filing-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2rem;
  align-items: start;
}
@media (max-width: 900px) { .filing-layout { grid-template-columns: 1fr; } }

.form-block {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(200,150,62,0.18);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}
.form-block h3 {
  font-family: 'Rye', serif;
  font-size: .85rem;
  color: var(--gold);
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(200,150,62,0.15);
}

.req { color: #EF9A9A; }

.ai-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(200,150,62,0.08);
  border: 1px solid rgba(200,150,62,0.25);
  border-radius: var(--radius-lg);
  padding: 12px 16px;
  font-size: 13px;
  color: rgba(249,243,227,0.7);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}
.ai-badge {
  background: var(--gold);
  color: var(--dark);
  font-size: 11px;
  font-family: 'Rye', serif;
  padding: 2px 7px;
  border-radius: 3px;
  white-space: nowrap;
  margin-top: 2px;
}

.filing-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 1.5rem;
}

/* Filing checklist */
.filing-checklist { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.fcheck {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: rgba(249,243,227,0.55);
  line-height: 1.5;
}
.fcheck-icon {
  width: 20px; height: 20px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; flex-shrink: 0; margin-top: 1px;
}
.fcheck.todo .fcheck-icon {
  background: transparent;
  border: 1.5px solid rgba(200,150,62,0.3);
  color: rgba(249,243,227,0.3);
}
.fcheck.done .fcheck-icon { background: rgba(76,175,80,0.25); color: #81C784; border: 1px solid rgba(76,175,80,0.3); }
.fcheck strong { color: var(--cream); }

.warning-card { border-left: 3px solid var(--gold) !important; }
.warning-list { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.warning-list li {
  font-size: 12px;
  color: rgba(249,243,227,0.5);
  padding-left: 14px;
  position: relative;
  line-height: 1.5;
}
.warning-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--gold);
}

.contact-row {
  display: flex;
  flex-direction: column;
  padding: 7px 0;
  border-bottom: 1px solid rgba(200,150,62,0.1);
  font-size: 13px;
}
.contact-row:last-child { border-bottom: none; }
.contact-name { color: var(--cream); }
.contact-phone { color: var(--gold); font-family: var(--font-mono); font-size: 12px; }
.contact-url { color: rgba(100,181,246,0.8); font-size: 12px; text-decoration: none; }
.contact-url:hover { color: #90CAF9; text-decoration: underline; }

/* ── Footer — matches main site exactly ── */
footer {
  background: #110d04;
  border-top: 1px solid rgba(200,150,62,0.2);
  padding: 3rem 2rem;
  text-align: center;
}
footer .footer-logo { font-family: 'Rye', serif; color: var(--gold); font-size: 1.8rem; margin-bottom: .5rem; }
footer p { font-size: .85rem; color: rgba(249,243,227,0.4); margin: .5rem 0; }
.footer-links { display: flex; gap: 2rem; justify-content: center; flex-wrap: wrap; margin: 1rem 0; list-style: none; }
.footer-links a { color: rgba(249,243,227,0.5); text-decoration: none; font-size: .85rem; transition: color .2s; }
.footer-links a:hover { color: var(--gold); }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: rgba(200,150,62,0.3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(200,150,62,0.5); }

/* ── Utility ── */
.mono { font-family: var(--font-mono) !important; }
.hidden { display: none !important; }
