/* Three divider tabs share one continuous project file surface. */
.project-folder-information {
  --folder-surface: #122027;
  --folder-tab: #17272e;
  --folder-line: #6e9b9e45;
  --folder-ink: #e8f5f3;
  --folder-muted: #9db5bd;
  --folder-accent: #7cdac7;
  --folder-tint: #63d0b712;
  --folder-shadow: #00000033;
}
:root[data-theme=light] .project-folder-information {
  --folder-surface: #fcfefe;
  --folder-tab: #e9f1f3;
  --folder-line: #8aafb847;
  --folder-ink: #234750;
  --folder-muted: #657e89;
  --folder-accent: #117e70;
  --folder-tint: #17a68e0c;
  --folder-shadow: #29556610;
}
.project-information .project-folder[data-slot=tabs] {
  isolation: isolate;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.project-information .project-folder-tabs.detail-tabs {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  width: min(100%, 720px) !important;
  height: auto !important;
  min-height: 76px;
  padding: 0 !important;
  gap: 6px !important;
  border: 0;
  background: transparent !important;
  border-radius: 0 !important;
}
.project-information .project-folder-tabs [data-slot=tabs-trigger] {
  position: relative;
  min-width: 0;
  height: 100%;
  min-height: 76px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding: 17px 14px;
  border: 1px solid var(--folder-line);
  border-bottom: 0;
  border-radius: 19px 19px 0 0 !important;
  background: var(--folder-tab) !important;
  box-shadow: inset 0 1px 0 #ffffff17;
  color: var(--folder-muted) !important;
  font-size: 15px !important;
  font-weight: 500;
  line-height: 1.7;
  white-space: normal;
  transition: color .2s, background-color .2s, box-shadow .2s;
}
.project-information .project-folder-tabs [data-slot=tabs-trigger]::after {
  content: none;
}
.project-information .project-folder-tabs [data-slot=tabs-trigger]::before {
  content: '';
  position: absolute;
  top: 0;
  inset-inline: 24px;
  height: 2px;
  border-radius: 10px;
  background: var(--folder-accent);
  opacity: 0;
  transition: opacity .2s;
}
.project-information .project-folder-tabs [data-slot=tabs-trigger]:hover {
  color: var(--folder-ink) !important;
  background: color-mix(in srgb, var(--folder-tab) 70%, var(--folder-surface)) !important;
}
.project-information .project-folder-tabs [data-slot=tabs-trigger][data-active] {
  z-index: 2;
  background: var(--folder-surface) !important;
  color: var(--folder-accent) !important;
  border: 1px solid var(--folder-line);
  border-bottom: 0;
  box-shadow: inset 0 1px 0 #ffffff2b, 0 -5px 15px -10px var(--folder-shadow);
  font-weight: 650;
}
.project-information .project-folder-tabs [data-slot=tabs-trigger][data-active]::before {
  opacity: 1;
}
.project-information .project-folder-tabs [data-slot=tabs-trigger][data-active]::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  top: auto;
  bottom: -2px;
  height: 3px;
  background: var(--folder-surface);
  opacity: 1;
}
.project-information .project-folder-tabs [data-slot=tabs-trigger]:focus-visible {
  outline: 2px solid var(--folder-accent);
  outline-offset: -6px;
}
.project-folder-tab-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  border: 1px solid transparent;
  border-radius: 11px;
  transition: background-color .2s, border-color .2s;
}
.project-folder-tabs [data-active] .project-folder-tab-icon {
  background: var(--folder-tint);
  border-color: color-mix(in srgb, var(--folder-accent) 18%, transparent);
}
.project-information .project-folder-panel[data-slot=tabs-content] {
  position: relative;
  min-width: 0;
  min-height: 380px;
  margin: 0;
  padding: clamp(24px, 3vw, 38px);
  border: 1px solid var(--folder-line);
  border-radius: 0 0 26px 26px;
  border-start-end-radius: 20px;
  background: var(--folder-surface);
  box-shadow: 0 18px 45px -16px var(--folder-shadow), inset 0 1px 0 #ffffff10;
  color: var(--folder-ink);
  overflow-wrap: anywhere;
}
.project-information .project-folder-panel h2 {
  margin: 0 0 18px;
  font-size: clamp(23px, 2.2vw, 29px);
  line-height: 1.65;
  font-weight: 600;
  letter-spacing: -.5px;
  color: var(--folder-ink);
}
.project-information .project-folder-panel p {
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 2.15;
  color: var(--folder-muted);
}
.project-information .project-folder-panel p:last-child {
  margin-bottom: 0;
}
.project-folder-panel .info-callout {
  margin-top: 24px;
  padding: 16px 18px;
  border-color: color-mix(in srgb, var(--folder-accent) 18%, transparent);
  background: var(--folder-tint);
  color: var(--folder-accent);
  border-radius: 15px;
}
.project-information .project-folder-panel .info-callout p {
  font-size: 14px;
}
.project-folder-panel .document-link {
  border-color: var(--folder-line);
  color: var(--folder-ink);
  background: var(--folder-tint);
  border-radius: 14px;
  transition: border-color .2s, background-color .2s;
}
.project-folder-panel .document-link:hover {
  border-color: var(--folder-accent);
  background: color-mix(in srgb, var(--folder-accent) 8%, transparent);
}
.project-folder-panel .document-link>svg {
  color: var(--folder-accent);
}
@media (max-width: 760px) {
  .project-information .project-folder-tabs.detail-tabs {
    min-height: 72px;
    gap: 4px !important;
  }
  .project-information .project-folder-tabs [data-slot=tabs-trigger] {
    flex-direction: column;
    min-height: 72px;
    gap: 5px;
    padding: 12px 5px 10px;
    border-radius: 14px 14px 0 0 !important;
    font-size: 13px !important;
    line-height: 1.5;
  }
  .project-folder-tab-icon {
    width: 25px;
    height: 25px;
    border-radius: 8px;
  }
  .project-information .project-folder-tabs [data-slot=tabs-trigger]::before {
    inset-inline: 18px;
  }
  .project-information .project-folder-panel[data-slot=tabs-content] {
    min-height: 340px;
    padding: 24px 20px;
    border-radius: 0 0 20px 20px;
  }
  .project-information .project-folder-panel p {
    font-size: 15px;
    line-height: 2;
  }
  .project-folder-panel .info-callout {
    padding: 14px;
    gap: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .project-information .project-folder-tabs [data-slot=tabs-trigger],
  .project-information .project-folder-tabs [data-slot=tabs-trigger]::before,
  .project-folder-tab-icon,
  .project-folder-panel .document-link {
    transition: none;
  }
}
