
/* cspell:disable-file */
/* webkit printing magic: print all background colors */
html {
	-webkit-print-color-adjust: exact;
}
* {
	box-sizing: border-box;
	-webkit-print-color-adjust: exact;
}

html,
body {
	margin: 0;
	padding: 0;
}
/* Override Notion body styles for SPA layout */
body {
	line-height: 1.5;
	white-space: normal;
	margin: 0 !important;
	max-width: none !important;
	color: rgb(55, 53, 47);
}

a,
a.visited {
	color: inherit;
	text-decoration: underline;
}

.pdf-relative-link-path {
	font-size: 80%;
	color: #444;
}

h1,
h2,
h3 {
	letter-spacing: -0.01em;
	line-height: 1.2;
	font-weight: 600;
	margin-bottom: 0;
}

/* Override strong tags inside headings to maintain consistent weight */
h1 strong,
h2 strong,
h3 strong {
	font-weight: 600;
}

.page-title {
	font-size: 2.5rem;
	font-weight: 700;
	margin-top: 0;
	margin-bottom: 0.75em;
}

h1 {
	font-size: 1.875rem;
	margin-top: 1.875rem;
}

h2 {
	font-size: 1.5rem;
	margin-top: 1.5rem;
}

h3 {
	font-size: 1.25rem;
	margin-top: 1.25rem;
}

.source {
	border: 1px solid #ddd;
	border-radius: 3px;
	padding: 1.5em;
	word-break: break-all;
}

.callout {
	border-radius: 10px;
	padding: 1rem;
}

figure {
	margin: 1.25em 0;
	page-break-inside: avoid;
}

figcaption {
	opacity: 0.5;
	font-size: 85%;
	margin-top: 0.5em;
}

mark {
	background-color: transparent;
}

.indented {
	padding-left: 1.5em;
}

hr {
	background: transparent;
	display: block;
	width: 100%;
	height: 1px;
	visibility: visible;
	border: none;
	border-bottom: 1px solid rgba(55, 53, 47, 0.09);
}

img {
	max-width: 100%;
}

@media only print {
	img {
		max-height: 100vh;
		object-fit: contain;
	}
}

@page {
	margin: 1in;
}

.collection-content {
	font-size: 0.875rem;
}

.collection-content td {
	white-space: pre-wrap;
	word-break: break-word;
}

.column-list {
	display: flex;
	justify-content: space-between;
}

.column {
	padding: 0 1em;
}

.column:first-child {
	padding-left: 0;
}

.column:last-child {
	padding-right: 0;
}

.table_of_contents-item {
	display: block;
	font-size: 0.875rem;
	line-height: 1.3;
	padding: 0.125rem;
}

.table_of_contents-indent-1 {
	margin-left: 1.5rem;
}

.table_of_contents-indent-2 {
	margin-left: 3rem;
}

.table_of_contents-indent-3 {
	margin-left: 4.5rem;
}

.table_of_contents-link {
	text-decoration: none;
	opacity: 0.7;
	border-bottom: 1px solid rgba(55, 53, 47, 0.18);
}

table,
th,
td {
	border: 1px solid rgba(55, 53, 47, 0.09);
	border-collapse: collapse;
}

table {
	border-left: none;
	border-right: none;
}

th,
td {
	font-weight: normal;
	padding: 0.25em 0.5em;
	line-height: 1.5;
	min-height: 1.5em;
	text-align: left;
}

th {
	color: rgba(55, 53, 47, 0.6);
}

ol,
ul {
	margin: 0;
	margin-block-start: 0.6em;
	margin-block-end: 0.6em;
}

li > ol:first-child,
li > ul:first-child {
	margin-block-start: 0.6em;
}

ul > li {
	list-style: disc;
}

ul.to-do-list {
	padding-inline-start: 0;
}

ul.to-do-list > li {
	list-style: none;
}

.to-do-children-checked {
	text-decoration: line-through;
	opacity: 0.375;
}

ul.toggle > li {
	list-style: none;
}

ul {
	padding-inline-start: 1.7em;
}

ul > li {
	padding-left: 0.1em;
}

ol {
	padding-inline-start: 1.6em;
}

ol > li {
	padding-left: 0.2em;
}

.mono ol {
	padding-inline-start: 2em;
}

.mono ol > li {
	text-indent: -0.4em;
}

.toggle {
	padding-inline-start: 0em;
	list-style-type: none;
}

/* Indent toggle children */
.toggle > li > details {
	padding-left: 1.7em;
}

.toggle > li > details > summary {
	margin-left: -1.1em;
}

.selected-value {
	display: inline-block;
	padding: 0 0.5em;
	background: rgba(206, 205, 202, 0.5);
	border-radius: 3px;
	margin-right: 0.5em;
	margin-top: 0.3em;
	margin-bottom: 0.3em;
	white-space: nowrap;
}

.collection-title {
	display: inline-block;
	margin-right: 1em;
}

.page-description {
	margin-bottom: 2em;
}

.simple-table {
	margin-top: 1em;
	font-size: 0.875rem;
	empty-cells: show;
}
.simple-table td {
	height: 29px;
	min-width: 120px;
}

.simple-table th {
	height: 29px;
	min-width: 120px;
}

.simple-table-header-color {
	background: rgb(247, 246, 243);
	color: black;
}
.simple-table-header {
	font-weight: 500;
}

time {
	opacity: 0.5;
}

.icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	max-width: 1.2em;
	max-height: 1.2em;
	text-decoration: none;
	vertical-align: text-bottom;
	margin-right: 0.5em;
}

img.icon {
	border-radius: 3px;
}

.callout img.notion-static-icon {
	width: 1em;
	height: 1em;
}

.callout p {
	margin: 0;
}

.callout h1,
.callout h2,
.callout h3 {
	margin: 0 0 0.6rem;
}

.user-icon {
	width: 1.5em;
	height: 1.5em;
	border-radius: 100%;
	margin-right: 0.5rem;
}

.user-icon-inner {
	font-size: 0.8em;
}

.text-icon {
	border: 1px solid #000;
	text-align: center;
}

.page-cover-image {
	display: block;
	object-fit: cover;
	width: 100%;
	max-height: 30vh;
}

.page-header-icon {
	font-size: 3rem;
	margin-bottom: 1rem;
}

.page-header-icon-with-cover {
	margin-top: -0.72em;
	margin-left: 0.07em;
}

.page-header-icon img {
	border-radius: 3px;
}

.link-to-page {
	margin: 1em 0;
	padding: 0;
	border: none;
	font-weight: 500;
}

p > .user {
	opacity: 0.5;
}

td > .user,
td > time {
	white-space: nowrap;
}

input[type="checkbox"] {
	transform: scale(1.5);
	margin-right: 0.6em;
	vertical-align: middle;
}

p {
	margin-top: 0.5em;
	margin-bottom: 0.5em;
}

.image {
	border: none;
	margin: 1.5em 0;
	padding: 0;
	border-radius: 0;
	text-align: center;
}

.code,
code {
	background: rgba(135, 131, 120, 0.15);
	border-radius: 3px;
	padding: 0.2em 0.4em;
	border-radius: 3px;
	font-size: 85%;
	tab-size: 2;
}

code {
	color: #eb5757;
}

.code {
	padding: 1.5em 1em;
}

.code-wrap {
	white-space: pre-wrap;
	word-break: break-all;
}

.code > code {
	background: none;
	padding: 0;
	font-size: 100%;
	color: inherit;
}

blockquote {
	font-size: 1em;
	margin: 1em 0;
	padding-left: 1em;
	border-left: 3px solid rgb(55, 53, 47);
}

blockquote.quote-large {
	font-size: 1.25em;
}

.bookmark {
	text-decoration: none;
	max-height: 8em;
	padding: 0;
	display: flex;
	width: 100%;
	align-items: stretch;
}

.bookmark-title {
	font-size: 0.85em;
	overflow: hidden;
	text-overflow: ellipsis;
	height: 1.75em;
	white-space: nowrap;
}

.bookmark-text {
	display: flex;
	flex-direction: column;
}

.bookmark-info {
	flex: 4 1 180px;
	padding: 12px 14px 14px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.bookmark-image {
	width: 33%;
	flex: 1 1 180px;
	display: block;
	position: relative;
	object-fit: cover;
	border-radius: 1px;
}

.bookmark-description {
	color: rgba(55, 53, 47, 0.6);
	font-size: 0.75em;
	overflow: hidden;
	max-height: 4.5em;
	word-break: break-word;
}

.bookmark-href {
	font-size: 0.75em;
	margin-top: 0.25em;
}

.sans { font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI Variable Display", "Segoe UI", Helvetica, "Apple Color Emoji", Arial, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol"; }
.code { font-family: "SFMono-Regular", Menlo, Consolas, "PT Mono", "Liberation Mono", Courier, monospace; }
.serif { font-family: Lyon-Text, Georgia, ui-serif, serif; }
.mono { font-family: iawriter-mono, Nitti, Menlo, Courier, monospace; }
.pdf .sans { font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI Variable Display", "Segoe UI", Helvetica, "Apple Color Emoji", Arial, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol", 'Twemoji', 'Noto Color Emoji', 'Noto Sans CJK JP'; }
.pdf:lang(zh-CN) .sans { font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI Variable Display", "Segoe UI", Helvetica, "Apple Color Emoji", Arial, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol", 'Twemoji', 'Noto Color Emoji', 'Noto Sans CJK SC'; }
.pdf:lang(zh-TW) .sans { font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI Variable Display", "Segoe UI", Helvetica, "Apple Color Emoji", Arial, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol", 'Twemoji', 'Noto Color Emoji', 'Noto Sans CJK TC'; }
.pdf:lang(ko-KR) .sans { font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI Variable Display", "Segoe UI", Helvetica, "Apple Color Emoji", Arial, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol", 'Twemoji', 'Noto Color Emoji', 'Noto Sans CJK KR'; }
.pdf .code { font-family: Source Code Pro, "SFMono-Regular", Menlo, Consolas, "PT Mono", "Liberation Mono", Courier, monospace, 'Twemoji', 'Noto Color Emoji', 'Noto Sans Mono CJK JP'; }
.pdf:lang(zh-CN) .code { font-family: Source Code Pro, "SFMono-Regular", Menlo, Consolas, "PT Mono", "Liberation Mono", Courier, monospace, 'Twemoji', 'Noto Color Emoji', 'Noto Sans Mono CJK SC'; }
.pdf:lang(zh-TW) .code { font-family: Source Code Pro, "SFMono-Regular", Menlo, Consolas, "PT Mono", "Liberation Mono", Courier, monospace, 'Twemoji', 'Noto Color Emoji', 'Noto Sans Mono CJK TC'; }
.pdf:lang(ko-KR) .code { font-family: Source Code Pro, "SFMono-Regular", Menlo, Consolas, "PT Mono", "Liberation Mono", Courier, monospace, 'Twemoji', 'Noto Color Emoji', 'Noto Sans Mono CJK KR'; }
.pdf .serif { font-family: PT Serif, Lyon-Text, Georgia, ui-serif, serif, 'Twemoji', 'Noto Color Emoji', 'Noto Serif CJK JP'; }
.pdf:lang(zh-CN) .serif { font-family: PT Serif, Lyon-Text, Georgia, ui-serif, serif, 'Twemoji', 'Noto Color Emoji', 'Noto Serif CJK SC'; }
.pdf:lang(zh-TW) .serif { font-family: PT Serif, Lyon-Text, Georgia, ui-serif, serif, 'Twemoji', 'Noto Color Emoji', 'Noto Serif CJK TC'; }
.pdf:lang(ko-KR) .serif { font-family: PT Serif, Lyon-Text, Georgia, ui-serif, serif, 'Twemoji', 'Noto Color Emoji', 'Noto Serif CJK KR'; }
.pdf .mono { font-family: PT Mono, iawriter-mono, Nitti, Menlo, Courier, monospace, 'Twemoji', 'Noto Color Emoji', 'Noto Sans Mono CJK JP'; }
.pdf:lang(zh-CN) .mono { font-family: PT Mono, iawriter-mono, Nitti, Menlo, Courier, monospace, 'Twemoji', 'Noto Color Emoji', 'Noto Sans Mono CJK SC'; }
.pdf:lang(zh-TW) .mono { font-family: PT Mono, iawriter-mono, Nitti, Menlo, Courier, monospace, 'Twemoji', 'Noto Color Emoji', 'Noto Sans Mono CJK TC'; }
.pdf:lang(ko-KR) .mono { font-family: PT Mono, iawriter-mono, Nitti, Menlo, Courier, monospace, 'Twemoji', 'Noto Color Emoji', 'Noto Sans Mono CJK KR'; }
.highlight-default {
	color: rgba(44, 44, 43, 1);
}
.highlight-gray {
	color: rgba(125, 122, 117, 1);
	fill: rgba(125, 122, 117, 1);
}
.highlight-brown {
	color: rgba(159, 118, 90, 1);
	fill: rgba(159, 118, 90, 1);
}
.highlight-orange {
	color: rgba(210, 123, 45, 1);
	fill: rgba(210, 123, 45, 1);
}
.highlight-yellow {
	color: rgba(203, 148, 52, 1);
	fill: rgba(203, 148, 52, 1);
}
.highlight-teal {
	color: rgba(80, 148, 110, 1);
	fill: rgba(80, 148, 110, 1);
}
.highlight-blue {
	color: rgba(56, 125, 201, 1);
	fill: rgba(56, 125, 201, 1);
}
.highlight-purple {
	color: rgba(154, 107, 180, 1);
	fill: rgba(154, 107, 180, 1);
}
.highlight-pink {
	color: rgba(193, 76, 138, 1);
	fill: rgba(193, 76, 138, 1);
}
.highlight-red {
	color: rgba(207, 81, 72, 1);
	fill: rgba(207, 81, 72, 1);
}
.highlight-default_background {
	color: rgba(44, 44, 43, 1);
}
.highlight-gray_background {
	background: rgba(42, 28, 0, 0.07);
}
.highlight-brown_background {
	background: rgba(139, 46, 0, 0.086);
}
.highlight-orange_background {
	background: rgba(224, 101, 1, 0.129);
}
.highlight-yellow_background {
	background: rgba(211, 168, 0, 0.137);
}
.highlight-teal_background {
	background: rgba(0, 100, 45, 0.09);
}
.highlight-blue_background {
	background: rgba(0, 124, 215, 0.094);
}
.highlight-purple_background {
	background: rgba(102, 0, 178, 0.078);
}
.highlight-pink_background {
	background: rgba(197, 0, 93, 0.086);
}
.highlight-red_background {
	background: rgba(223, 22, 0, 0.094);
}
.block-color-default {
	color: inherit;
	fill: inherit;
}
.block-color-gray {
	color: rgba(125, 122, 117, 1);
	fill: rgba(125, 122, 117, 1);
}
.block-color-brown {
	color: rgba(159, 118, 90, 1);
	fill: rgba(159, 118, 90, 1);
}
.block-color-orange {
	color: rgba(210, 123, 45, 1);
	fill: rgba(210, 123, 45, 1);
}
.block-color-yellow {
	color: rgba(203, 148, 52, 1);
	fill: rgba(203, 148, 52, 1);
}
.block-color-teal {
	color: rgba(80, 148, 110, 1);
	fill: rgba(80, 148, 110, 1);
}
.block-color-blue {
	color: rgba(56, 125, 201, 1);
	fill: rgba(56, 125, 201, 1);
}
.block-color-purple {
	color: rgba(154, 107, 180, 1);
	fill: rgba(154, 107, 180, 1);
}
.block-color-pink {
	color: rgba(193, 76, 138, 1);
	fill: rgba(193, 76, 138, 1);
}
.block-color-red {
	color: rgba(207, 81, 72, 1);
	fill: rgba(207, 81, 72, 1);
}
.block-color-default_background {
	color: inherit;
	fill: inherit;
}
.block-color-gray_background {
	background: rgba(240, 239, 237, 1);
}
.block-color-brown_background {
	background: rgba(245, 237, 233, 1);
}
.block-color-orange_background {
	background: rgba(251, 235, 222, 1);
}
.block-color-yellow_background {
	background: rgba(249, 243, 220, 1);
}
.block-color-teal_background {
	background: rgba(232, 241, 236, 1);
}
.block-color-blue_background {
	background: rgba(229, 242, 252, 1);
}
.block-color-purple_background {
	background: rgba(243, 235, 249, 1);
}
.block-color-pink_background {
	background: rgba(250, 233, 241, 1);
}
.block-color-red_background {
	background: rgba(252, 233, 231, 1);
}
.select-value-color-default { background-color: rgba(42, 28, 0, 0.07); }
.select-value-color-gray { background-color: rgba(28, 19, 1, 0.11); }
.select-value-color-brown { background-color: rgba(127, 51, 0, 0.156); }
.select-value-color-orange { background-color: rgba(196, 88, 0, 0.203); }
.select-value-color-yellow { background-color: rgba(209, 156, 0, 0.282); }
.select-value-color-green { background-color: rgba(0, 96, 38, 0.156); }
.select-value-color-blue { background-color: rgba(0, 118, 217, 0.203); }
.select-value-color-purple { background-color: rgba(92, 0, 163, 0.141); }
.select-value-color-pink { background-color: rgba(183, 0, 78, 0.152); }
.select-value-color-red { background-color: rgba(206, 24, 0, 0.164); }

.checkbox {
	display: inline-flex;
	vertical-align: text-bottom;
	width: 16;
	height: 16;
	background-size: 16px;
	margin-left: 2px;
	margin-right: 5px;
}

.checkbox-on {
	background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Crect%20width%3D%2216%22%20height%3D%2216%22%20fill%3D%22%2358A9D7%22%2F%3E%0A%3Cpath%20d%3D%22M6.71429%2012.2852L14%204.9995L12.7143%203.71436L6.71429%209.71378L3.28571%206.2831L2%207.57092L6.71429%2012.2852Z%22%20fill%3D%22white%22%2F%3E%0A%3C%2Fsvg%3E");
}

.checkbox-off {
	background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Crect%20x%3D%220.75%22%20y%3D%220.75%22%20width%3D%2214.5%22%20height%3D%2214.5%22%20fill%3D%22white%22%20stroke%3D%22%2336352F%22%20stroke-width%3D%221.5%22%2F%3E%0A%3C%2Fsvg%3E");
}
	

/* SPA Layout Styles */
* {
    box-sizing: border-box;
}

/* Accessibility - Skip to content link */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: rgb(55, 53, 47);
    color: white;
    padding: 0.5rem 1rem;
    text-decoration: none;
    z-index: 10000;
    border-radius: 0 0 4px 0;
}

.skip-to-content:focus {
    top: 0;
}

/* Accessibility - Focus indicators */
button:focus-visible,
a:focus-visible,
input:focus-visible {
    outline: 2px solid #4A90E2;
    outline-offset: 2px;
}

button:focus,
a:focus,
input:focus {
    outline: 2px solid #4A90E2;
    outline-offset: 2px;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI Variable Display", "Segoe UI", Helvetica, "Apple Color Emoji", Arial, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol";
}

.app-container {
    display: flex;
    min-height: 100vh;
    height: auto;
}

/* Sidebar Styles */
.sidebar {
    width: 280px;
    background: #f7f6f3;
    border-right: 1px solid rgba(55, 53, 47, 0.09);
    flex-shrink: 0;
    font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI Variable Display", "Segoe UI", Helvetica, "Apple Color Emoji", Arial, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol";
    position: sticky;
    top: 0;
    align-self: flex-start;
    max-height: 100vh;
    overflow-y: auto;
}

.sidebar-header {
    padding: 1.25rem 1rem;
    border-bottom: 1px solid rgba(55, 53, 47, 0.09);
    background: white;
    position: sticky;
    top: 0;
    z-index: 10;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.sidebar-header h2 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: rgb(55, 53, 47);
    letter-spacing: -0.01em;
}

.nav-list {
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
}

.nav-list li {
    list-style: none;
}

.nav-list li::before {
    content: none;
}

.nav-item {
    margin: 0;
}

.nav-link, .nav-section-header {
    display: flex;
    align-items: center;
    padding: 0.6rem 1rem;
    color: rgb(55, 53, 47);
    text-decoration: none;
    cursor: pointer;
    transition: background 0.1s;
    border-left: 3px solid transparent;
    pointer-events: auto;
    user-select: none;
}

.nav-link:hover, .nav-section-header:hover {
    border-left-color: rgba(55, 53, 47, 0.2);
}

.nav-link.active, .nav-section-header.active {
    border-left-color: rgb(55, 53, 47);
    background: rgba(55, 53, 47, 0.08);
    font-weight: 500;
}


.nav-icon {
    margin-right: 0.5rem;
    font-size: 1.1em;
    width: 1.2em;
    text-align: center;
}

.nav-title {
    flex: 1;
    font-size: 0.9rem;
    pointer-events: auto;
    cursor: pointer;
}

.nav-section {
    margin: 0;
}

.nav-section summary {
    list-style: none;
    cursor: pointer;
    user-select: none;
}

.nav-section summary::-webkit-details-marker {
    display: none;
}

.nav-sublist {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-left: 1.5rem;
    background: rgba(55, 53, 47, 0.02);
}

.nav-sublist li {
    list-style: none;
}

.nav-sublist li::before {
    content: none;
}

.nav-sublist li::marker {
    display: none;
}

.nav-sublist .nav-link {
    padding-left: 1rem;
    font-size: 0.85rem;
}

.nav-sublist .nav-sublist {
    margin-left: 1.5rem;
    background: rgba(55, 53, 47, 0.01);
}

.nav-sublist .nav-sublist .nav-link {
    padding-left: 1rem;
}

/* Main Content Styles */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #fafafa;
    min-height: 100vh;
}

.nav-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    border-bottom: 1px solid rgba(55, 53, 47, 0.09);
    background: #fafafa;
    position: sticky;
    top: 0;
    z-index: 5;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    flex-shrink: 0;
}

.nav-buttons-bottom {
    border-top: 1px solid rgba(55, 53, 47, 0.09);
    border-bottom: none;
    margin-top: auto;
    background: #fafafa;
    box-shadow: 0 -1px 3px rgba(0,0,0,0.05);
    flex-shrink: 0;
}

.nav-btn {
    padding: 0.6rem 1.2rem;
    background: rgb(55, 53, 47);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.2s, transform 0.1s;
}

.nav-btn:active:not(:disabled) {
    transform: scale(0.98);
}

.nav-btn:hover:not(:disabled) {
    background: rgba(55, 53, 47, 0.8);
}

.nav-btn:disabled {
    background: rgba(55, 53, 47, 0.3);
    cursor: not-allowed;
    opacity: 0.5;
}

.nav-info {
    font-size: 0.9rem;
    color: rgba(55, 53, 47, 0.6);
}

.content-wrapper {
    flex: 1;
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    padding: 2.5rem 2rem;
    max-width: 1520px;
    margin: 0 auto;
    width: 100%;
}

.content-container {
    flex: 1;
    min-width: 0;
    background: white;
    line-height: 1.6;
    position: relative;
}

/* Smooth scrolling for the page */
html {
    scroll-behavior: smooth;
}

.content-container .loading,
.content-container .error {
    text-align: center;
    padding: 3rem;
    color: rgba(55, 53, 47, 0.6);
}

.content-container .error {
    color: #cf5150;
}

/* Override Notion body styles for content area */
.content-container article {
    margin: 0 !important;
    max-width: none !important;
    padding: 0;
}

.content-container article .page-body {
    max-width: none !important;
    margin: 0;
}

/* Ensure content doesn't have pre-wrap which breaks layout */
.content-container article,
.content-container article * {
    white-space: normal;
}

.content-container article [style*="white-space:pre-wrap"] {
    white-space: pre-wrap !important;
}

/* Image styling in content */
.content-container img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.content-container .page-cover-image {
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .app-container {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        max-height: 40vh;
        border-right: none;
        border-bottom: 1px solid rgba(55, 53, 47, 0.09);
    }
    
    .content-wrapper {
        padding: 1rem;
        flex-direction: column;
        max-width: 100%;
    }
    
    .content-container {
        padding: 0;
    }
    
    .table-of-contents {
        position: relative;
        top: 0;
        width: 100%;
        max-height: 300px;
        margin-bottom: 1rem;
    }
    
    .page-actions {
        position: relative;
        top: 0;
        right: 0;
        margin-bottom: 1rem;
        justify-content: flex-start;
    }
    
    .nav-buttons {
        padding: 0.75rem 1rem;
    }
    
    .nav-btn {
        padding: 0.4rem 0.75rem;
        font-size: 0.85rem;
    }
}

/* Search Styles */
.search-container {
    margin-top: 0.75rem;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid rgba(55, 53, 47, 0.2);
    border-radius: 4px;
    font-size: 0.9rem;
    font-family: inherit;
    background: white;
}

.search-input:focus {
    outline: none;
    border-color: rgb(55, 53, 47);
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid rgba(55, 53, 47, 0.2);
    border-top: none;
    border-radius: 0 0 4px 4px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 100;
    display: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.search-results-visible {
    display: block;
}

.search-result-item {
    padding: 0.75rem;
    cursor: pointer;
    border-bottom: 1px solid rgba(55, 53, 47, 0.1);
    transition: background 0.1s;
}

.search-result-item:hover {
    background: rgba(55, 53, 47, 0.05);
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-title {
    font-size: 0.9rem;
    color: rgb(55, 53, 47);
}

.search-result-title mark {
    background: rgba(255, 235, 59, 0.5);
    padding: 0 2px;
    border-radius: 2px;
}

.search-no-results {
    padding: 0.75rem;
    color: rgba(55, 53, 47, 0.5);
    font-size: 0.85rem;
    text-align: center;
}

/* Breadcrumbs */
.breadcrumbs {
    padding: 0.75rem 2rem;
    background: #fafafa;
    border-bottom: 1px solid rgba(55, 53, 47, 0.09);
    font-size: 0.85rem;
    flex-shrink: 0;
}

.breadcrumb-item {
    color: rgba(55, 53, 47, 0.6);
    text-decoration: none;
    transition: color 0.1s;
}

.breadcrumb-item:hover {
    color: rgb(55, 53, 47);
    text-decoration: underline;
}

.breadcrumb-item.breadcrumb-current {
    color: rgb(55, 53, 47);
    font-weight: 500;
}

.breadcrumb-separator {
    margin: 0 0.5rem;
    color: rgba(55, 53, 47, 0.4);
}

/* Progress Bar */
.nav-info-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.progress-bar-container {
    width: 200px;
    height: 4px;
    background: rgba(55, 53, 47, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: rgb(55, 53, 47);
    transition: width 0.3s ease;
    width: 0%;
}

/* Mobile Sidebar Toggle */
.sidebar-toggle {
    display: none;
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 1000;
    background: rgb(55, 53, 47);
    border: none;
    border-radius: 4px;
    width: 40px;
    height: 40px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    padding: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.sidebar-toggle span {
    width: 20px;
    height: 2px;
    background: white;
    border-radius: 1px;
    transition: all 0.3s;
}

@media (max-width: 768px) {
    .sidebar-toggle {
        display: flex;
    }
    
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        position: fixed;
        height: 100vh;
        z-index: 999;
    }
    
    .sidebar.sidebar-open {
        transform: translateX(0);
    }
    
    body.sidebar-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 998;
    }
}

/* Help Modal */
.help-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(55, 53, 47, 0.2);
    background: white;
    color: rgb(55, 53, 47);
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.help-btn:hover {
    background: rgba(55, 53, 47, 0.05);
    border-color: rgb(55, 53, 47);
}

.help-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.help-modal-visible {
    display: flex;
}

.help-modal-content {
    background: white;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.help-modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(55, 53, 47, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.help-modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
}

.help-modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    color: rgba(55, 53, 47, 0.6);
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background 0.2s;
}

.help-modal-close:hover {
    background: rgba(55, 53, 47, 0.1);
}

.help-modal-body {
    padding: 1.5rem;
}

.help-shortcut-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(55, 53, 47, 0.1);
}

.help-shortcut-item:last-child {
    border-bottom: none;
}

.help-shortcut-item kbd {
    background: rgba(55, 53, 47, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-family: ui-monospace, monospace;
    font-size: 0.9rem;
    min-width: 32px;
    text-align: center;
    border: 1px solid rgba(55, 53, 47, 0.2);
}

.help-shortcut-item span {
    flex: 1;
    color: rgb(55, 53, 47);
}

/* Skeleton Loader */
.loading-skeleton {
    padding: 2rem;
}

.skeleton-line {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s ease-in-out infinite;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.skeleton-title {
    height: 2rem;
    width: 60%;
    margin-bottom: 1.5rem;
}

.skeleton-text {
    height: 1rem;
    width: 100%;
}

.skeleton-text-short {
    height: 1rem;
    width: 70%;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Error Retry Button */
.error-retry-btn {
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: rgb(55, 53, 47);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.2s;
}

.error-retry-btn:hover {
    background: rgba(55, 53, 47, 0.8);
}

/* Table of Contents */

.table-of-contents {
    position: sticky;
    top: 120px;
    width: 250px;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
    flex-shrink: 0;
    padding: 1rem;
    background: #fafafa;
    border-radius: 8px;
    display: none;
    align-self: flex-start;
}

.table-of-contents .toc-header {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    color: rgb(55, 53, 47);
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(55, 53, 47, 0.1);
}

.table-of-contents .toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.table-of-contents .toc-item {
    margin: 0.25rem 0;
}

.table-of-contents .toc-link {
    display: block;
    padding: 0.4rem 0.5rem;
    color: rgba(55, 53, 47, 0.7);
    text-decoration: none;
    font-size: 0.85rem;
    border-radius: 4px;
    transition: all 0.15s;
}

.table-of-contents .toc-link:hover {
    background: rgba(55, 53, 47, 0.05);
    color: rgb(55, 53, 47);
}

.table-of-contents .toc-level-1 .toc-link {
    font-weight: 500;
    padding-left: 0.5rem;
}

.table-of-contents .toc-level-2 .toc-link {
    padding-left: 1rem;
}

.table-of-contents .toc-level-3 .toc-link {
    padding-left: 1.5rem;
    font-size: 0.8rem;
}

/* Page Actions */
.page-actions {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.page-action-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(55, 53, 47, 0.2);
    background: white;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.page-action-btn:hover {
    background: rgba(55, 53, 47, 0.05);
    transform: scale(1.1);
}

.page-action-btn.bookmarked {
    background: rgba(255, 235, 59, 0.2);
}

.page-action-btn.copied {
    background: rgba(76, 175, 80, 0.2);
}

/* Image Lightbox */
.image-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 3000;
    align-items: center;
    justify-content: center;
}

.image-lightbox.lightbox-visible {
    display: flex;
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 2.5rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 3rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s;
    display: none;
    align-items: center;
    justify-content: center;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lightbox-prev {
    left: 2rem;
}

.lightbox-next {
    right: 2rem;
}

#lightbox-image {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox-caption {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    background: rgba(0, 0, 0, 0.7);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    max-width: 80%;
    text-align: center;
}

/* Jump to Top Button */
.jump-to-top-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgb(55, 53, 47);
    color: white;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.jump-to-top-btn.jump-top-visible {
    opacity: 1;
    visibility: visible;
}

.jump-to-top-btn:hover {
    background: rgba(55, 53, 47, 0.8);
    transform: translateY(-4px);
}

/* Reading Time */
.reading-time {
    font-size: 0.8rem;
    color: rgba(55, 53, 47, 0.5);
    margin-left: 0.5rem;
}

/* Theme Toggle & Font Size Controls */
.nav-buttons-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.theme-toggle-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(55, 53, 47, 0.2);
    background: white;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.theme-toggle-btn:hover {
    background: rgba(55, 53, 47, 0.05);
    border-color: rgb(55, 53, 47);
}

.font-size-controls {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    border: 1px solid rgba(55, 53, 47, 0.2);
    border-radius: 4px;
    padding: 0.25rem;
    background: white;
}

.font-size-btn {
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    color: rgb(55, 53, 47);
    font-size: 0.9rem;
    cursor: pointer;
    border-radius: 3px;
    transition: background 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.font-size-btn:hover {
    background: rgba(55, 53, 47, 0.1);
}

.font-size-btn:active {
    background: rgba(55, 53, 47, 0.2);
}

/* Search Result Snippets */
.search-result-snippet {
    font-size: 0.8rem;
    color: rgba(55, 53, 47, 0.6);
    margin-top: 0.25rem;
    line-height: 1.4;
}

.search-result-snippet mark {
    background: rgba(255, 235, 59, 0.5);
    padding: 0 2px;
    border-radius: 2px;
}

/* Dark Mode */
body.dark-mode {
    background: #1a1a1a;
    color: #e0e0e0;
}

body.dark-mode .sidebar {
    background: #2a2a2a;
    border-right-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .sidebar-header {
    background: #222;
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .sidebar-header h2 {
    color: #e0e0e0;
}

body.dark-mode .nav-link,
body.dark-mode .nav-section-header {
    color: #e0e0e0;
}

body.dark-mode .nav-link:hover,
body.dark-mode .nav-section-header:hover {
    border-left-color: rgba(255, 255, 255, 0.3);
}

body.dark-mode .nav-link.active,
body.dark-mode .nav-section-header.active {
    background: rgba(255, 255, 255, 0.1);
    border-left-color: #e0e0e0;
}

body.dark-mode .main-content {
    background: #1a1a1a;
}

body.dark-mode .nav-buttons {
    background: #222;
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .content-container {
    background: #222;
    color: #e0e0e0;
}

body.dark-mode .breadcrumbs {
    background: #222;
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .breadcrumb-item {
    color: rgba(255, 255, 255, 0.7);
}

body.dark-mode .breadcrumb-item:hover {
    color: #e0e0e0;
}

body.dark-mode .breadcrumb-item.breadcrumb-current {
    color: #e0e0e0;
}

body.dark-mode .table-of-contents {
    background: #2a2a2a;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-mode .table-of-contents .toc-header {
    color: #e0e0e0;
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .table-of-contents .toc-link {
    color: rgba(255, 255, 255, 0.7);
}

body.dark-mode .table-of-contents .toc-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #e0e0e0;
}

body.dark-mode .search-input {
    background: #222;
    border-color: rgba(255, 255, 255, 0.2);
    color: #e0e0e0;
}

body.dark-mode .search-results {
    background: #2a2a2a;
    border-color: rgba(255, 255, 255, 0.2);
}

body.dark-mode .search-result-item {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .search-result-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

body.dark-mode .search-result-title {
    color: #e0e0e0;
}

body.dark-mode .help-btn,
body.dark-mode .theme-toggle-btn {
    background: #2a2a2a;
    border-color: rgba(255, 255, 255, 0.2);
    color: #e0e0e0;
}

body.dark-mode .font-size-controls {
    background: #2a2a2a;
    border-color: rgba(255, 255, 255, 0.2);
}

body.dark-mode .font-size-btn {
    color: #e0e0e0;
}

body.dark-mode .font-size-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

body.dark-mode .page-action-btn {
    background: #2a2a2a;
    border-color: rgba(255, 255, 255, 0.2);
}

body.dark-mode .page-action-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

body.dark-mode .jump-to-top-btn {
    background: #2a2a2a;
    color: #e0e0e0;
}

body.dark-mode .jump-to-top-btn:hover {
    background: #3a3a3a;
}

body.dark-mode code {
    background: rgba(255, 255, 255, 0.1);
    color: #ff6b6b;
}

body.dark-mode .code {
    background: rgba(255, 255, 255, 0.05);
}

body.dark-mode blockquote {
    border-left-color: rgba(255, 255, 255, 0.3);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .table-of-contents {
        position: relative;
        top: 0;
        width: 100%;
        max-height: 300px;
        margin-bottom: 1rem;
    }
}

/* Code Block Styling */
.code-block {
    background: rgba(55, 53, 47, 0.05);
    border: 1px solid rgba(55, 53, 47, 0.1);
    border-radius: 4px;
    padding: 1rem;
    margin: 1rem 0;
    overflow-x: auto;
    font-family: ui-monospace, 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
    font-size: 0.9em;
    line-height: 1.5;
}

.code-block code {
    background: transparent;
    padding: 0;
    color: inherit;
    font-size: inherit;
}

.inline-code {
    background: rgba(55, 53, 47, 0.1);
    padding: 0.15em 0.4em;
    border-radius: 3px;
    font-family: ui-monospace, 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
    font-size: 0.9em;
}

body.dark-mode .code-block {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .inline-code {
    background: rgba(255, 255, 255, 0.1);
}

/* Print Styles */
@media print {
    @page {
        margin: 0.75in;
        size: letter;
    }
    
    .skip-to-content,
    .sidebar,
    .nav-buttons,
    .breadcrumbs,
    .sidebar-toggle,
    .help-btn,
    .theme-toggle-btn,
    .font-size-controls,
    .page-actions,
    .jump-to-top-btn,
    .table-of-contents {
        display: none !important;
    }
    
    .app-container {
        display: block;
    }
    
    .main-content {
        width: 100%;
        margin: 0;
        padding: 0;
    }
    
    .content-wrapper {
        padding: 0;
        max-width: 100%;
    }
    
    .content-container {
        padding: 0;
        max-width: 100%;
        background: white;
        color: black;
    }
    
    /* Ensure good print layout */
    body {
        background: white;
        color: black;
    }
    
    a {
        color: black;
        text-decoration: underline;
    }
    
    a[href^="http"]:after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
        color: #666;
    }
    
    /* Page breaks */
    h1, h2, h3 {
        page-break-after: avoid;
    }
    
    img {
        max-width: 100%;
        page-break-inside: avoid;
    }
    
    table {
        page-break-inside: avoid;
    }
    
    .code-block {
        page-break-inside: avoid;
        background: #f5f5f5;
        border: 1px solid #ddd;
    }
    
    /* Remove shadows and backgrounds */
    * {
        box-shadow: none !important;
        text-shadow: none !important;
    }
}
