/* Guided Quote Studio 03. Scoped to this section; the live assistant remains external. */
.quote-studio{--studio-copy:#3e519b;background:#eaf6ff;border-radius:24px;margin-top:18px;padding:24px 22px 20px;container-type:inline-size}
.studio-header{display:grid;grid-template-columns:2.3fr 1fr;gap:44px;align-items:center;margin:0 12px 30px}
.studio-eyebrow{display:flex;align-items:center;gap:14px;color:var(--blue);font-size:10px;font-weight:800;letter-spacing:.16em;margin:0 0 24px;white-space:nowrap}
.studio-eyebrow::after{content:'';height:1px;background:#6e97ff;width:145px}
.studio-headline h2{font-size:clamp(40px,5.4vw,65px);font-size:clamp(40px,5.65cqw,80px);font-weight:800;font-style:italic;line-height:.99;letter-spacing:-.06em;margin:0;color:#06082f}
.studio-underline{display:table;position:relative;white-space:nowrap}
.studio-underline::after{content:'';position:absolute;left:8%;right:-12%;bottom:-12px;height:9px;border-top:4px solid #00a6f8;border-radius:50%;transform:rotate(-2.5deg)}
.studio-intro{font-size:clamp(15px,1.45cqw,21px);line-height:1.5;color:var(--studio-copy);padding-top:37px;letter-spacing:-.025em}
.studio-intro p{margin:0}
.studio-content{display:grid;grid-template-columns:1fr .96fr 1.12fr;gap:12px;align-items:stretch;margin-bottom:16px}
.example-card{margin:0;background:#fff;border-radius:17px;overflow:hidden;display:flex;flex-direction:column;min-width:0;border:1px solid white}
.example-photo{display:block;width:100%;height:auto;aspect-ratio:1.16;object-fit:cover;min-height:0}
.example-footer{display:flex;align-items:center;gap:15px;padding:12px 16px;flex:1;background:#fff}
.example-icon-circle{width:60px;height:60px;flex:none;border-radius:50%;display:grid;place-items:center;background:#e7f5fe;color:var(--blue)}
.example-icon{width:31px;height:31px}
.example-text strong{display:block;font-size:clamp(18px,1.9cqw,28px);font-weight:800;line-height:1.15;letter-spacing:-.04em;color:#06082f;margin-bottom:4px}
.example-text p{margin:0;font-size:clamp(13px,1.36cqw,20px);line-height:1.12;color:var(--studio-copy)}
.studio-assistant{min-width:0;border:1px solid #bbd8ff;border-radius:20px;background:#fff;padding:24px;display:flex;flex-direction:column}
.assistant-header{display:flex;flex-direction:column;gap:5px;margin-bottom:32px}
.assistant-brand{position:relative;align-self:flex-start;font-size:clamp(20px,1.9cqw,28px);font-weight:800;font-style:italic;letter-spacing:-.05em;line-height:1.2;color:#06082f}
.assistant-brand::after{content:'';position:absolute;left:0;bottom:-3px;width:32px;border-top:3px solid #00a6f8;transform:rotate(-5deg)}
.assistant-subtitle{font-size:clamp(14px,1.35cqw,20px);color:var(--studio-copy);font-weight:500;line-height:1.4}
.assistant-greeting{padding:14px 18px;border:1px solid #c5d3f3;border-radius:18px;margin-bottom:30px;background:#fff}
.assistant-greeting p{font-size:clamp(16px,1.45cqw,22px);line-height:1.5;color:#090c3e;margin:0}
.studio-upload-button.button{display:flex;width:100%;min-height:60px;justify-content:center;align-items:center;gap:17px;border:0;border-radius:17px;background:var(--blue);color:white;font-size:clamp(17px,1.8cqw,26px);font-weight:600;letter-spacing:-.025em;padding:15px 12px;cursor:pointer;transition:background .2s}
.studio-upload-button.button:hover{background:var(--blue-dark);transform:none}
.studio-upload-button .icon{width:31px;height:31px}
.assistant-hint{font-size:clamp(13px,1.25cqw,18px);line-height:1.5;text-align:center;color:var(--studio-copy);margin:21px 0 0}
.quote-embed-container {
  position: relative;
  width: 100%;
  min-height: 500px;
  margin-top: 24px;
}

.quote-embed-container[hidden] {
  display: none;
}

.quote-iframe {
  width: 100%;
  height: 600px;
  border: 0;
  border-radius: 12px;
}

.quote-embed-status {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

.quote-embed-container:is([data-state="loading"],[data-state="slow"]) .quote-embed-status::before {
  content: '';
  flex: none;
  width: 16px;
  height: 16px;
  border: 2px solid #cfdeef;
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: quote-studio-loading .8s linear infinite;
}

.quote-embed-help {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 14px;
  line-height: 1.5;
}

.quote-embed-help a { text-underline-offset: 3px; }
.quote-embed-help button {
  background: none;
  border: 0;
  padding: 0;
  color: var(--blue);
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.quote-embed-help [hidden] { display: none; }

@keyframes quote-studio-loading { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .quote-embed-container:is([data-state="loading"],[data-state="slow"]) .quote-embed-status::before { animation: none; }
  .studio-upload-button { transition: none; }
}


.studio-process{display:grid;grid-template-columns:1fr 1fr 1fr;gap:0;background:#fff;border-radius:18px;padding:15px 12px}
.process-step{position:relative;display:grid;grid-template-columns:44% 1fr;align-items:center;gap:9px;padding:0 12px;min-width:0}
.process-step~.process-step{border-left:1px solid #e4efff}
.process-step~.process-step::before{content:'';position:absolute;left:-20px;top:50%;width:40px;border-top:1px solid #00a6f8}
.process-visual{min-width:0}
.process-illustration{display:block;width:100%;height:auto;aspect-ratio:1.2}
.process-badge{width:34px;height:34px;display:grid;place-items:center;border-radius:50%;background:#e3f3ff;color:var(--blue);font-size:14px;font-weight:800;margin-bottom:8px}
.process-info h3{font-size:clamp(15px,1.45cqw,22px);font-weight:800;color:#06082f;letter-spacing:-.05em;line-height:1.15;margin:0 0 7px}
.process-info p{font-size:clamp(12px,1.14cqw,17px);line-height:1.45;color:var(--studio-copy);margin:0}
.process-connector{display:none}
@media(min-width:1101px){.quote-studio{padding-top:23px}.studio-header{margin-bottom:30px}.studio-assistant{padding:24px}.studio-content{min-height:390px}}
@media(max-width:1100px){
 .studio-header{gap:24px;margin-inline:4px;grid-template-columns:1.6fr 1fr}.studio-headline h2{font-size:clamp(34px,5.3cqw,58px)}.studio-intro{font-size:15px}.studio-eyebrow{font-size:9px;gap:10px}.studio-eyebrow::after{width:65px}
 .studio-content{grid-template-columns:1fr 1fr}.studio-assistant{grid-column:1/-1;min-height:0}.assistant-header{margin-bottom:20px}.assistant-greeting{margin-bottom:22px}.assistant-hint{margin-top:16px}.example-photo{aspect-ratio:1.3}.process-step{grid-template-columns:1fr;text-align:center;padding:0 16px}.process-illustration{width:130px;margin:auto}.process-badge{margin:0 auto 8px}.process-info h3{font-size:17px}.process-info p{font-size:14px}
}
@media(max-width:650px){
 .quote-studio{padding:22px 14px 16px;border-radius:20px}.studio-header{grid-template-columns:1fr;gap:22px;margin:0 2px 22px}.studio-eyebrow{font-size:9px;margin-bottom:20px}.studio-eyebrow::after{flex:1;max-width:100px}.studio-headline h2{font-size:clamp(31px,9.2cqw,48px);line-height:1.04}.studio-underline::after{bottom:-8px;height:6px;border-top-width:3px}.studio-intro{padding:0;font-size:15px;line-height:1.5}
 .studio-content{gap:10px;margin-bottom:14px}.example-card{border-radius:12px}.example-photo{aspect-ratio:.95}.example-footer{padding:12px 10px;gap:8px;align-items:flex-start;flex-direction:column}.example-icon-circle{width:34px;height:34px}.example-icon{width:20px;height:20px}.example-text strong{font-size:17px}.example-text p{font-size:12px;line-height:1.35}.studio-assistant{padding:20px 16px;border-radius:16px;margin-top:4px}.assistant-brand{font-size:24px}.assistant-subtitle{font-size:15px}.assistant-greeting{padding:15px;border-radius:14px}.assistant-greeting p{font-size:16px}.studio-upload-button.button{font-size:18px;min-height:58px;border-radius:14px}.assistant-hint{font-size:13px}.quote-iframe{height:590px}.quote-embed-container{margin-top:0;min-height:0}
 .studio-process{grid-template-columns:1fr;padding:6px 16px}.process-step{grid-template-columns:35% 1fr;gap:14px;text-align:left;padding:18px 0}.process-step~.process-step{border-left:0;border-top:1px solid #e4efff}.process-step~.process-step::before{display:none}.process-illustration{width:100%;max-width:130px}.process-badge{width:29px;height:29px;font-size:12px;margin:0 0 7px}.process-info h3{font-size:17px}.process-info p{font-size:13px}
}

/* Literal photo-only crops preserve the approved view without downloading its surrounding UI. */
.studio-photo-close,.studio-photo-wide{flex:none}
.studio-photo-close{aspect-ratio:455/392}
.studio-photo-wide{aspect-ratio:436/392}
.studio-content:has(.quote-embed-container:not([hidden])) .example-card{align-self:start}
@media(max-width:1100px){.studio-intro-break{display:none}}
@media(max-width:650px){
 .studio-content{grid-template-columns:minmax(0,1fr)}
 .example-footer{flex-direction:row;align-items:center;padding:14px;gap:12px}
 .example-icon-circle{width:40px;height:40px}
 .example-text strong{font-size:19px}
 .example-text p{font-size:14px;line-height:1.4}
 .studio-assistant:has(.quote-embed-container:not([hidden])){margin-inline:-14px;padding-inline:7px}
}

/* Expand the workspace without replacing the iframe or changing the unopened design. */
@media(min-width:1101px){
 .studio-content:has(.quote-embed-container:not([hidden])){
  grid-template-columns:minmax(240px,300px) minmax(0,1fr);
  grid-template-rows:min-content 1fr;
  align-items:start;
  gap:16px 20px;
 }
 .studio-content:has(.quote-embed-container:not([hidden]))>.example-card{grid-column:1;width:100%;max-width:300px}
 .studio-content:has(.quote-embed-container:not([hidden]))>.example-card:first-child{grid-row:1}
 .studio-content:has(.quote-embed-container:not([hidden]))>.example-card:nth-child(2){grid-row:2}
 .studio-content:has(.quote-embed-container:not([hidden]))>.studio-assistant{grid-column:2;grid-row:1/span 2;align-self:start}
}
@media(max-width:1100px){
 .studio-content:has(.quote-embed-container:not([hidden])){grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
 .studio-content:has(.quote-embed-container:not([hidden]))>.example-card{width:100%;max-width:260px;justify-self:center}
 .studio-content:has(.quote-embed-container:not([hidden]))>.studio-assistant{grid-column:1/-1}
 .studio-content:has(.quote-embed-container:not([hidden])) .example-footer{padding:10px;gap:0}
 .studio-content:has(.quote-embed-container:not([hidden])) .example-icon-circle{display:none}
 .studio-content:has(.quote-embed-container:not([hidden])) .example-text strong{font-size:17px}
 .studio-content:has(.quote-embed-container:not([hidden])) .example-text p{font-size:13px;line-height:1.4}
}
