.help-modal[hidden] { display: none; }
.help-modal { position: fixed; inset: 0; z-index: 100020; display: flex; align-items: center; justify-content: center; padding: 18px; background: rgba(2, 6, 23, .72); backdrop-filter: blur(8px); }
.help-modal-card { width: min(720px, 100%); max-height: min(88vh, 720px); overflow: auto; border: 1px solid #dbe4ee; border-radius: 22px; background: #fff; color: #0f172a; box-shadow: 0 28px 80px rgba(2, 6, 23, .35); animation: helpModalIn .2s ease-out; }
.help-modal-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 26px; background: linear-gradient(135deg, #075e54, #0f766e); color: #fff; }
.help-modal-title-wrap { display: flex; align-items: center; gap: 13px; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; }
.help-modal-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: rgba(255,255,255,.16); font-size: 1.15rem; }
.help-modal-eyebrow { display: block; margin: 0 0 4px; padding: 0; border: 0 !important; border-radius: 0; background: transparent !important; box-shadow: none !important; color: #99f6e4; font-size: .62rem; font-weight: 900; letter-spacing: .14em; }
.help-modal-header h2 { margin: 0; padding: 0; border: 0 !important; border-radius: 0; background: transparent !important; box-shadow: none !important; color: #fff !important; font-size: 1.25rem; font-weight: 900; }
.help-modal-close { border: 0; background: transparent; color: #fff; font-size: 1.9rem; line-height: 1; cursor: pointer; opacity: .8; }
.help-modal-close:hover { opacity: 1; }
.help-modal-body { padding: 25px 26px; }
.help-modal-intro { margin: 0 0 18px; padding: 0; border: 0 !important; border-radius: 0; background: transparent !important; box-shadow: none !important; color: #64748b; font-size: .86rem; }
.help-guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.help-guide-item { display: flex; align-items: flex-start; gap: 12px; padding: 14px; border: 1px solid #dbe4ee; border-radius: 13px; background: #f8fafc; color: #0f172a; text-decoration: none; transition: .2s ease; }
.help-guide-item:hover { border-color: #10b981; background: #ecfdf5; transform: translateY(-2px); }
.help-guide-item > i { width: 25px; padding-top: 2px; color: #047857; text-align: center; }
.help-guide-item strong, .help-guide-item small { display: block; }
.help-guide-item strong { margin-bottom: 3px; font-size: .78rem; }
.help-guide-item small { color: #64748b; font-size: .68rem; line-height: 1.35; }
.help-security-note { display: flex; gap: 9px; margin-top: 18px; padding: 12px 14px; border: 1px solid #a7f3d0; border-radius: 11px; background: #ecfdf5; color: #166534; font-size: .72rem; line-height: 1.4; }
.help-security-note i { margin-top: 2px; }
.help-modal-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 26px; border-top: 1px solid #dbe4ee; color: #64748b; font-size: .74rem; }
.help-support-button { display: inline-flex; align-items: center; gap: 7px; padding: 9px 13px; border-radius: 9px; background: #16a34a; color: #fff !important; font-weight: 800; text-decoration: none; }
body.dark-theme .help-modal-card { border-color: #334155; background: #151d2b; color: #f8fafc; }
body.dark-theme .help-modal-intro, body.dark-theme .help-modal-footer, body.dark-theme .help-guide-item small { color: #a0aec0; }
body.dark-theme .help-guide-item { border-color: #334155; background: #1e293b; color: #f8fafc; }
body.dark-theme .help-guide-item:hover { border-color: #2dd4bf; background: rgba(45,212,191,.1); }
body.dark-theme .help-guide-item > i { color: #5eead4; }
body.dark-theme .help-security-note { border-color: rgba(45,212,191,.3); background: rgba(45,212,191,.1); color: #99f6e4; }
body.dark-theme .help-modal-footer { border-color: #334155; }
@keyframes helpModalIn { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
@media (max-width: 600px) { .help-modal { padding: 8px; } .help-modal-header, .help-modal-body, .help-modal-footer { padding-left: 18px; padding-right: 18px; } .help-guide-grid { grid-template-columns: 1fr; } .help-modal-footer { align-items: stretch; flex-direction: column; } .help-support-button { justify-content: center; } }
