/* Housekeeper Assist portal — Today screen (revamp/screenshots/01-today.jpg). Uses the hk- kit in src/index.css;
   only what the kit does not cover lives here (td- prefix). */
.td-cols { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 23px; align-items: start; }
.td-cols > section > .hk-section:first-child { margin-top: 0; }
.td-aside { display: grid; gap: 18px; }

/* helper cards */
.td-card { display: flex; flex-direction: column; }
.td-card-head { cursor: grab; margin-bottom: 12px; }
.td-card--dragging { opacity: .5; }
.td-card--over { border-color: var(--hk-teal); box-shadow: 0 0 0 3px rgba(18,92,88,.12); }
.td-card .avatar.op-photo { overflow: hidden; }
.td-routine { font-size: 12px; color: #859087; display: flex; align-items: center; gap: 7px; }
.td-routine i { font-style: normal; color: #a1aaa3; }
.td-link { background: none; border: none; padding: 0; color: var(--hk-teal); font: inherit; font-weight: 500; cursor: pointer; }
.td-link:hover { text-decoration: underline; }
.td-tasks { margin-top: 10px; flex: 1; }
.td-task { padding: 12px 0; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid #edf1eb; }
.td-task:last-child { border-bottom: 0; }
.td-task-icon { width: 30px; height: 30px; border-radius: 7px; background: #f3f5ef; display: grid; place-items: center; color: #7b8e79; flex: none; }
.td-task-meta { flex: 1; min-width: 0; }
.td-task-meta h4 { font-size: 12.5px; font-weight: 600; color: var(--hk-ink); margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.td-task-meta small { font-size: 11px; color: #8c968d; }
.td-prio { color: var(--hk-red); }
.td-task .hk-pill { font-size: 10px; padding: 3px 7px; }
.td-more { font-size: 11.5px; color: var(--hk-muted); padding: 8px 0 2px 40px; }
.td-none { font-size: 12px; color: var(--hk-muted); padding: 14px 0; margin: 0; }
.td-exc { margin: 10px 0 0; font-size: 11.5px; line-height: 1.45; }
.td-exc svg { flex: none; margin-top: 2px; }
.td-exc span { min-width: 0; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }

/* side box: needs attention */
.td-attention { border: 1px solid #f0ddd4; background: #fdf8f5; border-radius: 11px; padding: 20px; }
.td-attention-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 4px; }
.td-attention-head h2 { font-size: 15px; font-weight: 650; margin: 0; color: var(--hk-ink); }
.td-attention-item { padding: 15px 0; border-bottom: 1px solid #f2e4dd; display: flex; gap: 10px; }
.td-attention-item:last-of-type { border-bottom: none; }
.td-attention-icon { width: 27px; height: 27px; display: grid; place-items: center; flex: none; color: var(--hk-accent); }
.td-attention-item b { display: block; font-size: 12.5px; font-weight: 600; color: var(--hk-ink); word-break: break-word; }
.td-attention-item p { font-size: 11px; color: #9a8a83; margin: 4px 0 0; }
.td-attention-item .td-link { font-size: 11.5px; margin-top: 7px; }
.td-attention-all { margin-top: 8px; }

.td-subcard { background: #eaf0e7; border: 1px solid #e2e9db; padding: 20px; border-radius: 11px; }
.td-subcard h3 { font-size: 14px; font-weight: 650; margin: 0; color: var(--hk-ink); }
.td-subcard p { font-size: 12px; color: #78816f; margin: 10px 0 17px; }

@media (max-width: 1200px) {
  .td-cols { grid-template-columns: 1fr; }
  .td-aside { grid-template-columns: 1fr 1fr; align-items: start; }
}
@media (max-width: 768px) {
  .td-aside { grid-template-columns: 1fr; }
}
