/* Global close hierarchy: price/result first, explanations on demand. */
body.work-mode .configurator-form{min-width:0!important;overflow:visible!important}
body.work-mode .configurator-form>.rc81d-state.complete,
body.work-mode .configurator-form>.cfg-live:not(.pending),
body.work-mode #focusPrice>.rc81d-state.complete{
  position:relative!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:5px 16px!important;align-items:center!important;
  margin:13px 0 7px!important;padding:16px 18px!important;border-radius:16px!important;
  background:linear-gradient(135deg,#08283d,#0a354f)!important;border:1px solid rgba(65,225,255,.62)!important;
  box-shadow:0 13px 30px rgba(0,0,0,.20),inset 4px 0 0 #2ce0ff!important;color:#fff!important;
}
body.work-mode .configurator-form>.rc81d-state.complete b,
body.work-mode .configurator-form>.cfg-live:not(.pending) b,
body.work-mode #focusPrice>.rc81d-state.complete b{color:#fff!important;font-size:22px!important;line-height:1.12!important;letter-spacing:-.025em!important;overflow-wrap:anywhere!important}
body.work-mode .configurator-form>.rc81d-state.complete span,
body.work-mode .configurator-form>.cfg-live:not(.pending) span,
body.work-mode #focusPrice>.rc81d-state.complete span{color:#b5ccda!important;font-size:12px!important;line-height:1.4!important}
body.work-mode .configurator-form>.rc81d-state.complete:after,
body.work-mode .configurator-form>.cfg-live:not(.pending):after{content:"PRECIO ACTUAL";justify-self:end;align-self:start;color:#56e8ff;font-size:9px;font-weight:950;letter-spacing:.11em;white-space:nowrap}

/* Pending/reference information remains visible, but compact and readable. */
body.work-mode .configurator-form>.rc81d-state:not(.complete),
body.work-mode .configurator-form>.cfg-live.pending{background:#0a1d2e!important;border:1px solid rgba(112,207,235,.25)!important;color:#e7f5fc!important;padding:12px 14px!important;border-radius:13px!important;margin:10px 0 6px!important}
body.work-mode .configurator-form>.rc81d-state:not(.complete) b,
body.work-mode .configurator-form>.cfg-live.pending b{color:#f1fbff!important;font-size:14px!important;line-height:1.3!important}
body.work-mode .configurator-form>.rc81d-state:not(.complete) span,
body.work-mode .configurator-form>.cfg-live.pending span{color:#abc2d0!important;font-size:12px!important;line-height:1.45!important}
body.work-mode .configurator-form>.rc81d-state .missing{color:#ffd973!important;font-weight:850!important}

/* Technical/supporting copy is collapsed by default by the runtime below. */
body.work-mode .nemi-global-tech-details{grid-column:1/-1!important;margin:5px 0 2px!important;border:1px solid rgba(103,205,234,.20)!important;border-radius:13px!important;background:#081a2a!important;overflow:hidden!important;color:#dcebf4!important}
body.work-mode .nemi-global-tech-details>summary{list-style:none!important;cursor:pointer!important;display:grid!important;grid-template-columns:minmax(0,1fr) 28px!important;align-items:center!important;gap:3px 10px!important;padding:11px 14px!important;font-size:13px!important;line-height:1.3!important;font-weight:850!important;color:#e7f5fc!important;min-height:46px!important}
body.work-mode .nemi-global-tech-details>summary::-webkit-details-marker{display:none!important}
body.work-mode .nemi-global-tech-details>summary:after{content:"＋";grid-column:2;grid-row:1/3;justify-self:end;color:#55e5ff;font-size:20px;font-weight:500}
body.work-mode .nemi-global-tech-details[open]>summary:after{content:"−"}
body.work-mode .nemi-global-tech-details>summary small{display:block!important;color:#91aabd!important;font-size:11px!important;font-weight:650!important;line-height:1.35!important}
body.work-mode .nemi-global-tech-body{border-top:1px solid rgba(103,205,234,.12)!important;padding:11px 13px!important;color:#afc4d1!important;font-size:12px!important;line-height:1.55!important;background:#0a2031!important;overflow-wrap:anywhere!important}
body.work-mode .nemi-global-tech-body>*{max-width:100%!important}
body.work-mode .nemi-global-tech-body .cfg-helper,body.work-mode .nemi-global-tech-body .process-guide,body.work-mode .nemi-global-tech-body .rc81h-price-rule{margin:0!important;padding:0!important;border:0!important;background:transparent!important;color:inherit!important;font-size:inherit!important;line-height:inherit!important}
body.work-mode .nemi-important-helper{grid-column:1/-1!important;background:#102538!important;border:1px solid rgba(255,217,115,.34)!important;border-left:4px solid #ffd973!important;color:#d8e7ef!important;border-radius:12px!important;padding:11px 13px!important;font-size:12px!important;line-height:1.5!important;overflow-wrap:anywhere!important}

/* Do not allow options/buttons to clip product names or instructions. */
body.work-mode .configurator-form .cfg-option,
body.work-mode .configurator-form button,
body.work-mode .configurator-form .dtf-choice{white-space:normal!important;text-overflow:clip!important;overflow:visible!important;overflow-wrap:anywhere!important;word-break:normal!important;line-height:1.3!important}
body.work-mode .configurator-form .cfg-option b,
body.work-mode .configurator-form .cfg-option strong,
body.work-mode .configurator-form .cfg-option span,
body.work-mode .configurator-form .cfg-option small{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:anywhere!important;max-width:100%!important}
body.work-mode .configurator-form .cfg-label,
body.work-mode .configurator-form .nemi-v3-cluster-label,
body.work-mode .configurator-form legend{color:#f5fbff!important;font-size:15px!important;line-height:1.3!important;font-weight:900!important}
body.work-mode .configurator-form .cfg-option,
body.work-mode .configurator-form .dtf-choice{font-size:13px!important;color:#eef8fd!important}
body.work-mode .configurator-form .cfg-option small,
body.work-mode .configurator-form .cfg-option span,
body.work-mode .configurator-form .dtf-choice small{font-size:11.5px!important;line-height:1.4!important;color:#acc2cf!important}
body.work-mode .configurator-form .cfg-option>small,body.work-mode .configurator-form .cfg-option>span,body.work-mode .configurator-form .dtf-choice>small{display:block!important;margin-top:4px!important}
body.work-mode .configurator-form .cfg-current{background:#0a2031!important;border:1px solid rgba(97,203,232,.18)!important;color:#b8ccd7!important;border-radius:12px!important;padding:10px 12px!important;font-size:12px!important;line-height:1.45!important}

/* Proposal close: total remains more important than metrics and technical text. */
body.work-mode #propuesta.side .total{background:linear-gradient(135deg,#0a2b40,#0b354d)!important;border:1px solid rgba(65,225,255,.45)!important;box-shadow:inset 4px 0 0 #2ce0ff!important;padding:16px!important}
body.work-mode #propuesta.side .total span{font-size:10px!important;color:#aac2d0!important}
body.work-mode #propuesta.side .total span,body.work-mode #propuesta.side .total b,body.work-mode #propuesta.side .total small{display:block!important;width:100%!important}
body.work-mode #propuesta.side .total b,body.work-mode #knownTotal{font-size:clamp(27px,3vw,38px)!important;line-height:1.05!important;color:#59e9ff!important;letter-spacing:-.035em!important}
body.work-mode #propuesta.side .total small,body.work-mode #quoteState{font-size:11px!important;line-height:1.4!important;color:#b0c4d1!important}
body.work-mode .configurator-form>.cfg-action-row>.cfg-save,body.work-mode .configurator-form>.cfg-save.nemi-save-review,body.work-mode .configurator-form>.cfg-submit{background:linear-gradient(135deg,#ff0a84,#df076d)!important;color:#fff!important;border:1px solid #ff0a84!important;box-shadow:0 8px 20px rgba(239,8,121,.18)!important}
body.work-mode .configurator-form>.cfg-action-row>.cfg-secondary{background:#0d263a!important;color:#eaf7ff!important;border:1px solid rgba(107,207,235,.28)!important}
body.work-mode #propuesta.side .quote-actions .primary{background:linear-gradient(135deg,#ff0a84,#df076d)!important;color:#fff!important;border:1px solid #ff0a84!important}
body.work-mode #propuesta.side .quote-actions .ghost{background:#0a3025!important;color:#8af3be!important;border:1px solid #218a66!important}
body.work-mode #propuesta.side .stat b,body.work-mode #propuesta.side .stat span{display:block!important;width:100%!important}

@media(max-width:760px){
 body.work-mode #workspace{padding:9px!important}
 body.work-mode #decisionCard{padding:14px 11px!important}
 body.work-mode .configurator-form{gap:10px!important;width:100%!important;max-width:100%!important}
 body.work-mode .configurator-form>.cfg-group,body.work-mode .configurator-form>.nemi-v3-finish-cluster{padding:13px 11px!important;min-width:0!important;width:100%!important}
 body.work-mode .configurator-form .cfg-label,body.work-mode .configurator-form .nemi-v3-cluster-label,body.work-mode .configurator-form legend{font-size:15px!important}
 body.work-mode .configurator-form .cfg-option,body.work-mode .configurator-form .dtf-choice{font-size:13.5px!important;min-height:54px!important;padding:11px 12px!important}
 body.work-mode .configurator-form .cfg-option small,body.work-mode .configurator-form .cfg-option span,body.work-mode .configurator-form .dtf-choice small{font-size:12px!important}
 body.work-mode .configurator-form input,body.work-mode .configurator-form textarea,body.work-mode .configurator-form select{font-size:16px!important;min-height:50px!important;width:100%!important;max-width:100%!important}
 body.work-mode .configurator-form>.cfg-action-row,body.work-mode .focus-actions{grid-template-columns:1fr!important;gap:8px!important}
 body.work-mode .configurator-form>.cfg-action-row button,body.work-mode .configurator-form>.cfg-submit,body.work-mode .configurator-form>.cfg-save,body.work-mode .focus-actions button{width:100%!important;min-width:0!important;min-height:48px!important;font-size:13px!important;line-height:1.25!important;padding:10px 12px!important;white-space:normal!important}
 body.work-mode .configurator-form>.rc81d-state.complete,body.work-mode .configurator-form>.cfg-live:not(.pending){grid-template-columns:1fr!important;padding:15px!important}
 body.work-mode .configurator-form>.rc81d-state.complete b,body.work-mode .configurator-form>.cfg-live:not(.pending) b{font-size:21px!important}
 body.work-mode .configurator-form>.rc81d-state.complete:after,body.work-mode .configurator-form>.cfg-live:not(.pending):after{grid-row:auto;justify-self:start;margin-top:2px}
 body.work-mode #propuesta.side{padding:14px!important;margin-top:10px!important}
 body.work-mode #propuesta.side .summary{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important}
 body.work-mode #propuesta.side .stat{padding:9px 7px!important;min-width:0!important}
 body.work-mode #propuesta.side .stat b{font-size:18px!important}
 body.work-mode #propuesta.side .stat span{font-size:10.5px!important;line-height:1.3!important;white-space:normal!important;overflow-wrap:anywhere!important}
 body.work-mode #propuesta.side .quote-actions{display:grid!important;grid-template-columns:1fr!important;gap:8px!important}
 body.work-mode #propuesta.side .quote-actions button{width:100%!important;min-width:0!important;min-height:48px!important;font-size:13px!important;white-space:normal!important;overflow-wrap:anywhere!important}
 body.work-mode .nemi-global-tech-details>summary{font-size:12.5px!important;padding:11px 12px!important}
 body.work-mode .nemi-global-tech-body{font-size:12px!important;padding:10px 12px!important}
}
@media(max-width:520px){
 body.work-mode .configurator-form .cfg-options,body.work-mode .configurator-form .rc81h-route,body.work-mode .poster-quick-sizes{grid-template-columns:minmax(0,1fr)!important}
 body.work-mode .configurator-form .cfg-grid2,body.work-mode .configurator-form .rc81h-free{grid-template-columns:minmax(0,1fr)!important}
 body.work-mode .configurator-form .cfg-option,body.work-mode .configurator-form .dtf-choice{min-height:50px!important}
 body.work-mode .workspace-toolbar h1{font-size:24px!important;line-height:1.05!important}
 body.work-mode .workspace-toolbar p,body.work-mode #workspaceSub{font-size:12px!important;line-height:1.45!important}
 body.work-mode .focus-copy h2{font-size:24px!important;line-height:1.08!important}
 body.work-mode #focusHelp,body.work-mode .focus-copy p{font-size:12px!important;line-height:1.45!important}
 body.work-mode .n9-step{font-size:11px!important;line-height:1.25!important}
 body.work-mode .nemi-line-tab{font-size:11px!important;line-height:1.25!important;min-width:166px!important}
}
