
/* CCS RC2.6 Foundation */
.sprint-symbol-logo{padding:3px}
.sprint-symbol-logo svg{transform:scale(1.08)}
.sprint-symbol-logo .ccs-edge,.sprint-symbol-logo .ccs-poly{stroke-width:5px!important;stroke:#e8c88e!important;opacity:1!important}
.sprint-symbol-logo .ccs-node,.sprint-symbol-logo .ccs-center{fill:#e8c88e!important;stroke:#e8c88e!important}

.foundation-intro{display:flex;justify-content:space-between;align-items:end;gap:24px;color:#fff;margin:26px 0 20px}
.foundation-intro h1{font-size:clamp(44px,7vw,74px);line-height:.98;letter-spacing:-.055em;margin:8px 0 10px}
.foundation-intro>div>p:last-child{max-width:690px;color:rgba(255,255,255,.7);line-height:1.65}

.foundation-step-two{display:grid;grid-template-columns:minmax(320px,.86fr) minmax(390px,1.14fr);gap:18px;align-items:start}
.foundation-panel{background:#fff;border-radius:28px;padding:clamp(23px,3vw,34px);box-shadow:0 20px 60px rgba(4,18,42,.11)}
.foundation-panel-head{display:flex;justify-content:space-between;gap:15px;align-items:end;margin-bottom:22px}
.foundation-panel-head h2,.foundation-panel h2{font-size:clamp(29px,4vw,43px);letter-spacing:-.04em;margin:6px 0 8px}
.foundation-panel-head>span{font-size:10px;text-transform:uppercase;letter-spacing:.12em;color:#7a8390;font-weight:900}
.foundation-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.foundation-fields label,.foundation-activate-panel label{display:grid;gap:7px;font-size:12px;font-weight:900}
.foundation-fields input,.foundation-fields select,.foundation-fields textarea,.foundation-activate-panel input{width:100%;box-sizing:border-box;border:1px solid #d7d0c6;border-radius:13px;padding:13px 14px;background:#fff;color:#071a38;font:inherit;outline:none}
.foundation-fields input:focus,.foundation-fields select:focus,.foundation-fields textarea:focus,.foundation-activate-panel input:focus{border-color:#b98443;box-shadow:0 0 0 4px rgba(185,132,67,.12)}
.foundation-wide{grid-column:1/-1}.foundation-save{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:17px}
.foundation-preview-label{color:#fff;margin:4px 0 10px}
.foundation-step-two .draft-memory{
  min-height:0;
  height:auto;
  max-height:none;
  overflow:hidden;
  padding:22px 26px 24px;
  grid-template-rows:280px auto;
}
.foundation-step-two .draft-memory-symbol{
  min-height:0;
  height:280px;
}
.foundation-step-two .draft-memory-copy h2{
  font-size:clamp(40px,5vw,56px);
  margin:7px 0;
}
.foundation-step-two .draft-memory-copy .date{
  margin:5px 0;
}
.foundation-step-two .draft-memory-copy .subtitle{
  margin:8px 0;
}
.foundation-step-two .draft-memory-copy .description{
  margin-top:10px;
  line-height:1.45;
}

.foundation-bottom-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:18px}
.foundation-panel>p:not(.sprint-label):not(.field-help){color:#687382;line-height:1.65}
.foundation-test-content{display:grid;grid-template-columns:190px 1fr;gap:22px;align-items:center;margin-top:20px}
.foundation-test-content img{width:100%;box-sizing:border-box;padding:10px;background:#fff;border-radius:18px;box-shadow:0 12px 35px rgba(5,20,45,.13)}
.foundation-test-content ol{margin:0;padding-left:21px;color:#566273;line-height:1.8}
.foundation-activate-panel{display:grid;align-content:start;gap:13px}
.field-help{margin:-5px 0 2px;color:#7a8390;font-size:11px;line-height:1.45}
.foundation-activate-panel .activation-note{margin:2px 0}
.foundation-activate-panel .activate-button{width:100%;margin-top:3px}

@media(max-width:900px){
 .foundation-step-two,.foundation-bottom-grid{grid-template-columns:1fr}
 .foundation-intro{display:grid}.foundation-step-two .draft-memory{
  min-height:0;
  height:auto;
  max-height:none;
  overflow:hidden;
  padding:22px 26px 24px;
  grid-template-rows:280px auto;
}
.foundation-step-two .draft-memory-symbol{
  min-height:0;
  height:280px;
}
.foundation-step-two .draft-memory-copy h2{
  font-size:clamp(40px,5vw,56px);
  margin:7px 0;
}
.foundation-step-two .draft-memory-copy .date{
  margin:5px 0;
}
.foundation-step-two .draft-memory-copy .subtitle{
  margin:8px 0;
}
.foundation-step-two .draft-memory-copy .description{
  margin-top:10px;
  line-height:1.45;
}
}
@media(max-width:620px){
 .foundation-fields{grid-template-columns:1fr}.foundation-wide{grid-column:auto}
 .foundation-test-content{grid-template-columns:1fr}.foundation-test-content img{width:min(230px,100%);margin:auto}
 .foundation-panel-head{display:grid}
}

/* RC2.8.0: Logo visibility */
.sprint-brand .sprint-mark{width:52px;height:52px;flex:0 0 52px}
.sprint-brand .sprint-mark svg{width:48px!important;height:48px!important;overflow:visible}
.sprint-brand .sprint-mark svg line,
.sprint-brand .sprint-mark svg path,
.sprint-brand .sprint-mark svg polygon,
.sprint-brand .sprint-mark svg polyline{stroke:#efd19a!important;stroke-width:7px!important;stroke-linecap:round!important;stroke-linejoin:round!important;opacity:1!important}
.sprint-brand .sprint-mark svg circle{stroke:#efd19a!important;fill:#efd19a!important;opacity:1!important}
.sprint-brand .sprint-mark{border-color:#efd19a!important;box-shadow:0 0 0 1px rgba(239,209,154,.16),0 8px 24px rgba(0,0,0,.18)}

.mail-delivery-status{display:grid;gap:4px;padding:15px 16px;border-radius:14px;margin:17px 0}
.mail-delivery-status.is-sent{background:#eaf7ed;color:#176d34}
.mail-delivery-status.is-pending{background:#fff4df;color:#835712}
.mail-delivery-status span,.mail-delivery-status small{font-size:12px}.mail-delivery-status small{opacity:.78;line-height:1.45}
.resend-status{min-height:20px;margin:8px 0 0;font-size:12px;font-weight:800}
.resend-status.is-success{color:#176d34}.resend-status.is-error{color:#a12d2d}

/* RC2.8.0: consistent branded header and clearer mail state */
.sprint-brand .sprint-symbol-logo{
  display:grid;
  place-items:center;
  width:54px;
  height:54px;
  flex:0 0 54px;
  border:1.8px solid #efd19a!important;
  border-radius:50%;
  padding:0!important;
}
.sprint-brand .sprint-symbol-logo svg{
  width:46px!important;
  height:46px!important;
  transform:none!important;
}
.sprint-brand .sprint-symbol-logo svg line,
.sprint-brand .sprint-symbol-logo svg path,
.sprint-brand .sprint-symbol-logo svg polygon,
.sprint-brand .sprint-symbol-logo svg polyline{
  stroke:#efd19a!important;
  stroke-width:7px!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
  opacity:1!important;
}
.sprint-brand .sprint-symbol-logo svg circle{
  stroke:#efd19a!important;
  fill:#efd19a!important;
  opacity:1!important;
}
.mail-delivery-status.is-failed{
  background:#fdeaea;
  color:#942b2b;
}


/* RC2.8.0 — definitive Draft preview separation */
.foundation-step-two #memoryPreview.draft-memory{
  display:flex!important;
  flex-direction:column!important;
  min-height:0!important;
  height:auto!important;
  max-height:none!important;
  padding:0!important;
  overflow:hidden!important;
}

.foundation-step-two #memoryPreview .draft-memory-symbol{
  position:relative!important;
  z-index:1!important;
  flex:0 0 315px!important;
  width:100%!important;
  height:315px!important;
  min-height:315px!important;
  max-height:315px!important;
  display:grid!important;
  place-items:center!important;
  overflow:hidden!important;
  padding:22px 34px 8px!important;
  box-sizing:border-box!important;
}

.foundation-step-two #memoryPreview .draft-memory-symbol svg{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:520px!important;
  max-height:285px!important;
  overflow:hidden!important;
  object-fit:contain!important;
}

.foundation-step-two #memoryPreview .draft-memory-copy{
  position:relative!important;
  z-index:5!important;
  flex:0 0 auto!important;
  width:100%!important;
  box-sizing:border-box!important;
  padding:20px 28px 25px!important;
  margin:0!important;
  text-align:center!important;
  border-top:1px solid rgba(255,255,255,.14)!important;
  background:rgba(2,24,74,.94)!important;
  backdrop-filter:blur(8px)!important;
}

.foundation-step-two #memoryPreview:not(.memory-bg-night) .draft-memory-copy{
  background:rgba(255,255,255,.94)!important;
  border-top-color:rgba(6,23,51,.10)!important;
}

.foundation-step-two #memoryPreview .draft-memory-copy .overline{
  margin:0 0 7px!important;
}

.foundation-step-two #memoryPreview .draft-memory-copy h2{
  font-size:clamp(40px,5vw,58px)!important;
  line-height:1!important;
  margin:0 0 8px!important;
}

.foundation-step-two #memoryPreview .draft-memory-copy .date{
  margin:0 0 7px!important;
}

.foundation-step-two #memoryPreview .draft-memory-copy .subtitle{
  margin:0 0 10px!important;
  line-height:1.25!important;
}

.foundation-step-two #memoryPreview .preview-divider{
  margin:7px auto 8px!important;
}

.foundation-step-two #memoryPreview .draft-memory-copy .description{
  max-width:520px!important;
  margin:0 auto!important;
  line-height:1.45!important;
}

@media(max-width:900px){
  .foundation-step-two #memoryPreview .draft-memory-symbol{
    flex-basis:300px!important;
    height:300px!important;
    min-height:300px!important;
    max-height:300px!important;
  }
}

@media(max-width:620px){
  .foundation-step-two #memoryPreview .draft-memory-symbol{
    flex-basis:270px!important;
    height:270px!important;
    min-height:270px!important;
    max-height:270px!important;
    padding:18px 20px 6px!important;
  }
  .foundation-step-two #memoryPreview .draft-memory-copy{
    padding:18px 18px 22px!important;
  }
}


/* RC2.8.0 */
.foundation-preview-label{display:none!important}
.foundation-step-two > article{min-width:0}

/* RC8.0 Companion Editions */
.edition-title{display:block;font-weight:800;margin-bottom:10px}.edition-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.edition-card{border:1px solid rgba(6,22,48,.18);border-radius:14px;background:#fff;padding:14px;text-align:left;cursor:pointer}.edition-card b,.edition-card small{display:block}.edition-card small{margin-top:6px;line-height:1.35;color:#667085}.edition-card.is-active{outline:3px solid rgba(4,150,226,.25);border-color:#0496e2}.license-options,.upload-row{display:flex;gap:14px;align-items:center;flex-wrap:wrap}.premium-upload{padding:14px;border-radius:14px;background:rgba(4,150,226,.07)}.has-custom-background{background-size:cover!important;background-position:center!important;position:relative}.has-custom-background:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(3,13,31,.08),rgba(3,13,31,.52));border-radius:inherit;z-index:0}.has-custom-background>*{position:relative;z-index:1}.has-custom-background .memory-card-content{color:#fff;text-shadow:0 1px 5px rgba(0,0,0,.45)}@media(max-width:760px){.edition-grid{grid-template-columns:1fr}}


/* RC8.0.1 Memory Card controls */
.memory-design-section{padding:18px;border:1px solid rgba(7,26,56,.12);border-radius:18px;background:rgba(255,255,255,.55)}
.memory-design-section>span{display:block;font-weight:900;margin-bottom:12px}.memory-design-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.memory-design-grid label{display:grid;gap:7px}.memory-design-grid input[type=color]{width:100%;height:48px;padding:4px;border:1px solid #d8d1c7;border-radius:12px;background:#fff}.memory-design-grid small{line-height:1.35;color:#6c7480}@media(max-width:700px){.memory-design-grid{grid-template-columns:1fr}}
