:root {
  --portal-navy: #00264a;
  --portal-blue: #00b7ff;
  --portal-text: #142b40;
  --portal-muted: #4f6274;
  --portal-line: #dce5ee;
  --portal-surface: #f3f7fb;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-width: 0; background: var(--portal-surface); color: var(--portal-text); font: .94rem/1.55 Montserrat, Arial, sans-serif; }
a { color: #005a83; text-underline-offset: .2em; }
button, input, select { font: inherit; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid #007cb3; outline-offset: 3px; }
h1, h2, p { margin: 0; }
h1, h2 { line-height: 1.2; letter-spacing: -.03em; }
h2 { font-size: 1.18rem; }
.portal-container { width: min(1120px, 100% - 48px); margin-inline: auto; }
.skip-link { position: absolute; z-index: 2; left: 1rem; top: -5rem; padding: .75rem; background: #fff; }
.skip-link:focus { top: .75rem; }
.portal-header { color: #fff; background: var(--portal-navy); }
.header-content, .account-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.header-content { min-height: 72px; padding-block: .5rem; }
.portal-brand { line-height: 0; flex: none; }
.portal-brand img { width: 142px; height: auto; }
.header-link { border: 1px solid #6b879e; border-radius: .55rem; color: #fff; background: none; padding: .48rem .75rem; text-decoration: none; white-space: nowrap; }
.header-link:hover { background: #17476b; }
.account-name { overflow-wrap: anywhere; text-align: right; }
.portal-navigation { background: #fff; border-bottom: 1px solid var(--portal-line); }
.nav-content { display: flex; flex-wrap: wrap; gap: 0 1.6rem; }
.nav-content a { color: var(--portal-muted); font-weight: 650; padding: .8rem 0; border-bottom: 3px solid transparent; text-decoration: none; }
.nav-content a:hover, .nav-content a[aria-current] { color: var(--portal-navy); border-bottom-color: var(--portal-blue); }
.portal-label { color: #00698f; font-weight: 750; font-size: .72rem; letter-spacing: .11em; text-transform: uppercase; }
.login-layout { display: grid; grid-template-columns: 1.1fr 1fr; max-width: 920px; margin: clamp(2rem, 9vw, 7rem) auto 0; border-radius: 1.25rem; overflow: hidden; box-shadow: 0 18px 60px #00264a14; }
.login-intro { display: grid; align-items: end; min-height: 445px; padding: clamp(1.5rem, 5vw, 3.5rem); color: #effaff; background: linear-gradient(0deg, #00264af5, #00264a30), radial-gradient(ellipse at 100% 0%, #12648c, #00264a 67%); }
.login-intro .portal-label { color: #85dcff; }
.login-intro h1 { margin: .55rem 0 .9rem; color: #fff; font-size: clamp(2.4rem, 5vw, 4.5rem); }
.login-intro div > p:last-child { max-width: 32ch; }
.login-form { padding: clamp(1.5rem, 5vw, 3.25rem); background: #fff; }
.login-form h2 { font-size: 1.65rem; margin-bottom: .55rem; }
.login-form .form-stack { margin-top: 1.5rem; }
.login-form .portal-button { width: 100%; }
.login-help { margin-top: 1rem; font-size: .83rem; color: var(--portal-muted); }
.page-heading { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: .35rem 1rem; margin: 2rem 0 1.35rem; }
.page-heading h1 { grid-column: 1; font-size: clamp(1.85rem, 4.5vw, 3rem); color: var(--portal-navy); }
.page-heading > .portal-button { grid-column: 2; grid-row: 1 / span 2; }
.muted { color: var(--portal-muted); }
.panel { min-width: 0; border: 1px solid var(--portal-line); border-radius: .85rem; background: #fff; }
.panel-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .65rem 1rem; padding: 1.15rem 1.3rem; border-bottom: 1px solid var(--portal-line); }
.form-panel { max-width: 540px; padding: 1.3rem; }
.form-panel > :is(h2, p) { margin-bottom: 1rem; }
.portal-help-heading { position: relative; display: flex; align-items: center; gap: .65rem; }
.form-panel > .portal-help-heading { margin-bottom: .65rem; }
.portal-help summary { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #a7c4d6; border-radius: 50%; color: #005a83; font-weight: 750; cursor: pointer; list-style: none; }
.portal-help summary::-webkit-details-marker { display: none; }
.portal-help summary:hover, .portal-help[open] summary { background: #eaf8ff; }
.portal-help-content { position: absolute; z-index: 1; inset: 100% 0 auto; padding: .85rem; border: 1px solid #a7c4d6; border-radius: .6rem; background: #fff; box-shadow: 0 10px 26px #00264a25; overflow-wrap: anywhere; }
.portal-help-content p + p { margin-top: .65rem; }
.permission-visibility { display: grid; gap: .3rem; }
.permission-visibility label { font-weight: 650; }
.form-stack { display: grid; gap: .9rem; align-content: start; }
.form-stack > label { display: grid; gap: .3rem; font-weight: 650; }
.form-stack > .check { display: flex; }
.file-search { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .65rem; max-width: 42rem; margin-bottom: 1rem; }
input:not([type="checkbox"]), select { min-height: 44px; width: 100%; min-width: 0; padding: .55rem .7rem; border: 1px solid #a7b9c9; border-radius: .5rem; color: var(--portal-text); background: #fff; }
input[type="checkbox"] { width: 1.1rem; height: 1.1rem; accent-color: #006b94; flex: none; margin: .1rem 0 0; }
.check { display: flex; align-items: start; gap: .6rem; overflow-wrap: anywhere; }
.portal-button { display: inline-flex; justify-content: center; align-items: center; justify-self: start; gap: .35rem; min-height: 44px; padding: .58rem .95rem; border: 1px solid transparent; border-radius: .55rem; background: var(--portal-blue); color: var(--portal-navy); font-weight: 750; text-align: center; text-decoration: none; }
.portal-button:hover { background: #66d4ff; }
.portal-button.secondary { min-height: 38px; padding-block: .42rem; border-color: #a7c4d6; background: #fff; color: #005a83; }
.portal-button.secondary:hover { background: #eaf8ff; }
.portal-notice { margin: .8rem 0 1rem; padding: .7rem .85rem; border-radius: .5rem; color: #1b5938; background: #e8f6ee; overflow-wrap: anywhere; }
.portal-notice.is-error { color: #882829; background: #fff0ef; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: .25rem .6rem; margin-bottom: 1rem; overflow-wrap: anywhere; }
.breadcrumbs span[aria-current] { font-weight: 750; }
.people-list, .folder-selection ul { list-style: none; margin: 0; padding: 0; }
.people-list li, .folder-selection li { display: flex; align-items: center; gap: .85rem; padding: .85rem 1.3rem; }
.people-list li + li, .folder-selection li + li { border-top: 1px solid var(--portal-line); }
.file-list { width: 100%; border-collapse: collapse; table-layout: fixed; }
.file-list :is(th, td) { padding: .65rem .5rem; text-align: left; overflow-wrap: anywhere; }
.file-list :is(th, td):first-child { padding-inline-start: 1.3rem; }
.file-list :is(th, td):last-child { padding-inline-end: 1.3rem; }
.file-list th { color: var(--portal-muted); background: var(--portal-surface); font-size: .84rem; }
.file-list th:nth-child(2) { width: 15%; }
.file-list th:nth-child(3) { width: 16%; }
.file-list th:nth-child(4) { width: 10%; }
.file-list th:nth-child(5) { width: 12%; }
.file-list th:last-child { width: 16%; }
.file-list td { border-top: 1px solid var(--portal-line); }
.file-list .is-folder-drop-target { background: #e4f7ff; outline: 2px solid #007cb3; outline-offset: -2px; }
.panel.is-folder-drop-target { outline: 2px dashed #007cb3; outline-offset: 2px; }
.file-list th button { padding: .2rem 0; border: 0; color: inherit; background: transparent; text-align: left; cursor: pointer; }
.file-list th button:hover { text-decoration: underline; }
.file-list th[aria-sort="ascending"] button span::after { content: " ↑"; }
.file-list th[aria-sort="descending"] button span::after { content: " ↓"; }
.file-name { display: flex; align-items: center; gap: .85rem; }
.file-info { flex: 1; min-width: 0; }
.file-info a { font-weight: 700; }
.file-info.editing-name > :not(.inline-rename) { display: none; }
.inline-rename { display: grid; gap: .45rem; }
.organize-buttons { display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; }
.inline-rename .portal-button { min-height: 36px; padding: .3rem .65rem; font-size: .85rem; }
.organize-message { color: #882829; overflow-wrap: anywhere; }
.organize-message:empty, .move-empty:empty { display: none; }
.move-picker { width: min(32rem, calc(100% - 2rem)); padding: 0; margin: auto; max-height: 90vh; max-height: 90dvh;
  color: var(--portal-text); border: 1px solid var(--portal-line); border-radius: 1rem; box-shadow: 0 18px 60px #00264a33; }
.move-picker::backdrop { background: #08263d70; }
.move-picker form { display: flex; flex-direction: column; max-height: inherit; }
.move-picker header, .move-picker footer { padding: 1rem 1.25rem; flex: none; }
.move-picker header { border-bottom: 1px solid var(--portal-line); }
.move-picker h2 { overflow-wrap: anywhere; font-size: 1.25rem; }
.move-picker header p, .move-empty { margin-top: .45rem; font-size: .86rem; color: var(--portal-muted); overflow-wrap: anywhere; }
.move-browser { min-height: 0; overflow-y: auto; padding: 1rem 1.25rem; }
.move-path { display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .45rem; margin-bottom: .75rem; color: var(--portal-muted); overflow-wrap: anywhere; }
.move-path button { border: 0; padding: .2rem 0; color: #005a83; text-decoration: underline; background: transparent; }
.move-path strong { color: var(--portal-navy); }
.move-folders { display: grid; margin-top: .65rem; max-height: 16rem; overflow-y: auto; }
.move-folders > * { display: flex; align-items: center; gap: .85rem; min-height: 44px; padding: .6rem .75rem; border: 0; border-radius: .5rem; text-align: start; overflow-wrap: anywhere; }
.move-folders button { background: transparent; color: var(--portal-navy); font-weight: 650; }
.move-folders button:hover, .move-folders button:focus-visible { background: #eaf6fd; }
.move-folders button:focus-visible { outline-offset: -3px; }
.move-folders button::after { content: '›'; margin-left: auto; color: #436683; font-size: 1.2rem; }
.move-folders > div { color: var(--portal-muted); }
.move-file-icon { flex: none; margin-inline: 4px; width: 15px; height: 19px; border: 1.5px solid #8499a9; border-radius: 2px; background: linear-gradient(45deg, transparent 48%, #8499a9 50%, transparent 65%) top right / 6px 6px no-repeat; }
.move-folders .folder-icon { width: 23px; height: 16px; }
.move-folders small { display: block; color: var(--portal-muted); }
.move-picker footer { display: grid; gap: .5rem; border-top: 1px solid var(--portal-line); }
.move-picker footer .organize-buttons { justify-content: flex-end; }
.entry-note { display: block; margin-top: .3rem; color: var(--portal-muted); white-space: pre-line; overflow-wrap: anywhere; }
.form-stack textarea { width: 100%; padding: .7rem; border: 1px solid #a7c4d6; border-radius: .5rem; font: inherit; resize: vertical; }
.favorite-indicator { display: inline-flex; vertical-align: -.16em; margin-inline-start: .2rem; color: #607688; }
.favorite-indicator svg { fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linejoin: round; }
.favorite-indicator.is-favorite svg { fill: #ffc857; stroke: #805613; }
.file-field { color: var(--portal-muted); font-size: .84rem; }
.file-field-label { display: none; }
.document-icon { width: 26px; height: 30px; flex: none; }
.result-file-name { display: flex; align-items: center; gap: .5rem; }
.folder-icon { width: 32px; height: 23px; flex: none; border-radius: 5px; background: #bae8fb; position: relative; }
.folder-icon::before { content: ""; position: absolute; top: -4px; left: 0; width: 15px; height: 7px; border-radius: 4px 4px 0 0; background: #7ac9eb; }
.empty-state { padding: 1.2rem 1.3rem; color: var(--portal-muted); }
.new-folder { min-width: 115px; }
.new-folder summary { color: #005a83; cursor: pointer; font-weight: 700; }
.new-folder[open] { flex-basis: 100%; }
.new-folder form { max-width: 22rem; margin-top: .6rem; }
.folder-status { padding: .65rem 1.3rem; border-bottom: 1px solid var(--portal-line); color: #215537; }
.folder-status.is-error { color: #882829; }
.folder-status:empty { display: none; }
.upload-panel { margin-bottom: 1rem; padding: .85rem 1.3rem; }
.upload-panel summary, .delete-entry summary { cursor: pointer; font-weight: 750; color: #005a83; width: fit-content; }
.upload-panel form { margin-top: .85rem; }
.upload-zone { padding: .9rem; border: 2px dashed #7ea1b9; border-radius: .6rem; background: var(--portal-surface); }
.upload-zone.is-dragging { border-color: #007cb3; background: #e4f7ff; }
.upload-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; }
.upload-actions [hidden], .upload-monitor[hidden], .upload-monitor [hidden], .upload-monitor-launcher[hidden], .bulk-actions [hidden] { display: none; }
.upload-monitor { position: fixed; z-index: 10; right: 1rem; bottom: max(.85rem, env(safe-area-inset-bottom)); width: min(26rem, calc(100% - 2rem)); color: var(--portal-text); background: #fff; border: 1px solid #a7b9c9; border-radius: .85rem; box-shadow: 0 12px 36px #00264a30; }
.upload-monitor-header { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: .45rem; padding: .7rem .85rem; border-radius: .8rem .8rem 0 0; background: var(--portal-surface); }
.upload-monitor-header .portal-button { width: 44px; min-height: 44px; padding: 0; font-size: 1.2rem; }
.upload-monitor-header .upload-status { color: var(--portal-muted); font-size: .85rem; }
.upload-queue { max-height: min(43vh, 22rem); overflow-y: auto; overscroll-behavior: contain; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--portal-line); }
.upload-queue li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: .25rem .7rem; padding: .65rem .85rem; }
.upload-queue li + li { border-top: 1px solid var(--portal-line); }
.upload-queue :is(strong, small, span, progress) { grid-column: 1; min-width: 0; overflow-wrap: anywhere; }
.upload-queue :is(span, small) { color: var(--portal-muted); font-size: .84rem; }
.upload-queue [data-state="done"] span { color: #215537; }
.upload-queue [data-state="failed"] span { color: #882829; }
.upload-queue progress { width: 100%; accent-color: #007cb3; }
.upload-queue button { grid-column: 2; grid-row: 1 / span 3; }
.upload-queue .upload-resume { grid-row: 1 / span 2; }
.upload-queue .upload-resume:not([hidden]) ~ button { grid-row: 3 / span 3; }
.upload-conflict { grid-column: 1 / -1; padding: .65rem 0 .2rem; gap: .55rem; }
.upload-conflict p { overflow-wrap: anywhere; }
.upload-conflict input { width: 100%; }
.upload-monitor-launcher { position: fixed; z-index: 4; right: 1rem; bottom: 1rem; }
.upload-status:empty { display: none; }
.upload-status, .portal-notice { overflow-wrap: anywhere; }
.portal-notice ul { margin: .4rem 0 0; padding-inline-start: 1.2rem; }
.portal-button:disabled { cursor: wait; opacity: .65; }
.bulk-actions { gap: .65rem .95rem; padding-block: .85rem; }
.bulk-selection, .bulk-selection-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem .75rem; }
[data-file-list]:not(:has([data-entry-check]:checked)) .bulk-selection-actions { display: none; }
.bulk-actions .check { align-items: center; }
.bulk-actions .portal-button:disabled { cursor: default; }
.bulk-delete { position: relative; }
.bulk-delete-confirmation { position: absolute; z-index: 2; top: calc(100% + .35rem); right: 0; width: min(18rem, calc(100vw - 3rem)); padding: .75rem; border: 1px solid var(--portal-line); border-radius: .6rem; background: #fff; box-shadow: 0 8px 24px #00264a24; }
.bulk-delete-confirmation p { margin-bottom: .45rem; }
.trash-actions { position: relative; }
.bulk-delete summary { list-style: none; }
.bulk-delete summary::-webkit-details-marker { display: none; }
.entry-checkbox { display: grid; place-items: center; min-width: 2rem; min-height: 2.75rem; cursor: pointer; }
.entry-checkbox input { margin: 0; }
.file-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: .5rem; }
.item-options { position: relative; }
.item-options > summary { display: flex; align-items: center; gap: .65rem; min-height: 40px; padding: .4rem .8rem;
  cursor: pointer; list-style: none; color: #174a68; font-weight: 650; border: 1px solid #cfdee8; border-radius: .6rem; }
.item-options summary::-webkit-details-marker { display: none; }
.item-options > summary::after { content: ""; width: .42rem; height: .42rem; margin-top: -.18rem;
  border: solid currentColor; border-width: 0 1.6px 1.6px 0; transform: rotate(45deg); }
.item-options[open] > summary::after { margin-top: .18rem; transform: rotate(225deg); }
.item-options > summary:hover, .item-options[open] > summary { background: #e7f3fb; }
.item-options-list { position: absolute; z-index: 4; inset: calc(100% + .45rem) 0 auto auto; display: grid; gap: .25rem;
  width: min(14rem, 80vw); margin: 0; padding: .5rem; list-style: none; border: 1px solid var(--portal-line);
  border-radius: .85rem; background: white; box-shadow: 0 10px 28px #00264a26; }
.item-options-list :is(a, button, summary) { display: flex; align-items: center; justify-content: flex-start; gap: .8rem;
  width: 100%; min-height: 44px; padding: .65rem .85rem; text-align: left; list-style: none;
  border: 0; border-radius: .5rem; background: transparent; color: #164462; font: inherit; text-decoration: none; cursor: pointer; }
.item-options-list svg { flex: none; }
.item-options-list { overflow-y: auto; overscroll-behavior: contain; }
.item-options.opens-above > .item-options-list { inset: auto 0 calc(100% + .45rem) auto; }
.item-options-list :is(a, button, summary):hover { background: #eef5fa; }
.item-options-list .delete-entry { margin-top: .15rem; padding-top: .4rem; border-top: 1px solid var(--portal-line); }
.item-options-list .delete-entry :is(summary, button) { color: #882829; }
.delete-entry summary { color: #882829; }
.delete-entry form { margin-top: .45rem; }
.portal-button.danger { background: #fff0ef; color: #882829; border-color: #d19999; }
.portal-button.danger:hover { background: #f8d7d6; }
.activity-list { list-style: none; margin: 0; padding: 0; }
.activity-list li { display: grid; grid-template-columns: 1.5fr 1fr; gap: .5rem 1rem; padding: .85rem 1.3rem; overflow-wrap: anywhere; }
.activity-list li + li { border-top: 1px solid var(--portal-line); }
.activity-event, .activity-actor { display: grid; gap: .15rem; min-width: 0; }
.result-actions { align-self: center; }
.activity-event small, .activity-actor :is(time, small) { color: var(--portal-muted); }
.activity-filters { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) auto; align-items: end; gap: .75rem; padding: 1rem 1.3rem; border-bottom: 1px solid var(--portal-line); }
.activity-filters label { display: grid; gap: .3rem; min-width: 0; font-weight: 650; }
.activity-filter-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; }
.activity-filter-actions .portal-button { min-height: 44px; }
.activity-pagination { display: flex; flex-wrap: wrap; gap: .5rem; padding: 1rem 1.3rem; border-top: 1px solid var(--portal-line); }
.activity-pagination [aria-current="page"] { background: var(--portal-navy); border-color: var(--portal-navy); color: #fff; cursor: default; }
.pagination-gap { align-self: center; color: var(--portal-muted); }
.people-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 1rem; }
.people-layout .form-panel { max-width: none; }
.account-status { flex: none; background: #e8f6ee; color: #215537; border-radius: .4rem; padding: .15rem .45rem; font-size: .76rem; font-weight: 700; }
.account-status.inactive { color: var(--portal-muted); background: #eef1f5; }
.permissions { margin-top: 1rem; }
.root-permission { padding: 1rem 1.3rem; border-bottom: 1px solid var(--portal-line); }
.root-permission form { margin-top: .85rem; }
.permissions-layout { padding: 1.15rem 1.3rem; display: grid; grid-template-columns: 1.3fr 1fr; gap: 1rem; }
fieldset { margin: 0; padding: .7rem .85rem; min-width: 0; border: 1px solid var(--portal-line); border-radius: .6rem; }
legend { padding: 0 .3rem; font-weight: 750; }
.folder-selection li { padding: .64rem 0; }
.permission-folder { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.permission-folder > a, .permission-folder > span { font-weight: 650; }
.permission-breadcrumbs { margin: 0 0 .65rem; overflow-wrap: anywhere; }
.folder-selection small { display: block; color: var(--portal-muted); }
.folder-selection .select-all { border-bottom: 1px solid var(--portal-line); padding-bottom: .65rem; font-weight: 700; }
.permission-rules { align-self: start; }
.parent-access { display: grid; gap: .35rem; padding: .75rem; background: var(--portal-surface); border-radius: .5rem; overflow-wrap: anywhere; }
.permission-rules [hidden] { display: none; }
.access-guide summary { cursor: pointer; color: #005a83; font-weight: 650; padding-block: .35rem; }
.access-guide dl { margin: .5rem 0 0; }
.access-guide dt { font-weight: 650; overflow-wrap: anywhere; }
.access-guide dd { margin: .15rem 0 .75rem; }
.permissions-layout .muted { font-size: .84rem; }
.portal-footer { padding: 1.5rem 0; color: var(--portal-muted); font-size: .82rem; }

@media (max-width: 800px) {
  .login-layout { margin-top: 1.5rem; }
  .login-intro { min-height: 340px; }
  .people-layout, .permissions-layout { grid-template-columns: 1fr; }
  .activity-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .file-list :is(thead, tbody) { display: block; }
  .file-list thead tr { display: flex; flex-wrap: wrap; gap: .2rem .65rem; padding: .5rem 1.3rem; }
  .file-list thead th:nth-child(n) { width: auto; padding: 0; }
  .file-list thead th button { min-height: 2rem; }
  .file-list :is(th, td):is(:first-child, :last-child) { padding-inline: 0; }
  .file-list tbody tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .45rem .65rem; padding: .7rem 1.3rem; border-top: 1px solid var(--portal-line); }
  .file-list tbody td { padding: 0; border: 0; }
  .file-name-cell, .file-action-cell { grid-column: 1 / -1; }
  .file-field-label { display: block; font-size: .76rem; font-weight: 700; }
  .file-list .file-action-heading, .file-action-cell:not(:has(.file-actions)), [data-directory] .file-size { display: none; }
}

@media (max-width: 540px) {
  .portal-container { width: calc(100% - 32px); }
  .header-content { min-height: 62px; }
  .portal-brand img { width: 115px; }
  .nav-content { gap: 0 1.1rem; }
  .nav-content a { padding-block: .55rem; }
  .login-layout { grid-template-columns: 1fr; }
  .login-intro { min-height: 200px; }
  .page-heading { display: flex; flex-wrap: wrap; gap: .5rem; }
  .page-heading .portal-label { width: 100%; }
  .panel-heading, .folder-status, .file-list tr, .people-list li, .permissions-layout { padding-inline: .75rem; }
  .bulk-selection-actions { width: 100%; }
  .bulk-delete-confirmation { position: static; margin-top: .35rem; }
  .file-list thead tr, .file-list tbody tr { padding-inline: .75rem; }
  .file-name { gap: .55rem; }
  .activity-list li { grid-template-columns: 1fr; padding-inline: .75rem; }
  .activity-filters { grid-template-columns: 1fr; padding-inline: .75rem; }
  .activity-pagination { padding-inline: .75rem; }
}
