:root {
  --ink: #06100f;
  --ink-2: #0d1916;
  --ink-3: #14231e;
  --lime: #95d625;
  --lime-bright: #b7f43d;
  --paper: #f5f7f1;
  --white: #ffffff;
  --muted: #91a098;
  --line: rgba(160, 211, 169, .22);
  --panel: rgba(13, 25, 22, .92);
  --panel-2: rgba(20, 35, 30, .92);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--white);
  background:
    radial-gradient(circle at 24% -18%, rgba(159,224,43,.16), transparent 34%),
    linear-gradient(180deg, #06100f 0%, #0d1916 48%, #f5f7f1 48%, #f5f7f1 100%);
  font-family: "DM Sans", Arial, sans-serif;
}
button, input, select { font: inherit; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.top {
  min-height: 92px;
  padding: 0 clamp(22px, 5vw, 78px);
  display: grid;
  grid-template-columns: 170px 1fr;
  align-items: center;
  gap: 44px;
  color: #eef4ef;
  background: rgba(6,16,15,.94);
  border-bottom: 1px solid rgba(255,255,255,.08);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
}
.brand-logo {
  width: 145px;
  height: 55px;
  object-fit: cover;
  object-position: left center;
  mix-blend-mode: screen;
}
.tag {
  margin-top: -8px;
  color: #9dad9f;
  font: 800 10px "Manrope", sans-serif;
  letter-spacing: .14em;
}
.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(18px, 2.5vw, 34px);
  font-size: 14px;
  font-weight: 700;
}
.nav a { color: #cbd5d0; transition: color .2s; }
.nav a:hover,
.nav a.active { color: var(--lime-bright); }
.nav a.active { border-bottom: 2px solid var(--lime-bright); padding-bottom: 10px; }
.role {
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #3d554a;
  border-radius: 10px;
  color: #eaf4ef;
  background: rgba(255,255,255,.04);
}
.role select {
  max-width: 150px;
  color: #fff;
  background: transparent;
  border: 0;
  font-weight: 800;
}
.role select option,
#roleSelect option { background: #fff!important; color: #071426!important; }

.app {
  padding: 24px clamp(18px, 4vw, 58px) 54px;
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  gap: 18px;
}
.card {
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(6,16,15,.12);
  border-radius: 16px;
  box-shadow: 0 22px 60px rgba(0,0,0,.12);
}
.config {
  padding: 20px;
  color: var(--ink);
  align-self: start;
  position: sticky;
  top: 116px;
}
.configIntro {
  padding: 6px 0 18px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  color: #629f19;
  font: 800 11px "Manrope", sans-serif;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.config h2,
.group h3,
.panel h3,
.preview h1 {
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  letter-spacing: -.02em;
}
.config h2 {
  margin: 0 0 9px;
  font-size: 24px;
  line-height: 1.08;
}
.configIntro p {
  margin: 0;
  color: #59665f;
  font-size: 14px;
  line-height: 1.5;
}
.progressRail {
  height: 34px;
  margin: 2px 0 14px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.progressRail span {
  display: grid;
  place-items: center;
  color: #51635b;
  background: #eef4ec;
  border: 1px solid #d8e3da;
  border-radius: 999px;
  font: 800 12px "Manrope", sans-serif;
}
.progressRail span.active {
  color: #07100e;
  background: var(--lime-bright);
  border-color: var(--lime-bright);
}
.group {
  padding: 16px 0;
  border-top: 1px solid #dfe7dc;
}
.group h3 {
  margin: 0 0 13px;
  color: #44534c;
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
}
.radio {
  width: 100%;
  margin: 10px 0;
  min-height: 58px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  color: #15231f;
  background: #fff;
  border: 1px solid #dce6dd;
  border-radius: 12px;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.radio:hover,
.radio.active {
  border-color: rgba(149,214,37,.65);
  background: #f4faea;
}
.radio:hover { transform: translateY(-1px); }
.radio b {
  display: block;
  color: #10211c;
  font-weight: 800;
}
.radio small {
  display: block;
  margin-top: 3px;
  color: #66746e;
  font-size: 12px;
  line-height: 1.35;
}
.dot {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  border: 1.6px solid #9fb1a5;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
}
.radio.active .dot { border-color: #6dac1f; }
.radio.active .dot:after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
}
.qty {
  height: 44px;
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  overflow: hidden;
  border: 1px solid #cbd6ce;
  border-radius: 10px;
}
.qty button {
  border: 0;
  color: #243630;
  background: #eef4ec;
  font-size: 20px;
  cursor: pointer;
}
.qty input {
  min-width: 0;
  padding: 0 14px;
  border: 0;
  border-left: 1px solid #cbd6ce;
  border-right: 1px solid #cbd6ce;
  font-weight: 800;
}
.primary,
.secondary,
.viewInterior {
  cursor: pointer;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
}
.primary {
  width: 100%;
  height: 50px;
  margin-top: 18px;
  border: 0;
  border-radius: 12px;
  color: #07100e;
  background: var(--lime-bright);
  box-shadow: 0 14px 40px rgba(151,218,39,.18);
}
.secondary {
  width: 100%;
  height: 42px;
  margin-top: 10px;
  color: #10211c;
  background: #fff;
  border: 1px solid #aebcaf;
  border-radius: 10px;
}
.platformNote {
  padding: 13px;
  color: #263b31;
  background: #f5faee;
  border: 1px solid #d9eacb;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.45;
}
.configPill {
  margin-top: 15px;
  padding: 12px;
  color: #173024;
  background: #eef8df;
  border: 1px solid #cbe6a8;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.preview {
  padding: 18px;
  color: var(--ink);
}
.previewHead {
  margin: 2px 6px 16px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}
.preview h1 {
  margin: 0 0 6px;
  color: #0d1916;
  font-size: 28px;
  line-height: 1.06;
  text-transform: none;
}
.previewSub { color: #59665f; font-size: 14px; }
.viewInterior {
  padding: 11px 16px;
  color: #07100e;
  background: var(--lime-bright);
  border: 0;
  border-radius: 10px;
}
.gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  overflow: hidden;
  background: #fff;
  border: 1px solid #dfe7dc;
  border-radius: 16px;
}
.gallery.singleImage { grid-template-columns: 1fr; }
.gallery.singleImage .mainImg { border-right: 0; }
.mainImg,
.thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at center, rgba(183,244,61,.12), transparent 52%),
    #fff;
  border-right: 1px solid #e3eadf;
  border-bottom: 1px solid #e3eadf;
}
.mainImg { min-height: 420px; }
.mainImg img { max-width: 94%; max-height: 385px; object-fit: contain; filter: drop-shadow(0 22px 25px rgba(0,0,0,.16)); }
.thumb {
  min-height: 190px;
  cursor: pointer;
  border-top: 0;
  border-left: 0;
}
.thumb:hover { background: #f5faee; }
.thumb img { max-width: 90%; max-height: 165px; object-fit: contain; filter: drop-shadow(0 13px 16px rgba(0,0,0,.12)); }
.thumbs { display: grid; grid-template-rows: repeat(2,1fr); }
.thumbs:empty,
.bottomThumbs:empty { display: none; }
.bottomThumbs {
  grid-column: 1/3;
  display: grid;
  grid-template-columns: repeat(3,1fr);
}
.bottomThumbs .thumb { min-height: 185px; }

.panels {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 12px;
}
.panel { padding: 17px; }
.panel h3 {
  margin: 0 0 14px;
  color: #629f19;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.row {
  padding: 10px 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid #e3eadf;
  font-size: 13px;
}
.row b { text-align: right; }
.listItem {
  padding: 10px 0;
  display: flex;
  gap: 10px;
  border-top: 1px solid #e3eadf;
  font-size: 13px;
}
.check { color: #6ead1e; font-weight: 900; }
.stepDot {
  width: 9px;
  height: 9px;
  margin-top: 5px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(149,214,37,.16);
}

.footer {
  min-height: 62px;
  padding: 0 clamp(22px, 5vw, 78px);
  display: flex;
  align-items: center;
  gap: 26px;
  color: #9daaa3;
  background: var(--ink);
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: 13px;
}
.footer .right { margin-left: auto; display: flex; gap: 28px; color: #d5ded9; }
.footer [role="button"] { cursor: pointer; }
.hidden { display: none!important; }

.proposal,
.bomView {
  min-height: calc(100vh - 154px);
  padding: 24px clamp(18px, 4vw, 58px) 54px;
  color: var(--ink);
  background: var(--paper);
}
.toolbar {
  margin-bottom: 12px;
  display: grid;
  grid-template-columns: 1fr repeat(3,190px);
  gap: 8px;
}
.toolbar input,
.toolbar select {
  padding: 10px;
  color: #172520;
  background: #fff;
  border: 1px solid #cbd6ce;
  border-radius: 10px;
}
.tableMeta {
  margin: 0 0 10px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #59665f;
  font-size: 12px;
}
.tableWrap {
  max-height: 560px;
  overflow: auto;
  border: 1px solid #dfe7dc;
  border-radius: 12px;
}
table {
  width: 100%;
  min-width: 1050px;
  border-collapse: collapse;
  background: #fff;
}
th, td {
  padding: 10px;
  border-bottom: 1px solid #e3eadf;
  font-size: 12px;
  text-align: left;
  vertical-align: top;
}
th {
  position: sticky;
  top: 0;
  color: #dff2e5;
  background: var(--ink-2);
}
.proposalBox {
  padding: 28px;
  color: #0b1728;
  background: #fff;
  border: 1px solid #dfe7dc;
  border-radius: 16px;
  box-shadow: 0 22px 60px rgba(0,0,0,.1);
}
.proposalHero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 28px;
  align-items: center;
}
.proposalHero h1 {
  margin: 0 0 12px;
  font: 800 clamp(32px, 5vw, 54px)/1 "Manrope", sans-serif;
  letter-spacing: -.02em;
}
.proposalHero p {
  max-width: 720px;
  color: #59665f;
  font-size: 16px;
  line-height: 1.6;
}
.proposalBox img { width: 100%; max-height: 320px; object-fit: contain; }
.proposalGrid {
  margin: 26px 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.proposalItem {
  min-height: 92px;
  padding: 16px;
  background: #f6f9f4;
  border: 1px solid #dfe7dc;
  border-radius: 12px;
}
.proposalItem span {
  display: block;
  margin-bottom: 8px;
  color: #66746e;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.proposalItem b {
  color: #10211c;
  font-size: 15px;
}
.proposalBox h2 {
  margin-top: 18px;
  font: 800 22px "Manrope", sans-serif;
}
.handoffList {
  max-width: 760px;
  margin-bottom: 18px;
}

@media(max-width:1000px) {
  .top { grid-template-columns: 1fr; gap: 10px; padding-top: 14px; padding-bottom: 14px; }
  .nav { margin-left: 0; flex-wrap: wrap; justify-content: flex-start; }
  .app { grid-template-columns: 1fr; }
  .config { position: static; }
  .panels { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .bottomThumbs { grid-column: auto; grid-template-columns: 1fr; }
  .toolbar { grid-template-columns: 1fr; }
  .proposalHero,
  .proposalGrid { grid-template-columns: 1fr; }
}
