/* Shared planning tools: calm, precise controls with stronger structure. */
.pl {
  --pl-ink: #1d2923 !important;
  --pl-green: #315d4b !important;
  --pl-line: #dfe6dd !important;
  --pl-paper: #f6f7f2 !important;
  max-width: 1240px !important;
  margin: 24px auto 72px !important;
  padding: 0 24px !important;
  color: var(--pl-ink) !important;
}
.pl .pl-hero {
  min-height: 300px !important;
  border: 1px solid #d9e1d7 !important;
  border-radius: 24px !important;
  background: #f3f5ee !important;
  box-shadow: 0 18px 48px rgba(29, 41, 35, .08) !important;
  padding: clamp(38px, 5vw, 68px) clamp(28px, 5vw, 64px) !important;
}
.pl-hero img { width: 51% !important; opacity: .96; }
.pl-hero::after {
  background: linear-gradient(90deg,#f3f5ee 0%,#f3f5ee 37%,rgba(243,245,238,.92) 49%,rgba(243,245,238,.12) 76%) !important;
}
.pl-kicker {
  color: #315d4b !important;
  background: #e6eee5 !important;
  border-color: #d1e0d3 !important;
  letter-spacing: .13em !important;
}
.pl .pl-hero h1 { max-width: 680px; }
.pl-hero p { max-width: 520px !important; }
.pl .pl-help details .read-inline-figure { margin: 14px 0 4px; padding: 8px; background: #f5f6ef; border: 1px solid #e0e5d8; border-radius: 12px; }
.pl .pl-help details .read-inline-figure img { display: block; width: 100%; height: auto; border-radius: 7px; }
.pl .pl-help details .read-inline-figure figcaption { padding: 7px 3px 0; color: #5d695f; font-size: 11px; line-height: 1.45; }
.pl .pl-layout-example { margin: 14px 0 0; max-width: 540px; }
.pl .pl-layout-example img { display: block; width: 100%; max-height: 250px; object-fit: contain; border: 1px solid #e0e4d8; border-radius: 10px; background: #f6f4ec; }
.pl .pl-layout-example figcaption { margin-top: 6px; color: #657064; font-size: 11px; }
.pl-progress { justify-content: flex-start !important; padding: 24px clamp(14px, 4vw, 48px) !important; }
.pl-columns { gap: clamp(22px, 3vw, 36px) !important; margin: 30px 0 !important; }
.pl-main > form, .pl-help, .pl-card, .pl-output {
  border-radius: 18px !important;
}
.pl-main > form {
  padding: clamp(20px, 3vw, 36px) !important;
  border: 1px solid #e0e6dd !important;
  background: #fffefa !important;
  box-shadow: 0 10px 30px rgba(29,41,35,.045) !important;
}
.pl .pl-field {
  grid-template-columns: 28px minmax(0,1fr) minmax(180px, 36%) !important;
  border-radius: 12px !important;
  padding: 15px 16px !important;
  margin-bottom: 9px !important;
  box-shadow: none !important;
}
.pl .pl-field:not(:has(svg)) {
  grid-template-columns: minmax(0, 1fr) minmax(180px, 36%) !important;
}
.pl .pl-field:hover { border-color: #bdcfc0 !important; background: #fff !important; }
.pl :is(input,select,textarea) { border-radius: 9px !important; min-height: 44px; }
.pl textarea { min-height: 92px; resize: vertical; }
.pl button.pl-btn, .pl a.pl-btn { min-height: 48px; border-radius: 10px !important; }
.pl .pl-btn:hover, .pl a.pl-btn:hover { transform: translateY(-1px); }
.pl button.pl-light,
.pl .pl-switch button {
  background: #f8faf6 !important;
  color: #244b3a !important;
  border: 1px solid #b9cabc !important;
  box-shadow: none !important;
}
.pl button.pl-light:hover,
.pl .pl-switch button:hover {
  background: #eaf1e9 !important;
  color: #193d2d !important;
  border-color: #799780 !important;
}
.pl .pl-switch button[aria-pressed="true"] {
  background: #315d4b !important;
  color: #fff !important;
  border-color: #315d4b !important;
}
.pl .pl-switch button svg { color: currentColor !important; }
.pl-help { padding: 0 0 0 28px !important; }
.pl-snapshot { border-radius: 18px !important; }
.pl-snapshot dl {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(110px, auto) !important;
  align-items: baseline;
  column-gap: 14px;
}
.pl-snapshot dt, .pl-snapshot dd {
  padding: 9px 0 !important;
  border-bottom: 1px solid #edf0e8 !important;
  text-align: left !important;
}
.pl-snapshot dd { text-align: right !important; }
.pl-card, .pl-output { border-color: #e0e6dd !important; box-shadow: 0 12px 32px rgba(29,41,35,.055) !important; }
.pl-workspace { grid-template-columns: minmax(0, 1.7fr) minmax(280px, .8fr) !important; }
.pl-workspace .pl-card:first-child { min-width: 0; }
.pl-switch { border-radius: 12px !important; }
.pl-row:not(.pl-head) { min-height: 58px; }
.pl-row:not(.pl-head):focus-within { border-color: #98b29e !important; background: #fbfdf9 !important; }
.pl-tools { flex-wrap: wrap; }
.pl-tools > div { flex: 1 1 220px; }
.pl-tools > button { min-height: 42px; }
.pl-summary { background: linear-gradient(160deg,#fffefa,#f6f8f2) !important; }
.pl-summary #pl-balance { color: #315d4b !important; font-weight: 650; }
.pl-layout-cta { border-radius: 14px !important; }
.pl-measure, .pl-fieldguide { border-radius: 14px !important; }
.pl-fieldguide { padding: clamp(20px,3vw,34px) !important; }
.pl-output { margin-top: 24px; }
.pl-output table { border: 1px solid #e0e6dd; border-radius: 10px; overflow: hidden; }
.pl-output th { background: #f1f5ef; }
@media (max-width: 760px) {
  .pl { padding: 0 16px !important; margin-top: 16px !important; }
  .pl .pl-hero { min-height: unset !important; padding: 30px 24px !important; }
  .pl-columns, .pl-workspace { grid-template-columns: 1fr !important; }
  .pl-help { padding: 0 !important; }
  .pl .pl-field { grid-template-columns: 24px minmax(0,1fr) !important; }
  .pl .pl-field:not(:has(svg)) { grid-template-columns: minmax(0,1fr) !important; }
  .pl-field input, .pl-field select { grid-column: 2 !important; }
  .pl-progress { justify-content: space-between !important; padding: 18px 0 !important; }
  .pl-progress li { padding: 0 3px !important; font-size: 11px !important; }
  .pl-progress li:not(:last-child)::after { width: 8px !important; right: -8px !important; }
  .pl-row:not(.pl-head) { grid-template-columns: minmax(0,1fr) 70px 36px !important; gap: 8px !important; }
  .pl-row:not(.pl-head) select { grid-column: 1 / 3; grid-row: 2; }
  .pl-row:not(.pl-head) button { grid-column: 3; grid-row: 1 / 3; }
  .pl-row.pl-head { display: none !important; }
  .pl-tools { align-items: flex-start; }
  .pl-switch { display: flex !important; width: 100%; }
  .pl-switch button { justify-content: center; flex: 1; padding: 9px 8px !important; }
}
@media (max-width: 500px) {
  .pl .pl-hero { display: flex !important; flex-direction: column-reverse !important; padding: 0 0 24px !important; overflow: hidden; }
  .pl .pl-hero > div { padding: 24px 22px 0; }
  .pl .pl-hero img { position: static !important; width: 100% !important; height: 170px !important; border-radius: 0 !important; }
  .pl-hero::after { display: none !important; }
  .pl-hero p { max-width: 100% !important; }
  .pl .pl-hero h1 { font-size: clamp(34px, 10vw, 44px) !important; }
  .pl-progress li { max-width: 31%; line-height: 1.25; }
  .pl-progress li::before { width: 25px !important; height: 25px !important; }
  .pl-card, .pl-main > form { padding: 18px !important; }
  .pl-tools > button { flex: 1; }
  .pl-summary .pl-btn { width: 100%; }
}
@media print {
  .pl { max-width: none !important; margin: 0 !important; padding: 0 !important; }
  .pl-output { box-shadow: none !important; }
}
