/* HUU 9.0.40: modest, uncluttered financial goal scheduling controls. */
.huu-goal-form{margin-top:14px;display:flex;gap:12px;flex-wrap:wrap;align-items:end}
.huu-goal-form[hidden]{display:none!important}
.huu-goal-form h3{width:100%;font-size:15px;margin:0 0 3px;color:#242b35}
.huu-goal-form label{min-width:150px;flex:1 1 175px}
.huu-goal-form label[data-goal-target=week]{flex:1 1 245px}
.huu-goal-form label input,.huu-goal-form label select{width:100%;max-width:100%;min-width:0;height:42px;font-size:14px;background:#fff}
.huu-goal-form label small{font-size:11px;color:#7e8586;font-weight:500}
.huu-goal-form-actions{display:flex;gap:9px;align-items:center;width:100%;flex-wrap:wrap}
.huu-goal-saved-list{display:grid;gap:0;margin-top:15px}
.huu-goal-saved-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:13px 1px;border-bottom:1px solid #eeeae6}
.huu-goal-saved-row:last-child{border-bottom:0}
.huu-goal-saved-info{display:grid;gap:3px}
.huu-goal-saved-info strong{font-size:13px;color:#313945}
.huu-goal-saved-info small{font-size:12px;color:#7d8588}
.huu-goal-saved-buttons{display:flex;gap:9px;align-items:center}
.huu-goal-saved-buttons .outline{min-height:34px;font-size:12px;padding:7px 11px}
.huu-goal-saved-buttons .text-button{font-size:12px;color:#bf5252}
.huu-goal-empty{margin-top:9px!important;font-size:12px}
@media(max-width:760px){.huu-goal-saved-row{align-items:flex-start}.huu-goal-saved-buttons{gap:4px}.huu-goal-form{padding:12px}}

/* Financial goal editing belongs within the profit detail, not Settings. */
.view[data-screen="finance-detail"] #goal-settings{max-width:none;width:100%;margin:16px 0 18px}
.view[data-screen="finance-detail"] #goal-settings .huu-goal-settings-head{align-items:center}
.huu-goal-metric-field{flex:2 1 260px!important}
.huu-goal-metric-field select{background:#fff;color:#242b35}
.huu-goal-metric-field small{font-weight:500;line-height:1.5;color:#727c80}
