:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#fff;--surface:#fff;--border:#dadce0;--text:#202124;--muted:#5f6368;--hover:#3c404314;--focus:#1a73e8;--error:#c5221f;--shadow:0 1px 3px #3c40434d, 0 4px 8px 3px #3c404326;--radius:8px;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;font-size:16px;line-height:1.4}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#202124;--surface:#202124;--border:#5f6368;--text:#e8eaed;--muted:#9aa0a6;--hover:#e8eaed14;--focus:#8ab4f8;--error:#f28b82;--shadow:0 1px 3px #0009, 0 4px 8px 3px #0000004d}*,:before,:after{box-sizing:border-box}body{background:var(--bg);color:var(--text);-webkit-tap-highlight-color:transparent;margin:0}button{font:inherit;color:inherit}.app{min-height:100dvh}.header{z-index:1;padding:8px 16px;padding-top:max(8px, env(safe-area-inset-top));background:var(--bg);border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px;display:flex;position:sticky;top:0}.brand{align-items:center;gap:10px;display:flex}.brand-icon{width:32px;height:32px}:root[data-theme=dark] .brand-icon{filter:invert()}.brand-name{font-size:22px;font-weight:500}.tabs{gap:4px;margin-left:auto;display:flex}.tab{height:40px;color:var(--muted);border-radius:20px;align-items:center;gap:8px;padding:0 14px;text-decoration:none;display:inline-flex}.tab:hover{background:var(--hover)}.tab[aria-current=page]{background:var(--hover);color:var(--text);font-weight:500}.tab:focus-visible{outline:2px solid var(--focus);outline-offset:-2px}.account-button{width:40px;height:40px;color:var(--text);border-radius:50%;flex:none;place-items:center;text-decoration:none;display:grid}.account-button img,.account-button span{object-fit:cover;border-radius:50%;place-items:center;width:30px;height:30px;display:grid}.account-button span{background:var(--hover);font-weight:500}.account-button:hover,.account-button--current{background:var(--hover)}.account-button:focus-visible{outline:2px solid var(--focus);outline-offset:-2px}.text-button{border:1px solid var(--border);cursor:pointer;background:0 0;border-radius:20px;flex:none;align-items:center;gap:8px;height:40px;padding:0 14px;display:inline-flex}.text-button:hover:not(:disabled){background:var(--hover)}.text-button:focus-visible{outline:2px solid var(--focus);outline-offset:-2px}.text-button:disabled{color:var(--muted);cursor:default}.text-button--primary{border-color:var(--text);font-weight:500}.icon-button{cursor:pointer;background:0 0;border:0;border-radius:50%;flex:none;justify-content:center;align-items:center;width:40px;height:40px;padding:0;display:inline-flex}.icon-button:hover{background:var(--hover)}.icon-button:focus-visible,.add-button:focus-visible{outline:2px solid var(--focus);outline-offset:-2px}.main{max-width:720px;margin:0 auto;padding:24px 16px 48px}.status{color:var(--muted);text-align:center}.status--error{color:var(--error);margin:0 0 12px}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:8px 4px}.item-list{margin:0;padding:0;list-style:none}.item{border-radius:4px;align-items:flex-start;min-height:40px;display:flex}.item:hover{background:var(--hover)}.item-handle{width:20px;height:40px;color:var(--muted);cursor:grab;opacity:0;touch-action:none;flex:none;justify-content:center;align-items:center;display:inline-flex}.item:hover .item-handle,.item:focus-within .item-handle{opacity:1}.item-title{min-width:0;color:inherit;font:inherit;resize:none;field-sizing:content;background:0 0;border:0;outline:0;flex:1;margin:0;padding:9px 4px;overflow:hidden}.item-title::placeholder{color:var(--muted)}.item--done .item-title{color:var(--muted);text-decoration:line-through}.item--done .item-check{color:var(--muted)}.item-action{visibility:hidden;color:var(--muted)}.item:hover .item-action,.item:focus-within .item-action,.item-note--filled{visibility:visible}.item--ghost{position:relative}.item--ghost>*{visibility:hidden}.item--ghost:before{content:"";inset:4px 4px 4px var(--indent,0);border:2px dashed var(--focus);border-radius:4px;position:absolute}.item--preview{background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow);cursor:grabbing;border-radius:4px;align-items:center}.item--preview .item-handle{opacity:1;cursor:grabbing}.item--preview .item-check{cursor:grabbing}.item--preview .item-title{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.item-badge{border:1px solid var(--border);color:var(--muted);border-radius:10px;flex:none;margin-inline:8px 12px;padding:0 8px;font-size:13px;line-height:20px}.add-button{width:100%;min-height:40px;color:var(--muted);cursor:pointer;text-align:start;background:0 0;border:0;border-radius:4px;align-items:center;gap:14px;padding:0 12px 0 30px;display:flex}.add-button:hover{background:var(--hover)}@media (width<=600px){.tab{border-radius:50%;justify-content:center;width:44px;height:44px;padding:0}.tab-label{display:none}.header{gap:4px;padding-inline:12px 8px}.brand-name{font-size:20px}.token-form,.token-created-title--next{margin-top:12px}.settings-code{background:var(--hover);color:var(--text);overflow-wrap:anywhere;border-radius:4px;padding:1px 6px;font-size:13px}.token-created-row{flex-direction:column;align-items:stretch}.text-button{justify-content:center}.main{padding:12px 8px 32px}.item,.add-button{min-height:44px}.add-button{gap:16px;padding-left:32px}.item-handle{opacity:1;height:44px}.icon-button{width:44px;height:44px}.item-title{padding-block:11px}}@media (hover:none){.item:hover{background:0 0}}.login{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:12px;min-height:100dvh;padding:24px 16px;display:flex}.login-icon{width:64px;height:64px}:root[data-theme=dark] .login-icon{filter:invert()}.login-title{margin:0;font-size:32px;font-weight:500}.login-text{color:var(--muted);margin:0 0 12px}.login-button{border:1px solid var(--border);background:var(--surface);cursor:pointer;border-radius:24px;align-items:center;gap:10px;height:48px;padding:0 24px;font-size:16px;font-weight:500;display:inline-flex}.login-button:hover:not(:disabled){background:var(--hover)}.login-button:focus-visible{outline:2px solid var(--focus);outline-offset:2px}.login-button:disabled{color:var(--muted);cursor:default}.settings-section+.settings-section{margin-top:40px}.settings-heading{margin:0 0 12px;font-size:18px;font-weight:500}.settings-hint{color:var(--muted);margin:0 0 16px;font-size:14px}.account{align-items:center;gap:12px;display:flex}.account-avatar{object-fit:cover;border-radius:50%;flex:none;place-items:center;width:48px;height:48px;display:grid}.account-avatar--empty{background:var(--hover);font-size:20px;font-weight:500}.account-text{flex:1;min-width:0}.account-name{font-weight:500}.account-email{color:var(--muted);overflow-wrap:anywhere;font-size:14px}.token-form{gap:8px;margin-bottom:16px;display:flex}.token-input{border:1px solid var(--border);min-width:0;height:40px;color:var(--text);font:inherit;background:0 0;border-radius:20px;flex:1;padding:0 14px}.token-input::placeholder{color:var(--muted)}.token-input:focus{outline:2px solid var(--focus);outline-offset:-2px}.token-created{border:1px solid var(--text);border-radius:var(--radius);margin-bottom:16px;padding:12px 14px}.token-created-title{margin:0 0 8px;font-size:14px}.token-created-row{align-items:center;gap:8px;display:flex}.token-key{background:var(--hover);overflow-wrap:anywhere;-webkit-user-select:all;user-select:all;border-radius:6px;flex:1;min-width:0;padding:8px 10px;font-size:13px}.token-list{margin:0;padding:0;list-style:none}.token-item{border-top:1px solid var(--border);align-items:center;gap:12px;padding:8px 0;display:flex}.token-icon{color:var(--muted);flex:none}.token-text{flex:1;min-width:0}.token-meta{color:var(--muted);font-size:13px}.history-feed{margin:0;padding:0;list-style:none}.history-top{color:var(--muted);text-align:center;padding:8px 0;font-size:13px}.history-day{color:var(--muted);text-align:center;margin:24px 0 4px;font-size:13px}.history-day:first-child{margin-top:8px}.history-entry{padding:10px 4px}.entry-time{color:var(--muted);margin-bottom:2px;font-size:12px;display:block}.entry-line{overflow-wrap:anywhere;margin:0}.entry-detail{color:var(--muted);overflow-wrap:anywhere;margin:2px 0 0;font-size:14px}.history-entry--quiet .entry-line{color:var(--muted);font-size:15px}.entry-link{color:inherit;text-align:inherit;text-decoration:underline;-webkit-text-decoration-color:var(--border);text-decoration-color:var(--border);text-underline-offset:3px;cursor:pointer;background:0 0;border:0;padding:0;font-weight:600}.entry-link:hover{text-decoration-color:currentColor}.entry-link:focus-visible{outline:2px solid var(--focus);outline-offset:2px;border-radius:2px}.history-entry--quiet .entry-link,.entry-title{font-weight:500}.history-strip{z-index:1;flex-direction:column;max-height:calc(100dvh - 160px);display:flex;position:fixed;top:50%;left:max(8px,50% - 424px);transform:translateY(-50%)}.strip-dash{cursor:pointer;background:0 0;border:0;flex:0 10px;align-items:center;width:40px;min-height:4px;padding:0;display:flex;position:relative}.strip-line{background:var(--border);border-radius:1px;width:12px;height:2px;transition:width .15s;display:block}.strip-dash--active .strip-line{background:var(--muted);width:20px}.strip-dash:hover .strip-line,.strip-dash:focus-visible .strip-line{background:var(--text);width:24px}.strip-dash:focus-visible{outline:none}.strip-preview{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);width:max-content;max-width:320px;color:var(--text);text-align:start;flex-direction:column;gap:2px;padding:8px 12px;font-size:13px;display:none;position:absolute;top:50%;left:40px;transform:translateY(-50%);box-shadow:0 4px 16px #00000029}.strip-preview time{color:var(--muted)}.strip-dash:hover .strip-preview,.strip-dash:focus-visible .strip-preview{display:flex}@media (width<=1000px){.history-strip{display:none}}.note-dialog{border:1px solid var(--border);background:var(--surface);width:min(760px,100vw - 32px);max-width:none;height:min(80dvh,900px);max-height:none;color:var(--text);border-radius:12px;padding:0;box-shadow:0 8px 32px #0000003d}.note-dialog[open]{flex-direction:column;display:flex}.note-dialog::backdrop{background:#00000080}.note-header{align-items:center;gap:8px;padding:8px 8px 0 20px;display:flex}.note-title{overflow-wrap:anywhere;flex:1;min-width:0;margin:0;font-size:20px;font-weight:500}.note-title--empty{color:var(--muted)}.note-dialog>.note-editor{flex-direction:column;flex:1;min-height:0;display:flex}.mdxeditor.note-editor,.mdxeditor-popup-container.note-editor{--basePageBg:var(--surface);--baseTextContrast:var(--text);--baseText:var(--text);color:var(--text)}.mdxeditor-popup-container.note-editor .mdxeditor-select-content,.mdxeditor-popup-container.note-editor [data-radix-popper-content-wrapper]>div{border:1px solid var(--border);box-shadow:0 4px 16px #0000003d}.note-editor .mdxeditor-toolbar{background:var(--hover);border-radius:var(--radius);margin:8px 12px 0}.note-editor .mdxeditor-root-contenteditable{flex:1;min-height:0;overflow-y:auto}.note-content{min-height:100%;color:var(--text);padding:12px 20px 24px;font-size:16px;line-height:1.5}.note-content a{color:var(--focus)}.note-dialog>.note-editor.note-editor--hidden{display:none}.note-diff,.diff-view{flex-direction:column;flex:1;min-height:0;display:flex}.diff-toolbar{border-radius:var(--radius);background:var(--hover);align-items:center;gap:4px;margin:8px 12px 0;padding:0 8px 0 0;display:flex}.diff-toolbar .icon-button:disabled{color:var(--muted);opacity:.5;cursor:default;background:0 0}.diff-position{white-space:nowrap;font-size:14px}.diff-count{color:var(--muted);white-space:nowrap;margin-left:auto;font-size:14px}.diff-sides{color:var(--muted);grid-template-columns:1fr 1fr;gap:8px;padding:8px 20px 4px;font-size:13px;display:grid}.diff-editor{border:1px solid var(--border);border-radius:var(--radius);flex:1;min-height:0;margin:0 12px 12px;overflow:hidden}.diff-empty{color:var(--muted);margin:24px 20px}@media (width<=600px){.note-dialog{border:0;border-radius:0;width:100vw;height:100dvh;margin:0}.note-header{padding:max(4px, env(safe-area-inset-top)) 4px 0 16px}.note-editor .mdxeditor-toolbar{gap:0;margin:4px 8px 0;padding:4px}.note-editor .mdxeditor-toolbar div[role=separator]{margin-inline:2px}.note-content{padding:12px 16px 24px}.diff-sides{grid-template-columns:1fr;gap:0;padding-inline:16px}.diff-toolbar,.diff-editor{margin-inline:8px}.diff-editor{margin-bottom:8px}}
