.planned-help { margin: 0 0 16px; color: #4a5568; line-height: 1.5; font-size: 13px; }
.planned-create-form { display: grid; grid-template-columns: 1fr 130px; gap: 10px; margin-bottom: 18px; }
.planned-create-form label { display: flex; flex-direction: column; gap: 5px; font-size: 13px; font-weight: 600; color: #2d3748; }
.planned-create-form input, .planned-card input, .planned-card select, .day-plan-assign input, .day-plan-assign select, .day-planned-row select { box-sizing: border-box; width: 100%; min-width: 0; border: 1px solid #cbd5e0; border-radius: 7px; padding: 9px; background: #fff; color: #2d3748; font: inherit; }
#view-planned .btn-blue, .day-planned-section .btn-blue { background: #3182ce; color: #fff; border: 1px solid #2b6cb0; border-radius: 7px; padding: 9px 12px; }
.planned-create-form button { grid-column: 1 / -1; justify-self: start; }
.planned-summary { color: #2d3748; font-weight: 700; margin: 0 0 12px; }
.planned-list { display: grid; gap: 14px; }
.planned-card { padding: 14px; border: 1px solid #cbd5e0; border-radius: 10px; background: #fff; color: #2d3748; }
.planned-card h4 { margin: 0 0 8px; overflow-wrap: anywhere; }
.planned-amounts { display: flex; gap: 7px 14px; flex-wrap: wrap; font-size: 13px; margin-bottom: 12px; }
.planned-amounts strong { color: #2b6cb0; }
.planned-card h5 { margin: 16px 0 8px; font-size: 13px; }
.planned-card details { margin-top: 12px; font-size: 13px; }
.planned-card details summary { cursor: pointer; }
.planned-card .planned-fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(90px, 120px); gap: 8px; margin: 8px 0; }
.planned-card .planned-fields button { grid-column: 1 / -1; justify-self: start; }
.planned-allocation { border-top: 1px solid #e2e8f0; padding: 11px 0; }
.planned-allocation-head, .day-planned-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.planned-actions { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin-top: 8px; }
.planned-actions select { flex: 1 1 140px; }
.planned-actions button, .planned-card button, .day-planned-row button { min-height: 34px; }
.day-planned-section { border-top: 1px solid #e2e8f0; margin-top: 18px; padding-top: 14px; color: #2d3748; }
.day-planned-section h4 { margin: 0 0 12px; }
.day-planned-row { padding: 9px 0; border-bottom: 1px solid #e2e8f0; font-size: 13px; }
.day-planned-row strong { overflow-wrap: anywhere; }
.day-planned-row select { flex: 1 1 120px; }
.day-planned-row .planned-actions { width: 100%; }
.day-plan-assign { display: grid; grid-template-columns: 1fr 110px; gap: 8px; margin: 12px 0; }
.day-plan-assign button { grid-column: 1 / -1; }
.planned-empty { font-size: 13px; color: #718096; margin: 10px 0; }
.fc-event.planned-calendar-event { background: #f3e8ff !important; border: 1px solid #9f7aea !important; border-radius: 5px !important; color: #553c9a !important; }
.fc-event.planned-calendar-event .fc-event-main, .fc-event.planned-calendar-event .fc-event-title { color: #553c9a !important; }
body.dark-mode .fc-event.planned-calendar-event { background: #44337a !important; border-color: #b794f4 !important; color: #faf5ff !important; }
body.dark-mode .fc-event.planned-calendar-event .fc-event-main, body.dark-mode .fc-event.planned-calendar-event .fc-event-title { color: #faf5ff !important; }
body.dark-mode .planned-help, body.dark-mode .planned-create-form label, body.dark-mode .planned-summary, body.dark-mode .day-planned-section { color: #edf2f7; }
body.dark-mode .planned-card { background: #2d3748; border-color: #4a5568; color: #edf2f7; }
body.dark-mode .planned-card input, body.dark-mode .planned-card select, body.dark-mode .planned-create-form input, body.dark-mode .day-plan-assign input, body.dark-mode .day-plan-assign select, body.dark-mode .day-planned-row select { background: #1a202c; color: #edf2f7; border-color: #718096; }
@media (max-width: 480px) { .planned-create-form { grid-template-columns: 1fr; } .planned-create-form button { width: 100%; } .planned-card .planned-fields { grid-template-columns: 1fr; } .day-plan-assign { grid-template-columns: 1fr; } }
