/* WM 1.34 — calm, warm and recognisably WM in every interaction. */
:root{--wm-ink:#172033;--wm-paper:#f8f7f3;--wm-surface:#fff;--wm-line:#e3e5e9;--wm-muted:#70798a;--wm-blue:#216be8;--wm-red:#ec514d;--wm-yellow:#f5cc36;--wm-mint:#dcebe3;--wm-lilac:#e7e2f4;--wm-shadow:0 12px 30px rgba(26,37,56,.075);--wm-radius:18px;--wm-radius-small:12px}
html,body{color:var(--wm-ink);background:var(--wm-paper)}
body{font-family:'Quicksand',system-ui,sans-serif;letter-spacing:-.01em}
button,input,textarea,select{font-family:inherit}.shell{background:transparent}.main{max-width:1120px;padding-top:38px}.main:before{background:rgba(224,233,247,.38);filter:blur(92px)}
.topbar{height:78px;border-bottom:1px solid var(--wm-line);background:rgba(255,255,255,.86);box-shadow:0 2px 16px rgba(27,39,59,.025)}.brand{width:70px;height:42px;padding:0}.top-actions{gap:5px}.round-action,.capture,.avatar{width:42px;height:42px;border-radius:14px}.round-action{color:var(--wm-ink)}.round-action:hover{background:#f0f3f7}.capture{box-shadow:0 8px 18px rgba(22,31,47,.18)}.avatar{box-shadow:0 4px 12px rgba(35,47,68,.1)}.badge-wrap i{border-color:#fff;top:-2px;right:-2px}.attention-action i{background:var(--wm-yellow);color:var(--wm-ink)}
.hero,.page-heading,.detail-head{border-bottom:0;padding-bottom:0}.hero h1,.page-heading h1,.detail-head h1{font-weight:700;letter-spacing:-.055em;color:var(--wm-ink)}.hero p,.page-heading p,.detail-head p{color:#7a8290;letter-spacing:.15em}.hero>div>span,.page-heading>span,.detail-head>span{color:var(--wm-muted);line-height:1.6}.page-heading:after{margin-top:21px!important;height:6px!important;width:56px!important}.hero-mark{border-radius:24px;overflow:hidden;gap:4px;box-shadow:var(--wm-shadow)}
.today-layout{gap:26px;padding-top:28px}.day-stream,.glance,.budget-workspace,.calendar-deadlines{border-radius:var(--wm-radius)}.day-stream{background:rgba(255,255,255,.8);border:1px solid var(--wm-line);box-shadow:var(--wm-shadow);padding:12px 24px}.section-head{height:auto;padding:10px 0 16px;color:var(--wm-muted)}.stream-row{border-color:var(--wm-line);border-radius:12px;padding:18px 5px}.stream-row:hover{background:#fafbfc}.glance-card{border:1px solid var(--wm-line);border-radius:var(--wm-radius);box-shadow:var(--wm-shadow);overflow:hidden}.glance-card:before{content:'';position:absolute;width:80px;height:80px;right:-28px;top:-28px;border-radius:50%;background:rgba(255,255,255,.24)}.yellow-panel{background:#fffaf0}.yellow-panel b{color:#8b6810}.red-panel{background:#fff5f3;color:var(--wm-ink)}.red-panel b{color:#bd3a37}.ink-panel{background:#202b42}.paper-panel{background:#fff}.glance-card>span{color:var(--wm-muted)}.ink-panel>span,.ink-panel small{color:#c8d0de}
.filter-row{gap:9px;padding:24px 0}.filter-row button,.task-tabs button{border-color:var(--wm-line);border-radius:11px;background:#fff;color:var(--wm-ink);box-shadow:0 3px 8px rgba(27,37,53,.025)}.filter-row button.active,.task-tabs button.active{background:#eef4ff;border-color:#bed4fc;color:#125dd6}.agenda-list section,.calendar-deadlines{background:#fff;border:1px solid var(--wm-line);border-radius:var(--wm-radius);padding:10px 22px;box-shadow:var(--wm-shadow)}.agenda-list section>header{border-color:var(--wm-line)}.agenda-list article{border-color:var(--wm-line);padding:18px 0}.agenda-list h3,.calendar-deadlines h2{font-weight:700}.sync-bar{border-radius:13px;background:#f3f6fa;border:1px solid var(--wm-line);padding:11px 14px}
.list-grid,.life-grid,.entity-grid{gap:16px}.list-tile,.life-card,.entity-card,.new-module{border-color:var(--wm-line)!important;border-radius:var(--wm-radius);box-shadow:var(--wm-shadow);transition:transform .18s ease,box-shadow .18s ease}.list-tile:hover,.life-card:hover,.entity-card:hover,.new-module:hover{transform:translateY(-2px);box-shadow:0 18px 36px rgba(26,37,56,.11)}.list-tile:before,.entity-card:before{width:5px}.tile-icon,.life-icon,.entity-icon,.detail-symbol{border-radius:14px}.tile-icon{box-shadow:0 5px 12px rgba(26,37,56,.08)}.privacy{color:#87909d}.list-tile h2,.entity-card h2,.life-card h2{font-weight:700;color:var(--wm-ink)}.new-module{background:rgba(255,255,255,.55);border-style:dashed!important;color:var(--wm-muted)}
.detail-head{padding:4px 0 25px}.detail-head>button{color:#5e6b80;margin-bottom:23px}.detail-head .detail-icon,.detail-head .detail-symbol{margin-bottom:15px}.detail-actions{gap:8px}.detail-actions button{border:1px solid var(--wm-line);border-radius:10px;background:#fff;padding:9px 12px;box-shadow:0 3px 10px rgba(27,37,53,.035)}.task-card,.grocery-store,.collection-card,.budget-panel,.entity-panel,.record-section{border-color:var(--wm-line)!important;box-shadow:var(--wm-shadow)}.task-card{border-radius:15px}.task-card.priority-high{border-left-color:var(--wm-red)}.task-card.priority-low{border-left-color:#cbd2dc}.task-tabs{padding-top:4px}.task-tabs button{border-radius:99px}.task-tabs button.active{background:var(--wm-ink);border-color:var(--wm-ink);color:#fff}
.grocery-capture{border-color:#e8dfc8;background:#fffdf7;box-shadow:var(--wm-shadow)}.grocery-capture input{border-color:var(--wm-line);border-radius:9px}.grocery-capture>button{border-radius:11px}.grocery-favourites{background:#f7f4ec;border:1px solid #eee3c7}.grocery-store{border-radius:16px}.grocery-store header{color:var(--wm-ink)}.grocery-store article{border-color:#eef0f3}
.collection-toolbar label,.collection-toolbar button{border-radius:13px;box-shadow:0 4px 12px rgba(27,37,53,.035)}.collection-card{border-radius:17px}.collection-card:hover{transform:translateY(-1px)}.collection-placeholder{border-radius:13px;background:#f1f3f7}.collection-insight{border-radius:17px}.inventory-card-actions small{border-radius:7px}
.budget-page{gap:18px}.budget-page-hero{border-radius:24px;box-shadow:0 20px 48px rgba(28,42,68,.17)}.budget-workspace{border-color:var(--wm-line);box-shadow:var(--wm-shadow)}.budget-panel{border:1px solid var(--wm-line);border-radius:18px;padding:18px;background:#fff}.budget-stat{border:1px solid var(--wm-line);border-radius:14px;background:#fbfcfd}.budget-stat.primary{background:#edf4ff;border-color:#cee0ff}.budget-actions button{border-radius:12px}.recurring-row{border-radius:12px}.payment-panel{background:#fffdf7}.projection-panel article{background:#f3f6fb}.payment-list article button{border-radius:10px}
.sheet{border:1px solid var(--wm-line);border-radius:24px 24px 0 0;background:#fff;box-shadow:0 28px 80px rgba(22,31,47,.25)}.sheet>header{background:rgba(255,255,255,.93);border-color:var(--wm-line)}.sheet>header h2{font-family:'Quicksand',sans-serif;font-weight:700;letter-spacing:-.04em}.sheet-body{background:#fff}.field>span{color:#657084}.field input,.field select,.field textarea,.search-box{border-color:var(--wm-line);border-radius:11px;background:#fff}.field input:focus,.field select:focus,.field textarea:focus,.search-box:focus-within{border-color:#8cb5fa;box-shadow:0 0 0 4px rgba(33,107,232,.1);outline:0}.primary-btn{background:var(--wm-ink);border-color:var(--wm-ink);box-shadow:0 9px 18px rgba(23,32,51,.16)}.secondary-btn{border-color:var(--wm-line);background:#fff}.choice-list button,.search-results button,.inbox-list button{border-color:var(--wm-line)}.process-card,.inbox-route-preview{border-color:var(--wm-line);border-radius:16px}.process-actions button{border-radius:13px}.process-actions button:hover{background:#f4f7fb}.capture-types button{border-color:var(--wm-line);border-radius:12px;background:#fff}.capture-types button.selected{background:#fff7d4;border-color:#eed37a}
.account-card.clean,.account-section{border-color:var(--wm-line);box-shadow:0 5px 16px rgba(26,37,56,.035)}.account-card.clean{background:linear-gradient(140deg,#f6f9ff,#fffaf3)}.account-section{border-radius:16px}.account-actions button:hover,.account-actions label:hover{background:#f6f8fb}.account-footer{border-top:1px solid var(--wm-line);margin-top:17px}.toast{border-radius:12px;background:var(--wm-ink);box-shadow:0 13px 30px rgba(20,29,45,.22)}
.bottom-nav{height:calc(76px + var(--safe-bottom));border-top:1px solid var(--wm-line);background:rgba(255,255,255,.93);backdrop-filter:blur(16px);box-shadow:0 -7px 22px rgba(20,30,48,.04)}.bottom-nav button{color:#808998}.bottom-nav button.active{color:var(--wm-ink)}.bottom-nav button.active:before{height:3px;border-radius:0 0 6px 6px;background:var(--wm-blue)}.bottom-nav button.active .material-symbols-rounded{color:var(--wm-blue)}
@media(max-width:620px){.topbar{height:70px}.brand{width:62px;height:38px}.top-actions{gap:1px}.round-action,.capture,.avatar{width:36px;height:36px;border-radius:11px}.round-action .material-symbols-rounded{font-size:21px}.main{padding:25px 15px 74px}.hero h1,.page-heading h1,.detail-head h1{font-size:42px;letter-spacing:-.055em}.day-stream{padding:10px 15px}.agenda-list section{padding:8px 15px}.bottom-nav{height:calc(72px + var(--safe-bottom))}.bottom-nav button>small{font-size:9px}.sheet{border-radius:21px 21px 0 0}.glance-card{min-height:152px}.today-alert-banner{border-color:#f0df9a;box-shadow:0 7px 18px rgba(38,47,63,.05)}}
@media(min-width:721px){.sheet{border-radius:24px}.today-with-alert{display:grid;gap:0}}
