:root{color:#292c2a;font-synthesis:none;text-rendering:optimizelegibility;--ink:#292c2a;--muted:#626b64;--green:#496653;--surface:#fffdfc;--border:#dddcd4;--danger:#8e352e;background:#f7f4ef;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Noto Sans CJK SC,sans-serif;font-size:16px;line-height:1.65}*{box-sizing:border-box}body{min-width:300px;margin:0}a{color:inherit;text-decoration:none}button,input,textarea{font:inherit}button,a,input,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.58}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline-offset:3px;outline:3px solid #8a6741}h1,h2,p,figure{margin:0}h1{letter-spacing:-.8px;font-size:28px;font-weight:650;line-height:1.4}h2{font-size:19px;font-weight:600;line-height:1.5}p{overflow-wrap:anywhere}.muted,.small-note{color:var(--muted)}.small-note{font-size:14px;line-height:1.7}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.skip-link{z-index:100;background:var(--surface);padding:12px;position:fixed;top:-100px;left:12px}.skip-link:focus{top:10px}.app-header{max-width:900px;padding:calc(22px + env(safe-area-inset-top)) 28px 22px;border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;margin:auto;display:flex}.brand{letter-spacing:-1px;align-items:center;gap:10px;font-family:Georgia,Times New Roman,serif;font-size:26px;display:flex}.brand-mark{width:34px;height:38px;color:var(--green);text-align:center;border:1px solid #a8b5a8;border-radius:11px 11px 3px 3px;font-size:30px;line-height:35px;position:relative}.brand-mark span{background:#748b7a;border-radius:0 8px;width:10px;height:6px;position:absolute;top:-3px;right:-4px}.app-header nav{align-items:center;gap:10px;display:flex}.button{border:1px solid #0000;border-radius:12px;justify-content:center;align-items:center;gap:8px;min-height:44px;padding:11px 19px;font-size:16px;font-weight:550;line-height:1.4;display:inline-flex}.primary{background:var(--green);color:#fff}.primary:hover:not(:disabled){background:#3f5a49}.secondary{background:var(--surface);color:#36553f;border-color:#b8c1b8}.quiet{color:var(--green);background:0 0;padding-left:0;padding-right:8px}.small{padding:10px 14px;font-size:14px}.danger{color:var(--danger);background:#fff4f0;border:1px solid #c08b80}.icon-button{min-width:44px;min-height:44px;color:var(--muted);background:0 0;border:0;border-radius:10px;justify-content:center;align-items:center;display:inline-flex}.icon-button:hover{background:#e9ede5}.text-button{background:0 0;border:0;min-height:44px;padding:8px;font-size:14px}.text-link{color:var(--green);text-underline-offset:4px;min-height:44px;padding:8px 2px;font-size:14px;text-decoration:underline;display:inline-block}.page{max-width:760px;margin:auto;padding:42px 24px 32px}.eyebrow{color:var(--muted);letter-spacing:1px;margin-bottom:8px;font-size:14px}.page-heading{justify-content:space-between;align-items:center;gap:16px;display:flex}.count-label{color:var(--muted);white-space:nowrap;font-size:14px}.page-intro{color:var(--muted);margin:12px 0 32px}.section-heading{justify-content:space-between;align-items:center;gap:16px;margin:26px 0 12px;display:flex}.section-heading>span{color:var(--muted);font-size:14px}.record-list{border-top:1px solid var(--border)}.record-row{border-bottom:1px solid var(--border);align-items:center;gap:16px;min-height:94px;padding:20px 3px;display:flex}.record-copy{flex:1;min-width:0}.record-copy strong{-webkit-line-clamp:2;overflow-wrap:anywhere;-webkit-box-orient:vertical;font-size:16px;font-weight:550;display:-webkit-box;overflow:hidden}.record-copy p{color:var(--muted);margin-top:4px;font-size:14px}.row-symbol{width:38px;height:42px;color:var(--green);background:#e9eee5;border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;font-size:23px;display:flex}.draft-row .row-symbol{color:#756246;background:#eee9dc}.row-chevron{color:#69756a;font-size:23px}.draft-section{margin-bottom:26px}.empty-state{text-align:center;padding:18px 0 36px}.empty-illustration{width:180px;height:134px;margin:0 auto 25px;position:relative}.paper{background:#eff1e8;border:1px solid #c2ccb9;border-radius:6px;width:88px;height:108px;position:absolute;top:12px;left:42px;transform:rotate(-12deg)}.front-paper{background:var(--surface);color:var(--green);flex-direction:column;gap:8px;padding:17px;display:flex;top:20px;left:65px;transform:rotate(7deg);box-shadow:0 7px 18px #454c3610}.front-paper span{background:#ccd3c6;width:100%;height:1px}.front-paper span:last-child{width:68%}.empty-state h2{margin-bottom:12px;font-size:21px}.empty-state>p:not(.small-note){color:var(--muted);line-height:1.9}.empty-state .button{margin:24px 0 14px;padding-inline:28px}.preview-note{color:var(--muted);border-top:1px solid var(--border);align-items:baseline;gap:9px;margin-top:30px;padding-top:18px;font-size:14px;line-height:1.8;display:flex}.status-dot{background:#748b7a;border-radius:50%;flex-shrink:0;width:6px;height:6px;margin-right:5px;display:inline-block}.preview-note .status-dot{background:#9d845b}.app-footer{border-top:1px solid var(--border);max-width:712px;padding:22px 0 calc(26px + env(safe-area-inset-bottom));color:var(--muted);justify-content:space-between;margin:12px auto 0;font-size:14px;display:flex}.app-footer a{align-items:flex-start;min-height:44px;display:inline-flex}.offline-banner{color:#3f5946;background:#e9eee5;max-width:900px;margin:0 auto;padding:10px 24px;font-size:14px}.notice{white-space:pre-wrap;background:#eeeee4;border-left:3px solid #8c9f82;border-radius:4px;margin:16px 0;padding:12px 15px;font-size:14px}.notice.error{color:#763a30;background:#fff2ed;border-color:#9b5448}.notice p+p{margin-top:8px}.notice .text-link{margin-left:8px}.notice.success{color:#36543e;background:#eaf0e6}.back-link{min-height:44px;color:var(--green);align-items:center;gap:5px;margin:-10px 0 25px;font-size:14px;display:inline-flex}.record-meta{color:var(--muted);margin:12px 0 25px;font-size:14px}.capture-body{white-space:pre-wrap;overflow-wrap:anywhere;font-size:17px;line-height:1.95}.detail-page h1{overflow-wrap:anywhere;font-size:25px}.detail-actions{gap:12px;margin:28px 0 12px;display:flex}.settings-page section{margin:30px 0}.settings-page section>p{margin-top:14px}.settings-list{border-top:1px solid var(--border);margin:16px 0}.settings-list>div{border-bottom:1px solid var(--border);justify-content:space-between;gap:20px;padding:13px 0;display:flex}.settings-list dt{color:var(--muted)}.settings-list dd{text-align:right;margin:0}.loading{padding-top:100px}.recovery-page h1{margin:30px 0 20px}.recovery-page p{margin-bottom:20px}.capture-dialog{width:min(100%,660px);max-width:100%;max-height:94dvh;color:var(--ink);background:0 0;border:0;border-radius:24px 24px 0 0;margin:auto auto 0;padding:0;position:fixed;bottom:0;overflow:visible}.capture-dialog::backdrop{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#333c3159}.editor{background:var(--surface);flex-direction:column;max-height:94dvh;display:flex;overflow:hidden}.sheet-editor{border-radius:24px 24px 0 0;box-shadow:0 -10px 60px #28302412}.sheet-handle{background:#bfc7bb;border-radius:4px;flex-shrink:0;width:34px;height:4px;margin:12px auto 0}.editor-header{flex-shrink:0;justify-content:space-between;align-items:center;padding:18px 24px 10px;display:flex}.editor-header .eyebrow{margin-bottom:3px;font-size:14px}.editor-header-actions{gap:4px;display:flex}.save-status{color:var(--muted);flex-shrink:0;padding:0 24px 12px;font-size:14px;line-height:1.6}.save-status.error{color:var(--danger)}.save-status.error .status-dot{background:var(--danger)}.save-status.dirty .status-dot,.save-status.saving .status-dot{background:#9d845b}.save-status.conflict{color:#78532c}.editor-scroll{overscroll-behavior:contain;flex:1;min-height:0;padding:0 24px 18px;overflow-y:auto}.editor textarea{resize:vertical;width:100%;min-height:180px;max-height:50dvh;color:var(--ink);background:0 0;border:0;border-top:1px solid #e4e4dc;border-radius:0;padding:18px 0;font-size:17px;line-height:1.85;display:block}.editor textarea::placeholder{color:#727b70}.editor textarea:focus{outline-offset:0;border-top-color:var(--green);outline:0}.editor-footer{padding:12px 24px calc(16px + env(safe-area-inset-bottom));border-top:1px solid var(--border);background:var(--surface);flex-shrink:0}.editor-tools{justify-content:space-between;align-items:center;gap:8px;margin-bottom:12px;display:flex}.editor-footer>.primary{width:100%}.editor-page{max-width:800px;margin:0 auto}.full-editor{min-height:100dvh;max-height:100dvh;padding-top:env(safe-area-inset-top)}.full-editor .sheet-handle{display:none}.full-editor textarea{resize:none;min-height:40dvh;max-height:none}.attachment-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:12px;display:grid}.attachment{border:1px solid var(--border);background:#f1f0e9;border-radius:10px;min-width:0;overflow:hidden}.attachment img{object-fit:contain;background:#eeeee7;width:100%;height:160px;display:block}.attachment figcaption{min-height:44px;color:var(--muted);justify-content:space-between;align-items:center;gap:5px;padding-left:9px;font-size:12px;display:flex}.attachment figcaption>span:first-child{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.attachment-actions{display:flex}.attachment-actions .icon-button{width:36px;min-width:36px;min-height:44px}.image-placeholder{height:160px;color:var(--muted);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:8px;padding:12px;font-size:13px;display:flex}.recovery-actions{flex-wrap:wrap;gap:8px;margin:12px 0;display:flex}.recovery-actions .button{font-size:14px}@media (width>=768px){.inbox-page{padding-top:52px}.empty-state{padding-top:30px}.capture-dialog{border-radius:24px;margin:auto;bottom:auto}.sheet-editor{border-radius:24px}.editor-page{padding:24px}.full-editor{border:1px solid var(--border);border-radius:20px;min-height:calc(100dvh - 48px);max-height:calc(100dvh - 48px)}.app-footer{margin-top:24px}}@media (width<=600px){.app-header{padding-left:18px;padding-right:16px}.page{padding:32px 18px 24px}.app-footer{margin:12px 18px 0}.page-heading{align-items:baseline}.empty-state h2{font-size:20px}.count-label{white-space:normal;text-align:right}.editor-header,.editor-scroll,.editor-footer,.save-status{padding-inline:18px}.attachment-grid{gap:10px}.settings-list{font-size:14px}.app-header nav{gap:4px}}@media (prefers-reduced-motion:no-preference){.button,.record-row{transition:background-color .15s}.capture-dialog[open]{animation:.18s ease-out appear}@keyframes appear{0%{opacity:.5;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}}.field-label{margin:1rem 0;font-weight:500;display:block}.field-label input{color:#292c2a;width:100%;font:inherit;background:#fffdfc;border:1px solid #929c93;border-radius:8px;min-height:44px;margin-top:.5rem;padding:.7rem;display:block}.history-row{overflow-wrap:anywhere;border-bottom:1px solid #d6dcd4;padding:1rem 0}.history-row summary{cursor:pointer;min-height:44px;padding:.5rem 0}.detail-actions{flex-wrap:wrap;gap:.75rem}.settings-page section{overflow-wrap:anywhere}.item-form label,.page>label,.notice label{margin:1rem 0;font-size:.95rem;display:block}.item-form input,.item-form textarea,.item-form select,.page>label input,.page>label select,.notice label select,.notice label textarea{border:1px solid var(--border,#ddd);background:var(--surface,#fff);width:100%;color:inherit;font:inherit;border-radius:.5rem;margin-top:.4rem;padding:.65rem;display:block}.item-form textarea{min-height:7rem}.page pre{white-space:pre-wrap;overflow-wrap:anywhere}.item-row{margin:.5rem 0}@media (width<=480px){.app-header nav{flex-wrap:wrap;gap:.4rem;font-size:.8rem}.app-header{align-items:center}.app-header .brand{margin-right:.4rem}}.diary-calendar{text-align:center;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;margin:16px 0;display:grid}.diary-calendar button{border:1px solid var(--border);background:var(--surface);min-height:44px;color:inherit;border-radius:8px}.diary-calendar button[aria-pressed=true]{background:var(--green);color:#fff}.module-nav{z-index:30;padding:8px 12px calc(8px + env(safe-area-inset-bottom));-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#fbfaf7f5;border-top:1px solid #dddcd4;grid-template-columns:repeat(5,minmax(0,1fr));display:grid;position:fixed;bottom:0;left:0;right:0}.module-nav a{color:#626b64;border-radius:16px;flex-direction:column;justify-content:center;align-items:center;gap:1px;min-height:50px;font-size:12px;display:flex}.app-footer{margin-bottom:88px}.study-page{max-width:720px}.study-page h1{font-size:30px}.study-subnav{color:var(--green);flex-wrap:wrap;align-items:center;gap:18px;margin:18px 0 28px;font-size:14px;display:flex}.study-subnav a{align-items:center;min-height:44px;display:flex}.study-hero{background:#e9eee5;border-radius:28px;margin:24px 0 34px;padding:28px 24px}.study-hero h2{margin-bottom:12px;font-size:23px}.study-hero p{color:#536255}.study-hero .primary{margin:22px 12px 0 0}.study-card{overflow-wrap:anywhere;background:#fffdfaf2;border:1px solid #e7e4dc;border-radius:24px;margin:18px 0;padding:24px;display:block}.study-card h2{margin-bottom:14px}.study-card h2:not(:first-child){margin-top:24px}.study-card>.button{margin-top:22px}.study-link{justify-content:space-between;align-items:center;gap:16px;padding:22px;display:flex}.study-link strong{font-size:17px;font-weight:600}.study-link p{color:var(--muted);margin-top:7px;font-size:14px}.study-link>span{color:#748b7a;font-size:22px}.study-drafts .study-card{background:#eeebf3}.study-empty{color:var(--muted);padding:24px 4px}.study-fields label{margin:18px 0;font-size:15px;display:block}.study-fields label:first-child{margin-top:0}.study-fields input:not([type=checkbox]),.study-fields textarea,.study-fields select,.study-filter select{width:100%;color:var(--ink);font:inherit;background:#f8f7f2;border:1px solid #dddcd4;border-radius:14px;max-width:100%;min-height:48px;margin-top:10px;padding:13px;display:block}.study-fields textarea{resize:vertical;min-height:100px;line-height:1.9}.study-fields textarea.study-body{background:0 0;border-color:#e7e4dc;min-height:200px}.study-fields fieldset{border:0;margin:22px 0;padding:0}.study-fields legend{color:var(--muted);font-size:14px}.study-fields label.study-check{align-items:center;gap:12px;min-height:48px;display:flex}.study-check input{width:20px;height:20px;accent-color:var(--green)}.study-page summary{cursor:pointer;min-height:44px;color:var(--green);padding:10px 0}.study-task{justify-content:space-between;align-items:center;gap:16px;min-height:54px;padding:12px 0;display:flex}.study-task span{color:var(--muted);font-size:14px}.study-status{white-space:pre-wrap;background:#e9eee5;border-radius:16px;margin:18px 0;padding:14px 18px;font-size:14px}.study-status.error{color:var(--danger);background:#f8e8e4}.study-save{margin:26px 0 40px}.study-save>.primary{width:100%}.study-management{background:#f0edf4}.study-history{border-top:1px solid #dcd7e3;padding:12px 0}.study-filter{margin:24px 0;font-size:14px;display:block}.study-editor>.back-link{margin-bottom:12px}.study-editor .page-intro{margin-bottom:20px}.study-card .capture-body{font-size:16px}.study-fields p{margin:12px 0}@media (width>=768px){.module-nav{border:1px solid var(--border);border-radius:24px 24px 0 0;width:700px;left:50%;transform:translate(-50%)}.study-page{padding-top:48px}}:root{--lavender:#efebf3;--peach:#f4e9df;--blue:#eaf0f3;--nav-height:76px;--visible-height:100dvh;font-size:100%}html{scroll-padding:24px 0 calc(var(--nav-height) + 32px)}body{min-width:0}h1{letter-spacing:-.025em;font-size:1.75rem;line-height:1.4}h2{font-size:1.2rem;line-height:1.5}h3{margin:0 0 10px;font-size:1.05rem;font-weight:600;line-height:1.55}button,select{font:inherit}button:not(.icon-button):not(.primary):not(.danger){color:var(--green);background:0 0;border:1px solid #0000;border-radius:10px;min-height:44px;padding:10px 12px}button:not(.icon-button):hover:not(:disabled){background:#edf0e8}button,a,summary,input,select,textarea{touch-action:manipulation}button:focus-visible,a:focus-visible,summary:focus-visible,select:focus-visible{outline-offset:3px;outline:3px solid #8a6741}button:disabled{opacity:.6}a:not(.record-row):not(.category-entry):not(.brand){min-height:44px}a.text-link,.utility-links a{align-items:center;display:inline-flex}summary{cursor:pointer;min-height:44px;color:var(--green);padding:10px 0}details{max-width:100%}details>summary{font-size:1rem}details[open]>summary{margin-bottom:12px}.page{width:100%;max-width:760px;padding:32px 20px calc(var(--nav-height) + 40px)}.page>section{margin-top:28px}.page>h1{margin-bottom:16px}.page>p{margin-top:12px}.page>label{margin:22px 0}.page-heading{flex-wrap:wrap;align-items:center;gap:16px}.page-heading .eyebrow{margin-bottom:6px}.page-intro{max-width:38em;margin:12px 0 28px;font-size:1rem;line-height:1.8}.eyebrow,.small-note,.record-meta,.record-copy p,.scope-note,.count-label{letter-spacing:0;font-size:.875rem;line-height:1.7}.page .capture-body{font-size:1.0625rem;line-height:1.95}.page a,.page p,.page strong,.page h1,.page h2,.page h3{overflow-wrap:anywhere}.app-header{padding:calc(16px + env(safe-area-inset-top)) 20px 16px;border-bottom:0;gap:10px;max-width:760px}.brand{flex-shrink:0;font-size:1.65rem}.app-header nav{flex-wrap:nowrap;gap:3px;font-size:.875rem}.app-header nav>a{justify-content:center;align-items:center;display:inline-flex}.app-header .small{gap:4px;padding:10px;font-size:.875rem}.app-header .icon-button{flex-shrink:0;width:44px}.app-footer{margin:0 auto calc(var(--nav-height) + 20px);border-color:#e8e4dc;flex-wrap:wrap;gap:14px;max-width:720px;padding:20px;font-size:.875rem}.page+.app-footer{margin-top:0}.module-nav{z-index:30;padding:6px max(8px,env(safe-area-inset-left)) calc(6px + env(safe-area-inset-bottom));background:#fbfaf7;border-top:1px solid #e4e4dc;gap:3px;width:100%;max-width:760px;left:50%;transform:translate(-50%)}.module-nav a{text-align:center;overflow-wrap:anywhere;border-radius:14px;flex:1;min-width:0;min-height:52px;padding:7px 3px;font-size:.8125rem;line-height:1.4}.module-nav a>span:first-child{font-size:1.375rem;line-height:1.1}.module-nav a.active{color:#36543e;background:#e8eee4;font-weight:600}.module-nav a[aria-current=page]:after{content:"";background:currentColor;border-radius:2px;width:12px;height:2px}.context-bar{max-width:760px;margin:0 auto;padding:0 20px}.context-bar .back-link{margin:0}.context-bar+.page{padding-top:14px}.back-link{margin:0 0 20px;font-size:.875rem}.context-bar .back-link{font-size:.875rem}.utility-links{color:var(--green);flex-wrap:wrap;gap:4px 18px;margin:14px 0 24px;font-size:.875rem;display:flex}.utility-links a{padding:8px 0}.section-heading{margin:28px 0 12px}.section-heading>span{font-size:.875rem}.record-row{background:0 0;border-color:#e4e2d9;gap:12px;padding:18px 2px}.record-row:hover{background:#f0f1e9}.record-copy{min-width:0}.record-copy strong{font-size:1rem;font-weight:550;line-height:1.7}.record-copy p{margin-top:5px}.record-row>strong+.record-row>p{margin:0}.row-symbol{border-radius:12px;flex-shrink:0;width:38px;height:40px}.row-chevron{font-size:1.3rem}.record-list{border-color:#e4e2d9}.quiet-empty{color:var(--muted);padding:18px 0 28px;line-height:1.85}.loading-state{color:var(--muted);padding:24px 0}.notice{border-left-width:2px;border-radius:10px;padding:14px 16px;font-size:.9375rem;line-height:1.75}.notice:empty,[role=alert]:empty,[role=status]:empty{display:none}.offline-banner{max-width:760px;margin:0 auto;padding:8px 20px;font-size:.875rem}.detail-actions{align-items:center;gap:8px 12px}.detail-actions>a:not(.button){color:var(--green);padding:10px 0}.detail-actions .button{font-size:1rem}.detail-actions button{font-size:.9375rem}.action-group{flex-wrap:wrap;gap:6px 12px;display:flex}.list-count{color:var(--muted);font-size:.875rem}.home-heading{justify-content:space-between;align-items:center;gap:16px;margin-bottom:28px;display:flex}.home-heading h1{margin:0}.inbox-entry{color:var(--green);flex-shrink:0;align-items:center;gap:8px;padding:10px 0;font-size:.875rem;display:flex}.home-page .home-next{background:#eaf0e5;border-radius:20px;margin:20px 0;padding:26px 24px}.home-next>h2{margin:10px 0;font-size:1.4rem;line-height:1.6}.next-reason{color:#526453;margin:10px 0 22px;font-size:1rem}.home-next>.primary{margin:4px 0 8px}.next-secondary{color:var(--green);align-items:center;gap:12px;margin:8px 0 0 12px;font-size:.9375rem;display:inline-flex}.next-secondary a{align-items:center;display:inline-flex}.home-options{color:var(--muted);margin:12px 0}.home-options summary{font-size:.875rem}.home-at-rest>svg{color:#6e8672;margin:16px 0 0}.home-at-rest>p:not(.eyebrow){color:var(--muted);max-width:27em;margin:12px 0 20px}.home-at-rest>.text-link{margin-left:14px}.home-shortcuts{gap:12px;margin:24px 0;display:flex}.home-shortcuts a{border-bottom:1px solid var(--border);color:var(--green);flex:1;align-items:center;gap:8px;padding:14px 0;font-size:.9375rem;display:flex}.home-shortcuts a>span{margin-left:auto}.home-reminders .record-row{min-height:72px;padding:14px 0}.overdue-link{margin-top:20px}.filter-tabs{flex-wrap:wrap;gap:4px;margin:20px 0 12px;display:flex}.filter-tabs button{font-size:.9375rem}.filter-tabs button[aria-pressed=true]{color:#36543e;background:#e8eee4;border-color:#b5c4af}.items-page .item-row{margin:0}.space-categories{gap:12px;display:grid}.category-entry{background:#edf0e6;border-radius:16px;align-items:center;gap:16px;min-height:94px;padding:22px 18px;display:flex}.category-entry h2{font-size:1.125rem}.category-entry p{color:var(--muted);margin-top:5px;font-size:.875rem}.category-entry>span:last-child{color:var(--green);margin-left:auto}.category-icon{color:var(--green);align-items:center;display:flex}.category-entry.blue{background:var(--blue)}.category-entry.peach{background:var(--peach)}.space-page .recent-pages{margin-top:34px}.diary-today{color:var(--ink);background:#eeeaf2;border-radius:20px;justify-content:space-between;align-items:center;margin:22px 0;padding:24px;display:flex}.diary-today>span:first-child{flex-direction:column;gap:8px;display:flex}.diary-today strong{font-size:1.2rem;font-weight:550}.diary-today>span:last-child{color:var(--green);font-size:1.75rem}.diary-list .utility-links{margin-bottom:8px}.diary-list .diary-entry{background:#fffdf9;border:0;border-radius:16px;min-height:104px;margin:12px 0;padding:22px}.diary-entry p{color:var(--muted);margin-top:8px;font-size:.875rem;line-height:1.8}.content-list .tag-filter{margin-bottom:28px}.content-detail>.capture-body{padding:22px 0}.content-detail>h2{margin-top:28px}.content-detail>.record-meta{margin-bottom:26px}.content-detail .content-metadata{border-top:1px solid var(--border);margin-top:32px}.diary-detail>h1{font-family:Georgia,Songti SC,serif;font-weight:500;line-height:1.6}.diary-detail>.capture-body{font-size:1.125rem;line-height:2}.content-editor{max-width:720px}.content-editor .prose-input>textarea{background:#fbfaf6;border:0;border-bottom:1px solid #d5d9ce;border-radius:0;min-height:280px;padding:16px 2px;font-size:1.0625rem;line-height:1.95}.diary-editor .content-title-input input{background:0 0;border:0;border-bottom:1px solid #d5d9ce;border-radius:0;padding:12px 2px;font-size:1.25rem}.diary-editor .prose-input>textarea{min-height:360px}.content-editor .inline-field{font-size:.875rem}.image-picker{background:#eeeee7;border-radius:12px;padding:14px}.image-picker input{background:0 0!important;border:0!important;padding-left:0!important}.item-form>h1{margin-bottom:8px}.item-form>label:first-of-type{margin-top:24px}.item-form fieldset{border:0;margin:26px 0;padding:0}.item-form legend{margin-bottom:10px;font-size:1.125rem;font-weight:600}.item-form label{margin:16px 0;font-size:.9375rem;display:block}.page label{overflow-wrap:anywhere}.page input:not([type=checkbox]):not([type=radio]),.page select,.page textarea{width:100%;min-width:0;max-width:100%;min-height:48px;color:var(--ink);font:inherit;background:#fffdfa;border:1px solid #c7cfc3;border-radius:10px;margin:8px 0 0;padding:12px 14px;scroll-margin:64px 0 120px;font-size:1rem;line-height:1.65;display:block}.page textarea{resize:vertical;min-height:120px}.page input[type=checkbox],.page input[type=radio]{vertical-align:middle;width:22px;height:22px;accent-color:var(--green);flex-shrink:0;margin:10px 10px 10px 0}.page label:has(>input[type=checkbox]){align-items:center;min-height:44px;display:flex}.page input[type=file]{font-size:.875rem}.page input[type=number]{max-width:100%}.page .button.primary{min-height:48px}.page .button.secondary{background:#fffdf9;border:1px solid #aebbab}.history-row{padding:20px 0}.history-row p{margin:10px 0}.history-row pre,.page pre{white-space:pre-wrap;overflow-wrap:anywhere;max-width:100%;font-size:.9375rem;line-height:1.8}.attachment-grid{gap:16px;max-width:100%}.attachment-card img{object-fit:contain;max-width:100%;height:auto}.attachment-card{min-width:0}.page dl{font-size:1rem}.settings-list>div{flex-wrap:wrap;gap:6px}.settings-list dd{margin-left:0}.settings-page section>p{font-size:1rem}.settings-page .small-note{font-size:.875rem}.diagnostics{margin-top:20px}.sop-page>.primary{margin:0 0 10px}.sop-page .record-row{min-height:84px;display:block}.sop-page .record-row>p{color:var(--muted);margin-top:6px;font-size:.875rem}.sop-page section{margin:28px 0}.sop-detail ol,.sop-run ol{padding-left:22px}.sop-detail li,.sop-run li{margin:22px 0;padding-left:6px}.sop-editor section{border-top:1px solid var(--border);margin-top:24px;padding-top:24px}.study-card{box-shadow:none;background:#fffdf9;border:0;border-radius:16px;margin:22px 0;padding:22px}.study-hero{background:#eaf0e5;border-radius:20px;padding:26px 24px}.study-card .study-card{background:0 0;border-radius:0;padding:12px 0}.study-manage{background:var(--lavender)}.study-status{font-size:.9375rem}.study-subnav{gap:6px 16px;font-size:.9375rem}.study-row{border-bottom:1px solid var(--border);border-radius:0;padding:18px 0}.study-fields summary{font-size:.9375rem}.study-editor{padding-bottom:48px}.study-fields .study-body{min-height:230px}.study-card .small-note{font-size:.875rem}.study-check{gap:8px;min-height:44px}.study-check input{width:22px;height:22px}.study-drafts{background:0 0}.study-empty{padding:20px 0;line-height:1.8}.search-input-row{align-items:center;gap:8px;margin:24px 0 12px;display:flex}.search-box{min-width:0;color:var(--green);background:#fffdf9;border:1px solid #a6b7a0;border-radius:14px;flex:1;align-items:center;gap:10px;padding:0 12px;display:flex}.page .search-box input{outline-offset:0;background:0 0;border:0;margin:0;padding:15px 0}.search-box:focus-within{outline-offset:3px;outline:2px solid #8a6741}.search-box input:focus-visible{outline:0}.filter-button{flex-shrink:0;position:relative}.filter-count{background:var(--green);color:#fff;border-radius:8px;padding:0 5px;font-size:.75rem;position:absolute;top:0;right:0}.scope-note,.index-note{color:var(--muted);font-size:.875rem;line-height:1.8}.search-maintenance{margin:12px 0}.search-maintenance summary,.search-maintenance p{color:var(--muted);font-size:.875rem}.search-start{padding:28px 0}.search-start>p{font-size:1.2rem;line-height:1.8}.search-type-links{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 24px;margin:28px 0;display:grid}.search-type-links>a{border-bottom:1px solid var(--border);color:var(--green);justify-content:space-between;align-items:center;padding:14px 0;display:flex}.search-result{align-items:flex-start;padding:20px 0}.result-meta{font-size:.875rem}.search-result .result-snippet{color:var(--ink);font-size:1rem;line-height:1.75}.search-results .row-symbol{background:#edf0e6}.filter-summary{color:var(--green);font-size:.875rem}.filter-dialog{width:min(100%,640px);max-width:100%;max-height:min(88dvh,var(--visible-height));color:var(--ink);background:#fbfaf7;border:0;border-radius:24px 24px 0 0;margin:auto auto 0;padding:0}.filter-dialog::backdrop{background:#292c2a50}.filter-content{padding:24px 22px calc(24px + env(safe-area-inset-bottom));max-height:inherit;overflow-y:auto}.filter-content label{margin:18px 0;display:block}.filter-content input,.filter-content select{width:100%;min-height:48px;font:inherit;background:#fffdf9;border:1px solid #c7cfc3;border-radius:10px;margin-top:8px;padding:12px;font-size:1rem;display:block}.filter-content>.primary{width:100%;margin-top:10px}.search-status{font-size:.9375rem}.empty-state.compact{padding:30px 0}.editor-page{padding-bottom:0}.full-editor{min-height:var(--visible-height);height:auto}.editor-scroll{overscroll-behavior:contain}.capture-dialog{max-height:var(--visible-height)}.editor-footer{padding-bottom:calc(16px + env(safe-area-inset-bottom));gap:12px}.editor-header h1{font-size:1.75rem}.editor-scroll textarea{font-size:1.0625rem;line-height:1.9}.save-status{font-size:.875rem}@media (width<=480px){.page,.app-header{padding-inline:18px}.app-header .brand{margin:0}.app-header nav,.app-header .small{font-size:.875rem}.page-heading>.primary{padding:12px;font-size:.875rem}.home-heading{align-items:flex-start}.home-at-rest>.text-link{margin:0;display:block}.next-secondary{margin-left:0}.diary-calendar{gap:2px}.diary-calendar button{min-width:0;font-size:.875rem;padding:6px 0!important}.study-card{padding:20px}.settings-list{font-size:.9375rem}.module-nav a{white-space:normal}.detail-actions{gap:8px}.editor-footer{flex-wrap:wrap}.editor-tools{flex:1;min-width:0}.editor-footer>.primary{flex-shrink:0}.brand-mark{width:30px}.app-header nav .primary svg{display:none}}@media (width>=768px){.page{padding-top:40px}.space-categories{grid-template-columns:repeat(3,minmax(0,1fr))}.category-entry{min-height:178px;padding:24px;display:block}.category-icon{margin-bottom:18px}.category-entry>span:last-child{display:none}.module-nav{border-radius:16px 16px 0 0}.home-shortcuts{gap:28px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}html[data-keyboard=true] .module-nav{display:none}.item-detail>.capture-body{padding:24px 0}.item-detail>dl{border-top:1px solid var(--border);border-bottom:1px solid var(--border);color:var(--muted);grid-template-columns:minmax(80px,1fr) minmax(0,2fr);gap:10px 16px;padding:20px 0;display:grid}.item-detail>dl>dd{color:var(--ink);margin:0}.item-detail>.management-actions{margin-top:24px}.item-detail .recommendation-settings{border-top:1px solid var(--border);border-bottom:1px solid var(--border);padding:14px 0}.recommendation-settings label{margin:16px 0;display:block}.revision-content{margin-top:20px}.revision-content dl{grid-template-columns:1fr 2fr;gap:8px;display:grid}.revision-content dd{margin:0}.item-extra{border-top:1px solid var(--border);margin:22px 0;padding-top:12px}.page>details{margin-top:22px}.sop-execution{padding-bottom:calc(28px + env(safe-area-inset-bottom))}.sop-execution>p{color:var(--muted);font-size:.9375rem}.sop-execution .notice p{color:inherit}.sop-execution ol{padding-left:22px}.sop-execution li{margin:24px 0}.sop-execution .detail-actions{flex-wrap:wrap}h1[tabindex="-1"]:focus{outline:none}.page.search-page .search-box>input{background:0 0;border:0;border-radius:0;outline:0;width:100%;margin:0;padding:15px 0}.page.diary-editor .content-title-input>input{background:0 0;border:0;border-bottom:1px solid #c7cfc3;border-radius:0;padding:12px 0;font-size:1.25rem}.page.content-editor .prose-input>textarea{background:0 0;border:0;border-bottom:1px solid #c7cfc3;border-radius:0;padding:16px 0}.page.content-editor .prose-input>textarea:focus-visible{outline-offset:6px;outline:2px solid #8a6741}.page.content-editor .image-picker{min-height:48px;color:var(--green);background:#eaf0e5;align-items:center;padding:10px 18px;display:inline-flex;position:relative}.file-picker-input{clip-path:inset(50%);overflow:hidden;width:1px!important;height:1px!important;min-height:0!important;margin:0!important;padding:0!important;position:absolute!important}.image-picker:focus-visible{outline-offset:3px;outline:3px solid #8a6741}.diary-list .list-filters{vertical-align:top;margin:0 14px 12px 0;display:inline-block}.list-filters>summary{font-size:.875rem}.list-filters[open],.list-filters label{display:block}.diary-editor label:has(>input[type=date]){max-width:240px}.page .content-metadata p{color:var(--muted);font-size:.875rem;line-height:1.8}.search-input-row{z-index:4;background:var(--cream,#f7f4ef);padding:8px 0;position:sticky;top:0}.sop-detail>.primary{margin:16px 12px}.sop-detail>h1{margin-top:12px}.sop-detail>details{margin:18px 0}.sop-detail>h2{margin-top:32px}.page .utility-links a,.page .back-link{align-items:center;min-height:44px;display:inline-flex}.item-detail .management-actions{border-top:1px solid var(--border);margin:28px 0 16px;padding-top:16px}.item-detail .item-state-control{max-width:240px;margin:24px 0;display:block}.item-detail>h2{margin:32px 0 12px}.item-detail>label{display:block}.item-detail>.detail-actions{margin:18px 0 24px}.page>a:not(.record-row):not(.button),.page p>a{align-items:center;min-height:44px;display:inline-flex}.item-detail>article:empty{display:none}
