:root {
  color-scheme: light;
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-2: #f8fbff;
  --line: #dbe4f1;
  --line-2: #bfcee2;
  --text: #142037;
  --muted: #66758d;
  --navy: #172b67;
  --blue: #1f66cf;
  --soft-blue: #dcecff;
  --folder: #4f86d9;
  --folder-tab: #7aa7e8;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #f6f8fa;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.portalShell {
  width: min(980px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 28px 0 48px;
}

.portalHeader {
  display: flex;
  align-items: end;
  justify-content: space-between;
  min-height: 96px;
  padding: 20px 0 22px;
  border: 1px solid var(--line);
  border-right: 0;
  border-left: 0;
  border-radius: 0;
  background: transparent;
}

.portalHeader.compact {
  min-height: 82px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  color: var(--navy);
  letter-spacing: 0;
}

h1 {
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.02;
}

h2 {
  font-size: 24px;
}

.lead {
  max-width: 620px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.sectionHead {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin: 24px 0 8px;
}

.sectionHead h2 {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.folderList {
  overflow: hidden;
  border: 1px solid #d0d7de;
  border-radius: 6px;
  background: var(--surface);
}

.folderRow {
  display: flex;
  gap: 14px;
  align-items: center;
  min-height: 72px;
  padding: 16px 20px;
  border-bottom: 1px solid #d0d7de;
}

.folderRow:last-child {
  border-bottom: 0;
}

.folderRow:hover {
  background: #f6f8fa;
}

.folderIcon {
  position: relative;
  width: 32px;
  height: 23px;
  border: 0;
  border-radius: 4px;
  background: var(--folder);
}

.folderIcon::before {
  content: "";
  position: absolute;
  left: 2px;
  top: -4px;
  width: 13px;
  height: 7px;
  border: 0;
  border-radius: 4px 4px 0 0;
  background: var(--folder-tab);
}

.folderRow strong {
  display: block;
  color: #1f2328;
  font-size: 20px;
  font-weight: 500;
}

.folderRow small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
}

.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 720;
}

.breadcrumb a {
  color: var(--blue);
}

@media (max-width: 720px) {
  .portalShell {
    width: min(100vw - 24px, 1120px);
    padding: 18px 0 34px;
  }

  .portalHeader,
  .portalHeader.compact {
    min-height: 0;
    padding: 28px 22px;
    background: var(--surface);
  }

  h1 {
    font-size: 34px;
  }
}
