:root {
  --ink: #141414;
  --muted: #5f6570;
  --line: #dedfe3;
  --paper: #f2f1ec;
  --white: #ffffff;
  --night: #090909;
  --accent: #5f5b55;
  --accent-dark: #34312e;
  --soft: #f6f6f5;
  --shadow: 0 18px 42px rgba(17, 17, 17, 0.1);
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 14px clamp(16px, 4vw, 46px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(9, 9, 9, 0.96);
  color: var(--white);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  text-transform: uppercase;
  line-height: 1;
}

.brand-logo {
  display: block;
  width: 92px;
  height: 104px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.45));
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(20px, 4vw, 46px);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover {
  color: #ded6cb;
}

.nav-links a.active {
  color: #e6ded2;
  text-decoration: underline;
  text-underline-offset: 6px;
}

.submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 46px;
  border: 0;
  border-radius: 6px;
  background: var(--accent);
  color: var(--white);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}

.submit-button:hover {
  background: var(--accent-dark);
}

.icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
}

.icon svg,
.calendar-nav svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.booking-hero {
  display: grid;
  min-height: clamp(430px, 54vh, 620px);
  padding: clamp(22px, 4vw, 48px);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.94) 0%, rgba(0, 0, 0, 0.75) 33%, rgba(0, 0, 0, 0.28) 62%, rgba(0, 0, 0, 0.08) 100%),
    url("assets/barber-hero.png") 68% 24% / cover no-repeat;
  color: var(--white);
}

.hero-panel {
  display: grid;
  align-items: center;
  width: min(100%, 1180px);
  margin: 0 auto;
}

.section-kicker {
  display: inline-block;
  margin-bottom: 12px;
  color: #e6ded2;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-panel h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.hero-logo {
  display: block;
  width: min(500px, 88vw);
  height: auto;
  margin: 0 0 22px;
  filter: drop-shadow(0 22px 36px rgba(0, 0, 0, 0.62));
}

/* Kept for accessible fallback text if the image cannot load. */
.hero-panel h1 {
  max-width: 660px;
  margin: 0 0 16px;
  font-size: clamp(52px, 8vw, 104px);
  line-height: 0.92;
}

.hero-panel p {
  max-width: 560px;
  margin: 0;
  font-size: clamp(18px, 2vw, 23px);
  font-weight: 800;
  line-height: 1.36;
}

.booking-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 22px;
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: 34px 20px 70px;
}

.page-heading {
  min-width: 0;
}

.booking-page-heading {
  grid-column: 1 / -1;
  display: grid;
  gap: 8px;
  margin-bottom: 2px;
}

.booking-page-heading .section-kicker {
  margin-bottom: 0;
  color: var(--accent-dark);
}

.booking-page-heading h2 {
  max-width: 740px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 4vw, 54px);
}

.booking-page-heading p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.45;
}

.booking-main,
.booking-side {
  display: grid;
  gap: 20px;
  min-width: 0;
}

.booking-side {
  align-content: start;
}

.step-section,
.customer-card,
.side-card {
  min-width: 0;
}

.step-heading,
.scheduler-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.step-heading {
  justify-content: flex-start;
  margin-bottom: 12px;
}

.step-heading span {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--night);
  color: var(--white);
  font-size: 14px;
  font-weight: 900;
}

h2 {
  margin: 0;
  font-size: clamp(21px, 2.1vw, 28px);
  line-height: 1.1;
}

.service-list,
.calendar-card,
.customer-card,
.side-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background-color: var(--white);
  background-image:
    radial-gradient(circle at 1px 1px, rgba(20, 20, 20, 0.055) 1px, transparent 1.2px),
    linear-gradient(135deg, rgba(255, 255, 255, 0.97), rgba(247, 245, 241, 0.94));
  background-size: 13px 13px, 100% 100%;
  box-shadow: var(--shadow);
}

.service-list {
  overflow: hidden;
}

.service-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.service-row > div {
  min-width: 0;
}

.service-row:last-child {
  border-bottom: 0;
}

.service-row.selected {
  background:
    linear-gradient(90deg, rgba(255, 246, 247, 0.96), rgba(255, 255, 255, 0.82)),
    radial-gradient(circle at 1px 1px, rgba(175, 16, 35, 0.08) 1px, transparent 1.2px);
  background-size: 100% 100%, 12px 12px;
}

.service-row h3 {
  margin: 0 0 6px;
  font-size: 16px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.service-category {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.service-row p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.service-description {
  margin-bottom: 7px;
  line-height: 1.4;
}

.choose-service {
  min-width: 78px;
  min-height: 36px;
  border: 0;
  border-radius: 6px;
  background: var(--night);
  color: var(--white);
  font-weight: 900;
  cursor: pointer;
}

.service-row.selected .choose-service {
  background: var(--accent);
}

.calendar-controls {
  display: flex;
  gap: 8px;
}

.calendar-nav {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background:
    radial-gradient(circle at 1px 1px, rgba(20, 20, 20, 0.06) 1px, transparent 1.2px),
    var(--white);
  background-size: 10px 10px, 100% 100%;
  color: var(--accent);
  cursor: pointer;
}

.calendar-card {
  padding: 18px;
  overflow: auto;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(112px, 1fr));
  gap: 10px;
  min-width: 820px;
}

.calendar-day {
  display: grid;
  grid-template-rows: auto minmax(220px, 390px);
  min-width: 0;
}

.day-heading {
  display: grid;
  gap: 4px;
  min-height: 56px;
  padding: 4px 4px 12px;
  text-align: center;
}

.day-heading strong {
  font-size: 15px;
  text-transform: lowercase;
}

.day-heading span {
  color: var(--muted);
  font-size: 14px;
}

.slot-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 390px;
  overflow: auto;
  padding: 0 2px 4px;
}

.slot-button,
.no-slot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  border: 0;
  border-radius: 4px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(242, 242, 240, 0.92)),
    radial-gradient(circle at 1px 1px, rgba(20, 20, 20, 0.045) 1px, transparent 1.2px);
  background-size: 100% 100%, 10px 10px;
  color: var(--ink);
  font-size: 15px;
}

.slot-button {
  cursor: pointer;
}

.slot-button:hover,
.slot-button.selected {
  background: var(--accent);
  color: var(--white);
}

.no-slot {
  min-height: 50px;
  padding: 8px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.slot-note,
.form-status {
  min-height: 22px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.customer-card,
.side-card {
  padding: 22px;
}

.customer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.form-row {
  display: grid;
  gap: 8px;
}

label {
  font-size: 14px;
  font-weight: 900;
}

input {
  width: 100%;
  min-height: 46px;
  border: 1px solid #d2d4d9;
  border-radius: 5px;
  background: var(--white);
  color: var(--ink);
  font: 500 15px/1 Arial, Helvetica, sans-serif;
  padding: 0 14px;
  outline: none;
}

input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(95, 91, 85, 0.16);
}

.booking-summary {
  min-height: 46px;
  display: flex;
  align-items: center;
  margin-top: 16px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background:
    radial-gradient(circle at 1px 1px, rgba(20, 20, 20, 0.045) 1px, transparent 1.2px),
    #fbfbfb;
  background-size: 12px 12px, 100% 100%;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.submit-button {
  width: 100%;
  min-height: 56px;
  margin-top: 14px;
}

.submit-button:disabled {
  opacity: 0.7;
  cursor: progress;
}

.form-status.success {
  color: #166534;
}

.form-status.error {
  color: #9f1239;
  font-weight: 800;
}

.side-card h2 {
  margin-bottom: 14px;
  font-size: 20px;
}

.hours {
  display: grid;
  margin: 0;
}

.hours div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.hours div:last-child {
  border-bottom: 0;
}

.hours dt,
.hours dd {
  margin: 0;
  font-size: 14px;
}

.hours dd {
  font-weight: 900;
  text-align: right;
}

[hidden] {
  display: none !important;
}

.auth-section {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: 46px 20px 70px;
}

.auth-shell {
  display: grid;
  justify-items: center;
  gap: 18px;
}

.auth-card,
.account-card {
  border: 1px solid rgba(222, 223, 227, 0.78);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.auth-card,
.account-card {
  align-self: start;
  padding: clamp(22px, 3vw, 30px);
  background:
    radial-gradient(circle at 1px 1px, rgba(20, 20, 20, 0.055) 1px, transparent 1.2px),
    linear-gradient(135deg, rgba(255, 255, 255, 0.99), rgba(248, 246, 241, 0.95));
  background-size: 13px 13px, 100% 100%;
}

.auth-card-heading {
  margin-bottom: 20px;
}

.auth-card-heading span {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.auth-card-heading h2 {
  font-size: clamp(25px, 2.5vw, 34px);
}

.auth-form {
  display: grid;
  gap: 14px;
}

.password-update-form {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.auth-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: 18px;
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 900;
}

.auth-links a {
  text-decoration: none;
}

.auth-links a:hover {
  color: var(--night);
}

.auth-status {
  grid-column: 1 / -1;
  margin-top: -4px;
  padding: 0 2px;
}

.account-card {
  width: min(100%, 1180px);
}

.account-heading {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.logout-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--night);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.logout-button:hover {
  background: var(--night);
  color: var(--white);
}

.logout-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.account-dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
}

.appointment-main {
  min-width: 0;
}

.appointment-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.appointment-tags span {
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 900;
}

.account-cancel-button {
  justify-self: center;
  min-height: 42px;
  min-width: 112px;
  padding: 0 16px;
  border: 0;
  border-radius: 6px;
  background: var(--night);
  color: var(--white);
  font-weight: 900;
  cursor: pointer;
}

.account-mini-card,
.account-profile {
  min-height: 138px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background-color: var(--white);
  background-image:
    radial-gradient(circle at 1px 1px, rgba(20, 20, 20, 0.055) 1px, transparent 1.2px),
    linear-gradient(135deg, rgba(255, 255, 255, 0.97), rgba(247, 245, 241, 0.94));
  background-size: 13px 13px, 100% 100%;
  box-shadow: var(--shadow);
}

.account-line-card {
  display: grid;
  grid-template-columns: minmax(230px, 280px) minmax(280px, 1fr) minmax(210px, 230px);
  align-items: center;
  gap: 18px;
}

.account-line-card .step-heading {
  margin-bottom: 0;
}

.account-line-card .step-heading h2 {
  max-width: 260px;
}

.account-line-content {
  min-width: 0;
}

.account-line-content strong,
.appointment-main strong {
  display: block;
  margin: 0 0 8px;
  font-size: clamp(22px, 2.1vw, 30px);
  line-height: 1.05;
}

.account-mini-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.last-appointment-card {
  border-color: var(--line);
}

.account-select-button {
  justify-self: center;
  width: min(100%, 216px);
  min-height: 38px;
  padding: 0 13px;
  border: 0;
  border-radius: 6px;
  background: var(--night);
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.account-select-button:hover {
  background: var(--accent);
}

.account-select-button:disabled {
  opacity: 0.72;
  cursor: not-allowed;
}

.install-app-card {
  position: relative;
  overflow: visible;
}

.install-help {
  position: relative;
  justify-self: center;
}

.install-help summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 6px;
  background: var(--night);
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  list-style: none;
  cursor: pointer;
}

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

.install-help summary svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.install-popover {
  position: absolute;
  z-index: 30;
  right: 0;
  top: calc(100% + 12px);
  display: grid;
  gap: 12px;
  width: min(650px, 88vw);
  padding: 16px;
  border: 1px solid #d0c6b6;
  border-radius: 8px;
  background:
    radial-gradient(circle at 1px 1px, rgba(20, 20, 20, 0.055) 1px, transparent 1.2px),
    linear-gradient(135deg, #ffffff, #f4eee4);
  background-size: 13px 13px, 100% 100%;
  box-shadow: 0 22px 48px rgba(17, 17, 17, 0.18);
}

.install-path {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid #e0d7c9;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.install-device {
  display: grid;
  place-items: center;
  width: 52px;
  height: 72px;
  border-radius: 16px;
  background: var(--night);
  color: var(--white);
}

.install-device svg {
  width: 34px;
  height: 48px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.install-path strong {
  display: block;
  margin: 0 0 8px;
  color: var(--night);
  font-size: 14px;
  line-height: 1.2;
  text-transform: uppercase;
}

.install-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.install-flow span {
  display: inline-flex;
  align-items: center;
  flex: 1 1 132px;
  gap: 7px;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid #c9bfaf;
  border-radius: 999px;
  background: #fffaf1;
  color: #2b2926;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.15;
  white-space: normal;
  overflow-wrap: anywhere;
}

.install-flow span svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.install-flow i {
  width: 22px;
  height: 1px;
  background: #bdb19f;
  position: relative;
}

.install-flow i::after {
  content: "";
  position: absolute;
  right: -1px;
  top: -4px;
  width: 8px;
  height: 8px;
  border-top: 1px solid #bdb19f;
  border-right: 1px solid #bdb19f;
  transform: rotate(45deg);
}

.account-profile {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  align-items: end;
  min-height: auto;
  gap: 14px;
}

.account-profile .step-heading {
  grid-column: 1 / -1;
}

body:not(.is-authenticated) .customer-card {
  position: relative;
}

body:not(.is-authenticated) .customer-card::before {
  content: "Connexion requise pour confirmer";
  display: inline-flex;
  width: fit-content;
  margin-bottom: 14px;
  padding: 8px 11px;
  border: 1px solid #c8bda9;
  border-radius: 5px;
  background: #fbf7ef;
  color: #4c4034;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.auth-card {
  width: min(100%, 480px);
  align-self: start;
  display: grid;
  align-content: center;
  padding: clamp(24px, 3.4vw, 38px);
  border-color: #d6d0c6;
  background:
    linear-gradient(180deg, #ffffff, #f6f2ea),
    radial-gradient(circle at 1px 1px, rgba(20, 20, 20, 0.055) 1px, transparent 1.2px);
  background-size: 100% 100%, 13px 13px;
}

.auth-card-heading span {
  color: #6e6254;
}

.auth-card-heading h2 {
  max-width: 360px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(31px, 3vw, 44px);
  line-height: 1;
}

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

.check-row {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #ded6cb;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.72);
  color: #3d3935;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.check-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-height: 18px;
  flex: 0 0 auto;
  accent-color: var(--night);
  cursor: pointer;
}

.auth-card .submit-button {
  background: var(--night);
}

.auth-card .submit-button:hover {
  background: #3b342c;
}

@media (max-width: 1040px) {
  .hero-panel,
  .booking-section,
  .auth-shell {
    grid-template-columns: 1fr;
  }

  .booking-side {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .account-profile {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .account-profile .submit-button {
    grid-column: 1 / -1;
  }

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

@media (max-width: 700px) {
  body {
    padding-bottom: 0;
  }

  .site-header {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
    padding: 10px 12px;
  }

  .nav-links {
    position: static;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    align-items: center;
    justify-content: stretch;
    min-width: 0;
    gap: 6px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.06);
    box-shadow: none;
    font-size: 10px;
  }

  .nav-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 6px;
    border-radius: 5px;
    color: var(--white);
    text-align: center;
    white-space: nowrap;
  }

  .nav-links a.active {
    background: var(--white);
    color: var(--night);
    text-decoration: none;
  }

  .brand-logo {
    width: 58px;
    height: 64px;
  }

  .booking-hero {
    min-height: 520px;
    padding: 32px 16px;
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.56) 40%, rgba(0, 0, 0, 0.18) 100%),
      url("assets/barber-hero.png") 70% 24% / cover no-repeat;
  }

  .hero-logo {
    width: min(340px, 90vw);
  }

  .hero-panel p {
    font-size: 17px;
  }

  .booking-side {
    grid-template-columns: 1fr;
  }

  .booking-section,
  .auth-section {
    padding: 26px 14px 48px;
  }

  .auth-shell {
    gap: 16px;
  }

  .account-dashboard,
  .account-profile {
    grid-template-columns: 1fr;
  }

  .account-line-card {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .account-line-card .step-heading h2 {
    max-width: none;
  }

  .install-help {
    justify-self: start;
  }

  .account-cancel-button,
  .account-select-button {
    justify-self: start;
  }

  .install-popover {
    position: static;
    width: 100%;
    margin-top: 12px;
    padding: 12px;
  }

  .install-path {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 10px;
    padding: 10px;
  }

  .install-device {
    width: 42px;
    height: 58px;
    border-radius: 13px;
  }

  .install-device svg {
    width: 27px;
    height: 39px;
  }

  .install-flow {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .install-flow span {
    justify-content: flex-start;
    width: 100%;
    min-height: 36px;
    border-radius: 6px;
  }

  .install-flow i {
    display: none;
  }

  .step-heading span {
    width: 28px;
    height: 28px;
  }

  .service-row {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .choose-service {
    width: 100%;
  }

  .scheduler-heading {
    align-items: flex-end;
  }

  .calendar-card {
    padding: 14px;
  }

  .calendar-grid {
    min-width: 760px;
  }

  .customer-card,
  .side-card {
    padding: 18px;
  }

  .submit-button {
    font-size: 13px;
  }
}
