/* LEXLAB · Ajuste móvil 06/10/2026. Solo presentación; no altera datos ni reglas. */
@media screen and (max-width: 820px) {
  .workspace {display:block;padding:16px;}
  .sidebar {position:static;padding:16px 18px;margin-bottom:16px;}
  .sidebar .steps,.sidebar h2,.sidebar>p,.sidebar>button {display:none;}
  .sidebar .mobile-progress {display:block;color:#effaff;margin:8px 0;font-size:14px;}
  .sidebar .save-state {border:0;padding:0;margin:0;font-size:12px;}
  .form-card {padding:24px;}
  .fields {grid-template-columns:minmax(0,1fr);}
  .field.wide {grid-column:auto;}
  .field input:not([type=checkbox]),.field select,.field textarea {font-size:16px;}
}
@media screen and (max-width: 700px) {
  .topbar {gap:10px;padding:6px 16px;}
  .header-logo {width:116px;height:70px;}
  .top-meta {min-width:0;max-width:155px;font-size:11px;}
  .welcome {padding:16px;}
  .hero-grid {padding:26px 22px;gap:0;grid-template-columns:minmax(0,1fr);}
  .hero h1 {font-size:clamp(30px,8.5vw,42px);line-height:1.12;letter-spacing:-1px;margin:16px 0;}
  .hero .lead {font-size:16px;line-height:1.6;}
  .hero-tags {font-size:12px;gap:8px 14px;}
  /* El logo del encabezado conserva la identidad sin repetir un panel alto. */
  .preview.brand-stage {display:none;}
  .flow article {padding:16px;min-width:0;}
  .flow h3 {font-size:15px;}
  .flow p {font-size:14px;}
  .notice,.privacy,.privacy summary,.consent,.section-hint {font-size:14px;line-height:1.6;}
  .workspace,.guide-wrap {padding-left:12px;padding-right:12px;}
  .form-card {padding:22px 18px;}
  .form-card h1,.results-header h1 {font-size:clamp(24px,7vw,30px);overflow-wrap:break-word;}
  .field>label,.field legend,.check-option,.help {font-size:14px;}
  .check-option {min-height:48px;}
  .welcome-actions,.examples .buttons,.form-nav,.form-nav .right {display:flex;flex-direction:column;align-items:stretch;width:100%;}
  .welcome-actions button,.examples .buttons button,.form-nav button {width:100%;min-height:48px;font-size:15px;line-height:1.4;white-space:normal;}
  .form-nav {gap:12px;}
  button.small,button.link,summary {min-height:44px;}
  summary {padding-top:10px;padding-bottom:10px;}
  .flow-choice,.compact-responses header,.deliverable-head,.summary-block header {flex-wrap:wrap;gap:12px;}
  .deliverable {padding:16px;}
  .tabs {display:grid;grid-template-columns:minmax(0,1fr);gap:5px;}
  .tabs button {font-size:15px;min-height:48px;padding:12px;white-space:normal;}
  .document {padding:24px 18px;}
  .document p {font-size:16px;line-height:1.75;}
  .document .doc-brand {flex-wrap:wrap;}
  .document .doc-brand span {text-align:left;overflow-wrap:anywhere;}
  .signature-grid {grid-template-columns:minmax(0,1fr);gap:46px;}
  .table-scroll {max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;}
  .checklist-table select {font-size:16px;min-height:44px;}
  .guide-print-brand {flex-wrap:wrap;}
  .survey-dialog {padding:22px;max-height:85dvh;}
  .survey-dialog button,.survey-dialog #survey-open {min-height:44px;}
}
@media screen and (max-width:360px) {
  .topbar {flex-wrap:wrap;justify-content:space-between;}
  .top-meta {max-width:140px;font-size:10px;}
  .hero-grid {padding:24px 18px;}
  .form-card {padding:20px 14px;}
}
