:root {
  --ink: #142033;
  --muted: #697386;
  --line: #e3e8ef;
  --canvas: #f7f8fb;
  --warm: #fffbf4;
  --surface: #ffffff;
  --nav: #1f1f21;
  --blue: #2563eb;
  --green: #059669;
  --amber: #d97706;
  --teal: #0f766e;
  --purple: #9b4d8d;
  --coral: #e11d48;
  --shadow: 0 18px 40px rgba(20, 32, 51, .12);
  --soft-shadow: 0 12px 32px rgba(20, 32, 51, .08);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Public sales site — deliberately scoped away from Web Office and the manual. */
.site.sales-site {
  --sales-ink: #f7fbff;
  --sales-muted: #9fb0c4;
  --sales-navy: #07111f;
  --sales-panel: #0d1a2a;
  --sales-panel-2: #122235;
  --sales-line: rgba(180, 209, 236, .16);
  --sales-cyan: #57d9ff;
  --sales-teal: #31e4b5;
  --sales-lime: #c7f36b;
  --sales-orange: #ff9e4a;
  overflow: hidden;
  padding-top: 122px;
  color: var(--sales-ink);
  background:
    radial-gradient(circle at 77% 9%, rgba(50, 214, 255, .14), transparent 30%),
    radial-gradient(circle at 18% 38%, rgba(49, 228, 181, .07), transparent 24%),
    var(--sales-navy);
}

.sales-site::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .14;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, #000, transparent 75%);
}

.sales-site .sales-nav {
  position: fixed;
  z-index: 100;
  top: 18px;
  left: 50%;
  width: min(1320px, calc(100% - 36px));
  min-height: 78px;
  padding: 7px 10px 7px 18px;
  transform: translateX(-50%);
  border: 1px solid rgba(183, 215, 240, .2);
  border-radius: 22px;
  background: rgba(7, 17, 31, .84);
  box-shadow: 0 18px 60px rgba(0,0,0,.3);
  backdrop-filter: blur(22px) saturate(145%);
}

.sales-site .site-brand img {
  height: 66px;
  max-width: 270px;
  filter: drop-shadow(0 10px 25px rgba(0,0,0,.2));
}

.sales-site .site-nav-actions {
  color: #c2cedc;
  gap: 28px;
  font-size: 14px;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.sales-site .site-nav-actions > a:not(.site-button) {
  transition: color .2s ease;
}

.sales-site .site-nav-actions > a:not(.site-button):hover {
  color: var(--sales-cyan);
}

.sales-site .site-nav-actions > a.active:not(.site-button) {
  color: var(--sales-teal);
}

.sales-site .site-button {
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  border-color: var(--sales-line);
  color: var(--sales-ink);
  background: rgba(13, 26, 42, .76);
  box-shadow: none;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.sales-site .site-button:hover {
  transform: translateY(-2px);
  border-color: rgba(87, 217, 255, .45);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .22);
}

.sales-site .site-button.primary {
  border-color: var(--sales-teal);
  color: #04130f;
  background: linear-gradient(135deg, var(--sales-teal), var(--sales-cyan));
  box-shadow: 0 16px 42px rgba(49, 228, 181, .22);
}

.sales-site .site-button.ghost {
  border-color: rgba(255,255,255,.22);
  background: rgba(255,255,255,.045);
}

.sales-site .site-button.login-link {
  min-height: 44px;
  padding: 0 20px;
  color: #05121d;
  border-color: var(--sales-lime);
  background: var(--sales-lime);
}

.sales-site .eyebrow {
  margin-bottom: 16px;
  color: var(--sales-teal);
  font-size: 14px;
  line-height: 1.45;
  letter-spacing: .15em;
}

.sales-site .sales-hero {
  position: relative;
  z-index: 2;
  width: min(1380px, calc(100% - 56px));
  min-height: 760px;
  grid-template-columns: minmax(420px, .82fr) minmax(600px, 1.18fr);
  gap: 64px;
  padding: 72px 0 90px;
}

.sales-site .hero-copy {
  position: relative;
  z-index: 5;
  padding: 0;
}

.sales-site .sales-hero h1 {
  max-width: 720px;
  color: var(--sales-ink);
  font-size: clamp(68px, 7vw, 118px);
  line-height: .85;
  letter-spacing: -.075em;
  text-wrap: balance;
}

.sales-site .sales-hero h1 span {
  color: transparent;
  background: linear-gradient(100deg, var(--sales-teal), var(--sales-cyan) 65%, var(--sales-lime));
  background-clip: text;
  -webkit-background-clip: text;
}

.sales-site .hero-text {
  max-width: 640px;
  margin-top: 30px;
  color: #b4c0cf;
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.55;
}

.sales-site .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.sales-site .hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 28px;
}

.sales-site .hero-points span {
  color: #8194a9;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.sales-site .hero-points span::before {
  content: "✓";
  margin-right: 7px;
  color: var(--sales-teal);
}

.sales-hero-media {
  position: relative;
  min-height: 650px;
  perspective: 1400px;
}

.sales-hero-media::before {
  content: "";
  position: absolute;
  inset: 2% -10% -7% 4%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(87,217,255,.2), rgba(49,228,181,.06) 45%, transparent 69%);
  filter: blur(6px);
}

.browser-frame,
.phone-frame {
  overflow: hidden;
  border: 1px solid rgba(183, 215, 240, .22);
  background: #f5f7f9;
  box-shadow: 0 36px 90px rgba(0, 0, 0, .4);
}

.browser-frame {
  border-radius: 18px;
}

.browser-bar {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 16px;
  color: #607286;
  border-bottom: 1px solid #d8e0e8;
  background: #f7f9fb;
}

.browser-bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff7c71;
}

.browser-bar span:nth-child(2) { background: #ffc95b; }
.browser-bar span:nth-child(3) { background: #55d68b; }

.browser-bar b {
  margin-left: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
}

.browser-frame img,
.phone-frame img {
  display: block;
  width: 100%;
}

.hero-browser {
  position: absolute;
  top: 54px;
  right: -82px;
  width: min(790px, 94%);
  transform: rotateY(-8deg) rotateX(2deg) rotateZ(-1.5deg);
  animation: sales-float 7s ease-in-out infinite;
}

.hero-browser img {
  aspect-ratio: 1.44;
  object-fit: cover;
  object-position: top;
}

.phone-frame {
  position: relative;
  border-radius: 34px;
  padding: 12px 7px 7px;
  background: #02070d;
}

.phone-speaker {
  position: absolute;
  z-index: 4;
  top: 6px;
  left: 50%;
  width: 34%;
  height: 18px;
  transform: translateX(-50%);
  border-radius: 0 0 12px 12px;
  background: #02070d;
}

.phone-frame img {
  border-radius: 25px;
}

.hero-phone {
  position: absolute;
  z-index: 4;
  left: -12px;
  bottom: -6px;
  width: 244px;
  transform: rotateZ(2.6deg);
  animation: sales-float-phone 6s ease-in-out infinite;
}

.hero-phone img {
  height: 518px;
  object-fit: cover;
  object-position: top;
}

.live-card {
  position: absolute;
  z-index: 7;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 14px;
  color: #fff;
  background: rgba(8, 18, 31, .84);
  box-shadow: 0 20px 46px rgba(0,0,0,.32);
  backdrop-filter: blur(14px);
}

.live-card small {
  display: block;
  color: #8ba0b7;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .15em;
}

.live-card strong {
  display: block;
  margin-top: 2px;
  font-size: 18px;
}

.live-card i {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--sales-teal);
  box-shadow: 0 0 0 7px rgba(49, 228, 181, .14), 0 0 20px var(--sales-teal);
}

.live-card-top { top: 9px; right: 30px; }
.live-card-bottom { right: 4px; bottom: 50px; }

.orbit {
  position: absolute;
  border: 1px dashed rgba(87, 217, 255, .22);
  border-radius: 50%;
}

.orbit-one { inset: 8% -8% 3% 2%; transform: rotate(-8deg); }
.orbit-two { inset: 19% 8% -5% -8%; transform: rotate(15deg); }

.sales-site .motion-strip {
  position: relative;
  z-index: 3;
  width: min(1260px, calc(100% - 56px));
  min-height: 118px;
  margin: -20px auto 0;
  padding: 24px 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--sales-line);
  border-radius: 22px;
  background: rgba(14, 27, 44, .86);
  box-shadow: 0 30px 70px rgba(0,0,0,.25);
  backdrop-filter: blur(18px);
}

.motion-step {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.motion-step b {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: #8fa2b7;
  border: 1px solid var(--sales-line);
  border-radius: 50%;
  font-size: 9px;
}

.motion-step span {
  font-size: 15px;
  font-weight: 850;
  letter-spacing: .04em;
}

.motion-step.active b {
  color: #05130f;
  border-color: var(--sales-teal);
  background: var(--sales-teal);
  box-shadow: 0 0 24px rgba(49,228,181,.4);
}

.motion-strip > i {
  position: relative;
  flex: 1;
  height: 1px;
  overflow: hidden;
  background: rgba(255,255,255,.14);
}

.motion-strip > i::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -40%;
  width: 40%;
  background: linear-gradient(90deg, transparent, var(--sales-cyan), transparent);
  animation: sales-pulse-line 3.8s linear infinite;
}

.sales-site .site-section {
  position: relative;
  width: min(1260px, calc(100% - 56px));
  margin: 0 auto;
  padding: 140px 0;
  color: var(--sales-ink);
}

.sales-site .section-heading {
  max-width: 820px;
  margin: 0 0 58px;
  text-align: left;
}

.sales-site .section-heading h2,
.sales-site .site-cta h2 {
  margin: 0;
  color: var(--sales-ink);
  font-size: clamp(44px, 5.3vw, 78px);
  line-height: .98;
  letter-spacing: -.055em;
  text-wrap: balance;
}

.sales-site .section-heading h2 em {
  color: var(--sales-cyan);
  font-style: normal;
}

.sales-site .section-heading > p:last-child {
  max-width: 700px;
  margin: 24px 0 0;
  color: var(--sales-muted);
  font-size: 19px;
  line-height: 1.65;
}

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

.story-card {
  position: relative;
  min-height: 490px;
  padding: 36px;
  overflow: hidden;
  border: 1px solid var(--sales-line);
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(20, 39, 61, .93), rgba(10, 23, 38, .96));
  box-shadow: 0 24px 65px rgba(0,0,0,.2);
}

.story-card::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -150px;
  bottom: -150px;
  border-radius: 50%;
  background: var(--sales-cyan);
  opacity: .08;
  filter: blur(2px);
}

.story-card:nth-child(2)::after { background: var(--sales-teal); }
.story-card:nth-child(3)::after { background: var(--sales-lime); }

.story-number {
  margin-bottom: 86px;
  color: rgba(255,255,255,.18);
  font-size: 54px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.05em;
}

.story-card h3,
.bento-card h3,
.growth-track h3 {
  margin: 0;
  color: #fff;
  font-size: 28px;
  line-height: 1.05;
  letter-spacing: -.035em;
}

.story-card > p:not(.eyebrow),
.bento-card > p {
  margin: 18px 0 0;
  color: #9fb0c4;
  font-size: 17px;
  line-height: 1.65;
}

.route-visual,
.status-pill,
.finish-line {
  position: absolute;
  z-index: 2;
  right: 34px;
  bottom: 34px;
  left: 34px;
}

.route-visual {
  display: flex;
  align-items: center;
}

.route-visual i {
  flex: 1;
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(87,217,255,.7) 0 7px, transparent 7px 14px);
}

.route-dot {
  width: 16px;
  height: 16px;
  border: 3px solid var(--sales-panel);
  border-radius: 50%;
  background: var(--sales-cyan);
  box-shadow: 0 0 0 4px rgba(87,217,255,.18);
}

.route-dot.finish { background: var(--sales-lime); box-shadow: 0 0 0 4px rgba(199,243,107,.18); }
.route-car { margin: 0 10px; color: var(--sales-cyan); font-size: 24px; font-weight: 900; }

.status-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 17px 19px;
  border: 1px solid rgba(49,228,181,.32);
  border-radius: 14px;
  color: var(--sales-teal);
  background: rgba(49,228,181,.07);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
}

.status-pill i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--sales-teal);
  box-shadow: 0 0 14px var(--sales-teal);
}

.finish-line {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #a9b8c9;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .1em;
}

.finish-line b { color: var(--sales-cyan); font-size: 22px; }
.finish-line em { margin-left: auto; padding: 8px 10px; border-radius: 99px; color: #062016; background: var(--sales-lime); font-style: normal; }

.showcase-section::before {
  content: "";
  position: absolute;
  top: 4%;
  right: -20vw;
  width: 60vw;
  height: 60vw;
  border-radius: 50%;
  background: rgba(87,217,255,.06);
  filter: blur(40px);
}

.showcase-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(290px, .55fr);
  gap: 24px;
  align-items: end;
}

.showcase-panel {
  position: relative;
  min-height: 680px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--sales-line);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(18, 35, 55, .98), rgba(8, 19, 32, .98));
}

.showcase-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.showcase-label span {
  color: var(--sales-teal);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
}

.showcase-label b { font-size: 15px; }

.web-panel .browser-frame {
  width: 110%;
  transform: rotate(-1.2deg);
  transform-origin: top left;
}

.web-panel .browser-frame img {
  aspect-ratio: 1.44;
  object-fit: cover;
  object-position: top;
}

.mobile-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mobile-panel .showcase-label { width: 100%; }

.mobile-panel .phone-frame {
  width: 286px;
  margin-bottom: -230px;
  transform: rotate(1deg);
}

.mobile-panel .phone-frame img {
  height: 780px;
  object-fit: cover;
  object-position: top;
}

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

.bento-card {
  min-height: 310px;
  padding: 32px;
  border: 1px solid var(--sales-line);
  border-radius: 24px;
  background: var(--sales-panel);
}

.bento-card:hover {
  border-color: rgba(87,217,255,.34);
  transform: translateY(-3px);
}

.bento-large {
  grid-column: span 2;
  min-height: 420px;
  background:
    radial-gradient(circle at 85% 15%, rgba(87,217,255,.16), transparent 38%),
    var(--sales-panel-2);
}

.bento-dark {
  grid-column: span 2;
  color: #06120f;
  background: linear-gradient(145deg, var(--sales-teal), #4ecfff);
}

.bento-dark h3,
.bento-dark > p { color: #06120f; }
.bento-dark > p { opacity: .75; }

.bento-wide {
  grid-column: span 2;
  background: linear-gradient(145deg, #17283e, #101c2c);
}

.bento-field-locations {
  grid-column: span 4;
  min-height: 340px;
  background:
    radial-gradient(circle at 78% 36%, rgba(49,228,181,.18), transparent 27%),
    radial-gradient(circle at 88% 68%, rgba(87,217,255,.14), transparent 22%),
    linear-gradient(135deg, rgba(17,38,57,.98), rgba(8,22,36,.98));
}

.bento-field-locations > p { max-width: 720px; }

.bento-job-proof {
  position: relative;
  grid-column: span 4;
  min-height: 500px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(6,17,30,.98) 0%, rgba(6,17,30,.93) 48%, rgba(6,17,30,.24) 76%, rgba(6,17,30,.12) 100%),
    url("./assets/zen-job-proof-broken-garage-door-spring.jpg") center right / cover no-repeat;
}

.bento-job-proof::after {
  content: "SIGNED";
  position: absolute;
  right: 30px;
  bottom: 28px;
  padding: 10px 13px;
  border: 1px solid rgba(49,228,181,.42);
  border-radius: 999px;
  color: #061a16;
  background: var(--sales-teal);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .12em;
}

.bento-job-proof > * { position: relative; z-index: 2; }
.bento-job-proof > p:not(.eyebrow) { max-width: 650px; }
.bento-job-proof .sales-icon { margin-bottom: 26px; }

.proof-mini-flow {
  margin: 30px 0 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.proof-mini-flow span {
  padding: 8px 10px;
  border: 1px solid rgba(87,217,255,.25);
  border-radius: 999px;
  color: #c9d8e6;
  background: rgba(7,17,31,.78);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .1em;
}

.proof-mini-flow i { color: var(--sales-teal); font-style: normal; font-weight: 900; }

.bento-icon {
  display: grid;
  width: 50px;
  height: 50px;
  margin-bottom: 72px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 15px;
  color: var(--sales-cyan);
  background: rgba(255,255,255,.04);
  font-size: 24px;
  font-weight: 900;
}

.bento-dark .bento-icon {
  color: #06120f;
  border-color: rgba(6,18,15,.2);
  background: rgba(255,255,255,.17);
}

.mini-statuses {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 34px;
}

.mini-statuses span {
  padding: 8px 10px;
  color: #9eb0c4;
  border: 1px solid var(--sales-line);
  border-radius: 99px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
}

.mini-statuses span:nth-child(2) { color: var(--sales-cyan); border-color: rgba(87,217,255,.3); }
.mini-statuses span:nth-child(3) { color: var(--sales-teal); border-color: rgba(49,228,181,.3); }
.mini-statuses span:nth-child(4) { color: var(--sales-lime); border-color: rgba(199,243,107,.3); }

.growth-section {
  border-top: 1px solid var(--sales-line);
}

.growth-track {
  display: grid;
  grid-template-columns: 1fr 70px 1fr 70px 1fr;
  align-items: stretch;
}

.growth-track article {
  min-height: 260px;
  padding: 30px;
  border: 1px solid var(--sales-line);
  border-radius: 22px;
  background: rgba(15, 29, 46, .7);
}

.growth-track article b {
  display: block;
  margin-bottom: 70px;
  color: var(--sales-teal);
  font-size: 11px;
  letter-spacing: .14em;
}

.growth-track article p {
  margin: 15px 0 0;
  color: var(--sales-muted);
  line-height: 1.55;
}

.growth-track > i {
  position: relative;
}

.growth-track > i::before {
  content: "→";
  position: absolute;
  top: 50%;
  left: 50%;
  color: var(--sales-cyan);
  transform: translate(-50%, -50%);
  font-size: 24px;
}

.sales-site .sales-cta {
  position: relative;
  width: min(1260px, calc(100% - 56px));
  margin: 10px auto 90px;
  padding: 100px min(7vw, 90px);
  overflow: hidden;
  border: 1px solid rgba(87,217,255,.24);
  border-radius: 34px;
  text-align: left;
  background:
    radial-gradient(circle at 82% 40%, rgba(49,228,181,.22), transparent 28%),
    radial-gradient(circle at 68% 70%, rgba(87,217,255,.14), transparent 36%),
    linear-gradient(145deg, #142840, #0a1727);
}

.sales-site .sales-cta::after {
  content: "ZEN";
  position: absolute;
  right: -2%;
  bottom: -20%;
  color: rgba(255,255,255,.035);
  font-size: clamp(180px, 25vw, 390px);
  font-weight: 950;
  line-height: 1;
  letter-spacing: -.08em;
}

.sales-site .sales-cta > * { position: relative; z-index: 2; }

.sales-site .sales-cta h2 { max-width: 830px; }

.sales-site .sales-cta > p:not(.eyebrow) {
  max-width: 650px;
  margin: 26px 0 0;
  color: #acbbcb;
  font-size: 18px;
  line-height: 1.6;
}

.sales-footer {
  width: min(1380px, calc(100% - 56px));
  margin: 0 auto;
  padding: 42px 0 54px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 36px;
  align-items: center;
  border-top: 1px solid var(--sales-line);
  color: #71859b;
  font-size: 15px;
}

.sales-footer .site-brand img { height: 52px; }
.sales-footer p { margin: 0; }
.sales-footer-copy { display: grid; gap: 7px; }
.sales-powered-by {
  color: #aab8c8;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}
.sales-footer > div:not(.sales-footer-copy) { display: flex; gap: 22px; color: #aab8c8; font-weight: 800; }

.sales-mobile-menu {
  display: none;
}

.card-link,
.panel-link,
.pricing-page-link {
  display: inline-flex;
  align-items: center;
  color: var(--sales-cyan);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .02em;
}

.card-link {
  position: relative;
  z-index: 5;
  margin-top: 20px;
}

.panel-link {
  position: absolute;
  z-index: 6;
  right: 28px;
  bottom: 20px;
  padding: 11px 15px;
  border: 1px solid var(--sales-line);
  border-radius: 999px;
  background: rgba(7, 17, 31, .86);
}

.pricing-page-link {
  margin-top: 28px;
}

.sales-icon {
  display: grid;
  width: 62px;
  height: 62px;
  margin-bottom: 62px;
  place-items: center;
  border: 1px solid rgba(87, 217, 255, .25);
  border-radius: 18px;
  color: var(--sales-cyan);
  background:
    radial-gradient(circle at 35% 25%, rgba(87,217,255,.22), transparent 56%),
    rgba(255,255,255,.045);
  box-shadow: inset 0 0 28px rgba(87,217,255,.06), 0 14px 32px rgba(0,0,0,.18);
}

.sales-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 9px rgba(87,217,255,.48));
}

.bento-dark .sales-icon {
  color: #061b18;
  border-color: rgba(6, 27, 24, .18);
  background: rgba(255,255,255,.16);
  box-shadow: none;
}

.bento-dark .sales-icon svg { filter: none; }

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

.sales-price-card {
  position: relative;
  min-height: 510px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--sales-line);
  border-radius: 26px;
  background: linear-gradient(155deg, rgba(18,35,55,.96), rgba(9,21,35,.96));
  box-shadow: 0 24px 65px rgba(0,0,0,.18);
}

.sales-price-card.featured {
  border-color: rgba(49,228,181,.55);
  background:
    radial-gradient(circle at 85% 0%, rgba(49,228,181,.18), transparent 36%),
    linear-gradient(155deg, #16364a, #0b1c2d);
  box-shadow: 0 28px 72px rgba(49,228,181,.12);
}

.popular-tag {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 7px 10px;
  border-radius: 999px;
  color: #052019;
  background: var(--sales-teal);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .08em;
}

.plan-name {
  margin: 0 0 42px;
  color: var(--sales-teal);
  font-size: 17px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.plan-price {
  min-height: 94px;
}

.plan-price strong {
  display: block;
  color: #fff;
  font-size: clamp(42px, 4vw, 62px);
  line-height: .95;
  letter-spacing: -.055em;
}

.plan-price span {
  display: block;
  margin-top: 8px;
  color: #8fa3b9;
  font-size: 14px;
  line-height: 1.4;
}

.plan-note {
  margin: 22px 0 0;
  color: #d3dce7;
  font-size: 17px;
  font-weight: 800;
}

.sales-price-card ul {
  margin: 24px 0 30px;
  padding: 24px 0 0;
  border-top: 1px solid var(--sales-line);
  list-style: none;
}

.sales-price-card li {
  position: relative;
  margin: 0 0 13px;
  padding-left: 24px;
  color: #aebdcd;
  font-size: 16px;
  line-height: 1.45;
}

.sales-price-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--sales-teal);
  font-weight: 950;
}

.sales-price-card .site-button {
  width: 100%;
  margin-top: auto;
}

.sales-subpage {
  min-height: 100vh;
}

.subpage-hero {
  position: relative;
  z-index: 2;
  width: min(1260px, calc(100% - 56px));
  min-height: 690px;
  margin: 0 auto;
  padding: 90px 0 100px;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
  gap: 70px;
  align-items: center;
  border-bottom: 1px solid var(--sales-line);
}

.subpage-hero-copy h1,
.sales-contact-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(58px, 6.5vw, 96px);
  line-height: .92;
  letter-spacing: -.065em;
  text-wrap: balance;
}

.subpage-hero-copy > p:not(.eyebrow),
.sales-contact-hero > div > p:not(.eyebrow) {
  max-width: 720px;
  margin: 28px 0 0;
  color: #b4c0cf;
  font-size: 21px;
  line-height: 1.62;
}

.subpage-route-orbit {
  position: relative;
  min-height: 410px;
  padding: 50px;
  display: grid;
  align-content: center;
  gap: 18px;
  overflow: hidden;
  border: 1px solid var(--sales-line);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(49,228,181,.16), rgba(87,217,255,.05) 48%, transparent 68%);
}

.subpage-route-orbit::before,
.subpage-route-orbit::after {
  content: "";
  position: absolute;
  inset: 9%;
  border: 1px dashed rgba(87,217,255,.24);
  border-radius: 50%;
  transform: rotate(-16deg);
}

.subpage-route-orbit::after { inset: 24%; transform: rotate(22deg); }

.subpage-route-orbit span {
  position: relative;
  z-index: 2;
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  color: #dce7f2;
  background: rgba(7,17,31,.82);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .08em;
  text-align: center;
}

.subpage-route-orbit span:nth-of-type(2) { color: var(--sales-cyan); }
.subpage-route-orbit span:nth-of-type(3) { color: var(--sales-teal); }
.subpage-route-orbit span:nth-of-type(4) { color: var(--sales-lime); }

.subpage-route-orbit i {
  position: relative;
  z-index: 2;
  width: 1px;
  height: 24px;
  margin: 0 auto;
  background: linear-gradient(var(--sales-cyan), var(--sales-teal));
}

.subpage-phone {
  width: 300px;
  justify-self: center;
  transform: rotate(2deg);
}

.subpage-phone img {
  height: 590px;
  object-fit: cover;
  object-position: top;
}

.subpage-browser {
  width: 122%;
  transform: rotate(-2deg);
}

.subpage-browser img {
  aspect-ratio: 1.44;
  object-fit: cover;
  object-position: top;
}

.price-hero-mark {
  min-height: 420px;
  display: grid;
  place-content: center;
  border: 1px solid rgba(49,228,181,.22);
  border-radius: 50%;
  text-align: center;
  background: radial-gradient(circle, rgba(49,228,181,.18), rgba(87,217,255,.04) 50%, transparent 70%);
}

.price-hero-mark strong {
  display: block;
  color: var(--sales-teal);
  font-size: clamp(100px, 13vw, 190px);
  line-height: .8;
  letter-spacing: -.08em;
}

.price-hero-mark span {
  margin-top: 30px;
  color: #dce7f1;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .16em;
}

.deep-section {
  border-bottom: 1px solid var(--sales-line);
}

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

.deep-feature-card {
  min-height: 390px;
  padding: 30px;
  border: 1px solid var(--sales-line);
  border-radius: 24px;
  background: linear-gradient(150deg, rgba(18,35,55,.9), rgba(9,21,35,.94));
}

.deep-feature-card h3 {
  margin: 0;
  color: #fff;
  font-size: 25px;
  line-height: 1.1;
  letter-spacing: -.035em;
}

.deep-feature-card p {
  margin: 18px 0 0;
  color: #a5b5c7;
  font-size: 17px;
  line-height: 1.65;
}

.split-deep-section {
  display: grid;
  grid-template-columns: minmax(280px, .65fr) minmax(0, 1.35fr);
  gap: 90px;
  align-items: center;
}

.deep-phone {
  width: 290px;
  justify-self: center;
  transform: rotate(-2deg);
}

.deep-phone img {
  height: 640px;
  object-fit: cover;
  object-position: top;
}

.deep-copy h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(44px, 5vw, 72px);
  line-height: .98;
  letter-spacing: -.055em;
}

.deep-copy > p:not(.eyebrow) {
  margin: 26px 0 0;
  color: #aab9c9;
  font-size: 19px;
  line-height: 1.7;
}

.deep-copy ul {
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.deep-copy li {
  position: relative;
  margin: 0 0 18px;
  padding-left: 30px;
  color: #d5dfe9;
  font-size: 17px;
}

.deep-copy li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--sales-teal);
  font-weight: 950;
}

.product-screen-section,
.wide-screen-section {
  overflow: hidden;
}

.dual-phone-stage {
  min-height: 760px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 42px;
  padding: 70px 30px 0;
  overflow: hidden;
  border: 1px solid var(--sales-line);
  border-radius: 32px;
  background:
    radial-gradient(circle at 50% 20%, rgba(87,217,255,.16), transparent 40%),
    var(--sales-panel);
}

.dual-phone-stage .phone-frame { width: 300px; }
.dual-phone-stage .phone-frame:first-child { transform: rotate(-3deg) translateY(50px); }
.dual-phone-stage .phone-frame:last-child { transform: rotate(3deg); }
.dual-phone-stage img { height: 720px; object-fit: cover; object-position: top; }

.wide-screen-section .browser-frame {
  width: 110%;
  transform: rotate(-1deg);
  transform-origin: top left;
}

.wide-screen-section .browser-frame img {
  aspect-ratio: 1.44;
  object-fit: cover;
  object-position: top;
}

.field-location-stage-section { overflow: hidden; }

.field-location-proof {
  position: relative;
  min-height: 760px;
  padding: 54px 0 88px;
  overflow: hidden;
  border: 1px solid rgba(87,217,255,.22);
  border-radius: 34px;
  background:
    radial-gradient(circle at 82% 12%, rgba(49,228,181,.16), transparent 30%),
    radial-gradient(circle at 16% 82%, rgba(87,217,255,.15), transparent 34%),
    linear-gradient(145deg, rgba(17,38,59,.98), rgba(5,16,29,.98));
  box-shadow: inset 0 0 100px rgba(3,12,22,.42), 0 30px 80px rgba(0,0,0,.24);
}

.field-location-watermark {
  position: absolute;
  z-index: 0;
  top: 50%;
  right: -5%;
  width: min(760px, 70%);
  opacity: .065;
  filter: grayscale(1) brightness(2.35) contrast(1.15);
  mix-blend-mode: screen;
  transform: translateY(-50%) rotate(-9deg);
  pointer-events: none;
  user-select: none;
}

.field-location-proof-frame {
  position: relative;
  z-index: 2;
  width: 92%;
  margin: 0 auto;
  transform: rotate(-.7deg);
  transform-origin: center;
  box-shadow: 0 38px 90px rgba(0,0,0,.46), 0 0 0 1px rgba(255,255,255,.04);
}

.field-location-proof-frame > img {
  width: 100%;
  aspect-ratio: 1.44;
  object-fit: cover;
  object-position: top center;
}

.field-location-capture-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 2.45fr) minmax(190px, .72fr);
  gap: 18px;
  align-items: start;
  width: 92%;
  margin: 0 auto;
}

.field-location-capture {
  display: flex;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 22px;
  background: #07111f;
  box-shadow: 0 34px 78px rgba(0,0,0,.46), 0 0 0 1px rgba(255,255,255,.04);
  flex-direction: column;
}

.field-location-capture-label {
  display: flex;
  min-height: 52px;
  padding: 11px 15px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid rgba(255,255,255,.12);
  background: rgba(15,34,52,.98);
}

.field-location-capture-label small {
  color: var(--sales-teal);
  font-size: 9px;
  font-weight: 950;
  letter-spacing: .1em;
}

.field-location-capture-label strong {
  color: #f3fbff;
  font-size: 14px;
}

.field-location-capture > img {
  display: block;
  width: 100%;
  min-height: 0;
  flex: none;
  background: #07111f;
}

.field-location-web-capture > img {
  aspect-ratio: 1.44;
  object-fit: contain;
  object-position: top center;
}

.field-location-iphone-capture > img {
  height: 558px;
  object-fit: contain;
  object-position: top center;
}

.field-location-capture figcaption {
  padding: 10px 14px 12px;
  border-top: 1px solid rgba(255,255,255,.1);
  color: #9fb3c5;
  font-size: 12px;
  line-height: 1.35;
}

.field-location-proof.compact {
  width: 100%;
  min-height: 500px;
  padding: 38px 0 68px;
  justify-self: center;
  transform: none;
}

.field-location-proof.compact .field-location-proof-frame { width: 105%; }
.field-location-proof.compact .field-location-watermark { width: 86%; right: -12%; opacity: .075; }
.field-location-proof.compact .field-location-capture-grid { width: 94%; }
.field-location-proof.compact .field-location-capture-label { min-height: 44px; padding: 8px 11px; }
.field-location-proof.compact .field-location-capture-label small { display: none; }
.field-location-proof.compact .field-location-iphone-capture > img { height: 376px; }
.field-location-proof.compact .field-location-capture figcaption { padding: 8px 10px 9px; font-size: 10px; }

.field-dispatch-callout {
  position: relative;
  z-index: 4;
  right: auto;
  bottom: auto;
  width: min(720px, 92%);
  margin: 20px auto 0;
  padding: 18px 20px;
  border: 1px solid rgba(49,228,181,.34);
  border-radius: 18px;
  background: rgba(5,20,29,.94);
  box-shadow: 0 22px 52px rgba(0,0,0,.42), 0 0 36px rgba(49,228,181,.09);
  backdrop-filter: blur(18px);
}

.field-dispatch-callout small,
.field-dispatch-callout strong,
.field-dispatch-callout span { display: block; }
.field-dispatch-callout small { color: var(--sales-teal); font-size: 11px; font-weight: 950; letter-spacing: .11em; }
.field-dispatch-callout strong { margin-top: 8px; color: #f3fbff; font-size: 20px; letter-spacing: -.02em; }
.field-dispatch-callout span { margin-top: 5px; color: #9fb3c5; font-size: 15px; line-height: 1.45; }

.field-location-bridge {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  gap: 16px;
  align-items: stretch;
}

.field-location-bridge article {
  min-height: 210px;
  padding: 30px;
  border: 1px solid var(--sales-line);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(18,35,55,.92), rgba(9,21,35,.95));
}

.field-location-bridge article > span { color: var(--sales-teal); font-size: 12px; font-weight: 950; letter-spacing: .12em; }
.field-location-bridge strong { display: block; margin-top: 30px; color: #fff; font-size: 28px; letter-spacing: -.035em; }
.field-location-bridge p { margin: 12px 0 0; color: #9dafc1; font-size: 17px; line-height: 1.55; }
.field-location-bridge > i { align-self: center; color: var(--sales-cyan); font-size: 36px; font-style: normal; font-weight: 300; text-align: center; }

.job-proof-stage-section { overflow: hidden; }

.job-proof-visual {
  position: relative;
  min-height: 720px;
  padding: 48px;
  overflow: hidden;
  border: 1px solid rgba(87,217,255,.22);
  border-radius: 34px;
  background:
    radial-gradient(circle at 10% 85%, rgba(49,228,181,.15), transparent 30%),
    radial-gradient(circle at 88% 15%, rgba(87,217,255,.14), transparent 31%),
    linear-gradient(145deg, #10263a, #07111f 72%);
  box-shadow: inset 0 0 100px rgba(3,12,22,.42), 0 30px 80px rgba(0,0,0,.24);
}

.job-proof-watermark {
  position: absolute;
  z-index: 0;
  right: -7%;
  bottom: -5%;
  width: min(720px, 62%);
  opacity: .055;
  filter: grayscale(1) brightness(2.35) contrast(1.15);
  mix-blend-mode: screen;
  transform: rotate(-8deg);
  pointer-events: none;
  user-select: none;
}

.job-proof-photo {
  position: absolute;
  z-index: 2;
  top: 54px;
  bottom: 54px;
  left: 5%;
  width: 61%;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 28px;
  background: #172331;
  box-shadow: 0 36px 90px rgba(0,0,0,.44);
  transform: rotate(-1.3deg);
}

.job-proof-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4,12,22,.88), transparent 42%);
  pointer-events: none;
}

.job-proof-photo > img { width: 100%; height: 100%; object-fit: cover; }

.job-proof-photo figcaption {
  position: absolute;
  z-index: 2;
  right: 24px;
  bottom: 22px;
  left: 24px;
}

.job-proof-photo figcaption span,
.job-proof-photo figcaption strong { display: block; }
.job-proof-photo figcaption span { color: var(--sales-teal); font-size: 11px; font-weight: 950; letter-spacing: .13em; }
.job-proof-photo figcaption strong { margin-top: 7px; color: #fff; font-size: 28px; letter-spacing: -.035em; }

.job-proof-record {
  position: absolute;
  z-index: 4;
  top: 120px;
  right: 4%;
  width: 39%;
  padding: 26px;
  border: 1px solid rgba(49,228,181,.28);
  border-radius: 24px;
  color: #122033;
  background: rgba(246,249,251,.97);
  box-shadow: 0 30px 70px rgba(0,0,0,.42);
  transform: rotate(1.2deg);
}

.job-proof-record > small { color: #0f766e; font-size: 11px; font-weight: 950; letter-spacing: .12em; }
.job-proof-record > strong { display: block; margin-top: 11px; color: #102035; font-size: 23px; line-height: 1.18; letter-spacing: -.03em; }

.job-proof-tags { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 7px; }
.job-proof-tags span { padding: 7px 9px; border-radius: 999px; color: #38506a; background: #e5edf4; font-size: 9px; font-weight: 950; letter-spacing: .08em; }
.job-proof-tags span:last-child { color: #053f32; background: #baf2df; }

.signature-sheet {
  margin-top: 24px;
  padding: 22px;
  border: 1px solid #d8e0e8;
  border-radius: 18px;
  background:
    linear-gradient(#fff, #fff),
    repeating-linear-gradient(0deg, transparent, transparent 25px, #e8edf2 26px);
}

.signature-sheet small,
.signature-sheet em,
.signature-sheet span { display: block; }
.signature-sheet small { color: #617287; font-size: 10px; font-weight: 900; letter-spacing: .11em; }
.signature-sheet em { margin: 25px 0 4px; color: #102035; font-family: "Segoe Script", "Bradley Hand", cursive; font-size: 30px; line-height: 1; transform: rotate(-4deg); }
.signature-sheet span { padding-top: 10px; border-top: 1px solid #cdd6df; color: #6c7d8e; font-size: 12px; }

.job-proof-visual.compact {
  width: 115%;
  min-height: 500px;
  padding: 28px;
  justify-self: center;
  transform: rotate(-1deg);
}

.job-proof-visual.compact .job-proof-photo { top: 34px; bottom: 34px; left: 4%; width: 62%; }
.job-proof-visual.compact .job-proof-record { top: 78px; right: 3%; padding: 19px; }
.job-proof-visual.compact .job-proof-record > strong { font-size: 18px; }
.job-proof-visual.compact .job-proof-tags span { font-size: 7px; }
.job-proof-visual.compact .signature-sheet { margin-top: 16px; padding: 15px; }
.job-proof-visual.compact .signature-sheet em { margin-top: 17px; font-size: 23px; }

.proof-consolidation {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr 64px 1fr;
  gap: 16px;
  align-items: stretch;
}

.proof-consolidation article {
  min-height: 230px;
  padding: 30px;
  border: 1px solid var(--sales-line);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(18,35,55,.92), rgba(9,21,35,.95));
}

.proof-consolidation article > span { color: #92a7bb; font-size: 11px; font-weight: 950; letter-spacing: .13em; }
.proof-consolidation strong { display: block; margin-top: 34px; color: #fff; font-size: 27px; letter-spacing: -.035em; }
.proof-consolidation p { margin: 13px 0 0; color: #9dafc1; font-size: 17px; line-height: 1.55; }
.proof-consolidation > i { align-self: center; color: var(--sales-cyan); font-size: 34px; font-style: normal; text-align: center; }
.proof-consolidation .proof-zen-stack { border-color: rgba(49,228,181,.3); background: linear-gradient(145deg, rgba(12,50,48,.9), rgba(8,25,36,.96)); }
.proof-consolidation .proof-zen-stack > span { color: var(--sales-teal); }

.job-photo-credit { margin: 18px 4px 0; color: #667b90; font-size: 12px; }
.job-photo-credit a { color: #8ca5bb; text-decoration: underline; text-underline-offset: 3px; }

.pricing-detail-section {
  padding-top: 110px;
}

.pricing-disclosure {
  max-width: 800px;
  margin: 28px 0 0;
  color: #93a5ba;
  font-size: 16px;
  line-height: 1.55;
}

.compare-grid {
  min-width: 860px;
  overflow: hidden;
  border: 1px solid var(--sales-line);
  border-radius: 24px;
  background: rgba(12, 25, 41, .8);
}

.compare-row {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--sales-line);
}

.compare-row:last-child { border-bottom: 0; }
.compare-row > * { padding: 19px 22px; border-right: 1px solid var(--sales-line); }
.compare-row > *:last-child { border-right: 0; }
.compare-row b { color: #e6eef6; font-size: 16px; }
.compare-row span { color: #9fb0c4; font-size: 15px; }
.compare-head { background: rgba(87,217,255,.07); }
.compare-head b:not(:first-child) { color: var(--sales-teal); }

.sales-horizontal-scroll {
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(87,217,255,.35) transparent;
}

.subpage-cta { margin-top: 50px !important; }

.sales-contact-hero {
  position: relative;
  z-index: 2;
  width: min(1260px, calc(100% - 56px));
  min-height: 760px;
  margin: 0 auto;
  padding: 100px 0 120px;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(440px, .75fr);
  gap: 80px;
  align-items: center;
}

.contact-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.contact-points span {
  padding: 10px 13px;
  border: 1px solid var(--sales-line);
  border-radius: 999px;
  color: #aab9ca;
  font-size: 14px;
  font-weight: 800;
}

.contact-points span::before { content: "✓"; margin-right: 7px; color: var(--sales-teal); }

.sales-contact-form {
  padding: 34px !important;
  border: 1px solid rgba(87,217,255,.2) !important;
  border-radius: 28px !important;
  background: linear-gradient(150deg, rgba(18,35,55,.96), rgba(9,21,35,.96)) !important;
  box-shadow: 0 30px 75px rgba(0,0,0,.28) !important;
}

.sales-contact-form label {
  color: #dce5ef;
  font-size: 15px;
  font-weight: 850;
}

.sales-contact-form input,
.sales-contact-form textarea {
  min-height: 52px;
  color: #fff;
  border-color: rgba(183,215,240,.2);
  background: rgba(4,12,22,.72);
}

.sales-contact-form textarea { min-height: 140px; }
.sales-contact-form .muted { color: #8fa2b7; font-size: 14px; line-height: 1.5; }
.sales-contact-form button.primary { min-height: 52px; border-radius: 999px; background: linear-gradient(135deg, var(--sales-teal), var(--sales-cyan)); color: #05130f; border: 0; font-weight: 900; }

@keyframes sales-float {
  0%, 100% { transform: rotateY(-8deg) rotateX(2deg) rotateZ(-1.5deg) translateY(0); }
  50% { transform: rotateY(-7deg) rotateX(1deg) rotateZ(-1.1deg) translateY(-11px); }
}

@keyframes sales-float-phone {
  0%, 100% { transform: rotateZ(2.6deg) translateY(0); }
  50% { transform: rotateZ(2deg) translateY(10px); }
}

@keyframes sales-pulse-line {
  to { left: 120%; }
}

@media (max-width: 1120px) {
  .sales-site .sales-hero {
    grid-template-columns: 1fr;
    padding-top: 60px;
  }

  .sales-site .hero-copy { max-width: 800px; }
  .sales-hero-media { min-height: 650px; }
  .hero-browser { right: 0; width: 84%; }
  .hero-phone { left: 4%; }
  .story-grid { grid-template-columns: 1fr; }
  .story-card { min-height: 420px; }
  .story-number { margin-bottom: 54px; }
  .showcase-grid { grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr); }
  .bento-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento-field-locations { grid-column: span 2; }
  .sales-price-grid,
  .deep-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .subpage-hero { grid-template-columns: minmax(0, 1fr) minmax(340px, .8fr); gap: 44px; }
  .subpage-browser { width: 108%; }
  .split-deep-section { gap: 52px; }
}

@media (max-width: 1120px) {
  .sales-desktop-nav { display: none !important; }

  .sales-mobile-menu {
    position: relative;
    display: block;
  }

  .sales-mobile-menu summary {
    min-height: 44px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    border: 1px solid rgba(87,217,255,.24);
    border-radius: 999px;
    color: #eaf4fb;
    background: rgba(11,26,42,.96);
    font-size: 15px;
    font-weight: 900;
    list-style: none;
    cursor: pointer;
  }

  .sales-mobile-menu summary::-webkit-details-marker { display: none; }
  .sales-mobile-menu summary::after { content: "＋"; margin-left: 10px; color: var(--sales-teal); font-size: 18px; }
  .sales-mobile-menu[open] summary::after { content: "−"; }

  .sales-mobile-menu > div {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: min(330px, calc(100vw - 32px));
    padding: 12px;
    display: grid;
    gap: 4px;
    border: 1px solid rgba(87,217,255,.24);
    border-radius: 20px;
    background: rgba(7,17,31,.98);
    box-shadow: 0 24px 70px rgba(0,0,0,.46);
    backdrop-filter: blur(24px);
  }

  .sales-mobile-menu a {
    padding: 14px 16px;
    border-radius: 13px;
    color: #b9c8d7;
    font-size: 16px;
    font-weight: 850;
  }

  .sales-mobile-menu a.active { color: #061a16; background: var(--sales-teal); }
  .sales-mobile-menu a:last-child { margin-top: 4px; color: #091407; background: var(--sales-lime); }

  .subpage-hero,
  .sales-contact-hero { grid-template-columns: 1fr; min-height: auto; }
  .subpage-hero { padding-top: 72px; }
  .subpage-hero > :last-child { width: min(620px, 100%); justify-self: center; }
  .subpage-browser { width: 100%; }
  .field-location-proof.compact { width: 100%; }
  .job-proof-visual.compact { width: 100%; }
  .sales-contact-hero { gap: 52px; padding-top: 72px; }
  .split-deep-section { grid-template-columns: 1fr; }
  .deep-phone { order: 2; }
  .dual-phone-stage { min-height: 690px; gap: 24px; }
  .dual-phone-stage .phone-frame { width: min(280px, 38vw); }
}

@media (max-width: 760px) {
  .site.sales-site { padding-top: 94px; }

  .sales-site .sales-nav,
  .sales-site .sales-hero,
  .sales-site .site-section,
  .sales-site .motion-strip,
  .sales-site .sales-cta,
  .sales-footer {
    width: min(100% - 28px, 1260px);
  }

  .sales-site .sales-nav {
    top: 10px;
    min-height: 64px;
    padding: 8px 10px 8px 14px;
    border-radius: 18px;
  }
  .sales-site .site-brand img { height: 42px; max-width: 164px; }
  .sales-mobile-menu summary { min-height: 42px; padding: 0 14px; font-size: 14px; }

  .sales-site .sales-hero {
    min-height: auto;
    gap: 26px;
    padding: 60px 0 54px;
  }

  .sales-site .sales-hero h1 { font-size: clamp(58px, 18vw, 78px); }
  .sales-site .hero-text { font-size: 17px; }
  .sales-site .hero-actions { align-items: stretch; }
  .sales-site .hero-actions .site-button { flex: 1 1 190px; }
  .sales-hero-media { min-height: 470px; }
  .hero-browser { top: 42px; right: -24%; width: 112%; animation: none; transform: rotate(-2deg); }
  .hero-phone { left: 0; bottom: 0; width: 152px; animation: none; }
  .hero-phone img { height: 330px; }
  .live-card { padding: 10px 12px; }
  .live-card strong { font-size: 14px; }
  .live-card-top { top: 2px; right: 0; }
  .live-card-bottom { right: 0; bottom: 22px; }

  .sales-site .motion-strip {
    margin-top: 0;
    padding: 22px 18px;
    overflow-x: auto;
    justify-content: flex-start;
  }

  .motion-strip > i { flex: 0 0 34px; }
  .motion-step span { font-size: 11px; }

  .sales-site .site-section { padding: 96px 0; }
  .sales-site .section-heading { margin-bottom: 38px; }
  .sales-site .section-heading h2,
  .sales-site .site-cta h2 { font-size: clamp(40px, 12vw, 58px); }
  .sales-site .section-heading > p:last-child { font-size: 16px; }
  .story-card { min-height: 450px; padding: 28px; }
  .story-number { margin-bottom: 64px; }
  .route-visual, .status-pill, .finish-line { right: 28px; bottom: 28px; left: 28px; }

  .showcase-grid { grid-template-columns: 1fr; }
  .showcase-panel { min-height: 440px; padding: 18px; }
  .web-panel .browser-frame { width: 130%; }
  .mobile-panel { min-height: 620px; }
  .mobile-panel .phone-frame { width: 255px; margin-bottom: -300px; }

  .bento-grid { grid-template-columns: 1fr; }
  .bento-large, .bento-dark, .bento-wide, .bento-field-locations, .bento-job-proof { grid-column: auto; }
  .bento-card { min-height: 300px; padding: 28px; }
  .bento-large { min-height: 400px; }
  .bento-icon,
  .sales-icon { margin-bottom: 46px; }
  .sales-icon { width: 58px; height: 58px; }

  .growth-track { grid-template-columns: 1fr; gap: 12px; }
  .growth-track > i { height: 34px; }
  .growth-track > i::before { content: "↓"; }
  .growth-track article { min-height: 220px; }
  .growth-track article b { margin-bottom: 50px; }

  .sales-price-grid,
  .deep-feature-grid { grid-template-columns: 1fr; }
  .sales-price-card { min-height: 0; padding: 28px; }
  .plan-name { margin-bottom: 32px; }
  .plan-price { min-height: 82px; }
  .plan-price strong { font-size: 52px; }
  .popular-tag { font-size: 11px; }

  .subpage-hero,
  .sales-contact-hero { width: min(100% - 28px, 1260px); }
  .subpage-hero { gap: 46px; padding: 52px 0 76px; }
  .subpage-hero-copy h1,
  .sales-contact-hero h1 { font-size: clamp(48px, 14vw, 66px); line-height: .94; }
  .subpage-hero-copy > p:not(.eyebrow),
  .sales-contact-hero > div > p:not(.eyebrow) { margin-top: 22px; font-size: 18px; line-height: 1.58; }
  .subpage-route-orbit { min-height: 344px; padding: 38px; }
  .subpage-route-orbit span { font-size: 13px; }
  .field-location-proof,
  .field-location-proof.compact { min-height: 540px; padding: 34px 0 96px; transform: none; }
  .field-location-proof-frame,
  .field-location-proof.compact .field-location-proof-frame { width: 148%; margin-left: -24%; transform: rotate(-.5deg); }
  .field-location-proof-frame.web-mobile-proof-frame,
  .field-location-proof.compact .field-location-proof-frame.web-mobile-proof-frame { width: 112%; margin-left: -6%; }
  .field-location-proof,
  .field-location-proof.compact { padding: 28px 0 20px; }
  .field-location-capture-grid,
  .field-location-proof.compact .field-location-capture-grid { grid-template-columns: 1fr; width: calc(100% - 28px); }
  .field-location-iphone-capture { width: min(330px, 100%); justify-self: center; }
  .field-location-iphone-capture > img,
  .field-location-proof.compact .field-location-iphone-capture > img { height: auto; }
  .field-location-proof.compact .field-location-capture-label small { display: inline; }
  .field-location-watermark,
  .field-location-proof.compact .field-location-watermark { width: 120%; max-width: none; right: -44%; opacity: .085; }
  .field-dispatch-callout { right: auto; bottom: auto; left: auto; width: auto; margin: 18px 14px 0; padding: 16px 17px; }
  .field-dispatch-callout strong { font-size: 18px; }
  .field-dispatch-callout span { font-size: 15px; }
  .field-location-bridge { grid-template-columns: 1fr; }
  .field-location-bridge > i { padding: 4px 0; }
  .field-location-bridge article { min-height: 190px; padding: 26px; }
  .job-proof-visual,
  .job-proof-visual.compact { min-height: 710px; padding: 22px; transform: none; }
  .job-proof-photo,
  .job-proof-visual.compact .job-proof-photo { top: 24px; right: 18px; bottom: auto; left: 18px; width: auto; height: 390px; transform: rotate(-.7deg); }
  .job-proof-photo figcaption { right: 18px; bottom: 17px; left: 18px; }
  .job-proof-photo figcaption strong { font-size: 23px; }
  .job-proof-record,
  .job-proof-visual.compact .job-proof-record { top: 360px; right: 14px; left: 14px; width: auto; padding: 20px; transform: rotate(.6deg); }
  .job-proof-record > strong,
  .job-proof-visual.compact .job-proof-record > strong { font-size: 20px; }
  .job-proof-tags span,
  .job-proof-visual.compact .job-proof-tags span { font-size: 8px; }
  .signature-sheet,
  .job-proof-visual.compact .signature-sheet { margin-top: 18px; padding: 17px; }
  .signature-sheet em,
  .job-proof-visual.compact .signature-sheet em { margin-top: 19px; font-size: 27px; }
  .proof-consolidation { grid-template-columns: 1fr; }
  .proof-consolidation > i { padding: 4px 0; transform: rotate(90deg); }
  .proof-consolidation article { min-height: 210px; padding: 26px; }
  .subpage-phone { width: 230px !important; }
  .subpage-phone img { height: 480px; }
  .price-hero-mark { min-height: 330px; }
  .price-hero-mark strong { font-size: 130px; }
  .price-hero-mark span { font-size: 13px; }

  .deep-feature-card { min-height: 320px; padding: 28px; }
  .deep-feature-card h3 { font-size: 26px; }
  .deep-feature-card p { font-size: 17px; }
  .split-deep-section { gap: 48px; }
  .deep-copy h2 { font-size: clamp(42px, 12vw, 58px); }
  .deep-copy > p:not(.eyebrow) { font-size: 18px; }
  .deep-copy li { font-size: 17px; line-height: 1.5; }
  .deep-phone { width: 240px; }
  .deep-phone img { height: 530px; }
  .dual-phone-stage { min-height: 540px; gap: 12px; padding: 48px 8px 0; }
  .dual-phone-stage .phone-frame { width: 43vw; }
  .dual-phone-stage img { height: 520px; }
  .wide-screen-section .browser-frame { width: 145%; }
  .pricing-detail-section { padding-top: 80px !important; }
  .pricing-disclosure { font-size: 16px; }
  .sales-horizontal-scroll { margin-right: -14px; padding-right: 14px; }
  .compare-grid { min-width: 760px; }
  .compare-row > * { padding: 16px; }

  .sales-contact-hero { gap: 44px; padding: 54px 0 80px; }
  .contact-points { display: grid; }
  .contact-points span { width: fit-content; font-size: 14px; }
  .sales-contact-form { padding: 24px !important; }
  .sales-contact-form label { font-size: 16px; }
  .sales-contact-form input,
  .sales-contact-form textarea { font-size: 16px; }
  .sales-contact-form .muted { font-size: 14px; }

  .card-link,
  .panel-link,
  .pricing-page-link { font-size: 16px; }
  .panel-link { right: 18px; bottom: 18px; }

  .sales-site .sales-cta { margin-bottom: 46px; padding: 68px 26px; }
  .sales-footer { grid-template-columns: 1fr; gap: 20px; }
  .sales-footer > div:not(.sales-footer-copy) { flex-wrap: wrap; row-gap: 14px; }
  .sales-footer p,
  .sales-footer a { font-size: 15px; }
  .sales-powered-by { font-size: 13px; }
}

@media (max-width: 420px) {
  .sales-site .site-brand img { height: 38px; max-width: 148px; }
  .sales-mobile-menu summary { padding: 0 12px; }
  .sales-mobile-menu summary::after { margin-left: 7px; }
  .subpage-route-orbit { min-height: 310px; padding: 30px; }
  .subpage-route-orbit span { padding: 10px 12px; letter-spacing: .05em; }
  .dual-phone-stage { min-height: 500px; }
  .dual-phone-stage img { height: 480px; }
  .field-location-proof,
  .field-location-proof.compact { min-height: 520px; }
}

@media (prefers-reduced-motion: reduce) {
  .sales-site *,
  .sales-site *::before,
  .sales-site *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

* { box-sizing: border-box; }

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  min-width: 320px;
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  border-radius: 6px;
  min-height: 38px;
  padding: 0 12px;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, background .16s ease;
}

button.primary {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

button.good {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(20, 32, 51, .10);
}

button:focus-visible {
  outline: 0;
  border-color: rgba(37, 99, 235, .62);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .14);
}

button.danger {
  background: var(--coral);
  border-color: var(--coral);
  color: #fff;
}

button.icon {
  width: 38px;
  padding: 0;
  display: inline-grid;
  place-items: center;
}

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

input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 9px 10px;
  min-height: 38px;
}

input:focus, select:focus, textarea:focus {
  border-color: rgba(16, 135, 245, .55);
  box-shadow: 0 0 0 3px rgba(16, 135, 245, .12);
  outline: 0;
}

.marketing-body {
  background: #f4f6fa;
}

.site {
  min-height: 100vh;
  background:
    radial-gradient(circle at 80% 8%, rgba(16, 135, 245, .12), transparent 28%),
    linear-gradient(180deg, #f8fafc 0%, #eef2f7 44%, #ffffff 100%);
}

.site-nav {
  width: min(1180px, calc(100% - 32px));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.site-brand img {
  display: block;
  width: auto;
  max-width: min(340px, 52vw);
  height: 58px;
  object-fit: contain;
}

.site-nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #475569;
  font-weight: 700;
  font-size: 14px;
}

.site-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 16px;
  background: #fff;
  color: #142033;
  font-weight: 800;
  text-align: center;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(20, 32, 51, .07);
}

.site-button.primary {
  background: #1087f5;
  border-color: #1087f5;
  color: #fff;
}

.site-button.ghost {
  background: rgba(255, 255, 255, .72);
}

.site-button.login-link {
  background: #142033;
  border-color: #142033;
  color: #fff;
}

.hero {
  width: min(1180px, calc(100% - 32px));
  min-height: min(760px, calc(100vh - 118px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(360px, 1.05fr);
  gap: 44px;
  align-items: center;
  padding: 18px 0 34px;
}

.hero-copy {
  padding-bottom: 26px;
}

.eyebrow {
  margin: 0 0 10px;
  color: #1087f5;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero h1 {
  margin: 0;
  font-size: clamp(52px, 8vw, 96px);
  line-height: .9;
  letter-spacing: 0;
}

.hero-text {
  max-width: 660px;
  margin: 22px 0 0;
  color: #475569;
  font-size: 21px;
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 28px 0 0;
}

.hero-points {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.hero-points span {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #475569;
  font-size: 13px;
  font-weight: 800;
  padding: 8px 11px;
}

.hero-media {
  min-width: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(226, 232, 240, .9);
  box-shadow: 0 26px 60px rgba(20, 32, 51, .18);
}

.hero-media img {
  display: block;
  width: 100%;
  height: auto;
}

.platform-admin-site {
  background: #f4f6fa;
}

.platform-admin-hero,
.platform-admin-content {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.platform-admin-hero {
  padding: 26px 0 18px;
}

.platform-admin-hero h1 {
  margin: 0;
  font-size: 42px;
  line-height: 1;
}

.platform-admin-hero p:not(.eyebrow) {
  max-width: 680px;
  color: #475569;
  font-size: 17px;
  line-height: 1.45;
}

.platform-admin-content {
  padding: 10px 0 44px;
}

.platform-admin-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.platform-admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .8fr);
  gap: 18px;
  align-items: start;
}

.platform-admin-form,
.platform-company-list,
.platform-invite-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}

.platform-admin-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 18px;
}

.platform-admin-form h2,
.platform-admin-form .wide,
.platform-admin-form .error,
.platform-admin-form button[type="submit"] {
  grid-column: 1 / -1;
}

.platform-admin-form h2,
.platform-company-list h2,
.platform-invite-card h3 {
  margin: 0;
}

.platform-admin-form textarea {
  min-height: 86px;
}

.app-update-form {
  grid-template-columns: minmax(0, 1fr);
}

.app-update-form .wide,
.app-update-form h2,
.app-update-form button[type="submit"] {
  grid-column: 1 / -1;
}

.app-update-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.app-update-toolbar button {
  min-height: 32px;
  padding: 5px 9px;
  font-size: 12px;
}

.app-update-toolbar small {
  color: var(--muted);
  margin-left: auto;
}

.app-update-targets {
  max-height: 280px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.app-update-target-list {
  display: grid;
}

.app-update-target {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}

.app-update-target:last-child {
  border-bottom: 0;
}

.app-update-target input {
  width: auto;
  min-height: 0;
  margin-top: 3px;
}

.app-update-target span {
  display: grid;
  gap: 2px;
}

.app-update-target small {
  color: var(--muted);
  line-height: 1.35;
}

.app-update-target.disabled {
  opacity: .55;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 9px;
}

.check-row input {
  width: auto;
  min-height: 0;
}

.platform-result {
  margin-top: 14px;
}

.platform-invite-card {
  display: grid;
  gap: 9px;
  padding: 16px;
}

.platform-company-list {
  padding: 18px;
}

.platform-side-stack {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.platform-main-stack {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.platform-master-bugs {
  display: grid;
  gap: 12px;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.platform-master-bug-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.platform-master-bug-head h2,
.platform-master-bug-head p {
  margin: 0;
}

.platform-master-bug-head img,
.pathfinder-copy-preview img {
  width: 62px;
  height: 62px;
  flex: 0 0 62px;
  object-fit: cover;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 8px 22px rgba(15, 23, 42, .18);
}

.platform-master-bug-toolbar {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.platform-master-bug-toolbar input,
.platform-master-bug-toolbar select {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.platform-master-bug-toolbar input {
  grid-column: 1 / -1;
}

.pathfinder-voice-form {
  margin: 0;
}

.pathfinder-copy-preview {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 12px;
  border: 1px solid #bae6fd;
  border-radius: 10px;
  background: #f0f9ff;
}

.pathfinder-copy-preview > div {
  display: grid;
  gap: 3px;
}

.pathfinder-copy-preview span,
.pathfinder-copy-preview small {
  color: var(--muted);
}

.platform-form-actions {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}

.smtp-form {
  box-shadow: var(--soft-shadow);
}

.smtp-test-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  margin-top: 10px;
}

.platform-company-stack {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.platform-company-row {
  display: grid;
  gap: 3px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #f8fafc;
}

.platform-company-row.disabled {
  border-color: rgba(225, 29, 72, .24);
  background: #fff7f8;
}

.platform-company-row span,
.platform-company-row small {
  color: var(--muted);
}

.platform-company-warning {
  color: var(--coral) !important;
  font-weight: 800;
}

.platform-company-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.platform-company-actions button {
  min-height: 32px;
  padding: 5px 9px;
  font-size: 12px;
}

.platform-company-actions .bug-toggle {
  border-color: #94a3b8;
  background: #fff;
  color: #475569;
  font-weight: 800;
}

.platform-company-actions .bug-toggle.enabled {
  border-color: #059669;
  background: #ecfdf5;
  color: #047857;
}

.platform-company-actions .bug-log {
  border-color: rgba(37, 99, 235, .34);
  background: #eff6ff;
  color: #1d4ed8;
  font-weight: 800;
}

.platform-company-actions .bug-log.attention {
  border-color: #e11d48;
  background: #fff1f2;
  color: #be123c;
}

.platform-bug-log,
.platform-bug-detail-form {
  display: grid;
  gap: 14px;
}

.platform-bug-toolbar {
  display: grid;
  grid-template-columns: minmax(180px, .45fr) minmax(240px, 1fr);
  gap: 10px;
}

.platform-bug-list {
  display: grid;
  gap: 9px;
  min-width: 0;
}

.platform-bug-row {
  display: grid;
  gap: 5px;
  width: 100%;
  min-height: 0;
  padding: 12px;
  border-color: var(--line);
  background: #f8fafc;
  color: var(--ink);
  text-align: left;
  white-space: normal;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.platform-bug-row.blocking {
  border-left: 5px solid var(--coral);
}

.platform-bug-row-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

.platform-bug-row-head strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.platform-bug-row > span:not(.platform-bug-row-head),
.platform-bug-row small {
  color: var(--muted);
  font-size: 12px;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.bug-status {
  flex: 0 0 auto;
  min-height: 24px;
  padding: 3px 8px;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 11px;
  font-weight: 900;
}

.bug-status.status-fixed {
  border-color: #a7f3d0;
  background: #ecfdf5;
  color: #047857;
}

.bug-status.status-need_more_information,
.bug-status.status-planned {
  border-color: #fde68a;
  background: #fffbeb;
  color: #b45309;
}

.bug-status.status-duplicate,
.bug-status.status-wont_change {
  border-color: #cbd5e1;
  background: #f1f5f9;
  color: #475569;
}

.platform-bug-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 4px 12px;
  background: #f8fafc;
}

.platform-bug-copy {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
}

.platform-bug-copy h3 {
  margin: 0 0 6px;
  font-size: 14px;
}

.platform-bug-copy p {
  margin: 0 0 16px;
  white-space: pre-wrap;
}

.platform-bug-copy p:last-child {
  margin-bottom: 0;
}

.platform-bug-media {
  display: grid;
  justify-items: start;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0f172a;
}

.platform-bug-media img,
.platform-bug-media video {
  display: block;
  width: 100%;
  max-height: 62vh;
  object-fit: contain;
  border-radius: 6px;
  background: #020617;
}

.platform-bug-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.platform-bug-fields .wide {
  grid-column: 1 / -1;
}

.platform-bug-fields textarea {
  min-height: 100px;
}

.platform-bug-diagnostics {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
}

.platform-bug-diagnostics summary {
  cursor: pointer;
  font-weight: 800;
}

.platform-bug-diagnostics pre {
  max-height: 320px;
  overflow: auto;
  padding: 12px;
  border-radius: 6px;
  background: #0f172a;
  color: #e2e8f0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

@media (max-width: 700px) {
  .platform-bug-toolbar,
  .platform-bug-meta,
  .platform-bug-fields {
    grid-template-columns: 1fr;
  }

  .platform-bug-row-head {
    display: grid;
  }
}

.site-band,
.site-section,
.site-cta {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: #142033;
  color: #fff;
  border-radius: 8px;
  padding: 22px;
}

.site-band .site-button {
  min-width: 124px;
}

.site-band strong {
  display: block;
  font-size: 20px;
}

.site-band p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, .74);
}

.site-section {
  padding: 78px 0 0;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 22px;
}

.section-heading h2,
.split-section h2,
.site-cta h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.04;
  letter-spacing: 0;
}

.feature-grid,
.price-grid,
.market-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.feature-card,
.price-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  box-shadow: var(--soft-shadow);
}

.market-section {
  padding-top: 54px;
}

.market-grid .feature-card {
  background: #f8fafc;
}

.feature-card h3,
.price-card h3 {
  margin: 0 0 8px;
  font-size: 19px;
}

.feature-card p,
.price-card p,
.split-section p,
.site-cta p {
  color: #5b6575;
  line-height: 1.55;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, .76fr) minmax(420px, 1.24fr);
  gap: 30px;
  align-items: center;
}

.office-flow {
  display: grid;
  gap: 12px;
}

.flow-step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  box-shadow: var(--soft-shadow);
}

.flow-step span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #142033;
  color: #33e083;
  font-weight: 900;
}

.flow-step h3 {
  margin: 0 0 5px;
  font-size: 18px;
}

.flow-step p {
  margin: 0;
}

.price-card strong {
  display: block;
  color: #1087f5;
  font-size: 24px;
}

.price-card ul {
  margin: 16px 0 0;
  padding-left: 18px;
  color: #475569;
  line-height: 1.8;
}

.site-cta {
  margin-top: 76px;
  margin-bottom: 40px;
  background: #142033;
  color: #fff;
  border-radius: 8px;
  padding: 36px;
  text-align: center;
}

.site-cta p {
  color: rgba(255, 255, 255, .76);
}

.contact-site {
  min-height: 100vh;
}

.contact-hero {
  width: min(1080px, calc(100% - 32px));
  min-height: calc(100vh - 74px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, .7fr);
  gap: 34px;
  align-items: center;
  padding: 44px 0;
}

.contact-hero h1 {
  margin: 0;
  font-size: clamp(42px, 6vw, 72px);
  line-height: .96;
  letter-spacing: 0;
}

.contact-hero p {
  max-width: 620px;
  color: #475569;
  font-size: 19px;
  line-height: 1.55;
}

.contact-form {
  display: grid;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.contact-form .wide {
  grid-column: auto;
}

.contact-form p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
}

.manual-site {
  min-height: 100vh;
  background:
    linear-gradient(180deg, #f8fafc 0%, #eef3f8 34%, #ffffff 100%);
  color: var(--ink);
}

.manual-nav {
  width: min(1180px, calc(100% - 32px));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.manual-brand img {
  display: block;
  width: auto;
  max-width: min(320px, 52vw);
  height: 54px;
  object-fit: contain;
}

.manual-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #475569;
  font-weight: 800;
  font-size: 14px;
}

.manual-nav-actions a {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  padding: 9px 12px;
}

.manual-hero {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 360px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  gap: 32px;
  align-items: center;
  padding: 28px 0 36px;
}

.manual-hero h1 {
  margin: 0;
  max-width: 720px;
  font-size: 58px;
  line-height: .96;
  letter-spacing: 0;
}

.manual-hero p {
  max-width: 650px;
  color: #475569;
  font-size: 18px;
  line-height: 1.55;
}

.manual-search-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  padding: 18px;
  display: grid;
  gap: 14px;
}

.manual-search-panel input {
  min-height: 48px;
  font-size: 15px;
}

.manual-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.manual-chips button {
  min-height: 34px;
  color: #475569;
  font-size: 13px;
  font-weight: 800;
}

.manual-chips button.active {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}

.manual-count {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.manual-fast-path {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.manual-metric {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 14px;
  display: grid;
  gap: 4px;
}

.manual-metric strong {
  color: var(--blue);
  font-size: 30px;
  line-height: 1;
}

.manual-metric span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.manual-results {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 8px 0 56px;
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.manual-index {
  position: sticky;
  top: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--soft-shadow);
  padding: 14px;
  display: grid;
  gap: 6px;
}

.manual-index strong {
  margin-bottom: 4px;
}

.manual-index a {
  border-radius: 6px;
  color: #475569;
  padding: 8px 9px;
  font-size: 13px;
  font-weight: 800;
}

.manual-index a:hover {
  background: #eef6ff;
  color: var(--blue);
}

.manual-topic-list {
  display: grid;
  gap: 14px;
}

.manual-topic,
.manual-empty {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--soft-shadow);
  padding: 20px;
  scroll-margin-top: 18px;
}

.manual-topic-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.manual-topic-head span {
  border-radius: 999px;
  background: #eef6ff;
  color: #1e40af;
  padding: 6px 9px;
  font-size: 12px;
  font-weight: 900;
}

.manual-topic-head a {
  color: var(--ink);
  font-size: 24px;
  line-height: 1.2;
  font-weight: 900;
}

.manual-summary {
  margin: 10px 0 14px;
  color: #475569;
  line-height: 1.55;
}

.manual-topic ol {
  margin: 0;
  padding-left: 22px;
  display: grid;
  gap: 8px;
  color: #263244;
  line-height: 1.5;
}

.manual-tip {
  margin-top: 16px;
  border-left: 4px solid var(--green);
  background: #f0fdf4;
  padding: 12px 14px;
  display: grid;
  gap: 4px;
}

.manual-tip p {
  margin: 0;
  color: #31523f;
  line-height: 1.45;
}

textarea {
  min-height: 92px;
  resize: vertical;
}

.settings-logo-row {
  display: grid;
  grid-template-columns: minmax(180px, 280px) 1fr;
  gap: 16px;
  align-items: end;
  margin: 10px 0 16px;
}

.settings-logo-preview {
  min-height: 92px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  display: grid;
  place-items: center;
  padding: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.settings-logo-preview img {
  max-width: 100%;
  max-height: 76px;
  object-fit: contain;
}

.settings-shell {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.settings-nav {
  position: sticky;
  top: 14px;
  display: grid;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px;
  box-shadow: var(--soft-shadow);
}

.settings-nav button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  padding: 9px 10px;
  border-radius: 6px;
  text-align: left;
  cursor: pointer;
}

.settings-nav button:hover,
.settings-nav button:focus,
.settings-nav button.active {
  background: #f1f5f9;
  color: var(--blue);
}

.settings-body {
  display: grid;
  gap: 14px;
}

.settings-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  box-shadow: var(--soft-shadow);
  scroll-margin-top: 16px;
}

.settings-card-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.settings-card-heading h2 {
  margin: 0;
  font-size: 16px;
}

.settings-inline-action {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
}

.settings-save-bar {
  display: flex;
  justify-content: flex-end;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--soft-shadow);
}

.settings-account-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  padding: 14px;
  display: grid;
  gap: 6px;
  max-width: 520px;
  color: var(--muted);
  font-size: 13px;
}

.settings-account-panel strong {
  color: #059669;
  font-size: 15px;
}

.settings-account-panel .ghost {
  margin-top: 8px;
  justify-self: start;
}

.settings-account-panel .manual-link {
  margin-top: 8px;
  justify-self: start;
}

.settings-permission-roles {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.settings-permission-role-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdff;
  overflow: hidden;
}

.settings-permission-role-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  padding: 12px 14px;
  background: #f8fafc;
  border-bottom: 1px solid var(--line);
}

.settings-permission-role-head h3 {
  margin: 0;
  font-size: 15px;
}

.settings-permission-role-head span {
  color: var(--muted);
  font-size: 12px;
}

.settings-permission-role-body {
  display: grid;
}

.settings-permission-module {
  display: grid;
  grid-template-columns: minmax(126px, .8fr) minmax(0, 1.4fr);
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}

.settings-permission-module:last-child {
  border-bottom: 0;
}

.settings-permission-module strong {
  font-size: 13px;
  line-height: 1.25;
}

.settings-permission-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  justify-content: flex-end;
}

.settings-permission-toggle {
  cursor: pointer;
}

.settings-permission-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.settings-permission-toggle span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  min-width: 58px;
  padding: 6px 10px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #fff;
  color: #475569;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.1;
}

.settings-permission-toggle input:checked + span {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

.settings-permission-toggle input:focus-visible + span {
  outline: 3px solid rgba(37, 99, 235, .22);
  outline-offset: 2px;
}

.settings-permission-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  background: #eff6ff;
  color: #1e3a8a;
  padding: 10px 12px;
  margin-top: 10px;
}

.settings-permission-note span {
  flex: 0 0 auto;
  padding: 3px 7px;
  border-radius: 999px;
  background: #dbeafe;
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
}

.settings-permission-note p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
}

.notification-panel {
  display: grid;
  gap: 12px;
}

.notification-panel.has-unread {
  border-color: rgba(225, 29, 72, .24);
  box-shadow: 0 16px 38px rgba(225, 29, 72, .09);
}

.notification-panel-head,
.notification-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.notification-panel-head h2 {
  margin: 0;
}

.notification-panel-head p {
  margin: 4px 0 0;
}

.notification-actions,
.notification-row-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.notification-list {
  display: grid;
  gap: 8px;
}

.dashboard-notification-list {
  max-height: 480px;
  overflow: auto;
  padding-right: 2px;
}

.notification-list.full {
  gap: 10px;
}

.notification-row {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 11px;
  cursor: pointer;
}

.notification-row.unread {
  border-color: rgba(225, 29, 72, .28);
  background: #fff7f8;
}

.notification-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #142033;
  color: #fff;
}

.notification-mark svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.notification-title-line {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.notification-main p {
  margin: 4px 0;
  color: var(--muted);
  line-height: 1.35;
}

.notification-main small {
  color: var(--subtle);
  font-weight: 700;
}

.notification-detail {
  display: grid;
  gap: 10px;
}

.dashboard-notification-row {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 9px;
  cursor: pointer;
}

.dashboard-notification-row.unread {
  border-color: rgba(225, 29, 72, .28);
  background: #fff7f8;
}

.dashboard-notification-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: #142033;
  color: #fff;
}

.dashboard-notification-icon svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dashboard-notification-main {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.dashboard-notification-main strong,
.dashboard-notification-main span,
.dashboard-notification-main small {
  overflow: hidden;
  text-overflow: ellipsis;
}

.dashboard-notification-main strong {
  font-size: 13px;
  line-height: 1.25;
}

.dashboard-notification-main span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
  white-space: nowrap;
}

.dashboard-notification-main small {
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.dashboard-notification-actions {
  display: flex;
  gap: 6px;
}

.dashboard-notification-actions button {
  min-height: 30px;
  padding: 5px 9px;
  font-size: 12px;
}

.compact-textarea textarea {
  min-height: 54px;
}

label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.app {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 252px 1fr;
  background: var(--canvas);
}

.app.nav-top {
  grid-template-columns: 1fr;
}

.sidebar {
  background: linear-gradient(180deg, #17181b 0%, #222326 100%);
  color: #fff;
  padding: 16px 14px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: auto;
}

.brand {
  display: grid;
  gap: 10px;
  padding: 0 8px 16px;
  border-bottom: 1px solid rgba(255,255,255,.14);
  margin-bottom: 12px;
}

.brand img {
  display: block;
  width: 178px;
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.20));
}

.brand span {
  color: rgba(255,255,255,.68);
  font-size: 12px;
}

.nav {
  display: grid;
  gap: 4px;
}

.top-module-menu {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 10px 24px;
  position: sticky;
  top: 79px;
  z-index: 2;
}

.nav-horizontal {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.nav button {
  width: 100%;
  justify-content: flex-start;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 10px;
  border-color: transparent;
  background: transparent;
  color: rgba(255,255,255,.82);
  min-height: 44px;
}

.nav button.active {
  background: rgba(255,255,255,.16);
  color: #fff;
  border-color: rgba(255,255,255,.12);
}

.nav .glyph {
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  border-radius: 6px;
  background: rgba(255,255,255,.12);
  flex: 0 0 auto;
}

.nav-horizontal button {
  width: auto;
  flex: 0 0 auto;
  background: #f8fafc;
  color: var(--ink);
  border-color: var(--line);
  min-height: 42px;
}

.nav-horizontal button.active {
  background: #10223d;
  color: #fff;
  border-color: #10223d;
}

.nav-horizontal .glyph {
  background: rgba(16,34,61,.08);
}

.nav-horizontal button.active .glyph {
  background: rgba(255,255,255,.14);
}

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

.main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.topbar {
  background: rgba(255,255,255,.90);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  position: sticky;
  top: 0;
  z-index: 3;
}

.top-title {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.top-title img {
  width: 126px;
  max-width: 24vw;
  height: auto;
  flex: 0 0 auto;
}

.topbar h1 {
  margin: 0;
  font-size: 28px;
  line-height: 1.15;
}

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

.top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.auto-sync-status {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
  min-width: 118px;
  text-align: center;
  white-space: nowrap;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.menu-toggle .glyph {
  width: 22px;
  height: 22px;
}

.menu-toggle svg {
  width: 16px;
  height: 16px;
}

.content {
  padding: 20px 24px 34px;
  min-width: 0;
  flex: 1 1 auto;
}

.login {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 18px;
  background:
    radial-gradient(circle at 75% 12%, rgba(16, 135, 245, .13), transparent 28%),
    linear-gradient(180deg, #f7fafc 0%, #edf4f2 100%);
}

.login-panel {
  width: min(440px, 100%);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 22px;
}

.login-panel::before {
  content: "";
  display: block;
  width: 210px;
  height: 48px;
  margin-bottom: 14px;
  background: url("./assets/zen-fieldops-logo-new.png") left center / contain no-repeat;
}

.login-panel h1 {
  margin: 0 0 4px;
  font-size: 26px;
}

.login-panel p {
  margin: 0 0 18px;
  color: var(--muted);
}

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

.create-company-form h2 {
  margin: 0 0 12px;
  font-size: 17px;
}

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

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

.phone-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.phone-input-row input {
  width: 100%;
}

.phone-field-call {
  min-height: 42px;
  padding-inline: 14px;
}

.form-actions-wide {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  padding-top: 4px;
}

.form-actions-wide .contact-location-view {
  flex: 1 1 100%;
}

.form-section-title {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
  padding: 9px 0 2px;
  border-bottom: 1px solid var(--line);
}

.form-section-title:first-child {
  margin-top: 0;
}

.form-section-title span {
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

input[readonly] {
  background: #f1f5f9;
  color: #475569;
  cursor: default;
}

.date-time-field {
  position: relative;
  gap: 8px;
}

.date-time-field .date-time-display {
  grid-column: 2;
}

.date-time-display {
  width: 100%;
  min-height: 42px;
  justify-content: flex-start;
  text-align: left;
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
}

.date-time-picker {
  grid-column: 1 / -1;
  width: 100%;
  min-width: min(620px, 100%);
  display: grid;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.date-picker-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(86px, 1fr));
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.date-picker-days button,
.date-time-options button {
  min-height: 52px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 2px;
  background: #f8fafc;
}

.date-picker-days button.active,
.date-time-options button.active {
  border-color: rgba(37, 99, 235, .48);
  background: #eff6ff;
  color: var(--blue);
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, .18);
}

.date-picker-days span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.date-picker-days strong {
  font-size: 11px;
  line-height: 1.15;
  white-space: nowrap;
}

.date-time-window,
.date-time-actions {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 8px;
  align-items: center;
}

.date-time-window strong {
  text-align: center;
  color: var(--ink);
}

.date-time-options {
  display: grid;
  grid-template-columns: repeat(5, minmax(88px, 1fr));
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.date-time-actions {
  grid-template-columns: 1fr 1fr;
}

.address-suggestions {
  display: grid;
  gap: 6px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.address-suggestions button {
  display: grid;
  min-height: 52px;
  justify-items: start;
  align-content: center;
  gap: 2px;
  text-align: left;
  white-space: normal;
  background: #f8fafc;
}

.address-suggestions strong {
  font-size: 13px;
}

.address-suggestions span {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.25;
}

.products-builder {
  gap: 9px;
}

.product-builder-row {
  display: grid;
  grid-template-columns: minmax(170px, 1.2fr) minmax(160px, 1fr) 92px 110px auto;
  gap: 8px;
  align-items: end;
}

.product-builder-row button {
  min-height: 38px;
}

.product-lines {
  display: grid;
  gap: 8px;
}

.product-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  min-height: 48px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.product-line strong,
.product-line span {
  display: block;
}

.product-line span {
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
}

.product-line b {
  font-size: 14px;
}

.product-line button {
  min-height: 30px;
  font-size: 12px;
}

.detail-lines .product-line {
  grid-template-columns: minmax(0, 1fr) auto;
}

.wo-products-summary {
  display: grid;
  gap: 4px;
  margin-top: 12px;
  padding: 10px;
  border: 1px solid #e8edf4;
  border-radius: 8px;
  background: #fbfdff;
}

.wo-products-summary.compact {
  gap: 2px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.wo-products-summary strong {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--ink);
}

.wo-products-summary span,
.wo-products-summary small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.wo-products-summary.compact span,
.wo-products-summary.compact small {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.management-host:empty {
  display: none;
}

.management-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.select-all {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: auto;
  min-height: 32px;
  margin: 0;
  color: var(--ink);
  font-weight: 900;
}

.select-all input,
.row-select {
  width: 18px;
  height: 18px;
  accent-color: var(--blue);
}

.select-col {
  width: 42px;
  text-align: center;
}

.card-select {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
}

.record-card,
.wo-list-card {
  position: relative;
}

.record-card .card-select + .record-card-head,
.wo-list-card .card-select + .wo-list-main {
  padding-left: 30px;
}

.management-panel {
  display: grid;
  gap: 12px;
}

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

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

.migration-card {
  display: grid;
  gap: 16px;
}

.migration-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.migration-heading h2 {
  margin-bottom: 6px;
}

.migration-heading p {
  margin: 0;
  max-width: 760px;
}

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

.migration-steps article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  padding: 12px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
}

.migration-steps strong {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  display: grid;
  place-items: center;
}

.migration-steps b,
.migration-steps span {
  display: block;
}

.migration-steps span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.migration-center {
  display: grid;
  gap: 14px;
}

.migration-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
}

.migration-controls {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
}

.migration-check {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 8px;
  min-height: 42px;
}

.migration-check input {
  width: auto;
}

.migration-intro {
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  padding: 14px;
}

.migration-intro h3,
.migration-mapping h3,
.migration-preview h3 {
  margin: 0 0 6px;
}

.migration-intro p,
.migration-mapping p {
  margin: 0;
}

.migration-source-note {
  margin-top: 8px !important;
  font-size: 12px;
  font-weight: 700;
}

.migration-status {
  min-height: 20px;
}

.migration-mapping,
.migration-preview,
.migration-failure-report,
.migration-checklist {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 14px;
}

.migration-failure-report[hidden] {
  display: none;
}

.migration-failure-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.migration-failure-head h3,
.migration-failure-head p {
  margin: 0;
}

.migration-failure-table pre {
  margin: 0;
  max-width: 420px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font: 12px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.migration-export-guide[hidden] {
  display: none;
}

.migration-api-transfer[hidden] {
  display: none;
}

.migration-api-panel {
  border: 1px solid #b7d7ff;
  border-radius: 8px;
  background: #f8fbff;
  padding: 14px;
  display: grid;
  gap: 12px;
}

.migration-api-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.migration-api-head h3,
.migration-api-head p {
  margin: 0;
}

.migration-api-head p {
  color: var(--muted);
  margin-top: 4px;
}

.migration-api-head span {
  border: 1px solid #b7d7ff;
  border-radius: 999px;
  color: #075985;
  background: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 10px;
  white-space: nowrap;
}

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

.migration-api-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.migration-api-sample {
  min-width: 0;
}

.migration-odoo-guide {
  border: 1px solid #b7d7ff;
  border-radius: 8px;
  background: #f4f9ff;
  padding: 14px;
  display: grid;
  gap: 12px;
}

.migration-odoo-guide-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.migration-odoo-guide-head h3,
.migration-odoo-guide-head p {
  margin: 0;
}

.migration-odoo-guide-head p {
  color: var(--muted);
  margin-top: 4px;
}

.migration-odoo-guide-head span {
  border: 1px solid #b7d7ff;
  border-radius: 999px;
  color: #075985;
  background: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 10px;
  white-space: nowrap;
}

.migration-odoo-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.migration-odoo-fields article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 12px;
}

.migration-odoo-fields strong {
  display: block;
  margin-bottom: 8px;
}

.migration-odoo-fields ul {
  margin: 0;
  padding-left: 18px;
  columns: 2;
}

.migration-odoo-fields li {
  break-inside: avoid;
  margin-bottom: 4px;
}

.migration-odoo-tip {
  margin: 0;
  color: #075985;
  font-weight: 700;
}

.migration-map-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.migration-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 10px 0 12px;
}

.migration-summary-grid div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  padding: 10px;
}

.migration-summary-grid strong {
  display: block;
  color: var(--blue);
  font-size: 24px;
}

.migration-summary-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.migration-table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.migration-table {
  min-width: 840px;
  width: 100%;
  border-collapse: collapse;
}

.migration-table th,
.migration-table td {
  border-bottom: 1px solid var(--line);
  padding: 9px;
  text-align: left;
  vertical-align: top;
  font-size: 13px;
}

.migration-table th {
  background: #f8fafc;
  color: var(--muted);
  font-size: 12px;
}

.migration-table tr.ready td:first-child {
  border-left: 4px solid var(--green);
}

.migration-table tr.warn td:first-child {
  border-left: 4px solid var(--amber);
}

.migration-table tr.blocked td:first-child {
  border-left: 4px solid var(--coral);
}

.migration-checklist {
  display: grid;
  gap: 8px;
}

.migration-checklist ol {
  margin: 0;
  padding-left: 22px;
  columns: 2;
}

.locked-notice,
.locked-invoice {
  border-color: rgba(217, 119, 6, .28);
  background: #fff7ed;
}

.locked-notice {
  display: grid;
  gap: 6px;
}

.invoice-customer-panel,
.invoice-actions {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  padding: 12px;
}

.invoice-customer-panel.compact {
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 14px;
}

.invoice-customer-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.invoice-customer-chips > span {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  padding: 6px 8px;
}

.invoice-customer-chips small {
  color: var(--muted);
  font-weight: 800;
}

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

.invoice-phone-action {
  display: flex;
  justify-content: flex-start;
}

.invoice-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.invoice-preview-text {
  max-height: 70vh;
  overflow: auto;
  white-space: pre-wrap;
  font: 14px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
}

.wo-flow {
  display: grid;
  gap: 8px;
}

.wo-quick-status {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
}

.wo-quick-status button {
  min-height: 30px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 900;
}

.wo-status-optic {
  display: inline-grid;
  grid-template-columns: 12px auto;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  border: 1px solid #d8e0eb;
  border-radius: 999px;
  padding: 4px 10px;
  background: #f8fafc;
  color: #334155;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.wo-status-light {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #64748b;
  box-shadow: 0 0 0 3px rgba(100, 116, 139, .12);
}

.wo-status-optic.yellow .wo-status-light {
  background: #facc15;
  box-shadow: 0 0 0 3px rgba(250, 204, 21, .18);
}

.wo-status-optic.green .wo-status-light {
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, .16);
}

.wo-status-optic.blue .wo-status-light {
  background: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .15);
}

.wo-status-optic.red .wo-status-light {
  background: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, .14);
}

.pause-work-order-inline,
.pause-work-order-form {
  display: grid;
  gap: 10px;
}

.pause-work-order-inline {
  border: 1px solid rgba(220, 38, 38, .22);
  border-radius: 8px;
  padding: 12px;
  background: #fff7f7;
}

.pause-work-order-inline[hidden],
.unknown-issue-field[hidden] {
  display: none;
}

.pause-work-order-inline textarea,
.pause-work-order-form textarea {
  min-height: 90px;
}

.wo-flow-card {
  display: grid;
  gap: 18px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.wo-flow-card label {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  margin: 0;
  color: #111827;
  font-size: 12px;
  font-weight: 800;
}

.wo-flow-card input,
.wo-flow-card select,
.wo-flow-card textarea,
.wo-flow-card .date-time-display {
  min-height: 30px;
  border-width: 0 0 1px;
  border-radius: 0;
  padding: 5px 8px;
  box-shadow: none;
}

.wo-flow-card input[readonly] {
  background: #fff;
  color: #0f172a;
  font-weight: 900;
}

.wo-title-row {
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
  gap: 8px;
}

.wo-title-row label {
  grid-template-columns: 1fr;
  gap: 3px;
  font-size: 11px;
  color: #8a95a8;
}

.wo-title-row input[name="number"] {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 14px;
  font-size: 24px;
}

.wo-title-row input[name="title"] {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #64748b;
}

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

.wo-flow-card fieldset {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.wo-flow-card legend {
  padding: 0 0 8px;
  color: #0f172a;
  font-size: 12px;
  font-weight: 1000;
  text-transform: uppercase;
}

.wo-address-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(160px, .32fr);
  gap: 10px 16px;
}

.wo-address-grid label:first-child,
.wo-address-grid label:nth-child(3),
.wo-address-grid label:nth-child(5) {
  grid-column: 1;
}

.wo-address-grid label:nth-child(2),
.wo-address-grid label:nth-child(4) {
  grid-column: 2;
}

.wo-invoice-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 8px 16px;
}

.wo-invoice-grid input[readonly] {
  background: #f5f8fc;
  color: #142033;
  font-weight: 700;
}

.wo-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid #cfd7e3;
}

.wo-tabs button {
  min-height: 34px;
  border-radius: 6px 6px 0 0;
  border-bottom: 0;
  background: #fff;
  color: #6d5e9c;
  font-size: 12px;
}

.wo-tabs button.active {
  border-color: #cfd7e3;
  color: #142033;
  box-shadow: none;
}

.wo-tab-panel {
  min-height: 138px;
  border: 1px solid #d9e1ec;
  border-top: 0;
  background: #fff;
}

.wo-photos-panel,
.wo-photo-group {
  display: grid;
  gap: 10px;
}

.wo-photo-upload {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px;
}

.button-like {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 7px 12px;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.button-like.primary {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

.button-like input[type="file"] {
  display: none;
}

.wo-photo-group {
  padding: 0 10px 10px;
}

.wo-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(138px, 1fr));
  gap: 10px;
}

.wo-photo-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.wo-photo-card:hover,
.wo-photo-card:focus-visible {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .14);
  outline: none;
}

.wo-photo-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #f1f5f9;
}

.wo-photo-card div {
  display: grid;
  gap: 3px;
  padding: 8px;
}

.wo-photo-card b,
.wo-photo-card span {
  overflow-wrap: anywhere;
}

.wo-photo-card span {
  color: var(--muted);
  font-size: 12px;
}

.photo-viewer {
  display: grid;
  gap: 12px;
}

.photo-modal-backdrop {
  z-index: 35;
}

.photo-modal {
  width: min(1120px, 100%);
}

.photo-viewer-help {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.photo-viewer-stage {
  overflow: auto;
  max-width: min(86vw, 980px);
  max-height: 72vh;
  border-radius: 8px;
  background: #020617;
  text-align: center;
}

.photo-viewer-stage img {
  display: block;
  max-width: 100%;
  max-height: 72vh;
  margin: auto;
  object-fit: contain;
  transform-origin: center center;
}

.photo-viewer-meta {
  display: grid;
  gap: 4px;
}

.photo-zoom-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.photo-zoom-actions button {
  min-height: 32px;
  padding: 6px 10px;
}

.photo-zoom-actions span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.photo-viewer-meta span {
  color: var(--muted);
  font-size: 13px;
}

.wo-tab-panel label {
  grid-template-columns: 1fr;
  gap: 6px;
  padding: 10px;
}

.wo-tab-table .products-builder {
  padding: 0;
}

.wo-tab-table .products-builder > div {
  border-radius: 0;
}

.wo-tab-table .product-lines {
  border-top: 1px solid #e8edf4;
}

.wo-tab-table .product-line {
  border-width: 0 0 1px;
  border-radius: 0;
  background: #f8fafc;
}

.signature-field {
  padding: 10px;
}

.signature-shell {
  display: grid;
  gap: 8px;
}

.signature-pad {
  width: 100%;
  height: 180px;
  border: 1px solid #e4e9f1;
  background: #fff;
  touch-action: none;
}

.signature-actions {
  display: flex;
  justify-content: flex-end;
}

.signature-preview {
  display: grid;
  gap: 8px;
  justify-items: start;
  width: 100%;
  min-height: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: #fff;
  color: var(--ink);
  text-align: left;
  box-shadow: none;
}

.signature-preview img {
  display: block;
  width: min(100%, 360px);
  max-height: 140px;
  object-fit: contain;
  border: 1px solid #e4e9f1;
  border-radius: 6px;
  background: #fff;
}

.signature-viewer img {
  display: block;
  max-width: min(86vw, 980px);
  max-height: 72vh;
  object-fit: contain;
  border: 1px solid #e4e9f1;
  border-radius: 8px;
  background: #fff;
}

.contact-location-view {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.contact-location-view h3 {
  margin: 0;
  font-size: 16px;
}

.contact-location-search {
  width: 100%;
}

.contact-location-list {
  display: grid;
  gap: 8px;
}

.contact-location-card {
  display: grid;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: #f8fafc;
}

.contact-location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.field-locations-content {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 188px);
}

.field-location-workspace {
  display: grid;
  grid-template-columns: minmax(280px, 330px) minmax(0, 1fr);
  gap: 14px;
  min-height: 0;
  flex: 1 1 auto;
}

.field-location-sidebar {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 10px;
  min-height: 0;
}

.field-location-map-host {
  display: grid;
  min-width: 0;
  min-height: 0;
}

.field-location-sidebar .subtoolbar {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.field-location-sidebar .subtoolbar .search {
  width: 100%;
}

.field-location-roster {
  display: grid;
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.field-location-roster.empty {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  min-height: 100%;
  padding: 24px;
  text-align: center;
  color: var(--muted);
}

.field-location-card {
  display: grid;
  gap: 8px;
  align-items: stretch;
}

.field-location-list {
  display: grid;
  align-content: start;
  min-height: 0;
  overflow: auto;
}

.field-location-card {
  cursor: pointer;
  min-height: 0;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  background: #fff;
  text-align: left;
}

.field-location-card:hover,
.field-location-card.selected {
  background: #f0fdfa;
}

.field-location-card.selected {
  box-shadow: inset 4px 0 0 var(--teal);
}

.field-location-card:last-child {
  border-bottom: 0;
}

.field-location-person {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.field-location-person strong,
.field-location-person span,
.field-location-coordinates {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.field-location-card > span,
.field-location-coordinates {
  color: var(--muted);
  font-size: 12px;
}

.field-location-actions {
  display: flex;
  justify-content: stretch;
}

.field-location-actions button {
  width: 100%;
}

.field-location-map {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #dbeafe;
  box-shadow: var(--soft-shadow);
}

.field-location-map-toolbar {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(20, 32, 51, .16);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
}

.field-location-map-toolbar span {
  color: var(--muted);
  font-size: 12px;
}

.field-location-map-canvas {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  background: #dbeafe;
}

.field-location-map-tiles,
.field-location-map-pins {
  position: absolute;
  inset: 0;
}

.field-location-map-tile {
  position: absolute;
  width: 256px;
  height: 256px;
  user-select: none;
}

.field-location-map-pin {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  transform: translate(-50%, -100%);
  width: 0;
  height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.field-location-map-pin::before {
  content: "";
  position: absolute;
  left: calc(var(--accuracy) / -2);
  top: calc(var(--accuracy) / -2);
  width: var(--accuracy);
  height: var(--accuracy);
  border-radius: 999px;
  background: rgba(15, 118, 110, .14);
  border: 1px solid rgba(15, 118, 110, .25);
  transform: translate(0, -10px);
}

.field-location-pin-dot {
  position: absolute;
  width: 20px;
  height: 20px;
  border: 3px solid #fff;
  border-radius: 999px 999px 999px 2px;
  background: var(--teal);
  box-shadow: 0 8px 20px rgba(20, 32, 51, .28);
  transform: rotate(-45deg);
}

.field-location-map-pin.selected .field-location-pin-dot {
  width: 24px;
  height: 24px;
  background: var(--amber);
}

.field-location-pin-label {
  position: absolute;
  top: 12px;
  left: 14px;
  max-width: 190px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  border: 1px solid rgba(20, 32, 51, .14);
  border-radius: 999px;
  padding: 5px 8px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 8px 18px rgba(20, 32, 51, .18);
  font-size: 12px;
  font-weight: 800;
}

.field-location-map-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  color: var(--muted);
  text-align: center;
}

.field-location-map-attribution {
  position: absolute;
  right: 8px;
  bottom: 6px;
  z-index: 3;
  border-radius: 4px;
  padding: 3px 6px;
  background: rgba(255,255,255,.86);
  color: var(--muted);
  font-size: 10px;
}

@media (max-width: 860px) {
  .field-locations-content {
    min-height: calc(100vh - 156px);
  }

  .field-location-workspace {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(380px, 52vh) minmax(260px, 1fr);
  }

  .field-location-sidebar {
    order: 2;
  }

  .field-location-map {
    order: 1;
  }

  .field-location-map-canvas {
    min-height: 0;
  }

  .field-location-pin-label {
    max-width: 140px;
  }
}

.wo-notes-tab {
  display: grid;
  gap: 8px;
}

.toolbar, .subtoolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.subtoolbar {
  align-items: stretch;
}

.search {
  max-width: 360px;
  min-height: 42px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23697386' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.35-4.35'/%3E%3C/svg%3E") 12px center / 18px no-repeat;
  padding-left: 40px;
}

.employee-searchbar {
  justify-content: flex-start;
}

.employee-searchbar .search {
  flex: 1;
  max-width: 520px;
}

.view-tabs {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #e8edf4;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 4px;
}

.view-tabs button {
  min-height: 32px;
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  font-size: 13px;
  font-weight: 800;
}

.view-tabs button.active {
  background: #fff;
  border-color: var(--line);
  color: var(--blue);
}

.scoped-filter-host {
  min-height: 0;
}

.scoped-filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  padding: 7px 8px 7px 12px;
  border: 1px solid rgba(37,99,235,.22);
  border-radius: 8px;
  background: rgba(37,99,235,.07);
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.scoped-filter button {
  min-height: 28px;
  padding: 4px 9px;
  border-color: rgba(37,99,235,.25);
  background: #fff;
  color: var(--blue);
  box-shadow: none;
  font-size: 12px;
}

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

.dashboard-stats {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(360px, .75fr);
  gap: 14px;
  align-items: start;
  margin-bottom: 14px;
}

.dashboard-panel {
  min-width: 0;
  margin-bottom: 0;
}

.dashboard-panel-today {
  border-color: rgba(37, 99, 235, .18);
}

.dashboard-list {
  display: grid;
  gap: 8px;
}

.dashboard-work-item {
  width: 100%;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(120px, .42fr) minmax(0, 1fr) minmax(140px, .55fr);
  gap: 10px;
  align-items: center;
  text-align: left;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  box-shadow: none;
  padding: 9px 11px;
}

.dashboard-work-item:hover,
.dashboard-work-item:focus {
  border-color: rgba(37, 99, 235, .28);
  background: #f8fbff;
}

.dashboard-work-main {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.dashboard-work-item strong,
.dashboard-work-item small,
.dashboard-work-meta {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-work-item strong {
  font-size: 14px;
  line-height: 1.25;
}

.dashboard-work-item small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
}

.dashboard-work-meta,
.dashboard-work-time {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
}

.dashboard-work-time {
  font-weight: 800;
  color: var(--blue);
}

.dashboard-work-meta {
  justify-self: end;
  max-width: 100%;
}

.inventory-toolbar {
  align-items: flex-start;
}

.inventory-toolbar strong {
  display: block;
  font-size: 18px;
}

.inventory-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

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

.inventory-panel {
  min-width: 0;
}

.inventory-panel.wide {
  grid-column: 1 / -1;
}

.inventory-table-wrap {
  max-height: 420px;
  overflow: auto;
}

.inventory-table-wrap table {
  min-width: 760px;
}

.inventory-table-wrap td,
.inventory-table-wrap th {
  white-space: nowrap;
}

.clock-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  margin-bottom: 14px;
  box-shadow: var(--soft-shadow);
}

.clock-panel.clocked-in {
  border-color: rgba(5, 150, 105, .36);
  background: #ecfdf5;
}

.clock-panel strong {
  display: block;
  font-size: 18px;
}

.clock-panel span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-top: 2px;
}

.launcher-panel {
  background: var(--warm);
  border: 1px solid #f3eadc;
  border-radius: 8px;
  padding: 12px;
  box-shadow: var(--soft-shadow);
}

.launcher-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.launcher-heading strong {
  font-size: 17px;
}

.launcher-heading span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
  gap: 9px;
}

.app-tile {
  height: 104px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 5px;
  padding: 10px 8px;
  background: #fff;
  border-color: rgba(226, 232, 240, .76);
  box-shadow: var(--soft-shadow);
  white-space: normal;
  text-align: center;
}

.app-tile strong {
  color: var(--blue);
  font-size: 13px;
  line-height: 1.15;
}

.app-tile small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.tile-icon {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border-radius: 7px;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0;
  box-shadow: inset 0 -12px 22px rgba(0,0,0,.12);
}

.tile-icon.small {
  width: 42px;
  height: 42px;
  font-size: 15px;
  flex: 0 0 auto;
}

.stat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  min-height: 86px;
  box-shadow: var(--soft-shadow);
}

.stat span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.stat strong {
  display: block;
  margin-top: 7px;
  font-size: 27px;
}

.board {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--soft-shadow);
}

.record-cards {
  display: none;
}

.record-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  box-shadow: var(--soft-shadow);
}

.record-card + .record-card {
  margin-top: 10px;
}

.record-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.record-card-head strong {
  display: block;
  line-height: 1.2;
}

.record-card-head small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
}

.record-card-fields {
  display: grid;
  gap: 7px;
}

.record-card-fields > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 28px;
  border-bottom: 1px solid #edf2f7;
  padding-bottom: 6px;
}

.record-card-fields span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.record-card-fields strong {
  min-width: 0;
  text-align: right;
  font-size: 13px;
  overflow-wrap: anywhere;
}

.record-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}

.employee-cards {
  display: grid;
  gap: 10px;
}

.employee-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 12px;
  min-height: 74px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
  cursor: pointer;
}

.employee-card:hover {
  border-color: #b9c7d8;
}

.employee-initials {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: #142033;
  color: #fff;
  font-weight: 900;
}

.employee-card-main {
  min-width: 0;
}

.employee-card-main strong,
.employee-card-main small {
  display: block;
  overflow-wrap: anywhere;
}

.employee-card-main small {
  margin-top: 4px;
  color: var(--muted);
}

.employee-chevron {
  color: var(--muted);
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
}

.kanban-board {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
  align-items: start;
}

.kanban-column {
  min-height: 180px;
  background: #eef2f7;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
}

.kanban-column header,
.calendar-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.kanban-column header {
  margin-bottom: 10px;
  color: #475569;
}

.kanban-column header span {
  min-width: 26px;
  min-height: 26px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 900;
}

.kanban-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  box-shadow: var(--soft-shadow);
  cursor: pointer;
}

.kanban-card + .kanban-card {
  margin-top: 8px;
}

.kanban-title {
  font-weight: 900;
  line-height: 1.25;
}

.kanban-meta {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.kanban-actions {
  display: flex;
  gap: 6px;
  margin-top: 10px;
}

.kanban-actions button {
  min-height: 30px;
  font-size: 12px;
}

.calendar-toolbar {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 12px;
  box-shadow: var(--soft-shadow);
}

.calendar-toolbar button {
  min-height: 34px;
}

.calendar-toolbar strong {
  margin-left: auto;
}

.day-time-picker {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
}

.day-strip {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.day-strip button {
  min-height: 78px;
  display: grid;
  gap: 3px;
  align-content: center;
  justify-items: center;
  background: #fff;
  border-color: var(--line);
  box-shadow: var(--soft-shadow);
}

.day-strip button.active {
  border-color: rgba(37, 99, 235, .42);
  background: #eff6ff;
  color: var(--blue);
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, .22), var(--soft-shadow);
}

.day-strip span,
.day-strip small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.day-strip strong {
  font-size: 24px;
}

.time-strip {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 10px;
  align-items: stretch;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  box-shadow: var(--soft-shadow);
}

.time-strip > div:first-child {
  display: grid;
  align-content: center;
  gap: 4px;
  padding-right: 8px;
  border-right: 1px solid var(--line);
}

.time-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
  gap: 8px;
}

.time-buttons button {
  min-height: 54px;
  display: grid;
  justify-items: start;
  align-content: center;
  gap: 2px;
  background: #f8fafc;
  border-color: #dbeafe;
  text-align: left;
}

.time-buttons button.busy {
  background: #fff7ed;
  border-color: rgba(217,119,6,.24);
  color: #92400e;
}

.time-buttons strong {
  font-size: 14px;
}

.time-buttons span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.scheduler-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 14px;
  align-items: start;
}

.scheduler-board {
  min-width: 920px;
  max-height: min(72vh, 860px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
  overflow: auto;
}

.scheduler-head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: 76px repeat(7, minmax(116px, 1fr));
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.scheduler-head > div {
  min-height: 66px;
  display: grid;
  place-items: center;
  border-left: 1px solid var(--line);
}

.scheduler-head .time-gutter {
  border-left: 0;
}

.scheduler-head span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.scheduler-head strong {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  font-size: 20px;
}

.scheduler-head .today strong {
  background: var(--coral);
  color: #fff;
}

.scheduler-grid {
  display: grid;
  grid-template-columns: 76px repeat(7, minmax(116px, 1fr));
}

.time-label {
  min-height: 42px;
  padding: 8px 10px 0 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-align: right;
  background: #f8fafc;
}

.time-label.half {
  border-top-color: #eef2f7;
}

.schedule-slot {
  width: 100%;
  min-height: 42px;
  height: auto;
  padding: 4px;
  border: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  white-space: normal;
  box-shadow: none;
  display: grid;
  gap: 4px;
  align-content: start;
}

.schedule-slot:hover {
  transform: none;
  background: #f8fbff;
  box-shadow: inset 0 0 0 2px rgba(37, 99, 235, .10);
}

.schedule-slot.drag-over {
  background: #eff6ff;
  box-shadow: inset 0 0 0 2px var(--blue);
}

.schedule-slot.has-items {
  background: #fbfcff;
}

.slot-plus {
  opacity: 0;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  justify-self: center;
  align-self: center;
  border-radius: 999px;
  background: #e0f2fe;
  color: #075985;
  font-weight: 900;
}

.schedule-slot:hover .slot-plus {
  opacity: 1;
}

.schedule-item {
  display: grid;
  gap: 4px;
  min-height: calc(32px * var(--event-rows, 1));
  border: 1px solid var(--tech-line, #dbeafe);
  border-left: 5px solid var(--tech-color, var(--blue));
  border-radius: 8px;
  background: var(--tech-bg, #eaf2ff);
  padding: 7px;
  cursor: pointer;
  text-align: left;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .08);
}

.schedule-item time {
  color: var(--tech-color, var(--blue));
  font-size: 12px;
  font-weight: 900;
}

.schedule-item strong {
  overflow-wrap: anywhere;
  line-height: 1.2;
}

.schedule-item span:not(.badge) {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.25;
}

.schedule-item .badge {
  justify-self: start;
}

.schedule-item[draggable="true"] {
  cursor: grab;
}

.schedule-item[draggable="true"]:active {
  cursor: grabbing;
}

.unscheduled-tray {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
  margin-bottom: 12px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}

.unscheduled-tray > div:first-child {
  display: grid;
  align-content: center;
  gap: 4px;
  padding-right: 10px;
  border-right: 1px solid var(--line);
}

.unscheduled-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 8px;
}

.unscheduled-item {
  min-height: 0;
}

.mini-month {
  position: sticky;
  top: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  box-shadow: var(--soft-shadow);
}

.mini-month-title {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}

.mini-month-weekdays,
.mini-month-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
}

.mini-month-weekdays span {
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}

.mini-month-grid button {
  position: relative;
  min-height: 34px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-size: 13px;
}

.mini-month-grid button.today {
  background: var(--coral);
  color: #fff;
}

.mini-month-grid button.selected {
  box-shadow: inset 0 0 0 2px var(--blue);
}

.mini-month-grid button.outside {
  color: #94a3b8;
}

.mini-month-grid i {
  position: absolute;
  right: 2px;
  bottom: 0;
  min-width: 15px;
  min-height: 15px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #dbeafe;
  color: var(--blue);
  font-size: 9px;
  font-style: normal;
  font-weight: 900;
}

.schedule-item strong {
  line-height: 1.25;
}

.schedule-item span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.table-wrap {
  overflow: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

th, td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-size: 13px;
}

th {
  background: #f8fafc;
  color: var(--muted);
  font-size: 12px;
  position: sticky;
  top: 0;
  z-index: 1;
}

tbody tr {
  cursor: default;
}

tbody tr:hover {
  background: #f8fbff;
}

td.actions {
  white-space: nowrap;
  width: 1%;
}

.empty {
  padding: 34px 18px;
  text-align: center;
  color: var(--muted);
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f8fafc;
  font-size: 12px;
  font-weight: 700;
}

.badge.green { color: var(--green); border-color: rgba(5,150,105,.25); background: rgba(5,150,105,.08); }
.badge.amber { color: var(--amber); border-color: rgba(217,119,6,.25); background: rgba(217,119,6,.08); }
.badge.blue { color: var(--blue); border-color: rgba(37,99,235,.25); background: rgba(37,99,235,.08); }
.badge.purple { color: var(--purple); border-color: rgba(113,75,103,.25); background: rgba(113,75,103,.08); }
.badge.red { color: var(--coral); border-color: rgba(225,29,72,.25); background: rgba(225,29,72,.08); }

.photo-count-badge {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  width: fit-content;
  min-height: 22px;
  margin-top: 4px;
  padding: 2px 7px;
  border: 1px solid rgba(37, 99, 235, .24);
  border-radius: 999px;
  background: rgba(37, 99, 235, .08);
  color: #1d4ed8;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
  gap: 14px;
}

.work-order-detail {
  display: grid;
  gap: 14px;
}

.wo-compact-list {
  display: grid;
  gap: 8px;
}

.wo-list-header,
.wo-list-card {
  display: grid;
  grid-template-columns: 42px minmax(92px, .65fr) minmax(180px, 1.35fr) minmax(148px, .9fr) minmax(160px, 1fr) minmax(98px, .72fr) minmax(126px, .8fr) minmax(150px, .95fr) minmax(190px, 1.15fr) minmax(132px, .75fr) 86px;
  gap: 0;
  align-items: stretch;
}

.estimates-compact-list .wo-list-header,
.estimates-compact-list .wo-list-card {
  grid-template-columns: 42px minmax(110px, .85fr) minmax(180px, 1.2fr) minmax(160px, 1fr) minmax(100px, .72fr) minmax(200px, 1.35fr) minmax(132px, .75fr) 86px;
}

.wo-list-header {
  position: sticky;
  top: 0;
  z-index: 2;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.wo-list-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 6px solid var(--amber);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
  cursor: pointer;
}

.wo-list-card.status-complete {
  border-left-color: var(--green);
}

.wo-list-card.status-accepted,
.wo-list-card.status-converted {
  border-left-color: var(--green);
}

.wo-list-card.status-in-progress,
.wo-list-card.status-in-route,
.wo-list-card.status-on-site {
  border-left-color: var(--blue);
}

.wo-list-card.status-paused {
  border-left-color: #dc2626;
}

.wo-list-card.status-cancelled {
  border-left-color: var(--coral);
}

.wo-list-card.status-declined,
.wo-list-card.status-void {
  border-left-color: var(--coral);
}

.wo-list-card.status-draft {
  border-left-color: #64748b;
}

.wo-list-cell {
  display: grid;
  align-content: center;
  min-width: 0;
  min-height: 54px;
  padding: 8px 10px;
  border-left: 1px solid #eef2f7;
  color: #334155;
  font-size: 12px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.wo-list-cell:first-child {
  border-left: 0;
}

.wo-sort-header {
  justify-content: start;
  min-height: 38px;
  border: 0;
  border-left: 1px solid #e8edf4;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-align: left;
  text-transform: uppercase;
  box-shadow: none;
}

.wo-sort-header:hover,
.wo-sort-header.active {
  transform: none;
  background: #eef5ff;
  color: var(--blue);
  box-shadow: none;
}

.wo-select-cell {
  justify-items: center;
}

.wo-title-cell {
  gap: 3px;
}

.wo-title-cell strong {
  color: var(--ink);
  font-size: 14px;
}

.wo-title-cell small,
.wo-site-cell small,
.wo-money-cell small {
  color: var(--muted);
  font-size: 11px;
}

.wo-status-cell {
  justify-items: start;
}

.wo-money-cell {
  justify-items: end;
  text-align: right;
}

.wo-money-cell strong {
  color: var(--ink);
  font-size: 15px;
}

.wo-action-cell {
  justify-items: end;
}

.wo-action-cell button {
  min-height: 32px;
  padding-inline: 13px;
}

.wo-hero {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  padding: 18px;
  border: 1px solid rgba(217, 119, 6, .26);
  border-radius: 8px;
  background: linear-gradient(135deg, #fff7ed 0%, #ffffff 68%);
  box-shadow: var(--soft-shadow);
}

.wo-number {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  border-radius: 999px;
  padding: 3px 9px;
  background: rgba(217, 119, 6, .10);
  color: #92400e;
  font-size: 12px;
  font-weight: 900;
}

.wo-hero h2 {
  margin: 9px 0 6px;
  font-size: 26px;
  line-height: 1.15;
}

.wo-hero p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.wo-status-stack {
  display: grid;
  gap: 10px;
  justify-items: end;
}

.wo-status-stack strong {
  font-size: 24px;
}

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

.wo-card {
  margin: 0;
  box-shadow: none;
}

.wo-card .kv {
  grid-template-columns: 116px 1fr;
}

.wo-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0;
}

.wo-timeline {
  display: grid;
  gap: 10px;
}

.wo-timeline-event {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #edf2f7;
}

.wo-timeline-event:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.wo-timeline-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 5px;
}

.wo-timeline-event p {
  margin: 3px 0 0;
  line-height: 1.45;
}

.field-note-form textarea {
  min-height: 150px;
}

.section {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  margin-bottom: 14px;
  box-shadow: var(--soft-shadow);
}

.section h2 {
  margin: 0 0 12px;
  font-size: 16px;
}

.kv {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid #edf2f7;
}

.kv:last-child {
  border-bottom: 0;
}

.kv span:first-child {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.phone-link {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--blue);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 0;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.phone-link:hover,
.phone-link:focus-visible {
  color: #1d4ed8;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,.42);
  display: grid;
  place-items: start center;
  padding: 5vh 16px;
  overflow: auto;
  z-index: 20;
}

.modal {
  width: min(1040px, 100%);
  background: var(--surface);
  border-radius: 8px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  overflow: hidden;
}

.modal header, .modal footer {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.modal footer {
  border-top: 1px solid var(--line);
  border-bottom: 0;
  justify-content: flex-end;
}

.modal header h2 {
  margin: 0;
  font-size: 18px;
}

.modal-body {
  padding: 14px;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  background: #111827;
  color: #fff;
  padding: 10px 12px;
  border-radius: 6px;
  box-shadow: var(--shadow);
  z-index: 40;
  max-width: min(420px, calc(100vw - 36px));
}

.error {
  color: var(--coral);
  font-weight: 700;
}

.muted {
  color: var(--muted);
}

.small-text {
  font-size: 12px;
  margin-top: 3px;
}

.payroll-weekly-list tbody tr {
  cursor: pointer;
}

.payroll-period-view {
  display: grid;
  gap: 12px;
}

.payroll-period-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: var(--surface);
}

.payroll-period-title {
  display: grid;
  gap: 3px;
  min-width: 220px;
}

.payroll-period-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.payroll-day-list {
  display: grid;
  gap: 14px;
}

.payroll-day {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.payroll-day header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  background: #f8fafc;
  border-bottom: 1px solid var(--line);
}

.payroll-day header span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.right {
  text-align: right;
}

.mobile-nav {
  display: none;
}

@media (max-width: 920px) {
  .payroll-period-tools {
    align-items: stretch;
    flex-direction: column;
  }

  .payroll-period-actions {
    justify-content: flex-start;
  }

  .site-nav {
    min-height: 64px;
  }

  .site-nav-actions a:not(.site-button) {
    display: none;
  }

  .hero,
  .split-section,
  .contact-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

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

  .feature-grid,
  .price-grid,
  .market-grid {
    grid-template-columns: 1fr 1fr;
  }

  .manual-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .manual-results {
    grid-template-columns: 1fr;
  }

  .manual-index {
    position: static;
  }

  .migration-heading,
  .migration-intro,
  .migration-controls {
    grid-template-columns: 1fr;
  }

  .migration-steps,
  .migration-map-grid,
  .migration-odoo-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-band {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .sidebar {
    display: none;
  }

  .mobile-nav {
    display: block;
    min-width: 180px;
  }

  .nav-top .mobile-nav {
    display: none;
  }

  .top-module-menu {
    top: 74px;
    padding: 8px 14px;
  }

  .nav-horizontal button {
    min-height: 40px;
  }

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

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

  .dashboard-work-item,
  .dashboard-notification-row {
    grid-template-columns: 1fr;
  }

  .dashboard-work-meta {
    justify-self: start;
  }

  .dashboard-notification-icon {
    display: none;
  }

  .dashboard-notification-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .notification-panel-head,
  .notification-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .notification-row {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .notification-row-actions {
    grid-column: 2;
  }

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

  .scheduler-shell {
    grid-template-columns: 1fr;
  }

  .scheduler-board {
    min-width: 760px;
  }

  .mini-month {
    position: static;
  }

  .wo-compact-list {
    overflow-x: auto;
    padding-bottom: 6px;
  }

  .wo-list-header,
  .wo-list-card {
    min-width: 1280px;
  }

  .estimates-compact-list .wo-list-header,
  .estimates-compact-list .wo-list-card {
    min-width: 980px;
  }
}

@media (max-width: 620px) {
  .settings-logo-row {
    grid-template-columns: 1fr;
  }

  .settings-shell {
    grid-template-columns: 1fr;
  }

  .settings-nav {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .settings-save-bar {
    position: static;
    justify-content: stretch;
  }

  .settings-save-bar .primary {
    width: 100%;
  }

  .site-nav {
    width: calc(100% - 24px);
  }

  .site-brand img {
    max-width: 190px;
    height: 48px;
  }

  .manual-nav {
    width: calc(100% - 24px);
  }

  .manual-brand img {
    max-width: 190px;
    height: 48px;
  }

  .manual-nav-actions a:first-child {
    display: none;
  }

  .site-nav-actions .ghost {
    display: none;
  }

  .hero,
  .site-band,
  .site-section,
  .site-cta,
  .contact-hero {
    width: calc(100% - 24px);
  }

  .manual-hero,
  .manual-fast-path,
  .manual-results {
    width: calc(100% - 24px);
  }

  .hero {
    gap: 24px;
    padding: 24px 0 36px;
  }

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

  .manual-hero h1 {
    font-size: 42px;
  }

  .manual-fast-path {
    grid-template-columns: 1fr;
  }

  .manual-topic-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .migration-steps,
  .migration-map-grid,
  .migration-summary-grid,
  .migration-odoo-fields {
    grid-template-columns: 1fr;
  }

  .migration-odoo-guide-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .migration-odoo-fields ul {
    columns: 1;
  }

  .migration-checklist ol {
    columns: 1;
  }

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

  .hero-media {
    max-height: 230px;
  }

  .feature-grid,
  .price-grid,
  .market-grid {
    grid-template-columns: 1fr;
  }

  .site-cta {
    padding: 26px 18px;
  }

  .topbar {
    align-items: stretch;
    flex-direction: column;
    padding: 13px 14px;
  }

  .top-title {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .top-title img {
    width: 182px;
    max-width: 70vw;
  }

  .topbar h1 {
    font-size: 24px;
  }

  .top-actions {
    justify-content: stretch;
  }

  .top-actions > * {
    flex: 1 1 auto;
  }

  .top-module-menu {
    top: 151px;
    padding: 8px 12px;
  }

  .nav-horizontal button {
    justify-content: center;
    min-width: 74px;
  }

  .nav-horizontal button span:last-child {
    font-size: 12px;
  }

  .content {
    padding: 12px 12px 22px;
  }

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

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

  .inventory-actions {
    justify-content: stretch;
  }

  .inventory-actions button {
    flex: 1 1 140px;
  }

  .date-picker-days,
  .date-time-options {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
  }

  .date-time-field .date-time-display {
    grid-column: 1;
  }

  .date-time-window {
    grid-template-columns: 1fr 1fr;
  }

  .date-time-window strong {
    grid-column: 1 / -1;
    order: -1;
  }

  .product-builder-row {
    grid-template-columns: 1fr;
  }

  .product-line {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .wo-two-column,
  .wo-title-row,
  .wo-address-grid,
  .wo-invoice-grid {
    grid-template-columns: 1fr;
  }

  .wo-address-grid label:first-child,
  .wo-address-grid label:nth-child(2),
  .wo-address-grid label:nth-child(3),
  .wo-address-grid label:nth-child(4),
  .wo-address-grid label:nth-child(5) {
    grid-column: 1;
  }

  .wo-flow-card label {
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 5px;
  }

  .toolbar, .subtoolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .search {
    max-width: none;
  }

  .view-tabs {
    width: 100%;
  }

  .view-tabs button {
    flex: 1 1 0;
  }

  .scheduler-shell {
    overflow-x: auto;
  }

  .scheduler-board {
    min-width: 920px;
  }

  .unscheduled-tray {
    grid-template-columns: 1fr;
  }

  .unscheduled-tray > div:first-child {
    padding-right: 0;
    padding-bottom: 10px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .unscheduled-list {
    display: flex;
    overflow-x: auto;
    padding-bottom: 3px;
  }

  .unscheduled-list .schedule-item {
    min-width: 240px;
  }

  .day-strip {
    display: flex;
    overflow-x: auto;
    padding-bottom: 3px;
  }

  .day-strip button {
    min-width: 82px;
  }

  .time-strip {
    grid-template-columns: 1fr;
  }

  .time-strip > div:first-child {
    padding-right: 0;
    padding-bottom: 10px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .time-buttons {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .calendar-toolbar {
    align-items: stretch;
    flex-wrap: wrap;
  }

  .calendar-toolbar strong {
    margin-left: 0;
    width: 100%;
  }

  .wo-hero {
    flex-direction: column;
  }

  .wo-status-stack {
    justify-items: start;
  }

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

  .wo-list-card {
    padding: 0;
  }

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

  .table-wrap.board {
    display: none;
  }

  .record-cards {
    display: block;
  }

  .modal-backdrop {
    padding: 0;
    place-items: stretch;
  }

  .modal {
    width: 100%;
    min-height: 100vh;
    border-radius: 0;
  }

  .modal header,
  .modal footer {
    position: sticky;
    background: #fff;
    z-index: 2;
  }

  .modal header {
    top: 0;
  }

  .modal footer {
    bottom: 0;
  }

  .modal footer button {
    flex: 1 1 0;
  }

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

  .app-tile {
    height: 126px;
  }

  .tile-icon {
    width: 52px;
    height: 52px;
    font-size: 18px;
  }
}
