.planner-panel { margin-top: 16px; padding: 21px 22px 20px; border: 1px solid #29342e; border-radius: 17px; background: linear-gradient(145deg, #19211d, #151b18 72%); box-shadow: 0 14px 40px #0000001e; }
.planner-heading { display: flex; align-items: flex-start; gap: 13px; margin-bottom: 19px; }
.planner-mark { display: grid; flex: 0 0 40px; width: 40px; height: 40px; place-items: center; border: 1px solid #41684c; border-radius: 13px; color: #a7e2b8; background: #20352a; font: 800 12px 'Manrope', sans-serif; letter-spacing: .04em; }
.planner-eyebrow { margin: 0 0 4px; color: #86ce9e; font-size: 9px; font-weight: 700; letter-spacing: 1.5px; }
.planner-heading h2, .result-heading h3 { margin: 0; color: #e9f0eb; font: 700 17px 'Manrope', sans-serif; letter-spacing: -.3px; }
.planner-heading p:last-child { margin: 6px 0 0; color: #8f9b92; font-size: 11px; line-height: 1.5; }
.planner-form { display: grid; gap: 14px; }
.days-fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.days-fieldset legend, .planner-field { color: #c0ccc3; font-size: 11px; font-weight: 600; }
.day-choices { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin-top: 8px; }
.day-choice { position: relative; cursor: pointer; }
.day-choice input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.day-choice span { display: grid; min-height: 34px; place-items: center; border: 1px solid #344139; border-radius: 9px; color: #a0ada4; background: #131916; font-size: 10px; transition: .16s ease; }
.day-choice input:checked + span { border-color: #548363; color: #c2edce; background: #20372a; box-shadow: inset 0 0 0 1px #54836344; }
.day-choice input:focus-visible + span { outline: 2px solid #91d8ad; outline-offset: 2px; }
.planner-time-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.planner-time-grid label, .planner-field { display: grid; gap: 7px; }
.planner-time-grid label { color: #aebbb2; font-size: 10px; }
.planner-time-grid input, .planner-field textarea, .planner-field select { width: 100%; min-width: 0; padding: 9px 10px; border: 1px solid #344139; border-radius: 9px; color: #dce6df; background: #121916; font: 400 12px 'DM Sans', sans-serif; }
.planner-field { color: #aebbb2; font-size: 10px; font-weight: 500; }
.planner-field > span:first-of-type { color: #7f8c83; font-weight: 400; }
.planner-field textarea { min-height: 72px; resize: vertical; line-height: 1.5; }
.planner-field textarea::placeholder { color: #68766e; }
.field-hint { color: #7f8c83; font-size: 9px; font-weight: 400; line-height: 1.4; }
.generate-button { min-height: 42px; margin-top: 2px; padding: 10px 15px; border: 1px solid #77bd8e; border-radius: 11px; color: #102017; background: linear-gradient(135deg, #8bd4a3, #70bf8c); box-shadow: 0 6px 18px #69b9831c; cursor: pointer; font: 700 12px 'Manrope', sans-serif; transition: transform .16s ease, filter .16s ease; }
.generate-button:hover:not(:disabled) { filter: brightness(1.06); transform: translateY(-1px); }
.generate-button:disabled { cursor: wait; opacity: .7; }
.planner-status { min-height: 0; margin: 0; color: #9caaa0; font-size: 10px; line-height: 1.45; }
.planner-status:empty { display: none; }
.planner-status.is-error { color: #ffb2a5; }
.planner-result { margin-top: 20px; padding-top: 17px; border-top: 1px solid #2d3931; }
.result-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.saved-badge { padding: 5px 8px; border: 1px solid #334d3b; border-radius: 20px; color: #9dc9a9; background: #1d2e23; font-size: 9px; white-space: nowrap; }
.result-summary { margin: 10px 0 0; color: #aab7ae; font-size: 11px; line-height: 1.55; }
.result-notes { margin: 11px 0 0; padding: 9px 11px; border-left: 2px solid #d4a66e; border-radius: 0 8px 8px 0; color: #e2c398; background: #352d22; font-size: 10px; line-height: 1.5; }
.timetable-days { display: grid; gap: 10px; margin-top: 14px; }
.timetable-day { overflow: hidden; border: 1px solid #2c3931; border-radius: 11px; background: #131916; }
.timetable-day h4 { margin: 0; padding: 9px 11px; border-bottom: 1px solid #2c3931; color: #c5e6ce; background: #1b2820; font: 700 11px 'Manrope', sans-serif; }
.timetable-day table { width: 100%; border-collapse: collapse; text-align: left; }
.timetable-day th { padding: 7px 10px; color: #78867d; font-size: 9px; font-weight: 600; }
.timetable-day td { padding: 8px 10px; border-top: 1px solid #242e28; color: #d3ddd5; font-size: 10px; line-height: 1.45; vertical-align: top; }
.timetable-day td:first-child { width: 90px; color: #9acaa6; white-space: nowrap; }
.entry-kind { display: inline-block; margin-right: 6px; padding: 2px 5px; border-radius: 5px; color: #9fbdab; background: #213129; font-size: 8px; text-transform: capitalize; }
.no-entries { margin: 0; padding: 10px; color: #7f8c83; font-size: 10px; }
.adjust-button { margin-top: 13px; padding: 7px 0; border: 0; color: #a8d9b5; background: transparent; cursor: pointer; font-size: 10px; font-weight: 600; }
.adjust-button:hover { color: #d0f1d8; }
@media (max-width: 480px) {
  .planner-panel { padding: 17px 15px; }
  .day-choices { gap: 4px; }
  .day-choice span { min-height: 32px; font-size: 9px; }
  .planner-time-grid { gap: 8px; }
  .planner-time-grid input { padding: 8px 7px; }
  .timetable-day td:first-child { width: 76px; }
  .result-heading { align-items: flex-start; }
}

.commitment-fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.commitment-fieldset legend { margin-bottom: 8px; color: #aebbb2; font-size: 10px; font-weight: 600; }
.commitment-fieldset legend span { color: #7f8c83; font-weight: 400; }
.commitment-list { display: grid; gap: 8px; }
.commitment-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(76px, .75fr) minmax(76px, .75fr) 30px; align-items: end; gap: 7px; padding: 9px; border: 1px solid #2e3932; border-radius: 10px; background: #141a16; }
.commitment-subfield { display: grid; min-width: 0; gap: 5px; color: #8f9e94; font-size: 9px; }
.commitment-subfield input, .commitment-subfield select { width: 100%; min-width: 0; height: 32px; padding: 5px 7px; border: 1px solid #344139; border-radius: 7px; color: #dce6df; background: #101613; font: 400 10px 'DM Sans', sans-serif; }
.commitment-activity { grid-column: 1 / 4; }
.commitment-remove { grid-column: 4; grid-row: 2; align-self: end; width: 30px; height: 32px; padding: 0; border: 1px solid #44322f; border-radius: 8px; color: #d0a49b; background: #241b19; cursor: pointer; font-size: 18px; }
.commitment-remove:hover { color: #ffb2a5; background: #3b2523; }
.add-commitment { justify-self: start; margin-top: 8px; padding: 6px 0; border: 0; color: #a8d9b5; background: transparent; cursor: pointer; font-size: 10px; font-weight: 600; }
.add-commitment:hover { color: #d0f1d8; }
.entry-kind.fixed { color: #e4c696; background: #3a3022; }
@media (max-width: 480px) {
  .commitment-row { grid-template-columns: minmax(0, 1fr) minmax(66px, .75fr) minmax(66px, .75fr) 28px; gap: 5px; padding: 7px; }
  .commitment-remove { width: 28px; }
  .commitment-subfield input, .commitment-subfield select { padding-inline: 4px; font-size: 9px; }
}
