.goals-page{flex-direction:column;gap:14px;display:flex}.goals-page-toolbar{flex-direction:row;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:2px;display:flex}.goals-page-tagline{max-width:36rem;color:var(--text-muted);margin:0;font-size:14px;line-height:1.5;display:block}.goals-page .goals-add-button{flex-shrink:0;margin-top:2px}.goals-page .goals-loading,.goals-page .goals-limit-note,.goals-page .goals-section-hint{color:var(--text-muted);margin:0;font-size:12px;line-height:1.45}.goals-page .goals-loading{padding:24px 0}.goals-page .goals-migration-notice{padding:16px}.goals-page .goals-migration-notice h2{margin:0 0 8px;font-size:16px}.goals-page .goals-migration-notice p{color:var(--text-muted);margin:0}.goals-page .goals-zero-state{flex-direction:column;align-items:flex-start;gap:12px;padding:28px 22px;display:flex}.goals-page .goals-zero-state h2{color:var(--text-primary);letter-spacing:-.02em;margin:0;font-size:22px}.goals-page .goals-zero-state p{max-width:34rem;color:var(--text-muted);margin:0;line-height:1.55}.goals-page .goals-overview{flex-direction:row;align-items:stretch;gap:0;display:flex;padding:14px 18px!important}.goals-page .goals-overview-metric{flex-direction:column;flex:1 1 0;justify-content:center;gap:4px;min-width:0;padding:2px 10px;display:flex}.goals-page .goals-overview-label{color:var(--text-muted);letter-spacing:.1em;text-transform:uppercase;font-size:9px;font-weight:800;display:block}.goals-page .goals-overview-value{letter-spacing:-.03em;color:var(--text-primary);margin:0;font-size:20px;font-weight:600;line-height:1.15;display:block}.goals-page .goals-overview-hint{color:var(--text-muted);font-size:10px;line-height:1.3;display:block}.goals-page .goals-overview-metric--emphasis .goals-overview-value{color:var(--cyan);font-size:24px}.goals-page .goals-overview-divider{background:var(--surface-hover-subtle);flex:0 0 1px;align-self:stretch;width:1px;min-height:52px;margin:4px 0}.goals-page .goals-active-section,.goals-page .goals-completed-section{flex-direction:column;gap:10px;display:flex}.goals-page .goals-section-head h2{color:var(--text-primary);margin:4px 0 0;font-size:15px;font-weight:600}.goals-page .goals-active-empty{color:var(--text-muted);flex-direction:column;align-items:flex-start;gap:10px;padding:8px 2px 4px;display:flex}.goals-page .goals-active-empty p{margin:0}.goals-page .goals-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.goals-page .goals-card{flex-direction:column;gap:14px;min-height:0;display:flex;border-radius:16px!important;padding:24px!important}.goals-page .goals-card.is-at-risk,.goals-page .goals-card.is-missed{border-color:color-mix(in srgb, var(--warning) 22%, var(--border))!important;background:linear-gradient(160deg, color-mix(in srgb, var(--warning) 8%, var(--surface)), var(--surface))!important}.goals-page .goals-card.is-on-track,.goals-page .goals-card.is-completed{border-color:color-mix(in srgb, var(--cyan) 18%, var(--border))!important}.goals-page .goals-card.is-paused{opacity:.82}.goals-page .goals-card-header{flex-direction:column;gap:8px;display:flex}.goals-page .goals-card-meta-row{flex-direction:row;justify-content:space-between;align-items:center;gap:10px;display:flex}.goals-page .goals-card-type{color:var(--text-muted);letter-spacing:.12em;text-transform:uppercase;font-size:9px;font-weight:800}.goals-page .goals-card-status{letter-spacing:.08em;text-transform:uppercase;color:var(--text-muted);font-size:9px;font-weight:800}.goals-page .goals-card-status.is-at-risk,.goals-page .goals-card-status.is-missed{color:var(--warning)}.goals-page .goals-card-status.is-completed,.goals-page .goals-card-status.is-on-track{color:var(--cyan)}.goals-page .goals-card-title{color:var(--text-primary);letter-spacing:-.02em;margin:0;font-size:16px;font-weight:600;line-height:1.35}.goals-page .goals-card-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px;display:grid}.goals-page .goals-stat{flex-direction:column;gap:4px;display:flex}.goals-page .goals-stat-label{color:var(--text-muted);font-size:11px;line-height:1.3;display:block}.goals-page .goals-stat-value{color:var(--text-primary);letter-spacing:-.02em;font-size:15px;font-weight:600;display:block}.goals-page .goals-week-block{flex-direction:column;gap:8px;display:flex}.goals-page .goals-week-label{color:var(--text-muted);letter-spacing:.1em;text-transform:uppercase;font-size:9px;font-weight:800;display:block}.goals-page .goals-week-dots{flex-flow:row;justify-content:space-between;align-items:flex-start;gap:6px;width:100%;display:flex}.goals-page .goals-week-dot{flex-direction:column;flex:1 1 0;justify-content:flex-start;align-items:center;gap:6px;min-width:0;padding:0;display:flex}.goals-page .goals-week-dot-day{color:var(--text-muted);letter-spacing:.04em;text-transform:uppercase;font-size:10px;font-weight:700;display:block}.goals-page .goals-week-dot-mark{width:18px;height:18px;color:var(--text-muted);background:var(--surface-subtle);border:1px solid var(--border);border-radius:999px;justify-content:center;align-items:center;font-size:11px;line-height:1;display:flex}.goals-page .goals-week-dot.is-yes .goals-week-dot-mark{color:var(--cyan);border-color:color-mix(in srgb, var(--cyan) 35%, transparent);background:color-mix(in srgb, var(--cyan) 12%, transparent)}.goals-page .goals-week-dot.is-no .goals-week-dot-mark{color:var(--warning);border-color:color-mix(in srgb, var(--warning) 30%, transparent);background:color-mix(in srgb, var(--warning) 10%, transparent)}.goals-page .goals-week-dot.is-pending .goals-week-dot-mark,.goals-page .goals-week-dot.is-future .goals-week-dot-mark{color:var(--text-muted)}.goals-page .goals-week-dot.is-today .goals-week-dot-mark{box-shadow:0 0 0 1px color-mix(in srgb, var(--cyan) 35%, transparent)}.goals-page .goals-week-dot.is-today .goals-week-dot-day{color:var(--cyan)}.goals-page .goals-auto-progress{flex-direction:column;gap:6px;display:flex}.goals-page .goals-auto-progress-track{background:var(--surface-hover-subtle);border-radius:999px;height:3px;display:block;overflow:hidden}.goals-page .goals-auto-progress-track i{border-radius:inherit;background:var(--cyan);height:100%;display:block}.goals-page .goals-auto-progress-track.is-at-risk i,.goals-page .goals-auto-progress-track.is-missed i{background:var(--warning)}.goals-page .goals-auto-progress-label{color:var(--text-muted);font-size:11px}.goals-page .goals-card-footer{border-top:1px solid var(--border);flex-direction:row;justify-content:space-between;align-items:flex-end;gap:12px;margin-top:auto;padding-top:12px;display:flex}.goals-page .goals-card-footer-spacer{flex:auto}.goals-page .goals-checkin-block{flex-direction:column;flex:auto;align-items:flex-start;gap:8px;min-width:0;display:flex}.goals-page .goals-checkin-label{color:var(--text-secondary);font-size:13px;font-weight:500;line-height:1.35;display:block}.goals-page .goals-checkin-actions{flex-flow:wrap;gap:8px;display:flex}.goals-page .goals-checkin-btn{min-width:64px;min-height:34px;padding:7px 14px!important;font-size:12px!important;font-weight:700!important}.goals-page .goals-checkin-btn.is-yes{border-color:color-mix(in srgb, var(--cyan) 45%, var(--border))!important;background:var(--accent-soft)!important;color:var(--cyan)!important}.goals-page .goals-checkin-btn.is-no{border-color:color-mix(in srgb, var(--warning) 35%, var(--border))!important;background:var(--warning-soft)!important;color:var(--warning)!important}.goals-page .goals-form-error{color:var(--negative);margin:0;font-size:12px}.goals-page .goals-card-menu-wrap{flex:none;position:relative}.goals-page .goals-icon-button{width:34px;height:34px;min-height:34px;padding:0!important}.goals-page .goals-card-menu{z-index:30;border:1px solid var(--border);background:var(--surface);min-width:148px;box-shadow:0 8px 24px var(--shadow-color);border-radius:10px;padding:4px;position:absolute;bottom:calc(100% + 6px);right:0}.goals-page .goals-card-menu-item{width:100%;color:var(--text-secondary);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:7px;flex-direction:row;align-items:center;gap:8px;padding:8px 10px;font-size:12px;display:flex}.goals-page .goals-card-menu-item:hover{color:var(--text-primary);background:var(--surface-subtle)}.goals-page .goals-completed-list{flex-direction:column;gap:0;margin:0;padding:0;list-style:none;display:flex}.goals-page .goals-completed-item{border-bottom:1px solid var(--border);grid-template-columns:auto 1fr auto;align-items:center;gap:10px;padding:10px 2px;display:grid}.goals-page .goals-completed-item:last-child{border-bottom:0}.goals-page .goals-completed-icon{color:var(--cyan)}.goals-page .goals-completed-body{flex-direction:column;gap:2px;min-width:0;display:flex}.goals-page .goals-completed-body strong{color:var(--text-primary);font-size:13px;font-weight:500}.goals-page .goals-completed-type{color:var(--text-muted);font-size:11px}.goals-page .goals-completed-meta{text-align:right;color:var(--text-muted);flex-direction:column;gap:2px;font-size:11px;display:flex}.goals-page .goals-archived-section{padding-top:4px}.goals-page .goals-archived-row{cursor:pointer;text-align:left;flex-direction:row;justify-content:space-between;align-items:center;gap:12px;width:100%;display:flex;border-radius:12px!important;padding:12px 16px!important}.goals-page .goals-archived-row-label{color:var(--text-secondary);font-size:13px;font-weight:500}.goals-page .goals-archived-row-meta{color:var(--text-muted);flex-direction:row;align-items:center;gap:8px;font-size:12px;display:inline-flex}.goals-page .goals-archived-row-meta strong{color:var(--text-primary);font-size:13px;font-weight:600}.goals-page .goals-archived-row-meta svg{transition:transform .18s}.goals-page .goals-archived-row-meta svg.is-open{transform:rotate(90deg)}.goals-page .goals-archived-list{flex-direction:column;margin:6px 0 0;padding:0 16px 8px;list-style:none;display:flex}.goals-page .goals-archived-list li{border-bottom:1px solid var(--border);flex-direction:row;justify-content:space-between;align-items:center;gap:12px;padding:8px 0;display:flex}.goals-page .goals-archived-list li:last-child{border-bottom:0}.goals-page .goals-archived-title{color:var(--text-secondary);font-size:13px}.goals-page .goals-archived-meta{color:var(--text-muted);text-transform:capitalize;font-size:11px}.goals-dialog-panel{width:min(100%,34rem);max-height:90vh;overflow-y:auto}.dialog-overlay{z-index:110;background:var(--overlay-backdrop);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);place-items:center;padding:20px;display:grid;position:fixed;inset:0;overflow-y:auto}.dialog-panel{border:1px solid var(--border);background:var(--surface);width:min(420px,100%);box-shadow:0 16px 48px var(--shadow-color);border-radius:16px;padding:22px}.goals-form{gap:.75rem;display:grid}.goals-field{gap:.35rem;font-size:.86rem;display:grid}.goals-field input,.goals-field select,.goals-field textarea,.goals-form-select-trigger{border:1px solid var(--border);background:var(--surface);width:100%;color:var(--text);font:inherit;border-radius:.65rem;padding:.55rem .7rem}.goals-form-select-trigger{text-align:left;cursor:pointer;justify-content:space-between;align-items:center;gap:.65rem;display:flex}.goals-form-select-trigger:disabled{opacity:.6;cursor:not-allowed}.goals-form-select-trigger:focus-visible{outline:2px solid color-mix(in srgb, var(--accent) 45%, transparent);outline-offset:2px}.goals-form-select-value{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.goals-form-select-icon{color:var(--text-muted);flex-shrink:0}.goals-form-select-content{border:1px solid var(--border);background:var(--surface);box-shadow:0 16px 40px var(--shadow-color);overscroll-behavior:contain;border-radius:.65rem;padding:.35rem;overflow-y:auto}.goals-form-select-group+.goals-form-select-group{border-top:1px solid var(--border);margin-top:.35rem;padding-top:.35rem}.goals-form-select-group-label{color:var(--text-muted);letter-spacing:.06em;text-transform:uppercase;padding:.25rem .55rem;font-size:.72rem;font-weight:700}.goals-form-select-option{width:100%;color:var(--text);text-align:left;font:inherit;cursor:pointer;background:0 0;border:0;border-radius:.45rem;padding:.5rem .55rem;display:block}.goals-form-select-option.is-highlighted,.goals-form-select-option:hover{background:color-mix(in srgb, var(--accent) 10%, var(--surface))}.goals-form-select-option.is-selected{background:color-mix(in srgb, var(--accent) 14%, var(--surface))}.goals-form-select-option:focus-visible{outline:2px solid color-mix(in srgb, var(--accent) 45%, transparent);outline-offset:1px}.goals-template-hint,.goals-checkin-empty,.goals-dashboard-empty{color:var(--text-muted);font-size:.86rem}.goals-form-actions{justify-content:flex-end;gap:.55rem;display:flex}.goals-dashboard-preview{margin-bottom:.85rem;padding:.85rem .95rem}.goals-dashboard-head{justify-content:space-between;align-items:flex-start;gap:.65rem;margin-bottom:.55rem;display:flex}.goals-dashboard-head h2{letter-spacing:-.01em;margin:.1rem 0 0;font-size:.98rem;font-weight:600}.goals-dashboard-head p{color:var(--text-muted);margin:.15rem 0 0;font-size:.8rem}.goals-dashboard-summary-bar{background:color-mix(in srgb, var(--border) 70%, transparent);border-radius:999px;height:3px;margin-bottom:.65rem;overflow:hidden}.goals-dashboard-summary-bar i{border-radius:inherit;background:linear-gradient(90deg, color-mix(in srgb, var(--accent) 85%, #55e6d4), color-mix(in srgb, var(--accent) 55%, #7aa7ff));height:100%;display:block}.goals-dashboard-list{gap:.35rem;margin:0;padding:0;list-style:none;display:grid}.goals-dashboard-item{border:1px solid color-mix(in srgb, var(--border) 85%, transparent);background:color-mix(in srgb, var(--surface-elevated,var(--surface)) 40%, transparent);border-radius:.55rem}.goals-dashboard-item-row{align-items:flex-start;gap:.55rem;padding:.5rem .6rem;display:flex}.goals-dashboard-indicator{border:1px solid color-mix(in srgb, var(--border) 90%, var(--text-muted));color:#0000;border-radius:.28rem;flex-shrink:0;justify-content:center;align-items:center;width:15px;height:15px;margin-top:.12rem;display:inline-flex}.goals-dashboard-indicator.is-done{color:var(--accent);border-color:color-mix(in srgb, var(--accent) 45%, var(--border));background:color-mix(in srgb, var(--accent) 12%, transparent)}.goals-dashboard-item-body{flex:1;gap:.3rem;min-width:0;display:grid}.goals-dashboard-item-top{justify-content:space-between;align-items:flex-start;gap:.5rem;display:flex}.goals-dashboard-item-title{color:var(--text);font-size:.86rem;font-weight:500;line-height:1.35}.goals-dashboard-item.is-completed .goals-dashboard-item-title{color:color-mix(in srgb, var(--accent) 25%, var(--text))}.goals-dashboard-item.is-completed{border-color:color-mix(in srgb, var(--accent) 20%, var(--border));background:color-mix(in srgb, var(--accent) 4%, var(--surface))}.goals-dashboard-badge{flex-shrink:0;padding:.12rem .45rem;font-size:.68rem}.goals-dashboard-item-progress-wrap{gap:.22rem;display:grid}.goals-dashboard-progress{background:color-mix(in srgb, var(--border) 65%, transparent);height:4px;margin:0}.goals-dashboard-progress i{background:linear-gradient(90deg, color-mix(in srgb, var(--accent) 80%, #55e6d4), color-mix(in srgb, var(--accent) 50%, #7aa7ff))}.goals-dashboard-progress.is-at-risk i{background:linear-gradient(90deg,#d9a923,#ce9814)}.goals-dashboard-progress.is-missed i{background:linear-gradient(90deg,#db5f5b,#c74a46)}.goals-dashboard-progress.is-completed i{background:linear-gradient(90deg, color-mix(in srgb, var(--accent) 70%, #55e6d4), color-mix(in srgb, var(--accent) 40%, #7aa7ff))}.goals-dashboard-progress.is-paused i,.goals-dashboard-progress.is-pending i{background:color-mix(in srgb, var(--text-muted) 35%, var(--border))}.goals-dashboard-item-meta{color:var(--text-muted);font-size:.74rem;line-height:1.3}.goals-dashboard-link,.goals-dashboard-link-inline{align-items:center;gap:.25rem;font-size:.82rem;display:inline-flex}.goals-dashboard-link-inline{flex-shrink:0;margin-top:.1rem}@media (max-width:1100px){.goals-page .goals-card-grid{grid-template-columns:1fr}.goals-page .goals-overview{flex-wrap:wrap;row-gap:12px}.goals-page .goals-overview-metric{flex:calc(50% - 12px);padding:4px 6px}.goals-page .goals-overview-divider{display:none}.goals-page .goals-overview-metric--emphasis{border-top:1px solid var(--border);flex-basis:100%;padding-top:8px}}@media (max-width:768px){.goals-page-toolbar{flex-direction:column;align-items:stretch}.goals-page .goals-add-button{justify-content:center;width:100%}.goals-page .goals-overview-metric{flex-basis:calc(50% - 8px)}.goals-page .goals-card-stats{grid-template-columns:1fr}.goals-page .goals-card-footer{flex-direction:column;align-items:stretch}.goals-page .goals-card-menu-wrap{align-self:flex-end}.goals-page .goals-checkin-actions{width:100%}.goals-page .goals-checkin-btn{flex:1 1 0}.goals-page .goals-completed-item{grid-template-columns:auto 1fr}.goals-page .goals-completed-meta{text-align:left;grid-column:2}}@media (prefers-reduced-motion:reduce){.goals-page .goals-archived-row-meta svg{transition:none}}
