/* Green colourway of the supplied Avanti character; shared with the homepage. */
.avanti-avatar { display:block; flex:0 0 42px; width:42px; height:42px; border-radius:50%; background:#f4f6ea url("../images/avanti-green-guide.eba4011b2bdd.webp") center -9px / 72px auto no-repeat; border:2px solid #dce5bc; }
.avanti-launcher { position:fixed; bottom:20px; right:24px; z-index:40; display:flex; align-items:center; gap:10px; padding:7px 18px 7px 7px; border:1px solid var(--avant-line); border-radius:40px; background:#fff; color:var(--avant-navy); box-shadow:0 4px 20px #10263d18; font:600 15px/1.3 inherit; cursor:pointer; }
.avanti-launcher[hidden] { display:none; }
.avanti-launcher { font-family:inherit; font-size:15px; font-weight:600; line-height:1.3; }
.avanti-launcher small { display:block; margin-top:3px; font-size:11px; color:var(--avant-muted); font-weight:400; text-align:left; }
.avanti-guide { position:fixed; inset:auto 24px 94px auto; width:370px; max-width:calc(100vw - 32px); max-height:calc(100dvh - 120px); overflow:auto; margin:0; padding:0; border:1px solid var(--avant-line); border-radius:10px; background:#fff; color:var(--avant-text); box-shadow:0 12px 40px #10263d26; z-index:41; }
.avanti-guide:not([open]) { display:none; }
.avanti-heading { display:flex; align-items:center; gap:10px; padding:18px; background:var(--avant-navy); color:white; }
.avanti-heading h2 { margin:0; font-size:19px; color:#fff; }
.avanti-heading p { margin:4px 0 0; font-size:12px; color:#e0e9f2; }
.avanti-close { margin-left:auto; align-self:start; min-width:44px; min-height:44px; border:0; background:transparent; color:white; cursor:pointer; font-size:28px; }
.avanti-content { padding:18px; }
.avanti-content > p { margin:0 0 14px; font-size:16px; }
.avanti-content > a { display:block; border:1px solid var(--avant-line); border-radius:5px; padding:12px; margin-bottom:10px; text-decoration:none; }
.avanti-content > a:hover { background:var(--avant-paper); }
.avanti-content strong,.avanti-content span { display:block; }
.avanti-content strong { font-size:15px; }
.avanti-content span { margin-top:4px; font-size:12px; color:var(--avant-muted); }
.avanti-content .avanti-note { margin:15px 0 0; font-size:12px; color:var(--avant-muted); }
.avanti-launcher:focus-visible,.avanti-guide :focus-visible { outline:3px solid var(--avant-action); outline-offset:3px; }
.avanti-guide { width:420px; }
.avanti-search { display:grid; gap:10px; }
.avanti-search > label { font-size:14px; font-weight:650; }
.avanti-search input[type="text"] { width:100%; box-sizing:border-box; min-height:46px; border:1px solid #8196aa; border-radius:6px; padding:10px; font:inherit; font-size:16px; color:var(--avant-navy); background:white; }
.avanti-search .avanti-ai-choice { display:flex; align-items:flex-start; gap:8px; font-weight:400; }
.avanti-ai-choice input { margin-top:5px; flex:0 0 auto; }
.avanti-ai-choice span { margin:0; color:var(--avant-text); font-size:13px; }
.avanti-privacy { font-size:12px; line-height:1.5; margin:0; color:var(--avant-muted); }
.avanti-guide .avanti-search .button { justify-content:center; color:#fff; }
.avanti-search .button:disabled { opacity:.65; cursor:wait; }
.avanti-status { font-size:13px; margin:12px 0; }
.avanti-results { padding:14px; background:#f0f6fc; border:1px solid #d4e2ef; border-radius:8px; }
.avanti-results[hidden] { display:none; }
.avanti-results p { margin:0 0 10px; font-size:14px; line-height:1.55; }
.avanti-source { display:block; color:var(--avant-muted); margin-bottom:10px; font-size:11px; }
.avanti-results a { display:block; padding:10px 0; font-size:14px; overflow-wrap:anywhere; border-top:1px solid #d4e2ef; }
.avanti-shortcuts { display:flex; flex-wrap:wrap; gap:10px 16px; padding-top:14px; }
.avanti-shortcuts a { font-size:13px; }
@media(max-width:40rem) {
  .avanti-launcher { right:12px; bottom:12px; padding-right:12px; }
  .avanti-guide { right:12px; bottom:88px; max-height:calc(100dvh - 105px); }
}

.avanti-results .avanti-interpretation { font-weight:650; }
.avanti-results .avanti-constraint,.avanti-results .avanti-unchecked { padding-left:10px; border-left:3px solid var(--avant-action); overflow-wrap:anywhere; }
.avanti-results .avanti-unchecked { border-color:var(--avant-muted); }
