:root{--lalt-editor-insert: #1d4ed8;--lalt-editor-insert-bg: rgb(29 78 216 / .08);--lalt-editor-delete: #b91c1c;--lalt-editor-delete-bg: rgb(185 28 28 / .06);--lalt-editor-surface: #ffffff;--lalt-editor-text: #111827;--lalt-editor-border: rgb(0 0 0 / .1);--lalt-editor-hover: rgb(0 0 0 / .06);--lalt-editor-active: rgb(0 0 0 / .12)}@media(prefers-color-scheme:dark){:root{--lalt-editor-insert: #93c5fd;--lalt-editor-insert-bg: rgb(147 197 253 / .12);--lalt-editor-delete: #fca5a5;--lalt-editor-delete-bg: rgb(252 165 165 / .1);--lalt-editor-surface: #1f2937;--lalt-editor-text: #f3f4f6;--lalt-editor-border: rgb(255 255 255 / .14);--lalt-editor-hover: rgb(255 255 255 / .08);--lalt-editor-active: rgb(255 255 255 / .16)}}.lalt-toolbar{position:fixed;left:var(--lalt-toolbar-left, 0);top:var(--lalt-toolbar-top, 0);right:auto;bottom:auto;z-index:100;display:flex;align-items:center;justify-content:flex-start;gap:.125rem;width:fit-content;max-width:calc(100vw - 1rem);margin:0;padding:.25rem;border-radius:999px;background:var(--lalt-editor-surface, #ffffff);border:1px solid var(--lalt-editor-border, rgb(0 0 0 / .1));box-shadow:0 6px 20px #0000002e,0 1px 3px #0000001a;color:var(--lalt-editor-text, #111827);-webkit-user-select:none;user-select:none;overflow-x:auto;scrollbar-width:none}.lalt-toolbar::-webkit-scrollbar{display:none}@media(hover:hover)and (pointer:fine){.lalt-toolbar{left:var(--lalt-toolbar-left, 0);top:var(--lalt-toolbar-top, 0);right:auto;bottom:auto;width:fit-content;max-width:none;min-height:0;border-radius:999px;border:1px solid var(--lalt-editor-border, rgb(0 0 0 / .1));margin:0;padding:.1875rem;box-shadow:0 4px 16px #00000029,0 1px 3px #0000001a;overflow-x:visible}}.lalt-toolbar__button{display:inline-flex;align-items:center;justify-content:center;gap:.375rem;min-height:2.5rem;padding:.5rem .875rem;border-radius:999px;background:none;border:none;font:inherit;font-size:.9375rem;font-weight:500;white-space:nowrap;cursor:pointer;color:inherit}.lalt-toolbar>*+*>.lalt-toolbar__button,.lalt-toolbar>.lalt-toolbar__button+.lalt-toolbar__button{box-shadow:inset 1px 0 0 var(--lalt-editor-border, rgb(0 0 0 / .1))}@media(max-width:30rem){.lalt-toolbar__button[data-has-icon] .lalt-toolbar__label{display:none}.lalt-toolbar__button[data-has-icon]{padding-left:.75rem;padding-right:.75rem}}.lalt-toolbar__button:active{background:var(--lalt-editor-active, rgb(0 0 0 / .12))}@media(hover:hover)and (pointer:fine){.lalt-toolbar__button{min-height:0;padding:.3125rem .625rem;font-size:.875rem}}.lalt-toolbar__button:hover{background:var(--lalt-editor-hover, rgb(0 0 0 / .06))}.lalt-toolbar__button[aria-haspopup]:after{content:"";width:.4em;height:.4em;margin-left:.15em;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg) translate(-.1em,-.1em)}.lalt-toolbar__formats{position:relative}.lalt-toolbar__menu{position:fixed;left:50%;bottom:calc(var(--lalt-keyboard-inset, 0px) + env(safe-area-inset-bottom) + 3.75rem);transform:translate(-50%);min-width:12rem;max-width:calc(100vw - 2rem);max-height:50vh;overflow-y:auto;padding:.25rem;background:var(--lalt-editor-surface, #ffffff);border:1px solid var(--lalt-editor-border, rgb(0 0 0 / .1));border-radius:.875rem;box-shadow:0 8px 24px #0000002e,0 1px 3px #0000001a;color:var(--lalt-editor-text, #111827)}@media(hover:hover)and (pointer:fine){.lalt-toolbar__menu{position:absolute;left:auto;right:0;bottom:auto;top:calc(100% + .375rem);transform:none;min-width:14rem;max-width:none;border-radius:.625rem;box-shadow:0 8px 24px #00000029}}.lalt-toolbar__item{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;width:100%;min-height:2.75rem;padding:.5rem .75rem;border-radius:.625rem;background:none;border:none;font:inherit;font-size:.9375rem;text-align:left;cursor:pointer;color:inherit}@media(hover:hover)and (pointer:fine){.lalt-toolbar__item{min-height:0;padding:.375rem .5rem;font-size:.875rem}}.lalt-toolbar__item:hover{background:var(--lalt-editor-hover, rgb(0 0 0 / .06))}.lalt-toolbar__item[aria-current=true]{font-weight:600}.lalt-toolbar__shortcut{display:none;font-size:.75rem;opacity:.5}@media(hover:hover)and (pointer:fine){.lalt-toolbar__shortcut{display:inline}}.lalt-revision{display:block;border-radius:.375rem;padding:.125rem .25rem}.lalt-revision--insert{color:var(--lalt-editor-insert);background:var(--lalt-editor-insert-bg)}.lalt-revision--delete{color:var(--lalt-editor-delete);background:var(--lalt-editor-delete-bg);text-decoration:line-through}.lalt-revision--decided{opacity:.45;background:none}.lalt-suggestion__old{color:var(--lalt-editor-delete);background:var(--lalt-editor-delete-bg);text-decoration:line-through}.lalt-suggestion{display:inline;white-space:normal}.lalt-suggestion__new{color:var(--lalt-editor-insert);background:var(--lalt-editor-insert-bg);border-radius:.25rem;padding:.05em .15em}.lalt-suggestion__action{display:inline-flex;align-items:center;justify-content:center;width:1.75rem;height:1.75rem;margin-left:.25rem;vertical-align:middle;border:1px solid var(--lalt-editor-border, rgb(0 0 0 / .1));border-radius:999px;background:var(--lalt-editor-surface, #ffffff);color:var(--lalt-editor-text, #111827);font-size:.8125rem;line-height:1;cursor:pointer}@media not (hover:hover),(pointer:coarse){.lalt-suggestion__action{width:2.25rem;height:2.25rem;font-size:1rem}}.lalt-suggestion__action--accept{color:var(--lalt-editor-insert)}.lalt-suggestion__action--reject{color:var(--lalt-editor-delete)}.lalt-suggestion__action:hover{background:var(--lalt-editor-hover, rgb(0 0 0 / .06))}.lalt-slash-anchor{position:fixed;z-index:10000}.lalt-slash{min-width:16rem;max-width:min(20rem,calc(100vw - 1.5rem));overflow:hidden;border:1px solid var(--lalt-editor-border);border-radius:.5rem;background:var(--lalt-editor-surface);color:var(--lalt-editor-text);box-shadow:0 10px 20px #0000001f}.lalt-slash--empty{padding:.5rem .75rem;font-size:.75rem;opacity:.6}.lalt-slash__item{display:flex;align-items:center;gap:.625rem;width:100%;padding:.5rem .75rem;border:0;background:transparent;color:inherit;font:inherit;font-size:.8125rem;text-align:left;cursor:pointer}@media not (hover:hover),(pointer:coarse){.lalt-slash__item{padding:.6875rem .75rem}}.lalt-slash__item--active,.lalt-slash__item:hover{background:var(--lalt-editor-hover)}.lalt-slash__icon{display:flex;flex-shrink:0;opacity:.55}.lalt-slash__text{display:flex;flex-direction:column;min-width:0;flex:1}.lalt-slash__title{font-weight:500;line-height:1.25}.lalt-slash__description{overflow:hidden;font-size:.6875rem;line-height:1.25;text-overflow:ellipsis;white-space:nowrap;opacity:.55}.lalt-slash__shortcut{flex-shrink:0;margin-left:.5rem;padding:.125rem .375rem;border:1px solid var(--lalt-editor-border);border-radius:.25rem;font-family:ui-monospace,monospace;font-size:.625rem;opacity:.6}.lalt-screen{display:flex;flex-direction:column;height:var(--lalt-screen-height, 100dvh);min-height:0;color:var(--lalt-editor-text)}.lalt-screen--fill{--lalt-screen-height: 100%}.lalt-screen__bar{position:sticky;top:0;z-index:20;display:flex;align-items:center;gap:.5rem;padding:.5rem .75rem;border-bottom:1px solid var(--lalt-editor-border);background:var(--lalt-editor-surface)}.lalt-screen__status{min-width:0;font-size:.75rem;font-variant-numeric:tabular-nums;opacity:.7}.lalt-screen__actions{display:flex;align-items:center;gap:.375rem;margin-left:auto}.lalt-screen__subnav{position:sticky;top:0;z-index:15;border-bottom:1px solid var(--lalt-editor-border);background:var(--lalt-editor-surface)}.lalt-screen__scroll{flex:1;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch}.lalt-screen__column{width:100%;max-width:48rem;margin:0 auto;padding:1.25rem 1rem;padding-bottom:calc(var(--lalt-keyboard, 0px) + 40vh)}.lalt-screen__title{width:100%;border:0;background:transparent;color:inherit;font-family:inherit;font-size:1.5rem;font-weight:600;line-height:1.25;outline:none}.lalt-screen__title::placeholder{opacity:.35}.lalt-screen__aside{display:flex;align-items:center;justify-content:flex-end;gap:.5rem;margin-top:.5rem}.lalt-screen__footer{margin-top:1.5rem}.lalt-screen__save{display:flex;flex-shrink:0;align-items:center;width:.5rem}.lalt-screen__dot{width:.5rem;height:.5rem;border-radius:9999px;transition:background-color .15s}.lalt-screen__dot--saving{background:#f59e0b}.lalt-screen__dot--saved{background:#10b981}.lalt-screen__dot--dirty{background:currentColor;opacity:.3}.lalt-screen__sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;border:0;clip-path:inset(50%);white-space:nowrap}@media(min-width:640px){.lalt-screen__bar{padding:.5rem 1.5rem}.lalt-screen__column{padding:2rem;padding-bottom:calc(var(--lalt-keyboard, 0px) + 30vh)}.lalt-screen__title{font-size:1.875rem}}.lalt-dialog{position:fixed;inset:0;z-index:10001;display:flex;align-items:center;justify-content:center;padding:1rem;background:#0006}.lalt-dialog__panel{display:flex;flex-direction:column;gap:.75rem;width:100%;max-width:28rem;max-height:80vh;overflow-y:auto;padding:1.25rem;border-radius:.75rem;background:var(--lalt-editor-surface, #ffffff);color:var(--lalt-editor-text, #111827);font-size:.875rem;box-shadow:0 12px 32px #0000002e}.lalt-dialog__header{display:flex;align-items:flex-start;justify-content:space-between;gap:.75rem}.lalt-dialog__title{margin:0;font-size:.95rem;font-weight:500}.lalt-dialog__close{border:none;background:none;color:inherit;font-size:1.25rem;line-height:1;opacity:.5;cursor:pointer}.lalt-dialog__passage{margin:0;padding-left:.75rem;border-left:2px solid var(--lalt-editor-border, rgb(0 0 0 / .1));opacity:.7;line-height:1.5}.lalt-dialog__caption{margin:0;font-size:.75rem;opacity:.6}.lalt-dialog__proposal{max-height:16rem;overflow-y:auto;padding:.75rem;border-radius:.375rem;background:var(--lalt-editor-insert-bg);line-height:1.5;white-space:pre-wrap}.lalt-dialog__input{width:100%;box-sizing:border-box;resize:none;padding:.5rem .75rem;border:1px solid var(--lalt-editor-border, rgb(0 0 0 / .1));border-radius:.375rem;background:transparent;color:inherit;font:inherit}.lalt-dialog__presets,.lalt-dialog__actions{display:flex;flex-wrap:wrap;gap:.5rem}.lalt-dialog__chip,.lalt-dialog__secondary{padding:.375rem .75rem;border:1px solid var(--lalt-editor-border, rgb(0 0 0 / .1));border-radius:.375rem;background:none;color:inherit;font:inherit;font-size:.8rem;text-decoration:none;cursor:pointer}.lalt-dialog__primary{flex:1;padding:.6rem 1rem;border:none;border-radius:.375rem;background:var(--lalt-editor-text, #111827);color:var(--lalt-editor-surface, #ffffff);font:inherit;cursor:pointer}.lalt-dialog__primary:disabled,.lalt-dialog__chip:disabled{opacity:.4;cursor:not-allowed}.lalt-dialog__chip:hover,.lalt-dialog__secondary:hover{background:var(--lalt-editor-hover, rgb(0 0 0 / .06))}.lalt-dialog__status{margin:0;padding:2rem 0;text-align:center;opacity:.5}.lalt-dialog__error{margin:0;color:var(--lalt-editor-delete);font-size:.75rem}.lalt-sources{margin:0;padding:0;list-style:none}.lalt-sources__item{padding:.75rem 0;border-bottom:1px solid var(--lalt-editor-border, rgb(0 0 0 / .1))}.lalt-sources__item:last-child{border-bottom:none}.lalt-sources__title{margin:0;font-weight:500}.lalt-sources__excerpt{margin:.25rem 0 0;opacity:.6;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.lalt-sources__footer{display:flex;align-items:center;gap:.375rem;margin-top:.5rem}.lalt-sources__host{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.75rem;opacity:.45}.lalt-dictation{display:inline-flex;align-items:center;justify-content:center;width:2rem;height:2rem;border:1px solid var(--lalt-editor-border, rgb(0 0 0 / .1));border-radius:.5rem;background:none;color:inherit;cursor:pointer}.lalt-dictation[data-state=recording]{border-color:var(--lalt-editor-delete);color:var(--lalt-editor-delete);background:var(--lalt-editor-delete-bg)}.lalt-dictation:disabled{opacity:.5;cursor:not-allowed}
