:root {
  color-scheme: light;
  --navy: #25282c;
  --navy-dark: #17191c;
  --blue: #2878c7;
  --ink: #24272b;
  --muted: #737980;
  --line: #e2e5e8;
  --line-soft: #eceff1;
  --surface: #ffffff;
  --surface-alt: #ffffff;
  --focus: #c8dff2;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--surface-alt);
  color: var(--ink);
  font: 15px/1.55 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", sans-serif;
}

a {
  color: inherit;
}

.topbar {
  border-bottom: 1px solid var(--line);
  background: #ffffff;
  color: var(--ink);
}

.topbar-inner,
.page-shell {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar-inner {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

.brand svg {
  color: var(--blue);
}

.brand svg,
.home-link svg,
.breadcrumb svg,
.item-icon svg,
.open-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.home-link {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 650;
  text-decoration: none;
}

.home-link:hover,
.home-link:focus-visible {
  color: var(--ink);
}

.page-shell {
  padding: 28px 0 48px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 0.84rem;
}

.breadcrumb a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.breadcrumb span {
  white-space: nowrap;
}

.breadcrumb svg {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  color: #9aa7b1;
}

.page-heading {
  margin-bottom: 24px;
}

.page-heading h1 {
  margin: 0;
  color: var(--navy-dark);
  font-size: 1.55rem;
  line-height: 1.2;
}

.page-heading p {
  margin: 4px 0 0;
  color: var(--muted);
}

.browser {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.browser-head,
.archive-item {
  display: grid;
  grid-template-columns: minmax(260px, 1.6fr) minmax(180px, 1fr) 120px 30px;
  gap: 18px;
  align-items: center;
}

.browser-head {
  min-height: 38px;
  padding: 7px 4px;
  border-bottom: 1px solid var(--line);
  background: #ffffff;
  color: #858b91;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: uppercase;
}

.archive-item {
  min-height: 64px;
  padding: 10px 4px;
  border-bottom: 1px solid var(--line-soft);
}

.archive-item:last-child {
  border-bottom: 0;
}

.archive-item:hover {
  background: #fafbfc;
}

.item-name {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
}

.item-icon {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  place-items: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--blue);
}

.item-icon.folder {
  background: transparent;
  color: #3b86ca;
}

.item-icon.web {
  color: var(--blue);
}

.item-icon.file {
  color: #687680;
}

.item-icon svg {
  width: 22px;
  height: 22px;
}

.item-copy {
  min-width: 0;
}

.item-copy a {
  color: var(--navy-dark);
  font-weight: 650;
  text-decoration: none;
}

.item-copy a:hover,
.item-copy a:focus-visible,
.text-link:hover,
.text-link:focus-visible {
  color: var(--blue);
}

.item-copy small {
  display: block;
  margin-top: 2px;
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: 0.8rem;
}

.item-type,
.item-date {
  color: var(--muted);
  font-size: 0.84rem;
}

.open-icon {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: #82909b;
}

.open-icon svg {
  width: 16px;
  height: 16px;
}

.archive-summary {
  margin: 10px 2px 0;
  color: var(--muted);
  font-size: 0.82rem;
}

@media (max-width: 720px) {
  .topbar-inner,
  .page-shell {
    width: min(100% - 28px, 980px);
  }

  .browser-head {
    display: none;
  }

  .archive-item {
    grid-template-columns: minmax(0, 1fr) 28px;
    gap: 10px;
  }

  .item-type,
  .item-date {
    display: none;
  }
}
