:root{font-family:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif;color:#24332d;background:#f8f7f3;font-synthesis:none}*{box-sizing:border-box}body{margin:0}.shell{max-width:740px;margin:0 auto;padding:env(safe-area-inset-top) 18px calc(32px + env(safe-area-inset-bottom))}.topbar{height:64px;display:flex;align-items:center;justify-content:space-between}.topbar h1{font-size:19px;margin:0;font-weight:750;letter-spacing:.04em}button,input,textarea{font:inherit}button{cursor:pointer;touch-action:manipulation}button:disabled{opacity:.45;cursor:default}.text-button,.back-button{border:0;background:transparent;color:#325c49;font-weight:700;min-height:44px;padding:0 12px}.back-button{margin:2px 0 18px;padding-left:0}#memo-input{display:block;width:100%;height:min(35vh,310px);min-height:220px;resize:vertical;border:1.5px solid #d4dbd3;background:#fffefa;border-radius:18px;padding:20px;font-size:18px;line-height:1.65;color:#26342d;outline:none;box-shadow:0 3px 15px #203b2a09}#memo-input:focus,#search-input:focus{border-color:#4c8065;box-shadow:0 0 0 3px #4c80652a}#memo-input::placeholder{color:#8e9a90}.status-line{display:flex;justify-content:space-between;gap:10px;min-height:40px;align-items:center;padding:5px 3px;color:#66756b;font-size:13px}.primary-actions{display:flex;gap:10px;margin:8px 0 30px}.primary-button,.secondary-button,.danger-button,.file-label{border-radius:13px;min-height:50px;border:1.5px solid #cbd5cb;padding:10px 18px;font-weight:700;font-size:16px;display:inline-flex;align-items:center;justify-content:center}.primary-button{flex:1;background:#2e6048;color:white;border-color:#2e6048}.secondary-button,.file-label{background:white;color:#315d47}.danger-button{background:#a33232;color:white;border-color:#a33232}.wide{width:100%}.list-section{border-top:1px solid #e3e6de;padding-top:17px}.section-title{display:flex;align-items:baseline;justify-content:space-between;gap:8px}.section-title h2,.section-title h3{margin:0 0 14px;font-size:19px}.section-title span{color:#758178;font-size:13px}#search-input{width:100%;height:49px;border:1.5px solid #d4dbd3;background:white;border-radius:12px;padding:0 16px;font-size:16px;outline:none}.item-list{margin-top:12px}.note-card,.trash-card{border:1px solid #e4e7e0;background:#fffefa;border-radius:14px;margin-bottom:9px;padding:14px 15px}.note-card{width:100%;text-align:left;display:block;min-height:76px;color:inherit}.note-card.active{border-color:#9dbba8}.card-text{display:block;white-space:pre-wrap;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:15px;line-height:1.5}.card-date{display:block;margin-top:7px;color:#7c887e;font-size:12px}.empty-state{color:#79857b;text-align:center;padding:20px 0;line-height:1.6}#settings-view h2{font-size:24px;margin:0 0 24px}.settings-section{border-top:1px solid #e1e5dd;padding:22px 0}.settings-section h3{font-size:18px;margin:0 0 10px}.settings-section p{line-height:1.6;margin:0 0 15px}.hint{font-size:13px;color:#718078}.file-label{width:100%;margin:8px 0 0}#import-file{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden}.file-label:focus-within{outline:3px solid #4c8065}.import-preview{background:#fffefa;border:1px solid #d4dbd3;border-radius:13px;margin-top:16px;padding:16px;line-height:1.6}.import-preview h4{margin:0 0 8px}.import-preview p{margin:0 0 10px}.preview-actions,.trash-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.trash-actions button,.preview-actions button{min-height:44px}.trash-card .card-text{max-height:65px}.trash-actions .secondary-button,.trash-actions .danger-button{font-size:14px;padding:7px 12px}dialog{border:0;border-radius:18px;max-width:min(430px,calc(100% - 32px));padding:24px;background:#fffefa;color:#24332d;box-shadow:0 18px 60px #0003}dialog::backdrop{background:#1119}dialog h2{margin:0 0 12px;font-size:20px}dialog p{white-space:pre-wrap;line-height:1.6}.dialog-actions{display:flex;gap:8px;margin-top:20px}.dialog-actions button{flex:1;font-size:14px;padding:8px}#toast{position:fixed;left:16px;right:16px;bottom:calc(18px + env(safe-area-inset-bottom));max-width:500px;margin:auto;background:#243b35;color:white;border-radius:12px;padding:13px 16px;text-align:center;box-shadow:0 5px 20px #0003}.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:700px){.shell{padding-left:28px;padding-right:28px}#memo-input{height:320px}}
