/* brückeMind documentation styles (no external resources). */
:root { --blue: #164194; --blue-dark: #0f2d68; --orange: #f39200; --grey: #878787; --text: #262626; --border: #d9d5d6; }
* { box-sizing: border-box; }
body { margin: 0; font-family: "Open Sans", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif; font-size: 16px; line-height: 1.55; color: var(--text); background: #fefefe; }
header { padding: 28px 24px; background: var(--blue); color: #fefefe; }
header h1 { margin: 0; font-size: 30px; }
header p { margin: 4px 0 0; opacity: .85; }
header .lang-link { color: #fefefe; font-weight: 700; }
header .back-link { display: inline-block; margin-bottom: 10px; color: #fefefe; font-size: 14px; }
/* Room for the status bar of an iPad when the documentation is shown inside the app. */
header { padding-top: calc(28px + env(safe-area-inset-top)); }
.layout { display: flex; max-width: 1180px; margin: 0 auto; }
nav { flex: 0 0 240px; padding: 24px 16px; position: sticky; top: 0; align-self: flex-start; max-height: 100vh; overflow-y: auto; }
nav ol { margin: 0; padding-left: 20px; }
nav li { margin: 4px 0; }
main { flex: 1 1 auto; min-width: 0; padding: 8px 24px 64px; }
a { color: var(--blue); }
h2 { margin: 40px 0 8px; padding-bottom: 4px; font-size: 24px; color: var(--blue); border-bottom: 2px solid var(--blue); }
h3 { margin: 24px 0 4px; font-size: 18px; color: var(--blue-dark); }
.swatch { display: inline-block; width: 44px; height: 20px; border: 1px solid var(--border); vertical-align: middle; }
table { width: 100%; margin: 12px 0; border-collapse: collapse; }
th, td { padding: 6px 10px; border: 1px solid var(--border); text-align: left; vertical-align: top; }
th { background: var(--blue); color: #fefefe; }
tr:nth-child(even) td { background: #f6f6f6; }
code, kbd, pre { font-family: Consolas, "Liberation Mono", "Courier New", monospace; font-size: 14px; }
code { padding: 1px 4px; background: #f2f2f2; border: 1px solid var(--border); }
kbd { padding: 1px 6px; background: #fefefe; border: 1px solid var(--grey); border-bottom-width: 2px; }
pre { padding: 12px; overflow-x: auto; background: #f6f6f6; border-left: 4px solid var(--blue); }
pre code { padding: 0; border: 0; background: none; }
/* Screenshots: small previews that open enlarged when clicked (lightbox.js). */
.shots { display: flex; flex-wrap: wrap; gap: 16px; margin: 16px 0; }
figure.shot { margin: 0; width: 300px; max-width: 100%; }
figure.shot a { display: block; cursor: zoom-in; }
figure.shot img { display: block; width: 100%; height: auto; border: 1px solid var(--border); box-shadow: 0 3px 10px rgba(10, 10, 10, .14); }
figure.shot a:hover img, figure.shot a:focus img { border-color: var(--blue); box-shadow: 0 3px 14px rgba(22, 65, 148, .35); }
figure.shot figcaption { margin-top: 6px; font-size: 13px; line-height: 1.35; color: #6b6466; }
.lightbox {
  position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center;
  padding: 16px; background: rgba(15, 45, 104, .82); cursor: zoom-out;
}
.lightbox img { max-width: 100%; max-height: 100%; background: #fefefe; box-shadow: 0 10px 40px rgba(0, 0, 0, .5); }
.note { margin: 12px 0; padding: 10px 14px; border-left: 4px solid var(--orange); background: #fdf3ea; }
footer { padding: 16px 24px; font-size: 13px; color: #6b6466; border-top: 1px solid var(--border); text-align: center; }
@media (max-width: 800px) { .layout { display: block; } nav { position: static; max-height: none; } }
