.cab-narrow { max-width: 560px; }
.cab-section { margin: 28px 0 36px; }
.cab-section h2 { font-size: 20px; margin: 0 0 12px; }
.cab-form { display: grid; gap: 10px; margin-top: 12px; }
.cab-form label { font-size: 14px; font-weight: 600; }
.cab-form input[type="text"],
.cab-form input[type="email"],
.cab-form select,
.cab-form textarea {
  width: 100%;
  border: 1px solid var(--st-line, #ddd4c6);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  background: #fff;
}
.cab-form--row {
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .cab-form--row {
    grid-template-columns: 1.2fr 1fr auto auto;
    align-items: end;
  }
  #proj-form.cab-form--row { grid-template-columns: 1.2fr 1fr auto; }
}
.cab-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: 14px;
}
.cab-card {
  border: 1px solid var(--st-line, #ddd4c6);
  border-radius: 16px;
  padding: 18px 16px;
  background: #fffdf8;
  box-shadow: 0 14px 30px -24px rgba(18,20,16,.4);
}
.cab-card h3 { margin: 0 0 8px; font-size: 17px; }
.cab-card--muted { background: #f3eee6; }
.cab-steps { margin: 10px 0 14px; padding-left: 18px; line-height: 1.5; }
.cab-list { margin: 0; padding-left: 18px; }
.cab-list li { margin: 6px 0; }
.page-cabinet .ok { color: #1b7a3d; font-weight: 600; }
.cab-kicker {
  margin: 0 0 6px;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #7a6a52;
  font-weight: 700;
}
.cab-card--full {
  border: 2px solid #1f6b4c;
  background: linear-gradient(180deg, #fffdf8 0%, #eef7f1 100%);
  box-shadow: 0 18px 40px -28px rgba(31, 107, 76, .55);
}
.cab-card--full h3 { font-size: 22px; }
.cab-price {
  margin: 10px 0 14px;
  font-size: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: baseline;
}
.cab-price s { color: #8a7d6c; font-size: 18px; }
.cab-price b { color: #1f6b4c; font-size: 28px; }
.cab-price__until {
  font-size: 13px;
  color: #6b5d4a;
  font-weight: 600;
  background: #f3e7cf;
  border-radius: 999px;
  padding: 4px 10px;
}
.btn--lg { padding: 14px 22px; font-size: 16px; border-radius: 999px; }
.cab-auth-card {
  background: #fffdf8;
  border: 1px solid var(--st-line, #ddd4c6);
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: 0 18px 40px -30px rgba(18,20,16,.45);
}
.cab-auth-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  color: #6b5d4a;
}
.cab-form input[type="password"],
.cab-form input[type="tel"] {
  width: 100%;
  border: 1px solid var(--st-line, #ddd4c6);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  background: #fff;
}

/* reuse agency modal styles if home.css not loaded */
.agency-modal[hidden] { display: none !important; }
.agency-modal {
  position: fixed; inset: 0; z-index: 80;
  display: grid; place-items: center; padding: 20px;
}
.agency-modal__backdrop {
  position: absolute; inset: 0; background: rgba(18, 20, 16, .55);
}
.agency-modal__card {
  position: relative; z-index: 1; width: min(520px, 100%);
  background: #fffdf8; border: 1px solid var(--st-line, #ddd4c6);
  border-radius: 18px; padding: 28px 24px 22px;
  box-shadow: 0 28px 60px -28px rgba(18, 20, 16, .55);
}
.agency-modal__x {
  position: absolute; top: 10px; right: 12px; border: 0;
  background: transparent; font-size: 28px; cursor: pointer; color: #666;
}
