/*
 * Home page demo window slides (templates/partials/home/_demo_slides.html).
 *
 * Converted mechanically from the prototype's inline styles: one class per
 * distinct style. Unlayered, like site.css. The demo frame, tabs, steps and
 * controls around it are hand-written in site.css.
 */

.demo-slide {
  flex: 0 0 100%;
  min-width: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  padding: 18px clamp(14px,4vw,24px) 22px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
}

.demo-search-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  border: 1px solid #3a3a3a;
  border-radius: 24px;
  background: #191919;
  font-size: 14px;
  color: #f3f2ee;
}

.demo-search-icon {
  color: #d3d0ca;
  font-size: 15px;
}

.demo-search-query {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.demo-muted {
  color: #d3d0ca;
}

.demo-search-tabs {
  display: flex;
  gap: clamp(10px,3vw,20px);
  padding: 0 6px;
  border-bottom: 1px solid #303030;
  font-size: 12px;
  color: #d3d0ca;
  white-space: nowrap;
}

.demo-search-tab-active {
  flex: none;
  color: #f3f2ee;
  padding-bottom: 8px;
  border-bottom: 2px solid #f58245;
}

.demo-search-tab {
  flex: none;
}

.demo-search-location {
  margin-left: auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.demo-ai-overview {
  border: 1px solid #303030;
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #151515;
}

.demo-ai-label {
  font-size: 11px;
  font-weight: 600;
  color: #d3d0ca;
}

.demo-ai-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: #f3f2ee;
}

.demo-ai-source {
  align-self: flex-start;
  font-size: 11px;
  color: #f3f2ee;
  border: 1px solid #3a3a3a;
  border-radius: 20px;
  padding: 3px 10px;
  display: flex;
  gap: 6px;
  align-items: center;
}

.demo-ai-source-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #f58245;
}

.demo-result-featured {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 14px;
  margin: 0 -14px;
  border-radius: 10px;
  background: #1b1612;
}

.demo-result-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.demo-result-avatar {
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: 50%;
  background: #f58245;
  color: #1e130c;
  display: grid;
  place-items: center;
  font-family: Manrope, sans-serif;
  font-size: 11px;
  font-weight: 700;
}

.demo-result-site {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.demo-result-name {
  font-size: 13px;
  color: #f3f2ee;
}

.demo-small-muted {
  font-size: 11px;
  color: #d3d0ca;
}

.demo-result-title-featured {
  font-family: Manrope, sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.3;
  color: #f7a676;
}

.demo-result-snippet {
  font-size: 13px;
  line-height: 1.5;
  color: #d3d0ca;
}

.demo-result-dim {
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: .55;
}

.demo-result-avatar-dim {
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: 50%;
  background: #303030;
  color: #f3f2ee;
  display: grid;
  place-items: center;
  font-family: Manrope, sans-serif;
  font-size: 11px;
  font-weight: 700;
}

.demo-result-title {
  font-family: Manrope, sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.3;
  color: #f3f2ee;
}

.demo-appbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid #303030;
}

.demo-brand {
  flex: none;
  font-family: Manrope, sans-serif;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -.5px;
  color: #f3f2ee;
  white-space: nowrap;
}

.demo-accent {
  color: #f58245;
}

.demo-brand-sub {
  font-size: 9px;
  letter-spacing: 2px;
  font-weight: 600;
  color: #d3d0ca;
}

.demo-appbar-right {
  display: flex;
  gap: 14px;
  align-items: center;
  min-width: 0;
  font-size: 11px;
  color: #d3d0ca;
  white-space: nowrap;
}

.demo-site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  column-gap: 14px;
  height: 16px;
  line-height: 16px;
  overflow: hidden;
  min-width: 0;
}

.demo-site-cta {
  flex: none;
  border: 1px solid #f3f2ee;
  color: #f3f2ee;
  border-radius: 5px;
  padding: 5px 10px;
}

.demo-hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 18px;
  align-items: center;
  flex: 1;
}

.demo-stack-12 {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.demo-eyebrow {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  color: #f58245;
}

.demo-hero-title {
  font-size: 32px;
  line-height: 1.08;
  color: #f3f2ee;
}

.demo-hero-text {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
  color: #d3d0ca;
}

.demo-button {
  align-self: flex-start;
  background: #f48a50;
  color: #1e130c;
  font-size: 12px;
  font-weight: 600;
  border-radius: 6px;
  padding: 9px 14px;
}

.demo-hero-art {
  height: 170px;
  border-radius: 10px;
  background: #191919;
  border: 1px solid #303030;
  position: relative;
  overflow: hidden;
}

.demo-art-ring {
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 1px solid #f58245;
}

.demo-art-sun {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #f58245;
}

.demo-art-rating {
  position: absolute;
  left: 14px;
  top: 12px;
  font-size: 11px;
  color: #d3d0ca;
}

.demo-service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 110px), 1fr));
  gap: 8px;
}

.demo-service-tile {
  border: 1px solid #303030;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 12px;
  color: #f3f2ee;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.demo-stack-6 {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.demo-form-title {
  font-size: 24px;
  line-height: 1.15;
  color: #f3f2ee;
}

.demo-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
}

.demo-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.demo-label {
  font-size: 10px;
  color: #d3d0ca;
}

.demo-input {
  border: 1px solid #3a3a3a;
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 13px;
  color: #f3f2ee;
  background: #151515;
}

.demo-toast {
  margin-top: auto;
  align-self: flex-end;
  width: min(100%, 340px);
  border: 1px solid #303030;
  border-radius: 10px;
  background: #191919;
  box-shadow: 0 16px 40px #00000080;
  padding: 12px 14px;
  display: flex;
  gap: 12px;
  align-items: center;
}

.demo-toast-icon {
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 50%;
  background: #242424;
  color: #f58245;
  display: grid;
  place-items: center;
  font-size: 13px;
}

.demo-toast-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.demo-toast-title {
  font-size: 12px;
  font-weight: 600;
  color: #f3f2ee;
}

.demo-appbar-flush {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #303030;
}

.demo-ops-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: flex-end;
  column-gap: 16px;
  height: 40px;
  overflow: hidden;
  min-width: 0;
}

.demo-ops-tab-active {
  color: #f3f2ee;
  padding: 12px 0 10px;
  line-height: 16px;
  border-bottom: 2px solid #f58245;
}

.demo-ops-tab {
  padding: 12px 0 12px;
  line-height: 16px;
}

.demo-user-avatar {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #303030;
  color: #f3f2ee;
  display: grid;
  place-items: center;
  font-size: 9px;
  font-weight: 700;
}

.demo-lead-card {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  border: 1px solid #303030;
  border-radius: 10px;
  background: #191919;
  padding: 14px 16px;
}

.demo-lead-name {
  font-family: Manrope, sans-serif;
  font-weight: 600;
  font-size: 17px;
  color: #f3f2ee;
}

.demo-lead-detail {
  font-size: 12px;
  color: #d3d0ca;
}

.demo-lead-time {
  font-size: 11px;
  color: #f58245;
}

.demo-stack-8 {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.demo-route-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #f3f2ee;
}

.demo-route-num {
  width: 26px;
  color: #f58245;
}

.demo-route-value {
  border: 1px solid #303030;
  border-radius: 6px;
  padding: 8px 12px;
  flex: 1;
}

.demo-booked {
  border: 1px solid #f58245;
  border-radius: 10px;
  padding: 12px 16px;
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 13px;
  color: #f3f2ee;
}

.demo-week-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.demo-week-title {
  font-size: 20px;
  color: #f3f2ee;
}

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

.demo-stat {
  border: 1px solid #303030;
  border-radius: 10px;
  background: #191919;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.demo-stat-value {
  font-family: Manrope, sans-serif;
  font-size: 22px;
  font-weight: 500;
  color: #f3f2ee;
}

.demo-stat-value-accent {
  font-family: Manrope, sans-serif;
  font-size: 22px;
  font-weight: 500;
  color: #f58245;
}

.demo-jobs {
  border: 1px solid #303030;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.demo-job-row-first {
  display: grid;
  grid-template-columns: minmax(0,1.7fr) minmax(0,.7fr) minmax(0,.9fr);
  gap: 12px;
  align-items: center;
  padding: 10px 14px;
  border-bottom: 1px solid #303030;
  background: #1b1612;
  font-size: 12px;
  color: #f3f2ee;
}

.demo-ellipsis {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.demo-job-when-accent {
  justify-self: end;
  font-size: 11px;
  color: #f58245;
}

.demo-job-row {
  display: grid;
  grid-template-columns: minmax(0,1.7fr) minmax(0,.7fr) minmax(0,.9fr);
  gap: 12px;
  align-items: center;
  padding: 10px 14px;
  border-bottom: 1px solid #303030;
  font-size: 12px;
  color: #f3f2ee;
}

.demo-job-when {
  justify-self: end;
  font-size: 11px;
  color: #d3d0ca;
}

.demo-job-row-last {
  display: grid;
  grid-template-columns: minmax(0,1.7fr) minmax(0,.7fr) minmax(0,.9fr);
  gap: 12px;
  align-items: center;
  padding: 10px 14px;
  font-size: 12px;
  color: #f3f2ee;
}

.demo-timeline {
  display: flex;
  flex-direction: column;
  border-top: 1px solid #303030;
}

.demo-timeline-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid #303030;
  font-size: 13px;
  color: #d3d0ca;
}

.demo-timeline-row-current {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid #303030;
  font-size: 13px;
  color: #f3f2ee;
}

.demo-timeline-row-last {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  font-size: 13px;
  color: #d3d0ca;
}
