#fanzineRuanaApp {
  --fz-pink: #d6014b;
  --fz-pink-dark: #9f0038;
  --fz-blue: #0587cb;
  --fz-blue-dark: #03689d;
  --fz-ink: #171717;
  --fz-paper: #f7f7f7;
  --fz-soft: #f4f7f9;
  --fz-border: #cbd4da;
  --fz-muted: #5f6870;
  --fz-success: #176b3a;
  --fz-warning: #8a5400;
  --fz-radius: 14px;
  --fz-shadow: 0 12px 34px rgba(13, 36, 51, .11);
  --fz-sheet-ratio: 11 / 8.5;
  --fz-font-main: "Special Elite", Georgia, serif;
  --fz-font-title: "Permanent Marker", cursive;
}

#fanzineRuanaApp, #fanzineRuanaApp * { box-sizing: border-box; }

#fanzineRuanaApp {
  background: #f7f7f7;
  color: var(--fz-ink);
  font-family: var(--fz-font-main);
  isolation: isolate;
}

#fanzineRuanaApp button, #fanzineRuanaApp input { font: inherit; }

.fz-app {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto 28px;
}

.fz-header,
.fz-panel,
.fz-actions,
.fz-footer {
  background: var(--fz-paper);
  border: 1px solid var(--fz-border);
  border-radius: var(--fz-radius);
  box-shadow: var(--fz-shadow);
}

.fz-header {
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 5vw, 58px);
  border-top: 8px solid var(--fz-pink);
}


.fz-kicker {
  margin: 0 0 10px;
  color: var(--fz-blue);
  font-family: var(--fz-font-main);
  font-size: 1.05rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.fz-header {
  container-type: inline-size;
}

.fz-header h1 {
  position: relative;
  z-index: 1;
  max-width: none;
  margin: 0;
  font-family: var(--fz-font-main);
  font-size: clamp(1rem, 6.2vw, 4.2rem);
  font-size: clamp(1rem, 6.2cqw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  white-space: nowrap;
}

.fz-header h1 span {
  color: var(--fz-pink);
  font-family: var(--fz-font-title);
  font-weight: 400;
}

.fz-header > p:last-child {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 20px 0 0;
  font-size: 1.06rem;
  line-height: 1.65;
}

.fz-panel { margin-top: 20px; padding: clamp(20px, 4vw, 34px); }
.fz-panel h2 {
  margin: 0 0 12px;
  font-family: var(--fz-font-main);
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  line-height: 1.2;
}
.fz-panel h2 small { color: var(--fz-muted); font-family: var(--fz-font-main); font-size: .55em; }
.fz-step {
  display: inline-grid;
  width: 1.55em;
  height: 1.55em;
  margin-right: .2em;
  place-items: center;
  border-radius: 50%;
  background: #111;
  color: #fff !important;
  font-family: var(--fz-font-main);
  font-size: .72em;
}
.fz-help { margin: 0 0 20px; color: var(--fz-muted); line-height: 1.55; }

.fz-controls-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

#fanzineRuanaApp fieldset {
  min-width: 0;
  border: 2px solid var(--fz-border);
  border-radius: 10px;
  padding: 16px;
}
#fanzineRuanaApp fieldset:focus-within { border-color: var(--fz-blue); }
#fanzineRuanaApp legend { padding: 0 7px; font-family: var(--fz-font-main); font-weight: 700; }
#fanzineRuanaApp fieldset label { display: block; margin: 10px 0; line-height: 1.4; cursor: pointer; }
#fanzineRuanaApp input[type="radio"], #fanzineRuanaApp input[type="checkbox"] { accent-color: var(--fz-pink); }

.fz-specification {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid var(--fz-blue);
  border-radius: 10px;
  background: var(--fz-blue);
}
.fz-specification > div { padding: 15px 17px; background: #f7f7f7; }
.fz-spec-label { display: block; margin-bottom: 5px; color: var(--fz-blue-dark); font-size: .78rem; font-weight: 800; text-transform: uppercase; }
.fz-specification strong { font-size: 1.05rem; }
.fz-note {
  margin: 14px 0 0;
  padding-left: 14px;
  border-left: 4px solid var(--fz-pink);
  color: var(--fz-muted);
  line-height: 1.5;
}

.fz-section-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}
.fz-completion {
  flex: 0 0 auto;
  padding: 9px 14px;
  border: 2px solid var(--fz-blue);
  border-radius: 999px;
  color: var(--fz-blue-dark);
  font-weight: 800;
}
.fz-completion.is-complete { border-color: var(--fz-success); color: var(--fz-success); background: #effaf3; }

.fz-workbench {
  padding: clamp(12px, 2vw, 22px);
  border-radius: 13px;
  background: #20262a;
}
.fz-sheet-labels {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  color: #fff;
  font-size: .82rem;
  font-weight: 700;
}

.fz-upload-sheet {
  --sheet-width: 11;
  --sheet-height: 8.5;
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  width: 100%;
  aspect-ratio: var(--fz-sheet-ratio);
  overflow: hidden;
  border: 2px solid #fff;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .42);
}

.fz-upload-card {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border: 0;
  border-right: 1px dashed rgba(0, 0, 0, .5);
  border-bottom: 1px dashed rgba(0, 0, 0, .5);
  background: #f5f5f5;
  cursor: pointer;
  isolation: isolate;
}
.fz-upload-card:nth-child(4n) { border-right: 0; }
.fz-upload-card:nth-child(n+5) { border-bottom: 0; }
.fz-upload-card:hover,
.fz-upload-card:focus-within,
.fz-upload-card.is-dragover {
  z-index: 4;
  outline: 4px solid var(--fz-blue);
  outline-offset: -4px;
  background: #eef9ff;
}
.fz-upload-card.has-image { background: #111; }
.fz-upload-card.has-warning { box-shadow: inset 0 0 0 4px #e49a22; }

.fz-upload-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center;
}
.fz-upload-card.is-top-row img { transform: rotate(180deg); }
.fz-upload-sheet.fit-contain .fz-upload-card img { object-fit: contain; background: #fff; }

.fz-empty-state {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 5px;
  padding: 10px;
  text-align: center;
}
.fz-empty-state strong {
  color: var(--fz-pink);
  font-family: var(--fz-font-main);
  font-size: clamp(.8rem, 1.8vw, 1.25rem);
}
.fz-empty-state span { color: var(--fz-muted); font-size: clamp(.62rem, 1.2vw, .82rem); }
.fz-add-symbol { color: var(--fz-blue) !important; font-family: var(--fz-font-main) !important; font-size: clamp(1.5rem, 4vw, 3rem) !important; line-height: .8; }

.fz-upload-overlay {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  padding: 24px 8px 7px;
  color: #fff;
  background: linear-gradient(transparent, rgba(0,0,0,.88));
  pointer-events: none;
}
.fz-page-name { display: block; font-weight: 800; font-size: clamp(.68rem, 1.2vw, .92rem); }
.fz-file-name { display: block; margin-top: 3px; font-size: .7rem; overflow-wrap: anywhere; }
.fz-upload-card:not(.has-image) .fz-upload-overlay { display: none; }

.fz-slot-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  z-index: 3;
  max-width: calc(100% - 50px);
  padding: 4px 7px;
  border-radius: 4px;
  background: rgba(5, 135, 203, .94);
  color: #fff;
  font-size: clamp(.58rem, 1vw, .75rem);
  font-weight: 800;
  pointer-events: none;
}
.fz-upload-card.is-top-row .fz-slot-badge { background: rgba(214, 1, 75, .94); }

.fz-image-status {
  position: absolute;
  top: 7px;
  right: 42px;
  z-index: 3;
  width: 24px;
  height: 24px;
  display: none;
  place-items: center;
  border-radius: 50%;
  background: var(--fz-success);
  color: #fff;
  font-size: .75rem;
  font-weight: 900;
}

.fz-upload-card.has-image .fz-image-status { display: grid; }
.fz-upload-card.has-warning .fz-image-status { background: #e49a22; }

.fz-remove-image {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 5;
  width: 30px;
  height: 30px;
  display: none;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(0,0,0,.78);
  color: #fff;
  cursor: pointer;
}
.fz-upload-card.has-image .fz-remove-image { display: grid; }

.fz-sheet-guides { position: absolute; inset: 0; z-index: 6; pointer-events: none; }
.fz-sheet-guides[hidden] { display: none; }
.fz-vline, .fz-hline, .fz-cutline { position: absolute; }
.fz-vline { top: 0; bottom: 0; border-left: 1px dashed rgba(0,0,0,.55); }
.fz-v1 { left: 25%; } .fz-v2 { left: 50%; } .fz-v3 { left: 75%; }
.fz-hline { top: 50%; border-top: 1px dashed rgba(0,0,0,.55); }
.fz-h-left { left: 0; width: 25%; } .fz-h-right { right: 0; width: 25%; }
.fz-cutline { top: calc(50% - 2px); left: 25%; width: 50%; border-top: 4px solid var(--fz-pink); }

.fz-guide-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 12px;
  color: #fff;
  font-size: .78rem;
}
.fz-guide-legend span { display: inline-flex; align-items: center; gap: 7px; }
.fz-fold-swatch, .fz-cut-swatch { display: inline-block; width: 28px; height: 0; }
.fz-fold-swatch { border-top: 1px dashed #fff; }
.fz-cut-swatch { border-top: 4px solid var(--fz-pink); }

.fz-layout-key {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 14px;
  font-size: .92rem;
}
.fz-layout-key code { padding: 6px 9px; border-radius: 6px; background: var(--fz-soft); }

.fz-poster-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 38%);
  gap: 18px;
  align-items: stretch;
  margin-bottom: 14px;
}
.fz-poster-upload {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 150px;
  padding: 20px;
  border: 2px dashed #929da4;
  border-radius: 12px;
  cursor: pointer;
}
.fz-poster-upload:hover, .fz-poster-upload.is-dragover { border-color: var(--fz-blue); background: #eef9ff; }
.fz-poster-icon {
  display: grid;
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  place-items: center;
  border-radius: 50%;
  background: var(--fz-blue);
  color: #fff;
  font-family: var(--fz-font-title);
  font-size: 2rem;
}
.fz-poster-title { display: block; font-family: var(--fz-font-main); font-size: 1.1rem; }
.fz-poster-preview-wrap { overflow: hidden; min-height: 150px; border-radius: 10px; background: #20262a; }
.fz-poster-preview-wrap img { display: block; width: 100%; height: 100%; object-fit: contain; }

.fz-actions {
  margin-top: 20px;
  padding: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.fz-action-label { margin: 0 0 8px; color: var(--fz-muted); font-size: .84rem; }
.fz-button {
  border: 0;
  border-radius: 8px;
  padding: 13px 20px;
  font-family: var(--fz-font-main);
  font-weight: 700;
  cursor: pointer;
}
.fz-button:disabled { opacity: .45; cursor: not-allowed; }
.fz-button-primary { background: var(--fz-pink); color: #fff; box-shadow: 4px 4px 0 var(--fz-blue); }
.fz-button-primary:hover { background: var(--fz-pink-dark); transform: translate(1px, 1px); box-shadow: 3px 3px 0 var(--fz-blue-dark); }
.fz-button-secondary { margin-left: 8px; background: #e8edf0; color: var(--fz-ink); }
.fz-status { flex: 1 1 280px; min-height: 1.3em; margin: 0; font-weight: 700; }
.fz-status.is-error { color: #a30000; }
.fz-status.is-success { color: var(--fz-success); }
.fz-status.is-warning { color: var(--fz-warning); }

.fz-footer { margin-top: 20px; padding: 18px 24px; color: var(--fz-muted); text-align: center; }
.fz-footer p { margin: 0; }
.fz-signature { margin-top: 7px !important; color: var(--fz-blue); font-family: var(--fz-font-main); }

@media (max-width: 820px) {
  .fz-controls-grid, .fz-specification { grid-template-columns: 1fr; }
  .fz-section-title-row { display: block; }
  .fz-completion { display: inline-block; margin-bottom: 14px; }
  .fz-sheet-labels { display: block; }
  .fz-sheet-labels span { display: block; margin-top: 3px; }
  .fz-poster-layout { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .fz-app { width: min(100% - 14px, 1180px); margin: 7px auto; }
  .fz-panel { padding: 17px 12px; }
  .fz-workbench { padding: 8px; overflow-x: auto; }
  .fz-upload-sheet { min-width: 650px; }
  .fz-button-secondary { margin-left: 0; margin-top: 8px; }
  .fz-actions > div { width: 100%; }
  .fz-actions .fz-button { width: 100%; }
}

/* Descargas de plantillas */
.fz-template-section {
  border-top: 5px solid #0587cb;
}

.fz-template-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.fz-template-card {
  padding: 22px;
  border: 2px solid #d8e6ee;
  border-radius: 14px;
  background: #fff;
}

.fz-template-card h3 {
  margin: 5px 0 8px;
  font-family: var(--fz-font-main);
  font-size: 1.35rem;
}

.fz-template-card > p:not(.fz-template-format) {
  margin: 0 0 18px;
  color: var(--fz-muted);
}

.fz-template-format {
  display: inline-block;
  margin: 0;
  padding: 5px 10px;
  border-radius: 999px;
  color: #fff;
  background: #0587cb;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.fz-download-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.fz-button-download {
  border: 2px solid #0587cb;
  color: #055f8e;
  background: #fff;
  text-decoration: none;
}

.fz-button-download:hover,
.fz-button-download:focus-visible {
  color: #fff;
  background: #0587cb;
}

.fz-template-note {
  margin-top: 18px;
  padding: 15px 17px;
  border-left: 5px solid #d6014b;
  background: #fff5f8;
  line-height: 1.55;
}


.fz-template-a4-note {
  margin: 14px 0 20px;
  padding: 14px 16px;
  border: 2px solid #0587cb;
  border-radius: 10px;
  background: #f2faff;
  line-height: 1.55;
}

.fz-template-note > p:first-child,
.fz-template-note > p:nth-of-type(2) {
  margin-top: 0;
  font-weight: 700;
}

.fz-template-note ul {
  margin: 8px 0 18px;
  padding-left: 1.35rem;
}

.fz-template-note li + li {
  margin-top: 7px;
}

.fz-template-caution {
  margin-bottom: 0;
}

.fz-header h1,
.fz-panel h2 {
  font-family: var(--fz-font-main);
}

.fz-header h1 span {
  color: #0587cb;
  font-family: var(--fz-font-title);
}

@media (max-width: 720px) {
  .fz-template-grid { grid-template-columns: 1fr; }
  .fz-download-buttons .fz-button-primary { width: 100%; text-align: center; }
}


/* Identidad y navegación: El Taller del Mini Fanzine */
.fz-topnav {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.fz-topnav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 13px;
  border: 2px solid var(--fz-blue);
  border-radius: 8px;
  color: var(--fz-blue-dark);
  background: #fff;
  font-weight: 800;
  text-decoration: none;
}

.fz-topnav a:hover,
.fz-topnav a:focus-visible {
  color: #fff;
  background: var(--fz-blue);
}

.fz-kit-button {
  display: inline-block;
  margin-bottom: 12px;
  text-decoration: none;
}

.fz-download-details {
  margin-top: 4px;
  border-top: 1px dashed var(--fz-border);
  padding-top: 12px;
}

.fz-download-details summary {
  cursor: pointer;
  color: var(--fz-blue-dark);
  font-weight: 800;
}

.fz-download-details[open] summary { margin-bottom: 12px; }

@media (max-width: 560px) {
  .fz-topnav { display: grid; grid-template-columns: 1fr; }
  .fz-topnav a { justify-content: center; }
}

.fz-fold-steps { margin: 16px 0 0; padding-left: 1.4rem; line-height: 1.65; }
.fz-fold-steps li + li { margin-top: 8px; }


/* v1.2 refinements */
.fz-progress-wrap{min-width:min(260px,100%);display:grid;gap:.4rem;justify-items:end}.fz-progress-track{width:240px;max-width:100%;height:12px;border:2px solid #111;background:#fff;overflow:hidden}.fz-progress-bar{height:100%;width:0;background:#d6014b;transition:width .25s ease}.fz-progress-bar.is-complete{background:#0587cb}.fz-upload-card.has-image .fz-empty-state{display:none}.fz-upload-card.is-selected{outline:4px solid #0587cb;outline-offset:-4px}.fz-brand-option{display:flex;gap:.65rem;align-items:flex-start;font-weight:700}.fz-dialog{max-width:560px;border:3px solid #111;box-shadow:8px 8px 0 #0587cb;padding:2rem;background:#f7f7f7}.fz-dialog::backdrop{background:rgba(0,0,0,.55)}.fz-dialog-close{position:absolute;right:.65rem;top:.45rem;border:0;background:transparent;font-size:2rem;cursor:pointer}.fz-dialog-icon{width:64px;height:64px;border-radius:50%;display:grid;place-items:center;background:#0587cb;color:#fff;font-size:2rem;font-weight:800}.fz-dialog kbd{border:1px solid #888;border-bottom-width:3px;border-radius:4px;padding:.1rem .35rem;background:#f4f4f4}.fz-export-options{margin-top:1rem}.fz-button.is-ready{animation:fzReadyPulse 1.6s ease-in-out infinite}@keyframes fzReadyPulse{50%{transform:scale(1.025);box-shadow:0 0 0 5px rgba(214,1,75,.15)}}
@media(max-width:700px){.fz-progress-wrap{justify-items:start;width:100%}.fz-progress-track{width:100%}}


/* v1.4: integración Helix Ultimate, leyenda y estado de autoguardado */
.fz-quality-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid var(--fz-border);
  border-radius: 10px;
  background: #f7f7f7;
  line-height: 1.4;
}
.fz-quality-legend > span { display: inline-flex; align-items: flex-start; gap: 8px; min-width: 0; }
.fz-quality-dot {
  width: 24px;
  height: 24px;
  min-width: 24px;
  min-height: 24px;
  flex: 0 0 24px;
  aspect-ratio: 1 / 1;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
}
.fz-quality-dot.is-green { background: #176b3a; }
.fz-quality-dot.is-yellow { background: #e49a22; color: #171717; }
.fz-quality-dot.is-red { background: #b42318; }
.fz-autosave-indicator { margin: 14px 0 0; color: var(--fz-muted); font-size: .92rem; }
.fz-autosave-indicator.is-saving { color: var(--fz-blue-dark); }
.fz-autosave-indicator.is-saved { color: var(--fz-success); }
.fz-autosave-indicator.is-error { color: #b42318; font-weight: 700; }

@media (max-width: 720px) {
  .fz-app { width: min(100% - 16px, 1180px); margin: 8px auto; }
  .fz-header, .fz-panel, .fz-actions, .fz-footer { border-radius: 10px; }
  .fz-quality-legend { display: grid; }
  .fz-actions .fz-button { margin: 5px 4px 5px 0; }
}

/* v2.0 native Joomla/Helix integration */
#fanzineRuanaApp :where(p, li, label, button, a, summary, code, kbd, input, strong, small, span) {
  font-family: var(--fz-font-main);
}
#fanzineRuanaApp .fz-header h1 span { font-family: var(--fz-font-title); }
#fanzineRuanaApp .fz-quality-legend > span b { flex: 0 0 auto; }
#fanzineRuanaApp .fz-quality-legend > span { overflow-wrap: anywhere; }
@media (max-width: 720px) {
  #fanzineRuanaApp .fz-quality-legend { grid-template-columns: 1fr; align-items: stretch; }
  #fanzineRuanaApp .fz-quality-legend > strong { margin-bottom: 2px; }
  #fanzineRuanaApp .fz-quality-legend > span { width: 100%; }
  #fanzineRuanaApp .fz-quality-dot { flex-basis: 24px; }
}


/* v2.0.2: botón de ayuda funcional y contraste reforzado */
#fanzineRuanaApp .fz-topnav-help {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 42px;
  padding: .65rem 1rem;
  border: 2px solid var(--fz-ink);
  border-radius: 8px;
  background: var(--fz-pink);
  color: #fff;
  font-family: var(--fz-font-main);
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  box-shadow: 3px 3px 0 var(--fz-blue);
}

#fanzineRuanaApp .fz-help-icon {
  display: inline-grid;
  place-items: center;
  width: 1.55rem;
  height: 1.55rem;
  flex: 0 0 1.55rem;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #111;
  color: #fff !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
}
#fanzineRuanaApp .fz-topnav-help:hover,
#fanzineRuanaApp .fz-topnav-help:focus-visible {
  background: var(--fz-blue-dark);
  color: #fff !important;
  transform: translate(1px, 1px);
  box-shadow: 2px 2px 0 var(--fz-blue-dark);
}
#fanzineRuanaApp .fz-dialog kbd {
  display: inline-block;
  min-width: 1.8em;
  border: 1px solid #777;
  border-bottom-width: 3px;
  border-radius: 4px;
  padding: .12rem .38rem;
  background: #ececec;
  color: #171717 !important;
  font-family: var(--fz-font-main);
  font-weight: 700;
  line-height: 1.2;
  text-shadow: none;
  box-shadow: none;
}
#fanzineRuanaApp .fz-dialog-help-note {
  margin-top: 1rem;
  padding: .75rem 1rem;
  border-left: 4px solid var(--fz-blue);
  background: #eef6fa;
  color: var(--fz-ink);
}
@media (max-width: 560px) {
  #fanzineRuanaApp .fz-topnav-help { width: 100%; }
}


/* v2.1.0: ayuda separada, indicadores verticales y mejoras responsive */
#fanzineRuanaApp .fz-quality-legend {
  display: block;
}
#fanzineRuanaApp .fz-quality-heading {
  display: block;
  margin-bottom: 12px;
}
#fanzineRuanaApp .fz-quality-items {
  display: grid;
  gap: 10px;
}
#fanzineRuanaApp .fz-quality-items > span {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}
#fanzineRuanaApp .fz-quality-items > span > span {
  flex: 1 1 auto;
  min-width: 0;
  overflow-wrap: anywhere;
}
#fanzineRuanaApp .fz-quality-dot {
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  min-height: 24px !important;
  max-width: 24px !important;
  max-height: 24px !important;
  flex: 0 0 24px !important;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
}
#fanzineRuanaApp .fz-help-dialog {
  width: min(760px, calc(100vw - 28px));
  max-height: min(88vh, 900px);
  overflow-y: auto;
}
#fanzineRuanaApp .fz-about-dialog {
  width: min(650px, calc(100vw - 28px));
  max-height: min(88vh, 820px);
  overflow-y: auto;
}
#fanzineRuanaApp .fz-dialog-section + .fz-dialog-section {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--fz-border);
}
#fanzineRuanaApp .fz-dialog-section h3,
#fanzineRuanaApp .fz-about-dialog h3 {
  margin: 0 0 .65rem;
}
#fanzineRuanaApp .fz-dialog-section ol,
#fanzineRuanaApp .fz-dialog-section ul,
#fanzineRuanaApp .fz-about-dialog ul {
  margin: .5rem 0 0;
  padding-left: 1.35rem;
  line-height: 1.6;
}
#fanzineRuanaApp .fz-privacy-box {
  padding: 1rem 1.1rem !important;
  border: 2px solid var(--fz-blue) !important;
  border-radius: 10px;
  background: #eef6fa;
}
#fanzineRuanaApp .fz-privacy-box p { margin-bottom: 0; }
#fanzineRuanaApp .fz-dialog-quality-list {
  display: grid;
  gap: .85rem;
}
#fanzineRuanaApp .fz-dialog-quality-list p {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  margin: 0;
}
#fanzineRuanaApp .fz-dialog-quality-list p > span {
  flex: 1 1 auto;
  min-width: 0;
}
#fanzineRuanaApp .fz-shortcut-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .7rem 1rem;
}
#fanzineRuanaApp .fz-shortcut-list > span {
  display: block;
}
#fanzineRuanaApp .fz-dialog-meta {
  margin-top: 1.25rem;
  color: var(--fz-muted);
  font-size: .92rem;
}
@media (max-width: 560px) {
  #fanzineRuanaApp .fz-dialog {
    padding: 1.35rem;
    box-shadow: 4px 4px 0 var(--fz-blue);
  }
  #fanzineRuanaApp .fz-shortcut-list { grid-template-columns: 1fr; }
  #fanzineRuanaApp .fz-quality-items { gap: 12px; }
}

/* v2.1.1: eliminado el atajo destructivo Ctrl/Cmd+R; sin cambios visuales. */

/* v2.2.1: soporte para Carta, A4 y Legal; se aclara el uso de la plantilla Carta como base para A4. */

/* v2.2.3: metadatos PDF ampliados y eliminación de la firma visual. */
#fanzineRuanaApp .fz-paper-recommendation {
  margin-top: 1.25rem;
  padding: 1rem 1.15rem;
  border: 2px solid var(--fz-ink);
  border-left: 7px solid var(--fz-blue);
  border-radius: 10px;
  background: #fffdf3;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, .12);
}
#fanzineRuanaApp .fz-paper-recommendation h3 {
  margin: 0 0 .65rem;
  font-family: var(--fz-font-main);
}
#fanzineRuanaApp .fz-paper-recommendation p:last-child { margin-bottom: 0; }
#fanzineRuanaApp .fz-paper-tip { color: var(--fz-muted); }
#fanzineRuanaApp .fz-browser-notice {
  margin: 1rem 0 0;
  padding: .75rem 1rem;
  border-left: 4px solid var(--fz-success);
  background: #eef9f1;
  color: var(--fz-ink);
}
#fanzineRuanaApp .fz-browser-notice.is-error {
  border-left-color: #b42318;
  background: #fff0ee;
  color: #7a1b14;
  font-weight: 700;
}
