:root {
  --ez-ink: #14222f;
  --ez-ink-soft: #51606f;
  --ez-navy: #18385c;
  --ez-navy-dark: #10283f;
  --ez-gold: #c7923b;
  --ez-orange: #df7f42;
  --ez-sage: #4f7f65;
  --ez-aqua: #4e9fa1;
  --ez-cream: #f8f5ef;
  --ez-mist: #f6f8fa;
  --ez-stone: #d7d1c8;
  --ez-line: #dfe5ea;
  --ez-white: #ffffff;
  --ez-shadow: 0 18px 50px rgba(16, 40, 63, 0.14);
}

html {
  font-size: 16px;
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--ez-ink);
  background: var(--ez-mist);
  font-family: "Source Sans 3", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

a {
  color: var(--ez-navy);
}

a:hover {
  color: var(--ez-orange);
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-select:focus,
.form-check-input:focus,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  border-color: var(--ez-aqua);
  box-shadow: 0 0 0 0.2rem rgba(78, 159, 161, 0.26);
  outline: 0;
}

.ez-navbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(20, 34, 47, 0.08);
  backdrop-filter: blur(14px);
}

.ez-navbar__inner {
  max-width: 1440px;
  padding: 0.75rem 1.5rem;
}

.ez-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ez-ink);
}

.ez-brand:hover {
  color: var(--ez-ink);
}

.ez-brand__mark {
  display: inline-grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border: 1px solid rgba(199, 146, 59, 0.45);
  border-radius: 0.45rem;
  color: var(--ez-gold);
  background: var(--ez-navy-dark);
  font-weight: 800;
}

.ez-brand strong,
.ez-brand small {
  display: block;
  line-height: 1.1;
}

.ez-brand small {
  color: var(--ez-ink-soft);
  font-size: 0.78rem;
  font-weight: 600;
}

.ez-navbar .nav-link {
  color: var(--ez-ink);
  font-weight: 700;
}

.ez-navbar .nav-link:hover {
  color: var(--ez-orange);
}

.ez-navbar__links {
  gap: 0.35rem;
}

.ez-navbar__account {
  align-items: center;
  gap: 0.4rem;
}

.ez-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid rgba(24, 56, 92, 0.18);
  border-radius: 0.45rem;
  color: var(--ez-white);
  background: var(--ez-navy);
  font-weight: 800;
}

.ez-nav-cta:hover {
  color: var(--ez-white);
  background: var(--ez-orange);
}

.ez-page-container {
  padding-top: 2rem;
  padding-bottom: 4rem;
}

.ez-footer {
  color: #d9e1e8;
  background: var(--ez-navy-dark);
}

.ez-footer__inner {
  display: flex;
  max-width: 1440px;
  min-height: 4rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 1.5rem;
}

.ez-footer a {
  color: #f3c878;
}

.ez-container {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.ez-home {
  overflow: hidden;
  background: var(--ez-white);
}

.ez-eyebrow {
  margin: 0 0 0.75rem;
  color: var(--ez-gold);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.ez-eyebrow--dark {
  color: var(--ez-orange);
}

.ez-hero {
  position: relative;
  min-height: 78vh;
  isolation: isolate;
  background: #eef1f3;
}

.ez-hero__image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.ez-hero__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, 0.08);
}

.ez-hero__content {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 7rem 0 5rem;
  color: var(--ez-ink);
}

.ez-hero h1 {
  max-width: 30rem;
  margin: 0;
  font-size: 3.05rem;
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: 0;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.55);
}

.ez-hero h1 span {
  display: block;
}

.ez-hero__copy {
  max-width: 29rem;
  margin: 1.35rem 0 0;
  color: #304050;
  font-size: 1.25rem;
  line-height: 1.5;
  font-weight: 600;
}

.ez-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.ez-btn {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border-radius: 0.45rem;
  padding: 0.75rem 1.1rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.ez-btn--gold {
  border: 1px solid #b87f27;
  color: #18130b;
  background: #f0b75c;
}

.ez-btn--gold:hover {
  color: #18130b;
  background: #ffc977;
}

.ez-btn--light {
  border: 1px solid rgba(20, 34, 47, 0.18);
  color: var(--ez-ink);
  background: rgba(255, 255, 255, 0.92);
}

.ez-btn--light:hover {
  color: var(--ez-ink);
  background: var(--ez-white);
}

.ez-btn--navy {
  border: 1px solid var(--ez-navy);
  color: var(--ez-white);
  background: var(--ez-navy);
}

.ez-btn--navy:hover {
  color: var(--ez-white);
  background: var(--ez-orange);
  border-color: var(--ez-orange);
}

.ez-btn--ghost {
  border: 1px solid var(--ez-line);
  color: var(--ez-ink);
  background: var(--ez-white);
}

.ez-btn--ghost:hover {
  color: var(--ez-ink);
  background: var(--ez-cream);
}

.ez-hero__metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 2.25rem;
}

.ez-hero__metrics span {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  border: 1px solid rgba(20, 34, 47, 0.14);
  border-radius: 0.45rem;
  padding: 0.45rem 0.7rem;
  color: var(--ez-ink);
  background: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.ez-hero__metrics strong {
  color: var(--ez-orange);
  font-size: 1.1rem;
}

.ez-start {
  border-top: 1px solid var(--ez-line);
  border-bottom: 1px solid var(--ez-line);
  background: var(--ez-cream);
}

.ez-alert-band {
  border-bottom: 1px solid rgba(184, 127, 39, 0.35);
  color: #7a3b10;
  background: #fff4e8;
}

.ez-alert-band .ez-container {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 0;
  font-weight: 850;
}

.ez-start__grid {
  display: grid;
  grid-template-columns: minmax(14rem, 0.7fr) minmax(18rem, 1.2fr);
  gap: 1.4rem;
  align-items: start;
  padding: 2.25rem 0;
}

.ez-start h2,
.ez-intake-shell__header h2 {
  max-width: 38rem;
  margin: 0;
  font-size: 2.1rem;
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: 0;
}

.ez-language {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
}

.ez-language__item {
  display: flex;
  min-height: 3.1rem;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--ez-line);
  border-radius: 0.45rem;
  padding: 0.55rem 0.65rem;
  color: var(--ez-ink);
  background: var(--ez-white);
  font-weight: 800;
  text-align: left;
}

.ez-language__item.is-active {
  border-color: var(--ez-orange);
  background: #fff4e8;
}

.ez-language__mark {
  display: inline-grid;
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: var(--ez-white);
  background: var(--ez-navy);
  font-size: 0.72rem;
  font-weight: 900;
}

.ez-consent {
  grid-column: 2;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 0;
  border: 1px solid rgba(199, 146, 59, 0.36);
  border-radius: 0.45rem;
  padding: 0.9rem 1rem;
  color: var(--ez-ink);
  background: var(--ez-white);
  font-weight: 700;
}

.ez-consent input {
  width: 1.2rem;
  height: 1.2rem;
  margin-top: 0.15rem;
  accent-color: var(--ez-orange);
}

.ez-intake-shell {
  padding: 4rem 0;
  background: var(--ez-white);
}

.ez-intake-shell__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.ez-save-state {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(79, 127, 101, 0.35);
  border-radius: 0.45rem;
  padding: 0.65rem 0.8rem;
  color: #2f664c;
  background: #edf7f1;
  font-weight: 800;
}

.ez-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 21.5rem;
  gap: 1.25rem;
  align-items: start;
}

.ez-wizard,
.ez-dashboard-panel {
  border: 1px solid var(--ez-line);
  border-radius: 0.5rem;
  background: var(--ez-white);
  box-shadow: var(--ez-shadow);
}

.ez-wizard {
  padding: 1.1rem;
}

.ez-progress {
  margin-bottom: 1rem;
}

.ez-progress__meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--ez-ink-soft);
  font-weight: 800;
}

.ez-progress__track {
  height: 0.6rem;
  margin-top: 0.45rem;
  overflow: hidden;
  border-radius: 999px;
  background: #e8edf1;
}

.ez-progress__track span {
  display: block;
  width: 14.285%;
  height: 100%;
  border-radius: inherit;
  background: var(--ez-orange);
  transition: width 180ms ease;
}

.ez-stepper {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.ez-stepper button {
  min-height: 2.75rem;
  border: 1px solid var(--ez-line);
  border-radius: 0.4rem;
  color: var(--ez-ink-soft);
  background: var(--ez-mist);
  font-size: 0.85rem;
  font-weight: 900;
}

.ez-stepper button.is-active {
  border-color: var(--ez-navy);
  color: var(--ez-white);
  background: var(--ez-navy);
}

.ez-form {
  border: 1px solid var(--ez-line);
  border-radius: 0.5rem;
  padding: 1rem;
  background: #fbfcfd;
}

.ez-form-step {
  display: none;
}

.ez-form-step.is-active {
  display: block;
}

.ez-form-step__title {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  margin-bottom: 1.2rem;
}

.ez-step-number {
  display: inline-grid;
  width: 2.5rem;
  height: 2.5rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 0.45rem;
  color: var(--ez-white);
  background: var(--ez-navy);
  font-weight: 900;
}

.ez-form-step h3 {
  margin: 0;
  font-size: 1.55rem;
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: 0;
}

.ez-form-step p {
  margin: 0.25rem 0 0;
  color: var(--ez-ink-soft);
  font-weight: 600;
}

.ez-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.ez-field-grid--compact {
  margin-top: 1rem;
}

.ez-field-grid--thirds {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 1rem 0;
}

.ez-field {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
  color: var(--ez-ink);
  font-weight: 800;
}

.ez-field span {
  font-size: 0.92rem;
}

.ez-field .form-control,
.ez-field .form-select {
  min-height: 3rem;
  border-color: #d7dee5;
  border-radius: 0.4rem;
  color: var(--ez-ink);
  font-weight: 650;
}

.ez-field textarea.form-control {
  min-height: 9rem;
  resize: vertical;
}

.ez-choice-grid {
  display: grid;
  gap: 0.85rem;
}

.ez-choice-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ez-choice {
  display: grid;
  min-height: 9.5rem;
  align-content: start;
  gap: 0.35rem;
  border: 1px solid var(--ez-line);
  border-radius: 0.5rem;
  padding: 1rem;
  cursor: pointer;
  background: var(--ez-white);
}

.ez-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.ez-choice i {
  color: var(--ez-orange);
  font-size: 1.75rem;
}

.ez-choice strong {
  font-size: 1.2rem;
  font-weight: 900;
}

.ez-choice span {
  color: var(--ez-ink-soft);
  font-weight: 650;
}

.ez-choice.is-active {
  border-color: var(--ez-orange);
  background: #fff8f0;
}

.ez-upload-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.ez-upload,
.ez-ai-scan {
  display: grid;
  min-height: 9rem;
  place-items: center;
  align-content: center;
  gap: 0.35rem;
  border: 1px dashed #b8c4ce;
  border-radius: 0.5rem;
  padding: 1rem;
  color: var(--ez-ink);
  background: var(--ez-white);
  text-align: center;
  font-weight: 900;
}

.ez-upload input {
  width: 100%;
  max-width: 13rem;
  margin-top: 0.4rem;
  font-size: 0.8rem;
}

.ez-upload i,
.ez-ai-scan i {
  color: var(--ez-aqua);
  font-size: 1.8rem;
}

.ez-upload small,
.ez-ai-scan small {
  color: var(--ez-ink-soft);
  font-weight: 700;
}

.ez-ai-scan {
  border-style: solid;
  border-color: rgba(78, 159, 161, 0.35);
  background: #edf8f8;
}

.ez-checkset,
.ez-swatch-set {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 0.35rem 0 0;
  border: 1px solid var(--ez-line);
  border-radius: 0.5rem;
  padding: 0.9rem;
  background: var(--ez-white);
}

.ez-checkset legend,
.ez-swatch-set legend {
  float: none;
  width: auto;
  margin: 0;
  padding: 0 0.25rem;
  font-size: 0.95rem;
  font-weight: 900;
}

.ez-checkset label,
.ez-swatch-set label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid var(--ez-line);
  border-radius: 999px;
  padding: 0.45rem 0.7rem;
  background: var(--ez-mist);
  font-weight: 800;
}

.ez-checkset input,
.ez-swatch-set input {
  accent-color: var(--ez-orange);
}

.ez-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.ez-tag-row button {
  border: 1px solid var(--ez-line);
  border-radius: 999px;
  padding: 0.45rem 0.7rem;
  color: var(--ez-ink);
  background: var(--ez-white);
  font-weight: 850;
}

.ez-tag-row button:hover {
  border-color: var(--ez-orange);
  background: #fff4e8;
}

.ez-design-toolbar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr));
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.ez-design-toolbar button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid var(--ez-line);
  border-radius: 0.45rem;
  color: var(--ez-ink);
  background: var(--ez-white);
  font-weight: 900;
}

.ez-design-toolbar button.is-active {
  border-color: var(--ez-navy);
  color: var(--ez-white);
  background: var(--ez-navy);
}

.ez-design-board {
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr);
  gap: 0.75rem;
  min-height: 24rem;
  margin-bottom: 1rem;
  border: 1px solid var(--ez-line);
  border-radius: 0.5rem;
  padding: 0.75rem;
  background: #eef3f5;
}

.ez-design-board__tools {
  display: grid;
  gap: 0.45rem;
  align-content: start;
}

.ez-design-board__tools button {
  display: inline-grid;
  width: 2.7rem;
  height: 2.7rem;
  place-items: center;
  border: 1px solid var(--ez-line);
  border-radius: 0.4rem;
  color: var(--ez-ink);
  background: var(--ez-white);
}

.ez-design-board__tools button:hover,
.ez-design-board__tools button.is-active {
  border-color: var(--ez-orange);
  color: var(--ez-white);
  background: var(--ez-orange);
}

.ez-design-board__divider {
  display: block;
  height: 1px;
  margin: 0.15rem 0;
  background: var(--ez-line);
}

.ez-plan-stage {
  display: grid;
  min-width: 0;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 0.65rem;
}

.ez-plan-stage__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.ez-plan-stage__head strong,
.ez-plan-stage__head span {
  display: block;
}

.ez-plan-stage__head strong {
  color: var(--ez-ink);
  font-size: 0.95rem;
}

.ez-plan-stage__head span {
  color: var(--ez-ink-soft);
  font-size: 0.82rem;
  font-weight: 800;
}

.ez-plan-view {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 0.2rem;
  border: 1px solid var(--ez-line);
  border-radius: 0.4rem;
  padding: 0.2rem;
  background: var(--ez-white);
}

.ez-plan-view button {
  border: 0;
  border-radius: 0.25rem;
  padding: 0.35rem 0.55rem;
  color: var(--ez-ink-soft);
  background: transparent;
  font-size: 0.78rem;
  font-weight: 900;
}

.ez-plan-view button.is-active {
  color: var(--ez-white);
  background: var(--ez-navy);
}

.ez-plan-frame {
  display: grid;
  overflow: hidden;
  min-height: 19rem;
  place-items: stretch;
  border-radius: 0.35rem;
  perspective: 900px;
}

.ez-plan-preview {
  position: relative;
  overflow: hidden;
  min-height: 19rem;
  border: 7px solid var(--ez-navy);
  border-radius: 0.25rem;
  background-color: var(--ez-white);
  background-image:
    linear-gradient(#dfe5ea 1px, transparent 1px),
    linear-gradient(90deg, #dfe5ea 1px, transparent 1px);
  background-size: 24px 24px;
  box-shadow: 0 0.55rem 1.25rem rgba(14, 37, 52, 0.12);
  cursor: crosshair;
  transform-origin: center center;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.ez-design-board[data-view="perspective"] .ez-plan-preview {
  box-shadow: 0 1.5rem 1.8rem rgba(14, 37, 52, 0.2);
  transform: rotateX(48deg) rotateZ(-5deg) scale(0.88);
}

.ez-plan-item {
  position: absolute;
  display: grid;
  place-items: center;
  min-width: 0.6rem;
  min-height: 0.45rem;
  border: 2px solid var(--ez-navy);
  color: var(--ez-ink);
  background: rgba(255, 255, 255, 0.94);
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1;
  transition: outline-color 160ms ease, transform 160ms ease;
}

.ez-plan-item[data-selectable="true"] {
  cursor: pointer;
}

.ez-plan-item[data-selectable="true"]:hover,
.ez-plan-item.is-selected {
  z-index: 3;
  outline: 3px solid rgba(241, 141, 40, 0.42);
  outline-offset: 2px;
}

.ez-plan-item--room {
  border: 3px solid var(--ez-navy);
  color: var(--ez-ink);
  background: rgba(255, 255, 255, 0.9);
}

.ez-plan-item--wall {
  border: 0;
  background: var(--ez-navy);
}

.ez-plan-item--door {
  border: 0;
  border-bottom: 5px solid var(--ez-orange);
  background: transparent;
}

.ez-plan-item--window {
  border: 0;
  border-top: 5px solid var(--ez-aqua);
  background: rgba(255, 255, 255, 0.62);
}

.ez-plan-item--cabinet {
  border-color: #886f50;
  background: #dbc59f;
}

.ez-plan-item--furniture {
  border-color: #557d74;
  border-radius: 0.35rem;
  color: #31564e;
  background: #b6d8cf;
}

.ez-plan-preview[data-material="stone"] {
  background-color: #f4f3f0;
}

.ez-plan-preview[data-material="navy"] {
  background-color: #e9f2f4;
}

.ez-plan-preview[data-material="warm-white"] {
  background-color: #fffaf1;
}

.ez-measure-file-message {
  margin: 0.25rem 0 0.85rem;
  border: 1px solid rgba(78, 159, 161, 0.32);
  border-radius: 0.45rem;
  padding: 0.7rem 0.8rem;
  color: #315f61;
  background: #edf8f8;
  font-weight: 800;
}

.ez-measure-workspace {
  display: grid;
  gap: 0.85rem;
  margin: 0.2rem 0 1rem;
  border: 1px solid var(--ez-line);
  border-radius: 0.5rem;
  padding: 0.85rem;
  background: #eef3f5;
}

.ez-measure-workspace[hidden] {
  display: none;
}

.ez-measure-workspace__head,
.ez-measure-results > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.ez-measure-workspace__head strong,
.ez-measure-workspace__head span {
  display: block;
}

.ez-measure-workspace__head strong {
  overflow-wrap: anywhere;
  color: var(--ez-ink);
}

.ez-measure-workspace__head span,
.ez-measure-results span {
  color: var(--ez-ink-soft);
  font-size: 0.82rem;
  font-weight: 800;
}

.ez-measure-workspace__head button,
.ez-measure-results button {
  display: inline-grid;
  width: 2.5rem;
  height: 2.5rem;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--ez-line);
  border-radius: 0.4rem;
  color: var(--ez-ink);
  background: var(--ez-white);
}

.ez-measure-workspace__head button:hover,
.ez-measure-results button:hover {
  border-color: var(--ez-orange);
  color: var(--ez-orange);
}

.ez-measure-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(13rem, 15rem);
  gap: 0.85rem;
  align-items: start;
}

.ez-measure-stage {
  position: relative;
  overflow: hidden;
  aspect-ratio: var(--ez-measure-ratio, 4 / 3);
  border: 1px solid #c2ccd4;
  border-radius: 0.4rem;
  background-color: var(--ez-white);
  background-image:
    linear-gradient(#e5eaee 1px, transparent 1px),
    linear-gradient(90deg, #e5eaee 1px, transparent 1px);
  background-size: 20px 20px;
}

.ez-measure-stage img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--ez-white);
}

.ez-measure-stage svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: crosshair;
}

.ez-measure-line {
  stroke: var(--ez-orange);
  stroke-width: 0.85;
  vector-effect: non-scaling-stroke;
}

.ez-measure-line--scale {
  stroke: var(--ez-aqua);
  stroke-dasharray: 3 2;
}

.ez-measure-point {
  fill: var(--ez-white);
  stroke: var(--ez-orange);
  stroke-width: 0.7;
  vector-effect: non-scaling-stroke;
}

.ez-measure-point--scale {
  stroke: var(--ez-aqua);
}

.ez-measure-label {
  fill: var(--ez-navy-dark);
  paint-order: stroke;
  stroke: var(--ez-white);
  stroke-width: 1.2;
  stroke-linejoin: round;
  font-size: 3.2px;
  font-weight: 900;
  text-anchor: middle;
}

.ez-measure-controls {
  display: grid;
  gap: 0.75rem;
}

.ez-measure-control {
  display: grid;
  gap: 0.55rem;
  border: 1px solid var(--ez-line);
  border-radius: 0.45rem;
  padding: 0.7rem;
  background: var(--ez-white);
}

.ez-measure-control strong {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.93rem;
}

.ez-measure-control strong span {
  color: var(--ez-orange);
}

.ez-measure-control small {
  color: var(--ez-ink-soft);
  font-weight: 800;
}

.ez-measure-control .ez-btn {
  width: 100%;
  min-height: 2.65rem;
  padding: 0.55rem 0.65rem;
  font-size: 0.86rem;
}

.ez-measure-control .ez-btn.is-active {
  outline: 3px solid rgba(78, 159, 161, 0.28);
  outline-offset: 2px;
}

.ez-measure-input {
  display: grid;
  gap: 0.25rem;
  color: var(--ez-ink-soft);
  font-size: 0.8rem;
  font-weight: 800;
}

.ez-measure-input > span:last-child {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.ez-measure-input .form-control,
.ez-measure-input .form-select {
  min-height: 2.55rem;
  border-color: #d7dee5;
  border-radius: 0.35rem;
  font-size: 0.84rem;
  font-weight: 700;
}

.ez-measure-results {
  display: grid;
  gap: 0.45rem;
  border-top: 1px solid var(--ez-line);
  padding-top: 0.75rem;
}

.ez-measure-results p {
  margin: 0;
  color: var(--ez-ink-soft);
  font-size: 0.86rem;
  font-weight: 700;
}

.ez-measure-results ul {
  display: grid;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ez-measure-results li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid var(--ez-line);
  border-radius: 0.4rem;
  padding: 0.45rem 0.5rem 0.45rem 0.7rem;
  color: var(--ez-ink);
  background: var(--ez-white);
  font-weight: 800;
}

.ez-measure-results li span {
  color: var(--ez-orange);
  font-size: 0.88rem;
}

.ez-measure-results button {
  width: 2rem;
  height: 2rem;
}

.ez-swatch {
  display: inline-block;
  width: 1.25rem;
  height: 1.25rem;
  border: 1px solid rgba(20, 34, 47, 0.15);
  border-radius: 50%;
}

.ez-swatch--oak {
  background: #c99d62;
}

.ez-swatch--stone {
  background: #b8b5ae;
}

.ez-swatch--navy {
  background: var(--ez-navy);
}

.ez-swatch--white {
  background: #fff7eb;
}

.ez-review-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.ez-review-item {
  display: grid;
  gap: 0.15rem;
  border: 1px solid var(--ez-line);
  border-radius: 0.45rem;
  padding: 0.8rem;
  background: var(--ez-white);
}

.ez-review-item span {
  color: var(--ez-ink-soft);
  font-size: 0.85rem;
  font-weight: 800;
}

.ez-review-item strong {
  overflow-wrap: anywhere;
  font-size: 1rem;
}

.ez-submit-panel {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1rem 0;
  border: 1px solid rgba(79, 127, 101, 0.35);
  border-radius: 0.5rem;
  padding: 0.85rem;
  color: #244d39;
  background: #edf7f1;
}

.ez-submit-panel i {
  font-size: 1.6rem;
}

.ez-submit-panel strong,
.ez-submit-panel span {
  display: block;
}

.ez-submit-panel span {
  color: #3f6654;
  font-weight: 700;
}

.ez-submit {
  width: 100%;
}

.ez-wizard-nav {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1rem;
}

.ez-dashboard {
  position: sticky;
  top: 6rem;
  display: grid;
  gap: 0.85rem;
}

.ez-dashboard-panel {
  padding: 1rem;
}

.ez-dashboard-panel--company {
  color: var(--ez-white);
  background: var(--ez-navy-dark);
}

.ez-dashboard-panel--company div {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.ez-dashboard-panel--company p,
.ez-dashboard-panel--company h3 {
  margin: 0;
}

.ez-dashboard-panel--company p {
  color: #c7d5df;
  font-weight: 800;
}

.ez-dashboard-panel--company h3 {
  margin-top: 0.4rem;
  font-size: 1.55rem;
  font-weight: 900;
}

.ez-dashboard-panel--company span:not(.ez-status-dot) {
  color: #f3c878;
  font-weight: 800;
}

.ez-dashboard-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.8rem;
}

.ez-dashboard-panel__head h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 900;
}

.ez-dashboard-panel__head i {
  color: var(--ez-orange);
}

.ez-status-dot {
  display: inline-block;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
}

.ez-status-dot--green {
  background: #5fe194;
}

.ez-status-list {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ez-status-list li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ez-ink-soft);
  font-weight: 850;
}

.ez-status-list span {
  width: 0.8rem;
  height: 0.8rem;
  border: 2px solid #b8c4ce;
  border-radius: 50%;
}

.ez-status-list li.is-done {
  color: #2f664c;
}

.ez-status-list li.is-done span {
  border-color: var(--ez-sage);
  background: var(--ez-sage);
}

.ez-status-list li.is-active {
  color: var(--ez-orange);
}

.ez-status-list li.is-active span {
  border-color: var(--ez-orange);
  background: #fff2e6;
}

.ez-message {
  border-left: 3px solid var(--ez-orange);
  padding-left: 0.75rem;
}

.ez-message strong {
  display: block;
  margin-bottom: 0.15rem;
}

.ez-message p,
.ez-dashboard-copy {
  margin: 0;
  color: var(--ez-ink-soft);
  font-weight: 650;
}

.ez-check-list {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ez-check-list li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 800;
}

.ez-check-list i {
  color: var(--ez-aqua);
}

.ez-tutorials {
  border-top: 1px solid var(--ez-line);
  background: var(--ez-navy-dark);
}

.ez-tutorials__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
  padding: 1.4rem 0;
}

.ez-tutorials button {
  display: inline-flex;
  min-height: 3.3rem;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0.45rem;
  color: var(--ez-white);
  background: rgba(255, 255, 255, 0.08);
  font-weight: 900;
}

.ez-tutorials button:hover {
  border-color: #f3c878;
  color: #f3c878;
}

.ez-tutorial-toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  max-width: 22rem;
  border: 1px solid rgba(20, 34, 47, 0.18);
  border-radius: 0.5rem;
  padding: 0.9rem 1rem;
  color: var(--ez-ink);
  background: var(--ez-white);
  box-shadow: var(--ez-shadow);
  font-weight: 800;
}

.ez-tutorial-toast[hidden] {
  display: none;
}

.ez-confirmation {
  display: grid;
  min-height: calc(100vh - 8rem);
  place-items: center;
  padding: 3rem 1rem;
  background: var(--ez-mist);
}

.ez-confirmation__panel {
  width: min(62rem, 100%);
  border: 1px solid var(--ez-line);
  border-radius: 0.5rem;
  padding: 2rem;
  background: var(--ez-white);
  box-shadow: var(--ez-shadow);
}

.ez-confirmation__icon {
  display: inline-grid;
  width: 3.5rem;
  height: 3.5rem;
  place-items: center;
  border-radius: 50%;
  color: #2f664c;
  background: #edf7f1;
  font-size: 2rem;
}

.ez-confirmation h1 {
  max-width: 46rem;
  margin: 0;
  font-size: 2.35rem;
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: 0;
}

.ez-confirmation p {
  max-width: 44rem;
  margin: 1rem 0 0;
  color: var(--ez-ink-soft);
  font-size: 1.1rem;
  font-weight: 650;
}

.ez-confirmation__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.ez-confirmation__grid div {
  display: grid;
  gap: 0.15rem;
  border: 1px solid var(--ez-line);
  border-radius: 0.45rem;
  padding: 0.8rem;
  background: #fbfcfd;
}

.ez-confirmation__grid span {
  color: var(--ez-ink-soft);
  font-size: 0.85rem;
  font-weight: 850;
}

.ez-confirmation__grid strong {
  overflow-wrap: anywhere;
}

.ez-confirmation__status {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.ez-confirmation__status span {
  border: 1px solid var(--ez-line);
  border-radius: 0.45rem;
  padding: 0.7rem 0.5rem;
  color: var(--ez-ink-soft);
  background: var(--ez-mist);
  font-weight: 900;
  text-align: center;
}

.ez-confirmation__status .is-done {
  border-color: rgba(79, 127, 101, 0.35);
  color: #2f664c;
  background: #edf7f1;
}

.ez-confirmation__status .is-active {
  border-color: rgba(223, 127, 66, 0.4);
  color: var(--ez-orange);
  background: #fff4e8;
}

.ez-confirmation__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

@media (max-width: 1100px) {
  .ez-hero h1 {
    font-size: 2.85rem;
  }

  .ez-start__grid,
  .ez-workspace {
    grid-template-columns: 1fr;
  }

  .ez-consent {
    grid-column: auto;
  }

  .ez-dashboard {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .ez-navbar__inner {
    padding: 0.65rem 1rem;
  }

  .ez-brand small {
    display: none;
  }

  .ez-hero {
    min-height: auto;
  }

  .ez-hero__image {
    opacity: 0.42;
  }

  .ez-hero__shade {
    background: rgba(255, 255, 255, 0.36);
  }

  .ez-hero__content {
    padding: 5rem 0 3.25rem;
  }

  .ez-hero h1 {
    font-size: 2.55rem;
    line-height: 1;
  }

  .ez-hero__copy {
    font-size: 1.08rem;
  }

  .ez-start h2,
  .ez-intake-shell__header h2 {
    font-size: 1.75rem;
  }

  .ez-language,
  .ez-stepper,
  .ez-field-grid,
  .ez-field-grid--thirds,
  .ez-choice-grid--two,
  .ez-upload-row,
  .ez-design-toolbar,
  .ez-dashboard,
  .ez-tutorials__grid,
  .ez-review-grid,
  .ez-confirmation__grid,
  .ez-confirmation__status {
    grid-template-columns: 1fr;
  }

  .ez-intake-shell__header {
    align-items: start;
    flex-direction: column;
  }

  .ez-stepper {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ez-design-board {
    grid-template-columns: 1fr;
  }

  .ez-design-board__tools {
    grid-template-columns: repeat(7, 2.7rem);
    overflow-x: auto;
  }

  .ez-design-board__divider {
    display: none;
  }

  .ez-plan-preview {
    min-height: 17rem;
  }

  .ez-measure-layout {
    grid-template-columns: 1fr;
  }

  .ez-measure-controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ez-wizard-nav {
    flex-direction: column-reverse;
  }

  .ez-wizard-nav .ez-btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .ez-container,
  .ez-hero__content {
    width: min(100% - 1rem, 1180px);
  }

  .ez-hero h1 {
    font-size: 2.15rem;
  }

  .ez-hero__actions .ez-btn {
    width: 100%;
  }

  .ez-wizard,
  .ez-form,
  .ez-dashboard-panel {
    padding: 0.75rem;
  }

  .ez-form-step__title {
    flex-direction: column;
  }

  .ez-plan-stage__head {
    align-items: start;
    flex-direction: column;
  }

  .ez-measure-controls {
    grid-template-columns: 1fr;
  }

}
