/* === RESET & BASE === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --blue: #2563eb; --blue-hover: #1d4ed8; --blue-light: #eff6ff; --blue-50: #dbeafe;
  --green: #16a34a; --green-light: #f0fdf4;
  --amber: #d97706; --amber-light: #fffbeb;
  --red: #dc2626; --red-light: #fef2f2;
  --gray-50: #f9fafb; --gray-100: #f3f4f6; --gray-200: #e5e7eb; --gray-300: #d1d5db;
  --gray-400: #9ca3af; --gray-500: #6b7280; --gray-700: #374151; --gray-900: #111827;
  --white: #ffffff;
  --radius: 12px; --radius-sm: 8px;
  --shadow: 0 1px 3px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1);
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
html { font-size: 15px; }
body { font-family: var(--font); background: var(--gray-50); color: var(--gray-900); min-height: 100vh; }

/* === TOPBAR === */
.topbar { display: flex; justify-content: space-between; align-items: center; padding: 12px 24px; background: var(--white); border-bottom: 1px solid var(--gray-200); position: sticky; top: 0; z-index: 100; }
.topbar-left { display: flex; align-items: center; gap: 12px; }
.logo { width: 32px; height: 32px; background: var(--blue); color: white; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 16px; }
.topbar h1 { font-size: 18px; font-weight: 700; }
.quote-nr { font-size: 13px; color: var(--gray-400); font-weight: 500; }
.topbar-right { display: flex; gap: 8px; }

/* === BUTTONS === */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 16px; border: none; border-radius: var(--radius-sm); font-size: 14px; font-weight: 600; cursor: pointer; transition: all .15s; font-family: var(--font); }
.btn-primary { background: var(--blue); color: white; }
.btn-primary:hover { background: var(--blue-hover); }
.btn-primary:disabled { background: var(--gray-300); cursor: not-allowed; }
.btn-secondary { background: var(--white); color: var(--gray-700); border: 1px solid var(--gray-200); }
.btn-secondary:hover { background: var(--gray-100); }
.btn-ghost { background: transparent; color: var(--gray-500); }
.btn-ghost:hover { background: var(--gray-100); color: var(--gray-700); }
.btn-lg { padding: 12px 28px; font-size: 16px; border-radius: var(--radius); }
.btn-sm { padding: 4px 10px; font-size: 12px; }
.btn-danger { background: var(--red-light); color: var(--red); }
.btn-danger:hover { background: var(--red); color: white; }

/* === MAIN === */
.main { max-width: 900px; margin: 0 auto; padding: 24px; display: flex; flex-direction: column; gap: 20px; }

/* === SECTIONS === */
.section { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.section-header { margin-bottom: 20px; }
.section-header h2 { font-size: 18px; font-weight: 700; margin-bottom: 2px; }
.section-hint { font-size: 13px; color: var(--gray-500); }

/* === INPUT SECTION === */
.input-area { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 16px; }
.mic-btn { width: 72px; height: 72px; border-radius: 50%; border: 3px solid var(--blue); background: var(--blue-light); color: var(--blue); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all .2s; flex-shrink: 0; }
.mic-btn:hover { background: var(--blue); color: white; }
.mic-btn.recording { background: var(--red); border-color: var(--red); color: white; animation: pulse 1.5s infinite; }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
.input-text-wrap { flex: 1; position: relative; }
.input-text-wrap textarea { width: 100%; padding: 12px; border: 1px solid var(--gray-200); border-radius: var(--radius-sm); font-size: 15px; font-family: var(--font); resize: vertical; min-height: 90px; transition: border-color .15s; }
.input-text-wrap textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-50); }
.transcript-live { position: absolute; bottom: 8px; left: 12px; right: 12px; font-size: 13px; color: var(--gray-400); font-style: italic; pointer-events: none; }
.input-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.extended-toggle { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--gray-500); cursor: pointer; padding: 4px 10px; border-radius: 99px; transition: all .15s; user-select: none; }
.extended-toggle:hover { background: var(--blue-light); color: var(--blue); }
.extended-toggle input { width: 16px; height: 16px; accent-color: var(--blue); cursor: pointer; }
.extended-toggle input:checked + span { color: var(--blue); font-weight: 600; }

/* Status bar */
.status-bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: var(--radius-sm); margin-top: 12px; font-size: 13px; font-weight: 500; }
.status-bar.info { background: var(--blue-light); color: var(--blue); }
.status-bar.success { background: var(--green-light); color: var(--green); }
.status-bar.warning { background: var(--amber-light); color: var(--amber); }
.status-bar.error { background: var(--red-light); color: var(--red); }

/* === POSITIONS SECTION === */
.positions-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.position-card { display: flex; align-items: flex-start; gap: 12px; padding: 14px; border: 1px solid var(--gray-200); border-radius: var(--radius-sm); transition: border-color .15s; }
.position-card:hover { border-color: var(--blue); }
.position-card.ki-added { border-left: 3px solid var(--blue); }
.position-num { width: 28px; height: 28px; background: var(--gray-100); color: var(--gray-700); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; flex-shrink: 0; margin-top: 2px; }
.position-body { flex: 1; }
.position-title { font-weight: 600; font-size: 15px; margin-bottom: 2px; }
.position-title input { border: none; font: inherit; font-weight: 600; width: 100%; padding: 0; background: transparent; }
.position-title input:focus { outline: none; border-bottom: 1px solid var(--blue); }
.position-meta { font-size: 12px; color: var(--gray-500); display: flex; gap: 12px; flex-wrap: wrap; }
.position-badge { display: inline-block; padding: 1px 8px; border-radius: 99px; font-size: 11px; font-weight: 600; }
.badge-user { background: var(--gray-100); color: var(--gray-700); }
.badge-ki { background: var(--blue-light); color: var(--blue); }
.position-actions { display: flex; gap: 4px; flex-shrink: 0; }
.positions-actions { display: flex; gap: 12px; justify-content: space-between; }

/* Position details row (chips for stunden, badge, teile count, avg price) */
.position-details { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 4px 0 6px; }
.detail-chip { display: inline-flex; align-items: center; gap: 4px; padding: 2px 10px; background: var(--gray-100); border-radius: 99px; font-size: 12px; color: var(--gray-700); }
.detail-chip strong { font-weight: 700; }
.price-chip { background: var(--green-light); color: var(--green); font-weight: 600; }

/* Click-to-edit */
.editable { cursor: pointer; border-bottom: 1px dashed transparent; transition: border-color .15s; }
.editable:hover { border-bottom-color: var(--blue); color: var(--blue); }
.editable-num { cursor: pointer; transition: background .15s; }
.editable-num:hover { background: var(--blue-light); }
.inline-edit { border: 1px solid var(--blue) !important; border-radius: 4px !important; padding: 2px 6px !important; font-size: inherit; font-family: var(--font); background: var(--white); box-shadow: 0 0 0 3px var(--blue-50); }

/* Teil tags (parts shown inside position card) */
.position-teile { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.teil-tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: 6px; font-size: 12px; cursor: pointer; transition: all .15s; }
.teil-tag:hover { border-color: var(--blue); background: var(--blue-light); }
.teil-selected { border-color: var(--blue); background: var(--blue-light); box-shadow: 0 0 0 2px var(--blue-50); }
.teil-name { font-weight: 500; color: var(--gray-900); }
.teil-hersteller { color: var(--gray-500); font-size: 11px; }
.teil-preis { font-weight: 700; color: var(--green); white-space: nowrap; }
.teil-link { color: var(--blue); text-decoration: none; font-size: 12px; line-height: 1; flex-shrink: 0; display: inline-flex; align-items: center; gap: 3px; }
.teil-link:hover { color: var(--blue-hover); }
.teil-domain { font-size: 11px; color: var(--gray-400); }
.teil-link:hover .teil-domain { color: var(--blue-hover); }
.teil-delete { background: none; border: none; color: var(--gray-300); cursor: pointer; font-size: 14px; line-height: 1; padding: 0 2px; flex-shrink: 0; margin-left: auto; }
.teil-delete:hover { color: var(--red); }

/* Position hint */
.position-hint { font-size: 12px; color: var(--gray-500); margin-top: 4px; font-style: italic; }

/* === PARTS SECTION === */
.parts-list { display: flex; flex-direction: column; gap: 16px; }
.part-group { border: 1px solid var(--gray-200); border-radius: var(--radius-sm); overflow: hidden; }
.part-group-header { display: flex; align-items: center; gap: 8px; padding: 12px 14px; background: var(--gray-50); border-bottom: 1px solid var(--gray-200); font-weight: 600; font-size: 14px; cursor: pointer; }
.part-group-header:hover { background: var(--gray-100); }
.part-group-summary { margin-left: auto; font-size: 12px; font-weight: 400; color: var(--gray-400); }
.part-toggle { border: none; background: transparent; cursor: pointer; font-size: 10px; color: var(--gray-400); padding: 2px; line-height: 1; flex-shrink: 0; width: 20px; text-align: center; }
.part-toggle:hover { color: var(--blue); }
.part-collapsed .part-group-header { border-bottom: none; }
.part-group-body { padding: 14px; }
.part-row { display: grid; grid-template-columns: 1fr 100px 80px 90px 40px; gap: 8px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--gray-100); font-size: 13px; }
.part-row:last-child { border-bottom: none; }
.part-row.selected { background: var(--blue-light); margin: 0 -14px; padding: 8px 14px; border-radius: var(--radius-sm); }
.part-name { font-weight: 500; }
.part-manufacturer { color: var(--gray-500); font-size: 12px; }
.part-price { font-weight: 600; text-align: right; }
.part-avail { font-size: 11px; }
.part-avail.in-stock { color: var(--green); }
.part-avail.limited { color: var(--amber); }
.part-select { cursor: pointer; }
.labor-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; margin-top: 8px; border-top: 1px solid var(--gray-200); }
.labor-row label { font-size: 13px; color: var(--gray-500); }
.labor-input { display: flex; align-items: center; gap: 6px; }
.labor-input input { width: 60px; padding: 4px 8px; border: 1px solid var(--gray-200); border-radius: 4px; font-size: 13px; text-align: right; }
.labor-input span { font-size: 13px; color: var(--gray-500); }
.labor-cost { font-weight: 600; font-size: 14px; min-width: 80px; text-align: right; }

/* === QUOTE SECTION === */
.customer-card { padding: 16px; background: var(--gray-50); border-radius: var(--radius-sm); margin-bottom: 20px; }
.customer-card h3 { font-size: 14px; font-weight: 600; margin-bottom: 10px; color: var(--gray-700); }
.customer-fields { display: flex; flex-direction: column; gap: 8px; }
.field { padding: 8px 12px; border: 1px solid var(--gray-200); border-radius: 6px; font-size: 14px; font-family: var(--font); width: 100%; }
.field:focus { outline: none; border-color: var(--blue); }
.field-row { display: flex; gap: 8px; }
.field-row .field { flex: 1; }

/* Quote table */
.quote-table-wrap { overflow-x: auto; margin-bottom: 16px; }
.quote-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.quote-table th { text-align: left; padding: 8px 10px; background: var(--gray-50); border-bottom: 2px solid var(--gray-200); font-weight: 600; color: var(--gray-700); font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; }
.quote-table td { padding: 8px 10px; border-bottom: 1px solid var(--gray-100); }
.quote-table .col-pos { width: 50px; }
.quote-table .col-qty, .quote-table .col-unit, .quote-table .col-total { width: 90px; text-align: right; }
.quote-table td.col-qty, .quote-table td.col-unit, .quote-table td.col-total { text-align: right; }

/* Totals */
.quote-totals { max-width: 300px; margin-left: auto; }
.total-row { display: flex; justify-content: space-between; padding: 4px 0; font-size: 14px; color: var(--gray-700); }
.total-final { font-weight: 700; font-size: 16px; color: var(--gray-900); border-top: 2px solid var(--gray-700); padding-top: 8px; margin-top: 4px; }

/* === EXPORT SECTION === */
.export-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* === OVERLAY === */
.overlay { position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 200; display: flex; align-items: flex-start; justify-content: center; padding-top: 80px; }
.overlay-content { background: var(--white); border-radius: var(--radius); width: 500px; max-height: 60vh; overflow-y: auto; box-shadow: var(--shadow-lg); }
.overlay-header { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--gray-200); }
.overlay-header h2 { font-size: 16px; font-weight: 700; }
.btn-close { background: none; border: none; font-size: 20px; cursor: pointer; color: var(--gray-500); padding: 4px; }
.btn-close:hover { color: var(--gray-700); }
.overlay-body { padding: 16px 20px; }
.quote-list-item { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--gray-100); cursor: pointer; transition: background .15s; }
.quote-list-item:hover { background: var(--gray-50); }
.ql-info { font-weight: 600; font-size: 14px; }
.ql-meta { font-size: 12px; color: var(--gray-500); margin-top: 2px; }

/* === UTILITIES === */
.hidden { display: none !important; }
.empty { text-align: center; color: var(--gray-400); padding: 20px; font-size: 14px; }
.spinner { width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.4); border-top-color: white; border-radius: 50%; animation: spin .6s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Message history */
.msg-history { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.msg-history:empty { display: none; }
.msg-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; background: var(--gray-100); border-radius: 99px; font-size: 12px; }
.msg-time { color: var(--gray-400); font-weight: 500; }
.msg-preview { color: var(--gray-700); }

/* Diff proposals */
.diff-proposal { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; padding: 2px 10px; background: var(--amber-light); border-radius: 99px; }
.diff-old { text-decoration: line-through; color: var(--gray-400); }
.diff-new { font-weight: 700; color: var(--amber); }
.diff-arrow { color: var(--gray-400); }
.diff-accept, .diff-reject { background: none; border: none; cursor: pointer; font-size: 14px; padding: 0 2px; line-height: 1; }
.diff-accept { color: var(--green); }
.diff-reject { color: var(--red); }

/* Position select checkbox */
.pos-check { width: 16px; height: 16px; accent-color: var(--blue); cursor: pointer; margin-top: 6px; flex-shrink: 0; }
.pos-summary { font-size: 12px; color: var(--gray-400); margin-left: 8px; font-weight: 400; }
.pos-toolbar { display: flex; align-items: center; gap: 8px; }
.pos-toolbar-check { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--gray-500); cursor: pointer; }
.pos-toolbar-check input { accent-color: var(--blue); cursor: pointer; }
.pos-collapsed .position-body { }

/* Add position form */
.add-pos-form { display: flex; gap: 8px; align-items: center; padding: 12px; background: var(--blue-light); border-radius: var(--radius-sm); }

/* Copy buttons in section headers */
.copy-section-btn { flex-shrink: 0; }

/* === SETTINGS PANEL (web app addition) === */
.settings-panel { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-lg); position: fixed; top: 60px; right: 24px; z-index: 150; width: 340px; }
.settings-panel h3 { font-size: 16px; font-weight: 700; margin-bottom: 16px; }
.settings-panel label { display: block; font-size: 13px; color: var(--gray-500); margin-bottom: 4px; margin-top: 12px; }
.settings-panel input { width: 100%; padding: 8px 12px; border: 1px solid var(--gray-200); border-radius: 6px; font-size: 14px; font-family: var(--font); }
.settings-panel input:focus { outline: none; border-color: var(--blue); }
.settings-panel .settings-actions { margin-top: 16px; display: flex; gap: 8px; }

/* === API STATUS BADGE === */
.api-badge { font-size: 11px; padding: 2px 8px; border-radius: 99px; background: var(--green-light); color: var(--green); font-weight: 600; }
.api-badge.error { background: var(--red-light); color: var(--red); }

/* === RESPONSIVE === */
@media (max-width: 640px) {
  .main { padding: 12px; }
  .section { padding: 16px; }
  .input-area { flex-direction: column; }
  .mic-btn { width: 56px; height: 56px; align-self: center; }
  .part-row { grid-template-columns: 1fr 60px 60px; }
  .part-row .part-avail, .part-row .part-select { display: none; }
  .settings-panel { left: 12px; right: 12px; width: auto; }
}

/* EMAIL GATE OVERLAY */
.email-gate-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
}
.email-gate-overlay.hidden { display: none; }
.email-gate-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 1rem;
  padding: 2.5rem 2rem;
  max-width: 400px;
  width: 90%;
  text-align: center;
}
.email-gate-logo {
  width: 56px;
  height: 56px;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  font-size: 1.5rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.email-gate-card h2 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  color: var(--gray-900);
}
.email-gate-card p {
  color: var(--gray-500);
  font-size: 0.85rem;
  margin: 0 0 1.25rem;
  line-height: 1.5;
}
.email-gate-card form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.email-gate-card .field {
  text-align: center;
  font-size: 1rem;
}
.email-gate-error {
  color: #ef4444;
  font-size: 0.8rem;
  margin-top: 0.5rem;
}
.email-gate-error.hidden { display: none; }

/* ============================================================
   v0.2.0 additions — settings page, teil actions, print
   ============================================================ */

/* Layout helper used by section headers */
.section-header-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }

/* --- Teil tag extras --- */
.teil-artnr { font-size: 11px; color: var(--gray-400); font-family: ui-monospace, "SF Mono", Menlo, monospace; }
.teil-edit { cursor: text; border-bottom: 1px dashed transparent; }
.teil-edit:hover { border-bottom-color: var(--blue); }
.teil-add {
  display: inline-flex; align-items: center; padding: 4px 10px;
  background: transparent; border: 1px dashed var(--gray-300); border-radius: 6px;
  font-size: 12px; color: var(--gray-500); cursor: pointer; transition: all .15s;
}
.teil-add:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-light); }
.hint-add {
  background: none; border: none; padding: 2px 0; margin-top: 4px;
  font-size: 12px; color: var(--gray-400); cursor: pointer;
}
.hint-add:hover { color: var(--blue); }

/* --- Parts table: source column replaces availability --- */
.part-source { font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.part-source a { color: var(--blue); text-decoration: none; }
.part-source a:hover { text-decoration: underline; }
.manual-teil { display: flex; gap: 8px; padding: 8px 0; }
.manual-teil .manual-teil-name { flex: 2; }
.manual-teil .manual-teil-price { width: 110px; }

/* --- Quote table --- */
.qty-fixed { color: var(--gray-400); }
.total-net { border-top: 1px solid var(--gray-200); padding-top: 8px; margin-top: 4px; font-weight: 600; }

/* --- Settings page --- */
.settings-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px; align-items: start;
}
.settings-group {
  border: 1px solid var(--gray-200); border-radius: var(--radius-sm);
  padding: 18px; background: var(--white);
}
.settings-group h3 {
  font-size: 13px; text-transform: uppercase; letter-spacing: .5px;
  color: var(--gray-500); margin: 0 0 14px;
}
.field-label { display: block; font-size: 13px; font-weight: 500; color: var(--gray-700); margin: 12px 0 4px; }
.settings-group .field-label:first-of-type { margin-top: 0; }
.settings-group .field { width: 100%; }
.field-sm { max-width: 140px; }
.field-help { font-size: 12px; color: var(--gray-400); margin: 14px 0 0; line-height: 1.5; }
.field-help code { background: var(--gray-100); padding: 1px 5px; border-radius: 3px; font-size: 11px; }
.check-row { display: flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; }
.check-row input { width: 16px; height: 16px; cursor: pointer; }

.source-add { display: flex; gap: 8px; align-items: center; }
.source-add .field { flex: 1; }
.sources-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; min-height: 24px; }
.source-chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px 4px 10px;
  background: var(--gray-100); border-radius: 6px; font-size: 12px; color: var(--gray-700);
}
.source-remove {
  background: none; border: none; color: var(--gray-400); cursor: pointer;
  font-size: 15px; line-height: 1; padding: 0 2px;
}
.source-remove:hover { color: var(--red); }
.empty-sm { font-size: 12px; color: var(--gray-400); margin: 0; }

.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  background: var(--gray-900); color: var(--white);
  padding: 10px 20px; border-radius: 8px; font-size: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,.2); z-index: 200;
}

/* --- Print: only the quote, no app chrome --- */
@media print {
  .topbar, .input-actions, .msg-history, .input-area, .status-bar,
  .pos-toolbar, .positions-actions, .export-actions, .copy-section-btn,
  .overlay, .email-gate-overlay, .settings-panel,
  #sectionInput, #sectionParts, #sectionExport,
  .pos-check, .pos-toggle, .pos-delete, .teil-delete, .teil-add, .hint-add {
    display: none !important;
  }
  body { background: var(--white); }
  .main { max-width: none; padding: 0; margin: 0; }
  .section { border: none; box-shadow: none; padding: 0; margin: 0; page-break-inside: avoid; }
  .quote-table input { border: none !important; background: transparent !important; padding: 0 !important; }
  .customer-card { border: 1px solid #ddd; }
  a[href]:after { content: ""; }
}
