/* Se ocultan pasos únicamente después de inicializar la guía con JavaScript. */
.guide-hidden { display: none !important; }
.guide-header { border-bottom: 1px solid var(--bs-border-color); padding: .25rem 0 1.25rem; margin-bottom: 1.25rem; scroll-margin-top: 5rem; }
.guide-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: .75rem; }
.guide-progress { font-weight: 700; color: var(--bs-emphasis-color); }
.guide-title { font-size: 1.5rem; line-height: 1.35; margin: 0 0 .5rem; }
.guide-description { color: var(--bs-body-color); margin-bottom: 1rem; max-width: 65ch; line-height: 1.6; }
.guide-steps { display: flex; gap: .5rem; }
.guide-step-mark { flex: 1; height: 5px; border-radius: 4px; background: var(--bs-border-color); }
.guide-step-mark.complete { background: var(--brand, #0F766E); }
.guide-topic { max-width: 100%; }
.help-preferences { border-top: 1px solid var(--bs-border-color); padding-top: 1rem; }
.guide-printer-help { padding: 1rem; margin-bottom: 1rem; border: 1px solid var(--bs-border-color); border-radius: .75rem; background: var(--bs-tertiary-bg); }
.guide-printer-help p { margin-bottom: .75rem; }
.guided-workspace:has(.guide-active) > [class*="col-"] { width: 100%; max-width: 820px; margin-left: auto; margin-right: auto; }
.guide-footer { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--bs-border-color); }
.guide-footer[hidden], [hidden].guide-title, [hidden].guide-steps { display: none !important; }
.guide-footer .btn { min-width: 120px; min-height: 48px; }
.guide-footer .btn-primary { margin-left: auto; }
.guide-error:not(:empty) { margin-top: 1rem; color: var(--bs-danger-text-emphasis); background: var(--bs-danger-bg-subtle); border-left: 4px solid currentColor; padding: .85rem; }
.guide-message:not(:empty) { margin-top: 1rem; padding: .85rem; background: var(--bs-success-bg-subtle); color: var(--bs-success-text-emphasis); border-radius: .5rem; }
.guide-summary { background: var(--bs-tertiary-bg); border: 1px solid var(--bs-border-color); padding: 1rem; border-radius: .75rem; margin-bottom: 1rem; }
.guide-summary-line { overflow-wrap: anywhere; margin: 0 0 .6rem; }
.guide-summary-line:last-child { margin-bottom: 0; }
.guide-active > .row > [class*="col-"] { width: 100%; }
.guide-active > .row > [class*="col-"]:not([data-guide-step]):not(:has([data-guide-step]:not(.guide-hidden))) { display: none; }
.guide-active .guide-submit-note { margin: 1rem 0; font-weight: 600; }
.comfortable .app-content, .comfortable .modal, .comfortable .auth-card { font-size: 1.0625rem; line-height: 1.6; }
.comfortable .app-content .form-control, .comfortable .app-content .form-select,
.comfortable .auth-card .form-control, .comfortable .auth-card .form-select { min-height: 48px; font-size: 1.0625rem; }
.comfortable .app-content .btn, .comfortable .modal .btn, .comfortable .auth-card .btn { min-height: 44px; font-size: 1rem; }
.comfortable .app-content .form-text, .comfortable .app-content .small { font-size: .95rem; }
.comfortable .select2-container--bootstrap-5 .select2-selection { min-height: 48px; font-size: 1.0625rem; }
.comfortable .form-check { padding-top: .25rem; padding-bottom: .25rem; }
.comfortable .form-check-label { cursor: pointer; }
.guide-active details > summary { min-height: 44px; padding: .5rem 0; cursor: pointer; }
.guide-title:focus-visible { outline: 3px solid var(--bs-emphasis-color); outline-offset: 3px; }
@media (max-width: 575px) {
    .guide-header { padding: .25rem 0 1rem; }
    .guide-title { font-size: 1.3rem; }
}
@media (prefers-reduced-motion: reduce) { .comfortable *, .comfortable *::before, .comfortable *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; } }
@media print { .guide-header, .guide-footer, .guide-help-launch { display: none !important; } .guide-hidden { display: block !important; } }
