/* ARVYNO 0.9.127 — simplified Goals
   Three mental models only: Result / Money / Daily.
*/
.goals-simple-heading .tasks-heading-copy p{max-width:310px}
.goals-simple-summary{font-size:13px;color:var(--muted,#807a73);margin-top:5px}
.goals-simple-list{display:grid;gap:8px}
.goals-simple-row{display:flex;align-items:center;min-height:70px;background:#fff;border-radius:18px;overflow:hidden;border:1px solid rgba(36,34,31,.055)}
.goals-simple-row.is-completed{opacity:.62}
.goals-simple-leading{width:52px;flex:0 0 52px;display:grid;place-items:center;font-size:22px;color:#79746e}
.goal-simple-daily-check{width:30px;height:30px;border-radius:50%;border:1.8px solid #b9b6b0;background:#fff;display:grid;place-items:center;padding:0;color:#fff;font-size:17px;font-weight:700}
.goal-simple-daily-check.done{background:#7f9d84;border-color:#7f9d84}
.goal-simple-daily-check:disabled{opacity:.38}
.goals-simple-row-main{appearance:none;border:0;background:transparent;flex:1;min-width:0;padding:13px 14px 13px 0;text-align:left;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;color:inherit}
.goals-simple-row-copy{min-width:0;display:block}
.goals-simple-row-title{display:block;font-size:16px;font-weight:650;line-height:1.25;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.goals-simple-row-meta{display:block;margin-top:5px;font-size:13px;color:#8a847c;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.goals-simple-row-side{display:flex;align-items:center;gap:7px;color:#8a847c;font-size:13px;flex:0 0 auto}
.goals-simple-row-side b{font-weight:650;color:#5c5751}.goals-simple-chevron{font-size:22px;font-weight:300;color:#b1ada7}
.goals-simple-row .progress-track{height:4px;margin-top:9px;background:#ece9e4;border-radius:999px;overflow:hidden}
.goals-simple-completed{margin-top:12px}.goals-simple-completed summary{list-style:none;cursor:pointer;padding:10px 4px;color:#817b74;font-size:14px}.goals-simple-completed summary::-webkit-details-marker{display:none}
.goals-simple-completed .goals-simple-list{margin-top:4px}

/* Form */
.goals-simple-form{display:flex;flex-direction:column;gap:12px;padding-bottom:18px}
.goals-simple-card{background:#fff;border-radius:18px;border:1px solid rgba(36,34,31,.055);overflow:hidden}
.goals-simple-form-title,.goals-simple-form-note{background:#fff;border:1px solid rgba(36,34,31,.055);border-radius:18px;padding:0 15px}
.goals-simple-form-title input,.goals-simple-form-note textarea{width:100%;border:0;outline:0;background:transparent;color:inherit;font:inherit;box-sizing:border-box}
.goals-simple-form-title input{height:62px;font-size:20px;font-weight:650}.goals-simple-form-note textarea{padding:14px 0;min-height:70px;resize:none;font-size:15px}
.goals-simple-label{font-size:12px;text-transform:uppercase;letter-spacing:.055em;color:#928b83;margin:3px 5px -4px}
.goals-simple-types{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}
.goals-simple-type{position:relative}.goals-simple-type input{position:absolute;opacity:0;pointer-events:none}.goals-simple-type span{min-height:68px;border-radius:16px;background:#fff;border:1px solid rgba(36,34,31,.07);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;font-size:12px;color:#706a64}.goals-simple-type b{font-size:14px;color:#292724}.goals-simple-type i{font-style:normal;font-size:18px}.goals-simple-type input:checked+span{background:#edf2ec;border-color:#aabbaa;box-shadow:inset 0 0 0 1px #aabbaa}.goals-simple-type input:disabled+span{opacity:.85}
.goals-simple-row-field{min-height:54px;padding:0 15px;display:flex;align-items:center;gap:14px;border-bottom:1px solid #f0ede8}.goals-simple-row-field:last-child{border-bottom:0}.goals-simple-row-field>span:first-child{font-size:15px;flex:1}.goals-simple-row-field>span:last-child{min-width:0;display:flex;align-items:center;justify-content:flex-end;flex:1.2}.goals-simple-row-field input,.goals-simple-row-field select{width:100%;border:0;outline:0;background:transparent;color:#5f5a54;font:inherit;text-align:right;text-align-last:right;padding:0;min-height:42px}.goals-simple-row-field input[type="date"]{direction:ltr}.goals-simple-row-field input[type="checkbox"]{width:22px;height:22px;min-height:0;accent-color:#7f9d84}
.goals-simple-panel.hidden,.goals-simple-finance.hidden,.goals-simple-manual.hidden{display:none!important}
.goals-simple-note{padding:13px 15px;color:#817b74;font-size:13px;line-height:1.45;background:#fbfaf8}
.goals-simple-legacy-note{padding:10px 14px;border-radius:14px;background:#fff6e9;color:#816d50;font-size:13px}
.goals-simple-more{background:#fff;border:1px solid rgba(36,34,31,.055);border-radius:18px;overflow:hidden}.goals-simple-more summary{list-style:none;min-height:52px;padding:0 15px;display:flex;align-items:center;justify-content:space-between;font-size:15px}.goals-simple-more summary::-webkit-details-marker{display:none}.goals-simple-more summary:after{content:'›';font-size:22px;color:#aaa49d;transition:transform .15s}.goals-simple-more[open] summary:after{transform:rotate(90deg)}
.goals-simple-delete{margin-top:4px}

/* Detail */
.goals-simple-detail-hero{padding-bottom:20px}.goals-simple-kind{display:inline-flex;align-items:center;gap:7px;font-size:13px;color:#817b74;margin-bottom:10px}.goals-simple-detail-value{margin-top:16px;font-size:14px;color:#817b74}.goals-simple-detail-value b{display:block;font-size:30px;line-height:1.08;color:#2d2a27;margin-bottom:5px}.goals-simple-detail-progress{margin-top:12px}.goals-simple-detail-card{padding:4px 0}.goals-simple-info-row{min-height:52px;padding:0 15px;display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:1px solid #f0ede8}.goals-simple-info-row:last-child{border-bottom:0}.goals-simple-info-row span{color:#8b857e;font-size:14px}.goals-simple-info-row b{font-size:14px;text-align:right}
.goals-simple-action-card{padding:12px}.goals-simple-primary-action{width:100%;min-height:50px;border:0;border-radius:15px;background:#7f9d84;color:#fff;font-size:16px;font-weight:650}.goals-simple-primary-action.is-done{background:#e9eee8;color:#4c6650}.goals-simple-primary-action:disabled{opacity:.45}
.goals-simple-daily-stats{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}.goals-simple-stat{background:#fff;border-radius:16px;padding:13px}.goals-simple-stat span{display:block;color:#8a847d;font-size:12px;margin-bottom:4px}.goals-simple-stat b{font-size:20px}

@media(max-width:390px){.goals-simple-types{gap:5px}.goals-simple-type span{min-height:64px}.goals-simple-row-field{padding-inline:13px}}


/* ARVYNO 0.9.128 — clean Home separation: Tasks are tasks, Goals are goals. */
.goals-simple-home-row{display:flex;align-items:center;min-height:64px;border-bottom:1px solid #efede9}
.goals-simple-home-row:last-child{border-bottom:0}
.goals-simple-home-leading{width:52px;flex:0 0 52px;display:grid;place-items:center}
.goals-simple-home-icon{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#f3f1ed;color:#69645e;font-size:17px}
.goals-simple-home-check{width:30px;height:30px}
.goals-simple-home-main{appearance:none;border:0;background:transparent;flex:1;min-width:0;padding:10px 2px 10px 0;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;text-align:left;color:inherit}
.goals-simple-home-copy{min-width:0;display:block}
.goals-simple-home-copy>b{display:block;font-size:16px;line-height:1.25;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.goals-simple-home-copy>small{display:block;margin-top:4px;color:#8b857e;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.goals-simple-home-copy>.progress-track{display:block;height:4px;margin-top:8px;background:#ece9e4;border-radius:999px;overflow:hidden}
.goals-simple-home-side{display:flex;align-items:center;gap:7px;color:#8a847c;font-size:13px;flex:0 0 auto;padding-right:4px}
.goals-simple-home-side>b{font-weight:650;color:#5c5751}
.goals-simple-home-side>i{font-style:normal;font-size:22px;font-weight:300;color:#b1ada7}
.goals-simple-home-row.is-completed{opacity:.62}

/* ARVYNO 0.9.159 — manual goal ordering, matching Categories. */
.goal-order-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:44px;padding:0 2px;margin:-4px 0 -2px}
.goal-order-toolbar>span{font-size:11px;line-height:1.4;color:#78736c}
.goal-order-mode{display:flex;align-items:center;justify-content:center;gap:6px;flex:none;min-height:44px;padding:4px 0 4px 8px;border:0;background:transparent;color:#526b55;font:inherit;font-size:13px;font-weight:550}
.goal-order-mode svg{width:17px;height:17px}
.goals-simple-row{position:relative}
.goals-simple-list.is-sort-mode .goals-simple-row-main:disabled{opacity:1;color:inherit;cursor:default}
.goals-simple-list.is-sort-mode .goals-simple-row-main:disabled .goals-simple-row-title{color:var(--text,#292724)}
.goal-order-drag-handle{display:grid;place-items:center;flex:0 0 44px;width:44px;min-width:44px;height:44px;margin:0 8px 0 -3px;padding:0;border:0;border-radius:12px;background:transparent;color:#829080;cursor:grab;touch-action:none;user-select:none;-webkit-user-select:none}
.goal-order-drag-handle svg{width:22px;height:22px}
.goal-order-drag-handle:active{background:#edf2eb;cursor:grabbing}
.goals-simple-row.is-goal-dragging{z-index:5;border-color:transparent;background:#fff;box-shadow:0 8px 24px rgba(54,47,40,.12);outline:1px solid #e3e9df}
.goal-order-move-backdrop{z-index:220}
.goal-order-move-sheet{padding:18px 16px calc(16px + env(safe-area-inset-bottom))!important;border-radius:22px!important;border:0!important;background:#fff!important;box-shadow:0 -6px 24px rgba(54,47,40,.04);max-height:85vh;overflow-y:auto}
.goal-order-move-heading{display:flex;align-items:center;gap:12px;margin:0 0 12px}
.goal-order-move-heading>div{min-width:0}
.goal-order-move-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:#f3f5f0;color:#647c66;flex:none;font-size:19px;font-weight:650}
.goal-order-move-heading h2{font-size:18px;font-weight:600;margin:0 0 4px;line-height:1.25;overflow-wrap:anywhere}
.goal-order-move-heading p{font-size:12px;color:#78736c;margin:0}
.goal-order-move-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.goal-order-move-actions button{display:flex;align-items:center;gap:10px;min-height:52px;padding:10px 12px;border:0;border-radius:12px;background:#f5f6f2;color:#526b55;font-family:inherit;font-size:13px;line-height:1.3;text-align:left}
.goal-order-move-actions svg{width:20px;height:20px;flex:none}
.goal-order-move-actions button:disabled{opacity:.35}
.goal-order-move-cancel{width:100%;min-height:44px;margin-top:12px;border:0;border-radius:12px;background:transparent;color:#78736c;font:inherit;font-size:14px}
.goal-order-move-sheet button:focus-visible,.goal-order-drag-handle:focus-visible,.goal-order-mode:focus-visible{outline:2px solid #526b55;outline-offset:2px}
@media(max-width:360px){.goal-order-toolbar>span{max-width:175px}.goal-order-move-actions button{padding:10px 8px;gap:6px;font-size:12px}.goal-order-drag-handle{margin-right:4px}}
@media(prefers-reduced-motion:reduce){.goal-order-move-backdrop,.goal-order-move-sheet{transition:none!important}}
