.arbe-hlc-tool,
.arbe-hlc-admin-grid {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.arbe-hlc-card,
.arbe-hlc-admin-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
  padding: 24px;
}

.arbe-hlc-tool {
  max-width: 980px;
  margin: 0 auto;
}

.arbe-hlc-eyebrow {
  color: #2563eb;
  font-weight: 800;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 12px;
}

.arbe-hlc-card h2 {
  margin: 0 0 10px;
  font-size: 32px;
  line-height: 1.1;
}

.arbe-hlc-lead {
  margin: 0 0 20px;
  color: #475569;
  line-height: 1.6;
}

.arbe-hlc-grid {
  display: grid;
  grid-template-columns: 180px 1fr 180px;
  gap: 14px;
  align-items: end;
}

.arbe-hlc-grid-context {
  grid-template-columns: 1fr 1fr 1fr;
  margin-bottom: 14px;
  align-items: stretch;
}

.arbe-hlc-grid label {
  display: block;
}

.arbe-hlc-grid span {
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
  font-size: 13px;
  color: #334155;
}

.arbe-hlc-grid input,
.arbe-hlc-grid select,
.arbe-hlc-btn {
  width: 100%;
  min-height: 46px;
  border-radius: 12px;
  border: 1px solid #cbd5e1;
  font-size: 16px;
}

.arbe-hlc-grid input,
.arbe-hlc-grid select {
  padding: 0 14px;
}

.arbe-hlc-inline-note {
  border: 1px dashed #bfdbfe;
  background: #eff6ff;
  color: #1d4ed8;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.5;
  display: flex;
  align-items: center;
}

.arbe-hlc-btn,
.arbe-hlc-copy {
  cursor: pointer;
  border: none;
  background: #2563eb;
  color: #fff;
  font-weight: 700;
  padding: 0 18px;
}

.arbe-hlc-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.arbe-hlc-chip {
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  border-radius: 999px;
  padding: 8px 12px;
  cursor: pointer;
}

.arbe-hlc-status-row {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 18px;
}

.arbe-hlc-pill {
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  padding: 8px 12px;
  font-weight: 700;
}

.arbe-hlc-note {
  color: #64748b;
  font-size: 14px;
}

.arbe-hlc-message {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 600;
}

.arbe-hlc-message.success {
  background: #ecfdf5;
  color: #047857;
}

.arbe-hlc-message.error {
  background: #fef2f2;
  color: #b91c1c;
}

.arbe-hlc-message.info {
  background: #eff6ff;
  color: #1d4ed8;
}

.arbe-hlc-result {
  margin-top: 20px;
  border-top: 1px solid #e2e8f0;
  padding-top: 20px;
}

.arbe-hlc-section + .arbe-hlc-section,
.arbe-hlc-fp-wrap {
  margin-top: 18px;
}

.arbe-hlc-section-title {
  color: #0f172a;
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 10px;
}

.arbe-hlc-result-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

.arbe-hlc-result-label {
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 6px;
}

.arbe-hlc-reference {
  font-size: 28px;
  font-weight: 800;
}

.arbe-hlc-swatch {
  width: 88px;
  height: 88px;
  border-radius: 16px;
  border: 1px solid rgba(15,23,42,.08);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.4);
}

.arbe-hlc-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.arbe-hlc-meta-grid div {
  background: #f8fafc;
  border-radius: 14px;
  padding: 12px;
  border: 1px solid #e2e8f0;
}

.arbe-hlc-meta-grid span {
  display: block;
  font-size: 12px;
  color: #64748b;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.arbe-hlc-meta-grid strong {
  font-size: 15px;
  word-break: break-word;
}

.arbe-hlc-span-2 {
  grid-column: span 2;
}

.arbe-hlc-span-3 {
  grid-column: span 3;
}

.arbe-hlc-fp-wrap textarea {
  width: 100%;
  min-height: 120px;
  border-radius: 14px;
  border: 1px solid #cbd5e1;
  padding: 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.arbe-hlc-copy {
  min-height: 42px;
  margin-top: 10px;
  border-radius: 12px;
  padding: 0 16px;
}

.arbe-hlc-admin-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1.4fr 1fr;
  margin-top: 20px;
}

.arbe-hlc-progress {
  width: 100%;
  height: 12px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
  margin-top: 10px;
}

.arbe-hlc-progress-bar {
  height: 100%;
  background: #2563eb;
  width: 0;
  transition: width .2s ease;
}

@media (max-width: 900px) {
  .arbe-hlc-grid,
  .arbe-hlc-grid-context,
  .arbe-hlc-meta-grid,
  .arbe-hlc-admin-grid {
    grid-template-columns: 1fr;
  }

  .arbe-hlc-span-2,
  .arbe-hlc-span-3 {
    grid-column: span 1;
  }

  .arbe-hlc-result-top {
    align-items: flex-start;
    flex-direction: column;
  }
}
