/* Tuntiva landing, design v2 (template-v2.mjs). Self-contained: the classic
   design's landing.css is not loaded on these pages. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

:root {
  --navy: #0a111c;
  --navy-2: #0f1a2a;
  --navy-3: #16243a;
  --navy-line: rgba(255, 255, 255, 0.09);
  --orange: #f5a623;
  --orange-hi: #ffbe4d;
  --orange-ink: #3d2200;
  --orange-soft: #fff3dd;
  --green: #43a047;
  --red: #d64545;
  --paper: #f6f3ee;
  --white: #ffffff;
  --ink: #0f1722;
  --ink-2: #2a3444;
  --muted: #5d6676;
  --muted-dark: #9aa6b8;
  --line: #e5dfd5;
  --radius: 22px;
  --shadow: 0 30px 70px -30px rgba(10, 17, 28, 0.45);
  --shadow-sm: 0 12px 30px -16px rgba(10, 17, 28, 0.35);
  color-scheme: light;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
h1,
h2,
h3,
p,
figure,
ul,
ol,
dl,
dd {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
}
::selection {
  background: var(--orange);
  color: var(--orange-ink);
}
a:focus-visible,
summary:focus-visible,
input:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
  border-radius: 8px;
}
[hidden] {
  display: none !important;
}
.wrap {
  width: min(1200px, calc(100% - 48px));
  margin-inline: auto;
}
.ic {
  width: 20px;
  height: 20px;
  flex: none;
}
.mark {
  width: 34px;
  height: 34px;
  object-fit: contain;
}
.skip {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--orange);
  color: var(--orange-ink);
  font-weight: 700;
}
.skip:focus {
  top: 16px;
}

/* ---------- Type ---------- */
h1,
h2 {
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.04;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.6rem, 5.6vw, 4.75rem);
}
h2 {
  font-size: clamp(2rem, 3.8vw, 3.2rem);
}
h3 {
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.3;
}
h1 em,
h2 em {
  font-style: normal;
  display: block;
  background: linear-gradient(92deg, var(--orange) 0%, #ffd27a 55%, var(--orange) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.light h2 em,
.compare h2 em,
.worker h2 em,
.reports h2 em,
.pricing h2 em {
  background: none;
  color: #c97d00;
}
.eyebrow {
  margin-bottom: 14px;
  color: #b56f00;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.dark .eyebrow,
.hero .eyebrow,
.final .eyebrow {
  color: var(--orange);
}
.head {
  max-width: 760px;
  margin-bottom: 48px;
}
.head.center {
  margin-inline: auto;
  text-align: center;
}
.head > p:last-child {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.12rem;
}
.sec-lead {
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.12rem;
  max-width: 560px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.98rem;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.btn .ic {
  width: 18px;
  height: 18px;
}
.btn-primary {
  background: linear-gradient(180deg, var(--orange-hi), var(--orange));
  color: var(--orange-ink);
  box-shadow: 0 10px 26px -10px rgba(245, 166, 35, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px -12px rgba(245, 166, 35, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.btn-primary:hover .ic {
  transform: translateX(3px);
}
.btn-primary .ic {
  transition: transform 0.18s ease;
}
.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}
.btn-sm {
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.9rem;
  border-radius: 12px;
}
.btn-lg {
  min-height: 56px;
  padding: 0 28px;
  font-size: 1.02rem;
  border-radius: 16px;
}
.btn-block {
  width: 100%;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.cta-row.center {
  justify-content: center;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  color: #b56f00;
  font-weight: 700;
}
.text-link .ic {
  width: 18px;
  height: 18px;
  transition: transform 0.18s ease;
}
.text-link:hover .ic {
  transform: translateX(3px);
}

/* ---------- Header ---------- */
.hdr {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 17, 28, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--navy-line);
  color: #fff;
}
.hdr-in {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 72px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}
.nav {
  display: flex;
  gap: 4px;
  margin-left: 8px;
}
.nav a {
  padding: 8px 12px;
  border-radius: 10px;
  color: #c7cfdb;
  font-size: 0.93rem;
  font-weight: 600;
}
.nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}
.hdr-act {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}
.login {
  padding: 8px 12px;
  color: #dfe5ee;
  font-weight: 600;
  font-size: 0.93rem;
}
.login:hover {
  color: #fff;
}
.language-menu {
  position: relative;
}
.language-menu summary {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 10px;
  color: #c7cfdb;
  font-size: 0.85rem;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}
.language-menu summary::-webkit-details-marker {
  display: none;
}
.language-menu summary:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}
.language-menu summary .ic {
  width: 18px;
  height: 18px;
}
.language-options {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 190px;
  padding: 6px;
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow);
}
.language-options a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  border-radius: 10px;
  font-weight: 600;
}
.language-options a:hover,
.language-options a[aria-current] {
  background: var(--paper);
}
.language-options .ic {
  width: 16px;
  height: 16px;
  color: #c97d00;
}

/* ---------- Hero ---------- */
.hero,
.final {
  position: relative;
  overflow: hidden;
  background: radial-gradient(120% 90% at 50% 0%, #13213a 0%, var(--navy) 62%);
  color: #fff;
  isolation: isolate;
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(80% 70% at 60% 30%, #000 30%, transparent 100%);
  mask-image: radial-gradient(80% 70% at 60% 30%, #000 30%, transparent 100%);
}
.hero-glow {
  position: absolute;
  z-index: -1;
  right: -10%;
  top: -20%;
  width: 760px;
  height: 760px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.26) 0%, rgba(245, 166, 35, 0) 65%);
}
.hero-in {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: 48px;
  padding: 72px 0 40px;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  padding: 7px 14px 7px 10px;
  border: 1px solid rgba(245, 166, 35, 0.35);
  border-radius: 999px;
  background: rgba(245, 166, 35, 0.08);
  color: #ffd38a;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.13em;
}
.kicker span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(245, 166, 35, 0.22);
}
.hero .lead {
  margin: 26px 0 34px;
  max-width: 560px;
  color: #c3ccd9;
  font-size: clamp(1.06rem, 1.4vw, 1.22rem);
  line-height: 1.65;
}
.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 28px;
  color: #aeb9c9;
  font-size: 0.92rem;
  font-weight: 500;
}
.hero-notes li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-notes .ic {
  width: 18px;
  height: 18px;
  color: var(--orange);
}
.hero-copy > * {
  animation: rise 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.hero-copy > :nth-child(2) {
  animation-delay: 0.06s;
}
.hero-copy > :nth-child(3) {
  animation-delay: 0.12s;
}
.hero-copy > :nth-child(4) {
  animation-delay: 0.18s;
}
.hero-copy > :nth-child(5) {
  animation-delay: 0.24s;
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}

.hero-visual,
.visual {
  position: relative;
  display: grid;
  place-items: center;
}
.hero-visual {
  min-height: 600px;
  animation: rise 0.9s 0.15s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
figcaption {
  position: absolute;
  bottom: -26px;
  left: 0;
  right: 0;
  color: rgba(154, 166, 184, 0.75);
  font-size: 0.74rem;
  text-align: center;
}
.split-sec:not(.dark) figcaption,
.reports figcaption {
  color: #9b9486;
}
.halo {
  position: absolute;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.32), rgba(245, 166, 35, 0) 68%);
  filter: blur(6px);
}
.worker .halo {
  background: radial-gradient(circle, rgba(67, 160, 71, 0.22), rgba(67, 160, 71, 0) 68%);
}

/* Floating glass cards */
.float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  box-shadow: var(--shadow);
  animation: bob 6s ease-in-out infinite;
}
.float > .ic {
  width: 34px;
  height: 34px;
  padding: 8px;
  border-radius: 10px;
}
.float strong {
  display: block;
  font-size: 0.95rem;
  line-height: 1.2;
}
.float span {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.3;
}
.f-approve {
  left: -10%;
  top: 30%;
}
.f-approve > .ic {
  background: #e3f4e4;
  color: var(--green);
}
.f-offline {
  right: -9%;
  bottom: 2%;
  max-width: 240px;
  animation-delay: -3s;
}
.f-offline > .ic {
  background: var(--orange-soft);
  color: #c97d00;
}
.f-code {
  right: 0;
  bottom: 18%;
}
.f-code > .ic {
  background: var(--orange-soft);
  color: #c97d00;
}
@keyframes bob {
  50% {
    transform: translateY(-8px);
  }
}

/* Stats strip under the hero */
.strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 36px;
  border-top: 1px solid var(--navy-line);
}
.strip > div {
  padding: 30px 24px 38px 0;
}
.strip > div + div {
  padding-left: 24px;
  border-left: 1px solid var(--navy-line);
}
.strip strong {
  display: block;
  font-size: clamp(1.7rem, 2.6vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.strip span {
  display: block;
  margin-top: 6px;
  color: #9aa6b8;
  font-size: 0.92rem;
}

/* ---------- Phone mockup (the app's own UI) ---------- */
.phone {
  position: relative;
  width: 312px;
  padding: 11px;
  border-radius: 50px;
  background: linear-gradient(145deg, #2a3446, #0b1220 60%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 50px 100px -30px rgba(0, 0, 0, 0.7),
    inset 0 0 0 2px #050910;
}
.phone::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 50%;
  z-index: 2;
  width: 92px;
  height: 26px;
  transform: translateX(-50%);
  border-radius: 20px;
  background: #050910;
}
.phone-sm {
  width: 288px;
}
.ph-screen {
  overflow: hidden;
  border-radius: 40px;
  background: #eeeae3;
  color: var(--ink);
  font-size: 13px;
}
.ph-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 26px 6px;
  font-size: 12px;
  font-weight: 700;
}
.ph-signal {
  display: flex;
  align-items: flex-end;
  gap: 2px;
}
.ph-signal i {
  width: 3px;
  border-radius: 1px;
  background: var(--ink);
}
.ph-signal i:nth-child(1) {
  height: 5px;
}
.ph-signal i:nth-child(2) {
  height: 7px;
}
.ph-signal i:nth-child(3) {
  height: 9px;
}
.ph-signal b {
  width: 20px;
  height: 10px;
  margin-left: 5px;
  border: 1.5px solid var(--ink);
  border-radius: 3px;
  background: linear-gradient(90deg, var(--ink) 70%, transparent 70%);
  background-clip: content-box;
  padding: 1px;
}
.ph-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px 8px;
}
.ph-bar .mark {
  width: 24px;
  height: 24px;
}
.ph-bar strong {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.ph-chip {
  margin-left: auto;
  padding: 4px 9px;
  border-radius: 999px;
  background: #fff3dd;
  color: #8a5209;
  font-size: 10px;
  font-weight: 700;
}
.ph-bell {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
}
.ph-bell .ic {
  width: 15px;
  height: 15px;
}
.ph-body {
  padding: 4px 14px 12px;
}
.ph-hello {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.ph-sub {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 12px;
}
.ph-site {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  border-radius: 14px;
  background: #fff;
}
.ph-site .ic {
  width: 17px;
  height: 17px;
  color: #c97d00;
}
.ph-site small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.2;
}
.ph-site strong {
  font-size: 12.5px;
}
.ph-shift {
  margin-top: 10px;
  padding: 14px 14px 12px;
  border-radius: 20px;
  background: #fff;
  text-align: center;
  box-shadow: 0 10px 24px -18px rgba(10, 17, 28, 0.6);
}
.ph-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  background: #e3f4e4;
  color: #2e7d32;
  font-size: 10.5px;
  font-weight: 700;
}
.ph-live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  50% {
    box-shadow: 0 0 0 5px rgba(67, 160, 71, 0.2);
  }
}
.ph-time {
  display: block;
  margin: 6px 0 2px;
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.ph-time span {
  color: #9aa1ab;
  font-size: 26px;
}
.ph-shift > small {
  color: var(--muted);
  font-size: 11px;
}
.ph-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}
.ph-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
}
.ph-btn .ic {
  width: 15px;
  height: 15px;
}
.ph-pause {
  border: 1.5px solid #c97d00;
  color: #a36500;
}
.ph-stop {
  background: #fde8e8;
  color: #b42318;
}
.ph-go {
  width: 100%;
  margin-top: 12px;
  min-height: 46px;
  background: var(--green);
  color: #fff;
  font-size: 14px;
  box-shadow: 0 10px 22px -12px rgba(67, 160, 71, 0.9);
}
.ph-go .ic {
  width: 17px;
  height: 17px;
  fill: currentColor;
}
.ph-idle {
  display: grid;
  place-items: center;
  margin-top: 12px;
}
.ph-ring {
  display: grid;
  place-items: center;
  width: 126px;
  height: 126px;
  border: 8px solid #fff;
  border-radius: 50%;
  background: #f7f4ef;
  box-shadow: 0 10px 24px -16px rgba(10, 17, 28, 0.6);
}
.ph-ring .ic {
  width: 18px;
  height: 18px;
  color: var(--muted);
  margin-bottom: -18px;
}
.ph-ring strong {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.ph-stats {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 8px;
  margin-top: 10px;
}
.ph-stats > div {
  padding: 9px 11px;
  border-radius: 14px;
  background: #fff;
}
.ph-stats small {
  display: block;
  color: var(--muted);
  font-size: 10px;
}
.ph-stats strong {
  font-size: 13.5px;
  font-weight: 800;
}
.ph-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 10px 10px;
  padding: 7px 4px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 8px 20px -14px rgba(10, 17, 28, 0.6);
}
.ph-nav span {
  display: grid;
  justify-items: center;
  gap: 2px;
  color: #8a909a;
}
.ph-nav .ic {
  width: 17px;
  height: 17px;
}
.ph-nav small {
  max-width: 64px;
  overflow: hidden;
  font-size: 8.5px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ph-nav .on {
  color: #b56f00;
}

/* ---------- At a glance ---------- */
.glance {
  padding: 96px 0;
  background: var(--white);
}
.glance-in {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: start;
}
.definition {
  margin-top: 20px;
  color: var(--ink-2);
  font-size: 1.16rem;
  line-height: 1.7;
}
.facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.facts > div {
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, #fff, #fbf9f5);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.facts > div:hover {
  border-color: #e9c27d;
  transform: translateY(-2px);
}
.facts dt {
  color: #b56f00;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.facts dd {
  margin-top: 6px;
  font-weight: 600;
  line-height: 1.45;
}

/* ---------- Before / after ---------- */
.compare {
  padding: 110px 0;
  background: var(--paper);
}
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  max-width: 1000px;
  margin-inline: auto;
}
.cmp {
  padding: 34px;
  border-radius: var(--radius);
}
.cmp h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  font-size: 1.25rem;
}
.cmp h3 .mark {
  width: 28px;
  height: 28px;
}
.cmp li {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  font-weight: 500;
}
.cmp li + li {
  border-top: 1px solid var(--line);
}
.cmp li .ic {
  width: 24px;
  height: 24px;
  padding: 4px;
  border-radius: 50%;
}
.cmp-before {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
}
.cmp-before h3 {
  color: var(--ink-2);
}
.cmp-before .ic {
  background: #f1eee9;
  color: #a0968a;
}
.cmp-after {
  background: linear-gradient(160deg, var(--navy-3), var(--navy));
  color: #e6ebf2;
  box-shadow: var(--shadow);
}
.cmp-after li + li {
  border-color: var(--navy-line);
}
.cmp-after .ic {
  background: rgba(245, 166, 35, 0.16);
  color: var(--orange);
}

/* ---------- Steps ---------- */
.steps-sec {
  padding: 110px 0;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 34px 30px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fff, #fcfaf6);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}
.step-n {
  position: absolute;
  top: 18px;
  right: 24px;
  color: transparent;
  font-size: 4.2rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  -webkit-text-stroke: 1.5px #e7d6b5;
}
.step-ic {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 26px;
  border-radius: 16px;
  background: var(--navy);
  color: var(--orange);
}
.step-ic .ic {
  width: 24px;
  height: 24px;
}
.step p {
  margin-top: 10px;
  color: var(--muted);
}
.step-chip {
  display: inline-block;
  margin-top: 20px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--orange-soft);
  color: #8a5209;
  font-size: 0.8rem;
  font-weight: 700;
}

/* ---------- Split sections ---------- */
.split-sec {
  padding: 120px 0;
}
.worker {
  background: var(--paper);
}
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 72px;
}
.split.rev > .visual {
  order: -1;
}
.ticks {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}
.ticks li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}
.ticks .ic {
  width: 26px;
  height: 26px;
  padding: 5px;
  border-radius: 50%;
  background: #e3f4e4;
  color: var(--green);
}
.note {
  display: flex;
  gap: 10px;
  margin-top: 28px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(15, 23, 34, 0.04);
  color: var(--muted);
  font-size: 0.92rem;
}
.note .ic {
  width: 20px;
  height: 20px;
  color: #c97d00;
  margin-top: 2px;
}
.visual {
  min-height: 560px;
}
.feats {
  display: grid;
  gap: 22px;
  margin-top: 32px;
}
.feat {
  display: flex;
  gap: 16px;
}
.feat-ic {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--orange-soft);
  color: #b56f00;
}
.feat p {
  margin-top: 4px;
  color: var(--muted);
}

/* Dark section (employer) */
.dark {
  position: relative;
  overflow: hidden;
  background: radial-gradient(90% 80% at 20% 30%, #13213a 0%, var(--navy) 70%);
  color: #fff;
}
.dark .sec-lead,
.dark .feat p {
  color: #a9b4c4;
}
.dark .feat-ic {
  background: rgba(245, 166, 35, 0.14);
  color: var(--orange);
}
.dark .visual {
  min-height: 0;
}

/* Browser dashboard mockup */
.dash {
  width: 100%;
  max-width: 600px;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 50px 100px -30px rgba(0, 0, 0, 0.75);
  font-size: 12px;
}
.dash-chrome {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid #ece8e1;
  background: #f7f5f1;
}
.dots {
  display: flex;
  gap: 6px;
}
.dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e0d9cf;
}
.dash-url {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-inline: auto;
  padding: 4px 18px;
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  font-size: 11px;
}
.dash-url .ic {
  width: 12px;
  height: 12px;
  color: var(--green);
}
.dash-body {
  display: grid;
  grid-template-columns: 150px 1fr;
}
.dash-side {
  padding: 16px 12px;
  border-right: 1px solid #ece8e1;
  background: #fbfaf7;
}
.dash-side .mark {
  width: 22px;
  height: 22px;
}
.dash-side .logo-word {
  font-size: 15px;
  font-weight: 800;
}
.dash-side > .mark,
.dash-side > .logo-word {
  display: inline-block;
  vertical-align: middle;
}
.dash-side > .logo-word {
  margin-left: 6px;
}
.dash-menu {
  display: grid;
  gap: 2px;
  margin-top: 18px;
}
.dash-menu span {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 8px;
  border-radius: 8px;
  color: var(--muted);
  font-weight: 600;
}
.dash-menu .ic {
  width: 14px;
  height: 14px;
}
.dash-menu .on {
  background: var(--orange-soft);
  color: #8a5209;
}
.dash-main {
  padding: 18px;
}
.dash-greet {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.dash-sub {
  color: var(--muted);
  font-size: 11px;
}
.dash-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 14px;
}
.dash-kpis > div {
  position: relative;
  padding: 10px;
  border: 1px solid #ece8e1;
  border-radius: 12px;
}
.dash-kpis .ic {
  position: absolute;
  right: 9px;
  top: 9px;
  width: 14px;
  height: 14px;
  color: #c97d00;
}
.dash-kpis small {
  display: block;
  padding-right: 16px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.25;
}
.dash-kpis strong {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.dash-chart {
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px solid #ece8e1;
  border-radius: 12px;
}
.dash-chart-h {
  display: flex;
  justify-content: space-between;
}
.dash-chart-h span {
  color: var(--muted);
  font-weight: 700;
}
.bars {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  gap: 12px;
  height: 92px;
  margin-top: 8px;
}
.bar {
  display: grid;
  grid-template-rows: 1fr auto;
  align-items: end;
  justify-items: center;
  height: 100%;
}
.bar i {
  width: 70%;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, var(--orange-hi), var(--orange));
}
.b0 i {
  height: 78%;
}
.b1 i {
  height: 92%;
}
.b2 i {
  height: 64%;
}
.b3 i {
  height: 88%;
}
.b4 i {
  height: 40%;
  background: #e8e2d8;
}
.bar small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
}
.dash-table {
  margin-top: 10px;
}
.dash-table > strong {
  display: block;
  margin-bottom: 4px;
}
.row {
  display: grid;
  grid-template-columns: 1.4fr 1.4fr 0.6fr auto;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
  border-top: 1px solid #f0ece6;
  font-size: 11px;
}
.who {
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
}
.av {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  color: #fff;
  font-size: 9px;
  font-style: normal;
  font-weight: 700;
}
.av0 {
  background: #2b6cb0;
}
.av1 {
  background: #6b46c1;
}
.av2 {
  background: #2f855a;
}
.where {
  overflow: hidden;
  color: var(--muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hrs {
  font-weight: 700;
}
.pill {
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
}
.pill.approved {
  background: #e3f4e4;
  color: #2e7d32;
}
.pill.pending {
  background: var(--orange-soft);
  color: #8a5209;
}

/* Report paper */
.reports {
  background: var(--white);
}
.paper {
  position: relative;
  width: min(420px, 100%);
  padding: 30px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 0 0 1px #ece8e1, var(--shadow);
  transform: rotate(-1.5deg);
}
.paper::after {
  content: "";
  position: absolute;
  inset: 14px -14px -14px 14px;
  z-index: -1;
  border-radius: 18px;
  background: var(--paper);
  transform: rotate(3deg);
}
.paper-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 14px;
  border-bottom: 1px solid #ece8e1;
}
.paper-top .mark {
  width: 24px;
  height: 24px;
}
.paper-top .logo-word {
  font-weight: 800;
}
.paper-top > span:last-child {
  margin-left: auto;
  color: var(--muted);
  font-size: 0.78rem;
}
.paper h3 {
  margin-top: 18px;
  font-size: 1.35rem;
}
.paper-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 14px 0 8px;
}
.paper-meta small,
.paper-row small {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
}
.paper-meta strong {
  font-size: 0.92rem;
}
.paper-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 0;
  border-top: 1px solid #f0ece6;
  font-size: 0.92rem;
  font-weight: 600;
}
.paper-row > span {
  flex: 1;
}
.paper-row .ic {
  width: 18px;
  height: 18px;
  color: var(--green);
}
.paper-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 6px;
  padding-top: 14px;
  border-top: 2px solid var(--ink);
}
.paper-total strong {
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.paper-tag {
  position: absolute;
  left: -26px;
  bottom: -20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 14px;
  background: var(--navy);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: var(--shadow);
  transform: rotate(1.5deg);
}
.paper-tag .ic {
  width: 18px;
  height: 18px;
  color: var(--orange);
}

/* ---------- Audience ---------- */
.audience {
  padding: 72px 0;
  border-block: 1px solid var(--line);
  background: var(--paper);
  text-align: center;
}
.audience h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.3rem);
}
.audience ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}
.audience li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-weight: 600;
}
.audience .ic {
  color: #c97d00;
}

/* ---------- Pricing ---------- */
.pricing {
  padding: 120px 0;
}
.price-in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: 72px;
}
.price-card {
  position: relative;
  padding: 34px;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--line), var(--shadow);
}
.price-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: 27px;
  background: linear-gradient(140deg, var(--orange), transparent 45%);
  opacity: 0.6;
}
.seat-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}
.seat-heading > span {
  padding: 6px 12px;
  border-radius: 12px;
  background: var(--paper);
  white-space: nowrap;
}
.seat-heading output {
  font-size: 1.15rem;
  font-weight: 800;
}
.seat-heading > span > span {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
}
#seats {
  width: 100%;
  height: 8px;
  margin: 28px 0 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--orange), var(--orange)) 0 / var(--fill, 18%) 100% no-repeat, #ebe5db;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}
#seats::-webkit-slider-thumb {
  width: 26px;
  height: 26px;
  border: 5px solid #fff;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 4px 12px rgba(10, 17, 28, 0.3);
  -webkit-appearance: none;
  appearance: none;
}
#seats::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border: 5px solid #fff;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 4px 12px rgba(10, 17, 28, 0.3);
}
#seats:disabled {
  cursor: default;
  opacity: 0.7;
}
.range-labels {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.8rem;
}
.price-result {
  margin: 26px 0;
  padding: 24px;
  border-radius: 18px;
  background: var(--navy);
  color: #fff;
  text-align: center;
}
.price-result small {
  color: #9aa6b8;
  font-weight: 600;
}
#price-numeric {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 6px;
  margin-top: 4px;
}
#price-total,
#price-custom {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
}
#price-custom {
  display: block;
  font-size: 1.6rem;
}
#price-numeric > span,
#price-unit {
  color: #9aa6b8;
}
#price-unit {
  margin-top: 4px;
  font-size: 0.88rem;
}
.fine {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.5;
}
.tariffs {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.tariffs summary {
  color: #b56f00;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
}

/* ---------- Trust ---------- */
.trust {
  padding: 110px 0;
  background: var(--paper);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.trust article {
  padding: 32px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 0 0 1px var(--line);
}
.trust article > .ic {
  width: 46px;
  height: 46px;
  margin-bottom: 22px;
  padding: 11px;
  border-radius: 14px;
  background: var(--navy);
  color: var(--orange);
}
.trust p {
  margin-top: 8px;
  color: var(--muted);
}
.trust a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  color: #b56f00;
  font-weight: 700;
}
.trust a .ic {
  width: 16px;
  height: 16px;
}

/* ---------- Guides ---------- */
.guides {
  padding: 110px 0;
}
.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.guide {
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.guide:hover {
  transform: translateY(-4px);
  border-color: #e9c27d;
  box-shadow: var(--shadow-sm);
}
.guide-n {
  color: #c97d00;
  font-size: 0.82rem;
  font-weight: 800;
}
.guide h3 {
  margin-top: 14px;
}
.guide p {
  flex: 1;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.94rem;
}
.more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  color: #b56f00;
  font-weight: 700;
  font-size: 0.92rem;
}
.more .ic {
  width: 16px;
  height: 16px;
}

/* ---------- FAQ ---------- */
.faq {
  padding: 110px 0;
  background: var(--paper);
}
.faq-in {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: 64px;
  align-items: start;
}
.faq .head {
  position: sticky;
  top: 110px;
}
.faq-list details {
  border-bottom: 1px solid var(--line);
}
.faq-list summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 0;
  font-size: 1.06rem;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.plus {
  position: relative;
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 1px var(--line);
}
.plus::before,
.plus::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 2px;
  margin: -1px 0 0 -6px;
  border-radius: 2px;
  background: #b56f00;
  transition: transform 0.2s ease;
}
.plus::after {
  transform: rotate(90deg);
}
.faq-list details[open] .plus::after {
  transform: rotate(0deg);
}
.faq-list details p {
  padding: 0 44px 22px 0;
  color: var(--muted);
}

/* ---------- Final CTA ---------- */
.final-in {
  padding: 120px 0;
  text-align: center;
}
.final h2 {
  font-size: clamp(2.3rem, 4.6vw, 3.9rem);
}
.final p {
  max-width: 560px;
  margin: 20px auto 34px;
  color: #b9c3d1;
  font-size: 1.12rem;
}
.worker-login {
  display: inline-block;
  margin-top: 22px;
  color: #9aa6b8;
  font-size: 0.92rem;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.worker-login:hover {
  color: #fff;
}

/* ---------- Footer ---------- */
.ftr {
  padding: 56px 0 30px;
  background: #070c14;
  color: #9aa6b8;
  font-size: 0.92rem;
}
.ftr .logo {
  color: #fff;
}
.ftr-main {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
}
.ftr-main p {
  margin-top: 12px;
  max-width: 340px;
}
.ftr-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  align-items: flex-start;
}
.ftr-links a:hover {
  color: #fff;
}
.ftr-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--navy-line);
  font-size: 0.82rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav a:nth-child(5) {
    display: none;
  }
  .f-approve {
    left: 0;
  }
  .f-offline {
    right: -2%;
  }
}
@media (max-width: 960px) {
  .nav {
    display: none;
  }
  .hero-in,
  .split,
  .glance-in,
  .price-in,
  .faq-in {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-in {
    padding-top: 56px;
  }
  .split.rev > .visual {
    order: 1;
  }
  .hero-visual {
    min-height: 0;
    padding: 20px 0 30px;
  }
  .visual {
    min-height: 0;
    padding: 10px 0 34px;
  }
  .faq .head {
    position: static;
  }
  .steps,
  .trust-grid,
  .guide-grid {
    grid-template-columns: 1fr;
  }
  .strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .strip > div:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }
  .strip > div:nth-child(n + 3) {
    border-top: 1px solid var(--navy-line);
  }
}
@media (max-width: 640px) {
  .wrap {
    width: calc(100% - 32px);
  }
  body {
    font-size: 15.5px;
  }
  .hdr-in {
    height: 64px;
    gap: 12px;
  }
  .login {
    display: none;
  }
  .hdr-act .btn-sm {
    padding: 0 12px;
  }
  .language-menu summary span {
    display: none;
  }
  .cta-row .btn {
    width: 100%;
  }
  .hero-notes {
    flex-direction: column;
    gap: 10px;
  }
  .phone {
    width: min(300px, 86vw);
  }
  .halo {
    width: 320px;
    height: 320px;
  }
  .float {
    position: relative;
    inset: auto;
    margin-top: 14px;
    max-width: none;
    animation: none;
  }
  .hero-visual,
  .worker-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .facts,
  .compare-grid {
    grid-template-columns: 1fr;
  }
  .cmp,
  .price-card,
  .trust article,
  .guide {
    padding: 24px;
  }
  .compare,
  .steps-sec,
  .split-sec,
  .pricing,
  .trust,
  .guides,
  .faq,
  .glance {
    padding: 76px 0;
  }
  .dash-body {
    grid-template-columns: 1fr;
  }
  .dash-side {
    display: none;
  }
  .paper {
    transform: none;
  }
  .paper-tag {
    left: 12px;
    bottom: -18px;
  }
  .strip > div,
  .strip > div + div {
    padding: 22px 12px 26px 0;
  }
  .strip > div:nth-child(even) {
    padding-left: 16px;
  }
  .final-in {
    padding: 88px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ---------- Brand: bars mark + drawn wordmark ---------- */
.mark {
  width: 40px;
  height: 31px;
}
.wordmark {
  width: auto;
  height: 22px;
}
.logo {
  gap: 10px;
}
.ftr .wordmark {
  height: 24px;
}
.dash-side > .mark,
.dash-side > .wordmark {
  display: inline-block;
  vertical-align: middle;
}
.dash-side > .mark {
  width: 26px;
  height: 20px;
}
.dash-side > .wordmark {
  height: 15px;
  margin-left: 4px;
}
.paper-top .mark {
  width: 28px;
  height: 22px;
}
.paper-top .wordmark {
  height: 17px;
}
.ph-bar .mark {
  width: 28px;
  height: 21px;
}
.cmp h3 .mark {
  width: 32px;
  height: 25px;
}

/* ---------- Phone: the worker app's home screen (current app layout) ---------- */
.ph-screen {
  display: flex;
  flex-direction: column;
  height: 640px;
}
.phone-sm .ph-screen {
  height: 590px;
}
.ph-bar {
  gap: 6px;
  padding: 6px 14px 8px;
}
.ph-bar strong {
  font-size: 17px;
}
.ph-bar .ph-bell {
  width: 30px;
  height: 30px;
  margin-left: auto;
  box-shadow: 0 6px 14px -10px rgba(10, 17, 28, 0.5);
}
.ph-org {
  display: grid;
  justify-items: end;
  gap: 3px;
  margin-left: 8px;
}
.ph-org b {
  font-size: 11px;
  font-weight: 800;
}
.ph-bar .ph-chip {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-left: 0;
  padding: 3px 8px;
  border: 1px solid #f3d9a6;
}
.ph-chip .ic {
  width: 10px;
  height: 10px;
}
.ph-body {
  flex: 1;
  padding: 4px 12px 10px;
}
.ph-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border: 1px solid #e3ddd2;
  border-radius: 14px;
  background: #fff;
}
.ph-summary > div {
  flex: 1;
}
.ph-summary > i {
  align-self: stretch;
  width: 1px;
  background: #2a3444;
}
.ph-summary small {
  display: block;
  color: var(--ink-2);
  font-size: 9.5px;
}
.ph-summary strong {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.ph-summary > .ic {
  width: 14px;
  height: 14px;
}
.ph-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 9px;
}
.ph-tile {
  position: relative;
  min-height: 84px;
  padding: 10px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 16px -14px rgba(10, 17, 28, 0.55);
}
.ph-tile-ic {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--orange);
  color: #2a1800;
}
.ph-tile-ic .ic {
  width: 17px;
  height: 17px;
}
.ph-tile-go {
  position: absolute;
  top: 9px;
  right: 9px;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--orange-soft);
  color: #6b4100;
}
.ph-tile-go .ic {
  width: 10px;
  height: 10px;
}
.ph-tile strong {
  display: block;
  margin-top: 10px;
  font-size: 10.5px;
  font-weight: 800;
  line-height: 1.25;
}
/* Bottom sheet: site + start, or the running shift. */
.ph-panel {
  margin-top: auto;
  padding: 12px 12px 10px;
  border-radius: 22px 22px 0 0;
  background: #fff;
  box-shadow: 0 -10px 24px -18px rgba(10, 17, 28, 0.45);
}
.ph-field {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 12px;
  border: 1px solid #ddd5c8;
  border-radius: 12px;
}
.ph-field small {
  position: absolute;
  top: -7px;
  left: 10px;
  padding: 0 4px;
  background: #fff;
  color: var(--muted);
  font-size: 9px;
}
.ph-field .ic {
  width: 15px;
  height: 15px;
}
.ph-field strong {
  font-size: 12px;
  font-weight: 600;
}
.ph-panel .ph-go {
  margin-top: 10px;
  min-height: 44px;
  border-radius: 12px;
}
.ph-panel-run {
  background: #e1f5ee;
}
.ph-run-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.ph-panel-run .ph-live {
  background: rgba(15, 110, 86, 0.12);
  color: #0f6e56;
}
.ph-panel-run .ph-live i {
  background: #0f6e56;
}
.ph-run-site {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  overflow: hidden;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.ph-run-site .ic {
  width: 12px;
  height: 12px;
}
.ph-run-time {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  color: #0f6e56;
}
.ph-run-time > .ic {
  width: 26px;
  height: 26px;
}
.ph-panel-run .ph-time {
  margin: 4px 0 0;
  color: #0f6e56;
  font-size: 38px;
}
.ph-panel-run .ph-time span {
  color: #0f6e56;
  font-size: 38px;
}
.ph-run-meta {
  display: block;
  color: var(--ink-2);
  font-size: 10px;
  text-align: center;
}
.ph-panel-run .ph-actions {
  margin-top: 9px;
}
.ph-panel-run .ph-btn {
  min-height: 38px;
  border-radius: 11px;
  overflow: hidden;
  white-space: nowrap;
}
.ph-panel-run .ph-pause {
  border: 1.5px solid #8a5209;
  color: #6b4100;
}
.ph-panel-run .ph-stop {
  background: #172135;
  color: #fff;
}
.ph-nav {
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 7px 6px 12px;
  border-radius: 22px 22px 0 0;
  box-shadow: 0 -8px 20px -16px rgba(10, 17, 28, 0.5);
}
.ph-nav b {
  display: grid;
  place-items: center;
  width: 38px;
  height: 24px;
  border-radius: 999px;
}
.ph-nav .on b {
  background: var(--orange-soft);
  color: var(--orange);
}
.ph-nav .on small {
  color: #8a5209;
  font-weight: 800;
}
.ph-nav small {
  color: var(--ink-2);
  font-size: 9px;
}
.ph-panel + .ph-nav {
  box-shadow: 0 -1px 0 #eee8de;
}

/* Floating cards sit on the phone's edges, clear of its buttons. */
.f-approve {
  left: -12%;
  top: 44%;
}
.f-offline {
  right: -14%;
  top: 15%;
  bottom: auto;
}
@media (max-width: 1080px) {
  .f-approve {
    left: -2%;
  }
  .f-offline {
    right: -4%;
  }
}

.ph-btn {
  min-width: 0;
  padding: 0 8px;
}
.ph-btn-t {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.f-code {
  right: -10%;
  top: 40%;
  bottom: auto;
}
@media (max-width: 1080px) {
  .f-code {
    right: -2%;
  }
}
