:root {
  --agcl-navy: #0b1c2c;
  --agcl-gold: #d4af37;
  --agcl-white: #ffffff;
  --agcl-success: #10b981;
  --agcl-danger: #ef4444;
  --agcl-muted: #f4f6fb;
}

.agcl-card,
.agcl-form,
.agcl-investor,
.agcl-onb-card {
  font-family: "Inter", "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.agcl-card {
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
  border: 1px solid #d9e1ef;
  border-radius: 16px;
  padding: 16px;
  margin: 16px 0;
  box-shadow: 0 10px 24px rgba(15, 31, 61, 0.08);
}

.agcl-head h3 {
  margin: 0;
  color: var(--agcl-navy);
  font-size: 1.4rem;
}

.agcl-head p {
  margin: 6px 0 0;
  color: #495a7b;
}

.agcl-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #162a52;
}

.agcl-form input,
.agcl-form select,
.agcl-form textarea {
  width: 100%;
  border: 1px solid #c8d6ec;
  border-radius: 10px;
  min-height: 44px;
  padding: 10px 12px;
  font-size: 15px;
  background: #fff;
}

.agcl-form input:focus,
.agcl-form select:focus,
.agcl-form textarea:focus {
  outline: none;
  border-color: #2e65d1;
  box-shadow: 0 0 0 3px rgba(46, 101, 209, 0.14);
}

.agcl-grid {
  display: grid;
  gap: 12px;
  margin-bottom: 12px;
}

.agcl-grid-2 {
  grid-template-columns: 1fr;
}

.agcl-extras {
  margin: 10px 0 14px;
  background: #f7f9ff;
  border-radius: 10px;
  border: 1px solid #d7e2f5;
  padding: 10px;
}

.agcl-extras label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 6px 10px 0 0;
  font-weight: 500;
}

.agcl-extras input[type="checkbox"] {
  width: auto;
  min-height: auto;
}

.agcl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  font-weight: 700;
}

.agcl-btn-primary {
  background: linear-gradient(180deg, #1d5fd2 0%, #174bb0 100%);
  color: #fff;
}

.agcl-btn-outline {
  background: #fff;
  border-color: #2e65d1;
  color: #174bb0;
}

.agcl-alert {
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 12px;
  font-weight: 600;
}

.agcl-success {
  background: #e8fff2;
  border: 1px solid #8adab1;
  color: #1d7f4d;
}

.agcl-error {
  background: #fff1f0;
  border: 1px solid #f6b4ad;
  color: #a8392b;
}

.agcl-hidden {
  display: none;
}

.agcl-hp {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  pointer-events: none !important;
  height: 0 !important;
}

.agcl-filter-row {
  display: flex;
  gap: 8px;
  margin: 8px 0 14px;
  flex-wrap: wrap;
}

.agcl-tour-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}

.agcl-tour-item {
  border: 1px solid #d8e1f2;
  border-radius: 12px;
  padding: 12px;
  background: #fff;
}

.agcl-tour-meta {
  color: #425a84;
  margin-bottom: 8px;
}

.agcl-tour-item form {
  display: grid;
  gap: 8px;
}

.agcl-onb-card {
  border-color: #cfdae8;
}

.agcl-onb-role-switch {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.agcl-onb-role-switch label {
  border: 1px solid #cad7ed;
  border-radius: 10px;
  padding: 10px 8px;
  text-align: center;
  font-weight: 600;
  background: #fff;
}

.agcl-onb-panel {
  border: 1px solid #dbe5f5;
  background: #f8fbff;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 12px;
}

.agcl-onb-panel h4 {
  margin: 0 0 10px;
  color: var(--agcl-navy);
}

.agcl-onb-footnote {
  margin: 10px 0 14px;
  padding: 10px;
  border-radius: 10px;
  border: 1px dashed #b8c8e5;
  background: #f8faff;
  color: #1c335a;
  font-size: 0.95rem;
}

.agcl-onb-session {
  margin-top: 8px;
  font-size: 0.95rem;
}

.agcl-onb-status {
  margin-bottom: 12px;
  border: 1px solid #d9e2f2;
  border-radius: 12px;
  padding: 10px;
  background: #fff;
}

.agcl-onb-status-card {
  margin-bottom: 12px;
  border: 1px solid #d5e3f5;
  border-radius: 12px;
  padding: 10px 12px;
  background: #f8fbff;
  color: #1d355c;
}

.agcl-onb-doc-list {
  margin-top: 8px;
  font-size: 0.92rem;
  line-height: 1.45;
}

.agcl-investor {
  background:
    radial-gradient(circle at 15% 5%, rgba(212, 175, 55, 0.11), transparent 35%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.agcl-steps {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}

.agcl-steps span {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid #c6d4ea;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #36527e;
  background: #fff;
}

.agcl-steps span.is-active {
  background: var(--agcl-navy);
  color: #fff;
  border-color: var(--agcl-navy);
}

.agcl-investor-step h4 {
  margin: 0 0 10px;
}

.agcl-choice-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr;
  margin-bottom: 12px;
}

.agcl-choice-grid label {
  border: 1px solid #cfdcf0;
  border-radius: 10px;
  padding: 10px;
  font-weight: 600;
  background: #fff;
}

.agcl-budget-value {
  margin-top: 8px;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--agcl-navy);
}

.agcl-investor-actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  margin-bottom: 14px;
}

.agcl-btn-gold {
  background: linear-gradient(180deg, #e2bc47 0%, #c49a21 100%);
  color: #1f2f4f;
}

.agcl-investor-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.agcl-investor-table-wrap,
.agcl-investor-kpi {
  border: 1px solid #d6e1f1;
  background: #fff;
  border-radius: 12px;
  padding: 12px;
}

.agcl-investor-table {
  width: 100%;
  border-collapse: collapse;
}

.agcl-investor-table th,
.agcl-investor-table td {
  border-bottom: 1px solid #e6ecf6;
  padding: 8px 6px;
  text-align: left;
  font-size: 0.95rem;
}

.agcl-investor-table th {
  color: #18345f;
}

.agcl-kpi-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px dashed #d8e2f3;
}

.agcl-kpi-row strong {
  color: var(--agcl-navy);
}

.agcl-kpi-bar {
  height: 10px;
  border-radius: 999px;
  background: #ecf0f8;
  margin: 8px 0 12px;
  overflow: hidden;
}

.agcl-kpi-bar i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #274c87, #d4af37);
}

@media (min-width: 768px) {
  .agcl-grid-2 {
    grid-template-columns: 1fr 1fr;
  }

  .agcl-tour-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .agcl-choice-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .agcl-investor-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

@media (min-width: 1024px) {
  .agcl-tour-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
