/* Hayati Planner 1.1 — shared tokens and components for every application surface. */
@font-face{font-family:Tajawal;src:url('fonts/tajawal-arabic-400-normal.woff2') format('woff2');font-weight:400;font-display:swap;unicode-range:U+0600-06FF,U+0750-077F,U+08A0-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FEFC}
@font-face{font-family:Tajawal;src:url('fonts/tajawal-latin-400-normal.woff2') format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:Tajawal;src:url('fonts/tajawal-arabic-500-normal.woff2') format('woff2');font-weight:500;font-display:swap;unicode-range:U+0600-06FF,U+0750-077F,U+08A0-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FEFC}
@font-face{font-family:Tajawal;src:url('fonts/tajawal-latin-500-normal.woff2') format('woff2');font-weight:500;font-display:swap}
@font-face{font-family:Tajawal;src:url('fonts/tajawal-arabic-700-normal.woff2') format('woff2');font-weight:700;font-display:swap;unicode-range:U+0600-06FF,U+0750-077F,U+08A0-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FEFC}
@font-face{font-family:Tajawal;src:url('fonts/tajawal-latin-700-normal.woff2') format('woff2');font-weight:700;font-display:swap}
@font-face{font-family:Tajawal;src:url('fonts/tajawal-arabic-800-normal.woff2') format('woff2');font-weight:800;font-display:swap;unicode-range:U+0600-06FF,U+0750-077F,U+08A0-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FEFC}
@font-face{font-family:Tajawal;src:url('fonts/tajawal-latin-800-normal.woff2') format('woff2');font-weight:800;font-display:swap}
:root{--bg:#f5f6f3;--surface:#fff;--surface-alt:#f9faf7;--text:#203631;--muted:#657570;--line:#e4e9e1;--green:#24745e;--green-hover:#195a49;--soft:#eaf3ed;--gold:#bc8b34;--red:#b44b49;--shadow:0 6px 26px #193a2a06;--radius:22px;--navy:#173c34;--focus:#64a7a3;--accent:#d6ebb9;--paper:#fff7e6;--paper-text:#805d22;--blue:#3f72a8;--purple:#7768a9;--orange:#ad723e;color-scheme:light}
body.dark{--bg:#101c1c;--surface:#182827;--surface-alt:#20312e;--text:#ecf2e8;--muted:#a5b6ae;--line:#33413c;--green:#88cba7;--green-hover:#a4dabd;--soft:#243d31;--navy:#102e28;--accent:#bed99e;--paper:#383326;--paper-text:#f2d89e;--red:#ee9b91;--blue:#93b8e8;--purple:#b3a6e5;--orange:#dcb18d;--shadow:none;color-scheme:dark}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Tajawal,Arial,sans-serif;font-size:16px;line-height:1.7;background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}h1,h2,h3,h4,p{margin:0}h1,h2,h3,h4{line-height:1.4}h1{font-size:clamp(26px,2.3vw,35px);font-weight:800;letter-spacing:-.5px}h2{font-size:23px;font-weight:700}h3{font-size:19px;font-weight:700}h4{font-size:16px}a{color:var(--green);text-decoration:none}a:hover{color:var(--green-hover)}small,.muted{color:var(--muted)}small{font-size:13px}button,a,input,select,textarea{touch-action:manipulation}button,a.btn{min-height:44px;border:1px solid var(--line);background:var(--surface);color:var(--text);display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:10px 17px;border-radius:12px;font-weight:700;font-size:14px;cursor:pointer;transition:background .16s,border-color .16s,transform .16s;max-width:100%;line-height:1.4}button:hover,a.btn:hover{border-color:#aac5b5;background:var(--soft);transform:translateY(-1px)}button:active,a.btn:active{transform:translateY(0)}button:disabled{opacity:.5;cursor:default;transform:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid var(--focus);outline-offset:3px}.primary,a.primary{background:var(--green);border-color:var(--green);color:#fff;box-shadow:0 3px 8px #226e5918}.primary:hover,a.primary:hover{background:var(--green-hover);border-color:var(--green-hover);color:#fff}body.dark .primary{color:#10271d}.ghost{border-color:transparent;background:transparent;box-shadow:none}.danger{color:var(--red)}.icon{height:21px;width:21px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;vertical-align:middle}.icon-btn{padding:10px;width:44px;flex-shrink:0}.eyebrow{font-size:12px;font-weight:700;letter-spacing:.4px;color:var(--green);display:block;margin-bottom:6px}.brand{display:inline-flex;align-items:center;gap:12px;color:var(--text);font-size:31px;font-weight:800;line-height:1.2}.brand-mark{width:43px;height:43px;display:grid;place-items:center;border-radius:15px;background:var(--green);color:#fff;box-shadow:0 5px 12px #28705612}.brand-mark svg{width:28px;height:28px;stroke:currentColor;stroke-width:1.7;fill:none}.brand-copy small{display:block;font-size:11px;color:var(--muted);font-weight:400;margin-top:6px}.wordmark-dot{color:var(--green)}.layout{display:grid;grid-template-columns:254px minmax(0,1fr);min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;background:var(--surface);padding:31px 22px 23px;border-left:1px solid var(--line);display:flex;flex-direction:column;z-index:40;min-width:0}.sidebar-brand{display:flex;align-items:center;justify-content:space-between;margin-bottom:30px}.sidebar nav{display:flex;flex-direction:column;gap:3px;overflow-y:auto;scrollbar-width:thin;flex:1;min-height:0;padding-bottom:12px}.nav-caption{font-size:11px;font-weight:700;color:var(--muted);margin:20px 12px 7px}.nav-item{display:flex;align-items:center;gap:12px;padding:10px 13px;border-radius:11px;color:var(--muted);font-size:14px;font-weight:500;min-height:44px;position:relative;transition:background .18s,color .18s}.nav-item .icon{width:19px;height:19px}.nav-item:hover{background:var(--surface-alt);color:var(--green)}.nav-item.active{color:var(--green);background:var(--soft);font-weight:700}.nav-item.active:after{content:"";width:5px;height:5px;border-radius:50%;background:var(--green);margin-inline-start:auto}.sidebar-bottom{margin-top:16px}.upgrade-box{padding:17px;border-radius:16px;background:var(--surface-alt);border:1px solid var(--line);font-size:12px;position:relative;overflow:hidden}.upgrade-box .icon{color:var(--gold);margin-bottom:5px}.upgrade-box strong{display:block;font-size:14px;margin-bottom:4px}.upgrade-box a{display:block;font-weight:700;font-size:12px;margin-top:11px}.sidebar-footer{margin-top:15px;display:flex;justify-content:space-between;color:var(--muted);font-size:10px}.app-content{min-width:0}.topbar{height:84px;padding:0 34px;background:var(--bg);border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:20px}.breadcrumb{display:flex;gap:9px;font-size:13px;color:var(--muted);align-items:center;min-width:0}.breadcrumb strong{font-weight:500;color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:260px}.top-actions{display:flex;align-items:center;gap:9px;flex-shrink:0}.global-search{display:inline-flex;align-items:center;justify-content:flex-start;gap:9px;min-width:225px;color:var(--muted);font-weight:400;background:var(--surface);font-size:12px}.global-search kbd{font:11px Arial,sans-serif;margin-inline-start:auto;background:var(--bg);border:1px solid var(--line);border-radius:5px;padding:3px 5px}.avatar{width:38px;height:38px;border-radius:13px;background:#e1eee0;display:grid;place-items:center;color:#37604b;font-weight:800;font-size:17px;flex-shrink:0}.user-mini{font-size:10px;text-align:right;padding-inline:6px}.user-mini strong{display:block;font-size:13px}.account-btn{padding:4px;border-color:transparent;background:transparent;gap:8px}.workspace{max-width:1560px;margin:0 auto;padding:32px 34px 48px;min-width:0}.page-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:26px}.page-head p{margin-top:7px;color:var(--muted);font-size:14px}.page-title-row{display:flex;gap:13px;align-items:center;min-width:0}.page-title-row .page-glyph{background:var(--surface);border:1px solid var(--line);width:52px;height:52px;display:grid;place-items:center;border-radius:17px;color:var(--green);flex-shrink:0}.page-head .eyebrow{font-size:10px;font-family:Arial,sans-serif;letter-spacing:1.6px;margin-bottom:8px}.toolbar,.tabs{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.toolbar{min-width:0}.toolbar>a,.toolbar>button{flex-shrink:0}.badge{display:inline-flex;align-items:center;gap:5px;justify-content:center;padding:5px 10px;border-radius:8px;background:var(--soft);color:var(--green);font-size:11px;font-weight:700;line-height:1.5;white-space:nowrap}.badge.gold{background:#fff1d4;color:#805b20}.badge.red{background:#ffefec;color:#a34742}body.dark .badge.gold{background:#3a3324;color:#ebca90}body.dark .badge.red{background:#472d2a;color:#eda598}.panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:24px;margin-bottom:22px;box-shadow:var(--shadow);min-width:0}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.panel-head .subtitle{display:block;font-size:12px;color:var(--muted);margin-top:5px}.panel-head a{font-size:12px;font-weight:700;white-space:nowrap}.panel>h3{margin-bottom:12px}.panel>form+form{margin-top:20px}.section-divider{height:1px;background:var(--line);margin:24px 0}.grid-main{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr);gap:22px;align-items:start}.grid-main>div,.grid-main>section{min-width:0}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:25px}.stat{border:1px solid var(--line);background:var(--surface);border-radius:18px;padding:19px;min-width:0;position:relative}.stat-top{display:flex;align-items:center;justify-content:space-between;font-size:12px;font-weight:500;color:var(--muted);gap:8px}.symbol{display:grid;place-items:center;width:37px;height:37px;border-radius:12px;background:var(--soft);color:var(--green);flex-shrink:0}.stat .symbol{width:35px;height:35px}.stat-value{font-size:clamp(21px,2vw,31px);font-weight:800;line-height:1.3;margin:11px 0 8px;overflow-wrap:anywhere;letter-spacing:-.3px}.stat small{font-size:11px;display:block}.tone-assets{--tone:#4e7d96;--tone-bg:#edf4f7}.tone-maintenance{--tone:#a57644;--tone-bg:#fcf1e6}.tone-recurring{--tone:#8367a7;--tone-bg:#f3edf9}.tone-goals{--tone:#48845d;--tone-bg:#ebf4e9}.tone-circles{--tone:#a27e36;--tone-bg:#fbf4df}.tone-expenses{--tone:#648766;--tone-bg:#edf4e7}.tone-challenges{--tone:#af707d;--tone-bg:#faedf0}.tone-documents{--tone:#5a87aa;--tone-bg:#eef3fa}.tone-achievements{--tone:#9d7554;--tone-bg:#f8efe8}body.dark [class*="tone-"]{--tone-bg:var(--surface-alt);--tone:var(--green)}[class*="tone-"] .symbol,.symbol[class*="tone-"]{background:var(--tone-bg);color:var(--tone)}.planner-hero{background:linear-gradient(110deg,#1f5043,#2b6953);color:#fff;border-radius:25px;display:grid;grid-template-columns:1fr 270px;align-items:center;position:relative;overflow:hidden;margin-bottom:25px;padding:29px 32px;gap:25px;min-height:194px}.planner-hero .eyebrow{color:#c1d9bb;font-size:11px;letter-spacing:1.3px;font-family:Arial,sans-serif}.planner-hero h2{font-size:30px;font-weight:700;line-height:1.6;margin-bottom:9px}.planner-hero p{color:#d9e8da;font-size:14px;max-width:470px;margin-bottom:18px}.planner-hero .primary{background:#d6ebb9;color:#2e4d2b;border-color:#d6ebb9;box-shadow:none}.hero-art{position:relative;height:152px;isolation:isolate;display:flex;align-items:center;justify-content:center}.orb{position:absolute;width:165px;height:165px;border-radius:50%;border:1px solid #cbe0ae3d;box-shadow:0 0 0 24px #cbe0ae0a,0 0 0 49px #cbe0ae07;background:radial-gradient(circle at 25% 20%,#75a36d25,transparent 60%)}.hero-note{position:relative;background:#f4f5df;color:#40563a;border-radius:14px;transform:rotate(-7deg);padding:18px 23px;box-shadow:0 15px 26px #0c332b30;font-size:13px;width:190px}.hero-note .note-check{width:31px;height:31px;background:#dcebc7;display:grid;place-items:center;border-radius:10px;margin-bottom:10px}.hero-note strong{display:block;font-size:17px;font-weight:700;line-height:1.6}.hero-note small{display:block;font-size:11px;color:#6a7c5b;margin-top:6px}.hero-mini-note{position:absolute;left:4px;bottom:0;padding:10px 13px;border-radius:10px;background:#eddcb9;color:#715a30;font-size:11px;transform:rotate(7deg);box-shadow:0 10px 20px #173d3520}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(300px,1fr);gap:22px;align-items:start}.dashboard-grid>div{min-width:0}.planner-week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px;margin:18px 0 24px}.day-chip{padding:13px 5px;min-width:0;background:var(--surface-alt);border:1px solid transparent;border-radius:15px;display:flex;flex-direction:column;gap:4px;min-height:88px}.day-chip>span{font-size:11px;color:var(--muted);font-weight:400}.day-chip b{font-size:24px;font-weight:700;line-height:1.3}.day-chip.active{background:var(--green);color:#fff;border-color:var(--green);box-shadow:0 5px 9px #24745e15}.day-chip.active span{color:#d7e8de}.event-dot{width:4px;height:4px;border-radius:100%;background:var(--green);display:inline-block}.day-chip.active .event-dot{background:#d6ebb9}.day-chip .day-markers{display:flex;justify-content:center;gap:3px;height:5px}.mini-controls{display:flex;gap:5px}.mini-controls button{width:31px;min-height:31px;padding:6px;border-radius:9px}.mini-controls .icon{width:17px;height:17px}.segmented{display:inline-flex;gap:3px;border:1px solid var(--line);background:var(--bg);padding:4px;border-radius:12px;max-width:100%;flex-wrap:wrap}.segmented button{min-height:33px;border:0;background:transparent;color:var(--muted);font-size:12px;padding:7px 13px;border-radius:9px}.segmented button.active{background:var(--surface);color:var(--text);box-shadow:0 2px 6px #173f3110}.agenda-label{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px;color:var(--muted);font-size:12px}.agenda-row{display:flex;gap:13px;align-items:center;padding:13px 0;border-bottom:1px solid var(--line)}.agenda-row:last-child{border-bottom:0}.agenda-row .agenda-check{display:grid;place-items:center;width:21px;height:21px;border:1px solid #c8d6c5;border-radius:7px;background:var(--surface-alt);flex-shrink:0}.agenda-row .agenda-text{flex:1;min-width:0}.agenda-row strong{font-size:14px;color:var(--text);display:block;overflow-wrap:anywhere}.agenda-row small{font-size:11px;display:block;margin-top:2px}.agenda-row .agenda-end{font-size:11px;color:var(--muted);white-space:nowrap}.agenda-row .agenda-end .icon{width:15px;height:15px;margin-inline-start:8px}.service-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.service-card{padding:16px;background:var(--surface-alt);border:1px solid var(--line);border-radius:15px;display:flex;flex-direction:column;gap:6px;min-width:0;transition:transform .18s,border-color .18s,box-shadow .18s}.service-card:hover{transform:translateY(-3px);border-color:#b5ccb9;box-shadow:var(--shadow)}.service-card .symbol{margin-bottom:7px;width:37px;height:37px}.service-card strong{font-size:15px;color:var(--text)}.service-card small{font-size:11px;line-height:1.6}.service-card .count{display:flex;justify-content:space-between;align-items:center;margin-top:7px;color:var(--muted);font-size:11px}.service-card .count .icon{width:15px;height:15px}.goal-row{padding:16px;border:1px solid var(--line);border-radius:14px;margin-bottom:12px}.goal-row:last-child{margin-bottom:0}.goal-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:9px}.goal-top strong{font-size:14px}.goal-top>span{font-size:12px;font-weight:700;color:var(--green)}.goal-row small{font-size:11px;display:block;line-height:1.8}.goal-row .goal-money{display:flex;justify-content:space-between;gap:10px;margin-top:7px}.progress-bar{appearance:none;-webkit-appearance:none;width:100%;height:7px;border:0;border-radius:20px;overflow:hidden;background:var(--line);accent-color:var(--green);display:block}.progress-bar::-webkit-progress-bar{background:var(--line);border-radius:20px}.progress-bar::-webkit-progress-value{background:var(--green);border-radius:20px}.progress-bar::-moz-progress-bar{background:var(--green);border-radius:20px}.ring-chart{width:92px;height:92px;flex-shrink:0;position:relative;display:grid;place-items:center}.ring-chart svg{position:absolute;inset:0;height:100%;width:100%;transform:rotate(-90deg)}.ring-chart b{font-size:19px;line-height:1.3}.achievement-summary{display:flex;align-items:center;gap:18px;padding:7px 0 18px}.achievement-summary h4{font-size:15px;margin-bottom:5px}.achievement-summary p{font-size:11px;color:var(--muted)}.sticky-note{padding:22px;border-radius:17px;background:var(--paper);color:var(--paper-text);border:1px solid #d9bc7b29;font-size:13px;position:relative}.sticky-note>small{color:var(--paper-text);font-size:10px;letter-spacing:1px;font-family:Arial,sans-serif;display:block;margin-bottom:10px}.sticky-note h3{font-size:20px;line-height:1.6;max-width:260px}.sticky-note p{font-size:12px;margin-top:8px;line-height:1.8}.sticky-note .icon{position:absolute;left:21px;top:22px}.habit-row{display:flex;gap:12px;align-items:center;border:1px solid var(--line);border-radius:13px;padding:14px;margin-bottom:10px}.habit-row .habit-body{flex:1;min-width:0}.habit-row strong{font-size:13px;color:var(--text);display:block}.habit-dots{display:flex;gap:4px;margin:8px 0}.habit-dots span{width:11px;height:11px;border-radius:4px;background:var(--line)}.habit-dots span.done{background:var(--green)}.finance-rows{display:grid;gap:15px}.finance-rows .finance-label{font-size:11px;color:var(--muted);display:block;margin-bottom:5px}.metric-number{font-size:24px;font-weight:700;color:var(--text);overflow-wrap:anywhere}.distribution{display:grid;gap:13px}.distribution-row{display:grid;grid-template-columns:105px 1fr 28px;gap:12px;align-items:center;font-size:12px}.distribution-row progress{height:5px}.distribution-row b{font-size:12px;text-align:left}.tip{display:block;background:var(--soft);color:var(--green);border:1px solid #cadfd088;border-radius:14px;padding:17px 20px;font-size:13px;line-height:1.8;margin-bottom:18px}.tip .toolbar{margin-top:10px}.tip button{margin-inline-end:8px}.empty{padding:34px 16px;text-align:center;display:flex;flex-direction:column;align-items:center;color:var(--muted);font-size:13px}.empty-icon{width:66px;height:66px;border-radius:23px;background:var(--soft);color:var(--green);display:grid;place-items:center;margin-bottom:16px;position:relative}.empty-icon:before{content:"";position:absolute;inset:-5px;border:1px dashed #c9d9cd;border-radius:26px;transform:rotate(8deg)}.empty-icon .icon{width:26px;height:26px}.empty strong{display:block;font-size:17px;color:var(--text);margin-bottom:6px}.empty p{max-width:380px;font-size:13px;margin:0 auto 17px;line-height:1.8}.empty .primary{font-size:13px}.module-intro{font-size:13px;color:var(--muted);margin-bottom:19px;line-height:1.9}.module-overview{display:flex;align-items:center;gap:18px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:21px 23px;margin-bottom:21px}.module-overview .symbol{width:55px;height:55px;border-radius:18px}.module-overview .symbol .icon{width:26px;height:26px}.module-overview h3{font-size:17px}.module-overview p{font-size:13px;color:var(--muted);margin-top:3px}.module-overview .module-counter{margin-inline-start:auto;flex-shrink:0;text-align:center;font-size:26px;font-weight:800}.module-counter small{font-size:10px;display:block;font-weight:500}.records-toolbar{display:flex;justify-content:space-between;align-items:center;gap:17px;margin-bottom:23px;flex-wrap:wrap}.filter-row{display:flex;align-items:center;gap:9px;flex:1;min-width:0}.filter-row input{max-width:340px}.filter-row .muted{font-size:11px;white-space:nowrap}.view-toggle button{padding:8px;min-width:35px}.view-toggle .icon{width:18px;height:18px}.table-wrap{max-width:100%;overflow:auto;border:1px solid var(--line);border-radius:13px;scrollbar-width:thin}table{border-collapse:collapse;width:100%;min-width:620px;font-size:13px}th,td{text-align:right;padding:15px;border-bottom:1px solid var(--line);vertical-align:middle;white-space:nowrap}th{font-size:11px;color:var(--muted);font-weight:700;background:var(--surface-alt)}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:var(--surface-alt)}td strong{font-size:14px;color:var(--text);font-weight:700}td:first-child{white-space:normal;min-width:170px;max-width:320px;overflow-wrap:anywhere}td:last-child{white-space:normal}td button{font-size:11px;padding:8px 10px;margin:2px;min-height:36px}td .icon{height:15px;width:15px}.pagination{display:flex;justify-content:center;align-items:center;gap:15px;margin-top:22px}.pagination small{font-size:12px;text-align:center}.record-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.record-card{display:flex;flex-direction:column;min-width:0;border:1px solid var(--line);border-radius:18px;padding:19px;background:var(--surface);transition:transform .18s,box-shadow .18s}.record-card:hover{transform:translateY(-3px);box-shadow:0 10px 23px #244c3110}.record-card-top{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:15px}.record-card h3{font-size:18px;margin-bottom:5px;overflow-wrap:anywhere}.record-card .record-desc{color:var(--muted);font-size:12px;overflow-wrap:anywhere;line-height:1.8}.record-card .record-value{font-size:24px;font-weight:700;margin-top:17px;overflow-wrap:anywhere}.record-card-bottom{border-top:1px solid var(--line);margin-top:auto;padding-top:13px;display:flex;justify-content:space-between;align-items:center;gap:10px;color:var(--muted);font-size:11px}.record-card .record-detail{padding-bottom:16px}.record-card a{color:var(--text)}.record-card-bottom .icon{width:16px;height:16px}.record-card .card-sub{font-size:11px;color:var(--muted);display:block;margin-top:5px}.record-card progress{margin:12px 0 6px}.list-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px 0;border-bottom:1px solid var(--line);min-width:0}.list-row:last-child{border-bottom:0}.list-row>div{min-width:0}.list-row strong{font-size:14px;overflow-wrap:anywhere}.list-row p{font-size:13px;overflow-wrap:anywhere}.list-row small{display:block;font-size:11px;margin-top:4px;overflow-wrap:anywhere}.list-row-title{display:flex;align-items:center;gap:12px;min-width:0}.list-row-title a{color:var(--text)}.list-row .toolbar{justify-content:flex-end}.list-row button{font-size:12px}.field{min-width:0}.field label{display:block;margin-bottom:8px;font-size:13px;font-weight:700}.field .required-mark{color:var(--red);font-size:12px}input,select,textarea{display:block;width:100%;background:var(--surface-alt);border:1px solid var(--line);border-radius:11px;padding:12px 14px;color:var(--text);outline:none;font-size:14px;min-height:46px;transition:border-color .15s,box-shadow .15s;max-width:100%;line-height:1.5}input:hover,select:hover,textarea:hover{border-color:#b4c5b7}input:focus,select:focus,textarea:focus{border-color:var(--green);box-shadow:0 0 0 3px #49845a12}input::placeholder,textarea::placeholder{color:var(--muted);opacity:.75}input[readonly]{opacity:.7}textarea{min-height:111px;resize:vertical}input[type=checkbox]{width:17px;height:17px;min-height:17px;accent-color:var(--green);flex-shrink:0}input[type=file]{font-size:12px;padding:12px;cursor:pointer}input[type=file]::file-selector-button{font:inherit;padding:6px 10px;background:var(--soft);color:var(--green);border:0;border-radius:6px;margin-inline-end:9px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:21px}.field.full,.full{grid-column:1/-1}.check{display:flex;align-items:center;gap:12px;padding:12px 14px;border:1px solid var(--line);border-radius:10px;background:var(--surface-alt);font-size:13px;cursor:pointer;line-height:1.7;min-width:0}.check-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.check-list .detail-item{padding:12px}.check-list .detail-item>input{margin-top:8px}.form-help{font-size:12px;color:var(--muted);margin-top:8px;line-height:1.8}.form-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:25px;padding-top:20px;border-top:1px solid var(--line)}.form-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;padding-bottom:22px;margin-bottom:23px;border-bottom:1px solid var(--line)}.form-heading .symbol{width:47px;height:47px}.form-heading h3{margin-bottom:4px}.form-heading p{font-size:12px;color:var(--muted)}.form-panel{max-width:1060px}.form-panel .form-actions{position:sticky;bottom:0;background:var(--surface);z-index:1;padding-bottom:7px}.form-section-label{grid-column:1/-1;font-size:12px;font-weight:700;color:var(--muted);border-top:1px solid var(--line);padding-top:19px;margin-top:6px}.detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.detail-item{padding:15px 16px;background:var(--surface-alt);border:1px solid var(--line);border-radius:12px;min-width:0}.detail-item label{display:block;color:var(--muted);font-size:11px;margin-bottom:6px}.detail-item strong{font-size:15px;overflow-wrap:anywhere}.notes{font-size:14px;white-space:pre-wrap;overflow-wrap:anywhere;background:var(--surface-alt);border:1px dashed var(--line);border-radius:12px;margin-top:19px;padding:18px;line-height:1.9}.files-grid{display:grid;gap:11px;margin:18px 0}.file-row{display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid var(--line);border-radius:11px;padding:12px;font-size:12px;min-width:0}.file-row>a{overflow-wrap:anywhere;min-width:0}.file-row .icon{width:17px;height:17px;margin-inline-end:6px}.file-row>span{flex-shrink:0;font-size:11px}.file-row button{padding:7px;font-size:11px;min-height:36px}.detail-progress-title{display:flex;align-items:center;gap:18px;margin-bottom:22px}.goal-chart{display:block;width:100%;height:auto;margin:18px 0;color:var(--green)}.chart-caption{display:flex;justify-content:space-between;font-size:11px;color:var(--muted)}.detail-stats .stats{grid-template-columns:repeat(2,minmax(0,1fr))}.timeline{border-right:2px solid var(--line);padding-right:22px;margin-right:6px}.timeline-item{position:relative;padding-bottom:28px}.timeline-item:before{content:"";position:absolute;right:-28px;top:8px;width:10px;height:10px;background:var(--green);border:3px solid var(--surface);border-radius:50%;box-shadow:0 0 0 1px #b9d6c2}.timeline-item h3,.timeline-item h2{margin:7px 0}.timeline-item p{font-size:13px;color:var(--muted);margin-top:4px}.timeline-item:last-child{padding-bottom:5px}dialog{width:min(620px,calc(100vw - 30px));max-height:min(88vh,900px);border:1px solid var(--line);background:var(--surface);color:var(--text);border-radius:23px;padding:26px;box-shadow:0 20px 90px #15322235;overflow:auto}dialog::backdrop{background:#0e292965;backdrop-filter:blur(4px)}dialog h2{font-size:23px;margin-bottom:15px}dialog>p,dialog .dialog-body>p{font-size:13px;color:var(--muted);margin-bottom:18px;line-height:1.9}.dialog-close-row{display:flex;justify-content:flex-end;margin-top:-10px;margin-bottom:2px}.dialog-close-row button{width:34px;min-height:34px;padding:8px;border:0;background:var(--surface-alt);border-radius:10px}.dialog-close-row .icon{height:17px;width:17px}dialog .form-actions{margin-top:19px}.dialog-search-input{margin-bottom:17px}.search-results{max-height:50vh;overflow:auto}.search-result{display:flex;align-items:center;gap:12px;padding:12px;border-bottom:1px solid var(--line);border-radius:10px;color:var(--text)}.search-result:hover{background:var(--soft)}.search-result strong{font-size:14px;display:block}.search-result small{font-size:11px}.search-result .icon:last-child{margin-inline-start:auto;height:15px;width:15px}.search-tip{font-size:11px;color:var(--muted);margin-bottom:12px}#toast{display:none;position:fixed;bottom:27px;left:50%;transform:translateX(-50%);background:var(--surface);color:var(--text);border:1px solid var(--line);border-radius:15px;box-shadow:0 10px 35px #183e2e20;z-index:200;max-width:min(600px,calc(100vw - 30px));padding:15px 23px;font-size:14px;line-height:1.7}#toast.show{display:flex;align-items:center;gap:12px;animation:toast-in .2s ease-out}#toast.error{border-color:#b8655950;background:var(--surface)}#toast .icon{color:var(--green)}#toast.error .icon{color:var(--red)}.error-box{background:#fff0ed;border:1px solid #e5b2a7;color:#984b42;border-radius:13px;padding:19px;font-size:14px;margin:16px 0;overflow-wrap:anywhere}body.dark .error-box{background:#3c2a28;border-color:#7e4840;color:#edb4a9}.error-state{max-width:600px;margin:60px auto;text-align:center}.error-state .empty-icon{margin:auto auto 22px}.error-state h2{margin-bottom:12px}.error-state p{margin-bottom:23px;color:var(--muted)}.loading{padding:60px;text-align:center;color:var(--muted)}.boot{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:15px}.boot>p{font-size:13px;color:var(--muted)}.boot .brand-mark{width:62px;height:62px;border-radius:21px;font-size:33px}.loading-dots{display:flex;gap:6px;margin-top:10px}.loading-dots span{width:6px;height:6px;border-radius:50%;background:var(--green);animation:blink 1.2s infinite}.loading-dots span:nth-child(2){animation-delay:.2s}.loading-dots span:nth-child(3){animation-delay:.4s}.skeleton{background:linear-gradient(90deg,var(--surface-alt),var(--line),var(--surface-alt));background-size:200% 100%;border-radius:12px;animation:shimmer 1.5s ease infinite}.skeleton-row{height:18px;width:75%;margin:14px 0}.skeleton-tile{height:110px}.calendar-layout{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(280px,1fr);gap:22px;align-items:start}.calendar-main{padding:22px;min-width:0}.calendar-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:21px;flex-wrap:wrap}.calendar-toolbar h2{font-size:23px}.calendar-filter{width:auto;max-width:210px;min-height:37px;font-size:12px;padding:7px 10px}.month-table{min-width:0;width:100%;table-layout:fixed;border-collapse:separate;border-spacing:0}.month-table th{background:transparent;border:0;text-align:center;padding:10px 2px 13px;font-size:11px}.month-table td{white-space:normal;padding:2px;border:0;vertical-align:top;min-width:0}.month-table td:first-child{min-width:0;max-width:none}.month-day{border:1px solid var(--line);border-radius:12px;background:var(--surface-alt);padding:8px;min-height:97px;width:100%;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:5px;min-width:0;text-align:right}.month-day:hover{transform:none;border-color:var(--green)}.month-day.other-month{opacity:.5;background:transparent}.month-day.selected{border-color:var(--green);box-shadow:inset 0 0 0 1px var(--green)}.month-day>span:first-child{font-size:12px;line-height:1.5;width:23px;height:23px;display:grid;place-items:center;border-radius:7px}.month-day.today>span:first-child{background:var(--green);color:#fff}.month-event{font-size:9px;font-weight:500;display:block;background:var(--soft);color:var(--green);padding:2px 5px;border-radius:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}.month-event[class*="tone-"]{background:var(--tone-bg);color:var(--tone)}.month-more{font-size:9px;color:var(--muted)}.calendar-legend{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:17px;color:var(--muted);font-size:10px}.calendar-legend i{display:inline-block;width:5px;height:5px;background:var(--green);border-radius:50%;margin-inline-end:5px}.calendar-agenda{min-width:0}.calendar-agenda .agenda-row{align-items:flex-start}.calendar-agenda .agenda-check{margin-top:5px}.calendar-agenda-head{display:flex;align-items:center;gap:13px;margin-bottom:20px}.date-tile{width:54px;height:61px;border-radius:13px;background:var(--soft);color:var(--green);display:flex;flex-direction:column;align-items:center;justify-content:center}.date-tile b{font-size:25px;line-height:1.1}.date-tile small{font-size:10px;color:var(--green)}.calendar-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.calendar-item{display:flex;align-items:center;gap:13px;padding:17px;border:1px solid var(--line);border-radius:14px;background:var(--surface);color:var(--text);min-width:0}.calendar-item>div{min-width:0}.calendar-item strong{font-size:14px;overflow-wrap:anywhere}.calendar-item small{display:block;font-size:11px}.calendar-date{background:var(--soft);color:var(--green);padding:10px;border-radius:10px;font-size:11px;white-space:nowrap}.month-mobile-count{display:none}.settings-profile{display:flex;align-items:center;gap:15px;background:var(--soft);padding:22px;border-radius:16px;margin-bottom:23px}.settings-profile .avatar{width:54px;height:54px;border-radius:17px;font-size:23px}.settings-profile h3{font-size:18px}.settings-profile p{font-size:12px;color:var(--muted)}.notification-row{border:1px solid var(--line);background:var(--surface-alt);border-radius:15px;padding:17px;display:flex;gap:15px;align-items:flex-start;margin-bottom:12px}.notification-row.unread{background:var(--surface);border-color:#bbd5c2}.notification-row .notification-text{flex:1;min-width:0}.notification-row strong{font-size:14px;display:block;overflow-wrap:anywhere}.notification-row p{color:var(--muted);font-size:13px;line-height:1.8;margin-top:5px}.notification-row small{font-size:10px}.notification-row a{color:var(--text)}.group-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.group-card{padding:23px;border:1px solid var(--line);border-radius:18px;background:var(--surface);min-width:0}.group-card .group-avatar{width:49px;height:49px;display:grid;place-items:center;border-radius:16px;background:var(--soft);color:var(--green);margin-bottom:17px}.group-card h3{margin-bottom:6px;overflow-wrap:anywhere}.group-card p{font-size:12px;color:var(--muted)}.group-card .group-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--line);margin-top:19px;padding-top:16px;font-size:12px}.member-avatars{display:flex;gap:4px}.member-avatars span{width:24px;height:24px;border-radius:8px;background:var(--soft);color:var(--green);display:grid;place-items:center;font-size:10px}.account-menu{display:grid;gap:10px}.account-menu>a{padding:15px;border:1px solid var(--line);background:var(--surface-alt);border-radius:12px;font-size:14px;display:flex;gap:12px}.account-menu>a .icon{width:19px;height:19px}.landing{max-width:1220px;margin:auto;padding:0 28px}.landing-nav{padding:26px 0;display:flex;justify-content:space-between;align-items:center;gap:18px}.landing-links{display:flex;align-items:center;gap:27px;font-size:14px}.landing-nav .brand{font-size:29px}.hero{padding:70px 0 78px;display:grid;grid-template-columns:1.1fr 1fr;align-items:center;gap:64px;position:relative}.hero h1{font-size:clamp(35px,4vw,56px);font-weight:800;line-height:1.5;margin:17px 0;letter-spacing:-1px}.hero h1 em{font-style:normal;color:var(--green)}.hero p{font-size:16px;color:var(--muted);max-width:500px;line-height:1.9}.hero-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:25px}.hero-actions .primary{padding:13px 21px}.hero .form-help{font-size:12px;margin-top:17px}.hero-visual{position:relative;background:var(--surface);border:1px solid var(--line);border-radius:25px;padding:27px;box-shadow:0 22px 65px #15392112;transform:rotate(-2deg)}.hero-visual:before{content:"";position:absolute;inset:-20px;z-index:-1;border-radius:40px;background:linear-gradient(145deg,#ddeccaa0,#efe5d760);transform:rotate(5deg)}.hero-visual .visual-title{font-weight:700;font-size:21px;margin:7px 0 22px}.visual-stack{display:grid;gap:12px}.visual-pill{display:flex;align-items:center;gap:13px;padding:15px;border-radius:13px;background:var(--surface-alt);border:1px solid var(--line)}.visual-pill strong{font-size:14px;display:block}.visual-pill small{font-size:11px;display:block;margin-top:3px}.hero-visual .planner-week{gap:5px;margin:15px 0}.hero-visual .day-chip{min-height:71px;padding:9px 4px;cursor:default}.hero-visual .day-chip b{font-size:18px}.hero-visual .day-chip>span{font-size:9px}.hero-visual .hero-preview-note{margin-top:17px;background:var(--paper);padding:14px;border-radius:11px;font-size:12px;color:var(--paper-text)}.section-title{text-align:center;margin:54px 0 32px}.section-title h2{font-size:31px;font-weight:800}.section-title p{font-size:14px;color:var(--muted);margin-top:10px}.landing-services{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.landing-services .panel{margin:0;padding:26px;display:block;transition:transform .18s}.landing-services .panel:hover{transform:translateY(-4px)}.landing-services .symbol{width:47px;height:47px;border-radius:15px;margin-bottom:19px}.landing-services h3{font-size:19px;color:var(--text)}.landing-services p{font-size:13px;color:var(--muted);margin-top:8px;line-height:1.8}.pricing{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:25px 0 33px}.price-card{display:flex;flex-direction:column;padding:27px;border:1px solid var(--line);border-radius:21px;background:var(--surface);position:relative;min-width:0}.price-card.featured{border:1px solid var(--green);background:linear-gradient(130deg,var(--soft),var(--surface) 65%);box-shadow:0 8px 25px #244c3010}.price-card h2{font-size:24px}.price-number{font-size:37px;font-weight:800;line-height:1.5;margin:13px 0;overflow-wrap:anywhere}.price-number small{font-size:12px;font-weight:400;display:inline-block;white-space:nowrap}.price-card ul{padding-inline-start:20px;font-size:13px;line-height:2.6;color:var(--muted);margin-bottom:27px;flex:1}.price-card .btn,.price-card button{width:100%}.faq{max-width:860px;margin:35px auto 75px}.faq details{padding:20px 0;border-bottom:1px solid var(--line)}summary{cursor:pointer;font-weight:700;font-size:15px;padding:6px}.faq p{font-size:14px;color:var(--muted);line-height:1.9;margin-top:14px}.landing-footer{border-top:1px solid var(--line);padding:28px 0;display:flex;justify-content:space-between;align-items:center;gap:18px;font-size:12px;color:var(--muted)}.share-page{max-width:840px;padding:27px;margin:45px auto}.share-page>.brand{margin-bottom:28px}.share-page>.panel{padding:31px}.policy p{margin:16px 0;font-size:15px;line-height:2}.auth-page{min-height:100vh;background:var(--bg)}.auth-layout{min-height:100vh;display:grid;grid-template-columns:1.1fr 1fr}.auth-story{padding:55px;position:relative;overflow:hidden;background:linear-gradient(135deg,#245646,#184637);color:#f4f7e9;display:flex;flex-direction:column;justify-content:space-between;gap:50px}.auth-story .brand{color:#fff}.auth-story .brand-mark{background:#d3e9b7;color:#35572d;box-shadow:none}.auth-story .brand-copy small{color:#bfd4c1}.auth-story h1{font-size:42px;line-height:1.6;max-width:440px;letter-spacing:-.6px;margin-bottom:16px}.auth-story h1 span{color:#d1e8b6}.auth-story p{color:#d0e0cf;font-size:15px;max-width:370px;line-height:1.9}.auth-story .story-foot{font-size:11px;color:#baceb9}.auth-art{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:14px;max-width:390px;margin-top:35px}.auth-art .story-card{background:#ffffff0b;border:1px solid #ffffff24;border-radius:17px;padding:19px;color:#dfecd6}.story-card .icon{width:24px;height:24px;margin-bottom:17px;color:#b9d4a1}.story-card strong{display:block;font-size:15px}.story-card small{display:block;font-size:11px;margin-top:5px;color:#c4d7bd}.story-card.note{background:#f2ebcf;color:#625b30;transform:rotate(-4deg)}.story-card.note .icon{color:#7b884c}.story-card.note small{color:#837b56}.auth-form-side{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:45px 38px;position:relative}.auth-form-wrap{width:100%;max-width:425px}.auth-back{position:absolute;top:32px;left:35px;font-size:12px;color:var(--muted);display:flex;align-items:center;gap:8px}.auth-back .icon{height:17px;width:17px}.auth-mobile-brand{display:none}.auth-form-wrap .eyebrow{font-size:11px;font-family:Arial,sans-serif;letter-spacing:1.5px;margin-bottom:14px}.auth-form-wrap h1{font-size:32px;margin-bottom:10px}.auth-form-wrap .auth-subtitle{font-size:14px;color:var(--muted);margin-bottom:27px}.auth-form-wrap .form-grid{grid-template-columns:1fr;gap:17px}.auth-form-wrap .form-actions{border-top:0;padding:0;margin-top:22px}.auth-form-wrap .form-actions .primary{width:100%;padding:13px}.auth-links{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap;font-size:12px;margin-top:22px}.auth-links a{font-weight:700}.auth-trust{font-size:11px;color:var(--muted);text-align:center;margin-top:29px;padding-top:22px;border-top:1px solid var(--line)}.auth-trust .icon{width:15px;height:15px;margin-inline-end:5px}.auth-form-wrap .error-box,.auth-form-wrap .tip{font-size:12px;padding:14px}.install-layout{max-width:1060px;margin:35px auto;padding:25px}.install-top{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:30px}.install-header{margin-bottom:26px;max-width:630px}.install-header h1{font-size:33px;margin-bottom:9px}.install-header p{font-size:14px;color:var(--muted)}.install-step-title{display:flex;align-items:center;gap:12px;margin-bottom:23px}.step-number{width:34px;height:34px;display:grid;place-items:center;border-radius:11px;background:var(--soft);color:var(--green);font-size:13px;font-weight:700}.install-panel{padding:29px}.public-profile-hero{background:var(--soft);border-radius:23px;padding:33px;margin-bottom:25px}.public-profile-hero h1{font-size:35px;margin:15px 0}.public-profile-hero p{color:var(--muted);font-size:15px;line-height:1.9}.public-profile-avatar{width:60px;height:60px;border-radius:20px;background:var(--green);color:#fff;display:grid;place-items:center;font-weight:800;font-size:27px}.skip-link{position:fixed;top:-100px;right:15px;background:var(--green);color:#fff;padding:12px;z-index:200;border-radius:9px}.skip-link:focus{top:10px}.mobile-only,.sidebar-close,.nav-overlay,.bottom-nav{display:none}.month-table button .month-event{display:block}.view-card [hidden],[hidden]{display:none!important}.chart-zero{padding:20px;text-align:center;font-size:12px;color:var(--muted)}.app-footer{display:flex;justify-content:space-between;gap:15px;font-size:10px;color:var(--muted);margin-top:34px;border-top:1px solid var(--line);padding-top:20px}.audit-action{font-size:12px;font-weight:500}.settings-profile+.form-grid{margin-top:20px}.panel details{border-top:1px solid var(--line);padding:12px 0}.panel details form{margin-top:18px}.panel details:first-of-type{border-top:0}.record-form-panel>form{margin-top:5px}#print-area{display:none}
@keyframes blink{0%,80%,100%{opacity:.3;transform:translateY(0)}40%{opacity:1;transform:translateY(-4px)}}@keyframes shimmer{to{background-position:-200% 0}}@keyframes toast-in{from{opacity:0;transform:translate(-50%,8px)}to{opacity:1;transform:translate(-50%,0)}}
@media(min-width:1500px){.workspace{padding:38px 45px}.topbar{padding:0 45px}.planner-hero{padding:36px 40px}.planner-hero h2{font-size:33px}.panel{padding:28px}.sidebar{padding:32px 25px}.layout{grid-template-columns:270px minmax(0,1fr)}}
@media(max-width:1250px){.layout{grid-template-columns:225px minmax(0,1fr)}.sidebar{padding:28px 15px}.workspace{padding:28px 25px}.topbar{padding:0 25px}.global-search{min-width:170px}.global-search kbd{display:none}.dashboard-grid,.calendar-layout{grid-template-columns:minmax(0,1.5fr) minmax(265px,1fr);gap:18px}.stats{gap:12px}.stat{padding:16px}.planner-hero{grid-template-columns:1fr 210px;padding:26px}.planner-hero h2{font-size:26px}.hero-art{height:150px}.hero-mini-note{left:-4px}.service-grid{gap:9px}.service-card{padding:14px}.panel{padding:20px}.record-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.group-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero{gap:38px}.auth-story{padding:39px}.auth-story h1{font-size:36px}.month-day{min-height:84px;padding:6px}.distribution-row{grid-template-columns:90px 1fr 25px;gap:8px}}
@media(max-width:1060px){.dashboard-grid,.grid-main,.calendar-layout{grid-template-columns:1fr}.dashboard-grid .dashboard-side{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}.dashboard-side .panel{margin:0}.dashboard-side .sticky-note{grid-column:1/-1}.global-search{min-width:44px;width:44px;padding:10px;justify-content:center}.global-search span,.global-search kbd{display:none}.user-mini{display:none}.calendar-agenda{display:grid;grid-template-columns:1fr 1fr;gap:20px}.calendar-agenda .panel{margin:0}.price-card{padding:21px}.price-number{font-size:31px}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.auth-layout{grid-template-columns:1fr 1.05fr}.auth-story{padding:33px}.auth-story h1{font-size:32px}.auth-art{gap:10px}.auth-art .story-card{padding:15px}}
@media(max-width:820px){.layout{display:block}.sidebar{position:fixed;right:0;top:0;width:280px;height:100dvh;transform:translateX(105%);transition:transform .22s ease;box-shadow:-20px 0 70px #17382b15;z-index:110}.nav-open .sidebar{transform:translateX(0)}.sidebar-close{display:inline-flex;padding:7px;min-height:32px;width:32px;border:0;background:var(--surface-alt)}.nav-open .nav-overlay{display:block;position:fixed;inset:0;background:#122b2b5c;border:0;border-radius:0;z-index:100;cursor:default;min-height:0;transform:none}.mobile-only{display:inline-flex}.topbar{position:sticky;top:0;z-index:30;height:67px;padding:0 20px;background:var(--bg)}.breadcrumb{gap:7px;font-size:11px}.breadcrumb>span:first-child{display:none}.breadcrumb strong{max-width:160px}.top-actions{gap:4px}.top-actions>.badge{display:none}.top-actions .icon-btn{min-height:37px;width:37px;padding:8px;border-radius:10px}.avatar{width:33px;height:33px;font-size:14px;border-radius:11px}.account-btn>.icon{display:none}.workspace{padding:24px 20px 100px}.page-head{align-items:flex-start}.page-head .toolbar{justify-content:flex-end}.page-head p{font-size:13px}.page-title-row .page-glyph{width:45px;height:45px;border-radius:14px}.page-head .eyebrow{font-size:9px;margin-bottom:6px}.page-head h1{font-size:28px}.planner-hero{grid-template-columns:1fr 180px;padding:26px;min-height:180px}.hero-note{padding:16px;width:165px;font-size:12px}.hero-note strong{font-size:15px}.hero-mini-note{font-size:10px;padding:8px 11px}.hero-art .orb{height:145px;width:145px}.bottom-nav{position:fixed;bottom:0;right:0;left:0;z-index:50;display:flex;justify-content:space-around;align-items:center;background:var(--surface);border-top:1px solid var(--line);padding:9px 10px calc(9px + env(safe-area-inset-bottom));box-shadow:0 -8px 25px #153b2b06}.bottom-nav>a,.bottom-nav>button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:var(--muted);font-size:9px;font-weight:500;min-width:45px;min-height:47px;padding:4px 7px;border:0;background:transparent;border-radius:10px}.bottom-nav .icon{width:21px;height:21px}.bottom-nav .active{color:var(--green);background:var(--soft)}#toast{bottom:90px}.record-cards{grid-template-columns:repeat(3,minmax(0,1fr))}.landing{padding:0 23px}.landing-links{gap:16px;font-size:12px}.hero{padding-top:44px;gap:25px}.hero h1{font-size:36px}.hero p{font-size:14px}.hero-visual{padding:20px}.auth-layout{display:block}.auth-story{display:none}.auth-form-side{min-height:100vh;padding:100px 26px 45px}.auth-form-wrap{max-width:430px}.auth-mobile-brand{display:block;margin-bottom:35px}.auth-back{top:29px;left:25px}.auth-form-wrap h1{font-size:31px}.install-layout{padding:25px 20px;margin:15px auto}.share-page{padding:25px 20px;margin:25px auto}.share-page>.panel{padding:25px}.calendar-main{padding:20px}}
@media(max-width:600px){body{font-size:15px}.topbar{padding:0 15px;height:63px}.breadcrumb strong{max-width:125px;font-size:11px}.top-actions{gap:3px}.top-actions .global-search{width:34px;min-width:34px;min-height:34px;padding:7px;border-radius:10px}.top-actions .icon-btn{width:34px;min-height:34px;padding:7px}.top-actions .icon{width:19px;height:19px}.account-btn{padding:0}.workspace{padding:23px 15px 100px}.page-head{display:block;margin-bottom:21px}.page-head .toolbar{justify-content:flex-start;margin-top:17px;gap:7px}.page-head h1{font-size:27px}.page-head p{font-size:12px}.page-head .page-title-row{gap:11px}.page-head .page-glyph{width:43px;height:43px}.toolbar>button,.toolbar>a{font-size:12px;padding:10px 13px;min-height:41px}.planner-hero{grid-template-columns:1fr;min-height:0;padding:25px;border-radius:20px;margin-bottom:19px}.planner-hero h2{font-size:25px;line-height:1.6}.planner-hero p{font-size:13px;max-width:320px;margin-bottom:16px}.planner-hero .eyebrow{font-size:9px}.hero-art{display:none}.planner-hero .primary{font-size:12px;padding:10px 14px;min-height:40px}.stats{gap:10px;margin-bottom:19px}.stat{padding:16px 13px;border-radius:15px}.stat-top{font-size:11px}.stat .symbol{width:29px;height:29px;border-radius:9px}.stat .icon{width:17px;height:17px}.stat-value{font-size:25px;margin-top:9px}.stat small{font-size:10px}.dashboard-grid,.grid-main{gap:0}.dashboard-grid .dashboard-side{display:block}.dashboard-side .panel{margin-bottom:19px}.panel{padding:19px 16px;border-radius:18px;margin-bottom:19px}.panel-head{margin-bottom:16px;gap:10px}.panel-head h3{font-size:17px}.panel-head a{font-size:11px}.panel-head .subtitle{font-size:11px}.planner-week{gap:4px;margin:15px 0 20px}.day-chip{border-radius:11px;padding:10px 2px;min-height:75px;gap:4px}.day-chip b{font-size:21px}.day-chip>span{font-size:9px}.service-grid{gap:8px}.service-card{padding:13px 10px;border-radius:13px;gap:4px}.service-card .symbol{width:31px;height:31px;border-radius:10px;margin-bottom:6px}.service-card .symbol .icon{width:18px;height:18px}.service-card strong{font-size:14px}.service-card small{font-size:10px}.service-card .count{font-size:10px}.agenda-row{gap:10px;padding:14px 0}.agenda-row strong{font-size:13px}.agenda-row small{font-size:10px}.agenda-row .agenda-end{font-size:10px}.agenda-row .agenda-end .icon{display:none}.sticky-note{padding:23px}.goal-row{padding:14px}.goal-top strong{font-size:13px}.distribution-row{grid-template-columns:100px 1fr 24px}.record-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.record-card{padding:14px;border-radius:14px}.record-card h3{font-size:16px}.record-card .record-value{font-size:20px}.record-card .record-desc{font-size:11px}.record-card-top{gap:6px;margin-bottom:12px}.record-card-top .badge{font-size:9px;padding:4px 6px}.record-card-top .symbol{width:30px;height:30px;border-radius:10px}.record-card-top .icon{width:18px;height:18px}.record-card-bottom{font-size:10px;gap:5px;flex-wrap:wrap}.record-card-bottom .icon{width:14px;height:14px}.record-card .record-detail{padding-bottom:14px}.records-toolbar{gap:12px}.filter-row{flex-basis:100%;flex-wrap:wrap;gap:8px}.filter-row input{max-width:none;flex:1;min-width:0}.filter-row .muted{display:none}.view-toggle{margin-inline-start:auto}.filter-row button{font-size:12px}.module-overview{padding:18px 15px;gap:12px;margin-bottom:18px;border-radius:18px}.module-overview .symbol{width:42px;height:42px;border-radius:14px}.module-overview .symbol .icon{width:22px;height:22px}.module-overview h3{font-size:16px}.module-overview p{font-size:11px}.module-counter{font-size:23px!important}.module-counter small{font-size:9px}.module-intro{font-size:12px}.form-grid{grid-template-columns:1fr;gap:18px}.check-list{grid-template-columns:1fr}.field label{font-size:13px}.form-help{font-size:11px}.form-actions{gap:8px}.form-panel .form-actions{position:static}.form-heading{gap:12px;align-items:flex-start}.form-heading p{font-size:11px}.form-heading h3{font-size:17px}.detail-grid{gap:10px}.detail-item{padding:13px;min-width:0}.detail-item label{font-size:10px}.detail-item strong{font-size:13px}.detail-stats .stats{gap:10px}.detail-stats .stat-value{font-size:20px}.list-row{gap:10px;flex-wrap:wrap}.list-row .toolbar{justify-content:flex-start;gap:6px}.list-row-title{gap:10px}.list-row strong{font-size:13px}.list-row .badge{font-size:10px}.file-row{flex-wrap:wrap;gap:10px}.calendar-layout{gap:0}.calendar-main{padding:18px 12px}.calendar-toolbar{margin-bottom:16px;gap:14px}.calendar-toolbar h2{font-size:21px}.calendar-toolbar .segmented button{padding:7px 10px}.calendar-toolbar .calendar-filter{max-width:150px}.month-table th{font-size:9px;padding-bottom:11px}.month-table td{padding:2px}.month-day{min-height:54px;padding:5px;border-radius:10px;gap:3px;align-items:center}.month-day>span:first-child{font-size:11px;width:21px;height:21px;border-radius:6px}.month-event,.month-more{display:none!important}.month-mobile-count{display:block;font-size:8px;line-height:1;background:var(--soft);color:var(--green);padding:3px 5px;border-radius:4px}.month-day.selected .month-mobile-count{background:var(--green);color:var(--surface)}.calendar-agenda{display:block}.calendar-agenda .panel{margin-bottom:19px}.calendar-legend{gap:10px;font-size:9px;margin-top:15px}.calendar-list{grid-template-columns:1fr}.calendar-item{padding:14px}.calendar-date{font-size:10px}.month-table button:hover{transform:none}.group-grid{grid-template-columns:1fr}.group-card{padding:21px}.notification-row{padding:15px;gap:12px}.notification-row .symbol{width:32px;height:32px;border-radius:10px}.notification-row .symbol .icon{width:18px;height:18px}.notification-row p{font-size:12px}.notification-row strong{font-size:13px}dialog{padding:22px 18px;border-radius:19px;max-height:85dvh}dialog h2{font-size:22px}.dialog-close-row{margin-top:-6px}.tip{padding:16px;font-size:12px}.tip button{margin-bottom:7px}.settings-profile{padding:18px;gap:12px}.settings-profile h3{font-size:16px}.settings-profile p{font-size:11px}.settings-profile .avatar{width:44px;height:44px;font-size:20px}.app-footer{display:block;font-size:10px;margin-top:28px}.app-footer>span:last-child{display:block;margin-top:6px}.hero{display:block;padding:34px 0 47px}.hero h1{font-size:39px;line-height:1.5}.hero>div:first-child>p{font-size:14px}.landing{padding:0 20px}.landing-nav{padding:21px 0;gap:10px}.landing-nav .brand{font-size:25px}.landing-nav .brand-mark{width:36px;height:36px;border-radius:12px}.landing-nav .brand-copy small{font-size:9px}.landing-nav>.btn{font-size:11px;padding:10px 13px}.landing-links{display:none}.hero-visual{margin-top:37px;transform:rotate(-1deg);padding:23px}.hero-visual .visual-title{font-size:20px}.section-title{margin:37px 0 26px}.section-title h2{font-size:27px}.section-title p{font-size:12px}.landing-services{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.landing-services .panel{padding:18px 15px;border-radius:15px}.landing-services .symbol{width:39px;height:39px;border-radius:12px;margin-bottom:15px}.landing-services h3{font-size:18px}.landing-services p{font-size:12px}.pricing{grid-template-columns:1fr;gap:14px;margin-bottom:27px}.price-card{padding:24px}.price-card h2{font-size:23px}.price-number{font-size:35px;margin:11px 0}.price-card ul{margin-bottom:20px}.landing-footer{align-items:flex-start;flex-direction:column;gap:12px;font-size:11px}.faq{margin-bottom:47px}.faq p{font-size:13px}.auth-form-side{padding:95px 24px 34px}.auth-form-wrap h1{font-size:29px}.auth-form-wrap .auth-subtitle{font-size:13px}.auth-mobile-brand{margin-bottom:31px}.auth-links{gap:12px}.auth-trust{font-size:10px}.install-layout{margin:8px auto;padding:24px 15px}.install-header h1{font-size:28px}.install-header p{font-size:12px}.install-top .brand{font-size:28px}.install-top>.badge{font-size:9px}.install-panel{padding:21px 17px}.install-step-title h3{font-size:17px}.share-page{padding:23px 15px;margin:12px auto}.share-page>.panel{padding:23px 19px}.share-page>.brand{font-size:28px;margin-bottom:25px}.public-profile-hero{padding:27px}.public-profile-hero h1{font-size:30px}.public-profile-hero p{font-size:13px}.public-profile-avatar{width:52px;height:52px;font-size:24px}.policy p{font-size:14px;line-height:1.9}}
@media(max-width:370px){.record-cards{grid-template-columns:1fr}.topbar{gap:5px}.top-actions{gap:0}.breadcrumb strong{max-width:90px}.top-actions .icon-btn,.top-actions .global-search{width:32px;min-width:32px}.service-card{padding:11px 8px}.service-card small{font-size:9px}.hero h1{font-size:34px}.month-day{min-height:50px;padding:4px}.month-table td{padding:1px}.day-chip b{font-size:19px}.top-actions .avatar{width:29px;height:29px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media print{body{background:#fff;color:#000;font-size:12px;font-family:Tajawal,Arial,sans-serif}#app,#toast,dialog,.no-print{display:none!important}#print-area{display:block;padding:15px}.print-title{font-size:26px;margin-bottom:8px}table{min-width:0;width:100%;font-size:11px}th,td{white-space:normal!important;padding:10px;overflow-wrap:anywhere}.panel{box-shadow:none;border:1px solid #ddd;break-inside:avoid}.timeline-item{break-inside:avoid}a{color:#000}.page-break{break-before:page}.table-wrap{overflow:visible}.detail-grid{grid-template-columns:1fr 1fr}.notes{white-space:pre-wrap}}
.password-wrap{position:relative}.password-wrap input{padding-inline-end:48px}.password-wrap button{position:absolute;inset-inline-end:7px;top:5px;min-height:36px;width:36px;padding:8px;border:0;background:transparent;color:var(--muted);border-radius:8px}.password-wrap .icon{width:18px;height:18px}.auth-theme{position:absolute;top:25px;right:28px;background:transparent;border:1px solid var(--line);min-height:34px;width:34px;padding:7px}.auth-theme .icon{width:17px;height:17px}.calendar-mini-message{font-size:12px;color:var(--muted)}.public-share-header{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:25px}.public-share-header .brand{font-size:28px}.public-share-header .badge{font-size:10px}.auth-form-wrap .form-grid .field input:focus{box-shadow:0 0 0 4px #38806110}

@media(max-width:600px){.landing-nav .brand-copy small{display:none}.landing-nav .toolbar{gap:6px;flex-shrink:0}.landing-nav .toolbar .btn{font-size:11px;padding:10px 12px}.landing-nav .toolbar .icon{display:none}.landing-nav .brand{gap:8px;font-size:26px}.landing-nav .brand-mark{width:34px;height:34px}}

.public-theme{position:fixed;left:16px;bottom:16px;z-index:45;background:var(--surface);box-shadow:var(--shadow)}
@media(max-width:600px){.hero-visual:before{inset:-8px;transform:rotate(1deg)}.public-share-header{flex-wrap:wrap}.install-top{flex-wrap:wrap}.sidebar{visibility:hidden}.nav-open .sidebar{visibility:visible}}
@media(min-width:601px) and (max-width:820px){.sidebar{visibility:hidden}.nav-open .sidebar{visibility:visible}}

.report-distribution{display:grid;gap:19px;padding:8px 0}.distribution-row{color:var(--text)}.distribution-row progress{accent-color:var(--tone);width:100%;border:0}.report-money{display:grid;grid-template-columns:50px 1fr 1fr;gap:15px;align-items:center;padding:20px 0;border-bottom:1px solid var(--line)}.report-money .badge{justify-self:start}.report-money small{display:block;font-size:11px}.report-money strong{display:block;font-size:20px;overflow-wrap:anywhere}@media(max-width:600px){.report-money{grid-template-columns:40px 1fr 1fr;gap:10px}.report-money strong{font-size:17px}}

body.dark .day-chip.active,body.dark .day-chip.active span,body.dark .month-day.today>span:first-child,body.dark .brand-mark,body.dark .public-profile-avatar{color:#13382a}body.dark .day-chip.active .event-dot{background:#204c37}body.dark .planner-hero .primary{color:#2e4d2b}body.dark .auth-story .brand-mark{color:#fff;background:#24745e}.hero-mini-note{bottom:-18px}
