:root {
  --bg:#f6f7fb;
  --panel:#ffffff;
  --text:#0f172a;
  --muted:#64748b;
  --border:#e5e7eb;
  --brand1:#4b2fbf;
  --brand2:#e11d48;
  --header-h:60px;
  --sidebar-w:300px;
  --sidebar-w-collapsed:72px;
  --radius:12px;
  --icon-color:#0f172a;
  --doc-body: #374151;
  --doc-headings: #111827;
  --doc-lead: #4b5563;
  --doc-links: #111827;
  --doc-bold: #111827;
  --doc-counters: #6b7280;
  --doc-bullets: #d1d5db;
  --doc-hr: #e5e7eb;
  --doc-quotes: #111827;
  --doc-quote-borders: #e5e7eb;
  --doc-captions: #6b7280;
  --doc-kbd: #111827;
  --doc-kbd-shadows: 17 24 39;
  --doc-code: #111827;
  --doc-pre-code: #e5e7eb;
  --doc-pre-bg: #1f2937;
  --doc-th-borders: #d1d5db;
  --doc-td-borders: #e5e7eb;
  --font-sans:"Source Sans 3","Source Sans Pro",ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Arial,"Noto Sans","Helvetica Neue",sans-serif;
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  overflow: hidden;
}

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

button, input, textarea, select {
  font-family: inherit;
}

.app {
  height: 100vh;
  display: grid;
  grid-template-rows: var(--header-h) 1fr;
}

.app-body {
  display: grid;
  grid-template-columns: var(--sidebar-w) 1fr;
  height: calc(100vh - var(--header-h));
  min-height: 0;
}

body.sidebar-animating .app-body {
  transition: grid-template-columns 0.3s ease-in-out;
}

.app-header {
  height: var(--header-h);
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--panel);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 24px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.18);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 1px rgba(0, 0, 0, 0.14), 0 2px 1px -1px rgba(0, 0, 0, 0.2);
}

.icon-btn {
  height: 40px;
  width: 40px;
  background: var(--panel);
  cursor: pointer;
  box-shadow: none;
  border: 1px solid var(--border);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--icon-color);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.icon-btn:hover {
  background-color: var(--bg);
}
.icon-btn svg {
  color: var(--icon-color);
}

.icon-btn--flat {
  width: auto;
  height: auto;
  background: transparent;
  box-shadow: none;
}

.menu-toggle {
  flex: 0 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 180px;
  flex: 1;
}

.brand-logo {
  height: 28px;
  width: auto;
  display: block;
}

.brand-divider {
  width: 1px;
  height: 28px;
  background: #A8A8A8;
  display: inline-block;
}

.brand-text {
  font-weight: 400;
  color: #333333;
  font-size: 20px;
  line-height: 20px;
}

.header-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

.search-container {
  display: flex;
  align-items: center;
}

.search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 12px;
  color: var(--icon-color);
  flex-shrink: 0;
  pointer-events: none;
}

.search {
  height: 40px;
  width: 220px;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0 12px 0 40px;
  outline: none;
  background: var(--panel);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  transition: border-color 0.2s ease;
}
.search::placeholder {
  color: rgba(0, 0, 0, 0.6);
}
.search:focus {
  border-color: var(--brand2);
}

.sidebar {
  background: var(--panel);
  border-right: 1px solid var(--border);
  border-right: 1px solid rgba(15, 23, 42, 0.18);
  box-shadow: 0 4px 6px rgba(15, 23, 42, 0.15);
  padding: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  z-index: 1;
}

body.sidebar-animating .sidebar {
  transition: width 0.3s ease-in-out;
}

.sidebar {
  position: sticky;
  top: var(--header-h);
  height: calc(100vh - var(--header-h));
}

.side-nav {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
}

.side-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 19px;
  border-radius: 0;
  color: #111827;
  position: relative;
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
  background: transparent;
  transition: background 0.2s ease;
}

body.sidebar-animating .side-link {
  transition: gap 0.2s ease-in-out, background 0.2s ease;
}

.side-link:hover {
  background: #E6E3F3;
}

.side-link.is-active {
  background: #E6E3F3;
}

.side-link.is-active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: linear-gradient(180deg, #E31937 0%, #A82465 60%, #5236AB 100%);
}

.side-ico {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 34px;
}

.side-ico svg {
  width: 26px;
  height: 26px;
  display: block;
  color: var(--icon-color);
  stroke: currentColor;
}

.side-text {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.1;
  white-space: nowrap;
  opacity: 1;
  max-width: 300px;
}

body.sidebar-animating .side-text {
  transition: opacity 0.2s ease-in-out, max-width 0.2s ease-in-out;
}

.side-footer {
  margin-top: auto;
  padding: 0;
  border-top: 1px solid rgba(15, 23, 42, 0.1);
}

.side-footer .side-link {
  border-bottom: 0;
}

.page-content {
  padding: 32px 48px 32px 48px;
  min-height: 0;
  overflow: auto;
}

html.theme-dark {
  --bg:#0b1020;
  --panel:#0f172a;
  --text:#e5e7eb;
  --muted:#94a3b8;
  --border:rgba(255,255,255,.12);
  --icon-color:#e5e7eb;
  --doc-body: #d1d5db;
  --doc-headings: #fff;
  --doc-lead: #9ca3af;
  --doc-links: #fff;
  --doc-bold: #fff;
  --doc-counters: #9ca3af;
  --doc-bullets: #4b5563;
  --doc-hr: #374151;
  --doc-quotes: #f3f4f6;
  --doc-quote-borders: #374151;
  --doc-captions: #9ca3af;
  --doc-kbd: #fff;
  --doc-kbd-shadows: 255 255 255;
  --doc-code: #fff;
  --doc-pre-code: #d1d5db;
  --doc-pre-bg: rgb(0 0 0 / 50%);
  --doc-th-borders: #4b5563;
  --doc-td-borders: #374151;
}

html.theme-dark .icon-btn {
  background: var(--panel);
  color: var(--text);
  border-color: var(--border);
}
html.theme-dark .icon-btn:hover {
  background-color: rgba(255, 255, 255, 0.06);
}

html.theme-dark .search {
  background: var(--panel);
  color: var(--text);
  border-color: var(--border);
}
html.theme-dark .search::placeholder {
  color: rgba(255, 255, 255, 0.6);
}
html.theme-dark .search:focus {
  border-color: var(--brand2);
}

html.theme-dark .brand-text {
  color: var(--text);
}

html.theme-dark .brand-divider {
  background: var(--border);
}

html.theme-dark .search-icon {
  color: var(--icon-color);
}

body.sidebar-collapsed .app-body {
  grid-template-columns: var(--sidebar-w-collapsed) 1fr;
}

body.sidebar-collapsed .side-text {
  opacity: 0;
  max-width: 0;
  width: 0;
  padding: 0;
  margin: 0;
}

body.sidebar-collapsed .side-link {
  gap: 0;
}

html.theme-dark .side-link {
  color: var(--text);
}

html.theme-dark .side-ico svg {
  color: var(--text);
  stroke: var(--text);
}

html.theme-dark .side-link:hover {
  background: rgba(255, 255, 255, 0.06);
}

html.theme-dark .side-link.is-active {
  background: rgba(255, 255, 255, 0.08);
}

/*# sourceMappingURL=main.css.map */