/* Ayuda integrada: panel lateral en escritorio y pantalla completa en celulares. */
.help-button{display:inline-flex;align-items:center;gap:6px;border:1px solid #c9d8c4;background:#f3f7f0;color:#1b5142;font-weight:600;font-size:12px;border-radius:999px;padding:6px 12px;cursor:pointer;min-height:32px}
.help-button:hover{background:#e6efe1}
.help-button:focus-visible,.help-panel :focus-visible{outline:3px solid #2f7d5d;outline-offset:2px}
.login-help{position:absolute;top:64px;right:24px;z-index:5}
body.help-open{overflow:hidden}
.help-backdrop{position:fixed;inset:0;z-index:60;background:rgba(18,30,24,.45);display:flex;justify-content:flex-end}
.help-backdrop[hidden]{display:none}
.help-panel{background:#fff;color:#1f2a1c;width:min(560px,100%);height:100%;display:flex;flex-direction:column;box-shadow:-12px 0 32px rgba(0,0,0,.18);font-size:14px;line-height:1.55}
.help-header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:18px 20px 10px;border-bottom:1px solid #e4e9de}
.help-header h2{font-size:20px;font-weight:700;color:#123e35;margin:0}
.help-header p{font-size:12px;color:#63735c;margin:2px 0 0}
.help-close{border:1px solid #d5ded0;background:#fff;border-radius:8px;padding:8px 12px;font-size:13px;cursor:pointer;min-height:40px;white-space:nowrap}
.help-tabs{display:flex;gap:4px;padding:8px 16px 0;border-bottom:1px solid #e4e9de;overflow-x:auto}
.help-tabs [role=tab]{border:0;background:none;padding:10px 12px;font-size:13px;color:#4c5e47;border-bottom:3px solid transparent;cursor:pointer;white-space:nowrap;min-height:44px}
.help-tabs [role=tab][aria-selected=true]{color:#123e35;font-weight:700;border-bottom-color:#1b5142}
.help-body{flex:1;overflow-y:auto;padding:16px 20px 28px}
.help-body:focus{outline:none}
.help-search label{display:block;font-weight:600;margin-bottom:6px}
.help-search-row{display:flex;gap:8px}
.help-search input{flex:1;min-width:0;border:1px solid #c9d3c4;border-radius:8px;padding:10px 12px;font-size:15px;min-height:44px}
.help-primary,.help-go{background:#1b5142;color:#fff;border:1px solid #1b5142;border-radius:8px;padding:10px 16px;font-size:13px;font-weight:600;cursor:pointer;min-height:44px}
.help-go{margin-top:6px}
.help-hint,.help-access-note{font-size:12px;color:#5d6c58;margin-top:10px}
.help-subtitle{font-size:13px;font-weight:700;color:#123e35;margin:18px 0 8px;text-transform:none}
.help-chips{display:flex;flex-wrap:wrap;gap:8px}
.help-chip{border:1px solid #c9d8c4;background:#f6f9f4;border-radius:999px;padding:6px 12px;font-size:13px;cursor:pointer;min-height:36px}
.help-answer{margin-top:16px;border:1px solid #cfe0c8;background:#f7fbf5;border-radius:12px;padding:14px 16px}
.help-empty{margin-top:16px;border:1px solid #f0d2b6;background:#fff8f1;border-radius:12px;padding:14px 16px}
.help-crumb{font-size:12px;color:#4c6b45;font-weight:600;margin:0 0 4px}
.help-section h3,.help-chapter h3{font-size:17px;font-weight:700;color:#123e35;margin:0 0 8px}
.help-section h4{font-size:15px;font-weight:700;color:#123e35;margin:16px 0 6px}
.help-section p,.help-chapter p{margin:0 0 10px}
.help-section ul,.help-section ol,.help-chapter ul,.help-chapter ol{margin:0 0 10px 20px}
.help-section ul{list-style:disc}.help-section ol{list-style:decimal}
.help-section li{margin-bottom:4px}
.help-table{overflow-x:auto;margin-bottom:10px}
.help-table table{border-collapse:collapse;width:100%;font-size:13px}
.help-table th,.help-table td{border:1px solid #e1e8dc;padding:6px 8px;text-align:left;vertical-align:top}
.help-table th{background:#f1f5ee}
.help-list{display:flex;flex-direction:column;gap:6px}
.help-link{background:none;border:0;padding:6px 0;color:#1b5142;text-decoration:underline;text-align:left;cursor:pointer;font-size:14px;min-height:32px}
.help-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:10px}
.help-cards .help-link{display:flex;flex-direction:column;gap:2px;width:100%;border:1px solid #e1e8dc;border-radius:10px;padding:12px;text-decoration:none;color:#1f2a1c}
.help-cards .help-link:hover{border-color:#9dbb92;background:#f8fbf6}
.help-cards strong{color:#123e35}.help-cards span{font-size:13px;color:#4c5e47}.help-cards small{font-size:12px;color:#7a8a74}
.help-faq details{border:1px solid #e1e8dc;border-radius:10px;padding:10px 12px;margin-bottom:8px}
.help-faq summary{cursor:pointer;font-weight:600;color:#123e35;min-height:28px}
.help-faq details[open] summary{margin-bottom:8px}
.help-back{background:none;border:0;color:#1b5142;font-weight:600;cursor:pointer;padding:6px 0;margin-bottom:8px;min-height:36px}
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media (max-width:640px){
  .help-panel{width:100%;box-shadow:none}
  .help-header{padding:14px 16px 8px}
  .help-body{padding:14px 16px 24px}
  .help-search-row{flex-direction:column}
  .login-help{top:12px;right:12px}
}
@media (prefers-reduced-motion:no-preference){.help-panel{animation:help-in .18s ease-out}@keyframes help-in{from{transform:translateX(24px)}to{transform:none}}}
.login-panel{position:relative}
