:root{color:#292a2e;background:#f6f6f6;font-family:PingFang SC,Noto Sans CJK SC,sans-serif}*{box-sizing:border-box}body{min-width:320px;margin:0}button,input,textarea{font:inherit}button{cursor:pointer}.app-shell{background:#f8f8f8;width:min(100%,430px);min-height:100dvh;margin:0 auto;position:relative;overflow:hidden}.workspace{height:100dvh;min-height:0;padding:calc(17px + env(safe-area-inset-top)) 20px 0;flex-direction:column;display:flex;overflow:hidden}.top-bar{grid-template-columns:48px 1fr 48px;align-items:center;min-height:58px;margin:0 0 22px;display:grid}.top-bar--fixed{z-index:3;background:#f8f8f8;flex:none}.top-bar--searching{grid-template-columns:minmax(0,1fr) auto;gap:12px}.content-region{min-height:0;padding:0 0 calc(104px + env(safe-area-inset-bottom));flex:auto;overflow-y:auto}.brand-area{align-items:center;gap:10px;display:flex}.brand{color:#131416;letter-spacing:-2px;padding-left:6px;font-family:Trebuchet MS,PingFang SC,sans-serif;font-size:33px;font-weight:800}.brand--home{text-align:left;background:0 0;border:0;padding-top:0;padding-bottom:0;padding-right:0}.brand--home:focus-visible{outline-offset:3px;border-radius:5px;outline:3px solid #4c9f7e59}.sync-indicator{background:0 0;border:0;border-radius:50%;width:18px;height:18px;padding:0}.sync-indicator span{border-radius:50%;width:10px;height:10px;margin:auto;display:block;box-shadow:0 0 0 3px #2f9e5b1f}.sync-indicator.synced span{background:#2f9e5b}.sync-indicator.pending span{background:#e14a45;box-shadow:0 0 0 3px #e14a4521}.sync-indicator:disabled{cursor:default;opacity:1}.icon-button{color:#4d4f51;background:0 0;border:0;border-radius:50%;width:44px;height:44px;font-size:30px;line-height:1}.icon-button:last-child{font-family:Georgia,serif;font-size:39px;transform:rotate(-12deg)}.note-list{gap:17px;width:100%;min-width:0;display:grid}.note-card{text-align:left;background:#fff;border:0;border-radius:23px;width:100%;min-width:0;max-width:100%;min-height:154px;padding:23px 25px;box-shadow:0 7px 22px #2c2c3009}.note-card__content{width:100%;min-width:0;color:inherit;text-align:left;background:0 0;border:0;padding:0;display:block}.note-card__content[aria-expanded]{cursor:pointer}.note-card time{color:#98999d;margin-bottom:22px;font-size:16px;display:block}.note-card__content>span{overflow-wrap:anywhere;word-break:break-word;color:#35363a;white-space:pre-wrap;-webkit-line-clamp:4;-webkit-box-orient:vertical;font-size:19px;line-height:1.7;display:-webkit-box;overflow:hidden}.note-card b{color:#5b86d4;margin-top:22px;font-size:17px;font-weight:500;display:block}.empty{color:#a3a4a8;text-align:center;padding:56px 0}.note-card--expanded .note-card__content>span{-webkit-line-clamp:unset;display:block;overflow:visible}.top-bar .sync-indicator{display:none}.note-card__meta{justify-content:space-between;align-items:center;min-width:0;margin-bottom:22px;display:flex}.note-card__meta time{min-width:0;margin:0}.note-sync{border-radius:50%;flex:0 0 10px;width:10px;height:10px;box-shadow:0 0 0 3px #2f9e5b1f}.note-sync--synced{background:#2f9e5b}.note-sync--pending{background:#e14a45;box-shadow:0 0 0 3px #e14a4521}.content-region{scrollbar-width:none}.content-region::-webkit-scrollbar{display:none}.note-card{width:100%}.note-card:active{transform:none}.note-card__content>span{will-change:max-height;max-height:6.8em;transition:max-height .28s cubic-bezier(.22,.61,.36,1);display:block;overflow:hidden}.note-card--expanded .note-card__content>span{max-height:var(--note-content-height)}.note-card__toggle{color:#5b86d4;background:0 0;border:0;margin-top:22px;padding:0;font-size:17px;font-weight:500;display:block}@media (prefers-reduced-motion:reduce){.note-card__content>span{transition:none}.header-search{animation:none}}.composer-launch{z-index:4;right:22px;bottom:calc(20px + env(safe-area-inset-bottom));color:#98999e;text-align:left;background:#fff;border:1px solid #ededed;border-radius:32px;align-items:center;gap:16px;height:61px;padding:0 22px;font-size:20px;display:flex;position:absolute;left:22px;box-shadow:0 8px 26px #2a2a2a1f}.composer-launch span:first-child{color:#202124;font-size:34px;font-weight:300;line-height:1}.header-search{background:#eeeeef;border-radius:14px;align-items:center;gap:13px;min-width:0;height:50px;padding:0 17px;transition:box-shadow .16s;animation:.18s ease-out search-enter;display:flex;box-shadow:0 0 #4c9f7e00}.header-search:focus-within{box-shadow:0 0 0 2px #4c9f7e3d}.header-search input{color:#303136;background:0 0;border:0;outline:0;width:100%;min-width:0;padding:0;font-size:18px;line-height:1}.header-search input::placeholder{color:#98999d}.header-search input::-webkit-search-cancel-button{display:none}.search-symbol{border:2px solid #626468;border-radius:50%;flex:none;width:21px;height:21px;position:relative}.search-symbol:after{content:"";transform-origin:0;background:#626468;border-radius:2px;width:8px;height:2px;position:absolute;bottom:-4px;right:-6px;transform:rotate(47deg)}.search-cancel{color:#343539;white-space:nowrap;background:0 0;border:0;min-width:52px;height:44px;padding:0 2px;font-size:18px}.search-hint{color:#a3a4a8;text-align:center;margin:18px 0 0;font-size:15px}.search-hint--error{color:#a34c4c}.visually-hidden{clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}@keyframes search-enter{0%{opacity:0;transform:scale(.985)}to{opacity:1;transform:scale(1)}}.list-feedback{color:#7f4d4d;text-align:center;background:#f3f1f1;border-radius:13px;justify-items:center;gap:10px;margin:14px 0;padding:14px 16px;font-size:14px;line-height:1.5;display:grid}.list-feedback button,.load-more{color:#4d5553;background:#eceeef;border:0;border-radius:12px;padding:9px 14px;font-weight:650}.load-more{width:max-content;margin:18px auto 0;display:block}.load-more:disabled{opacity:.62;cursor:default}.detail{color:#35363a;white-space:pre-wrap;background:#fff;border-radius:23px;min-height:260px;padding:25px;font-size:19px;line-height:1.8}.detail time{color:#98999d;margin-bottom:22px;font-size:16px;display:block}.settings-card{background:#fff;border-radius:23px;gap:17px;padding:23px;display:grid}.settings-card label{color:#313441;gap:8px;font-size:14px;font-weight:700;display:grid}.settings-card input{border:1px solid #e5e5e5;border-radius:10px;outline:0;padding:11px}.connection{color:#777b88;margin:0;font-size:14px}.connection.connected{color:#168557}.connection.failed{color:#b33d50}.settings-card .toggle{align-items:center;gap:9px;display:flex}.settings-card .toggle input{accent-color:#4c9f7e;width:17px;height:17px;padding:0}.primary,.secondary,.retry{color:#fff;background:#4c9f7e;border:0;border-radius:12px;padding:12px 15px;font-weight:700}.secondary,.retry{color:#4d4f51;background:#f2f2f2}.menu-layer,.compose-layer{z-index:8;position:absolute;inset:0}.menu-scrim,.compose-scrim{background:#0000005c;border:0;width:100%;position:absolute;inset:0}.side-menu{width:min(78%,292px);min-height:100%;padding:calc(52px + env(safe-area-inset-top)) 18px;background:#fff;align-content:start;gap:4px;display:grid;position:relative;box-shadow:10px 0 30px #0000001f}.side-menu button{color:#303136;text-align:left;background:0 0;border:0;border-radius:12px;padding:14px;font-size:18px}.compose-sheet{min-height:47dvh;padding:24px 22px calc(14px + env(safe-area-inset-bottom));background:#fff;border-radius:25px 25px 0 0;position:absolute;bottom:0;left:0;right:0;box-shadow:0 -8px 24px #00000014}.compose-sheet--viewport-safe{flex-direction:column;width:100%;height:min(78dvh,680px);max-height:calc(100dvh - 8px);display:flex;overflow:hidden}.composer-body{overscroll-behavior:contain;scrollbar-width:thin;flex:auto;min-height:0;padding:0 2px 10px;overflow-y:auto}.composer-label{clip:rect(0,0,0,0);width:1px;height:1px;position:absolute;overflow:hidden}.compose-sheet textarea{resize:none;color:#333438;border:0;outline:0;width:100%;min-height:clamp(130px,29dvh,300px);font-size:22px;line-height:1.65;display:block}.compose-sheet textarea::placeholder{color:#b1b2b5}.composer-footer{justify-content:flex-end;align-items:center;min-height:52px;display:flex}.composer-footer--fixed{z-index:1;background:#fff;border-top:1px solid #f2f2f2;flex:0 0 52px;padding-top:4px}.send-button--level{color:#fff;background:#53a985;border:0;border-radius:25px;width:76px;height:48px;font-size:25px;line-height:1}.send-button--level:disabled{color:#c9ccce;background:#eef0f1}.notice{z-index:12;color:#fff;background:#252628;border-radius:14px;justify-content:space-between;align-items:center;gap:20px;padding:15px 16px;display:flex;position:absolute;bottom:95px;left:18px;right:18px;box-shadow:0 15px 40px #0003}.notice button{color:#fff;background:0 0;border:0;font-size:20px}@media (width>=560px){body{background:#ececec;place-items:center;min-height:100vh;padding:24px;display:grid}.app-shell--portrait{aspect-ratio:9/20;border:1px solid #ffffffe6;border-radius:31px;width:auto;height:min(860px,100vh - 48px);min-height:0;box-shadow:0 25px 70px #1e1e1e2e}.workspace{height:100%;min-height:100%}.menu-layer,.compose-layer{border-radius:31px;overflow:hidden}}.composer-launch--scroll-safe{left:20px;right:20px}.composer-body{flex-direction:column;display:flex}.compose-sheet textarea.composer-textarea--fill{flex:1 0 clamp(130px,29dvh,300px);min-height:0}.settings-back{color:#5b86d4;text-align:left;background:0 0;border:0;padding:0;font-size:16px}.note-image-slot{width:100%}.note-image-trigger{background:#f2f3f3;border:0;border-radius:14px;width:100%;margin-top:14px;padding:0;display:block;overflow:hidden}.note-image-trigger:focus-visible{outline-offset:2px;outline:3px solid #4c9f7e6b}.note-image{border-radius:14px;width:100%;max-height:280px;display:block}.note-image--contain{object-fit:contain}.note-image-deferred{width:100%;height:100%;min-height:1px}.note-image-loading{background:linear-gradient(100deg,#f2f3f3 25%,#f8f8f8 42%,#f2f3f3 60%) 0 0/220% 100%;border-radius:14px;width:100%;height:84px;margin-top:14px;animation:1.3s ease-in-out infinite image-loading}.note-image-error{color:#8a5252;background:#f4f1f1;border-radius:12px;justify-content:space-between;align-items:center;gap:10px;margin-top:14px;padding:12px 14px;font-size:14px;display:flex}.note-image-error button{color:#8a5252;background:#fff;border:0;border-radius:9px;flex:none;padding:7px 10px;font-weight:600}.image-previews{gap:8px;margin:12px 0;display:grid}.image-preview{color:#4a4c4f;background:#f2f3f1;border-radius:12px;grid-template-columns:50px minmax(0,1fr) 30px;align-items:center;gap:10px;min-height:58px;padding:6px 8px;font-size:14px;display:grid}.image-preview img{object-fit:cover;background:#e5e7e5;border-radius:8px;width:50px;height:50px}.image-preview__error{color:#8a5252;text-align:center;font-size:12px}.image-preview__name{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.image-preview button{color:#6e7073;background:0 0;border:0;border-radius:50%;width:30px;height:30px;padding:0;font-size:20px}.image-preview button:focus-visible,.image-button:focus-within{outline-offset:2px;outline:3px solid #4c9f7e59}.image-selection-feedback{color:#8a5b38;margin:4px 0 10px;font-size:13px;line-height:1.55}.image-button{color:#4b4d50;cursor:pointer;border-radius:50%;place-items:center;width:42px;height:42px;margin-right:auto;display:inline-grid;position:relative}.photo-icon{width:25px;height:25px}.image-button input{opacity:0;width:1px;height:1px;position:absolute}.image-viewer{z-index:1000;overscroll-behavior:none;touch-action:none;place-items:center;padding:22px;display:grid;position:fixed;inset:0}.image-viewer__scrim{background:#121314e0;border:0;width:100%;position:absolute;inset:0}.image-viewer__panel{z-index:1;place-items:center;width:100%;height:100%;display:grid;position:relative}.image-viewer__panel img{object-fit:contain;max-width:100%;max-height:100%;display:block}.image-viewer__close{color:#fff;background:#141414b3;border:1px solid #ffffff59;border-radius:50%;width:44px;height:44px;padding:0;font-size:28px;line-height:1;position:absolute;top:0;right:0}.image-viewer__close:focus-visible{outline-offset:2px;outline:3px solid #7bd1ad}@keyframes image-loading{0%{background-position:100% 0}to{background-position:-100% 0}}@media (prefers-reduced-motion:reduce){.note-image-loading{animation:none}}@media (orientation:landscape){.compose-sheet--viewport-safe{height:min(92dvh,520px)}.compose-sheet textarea{min-height:120px}}
