/* Generated by scripts/sync-extension.mjs from Chrome Extension/content.js. Don't edit by hand. */
.oui, .oui * { box-sizing: border-box; margin: 0; }
.oui {
    --spring: cubic-bezier(.34, 1.4, .5, 1);
    --ease: cubic-bezier(.2, .9, .25, 1);
    --w: 340px; --h: 440px; --fs: 13.5px;
    --moon: #22B8C9;
    --aurora: radial-gradient(circle at 22% 80%, #1FD1E6 0%, transparent 60%), radial-gradient(circle at 85% 15%, #FF7AD9 0%, transparent 58%), radial-gradient(circle at 90% 90%, #FFB36B 0%, transparent 50%), linear-gradient(135deg, #5B6BFF, #8A4DFF);
    --bg: #ffffff; --fg: #0d0d0d; --fg2: #5d5d5d; --fg3: #8f8f8f;
    --line: rgba(0,0,0,.07); --line2: rgba(0,0,0,.12);
    --hover: rgba(0,0,0,.045); --press: rgba(0,0,0,.08);
    --bubble: #f1f1f1; --field: #ffffff; --menu: #ffffff; --code: #f7f7f8;
    --ink: #0d0d0d; --ink-fg: #ffffff; --ink-off: #e3e3e3; --ink-off-fg: #ffffff;
    --sh-lo: #a3a3a3; --sh-hi: #0d0d0d;
    --err-bg: #fff1f0; --err: #c4320a;
    --shadow: 0 0 0 .5px rgba(0,0,0,.1), 0 2px 6px -1px rgba(0,0,0,.06), 0 16px 48px -12px rgba(0,0,0,.22);
    --menu-shadow: 0 0 0 .5px rgba(0,0,0,.1), 0 10px 32px -6px rgba(0,0,0,.2);
    font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    color: var(--fg);
  }
.oui[data-dark] {
    --bg: #212121; --fg: #ececec; --fg2: #b0b0b0; --fg3: #858585;
    --line: rgba(255,255,255,.07); --line2: rgba(255,255,255,.13);
    --hover: rgba(255,255,255,.06); --press: rgba(255,255,255,.1);
    --bubble: #303030; --field: #303030; --menu: #2b2b2b; --code: #171717;
    --ink: #ffffff; --ink-fg: #0d0d0d; --ink-off: #474747; --ink-off-fg: #212121;
    --sh-lo: #6b6b6b; --sh-hi: #ffffff;
    --err-bg: rgba(255,90,70,.1); --err: #ff8a7a;
    --shadow: 0 0 0 .5px rgba(255,255,255,.12), 0 16px 48px -10px rgba(0,0,0,.7);
    --menu-shadow: 0 0 0 .5px rgba(255,255,255,.12), 0 12px 32px -6px rgba(0,0,0,.6);
  }
.oui[data-size="compact"] { --w: 300px; --h: 390px; }
.oui[data-size="wide"] { --w: 400px; --h: 520px; }
.oui[data-text="small"] { --fs: 12.5px; }
.oui[data-text="large"] { --fs: 14.5px; }
.oui[data-tier="luna"] { --moon: #7F8CFF; }
.oui[data-tier="sol"] { --moon: #FF7A45; }
.oui [hidden] { display: none !important; }
.oui button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.oui .i { width: 16px; height: 16px; flex: none; display: block; }
.oui .orb { display: inline-flex; flex: none; border-radius: 50%; }
.oui .orb .mark { display: block; }
.oui .trig { position: fixed; width: 0; height: 0; pointer-events: none; }
.oui .hit { position: absolute; left: -10px; top: -10px; width: 20px; height: 20px; border-radius: 50%; pointer-events: auto; cursor: pointer; }
.oui .tile {
    position: absolute; left: -4.5px; top: -4.5px; width: 9px; height: 9px; border-radius: 50%;
    background: var(--aurora); background-size: 100% 100%; color: #fff; pointer-events: auto; cursor: pointer;
    display: grid; place-items: center; overflow: hidden;
    box-shadow: 0 0 0 1.5px #fff, 0 1px 4px rgba(60,40,160,.35);
    transition: left .42s var(--spring), top .42s var(--spring), width .42s var(--spring), height .42s var(--spring),
                border-radius .32s var(--ease), box-shadow .3s ease;
  }
.oui .trig.show .tile { animation: dotIn .36s var(--spring); }
@keyframes dotIn { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.oui .tile .spark { width: 13px; height: 13px; opacity: 0; transform: scale(.3) rotate(-90deg); transition: opacity .16s ease .06s, transform .5s var(--spring); filter: drop-shadow(0 0 3px rgba(255,255,255,.7)); }
.oui .trig:not(.open):is(:hover, .hov) .tile {
    left: var(--tx, 5px); top: var(--ty, 5px); width: 26px; height: 26px; border-radius: var(--rad, 3px 10px 10px 10px);
    box-shadow: 0 0 0 1px rgba(255,255,255,.7), 0 6px 18px -4px rgba(90,60,220,.55), 0 2px 6px rgba(0,0,0,.12);
    animation: aurora 3s ease-in-out infinite alternate;
  }
.oui .trig:not(.open):is(:hover, .hov) .tile .spark { opacity: 1; transform: none; }
.oui .trig:active .tile { transform: scale(.92); }
@keyframes aurora { from { filter: hue-rotate(0deg) saturate(1.05); } to { filter: hue-rotate(28deg) saturate(1.2); } }
.oui .trig:not(.open):is(:hover, .hov) .hit { left: var(--bx); top: var(--by); width: var(--bw); height: var(--bh); border-radius: 8px; }
.oui .trig.open:not(:is(:hover, .hov)) .tile { animation: breathe 2.4s ease-in-out infinite; }
@keyframes breathe { 50% { box-shadow: 0 0 0 1.5px #fff, 0 0 0 5px rgba(120,100,255,.18), 0 1px 4px rgba(60,40,160,.35); } }
.oui .probing, .oui .probing * { pointer-events: none !important; }
.oui .aura { position: fixed; inset: 0; pointer-events: none; overflow: hidden; }
.oui .aura { --amp: 1; }
.oui .aura[data-ripple="subtle"] { --amp: .55; }
.oui .aura[data-ripple="bold"] { --amp: 1.35; }
.oui .aura .wash { position: absolute; inset: 0; opacity: 0; background: radial-gradient(circle at var(--x) var(--y), rgba(123,97,255,.22), rgba(31,209,230,.12) 30%, rgba(255,122,217,.06) 55%, transparent 75%); animation: wash 1.6s ease-out forwards; }
@keyframes wash { 15% { opacity: min(1, var(--amp)); } 100% { opacity: 0; } }
.oui .aura .wave { --c1: rgba(123,97,255,.55); --c2: rgba(31,209,230,.4); position: absolute; left: var(--x); top: var(--y); width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%;
    background: radial-gradient(circle, transparent 52%, var(--c1) 64%, var(--c2) 72%, transparent 80%);
    filter: blur(6px); opacity: 0; animation: wave 1.35s cubic-bezier(.2,.7,.2,1) forwards; }
.oui .aura .wave.w2 { animation-delay: .12s; --c1: rgba(255,122,217,.5); --c2: rgba(255,179,107,.4); }
.oui .aura .wave.w3 { animation-delay: .24s; --c1: rgba(31,209,230,.45); --c2: rgba(91,107,255,.35); }
@keyframes wave { 0% { opacity: min(1, calc(.95 * var(--amp))); transform: scale(.2); } 100% { opacity: 0; transform: scale(var(--s)); } }
.oui .aura .wave { transition: left .18s ease-out, top .18s ease-out; }
.oui .aura .glow { position: absolute; inset: -48px; opacity: 0; filter: blur(24px); animation: edge 1.9s ease-in-out forwards; }
.oui .aura .ring { position: absolute; inset: 0; overflow: hidden; padding: 68px;
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.oui .aura .cone { position: absolute; left: 50%; top: 50%; width: 160vmax; height: 160vmax; margin: -80vmax 0 0 -80vmax;
    background: conic-gradient(from 0deg, #5B6BFF, #1FD1E6, #9BF0C9, #FFB36B, #FF7AD9, #8A4DFF, #5B6BFF); animation: spin 2.4s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes edge { 0% { opacity: 0; } 20% { opacity: 1; } 65% { opacity: 1; } 100% { opacity: 0; } }
.oui .aura.hold .glow { animation: edgeIn .5s ease-out forwards, pulse 2.6s ease-in-out .5s infinite; }
@keyframes edgeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes pulse { 50% { opacity: .7; } }
.oui .aura.leaving { animation: fadeOut .45s ease-in forwards; }
@keyframes fadeOut { to { opacity: 0; } }
.oui .magic { position: fixed; inset: 0; pointer-events: none; }
.oui .magic > svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.oui .hint .mark { flex: none; display: block; }
.oui .lasso path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.oui .lasso .lg { stroke: url(#orrieLg); stroke-width: 12; opacity: .35; filter: blur(6px); }
.oui .lasso .ln { stroke: url(#orrieLg); stroke-width: 4; }
.oui .lasso .lw { stroke: rgba(255,255,255,.9); stroke-width: 1.2; }
.oui .lasso .lf { fill: url(#orrieLg); stroke: none; opacity: 0; }
.oui .lasso.closed .lf { animation: scan .55s ease-out forwards; }
@keyframes scan { 30% { opacity: .28; } 100% { opacity: .12; } }
.oui .lasso { transform-box: fill-box; transform-origin: center; transition: transform .55s cubic-bezier(.5,0,.2,1), opacity .55s ease-in; }
.oui .lasso.fade { opacity: 0; transition: opacity .45s ease .25s; }
.oui .spk { position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; pointer-events: none;
    clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
    animation: spk .7s ease-out forwards; }
@keyframes spk { 0% { transform: translate(0,0) scale(.4) rotate(0); opacity: 1; } 100% { transform: translate(var(--dx), var(--dy)) scale(1.1) rotate(90deg); opacity: 0; } }
.oui .magic .dim { position: absolute; inset: 0; background: rgba(12,10,30,.07); animation: fadeIn .4s ease; }
.oui .hint {
    position: fixed; left: 50%; top: 18px; transform: translateX(-50%); pointer-events: none;
    display: flex; align-items: center; gap: 12px; padding: 8px 10px 8px 8px; border-radius: 18px;
    background: rgba(20,20,26,.86); color: #fff; font-size: 13px; white-space: nowrap;
    backdrop-filter: blur(18px) saturate(1.6); -webkit-backdrop-filter: blur(18px) saturate(1.6);
    box-shadow: 0 0 0 .5px rgba(255,255,255,.16), 0 12px 32px -10px rgba(40,20,120,.55);
    animation: hintIn .5s var(--spring);
  }
.oui .hint .demo { width: 44px; height: 32px; border-radius: 10px; background: rgba(255,255,255,.08); flex: none; display: grid; place-items: center; }
.oui .hint .demo svg { width: 36px; height: 24px; overflow: visible; }
.oui .hint .demo .ln { stroke: rgba(255,255,255,.35); stroke-width: 2.4; stroke-linecap: round; }
.oui .hint .demo .loop { fill: none; stroke: url(#orrieDemo); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 90; stroke-dashoffset: 90; animation: demoDraw 2.6s ease-in-out infinite; }
.oui .hint .demo .tip { fill: #fff; offset-path: path("M30 6 C 38 12, 30 21, 18 21 C 5 21, 1 13, 7 7 C 12 2, 24 2, 31 6"); animation: demoTip 2.6s ease-in-out infinite; }
@keyframes demoDraw { 0% { stroke-dashoffset: 90; opacity: 1; } 55% { stroke-dashoffset: 0; opacity: 1; } 85% { opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes demoTip { 0% { offset-distance: 0%; opacity: 1; } 55% { offset-distance: 100%; opacity: 1; } 70%, 100% { offset-distance: 100%; opacity: 0; } }
.oui .hint .tx { display: flex; flex-direction: column; line-height: 1.3; }
.oui .hint .tx b { font-weight: 600; }
.oui .hint .tx small { color: rgba(255,255,255,.6); font-size: 12px; }
.oui .hint kbd { font: inherit; font-size: 11.5px; padding: 3px 7px; border-radius: 7px; background: rgba(255,255,255,.12); color: rgba(255,255,255,.8); margin-left: 4px; }
@keyframes hintIn { from { opacity: 0; transform: translate(-50%, -10px) scale(.96); } to { opacity: 1; transform: translateX(-50%); } }
.oui .sel { position: absolute; border-radius: 14px; pointer-events: none;
    box-shadow: 0 0 0 200vmax rgba(12,10,30,.26), 0 0 0 1px rgba(255,255,255,.55), 0 0 24px 2px rgba(123,97,255,.45);
    animation: selIn .45s var(--spring); transition: box-shadow .3s; }
@keyframes selIn { from { opacity: 0; transform: scale(1.06); } to { opacity: 1; transform: none; } }
.oui .sel .h { position: absolute; width: 26px; height: 26px; pointer-events: auto; }
.oui .sel .h::before { content: ""; position: absolute; inset: 0; border: 4px solid #fff; filter: drop-shadow(0 0 4px rgba(123,97,255,.9)) drop-shadow(0 1px 2px rgba(0,0,0,.3)); }
.oui .sel .h.tl { left: -6px; top: -6px; cursor: nwse-resize; }
.oui .sel .h.tl::before { border-right: 0; border-bottom: 0; border-top-left-radius: 16px; }
.oui .sel .h.tr { right: -6px; top: -6px; cursor: nesw-resize; }
.oui .sel .h.tr::before { border-left: 0; border-bottom: 0; border-top-right-radius: 16px; }
.oui .sel .h.bl { left: -6px; bottom: -6px; cursor: nesw-resize; }
.oui .sel .h.bl::before { border-right: 0; border-top: 0; border-bottom-left-radius: 16px; }
.oui .sel .h.br { right: -6px; bottom: -6px; cursor: nwse-resize; }
.oui .sel .h.br::before { border-left: 0; border-top: 0; border-bottom-right-radius: 16px; }
.oui .sel.resizing { transition: none; }
.oui .sel::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: #fff; opacity: 0; pointer-events: none; }
.oui .sel.flash::before { animation: flash .6s ease-out; }
@keyframes flash { 0% { opacity: .75; } 100% { opacity: 0; } }
.oui .frozen { position: fixed; left: 0; top: 0; width: 0; height: 0; max-width: none; object-fit: fill; display: block; pointer-events: none; transition: opacity .28s ease; }
.oui .frozen.leaving { opacity: 0; }
.oui .capturing .frozen { visibility: hidden !important; }
.oui .magic { transition: opacity .28s ease; }
.oui .magic.leaving { opacity: 0; }
.oui .aura.quiet .wash, .oui .aura.quiet .wave { display: none; }
.oui .fly { position: fixed; inset: 0; pointer-events: none; }
.oui .ghost { position: fixed; object-fit: cover; border-radius: 14px; box-shadow: 0 12px 40px -8px rgba(40,20,140,.5), 0 0 0 2px #fff;
    transform-origin: center; transition: transform .58s cubic-bezier(.6,-.05,.25,1), border-radius .58s ease, opacity .2s ease .45s; }
.oui .ghost.go { opacity: .2; }
.oui .af.arriving { opacity: 0; }
.oui .af.landed { animation: land .4s var(--spring); }
@keyframes land { from { transform: scale(.7); } to { transform: none; } }
.oui .pop.tuck { opacity: 0; transform: scale(.97); transition: opacity .12s ease, transform .12s ease; }
.oui .pop.untuck { animation: popIn .32s var(--spring); }
.oui .scan-btn.on { background: color-mix(in srgb, #7B61FF 16%, transparent); color: #6a52f0; }
.oui[data-dark] .scan-btn.on { color: #b3a6ff; }
.oui .hint .x { pointer-events: auto; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; color: rgba(255,255,255,.75); margin-left: 2px; }
.oui .hint .x:is(:hover, .hov) { background: rgba(255,255,255,.14); color: #fff; }
.oui .hint .x .i { width: 15px; height: 15px; }
.oui .sel.busy::after { content: ""; position: absolute; inset: 0; border-radius: inherit;
    background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%); background-size: 250% 100%; animation: shimmer 1s linear infinite; }
.oui .magic.has-sel .dim { display: none; }
.oui .capturing .pop, .oui .capturing .aura, .oui .capturing .magic, .oui .capturing .trig { visibility: hidden !important; }
@media (prefers-reduced-motion: reduce) {
.oui .aura .wave, .oui .aura .cone { animation: none; opacity: 0; }
}
.oui .pop {
    position: fixed; width: var(--w); max-width: calc(100vw - 16px);
    display: flex; flex-direction: column; overflow: hidden;
    background: var(--bg); border-radius: 22px; box-shadow: var(--shadow);
    font-size: var(--fs); line-height: 1.55; letter-spacing: -.003em;
    animation: popIn .32s var(--spring);
    transition: height .42s var(--ease);
  }
.oui .pop.chat { height: var(--h); max-height: calc(100vh - 16px); }
.oui .pop.resizing { transition: none; user-select: none; }
.oui .rz { position: absolute; z-index: 8; }
.oui .rz.n, .oui .rz.s { left: 14px; right: 14px; height: 7px; cursor: ns-resize; }
.oui .rz.n { top: 0; }
.oui .rz.s { bottom: 0; }
.oui .rz.e, .oui .rz.w { top: 14px; bottom: 14px; width: 7px; cursor: ew-resize; }
.oui .rz.e { right: 0; }
.oui .rz.w { left: 0; }
.oui .rz.nw, .oui .rz.ne, .oui .rz.sw, .oui .rz.se { width: 16px; height: 16px; }
.oui .rz.nw { left: 0; top: 0; cursor: nwse-resize; }
.oui .rz.se { right: 0; bottom: 0; cursor: nwse-resize; }
.oui .rz.ne { right: 0; top: 0; cursor: nesw-resize; }
.oui .rz.sw { left: 0; bottom: 0; cursor: nesw-resize; }
.oui .rz.se::after { content: ""; position: absolute; right: 5px; bottom: 5px; width: 7px; height: 7px; border-right: 2px solid var(--fg3); border-bottom: 2px solid var(--fg3); border-bottom-right-radius: 3px; opacity: 0; transition: opacity .15s; }
.oui .pop:is(:hover, .hov) .rz.se::after, .oui .pop.resizing .rz.se::after { opacity: .7; }
.oui .pop:not(.chat) .rz.n, .oui .pop:not(.chat) .rz.s { display: none; }
@keyframes popIn { from { opacity: 0; transform: scale(.9); filter: blur(3px); } to { opacity: 1; transform: none; filter: none; } }
.oui .pop.closing { animation: popOut .16s ease-in forwards; }
@keyframes popOut { to { opacity: 0; transform: scale(.96); filter: blur(2px); } }
.oui .head { display: flex; align-items: center; gap: 2px; padding: 8px 8px 2px 8px; cursor: grab; user-select: none; flex: none; }
.oui .head:active { cursor: grabbing; }
.oui .picker { display: flex; align-items: center; gap: 7px; height: 32px; padding: 0 8px; border-radius: 10px; flex: 0 1 auto; min-width: 0; white-space: nowrap; font-weight: 600; font-size: 14px; letter-spacing: -.01em; }
.oui .picker .mark { width: 18px; height: 18px; display: block; }
.oui .pm { display: flex; filter: drop-shadow(0 1px 3px rgba(91,107,255,.35)); }
.oui .picker .tn { color: var(--fg2); font-weight: 450; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.oui .picker .pm, .oui .picker .chev { flex: none; }
.oui .head .grow { flex: 1 1 0; min-width: 4px; }
.oui[data-size="compact"] .head { gap: 0; }
.oui[data-size="compact"] .hb { width: 30px; }
.oui .picker .chev { width: 14px; height: 14px; color: var(--fg3); margin-left: -2px; transition: transform .2s; }
.oui .picker[aria-expanded="true"] .chev { transform: rotate(180deg); }
.oui .picker:is(:hover, .hov), .oui .hb:is(:hover, .hov), .oui .picker[aria-expanded="true"], .oui .hb[aria-expanded="true"] { background: var(--hover); }
.oui .grow { flex: 1; }
.oui .hb { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; color: var(--fg2); flex: none; }
.oui .hb:is(:hover, .hov) { color: var(--fg); }
.oui .hb .i { width: 17px; height: 17px; }
.oui .hb[data-act="new"] { display: none; }
.oui .pop.chat .hb[data-act="new"] { display: grid; animation: fadeIn .2s; }
.oui .menu {
    position: absolute; z-index: 5; min-width: 236px; padding: 6px;
    background: var(--menu); border-radius: 16px; box-shadow: var(--menu-shadow);
    animation: menuIn .18s var(--ease); transform-origin: top left;
  }
.oui .menu.right { transform-origin: top right; }
@keyframes menuIn { from { opacity: 0; transform: scale(.95) translateY(-4px); } to { opacity: 1; transform: none; } }
.oui .ml { padding: 6px 10px 4px; font-size: 12px; color: var(--fg3); }
.oui .mi { width: 100%; display: flex; align-items: center; gap: 11px; padding: 8px 10px; border-radius: 10px; text-align: left; font-size: 13.5px; }
.oui .mi:is(:hover, .hov) { background: var(--hover); }
.oui .mi .i { width: 17px; height: 17px; color: var(--fg2); }
.oui .mi .tx { flex: 1; display: flex; flex-direction: column; line-height: 1.3; }
.oui .mi small { color: var(--fg3); font-size: 12px; }
.oui .mi .tick { width: 16px; height: 16px; color: var(--fg); visibility: hidden; }
.oui .mi.on .tick { visibility: visible; }
.oui .mi kbd { font: inherit; font-size: 12px; color: var(--fg3); }
.oui .msep { height: 1px; background: var(--line); margin: 5px 6px; }
.oui .body { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.oui .acts { padding: 2px 6px 6px; display: flex; flex-direction: column; }
.oui .act { display: flex; align-items: center; gap: 11px; height: 36px; padding: 0 10px; border-radius: 11px; text-align: left; color: var(--fg); animation: rowIn .3s var(--ease) both; }
.oui .act .i { width: 17px; height: 17px; color: var(--fg2); }
.oui .act span { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.oui .act .go { width: 14px; height: 14px; color: var(--fg3); opacity: 0; transform: translateX(-4px); transition: opacity .15s, transform .2s var(--ease); }
.oui .act:is(:hover, .hov), .oui .act.kb { background: var(--hover); }
.oui .act:is(:hover, .hov) .go, .oui .act.kb .go { opacity: 1; transform: none; }
@keyframes rowIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.oui .scroll { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 6px 16px 14px; scrollbar-width: thin; scrollbar-color: var(--line2) transparent; }
.oui .thread { display: flex; flex-direction: column; gap: 16px; }
.oui .u { align-self: flex-end; max-width: 84%; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; animation: rowIn .3s var(--ease); }
.oui .u .q { display: flex; gap: 6px; color: var(--fg3); font-size: .9em; max-width: 100%; }
.oui .u .q .i { width: 13px; height: 13px; margin-top: 3px; }
.oui .u .q span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.oui .u .b { background: var(--bubble); padding: 7px 14px; border-radius: 20px; white-space: pre-wrap; word-wrap: break-word; user-select: text; }
.oui .a { display: flex; flex-direction: column; gap: 6px; }
.oui .think { display: flex; align-items: center; gap: 8px; height: 24px; }
.oui .think .mark { width: 18px; height: 18px; animation: think 1.6s ease-in-out infinite; }
.oui .think .mark .orbfill { animation: aurora 1.2s ease-in-out infinite alternate; transform-origin: center; }
.oui .think .mark .glint { transform-origin: 12px 12px; animation: twinkle 1.6s cubic-bezier(.5,0,.3,1) infinite; }
@keyframes think { 50% { transform: scale(.86); } }
@keyframes twinkle { 0% { transform: rotate(0) scale(1); } 50% { transform: rotate(90deg) scale(.7); } 100% { transform: rotate(180deg) scale(1); } }
.oui .shimmer {
    background: linear-gradient(90deg, var(--sh-lo) 0%, var(--sh-lo) 35%, var(--sh-hi) 50%, var(--sh-lo) 65%, var(--sh-lo) 100%);
    background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
    animation: shimmer 2.1s linear infinite; font-weight: 500;
  }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: 0% 0; } }
.oui .swap { animation: swapIn .35s var(--ease); }
@keyframes swapIn { from { opacity: 0; transform: translateY(3px); filter: blur(2px); } to { opacity: 1; transform: none; filter: none; } }
.oui .thought { display: inline-flex; align-items: center; gap: 4px; color: var(--fg3); font-size: .93em; align-self: flex-start; }
.oui .thought:is(:hover, .hov) { color: var(--fg2); }
.oui .thought .i { width: 13px; height: 13px; transition: transform .2s; }
.oui .thought[aria-expanded="true"] .i { transform: rotate(90deg); }
.oui .reason { border-left: 2px solid var(--line2); padding: 2px 0 2px 12px; color: var(--fg2); font-size: .93em; }
.oui .reason > * + * { margin-top: .45em; }
.oui .reason strong { color: var(--fg); font-weight: 600; }
.oui .md { word-wrap: break-word; user-select: text; }
.oui .md > * + * { margin-top: .6em; }
.oui .md h1, .oui .md h2, .oui .md h3, .oui .md h4 { font-size: 1.05em; font-weight: 600; margin-top: .9em; }
.oui .md ul, .oui .md ol { padding-left: 1.3em; }
.oui .md li + li { margin-top: .25em; }
.oui .md li::marker { color: var(--fg3); }
.oui .md code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .88em; background: var(--bubble); padding: .1em .35em; border-radius: 6px; }
.oui .md pre { background: var(--code); border: .5px solid var(--line2); border-radius: 12px; padding: 10px 12px; overflow-x: auto; }
.oui .md pre code { background: none; padding: 0; }
.oui .md a { color: inherit; text-decoration: underline; text-decoration-color: var(--fg3); text-underline-offset: 2px; }
.oui .md strong { font-weight: 600; }
.oui .md.streaming > :last-child:not(ul):not(ol):not(pre)::after, .oui .md.streaming > :is(ul, ol):last-child > li:last-child::after {
    content: ""; display: inline-block; width: .62em; height: .62em; margin-left: .3em; border-radius: 50%;
    background: var(--fg); vertical-align: .02em; animation: caret 1s ease-in-out infinite;
  }
@keyframes caret { 50% { transform: scale(.7); opacity: .5; } }
.oui .errcard { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; padding: 10px 12px; border-radius: 14px; background: var(--err-bg); color: var(--err); font-size: .95em; }
.oui .errcard button { font-weight: 500; padding: 4px 10px; border-radius: 999px; background: var(--ink); color: var(--ink-fg); font-size: .92em; }
.oui .tools { display: flex; align-items: center; gap: 0; margin-left: -6px; animation: rowIn .25s var(--ease); }
.oui .tb { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; color: var(--fg2); position: relative; }
.oui .tb:is(:hover, .hov) { background: var(--hover); color: var(--fg); }
.oui .tb .i { width: 16px; height: 16px; }
.oui .tb[data-tip]:is(:hover, .hov)::after {
    content: attr(data-tip); position: absolute; bottom: calc(100% + 4px); left: 50%; transform: translateX(-50%);
    background: var(--ink); color: var(--ink-fg); font-size: 11.5px; padding: 3px 7px; border-radius: 7px; white-space: nowrap; pointer-events: none;
    animation: fadeIn .15s ease .35s both;
  }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.oui .apply {
    display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 13px 0 10px; margin-left: auto;
    border-radius: 999px; background: var(--ink); color: var(--ink-fg); font-size: .93em; font-weight: 500;
    transition: transform .12s, opacity .15s, background .2s;
  }
.oui .apply .i { width: 15px; height: 15px; }
.oui .apply:is(:hover, .hov) { opacity: .86; }
.oui .apply:active { transform: scale(.96); }
.oui .apply.done { background: var(--moon); color: #fff; }
.oui .foot { padding: 0 8px 8px; flex: none; }
.oui .composer {
    background: var(--field); border-radius: 24px; padding: 6px 6px 6px 8px; cursor: text;
    box-shadow: 0 0 0 .5px var(--line2), 0 2px 10px -3px rgba(0,0,0,.07);
    transition: box-shadow .2s;
  }
.oui .composer.active, .oui .composer:focus-within { box-shadow: 0 0 0 .5px var(--line2), 0 0 0 3px var(--hover), 0 2px 10px -3px rgba(0,0,0,.07); }
.oui .quote { display: flex; align-items: flex-start; gap: 8px; margin: 0 0 4px; padding: 7px 6px 7px 10px; border-radius: 16px; background: var(--hover); color: var(--fg2); font-size: .92em; cursor: default; }
.oui .quote .i { width: 14px; height: 14px; margin-top: 2px; color: var(--fg3); }
.oui .quote span { flex: 1; min-width: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.oui .quote button { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; color: var(--fg3); flex: none; }
.oui .quote button:is(:hover, .hov) { background: var(--press); color: var(--fg); }
.oui .quote button .i { width: 12px; height: 12px; margin: 0; stroke-width: 2.6; }
.oui .row { display: flex; align-items: flex-end; gap: 6px; }
.oui .attach-btn { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; flex: none; color: var(--fg2); }
.oui .attach-btn + .scan-btn { margin-left: -6px; }
.oui .attach-btn:is(:hover, .hov) { background: var(--hover); color: var(--fg); }
.oui .attach-btn .i { width: 18px; height: 18px; }
.oui .att { display: flex; gap: 6px; flex-wrap: wrap; padding: 2px 2px 6px; }
.oui .af { position: relative; height: 56px; border-radius: 14px; overflow: hidden; background: var(--hover); box-shadow: inset 0 0 0 .5px var(--line2); animation: rowIn .25s var(--ease); flex: none; }
.oui .af.img { width: 56px; }
.oui .af img { width: 100%; height: 100%; object-fit: cover; display: block; }
.oui .af.file { display: flex; align-items: center; gap: 9px; padding: 0 12px 0 10px; max-width: 210px; }
.oui .af .fi { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; color: #fff; flex: none; background: #5B6BFF; }
.oui .af .fi.pdf { background: #FF5A4E; }
.oui .af .fi .i { width: 17px; height: 17px; }
.oui .af .fn { min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.oui .af .fn b { font-weight: 500; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.oui .af .fn small { color: var(--fg3); font-size: 11.5px; }
.oui .af .rm { position: absolute; top: 4px; right: 4px; width: 18px; height: 18px; border-radius: 50%; background: rgba(0,0,0,.66); color: #fff; display: grid; place-items: center; opacity: 0; transition: opacity .15s; }
.oui .af:is(:hover, .hov) .rm { opacity: 1; }
.oui .af .rm .i { width: 11px; height: 11px; stroke-width: 3; }
.oui .af.loading::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.5), transparent); background-size: 200% 100%; animation: shimmer 1.2s linear infinite; }
.oui .pop.dragover::after { content: "Drop to attach"; position: absolute; inset: 6px; border-radius: 18px; display: grid; place-items: center; font-weight: 600;
    background: color-mix(in srgb, var(--bg) 82%, #7B61FF); border: 2px dashed color-mix(in srgb, #7B61FF 60%, transparent); color: var(--fg); z-index: 9; }
.oui .u .media { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.oui .u .media img { max-width: 150px; max-height: 130px; border-radius: 14px; display: block; box-shadow: inset 0 0 0 .5px var(--line2); }
.oui .u .media .af { background: var(--bubble); }
.oui .u .media .af .rm { display: none; }
.oui textarea, .oui .editor {
    flex: 1; min-width: 0; resize: none; border: 0; outline: none; background: transparent; color: var(--fg);
    font: inherit; line-height: 22px; padding: 5px 0 5px 6px; max-height: 132px; min-height: 32px;
  }
.oui textarea::placeholder { color: var(--fg3); }
.oui .editor { position: relative; overflow-y: auto; white-space: pre-wrap; word-wrap: break-word; cursor: text; user-select: none; scrollbar-width: none; }
.oui .editor .ph { position: absolute; left: 6px; top: 5px; right: 0; color: var(--fg3); pointer-events: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.oui .editor .selx { background: color-mix(in srgb, #5B6BFF 28%, transparent); border-radius: 2px; }
.oui .editor .caret { display: inline-block; width: 0; height: 1.25em; vertical-align: -.25em; position: relative; }
.oui .editor .caret::after { content: ""; position: absolute; left: -.5px; top: 0; bottom: 0; width: 1.6px; border-radius: 1px; background: var(--fg); opacity: 0; }
.oui .composer.active .editor .caret::after { animation: blink 1.06s steps(1) infinite; }
.oui .editor.typing .caret::after { animation: none !important; opacity: 1 !important; }
@keyframes blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
.oui .send {
    width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; flex: none;
    background: var(--ink); color: var(--ink-fg); transition: background .2s, transform .12s, opacity .2s;
  }
.oui .send:active { transform: scale(.92); }
.oui .send .i { width: 17px; height: 17px; stroke-width: 2.4; }
.oui .send:disabled { background: var(--ink-off); color: var(--ink-off-fg); cursor: default; }
.oui .send .stop { width: 11px; height: 11px; border-radius: 2.5px; background: currentColor; }
