@import "../Bootstrap/bootstrap.css";
.bg-primary {
  background: var(--primary, #0d6a87);
}

.bg-secondary {
  background: var(--secondary, #F39200);
}

.bg-success {
  background: var(--success, #00C278);
}

.bg-danger {
  background: var(--danger, #FF5E5E);
}

.bg-info {
  background: var(--info, #68A0D6);
}

.bg-warning {
  background: var(--warning, #feb05b);
}

.bg-light {
  background: var(--light, #cccccc);
}

.bg-dark {
  background: var(--dark, #212B36);
}

.text-primary {
  color: var(--primary, #0d6a87);
}

.text-secondary {
  color: var(--secondary, #F39200);
}

.text-success {
  color: var(--success, #00C278);
}

.text-danger {
  color: var(--danger, #FF5E5E);
}

.text-info {
  color: var(--info, #68A0D6);
}

.text-warning {
  color: var(--warning, #feb05b);
}

.text-light {
  color: var(--light, #cccccc);
}

.text-dark {
  color: var(--dark, #212B36);
}

body:has(.modal-backdrop.show) {
  overflow: hidden;
}

.dialog-host {
  justify-content: center;
  align-items: center;
  z-index: 1100;
  width: 100%;
  position: fixed;
  inset: 0;
  overflow-y: auto;
  padding: 2rem 0.5rem;
  display: none;
  height: 100%;
}
.dialog-host[data-state=open] {
  display: flex;
}
.dialog-host .login-container, .dialog-host .register-container {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.dialog-content-wrapper {
  margin: auto;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(6px);
  pointer-events: auto;
  opacity: 0;
  animation: fadeIn 0.15s ease forwards;
}

.modal-backdrop.is-closing {
  animation: fadeOut 0.15s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
.text-primary {
  color: var(--secondary, #F39200) !important;
}

.layout {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: sans-serif;
  background: #f5f5f5;
  color: #1f2937;
}
.layout__header {
  height: 72px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.96) 60%);
  backdrop-filter: blur(6px);
  z-index: 20;
}
.layout__body {
  flex: 1;
  display: flex;
  justify-content: center;
  overflow: hidden;
  max-height: calc(100dvh - 72px);
  background: #fff;
}
.layout__inner {
  flex: 1;
  display: flex;
}
.layout__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  scroll-behavior: smooth;
}

.header__nav {
  display: flex;
  gap: 1rem;
}
.header__nav a {
  color: var(--secondary, #F39200);
  text-decoration: none;
}
.header__nav a:hover {
  text-decoration: underline;
}

.header {
  display: flex;
  flex: 1;
  justify-content: space-between;
  width: 100%;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
.header__left {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.header__left .logo {
  display: flex;
  align-items: center;
}
.header__left .logo img {
  height: 32px;
  margin-right: 0.5rem;
}
.header__right {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.header__badges {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1rem;
}
.header__menu-button {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #111827;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.header__menu-button:hover {
  background: #f3f4f6;
  color: var(--secondary, #F39200);
  border-color: rgba(var(--secondary, #F39200), 0.4);
}
.header__menu-button:focus-visible {
  outline: 2px solid rgba(var(--secondary, #F39200), 0.6);
  outline-offset: 2px;
}

.documentation-label {
  display: none;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--secondary, #F39200);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
@media (min-width: 768px) {
  .documentation-label {
    display: block;
  }
}

.search {
  position: relative;
}
.search__input {
  padding: 0.4rem 4rem 0.4rem 2.2rem;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
}
.search__icon {
  position: absolute;
  left: 0.6rem;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
}
.search__shortcut {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.65rem;
  background: white;
  border: 1px solid #e5e7eb;
  padding: 0 0.3rem;
  border-radius: 4px;
}

figure img {
  border: 1px solid #e5e7eb;
}

.search-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  padding: 0.375rem 0.5rem;
  border-radius: 0.5rem;
  border: 1px solid #e5e7eb;
  color: #737373;
  background-color: #f9fafb;
  font-size: 0.875rem;
  transition: background-color 0.2s ease, color 0.2s ease;
  cursor: pointer;
}
.search-button:hover {
  background-color: rgba(0, 0, 0, 0.05);
  color: #1f2937;
}
.search-button__icon {
  width: 1rem;
  height: 1rem;
  stroke: currentColor;
}
.search-button__label {
  white-space: nowrap;
}
.search-button__keys {
  margin-left: auto;
  display: inline-flex;
  gap: 0.25rem;
}
.search-button__keys kbd {
  padding: 0 0.375rem;
  border-radius: 0.375rem;
  border: 1px solid #e5e7eb;
  color: #737373;
  background-color: var(--white, #fff);
  font-size: 0.75rem;
}
.search-button:focus-visible {
  outline: 2px solid rgba(var(--secondary, #F39200), 0.6);
  outline-offset: 2px;
}

.doc-nav {
  --level: 0;
  width: 280px;
  display: flex;
  flex-direction: column;
  background: #fff;
  color: #1f2937;
  border-right: 1px solid #e5e7eb;
  box-shadow: 1px 0 0 rgba(15, 23, 42, 0.04);
}
.doc-nav__header {
  padding: 0.75rem;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  width: 100%;
}
.doc-nav__content {
  flex: 1;
  padding: 0.75rem;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(17, 24, 39, 0.2) transparent;
}
.doc-nav__content::-webkit-scrollbar {
  width: 8px;
}
.doc-nav__content::-webkit-scrollbar-thumb {
  background: rgba(17, 24, 39, 0.15);
  border-radius: 999px;
}
.doc-nav__list, .doc-nav__children {
  list-style: none;
  padding: 0;
  margin: 0;
}
.doc-nav__item {
  --indent: calc(var(--level) * 14px);
  margin-bottom: 2px;
}
.doc-nav__group {
  padding-left: 0;
}
.doc-nav__text {
  padding-left: calc(var(--indent) + 0.5rem);
}
.doc-nav__link {
  display: block;
  padding: 0.5rem 0.65rem 0.5rem calc(var(--indent) + 0.5rem);
  border-radius: 8px;
  color: #1f2937;
  text-decoration: none;
  font-size: 0.95rem;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.doc-nav__link:hover {
  background: #f3f4f6;
}
.doc-nav__link.is-active {
  background: rgba(243, 146, 0, 0.12);
  color: var(--secondary, #F39200);
  font-weight: 600;
  box-shadow: inset 0 0 0 1px rgba(var(--secondary, #F39200), 0.2);
}
.doc-nav__link:focus-visible {
  outline: 2px solid rgba(var(--secondary, #F39200), 0.6);
  outline-offset: 2px;
  background: rgba(var(--secondary, #F39200), 0.08);
}
.doc-nav__toggle {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.65rem 0.5rem calc(var(--indent) + 0.5rem);
  border-radius: 8px;
  font-size: 0.95rem;
  color: #1f2937;
  transition: background 0.15s ease, color 0.15s ease;
}
.doc-nav__toggle:hover, .doc-nav__toggle:focus-visible {
  background: #f3f4f6;
  outline: none;
}
.doc-nav__toggle .fa-angle-right {
  transition: transform 0.2s ease;
  font-size: 0.8rem;
  color: #9ca3af;
}
.doc-nav__toggle.is-expanded .fa-angle-right {
  transform: rotate(90deg);
}
.doc-nav__toggle:focus-visible {
  outline: 2px solid rgba(var(--secondary, #F39200), 0.6);
  outline-offset: 2px;
}
.doc-nav__title {
  flex: 1;
  text-align: left;
}
.doc-nav__children {
  margin-top: 2px;
  padding-left: 0.35rem;
}
.doc-nav__children.is-collapsed {
  display: none;
}
.doc-nav__children.is-open {
  display: block;
}

.main {
  flex: 1;
}
.main__container {
  display: flex;
  margin: 0 auto;
}

.page-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.page-description {
  margin-bottom: 3rem;
  color: #4b5563;
}

.content {
  max-width: 896px;
  margin: 0 auto;
  padding: 2rem 1rem 2.5rem;
  flex: 1;
  color: #111827;
  line-height: 1.7;
  font-size: 1.02rem;
}
@media (min-width: 640px) {
  .content {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}
.content h1,
.content h2,
.content h3,
.content h4 {
  font-weight: 700;
  color: #0f172a;
  margin-top: 1.8rem;
  margin-bottom: 0.75rem;
  scroll-margin-top: 96px;
}
@media (max-width: 900px) {
  .content h1,
  .content h2,
  .content h3,
  .content h4 {
    margin-top: 1.3rem;
    margin-bottom: 0.55rem;
    scroll-margin-top: 84px;
  }
}
.content h1 {
  font-size: 2.1rem;
}
@media (max-width: 900px) {
  .content h1 {
    font-size: 1.6rem;
  }
}
.content h2 {
  font-size: 1.7rem;
}
@media (max-width: 900px) {
  .content h2 {
    font-size: 1.35rem;
  }
}
.content h3 {
  font-size: 1.35rem;
}
@media (max-width: 900px) {
  .content h3 {
    font-size: 1.15rem;
  }
}
.content h4 {
  font-size: 1.15rem;
}
@media (max-width: 900px) {
  .content h4 {
    font-size: 1rem;
  }
}
@media (max-width: 600px) {
  .content {
    padding: 1rem 0.85rem 1.6rem;
    line-height: 1.6;
  }
  .content h1 {
    font-size: 1.4rem;
    margin-top: 1.1rem;
    margin-bottom: 0.5rem;
    scroll-margin-top: 78px;
  }
  .content h2 {
    font-size: 1.2rem;
    margin-top: 1rem;
    margin-bottom: 0.45rem;
    scroll-margin-top: 78px;
  }
  .content h3 {
    font-size: 1.05rem;
    margin-top: 0.9rem;
    margin-bottom: 0.4rem;
    scroll-margin-top: 78px;
  }
  .content h4 {
    font-size: 0.95rem;
    margin-top: 0.8rem;
    margin-bottom: 0.35rem;
    scroll-margin-top: 78px;
  }
  .content p {
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
  }
  .content ul, .content ol {
    padding-left: 0.9rem;
    margin-bottom: 0.65rem;
  }
  .content li + li {
    margin-top: 0.2rem;
  }
  .content code {
    font-size: 0.88rem;
  }
  .content pre {
    font-size: 0.88rem;
    padding: 0.75rem;
  }
}
.content p {
  margin: 0 0 1rem 0;
  font-size: 1.2rem;
  color: #475569;
}
@media (max-width: 900px) {
  .content p {
    font-size: 1.05rem;
    margin-bottom: 0.85rem;
  }
}
.content ul,
.content ol {
  padding-left: 1.4rem;
  margin-bottom: 1rem;
}
@media (max-width: 900px) {
  .content ul,
  .content ol {
    padding-left: 1.1rem;
    margin-bottom: 0.75rem;
  }
}
.content li + li {
  margin-top: 0.35rem;
}
@media (max-width: 900px) {
  .content li + li {
    margin-top: 0.25rem;
  }
}
.content code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  background: #f3f4f6;
  padding: 0.15rem 0.35rem;
  border-radius: 6px;
  font-size: 0.95rem;
}
@media (max-width: 900px) {
  .content code {
    font-size: 0.9rem;
  }
}
.content pre {
  background: #0f172a;
  color: #e5e7eb;
  padding: 1rem;
  border-radius: 10px;
  overflow-x: auto;
  font-size: 0.95rem;
}
@media (max-width: 900px) {
  .content pre {
    font-size: 0.9rem;
    padding: 0.85rem;
  }
}
.content blockquote {
  border-left: 4px solid rgba(var(--secondary, #F39200), 0.5);
  padding: 0.75rem 1rem;
  background: #fff7ed;
  border-radius: 8px;
  color: #7c2d12;
}
.content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.95rem;
}
.content table th,
.content table td {
  border: 1px solid #e5e7eb;
  padding: 0.6rem 0.75rem;
}
.content table th {
  background: #f3f4f6;
  font-weight: 600;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  margin: 0 0 2rem 0;
  font-size: 0.875rem;
  color: #6b7280;
  white-space: nowrap;
  overflow-x: auto;
  line-height: 1.2;
  padding-bottom: 0.15rem;
}
.breadcrumb a {
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  line-height: 1.2;
}
.breadcrumb a:hover {
  color: #111827;
}
.breadcrumb__home {
  padding: 0;
  min-width: 22px;
  min-height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.breadcrumb__home span {
  font-size: 0.9rem;
  line-height: 1;
}
.breadcrumb__separator {
  color: #d1d5db;
  padding: 0 0.25rem;
  font-size: 0.82rem;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 20px;
  line-height: 1;
}
.breadcrumb__link {
  padding: 0.25rem 0.35rem;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
}
.breadcrumb__link:hover {
  color: #111827;
}
.breadcrumb__link:focus-visible {
  outline: 2px solid rgba(var(--secondary, #F39200), 0.6);
  outline-offset: 2px;
  background: rgba(var(--secondary, #F39200), 0.08);
}
.breadcrumb__text {
  padding: 0.15rem 0.25rem;
  color: #6b7280;
}
.breadcrumb__current {
  color: var(--secondary, #F39200);
  background: rgba(var(--secondary, #F39200), 0.1);
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: inset 0 0 0 1px rgba(var(--secondary, #F39200), 0.1);
  line-height: 1.1;
}

.footer {
  background: linear-gradient(180deg, #0f172a 0%, #0b1221 100%);
  color: #e5e7eb;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3rem 2rem 2rem;
}
.footer a {
  color: #e2e8f0;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
.footer a:hover {
  color: var(--secondary, #F39200);
}
.footer a:focus-visible {
  outline: 2px solid var(--secondary, #F39200);
  outline-offset: 3px;
  border-radius: 8px;
}
.footer h3 {
  color: #f9fafb;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 0.75rem;
}

.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer__brand {
  max-width: 420px;
}

.footer__title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.35rem;
}

.footer__tagline {
  margin: 0;
  color: #cbd5e1;
  line-height: 1.6;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
}

.footer__column ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.45rem;
}

.footer__column a {
  color: #e2e8f0;
  font-weight: 500;
}
.footer__column a:hover {
  color: var(--secondary, #F39200);
}

.footer__social {
  display: grid;
  gap: 0.45rem;
  align-items: start;
  justify-items: start;
}

.footer__social a {
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  color: #e2e8f0;
  font-weight: 500;
  align-items: center;
  gap: 0.5rem;
}
.footer__social a .footer__icon {
  width: 1rem;
  height: 1rem;
  display: inline-block;
  object-fit: contain;
  flex-shrink: 0;
  vertical-align: middle;
}
.footer__social a .footer__icon:hover path {
  fill: var(--secondary, #F39200);
}
.footer__social a:hover {
  color: var(--secondary, #F39200);
}

.footer__bottom {
  margin-top: 1.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: #cbd5e1;
  font-size: 0.95rem;
}

.footer__bottom-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.article-sidebar {
  display: flex;
  flex-direction: column;
  border-left: 1px solid #e5e7eb;
}

.article-toc {
  padding: 2rem 1.5rem;
  position: sticky;
  top: 0;
  overflow: auto;
  align-self: flex-start;
  min-width: 240px;
  width: 320px;
  max-width: 320px;
  font-size: 0.875rem;
}
.article-toc__title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1.25rem;
  color: #1f2937;
}
.article-toc__list, .article-toc__children {
  list-style: none;
  margin: 0;
  padding: 0;
}
.article-toc__item {
  margin-bottom: 0.35rem;
}
.article-toc__link {
  display: block;
  text-decoration: none;
  color: #1f2937;
  padding: 0.2rem 0;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}
.article-toc__link:hover {
  opacity: 1;
  text-decoration: underline;
}
.article-toc__item--level-0 .article-toc__link {
  font-weight: 600;
  font-size: 1rem;
  opacity: 1;
}
.article-toc__item--level-1 .article-toc__link {
  font-weight: 500;
  font-size: 0.9rem;
  opacity: 0.9;
}
.article-toc__item--level-2 .article-toc__link {
  font-weight: 500;
  font-size: 0.8rem;
}
.article-toc__item--level-3 .article-toc__link {
  font-weight: 500;
  font-size: 0.8rem;
}
.article-toc__item--level-4 .article-toc__link {
  font-weight: 500;
  font-size: 0.7rem;
}
.article-toc__item--level-5 .article-toc__link {
  font-weight: 500;
  font-size: 0.6rem;
}
.article-toc ul ul {
  padding-left: 1rem;
  margin-top: 0.25rem;
}

.article-nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.article-nav__card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem 1.2rem;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  color: #1f2937;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}
.article-nav__card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  border-color: rgba(243, 146, 0, 0.4);
  background: #fdfcfb;
}

.article-nav__card--next {
  text-align: right;
  align-items: flex-end;
}

.article-nav__label {
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  color: #6b7280;
}

.article-nav__title {
  font-size: 1.05rem;
  font-weight: 700;
}

@media (max-width: 1100px) {
  .doc-nav {
    width: 240px;
  }
  .main {
    padding: 1.5rem;
  }
  .article-toc {
    min-width: 200px;
    max-width: 260px;
    padding: 1.5rem 1rem;
  }
  .content {
    padding-top: 1.5rem;
  }
}
@media (max-width: 980px) {
  .article-toc {
    width: auto;
    min-width: 180px;
    max-width: 220px;
    padding: 1.25rem 1rem;
  }
  .content {
    padding-top: 1.25rem;
  }
}
@media (max-width: 900px) {
  .layout__body {
    width: 100%;
  }
  .layout__inner {
    width: 100%;
    overflow: hidden;
  }
  .main {
    padding: 0;
  }
  .layout__content {
    width: 100%;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
  }
  .main__container {
    width: 100%;
    flex: 1;
  }
  .content {
    max-width: none;
    width: 100%;
    padding: 1.25rem 1rem 2rem;
  }
  .header__badges {
    display: none;
  }
  .header__menu-button {
    display: inline-flex;
  }
  .doc-nav {
    position: fixed;
    top: 72px;
    left: 0;
    height: calc(100dvh - 72px);
    width: min(82vw, 340px);
    max-width: 340px;
    transform: translateX(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.2s ease, background-color 0.2s ease;
    box-shadow: none;
    z-index: 30;
  }
  .doc-nav--open {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
  }
  .header__search {
    max-width: none;
  }
  .footer {
    padding: 2.5rem 1.5rem 1.8rem;
  }
  .article-toc {
    display: none;
  }
  .mobile-nav-overlay {
    display: block;
    position: fixed;
    inset: 72px 0 0 0;
    background: rgba(17, 24, 39, 0.35);
    backdrop-filter: blur(2px);
    z-index: 25;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
  }
  .layout--nav-open .mobile-nav-overlay {
    opacity: 1;
    pointer-events: auto;
  }
  .layout--nav-open .layout__body {
    overflow: hidden;
  }
  .search-button__keys {
    display: none;
  }
  .search-dialog__close {
    display: none;
  }
}
@media (max-width: 720px) {
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 540px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .breadcrumb {
    margin-bottom: 0.5rem;
    font-size: 0.82rem;
  }
}
.search-dialog {
  position: fixed;
  left: 50%;
  top: 1rem;
  transform: translate(-50%, 0) scale(1);
  z-index: 50;
  transform-origin: center;
  will-change: transform, opacity;
  opacity: 1;
  animation: search-dialog-in 200ms ease;
  width: calc(100% - 1rem);
  max-width: 640px;
  border-radius: 0.75rem;
  background: #ffffff;
  color: #111827;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}
.search-dialog[data-state=closed] {
  animation: search-dialog-out 180ms ease forwards;
}
@media (min-width: 768px) {
  .search-dialog {
    top: calc(50% - 250px);
  }
}
.search-dialog__header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem;
  border-bottom: 1px solid #e5e7eb;
}
.search-dialog__icon {
  font-size: 1.1rem;
  color: #737373;
}
.search-dialog__input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 1.125rem;
  color: #111827;
}
.search-dialog__input::placeholder {
  color: #737373;
}
.search-dialog__input:focus {
  outline: none;
}
.search-dialog__close {
  padding: 0.375rem 0.5rem;
  border-radius: 0.375rem;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  font-size: 0.75rem;
  font-weight: 700;
  font-family: monospace;
  color: #6b7280;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.search-dialog__close:hover {
  background: #f3f4f6;
  color: #111827;
}
.search-dialog__close:focus-visible {
  outline: 2px solid rgba(var(--secondary, #F39200), 0.6);
  outline-offset: 2px;
}
.search-dialog__results {
  height: 0;
  overflow: hidden;
  transition: height 0.2s ease;
}
.search-dialog__results-inner {
  max-height: 460px;
  overflow-y: auto;
  padding: 0.25rem;
  display: none;
}
.search-dialog__results:not(.is-empty) {
  height: auto;
}
.search-dialog__results:not(.is-empty) .search-dialog__results-inner {
  display: flex;
  flex-direction: column;
}
.search-dialog__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem;
  border-top: 1px solid #e5e7eb;
  background: #f9fafb;
}
.search-dialog__filter {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-right: auto;
  padding: 0.375rem 0.5rem;
  border-radius: 0.375rem;
  background: transparent;
  border: 1px solid transparent;
  font-size: 0.75rem;
  cursor: pointer;
  transition: background 0.15s ease;
}
.search-dialog__filter:hover {
  background: #f3f4f6;
}
.search-dialog__filter-label {
  opacity: 0.7;
  margin-right: 0.5rem;
}
.search-dialog__chevron {
  width: 14px;
  height: 14px;
  stroke: #6b7280;
  stroke-width: 2;
  fill: none;
}
.search-dialog__powered {
  font-size: 0.75rem;
  color: #6b7280;
  text-decoration: none;
}
.search-dialog__powered:hover {
  text-decoration: underline;
}

.search-dialog__empty {
  padding: 1.25rem 1rem;
  text-align: center;
  font-size: 0.95rem;
  color: #9ca3af;
}

.search-results {
  overflow: hidden;
  transition: height 0.2s ease;
}
.search-results__list {
  display: flex;
  flex-direction: column;
  max-height: 460px;
  overflow-y: auto;
  padding: 0.25rem;
}

.search-item {
  position: relative;
  display: block;
  width: 100%;
  padding: 0.75rem 0.625rem;
  text-align: left;
  font-size: 0.875rem;
  border-radius: 0.75rem;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: background 0.15s ease;
}
.search-item:hover {
  background: #f3f4f6;
}
.search-item--page .search-item__title {
  font-weight: 500;
}
.search-item--inline {
  padding-left: 1.5rem;
}
.search-item--inline .search-item__connector {
  position: absolute;
  left: 0.75rem;
  top: 0;
  bottom: 0;
  width: 1px;
  background: #e5e7eb;
}
.search-item--inline .search-item__content {
  color: #374151;
}
.search-item__title {
  font-weight: 500;
  min-width: 0;
}
.search-item__content {
  padding-left: 1rem;
  color: #374151;
  line-height: 1.4;
}
.search-item__content mark {
  padding: 0;
  color: var(--secondary, #F39200);
  text-decoration: underline;
  background: none;
}
.search-item__highlight {
  color: var(--secondary, #F39200);
  text-decoration: underline;
}
.search-item__line {
  position: absolute;
  left: 0.75rem;
  top: 0;
  bottom: 0;
  width: 1px;
  background: #e5e7eb;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@keyframes search-dialog-in {
  from {
    opacity: 0;
    transform: translate(-50%, -4%) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
  }
}
@keyframes search-dialog-out {
  from {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
  }
  to {
    opacity: 0;
    transform: translate(-50%, -6%) scale(0.96);
  }
}
.help {
  flex: 1;
  text-align: center;
  margin-bottom: 3rem;
  padding: 1.5rem;
}
.help__container {
  max-width: 42rem;
  margin: 0 auto;
}
.help__container .search-button {
  height: 2.5rem;
  width: 100%;
  padding: 0.375rem 0.5rem;
}
.help__container .search-button__label {
  font-size: 1rem;
}
.help__container .search-button__icon {
  font-size: 1rem;
  stroke: currentColor;
}
.help__container .search-button__keys {
  margin-left: auto;
  display: inline-flex;
  gap: 0.25rem;
}
.help__container .search-button__keys kbd {
  padding: 0 0.375rem;
  border-radius: 0.375rem;
  border: 1px solid #e5e7eb;
  color: #737373;
  background-color: var(--white, #fff);
  font-size: 1rem;
}
.help__title {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #0f172a;
}
@media (min-width: 768px) {
  .help__title {
    font-size: 2.25rem;
  }
}
.help__description {
  font-size: 1.125rem;
  margin: 0 auto 2rem auto;
  max-width: 32rem;
  color: #475569;
}
.help__search {
  position: relative;
  max-width: 42rem;
  margin: 0 auto;
}
.help__icon {
  position: absolute;
  top: 50%;
  left: 1rem;
  transform: translateY(-50%);
  font-size: 1.25rem;
  color: var(--secondary, #F39200);
  pointer-events: none;
}
.help__input {
  width: 100%;
  padding: 1rem 1rem 1rem 3rem;
  font-size: 1.125rem;
  border-radius: 0.75rem;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.2s ease, border 0.2s ease;
}
.help__input::placeholder {
  color: #94a3b8;
}
.help__input:focus {
  outline: none;
  border-color: transparent;
  box-shadow: 0 0 0 2px var(--secondary, #F39200);
}

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