/* Fieldnote — tokens, primitives, layers */
:root {
  /* paper notebook (light) */
  --paper: #F3F0E9;
  --paper-2: #EAE5DA;
  --card: #FBFAF6;
  --ink: #16171B;
  --ink-2: #4A4B51;
  --muted: #64656B;
  --line: rgba(22, 23, 27, .09);
  --line-2: rgba(22, 23, 27, .16);
  --marker: #C2431A;          /* the one action colour: field-marker orange */
  --marker-ink: #FFFFFF;
  --marker-soft: rgba(194, 67, 26, .10);
  --night: #0F1014;           /* the map is always drawn on night paper */
  --night-2: #17181D;
  --night-fg: #ECE9E1;
  --night-mute: #9A988F;
  /* theme hues (sticky-note pigments) */
  --c-ochre: #A97A0B; --c-coral: #C2503A; --c-sage: #4A8657; --c-slate: #4467AA; --c-teal: #1D7E75; --c-plum: #84539F;
  --fl-neutral: #8D8A82; --fl-dark: 0;
  --ff-ui: 'Be Vietnam Pro', system-ui, sans-serif;
  --ff-d: 'Newsreader', 'Iowan Old Style', Georgia, serif;
  --ff-m: 'JetBrains Mono', ui-monospace, monospace;
  --r: 10px; --r-s: 7px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.4, .5, 1);
  color-scheme: light;
}
[data-theme="dark"] {
  --paper: #0E0F12;
  --paper-2: #15161A;
  --card: #1A1B20;
  --ink: #ECE9E1;
  --ink-2: #B7B5AE;
  --muted: #8F8D86;
  --line: rgba(236, 233, 225, .08);
  --line-2: rgba(236, 233, 225, .15);
  --marker: #FF7A47;
  --marker-ink: #17130F;
  --marker-soft: rgba(255, 122, 71, .12);
  --night: #0B0C0F;
  --night-2: #141519;
  --c-ochre: #E8B547; --c-coral: #F07F63; --c-sage: #93C08F; --c-slate: #8AA9E6; --c-teal: #57C2B6; --c-plum: #C495DC;
  --fl-neutral: #77757A; --fl-dark: 1;
  color-scheme: dark;
}
/* "ink" surfaces: the map stage stays dark in both themes */
.ink {
  --ink: #ECE9E1; --ink-2: #B7B5AE; --muted: #9A988F; --line: rgba(236, 233, 225, .09); --line-2: rgba(236, 233, 225, .16);
  --card: #1C1D22; --paper-2: #17181D;
  --c-ochre: #E8B547; --c-coral: #F07F63; --c-sage: #93C08F; --c-slate: #8AA9E6; --c-teal: #57C2B6; --c-plum: #C495DC;
  --fl-neutral: #6F6E72; --fl-dark: 1;
  --marker: #FF7A47; --marker-ink: #17130F;
  background: var(--night); color: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.6 var(--ff-ui); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img { max-width: 100%; display: block; color: transparent; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, p, ol, ul, dl, dd, figure, blockquote { margin: 0; }
ol, ul { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--marker); outline-offset: 2px; border-radius: 4px; }
::selection { background: color-mix(in srgb, var(--marker) 28%, transparent); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 8px; text-decoration: none; transition: top .2s var(--ease); }
.skip:focus { top: 12px; }
.mono { font-family: var(--ff-m); font-feature-settings: 'zero' 0; letter-spacing: 0; }
.eyebrow { font: 500 13px/1.4 var(--ff-m); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
kbd { font: 500 12px/1 var(--ff-m); padding: 4px 6px; border-radius: 5px; background: color-mix(in srgb, var(--ink) 8%, transparent); color: var(--muted); }
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.logo { width: 28px; height: 28px; flex: none; }
.logo .lg-page, .logo .lg-fold { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.logo .lg-a { fill: var(--marker); } .logo .lg-b { fill: var(--c-ochre); } .logo .lg-c { fill: var(--c-teal); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 8px; font-weight: 500; font-size: 15px; text-decoration: none; white-space: nowrap; transition: transform .18s var(--ease), background .2s, color .2s, box-shadow .2s; user-select: none; }
.btn:active { transform: scale(.97); }
.btn .ic { width: 18px; height: 18px; }
.btn.primary { background: var(--marker); color: var(--marker-ink); }
.btn.primary:hover { background: color-mix(in srgb, var(--marker) 88%, var(--ink)); }
.btn.ghost { background: color-mix(in srgb, var(--ink) 6%, transparent); }
.btn.ghost:hover { background: color-mix(in srgb, var(--ink) 11%, transparent); }
.btn.line { box-shadow: inset 0 0 0 1px var(--line-2); }
.btn.line:hover { box-shadow: inset 0 0 0 1px var(--ink-2); }
.btn.danger { background: #B3261E; color: #fff; }
.btn.danger-t, .danger-t { color: #C2362C; }
[data-theme="dark"] .btn.danger-t, [data-theme="dark"] .danger-t { color: #FF8A80; }
.btn.lg { min-height: 54px; padding: 0 24px; font-size: 16px; border-radius: 10px; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 8px; color: var(--ink-2); transition: background .2s, color .2s, transform .18s var(--ease); }
.icon-btn:hover { background: color-mix(in srgb, var(--ink) 8%, transparent); color: var(--ink); }
.icon-btn:active { transform: scale(.94); }
.icon-btn[aria-pressed="true"] { color: var(--marker); }
.icon-btn.xs { width: 32px; height: 32px; } .icon-btn.xs .ic { width: 16px; height: 16px; }
.icon-btn[disabled] { opacity: .3; pointer-events: none; }
.txt-link { color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 5px; font-weight: 500; transition: color .2s, text-decoration-color .2s; }
.txt-link:hover { color: var(--ink); text-decoration-color: var(--marker); }

/* segmented + chips */
.seg { display: inline-flex; padding: 3px; border-radius: 9px; background: color-mix(in srgb, var(--ink) 6%, transparent); gap: 2px; }
.seg button { min-height: 38px; padding: 0 14px; border-radius: 7px; font-size: 14px; font-weight: 500; color: var(--muted); transition: background .2s, color .2s; }
.seg button[aria-pressed="true"] { background: var(--card); color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.seg.sm button { min-height: 34px; padding: 0 10px; font: 500 13px/1 var(--ff-m); }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { min-height: 40px; padding: 0 14px; border-radius: 99px; font-size: 14px; font-weight: 500; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-2); transition: all .2s; }
.chip:hover { color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); box-shadow: none; }

/* avatar letters */
.av { --s: 40px; display: inline-grid; place-items: center; width: var(--s); height: var(--s); flex: none; border-radius: 50%; font: 600 calc(var(--s) * .36)/1 var(--ff-ui); letter-spacing: .02em; color: color-mix(in srgb, var(--hue) 70%, var(--ink)); background: color-mix(in srgb, var(--hue) 20%, var(--card)); }
.av.sm { --s: 32px; } .av.xs { --s: 26px; } .av.lg { --s: 64px; }

.pill { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; padding: 0 10px; border-radius: 99px; font-size: 13px; font-weight: 500; white-space: nowrap; background: color-mix(in srgb, var(--ink) 7%, transparent); color: var(--ink-2); }
.pill .ic { width: 15px; height: 15px; }
.pill.tagged { background: color-mix(in srgb, var(--c-sage) 16%, transparent); color: color-mix(in srgb, var(--c-sage) 75%, var(--ink)); }
.pill.transcribed { background: var(--marker-soft); color: color-mix(in srgb, var(--marker) 80%, var(--ink)); }
.pill.soft { background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--muted); }
.spin { width: 12px; height: 12px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin 1s linear infinite; display: inline-block; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* simulated AI label */
.sim { display: inline-flex; align-items: center; gap: 6px; font: 500 12.5px/1 var(--ff-m); letter-spacing: .02em; padding: 7px 10px; border-radius: 6px; color: var(--ink-2); background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--ink) 7%, transparent) 0 6px, transparent 6px 12px); box-shadow: inset 0 0 0 1px var(--line-2); }
.sim .ic { width: 14px; height: 14px; color: var(--marker); }
.sim.sm { padding: 4px 7px; font-size: 12px; margin-left: auto; }

/* citations */
.cite { display: inline-flex; align-items: center; justify-content: center; width: auto; min-width: 22px; height: 22px; padding: 0 5px; margin: 0 2px; vertical-align: 2px; border-radius: 6px; font: 600 12px/1 var(--ff-m); color: var(--ink); background: color-mix(in srgb, var(--hue, var(--marker)) 26%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--hue, var(--marker)) 55%, transparent); transition: transform .2s var(--spring), background .2s; }
button.cite:hover { background: color-mix(in srgb, var(--hue, var(--marker)) 45%, transparent); transform: translateY(-1px); }
.cite.popin { animation: pop .42s var(--spring); }
@keyframes pop { from { transform: scale(.3); opacity: 0; } }
.typing::after { content: ''; display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -2px; background: var(--marker); animation: blink .9s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* quote card */
.qc { position: relative; padding: 16px 18px 14px; border-radius: var(--r); background: color-mix(in srgb, var(--ink) 4%, transparent); border-left: 3px solid var(--hue); }
.qc blockquote { font: 400 17px/1.5 var(--ff-d); color: var(--ink); }
.qc figcaption { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-size: 13px; color: var(--muted); }
.qc figcaption b { color: var(--ink-2); font-weight: 600; }
.qc figcaption > span:not(.av) { flex: 1; min-width: 0; }
.qc-t { display: inline-flex; align-items: center; gap: 4px; min-height: 32px; padding: 0 9px; border-radius: 6px; font: 500 12.5px/1 var(--ff-m); text-decoration: none; color: var(--ink-2); background: color-mix(in srgb, var(--ink) 7%, transparent); }
.qc-t:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 12%, transparent); }
.qc-t .ic { width: 12px; height: 12px; fill: currentColor; stroke: none; }
.qc-n { position: absolute; top: 12px; right: 12px; font: 600 12px/1 var(--ff-m); color: var(--muted); }
.qc.flash, .turn.flash { animation: flash 1.4s var(--ease); }
@keyframes flash { 0%, 30% { background: color-mix(in srgb, var(--hue, var(--marker)) 22%, transparent); } }

/* skeleton */
.sk { display: block; height: 14px; border-radius: 5px; background: linear-gradient(90deg, color-mix(in srgb, var(--ink) 7%, transparent) 0, color-mix(in srgb, var(--ink) 13%, transparent) 40%, color-mix(in srgb, var(--ink) 7%, transparent) 80%) 0 0 / 300% 100%; animation: sheen 1.6s linear infinite; }
@keyframes sheen { to { background-position: -150% 0; } }

/* bars */
.bar { height: 6px; border-radius: 3px; background: color-mix(in srgb, var(--ink) 9%, transparent); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--marker); transform-origin: left; transform: scaleX(0); transition: transform .3s var(--ease); border-radius: inherit; }
.bar.big { height: 8px; }

/* ---------- particle field ---------- */
.field { position: relative; overflow: hidden; touch-action: pan-y; }
.field canvas { position: absolute; inset: 0; display: block; }
.fl-labels { position: absolute; inset: 0; pointer-events: none; }
.fl-label { position: absolute; left: 0; top: 0; display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 12px 0 10px; border-radius: 7px; font-size: 13.5px; font-weight: 500; white-space: nowrap; color: var(--ink); background: color-mix(in srgb, var(--night) 72%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--hue) 35%, transparent); pointer-events: auto; opacity: 0; transition: opacity .5s var(--ease), box-shadow .2s, background .2s; will-change: transform; }
.fl-label.on { opacity: 1; transition-delay: .5s; }
.fl-label.dim { opacity: .35; transition-delay: 0s; }
.fl-label.sel { background: color-mix(in srgb, var(--hue) 22%, var(--night)); box-shadow: inset 0 0 0 1px var(--hue); }
.fl-label:hover { box-shadow: inset 0 0 0 1px var(--hue); }
.fl-label i { width: 8px; height: 8px; border-radius: 2px; background: var(--hue); transform: rotate(45deg); }
.fl-label em { font: 500 12px/1 var(--ff-m); font-style: normal; color: var(--muted); }
.nolabels .fl-label { opacity: 0 !important; pointer-events: none; }
.fl-tip { position: absolute; left: 0; top: 0; z-index: 3; max-width: 320px; padding: 14px 16px; border-radius: 9px; background: #F6F3EC; color: #16171B; pointer-events: none; box-shadow: 0 12px 32px rgba(0, 0, 0, .35); animation: tipin .2s var(--ease); }
@keyframes tipin { from { opacity: 0; } }
.tt-q { font: 400 16px/1.45 var(--ff-d); }
.tt-m { display: flex; align-items: center; gap: 7px; margin-top: 8px; font-size: 13px; color: #55565C; }
.tt-m i { width: 8px; height: 8px; border-radius: 2px; transform: rotate(45deg); background: var(--hue); filter: saturate(1.2) brightness(.8); }

/* ---------- layers ---------- */
.scrim { position: fixed; inset: 0; z-index: 90; background: rgba(10, 10, 12, .44); opacity: 0; transition: opacity .3s var(--ease); }
.scrim.in { opacity: 1; }
.layer { position: fixed; z-index: 91; background: var(--card); color: var(--ink); opacity: 0; transition: opacity .3s var(--ease), transform .4s var(--ease); }
.layer.in { opacity: 1; }
.x-btn { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 8px; color: var(--muted); z-index: 2; }
.x-btn:hover { background: color-mix(in srgb, var(--ink) 8%, transparent); color: var(--ink); }
.modal { left: 50%; top: 50%; width: min(560px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); overflow: auto; padding: 32px; border-radius: 14px; transform: translate(-50%, -46%) scale(.98); box-shadow: 0 30px 80px rgba(0, 0, 0, .3); }
.modal.in { transform: translate(-50%, -50%); }
.modal.sm { width: min(440px, calc(100vw - 32px)); }
.modal.wide { width: min(680px, calc(100vw - 32px)); }
.m-title { font: 500 28px/1.15 var(--ff-d); letter-spacing: -.01em; margin: 4px 48px 10px 0; }
.m-body { color: var(--ink-2); font-size: 15.5px; }
.m-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 28px; flex-wrap: wrap; }
.drawer { top: 0; right: 0; bottom: 0; width: min(560px, 100vw); overflow: auto; transform: translateX(40px); box-shadow: -20px 0 60px rgba(0, 0, 0, .18); }
.drawer.in { transform: none; }
.dr-in { padding: 36px 36px 40px; display: grid; gap: 22px; }
.dr-title { font: 500 32px/1.15 var(--ff-d); letter-spacing: -.015em; padding-right: 40px; }
.pop { width: 320px; padding: 8px; border-radius: 12px; transform: translateY(-6px); box-shadow: 0 18px 50px rgba(0, 0, 0, .22), 0 0 0 1px var(--line); }
.pop.in { transform: none; }
.pop-h { padding: 10px 12px 6px; font-size: 13px; color: var(--muted); }
.pop-row { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 8px 12px; border-radius: 8px; text-align: left; }
.pop-row:hover, .pop-row.on { background: color-mix(in srgb, var(--ink) 6%, transparent); }
.pop-row > span:nth-child(2) { flex: 1; min-width: 0; display: grid; }
.pop-row b { font-weight: 500; font-size: 14.5px; line-height: 1.3; }
.pop-row small { color: var(--muted); font-size: 13px; }
.pop-row .ic { color: var(--marker); }

/* command palette */
.cmdk { left: 50%; top: 12vh; width: min(640px, calc(100vw - 24px)); border-radius: 14px; overflow: hidden; transform: translate(-50%, -8px) scale(.985); box-shadow: 0 30px 90px rgba(0, 0, 0, .35), 0 0 0 1px var(--line-2); }
.cmdk.in { transform: translate(-50%, 0); }
.ck-in { display: flex; align-items: center; gap: 12px; padding: 0 18px; min-height: 62px; border-bottom: 1px solid var(--line); }
.ck-in .ic { color: var(--muted); }
.ck-in input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 17px; height: 60px; }
.ck-list { max-height: min(440px, 60vh); overflow: auto; padding: 6px 8px 10px; }
.ck-grp { padding: 14px 12px 6px; font: 500 12.5px/1 var(--ff-m); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.ck-row { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 48px; padding: 6px 12px; border-radius: 8px; text-align: left; color: var(--ink-2); }
.ck-row .ic { color: var(--muted); }
.ck-row[aria-selected="true"], .ck-row.on { background: color-mix(in srgb, var(--ink) 7%, transparent); color: var(--ink); }
.ck-row[aria-selected="true"] .ic, .ck-row.on .ic { color: var(--marker); }
.ck-l { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; }
.ck-s { font-size: 13px; color: var(--muted); white-space: nowrap; max-width: 40%; overflow: hidden; text-overflow: ellipsis; }
.ck-empty { padding: 28px 16px; color: var(--muted); }
.ck-foot { display: flex; gap: 18px; align-items: center; padding: 10px 18px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.ck-foot kbd { margin-right: 3px; }
.ck-ai { margin-left: auto; display: inline-flex; gap: 6px; align-items: center; }
.ck-ai .ic { width: 14px; height: 14px; color: var(--marker); }

/* toasts */
.toasts { position: fixed; left: 50%; bottom: 24px; z-index: 120; display: grid; gap: 8px; transform: translateX(-50%); width: max-content; max-width: calc(100vw - 24px); }
.toast { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 10px 8px 16px; border-radius: 10px; background: #1C1D22; color: #ECE9E1; font-size: 14.5px; box-shadow: 0 16px 40px rgba(0, 0, 0, .3); animation: tin .4s var(--spring); }
[data-theme="dark"] .toast { background: #F3F0E9; color: #16171B; }
.toast .ic { color: var(--marker); width: 18px; height: 18px; }
.toast button { min-height: 36px; padding: 0 12px; border-radius: 7px; font-weight: 600; color: var(--marker); }
.toast button:hover { background: rgba(127, 127, 127, .15); }
.toast.out { opacity: 0; transform: translateY(8px); transition: all .3s var(--ease); }
@keyframes tin { from { opacity: 0; transform: translateY(14px) scale(.98); } }

/* form fields */
.fld { display: grid; gap: 8px; margin-top: 18px; }
.fld > span { font-size: 14px; font-weight: 500; color: var(--ink-2); }
.fld input, .fld select, .sel select, .search-in input { min-height: 48px; padding: 0 14px; border-radius: 8px; border: 0; background: color-mix(in srgb, var(--ink) 5%, transparent); box-shadow: inset 0 0 0 1px var(--line); outline: 0; transition: box-shadow .2s; width: 100%; }
.fld input:focus, .fld select:focus, .sel select:focus, .search-in input:focus { box-shadow: inset 0 0 0 2px var(--marker); }
.fld input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px #C2362C; }
.fld-err { color: #C2362C; font-size: 14px; margin-top: 6px; }
.fld-note { display: flex; gap: 10px; margin-top: 16px; font-size: 14px; color: var(--muted); }
.fld-note .ic { width: 18px; height: 18px; margin-top: 2px; }
.sel { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.sel select { width: auto; min-height: 42px; padding-right: 30px; color: var(--ink); appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; background-size: 14px; }
.chk { display: flex; gap: 10px; align-items: center; margin-top: 18px; font-size: 15px; min-height: 44px; }
.chk input, .secs input { width: 18px; height: 18px; accent-color: var(--marker); }

/* empty states */
.empty { display: grid; justify-items: center; text-align: center; gap: 12px; padding: 48px 24px; }
.empty img { width: 180px; height: 120px; object-fit: cover; border-radius: 10px; background: var(--paper-2); }
.empty h3 { font: 500 24px/1.2 var(--ff-d); }
.empty p { color: var(--muted); max-width: 44ch; }
.empty.sm { padding: 24px 8px; } .empty.sm img { width: 100%; height: 110px; }
.empty.big { grid-template-columns: 1.1fr 1fr; text-align: left; justify-items: start; align-items: center; gap: 48px; padding: 32px; border-radius: 16px; background: var(--card); }
.empty.big img { width: 100%; height: 360px; border-radius: 12px; }
.empty.big h3 { font-size: 34px; }
@media (max-width: 760px) { .empty.big { grid-template-columns: 1fr; gap: 24px; padding: 20px; } .empty.big img { height: 220px; } }

/* motion: reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in, .app .reveal { opacity: 1; transform: none; }
.app .main.enter .reveal { animation: rise .55s var(--ease) both; }
.app .main.enter .reveal:nth-child(2) { animation-delay: .06s; } .app .main.enter .reveal:nth-child(3) { animation-delay: .12s; } .app .main.enter .reveal:nth-child(4) { animation-delay: .18s; } .app .main.enter .reveal:nth-child(5) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .32s; animation-timing-function: cubic-bezier(.2, .8, .2, 1); }

.concept { font-size: 13.5px; color: var(--muted); line-height: 1.6; max-width: 92ch; }
.concept a { color: var(--ink-2); }

.calm *, .calm *::before, .calm *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; } }

.file-drop { position: fixed; inset: 12px; z-index: 150; display: none; place-items: center; border-radius: 18px; border: 2px dashed var(--marker); background: color-mix(in srgb, var(--paper) 86%, transparent); pointer-events: none; }
.file-drop p { font: 500 28px/1.2 var(--ff-d); }
body.file-over .file-drop { display: grid; }
@media (max-width: 700px) { .fl-label { font-size: 13px; min-height: 30px; padding: 0 9px 0 8px; gap: 6px; } }
