/* Project management shares the work area's theme and one recovery vocabulary. */
.projects-page .project-heading { flex-wrap:wrap;gap:14px; }
.projects-page .project-heading h2 { font-size:22px;letter-spacing:-.4px; }
.projects-page .project-type-heading { gap:20px; }
.projects-page .project-title { color:var(--text); }
.projects-page .project-date,.projects-page .project-total { color:var(--text-muted); }
.projects-page .project-pop { background:var(--surface);border-color:var(--border); }
.projects-page .project-pop button,.projects-page .project-batch button { color:var(--text); }
.projects-page .project-operation-status { background:color-mix(in srgb,var(--green) 8%,var(--surface));border-color:color-mix(in srgb,var(--green) 22%,var(--border));color:var(--text); }
.projects-page .project-operation-status.is-error { background:color-mix(in srgb,var(--red) 8%,var(--surface));border-color:color-mix(in srgb,var(--red) 22%,var(--border));color:var(--text); }
.projects-page .project-filters { align-items:center;flex-wrap:wrap; }
.projects-page .project-filters input,.projects-page .project-filters select,.projects-page .project-filters #prjImportPSD { background:var(--surface);color:var(--text); }
.project-mine { display:inline-flex;align-items:center;gap:7px;white-space:nowrap;font-size:13px;color:var(--text);cursor:pointer; }
.project-mine input[type=checkbox] { width:15px;height:15px;margin:0;accent-color:var(--primary);cursor:inherit; }
.project-mine:has(input:disabled) { cursor:default; }
.project-trash-toolbar { display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 26px; }
.project-trash-types { display:flex;gap:8px;flex-wrap:wrap; }
.project-trash-filter { display:flex;align-items:center;gap:8px;border:1px solid var(--border);background:var(--surface);color:var(--text-muted);border-radius:9px;padding:8px 12px;font:inherit;font-size:13px;cursor:pointer; }
.project-trash-filter span { font-size:11px;line-height:18px;min-width:18px;text-align:center;border-radius:5px;background:var(--bg);color:var(--text-muted); }
.project-trash-filter.active { border-color:var(--primary);color:var(--primary);background:color-mix(in srgb,var(--primary) 8%,var(--surface)); }
.project-trash-filter.active span { color:var(--primary);background:color-mix(in srgb,var(--primary) 10%,var(--surface)); }
.project-trash-hint { font-size:12px;color:var(--text-muted); }
.project-trash-page .project-preview { position:relative; }
.project-kind-badge { position:absolute;left:10px;bottom:10px;padding:4px 8px;border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:6px;font-size:11px;line-height:16px; }
.project-trash-actions { display:flex;align-items:center;gap:14px;margin-top:10px; }
.project-trash-actions button { display:inline-flex;align-items:center;gap:5px;padding:5px 0;border:0;background:transparent;color:var(--primary);font:inherit;font-size:12px;cursor:pointer; }
.project-trash-actions [data-purge] { margin-left:auto;color:var(--text-muted); }
.project-trash-actions [data-purge]:hover { color:var(--red); }
.project-trash-actions button:disabled { cursor:wait;opacity:.5; }
.project-trash-empty { grid-column:1/-1;min-height:320px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:12px;color:var(--text-muted); }
.project-trash-empty h3 { font-size:17px;font-weight:500;color:var(--text);margin:0; }
.project-trash-empty p { margin:0;font-size:13px;line-height:1.7; }
.project-trash-filter:focus-visible,.project-trash-actions button:focus-visible { outline:2px solid var(--primary);outline-offset:3px; }
@media(max-width:900px) { .projects-page .project-filters { margin-left:0;width:100%; } .project-trash-toolbar { align-items:flex-start;flex-direction:column;gap:10px; } }

/* Reuse the material-library range picker in each project gallery. */
.project-date-filter{display:inline-flex;align-items:center;gap:0;flex-shrink:0}.project-date-filter .mlot-people{width:auto;order:initial;flex-wrap:nowrap;gap:0}.project-date-filter [data-mlot-role],.project-date-filter [data-mlot-team],.project-date-filter [data-mlot-member],.project-date-filter [data-mlot-field]{display:none!important}.project-date-filter>select{height:36px;border-radius:7px 0 0 7px!important;border-right:0!important;width:92px;padding:0 8px!important}.project-date-filter .mlot-date-control{height:36px;border-radius:0 7px 7px 0}.project-date-filter .mlot-date-control>button{min-width:116px;max-width:235px;gap:7px;border-left:0;white-space:nowrap}.project-trash-page .project-date-filter .mlot-date-control{border-radius:7px}.project-date-filter .mlot-date-popover{font-size:13px}.project-date-filter .mlot-date-popover button{font:inherit}.project-date-filter .mlot-calendar footer button{min-height:30px;height:auto}.project-date-filter .mlot-calendar nav input{height:auto}.project-date-filter .mlot-calendar footer input{height:auto;max-width:125px}.project-date-filter .mlot-days button{border:0;min-width:0;height:auto;min-height:32px;padding:7px 2px}.project-date-filter .mlot-month header button{height:auto;min-width:0;padding:7px}.project-date-filter .mlot-calendar nav button{height:auto;padding:7px}

.project-date-filter .mlot-people>.ml-hover-select,.project-date-filter .mlot-date-control>.ml-hover-select{display:none!important}
