/**
 * HP-inspired design system — Omnibot HP Quotes
 * Colores de referencia: HP Electric Blue #0096D6, acentos oscuros y neutros alineados a identidad HP.
 */

:root {
  /* Marca HP */
  --hp-blue: #0096d6;
  --hp-blue-hover: #007ab8;
  --hp-blue-active: #006899;
  --hp-blue-muted: #e5f4fc;
  --hp-blue-ring: rgba(0, 150, 214, 0.35);

  /* Estructura */
  --hp-ink: #1a1a1a;
  --hp-ink-secondary: #4a5568;
  --hp-ink-muted: #718096;
  --hp-border: #d1dce6;
  --hp-border-light: #e8eef4;
  --hp-surface: #ffffff;
  --hp-bg: #f0f7fc;
  --hp-bg-accent: linear-gradient(165deg, #e8f4fb 0%, #f5f9fc 48%, #eef6fb 100%);

  /* Estados */
  --hp-danger: #c53030;
  --hp-danger-bg: #fff5f5;
  --hp-success: #2f855a;
  --hp-success-bg: #f0fff4;

  /* Formas (esquinas suaves, consistentes con UI moderna HP) */
  --hp-radius-sm: 6px;
  --hp-radius: 10px;
  --hp-radius-lg: 16px;
  --hp-radius-pill: 9999px;

  /* Tipografía */
  --hp-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --hp-shadow-sm: 0 1px 3px rgba(13, 45, 72, 0.06);
  --hp-shadow: 0 4px 24px rgba(13, 45, 72, 0.08);
  --hp-shadow-lg: 0 12px 40px rgba(13, 45, 72, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

.hp-body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--hp-font);
  color: var(--hp-ink);
  background: var(--hp-bg-accent);
  background-color: var(--hp-bg);
  line-height: 1.5;
}

/* ——— Cabecera ——— */
.hp-header {
  background: var(--hp-ink);
  color: #fff;
  border-bottom: 3px solid var(--hp-blue);
  box-shadow: var(--hp-shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
}

.hp-header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.hp-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
}

.hp-brand-logo {
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  display: block;
}

.hp-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.hp-brand-name {
  font-size: 1rem;
  font-weight: 700;
}

.hp-brand-tag {
  font-size: 0.7rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hp-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.5rem;
}

.hp-nav-link {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.45rem 0.75rem;
  border-radius: var(--hp-radius-pill);
  transition: color 0.15s ease, background 0.15s ease;
}

.hp-nav-link:hover {
  color: #fff;
  background: rgba(0, 150, 214, 0.25);
}

.hp-nav-link--cta {
  background: var(--hp-blue);
  color: #fff;
}

.hp-nav-link--cta:hover {
  background: var(--hp-blue-hover);
  color: #fff;
}

/* ——— Contenido ——— */
.hp-main {
  padding: 1.75rem 1rem 3rem;
}

.hp-container {
  max-width: 1120px;
  margin: 0 auto;
}

.hp-panel {
  background: var(--hp-surface);
  border-radius: var(--hp-radius-lg);
  box-shadow: var(--hp-shadow);
  border: 1px solid var(--hp-border-light);
  padding: 1.75rem 1.5rem 2rem;
}

@media (min-width: 640px) {
  .hp-panel {
    padding: 2rem 2.25rem 2.25rem;
  }
}

.hp-panel--auth {
  max-width: 26rem;
  margin-left: auto;
  margin-right: auto;
}

.hp-panel--wide {
  max-width: 100%;
}

/* ——— Tipografía de página ——— */
.hp-page-title {
  margin: 0 0 0.35rem 0;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--hp-ink);
}

.hp-page-title::after {
  content: "";
  display: block;
  width: 3rem;
  height: 3px;
  background: var(--hp-blue);
  border-radius: var(--hp-radius-pill);
  margin-top: 0.65rem;
}

.hp-lead {
  margin: 0 0 1.25rem 0;
  color: var(--hp-ink-secondary);
  font-size: 0.95rem;
  max-width: 52ch;
}

.hp-muted {
  color: var(--hp-ink-muted);
  font-size: 0.9rem;
}

/* ——— Mensajes flash ——— */
.hp-flash-list {
  list-style: none;
  margin: 0 0 1.25rem 0;
  padding: 0;
}

.hp-flash {
  padding: 0.85rem 1rem;
  border-radius: var(--hp-radius);
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  border-left: 4px solid var(--hp-blue);
  background: var(--hp-blue-muted);
  color: var(--hp-ink);
}

.hp-flash--success {
  border-left-color: var(--hp-success);
  background: var(--hp-success-bg);
}

.hp-flash--error {
  border-left-color: var(--hp-danger);
  background: var(--hp-danger-bg);
}

/* ——— Formularios ——— */
.hp-form .hp-field {
  margin-bottom: 1.15rem;
}

.hp-field-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 1rem;
}

@media (min-width: 640px) {
  .hp-field-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

.hp-form label,
.hp-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--hp-ink-secondary);
  margin-bottom: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hp-form input[type="text"],
.hp-form input[type="email"],
.hp-form input[type="password"],
.hp-form input[type="url"],
.hp-form input[type="number"],
.hp-form textarea,
.hp-form select,
.hp-panel input[type="text"],
.hp-panel input[type="email"],
.hp-panel input[type="password"],
.hp-panel input[type="url"],
.hp-panel input[type="number"],
.hp-panel textarea,
.hp-panel select {
  width: 100%;
  padding: 0.65rem 0.85rem;
  font-family: inherit;
  font-size: 0.95rem;
  border: 1px solid var(--hp-border);
  border-radius: var(--hp-radius);
  background: var(--hp-surface);
  color: var(--hp-ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.hp-form input:focus,
.hp-form textarea:focus,
.hp-form select:focus,
.hp-panel input:focus,
.hp-panel textarea:focus,
.hp-panel select:focus {
  outline: none;
  border-color: var(--hp-blue);
  box-shadow: 0 0 0 3px var(--hp-blue-ring);
}

.hp-form .errorlist,
.hp-field .errorlist {
  margin: 0.35rem 0 0 0;
  padding: 0;
  list-style: none;
  color: var(--hp-danger);
  font-size: 0.8rem;
}

.hp-checkbox-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.hp-checkbox-row input[type="checkbox"] {
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--hp-blue);
  cursor: pointer;
}

.hp-checkbox-row label {
  margin: 0;
  text-transform: none;
  letter-spacing: normal;
  font-weight: 500;
  cursor: pointer;
  color: var(--hp-ink);
}

/* ——— Botones ——— */
.hp-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.hp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.65rem 1.25rem;
  border-radius: var(--hp-radius);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease,
    transform 0.1s ease;
}

.hp-btn:active {
  transform: scale(0.98);
}

.hp-btn--primary {
  background: var(--hp-blue);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 150, 214, 0.35);
}

.hp-btn--primary:hover {
  background: var(--hp-blue-hover);
  color: #fff;
}

.hp-btn--secondary {
  background: transparent;
  color: var(--hp-blue);
  border: 2px solid var(--hp-blue);
}

.hp-btn--secondary:hover {
  background: var(--hp-blue-muted);
  color: var(--hp-blue-active);
}

.hp-btn--ghost {
  background: transparent;
  color: var(--hp-ink-secondary);
}

.hp-btn--ghost:hover {
  background: var(--hp-border-light);
  color: var(--hp-ink);
}

.hp-btn--danger {
  background: var(--hp-danger);
  color: #fff;
  box-shadow: 0 2px 8px rgba(197, 48, 48, 0.35);
}

.hp-btn--danger:hover {
  background: #9b2c2c;
  color: #fff;
}

/* Toolbar: enlace que parece botón primario */
a.hp-btn--primary,
a.hp-btn--secondary {
  display: inline-flex;
}

/* ——— Enlaces de texto ——— */
.hp-link {
  color: var(--hp-blue);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.hp-link:hover {
  color: var(--hp-blue-hover);
  border-bottom-color: var(--hp-blue-hover);
}

.hp-link--danger {
  color: var(--hp-danger);
}

.hp-link--danger:hover {
  color: #9b2c2c;
  border-bottom-color: #9b2c2c;
}

/* Compatibilidad con plantillas que usan .btn-link */
a.btn-link {
  color: var(--hp-blue);
  font-weight: 600;
  text-decoration: none;
}

a.btn-link:hover {
  text-decoration: underline;
}

a.btn-link.danger {
  color: var(--hp-danger);
}

/* ——— Tablas ——— */
.hp-table-wrap {
  overflow-x: auto;
  margin-top: 1rem;
  border-radius: var(--hp-radius);
  border: 1px solid var(--hp-border-light);
}

.hp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.hp-table thead {
  background: linear-gradient(180deg, #f4fafd 0%, #eef6fb 100%);
}

.hp-table th {
  text-align: left;
  padding: 0.75rem 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--hp-ink-secondary);
  border-bottom: 2px solid var(--hp-blue);
}

.hp-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--hp-border-light);
  vertical-align: middle;
}

.hp-table tbody tr:hover {
  background: rgba(0, 150, 214, 0.04);
}

.hp-table tbody tr:last-child td {
  border-bottom: none;
}

.hp-table .actions {
  white-space: nowrap;
}

.hp-code {
  font-size: 0.72rem;
  background: var(--hp-blue-muted);
  color: var(--hp-blue-active);
  padding: 0.2rem 0.45rem;
  border-radius: var(--hp-radius-sm);
  font-family: ui-monospace, monospace;
}

/* Tablas sin clase (retrocompat) */
.hp-panel > table:not(.hp-table) {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.hp-panel > table:not(.hp-table) th {
  text-align: left;
  padding: 0.65rem 0.5rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--hp-ink-secondary);
  border-bottom: 2px solid var(--hp-blue);
}

.hp-panel > table:not(.hp-table) td {
  padding: 0.65rem 0.5rem;
  border-bottom: 1px solid var(--hp-border-light);
}

/* ——— Toolbar de listados ——— */
.hp-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin: 1.25rem 0 0.5rem;
}

/* ——— Paginación ——— */
.hp-pagination {
  margin-top: 1.25rem;
  font-size: 0.9rem;
  color: var(--hp-ink-secondary);
}

/* ——— Badges (roles en listado usuarios) ——— */
.hp-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: var(--hp-radius-sm);
  background: var(--hp-blue-muted);
  color: var(--hp-blue-active);
  margin-right: 0.25rem;
  margin-bottom: 0.15rem;
}

.hp-badge--success {
  background: var(--hp-success-bg);
  color: var(--hp-success);
}

.hp-badge--muted {
  background: var(--hp-border-light);
  color: var(--hp-ink-muted);
}

.hp-badge--warning {
  background: #fffff0;
  color: #b7791f;
}

/* ——— Dashboard tiles ——— */
.hp-tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.hp-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.65rem;
  padding: 1.75rem 1.25rem 1.5rem;
  background: var(--hp-surface);
  border: 1px solid var(--hp-border-light);
  border-radius: var(--hp-radius-lg);
  text-decoration: none;
  color: var(--hp-ink);
  box-shadow: var(--hp-shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.hp-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--hp-shadow);
  border-color: var(--hp-blue);
}

.hp-tile:active {
  transform: translateY(-1px);
}

.hp-tile-icon {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--hp-radius);
  background: var(--hp-blue-muted);
  color: var(--hp-blue);
  flex-shrink: 0;
  transition: background 0.18s ease, color 0.18s ease;
}

.hp-tile:hover .hp-tile-icon {
  background: var(--hp-blue);
  color: #fff;
}

.hp-tile-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.hp-tile-label {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.hp-tile-desc {
  font-size: 0.8rem;
  color: var(--hp-ink-muted);
  line-height: 1.4;
}

/* legacy compat */
.hp-link-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0 0;
}

.hp-link-list li {
  margin-bottom: 0.65rem;
  padding-left: 1rem;
  border-left: 3px solid var(--hp-blue);
}

/* ——— Fieldset permisos (roles) ——— */
.hp-perm-fieldset {
  border: 1px solid var(--hp-border-light);
  border-radius: var(--hp-radius-lg);
  padding: 1.25rem;
  margin: 1.5rem 0;
  max-height: 70vh;
  overflow-y: auto;
  background: #fafcfe;
}

.hp-perm-fieldset legend {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--hp-ink);
  padding: 0 0.35rem;
}

.hp-perm-help {
  font-size: 0.875rem;
  color: var(--hp-ink-muted);
  margin: 0 0 1rem 0;
}

.hp-perm-app {
  margin-bottom: 1.35rem;
}

.hp-perm-app-title {
  margin: 0 0 0.5rem 0;
  font-size: 0.95rem;
  color: var(--hp-ink);
  padding-bottom: 0.35rem;
  border-bottom: 2px solid var(--hp-blue);
  font-weight: 700;
}

.hp-perm-model {
  margin: 0.75rem 0 0 0.5rem;
}

.hp-perm-model-title {
  margin: 0 0 0.35rem 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--hp-ink-secondary);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.hp-perm-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hp-perm-item {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.45rem;
  font-size: 0.875rem;
  cursor: pointer;
  margin-bottom: 0.35rem;
  padding: 0.25rem 0;
}

.hp-perm-item input {
  width: auto;
  margin: 0;
  accent-color: var(--hp-blue);
}

.hp-perm-code {
  font-size: 0.72rem;
  color: var(--hp-ink-muted);
  font-family: ui-monospace, monospace;
}

/* ——— Confirmación eliminar ——— */
.hp-confirm-text {
  font-size: 1rem;
  margin: 1rem 0 1.5rem;
  line-height: 1.6;
}

/* ——— Fieldset genérico (roles en formulario usuario) ——— */
.hp-fieldset {
  border: 1px solid var(--hp-border-light);
  border-radius: var(--hp-radius-lg);
  padding: 1.15rem 1.25rem;
  margin: 1.25rem 0;
  background: #fafcfe;
}

.hp-fieldset legend {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--hp-ink);
  padding: 0 0.35rem;
}

.hp-fieldset .hp-muted {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

/* Grupos: lista de checkboxes en columnas en pantallas anchas */
.hp-fieldset ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.35rem;
}

@media (min-width: 640px) {
  .hp-fieldset ul {
    grid-template-columns: repeat(2, 1fr);
  }
}

.hp-fieldset li label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  text-transform: none;
  letter-spacing: normal;
  font-weight: 500;
  cursor: pointer;
}

.hp-fieldset input[type="checkbox"] {
  width: auto;
  margin-top: 0.2rem;
  accent-color: var(--hp-blue);
}

/* ——— Quote CRUD ——— */

.hp-quote-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
}

@media (min-width: 900px) {
  .hp-quote-layout {
    grid-template-columns: 1fr 320px;
  }
}

.hp-quote-panel {
  background: var(--hp-bg);
  border: 1px solid var(--hp-border-light);
  border-radius: var(--hp-radius-lg);
  padding: 1.25rem;
  position: sticky;
  top: 5rem;
}

.hp-quote-panel-title {
  margin: 0 0 1rem 0;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--hp-ink-secondary);
  border-bottom: 2px solid var(--hp-blue);
  padding-bottom: 0.5rem;
}

.hp-selected-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
  min-height: 2rem;
}

.hp-selected-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.45rem 0.5rem;
  border-radius: var(--hp-radius-sm);
  font-size: 0.85rem;
  border-bottom: 1px solid var(--hp-border-light);
}

.hp-selected-item:last-child {
  border-bottom: none;
}

.hp-selected-item-sku {
  font-weight: 600;
  color: var(--hp-blue-active);
  font-family: ui-monospace, monospace;
  font-size: 0.78rem;
}

.hp-selected-item-qty {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.hp-qty-input {
  width: 4rem !important;
  padding: 0.25rem 0.4rem !important;
  font-size: 0.85rem !important;
  text-align: center;
}

.hp-remove-btn {
  background: none;
  border: none;
  color: var(--hp-danger);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  padding: 0.1rem 0.3rem;
  border-radius: var(--hp-radius-sm);
  transition: background 0.15s;
}

.hp-remove-btn:hover {
  background: var(--hp-danger-bg);
}

.hp-empty-selection {
  color: var(--hp-ink-muted);
  font-size: 0.85rem;
  font-style: italic;
  padding: 0.35rem 0;
}

/* Column filters on product table */
.hp-filter-row th {
  padding: 0.4rem 0.5rem;
}

.hp-col-filter {
  width: 100%;
  padding: 0.3rem 0.5rem !important;
  font-size: 0.8rem !important;
  border: 1px solid var(--hp-border) !important;
  border-radius: var(--hp-radius-sm) !important;
}

.hp-table tbody tr.hp-row-selected {
  background: var(--hp-blue-muted);
}

/* Status badges */
.hp-status-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: var(--hp-radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hp-status-badge--draft {
  background: #edf2f7;
  color: #4a5568;
}

.hp-status-badge--pending {
  background: #fffbeb;
  color: #b7791f;
}

.hp-status-badge--sent {
  background: var(--hp-blue-muted);
  color: var(--hp-blue-active);
}

.hp-status-badge--approved {
  background: var(--hp-success-bg);
  color: var(--hp-success);
}

.hp-status-badge--rejected {
  background: var(--hp-danger-bg);
  color: var(--hp-danger);
}

.hp-status-badge--expired {
  background: #f7fafc;
  color: #718096;
}

.hp-contributor-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.2rem 0.65rem;
  border-radius: var(--hp-radius-pill);
}

.hp-contributor-badge--yes {
  background: var(--hp-success-bg);
  color: var(--hp-success);
}

.hp-contributor-badge--no {
  background: var(--hp-danger-bg);
  color: var(--hp-danger);
}

.hp-email-template-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: stretch;
}

@media (min-width: 1000px) {
  .hp-email-template-layout {
    grid-template-columns: 1fr 380px;
  }
}

.hp-email-template-tags,
.hp-email-template-editor {
  min-width: 0;
}

.hp-email-template-tags {
  display: flex;
  flex-direction: column;
}

.hp-email-template-tags .hp-table-wrap {
  flex: 1;
  overflow-y: auto;
}

.hp-quote-meta {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1rem 0 1.5rem;
}

.hp-quote-meta-item {
  background: var(--hp-bg);
  border: 1px solid var(--hp-border-light);
  border-radius: var(--hp-radius);
  padding: 0.75rem 1rem;
}

.hp-quote-meta-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--hp-ink-muted);
  margin-bottom: 0.25rem;
}

.hp-quote-meta-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--hp-ink);
}

/* ——— Importación de clientes ——— */
.hp-import-instructions {
  margin-bottom: 1.75rem;
}

.hp-import-section-title {
  margin: 1.5rem 0 0.65rem 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--hp-ink);
}

.hp-import-section-title:first-child {
  margin-top: 0.5rem;
}

.hp-rule-list {
  padding-left: 1.25rem;
  margin: 0.5rem 0 0 0;
  line-height: 1.8;
  font-size: 0.9rem;
  color: var(--hp-ink-secondary);
}

.hp-import-results {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 2px solid var(--hp-blue);
}

.hp-import-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.hp-form input[type="file"] {
  font-family: inherit;
  font-size: 0.9rem;
  padding: 0.5rem 0;
}
