/* A person's own copy on the Desk (plan 2026-10-15-001 U10; plan 2026-10-17-003; plan 2026-10-17-004): the page is the
   Desk chat shell (desk-chat-shell.css holds the layout, thread, composer and drawers); this sheet holds what is the
   copy page's own — the full-width view, the fallback list page and the Details drawer's cards. Desk tokens
   (my-finney-refined.css) only. Mobile first; every control is at least 44px. */
.agent-copies-view{display:grid;gap:12px;min-width:0;width:100%;max-width:none}
.agent-copies-view.dac-page{display:block}
.dac-head p{max-width:720px}
.dac-head h1:focus{outline:none}
.dac-card{display:grid;gap:10px;padding:16px;border:1px solid var(--line);border-radius:14px;background:var(--surface);box-shadow:0 1px 2px rgba(23,32,51,.04);color:var(--text);margin:0;min-width:0}
.dac-card h2{margin:0;font:700 14px var(--sans)}
.dac-btn{min-height:44px;min-width:44px}
.dac-row-open:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.dac-empty{text-align:left}
.dac-empty-title{margin:0;font-weight:700}
.dac-list{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.dac-row-open{display:grid;grid-template-columns:1fr auto;gap:2px 12px;width:100%;min-height:64px;padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--text);text-align:left;cursor:pointer}
.dac-row-open:hover{border-color:var(--accent)}
.dac-row-name{grid-column:1;font-size:15px;overflow-wrap:anywhere}
.dac-row-meta{grid-column:1;color:var(--sub);font-size:13px;overflow-wrap:anywhere}
.dac-pill{padding:3px 9px;border:1px solid var(--line-strong);border-radius:999px;font-size:11px;font-weight:600;color:var(--sub);white-space:nowrap}
.dac-row-open .dac-pill{grid-column:2;grid-row:1 / span 3;align-self:center}
.dac-pill-active{border-color:var(--accent);color:var(--accent)}
.dac-pill-paused,.dac-pill-removed,.dac-pill-unavailable{color:#7a3e00}
.dac-badge{padding:2px 8px;border-radius:999px;background:var(--accent-soft);color:var(--accent);font-size:11px;font-weight:700;white-space:nowrap}

/* The Details drawer's cards: runs on, usage today, connected accounts, files, delete */
.dac-running{margin:0;color:var(--sub);font-size:13px;font-weight:600}
.dac-picker .runtime-picker-btn{min-height:44px}
.dac-toggle{display:flex;align-items:center;gap:8px;min-height:44px;font-size:13px;color:var(--sub);cursor:pointer}
.dac-toggle input{width:20px;height:20px;accent-color:var(--accent)}
.dac-usage-rows{display:grid;grid-template-columns:auto 1fr;gap:4px 12px;margin:0}
.dac-usage-rows dt{color:var(--sub)}
.dac-usage-rows dd{margin:0;font-weight:600}
.dac-conn-list,.dac-file-list{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.dac-conn,.dac-file{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;padding:8px 0;border-bottom:1px solid var(--line)}
.dac-conn:last-child,.dac-file:last-child{border-bottom:0}
.dac-conn-what{display:grid;gap:2px;min-width:0;overflow-wrap:anywhere}
.dac-side .dac-card{box-shadow:none}

@media (min-width:1000px){
  .dac-row-open{min-height:56px}
}
@media (prefers-reduced-motion:reduce){
  .dac-row-open{transition:none}
}
