.home-recent-files{margin:6px 0 14px;padding:16px;background:var(--card,#fff);border:1px solid var(--line,#e6e6e9);border-radius:24px;box-shadow:0 2px 16px rgba(0,0,0,.035)}
.home-recent-files[hidden]{display:none!important}
.home-recent-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px}
.home-recent-heading{min-width:0}
.home-recent-heading .eyebrow{margin-bottom:3px}
.home-recent-heading h2{font-size:19px;letter-spacing:-.03em;margin:0;color:var(--ink,#1d1d1f)}
.home-recent-heading p{font-size:12px;line-height:1.4;color:var(--sub,#6e6e73);margin:4px 0 0}
.home-recent-refresh{flex:0 0 42px;width:42px;height:42px;border:0;border-radius:14px;background:#f1f1f4;color:#35353a;font-size:21px}
.home-recent-list{display:grid;gap:8px}
.home-recent-item{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:10px;min-width:0;padding:10px;border:1px solid var(--line,#e6e6e9);border-radius:16px;background:rgba(245,245,247,.72)}
.home-recent-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:#e8efff;color:#235bb9;font-size:13px;font-weight:800;overflow:hidden}
.home-recent-details{min-width:0;display:grid;gap:3px}
.home-recent-filename{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--ink,#1d1d1f);font-size:13px}
.home-recent-context,.home-recent-meta{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--sub,#6e6e73);font-size:11px;line-height:1.35}
.home-recent-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:5px}
.home-recent-action{min-width:58px;min-height:40px;border:0;border-radius:12px;padding:0 9px;font-size:11px;font-weight:750;white-space:nowrap}
.home-recent-open{background:#111;color:#fff}
.home-recent-download{background:#e9f1ff;color:#1c55a4}
.home-recent-delete{background:#fff0ec;color:#a83327}
.home-recent-action:disabled{opacity:.6;cursor:wait}
.home-recent-status{margin:10px 2px 0;color:var(--sub,#6e6e73);font-size:12px;line-height:1.4}
.home-recent-status.is-error{color:#9e372c}
html[data-clinicai-theme="dark"] .home-recent-refresh{background:#25252a;color:#eee}
html[data-clinicai-theme="dark"] .home-recent-item{background:#1c1c20;border-color:#38383e}
html[data-clinicai-theme="dark"] .home-recent-icon{background:#24324a;color:#a7c6ff}
html[data-clinicai-theme="dark"] .home-recent-open{background:#f1f1f4;color:#161619}
html[data-clinicai-theme="dark"] .home-recent-download{background:#23344f;color:#b5ceff}
html[data-clinicai-theme="dark"] .home-recent-delete{background:#4b2724;color:#ffc2b8}
@media(max-width:380px){.home-recent-files{padding:13px}.home-recent-item{grid-template-columns:38px minmax(0,1fr);align-items:start;gap:8px;padding:8px}.home-recent-icon{width:38px;height:38px}.home-recent-actions{grid-column:2;justify-content:flex-start}.home-recent-action{min-width:56px;padding:0 8px}}
