/* Same renderer, data and validation as fullscreen; layout follows the product summary width. */
:host(.sts-compact) { display:block; width:100%; min-width:0; }
#configurator { display:block; width:100%; min-width:0; }
.config-content { width:100%; margin:0; }
.product-intro, #close-config-bottom { display:none; }
#config-form { margin:0; }
#compact-options-heading { margin:0 0 6px; font-size:20px; font-weight:600; line-height:1.3; }
.option-section-title { font-size:20px; padding:10px 14px; margin:14px 0 0; }
.option-section-title:first-child { margin-top:0; }
.option-group { padding:8px 0; }
#configurator .option-row { grid-template-columns:minmax(0,1fr); gap:6px; }
.option-info { padding-left:0; }
.option-info h2 { position:relative; padding-left:38px; min-height:28px; display:flex; align-items:center; }
.option-info h2 > .icon { left:0; right:auto; width:26px; height:26px; font-size:24px; }
.option-info .option-heading { display:flex; flex-direction:row; flex-wrap:wrap; align-items:center; padding-left:0; gap:4px 10px; }
.option-info .option-heading h2 { flex:1 1 min-content; padding-left:38px; }
.option-heading .option-info-toggle { display:block; flex:0 1 auto; min-width:130px; width:42%; margin:0; padding-block:4px; }
.option-heading .info-link-label { min-width:0; }
.option-heading .info-symbol { margin-right:4px; vertical-align:middle; }
.option-heading .info-arrow { display:inline-block; margin-left:3px; vertical-align:middle; }
.option-description { display:none; }
#configurator .choices { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
#configurator .choices.single { grid-template-columns:minmax(0,1fr); }
.choices.three .choice:first-child { grid-column:1/-1; }
.choice, .choices.three .choice { min-height:48px; padding:8px; }
.choice-copy, .choices.three .choice-copy { flex-wrap:wrap; gap:4px 10px; }
.choices.three .choice-title { white-space:normal; }
.installation-note { padding:12px; margin:12px 0 0; align-items:flex-start; }
.installation-note > [data-icon] { width:24px; height:24px; }
.installation-note p { font-size:16.2px; }
.config-footer, .config-footer:has(#config-service[hidden]) { display:flex; flex-direction:column; gap:18px; padding:16px 0 0; }
.purchase-box, .config-footer:has(#config-service[hidden]) .purchase-box { order:0; width:100%; max-width:none; padding:0; margin:0; }
#purchase-state { grid-template-columns:1fr; gap:12px; }
.purchase-actions { border:0; padding:0; }
.purchase-actions #order-button { width:100%; min-height:50px; }
.total-line { flex-direction:row; flex-wrap:wrap; justify-content:space-between; align-items:baseline; gap:6px 12px; }
.total-line output { font-size:34px; }
#options-summary { font-size:18px; }
#config-service { order:1; width:100%; }
.service-box { padding:16px; }
:host(.sts-compact-stacked) #configurator .choices { grid-template-columns:minmax(0,1fr); }
:host(.sts-compact-stacked) .option-info .option-heading h2 { flex-basis:100%; }
:host(.sts-compact-stacked) .option-heading .option-info-toggle { width:auto; }
:host(.sts-compact-narrow) .total-line output { font-size:32px; }
:host(.sts-compact-narrow) .chat-button { flex-wrap:wrap; }
:host(.sts-compact-narrow) .service-box .chat-status { max-width:100%; }
@media(max-width:700px) {
  #configurator .choices { grid-template-columns:minmax(0,1fr); }
}

/* Plain upgrade list: the shared data and checkout logic remain unchanged. */
#options .compact-option { padding:0; margin:0; border:0; }
.compact-choice-row { display:flex; align-items:center; gap:4px; }
.compact-choice-row .choice { flex:1; min-width:0; min-height:33px; padding:1px 0; border:0; border-radius:0; gap:8px; background:transparent; box-shadow:none; }
.compact-choice-row .choice:hover, .compact-choice-row .choice:has(input:checked) { background:transparent; box-shadow:none; }
.compact-choice-row .choice-copy { display:block; line-height:1.35; }
.compact-choice-row .choice-title, .compact-choice-row .choice-price { font-weight:400; }
.compact-choice-row .choice-price { white-space:nowrap; }
.compact-choice-row .choice-status { display:block; }
.compact-choice-row .option-info-toggle { display:flex; flex:0 0 48px; justify-content:center; min-height:33px; margin:0; padding:1px 0; width:48px; gap:2px; }
.compact-choice-row .info-symbol { margin:0; }
.compact-choice-row .info-arrow { width:18px; height:18px; }
.compact-option .option-details { margin:4px 0 10px; }
@media(max-width:700px) {
  .compact-choice-row { align-items:center; padding:8px 0; border-bottom:1px solid #D0D5DD; }
  .compact-choice-row .choice, .compact-choice-row .option-info-toggle { min-height:44px; }
  .compact-choice-row .choice { align-items:center; padding:4px 0; gap:10px; }
  .compact-choice-row .choice input { margin:0; }
  .compact-choice-row .choice-title { font-weight:500; }
  .compact-choice-row .choice-price { font-weight:600; }
  .compact-choice-row:has(input:checked) { background:color-mix(in srgb,var(--red) 5%,white); }
  .compact-option .option-details { margin:8px 0; }
}
