/*
 * PWI Platform: design refresh.
 * Presentation only. Loaded after platform.css, typography.css and portal-frame.css so it can refine them
 * without touching the compiled Tailwind bundle. Nothing here changes behaviour, markup order or data.
 *
 * 1. Tokens            5. Cards, grids and catalog
 * 2. Pill tabs         6. Tables, badges, notices, details
 * 3. Forms (60 %)      7. Empty states
 * 4. Sign in / sign up 8. Responsive
 */

/* 1. Tokens ------------------------------------------------------------------------------------ */
.neighbor-app {
  --nb-primary: var(--neighbor-primary, #245145);
  --nb-primary-dark: #193e34;
  --nb-ink: #1f2a24;
  --nb-text: #31404a;
  --nb-muted: #66736b;
  --nb-line: #e3e8e1;
  --nb-line-strong: #d3dbd1;
  --nb-soft: #eef3ee;
  --nb-soft-2: #f6f9f5;
  --nb-radius: 14px;
  --nb-radius-sm: 10px;
  --nb-shadow: 0 1px 2px rgba(20, 40, 32, .04), 0 10px 28px rgba(20, 40, 32, .06);
  --nb-shadow-hover: 0 2px 4px rgba(20, 40, 32, .05), 0 16px 36px rgba(20, 40, 32, .10);
  --nb-focus: 0 0 0 3px rgba(36, 81, 69, .14);
}

/* Page heading ---------------------------------------------------------------------------------- */
.neighbor-app .neighbor-eyebrow { color: var(--nb-primary); font-weight: 700; letter-spacing: .14em; }
.neighbor-app .neighbor-page-heading h1 { color: var(--nb-ink); }
.neighbor-app .neighbor-heading-description { color: var(--nb-muted); }
.neighbor-app .neighbor-date {
  border-radius: 999px; border-color: var(--nb-line); background: #fff; color: var(--nb-text);
  box-shadow: 0 1px 2px rgba(20, 40, 32, .04); padding: 8px 16px; font-weight: 500;
}
.neighbor-app .nb-dash-head { margin-bottom: 20px; }
.neighbor-app .nb-dash-head h1 { color: var(--nb-ink); }
.neighbor-app .nb-dash-welcome { font-size: 15px; color: var(--nb-muted); }
.neighbor-app .nb-dash-panel { min-height: 0; }

/* Rhythm for the loose headings that sit directly in a panel */
.neighbor-app :is(.nb-dash-panel, .neighbor-portal-main > section) > :is(h2, h3) { margin-top: 30px; margin-bottom: 14px; }
.neighbor-app .nb-dash-panel > :is(h2, h3):first-child,
.neighbor-app .nb-dash-panel > section > :is(h2, h3):first-child { margin-top: 6px; }
.neighbor-app .neighbor-section-help { color: var(--nb-muted); }

/* 2. Pill tabs (one look for every tab row) ---------------------------------------------------- */
.neighbor-app.neighbor-app :is(.nb-dash-tabs, .neighbor-role-links, .neighbor-tabs) {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  margin: 0 0 28px; padding: 0 0 14px; border: 0; border-bottom: 1px solid var(--nb-line);
  min-height: 0; position: static; flex-direction: row;
}
.neighbor-app.neighbor-app .neighbor-role-links { margin-bottom: 8px; padding-top: 14px; }
.neighbor-app.neighbor-app .neighbor-workspace-nav {
  display: flex; flex-wrap: nowrap; align-items: center; gap: 6px; overflow-x: auto;
  padding: 12px 0 14px; scrollbar-width: none;
}
.neighbor-app .neighbor-workspace-nav::-webkit-scrollbar { display: none; }

.neighbor-app.neighbor-app :is(.nb-dash-tabs, .neighbor-role-links, .neighbor-tabs, .neighbor-workspace-nav) a {
  display: inline-flex; align-items: center; flex-shrink: 0; min-height: 0;
  padding: 9px 16px; border: 0; border-radius: 999px; background: transparent;
  color: var(--nb-text); font-size: 15px !important; font-weight: 500; line-height: 1.2;
  text-decoration: none !important; white-space: nowrap;
  transition: background-color .16s ease, color .16s ease, box-shadow .16s ease;
}
.neighbor-app.neighbor-app :is(.nb-dash-tabs, .neighbor-role-links, .neighbor-tabs, .neighbor-workspace-nav) a:hover {
  background: var(--nb-soft); color: var(--nb-primary-dark); text-decoration: none !important;
}
.neighbor-app.neighbor-app :is(.nb-dash-tabs, .neighbor-role-links, .neighbor-tabs, .neighbor-workspace-nav) a[aria-current="page"] {
  background: var(--nb-primary); color: #fff !important; font-weight: 600;
  text-decoration: none !important; box-shadow: 0 4px 12px rgba(36, 81, 69, .22);
}
/* Dashboard tabs: no background on hover or selection. Only the text colour and an underline change. */
.neighbor-app.neighbor-app .nb-dash-tabs a:hover,
.neighbor-app.neighbor-app .nb-dash-tabs a[aria-current="page"] {
  background: transparent !important; box-shadow: none !important; color: var(--nb-primary) !important;
  text-decoration: underline !important; text-decoration-thickness: 2px; text-underline-offset: 9px;
}
.neighbor-app.neighbor-app .nb-dash-tabs a[aria-current="page"] { font-weight: 600; }
/* Heading shown under each dashboard tab: same look as the workspace page heading */
.neighbor-app .nb-tab-heading h2 { margin: 4px 0 12px; padding: 0; font-size: 34px !important; line-height: 1.2; letter-spacing: -.035em; font-weight: 650; color: var(--nb-ink); }
@media (max-width: 700px) { .neighbor-app .nb-tab-heading h2 { font-size: 29px !important; line-height: 1.25; } }
/* Radix tab triggers used by the React dashboards follow the same pill look */
.neighbor-app.neighbor-app button[role="tab"] { border-radius: 999px !important; }
.neighbor-app.neighbor-app button[role="tab"][data-state="active"] {
  background: var(--nb-primary) !important; color: #fff !important; box-shadow: 0 4px 12px rgba(36, 81, 69, .22) !important;
}
.neighbor-app.neighbor-app button[role="tab"][data-state="inactive"]:hover { background: var(--nb-soft) !important; color: var(--nb-primary-dark) !important; }

.neighbor-app.neighbor-app .neighbor-portal-tabs button[role="tab"] { padding: 11px 18px; }

/* 3. Forms: 60 % wide on desktop, 100 % elsewhere, always left aligned --------------------------- */
.neighbor-app.neighbor-app:not(.wrap) .neighbor-form {
  width: 100%; max-width: 100%; margin-left: 0; margin-right: 0; margin-top: 18px; margin-bottom: 28px;
  padding: 28px 30px; background: #fff; border: 1px solid var(--nb-line); border-radius: var(--nb-radius);
  box-shadow: var(--nb-shadow);
}
@media (min-width: 992px) {
  .neighbor-app.neighbor-app:not(.wrap) .neighbor-form { width: 60%; }
}
/* Forms that live in a grid cell, an auth card or a nested review panel fill their container */
.neighbor-app.neighbor-app:not(.wrap) :is(.neighbor-action-grid > .neighbor-form, .neighbor-intake-review .neighbor-form) { width: 100%; }
.neighbor-app.neighbor-app:not(.wrap) .neighbor-intake-review .neighbor-form { margin-bottom: 0; box-shadow: none; }
.neighbor-app.neighbor-app:not(.wrap) .nb-auth-card .neighbor-form {
  width: 100%; margin: 0; padding: 0; border: 0; background: none; box-shadow: none; border-radius: 0;
}
.neighbor-app .neighbor-form h3 { margin: 0 0 14px; font-size: 19px; color: var(--nb-ink); }
.neighbor-app .neighbor-form > p { margin: 0 0 18px; }
.neighbor-app .neighbor-form .neighbor-form-instructions { max-width: none; margin-bottom: 22px !important; padding-bottom: 18px; border-bottom: 1px solid var(--nb-line); color: var(--nb-muted); }

/* Fields */
.neighbor-app label { color: #2f3d35; font-weight: 600; }
.neighbor-app :is(.neighbor-form, .nb-auth-card, .neighbor-login-card) :is(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]), textarea, select),
.neighbor-app :is(.neighbor-form, .nb-auth-card, .neighbor-login-card) .neighbor-control-host { max-width: 100%; width: 100%; }
.neighbor-app :is(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]):not([type="file"]), textarea, select) {
  border-color: var(--nb-line-strong); border-radius: var(--nb-radius-sm); padding: 10px 14px;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.neighbor-app :is(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]):not([type="file"]), select) { min-height: 46px; }
.neighbor-app.neighbor-app textarea { min-height: 120px; }
.neighbor-app :is(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]), textarea, select):hover { border-color: #b9c6b8; }
.neighbor-app :is(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]), textarea, select):focus {
  border-color: var(--nb-primary); box-shadow: var(--nb-focus);
}
.neighbor-app.neighbor-app button.neighbor-select-trigger { border-radius: var(--nb-radius-sm) !important; border-color: var(--nb-line-strong) !important; min-height: 46px !important; }
.neighbor-app .neighbor-field-requirement { display: block; margin-top: 6px; font-size: 12px; color: #7b887f; letter-spacing: .01em; }

/* File inputs */
.neighbor-app input[type="file"] { padding: 7px 8px !important; background: var(--nb-soft-2); border-style: dashed !important; cursor: pointer; }
.neighbor-app input[type="file"]::file-selector-button {
  margin: 0 14px 0 0; padding: 8px 16px; border: 1px solid var(--nb-line-strong); border-radius: 8px;
  background: #fff; color: #2f3d35; font-weight: 600; cursor: pointer;
}
.neighbor-app input[type="file"]:hover::file-selector-button { background: var(--nb-soft); border-color: #b9c6b8; }

/* Checkboxes and radios */
.neighbor-app label:has(input[type="checkbox"]),
.neighbor-app label:has(input[type="radio"]) { font-weight: 500; color: var(--nb-text); }
.neighbor-app fieldset { border-color: var(--nb-line); border-radius: var(--nb-radius-sm); background: var(--nb-soft-2); }

/* Buttons: consistent spacing, one primary look for form submits */
.neighbor-app .neighbor-form > button,
.neighbor-app .neighbor-form > .neighbor-action { margin: 8px 12px 0 0; }
.neighbor-app.neighbor-app :is(.neighbor-button, .neighbor-action, .neighbor-form > button, .neighbor-filter-actions > button, .nb-auth-card button[type="submit"]) {
  border-radius: var(--nb-radius-sm); min-height: 44px; padding: 10px 20px; font-weight: 600; letter-spacing: .005em;
}
.neighbor-app.neighbor-app:not(.wrap) .neighbor-form button.neighbor-action--secondary[type="submit"] {
  background: var(--nb-primary) !important; border-color: var(--nb-primary) !important; color: #fff !important;
  box-shadow: 0 4px 12px rgba(36, 81, 69, .20) !important;
}
.neighbor-app.neighbor-app:not(.wrap) .neighbor-form button.neighbor-action--secondary[type="submit"]:hover {
  background: var(--nb-primary-dark) !important; border-color: var(--nb-primary-dark) !important;
}
/* A saved draft is the quieter choice beside the final submit */
.neighbor-app.neighbor-app .neighbor-form button[value="intake_draft"] {
  background: #fff !important; color: #243d31 !important; border: 1px solid var(--nb-line-strong) !important; box-shadow: none !important;
}
.neighbor-app.neighbor-app .neighbor-form button[value="intake_draft"]:hover { background: var(--nb-soft) !important; border-color: var(--nb-primary) !important; }
.neighbor-app.neighbor-app :is(.neighbor-button, .neighbor-action, .neighbor-form > button, .neighbor-filter-actions > button):active { transform: translateY(1px) !important; }

/* Filter forms (students, reports): comfortable grid and a properly spaced action row */
.neighbor-app.neighbor-app .neighbor-filters {
  padding: 24px; border: 1px solid var(--nb-line); border-radius: var(--nb-radius); background: #fff; box-shadow: var(--nb-shadow); margin-top: 18px; margin-bottom: 28px; gap: 20px;
}
.neighbor-app .neighbor-report-filters > p { display: flex; flex-direction: column; margin: 0; min-width: 0; }
.neighbor-app .neighbor-report-filters > p > label { min-height: 24px; display: flex; align-items: flex-end; margin: 0 0 9px; }
.neighbor-app .neighbor-report-filters .neighbor-field-requirement { display: none; }
.neighbor-app .neighbor-report-filters :is(input:not([type="checkbox"]), select, .neighbor-control-host, [role="combobox"]) { width: 100%; max-width: 100%; }
.neighbor-app .neighbor-filter-actions { grid-column: 1 / -1; display: flex; align-items: center; justify-content: flex-start; flex-wrap: wrap; gap: 14px 20px; margin-top: 4px; padding-top: 20px; border-top: 1px solid var(--nb-line); }
.neighbor-app .neighbor-filter-actions > label { margin: 0; }
.neighbor-app .neighbor-filter-actions > button { margin: 0; }
.neighbor-app .neighbor-report-filters + * { margin-top: 4px; }

/* Report download link rendered as a button */
.neighbor-app p.neighbor-report-download { margin: 22px 0 30px; }
.neighbor-app .neighbor-report-download a.neighbor-action::before {
  content: ""; width: 16px; height: 16px; flex-shrink: 0; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3Cpath d='M12 15V3'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3Cpath d='M12 15V3'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Account links */
.neighbor-app .neighbor-account-links {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 10px 12px 0; vertical-align: top;
  font-size: 0 !important; line-height: 0;
}
.neighbor-app .neighbor-account-links a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; border: 1px solid var(--nb-line-strong);
  border-radius: 999px; background: #fff; color: var(--nb-primary); font-size: 15px; font-weight: 600; line-height: 1.3; text-decoration: none;
  transition: background-color .16s ease, border-color .16s ease;
}
.neighbor-app .neighbor-account-links a:hover { background: var(--nb-soft); border-color: var(--nb-primary); text-decoration: none; }
.neighbor-app .neighbor-account-signout a { color: #8a3a2f; border-color: #ecd3cd; }
.neighbor-app .neighbor-account-signout a:hover { background: #fdf2f0; border-color: #d9a79d; }

/* 4. Sign in / sign up: compact, left aligned, 60 % on desktop ----------------------------------- */
.neighbor-app .nb-auth { display: flex; justify-content: flex-start; padding: 6px 0 28px; }
.neighbor-app .nb-auth-card,
.neighbor-app .neighbor-login-card {
  width: 100%; max-width: none; margin: 0; padding: 34px 36px; box-sizing: border-box;
  background: #fff; border: 1px solid var(--nb-line); border-radius: 18px; box-shadow: var(--nb-shadow);
}
.neighbor-app .neighbor-login-card { margin-top: 24px; }
@media (min-width: 992px) {
  .neighbor-app .nb-auth-card, .neighbor-app .neighbor-login-card { width: 60%; }
  .neighbor-app .nb-auth-card button[type="submit"] { width: auto; min-width: 190px; }
}
.neighbor-app .nb-auth-card h2, .neighbor-app .neighbor-login-card h1 { margin: 0 0 6px; color: var(--nb-ink); }
.neighbor-app .neighbor-login-card h1 { font-size: 30px !important; }
.neighbor-app .nb-auth-lead { margin: 0 0 24px; color: var(--nb-muted); font-size: 15px; }
.neighbor-app .nb-auth-card :is(.nb-auth-form, form) > p { margin: 0 0 18px; }
.neighbor-app .nb-auth-card .nb-auth-remember { margin-bottom: 8px; }
.neighbor-app .nb-auth-card button[type="submit"] { margin-top: 10px; }
.neighbor-app .nb-auth-links { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--nb-line); text-align: left; color: var(--nb-muted); font-size: 15px; }
.neighbor-app .nb-auth-links a { font-weight: 600; }
.neighbor-app .neighbor-login-card form p { margin: 0 0 16px; }
.neighbor-app .neighbor-login-card .login-remember label { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.neighbor-app .neighbor-login-card .login-submit { margin-top: 8px; }
.neighbor-app .neighbor-login-card :is(.neighbor-program-actions) { margin: 18px 0 0; padding: 18px 0 0; border-top: 1px solid var(--nb-line); }

/* 5. Cards, grids and the catalog --------------------------------------------------------------- */
.neighbor-app .neighbor-card { border-color: var(--nb-line); border-radius: var(--nb-radius); box-shadow: var(--nb-shadow); }
.neighbor-app .neighbor-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 22px; margin-top: 8px; }
.neighbor-app .neighbor-grid > .neighbor-card { transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease; }
.neighbor-app .neighbor-grid > .neighbor-card:hover { box-shadow: var(--nb-shadow-hover); border-color: #cdd8cb; transform: translateY(-2px); }

/* Program cards: title, description, then price and action pinned to the bottom */
.neighbor-app .neighbor-grid > .neighbor-card:has(> h3) { display: flex; flex-direction: column; align-items: flex-start; padding: 28px; }
.neighbor-app .neighbor-grid > .neighbor-card > h3 { margin: 0 0 10px; font-size: 20px; line-height: 1.35; color: var(--nb-ink); overflow-wrap: anywhere; }
.neighbor-app .neighbor-grid > .neighbor-card:has(> h3) > p { margin: 0 0 16px; color: var(--nb-muted); font-size: 15px; line-height: 1.65; }
.neighbor-app .neighbor-grid > .neighbor-card > .neighbor-nav-link:first-of-type { margin-top: auto; }
.neighbor-app .neighbor-grid > .neighbor-card > .neighbor-nav-link {
  display: inline-flex; align-items: center; gap: 6px; margin: 0 10px 14px 0; padding: 7px 14px;
  border: 1px solid var(--nb-line-strong); border-radius: 999px; background: #fff; font-size: 14px; font-weight: 600; color: var(--nb-primary);
}
.neighbor-app .neighbor-grid > .neighbor-card > .neighbor-nav-link::after { content: "\2192"; font-weight: 500; transition: transform .16s ease; }
.neighbor-app .neighbor-grid > .neighbor-card > .neighbor-nav-link:hover { background: var(--nb-soft); border-color: var(--nb-primary); text-decoration: none; }
.neighbor-app .neighbor-grid > .neighbor-card > .neighbor-nav-link:hover::after { transform: translateX(3px); }
.neighbor-app .neighbor-grid > .neighbor-card > p:has(.amount, .woocommerce-Price-amount) {
  margin: 4px 0 18px !important; font-size: 26px !important; font-weight: 700; letter-spacing: -.02em; color: var(--nb-ink); line-height: 1.2;
}
.neighbor-app .neighbor-grid > .neighbor-card > .neighbor-button { margin: 0; align-self: flex-start; }
.neighbor-app .neighbor-grid > .neighbor-card > .neighbor-section-help { margin-top: auto; margin-bottom: 0; }
.neighbor-app .neighbor-grid > .neighbor-empty { grid-column: 1 / -1; margin: 0; }

/* Metric cards */
.neighbor-app .neighbor-metric { color: var(--nb-primary); font-size: 38px; margin-top: 8px; }
.neighbor-app .neighbor-grid > .neighbor-card:not(:has(> h3)) { padding: 24px 26px; background: linear-gradient(180deg, #fff 0%, var(--nb-soft-2) 100%); color: var(--nb-muted); font-weight: 500; }
.neighbor-app .neighbor-grid > .neighbor-card:not(:has(> h3)) > p { margin: 0; font-size: 14px; color: var(--nb-muted); }

/* Program cards in "My programs" */
.neighbor-app .neighbor-enrollment-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.neighbor-app progress { height: 10px; border-radius: 999px; }
.neighbor-app progress::-webkit-progress-bar { border-radius: 999px; }
.neighbor-app progress::-webkit-progress-value { border-radius: 999px; }
.neighbor-app .neighbor-program-actions { gap: 10px 12px; }
.neighbor-app .neighbor-program-actions .neighbor-nav-link { padding: 8px 14px; border: 1px solid var(--nb-line-strong); border-radius: 999px; background: #fff; font-size: 14px; }
.neighbor-app .neighbor-program-actions .neighbor-nav-link:hover { background: var(--nb-soft); border-color: var(--nb-primary); text-decoration: none; }
.neighbor-app .neighbor-certificate-record { border-radius: var(--nb-radius); }

/* 6. Tables, badges, notices and disclosure blocks ---------------------------------------------- */
.neighbor-app .neighbor-table-scroll { border-color: var(--nb-line); border-radius: var(--nb-radius); box-shadow: var(--nb-shadow); margin-top: 14px; margin-bottom: 28px; }
.neighbor-app thead th { background: var(--nb-soft-2); color: var(--nb-muted); text-transform: uppercase; font-size: 12px; letter-spacing: .06em; font-weight: 650; }
.neighbor-app tbody tr:hover { background: var(--nb-soft-2); }
.neighbor-app .neighbor-badge { border-radius: 999px; border-color: #d5e3d7; background: #eaf3ec; color: #2d5a3f; padding: 4px 12px; font-weight: 600; }
.neighbor-app :is(.neighbor-notice, .neighbor-error) { display: block; margin: 0 0 20px; padding: 14px 18px; border-radius: var(--nb-radius-sm); border-width: 1px 1px 1px 4px; font-size: 15px; line-height: 1.6; }
.neighbor-app .neighbor-notice { border-color: #c9e0cf #c9e0cf #c9e0cf #3b8a5a; }
.neighbor-app .neighbor-error { border-color: #efcfc9 #efcfc9 #efcfc9 #c2503f; }
.neighbor-app details.neighbor-card, .neighbor-app details.neighbor-module { border-radius: var(--nb-radius); }
.neighbor-app details > summary { border-radius: var(--nb-radius-sm); }
.neighbor-app details.neighbor-page-guide { box-shadow: none; }
.neighbor-app :is(.neighbor-pagination-link, .nb-dash-panel > a) { font-weight: 600; }
.neighbor-app .nb-cart-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 0; }
.neighbor-app .nb-cart-actions a { margin-right: 0; }
.neighbor-app .nb-cart-total { margin: 18px 0; font-size: 18px; }

/* 7. Empty states ------------------------------------------------------------------------------- */
.neighbor-app .neighbor-empty {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  margin: 16px 0 28px; padding: 44px 24px; text-align: center;
  border: 1px dashed #c9d5c7; border-radius: var(--nb-radius);
  background: linear-gradient(180deg, #fff 0%, var(--nb-soft-2) 100%); color: var(--nb-muted);
}
.neighbor-app .neighbor-empty__icon {
  display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 12px; border-radius: 50%;
  background: var(--nb-soft); color: var(--nb-primary); box-shadow: 0 0 0 8px var(--nb-soft-2), 0 0 0 9px #e3ebe2;
}
.neighbor-app .neighbor-empty__icon svg { display: block; width: 26px; height: 26px; }
.neighbor-app .neighbor-empty .neighbor-empty__title { margin: 0; font-size: 16px; font-weight: 600; line-height: 1.5; color: #2f3d35; max-width: 460px; }
.neighbor-app .neighbor-empty .neighbor-empty__hint { margin: 0; font-size: 14px; color: var(--nb-muted); max-width: 460px; }

/* 8. Responsive --------------------------------------------------------------------------------- */
@media (max-width: 991px) {
  .neighbor-app.neighbor-app:not(.wrap) .neighbor-form { width: 100%; }
}
@media (max-width: 700px) {
  .neighbor-app.neighbor-app :is(.nb-dash-tabs, .neighbor-role-links, .neighbor-tabs) {
    flex-wrap: nowrap; overflow-x: auto; margin-bottom: 22px; padding-bottom: 12px; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .neighbor-app :is(.nb-dash-tabs, .neighbor-role-links, .neighbor-tabs)::-webkit-scrollbar { display: none; }
  .neighbor-app.neighbor-app :is(.nb-dash-tabs, .neighbor-role-links, .neighbor-tabs, .neighbor-workspace-nav) a { padding: 9px 14px; font-size: 14px !important; }
  .neighbor-app.neighbor-app:not(.wrap) .neighbor-form { padding: 22px 18px; border-radius: 12px; }
  .neighbor-app .nb-auth-card, .neighbor-app .neighbor-login-card { padding: 26px 20px; border-radius: 14px; }
  .neighbor-app .nb-auth-card button[type="submit"] { width: 100%; }
  .neighbor-app .neighbor-grid > .neighbor-card:has(> h3) { padding: 22px; }
  .neighbor-app .neighbor-empty { padding: 34px 18px; }
  .neighbor-app .neighbor-form > button, .neighbor-app .neighbor-filter-actions > button { width: 100%; margin-right: 0; }
  .neighbor-app .neighbor-account-links a { flex: 1 1 auto; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .neighbor-app * { transition: none !important; transform: none !important; }
}

/* Checkout stepper: the not-yet-available last step keeps the same plain look as the others. */
.neighbor-app .neighbor-checkout-stepper li button:disabled,.neighbor-app .neighbor-checkout-stepper li button[disabled],.neighbor-app .neighbor-checkout-stepper li button:disabled:hover{background:transparent!important;border:0!important;box-shadow:none!important;opacity:1!important;filter:none!important;cursor:default}

/* Product reviews: the rating drop-down is as wide as the review box. */
.neighbor-app #review_form #commentform .comment-form-rating select#rating,.neighbor-app #review_form #commentform .comment-form-comment textarea#comment{box-sizing:border-box!important;width:100%!important;max-width:560px!important}

/* Cancellation & refund policy shown under the payment methods at checkout. */
.neighbor-refund-policy{margin:16px 0;padding:14px 16px;border:1px solid #d9ddd8;border-radius:10px;background:#f7f8f6}
.neighbor-refund-policy h3{margin:0 0 6px;font-size:1rem;text-transform:uppercase;letter-spacing:.04em}
.neighbor-refund-policy p{margin:0;font-size:.9rem;line-height:1.55}
