/* Manual interativo — Casa Paramétrica */
body.manual-open { overflow: hidden; }

.manual-topbar-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid rgba(94, 234, 212, .42);
  border-radius: 9px;
  color: #ecfeff;
  background: rgba(15, 118, 110, .34);
  font-size: .74rem;
  font-weight: 820;
  white-space: nowrap;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.manual-topbar-button:hover {
  transform: translateY(-1px);
  background: rgba(20, 184, 166, .30);
  border-color: rgba(94, 234, 212, .72);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .16);
}
.manual-topbar-button:focus-visible {
  outline: 3px solid rgba(94, 234, 212, .46);
  outline-offset: 2px;
}
.manual-topbar-button svg { flex: 0 0 auto; }

.manual-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: clamp(8px, 2vw, 22px);
  background: rgba(4, 24, 31, .78);
  backdrop-filter: blur(10px);
  animation: manual-overlay-in .18s ease;
}
@keyframes manual-overlay-in { from { opacity: 0; } to { opacity: 1; } }

.manual-dialog {
  width: min(1460px, 100%);
  height: min(94dvh, 980px);
  min-height: 560px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(188, 204, 220, .86);
  border-radius: 22px;
  background: #f6f9fb;
  box-shadow: 0 30px 95px rgba(1, 17, 23, .40);
  animation: manual-dialog-in .22s ease;
}
@keyframes manual-dialog-in {
  from { opacity: 0; transform: translateY(10px) scale(.985); }
  to { opacity: 1; transform: none; }
}

.manual-header {
  display: grid;
  grid-template-columns: minmax(270px, .8fr) minmax(300px, 1.25fr) auto;
  align-items: center;
  gap: 18px;
  padding: 17px 20px;
  color: #f0fdfa;
  background:
    radial-gradient(circle at 82% -40%, rgba(45, 212, 191, .30), transparent 44%),
    linear-gradient(135deg, #07333b, #0b4a51 58%, #0f5f5b);
  border-bottom: 1px solid rgba(255,255,255,.13);
}
.manual-title-wrap { display: flex; align-items: center; gap: 13px; min-width: 0; }
.manual-title-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 14px;
  color: #07333b;
  background: linear-gradient(135deg, #99f6e4, #7dd3fc);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.38);
}
.manual-eyebrow {
  display: block;
  margin-bottom: 3px;
  color: #99f6e4;
  font-size: .63rem;
  font-weight: 880;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.manual-header h2 { margin: 0; color: white; font-size: 1.28rem; letter-spacing: -.025em; }
.manual-header p { margin: 3px 0 0; color: #c7e7e7; font-size: .72rem; line-height: 1.4; }

.manual-search-wrap { position: relative; min-width: 0; }
.manual-search-wrap svg {
  position: absolute;
  top: 50%;
  left: 13px;
  transform: translateY(-50%);
  color: #517184;
  pointer-events: none;
}
.manual-search {
  width: 100%;
  min-height: 44px;
  padding: 10px 78px 10px 42px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 12px;
  color: #102a43;
  background: rgba(255,255,255,.96);
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
}
.manual-search:focus { border-color: #5eead4; box-shadow: 0 0 0 4px rgba(94,234,212,.22), 0 8px 24px rgba(0,0,0,.12); }
.manual-search-shortcut {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #627d98;
  font-size: .62rem;
}
.manual-search-shortcut kbd,
.manual-shortcuts kbd {
  min-width: 22px;
  padding: 3px 6px;
  border: 1px solid #bcccdc;
  border-bottom-width: 2px;
  border-radius: 5px;
  color: #334e68;
  background: #fff;
  font: 750 .62rem/1.1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  text-align: center;
}
.manual-search-status {
  position: absolute;
  top: calc(100% + 6px);
  left: 3px;
  z-index: 2;
  padding: 5px 9px;
  border-radius: 999px;
  color: #dff7f3;
  background: rgba(3, 40, 46, .92);
  font-size: .63rem;
  box-shadow: 0 6px 18px rgba(0,0,0,.18);
}
.manual-close {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 12px;
  color: white;
  background: rgba(255,255,255,.07);
  transition: background .18s ease, transform .18s ease;
}
.manual-close:hover { background: rgba(255,255,255,.16); transform: rotate(2deg); }
.manual-close:focus-visible { outline: 3px solid rgba(94,234,212,.46); outline-offset: 2px; }

.manual-layout {
  display: grid;
  grid-template-columns: 286px minmax(0, 1fr);
  min-height: 0;
}
.manual-sidebar {
  min-height: 0;
  overflow-y: auto;
  padding: 16px 13px 18px;
  background: #edf3f6;
  border-right: 1px solid #d9e2ec;
  scrollbar-width: thin;
}
.manual-sidebar-label {
  margin: 2px 9px 8px;
  color: #627d98;
  font-size: .62rem;
  font-weight: 850;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.manual-nav { display: grid; gap: 4px; }
.manual-nav-button {
  width: 100%;
  display: grid;
  grid-template-columns: 29px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 8px;
  min-height: 43px;
  padding: 7px 9px;
  border: 1px solid transparent;
  border-radius: 11px;
  color: #334e68;
  background: transparent;
  text-align: left;
  transition: background .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}
.manual-nav-button:hover { background: rgba(255,255,255,.76); border-color: #d9e2ec; transform: translateX(1px); }
.manual-nav-button.active { color: #0f5f59; background: #fff; border-color: #99e5da; box-shadow: 0 7px 18px rgba(16,42,67,.08); }
.manual-nav-number {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #486581;
  background: #d9e6ea;
  font-size: .67rem;
  font-weight: 850;
}
.manual-nav-button.active .manual-nav-number { color: white; background: #0f766e; }
.manual-nav-label { overflow: hidden; font-size: .75rem; font-weight: 780; text-overflow: ellipsis; white-space: nowrap; }
.manual-nav-state {
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  border: 1px solid #9fb3c8;
  border-radius: 50%;
  color: transparent;
  font-size: .58rem;
}
.manual-nav-button.is-read .manual-nav-state { border-color: #10b981; color: white; background: #10b981; }

.manual-progress-card {
  margin-top: 16px;
  padding: 13px;
  border: 1px solid #ccd9e2;
  border-radius: 13px;
  background: rgba(255,255,255,.72);
}
.manual-progress-heading { display: flex; justify-content: space-between; gap: 10px; color: #334e68; font-size: .68rem; font-weight: 820; }
.manual-progress-track { height: 7px; margin: 9px 0 7px; overflow: hidden; border-radius: 999px; background: #d9e2ec; }
.manual-progress-bar { width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #0f766e, #2dd4bf); transition: width .25s ease; }
.manual-progress-card p { margin: 0; color: #627d98; font-size: .64rem; line-height: 1.45; }
.manual-reset-progress {
  margin-top: 9px;
  padding: 0;
  border: 0;
  color: #0f766e;
  background: transparent;
  font-size: .64rem;
  font-weight: 800;
}
.manual-shortcuts {
  display: grid;
  gap: 7px;
  margin-top: 13px;
  padding: 0 7px;
  color: #627d98;
  font-size: .62rem;
}
.manual-shortcuts span { display: flex; align-items: center; justify-content: space-between; gap: 8px; }

.manual-content {
  position: relative;
  min-height: 0;
  overflow-y: auto;
  padding: clamp(22px, 4vw, 44px);
  background:
    linear-gradient(rgba(255,255,255,.93), rgba(255,255,255,.93)),
    radial-gradient(circle at 20% 5%, #ccfbf1, transparent 35%),
    radial-gradient(circle at 86% 12%, #dbeafe, transparent 34%);
  scrollbar-width: thin;
  scroll-behavior: smooth;
}
.manual-section { display: none; width: min(1040px, 100%); margin: 0 auto; animation: manual-section-in .18s ease; }
.manual-section.active { display: block; }
.manual-content.is-searching .manual-section { display: block; margin-bottom: 36px; }
.manual-section.is-search-hidden { display: none !important; }
@keyframes manual-section-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.manual-section-heading { margin-bottom: 22px; }
.manual-section-heading .manual-section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 8px;
  color: #0f766e;
  font-size: .66rem;
  font-weight: 880;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.manual-section-heading h3 { margin: 0 0 8px; font-size: clamp(1.7rem, 4vw, 2.55rem); line-height: 1.08; letter-spacing: -.04em; }
.manual-section-heading > p { max-width: 820px; margin: 0; color: #486581; font-size: .94rem; line-height: 1.68; }

.manual-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; }
.manual-col-12 { grid-column: span 12; }
.manual-col-8 { grid-column: span 8; }
.manual-col-7 { grid-column: span 7; }
.manual-col-6 { grid-column: span 6; }
.manual-col-5 { grid-column: span 5; }
.manual-col-4 { grid-column: span 4; }

.manual-card,
.manual-callout,
.manual-step-card,
.manual-formula,
.manual-table-wrap,
.manual-glossary-item,
.manual-checklist {
  border: 1px solid #d9e2ec;
  border-radius: 16px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 9px 26px rgba(16,42,67,.055);
}
.manual-card { padding: 20px; }
.manual-card h4,
.manual-step-card h4,
.manual-callout h4,
.manual-checklist h4 { margin: 0 0 8px; font-size: 1rem; letter-spacing: -.018em; }
.manual-card p,
.manual-step-card p,
.manual-callout p,
.manual-card li,
.manual-step-card li,
.manual-callout li { color: #486581; font-size: .82rem; line-height: 1.62; }
.manual-card p:last-child,
.manual-step-card p:last-child,
.manual-callout p:last-child { margin-bottom: 0; }
.manual-card ul,
.manual-card ol,
.manual-step-card ul,
.manual-callout ul { margin: 10px 0 0; padding-left: 19px; }
.manual-card li + li,
.manual-step-card li + li,
.manual-callout li + li { margin-top: 5px; }
.manual-card-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 13px;
  border-radius: 11px;
  color: #0f5f59;
  background: #dff7f3;
  font-size: 1.05rem;
  font-weight: 850;
}
.manual-card.is-accent { border-color: #99e5da; background: linear-gradient(145deg, #ecfdf8, #fff 70%); }
.manual-card.is-warning { border-color: #fed7aa; background: #fffaf4; }
.manual-card.is-info { border-color: #bfdbfe; background: #f7fbff; }

.manual-callout { position: relative; padding: 17px 18px 17px 50px; overflow: hidden; }
.manual-callout::before {
  content: "i";
  position: absolute;
  top: 17px;
  left: 17px;
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: #2563eb;
  font: 850 .72rem/1 system-ui, sans-serif;
}
.manual-callout.warning { border-color: #fed7aa; background: #fffaf4; }
.manual-callout.warning::before { content: "!"; background: #c2410c; }
.manual-callout.success { border-color: #a7f3d0; background: #f3fff9; }
.manual-callout.success::before { content: "✓"; background: #059669; }

.manual-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-top: 16px; }
.manual-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 38px;
  padding: 9px 13px;
  border: 1px solid #bcccdc;
  border-radius: 10px;
  color: #183b56;
  background: white;
  font-size: .72rem;
  font-weight: 820;
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}
.manual-action:hover { transform: translateY(-1px); border-color: #5eead4; background: #f6fffd; }
.manual-action.primary { color: white; border-color: #0f766e; background: #0f766e; }
.manual-action.primary:hover { background: #115e59; }
.manual-action.subtle { color: #0f766e; border-color: transparent; background: #eaf8f5; }

.manual-workflow { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 7px; margin: 18px 0; }
.manual-workflow-step { position: relative; min-width: 0; padding: 13px 8px; border: 1px solid #d9e2ec; border-radius: 12px; background: white; text-align: center; }
.manual-workflow-step:not(:last-child)::after {
  content: "›";
  position: absolute;
  top: 50%;
  right: -7px;
  z-index: 2;
  transform: translate(50%, -50%);
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #0f766e;
  background: #dff7f3;
  font-weight: 900;
}
.manual-workflow-step span { display: block; color: #0f766e; font-size: .62rem; font-weight: 850; text-transform: uppercase; }
.manual-workflow-step strong { display: block; margin-top: 5px; color: #334e68; font-size: .68rem; line-height: 1.3; }

.manual-formula { padding: 19px; border-color: #99e5da; background: linear-gradient(145deg, #eafaf7, #fff); }
.manual-formula-label { display: block; margin-bottom: 8px; color: #0f766e; font-size: .65rem; font-weight: 880; letter-spacing: .1em; text-transform: uppercase; }
.manual-equation {
  overflow-x: auto;
  padding: 15px;
  border: 1px solid #c7e7e3;
  border-radius: 11px;
  color: #07333b;
  background: rgba(255,255,255,.86);
  font: 780 .88rem/1.6 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  white-space: nowrap;
}
.manual-formula p { margin: 11px 0 0; color: #486581; font-size: .8rem; line-height: 1.6; }

.manual-details { margin-top: 12px; border: 1px solid #d9e2ec; border-radius: 14px; background: rgba(255,255,255,.92); overflow: hidden; }
.manual-details summary {
  position: relative;
  padding: 15px 46px 15px 17px;
  color: #183b56;
  font-size: .82rem;
  font-weight: 820;
  cursor: pointer;
  list-style: none;
}
.manual-details summary::-webkit-details-marker { display: none; }
.manual-details summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #0f766e;
  background: #dff7f3;
  font-size: 1rem;
}
.manual-details[open] summary::after { content: "−"; }
.manual-details[open] summary { border-bottom: 1px solid #e4ebf0; background: #f8fbfc; }
.manual-details-body { padding: 16px 18px 18px; }
.manual-details-body p,
.manual-details-body li { color: #486581; font-size: .8rem; line-height: 1.62; }
.manual-details-body p:last-child { margin-bottom: 0; }
.manual-details-body ul,
.manual-details-body ol { margin: 9px 0 0; padding-left: 20px; }
.manual-details-body li + li { margin-top: 5px; }

.manual-table-wrap { overflow: hidden; }
.manual-table-title { padding: 15px 17px; border-bottom: 1px solid #e3eaf0; background: #f8fafc; }
.manual-table-title h4 { margin: 0; font-size: .92rem; }
.manual-table-title p { margin: 4px 0 0; color: #627d98; font-size: .7rem; line-height: 1.4; }
.manual-table-scroll { overflow-x: auto; }
.manual-table { width: 100%; border-collapse: collapse; font-size: .75rem; }
.manual-table th { padding: 10px 12px; color: #486581; background: #f1f5f8; border-bottom: 1px solid #d9e2ec; font-size: .65rem; letter-spacing: .035em; text-align: left; text-transform: uppercase; }
.manual-table td { padding: 11px 12px; color: #486581; border-bottom: 1px solid #edf2f6; line-height: 1.5; vertical-align: top; }
.manual-table tr:last-child td { border-bottom: 0; }
.manual-table td:first-child { color: #183b56; font-weight: 780; }
.manual-table code { font-size: .69rem; }
.manual-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 7px;
  border-radius: 999px;
  color: #0f5f59;
  background: #dff7f3;
  font-size: .59rem;
  font-weight: 850;
  white-space: nowrap;
}
.manual-badge.warning { color: #9a3412; background: #ffedd5; }
.manual-badge.info { color: #1d4ed8; background: #dbeafe; }

.manual-step-card { position: relative; padding: 20px; overflow: hidden; }
.manual-step-number {
  position: absolute;
  top: 14px;
  right: 15px;
  color: rgba(15,118,110,.12);
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1;
}
.manual-step-kicker { display: block; margin-bottom: 6px; color: #0f766e; font-size: .63rem; font-weight: 860; letter-spacing: .08em; text-transform: uppercase; }
.manual-field-list { display: grid; gap: 8px; margin-top: 13px; }
.manual-field-item { padding: 9px 10px; border-left: 3px solid #99e5da; border-radius: 0 8px 8px 0; background: #f7fbfc; }
.manual-field-item strong { display: block; color: #183b56; font-size: .74rem; }
.manual-field-item span { display: block; margin-top: 2px; color: #627d98; font-size: .68rem; line-height: 1.45; }

.manual-simulator { padding: 19px; border: 1px solid #bfdbfe; border-radius: 16px; background: linear-gradient(145deg, #f3f8ff, #fff 72%); }
.manual-simulator h4 { margin: 0 0 6px; font-size: 1rem; }
.manual-simulator > p { margin: 0 0 15px; color: #627d98; font-size: .75rem; line-height: 1.5; }
.manual-simulator-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.manual-simulator label { display: grid; gap: 5px; color: #486581; font-size: .66rem; font-weight: 780; }
.manual-simulator input[type="number"],
.manual-simulator select { min-height: 39px; padding: 8px 9px; border-radius: 9px; font-size: .75rem; }
.manual-simulator-check { display: flex !important; align-items: center; gap: 7px !important; padding-top: 20px; }
.manual-simulator-check input { width: 17px; height: 17px; min-height: 0; }
.manual-simulator-result {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 15px;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  background: rgba(255,255,255,.9);
}
.manual-simulator-result span { color: #627d98; font-size: .68rem; }
.manual-simulator-result strong { display: block; margin-top: 3px; color: #0f5f59; font-size: 1.45rem; letter-spacing: -.035em; }
.manual-simulator-breakdown { margin-top: 7px; color: #627d98; font-size: .65rem; line-height: 1.5; }

.manual-checklist { padding: 19px; }
.manual-checklist-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-top: 12px; }
.manual-check-item { display: flex; align-items: flex-start; gap: 9px; padding: 10px; border: 1px solid #e1e8ed; border-radius: 10px; background: #fbfcfd; cursor: pointer; }
.manual-check-item input { width: 18px; height: 18px; min-height: 0; margin: 1px 0 0; accent-color: #0f766e; }
.manual-check-item span { color: #486581; font-size: .72rem; line-height: 1.45; }
.manual-check-item:has(input:checked) { border-color: #a7f3d0; background: #f3fff9; }
.manual-check-item:has(input:checked) span { color: #047857; text-decoration: line-through; text-decoration-color: rgba(4,120,87,.4); }

.manual-glossary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
.manual-glossary-item { padding: 15px; }
.manual-glossary-item dt { color: #183b56; font-size: .8rem; font-weight: 850; }
.manual-glossary-item dd { margin: 5px 0 0; color: #627d98; font-size: .72rem; line-height: 1.52; }

.manual-search-hidden { display: none !important; }
.manual-search-empty { padding: 30px; border: 1px dashed #bcccdc; border-radius: 16px; color: #627d98; background: #fff; text-align: center; }
.manual-search-empty strong { display: block; margin-bottom: 5px; color: #334e68; }

.manual-section-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid #d9e2ec;
}
.manual-read-button.is-read { color: #047857; border-color: #a7f3d0; background: #ecfdf5; }
.manual-pager { display: flex; gap: 8px; }

.manual-focus-pulse { animation: manual-focus-pulse 1.6s ease; }
@keyframes manual-focus-pulse {
  0%, 100% { box-shadow: inherit; }
  25% { box-shadow: 0 0 0 6px rgba(45,212,191,.24), 0 0 0 2px #14b8a6; }
  60% { box-shadow: 0 0 0 10px rgba(45,212,191,.06), 0 0 0 2px #14b8a6; }
}

@media (max-width: 1120px) {
  .manual-header { grid-template-columns: minmax(250px, .8fr) minmax(260px, 1fr) auto; }
  .manual-layout { grid-template-columns: 250px minmax(0, 1fr); }
  .manual-workflow { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .manual-workflow-step:not(:last-child)::after { display: none; }
}

@media (max-width: 900px) {
  .manual-overlay { padding: 0; }
  .manual-dialog { width: 100%; height: 100dvh; min-height: 0; border: 0; border-radius: 0; }
  .manual-header { grid-template-columns: minmax(0, 1fr) auto; gap: 10px; padding: 13px 14px; }
  .manual-title-icon { width: 40px; height: 40px; border-radius: 12px; }
  .manual-title-wrap { min-width: 0; }
  .manual-header h2 { font-size: 1.05rem; }
  .manual-header p { display: none; }
  .manual-search-wrap { grid-column: 1 / -1; grid-row: 2; }
  .manual-layout { grid-template-columns: 1fr; grid-template-rows: auto minmax(0,1fr); }
  .manual-sidebar { overflow-x: auto; overflow-y: hidden; padding: 9px 10px; border-right: 0; border-bottom: 1px solid #d9e2ec; }
  .manual-sidebar-label, .manual-progress-card, .manual-shortcuts { display: none; }
  .manual-nav { display: flex; gap: 6px; min-width: max-content; }
  .manual-nav-button { width: auto; min-width: 126px; grid-template-columns: 25px auto 16px; min-height: 38px; padding: 6px 8px; background: rgba(255,255,255,.55); }
  .manual-nav-number { width: 24px; height: 24px; }
  .manual-content { padding: 24px 16px 34px; }
  .manual-col-8, .manual-col-7, .manual-col-6, .manual-col-5, .manual-col-4 { grid-column: span 12; }
  .manual-simulator-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .manual-glossary { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .topbar { padding-inline: 13px; }
  .health { display: none; }
  .manual-topbar-button { padding: 7px 9px; }
  .manual-topbar-button .manual-button-long { display: none; }
  .manual-workflow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .manual-checklist-grid { grid-template-columns: 1fr; }
  .manual-section-footer { align-items: stretch; flex-direction: column; }
  .manual-pager { width: 100%; }
  .manual-pager .manual-action { flex: 1; }
}

@media (max-width: 480px) {
  .brand-subtitle { display: none; }
  .topbar-actions { gap: 6px; }
  .manual-topbar-button { font-size: .68rem; }
  .manual-title-icon { display: none; }
  .manual-section-heading h3 { font-size: 1.62rem; }
  .manual-card, .manual-step-card { padding: 17px; }
  .manual-simulator-grid { grid-template-columns: 1fr; }
  .manual-simulator-check { padding-top: 2px; }
  .manual-simulator-result { grid-template-columns: 1fr; }
  .manual-search { padding-right: 14px; }
  .manual-search-shortcut { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .manual-overlay, .manual-dialog, .manual-section, .manual-focus-pulse { animation: none !important; }
  .manual-content { scroll-behavior: auto; }
}
