@font-face{font-family:Vazirmatn;src:url('./fonts/Vazirmatn-v33.003.woff2') format('woff2');font-style:normal;font-weight:100 900;font-display:swap}
:root{--bg:#101217;--panel:#191d25;--panel2:#202530;--line:#2b313d;--text:#f2f4f8;--muted:#9ba4b3;--orange:#ff9b45;--green:#47d7a0;--red:#ff6677;--blue:#73a8ff;--radius:18px}
*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 75% -10%,#28202a 0,transparent 35%),var(--bg);color:var(--text);font-family:Vazirmatn,Tahoma,sans-serif;font-size:14px}.app-shell{display:flex;min-height:100vh}.sidebar{width:250px;flex-shrink:0;border-left:1px solid var(--line);background:#151820;padding:25px 16px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:12px;padding:0 10px 30px}.brand-mark{width:44px;height:44px;border-radius:14px;background:linear-gradient(145deg,var(--orange),#ec6f39);display:grid;place-items:center;color:#17191e;font-size:25px;font-weight:900;box-shadow:0 8px 25px #ff9b4533}.brand b{font-size:20px;display:block}.brand small{color:var(--muted);letter-spacing:2px}.sidebar nav{display:grid;gap:7px}.nav-item{border:0;background:transparent;color:var(--muted);padding:13px 15px;border-radius:12px;text-align:right;font:inherit;cursor:pointer;display:flex;gap:13px;align-items:center}.nav-item:hover,.nav-item.active{background:#29232a;color:var(--orange)}.nav-item.active{box-shadow:inset -3px 0 var(--orange)}.sidebar-foot{margin-top:auto;color:var(--muted);font-size:12px;padding:20px 10px}.dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--green);margin-right:5px}.main{min-width:0;flex:1;padding:28px clamp(16px,3vw,42px) 18px}.topbar{display:flex;align-items:center;gap:16px;margin-bottom:25px}.topbar h1{font-size:25px;margin:2px 0 0}.eyebrow{font-size:12px;color:var(--muted)}.top-actions{margin-right:auto;display:flex;gap:12px;align-items:center}.local-pill{font-size:11px;color:var(--green);background:#47d7a014;padding:8px 12px;border-radius:30px}.primary,.secondary,.danger,.icon-btn{font:inherit;border:0;border-radius:11px;padding:10px 15px;cursor:pointer}.primary{background:var(--orange);color:#17191e;font-weight:800}.secondary{background:var(--panel2);color:var(--text);border:1px solid var(--line)}.danger{background:#ff66771a;color:var(--red)}.icon-btn{background:var(--panel);color:var(--text);display:none}.grid{display:grid;gap:16px}.stats{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:17px}.card{background:linear-gradient(145deg,#1d222c,#181c24);border:1px solid var(--line);border-radius:var(--radius);padding:19px;min-width:0}.stat-label{color:var(--muted);font-size:12px}.stat-value{font-size:27px;font-weight:800;margin:8px 0}.stat-note{font-size:11px;color:var(--muted)}.accent{color:var(--orange)}.green{color:var(--green)}.red{color:var(--red)}.blue{color:var(--blue)}.two-col{grid-template-columns:1.2fr .8fr}.card-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}.card-head h2,.card h2{font-size:16px;margin:0}.muted{color:var(--muted)}.progress-track{height:11px;background:#303642;border-radius:30px;overflow:hidden;margin:13px 0 8px}.progress-fill{height:100%;background:linear-gradient(90deg,#ff9b45,#ffd078);border-radius:30px;transition:width .25s}.progress-meta{display:flex;justify-content:space-between;color:var(--muted);font-size:12px}.task-list{display:grid;gap:9px}.task-row{display:flex;align-items:center;gap:11px;padding:12px;background:#ffffff06;border:1px solid #ffffff0a;border-radius:12px}.task-row .task-main{min-width:0;flex:1}.task-row b{display:block;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.task-row small{color:var(--muted)}.check{width:19px;height:19px;accent-color:var(--green)}.stars{color:#ffbd55;letter-spacing:1px;white-space:nowrap}.tag{font-size:11px;padding:4px 8px;border-radius:20px;background:#73a8ff18;color:var(--blue);white-space:nowrap}.toolbar{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin-bottom:15px}.toolbar input,.toolbar select,.field input,.field select,.field textarea{background:#11151c;border:1px solid var(--line);color:var(--text);padding:10px 12px;border-radius:10px;font:inherit;min-width:0}.toolbar input{flex:1;min-width:160px}.toolbar select{min-width:120px}.table-like{display:grid;gap:8px}.empty{padding:35px;text-align:center;color:var(--muted);border:1px dashed var(--line);border-radius:14px}.calendar-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px}.weekday,.day{padding:10px 4px;text-align:center}.weekday{color:var(--muted);font-size:12px}.day{min-height:88px;border:1px solid var(--line);border-radius:12px;background:#ffffff04;cursor:pointer;text-align:right}.day:hover,.day.selected{border-color:var(--orange);background:#ff9b4510}.day.muted-day{opacity:.35}.day .num{font-weight:700}.day .count{display:block;color:var(--green);font-size:10px;margin-top:12px}.tabs{display:flex;gap:7px}.tabs button{background:var(--panel2);color:var(--muted);border:1px solid var(--line);border-radius:9px;padding:8px 12px;font:inherit;cursor:pointer}.tabs button.active{color:var(--orange);border-color:#ff9b4566}.field{display:grid;gap:6px;margin-bottom:13px}.field label{color:var(--muted);font-size:12px}.field input,.field select,.field textarea{width:100%}.field textarea{min-height:75px;resize:vertical}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}.modal-backdrop{position:fixed;inset:0;background:#000a;display:grid;place-items:center;padding:18px;z-index:10}.modal{width:min(560px,100%);max-height:90vh;overflow:auto;background:#1a1f28;border:1px solid var(--line);border-radius:20px;padding:22px;box-shadow:0 25px 80px #0009}.modal h2{margin:0 0 18px}.modal-actions{display:flex;gap:8px;justify-content:flex-start;margin-top:18px}.toast{position:fixed;bottom:22px;left:22px;background:#252c37;border:1px solid var(--line);padding:12px 17px;border-radius:12px;opacity:0;transform:translateY(12px);transition:.2s;pointer-events:none;z-index:20}.toast.show{opacity:1;transform:none}.money{font-variant-numeric:tabular-nums}.account-card{display:flex;justify-content:space-between;align-items:center;gap:12px}.account-card strong{font-size:18px}.divider{height:1px;background:var(--line);margin:15px 0}footer{color:#707a89;font-size:11px;padding:25px 4px 8px}footer span{margin-right:10px}.hint{background:#73a8ff12;border:1px solid #73a8ff33;padding:12px 14px;border-radius:12px;color:#b9d1ff;font-size:12px;line-height:1.9;margin-bottom:15px}.mobile-only{display:none}
@media(max-width:900px){.sidebar{width:215px}.stats{grid-template-columns:repeat(2,1fr)}.two-col{grid-template-columns:1fr}}
@media(max-width:650px){.sidebar{position:fixed;z-index:8;right:-260px;top:0;bottom:0;width:250px;transition:right .2s;box-shadow:-15px 0 40px #0005}.sidebar.open{right:0}.icon-btn{display:block}.main{padding:18px 13px}.topbar h1{font-size:20px}.local-pill{display:none}.top-actions .primary{padding:9px 10px}.stats{gap:9px}.card{padding:14px}.stat-value{font-size:22px}.form-grid{grid-template-columns:1fr}.day{min-height:67px;padding:7px 3px}.day .count{font-size:9px;margin-top:7px}.calendar-grid{gap:4px}}

/* Dashboard */
.dashboard-top-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:16px}
.dashboard-stat{display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px;min-width:0}
.dashboard-stat-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.dashboard-stat strong{font-size:16px;line-height:1.6;max-width:100%}
.dashboard-stat time{overflow-wrap:anywhere}
.dash-stat-icon{width:42px;height:42px;flex:0 0 auto;border-radius:14px;display:grid;place-items:center;background:#ff9b4518;color:var(--orange)}
.dash-stat-icon .outline-icon{width:22px;height:22px}
.dashboard-task-actions{margin-top:14px}
.dashboard-add-task{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px}
.dashboard-add-task .outline-icon{width:18px;height:18px}
.dashboard-add-task:focus-visible,.mobile-dock button:focus-visible{outline:2px solid var(--orange);outline-offset:2px}
.dashboard-progress{margin-bottom:16px}
.dashboard-progress .card{padding:16px 18px}
.week-fill{background:linear-gradient(90deg,#47d7a0,#a0f0ce)}
.dashboard-section{margin-bottom:16px}
.dashboard-section .task-row{background:#ffffff05}
.dashboard-section .stars{font-size:16px;letter-spacing:0}
.reminder-clock{width:32px;height:32px;display:grid;place-items:center;border-radius:10px;background:#73a8ff18;color:var(--blue);font-size:19px}
.finance-hidden{display:none}.finance-visible{display:block}
.finance-summary{display:flex;gap:32px;flex-wrap:wrap;margin:8px 0 16px}
.finance-summary>div{display:grid;gap:5px}.finance-summary small{color:var(--muted)}.finance-summary strong{font-size:20px}
.mobile-dock{display:none}
@media(max-width:650px){
  body{padding-bottom:calc(94px + env(safe-area-inset-bottom))}
  .main{padding:14px 12px 12px}
  .topbar{margin-bottom:15px}
  .topbar h1{font-size:19px}
  .dashboard-top-stats{gap:8px;margin-bottom:12px}
  .dashboard-stat{gap:7px;padding:12px 6px}
  .dash-stat-icon{width:34px;height:34px;border-radius:11px}
  .dashboard-stat strong{font-size:14px}
  .dashboard-stat time{font-size:12px}
  .dashboard-add-task{width:100%}
  .dashboard-progress{gap:9px}
  .dashboard-progress .card{padding:12px 11px}
  .dashboard-progress .card-head{margin-bottom:8px}
  .dashboard-progress .card-head h2{font-size:12px}
  .dashboard-progress .card-head strong{font-size:15px}
  .dashboard-progress .progress-track{height:8px;margin:9px 0 6px}
  .dashboard-progress small{font-size:9px}
  .dashboard-section{padding:13px 11px;margin-bottom:11px}
  .dashboard-section .card-head h2{font-size:14px}
  .dashboard-section .task-row{gap:7px;padding:10px 7px}
  .dashboard-section .task-row small{font-size:10px}
  .dashboard-section .stars{font-size:13px}
  .mobile-dock{position:fixed;z-index:9;left:12px;right:12px;bottom:calc(9px + env(safe-area-inset-bottom));height:70px;padding:7px 5px;display:flex;align-items:center;justify-content:space-around;gap:2px;border:1px solid #ffffff19;border-radius:23px;background:rgba(28,32,41,.94);backdrop-filter:blur(18px);box-shadow:0 12px 35px #0008}
  .mobile-dock button{flex:1;min-width:0;height:54px;border:0;border-radius:16px;background:transparent;color:var(--muted);display:grid;place-items:center;cursor:pointer}
  .mobile-dock button.active{color:var(--orange);background:#ff9b4515}
  .mobile-dock .home-icon .outline-icon{width:25px;height:25px}
  .mobile-finance{margin-bottom:4px}
  footer{padding-bottom:10px}
}
@media(min-width:651px){.mobile-finance{display:none}}

/* Refined outline icon system and compact dashboard layout */
.outline-icon{width:21px;height:21px;display:block;flex:0 0 auto;stroke:currentColor}
.nav-icon{width:22px;height:22px;display:inline-flex;align-items:center;justify-content:center;color:currentColor}
.nav-icon .outline-icon{width:20px;height:20px}
.dock-icon .outline-icon{width:22px;height:22px}
.icon-btn .outline-icon{width:18px;height:18px}
.reminder-clock .outline-icon{width:18px;height:18px}
@media(max-width:650px){
  .dashboard-progress{grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:8px}
  .dashboard-progress .card{min-width:0;padding:11px 9px}
  .dashboard-progress .card-head{gap:4px;align-items:flex-start}
  .dashboard-progress .card-head h2{font-size:11px;white-space:nowrap}
  .dashboard-progress .card-head strong{font-size:14px}
  .dashboard-progress small{font-size:8px;white-space:nowrap}
}

.secondary .outline-icon{display:inline-block;vertical-align:middle;margin-left:5px;width:17px;height:17px}.mobile-dock button .outline-icon{pointer-events:none}


/* Settings navigation and page-title customization */
.settings-menu{display:grid;gap:10px;max-width:900px}
.settings-menu-item{display:flex;align-items:center;gap:14px;width:100%;padding:17px 18px;text-align:right;background:linear-gradient(145deg,#1d222c,#181c24);border:1px solid var(--line);border-radius:15px;color:var(--text);font:inherit;cursor:pointer;transition:border-color .18s,transform .18s}
.settings-menu-item:hover{border-color:#ff9b4577;transform:translateY(-1px)}
.settings-menu-icon{width:42px;height:42px;display:grid;place-items:center;flex:0 0 42px;border-radius:13px;background:#ff9b4518;color:var(--orange)}
.settings-menu-icon .outline-icon{width:22px;height:22px}
.settings-menu-copy{display:grid;gap:5px;flex:1;min-width:0}
.settings-menu-copy b{font-size:14px}
.settings-menu-copy small{font-size:11px;color:var(--muted)}
.settings-chevron{font-size:27px;color:var(--muted);line-height:1}
.settings-back{display:inline-flex;align-items:center;gap:7px;margin-bottom:14px}
.settings-back .outline-icon{width:17px;height:17px}
.settings-detail{max-width:900px}
.settings-detail>p{font-size:12px;line-height:1.9;margin:10px 0 18px}
.settings-detail-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:16px}
.settings-info-row{display:flex;justify-content:space-between;gap:12px;padding:13px 0;border-bottom:1px solid var(--line);font-size:12px}
.settings-info-row:last-child{border-bottom:0}
@media(max-width:650px){
  .settings-menu-item{padding:14px 12px;gap:11px}
  .settings-menu-icon{width:38px;height:38px;flex-basis:38px}
  .settings-info-row{align-items:flex-start;flex-direction:column;gap:5px}
}
