/* ============================================================
   Solution Realty — site.css
   One system for every page. Bump ?v=N on every <link> when edited.
   Palette is flat: one brand blue, one green accent, ink, grays.
   ============================================================ */

:root {
  --ink: #1a1a1a;
  --navy: #1a2332;
  --brand: #3b6fb5;
  --brand-dark: #2d5a94;
  --accent: #7cba3f;
  --muted: #64748b;
  --line: #e2e8f0;
  --page: #ffffff;
  --tint: #f8fafc;
  --tint2: #f0f6ff;
  --cream: #fefce8;
  --cream-line: #c9c4a3;
  --gray-row: #f1f5f9;
  --r: 5px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html { -webkit-text-size-adjust: 100%; }
[id] { scroll-margin-top: 76px; }

/* ------------------------------------------------------------
   HEADER (rendered by site-nav.js into <header id="siteHeader">)
   All class names are sr-* so page CSS can never collide.
   ------------------------------------------------------------ */
#siteHeader, #siteHeader *, #siteFooter, #siteFooter * {
  font-family: var(--font);
  box-sizing: border-box;
}
#siteHeader {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.sr-nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.sr-logo { display: flex; align-items: center; text-decoration: none; }
.sr-logo img { height: 46px; width: auto; display: block; }
.sr-menu { display: none; }
.sr-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 2px;
}
.sr-links > li { position: relative; margin: 0; padding: 0; }
.sr-links > li > a,
.sr-dd-toggle {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 64px;
  padding: 0 13px;
  margin: 0;
  font: 600 14px/1 var(--font);
  letter-spacing: 0.01em;
  color: #334155;
  text-decoration: none;
  background: none;
  border: 0;
  border-top: 3px solid transparent;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}
.sr-links > li > a:hover,
.sr-dd-toggle:hover,
.sr-dd.is-open > .sr-dd-toggle { color: var(--brand); }
.sr-links > li > a.is-active,
.sr-dd-toggle.is-active {
  color: var(--ink);
  border-bottom-color: var(--accent);
}
.sr-dd-toggle::after {
  content: '';
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}
.sr-dd-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 270px;
  margin: 0;
  padding: 6px 0;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--brand);
  border-radius: 0 0 var(--r) var(--r);
  display: none;
  z-index: 1001;
}
.sr-dd.is-open > .sr-dd-menu { display: block; }
@media (hover: hover) and (min-width: 769px) {
  .sr-dd:hover > .sr-dd-menu { display: block; }
}
.sr-dd-menu a {
  display: block;
  padding: 9px 16px;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.3;
  color: #334155;
  text-decoration: none;
}
.sr-dd-menu a:hover { background: var(--tint2); color: var(--brand); }
.sr-dd-menu a.is-active { color: var(--brand); font-weight: 700; }
.sr-dd-menu .sr-dd-sep { height: 1px; background: var(--line); margin: 6px 0; }
.sr-dd-menu .sr-dd-group { padding: 10px 16px 4px; font-size: 10.5px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.sr-dd-menu a.is-strong { font-weight: 700; color: var(--ink); }
.sr-dd-menu { max-height: calc(100vh - 80px); overflow-y: auto; }

@media (max-width: 768px) {
  .sr-nav { min-height: 56px; padding: 0 16px; flex-wrap: wrap; row-gap: 0; }
  .sr-logo { height: 56px; }
  .sr-logo img { height: 40px; }
  .sr-menu {
    display: inline-flex;
    align-items: center;
    height: 34px;
    padding: 0 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r);
    font: 700 12px var(--font);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink);
    cursor: pointer;
  }
  .sr-menu[aria-expanded="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
  .sr-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 4px 0 12px;
    border-top: 1px solid var(--line);
    max-height: calc(100vh - 56px);
    overflow-y: auto;
  }
  #siteHeader.is-open .sr-links { display: flex; }
  .sr-links > li > a,
  .sr-dd-toggle {
    width: 100%;
    height: auto;
    padding: 12px 4px;
    border: 0;
    border-left: 3px solid transparent;
    font-size: 15px;
    justify-content: flex-start;
  }
  .sr-links > li > a.is-active { border-left-color: var(--accent); padding-left: 10px; }
  .sr-dd-toggle {
    padding: 14px 4px 4px;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    cursor: default;
  }
  .sr-dd-toggle::after { display: none; }
  .sr-dd-toggle.is-active { color: var(--muted); border-left-color: transparent; }
  .sr-dd-menu {
    position: static;
    display: block;
    min-width: 0;
    margin: 0 0 4px 6px;
    padding: 0 0 4px 12px;
    border: 0;
    border-left: 2px solid var(--line);
    border-radius: 0;
  }
  .sr-dd-menu a { padding: 8px 6px; font-size: 14px; }
  .sr-dd-menu a.is-active { border-left: 3px solid var(--accent); margin-left: -14px; padding-left: 17px; }
}

/* ------------------------------------------------------------
   FOOTER (rendered by site-nav.js into <footer id="siteFooter">)
   ------------------------------------------------------------ */
#siteFooter {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.72);
  margin-top: 48px;
}
.sr-foot {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px 24px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
}
.sr-foot-brand { font-size: 17px; font-weight: 800; color: #fff; letter-spacing: -0.01em; }
.sr-foot p { margin: 8px 0 0; font-size: 13.5px; line-height: 1.6; max-width: 46ch; }
.sr-foot h4 {
  margin: 4px 0 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}
.sr-foot a {
  display: block;
  padding: 3px 0;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}
.sr-foot a:hover { color: #fff; }
.sr-foot-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); }
.sr-foot-bottom > div {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.5);
}
.sr-foot-bottom a { color: inherit; text-decoration: none; }
.sr-foot-bottom a:hover { color: #fff; }
@media (max-width: 768px) {
  .sr-foot { grid-template-columns: 1fr; gap: 20px; padding: 24px 16px 16px; }
  .sr-foot-bottom > div { padding: 12px 16px; }
}

/* ------------------------------------------------------------
   PAGE SYSTEM — layout, type, sections, buttons, cards, rows, tables
   ------------------------------------------------------------ */
.sr-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.sr-band { padding: 56px 0; background: var(--page); }
.sr-band.tint { background: var(--tint); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sr-band.tint + .sr-band.tint { border-top: 0; }
.sr-band.brand { background: var(--brand); color: #fff; }
.sr-band.navy { background: var(--navy); color: #fff; }

.sr-eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
}

/* Section opener: boxed number + label, heading, 2px brand rule */
.sr-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 32px;
  padding-bottom: 16px;
  margin-bottom: 28px;
  border-bottom: 2px solid var(--brand);
}
.sr-kicker {
  display: flex;
  align-items: center;
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.sr-kicker b {
  display: inline-block;
  margin-right: 10px;
  padding: 3px 7px;
  border: 1px solid var(--ink);
  color: var(--ink);
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
}
.sr-head h1, .sr-head h2 {
  margin: 0;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--ink);
}
.sr-lede { margin: 0; max-width: 52ch; font-size: 15px; line-height: 1.6; color: var(--muted); }
.sr-band.brand .sr-head, .sr-band.navy .sr-head { border-bottom-color: rgba(255, 255, 255, 0.55); }
.sr-band.brand .sr-kicker, .sr-band.navy .sr-kicker,
.sr-band.brand .sr-lede, .sr-band.navy .sr-lede { color: rgba(255, 255, 255, 0.85); }
.sr-band.brand .sr-head h2, .sr-band.navy .sr-head h2,
.sr-band.brand .sr-head h1, .sr-band.navy .sr-head h1 { color: #fff; }
.sr-band.brand .sr-kicker b, .sr-band.navy .sr-kicker b { border-color: #fff; color: #fff; }

/* Buttons: one solid, the rest outlined. 5px radius, no lift, no shadow. */
.sr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 22px;
  background: var(--brand);
  color: #fff;
  border: 1px solid var(--brand);
  border-radius: var(--r);
  font: 600 14.5px var(--font);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}
.sr-btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.sr-btn.outline { background: transparent; color: var(--brand); }
.sr-btn.outline:hover { background: var(--tint2); color: var(--brand-dark); }
.sr-btn.light { background: #fff; color: var(--brand); border-color: #fff; }
.sr-btn.light:hover { background: var(--tint2); border-color: var(--tint2); color: var(--brand-dark); }
.sr-btn.ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.6); }
.sr-btn.ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; color: #fff; }
.sr-btn.sm { height: 36px; padding: 0 14px; font-size: 13px; }
.sr-btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* Cards: 1px border, 3px brand top rule */
.sr-grid { display: grid; gap: 16px; }
.sr-grid.c2 { grid-template-columns: repeat(2, 1fr); }
.sr-grid.c3 { grid-template-columns: repeat(3, 1fr); }
.sr-grid.c4 { grid-template-columns: repeat(4, 1fr); }
.sr-card {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--brand);
  border-radius: var(--r);
  padding: 20px;
  color: inherit;
  text-decoration: none;
}
a.sr-card:hover { border-color: var(--brand); }
.sr-card h3 { margin: 0 0 6px; font-size: 16px; font-weight: 800; letter-spacing: -0.01em; color: var(--ink); }
.sr-card p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.sr-card .sr-tag { margin-top: 14px; }

/* Small uppercase tag */
.sr-tag {
  display: inline-block;
  padding: 3px 7px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 3px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.2;
  color: var(--muted);
  white-space: nowrap;
}
.sr-tag.brand { color: var(--brand); border-color: #c5d6ee; background: var(--tint2); }
.sr-tag.green { color: #4d8a1f; border-color: #cfe5b9; background: #f3f9ec; }
.sr-tag.amber { color: #b45309; border-color: #f3d9a4; background: #fff7e6; }
.sr-tag.red { color: #b91c1c; border-color: #f5c2c2; background: #fff1f1; }
.sr-tag.gray { color: #475569; border-color: #d7dde6; background: #f1f5f9; }

/* Compact link rows: bold title, one-line gray description, tag right */
.sr-rows { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.sr-row {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  column-gap: 16px;
  row-gap: 2px;
  align-items: center;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
}
.sr-row:first-child { border-top: 0; }
a.sr-row:hover { background: var(--tint2); }
.sr-row b { grid-column: 1; font-size: 14.5px; font-weight: 700; color: var(--ink); }
.sr-row .d { grid-column: 1; font-size: 13px; line-height: 1.45; color: var(--muted); }
.sr-row .sr-tag { grid-column: 2; grid-row: 1 / span 2; }

/* Ledger table: solid brand header band */
.sr-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); font-size: 14px; }
.sr-table th {
  background: var(--brand);
  color: #fff;
  text-align: left;
  padding: 9px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.sr-table td { padding: 10px 12px; border-top: 1px solid var(--line); vertical-align: top; }
.sr-table tr:nth-child(even) td { background: var(--tint); }

/* Facts strip under a hairline */
.sr-facts { display: flex; flex-wrap: wrap; gap: 16px 0; margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); }
.sr-fact { padding-right: 32px; margin-right: 32px; border-right: 1px solid var(--line); }
.sr-fact:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.sr-fact b { display: block; font-size: 26px; font-weight: 800; letter-spacing: -0.02em; line-height: 1; color: var(--ink); }
.sr-fact span { display: block; margin-top: 6px; font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

@media (max-width: 1024px) {
  .sr-grid.c4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .sr-wrap { padding: 0 16px; }
  .sr-band { padding: 40px 0; }
  .sr-head { margin-bottom: 22px; }
  .sr-head h1, .sr-head h2 { font-size: 24px; }
  .sr-grid.c2, .sr-grid.c3, .sr-grid.c4 { grid-template-columns: 1fr; }
  .sr-row { grid-template-columns: 1fr; }
  .sr-row .sr-tag { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 6px; }
  .sr-fact { padding-right: 20px; margin-right: 20px; }
  .sr-fact b { font-size: 22px; }
  .sr-btn { height: 42px; padding: 0 18px; }
}
@media (max-width: 480px) {
  .sr-fact { flex: 1 1 40%; border-right: 0; margin-right: 0; padding-right: 8px; }
}

/* ------------------------------------------------------------
   TOOLS — identical action bar on every calculator and form.
   Title left; Share · Saved · Save · Print / PDF right (forms: progress · Print / PDF · Clear All).
   ------------------------------------------------------------ */
.sr-toolbar {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--brand);
  border-radius: var(--r);
  padding: 12px 16px;
  margin: 0 0 12px;
}
.sr-toolbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 16px;
}
.sr-toolbar-title, .sr-toolbar h1 {
  margin: 0;
  font-family: var(--font);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
  background: none;
  -webkit-text-fill-color: initial;
}
.sr-toolbar-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.sr-tbtn {
  height: 34px;
  padding: 0 14px;
  background: #fff;
  color: var(--brand);
  border: 1px solid var(--brand);
  border-radius: var(--r);
  font: 600 13px var(--font);
  cursor: pointer;
  white-space: nowrap;
}
.sr-tbtn:hover { background: var(--tint2); color: var(--brand-dark); }
.sr-tbtn.muted { color: var(--muted); border-color: var(--line); }
.sr-tbtn.muted:hover { color: var(--ink); background: var(--tint); }
.sr-toolbar .progress-info { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; color: var(--muted); margin-right: 6px; }
.sr-toolbar .progress-bar-wrap { width: 120px; height: 6px; background: var(--line); border-radius: 0; overflow: hidden; }
.sr-toolbar .progress-fill { height: 100%; width: 0; background: var(--accent); border-radius: 0; transition: width 0.3s; }
.sr-toolbar .property-address-input { margin-top: 10px; }
.sr-toolbar.narrow { margin: 14px auto 0; }
.sr-toolbar .progress-bar { display: inline-block; width: 120px; height: 6px; background: var(--line); vertical-align: middle; overflow: hidden; }
.sr-toolbar .progress-bar .progress-fill { height: 100%; width: 0; background: var(--accent); transition: width 0.3s; }
.cmp-lede { max-width: 1100px; margin: 10px auto 0; padding: 0 2px; font-size: 13.5px; }

/* Fill-in letterhead on forms and agreements (no company branding baked in) */
.lh-name, .lh-contact {
  display: block;
  width: 100%;
  margin: 0;
  padding: 2px 0;
  border: 0;
  border-bottom: 1px solid var(--cream-line);
  background: transparent;
  font-family: var(--font);
  color: var(--ink);
  outline: none;
}
.lh-name { font-size: 22px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.2; }
.lh-contact { margin-top: 6px; font-size: 12px; font-weight: 500; color: var(--muted); }
.lh-name:focus, .lh-contact:focus { border-bottom-color: var(--brand); background: var(--cream); }
.lh-name::placeholder { font-weight: 700; color: #b8b4a0; }
.lh-contact::placeholder { color: #b8b4a0; }
@media print {
  .lh-name, .lh-contact { border-bottom-color: transparent; background: transparent; color: #000; }
  .lh-name::placeholder, .lh-contact::placeholder { color: transparent; }
}
@media (max-width: 768px) {
  .sr-toolbar { padding: 10px 12px; margin-bottom: 8px; }
  .sr-toolbar-title, .sr-toolbar h1 { font-size: 18px; }
  .sr-toolbar-actions { width: 100%; }
  .sr-tbtn { flex: 1 1 auto; padding: 0 8px; font-size: 12px; height: 34px; }
  .sr-toolbar .progress-info { width: 100%; margin: 0 0 2px; }
  .sr-toolbar .progress-bar-wrap { flex: 1; width: auto; }
}

/* Tool pages (body.sr-tool): cards with brand top rule, navy section bands,
   cream input cells, gray total rows with a brand top rule. */
.sr-tool .calc-container, .sr-tool .calculator-container { max-width: 1400px; margin: 0 auto; padding: 16px 24px 8px; }
.sr-tool .card, .sr-tool .cashflow-card, .sr-tool .chart-card {
  background: #fff;
  border: 1px solid var(--line) !important;
  border-top: 3px solid var(--brand) !important;
  border-radius: var(--r) !important;
  padding: 0 16px 16px !important;
  box-shadow: none !important;
}
.sr-tool .card-title, .sr-tool .chart-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 -16px 14px !important;
  padding: 9px 16px !important;
  background: var(--navy) !important;
  color: #fff !important;
  font-family: var(--font);
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.3;
  border: 0 !important;
  border-radius: 0 !important;
}
.sr-tool .card > :first-child:not(.card-title):not(.chart-title),
.sr-tool .cashflow-card > :first-child:not(.card-title),
.sr-tool .chart-card > :first-child:not(.chart-title) { margin-top: 16px; }
.sr-tool .card-icon { display: none !important; }

.sr-tool .input-value,
.sr-tool .input-field,
.sr-tool .tax-input,
.sr-tool .property-address-input,
.sr-tool .select-wrapper select,
.sr-tool .unit-table input,
.sr-tool .unit-table select {
  font-family: var(--font);
  background: var(--cream) !important;
  border: 1px solid var(--cream-line) !important;
  border-radius: 4px !important;
  color: var(--ink);
}
.sr-tool .input-value:focus,
.sr-tool .input-field:focus,
.sr-tool .tax-input:focus,
.sr-tool .property-address-input:focus,
.sr-tool .select-wrapper select:focus,
.sr-tool .unit-table input:focus {
  outline: none;
  background: #fff !important;
  border-color: var(--brand) !important;
  box-shadow: 0 0 0 2px rgba(59, 111, 181, 0.18);
}
.sr-tool .property-address-input::placeholder { font-style: normal; }

.sr-tool .result-item.summary,
.sr-tool .total-row,
.sr-tool .hero-result,
.sr-tool .monthly-pay-banner {
  background: var(--gray-row) !important;
  border: 0 !important;
  border-top: 2px solid var(--brand) !important;
  border-radius: 0 !important;
}
.sr-tool .monthly-pay-label, .sr-tool .monthly-pay-amount { color: var(--ink) !important; }
.sr-tool .metric-box { background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.sr-tool .saved-deals-panel, .sr-tool .pdf-style-modal { border-radius: var(--r) !important; box-shadow: none !important; }

/* Phones: nothing may be wider than the screen. Grid children shrink, charts scale,
   wide tables scroll inside their card instead of widening the page. */
.sr-tool .main-grid > *, .sr-tool .results-column > *, .sr-tool .deal-category, .sr-tool .input-grid-2 > * { min-width: 0; }
.sr-tool .input-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
.sr-tool input, .sr-tool select { max-width: 100%; }
.sr-tool canvas { max-width: 100% !important; }
.sr-tool .card:has(table) { overflow-x: auto; }
.sr-tool .card:has(table) table { min-width: 100%; }
.sr-tool .card, .sr-tool .cashflow-card, .sr-tool .chart-card { max-width: 100%; }
@media (max-width: 520px) {
  .sr-tool .tetris-row > *, .sr-tool .tetris-stack > *, .sr-tool .inputs-row > *, .sr-tool .metrics-row > * { min-width: 0 !important; width: 100%; }
}

/* Printable forms: the lease sheet is the one element allowed a subtle shadow */
.sr-tool .lease-wrapper { border-radius: var(--r); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); }

/* Private / shared-by-link pages: hide site chrome */
body.sr-private #siteHeader, body.sr-private #siteFooter { display: none !important; }

@media print {
  #siteHeader, #siteFooter, .sr-toolbar { display: none !important; }
  .sr-tool .lease-wrapper { box-shadow: none; border: 0; border-radius: 0; }
  /* Every fill-in cell prints as a plain rule, whatever its input type */
  .sr-tool .lease-wrapper input:not([type="checkbox"]):not([type="radio"]):not(.f-sig),
  .sr-tool .lease-wrapper select,
  .sr-tool .lease-wrapper textarea {
    background: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid #999 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }
}

/* Lease / form checkbox rows may wrap on phones */
.sr-tool label.chk { flex-wrap: wrap; max-width: 100%; }
.sr-tool label.chk input[type="text"] { max-width: 100%; }
