/* Clients › Year-end Planning (#yearend). Colours come from styles.css's tokens, so light and dark both work. */
.ye-kpis { margin-bottom: 14px; }
.ye-filters { margin: 4px 0 12px; }
.ye-list { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 30rem), 1fr)); }
.ye-card { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; display: grid; gap: 8px; align-content: start; }
.ye-card.soon { border-left: 4px solid var(--amber); }
.ye-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.ye-head h3 { font-size: 15px; font-weight: 600; margin: 0; overflow-wrap: anywhere; text-transform: none; letter-spacing: normal; }
.ye-head h3 a { text-decoration: none; }
.ye-head h3 a:hover { text-decoration: underline; }
.ye-head small, .ye-prompt small { display: block; font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.ye-pill { font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 99px; white-space: nowrap; background: var(--amber-soft); color: var(--amber); }
.ye-pill.done { background: var(--green-soft); color: var(--green); }
.ye-profit { margin: 0; font-size: 13px; font-weight: 600; }
.ye-profit.none { font-weight: 400; color: var(--muted); }
.ye-prompts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ye-prompt { border-top: 1px solid var(--line-2); padding-top: 8px; display: grid; gap: 6px; }
.ye-prompt:first-child { border-top: 0; padding-top: 0; }
.ye-prompt small { font-size: 12.5px; line-height: 1.4; }
.ye-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.ye-edit { display: grid; gap: 8px; background: var(--line-2); border-radius: 8px; padding: 8px; }
.ye-edit label { display: grid; gap: 4px; font-size: 12.5px; color: var(--muted); }
.ye-edit textarea { min-height: 3.5rem; }
.ye-form-actions { display: flex; gap: 8px; }
.ye-done { font-size: 13px; }
.ye-done summary { cursor: pointer; color: var(--muted); }
.ye-done ul { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 6px; }
.ye-done li { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.ye-done li span { overflow-wrap: anywhere; }
