@import"https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;600;700&display=swap";:root{direction:rtl;color-scheme:light dark}body{margin:0}button{font-size:1em;font-family:inherit;background-color:#1a1a1a}body{font-family:Vazirmatn,sans-serif;margin:0;background:linear-gradient(180deg,#fafafa,#f0f0ff);color:#222;min-height:100dvh;max-height:100dvh;display:flex;flex-direction:column;padding:0 10px;overflow:hidden;overflow-y:auto}:root,#root{background:linear-gradient(180deg,#fafafa,#f0f0ff)}.screen{flex:1;display:flex;flex-direction:column;align-items:center;padding:16px;box-sizing:border-box;overflow:hidden}.center{display:flex;justify-content:center;align-items:center;overflow:hidden;overflow-y:auto}header{text-align:center;margin-bottom:20px}.title{font-size:2.2rem;font-weight:800;margin:0;overflow:hidden}.subtitle{font-size:.9rem;color:#777;margin-top:4px;overflow:hidden}.auth-container{overflow:hidden;width:100vw;overflow-y:auto;display:flex;align-self:center;align-items:center;justify-content:center}.auth{display:flex;flex-direction:column;gap:10px;background:#fff;padding:20px;border-radius:16px;box-shadow:0 10px 25px #0000001a;width:100%;max-width:360px}.auth input,.auth button{padding:10px;border:none;border-radius:8px;font-size:1rem}.auth input{background:#f9f9f9;border:1px solid #ddd}.auth button{background:#2b2b2b;color:#fff;font-weight:700;cursor:pointer;transition:background .3s ease}.auth button:hover{background:#444}.daily-msg{background:#eef3ff;padding:12px 16px;border-radius:12px;margin-bottom:16px;font-weight:500;color:#333;width:100%;text-align:center;animation:fadein 1.2s ease-in-out}@keyframes fadein{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}.tiles{width:100%;max-width:900px;background:#fff;padding:18px;border-radius:16px;box-shadow:0 6px 20px #0000000d;flex:1;display:flex;flex-direction:column;overflow:hidden}.tile-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;flex-wrap:wrap;gap:8px;flex-shrink:0}.modes{display:flex;align-items:center;gap:5px}.modes button{background:none;border:1px solid #ddd;padding:4px 10px;border-radius:8px;cursor:pointer;font-weight:500;color:#2b2b2b}.modes .active{background:#2b2b2b;color:#fff}.tile-grid{display:grid;justify-content:center;gap:4px;border-radius:12px;min-height:400px;background:#fafafa;overflow-y:auto;height:60dvh}.tiles-day{grid-template-columns:repeat(7,minmax(12px,1fr))}.tiles-week{grid-template-columns:repeat(4,minmax(14px,1fr))}.tiles-month{grid-template-columns:repeat(12,minmax(10px,1fr))}.tiles-year{grid-template-columns:repeat(10,minmax(12px,1fr))}.tile{aspect-ratio:1;background:#fff;border-radius:3px;border:1px solid #eee;transition:all .25s ease}.tile-day{border-radius:10px}.tile-week{border-radius:12px}.tile.filled{background:#2b2b2b;border:none}.tile:hover{transform:scale(1.05);border-color:#aaa}.note-popup{position:fixed;bottom:20px;left:50%;transform:translate(-50%);background:#fff;box-shadow:0 6px 16px #00000026;border-radius:12px;padding:16px 16px 16px 32px;width:calc(90% - 32px);max-width:380px;display:flex;flex-direction:column;gap:8px;animation:fadein .4s ease}.note-popup textarea{width:100%;min-height:80px;resize:none;border-radius:8px;padding:8px;border:1px solid #ddd;font-family:inherit;color:#ddd!important;text-align:right}.note-popup button{background:#2b2b2b;color:#fff;padding:8px;border:none;border-radius:8px;cursor:pointer}.note-popup button:hover{background:#444}.auth input,.auth textarea{color:#222}.auth input::placeholder,.note-popup textarea::placeholder{color:#777}.note-popup textarea{color:#222}
