:root {
  --bg: #0f1620;
  --panel: #18222f;
  --line: #27384a;
  --fg: #e7eef5;
  --muted: #93a4b5;
  --accent: #00b2de; /* LiferaOmics brand cyan */
  --accent-hover: #0098c0;
  --accent-2: #1f2c3a;
  --error: #ff6b6b;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font: 15px/1.5 system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--fg);
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 22px;
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand .logo { height: 26px; width: auto; display: block; }
.brand-sub {
  font-weight: 500;
  color: var(--muted);
  padding-left: 12px;
  border-left: 1px solid var(--line);
  font-size: 14px;
}
.card-logo { display: block; height: 34px; width: auto; margin: 0 auto 20px; }
.who { display: flex; gap: 12px; align-items: center; color: var(--muted); }
main { max-width: 920px; margin: 0 auto; padding: 28px 22px; }
.card {
  max-width: 380px;
  margin: 8vh auto;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 26px;
}
h1 { font-size: 20px; margin: 0 0 6px; }
.muted { color: var(--muted); }
.error { color: var(--error); }
form { display: flex; flex-direction: column; gap: 14px; margin-top: 16px; }
label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); }
input[type=email], input[type=password] {
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--fg);
  font-size: 15px;
}
button {
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}
button:hover:not(:disabled) { background: var(--accent-hover); }
button.secondary { background: var(--accent-2); border-color: var(--line); color: var(--fg); }
button.secondary:hover:not(:disabled) { border-color: var(--accent); }
button.link { background: none; border: none; color: var(--accent); padding: 0; font-weight: 500; }
button:disabled { opacity: .5; cursor: default; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; }
table { width: 100%; border-collapse: collapse; margin-top: 14px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 500; font-size: 13px; }
td.num, th.num { text-align: right; white-space: nowrap; }
th.chk, td.chk { width: 28px; }
a.dl { color: var(--accent); text-decoration: none; }
a.dl:hover { text-decoration: underline; }
.folders { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin-top: 16px; }
.folder-card {
  display: flex; align-items: center; gap: 12px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 10px;
  padding: 18px 16px; cursor: pointer; text-align: left; color: var(--fg);
  font-weight: 500; transition: border-color .15s, transform .05s;
}
.folder-card:hover { background: var(--panel); border-color: var(--accent); }
.folder-card:active { transform: translateY(1px); }
.folder-icon { font-size: 22px; }
.folder-label { font-size: 15px; }
#files-view h1 .link { font-size: 14px; vertical-align: middle; }
#folder-name { font-weight: 600; }
