/* Blok 2: stopky bez úkolu, disk projektu */
.now-empty { flex-wrap: wrap; }
.now-empty .now-text { flex: 1 1 280px; min-width: 0; }
.tmr-panel .tp-free { width: 100%; background: none; border: 0; border-top: 1px solid var(--border); cursor: pointer; color: var(--pri, inherit); display: flex; gap: 6px; align-items: center; justify-content: center; }
.tp-main[disabled] { cursor: default; }

/* C1: okno Nový to-do list / šablony */
.nl { display: flex; flex-direction: column; gap: 12px; }
.nl-sec { margin-top: 4px; }
.nl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.nl-card { display: flex; flex-direction: column; gap: 4px; text-align: left; padding: 12px; border: 1px solid var(--border); border-radius: 12px; background: var(--card, transparent); cursor: pointer; font: inherit; color: inherit; }
.nl-card:hover { border-color: var(--pri, #0f766e); }
.nl-card.on { border-color: var(--pri, #0f766e); box-shadow: 0 0 0 2px color-mix(in srgb, var(--pri, #0f766e) 25%, transparent); }
.nl-ic svg { width: 20px; height: 20px; color: var(--pri, #0f766e); }
.nl-t { font-weight: 600; }
.nl-detail { border: 1px solid var(--border); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.nl-dh { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.nl-tasks { margin: 0; padding-left: 20px; display: grid; gap: 4px; font-size: 14px; }
.nl-none { padding: 12px 0; }

/* F1/F2: disk projektu */
.dk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.dk-tile { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; text-align: left; padding: 16px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); color: inherit; font: inherit; cursor: pointer; min-height: 132px; transition: border-color .15s, box-shadow .15s; }
.dk-tile:hover:not(:disabled) { border-color: var(--pri, #0f766e); box-shadow: 0 2px 10px rgba(0,0,0,.06); }
.dk-tile:disabled { opacity: .6; cursor: not-allowed; }
.dk-ic { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: color-mix(in srgb, var(--pri, #0f766e) 12%, transparent); color: var(--pri, #0f766e); margin-bottom: 6px; }
.dk-ic svg { width: 22px; height: 22px; }
.dk-t { font-weight: 650; font-size: 15px; }
.dk-n { font-size: 13px; }
.dk-h { font-size: 12px; color: var(--muted); }
.dk-head { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; flex-wrap: wrap; }
.dk-head h3 { display: flex; align-items: center; gap: 8px; margin: 0; } .dk-head h3 svg { width: 20px; height: 20px; }
.dk-sub { margin: 0 0 14px; }
.dk-res { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: var(--surface); }
.dk-row { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border: 0; border-bottom: 1px solid var(--border); background: none; color: inherit; font: inherit; text-align: left; text-decoration: none; cursor: pointer; min-height: 48px; }
.dk-row:last-child { border-bottom: 0; }
button.dk-row:hover, a.dk-row:hover { background: color-mix(in srgb, var(--pri, #0f766e) 6%, transparent); }
.dk-row svg { width: 18px; height: 18px; flex: none; color: var(--muted); }
.dk-link { display: flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; min-width: 0; }
.dk-linkform { display: grid; grid-template-columns: 1fr 2fr auto; gap: 8px; margin-bottom: 8px; }
.dk-warn { display: flex; gap: 10px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 12px; background: color-mix(in srgb, #f59e0b 12%, transparent); margin-bottom: 12px; font-size: 14px; }
.dk-warn svg { width: 20px; height: 20px; flex: none; }
.dk-actions { margin-bottom: 12px; }
.dk-secret { flex-wrap: wrap; }
.dk-pass { font-family: ui-monospace, monospace; padding: 2px 8px; border-radius: 6px; background: color-mix(in srgb, var(--muted) 14%, transparent); user-select: all; word-break: break-all; }
@media (max-width: 768px) {
  .dk-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .dk-tile { padding: 12px; min-height: 120px; }
  .dk-linkform { grid-template-columns: 1fr; }
}
.dk-h4 { margin: 22px 0 8px; font-size: 14px; color: var(--muted); font-weight: 600; }
.tl-links { margin-top: 14px; display: flex; flex-direction: column; gap: 6px; }
.tl-link { display: flex; align-items: center; gap: 8px; padding: 6px 10px; border: 1px solid var(--border); border-radius: 10px; }
.tl-link a { display: flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; min-width: 0; }
.tl-link svg { width: 16px; height: 16px; color: var(--muted); flex: none; }
.dp-list { display: flex; flex-direction: column; gap: 10px; }
.dp-card { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); text-align: left; color: inherit; font: inherit; cursor: pointer; width: 100%; }
.dp-card:hover { border-color: var(--pri, #0f766e); }
.dp-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.dp-card svg { width: 16px; height: 16px; color: var(--muted); }
