/* Shared visual language for public pages and the dealer workspace. */
:root{--studio-ink:#182d2a;
  --studio-muted:#697973;
  --studio-green:#166b55;
  --studio-line:#dfe6e1;
  --studio-paper:#f4f6f2;
  --bs-primary:#166b55;
  --bs-primary-rgb:22,107,85;
  --bs-link-color:#166b55;
  --bs-link-hover-color:#104c3d;
  --bs-border-color:#dfe6e1}

body{background:var(--studio-paper);
  color:var(--studio-ink);
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-size:14px;
  line-height:1.6;
  padding-top:86px;
  -webkit-font-smoothing:antialiased}

h1,h2,h3,h4{letter-spacing:-.035em;
  font-weight:650}
h1{font-size:clamp(2rem,3.6vw,3.5rem)}
a{color:var(--studio-green)}
.text-muted{color:var(--studio-muted)!important}

.navbar-custom{min-height:86px;
  background:#fffefb;
  border-bottom:1px solid var(--studio-line);
  box-shadow:none;
  padding:15px 24px}
.navbar-custom .navbar-brand{display:flex;
  align-items:center;
  gap:10px;
  margin-inline-end:28px;
  color:var(--studio-ink)!important}
.brand-symbol{display:grid;
  place-items:center;
  width:39px;
  height:43px;
  background:var(--studio-green);
  color:#dcf4b0;
  border-radius:11px;
  font-size:23px}
.brand-wordmark{font-size:18px;
  font-weight:750;
  letter-spacing:-.8px;
  line-height:1.05}
.brand-wordmark>span{font-weight:450}
.brand-wordmark small{display:block;
  font-size:8px;
  letter-spacing:2.2px;
  margin-top:7px;
  color:var(--studio-muted)}
.navbar-custom .nav-link{color:#63716b!important;
  font-size:12px;
  font-weight:550;
  padding:10px 11px!important;
  white-space:nowrap;
  border-radius:7px}
.navbar-custom .nav-link:hover{background:#f0f4ee;
  opacity:1;
  color:var(--studio-ink)!important}
.navbar-custom .nav-link.active{background:#e9f0e7;
  color:var(--studio-green)!important;
  border:0}
.logout-icon{color:var(--studio-green)}
.navbar-custom .navbar-toggler{border-color:var(--studio-line)}
.navbar-custom .navbar-toggler-icon{filter:brightness(.3)}
.dropdown-menu{border:1px solid var(--studio-line);
  border-radius:12px;
  padding:8px;
  box-shadow:0 16px 45px #183b2814}
.dropdown-item{border-radius:6px;
  padding:8px 12px}
.dropdown-item:active{background:var(--studio-green)}

.btn{border-radius:9px;
  font-weight:600;
  font-size:13px;
  padding:10px 18px;
  transition:background .18s,box-shadow .18s,transform .18s}
.btn-sm{padding:6px 10px;
  font-size:12px}
.btn-primary,.btn-join{--bs-btn-bg:var(--studio-green);
  --bs-btn-border-color:var(--studio-green);
  --bs-btn-hover-bg:#104b3c;
  --bs-btn-hover-border-color:#104b3c;
  --bs-btn-active-bg:#104b3c;
  background:var(--studio-green);
  border-color:var(--studio-green);
  color:white}
.btn-outline-primary{--bs-btn-color:var(--studio-green);
  --bs-btn-border-color:#b4c9bd;
  --bs-btn-hover-bg:var(--studio-green);
  --bs-btn-hover-border-color:var(--studio-green);
  --bs-btn-active-bg:var(--studio-green);
  --bs-btn-active-border-color:var(--studio-green)}
.btn:focus-visible,a:focus-visible{outline:3px solid #75ae86;
  outline-offset:3px}
.form-control,.form-select{border-color:#d9e2dc;
  border-radius:8px;
  min-height:39px;
  font-size:13px;
  background-color:#fff}
.form-control:focus,.form-select:focus{border-color:#588c73;
  box-shadow:0 0 0 3px #166b5514}
.form-label{font-weight:600;
  letter-spacing:0;
  font-size:12px;
  color:#5d6e64}
.form-check-input:checked{background-color:var(--studio-green);
  border-color:var(--studio-green)}

.card,.pricing-card,.modal-content{border:1px solid var(--studio-line);
  border-radius:16px;
  box-shadow:0 5px 20px #243a2c05;
  overflow:hidden}
.card-header{padding:16px 20px;
  border-bottom:1px solid var(--studio-line);
  background:#f7f9f5}
.card-body{padding:22px}
.modal-header,.modal-footer{border-color:var(--studio-line)}
.badge{font-weight:600;
  border-radius:5px;
  padding:6px 8px}
.nav-tabs{gap:5px;
  border-bottom:1px solid var(--studio-line);
  padding-bottom:10px}
.nav-tabs .nav-link{border:0;
  border-radius:8px;
  color:var(--studio-muted);
  font-size:13px;
  padding:10px 16px}
.nav-tabs .nav-link.active{background:#e1ecdf;
  color:var(--studio-green);
  font-weight:650}
.table{--bs-table-bg:#fff;
  --bs-table-border-color:#e8ede7;
  --bs-table-hover-bg:#f1f6ed;
  font-size:13px}
.table>:not(caption)>*>*{padding:13px 15px}
.table thead th{background:#edf2ea;
  color:#627166;
  font-size:11px;
  font-weight:650;
  letter-spacing:.025em}
.table-responsive{border:1px solid var(--studio-line);
  border-radius:12px;
  background:white}

.filter-section-wrapper{background:#fff;
  border-bottom:1px solid var(--studio-line);
  box-shadow:none;
  padding:12px 8px}
.filter-header{padding:12px 18px}
.filter-header h2{font-size:14px}
.filter-header h2 i,.filter-toggle-icon{color:var(--studio-green)}
#filters.section-filters{background:#fff;
  box-shadow:none;
  padding:20px}
.section-filters .form-label{letter-spacing:0}
/* Keep the offers grid in its original compact spreadsheet style. */
#offers-table {
  font-family: 'Calibri', 'Segoe UI', sans-serif;
  line-height: 1.5;
}
.table-responsive.offers-table-wrapper {
  border: 0;
  border-radius: 0;
  background: transparent;
}
.noUi-connect{background:var(--studio-green)}
.noUi-target{border:0;
  background:#e3ebe2;
  box-shadow:none}
.noUi-horizontal{height:6px}
.noUi-horizontal .noUi-handle{height:18px;
  width:18px;
  right:-9px;
  border-radius:50%;
  border:3px solid #fff;
  background:var(--studio-green);
  box-shadow:0 0 0 1px #adc2b5}
.noUi-handle:before,.noUi-handle:after{display:none}

.studio-landing{background:#f8f9f5}
.studio-landing .navbar-custom>.container-fluid{max-width:1360px}
.studio-landing .hero-section{background:#f0f3e9;
  color:var(--studio-ink);
  padding:90px 0 86px;
  border-bottom:1px solid #dbe3d4;
  overflow:hidden}
.hero-layout{display:grid;
  grid-template-columns:1.05fr 1fr;
  gap:60px;
  align-items:center;
  max-width:1360px;
  padding-inline:36px}
.studio-eyebrow{font-size:10px;
  letter-spacing:2px;
  font-weight:700;
  display:flex;
  align-items:center;
  gap:9px;
  color:#4f6d59}
.studio-eyebrow>span{width:6px;
  height:6px;
  border-radius:50%;
  background:#4c8e62}
.studio-landing .hero-title{font-size:clamp(35px,3.6vw,58px);
  line-height:1.09;
  letter-spacing:-.055em;
  font-weight:600;
  text-align:start;
  margin:26px 0 22px}
.studio-landing .hero-title br{display:none}
.studio-landing .hero-subtitle{display:block;
  font-size:15px;
  text-align:start;
  line-height:1.85;
  color:#657469;
  max-width:490px;
  margin-bottom:30px}
.hero-actions{display:flex;
  align-items:center;
  gap:25px;
  flex-wrap:wrap}
.studio-landing .btn-join{background:#173f32;
  box-shadow:none;
  border-radius:8px;
  padding:15px 23px;
  font-size:13px}
.studio-landing .btn-join:hover{background:#245742;
  box-shadow:0 6px 20px #173f321a;
  transform:translateY(-2px)}
.hero-secondary{font-size:12px;
  font-weight:600;
  text-decoration:none;
  color:#425b49}
.hero-product{background:#fff;
  border:1px solid #dbe4d5;
  border-radius:15px;
  box-shadow:0 30px 65px -22px #243c3840;
  transform:perspective(1200px) rotateY(-5deg) rotateZ(1deg);
  overflow:hidden}
.product-topline{padding:14px 19px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  background:#fbfcf9;
  border-bottom:1px solid var(--studio-line);
  font-size:10px;
  color:#7a877b}
.product-dots{font-size:8px;
  letter-spacing:3px;
  color:#b9c7b4}
.product-heading{padding:26px 24px 20px}
.product-heading h2{font-size:22px;
  margin-top:10px}
.hero-product>img{width:100%;
  height:240px;
  object-fit:cover;
  object-position:top;
  display:block;
  border-block:1px solid var(--studio-line)}
.product-bottom{display:flex;
  gap:13px;
  padding:20px 24px;
  font-size:10px;
  line-height:1.6;
  color:#687b6d;
  background:#fafcf7}
.product-bottom i{font-size:22px;
  color:var(--studio-green)}
#platform{scroll-margin-top:105px}
.studio-landing .content-section{background:#f8f9f5;
  padding:54px 0}
.studio-landing .audience-card{height:100%;
  border:0;
  border-inline-start:1px solid #dce4d6;
  border-radius:0;
  box-shadow:none;
  background:transparent;
  padding:14px 28px}
.studio-landing .audience-card h4{font-size:19px}
.studio-landing .audience-card p{font-size:13px}
.studio-landing .audience-icon{font-size:24px;
  color:var(--studio-green);
  margin-bottom:18px}
.studio-landing .feature-card{padding:42px;
  border:1px solid #e0e6da;
  border-radius:18px;
  box-shadow:none;
  margin-bottom:25px}
.studio-landing .feature-title{font-size:26px}
.studio-landing .feature-icon{background:#edf3e6;
  color:var(--studio-green);
  border-radius:12px;
  box-shadow:none;
  font-size:22px;
  width:44px;
  height:44px}
.studio-landing .feature-description,.studio-landing .feature-list li{font-size:15px}
.studio-landing .highlight-box{background:#ecf3e5!important;
  color:#294e39;
  box-shadow:none;
  text-align:start;
  padding:24px}
.studio-landing .highlight-box h3{color:#294e39;
  font-size:23px}
.studio-landing .highlight-box p{font-size:14px}
.studio-landing .screenshot-container{box-shadow:0 10px 25px #28382108;
  border:1px solid #e0e6da}
.studio-landing .screenshot-label{background:#f4f7ef;
  font-size:12px;
  color:#53674e}
.studio-landing .calculator-container{background:#183b30!important;
  border:0!important;
  border-radius:20px!important}
.calculator-container .form-label{color:#fff}
.calculator-container .text-muted{color:#a8bdae!important}
.studio-landing .feature-card[style*="gradient"]{background:#183b30!important}
.section-title:after{background:var(--studio-green)}

.studio-auth{background:radial-gradient(ellipse at 20% 20%,#e4ecd9,transparent 55%),#f5f7f0}
.studio-auth main{padding:65px 20px}
.login-form,.register-form{max-width:440px;
  padding:40px;
  border-radius:20px;
  border:1px solid #dfe6d9;
  box-shadow:0 24px 70px #203c3010}
.auth-emblem{width:52px;
  height:52px;
  margin:0 auto 25px;
  background:#eaf0e2;
  border-radius:15px;
  display:grid;
  place-items:center;
  color:var(--studio-green);
  font-size:26px}
.studio-auth h1{font-weight:650!important;
  margin-bottom:30px!important;
  font-size:29px}
.studio-auth .btn-outline-danger{color:var(--studio-ink);
  border-color:var(--studio-line);
  font-size:13px}
.studio-auth .btn-outline-danger:hover{background:#f1f5ed}
.pricing-card{background:white}
.pricing-card-popular{border:2px solid var(--studio-green)}
.pricing-header{padding-top:20px}
.footer-custom{background:#17392f!important;
  color:#b8c9bc;
  border-top:0!important}
.footer-custom .footer-link{color:#d1ddd0;
  font-size:12px}
.footer-copyright{color:#9daf9f!important}
.footer-content{padding:20px 0}

@media(max-width:991px){.navbar-custom{padding:12px 18px;
  min-height:76px}
body{padding-top:76px}
.navbar-collapse{padding:18px 0;
  max-height:calc(100dvh - 76px);
  overflow:auto}
.navbar-nav{gap:4px;
  margin-bottom:15px}
.navbar-custom .nav-link{font-size:13px}
.hero-layout{grid-template-columns:1fr;
  gap:44px;
  max-width:720px}
.studio-landing .hero-section{padding:55px 0}
.hero-product{transform:none}
.studio-landing .hero-title{font-size:45px}
.hero-product>img{height:auto;
  max-height:340px;
  object-fit:cover;
  object-position:top}
.nav-tabs{flex-wrap:nowrap;
  overflow-x:auto}
.nav-tabs .nav-link{white-space:nowrap}
}

@media(max-width:575px){.hero-layout{padding-inline:23px}
.studio-landing .hero-title{font-size:36px}
.hero-actions{gap:18px}
.studio-landing .feature-card{padding:24px}
.studio-landing .feature-title{font-size:22px}
.studio-landing .content-section{padding:32px 0}
.login-form,.register-form{padding:28px 23px}
.navbar-collapse>.d-flex{flex-wrap:wrap;
  gap:8px}
.product-heading{padding:20px}
.hero-product>img{height:210px;
  object-fit:cover}
.table-responsive{border-radius:8px}
.footer-links{overflow-wrap:anywhere}
.studio-landing .audience-card{padding:12px 22px}
.case-study-metrics{gap:8px}
}

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

.studio-landing .stat-card{opacity:1;
  background:#fff;
  border:1px solid var(--studio-line);
  border-radius:14px;
  padding:24px;
  color:var(--studio-ink)}
.studio-landing .stat-card:hover{background:#f0f5e9;
  border-color:#adc2a7;
  transform:translateY(-2px)}
.studio-landing .stat-card-icon{color:var(--studio-green);
  opacity:1}
.studio-landing .stat-card-number{font-size:30px;
  letter-spacing:-1px}
.studio-landing .stat-card-label{font-size:12px}
.studio-landing .case-study-card{background:#1b3e32;
  border-color:#335545;
  box-shadow:none}
.studio-landing .section-title{font-size:32px;
  font-weight:600}
.studio-landing .section-title:after{background:#7ba263}

/* Professional product positioning: allow translated copy to wrap naturally. */
.hero-note {
  margin: 20px 0 0;
  max-width: 490px;
  color: #52685a;
  font-size: 12px;
  line-height: 1.7;
}
.hero-copy .studio-eyebrow {
  letter-spacing: .08em;
  line-height: 1.7;
}
.hero-copy .studio-eyebrow > span { flex-shrink: 0; }
.case-study-metrics { overflow-wrap: anywhere; }
html[dir="rtl"] .hero-copy .studio-eyebrow { letter-spacing: 0; }

/* Full-height navigation with larger, lighter lettering. */
.navbar-custom {
  padding: 0 24px;
  min-height: 86px;
}
.navbar-custom .nav-link {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: .015em;
  line-height: 1.35;
  border-radius: 0;
  color: #52635a !important;
  transition: background-color .18s, color .18s;
}
.navbar-custom .navbar-nav > .nav-item > .nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 15px !important;
}
.navbar-custom .navbar-nav > .nav-item > .nav-link::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 2px;
  background: transparent;
}
.navbar-custom .navbar-nav > .nav-item > .nav-link:hover {
  background: #f1f4ec;
}
.navbar-custom .navbar-nav > .nav-item > .nav-link.active {
  background: #eaf0e4;
  color: #244e3b !important;
  font-weight: 400;
}
.navbar-custom .navbar-nav > .nav-item > .nav-link.active::after {
  background: #48765a;
}
.navbar-tools {
  gap: 4px;
  padding-inline-start: 16px;
}
.navbar-tools .nav-link {
  font-size: 14px;
  border-radius: 6px;
}
.navbar-tools > .btn {
  font-weight: 500;
}
@media (min-width: 1400px) {
  .navbar-custom > .container-fluid,
  .navbar-custom .navbar-collapse {
    align-items: stretch;
    min-height: 85px;
  }
  .navbar-custom .navbar-nav {
    align-items: stretch;
    margin-bottom: 0;
    gap: 0;
  }
  .navbar-custom .navbar-nav > .nav-item { display: flex; }
  .navbar-custom .navbar-brand { align-self: center; }
  .navbar-custom .navbar-nav > .nav-item > .nav-link { min-height: 85px; }
}
@media (min-width: 1400px) and (max-width: 1499px) {
  .navbar-custom { padding-inline: 12px; }
  .navbar-custom .navbar-brand { margin-inline-end: 16px; }
  .navbar-custom .navbar-nav > .nav-item > .nav-link {
    font-size: 15px;
    padding-inline: 10px !important;
  }
  .navbar-tools { padding-inline-start: 8px; }
  .navbar-tools > .btn { max-width: 170px; white-space: normal; }
}
@media (max-width: 1399px) {
  body { padding-top: 76px; }
  .navbar-custom { min-height: 76px; padding: 12px 18px; }
  .navbar-custom .navbar-collapse {
    padding: 14px 0 4px;
    max-height: calc(100dvh - 76px);
    overflow-y: auto;
  }
  .navbar-custom .navbar-nav { gap: 0; margin-bottom: 16px; }
  .navbar-custom .navbar-nav > .nav-item > .nav-link {
    min-height: 52px;
    font-size: 17px;
    padding: 12px 16px !important;
  }
  .navbar-custom .navbar-nav > .nav-item > .nav-link::after {
    inset-inline-start: 0;
    inset-inline-end: auto;
    top: 0;
    height: auto;
    width: 2px;
  }
  .navbar-tools { padding: 14px 0 4px; border-top: 1px solid var(--studio-line); flex-wrap: wrap; }
}

/* Automotive market-analysis mark; the artwork carries its own background. */
.brand-symbol {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  background: transparent;
}
.brand-symbol img,
.auth-emblem img {
  display: block;
  width: 44px;
  height: 44px;
}
.auth-emblem { background: transparent; }
.navbar-custom .navbar-brand .brand-symbol img { margin: 0; }

.analytics-workspace { max-width: 1680px; }
.analytics-workspace .table { font-variant-numeric: tabular-nums; }
.analytics-workspace .table th { white-space: normal; min-width: 82px; vertical-align: middle; }
.analytics-workspace .table td { vertical-align: middle; }
.analytics-workspace summary { cursor: pointer; color: var(--studio-green); }
.analytics-chart { position: relative; height: 380px; margin: 24px 0; }
.analytics-detail { width: min(960px, 94vw); max-height: 88dvh; padding: 28px; border: 1px solid var(--studio-line); border-radius: 18px; color: var(--studio-ink); }
.analytics-detail::backdrop { background: #162d2a80; }
@media (max-width: 575px) { .analytics-detail { padding: 18px; } .analytics-chart { height: 300px; } }
