/* ---- plan B ---- */
.hearts-row-lg{ display:flex; gap:8px; }
.heart-circle{
  width:40px; height:40px; border-radius:50%; background:var(--purple-light);
  display:flex; align-items:center; justify-content:center; font-size:17px; color:var(--purple);
}
.heart-circle svg{width:19px;height:19px;stroke-width:2.5;fill:currentColor;}
.heart-circle.spent{ background:var(--cream); color:#D7D3E0; }
.planb-row{ background:var(--white); border-radius:16px; box-shadow:var(--shadow); padding:12px 14px; margin-bottom:10px; display:flex; align-items:center; gap:12px; }
.planb-emoji{ width:38px; height:38px; border-radius:12px; background:var(--purple-light); display:flex; align-items:center; justify-content:center; font-size:17px; flex-shrink:0; }
.planb-info{ flex:1; min-width:0; }
.planb-name{ font-weight:700; font-size:14.5px; cursor:pointer; }
.planb-min{ font-size:12px; color:var(--muted); cursor:pointer; margin-top:1px; }
.planb-select-btn{
  border:1.5px solid var(--purple-light); background:var(--white); color:var(--purple-dark);
  border-radius:20px; padding:8px 14px; font-family:'Manrope'; font-weight:700; font-size:12px; cursor:pointer; flex-shrink:0;
}
.planb-select-btn.selected{ background:var(--purple); color:#fff; border-color:var(--purple); }
.planb-row.is-selected{ border:1.5px solid var(--purple-light); }
.planb-min-placeholder{ color:var(--purple-dark); font-weight:600; }
.planb-delete-btn{
  width:30px; height:30px; border:0; background:transparent; color:#9AA4B5;
  font-size:24px; line-height:1; padding:0; cursor:pointer; flex-shrink:0;
}
.planb-delete-btn:active{ transform:scale(.92); }

/* ---- timeline pills (Structured-style) ---- */
.tl-row{ display:flex; gap:10px; margin-bottom:10px; }
.tl-time-col{ width:40px; flex-shrink:0; font-size:11px; font-weight:800; color:var(--purple-dark); padding-top:14px; text-align:right; }
.tl-pill{ flex:1; background:var(--white); border-radius:22px; box-shadow:var(--shadow); padding:10px 12px; display:flex; align-items:center; gap:12px; }
.tl-row.done .tl-pill{ opacity:.55; }
.tl-icon{ width:42px; height:42px; border-radius:50%; background:var(--purple-light); display:flex; align-items:center; justify-content:center; font-size:18px; flex-shrink:0; }
.tl-body{ flex:1; min-width:0; }
.tl-range{ font-size:10.5px; color:var(--muted); font-weight:700; }
.tl-title{ font-size:14px; font-weight:700; }
.tl-row.done .tl-title{ text-decoration:line-through; }
.tl-notes{ font-size:11.5px; color:var(--muted); margin-top:2px; line-height:1.3; }
.tl-check{
  width:24px; height:24px; border-radius:50%; border:2px solid var(--purple); flex-shrink:0;
  display:flex; align-items:center; justify-content:center; cursor:pointer; font-size:12px; color:#fff;
}
.tl-check.checked{ background:var(--purple); }
.tl-del{ color:var(--pink); font-weight:800; cursor:pointer; font-size:14px; padding:0 2px; flex-shrink:0; }
.tl-rail{ display:flex; flex-direction:column; align-items:center; width:14px; flex-shrink:0; }
.tl-dot{ width:9px; height:9px; border-radius:50%; background:var(--task-color, var(--purple)); margin-top:15px; flex-shrink:0; box-shadow:0 0 0 3px color-mix(in srgb, var(--task-color, var(--purple)) 13%, transparent); }
.tl-line{ flex:1; width:2px; background:var(--task-color, #EDE9FB); margin-top:2px; min-height:16px; opacity:.42; }
.tl-line.dashed{ width:2px; background-image:repeating-linear-gradient(to bottom, var(--task-color, #D9D2F0) 0, var(--task-color, #D9D2F0) 5px, transparent 5px, transparent 11px); background-color:transparent; opacity:.42; }
.tl-row:last-child .tl-line{ display:none; }
.tl-row.marker .tl-dot{ background:transparent; }
.tl-row.marker .tl-time-col{ color:var(--muted); font-weight:700; }

/* ---- timeline: colored time-block dividers ---- */
.tl-row.divider-row{ margin-bottom:8px; }
.tl-row.divider-row .tl-time-col{ color:var(--block-color, var(--muted)); font-weight:800; padding-top:2px; }
.tl-row.divider-row .tl-dot{ background:var(--block-color, var(--muted)); margin-top:5px; }
.tl-row.divider-row .tl-line{ background:var(--block-color, #EDE9FB); }
.tl-divider{ flex:1; min-width:0; display:flex; align-items:center; gap:8px; }
.tl-divider-bar{ flex:1; height:3px; border-radius:3px; background:var(--block-color, #ddd); opacity:.55; }
.tl-divider-label{
  font-size:10px; font-weight:800; color:var(--block-color, var(--muted)); white-space:nowrap; flex-shrink:0;
  background:color-mix(in srgb, var(--block-color, var(--muted)) 16%, white); padding:2px 8px; border-radius:20px;
}
.tl-settings-btn{
  border:0; background:var(--purple-light); color:var(--purple-dark); width:26px; height:26px;
  border-radius:50%; font-size:12px; cursor:pointer; display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.tl-settings-btn:active{ transform:translateY(1px); }
.timeblock-row{
  display:grid; grid-template-columns:64px 1fr 12px 1fr 42px; gap:8px; align-items:center;
  padding:10px 0; border-bottom:1px solid #EEF1F6;
}
.timeblock-row input[type=time]{
  min-width:0; border:1.5px solid #E3E7F0; background:#F7F8FC; border-radius:10px;
  padding:8px 4px; font:700 12.5px 'Manrope'; color:var(--ink); outline:none; width:100%;
}
.timeblock-row .timeblock-dash{ text-align:center; color:var(--muted); font-weight:800; font-size:12px; }
.timeblock-row .timeblock-label{ font-size:12.5px; font-weight:800; color:var(--ink); }
.timeblock-row input[type=color]{ width:42px; height:38px; padding:3px; border:1.5px solid #E3E7F0; border-radius:11px; background:#fff; }

/* ---- week calendar strip ---- */
.week-cal{ margin-bottom:18px; }
.week-cal-head{ display:flex; align-items:center; justify-content:space-between; margin-bottom:10px; }
.cal-title{ font-family:'Baloo 2'; font-weight:700; font-size:15px; }
.cal-nav{
  width:30px; height:30px; border-radius:50%; background:var(--white); box-shadow:var(--shadow);
  border:none; font-size:15px; cursor:pointer; color:var(--purple-dark);
}
.week-cal-days{ display:flex; justify-content:space-between; background:var(--white); border-radius:var(--radius); box-shadow:var(--shadow); padding:10px 4px; }
.cal-day{ display:flex; flex-direction:column; align-items:center; gap:4px; cursor:pointer; flex:1; }
.cal-day .dow{ font-size:10px; color:var(--muted); font-weight:700; }
.cal-day .num{
  width:30px; height:30px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  font-size:13.5px; font-weight:700; color:var(--ink);
}
.cal-day.today .num{ border:1.5px solid var(--purple); }
.cal-day.selected .num{ background:var(--purple); color:#fff; }
.cal-day .dot{ width:4px; height:4px; border-radius:50%; background:transparent; }
.cal-day.has-tasks .dot{ background:var(--purple); }
