.lex-assistant-dialog{width:min(760px,calc(100vw - 24px));height:min(760px,calc(100dvh - 24px));max-height:calc(100dvh - 24px);box-sizing:border-box;overflow:hidden;padding:22px;border:1px solid #b6d2f7;border-radius:20px;color:#123151;background:#f8fbff;box-shadow:0 22px 75px #091f4d55}
.lex-assistant-dialog::backdrop{background:#0a1b37a0}.lex-assistant-dialog[open]{display:flex;flex-direction:column;gap:12px}.lex-assistant-dialog header{display:flex;justify-content:space-between;align-items:center;gap:12px}.lex-assistant-dialog h2{margin:0}.lex-assistant-dialog p{margin:0}.lex-assistant-mode{font-size:13px;color:#45617c}.lex-assistant-history{flex:1;min-height:180px;height:36vh;overflow:auto;display:flex;flex-direction:column;gap:12px;padding:4px}.lex-answer{white-space:pre-wrap;overflow-wrap:anywhere;padding:14px;border-radius:13px;background:white;border:1px solid #d9e5f5;flex-shrink:0;line-height:1.5}.lex-answer-question{background:#e3f0ff;align-self:flex-end;max-width:90%}.lex-answer-links,.lex-assistant-suggestions{display:flex;gap:7px;flex-wrap:wrap;flex-shrink:0}.lex-assistant-dialog .button{min-height:44px;white-space:normal}.lex-assistant-suggestions .button{font-size:12px;padding:7px 10px}.lex-assistant-form{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:end}.lex-assistant-form label{display:flex;flex-direction:column;gap:6px}.lex-assistant-form textarea{width:100%;min-height:62px;max-height:150px;resize:vertical;border:1px solid #a8c7ed;border-radius:9px;padding:10px;font:inherit}.lex-assistant-status{min-height:18px;font-size:12px;color:#45617c;overflow-wrap:anywhere}.lex-assistant-heading-actions{display:flex;gap:7px}@media(max-width:600px){.lex-assistant-dialog{padding:14px}.lex-assistant-history{height:32vh;min-height:120px}.lex-assistant-form{grid-template-columns:1fr}.lex-assistant-heading-actions .button{font-size:11px}.lex-assistant-dialog h2{font-size:20px}}
.lex-assistant-dialog{background:radial-gradient(ellipse at top left,#e5f7ff,transparent 60%),linear-gradient(150deg,#faf9ff,#f8fbff);border-radius:26px;border-color:#d8e5f2;padding:24px}
.lex-assistant-dialog::backdrop{backdrop-filter:blur(4px);background:#15284080}.lex-welcome{display:flex;align-items:center;gap:12px}.lex-welcome img{object-fit:contain;filter:drop-shadow(0 6px 8px #4675ac22)}.lex-welcome .eyebrow{font-size:10px;letter-spacing:.1em;color:#55749a;margin:0 0 5px}.lex-welcome h2{font-size:24px}.lex-personal-tools{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#55749a;font-size:12px;border-bottom:1px solid #dce8f1;padding-bottom:10px}.lex-personal-tools .button{font-size:12px}.lex-answer{border-radius:18px 18px 18px 5px;border-color:#e1e8f1;box-shadow:0 3px 12px #45608508;padding:16px;line-height:1.6}.lex-answer-question{background:linear-gradient(135deg,#e6efff,#e6f7fc);border-radius:18px 18px 5px 18px;color:#1d4e87}.lex-assistant-suggestions .button{border-radius:20px;background:#fff;border:1px solid #dae4f1;color:#3f5e81}.lex-assistant-form textarea{border-radius:16px;background:#ffffffdd}.lex-assistant-form .button{border-radius:14px}.lex-assistant-dialog .button:focus-visible{outline:2px solid #4866e5;outline-offset:2px}@media(max-width:600px){.lex-assistant-dialog{padding:14px}.lex-welcome img{width:48px;height:48px}.lex-welcome h2{font-size:20px}.lex-assistant-dialog header{align-items:flex-start}.lex-assistant-heading-actions{flex-wrap:wrap;justify-content:flex-end}.lex-personal-tools{flex-wrap:wrap}}
@media(max-width:600px){.lex-assistant-dialog[open]{gap:8px}.lex-assistant-dialog header{flex-wrap:wrap;gap:6px}.lex-welcome{gap:8px}.lex-welcome img{width:40px;height:40px}.lex-welcome h2{white-space:nowrap}.lex-welcome .eyebrow{font-size:9px}.lex-assistant-heading-actions{width:100%;justify-content:space-between}.lex-assistant-heading-actions .button{min-height:30px;padding:4px 10px}.lex-personal-tools{padding-bottom:5px;gap:4px;font-size:10px}.lex-personal-tools .button{min-height:32px;padding:4px 8px;font-size:11px}.lex-assistant-mode{font-size:11px;line-height:1.35}.lex-assistant-history{min-height:80px;height:auto}.lex-assistant-suggestions{max-height:84px;overflow-y:auto}.lex-assistant-suggestions .button{min-height:34px}.lex-assistant-form{flex-shrink:0;gap:6px}.lex-assistant-form textarea{min-height:52px;height:52px}.lex-assistant-status{font-size:10px;min-height:12px}}
