:root {
  --navy: #172336;
  --navy-soft: #22324a;
  --orange: #c35e2f;
  --orange-dark: #a94922;
  --paper: #fbf8f2;
  --sand: #f0ebe2;
  --white: #ffffff;
  --ink: #172336;
  --muted: #657080;
  --line: #ddd8cf;
  --soft-blue: #eaf0f4;
  --green: #2f705c;
  --red: #a4423f;
  --shadow: 0 24px 70px rgba(23, 35, 54, 0.12);
  --radius: 18px;
  --font: "Avenir Next", Avenir, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

img {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

.page-width {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 1000;
  padding: 12px 18px;
  border-radius: 8px;
  color: var(--white);
  background: var(--navy);
}

.skip-link:focus {
  top: 14px;
}

.small-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.small-label > span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--orange);
}

.light-label {
  color: #b9c2ce;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 750;
  line-height: 1;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:not(:disabled):hover {
  transform: translateY(-2px);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.button-dark {
  color: var(--white);
  background: var(--navy);
  box-shadow: 0 8px 20px rgba(23, 35, 54, 0.14);
}

.button-dark:not(:disabled):hover {
  background: var(--navy-soft);
  box-shadow: 0 12px 26px rgba(23, 35, 54, 0.18);
}

.button-light {
  border-color: var(--line);
  color: var(--navy);
  background: var(--white);
}

.button-light:hover {
  border-color: var(--navy);
}

.button-orange {
  color: var(--white);
  background: var(--orange-dark);
}

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

.plain-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid currentColor;
  font-weight: 750;
}

/* Header */
.site-header,
.simple-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: var(--paper);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.site-header.scrolled,
.simple-header.scrolled {
  border-color: var(--line);
  box-shadow: 0 8px 30px rgba(23, 35, 54, 0.06);
}

.header-inner,
.simple-header-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
}

.site-brand img {
  width: 34px;
  height: auto;
}

.site-brand strong,
.site-brand small {
  display: block;
  line-height: 1;
}

.site-brand strong {
  font-size: 22px;
  font-style: italic;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.site-brand small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 15px;
  font-weight: 700;
}

.main-nav > a:not(.button) {
  padding: 12px 0;
}

.main-nav > a:not(.button):hover {
  color: var(--orange-dark);
}

.main-nav .nav-book {
  min-height: 48px;
  padding-inline: 20px;
}

.menu-button {
  display: none;
  min-height: 46px;
  align-items: center;
  gap: 12px;
  padding: 0 4px 0 12px;
  border: 0;
  background: none;
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
}

.menu-lines {
  display: grid;
  width: 31px;
  height: 31px;
  place-content: center;
  gap: 6px;
  border-radius: 8px;
  background: var(--navy);
}

.menu-lines i {
  display: block;
  width: 15px;
  height: 2px;
  border-radius: 2px;
  background: var(--white);
  transition: transform 160ms ease;
}

.menu-button[aria-expanded="true"] .menu-lines i:first-child {
  transform: translateY(4px) rotate(45deg);
}

.menu-button[aria-expanded="true"] .menu-lines i:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

/* Home hero */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  position: absolute;
  width: 480px;
  height: 480px;
  top: -270px;
  right: -150px;
  border-radius: 50%;
  background: rgba(195, 94, 47, 0.08);
  content: "";
}

.hero-layout {
  display: grid;
  min-height: 690px;
  grid-template-columns: minmax(0, 0.92fr) minmax(440px, 0.78fr);
  align-items: center;
  gap: 80px;
  padding-block: 80px 92px;
}

.hero-copy {
  opacity: 1;
}

.hero-wordmark {
  width: min(390px, 82%);
  margin: 2px 0 25px;
}

.hero h1 {
  max-width: 660px;
  margin: 0;
  font-size: clamp(46px, 5.2vw, 72px);
  font-weight: 780;
  letter-spacing: -0.045em;
  line-height: 1.03;
}

.hero-text {
  max-width: 600px;
  margin: 24px 0 30px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
}

.simple-points {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  padding: 0;
  margin: 32px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  list-style: none;
}

.simple-points li {
  display: flex;
  align-items: center;
  gap: 7px;
}

.simple-points span {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--navy);
  font-size: 11px;
}

.hero-demo {
  position: relative;
}

.hero-demo::before {
  position: absolute;
  inset: 20px -26px -28px 25px;
  z-index: -1;
  border-radius: 24px;
  background: var(--sand);
  content: "";
}

.demo-card {
  padding: 28px;
  border: 1px solid rgba(23, 35, 54, 0.08);
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.demo-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.demo-head p,
.demo-head strong {
  display: block;
  margin: 0;
}

.demo-head p {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.demo-head strong {
  margin-top: 3px;
  font-size: 24px;
}

.demo-week {
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--green);
  background: #e7f1ed;
  font-size: 11px;
  font-weight: 750;
}

.demo-days {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 24px 0 20px;
}

.demo-days button {
  display: grid;
  min-height: 74px;
  place-content: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--navy);
  background: var(--white);
  font: inherit;
  text-align: center;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.demo-days button:hover {
  border-color: var(--navy);
  transform: translateY(-1px);
}

.demo-days button.active {
  border-color: var(--navy);
  color: var(--white);
  background: var(--navy);
}

.demo-days small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.08em;
}

.demo-days .active small {
  color: #c9d0da;
}

.demo-days b {
  margin-top: 2px;
  font-size: 22px;
}

.demo-times {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.demo-times button {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--navy);
  background: var(--white);
  font: inherit;
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease;
}

.demo-times button:hover {
  border-color: var(--navy);
  background: var(--soft-blue);
}

.demo-times .picked {
  border-color: var(--orange);
  color: var(--orange-dark);
  background: #fff4ee;
}

.demo-times .picked b {
  display: grid;
  width: 19px;
  height: 19px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--orange-dark);
  font-size: 10px;
}

.demo-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 128px;
  gap: 10px;
  margin-top: 24px;
}

.demo-choice,
.demo-all-times {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
  gap: 12px;
  padding: 17px 18px;
  border-radius: 12px;
  font-weight: 750;
}

.demo-choice {
  color: var(--white);
  background: var(--navy);
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}

.demo-choice:hover {
  background: var(--navy-soft);
  transform: translateY(-1px);
}

.demo-choice small,
.demo-choice strong {
  display: block;
}

.demo-choice small {
  margin-bottom: 2px;
  color: #b5bfcc;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.1em;
}

.demo-choice strong {
  font-size: 14px;
}

.demo-choice i {
  color: var(--orange);
  font-size: 22px;
  font-style: normal;
}

.demo-all-times {
  justify-content: center;
  border: 1px solid var(--line);
  color: var(--navy);
  background: var(--white);
  font-size: 13px;
  line-height: 1.25;
  text-align: center;
  transition: border-color 160ms ease, background 160ms ease;
}

.demo-all-times:hover {
  border-color: var(--navy);
  background: var(--soft-blue);
}

.demo-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 15px;
  border-radius: 9px;
  color: var(--muted);
  background: var(--sand);
  font-size: 13px;
  text-align: center;
}

.hero-note {
  position: relative;
  width: max-content;
  max-width: calc(100% - 28px);
  margin: 18px 0 0 28px;
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--muted);
  background: var(--white);
  box-shadow: 0 10px 30px rgba(23, 35, 54, 0.09);
  font-size: 12px;
  font-weight: 700;
}

.hero-note span {
  color: var(--orange-dark);
}

/* Home sections */
.section {
  padding-block: 112px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 48px;
}

.section-heading h2,
.how h2,
.about-simple h2 {
  margin: 0;
  font-size: clamp(38px, 4.2vw, 58px);
  font-weight: 770;
  letter-spacing: -0.04em;
  line-height: 1.06;
}

.section-heading > p {
  max-width: 400px;
  margin: 0 0 4px;
  color: var(--muted);
}

.services {
  background: var(--white);
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.service-item {
  display: grid;
  min-height: 156px;
  grid-template-columns: 54px 1fr 42px;
  align-items: center;
  gap: 20px;
  padding: 28px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  transition: background 160ms ease;
}

.service-item:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.service-item:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.service-item:hover {
  background: var(--white);
}

.service-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 50%;
  color: var(--orange-dark);
  background: #f7e9e1;
  font-size: 12px;
  font-weight: 850;
}

.service-item h3 {
  margin: 0 0 5px;
  font-size: 21px;
}

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

.service-item > a {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  font-size: 20px;
  transition: border-color 160ms ease, color 160ms ease;
}

.service-item > a:hover {
  border-color: var(--orange);
  color: var(--orange-dark);
}

.how {
  color: var(--white);
  background: var(--navy);
}

.how-layout {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  align-items: center;
  gap: 100px;
}

.how-copy > p:not(.small-label) {
  margin: 20px 0 32px;
  color: #bcc5d0;
}

.steps-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.steps-list li {
  display: grid;
  grid-template-columns: 58px 1fr;
  align-items: center;
  gap: 22px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.steps-list li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.steps-list > li > span {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 50%;
  color: var(--navy);
  background: var(--white);
  font-weight: 850;
}

.steps-list strong {
  display: block;
  font-size: 19px;
}

.steps-list p {
  margin: 2px 0 0;
  color: #aeb9c6;
  font-size: 15px;
}

.about-simple {
  background: var(--sand);
}

.about-simple-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  align-items: center;
  gap: 100px;
}

.about-mark {
  position: relative;
  display: grid;
  min-height: 410px;
  place-items: center;
  overflow: hidden;
  border-radius: 28px;
  background: #e5ddd0;
}

.about-mark::before,
.about-mark::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.about-mark::before {
  width: 360px;
  height: 360px;
  top: -170px;
  left: -130px;
  background: rgba(195, 94, 47, 0.15);
}

.about-mark::after {
  width: 230px;
  height: 230px;
  right: -100px;
  bottom: -100px;
  border: 44px solid rgba(23, 35, 54, 0.06);
}

.about-mark img {
  position: relative;
  z-index: 1;
  width: 178px;
  height: auto;
  filter: drop-shadow(0 18px 26px rgba(23, 35, 54, 0.18));
}

.about-text > p:not(.small-label) {
  max-width: 580px;
  margin: 24px 0 30px;
  color: var(--muted);
  font-size: 20px;
}

.contact {
  background: var(--paper);
}

.contact-heading {
  align-items: center;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.contact-cards article {
  min-height: 238px;
  padding: 32px;
  border-right: 1px solid var(--line);
}

.contact-cards article:last-child {
  border-right: 0;
}

.contact-cards small {
  display: block;
  margin-bottom: 25px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.contact-cards article > a:first-of-type,
.contact-cards strong {
  display: block;
  margin-bottom: 13px;
  font-size: 21px;
  font-weight: 760;
  line-height: 1.4;
}

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

.contact-cards .plain-link {
  margin-top: 10px;
  font-size: 14px;
}

.contact-cards dl,
.contact-cards dt,
.contact-cards dd {
  margin: 0;
}

.contact-cards dl > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 5px 0;
  font-size: 14px;
}

.contact-cards dd {
  font-weight: 750;
}

.site-footer {
  padding: 58px 0 24px;
  color: #c1c9d2;
  background: var(--navy);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr;
  align-items: center;
  gap: 50px;
  padding-bottom: 45px;
}

.footer-main > img {
  width: 270px;
  padding: 12px;
  border-radius: 10px;
  background: var(--white);
}

.footer-main div,
.footer-main a,
.footer-main span,
.footer-main strong {
  display: block;
}

.footer-main strong {
  color: var(--white);
}

.footer-main span,
.footer-main a {
  margin-top: 5px;
  font-size: 13px;
}

.footer-main div:last-child {
  text-align: right;
}

.footer-main a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 11px;
}

.mobile-book-button {
  display: none;
}

/* Shared simple header and footer */
.simple-header-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  font-weight: 700;
}

.header-phone {
  padding: 10px 15px;
  border-radius: 8px;
  color: var(--white);
  background: var(--navy);
}

.simple-footer {
  padding: 28px 0;
  color: #b9c2ce;
  background: var(--navy);
  font-size: 12px;
}

.simple-footer > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

/* Booking page */
.booking-main {
  min-height: calc(100vh - 160px);
  padding: 64px 0 100px;
}

.booking-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 45px;
}

.booking-title-row h1 {
  margin: 0;
  font-size: clamp(44px, 5vw, 66px);
  letter-spacing: -0.045em;
  line-height: 1;
}

.booking-title-row > div > p:last-child {
  margin: 17px 0 0;
  color: var(--muted);
}

.booking-steps {
  display: flex;
  gap: 34px;
  padding: 0;
  margin: 0 0 5px;
  list-style: none;
}

.booking-steps li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #949ba4;
  font-size: 13px;
}

.booking-steps span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  font-size: 12px;
  font-weight: 800;
}

.booking-steps li.active,
.booking-steps li.done {
  color: var(--navy);
}

.booking-steps li.active span {
  border-color: var(--navy);
  color: var(--white);
  background: var(--navy);
}

.booking-steps li.done span {
  border-color: var(--green);
  color: var(--white);
  background: var(--green);
}

.booking-alert {
  margin-bottom: 24px;
  padding: 14px 18px;
  border: 1px solid #dcb0aa;
  border-radius: 10px;
  color: var(--red);
  background: #fff2f0;
}

.booking-content-grid {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, 1fr) 285px;
  align-items: start;
  gap: 24px;
}

.slot-panel,
.customer-form-card,
.selection-card,
.selected-time-card,
.confirmation-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.slot-panel,
.customer-form-card {
  padding: 30px;
}

.panel-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 27px;
}

.panel-heading span {
  color: var(--orange-dark);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.panel-heading h2 {
  margin: 4px 0 0;
  font-size: 27px;
  letter-spacing: -0.025em;
}

.panel-heading > p {
  margin: 0 0 3px;
  color: var(--muted);
  font-size: 13px;
}

.week-navigation {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) auto minmax(150px, 1fr);
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.week-navigation p {
  margin: 0;
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.week-navigation button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 8px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--navy);
  background: var(--white);
  font-size: 11px;
  font-weight: 750;
  cursor: pointer;
}

.week-navigation button:last-child {
  justify-self: end;
}

.week-navigation button:hover:not(:disabled) {
  border-color: var(--navy);
  background: var(--soft-blue);
}

.week-navigation button:disabled {
  cursor: not-allowed;
  opacity: 0.38;
}

.slot-grid {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--line);
  gap: 1px;
}

.slot-grid > * {
  background: var(--white);
}

.slot-corner,
.slot-day-header,
.slot-time-label,
.slot-cell {
  min-width: 0;
  min-height: 62px;
}

.slot-corner,
.slot-time-label {
  display: grid;
  place-items: center;
  color: var(--muted);
  background: #f7f4ee;
  font-size: 11px;
  font-weight: 800;
}

.slot-day-header {
  display: grid;
  place-content: center;
  padding: 10px 5px;
  text-align: center;
}

.slot-day-header strong,
.slot-day-header small {
  display: block;
}

.slot-day-header small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.slot-day-header strong {
  margin-top: 1px;
  font-size: 18px;
}

.slot-cell {
  display: grid;
  place-items: center;
  padding: 7px;
}

.slot-cell.empty {
  background: #faf8f4;
}

.slot-cell.empty::after {
  color: #d5d0c8;
  content: "–";
}

.slot-button {
  width: 100%;
  min-height: 44px;
  padding: 0 5px;
  border: 1px solid #c9d1d9;
  border-radius: 8px;
  color: var(--navy);
  background: var(--white);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.slot-button:hover {
  border-color: var(--navy);
  background: var(--soft-blue);
}

.slot-button.selected {
  border-color: var(--navy);
  color: var(--white);
  background: var(--navy);
  box-shadow: inset 0 -3px 0 var(--orange);
}

.mobile-slots {
  display: none;
}

.selection-card {
  position: sticky;
  top: 112px;
  padding: 28px;
}

.selection-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 25px;
  border-radius: 50%;
  color: var(--white);
  background: var(--orange-dark);
  font-weight: 850;
}

.selection-card small,
.selected-time-card small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.selection-card h2 {
  margin: 8px 0 8px;
  font-size: 24px;
  line-height: 1.2;
}

.selection-card p {
  min-height: 48px;
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 14px;
}

.selection-card .button {
  width: 100%;
}

.selection-card > a {
  display: block;
  margin-top: 20px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  text-decoration: underline;
}

.mobile-step-action {
  display: none;
}

.form-page-grid {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, 1fr) 285px;
  align-items: start;
  gap: 24px;
}

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

.customer-form-card label,
.login-card label,
.booking-filter-row label {
  display: block;
  font-size: 13px;
  font-weight: 750;
}

.customer-form-card label > span {
  color: var(--muted);
  font-weight: 500;
}

.customer-form-card input,
.customer-form-card select,
.customer-form-card textarea,
.login-card input,
.booking-filter-row input,
.booking-filter-row select {
  display: block;
  width: 100%;
  min-height: 52px;
  margin-top: 7px;
  padding: 0 14px;
  border: 1px solid #cfd1d1;
  border-radius: 9px;
  outline: 0;
  background: var(--white);
  font-size: 16px;
}

.customer-form-card textarea {
  min-height: 110px;
  padding-block: 13px;
  resize: vertical;
}

.customer-form-card input:focus,
.customer-form-card select:focus,
.customer-form-card textarea:focus,
.login-card input:focus,
.booking-filter-row input:focus,
.booking-filter-row select:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(195, 94, 47, 0.12);
}

.full-field {
  grid-column: 1 / -1;
}

.check-field {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  margin: 23px 0 0;
  color: var(--muted);
  font-weight: 500 !important;
}

.check-field input {
  width: 20px;
  height: 20px;
  min-height: 0;
  margin: 1px 0 0;
  accent-color: var(--navy);
}

.form-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 27px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.selected-time-card {
  position: sticky;
  top: 112px;
  padding: 25px;
  border-top: 4px solid var(--orange);
}

.selected-time-card strong,
.selected-time-card span {
  display: block;
}

.selected-time-card strong {
  margin-top: 12px;
  font-size: 19px;
}

.selected-time-card span {
  margin-top: 3px;
  color: var(--muted);
}

.selected-time-card button {
  margin-top: 24px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: none;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
}

.confirmation-card {
  max-width: 720px;
  margin: 0 auto;
  padding: 58px;
  text-align: center;
  box-shadow: var(--shadow);
}

.confirmation-check {
  display: grid;
  width: 70px;
  height: 70px;
  place-items: center;
  margin: 0 auto 25px;
  border-radius: 50%;
  color: var(--white);
  background: var(--green);
  font-size: 30px;
  font-weight: 850;
}

.confirmation-card .small-label {
  justify-content: center;
}

.confirmation-card h2 {
  margin: 0;
  font-size: clamp(38px, 5vw, 54px);
  letter-spacing: -0.04em;
}

.confirmation-card > p:not(.small-label) {
  margin: 16px 0 28px;
  color: var(--muted);
}

.confirmation-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  overflow: hidden;
  max-width: 520px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  text-align: left;
}

.confirmation-info > div {
  padding: 16px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.confirmation-info > div:nth-child(even) {
  border-right: 0;
}

.confirmation-info > div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.confirmation-info small,
.confirmation-info strong {
  display: block;
}

.confirmation-info small {
  color: var(--muted);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.09em;
}

.confirmation-info strong {
  margin-top: 3px;
  font-size: 14px;
}

.confirmation-actions {
  justify-content: center;
  margin-top: 30px;
}

/* Login */
.admin-page {
  min-height: 100vh;
  background: #f3f0e9;
}

.login-view {
  display: grid;
  min-height: 100vh;
  grid-template-columns: minmax(280px, 0.7fr) minmax(500px, 1.3fr);
}

.login-brand {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--navy);
}

.login-brand::before,
.login-brand::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.login-brand::before {
  width: 420px;
  height: 420px;
  top: -250px;
  left: -240px;
  border: 70px solid rgba(255, 255, 255, 0.045);
}

.login-brand::after {
  width: 300px;
  height: 300px;
  right: -180px;
  bottom: -180px;
  background: rgba(195, 94, 47, 0.14);
}

.login-brand img {
  position: relative;
  z-index: 1;
  width: min(410px, 68%);
  padding: 22px;
  border-radius: 14px;
  background: var(--white);
}

.login-card {
  width: min(430px, calc(100% - 48px));
  align-self: center;
  justify-self: center;
  padding: 42px;
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.login-card h1 {
  margin: 0;
  font-size: 46px;
  letter-spacing: -0.04em;
  line-height: 1;
}

.login-card > p:not(.small-label) {
  margin: 15px 0 28px;
  color: var(--muted);
  font-size: 15px;
}

.login-card label {
  margin-top: 18px;
}

.password-field {
  position: relative;
  display: block;
}

.password-field input {
  padding-right: 70px;
}

.password-field button {
  position: absolute;
  top: 17px;
  right: 13px;
  padding: 5px;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
}

.login-card form > .button {
  width: 100%;
  margin-top: 24px;
}

.login-error {
  margin: 12px 0 0 !important;
  color: var(--red) !important;
  font-size: 13px !important;
}

.back-home {
  display: inline-block;
  margin-top: 22px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

/* Dashboard */
.dashboard {
  min-height: 100vh;
  background: #f4f5f6;
}

.admin-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 0 28px;
  border-bottom: 1px solid #e3e6e8;
  background: var(--white);
}

.admin-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.admin-header-right {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 12px;
}

.admin-header-right button {
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--white);
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
}

.dashboard-layout {
  display: grid;
  min-height: calc(100vh - 76px);
  grid-template-columns: 230px minmax(0, 1fr);
}

.admin-sidebar {
  position: sticky;
  top: 76px;
  display: flex;
  height: calc(100vh - 76px);
  flex-direction: column;
  justify-content: space-between;
  padding: 26px 18px;
  color: #c5cdd6;
  background: var(--navy);
}

.admin-sidebar nav {
  display: grid;
  gap: 6px;
}

.admin-sidebar nav button {
  display: grid;
  min-height: 48px;
  grid-template-columns: 24px 1fr auto;
  align-items: center;
  gap: 9px;
  padding: 0 13px;
  border: 0;
  border-radius: 8px;
  color: inherit;
  background: none;
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.admin-sidebar nav button:hover,
.admin-sidebar nav button.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.admin-sidebar nav button.active {
  box-shadow: inset 3px 0 0 var(--orange);
}

.admin-sidebar nav button > svg {
  justify-self: center;
  color: var(--orange);
  stroke: currentColor;
}

.admin-sidebar nav b {
  display: grid;
  min-width: 22px;
  height: 22px;
  place-items: center;
  padding: 0 5px;
  border-radius: 999px;
  color: var(--navy);
  background: var(--white);
  font-size: 10px;
}

.admin-help {
  padding: 15px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.07);
}

.admin-help small,
.admin-help a {
  display: block;
}

.admin-help small {
  margin-bottom: 5px;
  color: #8998a9;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.admin-help a {
  color: var(--white);
  font-size: 13px;
  font-weight: 750;
}

.admin-main {
  min-width: 0;
  padding: 42px;
}

.admin-section {
  max-width: 1220px;
  margin: 0 auto;
}

.admin-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 30px;
}

.admin-title-row h1 {
  margin: 0;
  font-size: 42px;
  letter-spacing: -0.04em;
  line-height: 1;
}

.admin-title-row > div > p:last-child {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.admin-eyebrow {
  margin: 0 0 7px !important;
  color: var(--orange-dark) !important;
  font-size: 10px !important;
  font-weight: 850;
  letter-spacing: 0.11em;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-bottom: 22px;
}

.stat-card {
  min-height: 138px;
  padding: 22px;
  border: 1px solid #e1e4e6;
  border-radius: 12px;
  background: var(--white);
}

.stat-card small,
.stat-card strong,
.stat-card span {
  display: block;
}

.stat-card small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stat-card strong {
  margin-top: 12px;
  font-size: 34px;
  line-height: 1;
}

.stat-card span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 11px;
}

.stat-card.accent {
  color: var(--white);
  background: var(--navy);
}

.stat-card.accent small,
.stat-card.accent span {
  color: #b9c3cf;
}

.admin-card {
  border: 1px solid #e1e4e6;
  border-radius: 12px;
  background: var(--white);
}

.admin-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px;
  border-bottom: 1px solid #e7e9ea;
}

.admin-card-head h2,
.admin-card-head p {
  margin: 0;
}

.admin-card-head h2 {
  font-size: 18px;
}

.admin-card-head p {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
}

.admin-card-head button {
  padding: 7px;
  border: 0;
  background: none;
  color: var(--orange-dark);
  font-size: 11px;
  font-weight: 750;
  cursor: pointer;
}

.upcoming-row,
.admin-booking-row {
  display: grid;
  align-items: center;
  border-bottom: 1px solid #eceeef;
}

.upcoming-row {
  grid-template-columns: 108px minmax(140px, 1fr) minmax(150px, 0.8fr) 120px 92px;
  gap: 16px;
  padding: 16px 22px;
}

.upcoming-row:last-child,
.admin-booking-row:last-child {
  border-bottom: 0;
}

.booking-date-block strong,
.booking-date-block span,
.booking-person strong,
.booking-person span {
  display: block;
}

.booking-date-block strong,
.booking-person strong {
  font-size: 13px;
}

.booking-date-block span,
.booking-person span,
.upcoming-row > span,
.admin-booking-row > span {
  color: var(--muted);
  font-size: 11px;
}

.status-pill {
  display: inline-flex;
  width: max-content;
  min-height: 25px;
  align-items: center;
  justify-content: center;
  padding: 0 9px;
  border-radius: 999px;
  color: #714c00;
  background: #fff0c9;
  font-size: 9px;
  font-weight: 850;
}

.status-pill.bekraftad {
  color: #1d5f4b;
  background: #e1f0ea;
}

.status-pill.klar {
  color: #475565;
  background: #e7ebef;
}

.status-pill.avbokad {
  color: #8c3432;
  background: #f7e2e1;
}

.empty-admin-state {
  padding: 45px 20px;
  color: var(--muted);
  text-align: center;
}

.booking-filter-row {
  display: grid;
  grid-template-columns: 1fr 190px;
  gap: 14px;
  margin-bottom: 16px;
}

.booking-filter-row label {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.booking-filter-row input,
.booking-filter-row select {
  min-height: 45px;
  margin-top: 5px;
  font-size: 13px;
  text-transform: none;
}

.admin-booking-row {
  grid-template-columns: 115px minmax(155px, 1fr) minmax(150px, 0.8fr) 100px minmax(210px, auto);
  gap: 18px;
  padding: 18px 20px;
}

.booking-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.booking-actions button,
.booking-actions a {
  display: inline-flex;
  min-height: 31px;
  align-items: center;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  font-size: 10px;
  font-weight: 750;
  cursor: pointer;
}

.booking-actions button:hover,
.booking-actions a:hover {
  border-color: var(--navy);
}

.booking-actions .danger-action {
  color: var(--red);
}

.booking-status-stack {
  display: grid;
  justify-items: start;
  gap: 6px;
}

.invoice-mini-status,
.invoice-state {
  display: inline-flex;
  width: max-content;
  min-height: 24px;
  align-items: center;
  padding: 0 8px;
  border-radius: 999px;
  color: #315b78;
  background: #e5f0f7;
  font-size: 9px;
  font-weight: 850;
}

.invoice-mini-status.paid,
.invoice-state.paid {
  color: #1d5f4b;
  background: #e1f0ea;
}

.invoice-mini-status.overdue,
.invoice-state.overdue,
.invoice-mini-status.failed,
.invoice-state.failed {
  color: #8c3432;
  background: #f7e2e1;
}

.invoice-mini-status.partial,
.invoice-state.partial {
  color: #714c00;
  background: #fff0c9;
}

.booking-actions .compact-action {
  min-height: 36px;
  gap: 5px;
  padding-inline: 10px;
}

.booking-actions .compact-action span {
  color: var(--muted);
  font-size: 9px;
}

.booking-actions .compact-action.is-active {
  border-color: var(--navy);
  color: var(--white);
  background: var(--navy);
}

.booking-actions .compact-action.is-active span {
  color: var(--orange);
}

.booking-actions .invoice-action {
  border-color: #d9a38a;
  color: var(--orange-dark);
  background: #fff7f2;
}

.booking-more {
  position: relative;
}

.booking-more summary {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  font-size: 10px;
  font-weight: 750;
  cursor: pointer;
  list-style: none;
}

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

.booking-more > div {
  position: absolute;
  right: 0;
  z-index: 25;
  display: grid;
  min-width: 110px;
  gap: 5px;
  margin-top: 5px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.booking-more > div > * {
  width: 100%;
  justify-content: center;
}

/* Invoice admin */
.invoice-setup-notice {
  margin: 0 0 16px;
  padding: 14px 16px;
  border: 1px solid #e4c183;
  border-radius: 9px;
  color: #6f5119;
  background: #fff6df;
  font-size: 13px;
}

.invoice-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.invoice-summary article {
  display: flex;
  min-height: 86px;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 18px 20px;
  border: 1px solid #e1e4e6;
  border-radius: 11px;
  background: var(--white);
}

.invoice-summary article.warning {
  border-color: #ddb0aa;
  background: #fff5f3;
}

.invoice-summary small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
}

.invoice-summary strong {
  font-size: 28px;
}

.invoice-row {
  display: grid;
  grid-template-columns: 130px minmax(180px, 1fr) 125px 125px minmax(230px, auto);
  align-items: center;
  gap: 17px;
  padding: 18px 20px;
  border-bottom: 1px solid #eceeef;
}

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

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

.invoice-row strong,
.invoice-row span,
.invoice-row small {
  display: block;
}

.invoice-row > div > strong {
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.invoice-row > div > span,
.invoice-row > div > small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
}

.invoice-row .invoice-state {
  display: inline-flex;
  margin: 0;
  color: #315b78;
}

.invoice-row-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 5px;
}

.invoice-row-actions a,
.invoice-row-actions button {
  display: inline-flex;
  min-height: 33px;
  align-items: center;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--navy);
  background: var(--white);
  font-size: 10px;
  font-weight: 750;
  cursor: pointer;
}

.invoice-row-actions button:disabled {
  cursor: wait;
  opacity: .55;
}

.invoice-load-more {
  display: flex;
  justify-content: center;
  padding: 18px;
}

.invoice-load-more button {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--navy);
  background: var(--white);
  font: inherit;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
}

.settings-title {
  align-items: center;
}

.settings-save-status {
  padding: 8px 11px;
  border-radius: 999px;
  color: var(--green);
  background: #e7f1ed;
  font-size: 11px;
  font-weight: 800;
}

.settings-save-status.is-saving {
  color: var(--muted);
}

.settings-save-status.is-error {
  color: #8c3432;
  background: #f7e2e1;
}

.invoice-settings-form {
  display: grid;
  gap: 16px;
}

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

.settings-group {
  padding: 25px;
}

.settings-group-head {
  margin-bottom: 22px;
}

.settings-group-head h2,
.settings-group-head p {
  margin: 0;
}

.settings-group-head h2 {
  font-size: 19px;
}

.settings-group-head p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

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

.settings-grid label,
.invoice-form-grid label {
  position: relative;
  display: block;
  font-size: 12px;
  font-weight: 750;
}

.settings-grid input,
.settings-grid select,
.invoice-form-grid input,
.invoice-form-grid select {
  width: 100%;
  min-height: 48px;
  margin-top: 6px;
  padding: 0 13px;
  border: 1px solid #cfd1d1;
  border-radius: 8px;
  outline: 0;
  background: var(--white);
  font-size: 16px;
}

.settings-grid label > span,
.invoice-form-grid label > span {
  position: absolute;
  right: 12px;
  bottom: 15px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
}

.settings-grid input:focus,
.settings-grid select:focus,
.invoice-form-grid input:focus,
.invoice-form-grid select:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(195, 94, 47, 0.12);
}

.settings-wide,
.invoice-wide {
  grid-column: 1 / -1;
}

.settings-check {
  display: flex !important;
  align-items: center;
  gap: 10px;
  min-height: 48px;
}

.settings-check input {
  width: 21px;
  min-height: 21px;
  margin: 0;
  accent-color: var(--navy);
}

.settings-check span {
  position: static !important;
  color: var(--navy) !important;
  font-size: 13px !important;
}

.compact-settings-grid {
  max-width: 520px;
}

.delivery-status-list {
  display: grid;
  max-width: 620px;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.delivery-status-list > div {
  display: grid;
  grid-template-columns: 12px 1fr;
  align-items: center;
  gap: 2px 9px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.delivery-status-list small {
  grid-column: 2;
  color: var(--muted);
  font-size: 10px;
}

.delivery-dot {
  grid-row: 1 / 3;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #c5c9cd;
}

.delivery-dot.ready {
  background: var(--green);
}

/* Invoice dialog */
.modal-open {
  overflow: hidden;
}

.invoice-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
}

.invoice-modal[hidden] {
  display: none;
}

.invoice-modal-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  border: 0;
  background: rgba(12, 21, 34, 0.65);
  cursor: default;
}

.invoice-dialog {
  position: relative;
  width: min(760px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  border-radius: 16px;
  background: var(--paper);
  box-shadow: 0 25px 80px rgba(10, 18, 30, 0.35);
}

.invoice-dialog-head {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  padding: 15px 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(251, 248, 242, 0.97);
}

.invoice-dialog-head small,
.invoice-dialog-head h2 {
  display: block;
  margin: 0;
}

.invoice-dialog-head small {
  color: var(--orange-dark);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.09em;
}

.invoice-dialog-head h2 {
  margin-top: 2px;
  font-size: 24px;
}

.invoice-dialog-head > button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  font-size: 22px;
  cursor: pointer;
}

.invoice-form-step {
  padding: 25px;
}

.invoice-form-section {
  margin-bottom: 26px;
}

.invoice-form-section h3 {
  margin: 0 0 14px;
  font-size: 16px;
}

.invoice-send-options {
  display: flex;
  gap: 22px;
  margin: 0;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--white);
}

.invoice-send-options legend {
  padding: 0 6px;
  font-size: 12px;
  font-weight: 800;
}

.invoice-send-options label {
  font-size: 13px;
  font-weight: 700;
}

.invoice-send-options input {
  width: 18px;
  height: 18px;
  margin-right: 5px;
  accent-color: var(--navy);
  vertical-align: middle;
}

.invoice-form-error {
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: 8px;
  color: var(--red);
  background: #fff0ee;
  font-size: 12px;
}

.invoice-dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.invoice-preview {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--white);
}

.invoice-preview-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 25px;
  color: var(--white);
  background: var(--navy);
}

.invoice-preview-head small,
.invoice-preview-head h3 {
  display: block;
  margin: 0;
}

.invoice-preview-head small {
  color: #bac4d0;
  font-size: 9px;
  font-weight: 850;
}

.invoice-preview-head h3 {
  margin-top: 4px;
  font-size: 27px;
}

.invoice-preview-head > strong {
  font-size: 20px;
}

.invoice-preview dl {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: 0;
  border-bottom: 1px solid var(--line);
}

.invoice-preview dl > div {
  padding: 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.invoice-preview dl > div:nth-child(2n) {
  border-right: 0;
}

.invoice-preview dl > div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.invoice-preview dt {
  color: var(--muted);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.invoice-preview dd {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.5;
}

.invoice-preview-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 25px;
  border-bottom: 1px solid var(--line);
}

.invoice-preview-line span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}

.invoice-preview-totals {
  display: grid;
  justify-content: end;
  gap: 6px;
  padding: 22px 25px;
}

.invoice-preview-totals span,
.invoice-preview-totals > strong {
  display: grid;
  min-width: 260px;
  grid-template-columns: 1fr auto;
  gap: 20px;
  color: var(--muted);
  font-size: 12px;
}

.invoice-preview-totals > strong {
  margin-top: 5px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  color: var(--navy);
  font-size: 15px;
}

.availability-key {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 15px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.availability-key span {
  display: flex;
  align-items: center;
  gap: 7px;
}

.availability-key i {
  width: 13px;
  height: 13px;
  border: 1px solid var(--line);
  border-radius: 3px;
}

.admin-week-navigation {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  margin-bottom: 15px;
}

.admin-week-navigation > div {
  text-align: center;
}

.admin-week-navigation small,
.admin-week-navigation strong {
  display: block;
}

.admin-week-navigation small {
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.admin-week-navigation strong {
  color: var(--navy);
  font-size: 14px;
}

.admin-week-navigation button {
  display: inline-flex;
  width: max-content;
  min-height: 42px;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--navy);
  background: var(--white);
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}

.admin-week-navigation button:last-child {
  justify-self: end;
}

.admin-week-navigation button:hover:not(:disabled) {
  border-color: var(--navy);
  background: var(--soft-blue);
}

.admin-week-navigation button:disabled {
  cursor: not-allowed;
  opacity: 0.35;
}

.key-open {
  border-color: var(--navy) !important;
  background: var(--white);
}

.key-closed {
  background: #e9ebed;
}

.key-booked {
  border-color: var(--navy) !important;
  background: var(--navy);
}

.availability-card {
  overflow: hidden;
  padding: 18px;
}

.admin-slot-grid .slot-cell {
  min-height: 68px;
}

.slot-toggle {
  width: 100%;
  min-height: 48px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 7px;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
}

.slot-toggle.is-open {
  border-color: var(--navy);
  color: var(--navy);
  background: var(--white);
}

.slot-toggle.is-closed {
  color: #9ba1a8;
  background: #eceeef;
}

.slot-toggle.is-booked {
  border-color: var(--navy);
  color: var(--white);
  background: var(--navy);
  cursor: not-allowed;
}

.slot-toggle small {
  display: block;
  margin-top: 2px;
  color: inherit;
  font-size: 8px;
  opacity: 0.75;
}

/* Focused booking queue */
.queue-page {
  min-height: 100vh;
  color: #24332e;
  background: #eee9df;
  --queue-green: #203b32;
  --queue-green-soft: #315548;
  --queue-cream: #f7f3ea;
  --queue-line: #d7d0c3;
  --queue-orange: #b9582d;
}

.queue-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 max(28px, calc((100vw - 1380px) / 2));
  color: var(--white);
  background: var(--queue-green);
  box-shadow: 0 8px 25px rgba(20, 40, 33, 0.18);
}

.queue-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}
.queue-brand img {
  filter: brightness(0) invert(1);
}

.queue-header-meta {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 11px;
  font-weight: 750;
}

.queue-header-meta span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #c8d6d0;
}

.queue-header-meta i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #82b397;
  box-shadow: 0 0 0 4px rgba(130, 179, 151, 0.13);
}

.queue-header-meta a {
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
}

.queue-main {
  width: min(1380px, calc(100% - 56px));
  margin: 0 auto;
  padding: 52px 0 90px;
}

.queue-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 50px;
  margin-bottom: 48px;
}

.queue-eyebrow {
  margin: 0 0 8px;
  color: var(--queue-orange);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.queue-intro h1 {
  margin: 0;
  color: var(--queue-green);
  font-size: clamp(44px, 5vw, 68px);
  letter-spacing: -0.05em;
  line-height: 0.96;
}

.queue-intro > div:first-child > p:last-child {
  margin: 15px 0 0;
  color: #69756f;
  font-size: 15px;
}

.queue-stats {
  display: flex;
  overflow: hidden;
  border: 1px solid var(--queue-line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.45);
}

.queue-stats article {
  min-width: 125px;
  padding: 17px 20px;
  border-right: 1px solid var(--queue-line);
}

.queue-stats article:last-child {
  border-right: 0;
}

.queue-stats small,
.queue-stats strong,
.queue-stats span {
  display: block;
}

.queue-stats small {
  color: #7b817e;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.queue-stats strong {
  margin-top: 3px;
  color: var(--queue-green);
  font-size: 27px;
  line-height: 1;
}

.queue-stats span {
  margin-top: 4px;
  color: #7b817e;
  font-size: 9px;
}

.queue-section + .queue-section {
  margin-top: 58px;
  padding-top: 52px;
  border-top: 1px solid var(--queue-line);
}

.queue-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 20px;
}

.queue-section-head > div:first-child {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.queue-section-number {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--queue-orange);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.05em;
}

.queue-section-head h2,
.queue-section-head p {
  margin: 0;
}

.queue-section-head h2 {
  color: var(--queue-green);
  font-size: 27px;
  letter-spacing: -0.025em;
  line-height: 1.05;
}

.queue-section-head p {
  margin-top: 5px;
  color: #737d78;
  font-size: 12px;
}

.queue-filter {
  color: #737d78;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.queue-filter select {
  display: block;
  min-width: 190px;
  min-height: 44px;
  margin-top: 5px;
  padding: 0 38px 0 13px;
  border: 1px solid var(--queue-line);
  border-radius: 8px;
  outline: 0;
  background: var(--queue-cream);
  font-size: 13px;
  text-transform: none;
}

.queue-filter select:focus {
  border-color: var(--queue-orange);
  box-shadow: 0 0 0 3px rgba(185, 88, 45, 0.13);
}

.queue-booking-card,
.queue-calendar-card {
  overflow: hidden;
  border: 1px solid var(--queue-line);
  border-radius: 14px;
  background: var(--queue-cream);
  box-shadow: 0 10px 30px rgba(46, 55, 49, 0.05);
}

.queue-table-head,
.queue-booking-row {
  display: grid;
  grid-template-columns: 160px 72px minmax(165px, 1.15fr) minmax(145px, 0.9fr) 105px minmax(220px, auto);
  align-items: center;
  gap: 15px;
}

.queue-table-head {
  min-height: 42px;
  padding: 0 20px;
  border-bottom: 1px solid var(--queue-line);
  color: #7d847f;
  background: #e9e3d8;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.queue-booking-row {
  min-height: 88px;
  padding: 15px 20px;
  border-bottom: 1px solid #ded8cc;
  transition: background 140ms ease;
}

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

.queue-booking-row:hover {
  background: #fffdf8;
}

.queue-booking-row.is-cancelled {
  opacity: 0.68;
}

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

.queue-booking-row strong,
.queue-booking-row small,
.queue-booking-row a,
.queue-booking-row div > span:not(.queue-status) {
  display: block;
}

.queue-booking-row strong,
.queue-booking-row div > span:not(.queue-status) {
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.queue-booking-row small,
.queue-booking-row a {
  margin-top: 3px;
  overflow: hidden;
  color: #78817c;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.queue-booking-time {
  color: var(--queue-green);
  font-size: 16px !important;
}

.queue-status {
  display: inline-flex;
  width: max-content;
  min-height: 26px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  color: #7b5310;
  background: #f4dfad;
  font-size: 9px;
  font-weight: 850;
}

.queue-status.bekraftad {
  color: #245a48;
  background: #dcebe3;
}

.queue-status.klar {
  color: #4f5b56;
  background: #e0e3df;
}

.queue-status.avbokad {
  color: #8f3934;
  background: #f1d9d5;
}

.queue-row-actions {
  display: flex;
  justify-content: flex-end;
  gap: 7px;
}

.queue-row-actions button {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0 11px;
  border: 1px solid var(--queue-line);
  border-radius: 7px;
  background: #fffdf8;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}

.queue-row-actions button:hover {
  border-color: var(--queue-green);
}

.queue-row-actions .queue-confirm-button.is-active {
  border-color: var(--queue-green);
  color: var(--white);
  background: var(--queue-green);
}

.queue-row-actions .queue-confirm-button span {
  color: #75a88f;
}

.queue-row-actions .queue-cancel-button {
  color: #96443d;
}

.queue-row-actions .queue-cancel-button.is-active {
  border-color: #b76962;
  color: var(--white);
  background: #994b44;
}

.queue-empty-state {
  display: grid;
  min-height: 180px;
  place-content: center;
  gap: 5px;
  padding: 30px;
  color: #747d78;
  text-align: center;
}

.queue-empty-state strong {
  color: var(--queue-green);
  font-size: 16px;
}

.queue-empty-state span {
  font-size: 12px;
}

.queue-availability-key {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: #6d7772;
  font-size: 10px;
  font-weight: 750;
}

.queue-availability-key span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.queue-availability-key i {
  width: 12px;
  height: 12px;
  border: 1px solid var(--queue-line);
  border-radius: 3px;
}

.queue-availability-key .is-open {
  border-color: var(--queue-green);
  background: #fdfbf5;
}

.queue-availability-key .is-closed {
  background: #d9d7d0;
}

.queue-availability-key .is-booked {
  border-color: var(--queue-green);
  background: var(--queue-green);
}

.queue-calendar-card {
  padding: 20px;
}

.queue-week-navigation {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  margin-bottom: 18px;
}

.queue-week-navigation > div {
  text-align: center;
}

.queue-week-navigation small,
.queue-week-navigation strong {
  display: block;
}

.queue-week-navigation small {
  margin-bottom: 2px;
  color: #8a8f8b;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.queue-week-navigation strong {
  color: var(--queue-green);
  font-size: 14px;
}

.queue-week-navigation button {
  display: inline-flex;
  width: max-content;
  min-height: 42px;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid var(--queue-line);
  border-radius: 8px;
  color: var(--queue-green);
  background: #fffdf8;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}

.queue-week-navigation button:last-child {
  justify-self: end;
}

.queue-week-navigation button:hover:not(:disabled) {
  border-color: var(--queue-green);
  background: #edf2ed;
}

.queue-week-navigation button:disabled {
  cursor: not-allowed;
  opacity: 0.35;
}

.queue-desktop-calendar {
  overflow-x: auto;
  padding-bottom: 2px;
}

.queue-slot-grid {
  min-width: 920px;
  border-color: var(--queue-line);
  background: var(--queue-line);
}

.queue-slot-grid .slot-corner,
.queue-slot-grid .slot-time-label {
  color: #77807b;
  background: #e9e3d8;
}

.queue-slot-grid .slot-cell {
  min-height: 65px;
  padding: 6px;
  background: #fdfbf5;
}

.queue-slot-grid .slot-day-header {
  color: var(--queue-green);
  background: #fdfbf5;
}

.queue-slot-grid .slot-day-header.is-past {
  color: #a3a49e;
  background: #eeebe4;
}

.queue-slot-toggle {
  width: 100%;
  min-height: 45px;
  padding: 4px;
  border: 1px solid var(--queue-line);
  border-radius: 7px;
  font-size: 9px;
  font-weight: 850;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 120ms ease, background 120ms ease;
}

.queue-slot-toggle:hover:not(:disabled) {
  transform: translateY(-1px);
}

.queue-slot-toggle.is-open {
  border-color: var(--queue-green-soft);
  color: var(--queue-green);
  background: #f9fcf8;
  box-shadow: inset 0 -3px 0 #7fa58f;
}

.queue-slot-toggle.is-closed {
  color: #898f8b;
  background: #e1e0da;
}

.queue-slot-toggle.is-booked {
  border-color: var(--queue-green);
  color: var(--white);
  background: var(--queue-green);
  cursor: not-allowed;
}

.queue-slot-toggle.is-past {
  color: #aaa9a2;
  background: #eeece6;
  cursor: not-allowed;
}

.queue-slot-toggle small {
  display: block;
  margin-top: 2px;
  color: inherit;
  font-size: 8px;
  opacity: 0.8;
}

.queue-mobile-calendar {
  display: none;
}

.queue-save-message {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  margin: 0;
  padding: 10px 15px;
  border-radius: 999px;
  color: var(--white);
  background: var(--queue-green);
  box-shadow: 0 10px 28px rgba(32, 59, 50, 0.25);
  font-size: 11px;
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 150ms ease, transform 150ms ease;
}

.queue-save-message.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Tablet */
@media (max-width: 1050px) {
  .hero-layout {
    grid-template-columns: 1fr 420px;
    gap: 45px;
  }

  .hero-wordmark {
    width: 330px;
  }

  .main-nav {
    gap: 20px;
  }

  .booking-content-grid,
  .form-page-grid {
    grid-template-columns: minmax(0, 1fr) 250px;
  }

  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .upcoming-row {
    grid-template-columns: 100px 1fr 120px 90px;
  }

  .upcoming-row > span:nth-of-type(1) {
    display: none;
  }

  .admin-booking-row {
    grid-template-columns: 105px 1fr 100px;
  }

  .admin-booking-row > span:nth-of-type(1) {
    display: none;
  }

  .booking-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}

@media (max-width: 900px) {
  .menu-button {
    display: flex;
  }

  .main-nav {
    position: fixed;
    inset: 86px 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 20px 24px 28px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    box-shadow: 0 18px 35px rgba(23, 35, 54, 0.14);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav > a:not(.button) {
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
  }

  .main-nav .button {
    margin-top: 10px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 58px;
    padding-block: 65px 88px;
  }

  .hero-copy {
    max-width: 720px;
  }

  .hero-demo {
    width: min(560px, 100%);
    margin: 0 auto;
  }

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

  .service-item,
  .service-item:nth-child(odd),
  .service-item:nth-last-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

  .how-layout,
  .about-simple-layout {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .about-mark {
    min-height: 330px;
  }

  .contact-cards {
    grid-template-columns: 1fr;
  }

  .contact-cards article {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .contact-cards article:last-child {
    border-bottom: 0;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .footer-main > img {
    grid-column: 1 / -1;
  }

  .login-view {
    grid-template-columns: 0.72fr 1.28fr;
  }

  .login-brand img {
    width: 82%;
  }

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

  .admin-sidebar {
    position: sticky;
    top: 76px;
    z-index: 20;
    display: block;
    height: auto;
    padding: 8px 16px;
    overflow-x: auto;
  }

  .admin-sidebar nav {
    display: flex;
    min-width: max-content;
    gap: 5px;
  }

  .admin-sidebar nav button {
    display: flex;
    min-height: 43px;
  }

  .admin-sidebar nav button.active {
    box-shadow: inset 0 -3px 0 var(--orange);
  }

  .admin-help {
    display: none;
  }

  .admin-main {
    padding: 30px 24px;
  }
}

/* Phone */
@media (max-width: 760px) {
  body {
    font-size: 16px;
  }

  .page-width {
    width: min(100% - 30px, 1180px);
  }

  .header-inner,
  .simple-header-inner {
    min-height: 72px;
  }

  .main-nav {
    inset-block-start: 72px;
  }

  .site-brand img {
    width: 31px;
  }

  .site-brand strong {
    font-size: 20px;
  }

  .site-brand small {
    font-size: 8px;
  }

  .hero-layout {
    min-height: auto;
    padding-block: 45px 75px;
  }

  .hero-wordmark {
    width: min(310px, 88%);
  }

  .hero h1 {
    font-size: 45px;
  }

  .hero-text {
    font-size: 18px;
  }

  .button-row .button {
    flex: 1 1 190px;
  }

  .demo-card {
    padding: 20px;
  }

  .demo-times {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-note {
    margin-left: 0;
  }

  .section {
    padding-block: 78px;
  }

  .section-heading {
    display: block;
    margin-bottom: 34px;
  }

  .section-heading > p {
    margin-top: 17px;
  }

  .section-heading h2,
  .how h2,
  .about-simple h2 {
    font-size: 39px;
  }

  .service-item {
    min-height: 142px;
    grid-template-columns: 45px 1fr 36px;
    gap: 13px;
    padding: 23px 18px;
  }

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

  .service-item h3 {
    font-size: 19px;
  }

  .service-item p {
    font-size: 14px;
  }

  .service-item > a {
    width: 36px;
    height: 36px;
  }

  .steps-list li {
    grid-template-columns: 48px 1fr;
    gap: 15px;
  }

  .steps-list > li > span {
    width: 46px;
    height: 46px;
  }

  .about-mark {
    min-height: 280px;
  }

  .about-mark img {
    width: 128px;
  }

  .contact-heading .button {
    width: 100%;
    margin-top: 25px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-main > img {
    grid-column: auto;
    width: 230px;
  }

  .footer-main div:last-child {
    text-align: left;
  }

  .footer-bottom {
    display: grid;
  }

  .home-page {
    padding-bottom: 76px;
  }

  .mobile-book-button {
    position: fixed;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    left: 12px;
    z-index: 60;
    display: flex;
    min-height: 56px;
    align-items: center;
    justify-content: center;
    gap: 18px;
    border-radius: 10px;
    color: var(--white);
    background: var(--navy);
    box-shadow: 0 12px 30px rgba(23, 35, 54, 0.3);
    font-size: 17px;
    font-weight: 800;
  }

  .simple-header-links > a:first-child {
    display: none;
  }

  .header-phone {
    padding: 9px 11px;
    font-size: 12px;
  }

  .booking-main {
    padding: 42px 0 110px;
  }

  .booking-title-row {
    display: block;
    margin-bottom: 32px;
  }

  .booking-title-row h1 {
    font-size: 46px;
  }

  .booking-steps {
    justify-content: space-between;
    gap: 5px;
    margin-top: 28px;
  }

  .booking-steps li {
    gap: 6px;
    font-size: 11px;
  }

  .booking-steps li b {
    display: none;
  }

  .booking-steps li::after {
    font-weight: 700;
  }

  .booking-steps li:nth-child(1)::after { content: "Tid"; }
  .booking-steps li:nth-child(2)::after { content: "Uppgifter"; }
  .booking-steps li:nth-child(3)::after { content: "Klart"; }

  .booking-content-grid,
  .form-page-grid {
    grid-template-columns: 1fr;
  }

  .slot-panel,
  .customer-form-card {
    padding: 20px 16px;
  }

  .panel-heading {
    display: block;
  }

  .panel-heading > p {
    margin-top: 7px;
  }

  .week-navigation {
    grid-template-columns: 44px 1fr 44px;
    gap: 8px;
  }

  .week-navigation button {
    width: 44px;
    min-height: 44px;
    justify-content: center;
    padding: 0;
    font-size: 17px;
  }

  .week-navigation .week-nav-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .desktop-slots {
    display: none;
  }

  .mobile-slots {
    display: block;
  }

  .mobile-day-list {
    display: flex;
    width: 100%;
    max-width: 100%;
    gap: 8px;
    margin-inline: -3px;
    padding: 3px 3px 10px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .mobile-day-list::-webkit-scrollbar {
    display: none;
  }

  .mobile-day-button {
    display: grid;
    min-width: 72px;
    min-height: 72px;
    place-content: center;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--white);
    text-align: center;
    cursor: pointer;
  }

  .mobile-day-button small,
  .mobile-day-button strong {
    display: block;
  }

  .mobile-day-button small {
    color: var(--muted);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .mobile-day-button strong {
    margin-top: 1px;
    font-size: 19px;
  }

  .mobile-day-button.active {
    border-color: var(--navy);
    color: var(--white);
    background: var(--navy);
    box-shadow: inset 0 -3px 0 var(--orange);
  }

  .mobile-day-button.active small {
    color: #c2cad3;
  }

  .mobile-day-title {
    margin: 17px 0 11px;
    font-size: 15px;
    font-weight: 750;
  }

  .mobile-time-list,
  .admin-mobile-times {
    display: grid;
    min-width: 0;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
  }

  .mobile-time-list .slot-button {
    min-height: 52px;
    font-size: 16px;
  }

  .no-times {
    grid-column: 1 / -1;
    padding: 25px 15px;
    border-radius: 9px;
    color: var(--muted);
    background: var(--sand);
    font-size: 14px;
    text-align: center;
  }

  .selection-card {
    display: none;
  }

  .mobile-step-action {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 45;
    display: flex;
    min-height: 72px;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 9px 15px max(9px, env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 -8px 25px rgba(23, 35, 54, 0.08);
  }

  .mobile-step-action span {
    overflow: hidden;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-step-action .button {
    min-width: 126px;
    min-height: 50px;
    padding-inline: 18px;
  }

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

  .full-field {
    grid-column: auto;
  }

  .selected-time-card {
    position: static;
    grid-row: 1;
  }

  .form-actions .button {
    flex: 1;
    padding-inline: 12px;
  }

  .confirmation-card {
    padding: 38px 18px;
  }

  .confirmation-info {
    grid-template-columns: 1fr;
  }

  .confirmation-info > div,
  .confirmation-info > div:nth-child(even),
  .confirmation-info > div:nth-last-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .confirmation-info > div:last-child {
    border-bottom: 0;
  }

  .simple-footer > div {
    display: grid;
  }

  .login-view {
    display: block;
    min-height: 100vh;
    padding: 30px 0;
  }

  .login-brand {
    width: 210px;
    height: auto;
    margin: 0 auto 25px;
    background: none;
  }

  .login-brand::before,
  .login-brand::after {
    display: none;
  }

  .login-brand img {
    width: 100%;
    padding: 8px;
  }

  .login-card {
    width: min(100% - 30px, 430px);
    margin-inline: auto;
    padding: 28px 20px;
  }

  .login-card h1 {
    font-size: 40px;
  }

  .admin-header {
    min-height: 68px;
    padding: 0 15px;
  }

  .admin-header-right > span {
    display: none;
  }

  .dashboard-layout {
    min-height: calc(100vh - 68px);
  }

  .admin-sidebar {
    top: 68px;
  }

  .admin-sidebar nav button {
    padding-inline: 11px;
    font-size: 11px;
  }

  .admin-main {
    padding: 25px 15px 50px;
  }

  .admin-title-row {
    align-items: flex-start;
  }

  .admin-title-row h1 {
    font-size: 35px;
  }

  .stat-grid {
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }

  .stat-card {
    min-height: 125px;
    padding: 17px;
  }

  .stat-card strong {
    font-size: 29px;
  }

  .upcoming-row,
  .admin-booking-row {
    grid-template-columns: 92px 1fr;
    gap: 9px 14px;
    padding: 15px;
  }

  .upcoming-row > span:nth-of-type(2),
  .upcoming-row > .status-pill,
  .admin-booking-row > .status-pill {
    grid-column: 2;
  }

  .booking-actions {
    grid-column: 1 / -1;
  }

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

  .availability-title {
    display: block;
  }

  .availability-card {
    padding: 15px;
  }

  .admin-mobile-times .slot-toggle {
    min-height: 58px;
    font-size: 13px;
  }

}

@media (max-width: 420px) {
  .menu-label {
    display: none;
  }

  .hero h1 {
    font-size: 41px;
  }

  .simple-points {
    gap: 12px;
  }

  .simple-points li {
    font-size: 12px;
  }

  .demo-head {
    display: block;
  }

  .demo-week {
    display: inline-block;
    margin-top: 10px;
  }

  .booking-steps li::after {
    font-size: 10px;
  }

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

@media (max-width: 1050px) {
  .invoice-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .invoice-row {
    grid-template-columns: 115px minmax(180px, 1fr) 120px;
  }

  .invoice-row > div:nth-child(4) {
    grid-column: 3;
    grid-row: 1;
  }

  .invoice-row-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .admin-booking-row > .booking-status-stack {
    grid-column: 2;
  }

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

  .booking-actions .compact-action,
  .booking-more summary {
    width: 100%;
    min-height: 46px;
    justify-content: center;
    font-size: 12px;
  }

  .booking-more > div {
    position: static;
    grid-template-columns: 1fr 1fr;
    margin-top: 6px;
    box-shadow: none;
  }

  .booking-more[open] {
    grid-column: 1 / -1;
  }

  .invoice-summary {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .invoice-summary article {
    min-height: 74px;
    padding: 14px;
  }

  .invoice-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 13px;
    padding: 17px 15px;
  }

  .invoice-row > div:nth-child(2) {
    grid-column: 1 / -1;
  }

  .invoice-row > div:nth-child(3) {
    grid-column: 1;
  }

  .invoice-row > div:nth-child(4) {
    grid-column: 2;
    grid-row: 3;
    justify-self: end;
  }

  .invoice-row-actions {
    display: grid;
    width: 100%;
    grid-column: 1 / -1;
    grid-template-columns: 1fr 1fr;
  }

  .invoice-row-actions > * {
    min-height: 45px !important;
    justify-content: center;
  }

  .invoice-row-actions > *:last-child {
    grid-column: 1 / -1;
  }

  .settings-title {
    display: flex;
  }

  .settings-save-status {
    flex: 0 0 auto;
  }

  .settings-group {
    padding: 20px 16px;
  }

  .settings-grid,
  .invoice-form-grid,
  .delivery-status-list {
    grid-template-columns: 1fr;
  }

  .settings-wide,
  .invoice-wide {
    grid-column: auto;
  }

  .invoice-modal {
    display: block;
    padding: 0;
  }

  .invoice-modal[hidden] {
    display: none;
  }

  .invoice-dialog {
    width: 100%;
    height: 100%;
    max-height: none;
    border-radius: 0;
  }

  .invoice-dialog-head {
    min-height: 70px;
    padding: 12px 15px;
  }

  .invoice-form-step {
    padding: 20px 15px 100px;
  }

  .invoice-dialog-actions {
    position: sticky;
    bottom: 0;
    z-index: 2;
    margin: 22px -15px -100px;
    padding: 12px 15px max(12px, env(safe-area-inset-bottom));
    background: rgba(251, 248, 242, 0.98);
  }

  .invoice-dialog-actions .button {
    flex: 1;
    min-height: 50px;
    padding-inline: 12px;
  }

  .invoice-preview dl {
    grid-template-columns: 1fr;
  }

  .invoice-preview dl > div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .invoice-preview dl > div:nth-last-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .invoice-preview dl > div:last-child {
    border-bottom: 0;
  }

  .invoice-preview-head,
  .invoice-preview-line {
    padding: 20px 16px;
  }

  .invoice-preview-totals {
    justify-content: stretch;
    padding: 20px 16px;
  }

  .invoice-preview-totals span,
  .invoice-preview-totals > strong {
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
