/* AZCOMCHAT1: the AZ search box as a chat-style conversation (az.ai look: #F8FAFF / #05072F, purple-blue accent). Light by default,
   dark when the page is not data-theme="light". Only applies once a conversation starts (.azc1-on) or to the answer pieces. */
:root[data-theme="light"]{--c1-bg:#f8faff;--c1-fg:#05072f;--c1-mut:#4a5070;--c1-line:rgba(5,7,47,.12);--c1-ubg:#eef0fb;--c1-card:#ffffff;--c1-code:#0f1330;--c1-codefg:#e8ebff;--c1-acc:#5b4cf0;--c1-acc2:#2f80ff;--c1-chip:#f1f3fd;--c1-q:#f4f2ff}
:root:not([data-theme="light"]){--c1-bg:#070a1f;--c1-fg:#e9ecff;--c1-mut:#a9b0d6;--c1-line:rgba(255,255,255,.14);--c1-ubg:#1b2047;--c1-card:#0d1230;--c1-code:#050817;--c1-codefg:#e8ebff;--c1-acc:#8f84ff;--c1-acc2:#5aa2ff;--c1-chip:#151a3d;--c1-q:#151a3d}

.azs1.azc1-on .azs1-hero,.azs1.azc1-on .azs1-chips,.azs1.azc1-on .c4-tools,.azs1.azc1-on [data-azb],.azs1.azc1-on #azg-row{display:none!important}
.azs1.azc1-on .azs1-wrap{max-width:780px;margin:0 auto;padding-bottom:170px}
.azs1.azc1-on .azs1-out{display:flex;flex-direction:column;gap:18px;min-height:0!important;padding-top:8px}
.azs1.azc1-on .azs1-box{position:fixed;left:50%;transform:translateX(-50%);bottom:max(14px,env(safe-area-inset-bottom));width:min(780px,calc(100vw - 24px));z-index:40;margin:0;box-shadow:0 10px 40px rgba(5,7,47,.18);background:var(--c1-card);border:1px solid var(--c1-line);border-radius:26px;display:flex;align-items:flex-end;gap:8px;padding:8px 8px 8px 16px;box-sizing:border-box}
.azs1.azc1-on::after{content:"";position:fixed;left:0;right:0;bottom:0;height:110px;background:linear-gradient(to top,var(--c1-bg) 55%,transparent);pointer-events:none;z-index:39}
.azs1-box textarea#azs1-q{flex:1;min-width:0;resize:none;border:0;outline:0;background:transparent;color:inherit;font:inherit;font-size:17px;line-height:1.45;padding:10px 0;max-height:220px;overflow-y:auto}
.azs1.azc1-on .azs1-note{position:fixed;left:50%;transform:translateX(-50%);bottom:2px;z-index:41;margin:0;font-size:12px;color:var(--c1-mut);white-space:nowrap;max-width:calc(100vw - 24px);overflow:hidden;text-overflow:ellipsis}
.azs1-ask.azc1-stop{background:var(--c1-fg)!important;color:var(--c1-bg)!important}
.azc1-jump{position:fixed;left:50%;transform:translateX(-50%);bottom:120px;z-index:42;width:44px;height:44px;border-radius:50%;border:1px solid var(--c1-line);background:var(--c1-card);color:var(--c1-fg);font-size:22px;line-height:1;cursor:pointer;box-shadow:0 6px 20px rgba(5,7,47,.18)}

/* the thread */
.azc1-u{align-self:flex-end;max-width:min(80%,620px);background:var(--c1-ubg);color:var(--c1-fg);border-radius:20px 20px 6px 20px;padding:10px 16px;overflow-wrap:anywhere}
.azc1-u p{margin:0;white-space:pre-wrap;font-size:16.5px;line-height:1.5}
.azs1-page .azs1-card.azc1-a{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;margin:0!important;max-width:none!important;width:100%;color:var(--c1-fg)}
.azc1-title{font-size:20px;line-height:1.3;margin:0 0 8px;font-weight:700}
.azc1-md{font-size:16.5px;line-height:1.65;overflow-wrap:anywhere}
.azc1-md p{margin:0 0 12px}.azc1-md h2,.azc1-md h3,.azc1-md h4,.azc1-md h5{margin:18px 0 8px;line-height:1.3}.azc1-md h2{font-size:20px}.azc1-md h3{font-size:18px}.azc1-md h4,.azc1-md h5{font-size:16.5px}
.azc1-md ul,.azc1-md ol{margin:0 0 12px;padding-left:24px}.azc1-md li{margin:4px 0}
.azc1-md a{color:var(--c1-acc)}.azc1-md hr{border:0;border-top:1px solid var(--c1-line);margin:16px 0}
.azc1-md code{font:14px/1.4 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;background:var(--c1-chip);padding:1px 6px;border-radius:6px}
.azc1-code{margin:0 0 14px;border-radius:12px;overflow:hidden;background:var(--c1-code);color:var(--c1-codefg)}
.azc1-code-h{display:flex;justify-content:space-between;align-items:center;padding:6px 10px 6px 14px;font-size:13px;color:#aab3e6;background:rgba(255,255,255,.06)}
.azc1-code pre{margin:0;padding:14px;overflow-x:auto}.azc1-code pre code{background:none;padding:0;color:inherit;font-size:14px}
.azc1-copy{min-height:32px;padding:0 10px;border-radius:8px;border:1px solid rgba(255,255,255,.2);background:transparent;color:#e8ebff;font:600 13px/1 inherit;cursor:pointer}
.azc1-tw{overflow-x:auto;margin:0 0 14px;border:1px solid var(--c1-line);border-radius:12px}
.azc1-tw table{border-collapse:collapse;width:100%;font-size:15px}.azc1-tw th,.azc1-tw td{padding:8px 12px;border-bottom:1px solid var(--c1-line);text-align:left;vertical-align:top}.azc1-tw th{background:var(--c1-chip);font-weight:700}.azc1-tw th,.azc1-tw td{overflow-wrap:normal;word-break:normal;hyphens:manual;min-width:6.5em}.azc1-tw tr:last-child td{border-bottom:0}
.azc1-q{margin:0 0 14px;padding:12px 16px;border-left:4px solid var(--c1-acc);background:var(--c1-q);border-radius:0 12px 12px 0}
.azc1-q p{margin:0 0 6px;font-family:Georgia,"Times New Roman",serif;font-size:17px;line-height:1.55}.azc1-q footer{font-size:14px;color:var(--c1-mut);font-weight:600}
.azc1-cites{margin-left:2px}.azc1-cites a.azs1-cite{display:inline-block;min-width:18px;padding:0 5px;margin-left:2px;border-radius:9px;background:var(--c1-chip);color:var(--c1-mut);font-size:11.5px;line-height:18px;text-align:center;text-decoration:none;vertical-align:2px}
.azc1-wait{display:flex;align-items:center;gap:6px;color:var(--c1-mut);font-size:15px;margin:4px 0}.azc1-wait.is-tail{margin-top:0}
.azc1-stopped{color:var(--c1-mut);font-style:italic}

/* sources + buttons under the answer */
.azc1-after{margin-top:6px}
.azc1-chips{display:flex;flex-wrap:wrap;gap:6px;margin:6px 0}
.azc1-chip{display:inline-flex;align-items:center;gap:6px;min-height:32px;max-width:100%;padding:4px 10px;border-radius:999px;background:var(--c1-chip);border:1px solid var(--c1-line);color:var(--c1-fg);font-size:13.5px;text-decoration:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.azc1-chip span{font-weight:700;color:var(--c1-mut)}.azc1-chip.is-net{border-color:var(--c1-acc)}.azc1-chip.is-net span{color:var(--c1-acc);font-size:11px;text-transform:uppercase;letter-spacing:.04em}
.azc1-srch{margin:10px 0 6px;font-size:13px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--c1-mut)}
.azc1-srcgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:8px;margin:0 0 8px}
.azc1-sc{display:flex;flex-direction:column;gap:6px;min-height:76px;padding:10px 12px;border-radius:12px;border:1px solid var(--c1-line);background:var(--c1-card);color:var(--c1-fg);text-decoration:none;min-width:0;transition:border-color .15s}
.azc1-sc:hover,.azc1-sc:focus-visible,.azc1-sc.is-hit{border-color:var(--c1-acc)}
.azc1-sc-h{display:flex;align-items:center;gap:6px;min-width:0;font-size:12.5px;color:var(--c1-mut)}
.azc1-sc-n{flex:none;display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 5px;border-radius:10px;background:var(--c1-chip);font-weight:700;font-size:11.5px}
.azc1-sc-site{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.azc1-sc b{font-size:14px;line-height:1.35;font-weight:600;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.azc1-next{display:flex;flex-wrap:wrap;gap:8px;margin:4px 0 10px}
.azc1-next button{min-height:40px;max-width:100%;padding:8px 14px;border-radius:999px;border:1px solid var(--c1-acc);background:transparent;color:var(--c1-acc);font:600 14.5px/1.25 inherit;text-align:left;cursor:pointer}
.azc1-next button:hover,.azc1-next button:focus-visible{background:var(--c1-chip)}
.azc1-tools{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.azc1-tools button{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 14px;border-radius:999px;border:1px solid var(--c1-line);background:transparent;color:var(--c1-fg);font:600 14px/1 inherit;cursor:pointer}
.azc1-tools svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.azc1-cta{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;margin:12px 0 4px;padding:14px 16px;border-radius:16px;border:1px solid rgba(124,92,255,.35);background:rgba(124,92,255,.08)}
.azc1-cta>div{min-width:0;flex:1 1 240px}.azc1-cta b{display:block;font-size:17px}.azc1-cta span{font-size:15px;color:var(--c1-mut)}
@media (max-width:600px){.azc1-u{max-width:88%}.azc1-md{font-size:16px}.azs1.azc1-on .azs1-wrap{padding-left:14px;padding-right:14px}.azc1-tools button span{display:none}.azc1-tools button[data-mode]{padding:0 12px}.azc1-jump{bottom:112px}.azc1-srcgrid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* cards size to their content (Todd 10-30: no fixed-height empty space) */
.azs1.azc1-on .azs1-card,.azs1-page .azs1-card.azc1-a,.azc1-wait,.azs1.azc1-on .azs1-wait{min-height:0!important;height:auto!important}
.azs1.azc1-on .azs1-out{min-height:0!important}

/* AZCHATS1: saved chats sidebar (desktop: collapsible column; phone: drawer) */
.azc1-tog{position:fixed;left:12px;top:calc(var(--azc1-top,64px) + 10px);z-index:44;display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:0 12px;border-radius:999px;border:1px solid var(--c1-line);background:var(--c1-card);color:var(--c1-fg);font:600 14px/1 inherit;cursor:pointer;box-shadow:0 4px 14px rgba(5,7,47,.12)}
.azc1-tog svg,.azc1-side svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.azc1-side-open .azc1-tog{display:none}
.azc1-side{position:fixed;left:0;top:var(--azc1-top,64px);bottom:0;width:272px;z-index:45;display:flex;flex-direction:column;gap:8px;padding:12px;box-sizing:border-box;background:var(--c1-card);color:var(--c1-fg);border-right:1px solid var(--c1-line);transform:translateX(-100%);visibility:hidden;transition:transform .2s ease,visibility .2s}
.azc1-side-open .azc1-side{transform:none;visibility:visible}
.azc1-side-top{display:flex;gap:8px;align-items:center}
.azc1-new{flex:1;min-height:42px;border-radius:12px;border:1px solid var(--c1-line);background:linear-gradient(90deg,#6D3BFF,#2F6BFF);color:#fff;font:600 15px/1 inherit;cursor:pointer}
.azc1-side-x{width:42px;height:42px;border-radius:12px;border:1px solid var(--c1-line);background:transparent;color:var(--c1-fg);font-size:22px;cursor:pointer}
.azc1-find{min-height:40px;padding:0 12px;border-radius:10px;border:1px solid var(--c1-line);background:var(--c1-bg);color:var(--c1-fg);font:inherit;font-size:14.5px}
.azc1-list{flex:1;overflow-y:auto;margin:0 -4px;padding:0 4px}
.azc1-g{margin:12px 6px 4px;font-size:12px;font-weight:700;color:var(--c1-mut);text-transform:uppercase;letter-spacing:.04em}
.azc1-it{display:flex;align-items:center;gap:2px;border-radius:10px}
.azc1-it:hover,.azc1-it.is-on{background:var(--c1-chip)}
.azc1-it-t{flex:1;min-width:0;min-height:40px;padding:0 8px;border:0;background:transparent;color:var(--c1-fg);font:500 14.5px/1.3 inherit;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer}
.azc1-it-b{flex:none;width:34px;height:34px;border:0;border-radius:8px;background:transparent;color:var(--c1-mut);cursor:pointer;opacity:0;font-size:14px}
.azc1-it:hover .azc1-it-b,.azc1-it.is-on .azc1-it-b,.azc1-it-b:focus-visible{opacity:1}
@media (hover:none){.azc1-it-b{opacity:1}}
.azc1-ren{flex:1;min-width:0;min-height:36px;padding:0 8px;border-radius:8px;border:1px solid var(--c1-acc);background:var(--c1-bg);color:var(--c1-fg);font:inherit;font-size:14.5px}
.azc1-empty,.azc1-side-note{margin:8px 6px;font-size:13px;color:var(--c1-mut)}
.azc1-shade{position:fixed;inset:0;z-index:44;background:rgba(5,7,47,.45)}
@media (min-width:1024px){
  .azc1-side-open .azs1.azc1-on .azs1-wrap{margin-left:max(296px,calc((100vw - 780px) / 2))}
  .azc1-side-open .azs1.azc1-on .azs1-box,.azc1-side-open .azs1.azc1-on .azs1-note,.azc1-side-open .azc1-jump{left:calc(50% + 136px)}
  .azc1-side-open .azs1.azc1-on .azs1-box{width:min(780px,calc(100vw - 320px))}
}
@media (max-width:1023px){.azc1-side{width:min(300px,86vw);top:0;z-index:60;box-shadow:0 0 40px rgba(5,7,47,.3)}.azc1-shade{z-index:59}.azc1-tog span{display:none}.azc1-tog{padding:0 10px}}

/* CHATLOOK1: the person's chat style (applied through --c1-*-x; the contrast guard runs before a color is used) */
.azc1-u{color:var(--c1-ufg-x,var(--c1-fg));background:var(--c1-ubg-x,var(--c1-ubg))}
.azc1-u p{font-family:var(--c1-ufont-x,inherit);font-weight:var(--c1-uw-x,400)}
.azc1-a .azc1-md,.azc1-a .azc1-title{color:var(--c1-afg-x,inherit);font-family:var(--c1-afont-x,inherit)}
.azc1-lookbtn{min-height:40px;border-radius:10px;border:1px solid var(--c1-line);background:transparent;color:var(--c1-fg);font:600 14px/1 inherit;cursor:pointer}
.azc1-look{position:fixed;z-index:70;left:50%;top:50%;transform:translate(-50%,-50%);width:min(380px,calc(100vw - 32px));max-height:calc(100vh - 32px);overflow:auto;box-sizing:border-box;padding:16px;border-radius:16px;border:1px solid var(--c1-line);background:var(--c1-card);color:var(--c1-fg);box-shadow:0 20px 60px rgba(5,7,47,.35)}
.azc1-look[hidden]{display:none}
.azc1-look-h{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.azc1-look-h b{font-size:17px}
.azc1-look-h button{width:40px;height:40px;border:0;background:transparent;color:var(--c1-fg);font-size:22px;cursor:pointer}
.azc1-look fieldset{border:1px solid var(--c1-line);border-radius:12px;margin:0 0 10px;padding:8px 12px 10px;display:grid;gap:8px}
.azc1-look legend{font-weight:700;font-size:14px;padding:0 4px}
.azc1-look label{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:14.5px;min-height:36px}
.azc1-look label.azl-ck{justify-content:flex-start}
.azc1-look input[type=color]{width:48px;height:34px;border:1px solid var(--c1-line);border-radius:8px;background:transparent;padding:2px}
.azc1-look select{min-height:36px;border-radius:8px;border:1px solid var(--c1-line);background:var(--c1-bg);color:var(--c1-fg);font:inherit}
.azc1-look-msg{min-height:0;margin:0 0 6px;font-size:13px;color:#b42318}.azc1-look-msg:empty{display:none}
.azc1-look-tip{margin:0 0 10px;font-size:13px;color:var(--c1-mut)}
.azc1-look-f{display:flex;justify-content:flex-end;gap:8px}
.azc1-look-f button{min-height:42px;padding:0 16px;border-radius:999px;border:1px solid var(--c1-line);background:transparent;color:var(--c1-fg);font:600 14px/1 inherit;cursor:pointer}
.azc1-look-f button.is-primary{background:linear-gradient(90deg,#6D3BFF,#2F6BFF);color:#fff;border:0}

/* with the AZCOMDESIGN1 look on (html[data-azd1] x4 rules): the conversation layout wins once a chat starts */
html[data-azd1][data-azd1][data-azd1][data-azd1][data-azd1] .azs1.azc1-on .azs1-wrap{display:block!important;max-width:780px!important;margin:0 auto!important;padding:0 16px 170px!important}
html[data-azd1][data-azd1][data-azd1][data-azd1][data-azd1] .azs1.azc1-on .azs1-out{margin-top:8px!important}
html[data-azd1][data-azd1][data-azd1][data-azd1][data-azd1] .azs1.azc1-on .azs1-box{position:fixed!important;left:50%!important;right:auto!important;top:auto!important;transform:translateX(-50%)!important;bottom:max(14px,env(safe-area-inset-bottom))!important;width:min(780px,calc(100vw - 24px))!important;z-index:40!important;margin:0!important;min-height:0!important;border-radius:26px!important;padding:8px 8px 8px 50px!important;display:flex!important;align-items:flex-end!important;box-sizing:border-box!important}
html[data-azd1][data-azd1][data-azd1][data-azd1][data-azd1] .azs1.azc1-on .azs1-box::before{top:auto;bottom:22px;margin-top:0}
html[data-azd1][data-azd1][data-azd1][data-azd1][data-azd1] .azs1-box textarea#azs1-q{font:400 17px/1.45 var(--t-font,inherit)!important;color:var(--z-ink,inherit)!important;padding:12px 4px!important}
html[data-azd1][data-azd1][data-azd1][data-azd1][data-azd1] .azs1.azc1-on .azs1-note{position:fixed!important;left:50%!important;transform:translateX(-50%)!important;bottom:2px!important;margin:0!important;z-index:41!important;white-space:nowrap;font-size:12px!important;text-align:center!important}
html[data-azd1][data-azd1][data-azd1][data-azd1][data-azd1] .azs1.azc1-on .azs1-note::after{display:none}
html[data-azd1][data-azd1][data-azd1][data-azd1][data-azd1] .azs1-card.azc1-a{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}
html[data-azd1][data-azd1][data-azd1][data-azd1][data-azd1] form.azs1-box button.azs1-ask.azc1-stop{background:var(--c1-fg)!important;display:flex!important;align-items:center;justify-content:center}
html[data-azd1][data-azd1][data-azd1][data-azd1][data-azd1] form.azs1-box button.azs1-ask.azc1-stop::after{content:"";display:block;width:14px;height:14px;border-radius:3px;background:var(--c1-bg)}
@media (min-width:1024px){
  html[data-azd1][data-azd1][data-azd1][data-azd1][data-azd1].azc1-side-open .azs1.azc1-on .azs1-wrap{margin-left:max(296px,calc((100vw - 780px) / 2))!important}
  html[data-azd1][data-azd1][data-azd1][data-azd1][data-azd1].azc1-side-open .azs1.azc1-on .azs1-box,html[data-azd1][data-azd1][data-azd1][data-azd1][data-azd1].azc1-side-open .azs1.azc1-on .azs1-note{left:calc(50% + 136px)!important}
  html[data-azd1][data-azd1][data-azd1][data-azd1][data-azd1].azc1-side-open .azs1.azc1-on .azs1-box{width:min(780px,calc(100vw - 320px))!important}
}

/* READ1 (Todd 10-30 "really hard to read"): strong body text, bold headings, bold key terms, domain chips, compact sources.
   Same class names + tokens on az.ai's chat (CORE-ONEBOX): .azc1-md h2/h3, .azc1-md b, .azc1-dom, .azc1-sc, --c1-fg/--c1-acc */
.azc1-md{font-size:17px;line-height:1.62;color:var(--c1-afg-x,var(--c1-fg))}
.azc1-md>p:first-child{font-size:18px}
.azc1-md p{margin:0 0 14px}
.azc1-md h2,.azc1-md h3{font-weight:800;letter-spacing:-.01em;color:var(--c1-afg-x,var(--c1-fg))}
.azc1-md h2{font-size:22px;margin:22px 0 10px}.azc1-md h3{font-size:19px;margin:18px 0 8px}
.azc1-md b,.azc1-md strong{font-weight:700;color:var(--c1-afg-x,var(--c1-fg))}
.azc1-md ul,.azc1-md ol{margin:0 0 14px;padding-left:22px}.azc1-md li{margin:6px 0}
.azc1-title{font-size:22px;font-weight:800}
.azc1-dom{display:inline-flex;align-items:center;gap:8px;margin:2px 0;padding:3px 4px 3px 12px;border-radius:999px;border:1px solid var(--c1-acc);background:var(--c1-chip);vertical-align:middle}
.azc1-dom a{display:inline-flex;align-items:center;min-height:30px;padding:0 12px;border-radius:999px;background:linear-gradient(90deg,#6D3BFF,#2F6BFF);color:#fff!important;font-size:13.5px;font-weight:700;text-decoration:none!important}
.azc1-srcgrid{grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:6px}
.azc1-sc{min-height:0;padding:7px 10px;gap:3px;border-radius:10px}
.azc1-sc b{font-size:13px;-webkit-line-clamp:1}
.azc1-sc-h{font-size:11.5px}
/* once a chat starts: the home globe and the tool guide row step aside; the box has one border only */
html[data-azd1][data-azd1][data-azd1][data-azd1][data-azd1] .azs1.azc1-on .azd-globe,html[data-azd1][data-azd1][data-azd1][data-azd1][data-azd1] .azs1.azc1-on .azd-trust,.azs1.azc1-on ~ #azg-row,html.azc1-chat #azg-row{display:none!important}
html[data-azd1][data-azd1][data-azd1][data-azd1][data-azd1] .azs1-box textarea#azs1-q{border:0!important;box-shadow:none!important;background:transparent!important;outline:0!important}

/* SIDEHERO1 (tester P2 10-30): a sidebar opened by hand on the home hero pushes the hero right instead of covering it */
@media (min-width:1024px){html.azc1-side-open .azs1:not(.azc1-on){padding-left:272px;box-sizing:border-box}}
/* HEROSUB1 (Todd 10-30): hero subline, AZ.ai = bold accent link; balanced wrap, no orphan word */
.azd-sub[data-herosub1]{text-wrap:balance}
html[data-azd1][data-azd1][data-azd1][data-azd1] .azd-sub a.azd-sublink,.azd-sub a.azd-sublink{font-weight:700;color:#5b3fd9;text-decoration:none;white-space:nowrap}
html[data-azd1][data-azd1][data-azd1][data-azd1][data-theme="dark"] .azd-sub a.azd-sublink{color:#b3a2ff}
@media (prefers-color-scheme:dark){html[data-azd1][data-azd1][data-azd1][data-azd1]:not([data-theme="light"]) .azd-sub a.azd-sublink{color:#b3a2ff}}
.azd-sub a.azd-sublink:hover,.azd-sub a.azd-sublink:focus-visible{text-decoration:underline;text-underline-offset:3px}
/* TOPQ1: once a conversation starts nothing sits above it (hero, globe, trust row), and the newest question can always be pinned under the header */
.azs1.azc1-on .azd-trust,.azs1.azc1-on .azd-globe,.azs1.azc1-on [class*="azd-globe"],.azs1.azc1-on .azd-hero{display:none!important}
.azs1.azc1-on .azs1-out::after{content:"";display:block;flex:0 0 auto;height:max(0px,calc(100vh - 300px))}
/* CARET1: the box shows the plain native caret: no fake caret, no typing animation */
.azs1 #azs1-q{caret-color:auto!important;animation:none!important}
.azs1 #azs1-q::placeholder{animation:none!important}
/* AZCOMTIDY1 BLOCKCARD1: the blocked-search card */
.azc1-blk{max-width:640px;margin:0;padding:18px 20px;border:1px solid var(--c1-line,rgba(5,7,47,.12));border-radius:16px;background:var(--c1-card,#fff);color:var(--c1-fg,#05072f)}
.azc1-blk-h{margin:0 0 14px;font-size:17px;line-height:1.45}.azc1-blk-h strong{font-weight:700}.azc1-blk-h span{color:var(--c1-mut,#4a5070)}
.azc1-blk-v{margin:0 0 14px;padding:12px 16px;border-left:4px solid var(--c1-acc,#5b4cf0);background:var(--c1-q,#f4f2ff);border-radius:0 12px 12px 0}
.azc1-blk-v blockquote{margin:0}.azc1-blk-v p{margin:0 0 6px;font-family:Georgia,"Times New Roman",serif;font-size:17px;line-height:1.55;color:var(--c1-fg,#05072f)}
.azc1-blk-v figcaption{font-size:14px;font-weight:600;color:var(--c1-mut,#4a5070)}
.azc1-blk-help{margin:0 0 10px;font-size:15px;line-height:1.5;color:var(--c1-mut,#4a5070)}
.azc1-blk-links{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.azc1-blk .azc1-blk-links a{display:inline-flex;align-items:center;min-height:40px;padding:6px 14px;border-radius:999px;border:1px solid var(--c1-line,rgba(5,7,47,.12));background:var(--c1-chip,#f1f3fd);color:var(--c1-acc,#5b4cf0)!important;font-size:14.5px;font-weight:600;line-height:1.3;text-decoration:none!important}
.azc1-blk .azc1-blk-links a:hover{border-color:var(--c1-acc,#5b4cf0)}.azc1-blk .azc1-blk-links a:focus-visible{outline:2px solid var(--c1-acc,#5b4cf0);outline-offset:2px}
@media (max-width:600px){.azc1-blk{padding:16px}.azc1-blk-links a{font-size:14px}}
/* AZCOMTIDY1 SRCA11Y1: citation chips are 24x24 targets (WCAG 2.5.8) */
.azc1-cites a.azs1-cite{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:24px;padding:0 6px;margin-left:3px;border-radius:12px;line-height:1;vertical-align:1px}

/* QFIX4 UPLOAD1: the paperclip, the attached-file chips (inside the box, above the text) and the drop highlight */
form.azs1-box.azc1-has-att{flex-wrap:wrap}
form.azs1-box .azc1-atts{flex:1 0 100%;order:-1;min-width:0;padding:6px 2px 0}
form.azs1-box .azc1-atts ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
form.azs1-box .azc1-att{display:flex;align-items:center;gap:8px;max-width:100%;padding:4px 4px 4px 6px;border:1px solid var(--c1-line);border-radius:12px;background:var(--c1-chip);color:var(--c1-fg);font-size:14px;line-height:1.3}
form.azs1-box .azc1-att img{width:28px;height:28px;object-fit:cover;border-radius:6px;flex:none}
.azc1-att-k{display:inline-grid;place-items:center;min-width:34px;height:24px;padding:0 4px;border-radius:6px;background:var(--c1-acc);color:#fff;font:700 11px/1 system-ui,sans-serif;letter-spacing:.04em;flex:none}
form.azs1-box .azc1-att-n{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:min(240px,52vw)}
form.azs1-box .azc1-att button{flex:none;width:28px;height:28px;border:0;border-radius:8px;background:transparent;color:var(--c1-fg);font-size:20px;line-height:1;cursor:pointer}
form.azs1-box .azc1-att button:hover{background:var(--c1-line)}
form.azs1-box .azc1-atterr{margin:6px 0 0;font-size:14px;line-height:1.4;color:var(--c1-fg)}
form.azs1-box .azc1-atterr::before{content:"! ";font-weight:700;color:#d92d20}
html[data-azd1][data-azd1][data-azd1][data-azd1][data-azd1] form.azs1-box button.azc1-attbtn,form.azs1-box button.azc1-attbtn{flex:none;align-self:center;display:grid;place-items:center;width:44px;height:44px;min-width:44px;padding:0;margin:0;border:0;border-radius:999px;background:transparent;color:var(--c1-fg);cursor:pointer;box-shadow:none}
form.azs1-box button.azc1-attbtn:hover{background:var(--c1-chip)}
form.azs1-box button.azc1-attbtn:focus-visible,form.azs1-box .azc1-att button:focus-visible{outline:3px solid var(--c1-acc);outline-offset:2px}
.azs1.azc1-on form.azs1-box button.azc1-attbtn{align-self:flex-end;margin-bottom:4px}
form.azs1-box.azc1-has-att::before{top:auto!important;bottom:24px!important;margin-top:0!important}
form.azs1-box .azc1-att-d{color:var(--c1-mut);font-variant-numeric:tabular-nums}
form.azs1-box .azc1-attnote{margin:6px 0 0;font-size:14px;line-height:1.4;color:var(--c1-mut)}
form.azs1-box .azc1-attnote a,form.azs1-box .azc1-atterr a{color:var(--c1-acc);font-weight:600;text-decoration:underline}
form.azs1-box .azc1-prog{margin:8px 0 0}
form.azs1-box .azc1-prog-bar{height:6px;border-radius:99px;background:var(--c1-line);overflow:hidden}
form.azs1-box .azc1-prog-bar span{display:block;height:100%;background:linear-gradient(90deg,var(--c1-acc),var(--c1-acc2));transition:width .4s ease}
form.azs1-box .azc1-prog p{margin:4px 0 0;font-size:14px;color:var(--c1-fg)}
form.azs1-box button.azc1-attbtn:disabled{opacity:.45;cursor:progress}
html:has(form.azs1-box.azc1-has-att) .azc1-jump{bottom:calc(var(--azc1-boxh,120px) + 34px)!important}
form.azs1-box.azc1-drop{outline:3px dashed var(--c1-acc)!important;outline-offset:3px}
.azc1-uatts{list-style:none;margin:0 0 6px;padding:0;display:flex;flex-wrap:wrap;gap:6px;justify-content:flex-end}
.azc1-uatts li{display:flex;align-items:center;gap:6px;font-size:14px}
.azc1-uatts li.azc1-skip img{opacity:.45}
.azc1-skipnote{font-size:13px;color:var(--c1-mut)}
.azc1-uatts img{max-width:180px;max-height:180px;border-radius:12px;display:block}
@media (max-width:600px){form.azs1-box .azc1-att-n{max-width:44vw}html[data-azd1][data-azd1][data-azd1][data-azd1][data-azd1] form.azs1-box button.azc1-attbtn,form.azs1-box button.azc1-attbtn{width:40px;height:40px;min-width:40px}.azc1-uatts img{max-width:140px;max-height:140px}}

/* CITESEP1: the citation separators are for copy, screen readers and plain text only */
.azc1-vh{position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important;border:0!important}

/* AZREAD1 (Todd 11-03 "so hard to read"): a calm reading column, bigger text, readable source cards */
.azc1-a,.azc1-u,.azc1-q{max-width:720px;margin-left:auto;margin-right:auto}
.azc1-md{font-size:17px;line-height:1.6;max-width:720px}
.azc1-md p{margin:0 0 14px}
.azc1-md h2{font-size:21px;margin:28px 0 10px;line-height:1.3}
.azc1-md h3{font-size:18.5px;margin:22px 0 8px;line-height:1.35}
.azc1-md ul,.azc1-md ol{margin:0 0 16px;padding-left:26px}
.azc1-md li{margin:7px 0;padding-left:2px}
.azc1-md li::marker{color:var(--c1-acc)}
.azc1-title{font-size:23px;line-height:1.3;font-weight:800;color:var(--c1-fg);margin:0 0 12px}
.azc1-srch{font-size:14px;font-weight:700;letter-spacing:.02em;color:var(--c1-fg);margin:22px 0 10px}
.azc1-srcgrid{gap:10px}
.azc1-sc{min-height:0;padding:12px 14px;gap:6px;background:var(--c1-card);color:var(--c1-fg)}
.azc1-sc-h{font-size:13.5px;color:var(--c1-fg)}
.azc1-sc-site{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.azc1-sc>b{font-size:15px;line-height:1.35;font-weight:650;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
@media (max-width:640px){.azc1-md{font-size:17px}.azc1-title{font-size:21px}.azc1-md h2{font-size:20px}}
/* CITENW1 */ .azc1-nw{white-space:nowrap}

/* HIST3 (AZCOM-LEAD-3 11-04): the history panel title keeps its size on phones */
.azh-panel .azh-title{font-size:18px;line-height:1.3}
.azc1-side-note a{color:inherit;text-decoration:underline;font-weight:600}
/* SIDEPUSH1 (AZCOM-LEAD-4 11-04): on wide screens the open Chats sidebar pushes the home over instead of covering the hero text */
@media (min-width:1024px){html.azc1-side-open main .azs1:not(.azc1-on),html[data-azd1][data-azd1][data-azd1][data-azd1][data-azd1].azc1-side-open main .azs1:not(.azc1-on){padding-left:272px!important;box-sizing:border-box!important;transition:padding-left .2s ease}}

/* NOTEFIT2 (AZCOM-A 11-10): the small counter line sits in its own 20px strip under the pinned ask box, never under its edge */
html[data-azd1][data-azd1][data-azd1][data-azd1][data-azd1] .azs1.azc1-on .azs1-box{bottom:calc(max(4px,env(safe-area-inset-bottom)) + 20px)!important}
html[data-azd1][data-azd1][data-azd1][data-azd1][data-azd1] .azs1.azc1-on .azs1-note{bottom:max(3px,env(safe-area-inset-bottom))!important;line-height:16px!important;height:16px!important}
.azs1.azc1-on .azs1-box{bottom:calc(max(4px,env(safe-area-inset-bottom)) + 20px)}
.azs1.azc1-on .azs1-note{bottom:max(3px,env(safe-area-inset-bottom));line-height:16px;height:16px}
/* SPFIT1 (AZCOM-A 11-10): the pin spacer is only as tall as the pin needs once the answer is done */
.azs1.azc1-on .azs1-out::after{height:var(--azc1-sp,max(0px,calc(100vh - 300px)))}
