
/* v8.1 shared continuity layer */
:root{--fsc-inner:min(var(--max),100%);--fsc-divider-width:min(var(--max),calc(100% - (var(--pad) * 2)));--fsc-divider:#303036;--fsc-gap:70px}
html{scroll-padding-top:calc(var(--header) + 28px)}
body{overflow-x:hidden}

/* Large-screen art rails: monochrome technical line art + restrained FSC red pinstripe. */
@media(min-width:1280px){
  body::before,body::after{content:""!important;position:fixed!important;top:0!important;bottom:0!important;width:calc((100vw - var(--site-shell))/2)!important;z-index:0!important;pointer-events:none!important;background-color:#050506!important;background-repeat:no-repeat!important;background-size:cover!important;background-position:center!important;filter:none!important;transform:none!important;box-shadow:none!important}
  body::before{left:0!important;background-image:linear-gradient(90deg,rgba(0,0,0,.28),rgba(0,0,0,.02)),url("rail-left.svg")!important;border-right:1px solid rgba(255,33,70,.35)!important}
  body::after{right:0!important;background-image:linear-gradient(270deg,rgba(0,0,0,.28),rgba(0,0,0,.02)),url("rail-right.svg")!important;border-left:1px solid rgba(255,33,70,.35)!important}
}

/* Header account icon */
.account-icon{width:38px;height:38px;display:inline-grid!important;place-items:center;border:1px solid #3a3a40;padding:0!important;flex:0 0 38px;color:#fff!important}
.account-icon:hover{border-color:#6b6b73;background:#111114}
.account-icon svg{width:18px;height:18px;display:block}
@media(max-width:1100px){.navopen .account-icon{width:38px!important;height:38px!important;padding:0!important;margin:12px 0!important;border:1px solid #3a3a40!important}}

/* One divider and spacing rhythm everywhere. Lines align with the content column. */
.section{position:relative!important;border:0!important;padding-top:var(--fsc-gap)!important;padding-bottom:var(--fsc-gap)!important}
.section::before{content:"";position:absolute;top:0;left:50%;transform:translateX(-50%);width:var(--fsc-divider-width);height:1px;background:var(--fsc-divider)}
.section:first-of-type::before{display:none}
.section-head,.side-copy,.content-shell,.subgrid,.policy-layout,.gallery-grid,.review-grid,.home-reviews,.info-grid,.section-actions,.cards,.build-grid,.process,.standards,.quickbuild,.faq-shell,.staff-shell,.portal-shell{width:var(--fsc-inner)!important;max-width:none!important;margin-left:auto!important;margin-right:auto!important}
.section-head{margin-bottom:38px!important}
.section-head>.eyebrow,.side-copy>.eyebrow{margin-bottom:12px!important}
.section-head>p:last-child,.side-copy>p:not(.eyebrow),.page-hero .inner>p:last-child{margin-top:16px!important;line-height:1.68!important}
.subsection-block,.brands{position:relative!important;border:0!important;margin-top:50px!important;padding-top:32px!important}
.subsection-block::before,.brands::before{content:"";position:absolute;top:0;left:0;width:100%;height:1px;background:var(--fsc-divider)}
.policy-section{border:0!important;position:relative!important;padding:30px 0!important}.policy-section::before{content:"";position:absolute;top:0;left:0;right:0;height:1px;background:var(--fsc-divider)}.policy-section:first-child::before{display:none}
.formbox,.estimatebox,.portal-card,.portal-section,.staff-form{box-sizing:border-box!important}
.field input,.field select,.field textarea,.bike-field input,.bike-field select{min-height:48px}

/* Prevent control grids from escaping their containers. */
.formgrid,.bike-form,.staff-form,.bike-selector-grid{min-width:0}.formgrid>*,.bike-form>*,.staff-form>*,.bike-selector-grid>*{min-width:0}

/* Bike selector shared component */
.bike-selector{border:1px solid #313137;background:#101012;padding:18px;margin-top:8px}
.bike-selector-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.bike-field{display:grid;gap:7px}.bike-field.full{grid-column:1/-1}.bike-field label{font-size:12px;color:#aaaab1}.bike-field input,.bike-field select{width:100%;box-sizing:border-box;border:1px solid #3b3b42;background:#0b0b0d;color:#fff;padding:12px 13px;outline:none}.bike-field input:focus,.bike-field select:focus{border-color:#7d7d86}.vin-row{display:grid;grid-template-columns:1fr auto;gap:10px}.vin-row .btn{min-height:48px;white-space:nowrap}.bike-help{margin:8px 0 0;color:#787880;font-size:12px;line-height:1.55}.bike-detected{margin-top:9px;color:#c6c6cc;font-size:12px}.bike-detected.ok{color:#bfe4ca}.bike-detected.err{color:#f2b8c0}
@media(max-width:700px){.bike-selector-grid{grid-template-columns:1fr}.bike-field.full{grid-column:auto}.vin-row{grid-template-columns:1fr}}

/* Login / registration */
.auth-single{width:min(600px,100%);margin:0 auto}.auth-single .portal-card{padding:34px}.auth-single .portal-card h2{font-size:clamp(34px,4vw,52px);margin:0 0 26px}.auth-single .portal-card label{display:grid;gap:8px;margin:0 0 16px;color:#aaaab1}.auth-single .portal-card input{width:100%;box-sizing:border-box;background:#09090b;border:1px solid #393940;color:#fff;padding:14px}.auth-secondary{margin-top:18px;padding-top:18px;border-top:1px solid var(--fsc-divider);display:grid;gap:10px;text-align:center}.auth-secondary span{font-size:12px;color:#85858d}

/* Full client workspace */
.client-page{padding-top:var(--header);min-height:100vh}.client-shell{width:100%;max-width:var(--site-shell,1440px);margin:0 auto;display:grid;grid-template-columns:220px minmax(0,1fr);min-height:calc(100vh - var(--header));background:#09090b}.client-sidebar{border-right:1px solid var(--fsc-divider);padding:34px 18px;position:sticky;top:var(--header);height:calc(100vh - var(--header));box-sizing:border-box}.client-sidebar h3{margin:0 0 6px}.client-sidebar .client-email{color:#777780;font-size:12px;overflow-wrap:anywhere}.client-nav{display:grid;gap:6px;margin-top:30px}.client-nav button{display:flex;align-items:center;gap:10px;width:100%;border:0;border-left:2px solid transparent;background:transparent;color:#a5a5ad;text-align:left;padding:12px 14px;font-weight:800;cursor:pointer}.client-nav button.active{background:#121216;color:#fff;border-left-color:var(--red)}.client-nav svg{width:17px;height:17px}.client-main{padding:42px;min-width:0}.client-header{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:32px}.client-header h1{font-size:clamp(34px,4vw,58px);margin:0 0 8px;letter-spacing:-.04em}.client-panel{display:none}.client-panel.active{display:block}.dashboard-grid{display:grid;grid-template-columns:1.3fr .7fr;gap:18px}.client-card{border:1px solid #303036;background:#0e0e11;padding:22px;min-width:0}.client-card h3{margin:0 0 18px;font-size:20px}.current-job{display:grid;gap:14px}.job-meta{display:flex;gap:10px;flex-wrap:wrap;color:#898991;font-size:12px}.progress-track{height:8px;background:#202025}.progress-track i{display:block;height:100%;background:var(--red)}.client-list-item{padding:18px 0;border-top:1px solid #2c2c31}.client-list-item:first-child{border-top:0;padding-top:0}.client-list-item:last-child{padding-bottom:0}.client-list-item time{font-size:11px;color:#72727b}.client-list-item p{margin:7px 0 0;color:#b0b0b7;line-height:1.65}.message-thread{max-height:440px;overflow:auto;padding-right:6px}.message{max-width:78%;padding:12px 14px;margin:10px 0;border:1px solid #323239;background:#111114}.message.client{margin-left:auto;border-color:#5b2b36}.message.staff{margin-right:auto}.message small{display:block;color:#71717a;margin-top:7px}.message-form{margin-top:18px;display:grid;gap:10px}.message-form textarea{width:100%;box-sizing:border-box;min-height:100px;background:#09090b;border:1px solid #393940;color:#fff;padding:12px}.review-stars{color:var(--red);letter-spacing:.08em}.my-bikes-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:18px}.bike-card-client{border:1px solid #303036;background:#0e0e11;padding:20px}.client-empty{color:#7f7f87}.client-form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.client-form-row .full{grid-column:1/-1}
@media(max-width:980px){.client-shell{grid-template-columns:1fr}.client-sidebar{position:relative;top:auto;height:auto;border-right:0;border-bottom:1px solid var(--fsc-divider)}.client-nav{grid-template-columns:repeat(3,minmax(0,1fr))}.client-nav button{justify-content:center;border-left:0;border-bottom:2px solid transparent}.client-nav button.active{border-bottom-color:var(--red)}.dashboard-grid{grid-template-columns:1fr}.client-main{padding:28px var(--pad)}}
@media(max-width:620px){.client-nav{grid-template-columns:1fr 1fr}.client-header{flex-direction:column}.client-form-row{grid-template-columns:1fr}.client-form-row .full{grid-column:auto}}

/* FAQ search result support */
.faq-match-note{display:none;margin-top:-14px;margin-bottom:20px;color:#7c7c84;font-size:12px}.faq-match-note.show{display:block}

/* Staff page */
.staff-client-tools{margin-top:24px;border-top:1px solid var(--fsc-divider);padding-top:24px}.staff-message-list{margin:16px 0}.staff-message-row{padding:12px 0;border-top:1px solid #29292e}.staff-message-row:first-child{border-top:0}.staff-message-row small{color:#74747c}.staff-reply{display:grid;grid-template-columns:1fr auto;gap:10px}.staff-reply textarea{min-height:88px}


/* v8.2 refinement — tighter rhythm, aligned dividers, branded logo, review stars */
.page-hero{
  padding-top:70px!important;
  padding-bottom:54px!important;
}
.page-hero + .section{
  padding-top:54px!important;
}
.section::before{
  width:var(--fsc-divider-width)!important;
}
.scope-shell,
.scope-note{
  width:var(--fsc-inner)!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
.scope-tabs{
  margin-bottom:30px!important;
}
.scope-panel > h2{
  margin:0 0 24px!important;
}
.scope-drop{
  margin:0!important;
}
.scope-drop + .scope-drop{
  margin-top:0!important;
}
.scope-drop summary{
  padding-top:22px!important;
  padding-bottom:22px!important;
}
.scope-drop ul{
  margin-top:0!important;
  margin-bottom:24px!important;
}
.scope-note{
  margin-top:42px!important;
}
.review-verification-note{
  margin:7px 0 0!important;
  color:#777780!important;
  font-size:11px!important;
  line-height:1.45!important;
}

/* Full FSC lockup */
.footer-full-logo{
  width:min(330px,78vw)!important;
  height:auto!important;
  object-fit:contain!important;
  display:block!important;
}
.auth-full-logo{
  width:min(330px,78%)!important;
  height:auto!important;
  display:block!important;
  margin:0 0 30px!important;
}
.full-logo-band{
  width:var(--fsc-inner);
  margin:0 auto;
  padding:34px 0 6px;
  display:flex;
  justify-content:flex-start;
}
.full-logo-band img{
  width:min(430px,80vw);
  height:auto;
}

/* FSC progressive review control */
.fsc-star-rating{
  display:flex;
  align-items:center;
  gap:10px;
  min-height:52px;
  margin-top:5px;
}
.fsc-star-rating input{
  position:absolute!important;
  opacity:0!important;
  width:1px!important;
  height:1px!important;
  pointer-events:none!important;
}
.fsc-star-rating label{
  display:inline-block!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  color:#4d4d55;
  font-size:40px;
  line-height:1;
  cursor:pointer;
  user-select:none;
  -webkit-user-select:none;
  transform-origin:center;
  transition:color .15s ease,transform .15s ease,text-shadow .15s ease,-webkit-text-stroke .15s ease;
}
.fsc-star-rating label:hover{
  transform:translateY(-2px) scale(1.08);
}
.fsc-star-rating label.is-active{
  color:#B20F2E;
}
/* Higher ratings progressively gain more finish and glow. */
.fsc-star-rating[data-rating="1"] label.is-active{
  color:#c94b61;
}
.fsc-star-rating[data-rating="2"] label.is-active{
  color:#ed3554;
}
.fsc-star-rating[data-rating="3"] label.is-active{
  color:#B20F2E;
  text-shadow:0 0 10px rgba(255,36,74,.20);
}
.fsc-star-rating[data-rating="4"] label.is-active{
  color:#B20F2E;
  text-shadow:0 0 8px rgba(255,36,74,.42),0 0 20px rgba(255,36,74,.18);
}
.fsc-star-rating[data-rating="5"] label.is-active{
  color:#fff;
  -webkit-text-stroke:1px #B20F2E;
  text-shadow:0 0 7px rgba(255,36,74,.85),0 0 20px rgba(255,36,74,.52),0 0 34px rgba(255,36,74,.24);
  transform:translateY(-1px) scale(1.04);
}
.fsc-star-rating input:focus-visible + label{
  outline:1px solid #B20F2E!important;
  outline-offset:5px;
  border-radius:2px;
}
@media(max-width:760px){
  :root{--fsc-gap:56px}
  .page-hero{padding-top:56px!important;padding-bottom:42px!important}
  .page-hero + .section{padding-top:44px!important}
  .section-head{margin-bottom:32px!important}
  .subsection-block,.brands{margin-top:42px!important;padding-top:28px!important}
  .fsc-star-rating{gap:8px}
  .fsc-star-rating label{font-size:36px}
}


/* v8.3 — visual refinement */
:root{
  --red:#B20F2E!important;
  --red-bright:#CF1738;
  --fsc-divider:#2B2B30!important;
  --fsc-gap:64px!important;
}

/* One clean divider system: no stacked borders / pseudo-lines. */
.page-hero{border:0!important}
.section,.section.dark{border:0!important}
.section::before{
  height:1px!important;
  background:#2B2B30!important;
  box-shadow:none!important;
  opacity:1!important;
  transform:translateX(-50%)!important;
}
.subsection-block,.brands,.policy-section{border-top:0!important}
.subsection-block::before,.brands::before,.policy-section::before{
  height:1px!important;
  background:#2B2B30!important;
  box-shadow:none!important;
}
.section-head{margin-bottom:34px!important}
.subsection-block,.brands{margin-top:46px!important;padding-top:28px!important}
.page-hero{padding-top:64px!important;padding-bottom:48px!important}
.page-hero + .section{padding-top:50px!important}

/* Distinct left/right rail artwork — intentionally asymmetric. */
@media(min-width:1280px){
  body::before{
    background-image:linear-gradient(90deg,rgba(0,0,0,.26),rgba(0,0,0,.01)),url("rail-left-v83.svg")!important;
    border-right:1px solid rgba(178,15,46,.34)!important;
  }
  body::after{
    background-image:linear-gradient(270deg,rgba(0,0,0,.26),rgba(0,0,0,.01)),url("rail-right-v83.svg")!important;
    border-left:1px solid rgba(178,15,46,.34)!important;
  }
}

/* Full-screen client dashboard uses equal columns/cards. */
.dashboard-grid{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  align-items:stretch!important;
}
.dashboard-grid>.client-card{
  height:100%!important;
  box-sizing:border-box!important;
}
@media(max-width:980px){
  .dashboard-grid{grid-template-columns:1fr!important}
}

/* Nested labor estimator panels */
.estimator-grid{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:10px!important;
}
.estimate-choice{
  border:1px solid #34343a!important;
  background:#101012!important;
}
.estimate-toggle{
  min-height:52px!important;
  padding:13px 16px!important;
  font-weight:850!important;
}
.estimate-detail{
  border-top:1px solid #2B2B30!important;
  padding:14px 16px 16px!important;
  background:#0c0c0e!important;
}
.estimate-detail[hidden]{display:none!important}
.estimate-subgrid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px 18px;
}
.estimate-subcheck{
  display:flex!important;
  align-items:flex-start!important;
  gap:9px!important;
  padding:9px 0!important;
  color:#d0d0d5!important;
  font-size:13px!important;
  line-height:1.4!important;
  cursor:pointer;
}
.estimate-subcheck input{
  width:16px!important;
  height:16px!important;
  min-height:0!important;
  margin-top:2px!important;
  accent-color:var(--red)!important;
}
@media(max-width:700px){
  .estimate-subgrid{grid-template-columns:1fr}
}

/* Deeper blood-red interactive treatment */
.btn.primary{background:var(--red)!important;border-color:var(--red)!important}
.btn.primary:hover{background:var(--red-bright)!important;border-color:var(--red-bright)!important}
.eyebrow,.req{color:var(--red)!important}
.progress-track i,.progress span{background:var(--red)!important}


/* v8.4 — mobile spacing, header icon, portal settings, and form-theme cleanup */
html,body{max-width:100%;overflow-x:hidden!important}
body{color-scheme:dark}
img,svg,video,canvas{max-width:100%}
#scrollTrack{height:2px!important;background:#111216!important}
header, .site-header{box-shadow:none!important}
.page-hero,.hero,.section,.client-page,.client-shell,.client-main{overflow-x:clip}
.page-hero,.section{padding-left:var(--pad)!important;padding-right:var(--pad)!important}
.page-hero .inner,.hero-inner{max-width:min(var(--max),calc(100vw - (var(--pad) * 2)))!important}
.hero-inner{width:min(980px,calc(100vw - (var(--pad) * 2)))!important}
.page-hero h1,.hero h1{max-width:100%;text-wrap:balance;overflow-wrap:break-word}
.hero-copy,.hero-inner,.page-hero .inner{min-width:0}
.hero-img img.general-bike{object-position:57% center!important}
.account-icon{position:relative;border-radius:999px!important;border-color:#4a4a51!important;background:radial-gradient(circle at 35% 30%,rgba(178,15,46,.28),rgba(10,10,12,.98) 68%)!important;box-shadow:0 0 0 1px rgba(255,255,255,.04) inset,0 10px 28px rgba(0,0,0,.38)!important}
.account-icon:hover{border-color:#7a2438!important;background:radial-gradient(circle at 35% 30%,rgba(178,15,46,.38),rgba(12,12,14,.98) 68%)!important}
.account-icon svg{width:20px!important;height:20px!important;filter:drop-shadow(0 0 10px rgba(178,15,46,.22))}
#topNav{position:relative!important}
@media(max-width:1100px){
  #topNav{padding-right:64px!important}
  #topNav .account-icon,#topNav.navopen .account-icon{position:absolute!important;top:50%!important;right:var(--pad)!important;transform:translateY(-50%)!important;margin:0!important;z-index:4!important}
}
.client-page input,.client-page select,.client-page textarea{width:100%;box-sizing:border-box;border-radius:0!important;background:#0b0b0d!important;border:1px solid #34343a!important;color:#f3f3f6!important;padding:14px 15px!important;appearance:none;-webkit-appearance:none}
.client-page select{background-image:linear-gradient(45deg,transparent 50%,#d9d9df 50%),linear-gradient(135deg,#d9d9df 50%,transparent 50%);background-position:calc(100% - 20px) calc(50% - 3px),calc(100% - 14px) calc(50% - 3px);background-size:6px 6px,6px 6px;background-repeat:no-repeat;padding-right:42px!important}
.client-page input[disabled],.client-page textarea[disabled]{opacity:.7;color:#b8b8c0!important}
.client-page input:focus,.client-page select:focus,.client-page textarea:focus{outline:none!important;border-color:#7a2438!important;box-shadow:0 0 0 1px rgba(122,36,56,.55)!important}
.client-page textarea{min-height:120px;resize:vertical}
.client-page input::placeholder,.client-page textarea::placeholder{color:#72727a}
.client-page option{background:#0b0b0d;color:#f3f3f6}
.client-form-row label,.message-form label,#clientBikeForm label{display:grid;gap:9px;color:#efeff3;font-weight:800}
.client-form-row p.muted{margin:0}
.message-form textarea{min-height:140px!important}
.dashboard-grid{grid-auto-rows:1fr!important}
.dashboard-grid>.client-card,.client-card{display:flex;flex-direction:column}
.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.danger-card{border-color:#5a2631!important;background:linear-gradient(180deg,#120d10,#0d0d10)!important}
.btn.danger{background:#7f1028!important;border-color:#7f1028!important;color:#fff!important}
.btn.danger:hover{filter:brightness(1.08)}
@media(max-width:980px){.settings-grid{grid-template-columns:1fr!important}}
@media(max-width:760px){
  .page-hero h1{font-size:clamp(42px,13vw,64px)!important;line-height:.92!important;letter-spacing:-.05em!important}
  .page-hero p{font-size:17px!important;line-height:1.62!important}
  .hero{min-height:700px!important;padding-top:calc(var(--header) + 36px)!important}
  .hero h1{font-size:clamp(46px,14vw,72px)!important;line-height:.9!important;letter-spacing:-.05em!important;max-width:8ch!important}
  .hero-copy p,.hero p{font-size:17px!important;line-height:1.58!important;max-width:min(32rem,100%)!important}
}
@media(max-width:620px){
  .client-main{padding:24px var(--pad)!important}
  .client-card{padding:20px!important}
}

/* v8.5 — animated mobile nav, emblems, FAQ search, staff inbox */
.nav-emblem{display:none}
header>.account-icon{margin-left:18px!important;flex:0 0 38px!important;z-index:5}
header>.brand{flex:0 0 auto}
#topNav{margin-left:auto!important}
@media(max-width:1100px){
  header{top:2px!important;position:fixed!important}
  .mobile-menu{display:block!important;position:absolute!important;left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;z-index:6!important}
  header>.account-icon{position:absolute!important;right:var(--pad)!important;top:50%!important;transform:translateY(-50%)!important;margin:0!important}
  #topNav{
    position:absolute!important;
    top:var(--header)!important;
    left:0!important;
    right:0!important;
    display:grid!important;
    gap:0!important;
    max-height:0!important;
    opacity:0!important;
    visibility:hidden!important;
    overflow:hidden!important;
    pointer-events:none!important;
    transform:translateY(-10px)!important;
    padding:0 var(--pad)!important;
    background:rgba(9,9,10,.985)!important;
    border-bottom:1px solid transparent!important;
    box-shadow:0 18px 38px rgba(0,0,0,0)!important;
    transition:max-height .24s cubic-bezier(.2,.8,.2,1),opacity .16s ease,transform .24s cubic-bezier(.2,.8,.2,1),padding .24s ease,border-color .2s ease,box-shadow .24s ease!important;
  }
  #topNav.navopen{
    max-height:520px!important;
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
    transform:translateY(0)!important;
    padding:10px var(--pad) 14px!important;
    border-bottom-color:#29292e!important;
    box-shadow:0 18px 38px rgba(0,0,0,.38)!important;
  }
  #topNav a{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    min-height:55px!important;
    padding:0 4px!important;
    border-bottom:1px solid #242429!important;
    color:#dadade!important;
    opacity:.92;
    transform:translateY(-4px);
    transition:color .14s ease,opacity .18s ease,transform .22s ease,background .14s ease!important;
  }
  #topNav a:last-child{border-bottom:0!important}
  #topNav.navopen a{opacity:1;transform:translateY(0)}
  #topNav a:hover{color:#fff!important;background:linear-gradient(90deg,transparent,rgba(178,15,46,.06))!important}
  .nav-label{display:block}
  .nav-emblem{
    display:grid!important;
    place-items:center!important;
    width:31px!important;
    height:31px!important;
    margin-left:24px!important;
    border:1px solid #34343a!important;
    background:#0d0d10!important;
    color:#b20f2e!important;
    transform:skewX(-7deg);
  }
  .nav-emblem svg{width:18px!important;height:18px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.6!important;stroke-linecap:round!important;stroke-linejoin:round!important;transform:skewX(7deg)}
}
@media(prefers-reduced-motion:reduce){#topNav,#topNav a{transition:none!important}}

/* FAQ search: ranked, typo-tolerant results and useful cross references. */
.faq-search{position:relative!important;display:flex!important;gap:10px!important;align-items:stretch!important;margin-bottom:12px!important}
.faq-search input{flex:1!important;min-width:0!important}
#faqClear{border:1px solid #34343a;background:#111114;color:#c9c9cf;padding:0 16px;font-weight:800}
#faqClear[hidden]{display:none!important}
#faqList{display:flex!important;flex-direction:column!important}
.faq-item[data-search-score]{border-left:2px solid rgba(178,15,46,.58)!important}
.faq-match-note{margin:0 0 14px!important;color:#92929a!important;font-size:12px!important;line-height:1.5!important}
.faq-crossrefs{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 18px;padding:12px 14px;border:1px solid #2e2e34;background:#0d0d10}
.faq-crossrefs>span{color:#76767e;font-size:10px;letter-spacing:.13em;text-transform:uppercase;font-weight:900;margin-right:4px}
.faq-crossrefs a{display:inline-flex;align-items:center;gap:9px;padding:8px 10px;border:1px solid #34343a;background:#121215;color:#e3e3e7;font-size:12px;font-weight:800}
.faq-crossrefs a:hover{border-color:#6a2636;color:#fff}
.faq-crossrefs b{color:var(--red);font-size:12px}
@media(max-width:620px){.faq-search{display:grid!important;grid-template-columns:1fr auto!important}.faq-search input{font-size:16px!important}}

/* Staff message inbox */
.staff-inbox{margin:24px 0 30px;border:1px solid #303036;background:#101012;padding:22px}
.staff-inbox-head{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:14px}
.staff-inbox-head h3{margin:0;font-size:22px}
.staff-inbox-head p{margin:4px 0 0;color:#7f7f88;font-size:12px}
.staff-inbox-list{display:grid}
.staff-inbox-row{display:grid;grid-template-columns:minmax(150px,.7fr) minmax(0,1.6fr) auto;gap:18px;align-items:center;padding:15px 0;border-top:1px solid #29292f;cursor:pointer}
.staff-inbox-row:first-child{border-top:0}
.staff-inbox-row:hover{background:#121216}
.staff-inbox-row .who b{display:block}.staff-inbox-row .who span,.staff-inbox-row time{color:#777780;font-size:11px}.staff-inbox-row p{margin:0;color:#b9b9c0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.staff-inbox-row .open-client{color:var(--red);font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}
.staff-email-state{display:inline-flex;align-items:center;gap:8px;color:#85858e;font-size:11px}.staff-email-state i{width:7px;height:7px;border-radius:50%;background:#6a6a72}.staff-email-state.ok i{background:#4c9a68}.staff-email-state.warn i{background:#b20f2e}
@media(max-width:760px){.staff-inbox-row{grid-template-columns:1fr;gap:6px}.staff-inbox-row p{white-space:normal}.staff-inbox-head{align-items:flex-start;flex-direction:column}}
@media(max-width:1100px){
  #topNav{transition:max-height .24s cubic-bezier(.2,.8,.2,1),opacity .16s ease,transform .24s cubic-bezier(.2,.8,.2,1),padding .24s ease,border-color .2s ease,box-shadow .24s ease,visibility 0s linear .24s!important}
  #topNav.navopen{transition:max-height .24s cubic-bezier(.2,.8,.2,1),opacity .16s ease,transform .24s cubic-bezier(.2,.8,.2,1),padding .24s ease,border-color .2s ease,box-shadow .24s ease,visibility 0s linear 0s!important}
}
.staff-email-tools{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.staff-email-tools .btn{min-height:36px;padding:0 12px;font-size:11px}


/* v8.7 - header clearance, nav refinement, expandable service cards, process alignment */
.page-hero{padding-top:calc(var(--header) + 58px)!important;padding-bottom:56px!important;overflow:hidden!important}
.page-hero .inner{min-width:0!important;max-width:min(var(--max),100%)!important}
.page-hero h1{max-width:100%!important;text-wrap:balance!important;overflow-wrap:normal!important}
@media(max-width:1280px){.page-hero h1{font-size:clamp(48px,6.4vw,78px)!important;line-height:.94!important}}
@media(max-width:760px){.page-hero{padding-top:calc(var(--header) + 38px)!important;padding-bottom:44px!important}.page-hero h1{font-size:clamp(42px,12vw,62px)!important;line-height:.94!important}}

@media(max-width:1100px){
  #topNav.navopen{max-height:620px!important}
  .nav-emblem{width:28px!important;height:28px!important;margin-left:24px!important;border:0!important;background:transparent!important;color:#fff!important;transform:none!important}
  .nav-emblem svg{width:20px!important;height:20px!important;transform:none!important;stroke-width:1.7!important}
  #topNav .nav-inquiry{display:flex!important;margin-top:10px!important;padding:0 15px!important;min-height:52px!important;background:var(--red)!important;border:1px solid var(--red)!important;color:#fff!important}
  #topNav .nav-inquiry .nav-emblem{color:#fff!important}
}
.nav-inquiry{display:none}

.account-icon{border-color:#681326!important;background:radial-gradient(circle at 35% 28%,rgba(194,30,60,.92),rgba(119,8,32,.96) 70%)!important;color:#fff!important}
.account-icon:hover{border-color:#8f1b36!important;background:radial-gradient(circle at 35% 28%,rgba(211,39,70,.96),rgba(134,11,36,.98) 72%)!important}
.account-icon svg{width:22px!important;height:22px!important;filter:none!important}

.service-cards{align-items:stretch!important}
.service-card-expandable{display:flex!important;flex-direction:column!important;min-height:390px!important;overflow:hidden}
.service-card-expandable>p{margin-bottom:0!important}
.card-toggle{display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;margin-top:auto;padding:16px 0 0;border:0;border-top:1px solid #303036;background:transparent;color:#d7d7dc;font:inherit;font-size:12px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;text-align:left}
.card-toggle:hover{color:#fff}
.card-toggle i{position:relative;width:18px;height:18px;flex:0 0 18px}
.card-toggle i::before,.card-toggle i::after{content:"";position:absolute;left:3px;right:3px;top:8px;height:2px;background:var(--red);transition:transform .2s ease,opacity .2s ease}
.card-toggle i::after{transform:rotate(90deg)}
.service-card-expandable.open .card-toggle i::after{transform:rotate(0);opacity:0}
.card-detail{max-height:0;overflow:hidden;opacity:0;transition:max-height .24s cubic-bezier(.2,.72,.2,1),opacity .18s ease}
.service-card-expandable.open .card-detail{opacity:1}
.card-detail-inner{padding:18px 0 2px}
.card-detail ul{margin:0;padding:0;list-style:none;display:grid;gap:9px}
.card-detail li{position:relative;padding-left:16px;color:#96969e;font-size:13px;line-height:1.52}
.card-detail li::before{content:"";position:absolute;left:0;top:.62em;width:5px;height:5px;background:var(--red);transform:rotate(45deg)}

.process{align-items:stretch!important}
.step{padding:30px 28px!important;display:flex!important;flex-direction:column!important;min-width:0!important}
.step b{margin-bottom:28px!important}
.step>p{margin-bottom:0!important}
.step-toggle{margin-top:auto!important}
.step-detail{flex:0 0 auto}
@media(max-width:760px){.step{padding:26px 20px!important}}

.fsc-star-rating[data-rating="1"] label.is-active{color:#ff7a8e!important;text-shadow:none!important;-webkit-text-stroke:0!important;transform:none!important}
.fsc-star-rating[data-rating="2"] label.is-active{color:#ef536c!important;text-shadow:none!important;-webkit-text-stroke:0!important;transform:none!important}
.fsc-star-rating[data-rating="3"] label.is-active{color:#d93652!important;text-shadow:none!important;-webkit-text-stroke:0!important;transform:none!important}
.fsc-star-rating[data-rating="4"] label.is-active{color:#b91e3c!important;text-shadow:none!important;-webkit-text-stroke:0!important;transform:none!important}
.fsc-star-rating[data-rating="5"] label.is-active{color:#851027!important;text-shadow:none!important;-webkit-text-stroke:0!important;transform:none!important}
.fsc-star-rating label:hover{transform:translateY(-1px) scale(1.04)!important}
.field-title{display:inline-flex!important;align-items:baseline!important;gap:4px!important}
.client-page .req{display:inline!important;margin:0!important;position:static!important;line-height:1!important}

@media(max-width:760px){.service-card-expandable{min-height:0!important}}


/* v8.8 — FAQ search refinement, inquiry account prompt, staff messaging center */
.faq-match-note:not(.show){display:none!important}
.faq-crossrefs[hidden]{display:none!important}
.faq-item[data-search-score]{padding-left:18px!important;border-left:2px solid rgba(178,15,46,.72)!important}
.faq-item[data-search-score] summary,.faq-item[data-search-score] p{padding-right:4px}
.inquiry-account-modal[hidden]{display:none!important}
.inquiry-account-modal{position:fixed;inset:0;z-index:5000;display:grid;place-items:center;padding:24px}
.inquiry-account-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.78);backdrop-filter:blur(4px)}
.inquiry-account-card{position:relative;width:min(650px,100%);background:#0d0d10;border:1px solid #3a3a40;padding:34px;box-shadow:0 30px 100px rgba(0,0,0,.55)}
.inquiry-account-card h2{margin:8px 0 14px;font-size:clamp(30px,5vw,50px);line-height:1}
.inquiry-account-card>p:not(.eyebrow){color:#b3b3bb;line-height:1.65}
.inquiry-account-card ul{margin:22px 0;padding-left:20px;color:#d8d8dd;line-height:1.7}.inquiry-account-card li::marker{color:var(--red)}
.inquiry-account-card small{display:block;margin-top:14px;color:#797981;line-height:1.5}
.inquiry-account-close{position:absolute;right:16px;top:12px;border:0;background:transparent;color:#aaa;font-size:32px;cursor:pointer}
.inquiry-account-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:24px}body.modal-open{overflow:hidden!important}
.staff-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 22px}.staff-tabs button{background:#101013;border:1px solid #34343a;color:#9b9ba3;padding:11px 15px;font-weight:900;cursor:pointer}.staff-tabs button.active{border-color:var(--red);color:#fff;background:#151014}.staff-panel{display:none}.staff-panel.active{display:block}
.staff-message-center{display:grid;grid-template-columns:minmax(250px,340px) minmax(0,1fr);border:1px solid #303037;min-height:560px;background:#0b0b0d}.staff-conversations{border-right:1px solid #303037;min-width:0}.staff-conversation-tools{padding:18px;border-bottom:1px solid #303037}.staff-conversation-list{max-height:650px;overflow:auto}.staff-conversation-item{padding:16px 18px;border-bottom:1px solid #26262b;cursor:pointer;display:grid;gap:6px}.staff-conversation-item:hover,.staff-conversation-item.active{background:#121216}.staff-conversation-item.active{box-shadow:inset 3px 0 0 var(--red)}.staff-conversation-item .row{display:flex;justify-content:space-between;gap:10px;align-items:center}.staff-conversation-item p{margin:0;color:#8e8e96;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.staff-conversation-item small{color:#66666e}.staff-unread{min-width:22px;height:22px;border-radius:999px;background:var(--red);color:#fff;display:inline-grid;place-items:center;font-size:10px;font-weight:900}
.staff-thread-pane{display:flex;flex-direction:column;min-width:0}.staff-thread-head{padding:18px 20px;border-bottom:1px solid #303037;display:flex;justify-content:space-between;gap:16px;align-items:center}.staff-thread-head h3{margin:0}.staff-thread-head small{color:#888}.staff-thread{padding:22px;display:flex;flex-direction:column;gap:12px;min-height:350px;max-height:470px;overflow:auto}.staff-thread-message{max-width:78%;padding:13px 15px;border:1px solid #303037;background:#111115}.staff-thread-message.client{align-self:flex-start;border-left:3px solid var(--red)}.staff-thread-message.staff{align-self:flex-end;background:#151519}.staff-thread-message p{margin:0 0 7px;white-space:pre-wrap;line-height:1.55}.staff-thread-message small{color:#6f6f78;font-size:10px}.staff-thread-reply{margin-top:auto;border-top:1px solid #303037;padding:16px;display:grid;grid-template-columns:1fr auto;gap:10px}.staff-thread-reply textarea{min-height:90px;background:#09090b;border:1px solid #34343a;color:#fff;padding:12px;resize:vertical}.staff-thread-reply .reply-meta{grid-column:1/-1;display:flex;gap:10px;align-items:center;flex-wrap:wrap}.staff-thread-reply select{background:#09090b;border:1px solid #34343a;color:#fff;padding:10px}
@media(max-width:820px){.staff-message-center{grid-template-columns:1fr}.staff-conversations{border-right:0;border-bottom:1px solid #303037}.staff-conversation-list{max-height:300px}.staff-thread-message{max-width:92%}}


/* v8.9 — alignment, purposeful racing rails, stable dropdown controls, portal cleanup */
.page-hero .inner > .eyebrow,
.page-hero .inner > h1,
.page-hero .inner > p,
.page-hero .inner > .labor-rate-card{
  margin-left:0!important;
  padding-left:0!important;
  transform:none!important;
}
.page-hero .eyebrow{display:block!important}
.page-hero .inner{padding-left:0!important;padding-right:0!important}

/* Service cards: control stays directly under the summary while details expand below it. */
.service-card-expandable{display:block!important;min-height:0!important}
.service-card-expandable .card-toggle{
  margin-top:18px!important;
  padding-top:14px!important;
}
.service-card-expandable .card-detail{display:block}
.service-card-expandable.open .card-detail{margin-top:0}

/* Process cards use the same internal grid, keeping rows and controls aligned. */
.process{align-items:stretch!important}
.step{
  display:grid!important;
  grid-template-rows:auto auto minmax(92px,1fr) auto auto!important;
  align-content:start!important;
}
.step b{align-self:start}
.step h3{align-self:start}
.step>p{align-self:start}
.step-toggle{margin-top:18px!important;align-self:end!important}
.step-detail{align-self:start!important}
@media(max-width:760px){
  .step{grid-template-rows:auto auto auto auto auto!important}
}

/* Waffle rows are optically aligned edge-to-edge, including Project Inquiry. */
@media(max-width:1100px){
  #topNav a{
    width:100%!important;
    box-sizing:border-box!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    padding-left:18px!important;
    padding-right:18px!important;
  }
  #topNav .nav-emblem{margin-left:auto!important;flex:0 0 28px!important;display:grid!important;place-items:center!important}
  #topNav .nav-inquiry{
    margin:10px 0 0!important;
    width:100%!important;
    padding:0 18px!important;
  }
  #topNav .nav-inquiry .nav-emblem{margin-left:auto!important}
}

/* Cleaner rider/sportbike profile button */
.account-icon svg{width:24px!important;height:24px!important}

/* Purposeful, asymmetrical racing side rails */
@media(min-width:1280px){
  body::before{
    transform:none!important;
    background-image:linear-gradient(90deg,rgba(0,0,0,.20),rgba(0,0,0,0)),url("rail-left-v89.svg")!important;
    background-position:center!important;
    background-size:cover!important;
  }
  body::after{
    transform:none!important;
    background-image:linear-gradient(270deg,rgba(0,0,0,.20),rgba(0,0,0,0)),url("rail-right-v89.svg")!important;
    background-position:center!important;
    background-size:cover!important;
  }
}

/* Login page: header branding is sufficient; keep the auth card visually focused. */
.auth-single{padding-top:0!important}
.auth-single>.auth-full-logo{display:none!important}

/* FAQ search relevance stripe spacing */
.faq-item[data-search-score]{
  padding-left:22px!important;
}
.faq-item[data-search-score] summary,
.faq-item[data-search-score] p{
  padding-left:0!important;
}

/* Maintenance is part of the public service identity */
.maintenance-note{
  border-left:2px solid var(--red);
  padding-left:14px;
}


/* v8.11 — near-real-time portal messaging */
.live-thread-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:4px}
.live-thread-heading h3{margin:0!important}
.live-status{display:inline-flex;align-items:center;gap:7px;color:#a9a9b0;font-size:11px;font-weight:900;letter-spacing:.12em;text-transform:uppercase;white-space:nowrap}
.live-status i{width:7px;height:7px;border-radius:50%;background:#3fc47a;box-shadow:0 0 10px rgba(63,196,122,.55)}
.live-status.offline i{background:#B20F2E;box-shadow:0 0 10px rgba(178,15,46,.45)}
.live-status.offline{color:#8e8e97}
.nav-live-badge{display:inline-grid;place-items:center;min-width:19px;height:19px;padding:0 5px;margin-left:auto;border-radius:999px;background:#B20F2E;color:#fff;font-size:10px;line-height:1;font-weight:900}
.client-nav button[data-panel="messages"]{display:flex;align-items:center;gap:11px}
.client-nav button[data-panel="messages"]>span{margin-right:auto}
.message-thread,.staff-thread{scroll-behavior:smooth}

/* v8.12 — inquiry workflow, clearer dashboard previews, build-progress visualization */
.dashboard-kicker{font-size:10px;letter-spacing:.16em;font-weight:950;color:var(--red);margin:0 0 10px;text-transform:uppercase}
.dashboard-summary{display:grid;gap:10px;align-content:start;height:100%}
.dashboard-summary .summary-meta{display:flex;flex-wrap:wrap;gap:8px 14px;color:#85858e;font-size:11px}
.dashboard-summary .summary-title{font-size:16px;font-weight:900;color:#f5f5f7;line-height:1.35}
.dashboard-summary .summary-copy{margin:0;color:#c9c9cf;line-height:1.55;font-size:14px}
.dashboard-summary .summary-copy.message-preview{border-left:2px solid var(--red);padding-left:13px;background:linear-gradient(90deg,rgba(178,15,46,.07),transparent 72%);padding-top:8px;padding-bottom:8px}
.dashboard-summary .btn{justify-self:start;margin-top:auto}

.quote-panel{margin-top:18px;border:1px solid #303038;background:#0b0b0d}
.quote-panel-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;padding:16px 18px;border-bottom:1px solid #2b2b31}
.quote-panel-head span{font-size:10px;letter-spacing:.15em;color:#85858d;font-weight:950}
.quote-panel-head strong{font-size:24px;color:#fff}
.quote-grid-client{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;border-bottom:1px solid #2b2b31}
.quote-grid-client>div{padding:14px 18px;border-right:1px solid #26262c}.quote-grid-client>div:last-child{border-right:0}
.quote-grid-client span{display:block;font-size:9px;letter-spacing:.12em;color:#777781;font-weight:900;text-transform:uppercase;margin-bottom:6px}.quote-grid-client b{font-size:14px;color:#efeff2}
.quote-scope{padding:16px 18px}.quote-scope span{display:block;font-size:9px;letter-spacing:.12em;color:#777781;font-weight:900;text-transform:uppercase;margin-bottom:7px}.quote-scope p{margin:0;color:#c7c7cd;line-height:1.55;white-space:pre-wrap}.quote-notes{padding:0 18px 16px;color:#9e9ea6;font-size:12px;line-height:1.5;white-space:pre-wrap}
@media(max-width:760px){.quote-grid-client{grid-template-columns:1fr}.quote-grid-client>div{border-right:0;border-bottom:1px solid #26262c}.quote-grid-client>div:last-child{border-bottom:0}}

.build-progress{margin:18px 0 10px}
.build-progress-top{display:flex;justify-content:space-between;gap:16px;align-items:end;margin-bottom:12px}.build-progress-top span{font-size:10px;letter-spacing:.15em;font-weight:950;color:#898992;text-transform:uppercase}.build-progress-top b{font-size:14px;color:#f1f1f4}
.build-progress-track{position:relative;height:4px;background:#2a2a30;margin:28px 18px 16px}
.build-progress-track>i{position:absolute;inset:0 auto 0 0;width:var(--progress,0%);background:linear-gradient(90deg,#7c1027,#b20f2e);box-shadow:0 0 14px rgba(178,15,46,.30)}
.build-milestones{position:absolute;inset:50% 0 auto 0;transform:translateY(-50%);display:flex;justify-content:space-between;pointer-events:none}
.build-node{width:38px;height:38px;border:1px solid #414149;border-radius:50%;background:#0c0c0e;display:grid;place-items:center;color:#55555e;box-shadow:0 0 0 5px #0b0b0d}
.build-node svg{width:26px;height:26px}.build-node.active{border-color:#7d1b31;color:#a51a37}.build-node.current{border-color:#c52244;color:#e0284a;box-shadow:0 0 0 5px #0b0b0d,0 0 18px rgba(178,15,46,.34)}.build-node.complete{color:#c52244}
.build-progress-labels{display:flex;justify-content:space-between;color:#6f6f77;font-size:9px;letter-spacing:.08em;text-transform:uppercase;margin:0 4px}.build-progress-labels span{width:20%;text-align:center}.build-progress-labels span:first-child{text-align:left}.build-progress-labels span:last-child{text-align:right}

.inquiry-manager{display:grid;grid-template-columns:360px minmax(0,1fr);border:1px solid #303038;background:#0b0b0d;min-height:720px}
.inquiry-list-pane{border-right:1px solid #303038;min-width:0}.inquiry-list-head{padding:22px;border-bottom:1px solid #303038;display:grid;gap:12px}.inquiry-list-head h3{margin:0}.inquiry-list-head p{margin:4px 0 0}.inquiry-list-head .btn{justify-self:start}
.inquiry-list{max-height:760px;overflow:auto}.inquiry-list-item{width:100%;text-align:left;background:#0d0d10;border:0;border-bottom:1px solid #26262d;color:#fff;padding:16px 18px;cursor:pointer;display:grid;gap:6px}.inquiry-list-item:hover,.inquiry-list-item.active{background:#121216}.inquiry-list-item.active{box-shadow:inset 3px 0 0 var(--red)}.inquiry-list-top{display:flex;justify-content:space-between;gap:12px;align-items:center}.inquiry-list-item>span{font-size:13px;color:#c4c4ca}.inquiry-list-item small,.inquiry-list-item time{font-size:10px;color:#75757e}
.inquiry-mini-status,.inquiry-status-pill{display:inline-flex;align-items:center;border:1px solid #414149;padding:4px 8px;font-size:9px;letter-spacing:.10em;font-weight:950;text-transform:uppercase;color:#aaa;background:#111116}.inquiry-mini-status.approved,.inquiry-status-pill.approved{border-color:#244b36;color:#8ed7ad;background:#0e1813}.inquiry-mini-status.denied,.inquiry-status-pill.denied{border-color:#64283a;color:#ef8ca7;background:#1a0e12}.inquiry-mini-status.reviewing,.inquiry-status-pill.reviewing{border-color:#5a4a28;color:#e3c37d;background:#18150e}
.inquiry-editor-pane{min-width:0;padding:24px}.inquiry-empty{max-width:620px;padding:40px 14px}.inquiry-editor-head{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;border-bottom:1px solid #303038;padding-bottom:20px;margin-bottom:20px}.inquiry-editor-head h3{margin:10px 0 4px}.inquiry-editor-actions{display:flex;gap:10px}.inquiry-source-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid #303038;margin-bottom:16px}.inquiry-source-grid>div{padding:14px;border-right:1px solid #292930}.inquiry-source-grid>div:last-child{border-right:0}.inquiry-source-grid span,.inquiry-original span{display:block;font-size:9px;letter-spacing:.12em;color:#777780;text-transform:uppercase;font-weight:900;margin-bottom:6px}.inquiry-source-grid b{font-size:13px;color:#e9e9ed}
.inquiry-source-details{border:1px solid #303038;margin-bottom:26px}.inquiry-source-details summary{cursor:pointer;padding:14px 16px;font-weight:900}.inquiry-original{padding:0 16px 16px;display:grid;grid-template-columns:1fr 1fr;gap:18px}.inquiry-original p{margin:0;color:#b9b9c1;white-space:pre-wrap;line-height:1.5}
.editor-section{border-top:1px solid #303038;padding-top:24px;margin-top:24px}.staff-form.compact{padding:0;border:0;background:transparent}.quote-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.quote-grid label,.decision-section>label{display:grid;gap:7px;color:#aaa;font-size:12px}.quote-grid input,.quote-grid textarea,.decision-section textarea{width:100%;box-sizing:border-box;background:#09090b;border:1px solid #35353a;color:#fff;padding:12px}.quote-grid .full{grid-column:1/-1}.quote-total-field input{border-color:#6d2134;background:#100b0d}.decision-actions{display:flex;justify-content:space-between;gap:14px;margin-top:16px}.btn.deny{background:#160d10;border-color:#6c2a3a;color:#efb4c0}.btn.approve{min-width:220px}
@media(max-width:1050px){.inquiry-manager{grid-template-columns:1fr}.inquiry-list-pane{border-right:0;border-bottom:1px solid #303038}.inquiry-list{max-height:360px}.inquiry-source-grid{grid-template-columns:1fr 1fr}.quote-grid{grid-template-columns:1fr 1fr}}
@media(max-width:650px){.inquiry-editor-pane{padding:18px}.inquiry-editor-head{flex-direction:column}.inquiry-source-grid,.inquiry-original,.quote-grid{grid-template-columns:1fr}.inquiry-source-grid>div{border-right:0;border-bottom:1px solid #292930}.inquiry-source-grid>div:last-child{border-bottom:0}.decision-actions{flex-direction:column-reverse}.btn.approve{min-width:0}}


/* v8.13 — staff access footer, work-item workflow, lifecycle progress */
.footer-signal{width:min(var(--max),100%);margin:32px auto 0;padding:24px 0 2px;display:grid;grid-template-columns:auto 1fr auto;gap:24px;align-items:center;border-top:1px solid #1d1d22;position:relative;overflow:hidden}
.footer-signal-copy{display:grid;gap:5px;min-width:260px}.footer-signal-copy b{font-size:13px;letter-spacing:.16em;color:#d9d9de}.footer-signal-copy b i{font-style:normal;color:var(--red)}.footer-signal-copy span{font-size:11px;color:#696971;letter-spacing:.06em}
.footer-signal-line{height:1px;background:#29292e;position:relative}.footer-signal-line i{position:absolute;left:0;top:-1px;height:3px;width:42%;background:linear-gradient(90deg,var(--red),rgba(178,15,46,.08));transform:skewX(-34deg);box-shadow:0 0 16px rgba(178,15,46,.24)}
.footer-signal-steps{display:flex;gap:16px;white-space:nowrap;color:#56565e;font-size:9px;letter-spacing:.12em}.footer-signal-steps span:nth-child(2){color:#85858d}.footer-signal-steps span:nth-child(3){color:#b3b3b9}
@media(max-width:760px){.footer-signal{grid-template-columns:1fr;gap:14px}.footer-signal-line{width:100%}.footer-signal-steps{justify-content:space-between;gap:8px}.footer-signal-copy{min-width:0}}

.work-item-editor{display:grid;gap:8px;margin:14px 0}.work-item-row{display:grid!important;grid-template-columns:auto 1fr auto!important;align-items:center!important;gap:12px!important;padding:12px 13px!important;border:1px solid #303038!important;background:#0a0a0c!important;color:#e8e8eb!important;font-size:13px!important}.work-item-row>input{width:18px!important;height:18px!important;accent-color:var(--red)!important}.work-item-row>span{display:grid;gap:3px}.work-item-row b{font-size:13px;color:#f3f3f5}.work-item-row small{font-size:10px;color:#707078;letter-spacing:.06em;text-transform:uppercase}.work-remove{border:0;background:transparent;color:#72727b;font-size:22px;cursor:pointer;padding:0 5px}.work-remove:hover{color:var(--red)}
.work-item-add{display:grid;grid-template-columns:1fr auto;gap:9px;margin-top:10px}.work-item-add input{min-width:0}.workflow-flags{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:18px 0 12px}.workflow-flags label{display:flex!important;align-items:center!important;gap:10px!important;padding:12px!important;border:1px solid #303038;background:#0b0b0d;color:#c8c8ce!important;font-size:12px!important}.workflow-flags input{width:17px!important;height:17px!important;accent-color:var(--red)}
.workflow-preview{display:flex;align-items:center;gap:13px;flex-wrap:wrap;border-left:2px solid var(--red);padding:10px 13px;background:linear-gradient(90deg,rgba(178,15,46,.09),transparent)}.workflow-preview span{font-size:10px;letter-spacing:.12em;color:#777780;font-weight:900}.workflow-preview b{color:#f2f2f4}.workflow-preview small{color:#87878f}.workflow-help{max-width:760px}.job-save-note{margin-top:-5px!important}
@media(max-width:720px){.workflow-flags{grid-template-columns:1fr}.work-item-add{grid-template-columns:1fr}.work-item-add .btn{width:100%}}

.lifecycle-progress{margin:20px 0 16px;padding:15px 0 4px}.lifecycle-track{display:grid;grid-template-columns:12fr 12fr 52fr 12fr 12fr;gap:5px;align-items:center;margin:38px 0 13px}.life-segment{height:7px;background:#202025;position:relative;border:1px solid #2b2b31;overflow:visible}.life-segment>i{display:block;height:100%;width:var(--fill,0%);transition:width .35s ease}.life-scheduled>i{background:#74747d}.life-parts>i{background:#9b623b}.life-work>i{background:linear-gradient(90deg,#761022,#b20f2e);box-shadow:0 0 14px rgba(178,15,46,.28)}.life-ready>i{background:#d1d1d6}.life-complete>i{background:#8d1028}.life-icon{position:absolute;left:50%;top:50%;transform:translate(-50%,-145%);width:46px;height:31px;display:grid;place-items:center;color:#4d4d55;transition:.22s color,.22s filter,.22s transform}.life-icon svg{width:46px;height:31px}.life-icon.filled{color:#c9c9cf}.life-work .life-icon.filled{color:#c01a38;filter:drop-shadow(0 0 8px rgba(178,15,46,.28))}.life-ready .life-icon.filled{color:#f2f2f4}.life-complete .life-icon.filled{color:#b20f2e}.lifecycle-progress.is-complete .life-icon{color:#e6e6ea}.lifecycle-progress.is-complete .life-segment>i{width:100%!important;background:linear-gradient(90deg,#811127,#b20f2e)}
.lifecycle-labels{display:grid;grid-template-columns:12fr 12fr 52fr 12fr 12fr;gap:5px}.lifecycle-labels span{text-align:center;color:#686870;font-size:8px;line-height:1.25;letter-spacing:.07em;text-transform:uppercase}.lifecycle-labels span:nth-child(3){color:#9f9fa7}.work-progress-note{margin-top:14px;color:#76767e;font-size:11px;line-height:1.45}.work-progress-note b{color:#d5d5da}
.client-work-checklist{margin:14px 0 16px;border:1px solid #29292f;background:#0a0a0c}.client-work-head{display:flex;justify-content:space-between;gap:15px;padding:11px 13px;border-bottom:1px solid #29292f}.client-work-head span{font-size:9px;letter-spacing:.14em;font-weight:900;color:#777780}.client-work-head b{font-size:11px;color:#cfcfd5}.client-work-row{display:grid;grid-template-columns:22px 1fr;gap:7px;padding:9px 13px;border-bottom:1px solid #1d1d22;color:#8b8b93;font-size:12px}.client-work-row:last-child{border-bottom:0}.client-work-row i{font-style:normal;color:#5c5c64}.client-work-row.done{color:#d5d5d9}.client-work-row.done i{color:var(--red)}
@media(max-width:720px){.lifecycle-track,.lifecycle-labels{grid-template-columns:15fr 15fr 40fr 15fr 15fr}.life-icon{width:38px}.life-icon svg{width:38px}}
