/* Планировщик (planner module): three columns — one-off, every week, every month. */
.pl-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.pl-head h1 { margin: 0; }
.pl-today { font-size: 14px; margin-top: 2px; }
.pl-sub { margin: 4px 0 14px; max-width: 90ch; }
.pl-overdue-chip { display: inline-flex; align-items: center; gap: 6px; background: #fde8e8; color: var(--danger); font-weight: 700; font-size: 13.5px; border-radius: 99px; padding: 6px 12px; }
.pl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
@media (max-width: 1100px) { .pl-grid { grid-template-columns: 1fr; } }
.pl-col { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow); padding: 14px 16px 12px; display: grid; gap: 4px; }
.pl-col-head { display: grid; gap: 4px; padding-bottom: 10px; border-bottom: 1px solid var(--border); margin-bottom: 4px; }
.pl-col-title { display: flex; align-items: center; gap: 8px; }
.pl-col-title h2 { margin: 0; font-size: 18px; }
.pl-col-ico { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: #eef2ff; }
.pl-weekly .pl-col-ico { background: #fff4e0; }
.pl-monthly .pl-col-ico { background: #e9f8ef; }
.pl-progress { display: flex; align-items: center; gap: 10px; margin-top: 4px; }
.pl-bar { flex: 1; height: 7px; border-radius: 99px; background: #eef0f4; overflow: hidden; }
.pl-bar i { display: block; height: 100%; background: #2f9e5b; border-radius: 99px; transition: width .2s; }
.pl-list { display: grid; }
.pl-row { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 10px; align-items: start; padding: 9px 4px; border-bottom: 1px solid var(--border); border-radius: 8px; cursor: pointer; }
.pl-row:hover { background: #f7f8fb; }
.pl-row:last-child { border-bottom: 0; }
.pl-tick { width: 26px; height: 26px; border-radius: 50%; border: 2px solid #b9bfcc; background: #fff; display: grid; place-items: center; color: #fff; cursor: pointer; padding: 0; margin-top: 1px; }
.pl-tick:hover { border-color: #2f9e5b; }
.pl-tick.on { background: #2f9e5b; border-color: #2f9e5b; }
.pl-tick .ic-sm { width: 15px; height: 15px; }
.pl-title { font-size: 15px; line-height: 1.4; overflow-wrap: anywhere; }
.pl-row.done .pl-title { color: var(--muted); text-decoration: line-through; }
.pl-meta { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 3px; font-size: 12.5px; color: var(--muted); }
.pl-due { white-space: nowrap; }
.pl-due.late { color: var(--danger); font-weight: 700; }
.pl-row.late .pl-tick { border-color: var(--danger); }
.pl-note { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.pl-more { opacity: 0; }
.pl-row:hover .pl-more, .pl-more:focus { opacity: 1; }
@media (hover: none) { .pl-more { display: none; } }
.pl-empty { color: var(--muted); font-size: 13.5px; margin: 8px 2px; line-height: 1.45; }
.pl-add { display: flex; gap: 6px; margin-top: 8px; }
.pl-add input.pl-add-input { flex: 1 1 auto; min-width: 0; width: auto; }
.pl-add input.pl-add-date { flex: 0 0 140px; width: 140px; min-width: 0; }
.pl-add .btn { flex: none; }
.pl-fold { justify-self: start; border: 0; background: none; color: var(--muted); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; padding: 6px 2px 0; }
.pl-done-list { display: grid; }
.pl-done-list[hidden] { display: none; }
.pl-ghost { opacity: .4; }
.pl-kind-seg button { display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 600px) {
  .pl-add { flex-wrap: wrap; }
  .pl-add input.pl-add-input { flex-basis: 100%; }
  .pl-add input.pl-add-date { flex: 1 1 auto; width: auto; }
}
.pl-col, .pl-col > *, .pl-col-head > * { min-width: 0; }
.pl-progress .small { white-space: nowrap; }
.pl-once .pl-add { flex-wrap: wrap; }
.pl-once .pl-add input.pl-add-input { flex-basis: 100%; }
.pl-once .pl-add input.pl-add-date { flex: 1 1 auto; width: auto; }
