/* Public help only; isolated styles */
.ms-help{position:fixed;right:max(1rem,env(safe-area-inset-right));bottom:max(1rem,env(safe-area-inset-bottom));z-index:1100;display:flex;flex-direction:column;align-items:flex-end;gap:.55rem;font:14px/1.45 system-ui,sans-serif;color:#221e1f;max-width:calc(100vw - 2rem)}
.ms-help *{box-sizing:border-box}.ms-help [hidden]{display:none!important}.ms-help button{font:inherit;cursor:pointer;min-height:40px}.ms-help button:focus-visible,.ms-help a:focus-visible,.ms-help input:focus-visible{outline:3px solid #c5a059;outline-offset:2px}.ms-help-launch{border:1px solid #c5a059;border-radius:999px;background:#4a151b;color:#fff;padding:.8rem 1.15rem;box-shadow:0 6px 24px #221e1f33;font-weight:650!important;min-height:48px!important}.ms-help-launch:before{content:'?';display:inline-grid;place-items:center;width:22px;height:22px;border:1px solid #e8c986;border-radius:50%;margin-right:8px;color:#e8c986}
.ms-help-panel{padding:0!important;width:min(380px,calc(100vw - 2rem));max-height:calc(100dvh - 5.5rem);display:flex;flex-direction:column;background:#f9f6f0;border:1px solid #d5c5a9;border-radius:16px;box-shadow:0 18px 60px #221e1f40;overflow:auto;gap:0;overscroll-behavior:contain}.ms-help-head{display:flex;justify-content:space-between;align-items:center;background:#4a151b;color:#fff;padding:12px 14px;gap:8px}.ms-help-head strong,.ms-help-head small{display:block;color:inherit}.ms-help-head small{color:#e5ca96;font-size:12px}.ms-help-close{border:1px solid #d8be8d;color:white;background:transparent;border-radius:9px;min-width:40px;font-size:24px!important}.ms-help-log{padding:12px;min-height:92px;max-height:220px;overflow:auto;display:flex;flex-direction:column;gap:8px;overscroll-behavior:contain}.ms-help-msg{background:white;border:1px solid #e2d9cb;border-radius:10px;padding:8px 10px;overflow-wrap:anywhere;flex-shrink:0}.ms-help-msg strong{font-size:11px;color:#4a151b}.ms-help-msg p{font-size:13px;margin:3px 0 0;white-space:pre-wrap;max-width:none;line-height:1.45}.ms-help-mine{background:#eee3d2;align-self:flex-end}.ms-help-chips{display:flex;flex-wrap:wrap;gap:5px;padding:0 12px 8px}.ms-help-chips button{border:1px solid #bca577;background:#fff;color:#4a151b;border-radius:9px;padding:5px 8px;font-size:12px;min-height:36px}.ms-help-form{padding:0 12px;display:block;margin:0}.ms-help-form label{font-size:11px;font-weight:500;display:block;margin:0 0 4px;color:#554b43}.ms-help-compose{display:flex;gap:6px;align-items:center}.ms-help-compose input{min-width:0;width:100%;margin:0;padding:8px;border:1px solid #c9b9a2;border-radius:8px;font:inherit;background:white;color:#221e1f}.ms-help-compose button{background:#4a151b;color:white;border:0;border-radius:8px;padding:8px}.ms-help-links{display:flex;flex-wrap:wrap;gap:8px 12px;padding:10px 12px 2px}.ms-help-links a{font-size:12px;color:#4a151b;text-decoration:underline}.ms-help-note{font-size:11px!important;line-height:1.4;margin:5px 12px 10px!important;color:#62584f}.ms-help-panel,.ms-help-panel *{scroll-margin:0}
@media(max-width:600px){.ms-help{bottom:max(5.5rem,calc(env(safe-area-inset-bottom) + 4.5rem));right:10px;max-width:calc(100vw - 20px)}.ms-help-panel{width:min(380px,calc(100vw - 20px));max-height:calc(100dvh - 10rem)}.ms-help-compose input{font-size:16px}.ms-help-log{max-height:180px}.ms-help-launch{padding:.65rem .9rem}}@media(max-height:500px){.ms-help{bottom:8px}.ms-help-panel{max-height:calc(100dvh - 65px)}.ms-help-log{max-height:100px}}

/* V53 — recommendations and compact conversation controls */
.ms-help-panel{width:min(410px,calc(100vw - 20px));color:#221e1f;background:#f9f6f0}
.ms-help-panel .ms-help-head{flex-shrink:0;background:#4a151b;color:#fff}
.ms-help-panel .ms-help-log{max-height:230px;min-height:110px;flex-shrink:0}
.ms-help-panel .ms-help-msg p{color:#221e1f;font-size:14px;line-height:1.55}
.ms-help-panel .ms-help-guided{margin:0 12px 10px;padding:8px 10px;background:#fffdf9;border:1px solid #d6c7ad;border-radius:10px;color:#221e1f}
.ms-help-panel .ms-help-guided summary{cursor:pointer;color:#4a151b;font-weight:650;min-height:36px;padding:6px 0}
.ms-help-panel .ms-help-guide-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:6px 0 0;padding:0}
.ms-help-panel .ms-help-guide-form label{display:block;color:#4a151b;font-size:12px;line-height:1.4;margin:0;min-width:0}
.ms-help-panel .ms-help-guide-form select{display:block;width:100%;min-width:0;margin:4px 0 0;padding:6px;border:1px solid #aa9274;background:#fff;color:#221e1f;font:inherit;font-size:16px;border-radius:7px;min-height:44px}
.ms-help-panel .ms-help-guide-submit{grid-column:1/-1;background:#4a151b;color:#fff;border:1px solid #4a151b;border-radius:8px;padding:8px;min-height:44px}
.ms-help-panel .ms-help-reset{align-self:flex-start;margin:5px 12px;background:transparent;color:#4a151b;border:0;text-decoration:underline;padding:4px 0;min-height:36px}
.ms-help-panel .ms-help-action{display:block;background:#4a151b;color:#fff;text-decoration:none;padding:9px 10px;margin-top:8px;border-radius:7px;text-align:center;font-weight:650}
.ms-help-panel .ms-help-chips button{color:#4a151b;background:#fff;border-color:#bca577;min-height:40px}
.ms-help-panel .ms-help-form label,.ms-help-panel .ms-help-note{color:#554b43}
.ms-help-panel a:focus-visible,.ms-help-panel select:focus-visible,.ms-help-panel summary:focus-visible{outline:2px solid #79592e;outline-offset:2px}
@media(max-width:420px){.ms-help-panel .ms-help-guide-form{grid-template-columns:1fr}.ms-help-panel .ms-help-log{max-height:170px}.ms-help-panel .ms-help-chips{gap:4px}.ms-help-panel .ms-help-chips button{font-size:12px}}
