.cp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: 18px;
}
.cp-card,
.cp-part,
.cp-offer,
.cp-file,
.cp-message {
  border: 1px solid #d6e0e7;
  border-radius: 12px;
  background: #fff;
  padding: 20px;
  margin: 0 0 16px;
}
.cp-card-preview {
  min-height: 110px;
  background: #eef3f7;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  padding: 16px;
  overflow-wrap: anywhere;
}
.cp-card h3 {
  margin: 16px 0 8px;
}
.cp-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin: 20px 0;
}
.cp-heading h2 {
  margin: 0;
}
.cp-heading small {
  overflow-wrap: anywhere;
}
.cp-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 0 20px;
}
.cp-tabs [aria-current="page"] {
  background: #0a2350;
  color: #fff;
}
.cp-notice {
  background: #eef4fa;
  border-left: 4px solid #0a4fa3;
  padding: 16px;
  margin: 16px 0;
}
.cp-table {
  overflow-x: auto;
}
.cp-table table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.cp-table th,
.cp-table td {
  padding: 12px;
  border-bottom: 1px solid #e3e9ee;
  vertical-align: top;
}
.cp-detail label {
  display: block;
  margin: 14px 0;
}
.cp-detail input:not([type="checkbox"]),
.cp-detail select,
.cp-detail textarea {
  display: block;
  width: 100%;
  max-width: 650px;
  border: 1px solid #9eafbc;
  border-radius: 6px;
  padding: 10px;
  background: #fff;
  color: #20303a;
  font: inherit;
}
.cp-detail textarea {
  min-height: 110px;
}
.cp-check {
  display: flex !important;
  gap: 10px;
  align-items: flex-start;
  max-width: 700px;
}
.cp-pay {
  background: #178449 !important;
  color: white !important;
}
.cp-timeline {
  list-style: none;
  padding: 0;
}
.cp-timeline li {
  border-left: 3px solid #0a4fa3;
  padding: 8px 16px 24px;
  display: grid;
  gap: 6px;
}
.cp-message {
  white-space: pre-wrap;
}
.cp-message small,
.cp-file small {
  display: block;
  margin: 6px 0;
  color: #526675;
}
.cp-viewer {
  margin: 16px 0;
}
.cp-viewer iframe,
.cp-viewer model-viewer {
  display: block;
  width: 100%;
  height: 500px;
  border: 1px solid #d6e0e7;
}
.cp-viewer img {
  display: block;
  max-width: 100%;
  max-height: 650px;
}
.cp-detail button:focus-visible,
.cp-detail a:focus-visible,
.cp-tabs button:focus-visible {
  outline: 3px solid #0a4fa3;
  outline-offset: 3px;
}
@media (max-width: 600px) {
  .cp-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .cp-card,
  .cp-part,
  .cp-offer {
    padding: 14px;
  }
  .cp-viewer iframe,
  .cp-viewer model-viewer {
    height: 340px;
  }
  .cp-table th,
  .cp-table td {
    padding: 8px;
  }
  .cp-tabs button {
    min-height: 44px;
  }
}

.cp-card-preview .cp-viewer model-viewer{height:180px;min-width:200px}
/* Customer project library and submitted design workspace. */
.cp-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,310px),1fr));gap:20px}.cp-card{padding:0;overflow:hidden;box-shadow:0 4px 14px #18364e08;transition:box-shadow .15s,border-color .15s}.cp-card:hover{border-color:#a5bad0;box-shadow:0 8px 22px #18364e12}.cp-card-preview{position:relative;min-height:185px;border-radius:0;background:#edf2f7;padding:0}.cp-card-body{padding:20px}.cp-cad-thumb{display:block;width:100%;height:185px;object-fit:contain}.cp-state{display:inline-flex;align-items:center;background:#fff3d8;color:#74540e;border:1px solid #e9d6a5;border-radius:30px;font-size:11px;font-weight:700;padding:5px 10px;white-space:nowrap}.cp-card-preview>.cp-state{position:absolute;left:14px;top:14px}.cp-state-approved{background:#e7f5eb;color:#24643a;border-color:#b4dbc0}.cp-kicker{font-size:10px;text-transform:uppercase;letter-spacing:.13em;color:#61758a;font-weight:750}.cp-card h3{font-size:19px;line-height:1.35;margin:9px 0 12px;overflow-wrap:anywhere}.cp-price-summary{color:#39536d;font-size:13px;min-height:36px}.cp-card-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #e1e7ee;padding-top:16px}.cp-card-footer small{color:#6c7f91}.cp-preview-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;text-align:center;min-height:185px;padding:28px;color:#536d86;overflow-wrap:anywhere}.cp-preview-empty span{font-size:12px;color:#7a8c9d}.cp-submitted{background:white;border:1px solid #d6e0e7;border-radius:14px;padding:24px;margin:0 0 24px}.cp-submitted>header{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}.cp-submitted header h3{font-size:23px;margin:8px 0}.cp-submitted header p{color:#657b90;font-size:12px;margin:0 0 16px}.cp-design-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(250px,1fr);gap:24px}.cp-cad-stage{background:#f2f5f9;border:1px solid #dce4ed;border-radius:10px;overflow:hidden}.cp-cad-label{font-size:11px;font-weight:600;color:#59728b;padding:12px 16px;border-bottom:1px solid #dce4ed}.cp-auto-model{height:370px;display:flex;align-items:center;justify-content:center}.cp-auto-model model-viewer{width:100%;height:100%}.cp-submitted-item{border-bottom:1px solid #e1e7ee;padding:12px 0;overflow-wrap:anywhere}.cp-submitted-item small{display:block;color:#6b7d90;margin-top:4px}.cp-submitted-item p{font-size:13px;line-height:1.65;white-space:pre-wrap}.cp-design-layout aside>.v2-button{display:block;width:100%;margin-top:10px;text-align:left;overflow-wrap:anywhere}.cp-design-caption{font-size:11px;color:#708295;line-height:1.5;margin:18px 0 0}.cp-detail #cpRequote>button{background:#d90a0c;color:white;border-color:#d90a0c}@media(max-width:850px){.cp-design-layout{grid-template-columns:1fr}.cp-auto-model{height:320px}.cp-submitted{padding:16px}.cp-submitted>header{flex-wrap:wrap}.cp-submitted header h3{font-size:20px}}@media(max-width:450px){.cp-card-footer{align-items:flex-start}.cp-submitted{padding:12px}.cp-auto-model{height:275px}.cp-grid{gap:14px}}

.cp-design-layout{align-items:start}.cp-cad-stage{position:sticky;top:16px}@media(max-width:850px){.cp-cad-stage{position:static}}
