:root {
  --v2-navy: #0f2b3d;
  --v2-navy-deep: #0b2434;
  --v2-ink: #173044;
  --v2-muted: #687c87;
  --v2-line: #dfe7ea;
  --v2-soft: #f1f6f7;
  --v2-orange: #ee6747;
  --v2-orange-soft: #fff5f0;
  --v2-teal: #176472;
  --v2-star: #ecb52e;
  --v2-shadow: 0 10px 30px rgba(17, 43, 59, 0.08);
}

.v2-page {
  min-width: 320px;
  color: var(--v2-ink);
  background: #fafcfc;
  font-family: "Manrope", "Segoe UI", sans-serif;
  line-height: 1.4;
}

.v2-page *,
.v2-page *::before,
.v2-page *::after {
  box-sizing: border-box;
}

.v2-page svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.v2-page button,
.v2-page input,
.v2-page select {
  font-family: "Manrope", "Segoe UI", sans-serif;
}

/* Shared header */
.v2-page .site-header {
  position: relative;
  z-index: 50;
  height: 68px;
  color: #fff;
  background: linear-gradient(90deg, #0b2839 0%, #102f43 100%);
  box-shadow: none;
}

.v2-page .site-header-inner {
  width: calc(100% - 48px);
  max-width: 1120px;
  min-height: 68px;
  height: 68px;
  margin: 0 auto;
  padding: 0;
}

.v2-page .brand {
  gap: 7px;
}

.v2-page .brand-mark {
  width: 96px;
  height: 56px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.v2-page .brand-mark svg,
.v2-page .brand-mark img {
  width: 96px;
  height: 56px;
  object-fit: contain;
  display: block;
}

.v2-page .brand-text strong {
  font-family: "Fraunces", Georgia, serif;
  font-size: 17px;
  line-height: 1;
  letter-spacing: 0.04em;
}

.v2-page .brand-text span {
  margin-top: 4px;
  color: #d8e5e8;
  font-size: 6.5px;
  line-height: 1;
  letter-spacing: 0.28em;
}

.v2-page .nav {
  display: flex;
  align-self: stretch;
  gap: 34px;
  margin-left: auto;
  margin-right: 16%;
}

.v2-page .nav a {
  display: flex;
  align-items: center;
  position: relative;
  padding: 0;
  border: 0;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.v2-page .nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 14px;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: transparent;
}

.v2-page .nav a.active::after {
  background: var(--v2-orange);
}

.v2-page .header-phone {
  gap: 8px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.v2-page .header-phone .icon {
  width: 31px;
  height: 31px;
  border: 1px solid #4090a0;
  border-radius: 7px;
  color: #63bac4;
  background: rgba(17, 70, 87, 0.55);
}

.v2-page .header-phone .icon svg {
  width: 15px;
  height: 15px;
}

.v2-page .header-phone small {
  color: #dbe5e8;
  font-size: 8px;
  line-height: 1.2;
}

.v2-page .header-phone strong {
  margin-top: 2px;
  font-size: 11px;
  line-height: 1.1;
}

/* Shared flow / hero */
.flow-screen {
  display: none;
}

.flow-screen.is-active {
  display: block;
}

.v2-hero {
  position: relative;
  overflow: hidden;
  background: #f8fbfb;
}

.reference-photo,
.hero-fade {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.reference-photo {
  overflow: hidden;
}

.reference-photo img {
  position: absolute;
  right: 0;
  max-width: none;
  width: 100vw;
  height: auto;
}

.hero-fade {
  z-index: 1;
  background: linear-gradient(
    90deg,
    #f8fbfb 0%,
    rgba(248, 251, 251, 0.98) 39%,
    rgba(248, 251, 251, 0.73) 55%,
    rgba(248, 251, 251, 0.13) 77%,
    rgba(248, 251, 251, 0) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  margin: 0;
  color: var(--v2-navy);
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
  line-height: 1.08;
}

.hero-content > p {
  margin: 12px 0 0;
  color: var(--v2-muted);
}

.trust-strip {
  display: flex;
  align-items: center;
  gap: 39px;
  margin-top: 21px;
}

.trust-strip span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #354f5c;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.trust-strip svg {
  width: 21px;
  height: 21px;
  color: #205b67;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 40px;
  border: 0;
  border-radius: 5px;
  color: #fff;
  background: linear-gradient(90deg, #f05c3f, #ee6747);
  box-shadow: 0 4px 10px rgba(238, 103, 71, 0.16);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.primary-button:hover {
  filter: brightness(0.98);
}

.primary-button svg {
  width: 17px;
  height: 17px;
}

.privacy-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #7b8b94;
  font-size: 8px;
}

.privacy-note svg {
  width: 11px;
  height: 11px;
}

.flow-edit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 25px;
  padding: 0 9px;
  border: 1px solid #d7e2e5;
  border-radius: 5px;
  color: #315866;
  background: rgba(255, 255, 255, 0.9);
  font-size: 7.5px;
  font-weight: 700;
  cursor: pointer;
}

.flow-edit-button:hover {
  border-color: #abc2c9;
  background: #fff;
}

.flow-edit-button svg {
  width: 12px;
  height: 12px;
}

.hidden {
  display: none !important;
}

/* Builder */
.builder-width {
  width: calc(100% - 70px);
  max-width: 954px;
  margin: 0 auto;
}

.builder-hero {
  height: 220px;
  background: #fafcfc;
  overflow: hidden;
}

.builder-photo {
  left: 48%;
  right: 0;
  top: 0;
  bottom: 0;
  width: auto;
}

.builder-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      #fafcfc 0%,
      rgba(250, 252, 252, 0.75) 14%,
      rgba(250, 252, 252, 0.2) 36%,
      rgba(250, 252, 252, 0) 58%
    ),
    linear-gradient(
      180deg,
      rgba(250, 252, 252, 0) 0%,
      rgba(250, 252, 252, 0) 58%,
      rgba(250, 252, 252, 0.45) 82%,
      #fafcfc 100%
    );
}

.builder-photo img {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 70% 40%;
  transform: none;
}

.builder-hero .hero-fade {
  background: linear-gradient(
    90deg,
    #fafcfc 0%,
    rgba(250, 252, 252, 0.94) 36%,
    rgba(250, 252, 252, 0.35) 58%,
    rgba(250, 252, 252, 0) 78%
  );
}

.builder-hero .hero-content {
  padding-top: 48px;
  padding-left: 15px;
}

.builder-hero h1 {
  font-size: 32px;
}

.builder-hero .hero-content > p {
  font-size: 13px;
}

.builder-main {
  position: relative;
  z-index: 3;
  margin-top: 0;
  min-height: calc(100vh - 288px);
  padding-bottom: 25px;
  background: #fafcfc;
}

.builder-card {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: 647px minmax(0, 1fr);
  height: 492px;
  min-height: 492px;
  overflow: hidden;
  border: 1px solid #e7edef;
  border-radius: 13px;
  background: #fff;
  box-shadow: var(--v2-shadow);
}

.builder-card.is-expanded {
  height: auto;
}

.builder-form {
  padding: 26px 31px 15px;
}

.builder-step {
  position: relative;
}

.builder-step:not(.hidden) + .builder-step {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #e5eaec;
}

.step-heading {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 11px;
}

.step-heading.compact {
  margin-bottom: 9px;
}

.step-number {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: #fff;
  background: var(--v2-navy);
  font-size: 10px;
  font-weight: 800;
}

.step-heading h2 {
  margin: 1px 0 0;
  color: var(--v2-navy);
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
}

.step-heading p {
  margin: 3px 0 0;
  color: var(--v2-muted);
  font-size: 9px;
}

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

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 103px;
  padding: 12px 8px 8px;
  border: 1px solid #d9e1e4;
  border-radius: 6px;
  color: #17606c;
  background: #fff;
  box-shadow: none;
  text-align: center;
  cursor: pointer;
}

.service-card:disabled,
.service-card.is-coming-soon {
  cursor: not-allowed;
  opacity: 0.72;
  color: #7a8f97;
  background: #f7fafb;
  border-color: #e2e8ea;
  box-shadow: none;
}

.service-card:disabled:hover,
.service-card.is-coming-soon:hover {
  border-color: #e2e8ea;
  background: #f7fafb;
}

.coming-soon-badge {
  position: absolute;
  top: 7px;
  left: 7px;
  z-index: 1;
  padding: 2px 6px;
  border-radius: 3px;
  color: #5d727c;
  background: #e8eef0;
  font-size: 6.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.2;
}

.service-card.selected {
  border-color: #ed765e;
  background: #fffaf8;
}

.selection-ring {
  position: absolute;
  top: 9px;
  right: 9px;
  display: grid;
  place-items: center;
  width: 14px;
  height: 14px;
  overflow: hidden;
  border: 1px solid #dce4e6;
  border-radius: 50%;
  color: transparent;
  background: #fff;
  font-size: 8px;
  font-weight: 800;
}

.service-card.selected .selection-ring {
  border-color: var(--v2-orange);
  color: #fff;
  background: var(--v2-orange);
}

.service-icon {
  width: 32px;
  height: 32px;
  margin-bottom: 5px;
}

.service-card.selected .service-icon {
  color: var(--v2-orange);
}

.service-card strong {
  color: var(--v2-navy);
  font-size: 10px;
  line-height: 1.2;
}

.service-card small {
  margin-top: 4px;
  color: #7b8c95;
  font-size: 7.5px;
  line-height: 1.2;
}

.story-row {
  display: flex;
  gap: 16px;
  margin-left: 36px;
}

.story-pill {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 124px;
  height: 31px;
  padding: 0 10px;
  border: 1px solid #d9e1e4;
  border-radius: 5px;
  color: #50636e;
  background: #fff;
  font-size: 9px;
  font-weight: 600;
  cursor: pointer;
}

.story-pill.selected {
  border-color: #ed765e;
  color: var(--v2-navy);
  background: #fff9f6;
}

.radio-dot {
  display: grid;
  place-items: center;
  width: 12px;
  height: 12px;
  border: 1px solid #d6dfe2;
  border-radius: 50%;
}

.radio-dot::after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: transparent;
}

.story-pill.selected .radio-dot {
  border-color: var(--v2-orange);
}

.story-pill.selected .radio-dot::after {
  background: var(--v2-orange);
}

.solar-step .step-heading {
  position: relative;
}

.help-mark {
  position: absolute;
  right: 0;
  top: 3px;
  display: grid;
  place-items: center;
  width: 12px;
  height: 12px;
  border: 1px solid #8e9da4;
  border-radius: 50%;
  color: #71838c;
  font-size: 7px;
  font-weight: 800;
  cursor: help;
}

.field-shell {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid #d9e1e4;
  border-radius: 5px;
  background: #fff;
}

.builder-form > .builder-step .field-shell {
  margin-left: 36px;
}

.field-shell:focus-within {
  border-color: #8db2bb;
  box-shadow: 0 0 0 2px rgba(32, 91, 103, 0.08);
}

.field-shell svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  color: #286c77;
}

.field-shell input,
.field-shell select {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--v2-ink);
  background: transparent;
  font-size: 9px;
}

.field-shell > span {
  color: #7d8e96;
  font-size: 8px;
}

.field-message {
  margin: 5px 0 0 36px;
  color: var(--v2-muted);
  font-size: 8px;
}

.travel-trigger {
  display: flex;
  align-items: center;
  width: calc(100% - 36px);
  min-height: 36px;
  margin: 14px 0 0 36px;
  padding: 6px 11px;
  border: 1px solid #d9e1e4;
  border-radius: 5px;
  color: #6f818a;
  background: #fff;
  text-align: left;
  cursor: pointer;
}

.travel-trigger > svg:first-child {
  width: 17px;
  height: 17px;
  margin-right: 10px;
}

.travel-trigger > span {
  display: flex;
  flex-direction: column;
}

.travel-trigger strong {
  color: var(--v2-navy);
  font-size: 9px;
  line-height: 1.15;
}

.travel-trigger small {
  margin-top: 2px;
  color: #84939a;
  font-size: 7.5px;
  line-height: 1.15;
}

.travel-trigger .chevron {
  width: 14px;
  height: 14px;
  margin-left: auto;
}

.travel-panel {
  display: none;
  width: calc(100% - 36px);
  margin: 6px 0 0 36px;
  padding: 9px;
  border: 1px solid var(--v2-line);
  border-radius: 6px;
  background: #f7fafb;
  font-size: 8px;
}

.travel-panel.open {
  display: block;
}

.travel-panel .field-shell {
  margin: 5px 0 0;
}

.travel-panel label,
.two-story-box {
  margin: 10px 0 0 36px;
}

.two-story-note {
  padding: 10px 12px;
  border: 1px solid #d7e4e8;
  border-radius: 6px;
  background: #f4f8f9;
}

.two-story-note p {
  margin: 0;
  color: #3f5b66;
  font-size: 8px;
  line-height: 1.4;
}

.two-story-note p + p {
  margin-top: 5px;
  color: #5d727c;
}

.photo-upload {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin-top: 8px;
  padding: 10px 12px;
  border: 1px dashed #c8d5da;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.photo-upload:hover {
  border-color: #9db4bc;
  background: #fbfcfc;
}

.photo-upload input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.photo-upload-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  color: #1f7a86;
  background: #eaf4f6;
}

.photo-upload-icon svg {
  width: 15px;
  height: 15px;
}

.photo-upload-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.photo-upload-copy strong {
  color: var(--v2-navy);
  font-size: 9px;
  line-height: 1.2;
}

.photo-upload-copy small {
  margin-top: 2px;
  color: #84939a;
  font-size: 7.5px;
  line-height: 1.25;
}

.photo-upload-action {
  flex: 0 0 auto;
  padding: 5px 9px;
  border: 1px solid #d5e0e3;
  border-radius: 4px;
  color: #315866;
  background: #f7fafb;
  font-size: 7.5px;
  font-weight: 700;
  white-space: nowrap;
}

.notice {
  padding: 7px 9px;
  border-radius: 5px;
  font-size: 8px;
}

.notice.warning {
  color: #86501a;
  background: #fff2df;
}

.notice.information {
  color: #1d5a67;
  background: #eaf4f6;
}

.builder-cta {
  width: calc(100% - 36px);
  min-height: 35px;
  margin: 9px 0 0 36px;
}

.builder-form > .privacy-note {
  margin-top: 9px;
  margin-left: 36px;
}

.builder-aside {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 24px 32px 28px 0;
  padding: 25px 23px 20px;
  border-radius: 12px;
  background: #eef5f6;
}

.aside-heading,
.aside-step {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.aside-heading {
  margin-bottom: 31px;
}

.aside-shield {
  flex: 0 0 auto;
  color: #174f5d;
}

.aside-shield svg {
  width: 35px;
  height: 35px;
}

.aside-heading h3 {
  margin: 2px 0 0;
  color: var(--v2-navy);
  font-size: 12px;
  line-height: 1.25;
}

.aside-heading p,
.aside-step p,
.aside-review p {
  margin: 4px 0 0;
  color: #70838c;
  font-size: 8.5px;
  line-height: 1.45;
}

.aside-step {
  margin-bottom: 29px;
}

.aside-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #1d6370;
  background: #e0eef0;
}

.aside-icon svg {
  width: 19px;
  height: 19px;
}

.aside-step strong {
  color: #234451;
  font-size: 10px;
}

.aside-review {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 14px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid #d4e1e4;
}

.stars {
  color: var(--v2-star);
  letter-spacing: 1px;
}

.aside-review .stars {
  font-size: 14px;
  white-space: nowrap;
}

.aside-review strong {
  color: #234451;
  font-size: 10px;
}

/* Plans */
.plans-main {
  min-height: calc(100vh - 68px);
  padding: 18px 0 120px;
  background: #fbfcfc;
}

.plans-width {
  width: calc(100% - 80px);
  max-width: 688px;
  margin: 0 auto;
}

.plans-intro {
  display: grid;
  grid-template-columns: 1fr 184px;
  gap: 20px;
  margin-bottom: 14px;
}

.plans-title-block {
  position: relative;
}

.plans-title-block > .flow-edit-button {
  position: absolute;
  top: 1px;
  right: 0;
}

.plans-intro h1 {
  margin: 0;
  color: var(--v2-navy);
  font-family: "Fraunces", Georgia, serif;
  font-size: 24px;
  line-height: 1.1;
}

.plans-intro > div > p {
  margin: 8px 0 0;
  color: var(--v2-muted);
  font-size: 10px;
}

.panel-chip {
  display: flex;
  align-items: center;
  width: 350px;
  min-height: 38px;
  margin-top: 14px;
  padding: 0 14px;
  border: 1px solid #dbe5e8;
  border-radius: 7px;
  color: #667a85;
  background: #f3f7f8;
  font-size: 8px;
}

.panel-chip svg {
  width: 22px;
  height: 22px;
  margin-right: 14px;
  color: #176472;
}

.panel-chip strong {
  color: var(--v2-navy);
  font-size: 10px;
}

.panel-chip .chip-divider {
  width: 1px;
  height: 20px;
  margin: 0 14px;
  background: #d7e1e4;
}

.plan-trust {
  padding: 8px 12px;
  border-radius: 9px;
  background: #eef4f5;
}

.plan-trust > div {
  display: flex;
  gap: 10px;
  padding: 2px 0 8px;
}

.plan-trust > div + div {
  padding-top: 8px;
  padding-bottom: 2px;
  border-top: 1px solid #d8e3e6;
}

.plan-trust svg {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  color: #154f5e;
}

.plan-trust span {
  display: flex;
  flex-direction: column;
}

.plan-trust strong {
  color: #234451;
  font-size: 9px;
}

.plan-trust small {
  margin-top: 4px;
  color: #71848d;
  font-size: 7px;
  line-height: 1.35;
}

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

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 12px 13px 9px;
  border: 1px solid #dfe7e9;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 5px 15px rgba(18, 44, 59, 0.03);
}

.plan-card:nth-child(n + 3) {
  min-height: 0;
}

.plan-card.selected {
  border: 1.5px solid #f17055;
  background: #fffaf8;
}

.plan-selected-mark {
  position: absolute;
  top: 9px;
  right: 9px;
  display: none;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  color: #fff;
  background: var(--v2-orange);
  font-size: 9px;
  font-weight: 800;
}

.plan-card.selected .plan-selected-mark {
  display: grid;
}

.plan-heading {
  display: flex;
  align-items: center;
  gap: 14px;
}

.plan-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: #176472;
  background: #eaf4f5;
}

.plan-card.gold .plan-icon {
  color: #c59829;
  background: #fff5df;
}

.plan-icon svg {
  width: 27px;
  height: 27px;
}

.plan-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.plan-title-row h3 {
  margin: 0;
  color: var(--v2-navy);
  font-family: "Fraunces", Georgia, serif;
  font-size: 14px;
}

.plan-subtitle {
  display: block;
  margin-top: 4px;
  color: #75878f;
  font-size: 8px;
}

.plan-badge {
  display: inline-flex;
  align-items: center;
  min-height: 16px;
  padding: 1px 7px;
  border-radius: 3px;
  font-size: 7px;
  font-weight: 700;
}

.plan-badge.popular {
  color: #cc5a3e;
  background: #fff0e9;
}

.plan-badge.value {
  color: #176472;
  background: #e7f3f1;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin-top: 8px;
  color: var(--v2-navy);
}

.plan-price strong {
  font-family: "Fraunces", Georgia, serif;
  font-size: 18px;
  line-height: 1;
}

.plan-price span {
  color: #687c86;
  font-size: 8px;
}

.plan-annual {
  margin: 5px 0 0;
  color: #627781;
  font-size: 7px;
}

.v2-page .plan-features {
  display: grid;
  gap: 2px;
  margin: 5px 0;
  padding: 0;
  list-style: none;
}

.v2-page .plan-features li {
  position: relative;
  margin: 0;
  padding-left: 17px;
  color: #536a75;
  font-size: 7px;
  line-height: 1.25;
}

.plan-features li::before {
  content: "✓";
  position: absolute;
  top: -1px;
  left: 0;
  display: grid;
  place-items: center;
  width: 11px;
  height: 11px;
  border: 1px solid #2e7a84;
  border-radius: 50%;
  color: #2e7a84;
  font-size: 6px;
  font-weight: 800;
}

.plan-card.selected .plan-features li::before {
  border-color: var(--v2-orange);
  color: var(--v2-orange);
}

.v2-page .plan-select {
  width: 100%;
  min-height: 30px;
  margin-top: auto;
  border: 1px solid #d5dee1;
  border-radius: 5px;
  color: var(--v2-navy);
  background: #fff;
  font: 700 8.5px/1.2 "Manrope", "Segoe UI", sans-serif;
  cursor: pointer;
}

.plan-card.selected .plan-select {
  border-color: var(--v2-orange);
  color: #fff;
  background: var(--v2-orange);
}

.plan-accordions {
  display: grid;
  gap: 5px;
  margin-top: 14px;
}

.plan-extras {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 10px;
  margin-top: 12px;
}

.plan-extra-card {
  padding: 10px 12px 12px;
  border: 1px solid #dfe7e9;
  border-radius: 7px;
  background: #fff;
}

.plan-extra-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.plan-extra-heading .accordion-icon {
  margin-right: 0;
  width: 26px;
  height: 26px;
}

.plan-extra-heading .accordion-icon svg {
  width: 15px;
  height: 15px;
}

.plan-extra-heading strong {
  display: block;
  color: var(--v2-navy);
  font-size: 9px;
  line-height: 1.2;
}

.plan-extra-heading small {
  display: block;
  margin-top: 2px;
  color: #73858e;
  font-size: 7px;
}

.plan-extra-body {
  color: #607681;
  font-size: 8px;
  line-height: 1.35;
}

.plan-extra-body p {
  margin: 0;
}

.plan-extra-body p + p {
  margin-top: 4px;
}

.plan-extra-body .notice {
  display: none;
}

.plan-adjust-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  color: #5d727c;
  font-size: 7.5px;
  line-height: 1.3;
}

.plan-adjust-row + .plan-adjust-row {
  margin-top: 5px;
  padding-top: 5px;
  border-top: 1px solid #e8eef0;
}

.plan-adjust-row strong {
  color: #3f5b66;
  font-weight: 700;
}

.plan-adjust-row span {
  flex: 0 0 auto;
  color: #176472;
  font-weight: 700;
  white-space: nowrap;
}

.plan-extra-body label {
  display: block;
  margin-bottom: 5px;
  color: #4d6670;
  font-size: 7.5px;
  font-weight: 700;
}

.plan-extra-body .field-message {
  margin: 6px 0 0;
  font-weight: 700;
  color: #176472;
}

.plan-accordions details {
  overflow: hidden;
  border: 1px solid #dfe7e9;
  border-radius: 7px;
  background: #fff;
}

.plan-accordions summary {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 6px 13px;
  list-style: none;
  cursor: pointer;
}

.plan-accordions summary::-webkit-details-marker {
  display: none;
}

.accordion-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 29px;
  height: 29px;
  margin-right: 12px;
  border-radius: 7px;
  color: #176472;
  background: #e8f3f4;
}

.accordion-icon svg {
  width: 19px;
  height: 19px;
}

.plan-accordions summary > span:nth-child(2) {
  display: flex;
  flex-direction: column;
}

.plan-accordions summary strong {
  color: var(--v2-navy);
  font-size: 9px;
}

.plan-accordions summary small {
  margin-top: 1px;
  color: #73858e;
  font-size: 7px;
}

.summary-chevron {
  width: 14px;
  height: 14px;
  margin-left: auto;
  color: #526b76;
}

.details-body {
  padding: 4px 13px 13px 54px;
  color: #607681;
  font-size: 8px;
}

.details-body label {
  display: block;
  margin: 7px 0 4px;
  font-weight: 700;
}

.details-body .field-shell {
  margin: 0;
}

.plan-dock {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 30;
  height: 98px;
  border-top: 1px solid #e2e9eb;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 -8px 24px rgba(16, 43, 58, 0.05);
}

.dock-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.dock-selection {
  display: flex;
  align-items: center;
  gap: 13px;
}

.dock-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: #176472;
  background: #e7f2f3;
}

.dock-icon svg {
  width: 27px;
  height: 27px;
}

.dock-selection small {
  color: #60757f;
  font-size: 7px;
}

.dock-selection #selectionSummary {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
  color: var(--v2-navy);
}

.dock-selection #selectionSummary strong {
  font-family: "Fraunces", Georgia, serif;
  font-size: 14px;
}

.dock-selection p {
  margin: 4px 0 0;
  color: #75868e;
  font-size: 7px;
}

.dock-selection .dock-context {
  margin-top: 2px;
  color: #526d78;
  font-size: 6.5px;
  font-weight: 600;
}

.dock-action {
  width: 287px;
}

.dock-action .primary-button {
  width: 100%;
  min-height: 36px;
}

.dock-action .privacy-note {
  margin-top: 7px;
}

/* Estimate */
.estimate-width {
  width: calc(100% - 78px);
  max-width: 690px;
  margin: 0 auto;
}

.estimate-hero {
  height: 162px;
}

.estimate-photo {
  left: 49%;
}

.estimate-photo img {
  top: calc(-0.08984375 * 100vw);
}

.estimate-hero .hero-content {
  position: relative;
  padding-top: 37px;
}

.estimate-flow-actions {
  position: absolute;
  top: 38px;
  right: 0;
  display: flex;
  gap: 6px;
}

.estimate-hero h1 {
  font-size: 29px;
}

.estimate-hero .hero-content > p {
  margin-top: 10px;
  font-size: 10px;
}

.estimate-hero .trust-strip {
  gap: 25px;
  margin-top: 19px;
}

.estimate-hero .trust-strip span {
  gap: 7px;
  font-size: 8px;
}

.estimate-hero .trust-strip svg {
  width: 18px;
  height: 18px;
}

.estimate-main {
  padding: 0 0 22px;
  background: #fafcfc;
}

.estimate-grid {
  display: grid;
  grid-template-columns: 437px 235px;
  gap: 18px;
  align-items: start;
}

.estimate-left {
  display: grid;
  gap: 13px;
}

.price-card,
.overview-card,
.followup-card,
.preview-bar {
  border: 1px solid #e1e8ea;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(17, 42, 58, 0.05);
}

.price-card {
  min-height: 365px;
  padding: 21px 16px 15px;
}

.price-label {
  color: var(--v2-navy);
  font-size: 9px;
  font-weight: 800;
}

.price-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 8px;
}

.price-row > strong {
  color: var(--v2-navy);
  font-family: "Fraunces", Georgia, serif;
  font-size: 35px;
  line-height: 1;
}

.plan-pill {
  display: inline-flex;
  align-items: center;
  min-height: 23px;
  padding: 0 11px;
  border-radius: 20px;
  color: #406873;
  background: #eaf3f4;
  font-size: 7.5px;
  font-weight: 700;
}

.estimate-lines {
  overflow: hidden;
  margin-top: 16px;
  border: 1px solid #dfe6e8;
  border-radius: 6px;
}

.estimate-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px solid #d7e4e8;
  border-radius: 6px;
  background: #f4f8f9;
  color: var(--v2-navy);
  font-size: 10px;
  font-weight: 800;
}

.estimate-possible {
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px solid #e2e9eb;
  border-radius: 6px;
  background: #fbfcfc;
}

.estimate-possible h3 {
  margin: 0 0 8px;
  color: var(--v2-navy);
  font-size: 9px;
  font-weight: 800;
}

.estimate-possible-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  color: #5d727c;
  font-size: 8px;
  line-height: 1.35;
}

.estimate-possible-row + .estimate-possible-row {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid #e7edef;
}

.estimate-possible-row strong {
  color: #3f5b66;
  font-weight: 700;
}

.estimate-possible-row span:last-child {
  flex: 0 0 auto;
  color: #176472;
  font-weight: 700;
  white-space: nowrap;
}

.line-item {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 59px;
  margin: 0;
  padding: 8px 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.line-item + .line-item {
  border-top: 1px solid #e3e9eb;
}

.line-item .ico {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  border-radius: 50%;
  color: #176472;
  background: #eaf3f4;
}

.line-item .ico svg {
  width: 22px;
  height: 22px;
}

.line-item strong {
  display: block;
  color: var(--v2-navy);
  font-size: 10px;
}

.line-item small {
  display: block;
  margin-top: 3px;
  color: #71838c;
  font-size: 7.5px;
}

.line-item .amt {
  color: var(--v2-navy);
  font-size: 10px;
  font-weight: 800;
}

.estimate-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 17px;
  padding: 0 6px;
  color: #687b85;
  font-size: 8.5px;
  line-height: 1.65;
}

.estimate-disclaimer svg {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 1px;
  color: #607883;
}

.preview-bar {
  overflow: hidden;
  margin-top: 0;
}

.preview-bar summary {
  display: flex;
  align-items: center;
  min-height: 58px;
  padding: 8px 16px;
  list-style: none;
  cursor: pointer;
}

.preview-bar summary::-webkit-details-marker {
  display: none;
}

.preview-bar summary > svg:first-child {
  width: 24px;
  height: 24px;
  margin-right: 14px;
  color: #176472;
}

.preview-bar summary > span {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.preview-bar .summary-chevron {
  margin-left: auto;
  width: 18px;
  height: 18px;
  color: #6a7f88;
}

.preview-bar[open] .summary-chevron {
  transform: rotate(180deg);
}

.preview-bar strong {
  color: var(--v2-navy);
  font-size: 12px;
}

.preview-bar small {
  margin-top: 4px;
  color: #768890;
  font-size: 11px;
  line-height: 1.35;
}

.preview-body {
  padding: 0 14px 14px;
}

.preview-body iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 1px solid #d7e3e6;
  border-radius: 8px;
  background: #f4f8f8;
  overflow: hidden;
}

.overview-card {
  height: 439px;
  min-height: 0;
  padding: 20px 17px 14px;
  background: #f3f8f8;
}

.overview-card h2 {
  margin: 0;
  padding-bottom: 13px;
  border-bottom: 1px solid #dce5e7;
  color: var(--v2-navy);
  font-family: "Fraunces", Georgia, serif;
  font-size: 12px;
}

.overview-card .kv {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 10px;
  align-items: center;
  padding-top: 15px;
  padding-bottom: 0;
  border-bottom: 0;
}

.overview-card .kv .ico {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #176472;
  background: #e4f0f1;
}

.overview-card .kv .ico svg {
  width: 20px;
  height: 20px;
}

.overview-card .kv .k {
  color: #536b76;
  font-size: 7.5px;
  font-weight: 700;
}

.overview-card .kv .v {
  margin-top: 3px;
  color: var(--v2-navy);
  font-size: 8px;
}

.overview-review {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 10px;
  align-items: start;
  margin-top: 16px;
  padding: 13px 11px;
  border: 1px solid #dce5e7;
  border-radius: 6px;
  background: #fff;
}

.overview-review > svg {
  width: 31px;
  height: 31px;
  color: #176472;
}

.overview-review strong {
  color: var(--v2-navy);
  font-size: 9px;
}

.overview-review .stars {
  margin-top: 5px;
  font-size: 12px;
  letter-spacing: 2px;
}

.overview-review small {
  color: #7a8b93;
  font-size: 7px;
}

.followup-card {
  height: 239px;
  margin-top: 15px;
  padding: 18px 18px 16px;
}

.followup-card h2 {
  margin: 0;
  color: var(--v2-navy);
  font-family: "Fraunces", Georgia, serif;
  font-size: 14px;
}

.followup-card > p {
  margin: 7px 0 14px;
  color: #72848c;
  font-size: 7.5px;
}

.followup-card form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
}

.followup-card label > span {
  display: block;
  margin-bottom: 5px;
  color: var(--v2-navy);
  font-size: 7px;
  font-weight: 700;
}

.contact-field {
  display: flex;
  align-items: center;
  min-height: 30px;
  padding: 0 9px;
  border: 1px solid #dce4e7;
  border-radius: 5px;
  background: #fff;
}

.contact-field svg {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  margin-right: 8px;
  color: #71858e;
}

.contact-field input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 8px;
}

.followup-card .primary-button {
  width: 100%;
  min-height: 34px;
}

.followup-card .privacy-note {
  justify-content: flex-start;
}

.save-status {
  grid-column: 1 / -1;
  margin: 0;
  color: #2b6b76;
  font-size: 8px;
}

.estimate-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 15px;
  min-height: 55px;
  padding-top: 15px;
  border-top: 1px solid #e0e7e9;
}

.estimate-values > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 14px;
}

.estimate-values > div + div {
  border-left: 1px solid #e0e7e9;
}

.estimate-values svg {
  flex: 0 0 auto;
  width: 25px;
  height: 25px;
  color: #176472;
}

.estimate-values span {
  display: flex;
  flex-direction: column;
}

.estimate-values strong {
  color: var(--v2-navy);
  font-size: 7.5px;
}

.estimate-values small {
  margin-top: 3px;
  color: #73858d;
  font-size: 6.5px;
}

/* Staff */
.staff-width {
  width: calc(100% - 46px);
  max-width: 722px;
  margin: 0 auto;
}

.staff-hero {
  height: 129px;
}

.staff-photo {
  left: 54%;
}

.staff-photo img {
  top: calc(-0.0794270833 * 100vw);
}

.staff-hero .hero-fade {
  background: linear-gradient(
    90deg,
    #f8fbfb 0%,
    rgba(248, 251, 251, 0.98) 45%,
    rgba(248, 251, 251, 0.45) 68%,
    rgba(248, 251, 251, 0) 100%
  );
}

.staff-hero .hero-content {
  padding-top: 15px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #61757f;
  font-size: 7.5px;
}

.breadcrumbs svg {
  width: 13px;
  height: 13px;
}

.breadcrumbs b {
  font-size: 11px;
  font-weight: 500;
}

.staff-hero h1 {
  margin-top: 18px;
  font-size: 28px;
}

.staff-hero .hero-content > p {
  margin-top: 8px;
  font-size: 8px;
}

.staff-main {
  padding: 0 0 12px;
  background: #fafcfc;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 11px;
  margin: 0;
}

.stat {
  display: grid;
  grid-template-columns: 43px 1fr;
  gap: 11px;
  align-items: center;
  min-height: 80px;
  padding: 10px 12px;
  border: 1px solid #e2e9eb;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 5px 14px rgba(18, 43, 58, 0.04);
}

.stat .ico {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border-radius: 50%;
}

.stat .ico svg {
  width: 23px;
  height: 23px;
}

.stat .ico.blue {
  color: #176472;
  background: #e8f2f3;
}

.stat .ico.amber {
  color: #d9a10e;
  background: #fff6d9;
}

.stat .ico.sky {
  color: #3476a8;
  background: #eaf2fb;
}

.stat .ico.green {
  color: #347a4e;
  background: #e8f5e9;
}

.stat span {
  color: #71838c;
  font-size: 7px;
}

.stat strong {
  display: block;
  margin-top: 2px;
  color: var(--v2-navy);
  font-family: "Fraunces", Georgia, serif;
  font-size: 17px;
  line-height: 1;
}

.stat .hint {
  margin-top: 5px;
  color: #7d8d95;
  font-size: 6.5px;
}

.filter-card {
  display: grid;
  grid-template-columns: 1.2fr 1.2fr 1.1fr 0.95fr 57px 80px;
  gap: 12px;
  align-items: end;
  min-height: 82px;
  margin-top: 11px;
  padding: 14px 13px;
  border: 1px solid #e2e9eb;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(18, 43, 58, 0.03);
}

.filter-card label > span,
.preview-toolbar label > span,
.status-controls label > span {
  display: block;
  margin-bottom: 6px;
  color: #536975;
  font-size: 6.5px;
  font-weight: 600;
}

.filter-card input,
.filter-card select,
.preview-toolbar select,
.status-controls select {
  width: 100%;
  height: 25px;
  padding: 0 8px;
  border: 1px solid #dce4e7;
  border-radius: 4px;
  outline: 0;
  color: #536975;
  background: #fff;
  font-size: 7px;
}

.date-field {
  position: relative;
}

.date-field input {
  padding-right: 25px;
}

.date-field svg {
  position: absolute;
  top: 6px;
  right: 7px;
  width: 13px;
  height: 13px;
  color: #70828b;
  pointer-events: none;
}

.staff-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 25px;
  padding: 0 8px;
  border-radius: 4px;
  font-size: 7px;
  cursor: pointer;
}

.staff-button svg {
  width: 12px;
  height: 12px;
}

.staff-button.secondary {
  border: 1px solid #dce4e7;
  color: #536975;
  background: #fff;
}

.staff-button.primary {
  border: 1px solid var(--v2-navy);
  color: #fff;
  background: var(--v2-navy);
}

.staff-workspace {
  display: grid;
  grid-template-columns: 345px 1fr;
  gap: 11px;
  height: 632px;
  min-height: 632px;
  margin-top: 10px;
}

.quotes-pane,
.quote-detail-pane {
  height: 100%;
  min-height: 0;
  overflow: hidden;
  border: 1px solid #e1e8ea;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(18, 43, 58, 0.03);
}

.quotes-pane {
  display: flex;
  flex-direction: column;
  padding: 11px 6px 6px;
}

.quote-detail-pane {
  padding: 5px 6px 6px;
}

.pane-heading {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 22px;
}

.pane-heading h2 {
  margin: 0;
  color: var(--v2-navy);
  font-family: "Fraunces", Georgia, serif;
  font-size: 10px;
}

.pane-heading span {
  display: inline-flex;
  align-items: center;
  min-height: 14px;
  padding: 0 6px;
  border-radius: 10px;
  color: #4c6671;
  background: #eaf2f4;
  font-size: 6px;
  font-weight: 700;
}

.quotes-table-wrap {
  min-height: 486px;
  overflow: hidden;
  margin-top: 5px;
  border: 1px solid #dfe6e8;
  border-radius: 5px;
}

.quote-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 6.2px;
}

.quote-table th,
.quote-table td {
  overflow: hidden;
  padding: 8px 4px;
  border-bottom: 1px solid #e4eaec;
  color: #4e6570;
  text-align: left;
  text-overflow: ellipsis;
  vertical-align: middle;
}

.quote-table th {
  height: 26px;
  color: #586e78;
  background: #f7f9fa;
  font-size: 5.8px;
  font-weight: 700;
  white-space: nowrap;
}

.quote-table tbody tr {
  height: 43px;
  cursor: pointer;
}

.quote-table tbody tr.active {
  background: #eaf4f6;
}

.quote-table th:nth-child(1),
.quote-table td:nth-child(1) { width: 17px; text-align: center; }
.quote-table th:nth-child(2),
.quote-table td:nth-child(2) { width: 74px; }
.quote-table th:nth-child(3),
.quote-table td:nth-child(3) { width: 50px; white-space: normal; }
.quote-table th:nth-child(4),
.quote-table td:nth-child(4) { width: 72px; }
.quote-table th:nth-child(5),
.quote-table td:nth-child(5) { width: 46px; }
.quote-table th:nth-child(6),
.quote-table td:nth-child(6) { width: 36px; }
.quote-table th:nth-child(7),
.quote-table td:nth-child(7) { width: 34px; text-align: center; }

.quote-table input[type="radio"],
.quote-table input[type="checkbox"] {
  width: 9px;
  height: 9px;
  margin: 0;
  accent-color: #1a6370;
}

.quote-table .cust {
  text-transform: uppercase;
}

.status {
  display: inline-flex;
  align-items: center;
  min-height: 13px;
  padding: 1px 5px;
  border-radius: 7px;
  font-size: 5.8px;
  text-transform: capitalize;
}

.status.draft { color: #927018; background: #fff5d6; }
.status.sent { color: #28618c; background: #e8f2fb; }
.status.accepted,
.status.booked { color: #347448; background: #e9f6e8; }
.status.declined,
.status.expired { color: #94452f; background: #fbe9e4; }

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 39px;
}

.pagination button {
  min-width: 19px;
  height: 19px;
  padding: 0 4px;
  border: 0;
  border-radius: 3px;
  color: #526a75;
  background: transparent;
  font-size: 7px;
  cursor: pointer;
}

.pagination button.active {
  color: #fff;
  background: #165469;
}

.pagination span {
  font-size: 7px;
}

.download-row {
  display: flex;
  gap: 11px;
  margin-top: auto;
  padding: 12px 11px 4px;
  border-top: 1px solid #e3e9eb;
}

.download-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 25px;
  padding: 0 10px;
  border: 1px solid #dce4e7;
  border-radius: 4px;
  color: #536a75;
  background: #fff;
  font-size: 6.5px;
}

.download-row svg {
  width: 12px;
  height: 12px;
}

.quote-detail-pane {
  min-width: 0;
}

.preview-toolbar {
  display: flex;
  align-items: flex-end;
  gap: 9px;
  height: 29px;
  margin-bottom: 6px;
}

.preview-toolbar label {
  flex: 1;
}

.preview-toolbar label > span {
  margin-bottom: 3px;
}

.preview-toolbar select {
  height: 24px;
}

.preview-toolbar button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 55px;
  height: 24px;
  border: 1px solid #dce4e7;
  border-radius: 4px;
  color: #596e78;
  background: #fff;
  font-size: 6.5px;
  cursor: pointer;
}

.preview-toolbar button svg {
  width: 12px;
  height: 12px;
}

.quote-preview-shell {
  height: 463px;
  overflow-y: auto;
  overflow-x: hidden;
  border: 1px solid #dce4e7;
  border-radius: 4px;
  background: #fff;
}

.staff-quote-document {
  color: #183a48;
  background: #fff;
  font-size: 6.5px;
}

.staff-quote-document article {
  min-height: 100%;
}

.sq-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 63px;
  padding: 12px 15px;
  color: #fff;
  background: linear-gradient(120deg, #123e50 0%, #286c6b 100%);
}

.sq-brand > div {
  display: flex;
  flex-direction: column;
}

.sq-brand > div > strong {
  font-family: "Fraunces", Georgia, serif;
  font-size: 17px;
  line-height: 1;
}

.sq-brand > div > span {
  margin-top: 7px;
  font-size: 7px;
  font-weight: 600;
}

.sq-brand svg {
  width: 43px;
  height: 43px;
  color: #48a3a6;
  stroke-width: 2.5;
}

.sq-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px 18px;
  min-height: 69px;
  padding: 12px 14px;
  border-bottom: 1px solid #dce5e7;
  background: #f3f7f7;
}

.sq-meta > div {
  display: flex;
  flex-direction: column;
}

.sq-meta span,
.sq-detail-card > div > span {
  color: #74868e;
  font-size: 5.5px;
}

.sq-meta strong {
  margin-top: 3px;
  color: #193d4b;
  font-size: 6.5px;
}

.sq-meta .status {
  align-self: flex-start;
  margin-top: 3px;
}

.sq-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  gap: 10px;
  padding: 12px;
}

.sq-detail-card {
  min-height: 139px;
  padding: 10px;
  border: 1px solid #dce5e7;
  background: #fff;
}

.sq-detail-card h4,
.sq-highlight h4,
.sq-items h4 {
  margin: 0 0 9px;
  color: #173e4d;
  font-family: "Fraunces", Georgia, serif;
  font-size: 9px;
}

.sq-detail-card > div {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 5px;
  margin-top: 7px;
  align-items: start;
}

.sq-detail-card > div > strong {
  color: #173e4d;
  font-size: 5.8px;
  text-align: right;
  overflow-wrap: anywhere;
}

.sq-highlight,
.sq-items {
  margin: 0 12px 10px;
  padding: 10px;
  border: 1px solid #dce5e7;
  background: #f3f7f7;
}

.sq-highlight > strong {
  display: block;
  color: #173e4d;
  font-family: "Fraunces", Georgia, serif;
  font-size: 10px;
}

.sq-highlight > strong small {
  font-family: "Manrope", sans-serif;
  font-size: 6px;
  font-weight: 600;
}

.sq-highlight p {
  margin: 5px 0 0;
  color: #274b59;
  font-size: 6.5px;
}

.sq-highlight > small {
  display: block;
  margin-top: 6px;
  color: #7c8b92;
  font-size: 5.4px;
}

.sq-items {
  background: #fff;
}

.sq-line {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 6px;
  align-items: end;
  margin-top: 6px;
  font-size: 5.8px;
}

.sq-line i {
  height: 1px;
  border-bottom: 1px dotted #a8b6bb;
}

.sq-line strong {
  color: #173e4d;
  font-size: 5.8px;
}

.internal-summary {
  margin-top: 6px;
  border: 1px solid #e0e7e9;
  border-radius: 4px;
}

.internal-summary summary {
  display: flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  list-style: none;
  color: #526a75;
  font-size: 6.5px;
  cursor: pointer;
}

.internal-summary summary::-webkit-details-marker {
  display: none;
}

.internal-summary summary span {
  margin-right: 8px;
  font-size: 12px;
}

.internal-summary pre {
  max-height: 120px;
  overflow: auto;
  margin: 0;
  padding: 8px;
  color: #526a75;
  font: 6px/1.45 "Manrope", sans-serif;
  white-space: pre-wrap;
}

.status-controls {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: end;
  margin-top: 7px;
}

.status-controls label {
  grid-column: 1 / -1;
}

.status-controls label > span {
  margin-bottom: 3px;
}

.status-controls select {
  height: 24px;
}

.status-controls button,
.status-controls a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 25px;
  padding: 0 10px;
  border-radius: 4px;
  font-size: 6.5px;
}

.status-controls button {
  border: 1px solid var(--v2-navy);
  color: #fff;
  background: var(--v2-navy);
  cursor: pointer;
}

.status-controls a {
  border: 1px solid #dce4e7;
  color: #536a75;
  background: #fff;
}

.status-controls a svg {
  width: 12px;
  height: 12px;
}

@media (min-width: 821px) and (max-width: 960px) {
  .builder-card {
    grid-template-columns: minmax(0, 1.8fr) minmax(230px, 0.8fr);
  }

  .builder-aside {
    margin-right: 18px;
    padding-right: 18px;
    padding-left: 18px;
  }
}

@media (max-width: 820px) {
  .v2-page .nav {
    margin-right: auto;
  }

  .builder-width {
    width: calc(100% - 40px);
  }

  .builder-card {
    grid-template-columns: 1fr;
    height: auto;
  }

  .builder-aside {
    margin: 0 20px 20px;
  }

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

  .plans-width,
  .estimate-width,
  .staff-width {
    width: calc(100% - 32px);
  }

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

  .plan-dock {
    height: auto;
    padding: 12px 0 calc(12px + env(safe-area-inset-bottom, 0px));
  }

  .dock-content {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .dock-action {
    width: 100%;
  }

  .dock-action .primary-button {
    min-height: 44px;
  }

  .plans-main {
    padding-bottom: calc(180px + env(safe-area-inset-bottom, 0px));
  }

  .staff-workspace {
    grid-template-columns: 345px minmax(0, 1fr);
    overflow: visible;
  }
}

@media (max-width: 640px) {
  .v2-page .site-header-inner {
    width: calc(100% - 24px);
  }

  .v2-page .nav {
    display: none;
  }

  .v2-page .header-phone small {
    display: none;
  }

  .reference-photo {
    left: 35%;
    opacity: 0.65;
  }

  .builder-hero,
  .estimate-hero {
    height: auto;
    min-height: 183px;
  }

  .builder-hero h1 {
    font-size: 28px;
  }

  .builder-hero .hero-content > p {
    font-size: 14px;
  }

  .estimate-hero h1 {
    font-size: 26px;
  }

  .estimate-hero .hero-content > p {
    font-size: 13px;
  }

  .plans-intro h1 {
    font-size: 26px;
  }

  .plans-intro > div > p {
    font-size: 13px;
  }

  .trust-strip {
    flex-wrap: wrap;
    gap: 12px 18px;
  }

  .trust-strip span {
    white-space: normal;
    font-size: 12px;
  }

  .estimate-hero .trust-strip span {
    font-size: 12px;
  }

  .plan-grid,
  .estimate-grid,
  .followup-card form,
  .estimate-values,
  .stats,
  .filter-card {
    grid-template-columns: 1fr;
  }

  .service-card {
    height: auto;
    min-height: 95px;
  }

  .service-card strong {
    font-size: 13px;
  }

  .service-card small {
    font-size: 12px;
  }

  .step-heading h2 {
    font-size: 14px;
  }

  .step-heading p {
    font-size: 12px;
  }

  .story-row {
    flex-wrap: wrap;
    margin-left: 0;
    gap: 10px;
  }

  .story-pill {
    width: auto;
    flex: 1 1 calc(50% - 10px);
    min-width: 140px;
    min-height: 44px;
    height: auto;
    padding: 8px 12px;
    font-size: 13px;
  }

  .radio-dot {
    width: 16px;
    height: 16px;
  }

  .radio-dot::after {
    width: 7px;
    height: 7px;
  }

  .field-shell,
  .travel-trigger,
  .travel-panel,
  .builder-cta {
    width: 100% !important;
    margin-left: 0 !important;
  }

  .field-shell {
    min-height: 44px;
  }

  .field-shell input,
  .field-shell select {
    font-size: 14px;
  }

  .field-shell > span,
  .field-message,
  .exact-label {
    font-size: 12px;
  }

  .travel-trigger {
    min-height: 44px;
  }

  .travel-trigger strong {
    font-size: 13px;
  }

  .travel-trigger small {
    font-size: 12px;
  }

  .travel-panel label,
  .plan-extra-body label,
  .details-body label,
  .followup-card label > span {
    font-size: 12px;
  }

  .primary-button,
  .builder-cta,
  .v2-page .plan-select,
  .flow-edit-button,
  .followup-card .primary-button {
    min-height: 44px;
    font-size: 13px;
  }

  .flow-edit-button {
    padding: 0 12px;
  }

  .privacy-note {
    font-size: 12px;
  }

  .builder-form > .privacy-note {
    margin-left: 0;
  }

  .plans-intro {
    grid-template-columns: 1fr;
  }

  .plans-title-block > .flow-edit-button,
  .estimate-flow-actions {
    position: static;
  }

  .plans-title-block > .flow-edit-button {
    margin-bottom: 10px;
  }

  .estimate-flow-actions {
    margin-top: 12px;
  }

  .v2-page .plan-features li {
    font-size: 12px;
    padding-left: 22px;
    line-height: 1.35;
  }

  .plan-features li::before {
    width: 14px;
    height: 14px;
    font-size: 9px;
  }

  .plan-annual,
  .plan-extra-heading small,
  .plan-accordions summary small {
    font-size: 12px;
  }

  .plan-extra-heading strong,
  .plan-accordions summary strong {
    font-size: 13px;
  }

  .plan-extra-body {
    font-size: 12px;
  }

  .plan-adjust-row {
    font-size: 12px;
  }

  .plan-extras {
    grid-template-columns: 1fr;
  }

  .dock-selection small,
  .dock-selection p,
  .dock-selection .dock-context {
    font-size: 12px;
  }

  .dock-selection #selectionSummary strong {
    font-size: 18px;
  }

  .dock-action .privacy-note {
    font-size: 12px;
  }

  .overview-card,
  .followup-card {
    height: auto;
    min-height: 0;
  }

  .overview-card .kv .k,
  .overview-card .kv .v,
  .overview-review small,
  .followup-card > p {
    font-size: 12px;
  }

  .overview-review strong {
    font-size: 13px;
  }

  .contact-field {
    min-height: 44px;
  }

  .contact-field input {
    font-size: 14px;
  }

  .line-item strong,
  .line-item .amt,
  .estimate-total-row {
    font-size: 13px;
  }

  .line-item small,
  .estimate-possible-row,
  .estimate-disclaimer,
  .price-label {
    font-size: 12px;
  }

  .price-row > strong {
    font-size: 32px;
  }

  .estimate-values > div {
    justify-content: flex-start;
    padding: 10px;
  }

  .estimate-values > div + div {
    border-top: 1px solid #e0e7e9;
    border-left: 0;
  }

  .staff-workspace {
    grid-template-columns: 1fr;
    overflow: visible;
  }

  .v2-page .brand-text span {
    font-size: 9px;
    letter-spacing: 0.18em;
  }

  .v2-page .header-phone strong {
    font-size: 13px;
  }

  .selection-ring {
    width: 22px;
    height: 22px;
    font-size: 11px;
  }

  .panel-chip {
    width: 100%;
    min-height: 44px;
    flex-wrap: wrap;
    gap: 6px 0;
    padding: 10px 12px;
    font-size: 12px;
  }

  .panel-chip strong {
    font-size: 13px;
  }

  .panel-chip .chip-divider {
    display: none;
  }

  .panel-chip svg {
    width: 20px;
    height: 20px;
    margin-right: 10px;
  }

  .two-story-box {
    margin-left: 0;
  }

  .two-story-note p {
    font-size: 12px;
  }

  .photo-upload {
    flex-wrap: wrap;
    min-height: 52px;
    gap: 10px;
  }

  .photo-upload-copy strong {
    font-size: 13px;
  }

  .photo-upload-copy small {
    font-size: 12px;
  }

  .photo-upload-action {
    margin-left: auto;
    white-space: normal;
    font-size: 12px;
  }

  .price-card {
    min-height: 0;
  }

  .price-row {
    flex-wrap: wrap;
    gap: 10px 14px;
  }

  .plan-pill {
    min-height: 28px;
    font-size: 12px;
  }

  .overview-card h2,
  .followup-card h2 {
    font-size: 16px;
  }

  .estimate-possible h3 {
    font-size: 13px;
  }

  .plan-price strong {
    font-size: 24px;
  }

  .plan-card {
    padding: 14px 14px 12px;
  }

  .coming-soon-badge {
    font-size: 10px;
  }

  .preview-bar strong {
    font-size: 13px;
  }

  .preview-bar small {
    font-size: 12px;
  }

  .preview-body {
    padding: 0 8px 10px;
  }

  .preview-body iframe {
    min-height: 280px;
    border-radius: 8px;
  }
}

.exact-label {
  display: block;
  margin: 10px 0 6px;
  color: #4d6670;
  font-size: 8px;
  font-weight: 700;
}

.staff-hero-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.staff-logout {
  margin-top: 4px;
  white-space: nowrap;
}

.login-main {
  min-height: calc(100vh - 72px);
  display: grid;
  place-items: center;
  padding: 40px 16px;
  background:
    radial-gradient(circle at top left, rgba(31, 122, 134, 0.12), transparent 40%),
    linear-gradient(180deg, #f4f7f8 0%, #e7eef0 100%);
}

.login-card {
  width: min(420px, 100%);
  padding: 28px 26px 30px;
  border: 1px solid #d5e0e3;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 40px rgba(21, 41, 55, 0.08);
}

.login-brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 18px;
}

.login-brand strong {
  color: #152937;
  letter-spacing: 0.08em;
  font-size: 13px;
}

.login-brand span {
  color: #5d727c;
  font-size: 12px;
}

.login-card h1 {
  margin: 0 0 8px;
  color: #152937;
  font-family: Fraunces, Georgia, serif;
  font-size: 28px;
  line-height: 1.15;
}

.login-card > p {
  margin: 0 0 18px;
  color: #5d727c;
  font-size: 14px;
  line-height: 1.45;
}

.login-form label {
  display: block;
  margin-bottom: 6px;
  color: #315866;
  font-size: 12px;
  font-weight: 700;
}

.login-form .field-shell {
  margin-bottom: 16px;
}

.login-form .primary-button {
  width: 100%;
}
