:root {
  --paper: #f8f7f5;
  --surface: #ffffff;
  --surface-soft: rgba(255, 255, 255, 0.5);
  --paper-hover: #f1f0ed;
  --ink: #0d1c2b;
  --ink-72: rgba(13, 28, 43, 0.72);
  --ink-52: rgba(13, 28, 43, 0.52);
  --ink-36: rgba(13, 28, 43, 0.36);
  --line: #e4e2de;
  --line-strong: #c8c5c0;
  --accent: #1b67ac;
  --danger: #a32f1d;
  --success: #25684f;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  color-scheme: light;
}

@font-face {
  font-family: "Switzer Variable";
  src: url("/public/fonts/Switzer-Variable.ttf") format("truetype-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Switzer Variable", Arial, Helvetica, sans-serif;
  letter-spacing: 0;
  line-height: 1.5;
}

button,
input,
textarea,
select {
  border-radius: 0;
  font: inherit;
  letter-spacing: 0;
}

button {
  min-height: 34px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  padding: 0 13px;
  cursor: pointer;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease, transform 140ms ease;
}

button.secondary,
button.subtle {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}

button.subtle {
  min-height: 30px;
  padding: 0 9px;
}

button.danger,
.danger {
  color: var(--danger);
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

button:hover:not(:disabled),
button:focus-visible {
  background: var(--paper-hover);
  color: var(--ink);
  outline: 0;
}

button:active:not(:disabled) {
  transform: translateY(1px);
}

input,
textarea,
select {
  width: 100%;
  min-height: 36px;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  padding: 6px 0 8px;
  outline: none;
}

textarea {
  min-height: 88px;
  resize: vertical;
  border: 1px solid var(--line);
  padding: 10px;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--accent);
}

.shell {
  display: grid;
  min-height: 100vh;
  grid-template-columns: 232px minmax(0, 1fr);
}

.guest-shell {
  grid-template-columns: minmax(0, 1fr);
}

.guest-shell:has(.sidebar) {
  grid-template-columns: 248px minmax(0, 1fr);
}

.sidebar {
  border-right: 1px solid var(--line);
  padding: 24px 22px;
}

.brand {
  display: flex;
  align-items: center;
  margin-bottom: 34px;
}

.brand img {
  display: block;
  width: min(188px, 100%);
  height: auto;
}

.nav-section,
.eyebrow {
  color: var(--ink-52);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav-section {
  margin: 0 0 12px;
}

.room-list {
  display: grid;
}

.room-row {
  width: 100%;
  min-height: 64px;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  text-align: left;
  padding: 13px 0;
}

.room-row:last-child {
  border-bottom: 1px solid var(--line);
}

.room-row.active,
.room-row:hover {
  background: transparent;
  color: var(--accent);
}

.room-row strong,
.truncate {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.room-row small,
.muted {
  color: var(--ink-52);
  font-family: var(--mono);
  font-size: 12px;
}

.main {
  min-width: 0;
  padding: 26px clamp(20px, 3.6vw, 42px) 40px;
}

.guest-shell .main {
  width: min(100%, 1200px);
  margin: 0 auto;
  padding: clamp(24px, 3vw, 44px) clamp(18px, 4vw, 56px) 52px;
}

.guest-shell:has(.sidebar) .main {
  width: 100%;
  margin: 0;
}

.topbar,
.section-head,
.row-actions,
.form-row,
.toolbar,
.stats,
.pane-head,
.batch-bar,
.preview-head,
.preview-foot {
  display: flex;
  align-items: center;
  gap: 10px;
}

.topbar {
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
  padding-bottom: 24px;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  font-weight: 560;
  letter-spacing: 0;
}

h1 {
  margin-top: 8px;
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1;
}

h2 {
  font-size: 20px;
  line-height: 1.2;
}

h3 {
  font-size: 15px;
}

p {
  margin: 0;
  color: var(--ink-72);
  line-height: 1.65;
}

.grid {
  display: grid;
  gap: 18px;
}

.two {
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
}

.panel {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: transparent;
}

.panel-body {
  padding: 18px 0;
}

.section-head {
  justify-content: space-between;
  min-height: 54px;
  border-bottom: 1px solid var(--line);
}

.field-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

label {
  display: grid;
  gap: 6px;
  color: var(--ink-52);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.table-wrap {
  overflow: auto;
}

table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 13px 12px;
  text-align: left;
  vertical-align: middle;
}

th {
  color: var(--ink-52);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

td {
  color: var(--ink);
  font-size: 13px;
}

.select-col {
  width: 42px;
}

.select-col input {
  width: 15px;
  min-height: 15px;
  accent-color: var(--accent);
}

.file-name {
  min-height: auto;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-weight: 560;
  padding: 0;
  text-align: left;
}

.file-name:hover,
.file-name:focus-visible {
  background: transparent;
  color: var(--accent);
}

td small {
  display: block;
  margin-top: 3px;
  color: var(--ink-52);
  font-family: var(--mono);
  font-size: 11px;
}

.status {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border: 1px solid var(--line);
  padding: 0 9px;
  color: var(--ink-52);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.status.active {
  border-color: rgba(37, 104, 79, 0.28);
  color: var(--success);
}

.status.pending {
  border-color: rgba(27, 103, 172, 0.32);
  color: var(--accent);
}

.notice {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 12px;
  margin-bottom: 22px;
  padding: 13px 0;
}

.notice.error {
  color: var(--danger);
}

.notice.success {
  color: var(--success);
}

.auth-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
}

.auth-panel {
  width: min(100%, 520px);
}

.auth-panel .brand {
  justify-content: center;
}

.auth-panel h1,
.auth-panel p {
  text-align: center;
}

.auth-panel p {
  margin: 10px 0 24px;
}

.stack {
  display: grid;
  gap: 16px;
}

.stats {
  flex-wrap: wrap;
  margin-top: 20px;
}

.stat {
  min-width: 126px;
  border-top: 1px solid var(--line);
  padding: 12px 0;
}

.stat strong {
  display: block;
  font-family: var(--mono);
  font-size: 18px;
}

.stat span {
  color: var(--ink-52);
  font-size: 12px;
}

.empty {
  padding: 28px 0;
  color: var(--ink-52);
  text-align: center;
}

.empty.compact {
  padding: 14px 0;
  text-align: left;
}

.empty.compact-left {
  border-top: 1px solid var(--line);
  color: var(--ink-52);
  font-family: var(--mono);
  font-size: 12px;
  padding: 16px 0 0;
  text-align: left;
}

.form-row {
  justify-content: flex-end;
  margin-top: 12px;
}

.toolbar {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.toolbar input {
  width: min(280px, 100%);
}

.guest-topbar {
  align-items: flex-start;
  gap: 24px;
  margin-bottom: clamp(26px, 3.4vw, 44px);
}

.guest-title {
  display: flex;
  align-items: flex-start;
  gap: clamp(20px, 4vw, 44px);
  min-width: 0;
}

.guest-title > div {
  min-width: 0;
}

.guest-title .brand {
  flex: 0 0 auto;
  margin: 0;
  padding-top: 2px;
}

.guest-title .brand img {
  width: clamp(136px, 15vw, 176px);
}

.guest-title h1 {
  max-width: min(760px, 58vw);
  overflow-wrap: anywhere;
}

.guest-room-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.38fr);
  gap: clamp(26px, 3.6vw, 52px);
  align-items: end;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(26px, 3.2vw, 42px);
  padding: clamp(28px, 3.4vw, 44px) 0;
}

.guest-room-hero h2 {
  margin: 8px 0 0;
  max-width: 760px;
  color: var(--ink);
  font-size: clamp(30px, 3.2vw, 44px);
  font-weight: 560;
  line-height: 1;
}

.guest-room-hero p {
  max-width: 700px;
  color: var(--ink-72);
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.65;
  margin-top: 16px;
}

.guest-folder-path {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--ink-52);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  margin-top: 24px;
  min-height: 34px;
  overflow: hidden;
  padding: 0 2px;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.guest-metrics {
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 0;
}

.guest-metrics span {
  display: grid;
  gap: 4px;
  min-height: 82px;
  align-content: center;
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
  padding: 14px;
}

.guest-metrics strong {
  color: var(--ink);
  font-family: var(--mono);
  font-size: clamp(13px, 1.05vw, 16px);
  font-weight: 650;
  line-height: 1.1;
  overflow-wrap: anywhere;
  white-space: nowrap;
}

.guest-metrics small {
  color: var(--ink-52);
  font-size: 12px;
}

.room-workspace {
  display: grid;
  grid-template-columns: minmax(220px, 268px) minmax(0, 1fr);
  gap: clamp(28px, 3.5vw, 48px);
  align-items: start;
  min-height: calc(100vh - 270px);
}

.folder-pane,
.file-pane {
  min-width: 0;
  border-top: 1px solid var(--line);
}

.folder-pane {
  position: sticky;
  top: 18px;
}

.pane-head {
  justify-content: space-between;
  min-height: 54px;
  border-bottom: 1px solid var(--line);
}

.pane-head strong {
  display: block;
  margin-top: 2px;
  font-size: 18px;
  font-weight: 560;
}

.pane-head small {
  display: block;
  max-width: min(100%, 520px);
  overflow: hidden;
  color: var(--ink-52);
  font-family: var(--mono);
  font-size: 11px;
  margin-top: 5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.folder-tree {
  display: grid;
  gap: 0;
  min-width: 0;
  padding-top: 8px;
}

.folder-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-width: 0;
  min-height: 42px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-left: 2px solid transparent;
  background: transparent;
  color: var(--ink-72);
  padding: 0 10px 0 8px;
  text-align: left;
  transition: background-color 120ms ease, border-color 120ms ease, color 120ms ease;
}

.folder-item.depth-1 {
  padding-left: 24px;
}

.folder-item.depth-2 {
  padding-left: 40px;
}

.folder-item.depth-3 {
  padding-left: 56px;
}

.folder-item.depth-4 {
  padding-left: 72px;
}

.folder-item.depth-5 {
  padding-left: 88px;
}

.folder-item.depth-6 {
  padding-left: 104px;
}

.folder-item span {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.folder-item:hover,
.folder-item:focus-visible {
  background: transparent;
  border-left-color: var(--line-strong);
  color: var(--ink);
}

.folder-item.active {
  border-left-color: var(--accent);
  background: transparent;
  color: var(--ink);
}

.folder-item small {
  flex: 0 0 auto;
  color: var(--ink-36);
  font-family: var(--mono);
}

.batch-bar {
  position: sticky;
  top: 0;
  z-index: 3;
  justify-content: flex-end;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 88%, var(--surface) 12%);
  margin: 0 0 18px;
  padding: 14px 0;
}

.batch-bar span {
  display: grid;
  gap: 2px;
  margin-right: auto;
  color: var(--ink-52);
  font-family: var(--mono);
  font-size: 12px;
}

.batch-bar span strong {
  color: var(--ink);
  font-size: 12px;
}

.batch-bar span small {
  color: var(--ink-52);
  font-size: 11px;
}

.batch-bar.empty-selection button {
  opacity: 0.42;
}

.explorer-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 46px;
  border-bottom: 1px solid var(--line);
}

.folder-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px;
  min-width: 0;
}

.folder-crumbs button {
  min-height: 30px;
  border: 0;
  background: transparent;
  color: var(--ink-52);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 720;
  letter-spacing: 0.08em;
  padding: 0 5px 0 0;
  text-transform: uppercase;
}

.folder-crumbs button.active {
  color: var(--ink);
}

.folder-crumbs button:hover,
.folder-crumbs button:focus-visible {
  background: transparent;
  color: var(--accent);
}

.folder-crumbs button span {
  color: var(--ink-36);
  margin-left: 7px;
}

.folder-up {
  flex: 0 0 auto;
  min-height: 30px;
}

.folder-card-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  margin-bottom: 22px;
}

.folder-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 78px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  padding: 14px 0;
  text-align: left;
}

.folder-card:hover,
.folder-card:focus-visible {
  background: transparent;
  color: var(--ink);
  outline: 0;
}

.folder-glyph {
  position: relative;
  display: block;
  width: 34px;
  height: 25px;
  border: 1px solid var(--line-strong);
  background: color-mix(in srgb, var(--accent) 7%, transparent);
}

.folder-glyph::before {
  content: "";
  position: absolute;
  left: -1px;
  top: -8px;
  width: 16px;
  height: 8px;
  border: 1px solid var(--line-strong);
  border-bottom: 0;
  background: color-mix(in srgb, var(--accent) 7%, var(--paper));
}

.folder-card .folder-glyph {
  display: block;
}

.folder-card span:not(.folder-glyph) {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.folder-card strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 16px;
  font-weight: 620;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.folder-card small {
  overflow: hidden;
  color: var(--ink-52);
  font-family: var(--mono);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.folder-card em {
  align-self: flex-start;
  border: 1px solid var(--line);
  color: var(--ink-52);
  flex: 0 0 auto;
  font-family: var(--mono);
  font-size: 10px;
  font-style: normal;
  font-weight: 760;
  letter-spacing: 0.08em;
  padding: 6px 8px;
  text-transform: uppercase;
  white-space: nowrap;
}

.file-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.file-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-52);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.select-all {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink-52);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.select-all input,
.file-check input {
  width: 15px;
  min-height: 15px;
  accent-color: var(--accent);
}

.file-card {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) minmax(112px, auto) minmax(136px, auto);
  gap: 12px 18px;
  align-items: center;
  min-height: 82px;
  border-bottom: 1px solid var(--line);
  border-left: 1px solid transparent;
  background: transparent;
  padding: 14px 0 14px 12px;
  transition: background-color 120ms ease, border-color 120ms ease, color 120ms ease;
}

.file-card:hover,
.file-card.open,
.file-card.selected {
  background: var(--surface-soft);
}

.file-card.open,
.file-card.selected {
  border-left-color: var(--accent);
  border-bottom-color: var(--line-strong);
}

.file-check {
  display: grid;
  place-items: center;
  min-height: 28px;
}

.file-open {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-width: 0;
  min-height: 48px;
  border: 0;
  background: transparent;
  color: var(--ink);
  padding: 0;
  text-align: left;
}

.file-open:hover:not(:disabled),
.file-open:focus-visible {
  background: transparent;
  color: var(--ink);
}

.file-open:disabled {
  opacity: 1;
}

.file-type {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--ink-52);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.file-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.file-copy strong {
  overflow: hidden;
  color: var(--ink);
  font-size: clamp(14px, 1.08vw, 16px);
  font-weight: 620;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-copy small,
.file-data {
  color: var(--ink-52);
  font-family: var(--mono);
  font-size: 11px;
}

.file-data {
  display: grid;
  justify-items: end;
  gap: 3px;
  white-space: nowrap;
}

.file-actions {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}

.file-actions button.subtle {
  min-height: 32px;
  border-color: var(--line);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  padding: 0 10px;
  text-transform: uppercase;
}

.file-actions button.subtle:hover:not(:disabled),
.file-actions button.subtle:focus-visible {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--ink);
}

.file-card.open .file-type,
.file-card.selected .file-type,
.file-open:hover .file-type {
  border-color: var(--line-strong);
  color: var(--accent);
}

.preview-backdrop {
  position: fixed;
  inset: 0;
  z-index: 20;
  background: rgba(13, 28, 43, 0.1);
}

.preview-panel {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 21;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: min(54vw, 740px);
  height: 100dvh;
  border-left: 1px solid var(--line-strong);
  background: var(--paper);
  box-shadow: -18px 0 48px rgba(13, 28, 43, 0.07);
}

.preview-head,
.preview-foot {
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  gap: 18px;
  padding: 20px 24px;
}

.preview-foot {
  border-top: 1px solid var(--line);
  border-bottom: 0;
}

.preview-head strong {
  display: block;
  margin-top: 3px;
  max-width: min(720px, 64vw);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.preview-head small {
  display: block;
  margin-top: 5px;
  color: var(--ink-52);
  font-family: var(--mono);
  font-size: 11px;
}

.preview-body {
  min-height: 0;
  overflow: auto;
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.preview-frame,
.preview-image {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.preview-image {
  object-fit: contain;
  padding: 22px;
}

.preview-text {
  min-height: 100%;
  margin: 0;
  max-width: 84ch;
  padding: 28px;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
}

.preview-state {
  display: grid;
  align-content: center;
  justify-items: start;
  min-height: 100%;
  padding: 24px;
  color: var(--ink-52);
  font-family: var(--mono);
  font-size: 12px;
}

.preview-state strong {
  margin-bottom: 6px;
  color: var(--ink);
  font-family: "Switzer Variable", Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: 560;
}

.preview-state.error strong {
  color: var(--danger);
}

@media (max-width: 980px) {
  .shell,
  .guest-shell:has(.sidebar) {
    grid-template-columns: 1fr;
  }

  .sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .two,
  .field-grid,
  .room-workspace {
    grid-template-columns: 1fr;
  }

  .main {
    padding: 20px 16px 28px;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .guest-room-hero {
    grid-template-columns: 1fr;
  }

  .guest-title {
    flex-direction: column;
    gap: 18px;
  }

  .guest-room-hero {
    align-items: start;
  }

  .folder-pane {
    position: static;
  }

  .guest-metrics {
    width: 100%;
    min-width: 0;
  }

  .toolbar {
    justify-content: flex-start;
  }

  .preview-panel {
    width: 100vw;
  }
}

@media (max-width: 700px) {
  .guest-metrics {
    grid-template-columns: 1fr;
  }

  .file-card {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 10px 12px;
  }

  .file-open {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .file-type {
    width: 40px;
    height: 40px;
  }

  .file-data,
  .file-actions {
    grid-column: 2;
    justify-items: start;
    justify-content: flex-start;
  }

  .batch-bar {
    align-items: stretch;
    display: grid;
    grid-template-columns: 1fr;
  }

  .batch-bar button {
    width: 100%;
  }
}
