/* ARVYNO 0.9.135 — Goal creation/editing form only. */
.goals-simple-form-screen.goal-form-refined-screen { --goal-form-inset: 16px; }
.goals-simple-form-screen.goal-form-refined-screen .entity-form-topbar {
  grid-template-columns: 44px minmax(0,1fr) 88px !important;
  min-height: 56px !important;
  padding-inline: var(--goal-form-inset) !important;
  gap: 8px !important;
  border-bottom-color: rgba(92,80,68,.075) !important;
}
.goals-simple-form-screen.goal-form-refined-screen .entity-form-top-title { font-size: 16px !important; font-weight: 600 !important; line-height: 1.2 !important; letter-spacing: -.02em !important; white-space: normal !important; }
.goals-simple-form-screen.goal-form-refined-screen.task-quiet-screen .entity-form-topbar .tracker-icon-button { width: 44px !important; height: 44px !important; padding: 0 !important; font-size: 26px !important; font-weight: 400 !important; }
.goals-simple-form-screen.goal-form-refined-screen .task-form-done { min-height: 44px !important; padding: 0 !important; font-size: 13px !important; font-weight: 550 !important; text-align: right; }
.goals-simple-form-screen.goal-form-refined-screen .task-form-done:disabled { color: #9a958e !important; opacity: .7 !important; }
.goals-simple-form-screen.goal-form-refined-screen .task-form-done[aria-busy="true"] { color: var(--sage-dark) !important; opacity: .7 !important; }
.goals-simple-form-screen.goal-form-refined-screen .entity-form-scroll { padding-inline: var(--goal-form-inset) !important; }
.goal-form-refined-screen #goal-simple-form { padding-top: 14px !important; gap: 12px !important; }
.goal-form-refined-screen #goal-simple-form .goals-simple-form-title,
.goal-form-refined-screen #goal-simple-form .goals-simple-form-note { padding: 0 var(--goal-form-inset) !important; border: 0 !important; background: #fff !important; }
.goal-form-refined-screen #goal-simple-form .goals-simple-form-title { border-radius: 20px 20px 0 0 !important; }
.goal-form-refined-screen #goal-simple-form .goals-simple-form-title input { height: 56px !important; min-height: 56px !important; padding: 0 !important; border: 0 !important; border-bottom: 1px solid rgba(92,80,68,.075) !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; font-size: 18px !important; font-weight: 550 !important; letter-spacing: -.015em !important; }
.goal-form-refined-screen #goal-simple-form .goals-simple-form-title input::placeholder { color: #969089 !important; }
.goal-form-refined-screen #goal-simple-form .goals-simple-form-note { margin-top: -12px !important; border-radius: 0 0 20px 20px !important; }
.goal-form-refined-screen #goal-simple-form .goals-simple-form-note textarea { display: block !important; min-height: 44px !important; max-height: 160px !important; padding: 11px 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; font-size: 14px !important; font-weight: 400 !important; line-height: 22px !important; overflow-y: auto; }
.goal-form-refined-screen #goal-simple-form .goals-simple-form-note textarea::placeholder { color: #8b857e !important; }
.goal-form-refined-screen #goal-simple-form .goals-simple-label { display: none !important; }
.goal-form-refined-screen #goal-simple-form .goals-simple-types { min-height: 44px !important; padding: 3px !important; gap: 2px !important; border: 0 !important; border-radius: 12px !important; background: #f0eeea !important; }
.goal-form-refined-screen #goal-simple-form .goals-simple-type { min-width: 0; }
.goal-form-refined-screen #goal-simple-form .goals-simple-type span { height: 38px !important; min-height: 38px !important; border: 0 !important; border-radius: 9px !important; background: transparent !important; box-shadow: none !important; color: #807a73 !important; }
.goal-form-refined-screen #goal-simple-form .goals-simple-type i { display: none !important; }
.goal-form-refined-screen #goal-simple-form .goals-simple-type b { font-size: 12px !important; font-weight: 550 !important; color: inherit !important; }
.goal-form-refined-screen #goal-simple-form .goals-simple-type input:checked + span { background: #fff !important; color: var(--sage-dark) !important; box-shadow: 0 1px 4px rgba(54,47,40,.035) !important; }
.goal-form-refined-screen #goal-simple-form .goals-simple-type input:focus-visible + span { outline: 2px solid #7f9d84; outline-offset: -2px; }
.goal-form-refined-screen #goal-simple-form .goals-simple-type input:disabled + span { opacity: .85 !important; }
.goal-form-refined-screen #goal-simple-form .goals-simple-card,
.goal-form-refined-screen #goal-simple-form .goals-simple-more { border: 0 !important; border-radius: 20px !important; background: #fff !important; box-shadow: 0 3px 12px rgba(54,47,40,.012) !important; }
.goal-form-refined-screen #goal-simple-form .goals-simple-row-field { min-height: 50px !important; padding: 8px var(--goal-form-inset) !important; gap: 12px !important; border-bottom-color: rgba(92,80,68,.075) !important; }
.goal-form-refined-screen #goal-simple-form .goals-simple-row-field > span:first-child { flex: .85; min-width: 0; font-size: 14px !important; font-weight: 500 !important; }
.goal-form-refined-screen #goal-simple-form .goals-simple-row-field > span:last-child { flex: 1.15; position: relative; }
.goal-form-refined-screen #goal-simple-form .goals-simple-row-field input:not([type="checkbox"]),
.goal-form-refined-screen #goal-simple-form .goals-simple-row-field select { min-height: 34px !important; height: 34px !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; color: #78736c !important; font-size: 13px !important; font-weight: 400 !important; font-variant-numeric: tabular-nums; }
.goal-form-refined-screen #goal-simple-form .goals-simple-row-field select { appearance: none !important; }
.goal-form-refined-screen #goal-simple-form .goals-simple-picker-row > span:last-child { padding-right: 24px; }
.goal-form-refined-screen #goal-simple-form .goals-simple-picker-row > span:last-child::after { content: '›'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 20px; text-align: center; color: rgba(91,81,71,.46); font-size: 20px; font-weight: 400; pointer-events: none; }
.goal-form-refined-screen #goal-simple-form .entity-native-picker { width: 100% !important; min-width: 0 !important; min-height: 34px !important; height: 34px !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; }
.goal-form-refined-screen #goal-simple-form .entity-native-picker-value { height: 34px !important; padding: 0 !important; min-height: 34px !important; justify-content: flex-end !important; font-size: 13px !important; font-weight: 400 !important; color: #78736c !important; }
.goal-form-refined-screen #goal-simple-form .entity-native-picker-value.is-placeholder { color: #969089 !important; }
.goal-form-refined-screen #goal-simple-form .goals-simple-check-row input[type="checkbox"] { width: 24px !important; height: 24px !important; min-height: 0 !important; padding: 0 !important; accent-color: #7f9d84; }
.goal-form-refined-screen #goal-simple-form .goals-simple-note { padding: 10px var(--goal-form-inset) !important; background: transparent !important; font-size: 12px !important; line-height: 1.45 !important; color: #8b857e !important; }
.goal-form-refined-screen #goal-simple-form .goals-simple-panel[data-goal-simple-panel="result"],
.goal-form-refined-screen #goal-simple-form .goals-simple-panel[data-goal-simple-panel="habit"] { background: transparent !important; box-shadow: none !important; }
.goal-form-refined-screen #goal-simple-form .goals-simple-panel[data-goal-simple-panel="result"] .goals-simple-note,
.goal-form-refined-screen #goal-simple-form .goals-simple-panel[data-goal-simple-panel="habit"] .goals-simple-note { padding: 0 2px !important; }
.goal-form-refined-screen #goal-simple-form .goals-simple-more summary { min-height: 50px !important; padding-inline: var(--goal-form-inset) !important; font-size: 14px !important; font-weight: 500 !important; }
.goal-form-refined-screen #goal-simple-form .goals-simple-more summary::after { width: 20px; text-align: center; font-size: 20px !important; font-weight: 400 !important; color: rgba(91,81,71,.46) !important; }
.goal-form-refined-screen #goal-simple-form .goals-simple-more:not([open]) > .goals-simple-row-field { display: none !important; }
@media (max-width: 360px) {
  .goals-simple-form-screen.goal-form-refined-screen { --goal-form-inset: 14px; }
  .goal-form-refined-screen #goal-simple-form .goals-simple-row-field { gap: 8px !important; }
  .goal-form-refined-screen #goal-simple-form .goals-simple-row-field > span:first-child { flex: .8; font-size: 13px !important; }
  .goal-form-refined-screen #goal-simple-form .goals-simple-row-field > span:last-child { flex: 1.2; }
}

/* v0.9.140: compact editing only; creation retains its previous layout. */
.goals-simple-form-screen.goal-form-refined-screen.goal-edit-compact-screen .entity-form-topbar { min-height: 48px !important; }
.goal-edit-compact-screen #goal-simple-form { padding-top: 10px !important; gap: 8px !important; }
.goal-edit-compact-screen #goal-simple-form .goals-simple-form-title input { height: 48px !important; min-height: 48px !important; font-size: 17px !important; }
.goal-edit-compact-screen #goal-simple-form .goals-simple-form-note { margin-top: -8px !important; }
.goal-edit-compact-screen #goal-simple-form .goal-edit-kind { min-height: 24px; display: flex; align-items: center; padding-inline: 2px; color: var(--sage-dark); font-size: 12px; font-weight: 550; }
.goal-edit-compact-screen #goal-simple-form .goals-simple-row-field { min-height: 44px !important; padding-block: 5px !important; }
.goal-edit-compact-screen #goal-simple-form .goals-simple-more summary { min-height: 44px !important; }
.goal-edit-compact-screen #goal-simple-form .goals-simple-delete { min-height: 44px !important; height: auto !important; margin: 0 !important; padding: 10px 16px !important; font-size: 13px !important; border-radius: 14px !important; }
.goal-edit-compact-screen #goal-simple-form [data-goal-daily-preview] { margin-top: 4px; }
