.gp-home-summary{margin:16px 0}.gp-home-summary>a{display:flex;align-items:center;justify-content:space-between;gap:18px;background:linear-gradient(110deg,#eaf4ff,#e9f6ef);border:1px solid #c7dfe9;border-radius:12px;padding:17px 20px;text-decoration:none;color:#174565}.gp-home-summary strong{font-size:14px}.gp-home-summary span{font-size:12px;line-height:1.6}
#goals{color:#173e58}#goals *{box-sizing:border-box}#goals h2{font-size:28px;line-height:1.25;letter-spacing:-.03em}#goals h3{font-size:20px;line-height:1.35}#goals p{line-height:1.8;color:#506c7e;font-size:13px}#goals button{font-family:inherit;cursor:pointer}#goals button:disabled{opacity:.5;cursor:wait}#goals [hidden]{display:none!important}
.gp-panel,.gp-empty{background:#fff;border:1px solid #d8e6ee;border-radius:15px;padding:25px;margin:22px 0;box-shadow:0 8px 24px #173d5705}.gp-panel>h3{margin-top:0}.gp-small{font-size:11px!important;line-height:1.8!important;color:#5b7485!important}.gp-note{background:#eaf4ff;border:1px solid #c6dff0;border-radius:9px;padding:14px 18px;font-size:12px;color:#254e6d;line-height:1.8;margin:16px 0}.gp-note.amber{background:#fff6e3;border-color:#edd6a7;color:#715321}
.gp-intro{display:grid;grid-template-columns:1.3fr 1fr;gap:32px;background:linear-gradient(110deg,#0e446c,#0d746e);border-radius:18px;padding:30px;color:#fff}.gp-intro h2{color:#fff;margin-block:12px}.gp-intro p{color:#cbe4ef!important;margin-bottom:0}.gp-intro .mini-label{color:#abded6}.gp-intro-actions{display:flex;gap:12px;flex-direction:column;justify-content:center;align-items:stretch;max-width:280px;margin-left:auto;width:100%}.gp-intro-actions .outline-button{background:#ffffff15;color:#fff;border-color:#b2d2df66}
.gp-goal-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:24px}.gp-goal-card{border:1px solid #cbdfe5;background:#fff;text-align:left;border-radius:15px;padding:24px;display:flex;flex-direction:column;gap:12px;box-shadow:0 8px 24px #173d5708;transition:transform .15s}.gp-goal-card>strong{font-size:21px;line-height:1.35;color:#173e58}.gp-goal-card>b{font-size:28px;font-weight:600;color:#087b68}.gp-goal-card>small{font-size:10px;color:#5a7688}.gp-goal-card>div{display:grid;gap:7px;border-top:1px solid #dce8ed;padding-top:14px;font-size:11px;color:#557185}.gp-goal-card>em{font-style:normal;font-size:12px;font-weight:700;color:#1c608a;margin-top:8px}
.gp-type{display:inline-block;font-size:9px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:#47788f}.gp-empty{text-align:center;padding-block:40px}.gp-empty p{max-width:650px;margin-inline:auto}.gp-empty-steps{display:flex;justify-content:center;gap:28px;margin-top:25px;font-size:12px;color:#41677e}.gp-empty-steps b{background:#e8f2fd;border-radius:50%;padding:5px 9px;margin-right:8px;color:#195c9c}
.gp-detail-top,.gp-editor-top{display:flex;align-items:center;justify-content:space-between;gap:25px;margin-block:20px}.gp-detail-top h2,.gp-editor-top h2{margin:16px 0 10px}.gp-detail-top .gp-type{margin-left:16px}.gp-detail-top p{margin:0}.gp-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.gp-detail-top>.gp-actions{justify-content:flex-end;max-width:410px}.gp-tabs{display:flex;gap:8px;border-bottom:1px solid #d4e2eb;margin:25px 0 20px;padding-bottom:12px}.gp-tabs button{border:1px solid #d7e5ec;background:#fff;color:#375f78;padding:10px 16px;border-radius:8px;font-size:12px;font-weight:600}.gp-tabs button[aria-selected=true]{background:#145585;color:#fff;border-color:#145585}
.gp-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:20px 0}.gp-stat{background:#edf5ff;border:1px solid #d2e3f3;border-radius:12px;padding:19px;min-width:0}.gp-stat:nth-child(2){background:#eaf8f1;border-color:#c8e6d5}.gp-stat:nth-child(3){background:#f2edfb;border-color:#ded3f1}.gp-stat:nth-child(4){background:#fff5de;border-color:#ecdcaf}.gp-stat>span{display:block;font-size:10px;font-weight:700;color:#4d6a80;margin-bottom:11px}.gp-stat>strong{display:block;font-size:24px;line-height:1.25;letter-spacing:-.03em;color:#143f60;overflow-wrap:anywhere}.gp-stat>small{display:block;font-size:10px;line-height:1.7;color:#557387;margin-top:11px}
.gp-two-col{display:grid;grid-template-columns:1.2fr 1fr;gap:20px}.gp-two-col>.gp-panel{margin-block:0}.gp-panel svg{display:block;width:100%;height:auto;max-height:300px;margin-top:20px}.gp-panel svg text{font:11px system-ui;fill:#557489}.gp-facts{margin:20px 0 0}.gp-facts>div{display:flex;justify-content:space-between;gap:20px;padding-block:12px;border-top:1px solid #e0e9ef;font-size:12px}.gp-facts dt{color:#557489}.gp-facts dd{margin:0;font-weight:700;color:#184b68}
.gp-table-wrap{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;margin:18px 0}.gp-table{width:100%;border-collapse:collapse;font-size:11px;min-width:0!important}.gp-table th{background:#eef4f9;color:#3d6680;font-size:10px;text-align:left;line-height:1.6;padding:12px;border-bottom:1px solid #d9e5ed}.gp-table td{padding:13px 12px;border-bottom:1px solid #e3ebf0;vertical-align:top;line-height:1.75;color:#274f69;overflow-wrap:anywhere}.gp-table td small{display:block;margin-top:5px;font-size:9px;line-height:1.7;color:#698396}.gp-pager{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:15px}.gp-pager span{font-size:11px;color:#5d7b8d}
.gp-editor{max-width:1200px}.gp-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-block:18px}.gp-form-grid label,.gp-bucket-row label,.gp-phase-grid label,#goals .gp-panel>label{display:flex;flex-direction:column;gap:7px;font-size:11px;color:#4d6c7f;line-height:1.6}.gp-editor input,.gp-editor select,#gp-month-detail{width:100%;min-width:0;padding:10px 11px;background:#fbfdfe;color:#163f59;border:1px solid #cbdce6;border-radius:7px;font-family:inherit;font-size:12px;line-height:1.5;min-height:40px}.gp-editor input[readonly]{background:#eef3f7;color:#617b8b}.gp-check{display:flex!important;align-items:flex-start;flex-direction:row!important;gap:10px!important;font-size:12px!important;margin-block:18px}#goals .gp-check input{width:17px;height:17px;min-height:0;flex:0 0 17px;padding:0;margin-top:3px;accent-color:#087d69}
#goals details>summary{cursor:pointer;font-size:13px;font-weight:600;line-height:1.8;color:#275c7a}#goals details[open]>summary{margin-bottom:18px}.gp-funding-list{display:grid;gap:0}.gp-funding-row{display:grid!important;grid-template-columns:1fr 150px;gap:22px!important;align-items:center;padding:16px 0;border-top:1px solid #e1e9ee;font-size:11px;color:#517387}.gp-funding-row strong{display:block;font-size:12px;color:#214f6a}.gp-funding-row small{display:block;margin-top:5px;font-size:10px;line-height:1.8}.gp-funding-row>span:last-child{display:block}.gp-funding-row input{margin-top:5px}
.gp-bucket-list{margin-block:20px}.gp-bucket-row{display:grid;grid-template-columns:2fr 1fr 1fr;gap:15px;padding-block:16px;border-top:1px solid #e0e8ee}.gp-bucket-row>small{grid-column:1/-1;font-size:9px;color:#688496;margin-top:-4px}.gp-flow-card{background:#f6f9fb;border:1px solid #dce7ee;border-radius:11px;padding:20px;margin-block:20px}.gp-row-head{display:flex;align-items:center;justify-content:space-between;gap:15px}.gp-row-head>b{font-size:13px;color:#20566f}.gp-row-head>small{font-size:10px;color:#658294}.gp-row-head .outline-button{padding:7px 10px;min-height:30px;font-size:10px}.gp-flow-card>.outline-button{font-size:10px;margin-block:4px 17px}.gp-phase-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.gp-phase-grid>div{padding:14px;background:#fff;border:1px solid #d6e4eb;border-radius:9px;display:grid;gap:12px}.gp-phase-grid strong{font-size:11px;line-height:1.6;color:#315f78}.gp-priority{list-style:none;padding:0;margin:18px 0 0;display:grid;gap:7px}.gp-priority li{display:flex;justify-content:space-between;gap:18px;align-items:center;border:1px solid #dce8ed;background:#f6fafb;border-radius:8px;padding:9px 13px;font-size:11px;color:#3d667b}.gp-priority li>div{display:flex;gap:8px}.gp-priority button{padding:5px 9px;min-height:30px}.gp-editor-footer{display:flex;justify-content:flex-end;gap:12px;flex-wrap:wrap;padding:16px 0;background:var(--page-bg,#f4f7fa)}
@media(hover:hover) and (pointer:fine){.gp-goal-card:hover{transform:translateY(-3px);border-color:#60a59a}.gp-home-summary>a:hover{border-color:#76b1a7}}
@media(max-width:1100px){.gp-goal-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.gp-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.gp-stats{grid-template-columns:1fr 1fr}.gp-two-col{grid-template-columns:1fr}.gp-phase-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.gp-detail-top,.gp-editor-top{align-items:flex-start}.gp-detail-top>.gp-actions{max-width:270px}.gp-home-summary>a{align-items:flex-start;flex-direction:column;gap:6px}}
@media(max-width:640px){.gp-panel,.gp-empty{padding:20px}.gp-intro{grid-template-columns:1fr;padding:24px;gap:20px}.gp-intro-actions{max-width:none;margin-left:0}.gp-goal-grid{grid-template-columns:1fr}.gp-goal-card{padding:22px}.gp-detail-top,.gp-editor-top{flex-direction:column;align-items:stretch;gap:13px}.gp-detail-top>.gp-actions{max-width:none;justify-content:flex-start}.gp-tabs{flex-wrap:wrap}.gp-tabs button{font-size:11px;padding:9px 11px}.gp-stats{gap:10px}.gp-stat{padding:15px}.gp-stat>strong{font-size:21px}.gp-stat>span,.gp-stat>small{font-size:9px}.gp-form-grid,.gp-phase-grid{grid-template-columns:1fr}.gp-bucket-row{grid-template-columns:1fr 1fr}.gp-bucket-row label:first-child{grid-column:1/-1}.gp-funding-row{grid-template-columns:1fr!important;gap:10px!important}.gp-funding-row>span:last-child{max-width:220px}.gp-empty-steps{flex-direction:column;text-align:left;gap:18px;max-width:300px;margin-inline:auto}.gp-row-head{align-items:flex-start}.gp-flow-card{padding:17px}.gp-table thead{display:none}.gp-table tbody,.gp-table tr,.gp-table td{display:block!important;min-width:0!important;width:100%!important}.gp-table tr{border:1px solid #d9e5ec;border-radius:10px;padding:11px;margin-bottom:14px;background:#fbfdfe}.gp-table td{display:grid!important;grid-template-columns:minmax(95px,.8fr) minmax(0,1.2fr);gap:13px;padding:9px 4px;line-height:1.7;border-bottom:1px solid #e8eff3;font-size:11px}.gp-table td::before{content:attr(data-label);color:#6a8595;font-size:10px;font-weight:600}.gp-table td small{grid-column:2}.gp-table td:last-child{border-bottom:0}.gp-pager{flex-wrap:wrap;justify-content:center}.gp-priority li{font-size:10px}.gp-priority li>span{overflow-wrap:anywhere}.gp-editor-footer{justify-content:stretch}.gp-editor-footer button{flex:1}.gp-home-summary>a{padding:16px}.gp-home-summary strong{font-size:13px}.gp-home-summary span{font-size:11px}}
@media(prefers-reduced-motion:reduce){#goals *{transition:none!important;animation:none!important}}
/* Guided client journey: keep advanced detail available, with clear text actions. */
#goals .gp-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:24px 0 28px}#goals .gp-steps button{display:flex;align-items:center;gap:12px;padding:15px;text-align:left;background:#fff;border:1px solid #cbdfe9;border-radius:12px;color:#4b6b81;font-size:12px;min-height:62px}#goals .gp-steps b{display:grid;place-items:center;flex:0 0 29px;width:29px;height:29px;border-radius:50%;background:#edf3f7;color:#416880}#goals .gp-steps [aria-current=step]{background:#0c587d;border-color:#0c587d;color:#fff;box-shadow:0 5px 15px #195c7920}#goals .gp-steps [aria-current=step] b{background:#ffffff24;color:#fff}#goals .gp-steps .complete b{background:#dcf4e9;color:#137451}
#goals .gp-step-title{margin:16px 0 22px}#goals .gp-step-title>span{font-size:10px;font-weight:700;color:#087a69;letter-spacing:.1em}#goals .gp-step-title h3{font-size:25px;margin:10px 0}#goals .gp-step-title p{max-width:760px;margin:0;font-size:14px}#goals .gp-step-panel>.gp-panel{margin-block:18px}#goals .gp-form-grid label,#goals .gp-bucket-row label,#goals .gp-phase-grid label{font-size:12px}#goals .gp-editor input,#goals .gp-editor select{font-size:13px;min-height:44px}#goals .gp-editor button{min-height:40px;font-size:12px}#goals .gp-check{font-size:13px!important;padding:12px;background:#f1f7fa;border-radius:9px}#goals .gp-check input{min-height:0;margin-right:4px}
#goals details.gp-more{border:1px solid #d2e3eb;border-radius:10px;background:#f7fafc;margin:18px 0;padding:0}#goals details.gp-more>summary,#goals .gp-funding-list~summary{list-style:none;padding:16px 46px 16px 17px;position:relative;min-height:53px;font-size:13px;line-height:1.65;color:#164f71;background:#edf5fa;border-radius:10px;font-weight:700}#goals details>summary::-webkit-details-marker{display:none}#goals details>summary{list-style:none;padding-right:34px;position:relative;min-height:40px}#goals details>summary::after{content:'+';font-size:24px;position:absolute;right:10px;top:0;color:#0d6591;font-weight:500;line-height:1.5}#goals details[open]>summary::after{content:'−'}#goals details.gp-more>summary::after{right:17px;top:10px}#goals details.gp-more[open]>summary{margin-bottom:0;border-radius:10px 10px 0 0;border-bottom:1px solid #d2e3eb}#goals .gp-more>.gp-form-grid{padding:0 17px;margin:17px 0}#goals .gp-more>.gp-panel{margin:0;border:0;box-shadow:none;background:transparent}#goals .gp-more>.gp-bucket-list{margin:0;padding:0 17px}#goals .gp-more>.gp-table-wrap{padding:0 15px}#goals .gp-more>.gp-note,#goals .gp-more>.outline-button{margin:15px}#goals .gp-advanced-card{margin-block:18px}
#goals .gp-funding-total{background:linear-gradient(110deg,#e8f4ff,#e5f5ec);border:1px solid #cee2e8;border-radius:10px;padding:16px 19px;display:grid;grid-template-columns:1fr auto;align-items:center;gap:6px;margin:15px 0}#goals .gp-funding-total>span{font-size:12px;color:#467189}#goals .gp-funding-total strong{font-size:23px;color:#08715e}#goals .gp-funding-total small{grid-column:1/-1;color:#597c8e;font-size:10px}#goals .gp-link-status{font-size:11px!important;border-radius:7px;color:#12694e!important;background:#e6f4ed;padding:10px 12px}#goals .gp-bucket-title{grid-column:1/-1;font-size:13px;color:#285a74}#goals .gp-bucket-row>.gp-more{grid-column:1/-1;margin:0}#goals .gp-bucket-row>.gp-more .gp-form-grid{grid-template-columns:1fr 1fr}#goals .gp-phase-summary{background:#edf7f5;border:1px solid #c8e1dc;border-radius:12px;padding:20px;margin:20px 0}#goals .gp-phase-summary>strong{font-size:14px;color:#146b60}#goals .gp-phase-summary>div{display:flex;gap:15px;align-items:flex-start;padding:15px 0;border-bottom:1px solid #d2e7e3}#goals .gp-phase-summary b{min-width:140px;font-size:12px;color:#315d65}#goals .gp-phase-summary span{font-size:12px;color:#51727b;line-height:1.8}#goals .gp-phase-summary>small{display:block;margin-top:14px;font-size:11px;color:#557d80}
#goals .gp-priority li{display:grid;grid-template-columns:30px minmax(0,1fr) auto;padding:12px;gap:13px}#goals .gp-rank{display:grid;place-items:center;width:28px;height:28px;background:#daecf5;border-radius:50%;color:#205a7b}#goals .gp-priority button{min-height:40px;padding:9px 12px;font-size:11px}#goals .gp-priority button:disabled{opacity:.4;cursor:default}#goals .gp-priority li>span{font-size:12px}#goals .gp-editor-footer{position:sticky;bottom:0;background:#fff;z-index:10;padding:15px;border:1px solid #d5e2ea;box-shadow:0 -5px 24px #214c6810;border-radius:12px;align-items:center;margin:28px 0 10px}#goals .gp-editor-footer #gp-step-count{font-size:11px;color:#618093;margin-right:auto}#goals .gp-editor-footer button{min-height:44px;padding:11px 18px}
#goals .gp-review-summary{border:1px solid #d4e2ea;background:#fff;border-radius:12px;padding:23px;margin:20px 0}#goals .gp-review-summary h3{margin-top:0}#goals .gp-review-summary>div{display:flex;justify-content:space-between;gap:25px;border-top:1px solid #e0e9ef;padding:13px 0;font-size:12px;line-height:1.8}#goals .gp-review-summary span{color:#618092}#goals .gp-review-summary strong{color:#234e68;text-align:right}#goals .gp-verdict{border-left:5px solid #168575;border-radius:12px;background:linear-gradient(100deg,#e5f5ee,#edf7fc);padding:22px 25px;margin:20px 0}#goals .gp-verdict>strong{display:block;font-size:22px;line-height:1.45;letter-spacing:-.02em;color:#155e55}#goals .gp-verdict>p{font-size:14px;margin:10px 0;color:#3e6971}#goals .gp-verdict>span{font-size:10px;color:#5e7c89}#goals .gp-month-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin:20px 0}#goals .gp-month-stats .gp-stat>strong{font-size:22px}.gp-launch-link{display:inline-flex;align-items:center;justify-content:center;background:#e4f3ef;color:#166352!important;border:1px solid #b8dace;border-radius:8px;padding:10px 14px;font-size:12px;font-weight:700;min-height:40px}.gp-launch-link:hover{background:#d7eee6}
@media(max-width:760px){#goals .gp-steps{grid-template-columns:1fr 1fr;gap:9px}#goals .gp-steps button{padding:11px;gap:9px;min-height:57px;font-size:11px}#goals .gp-step-title h3{font-size:23px}#goals .gp-phase-summary>div{flex-direction:column;gap:5px}#goals .gp-priority li{grid-template-columns:30px minmax(0,1fr)}#goals .gp-priority li>div{grid-column:2;flex-wrap:wrap}#goals .gp-month-stats{grid-template-columns:1fr}#goals .gp-month-stats .gp-stat{display:grid;grid-template-columns:1fr auto;gap:6px;align-items:center}#goals .gp-month-stats .gp-stat>span{margin:0}#goals .gp-month-stats .gp-stat>small{grid-column:1/-1;margin:0}#goals .gp-review-summary>div{flex-direction:column;gap:3px}#goals .gp-review-summary strong{text-align:left}#goals .gp-editor-footer{padding:11px;gap:8px}#goals .gp-editor-footer #gp-step-count{width:100%;order:-1;text-align:center;margin:0}#goals .gp-editor-footer button{font-size:11px;padding:10px 12px;flex:1}#goals .gp-verdict{padding:19px}#goals .gp-verdict>strong{font-size:20px}#goals .gp-funding-total{grid-template-columns:1fr}#goals .gp-funding-total strong{font-size:24px}#goals .gp-bucket-row>.gp-more .gp-form-grid{grid-template-columns:1fr}.gp-launch-link{font-size:11px;padding:9px 12px}}
#goals .gp-steps{scroll-margin-top:115px}#goals .gp-editor button,#goals .gp-tabs button{min-height:44px}#goals .gp-editor-footer button[hidden]{display:none!important}@media(max-width:640px){#goals .gp-steps{scroll-margin-top:145px}}
.tracker .sidebar .nav-number{display:none}.tracker .sidebar nav.gp-client-nav{gap:8px}.tracker .sidebar nav.gp-client-nav>a{font-size:13px;min-height:46px}.tracker .sidebar .gp-nav-more{margin-top:8px;border:1px solid #ffffff28;border-radius:8px;background:#ffffff08}.tracker .sidebar .gp-nav-more>summary{list-style:none;position:relative;cursor:pointer;padding:13px 31px 13px 12px;color:#eff7ff;font-size:12px;font-weight:600;line-height:1.65;min-height:46px}.tracker .sidebar .gp-nav-more>summary::-webkit-details-marker{display:none}.tracker .sidebar .gp-nav-more>summary:after{content:'+';position:absolute;right:12px;top:10px;font-size:21px}.tracker .sidebar .gp-nav-more[open]>summary:after{content:'−'}.tracker .sidebar .gp-nav-more>div{border-top:1px solid #ffffff20;padding:7px}.tracker .sidebar .gp-nav-more a{font-size:12px;padding:11px 8px;min-height:42px}.tracker .sidebar .gp-nav-more a>span{font-size:12px}
@media(max-width:950px){.tracker .sidebar nav.gp-client-nav{display:grid;grid-template-columns:1fr 1fr;overflow:visible;gap:8px;margin-top:16px}.tracker .sidebar nav.gp-client-nav>a{background:#ffffff12;border:1px solid #ffffff20;white-space:normal;padding:10px 12px}.tracker .sidebar .gp-nav-more{margin:0;min-width:0}.tracker .sidebar .gp-nav-more[open]{grid-column:1/-1}.tracker .sidebar .gp-nav-more>div{display:grid;grid-template-columns:1fr 1fr;gap:5px}.tracker .sidebar .gp-nav-more a{white-space:normal!important}.tracker .sidebar .brand>span{display:none}}
/* Goal tracking dashboard and planning-change comparison. */
#goals .gd-hero{display:flex;justify-content:space-between;align-items:center;gap:30px;padding:32px;border-radius:18px;background:linear-gradient(115deg,#12496f,#0c796a);color:#fff;margin:20px 0}#goals .gd-hero .mini-label{color:#b2e2d7}#goals .gd-hero h2{color:#fff;margin:12px 0}#goals .gd-hero p{color:#daecf3;max-width:650px;margin:0;font-size:14px}#goals .gd-hero-tags{display:flex;flex-wrap:wrap;gap:9px;margin-top:20px}#goals .gd-hero-tags span{border:1px solid #ffffff35;background:#ffffff12;border-radius:20px;padding:6px 11px;font-size:10px}#goals .gd-create-actions{display:flex;flex-direction:column;gap:12px;min-width:190px}#goals .gd-create-actions .outline-button{background:#ffffff12;border-color:#ffffff50;color:#fff}
#goals .gd-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin:22px 0 30px}#goals .gd-metric{background:#fff;border:1px solid #d1e3ec;border-top:3px solid #448fbc;border-radius:11px;padding:19px;min-width:0}#goals .gd-metric:nth-child(2){border-top-color:#219d7b}#goals .gd-metric:nth-child(3){border-top-color:#b98c29}#goals .gd-metric:nth-child(4){border-top-color:#8d70bb}#goals .gd-metric span{display:block;font-size:11px;color:#517489;line-height:1.6}#goals .gd-metric strong{display:block;font-size:25px;color:#173f60;margin:10px 0;line-height:1.3;overflow-wrap:anywhere}#goals .gd-metric small{display:block;font-size:10px;line-height:1.7;color:#698697}#goals .gd-section-title{display:flex;justify-content:space-between;gap:20px;align-items:center;margin:20px 0}#goals .gd-section-title h3{margin:0 0 8px}#goals .gd-section-title p{margin:0;font-size:12px}#goals .gd-section-title>span{font-size:10px;white-space:nowrap;color:#5c7b8e}
#goals .gd-goal-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}#goals .gd-goal-card{background:#fff;border:1px solid #cfdfeb;border-radius:16px;padding:24px;box-shadow:0 7px 25px #143f5f06;min-width:0}#goals .gd-goal-card.needs-attention{border-color:#e4c792}#goals .gd-card-top{display:flex;flex-wrap:wrap;gap:10px;justify-content:space-between;align-items:center}#goals .gd-card-top>span{font-size:10px;color:#69899a}#goals .gd-status{padding:6px 10px;border-radius:20px;font-size:9px;line-height:1.6;background:#edf2f7;color:#5a768a;font-weight:700}#goals .gd-status.on-track{background:#e1f5e9;color:#176746}#goals .gd-status.attention,#goals .gd-status.review{background:#fff0d8;color:#845b1d}#goals .gd-goal-card h3{margin:18px 0 10px}#goals .gd-goal-card h3 button{font-size:23px;line-height:1.35;font-weight:700;color:#164c6b;text-align:left;border:0;background:none;padding:0}#goals .gd-scenario-label{color:#866225;background:#fff6de;padding:8px 10px;font-size:10px;border-radius:6px;margin:10px 0}#goals .gd-collected{display:flex;flex-direction:column;gap:6px;margin:19px 0 21px}#goals .gd-collected>span{color:#5f8092;font-size:11px}#goals .gd-collected>strong{font-size:32px;line-height:1.3;letter-spacing:-.025em;color:#0d7c69}#goals .gd-collected>small{font-size:9px;color:#7994a3}#goals .gd-progress-label{display:flex;justify-content:space-between;gap:15px;align-items:center;font-size:10px;color:#668395}#goals .gd-progress-label b{color:#226b7b;font-size:12px}#goals .gd-progress{height:9px;background:#e7f0f5;border-radius:10px;overflow:hidden;margin:9px 0 20px}#goals .gd-progress i{display:block;height:100%;background:linear-gradient(90deg,#147f96,#21ad7c);border-radius:10px}#goals .gd-card-facts{display:grid;grid-template-columns:1fr 1fr;gap:17px 14px;padding:18px 0;border-top:1px solid #e2ebf1;border-bottom:1px solid #e2ebf1}#goals .gd-card-facts span{display:block;color:#698494;font-size:10px;line-height:1.7}#goals .gd-card-facts strong{display:block;color:#1b526c;font-size:17px;margin-top:5px}#goals .gd-card-facts strong.gd-gap{color:#ab6b20}#goals .gd-run-rate{padding:15px 0;display:grid;gap:6px}#goals .gd-run-rate span{display:flex;justify-content:space-between;gap:14px;font-size:11px;color:#4e7385}#goals .gd-run-rate b{color:#1d6072}#goals .gd-run-rate small{font-size:10px;color:#7993a1}#goals .gd-card-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:15px}#goals .gd-card-actions button{flex:1;min-height:44px;font-size:11px}#goals .gd-empty{background:#fff;border:1px solid #d5e5ec;border-radius:16px;padding:30px;margin:25px 0}#goals .gd-empty>p{max-width:750px}#goals .gd-empty-flow{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:25px}#goals .gd-empty-flow>div{padding:23px;background:#f0f6fc;border-radius:12px;display:grid;gap:11px}#goals .gd-empty-flow b{background:#0b7f78;color:#fff;display:grid;place-items:center;width:30px;height:30px;border-radius:50%}#goals .gd-empty-flow strong{font-size:14px;color:#235b76}#goals .gd-empty-flow span{font-size:11px;color:#6e8a9a}
#goals .gd-detail-actions{display:flex;flex-wrap:wrap;gap:11px;margin:20px 0}#goals .gd-detail-actions button{min-height:44px;font-size:11px}#goals .gd-flow{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;margin:25px 0}#goals .gd-flow-node{position:relative;display:flex;flex-direction:column;justify-content:center;gap:12px;padding:23px;border:1px solid #c8dfeb;border-radius:12px;background:#eff6fc;min-width:0}#goals .gd-flow-node:not(:last-child):after{content:'';position:absolute;right:-33px;top:50%;width:32px;height:3px;background:#8fc5cc}#goals .gd-flow-node.core{background:#e8f7ef;border-color:#bcdccf}#goals .gd-flow-node>b{font-size:11px;color:#3c6b81}#goals .gd-flow-node>strong{font-size:25px;line-height:1.3;color:#136d70;overflow-wrap:anywhere}#goals .gd-flow-node>span{font-size:10px;color:#6d8a99;line-height:1.8}#goals .gd-run-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:20px 0}#goals .gd-run-cards .gd-metric{background:#fafcfe;box-shadow:none}#goals .gd-run-cards strong{font-size:23px}#goals .gd-journey h4{font-size:15px;margin:27px 0 10px;color:#275972}#goals .gd-fund-list{display:grid;gap:0}#goals .gd-fund-row{display:flex;justify-content:space-between;align-items:center;gap:25px;padding:18px 0;border-top:1px solid #e2ebf1}#goals .gd-fund-row strong{display:block;font-size:12px;color:#285a73;line-height:1.6}#goals .gd-fund-row span{display:block;font-size:11px;color:#497c88;margin-top:7px}#goals .gd-fund-row small{display:block;font-size:10px;color:#7a96a4;margin-top:7px;line-height:1.8}#goals .gd-fund-bar{min-width:120px;max-width:220px;width:28%;height:10px;background:#e8f0f5;border-radius:7px;overflow:hidden}#goals .gd-fund-bar i{display:block;height:100%;background:#1c9f88;border-radius:7px}#goals .gd-impact{border-top:1px solid #cee2eb;padding-top:22px;margin-top:25px}#goals .gd-whatif>p{max-width:820px}#goals .gd-whatif form select,#goals .gd-whatif form input{width:100%;min-height:44px;min-width:0;padding:11px;border:1px solid #c4dbe8;border-radius:7px;background:#fbfdff;font:inherit;color:#224e69}#goals .gd-whatif [hidden]{display:none!important}
@media(max-width:1100px){#goals .gd-metrics{grid-template-columns:1fr 1fr}#goals .gd-goal-grid{grid-template-columns:1fr}#goals .gd-hero{align-items:flex-start}#goals .gd-flow{gap:22px}#goals .gd-flow-node{padding:18px}#goals .gd-flow-node:not(:last-child):after{width:22px;right:-23px}}
@media(max-width:640px){#goals .gd-hero{flex-direction:column;padding:25px;gap:22px}#goals .gd-create-actions{width:100%}#goals .gd-metrics{gap:11px}#goals .gd-metric{padding:16px}#goals .gd-metric strong{font-size:21px}#goals .gd-metric span,#goals .gd-metric small{font-size:9px}#goals .gd-section-title{align-items:flex-start;flex-direction:column;gap:8px}#goals .gd-goal-card{padding:21px}#goals .gd-goal-card h3 button{font-size:22px}#goals .gd-collected>strong{font-size:29px}#goals .gd-card-facts strong{font-size:16px}#goals .gd-run-rate span{flex-wrap:wrap}#goals .gd-empty{padding:23px}#goals .gd-empty-flow{grid-template-columns:1fr}#goals .gd-detail-actions{display:grid;grid-template-columns:1fr 1fr}#goals .gd-detail-actions button{padding:10px;font-size:10px}#goals .gd-flow{grid-template-columns:1fr;gap:23px}#goals .gd-flow-node:not(:last-child):after{right:auto;left:50%;top:auto;bottom:-24px;width:3px;height:23px}#goals .gd-run-cards{grid-template-columns:1fr}#goals .gd-fund-row{align-items:flex-start;flex-direction:column;gap:14px}#goals .gd-fund-bar{width:100%;max-width:none}#goals .gd-card-actions{display:grid;grid-template-columns:1fr 1fr}#goals .gd-card-actions button{padding:10px 7px;font-size:10px}}
#goals.gd-dashboard-active>.page-heading{display:none}#goals .gd-hero{padding:24px 28px;margin-top:16px}#goals .gd-hero h2{font-size:26px;margin:9px 0}#goals .gd-hero p{font-size:12px;line-height:1.7}#goals .gd-hero-tags{margin-top:14px}#goals .gd-hero-tags span{font-size:9px;padding:5px 9px}#goals .gd-metrics{margin:18px 0 24px}#goals .gd-goal-grid.single{grid-template-columns:1fr}#goals .gd-goal-grid.single .gd-card-facts{grid-template-columns:repeat(4,minmax(0,1fr))}@media(max-width:640px){#goals .gd-hero{padding:23px}#goals .gd-goal-grid.single .gd-card-facts{grid-template-columns:1fr 1fr}#goals .gd-hero h2{font-size:24px}}
#goals .gd-fund-actions{display:flex;flex-direction:column;align-items:flex-end;gap:12px;min-width:190px}#goals .gd-fund-actions .gd-fund-bar{width:100%;min-width:150px}#goals .gd-fund-actions button{font-size:10px;min-height:40px;padding:9px 12px}@media(max-width:640px){#goals .gd-fund-actions{width:100%;align-items:stretch}#goals .gd-fund-actions button{min-height:44px}}
#goals .gd-whatif,#gd-whatif-result{scroll-margin-top:110px}@media(max-width:640px){#goals .gd-whatif,#gd-whatif-result{scroll-margin-top:145px}}
#goals .gd-card-funds>div{padding:0 16px}#goals .gd-card-fund{padding:15px 0;border-bottom:1px solid #dce8ed}#goals .gd-card-fund:last-child{border-bottom:0}#goals .gd-card-fund strong{display:block;font-size:11px;line-height:1.7;color:#305f75}#goals .gd-card-fund span{display:block;font-size:11px;color:#23826e;margin-top:7px}#goals .gd-card-fund small{display:block;font-size:10px;color:#77929f;margin-top:5px}#goals .gd-future-inflows{padding:17px 20px;background:#f0f6fb;border:1px solid #d4e4ee;border-radius:10px;margin:20px 0}#goals .gd-future-inflows>div{padding:12px 0;border-top:1px solid #dce8ef}#goals .gd-future-inflows strong{display:block;font-size:12px;color:#335d77}#goals .gd-future-inflows span{display:block;font-size:11px;color:#728c9f;margin-top:7px;line-height:1.7}
#goals .gd-card-facts strong,#goals .gd-collected>strong{overflow-wrap:anywhere}

/* Form errors stay beside the result; notifications never cover goal actions. */
#goals .gp-form-error{padding:22px;border:1px solid #d9959c;border-left:5px solid #a12d3d;background:#fff4f4;color:#65202c;border-radius:12px;margin:20px 0;scroll-margin:130px}#goals .gp-form-error>strong{font-size:17px;color:#752331}#goals .gp-form-error p{font-size:13px;color:#65202c}#goals .gp-form-error button{color:#65202c;border-color:#d6a8ae;background:white}#toast.app-status,#toast.app-status.error{color:#fff!important}body:has(#gp-editor) #toast.app-status{top:100px;bottom:auto}#goals .gp-preview-month{box-shadow:none;padding:20px}#goals .gp-preview-month>label{display:grid;gap:8px;color:#375f77;font-size:13px;max-width:300px}#goals .gp-preview-month select{min-height:44px;padding:10px;background:white;border:1px solid #b9cfe7;border-radius:8px}#goals details>summary::after{display:none}#goals details.gp-more>summary::after{display:block}@media(max-width:640px){body:has(#gp-editor) #toast.app-status{top:16px;bottom:auto}#goals .gp-form-error{padding:17px}#goals .gp-form-error .gp-actions{display:grid}}
