#sr-smartbot-root{--sb-blue:#263070;--sb-navy:#121a40;--sb-cyan:#6dbee8;font:400 14px/1.5 'Segoe UI',Arial,sans-serif;color:var(--sb-navy);position:relative;z-index:99990}
#sr-smartbot-root *{box-sizing:border-box}
#sr-smartbot-root [hidden]{display:none!important}
#sr-smartbot-root button,#sr-smartbot-root textarea{font:inherit;letter-spacing:normal;text-transform:none}
#sr-smartbot-root button{cursor:pointer}
#sr-smartbot-root button:disabled{cursor:not-allowed;opacity:.6}
#sr-smartbot-root button:focus-visible,#sr-smartbot-root a:focus-visible,#sr-smartbot-root textarea:focus-visible{outline:3px solid #6dbee8;outline-offset:3px}
#sr-smartbot-root .srsb-launcher{position:fixed;right:24px;bottom:24px;min-height:54px;padding:14px 22px;border:1px solid #7c8bc5;border-radius:28px;background:var(--sb-blue);color:#fff;box-shadow:0 8px 28px #121a402b;font-weight:600}
#sr-smartbot-root .srsb-launcher:hover{background:var(--sb-navy)}
#sr-smartbot-root .srsb-panel{position:fixed;right:24px;bottom:90px;width:410px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 110px);background:#fff;border:1px solid #dbe1ee;border-radius:22px;box-shadow:0 18px 70px #121a4033;display:flex;flex-direction:column;overflow:hidden}
#sr-smartbot-root .srsb-header{display:flex;align-items:center;gap:13px;padding:20px 18px;background:linear-gradient(125deg,#121a40,#263070);color:#fff;flex-shrink:0}
#sr-smartbot-root .srsb-logo{width:48px;height:48px;object-fit:contain;background:#fff;border-radius:12px;padding:5px;margin:0}
#sr-smartbot-root .srsb-heading{flex:1;min-width:0}
#sr-smartbot-root .srsb-heading strong{display:block;font-size:21px;line-height:1.2;color:#fff}
#sr-smartbot-root .srsb-heading span{display:block;font-size:11px;margin-top:5px;color:#d4e6f8}
#sr-smartbot-root .srsb-close{border:0;background:#ffffff12;color:#fff;border-radius:50%;width:36px;height:36px;font-size:26px;line-height:1;padding:0}
#sr-smartbot-root .srsb-notice{background:#e9edf8;color:#263070;padding:9px 18px;font-size:10px;font-weight:700;letter-spacing:.03em;flex-shrink:0}
#sr-smartbot-root .srsb-log{overflow-y:auto;overscroll-behavior:contain;padding:18px 18px 8px;min-height:100px;max-height:280px;flex:1 1 auto}
#sr-smartbot-root .srsb-message{background:#f2f5fa;border:1px solid #e9edf8;border-radius:2px 15px 15px 15px;margin:0 22px 12px 0;padding:12px 14px;overflow-wrap:anywhere;white-space:pre-wrap}
#sr-smartbot-root .srsb-message p{margin:5px 0 0;font-size:13px;line-height:1.6;color:#38383a}
#sr-smartbot-root .srsb-speaker{font-size:10px;text-transform:uppercase;font-weight:700;letter-spacing:.06em;color:#263070}
#sr-smartbot-root .srsb-user{background:#e9edf8;margin:0 0 12px 22px;border-radius:15px 2px 15px 15px}
#sr-smartbot-root .srsb-shortcuts{display:grid;grid-template-columns:1fr 1fr;gap:7px;padding:0 18px 14px;flex-shrink:0}
#sr-smartbot-root .srsb-shortcuts button{background:white;border:1px solid #cbd5e8;color:#263070;border-radius:9px;padding:9px 8px;text-align:left;font-size:12px;min-height:38px}
#sr-smartbot-root .srsb-shortcuts button:hover{background:#e9edf8;border-color:#263070}
#sr-smartbot-root .srsb-form{padding:12px 18px 0;margin:0;border-top:1px solid #edf0f7;flex-shrink:0}
#sr-smartbot-root .srsb-label{display:block;font-size:11px;font-weight:600;margin-bottom:6px;color:#263070}
#sr-smartbot-root .srsb-input-row{display:flex;gap:8px;align-items:stretch}
#sr-smartbot-root textarea{resize:none;border:1px solid #cad3e4;border-radius:10px;min-width:0;width:100%;padding:9px;background:#fff;color:#121a40;font-size:13px}
#sr-smartbot-root textarea:disabled{background:#f7f8fb;color:#65708a}
#sr-smartbot-root .srsb-send{border:0;border-radius:10px;color:#fff;background:#263070;padding:10px;font-size:12px}
#sr-smartbot-root .srsb-status{font-size:10px;line-height:1.5;color:#5b657b;margin:7px 0 10px}
#sr-smartbot-root .srsb-footer{display:flex;gap:15px;flex-wrap:wrap;padding:11px 18px 14px;background:#f7f9fc;flex-shrink:0}
#sr-smartbot-root .srsb-footer a,#sr-smartbot-root .srsb-footer button{font-size:10px;color:#263070;background:none;border:0;padding:0;text-decoration:underline;text-underline-offset:3px;line-height:1.5}
@media(max-width:480px){#sr-smartbot-root .srsb-launcher{right:16px;bottom:16px}#sr-smartbot-root .srsb-panel{right:16px;bottom:82px;max-height:calc(100dvh - 98px)}#sr-smartbot-root .srsb-header{padding:15px}#sr-smartbot-root .srsb-heading span{font-size:10px}#sr-smartbot-root .srsb-log{max-height:240px}}
@media(max-height:600px){#sr-smartbot-root .srsb-panel{bottom:76px;max-height:calc(100dvh - 86px)}#sr-smartbot-root .srsb-header{padding:10px 15px}#sr-smartbot-root .srsb-shortcuts{padding-bottom:8px}#sr-smartbot-root .srsb-log{min-height:65px}#sr-smartbot-root .srsb-notice{padding:5px 15px}}
/* 0.1.2: legible guide and touch targets, launcher hidden while open. */
#sr-smartbot-root{font-size:16px}
#sr-smartbot-root .srsb-panel{bottom:24px;max-height:calc(100dvh - 48px)}
#sr-smartbot-root .srsb-close{width:44px;height:44px;flex-shrink:0}
#sr-smartbot-root .srsb-heading span,#sr-smartbot-root .srsb-notice,#sr-smartbot-root .srsb-speaker,#sr-smartbot-root .srsb-label,#sr-smartbot-root .srsb-status{font-size:14px}
#sr-smartbot-root .srsb-message p,#sr-smartbot-root textarea{font-size:16px}
#sr-smartbot-root .srsb-shortcuts button{min-height:44px;font-size:14px}
#sr-smartbot-root .srsb-footer{gap:4px 12px;padding-top:4px;padding-bottom:6px}
#sr-smartbot-root .srsb-footer a,#sr-smartbot-root .srsb-footer button{min-height:44px;display:inline-flex;align-items:center;font-size:14px}
@media(max-width:480px){#sr-smartbot-root .srsb-panel{bottom:16px;max-height:calc(100dvh - 32px)}#sr-smartbot-root .srsb-heading span{font-size:14px}}
/* Keep legal links above the floating launcher at the end of mobile pages. */
@media(max-width:480px){body:has(#sr-smartbot-root) .sr-footer{padding-bottom:96px}}

