/* Octaoop Smart Reader — namespaced styles to avoid theme/Elementor collisions */
.octsr-reader-wrap { position:relative; }
.octsr-reader-wrap .octsr-toc[hidden], .octsr-assistant [hidden] { display:none !important; }
.octsr-toc { position:sticky; top:78px; z-index:90; margin:18px 0 25px; font-family:inherit; color:#17243f; }
.octsr-toc-row { min-height:52px; background:#fff; border:1px solid #e0e6ee; box-shadow:0 9px 29px rgba(9,28,56,.09); display:flex; align-items:center; border-radius:13px; padding:3px 9px; gap:14px; }
.octsr-toc button { font-family:inherit; appearance:none; cursor:pointer; border:0; background:none; color:#1c2643; font-size:13px; font-weight:700; padding:12px 9px; line-height:1.2; border-radius:7px; }
.octsr-toc button:hover, .octsr-toc button:focus-visible { background:#edf4ff; outline-offset:2px; }
.octsr-toc-toggle { display:flex; gap:8px; align-items:center; white-space:nowrap; }
.octsr-toc-current { min-width:0; flex:1; padding-left:14px; border-left:1px solid #dce3ed; color:#5a6476; font-size:13px; line-height:1.25; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.octsr-toc .octsr-back-top { white-space:nowrap; }
.octsr-toc-menu { position:absolute; left:0; top:calc(100% - 1px); z-index:92; max-height:min(440px, 55vh); overflow:auto; width:min(370px, 94vw); padding:8px; background:#fff; border:1px solid #e0e6ee; border-radius:0 0 13px 13px; box-shadow:0 18px 30px rgba(9,28,56,.15); }
.octsr-toc-link { display:block; border-radius:8px; padding:9px 11px; font-size:14px; line-height:1.35; text-decoration:none !important; color:#343f57 !important; border:0 !important; font-weight:500; }
.octsr-toc-link:hover, .octsr-toc-link:focus-visible { background:#eff5fc; }
.octsr-toc-link.octsr-active { background:#e7f0fc; color:#102d68 !important; font-weight:700; }
.octsr-toc-link.octsr-depth3 { padding-left:27px; font-size:13px; }
.octsr-target-heading { scroll-margin-top:155px; }

.octsr-assistant, .octsr-assistant * { box-sizing:border-box; }
.octsr-assistant { position:fixed; right:22px; bottom:22px; z-index:9997; font-family:inherit; font-size:14px; line-height:1.5; color:#182744; }
.octsr-launch { display:flex; align-items:center; gap:9px; border:1px solid rgba(255,255,255,.17); border-radius:36px; padding:11px 16px 11px 10px; box-shadow:0 12px 33px rgba(11,29,63,.2); cursor:pointer; font-family:inherit; font-size:14px; font-weight:700; background:#102c62; color:#fff; }
.octsr-launch:hover, .octsr-launch:focus-visible { background:#1a447e; }
.octsr-launch-icon { display:grid; place-items:center; width:29px; height:29px; border-radius:50%; background:#fff; color:#143976; font-size:20px; }
.octsr-chat-panel { width:min(390px, calc(100vw - 30px)); height:min(570px, calc(100dvh - 95px)); display:flex; flex-direction:column; overflow:hidden; border:1px solid #dce4ef; border-radius:17px; background:#fff; box-shadow:0 17px 65px rgba(3,22,53,.22); margin-bottom:12px; }
.octsr-chat-header { display:flex; flex:0 0 auto; align-items:center; gap:11px; background:#102c62; color:#fff; padding:16px; }
.octsr-chat-logo { background:rgba(255,255,255,.14); display:grid; place-items:center; width:36px; height:36px; border-radius:12px; font-size:22px; }
.octsr-chat-header strong { display:block; font-size:15px; line-height:1.2; }
.octsr-chat-header small { display:block; font-size:11px; opacity:.82; margin-top:4px; }
.octsr-chat-header > button { margin-left:auto; background:transparent; border:0; color:#fff; font-size:26px; cursor:pointer; padding:0 7px; }
.octsr-chat-body { background:#f7f9fc; flex:1 1 auto; min-height:100px; padding:17px 13px; overflow-y:auto; display:flex; flex-direction:column; align-items:flex-start; gap:13px; }
.octsr-message { font-size:13px; line-height:1.55; max-width:95%; border-radius:13px 13px 13px 3px; white-space:pre-line; padding:11px 13px; word-break:break-word; box-shadow:0 1px 4px rgba(21,36,70,.06); }
.octsr-bot { background:#fff; color:#24344e; border:1px solid #edf0f4; }
.octsr-user { background:#174b90; color:#fff; border-radius:13px 13px 3px 13px; align-self:flex-end; }
.octsr-pending { color:#6b7485; font-style:italic; }
.octsr-sources { display:flex; flex-direction:column; gap:5px; margin-top:11px; padding-top:9px; border-top:1px solid #e5eaf1; font-size:12px; }
.octsr-sources strong { color:#576782; }
.octsr-sources a { color:#1257aa; text-decoration:underline; line-height:1.3; }
.octsr-suggestions { flex:0 0 auto; display:flex; flex-wrap:wrap; padding:11px 12px 8px; gap:7px; border-top:1px solid #eef0f4; }
.octsr-suggestions button, .octsr-suggestions a { cursor:pointer; background:#f5f8fc; border:1px solid #d7e2f0; color:#1d3c72; padding:7px 9px; border-radius:22px; font-size:11px; line-height:1.2; font-weight:650; font-family:inherit; text-decoration:none !important; }
.octsr-suggestions button:hover, .octsr-suggestions a:hover { background:#e9f1fc; }
.octsr-chat-form { flex:0 0 auto; display:flex; gap:8px; align-items:center; padding:8px 12px; margin:0; border:0; }
.octsr-chat-form input { flex:1; min-width:0; background:#fff; border:1px solid #d5deeb; border-radius:10px; padding:11px 9px; line-height:1.2; font-family:inherit; font-size:13px; color:#192840; min-height:42px; box-shadow:none; }
.octsr-chat-form input:focus { outline:2px solid #88b0e9; outline-offset:1px; }
.octsr-chat-form button { flex:0 0 auto; cursor:pointer; color:#fff; background:#183e78; border:0; border-radius:9px; height:40px; width:39px; padding:0; font-size:16px; }
.octsr-chat-form button:disabled { opacity:.5; cursor:wait; }
.octsr-chat-footnote { flex:0 0 auto; text-align:center; color:#69778e; padding:2px 10px 11px; font-size:10px; }
.octsr-chat-footnote a { color:#225b9f; text-decoration:underline; }
@media (max-width:767px) {
 .octsr-toc { top:66px; margin:14px 0 18px; }
 .octsr-toc-row { gap:6px; padding:2px 5px; min-height:46px; }
 .octsr-toc button { font-size:11px; padding:10px 5px; }
 .octsr-toc-current { font-size:11px; padding-left:7px; }
 .octsr-toc-menu { width:min(330px, 94vw); }
 .octsr-target-heading { scroll-margin-top:132px; }
 .octsr-assistant { right:12px; bottom:12px; }
 .octsr-chat-panel { max-height:calc(100dvh - 86px); }
 .octsr-launch { padding:9px 12px 9px 8px; font-size:12px; }
}
@media (max-width:390px) { .octsr-toc-current { display:none; } .octsr-back-top { margin-left:auto; } }
@media (prefers-reduced-motion: reduce) { .octsr-assistant *, .octsr-toc * { scroll-behavior:auto !important; transition:none !important; } }
.octsr-assistant .screen-reader-text { position:absolute !important; width:1px !important; height:1px !important; padding:0 !important; margin:-1px !important; overflow:hidden !important; clip:rect(0,0,0,0) !important; white-space:nowrap !important; border:0 !important; }
.octsr-launch[aria-expanded="true"] { display:none; }
/* V2 knowledge / advisor / lead UI */
.octsr-chat-panel { height:min(630px,calc(100dvh - 96px)); }
.octsr-mode-tabs {display:flex; flex:0 0 auto; gap:4px; padding:8px 12px 0; background:#fff; border-bottom:1px solid #edf1f6;}
.octsr-mode-tabs .octsr-tab {flex:1;cursor:pointer;border:0;border-bottom:2px solid transparent;border-radius:0;background:#fff;color:#65758d;font-family:inherit;font-size:12px;font-weight:600;padding:10px 6px;line-height:1.25;}
.octsr-mode-tabs .octsr-tab.octsr-selected{color:#133e78;border-bottom-color:#20579b;background:#f7faff;}
.octsr-view{flex:1 1 auto;display:flex;flex-direction:column;overflow:hidden;min-height:0;}
.octsr-view .octsr-chat-body{flex:1 1 auto;}
.octsr-advisor-body{padding:16px;overflow-y:auto;flex:1 1 auto;background:#f8fafd;}
.octsr-advisor-body h3{font-family:inherit;font-size:16px;font-weight:750;color:#132a4c;margin:5px 0 12px;line-height:1.4;}
.octsr-advisor-body p{font-size:13px;line-height:1.55;margin:5px 0 14px;}
.octsr-advisor-body .octsr-mut{color:#6b7687;font-size:12px;}
.octsr-step{font-size:11px;font-weight:750;letter-spacing:.03em;text-transform:uppercase;color:#2862a6;margin-bottom:5px;}
.octsr-choice{display:block;width:100%;text-align:left;border:1px solid #d7e2ef;color:#1e3c67;background:#fff;border-radius:11px;cursor:pointer;padding:12px 13px;margin:8px 0;line-height:1.35;font-family:inherit;font-size:13px;font-weight:600;}
.octsr-choice:hover,.octsr-choice:focus-visible{background:#edf5ff;border-color:#a8c1e4;}
.octsr-service-link{display:inline-block;color:#1659a0;text-decoration:underline !important;font-weight:700;font-size:13px;margin:5px 0 12px;}
.octsr-lead-form{display:flex;flex-direction:column;gap:11px;margin-top:12px;}
.octsr-lead-form label:not(.octsr-consent):not(.octsr-honeypot){display:flex;flex-direction:column;gap:5px;color:#273d59;font-size:12px;font-weight:700;}
.octsr-lead-form input:not([type=checkbox]),.octsr-lead-form textarea,.octsr-lead-form select{font-family:inherit;font-size:13px;color:#182840;border:1px solid #cbd8e7;border-radius:8px;background:#fff;padding:10px;width:100%;max-width:100%;}
.octsr-consent{display:flex;gap:8px;align-items:flex-start;font-size:11px;color:#425571;line-height:1.45;}
.octsr-consent input{flex:0 0 auto;margin-top:2px;}
.octsr-form-actions{display:flex;justify-content:space-between;gap:9px;}
.octsr-form-actions button{border:0;border-radius:9px;background:#173b74;color:#fff;padding:11px 13px;font-weight:700;cursor:pointer;font-family:inherit;font-size:12px;}
.octsr-form-actions button.octsr-light{color:#1e457e;background:#eaf1fa;}
.octsr-honeypot{position:absolute!important;left:-10000px!important;max-width:1px;max-height:1px;overflow:hidden;}
#octsr-lead-response{font-size:12px;line-height:1.5;color:#245384;}
.octsr-assistant button:focus-visible,.octsr-assistant a:focus-visible{outline:2px solid #69a2e9;outline-offset:2px;}
@media(max-width:767px){.octsr-chat-panel{height:min(650px,calc(100dvh - 82px));}.octsr-advisor-body{padding:13px;}}

/* V2.2.1: fast sales contact, intentionally visible from every assistant mode. */
.octsr-direct-contact { display:flex; flex:0 0 auto; gap:8px; padding:9px 12px 4px; border-top:1px solid #e5ebf4; background:#fff; }
.octsr-assistant .octsr-direct-contact a { flex:1; display:inline-flex; align-items:center; justify-content:center; gap:6px; min-width:0; padding:10px 9px; border-radius:10px; font-family:inherit; font-size:12px; font-weight:750; line-height:1.25; text-decoration:none !important; white-space:nowrap; box-shadow:none; }
.octsr-assistant .octsr-direct-contact a:hover { filter:brightness(.95); }
.octsr-assistant .octsr-whatsapp-link { background:#177c4b; color:#fff !important; border:1px solid #177c4b; }
.octsr-assistant .octsr-email-link { background:#f2f6fc; color:#163c77 !important; border:1px solid #d4deed; }
.octsr-direct-contact span { font-size:15px; font-weight:700; }
@media (max-width:390px) { .octsr-assistant .octsr-direct-contact a { font-size:11px; padding:9px 5px; } }

/* v2.4 project qualification */
.octsr-project-details{display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:700;color:#273d59;margin:10px 0;}
.octsr-project-details textarea{width:100%;max-width:100%;box-sizing:border-box;border:1px solid #cbd8e7;border-radius:8px;padding:10px;font:inherit;font-weight:400;resize:vertical;background:#fff;color:#182840;}
