:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;color:#16243b;background:#f5f7fb;font-size:16px}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:default}a{color:#087b8e}svg{flex:none}#app{min-height:100dvh}.boot{padding:4rem;text-align:center;font-size:2rem;color:#11243b}.shell{display:flex;min-height:100dvh}.sidebar{background:#11243b;color:#fff;width:238px;flex:none;padding:24px 14px;display:flex;flex-direction:column;gap:18px}.brand{display:flex;align-items:center;gap:12px;font-size:1.5rem;font-weight:750;letter-spacing:-.7px;padding:8px 12px}.brand svg{width:39px;height:32px}.side-nav{display:grid;gap:5px}.nav-btn{border:0;background:transparent;color:#c7d5e5;border-radius:11px;display:flex;align-items:center;gap:13px;padding:12px;font-size:.94rem;text-align:left}.nav-btn.active,.nav-btn:hover{background:#0d746f;color:white}.nav-btn svg{width:20px;height:20px}.side-foot{margin-top:auto;font-size:.75rem;color:#9badc1;padding:10px 12px}.main{min-width:0;flex:1;max-width:1300px;padding:30px clamp(20px,3vw,46px) 90px;margin:0 auto;width:100%}.top{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:24px}.top h1{font-size:1.8rem;letter-spacing:-.7px;margin:0}.top small{color:#708195}.actions{display:flex;gap:9px}.primary,.secondary,.ghost,.danger{border:0;border-radius:11px;padding:11px 17px;font-weight:650;min-height:44px}.primary{background:#08aa9c;color:white}.primary:hover{background:#078e83}.secondary{background:#e9f2f5;color:#0a6770}.ghost{background:#fff;color:#26364c;border:1px solid #dfe6ee}.danger{background:#fff0f1;color:#ad3141}.icon-button{width:40px;height:40px;border:0;background:transparent;color:inherit;display:grid;place-items:center;border-radius:9px}.icon-button:hover{background:#e9eef4}.tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:28px}.tile{background:#fff;border:1px solid #e1e8f0;border-radius:15px;min-height:90px;padding:15px;text-align:left;display:flex;flex-direction:column;align-items:flex-start;gap:9px;color:#182841;font-weight:700;box-shadow:0 2px 6px #1a2b4610}.tile:hover{border-color:#0fafa2}.tile .ico{background:#e6f8f4;color:#078e83;padding:8px;border-radius:10px;display:grid;place-items:center}.tile:nth-child(2) .ico{background:#e8f2ff;color:#387bb9}.tile:nth-child(3) .ico{background:#f0eafe;color:#7460ca}.tile:nth-child(4) .ico{background:#fff5e6;color:#9a7423}.tile span:last-child{font-size:.87rem}.section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:10px 0 12px}.section-head h2{font-size:1.18rem;letter-spacing:-.25px;margin:0}.muted{color:#718095}.list{background:#fff;border:1px solid #e0e7ef;border-radius:15px;overflow:hidden}.item{padding:14px 15px;display:flex;align-items:flex-start;gap:12px;border-bottom:1px solid #e9edf3}.item:last-child{border:0}.item-icon{width:35px;height:35px;border-radius:10px;background:#eef4fa;color:#2580a6;display:grid;place-items:center}.item-icon.task{background:#e7f8f2;color:#078f83}.item-icon.link{background:#f1ecff;color:#7056c4}.item-icon.note{background:#fff6e5;color:#a67b16}.item-info{flex:1;min-width:0}.item-title{font-weight:700;word-break:break-word}.item-sub{font-size:.84rem;color:#6f7d90;margin-top:3px;word-break:break-word;white-space:pre-wrap}.item.done .item-title{text-decoration:line-through;color:#8693a3}.check{appearance:none;width:22px;height:22px;border:2px solid #78879a;border-radius:6px;margin:6px 5px 0;flex:none;cursor:pointer}.check:checked{background:#08aa9c;border-color:#08aa9c}.check:checked:after{content:'✓';color:white;font-weight:bold;display:block;text-align:center;line-height:18px}.item-buttons{display:flex;align-items:center;gap:3px}.empty{padding:40px 20px;text-align:center;color:#748499}.mobile-head,.bottom-nav{display:none}.modal-backdrop{position:fixed;inset:0;background:#0b1a2ba8;z-index:20;display:flex;align-items:center;justify-content:center;padding:18px}.modal{background:#fff;border-radius:18px;width:min(100%,520px);max-height:min(92dvh,800px);overflow:auto;padding:23px;box-shadow:0 20px 70px #08172950}.modal header{display:flex;align-items:center;justify-content:space-between;margin-bottom:17px}.modal h2{margin:0;font-size:1.3rem}.field{display:grid;gap:7px;margin:0 0 15px}.field label{font-size:.88rem;font-weight:650}.field input,.field textarea{border:1px solid #cfdae5;border-radius:10px;padding:12px;background:white;color:#142239;outline:none;width:100%}.field input:focus,.field textarea:focus{border-color:#0ba99a;box-shadow:0 0 0 3px #0ba99a22}.field textarea{resize:vertical;min-height:110px}.modal-buttons{display:flex;justify-content:flex-end;gap:9px;flex-wrap:wrap}.kind-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.kind-grid button{background:#f3f7fb;border:1px solid #e0e8f0;border-radius:12px;padding:22px 10px;font-weight:700;display:grid;place-items:center;gap:12px}.kind-grid button svg{color:#098d88}.auth{min-height:100dvh;background:#11243b;display:grid;place-items:center;padding:20px}.auth-card{background:white;padding:28px;border-radius:20px;width:min(400px,100%)}.auth-card .brand{color:#11243b;margin-bottom:10px}.auth-card h2{margin:0 0 6px}.auth-card p{color:#69798a;font-size:.91rem;margin-bottom:22px}.toast{position:fixed;bottom:25px;right:24px;background:#142c40;color:white;border-radius:12px;padding:13px 18px;z-index:40;box-shadow:0 12px 35px #0d203750}.editor-tools{display:flex;gap:5px;flex-wrap:wrap;margin:-5px 0 10px}.editor-tools button{border:1px solid #dae4ec;background:#f7f9fb;border-radius:7px;padding:6px 9px}.preview{padding:12px;border:1px solid #e0e6ed;border-radius:10px;min-height:100px;overflow-wrap:anywhere}.preview h1,.preview h2{font-size:1.2rem}.preview p{margin:7px 0}.preview ul{padding-left:21px}.preview code{background:#edf1f4;border-radius:4px;padding:2px}.dropzone{padding:25px;border:2px dashed #b8d4d6;border-radius:13px;text-align:center;background:#f5fafb}.dropzone.drag{border-color:#06a99b;background:#e0f7f2}.dropzone input{max-width:100%}.file-meta{font-size:.8rem;color:#77869a}.mobile-add{display:none}.compact .sidebar{display:none}.compact .mobile-head,.compact .bottom-nav{display:flex}.compact .main{padding:0 16px 100px}.compact .top{display:none}.compact .mobile-head{background:#11243b;color:white;margin:0 -16px 18px;padding:16px;display:flex;flex-direction:column;gap:14px}.compact .mobile-head .brand{padding:0}.compact .mobile-head .primary{width:100%}.compact .tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-bottom:22px}.compact .tile{min-height:78px;padding:13px;flex-direction:row;align-items:center}.compact .tile span:last-child{font-size:.83rem}.compact .bottom-nav{position:fixed;bottom:0;left:0;right:0;background:white;border-top:1px solid #e5eaf0;z-index:10;justify-content:space-around;padding:8px 6px max(8px,env(safe-area-inset-bottom))}.bottom-nav button{border:0;background:none;color:#657487;display:grid;justify-items:center;gap:4px;font-size:.7rem;min-width:55px}.bottom-nav button.active{color:#068d83;font-weight:750}.bottom-nav svg{width:21px;height:21px}@media(max-width:900px){.sidebar{display:none}.mobile-head,.bottom-nav{display:flex}.main{padding:0 16px 90px}.top{display:none}.mobile-head{background:#11243b;color:white;margin:0 -16px 18px;padding:16px;flex-direction:column;gap:14px}.mobile-head .brand{padding:0}.mobile-head .primary{width:100%}.tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-bottom:22px}.tile{min-height:78px;padding:13px;flex-direction:row;align-items:center}.tile span:last-child{font-size:.83rem}.bottom-nav{position:fixed;bottom:0;left:0;right:0;background:white;border-top:1px solid #e5eaf0;z-index:10;justify-content:space-around;padding:8px 6px max(8px,env(safe-area-inset-bottom))}.item{padding:12px 10px;gap:8px}.item-icon{width:30px;height:30px}.item-buttons{gap:0}}@media(max-width:370px){.tile{padding:9px}.tile .ico{padding:5px}.bottom-nav button{min-width:42px;font-size:.64rem}.modal{padding:17px}}
