@import url("site-coacheye-doc.css");
:root { --bg: #0f1419; --fg: #e6edf3; --muted: #8b949e; --link: #58a6ff; --border: #30363d; }
* { box-sizing: border-box; }
body { font-family: system-ui, Segoe UI, sans-serif; margin: 0; background: var(--bg); color: var(--fg); line-height: 1.5; }
a { color: var(--link); }
header { padding: 1rem 1.25rem; border-bottom: 1px solid var(--border); }
header h1 { margin: 0; font-size: 1.1rem; font-weight: 600; }
nav { padding: 0.75rem 1.25rem; background: #161b22; border-bottom: 1px solid var(--border); }
nav a { text-decoration: none; }
nav a:hover { text-decoration: underline; }
main { padding: 1.25rem; max-width: 56rem; }
main h1 { font-size: 1.5rem; margin-top: 0; }
main h2 { font-size: 1.2rem; margin-top: 1.5rem; }
main h3 { font-size: 1.05rem; margin-top: 1.25rem; font-weight: 600; }
table { border-collapse: collapse; width: 100%; font-size: 0.9rem; margin: 1rem 0; }
th, td { border: 1px solid var(--border); padding: 0.35rem 0.5rem; text-align: left; vertical-align: top; }
th { background: #161b22; }
code { background: #21262d; padding: 0.1em 0.35em; border-radius: 4px; font-size: 0.9em; }
footer:not(.styles_container__lWOR5) { padding: 1rem 1.25rem; color: var(--muted); font-size: 0.85rem; border-top: 1px solid var(--border); }
.doc-table-image { display: block; max-width: 100%; height: auto; margin-top: 0.75rem; border: 1px solid var(--border); border-radius: 8px; box-shadow: 0 4px 18px rgba(0, 0, 0, 0.28); }
figure.doc-figure { margin: 1.5rem 0; text-align: center; }
figure.doc-figure img,
figure.doc-figure img.doc-figure__thumb {
  display: block;
  max-width: var(--doc-figure-max-width, 100%);
  min-width: var(--doc-figure-min-width, 0);
  width: var(--doc-figure-width, auto);
  height: var(--doc-figure-height, auto);
  max-height: var(--doc-figure-max-height, none);
  object-fit: var(--doc-figure-object-fit, contain);
  object-position: var(--doc-figure-object-position, center);
  margin-left: auto;
  margin-right: auto;
  border: 1px solid var(--border);
  border-radius: var(--doc-figure-radius, 8px);
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  vertical-align: middle;
}
body.coacheye-doc-site main.coacheye-article figure.doc-figure img {
  max-width: var(--doc-figure-max-width, 100%);
  min-width: var(--doc-figure-min-width, 0);
  width: var(--doc-figure-width, auto);
  height: var(--doc-figure-height, auto);
  max-height: var(--doc-figure-max-height, none);
  object-fit: var(--doc-figure-object-fit, contain);
  object-position: var(--doc-figure-object-position, center);
  border-radius: var(--doc-figure-radius, 8px);
}
figure.doc-figure img:hover {
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.5);
  transform: translateY(-1px);
}
figure.doc-figure img:focus {
  outline: 2px solid var(--link);
  outline-offset: 4px;
}
figure.doc-figure figcaption { margin-top: 0.65rem; font-size: 0.9rem; color: var(--muted); line-height: 1.45; }
.doc-screenshot-lightbox {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(10, 12, 16, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: min(4vw, 2rem);
  box-sizing: border-box;
  animation: doc-lb-fade 0.2s ease;
}
@keyframes doc-lb-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
.doc-screenshot-lightbox__backdrop {
  position: absolute;
  inset: 0;
  cursor: zoom-out;
}
.doc-screenshot-lightbox__stage {
  position: relative;
  z-index: 1;
  max-width: min(96vw, 100%);
  max-height: 92vh;
  pointer-events: auto;
}
.doc-screenshot-lightbox__stage img {
  display: block;
  max-width: min(96vw, 100%);
  max-height: 92vh;
  width: auto;
  height: auto;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.65);
  cursor: default;
}
.doc-screenshot-lightbox__close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(22, 27, 34, 0.95);
  color: #e6edf3;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}
.doc-screenshot-lightbox__close:hover {
  background: rgba(48, 54, 61, 0.98);
  border-color: rgba(255, 255, 255, 0.35);
  transform: scale(1.06);
}
@media (max-width: 640px) {
  figure.doc-figure img,
  figure.doc-figure img.doc-figure__thumb {
    max-width: var(--doc-figure-mobile-max-width, min(92%, var(--doc-figure-max-width, 100%)));
  }
  body.coacheye-doc-site main.coacheye-article figure.doc-figure img {
    max-width: var(--doc-figure-mobile-max-width, min(92%, var(--doc-figure-max-width, 100%)));
  }
}
main ul li { margin: 0.2rem 0; }
.pending-i18n { background: #3d2f00; border: 1px solid #9e6a03; padding: 0.75rem 1rem; border-radius: 6px; margin-bottom: 1rem; color: #f0c14a; }
.nav-tier--primary ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; align-items: center; }
.nav-tier--columns { margin-top: 0.85rem; }
.nav-column-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.65rem 1rem; align-items: start; }
.nav-column-heading { font-size: 0.95rem; font-weight: 600; color: var(--muted); margin: 0 0 0.35rem 0; line-height: 1.3; }
.nav-column-heading a { color: var(--link); text-decoration: none; font-weight: 600; }
.nav-column-heading a:hover { text-decoration: underline; }
.nav-column ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 0.35rem; }
.nav-column ul.nav-column-indented { padding-left: 0.65rem; border-left: 1px solid var(--border); margin-left: 0.15rem; }
.nav-column ul.nav-column-indented li.nav-li-nested { margin-left: 0.35rem; padding-left: 0.55rem; border-left: 1px solid var(--border); }
@media (max-width: 1200px) { .nav-column-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 800px) { .nav-column-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .nav-column-grid { grid-template-columns: 1fr; } .nav-tier--primary ul { flex-direction: column; align-items: flex-start; } }