:root {
  --bg: #f6f7fb;
  --ink: #0e0f14;
  --ink-soft: rgba(14, 15, 20, 0.72);
  --muted: rgba(14, 15, 20, 0.55);
  --quiet: rgba(14, 15, 20, 0.38);
  --line: rgba(14, 15, 20, 0.1);
  --line-strong: rgba(14, 15, 20, 0.18);
  --danger: #9b2f29;
}

* { box-sizing: border-box; }

html,
body {
  height: 100%;
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  overflow-x: hidden;
}

.stage {
  position: static !important;
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(900px circle at 15% 10%, #ffffff 0%, #f6f7fb 65%),
    radial-gradient(1200px circle at 80% 30%, #ffffff 0%, #f6f7fb 70%);
}

#fx {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: block;
  background: var(--bg) !important;
  pointer-events: none;
}

.page {
  position: relative;
  z-index: 2;
  width: min(820px, calc(100vw - 80px));
  margin: 140px auto 110px;
  padding: 0;
}

.share-page h1 {
  margin: 0;
  font-size: clamp(24px, 2.7vw, 36px);
  line-height: 1.04;
  letter-spacing: 0;
  font-weight: 700;
}

.eyebrow {
  display: block;
  margin: 0 0 12px;
  color: rgba(0, 0, 0, 0.52);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.copy {
  max-width: 74ch;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.72;
  letter-spacing: 0.005em;
}

.logo-fixed {
  position: fixed;
  top: 28px;
  left: 34px;
  z-index: 50;
  width: 120px;
  opacity: 0.75;
  mix-blend-mode: multiply;
}

.logo-fixed:hover {
  opacity: 1;
}

.nav-floating {
  position: fixed;
  top: 32px;
  right: 40px;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 15px;
  mix-blend-mode: multiply;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.nav-home,
.nav-logout {
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  color: rgba(12, 14, 20, 0.72);
  font: inherit;
  font-size: 12px;
  line-height: 1;
  text-decoration: none;
  text-transform: lowercase;
  cursor: pointer;
  transition: color 0.16s ease, opacity 0.16s ease;
}

.nav-home:hover,
.nav-logout:hover {
  color: rgba(0, 0, 0, 0.88);
}

.nav-search-mini {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(12, 14, 20, 0.55);
}

.nav-search-open {
  appearance: none;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.nav-search-open .svg-icon {
  width: 14px;
  height: 14px;
  stroke-width: 2;
}

.nav-search-mini input {
  width: 82px;
  min-height: 22px;
  border: 0;
  padding: 0;
  background: transparent;
  color: rgba(12, 14, 20, 0.72);
  font: inherit;
  font-size: 12px;
  outline: none;
}

.nav-search-mini input::placeholder {
  color: rgba(12, 14, 20, 0.42);
}

.nav-more {
  position: relative;
}

.nav-more summary {
  width: 22px;
  height: 18px;
  display: grid;
  align-content: center;
  gap: 4px;
  list-style: none;
  cursor: pointer;
}

.nav-more summary::-webkit-details-marker {
  display: none;
}

.nav-more summary span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: rgba(12, 14, 20, 0.66);
}

.nav-more-panel {
  position: absolute;
  top: 28px;
  right: 0;
  display: grid;
  justify-items: end;
  gap: 9px;
  min-width: 86px;
  padding-top: 8px;
}

.nav-more-panel a {
  color: rgba(12, 14, 20, 0.72);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.nav-more-panel a:hover {
  color: rgba(0, 0, 0, 0.9);
}

.nav-separator {
  width: 1px;
  height: 18px;
  background: rgba(12, 14, 20, 0.24);
}

.nav-logout-form {
  margin: 0;
}

.share-search-layer {
  position: fixed;
  inset: 0;
  z-index: 90;
}

.share-search-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  background: rgba(246, 247, 251, 0.54);
  cursor: default;
}

.share-search-panel {
  position: absolute;
  top: 70px;
  left: 50%;
  width: min(760px, calc(100vw - 32px));
  max-height: calc(100vh - 110px);
  display: grid;
  grid-template-rows: auto auto auto auto minmax(0, 1fr);
  border-top: 3px solid rgba(14, 15, 20, 0.9);
  border-bottom: 1px solid rgba(14, 15, 20, 0.2);
  background: rgba(246, 247, 251, 0.94);
  box-shadow: 0 24px 70px rgba(14, 15, 20, 0.15);
  transform: translateX(-50%);
  outline: none;
}

.share-search-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px 14px;
  border-bottom: 1px solid var(--line);
}

.share-search-head h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.05;
}

.share-search-close {
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid rgba(14, 15, 20, 0.36);
  background: transparent;
  color: rgba(14, 15, 20, 0.82);
  font-size: 23px;
  line-height: 1;
}

.share-search-box {
  display: block;
  padding: 14px 20px 0;
}

.share-search-box input {
  width: 100%;
  min-height: 48px;
  padding: 0;
  border: 0;
  border-bottom: 2px solid rgba(14, 15, 20, 0.82);
  background: transparent;
  color: var(--ink);
  font-size: 25px;
  font-weight: 700;
  letter-spacing: 0;
  outline: none;
}

.share-search-scopes {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 20px 0;
  overflow-x: auto;
  white-space: nowrap;
}

.share-search-scopes button {
  min-height: 24px;
  padding: 0 0 4px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.share-search-scopes button.is-active {
  border-bottom-color: rgba(14, 15, 20, 0.82);
  color: rgba(14, 15, 20, 0.88);
}

.share-search-status {
  margin: 0;
  padding: 12px 20px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.share-search-results {
  min-height: 0;
  overflow: auto;
}

.share-search-group-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  padding: 10px 20px;
  border-bottom: 1px solid var(--line);
  color: rgba(14, 15, 20, 0.52);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.share-search-result {
  min-height: 54px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 18px;
  row-gap: 2px;
  align-items: center;
  padding: 9px 20px;
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
}

.share-search-result:hover {
  background: rgba(255, 255, 255, 0.46);
}

.share-search-result strong,
.share-search-result span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.share-search-result strong {
  grid-column: 1;
  font-size: 15px;
}

.share-search-result span {
  grid-column: 1;
  color: var(--muted);
  font-size: 13px;
}

.share-search-result small {
  grid-column: 2;
  grid-row: 1 / span 2;
  color: var(--quiet);
  font-size: 12px;
  white-space: nowrap;
}

.footer-corner {
  position: fixed;
  right: 24px;
  bottom: 18px;
  z-index: 30;
  color: rgba(12, 14, 20, 0.55);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.03em;
  mix-blend-mode: multiply;
  opacity: 0.65;
}

.subheading {
  margin: 14px 0 42px;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  color: rgba(0, 0, 0, 0.7);
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.75;
}

.share-subheading {
  justify-content: space-between;
  align-items: flex-start;
}

.crumbs,
.share-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.crumbs a,
.subheading a {
  color: rgba(0, 0, 0, 0.7);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.22);
  transition: opacity 0.25s ease, color 0.25s ease;
}

.crumbs a:hover,
.subheading a:hover {
  opacity: 1;
  color: rgba(0, 0, 0, 0.9);
}

.share-actions form {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.density-toggle {
  appearance: none;
  width: 20px;
  height: 18px;
  display: inline-grid;
  align-content: center;
  gap: 3px;
  border: 0;
  padding: 0;
  background: transparent;
  color: rgba(0, 0, 0, 0.68);
  cursor: pointer;
}

.density-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
}

.density-toggle[aria-pressed="true"] {
  color: rgba(0, 0, 0, 0.92);
}

button,
.ghost-action,
.primary-action,
.copy-action,
.file-pick,
.row-actions a,
.row-actions summary {
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(0, 0, 0, 0.78);
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.subheading button,
.file-pick {
  padding: 0;
  color: inherit;
  font-size: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
}

button:hover,
.ghost-action:hover,
.primary-action:hover,
.copy-action:hover,
.file-pick:hover,
.row-actions a:hover,
.row-actions summary:hover {
  opacity: 0.65;
}

.file-pick {
  display: inline-flex;
  align-items: center;
}

.file-pick input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.upload-progress {
  color: var(--quiet);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.drop-upload.drag-over .file-pick {
  color: rgba(0, 0, 0, 1);
}

.browser-list {
  margin-top: 22px;
  border-top: 0;
}

.browser-row {
  position: relative;
  min-height: 52px;
  display: grid;
  align-items: center;
  gap: 18px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(14, 15, 20, 0.06);
  color: inherit;
}

.browser-row:not(.browser-head-row):hover {
  background-color: rgba(255, 255, 255, 0.13);
}

.browser-row.is-selected {
  background-color: rgba(14, 15, 20, 0.035);
}

.browser-head-row {
  min-height: 34px;
  padding: 4px 0;
  border-bottom: 0;
  color: rgba(0, 0, 0, 0.45);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.project-row {
  grid-template-columns: minmax(260px, 1fr) 110px 100px 42px;
}

.folder-row,
.file-row {
  grid-template-columns: 30px minmax(320px, 1fr) 152px 90px 72px;
}

.link-row {
  grid-template-columns: minmax(280px, 1fr);
}

.link-admin-row {
  grid-template-columns: minmax(280px, 1fr) 92px 82px 42px;
}

.public-list .file-row {
  grid-template-columns: minmax(280px, 1fr) auto;
}

.public-list .file-row .row-check {
  display: none;
}

.row-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
}

.inline-check input {
  appearance: none;
  width: 16px;
  height: 16px;
  margin: 0;
  display: inline-grid;
  place-content: center;
  border: 1.5px solid rgba(14, 15, 20, 0.46);
  background: rgba(14, 15, 20, 0.16);
  color: #f6f7fb;
}

.inline-check input:checked {
  border-color: rgba(14, 15, 20, 0.9);
  background: rgba(14, 15, 20, 0.9);
}

.inline-check input:checked::after {
  content: "";
  width: 4px;
  height: 8px;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: translateY(-1px) rotate(45deg);
}

.row-check input {
  appearance: none;
  position: relative;
  width: 28px;
  height: 100%;
  min-height: 34px;
  margin: 0;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.row-check input::before {
  content: "";
  width: 8px;
  height: 8px;
  display: block;
  border: 1.5px solid rgba(14, 15, 20, 0.36);
  border-radius: 50%;
  background: transparent;
  transition: background-color 0.12s ease, border-color 0.12s ease;
}

.browser-row:not(.browser-head-row):hover .row-check input::before {
  border-color: rgba(14, 15, 20, 0.68);
  background: rgba(14, 15, 20, 0.08);
}

.row-check input:focus-visible::before {
  box-shadow: 0 0 0 5px rgba(14, 15, 20, 0.08);
}

.row-check input:checked::before {
  border-color: rgba(14, 15, 20, 0.88);
  background: rgba(14, 15, 20, 0.88);
  box-shadow: 0 0 0 5px rgba(14, 15, 20, 0.07);
}

.public-list .link-row {
  grid-template-columns: minmax(280px, 1fr);
}

.file-main {
  min-width: 0;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 14px;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.file-icon {
  grid-row: 1 / span 2;
  align-self: center;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  color: rgba(0, 0, 0, 0.52);
}

.svg-icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.file-main > strong,
.file-main-text strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: rgba(0, 0, 0, 0.92);
  font-size: 17px;
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.file-main > strong:last-child {
  grid-row: 1 / span 2;
  align-self: center;
}

.file-main-text.is-single-line {
  grid-row: 1 / span 2;
  align-self: center;
}

.file-row .file-main > strong {
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0;
}

.file-main > small,
.file-main-text small,
.browser-row > small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.2;
}

.file-main-text {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.row-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.row-actions summary {
  list-style: none;
}

.row-actions summary::-webkit-details-marker {
  display: none;
}

.row-actions details {
  position: relative;
}

.icon-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1.6px solid currentColor;
  border-radius: 0;
  color: rgba(0, 0, 0, 0.78);
}

.icon-action .svg-icon {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

body.share-tight .subheading {
  margin-bottom: 24px;
  gap: 14px;
  font-size: 12px;
}

body.share-tight .share-actions,
body.share-tight .crumbs {
  gap: 12px;
}

body.share-tight .density-toggle {
  height: 16px;
  gap: 2px;
}

body.share-tight .browser-list {
  margin-top: 18px;
}

body.share-tight .browser-row {
  min-height: 40px;
  gap: 14px;
  padding: 5px 0;
}

body.share-tight .browser-head-row {
  min-height: 28px;
  padding: 3px 0;
  font-size: 10px;
  letter-spacing: 0.12em;
}

body.share-tight .file-main {
  grid-template-columns: 26px minmax(0, 1fr);
  column-gap: 10px;
}

body.share-tight .file-icon {
  width: 26px;
  height: 26px;
}

body.share-tight .svg-icon {
  width: 17px;
  height: 17px;
  stroke-width: 1.85;
}

body.share-tight .file-main > strong,
body.share-tight .file-main-text strong {
  font-size: 15px;
  line-height: 1.08;
}

body.share-tight .file-main > small,
body.share-tight .file-main-text small,
body.share-tight .browser-row > small {
  font-size: 12px;
  line-height: 1.08;
}

body.share-tight .file-main-text {
  gap: 1px;
}

body.share-tight .row-actions {
  gap: 8px;
}

body.share-tight .row-check input {
  width: 26px;
  min-height: 28px;
}

body.share-tight .row-check input::before {
  width: 7px;
  height: 7px;
}

body.share-tight .row-check input:checked::before {
  box-shadow: 0 0 0 4px rgba(14, 15, 20, 0.07);
}

body.share-tight .inline-check input {
  width: 14px;
  height: 14px;
}

body.share-tight .icon-action {
  width: 26px;
  height: 26px;
  border-width: 1.4px;
}

body.share-tight .icon-action .svg-icon {
  width: 15px;
  height: 15px;
}

body.share-tight .batch-actions {
  margin: 2px 0 12px;
  padding: 0;
  gap: 11px;
  font-size: 11px;
}

body.share-compact .subheading {
  margin-bottom: 18px;
  gap: 12px;
  font-size: 11px;
}

body.share-compact .share-actions,
body.share-compact .crumbs {
  gap: 10px;
}

body.share-compact .density-toggle {
  height: 14px;
  gap: 2px;
}

body.share-compact .browser-list {
  margin-top: 14px;
}

body.share-compact .browser-row {
  min-height: 30px;
  gap: 10px;
  padding: 3px 0;
}

body.share-compact .browser-head-row {
  min-height: 24px;
  padding: 2px 0;
  font-size: 9px;
  letter-spacing: 0.11em;
}

body.share-compact .file-main {
  grid-template-columns: 22px minmax(0, 1fr);
  column-gap: 8px;
}

body.share-compact .file-icon {
  width: 22px;
  height: 22px;
}

body.share-compact .svg-icon {
  width: 16px;
  height: 16px;
  stroke-width: 1.8;
}

body.share-compact .file-main > strong,
body.share-compact .file-main-text strong {
  font-size: 13px;
  line-height: 1.05;
}

body.share-compact .file-main > small,
body.share-compact .file-main-text small,
body.share-compact .browser-row > small {
  font-size: 11px;
  line-height: 1.05;
}

body.share-tight .file-row .file-main > strong {
  font-size: 14px;
}

body.share-compact .file-row .file-main > strong {
  font-size: 12px;
}

body.share-compact .file-main-text {
  gap: 0;
}

body.share-compact .row-actions {
  gap: 6px;
}

body.share-compact .row-check input {
  width: 24px;
  min-height: 24px;
}

body.share-compact .row-check input::before {
  width: 7px;
  height: 7px;
}

body.share-compact .row-check input:checked::before {
  box-shadow: 0 0 0 4px rgba(14, 15, 20, 0.07);
}

body.share-compact .inline-check input {
  width: 13px;
  height: 13px;
}

body.share-compact .icon-action {
  width: 22px;
  height: 22px;
  border-width: 1.2px;
}

body.share-compact .icon-action .svg-icon {
  width: 13px;
  height: 13px;
}

body.share-compact .batch-actions {
  margin: 0 0 8px;
  padding: 0;
  gap: 9px;
  font-size: 10px;
}

.action-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 60;
  width: 240px;
  max-width: calc(100vw - 32px);
  padding: 12px;
  display: grid;
  gap: 8px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.action-menu form {
  min-width: 0;
  display: grid;
  gap: 7px;
  margin: 0;
}

.action-menu button,
.action-menu select,
.action-menu input {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 26px;
  color: rgba(0, 0, 0, 0.76);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-align: left;
  text-transform: uppercase;
}

.action-menu button {
  padding: 0;
}

.action-menu select,
.action-menu input[type="password"],
.action-menu input[type="date"],
.action-menu input[type="number"],
.action-menu input[type="text"] {
  box-sizing: border-box;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 7px 9px;
  background: rgba(255, 255, 255, 0.58);
  outline: none;
}

.action-menu input[type="date"] {
  -webkit-appearance: none;
  appearance: none;
}

.danger-action {
  color: var(--danger);
}

.empty-state {
  padding: 18px 0;
  color: var(--muted);
}

.flash {
  margin: 0 0 28px;
  padding: 0 0 12px;
  border-bottom: 1px solid var(--line);
  color: rgba(0, 0, 0, 0.68);
  font-size: 14px;
}

.flash.err {
  color: var(--danger);
}

.login-panel,
.public-panel {
  max-width: 640px;
}

.stack-form {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

.stack-form label {
  display: grid;
  gap: 7px;
  color: rgba(0, 0, 0, 0.58);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

input[type="text"],
input[type="password"],
input[type="date"],
input[type="number"],
input[type="search"],
select {
  width: 100%;
  min-height: 42px;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  padding: 8px 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  outline: none;
}

input:focus,
select:focus {
  border-bottom-color: rgba(0, 0, 0, 0.42);
}

.login-panel .stack-form input[type="text"],
.login-panel .stack-form input[type="password"] {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0;
  text-transform: none;
}

.primary-action {
  justify-self: start;
  margin-top: 8px;
  padding: 9px 16px;
  border-radius: 0;
  background: rgba(0, 0, 0, 0.88);
  color: #fff;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.batch-actions {
  margin: 4px 0 18px;
  padding: 0;
  border: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.batch-actions.is-empty {
  display: none;
}

.batch-actions select {
  width: auto;
  min-width: 180px;
  min-height: 30px;
  padding: 2px 0;
  font-size: 12px;
}

.batch-actions button:disabled,
.batch-actions select:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.checkbox-row {
  display: inline-flex !important;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px !important;
  color: rgba(0, 0, 0, 0.68) !important;
  font-size: 13px !important;
  letter-spacing: 0.04em !important;
}

.checkbox-row input {
  width: 16px;
  height: 16px;
  margin: 0;
}

.import-result {
  margin-top: 36px;
}

.import-log {
  margin: 24px 0 0;
  max-height: 48vh;
  overflow: auto;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  background: transparent;
  color: rgba(0, 0, 0, 0.72);
  font: 13px/1.5 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  white-space: pre-wrap;
}

.page-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.preview-shell,
.public-file {
  margin-top: 34px;
}

.image-preview,
.pdf-preview {
  width: 100%;
  border: 0;
  background: rgba(255, 255, 255, 0.22);
}

.image-preview {
  max-height: 72vh;
  object-fit: contain;
}

.pdf-preview {
  min-height: 72vh;
}

.audio-preview {
  width: 100%;
}

.video-preview {
  width: 100%;
  max-height: 72vh;
  background: rgba(0, 0, 0, 0.82);
}

.text-preview {
  max-height: 72vh;
  overflow: auto;
  padding: 18px;
  background: rgba(255, 255, 255, 0.38);
  border: 1px solid var(--line);
  color: rgba(0, 0, 0, 0.76);
  font: 13px/1.55 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  white-space: pre-wrap;
}

.preview-footer {
  margin-top: 14px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 18px;
}

.file-facts {
  min-width: 0;
  margin: 0;
  display: grid;
  gap: 5px;
  color: var(--quiet);
  font: 11px/1.35 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

.file-facts span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.preview-footer .inline-action {
  margin: 0;
  justify-self: end;
  white-space: nowrap;
}

.public-toolbar {
  margin: 22px 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.trash-row {
  grid-template-columns: minmax(320px, 1fr) 140px auto;
}

.trash-row .row-actions {
  flex-wrap: wrap;
}

.trash-row .row-actions form {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-create-form {
  margin: 32px 0 34px;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(140px, 1fr) minmax(160px, 1.1fr) minmax(150px, 1fr) minmax(120px, 0.75fr) auto;
  align-items: end;
  gap: 8px;
}

.admin-create-form label {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.admin-create-form label span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.admin-create-form input,
.admin-create-form select {
  min-height: 38px;
  border: 0;
  padding: 0;
  background: transparent;
  font-size: 14px;
}

.admin-create-form .primary-action {
  min-height: 36px;
  margin: 0;
  padding: 0;
  background: transparent;
  color: rgba(14, 15, 20, 0.9);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.admin-row-form {
  display: none;
}

.admin-users {
  margin-top: 0;
}

.admin-table-wrap {
  width: 100%;
  overflow-x: auto;
  scrollbar-width: thin;
}

.admin-users-table {
  width: 100%;
  min-width: 920px;
  border-collapse: collapse;
  border-spacing: 0;
  table-layout: fixed;
}

.admin-col-user { width: 15%; }
.admin-col-display { width: 22%; }
.admin-col-role { width: 12%; }
.admin-col-status { width: 11%; }
.admin-col-login { width: 16%; }
.admin-col-password { width: 16%; }
.admin-col-action { width: 8%; }

.admin-users-table th,
.admin-users-table td {
  padding: 11px 12px;
  border-bottom: 0;
  text-align: left;
  vertical-align: middle;
  white-space: nowrap;
}

.admin-users-table th:first-child,
.admin-users-table td:first-child {
  padding-left: 0;
}

.admin-users-table th:last-child,
.admin-users-table td:last-child {
  padding-right: 0;
}

.admin-users-table th {
  color: rgba(0, 0, 0, 0.45);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.admin-user-cell strong {
  display: block;
  min-width: 0;
  overflow: hidden;
  color: rgba(0, 0, 0, 0.9);
  font-size: 15px;
  font-weight: 700;
  text-overflow: ellipsis;
}

.admin-login-cell {
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  text-overflow: ellipsis;
}

.admin-users-table input[type="text"],
.admin-users-table input[type="password"],
.admin-users-table select {
  min-height: 34px;
  border: 0;
  padding: 0;
  background: transparent;
  font-size: 13px;
}

.admin-users-table select {
  min-width: 94px;
}

.admin-password-input {
  max-width: 150px;
}

.admin-active-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.admin-active-toggle input {
  appearance: none;
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  margin: 0;
  display: inline-grid;
  place-content: center;
  border: 1.5px solid rgba(14, 15, 20, 0.46);
  background: rgba(14, 15, 20, 0.12);
  color: #f6f7fb;
}

.admin-active-toggle input:checked {
  border-color: rgba(14, 15, 20, 0.9);
  background: rgba(14, 15, 20, 0.9);
}

.admin-active-toggle input:checked::after {
  content: "";
  width: 4px;
  height: 8px;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: translateY(-1px) rotate(45deg);
}

.admin-action-cell {
  text-align: right;
}

.admin-save {
  min-height: 30px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(14, 15, 20, 0.9);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.admin-save:hover {
  opacity: 0.78;
}

.inline-check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.public-file {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

@media (max-width: 900px) {
  .logo-fixed {
    top: 16px;
    left: 16px;
    width: 90px;
  }

  .nav-floating {
    top: 16px;
    right: 18px;
    padding: 0;
    mix-blend-mode: multiply;
  }

  .nav-floating {
    gap: 10px;
  }

  .nav-home,
  .nav-logout,
  .nav-more-panel a,
  .nav-search-mini input {
    font-size: 11px;
  }

  .nav-search-mini input {
    width: 58px;
  }

  .share-search-panel {
    top: 52px;
    width: calc(100vw - 24px);
    max-height: calc(100vh - 76px);
  }

  .share-search-head,
  .share-search-box,
  .share-search-scopes,
  .share-search-status,
  .share-search-group-head,
  .share-search-result {
    padding-left: 14px;
    padding-right: 14px;
  }

  .share-search-box input {
    font-size: 21px;
  }

  .share-search-result {
    grid-template-columns: 1fr;
  }

  .share-search-result small {
    grid-column: 1;
    grid-row: auto;
  }

  .page {
    width: min(100% - 32px, 760px);
    margin-top: 132px;
  }

  .share-page h1 {
    font-size: clamp(24px, 8vw, 34px);
  }

  .share-subheading {
    align-items: flex-start;
  }

  .preview-footer {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .preview-footer .inline-action {
    justify-self: start;
  }

  .browser-head-row {
    display: none;
  }

  .project-row,
  .folder-row,
  .file-row,
  .link-row,
  .link-admin-row,
  .trash-row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 14px 0;
  }

  .folder-row,
  .file-row {
    grid-template-columns: 30px 1fr;
  }

  .folder-row > small,
  .folder-row > .row-actions,
  .file-row > small,
  .file-row > .row-actions {
    grid-column: 2;
  }

  .admin-create-form {
    grid-template-columns: 1fr;
  }

  .admin-table-wrap {
    margin-right: -16px;
    padding-bottom: 6px;
  }

  .row-actions {
    justify-content: flex-start;
  }

  .action-menu {
    position: static;
    width: min(100%, 240px);
    margin-top: 8px;
  }

  .footer-corner {
    right: 16px;
    bottom: 14px;
    font-size: 10px;
  }
}

@media (max-width: 900px) {
  html {
    -webkit-text-size-adjust: 100%;
  }

  button,
  summary,
  a,
  input,
  select {
    touch-action: manipulation;
  }

  .stage {
    min-height: 100dvh;
    overflow-x: hidden;
  }

  .page {
    width: min(760px, calc(100vw - 28px));
    margin-top: 112px;
    margin-bottom: 92px;
  }

  .logo-fixed {
    width: 76px;
  }

  .nav-floating {
    max-width: calc(100vw - 112px);
    gap: 8px;
  }

  .nav-home,
  .nav-logout,
  .nav-search-open,
  .nav-more summary {
    min-height: 32px;
  }

  .nav-home,
  .nav-logout {
    display: inline-flex;
    align-items: center;
  }

  .nav-search-open,
  .nav-more summary {
    width: 32px;
    justify-content: center;
  }

  .nav-more summary {
    justify-items: center;
  }

  .nav-more-panel {
    top: 34px;
    min-width: 112px;
    gap: 0;
    padding: 8px 10px;
    background: rgba(246, 247, 251, 0.92);
    box-shadow: 0 14px 34px rgba(14, 15, 20, 0.12);
  }

  .nav-more-panel a {
    min-height: 32px;
    display: flex;
    align-items: center;
  }

  .subheading {
    margin: 12px 0 28px;
    gap: 14px;
    line-height: 1.35;
  }

  .share-subheading {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }

  .crumbs {
    width: 100%;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    white-space: nowrap;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .crumbs::-webkit-scrollbar {
    display: none;
  }

  .share-actions {
    width: 100%;
    align-items: center;
    gap: 10px 14px;
  }

  .share-actions form,
  .create-project,
  .upload-form {
    min-height: 36px;
  }

  .share-actions button,
  .subheading button,
  .file-pick,
  .copy-action,
  .ghost-action {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
  }

  .density-toggle {
    width: 36px;
    height: 36px;
    justify-content: center;
  }

  input[type="text"],
  input[type="password"],
  input[type="date"],
  input[type="number"],
  input[type="search"],
  select,
  .action-menu button,
  .action-menu select,
  .action-menu input,
  .admin-create-form input,
  .admin-create-form select,
  .admin-users-table input[type="text"],
  .admin-users-table input[type="password"],
  .admin-users-table select {
    font-size: 16px;
  }

  .browser-list {
    margin-top: 16px;
  }

  .browser-row:not(.browser-head-row) {
    min-height: 56px;
  }

  .project-row,
  .link-admin-row,
  .trash-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .folder-row,
  .file-row {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 8px 12px;
    padding: 12px 0;
  }

  .folder-row > small {
    display: none;
  }

  .file-row > small:first-of-type::before {
    content: "Modified ";
    color: var(--quiet);
    font-weight: 700;
  }

  .file-row > small:nth-of-type(2)::before {
    content: "Size ";
    color: var(--quiet);
    font-weight: 700;
  }

  .project-row > small:first-of-type::before {
    content: "Files ";
    color: var(--quiet);
    font-weight: 700;
  }

  .project-row > small:nth-of-type(2)::before {
    content: "Size ";
    color: var(--quiet);
    font-weight: 700;
  }

  .file-main {
    grid-template-columns: 30px minmax(0, 1fr);
    column-gap: 10px;
  }

  .file-main > strong,
  .file-main-text strong {
    white-space: normal;
    overflow-wrap: anywhere;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .file-main > small,
  .file-main-text small,
  .browser-row > small {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .row-check input {
    width: 36px;
    min-height: 44px;
  }

  .row-check input::before {
    width: 10px;
    height: 10px;
  }

  .row-actions {
    width: 100%;
    justify-content: flex-start;
    gap: 8px;
    flex-wrap: wrap;
  }

  .icon-action {
    width: 38px;
    height: 38px;
  }

  .row-actions details[open] {
    width: 100%;
  }

  .row-actions details[open] summary {
    width: 38px;
  }

  .action-menu {
    width: 100%;
    max-width: 100%;
    padding: 10px 0 2px;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .action-menu button,
  .action-menu select,
  .action-menu input {
    min-height: 40px;
  }

  .batch-actions {
    align-items: stretch;
    gap: 10px;
    margin: 0 0 18px;
  }

  .batch-actions span {
    flex-basis: 100%;
  }

  .batch-actions button,
  .batch-actions select {
    min-height: 40px;
  }

  .batch-actions select {
    width: min(100%, 360px);
  }

  .public-list .file-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .public-list .file-row > .file-main {
    grid-column: 1;
  }

  .public-list .file-row > .row-actions {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
  }

  .public-toolbar {
    align-items: flex-start;
  }

  .page-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 14px;
  }

  .image-preview,
  .video-preview,
  .text-preview {
    max-height: 62dvh;
  }

  .pdf-preview {
    min-height: 62dvh;
  }

  .flash,
  code,
  .copy,
  .progress-current,
  .progress-file {
    overflow-wrap: anywhere;
  }
}

@media (max-width: 700px) {
  .admin-table-wrap {
    margin-right: 0;
    overflow: visible;
  }

  .admin-users-table {
    min-width: 0;
    table-layout: auto;
  }

  .admin-users-table colgroup,
  .admin-users-table thead {
    display: none;
  }

  .admin-users-table,
  .admin-users-table tbody,
  .admin-users-table tr,
  .admin-users-table td {
    display: block;
  }

  .admin-users-table tbody {
    display: grid;
    gap: 14px;
  }

  .admin-users-table tr {
    display: grid;
    gap: 10px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .admin-users-table td,
  .admin-users-table th:first-child,
  .admin-users-table td:first-child,
  .admin-users-table th:last-child,
  .admin-users-table td:last-child {
    padding: 0;
  }

  .admin-users-table td {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    white-space: normal;
  }

  .admin-users-table td::before {
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .admin-users-table td:nth-child(1)::before {
    content: "Username";
  }

  .admin-users-table td:nth-child(2)::before {
    content: "Display";
  }

  .admin-users-table td:nth-child(3)::before {
    content: "Role";
  }

  .admin-users-table td:nth-child(4)::before {
    content: "Status";
  }

  .admin-users-table td:nth-child(5)::before {
    content: "Login";
  }

  .admin-users-table td:nth-child(6)::before {
    content: "Password";
  }

  .admin-users-table td:nth-child(7)::before {
    content: "Action";
  }

  .admin-password-input {
    max-width: 100%;
  }

  .admin-action-cell {
    text-align: left;
  }

  .admin-save {
    min-height: 38px;
    justify-self: start;
  }
}

@media (max-width: 520px) {
  .logo-fixed {
    top: 12px;
    left: 12px;
    width: 66px;
  }

  .nav-floating {
    top: 10px;
    right: 10px;
    max-width: calc(100vw - 92px);
    gap: 5px;
  }

  .nav-search-mini {
    gap: 0;
  }

  .nav-search-mini input {
    width: 0;
    min-width: 0;
    opacity: 0;
  }

  .nav-separator {
    display: none;
  }

  .page {
    width: calc(100vw - 20px);
    margin-top: 94px;
    margin-bottom: 84px;
  }

  .share-page h1 {
    font-size: 28px;
    line-height: 1.08;
  }

  .copy {
    font-size: 15px;
    line-height: 1.55;
  }

  .share-actions {
    gap: 8px 12px;
  }

  .share-actions form {
    max-width: 100%;
  }

  .upload-progress {
    flex-basis: 100%;
  }

  .batch-actions button,
  .batch-actions select {
    width: 100%;
  }

  .folder-row,
  .file-row {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .file-icon {
    width: 28px;
    height: 28px;
  }

  .public-list .file-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .public-list .file-row > .row-actions {
    grid-column: 1;
    grid-row: auto;
  }

  .share-search-panel {
    top: 48px;
    width: calc(100vw - 16px);
    max-height: calc(100dvh - 62px);
  }

  .share-search-scopes {
    gap: 12px;
  }

  .share-search-box input {
    font-size: 20px;
  }

  .preview-shell,
  .public-file {
    margin-top: 24px;
  }

  .text-preview {
    padding: 14px;
  }

  .admin-users-table td {
    grid-template-columns: minmax(0, 1fr);
    gap: 5px;
  }

  .footer-corner {
    display: none;
  }
}

@media (max-width: 700px) {
  .login-panel,
  .public-panel {
    max-width: none;
  }

  .login-panel .stack-form,
  .public-panel .stack-form {
    gap: 28px;
    margin-top: 32px;
  }

  .login-panel .stack-form label,
  .public-panel .stack-form label {
    gap: 9px;
  }

  .login-panel .stack-form input[type="text"],
  .login-panel .stack-form input[type="password"],
  .public-panel .stack-form input[type="password"] {
    min-height: 64px;
    padding: 14px 0;
    font-size: 22px;
    line-height: 1.25;
  }

  .login-panel .primary-action,
  .public-panel .primary-action {
    width: 100%;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 900px) {
  .project-row {
    grid-template-columns: minmax(0, 1fr) auto auto 38px;
    gap: 8px 12px;
    padding: 10px 0;
  }

  .project-row > .file-main {
    grid-column: 1;
    grid-row: 1;
  }

  .project-row > small {
    grid-row: 1;
    align-self: center;
    white-space: nowrap;
  }

  .project-row > small:first-of-type {
    grid-column: 2;
  }

  .project-row > small:nth-of-type(2) {
    grid-column: 3;
  }

  .project-row > small:first-of-type::before,
  .project-row > small:nth-of-type(2)::before,
  .file-row > small:first-of-type::before,
  .file-row > small:nth-of-type(2)::before {
    content: "";
  }

  .project-row > .row-actions {
    grid-column: 4;
    grid-row: 1;
  }

  .folder-row {
    grid-template-columns: 36px minmax(0, 1fr) 38px;
    gap: 8px 12px;
    padding: 10px 0;
  }

  .folder-row > .row-check,
  .file-row > .row-check {
    grid-column: 1;
    grid-row: 1;
  }

  .folder-row > .file-main,
  .file-row > .file-main {
    grid-column: 2;
    grid-row: 1;
  }

  .folder-row > .row-actions {
    grid-column: 3;
    grid-row: 1;
  }

  .file-row {
    grid-template-columns: 36px minmax(0, 1fr) auto auto;
    gap: 8px 12px;
    padding: 10px 0;
  }

  .file-row > small:first-of-type {
    display: none;
  }

  .file-row > small:nth-of-type(2) {
    grid-column: 3;
    grid-row: 1;
    align-self: center;
    white-space: nowrap;
  }

  .file-row > .row-actions {
    grid-column: 4;
    grid-row: 1;
  }

  .project-row > .row-actions,
  .folder-row > .row-actions,
  .file-row > .row-actions {
    width: auto;
    align-self: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
  }

  .project-row > .row-actions details[open],
  .folder-row > .row-actions details[open],
  .file-row > .row-actions details[open] {
    width: auto;
  }

  .public-list .file-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .public-list .file-row > .file-main {
    grid-column: 1;
  }

  .public-list .file-row > .row-actions {
    grid-column: 2;
    grid-row: 1;
    width: auto;
  }
}

@media (max-width: 520px) {
  .project-row {
    grid-template-columns: minmax(0, 1fr) auto 38px;
  }

  .project-row > small:nth-of-type(2) {
    display: none;
  }

  .project-row > .row-actions {
    grid-column: 3;
  }

  .file-row {
    grid-template-columns: 34px minmax(0, 1fr) auto;
  }

  .file-row > small:nth-of-type(2) {
    display: none;
  }

  .file-row > .row-actions {
    grid-column: 3;
  }
}

@media (max-width: 900px) {
  .project-row > .row-actions details,
  .folder-row > .row-actions details,
  .file-row > .row-actions details,
  .link-admin-row > .row-actions details,
  .trash-row > .row-actions details {
    position: relative;
  }

  .project-row > .row-actions .action-menu,
  .folder-row > .row-actions .action-menu,
  .file-row > .row-actions .action-menu,
  .link-admin-row > .row-actions .action-menu,
  .trash-row > .row-actions .action-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 80;
    width: min(250px, calc(100vw - 28px));
    max-width: min(250px, calc(100vw - 28px));
    max-height: min(62vh, 380px);
    overflow-y: auto;
    padding: 10px;
    gap: 6px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    overscroll-behavior: contain;
  }

  .project-row > .row-actions .action-menu form,
  .folder-row > .row-actions .action-menu form,
  .file-row > .row-actions .action-menu form,
  .link-admin-row > .row-actions .action-menu form,
  .trash-row > .row-actions .action-menu form {
    gap: 5px;
  }

  .project-row > .row-actions .action-menu button,
  .project-row > .row-actions .action-menu select,
  .project-row > .row-actions .action-menu input,
  .folder-row > .row-actions .action-menu button,
  .folder-row > .row-actions .action-menu select,
  .folder-row > .row-actions .action-menu input,
  .file-row > .row-actions .action-menu button,
  .file-row > .row-actions .action-menu select,
  .file-row > .row-actions .action-menu input,
  .link-admin-row > .row-actions .action-menu button,
  .link-admin-row > .row-actions .action-menu select,
  .link-admin-row > .row-actions .action-menu input,
  .trash-row > .row-actions .action-menu button,
  .trash-row > .row-actions .action-menu select,
  .trash-row > .row-actions .action-menu input {
    min-height: 34px;
  }
}

@media (max-width: 520px) {
  .project-row > .row-actions .action-menu,
  .folder-row > .row-actions .action-menu,
  .file-row > .row-actions .action-menu,
  .link-admin-row > .row-actions .action-menu,
  .trash-row > .row-actions .action-menu {
    width: min(230px, calc(100vw - 20px));
    max-width: min(230px, calc(100vw - 20px));
    max-height: min(58vh, 340px);
  }
}
