#page-goals{max-width:1280px;margin:auto;padding-bottom:110px;color:var(--navy)}
#page-goals [hidden]{display:none!important}
.goals-heading,.goals-section-heading,.goals-target-controls,.goals-period{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.goals-heading h1{margin:0;font-size:28px}.goals-heading p,#page-goals p{font-size:13px;color:#536578;line-height:1.5}
.goals-tabs{display:flex;gap:6px;border-bottom:1px solid var(--grey-line);margin:18px 0}
.goals-tabs button{border:0;background:transparent;color:#536578;min-height:44px;padding:10px 20px;font:inherit;font-weight:600;cursor:pointer;border-bottom:3px solid transparent}
.goals-tabs button[aria-selected=true]{color:var(--navy);border-bottom-color:var(--navy)}
#page-goals .card{padding:20px;margin-bottom:18px}#page-goals h2{font-size:17px;margin:0;display:flex;gap:8px;align-items:center}
#page-goals .btn{min-height:44px;white-space:normal;display:inline-flex;align-items:center;justify-content:center;gap:7px;font-size:13px;padding:10px 15px}
.goals-target{border-top:3px solid var(--navy)}.goals-target-controls{justify-content:flex-start;align-items:flex-end}
.goals-field{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:600;color:#536578;min-width:0}
#page-goals input,#page-goals select{box-sizing:border-box;min-width:0;width:100%;min-height:44px;padding:9px 11px;border:1px solid var(--grey-line);border-radius:8px;background:#fff;color:var(--navy);font:inherit;font-size:16px}
#page-goals input[data-config=goal]{font-size:28px;font-weight:700;max-width:260px}
#page-goals :focus-visible{outline:2px solid #167bb3;outline-offset:3px}
.goals-fields,.goals-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.goals-grid{margin:16px 0}.goals-metric{padding:18px;border:1px solid var(--grey-line);border-radius:12px;background:#fff;display:flex;flex-direction:column;gap:8px;min-width:0}
.goals-metric>span{font-size:13px;font-weight:600}.goals-metric>strong{font-size:27px;line-height:1.2;overflow-wrap:anywhere}.goals-metric small{font-size:12px;color:#536578;line-height:1.5}
.goals-metric.positive{border-top:3px solid #168167}.goals-metric.attention{border-top:3px solid #b57a16}
.goals-progress{display:block;margin:14px 0 22px;font-size:13px;font-weight:600;line-height:1.5}.goals-progress progress{display:block;width:100%;height:10px;margin-top:9px;accent-color:#168167;border:0;border-radius:8px;overflow:hidden}.goals-progress progress::-webkit-progress-bar{background:#e7eef3}.goals-progress progress::-webkit-progress-value{background:#168167}
.goals-period{justify-content:flex-start;font-size:12px;color:#536578}.goals-period input{max-width:100px}
.goals-assumptions summary{cursor:pointer;min-height:28px;font-size:14px;font-weight:700}.goals-assumptions li{font-size:13px;line-height:1.6;margin-bottom:9px}.goals-assumptions ul{padding-left:20px}
.goals-section-heading{margin:16px 0}.goals-section-heading>span{font-size:12px;color:#536578}
.goals-badge{display:inline-block!important;width:fit-content;padding:6px 10px;border-radius:8px;font-size:12px!important;font-weight:600}.goals-badge.positive{background:#eaf8f2;color:#146b55}.goals-badge.attention{background:#fff4de;color:#825504}
.goals-suggestion>div{font-size:13px;line-height:1.7}.goals-suggestion .btn{margin-top:auto}
.goals-line{padding:16px 0;border-bottom:1px solid var(--grey-line);margin-bottom:14px}.goals-profile{grid-column:span 2}.goals-line>.btn{margin-top:10px}.goals-experiment{margin-top:20px}
@media(max-width:760px){.goals-fields,.goals-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.goals-three{grid-template-columns:1fr}.goals-metric{padding:14px}.goals-metric>strong{font-size:23px}#page-goals .card{padding:15px}.goals-heading h1{font-size:24px}.goals-assumptions ul{padding-left:16px}}
@media(max-width:370px){.goals-grid,.goals-fields{grid-template-columns:1fr}.goals-profile{grid-column:auto}}
