/* Desktop forms share the app's field names and expense categories. */
#schedule-form .schedule-type-help { margin: -7px 0 22px; color: var(--muted); font-size: 13px; line-height: 1.7; }
#schedule-form .type-segment input:disabled + span { cursor: default; }
#schedule-form .type-segment input:disabled:not(:checked) + span { opacity: .45; }
#schedule-form .schedule-category-field { min-width: 0; margin: 0 0 19px; padding: 15px; border: 1px solid var(--line); border-radius: 14px; background: #faf9ff; }
#schedule-form .schedule-category-field legend,
#schedule-form .schedule-timing-fields legend { padding: 0 5px; color: var(--text); font-size: 13px; font-weight: 700; }
#schedule-form .schedule-category-options { display: flex; flex-wrap: wrap; gap: 8px; }
#schedule-form .schedule-category-option { display: block; position: relative; margin: 0; cursor: pointer; }
#schedule-form .schedule-category-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
#schedule-form .schedule-category-option span { display: block; padding: 9px 13px; background: white; border: 1px solid var(--line); border-radius: 9px; color: #63616e; font-size: 12px; font-weight: 600; transition: background .12s, color .12s; }
#schedule-form .schedule-category-option input:checked + span { border-color: var(--primary); background: var(--primary-soft); color: var(--primary-dark); box-shadow: inset 0 0 0 1px var(--primary); }
#schedule-form .schedule-category-option input:focus-visible + span { outline: 3px solid rgba(79,70,181,.25); outline-offset: 2px; }
#schedule-form .schedule-category-legacy span { border-style: dashed; }
#schedule-form .schedule-construction-fields { margin: 1px 0 17px; padding: 16px; background: #fafafe; border: 1px solid var(--line); border-radius: 14px; }
#schedule-form .schedule-finance-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
#schedule-form .schedule-vat-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 5px 12px; }
#schedule-form .schedule-vat-actions > span { color: var(--muted); font-size: 12px; }
#schedule-form .schedule-vat-actions .text-button { padding: 7px 0; font-size: 12px; }
#schedule-form .schedule-money-total { display: block; margin: 9px 0 15px; padding-bottom: 13px; border-bottom: 1px solid var(--line); color: var(--primary-dark); font-size: 14px; font-weight: 700; }
#schedule-form .schedule-vat-preview { margin: 9px 0 12px; padding: 13px; border-radius: 10px; background: var(--primary-soft); }
#schedule-form .schedule-vat-preview p { margin: 0 0 10px; font-size: 12px; line-height: 1.7; }
#schedule-form .schedule-vat-preview > div { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
#schedule-form .schedule-vat-preview button { min-height: 34px; padding: 7px 12px; font-size: 12px; }
#schedule-form .schedule-state-options { display: flex; flex-wrap: wrap; gap: 13px 22px; }
#schedule-form .schedule-state-options label,
#schedule-form .schedule-reminder-options label,
#schedule-form .schedule-all-day { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin: 0; font-size: 12px; cursor: pointer; }
#schedule-form .schedule-state-options input,
#schedule-form .schedule-reminder-options input,
#schedule-form .schedule-all-day input { width: 16px; height: 16px; margin: 0; padding: 0; accent-color: var(--primary); }
#schedule-form .schedule-timing-fields { min-width: 0; margin: 0 0 17px; padding: 13px 15px; border: 1px solid var(--line); border-radius: 13px; }
#schedule-form .schedule-all-day { margin: 0 0 14px; }
#schedule-form .schedule-all-day small { color: var(--muted); font-size: 11px; font-weight: 400; }
#schedule-form .schedule-reminder-options { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-bottom: 12px; }
#schedule-form .schedule-custom-reminder { display: flex; align-items: center; gap: 8px; margin: 0 0 11px; }
#schedule-form .schedule-custom-reminder input { width: 115px; min-width: 0; }
#schedule-form .schedule-custom-reminder select { width: 100px; }
#schedule-form .schedule-custom-reminder button { min-width: 65px; padding: 10px 13px; }
#schedule-form .schedule-timing-fields > small { display: block; font-size: 11px; line-height: 1.7; }
#schedule-form[data-schedule-type="경비"] #schedule-amount { font-size: 19px; font-weight: 700; color: var(--primary-dark); }
@media (max-width: 560px) {
  #schedule-form .schedule-category-field,
  #schedule-form .schedule-construction-fields,
  #schedule-form .schedule-timing-fields { padding: 12px; }
  #schedule-form .schedule-category-option span { padding: 8px 10px; }
  #schedule-form .schedule-finance-grid { grid-template-columns: 1fr; gap: 0; }
  #schedule-form .schedule-all-day small { flex-basis: 100%; padding-left: 23px; }
  #schedule-form .schedule-custom-reminder input { flex: 1; }
  #schedule-form .schedule-custom-reminder select { width: 90px; }
}
