:root{--paper:#fcfcfc;--ink:#252525;--muted:#7b7b7b;--quiet:#b8b8b8;--field:#f6f6f6;--line:#343434;--canvas:#f7f7f7;--image-bg:#efefef;--image-wrap:#eeeeee;--text-button:#454545;--text-action:#4e4e4e;--text-hint:#8f8f8f;--scrollbar:#cfcfcf;--accent-button:#565656;--accent-button-icon:#ffffff;--menu-scrim:rgba(255,255,255,0.72);--viewer-bg:rgba(255,255,255,0.96);--error:#8b3a3a;--shadow:0 18px 38px rgba(0,0,0,0.16);--safe-bottom:env(safe-area-inset-bottom,0px);--safe-top:env(safe-area-inset-top,0px);--screen-gutter:22px;--app-width:440px;--image-preview-ratio:4/3;--image-preview-max-width:236px;--image-preview-radius:0;--app-font-size:11px;color-scheme:light}html[data-font-size=medium]{--app-font-size:13px}html[data-font-size=large]{--app-font-size:15px}html[data-theme=dark]{--paper:#1c1c1c;--ink:#e0e0e0;--muted:#9a9a9a;--quiet:#707070;--field:#303030;--line:#c8c8c8;--canvas:#121212;--image-bg:#2c2c2c;--image-wrap:#262626;--text-button:#c8c8c8;--text-action:#d0d0d0;--text-hint:#8a8a8a;--scrollbar:#555555;--accent-button:#888888;--accent-button-icon:#1c1c1c;--menu-scrim:rgba(28,28,28,0.82);--viewer-bg:rgba(28,28,28,0.96);--error:#d07070;--shadow:0 18px 38px rgba(0,0,0,0.42);color-scheme:dark}*{box-sizing:border-box}body,html{height:100%;overflow:hidden}body,html{background:var(--paper)}body{margin:0;min-height:100dvh;height:100dvh;color:var(--ink);font-family:Courier New,Courier,monospace;font-size:var(--app-font-size);letter-spacing:0}button,input,textarea{font:inherit}button{color:inherit}.phone-shell{width:min(100vw,var(--app-width));height:100dvh;max-height:100dvh;margin:0 auto;position:relative;overflow:hidden}.phone-shell,.screen{min-height:0;background:var(--paper)}.screen{position:absolute;inset:0;display:none;height:100%}.screen.is-active{display:block}.screen.screen-list.is-active{display:flex;flex-direction:column}.screen-list{padding:calc(24px + var(--safe-top)) var(--screen-gutter) calc(10px + var(--safe-bottom));overflow:hidden;position:absolute;inset:0}.app-scroll,.bin-entry-list,.entry-list,.sheet-content{scrollbar-width:thin;scrollbar-color:var(--scrollbar) transparent}.app-scroll::-webkit-scrollbar,.bin-entry-list::-webkit-scrollbar,.entry-list::-webkit-scrollbar,.sheet-content::-webkit-scrollbar{width:3px}.app-scroll::-webkit-scrollbar-track,.bin-entry-list::-webkit-scrollbar-track,.entry-list::-webkit-scrollbar-track,.sheet-content::-webkit-scrollbar-track{background:transparent}.app-scroll::-webkit-scrollbar-thumb,.bin-entry-list::-webkit-scrollbar-thumb,.entry-list::-webkit-scrollbar-thumb,.sheet-content::-webkit-scrollbar-thumb{background:var(--scrollbar);border-radius:0}.app-scroll::-webkit-scrollbar-thumb:hover,.bin-entry-list::-webkit-scrollbar-thumb:hover,.entry-list::-webkit-scrollbar-thumb:hover,.sheet-content::-webkit-scrollbar-thumb:hover{background:var(--muted)}.screen-editor{padding:calc(28px + var(--safe-top)) 27px calc(22px + var(--safe-bottom))}.search-row,.selection-bar{align-items:center;height:25px;min-height:25px;margin-bottom:13px}.search-row{display:flex;gap:12px}.search-input{width:100%;height:25px;border:0;border-radius:0;background:var(--field);color:var(--ink);padding:0 11px;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.note-text::placeholder,.search-input::placeholder,.tag-input::placeholder{color:var(--text-hint);opacity:1}.search-cancel{display:none;flex:0 0 auto}.is-searching .search-cancel{display:inline}.is-tag-filtering .search-row{display:none}.screen-list.is-tag-filtering{padding-top:0}.tag-filter-bar{position:-webkit-sticky;position:sticky;top:0;z-index:6;display:flex;align-items:center;gap:12px;min-height:44px;margin:0 -22px 13px;padding:env(safe-area-inset-top,0) 0 0 22px;background:var(--paper)}.tag-filter-bar.is-hidden{display:none}.tag-filter-label{flex:1 1;min-width:0;border:0;background:transparent;padding:12px 0;text-align:left;color:var(--ink);cursor:pointer}.tag-filter-menu{position:absolute;top:calc(100% - 8px);left:22px;right:54px;margin:0;padding:8px 0 10px;list-style:none;background:var(--paper);border-top:1px solid var(--field)}.tag-filter-menu.is-hidden{display:none}.tag-filter-option{display:block;width:100%;border:0;background:transparent;padding:14px 0;text-align:left;color:var(--ink);cursor:pointer}.tag-filter-close,.tag-filter-option.is-active{color:var(--muted)}.tag-filter-close{flex:0 0 auto;width:44px;height:44px;border:0;background:transparent;font-size:2.18em;line-height:1;padding:0;cursor:pointer;display:flex;align-items:center;justify-content:center}.empty-state{padding-top:21px;padding-left:8px;color:var(--muted)}.empty-state-hint{margin-top:12px;max-width:28ch;line-height:1.45}.entry-list{display:flex;flex-direction:column;gap:22px;flex:1 1;min-height:0;overflow-y:auto;margin-left:calc(-1 * var(--screen-gutter));margin-right:calc(-1 * var(--screen-gutter));width:calc(100% + (2 * var(--screen-gutter)));padding-left:var(--screen-gutter);padding-right:0;padding-bottom:58px}.entry-list>.empty-state,.entry-list>.entry{padding-right:var(--screen-gutter)}.entry{padding:0;border:0;background:transparent;text-align:left;cursor:pointer}.entry,.entry-image{display:block;width:100%}.entry-image{object-fit:cover;background:var(--image-bg)}.viewable-image{display:block;width:100%;padding:0;border:0;background:transparent;cursor:pointer}.viewable-image img{width:100%;aspect-ratio:var(--image-preview-ratio);height:auto;display:block;object-fit:cover;background:var(--image-bg);border-radius:var(--image-preview-radius)}.bin-entry-list .entry-images:not(.entry-images-duo):not(.entry-images-grid),.entry-list .entry-images:not(.entry-images-duo):not(.entry-images-grid){width:min(100%,var(--image-preview-max-width))}.entry-images-duo{grid-template-columns:1fr 1fr;grid-gap:4px}.entry-images-duo,.entry-images-grid{display:grid;gap:4px;max-width:min(100%,calc(var(--image-preview-max-width) * 1.45))}.entry-images-grid{grid-template-columns:minmax(0,2fr) minmax(72px,1fr);grid-gap:4px}.entry-images-grid .stack{display:grid;grid-gap:4px;gap:4px}.entry-images-grid .stack .viewable-image{position:relative}.entry-images-more{position:absolute;inset:0;display:grid;place-items:center;background:var(--menu-scrim);color:var(--muted);pointer-events:none}.divider{width:30px;height:3px;margin:22px auto 0;background:var(--line)}.entry-copy{padding:0 0 0 1px;line-height:1.22;white-space:pre-wrap}.entry-images+.entry-copy{margin-top:14px}.entry-tags{display:flex;flex-wrap:wrap;gap:5px;margin-top:19px}.entry-tag{border:0;background:transparent;padding:0;color:var(--ink);cursor:pointer}.floating-add{position:absolute;right:var(--screen-gutter);bottom:calc(26px + var(--safe-bottom));width:50px;height:50px;border:3px solid var(--line);border-radius:50%;background:var(--paper);padding:0;z-index:5;cursor:pointer}.floating-add span,.floating-add span:after{position:absolute;content:"";inset:50% auto auto 50%;width:25px;height:3px;background:var(--line);transform:translate(-50%,-50%)}.floating-add span:after{transform:translate(-50%,-50%) rotate(90deg)}.editor-header{display:flex;justify-content:space-between;align-items:center;height:18px;margin-bottom:40px}.delete-button,.field-link,.text-button{border:0;background:transparent;padding:0;cursor:pointer}.text-button{color:var(--text-button)}.text-button.strong{font-weight:700}.save-entry-button{min-width:4.8em;text-align:right}.save-entry-button:disabled{opacity:1;cursor:default}.save-dots{display:inline-flex;align-items:flex-end;justify-content:flex-end;gap:1px;min-width:1.4em;letter-spacing:.08em}.save-dots span{display:inline-block;animation:save-dot-bounce 1.1s ease-in-out infinite}.save-dots span:nth-child(2){animation-delay:.18s}.save-dots span:nth-child(3){animation-delay:.36s}@keyframes save-dot-bounce{0%,70%,to{transform:translateY(0)}35%{transform:translateY(-3px)}}.editor-content{min-height:calc(100dvh - 145px)}.field-link{display:block;color:var(--muted);margin:0 0 34px}.editor-images{display:grid;grid-gap:12px;gap:12px;margin-bottom:20px}.editor-images.is-empty{display:none}.editor-image-wrap{position:relative;background:var(--image-wrap)}.editor-image-button img,.editor-image-wrap .viewable-image img{width:min(100%,var(--image-preview-max-width));aspect-ratio:var(--image-preview-ratio);height:auto;object-fit:cover;border-radius:var(--image-preview-radius)}.editor-image-button{display:block;width:100%}.remove-image{position:absolute;top:7px;right:7px;width:22px;height:22px;border:0;border-radius:50%;background:var(--accent-button);padding:0;cursor:pointer}.remove-image:after,.remove-image:before{content:"";position:absolute;top:50%;left:50%;width:10px;height:1.5px;background:var(--accent-button-icon);transform-origin:center}.remove-image:before{transform:translate(-50%,-50%) rotate(45deg)}.remove-image:after{transform:translate(-50%,-50%) rotate(-45deg)}.note-text{width:100%;min-height:128px;display:block;border:0;resize:none;outline:none;padding:0;margin:0 0 36px;color:var(--ink);background:transparent;line-height:1.28}.tag-line{display:flex;align-items:center;gap:12px}.editor-tags{display:flex;flex-wrap:wrap;gap:10px 14px;margin-bottom:14px}.editor-tags.is-empty{display:none}.editor-tag{display:inline-flex;align-items:center;gap:7px}.editor-tag-label{color:var(--ink)}.editor-tag-remove{width:12px;height:12px;border:0;background:transparent;padding:0;cursor:pointer;position:relative;flex:0 0 auto}.editor-tag-remove:after,.editor-tag-remove:before{content:"";position:absolute;top:50%;left:50%;width:8px;height:1px;background:var(--muted);transform-origin:center}.editor-tag-remove:before{transform:translate(-50%,-50%) rotate(45deg)}.editor-tag-remove:after{transform:translate(-50%,-50%) rotate(-45deg)}.tag-input{min-width:0;flex:1 1;border:0;outline:none;color:var(--ink)}.accept-tag,.tag-input{padding:0;background:transparent}.accept-tag{width:18px;height:18px;border:1.75px solid var(--text-action);border-radius:50%;cursor:pointer;display:none;flex:0 0 auto;align-items:center;justify-content:center}.accept-tag:before{content:"";width:7px;height:4px;border-left:1.75px solid var(--text-action);border-bottom:1.75px solid var(--text-action);transform:rotate(-45deg) translate(.5px,-1.25px)}.tag-line.has-value .accept-tag{display:flex}.tag-hint{min-height:13px;margin:7px 0 0;color:var(--quiet);visibility:hidden}.tag-hint.is-visible{visibility:visible}.tag-suggestion{margin:7px 0 0;padding:0;border:0;background:transparent;color:var(--quiet);text-align:left;cursor:pointer}.tag-suggestion:not([hidden])+.tag-hint{visibility:hidden}.image-viewer{position:fixed;inset:0;z-index:100;display:flex;align-items:center;justify-content:center;padding:calc(48px + env(safe-area-inset-top, 0px)) 72px calc(64px + env(safe-area-inset-bottom, 0px));background:var(--viewer-bg)}.image-viewer.is-hidden{display:none}.image-viewer-stage{display:flex;align-items:center;justify-content:center;width:100%;height:100%;min-width:0}.image-viewer img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;object-position:center;margin:0 auto;background:var(--image-bg)}.image-viewer-nav{position:absolute;top:calc(54px + env(safe-area-inset-top, 0px));bottom:calc(40px + env(safe-area-inset-bottom, 0px));width:72px;border:0;background:transparent;padding:0;cursor:pointer;z-index:2;display:flex;align-items:center;justify-content:center;color:var(--muted);font-size:2.18em;line-height:1}.image-viewer-nav:disabled{cursor:default;opacity:.25}.image-viewer-prev{left:0}.image-viewer-next{right:0}.image-viewer-prev:after{content:"‹"}.image-viewer-next:after{content:"›"}.image-viewer-counter{position:absolute;left:50%;bottom:calc(18px + env(safe-area-inset-bottom, 0px));transform:translateX(-50%);margin:0;color:var(--quiet)}.image-viewer-close{position:absolute;top:calc(10px + env(safe-area-inset-top, 0px));right:10px;width:44px;height:44px;border:0;background:transparent;color:var(--muted);font-size:2.18em;line-height:1;padding:0;cursor:pointer;z-index:10;display:flex;align-items:center;justify-content:center}body.viewer-open{overflow:hidden}.editor-footer{position:absolute;left:27px;right:27px;bottom:calc(23px + var(--safe-bottom));display:grid;justify-items:center;grid-gap:20px;gap:20px;color:var(--muted)}.delete-button{display:none;font-weight:700;color:var(--text-action)}.has-existing-entry .delete-button{display:inline}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media (min-width:760px){body,html{background:var(--canvas)}body{display:grid;place-items:center;padding:0;height:100dvh;overflow:hidden}.phone-shell{width:min(100%,var(--app-width));height:100dvh;max-height:100dvh;min-height:0;border:0;border-radius:0;box-shadow:none}}@media (max-width:359px){:root{--screen-gutter:16px}.screen-list{padding-left:var(--screen-gutter);padding-right:var(--screen-gutter)}.screen-list.is-tag-filtering{padding-top:0}.tag-filter-bar{margin-left:-16px;margin-right:-16px;padding-left:16px}.tag-filter-menu{left:16px}.export-menu,.list-menu{left:0;right:0}.export-menu:before,.list-menu:before{left:calc(-1 * var(--screen-gutter));right:calc(-1 * var(--screen-gutter))}#exportMenu,.list-menu{padding:8px 0}#listMenu{padding:8px var(--screen-gutter) 8px calc(var(--screen-gutter) + 11px)}#exportMenu{padding:8px var(--screen-gutter)}#exportMenu .menu-panel-inset,#listMenu .menu-panel-inset{padding:0}.screen-editor{padding-left:20px;padding-right:20px}}.menu-button{flex:0 0 auto;width:28px;height:25px;border:0;background:transparent;color:var(--text-button);padding:0;cursor:pointer;letter-spacing:.08em}.is-searching .menu-button,.is-selection-mode #listMenu,.is-selection-mode .floating-add,.is-selection-mode .menu-button,.is-selection-mode .search-row,.selection-actions.is-hidden,.selection-bar.is-hidden{display:none}.selection-actions{flex-shrink:0;display:none;justify-content:center;align-items:center;height:48px;padding:0;background:var(--paper);border-top:1px solid var(--field);border-bottom:1px solid var(--field);box-shadow:none;color:var(--muted)}.selection-actions .text-button{line-height:1}.is-selection-mode.screen-list{padding-bottom:0}.is-selection-mode .entry-list{padding-bottom:calc(48px + var(--safe-bottom))}.is-selection-mode .selection-actions:not(.is-hidden){display:flex;position:absolute;left:calc(-1 * var(--screen-gutter));right:calc(-1 * var(--screen-gutter));bottom:0;margin:0;z-index:9;height:calc(48px + var(--safe-bottom));padding-bottom:var(--safe-bottom);box-sizing:border-box}.is-selection-mode .selection-bar:not(.is-hidden){display:flex}.is-selection-mode.is-tag-filtering .tag-filter-bar{display:none}.export-menu,.list-menu{position:absolute;top:calc(49px + var(--safe-top));left:0;right:0;z-index:9;padding:8px 0;background:transparent;border:0}.export-menu:before,.list-menu:before{content:"";position:absolute;top:0;bottom:0;left:calc(-1 * var(--screen-gutter));right:calc(-1 * var(--screen-gutter));z-index:-1;background:var(--paper)}.export-menu:before,.list-menu:before{border-bottom:1px solid var(--field)}.export-menu:before{border-top:1px solid var(--field)}#listMenu{padding:8px var(--screen-gutter) 8px calc(var(--screen-gutter) + 11px);box-sizing:border-box}#exportMenu{padding:8px var(--screen-gutter)}#exportMenu,.menu-panel-inset{box-sizing:border-box}.export-menu.is-hidden,.list-menu.is-hidden{display:none}button.list-menu-item{display:block;width:100%;margin:0;border:0;background:transparent;padding:11px 0;-webkit-appearance:none;-moz-appearance:none;appearance:none;text-align:left;font:inherit;color:var(--ink);cursor:pointer}.export-option.is-hidden{display:none}.is-selection-mode .export-menu{top:calc(49px + var(--safe-top))}.selection-bar{display:none;justify-content:space-between}.selection-count{color:var(--muted)}.entry.is-selected{opacity:.42}.screen-bin.is-active,.screen-settings.is-active{display:flex;flex-direction:column;overflow:hidden}.screen-bin,.screen-settings{--sheet-gutter:27px;padding:calc(28px + var(--safe-top)) var(--sheet-gutter) calc(22px + var(--safe-bottom))}.sheet-header{display:flex;justify-content:space-between;align-items:center;min-height:18px;margin-bottom:40px}.sheet-title{margin:0;font-size:1em;font-weight:400;color:var(--text-button)}.sheet-content{flex:1 1;min-height:0}.screen-settings .sheet-content{overflow-y:auto;margin-left:calc(-1 * var(--sheet-gutter));margin-right:calc(-1 * var(--sheet-gutter));width:calc(100% + (2 * var(--sheet-gutter)));padding-left:var(--sheet-gutter);padding-right:0}.screen-settings .sheet-content>:not(.sheet-divider){padding-right:var(--sheet-gutter)}.screen-settings .sheet-divider{margin-right:var(--sheet-gutter)}.screen-bin .sheet-content{display:flex;flex-direction:column;overflow:hidden}.sheet-section{margin-bottom:28px}.sheet-label{margin:0 0 8px;color:var(--ink)}.sheet-value{margin:0 0 18px;color:var(--muted)}.sheet-hint{margin:0 0 12px;color:var(--muted)}.sheet-subsection+.sheet-subsection{margin-top:28px}.bin-intro{margin-bottom:28px}.bin-entry-list{flex:1 1;min-height:0;margin-left:calc(-1 * var(--sheet-gutter));margin-right:calc(-1 * var(--sheet-gutter));width:calc(100% + (2 * var(--sheet-gutter)));padding-left:var(--sheet-gutter);padding-right:0;padding-bottom:0}.bin-entry-list>.empty-state,.bin-entry-list>.entry{padding-right:var(--sheet-gutter)}.bin-entry{opacity:.72;cursor:pointer}.bin-entry-meta{margin:10px 0 0;color:var(--muted)}.bin-entry .entry-tag{cursor:default;pointer-events:none}.sheet-action{display:block;margin:0 0 14px;text-align:left}.sheet-action.is-hidden{display:none}.password-form{display:grid;grid-gap:16px;gap:16px;margin:0 0 18px}.password-field{display:grid;grid-gap:8px;gap:8px}.password-field .sheet-hint{margin:0}.password-input{width:100%;height:36px;border:0;background:var(--field);color:var(--ink);padding:0 11px;outline:none}.password-input::placeholder{color:var(--text-hint)}.password-actions{display:flex;gap:22px}.password-actions .sheet-action{margin:0}.password-status{margin:0 0 14px;color:var(--muted)}.password-status.is-error{color:var(--error)}.sheet-divider{height:3px;margin:0 0 28px;background:var(--line)}.sheet-rows{display:grid;grid-gap:22px;gap:22px}.sheet-row{display:flex;justify-content:space-between;align-items:center;width:100%;border:0;background:transparent;padding:0;text-align:left;color:var(--ink);cursor:pointer}.sheet-row.is-static{cursor:default}.sheet-row span:last-child{color:var(--muted)}.sheet-row-mark{display:inline-flex;align-items:center;justify-content:flex-end;min-width:12px;font-size:1.36em;line-height:1}.sheet-footer{position:absolute;left:27px;right:27px;bottom:calc(23px + var(--safe-bottom));display:grid;justify-items:center}.export-render-root{position:fixed;left:-9999px;top:0;width:360px;pointer-events:none;opacity:0}.export-note-card{width:360px;padding:0;background:var(--paper);color:var(--ink);font-family:Courier New,Courier,monospace;font-size:11px}.export-note-card img{display:block;width:auto;height:auto;max-width:360px;background:var(--image-bg)}.export-note-copy{margin:0;padding:0 0 0 1px;line-height:1.22;white-space:pre-wrap}.export-note-tags{display:flex;flex-wrap:wrap;gap:5px;margin-top:19px}.export-note-date{margin:24px 0 0;color:var(--muted);text-align:center}.auth-shell{display:flex;align-items:stretch}.screen-auth{display:flex;flex-direction:column;padding:44px 27px calc(22px + var(--safe-bottom));width:100%}.auth-header{margin-bottom:40px}.auth-title{margin:0 0 10px;font-size:1em;font-weight:400;color:var(--ink)}.auth-subtitle{margin:0;color:var(--muted)}.auth-config-errors{display:grid;grid-gap:10px;gap:10px;margin-bottom:22px}.auth-form{display:grid;grid-gap:22px;gap:22px;flex:1 1}.auth-field{display:grid;grid-gap:10px;gap:10px}.auth-input,.auth-label{color:var(--ink)}.auth-input{width:100%;height:36px;border:0;background:var(--field);padding:0 11px;outline:none}.auth-input::placeholder{color:var(--text-hint)}.auth-error{margin:0;color:var(--error)}.auth-message{margin:0;color:var(--muted)}.auth-form .text-button{justify-self:center}.auth-form .text-button:disabled{opacity:.6;cursor:default}.auth-footer{display:grid;justify-items:center;margin-top:28px}