/* Taxly V67.4 — legal disclosure and consent presentation */
.taxly-v67-legal-alert {
  margin-top: 14px;
  padding: 11px 13px;
  border: 1px solid rgba(252, 211, 77, .42);
  border-radius: 14px;
  background: rgba(120, 53, 15, .34);
  color: #fff7d6;
  line-height: 1.55;
  font-size: .92rem;
}
.taxly-automated-draft-consent {
  border-color: rgba(185, 28, 28, .30) !important;
  background: #fff5f5 !important;
}
.taxly-automated-draft-consent strong { color: #8f1d1d !important; }
.taxly-automated-draft-consent small { color: #7f1d1d !important; }
.taxly-legal-consent {
  border-color: rgba(30, 64, 175, .24) !important;
  background: #f7faff !important;
}
.taxly-legal-consent a {
  color: #164e63;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.taxly-client-legal-result {
  margin: .85rem 0 0;
  padding: .8rem .9rem;
  border: 1px solid rgba(185, 28, 28, .24);
  border-radius: 14px;
  background: #fff5f5;
  color: #7f1d1d;
  line-height: 1.55;
}
.taxly-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.taxly-legal-links a {
  color: rgba(255,255,255,.86);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.taxly-automated-result-banner {
  margin: 0 0 18px;
  padding: 16px 18px;
  border: 2px solid #b91c1c;
  border-radius: 16px;
  background: #fff1f2;
  color: #7f1d1d;
  line-height: 1.65;
}
.taxly-automated-result-banner strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.08rem;
}

/* Standalone legal pages */
.taxly-legal-page {
  margin: 0;
  background: #f4f6f5;
  color: #17241f;
  font-family: Arial, "Noto Sans Hebrew", sans-serif;
  line-height: 1.75;
}
.taxly-legal-page * { box-sizing: border-box; }
.taxly-legal-shell { width: min(900px, calc(100% - 32px)); margin: 28px auto 56px; }
.taxly-legal-head,
.taxly-legal-doc {
  background: #fff;
  border: 1px solid #dbe5df;
  border-radius: 22px;
  box-shadow: 0 12px 36px rgba(15, 44, 34, .07);
}
.taxly-legal-head { padding: 22px 26px; margin-bottom: 16px; }
.taxly-legal-head a { color: #0d5b45; font-weight: 800; }
.taxly-legal-head h1 { margin: 8px 0 4px; font-size: clamp(1.75rem, 5vw, 2.5rem); line-height: 1.25; }
.taxly-legal-head p { margin: 0; color: #50645d; }
.taxly-legal-doc { padding: 26px; }
.taxly-legal-doc h2 { margin: 28px 0 8px; font-size: 1.2rem; color: #0f4f3d; }
.taxly-legal-doc h2:first-child { margin-top: 0; }
.taxly-legal-doc p,
.taxly-legal-doc li { color: #334b42; }
.taxly-legal-doc ul { padding-right: 22px; }
.taxly-legal-warning {
  padding: 14px 16px;
  border: 1px solid #efc6c6;
  border-radius: 14px;
  background: #fff4f4;
  color: #7f1d1d;
  font-weight: 700;
}
.taxly-legal-meta { font-size: .92rem; color: #64766f; }
.taxly-legal-contact { direction: ltr; unicode-bidi: embed; }
@media (max-width: 620px) {
  .taxly-legal-shell { width: min(100% - 20px, 900px); margin-top: 12px; }
  .taxly-legal-head, .taxly-legal-doc { padding: 18px; border-radius: 16px; }
}
