/* Scribe — glowing-blue glass UI. */
:root {
  color-scheme: dark;
  --bg: #060912; --fg: #eaf1ff; --mut: #93a3bd;
  --line: rgba(120,170,255,.14);
  --glass: rgba(18,26,44,.6); --glass2: rgba(24,34,58,.7);
  --accent: #4d9bff; --accent2: #9b6bff; --cyan: #3fe9ff;
  --glow: rgba(77,155,255,.55); --glow-soft: rgba(77,155,255,.2);
  --ok: #34d399; --bad: #ff6b6b;
  --radius: 16px; --shadow: 0 12px 40px rgba(0,0,0,.5);
}
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body { font: 15px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--fg);
  background: var(--bg); overflow: hidden; -webkit-font-smoothing: antialiased; }
h1,h2,h3 { margin: 0; font-weight: 650; letter-spacing: -.01em; }
button, input, textarea { font: inherit; color: inherit; }
.muted { color: var(--mut); } .small { font-size: 12.5px; } .grow { flex: 1; }

/* ambient background */
#bg { position: fixed; inset: 0; z-index: -1; overflow: hidden;
  background: radial-gradient(120% 120% at 75% -10%, #131c33, #0a0e1a 45%, #05060c); }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); }
.orb.a { width: 44vw; height: 44vw; left: -8vw; top: -12vw; background: radial-gradient(circle, #2f6bff, transparent 70%); opacity: .55; }
.orb.b { width: 40vw; height: 40vw; right: -6vw; top: 6vh; background: radial-gradient(circle, #7b3bff, transparent 70%); opacity: .4; }
.orb.c { width: 48vw; height: 48vw; left: 24vw; bottom: -22vw; background: radial-gradient(circle, #19d3ff, transparent 70%); opacity: .26; }

/* top bar */
#top { position: fixed; inset: 0 0 auto 0; height: 56px; z-index: 20; display: flex; align-items: center;
  gap: 12px; padding: 0 14px; background: var(--glass); backdrop-filter: blur(22px) saturate(140%);
  border-bottom: 1px solid var(--line); box-shadow: 0 1px 0 var(--glow-soft); }
.brand { display: flex; align-items: center; gap: 7px; font-size: 17px; }
.brand .logo { filter: drop-shadow(0 0 8px var(--glow)); }
#search { flex: 1; max-width: 360px; height: 36px; padding: 0 14px; border-radius: 999px;
  background: rgba(0,0,0,.28); border: 1px solid var(--line); outline: none; }
#search:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--glow-soft); }
.btn { height: 36px; padding: 0 15px; border-radius: 10px; border: 1px solid var(--line); cursor: pointer;
  background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #fff; font-weight: 600;
  box-shadow: 0 0 16px var(--glow-soft); }
.btn:hover { filter: brightness(1.08); }
.btn.run { background: linear-gradient(135deg, var(--accent), var(--accent2)); }
.icon-btn { height: 36px; width: 38px; border-radius: 10px; border: 1px solid var(--line);
  background: rgba(255,255,255,.05); cursor: pointer; font-size: 16px; }
.icon-btn:hover { background: rgba(255,255,255,.1); }
.only-narrow { display: none; }

/* layout */
#app { position: fixed; inset: 56px 0 0 0; display: grid;
  grid-template-columns: 270px 1fr 340px; gap: 0; }
.pane { overflow: auto; min-height: 0; }
#list { border-right: 1px solid var(--line); padding: 10px; }
.list-head { padding: 4px 6px 8px; }
.note-item { padding: 10px 12px; border-radius: 12px; cursor: pointer; border: 1px solid transparent; margin-bottom: 6px; }
.note-item:hover { background: rgba(77,155,255,.07); }
.note-item.active { background: rgba(77,155,255,.12); border-color: var(--glow); box-shadow: 0 0 16px var(--glow-soft); }
.note-item .t { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.note-item .s { color: var(--mut); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.note-item .d { color: var(--mut); font-size: 11px; margin-top: 3px; }
.empty { color: var(--mut); text-align: center; padding: 30px 10px; font-size: 13px; }

/* editor */
#editor { display: flex; flex-direction: column; padding: 22px clamp(16px, 4vw, 48px); }
#title { background: none; border: none; outline: none; font-size: 26px; font-weight: 700; padding: 0 0 8px;
  letter-spacing: -.02em; }
#body { flex: 1; background: none; border: none; outline: none; resize: none; font-size: 15.5px; line-height: 1.7;
  color: #dde6f5; padding: 8px 0; }
#meta { padding-top: 10px; border-top: 1px solid var(--line); }

/* AI panel */
#ai { border-left: 1px solid var(--line); background: rgba(10,15,26,.4); display: flex; flex-direction: column; }
.tabs { display: flex; gap: 4px; padding: 10px 12px 0; }
.tab { flex: 1; height: 34px; border: 1px solid var(--line); background: rgba(255,255,255,.04); color: var(--mut);
  border-radius: 10px; cursor: pointer; font-size: 13px; }
.tab.active { color: #fff; background: linear-gradient(135deg, rgba(77,155,255,.3), rgba(155,107,255,.3));
  border-color: var(--glow); box-shadow: 0 0 14px var(--glow-soft); }
.tabpane { display: none; padding: 12px; overflow: auto; flex: 1; }
.tabpane.active { display: block; }
.actions-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.act { height: 42px; border: 1px solid var(--line); background: var(--glass2); color: var(--fg); border-radius: 11px;
  cursor: pointer; font-size: 13.5px; text-align: left; padding: 0 12px; transition: border-color .15s, box-shadow .15s; }
.act:hover { border-color: var(--glow); box-shadow: 0 0 16px var(--glow-soft); }
.act.busy { opacity: .6; pointer-events: none; }
.custom { display: flex; gap: 8px; margin: 12px 0; }
.custom input { flex: 1; height: 38px; padding: 0 12px; border-radius: 10px; background: rgba(0,0,0,.28);
  border: 1px solid var(--line); outline: none; }
.custom input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--glow-soft); }
.custom .btn { height: 38px; }

/* result + answer */
.result { margin-top: 6px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: rgba(0,0,0,.25); }
.result-bar { display: flex; align-items: center; gap: 6px; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.result-body { padding: 12px; font-size: 14px; line-height: 1.6; white-space: pre-wrap; word-wrap: break-word; max-height: 50vh; overflow: auto; }
.result-body.spin::after { content: "Thinking…"; color: var(--mut); }
#askBody { margin-top: 10px; }
.chip { height: 28px; padding: 0 11px; border-radius: 8px; border: 1px solid var(--line); cursor: pointer;
  background: rgba(255,255,255,.05); color: var(--fg); font-size: 12px; }
.chip:hover { background: rgba(77,155,255,.14); border-color: var(--glow); }
.chip.danger { color: var(--bad); }

/* prompts library */
.prompts-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.prompts-head .muted { flex: 1; }
.prompt { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; margin-bottom: 8px; background: var(--glass2); }
.prompt .pn { font-weight: 600; font-size: 13.5px; }
.prompt .pp { color: var(--mut); font-size: 12px; margin: 3px 0 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.prompt .prow { display: flex; gap: 6px; }

/* dialog */
dialog { border: 1px solid var(--line); background: var(--glass2); color: var(--fg); border-radius: 16px;
  padding: 18px; width: min(440px, 92vw); box-shadow: var(--shadow); backdrop-filter: blur(24px); }
dialog::backdrop { background: rgba(0,0,0,.55); backdrop-filter: blur(3px); }
.fld { display: flex; flex-direction: column; gap: 4px; margin: 12px 0; font-size: 12.5px; color: var(--mut); }
.fld input, .fld textarea { padding: 9px 11px; border: 1px solid var(--line); border-radius: 10px;
  background: rgba(0,0,0,.28); color: var(--fg); outline: none; resize: vertical; font-size: 14px; }
.fld input:focus, .fld textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--glow-soft); }
.dlg-row { display: flex; align-items: center; gap: 8px; margin-top: 8px; }

/* toast */
#toast { position: fixed; bottom: 18px; left: 50%; transform: translate(-50%, 12px); z-index: 60;
  background: var(--glass2); border: 1px solid var(--line); border-radius: 12px; padding: 10px 16px; font-size: 13.5px;
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; box-shadow: var(--shadow); backdrop-filter: blur(20px); }
#toast.show { opacity: 1; transform: translate(-50%, 0); }

::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-thumb { background: rgba(120,170,255,.22); border-radius: 9px; }
::-webkit-scrollbar-track { background: transparent; }

/* ============================================================ ANIMATIONS + POLISH */
@media (prefers-reduced-motion: no-preference) {
  .orb.a { animation: drift 26s ease-in-out infinite; }
  .orb.b { animation: drift 32s ease-in-out infinite reverse; }
  .orb.c { animation: drift 38s ease-in-out infinite; }
}
@keyframes drift { 0%,100% { transform: translate(0,0) scale(1); } 33% { transform: translate(4vw,3vh) scale(1.08); }
  66% { transform: translate(-3vw,2vh) scale(.95); } }

/* editor toolbar + empty state */
.ed-tools { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }
.icon-btn.ghost { background: rgba(255,255,255,.04); font-size: 14px; width: auto; min-width: 38px; padding: 0 10px; color: var(--mut); }
.icon-btn.ghost:hover { color: var(--fg); border-color: var(--glow); box-shadow: 0 0 14px var(--glow-soft); }
.icon-btn.ghost.on { color: #fff; background: linear-gradient(135deg, rgba(77,155,255,.35), rgba(155,107,255,.35)); border-color: var(--glow); }
.icon-btn.danger:hover { color: var(--bad); border-color: rgba(255,107,107,.5); box-shadow: 0 0 14px rgba(255,107,107,.25); }
.icon-btn.rec { color: #fff; background: linear-gradient(135deg, #ff5a7a, #ff3b6b); border-color: rgba(255,90,122,.6); animation: recPulse 1.2s ease-in-out infinite; }
@keyframes recPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(255,90,122,.5); } 50% { box-shadow: 0 0 0 7px rgba(255,90,122,0); } }
#editor.no-note .ed-tools, #editor.no-note #title, #editor.no-note #tags, #editor.no-note #body, #editor.no-note #meta { display: none; }
.ed-empty { display: none; flex-direction: column; align-items: center; justify-content: center; gap: 14px; height: 100%;
  text-align: center; color: var(--mut); animation: paneIn .4s ease; }
#editor.no-note .ed-empty { display: flex; }
.ed-empty img { width: min(230px, 50%); filter: drop-shadow(0 8px 30px var(--glow)); animation: float 5s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-9px); } }

/* note list entrance + hover */
.note-item { animation: itemIn .32s ease both; transition: background .15s, border-color .15s, box-shadow .15s, transform .12s; }
.note-item:hover { transform: translateX(2px); }
.note-item .pin { color: var(--cyan); margin-right: 4px; }
@keyframes itemIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* tab panes + buttons */
.tabpane.active { animation: paneIn .28s ease; }
@keyframes paneIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.act:active, .btn:active, .chip:active, .tab:active, .icon-btn:active { transform: scale(.96); }
.act.busy { position: relative; overflow: hidden; }
.act.busy::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, var(--glow-soft) 50%, transparent 70%);
  animation: sweep 1.1s linear infinite; }
@keyframes sweep { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

/* result reveal + thinking dots */
.result { animation: resultIn .3s ease; }
.result-body { animation: paneIn .35s ease; }
.result-body.spin, #askBody.spin { animation: none; }
.result-body.spin::after, #askBody.spin::after { content: "● ● ●"; letter-spacing: 2px; color: var(--accent);
  animation: dots 1.2s ease-in-out infinite; }
@keyframes dots { 0%,100% { opacity: .35; } 50% { opacity: 1; text-shadow: 0 0 12px var(--glow); } }
@keyframes resultIn { from { opacity: 0; transform: translateY(8px) scale(.99); } to { opacity: 1; transform: none; } }

/* markdown rendering (AI results + answers) */
.md { white-space: normal; }
.md h1, .md h2, .md h3 { margin: .5em 0 .3em; line-height: 1.25; }
.md h1 { font-size: 1.3em; } .md h2 { font-size: 1.15em; } .md h3 { font-size: 1.05em; }
.md p { margin: .5em 0; }
.md ul, .md ol { margin: .4em 0; padding-left: 1.3em; }
.md li { margin: .2em 0; }
.md li.task { list-style: none; margin-left: -1.1em; }
.md li.task input { margin-right: 7px; accent-color: var(--accent); }
.md code { background: rgba(120,170,255,.12); color: #cfe2ff; padding: 1px 5px; border-radius: 5px;
  font: 12.5px/1.5 ui-monospace, Menlo, monospace; }
.md pre { background: #05080e; border: 1px solid var(--line); border-radius: 9px; padding: 11px; overflow-x: auto; margin: .5em 0; }
.md pre code { background: none; padding: 0; }
.md a { color: var(--cyan); }
.md strong { color: #fff; }
.md blockquote { border-left: 3px solid var(--glow); margin: .5em 0; padding: .1em 0 .1em .8em; color: var(--mut); }

/* ask empty illustration */
.ask-empty { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 24px 10px; text-align: center; color: var(--mut); }
.ask-empty img { width: 150px; filter: drop-shadow(0 6px 22px var(--glow)); animation: float 5s ease-in-out infinite; }

#toast.act-toast { cursor: pointer; }

/* ============================================================ v3: sync, tags, templates, streaming */
/* templates menu */
.new-wrap { position: relative; display: flex; }
.btn.caret { padding: 0 8px; margin-left: -1px; border-top-left-radius: 0; border-bottom-left-radius: 0; }
.new-wrap > .btn:first-child { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.menu { position: absolute; top: 44px; right: 0; z-index: 40; min-width: 180px; padding: 6px;
  background: var(--glass2); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow);
  backdrop-filter: blur(22px); animation: paneIn .18s ease; }
.menu.hidden { display: none; }
.menu button { display: flex; gap: 8px; width: 100%; text-align: left; padding: 9px 11px; border: none;
  background: none; color: var(--fg); border-radius: 9px; cursor: pointer; font-size: 13.5px; }
.menu button:hover { background: rgba(77,155,255,.14); }

/* sync status pill */
.sync-pill { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 11px; border-radius: 999px;
  font-size: 12px; border: 1px solid var(--line); background: rgba(255,255,255,.04); color: var(--mut); }
.sync-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--mut); }
.sync-pill.ok::before { background: var(--ok); box-shadow: 0 0 8px var(--ok); }
.sync-pill.syncing::before { background: var(--cyan); animation: blink 1s infinite; }
.sync-pill.error::before { background: var(--bad); }
@keyframes blink { 50% { opacity: .3; } }

/* tags */
.tags { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding: 2px 0 8px; }
.tag-chip { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; border-radius: 999px;
  font-size: 12px; background: rgba(77,155,255,.14); border: 1px solid var(--glow); color: #cfe2ff; cursor: pointer; }
.tag-chip .x { opacity: .6; } .tag-chip:hover .x { opacity: 1; }
.tag-add { height: 24px; min-width: 70px; padding: 0 8px; border-radius: 999px; border: 1px dashed var(--line);
  background: none; color: var(--mut); outline: none; font-size: 12px; }
.tag-add:focus { border-color: var(--accent); border-style: solid; }
.note-item .tagrow { display: flex; gap: 4px; margin-top: 4px; flex-wrap: wrap; }
.note-item .mtag { font-size: 10px; padding: 1px 6px; border-radius: 999px; background: rgba(77,155,255,.12); color: #aac6ff; }

/* streaming caret */
.result-body.md.streaming::after, #askBody.md.streaming::after { content: "▋"; color: var(--accent); animation: blink 1s steps(1) infinite; }

/* folders */
.folder-bar { display: flex; flex-wrap: wrap; gap: 6px; padding: 2px 6px 10px; }
.fchip { height: 26px; padding: 0 11px; border-radius: 999px; border: 1px solid var(--line); cursor: pointer;
  background: rgba(255,255,255,.04); color: var(--mut); font-size: 12px; white-space: nowrap; }
.fchip:hover { color: var(--fg); border-color: var(--glow); }
.fchip.active { color: #fff; background: linear-gradient(135deg, rgba(77,155,255,.3), rgba(155,107,255,.3)); border-color: var(--glow); box-shadow: 0 0 12px var(--glow-soft); }
.note-item .mfolder { font-size: 10px; color: var(--cyan); margin-top: 3px; }

/* float "above apps" pad (Document Picture-in-Picture) */
.float-pad { display: flex; flex-direction: column; height: 100%; }
.pip-body { margin: 0; height: 100%; }
.pip-body .float-pad { background:
  radial-gradient(120% 80% at 100% 0%, rgba(63,233,255,.1), transparent 60%),
  radial-gradient(120% 80% at 0% 100%, rgba(123,107,255,.12), transparent 60%), var(--bg); }
.fp-bar { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--glass2), rgba(18,26,44,.4)); box-shadow: 0 1px 0 var(--glow-soft); }
.fp-logo { filter: drop-shadow(0 0 7px var(--glow)); }
.fp-note { flex: 1; max-width: 100%; height: 30px; border-radius: 8px; background: rgba(0,0,0,.3);
  color: var(--fg); border: 1px solid var(--line); padding: 0 8px; outline: none; font-size: 13px; }
.fp-title { background: none; border: none; outline: none; color: var(--fg); font-size: 18px; font-weight: 700;
  padding: 12px 14px 4px; }
.fp-body { flex: 1; background: none; border: none; outline: none; resize: none; color: #dde6f5;
  font-size: 15px; line-height: 1.6; padding: 6px 14px 10px; }
.fp-foot { padding: 6px 14px 10px; border-top: 1px solid var(--line); }

/* sync dialog: pairing + passkey */
.sep { border: none; border-top: 1px solid var(--line); margin: 16px 0 12px; }
.pair-row { display: flex; align-items: center; gap: 8px; }
.pair-code { margin-top: 10px; padding: 12px; border-radius: 12px; text-align: center; font: 700 22px/1.3 ui-monospace, Menlo, monospace;
  letter-spacing: 3px; color: #cfe2ff; background: rgba(77,155,255,.1); border: 1px solid var(--glow); box-shadow: 0 0 18px var(--glow-soft); }
.sync-pill.locked::before { background: var(--warn); }

/* attachments */
.attach { display: flex; flex-wrap: wrap; gap: 8px; padding: 6px 0; }
#editor.no-note .attach { display: none; }
.att { position: relative; animation: itemIn .25s ease both; }
.att img { width: 92px; height: 92px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); cursor: pointer; }
.att img:hover { border-color: var(--glow); box-shadow: 0 0 14px var(--glow-soft); }
.att-file { display: inline-flex; align-items: center; height: 40px; padding: 0 14px; border-radius: 10px;
  background: var(--glass2); border: 1px solid var(--line); color: var(--fg); text-decoration: none; font-size: 13px; max-width: 220px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.att-x { position: absolute; top: -7px; right: -7px; width: 20px; height: 20px; border-radius: 50%; border: none;
  background: #ff3b6b; color: #fff; cursor: pointer; font-size: 12px; line-height: 1; box-shadow: 0 2px 6px rgba(0,0,0,.5); }

/* slash command menu */
.slash-menu { position: fixed; z-index: 50; min-width: 210px; max-height: 260px; overflow: auto; padding: 6px;
  background: var(--glass2); border: 1px solid var(--glow); border-radius: 12px; box-shadow: var(--shadow); backdrop-filter: blur(22px); }
.slash-menu.hidden { display: none; }
.slash-item { display: block; width: 100%; text-align: left; padding: 8px 11px; border: none; background: none;
  color: var(--fg); border-radius: 8px; cursor: pointer; font-size: 13.5px; }
.slash-item:hover, .slash-item.sel { background: rgba(77,155,255,.16); }

/* focus mode — distraction-free editor */
body.focus #list, body.focus #ai { display: none; }
body.focus #app { grid-template-columns: 1fr; }
body.focus #editor { max-width: 820px; margin: 0 auto; }

/* command palette */
.palette { position: fixed; inset: 0; z-index: 70; background: rgba(0,0,0,.5); backdrop-filter: blur(4px);
  display: flex; align-items: flex-start; justify-content: center; padding-top: 12vh; }
.palette.hidden { display: none; }
.pal-box { width: min(560px, 92vw); background: var(--glass2); border: 1px solid var(--glow); border-radius: 16px;
  box-shadow: var(--shadow); backdrop-filter: blur(26px); overflow: hidden; animation: resultIn .18s ease; }
#palInput { width: 100%; height: 52px; padding: 0 18px; background: none; border: none; border-bottom: 1px solid var(--line);
  outline: none; font-size: 16px; color: var(--fg); }
.pal-list { max-height: 50vh; overflow: auto; padding: 6px; }
.pal-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; cursor: pointer; }
.pal-item .pi-ic { width: 22px; text-align: center; }
.pal-item .pi-sub { color: var(--mut); font-size: 12px; margin-left: auto; }
.pal-item:hover, .pal-item.sel { background: rgba(77,155,255,.16); }
.pal-empty { padding: 18px; text-align: center; color: var(--mut); font-size: 13px; }

/* links / backlinks */
.links-group { margin-bottom: 16px; }
.links-group h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--mut); margin-bottom: 8px; }
.link-item { display: flex; align-items: center; gap: 8px; padding: 9px 11px; border-radius: 10px; cursor: pointer;
  border: 1px solid var(--line); margin-bottom: 6px; background: var(--glass2); font-size: 13.5px; }
.link-item:hover { border-color: var(--glow); box-shadow: 0 0 14px var(--glow-soft); }
.link-item.missing { opacity: .55; cursor: default; }
.links-empty { color: var(--mut); font-size: 13px; padding: 8px 0; }

/* responsive: collapse side panes on narrow screens (drawers) */
@media (max-width: 900px) {
  .only-narrow { display: inline-flex; align-items: center; justify-content: center; }
  #app { grid-template-columns: 1fr; }
  #list, #ai { position: fixed; top: 56px; bottom: 0; width: min(320px, 86vw); z-index: 15;
    background: var(--glass); backdrop-filter: blur(24px); transition: transform .25s ease; }
  #list { left: 0; transform: translateX(-105%); }
  #ai { right: 0; transform: translateX(105%); }
  #list.open { transform: none; } #ai.open { transform: none; }
  #search { max-width: none; }
}
