.mentor-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.mentor-bubble{position:fixed;right:24px;bottom:24px;z-index:30;width:56px;height:56px;border-radius:50%;border:0;background:#172540;color:#f6a31a;font-size:24px;box-shadow:0 10px 30px #14213e40;display:grid;place-items:center;transition:transform .15s}
.mentor-bubble:hover{transform:translateY(-2px)}.mentor-bubble:focus-visible{outline:3px solid #f6a31a;outline-offset:3px}
.mentor-panel{position:fixed;right:24px;bottom:92px;z-index:30;width:min(400px,calc(100vw - 32px));max-height:min(680px,calc(100vh - 120px));display:flex;flex-direction:column;background:#fff;border:1px solid #e4e8ef;border-radius:16px;box-shadow:0 30px 80px #14213e33;color:#1b2a48;overflow:hidden}
.mentor-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:16px 18px;background:#14213e;color:#fff}
.mentor-head strong{display:block;font:800 16px Manrope,sans-serif}.mentor-head small{display:block;color:#b5c3da;font-size:11px;margin-top:4px;line-height:1.4}
.mentor-close{border:0;background:none;color:#d3dced;font-size:22px;line-height:1;padding:0 4px}
.mentor-log{flex:1 1 auto;min-height:60px;max-height:220px;overflow-y:auto;padding:12px 16px;display:flex;flex-direction:column;gap:8px;background:#f5f7fa}
.mentor-log:empty{display:none}
.mentor-msg{max-width:88%;padding:9px 12px;border-radius:12px;font-size:12px;line-height:1.45;white-space:pre-wrap;overflow-wrap:anywhere}
.mentor-msg.me{align-self:flex-end;background:#172540;color:#fff;border-bottom-right-radius:4px}
.mentor-msg.mentor{align-self:flex-start;background:#fff;border:1px solid #e4e8ef;border-bottom-left-radius:4px}
.mentor-msg.ok{border-color:#bfe3cd;background:#f1faf4}.mentor-msg.refused{border-color:#f5e3bc;background:#fff8ea}.mentor-msg.error{border-color:#f1c5c9;background:#fdf1f2;color:#8c2a33}
.mentor-form{display:flex;flex-direction:column;gap:8px;padding:12px 16px;border-top:1px solid #eef0f4}
.mentor-form textarea{resize:vertical;min-height:64px;border:1px solid #dfe5ed;border-radius:10px;padding:10px;font:inherit;font-size:12px;color:#1b2a48}
.mentor-form textarea:focus{outline:2px solid #f6a31a55;border-color:#e4b25d}
.mentor-send{align-self:flex-end;border:0;background:#172540;color:#fff;border-radius:8px;padding:9px 16px;font-size:12px;font-weight:700}
.mentor-send:disabled{opacity:.6;cursor:wait}
.mentor-taught{border-top:1px solid #eef0f4;padding:12px 16px 16px;overflow-y:auto;flex:0 1 auto;min-height:0}
.mentor-taught h3{font:800 13px Manrope,sans-serif;margin:0 0 6px}
.mentor-usage{display:flex;align-items:center;gap:8px;font-size:10px;color:#78859a;margin:0 0 10px}
.mentor-meter{flex:none;width:70px;height:6px;border-radius:6px;background:#eef0f4;overflow:hidden}.mentor-meter i{display:block;height:100%;background:#f6a31a}
.mentor-list{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.mentor-list li{display:grid;grid-template-columns:1fr auto;gap:2px 10px;align-items:start;border:1px solid #e9ecf1;border-radius:10px;padding:10px 12px}
.mentor-list li p{margin:0;font-size:12px;line-height:1.45;grid-column:1}.mentor-list li small{grid-column:1;color:#8390a3;font-size:10px}
.mentor-remove{grid-column:2;grid-row:1 / span 2;align-self:center;border:1px solid #e1e7ef;background:#fff;color:#5c687d;border-radius:7px;padding:6px 10px;font-size:11px;font-weight:700}
.mentor-remove:hover{color:#b53943;border-color:#f1c5c9}.mentor-remove:disabled{opacity:.6}
.mentor-list .mentor-empty{display:block;color:#99a5b5;font-size:11px;border-style:dashed;text-align:center}
.mentor-history{margin-top:10px;font-size:11px;color:#78859a}.mentor-history summary{cursor:pointer;font-weight:700}
.mentor-history p{margin:6px 0 0;font-size:11px;line-height:1.4}
@media(max-width:700px){.mentor-bubble{right:16px;bottom:16px}.mentor-panel{right:16px;bottom:82px}}
.mentor-tabs{display:flex;gap:4px;margin-top:10px;flex-wrap:wrap}
.mentor-tabs button{border:1px solid #ffffff30;background:transparent;color:#b5c3da;border-radius:20px;padding:5px 11px;font-size:11px;font-weight:700}
.mentor-tabs button.active{background:#f6a31a;border-color:#f6a31a;color:#14213e}
.mentor-tabs button:focus-visible{outline:2px solid #f6a31a;outline-offset:2px}
.mentor-mode{display:flex;flex-direction:column;min-height:0;flex:1 1 auto;overflow:hidden}
.mentor-mode[hidden]{display:none!important}
.mentor-mode>.mentor-taught{overflow-y:auto}
.mentor-hint{margin:0;padding:10px 16px 0;font-size:11px;color:#78859a;line-height:1.4}
.mentor-chips{display:flex;flex-wrap:wrap;gap:6px;padding:10px 16px 4px;max-height:96px;overflow-y:auto}
.mentor-chips button{border:1px solid #e4b25d;background:#fff8ea;color:#765118;border-radius:20px;padding:5px 10px;font-size:11px;font-weight:700}
.mentor-chips button:hover{background:#fce8b9}
.mentor-context{margin:0;padding:8px 16px 0;font-size:11px;color:#48795f}
.mentor-msg.context{align-self:center;background:transparent;border:0;color:#78859a;font-size:11px;text-align:center}
.mentor-msg.confirm p{margin:0 0 6px;font-weight:700}
.mentor-msg.confirm blockquote{margin:0 0 8px;padding:8px 10px;border-left:3px solid #f6a31a;background:#fff8ea;border-radius:6px;white-space:pre-wrap}
.mentor-actions{display:flex;justify-content:flex-end;gap:8px}
.mentor-actions .mentor-remove{grid-column:auto;grid-row:auto}
.mentor-selection{position:fixed;z-index:31;border:0;background:#172540;color:#fff;border-radius:20px;padding:8px 13px;font-size:12px;font-weight:700;box-shadow:0 8px 24px #14213e40}
.wc-ask-ai{margin-top:6px;border:1px solid #e4b25d;background:#fff8ea;color:#765118;border-radius:16px;padding:4px 10px;font-size:11px;font-weight:700;cursor:pointer}
.mentor-bubble{position:fixed}
.mentor-badge{position:absolute;top:-4px;right:-4px;min-width:20px;height:20px;padding:0 5px;border-radius:10px;background:#d64545;color:#fff;font:700 11px/20px 'DM Sans',system-ui,sans-serif;box-shadow:0 0 0 2px #fff}
.mentor-status{margin:8px 0 0;font-size:12px;min-height:0}
.mentor-status.ok{color:#277c52}.mentor-status.error{color:#b53943}
#alana-catalog-product,.mentor-input{width:100%;margin-top:8px;border:1px solid #dfe5ed;border-radius:8px;padding:8px 10px;font:inherit;font-size:12px;color:#1b2a48;background:#fff}
textarea.mentor-input{resize:vertical}
.mentor-fields{margin-top:10px}
.mentor-fields li p{font-size:12px}
.mentor-value{white-space:pre-wrap;overflow-wrap:anywhere}
.mentor-editor{margin-top:10px;padding:10px 12px;border:1px solid #e4b25d;border-radius:10px;background:#fffdf7}
.mentor-editor .mentor-actions{margin-top:8px}
.mentor-preview .mentor-msg{max-width:100%;margin-top:8px}
.mentor-review{margin:0 0 10px;padding:8px 10px;border:1px solid #f1c5c9;border-radius:10px;background:#fdf6f6;font-size:12px}
.mentor-review summary{cursor:pointer;font-weight:700;color:#8c2a33}
.mentor-review-item{display:grid;grid-template-columns:1fr auto;gap:2px 10px;align-items:center;border-top:1px solid #f1dcdf;padding:8px 0}
.mentor-review-item p{margin:0;grid-column:1}.mentor-review-item small{grid-column:1;color:#8390a3;font-size:10px}
.mentor-review-item .mentor-remove,.mentor-review-item .mentor-own{grid-column:2;grid-row:1 / span 2}
.mentor-own{font-style:italic}
.mentor-danger{margin-top:14px;border-top:1px solid #eef0f4;padding-top:10px}
.mentor-danger-button{color:#b53943;border-color:#f1c5c9}
#alana-catalog-product,.mentor-input{box-sizing:border-box}
