/* Your data, screen 5, keep it, or let it go: on a haze ground, Murmur's settings as a
   working panel, and beside it what is on your machine because of them. Every pick is a
   native radio; what is on your machine follows it with :has, so it works with no script. */
.dk { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); column-gap: calc(28 * var(--u)); align-items: start; }

/* ---------------------------------------------------------------- the panel */
.dk-panel { padding: 22px 22px 20px; border: 2px solid var(--ink); border-radius: var(--radius-card); background: var(--paper); }
.dk-panel-h { font-size: 18px; line-height: 1.3; font-weight: 800; letter-spacing: -0.01em; color: var(--ink); }
.dk-row { margin: 14px 0 0; padding: 14px 0 0; border: 0; border-top: 1.5px solid var(--line); min-inline-size: 0; }
.dk-name { float: left; width: 100%; margin: 0 0 8px; padding: 0; font-size: 15px; line-height: 1.3; font-weight: 800; color: var(--ink); }
.dk-seg { clear: both; }
.dk-seg label > span { min-height: 36px; padding: 0 12px; font-size: 14px; }
.dk-line { display: block; margin-top: 8px; font-size: 13.5px; line-height: 1.45; color: var(--muted); }

/* One line per pick: each [data-for] shows only while its value is the pick. */
.dk [data-for] { display: none; }
.dk [data-for="all"],
.dk:has(input[value="keep"]:checked) [data-for="keep"],
.dk:has(input[value="delete"]:checked) [data-for="delete"],
.dk:has(input[value="rtf"]:checked) [data-for="rtf"],
.dk:has(input[value="docx"]:checked) [data-for="docx"],
.dk:has(input[value="md"]:checked) [data-for="md"],
.dk:has(input[value="documents"]:checked) [data-for="documents"],
.dk:has(input[value="picked"]:checked) [data-for="picked"],
.dk:has(input[value="ask"]:checked) [data-for="ask"],
.dk:has(input[value="24h"]:checked) [data-for="24h"],
.dk:has(input[value="7d"]:checked) [data-for="7d"],
.dk:has(input[value="30d"]:checked) [data-for="30d"],
.dk:has(input[value="forever"]:checked) [data-for="forever"] { display: inline; }

/* Delete this meeting: the app's question, drawn in the panel. */
.dk-delete { margin-top: 18px; padding-top: 16px; border-top: 1.5px solid var(--line); }
.dk-sheet-q { padding: 16px; border: 2px solid var(--ink); border-radius: 16px; background: var(--cream); }
.dk-q-h { margin-top: 14px; font-size: 17px; line-height: 1.3; font-weight: 800; color: var(--ink); }
.dk-tiles { display: flex; flex-wrap: wrap; gap: 6px; }
.dk-tile { padding: 8px 10px; border-radius: 10px; background: var(--haze); font-size: 13.5px; font-weight: 700; color: var(--muted); text-decoration: line-through; text-decoration-thickness: 2px; }
/* The recording goes only with the meeting's files, and only while it is kept. */
.dk-sheet-q:not(:has(input[name="dk-files"]:checked)) [data-tile="recording"],
.dk:has(input[value="delete"]:checked) [data-tile="recording"] { display: none; }
.dk-q-body { margin-top: 10px; font-size: 14.5px; color: var(--body); }
.dk-files-switch { position: relative; display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 10px 12px; border: 1.5px solid var(--line-strong); border-radius: 12px; font-size: 15px; font-weight: 700; color: var(--ink); cursor: pointer; }
.dk-files-switch input { position: absolute; left: 12px; top: 50%; width: 42px; height: 26px; margin: -13px 0 0; opacity: 0; cursor: pointer; }
.dk-files-switch input:focus-visible + .dt-switch-track { outline: 3px solid var(--blue); outline-offset: 2px; }
.dk-q-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.dk-q-btns .dt-btn { width: 100%; }

/* ---------------------------------------------------------------- on your machine */
.dk-machine { display: grid; gap: 14px; }
.dk-where { display: flex; align-items: center; color: var(--plum); }
.dk-app, .dk-folder { padding: 16px 18px 18px; border: 2px solid var(--ink); border-radius: 18px; }
.dk-app { background: var(--paper); }
.dk-folder { background: var(--lilac); }
.dk-card-h { display: flex; align-items: center; font-size: 15px; line-height: 1.3; font-weight: 800; color: var(--ink); }
.dk-sub { margin-top: 12px; font-size: var(--fs-label); line-height: 1.2; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.dk-meeting, .dk-gone { margin-top: 6px; font-size: 15px; line-height: 1.4; color: var(--muted); }
.dk-meeting strong { margin-right: 6px; color: var(--ink); }
.dk-gone { font-weight: 700; color: var(--plum); }
.dk-takes { list-style: none; display: grid; gap: 8px; margin-top: 8px; }
.dk-takes li { display: flex; align-items: center; gap: 12px; }
.dk-when { flex: none; width: 92px; font-size: 13.5px; color: var(--muted); }
/* Dictations past the pick are cleared. */
.dk:has(input[value="24h"]:checked) .dk-takes li:not([data-keep="24h"]),
.dk:has(input[value="7d"]:checked) .dk-takes li:is([data-keep="30d"], [data-keep="forever"]),
.dk:has(input[value="30d"]:checked) .dk-takes li[data-keep="forever"] { display: none; }
.dk-kept { margin-top: 10px; font-size: 13.5px; font-weight: 700; color: var(--plum); }
.dk-path { margin-top: 10px; }
.dk-path span { padding: 4px 10px; border-radius: 999px; background: var(--paper); font-size: 13.5px; font-weight: 700; color: var(--plum); }
.dk-meet-folder { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 15px; font-weight: 800; color: var(--ink); }
.dk-meet-folder::before { content: ""; flex: none; width: 18px; height: 13px; border: 2px solid var(--ink); border-radius: 2px 4px 3px 3px; background: var(--haze); }
.dk-files { list-style: none; display: grid; gap: 8px; margin: 10px 0 0 26px; }
.dk-file { display: flex; align-items: center; gap: 10px; font-size: 14.5px; line-height: 1.3; color: var(--ink); }
.dk-sheet { flex: none; width: 15px; height: 19px; border: 1.5px solid var(--ink); border-radius: 3px; background: var(--paper); }
.dk-file.is-audio .dk-sheet { background: var(--mist); }
.dk-fnote { font-size: 13px; color: var(--muted); }
.dk-fname .dk-ext { color: var(--ink); }
/* Audio deleted once the notes are ready: no recording in the folder. */
.dk:has(input[value="delete"]:checked) .dk-file.is-audio { display: none; }
.dk-files-gone, .dk-files-kept { margin-top: 10px; font-size: 14px; font-weight: 700; color: var(--plum); }

@container play (max-width: 1180px) {
  .dk { display: block; }
  .dk-machine { margin-top: 16px; }
}

@media (max-width: 1023.98px) {
  .dk { display: block; }
  .dk-panel { padding: 18px 16px; }
  .dk-machine { margin-top: 16px; }
  .dk-seg label > span { font-size: 13.5px; padding: 0 10px; }
}

/* ---------------------------------------------------------------- motion */
.motion .dk-takes li, .motion .dk-file { animation: dk-in 0.35s ease both; }
@keyframes dk-in { from { opacity: 0; translate: -6px 0; } }
