/* ---- Typed kicker, HQ office, About mini, homepage + service polish ---- */

.hm-typed {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  min-height: 2.1em;
  font-family: var(--heading-font);
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--hm-deep);
}

.hm-typed-kicker {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px 4px;
  border-radius: 999px;
  background: var(--hm-forest);
  color: #fff;
  font-size: 0.58em;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.2;
}

.hm-typed .typed {
  color: var(--hm-forest);
  background-image: linear-gradient(180deg, transparent 64%, rgba(155, 227, 109, 0.5) 64%);
  background-repeat: no-repeat;
}

.hm-typed .typed-cursor {
  font-weight: 300;
  font-size: 0.92em;
  color: var(--hm-forest);
  margin-left: 1px;
}

.hm-hero-copy {
  width: 100%;
}

.hm-hero-media {
  min-width: 0;
  width: 100%;
  max-width: 100%;
  justify-self: end;
}

.hm-hero-media .hm-shot,
.hm-export-grid .hm-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  height: auto;
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  box-shadow: none;
}

.hm-hero-media .hm-shot .swiper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100% !important;
}

.hm-hero-media .hm-shot .swiper-wrapper,
.hm-hero-media .hm-shot .swiper-slide {
  height: 100%;
  background: #fff;
}

.hm-hero-media .hm-shot img,
.hm-export-grid .hm-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  background: #fff;
}

.hm-office-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--hm-lime);
  color: var(--hm-deep);
  font-family: var(--heading-font);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.hm-office-btn:hover {
  background: #b6ef8f;
  color: var(--hm-deep);
  transform: translateY(-1px);
}

.hm-office-btn--foot {
  margin-top: 14px;
  background: var(--hm-lime);
}

.center-nav .has-drop-mini {
  position: relative;
}

.center-nav .has-drop-mini .nav-mini {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 188px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--hm-line, #d7e5dc);
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(10, 58, 28, 0.14);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0s linear 0.18s;
  z-index: 60;
}

.center-nav .has-drop-mini:hover .nav-mini,
.center-nav .has-drop-mini:focus-within .nav-mini,
.center-nav .has-drop-mini.open .nav-mini {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition-delay: 0s;
}

.center-nav .nav-mini a {
  display: block;
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--hm-deep, #0a3a1c);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.center-nav .nav-mini a::after {
  display: none;
}

.center-nav .nav-mini a:hover {
  background: var(--hm-mist, #eef6f1);
  color: var(--hm-forest, #0b4d28);
}

/* Mobile drawer dropdowns — see side-panel block at end of file */

/* Service pages — homepage-sized flyer, quieter chrome */
.svc-top {
  padding: 128px 0 28px;
  background: linear-gradient(180deg, #f2f9f5 0%, #fff 78%);
}

.svc-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.svc-hero-copy .hm-pill {
  margin-bottom: 16px;
}

.svc-hero-copy h1 {
  margin: 0 0 14px;
  font-size: clamp(1.85rem, 3.6vw, 2.7rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--hm-deep);
  max-width: 16ch;
}

.svc-hero-copy .pg-lead {
  max-width: 48ch;
  margin: 0 0 24px;
  color: var(--hm-muted);
  font-size: 1.02rem;
  line-height: 1.65;
}

.svc-frame {
  max-width: 100%;
  box-shadow: 0 24px 50px rgba(10, 58, 28, 0.16);
}

.svc-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  background: linear-gradient(140deg, #0b4d28 0%, #06180e 100%);
}

.svc-body {
  padding: 28px 0 88px;
}

.svc-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 300px);
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}

.svc-main .service-header h2 {
  margin: 0 0 12px;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: var(--hm-deep);
}

.svc-main .service-intro {
  margin: 0 0 28px;
  max-width: 62ch;
  color: var(--hm-muted);
  line-height: 1.7;
}

.svc-main h4 {
  margin: 8px 0 16px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hm-forest);
}

.svc-main .plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.svc-main .plan-card {
  padding: 22px 20px 20px;
  border: 1px solid var(--hm-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.svc-main .plan-card:hover {
  border-color: rgba(11, 77, 40, 0.28);
  box-shadow: 0 14px 32px rgba(10, 58, 28, 0.08);
}

.svc-main .plan-card.featured {
  border-color: rgba(155, 227, 109, 0.7);
  background: linear-gradient(180deg, #f7fff2 0%, #fff 48%);
}

.svc-main .plan-card .plan-visual {
  width: 100%;
  aspect-ratio: 1;
  max-height: none;
  margin: 0 0 14px;
  object-fit: contain;
  border-radius: 14px;
  background: #06180e;
}

.svc-main .plan-tag {
  display: inline-block;
  margin-bottom: 10px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--hm-mist);
  color: var(--hm-forest);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.svc-main .plan-card h3 {
  margin: 0 0 4px;
  font-size: 1.08rem;
  color: var(--hm-deep);
}

.svc-main .plan-time {
  margin: 0 0 10px;
  color: var(--hm-forest);
  font-size: 0.86rem;
  font-weight: 700;
}

.svc-main .plan-copy {
  margin: 0 0 12px;
  color: var(--hm-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.svc-main .plan-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.svc-main .plan-card li {
  position: relative;
  padding: 6px 0 6px 16px;
  color: var(--hm-ink, #1f3328);
  font-size: 0.88rem;
  line-height: 1.45;
}

.svc-main .plan-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--hm-lime);
}

.svc-main .plan-intro-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 28px;
}

.svc-main .plan-intro-points .point {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--hm-line);
  border-radius: 16px;
  background: #fff;
}

.svc-main .plan-intro-points .point i {
  color: var(--hm-forest);
  font-size: 18px;
}

.svc-main .rate-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 24px;
  padding: 18px 20px;
  border-radius: 18px;
  background: linear-gradient(140deg, #0b4d28 0%, #06180e 100%);
  color: #fff;
}

.svc-main .rate-banner strong {
  display: block;
  color: var(--hm-lime);
}

.svc-main .rate-banner span {
  color: rgba(238, 246, 241, 0.78);
  font-size: 0.88rem;
}

.svc-main .rate-banner a {
  border-radius: 999px;
  padding: 10px 18px;
  background: var(--hm-lime);
  color: var(--hm-deep);
  font-weight: 700;
}

.svc-main .why-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.svc-main .why-list li {
  position: relative;
  padding: 4px 0 4px 16px;
  font-size: 0.92rem;
}

.svc-main .why-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--hm-lime);
}

.svc-main .service-process {
  margin-top: 8px;
  padding: 22px;
  border: 1px solid var(--hm-line);
  border-radius: 18px;
  background: var(--hm-soft, #f6faf7);
}

.svc-main .process-steps {
  display: grid;
  gap: 16px;
}

.svc-main .process-step {
  display: flex;
  gap: 14px;
}

.svc-main .step-number {
  flex: 0 0 auto;
  font-family: var(--heading-font);
  font-weight: 800;
  color: var(--hm-forest);
}

.svc-side .service-sidebar {
  display: grid;
  gap: 14px;
  position: sticky;
  top: 96px;
}

.svc-side .service-menu,
.svc-side .service-info,
.svc-side .contact-card {
  padding: 18px;
  border: 1px solid var(--hm-line);
  border-radius: 18px;
  background: #fff;
}

.svc-side h4 {
  margin: 0 0 12px;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hm-forest);
}

.svc-side .menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  color: var(--hm-deep);
  font-size: 0.92rem;
  font-weight: 600;
}

.svc-side .menu-item i {
  color: var(--hm-forest);
  font-size: 15px;
}

.svc-side .menu-item:hover,
.svc-side .menu-item.active {
  background: var(--hm-mist);
  color: var(--hm-forest);
}

.svc-side .info-item {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--hm-line);
  font-size: 0.86rem;
}

.svc-side .info-item:last-child {
  border-bottom: 0;
}

.svc-side .info-label {
  color: var(--hm-muted);
}

.svc-side .info-value {
  font-weight: 700;
  text-align: right;
}

.svc-side .contact-card {
  background: linear-gradient(160deg, #0b4d28, #06180e);
  border: 0;
  color: #fff;
}

.svc-side .contact-card h4,
.svc-side .contact-card p,
.svc-side .contact-card a {
  color: #fff;
}

.svc-side .contact-card p {
  margin: 0 0 12px;
  color: rgba(238, 246, 241, 0.78);
  font-size: 0.9rem;
}

.svc-side .contact-item {
  display: flex;
  gap: 8px;
  margin-bottom: 6px;
  font-weight: 600;
}

.svc-side .contact-card .btn-primary {
  margin-top: 12px;
  width: 100%;
  background: var(--hm-lime);
  color: var(--hm-deep);
  border: 0;
}

.svc-main .plan-grid-2 {
  grid-template-columns: 1fr 1fr;
}

.ecom-perk {
  margin: 0 0 28px;
  padding: 22px 22px 20px;
  border-radius: 18px;
  background: linear-gradient(140deg, #0b4d28 0%, #06180e 100%);
  color: #fff;
}

.ecom-perk .hm-pill {
  background: rgba(155, 227, 109, 0.18);
  border-color: rgba(155, 227, 109, 0.35);
  color: var(--hm-lime);
  margin-bottom: 12px;
}

.ecom-perk h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: #fff;
}

.ecom-perk p {
  margin: 0;
  max-width: 58ch;
  color: rgba(238, 246, 241, 0.82);
  line-height: 1.65;
}

.ecom-cover {
  margin: 0 0 28px;
}

.side-panel .side-cta-wa i {
  color: #25d366;
}

.site-foot-bar a {
  color: var(--hm-lime, #9be36d);
  font-weight: 700;
}

@media (max-width: 1199px) {
  .svc-main .plan-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 991px) {
  .hm-hero-copy {
    width: 100%;
  }

  .hm-hero-grid {
    grid-template-columns: 1fr !important;
    gap: 24px;
  }

  .hm-hero-media,
  .hm-export-grid .hm-frame {
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
    justify-self: center;
  }

  .hm-hero-actions .btn,
  .pg-hero .hm-hero-actions .btn {
    width: auto;
  }

  .svc-hero-grid,
  .svc-layout {
    grid-template-columns: 1fr;
  }

  .svc-hero-media {
    max-width: 420px;
    margin: 0 auto;
  }

  .svc-hero-copy h1 {
    max-width: none;
  }

  .svc-top {
    padding-top: 108px;
  }

  .svc-side .service-sidebar {
    position: static;
  }

  .center-nav .has-drop-mini .nav-mini {
    display: none;
  }
}

@media (max-width: 640px) {
  .hm-typed {
    font-size: 1.08rem;
  }

  .hm-typed-kicker {
    font-size: 0.62em;
  }

  .hm-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hm-hero-actions .btn {
    width: 100%;
    text-align: center;
  }

  .hm-stats,
  .hm-grid-4,
  .hm-grid-3,
  .svc-main .plan-grid,
  .svc-main .plan-grid-2,
  .svc-main .plan-intro-points,
  .svc-main .why-list {
    grid-template-columns: 1fr;
  }

  .hm-office-btn {
    width: 100%;
  }
}

/* Mobile side drawer — slim, no logo */
.navmenu.side-panel {
  width: min(248px, 78vw);
  right: calc(-1 * min(248px, 78vw));
  top: 0 !important;
  bottom: 0;
  z-index: 999;
  padding: 0;
  overflow: hidden !important;
  display: flex;
  flex-direction: column;
  border-radius: 0;
  background: #062016;
  box-shadow: -12px 0 28px rgba(4, 22, 12, 0.4);
}

.mobile-nav-active .navmenu.side-panel {
  right: 0;
  overflow: hidden !important;
  top: 0 !important;
}

.side-panel .side-head {
  flex: 0 0 auto;
  padding: 10px 10px 0;
  text-align: right;
}

.side-panel .side-brand-logo,
.side-panel .side-tag {
  display: none !important;
}

.side-panel .side-scroll {
  flex: 1 1 auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 4px 10px 8px;
}

.side-panel .side-quick {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 10px;
}

.side-panel .side-pill {
  display: flex !important;
  align-items: center;
  justify-content: center !important;
  gap: 6px;
  min-height: 34px;
  padding: 6px 8px !important;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 600;
  text-decoration: none;
}

.side-panel .side-pill i {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  margin-left: 0 !important;
  padding: 0 !important;
  background: none !important;
  background-color: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  font-size: 14px !important;
  line-height: 1 !important;
  color: #9be36d;
  transform: none !important;
}

.side-panel .side-pill-wa i {
  color: #25d366;
}

.side-panel .side-group {
  margin: 0 0 8px;
  padding: 4px 0 2px;
  background: none;
  border: 0;
  border-radius: 0;
}

.side-panel .side-label {
  color: rgba(155, 227, 109, 0.85);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 6px 8px 4px;
}

.side-panel .side-links,
.side-panel .side-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  overflow: visible;
}

.side-panel .side-item {
  display: flex;
  align-items: center;
  gap: 2px;
}

.side-panel .side-item > a {
  flex: 1;
  min-width: 0;
}

.side-panel .side-links a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  color: rgba(255, 255, 255, 0.92);
  padding: 7px 8px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.side-panel .side-links a span {
  flex: 1;
}

.side-panel .side-links a i {
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  color: #9be36d;
  font-size: 14px !important;
  transform: none !important;
}

.side-panel .side-links a:hover,
.side-panel .side-links a.active {
  background: rgba(155, 227, 109, 0.12);
  color: #fff;
}

.side-panel .side-links a:hover i,
.side-panel .side-links a.active i {
  background: none !important;
  color: #9be36d;
  transform: none !important;
}

.side-panel .toggle-dropdown {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #9be36d;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.side-panel .toggle-dropdown i {
  font-size: 12px;
  line-height: 1;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  background: none !important;
  border-radius: 0 !important;
  color: inherit;
  transform: none !important;
  transition: transform 0.22s ease;
}

.side-panel .dropdown.is-open .toggle-dropdown {
  background: rgba(155, 227, 109, 0.18);
  color: #9be36d;
}

.side-panel .dropdown.is-open .toggle-dropdown i {
  transform: rotate(180deg) !important;
}

.side-panel .side-links .dropdown > ul {
  display: block !important;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin: 0 4px 0 10px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-left: 1px solid rgba(155, 227, 109, 0.28) !important;
  transition: max-height 0.28s ease, opacity 0.2s ease, margin 0.2s ease;
}

.side-panel .side-links .dropdown.is-open > ul,
.side-panel .side-links .dropdown > ul.dropdown-active {
  max-height: 640px;
  opacity: 1;
  margin: 2px 4px 6px 10px !important;
}

.side-panel .side-links .dropdown > ul a {
  padding: 6px 8px 6px 10px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
}

.side-panel .side-links .dropdown > ul a i {
  width: auto !important;
  height: auto !important;
  font-size: 12px !important;
  border-radius: 0 !important;
}

.side-panel .side-footer {
  flex: 0 0 auto;
  margin-top: 0;
  padding: 10px 10px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: transparent;
}

.side-panel .side-book {
  display: flex !important;
  align-items: center;
  justify-content: center !important;
  min-height: 38px;
  margin-bottom: 10px;
  padding: 8px 12px !important;
  border-radius: 8px;
  background: #9be36d;
  color: #0b4d28 !important;
  font-weight: 700;
  font-size: 13px !important;
  text-decoration: none;
}

.side-panel .side-book:hover {
  background: #b6f08c;
  color: #062016 !important;
}

.side-panel .social-links {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin: 0;
}

.side-panel .social-links a {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}

.side-panel .social-links a i {
  background: none !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  font-size: 13px !important;
  transform: none !important;
  border-radius: 0 !important;
  color: #fff;
}

.side-panel .side-web {
  display: none;
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    z-index: 1001;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hm-typed .typed-cursor {
    animation: none;
  }

  .side-panel .side-links .dropdown > ul {
    transition: none;
  }
}

/* Header login sits in the desktop nav; hamburger stays original */
.center-nav .header-login {
  background: var(--hm-forest, #0b4d28);
  color: #fff !important;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 800;
}

.center-nav .header-login:hover,
.center-nav .header-login.is-on {
  background: var(--hm-deep, #0a3a1c);
  color: #fff !important;
}

.center-nav ul a.header-login::after {
  display: none;
}

.center-nav .nav-new,
.side-panel .nav-new {
  background: #9be36d;
  color: #0a3a1c;
}

/* Book page — keep service picker collapsible on phones */
.book-aside {
  padding: 0;
  overflow: hidden;
}

.book-aside-toggle {
  display: none;
  width: 100%;
  border: 0;
  background: #0b4d28;
  color: #fff;
  text-align: left;
  padding: 14px 16px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
}

.book-aside-toggle span {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.book-aside-toggle small {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.55;
  font-weight: 800;
}

.book-aside-toggle strong {
  font-size: 16px;
}

.book-aside-toggle i {
  font-size: 18px;
  transition: transform 0.2s ease;
}

.book-aside.is-open .book-aside-toggle i {
  transform: rotate(180deg);
}

.book-aside-body {
  padding: 16px 14px 14px;
}

.book-aside-label {
  color: rgba(255, 255, 255, 0.5);
}

.book-aside .service-pick i {
  color: #9be36d;
}

.book-aside .service-pick.is-on {
  background: #fff;
  color: #0a3a1c;
}

.book-aside .service-pick.is-on i {
  background: #eaf5ee;
  color: #0b4d28;
}

.book-signup {
  margin-top: 22px;
  padding: 16px;
  border: 1px solid #e4e4e4;
  border-radius: 16px;
  background: #fafafa;
}

.book-check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  cursor: pointer;
  margin: 0;
}

.book-check input {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  accent-color: #0b4d28;
}

.book-check strong {
  display: block;
  color: #111;
}

.book-check span {
  color: #555;
  font-size: 14px;
  line-height: 1.45;
}

.book-signup-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}

.book-signed {
  margin: 22px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f3f3f3;
  color: #333;
}

.auth-screen {
  padding: 132px 16px 72px;
  min-height: 70vh;
  display: flex;
  justify-content: center;
}

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

.account-wrap {
  width: min(920px, 100%);
}

.auth-card {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 24px;
  padding: 32px 28px 28px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.06);
}

.auth-logo {
  display: block;
  height: 52px;
  width: auto;
  max-width: 200px;
  margin: 0 auto 18px;
  object-fit: contain;
}

.auth-kicker {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #888;
  text-align: center;
}

.auth-card h1,
.account-head h1 {
  margin: 0 0 8px;
  text-align: center;
  letter-spacing: -0.04em;
}

.auth-lead {
  text-align: center;
  color: #666;
  margin: 0 0 22px;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 18px;
  padding: 4px;
  background: #f3f3f3;
  border-radius: 14px;
}

.auth-tabs a {
  text-align: center;
  padding: 10px 12px;
  border-radius: 10px;
  color: #333;
  font-weight: 700;
  text-decoration: none;
}

.auth-tabs a.is-on {
  background: #111;
  color: #fff;
}

.auth-role {
  display: grid;
  gap: 6px;
  margin: 0 0 18px;
}

.auth-role > span {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #444;
}

.auth-role-select {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 14px center;
  background-size: 16px;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 12px 42px 12px 14px;
  font: inherit;
  font-weight: 600;
  color: #111;
  cursor: pointer;
}

.auth-role-select:focus {
  outline: none;
  border-color: #0b4d28;
  box-shadow: 0 0 0 3px rgba(11, 77, 40, 0.12);
}

.auth-role-select option[value=""] {
  color: #777;
}

.auth-alert {
  background: #fff1f0;
  border: 1px solid #f0c2bd;
  color: #8a2e26;
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 14px;
  font-weight: 600;
}

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

.auth-form label {
  display: grid;
  gap: 6px;
  margin: 0;
}

.auth-form label span {
  font-size: 13px;
  font-weight: 700;
  color: #222;
}

.auth-form label em {
  font-style: normal;
  font-weight: 500;
  color: #888;
}

.auth-form select,
.auth-form input {
  border: 1px solid #dcdcdc;
  border-radius: 12px;
  padding: 12px 14px;
  min-height: 48px;
  background: #fbfbfb;
}

.auth-form select:focus,
.auth-form input:focus {
  outline: 0;
  border-color: #111;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.06);
}

.auth-checks {
  margin: 4px 0 0;
  padding: 14px;
  border: 1px solid #e6e6e6;
  border-radius: 14px;
  display: grid;
  gap: 10px;
}

.auth-checks legend {
  font-size: 13px;
  font-weight: 700;
  padding: 0 6px;
}

.auth-checks > p {
  margin: 0;
  font-size: 13px;
  color: #666;
}

.auth-check {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: flex-start;
}

.auth-check input {
  min-height: 0;
  width: 18px;
  height: 18px;
  margin-top: 3px;
}

.auth-check small {
  display: block;
  margin-top: 2px;
  font-weight: 500;
  color: #777;
}

.auth-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.auth-submit {
  background: #111;
  color: #fff;
  border: 0;
  border-radius: 14px;
  min-height: 50px;
  font-weight: 800;
}

.auth-submit:hover {
  background: #000;
  color: #fff;
}

.auth-forgot {
  text-align: right;
  margin: -4px 0 4px;
  font-size: 13px;
}
.auth-forgot a {
  color: #111;
  font-weight: 700;
}
.auth-alert.is-ok {
  background: #eef8f1;
  color: #0b4d28;
  border-color: #cfe6d6;
}

.auth-switch,
.auth-staff {
  text-align: center;
  margin: 16px 0 0;
  color: #666;
}

.auth-staff {
  font-size: 13px;
}

.auth-switch a,
.auth-staff a {
  color: #111;
  font-weight: 700;
}

.account-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-end;
  margin-bottom: 22px;
}

.account-head h1,
.account-head .auth-kicker,
.account-head p {
  text-align: left;
}

.account-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.account-ghost {
  background: #fff;
  color: #111;
  border: 1px solid #ddd;
  border-radius: 14px;
  min-height: 50px;
  padding: 12px 18px;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.account-card {
  background: #fff;
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.05);
}

.account-empty {
  color: #666;
  margin: 0;
}

.account-table-wrap {
  overflow-x: auto;
}

.account-table {
  width: 100%;
  border-collapse: collapse;
}

.account-table th,
.account-table td {
  text-align: left;
  padding: 12px 8px;
  border-bottom: 1px solid #eee;
  vertical-align: top;
}

.account-table small {
  display: block;
  color: #888;
  font-weight: 500;
}

.account-status {
  display: inline-flex;
  padding: 4px 8px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.site-foot-logo {
  display: inline-flex;
  background: #fff;
  border-radius: 14px;
  padding: 8px 12px;
}

.site-foot-logo img {
  height: 42px;
  width: auto;
}

@media (max-width: 991px) {
  .book-aside-toggle {
    display: flex;
  }

  .book-aside-body {
    display: none;
    padding-top: 0;
  }

  .book-aside.is-open .book-aside-body {
    display: block;
  }

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

  .book-signup-fields,
  .auth-grid,
  .account-head,
  .account-actions {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .auth-submit,
  .account-ghost,
  .book-submit {
    width: 100%;
  }
}
