:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,sans-serif;color:#26372f;background:#f6f3f8;font-synthesis:none;--forest:#123b2a;--muted:#657067;--purple:#321547;--lavender:#eadff2;--line:#ded7e5}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,.file-button{cursor:pointer;min-height:46px;border:1px solid var(--line);border-radius:12px;padding:10px 17px;background:#fff;color:var(--forest);font-weight:600}button:hover{background:#eee6f4}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #9463b2;outline-offset:3px}.primary{background:var(--purple);color:white;border-color:var(--purple)}.primary:hover{background:#4c2765}.danger{color:#a13030;border-color:#d9aaaa}header{height:92px;padding:0 5%;display:flex;align-items:center;justify-content:space-between;background:var(--forest);color:#fff;border-bottom:4px solid var(--purple)}.brand{color:var(--lavender);font:25px Georgia,serif;letter-spacing:.15em;text-decoration:none}.brand span{display:block;font:11px system-ui;letter-spacing:.04em;color:#cedbce;margin-top:7px}.header-actions{display:flex;gap:20px;align-items:center;font-size:12px}.header-actions button{background:transparent;color:#f1e9f6;border-color:#9d83ad}.shell{max-width:1440px;margin:auto;display:grid;grid-template-columns:210px 1fr;min-height:calc(100vh - 92px)}aside{padding:40px 22px;border-right:1px solid var(--line);background:var(--purple);color:#f5eff9}aside .eyebrow,aside .aside-note{color:#d7c4e3}aside nav button{color:#f5eff9}aside nav button.active{background:var(--forest);color:#fff}aside nav button:hover{background:#4c2765}.eyebrow{font-size:11px;letter-spacing:.15em;font-weight:700;color:var(--muted);margin:0 0 12px}nav{display:grid;gap:8px}nav button{border-color:transparent;background:transparent;text-align:left;display:flex;gap:14px;align-items:center;font-size:19px}nav button span{font-size:14px}nav button.active{background:#e8dcef;color:var(--forest)}.aside-note{margin-top:90px;color:var(--muted);font:italic 19px/1.6 Georgia,serif;padding:0 10px}main{padding:42px clamp(20px,4vw,60px);min-width:0;max-width:1150px}.heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:28px}h1{font:clamp(28px,3.4vw,43px)/1.15 Georgia,serif;margin:0 0 12px;letter-spacing:-.025em}p{color:var(--muted);line-height:1.6}h2{font:24px Georgia,serif;margin:0 0 12px}h3{font:20px Georgia,serif}.heading p{margin:0}.heading .eyebrow{margin-bottom:12px}.heading button{white-space:nowrap}.daybar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:22px}.daybar label{display:flex;align-items:center;gap:10px;font-size:13px}.daybar input{width:auto}.daybar span{margin-left:auto;font-size:12px;color:var(--muted)}input,select,textarea{border:1px solid #c9d4c7;border-radius:9px;background:white;padding:12px;color:#26372f;min-height:46px;max-width:100%;width:100%}textarea{resize:vertical;min-height:110px}input[type=checkbox]{width:24px;height:24px;min-height:24px;accent-color:var(--forest);flex-shrink:0}.summary{display:grid;grid-template-columns:1.2fr 1fr;padding:26px;background:var(--forest);color:#f5f7f4;border-radius:18px;gap:25px;margin-bottom:30px;border:1px solid #c7d5cc}.summary p{font-size:13px;margin:8px 0}.summary h2{font-size:28px}.focus-tip{border-left:1px solid #bfcebf;padding-left:26px;display:flex;flex-direction:column;justify-content:center}.focus-tip span{font-size:10px;letter-spacing:.12em;color:var(--muted)}.focus-tip strong{font:22px Georgia,serif;margin-top:8px}progress{width:100%;height:8px;accent-color:var(--forest);border:0;border-radius:20px;overflow:hidden}progress::-webkit-progress-bar{background:#cbb9d7}progress::-webkit-progress-value{background:#321547}.section-label{display:flex;justify-content:space-between;gap:12px;align-items:baseline;margin:28px 0 16px}.section-label h2{margin:0}.section-label span{font-size:12px;color:var(--muted)}.top-list{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.top-card{background:#eee6f4;border:1px solid #d9c7e4;border-radius:14px;padding:16px;text-align:left;min-height:100px;font-weight:500;line-height:1.5}.top-card b{display:block;color:#321547;font-size:11px;margin-bottom:10px}.top-card.empty{color:var(--muted);background:transparent;border-style:dashed}.filters{display:flex;gap:12px;align-items:center;margin-bottom:16px}.filters input[type=search]{flex:1;min-width:100px}.filters select{width:150px}.filters label{display:flex;align-items:center;gap:7px;white-space:nowrap;font-size:12px}.task{display:flex;align-items:center;gap:14px;background:white;border:1px solid var(--line);border-radius:14px;padding:16px;margin:10px 0}.task .completion{appearance:none;width:44px;height:44px;min-width:44px;min-height:44px;border:2px solid #8caa94;border-radius:12px;cursor:pointer;display:grid;place-content:center;margin:0}.completion:checked{background:var(--forest);border-color:var(--forest)}.completion:checked:after{content:'✓';font-size:29px;color:white}.task.done .task-name{text-decoration:line-through;color:var(--muted)}.task-body{min-width:0;flex:1}.task-name{font-weight:600;overflow-wrap:anywhere}.task-meta{display:flex;flex-wrap:wrap;gap:6px 12px;color:var(--muted);font-size:11px;margin-top:8px}.tag{background:#edf1e9;border-radius:5px;padding:2px 7px}.overdue{color:#a13c2e}.task-preview{font-size:12px;color:var(--muted);white-space:pre-wrap;overflow-wrap:anywhere;margin-top:8px}.star{font-size:23px;color:#4c2765;padding:5px;min-width:44px;border-color:transparent}.star.on{background:#e8dcef}.edit{font-size:12px;padding:9px}.empty-state{border:1px dashed #bfcdbc;padding:30px;text-align:center;border-radius:14px;color:var(--muted)}.hint{font-size:12px}.settings-card{background:#fff;border:1px solid var(--line);padding:24px;border-radius:15px;margin:18px 0}.settings-card p{font-size:14px}.file-button{display:inline-block;margin:8px;position:relative;overflow:hidden}.file-button input{position:absolute;inset:0;opacity:0;cursor:pointer}#note-form{display:grid;gap:12px;background:#e8eee8;border-radius:14px;padding:20px}#note-form button{justify-self:start}.note{background:white;border:1px solid var(--line);padding:20px;border-radius:14px;margin:16px 0}.note p{white-space:pre-wrap;overflow-wrap:anywhere;color:#26372f}.note small{color:var(--muted)}dialog{border:1px solid var(--line);border-radius:20px;padding:25px;width:min(560px,calc(100% - 24px));max-height:90dvh;overflow:auto;box-shadow:0 20px 80px #09251c44}dialog::backdrop{background:#09251c88}dialog form{display:grid;gap:14px}dialog label{display:grid;gap:7px;font-size:13px}.dialog-head,.dialog-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}.dialog-head button{font-size:24px;padding:2px 14px}.dialog-head h2{margin:0}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.checkline{display:flex;align-items:center;gap:10px}dialog .hint{margin:0}#form-error,#storage-error{color:#8c2525}#storage-error{padding:18px;background:#ffeded;border:1px solid #ca8585;margin-bottom:20px;border-radius:12px}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#173e31;color:white;padding:14px 22px;border-radius:12px;max-width:90%;z-index:10;box-shadow:0 4px 20px #0003;font-size:14px}[hidden]{display:none!important}
@media(max-width:760px){header{height:78px;padding:0 20px}.brand{font-size:21px}.header-actions{gap:8px}.header-actions span{display:none}.shell{display:block}aside{position:sticky;top:0;z-index:2;padding:6px;background:var(--purple);border-bottom:1px solid var(--line);border-right:0}aside .eyebrow,.aside-note{display:none}nav{display:flex;justify-content:space-around;gap:0}nav button{flex-direction:column;gap:1px;padding:6px 8px;min-width:0;border-radius:9px}nav button span{font-size:10px}main{padding:26px 16px 40px}.heading{align-items:flex-start;margin-bottom:20px}.heading p:not(.eyebrow){font-size:12px}.heading button{font-size:12px;padding:10px 12px}.daybar{gap:8px}.daybar span{margin-left:0;width:100%}.summary{padding:20px;gap:18px;grid-template-columns:1fr}.focus-tip{padding-left:0;padding-top:16px;border-left:0;border-top:1px solid #bfcebf}.focus-tip strong{font-size:20px}.section-label span{font-size:10px;text-align:right}.top-list{gap:8px}.top-card{padding:12px;font-size:12px}.filters{flex-wrap:wrap}.filters input[type=search]{width:50%}.filters select{width:130px}.task{padding:13px 10px;gap:10px;flex-wrap:wrap}.task-body{flex-basis:calc(100% - 110px)}.task .edit{margin-left:auto;min-height:44px}.task-name{font-size:14px}.task-preview{font-size:12px}#toast{bottom:16px;width:max-content}.settings-card{padding:20px}}
@media(prefers-reduced-motion:no-preference){button{transition:background .15s}}
.appointment{display:flex;align-items:center;justify-content:space-between;gap:14px;background:#fff;border:1px solid #d9c7e4;border-left:4px solid #321547;border-radius:12px;padding:18px;margin:10px 0}.appointment h3{margin:5px 0;font-size:20px;overflow-wrap:anywhere}.appointment p{margin:4px 0;font-size:13px}.appointment .eyebrow{font-size:11px}.outlook-link{font-size:12px;color:#4c2765;white-space:nowrap}.calendar-actions{display:flex;flex-wrap:wrap;gap:8px}#outlook-calendar-choices{display:grid;gap:12px;margin:16px 0}#outlook-setup{margin:18px 0;padding:16px;background:#f0eaf4;border-radius:12px}#outlook-setup summary{cursor:pointer;font-weight:600;min-height:30px}#outlook-setup li{margin:12px 0;line-height:1.6;font-size:14px}#outlook-setup code{overflow-wrap:anywhere}#outlook-save-setup{margin-top:12px}#appointments{margin-bottom:28px}#appointments .section-label button{font-size:12px}#outlook-settings a{color:#4c2765}#outlook-settings input{margin-top:8px}@media(max-width:760px){nav button{padding:6px 5px}.appointment{align-items:flex-start;flex-direction:column}}
@media(max-width:760px){.summary{padding:16px;gap:10px;margin-bottom:20px}.summary h2{font-size:23px;margin-bottom:5px}.summary .eyebrow{margin-bottom:7px}.focus-tip{padding-top:10px}.focus-tip strong{font-size:18px}.focus-tip p{display:none}.top-card{min-height:68px}.top-card.empty:not(:first-child){display:none}.top-list{grid-template-columns:1fr}.top-card b{display:inline;margin-right:10px}.top-card.empty{min-height:52px}.section-label{margin-top:22px}}

/* Forest green and dark purple are Afinah’s primary brand colors. */
#goal-area{max-width:300px;margin:10px 0 20px}.goal-group{margin-top:28px;color:var(--purple);font-size:21px}.goal-card h3{color:var(--purple);overflow-wrap:anywhere}.goal-card progress{margin:8px 0}.goal-card .calendar-actions{margin-top:16px}#goals-view>p{font-size:14px}#move-error,#goal-error{color:#8c2525}@media(max-width:760px){nav button{padding:6px 3px}nav button span{font-size:9px}}
#toast button{margin-left:16px;background:#f1e9f6;color:var(--purple);min-height:44px}#deleted-task-list h3{overflow-wrap:anywhere}#deleted-tasks{scroll-margin-top:90px}
.summary p,.summary .eyebrow,.summary .focus-tip span{color:#d5e3d8}.summary progress::-webkit-progress-bar{background:#456452}.summary progress::-webkit-progress-value{background:#d4b9e5}.summary progress{accent-color:#d4b9e5}.summary .focus-tip{border-color:#456452}.section-label h2,h1{color:var(--purple)}.brand{color:#f1e9f6}.star:focus-visible{outline-color:#9463b2}
