:root{color:#111;font-synthesis:none;-webkit-font-smoothing:antialiased;--ink:#111;--muted:#777;--accent:#06c755;--accent-text:#008a3b;--soft:#f5f5f5;--ground:#f5f5f5;--line:#eee;--app-height:100dvh;background:#f5f5f5;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Hiragino Sans,Noto Sans JP,sans-serif}*{box-sizing:border-box}html,body{overscroll-behavior:none;width:100%;height:100%;margin:0;overflow:hidden}#root{width:100%;height:var(--app-height);position:fixed;inset:0 0 auto;overflow:hidden}button,input,textarea{font:inherit;-webkit-tap-highlight-color:transparent}button{color:inherit;cursor:pointer;touch-action:manipulation;background:0 0;border:0}button:disabled{opacity:.4;cursor:default}button:focus-visible,input:focus-visible,summary:focus-visible,a:focus-visible{outline:2px solid var(--accent-text);outline-offset:2px}input,textarea{min-width:0}svg{flex-shrink:0}button,button *,.note-row,.note-row *,.editor-shell:not(.is-editing) .editable-text,.image-block img{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}input,textarea{-webkit-user-select:text;user-select:text}.app-shell,.editor-shell{background:#fff;flex-direction:column;width:min(100%,760px);height:100%;margin:auto;display:flex;position:relative;overflow:hidden}.screen-scroll{overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin;flex:1;min-height:0;scroll-padding-block:16px;overflow:hidden auto}.home-scroll{padding:8px max(0px, env(safe-area-inset-right)) calc(96px + env(safe-area-inset-bottom)) max(0px, env(safe-area-inset-left))}.note-index{flex-direction:column;display:flex}.note-row{border-bottom:1px solid var(--line);width:100%;position:relative}.note-row-open{text-align:left;touch-action:pan-y;flex-direction:column;align-items:flex-start;width:100%;min-height:108px;padding:20px;display:flex}.note-row-open:disabled{opacity:1}.note-row-open[aria-busy=true]{background:var(--soft)}.note-copy{gap:6px;width:100%;min-width:0;display:grid}.note-copy strong{overflow-wrap:anywhere;font-size:16px;font-weight:600;line-height:1.5}.note-copy>span{color:var(--muted);-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:14px;line-height:1.5;display:-webkit-box;overflow:hidden}.note-time{color:var(--muted);margin-top:8px;font-size:12px}.list-note-actions{z-index:3;background:#fff;border-radius:8px;min-width:120px;padding:4px;position:absolute;top:50%;right:16px;transform:translateY(-50%);box-shadow:0 2px 16px #0003}.list-note-actions button{text-align:left;width:100%;min-height:48px;padding:0 24px;font-size:16px}.delete-note{color:#e5484d}.primary-button{color:#fff;background:var(--accent);border-radius:6px;justify-content:center;align-items:center;gap:8px;min-height:48px;padding:0 24px;font-size:16px;font-weight:600;display:inline-flex}.create-note-button{right:max(20px, env(safe-area-inset-right));bottom:calc(24px + env(safe-area-inset-bottom));color:#fff;background:var(--accent);border-radius:50%;place-items:center;width:56px;height:56px;display:grid;position:absolute;box-shadow:0 2px 8px #0002}.create-note-button svg{stroke-width:2px;width:28px;height:28px}.empty-state{text-align:center;max-width:340px;margin:72px auto 32px;padding:0 20px}.empty-symbol{color:#aaa}.empty-symbol svg{width:40px;height:40px}.empty-state h2{margin:20px 0 8px;font-size:18px;font-weight:600}.empty-state p{color:var(--muted);font-size:14px;line-height:1.6}.list-loading{color:var(--muted);margin:40px auto;font-size:14px}.note-page{max-width:640px;padding:16px max(20px, env(safe-area-inset-right)) max(32px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));margin:auto}.note-title{white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 24px;font-size:20px;font-weight:600;line-height:1.5}.title-input{width:100%;color:inherit;resize:none;background:0 0;border:0;border-radius:0;min-height:33px;padding:0;display:block;overflow:hidden}.title-input::placeholder,.text-block textarea::placeholder,.placeholder{color:#aaa}.block-document{overflow-wrap:anywhere;font-size:16px;line-height:1.6}.block-document a{color:#1677cc;text-underline-offset:3px}.text-block{margin:0 0 16px}.text-block p{white-space:pre-wrap;min-height:26px;margin:0}.text-block textarea{width:100%;color:inherit;resize:none;background:0 0;border:0;border-radius:0;min-height:26px;padding:0;font-size:16px;line-height:1.6;display:block;overflow:hidden}textarea:focus{outline:none}.editor-shell:not(.is-editing):not(.is-viewer) .editable-text{cursor:text}.check-block{grid-template-columns:44px minmax(0,1fr);align-items:start;gap:0 4px;margin:0 0 0 -10px;display:grid}.check-block input{appearance:none;cursor:pointer;opacity:1;touch-action:manipulation;background:0 0;border:0;width:44px;height:44px;margin:0;position:relative}.check-block input:before{content:"";background:#fff;border:1px solid #ccc;border-radius:50%;width:22px;height:22px;position:absolute;top:10px;left:11px}.check-block input:checked:before{border-color:var(--accent);background:var(--accent)}.check-block input:checked:after{content:"";border:2px solid #fff;border-width:0 2px 2px 0;width:6px;height:10px;position:absolute;top:14px;left:19px;transform:rotate(45deg)}.check-block input:disabled{cursor:default}.check-block textarea,.check-block p{padding-top:9px;padding-bottom:9px}.is-checked p,.is-checked textarea{color:var(--muted)}.image-block{margin:20px 0;position:relative}.image-block>img{object-fit:contain;background:var(--ground);border-radius:6px;width:100%;height:auto;max-height:560px;display:block}.remove-image{background:#fffffff2;border-radius:50%;place-items:center;width:44px;height:44px;display:grid;position:absolute;top:8px;right:8px}.image-state{color:var(--accent-text);background:#fffffff2;border-radius:6px;justify-content:space-between;align-items:center;padding:8px 12px;font-size:13px;display:flex;position:absolute;bottom:8px;left:8px;right:8px}.image-state button{min-height:44px;padding:0 8px;font-weight:600}.image-state.failed{color:#c33}.image-placeholder{background:var(--ground);min-height:180px;color:var(--muted);border-radius:6px;flex-direction:column;justify-content:center;align-items:center;gap:12px;font-size:14px;display:flex}.image-placeholder button{min-height:44px;color:var(--accent-text);padding:10px}.note-navigation{height:56px;padding:0 max(8px, env(safe-area-inset-right)) 0 max(8px, env(safe-area-inset-left));background:#fff;flex-shrink:0;align-items:center;display:flex}.navigation-icon{width:44px;height:44px;color:var(--ink);border-radius:50%;flex-shrink:0;place-items:center;padding:0;display:grid}.navigation-icon svg{width:24px;height:24px}.navigation-actions{align-items:center;gap:4px;margin-left:auto;display:flex}.save-status{color:#999;flex:1;min-width:0;padding:0 4px;font-size:11px;line-height:1.4}.notice{background:var(--soft);overflow-wrap:anywhere;border-radius:6px;margin:16px 0;padding:14px;font-size:14px;line-height:1.6}.notice p{margin:0 0 8px}.notice button{color:var(--accent-text);min-height:44px;padding:10px 8px;font-weight:600}.notice.error{color:#c33;background:#fff2f2}.draft-preview{white-space:pre-wrap;max-height:180px;overflow:auto}.undo-notice,.toast{bottom:calc(24px + env(safe-area-inset-bottom));white-space:nowrap;color:#fff;z-index:18;background:#333;border-radius:8px;align-items:center;gap:4px;padding:8px 12px;font-size:13px;display:flex;position:absolute;left:50%;transform:translate(-50%)}.undo-notice button{align-items:center;gap:4px;min-height:44px;padding:8px;display:flex}.undo-notice svg{width:16px;height:16px}.toast{padding:14px 18px}.status-screen{text-align:center;background:#fff;flex-direction:column;justify-content:center;align-items:center;gap:16px;height:100%;padding:32px;display:flex}.status-screen>svg{color:#aaa;width:36px;height:36px}.status-screen h1{margin:8px 0;font-size:22px}.status-screen p{max-width:320px;color:var(--muted);margin:0;font-size:14px;line-height:1.6}.status-mark{display:none}.quiet-button{min-height:44px;color:var(--muted);padding:10px;font-size:16px}.sheet-backdrop{z-index:20;background:#0006;justify-content:center;align-items:center;padding:24px;display:flex;position:absolute;inset:0}.share-sheet,.template-sheet{background:#fff;border-radius:12px;flex-direction:column;gap:14px;width:min(100%,420px);max-height:100%;padding:24px 20px 16px;display:flex;overflow:auto}.share-sheet:focus{outline:none}.share-sheet h2,.template-sheet h2{margin:0;font-size:20px;font-weight:600}.share-sheet p,.template-sheet>p{color:var(--muted);margin:4px 0;font-size:14px;line-height:1.6}.share-sheet input{background:var(--ground);color:#555;border:0;border-radius:6px;width:100%;padding:12px;font-size:16px}.template-options{display:grid}.template-option{border-bottom:1px solid var(--line);text-align:left;grid-template-columns:32px 1fr;align-items:center;gap:2px 12px;width:100%;min-height:76px;padding:12px 0;display:grid}.template-option>svg{width:24px;height:24px;color:var(--accent-text);grid-row:span 2}.template-option strong{align-self:end;font-size:16px;font-weight:600}.template-option span{color:var(--muted);align-self:start;font-size:13px;line-height:1.5}@media (hover:hover){.note-row-open:hover,.navigation-icon:hover,.template-option:hover{background:var(--soft)}.create-note-button:hover,.primary-button:hover{background:#05b34c}}@media (width>=700px){.note-row-open{padding:24px 32px}}@media (prefers-reduced-motion:no-preference){button{transition:background-color .12s}button:active:not(:disabled){filter:brightness(.94)}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}.workspace{width:100%;height:100%;position:relative}.workspace.has-note>.app-shell,.desktop-home-heading,.desktop-welcome,.desktop-label,.desktop-note-menu,.desktop-drop-hint{display:none}.drop-overlay{z-index:25;border:2px dashed var(--accent);pointer-events:none;color:var(--accent-text);background:#f3fff8f5;border-radius:10px;flex-direction:column;justify-content:center;align-items:center;gap:14px;display:flex;position:absolute;inset:8px}.drop-overlay>svg{width:40px;height:40px}.drop-overlay strong{font-size:20px;font-weight:600}.drop-overlay span{font-size:13px}@media (width>=1000px){.workspace{border-inline:1px solid var(--line);grid-template-columns:300px minmax(0,1fr);max-width:1440px;margin:auto;display:grid}.workspace>.app-shell,.workspace.has-note>.app-shell{background:#fafafa;border-right:1px solid #e6e6e6;width:100%;min-width:0;display:flex}.desktop-home-heading{flex-shrink:0;align-items:center;gap:10px;height:76px;padding:0 24px;display:flex}.desktop-home-heading>svg{color:var(--accent-text);width:24px;height:24px}.desktop-home-heading h1{margin:0;font-size:18px;font-weight:600}.home-scroll{padding:0 12px 96px}.note-row{border:0;border-radius:8px;margin-bottom:4px}.note-row-open{border-radius:8px;min-height:110px;padding:16px}.note-copy strong{padding-right:24px;font-size:14px}.note-copy>span{font-size:13px;line-height:1.6}.note-row.is-selected{background:#e9f7ee}.note-row.is-selected .note-row-open:hover{background:#e0f2e7}.desktop-note-menu{opacity:0;color:#777;border-radius:50%;place-items:center;width:36px;height:36px;display:grid;position:absolute;top:6px;right:4px}.note-row:hover .desktop-note-menu,.note-row:focus-within .desktop-note-menu{opacity:1}.desktop-note-menu:hover{background:#00000008}.list-note-actions{top:42px;right:8px;transform:none}.create-note-button{width:auto;height:44px;box-shadow:none;border-radius:6px;justify-content:center;align-items:center;gap:8px;font-size:14px;font-weight:600;display:flex;bottom:24px;left:20px;right:20px}.create-note-button svg{width:20px;height:20px}.desktop-label{display:inline}.desktop-welcome{background:#fff;flex-direction:column;justify-content:center;align-items:center;gap:12px;padding:32px;display:flex}.desktop-welcome>svg{color:#b5c4bb;width:48px;height:48px;margin-bottom:8px}.desktop-welcome h2{margin:0;font-size:20px;font-weight:600}.desktop-welcome p{color:var(--muted);margin:0;font-size:14px}.desktop-welcome>span{color:#999;margin-top:12px;font-size:12px}.workspace>.editor-shell{width:100%;min-width:0}.note-navigation{border-bottom:1px solid var(--line);height:76px;padding:0 24px}.navigation-icon{border-radius:6px;justify-content:center;align-items:center;gap:6px;width:auto;min-width:44px;padding:0 10px;font-size:13px;display:flex}.navigation-icon svg{width:20px;height:20px}.save-status{padding-left:12px;font-size:12px}.note-page{width:100%;max-width:800px;padding:44px 52px 80px}.note-title{margin-bottom:28px;font-size:26px}.desktop-drop-hint{border-top:1px solid var(--line);color:#999;align-items:center;gap:7px;margin:40px 0 0;padding-top:20px;font-size:12px;display:flex}.desktop-drop-hint svg{width:16px;height:16px}.drop-overlay{inset:88px 16px 16px}.editor-shell:not(.is-editing) .editable-text{-webkit-user-select:text;user-select:text}}
