.impcbl-estimate {
  color: #efefeb;
  font:
    400 14px/1.55 Arial,
    sans-serif;
  max-width: 780px;
  margin: auto;
  text-align: left;
}
.impcbl-estimate * {
  box-sizing: border-box;
}
.quote-card [data-impcbl-estimate] {
  padding: 0 30px 30px;
  min-width: 0;
}
@media (max-width: 640px) {
  .quote-card [data-impcbl-estimate] {
    padding: 0 20px 24px;
  }
}
.impcbl-estimate h3 {
  font-size: 24px;
  line-height: 1.25;
  margin: 12px 0;
  font-weight: 500;
  letter-spacing: -0.7px;
}
.ie-kicker {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  color: #c9b57b;
  margin: 26px 0 14px;
}
.ie-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.ie-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.ie-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 12px;
  color: #aaa99f;
  margin: 0 0 16px;
}
.ie-field input,
.ie-field select,
.ie-field textarea {
  display: block;
  width: 100%;
  min-width: 0;
  border: 1px solid #37372f;
  background: #141613;
  color: #f5f5ed;
  border-radius: 7px;
  padding: 12px;
  font: inherit;
  font-size: 14px;
  min-height: 45px;
}
.ie-field select option {
  background: #171916;
  color: #fafaf6;
}
.ie-field textarea {
  min-height: 90px;
  resize: vertical;
}
.ie-field input:focus,
.ie-field select:focus,
.ie-field textarea:focus {
  outline: 2px solid #c6b178;
  outline-offset: 2px;
}
.ie-field input:disabled,
.ie-field select:disabled {
  opacity: 0.45;
}
.ie-primary {
  display: block;
  width: 100%;
  padding: 15px 18px;
  border: 1px solid var(--gold, #c7a34b);
  border-radius: 6px;
  background: var(--gold, #c7a34b);
  color: #141610;
  font:
    600 14px/1.3 Arial,
    sans-serif;
  cursor: pointer;
  margin: 18px 0 8px;
  box-shadow: 0 5px 20px rgba(199, 163, 75, 0.16);
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}
.ie-primary:not(:disabled):hover {
  background: var(--gold-2, #e2c46a);
  border-color: var(--gold-2, #e2c46a);
  box-shadow: 0 5px 24px rgba(199, 163, 75, 0.25);
}
.ie-primary:focus-visible {
  outline: 2px solid var(--gold-2, #e2c46a);
  outline-offset: 3px;
}
.ie-primary:disabled {
  background: #23251f;
  border-color: #45483d;
  color: #a3a796;
  box-shadow: none;
  opacity: 1;
  cursor: not-allowed;
}
.impcbl-estimate[aria-busy='true'] .ie-primary:disabled {
  cursor: wait;
}
@media (prefers-reduced-motion: reduce) {
  .ie-primary {
    transition: none;
  }
}
.ie-secondary {
  display: block;
  background: none;
  border: 0;
  color: #c5c6ba;
  text-decoration: underline;
  text-underline-offset: 4px;
  font:
    400 12px/1.5 Arial,
    sans-serif;
  padding: 10px 0;
  cursor: pointer;
}
.ie-support {
  font-size: 11px;
  color: #96998c;
  margin: 8px 0 16px;
  line-height: 1.6;
}
.impcbl-estimate .ie-installation-description {
  margin: 0 0 20px;
  padding: 14px 16px;
  border-left: 3px solid var(--gold, #c7a34b);
  border-radius: 0 6px 6px 0;
  background: rgba(199, 163, 75, 0.09);
  color: #efefeb;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
}
.ie-details {
  border-top: 1px solid #34372d;
  padding: 15px 0;
  margin-top: 14px;
  color: #aaa;
  font-size: 12px;
}
.ie-details summary {
  cursor: pointer;
  color: #c7c9bb;
  padding: 2px 0 9px;
}
.ie-details summary small {
  color: #878b7b;
  margin-left: 6px;
  font-size: 10px;
}
.ie-details[open] summary {
  margin-bottom: 10px;
}
.ie-color-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  border: 1px solid #3e4334;
  border-radius: 6px;
  padding: 18px;
  color: #d9d9cd;
}
.ie-color-card a {
  color: #cbb777;
  text-underline-offset: 4px;
  font-size: 12px;
}
.ie-material {
  font-size: 12px;
  color: #c5b77e;
}
.ie-investment {
  padding: 24px 0 10px;
}
.ie-investment span {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.7px;
  color: #aeaf9e;
}
.ie-investment strong {
  display: block;
  color: #d8c487;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 400;
  letter-spacing: -1px;
  margin: 8px 0;
}
.ie-result > p {
  margin: 7px 0;
}
.ie-preview {
  font-size: 11px;
  color: #c6b784;
  background: #26281e;
  border: 1px solid #464a35;
  padding: 11px 13px;
  border-radius: 5px;
}
.ie-confirmation {
  margin: 20px 0;
  padding: 20px;
  border: 1px solid #515b3d;
  border-radius: 8px;
  background: #1c2219;
}
.ie-confirmation h3 {
  font-size: 20px;
}
.ie-confirmation p,
.ie-confirmation strong {
  font-size: 13px;
}
.ie-message {
  color: #dec999;
  font-size: 12px;
  margin-top: 12px;
}
.ie-message:empty {
  display: none;
}
.ie-actions {
  display: flex;
  gap: 25px;
}
.ie-history {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  border-bottom: 1px solid #34382c;
  color: #dedfce;
  padding: 14px 0;
  cursor: pointer;
}
.ie-history small {
  display: block;
  font-size: 10px;
  color: #999c88;
  margin-top: 4px;
}
.ie-history strong {
  white-space: nowrap;
}
.platform-shell {
  max-width: 1180px;
  margin: auto;
  padding: 36px 24px 80px;
}
.platform-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  align-items: center;
  padding-bottom: 26px;
  border-bottom: 1px solid #303328;
  font-size: 12px;
  color: #bcbfab;
}
.platform-nav a:hover {
  color: #d5c087;
}
.platform-nav strong {
  letter-spacing: 3px;
  color: #f1f1e9;
  margin-right: auto;
}
.platform-heading {
  margin: 45px 0 30px;
}
.platform-heading h1 {
  font-size: 36px;
  font-weight: 400;
  letter-spacing: -1px;
  margin-bottom: 10px;
}
.platform-heading p {
  color: #a6aa98;
  font-size: 14px;
  max-width: 650px;
}
.platform-panel {
  padding: 28px;
  background: #151913;
  border: 1px solid #33392b;
  border-radius: 12px;
}
.platform-estimate {
  max-width: 780px;
}
.platform-admin-grid {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 20px;
}
.platform-admin-grid button.lead-row {
  display: block;
  text-align: left;
  width: 100%;
  padding: 18px;
  border: 0;
  border-bottom: 1px solid #30382a;
  background: transparent;
  color: #f3f3e8;
  cursor: pointer;
}
.platform-admin-grid button.lead-row[aria-pressed='true'] {
  background: #2b3222;
}
.lead-row small {
  display: block;
  color: #a8b094;
  font-size: 11px;
  margin-top: 5px;
}
.platform-detail h2 {
  font-size: 24px;
  margin: 10px 0;
}
.platform-detail dl {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 10px;
  font-size: 12px;
  margin: 20px 0;
}
.platform-detail dt {
  color: #99a286;
}
.platform-detail dd {
  overflow-wrap: anywhere;
}
.platform-events {
  padding-left: 18px;
  color: #b4bca6;
  font-size: 12px;
}
.platform-events li {
  margin: 12px 0;
}
.platform-warning {
  color: #d5bf82;
  font-size: 12px;
}
.platform-metrics {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  margin: 25px 0;
  color: #abb599;
  font-size: 12px;
}
.platform-metrics strong {
  font-size: 24px;
  color: #e2d5aa;
  margin-right: 8px;
}
.platform-admin-filter {
  width: 100%;
  padding: 12px;
  background: #1c2318;
  color: #e7eadf;
  border: 1px solid #3c4730;
  border-radius: 6px;
}
.ie-schedule input[type='date'] {
  color-scheme: dark;
}
.ie-calendar {
  width: 100%;
  min-width: 0;
  height: 780px;
  margin-top: 20px;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
}
.ie-calendar > p {
  color: #303030;
  padding: 20px;
}
.ie-calendar iframe {
  border: 0;
  width: 100%;
  height: 100%;
}
.ie-calendar:empty {
  display: none;
}
@media (max-width: 760px) {
  .platform-admin-grid {
    grid-template-columns: 1fr;
  }
  .platform-shell {
    padding: 24px 16px 60px;
  }
  .platform-panel {
    padding: 20px;
  }
  .platform-heading h1 {
    font-size: 29px;
  }
  .ie-grid {
    grid-template-columns: 1fr;
  }
  .ie-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .ie-three select {
    padding: 10px 5px;
    font-size: 12px;
  }
  .platform-detail dl {
    grid-template-columns: 90px 1fr;
  }
  .platform-nav {
    gap: 14px;
  }
  .platform-nav strong {
    width: 100%;
  }
}
