:root{color:#18332e;background:#f4f1ea;font-family:Inter,system-ui,sans-serif}*{box-sizing:border-box}body{margin:0}.login{background:radial-gradient(circle at top,#dceae4,#f4f1ea 55%);place-items:center;min-height:100vh;padding:24px;display:grid}.login section{background:#fff;border-radius:24px;width:min(100%,420px);padding:34px;box-shadow:0 18px 60px #143d3520}.mark{color:#17624f;align-items:center;gap:8px;font-weight:800;display:flex}.login h1{margin:28px 0 8px;font-size:30px}.login p{color:#66756f}.login label{gap:7px;margin:18px 0;font-weight:650;display:grid}.login input{font:inherit;border:1px solid #b9c8c2;border-radius:12px;padding:14px}.login button,.cards button{color:#fff;background:#17624f;border:0;border-radius:12px;width:100%;padding:14px;font-weight:750}.login small{text-align:center;color:#71817b;margin-top:18px;display:block}.error{color:#a12727;margin-bottom:10px}header{color:#fff;background:#153d36;justify-content:space-between;align-items:center;height:64px;padding:0 24px;display:flex}.workspace{grid-template-columns:230px 390px 1fr;height:calc(100vh - 64px);display:grid}aside,.list,.reader{border-right:1px solid #d7ddd8;padding:22px;overflow:auto}aside{background:#e9eee9}.list{padding:0}.list h1{margin:0;padding:20px}.list article{cursor:pointer;background:#fff;grid-template-columns:42px 1fr 36px;gap:10px;padding:16px;display:grid}.list article b,.list article p{margin:4px 0;display:block}.list article p,.list article small{color:#65736e}.list article button{background:0 0;border:0}.avatar{background:#d7e7df;border-radius:50%;place-items:center;width:40px;height:40px;display:grid}.reader{background:#fff;padding:34px}.reader p{line-height:1.65}.cards{gap:10px;margin-top:40px;display:flex}.cards button{width:auto}.empty{color:#82908b;place-items:center;height:100%;display:grid}nav,.back{display:none}.offline{color:#fff;background:#8b3d25;justify-content:center;align-items:center;gap:8px;padding:9px 16px;font-weight:700;display:flex}.mail-wrap{border-top:1px solid #e1e4df}.row-actions{background:#eef3ef;gap:8px;padding:8px 14px 14px 64px;display:flex}.row-actions button,.toggle button{color:#fff;background:#17624f;border:0;border-radius:10px;padding:10px 13px;font-weight:700}.search{background:#fff;border:1px solid #d7ddd8;border-radius:12px;align-items:center;gap:8px;margin:0 16px 14px;padding:10px;display:flex}.search input{width:100%;font:inherit;border:0;outline:0}.page{background:#f8f7f2;padding:24px;overflow:auto}.page h1{margin-top:0}.manage-card{color:#18332e;text-align:left;background:#fff;border:1px solid #d7ddd8;border-radius:14px;justify-content:space-between;align-items:center;gap:10px;width:100%;margin:9px 0;padding:15px;display:flex}.toggle{gap:8px;margin-bottom:20px;display:flex}.editor{align-content:start;gap:14px;display:grid}.editor-head{justify-content:space-between;align-items:center;display:flex}.editor-head h1{margin:0}.editor label{gap:6px;font-weight:700;display:grid}.editor input,.editor select,.editor textarea{font:inherit;border:1px solid #b9c8c2;border-radius:10px;padding:12px}.editor textarea{min-height:280px}.page pre{white-space:pre-wrap;color:#dff4ea;background:#18332e;border-radius:12px;padding:14px;font-size:12px}.active{font-weight:800;color:#0b7a5c!important}@media (width>=761px){.page{grid-column:2/4}.mail-wrap article{display:grid}}@media (width<=760px){header{height:56px}.workspace{height:calc(100vh - 128px);display:block}aside{display:none}.list,.page{height:100%}.reader{z-index:2;position:fixed;inset:56px 0 72px;overflow:auto}.reader:has(.empty){display:none}.back{background:0 0;border:0;padding:0 0 20px;display:flex}.cards{overflow:auto}.cards button{min-width:130px}.list h1{font-size:23px}.list article{padding:14px}.list article p{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}nav{height:72px;padding-bottom:env(safe-area-inset-bottom);background:#fff;border-top:1px solid #ccd5cf;justify-content:space-around;display:flex;position:fixed;bottom:0;left:0;right:0}nav button{color:#31564d;background:0 0;border:0;place-items:center;gap:2px;font-size:11px;display:grid}nav svg{width:22px}.offline{font-size:12px}.editor textarea{min-height:35vh}.row-actions{overflow:auto}.row-actions button{min-width:100px}}
