/* Help / Tell us window (js/tools/HelpTell.js) */
.fht-overlay {
    position: fixed; inset: 0; z-index: 2147483600;
    display: flex; align-items: center; justify-content: center;
    padding: 16px; background: rgba(15, 23, 42, .45);
    opacity: 0; transition: opacity .18s ease;
}
.fht-overlay.show { opacity: 1; }
.fht-box {
    position: relative; width: min(440px, 100%); max-height: calc(100% - 24px); overflow: auto;
    background: #fff; color: #1e293b; border-radius: 18px; padding: 22px 20px 18px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, .28);
    font-family: inherit;
}
.fht-x {
    position: absolute; top: 10px; inset-inline-end: 10px; width: 34px; height: 34px;
    border: 0; border-radius: 10px; background: transparent; color: #64748b; cursor: pointer; font-size: 1.05rem;
}
.fht-x:hover { background: #f1f5f9; }
.fht-title { margin: 0 0 14px; font-size: 1.15rem; font-weight: 700; color: #1e293b; }
.fht-title i { color: #ef4444; margin-inline-end: 6px; }
.fht-choices { display: grid; gap: 8px; margin-bottom: 12px; }
.fht-choice {
    display: flex; align-items: center; gap: 10px; width: 100%; min-height: 46px; padding: 10px 14px;
    border: 1.5px solid #e2e8f0; border-radius: 12px; background: #f8fafc; color: #1e293b;
    font: inherit; font-size: .95rem; text-align: start; cursor: pointer;
}
.fht-choice i { width: 18px; color: #6366f1; }
.fht-choice.on { border-color: #6366f1; background: #eef2ff; box-shadow: 0 0 0 3px rgba(99, 102, 241, .15); }
.fht-text {
    width: 100%; box-sizing: border-box; padding: 12px; border: 1.5px solid #e2e8f0; border-radius: 12px;
    font: inherit; font-size: 1rem; color: #1e293b; background: #fff; resize: vertical; min-height: 84px;
}
.fht-text:focus { outline: none; border-color: #6366f1; }
.fht-note { margin: 8px 0 0; font-size: .78rem; color: #64748b; line-height: 1.4; }
.fht-msg { min-height: 1.2em; margin: 8px 0; font-size: .88rem; }
.fht-msg.err { color: #dc2626; }
.fht-msg.ok { color: #059669; }
.fht-send {
    position: static; width: 100%; height: auto; min-height: 46px; border: 0; border-radius: 12px;
    background: #6366f1; color: #fff; font: inherit; font-weight: 700; font-size: 1rem; cursor: pointer;
}
.fht-send:disabled { opacity: .6; cursor: default; }
.fht-done { text-align: center; padding: 18px 4px 4px; }
.fht-done i { font-size: 2.4rem; color: #10b981; }
.fht-done p { margin: 12px 0 18px; font-size: 1rem; line-height: 1.5; }
.fht-done .fht-send:hover { background: #4f46e5; }

/* small link in the library empty states */
.lib-help-tell {
    display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; padding: 6px 10px;
    border: 0; background: transparent; color: #6366f1; font: inherit; font-size: .88rem; cursor: pointer;
    border-radius: 8px;
}
.lib-help-tell:hover { background: rgba(99, 102, 241, .08); }
