/* Shared private/guest file workspace. Existing navigation and theme are retained. */
.files-search{display:grid;gap:8px;max-width:480px;margin:18px 0}.file-space{padding:22px;display:block;color:var(--ink);text-decoration:none}.file-space h2{margin:12px 0 8px}.file-space p{overflow-wrap:anywhere}.file-symbol{display:inline-flex;color:var(--accent);padding:10px;background:var(--soft);border-radius:12px;flex-shrink:0}.file-symbol svg{width:24px;height:24px}.file-row{display:flex;gap:16px;align-items:center;padding:18px;border-bottom:1px solid var(--line)}.file-row:last-child{border-bottom:0}.file-row .row-main{min-width:0;flex:1}.file-row strong,.file-member strong{overflow-wrap:anywhere}.file-row small,.file-member small{display:block;color:var(--muted);margin-top:5px}.file-member{display:grid;grid-template-columns:minmax(0,1fr) minmax(150px,1fr);align-items:center;gap:12px;padding:16px 4px;border-bottom:1px solid var(--line)}.file-member>button{grid-column:1/-1;justify-self:start}.file-progress{width:100%;height:12px;accent-color:var(--accent)}.quota-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.guest-recovery{padding:18px;margin-top:20px;border:1px solid var(--line);border-radius:16px}.guest-recovery[open] summary{margin-bottom:16px}.invite-qr{max-width:min(100%,250px);height:auto}.project-choice{display:flex;width:100%;gap:12px;align-items:center;justify-content:space-between;text-align:left;border:1px solid var(--line);padding:14px;border-radius:12px;background:var(--surface);color:var(--ink);margin-bottom:8px}.project-choice[aria-pressed=true]{border-color:var(--accent);background:var(--soft)}.project-choice span:first-child{min-width:0;overflow-wrap:anywhere}.project-choice small{flex-shrink:0;color:var(--muted)}
@media(max-width:700px){.file-row{flex-wrap:wrap;padding:14px;gap:12px}.file-row .actions{width:100%;display:flex;flex-wrap:wrap}.file-row .actions>*{flex:1 1 110px}.quota-grid,.file-member{grid-template-columns:minmax(0,1fr)}.file-space{padding:18px}.file-member>button{grid-column:auto}.guest-recovery .actions{flex-wrap:wrap}.guest-recovery button{white-space:normal}}

@media(max-width:700px){.workspace-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.workspace-tabs button{min-width:0;width:100%;padding:12px 8px;white-space:normal;text-align:center}}

.file-breadcrumbs{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:16px 0}.file-preview{max-height:65vh;overflow:auto;margin:16px 0}.file-preview img{max-width:100%;max-height:60vh;object-fit:contain}.file-preview pre{white-space:pre-wrap;overflow-wrap:anywhere}.file-preview iframe{width:100%;height:60vh;border:0}.file-row .actions{flex-wrap:wrap}.file-row .row-main{min-width:0;overflow-wrap:anywhere}

.assistance-banner{position:fixed;bottom:80px;left:12px;right:12px;z-index:10000;padding:16px;border:2px solid #d58c25;background:var(--surface,#fff);color:var(--text,#182331);box-shadow:0 8px 40px #0004;max-width:750px;margin:auto;border-radius:16px;display:flex;flex-direction:column;gap:10px}.assistance-banner[hidden]{display:none}.assistance-dialog{width:min(1100px,96vw);max-width:96vw}.assistance-screen{width:100%;max-height:60vh;object-fit:contain;background:#101828}.assistance-guide{margin:16px 0}.assistance-guide input{width:100%}
