:root{color:#111827;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;background:#fff;font:16px/1.5 system-ui,Segoe UI,Roboto,sans-serif}*{box-sizing:border-box}body{margin:0}button,[role=button]{min-width:44px;min-height:44px;font:inherit;color:#111827;cursor:pointer;background:#fff;border:1px solid #1f2937;border-radius:4px}a{color:#1f2937}.loading{color:#6b7280;padding:1rem}.login{flex-direction:column;gap:.75rem;max-width:24rem;margin:3rem auto;padding:0 1rem;display:flex}.login label{flex-direction:column;gap:.25rem;display:flex}.login input{font:inherit;border:1px solid #6b7280;border-radius:4px;min-height:44px;padding:0 .5rem}.login .password{gap:.5rem;display:flex}.login .password input{flex:1;min-width:0}.login .password button{padding:0 .75rem}.sync{color:#6b7280;align-items:center;gap:.35rem;font-size:.85rem;display:inline-flex}.sync:before{content:"";background:currentColor;border-radius:50%;flex:none;width:10px;height:10px;display:inline-block}.sync-offline,.sync-error{color:#b91c1c}.sync-connecting{color:#d97706}.sync-connected{color:#2563eb}.sync-synced{color:#16a34a}.outline{flex-direction:column;height:100dvh;padding:0 1rem;display:flex}.outline header{justify-content:space-between;align-items:center;gap:.5rem;padding:.5rem 0;display:flex}.crumbs{flex-wrap:wrap;gap:.25rem;font-size:.9rem;display:flex}.crumbs a{text-decoration:none}.crumbs a:not(:last-child):after{content:"/";color:#6b7280;margin-left:.25rem}.icon-btn{flex:none;justify-content:center;align-items:center;min-width:44px;min-height:44px;font-size:1.25rem;text-decoration:none;display:inline-flex}.outline h1{margin:.25rem 0}.outline h1 .title{width:100%;font-size:1.5rem;font-weight:600}.list{flex:1;position:relative;overflow-y:auto}.row{border-bottom:1px solid #e5e7eb;align-items:flex-start;gap:.5rem;min-height:44px;padding:.25rem 0;display:flex}.row.highlight{background:#fef3c7;transition:background 3s ease-out}.row.done .text{color:#6b7280;text-decoration:line-through}.chev{color:#6b7280;background:0 0;border:none;flex:none;min-width:44px;min-height:44px;padding:0}.chev:disabled{opacity:.4;cursor:default}.check{cursor:pointer;flex:none;justify-content:center;align-items:center;min-width:44px;min-height:44px;display:inline-flex}.check input[type=checkbox]{width:20px;height:20px;margin:0}.row .body{flex-direction:column;flex:1;gap:.125rem;min-width:0;display:flex}textarea{font:inherit;color:inherit;resize:none;background:0 0;border:none;width:100%;padding:.5rem 0;overflow:hidden}textarea:focus{outline:none}textarea.note{color:#6b7280;padding-top:0;font-size:.9rem}.pill{color:#6b7280;background:#f3f4f6;border-radius:999px;align-self:flex-start;padding:.1rem .6rem;font-size:.8rem}.pill.merged{color:#92400e;cursor:pointer;background:#fef3c7}.photos{flex-wrap:wrap;align-self:flex-start;gap:.375rem;display:flex}.photo-thumb{border-radius:6px;width:64px;min-width:44px;height:64px;min-height:44px;padding:0;overflow:hidden}.photo-thumb img{object-fit:cover;width:100%;height:100%;display:block}.photo-broken{text-align:center;color:#6b7280;background:#f3f4f6;justify-content:center;align-items:center;width:100%;height:100%;padding:.25rem;font-size:.7rem;display:flex}.photo-dialog{background:#000;border:none;flex-direction:column;width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;padding:0;display:flex}.photo-dialog[open]{display:flex}.photo-dialog img{object-fit:contain;background:#000;flex:1;width:100%;min-height:0}.photo-dialog-actions{padding:.5rem calc(.5rem + env(safe-area-inset-right)) calc(.5rem + env(safe-area-inset-bottom)) calc(.5rem + env(safe-area-inset-left));background:#111827;gap:.5rem;display:flex}.photo-dialog-actions button{flex:1}.row .zoom{color:#6b7280;background:0 0;border:none;flex:none;min-width:44px;min-height:44px}.row .handle{color:#6b7280;touch-action:none;cursor:grab;background:0 0;border:none;flex:none;min-width:44px;min-height:44px}.drop-indicator{pointer-events:none;background:#2563eb;height:3px;margin-top:-2px}.empty{color:#6b7280;margin:.5rem 0;display:block}.done-count{color:#6b7280;text-align:left;background:0 0;border:none;align-self:flex-start;min-height:44px;margin:.125rem 0 .5rem;padding:0 .75rem;font-size:.85rem;display:block}.toolbar{padding:.5rem 0 calc(.5rem + env(safe-area-inset-bottom));background:#fff;border-top:1px solid #e5e7eb;flex:none;gap:.5rem;display:flex;position:sticky;bottom:0;overflow-x:auto}.toolbar button{flex:none}.toolbar button[aria-disabled=true]{opacity:.4}.fab{right:1rem;bottom:calc(env(safe-area-inset-bottom) + 72px);color:#fff;z-index:30;background:#1f2937;border:none;border-radius:50%;justify-content:center;align-items:center;width:56px;min-width:56px;height:56px;min-height:56px;padding:0;font-size:1.75rem;line-height:1;display:flex;position:fixed;box-shadow:0 2px 8px #0000004d}.toasts{left:0;right:0;bottom:calc(4.5rem + env(safe-area-inset-bottom));pointer-events:none;z-index:20;flex-direction:column;align-items:center;gap:.5rem;padding:0 1rem;display:flex;position:fixed}.toast{color:#fff;pointer-events:auto;background:#1f2937;border-radius:6px;align-items:center;gap:.75rem;padding:.25rem .75rem;display:flex;box-shadow:0 2px 8px #00000040}.toast button{color:#93c5fd;background:0 0;border:none;padding:0 .5rem}.search{flex-direction:column;height:100dvh;padding:0 1rem;display:flex}.search input[type=search]{min-height:44px;font:inherit;border:1px solid #d1d5db;border-radius:6px;margin:.5rem 0;padding:.5rem}.search-results{margin:0;padding:0;list-style:none;overflow-y:auto}.search-results li button{text-align:left;background:0 0;border:none;border-bottom:1px solid #e5e7eb;flex-direction:column;align-items:flex-start;width:100%;min-height:44px;padding:.5rem 0;display:flex}.search-path{color:#6b7280;font-size:1rem}.settings{flex-direction:column;gap:.5rem;max-width:32rem;padding:1rem;display:flex}.settings section{border-top:1px solid #e5e7eb;flex-direction:column;gap:.5rem;padding:.75rem 0;display:flex}.settings button,.settings input[type=file],.trash li button,.install-guide button{align-self:flex-start;min-height:44px;font-size:1rem}.menu-wrap{flex:none;position:relative}.menu{z-index:10;background:#fff;border:1px solid #1f2937;border-radius:6px;flex-direction:column;min-width:10rem;padding:.25rem;display:flex;position:absolute;top:calc(100% + .25rem);right:0;box-shadow:0 2px 8px #00000026}.menu a{border-radius:4px;align-items:center;min-height:44px;padding:0 .75rem;font-size:1rem;text-decoration:none;display:flex}.menu a:hover{background:#f3f4f6}.trash{flex-direction:column;gap:.5rem;max-width:32rem;padding:1rem;display:flex}.trash ul{margin:0;padding:0;list-style:none}.trash li{border-top:1px solid #e5e7eb;flex-direction:column;align-items:flex-start;gap:.25rem;padding:.75rem 0;display:flex}.trash-path,.trash-date{color:#6b7280;font-size:.85rem}.install-guide{z-index:40;padding:1rem calc(1rem + env(safe-area-inset-right)) calc(1rem + env(safe-area-inset-bottom)) calc(1rem + env(safe-area-inset-left));background:#fff;border-top:1px solid #1f2937;flex-direction:column;gap:.75rem;font-size:1rem;display:flex;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -2px 8px #0003}
