:root{--purple:#714597;--deep:#352349;--teal:#42bdaf;--muted:#8c8795;--line:#eeebf2;--bg:#f8f9fc}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--deep);font-family:Almarai,sans-serif;font-size:16px;line-height:1.8}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}a{text-decoration:none;color:var(--purple)}button{border:0}button:focus-visible,a:focus-visible{outline:3px solid var(--teal);outline-offset:4px}h1,h2,h3,p{margin:0}h1{font-size:32px;line-height:1.5;letter-spacing:-.7px}h2{font-size:19px}h3{font-size:16px}p{color:var(--muted)}small{font-size:16px}label{display:block;font-size:16px;font-weight:700;margin:18px 0}input,textarea,select{display:block;width:100%;padding:12px 14px;border:1px solid #e6e1eb;border-radius:10px;background:white;color:var(--deep);outline:none;margin-top:7px}input:focus,textarea:focus,select:focus{border-color:var(--purple);box-shadow:0 0 0 3px #71459712}.primary{background:var(--purple);color:white;padding:12px 23px;border-radius:10px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;gap:15px;box-shadow:0 6px 16px #71459718}.primary:hover{background:#603783}.full{width:100%;margin-top:12px}.brand{display:flex;align-items:center;gap:10px;color:var(--deep)}.brand img{width:44px;height:48px;object-fit:contain}.brand b{font-size:23px;letter-spacing:-.7px;line-height:1.5}.brand span{display:block;font-size:16px;color:var(--muted);letter-spacing:0;direction:rtl;font-weight:400}.sidebar{position:fixed;right:0;top:0;bottom:0;width:248px;padding:35px 23px 22px;background:white;border-left:1px solid var(--line);display:flex;flex-direction:column}.nav-label{font-size:16px;color:#202124;margin:48px 13px 13px}nav{display:grid;gap:7px}nav a{display:flex;gap:15px;align-items:center;padding:12px 15px;border-radius:10px;color:#202124;font-size:17px}nav a span{font-size:16px}nav a.active{background:#f1ebf7;color:var(--purple);font-weight:700}nav i{margin-right:auto;font-size:16px;font-style:normal;background:white;padding:0 7px;border-radius:5px}.sidebar-tip{margin-top:auto;background:#f8f5fc;border:1px solid #eee6f5;border-radius:12px;padding:17px}.sidebar-tip>span{color:var(--purple);font-size:24px;display:block}.sidebar-tip strong{display:block;font-size:16px;margin:5px 0}.sidebar-tip p{font-size:16px}.profile{border-top:1px solid var(--line);margin-top:25px;padding-top:20px;display:flex;gap:10px;align-items:center}.avatar{width:37px;height:37px;display:grid;place-items:center;background:#eee5f4;border-radius:50%;color:var(--purple);font-weight:700}.profile strong{font-size:16px}.profile small{display:block;color:var(--muted)}.profile form{margin-right:auto}.icon{background:transparent;color:#202124;font-size:21px;padding:4px 8px}.workspace{margin-right:248px}header{height:82px;border-bottom:1px solid var(--line);background:#ffffffa6;padding:0 42px;display:flex;justify-content:space-between;align-items:center;font-size:16px;color:#202124}header b{color:#202124;font-weight:400}header>div{display:flex;align-items:center;gap:9px}.status-dot{width:6px;height:6px;background:var(--teal);border-radius:50%}.content{max-width:1400px;margin:auto;padding:35px 42px}.page-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:26px}.eyebrow{font-size:16px;color:var(--purple);display:block;margin-bottom:8px;letter-spacing:.8px}.page-title p{font-size:16px;margin-top:6px}.wave{color:#ddb866;font-weight:400;margin-right:6px}.welcome{background:#efeaf7;min-height:230px;border:1px solid #e8dff0;border-radius:17px;position:relative;overflow:hidden;display:flex;justify-content:space-between;align-items:center;padding:26px 32px;margin-bottom:24px}.welcome h2{font-size:26px;line-height:1.6;margin-top:9px}.welcome p{font-size:16px;margin:8px 0}.pill{font-size:16px;color:var(--purple);background:#ffffffa8;border-radius:5px;padding:4px 9px}.text-button{background:transparent;color:var(--purple);font-size:16px;font-weight:700;padding:6px 0}.clock-art{position:relative;width:250px;height:195px;display:grid;place-items:center;margin-left:45px}.clock-art:before{content:'';position:absolute;width:210px;height:210px;border-radius:50%;border:1px solid #dcd0e8}.clock-face{position:relative;border:10px solid #a68abb;width:153px;height:153px;background:#fffdfd;border-radius:50%;transform:rotate(-12deg);box-shadow:12px 15px 0 #d7cce5,18px 22px 28px #80669724}.clock-face:after{content:'';position:absolute;width:12px;height:12px;border-radius:50%;background:var(--purple);top:61px;left:61px}.clock-face i{position:absolute;top:28px;left:65px;width:5px;height:41px;border-radius:3px;background:var(--purple)}.clock-face b{position:absolute;top:64px;left:65px;width:35px;height:5px;background:var(--teal);transform:rotate(30deg);transform-origin:0 50%;border-radius:4px}.clock-face span,.clock-face small{position:absolute;font-size:16px;left:60px;top:5px;color:#202124}.clock-face small{top:auto;bottom:3px;left:64px}.float-check{position:absolute;bottom:5px;right:24px;width:47px;height:47px;display:grid;place-items:center;background:var(--teal);border:5px solid #f0eaf6;border-radius:15px;color:white;font-size:24px;transform:rotate(12deg)}.float-star{position:absolute;top:6px;left:12px;font-size:35px;color:#202124}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:25px}.stats article{position:relative;background:white;border:1px solid var(--line);border-radius:13px;padding:20px}.stats small{display:block;color:#202124;font-size:16px}.stats strong{display:block;font-size:29px;margin-top:6px;line-height:1.6}.stats em{font-style:normal;font-size:16px;color:#202124}.stat-icon{position:absolute;left:17px;top:18px;width:31px;height:31px;border-radius:9px;display:grid;place-items:center;font-size:17px}.purple{color:var(--purple);background:#f1eaf8}.teal{color:#32a899;background:#e8f8f5}.green{color:#202124;background:#eef7ef}.orange{color:#d39d63;background:#fff4e8}.panel{background:white;border:1px solid var(--line);border-radius:14px;padding:24px;margin-bottom:22px}.section-title{display:flex;align-items:center;justify-content:space-between;gap:20px}.section-title h2{font-size:16px}.section-title p{font-size:16px;margin-top:3px}.section-title input{width:210px;font-size:16px;background:#fcfbfd;margin:0;padding:10px 13px}.filters{display:flex;gap:9px;border-bottom:1px solid var(--line);padding:19px 0 16px}.filters button{font-size:16px;color:#202124;background:transparent;padding:5px 16px;border-radius:7px}.filters .selected{color:var(--purple);background:#f0eaf7;font-weight:700}.reminder{display:flex;align-items:center;gap:15px;padding:22px 0;border-bottom:1px solid #f2eff5}.reminder:last-child{border-bottom:0}.complete{width:21px;height:21px;border:1.5px solid #dcd6e4;border-radius:7px;background:white;color:var(--teal)}.complete:hover,.complete.checked{background:#e5f6f2;border-color:var(--teal)}.reminder-info{flex:1;min-width:0}.reminder-info h3{font-size:16px;overflow-wrap:anywhere}.reminder-info p{font-size:16px;max-width:450px;white-space:pre-line}.meta{display:flex;gap:14px;font-size:16px;color:#202124;margin-top:7px}.tag{padding:3px 10px;border-radius:5px;font-size:16px;background:#f1eaf7;color:#202124}.tag.work{color:#5f89b4;background:#edf3fc}.tag.health{color:#4b9d8e;background:#eaf8f1}.tag.bills{color:#c39255;background:#fdf4e6}.priority{font-size:16px;color:#202124;white-space:nowrap}.priority.high{color:#d69285}.priority.medium{color:#c8ad6b}.priority.low{color:#6bb7a7}.bottom-note{text-align:center;font-size:16px;color:#202124;padding:10px}footer{padding:20px 42px;font-size:16px;color:#202124;border-top:1px solid var(--line)}footer span{float:left;direction:ltr}.empty{text-align:center;padding:45px 15px}.empty>span{font-size:33px;color:var(--teal)}.empty h3{margin:10px}.empty p{font-size:16px}[hidden]{display:none!important}dialog{border:0;border-radius:18px;width:500px;max-width:94vw;max-height:92vh;overflow:auto;padding:28px;color:var(--deep);box-shadow:0 25px 100px #25103733}dialog::backdrop{background:#251b3a70;backdrop-filter:blur(4px)}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.form-grid label{margin:0}.check{display:flex;align-items:center;gap:10px;font-weight:400}.check input{width:16px;height:16px;margin:0;accent-color:var(--purple)}.muted{color:var(--muted);font-size:16px;margin-top:10px}.settings-form{max-width:500px}.alert{padding:12px 17px;border-radius:8px;background:#fff0ec;color:#a24c42;margin-bottom:20px;font-size:16px}.alert.success{background:#e9f7f1;color:#3c8b72}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;margin-top:15px;font-size:16px;text-align:right}td,th{padding:14px;border-bottom:1px solid var(--line)}th{color:var(--muted);font-weight:400}.auth{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.brand-story{background:#eee8f5;padding:50px 65px;display:flex;flex-direction:column;justify-content:space-between;min-height:100vh}.brand-story h1{font-size:48px;margin:16px 0}.brand-story p{line-height:2.1}.brand-story>small{color:#202124}.sample{display:flex;align-items:center;gap:15px;margin-top:32px;padding:22px;border-radius:13px;background:#ffffffbd;max-width:390px;transform:rotate(-3deg);box-shadow:0 18px 35px #5a377c0a}.sample small{display:block;color:var(--muted);font-size:16px}.sample .pill{margin-right:auto}.mini-icon{padding:5px 12px;background:#dff4ee;color:#4aaa99;border-radius:50%}.auth-box{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:50px}.form-card{width:100%;max-width:370px}.form-card h2{font-size:26px;margin-bottom:9px}.form-card>p{font-size:16px}.auth-box footer{margin-top:60px;border:0;text-align:center}.center{text-align:center;margin-top:25px!important}.center a{font-weight:700}#toast{position:fixed;bottom:25px;left:25px;background:var(--deep);color:white;padding:14px 22px;border-radius:12px;z-index:100;font-size:16px}@media(min-width:1600px){.content{padding-top:50px}.welcome{min-height:260px}}@media(max-width:1100px){.sidebar{width:210px;padding:30px 17px}.workspace{margin-right:210px}.content{padding:28px 24px}header{padding:0 24px}.stats{gap:10px}.stats article{padding:15px}.stat-icon{display:none}.clock-art{margin-left:0}.priority{display:none}.reminder{gap:10px}}@media(max-width:760px){.sidebar{position:static;width:100%;padding:17px 20px;border:0}.sidebar .brand{justify-content:center}.nav-label,.sidebar-tip,.profile{display:none}nav{display:flex;overflow:auto;gap:6px;margin-top:17px}nav a{white-space:nowrap;padding:8px 10px;gap:6px}nav a span{font-size:16px}nav i{display:none}.workspace{margin:0}header{height:50px;padding:0 20px;font-size:16px}header>div{font-size:16px}.content{padding:24px 16px}.page-title{gap:10px}h1{font-size:25px}.page-title p{font-size:16px}.page-title .primary{padding:10px 12px;font-size:16px;gap:5px}.welcome{padding:20px;min-height:215px}.welcome h2{font-size:23px}.welcome p{font-size:16px;max-width:180px}.clock-art{width:130px;height:160px;transform:scale(.78);margin-left:-15px}.clock-art:before{width:180px;height:180px}.stats{grid-template-columns:1fr 1fr}.stats article{padding:15px 18px}.stat-icon{display:grid}.stats strong{font-size:25px}.panel{padding:18px 14px}.section-title{gap:10px}.section-title input{width:130px}.section-title h2{font-size:16px}.filters{gap:0}.filters button{padding:5px 13px}.tag{display:none}.reminder-info h3{font-size:16px}.meta{flex-wrap:wrap;gap:4px 12px}.reminder .icon{padding:3px}.auth{display:block}.brand-story{min-height:0;padding:25px}.brand-story>div,.brand-story>small{display:none}.brand-story .brand{justify-content:center}.auth-box{padding:35px 25px}.auth-box footer{margin-top:30px}footer{padding:20px 16px;font-size:16px}.bottom-note{font-size:16px}}

/* Quick capture interface */
.workspace .welcome,.workspace .stats,.sidebar-tip,.bottom-note,.workspace .eyebrow,.workspace .wave,.reminders>.filters,.extra-field,.form-grid,.reminder .tag{display:none}.content{max-width:1100px}.page-title h1{font-size:24px}.page-title p{font-size:16px}.page-title{margin-bottom:24px}.quick-capture{background:white;border:1px solid #e5dfec;border-radius:13px;padding:17px 20px;margin-bottom:24px}.quick-capture form{display:flex;gap:10px;align-items:center}.quick-capture input{border:0;background:transparent;margin:0;font-size:17px;box-shadow:none;padding:8px 0}.quick-capture .primary{font-size:24px;padding:0 15px;height:43px}.time-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.time-chips button{border:1px solid #ece7f1;background:white;color:#202124;font-size:16px;border-radius:6px;padding:5px 10px}.time-chips .selected{color:var(--purple);background:#f4eff9;border-color:#d9cce8}.quick-tabs{display:flex;gap:8px;margin-bottom:18px}.quick-tabs button{flex:1;background:transparent;border-bottom:2px solid transparent;padding:10px;color:#202124;font-size:16px}.quick-tabs .selected{border-color:var(--purple);color:var(--purple);font-weight:700}.quick-tabs small{display:block;font-size:16px;font-weight:400}.reminders{padding-top:16px}.reminder{min-height:85px;touch-action:pan-y;transition:background .15s}.reminder-info p:empty{display:none}.time-badge{color:#202124}.time-badge.overdue{color:#d12c39;font-weight:700}.time-badge.soon{color:#dc8b14;font-weight:700}.meta>span:nth-child(2){display:none}.urgent{display:flex;gap:9px;align-items:center}.urgent input{width:17px;accent-color:var(--purple);margin:0}#system-status{padding:5px;text-align:center;background:#fff0d6;color:#805d18;font-size:16px}#undo{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#30253b;color:white;border-radius:10px;padding:12px 20px;display:flex;gap:25px;z-index:110;font-size:16px}#undo button{background:transparent;color:#7ce0cd;font-weight:700}button:disabled{opacity:.4;cursor:default}.sidebar .nav-label{margin-top:30px}.sidebar nav a{padding:10px 12px}.offline-pending{opacity:.65}.reminder-info h3{font-size:16px}@media(max-width:760px){.quick-capture{padding:14px}.quick-capture input{font-size:16px}.time-chips button{font-size:16px;padding:5px 7px}.quick-tabs button{font-size:16px}.reminder-info h3{font-size:16px}.section-title input{width:110px}.quick-tabs small{font-size:16px}.reminder .priority{display:inline;font-size:16px}.reminders .section-title p{font-size:16px}.workspace header>div{font-size:0}.workspace header>div button{font-size:23px}}

.guest-main{max-width:800px;margin:auto;padding:35px 20px}.guest-main .brand{margin-bottom:30px}.auth{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:100vh}.brand-story{min-height:0;background:transparent;padding:20px}.brand-story>div,.brand-story>small{display:none}.auth-box{padding:10px 24px;width:100%;max-width:450px}.auth-box .form-card{background:white;padding:27px;border:1px solid var(--line);border-radius:14px}.auth-box footer{margin-top:15px;padding:20px 0}.auth-box h2{font-size:24px}

.workspace .admin-stats{display:grid}.danger{background:#c33441;color:white;padding:12px 20px;border-radius:9px}dialog .section-title{position:sticky;top:-28px;background:white;z-index:2}.quick-capture input{min-width:0}.reminder-info{overflow-wrap:anywhere}@media(max-width:390px){.content{padding:20px 12px}.time-chips{gap:5px}.time-chips button{font-size:16px}.quick-tabs small{display:none}.section-title{flex-wrap:wrap}.section-title input{width:100%}.page-title h1{font-size:21px}nav a{padding:8px 7px}.reminder{gap:8px}.priority{display:none!important}.admin-stats{grid-template-columns:1fr 1fr}}

.install-app{position:fixed;bottom:22px;left:22px;z-index:50;background:#714597;color:white;padding:10px 15px;border-radius:50px;display:flex;gap:8px;align-items:center;box-shadow:0 4px 18px #43236030;font-size:16px}.install-app span{display:grid;place-items:center;border:1px solid #ffffff80;border-radius:50%;width:25px;height:25px;font-size:19px}.install-help p{margin:20px 0;line-height:2;font-size:16px}.install-help{max-width:390px}#toast,#undo{bottom:90px}@media(max-width:760px){.install-app{bottom:15px;left:15px;padding:8px 12px;font-size:16px}footer{padding-bottom:80px}}

@media(max-width:760px){input,select,textarea,.quick-capture input{font-size:16px}.time-chips button{font-size:16px;min-height:40px;padding:7px 10px}.filters button,.quick-tabs button{min-height:44px}.quick-tabs button{font-size:16px}nav a{min-height:44px}nav a span{font-size:16px}nav{scrollbar-width:none}nav::-webkit-scrollbar{display:none}.reminder .icon{min-width:34px;min-height:44px}.reminder-info h3{font-size:16px}.meta{font-size:16px}.page-title p{font-size:16px}.section-title p{font-size:16px}.complete{width:25px;height:25px}.section-title input{font-size:16px}.install-app{min-height:44px}.check{font-size:16px}dialog label{font-size:16px}.primary{min-height:44px}.reminder{min-height:88px}.auth-box .form-card{padding:23px}.auth-box label{font-size:16px}}

#notify.notify-toggle{display:inline-flex;align-items:center;gap:9px;width:auto;min-height:44px;max-width:100%;padding:9px 12px;border:1px solid #714597;border-radius:12px;background:#fff;color:#563174;font-family:inherit;cursor:pointer}#notify>span{display:flex;flex-direction:column;gap:3px}#notify strong{font-size:16px;white-space:nowrap}#notify small{font-size:16px}#notify-action{font-size:16px;font-weight:700;border-inline-start:1px solid #dbcce8;padding-inline-start:9px}#notify[aria-pressed=true]{background:#f0e9f6}#notify svg{flex-shrink:0}#notify:disabled{opacity:.6;cursor:wait}
