*, ::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.19 | 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 */
  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]) {
  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: var(--font-mono); /* 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::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 {
    /* ShepWord — editorial neutrals with a controlled gold accent */
    --background: 40 30% 99%;
    --foreground: 30 12% 12%;
    --card: 0 0% 100%;
    --card-foreground: 30 12% 12%;
    --popover: 0 0% 100%;
    --popover-foreground: 30 12% 12%;
    --primary: 46 65% 52%;
    --primary-foreground: 0 0% 10%;
    --secondary: 40 16% 96%;
    --secondary-foreground: 30 12% 16%;
    --muted: 40 16% 95%;
    --muted-foreground: 220 9% 46%;
    --accent: 40 26% 93%;
    --accent-foreground: 30 12% 16%;
    --destructive: 0 72% 50%;
    --destructive-foreground: 0 0% 100%;
    --border: 38 14% 89%;
    --input: 38 14% 89%;
    --ring: 46 65% 52%;
    --scripture: 38 52% 40%;
    --success: 142 50% 36%;
    --warning: 38 80% 48%;
    --chart-1: 46 65% 52%;
    --chart-2: 173 40% 38%;
    --chart-3: 197 37% 30%;
    --chart-4: 12 70% 55%;
    --chart-5: 280 40% 55%;
    --radius: 0.625rem;
    --font-heading: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
    --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
    --font-display: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
    --font-serif: ui-serif, "Iowan Old Style", "Apple Garamond", Cambria, Georgia, "Times New Roman", serif;
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    --sidebar-background: 40 26% 98%;
    --sidebar-foreground: 30 12% 20%;
    --sidebar-primary: 46 65% 52%;
    --sidebar-primary-foreground: 0 0% 10%;
    --sidebar-accent: 40 22% 93%;
    --sidebar-accent-foreground: 30 12% 16%;
    --sidebar-border: 38 14% 90%;
    --sidebar-ring: 46 65% 52%;
  }

  .dark {
    --background: 0 0% 10%;
    --foreground: 40 18% 94%;
    --card: 0 0% 13%;
    --card-foreground: 40 18% 94%;
    --popover: 0 0% 13%;
    --popover-foreground: 40 18% 94%;
    --primary: 46 65% 52%;
    --primary-foreground: 30 14% 10%;
    --secondary: 30 7% 15%;
    --secondary-foreground: 40 18% 94%;
    --muted: 30 7% 15%;
    --muted-foreground: 38 10% 62%;
    --accent: 30 7% 17%;
    --accent-foreground: 40 18% 94%;
    --destructive: 0 62% 52%;
    --destructive-foreground: 40 18% 96%;
    --border: 30 7% 19%;
    --input: 30 7% 19%;
    --ring: 46 65% 52%;
    --scripture: 42 60% 64%;
    --success: 142 46% 52%;
    --warning: 38 80% 58%;
    --chart-1: 46 65% 52%;
    --chart-2: 173 40% 48%;
    --chart-3: 197 37% 45%;
    --chart-4: 12 70% 62%;
    --chart-5: 280 40% 65%;
    --sidebar-background: 0 0% 10%;
    --sidebar-foreground: 40 14% 80%;
    --sidebar-primary: 46 65% 52%;
    --sidebar-primary-foreground: 30 14% 10%;
    --sidebar-accent: 30 7% 16%;
    --sidebar-accent-foreground: 40 18% 94%;
    --sidebar-border: 30 7% 17%;
    --sidebar-ring: 46 65% 52%;
  }
  * {
  border-color: hsl(var(--border));
  outline-color: hsl(var(--ring) / 0.5);
}

  html {
    background: hsl(var(--background));
    color-scheme: light;
    min-height: 100%;
  }

  html.dark {
    color-scheme: dark;
  }

  body, #root {
    min-height: 100%;
    background: hsl(var(--background));
  }

  body {
  font-family: var(--font-body);
  color: hsl(var(--foreground));
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

  ::selection {
    background: hsl(var(--primary) / 0.22);
  }
  .font-serif {
    font-family: var(--font-serif);
  }

  /* React-Quill (ShepWord sermon editor) theming */
  .sermon-editor .ql-toolbar.ql-snow {
    border: 1px solid hsl(var(--border));
    border-bottom: none;
    border-radius: var(--radius) var(--radius) 0 0;
    background: hsl(var(--card));
  }
  .sermon-editor .ql-container.ql-snow {
    border: 1px solid hsl(var(--border));
    border-radius: 0 0 var(--radius) var(--radius);
    background: hsl(var(--card));
    color: hsl(var(--foreground));
  }
  .sermon-editor .ql-editor {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    line-height: 1.8;
    min-height: 55vh;
  }
  .sermon-editor .ql-editor.ql-blank::before {
    color: hsl(var(--muted-foreground));
    font-style: italic;
    opacity: 0.6;
  }
  .sermon-editor .ql-snow .ql-stroke { stroke: hsl(var(--muted-foreground)); }
  .sermon-editor .ql-snow .ql-fill,
  .sermon-editor .ql-snow .ql-stroke.ql-fill { fill: hsl(var(--muted-foreground)); }
  .sermon-editor .ql-snow .ql-picker-label { color: hsl(var(--muted-foreground)); }
  .sermon-editor .ql-snow .ql-picker-options {
    background: hsl(var(--popover));
    border-color: hsl(var(--border));
    color: hsl(var(--popover-foreground));
  }
  .sermon-editor .ql-snow.ql-toolbar button:hover .ql-stroke,
  .sermon-editor .ql-snow.ql-toolbar button.ql-active .ql-stroke { stroke: hsl(var(--primary)); }
  .sermon-editor .ql-snow.ql-toolbar button:hover .ql-fill,
  .sermon-editor .ql-snow.ql-toolbar button.ql-active .ql-fill { fill: hsl(var(--primary)); }
  .sermon-editor .ql-snow.ql-toolbar button:hover,
  .sermon-editor .ql-snow.ql-toolbar button.ql-active { color: hsl(var(--primary)); }
  .sermon-editor .ql-snow .ql-tooltip {
    background: hsl(var(--popover));
    border-color: hsl(var(--border));
    color: hsl(var(--popover-foreground));
    box-shadow: 0 4px 16px hsl(var(--foreground) / 0.12);
  }
  .sermon-editor .ql-snow .ql-tooltip input[type=text] {
    border-color: hsl(var(--border));
    color: hsl(var(--foreground));
    background: hsl(var(--background));
  }

  /* Imported sermon review */
  .sermon-import-preview .sermon-style[data-sermon-style="scripture"] {
    border-left: 3px solid hsl(var(--primary));
    padding: .65rem .85rem;
    background: hsl(var(--muted) / .3);
    font-style: italic;
  }
  .sermon-import-preview .sermon-style[data-sermon-style="main-point"] {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1em;
  }
  .sermon-import-preview .sermon-style[data-sermon-style="subpoint"] { font-weight: 600; }

  /* Distraction-free sermon delivery */
  .preaching-mode {
    position: fixed;
    inset: 0;
    z-index: 100;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: hsl(var(--background));
    color: hsl(var(--foreground));
    -webkit-tap-highlight-color: transparent; overflow-x: hidden;
  }
  .preaching-manuscript {
    width: min(var(--preaching-manuscript-width, 100%), 100%);
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    margin: 0 auto;
    padding: max(8rem, env(safe-area-inset-top)) clamp(1.25rem, 3vw, 3rem) max(6rem, env(safe-area-inset-bottom));
  }
  .preaching-title {
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid hsl(var(--border));
  }
  .preaching-title, .preaching-title * { white-space: normal !important; overflow-wrap: break-word !important; word-break: normal !important; hyphens: none !important; }
  .preaching-title h1 {
    font-family: var(--font-heading);
    font-size: calc(var(--preaching-font-size) * 1.45);
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.025em;
  }
  .preaching-title p {
    margin-top: .6rem;
    color: hsl(var(--muted-foreground));
    font-family: var(--font-serif);
    font-size: calc(var(--preaching-font-size) * .8);
  }
  .preaching-content {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    font-family: var(--font-serif);
    font-size: var(--preaching-font-size);
    line-height: 1.7;
    white-space: normal !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
    hyphens: none !important;
  }
  .preaching-content * {
    min-width: 0;
    max-width: 100%;
    white-space: normal !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
    hyphens: none !important;
  }
  .preaching-content a {
    color: hsl(var(--primary));
    text-decoration: underline;
    text-underline-offset: .14em;
    overflow-wrap: break-word !important;
    word-break: normal !important;
  }
  .preaching-content strong,
  .preaching-content b { font-weight: 700; }
  .preaching-content em,
  .preaching-content i { font-style: italic; }
  .preaching-content u {
    text-decoration: underline;
    text-underline-offset: .12em;
  }
  .preaching-content s { text-decoration: line-through; }
  .preaching-content sup,
  .preaching-content sub {
    font-size: .7em;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }
  .preaching-content sup { top: -.45em; }
  .preaching-content sub { bottom: -.2em; }

  .preaching-content p,
  .preaching-content div,
  .preaching-content blockquote,
  .preaching-content ul,
  .preaching-content ol { margin: 0 0 1.15em; }
  .preaching-content h1 { font-size: 1.55em; line-height: 1.2; margin: 1.5em 0 .6em; font-weight: 700; }
  .preaching-content h2 { font-size: 1.35em; line-height: 1.25; margin: 1.4em 0 .55em; font-weight: 700; }
  .preaching-content h3 { font-size: 1.18em; line-height: 1.3; margin: 1.25em 0 .5em; font-weight: 700; }

  .preaching-content ul,
  .preaching-content ol { padding-left: 1.65em; }
  .preaching-content ul { list-style-type: disc; }
  .preaching-content ol { list-style-type: decimal; }
  .preaching-content li {
    display: list-item;
    margin-bottom: .35em;
    padding-left: .15em;
  }
  .preaching-content li::marker { color: hsl(var(--primary)); }
  .preaching-content .ql-indent-1 { margin-left: 1.5em; }
  .preaching-content .ql-indent-2 { margin-left: 3em; }
  .preaching-content .ql-indent-3 { margin-left: 4.5em; }
  .preaching-content .ql-indent-4 { margin-left: 6em; }
  .preaching-content .ql-indent-5 { margin-left: 7.5em; }
  .preaching-content .ql-indent-6 { margin-left: 9em; }
  .preaching-content .ql-indent-7 { margin-left: 10.5em; }
  .preaching-content .ql-indent-8 { margin-left: 12em; }

  .preaching-content blockquote {
    border-left: 3px solid hsl(var(--primary));
    padding: .35em 0 .35em 1em;
    color: hsl(var(--muted-foreground));
    font-style: italic;
  }

  .preaching-content .sermon-style {
    display: block;
    width: 100%;
    min-width: 0;
  }
  .preaching-content .sermon-style[data-sermon-style="scripture"] {
    border-left: 3px solid hsl(var(--scripture));
    background: hsl(var(--card));
    padding: .8em 1em;
    margin: 1em 0;
    font-style: italic;
    line-height: 1.6;
  }
  .preaching-content .sermon-style[data-sermon-style="main-point"] {
    border-left: 4px solid hsl(var(--primary));
    padding: .55em .85em;
    margin: 1.4em 0 .9em;
    font-family: var(--font-heading);
    font-size: 1.2em;
    font-weight: 700;
  }
  .preaching-content .sermon-style[data-sermon-style="subpoint"] {
    padding-left: .9em;
    font-weight: 600;
  }
  .preaching-content .sermon-style[data-sermon-style="quote"] {
    border-left: 2px solid hsl(var(--border));
    padding-left: 1em;
    color: hsl(var(--muted-foreground));
    font-style: italic;
  }
  .preaching-content .sermon-style[data-sermon-style="illustration"] {
    border-radius: .5em;
    background: hsl(var(--muted) / .5);
    padding: .75em .9em;
  }
  .preaching-content .sermon-style[data-sermon-style="application"] {
    border-radius: .5em;
    background: hsl(var(--primary) / .09);
    padding: .75em .9em;
    font-weight: 600;
  }
  .preaching-content .sermon-style[data-sermon-style="note"] {
    border-left: 2px dashed hsl(var(--border));
    padding-left: .9em;
    color: hsl(var(--muted-foreground));
    font-size: .86em;
  }
  .preaching-content .sermon-style[data-sermon-style="prayer"] {
    border-radius: .5em;
    background: hsl(var(--muted) / .35);
    padding: .75em .9em;
    font-style: italic;
  }
  .preaching-controls {
    position: fixed;
    z-index: 102;
    top: max(.65rem, env(safe-area-inset-top));
    left: 50%;
    width: min(calc(100% - 1rem), 760px);
    transform: translate(-50%, -140%);
    opacity: 0;
    transition: transform .2s ease, opacity .2s ease;
    pointer-events: none;
  }
  .preaching-controls.is-visible {
    transform: translate(-50%, 0);
    opacity: 1;
    pointer-events: auto;
  }
  .preaching-controls-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    flex-wrap: wrap;
    padding: .5rem;
    border: 1px solid hsl(var(--border));
    border-radius: .9rem;
    background: hsl(var(--card) / .96);
    box-shadow: 0 10px 30px hsl(var(--background) / .35);
    backdrop-filter: blur(12px);
  }
  .preaching-control-button,
  .preaching-size-controls button,
  .preaching-segmented button {
    min-height: 2.5rem;
    border-radius: .55rem;
  }
  .preaching-control-button {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: 0 .7rem;
    color: hsl(var(--muted-foreground));
    font-size: .8rem;
  }
  .preaching-segmented {
    display: flex;
    padding: .2rem;
    border-radius: .65rem;
    background: hsl(var(--muted));
  }
  .preaching-segmented button {
    padding: 0 .7rem;
    color: hsl(var(--muted-foreground));
    font-size: .75rem;
  }
  .preaching-segmented button.active {
    background: hsl(var(--background));
    color: hsl(var(--foreground));
    box-shadow: 0 1px 4px hsl(var(--foreground) / .08);
  }
  .preaching-size-controls {
    display: flex;
    align-items: center;
    gap: .15rem;
  }
  .preaching-size-controls button {
    width: 2.5rem;
    display: grid;
    place-items: center;
  }
  .preaching-size-controls span {
    min-width: 1.6rem;
    text-align: center;
    font-size: .7rem;
    color: hsl(var(--muted-foreground));
  }
  .preaching-mode-pages .preaching-manuscript {
    height: 100dvh;
    overflow-y: auto;
    padding-bottom: max(5rem, env(safe-area-inset-bottom));
  }

  @media (max-width: 520px) {
    .preaching-controls-inner { gap: .2rem; padding: .35rem; }
    .preaching-control-button { padding: 0 .45rem; }
    .preaching-segmented button { padding: 0 .5rem; }
    .preaching-size-controls button { width: 2.2rem; }
    .preaching-manuscript { padding-left: 1.25rem; padding-right: 1.25rem; }
  }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
.fixed {
  position: fixed;
}
.absolute {
  position: absolute;
}
.relative {
  position: relative;
}
.sticky {
  position: sticky;
}
.inset-x-3 {
  left: 0.75rem;
  right: 0.75rem;
}
.inset-y-0 {
  top: 0px;
  bottom: 0px;
}
.-bottom-16 {
  bottom: -4rem;
}
.-left-8 {
  left: -2rem;
}
.-right-8 {
  right: -2rem;
}
.-top-10 {
  top: -2.5rem;
}
.bottom-3 {
  bottom: 0.75rem;
}
.left-0 {
  left: 0px;
}
.left-3 {
  left: 0.75rem;
}
.top-0 {
  top: 0px;
}
.top-1\/2 {
  top: 50%;
}
.z-30 {
  z-index: 30;
}
.col-span-2 {
  grid-column: span 2 / span 2;
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}
.mb-2 {
  margin-bottom: 0.5rem;
}
.mb-3 {
  margin-bottom: 0.75rem;
}
.mb-4 {
  margin-bottom: 1rem;
}
.mb-5 {
  margin-bottom: 1.25rem;
}
.mb-6 {
  margin-bottom: 1.5rem;
}
.mt-0\.5 {
  margin-top: 0.125rem;
}
.mt-1 {
  margin-top: 0.25rem;
}
.mt-1\.5 {
  margin-top: 0.375rem;
}
.mt-10 {
  margin-top: 2.5rem;
}
.mt-2 {
  margin-top: 0.5rem;
}
.mt-3 {
  margin-top: 0.75rem;
}
.mt-4 {
  margin-top: 1rem;
}
.line-clamp-2 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.block {
  display: block;
}
.inline-block {
  display: inline-block;
}
.flex {
  display: flex;
}
.inline-flex {
  display: inline-flex;
}
.grid {
  display: grid;
}
.hidden {
  display: none;
}
.aspect-video {
  aspect-ratio: 16 / 9;
}
.h-1\.5 {
  height: 0.375rem;
}
.h-10 {
  height: 2.5rem;
}
.h-11 {
  height: 2.75rem;
}
.h-14 {
  height: 3.5rem;
}
.h-16 {
  height: 4rem;
}
.h-3 {
  height: 0.75rem;
}
.h-3\.5 {
  height: 0.875rem;
}
.h-4 {
  height: 1rem;
}
.h-44 {
  height: 11rem;
}
.h-5 {
  height: 1.25rem;
}
.h-8 {
  height: 2rem;
}
.h-9 {
  height: 2.25rem;
}
.h-\[1\.05rem\] {
  height: 1.05rem;
}
.h-\[1\.1rem\] {
  height: 1.1rem;
}
.h-auto {
  height: auto;
}
.h-full {
  height: 100%;
}
.min-h-11 {
  min-height: 2.75rem;
}
.min-h-screen {
  min-height: 100vh;
}
.w-1\.5 {
  width: 0.375rem;
}
.w-10 {
  width: 2.5rem;
}
.w-11 {
  width: 2.75rem;
}
.w-20 {
  width: 5rem;
}
.w-3 {
  width: 0.75rem;
}
.w-3\.5 {
  width: 0.875rem;
}
.w-32 {
  width: 8rem;
}
.w-4 {
  width: 1rem;
}
.w-44 {
  width: 11rem;
}
.w-5 {
  width: 1.25rem;
}
.w-64 {
  width: 16rem;
}
.w-8 {
  width: 2rem;
}
.w-9 {
  width: 2.25rem;
}
.w-\[1\.05rem\] {
  width: 1.05rem;
}
.w-\[1\.1rem\] {
  width: 1.1rem;
}
.w-\[150px\] {
  width: 150px;
}
.w-full {
  width: 100%;
}
.min-w-0 {
  min-width: 0px;
}
.min-w-\[4\.5rem\] {
  min-width: 4.5rem;
}
.min-w-\[4rem\] {
  min-width: 4rem;
}
.max-w-6xl {
  max-width: 72rem;
}
.max-w-full {
  max-width: 100%;
}
.max-w-none {
  max-width: none;
}
.flex-1 {
  flex: 1 1 0%;
}
.shrink-0 {
  flex-shrink: 0;
}
.-translate-y-1\/2 {
  --tw-translate-y: -50%;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
@keyframes fade-in {

  from {
    opacity: 0;
    transform: translateY(4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.animate-fade-in {
  animation: fade-in 0.25s ease-out;
}
.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}
.grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid-cols-\[minmax\(0\2c 1fr\)_120px_108px_108px_74px_36px\] {
  grid-template-columns: minmax(0,1fr) 120px 108px 108px 74px 36px;
}
.grid-cols-\[minmax\(0\2c 1fr\)_auto\] {
  grid-template-columns: minmax(0,1fr) auto;
}
.flex-col {
  flex-direction: column;
}
.flex-wrap {
  flex-wrap: wrap;
}
.flex-nowrap {
  flex-wrap: nowrap;
}
.items-start {
  align-items: flex-start;
}
.items-end {
  align-items: flex-end;
}
.items-center {
  align-items: center;
}
.justify-end {
  justify-content: flex-end;
}
.justify-center {
  justify-content: center;
}
.justify-between {
  justify-content: space-between;
}
.gap-0\.5 {
  gap: 0.125rem;
}
.gap-1 {
  gap: 0.25rem;
}
.gap-1\.5 {
  gap: 0.375rem;
}
.gap-2 {
  gap: 0.5rem;
}
.gap-3 {
  gap: 0.75rem;
}
.gap-4 {
  gap: 1rem;
}
.gap-5 {
  gap: 1.25rem;
}
.gap-8 {
  gap: 2rem;
}
.gap-x-2 {
  column-gap: 0.5rem;
}
.gap-x-3 {
  column-gap: 0.75rem;
}
.gap-x-4 {
  column-gap: 1rem;
}
.gap-y-1 {
  row-gap: 0.25rem;
}
.gap-y-2 {
  row-gap: 0.5rem;
}
.space-y-1\.5 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.375rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.375rem * var(--tw-space-y-reverse));
}
.space-y-2 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.5rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.5rem * var(--tw-space-y-reverse));
}
.space-y-3 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.75rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.75rem * var(--tw-space-y-reverse));
}
.overflow-hidden {
  overflow: hidden;
}
.overflow-y-auto {
  overflow-y: auto;
}
.overflow-x-clip {
  overflow-x: clip;
}
.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.whitespace-nowrap {
  white-space: nowrap;
}
.break-words {
  overflow-wrap: break-word;
}
.rounded-2xl {
  border-radius: 1rem;
}
.rounded-full {
  border-radius: 9999px;
}
.rounded-lg {
  border-radius: var(--radius);
}
.rounded-md {
  border-radius: calc(var(--radius) - 2px);
}
.rounded-sm {
  border-radius: calc(var(--radius) - 4px);
}
.rounded-xl {
  border-radius: 0.75rem;
}
.border {
  border-width: 1px;
}
.border-b {
  border-bottom-width: 1px;
}
.border-r {
  border-right-width: 1px;
}
.border-t {
  border-top-width: 1px;
}
.border-border {
  border-color: hsl(var(--border));
}
.border-border\/50 {
  border-color: hsl(var(--border) / 0.5);
}
.border-border\/60 {
  border-color: hsl(var(--border) / 0.6);
}
.border-border\/70 {
  border-color: hsl(var(--border) / 0.7);
}
.border-input {
  border-color: hsl(var(--input));
}
.border-primary\/15 {
  border-color: hsl(var(--primary) / 0.15);
}
.border-primary\/25 {
  border-color: hsl(var(--primary) / 0.25);
}
.border-sidebar-border {
  border-color: hsl(var(--sidebar-border));
}
.border-success\/25 {
  border-color: hsl(var(--success) / 0.25);
}
.bg-accent {
  background-color: hsl(var(--accent));
}
.bg-background {
  background-color: hsl(var(--background));
}
.bg-background\/95 {
  background-color: hsl(var(--background) / 0.95);
}
.bg-card {
  background-color: hsl(var(--card));
}
.bg-current {
  background-color: currentColor;
}
.bg-muted {
  background-color: hsl(var(--muted));
}
.bg-muted\/20 {
  background-color: hsl(var(--muted) / 0.2);
}
.bg-muted\/50 {
  background-color: hsl(var(--muted) / 0.5);
}
.bg-primary {
  background-color: hsl(var(--primary));
}
.bg-primary\/10 {
  background-color: hsl(var(--primary) / 0.1);
}
.bg-primary\/12 {
  background-color: hsl(var(--primary) / 0.12);
}
.bg-sidebar {
  background-color: hsl(var(--sidebar-background));
}
.bg-sidebar-accent\/50 {
  background-color: hsl(var(--sidebar-accent) / 0.5);
}
.bg-success\/12 {
  background-color: hsl(var(--success) / 0.12);
}
.bg-transparent {
  background-color: transparent;
}
.bg-gradient-to-br {
  background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
}
.from-primary\/20 {
  --tw-gradient-from: hsl(var(--primary) / 0.2) var(--tw-gradient-from-position);
  --tw-gradient-to: hsl(var(--primary) / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.via-primary\/5 {
  --tw-gradient-to: hsl(var(--primary) / 0)  var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), hsl(var(--primary) / 0.05) var(--tw-gradient-via-position), var(--tw-gradient-to);
}
.to-background {
  --tw-gradient-to: hsl(var(--background)) var(--tw-gradient-to-position);
}
.object-contain {
  object-fit: contain;
}
.p-3 {
  padding: 0.75rem;
}
.p-4 {
  padding: 1rem;
}
.p-5 {
  padding: 1.25rem;
}
.p-6 {
  padding: 1.5rem;
}
.px-0 {
  padding-left: 0px;
  padding-right: 0px;
}
.px-2 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}
.px-2\.5 {
  padding-left: 0.625rem;
  padding-right: 0.625rem;
}
.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}
.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}
.px-5 {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}
.py-0\.5 {
  padding-top: 0.125rem;
  padding-bottom: 0.125rem;
}
.py-1 {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}
.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.py-6 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}
.pb-14 {
  padding-bottom: 3.5rem;
}
.pb-2 {
  padding-bottom: 0.5rem;
}
.pb-4 {
  padding-bottom: 1rem;
}
.pl-9 {
  padding-left: 2.25rem;
}
.pt-0 {
  padding-top: 0px;
}
.pt-2 {
  padding-top: 0.5rem;
}
.text-left {
  text-align: left;
}
.text-center {
  text-align: center;
}
.align-middle {
  vertical-align: middle;
}
.font-heading {
  font-family: var(--font-heading);
}
.font-mono {
  font-family: var(--font-mono);
}
.font-serif {
  font-family: var(--font-serif);
}
.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}
.text-3xl {
  font-size: 1.875rem;
  line-height: 2.25rem;
}
.text-\[0\.65rem\] {
  font-size: 0.65rem;
}
.text-\[10px\] {
  font-size: 10px;
}
.text-\[11px\] {
  font-size: 11px;
}
.text-base {
  font-size: 1rem;
  line-height: 1.5rem;
}
.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}
.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}
.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}
.font-medium {
  font-weight: 500;
}
.font-semibold {
  font-weight: 600;
}
.uppercase {
  text-transform: uppercase;
}
.capitalize {
  text-transform: capitalize;
}
.tabular-nums {
  --tw-numeric-spacing: tabular-nums;
  font-variant-numeric: var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);
}
.tracking-\[0\.18em\] {
  letter-spacing: 0.18em;
}
.tracking-tight {
  letter-spacing: -0.025em;
}
.tracking-wide {
  letter-spacing: 0.025em;
}
.text-accent-foreground {
  color: hsl(var(--accent-foreground));
}
.text-card-foreground {
  color: hsl(var(--card-foreground));
}
.text-foreground {
  color: hsl(var(--foreground));
}
.text-muted-foreground {
  color: hsl(var(--muted-foreground));
}
.text-primary {
  color: hsl(var(--primary));
}
.text-primary-foreground {
  color: hsl(var(--primary-foreground));
}
.text-primary\/60 {
  color: hsl(var(--primary) / 0.6);
}
.text-scripture {
  color: hsl(var(--scripture));
}
.text-sidebar-foreground {
  color: hsl(var(--sidebar-foreground));
}
.text-success {
  color: hsl(var(--success));
}
.opacity-50 {
  opacity: 0.5;
}
.opacity-70 {
  opacity: 0.7;
}
.shadow {
  --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.shadow-sm {
  --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.outline-none {
  outline: 2px solid transparent;
  outline-offset: 2px;
}
.outline {
  outline-style: solid;
}
.ring-offset-background {
  --tw-ring-offset-color: hsl(var(--background));
}
.backdrop-blur {
  --tw-backdrop-blur: blur(8px);
  -webkit-backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
  backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
}
.transition {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-colors {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-transform {
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
@keyframes enter {

  from {
    opacity: var(--tw-enter-opacity, 1);
    transform: translate3d(var(--tw-enter-translate-x, 0), var(--tw-enter-translate-y, 0), 0) scale3d(var(--tw-enter-scale, 1), var(--tw-enter-scale, 1), var(--tw-enter-scale, 1)) rotate(var(--tw-enter-rotate, 0));
  }
}
@keyframes exit {

  to {
    opacity: var(--tw-exit-opacity, 1);
    transform: translate3d(var(--tw-exit-translate-x, 0), var(--tw-exit-translate-y, 0), 0) scale3d(var(--tw-exit-scale, 1), var(--tw-exit-scale, 1), var(--tw-exit-scale, 1)) rotate(var(--tw-exit-rotate, 0));
  }
}

/* ShepWord continuous sermon document */
.sermon-document-editor .ql-toolbar.ql-snow,
.sermon-document-editor .ql-container.ql-snow { border-color: hsl(var(--border)); }
.sermon-document-editor .ql-container { border: 0 !important; font-family: inherit; }
.sermon-document-editor .ql-editor {
  min-height: 58vh;
  padding: 2rem 2.25rem 4rem;
  font-family: Georgia, Cambria, "Times New Roman", serif;
  font-size: 1.05rem;
  line-height: 1.8;
  color: hsl(var(--foreground));
}
.sermon-document-editor .ql-editor p { margin: 0 0 1em; }
.sermon-document-editor .ql-editor h1,
.sermon-document-editor .ql-editor h2,
.sermon-document-editor .ql-editor h3 { font-family: inherit; line-height: 1.22; margin: 1.35em 0 .5em; }
.sermon-document-editor .ql-editor h1 { font-size: 1.75em; }
.sermon-document-editor .ql-editor h2 { font-size: 1.45em; }
.sermon-document-editor .ql-editor h3 { font-size: 1.2em; }
:is(.sermon-document-editor .ql-editor, .sermon-import-preview, .preaching-content) h4 { font-size: 1.1em; font-weight: 700; margin: 1.1em 0 .45em; }
:is(.sermon-document-editor .ql-editor, .sermon-import-preview, .preaching-content) h5 { font-size: 1em; font-weight: 700; margin: 1em 0 .4em; }
:is(.sermon-document-editor, .sermon-import-preview, .preaching-content) [data-sermon-style="prompt"] { border-left: 3px dashed hsl(var(--primary)); padding: .5em .9em; font-style: italic; }
:is(.sermon-import-preview, .preaching-content) .ql-align-center { text-align: center; }
:is(.sermon-import-preview, .preaching-content) .ql-align-right { text-align: right; }
:is(.sermon-import-preview, .preaching-content) .ql-align-justify { text-align: justify; }
:is(.sermon-import-preview, .preaching-content) .ql-direction-rtl { direction: rtl; }
:is(.sermon-import-preview, .preaching-content) li[data-list="bullet"] { list-style-type: disc; }
.sermon-import-preview ul { list-style-type: disc; }
.sermon-import-preview ol { list-style-type: decimal; }
.sermon-document-editor [data-sermon-style="main-point"] { font-weight: 700; font-size: 1.2em; border-left: 4px solid hsl(var(--primary)); padding: .6rem 1rem; margin: 1.25rem 0; }
.sermon-document-editor [data-sermon-style="subpoint"] { font-weight: 600; padding-left: 1rem; }
.sermon-document-editor [data-sermon-style="scripture"] { border-left: 3px solid hsl(var(--primary)); padding: .7rem .9rem; margin: 1rem 0; background: hsl(var(--muted) / .45); font-style: italic; line-height: 1.65; }
.sermon-document-editor [data-sermon-style="quote"] { font-style: italic; padding-left: 1.25rem; border-left: 2px solid hsl(var(--border)); }
.sermon-document-editor [data-sermon-style="illustration"] { padding: .85rem 1rem; border-radius: .5rem; background: hsl(var(--muted) / .5); }
.sermon-document-editor [data-sermon-style="application"] { font-weight: 600; padding: .85rem 1rem; border-radius: .5rem; background: hsl(var(--primary) / .08); }
.sermon-document-editor [data-sermon-style="note"] { opacity: .78; font-size: .94em; padding-left: 1rem; border-left: 2px dashed hsl(var(--border)); }
.sermon-document-editor [data-sermon-style="prayer"] { font-style: italic; padding: .85rem 1rem; border-radius: .5rem; background: hsl(var(--muted) / .35); }
.sermon-document-editor .ql-toolbar { font-family: inherit; }
.sermon-mobile-stylebar { display: none; }
.sermon-mobile-style-select {
  min-width: 0;
  appearance: auto;
  border: 0;
  background: transparent;
  color: hsl(var(--foreground));
  font: inherit;
  font-weight: 600;
  outline: none;
}
.sermon-mobile-style-hint { color: hsl(var(--muted-foreground)); font-size: .72rem; }
.sermon-mobile-edit-launch { display: none; }
.sermon-mobile-focus-header { display: none; }
.sermon-document-editor.sermon-density-compact .ql-editor { font-size: .96rem; line-height: 1.58; }
.sermon-document-editor.sermon-density-spacious .ql-editor { font-size: 1.12rem; line-height: 2; }
@media (max-width: 640px) {
  .sermon-editor-page { margin-inline: -.25rem; }
  .sermon-mobile-edit-launch {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin-bottom: .6rem;
    padding: .65rem .75rem;
    border: 1px solid hsl(var(--border));
    border-radius: .75rem;
    background: hsl(var(--card));
    color: hsl(var(--muted-foreground));
    font-size: .75rem;
  }
  .sermon-mobile-edit-button {
    min-height: 2.5rem;
    padding: 0 .9rem;
    border-radius: .6rem;
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    font-weight: 650;
    font-size: .9rem;
  }
  .sermon-document-editor:not(.sermon-mobile-focus-mode) .sermon-mobile-stylebar,
  .sermon-document-editor:not(.sermon-mobile-focus-mode) .ql-toolbar { display: none; }
  .sermon-mobile-focus-mode {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    top: var(--sermon-visual-top, 0px) !important;
    bottom: auto !important;
    z-index: 100 !important;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: var(--sermon-visual-height, 100dvh);
    max-height: var(--sermon-visual-height, 100dvh);
    border: 0 !important;
    border-radius: 0 !important;
    background: hsl(var(--background)) !important;
    overflow: hidden !important;
  }
  .sermon-mobile-focus-header {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: space-between;
    min-height: 3.25rem;
    padding: max(.55rem, env(safe-area-inset-top)) .85rem .55rem;
    border-bottom: 1px solid hsl(var(--border));
    background: hsl(var(--background));
    color: hsl(var(--foreground));
  }
  .sermon-mobile-focus-header strong { font-size: .9rem; }
  .sermon-mobile-focus-header button {
    min-height: 2.25rem;
    padding: 0 .8rem;
    border-radius: .55rem;
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    font-size: .82rem;
    font-weight: 650;
  }
  .sermon-mobile-focus-mode .sermon-mobile-stylebar,
  .sermon-mobile-focus-mode .ql-toolbar { flex: 0 0 auto; }
  .sermon-mobile-focus-mode .sermon-rich-editor {
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
  }
  .sermon-mobile-focus-mode .ql-container {
    height: 100% !important;
    min-height: 0;
    overflow: hidden;
  }
  .sermon-mobile-focus-mode .ql-editor {
    height: 100% !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding-bottom: max(5rem, env(safe-area-inset-bottom));
  }
  .sermon-mobile-focus-mode.sermon-keyboard-open .sermon-mobile-focus-header {
    min-height: 2.75rem;
    padding-top: .4rem;
    padding-bottom: .4rem;
  }
  .sermon-mobile-focus-mode.sermon-keyboard-open .sermon-mobile-stylebar {
    min-height: 2.65rem;
    padding-top: .3rem;
    padding-bottom: .3rem;
  }
  .sermon-mobile-focus-mode.sermon-keyboard-open .ql-toolbar {
    padding-top: .25rem !important;
    padding-bottom: .25rem !important;
  }
  .sermon-mobile-focus-mode.sermon-keyboard-open .ql-editor {
    padding-bottom: 2rem;
  }
  .sermon-editor-actions { align-items: center; }
  .sermon-save-state { min-width: 4.5rem; justify-content: flex-end; }
  .sermon-document-editor { border-radius: .75rem; }
  .sermon-document-editor .ql-toolbar {
    position: sticky;
    top: 0;
    display: flex;
    flex-wrap: nowrap !important;
    gap: 0 !important;
    padding: .45rem .35rem;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
  }
  .sermon-document-editor .ql-toolbar::-webkit-scrollbar { display: none; }
  .sermon-document-editor .ql-toolbar .ql-formats {
    flex: 0 0 auto;
    margin-right: .25rem !important;
    scroll-snap-align: start;
  }
  .sermon-document-editor .ql-toolbar button {
    width: 2.15rem;
    height: 2.15rem;
    padding: .35rem;
  }
  .sermon-mobile-stylebar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    min-height: 2.8rem;
    padding: .45rem .8rem;
    border-bottom: 1px solid hsl(var(--border));
    background: hsl(var(--card) / .98);
  }
  .sermon-mobile-style-select {
    flex: 1 1 auto;
    width: 100%;
    min-height: 2rem;
    font-size: .9rem;
  }
  .sermon-document-editor .ql-container { height: auto; overflow: visible; }
  .sermon-document-editor .sermon-rich-editor { height: auto; }
  .sermon-document-editor .ql-editor {
    height: auto;
    min-height: 22rem;
    overflow-y: visible;
    padding: 1.15rem 1rem max(3rem, env(safe-area-inset-bottom));
    font-size: 1rem;
    line-height: 1.62;
    -webkit-text-size-adjust: 100%;
  }
  .sermon-document-editor .ql-editor:focus { scroll-margin-top: 7rem; }
  .sermon-document-editor .ql-editor p { margin-bottom: .82em; }
  .sermon-document-editor .ql-editor h1,
  .sermon-document-editor .ql-editor h2,
  .sermon-document-editor .ql-editor h3 { margin-top: 1.15em; margin-bottom: .42em; }
  .sermon-document-editor .ql-editor h1 { font-size: 1.55em; }
  .sermon-document-editor .ql-editor h2 { font-size: 1.34em; }
  .sermon-document-editor .ql-editor h3 { font-size: 1.16em; }
  .sermon-document-editor [data-sermon-style="scripture"] {
    margin: .8rem 0;
    padding: .65rem .75rem;
    line-height: 1.55;
  }
  .sermon-document-editor [data-sermon-style="main-point"] {
    margin: .85rem 0;
    padding: .55rem .75rem;
    font-size: 1.08em;
  }
  .sermon-document-editor.sermon-density-compact .ql-editor { font-size: .9rem; line-height: 1.48; }
  .sermon-document-editor.sermon-density-spacious .ql-editor { font-size: 1.02rem; line-height: 1.78; }
}
/* Keep brand gold surfaces while maintaining readable gold text on light backgrounds. */
:root:not(.dark) .text-primary { color: #806317; }

/* The expanded editor keeps the navigation bar above its formatting toolbar. */
.sermon-editor-page .sermon-desktop-toolbar-stack { top: 4rem; }

/* One responsive formatting toolbar: native, clearly labeled text controls
   keep their selections and remain usable in the focused mobile editor. */
.sermon-formatting-toolbar {
  /* The editor keeps its 4rem navigation header at every desktop width. */
  position: sticky; top: 4rem; z-index: 20;
  background: hsl(var(--card)); border-bottom: 1px solid hsl(var(--border));
  box-shadow: 0 3px 8px hsl(var(--foreground) / .06);
}
.sermon-formatting-controls {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem;
  padding: .65rem .8rem .5rem; border-bottom: 1px solid hsl(var(--border) / .7);
}
.sermon-format-field { display: flex; align-items: center; gap: .35rem; }
.sermon-format-field > span { font-size: .65rem; font-weight: 600; color: hsl(var(--muted-foreground)); }
.sermon-format-field select {
  min-width: 5rem; max-width: 12rem; height: 2rem; padding: 0 .45rem;
  border: 1px solid hsl(var(--border)); border-radius: .4rem;
  font-size: .75rem; background: hsl(var(--background)); color: hsl(var(--foreground));
}
.sermon-format-field:first-child select { min-width: 9rem; }
.sermon-format-field select:focus-visible { outline: 2px solid hsl(var(--ring)); outline-offset: 1px; }
.sermon-document-editor .sermon-formatting-buttons {
  display: flex; flex-wrap: wrap; align-items: center; gap: .25rem;
  border: 0; padding: .4rem .65rem; font-family: var(--font-body);
}
.sermon-formatting-buttons .ql-formats { display: inline-flex; align-items: center; margin-right: .5rem !important; }
.sermon-document-editor .sermon-formatting-buttons button { width: 2rem; height: 2rem; padding: .35rem; border-radius: .3rem; }
.sermon-document-editor .sermon-formatting-buttons button:disabled { opacity: .3; cursor: default; }
.sermon-document-editor .sermon-formatting-buttons button:focus-visible { outline: 2px solid hsl(var(--ring)); }
.sermon-document-editor .ql-snow .ql-stroke { stroke: hsl(var(--foreground) / .75); }
.sermon-document-editor .ql-snow .ql-fill { fill: hsl(var(--foreground) / .75); }
.sermon-document-editor .ql-snow.ql-toolbar button.ql-active,
.sermon-document-editor .ql-snow.ql-toolbar button:hover:not(:disabled) { background: hsl(var(--accent)); color: hsl(var(--foreground)); }
.sermon-document-editor .ql-snow.ql-toolbar button.ql-active .ql-stroke,
.sermon-document-editor .ql-snow.ql-toolbar button:hover:not(:disabled) .ql-stroke { stroke: hsl(var(--scripture)); }
.sermon-color-control { display: inline-flex; align-items: center; gap: .2rem; padding: 0 .3rem; }
.sermon-color-control svg { width: .95rem; height: .95rem; color: hsl(var(--foreground) / .75); }
.sermon-color-control input { width: 1.7rem; height: 1.7rem; padding: 2px; border: 1px solid hsl(var(--border)); border-radius: .3rem; cursor: pointer; background: hsl(var(--background)); }
.sermon-document-editor .ql-tooltip { z-index: 30; background: hsl(var(--popover)); color: hsl(var(--popover-foreground)); border-color: hsl(var(--border)); }
.sermon-document-editor .ql-tooltip input[type=text] { background: hsl(var(--background)); color: hsl(var(--foreground)); border-color: hsl(var(--border)); }
/* Keep the sticky formatting toolbar compact on touch and tablet widths so
   it does not wrap into a tall band that crowds the manuscript. The mobile
   focus-mode hiding rules stay scoped to phone widths. */
@media (max-width: 1023px) {
  .sermon-formatting-controls { flex-wrap: nowrap; overflow-x: auto; }
  .sermon-format-field { flex: 0 0 auto; }
}
@media (max-width: 640px) {
  .sermon-document-editor:not(.sermon-mobile-focus-mode) .sermon-formatting-toolbar { display: none; }
  .sermon-mobile-focus-mode .sermon-formatting-toolbar { position: static; flex: 0 0 auto; }
  .sermon-formatting-controls { padding: .4rem .5rem; }
  .sermon-format-field { flex-direction: column; align-items: flex-start; gap: .15rem; }
  .sermon-format-field select { height: 2rem; max-width: 8rem; }
  .sermon-format-field:first-child select { min-width: 8rem; }
  .sermon-mobile-focus-mode .sermon-formatting-buttons { display: flex; flex-wrap: nowrap; position: static; }
  .sermon-mobile-focus-mode .sermon-formatting-buttons button { width: 2.25rem; height: 2.25rem; }
}

/* Prevent scroll chaining and WebView document rubber-banding. */
html, body { overscroll-behavior: none; }

/* Page-level touch listeners claim downward pulls only at the scroll boundary.
   Ordinary scrolling, zooming and tap/keyboard refresh remain available. */
.shep-pull-refresh {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  width: 100%;
  border-radius: .65rem;
  background: transparent;
  color: hsl(var(--muted-foreground) / .65);
  font-size: .75rem;
  touch-action: auto;
  transition: min-height .12s ease;
}
.shep-pull-refresh:focus-visible { outline: 2px solid hsl(var(--ring)); outline-offset: 2px; }
.shep-pull-refresh:disabled { opacity: .6; }
@media (max-width: 767px) {
  button, [role="button"], [role="tab"], [role="combobox"],
  .shep-tap-target, .sermon-mobile-style-select,
  .sermon-format-field select, .sermon-color-control input {
    /* Override compact toolbar/button variants only at mobile widths. */
    min-width: 44px !important;
    min-height: 44px !important;
  }
  .sermon-formatting-buttons .ql-formats { gap: .25rem; }
  .sermon-formatting-buttons, .sermon-mobile-stylebar { gap: .5rem; }
  .sermon-format-field .shep-mobile-select { width: 8rem; max-width: 10rem; font-size: .75rem; }
  .sermon-format-field:first-child .shep-mobile-select { width: 10rem; }
}
@media (prefers-reduced-motion: reduce) {
  .shep-pull-refresh { transition: none; }
}

/* WebView safe areas are zero on desktop browsers. */
.shep-shell {
  --shep-header-height: calc(4rem + env(safe-area-inset-top, 0px));
  min-height: 100dvh;
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.shep-shell-header {
  height: var(--shep-header-height);
  padding-top: env(safe-area-inset-top, 0px);
}
.shep-mobile-drawer {
  padding-top: env(safe-area-inset-top, 0px);
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.shep-shell-with-tabs { padding-bottom: calc(4rem + env(safe-area-inset-bottom, 0px)); }
.shep-bottom-nav {
  position: fixed;
  inset: auto 0 0;
  z-index: 40;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: .25rem;
  padding: .25rem max(.5rem, env(safe-area-inset-right, 0px)) calc(.25rem + env(safe-area-inset-bottom, 0px)) max(.5rem, env(safe-area-inset-left, 0px));
  border-top: 1px solid hsl(var(--border));
  background: hsl(var(--background) / .97);
  backdrop-filter: blur(12px);
}
.shep-shell .sermon-formatting-toolbar,
.shep-shell .sermon-editor-page .sermon-desktop-toolbar-stack { top: var(--shep-header-height); }
/* Suppress selection in app chrome while keeping manuscripts and Bible text copyable. */
button, [role="button"], [role="tab"], [role="menuitem"],
nav, header, .lucide, .select-none { -webkit-user-select: none; user-select: none; }
input, textarea, [contenteditable="true"], [contenteditable="true"] *,
.ql-editor, .ql-editor *, .sermon-manuscript, .sermon-manuscript * {
  -webkit-user-select: text; user-select: text;
}

/* Keep the timer visible while the reading controls auto-hide. */
.preaching-timer {
  position: fixed; z-index: 102; left: 50%;
  bottom: max(.65rem, env(safe-area-inset-bottom));
  transform: translateX(-50%); display: flex; align-items: center;
  gap: .25rem; max-width: calc(100% - 1rem); padding: .25rem .5rem;
  border: 1px solid hsl(var(--border)); border-radius: .85rem;
  background: hsl(var(--card) / .96); backdrop-filter: blur(12px);
}
.preaching-mode-pages .preaching-timer { bottom: calc(max(.65rem, env(safe-area-inset-bottom)) + 4rem); }
.preaching-mode-pages .preaching-manuscript { padding-bottom: max(10rem, env(safe-area-inset-bottom)); }
.preaching-timer button:disabled { opacity: .5; }

/* Animate the search width and controls together instead of snapping flex rows. */
@media (max-width: 767px) {
  .sermon-library-controls {
    position: relative;
    display: block;
    height: 44px;
    transition: height 240ms cubic-bezier(.22, 1, .36, 1);
  }
  .sermon-library-search {
    width: calc(100% - 156px);
    transition: width 240ms cubic-bezier(.22, 1, .36, 1);
  }
  .sermon-library-actions {
    position: absolute;
    top: 0;
    right: 0;
    transition: transform 240ms cubic-bezier(.22, 1, .36, 1);
  }
  .sermon-library-controls.search-expanded { height: 96px; }
  .search-expanded .sermon-library-search { width: 100%; }
  .search-expanded .sermon-library-actions { transform: translateY(52px); }
}
@media (prefers-reduced-motion: reduce) {
  .sermon-library-controls, .sermon-library-search, .sermon-library-actions { transition: none; }
}

/* Shared mobile action sizing preserves labels and layouts on desktop. */
@media (max-width: 767px) {
  .preaching-desktop-control { display: none !important; }
  .mobile-icon-action { width: 44px; height: 44px; padding: 0; flex-shrink: 0; gap: 0; }
  .mobile-page-header { display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: 1rem; }
  .mobile-page-header > div { min-width: 0; }
  .mobile-page-header h1 { font-size: 1.25rem; line-height: 1.4; margin-top: 0; }
  .mobile-page-header p { display: none; }
  .mobile-report-controls { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 44px; gap: .5rem; margin-bottom: 1rem; }
  .mobile-report-field { min-width: 0; }
  .mobile-report-field > label { display: none; }
  .mobile-report-field [role="combobox"] { width: 100%; min-width: 0 !important; }
  .mobile-report-field [role="combobox"] > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .mobile-report-date { order: 1; grid-column: 1 / -1; min-width: 0; }
  .mobile-report-date input { width: 100%; min-width: 0; }
  .mobile-planner-controls { flex-wrap: nowrap; gap: .5rem; }
  .mobile-planner-location { min-width: 0 !important; width: 0; flex: 1; }
  .mobile-planner-location > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  [role="menuitem"], [role="menuitemradio"], [role="menuitemcheckbox"], [role="option"] { min-height: 44px; }
}

/* Scripture lines share a continuous panel in the editor and preaching view.
   A new reference starts its own panel even beside another passage. */
:is(.sermon-document-editor .ql-editor, .preaching-content, .sermon-import-preview) [data-sermon-style="scripture"] {
  border-left: 3px solid hsl(var(--scripture));
  background: hsl(var(--scripture) / .055);
  margin: 1rem 0 0;
  padding: .65rem 1rem .35rem;
  line-height: 1.65;
}
:is(.sermon-document-editor .ql-editor, .preaching-content, .sermon-import-preview) [data-sermon-style="scripture"] + [data-sermon-style="scripture"]:not([data-scripture-role="reference"]) {
  margin-top: 0;
  padding-top: .25rem;
}
:is(.sermon-document-editor .ql-editor, .preaching-content, .sermon-import-preview) [data-sermon-style="scripture"]:not(:has(+ [data-sermon-style="scripture"]:not([data-scripture-role="reference"]))) {
  padding-bottom: .75rem;
  margin-bottom: 1rem;
}
:is(.sermon-document-editor .ql-editor, .preaching-content, .sermon-import-preview) [data-sermon-style="scripture"][data-scripture-role="reference"] {
  font-style: normal;
  font-weight: 700;
}
:is(.sermon-document-editor .ql-editor, .preaching-content, .sermon-import-preview) [data-sermon-style="scripture"]:is([data-scripture-role="translation"], [data-scripture-role="attribution"]) {
  font-family: var(--font-sans, Inter, sans-serif);
  font-size: 7pt;
  font-style: normal;
  font-weight: 400;
  line-height: 1.5;
  color: hsl(var(--muted-foreground));
  padding-top: .45rem;
}

/* Consecutive paragraphs with the same section format form one visual panel. */
:is(.sermon-document-editor .ql-editor, .preaching-content, .sermon-import-preview) [data-sermon-style="illustration"] {
  margin-top: .85rem;
  margin-bottom: .85rem;
  padding-top: .6rem;
  padding-bottom: .6rem;
}
:is(.sermon-document-editor .ql-editor, .preaching-content, .sermon-import-preview) [data-sermon-style="illustration"]:has(+ [data-sermon-style="illustration"]) {
  margin-bottom: 0;
  padding-bottom: .25rem;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
:is(.sermon-document-editor .ql-editor, .preaching-content, .sermon-import-preview) [data-sermon-style="illustration"] + [data-sermon-style="illustration"] {
  margin-top: 0;
  padding-top: .25rem;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
:is(.sermon-document-editor .ql-editor, .preaching-content, .sermon-import-preview) [data-sermon-style="application"] {
  margin-top: .85rem;
  margin-bottom: .85rem;
  padding-top: .6rem;
  padding-bottom: .6rem;
}
:is(.sermon-document-editor .ql-editor, .preaching-content, .sermon-import-preview) [data-sermon-style="application"]:has(+ [data-sermon-style="application"]) {
  margin-bottom: 0;
  padding-bottom: .25rem;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
:is(.sermon-document-editor .ql-editor, .preaching-content, .sermon-import-preview) [data-sermon-style="application"] + [data-sermon-style="application"] {
  margin-top: 0;
  padding-top: .25rem;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
:is(.sermon-document-editor .ql-editor, .preaching-content, .sermon-import-preview) [data-sermon-style="prompt"] {
  margin-top: .85rem;
  margin-bottom: .85rem;
  padding-top: .6rem;
  padding-bottom: .6rem;
}
:is(.sermon-document-editor .ql-editor, .preaching-content, .sermon-import-preview) [data-sermon-style="prompt"]:has(+ [data-sermon-style="prompt"]) {
  margin-bottom: 0;
  padding-bottom: .25rem;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
:is(.sermon-document-editor .ql-editor, .preaching-content, .sermon-import-preview) [data-sermon-style="prompt"] + [data-sermon-style="prompt"] {
  margin-top: 0;
  padding-top: .25rem;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
:is(.sermon-document-editor .ql-editor, .preaching-content, .sermon-import-preview) [data-sermon-style="note"] {
  margin-top: .85rem;
  margin-bottom: .85rem;
  padding-top: .6rem;
  padding-bottom: .6rem;
}
:is(.sermon-document-editor .ql-editor, .preaching-content, .sermon-import-preview) [data-sermon-style="note"]:has(+ [data-sermon-style="note"]) {
  margin-bottom: 0;
  padding-bottom: .25rem;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
:is(.sermon-document-editor .ql-editor, .preaching-content, .sermon-import-preview) [data-sermon-style="note"] + [data-sermon-style="note"] {
  margin-top: 0;
  padding-top: .25rem;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
:is(.sermon-document-editor .ql-editor, .preaching-content, .sermon-import-preview) [data-sermon-style="quote"] {
  margin-top: .85rem;
  margin-bottom: .85rem;
  padding-top: .6rem;
  padding-bottom: .6rem;
}
:is(.sermon-document-editor .ql-editor, .preaching-content, .sermon-import-preview) [data-sermon-style="quote"]:has(+ [data-sermon-style="quote"]) {
  margin-bottom: 0;
  padding-bottom: .25rem;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
:is(.sermon-document-editor .ql-editor, .preaching-content, .sermon-import-preview) [data-sermon-style="quote"] + [data-sermon-style="quote"] {
  margin-top: 0;
  padding-top: .25rem;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
:is(.sermon-document-editor .ql-editor, .preaching-content, .sermon-import-preview) [data-sermon-style="prayer"] {
  margin-top: .85rem;
  margin-bottom: .85rem;
  padding-top: .6rem;
  padding-bottom: .6rem;
}
:is(.sermon-document-editor .ql-editor, .preaching-content, .sermon-import-preview) [data-sermon-style="prayer"]:has(+ [data-sermon-style="prayer"]) {
  margin-bottom: 0;
  padding-bottom: .25rem;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
:is(.sermon-document-editor .ql-editor, .preaching-content, .sermon-import-preview) [data-sermon-style="prayer"] + [data-sermon-style="prayer"] {
  margin-top: 0;
  padding-top: .25rem;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
/* Keep tablet Safari sticky positioning attached to the page scrollport.
   Clipping belongs inside the horizontal control rows, not on ancestors. */
@media (min-width: 641px) {
  .shep-shell:has(.sermon-editor-page),
  .shep-shell main:has(.sermon-editor-page),
  .sermon-editor-page .sermon-document-editor {
    overflow: visible;
  }
  .sermon-editor-page { animation: none; }
  .sermon-editor-page .sermon-rich-editor .ql-container,
  .sermon-editor-page .sermon-rich-editor .ql-editor {
    height: auto;
    overflow: visible;
  }
  .sermon-editor-page .sermon-formatting-toolbar {
    position: -webkit-sticky;
    position: sticky;
    top: var(--shep-header-height, 4rem);
    z-index: 20;
    background: hsl(var(--card));
    isolation: isolate;
  }
}
@media (min-width: 641px) and (max-width: 1366px) {
  .sermon-editor-page .sermon-formatting-controls,
  .sermon-editor-page .sermon-formatting-buttons {
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
  }
  .sermon-editor-page .sermon-format-field,
  .sermon-editor-page .sermon-formatting-buttons .ql-formats {
    flex: 0 0 auto;
  }
}

.sheptools-switcher,.sheptools-sheet { --st-surface:#fff;--st-ink:#1a1a1a;--st-muted:#626b76;--st-line:#e4e6e9;--st-hover:#f3f5f7;color:var(--st-ink);font-family:inherit;font-size:13px;line-height:1.4; }
.dark .sheptools-switcher,.dark .sheptools-sheet { --st-surface:#1b2330;--st-ink:#f1f4f8;--st-muted:#b6c0cf;--st-line:#374254;--st-hover:#283448; }
.sheptools-dock { position:fixed;inset:auto 12px max(10px,env(safe-area-inset-bottom)) auto;z-index:35;display:flex;align-items:center;gap:12px;padding:7px 10px;max-width:calc(100vw - 24px);background:var(--st-surface);border:1px solid var(--st-line);border-radius:18px;box-shadow:0 6px 28px #00000016; }
.sheptools-family { display:flex;align-items:center;gap:7px;font-size:12px;font-weight:700;padding:10px;color:var(--st-muted);text-decoration:none; }
.sheptools-dock-apps { display:flex;gap:4px; }
.sheptools-app { display:flex;align-items:center;gap:9px;min-height:52px;padding:7px 10px;border:1px solid transparent;border-radius:12px;color:var(--st-ink);text-decoration:none; }
.sheptools-app:hover { background:var(--st-hover); }
.sheptools-app.is-current { background:var(--st-hover);border-color:var(--sheptools-app-color); }
.sheptools-icon { position:relative;display:flex;align-items:center;justify-content:center;width:34px;height:34px;flex-shrink:0; }
.sheptools-icon img { display:block;width:30px;height:30px;object-fit:contain; }
.sheptools-label { display:flex;flex:1;flex-direction:column;gap:1px;min-width:0; }
.sheptools-label strong { font-size:12px;font-weight:650;white-space:nowrap; }
.sheptools-label small { font-size:10px;color:var(--st-muted);white-space:nowrap; }
.sheptools-label>span { font-size:12px;color:var(--st-muted); }
.sheptools-app.is-locked .sheptools-icon img { filter:grayscale(1);opacity:.5; }
.sheptools-lock { position:absolute;right:-2px;bottom:-2px;background:var(--st-surface);border-radius:3px;color:var(--st-muted); }
.sheptools-trigger { position:fixed;right:max(12px,env(safe-area-inset-right));z-index:35;display:flex;align-items:center;gap:7px;min-height:40px;padding:8px 13px;background:var(--st-surface);color:var(--st-ink);border:1px solid var(--st-line);border-radius:999px;box-shadow:0 3px 15px #0002;font-size:12px;font-weight:650;cursor:pointer; }
.sheptools-overlay { position:fixed;inset:0;z-index:80;background:#10182888; }
.sheptools-sheet { position:fixed;inset:auto 0 0;z-index:81;box-sizing:border-box;max-height:calc(100dvh - env(safe-area-inset-top) - 12px);overflow-y:auto;overscroll-behavior:contain;padding:22px max(18px,env(safe-area-inset-right)) max(20px,env(safe-area-inset-bottom)) max(18px,env(safe-area-inset-left));background:var(--st-surface);border:1px solid var(--st-line);border-radius:22px 22px 0 0;box-shadow:0 -8px 36px #0002; }
.sheptools-sheet-heading { display:flex;align-items:start;justify-content:space-between;gap:12px;margin:0 auto 14px;max-width:520px; }
.sheptools-sheet-heading h2 { font-size:19px;font-weight:650;line-height:1.3;letter-spacing:-.3px;margin:0; }
.sheptools-sheet-heading p { color:var(--st-muted);font-size:12px;margin:5px 0 0; }
.sheptools-close { display:flex;align-items:center;justify-content:center;flex-shrink:0;min-width:44px;min-height:44px;padding:8px;background:var(--st-hover);color:var(--st-ink);border:0;border-radius:50%;cursor:pointer; }
.sheptools-sheet-apps { display:grid;gap:5px;max-width:520px;margin:auto; }
.sheptools-sheet-apps .sheptools-app { padding:9px 12px;min-height:62px; }
.sheptools-sheet-apps .sheptools-label strong { font-size:14px; }
.sheptools-sheet-footer { max-width:520px;margin:16px auto 0;padding-top:14px;border-top:1px solid var(--st-line);font-size:12px;color:var(--st-muted); }
.sheptools-sheet-footer p { margin:0 0 6px; }
.sheptools-sheet-footer a { display:inline-flex;align-items:center;gap:4px;min-height:40px;color:var(--st-ink);font-weight:600;text-decoration:underline;text-underline-offset:3px; }
.sheptools-switcher a:focus-visible,.sheptools-switcher button:focus-visible,.sheptools-sheet a:focus-visible,.sheptools-sheet button:focus-visible { outline:3px solid #42b1e6;outline-offset:3px; }
.sheptools-space { height:100px;flex-shrink:0; }
.sheptools-switcher[data-keyboard="open"],body:has(.preaching-mode) .sheptools-switcher { display:none; }
@media(max-width:1023px) { .sheptools-space { height:60px; } }
@media print { .sheptools-switcher,.sheptools-space,.sheptools-sheet,.sheptools-overlay { display:none!important; } }

@media (max-width:1280px) { .sheptools-family span { display:none; } .sheptools-dock { gap:5px; } .sheptools-app { padding-inline:7px;gap:6px; } }

/*!
 * Quill Editor v2.0.3
 * https://quilljs.com
 * Copyright (c) 2017-2024, Slab
 * Copyright (c) 2014, Jason Chen
 * Copyright (c) 2013, salesforce.com
 */
.ql-container{box-sizing:border-box;font-family:Helvetica,Arial,sans-serif;font-size:13px;height:100%;margin:0;position:relative}.ql-container.ql-disabled .ql-tooltip{visibility:hidden}.ql-container:not(.ql-disabled) li[data-list=checked] > .ql-ui,.ql-container:not(.ql-disabled) li[data-list=unchecked] > .ql-ui{cursor:pointer}.ql-clipboard{left:-100000px;height:1px;overflow-y:hidden;position:absolute;top:50%}.ql-clipboard p{margin:0;padding:0}.ql-editor{box-sizing:border-box;counter-reset:list-0 list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;line-height:1.42;height:100%;outline:none;overflow-y:auto;padding:12px 15px;tab-size:4;-moz-tab-size:4;text-align:left;white-space:pre-wrap;word-wrap:break-word}.ql-editor > *{cursor:text}.ql-editor p,.ql-editor ol,.ql-editor pre,.ql-editor blockquote,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6{margin:0;padding:0}@supports (counter-set:none){.ql-editor p,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6{counter-set:list-0 list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor p,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6{counter-reset:list-0 list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}}.ql-editor table{border-collapse:collapse}.ql-editor td{border:1px solid #000;padding:2px 5px}.ql-editor ol{padding-left:1.5em}.ql-editor li{list-style-type:none;padding-left:1.5em;position:relative}.ql-editor li > .ql-ui:before{display:inline-block;margin-left:-1.5em;margin-right:.3em;text-align:right;white-space:nowrap;width:1.2em}.ql-editor li[data-list=checked] > .ql-ui,.ql-editor li[data-list=unchecked] > .ql-ui{color:#777}.ql-editor li[data-list=bullet] > .ql-ui:before{content:'\2022'}.ql-editor li[data-list=checked] > .ql-ui:before{content:'\2611'}.ql-editor li[data-list=unchecked] > .ql-ui:before{content:'\2610'}@supports (counter-set:none){.ql-editor li[data-list]{counter-set:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list]{counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}}.ql-editor li[data-list=ordered]{counter-increment:list-0}.ql-editor li[data-list=ordered] > .ql-ui:before{content:counter(list-0, decimal) '. '}.ql-editor li[data-list=ordered].ql-indent-1{counter-increment:list-1}.ql-editor li[data-list=ordered].ql-indent-1 > .ql-ui:before{content:counter(list-1, lower-alpha) '. '}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-1{counter-set:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-1{counter-reset:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-2{counter-increment:list-2}.ql-editor li[data-list=ordered].ql-indent-2 > .ql-ui:before{content:counter(list-2, lower-roman) '. '}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-2{counter-set:list-3 list-4 list-5 list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-2{counter-reset:list-3 list-4 list-5 list-6 list-7 list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-3{counter-increment:list-3}.ql-editor li[data-list=ordered].ql-indent-3 > .ql-ui:before{content:counter(list-3, decimal) '. '}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-3{counter-set:list-4 list-5 list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-3{counter-reset:list-4 list-5 list-6 list-7 list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-4{counter-increment:list-4}.ql-editor li[data-list=ordered].ql-indent-4 > .ql-ui:before{content:counter(list-4, lower-alpha) '. '}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-4{counter-set:list-5 list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-4{counter-reset:list-5 list-6 list-7 list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-5{counter-increment:list-5}.ql-editor li[data-list=ordered].ql-indent-5 > .ql-ui:before{content:counter(list-5, lower-roman) '. '}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-5{counter-set:list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-5{counter-reset:list-6 list-7 list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-6{counter-increment:list-6}.ql-editor li[data-list=ordered].ql-indent-6 > .ql-ui:before{content:counter(list-6, decimal) '. '}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-6{counter-set:list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-6{counter-reset:list-7 list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-7{counter-increment:list-7}.ql-editor li[data-list=ordered].ql-indent-7 > .ql-ui:before{content:counter(list-7, lower-alpha) '. '}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-7{counter-set:list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-7{counter-reset:list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-8{counter-increment:list-8}.ql-editor li[data-list=ordered].ql-indent-8 > .ql-ui:before{content:counter(list-8, lower-roman) '. '}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-8{counter-set:list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-8{counter-reset:list-9}}.ql-editor li[data-list=ordered].ql-indent-9{counter-increment:list-9}.ql-editor li[data-list=ordered].ql-indent-9 > .ql-ui:before{content:counter(list-9, decimal) '. '}.ql-editor .ql-indent-1:not(.ql-direction-rtl){padding-left:3em}.ql-editor li.ql-indent-1:not(.ql-direction-rtl){padding-left:4.5em}.ql-editor .ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:3em}.ql-editor li.ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:4.5em}.ql-editor .ql-indent-2:not(.ql-direction-rtl){padding-left:6em}.ql-editor li.ql-indent-2:not(.ql-direction-rtl){padding-left:7.5em}.ql-editor .ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:6em}.ql-editor li.ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:7.5em}.ql-editor .ql-indent-3:not(.ql-direction-rtl){padding-left:9em}.ql-editor li.ql-indent-3:not(.ql-direction-rtl){padding-left:10.5em}.ql-editor .ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:9em}.ql-editor li.ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:10.5em}.ql-editor .ql-indent-4:not(.ql-direction-rtl){padding-left:12em}.ql-editor li.ql-indent-4:not(.ql-direction-rtl){padding-left:13.5em}.ql-editor .ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:12em}.ql-editor li.ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:13.5em}.ql-editor .ql-indent-5:not(.ql-direction-rtl){padding-left:15em}.ql-editor li.ql-indent-5:not(.ql-direction-rtl){padding-left:16.5em}.ql-editor .ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:15em}.ql-editor li.ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:16.5em}.ql-editor .ql-indent-6:not(.ql-direction-rtl){padding-left:18em}.ql-editor li.ql-indent-6:not(.ql-direction-rtl){padding-left:19.5em}.ql-editor .ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:18em}.ql-editor li.ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:19.5em}.ql-editor .ql-indent-7:not(.ql-direction-rtl){padding-left:21em}.ql-editor li.ql-indent-7:not(.ql-direction-rtl){padding-left:22.5em}.ql-editor .ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:21em}.ql-editor li.ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:22.5em}.ql-editor .ql-indent-8:not(.ql-direction-rtl){padding-left:24em}.ql-editor li.ql-indent-8:not(.ql-direction-rtl){padding-left:25.5em}.ql-editor .ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:24em}.ql-editor li.ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:25.5em}.ql-editor .ql-indent-9:not(.ql-direction-rtl){padding-left:27em}.ql-editor li.ql-indent-9:not(.ql-direction-rtl){padding-left:28.5em}.ql-editor .ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:27em}.ql-editor li.ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:28.5em}.ql-editor li.ql-direction-rtl{padding-right:1.5em}.ql-editor li.ql-direction-rtl > .ql-ui:before{margin-left:.3em;margin-right:-1.5em;text-align:left}.ql-editor table{table-layout:fixed;width:100%}.ql-editor table td{outline:none}.ql-editor .ql-code-block-container{font-family:monospace}.ql-editor .ql-video{display:block;max-width:100%}.ql-editor .ql-video.ql-align-center{margin:0 auto}.ql-editor .ql-video.ql-align-right{margin:0 0 0 auto}.ql-editor .ql-bg-black{background-color:#000}.ql-editor .ql-bg-red{background-color:#e60000}.ql-editor .ql-bg-orange{background-color:#f90}.ql-editor .ql-bg-yellow{background-color:#ff0}.ql-editor .ql-bg-green{background-color:#008a00}.ql-editor .ql-bg-blue{background-color:#06c}.ql-editor .ql-bg-purple{background-color:#93f}.ql-editor .ql-color-white{color:#fff}.ql-editor .ql-color-red{color:#e60000}.ql-editor .ql-color-orange{color:#f90}.ql-editor .ql-color-yellow{color:#ff0}.ql-editor .ql-color-green{color:#008a00}.ql-editor .ql-color-blue{color:#06c}.ql-editor .ql-color-purple{color:#93f}.ql-editor .ql-font-serif{font-family:Georgia,Times New Roman,serif}.ql-editor .ql-font-monospace{font-family:Monaco,Courier New,monospace}.ql-editor .ql-size-small{font-size:.75em}.ql-editor .ql-size-large{font-size:1.5em}.ql-editor .ql-size-huge{font-size:2.5em}.ql-editor .ql-direction-rtl{direction:rtl;text-align:inherit}.ql-editor .ql-align-center{text-align:center}.ql-editor .ql-align-justify{text-align:justify}.ql-editor .ql-align-right{text-align:right}.ql-editor .ql-ui{position:absolute}.ql-editor.ql-blank::before{color:rgba(0,0,0,0.6);content:attr(data-placeholder);font-style:italic;left:15px;pointer-events:none;position:absolute;right:15px}.ql-snow.ql-toolbar:after,.ql-snow .ql-toolbar:after{clear:both;content:'';display:table}.ql-snow.ql-toolbar button,.ql-snow .ql-toolbar button{background:none;border:none;cursor:pointer;display:inline-block;float:left;height:24px;padding:3px 5px;width:28px}.ql-snow.ql-toolbar button svg,.ql-snow .ql-toolbar button svg{float:left;height:100%}.ql-snow.ql-toolbar button:active:hover,.ql-snow .ql-toolbar button:active:hover{outline:none}.ql-snow.ql-toolbar input.ql-image[type=file],.ql-snow .ql-toolbar input.ql-image[type=file]{display:none}.ql-snow.ql-toolbar button:hover,.ql-snow .ql-toolbar button:hover,.ql-snow.ql-toolbar button:focus,.ql-snow .ql-toolbar button:focus,.ql-snow.ql-toolbar button.ql-active,.ql-snow .ql-toolbar button.ql-active,.ql-snow.ql-toolbar .ql-picker-label:hover,.ql-snow .ql-toolbar .ql-picker-label:hover,.ql-snow.ql-toolbar .ql-picker-label.ql-active,.ql-snow .ql-toolbar .ql-picker-label.ql-active,.ql-snow.ql-toolbar .ql-picker-item:hover,.ql-snow .ql-toolbar .ql-picker-item:hover,.ql-snow.ql-toolbar .ql-picker-item.ql-selected,.ql-snow .ql-toolbar .ql-picker-item.ql-selected{color:#06c}.ql-snow.ql-toolbar button:hover .ql-fill,.ql-snow .ql-toolbar button:hover .ql-fill,.ql-snow.ql-toolbar button:focus .ql-fill,.ql-snow .ql-toolbar button:focus .ql-fill,.ql-snow.ql-toolbar button.ql-active .ql-fill,.ql-snow .ql-toolbar button.ql-active .ql-fill,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-fill,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-fill,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-snow.ql-toolbar button:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar button:focus .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:focus .ql-stroke.ql-fill,.ql-snow.ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow .ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill{fill:#06c}.ql-snow.ql-toolbar button:hover .ql-stroke,.ql-snow .ql-toolbar button:hover .ql-stroke,.ql-snow.ql-toolbar button:focus .ql-stroke,.ql-snow .ql-toolbar button:focus .ql-stroke,.ql-snow.ql-toolbar button.ql-active .ql-stroke,.ql-snow .ql-toolbar button.ql-active .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow.ql-toolbar button:hover .ql-stroke-miter,.ql-snow .ql-toolbar button:hover .ql-stroke-miter,.ql-snow.ql-toolbar button:focus .ql-stroke-miter,.ql-snow .ql-toolbar button:focus .ql-stroke-miter,.ql-snow.ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter{stroke:#06c}@media (pointer:coarse){.ql-snow.ql-toolbar button:hover:not(.ql-active),.ql-snow .ql-toolbar button:hover:not(.ql-active){color:#444}.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill{fill:#444}.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter{stroke:#444}}.ql-snow{box-sizing:border-box}.ql-snow *{box-sizing:border-box}.ql-snow .ql-hidden{display:none}.ql-snow .ql-out-bottom,.ql-snow .ql-out-top{visibility:hidden}.ql-snow .ql-tooltip{position:absolute;transform:translateY(10px)}.ql-snow .ql-tooltip a{cursor:pointer;text-decoration:none}.ql-snow .ql-tooltip.ql-flip{transform:translateY(-10px)}.ql-snow .ql-formats{display:inline-block;vertical-align:middle}.ql-snow .ql-formats:after{clear:both;content:'';display:table}.ql-snow .ql-stroke{fill:none;stroke:#444;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}.ql-snow .ql-stroke-miter{fill:none;stroke:#444;stroke-miterlimit:10;stroke-width:2}.ql-snow .ql-fill,.ql-snow .ql-stroke.ql-fill{fill:#444}.ql-snow .ql-empty{fill:none}.ql-snow .ql-even{fill-rule:evenodd}.ql-snow .ql-thin,.ql-snow .ql-stroke.ql-thin{stroke-width:1}.ql-snow .ql-transparent{opacity:.4}.ql-snow .ql-direction svg:last-child{display:none}.ql-snow .ql-direction.ql-active svg:last-child{display:inline}.ql-snow .ql-direction.ql-active svg:first-child{display:none}.ql-snow .ql-editor h1{font-size:2em}.ql-snow .ql-editor h2{font-size:1.5em}.ql-snow .ql-editor h3{font-size:1.17em}.ql-snow .ql-editor h4{font-size:1em}.ql-snow .ql-editor h5{font-size:.83em}.ql-snow .ql-editor h6{font-size:.67em}.ql-snow .ql-editor a{text-decoration:underline}.ql-snow .ql-editor blockquote{border-left:4px solid #ccc;margin-bottom:5px;margin-top:5px;padding-left:16px}.ql-snow .ql-editor code,.ql-snow .ql-editor .ql-code-block-container{background-color:#f0f0f0;border-radius:3px}.ql-snow .ql-editor .ql-code-block-container{margin-bottom:5px;margin-top:5px;padding:5px 10px}.ql-snow .ql-editor code{font-size:85%;padding:2px 4px}.ql-snow .ql-editor .ql-code-block-container{background-color:#23241f;color:#f8f8f2;overflow:visible}.ql-snow .ql-editor img{max-width:100%}.ql-snow .ql-picker{color:#444;display:inline-block;float:left;font-size:14px;font-weight:500;height:24px;position:relative;vertical-align:middle}.ql-snow .ql-picker-label{cursor:pointer;display:inline-block;height:100%;padding-left:8px;padding-right:2px;position:relative;width:100%}.ql-snow .ql-picker-label::before{display:inline-block;line-height:22px}.ql-snow .ql-picker-options{background-color:#fff;display:none;min-width:100%;padding:4px 8px;position:absolute;white-space:nowrap}.ql-snow .ql-picker-options .ql-picker-item{cursor:pointer;display:block;padding-bottom:5px;padding-top:5px}.ql-snow .ql-picker.ql-expanded .ql-picker-label{color:#ccc;z-index:2}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-fill{fill:#ccc}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-stroke{stroke:#ccc}.ql-snow .ql-picker.ql-expanded .ql-picker-options{display:block;margin-top:-1px;top:100%;z-index:1}.ql-snow .ql-color-picker,.ql-snow .ql-icon-picker{width:28px}.ql-snow .ql-color-picker .ql-picker-label,.ql-snow .ql-icon-picker .ql-picker-label{padding:2px 4px}.ql-snow .ql-color-picker .ql-picker-label svg,.ql-snow .ql-icon-picker .ql-picker-label svg{right:4px}.ql-snow .ql-icon-picker .ql-picker-options{padding:4px 0}.ql-snow .ql-icon-picker .ql-picker-item{height:24px;width:24px;padding:2px 4px}.ql-snow .ql-color-picker .ql-picker-options{padding:3px 5px;width:152px}.ql-snow .ql-color-picker .ql-picker-item{border:1px solid transparent;float:left;height:16px;margin:2px;padding:0;width:16px}.ql-snow .ql-picker:not(.ql-color-picker):not(.ql-icon-picker) svg{position:absolute;margin-top:-9px;right:0;top:50%;width:18px}.ql-snow .ql-picker.ql-header .ql-picker-label[data-label]:not([data-label=''])::before,.ql-snow .ql-picker.ql-font .ql-picker-label[data-label]:not([data-label=''])::before,.ql-snow .ql-picker.ql-size .ql-picker-label[data-label]:not([data-label=''])::before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-label]:not([data-label=''])::before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-label]:not([data-label=''])::before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-label]:not([data-label=''])::before{content:attr(data-label)}.ql-snow .ql-picker.ql-header{width:98px}.ql-snow .ql-picker.ql-header .ql-picker-label::before,.ql-snow .ql-picker.ql-header .ql-picker-item::before{content:'Normal'}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="1"]::before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]::before{content:'Heading 1'}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="2"]::before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]::before{content:'Heading 2'}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="3"]::before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]::before{content:'Heading 3'}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="4"]::before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]::before{content:'Heading 4'}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="5"]::before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]::before{content:'Heading 5'}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="6"]::before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="6"]::before{content:'Heading 6'}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]::before{font-size:2em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]::before{font-size:1.5em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]::before{font-size:1.17em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]::before{font-size:1em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]::before{font-size:.83em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="6"]::before{font-size:.67em}.ql-snow .ql-picker.ql-font{width:108px}.ql-snow .ql-picker.ql-font .ql-picker-label::before,.ql-snow .ql-picker.ql-font .ql-picker-item::before{content:'Sans Serif'}.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=serif]::before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]::before{content:'Serif'}.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=monospace]::before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]::before{content:'Monospace'}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]::before{font-family:Georgia,Times New Roman,serif}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]::before{font-family:Monaco,Courier New,monospace}.ql-snow .ql-picker.ql-size{width:98px}.ql-snow .ql-picker.ql-size .ql-picker-label::before,.ql-snow .ql-picker.ql-size .ql-picker-item::before{content:'Normal'}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=small]::before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]::before{content:'Small'}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=large]::before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]::before{content:'Large'}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=huge]::before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]::before{content:'Huge'}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]::before{font-size:10px}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]::before{font-size:18px}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]::before{font-size:32px}.ql-snow .ql-color-picker.ql-background .ql-picker-item{background-color:#fff}.ql-snow .ql-color-picker.ql-color .ql-picker-item{background-color:#000}.ql-code-block-container{position:relative}.ql-code-block-container .ql-ui{right:5px;top:5px}.ql-toolbar.ql-snow{border:1px solid #ccc;box-sizing:border-box;font-family:'Helvetica Neue','Helvetica','Arial',sans-serif;padding:8px}.ql-toolbar.ql-snow .ql-formats{margin-right:15px}.ql-toolbar.ql-snow .ql-picker-label{border:1px solid transparent}.ql-toolbar.ql-snow .ql-picker-options{border:1px solid transparent;box-shadow:rgba(0,0,0,0.2) 0 2px 8px}.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-label{border-color:#ccc}.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-options{border-color:#ccc}.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item.ql-selected,.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item:hover{border-color:#000}.ql-toolbar.ql-snow + .ql-container.ql-snow{border-top:0}.ql-snow .ql-tooltip{background-color:#fff;border:1px solid #ccc;box-shadow:0 0 5px #ddd;color:#444;padding:5px 12px;white-space:nowrap}.ql-snow .ql-tooltip::before{content:"Visit URL:";line-height:26px;margin-right:8px}.ql-snow .ql-tooltip input[type=text]{display:none;border:1px solid #ccc;font-size:13px;height:26px;margin:0;padding:3px 5px;width:170px}.ql-snow .ql-tooltip a.ql-preview{display:inline-block;max-width:200px;overflow-x:hidden;text-overflow:ellipsis;vertical-align:top}.ql-snow .ql-tooltip a.ql-action::after{border-right:1px solid #ccc;content:'Edit';margin-left:16px;padding-right:8px}.ql-snow .ql-tooltip a.ql-remove::before{content:'Remove';margin-left:8px}.ql-snow .ql-tooltip a{line-height:26px}.ql-snow .ql-tooltip.ql-editing a.ql-preview,.ql-snow .ql-tooltip.ql-editing a.ql-remove{display:none}.ql-snow .ql-tooltip.ql-editing input[type=text]{display:inline-block}.ql-snow .ql-tooltip.ql-editing a.ql-action::after{border-right:0;content:'Save';padding-right:0}.ql-snow .ql-tooltip[data-mode=link]::before{content:"Enter link:"}.ql-snow .ql-tooltip[data-mode=formula]::before{content:"Enter formula:"}.ql-snow .ql-tooltip[data-mode=video]::before{content:"Enter video:"}.ql-snow a{color:#06c}.ql-container.ql-snow{border:1px solid #ccc}

/*# sourceMappingURL=quill.snow.css.map*/

.file\:border-0::file-selector-button {
  border-width: 0px;
}

.file\:bg-transparent::file-selector-button {
  background-color: transparent;
}

.file\:text-sm::file-selector-button {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.file\:font-medium::file-selector-button {
  font-weight: 500;
}

.file\:text-foreground::file-selector-button {
  color: hsl(var(--foreground));
}

.placeholder\:text-muted-foreground::placeholder {
  color: hsl(var(--muted-foreground));
}

.placeholder\:text-muted-foreground\/40::placeholder {
  color: hsl(var(--muted-foreground) / 0.4);
}

.placeholder\:text-muted-foreground\/50::placeholder {
  color: hsl(var(--muted-foreground) / 0.5);
}

.hover\:border-destructive\/40:hover {
  border-color: hsl(var(--destructive) / 0.4);
}

.hover\:border-primary\/40:hover {
  border-color: hsl(var(--primary) / 0.4);
}

.hover\:bg-accent:hover {
  background-color: hsl(var(--accent));
}

.hover\:bg-accent\/20:hover {
  background-color: hsl(var(--accent) / 0.2);
}

.hover\:bg-accent\/30:hover {
  background-color: hsl(var(--accent) / 0.3);
}

.hover\:bg-accent\/40:hover {
  background-color: hsl(var(--accent) / 0.4);
}

.hover\:bg-primary\/90:hover {
  background-color: hsl(var(--primary) / 0.9);
}

.hover\:text-accent-foreground:hover {
  color: hsl(var(--accent-foreground));
}

.hover\:text-destructive:hover {
  color: hsl(var(--destructive));
}

.hover\:text-foreground:hover {
  color: hsl(var(--foreground));
}

.hover\:underline:hover {
  text-decoration-line: underline;
}

.focus\:outline-none:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.focus\:ring-1:focus {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}

.focus\:ring-ring:focus {
  --tw-ring-color: hsl(var(--ring));
}

.focus-visible\:outline-none:focus-visible {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.focus-visible\:ring-1:focus-visible {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}

.focus-visible\:ring-2:focus-visible {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}

.focus-visible\:ring-inset:focus-visible {
  --tw-ring-inset: inset;
}

.focus-visible\:ring-ring:focus-visible {
  --tw-ring-color: hsl(var(--ring));
}

.disabled\:pointer-events-none:disabled {
  pointer-events: none;
}

.disabled\:cursor-not-allowed:disabled {
  cursor: not-allowed;
}

.disabled\:opacity-50:disabled {
  opacity: 0.5;
}

.group:hover .group-hover\:translate-x-0\.5 {
  --tw-translate-x: 0.125rem;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.group:hover .group-hover\:text-primary {
  color: hsl(var(--primary));
}

.data-\[placeholder\]\:text-muted-foreground[data-placeholder] {
  color: hsl(var(--muted-foreground));
}

.dark\:block:is(.dark *) {
  display: block;
}

.dark\:hidden:is(.dark *) {
  display: none;
}

@media (min-width: 640px) {

  .sm\:mt-2 {
    margin-top: 0.5rem;
  }

  .sm\:mt-6 {
    margin-top: 1.5rem;
  }

  .sm\:inline {
    display: inline;
  }

  .sm\:flex {
    display: flex;
  }

  .sm\:hidden {
    display: none;
  }

  .sm\:h-8 {
    height: 2rem;
  }

  .sm\:w-\[170px\] {
    width: 170px;
  }

  .sm\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sm\:gap-2 {
    gap: 0.5rem;
  }

  .sm\:gap-3 {
    gap: 0.75rem;
  }

  .sm\:overflow-visible {
    overflow: visible;
  }

  .sm\:p-4 {
    padding: 1rem;
  }

  .sm\:p-5 {
    padding: 1.25rem;
  }

  .sm\:px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .sm\:px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .sm\:py-8 {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .sm\:pb-14 {
    padding-bottom: 3.5rem;
  }

  .sm\:text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }

  .sm\:text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
  }
}

@media (min-width: 768px) {

  .md\:mb-5 {
    margin-bottom: 1.25rem;
  }

  .md\:mb-8 {
    margin-bottom: 2rem;
  }

  .md\:block {
    display: block;
  }

  .md\:inline {
    display: inline;
  }

  .md\:flex {
    display: flex;
  }

  .md\:hidden {
    display: none;
  }

  .md\:h-10 {
    height: 2.5rem;
  }

  .md\:h-9 {
    height: 2.25rem;
  }

  .md\:w-9 {
    width: 2.25rem;
  }

  .md\:w-auto {
    width: auto;
  }

  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .md\:flex-wrap {
    flex-wrap: wrap;
  }

  .md\:gap-2 {
    gap: 0.5rem;
  }

  .md\:gap-3 {
    gap: 0.75rem;
  }

  .md\:px-2\.5 {
    padding-left: 0.625rem;
    padding-right: 0.625rem;
  }

  .md\:px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .md\:text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
  }

  .md\:text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
  }
}

@media (min-width: 1024px) {

  .lg\:flex {
    display: flex;
  }

  .lg\:hidden {
    display: none;
  }

  .lg\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .lg\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .lg\:px-10 {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }

  .lg\:px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .lg\:pl-64 {
    padding-left: 16rem;
  }
}

@media (min-width: 1280px) {

  .xl\:block {
    display: block;
  }

  .xl\:grid {
    display: grid;
  }

  .xl\:hidden {
    display: none;
  }

  .xl\:grid-cols-\[minmax\(0\2c 1fr\)_120px_108px_108px_74px_36px\] {
    grid-template-columns: minmax(0,1fr) 120px 108px 108px 74px 36px;
  }
}

@media (min-width: 1536px) {

  .\32xl\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .\32xl\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}