:root {
  --ar-bg: #f7fafc;
  --ar-panel: #ffffff;
  --ar-text: #1f2937;
  --ar-muted: #667085;
  --ar-primary: #0177c1;
  --ar-primary-dark: #005f9d;
  --ar-accent: #6fb43f;
  --ar-border: #d9e2ec;
  --ar-danger: #b42318;
  --ar-success: #067647;
  --ar-shadow: rgba(1, 119, 193, 0.12);
}

.ar-app {
  color: var(--ar-text);
  font-family: "Gill Sans MT", "Gill Sans", Calibri, Arial, sans-serif;
  margin: 24px 0;
}

.ar-shell {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  min-height: 720px;
  border: 1px solid var(--ar-border);
  border-radius: 24px;
  overflow: hidden;
  background: var(--ar-bg);
  box-shadow: 0 18px 60px var(--ar-shadow);
}

.ar-sidebar {
  background: #fff;
  color: var(--ar-text);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-right: 6px solid var(--ar-accent);
}

.ar-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--ar-border);
}

.ar-brand-logo {
  display: block;
  width: 118px;
  max-width: 55%;
  height: auto;
  object-fit: contain;
}

.ar-brand strong {
  display: block;
  color: var(--ar-primary);
  font-size: 18px;
  line-height: 1.1;
}

.ar-brand span {
  display: block;
  font-size: 13px;
  color: var(--ar-muted);
  margin-top: 2px;
}

.ar-logo {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--ar-primary), var(--ar-accent));
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #fff;
}

.ar-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 28px;
  gap: 16px;
}

.ar-topbar {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
}

.ar-topbar h1 {
  margin: 0 0 8px;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.1;
  color: var(--ar-primary);
  font-weight: 700;
}

.ar-topbar p {
  margin: 0;
  color: var(--ar-muted);
}

.ar-top-controls {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.ar-top-controls label {
  font-size: 13px;
  color: var(--ar-muted);
}

.ar-top-controls select {
  display: block;
  margin-top: 4px;
  border: 1px solid var(--ar-border);
  border-radius: 12px;
  padding: 9px 12px;
  background: #fff;
  color: var(--ar-text);
  font-family: inherit;
}

.ar-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--ar-border);
  padding: 9px 12px;
  border-radius: 999px;
  color: var(--ar-text) !important;
}

.ar-button,
.ar-login-box .ar-button {
  border: 0;
  background: var(--ar-primary);
  color: #fff !important;
  border-radius: 999px;
  padding: 11px 16px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: 0.2s ease;
  font-family: inherit;
}

.ar-button:hover {
  background: var(--ar-primary-dark);
  transform: translateY(-1px);
}

.ar-button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.ar-button-secondary,
.ar-login-box .ar-button-secondary {
  background: #eef7ed;
  color: var(--ar-primary) !important;
}

.ar-button-secondary:hover {
  background: #e1f2dc;
}

.ar-full {
  width: 100%;
}

.ar-section-title {
  margin-top: 10px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ar-accent);
  font-weight: 800;
}

.ar-conversation-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
}

.ar-conversation {
  width: 100%;
  text-align: left;
  border: 1px solid var(--ar-border);
  background: #fff;
  color: var(--ar-text);
  border-radius: 14px;
  padding: 10px 12px;
  cursor: pointer;
  font-family: inherit;
}

.ar-conversation:hover,
.ar-conversation.is-active {
  border-color: var(--ar-primary);
  box-shadow: 0 8px 22px rgba(1,119,193,0.08);
}

.ar-conversation span,
.ar-conversation small {
  display: block;
}

.ar-conversation small {
  color: var(--ar-muted);
  margin-top: 4px;
}

.ar-link-button {
  background: transparent;
  color: var(--ar-primary);
  border: 0;
  text-align: left;
  cursor: pointer;
  padding: 4px 0;
  opacity: 0.95;
  font-family: inherit;
}

.ar-link-button:hover {
  opacity: 1;
  text-decoration: underline;
}

.ar-danger {
  color: #b42318 !important;
}

.ar-notice {
  background: #ffffff;
  border: 1px solid var(--ar-border);
  color: var(--ar-muted);
  border-radius: 16px;
  padding: 12px 14px;
}

.ar-notice-success {
  border-color: rgba(111,180,63,0.4);
  color: var(--ar-success);
  background: #f3fbef;
}

.ar-notice-error {
  border-color: rgba(180,35,24,0.25);
  color: var(--ar-danger);
  background: #fff4f2;
}

.ar-privacy-mode-note {
  border: 1px solid rgba(1, 119, 193, 0.22);
  color: var(--ar-primary);
  background: linear-gradient(135deg, rgba(1, 119, 193, 0.08), rgba(111, 180, 63, 0.12));
  border-radius: 16px;
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.5;
}

.ar-starters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.ar-starters button {
  border: 1px solid var(--ar-border);
  background: #fff;
  color: var(--ar-text);
  padding: 14px;
  border-radius: 16px;
  cursor: pointer;
  text-align: left;
  font-weight: 700;
  font-family: inherit;
}

.ar-starters button:hover {
  border-color: var(--ar-primary);
  box-shadow: 0 8px 22px rgba(1,119,193,0.10);
}

.ar-chat {
  flex: 1;
  min-height: 360px;
  max-height: 520px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 8px 4px;
}

.ar-message {
  max-width: 78%;
  background: #fff;
  border: 1px solid var(--ar-border);
  padding: 13px 15px;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(1,119,193,0.06);
}

.ar-message-user {
  align-self: flex-end;
  background: #eaf6ff;
  border-color: #bfdff5;
}

.ar-message-assistant {
  align-self: flex-start;
}

.ar-message-label {
  font-size: 12px;
  color: var(--ar-muted);
  font-weight: 800;
  margin-bottom: 6px;
}

.ar-message-content h1,
.ar-message-content h2,
.ar-message-content h3 {
  margin: 12px 0 6px;
  color: var(--ar-primary);
}

.ar-message-content ul {
  margin: 6px 0 6px 20px;
}

.ar-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.ar-message-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
  background: #fff;
  border: 1px solid var(--ar-border);
  border-radius: 20px;
  padding: 10px;
}

.ar-message-form textarea {
  border: 0;
  resize: none;
  outline: none;
  font: inherit;
  padding: 8px;
  min-height: 48px;
}

.ar-report-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  background: #fff;
  border: 1px solid var(--ar-border);
  border-radius: 20px;
  padding: 12px 14px;
}

.ar-report-actions p {
  margin: 0;
  color: var(--ar-muted);
  font-size: 13px;
  line-height: 1.4;
  flex: 1 1 260px;
}

.ar-muted {
  color: var(--ar-muted);
  font-size: 13px;
  line-height: 1.45;
}

.ar-loading .ar-chat::after {
  content: 'De Agilon digital coach denkt even mee...';
  align-self: flex-start;
  background: #fff;
  border: 1px solid var(--ar-border);
  padding: 12px 14px;
  border-radius: 18px;
  color: var(--ar-muted);
}

.ar-login-box {
  border: 1px solid var(--ar-border);
  border-radius: 22px;
  padding: 28px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(1,119,193,0.08);
}

@media (max-width: 900px) {
  .ar-shell {
    grid-template-columns: 1fr;
  }
  .ar-sidebar {
    order: 2;
    border-right: 0;
    border-top: 6px solid var(--ar-accent);
  }
  .ar-main {
    order: 1;
  }
  .ar-starters {
    grid-template-columns: 1fr;
  }
  .ar-message {
    max-width: 94%;
  }
  .ar-topbar {
    flex-direction: column;
  }
}

/* Agilon digital coach registration page */
.ar-register-wrap {
  max-width: 1120px;
  margin: 48px auto;
  padding: 24px;
  font-family: "Gill Sans MT", "Gill Sans", Calibri, Arial, sans-serif;
}

.ar-register-card {
  max-width: 620px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #d9e2ec;
  border-radius: 32px;
  padding: clamp(28px, 5vw, 52px);
  box-shadow: 0 24px 80px rgba(1, 119, 193, 0.12);
  color: #1f2a44;
}

.ar-register-brandline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
}

.ar-register-logo {
  width: 150px;
  max-width: 55%;
  height: auto;
  display: block;
}

.ar-register-brandline span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 10px 18px;
  background: rgba(111, 180, 63, 0.12);
  color: #6FB43F;
  font-weight: 800;
}

.ar-register-kicker {
  color: #6FB43F;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin: 0 0 8px;
}

.ar-register-card h1 {
  margin: 0 0 14px;
  color: #0177C1;
  font-size: clamp(34px, 5vw, 56px);
  line-height: .95;
  font-weight: 800;
}

.ar-register-intro {
  color: #5b6b84;
  font-size: 19px;
  line-height: 1.55;
  margin: 0 0 28px;
}

.ar-register-form {
  display: grid;
  gap: 18px;
}

.ar-honeypot {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.ar-register-form label {
  display: grid;
  gap: 8px;
  font-weight: 700;
  color: #1f2a44;
}

.ar-register-form input[type="text"],
.ar-register-form input[type="email"],
.ar-register-form input[type="password"] {
  width: 100%;
  min-height: 54px;
  border: 1px solid #cfe0ef;
  border-radius: 18px;
  padding: 12px 16px;
  font: inherit;
  color: #1f2a44;
  background: #fff;
}

.ar-password-field {
  position: relative;
  display: block;
}

.ar-register-form .ar-password-input {
  padding-right: 118px;
}

.ar-password-toggle {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #0177C1;
  padding: 8px 10px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.ar-password-toggle:hover,
.ar-password-toggle.is-active,
.ar-password-field:focus-within .ar-password-toggle {
  background: rgba(1, 119, 193, 0.08);
}

.ar-password-toggle:focus-visible {
  outline: 2px solid rgba(1, 119, 193, 0.35);
  outline-offset: 2px;
}

.ar-password-toggle-icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
}

.ar-password-toggle-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.ar-register-form input:focus {
  outline: none;
  border-color: #0177C1;
  box-shadow: 0 0 0 4px rgba(1, 119, 193, 0.12);
}

.ar-register-form small,
.ar-register-check span {
  color: #667085;
  font-weight: 500;
  line-height: 1.45;
}

.ar-register-check {
  grid-template-columns: 22px 1fr;
  align-items: flex-start;
  gap: 12px !important;
  padding: 16px;
  background: rgba(1, 119, 193, 0.05);
  border-radius: 18px;
}

.ar-register-check input {
  margin-top: 3px;
}

.ar-turnstile-wrap {
  display: flex;
  justify-content: center;
}

.ar-turnstile-wrap .cf-turnstile {
  width: 100%;
  max-width: 320px;
}

.ar-register-submit {
  width: 100%;
  min-height: 56px;
  font-size: 17px;
  border-radius: 999px;
  text-align: center;
  text-decoration: none;
}

.ar-register-login {
  margin: 22px 0 0;
  color: #667085;
  text-align: center;
}

.ar-register-login a {
  color: #0177C1;
  font-weight: 800;
}

.ar-register-error,
.ar-register-success {
  border-radius: 18px;
  padding: 14px 16px;
  margin-bottom: 18px;
  font-weight: 700;
}

.ar-register-error {
  background: #fff2f0;
  color: #b42318;
  border: 1px solid #f3b5ad;
}

.ar-register-success {
  background: #f1f8ee;
  color: #2f7a17;
  border: 1px solid rgba(111, 180, 63, .35);
}

/* Agilon digital coach access and login pages */
.ar-access-wrap,
.ar-auth-wrap {
  max-width: 1120px;
  margin: 48px auto;
  padding: 24px;
  font-family: "Gill Sans MT", "Gill Sans", Calibri, Arial, sans-serif;
}

.ar-access-card,
.ar-auth-card {
  max-width: 720px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #d9e2ec;
  border-radius: 32px;
  padding: clamp(28px, 5vw, 56px);
  box-shadow: 0 24px 80px rgba(1, 119, 193, 0.12);
  color: #1f2a44;
}

.ar-access-card {
  max-width: 780px;
}

.ar-auth-brandline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
}

.ar-auth-brandline span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 10px 18px;
  background: rgba(111, 180, 63, 0.12);
  color: #6FB43F;
  font-weight: 800;
}

.ar-access-card h1,
.ar-auth-card h1 {
  margin: 0 0 14px;
  color: #0177C1;
  font-size: clamp(38px, 5.4vw, 64px);
  line-height: .95;
  font-weight: 800;
}

.ar-access-card p,
.ar-auth-card p {
  color: #5b6b84;
  font-size: 19px;
  line-height: 1.55;
}

.ar-access-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 26px 0 22px;
}

.ar-access-actions .ar-button {
  min-width: 160px;
  min-height: 54px;
  text-decoration: none;
}

.ar-access-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  color: #5b6b84;
}

.ar-access-list li {
  position: relative;
  padding-left: 28px;
  line-height: 1.45;
  font-weight: 650;
}

.ar-access-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .45em;
  width: 12px;
  height: 12px;
  border-radius: 4px 10px 10px 10px;
  background: #6FB43F;
  transform: rotate(-18deg);
}

.ar-auth-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 14px;
  margin-top: 22px;
  color: #667085;
}

.ar-auth-links a {
  color: #0177C1;
  font-weight: 800;
  text-decoration: none;
}

.ar-auth-links a:hover {
  text-decoration: underline;
}

.ar-remember-check {
  background: rgba(111, 180, 63, 0.08);
}

@media (max-width: 640px) {
  .ar-auth-brandline,
  .ar-register-brandline {
    align-items: flex-start;
    flex-direction: column;
  }

  .ar-access-actions .ar-button {
    width: 100%;
  }

  .ar-register-form .ar-password-input {
    padding-right: 104px;
  }

  .ar-password-toggle-text {
    font-size: 14px;
  }
}


.ar-ai-disclaimer {
  margin: 14px 0 16px;
  padding: 13px 16px;
  border: 1px solid rgba(1, 119, 193, 0.18);
  background: linear-gradient(135deg, rgba(1,119,193,0.06), rgba(111,180,63,0.08));
  color: var(--ar-muted);
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.45;
}

.ar-ai-disclaimer-app {
  margin-top: -4px;
  margin-bottom: 2px;
}

.ar-access-card .ar-ai-disclaimer,
.ar-register-card .ar-ai-disclaimer,
.ar-auth-card .ar-ai-disclaimer {
  text-align: left;
}

/* v1.1.0 conversation delete */

.ar-conversation-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px;
  gap: 6px;
  align-items: stretch;
}

.ar-conversation-row.is-active .ar-conversation {
  border-color: var(--ar-primary);
  box-shadow: 0 8px 22px rgba(1,119,193,0.08);
}

.ar-conversation-delete {
  border: 1px solid var(--ar-border);
  background: #fff;
  color: var(--ar-muted);
  border-radius: 12px;
  cursor: pointer;
  font-family: inherit;
  font-size: 20px;
  line-height: 1;
  font-weight: 700;
}

.ar-conversation-delete:hover {
  border-color: var(--ar-danger);
  color: var(--ar-danger);
  background: #fff5f5;
}

/* v1.3.5 abonnementen, facturatie en bedrijfscodes */
.ar-sidebar-link {
  display: block;
  text-decoration: none;
  text-align: left;
}

.ar-billing-wrap .ar-access-card,
.ar-billing-card {
  max-width: 980px;
}

.ar-invoice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.ar-invoice-grid label {
  margin: 0;
}

.ar-invoice-grid label:nth-child(4),
.ar-invoice-grid label:nth-child(7),
.ar-invoice-grid label:nth-child(8) {
  grid-column: auto;
}

@media (max-width: 760px) {
  .ar-invoice-grid {
    grid-template-columns: 1fr;
  }
}


/* v1.3.5 aantrekkelijkere formulekeuze en factuurvelden */
.ar-plan-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 10px 0 18px;
}

.ar-plan-card {
  position: relative;
  display: grid;
  gap: 6px;
  padding: 20px;
  border: 2px solid var(--ar-border);
  border-radius: 24px;
  background: linear-gradient(135deg, #ffffff, #f7fbff);
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.ar-plan-card:hover {
  transform: translateY(-2px);
  border-color: rgba(1, 119, 193, .35);
  box-shadow: 0 18px 40px rgba(28, 43, 75, .10);
}

.ar-plan-card input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.ar-plan-card:has(input:checked) {
  border-color: var(--ar-primary);
  box-shadow: 0 18px 42px rgba(1, 119, 193, .14);
}

.ar-plan-check {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 22px;
  height: 22px;
  border: 2px solid var(--ar-border);
  border-radius: 999px;
  background: #fff;
}

.ar-plan-card:has(input:checked) .ar-plan-check {
  border-color: var(--ar-primary);
  background: radial-gradient(circle, var(--ar-primary) 42%, #fff 46%);
}

.ar-plan-badge {
  justify-self: start;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(1, 119, 193, .10);
  color: var(--ar-primary);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.ar-plan-title {
  padding-right: 34px;
  color: var(--ar-ink);
  font-weight: 900;
  font-size: 20px;
}

.ar-plan-price {
  color: var(--ar-primary);
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1;
  font-weight: 950;
}

.ar-plan-meta {
  color: var(--ar-muted);
  font-weight: 700;
}

.ar-invoice-section {
  display: grid;
  gap: 14px;
}

.ar-invoice-grid[hidden] {
  display: none;
}

@media (max-width: 760px) {
  .ar-plan-options {
    grid-template-columns: 1fr;
  }
}

/* v1.3.5 kortingscode optioneel tonen */
.ar-discount-section {
  display: grid;
  gap: 12px;
  margin: 8px 0 14px;
}

.ar-discount-fields[hidden] {
  display: none;
}

.ar-discount-fields label {
  margin: 0;
}

/* v1.3.5 accountbeheer en foutpagina */
.ar-small-note {
  margin: 10px 0 0;
  color: #667085;
  font-size: 15px;
  line-height: 1.5;
}

.ar-cancel-button {
  margin-top: 12px;
}

.ar-error-card .ar-access-actions {
  margin-top: 28px;
}

/* Agilon digital coach v2.0.0 */
#agilon-reflect-root .ar-button,
#agilon-reflect-root .ar-message-form button,
#agilon-reflect-root .ar-starters button:hover {
  background: var(--ar-primary, #0177C1);
}
#agilon-reflect-root .ar-button-secondary,
#agilon-reflect-root .ar-link-button,
#agilon-reflect-root .ar-report-actions,
#agilon-reflect-root .ar-actions-panel {
  background: var(--ar-accent, #EAF5E7);
}
#agilon-reflect-root .ar-brand strong,
#agilon-reflect-root .ar-message-label,
#agilon-reflect-root .ar-dashboard h2,
#agilon-reflect-root .ar-actions-panel h2 {
  color: var(--ar-primary, #0177C1);
}
.ar-mode-strip,
.ar-onboarding-card,
.ar-dashboard,
.ar-actions-panel {
  border: 1px solid rgba(1,119,193,.18);
  border-radius: 22px;
  padding: 18px;
  background: #fff;
  margin: 16px 0;
}
.ar-mode-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.ar-mode-strip label {
  font-weight: 800;
  color: #1f2a44;
}
.ar-mode-strip select,
.ar-report-actions select,
.ar-onboarding-card select,
.ar-onboarding-card input,
.ar-action-form input {
  border: 1px solid #d2deec;
  border-radius: 14px;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 1rem;
  background: #fff;
}
.ar-mode-strip small {
  color: #667085;
}
.ar-onboarding {
  position: relative;
  z-index: 3;
}
.ar-onboarding-card {
  background: linear-gradient(135deg, #fff 0%, #f4fbf0 100%);
  box-shadow: 0 18px 55px rgba(1,119,193,.09);
}
.ar-onboarding-card h2 {
  margin: 0 0 10px;
  color: var(--ar-primary, #0177C1);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}
.ar-onboarding-card label {
  display: block;
  font-weight: 800;
  margin-top: 14px;
}
.ar-onboarding-card input,
.ar-onboarding-card select {
  width: 100%;
  margin-top: 6px;
}
.ar-onboarding-card .ar-button {
  margin-top: 16px;
}
.ar-onboarding-logo img {
  max-width: 150px;
  height: auto;
  margin-bottom: 10px;
}
.ar-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.ar-dashboard-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.ar-dashboard-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.ar-dashboard-list-item {
  display: grid;
  gap: 4px;
  border: 1px solid #dbe7f2;
  border-radius: 14px;
  background: #fff;
  padding: 12px 14px;
}

.ar-dashboard-list-item strong {
  color: #1f2a44;
}

.ar-dashboard-list-item small {
  color: #667085;
}

.ar-dashboard-list-button {
  width: 100%;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}

.ar-dashboard-list-button:hover {
  border-color: rgba(1, 119, 193, 0.32);
  box-shadow: 0 10px 24px rgba(1, 119, 193, 0.08);
}
.ar-stat-card {
  border: 1px solid #dbe7f2;
  border-radius: 18px;
  padding: 16px;
  background: linear-gradient(180deg, #fff, #f7fbff);
}
.ar-stat-card strong {
  display: block;
  color: var(--ar-primary, #0177C1);
  font-size: 2rem;
  line-height: 1;
}
.ar-stat-card span {
  color: #667085;
  font-weight: 700;
}
.ar-action-form {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(160px, .45fr) auto;
  gap: 10px;
  align-items: center;
}
.ar-action-list,
.ar-dashboard-actions {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}
.ar-action-item {
  border: 1px solid #dbe7f2;
  border-radius: 16px;
  background: #fff;
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.ar-action-item small {
  display: block;
  color: #667085;
  margin-top: 3px;
}
.ar-action-completed {
  opacity: .65;
}
.ar-report-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.ar-report-actions p {
  flex-basis: 100%;
  margin: 0;
}
@media (max-width: 760px) {
  .ar-action-form {
    grid-template-columns: 1fr;
  }
  .ar-action-item {
    align-items: flex-start;
    flex-direction: column;
  }
}


/* Agilon digital coach v2.0.2 tabs en acties */
#agilon-reflect-root .ar-tab-button {
  border-radius: 0;
  border-left: 4px solid transparent;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}

#agilon-reflect-root .ar-tab-button.is-active {
  background: #fff;
  border-left-color: var(--ar-primary, #0177C1);
  color: var(--ar-primary, #0177C1);
  font-weight: 800;
}

.ar-dashboard-intro,
.ar-dashboard-panel {
  border: 1px solid #dbe7f2;
  border-radius: 18px;
  padding: 16px;
  background: #fff;
  margin-bottom: 16px;
}

.ar-dashboard-intro h2,
.ar-dashboard-panel h2 {
  margin-top: 0;
}

.ar-action-section h3 {
  margin: 10px 0 8px;
  color: var(--ar-primary, #0177C1);
  font-size: 1.05rem;
}

.ar-action-item p {
  margin: 5px 0 0;
  color: #667085;
}

.ar-action-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.ar-action-done {
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--ar-accent, #EAF5E7);
  color: #667085;
  font-weight: 800;
}

.ar-chat-action-suggestions {
  margin-top: 14px;
  border-top: 1px solid rgba(1,119,193,.12);
  padding-top: 12px;
  display: grid;
  gap: 8px;
}

.ar-chat-action-title {
  color: var(--ar-primary, #0177C1);
  font-weight: 900;
  font-size: .92rem;
}

.ar-chat-action-card {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  border: 1px solid #dbe7f2;
  border-radius: 14px;
  background: #fff;
  padding: 10px 12px;
}

.ar-chat-action-card span {
  color: #1f2a44;
}

@media (max-width: 760px) {
  .ar-chat-action-card {
    align-items: flex-start;
    flex-direction: column;
  }
}
