*, ::before, ::after {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

::backdrop {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}/*
! tailwindcss v3.4.18 | MIT License | https://tailwindcss.com
*//*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/

*,
::before,
::after {
  box-sizing: border-box; /* 1 */
  border-width: 0; /* 2 */
  border-style: solid; /* 2 */
  border-color: #e5e7eb; /* 2 */
}

::before,
::after {
  --tw-content: '';
}

/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
7. Disable tap highlights on iOS
*/

html,
:host {
  line-height: 1.5; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
  -moz-tab-size: 4; /* 3 */
  -o-tab-size: 4;
     tab-size: 4; /* 3 */
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; /* 4 */
  font-feature-settings: normal; /* 5 */
  font-variation-settings: normal; /* 6 */
  -webkit-tap-highlight-color: transparent; /* 7 */
}

/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/

body {
  margin: 0; /* 1 */
  line-height: inherit; /* 2 */
}

/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/

hr {
  height: 0; /* 1 */
  color: inherit; /* 2 */
  border-top-width: 1px; /* 3 */
}

/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/

abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

/*
Remove the default font size and weight for headings.
*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

/*
Reset links to optimize for opt-in styling instead of opt-out.
*/

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

/*
Add the correct font weight in Edge and Safari.
*/

b,
strong {
  font-weight: bolder;
}

/*
1. Use the user's configured `mono` font-family by default.
2. Use the user's configured `mono` font-feature-settings by default.
3. Use the user's configured `mono` font-variation-settings by default.
4. Correct the odd `em` font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; /* 1 */
  font-feature-settings: normal; /* 2 */
  font-variation-settings: normal; /* 3 */
  font-size: 1em; /* 4 */
}

/*
Add the correct font size in all browsers.
*/

small {
  font-size: 80%;
}

/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/

table {
  text-indent: 0; /* 1 */
  border-color: inherit; /* 2 */
  border-collapse: collapse; /* 3 */
}

/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-feature-settings: inherit; /* 1 */
  font-variation-settings: inherit; /* 1 */
  font-size: 100%; /* 1 */
  font-weight: inherit; /* 1 */
  line-height: inherit; /* 1 */
  letter-spacing: inherit; /* 1 */
  color: inherit; /* 1 */
  margin: 0; /* 2 */
  padding: 0; /* 3 */
}

/*
Remove the inheritance of text transform in Edge and Firefox.
*/

button,
select {
  text-transform: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/

button,
input:where([type='button']),
input:where([type='reset']),
input:where([type='submit']) {
  -webkit-appearance: button; /* 1 */
  background-color: transparent; /* 2 */
  background-image: none; /* 2 */
}

/*
Use the modern Firefox focus style for all focusable elements.
*/

:-moz-focusring {
  outline: auto;
}

/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/

:-moz-ui-invalid {
  box-shadow: none;
}

/*
Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
  vertical-align: baseline;
}

/*
Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/

[type='search'] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/*
Remove the inner padding in Chrome and Safari on macOS.
*/

::-webkit-search-decoration {
  -webkit-appearance: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/*
Add the correct display in Chrome and Safari.
*/

summary {
  display: list-item;
}

/*
Removes the default spacing and border for appropriate elements.
*/

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

/*
Reset default styling for dialogs.
*/
dialog {
  padding: 0;
}

/*
Prevent resizing textareas horizontally by default.
*/

textarea {
  resize: vertical;
}

/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/

input::-moz-placeholder, textarea::-moz-placeholder {
  opacity: 1; /* 1 */
  color: #9ca3af; /* 2 */
}

input::placeholder,
textarea::placeholder {
  opacity: 1; /* 1 */
  color: #9ca3af; /* 2 */
}

/*
Set the default cursor for buttons.
*/

button,
[role="button"] {
  cursor: pointer;
}

/*
Make sure disabled buttons don't get the pointer cursor.
*/
:disabled {
  cursor: default;
}

/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block; /* 1 */
  vertical-align: middle; /* 2 */
}

/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/

img,
video {
  max-width: 100%;
  height: auto;
}

/* Make elements with the HTML hidden attribute stay hidden by default */
[hidden]:where(:not([hidden="until-found"])) {
  display: none;
}
  :root {
    --background: 0 0% 100%;
    --foreground: 222.2 84% 4.9%;
  }

  [data-theme="dark"] {
    --background: 222.2 47.4% 11.2%;
    --foreground: 210 40% 98%;
  }

  body {
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
    margin: 0;
    padding: 0;
    overflow: hidden;
    transition:
      background-color 0.2s ease,
      color 0.2s ease;
  }

  .content-scroll-container {
    height: calc(100dvh - 48px);
    margin-top: 48px;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    transition:
      margin-top 0.3s ease,
      height 0.3s ease;
    background-color: white;
  }

  [data-theme="dark"] .content-scroll-container {
    background-color: hsl(var(--background));
  }
.prose {
    max-width: 65ch;
    margin-left: auto;
    margin-right: auto;
  }
.prose h1 {
    font-size: 2.25em;
    font-weight: 800;
    margin-top: 0;
    margin-bottom: 0.8888889em;
  }
.prose h2 {
    font-size: 1.5em;
    font-weight: 700;
    margin-top: 2em;
    margin-bottom: 1em;
  }
.prose h3 {
    font-size: 1.25em;
    font-weight: 600;
    margin-top: 1.6em;
    margin-bottom: 0.6em;
  }
.prose p {
    margin-top: 1.25em;
    margin-bottom: 1.25em;
  }
.prose strong {
    font-weight: 600;
  }
.prose em {
    font-style: italic;
  }
.prose code {
    font-size: 0.875em;
    background-color: #f3f4f6;
    padding: 0.125em 0.25em;
    border-radius: 0.25em;
  }
.prose pre {
    background-color: #f3f4f6;
    padding: 1em;
    border-radius: 0.5em;
    overflow-x: auto;
  }
.prose ul,
  .prose ol {
    margin-top: 1.25em;
    margin-bottom: 1.25em;
    padding-left: 1.625em;
  }
.prose li {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
  }
.chapter-header {
    margin-top: 3em;
    margin-bottom: 2em;
    max-width: 65ch;
    margin-left: auto;
    margin-right: auto;
  }
.chapter-title {
    font-size: 2em;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 0.5em;
    letter-spacing: 0.01em;
    text-align: center;
    font-family: Georgia, "Times New Roman", serif;
    position: relative;
  }
[data-theme="dark"] .chapter-title {
    color: hsl(var(--foreground));
  }
.chapter-divider {
    display: none;
  }
.passage {
    margin-bottom: 3em;
    max-width: 65ch;
    margin-left: auto;
    margin-right: auto;
  }
.passage-title {
    font-size: 1.25em;
    font-weight: 600;
    color: #1e293b;
    margin-top: 2em;
    margin-bottom: 1.5em;
    letter-spacing: 0.01em;
    font-family: Georgia, "Times New Roman", serif;
    margin-left: -0.5em;
  }
[data-theme="dark"] .passage-title {
    color: hsl(var(--foreground));
  }
.story-end-marker {
    max-width: 65ch;
    margin: 4em auto 2em;
    text-align: center;
  }
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid #e2e8f0;
    z-index: 1000;
    transition:
      height 0.3s ease,
      background-color 0.2s ease,
      border-color 0.2s ease;
    height: 48px;
    overflow: hidden;
  }
[data-theme="dark"] .top-bar {
    background: hsl(var(--background));
    border-bottom-color: #475569;
  }
.top-bar.expanded {
    height: auto;
  }
.top-bar-content {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    height: 48px;
    min-height: 48px;
    position: relative;
    overflow: visible;
  }
.top-bar.expanded .top-bar-content {
    height: auto;
    min-height: auto;
    align-items: flex-start;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }
.top-bar-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
  }
.top-bar-menu-container {
    position: relative;
    flex-shrink: 0;
    overflow: visible;
    z-index: 10001;
    display: flex;
    align-items: center;
    gap: 0.25rem;
  }
.top-bar-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.5;
  }
[data-theme="dark"] .top-bar-title {
    color: hsl(var(--foreground));
  }
.chapter-title-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    flex-wrap: wrap;
  }
.chapter-title-controls .top-bar-title {
    flex: 1 1 auto;
    text-align: center;
    min-width: 120px;
  }
.chapter-title-controls .skip-button {
    flex-shrink: 0;
  }
@media (max-width: 640px) {
    .chapter-title-controls {
      flex-direction: column;
      align-items: stretch;
    }

    .chapter-title-controls .skip-button {
      width: 100%;
      justify-content: center;
    }

    .chapter-title-controls .top-bar-title {
      text-align: left;
      min-width: 0;
      width: 100%;
    }
  }
.top-bar-play-button {
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.3s ease;
    margin-top: 0;
    padding: 0;
  }
.top-bar-play-button.expanded {
    width: 56px;
    height: 56px;
  }
.top-bar-play-button .play-icon,
  .top-bar-play-button .pause-icon {
    width: 16px;
    height: 16px;
  }
.top-bar-play-button.expanded .play-icon,
  .top-bar-play-button.expanded .pause-icon {
    width: 24px;
    height: 24px;
  }
.top-bar-play-button:hover {
    background: #2563eb;
  }
.hamburger-menu-button {
    background: transparent;
    color: #1e293b;
    border: none;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.25rem;
    border-radius: 0.375rem;
    transition: background-color 0.2s;
  }
.hamburger-menu-button:hover {
    background: #f1f5f9;
  }
[data-theme="dark"] .hamburger-menu-button {
    color: hsl(var(--foreground));
  }
[data-theme="dark"] .hamburger-menu-button:hover {
    background: #1e293b;
  }
.menu-dropdown {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 0.375rem;
    box-shadow:
      0 4px 6px -1px rgba(0, 0, 0, 0.1),
      0 2px 4px -1px rgba(0, 0, 0, 0.06);
    min-width: 150px;
    z-index: 10000;
    padding: 0.25rem 0;
    transition:
      background-color 0.2s ease,
      border-color 0.2s ease;
  }
[data-theme="dark"] .menu-dropdown {
    background: hsl(var(--background));
    border-color: #475569;
    box-shadow:
      0 4px 6px -1px rgba(0, 0, 0, 0.3),
      0 2px 4px -1px rgba(0, 0, 0, 0.2);
  }
.menu-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    color: #1e293b;
    text-decoration: none;
    font-size: 0.875rem;
    transition:
      background-color 0.2s,
      color 0.2s;
  }
[data-theme="dark"] .menu-link {
    color: hsl(var(--foreground));
  }
.menu-link:hover {
    background: #f8fafc;
    color: #3b82f6;
  }
.menu-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
  }
[data-theme="dark"] .menu-link:hover {
    background: #1e293b;
    color: #60a5fa;
  }
.menu-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 0.25rem 0;
  }
[data-theme="dark"] .menu-divider {
    background: #475569;
  }
.menu-section-title {
    padding: 0.5rem 1rem 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }
[data-theme="dark"] .menu-section-title {
    color: #94a3b8;
  }
.theme-option {
    width: 100%;
    text-align: left;
    border: none;
    background: none;
    cursor: pointer;
  }
.theme-option.active {
    background: #eff6ff;
    color: #1e40af;
    font-weight: 600;
  }
[data-theme="dark"] .theme-option.active {
    background: #1e3a8a;
    color: #93c5fd;
  }
.progress-container {
    width: 100%;
    margin-top: 0.375rem;
    margin-bottom: 0.125rem;
  }
.progress-slider {
    width: 100%;
    height: 6px;
    cursor: pointer;
  }
.time-controls {
    display: none;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.25rem;
  }
.skip-button {
    background: white;
    color: #1e293b;
    border: 1px solid #cbd5e1;
    border-radius: 9999px;
    padding: 0.25rem 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 500;
    transition: all 0.2s;
    white-space: nowrap;
  }
.skip-button:hover {
    background: #f8fafc;
    border-color: #94a3b8;
  }
.skip-button:active {
    background: #f1f5f9;
  }
.skip-icon {
    flex-shrink: 0;
  }
.skip-text {
    font-size: 0.75rem;
    font-weight: 600;
  }
.time-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.25rem;
  }
.skip-button {
    background: white;
    border: 1px solid #cbd5e1;
    border-radius: 9999px;
    padding: 0.25rem 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.75rem;
    color: #475569;
  }
.skip-button:hover {
    border-color: #3b82f6;
    color: #3b82f6;
    background: #f8fafc;
  }
.skip-button:active {
    background: #f1f5f9;
  }
.skip-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
  }
.skip-icon {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
  }
.skip-text {
    font-weight: 600;
    font-variant-numeric: tabular-nums;
  }
[data-theme="dark"] .skip-button:disabled {
    opacity: 0.35;
  }
.time-display {
    font-size: 0.875rem;
    color: #475569;
    font-variant-numeric: tabular-nums;
    line-height: 1.5;
    white-space: nowrap;
    min-width: 80px;
    text-align: center;
  }
[data-theme="dark"] .skip-button {
    background: hsl(var(--background));
    border-color: #475569;
    color: hsl(var(--foreground));
  }
[data-theme="dark"] .skip-button:hover {
    background: #1e293b;
    border-color: #60a5fa;
    color: #60a5fa;
  }
[data-theme="dark"] .skip-button:active {
    background: #334155;
  }
[data-theme="dark"] .time-display {
    color: #94a3b8;
  }
.download-link {
    display: inline-block;
    margin-top: 1em;
    color: #3b82f6;
    text-decoration: underline;
  }
.download-link:hover {
    color: #2563eb;
  }
.summary {
  margin-top: 1rem;
    max-width: 65ch;
    margin-left: auto;
    margin-right: auto;
}
.title-page {
    max-width: 65ch;
    margin-left: auto;
    margin-right: auto;
  }
.title-page h1 {
    font-size: 2em;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1em;
    letter-spacing: 0.01em;
    font-family: Georgia, "Times New Roman", serif;
    margin-left: -0.5em;
  }
[data-theme="dark"] .title-page h1,
  [data-theme="dark"] .title-page h2,
  [data-theme="dark"] .title-page p {
    color: hsl(var(--foreground));
  }
[data-theme="dark"] .prose,
  [data-theme="dark"] .prose p,
  [data-theme="dark"] .prose li,
  [data-theme="dark"] .prose h1,
  [data-theme="dark"] .prose h2,
  [data-theme="dark"] .prose h3,
  [data-theme="dark"] .prose h4,
  [data-theme="dark"] .prose h5,
  [data-theme="dark"] .prose h6 {
    color: hsl(var(--foreground));
  }
[data-theme="dark"] .prose code {
    background-color: #1e293b;
    color: #e2e8f0;
  }
[data-theme="dark"] .prose pre {
    background-color: #1e293b;
    color: #e2e8f0;
  }
/* Feedback Modal */
.feedback-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 1rem;
  }
[data-theme="dark"] .feedback-modal {
    background: rgba(0, 0, 0, 0.7);
  }
.feedback-modal-content {
    background: white;
    border-radius: 0.5rem;
    box-shadow:
      0 20px 25px -5px rgba(0, 0, 0, 0.1),
      0 10px 10px -5px rgba(0, 0, 0, 0.04);
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    transition: background-color 0.2s ease;
  }
[data-theme="dark"] .feedback-modal-content {
    background: hsl(var(--background));
    border: 1px solid #475569;
  }
.feedback-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #e2e8f0;
  }
[data-theme="dark"] .feedback-modal-header {
    border-bottom-color: #475569;
  }
.feedback-modal-header h2 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
  }
[data-theme="dark"] .feedback-modal-header h2 {
    color: hsl(var(--foreground));
  }
.feedback-close-button {
    background: none;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    color: #64748b;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.375rem;
    transition: all 0.2s;
  }
.feedback-close-button:hover {
    background: #f1f5f9;
    color: #1e293b;
  }
[data-theme="dark"] .feedback-close-button {
    color: #94a3b8;
  }
[data-theme="dark"] .feedback-close-button:hover {
    background: #1e293b;
    color: hsl(var(--foreground));
  }
.feedback-modal-body {
    padding: 1.5rem;
    flex: 1;
    overflow-y: auto;
  }
.feedback-mode-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
  }
.feedback-mode-toggle-button {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    background: white;
    border: 1px solid #cbd5e1;
    border-radius: 0.375rem;
    color: #475569;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
  }
.feedback-mode-toggle-button:hover {
    border-color: #3b82f6;
    color: #3b82f6;
  }
.feedback-mode-toggle-button.active {
    background: #3b82f6;
    border-color: #3b82f6;
    color: white;
  }
[data-theme="dark"] .feedback-mode-toggle-button {
    background: hsl(var(--background));
    border-color: #475569;
    color: hsl(var(--foreground));
  }
[data-theme="dark"] .feedback-mode-toggle-button:hover {
    border-color: #60a5fa;
    color: #60a5fa;
  }
[data-theme="dark"] .feedback-mode-toggle-button.active {
    background: #3b82f6;
    border-color: #3b82f6;
    color: white;
  }
.feedback-voice-container,
  .feedback-text-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
.feedback-record-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 0.375rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
  }
.feedback-record-button:hover {
    background: #2563eb;
  }
.feedback-record-button:active {
    background: #1d4ed8;
  }
.feedback-recording-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem;
    color: #dc2626;
    font-size: 0.875rem;
    font-weight: 500;
  }
.feedback-recording-dot {
    animation: pulse 1.5s ease-in-out infinite;
  }
.feedback-recording-summary {
    display: none;
    justify-content: center;
    align-items: center;
    padding: 0.5rem;
    border-radius: 0.375rem;
    border: 1px solid #bbf7d0;
    background: #f0fdf4;
    color: #15803d;
    font-size: 0.875rem;
    font-weight: 500;
    text-align: center;
  }
[data-theme="dark"] .feedback-recording-summary {
    border-color: rgba(34, 197, 94, 0.4);
    background: rgba(15, 118, 110, 0.2);
    color: #a7f3d0;
  }
.feedback-status-message {
    display: none;
    margin: 0.75rem 1.5rem 0;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    background: #e2e8f0;
    color: #0f172a;
  }
.feedback-status-message[data-variant="success"] {
    background: #dcfce7;
    color: #166534;
  }
.feedback-status-message[data-variant="error"] {
    background: #fee2e2;
    color: #991b1b;
  }
.feedback-status-message[data-variant="info"] {
    background: #dbeafe;
    color: #1d4ed8;
  }
[data-theme="dark"] .feedback-status-message {
    background: rgba(148, 163, 184, 0.15);
    color: #e2e8f0;
  }
[data-theme="dark"] .feedback-status-message[data-variant="success"] {
    background: rgba(74, 222, 128, 0.15);
    color: #bbf7d0;
  }
[data-theme="dark"] .feedback-status-message[data-variant="error"] {
    background: rgba(248, 113, 113, 0.15);
    color: #fecaca;
  }
[data-theme="dark"] .feedback-status-message[data-variant="info"] {
    background: rgba(59, 130, 246, 0.15);
    color: #bfdbfe;
  }
@keyframes pulse {
    0%,
    100% {
      opacity: 1;
    }
    50% {
      opacity: 0.5;
    }
  }
.feedback-text-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-family: inherit;
    resize: vertical;
    background: white;
    color: #1e293b;
    transition: all 0.2s;
  }
.feedback-text-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
  }
[data-theme="dark"] .feedback-text-input {
    background: #1e293b;
    border-color: #475569;
    color: hsl(var(--foreground));
  }
[data-theme="dark"] .feedback-text-input:focus {
    border-color: #60a5fa;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.1);
  }
.feedback-text-input::-moz-placeholder {
    color: #94a3b8;
  }
.feedback-text-input::placeholder {
    color: #94a3b8;
  }
[data-theme="dark"] .feedback-text-input::-moz-placeholder {
    color: #64748b;
  }
[data-theme="dark"] .feedback-text-input::placeholder {
    color: #64748b;
  }
.feedback-modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem;
    border-top: 1px solid #e2e8f0;
  }
[data-theme="dark"] .feedback-modal-footer {
    border-top-color: #475569;
  }
.feedback-cancel-button,
  .feedback-submit-button {
    padding: 0.625rem 1.25rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
  }
.feedback-cancel-button {
    background: white;
    color: #475569;
    border: 1px solid #cbd5e1;
  }
.feedback-cancel-button:hover {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #1e293b;
  }
[data-theme="dark"] .feedback-cancel-button {
    background: hsl(var(--background));
    border-color: #475569;
    color: hsl(var(--foreground));
  }
[data-theme="dark"] .feedback-cancel-button:hover {
    background: #1e293b;
    border-color: #60a5fa;
    color: #60a5fa;
  }
.feedback-submit-button {
    background: #3b82f6;
    color: white;
  }
.feedback-submit-button:hover:not(:disabled) {
    background: #2563eb;
  }
.feedback-submit-button:disabled {
    background: #cbd5e1;
    color: #94a3b8;
    cursor: not-allowed;
  }
[data-theme="dark"] .feedback-submit-button:disabled {
    background: #475569;
    color: #64748b;
  }
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}
.mb-12 {
  margin-bottom: 3rem;
}
.mb-4 {
  margin-bottom: 1rem;
}
.mb-6 {
  margin-bottom: 1.5rem;
}
.mt-12 {
  margin-top: 3rem;
}
.max-w-4xl {
  max-width: 56rem;
}
.bg-white {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
}
.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}
.py-8 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}
.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}
.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}
.text-slate-600 {
  --tw-text-opacity: 1;
  color: rgb(71 85 105 / var(--tw-text-opacity, 1));
}
.text-slate-700 {
  --tw-text-opacity: 1;
  color: rgb(51 65 85 / var(--tw-text-opacity, 1));
}

/* Unreset styles for Markdown rendering */
.small-sublists.unreset ul li {
  font-size: 90%;
}

.unreset pre {
  background-color: rgba(0, 0, 0, 0.05);
  padding: 0.5em;
  border-radius: 0.5em;
  white-space: pre-wrap;
}

/* This keeps the top-level <p> in Markdown from adding a top/bottom margin */
.unreset > div > p:first-child,
.unreset > p:first-child {
  margin-top: 0;
}

.unreset > div > p:last-child,
.unreset > p:last-child {
  margin-bottom: 0;
}

.unreset > div > h1,
.unreset > div > h2,
.unreset > div > h3,
.unreset > div > h4,
.unreset > div > h5,
.unreset > div > h6 {
  margin-top: 0;
}

.unreset.clickable ol > li {
  cursor: default;
}

.unreset.clickable ol > li:hover {
  background-color: rgba(0, 0, 0, 0.1);
}

.unreset {
  /**
   * Unreset CSS
   *
   * Copyright (C) 2016 Kite (ixkaito@gmail.com)
   * License MIT
   * Version 1.0.0
   *
   * Unreset CSS restores browsers' default element styles which are reset by
   * Eric Meyer's Reset CSS, YUI 3 Reset CSS, HTML5 Reset Stylesheet of HTML5
   * Doctor, or Tim Murtaugh's HTML5 Reset.
   */

  html {
    box-sizing: content-box;
  }

  body {
    margin: 8px;
    line-height: normal;
  }

  p {
    margin: 1em 0;
  }

  blockquote,
  figure {
    margin: 1em 40px;
  }

  q::before {
    content: open-quote;
  }

  q::after {
    content: close-quote;
  }

  q {
    quotes: "" " " "" "'" "'";
  }

  hr {
    border: 1px inset;
    box-sizing: border-box;
    margin: 0.5em auto;
  }

  h1 {
    font-size: 2em;
    font-weight: bold;
    margin: 0.67em 0;
  }

  h2 {
    font-size: 1.5em;
    font-weight: bold;
    margin: 0.83em 0;
  }

  h3 {
    font-size: 1.17em;
    font-weight: bold;
    margin: 1em 0;
  }

  [data-theme="dark"] h1,
  [data-theme="dark"] h2,
  [data-theme="dark"] h3,
  [data-theme="dark"] h4,
  [data-theme="dark"] h5,
  [data-theme="dark"] h6,
  [data-theme="dark"] p,
  [data-theme="dark"] li {
    color: hsl(var(--foreground));
  }

  h4 {
    font-size: 1em;
    font-weight: bold;
    margin: 1.33em 0;
  }

  h5 {
    font-size: 0.83em;
    font-weight: bold;
    margin: 1.67em 0;
  }

  h6 {
    font-size: 0.67em;
    font-weight: bold;
    margin: 2.33em 0;
  }

  article h1,
  aside h1,
  nav h1,
  section h1 {
    font-size: 1.5em;
    font-weight: bold;
    margin: 0.83em 0;
  }

  article article h1,
  article aside h1,
  article nav h1,
  article section h1,
  aside article h1,
  aside aside h1,
  aside nav h1,
  aside section h1,
  nav article h1,
  nav aside h1,
  nav nav h1,
  nav section h1,
  section article h1,
  section aside h1,
  section nav h1,
  section section h1 {
    font-size: 1.17em;
    font-weight: bold;
    margin: 1em 0;
  }

  article article article h1,
  article article article aside h1,
  article article article nav h1,
  article article article section h1,
  article aside article h1,
  article aside aside h1,
  article aside nav h1,
  article aside section h1,
  article nav article h1,
  article nav aside h1,
  article nav nav h1,
  article nav section h1,
  article section article h1,
  article section aside h1,
  article section nav h1,
  article section section h1,
  aside article article h1,
  aside article aside h1,
  aside article nav h1,
  aside article section h1,
  aside aside article h1,
  aside aside aside h1,
  aside aside nav h1,
  aside aside section h1,
  aside nav article h1,
  aside nav aside h1,
  aside nav nav h1,
  aside nav section h1,
  aside section article h1,
  aside section aside h1,
  aside section nav h1,
  aside section section h1,
  nav article article h1,
  nav article aside h1,
  nav article nav h1,
  nav article section h1,
  nav aside article h1,
  nav aside aside h1,
  nav aside nav h1,
  nav aside section h1,
  nav nav article h1,
  nav nav aside h1,
  nav nav nav h1,
  nav nav section h1,
  nav section article h1,
  nav section aside h1,
  nav section nav h1,
  nav section section h1,
  section article article h1,
  section article aside h1,
  section article nav h1,
  section article section h1,
  section aside article h1,
  section aside aside h1,
  section aside nav h1,
  section aside section h1,
  section nav article h1,
  section nav aside h1,
  section nav nav h1,
  section nav section h1,
  section section article h1,
  section section aside h1,
  section section nav h1,
  section section section h1 {
    font-size: 1em;
    font-weight: bold;
    margin: 1.33em 0;
  }

  article article article article h1,
  aside article article article h1,
  nav article article article h1,
  section article article article h1 {
    font-size: 0.83em;
    font-weight: bold;
    margin: 1.67em 0;
  }

  article article article article article h1,
  aside article article article article h1,
  nav article article article article h1,
  section article article article article h1 {
    font-size: 0.67em;
    font-weight: bold;
    margin: 2.33em 0;
  }

  table {
    border-collapse: separate;
    border-spacing: 2px;
    border-color: gray;
  }

  thead,
  tbody,
  tfoot,
  tr {
    border-color: inherit;
    vertical-align: middle;
  }

  td,
  th {
    padding: 1px;
    vertical-align: inherit;
  }

  th {
    font-weight: bold;
  }

  caption {
    text-align: center;
  }

  ul,
  menu {
    list-style-type: disc;
    margin: 0.5em 0;
    padding: 0 0 0 20px;
  }

  ol {
    list-style-type: decimal;
    margin: 0.5em 0;
    padding: 0 0 0 20px;
  }

  li > ol,
  li > ul {
    margin: 0 0 0.5em 0;
  }

  li > p:first-child {
    margin-top: 0;
  }

  li > p:last-child {
    margin-bottom: 0;
  }

  li > p + ol,
  li > p + ul {
    margin-top: -1em;
  }

  ul ul,
  ol ul {
    list-style-type: circle;
  }

  ul ul ul,
  ol ul ul {
    list-style-type: square;
  }

  dd {
    margin: 0 0 0 40px;
  }

  dl {
    margin: 1em 0;
  }

  ul ul,
  ul ol,
  ul menu,
  ul dl,
  ol ul,
  ol ol,
  ol menu,
  ol dl,
  menu ul,
  menu ol,
  menu menu,
  menu dl,
  dl ul,
  dl ol,
  dl menu,
  dl dl {
    margin: 0;
  }

  legend {
    padding: 0 2px;
  }

  fieldset {
    border-style: groove;
    border-width: 2px;
    border: 2px groove ThreeDFace;
    margin: 0 2px;
    padding: 0 2px 3px;
    -webkit-padding-before: 0.35em;
    -webkit-padding-start: 0.75em;
    -webkit-padding-end: 0.75em;
    -webkit-padding-after: 0.625em;
  }

  ins {
    background-color: transparent;
    font-weight: inherit;
    text-decoration: underline;
  }

  b,
  strong {
    font-weight: bold;
  }

  i,
  cite,
  em,
  var,
  address,
  dfn {
    font-style: italic;
    font-weight: inherit;
  }

  abbr[title],
  dfn[title] {
    border-bottom: 0;
    cursor: default;
    font-weight: inherit;
  }

  tt,
  code,
  kbd,
  samp {
    font-family: monospace;
    font-weight: inherit;
  }

  pre {
    font-family: monospace;
    margin: 1em 0;
  }

  mark {
    background-color: yellow;
    color: black;
    font-style: normal;
    font-weight: inherit;
  }

  big {
    font-size: larger;
    font-weight: inherit;
  }

  small {
    font-size: smaller;
    font-weight: inherit;
  }

  sub,
  sup {
    font-weight: inherit;
    line-height: inherit;
    position: static;
  }

  sub {
    font-size: smaller;
    bottom: 0;
    vertical-align: sub;
  }

  sup {
    font-size: smaller;
    top: 0;
    vertical-align: super;
  }

  ruby > rt {
    font-size: 50%;
  }

  iframe {
    border: 2px inset;
  }

  a {
    color: #3b82f6;
    text-decoration: underline;
  }

  a:hover {
    color: #1d4ed8;
  }
}

.unreset.light-link a {
  color: #bae6fd;
}

.unreset.light-link a:hover {
  color: #e0f2fe;
}
