/* LCfix.ir — minimal. Brand: graphite #16181D, power green #22C55E / #4ADE80 */
@font-face { font-family: Vazirmatn; src: url(../fonts/Vazirmatn-Regular.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: Vazirmatn; src: url(../fonts/Vazirmatn-Medium.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: Vazirmatn; src: url(../fonts/Vazirmatn-Bold.woff2) format("woff2"); font-weight: 700; font-display: swap; }

:root, [data-theme="light"] {
  --bg: #EEF0F2; --ink: #111317; --soft: #3A3D45; --faint: #5E626C; --line: #D3D7DD;
  --card: #FFFFFF; --card-hover: #FFFFFF; --sub: #F3F4F6; --foot: #E3E6EA;
  --led: #16A34A; --led-glow: rgba(22,163,74,.55); --brand: #6B7079;
  color-scheme: light;
}
[data-theme="dark"] {
  --bg: #0E1116; --ink: #F4F4F5; --soft: #A1A1AA; --faint: #71717a; --line: #262b34;
  --card: #141820; --card-hover: #181d26; --sub: #11151b; --foot: #0a0d11;
  --led: #4ADE80; --led-glow: rgba(74,222,128,.75); --brand: #6f7480;
  color-scheme: dark;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.8 Vazirmatn, Tahoma, sans-serif;
  -webkit-font-smoothing: antialiased; transition: background .25s, color .25s; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; }

/* ---------- top bar ---------- */
.top { position: absolute; inset: 0 0 auto 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; }
.top nav { display: flex; align-items: center; gap: 18px; font-size: 14px; }
.top nav a { color: var(--soft); }
.top nav a:hover { color: var(--ink); }
.top-home .mark { width: 96px; height: auto; display: block; }
.theme { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--soft);
  display: grid; place-items: center; cursor: pointer; transition: color .2s, border-color .2s; }
.theme:hover { color: var(--ink); border-color: var(--soft); }
.theme svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.theme .moon { fill: currentColor; stroke: none; }
[data-theme="light"] .theme .sun, [data-theme="dark"] .theme .moon { display: none; }

/* ---------- logo ---------- */
.mark .ink { fill: var(--ink); }
.mark .ring { stroke: var(--ink); }
.mark .tag { fill: var(--soft); }
.mark .led-bar { fill: var(--led); animation: blink 1.6s ease-in-out infinite; }
@keyframes blink {
  0%, 100% { opacity: 1;   filter: drop-shadow(0 0 10px var(--led-glow)); }
  50%      { opacity: .12; filter: none; }
}

/* ---------- hero: one screen ---------- */
.hero { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
.center { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 90px 20px 40px; }
.logo { line-height: 0; }
.logo .mark { width: min(360px, 78vw); height: auto; }
.tagline { margin: 22px 0 36px; color: var(--soft); font-size: 17px; letter-spacing: .2px; }

.choices { width: min(640px, 100%); display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.choice { display: flex; align-items: center; gap: 14px; padding: 18px 18px; text-align: right;
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  transition: border-color .2s, background .2s, transform .2s, box-shadow .2s; }
.choice:hover { border-color: var(--led); background: var(--card-hover); transform: translateY(-2px); box-shadow: 0 10px 28px -18px var(--led-glow); }
.c-ico { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--sub); border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); }
.c-ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.choice:hover .c-ico { color: var(--led); }
.c-txt { flex: 1; display: flex; flex-direction: column; line-height: 1.6; }
.c-txt b { font-size: 16.5px; font-weight: 700; }
.c-txt small { color: var(--faint); font-size: 13px; }
.c-go { color: var(--faint); font-size: 18px; transition: transform .2s, color .2s; }
.choice:hover .c-go { color: var(--led); transform: translateX(-4px); }

.actions { display: flex; gap: 10px; margin-top: 26px; justify-content: center; flex-wrap: wrap; }
.btn { border: 1px solid var(--line); border-radius: 10px; padding: 7px 18px; font-size: 14px; color: var(--soft); transition: color .15s, border-color .15s; }
.btn:hover { color: var(--ink); border-color: var(--soft); }
.btn.primary { background: var(--led); border-color: var(--led); color: #0E1116; font-weight: 700; }

/* ---------- brand strip ---------- */
.brands { position: relative; padding: 22px 0 26px; }
.brands::before { content: ""; position: absolute; inset: 0 12% auto; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent); }
.brands-cap { margin: 0 0 14px; text-align: center; font-size: 12px; color: var(--faint); letter-spacing: .3px; }
.marquee { overflow: hidden; direction: ltr;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent); }
.track { display: flex; width: max-content; animation: marquee 60s linear infinite; direction: ltr; }
.marquee:hover .track { animation-play-state: paused; }
.track ul { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; }
.track li { position: relative; display: flex; align-items: center; gap: 12px; padding: 0 34px;
  font: 300 15px/1 "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif; letter-spacing: 4px; text-transform: uppercase;
  color: var(--brand); white-space: nowrap; cursor: default; transition: color .3s; }
.track li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--line); transition: background .3s, box-shadow .3s; }
.track li:hover { color: var(--ink); }
.track li:hover::before { background: var(--led); box-shadow: 0 0 10px var(--led-glow); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- process: timeline ---------- */
.process { max-width: 1080px; margin: 0 auto; padding: 96px 20px 110px; text-align: center; }
.process h2 { font-size: 24px; font-weight: 700; }
.process-sub { margin: 6px 0 56px; color: var(--faint); font-size: 14px; }
.flow { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* the "PCB trace" connecting the nodes, with a spark of current running along it */
.wire { position: absolute; top: 39px; right: 12.5%; left: 12.5%; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.spark { position: absolute; top: 0; right: -90px; width: 90px; height: 100%;
  background: linear-gradient(to left, transparent, var(--led), transparent);
  animation: run 12s cubic-bezier(.45,0,.55,1) infinite; }
@keyframes run { 0% { right: -90px; } 80%, 100% { right: 100%; } }

.step { position: relative; display: flex; flex-direction: column; align-items: center; }
.node { position: relative; z-index: 1; width: 80px; height: 80px; border-radius: 50%; display: grid; place-items: center;
  background: var(--bg); border: 1px solid var(--line); color: var(--ink);
  transition: transform .3s, border-color .25s, color .25s, box-shadow .9s ease-out; }
.node::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: var(--sub); z-index: -1; }
.node svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.node.on { border-color: var(--led); color: var(--led); transition-duration: .3s, .15s, .15s, .2s;
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--led) 14%, transparent), 0 0 26px -4px var(--led-glow); }
.step:hover .node { transform: translateY(-4px); border-color: var(--led); color: var(--led); }

.step-txt { margin-top: 20px; max-width: 220px; }
.idx { display: block; font: 600 12px/1 "Segoe UI", Helvetica, Arial, sans-serif; letter-spacing: 2px; color: var(--led); margin-bottom: 8px; }
.step h3 { font-size: 17px; font-weight: 700; }
.step p { margin: 6px 0 0; color: var(--soft); font-size: 14px; line-height: 1.9; }

/* reveal on scroll (only when JS is on) */
.js .step { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; transition-delay: calc(var(--i) * 140ms); }
.js .flow.in .step { opacity: 1; transform: none; }

@media (max-width: 760px) {
  .process { text-align: right; padding: 64px 20px 80px; }
  .process h2, .process-sub { text-align: center; }
  .process-sub { margin-bottom: 36px; }
  .flow { grid-template-columns: 1fr; gap: 26px; max-width: 420px; margin: 0 auto; }
  .wire { top: 32px; bottom: 32px; right: 31px; left: auto; width: 2px; height: auto; }
  .spark { right: 0; top: -90px; width: 100%; height: 90px; background: linear-gradient(to bottom, transparent, var(--led), transparent); animation-name: runv; }
  @keyframes runv { 0% { top: -90px; } 80%, 100% { top: 100%; } }
  .step { flex-direction: row; align-items: flex-start; gap: 18px; }
  .node { flex: none; width: 64px; height: 64px; }
  .node svg { width: 26px; height: 26px; }
  .step-txt { margin-top: 4px; max-width: none; }
}

/* ---------- inner pages ---------- */
.inner-main { min-height: calc(100vh - 100px); display: grid; place-items: center; padding: 110px 20px 60px; }
.panel { width: min(520px, 100%); text-align: center; }
.panel h1 { font-size: 26px; margin: 14px 0 10px; }
.panel p { margin: 6px 0; }
.panel .muted { color: var(--soft); font-size: 14.5px; }
.led-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--led); animation: blink 1.6s ease-in-out infinite; }

/* ---------- footer ---------- */
.foot { background: var(--foot); border-top: 1px solid var(--line); color: var(--soft); font-size: 13.5px; }
.foot .row { display: flex; flex-wrap: wrap; gap: 6px 24px; padding: 12px 26px; }
.foot .row.end { border-top: 1px solid var(--line); justify-content: flex-end; }
.foot a:hover { color: var(--ink); }
.foot .row.copy { border-top: 1px solid var(--line); justify-content: space-between; font-size: 12px; color: var(--faint); }

/* ---------- mobile ---------- */
@media (max-width: 560px) {
  .top { padding: 12px 16px; }
  .center { padding-top: 80px; }
  .tagline { font-size: 16px; margin: 18px 0 28px; }
  .choices { grid-template-columns: 1fr; gap: 10px; }
  .choice { padding: 14px 16px; }
  .track li { padding: 0 22px; font-size: 13px; letter-spacing: 3px; }
  .brands { padding: 18px 0 22px; }
  .foot .row, .foot .row.end { justify-content: center; text-align: center; padding: 10px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .mark .led-bar, .led-dot { animation-duration: 3s; }
  .track, .spark { animation: none; }
}


/* ---------- slogan: "powers on" ---------- */
.slogan { margin: 26px 0 2px; font-size: clamp(24px, 3.2vw, 30px); font-weight: 700; line-height: 1.5; padding: 0 .1em;
  background: linear-gradient(90deg, var(--faint) 0%, var(--faint) 38%, var(--led) 47%, var(--led) 50%, var(--ink) 60%, var(--ink) 100%);
  background-size: 320% 100%; background-position: 0% 0;
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  opacity: 0; animation: slogan-in .5s .3s ease-out forwards, power-cycle 9s .7s ease-in-out infinite; }
@keyframes slogan-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
/* off -> current sweeps in -> on (with a glow) -> sweeps out -> off, forever */
@keyframes power-cycle {
  0%, 4%   { background-position: 0% 0;   filter: none; }
  22%      { background-position: 100% 0; filter: none; }
  30%      { background-position: 100% 0; filter: drop-shadow(0 0 12px var(--led-glow)); }
  40%, 78% { background-position: 100% 0; filter: none; }
  96%, 100%{ background-position: 0% 0;   filter: none; }
}
.slogan + .tagline { margin-top: 4px; font-size: 15px; color: var(--faint); }
@media (prefers-reduced-motion: reduce) { .slogan { animation: none; opacity: 1; background-position: 100% 0; } }

/* ---------- open-now badge ---------- */
.status { margin-top: 18px; }
.open-now { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--faint); }
.open-now i { width: 8px; height: 8px; border-radius: 50%; background: var(--faint); opacity: .6; }
.open-now.is-open { color: var(--soft); }
.open-now.is-open i { background: var(--led); opacity: 1; box-shadow: 0 0 8px var(--led-glow); animation: blink 1.6s ease-in-out infinite; }
.status .open-now { border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; background: var(--card); }
.reviews { color: var(--soft); }
.reviews:hover { color: var(--led) !important; }

/* ---------- directions menu ---------- */
.route { position: relative; }
.route summary { list-style: none; cursor: pointer; user-select: none; }
.route summary::-webkit-details-marker { display: none; }
.route[open] summary { color: var(--ink); border-color: var(--soft); }
.route-menu { position: absolute; z-index: 10; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); min-width: 150px;
  display: flex; flex-direction: column; padding: 6px; background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 14px 34px -14px rgba(0,0,0,.35); animation: pop .15s ease-out; }
.route-menu a { padding: 8px 14px; border-radius: 8px; font-size: 14px; color: var(--soft); text-align: right; }
.route-menu a:hover { background: var(--sub); color: var(--ink); }
@keyframes pop { from { opacity: 0; transform: translate(-50%, -4px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* ---------- power switch (logo) ---------- */
.logo { position: relative; display: inline-block; }
.power-hit { position: absolute; left: 13.5%; top: 0; width: 23%; height: 70%; padding: 0; border: 0; border-radius: 50%;
  background: transparent; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.power-hit:focus-visible { outline: 2px solid var(--led); outline-offset: 4px; }
.logo:has(.power-hit:hover) .mark .ring { stroke: var(--led); transition: stroke .25s; }
.logo:has(.power-hit:hover) .mark .led-bar { animation-duration: .7s; }
.logo:has(.power-hit:active) .mark { transform: scale(.985); transition: transform .1s; }
.crt-back { position: fixed; inset: 0; z-index: 1000; background: #000; opacity: 0; pointer-events: none; }
.crt-beam { position: fixed; inset: 0; z-index: 1001; pointer-events: none; transform-origin: 50% 50%;
  background: radial-gradient(ellipse at center, #ffffff 0%, #e9fff1 45%, #b8f5cf 100%);
  box-shadow: 0 0 60px 10px rgba(74,222,128,.55); }

/* ---------- 30-second diagnosis ---------- */
.diag-link { display: inline-block; margin-top: 16px; font-size: 13.5px; color: var(--soft); border-bottom: 1px dashed var(--line); padding-bottom: 2px; }
.diag-link:hover { color: var(--led); border-color: var(--led); }
.diag { max-width: 1040px; margin: 0 auto; padding: 90px 20px 20px; text-align: center; scroll-margin-top: 20px; }
.diag h2 { font-size: 24px; font-weight: 700; }
.diag-sub { margin: 6px 0 36px; color: var(--faint); font-size: 14px; }
.diag-box { display: grid; grid-template-columns: 1fr 1.1fr; gap: 28px; align-items: center; text-align: right;
  background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 28px; }
.diag-note { margin: 14px 0 0; font-size: 12.5px; color: var(--faint); }

.diag-board svg { width: 100%; height: auto; display: block; }
.diag-board .pcb { fill: var(--sub); stroke: var(--line); stroke-width: 1.5; }
.diag-board .traces path { fill: none; stroke: var(--line); stroke-width: 1.4; }
.diag-board .zone rect, .diag-board .zone circle { fill: var(--bg); stroke: var(--brand); stroke-width: 1.2; transition: fill .35s, stroke .35s, filter .35s; }
.diag-board .zone text { font: 500 8.5px Vazirmatn, Tahoma, sans-serif; fill: var(--faint); text-anchor: middle; transition: fill .35s; }
.diag-board .zone.on rect, .diag-board .zone.on circle { fill: color-mix(in srgb, var(--led) 22%, var(--bg)); stroke: var(--led);
  filter: drop-shadow(0 0 6px var(--led-glow)); animation: zone-pulse 1.6s ease-in-out infinite; }
.diag-board .zone.on text { fill: var(--ink); font-weight: 700; }
.diag-board.urgent .zone.on rect, .diag-board.urgent .zone.on circle { stroke: #ef4444; fill: color-mix(in srgb, #ef4444 18%, var(--bg)); filter: drop-shadow(0 0 6px rgba(239,68,68,.6)); }
@keyframes zone-pulse { 50% { filter: drop-shadow(0 0 1px var(--led-glow)); } }
/* idle "scanning" sweep while questions are being answered */
.diag-board { position: relative; overflow: hidden; border-radius: 14px; }
.diag-board.scan::after { content: ""; position: absolute; top: 0; bottom: 0; width: 30%; left: -30%;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--led) 16%, transparent), transparent); animation: scan 3.2s ease-in-out infinite; }
@keyframes scan { to { left: 100%; } }

.diag-step.in { animation: step-in .35s ease-out; }
@keyframes step-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.diag-q { font-size: 18px; font-weight: 700; margin: 0 0 16px; }
.diag-opts { display: grid; gap: 8px; }
.diag-opt { text-align: right; font: inherit; font-size: 14.5px; color: var(--ink); background: var(--bg); border: 1px solid var(--line);
  border-radius: 12px; padding: 11px 16px; cursor: pointer; transition: border-color .2s, background .2s, transform .15s; }
.diag-opt:hover { border-color: var(--led); transform: translateX(-3px); }
.diag-kicker { margin: 0 0 4px; font-size: 12.5px; font-weight: 700; color: var(--led); }
.diag-kicker.urgent { color: #ef4444; }
.diag-r { font-size: 19px; font-weight: 700; margin: 0 0 8px; }
.diag-d { margin: 0 0 12px; color: var(--soft); font-size: 14.5px; line-height: 2; }
.diag-tip { background: var(--sub); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; font-size: 14px; color: var(--soft); line-height: 1.9; }
.diag-tip b { color: var(--ink); }
.diag-cta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.diag-cta .btn { padding: 8px 16px; }
.diag-nav { display: flex; gap: 14px; margin-top: 14px; }
.diag-nav button { background: none; border: 0; padding: 0; font: inherit; font-size: 13px; color: var(--faint); cursor: pointer; }
.diag-nav button:hover { color: var(--ink); }
@media (max-width: 760px) {
  .diag { padding: 64px 16px 10px; }
  .diag-box { grid-template-columns: 1fr; padding: 18px; gap: 18px; }
}
@media (prefers-reduced-motion: reduce) { .diag-board .zone.on rect, .diag-board .zone.on circle, .diag-board.scan::after, .diag-step.in { animation: none; } }

/* ---------- logo motion: "C" rotates into a power button, then back (every 12s) ---------- */
.logo .mark .ring { transform-box: view-box; transform-origin: 329.8px 183px; animation: c-to-power 12s cubic-bezier(.65,0,.25,1) infinite; }
.logo .mark .bar-g { transform-box: view-box; animation: bar-in 12s ease-in-out infinite; }
@keyframes c-to-power {
  0%, 8%    { transform: rotate(90deg); }    /* a plain letter C */
  20%       { transform: rotate(-8deg); }    /* swings into place with a little overshoot */
  24%, 86%  { transform: rotate(0deg); }     /* power ring */
  96%, 100% { transform: rotate(90deg); }    /* back to C */
}
@keyframes bar-in {
  0%, 18%   { transform: translateY(-70px); opacity: 0; filter: none; }
  25%       { transform: translateY(6px);   opacity: 1; }
  29%       { transform: translateY(0);     filter: drop-shadow(0 0 22px var(--led-glow)); }
  36%, 84%  { transform: translateY(0);     opacity: 1; filter: none; }
  90%, 100% { transform: translateY(-70px); opacity: 0; filter: none; }
}
@media (prefers-reduced-motion: reduce) { .logo .mark .ring, .logo .mark .bar-g { animation: none; } }

/* ---------- sticky bar (appears after scrolling past the hero buttons) ---------- */
.sticky-bar { position: fixed; top: 0; inset-inline: 0; z-index: 50; pointer-events: none;
  transform: translateY(-110%); transition: transform .45s cubic-bezier(.2,.8,.2,1);
  background: color-mix(in srgb, var(--bg) 84%, transparent); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid var(--line); }
.sticky-bar.show { transform: none; pointer-events: auto; }
.sb-in { max-width: 1080px; margin: 0 auto; display: flex; align-items: center; gap: 14px; padding: 9px 20px; }
.sb-logo { line-height: 0; flex: none; }
.sb-logo .mark { width: 104px; height: auto; }
/* the logo "travels" from the centre to the corner when the bar appears */
.sticky-bar.show .sb-logo { animation: sb-logo-in .6s cubic-bezier(.2,.8,.2,1); }
@keyframes sb-logo-in { from { transform: translateX(calc(-50vw + 140px)) scale(1.9); opacity: 0; } 40% { opacity: 1; } to { transform: none; } }
.sb-nav { display: flex; gap: 8px; margin-inline-start: auto; }
.sb-pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; font-size: 14px; font-weight: 500;
  background: var(--card); border: 1px solid var(--line); color: var(--ink); transition: border-color .2s, color .2s, transform .2s; }
.sb-pill svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sb-pill:hover { border-color: var(--led); color: var(--led); transform: translateY(-1px); }
.sticky-bar.show .sb-pill { animation: sb-pill-in .5s .12s both cubic-bezier(.2,.8,.2,1); }
.sticky-bar.show .sb-pill + .sb-pill { animation-delay: .2s; }
@keyframes sb-pill-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.sb-theme { flex: none; width: 34px; height: 34px; }
@media (max-width: 560px) {
  .sb-in { padding: 8px 12px; gap: 8px; }
  .sb-logo .mark { width: 82px; }
  .sb-long { display: none; }
  .sb-pill { padding: 6px 11px; font-size: 13px; gap: 6px; }
  .sb-theme { display: none; }
  @keyframes sb-logo-in { from { transform: translateX(calc(-50vw + 60px)) scale(1.7); opacity: 0; } 40% { opacity: 1; } to { transform: none; } }
}
@media (prefers-reduced-motion: reduce) { .sticky-bar { transition: none; } .sticky-bar.show .sb-logo, .sticky-bar.show .sb-pill { animation: none; } }

/* ---------- repair tracking ---------- */
.tk-form { display: grid; gap: 12px; }
.tk-form .led-dot { justify-self: center; }
.tk-form label { display: grid; gap: 4px; text-align: right; font-size: 14px; color: var(--soft); }
.tk-form input { font: inherit; font-size: 18px; letter-spacing: 2px; text-align: center; padding: 10px 14px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--card); color: var(--ink); outline: none; transition: border-color .2s, box-shadow .2s; }
.tk-form input:focus { border-color: var(--led); box-shadow: 0 0 0 4px color-mix(in srgb, var(--led) 15%, transparent); }
.tk-form .btn { justify-self: center; padding: 9px 30px; font-size: 15px; cursor: pointer; font-family: inherit; }
.tk-form .small { font-size: 13px; }
.tk-form .small a { color: var(--ink); border-bottom: 1px dashed var(--line); }
.tk-err { color: #DC2626; font-size: 14px; background: color-mix(in srgb, #DC2626 8%, transparent); border-radius: 10px; padding: 8px 12px; }
[data-theme="dark"] .tk-err { color: #F87171; }

.tk { width: min(620px, 100%); display: grid; gap: 18px; text-align: center; }
.tk-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; color: var(--soft); font-size: 14px; }
.tk-no b { color: var(--ink); font-size: 17px; }
.tk-dev { border: 1px solid var(--line); border-radius: 999px; padding: 2px 12px; background: var(--card); }
.tk-now { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 26px 22px; }
.tk-now h1 { font-size: 26px; margin: 10px 0 6px; }
.tk-now p { margin: 0; color: var(--soft); }
.tk-now.is-ready { border-color: var(--led); box-shadow: 0 12px 34px -20px var(--led-glow); }
.tk-now.is-off .led-dot { background: var(--faint); box-shadow: none; animation: none; }
.tk-steps { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); position: relative; }
.tk-steps::before { content: ""; position: absolute; top: 9px; right: 8%; left: 8%; height: 2px; background: var(--line); }
.tk-steps li { position: relative; display: grid; justify-items: center; gap: 6px; font-size: 12.5px; color: var(--faint); }
.tk-steps i { width: 20px; height: 20px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line); z-index: 1; }
.tk-steps li.done i { background: var(--led); border-color: var(--led); }
.tk-steps li.done { color: var(--soft); }
.tk-steps li.cur i { border-color: var(--led); background: var(--card); box-shadow: 0 0 0 5px color-mix(in srgb, var(--led) 18%, transparent); animation: blink 1.6s ease-in-out infinite; }
.tk-steps li.cur { color: var(--ink); font-weight: 700; }
.tk-log { list-style: none; margin: 0; padding: 0; text-align: right; border-top: 1px solid var(--line); }
.tk-log li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 4px; border-bottom: 1px solid var(--line); font-size: 14px; }
.tk-log li:first-child span { color: var(--ink); font-weight: 500; }
.tk-log li span { color: var(--soft); }
.tk-log time { color: var(--faint); font-size: 13px; white-space: nowrap; }
.tk-upd { margin: 0; font-size: 12.5px; color: var(--faint); }
.tk .actions { justify-content: center; }
@media (max-width: 520px) { .tk-steps li span { font-size: 11px; } .tk-now h1 { font-size: 22px; } }

/* ---------- colleague panel ---------- */
.pn { width: min(860px, 100%); display: grid; gap: 16px; }
.pn-top { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 18px 22px; }
.pn-top > div:first-child { flex: 1; min-width: 180px; }
.pn-top h1 { font-size: 22px; }
.pn-top .muted { margin: 2px 0 0; color: var(--soft); font-size: 14px; }
.pn-bal { display: grid; justify-items: center; line-height: 1.5; }
.pn-bal span { font-size: 12.5px; color: var(--faint); }
.pn-bal b { font-size: 19px; }
.pn-bal b.debt { color: #DC2626; } [data-theme="dark"] .pn-bal b.debt { color: #F87171; }
.pn-bal b.cred { color: var(--led); }
.pn-bal small { font-size: 12px; color: var(--soft); }
.pn-out .btn { cursor: pointer; font-family: inherit; background: transparent; }
.pn-tools { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.pn-tools input { flex: 1; min-width: 220px; font: inherit; padding: 9px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--ink); outline: none; }
.pn-tools input:focus { border-color: var(--led); }
.pn-tabs { display: flex; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--card); }
.pn-tabs button { font: inherit; font-size: 13.5px; border: 0; background: transparent; color: var(--soft); padding: 8px 14px; cursor: pointer; }
.pn-tabs button.on { background: var(--led); color: #0E1116; font-weight: 700; }
.pn-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pn-list a { display: grid; grid-template-columns: 70px 1fr 110px 170px 120px; gap: 10px; align-items: center; padding: 12px 16px;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px; transition: border-color .15s, transform .15s; }
.pn-list a:hover { border-color: var(--led); transform: translateY(-1px); }
.pn-no { font-weight: 700; }
.pn-dev { display: grid; line-height: 1.5; min-width: 0; }
.pn-dev b { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pn-dev small { color: var(--faint); font-size: 12px; text-align: right; }
.pn-date { color: var(--faint); font-size: 13px; }
.pn-st { display: flex; align-items: center; gap: 7px; font-size: 13.5px; }
.pn-st i { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); flex: none; }
.pn-st.s3 i { background: #F59E0B; } .pn-st.s5 i { background: var(--led); box-shadow: 0 0 8px var(--led-glow); }
.pn-st.s2 i, .pn-st.s4 i { background: #3B82F6; } .pn-st.s0 i { background: #DC2626; } .pn-st.s6 i { background: var(--line); }
.pn-sum { text-align: left; font-size: 13.5px; color: var(--soft); }
.pn-empty, .pn .tk-upd { text-align: center; }
.pn-back { margin: 0; text-align: right; font-size: 14px; } .pn-back a { color: var(--soft); } .pn-back a:hover { color: var(--ink); }
.pn-sn { margin: -6px 0 0; font-size: 13.5px; color: var(--soft); }
.pn-bill { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; font-size: 14px; text-align: right; }
.pn-bill th, .pn-bill td { padding: 9px 14px; border-bottom: 1px solid var(--line); }
.pn-bill th { font-weight: 500; color: var(--faint); font-size: 12.5px; background: var(--sub); }
.pn-bill td:last-child, .pn-bill th:last-child { text-align: left; white-space: nowrap; }
.pn-bill tr.off td { color: var(--faint); text-decoration: line-through; }
.pn-bill tfoot td { font-weight: 700; border-bottom: 0; }
.pn-bill tfoot tr:first-child td { border-top: 1px solid var(--line); }
@media (max-width: 720px) {
  .pn-list a { grid-template-columns: 60px 1fr; grid-template-areas: "no dev" "st st" "date sum"; row-gap: 4px; }
  .pn-no { grid-area: no; } .pn-dev { grid-area: dev; } .pn-st { grid-area: st; } .pn-date { grid-area: date; } .pn-sum { grid-area: sum; }
}
