/* [next]/internal/font/google/instrument_sans_fc5baa99.module.css [app-client] (css) */
@font-face {
  font-family: Instrument Sans;
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url("../media/c7f47671e39f7787-s.0klc_mi0-5f4_.woff2") format("woff2");
  unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: Instrument Sans;
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url("../media/f06bf9da926bae75-s.p.2874ccu1_u7jf.woff2") format("woff2");
  unicode-range: U+??, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Instrument Sans Fallback;
  src: local(Arial);
  ascent-override: 94.42%;
  descent-override: 24.33%;
  line-gap-override: 0.0%;
  size-adjust: 102.74%;
}

.instrument_sans_fc5baa99-module__gH3yGq__className {
  font-family: Instrument Sans, Instrument Sans Fallback;
  font-style: normal;
}

.instrument_sans_fc5baa99-module__gH3yGq__variable {
  --font-instrument-sans: "Instrument Sans", "Instrument Sans Fallback";
}

/* [next]/internal/font/google/geist_mono_1bf8cbf6.module.css [app-client] (css) */
@font-face {
  font-family: Geist Mono;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../media/5ce348bf30bf5439-s.31988l_ccedte.woff2") format("woff2");
  unicode-range: U+460-52F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: Geist Mono;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../media/4fa387ec64143e14-s.2tuy5pz7dlieh.woff2") format("woff2");
  unicode-range: U+301, U+400-45F, U+490-491, U+4B0-4B1, U+2116;
}

@font-face {
  font-family: Geist Mono;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../media/6306c77e7c8268e4-s.2dbetqa9o8jxf.woff2") format("woff2");
  unicode-range: U+2000-2001, U+2004-2008, U+200A, U+23B8-23BD, U+2500-259F;
}

@font-face {
  font-family: Geist Mono;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../media/7d817b4c03b0c5f1-s.1uyisp29ctx0d.woff2") format("woff2");
  unicode-range: U+102-103, U+110-111, U+128-129, U+168-169, U+1A0-1A1, U+1AF-1B0, U+300-301, U+303-304, U+308-309, U+323, U+329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: Geist Mono;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../media/bbc41e54d2fcbd21-s.1rgnod-3esatf.woff2") format("woff2");
  unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: Geist Mono;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../media/797e433ab948586e-s.p.0r6juujl39pe6.woff2") format("woff2");
  unicode-range: U+??, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Geist Mono Fallback;
  src: local(Arial);
  ascent-override: 74.67%;
  descent-override: 21.92%;
  line-gap-override: 0.0%;
  size-adjust: 134.59%;
}

.geist_mono_1bf8cbf6-module__FlyLvG__className {
  font-family: Geist Mono, Geist Mono Fallback;
  font-style: normal;
}

.geist_mono_1bf8cbf6-module__FlyLvG__variable {
  --font-geist-mono: "Geist Mono", "Geist Mono Fallback";
}

/* [next]/internal/font/google/spectral_4b7e9dd6.module.css [app-client] (css) */
@font-face {
  font-family: Spectral;
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../media/899d417cf51b4db5-s.0cthxa3mcy42c.woff2") format("woff2");
  unicode-range: U+460-52F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: Spectral;
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../media/232a56b5f5369ff7-s.1zorssra76br6.woff2") format("woff2");
  unicode-range: U+301, U+400-45F, U+490-491, U+4B0-4B1, U+2116;
}

@font-face {
  font-family: Spectral;
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../media/3ff90e1fb2350a24-s.2cglzsm933aqw.woff2") format("woff2");
  unicode-range: U+102-103, U+110-111, U+128-129, U+168-169, U+1A0-1A1, U+1AF-1B0, U+300-301, U+303-304, U+308-309, U+323, U+329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: Spectral;
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../media/d24da8e3a5721bc2-s.090ae4wdj6ak3.woff2") format("woff2");
  unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: Spectral;
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../media/c77846bcb3371a93-s.p.17l2q2xazf7qv.woff2") format("woff2");
  unicode-range: U+??, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Spectral;
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url("../media/84c114b2c4cb3b03-s.0a0hvagajeuvk.woff2") format("woff2");
  unicode-range: U+460-52F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: Spectral;
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url("../media/bca61253774cf674-s.0k3erjj452ij8.woff2") format("woff2");
  unicode-range: U+301, U+400-45F, U+490-491, U+4B0-4B1, U+2116;
}

@font-face {
  font-family: Spectral;
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url("../media/9c9e311966b2c431-s.1j5f1tqa41gj1.woff2") format("woff2");
  unicode-range: U+102-103, U+110-111, U+128-129, U+168-169, U+1A0-1A1, U+1AF-1B0, U+300-301, U+303-304, U+308-309, U+323, U+329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: Spectral;
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url("../media/400b3e039486ab68-s.3aa1quwg-8auu.woff2") format("woff2");
  unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: Spectral;
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url("../media/4e8cb63bdfc89443-s.p.0-zxmgh6g2ro_.woff2") format("woff2");
  unicode-range: U+??, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Spectral;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../media/2bf40d83aa9c72fb-s.075nzhq-azcwn.woff2") format("woff2");
  unicode-range: U+460-52F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: Spectral;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../media/3846cd278554cc73-s.32fxum-hv1zci.woff2") format("woff2");
  unicode-range: U+301, U+400-45F, U+490-491, U+4B0-4B1, U+2116;
}

@font-face {
  font-family: Spectral;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../media/9a23b5cef6e04c73-s.043e7-2hd94z4.woff2") format("woff2");
  unicode-range: U+102-103, U+110-111, U+128-129, U+168-169, U+1A0-1A1, U+1AF-1B0, U+300-301, U+303-304, U+308-309, U+323, U+329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: Spectral;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../media/c057f24894f01f05-s.3tnad6m4sf0xz.woff2") format("woff2");
  unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: Spectral;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../media/98f992443ccb276f-s.p.1oxabuqlrz9-_.woff2") format("woff2");
  unicode-range: U+??, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Spectral;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../media/0120702d9dd2a7b5-s.09bhwyvkoc8ms.woff2") format("woff2");
  unicode-range: U+460-52F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: Spectral;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../media/19f1a346b7519d21-s.0lwu3izqcp-2k.woff2") format("woff2");
  unicode-range: U+301, U+400-45F, U+490-491, U+4B0-4B1, U+2116;
}

@font-face {
  font-family: Spectral;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../media/bc0c875c697aeb30-s.26uzcjajmah7n.woff2") format("woff2");
  unicode-range: U+102-103, U+110-111, U+128-129, U+168-169, U+1A0-1A1, U+1AF-1B0, U+300-301, U+303-304, U+308-309, U+323, U+329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: Spectral;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../media/cd36df668fb8b666-s.3lo3d5l1mfb52.woff2") format("woff2");
  unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: Spectral;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../media/9d71b78498c53c0d-s.p.42kv-xe2onlt1.woff2") format("woff2");
  unicode-range: U+??, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Spectral Fallback;
  src: local(Times New Roman);
  ascent-override: 96.46%;
  descent-override: 42.17%;
  line-gap-override: 0.0%;
  size-adjust: 109.78%;
}

.spectral_4b7e9dd6-module__BKHIhW__className {
  font-family: Spectral, Spectral Fallback;
}

.spectral_4b7e9dd6-module__BKHIhW__variable {
  --font-spectral: "Spectral", "Spectral Fallback";
}

/* [next]/internal/font/google/fraunces_5e0e76fa.module.css [app-client] (css) */
@font-face {
  font-family: Fraunces;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../media/167cd0713aa75522-s.1nzccunaoxsdm.woff2") format("woff2");
  unicode-range: U+102-103, U+110-111, U+128-129, U+168-169, U+1A0-1A1, U+1AF-1B0, U+300-301, U+303-304, U+308-309, U+323, U+329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: Fraunces;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../media/e455bcff747f0d5e-s.1wuo3gtslpr33.woff2") format("woff2");
  unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: Fraunces;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../media/791bf8c4bb753ed6-s.p.0ggqn9ig56u4s.woff2") format("woff2");
  unicode-range: U+??, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Fraunces Fallback;
  src: local(Times New Roman);
  ascent-override: 84.71%;
  descent-override: 22.09%;
  line-gap-override: 0.0%;
  size-adjust: 115.45%;
}

.fraunces_5e0e76fa-module__Jg8Z5W__className {
  font-family: Fraunces, Fraunces Fallback;
  font-style: normal;
}

.fraunces_5e0e76fa-module__Jg8Z5W__variable {
  --font-fraunces: "Fraunces", "Fraunces Fallback";
}

/* [project]/app/globals.css [app-client] (css) */
:root {
  --fian-paper: #fff;
  --fian-black: #0f1410;
  --fian-ink: #224325;
  --fian-ink-deep: #1e3b21;
  --fian-frame: #1e3d22;
  --fian-frame-deep: #17301b;
  --fian-mint: #f6fae9;
  --fian-garden: #acdc80;
  --fian-garden-deep: #3f6f28;
  --fian-shadow: 12 26 14;
  --fian-gold: 232 196 132;
  --fian-nacre: 196 188 255;
  --chrome: var(--bg);
  --chrome-ink: 246 250 233;
  --chrome-float: #3452369e;
  --chrome-raised: #506a52;
  --chrome-glass: rgb(var(--chrome-ink) / .06);
  --chrome-line: rgb(var(--chrome-ink) / .2);
  --chrome-text: #f6fae9f2;
  --chrome-muted: #f6fae9b3;
  --chrome-accent: var(--fian-garden);
  --chrome-sunken: #00000038;
  --chrome-shade: #1a341d;
  --chrome-halo: #0c1a0ea6;
  --chrome-danger: #ffd7dd;
  --chrome-spark: #f6ffe8;
  --bg: #274729;
  --surface: var(--bg);
  --surface-float: #345236e0;
  --surface-raised: #ffffff24;
  --surface-sunken: #09160b6b;
  --line: #f6fae93d;
  --line-strong: #f6fae970;
  --skeleton: #f6fae917;
  --skeleton-lit: #f6fae930;
  --text: #f6fae9f5;
  --text-muted: #f6fae9d9;
  --text-faint: #f6fae9b8;
  --accent: var(--fian-garden);
  --accent-on: #10240c;
  --accent-wash: #acdc8029;
  --scrim: #1a301d80;
  --rim: inset 0 1px 0 #f6fae91a;
  --shadow-1: 0 1px 2px rgb(var(--fian-gold) / .16), 0 2px 8px rgb(var(--fian-nacre) / .14);
  --shadow-2: 0 1px 3px rgb(var(--fian-gold) / .2), 0 9px 22px rgb(var(--fian-nacre) / .2);
  --haze: 0 2px 8px rgb(var(--fian-gold) / .1), 0 0 18px rgb(var(--fian-nacre) / .1),
    0 11px 32px -10px #acdc802e;
  --lift: -1px;
  --ease: .16s cubic-bezier(.2, .6, .3, 1);
  --bloom: 0 0 0 1px #acdc802e, 0 0 16px #acdc8029;
  --vine: linear-gradient(135deg,
    #f6fae94d 0%,
    rgb(var(--fian-gold) / .2) 15%,
    rgb(var(--fian-nacre) / .15) 30%,
    #acdc8014 46%,
    transparent 64%);
  --vine-sheen: linear-gradient(135deg,
    transparent 34%,
    rgb(var(--fian-gold) / .09) 44%,
    rgb(var(--fian-nacre) / .09) 52%,
    transparent 62%);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.032'/%3E%3C/svg%3E");
  --glow-1: color-mix(in oklab, var(--bg), var(--fian-mint) 26%);
  --glow-2: color-mix(in oklab, var(--bg), var(--fian-garden) 30%);
  --glow-band: var(--fian-ink-deep);
  --write: #e0af68;
  --read: #7dcfff;
  --fail: #f7768e;
  --sans: var(--font-instrument-sans), ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: var(--font-geist-mono), ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --display: var(--font-fraunces), Georgia, serif;
  --reading: var(--font-spectral), Georgia, serif;
  --text-xs: 10.5px;
  --text-sm: 12px;
  --text-md: 13px;
  --text-base: 15px;
  --text-reading: 17px;
  --text-lg: 18px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --radius-sm: 6px;
  --radius: 8px;
  --radius-lg: 12px;
  --radius-pill: 22px;
  --sidebar-col: clamp(296px, 22vw, 380px);
  --page-max: 1120px;
  --page-slack: max(0px, 100vw - var(--sidebar-col) - var(--page-max));
  --rail: 58px;
  --chatwin: 432px;
  --chatwin-h: 672px;
  --chatpill: 190px;
  --pill: 38px;
  --fold: .34s cubic-bezier(.2, .7, .3, 1);
  --shut: .22s cubic-bezier(.4, 0, .6, 1);
  --reading-width: 64ch;
}

:root[data-theme="light"] {
  --lightningcss-light: initial;
  --lightningcss-dark: ;
  color-scheme: light;
  --bg: var(--fian-paper);
  --surface: #ffffff8c;
  --surface-float: #ffffffed;
  --surface-raised: #ffffffc7;
  --surface-sunken: #f1f5ec;
  --line: #22432524;
  --line-strong: #2243254d;
  --skeleton: #2243251c;
  --skeleton-lit: #22432508;
  --text: var(--fian-black);
  --text-muted: #47544a;
  --text-faint: #616e63;
  --accent: var(--fian-garden-deep);
  --accent-on: #fff;
  --accent-wash: #3f6f281a;
  --write: #8a5a12;
  --read: #16657f;
  --fail: #b93247;
  --scrim: #2243254d;
  --chrome: var(--bg);
  --chrome-ink: 34 67 37;
  --chrome-float: #fdfdf9ed;
  --chrome-raised: #fff;
  --chrome-text: var(--fian-black);
  --chrome-muted: #47544a;
  --chrome-accent: color-mix(in srgb, var(--fian-garden-deep) 80%, black);
  --chrome-sunken: #f1f5ec;
  --chrome-shade: #c5d3bc;
  --chrome-halo: #24302a24;
  --chrome-danger: #7d1a2b;
  --chrome-spark: #8ec96a;
  --rim: inset 0 1px 0 #ffffffe6;
  --shadow-1: 0 1px 2px #2243251a, 0 3px 10px #22432514;
  --shadow-2: 0 2px 4px #2243251f, 0 12px 28px #22432524;
  --haze: 0 2px 10px #2243251a, 0 0 22px #22432514,
    0 14px 40px -12px #22432538;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.02'/%3E%3C/svg%3E");
  --vine: linear-gradient(135deg,
    #2243253b 0%,
    #785a2821 16%,
    #5042781b 32%,
    #2243250d 48%,
    transparent 64%);
  --vine-sheen: linear-gradient(135deg,
    transparent 34%,
    #785a2812 44%,
    #5042780f 52%,
    transparent 62%);
  --bloom: 0 0 0 1px #3f6f2847, 0 0 14px #3f6f2829;
  --glow-1: color-mix(in oklab, var(--bg), var(--fian-garden) 46%);
  --glow-2: color-mix(in oklab, var(--bg), var(--fian-garden-deep) 24%);
  --glow-band: #f4f8ef;
}

* {
  box-sizing: border-box;
}

:root {
  --lightningcss-light: initial;
  --lightningcss-dark: ;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --lightningcss-light: ;
    --lightningcss-dark: initial;
  }
}

:root[data-theme="dark"] {
  --lightningcss-light: ;
  --lightningcss-dark: initial;
  color-scheme: dark;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg);
  background-image: var(--grain);
  color: var(--text);
  font-family: var(--sans);
  font-size: var(--text-base);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}

::selection {
  background: #acdc8047;
}

code {
  font-family: var(--mono);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.sidebar :focus-visible, .topbar :focus-visible {
  outline-color: var(--chrome-accent);
  box-shadow: 0 0 0 5px var(--chrome-halo);
}

.panel {
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--rim), var(--shadow-1);
}

.panel-lift {
  transition: transform var(--ease),
    box-shadow var(--ease),
    background var(--ease),
    border-color var(--ease);
}

.panel-lift:hover {
  transform: translateY(var(--lift));
  box-shadow: var(--rim), var(--shadow-2);
}

.traced {
  position: relative;
}

.traced:after {
  content: "";
  z-index: 1;
  border-radius: inherit;
  background-image: var(--vine-sheen), var(--vine);
  -webkit-mask-composite: xor;
  pointer-events: none;
  background-position: 62% 62%, 0 0;
  background-repeat: no-repeat;
  background-size: 260% 260%, 100% 100%;
  padding: 2px;
  animation: 90s ease-in-out infinite alternate vine-sheen;
  position: absolute;
  inset: 0;
  -webkit-mask-image: linear-gradient(#000 0 0), linear-gradient(#000 0 0);
  mask-image: linear-gradient(#000 0 0), linear-gradient(#000 0 0);
  -webkit-mask-position: 0 0, 0 0;
  mask-position: 0 0, 0 0;
  -webkit-mask-size: auto, auto;
  mask-size: auto, auto;
  -webkit-mask-repeat: repeat, repeat;
  mask-repeat: repeat, repeat;
  -webkit-mask-clip: content-box, border-box;
  mask-clip: content-box, border-box;
  -webkit-mask-origin: content-box, border-box;
  mask-origin: content-box, border-box;
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  -webkit-mask-source-type: auto, auto;
  mask-mode: match-source, match-source;
}

@keyframes vine-sheen {
  from {
    background-position: 62% 62%, 0 0;
  }

  to {
    background-position: 90% 90%, 0 0;
  }
}

:root {
  --viewport-top: 0px;
  --viewport-height: 100vh;
}

@supports (height: 100dvh) {
  :root {
    --viewport-height: 100dvh;
  }
}

.shell {
  grid-template-columns: var(--sidebar-col) minmax(0, 1fr);
  top: var(--viewport-top);
  width: 100%;
  height: var(--viewport-height);
  grid-template-rows: minmax(0, 1fr);
  display: grid;
  position: fixed;
  left: 0;
  overflow: hidden;
}

.main:before {
  content: "";
  z-index: -1;
  background: radial-gradient(110vmax 110vmax at 12% 6%,
      var(--glow-1),
      color-mix(in oklab, var(--glow-1) 26%, transparent) 34%,
      transparent 62%),
    radial-gradient(105vmax 105vmax at 90% 96%,
      var(--glow-2),
      color-mix(in oklab, var(--glow-2) 26%, transparent) 36%,
      transparent 64%),
    linear-gradient(180deg, var(--bg), var(--glow-band) 55%, var(--bg));
  pointer-events: none;
  animation: 150s ease-in-out infinite alternate fae-drift;
  position: absolute;
  inset: -20%;
}

@keyframes fae-drift {
  0% {
    transform: translate3d(0, 0, 0)scale(1);
  }

  50% {
    transform: translate3d(2.5%, -3%, 0)scale(1.04);
  }

  100% {
    transform: translate3d(-3%, 2.5%, 0)scale(1);
  }
}

.main {
  width: 100%;
  min-width: 0;
  min-height: 0;
  padding-right: var(--page-slack);
  --surface: var(--chrome-raised);
  flex-direction: column;
  margin-block: 0;
  display: flex;
  position: relative;
  overflow: hidden;
  container: page / inline-size;
}

.sidebar {
  background-color: var(--chrome);
  background-image: var(--grain);
  min-height: 0;
  color: var(--chrome-text);
  border-right: 1px solid var(--chrome-line);
  flex-direction: column;
  display: flex;
  overflow: hidden;
  box-shadow: 1px 0 3px #2243250d;
}

.sidebar:after {
  content: none;
}

.sidebar-head {
  gap: var(--space-3);
  padding: var(--space-4) var(--space-3) var(--space-3);
  flex-direction: column;
  flex: none;
  display: flex;
}

.sidebar-body {
  --edge: 18px;
  overscroll-behavior: contain;
  min-height: 0;
  padding: var(--edge) var(--space-3) calc(var(--edge) + var(--space-2));
  -webkit-mask-image: linear-gradient(to bottom,
    transparent 0,
    #000 var(--edge),
    #000 calc(100% - var(--edge)),
    transparent 100%);
  mask-image: linear-gradient(to bottom,
    transparent 0,
    #000 var(--edge),
    #000 calc(100% - var(--edge)),
    transparent 100%);
  flex: 1;
  overflow-y: auto;
}

.wordmark {
  align-items: center;
  gap: var(--space-3);
  font-family: var(--display);
  font-size: var(--text-lg);
  letter-spacing: .01em;
  color: var(--chrome-text);
  font-weight: 600;
  display: flex;
}

.account-row {
  align-items: center;
  gap: var(--space-2);
  display: flex;
}

.nav-row {
  align-items: center;
  gap: var(--space-2);
  width: 100%;
  padding: var(--space-2) var(--space-3);
  text-align: left;
  font: inherit;
  font-size: var(--text-md);
  color: var(--chrome-text);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--ease),
    border-color var(--ease),
    color var(--ease);
  background: none;
  border: 2px solid #0000;
  font-weight: 500;
  display: flex;
}

.nav-row:hover {
  background: var(--chrome-glass);
  border-color: var(--chrome-line);
}

.nav-row.is-active {
  background: var(--chrome-raised);
  border-color: var(--chrome-line);
}

.nav-row svg {
  color: var(--chrome-muted);
  flex: none;
}

.nav-row.is-active svg {
  color: var(--chrome-text);
}

.row-lead {
  flex: none;
  justify-content: center;
  align-items: center;
  width: 26px;
  display: flex;
}

.section-label {
  font-size: var(--text-xs);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--chrome-muted);
}

.chatwin {
  min-height: 0;
  width: var(--chatwin);
  height: min(var(--chatwin-h), calc(100dvh - var(--rail) - var(--space-6)));
  background-color: var(--chrome);
  background-image: var(--grain);
  color: var(--chrome-text);
  border: 2px solid var(--chrome-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--rim), var(--haze);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  transform-origin: bottom;
  transition: width var(--fold),
    height var(--fold),
    border-width var(--fold),
    border-radius var(--fold),
    background-color var(--fold),
    box-shadow var(--fold),
    transform var(--ease);
  flex-direction: column;
  flex: none;
  display: flex;
  overflow: hidden;
}

.chatwin > :not(.chatwin-head) {
  width: var(--chatwin);
  opacity: 1;
  transition: opacity .16s .24s;
}

.chatwin.is-folded > :not(.chatwin-head) {
  opacity: 0;
  transition: opacity .1s;
}

@starting-style {
  .chatwin > :not(.chatwin-head) {
    opacity: 0;
  }
}

.chatwin.is-folded {
  width: var(--chatpill);
  min-width: 96px;
  height: var(--pill);
  border-radius: var(--radius-pill);
  background-color: var(--chrome-float);
  box-shadow: var(--rim), var(--shadow-1);
  cursor: pointer;
  border-width: 1px;
  flex-shrink: 1;
}

.chatwin.is-folded:hover {
  background-color: var(--chrome-raised);
  transform: translateY(var(--lift));
}

.chatwin.is-new.is-folded {
  flex-shrink: 0;
  width: 75px;
  min-width: 0;
}

.chatwin.is-new.is-folded .chatwin-btn {
  display: none;
}

.chatwin.is-closing {
  width: 0;
  min-width: 0;
  height: 0;
  margin-right: calc(var(--space-2) * -1);
  opacity: 0;
  pointer-events: none;
  transition: width var(--shut),
    height var(--shut),
    border-width var(--shut),
    margin var(--shut),
    opacity var(--shut);
  border-width: 0;
}

.chatwin.is-new.is-closing {
  width: 0;
}

@media (min-width: 1441px) {
  :root {
    --chatwin: 528px;
    --chatwin-h: 840px;
    --chatpill: 230px;
    --pill: 42px;
    --rail: 62px;
  }
}

.chatwin.is-front {
  border-color: rgb(var(--chrome-ink) / .38);
}

.chatwin-head {
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-2) var(--space-2) var(--space-2) var(--space-3);
  transition: padding var(--fold);
  flex: none;
  display: flex;
}

.chatwin.is-folded .chatwin-head {
  padding: calc((var(--pill) - 28px) / 2) 5px calc((var(--pill) - 28px) / 2) var(--space-3);
}

.chatwin-name {
  align-items: center;
  gap: var(--space-2);
  min-width: 0;
  padding: var(--space-1) 0;
  color: var(--chrome-text);
  font: inherit;
  font-size: var(--text-sm);
  text-align: left;
  cursor: pointer;
  background: none;
  border: 0;
  flex: 1;
  font-weight: 600;
  display: flex;
}

.chatwin-name svg {
  flex: none;
}

.chatwin-title {
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  overflow: hidden;
}

.chatwin-btn {
  border-radius: var(--radius-sm);
  width: 26px;
  height: 26px;
  color: var(--chrome-muted);
  cursor: pointer;
  transition: background var(--ease), color var(--ease);
  background: none;
  border: 0;
  flex: none;
  place-items: center;
  padding: 0;
  display: grid;
}

.chatwin-btn:hover {
  background: var(--chrome-glass);
  color: var(--chrome-text);
}

.chatwin.is-folded .chatwin-btn.is-fold {
  display: none;
}

.chatwin.is-folded .chatwin-btn.is-shut {
  opacity: 0;
  transition: opacity var(--ease), background var(--ease), color var(--ease);
}

.chatwin.is-folded:hover .chatwin-btn.is-shut, .chatwin.is-folded .chatwin-btn.is-shut:focus-visible {
  opacity: 1;
}

@media (hover: none) {
  .chatwin.is-folded .chatwin-btn.is-shut {
    opacity: 1;
  }
}

.chatwin-drop {
  pointer-events: auto;
  width: 60px;
  height: 14px;
  margin: -6px auto var(--space-2);
  border-radius: var(--radius-pill);
  background: rgb(var(--chrome-ink) / .13);
  cursor: pointer;
  transition: background var(--ease);
  border: 0;
  flex: none;
  padding: 0;
}

.chatwin-drop:hover, .chatwin-drop:focus-visible {
  background: rgb(var(--chrome-ink) / .28);
}

.chatwin.is-archive.is-folded {
  flex-shrink: 0;
  width: 94px;
  min-width: 0;
}

.chatwin.is-archive.is-folded .chatwin-btn {
  display: none;
}

.chatwin .chatbar-body {
  --edge: 18px;
  overscroll-behavior: contain;
  min-height: 0;
  padding: var(--edge) var(--space-3) calc(var(--edge) + var(--space-2));
  -webkit-mask-image: linear-gradient(to bottom,
    transparent 0,
    #000 var(--edge),
    #000 calc(100% - var(--edge)),
    transparent 100%);
  mask-image: linear-gradient(to bottom,
    transparent 0,
    #000 var(--edge),
    #000 calc(100% - var(--edge)),
    transparent 100%);
  flex: 1;
  overflow-y: auto;
}

.chat-empty {
  padding: var(--space-4) var(--space-3);
  color: var(--chrome-muted);
  font-size: var(--text-md);
  gap: var(--space-2);
  flex-direction: column;
  display: flex;
}

.tabs {
  z-index: 33;
  max-width: 100vw;
  padding-bottom: var(--space-5);
  justify-content: flex-end;
  align-items: flex-end;
  gap: var(--space-2);
  padding-inline: var(--space-5);
  pointer-events: none;
  display: flex;
  position: fixed;
  bottom: 0;
  right: 0;
}

.tabs > * {
  pointer-events: auto;
}

.tabs-rail {
  display: contents;
}

.tabs-rail::-webkit-scrollbar {
  display: none;
}

.tab-light {
  background: radial-gradient(circle at 36% 32%,
    var(--chrome-spark) 0%,
    var(--chrome-accent) 32%,
    color-mix(in srgb, var(--chrome-accent) 62%, transparent) 56%,
    color-mix(in srgb, var(--chrome-accent) 22%, transparent) 79%,
    transparent 100%);
  width: 7px;
  height: 7px;
  transition: opacity var(--ease), box-shadow var(--ease);
  border-radius: 50%;
  flex: none;
}

.chatwin.is-idle .tab-light {
  opacity: .22;
  box-shadow: none;
}

.chatwin.is-unread .tab-light {
  opacity: 1;
  box-shadow: 0 0 5px color-mix(in srgb, var(--chrome-accent) 58%, transparent),
    0 0 13px color-mix(in srgb, var(--chrome-accent) 34%, transparent);
}

.chatwin.is-working .tab-light {
  opacity: 1;
  box-shadow: 0 0 0 2.5px color-mix(in srgb, var(--chrome-accent) 26%, transparent),
    0 0 8px color-mix(in srgb, var(--chrome-accent) 46%, transparent);
  animation: 2.4s ease-in-out infinite tab-breath;
}

@keyframes tab-breath {
  50% {
    opacity: .55;
  }
}

.tab-tools {
  align-items: flex-end;
  gap: var(--space-2);
  flex: none;
  display: flex;
}

.chatwin {
  view-transition-class: morph;
}

::view-transition-group(*.morph) {
  animation-duration: .32s;
  animation-timing-function: cubic-bezier(.2, .7, .3, 1);
}

::view-transition-old(*.morph) {
  animation-name: morph-out;
  animation-duration: .12s;
  animation-timing-function: ease;
  animation-fill-mode: forwards;
}

::view-transition-new(*.morph) {
  animation-name: morph-in;
  animation-duration: .26s;
  animation-timing-function: ease;
  animation-delay: 60ms;
  animation-fill-mode: backwards;
}

@keyframes morph-out {
  to {
    opacity: 0;
  }
}

@keyframes morph-in {
  from {
    opacity: 0;
  }
}

.topbar, .scrim {
  display: none;
}

.btn-menu, .btn-close {
  width: 38px;
  height: 38px;
  color: var(--chrome-text);
  background: var(--chrome-raised);
  border: 2px solid var(--chrome-line);
  border-radius: calc(var(--radius-pill) - var(--space-2));
  cursor: pointer;
  flex: none;
  place-items: center;
  padding: 0;
  display: grid;
}

.btn-close {
  display: none;
}

.chatwin .btn-close {
  width: 30px;
  height: 30px;
  display: grid;
}

.topbar-title {
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  display: flex;
}

.topbar-title b {
  font-weight: 500;
  font-size: var(--text-md);
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.topbar-title span {
  font-family: var(--mono);
  font-size: var(--text-xs);
  color: var(--text-faint);
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color .3s;
  overflow: hidden;
}

.topbar.is-floating .topbar-title span {
  color: var(--chrome-muted);
}

.chat-list {
  gap: var(--space-1);
  flex-direction: column;
  display: flex;
}

.chat-row {
  border: 2px solid var(--chrome-line);
  border-radius: var(--radius);
  transition: transform var(--ease),
    box-shadow var(--ease),
    background var(--ease),
    border-color var(--ease);
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  display: grid;
}

.chat-row:hover {
  background: var(--chrome-glass);
  border-color: rgb(var(--chrome-ink) / .32);
  transform: translateY(var(--lift));
  box-shadow: var(--rim), var(--shadow-1);
}

.chat {
  min-width: 0;
  padding: var(--space-2) var(--space-2) var(--space-2) var(--space-3);
  text-align: left;
  border-radius: var(--radius);
  color: inherit;
  font: inherit;
  cursor: pointer;
  background: none;
  border: 0;
  flex-direction: column;
  gap: 1px;
  display: flex;
}

.chat-title, .chat-meta {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.chat-title {
  font-size: var(--text-md);
  line-height: 1.35;
}

.chat-meta {
  font-family: var(--mono);
  font-size: var(--text-xs);
  color: var(--chrome-muted);
}

.chat-row.is-active {
  --vine: linear-gradient(135deg,
    color-mix(in srgb, var(--chrome-accent) 55%, transparent) 0%,
    color-mix(in srgb, var(--chrome-accent) 22%, transparent) 24%,
    color-mix(in srgb, var(--chrome-accent) 6%, transparent) 48%,
    transparent 70%);
  border-color: color-mix(in srgb, var(--chrome-accent) 32%, transparent);
  box-shadow: var(--bloom);
  position: relative;
}

.chat-row.is-active .chat-title {
  color: var(--chrome-accent);
}

.chat.is-draft .chat-meta {
  font-style: italic;
}

.chat-forget {
  margin-right: var(--space-1);
  padding: var(--space-1) var(--space-2);
  font: inherit;
  font-size: var(--text-md);
  color: var(--chrome-muted);
  border-radius: var(--radius-sm);
  cursor: pointer;
  opacity: 0;
  background: none;
  border: 0;
  flex: none;
  line-height: 1;
}

.chat-row:hover .chat-forget, .chat-row:focus-within .chat-forget {
  opacity: 1;
}

.chat-forget:hover {
  color: var(--fail);
}

.chat-forget.is-armed {
  opacity: 1;
  font-size: var(--text-sm);
  color: var(--chrome-danger);
  background: color-mix(in srgb, var(--fail) 28%, transparent);
}

@media (hover: none) {
  .chat-forget {
    opacity: 1;
  }
}

.chatwin .stream {
  padding-top: var(--space-4);
}

.ws-choose {
  gap: var(--space-5);
  padding-bottom: var(--space-4);
  flex-direction: column;
  display: flex;
}

.ws-choose .empty {
  text-align: left;
  max-width: none;
  margin: 0;
}

.ws-choose .empty:before {
  content: none;
}

.ws-list {
  gap: var(--space-4);
  flex-direction: column;
  display: flex;
}

.ws-group {
  gap: var(--space-1);
  flex-direction: column;
  display: flex;
}

.ws-group .section-label {
  margin-bottom: var(--space-1);
}

.ws {
  width: 100%;
  padding: var(--space-2) var(--space-3);
  text-align: left;
  background: var(--chrome-glass);
  border: 2px solid var(--chrome-line);
  border-radius: var(--radius);
  box-shadow: var(--rim);
  color: inherit;
  font: inherit;
  cursor: pointer;
  transition: transform var(--ease),
    box-shadow var(--ease),
    background var(--ease),
    border-color var(--ease);
  flex-direction: column;
  gap: 3px;
  display: flex;
  position: relative;
}

.ws:hover {
  background: rgb(var(--chrome-ink) / .12);
  border-color: rgb(var(--chrome-ink) / .3);
  transform: translateY(var(--lift));
  box-shadow: var(--rim), var(--shadow-2);
}

.ws.is-active {
  border-color: color-mix(in srgb, var(--chrome-accent) 50%, transparent);
  background: color-mix(in srgb, var(--chrome-accent) 16%, transparent);
  box-shadow: var(--rim), var(--bloom);
}

.ws-lead {
  top: var(--space-2);
  right: var(--space-3);
  font-size: var(--text-xs);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--chrome-accent);
  position: absolute;
}

.ws-name {
  font-family: var(--mono);
  font-size: var(--text-md);
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.ws-desc {
  -webkit-line-clamp: 2;
  line-clamp: 2;
  font-size: var(--text-sm);
  color: var(--chrome-muted);
  -webkit-box-orient: vertical;
  line-height: 1.4;
  display: -webkit-box;
  overflow: hidden;
}

.ws-add {
  border-style: dashed;
  border-color: rgb(var(--chrome-ink) / .2);
  background: none;
}

.ws-add.is-open {
  gap: var(--space-2);
  cursor: default;
  border-style: solid;
}

.ws-add.is-open:hover {
  box-shadow: var(--rim);
  border-color: var(--chrome-line);
  background: none;
  transform: none;
}

.ws-field {
  flex-direction: column;
  gap: 2px;
  display: flex;
}

.ws-field > span {
  font-size: var(--text-xs);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--chrome-muted);
}

.ws-field input {
  width: 100%;
  padding: var(--space-1) var(--space-2);
  background: rgb(var(--chrome-ink) / .08);
  border: 1px solid var(--chrome-line);
  border-radius: var(--radius-sm);
  color: inherit;
  font-family: var(--mono);
  font-size: var(--text-sm);
}

.ws-field input::placeholder {
  color: rgb(var(--chrome-ink) / .4);
}

.ws-field input:focus-visible {
  outline: 2px solid var(--chrome-accent);
  outline-offset: 1px;
}

.ws-add-note {
  font-size: var(--text-sm);
  color: var(--chrome-muted);
  margin: 0;
  line-height: 1.4;
}

.ws-add-problem {
  font-family: var(--mono);
  font-size: var(--text-sm);
  color: var(--chrome-danger);
  overflow-wrap: anywhere;
  margin: 0;
  line-height: 1.4;
}

.ws-add-actions {
  justify-content: flex-end;
  gap: var(--space-2);
  margin-top: var(--space-1);
  display: flex;
}

.ws-pane {
  width: 100%;
  max-width: 960px;
  padding-block: var(--space-3) var(--space-6);
  margin-inline: auto;
}

.ws-pane-head {
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-2);
  border-bottom: 2px solid var(--line);
}

.ws-pane-head h1 {
  margin: 0 0 var(--space-1);
  font-family: var(--display);
  color: var(--text);
  font-size: 22px;
  font-weight: 600;
}

.ws-pane-head p {
  max-width: var(--reading-width);
  font-size: var(--text-md);
  color: var(--text-muted);
  margin: 0;
}

.ws-pane .ws-list {
  gap: var(--space-2);
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  display: grid;
}

.ws-pane .ws-group {
  display: contents;
}

.ws-pane .ws-group .section-label {
  display: none;
}

.ws-project {
  font-size: var(--text-xs);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-faint);
  display: none;
}

.ws-pane .ws-project {
  display: block;
}

.ws-pane .ws {
  height: 100%;
  padding: var(--space-3);
  background: var(--surface);
  border-color: var(--line);
  color: var(--text);
}

.ws-pane .ws:hover {
  background: var(--surface);
  border-color: var(--line-strong);
  box-shadow: var(--rim), var(--shadow-2);
}

.ws-pane .ws.is-active {
  border-color: color-mix(in srgb, var(--accent) 55%, transparent);
  background: color-mix(in srgb, var(--accent) 10%, var(--surface));
}

.ws-pane .ws-desc {
  -webkit-line-clamp: 3;
  line-clamp: 3;
  color: var(--text-muted);
}

.avatar {
  background: var(--chrome-accent);
  width: 26px;
  height: 26px;
  color: var(--accent-on);
  font-size: var(--text-sm);
  border-radius: 999px;
  flex: none;
  place-items: center;
  font-weight: 600;
  line-height: 1;
  display: grid;
}

.avatar-lg {
  width: 42px;
  height: 42px;
  font-size: 17px;
}

.account {
  align-items: center;
  gap: var(--space-2);
  width: 100%;
  padding: var(--space-2) var(--space-3);
  text-align: left;
  border-radius: var(--radius);
  color: inherit;
  font: inherit;
  cursor: pointer;
  transition: transform var(--ease),
    box-shadow var(--ease),
    background var(--ease),
    border-color var(--ease);
  background: none;
  border: 2px solid #0000;
  display: flex;
}

.account:hover {
  background: var(--chrome-glass);
  border-color: var(--chrome-line);
  transform: translateY(var(--lift));
  box-shadow: var(--rim), var(--shadow-1);
}

.account-name {
  min-width: 0;
  font-size: var(--text-md);
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  overflow: hidden;
}

.account-chevron {
  color: var(--chrome-muted);
  letter-spacing: .1em;
  flex: none;
}

.modal {
  max-width: min(420px, calc(100vw - 2 * var(--space-4)));
  color: var(--chrome-text);
  background: none;
  border: 0;
  padding: 0;
}

.modal::backdrop {
  background: rgb(var(--fian-shadow) / .58);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

.modal-panel {
  gap: var(--space-4);
  padding: var(--space-5);
  background: var(--chrome-raised);
  border: 2px solid var(--chrome-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--rim), var(--shadow-2);
  flex-direction: column;
  display: flex;
}

.modal-head {
  align-items: center;
  gap: var(--space-3);
  display: flex;
}

.modal-title {
  font-family: var(--display);
  font-size: var(--text-lg);
  margin: 0;
  font-weight: 600;
  line-height: 1.2;
}

.modal-sub {
  font-size: var(--text-sm);
  color: var(--chrome-muted);
  margin: 2px 0 0;
}

.modal-note {
  padding: var(--space-3);
  font-size: var(--text-sm);
  color: var(--chrome-muted);
  background: var(--chrome-sunken);
  border: 2px solid var(--chrome-line);
  border-radius: var(--radius);
  margin: 0;
  line-height: 1.5;
}

.theme-field {
  gap: var(--space-2);
  flex-direction: column;
  display: flex;
}

.theme-picker {
  background: var(--chrome-sunken);
  border: 2px solid var(--chrome-line);
  border-radius: var(--radius);
  gap: 2px;
  padding: 2px;
  display: flex;
}

.theme-option {
  padding: var(--space-2) var(--space-3);
  font: inherit;
  font-size: var(--text-sm);
  color: var(--chrome-muted);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--ease), color var(--ease), box-shadow var(--ease);
  background: none;
  border: 0;
  flex: 1;
}

.theme-option:hover {
  color: var(--chrome-text);
}

.theme-option.is-selected {
  color: var(--chrome-text);
  background: var(--chrome-raised);
  box-shadow: var(--rim), var(--shadow-1);
}

.modal-actions {
  justify-content: flex-end;
  gap: var(--space-2);
  display: flex;
}

.btn-primary {
  padding: var(--space-2) var(--space-3);
  font: inherit;
  font-size: var(--text-md);
  color: var(--accent-on);
  background: var(--chrome-accent);
  border-radius: var(--radius);
  cursor: pointer;
  border: 0;
  font-weight: 500;
  transition: filter .12s;
}

.btn-primary:hover {
  filter: brightness(1.08);
  transform: translateY(var(--lift));
  box-shadow: var(--shadow-2);
}

.btn-primary:disabled {
  opacity: .45;
  cursor: default;
}

.btn-primary:disabled:hover {
  filter: none;
  box-shadow: none;
  transform: none;
}

.btn-quiet {
  padding: var(--space-2) var(--space-3);
  font: inherit;
  font-size: var(--text-md);
  text-align: left;
  color: var(--chrome-text);
  border: 2px solid var(--chrome-line);
  border-radius: var(--radius);
  cursor: pointer;
  background: none;
  transition: border-color .12s, background .12s;
}

.btn-quiet:hover {
  background: var(--chrome-glass);
  border-color: rgb(var(--chrome-ink) / .32);
  transform: translateY(var(--lift));
  box-shadow: var(--rim), var(--shadow-1);
}

.btn-danger {
  padding: var(--space-2) var(--space-3);
  font: inherit;
  font-size: var(--text-md);
  color: var(--chrome-danger);
  background: color-mix(in srgb, var(--fail) 16%, transparent);
  border: 2px solid color-mix(in srgb, var(--fail) 50%, transparent);
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform var(--ease),
    box-shadow var(--ease),
    background var(--ease);
  font-weight: 500;
}

.btn-danger:hover {
  background: color-mix(in srgb, var(--fail) 28%, transparent);
  transform: translateY(var(--lift));
  box-shadow: var(--rim), var(--shadow-1);
}

.banner {
  margin: var(--space-3) auto 0;
  max-width: min(var(--reading-width), 100% - var(--space-5) * 2);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius);
  font-size: var(--text-md);
  color: var(--fail);
  background: color-mix(in srgb, var(--fail) 12%, transparent);
  border: 2px solid color-mix(in srgb, var(--fail) 35%, transparent);
}

.banner-info {
  color: var(--text-muted);
  background: var(--accent-wash);
  border-color: color-mix(in srgb, var(--accent) 30%, transparent);
}

.stream {
  overscroll-behavior: contain;
  min-height: 0;
  padding: calc(var(--topbar-height, 0px) + var(--space-5)) var(--space-5)
    calc(var(--dock-height, 76px) + var(--space-3));
  gap: var(--space-5);
  -webkit-mask-image: linear-gradient(to bottom,
    #000 calc(100% - var(--dock-height, 76px) * .7),
    transparent 100%);
  mask-image: linear-gradient(to bottom,
    #000 calc(100% - var(--dock-height, 76px) * .7),
    transparent 100%);
  flex-direction: column;
  flex: 1;
  display: flex;
  overflow-y: auto;
}

.main > .stream {
  margin-right: calc(var(--page-slack) * -1);
  padding-right: calc(var(--page-slack) + var(--space-5));
}

.empty {
  text-align: center;
  max-width: 460px;
  color: var(--text-muted);
  margin: auto;
  position: relative;
}

.empty:before {
  content: "";
  z-index: -1;
  background: radial-gradient(42% 38% at 38% 34%,
      color-mix(in srgb, var(--accent) 13%, transparent),
      transparent 70%),
    radial-gradient(50% 44% at 68% 70%,
      color-mix(in srgb, var(--fian-mint) 8%, transparent),
      transparent 72%);
  filter: blur(28px);
  pointer-events: none;
  position: absolute;
  inset: -60% -45%;
}

.empty h1 {
  margin: 0 0 var(--space-2);
  font-family: var(--display);
  color: var(--text);
  font-size: 22px;
  font-weight: 600;
}

.empty p {
  margin: 0;
  font-size: 14px;
}

.thread-head {
  align-items: baseline;
  gap: var(--space-3);
  max-width: var(--reading-width);
  width: 100%;
  padding-bottom: var(--space-2);
  border-bottom: 2px solid var(--line);
  margin-inline: auto;
  display: flex;
}

.thread-title {
  -webkit-line-clamp: 2;
  line-clamp: 2;
  min-width: 0;
  font-family: inherit;
  font-size: var(--text-md);
  color: var(--text-muted);
  -webkit-box-orient: vertical;
  flex: 1;
  margin: 0;
  font-weight: 500;
  line-height: 1.4;
  display: -webkit-box;
  overflow: hidden;
}

.thread-where {
  font-family: var(--mono);
  font-size: var(--text-xs);
  color: var(--text-faint);
  flex: none;
}

.turn {
  max-width: var(--reading-width);
  width: 100%;
  min-width: 0;
  margin-inline: auto;
}

.turn-body {
  min-width: 0;
}

.turn-text {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-family: var(--reading);
  font-size: var(--text-reading);
}

.turn-you .turn-body {
  padding: var(--space-2) var(--space-3);
  background: var(--surface);
  border: 2px solid var(--line);
  border-left: 2px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--rim), var(--shadow-1);
}

.turn.is-failed .turn-text {
  color: var(--fail);
}

.turn-meta {
  margin-top: var(--space-2);
  font-family: var(--mono);
  font-size: var(--text-xs);
  color: var(--text-faint);
}

.tools {
  gap: var(--space-1);
  margin-bottom: var(--space-2);
  flex-wrap: wrap;
  display: flex;
}

.tool {
  font-family: var(--mono);
  font-size: var(--text-xs);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  background: var(--surface);
  border: 2px solid var(--line);
  padding: 2px 7px;
}

.tool-count {
  margin-left: var(--space-1);
  color: var(--accent);
}

.tools.is-live .tool {
  animation: .62s cubic-bezier(.2, .6, .3, 1) tool-arrive;
}

@keyframes tool-arrive {
  0% {
    opacity: 0;
    border-color: color-mix(in srgb, var(--accent) 60%, transparent);
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 34%, transparent),
      0 0 12px 0 color-mix(in srgb, var(--accent) 40%, transparent);
    transform: translateY(3px);
  }

  30% {
    opacity: 1;
    transform: translateY(0);
  }

  100% {
    opacity: 1;
    border-color: var(--line);
    transform: translateY(0);
    box-shadow: 0 0 0 7px #0000, 0 0 20px 4px #0000;
  }
}

.md {
  font-family: var(--reading);
  font-size: var(--text-reading);
}

.md-table table {
  font-family: var(--sans);
}

.md > :last-child {
  margin-bottom: 0;
}

.md p {
  overflow-wrap: anywhere;
  text-wrap: pretty;
  margin: 0 0 .9lh;
}

.md h1, .md h2, .md h3, .md h4, .md h5, .md h6 {
  font-family: var(--display);
  text-wrap: balance;
  margin: 1.6lh 0 .45lh;
  font-weight: 600;
  line-height: 1.25;
}

.md > :first-child {
  margin-top: 0;
}

.md h1 {
  font-size: 26px;
}

.md h2 {
  font-size: 22px;
}

.md h3 {
  font-size: 19px;
}

.md h4, .md h5, .md h6 {
  font-family: var(--sans);
  font-size: var(--text-reading);
}

.md ul, .md ol {
  margin: 0 0 10px;
  padding-left: 22px;
}

.md li {
  margin: .25lh 0;
}

.md li > p {
  margin: 0;
}

.md li > :last-child {
  margin-bottom: 0;
}

.md li > ul, .md li > ol {
  margin: 3px 0 0;
}

.md blockquote {
  padding-left: var(--space-3);
  border-left: 2px solid var(--line-strong);
  color: var(--text-muted);
  margin: 10px 0;
}

.md hr {
  margin: var(--space-4) 0;
  border: 0;
  border-top: 2px solid var(--line);
}

.md a {
  color: var(--accent);
  overflow-wrap: anywhere;
}

.md :not(pre) > code {
  font-family: var(--mono);
  background: var(--surface-raised);
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  overflow-wrap: anywhere;
  padding: 1px 5px;
  font-size: .88em;
}

.md-code {
  background: var(--surface-sunken);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  margin: 10px 0;
  overflow: hidden;
}

.md-code-lang {
  font-family: var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-faint);
  border-bottom: 2px solid var(--line);
  background: #0000002e;
  padding: 3px 10px;
  font-size: 10px;
}

.md-code pre {
  padding: 10px var(--space-3);
  margin: 0;
  overflow-x: auto;
}

.md-code code {
  font-family: var(--mono);
  white-space: pre;
  font-size: 12.5px;
  line-height: 1.5;
}

.md-table {
  margin: 10px 0;
  overflow-x: auto;
}

.md-table table {
  border-collapse: collapse;
  font-size: var(--text-md);
}

.md-table th, .md-table td {
  border: 2px solid var(--line);
  text-align: left;
  padding: 5px 10px;
}

.md-table th {
  background: var(--surface-raised);
  font-weight: 600;
}

.caret, .md.is-thinking > :last-child:not(.caret):after {
  vertical-align: middle;
  background: radial-gradient(circle at 36% 32%,
    #f6ffe8 0%,
    var(--accent) 32%,
    color-mix(in srgb, var(--accent) 62%, transparent) 56%,
    color-mix(in srgb, var(--accent) 22%, transparent) 79%,
    transparent 100%);
  width: 9px;
  height: 9px;
  box-shadow: 0 0 6px color-mix(in srgb, var(--accent) 62%, transparent),
    0 0 14px color-mix(in srgb, var(--accent) 40%, transparent),
    0 0 28px color-mix(in srgb, var(--accent) 20%, transparent),
    0 0 48px color-mix(in srgb, var(--accent) 9%, transparent);
  border-radius: 50%;
  margin-left: 2px;
  animation: 3.6s ease-in-out infinite wisp-drift;
  display: inline-block;
}

.md.is-thinking > :last-child:not(.caret):after {
  content: "";
  animation: .3s cubic-bezier(.45, 0, .2, 1) wisp-rise, 3.6s ease-in-out infinite wisp-drift;
}

.md.is-writing > :last-child:not(.caret):after {
  content: "";
  vertical-align: text-bottom;
  background: var(--accent);
  width: 7px;
  height: 1.05em;
  box-shadow: 0 0 9px color-mix(in srgb, var(--accent) 65%, transparent);
  border-radius: 1px;
  margin-left: 2px;
  animation: .3s cubic-bezier(.45, 0, .2, 1) wisp-settle, 1.4s ease-in-out infinite wisp-breath;
  display: inline-block;
}

@keyframes wisp-drift {
  0% {
    opacity: .9;
    translate: 0;
  }

  30% {
    opacity: 1;
    translate: 1.5px -2.5px;
  }

  55% {
    opacity: .72;
    translate: -1px -.5px;
  }

  80% {
    opacity: .95;
    translate: -1.5px -2px;
  }

  100% {
    opacity: .9;
    translate: 0;
  }
}

@keyframes wisp-settle {
  from {
    border-radius: 50%;
    width: 9px;
    height: 9px;
    transform: translateY(-.28em);
  }

  to {
    border-radius: 1px;
    width: 7px;
    height: 1.05em;
    transform: translateY(0);
  }
}

@keyframes wisp-rise {
  from {
    border-radius: 1px;
    width: 7px;
    height: 1.05em;
    transform: translateY(.28em);
  }

  to {
    border-radius: 50%;
    width: 9px;
    height: 9px;
    transform: translateY(0);
  }
}

@keyframes wisp-breath {
  50% {
    opacity: .2;
  }
}

.resume-rule {
  max-width: var(--reading-width);
  width: 100%;
  color: var(--text-faint);
  font-family: var(--mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  align-items: center;
  gap: 10px;
  margin-inline: auto;
  font-size: 10px;
  display: flex;
}

.resume-rule:before, .resume-rule:after {
  content: "";
  background: linear-gradient(var(--line), var(--line)) center / 100% 1px no-repeat,
    repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 10px) center / 100% 9px
      no-repeat;
  flex: 1;
  height: 9px;
}

.wiki-tree {
  flex-direction: column;
  gap: 1px;
  display: flex;
}

.wiki-row {
  align-items: baseline;
  gap: var(--space-2);
  min-width: 0;
  padding: var(--space-2) var(--space-3);
  text-align: left;
  border-radius: var(--radius-sm);
  color: inherit;
  font: inherit;
  font-size: var(--text-sm);
  cursor: pointer;
  transition: background var(--ease),
    box-shadow var(--ease),
    border-color var(--ease);
  background: none;
  border: 0;
  display: flex;
}

.wiki-row:hover {
  background: var(--chrome-glass);
}

.wiki-row.is-skeleton {
  pointer-events: none;
  align-items: center;
}

.wiki-row.is-skeleton:before {
  content: "​";
  width: 0;
}

.wiki-caret {
  flex: none;
  width: .9em;
}

.wiki-row.is-dir .wiki-caret:before {
  content: "";
  border-left: 4px solid var(--chrome-muted);
  transform-origin: 25%;
  border-top: 3.5px solid #0000;
  border-bottom: 3.5px solid #0000;
  width: 0;
  height: 0;
  transition: transform .12s;
  display: block;
}

.wiki-row.is-dir[aria-expanded="true"] .wiki-caret:before {
  transform: rotate(90deg);
}

.wiki-name {
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.wiki-row.is-dir .wiki-name {
  color: var(--chrome-muted);
}

.wiki-when {
  font-family: var(--mono);
  font-size: var(--text-xs);
  color: var(--chrome-muted);
  opacity: .7;
  flex: none;
}

.wiki-row.is-active {
  --vine: linear-gradient(135deg,
    color-mix(in srgb, var(--chrome-accent) 55%, transparent) 0%,
    color-mix(in srgb, var(--chrome-accent) 22%, transparent) 24%,
    color-mix(in srgb, var(--chrome-accent) 6%, transparent) 48%,
    transparent 70%);
  background: color-mix(in srgb, var(--chrome-accent) 16%, transparent);
  box-shadow: var(--bloom);
  position: relative;
}

.wiki-row.is-active .wiki-name {
  color: var(--chrome-accent);
}

.wiki-section-label {
  padding: var(--space-3) var(--space-3) 3px;
}

.doc {
  width: 100%;
  max-width: var(--reading-width);
  padding: var(--space-5) 0 var(--space-6);
  margin: 0 auto;
}

.doc-head {
  align-items: baseline;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-2);
  border-bottom: 2px solid var(--line);
  display: flex;
}

.doc-path {
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  font-size: var(--text-sm);
  letter-spacing: .01em;
  color: var(--text-muted);
  flex: 1;
  overflow: hidden;
}

.doc-when {
  font-family: var(--mono);
  font-size: var(--text-xs);
  color: var(--text-faint);
  flex: none;
}

.doc-close {
  padding: 0 var(--space-1);
  font: inherit;
  color: var(--text-faint);
  cursor: pointer;
  background: none;
  border: 0;
  flex: none;
  line-height: 1;
}

.doc-close:hover {
  color: var(--text);
}

.doc-plain {
  font-family: var(--mono);
  font-size: var(--text-sm);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: var(--text);
  margin: 0;
  line-height: 1.6;
}

.proj {
  margin-bottom: var(--space-6);
}

.proj-name {
  font-family: var(--display);
  text-wrap: balance;
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.25;
}

.proj-milestone {
  margin: var(--space-2) 0 0;
  font-family: var(--display);
  text-wrap: balance;
  color: var(--text);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.35;
}

.proj-milestone.is-unset {
  color: var(--text-faint);
  font-style: italic;
}

.proj-meta {
  margin: var(--space-3) 0 0;
  font-family: var(--mono);
  font-size: var(--text-xs);
  letter-spacing: .02em;
  color: var(--text-faint);
}

.proj-dot {
  opacity: .55;
  margin: 0 .5ch;
}

.proj-dates {
  margin: var(--space-5) 0 0;
  gap: var(--space-3);
  flex-direction: column;
  padding: 0;
  list-style: none;
  display: flex;
}

.proj-unscheduled {
  margin-top: var(--space-3);
}

.proj-date {
  align-items: baseline;
  gap: var(--space-1) var(--space-3);
  padding-left: var(--space-3);
  border-left: 2px solid var(--line);
  flex-wrap: wrap;
  display: flex;
}

.proj-when {
  min-width: 13ch;
  font-family: var(--mono);
  font-size: var(--text-xs);
  color: var(--text-faint);
  flex: none;
}

.proj-what {
  font-size: var(--text-base);
  color: var(--text);
  flex: 18ch;
  line-height: 1.45;
}

.proj-date.is-late {
  border-left-color: var(--fail);
}

.proj-date.is-late .proj-when {
  color: var(--fail);
}

.proj-date.is-tentative {
  border-left-style: dashed;
}

.proj-date.is-dormant {
  opacity: .6;
  border-left-style: dotted;
}

.proj-log {
  margin-top: var(--space-4);
}

.proj-log .proj-date.is-done {
  border-left-color: color-mix(in srgb, var(--accent) 45%, var(--line));
}

.proj-log .proj-what {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.proj-tag {
  padding: 1px var(--space-2);
  font-family: var(--mono);
  font-size: var(--text-xs);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-faint);
  border: 2px solid var(--line);
  border-radius: var(--radius-pill);
  flex: none;
}

.board {
  gap: 0;
}

.board-head, .board-when, .board-tier, .board-foot {
  width: 100%;
  max-width: 960px;
  margin-inline: auto;
}

.board-head {
  padding-block: var(--space-3) var(--space-5);
}

.board-head h1 {
  margin: 0 0 var(--space-1);
  font-family: var(--display);
  color: var(--text);
  font-size: 22px;
  font-weight: 600;
}

.board-head p {
  max-width: var(--reading-width);
  font-size: var(--text-md);
  color: var(--text-muted);
  margin: 0;
}

.board-when, .board-tier {
  padding-bottom: var(--space-6);
}

.board-when .section-label, .board-tier .section-label, .board-foot .section-label {
  margin: 0 0 var(--space-3);
  color: var(--text-faint);
  display: block;
}

.line {
  gap: var(--space-3);
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
}

.line-row {
  align-items: baseline;
  gap: var(--space-1) var(--space-3);
  padding-left: var(--space-3);
  border-left: 2px solid var(--line);
  grid-template-columns: 11ch 6ch minmax(0, 1fr) 20ch;
  display: grid;
}

.line-date, .line-count {
  font-family: var(--mono);
  font-size: var(--text-xs);
  color: var(--text-faint);
}

.line-what {
  font-size: var(--text-base);
  color: var(--text);
  line-height: 1.45;
}

.line-who {
  font: inherit;
  font-size: var(--text-xs);
  color: var(--text-muted);
  cursor: pointer;
  text-align: left;
  background: none;
  border: 0;
  justify-self: start;
  padding: 0;
}

.line-who:hover {
  color: var(--accent);
  text-decoration: underline;
}

.line-row.is-late {
  border-left-color: var(--fail);
}

.line-row.is-late .line-date, .line-row.is-late .line-count {
  color: var(--fail);
}

.line-row.is-tentative {
  border-left-style: dashed;
}

.line-row.is-undated .line-date {
  font-style: italic;
}

.line-row.is-dormant {
  opacity: .6;
  border-left-style: dotted;
}

.cards {
  gap: var(--space-4);
  grid-template-columns: repeat(auto-fill, minmax(22rem, 1fr));
  display: grid;
}

.card {
  gap: var(--space-2);
  padding: var(--space-4);
  border: 2px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-raised);
  flex-direction: column;
  display: flex;
}

.card-open {
  width: 100%;
  font: inherit;
  text-align: left;
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
  display: block;
}

.card-name {
  font-family: var(--display);
  font-size: var(--text-lg);
  color: var(--text);
  margin: 0;
  font-weight: 600;
}

.card-open:hover .card-name {
  color: var(--accent);
}

.card-milestone {
  margin: var(--space-1) 0 0;
  font-size: var(--text-base);
  color: var(--text-muted);
  line-height: 1.45;
}

.card-milestone.is-unset {
  color: var(--text-faint);
  font-style: italic;
}

.card-due {
  align-items: baseline;
  gap: var(--space-1) var(--space-2);
  padding-left: var(--space-3);
  border-left: 2px solid var(--line);
  flex-wrap: wrap;
  margin: 0;
  display: flex;
}

.card-when {
  font-family: var(--mono);
  font-size: var(--text-xs);
  color: var(--text-faint);
  flex: none;
}

.card-what {
  font-size: var(--text-md);
  color: var(--text);
  flex: 14ch;
  line-height: 1.4;
}

.card-due.is-late {
  border-left-color: var(--fail);
}

.card-due.is-late .card-when {
  color: var(--fail);
}

.card-due.is-tentative {
  border-left-style: dashed;
}

.card-foot {
  align-items: center;
  gap: var(--space-2);
  padding-top: var(--space-3);
  flex-wrap: wrap;
  margin-top: auto;
  display: flex;
}

.card-synced {
  font-family: var(--mono);
  font-size: var(--text-xs);
  color: var(--text-faint);
  flex: auto;
}

.card-start {
  padding: 2px var(--space-2);
  font-family: var(--mono);
  font-size: var(--text-xs);
  color: var(--text-muted);
  border: 2px solid var(--line);
  border-radius: var(--radius-pill);
  cursor: pointer;
  background: none;
  flex: none;
  transition: color .15s, border-color .15s;
}

.card-start:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.rows {
  margin: 0;
  padding: 0;
  list-style: none;
}

.row {
  align-items: baseline;
  gap: var(--space-1) var(--space-3);
  width: 100%;
  padding: var(--space-2) var(--space-2) var(--space-2) 0;
  border: 0;
  border-bottom: 2px solid var(--line);
  font: inherit;
  text-align: left;
  cursor: pointer;
  background: none;
  flex-wrap: wrap;
  display: flex;
}

.row:hover .row-name {
  color: var(--accent);
}

.row-name {
  min-width: 16ch;
  font-weight: 600;
  font-size: var(--text-md);
  color: var(--text);
  flex: none;
}

.row-milestone {
  font-size: var(--text-md);
  color: var(--text-muted);
  flex: 24ch;
  line-height: 1.4;
}

.row.is-unset .row-milestone {
  color: var(--text-faint);
  font-style: italic;
}

.board-foot {
  padding-bottom: var(--space-6);
}

.board-foot .row {
  opacity: .75;
  border-bottom: 0;
}

.board-foot .row:hover {
  opacity: 1;
}

.proj-notes {
  margin-top: var(--space-6);
  padding-top: var(--space-4);
  border-top: 2px solid var(--line);
}

.proj-notes h2 {
  font-family: var(--display);
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.25;
}

.proj-notes-lede {
  margin: var(--space-1) 0 var(--space-3);
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.proj-notes .wiki-row {
  color: var(--text);
}

.proj-notes .wiki-row:hover {
  background: var(--surface);
}

.proj-notes .wiki-when {
  color: var(--text-faint);
  opacity: 1;
}

.proj-run {
  margin-top: var(--space-3);
  padding: var(--space-2) var(--space-3);
  font: inherit;
  font-size: var(--text-sm);
  color: var(--text-muted);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  background: none;
  transition: border-color .12s, color .12s;
}

.proj-run:hover {
  color: var(--text);
  border-color: var(--line-strong);
}

.proj-run:disabled {
  cursor: default;
  opacity: .7;
}

.proj-run:disabled:hover {
  color: var(--text-muted);
  border-color: var(--line);
}

.proj-run-row {
  align-items: center;
  gap: var(--space-3);
  display: flex;
}

.proj-run-status {
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--text-muted);
  display: flex;
}

.proj-run-light {
  background: var(--accent);
  opacity: .5;
  border-radius: 50%;
  flex: none;
  width: 7px;
  height: 7px;
}

.proj-run-status.is-running .proj-run-light {
  opacity: 1;
  box-shadow: 0 0 8px color-mix(in srgb, var(--accent) 46%, transparent);
  animation: 2.4s ease-in-out infinite tab-breath;
}

.proj-run-status.is-done .proj-run-light {
  opacity: 1;
  box-shadow: 0 0 8px color-mix(in srgb, var(--accent) 46%, transparent);
}

.proj-run-status.is-error {
  color: var(--fail);
}

.proj-run-status.is-error .proj-run-light {
  opacity: 1;
  background: var(--fail);
  box-shadow: 0 0 8px color-mix(in srgb, var(--fail) 46%, transparent);
}

.doc-skeleton {
  font-size: var(--text-base);
  flex-direction: column;
  gap: .89em;
  display: flex;
}

.skeleton-title {
  font-size: 24px;
}

.skeleton-head {
  margin-top: 1.2em;
  font-size: 20px;
}

.queued {
  gap: var(--space-1);
  max-width: min(var(--reading-width), 100% - var(--space-5) * 2);
  width: 100%;
  padding: var(--space-2) var(--space-2) var(--space-2) var(--space-3);
  background: var(--surface);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  flex-direction: column;
  margin-inline: auto;
  display: flex;
}

.queued-head {
  align-items: baseline;
  gap: var(--space-2);
  flex-wrap: wrap;
  display: flex;
}

.queued-label {
  font-family: var(--mono);
  font-size: var(--text-xs);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.queued-note {
  min-width: 0;
  font-size: var(--text-xs);
  color: var(--text-faint);
  flex: 1;
}

.queued-release {
  padding: 2px var(--space-2);
  font: inherit;
  font-size: var(--text-xs);
  color: var(--text);
  border: 2px solid var(--line-strong);
  border-radius: var(--radius-sm);
  cursor: pointer;
  background: none;
  flex: none;
}

.queued-release:hover {
  border-color: color-mix(in srgb, var(--accent) 60%, transparent);
  color: var(--accent);
}

.queued-list {
  overscroll-behavior: contain;
  flex-direction: column;
  gap: 1px;
  max-height: 132px;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  overflow-y: auto;
}

.queued-row {
  align-items: center;
  gap: var(--space-2);
  border-radius: var(--radius-sm);
  grid-template-columns: minmax(0, 1fr) auto;
  display: grid;
}

.queued-row:hover {
  background: var(--surface-raised);
}

.queued-text {
  -webkit-line-clamp: 2;
  min-width: 0;
  font-size: var(--text-md);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  line-height: 1.45;
  display: -webkit-box;
  overflow: hidden;
}

.queued-drop {
  padding: 0 var(--space-2);
  font: inherit;
  font-size: var(--text-md);
  color: var(--text-faint);
  border-radius: var(--radius-sm);
  cursor: pointer;
  background: none;
  border: 0;
  flex: none;
  line-height: 1.6;
}

.queued-drop:hover {
  color: var(--fail);
}

.dock {
  gap: var(--space-1);
  pointer-events: none;
  flex-direction: column;
  display: flex;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.queued, .composer-field {
  pointer-events: auto;
  background: var(--surface-float);
  -webkit-backdrop-filter: blur(9px);
  backdrop-filter: blur(9px);
}

.composer {
  padding: var(--space-2) var(--space-5) var(--space-4);
  justify-content: center;
  display: flex;
}

.composer-note {
  margin: 0 auto var(--space-2);
  max-width: min(var(--reading-width), 100% - var(--space-5) * 2);
  padding: 0 var(--space-3);
  color: var(--fail);
  font-size: var(--text-sm);
  text-align: center;
  line-height: 1.4;
}

.composer-anchor {
  min-width: 0;
  max-width: var(--reading-width);
  flex: 1;
  display: flex;
  position: relative;
}

.composer-field {
  align-items: flex-end;
  gap: var(--space-2);
  min-width: 0;
  padding: var(--space-2) var(--space-2) var(--space-2) var(--space-4);
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: var(--radius-pill);
  box-shadow: var(--rim), var(--shadow-1);
  transition: border-color var(--ease),
    box-shadow var(--ease);
  flex: 1;
  display: flex;
  position: relative;
}

.composer-field:focus-within {
  border-color: color-mix(in srgb, var(--accent) 50%, transparent);
  box-shadow: var(--rim),
    var(--shadow-1),
    0 8px 30px -8px color-mix(in srgb, var(--accent) 22%, transparent);
}

.composer-field:has(textarea:focus-visible) {
  outline: 2px solid var(--accent);
  outline-offset: -1px;
}

.composer textarea {
  resize: none;
  field-sizing: content;
  min-width: 0;
  min-height: 26px;
  max-height: 200px;
  font: inherit;
  font-family: var(--reading);
  font-size: var(--text-reading);
  color: var(--text);
  background: none;
  border: 0;
  outline: none;
  flex: 1;
  padding: 6px 0;
}

.composer textarea::placeholder {
  color: var(--text-faint);
  opacity: 1;
}

.composer textarea:disabled {
  opacity: .55;
}

.composer-actions {
  align-items: center;
  gap: var(--space-1);
  flex: none;
  display: flex;
}

.model-pick {
  flex: none;
}

.model-pick-trigger {
  height: 34px;
  padding: 0 var(--space-2);
  color: var(--text-muted);
  font: inherit;
  font-size: var(--text-md);
  white-space: nowrap;
  border-radius: calc(var(--radius-pill) - var(--space-2));
  cursor: pointer;
  transition: color var(--ease), background var(--ease);
  background: none;
  border: none;
  align-items: center;
  gap: 6px;
  display: flex;
}

.model-pick-trigger:hover:not(:disabled), .model-pick-trigger.is-open {
  color: var(--text);
  background: var(--surface);
}

.model-pick-trigger:disabled {
  opacity: .35;
  cursor: not-allowed;
}

.model-pick-caret {
  border-top: 4px solid;
  border-left: 3.5px solid #0000;
  border-right: 3.5px solid #0000;
  flex: none;
  width: 0;
  height: 0;
  transition: transform .12s;
}

.model-pick-trigger.is-open .model-pick-caret {
  transform: rotate(180deg);
}

.model-menu {
  bottom: calc(100% + var(--space-2));
  z-index: 5;
  pointer-events: auto;
  width: max-content;
  min-width: 220px;
  max-width: min(300px, calc(100% - var(--space-2)));
  padding: var(--space-1);
  background: var(--surface-float);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  backdrop-filter: blur(20px) saturate(1.3);
  border: 2px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--rim), var(--shadow-2);
  opacity: 0;
  transform-origin: 100% 100%;
  visibility: hidden;
  flex-direction: column;
  gap: 2px;
  transition: opacity .14s, transform .14s, visibility 0s linear .14s;
  display: flex;
  position: absolute;
  right: 0;
  transform: translateY(4px)scale(.97);
}

.model-menu.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity .18s, transform .22s cubic-bezier(.2, .7, .3, 1), visibility;
  transform: none;
}

.model-menu-item {
  padding: var(--space-2) var(--space-3);
  color: var(--text);
  font: inherit;
  text-align: left;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--ease);
  background: none;
  border: none;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  display: flex;
}

.model-menu-item:hover {
  background: var(--surface);
}

.model-menu-item.is-selected .model-menu-name {
  color: var(--accent);
}

.model-menu-name {
  font-size: var(--text-md);
  color: var(--text);
}

.model-menu-note {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.btn-icon {
  width: 34px;
  height: 34px;
  color: var(--accent-on);
  background: var(--accent);
  border-radius: calc(var(--radius-pill) - var(--space-2));
  cursor: pointer;
  transition: transform var(--ease),
    box-shadow var(--ease),
    background var(--ease),
    border-color var(--ease),
    color var(--ease);
  border: none;
  flex: none;
  place-items: center;
  padding: 0;
  display: grid;
}

.btn-icon:hover:not(:disabled) {
  transform: translateY(var(--lift));
  box-shadow: var(--bloom);
}

.btn-icon:disabled {
  opacity: .35;
  cursor: not-allowed;
}

.composer .btn-stop {
  color: var(--text-muted);
  border: 2px solid var(--line-strong);
  background: none;
}

.composer .btn-stop:hover {
  color: var(--fail);
  border-color: var(--fail);
  box-shadow: none;
}

.pulse {
  border-radius: inherit;
  pointer-events: none;
  animation: .62s cubic-bezier(.2, .6, .3, 1) forwards send-pulse;
  position: absolute;
  inset: -1px;
}

@keyframes send-pulse {
  from {
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 40%, transparent),
      0 0 12px 0 color-mix(in srgb, var(--accent) 30%, transparent);
  }

  to {
    box-shadow: 0 0 0 12px #0000, 0 0 26px 8px #0000;
  }
}

.muted {
  color: var(--chrome-muted);
  font-size: var(--text-md);
}

.sr-only {
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  position: absolute;
  overflow: hidden;
}

.doc-link {
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
  border: 0;
  border-bottom: 2px solid color-mix(in srgb, var(--accent) 45%, transparent);
  transition: border-color var(--ease), color var(--ease);
  background: none;
  margin: 0;
  padding: 0;
  display: inline;
}

.doc-link:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.doc-link > code {
  cursor: inherit;
}

.doc-space {
  color: var(--accent);
  font-weight: 500;
}

.doc-space:after {
  content: " / ";
  color: var(--text-faint);
  font-weight: 400;
}

.skeleton {
  background-color: var(--skeleton);
  background-image: linear-gradient(90deg,
    transparent 30%,
    var(--skeleton-lit) 50%,
    transparent 70%);
  background-repeat: no-repeat;
  background-size: 300% 100%;
  border-radius: 3px;
  height: .66em;
  animation: 2.4s ease-in-out infinite skeleton-sweep;
  display: block;
}

@keyframes skeleton-sweep {
  from {
    background-position: 100% 0;
  }

  to {
    background-position: 0 0;
  }
}

.gate, .boot {
  min-height: 100dvh;
  padding: var(--space-5);
  background: radial-gradient(64% 46% at 24% 8%,
      color-mix(in srgb, var(--accent) 16%, transparent),
      transparent 66%),
    radial-gradient(80% 58% at 82% 96%, var(--chrome-shade), transparent 70%),
    var(--grain), var(--chrome);
  place-items: center;
  display: grid;
}

.gate-card {
  gap: var(--space-3);
  width: 100%;
  max-width: 330px;
  padding: var(--space-6) var(--space-5);
  background: var(--chrome-raised);
  border: 2px solid var(--chrome-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--rim), var(--shadow-2);
  color: var(--chrome-text);
  flex-direction: column;
  display: flex;
}

.gate-copy {
  font-size: var(--text-md);
  color: var(--chrome-muted);
  margin: 0;
  line-height: 1.5;
}

.gate-card input {
  padding: 10px var(--space-3);
  font: inherit;
  color: var(--chrome-text);
  background: var(--chrome-sunken);
  border: 2px solid var(--chrome-line);
  border-radius: var(--radius);
}

.gate-card input::placeholder {
  color: var(--chrome-muted);
  opacity: 1;
}

.gate-card input:focus {
  border-color: color-mix(in srgb, var(--chrome-accent) 55%, transparent);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 12%, transparent),
    0 0 10px color-mix(in srgb, var(--accent) 9%, transparent);
  outline: none;
}

.gate-card input:focus-visible {
  outline: 2px solid var(--chrome-accent);
  outline-offset: 2px;
}

.gate-card button {
  padding: 10px var(--space-4);
  font: inherit;
  color: var(--accent-on);
  background: var(--chrome-accent);
  border-radius: var(--radius);
  cursor: pointer;
  border: none;
  font-weight: 500;
}

.gate-card button:disabled {
  opacity: .4;
  cursor: not-allowed;
}

.gate-problem {
  font-size: var(--text-md);
  color: var(--chrome-danger);
}

.boot {
  z-index: 90;
  align-content: center;
  gap: var(--space-5);
  position: fixed;
  inset: 0;
}

.boot.is-leaving {
  pointer-events: none;
  animation: .82s linear both boot-leave;
}

@keyframes boot-leave {
  0% {
    opacity: 1;
    filter: blur();
    transform: scale(1);
  }

  32% {
    opacity: .88;
    filter: blur(2px);
    transform: scale(1.014);
  }

  66% {
    opacity: .48;
    filter: blur(7px);
    transform: scale(1.046);
  }

  100% {
    opacity: 0;
    filter: blur(15px);
    transform: scale(1.09);
  }
}

.shell.is-arriving, .gate.is-arriving {
  animation: .9s cubic-bezier(.45, 0, .25, 1) both arrive;
}

@keyframes arrive {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.gate.is-arriving .gate-card {
  animation: .9s cubic-bezier(.2, .7, .3, 1) both gate-settle;
}

@keyframes gate-settle {
  from {
    opacity: 0;
    transform: translate3d(0, 10px, 0)scale(.97);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.mark {
  width: var(--mark, 1.25em);
  height: var(--mark, 1.25em);
  background: rgb(var(--chrome-ink) / .42);
  flex: none;
  position: relative;
  -webkit-mask: url("/fian_logo.webp") center / contain no-repeat;
  mask: url("/fian_logo.webp") center / contain no-repeat;
}

.boot .mark {
  --mark: 104px;
  animation: 6.4s ease-in-out infinite mark-breath;
}

@keyframes mark-breath {
  0%, 100% {
    filter: drop-shadow(0 0 14px rgb(var(--chrome-ink) / .1));
  }

  50% {
    filter: drop-shadow(0 0 40px rgb(var(--chrome-ink) / .3));
  }
}

.mark-sheen {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.mark-sheen:before {
  content: "";
  background: linear-gradient(104deg,
    transparent 18%,
    color-mix(in srgb, var(--chrome-spark) 22%, transparent) 34%,
    color-mix(in srgb, var(--chrome-spark) 80%, transparent) 50%,
    color-mix(in srgb, var(--chrome-spark) 22%, transparent) 66%,
    transparent 82%);
  animation: 7.2s cubic-bezier(.45, 0, .25, 1) infinite mark-sheen;
  position: absolute;
  inset: -30% -45%;
}

@keyframes mark-sheen {
  0%, 16% {
    transform: translate3d(-62%, 0, 0);
  }

  84%, 100% {
    transform: translate3d(62%, 0, 0);
  }
}

.boot-note {
  font-size: var(--text-md);
  color: var(--chrome-muted);
  opacity: 0;
  margin: 0;
  transition: opacity .6s;
}

.boot-note.is-shown {
  opacity: 1;
}

@container page (max-width: 720px) {
  .line-row {
    gap: 2px var(--space-3);
    grid-template-columns: max-content 1fr;
  }

  .line-what, .line-who {
    grid-column: 1 / -1;
  }

  .line-who {
    margin-top: 2px;
  }

  .cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .row-name {
    min-width: 0;
  }
}

@media (max-width: 720px) {
  :root {
    --rail: 62px;
  }

  .shell {
    grid-template-rows: 100%;
    grid-template-columns: minmax(0, 1fr);
  }

  .topbar {
    z-index: 10;
    margin: var(--space-2) 0;
    margin-top: calc(var(--space-2) + env(safe-area-inset-top));
    padding: var(--space-2) var(--space-4);
    color: var(--text);
    background: none;
    border: 2px solid #0000;
    border-radius: 0;
    align-items: center;
    gap: 10px;
    transition: margin .3s, padding .3s, border-radius .3s, border-color .3s, box-shadow .3s, background .3s, color .3s, -webkit-backdrop-filter .3s, backdrop-filter .3s, opacity .3s, filter .2s .16s, visibility .24s .16s;
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
  }

  .topbar.is-floating {
    margin-inline: var(--space-4);
    padding: var(--space-2) var(--space-2) var(--space-2) var(--space-3);
    border-color: var(--chrome-line);
    border-radius: var(--radius-pill);
    box-shadow: var(--rim), var(--haze);
    background: var(--chrome-float);
    -webkit-backdrop-filter: blur(20px) saturate(1.3);
    backdrop-filter: blur(20px) saturate(1.3);
    color: var(--chrome-text);
  }

  .topbar:after {
    opacity: 0;
    transition: opacity .3s;
  }

  .topbar.is-floating:after {
    opacity: 1;
  }

  .sidebar, .chatwin:not(.is-folded) {
    top: calc(var(--space-2) + env(safe-area-inset-top));
    z-index: 30;
    border-radius: var(--radius-pill);
    width: auto;
    height: auto;
    margin: 0 var(--space-4);
    margin-bottom: calc(var(--space-2) + env(safe-area-inset-bottom));
    bottom: 0;
    left: 0;
    right: 0;
    bottom: calc(var(--rail) + env(safe-area-inset-bottom));
    background-color: color-mix(in srgb, var(--chrome) 92%, transparent);
    -webkit-backdrop-filter: blur(20px) saturate(1.3);
    backdrop-filter: blur(20px) saturate(1.3);
    border: 2px solid var(--chrome-line);
    border-radius: var(--radius-pill);
    box-shadow: var(--rim), var(--haze);
    visibility: hidden;
    opacity: 0;
    transform-origin: top;
    filter: blur(7px);
    transition: transform .44s cubic-bezier(.4, .05, .2, 1), opacity .3s, filter .4s, visibility .44s;
    animation: none;
    position: fixed;
    transform: translateY(-3%)scaleY(.84);
  }

  .sidebar:after {
    content: "";
  }

  .is-menu-open .sidebar, .is-chat-open .chatwin:not(.is-folded), .chatwin:not(.is-folded) {
    visibility: visible;
    opacity: 1;
    filter: none;
    transform: none;
  }

  .chatwin {
    transition: none;
  }

  .chatwin.is-folded {
    flex-shrink: 0;
  }

  .chatwin:not(.is-folded).is-closing {
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--shut), transform var(--shut);
    transform: scale(.97);
  }

  .tabs {
    max-width: none;
    padding-inline: var(--space-4);
    padding-bottom: calc(var(--space-3) + env(safe-area-inset-bottom));
    left: 0;
    right: 0;
  }

  .tabs-rail {
    align-items: flex-end;
    gap: var(--space-2);
    scrollbar-width: none;
    flex: 1;
    min-width: 0;
    margin: -3px -12px;
    padding: 3px 12px;
    display: flex;
    overflow-x: auto;
    -webkit-mask-image: linear-gradient(to right, #0000 0, #000 12px calc(100% - 12px), #0000 100%);
    mask-image: linear-gradient(to right, #0000 0, #000 12px calc(100% - 12px), #0000 100%);
  }

  .is-chat-open .tabs-rail {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .chatwin:not(.is-folded) {
    --panel-pad: 20px;
  }

  .chatwin:not(.is-folded) .chatwin-head {
    padding: var(--space-3) var(--space-3) var(--space-2) var(--panel-pad);
  }

  .chatwin:not(.is-folded) .stream, .chatwin:not(.is-folded) .chatbar-body, .chatwin:not(.is-folded) .composer {
    padding-inline: var(--panel-pad);
  }

  .chatwin:not(.is-folded) .stream {
    padding-top: var(--panel-pad);
  }

  .chatwin:not(.is-folded) .queued {
    max-width: min(var(--reading-width), 100% - var(--panel-pad) * 2);
  }

  .chatwin:not(.is-folded) > :not(.chatwin-head) {
    width: auto;
    transition: none;
  }

  .is-menu-open .chatwin:not(.is-folded), .is-chat-open .sidebar {
    visibility: hidden;
  }

  .btn-close {
    margin: -3px calc(var(--space-3) * -1) -3px 0;
    display: grid;
  }

  .is-menu-open .topbar, .is-chat-open .topbar {
    visibility: hidden;
    opacity: 0;
    filter: blur(6px);
    transition: opacity .18s, filter .22s, visibility .22s;
  }

  .scrim {
    z-index: 20;
    background: var(--scrim);
    -webkit-backdrop-filter: blur(14px) saturate(1.15);
    backdrop-filter: blur(14px) saturate(1.15);
    opacity: 0;
    pointer-events: none;
    transition: opacity .22s;
    display: block;
    position: fixed;
    inset: 0;
  }

  .is-menu-open .scrim, .is-chat-open .scrim {
    opacity: 1;
    pointer-events: auto;
  }

  .topbar-title {
    flex: 1;
    min-width: 0;
  }

  .stream {
    padding: calc(var(--topbar-height, 0px) + var(--space-4)) var(--space-4)
      calc(var(--dock-height, 76px) + var(--space-3));
    gap: var(--space-4);
  }

  .composer {
    padding: var(--space-2) var(--space-4) var(--space-3);
  }

  .queued {
    max-width: min(var(--reading-width), 100% - var(--space-4) * 2);
  }

  .thread-head {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sidebar, .scrim, .topbar, .is-menu-open .topbar, .topbar:after, .topbar-title span, .model-menu, .model-menu.is-open {
    transition: none;
  }

  .traced:after {
    animation: none;
  }

  .panel-lift, .chat-row, .mode, .ws, .account, .btn-quiet, .btn-danger, .btn-primary, .btn-icon {
    transition: box-shadow var(--ease), background var(--ease), border-color var(--ease);
  }

  .panel-lift:hover, .chat-row:hover, .mode:hover, .ws:hover, .account:hover, .btn-quiet:hover, .btn-danger:hover, .btn-primary:hover, .btn-icon:hover:not(:disabled) {
    transform: none;
  }

  .chatwin.is-working .tab-light, .proj-run-status.is-running .proj-run-light {
    animation: none;
  }

  .chatwin, .chatwin-head, .chatwin > :not(.chatwin-head), .chatwin.is-folded > :not(.chatwin-head) {
    transition: none;
  }

  .chatwin.is-folded:hover {
    transform: none;
  }

  .chatwin.is-arriving, .caret, .md.is-thinking > :last-child:not(.caret):after, .md.is-writing > :last-child:not(.caret):after, .skeleton {
    animation: none;
  }

  .pulse {
    animation-duration: 1ms;
  }

  .tools.is-live .tool, .main:before, .boot .mark, .mark-sheen:before, .shell.is-arriving, .gate.is-arriving, .gate.is-arriving .gate-card {
    animation: none;
  }

  .boot.is-leaving {
    animation-duration: 1ms;
  }
}

/*# sourceMappingURL=%5Broot-of-the-server%5D__0kie5lp._.css.map*/