/* Files, the Share sheet, and the page a document opens on (the frame is Sovra Office's). */
.files { max-width: 980px; margin: 0 auto; padding: 20px 16px 32px; display: grid; gap: 14px; }
.fhead h1 { font-size: 26px; font-weight: 600; font-stretch: 108%; }
.fhead p { color: var(--on-v); font-size: 14px; }
.fhead .acts { margin-top: 10px; }
.flist { background: var(--low); border-radius: 24px; padding: 6px; display: grid; gap: 2px; }
.frow { border-radius: 18px; flex-wrap: wrap; row-gap: 8px; }
.frow .tx { flex: 1 1 220px; }
.frow .chip { flex: none; }
.sharerow { display: grid; gap: 6px; }
.sharerow b { font-size: 14px; font-weight: 500; }

.docview { display: grid; grid-template-rows: auto minmax(0, 1fr); grid-template-columns: minmax(0, 1fr); min-height: 0; }
.docbar { border-radius: 0; padding: 8px 12px; border-bottom: 1px solid var(--outline-v); }
.docframe { width: 100%; height: 100%; border: 0; display: block; background: var(--surface); }

/* An end date beside an outside share (17 Nov 2026). */
.sharerow b .chip { margin-left: 6px; height: 22px; font-size: 11.5px; }
.field.until { max-width: 220px; }
