.goals-page{min-width:0;max-width:1100px;margin:0 auto}.goals-heading{align-items:flex-start;gap:20px}.goals-heading h1{color:var(--navy);margin:0 0 7px;font-size:25px}.goals-heading p{color:#617087;max-width:520px;margin:0;font-size:12px;line-height:1.6}.goals-heading-actions{flex-wrap:wrap;flex-shrink:0;justify-content:flex-end;align-items:center;gap:8px;max-width:270px;display:flex}.goals-heading-actions .primary-action{background:var(--blue);border:1px solid var(--blue);color:#fff;border-radius:6px;min-height:36px;padding:9px 12px;font-size:11px;font-weight:600}.goals-page button:disabled{cursor:not-allowed;opacity:.55}.goals-heading-actions small{color:#617087;text-align:right;width:100%;font-size:10px}.goals-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;display:grid}.goals-summary h2{color:#617087;margin:0 0 12px;font-size:11px;font-weight:600}.goals-summary strong{color:var(--navy);overflow-wrap:anywhere;font-size:22px;display:block}.goals-summary p,.goals-note{color:#617087;font-size:11px;line-height:1.6}.goals-summary p{margin:8px 0 0}.goals-denomination{margin:12px 0 20px}.goals-banks{margin-bottom:22px}.goals-banks>.section-heading{flex-wrap:wrap;gap:10px}.goals-bank-list{gap:16px;display:grid}.goals-bank+.goals-bank{border-top:1px solid var(--line);padding-top:16px}.goals-bank h3{color:var(--navy);overflow-wrap:anywhere;flex-wrap:wrap;align-items:center;gap:10px;margin:0 0 12px;font-size:13px;display:flex}.goals-money{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0;display:grid}.goals-money>div{min-width:0}.goals-money dt{color:#617087;font-size:10px;line-height:1.5}.goals-money dd{color:var(--navy);overflow-wrap:anywhere;margin:5px 0 0;font-size:14px;font-weight:600}.goals-warning{color:#77571b;background:#fff8e7;border:1px solid #f0ddb0;border-radius:6px;padding:10px 12px;font-size:11px;line-height:1.6}.goals-filters{margin:0 0 18px}.goals-filters button{min-height:40px}.goals-view-title{color:var(--navy);margin:0 0 14px;font-size:14px}.goals-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:14px;display:grid}.goals-card-heading{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.goals-card-heading h3{color:var(--navy);overflow-wrap:anywhere;margin:0;font-size:15px;line-height:1.5}.goals-badges{flex-wrap:wrap;flex-shrink:0;justify-content:flex-end;gap:5px;max-width:160px;display:flex}.goals-badge{color:#52627a;background:#f0f3f8;border-radius:5px;padding:3px 7px;font-size:10px;font-weight:600;line-height:1.5;display:inline-block}.goals-status-active{color:#284fab;background:#edf2ff}.goals-status-ready,.goals-status-completed{color:#246b4b;background:#e9f8f0}.goals-status-completed_partial{color:#77571b;background:#fff8e7}.goals-progress-label{color:#617087;flex-wrap:wrap;justify-content:space-between;gap:8px;margin-top:20px;font-size:11px;display:flex}.goals-progress{appearance:none;background:#edf2ff;border:0;border-radius:4px;width:100%;height:6px;margin:9px 0;display:block;overflow:hidden}.goals-progress::-webkit-progress-bar{background:#edf2ff;border-radius:4px}.goals-progress::-webkit-progress-value{background:var(--blue);border-radius:4px}.goals-progress::-moz-progress-bar{background:var(--blue);border-radius:4px}.goals-ready-note{color:#246b4b}.goals-contribution{border:1px solid var(--line);background:#f7f9fc;border-radius:6px;flex-wrap:wrap;align-items:baseline;gap:6px 10px;margin-top:18px;padding:12px;display:flex}.goals-contribution>span{color:#52627a;font-size:11px}.goals-contribution>span:first-child{width:100%}.goals-contribution strong{color:var(--navy);font-size:16px}.goals-contribution small{color:#617087;width:100%;font-size:10px;line-height:1.6}.goals-funding{border-top:1px solid var(--line);margin-top:18px;padding-top:14px}.goals-funding summary{color:var(--navy);cursor:pointer;min-height:28px;font-size:12px;font-weight:600}.goals-funding ul{margin:4px 0 0;padding:0;list-style:none}.goals-funding li{justify-content:space-between;align-items:flex-start;gap:12px;padding:9px 0;display:flex}.goals-funding li>div{overflow-wrap:anywhere;min-width:0}.goals-funding strong,.goals-funding b{color:var(--ink);font-size:11px}.goals-funding b{flex-shrink:0}.goals-funding li span{color:#617087;margin-top:4px;font-size:10px;line-height:1.6;display:block}.goals-funding li .goals-funding-warning{color:#77571b}.goals-funding-help{margin:0 0 14px}.goals-funding-help summary{cursor:pointer;min-height:28px}.goals-empty{text-align:center;padding:30px 20px}.goals-empty h3,.goals-error h2{color:var(--navy);font-size:16px}.goals-empty p,.goals-error p,.goals-loading p{color:#617087;font-size:12px;line-height:1.6}.goals-empty button{margin:16px auto 0}.goals-error{border-color:#efc7bf}.goals-loading{min-height:220px}.goals-skeleton-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin-top:24px;display:grid}.goals-skeleton-grid>div{background:#edf2ff;border-radius:6px;min-height:100px}.goals-page button:focus-visible,.goals-page summary:focus-visible{outline:2px solid var(--blue);outline-offset:3px}.goals-card-actions{border-top:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:10px;margin-top:18px;padding-top:14px;display:flex}.goals-more{position:relative}.goals-more .sr-only{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.goals-more summary{color:var(--blue);cursor:pointer;min-height:36px;padding:10px 8px;font-size:11px}.goals-more>div{border:1px solid var(--line);z-index:2;background:#fff;border-radius:6px;min-width:160px;padding:4px;display:grid;position:absolute;box-shadow:0 8px 24px #142c551a}.goals-more button{color:var(--navy);cursor:pointer;text-align:left;background:#fff;border:0;border-radius:4px;padding:10px;font-size:11px}.goals-more button:hover,.goals-more button:focus-visible{background:#edf2ff}.goals-editor{width:calc(100% - 32px);max-width:620px;margin:auto}.goals-editor::backdrop{background:#142c5566}.goals-editor .modal-heading{gap:12px}.goals-editor .modal-close{flex-shrink:0}.goals-editor .modal-heading h2{overflow-wrap:anywhere}.goals-fields{border:0;min-width:0;margin:0;padding:0}.goals-editor .form-grid>label,.goals-editor input,.goals-editor select,.goals-editor textarea{min-width:0}.goals-editor .form-grid textarea{resize:vertical;min-height:80px}.goals-editor button:focus-visible,.goals-editor input:focus-visible{outline:2px solid var(--blue);outline-offset:2px}.goals-editor button:disabled{cursor:not-allowed;opacity:.6}.goals-editor .modal-actions{flex-wrap:wrap}.goals-recurring-field{align-items:center;gap:4px;min-width:0;margin-top:24px;display:flex}.goals-recurring-field .toggle-field{margin-top:0}.goals-recurring-help{flex:none;display:inline-flex;position:relative}.goals-recurring-help-button{color:#718096;cursor:pointer;background:0 0;border:0;border-radius:4px;justify-content:center;align-items:center;width:32px;height:32px;padding:0;display:inline-flex}.goals-recurring-help-popover{border:1px solid var(--line);color:var(--ink);z-index:3;background:#fff;border-radius:6px;gap:6px;width:min(300px,100vw - 64px);padding:10px 12px;font-size:11px;line-height:1.6;display:grid;position:absolute;top:calc(100% + 6px);right:0;box-shadow:0 6px 20px #17253a1a}.goals-recurring-help-popover strong{color:var(--navy);font-size:12px}@media (max-width:1000px){.goals-heading{flex-wrap:wrap}.goals-heading-actions{justify-content:flex-start;max-width:none}.goals-heading-actions small{text-align:left}.goals-card-grid{grid-template-columns:minmax(0,1fr)}}@media (max-width:760px){.goals-editor{width:calc(100% - 24px);max-height:calc(100dvh - 24px)}.goals-editor .modal-actions button,.goals-card-actions button,.goals-more summary,.goals-more button{min-height:44px}.goals-recurring-field{margin-top:0}.goals-recurring-help-button{width:44px;height:44px}.goals-heading h1{font-size:24px}.goals-heading-actions{width:100%}.goals-heading-actions button{min-height:44px}.goals-summary{grid-template-columns:minmax(0,1fr);gap:10px}.goals-summary .panel{padding:16px}.goals-summary strong{font-size:20px}.goals-money{grid-template-columns:minmax(0,1fr);gap:14px}.goals-money>div{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.goals-money dt{font-size:11px}.goals-money dd{text-align:right;margin:0;font-size:13px}.goals-card-heading{flex-wrap:wrap}.goals-badges{justify-content:flex-start;max-width:none}.goals-filters{display:flex}.goals-filters button{flex:1;min-height:44px}.goals-funding li{flex-wrap:wrap}.goals-skeleton-grid{grid-template-columns:minmax(0,1fr)}}
