.portal-help{position:fixed;bottom:24px;right:24px;z-index:1040;font-family:Inter,"Segoe UI",sans-serif;color:#20334b;font-size:13px}
.portal-help [hidden]{display:none!important}
.portal-help button,.portal-help input,.portal-help select,.portal-help textarea{font:inherit}
.help-launcher{display:flex;gap:10px;align-items:center;border:1px solid #ffffff30;background:linear-gradient(135deg,#2563eb,#174292);color:#fff;padding:14px 20px;border-radius:50px;box-shadow:0 8px 28px #173a8340;cursor:pointer;transition:transform .2s,box-shadow .2s}
.help-launcher>span:first-child{font-size:23px}.help-launcher:hover{transform:translateY(-4px);box-shadow:0 14px 32px #173a8350}
.help-panel{position:absolute;bottom:70px;right:0;width:380px;max-height:calc(100dvh - 120px);border:1px solid #dfe7f0;border-radius:20px;background:#fff;box-shadow:0 20px 70px #142f5033;overflow:hidden;animation:help-arrive .2s ease;display:flex;flex-direction:column}
.help-header,.help-tabs{flex-shrink:0}.help-view{min-height:0;overflow-y:auto}
.help-header{display:flex;align-items:center;justify-content:space-between;padding:20px;background:linear-gradient(135deg,#142f50,#245a9b);color:#fff}.help-header strong{font-size:16px}.help-header small{display:block;margin-top:5px;color:#c7d9f2;font-size:11px}
.help-close{background:#ffffff15;border:0;border-radius:8px;color:white;font-size:24px!important;width:32px;height:32px;cursor:pointer}
.help-tabs{display:flex;border-bottom:1px solid #e5ebf3;padding:8px;gap:4px}.help-tabs button{flex:1;border:0;background:transparent;padding:10px 4px;color:#64748b;border-radius:8px;font-size:11px;font-weight:600;cursor:pointer}.help-tabs button[aria-pressed=true]{color:#2563eb;background:#edf4ff}
.help-messages{height:245px;overflow-y:auto;display:flex;flex-direction:column;gap:12px;padding:18px;background:#f8fafc}.help-message{max-width:92%;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65;padding:12px 14px;border-radius:13px;background:white;border:1px solid #e5ebf3;flex-shrink:0}.help-message.user{align-self:flex-end;background:#2563eb;color:#fff;border-color:#2563eb}
.help-prompts{display:flex;gap:6px;padding:12px 14px 0;flex-wrap:wrap}.help-prompts button{border:1px solid #dbe7f6;border-radius:20px;padding:7px 10px;background:white;color:#507296;font-size:10px;cursor:pointer}
.help-note{font-size:10px;color:#8390a4;line-height:1.5;margin:10px 16px}
.help-chat-form{display:flex;gap:8px;padding:0 14px 14px}.help-chat-form input{flex:1;min-width:0;border:1px solid #dfe7f0;border-radius:10px;padding:11px}.help-chat-form button,.help-submit{border:0;border-radius:10px;background:#2563eb;color:#fff;padding:10px 16px;cursor:pointer}
.help-feedback-form{padding:18px;overflow-y:auto;max-height:calc(100dvh - 250px)}.help-feedback-form>p:first-child{color:#64748b;font-size:12px;line-height:1.6}.help-feedback-form label{display:block;font-weight:600;font-size:11px;margin:12px 0 6px}.help-feedback-form :is(input,select,textarea){width:100%;padding:10px;border:1px solid #dfe7f0;border-radius:9px;box-sizing:border-box}.help-feedback-form textarea{resize:vertical}.help-feedback-form .help-note{margin:10px 0}.help-submit{width:100%}.help-feedback-status{line-height:1.6;margin-bottom:0;color:#2563eb}
.help-reports{padding:18px;max-height:380px;overflow-y:auto}.help-report-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.help-refresh{background:#edf4ff;border:0;border-radius:6px;color:#2563eb;padding:7px 10px;cursor:pointer}.help-ticket{border:1px solid #e5ebf3;border-radius:10px;padding:12px;margin-bottom:10px;overflow-wrap:anywhere}.help-ticket small{display:block;color:#8390a4;font-size:10px;margin-bottom:8px}.help-ticket p{white-space:pre-wrap;line-height:1.6;font-size:12px;margin:8px 0}.help-admin-reply{background:#edf4ff;padding:10px;border-radius:8px}
.portal-help button:disabled{opacity:.6;cursor:wait}.portal-help :is(button,input,select,textarea):focus-visible{outline:3px solid #60a5fa;outline-offset:2px}.help-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@keyframes help-arrive{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:480px){.portal-help{right:12px;bottom:12px}.help-panel{width:calc(100vw - 24px);bottom:66px;max-height:calc(100dvh - 95px)}.help-messages{height:min(245px,30dvh)}.help-launcher{padding:12px 16px}}
@media(prefers-reduced-motion:reduce){.help-panel{animation:none}.help-launcher{transition:none}.help-launcher:hover{transform:none}}
@media print{.portal-help{display:none}}
.help-sign-in{padding:20px;line-height:1.6}.help-sign-in p{color:#64748b;font-size:12px}.help-sign-in a{display:inline-block;margin:5px 8px 0 0;padding:9px 14px;border-radius:8px;background:#edf4ff;color:#2563eb;text-decoration:none}
