/* Interfaz de MUESTRAVA. La composición y el color del cliente quedan aparte. */
.app-header,.steps,.control-panel,.project-save-bar,.preview-toolbar,
.preview-switch,.exact-panel,.mobile-back,.preview-empty,.save-recovery{
  --accent:#173c3b;
  --accent-soft:#e8efea;
}
body:not(.entry-active) .app-header{
  height:auto;min-height:78px;padding:16px 32px;gap:18px;
  flex-wrap:wrap;background:#fffefa;
}
body:not(.entry-active) .brand{min-height:46px;max-width:100%}
body:not(.entry-active) .brand-copy{min-width:0}
body:not(.entry-active) .brand-copy strong{font-size:15px;letter-spacing:.14em}
body:not(.entry-active) .app-header>button{
  min-height:46px;font-size:13px;padding:11px 16px;border-radius:6px;
  white-space:normal;max-width:100%;overflow-wrap:anywhere;
}
body:not(.entry-active) .privacy-note{
  white-space:normal;max-width:100%;line-height:1.6;margin:0;
}
.project-save-bar{font-size:13px;line-height:1.65;background:#f1f4ef}
.project-save-bar a{min-height:44px;display:inline-flex;align-items:center;overflow-wrap:anywhere}
.project-save-bar label{line-height:1.6;min-height:44px;align-items:center}
.steps .step{border-radius:6px}
.control-panel .eyebrow{letter-spacing:.14em}
.control-panel .panel-screen>h1{line-height:1.14;overflow-wrap:anywhere}
.control-panel .lead{line-height:1.7}
.control-panel .control-group{border-color:#d6ded5}
.control-panel .session-start{background:#f4f6f0;border-radius:6px}
.control-panel .session-actions button,
.control-panel #firstSessionGuide>summary,
.control-panel .session-recovery button,
.save-recovery button,.preview-switch button,
.exact-file-actions a,#returnToDraft,#embeddedPdf>summary,#previewEmptyAction{
  min-height:44px;white-space:normal;overflow-wrap:anywhere;
}
.preview-switch{background:#f8f9f5}
.preview-empty{
  width:100%;max-width:410px;padding:28px 16px;text-align:center;gap:12px;
}
.preview-empty>.preview-empty-mark{
  width:76px;height:76px;border-radius:12px;background:#f8faf5;
  border-color:#bccfc0;box-shadow:none;margin-bottom:8px;
}
.preview-empty strong{font-size:24px;line-height:1.25;overflow-wrap:anywhere}
.preview-empty small{max-width:290px;font-size:14px;line-height:1.7}
#previewEmptyAction{margin-top:8px;border-radius:6px;max-width:100%}
.control-panel .empty-state{
  padding:24px 18px;border-radius:6px;border-color:#bccfc0;background:#f4f7ef;
  color:#173c3b;gap:8px;
}
.control-panel .empty-state>span{color:#173c3b}
.control-panel .empty-state small{color:#435b50;font-size:13px;line-height:1.65}
.control-panel #loadStatus:not(:empty),
.control-panel #projectMessage:not(:empty),
.control-panel #logoMessage:not(:empty),
.control-panel #shareStatus:not(:empty){
  padding:13px 14px;margin:14px 0;border:1px solid #c9d8cd;
  border-left:3px solid #6d9480;border-radius:4px;background:#f3f6ef;
  color:#28483d;font-size:13px;line-height:1.65;
  white-space:pre-wrap;overflow-wrap:anywhere;
}
.control-panel:has(#cancelLoad:not([hidden])) #loadStatus:not(:empty){
  border-left-color:#173c3b;background:#e8efea;color:#173c3b;
}
.control-panel .blocking-message,.control-panel .print-proof-error{
  padding:14px;margin:14px 0;border:1px solid #d9b5a9;
  border-left:3px solid #92452f;border-radius:4px;background:#fff3ed;
  color:#783823;font-size:13px;line-height:1.65;
  white-space:pre-wrap;overflow-wrap:anywhere;
}
.session-recovery{
  padding:16px;border:1px solid #c9d8cd;border-radius:4px;background:#f4f6ef;
  color:#28483d;font-size:13px;line-height:1.65;overflow-wrap:anywhere;
}
.session-recovery>strong{font-size:14px;color:#173c3b}
.session-recovery button{border-radius:6px}
@media(max-width:760px){
  body:not(.entry-active) .app-header{padding:14px 20px;gap:14px}
  body:not(.entry-active) .privacy-note{flex-basis:100%;font-size:12px}
}
@media(max-width:480px){
  body:not(.entry-active) .app-header{padding:12px 16px;gap:10px}
  body:not(.entry-active) .brand-copy strong{font-size:12px;letter-spacing:.09em}
  body:not(.entry-active) .app-header>button{font-size:12px;padding:10px 12px}
  .preview-empty{padding:24px 8px}
  .preview-empty strong{font-size:22px}
  .project-save-bar{padding:12px 16px}
}
