.membo-entry{width:36px;height:36px;flex:none;padding:7px;border:1px solid var(--line);border-radius:5px;background:var(--panel);color:var(--text);cursor:pointer}.membo-entry:hover{background:var(--bg);border-color:#536c49}.membo-entry svg,.membo-icon svg{display:block;width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.membo-dialog{box-sizing:border-box;width:min(860px,calc(100vw - 32px));max-width:none;max-height:90dvh;padding:0;border:1px solid var(--line);border-radius:12px;background:var(--panel);color:var(--text);box-shadow:0 24px 90px #172d2c24;overflow:auto}.membo-dialog::backdrop{background:#1c302550;backdrop-filter:blur(5px)}.membo-dialog .membo-header{display:flex;align-items:center;justify-content:space-between;padding:20px 24px;margin:0;min-height:0;height:auto;border-bottom:1px solid var(--line);background:transparent}.membo-header h2{font:500 24px var(--serif);margin:0;letter-spacing:.02em}.membo-header h2 small{font:14px sans-serif;color:var(--muted);margin-left:12px;letter-spacing:.1em}.membo-icon{display:inline-grid;place-items:center;width:32px;height:32px;flex:none;padding:7px;border:0;background:transparent;color:var(--muted);border-radius:4px;cursor:pointer}.membo-icon:hover{background:var(--bg);color:var(--text)}.membo-icon:disabled{opacity:.3;cursor:default}.membo-layout{display:grid;grid-template-columns:270px minmax(0,1fr);min-height:450px}.membo-calendar{padding:26px 20px;background:color-mix(in srgb,var(--bg) 55%,var(--panel));border-right:1px solid var(--line)}.membo-month{display:flex;align-items:center;justify-content:space-between;gap:4px;margin-bottom:20px}.membo-month strong{font-size:16px;font-weight:500;white-space:nowrap}.membo-week,.membo-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;text-align:center}.membo-week{font-size:13px;color:var(--muted);margin-bottom:10px}.membo-days button,.membo-days>span{height:32px;min-width:0}.membo-days button{position:relative;padding:0 0 2px;border:1px solid transparent;border-radius:5px;background:transparent;color:var(--text);font:14px Georgia,serif;cursor:pointer}.membo-days button:hover{border-color:var(--line)}.membo-days [aria-current=date]{border-color:#8a9f7f}.membo-days [aria-pressed=true]{background:#536c49;color:#fffef4;border-color:#536c49}.membo-days .has-note::after{content:'';position:absolute;bottom:3px;left:calc(50% - 1.5px);width:3px;height:3px;background:currentColor;border-radius:50%}.membo-today{display:block;margin:22px auto 0;padding:6px 14px;border:1px solid var(--line);border-radius:4px;background:transparent;color:var(--text);font-size:14px;cursor:pointer}.membo-legend{margin:18px 0 0;text-align:center;font-size:12px;color:var(--muted)}.membo-paper{display:flex;flex-direction:column;min-width:0;padding:28px 30px 20px}.membo-date{font:14px Georgia,serif;letter-spacing:.08em;color:var(--muted);margin-bottom:20px}.membo-title,.membo-body{box-sizing:border-box;width:100%;border:0;border-radius:0;outline:none;background:transparent;color:var(--text);font-family:inherit}.membo-title{padding:0 0 14px;border-bottom:1px solid var(--line);font:500 24px/1.5 var(--serif)}.membo-body{flex:1;min-height:270px;padding:18px 0 8px;resize:vertical;font-size:16px;line-height:1.95}.membo-title::placeholder,.membo-body::placeholder{color:var(--muted);opacity:.65}.membo-title:focus{border-bottom-color:#536c49}.membo-dialog .membo-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;background:transparent;padding:14px 0 0;border-top:1px solid var(--line);font-size:12px;color:var(--muted)}.membo-error{color:var(--up,#bd4c40)}.membo-retry{border:0;background:transparent;color:var(--text);text-decoration:underline;cursor:pointer}.membo-entry:focus-visible,.membo-icon:focus-visible,.membo-days button:focus-visible,.membo-today:focus-visible{outline:2px solid #8a9f7f;outline-offset:3px}.membo-body:focus-visible{outline:1px solid var(--line);outline-offset:5px}.membo-retry[hidden]{display:none}@media(max-width:650px){.membo-layout{grid-template-columns:1fr}.membo-calendar{border-right:0;border-bottom:1px solid var(--line);padding:16px 22px}.membo-month{margin-bottom:10px}.membo-days button,.membo-days>span{height:30px}.membo-today{margin-top:12px}.membo-legend{display:none}.membo-paper{padding:22px}.membo-body{min-height:220px}.membo-header h2 small{margin-left:8px}.membo-dialog{max-height:92dvh}}
