:root {
  --ink: #12314d;
  --muted: #66768a;
  --line: #d8e4ec;
  --paper: #f5f9fb;
  --panel: #ffffff;
  --green: #08b7c9;
  --green-dark: #00539b;
  --yellow: #ff9f1c;
  --orange-soft: #fff1d9;
  --orange-line: #ffd091;
  --red: #b95649;
  --blue: #003b78;
  --shadow: 0 18px 45px rgba(0, 59, 120, 0.12);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  background: rgba(245, 249, 251, 0.94);
  backdrop-filter: blur(14px);
}

.site-brand {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
}

.site-brand span {
  color: var(--ink);
}

.site-brand strong {
  color: var(--ink);
}

.site-brand small {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: wrap;
}

.site-nav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  padding: 0 12px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
}

.site-nav a.active,
.site-nav a:hover {
  color: var(--ink);
  background: var(--yellow);
}

.site-footer {
  margin: 56px 0 22px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 159, 28, 0.14), rgba(8, 183, 201, 0.09)), var(--panel);
  box-shadow: 0 14px 36px rgba(0, 59, 120, 0.08);
}

.site-footer-main {
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) repeat(3, minmax(150px, 1fr));
  gap: 28px;
  align-items: start;
}

.footer-brand-block {
  display: grid;
  gap: 12px;
}

.footer-logo {
  width: min(160px, 70vw);
  height: auto;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.footer-note {
  max-width: 48ch;
  font-size: 0.9rem;
}

.footer-column {
  display: grid;
  gap: 10px;
}

.footer-column strong {
  color: var(--ink);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-column a {
  color: var(--muted);
  font-weight: 800;
  text-decoration: none;
}

.footer-column a:hover {
  color: var(--green-dark);
}

.footer-contact {
  color: var(--ink);
  overflow-wrap: anywhere;
}

.site-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}

.home-hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(560px, 72vw, 760px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #082b4a;
}

.home-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(4, 28, 52, 0.82), rgba(4, 28, 52, 0.32) 52%, rgba(4, 28, 52, 0.06)),
    linear-gradient(0deg, rgba(4, 28, 52, 0.82), rgba(4, 28, 52, 0.02) 58%);
}

.home-hero-overlay {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: clamp(28px, 6vw, 64px);
  color: #fff;
}

.home-hero-overlay .eyebrow {
  color: var(--yellow);
}

.home-hero-overlay h1 {
  color: #fff;
}

.home-hero-overlay p:not(.eyebrow) {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.08rem;
  line-height: 1.55;
}

.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.home-search {
  position: absolute;
  left: clamp(18px, 4vw, 44px);
  right: clamp(18px, 4vw, 44px);
  bottom: clamp(18px, 4vw, 44px);
  z-index: 3;
  padding: 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.page-hero {
  padding: clamp(36px, 8vw, 84px) 0 26px;
}

.page-hero.compact {
  max-width: 820px;
}

.page-hero h1 {
  max-width: 880px;
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.58;
}

.page-section {
  margin: 28px 0;
}

.pricing-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.price-card {
  padding: 22px;
  border-radius: 8px;
  color: #fff;
  background: var(--green-dark);
  box-shadow: var(--shadow);
}

.price-card-wide {
  max-width: 520px;
}

.price-card span {
  display: block;
  color: var(--yellow);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.price-card strong {
  display: block;
  margin: 8px 0;
  font-size: 2.2rem;
  line-height: 1;
}

.price-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
}

.account-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 28px;
  align-items: start;
  padding: clamp(36px, 8vw, 84px) 0;
}

.login-copy h1 {
  max-width: 680px;
}

.login-copy > p:not(.eyebrow) {
  max-width: 660px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.58;
}

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

.account-benefits article,
.login-card,
.stat-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.account-benefits article {
  padding: 14px;
}

.account-benefits span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.9rem;
}

.login-card {
  padding: 18px;
}

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 16px;
  padding: 4px;
  border-radius: 8px;
  background: #edf7fa;
}

.auth-tabs button {
  min-height: 40px;
  border: 0;
  border-radius: 8px;
  color: var(--muted);
  background: transparent;
  font-weight: 800;
}

.auth-tabs button.active {
  color: var(--ink);
  background: var(--yellow);
}

.login-form {
  display: grid;
  gap: 12px;
}

.checkbox-field {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.35;
}

.checkbox-field input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.checkbox-field a {
  color: var(--green-dark);
  font-weight: 900;
}

.login-form[hidden],
.login-form [hidden] {
  display: none;
}

.partner-register-fields {
  display: grid;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(8, 183, 201, 0.18);
  border-radius: 8px;
  background: #f7fbfd;
}

.partner-register-fields[hidden],
.partner-settings-panel[hidden] {
  display: none;
}

.login-note {
  margin: 12px 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.form-intro {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.45;
}

.form-message {
  min-height: 22px;
  margin: 12px 0 0;
  color: var(--green-dark);
  font-weight: 800;
}

.auth-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
}

.auth-card {
  width: min(100%, 460px);
  display: grid;
  gap: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: 28px;
}

.auth-card .section-heading {
  display: block;
  margin-bottom: 0;
}

.auth-card .section-heading h1 {
  margin: 0 0 8px;
}

.auth-card .section-heading p:last-child {
  margin-bottom: 0;
}

.auth-form {
  display: grid;
  gap: 14px;
}

.secondary-link {
  color: var(--green-dark);
  font-weight: 900;
}

.test-login-panel {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.demo-login-button {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--green-dark);
  background: #edf7fa;
  font-weight: 900;
}

.demo-login-button strong,
.demo-login-button span {
  display: block;
}

.demo-login-button span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.demo-login-button:hover {
  background: #dcecf4;
}

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

.membership-gate {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 22px 0;
  padding: 18px;
  border: 1px solid var(--orange-line);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--orange-soft), #ffffff);
}

.membership-gate h2 {
  margin: 4px 0 6px;
  font-size: 1.25rem;
}

.membership-gate p:last-child {
  margin: 0;
  color: var(--muted);
}

.stat-card {
  padding: 18px;
}

.stat-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.stat-card-link:hover,
.stat-card-link:focus-visible {
  border-color: var(--yellow);
  box-shadow: 0 16px 34px rgba(255, 159, 28, 0.18);
  transform: translateY(-1px);
}

.stat-card span {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
}

.stat-card strong {
  display: block;
  margin: 8px 0;
  color: var(--green-dark);
  font-size: 2.4rem;
  line-height: 1;
}

#membershipDays {
  font-size: clamp(1.7rem, 4vw, 2.25rem);
  overflow-wrap: anywhere;
}

.stat-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.stat-card .stat-card-cta {
  display: inline-flex;
  margin-top: 12px;
  color: var(--green-dark);
  font-size: 0.82rem;
}

.dashboard-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.dashboard-actions a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  box-shadow: var(--shadow);
}

.dashboard-actions a::after {
  content: ">";
  color: var(--green-dark);
  font-weight: 900;
}

.dashboard-sections {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.dashboard-account-overview {
  margin-top: 18px;
}

.dashboard-account-overview .section-heading {
  margin-bottom: 12px;
}

.dashboard-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.dashboard-section > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 16px 18px;
  cursor: pointer;
  list-style: none;
}

.dashboard-section > summary::-webkit-details-marker {
  display: none;
}

.dashboard-section > summary::after {
  content: "+";
  display: inline-grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--green-dark);
  font-size: 1.1rem;
  font-weight: 900;
  flex: 0 0 auto;
}

.dashboard-section[open] > summary::after {
  content: "-";
}

.dashboard-section > summary span {
  display: block;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 900;
}

.dashboard-section > summary small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-weight: 700;
}

.dashboard-section > .dashboard-panel,
.dashboard-section > .chat-workspace,
.dashboard-section > .form-panel,
.dashboard-section > .estimate-box,
.dashboard-section > .dashboard-main {
  margin: 0 18px 18px;
}

.compact-dashboard-main {
  margin-top: 0;
}

.dashboard-main {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.dashboard-column {
  display: grid;
  gap: 14px;
  align-content: start;
}

.dashboard-panel {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.verification-panel {
  border-color: var(--orange-line);
}

.verification-levels {
  display: grid;
  gap: 10px;
}

.verification-levels div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: var(--paper);
}

.verification-levels strong {
  display: block;
  margin-bottom: 4px;
  color: var(--green-dark);
  font-size: 0.95rem;
}

.verification-levels p,
.verification-help {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.verification-help {
  margin-top: 10px;
}

.verification-actions {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.verification-actions label {
  display: grid;
  gap: 6px;
}

.verification-actions input {
  max-width: 180px;
}

.admin-login-panel {
  display: grid;
  justify-content: center;
  margin-top: 18px;
}

.admin-login-card {
  width: min(100%, 440px);
}

.admin-area {
  margin-top: 18px;
}

.admin-controls-panel,
.admin-audit-panel,
.admin-moderation-panel {
  margin-top: 14px;
}

.admin-filters {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(140px, 0.8fr));
  gap: 10px;
  align-items: end;
}

.admin-filters label {
  display: grid;
  gap: 6px;
}

.admin-filters span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-filters input,
.admin-filters select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 10px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

.moderation-box {
  display: grid;
  gap: 10px;
  border: 1px solid #d8e2d2;
  border-radius: 8px;
  padding: 14px;
  background: #f7fbfd;
}

.moderation-box strong {
  color: var(--ink);
}

.moderation-box ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.checkbox-line {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--ink);
  font-weight: 800;
}

.checkbox-line input {
  width: auto;
  min-height: auto;
  margin-top: 3px;
}

.moderation-checklist {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.moderation-checklist span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--green-dark);
  background: #f7fbfd;
  font-size: 0.82rem;
  font-weight: 900;
}

.admin-main {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
}

.admin-users-panel {
  margin-top: 14px;
}

.admin-table {
  display: grid;
  gap: 10px;
}

.admin-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7fbfd;
}

.admin-row.compact {
  grid-template-columns: minmax(0, 1fr) minmax(220px, auto);
}

.admin-row strong,
.admin-row span,
.admin-row small {
  display: block;
}

.admin-row strong {
  color: var(--ink);
  line-height: 1.25;
}

.admin-profile-link {
  color: inherit;
  text-decoration: none;
}

.admin-profile-link:hover {
  color: var(--green-dark);
  text-decoration: underline;
}

.admin-row span,
.admin-row small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.35;
}

.admin-row-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  max-width: 320px;
}

.admin-row-actions button {
  min-height: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 9px;
  color: var(--green-dark);
  background: var(--panel);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 900;
}

.admin-row-actions button:hover {
  background: #edf7fa;
}

.admin-row-actions button:disabled {
  opacity: 0.55;
  cursor: wait;
}

.admin-resource-row {
  align-items: start;
}

.admin-resource-preview {
  margin-top: 10px;
}

.admin-resource-images {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.admin-resource-images img {
  width: 86px;
  height: 64px;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
  background: var(--panel-soft);
}

.admin-resource-description {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.45;
}

.compact-empty {
  margin: 0 0 8px;
  padding: 8px;
}

.admin-status {
  flex: 1 0 100%;
  margin: 0 0 2px;
  color: #925500;
  font-size: 0.76rem;
  font-weight: 900;
  text-align: right;
  text-transform: uppercase;
}

.admin-user-metrics {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.admin-user-metrics span {
  margin: 0;
  border-radius: 999px;
  padding: 5px 8px;
  color: #925500;
  background: var(--orange-soft);
  font-size: 0.78rem;
  font-weight: 900;
}

.admin-user-metrics button {
  min-height: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 5px 8px;
  color: var(--green-dark);
  background: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  cursor: pointer;
}

.panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.panel-heading h2 {
  font-size: 1.12rem;
}

.panel-copy {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.5;
}

.payment-method {
  display: flex;
  gap: 12px;
  align-items: center;
}

.payment-method p {
  margin: 4px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.notification-summary {
  margin-bottom: 10px;
}

.notification-list {
  display: grid;
  gap: 10px;
}

.notification-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fff;
}

.notification-item.is-unread {
  border-color: #9bdce5;
  background: #f7fbfd;
}

.notification-item strong,
.notification-item span,
.notification-item small {
  display: block;
}

.notification-item span,
.notification-item small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.35;
}

.notification-item a {
  color: var(--green-dark);
  font-weight: 900;
}

.referral-card {
  display: grid;
  gap: 10px;
}

.referral-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.referral-card label {
  display: grid;
  gap: 6px;
}

.referral-card label span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.referral-card input {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 10px;
  color: var(--ink);
  background: #f7fbfd;
  font: inherit;
  font-weight: 800;
}

.referral-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.referral-stats span {
  border-radius: 8px;
  padding: 10px;
  color: var(--muted);
  background: #edf7fa;
  font-size: 0.82rem;
  font-weight: 800;
}

.referral-stats strong {
  display: block;
  color: var(--green-dark);
  font-size: 1.2rem;
  line-height: 1.1;
}

.card-chip {
  flex: 0 0 auto;
  width: 54px;
  height: 38px;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.22), transparent 38%),
    linear-gradient(135deg, var(--green-dark), var(--blue));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.payment-help {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

.personal-data-form {
  display: grid;
  gap: 12px;
}

.personal-data-form textarea {
  resize: vertical;
}

.partner-settings-panel {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(8, 183, 201, 0.18);
  border-radius: 8px;
  background: #f7fbfd;
}

.panel-subheading {
  display: grid;
  gap: 4px;
}

.panel-subheading strong {
  color: var(--green-dark);
}

.panel-subheading span {
  color: var(--muted);
  font-size: 0.88rem;
}

.verification-warning {
  padding: 12px;
  border: 1px solid #e5c26b;
  border-radius: 8px;
  background: #fff8df;
}

.verification-warning strong {
  color: #5c4711;
}

.verification-warning p {
  margin: 4px 0 0;
  color: #6f5a1b;
  font-size: 0.9rem;
  line-height: 1.4;
}

.history-list,
.feedback-list {
  display: grid;
  gap: 10px;
}

.history-list article,
.feedback-list article {
  padding: 12px;
  border-radius: 8px;
  background: #edf7fa;
}

.history-list span,
.feedback-list p {
  display: block;
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.4;
}
.user-tools-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.user-tool-item {
  display: grid;
  grid-template-columns: minmax(150px, 0.85fr) minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
  padding: 10px;
  border-radius: 8px;
  background: #edf7fa;
}

.tool-image-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  min-height: 82px;
}

.saved-tool-image {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #dcecf4;
}

.saved-tool-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 82px;
  object-fit: cover;
  background: #dcecf4;
}

.image-delete-button {
  position: absolute;
  top: 5px;
  right: 5px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(8, 43, 74, 0.82);
  cursor: pointer;
  font-weight: 900;
}

.image-delete-button:disabled {
  opacity: 0.55;
  cursor: wait;
}

.managed-tool-body {
  min-width: 0;
}

.user-tool-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.user-tool-heading strong {
  line-height: 1.25;
}

.user-tool-heading span {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 4px 8px;
  color: var(--green-dark);
  background: #dcecf4;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.user-tool-item p,
.user-tool-item small,
.empty-state {
  display: block;
  margin: 4px 0 0;
  color: var(--muted);
  line-height: 1.35;
}

.user-tool-item small {
  font-weight: 800;
}

.tracked-loan-card {
  display: grid;
  gap: 10px;
}

.member-profile-link {
  color: var(--green-dark);
  font-weight: 900;
  text-decoration: none;
}

.member-profile-link:hover,
.member-profile-link:focus-visible {
  text-decoration: underline;
}

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

.tracking-grid span {
  display: grid;
  gap: 2px;
  min-height: 54px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7fbfd;
  color: var(--muted);
  font-size: 0.82rem;
}

.tracking-grid b {
  color: var(--ink);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.tracking-events {
  display: grid;
  gap: 4px;
}

.tracking-events small {
  color: var(--muted);
  font-weight: 700;
}

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

.tracked-actions button {
  min-height: 34px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--green-dark);
  background: #fff;
  font-size: 0.82rem;
  font-weight: 900;
  cursor: pointer;
}

.tool-image-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 10px;
}

.profile-image-panel {
  display: flex;
  gap: 14px;
  align-items: center;
}

.profile-image-panel img {
  width: 88px;
  height: 88px;
  flex: 0 0 88px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #edf7fa;
  object-fit: cover;
}

.profile-image-panel p {
  margin: 0 0 10px;
  color: var(--muted);
  line-height: 1.45;
}

.product-image-manager {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.product-image-manager .panel-heading {
  margin-bottom: 12px;
}

.product-image-manager .tool-image-strip {
  margin-bottom: 12px;
}

.tool-image-upload-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--green-dark);
  background: #f7fbfd;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 900;
}

.tool-image-upload-label input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
  pointer-events: none;
}

.compact-link {
  min-height: 34px;
  padding: 8px 10px;
  font-size: 0.82rem;
}

.tool-image-limit {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.chat-workspace {
  display: grid;
  grid-template-columns: minmax(230px, 0.72fr) minmax(0, 1.6fr);
  gap: 14px;
}

.chat-list,
.chat-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.chat-list {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 12px;
}

.chat-thread {
  display: grid;
  gap: 4px;
  width: 100%;
  border: 0;
  border-radius: 8px;
  padding: 12px;
  color: var(--ink);
  background: #edf7fa;
  text-align: left;
}

.chat-thread.active,
.chat-thread:hover {
  background: #dcecf4;
}

.chat-thread span {
  color: var(--muted);
  font-size: 0.86rem;
}

.chat-panel {
  display: grid;
  grid-template-rows: auto minmax(280px, 1fr) auto;
  min-height: 460px;
  overflow: hidden;
}

.chat-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.chat-header-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.chat-header h3 {
  margin: 4px 0 0;
  font-size: 1.18rem;
}

.chat-messages {
  display: grid;
  align-content: start;
  gap: 10px;
  overflow-y: auto;
  padding: 16px;
  background: #f5f9fb;
}

.chat-message {
  max-width: min(78%, 520px);
  padding: 10px 12px;
  border-radius: 8px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
}

.chat-message.sent {
  justify-self: end;
  color: #fff;
  background: var(--green-dark);
  box-shadow: none;
}

.chat-message span {
  display: block;
  margin-bottom: 4px;
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 800;
}

.chat-message.sent span {
  color: rgba(255, 255, 255, 0.76);
}

.chat-message p {
  margin: 0;
  line-height: 1.45;
}

.chat-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding: 12px;
  border-top: 1px solid var(--line);
}

.app-shell {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 100vh;
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 24px;
  background: #082b4a;
  color: #f7fbf4;
}

.brand,
.account-card,
.nav-item,
.membership-panel {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
}

.brand-logo {
  display: block;
  width: clamp(122px, 16vw, 172px);
  height: auto;
  object-fit: contain;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 8px;
  color: #183025;
  background: var(--yellow);
  font-weight: 800;
}

.brand span,
.membership-panel span,
.account-card span {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
}

.nav-list {
  display: grid;
  gap: 8px;
}

.nav-item {
  gap: 10px;
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  padding: 0 12px;
  color: rgba(255, 255, 255, 0.76);
  background: transparent;
  text-align: left;
}

.nav-item span {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
}

.nav-item.active,
.nav-item:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.membership-panel {
  align-items: flex-start;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
}

.membership-panel p,
.eyebrow {
  margin: 0;
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.membership-panel p {
  color: var(--yellow);
}

.membership-panel strong {
  font-size: 1.7rem;
}

.main-content {
  padding: 28px;
}

.topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 840px;
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.topbar-copy {
  max-width: 760px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.55;
}

h2 {
  margin-bottom: 0;
  font-size: 1.35rem;
}

.account-card {
  gap: 10px;
  min-width: 230px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--panel);
}

.account-card span {
  color: var(--muted);
}

.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(8, 183, 201, 0.14);
}

.hero-workspace {
  position: relative;
  overflow: hidden;
  margin-bottom: 26px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #082b4a;
}

.hero-message {
  position: absolute;
  inset: auto 18px 18px 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: end;
  color: #fff;
  z-index: 2;
}

.hero-visual {
  position: relative;
  min-height: clamp(430px, 56vw, 620px);
}

.hero-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(4, 28, 52, 0.78), rgba(4, 28, 52, 0.34) 48%, rgba(4, 28, 52, 0.08)),
    linear-gradient(0deg, rgba(4, 28, 52, 0.82), rgba(4, 28, 52, 0.04) 55%);
}

.hero-visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: clamp(430px, 56vw, 620px);
  object-fit: cover;
}

.hero-copy-card {
  max-width: 780px;
}

.hero-message .eyebrow {
  color: var(--yellow);
}

.hero-message h2 {
  max-width: 780px;
  margin: 8px 0 10px;
  font-size: clamp(1.45rem, 2.7vw, 2.5rem);
  line-height: 1.06;
}

.hero-message p:not(.eyebrow) {
  max-width: 820px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.55;
}

.hero-actions {
  display: grid;
  gap: 10px;
  width: min(320px, 100%);
}

.hero-board-preview {
  display: grid;
  gap: 6px;
  width: min(520px, 100%);
  margin-top: 14px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.hero-board-preview .eyebrow {
  color: var(--green-dark);
}

.hero-board-preview strong {
  color: var(--ink);
  line-height: 1.25;
}

.hero-board-preview span {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.hero-board-preview a {
  color: var(--green-dark);
  font-weight: 900;
  text-decoration: none;
}

.hero-workspace .search-strip {
  position: relative;
  z-index: 3;
  margin: 0 18px 18px;
  padding: 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.hero-workspace label span {
  color: var(--muted);
}

.steps-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.steps-row article {
  min-height: 142px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.steps-row.light article {
  color: var(--ink);
  background: var(--panel);
  border-color: var(--line);
  box-shadow: var(--shadow);
}

.steps-row span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  margin-bottom: 12px;
  border-radius: 999px;
  color: var(--green-dark);
  background: var(--yellow);
  font-weight: 900;
}

.steps-row strong {
  display: block;
  margin-bottom: 6px;
}

.steps-row p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  line-height: 1.42;
}

.steps-row.light p {
  color: var(--muted);
}

.how-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.how-panel article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.how-panel p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.exchange-model {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.exchange-model article {
  padding: 18px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--green-dark), var(--blue));
  box-shadow: var(--shadow);
}

.exchange-model span {
  display: block;
  margin-bottom: 10px;
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.exchange-model strong {
  display: block;
  font-size: 1.1rem;
  line-height: 1.35;
}

.search-strip,
.form-panel {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 12px;
}

label {
  display: grid;
  gap: 6px;
}

label span {
  color: var(--muted);
  font-size: 0.83rem;
  font-weight: 700;
}

.field-help {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.voice-description-panel {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid #d8e2d2;
  border-radius: 8px;
  background: #fbfcf8;
}

.voice-description-panel strong {
  color: var(--ink);
}

.voice-description-panel p {
  margin: 6px 0 0;
}

.voice-description-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.voice-description-panel.is-recording {
  border-color: var(--green-dark);
  background: rgba(8, 183, 201, 0.08);
}

.availability-editor,
.availability-public-panel {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid #d8e2d2;
  border-radius: 8px;
  background: #fbfcf8;
}

.availability-editor > div:first-child span {
  display: block;
  color: var(--ink);
  font-weight: 900;
}

.availability-calendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
  max-height: 238px;
  overflow: auto;
  padding: 4px;
}

.availability-day {
  min-width: 0;
}

.availability-day input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.availability-day span {
  display: grid;
  min-height: 38px;
  place-items: center;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--green-dark);
  background: #ffffff;
  font-size: 0.76rem;
  font-weight: 900;
  text-align: center;
  cursor: pointer;
}

.availability-day.is-unavailable span {
  color: #8b2f25;
  border-color: rgba(139, 47, 37, 0.34);
  background: #fff0eb;
}

.public-availability-calendar {
  max-height: 184px;
}

.availability-day-readonly {
  display: grid;
  min-height: 38px;
  place-items: center;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 900;
  text-align: center;
}

.availability-day-readonly.is-available {
  color: var(--green-dark);
  border-color: rgba(8, 183, 201, 0.18);
  background: #ffffff;
  cursor: pointer;
}

.availability-day-readonly.is-available:hover,
.availability-day-readonly.is-available:focus-visible {
  border-color: rgba(8, 183, 201, 0.42);
  background: rgba(8, 183, 201, 0.08);
}

.availability-day-readonly.is-unavailable {
  color: #8b2f25;
  border-color: rgba(139, 47, 37, 0.34);
  background: #fff0eb;
  text-decoration: line-through;
  cursor: not-allowed;
}

.availability-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.availability-legend span {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.available-dot,
.unavailable-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.available-dot {
  background: var(--green-dark);
}

.unavailable-dot {
  background: #8b2f25;
}

.availability-summary {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid rgba(8, 183, 201, 0.18);
  border-radius: 8px;
  background: #f7fbfd;
}

.availability-summary strong,
.availability-summary span {
  display: block;
}

.availability-summary span {
  color: var(--muted);
  font-size: 0.9rem;
}

#voiceDescriptionStatus[data-state="recording"] {
  color: var(--green-dark);
  font-weight: 800;
}

#voiceDescriptionStatus[data-state="error"],
#voiceDescriptionStatus[data-state="unavailable"] {
  color: #8b2f25;
  font-weight: 800;
}

#voiceDescriptionStatus[data-state="done"] {
  color: var(--green-dark);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
}

input,
select {
  min-height: 44px;
  padding: 0 12px;
}

textarea {
  min-height: 108px;
  padding: 12px;
  resize: vertical;
}

.view {
  display: none;
}

.view.active {
  display: block;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.combined-guide-page .page-section {
  margin: 46px 0;
}

.combined-guide-page .section-heading {
  align-items: flex-end;
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 2px solid rgba(8, 183, 201, 0.18);
}

.combined-guide-page .section-heading > div {
  display: grid;
  gap: 8px;
}

.combined-guide-page .section-heading .eyebrow {
  color: var(--green-dark);
  font-size: clamp(2.15rem, 4vw, 3.6rem);
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
}

.combined-guide-page .section-heading h2 {
  max-width: 920px;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.45;
  font-weight: 800;
}

.count-pill {
  padding: 8px 10px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--orange-soft);
  font-size: 0.85rem;
  font-weight: 800;
}

.tool-grid,
.rate-grid,
.rules-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.home-tool-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tool-card,
.rate-card,
.rules-grid article,
.form-panel,
.estimate-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.tool-card {
  cursor: pointer;
  overflow: hidden;
}

.tool-visual {
  position: relative;
  height: 170px;
  overflow: hidden;
  background: #edf7fa;
}

.tool-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease;
}

.tool-card:hover .tool-visual img {
  transform: scale(1.03);
}

.tool-card:hover,
.tool-card:focus-within {
  border-color: rgba(8, 183, 201, 0.28);
}

.tool-body {
  padding: 16px;
}

.tool-body h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.meta-row span {
  padding: 5px 8px;
  border-radius: 999px;
  background: #edf7fa;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.tool-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.tool-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.credits {
  display: grid;
  gap: 2px;
}

.credits strong {
  color: var(--green-dark);
  font-size: 1.3rem;
}

.catalog-more-action {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

.catalog-more-action .primary-button {
  min-width: min(100%, 220px);
}

.wanted-resources-section {
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid rgba(8, 183, 201, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(237, 247, 250, 0.72)),
    #f7f9f3;
}

.wanted-resources-section .section-heading {
  align-items: flex-end;
  margin-bottom: 18px;
}

.wanted-resources-section .section-heading p:not(.eyebrow) {
  max-width: 780px;
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.wanted-resource-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.wanted-resource-grid article {
  position: relative;
  display: grid;
  gap: 8px;
  grid-template-rows: auto auto auto 1fr auto;
  min-height: 100%;
  padding: 0 0 14px;
  overflow: hidden;
  border: 1px solid rgba(8, 183, 201, 0.14);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(35, 55, 44, 0.08);
}

.wanted-resource-grid article::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--yellow);
}

.wanted-resource-grid article:nth-child(3n + 2)::before {
  background: var(--green);
}

.wanted-resource-grid article:nth-child(3n)::before {
  background: var(--yellow);
}

.wanted-resource-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #edf7fa;
}

.wanted-resource-grid span {
  justify-self: start;
  margin: 6px 14px 0;
  padding: 5px 8px;
  border-radius: 999px;
  color: var(--green-dark);
  background: rgba(8, 183, 201, 0.09);
  font-size: 0.74rem;
  font-weight: 900;
}

.wanted-resource-grid strong {
  margin: 0 14px;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.18;
}

.wanted-resource-grid p {
  margin: 0 14px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.wanted-resource-grid a {
  justify-self: start;
  margin: 2px 14px 0;
  color: var(--green-dark);
  font-size: 0.86rem;
  font-weight: 900;
  text-decoration: none;
}

.wanted-resource-grid a:hover {
  text-decoration: underline;
}

.wanted-resource-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 8px;
  color: #fff;
  background: var(--green-dark);
}

.wanted-resource-cta p {
  margin: 0;
  font-weight: 800;
}

.wanted-resource-cta .primary-button {
  color: var(--green-dark);
  background: #fff;
}

.home-manifesto {
  margin: clamp(34px, 6vw, 72px) 0;
  padding: clamp(24px, 4vw, 46px);
  border: 1px solid #d8e2d2;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(8, 183, 201, 0.1), rgba(255, 159, 28, 0.14)),
    #fbfcf8;
  box-shadow: var(--shadow);
}

.manifesto-heading {
  max-width: 880px;
  margin-bottom: 26px;
}

.manifesto-heading h2 {
  max-width: 820px;
  margin: 8px 0 12px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.98;
}

.manifesto-heading p,
.manifesto-lead p,
.manifesto-points p,
.manifesto-footer p {
  color: var(--muted);
  line-height: 1.62;
}

.manifesto-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: clamp(18px, 3vw, 34px);
  align-items: start;
}

.manifesto-lead {
  padding: clamp(18px, 3vw, 28px);
  border-left: 5px solid var(--green-dark);
  background: rgba(255, 255, 255, 0.72);
  border-radius: 8px;
}

.manifesto-lead:first-child {
  grid-column: 1 / -1;
  grid-row: 5;
}

.manifesto-lead:nth-of-type(2) {
  grid-column: 1 / -1;
  grid-row: 6;
}

.manifesto-image {
  position: relative;
  grid-column: 1;
  grid-row: 1 / span 2;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(8, 183, 201, 0.16);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 38px rgba(35, 55, 44, 0.14);
}

.manifesto-image::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 59, 120, 0.04), rgba(0, 59, 120, 0.18)),
    linear-gradient(45deg, rgba(255, 159, 28, 0.12), rgba(8, 183, 201, 0.08));
}

.manifesto-image video {
  display: block;
  width: 100%;
  height: auto;
}

.manifesto-lead h3,
.manifesto-footer h3 {
  margin: 0 0 12px;
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.12;
}

.manifesto-points {
  grid-column: 2;
  grid-row: 1 / span 3;
  display: contents;
}

.manifesto-point {
  display: grid;
  gap: 7px;
  padding: 16px;
  border: 1px solid rgba(8, 183, 201, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
}

.manifesto-point:nth-child(-n + 4) {
  grid-column: 2;
}

.manifesto-point:nth-child(1) {
  grid-column: 2;
  grid-row: 1;
}

.manifesto-point:nth-child(2) {
  grid-column: 2;
  grid-row: 2;
}

.manifesto-point:nth-child(3) {
  grid-column: 1;
  grid-row: 3;
}

.manifesto-point:nth-child(4) {
  grid-column: 2;
  grid-row: 3;
}

.manifesto-under-video {
  grid-row: 4;
}

.manifesto-under-video:nth-child(5) {
  grid-column: 1;
}

.manifesto-under-video:nth-child(6) {
  grid-column: 2;
}

.manifesto-points span {
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
}

.manifesto-points strong {
  color: var(--ink);
  font-size: 1.02rem;
}

.home-manifesto blockquote {
  margin: clamp(22px, 4vw, 34px) 0;
  padding: 18px 0 18px clamp(18px, 3vw, 28px);
  border-left: 5px solid var(--yellow);
  color: var(--green-dark);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 900;
  line-height: 1.28;
}

.manifesto-footer {
  max-width: 850px;
  padding-top: 18px;
  border-top: 1px solid rgba(8, 183, 201, 0.16);
}

.more-resources-section[hidden],
.catalog-more-action button[hidden] {
  display: none;
}

.secondary-button,
.primary-button,
.danger-button,
.ghost-button,
.icon-button {
  border: 0;
  border-radius: 8px;
  font-weight: 800;
}

.secondary-button {
  min-height: 40px;
  padding: 0 12px;
  color: var(--ink);
  background: var(--yellow);
}

.detail-button,
.ghost-link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border-radius: 8px;
  padding: 0 12px;
  color: var(--blue);
  background: var(--orange-soft);
  font-size: 0.88rem;
  font-weight: 900;
  text-decoration: none;
}

.detail-button:hover,
.ghost-link-button:hover {
  background: #ffe3b5;
}

.primary-button {
  min-height: 46px;
  padding: 0 16px;
  color: #fff;
  background: var(--green-dark);
}

.danger-button {
  min-height: 40px;
  padding: 0 12px;
  color: #fff;
  background: #9f2f2f;
}

.whatsapp-button,
.whatsapp-mini-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  color: #ffffff;
  background: #1f9d55;
  font-weight: 900;
  text-decoration: none;
}

.whatsapp-button {
  min-height: 44px;
  padding: 0 14px;
}

.booking-membership-link {
  width: 100%;
}

.whatsapp-mini-button {
  min-height: 34px;
  padding: 0 10px;
  font-size: 0.82rem;
}

.whatsapp-button:hover,
.whatsapp-mini-button:hover {
  background: #147d43;
}

.ghost-button {
  min-height: 46px;
  padding: 0 16px;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.32);
}

.form-panel {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 18px;
}

.upload-field input[type="file"] {
  display: grid;
  align-items: center;
  padding: 10px;
  background: #edf7fa;
}

.image-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.image-preview {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.image-preview img {
  display: block;
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.image-preview figcaption {
  padding: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.image-preview figcaption strong,
.image-preview figcaption span,
.image-preview figcaption small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.image-preview figcaption strong {
  color: var(--ink);
  font-size: 0.82rem;
}

.conversion-status {
  grid-column: 1 / -1;
  margin: 0;
  padding: 12px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: #f5f7f1;
}

.conversion-status.error {
  border-color: rgba(176, 53, 53, 0.35);
  color: #8f2d2d;
  background: #fff4f2;
}

.image-quality-ok {
  color: var(--green-dark);
}

.image-quality-warning {
  color: #9a5b00;
}

.wide,
.form-panel .primary-button {
  grid-column: 1 / -1;
}

.estimate-box {
  margin-top: 14px;
  padding: 16px;
}

.rate-card,
.rules-grid article {
  padding: 16px;
}

.pricing-compare {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.pricing-card {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.pricing-card.featured {
  border-color: rgba(255, 139, 0, 0.45);
  background: linear-gradient(180deg, rgba(255, 245, 230, 0.96), var(--panel));
  box-shadow: 0 16px 42px rgba(255, 139, 0, 0.16);
}

.pricing-card h3 {
  font-size: 1.55rem;
}

.pricing-price {
  color: var(--green-dark);
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  line-height: 1;
}

.pricing-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pricing-card li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 8px;
  color: var(--ink);
  line-height: 1.35;
}

.pricing-card li span {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  color: var(--green-dark);
  background: rgba(0, 163, 173, 0.12);
  font-weight: 900;
}

.pricing-card li.is-muted {
  color: var(--muted);
}

.pricing-card li.is-muted span {
  color: var(--muted);
  background: rgba(105, 117, 125, 0.12);
}

.pricing-note {
  max-width: 920px;
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

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

.faq-grid article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.faq-grid h2 {
  font-size: 1rem;
  line-height: 1.25;
}

.faq-grid p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.faq-jump-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.faq-jump-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(1, 167, 183, 0.1);
  color: var(--green-dark);
  font-weight: 800;
  text-decoration: none;
}

.faq-jump-nav a:hover {
  background: rgba(255, 151, 20, 0.16);
  color: var(--yellow);
}

.faq-section {
  scroll-margin-top: 24px;
}

.faq-section .section-heading {
  margin-bottom: 16px;
}

.faq-grid h3 {
  font-size: 1rem;
  line-height: 1.25;
  color: var(--ink);
}

.terms-layout {
  display: grid;
  gap: 12px;
  max-width: 980px;
}

.terms-layout article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.terms-layout h2 {
  font-size: 1.08rem;
  line-height: 1.25;
}

.terms-layout p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.72fr);
  gap: 18px;
  margin: 28px 0;
  align-items: start;
}

.product-media-column {
  display: grid;
  gap: 14px;
}

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

.product-gallery,
.product-summary {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.product-gallery {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 0;
  padding: 10px;
  background: #f3f8fa;
}

.product-gallery-item {
  display: none;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 4 / 3;
  max-height: min(620px, 72vh);
  min-height: 360px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #ffffff;
}

.product-gallery-item.is-active {
  display: flex;
}

.product-gallery img,
.product-gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(0, 83, 155, 0.22);
  border-radius: 999px;
  color: var(--green-dark);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 24px rgba(0, 59, 120, 0.16);
  cursor: pointer;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  transform: translateY(-50%);
}

.gallery-arrow-prev {
  left: 18px;
}

.gallery-arrow-next {
  right: 18px;
}

.gallery-counter {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  font-size: 0.82rem;
  font-weight: 900;
}

.product-summary {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 22px;
}

.product-summary h1 {
  font-size: clamp(1.8rem, 3vw, 2.65rem);
  line-height: 1.06;
}

.product-title-form {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7fbfd;
}

.product-title-form label {
  display: grid;
  gap: 6px;
}

.product-title-form span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.product-title-form .form-message {
  margin-top: 0;
}

.product-title-form textarea {
  min-height: 96px;
}

.public-profile {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 14px;
  margin-top: 18px;
}

.public-profile-card {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.public-profile-card img {
  width: 96px;
  height: 96px;
  flex: 0 0 96px;
  border: 1px solid var(--line);
  border-radius: 999px;
  object-fit: cover;
}

.public-profile-card h1 {
  margin: 4px 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.public-profile-card p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
}

.public-profile-zone {
  width: fit-content;
  margin-top: 8px !important;
  border-left: 3px solid var(--yellow);
  padding-left: 10px;
  color: var(--ink) !important;
  font-weight: 900;
}

.public-profile-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 8px;
}

.profile-signal {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 10px;
  color: var(--green-dark);
  background: var(--paper);
  font-size: 0.82rem;
  font-weight: 900;
}

.profile-signal.verified {
  border-color: rgba(8, 183, 201, 0.38);
  color: #00539b;
  background: rgba(8, 183, 201, 0.12);
}

.profile-signal.certified {
  border-color: var(--orange-line);
  color: #925500;
  background: var(--orange-soft);
}

.profile-signal-note {
  max-width: 62ch;
  font-size: 0.9rem;
  line-height: 1.45;
}

.product-summary p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.status-notice {
  padding: 12px;
  border: 1px solid #e7d9a8;
  border-radius: 8px;
  background: #fff8dd;
  color: #5f4c11;
}

.owner-card {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7fbfd;
}

.owner-card img {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  border-radius: 999px;
  background: #edf7fa;
  object-fit: cover;
}

.owner-card strong,
.owner-card span {
  display: block;
}

.owner-card span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.9rem;
}

.owner-card-large {
  padding: 0;
  border: 0;
  background: transparent;
}

.owner-card-large img {
  width: 68px;
  height: 68px;
  flex-basis: 68px;
}

.owner-card-kicker {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.owner-card small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.86rem;
}

.partner-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 8px;
  padding: 5px 8px;
  border-radius: 999px;
  color: #925500;
  background: var(--orange-soft);
  font-size: 0.78rem;
  font-weight: 900;
}

.partner-public-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.42fr);
  gap: 14px;
  margin: 18px 0;
  padding: 18px;
  border: 1px solid rgba(8, 183, 201, 0.18);
  border-radius: 8px;
  background: #f7fbfd;
  box-shadow: var(--shadow);
}

.partner-public-box h2 {
  margin: 4px 0 8px;
  font-size: clamp(1.25rem, 2vw, 1.8rem);
}

.partner-public-box p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.partner-public-details {
  display: flex;
  flex-wrap: wrap;
  align-content: start;
  gap: 8px;
}

.partner-public-details span,
.partner-public-details small {
  padding: 7px 9px;
  border-radius: 999px;
  color: var(--green-dark);
  background: rgba(8, 183, 201, 0.1);
  font-size: 0.84rem;
  font-weight: 800;
}

.partner-public-details small {
  flex-basis: 100%;
  border-radius: 8px;
  color: var(--muted);
  background: #fff;
  line-height: 1.35;
}

.reputation-box {
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf5;
}

.reputation-box strong,
.reputation-box span,
.reputation-box small {
  display: block;
}

.reputation-box span {
  color: var(--green-dark);
  font-weight: 900;
}

.reputation-box small,
.muted-note {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.35;
}

.feedback-snippets {
  display: grid;
  gap: 4px;
}

.feedback-snippets p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.feedback-given {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 10px;
  border-radius: 8px;
  color: var(--green-dark);
  background: #edf7fa;
  font-size: 0.88rem;
  font-weight: 900;
}

.product-points {
  display: inline-grid;
  justify-self: start;
  gap: 2px;
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--green-dark);
  background: #edf7fa;
}

.product-points strong {
  font-size: 2rem;
  line-height: 1;
}

.product-request-panel {
  display: grid;
  grid-template-columns: minmax(110px, auto) minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
  padding: 14px;
  border: 1px solid rgba(8, 183, 201, 0.2);
  border-radius: 8px;
  background: #f7fbfd;
}

.product-request-panel .product-points {
  align-self: stretch;
  align-content: center;
}

.product-request-panel .product-actions {
  align-content: center;
}

.owner-compact-card {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.owner-compact-card img {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: #edf7fa;
  object-fit: cover;
}

.owner-compact-card span,
.owner-compact-card small {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
}

.owner-compact-card strong {
  display: block;
  margin: 2px 0;
  color: var(--ink);
}

.owner-trust-panel {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcf8;
}

.owner-trust-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.owner-trust-stats div {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.owner-trust-stats strong,
.owner-trust-stats span {
  display: block;
}

.owner-trust-stats strong {
  color: var(--ink);
  font-size: 1.08rem;
}

.owner-trust-stats span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.owner-review-list {
  display: grid;
  gap: 8px;
}

.owner-review-list p,
.owner-trust-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.rental-price-table {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcf8;
}

.product-info-grid .owner-trust-panel,
.product-info-grid .rental-price-table,
.product-media-cards .rental-price-table,
.product-media-cards .availability-public-panel {
  padding: 0;
  border: 0;
  background: transparent;
}

.rental-price-table p {
  margin: 0 0 2px;
  color: var(--ink);
  font-weight: 900;
}

.rental-price-table div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 8px 0;
  border-top: 1px solid var(--line);
}

.rental-price-table span {
  color: var(--muted);
  font-weight: 800;
}

.rental-price-table strong {
  color: var(--green-dark);
}

.rental-price-table small {
  color: var(--muted);
  line-height: 1.35;
}

.product-actions {
  display: grid;
  gap: 10px;
}

.product-privacy-note {
  font-size: 0.9rem;
}

.product-report-panel {
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.product-report-panel details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.product-report-panel summary {
  cursor: pointer;
  padding: 12px 14px;
  color: var(--muted);
  font-weight: 900;
}

.product-report-panel form {
  display: grid;
  gap: 12px;
  padding: 0 14px 14px;
}

.product-report-panel label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 900;
}

.product-report-panel select,
.product-report-panel textarea {
  width: 100%;
}

.product-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 14px 0 28px;
}

.spec-list {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
}

.spec-list div {
  display: grid;
  grid-template-columns: minmax(110px, 0.42fr) minmax(0, 1fr);
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.spec-list dt {
  color: var(--muted);
  font-weight: 900;
}

.spec-list dd {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
}

.approx-map {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(8, 183, 201, 0.12) 1px, transparent 1px),
    linear-gradient(rgba(8, 183, 201, 0.12) 1px, transparent 1px),
    radial-gradient(circle at 48% 48%, #f9faf5, #e6eee4);
  background-size: 34px 34px, 34px 34px, auto;
}

.map-ring {
  position: absolute;
  transform: translate(-50%, -50%);
  border: 2px solid rgba(0, 83, 155, 0.82);
  border-radius: 999px;
  background: rgba(8, 183, 201, 0.18);
}

.map-label {
  position: absolute;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  padding: 7px 10px;
  color: #ffffff;
  background: var(--green-dark);
  font-size: 0.8rem;
  font-weight: 900;
  white-space: nowrap;
}

.map-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.check-list {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.45;
}

.mini-tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.mini-tool-card {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.mini-tool-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  object-fit: cover;
}

.mini-tool-card span {
  color: var(--muted);
  font-size: 0.9rem;
}

.mini-tool-card a {
  color: var(--green-dark);
  font-weight: 900;
  text-decoration: none;
}

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

.favor-board-card {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.favor-board-card h3,
.favor-board-card p {
  margin: 0;
}

.favor-board-card h3 {
  color: var(--ink);
  font-size: 1.1rem;
  line-height: 1.25;
}

.favor-board-card > span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.favor-board-card .primary-button {
  width: fit-content;
}

.rate-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.rate-card span {
  color: var(--muted);
}

.rules-grid p {
  margin: 8px 0 0;
  color: var(--muted);
}

dialog {
  width: min(520px, calc(100vw - 28px));
  border: 0;
  border-radius: 8px;
  padding: 0;
  box-shadow: var(--shadow);
}

dialog::backdrop {
  background: rgba(20, 26, 22, 0.58);
}

.dialog-card {
  position: relative;
  padding: 24px;
}

.dialog-card .whatsapp-button {
  width: 100%;
  margin-bottom: 10px;
}

.close-button {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  color: var(--ink);
  background: #edf7fa;
}

.dialog-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0;
}

output {
  display: grid;
  min-height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--green-dark);
  font-weight: 900;
}

.dialog-note {
  color: var(--muted);
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .pricing-layout {
    grid-template-columns: 1fr;
  }

  .account-layout,
  .dashboard-grid,
  .dashboard-actions,
  .dashboard-main,
  .admin-main,
  .admin-filters,
  .chat-workspace,
  .product-layout,
  .product-request-panel,
  .product-media-cards,
  .public-profile,
  .partner-public-box,
  .product-info-grid {
    grid-template-columns: 1fr;
  }

  .site-footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .account-benefits {
    grid-template-columns: 1fr;
  }

  .profile-image-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .public-profile-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .tracking-grid {
    grid-template-columns: 1fr;
  }

  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }

  .nav-list {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .membership-panel {
    margin-top: 0;
  }

  .topbar,
  .hero-message,
  .section-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-message {
    position: relative;
    inset: auto;
    display: grid;
    grid-template-columns: 1fr;
    padding: 18px;
    background: #082b4a;
  }

  .search-strip,
  .steps-row,
  .how-panel,
  .exchange-model,
  .tool-grid,
  .wanted-resource-grid,
  .rate-grid,
  .pricing-compare,
  .faq-grid,
  .rules-grid {
    grid-template-columns: 1fr 1fr;
  }

  .manifesto-layout {
    grid-template-columns: 1fr;
  }

  .manifesto-lead:first-child,
  .manifesto-lead:nth-of-type(2),
  .manifesto-image,
  .manifesto-points,
  .manifesto-point,
  .manifesto-under-video {
    grid-column: auto;
    grid-row: auto;
  }

  .manifesto-points {
    display: grid;
    gap: 10px;
  }
}

@media (max-width: 680px) {
  .site-shell {
    width: min(100% - 24px, 1180px);
  }

  .site-header {
    gap: 10px;
    padding: 10px 0;
  }

  .site-brand .brand-mark {
    width: 34px;
    height: 34px;
    font-size: 0.78rem;
  }

  .brand-logo {
    width: 118px;
  }

  .site-brand strong {
    font-size: 0.95rem;
  }

  .site-brand small {
    font-size: 0.76rem;
  }

  .site-nav {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    justify-content: flex-start;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding: 2px 0 8px;
    scrollbar-width: none;
    width: 100%;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .site-nav a {
    flex: 0 0 auto;
    justify-content: center;
    min-height: 34px;
    padding: 0 10px;
    font-size: 0.84rem;
    white-space: nowrap;
  }

  .site-footer {
    margin-top: 34px;
    padding: 20px;
  }

  .site-footer-main {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .site-footer-bottom {
    flex-direction: column;
  }

  .page-hero {
    padding-top: 24px;
  }

  .page-hero h1,
  .product-summary h1 {
    font-size: clamp(2rem, 11vw, 3.15rem);
    line-height: 0.98;
  }

  .home-hero-overlay {
    padding: 22px 18px;
  }

  .home-hero-overlay h1 {
    font-size: clamp(2.05rem, 10.5vw, 3.2rem);
    line-height: 1;
  }

  .home-hero {
    min-height: 660px;
  }

  .home-search {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    margin: 0 14px 14px;
  }

  .main-content,
  .sidebar {
    padding: 16px;
  }

  .nav-list,
  .chat-form,
  .search-strip,
  .steps-row,
  .how-panel,
  .exchange-model,
  .tool-grid,
  .rate-grid,
  .pricing-compare,
  .faq-grid,
  .rules-grid,
  .form-panel,
  .wanted-resource-grid,
  .image-preview-grid,
  .owner-trust-stats,
  .dialog-fields {
    grid-template-columns: 1fr;
  }

  .wanted-resource-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .availability-calendar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-manifesto {
    padding: 20px;
  }

  .manifesto-lead {
    padding: 16px;
  }

  .account-card {
    min-width: 0;
  }

  .user-tool-item {
    grid-template-columns: 1fr;
  }

  .tool-image-strip {
    min-height: 110px;
  }

  .saved-tool-image img {
    min-height: 110px;
  }

  .admin-row,
  .admin-row.compact {
    grid-template-columns: 1fr;
  }

  .admin-row-actions,
  .admin-user-metrics {
    justify-content: flex-start;
  }

  .admin-status {
    text-align: left;
  }

  .referral-stats {
    grid-template-columns: 1fr;
  }

  .mini-tool-grid {
    grid-template-columns: 1fr;
  }

  .favor-board-grid {
    grid-template-columns: 1fr;
  }

  .product-gallery {
    min-height: auto;
  }

  .product-gallery-item {
    min-height: 300px;
    max-height: none;
  }

  .gallery-arrow {
    width: 38px;
    height: 38px;
    font-size: 1.7rem;
  }

  .spec-list div {
    grid-template-columns: 1fr;
  }
}




