:root {
  color-scheme: dark;
  --page: #20211f;
  --panel: #2b2c29;
  --panel-2: #262724;
  --line: #464744;
  --line-soft: #3d3f3b;
  --text: #f5f5f1;
  --muted: #c8c6c0;
  --muted-2: #a7a59f;
  --green: #73b746;
  --green-dark: #1d5718;
  --button: #22231f;
  --focus: #356390;
  --blue: #254a78;
  --blue-icon: #9fc3f4;
  --mint: #dff7ef;
  --mint-icon: #0c7669;
  --lavender: #eeebff;
  --lavender-icon: #4b3b95;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--page);
  color: var(--text);
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

.shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 36px 40px;
}

.intake-card {
  width: min(1376px, 100%);
  min-height: 760px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: visible;
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.topbar,
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 40px;
}

.topbar {
  min-height: 116px;
  position: relative;
  border-bottom: 1px solid var(--line-soft);
}

.brand {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 18px;
  background: var(--blue);
}

.brand-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--blue-icon);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.header-back {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 26px;
  font-weight: 800;
  cursor: pointer;
}

.header-back span:first-child {
  font-size: 42px;
  font-weight: 400;
  line-height: 0.6;
}

.header-back:hover {
  color: var(--text);
}

.step-status {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  color: var(--muted-2);
  font-size: 25px;
  font-weight: 800;
}

.progress-track {
  height: 5px;
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  background: #252621;
}

.progress-fill {
  width: 50%;
  height: 100%;
  display: block;
  background: #82ade1;
  transition: width 180ms ease;
}

.language-wrap {
  position: relative;
  z-index: 20;
}

.language-button {
  min-width: 178px;
  height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: transparent;
  font-size: 28px;
  font-weight: 800;
  cursor: pointer;
}

.language-button:hover,
.language-button[aria-expanded="true"] {
  border-color: #6083aa;
  box-shadow: 0 0 0 6px rgba(53, 99, 144, 0.42);
}

.flag {
  width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  line-height: 1;
}

.chevron {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.5;
  opacity: 0.75;
  transition: transform 160ms ease;
}

.language-button[aria-expanded="true"] .chevron {
  transform: rotate(180deg);
}

.language-menu {
  width: min(560px, calc(100vw - 56px));
  max-height: min(1000px, calc(100vh - 150px));
  position: absolute;
  top: 72px;
  right: 0;
  overflow: auto;
  padding: 28px 14px 20px;
  background: var(--panel-2);
  border: 1px solid #5a5b58;
  border-radius: 18px 18px 0 0;
  box-shadow: -26px 0 56px rgba(0, 0, 0, 0.18);
}

.menu-title {
  margin: 0 22px 8px;
  color: var(--muted-2);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.language-option {
  width: 100%;
  min-height: 64px;
  display: grid;
  grid-template-columns: 54px 1fr 34px;
  align-items: center;
  gap: 14px;
  padding: 10px 18px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.language-option:hover,
.language-option.selected {
  background: var(--button);
}

.language-text {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.language-text strong {
  font-size: 26px;
  line-height: 1.1;
}

.language-text small {
  color: var(--muted);
  font-size: 22px;
  font-weight: 700;
}

.check {
  display: none;
  color: #78a6df;
  font-size: 30px;
  font-weight: 800;
  justify-self: end;
}

.language-option.selected .check {
  display: inline;
}

.panel {
  display: grid;
  min-height: 0;
}

.screen {
  display: none;
  padding: 72px 48px 48px;
}

.screen.active {
  display: block;
}

.hero {
  max-width: 980px;
  margin: 0 auto 84px;
  text-align: center;
}

.hero.compact {
  margin-bottom: 42px;
}

.step-screen {
  position: relative;
  padding: 54px 48px 40px;
}

.step-copy,
.appointment-card,
.contact-form,
.details-form {
  width: min(1280px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.step-copy {
  margin-bottom: 30px;
}

.eyebrow,
.section-label {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.step-copy h1 {
  margin-bottom: 12px;
}

.step-copy > p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.35;
}

.top-step-action {
  position: absolute;
  top: 48px;
  right: 48px;
  min-width: 190px;
  min-height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 0;
  border-radius: 14px;
  background: #82ade1;
  color: #f8fbff;
  padding: 0 24px;
  font-size: 23px;
  font-weight: 900;
  cursor: pointer;
}

.top-step-action[hidden] {
  display: none;
}

.submit-top-action {
  background: #78bf45;
  top: 24px;
}

.top-step-action:hover {
  filter: brightness(1.12);
}

.appointment-card {
  margin-bottom: 38px;
  padding: 34px 40px 32px;
  border-radius: 20px;
  background: #22231f;
}

.appointment-card h2 {
  margin: 0 0 22px;
  font-size: 28px;
}

.appointment-main {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 22px;
}

.date-tile {
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  align-content: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #30312e;
}

.date-tile span {
  color: var(--muted);
  font-size: 18px;
  font-weight: 900;
}

.date-tile strong {
  font-size: 32px;
  line-height: 1;
}

.appointment-main div:last-child {
  display: grid;
  gap: 6px;
}

.appointment-main div:last-child > strong {
  font-size: 30px;
  line-height: 1.2;
}

.appointment-main div:last-child > span,
.appointment-card p {
  color: var(--muted);
  font-size: 22px;
  font-weight: 800;
}

.appointment-card p {
  margin: 0;
}

.appointment-card a {
  color: #83b5ed;
  text-decoration: none;
}

.appointment-card a:hover {
  text-decoration: underline;
}

.pill {
  width: max-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 26px;
  padding: 8px 24px;
  border-radius: 999px;
  background: var(--green-dark);
  color: var(--green);
  font-size: 23px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 14px;
  font-size: clamp(36px, 4vw, 48px);
  line-height: 1.15;
  letter-spacing: 0;
}

.hero p:not(.pill),
.done p:not(.pill) {
  margin: 0;
  color: var(--muted);
  font-size: clamp(24px, 2.5vw, 30px);
  font-weight: 700;
  line-height: 1.48;
}

.role-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 1280px;
  margin: 0 auto;
}

.role-card {
  min-height: 380px;
  position: relative;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 20px;
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.role-card:hover {
  border-color: #6a6d67;
  background: rgba(255, 255, 255, 0.018);
}

.role-card.selected {
  border-color: #719f5a;
  box-shadow: inset 0 0 0 1px rgba(115, 183, 70, 0.58);
}

.role-card.selected .role-dot {
  border-color: var(--green);
  background: var(--green);
  box-shadow: inset 0 0 0 8px var(--panel);
}

.role-dot {
  width: 38px;
  height: 38px;
  position: absolute;
  top: 24px;
  right: 24px;
  border: 4px solid #72736f;
  border-radius: 50%;
}

.role-icon {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border-radius: 14px;
}

.role-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.role-icon.blue {
  background: var(--blue);
}

.role-icon.blue svg {
  stroke: var(--blue-icon);
}

.role-icon.mint {
  background: var(--mint);
}

.role-icon.mint svg {
  stroke: var(--mint-icon);
}

.role-icon.lavender {
  background: var(--lavender);
}

.role-icon.lavender svg {
  stroke: var(--lavender-icon);
}

.role-card strong {
  max-width: 100%;
  font-size: clamp(27px, 2.5vw, 32px);
  line-height: 1.15;
}

.role-card > span:last-child {
  max-width: 360px;
  color: var(--muted);
  font-size: clamp(23px, 2.2vw, 27px);
  font-weight: 700;
  line-height: 1.45;
}

.details-form {
  width: min(1280px, 100%);
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin: 0 auto;
}

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

.tenant-fields,
.landlord-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 12px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.tenant-fields[hidden],
.landlord-fields[hidden] {
  display: none;
}

.section-label {
  grid-column: 1 / -1;
  margin-bottom: 2px;
}

.appliance-picker {
  display: grid;
  gap: 20px;
}

.tenant-link-card {
  display: grid;
  gap: 20px;
  padding: 28px 32px;
  border: 1px solid #528bd4;
  border-radius: 14px;
  background: #243f63;
}

.tenant-link-card[hidden] {
  display: none;
}

.tenant-link-card h2 {
  margin: 0 0 8px;
  font-size: 28px;
  line-height: 1.15;
}

.tenant-link-card p {
  margin: 0;
  color: #c6d5e8;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.35;
}

.tenant-link-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.tenant-link-actions button,
.tenant-link-actions a {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(159, 195, 244, 0.8);
  border-radius: 12px;
  background: rgba(130, 173, 225, 0.16);
  color: var(--text);
  padding: 0 22px;
  font-size: 20px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.tenant-link-note {
  color: #9fc3f4 !important;
  font-size: 18px !important;
}

.tenant-link-intake {
  color: var(--text) !important;
  font-size: 18px !important;
}

.appliance-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.appliance-card {
  min-height: 178px;
  display: grid;
  grid-template-rows: 84px auto;
  justify-items: center;
  align-content: center;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: transparent;
  cursor: pointer;
}

.appliance-card:hover,
.appliance-card.selected {
  border-color: #82ade1;
  background: rgba(130, 173, 225, 0.08);
}

.appliance-card.selected {
  box-shadow: inset 0 0 0 1px rgba(130, 173, 225, 0.7);
}

.appliance-line-icon {
  width: 78px;
  height: 78px;
  display: block;
  align-self: end;
  fill: none;
  stroke: var(--muted);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.appliance-card-photo {
  width: 92px;
  height: 68px;
  display: block;
  align-self: end;
  object-fit: contain;
  object-position: center;
  opacity: 0.82;
}

.appliance-card-photo.tall {
  width: 88px;
  height: 70px;
}

.appliance-card-photo.range {
  width: 90px;
  height: 66px;
}

.appliance-card-photo.oven {
  width: 86px;
  height: 68px;
}

.appliance-card-photo.dishwasher {
  width: 82px;
  height: 62px;
  transform: translateX(-4px);
}

.appliance-card-photo.coin-laundry {
  width: 92px;
  height: 66px;
  opacity: 0.78;
}

.appliance-card[data-category="refrigerator"] .appliance-card-photo {
  transform: translateX(-4px);
}

.appliance-card[data-category="dishwasher"] .appliance-card-photo {
  transform: translateX(-5px);
}

.appliance-card strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--text);
  font-size: 24px;
  line-height: 1.15;
  text-align: center;
}

.appliance-card[data-category="refrigerator"] strong {
  font-size: 22px;
}

.type-panel {
  display: grid;
  gap: 24px;
  padding: 34px 40px;
  border-radius: 18px;
  background: #22231f;
}

.type-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.type-panel h2 {
  margin: 0;
  font-size: 28px;
}

.type-panel-head button {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: transparent;
  padding: 10px 18px;
  font-weight: 800;
  cursor: pointer;
}

.type-panel.other-type-panel .type-panel-head button {
  border: 0;
  padding: 2px 8px;
  color: var(--muted);
  font-size: 42px;
  line-height: 1;
}

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

.type-panel.other-type-panel .type-grid {
  grid-template-columns: repeat(auto-fit, minmax(138px, 1fr));
  gap: 14px;
}

.type-option {
  min-height: 230px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: transparent;
  text-align: center;
  cursor: pointer;
}

.type-panel.other-type-panel .type-option {
  min-width: 0;
  min-height: 150px;
  gap: 10px;
  padding: 14px 10px;
  overflow: hidden;
}

.type-option:hover,
.type-option.selected {
  border-color: #82ade1;
  background: rgba(130, 173, 225, 0.08);
}

.type-option .appliance-line-icon {
  width: 94px;
  height: 72px;
  justify-self: center;
}

.type-option .misc-type-icon {
  width: 58px;
  height: 58px;
}

.type-panel.other-type-panel .type-photo {
  width: min(84px, 72%);
  height: 58px;
}

.type-photo {
  width: 138px;
  height: 112px;
  display: block;
  object-fit: contain;
  object-position: center;
  opacity: 0.78;
}

.type-panel.stove-type-panel .type-option {
  min-height: 230px;
  gap: 16px;
  padding: 24px;
  overflow: hidden;
}

.type-panel.stove-type-panel .type-photo.range-type-photo {
  width: 110px;
  height: 130px;
  object-fit: contain;
  object-position: center;
  opacity: 0.86;
  filter: brightness(1.06) contrast(1.06);
}

.type-panel.stove-type-panel .type-option strong {
  font-size: clamp(23px, 6vw, 26px);
  line-height: 1.08;
}

.type-panel.stove-type-panel .type-option span:last-child {
  font-size: clamp(18px, 5vw, 20px);
  line-height: 1.18;
}

.type-photo.coin-type-photo {
  width: 138px;
  height: 116px;
  object-position: center;
  opacity: 0.78;
}

.type-panel.coin-laundry-type-panel .type-option {
  overflow: hidden;
}

.type-art {
  width: 118px;
  height: 108px;
  display: block;
  overflow: visible;
}

.type-art .machine {
  fill: none;
  stroke: #f6f1e5;
  stroke-width: 4;
}

.type-art .door,
.type-art .lid {
  fill: none;
  stroke: #f6f1e5;
  stroke-width: 4;
}

.type-art .glass {
  fill: none;
  stroke: #f6f1e5;
  stroke-width: 4;
}

.type-art .detail,
.type-art .shadow,
.type-art .wave {
  fill: none;
  stroke: #f6f1e5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
}

.type-art .knob {
  fill: #f6f1e5;
}

.type-option strong {
  display: block;
  font-size: 26px;
  line-height: 1.15;
}

.type-panel.other-type-panel .type-option > span {
  width: 100%;
  min-width: 0;
}

.type-panel.other-type-panel .type-option strong {
  max-width: 100%;
  font-size: clamp(16px, 4.4vw, 21px);
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.type-option span:last-child {
  color: var(--muted);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.3;
}

.brand-field {
  margin-top: 8px;
}

.brand-combobox {
  position: relative;
}

.brand-combobox input {
  min-height: 72px;
  font-size: 30px;
  font-weight: 800;
  padding: 14px 72px 14px 24px;
}

.brand-toggle {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.brand-toggle:hover {
  background: rgba(255, 255, 255, 0.06);
}

.brand-toggle svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

.brand-menu {
  position: absolute;
  z-index: 20;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  max-height: 320px;
  overflow: auto;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #22231f;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.34);
}

.brand-option {
  width: 100%;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  padding: 10px 14px;
  font-size: 22px;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.brand-option:hover,
.brand-option.selected {
  background: rgba(130, 173, 225, 0.12);
}

.brand-empty {
  padding: 14px;
  color: var(--muted);
  font-size: 20px;
  font-weight: 800;
}

.model-section {
  display: grid;
  gap: 20px;
}

.landlord-skip-card {
  display: grid;
  gap: 8px;
  padding: 22px 26px;
  border: 1px solid rgba(130, 173, 225, 0.5);
  border-radius: 12px;
  background: rgba(130, 173, 225, 0.12);
}

.landlord-skip-card[hidden] {
  display: none;
}

.landlord-skip-card strong {
  font-size: 24px;
  line-height: 1.2;
}

.landlord-skip-card p {
  margin: 0;
  color: var(--muted);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.35;
}

.model-snap {
  min-height: 136px;
  display: grid;
  grid-template-columns: 88px 1fr 34px;
  align-items: center;
  gap: 28px;
  padding: 28px 32px;
  border: 1px solid #528bd4;
  border-radius: 14px;
  background: #274a72;
  color: #82b8fb;
  text-align: left;
  cursor: pointer;
}

.camera-icon {
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #30312e;
}

.camera-icon svg {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: #82b8fb;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.model-snap strong {
  display: block;
  font-size: 28px;
  line-height: 1.2;
}

.model-snap small {
  color: #82b8fb;
  font-size: 24px;
  font-weight: 800;
}

.model-help {
  width: max-content;
  color: #82b8fb;
  font-size: 24px;
  font-weight: 800;
  text-decoration: none;
}

.media-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 14px;
}

.media-thumb {
  position: relative;
  width: 120px;
  height: 120px;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(130, 184, 251, 0.35);
}

.media-thumb img,
.media-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.media-thumb-remove {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.media-thumb-remove:hover {
  background: rgba(220, 53, 69, 0.85);
}

.model-ocr-status {
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 600;
  background: rgba(130, 184, 251, 0.12);
  color: #82b8fb;
  border: 1px solid rgba(130, 184, 251, 0.3);
}

.model-ocr-status[data-kind="ok"] {
  background: rgba(34, 197, 94, 0.12);
  color: #4ade80;
  border-color: rgba(34, 197, 94, 0.35);
}

.model-ocr-status[data-kind="warn"] {
  background: rgba(250, 204, 21, 0.12);
  color: #facc15;
  border-color: rgba(250, 204, 21, 0.35);
}

.model-help:hover {
  text-decoration: underline;
}

.model-guide-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(18, 19, 17, 0.72);
}

.model-guide {
  width: min(980px, 100%);
  max-height: min(860px, calc(100vh - 56px));
  display: grid;
  gap: 26px;
  overflow: auto;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.42);
}

.model-guide-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: start;
}

.model-guide-head h2 {
  margin: 4px 0 10px;
  font-size: 38px;
  line-height: 1.1;
}

.model-guide-head p:not(.eyebrow) {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.35;
}

.model-guide-close {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--muted);
  font-size: 42px;
  line-height: 1;
  cursor: pointer;
}

.model-guide-close:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.model-guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.model-guide-grid article {
  display: grid;
  gap: 10px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #22231f;
}

.model-guide-grid article span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #274a72;
  color: #9fc3f4;
  font-size: 17px;
  font-weight: 900;
}

.model-guide-grid h3 {
  margin: 0;
  font-size: 25px;
  line-height: 1.15;
}

.model-guide-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.35;
}

.model-guide-done {
  min-height: 64px;
  border: 0;
  border-radius: 14px;
  background: #82ade1;
  color: #f8fbff;
  font-size: 24px;
  font-weight: 900;
  cursor: pointer;
}

.model-guide-done:hover {
  filter: brightness(1.08);
}

.manual-divider {
  margin: 4px 0 0;
  color: var(--muted-2);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
}

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

.manual-grid input {
  min-height: 72px;
  font-size: 28px;
  font-weight: 800;
}

.why-card {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 22px;
  padding: 28px;
  border-radius: 14px;
  background: #22231f;
}

.info-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 3px solid var(--muted);
  border-radius: 50%;
  color: var(--muted);
  font-size: 18px;
  font-weight: 900;
  font-style: normal;
}

.why-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 26px;
}

.why-card p {
  margin: 0;
  color: var(--muted);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.38;
}

.issue-form {
  width: min(1280px, 100%);
  display: grid;
  gap: 28px;
  margin: 0 auto;
}

.issue-notes {
  gap: 12px;
}

.issue-notes textarea {
  min-height: 180px;
  padding: 24px;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.28;
}

.issue-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.issue-actions button {
  min-height: 72px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: transparent;
  color: var(--text);
  font-size: 24px;
  font-weight: 900;
  cursor: pointer;
}

.issue-actions button:hover,
.media-card:hover,
.question-chip:hover,
.question-chip.selected {
  border-color: #82ade1;
  background: rgba(130, 173, 225, 0.08);
}

.issue-actions svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.media-section,
.quick-section {
  display: grid;
  gap: 18px;
}

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

.media-card {
  min-height: 198px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 16px;
  padding: 28px;
  border: 1px dashed #5c5d59;
  border-radius: 14px;
  background: transparent;
  color: var(--text);
  text-align: center;
  cursor: pointer;
}

.media-card svg {
  width: 46px;
  height: 46px;
  fill: none;
  stroke: #82b8fb;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.media-card strong {
  font-size: 25px;
  line-height: 1.15;
}

.media-card span {
  color: var(--muted);
  font-size: 22px;
  font-weight: 800;
}

.quick-card {
  display: grid;
  gap: 18px;
  padding: 28px;
  border-radius: 14px;
  background: #22231f;
}

.quick-card h3,
.error-code-card > span {
  margin: 0;
  color: var(--text);
  font-size: 27px;
  font-weight: 900;
  line-height: 1.15;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.question-chip {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #30312e;
  color: var(--text);
  padding: 0 24px;
  font-size: 23px;
  font-weight: 900;
  cursor: pointer;
}

.question-chip.selected {
  box-shadow: inset 0 0 0 1px rgba(130, 173, 225, 0.65);
}

.error-code-card input {
  min-height: 72px;
  font-size: 28px;
  font-weight: 800;
}

.staff-shell {
  align-items: start;
  padding-block: 28px;
}

.staff-intake-card {
  min-height: auto;
}

.staff-topbar {
  min-height: 104px;
}

.staff-save-state {
  margin-left: auto;
  color: var(--muted);
  font-size: 22px;
  font-weight: 900;
}

.staff-form {
  display: grid;
  gap: 0;
}

.staff-hero,
.staff-section,
.staff-actions {
  padding: 40px 48px;
  border-bottom: 1px solid var(--line-soft);
}

.staff-hero {
  display: grid;
  gap: 10px;
}

.staff-hero h1 {
  margin: 0;
  font-size: clamp(42px, 4vw, 58px);
  line-height: 1.05;
}

.staff-hero p:last-child,
.staff-section-head p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.38;
}

.staff-section {
  display: grid;
  gap: 22px;
}

.staff-section-head {
  display: grid;
  gap: 6px;
}

.compact-role-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.compact-role-grid .role-card {
  min-height: 168px;
  grid-template-columns: 58px 1fr;
  gap: 12px 16px;
  padding: 20px;
}

.compact-role-grid .role-icon {
  width: 54px;
  height: 54px;
}

.compact-role-grid .role-card strong {
  font-size: 24px;
}

.compact-role-grid .property-role-card strong {
  padding-top: 26px;
  font-size: 21px;
  line-height: 1.12;
}

.compact-role-grid .role-card > span:last-child {
  grid-column: 2;
  font-size: 18px;
  line-height: 1.3;
}

.compact-role-grid .role-dot {
  width: 30px;
  height: 30px;
  top: 16px;
  right: 16px;
}

.staff-schedule-grid select,
.staff-schedule-grid input[type="date"],
.staff-schedule-grid input[type="time"] {
  min-height: 72px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: transparent;
  color: var(--text);
  padding: 0 22px;
  font: inherit;
  font-size: 25px;
  font-weight: 800;
}

.staff-schedule-grid select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--text) 50%), linear-gradient(135deg, var(--text) 50%, transparent 50%);
  background-position: calc(100% - 24px) 50%, calc(100% - 16px) 50%;
  background-size: 8px 8px, 8px 8px;
  background-repeat: no-repeat;
}

.staff-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: sticky;
  bottom: 0;
  z-index: 5;
  background: #2b2c28;
}

.staff-actions p {
  margin: 0;
  color: var(--muted);
  font-size: 22px;
  font-weight: 800;
}

.staff-actions .continue-button {
  background: #78bf45;
  color: #f8fbff;
}

.staff-form.saved .staff-actions .continue-button {
  background: #30312e;
}

label {
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-size: 18px;
  font-weight: 800;
}

label.wide {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #22231f;
  color: var(--text);
  padding: 15px 16px;
  font-size: 20px;
  outline: none;
}

.contact-form input {
  min-height: 74px;
  font-size: 32px;
  font-weight: 800;
  padding: 16px 24px;
}

label small {
  color: var(--muted-2);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.35;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #78a6df;
  box-shadow: 0 0 0 4px rgba(53, 99, 144, 0.35);
}

.done {
  width: min(760px, 100%);
  margin: 120px auto;
  text-align: center;
}

.footer {
  min-height: 132px;
  border-top: 1px solid var(--line-soft);
}

.footer p {
  margin: 0;
  color: var(--muted-2);
  font-size: 24px;
  font-weight: 800;
}

.continue-button,
.back-button {
  height: 74px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 0;
  border-radius: 16px;
  font-size: 28px;
  font-weight: 900;
  cursor: pointer;
}

.continue-button {
  min-width: 236px;
  padding: 0 34px;
  background: var(--button);
}

.step-screen.active ~ .footer .continue-button,
.intake-card:has(.step-screen.active) .continue-button {
  background: #82ade1;
  color: #f8fbff;
}

.intake-card:has(.step-screen.active) .continue-button:disabled {
  background: var(--button);
  color: var(--muted-2);
}

.intake-card:has(#issueScreen.active) .continue-button.submit-button,
.intake-card .continue-button.submit-button {
  background: #78bf45;
  color: #f8fbff;
}

.continue-button:disabled {
  color: var(--muted-2);
  cursor: not-allowed;
  opacity: 0.7;
}

.continue-button:not(:disabled):hover,
.back-button:hover {
  filter: brightness(1.14);
}

.back-button {
  padding: 0 24px;
  background: transparent;
  color: var(--muted);
}

.footer:has(.back-button:not([hidden])) #footerHint {
  margin-right: auto;
}

[dir="rtl"] .language-menu {
  right: auto;
  left: 0;
}

[dir="rtl"] .role-card,
[dir="rtl"] .language-option,
[dir="rtl"] label {
  text-align: right;
}

[dir="rtl"] .role-dot {
  right: auto;
  left: 24px;
}

@media (max-width: 920px) {
  .shell {
    padding: 18px;
    align-items: start;
  }

  .staff-shell {
    padding: 18px;
  }

  .intake-card {
    min-height: calc(100vh - 36px);
  }

  .topbar,
  .footer {
    padding: 22px;
  }

  .topbar {
    min-height: 94px;
  }

  .staff-topbar {
    min-height: auto;
  }

  .staff-topbar .brand {
    align-items: center;
  }

  .staff-save-state {
    width: 100%;
    margin-left: 0;
    font-size: 18px;
  }

  .staff-hero,
  .staff-section,
  .staff-actions {
    padding: 30px 22px;
  }

  .staff-hero h1 {
    font-size: 38px;
  }

  .compact-role-grid {
    grid-template-columns: 1fr;
  }

  .compact-role-grid .role-card {
    min-height: 132px;
  }

  .staff-actions {
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .staff-actions .continue-button {
    width: 100%;
  }

  .brand {
    gap: 14px;
    font-size: 24px;
  }

  .brand-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }

  .language-button {
    min-width: 122px;
    height: 52px;
    gap: 8px;
    font-size: 22px;
  }

  .flag {
    width: 34px;
    font-size: 25px;
  }

  .screen {
    padding: 44px 22px 34px;
  }

  .step-screen {
    padding: 38px 22px 32px;
  }

  .top-step-action {
    position: static;
    width: 100%;
    min-height: 62px;
    margin: -8px 0 24px;
    font-size: 22px;
  }

  .hero {
    margin-bottom: 44px;
  }

  .pill {
    font-size: 15px;
  }

  .role-grid,
  .details-form,
  .contact-form,
  .tenant-fields,
  .landlord-fields,
  .issue-form {
    grid-template-columns: 1fr;
  }

  .appliance-grid,
  .type-grid,
  .model-guide-grid,
  .media-grid,
  .issue-actions,
  .manual-grid {
    grid-template-columns: 1fr;
  }

  .type-panel {
    padding: 28px;
  }

  .type-option {
    min-height: 132px;
  }

  .model-snap {
    grid-template-columns: 70px 1fr 24px;
    padding: 22px;
  }

  .model-guide {
    padding: 24px;
  }

  .model-guide-head h2 {
    font-size: 30px;
  }

  .camera-icon {
    width: 70px;
    height: 70px;
  }

  .appointment-card {
    padding: 28px;
  }

  .appointment-main div:last-child > strong,
  .contact-form input,
  .issue-notes textarea {
    font-size: 26px;
  }

  .role-card {
    min-height: 220px;
    padding: 30px;
  }

  .footer {
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .footer p {
    order: -1;
    font-size: 20px;
  }

  .continue-button,
  .back-button {
    width: 100%;
    height: 62px;
    font-size: 22px;
  }
}

@media (max-width: 560px) {
  .shell {
    padding: 0;
  }

  .staff-shell {
    padding: 0;
  }

  .intake-card {
    min-height: 100vh;
    border: 0;
    border-radius: 0;
  }

  .staff-hero,
  .staff-section,
  .staff-actions {
    padding-inline: 18px;
  }

  .staff-hero h1 {
    font-size: 34px;
  }

  .compact-role-grid .role-card {
    grid-template-columns: 48px 1fr;
    min-height: 122px;
    padding: 18px;
  }

  .compact-role-grid .role-icon {
    width: 46px;
    height: 46px;
  }

  .compact-role-grid .role-card strong {
    font-size: 22px;
  }

  .compact-role-grid .property-role-card strong {
    padding-top: 24px;
    font-size: 19px;
  }

  .compact-role-grid .role-card > span:last-child {
    font-size: 17px;
  }

  .topbar {
    gap: 12px;
    padding: 18px;
  }

  .brand span:last-child {
    font-size: 20px;
  }

  .brand-icon {
    width: 44px;
    height: 44px;
  }

  .language-button {
    min-width: 100px;
    padding: 0 12px;
  }

  .language-menu {
    right: -4px;
    top: 62px;
  }

  .type-panel.other-type-panel {
    padding: 22px 16px;
  }

  .type-panel.other-type-panel .type-panel-head h2 {
    font-size: 30px;
  }

  .type-panel.other-type-panel .type-panel-head button {
    font-size: 34px;
  }

  .type-panel.other-type-panel .type-grid {
    grid-template-columns: repeat(2, minmax(118px, 1fr));
    gap: 12px;
  }

  .type-panel.other-type-panel .type-option {
    min-height: 148px;
    gap: 10px;
    padding: 12px 8px;
    overflow: hidden;
  }

  .type-panel.other-type-panel .type-photo {
    width: min(76px, 68%);
    height: 52px;
    max-width: 100%;
  }

  .type-panel.other-type-panel .type-option > span {
    max-width: 100%;
    min-width: 0;
  }

  .type-panel.other-type-panel .type-option strong {
    max-width: 100%;
    font-size: 16px;
    line-height: 1.12;
    overflow-wrap: anywhere;
  }
}

/* Julie's "send customer link" panel after intake submit */
.customer-link-panel {
  border: 1px solid #4ade80;
  background: rgba(34, 197, 94, 0.08);
  border-radius: 14px;
  padding: 24px;
  margin-top: 24px;
}

.customer-link-row {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.customer-link-row input {
  flex: 1;
  font-size: 18px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--button);
  color: var(--text);
}

.customer-link-row button {
  padding: 12px 18px;
  border-radius: 10px;
  border: 0;
  background: #4ade80;
  color: #0b1f10;
  font-weight: 800;
  cursor: pointer;
}

.customer-link-row button:hover {
  filter: brightness(1.1);
}

#voiceButton.listening {
  background: rgba(220, 53, 69, 0.18);
  border-color: rgba(220, 53, 69, 0.55);
  color: #ff7a8a;
  animation: voicePulse 1.5s ease-in-out infinite;
}

@keyframes voicePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.45); }
  50% { box-shadow: 0 0 0 12px rgba(220, 53, 69, 0); }
}
