
:root{
  --bg:#08111f; --panel:#0f1b2e; --panel2:#12233a; --text:#e7eef8; --muted:#9fb0c5;
  --line:rgba(255,255,255,.1); --accent:#41d7ff; --accent2:#8cf0ff;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0;font-family:Arial,Helvetica,sans-serif;background:var(--bg);color:var(--text)}
a{color:inherit}
.container{width:min(1120px,calc(100% - 2rem));margin:0 auto}
.site-header{position:sticky;top:0;z-index:20;background:rgba(8,17,31,.92);backdrop-filter:blur(8px);border-bottom:1px solid var(--line)}
.header-inner{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:1rem 0}
.brand{text-decoration:none;font-size:1.8rem;font-weight:700;color:#fff}
.tagline{font-size:.9rem;color:var(--muted);margin-top:.25rem}
.nav{display:flex;gap:.45rem;flex-wrap:wrap;justify-content:flex-end}
.nav-link{text-decoration:none;padding:.65rem .9rem;border-radius:999px;color:#c7d4e6;font-size:.92rem}
.nav-link:hover{background:rgba(255,255,255,.05);color:#fff}
.nav-link.active{background:var(--accent);color:#04111d;font-weight:700}
.hero{background:linear-gradient(135deg,#08111f,#0f1b2e 60%, #0b3c46);border-bottom:1px solid var(--line)}
.hero-small{padding:3.25rem 0}
.eyebrow{display:inline-block;padding:.45rem .8rem;border-radius:999px;background:rgba(65,215,255,.12);border:1px solid rgba(65,215,255,.28);color:#b8f4ff;font-size:.85rem}
h1{font-size:clamp(2rem,4vw,3.4rem);margin:.85rem 0}
h2,h3{margin-top:0}
.hero-copy{max-width:780px;font-size:1.08rem;color:#d7e6f6}
.page-content{padding:2rem 0 4rem}
.grid{display:grid}
.two-col{grid-template-columns:repeat(2,minmax(0,1fr))}
.three-col{grid-template-columns:repeat(3,minmax(0,1fr))}
.gap-lg{gap:1.25rem}.gap-md{gap:1rem}.section-gap{margin-top:1.25rem}
.card{background:var(--panel);border:1px solid var(--line);border-radius:24px;padding:1.4rem;box-shadow:0 10px 30px rgba(0,0,0,.18)}
.card-dark{background:var(--panel2)}
.banner{display:flex;justify-content:space-between;align-items:center;gap:1rem}
.list-check{padding-left:1.1rem;line-height:1.8}
.button-row{display:flex;gap:.75rem;flex-wrap:wrap;margin-top:1rem}
.btn{display:inline-block;text-decoration:none;border:none;border-radius:14px;padding:.9rem 1.1rem;cursor:pointer;font-weight:700}
.btn-primary{background:var(--accent);color:#07111b}.btn-secondary{background:transparent;border:1px solid var(--line);color:#fff}
.text-link{text-decoration:none;color:var(--accent2);font-weight:700}
.pill-row{display:flex;gap:.6rem;flex-wrap:wrap}.pill{padding:.55rem .8rem;border-radius:999px;background:#091524;border:1px solid var(--line);color:#d9e6f7}
.pricing-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.price-card .price{font-size:2.3rem;font-weight:800;color:var(--accent2);margin-top:.5rem}.price-card .price-sub{color:var(--muted);font-size:.9rem;margin-bottom:1rem}
.price-card.featured{background:rgba(65,215,255,.08);border-color:rgba(65,215,255,.35)}
.table-wrap{overflow:auto}.parts-table{width:100%;border-collapse:collapse}
.parts-table th,.parts-table td{padding:.9rem 1rem;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}
.parts-table th{font-size:.86rem;text-transform:uppercase;color:#c4d6ea;background:rgba(255,255,255,.03)}
.contact-form,.ajax-form{display:grid;gap:1rem}
.input{width:100%;background:#091524;color:#fff;border:1px solid var(--line);border-radius:14px;padding:.95rem 1rem;font-size:1rem}
.textarea{min-height:160px;resize:vertical}.muted{color:var(--muted)}.top-gap-sm{margin-top:.9rem}
.form-status{min-height:1.2rem;color:var(--accent2);font-size:.92rem}
.site-footer{border-top:1px solid var(--line);background:#0a1526;padding:1.2rem 0 2rem}
.footer-grid{display:flex;justify-content:space-between;gap:1rem;align-items:flex-start}
.footer-links{display:flex;gap:1rem;flex-wrap:wrap}.footer-links a,.footer-email{text-decoration:none;color:#d2def0}
.chat-toggle{position:fixed;right:22px;bottom:22px;z-index:30;border:none;background:var(--accent);color:#07111b;font-weight:800;border-radius:999px;padding:1rem 1.15rem;box-shadow:0 18px 40px rgba(0,0,0,.28);cursor:pointer}
.chat-panel{position:fixed;right:22px;bottom:82px;z-index:31;width:min(420px,calc(100vw - 1.5rem));background:var(--panel);border:1px solid var(--line);border-radius:24px;overflow:hidden;display:none;box-shadow:0 18px 50px rgba(0,0,0,.34)}
.chat-panel.open{display:block}
.chat-header{display:flex;justify-content:space-between;gap:1rem;align-items:flex-start;padding:1rem;background:#091524;border-bottom:1px solid var(--line)}
.chat-sub{font-size:.82rem;color:var(--muted);margin-top:.2rem}.chat-close{border:none;background:transparent;color:#fff;font-size:1.6rem;cursor:pointer;line-height:1}
.chat-messages{height:320px;overflow:auto;padding:1rem;display:flex;flex-direction:column;gap:.8rem}
.msg{max-width:85%;padding:.85rem 1rem;border-radius:18px;line-height:1.5;font-size:.95rem}
.msg.user{align-self:flex-end;background:var(--accent);color:#07111b}.msg.bot{align-self:flex-start;background:#152741;color:#edf4ff}
.msg-links{display:flex;gap:.4rem;flex-wrap:wrap;margin-top:.6rem}.msg-links a{text-decoration:none;font-size:.78rem;padding:.35rem .6rem;border-radius:999px;background:rgba(255,255,255,.07);border:1px solid var(--line);color:#bfefff}
.chat-quick{display:flex;gap:.45rem;flex-wrap:wrap;padding:0 1rem 1rem}.chat-quick button{border:1px solid var(--line);background:#091524;color:#dbe8f8;padding:.45rem .65rem;border-radius:999px;cursor:pointer;font-size:.76rem}
.chat-input-row{display:flex;gap:.5rem;padding:0 1rem 1rem}.chat-input{flex:1;background:#091524;color:#fff;border:1px solid var(--line);border-radius:14px;padding:.9rem 1rem}
.chat-note{border-top:1px solid var(--line);padding:.75rem 1rem 1rem;color:var(--muted);font-size:.74rem}
@media (max-width: 920px){.pricing-grid,.two-col,.three-col{grid-template-columns:1fr}.banner,.footer-grid,.header-inner{flex-direction:column;align-items:flex-start}}

.hero-image-wrap{margin-top:1.25rem}
.hero-image{max-width:320px;width:100%;height:auto;display:block;border-radius:18px;border:1px solid var(--line);background:#fff;padding:.5rem;box-shadow:0 10px 30px rgba(0,0,0,.22)}
.chat-panel{max-height:calc(100vh - 110px);top:auto}
.chat-messages{height:min(320px,calc(100vh - 320px))}
.chat-note{display:none}
@media (max-width: 920px){
  .hero-image{max-width:260px}
  .chat-panel{right:12px;left:12px;width:auto;bottom:76px;max-height:calc(100vh - 88px)}
  .chat-messages{height:min(280px,calc(100vh - 300px))}
  .chat-toggle{right:12px;bottom:12px}
}


/* v4 fixes */
.nav-dmex{
  background: rgba(65,215,255,.14);
  border: 1px solid rgba(65,215,255,.35);
  color: #bff6ff;
  font-weight: 700;
}
.nav-dmex:hover{
  background: rgba(65,215,255,.24);
  color: #fff;
}
.hero-layout{
  display:grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, .7fr);
  gap: 2rem;
  align-items: center;
}
.hero-left{min-width:0}
.hero-right{
  display:flex;
  justify-content:flex-end;
  align-items:center;
}
.hero-image{
  max-width: 270px;
  width: 100%;
  height: auto;
  display:block;
  border-radius:18px;
  border:1px solid var(--line);
  background:#fff;
  padding:.5rem;
  box-shadow:0 10px 30px rgba(0,0,0,.22)
}
.chat-panel{
  right: 18px;
  bottom: 84px;
  width: min(420px, calc(100vw - 2rem));
  height: min(650px, calc(100vh - 110px));
  max-height: calc(100vh - 110px);
  display:none;
  grid-template-rows: auto minmax(0,1fr) auto auto;
}
.chat-panel.open{
  display:grid;
}
.chat-sub{
  display:none;
}
.chat-messages{
  height:auto;
  min-height:140px;
  max-height:none;
}
.chat-quick{
  max-height: 155px;
  overflow-y: auto;
  padding-top: .25rem;
}
.chat-input-row{
  position: sticky;
  bottom: 0;
  background: var(--panel);
  border-top: 1px solid var(--line);
  padding-top: .75rem;
}
.chat-note{
  display:none !important;
}
@media (max-width: 920px){
  .hero-layout{
    grid-template-columns: 1fr;
  }
  .hero-right{
    justify-content:flex-start;
  }
  .hero-image{
    max-width: 220px;
  }
  .chat-panel{
    right: 10px;
    left: 10px;
    width: auto;
    height: min(620px, calc(100vh - 90px));
    max-height: calc(100vh - 90px);
    bottom: 70px;
  }
  .chat-quick{
    max-height: 135px;
  }
  .chat-toggle{
    right: 10px;
    bottom: 10px;
  }
}


.part-cell{display:flex;align-items:center;gap:12px}
.part-img{width:80px;height:80px;object-fit:contain;background:#fff;border-radius:8px;padding:4px;cursor:zoom-in;border:1px solid rgba(255,255,255,.08)}
.parts-table th,.parts-table td{padding:12px 10px;text-align:left;vertical-align:top}
.part-meta{display:flex;flex-direction:column;gap:.35rem}
.part-number{font-weight:700}
.part-desc-hover{position:relative;display:inline-block}
.part-desc-hover .tooltip{display:none;position:absolute;left:0;top:calc(100% + 8px);width:300px;max-width:min(300px,70vw);background:#1f2937;color:#fff;padding:10px 12px;border-radius:8px;box-shadow:0 12px 28px rgba(0,0,0,.28);z-index:1000;font-size:13px;line-height:1.45}
.part-desc-hover:hover .tooltip,.part-desc-hover:focus-within .tooltip{display:block}
.quote-btn{display:inline-block;padding:.55rem .8rem;border-radius:999px;background:#3ec6ff;color:#041422;text-decoration:none;font-weight:700;white-space:nowrap}
.quote-btn:hover{filter:brightness(1.05)}
.image-modal{display:none;position:fixed;inset:0;z-index:5000}
.image-modal.open{display:block}
.image-modal-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.72)}
.image-modal-dialog{position:absolute;inset:5% 7%;display:flex;align-items:center;justify-content:center}
.image-modal-img{max-width:100%;max-height:100%;background:#fff;border-radius:10px;padding:8px}
.image-modal-close{position:absolute;top:12px;right:12px;border:none;border-radius:999px;width:40px;height:40px;font-size:28px;line-height:1;background:#fff;cursor:pointer}
@media (max-width:920px){
  .part-desc-hover .tooltip{max-width:min(260px,80vw)}
  .part-cell{align-items:flex-start}
  .part-img{width:72px;height:72px}
}


.part-cell{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}
.part-img{
  width:80px;
  height:80px;
  object-fit:contain;
  background:#fff;
  border-radius:8px;
  padding:4px;
  flex:0 0 80px;
}
.part-meta{min-width:0}
.part-number{font-weight:700;word-break:break-word}


/* v34 tighter parts alignment */
.parts-table{
  width:100%;
  table-layout:fixed;
  border-collapse:collapse;
}
.parts-table th:nth-child(1),
.parts-table td:nth-child(1){width:31%}
.parts-table th:nth-child(2),
.parts-table td:nth-child(2){width:33%}
.parts-table th:nth-child(3),
.parts-table td:nth-child(3){width:12%}
.parts-table th:nth-child(4),
.parts-table td:nth-child(4){width:24%}
.parts-table th,
.parts-table td{
  padding:12px 10px;
  text-align:left;
  vertical-align:middle;
}
.part-cell{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}
.part-img{
  width:72px;
  height:72px;
  object-fit:contain;
  background:#fff;
  border-radius:8px;
  padding:4px;
  flex:0 0 72px;
}
.part-meta{min-width:0}
.part-number{font-weight:700;word-break:break-word}
.quote-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:100%;
  max-width:165px;
  font-size:.92rem;
  padding:.65rem .85rem;
}
@media (max-width:920px){
  .parts-table{table-layout:auto}
  .quote-btn{max-width:none}
}


/* v35 stronger parts-page layout */
.parts-table{
  width:100% !important;
  table-layout:fixed !important;
  border-collapse:collapse !important;
}
.parts-table th,
.parts-table td{
  padding:12px 10px !important;
  text-align:left !important;
  vertical-align:middle !important;
}
.parts-table th:nth-child(1),
.parts-table td:nth-child(1){
  width:260px !important;
}
.parts-table th:nth-child(2),
.parts-table td:nth-child(2){
  width:auto !important;
}
.parts-table th:nth-child(3),
.parts-table td:nth-child(3){
  width:120px !important;
}
.parts-table th:nth-child(4),
.parts-table td:nth-child(4){
  width:190px !important;
}
.parts-table .part-cell{
  display:flex !important;
  align-items:center !important;
  gap:12px !important;
  min-width:0 !important;
}
.parts-table .part-img{
  width:72px !important;
  height:72px !important;
  object-fit:contain !important;
  background:#fff !important;
  border-radius:8px !important;
  padding:4px !important;
  flex:0 0 72px !important;
}
.parts-table .part-meta{
  min-width:0 !important;
}
.parts-table .part-number{
  font-weight:700 !important;
  word-break:break-word !important;
}
.parts-table .quote-btn{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:160px !important;
  min-width:160px !important;
  max-width:160px !important;
  padding:.7rem .9rem !important;
  border-radius:999px !important;
  background:#3ec6ff !important;
  color:#041422 !important;
  text-decoration:none !important;
  font-weight:700 !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  box-sizing:border-box !important;
}
.parts-table .quote-btn:hover{
  filter:brightness(1.05);
}
@media (max-width:920px){
  .parts-table{
    display:block;
    overflow-x:auto;
    white-space:normal;
  }
  .parts-table th:nth-child(1),
  .parts-table td:nth-child(1){
    width:240px !important;
  }
  .parts-table th:nth-child(3),
  .parts-table td:nth-child(3){
    width:110px !important;
  }
  .parts-table th:nth-child(4),
  .parts-table td:nth-child(4){
    width:180px !important;
  }
  .parts-table .quote-btn{
    width:150px !important;
    min-width:150px !important;
    max-width:150px !important;
  }
}


/* v36 header alignment tune */
.parts-table thead th:nth-child(1){
  text-align:left !important;
}
.parts-table thead th:nth-child(2){
  text-align:left !important;
}
.parts-table thead th:nth-child(3),
.parts-table tbody td:nth-child(3){
  text-align:center !important;
}
.parts-table thead th:nth-child(4),
.parts-table tbody td:nth-child(4){
  text-align:center !important;
}
.parts-table thead th{
  vertical-align:middle !important;
  padding-top:10px !important;
  padding-bottom:10px !important;
}
.parts-table tbody td:nth-child(4){
  padding-left:0 !important;
  padding-right:0 !important;
}
.parts-table .quote-btn{
  margin:0 auto !important;
}


/* v37 parts grid layout */
.parts-grid{
  display:grid;
  grid-template-columns: 280px minmax(260px,1fr) 120px 180px;
  align-items:center;
  column-gap:18px;
}
.parts-grid.header{
  background:#13233d;
  border-radius:0;
  padding:12px 16px;
  font-weight:700;
  color:#eef5ff;
  text-transform:uppercase;
}
.parts-grid-row{
  display:grid;
  grid-template-columns: 280px minmax(260px,1fr) 120px 180px;
  align-items:center;
  column-gap:18px;
  padding:14px 16px;
  border-top:1px solid rgba(255,255,255,.08);
}
.parts-grid-wrap{
  border-radius:16px;
  overflow:hidden;
}
.parts-grid .col-price,
.parts-grid-row .col-price{
  text-align:center;
}
.parts-grid .col-quote,
.parts-grid-row .col-quote{
  text-align:center;
}
.parts-grid-row .part-cell{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}
.parts-grid-row .part-img{
  width:72px;
  height:72px;
  object-fit:contain;
  background:#fff;
  border-radius:8px;
  padding:4px;
  flex:0 0 72px;
  cursor:zoom-in;
}
.parts-grid-row .part-meta{
  min-width:0;
}
.parts-grid-row .part-number{
  font-weight:700;
  word-break:break-word;
}
.parts-grid-row .quote-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:160px;
  min-width:160px;
  max-width:160px;
  padding:.7rem .9rem;
  border-radius:999px;
  background:#3ec6ff;
  color:#041422;
  text-decoration:none;
  font-weight:700;
  white-space:nowrap;
  box-sizing:border-box;
}
.parts-grid-row .quote-btn:hover{filter:brightness(1.05)}
@media (max-width: 1100px){
  .parts-grid,
  .parts-grid-row{
    grid-template-columns: 250px minmax(220px,1fr) 100px 160px;
  }
}
@media (max-width: 920px){
  .parts-grid-wrap{overflow-x:auto}
  .parts-grid,
  .parts-grid-row{
    min-width:780px;
  }
}


/* v38 Z10 homepage hero + FAQ */
.eyebrow{
  display:inline-block;
  margin-bottom:.75rem;
  font-size:.9rem;
  font-weight:700;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:#6dd5ff;
}
.hero-left{
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.hero-right{
  display:flex;
  align-items:center;
  justify-content:center;
}
details.card summary{
  cursor:pointer;
  font-weight:700;
  list-style:none;
}
details.card summary::-webkit-details-marker{
  display:none;
}
details.card summary::after{
  content:"+";
  float:right;
}
details.card[open] summary::after{
  content:"–";
}
details.card p{
  margin-top:1rem;
}

/* v4 troubleshooting wizard */
.wizard-progress{
  display:flex;
  gap:.75rem;
  flex-wrap:wrap;
  margin-bottom:1.5rem;
}
.wizard-step{
  padding:.65rem .9rem;
  border-radius:999px;
  border:1px solid var(--line);
  background:#091524;
  color:var(--muted);
  font-weight:700;
}
.wizard-step.active{
  background:#153255;
  color:#fff;
  border-color:#41d7ff;
}
.button-stack{
  display:flex;
  flex-direction:column;
  gap:.9rem;
  align-items:flex-start;
}
.wizard-panel h3{
  margin-bottom:.65rem;
}


/* v6 visual troubleshooting wizard */
.wizard-progress{
  display:flex;
  gap:.75rem;
  flex-wrap:wrap;
  margin-bottom:1.5rem;
}
.wizard-step{
  padding:.65rem .9rem;
  border-radius:999px;
  border:1px solid var(--line);
  background:#091524;
  color:var(--muted);
  font-weight:700;
}
.wizard-step.active{
  background:#153255;
  color:#fff;
  border-color:#41d7ff;
}
.button-stack{
  display:flex;
  flex-direction:column;
  gap:.9rem;
  align-items:flex-start;
}
.wizard-layout{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:1.25rem;
  align-items:start;
}
.wizard-image{
  width:100%;
  height:auto;
  border-radius:14px;
  border:1px solid var(--line);
  background:#fff;
}
.wizard-caption{
  margin-top:.6rem;
  color:var(--muted);
  font-size:.95rem;
}
.wizard-list{
  margin:0 0 1rem 1.2rem;
}
.wizard-panel h3{
  margin-bottom:.65rem;
}
@media (max-width: 920px){
  .wizard-layout{
    grid-template-columns: 1fr;
  }
}

.legacy-stop-card{
  border:1px solid rgba(255, 196, 0, 0.25);
  box-shadow: inset 0 0 0 1px rgba(255,196,0,0.08);
}


/* Brown Box Support legal updates - effective June 22, 2026 */
.legal-page {
  max-width: 980px;
  margin: 2rem auto;
  padding: 1.5rem;
  line-height: 1.6;
}
.legal-page h1, .legal-page h2 {
  margin-top: 1.25rem;
}
.legal-footer-notice {
  font-size: 0.85rem;
  line-height: 1.45;
  margin: 0.5rem 0;
}
.terms-acknowledgment {
  display: block;
  margin: 1rem 0;
  padding: 0.85rem;
  border: 1px solid #d0d7de;
  border-radius: 6px;
  background: #f6f8fa;
  font-size: 0.95rem;
  line-height: 1.45;
}
.terms-acknowledgment input {
  margin-right: 0.5rem;
}


/* Launch support email publication */
.support-email-block {
  margin: 2rem 0;
  padding: 1.5rem;
  border: 2px solid #1f6feb;
  border-radius: 10px;
  background: #f6faff;
}
.support-email {
  font-size: 1.45rem;
  font-weight: 700;
  margin: 1rem 0;
}
.support-email-inline {
  margin: 1.5rem 0;
  padding: 1rem;
  border-left: 4px solid #1f6feb;
  background: #f6faff;
}


/* Email-only contact page */
.support-email-block {
  max-width: 850px;
  margin: 3rem auto;
  padding: 2rem;
  border: 2px solid #43d9ff;
  border-radius: 16px;
  background: rgba(255,255,255,0.06);
  color: inherit;
}
.support-email-block p,
.support-email-block h1 {
  color: inherit;
}
.support-email {
  font-size: 1.75rem;
  font-weight: 800;
  margin: 1.25rem 0;
}
.support-email a {
  color: #43d9ff;
  text-decoration: underline;
}
