:root{--bg:#101419;--panel:#171d22;--panel2:#1b2228;--line:#293137;--line2:#343b3c;--text:#f5f2eb;--muted:#97a2a4;--soft:#c1c4bd;--gold:#e3b981;--gold2:#b68b54;--goldbg:#3b3027;--green:#a2c7ad;--red:#e8a09c;--blue:#9aafc5;--radius:19px}
*{box-sizing:border-box}html{min-height:100%;scroll-behavior:smooth}body{margin:0;min-height:100vh;background:var(--bg);color:var(--text);font-family:Vazirmatn,IRANSans,Tahoma,'Segoe UI',sans-serif;font-size:14px;overflow-x:hidden}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.6;cursor:not-allowed}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--gold);outline-offset:3px}a{color:var(--gold)}[hidden]{display:none!important}.ambient{position:fixed;pointer-events:none;z-index:-1;border-radius:50%;filter:blur(80px);opacity:.14}.ambient-a{width:600px;height:600px;right:22%;top:-430px;background:#a16b36}.ambient-b{width:450px;height:450px;left:-270px;top:36%;background:#38665e}
.app-shell{display:flex;min-height:100vh}.sidebar{width:263px;min-width:263px;position:sticky;top:0;height:100vh;background:#151b20e8;border-left:1px solid #2d3337;display:flex;flex-direction:column;padding:34px 20px 20px;z-index:8}.brand{display:flex;align-items:center;gap:12px;direction:ltr;justify-content:flex-end;margin:0 8px 57px;line-height:1}.brand-mark{width:47px;height:47px;border-radius:15px;background:linear-gradient(145deg,#e3b981,#9c703e);color:#232323;display:flex;align-items:center;justify-content:center;font-size:29px;box-shadow:0 7px 23px #d49d5025}.brand strong{font-family:system-ui,sans-serif;display:block;letter-spacing:3.2px;font-size:22px;font-weight:650}.brand-dot{color:var(--gold)}.brand small{font-family:system-ui,sans-serif;color:#8d9a9b;font-size:8px;letter-spacing:2.2px;display:block;margin-top:8px}.side-label{font-size:10px;color:#68777e;letter-spacing:.4px;margin:0 15px 14px}.nav{display:grid;gap:6px}.nav-item{border:none;background:transparent;color:#9ea8aa;border-radius:12px;display:flex;align-items:center;text-align:right;gap:15px;width:100%;padding:13px 14px;min-height:48px;font-size:13px;font-weight:600;transition:.2s}.nav-item:hover,.nav-item.active{background:#3d392e;color:var(--gold)}.nav-item.active{box-shadow:inset -3px 0 #deb57d}.nav-ico{font-size:22px;width:23px;line-height:1;text-align:center;font-family:system-ui,sans-serif;font-weight:400}.nav-count{margin-right:auto;background:#2a3338;color:#aab2b1;border-radius:7px;font-size:11px;padding:3px 8px;font-weight:400}.sidebar-bottom{margin-top:auto}.sidebar-quote{border:1px solid #3b342e;background:linear-gradient(135deg,#282722,#202323);border-radius:15px;line-height:2;color:#b9af9b;padding:17px 19px;margin-bottom:25px;font-size:12px}.sidebar-quote span{font-size:36px;color:var(--gold);height:23px;display:block;font-family:Georgia}.settings-item{margin-bottom:15px}.account{border-top:1px solid var(--line);padding:20px 5px 2px;display:flex;gap:11px;align-items:center}.account-avatar,.top-avatar{background:#745b3d;border:1px solid #aa8e5e;color:#fbebd0;border-radius:50%;width:37px;height:37px;display:grid;place-items:center;font-size:16px}.account-text{display:grid;gap:5px}.account-text b{font-size:13px}.account-text small{color:#879397;font-size:10px}.online-dot{width:7px;height:7px;border-radius:50%;background:#8eb99d;margin-right:auto;box-shadow:0 0 0 4px #8eb99d17}.workarea{width:calc(100% - 263px);min-width:0;display:flex;flex-direction:column;min-height:100vh}.topbar{height:100px;padding:0 52px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #242b30;flex-shrink:0}.top-right{display:grid;gap:11px}.top-eyebrow{font-family:system-ui,sans-serif;letter-spacing:2px;font-size:9px;color:#697982}.top-eyebrow .star{color:var(--gold)}#top-page{font-weight:600;font-size:12px;color:#e0e3dd}.top-actions{display:flex;align-items:center;gap:16px}.date-chip{border:1px solid #30383b;border-radius:50px;padding:10px 16px;color:#b6c0bc;font-size:11px}.top-icon{border:1px solid #2e373b;background:transparent;border-radius:50%;width:36px;height:36px;color:#aab5b7;font-size:19px}.top-icon:hover{color:var(--gold);border-color:var(--gold)}.top-avatar{width:35px;height:35px}.main{width:100%;max-width:1450px;margin:0 auto;padding:41px 52px 50px;flex:1}.footer{padding:16px 52px 24px;font-size:10px;color:#5f6f74;letter-spacing:.1px;display:flex;gap:10px;align-items:center}.footer span{color:var(--gold)}
.page-header{display:flex;align-items:end;justify-content:space-between;gap:15px;margin-bottom:30px}.eyebrow{display:block;color:var(--gold);font-family:system-ui,sans-serif;font-size:11px;letter-spacing:2px;margin-bottom:11px}.page-header h1{font-size:31px;letter-spacing:-.7px;margin:0 0 10px;line-height:1.45;font-weight:750}.subhead{margin:0;color:#9ca9a9;line-height:1.9;font-size:12px}.page-header-actions{display:flex;gap:10px;align-items:center}.btn{border-radius:11px;padding:11px 18px;min-height:41px;border:1px solid var(--line2);background:#242b2f;color:#d8dfdc;display:inline-flex;align-items:center;justify-content:center;gap:9px;font-size:12px;font-weight:650;transition:.2s;white-space:nowrap}.btn:hover{background:#333b3c}.btn-primary{background:var(--gold);border-color:var(--gold);color:#25231e}.btn-primary:hover{background:#f1c994}.btn-quiet{background:transparent;border-color:#353d3e}.btn-danger{color:#edaba6;border-color:#6c3e3c;background:#342525}.btn-xs{padding:7px 11px;min-height:31px;font-size:11px}.circle-btn{width:32px;height:32px;min-width:32px;border-radius:10px;border:1px solid #353e42;background:#22292d;color:#a5afb0;font-size:17px}.circle-btn:hover{border-color:var(--gold);color:var(--gold)}
.hero{min-height:248px;border-radius:22px;overflow:hidden;position:relative;background:radial-gradient(circle at 17% 50%,#7b61465c,transparent 39%),linear-gradient(115deg,#2c2c27,#1f272b 53%,#28302e);border:1px solid #4b453a;display:flex;align-items:center;justify-content:space-between;padding:36px 45px;margin-bottom:23px;gap:25px}.hero:before{content:'';position:absolute;inset:-35%;background:repeating-radial-gradient(circle at 25% 50%,transparent 0,transparent 31px,#b69a6730 32px,transparent 33px);opacity:.6;pointer-events:none}.hero-copy{z-index:1;max-width:560px}.hero .topline{color:#c7af87;font-size:10px;letter-spacing:1px;margin-bottom:17px}.hero h2{font-size:25px;font-weight:700;line-height:1.9;margin:0 0 9px}.hero h2 em{font-style:normal;color:#f2c58f}.hero p{line-height:2.05;color:#b6bcb7;font-size:12px;margin:0 0 22px}.hero-orb{position:relative;width:194px;height:194px;flex-shrink:0;border:1px solid #d9ad7f60;border-radius:50%;display:grid;place-items:center;background:radial-gradient(circle,#caa57424 1%,transparent 65%);box-shadow:0 0 0 20px #c5a77f0a,0 0 0 42px #c5a77f0a,0 0 0 64px #c5a77f05}.hero-orb:before{content:'✳';font-size:92px;color:#d9b483;text-shadow:0 0 55px #d9b48375;animation:float 7s infinite ease-in-out}.hero-orb:after{content:'✦';color:#c6a579;position:absolute;top:16px;right:19px;font-size:22px}@keyframes float{50%{transform:translateY(-10px) rotate(12deg)}}
.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-bottom:22px}.stat{background:var(--panel);border:1px solid var(--line);border-radius:17px;padding:19px 21px;display:flex;justify-content:space-between;align-items:center;min-height:114px}.stat-icon{width:38px;height:38px;display:grid;place-items:center;background:#3b332d;color:#e6c18b;border-radius:12px;font-size:21px}.stat:nth-child(2) .stat-icon{background:#263a36;color:#a7d2b7}.stat:nth-child(3) .stat-icon{background:#2a3440;color:#9fb8d1}.stat small{display:block;color:#92a0a1;margin-bottom:8px;font-size:11px}.stat strong{font-size:27px;font-family:system-ui,sans-serif;font-weight:600}.home-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(260px,1fr);gap:20px}.panel{background:var(--panel);border:1px solid var(--line);border-radius:19px;padding:23px;min-width:0}.panel-head{display:flex;justify-content:space-between;align-items:center;gap:9px;margin-bottom:19px}.panel-head h3{margin:0;font-size:15px}.text-button{background:transparent;border:none;color:var(--gold);font-size:11px;padding:5px 0}.panel-sub{font-size:11px;color:#859598}.task-stack{display:grid;gap:9px}.task-row{background:#1e252a;border:1px solid #2e383d;border-radius:13px;padding:13px 15px;display:flex;align-items:center;gap:12px;min-height:66px}.task-check{appearance:none;width:20px;height:20px;border:1.6px solid #6d797a;border-radius:7px;flex-shrink:0;cursor:pointer;display:grid;place-items:center;margin:0}.task-check:checked{background:var(--green);border-color:var(--green)}.task-check:checked:after{content:'✓';font-family:system-ui;font-size:15px;color:#21362a}.task-copy{flex:1;min-width:0}.task-copy .task-title{border:0;background:transparent;color:#e8eeea;font-weight:650;font-size:12px;text-align:right;padding:0;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.task-copy .task-title:hover{color:var(--gold)}.task-row.done .task-copy .task-title{text-decoration:line-through;color:#7e8c90}.task-meta{display:flex;flex-wrap:wrap;gap:8px;color:#8b999c;font-size:10px;margin-top:8px}.task-meta span{display:inline-flex;align-items:center;gap:3px}.task-meta .late{color:var(--red)}.priority-dot{width:7px;height:7px;border-radius:50%;background:var(--gold);display:inline-block}.priority-dot.high{background:#ee9991}.priority-dot.low{background:#a3c7ad}.row-tools{display:flex;gap:6px;align-items:center}.mini-empty{color:#89999b;line-height:2;text-align:center;padding:30px 10px;background:#1b2226;border:1px dashed #394443;border-radius:14px}.mini-empty .symbol{font-size:27px;display:block;color:#c3a47b;margin-bottom:5px}.focus-card{padding:19px;border-radius:15px;border:1px solid #4b4439;background:linear-gradient(140deg,#333229,#252924);min-height:168px;display:flex;flex-direction:column;justify-content:space-between}.focus-card small{color:#b9aa89}.focus-card strong{font-size:20px;font-weight:650;line-height:1.8}.focus-card p{font-size:11px;color:#c2bdb0;line-height:1.8;margin:0}.quick-links{display:grid;gap:10px;margin-top:14px}.quick-link{background:#20282c;border:1px solid #303a3e;border-radius:12px;color:#d9e1df;padding:13px 15px;display:flex;align-items:center;justify-content:space-between;text-align:right;font-size:12px}.quick-link:hover{border-color:#a78c65}.quick-link span{font-size:19px;color:#d2ad7d}.section-space{margin-top:30px}
.toolbar{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between;margin-bottom:18px}.filter-chips{display:flex;gap:7px;flex-wrap:wrap}.chip{background:#1e252b;color:#9eacad;border:1px solid #30393e;padding:9px 15px;border-radius:9px;font-size:11px}.chip.active{background:#3d362c;border-color:#7a6249;color:#f0c994}.filter-select{background:#1f262b;border:1px solid #364045;border-radius:10px;color:#bfcac7;padding:10px;min-width:155px;font-size:11px;max-width:100%}.task-list{display:grid;gap:9px}.task-list .task-row{min-height:77px}.overdue-mark{color:#e8a09c}.project-grid,.note-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.project-card,.note-card{padding:23px;border-radius:18px;background:var(--panel);border:1px solid var(--line);min-height:185px;display:flex;flex-direction:column;gap:12px}.project-card:hover,.note-card:hover{border-color:#5e5948}.card-top{display:flex;justify-content:space-between;gap:7px;align-items:center}.project-icon{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:#353128;font-size:22px;color:var(--gold)}.project-card h3,.note-card h3{font-size:15px;margin:0;line-height:1.6;overflow-wrap:anywhere}.project-card p,.note-card p{color:#98a7a7;font-size:11px;line-height:2;white-space:pre-wrap;overflow-wrap:anywhere;margin:0}.project-bottom{margin-top:auto;padding-top:7px}.progress-track{height:6px;background:#31393b;border-radius:9px;overflow:hidden;margin-top:12px}.progress-bar{background:linear-gradient(90deg,#a28158,#e0ba88);height:100%;border-radius:9px}.project-stats{display:flex;justify-content:space-between;color:#aab7b4;font-size:11px}.note-date{color:#8c9b9f;font-size:10px}.note-card .note-preview{overflow:hidden;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical}.empty-list{padding:65px 24px;text-align:center;background:#171d22;border:1px dashed #374146;border-radius:18px;color:#929fa1}.empty-list .symbol{display:block;font-size:38px;color:var(--gold);margin-bottom:13px}.empty-list strong{display:block;font-size:15px;color:#d8dfdb;margin-bottom:8px}.empty-list p{line-height:1.9;font-size:12px;margin-bottom:17px}
.chat-shell{background:var(--panel);border:1px solid var(--line);border-radius:20px;display:flex;flex-direction:column;overflow:hidden;height:min(680px,calc(100vh - 238px));min-height:430px}.chat-header{height:78px;display:flex;align-items:center;gap:12px;padding:15px 22px;border-bottom:1px solid #2d373b}.assistant-avatar{width:41px;height:41px;border:1px solid #95764f;background:#3e3227;border-radius:15px;display:grid;place-items:center;color:var(--gold);font-size:26px}.chat-header strong{display:block;font-size:14px;margin-bottom:5px}.chat-header small{color:#a0b0b0;font-size:10px}.chat-header button{margin-right:auto}.chat-messages{overflow-y:auto;flex:1;display:flex;flex-direction:column;gap:16px;padding:24px}.bubble-wrap{display:flex;align-items:flex-end;gap:10px;max-width:86%}.bubble-wrap.user{align-self:flex-start;flex-direction:row-reverse}.bubble-wrap.assistant{align-self:flex-end}.bubble-avatar{width:29px;height:29px;border-radius:11px;background:#3e3329;border:1px solid #745b44;display:grid;place-items:center;color:var(--gold);flex-shrink:0}.bubble-wrap.user .bubble-avatar{background:#394239;color:#c1ddc5;border-color:#526851}.bubble{border-radius:15px 15px 4px 15px;padding:13px 16px;background:#28312f;color:#e8eae4;line-height:2.1;font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere}.bubble-wrap.user .bubble{background:#493b2e;border-radius:15px 15px 15px 4px}.chat-welcome{text-align:center;margin:auto;max-width:430px;padding:30px 15px}.chat-welcome .star-icon{display:block;font-size:60px;color:var(--gold);text-shadow:0 0 45px #f9c68140;margin-bottom:13px}.chat-welcome h3{margin:0 0 11px;font-size:22px}.chat-welcome p{color:#9faeb0;font-size:12px;line-height:2}.suggestions{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-top:22px}.suggestion{font-size:11px;background:#252e32;border:1px solid #3b4747;color:#c9d4d1;border-radius:22px;padding:9px 13px}.suggestion:hover{border-color:var(--gold);color:var(--gold)}.chat-compose{display:flex;gap:11px;padding:18px 21px;border-top:1px solid #303a3c}.chat-compose textarea{resize:none;flex:1;min-width:0;background:#20282c;border:1px solid #374146;border-radius:13px;padding:13px 15px;color:#f5f1e8;min-height:49px;max-height:115px;outline:none}.chat-compose textarea:focus{border-color:var(--gold)}.send-btn{background:var(--gold);color:#241f17;border:0;border-radius:13px;width:51px;flex-shrink:0;font-size:22px}.send-btn:hover{background:#f1cc9a}.busy-dots{font-size:12px;color:#97a6a5;padding-right:39px}
.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.setting-item{display:flex;align-items:flex-start;gap:13px;margin-bottom:19px}.setting-icon{width:39px;height:39px;display:grid;place-items:center;color:var(--gold);background:#363025;border-radius:11px;font-size:18px;flex-shrink:0}.setting-item h3{margin:2px 0 8px;font-size:13px}.setting-item p{color:#9caaaa;line-height:2;margin:0;font-size:11px}.status-pill{display:inline-flex;gap:6px;align-items:center;color:#b5d9bb;background:#273d31;border:1px solid #3c6550;border-radius:20px;padding:6px 11px;font-size:10px;margin-top:12px}.status-pill.basic{color:#e9c48f;background:#3b3128;border-color:#67523c}.settings-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px}.tiny-warning{font-size:11px;line-height:2;color:#9da9a8;margin-top:15px}
.auth-root{min-height:100vh;display:grid;place-items:center;padding:22px}.auth-card{background:linear-gradient(160deg,#202724,#151b20);border:1px solid #4d4639;border-radius:23px;padding:43px;width:100%;max-width:470px;box-shadow:0 30px 70px #0006}.auth-logo{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:9px;margin-bottom:30px}.auth-symbol{color:var(--gold);font-size:60px;line-height:1;text-shadow:0 0 40px #e2b67880}.auth-logo strong{font-family:system-ui;font-size:28px;letter-spacing:5px}.auth-logo small{font-family:system-ui;color:#919d9e;letter-spacing:3px;font-size:9px}.auth-card h1{font-size:23px;margin:0 0 10px}.auth-card>p{font-size:12px;color:#9eacac;line-height:2;margin:0 0 25px}.form-field{display:flex;flex-direction:column;gap:8px;margin-bottom:15px}.form-field label{color:#c9d1c9;font-size:11px;font-weight:600}.form-field input,.form-field textarea,.form-field select{background:#222b2f;border:1px solid #3a4448;border-radius:11px;color:#f0f1ea;padding:13px;outline:none;width:100%;font-size:12px}.form-field input:focus,.form-field textarea:focus,.form-field select:focus{border-color:#b99c72}.form-field textarea{min-height:130px;resize:vertical;line-height:1.9}.field-hint{color:#809395;font-size:10px}.auth-submit{width:100%;margin-top:10px;padding:13px}.auth-error{color:#efada5;margin:12px 0 0;font-size:11px;line-height:2}
.modal-overlay{position:fixed;inset:0;z-index:40;background:#050a0ccf;backdrop-filter:blur(7px);display:flex;align-items:center;justify-content:center;padding:22px}.modal{background:#192126;border:1px solid #465051;border-radius:21px;padding:27px;width:100%;max-width:530px;max-height:90vh;overflow:auto;box-shadow:0 35px 110px #0009}.modal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.modal-head h2{font-size:19px;margin:0}.modal-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.modal-actions{display:flex;align-items:center;gap:10px;justify-content:flex-end;margin-top:21px}.modal .form-field{margin-bottom:15px}.toast{position:fixed;left:25px;bottom:25px;background:#364239;color:#e2efdf;padding:13px 19px;border-radius:12px;box-shadow:0 15px 45px #0008;border:1px solid #5c785d;z-index:90;opacity:0;transform:translateY(12px);transition:.25s;pointer-events:none;font-size:12px;max-width:calc(100vw - 50px)}.toast.show{opacity:1;transform:none}.toast.error{background:#51352f;border-color:#975e58;color:#f9c2bc}.bottom-nav{display:none}
@media(min-width:1500px){.main{padding-inline:65px}.topbar{padding-inline:65px}}
@media(max-width:1080px){.sidebar{width:225px;min-width:225px;padding-inline:13px}.workarea{width:calc(100% - 225px)}.main{padding:32px 26px 45px}.topbar{padding:0 26px}.footer{padding-inline:26px}.hero{padding:30px}.hero-orb{width:150px;height:150px}.hero h2{font-size:23px}}
@media(max-width:790px){.sidebar{display:none}.workarea{width:100%}.topbar{height:78px;padding:0 22px}.main{padding:25px 20px 110px}.footer{display:none}.bottom-nav{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:15;background:#1a2226f5;backdrop-filter:blur(18px);border-top:1px solid #394041;align-items:center;justify-content:space-around;padding:8px 7px calc(9px + env(safe-area-inset-bottom))}.mobile-tab{display:flex;flex-direction:column;align-items:center;gap:4px;background:transparent;color:#99a5a6;border:0;padding:5px 12px;border-radius:12px;min-width:57px}.mobile-tab span{font-size:23px;line-height:1.2}.mobile-tab small{font-size:10px}.mobile-tab.active{color:var(--gold);background:#493c2b8f}.page-header h1{font-size:26px}.date-chip{display:none}.chat-shell{height:calc(100dvh - 245px);min-height:420px}}
@media(max-width:600px){.topbar{height:67px;padding:0 17px}.top-actions{gap:8px}.top-eyebrow{font-size:8px}.top-icon{width:33px;height:33px}.main{padding:25px 15px 110px}.page-header{margin-bottom:21px;align-items:start}.page-header h1{font-size:24px}.page-header-actions .btn{padding:10px 11px;font-size:11px}.hero{padding:24px;min-height:205px}.hero h2{font-size:21px}.hero p{font-size:11px}.hero-orb{position:absolute;opacity:.13;left:5%;width:170px;height:170px}.hero-copy{position:relative}.stats{gap:9px}.stat{padding:12px 11px;min-height:93px;border-radius:13px;align-items:start}.stat-icon{width:27px;height:27px;border-radius:8px;font-size:16px}.stat small{font-size:9px}.stat strong{font-size:22px}.home-grid{grid-template-columns:1fr}.panel{padding:17px}.project-grid,.note-grid,.settings-grid{grid-template-columns:1fr}.project-card,.note-card{min-height:158px}.modal{padding:20px}.modal-grid{grid-template-columns:1fr}.chat-shell{height:calc(100dvh - 225px);min-height:370px}.chat-header{height:68px;padding:13px}.chat-compose{padding:12px}.chat-messages{padding:15px}.bubble-wrap{max-width:96%}.bubble{padding:10px 12px}.auth-card{padding:27px 22px}.toolbar{align-items:start}.task-row{padding:11px}.row-tools .circle-btn{width:29px;height:29px;min-width:29px}.date-chip{display:none}}
@media(max-width:375px){.mobile-tab{min-width:48px;padding:5px 7px}.page-header{flex-wrap:wrap}.stat{display:block}.stat-icon{margin-bottom:6px}.top-avatar{display:none}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
