@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter/InterVariable.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter/InterVariable-Italic.woff2") format("woff2");
}

*, ::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.17 | MIT License | https://tailwindcss.com
*/

/*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

b,
strong {
  font-weight: bolder;
}

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

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

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

small {
  font-size: 80%;
}

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

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

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

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

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

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

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

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

button,
select {
  text-transform: none;
}

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

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

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

:-moz-focusring {
  outline: auto;
}

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

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

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

progress {
  vertical-align: baseline;
}

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

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

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

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

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

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

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

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

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

summary {
  display: list-item;
}

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

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

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

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

/*
Reset default styling for dialogs.
*/

dialog {
  padding: 0;
}

/*
Prevent resizing textareas horizontally by default.
*/

textarea {
  resize: vertical;
}

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

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

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

/*
Set the default cursor for buttons.
*/

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

/*
Make sure disabled buttons don't get the pointer cursor.
*/

:disabled {
  cursor: default;
}

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

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

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

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

/* Make elements with the HTML hidden attribute stay hidden by default */

[hidden]:where(:not([hidden="until-found"])) {
  display: none;
}

[type='text'],input:where(:not([type])),[type='email'],[type='url'],[type='password'],[type='number'],[type='date'],[type='datetime-local'],[type='month'],[type='search'],[type='tel'],[type='time'],[type='week'],[multiple],textarea,select {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background-color: #fff;
  border-color: #6b7280;
  border-width: 1px;
  border-radius: 0px;
  padding-top: 0.5rem;
  padding-right: 0.75rem;
  padding-bottom: 0.5rem;
  padding-left: 0.75rem;
  font-size: 1rem;
  line-height: 1.5rem;
  --tw-shadow: 0 0 #0000;
}

[type='text']:focus, input:where(:not([type])):focus, [type='email']:focus, [type='url']:focus, [type='password']:focus, [type='number']:focus, [type='date']:focus, [type='datetime-local']:focus, [type='month']:focus, [type='search']:focus, [type='tel']:focus, [type='time']:focus, [type='week']:focus, [multiple]:focus, textarea:focus, select:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
  --tw-ring-inset: var(--tw-empty,/*!*/ /*!*/);
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: #2563eb;
  --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);
  border-color: #2563eb;
}

input::-moz-placeholder, textarea::-moz-placeholder {
  color: #6b7280;
  opacity: 1;
}

input::placeholder,textarea::placeholder {
  color: #6b7280;
  opacity: 1;
}

::-webkit-datetime-edit-fields-wrapper {
  padding: 0;
}

::-webkit-date-and-time-value {
  min-height: 1.5em;
  text-align: inherit;
}

::-webkit-datetime-edit {
  display: inline-flex;
}

::-webkit-datetime-edit,::-webkit-datetime-edit-year-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-meridiem-field {
  padding-top: 0;
  padding-bottom: 0;
}

select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 0.5rem center;
  background-repeat: no-repeat;
  background-size: 1.5em 1.5em;
  padding-right: 2.5rem;
  -webkit-print-color-adjust: exact;
          print-color-adjust: exact;
}

[multiple],[size]:where(select:not([size="1"])) {
  background-image: initial;
  background-position: initial;
  background-repeat: unset;
  background-size: initial;
  padding-right: 0.75rem;
  -webkit-print-color-adjust: unset;
          print-color-adjust: unset;
}

[type='checkbox'],[type='radio'] {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  padding: 0;
  -webkit-print-color-adjust: exact;
          print-color-adjust: exact;
  display: inline-block;
  vertical-align: middle;
  background-origin: border-box;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  flex-shrink: 0;
  height: 1rem;
  width: 1rem;
  color: #2563eb;
  background-color: #fff;
  border-color: #6b7280;
  border-width: 1px;
  --tw-shadow: 0 0 #0000;
}

[type='checkbox'] {
  border-radius: 0px;
}

[type='radio'] {
  border-radius: 100%;
}

[type='checkbox']:focus,[type='radio']:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
  --tw-ring-inset: var(--tw-empty,/*!*/ /*!*/);
  --tw-ring-offset-width: 2px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: #2563eb;
  --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);
}

[type='checkbox']:checked,[type='radio']:checked {
  border-color: transparent;
  background-color: currentColor;
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
}

[type='checkbox']:checked {
  background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");
}

@media (forced-colors: active)  {
  [type='checkbox']:checked {
    -webkit-appearance: auto;
       -moz-appearance: auto;
            appearance: auto;
  }
}

[type='radio']:checked {
  background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");
}

@media (forced-colors: active)  {
  [type='radio']:checked {
    -webkit-appearance: auto;
       -moz-appearance: auto;
            appearance: auto;
  }
}

[type='checkbox']:checked:hover,[type='checkbox']:checked:focus,[type='radio']:checked:hover,[type='radio']:checked:focus {
  border-color: transparent;
  background-color: currentColor;
}

[type='checkbox']:indeterminate {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3e%3c/svg%3e");
  border-color: transparent;
  background-color: currentColor;
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
}

@media (forced-colors: active)  {
  [type='checkbox']:indeterminate {
    -webkit-appearance: auto;
       -moz-appearance: auto;
            appearance: auto;
  }
}

[type='checkbox']:indeterminate:hover,[type='checkbox']:indeterminate:focus {
  border-color: transparent;
  background-color: currentColor;
}

[type='file'] {
  background: unset;
  border-color: inherit;
  border-width: 0;
  border-radius: 0;
  padding: 0;
  font-size: unset;
  line-height: inherit;
}

[type='file']:focus {
  outline: 1px solid ButtonText;
  outline: 1px auto -webkit-focus-ring-color;
}

.\!container {
  width: 100% !important;
}

.container {
  width: 100%;
}

@media (min-width: 640px) {
  .\!container {
    max-width: 640px !important;
  }

  .container {
    max-width: 640px;
  }
}

@media (min-width: 768px) {
  .\!container {
    max-width: 768px !important;
  }

  .container {
    max-width: 768px;
  }
}

@media (min-width: 1024px) {
  .\!container {
    max-width: 1024px !important;
  }

  .container {
    max-width: 1024px;
  }
}

@media (min-width: 1280px) {
  .\!container {
    max-width: 1280px !important;
  }

  .container {
    max-width: 1280px;
  }
}

@media (min-width: 1536px) {
  .\!container {
    max-width: 1536px !important;
  }

  .container {
    max-width: 1536px;
  }
}

.prose {
  color: var(--tw-prose-body);
  max-width: 65ch;
}

.prose :where(p):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 1.25em;
  margin-bottom: 1.25em;
}

.prose :where([class~="lead"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-lead);
  font-size: 1.25em;
  line-height: 1.6;
  margin-top: 1.2em;
  margin-bottom: 1.2em;
}

.prose :where(a):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-links);
  text-decoration: underline;
  font-weight: 500;
}

.prose :where(strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-bold);
  font-weight: 600;
}

.prose :where(a strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: inherit;
}

.prose :where(blockquote strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: inherit;
}

.prose :where(thead th strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: inherit;
}

.prose :where(ol):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: decimal;
  margin-top: 1.25em;
  margin-bottom: 1.25em;
  padding-inline-start: 1.625em;
}

.prose :where(ol[type="A"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: upper-alpha;
}

.prose :where(ol[type="a"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: lower-alpha;
}

.prose :where(ol[type="A" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: upper-alpha;
}

.prose :where(ol[type="a" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: lower-alpha;
}

.prose :where(ol[type="I"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: upper-roman;
}

.prose :where(ol[type="i"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: lower-roman;
}

.prose :where(ol[type="I" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: upper-roman;
}

.prose :where(ol[type="i" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: lower-roman;
}

.prose :where(ol[type="1"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: decimal;
}

.prose :where(ul):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: disc;
  margin-top: 1.25em;
  margin-bottom: 1.25em;
  padding-inline-start: 1.625em;
}

.prose :where(ol > li):not(:where([class~="not-prose"],[class~="not-prose"] *))::marker {
  font-weight: 400;
  color: var(--tw-prose-counters);
}

.prose :where(ul > li):not(:where([class~="not-prose"],[class~="not-prose"] *))::marker {
  color: var(--tw-prose-bullets);
}

.prose :where(dt):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-headings);
  font-weight: 600;
  margin-top: 1.25em;
}

.prose :where(hr):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  border-color: var(--tw-prose-hr);
  border-top-width: 1px;
  margin-top: 3em;
  margin-bottom: 3em;
}

.prose :where(blockquote):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  font-weight: 500;
  font-style: italic;
  color: var(--tw-prose-quotes);
  border-inline-start-width: 0.25rem;
  border-inline-start-color: var(--tw-prose-quote-borders);
  quotes: "\201C""\201D""\2018""\2019";
  margin-top: 1.6em;
  margin-bottom: 1.6em;
  padding-inline-start: 1em;
}

.prose :where(blockquote p:first-of-type):not(:where([class~="not-prose"],[class~="not-prose"] *))::before {
  content: open-quote;
}

.prose :where(blockquote p:last-of-type):not(:where([class~="not-prose"],[class~="not-prose"] *))::after {
  content: close-quote;
}

.prose :where(h1):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-headings);
  font-weight: 700;
  font-size: 2.25em;
  margin-top: 0;
  margin-bottom: 0.8888889em;
  line-height: 1.1111111;
}

.prose :where(h1 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  font-weight: 700;
  color: inherit;
}

.prose :where(h2):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-headings);
  font-weight: 700;
  font-size: 1.5em;
  margin-top: 2em;
  margin-bottom: 1em;
  line-height: 1.3333333;
}

.prose :where(h2 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  font-weight: 700;
  color: inherit;
}

.prose :where(h3):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-headings);
  font-weight: 600;
  font-size: 1.25em;
  margin-top: 1.6em;
  margin-bottom: 0.6em;
  line-height: 1.6;
}

.prose :where(h3 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  font-weight: 700;
  color: inherit;
}

.prose :where(h4):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-headings);
  font-weight: 600;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
  line-height: 1.5;
}

.prose :where(h4 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  font-weight: 700;
  color: inherit;
}

.prose :where(img):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 2em;
  margin-bottom: 2em;
}

.prose :where(picture):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  display: block;
  margin-top: 2em;
  margin-bottom: 2em;
}

.prose :where(video):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 2em;
  margin-bottom: 2em;
}

.prose :where(kbd):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  font-weight: 500;
  font-family: inherit;
  color: var(--tw-prose-kbd);
  box-shadow: 0 0 0 1px rgb(var(--tw-prose-kbd-shadows) / 10%), 0 3px 0 rgb(var(--tw-prose-kbd-shadows) / 10%);
  font-size: 0.875em;
  border-radius: 0.3125rem;
  padding-top: 0.1875em;
  padding-inline-end: 0.375em;
  padding-bottom: 0.1875em;
  padding-inline-start: 0.375em;
}

.prose :where(code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-code);
  font-weight: 600;
  font-size: 0.875em;
}

.prose :where(code):not(:where([class~="not-prose"],[class~="not-prose"] *))::before {
  content: "`";
}

.prose :where(code):not(:where([class~="not-prose"],[class~="not-prose"] *))::after {
  content: "`";
}

.prose :where(a code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: inherit;
}

.prose :where(h1 code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: inherit;
}

.prose :where(h2 code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: inherit;
  font-size: 0.875em;
}

.prose :where(h3 code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: inherit;
  font-size: 0.9em;
}

.prose :where(h4 code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: inherit;
}

.prose :where(blockquote code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: inherit;
}

.prose :where(thead th code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: inherit;
}

.prose :where(pre):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-pre-code);
  background-color: var(--tw-prose-pre-bg);
  overflow-x: auto;
  font-weight: 400;
  font-size: 0.875em;
  line-height: 1.7142857;
  margin-top: 1.7142857em;
  margin-bottom: 1.7142857em;
  border-radius: 0.375rem;
  padding-top: 0.8571429em;
  padding-inline-end: 1.1428571em;
  padding-bottom: 0.8571429em;
  padding-inline-start: 1.1428571em;
}

.prose :where(pre code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  background-color: transparent;
  border-width: 0;
  border-radius: 0;
  padding: 0;
  font-weight: inherit;
  color: inherit;
  font-size: inherit;
  font-family: inherit;
  line-height: inherit;
}

.prose :where(pre code):not(:where([class~="not-prose"],[class~="not-prose"] *))::before {
  content: none;
}

.prose :where(pre code):not(:where([class~="not-prose"],[class~="not-prose"] *))::after {
  content: none;
}

.prose :where(table):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  width: 100%;
  table-layout: auto;
  margin-top: 2em;
  margin-bottom: 2em;
  font-size: 0.875em;
  line-height: 1.7142857;
}

.prose :where(thead):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  border-bottom-width: 1px;
  border-bottom-color: var(--tw-prose-th-borders);
}

.prose :where(thead th):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-headings);
  font-weight: 600;
  vertical-align: bottom;
  padding-inline-end: 0.5714286em;
  padding-bottom: 0.5714286em;
  padding-inline-start: 0.5714286em;
}

.prose :where(tbody tr):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  border-bottom-width: 1px;
  border-bottom-color: var(--tw-prose-td-borders);
}

.prose :where(tbody tr:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  border-bottom-width: 0;
}

.prose :where(tbody td):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  vertical-align: baseline;
}

.prose :where(tfoot):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  border-top-width: 1px;
  border-top-color: var(--tw-prose-th-borders);
}

.prose :where(tfoot td):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  vertical-align: top;
}

.prose :where(th, td):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  text-align: start;
}

.prose :where(figure > *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0;
  margin-bottom: 0;
}

.prose :where(figcaption):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-captions);
  font-size: 0.875em;
  line-height: 1.4285714;
  margin-top: 0.8571429em;
}

.prose {
  --tw-prose-body: #374151;
  --tw-prose-headings: #111827;
  --tw-prose-lead: #4b5563;
  --tw-prose-links: #111827;
  --tw-prose-bold: #111827;
  --tw-prose-counters: #6b7280;
  --tw-prose-bullets: #d1d5db;
  --tw-prose-hr: #e5e7eb;
  --tw-prose-quotes: #111827;
  --tw-prose-quote-borders: #e5e7eb;
  --tw-prose-captions: #6b7280;
  --tw-prose-kbd: #111827;
  --tw-prose-kbd-shadows: 17 24 39;
  --tw-prose-code: #111827;
  --tw-prose-pre-code: #e5e7eb;
  --tw-prose-pre-bg: #1f2937;
  --tw-prose-th-borders: #d1d5db;
  --tw-prose-td-borders: #e5e7eb;
  --tw-prose-invert-body: #d1d5db;
  --tw-prose-invert-headings: #fff;
  --tw-prose-invert-lead: #9ca3af;
  --tw-prose-invert-links: #fff;
  --tw-prose-invert-bold: #fff;
  --tw-prose-invert-counters: #9ca3af;
  --tw-prose-invert-bullets: #4b5563;
  --tw-prose-invert-hr: #374151;
  --tw-prose-invert-quotes: #f3f4f6;
  --tw-prose-invert-quote-borders: #374151;
  --tw-prose-invert-captions: #9ca3af;
  --tw-prose-invert-kbd: #fff;
  --tw-prose-invert-kbd-shadows: 255 255 255;
  --tw-prose-invert-code: #fff;
  --tw-prose-invert-pre-code: #d1d5db;
  --tw-prose-invert-pre-bg: rgb(0 0 0 / 50%);
  --tw-prose-invert-th-borders: #4b5563;
  --tw-prose-invert-td-borders: #374151;
  font-size: 1rem;
  line-height: 1.75;
}

.prose :where(picture > img):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0;
  margin-bottom: 0;
}

.prose :where(li):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

.prose :where(ol > li):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  padding-inline-start: 0.375em;
}

.prose :where(ul > li):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  padding-inline-start: 0.375em;
}

.prose :where(.prose > ul > li p):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0.75em;
  margin-bottom: 0.75em;
}

.prose :where(.prose > ul > li > p:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 1.25em;
}

.prose :where(.prose > ul > li > p:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-bottom: 1.25em;
}

.prose :where(.prose > ol > li > p:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 1.25em;
}

.prose :where(.prose > ol > li > p:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-bottom: 1.25em;
}

.prose :where(ul ul, ul ol, ol ul, ol ol):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0.75em;
  margin-bottom: 0.75em;
}

.prose :where(dl):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 1.25em;
  margin-bottom: 1.25em;
}

.prose :where(dd):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0.5em;
  padding-inline-start: 1.625em;
}

.prose :where(hr + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0;
}

.prose :where(h2 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0;
}

.prose :where(h3 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0;
}

.prose :where(h4 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0;
}

.prose :where(thead th:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  padding-inline-start: 0;
}

.prose :where(thead th:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  padding-inline-end: 0;
}

.prose :where(tbody td, tfoot td):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  padding-top: 0.5714286em;
  padding-inline-end: 0.5714286em;
  padding-bottom: 0.5714286em;
  padding-inline-start: 0.5714286em;
}

.prose :where(tbody td:first-child, tfoot td:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  padding-inline-start: 0;
}

.prose :where(tbody td:last-child, tfoot td:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  padding-inline-end: 0;
}

.prose :where(figure):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 2em;
  margin-bottom: 2em;
}

.prose :where(.prose > :first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0;
}

.prose :where(.prose > :last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-bottom: 0;
}

.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;
}

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

.visible {
  visibility: visible;
}

.invisible {
  visibility: hidden;
}

.collapse {
  visibility: collapse;
}

.static {
  position: static;
}

.\!fixed {
  position: fixed !important;
}

.fixed {
  position: fixed;
}

.absolute {
  position: absolute;
}

.relative {
  position: relative;
}

.sticky {
  position: sticky;
}

.inset-0 {
  inset: 0px;
}

.-top-1 {
  top: -0.25rem;
}

.-top-3 {
  top: -0.75rem;
}

.left-0 {
  left: 0px;
}

.left-1\/2 {
  left: 50%;
}

.left-full {
  left: 100%;
}

.right-1 {
  right: 0.25rem;
}

.top-1 {
  top: 0.25rem;
}

.top-full {
  top: 100%;
}

.z-10 {
  z-index: 10;
}

.z-20 {
  z-index: 20;
}

.z-30 {
  z-index: 30;
}

.z-\[60\] {
  z-index: 60;
}

.-mx-4 {
  margin-left: -1rem;
  margin-right: -1rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.my-4 {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.mb-1 {
  margin-bottom: 0.25rem;
}

.mb-10 {
  margin-bottom: 2.5rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-3 {
  margin-bottom: 0.75rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

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

.ml-1 {
  margin-left: 0.25rem;
}

.ml-2 {
  margin-left: 0.5rem;
}

.ml-auto {
  margin-left: auto;
}

.mr-2 {
  margin-right: 0.5rem;
}

.mr-3 {
  margin-right: 0.75rem;
}

.mt-0\.5 {
  margin-top: 0.125rem;
}

.mt-1 {
  margin-top: 0.25rem;
}

.mt-10 {
  margin-top: 2.5rem;
}

.mt-12 {
  margin-top: 3rem;
}

.mt-16 {
  margin-top: 4rem;
}

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

.mt-3 {
  margin-top: 0.75rem;
}

.mt-4 {
  margin-top: 1rem;
}

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

.mt-8 {
  margin-top: 2rem;
}

.mt-auto {
  margin-top: auto;
}

.block {
  display: block;
}

.inline-block {
  display: inline-block;
}

.inline {
  display: inline;
}

.flex {
  display: flex;
}

.inline-flex {
  display: inline-flex;
}

.table {
  display: table;
}

.table-caption {
  display: table-caption;
}

.table-cell {
  display: table-cell;
}

.grid {
  display: grid;
}

.contents {
  display: contents;
}

.\!hidden {
  display: none !important;
}

.hidden {
  display: none;
}

.aspect-video {
  aspect-ratio: 16 / 9;
}

.h-3 {
  height: 0.75rem;
}

.h-4 {
  height: 1rem;
}

.h-5 {
  height: 1.25rem;
}

.h-56 {
  height: 14rem;
}

.h-6 {
  height: 1.5rem;
}

.h-64 {
  height: 16rem;
}

.h-auto {
  height: auto;
}

.h-full {
  height: 100%;
}

.min-h-full {
  min-height: 100%;
}

.min-h-screen {
  min-height: 100vh;
}

.w-24 {
  width: 6rem;
}

.w-3 {
  width: 0.75rem;
}

.w-32 {
  width: 8rem;
}

.w-4 {
  width: 1rem;
}

.w-44 {
  width: 11rem;
}

.w-5 {
  width: 1.25rem;
}

.w-56 {
  width: 14rem;
}

.w-6 {
  width: 1.5rem;
}

.w-full {
  width: 100%;
}

.min-w-0 {
  min-width: 0px;
}

.min-w-\[14rem\] {
  min-width: 14rem;
}

.max-w-2xl {
  max-width: 42rem;
}

.max-w-3xl {
  max-width: 48rem;
}

.max-w-4xl {
  max-width: 56rem;
}

.max-w-5xl {
  max-width: 64rem;
}

.max-w-6xl {
  max-width: 72rem;
}

.max-w-md {
  max-width: 28rem;
}

.max-w-none {
  max-width: none;
}

.max-w-sm {
  max-width: 24rem;
}

.flex-1 {
  flex: 1 1 0%;
}

.shrink-0 {
  flex-shrink: 0;
}

.grow {
  flex-grow: 1;
}

.border-collapse {
  border-collapse: collapse;
}

.-translate-x-1\/2 {
  --tw-translate-x: -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));
}

.translate-y-1 {
  --tw-translate-y: 0.25rem;
  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));
}

.transform {
  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));
}

.cursor-pointer {
  cursor: pointer;
}

.select-none {
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.resize {
  resize: both;
}

.scroll-mt-24 {
  scroll-margin-top: 6rem;
}

.list-decimal {
  list-style-type: decimal;
}

.list-disc {
  list-style-type: disc;
}

.list-none {
  list-style-type: none;
}

.flex-col {
  flex-direction: column;
}

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

.content-start {
  align-content: flex-start;
}

.items-start {
  align-items: flex-start;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-0 {
  gap: 0px;
}

.gap-1 {
  gap: 0.25rem;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-3 {
  gap: 0.75rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

.space-x-6 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-x-reverse: 0;
  margin-right: calc(1.5rem * var(--tw-space-x-reverse));
  margin-left: calc(1.5rem * calc(1 - var(--tw-space-x-reverse)));
}

.space-y-1 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.25rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.25rem * 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));
}

.space-y-4 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1rem * var(--tw-space-y-reverse));
}

.space-y-6 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1.5rem * var(--tw-space-y-reverse));
}

.overflow-auto {
  overflow: auto;
}

.overflow-hidden {
  overflow: hidden;
}

.overflow-x-auto {
  overflow-x: auto;
}

.overflow-y-auto {
  overflow-y: auto;
}

.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.whitespace-nowrap {
  white-space: nowrap;
}

.rounded {
  border-radius: 0.25rem;
}

.rounded-2xl {
  border-radius: 1rem;
}

.rounded-full {
  border-radius: 9999px;
}

.rounded-lg {
  border-radius: 0.5rem;
}

.rounded-md {
  border-radius: 0.375rem;
}

.border {
  border-width: 1px;
}

.border-b {
  border-bottom-width: 1px;
}

.border-b-2 {
  border-bottom-width: 2px;
}

.border-t {
  border-top-width: 1px;
}

.border-dashed {
  border-style: dashed;
}

.border-gray-200 {
  --tw-border-opacity: 1;
  border-color: rgb(229 231 235 / var(--tw-border-opacity, 1));
}

.border-gray-300 {
  --tw-border-opacity: 1;
  border-color: rgb(209 213 219 / var(--tw-border-opacity, 1));
}

.border-gray-900 {
  --tw-border-opacity: 1;
  border-color: rgb(17 24 39 / var(--tw-border-opacity, 1));
}

.bg-amber-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(255 251 235 / var(--tw-bg-opacity, 1));
}

.bg-black {
  --tw-bg-opacity: 1;
  background-color: rgb(0 0 0 / var(--tw-bg-opacity, 1));
}

.bg-black\/70 {
  background-color: rgb(0 0 0 / 0.7);
}

.bg-blue-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(239 246 255 / var(--tw-bg-opacity, 1));
}

.bg-emerald-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(209 250 229 / var(--tw-bg-opacity, 1));
}

.bg-emerald-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(236 253 245 / var(--tw-bg-opacity, 1));
}

.bg-gray-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(243 244 246 / var(--tw-bg-opacity, 1));
}

.bg-gray-900 {
  --tw-bg-opacity: 1;
  background-color: rgb(17 24 39 / var(--tw-bg-opacity, 1));
}

.bg-red-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(254 226 226 / var(--tw-bg-opacity, 1));
}

.bg-rose-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(255 241 242 / var(--tw-bg-opacity, 1));
}

.bg-transparent {
  background-color: transparent;
}

.bg-white {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
}

.object-contain {
  -o-object-fit: contain;
     object-fit: contain;
}

.object-cover {
  -o-object-fit: cover;
     object-fit: cover;
}

.p-2 {
  padding: 0.5rem;
}

.p-3 {
  padding: 0.75rem;
}

.p-4 {
  padding: 1rem;
}

.p-6 {
  padding: 1.5rem;
}

.p-8 {
  padding: 2rem;
}

.px-2 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

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

.py-0\.5 {
  padding-top: 0.125rem;
  padding-bottom: 0.125rem;
}

.py-1 {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.py-1\.5 {
  padding-top: 0.375rem;
  padding-bottom: 0.375rem;
}

.py-10 {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.py-6 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

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

.pb-2 {
  padding-bottom: 0.5rem;
}

.pb-4 {
  padding-bottom: 1rem;
}

.pb-8 {
  padding-bottom: 2rem;
}

.pl-5 {
  padding-left: 1.25rem;
}

.pl-6 {
  padding-left: 1.5rem;
}

.pt-2 {
  padding-top: 0.5rem;
}

.pt-3 {
  padding-top: 0.75rem;
}

.pt-4 {
  padding-top: 1rem;
}

.text-left {
  text-align: left;
}

.text-center {
  text-align: center;
}

.align-middle {
  vertical-align: middle;
}

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

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

.text-\[10px\] {
  font-size: 10px;
}

.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;
}

.lowercase {
  text-transform: lowercase;
}

.italic {
  font-style: italic;
}

.leading-relaxed {
  line-height: 1.625;
}

.tracking-tight {
  letter-spacing: -0.025em;
}

.text-amber-900 {
  --tw-text-opacity: 1;
  color: rgb(120 53 15 / var(--tw-text-opacity, 1));
}

.text-blue-800 {
  --tw-text-opacity: 1;
  color: rgb(30 64 175 / var(--tw-text-opacity, 1));
}

.text-blue-900 {
  --tw-text-opacity: 1;
  color: rgb(30 58 138 / var(--tw-text-opacity, 1));
}

.text-emerald-900 {
  --tw-text-opacity: 1;
  color: rgb(6 78 59 / var(--tw-text-opacity, 1));
}

.text-gray-500 {
  --tw-text-opacity: 1;
  color: rgb(107 114 128 / var(--tw-text-opacity, 1));
}

.text-gray-600 {
  --tw-text-opacity: 1;
  color: rgb(75 85 99 / var(--tw-text-opacity, 1));
}

.text-gray-700 {
  --tw-text-opacity: 1;
  color: rgb(55 65 81 / var(--tw-text-opacity, 1));
}

.text-gray-900 {
  --tw-text-opacity: 1;
  color: rgb(17 24 39 / var(--tw-text-opacity, 1));
}

.text-green-600 {
  --tw-text-opacity: 1;
  color: rgb(22 163 74 / var(--tw-text-opacity, 1));
}

.text-inherit {
  color: inherit;
}

.text-red-600 {
  --tw-text-opacity: 1;
  color: rgb(220 38 38 / var(--tw-text-opacity, 1));
}

.text-red-700 {
  --tw-text-opacity: 1;
  color: rgb(185 28 28 / var(--tw-text-opacity, 1));
}

.text-rose-900 {
  --tw-text-opacity: 1;
  color: rgb(136 19 55 / var(--tw-text-opacity, 1));
}

.text-white {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

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

.antialiased {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.opacity-0 {
  opacity: 0;
}

.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-lg {
  --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px 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 {
  outline-style: solid;
}

.ring {
  --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(3px + 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);
}

.ring-1 {
  --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);
}

.ring-amber-200 {
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(253 230 138 / var(--tw-ring-opacity, 1));
}

.ring-blue-200 {
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(191 219 254 / var(--tw-ring-opacity, 1));
}

.ring-emerald-200 {
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(167 243 208 / var(--tw-ring-opacity, 1));
}

.ring-rose-200 {
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(254 205 211 / var(--tw-ring-opacity, 1));
}

.blur {
  --tw-blur: blur(8px);
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.\!invert {
  --tw-invert: invert(100%) !important;
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow) !important;
}

.invert {
  --tw-invert: invert(100%);
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.\!filter {
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow) !important;
}

.filter {
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.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;
}

.duration-150 {
  transition-duration: 150ms;
}

.duration-200 {
  transition-duration: 200ms;
}

.duration-300 {
  transition-duration: 300ms;
}

.ease-in-out {
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.dark\:prose-invert:is(.dark *) {
  --tw-prose-body: var(--tw-prose-invert-body);
  --tw-prose-headings: var(--tw-prose-invert-headings);
  --tw-prose-lead: var(--tw-prose-invert-lead);
  --tw-prose-links: var(--tw-prose-invert-links);
  --tw-prose-bold: var(--tw-prose-invert-bold);
  --tw-prose-counters: var(--tw-prose-invert-counters);
  --tw-prose-bullets: var(--tw-prose-invert-bullets);
  --tw-prose-hr: var(--tw-prose-invert-hr);
  --tw-prose-quotes: var(--tw-prose-invert-quotes);
  --tw-prose-quote-borders: var(--tw-prose-invert-quote-borders);
  --tw-prose-captions: var(--tw-prose-invert-captions);
  --tw-prose-kbd: var(--tw-prose-invert-kbd);
  --tw-prose-kbd-shadows: var(--tw-prose-invert-kbd-shadows);
  --tw-prose-code: var(--tw-prose-invert-code);
  --tw-prose-pre-code: var(--tw-prose-invert-pre-code);
  --tw-prose-pre-bg: var(--tw-prose-invert-pre-bg);
  --tw-prose-th-borders: var(--tw-prose-invert-th-borders);
  --tw-prose-td-borders: var(--tw-prose-invert-td-borders);
}

.focus-within\:ring-2:focus-within {
  --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-within\:ring-gray-300:focus-within {
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(209 213 219 / var(--tw-ring-opacity, 1));
}

.hover\:bg-black:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(0 0 0 / var(--tw-bg-opacity, 1));
}

.hover\:bg-gray-100:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(243 244 246 / var(--tw-bg-opacity, 1));
}

.hover\:bg-gray-50:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1));
}

.hover\:text-gray-900:hover {
  --tw-text-opacity: 1;
  color: rgb(17 24 39 / var(--tw-text-opacity, 1));
}

.hover\:opacity-100:hover {
  opacity: 1;
}

.hover\:opacity-80:hover {
  opacity: 0.8;
}

.focus\:not-sr-only:focus {
  position: static;
  width: auto;
  height: auto;
  padding: 0;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

.focus\:absolute:focus {
  position: absolute;
}

.focus\:left-2:focus {
  left: 0.5rem;
}

.focus\:top-2:focus {
  top: 0.5rem;
}

.focus\:z-50:focus {
  z-index: 50;
}

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

.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-gray-300:focus-visible {
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(209 213 219 / var(--tw-ring-opacity, 1));
}

.focus-visible\:ring-gray-900:focus-visible {
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(17 24 39 / var(--tw-ring-opacity, 1));
}

.focus-visible\:ring-offset-2:focus-visible {
  --tw-ring-offset-width: 2px;
}

.active\:bg-gray-100:active {
  --tw-bg-opacity: 1;
  background-color: rgb(243 244 246 / var(--tw-bg-opacity, 1));
}

.active\:bg-gray-200:active {
  --tw-bg-opacity: 1;
  background-color: rgb(229 231 235 / var(--tw-bg-opacity, 1));
}

.active\:bg-gray-800:active {
  --tw-bg-opacity: 1;
  background-color: rgb(31 41 55 / var(--tw-bg-opacity, 1));
}

.group[open] .group-open\:rotate-180 {
  --tw-rotate: 180deg;
  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[open] .group-open\:font-semibold {
  font-weight: 600;
}

.group:hover .group-hover\:visible {
  visibility: visible;
}

.group:hover .group-hover\:block {
  display: block;
}

.group:hover .group-hover\:translate-y-0 {
  --tw-translate-y: 0px;
  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\:opacity-100 {
  opacity: 1;
}

.group.open .group-\[\.open\]\:rotate-180 {
  --tw-rotate: 180deg;
  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));
}

.peer:checked ~ .peer-checked\:visible {
  visibility: visible;
}

.peer:checked ~ .peer-checked\:translate-y-0 {
  --tw-translate-y: 0px;
  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));
}

.peer:checked ~ .peer-checked\:opacity-100 {
  opacity: 1;
}

.dark\:border-gray-100:is(.dark *) {
  --tw-border-opacity: 1;
  border-color: rgb(243 244 246 / var(--tw-border-opacity, 1));
}

.dark\:border-gray-700:is(.dark *) {
  --tw-border-opacity: 1;
  border-color: rgb(55 65 81 / var(--tw-border-opacity, 1));
}

.dark\:border-gray-800:is(.dark *) {
  --tw-border-opacity: 1;
  border-color: rgb(31 41 55 / var(--tw-border-opacity, 1));
}

.dark\:bg-amber-950\/40:is(.dark *) {
  background-color: rgb(69 26 3 / 0.4);
}

.dark\:bg-blue-950\/40:is(.dark *) {
  background-color: rgb(23 37 84 / 0.4);
}

.dark\:bg-emerald-950\/40:is(.dark *) {
  background-color: rgb(2 44 34 / 0.4);
}

.dark\:bg-gray-100:is(.dark *) {
  --tw-bg-opacity: 1;
  background-color: rgb(243 244 246 / var(--tw-bg-opacity, 1));
}

.dark\:bg-gray-800:is(.dark *) {
  --tw-bg-opacity: 1;
  background-color: rgb(31 41 55 / var(--tw-bg-opacity, 1));
}

.dark\:bg-gray-900:is(.dark *) {
  --tw-bg-opacity: 1;
  background-color: rgb(17 24 39 / var(--tw-bg-opacity, 1));
}

.dark\:bg-gray-950:is(.dark *) {
  --tw-bg-opacity: 1;
  background-color: rgb(3 7 18 / var(--tw-bg-opacity, 1));
}

.dark\:bg-rose-950\/40:is(.dark *) {
  background-color: rgb(76 5 25 / 0.4);
}

.dark\:text-amber-100:is(.dark *) {
  --tw-text-opacity: 1;
  color: rgb(254 243 199 / var(--tw-text-opacity, 1));
}

.dark\:text-blue-100:is(.dark *) {
  --tw-text-opacity: 1;
  color: rgb(219 234 254 / var(--tw-text-opacity, 1));
}

.dark\:text-blue-200:is(.dark *) {
  --tw-text-opacity: 1;
  color: rgb(191 219 254 / var(--tw-text-opacity, 1));
}

.dark\:text-emerald-100:is(.dark *) {
  --tw-text-opacity: 1;
  color: rgb(209 250 229 / var(--tw-text-opacity, 1));
}

.dark\:text-gray-100:is(.dark *) {
  --tw-text-opacity: 1;
  color: rgb(243 244 246 / var(--tw-text-opacity, 1));
}

.dark\:text-gray-200:is(.dark *) {
  --tw-text-opacity: 1;
  color: rgb(229 231 235 / var(--tw-text-opacity, 1));
}

.dark\:text-gray-300:is(.dark *) {
  --tw-text-opacity: 1;
  color: rgb(209 213 219 / var(--tw-text-opacity, 1));
}

.dark\:text-gray-400:is(.dark *) {
  --tw-text-opacity: 1;
  color: rgb(156 163 175 / var(--tw-text-opacity, 1));
}

.dark\:text-gray-900:is(.dark *) {
  --tw-text-opacity: 1;
  color: rgb(17 24 39 / var(--tw-text-opacity, 1));
}

.dark\:text-rose-100:is(.dark *) {
  --tw-text-opacity: 1;
  color: rgb(255 228 230 / var(--tw-text-opacity, 1));
}

.dark\:ring-amber-900\/50:is(.dark *) {
  --tw-ring-color: rgb(120 53 15 / 0.5);
}

.dark\:ring-blue-900\/50:is(.dark *) {
  --tw-ring-color: rgb(30 58 138 / 0.5);
}

.dark\:ring-emerald-900\/50:is(.dark *) {
  --tw-ring-color: rgb(6 78 59 / 0.5);
}

.dark\:ring-rose-900\/50:is(.dark *) {
  --tw-ring-color: rgb(136 19 55 / 0.5);
}

.dark\:focus-within\:ring-gray-700:focus-within:is(.dark *) {
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(55 65 81 / var(--tw-ring-opacity, 1));
}

.dark\:hover\:bg-gray-800:hover:is(.dark *) {
  --tw-bg-opacity: 1;
  background-color: rgb(31 41 55 / var(--tw-bg-opacity, 1));
}

.dark\:hover\:bg-gray-900:hover:is(.dark *) {
  --tw-bg-opacity: 1;
  background-color: rgb(17 24 39 / var(--tw-bg-opacity, 1));
}

.dark\:hover\:bg-white:hover:is(.dark *) {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
}

.dark\:hover\:text-gray-100:hover:is(.dark *) {
  --tw-text-opacity: 1;
  color: rgb(243 244 246 / var(--tw-text-opacity, 1));
}

.dark\:focus-visible\:ring-gray-100:focus-visible:is(.dark *) {
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(243 244 246 / var(--tw-ring-opacity, 1));
}

.dark\:focus-visible\:ring-gray-700:focus-visible:is(.dark *) {
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(55 65 81 / var(--tw-ring-opacity, 1));
}

.dark\:active\:bg-gray-200:active:is(.dark *) {
  --tw-bg-opacity: 1;
  background-color: rgb(229 231 235 / var(--tw-bg-opacity, 1));
}

.dark\:active\:bg-gray-700:active:is(.dark *) {
  --tw-bg-opacity: 1;
  background-color: rgb(55 65 81 / var(--tw-bg-opacity, 1));
}

.dark\:active\:bg-gray-800:active:is(.dark *) {
  --tw-bg-opacity: 1;
  background-color: rgb(31 41 55 / var(--tw-bg-opacity, 1));
}

@media (min-width: 640px) {
  .sm\:mb-10 {
    margin-bottom: 2.5rem;
  }

  .sm\:mt-20 {
    margin-top: 5rem;
  }

  .sm\:inline {
    display: inline;
  }

  .sm\:hidden {
    display: none;
  }

  .sm\:h-64 {
    height: 16rem;
  }

  .sm\:w-48 {
    width: 12rem;
  }

  .sm\:w-64 {
    width: 16rem;
  }

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

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

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

  .sm\:flex-row {
    flex-direction: row;
  }

  .sm\:items-center {
    align-items: center;
  }

  .sm\:p-12 {
    padding: 3rem;
  }

  .sm\:py-16 {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

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

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

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

  .sm\:text-base {
    font-size: 1rem;
    line-height: 1.5rem;
  }

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

  .sm\:text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }
}

@media (min-width: 768px) {
  .md\:col-span-2 {
    grid-column: span 2 / span 2;
  }

  .md\:col-span-3 {
    grid-column: span 3 / span 3;
  }

  .md\:mx-0 {
    margin-left: 0px;
    margin-right: 0px;
  }

  .md\:mt-0 {
    margin-top: 0px;
  }

  .md\:mt-16 {
    margin-top: 4rem;
  }

  .md\:flex {
    display: flex;
  }

  .md\:hidden {
    display: none;
  }

  .md\:h-72 {
    height: 18rem;
  }

  .md\:h-80 {
    height: 20rem;
  }

  .md\:w-56 {
    width: 14rem;
  }

  .md\:w-72 {
    width: 18rem;
  }

  .md\:scroll-mt-28 {
    scroll-margin-top: 7rem;
  }

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

  .md\:gap-4 {
    gap: 1rem;
  }

  .md\:space-x-8 > :not([hidden]) ~ :not([hidden]) {
    --tw-space-x-reverse: 0;
    margin-right: calc(2rem * var(--tw-space-x-reverse));
    margin-left: calc(2rem * calc(1 - var(--tw-space-x-reverse)));
  }

  .md\:px-0 {
    padding-left: 0px;
    padding-right: 0px;
  }

  .md\:pb-2 {
    padding-bottom: 0.5rem;
  }

  .md\:text-base {
    font-size: 1rem;
    line-height: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .lg\:col-span-1 {
    grid-column: span 1 / span 1;
  }

  .lg\:col-span-2 {
    grid-column: span 2 / span 2;
  }

  .lg\:mt-24 {
    margin-top: 6rem;
  }

  .lg\:w-80 {
    width: 20rem;
  }

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

  .lg\:justify-end {
    justify-content: flex-end;
  }

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

@media (min-width: 1280px) {
  .xl\:w-96 {
    width: 24rem;
  }
}

.textbook-access-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  border: 1px solid #d4dced;
  padding: 0.35rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #5f6f8d;
  background: #fff;
}

.textbook-access__section-copy,
.textbook-access__lead {
  max-width: 54rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
}

.textbook-access__body {
  max-width: 54rem;
  margin: 1.25rem 0 0;
  color: #475569;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
}

.textbook-access__early-pricing-note {
  margin: 0.4rem 0 0;
  color: #64748b;
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.5;
}

.textbook-landing {
  /* The shared textbook shell supplies its own 2rem page inset. This adds the
   * requested 32px of landing-page space above the hero on wider screens. */
  padding-top: 0;
  padding-bottom: 3rem;
}

@media (min-width: 640px) {
  .textbook-landing {
    padding-bottom: 4rem;
  }
}

.textbook-hero {
  width: 100vw;
  margin-top: -2rem;
  margin-inline: calc(50% - 50vw);
  background: #0d1925;
}

.textbook-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(23.5rem, 0.65fr);
  gap: clamp(2rem, 5vw, 5.5rem);
  align-items: center;
  max-width: 72rem;
  margin: 0 auto;
  padding: 2rem 2rem 0.75rem;
}

.textbook-hero__copy {
  max-width: 42rem;
  align-self: start;
  margin-top: 2rem;
}

.textbook-hero__eyebrow {
  margin: 0;
  color: #e4af72;
}

.textbook-hero__title {
  max-width: 42rem;
  margin: 0.625rem 0 0;
  color: #f8fafc;
}

.textbook-hero__intro {
  max-width: 38rem;
  margin: 0.25rem 0 0;
  color: #cbd5e1;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
}

.textbook-hero__benefits {
  display: grid;
  gap: 0.2rem;
  margin: 1.25rem 0 0;
  padding: 0;
  color: #cbd5e1;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.5;
  list-style: none;
}

.textbook-hero__benefits li {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.textbook-hero__benefits li::before {
  flex: 0 0 auto;
  color: #e4af72;
  content: "✓";
}

.textbook-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.textbook-hero__action,
.textbook-hero__action:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.875rem;
  padding: 0.75rem 1.125rem;
  border: 1px solid transparent;
  border-radius: 0.375rem;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.textbook-hero__action--primary,
.textbook-hero__action--primary:visited {
  background: #e1e5e7;
  color: #102946;
}

.textbook-hero__action--primary:hover,
.textbook-hero__action--primary:active {
  background: #f4f7f9;
  color: #102946;
}

.textbook-hero__action--secondary,
.textbook-hero__action--secondary:visited {
  border-color: #607087;
  color: #f8fafc;
}

.textbook-hero__action--secondary:hover {
  border-color: #b9c7da;
  background: #18283a;
  color: #fff;
}

.textbook-hero__action--secondary:active {
  border-color: #b9c7da;
  background: #18283a;
  color: #fff;
}

/* Distinct mouse-down feedback for hero variants; shared dark CTAs are unchanged. */
@media (hover: hover) and (pointer: fine) {
  .textbook-hero__action--primary:active {
    background: #d5dce3;
    transition-duration: 0s;
  }

  .textbook-hero__action--secondary:active {
    background: #122030;
    transition-duration: 0s;
  }
}

.textbook-hero__action:focus-visible {
  outline: 2px solid #f8fafc;
  outline-offset: 0.25rem;
}

.textbook-hero__supporting-line {
  margin: 0.875rem 0 0;
  color: #aab8c9;
  font-size: 0.875rem;
  font-style: italic;
  line-height: 1.5;
}

.textbook-hero__device-image {
  display: block;
  max-width: none;
  width: 23.5rem;
  height: auto;
  justify-self: end;
  margin-bottom: 0;
  transform: translate(clamp(0rem, 3.6rem - 5vw, 1rem), -0.5rem);
  -webkit-user-drag: none;
  user-select: none;
}

@media (min-width: 901px) {
  .textbook-hero--owner .textbook-hero__inner {
    padding-top: 1.25rem;
    padding-bottom: 0.25rem;
  }
}

.textbook-hero__list-label {
  margin-top: 1.125rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
}

.textbook-hero__list-label + .textbook-check-list {
  margin-top: 0.5rem;
}

.textbook-chapter-overview {
  margin-top: 3rem;
}

.textbook-chapter-overview__eyebrow {
  margin: 0 0 0.625rem;
  color: #98602e;
}

.textbook-chapter-overview__heading-row {
  display: grid;
  gap: 0.375rem;
}

.textbook-chapter-overview__title {
  margin: 0;
}

.textbook-chapter-overview__availability {
  margin: 0;
  color: #64748b;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
}

.textbook-chapter-overview__themes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: auto auto auto;
  column-gap: 2.5rem;
  row-gap: 0;
  margin-top: 2.5rem;
}

.textbook-chapter-overview__theme {
  display: grid;
  grid-row: span 3;
  grid-template-rows: subgrid;
}

.textbook-chapter-overview__theme-icon {
  display: block;
  width: 2rem;
  height: 2rem;
  margin: 0.25rem 0 1.125rem;
  color: #b77a3d;
}

.textbook-chapter-overview__theme h3 {
  margin: 0;
  color: #17213a;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.25;
}

.textbook-chapter-overview__theme p {
  max-width: 22rem;
  margin: 0.625rem 0 0;
  color: #64748b;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
}

.textbook-chapter-overview__chapters {
  margin-top: 3rem;
  border-top: 1px solid #cbd5e1;
  border-bottom: 1px solid #cbd5e1;
}

.textbook-chapter-overview__chapters > summary {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 4.35rem;
  color: #17213a;
  cursor: pointer;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
  list-style: none;
}

.textbook-chapter-overview__chapters > summary::-webkit-details-marker {
  display: none;
}

.textbook-chapter-overview__chapters > summary::before {
  width: 0;
  height: 0;
  border-top: 0.45rem solid transparent;
  border-bottom: 0.45rem solid transparent;
  border-left: 0.58rem solid currentColor;
  content: "";
  transition: transform 160ms ease;
}

.textbook-chapter-overview__chapters[open] > summary::before {
  transform: rotate(90deg);
}

.textbook-chapter-overview__chapters > summary:focus-visible {
  border-radius: 0.25rem;
  outline: 2px solid #2563eb;
  outline-offset: -0.25rem;
}

.textbook-chapter-overview__chapters-close {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.5rem;
  padding: 0.25rem 0;
  border: 0;
  border-radius: 0.25rem;
  background: transparent;
  color: #94a3b8;
  cursor: pointer;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.4;
}

.textbook-chapter-overview__timeline {
  position: relative;
  display: grid;
  gap: 0;
  margin: 0.75rem 0 0;
  padding: 0 0 0.75rem;
  list-style: none;
}

@media (min-width: 768px) {
  .textbook-chapter-overview__timeline {
    width: 90%;
  }
}

.textbook-chapter-overview__timeline::before {
  position: absolute;
  top: 0.85625rem;
  bottom: 1.125rem;
  left: 1.125rem;
  width: 1px;
  background: #cbd5e1;
  content: "";
}

.textbook-chapter-overview__item {
  position: relative;
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  column-gap: 1.5rem;
}

.textbook-chapter-overview__number {
  position: relative;
  z-index: 1;
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border: 1px solid #bfd0e9;
  border-radius: 9999px;
  background: #fff;
  color: #244f90;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.4;
  margin-top: -0.26875rem;
}

.textbook-chapter-overview__number::after {
  position: absolute;
  top: 50%;
  left: 100%;
  width: 1rem;
  border-top: 1px solid #bfd0e9;
  content: "";
}

.textbook-chapter-overview__content {
  min-width: 0;
  padding: 0.125rem 0 1rem;
}

.textbook-chapter-overview__item:not(:first-child) .textbook-chapter-overview__content {
  padding-top: 1rem;
}

.textbook-chapter-overview__item:last-child .textbook-chapter-overview__content {
  padding-bottom: 0;
}

.textbook-chapter-overview__content h3 {
  margin: 0;
  color: #17213a;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.3;
}

.textbook-chapter-overview__content p {
  margin: 0.5rem 0 0;
  color: #64748b;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
}

.textbook-chapter-overview__item:not(:first-child) .textbook-chapter-overview__number {
  margin-top: 0.73125rem;
}

.textbook-future-material {
  margin-top: 4.375rem;
}

.textbook-access {
  position: relative;
  margin-top: 4.375rem;
}

.textbook-future-material__eyebrow {
  margin: 0 0 0.625rem;
  color: #98602e;
}

.textbook-future-material__intro,
.textbook-future-material__closing {
  color: #64748b;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
}

.textbook-future-material__intro {
  margin: 0.25rem 0 0;
}

.textbook-future-material__lead,
.textbook-future-material__key-areas {
  color: #374151;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
}

.textbook-future-material__lead {
  margin: 1.5rem 0 0;
}

.textbook-future-material__key-areas {
  margin: 1rem 0 0;
}

.textbook-future-material__list {
  display: grid;
  gap: 0.32rem;
  margin: 0.75rem 0 0;
  padding: 0;
  color: #374151;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
}

.textbook-future-material__list p {
  margin: 0;
}

.textbook-future-material__closing {
  margin: 1.5rem 0 0;
  color: #374151;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
}

.textbook-hero__cover {
  position: relative;
  z-index: 0;
  display: block;
  width: auto;
  height: clamp(28rem, 31.25vw, 30rem);
  max-width: 100%;
  /* Trim only the image's blank canvas. The right edge remains intact so the
   * book's full grounding shadow is never clipped. */
  /* Keep the visual crop in step with the fixed layout offsets below. Using
   * percentage crops made the visible bottom edge move as the responsive
   * cover height changed, while the preview/continue-reading callout did not. */
  clip-path: inset(1.8rem 0 2.7rem 0.6rem);
  margin: -1.8rem 0 -2.7rem -0.6rem;
  mix-blend-mode: multiply;
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
}

.textbook-hero__preview-group {
  position: relative;
  z-index: 10;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: fit-content;
  margin-top: -2rem;
  text-align: left;
}

.textbook-hero__preview-group--owner-mobile {
  display: none;
}

.textbook-hero__preview-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  width: fit-content;
  margin-block: -0.5rem;
  padding-block: 0.5rem;
  background: transparent;
  color: #111827;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  user-select: none;
  transition: color 160ms ease;
}

.textbook-hero__preview-arrow {
  color: currentColor;
  transition: color 160ms ease;
}

.textbook-hero__preview-copy {
  margin: -0.0625rem 0 0;
  color: #475569;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.5;
}

.textbook-hero__preview-link:focus-visible {
  color: #244f90;
}

.textbook-hero__preview-link:focus-visible .textbook-hero__preview-arrow {
  color: #244f90;
}

.textbook-hero__preview-link:active {
  background: transparent;
  color: #111827;
}

@media (hover: hover) and (pointer: fine) {
  .textbook-hero__preview-link:hover,
  .textbook-hero__preview-link:hover .textbook-hero__preview-arrow {
    color: #244f90;
  }
}

.textbook-hero__preview-link:focus-visible {
  border-radius: 0.25rem;
  outline: 2px solid #2563eb;
  outline-offset: 0.25rem;
}

.textbook-access__anchor {
  scroll-margin-top: 7.4375rem;
}

.textbook-check-list {
  display: grid;
  gap: 0.32rem;
  margin-top: 1.125rem;
  max-width: 54rem;
  padding: 0;
  list-style: none;
  font-size: 1rem;
  line-height: 1.5;
}

.textbook-check-list li {
  display: flex;
  gap: 0.32rem;
}

.textbook-check-list li::before {
  content: "✓";
  flex: 0 0 auto;
}

.textbook-access__section-copy {
  margin-top: 0.75rem;
  line-height: 1.5;
}

.textbook-access__layout {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.textbook-access__section-header {
  margin-bottom: 0.25rem;
}

.textbook-access__eyebrow {
  margin: 0 0 0.625rem;
  color: #98602e;
}

.textbook-access__title {
  margin: 0;
}

@media (min-width: 1024px) {
  .textbook-hero__inner {
    align-items: center;
  }

  .textbook-hero__visual {
    /* `lg:items-start` is not present in the compiled utility stylesheet.
     * State the desktop anchor here so the cover and either callout variant
     * share one predictable left edge. */
    align-items: flex-start;
    width: fit-content;
    /* The cover canvas and its negative crop margin offset one another here,
     * placing the visible top edge of the book on the hero-title line. */
    margin: 0 0 0 auto;
  }
}

.textbook-access__heading-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 0.9rem;
}

.textbook-access__status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: 9999px;
  border: 1px solid #b8eccd;
  background: #f0fdf4;
  color: #1f6d46;
  padding: 0.35rem 0.8rem;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1;
}

.textbook-access__status-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  border-radius: 9999px;
  background: #d8f7e5;
  color: #1b5c3c;
  font-size: 0.72rem;
  font-weight: 700;
}

.textbook-access__purchase-column {
  min-width: 0;
}

.textbook-access__lead {
  max-width: none;
  margin: 0.25rem 0 0;
  color: #64748b;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
}

.textbook-access__benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.textbook-access__benefit {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  min-height: 4.7rem;
  padding: 0.65rem 0;
  color: #17233a;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.5;
}

.textbook-access__benefit strong,
.textbook-access__benefit > span:last-child > span {
  display: block;
}

.textbook-access__benefit strong {
  font-weight: 600;
}

.textbook-access__benefit strong,
.textbook-access__benefit > span:last-child > span {
  white-space: nowrap;
}

.textbook-access__benefit-icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: flex-start;
  width: 2.25rem;
  height: 3.25rem;
  color: #244f90;
}

.textbook-access__benefit-icon svg {
  width: 1.65rem;
  height: 1.65rem;
}

@media (min-width: 640px) {
  .textbook-access__layout {
    grid-template-areas:
      "copy purchase"
      "benefits benefits";
    grid-template-columns: minmax(0, 1fr) minmax(16rem, 20rem);
    column-gap: 2rem;
    row-gap: 1.333rem;
  }

  .textbook-access__copy {
    grid-area: copy;
    position: relative;
  }

  .textbook-access__copy::after {
    content: none;
  }

  .textbook-access__purchase-column {
    grid-area: purchase;
    position: relative;
    padding-left: 1.75rem;
    margin-top: 1.5rem;
  }

  .textbook-access__purchase-column::before {
    position: absolute;
    top: -12px;
    bottom: -12px;
    left: 0;
    width: 1px;
    background: #dce3ee;
    content: "";
  }

  .textbook-access__purchase-column .textbook-offer__purchase {
    margin-top: 0;
  }

  .textbook-access__benefits {
    grid-area: benefits;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    justify-content: stretch;
    column-gap: 0.85rem;
    row-gap: 0;
  }

  .textbook-access__benefit strong,
  .textbook-access__benefit > span:last-child > span {
    white-space: normal;
  }
}

@media (min-width: 640px) and (max-width: 1138px) {
  .textbook-access__benefit {
    gap: 0.2rem;
  }

  .textbook-access__benefit-icon {
    width: 2.25rem;
  }
}

@media (min-width: 1139px) {
  .textbook-access__layout {
    grid-template-areas:
      "copy purchase"
      "benefits purchase";
    row-gap: 0.75rem;
  }

  .textbook-access__benefits {
    grid-template-columns: repeat(4, max-content);
    justify-content: start;
    column-gap: 1.275rem;
    row-gap: 0;
  }

  .textbook-access__benefit strong,
  .textbook-access__benefit > span:last-child > span {
    white-space: nowrap;
  }

}

@media (min-width: 701px) and (max-width: 942px) {
  .textbook-access__purchase-column {
    align-self: stretch;
  }
}

@media (min-width: 640px) and (max-width: 700px) {
  .textbook-access__layout {
    grid-template-areas:
      "copy purchase"
      "description description"
      "benefits benefits";
  }

  .textbook-access__copy {
    display: contents;
  }

  .textbook-access__copy::after {
    content: none;
  }

  .textbook-access__purchase-column::before {
    content: none;
  }

  .textbook-access__content {
    grid-area: copy;
    position: relative;
  }

  .textbook-access__content::after {
    position: absolute;
    top: 0;
    right: -2rem;
    bottom: 0;
    width: 1px;
    background: #dce3ee;
    content: "";
  }

  .textbook-access__description {
    grid-area: description;
  }

  .textbook-access__description .textbook-access__body {
    max-width: none;
  }

  .textbook-access__layout--authenticated {
    grid-template-areas:
      "copy purchase"
      "benefits benefits";
  }
}

@media (min-width: 640px) and (max-width: 960px) {
  .textbook-hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(12rem, 0.65fr);
    gap: clamp(1rem, 3vw, 2rem);
  }

  .textbook-hero__device-image {
    transform: translate(clamp(4rem, 15rem - 22vw, 7rem), -0.5rem);
  }

  .textbook-hero__actions {
    flex-wrap: nowrap;
  }

  .textbook-hero__action {
    padding-right: 0.75rem;
    padding-left: 0.75rem;
    white-space: nowrap;
  }

}

@media (max-width: 640px) {
  .textbook-hero__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.333rem;
    padding: 2rem 2rem 0;
  }

  .textbook-hero__device-image {
    justify-self: center;
    max-width: 100%;
    width: min(100%, 24rem);
    transform: none;
  }
}

@media (max-width: 640px) {
  .textbook-landing {
    padding-top: 0;
  }

  .textbook-hero {
    row-gap: 1.5rem;
  }

  .textbook-hero__inner {
    gap: 0;
  }

  .textbook-hero__device-image {
    transform: translateY(0.25rem);
  }

  .textbook-hero__supporting-line {
    margin-top: 0.625rem;
  }

  .textbook-hero__actions {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.5rem;
  }

  .textbook-hero__action {
    min-width: 0;
    padding-right: 0.5rem;
    padding-left: 0.5rem;
    white-space: nowrap;
  }

  .textbook-hero__visual {
    margin-top: 0;
  }

  .textbook-hero__cover {
    /* The source canvas carries more empty room on the shadow side. Shift the
     * image box, not the preview copy, so the physical book is centered. */
    transform: translateX(3rem);
  }

  .textbook-hero__preview-group--owner-desktop {
    display: none;
  }

  .textbook-hero__preview-group--owner-mobile {
    display: flex;
  }

  .textbook-hero__preview-link,
  .textbook-hero__preview-link:visited,
  .textbook-hero__preview-link:focus,
  .textbook-hero__preview-link:focus-visible,
  .textbook-hero__preview-link:active,
  .textbook-hero__preview-link .textbook-hero__preview-arrow {
    background: transparent;
    color: #111827;
  }

  .textbook-access {
    /* Preserve a clear transition from the Preview link into the separate
     * digital purchase section. */
    margin-top: 2.5rem;
  }

  .textbook-access__section-header {
    /* Matches the grid gap before the card, centering the benefits block in
     * the vertical space between the explanatory copy and purchase panel. */
    margin-bottom: 1.333rem;
  }

  .textbook-access__layout {
    gap: 1.333rem;
  }

  .textbook-access__benefits {
    grid-template-columns: max-content;
    justify-content: start;
    gap: 0;
  }

  .textbook-access__benefit {
    min-height: 1.9rem;
    padding: 0;
  }

  .textbook-access__benefit-icon {
    width: 2rem;
    height: 2.25rem;
  }

  .textbook-access__benefit-icon svg {
    width: 1.5rem;
    height: 1.5rem;
  }

  .textbook-access__benefit > span:last-child {
    white-space: nowrap;
  }

  .textbook-access__benefit strong,
  .textbook-access__benefit > span:last-child > span {
    display: inline;
  }

  .textbook-access__benefit strong {
    margin-right: 0.25rem;
  }
}

/*
 * Textbook public shell
 *
 * This header is intentionally separate from the shared course/app shell so
 * the textbook site can evolve without inheriting course-specific navigation.
 * Center desktop navigation between the brand and account actions. Switch
 * the site navigation to its compact layout at 900px.
 */
.textbook-site-header {
  position: sticky;
  top: 0;
  border-bottom: 1px solid #e5e7eb;
  background: #ffffff;
  transition: box-shadow 180ms ease;
  z-index: 30;
}

.textbook-site-header.is-scrolled {
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.045);
}

.textbook-site-header__inner {
  display: grid;
  align-items: center;
  grid-template-columns: max-content minmax(0, 1fr) max-content;
  gap: 1.25rem;
  max-width: 80rem;
  min-height: 4.95rem;
  margin: 0 auto;
  padding: 1rem 1.5rem;
}

.textbook-site-header__brand {
  justify-self: start;
  color: #0f172a;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
}

@media (min-width: 768px) and (max-width: 900px) {
  .textbook-site-header__inner {
    display: flex;
    justify-content: space-between;
    max-width: 100%;
    width: 100%;
    padding: 0.9rem 1rem;
  }

  .textbook-site-header .textbook-site-header__brand-full,
  .textbook-site-header .textbook-site-header__nav {
    display: none;
  }

  .textbook-site-header .textbook-site-header__brand-short {
    display: inline;
  }

  .textbook-site-header .textbook-site-navigation-toggle {
    display: inline-flex;
    flex: 0 0 auto;
  }

  .textbook-site-header__actions {
    margin-left: auto;
  }
}

.textbook-site-header__brand-group {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  justify-self: start;
  min-width: 0;
}

.textbook-site-header__brand-short {
  display: none;
}

.textbook-site-navigation-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid #d9e1ec;
  border-radius: 0.75rem;
  background: #ffffff;
  color: #244f90;
  cursor: pointer;
}

.textbook-site-navigation-toggle svg,
.textbook-site-navigation-drawer__close svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.textbook-site-navigation-toggle:hover {
  color: #173f78;
}

.textbook-site-navigation-toggle:focus-visible,
.textbook-site-navigation-drawer__close:focus-visible,
.textbook-site-navigation-drawer__links a:focus-visible {
  outline: 2px solid #244f90;
  outline-offset: 3px;
}

.textbook-site-navigation-drawer {
  position: fixed;
  inset: 0;
  z-index: 70;
}

.textbook-site-navigation-drawer__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(15, 23, 42, 0.24);
  cursor: pointer;
}

.textbook-site-navigation-drawer__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(20rem, calc(100% - 2rem));
  min-height: 100%;
  padding: 1rem;
  border-right: 1px solid #d9e1ec;
  background: #ffffff;
  box-shadow: 0 0 24px rgba(15, 35, 66, 0.12);
  outline: none;
}

.textbook-site-navigation-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 2.75rem;
}

.textbook-site-navigation-drawer__label {
  color: #1f2937;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
}

.textbook-site-navigation-drawer__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: #244f90;
  cursor: pointer;
}

.textbook-site-navigation-drawer__links {
  display: grid;
  gap: 0.25rem;
  margin-top: 1.5rem;
}

.textbook-site-navigation-drawer__links a {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.75rem;
  color: #475569;
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
}

.textbook-site-navigation-drawer__links a:hover {
  color: #244f90;
}

.textbook-site-navigation-drawer__links a[aria-current="page"] {
  color: #173f78;
  font-weight: 600;
}

body.textbook-site-navigation-open {
  overflow: hidden;
}

.textbook-site-header__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.9rem;
  justify-self: center;
}

.textbook-site-header__nav-link {
  color: #475569;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
  transition: color 160ms ease;
}

.textbook-site-header__nav-link:hover {
  color: #0f172a;
}

.textbook-site-header__nav-link.is-current {
  color: #0f172a;
  font-weight: 700;
}

.textbook-site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  justify-self: end;
  min-height: 2.85rem;
}

.textbook-site-header__signin {
  color: #475569;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
}

.textbook-site-header__signin:hover {
  color: #0f172a;
}

.textbook-site-header__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.75rem;
  border-radius: 0.75rem;
  padding: 0.65rem 1.35rem;
  background: #132c4e;
  color: #f8fafc;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 160ms ease, box-shadow 160ms ease;
}

.textbook-site-header__cta--mobile-contents {
  display: none;
}

.textbook-site-header__cta--preview-access {
  display: inline-flex;
}

.textbook-site-header__cta--preview-contents {
  min-width: 2.9rem;
  min-height: 2.75rem;
  padding-inline: 0.7rem;
  border: 1px solid #d9e1ec;
  background: #ffffff;
  color: #244f90;
}

.textbook-site-header__cta--preview-contents .textbook-site-header__cta-icon {
  width: 1.35rem;
  height: 1.35rem;
}

.textbook-site-header__cta-icon {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 979px) {
  .textbook-site-header__cta--preview-access {
    display: none;
  }

  .textbook-site-header__cta--desktop-home {
    display: none;
  }

  .textbook-site-header__cta--mobile-contents {
    display: inline-flex;
  }
}

@media (min-width: 980px) {
  .textbook-site-header__cta--mobile-contents {
    display: none;
  }
}

.textbook-site-header__cta:not(.textbook-site-header__cta--mobile-contents):not(.textbook-site-header__cta--preview-contents):hover {
  background: #1e3c65;
}

.textbook-site-header__cta:not(.textbook-site-header__cta--mobile-contents):not(.textbook-site-header__cta--preview-contents):active {
  background: #102642;
}

.textbook-site-header__cta:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.22);
}

/* Keep the preview Contents control visually stable when its drawer is open.
   These modifier states intentionally follow the shared CTA states in the
   cascade so the dark primary-button treatment cannot override them. */
.textbook-site-header__cta--preview-contents:hover {
  background: #f3f7fc;
  color: #173f78;
}

.textbook-site-header__cta--preview-contents:active {
  border-color: #9fbee3;
  background: #e7f0fb;
  color: #173f78;
}

.textbook-site-header__cta--preview-contents:focus-visible {
  outline: 2px solid #244f90;
  outline-offset: 3px;
  box-shadow: none;
}

.textbook-site-header__cta--preview-contents[aria-expanded="true"],
.textbook-site-header__cta--preview-contents[aria-expanded="true"]:hover {
  border-color: #d9e1ec;
  background: #ffffff;
  color: #244f90;
}

.textbook-site-header__cta--preview-contents[aria-expanded="true"]:active {
  border-color: #9fbee3;
  background: #e7f0fb;
  color: #173f78;
}

.textbook-site-header__cta.is-access-required {
  transition: background-color 160ms ease;
  animation: textbook-access-cta-pulse 2.6s ease-out 1;
  animation-delay: 0.6s;
}

/* The public footer has a distinct, quiet end-of-site treatment. Reader pages
   deliberately override this block to preserve their uninterrupted reading UI. */
.textbook-site-page:not(.reader-body) {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.textbook-site-page:not(.reader-body) .textbook-site-main {
  flex: 1 0 auto;
}

/* Content-rich public pages should end shortly after their final section.
   Short utility pages retain the flex-grown main that pins the footer to the
   viewport bottom. */
.textbook-site-page--content-led-footer .textbook-site-main {
  flex: 0 0 auto;
  padding-bottom: 2rem;
}

.textbook-site-page--content-led-footer .textbook-landing {
  padding-bottom: 0;
}

.textbook-site-page--content-led-footer .textbook-site-content-ending {
  padding-bottom: 0;
}

.textbook-site-page--content-led-footer .textbook-site-footer {
  margin-top: 2.5rem;
}

.textbook-site-footer {
  margin-top: 3rem;
  flex: 0 0 auto;
  background: #0d1925;
}

.textbook-site-footer__inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 0.9rem;
  color: #b9c5d5;
  font-size: 0.875rem;
  line-height: 1.5;
}

.textbook-site-footer__top,
.textbook-site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.textbook-site-footer__bottom {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(203, 213, 225, 0.22);
}

.textbook-site-footer__product {
  color: #e8eef7;
  text-decoration: none;
}

.textbook-site-footer__links a {
  color: #e8eef7;
  text-decoration: none;
}

.textbook-site-footer__product {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: -0.015em;
}

.textbook-site-footer__links {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.9rem;
}

.textbook-site-footer__links span {
  color: #708198;
}

.textbook-site-footer__product:hover {
  color: #d7e8ff;
}

.textbook-site-footer__links a:hover,
.textbook-site-footer__links a:active {
  color: #9fc5f8;
  text-decoration: underline;
  text-decoration-color: currentColor;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

@media (hover: none) {
  .textbook-site-footer__links a:focus {
    color: #9fc5f8;
    text-decoration: underline;
    text-decoration-color: currentColor;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
  }
}

.textbook-site-footer__product:focus-visible,
.textbook-site-footer__links a:focus-visible {
  outline: 2px solid #d7e8ff;
  outline-offset: 3px;
}

.textbook-site-footer__copyright {
  margin: 0;
  color: #9aa9bc;
  font-size: 0.8125rem;
}

.textbook-support-link {
  color: #2563b8;
  text-decoration: none;
}

.textbook-support-link:hover {
  text-decoration: underline;
}

.textbook-support-link:focus-visible {
  outline: 2px solid #244f90;
  outline-offset: 3px;
}

@media (max-width: 767px) {
  .textbook-site-footer {
    margin-top: 2.5rem;
  }

  .textbook-site-footer__inner {
    padding: 1.5rem 1.25rem 0.9rem;
    text-align: center;
  }

  .textbook-site-footer__top,
  .textbook-site-footer__bottom {
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
  }

  .textbook-site-footer__links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .textbook-site-footer__bottom {
    margin-top: 1rem;
    padding-top: 0.85rem;
  }
}

.textbook-access-required-notice {
  position: fixed;
  top: 4.35rem;
  right: max(1.5rem, calc((100vw - 80rem) / 2 + 1.5rem));
  z-index: 60;
  width: max-content;
  max-width: calc(100vw - 2rem);
  border: 1px solid #d5e0ef;
  border-radius: 0.65rem;
  background: #f8fbff;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.12);
  color: #334155;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.3;
  padding: 0.55rem 0.7rem;
  pointer-events: none;
  white-space: nowrap;
  animation: textbook-access-notice-fade 6s ease-in forwards;
}

.textbook-access-required-notice::before {
  content: "";
  position: absolute;
  top: -0.36rem;
  right: 2.2rem;
  width: 0.7rem;
  height: 0.7rem;
  border-top: 1px solid #d5e0ef;
  border-left: 1px solid #d5e0ef;
  background: #f8fbff;
  transform: rotate(45deg);
}

@keyframes textbook-access-cta-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(96, 165, 250, 0);
    transform: scale(1);
  }
  14%,
  50% {
    box-shadow:
      0 0 0 2px rgba(191, 219, 254, 0.75),
      0 8px 16px rgba(15, 23, 42, 0.08);
    transform: scale(1.03);
  }
  30%,
  38%,
  66% {
    box-shadow: 0 0 0 0 rgba(96, 165, 250, 0);
    transform: scale(1);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(96, 165, 250, 0);
    transform: scale(1);
  }
}

@keyframes textbook-access-notice-fade {
  0%,
  78% {
    opacity: 1;
    visibility: visible;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

@media (prefers-reduced-motion: reduce) {
  .textbook-site-header__cta.is-access-required {
    animation: none;
  }

  .textbook-access-required-notice {
    animation: textbook-access-notice-fade 6s ease-in forwards;
  }
}

/*
 * Textbook auth shell
 *
 * These styles keep textbook login/register/verification pages inside the same
 * visual language as the public textbook site without forcing the broader
 * company/course auth flows onto the same shell.
 */
.textbook-auth-shell__header {
  --textbook-auth-header-height: 4.95rem;
  border-bottom: 1px solid #e5e7eb;
  background: #ffffff;
}

.textbook-auth-shell__header-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  min-height: var(--textbook-auth-header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.textbook-auth-shell__brand {
  color: #0f172a;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.textbook-auth-shell__brand-short {
  display: none;
}

.textbook-auth-shell__back-link {
  color: #475569;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
}

.textbook-auth-shell__back-link:hover {
  color: #0f172a;
}

.textbook-auth-shell__main {
  max-width: 76rem;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}

.textbook-auth-shell__layout {
  display: grid;
  gap: 1.5rem;
}

.textbook-auth-shell__form-panel,
.textbook-auth-shell__trust-panel {
  min-width: 0;
}

.textbook-auth-shell__form-panel {
  --textbook-auth-copy-gap: 0.65rem;
  --textbook-auth-meta-gap: 0.95rem;
  --textbook-auth-form-gap: 0.7rem;
  --textbook-auth-action-gap: 0.7rem;
  --textbook-auth-support-gap: 0.8rem;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 1.5rem;
  padding: 1.6rem 1.35rem;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.04);
}

.textbook-auth-shell__form-copy {
  max-width: 32rem;
}

/* The neutral confirmation copy is intentionally a little wider than an
   interactive auth form so its two short reassurance lines stay readable. */
.textbook-auth-shell__form-copy--verify {
  max-width: 36rem;
}

.textbook-auth-shell__form-copy--verify .textbook-auth-shell__subtitle {
  max-width: 36rem;
}

.textbook-auth-shell__eyebrow {
  margin: 0;
  color: #8b5f35;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.textbook-auth-shell__trust-eyebrow {
  margin: 0;
  color: rgba(226, 232, 240, 0.78);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.2;
  font-variant: small-caps;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.textbook-auth-shell__title {
  margin: 0;
  color: #0f172a;
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.textbook-auth-shell__subtitle {
  margin: 0;
  color: #475569;
  font-size: 1rem;
  line-height: 1.6;
  max-width: 34rem;
}

.textbook-auth-shell__subtitle--stacked {
  display: grid;
  gap: 0;
  line-height: 1.35;
}

.textbook-auth-shell__subtitle-emphasis {
  color: #334155;
  font-weight: 500;
}

.textbook-auth-shell__inline-success {
  margin: 0.85rem 0 0;
  color: #0f5132;
  font-size: 0.93rem;
  font-weight: 600;
  line-height: 1.45;
}

.textbook-auth-shell__context-line {
  margin: 0;
  color: #64748b;
  font-size: 0.9rem;
  line-height: 1.35;
}

.textbook-auth-shell__eyebrow + .textbook-auth-shell__title {
  margin-top: var(--textbook-auth-copy-gap);
}

.textbook-auth-shell__title + .textbook-auth-shell__subtitle {
  margin-top: var(--textbook-auth-copy-gap);
}

.textbook-auth-shell__subtitle + .textbook-auth-shell__context-line {
  margin-top: var(--textbook-auth-meta-gap);
}

.textbook-auth-shell__subtitle + .textbook-auth-shell__notice {
  margin-top: 0.8rem;
}

.textbook-auth-shell__form-copy--request .textbook-auth-shell__title + .textbook-auth-shell__subtitle,
.textbook-auth-shell__form-copy--verify .textbook-auth-shell__title + .textbook-auth-shell__subtitle {
  margin-top: 0.55rem;
}

.textbook-auth-shell__form-copy--verify .textbook-auth-shell__subtitle + .textbook-auth-shell__context-line {
  margin-top: 1rem;
}

.textbook-auth-shell__context-line span {
  color: #334155;
  font-weight: 600;
}

.textbook-auth-shell__context-line .textbook-auth-shell__context-check {
  color: #16a34a;
  font-weight: 700;
  margin-right: 0.25rem;
}

.textbook-auth-shell__context-action {
  color: #173156;
  font-weight: 600;
  text-decoration: none;
}

.textbook-auth-shell__context-action:hover {
  text-decoration: underline;
}

.textbook-auth-shell__notice {
  display: inline-grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  max-width: 32rem;
  color: #475569;
  border-left: 2px solid #bfdbfe;
  border-radius: 0.28rem;
  background: rgba(239, 246, 255, 0.45);
  padding: 0.34rem 0 0.34rem 0.6rem;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.5;
}

.textbook-auth-shell__form--request .textbook-auth-shell__field + .textbook-auth-shell__notice {
  margin-top: -0.1rem;
  margin-bottom: -0.05rem;
}

.textbook-auth-shell__notice strong {
  color: #334155;
  font-weight: 600;
}

.textbook-auth-shell__notice--success {
  color: #166534;
  border-left-color: #22c55e;
  background: rgba(236, 253, 245, 0.78);
  font-size: 0.84rem;
  font-weight: 500;
}

.textbook-auth-shell__notice--success .textbook-auth-shell__notice-icon {
  width: auto;
  height: auto;
  border: 0;
  color: #16a34a;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
}

.textbook-auth-shell__notice--success .textbook-auth-shell__notice-icon::before,
.textbook-auth-shell__notice--success .textbook-auth-shell__notice-icon::after {
  display: none;
}

.textbook-auth-shell__notice-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 0.88rem;
  height: 0.88rem;
  border-radius: 9999px;
  border: 1.5px solid #60a5fa;
}

.textbook-auth-shell__notice-icon::before,
.textbook-auth-shell__notice-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 50%;
  width: 1.3px;
  border-radius: 9999px;
  background: #60a5fa;
  transform-origin: bottom center;
}

.textbook-auth-shell__notice-icon::before {
  height: 0.3rem;
  transform: translateX(-50%) rotate(0deg);
}

.textbook-auth-shell__notice-icon::after {
  height: 0.24rem;
  transform: translateX(-50%) rotate(90deg);
}

.auth-toast-region {
  position: fixed;
  top: calc(var(--textbook-auth-header-height, 4.6rem) / 2);
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 80;
  width: calc(100vw - 2rem);
  max-width: 36rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  pointer-events: none;
}

.auth-toast-message {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  gap: 0.6rem;
  border-radius: 0.75rem;
  border: 1px solid transparent;
  padding: 0.56rem 0.8rem;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
  opacity: 1;
  transform: translateY(0);
  transition: opacity 220ms ease, transform 220ms ease;
  pointer-events: auto;
  width: fit-content;
  max-width: 100%;
  margin: 0;
}

.auth-toast-message.is-hiding {
  opacity: 0;
  transform: translateY(-0.35rem);
}

.auth-toast-message--success {
  background: #f7fcfa;
  color: #2b6f5a;
  border-color: #d8eee5;
}

.auth-toast-message--error {
  background: #fff1f2;
  color: #9f1239;
  border-color: #fecdd3;
}

.auth-toast-message--warning {
  background: #fffbeb;
  color: #92400e;
  border-color: #fde68a;
}

.auth-toast-message--info {
  background: #eff6ff;
  color: #1d4ed8;
  border-color: #bfdbfe;
}

.auth-toast-message__icon {
  margin-top: 0.1rem;
}

.auth-toast-message__icon svg {
  display: block;
  width: 0.95rem;
  height: 0.95rem;
}

.auth-toast-message__text {
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.35;
}

.auth-toast-message__text a {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

.auth-toast-message__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: inherit;
  opacity: 0.72;
  cursor: pointer;
  padding: 0.05rem;
}

.auth-toast-message__close:hover {
  opacity: 1;
}

.auth-toast-message__close svg {
  display: block;
  width: 0.9rem;
  height: 0.9rem;
}

.auth-inline-alert {
  padding-right: 2.5rem;
}

.auth-inline-alert [data-dismiss] {
  right: 0.5rem;
  padding: 0.25rem;
}

.textbook-site-page--coming-soon .textbook-site-main {
  display: flex;
  align-items: center;
  justify-content: center;
}

.textbook-coming-soon {
  width: 100%;
  max-width: 48rem;
  margin: 0 auto;
  padding: 3rem 0 6rem;
  text-align: center;
}

.textbook-coming-soon__eyebrow {
  margin: 0 0 0.75rem;
  color: #98602e;
}

.textbook-coming-soon__title {
  margin: 0;
}

.textbook-coming-soon__copy {
  max-width: 40rem;
  margin: 1.25rem auto 0;
  color: #56647a;
  font-size: 1.125rem;
  line-height: 1.6;
}

.textbook-coming-soon__action {
  margin-top: 1.75rem;
}

.textbook-coming-soon__signup {
  margin: 1.25rem 0 0;
  color: #56647a;
}

.textbook-coming-soon__signup a {
  color: #28538e;
  font-weight: 600;
  text-underline-offset: 0.2em;
}

.textbook-auth-shell__form {
  margin-top: 0.9rem;
  display: grid;
  gap: var(--textbook-auth-form-gap);
  max-width: 32rem;
}

.textbook-auth-shell__form-copy--request + .textbook-auth-shell__form--request {
  margin-top: 1rem;
}

/* The standalone verification page keeps its stable HTMX target wrapper. Give
   its actual request form the same spacing as the direct login request form. */
.textbook-auth-shell__form-copy--request + #resend-block > .textbook-auth-shell__form--request {
  margin-top: 1rem;
}

.textbook-auth-shell__form-copy--verify + .textbook-auth-shell__form--verify {
  margin-top: 0.85rem;
}

.textbook-auth-shell__alert {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.7rem;
  align-items: start;
  border-radius: 0.85rem;
  border: 1px solid transparent;
  padding: 0.78rem 0.9rem;
}

.textbook-auth-shell__alert--warning {
  background: #fffbeb;
  border-color: #f4d88c;
  color: #713f12;
}

.textbook-auth-shell__alert-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 9999px;
  background: #f59e0b;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
}

.textbook-auth-shell__alert-body {
  display: grid;
  gap: 0.25rem;
}

.textbook-auth-shell__alert-title {
  margin: 0;
  color: #713f12;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
}

.textbook-auth-shell__alert-text {
  margin: 0;
  color: #854d0e;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
}

.textbook-auth-shell__verification-warning-strip {
  border-left: 2px solid #d97706;
  background: #fffcf2;
  color: #713f12;
  padding: 0.42rem 0.68rem;
}

.textbook-auth-shell__verification-warning-copy {
  display: grid;
  gap: 0.1rem;
}

.textbook-auth-shell__verification-warning-title {
  margin: 0;
  color: #713f12;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
}

.textbook-auth-shell__verification-warning-text {
  margin: 0;
  color: #854d0e;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.5;
}

.textbook-auth-shell__verification-warning-text a {
  color: inherit;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

.textbook-auth-shell__field {
  display: grid;
  gap: 0.45rem;
}

.textbook-auth-shell__label {
  color: #0f172a;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
}

.textbook-auth-shell__form input:not([type="hidden"]),
.textbook-auth-shell__form select,
.textbook-auth-shell__form textarea {
  width: 100%;
  border: 1px solid #d5dbe5;
  border-radius: 0.9rem;
  background: #ffffff;
  padding: 0.82rem 0.95rem;
  color: #0f172a;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.4;
}

.textbook-auth-shell__form input:not([type="hidden"]):focus,
.textbook-auth-shell__form select:focus,
.textbook-auth-shell__form textarea:focus {
  outline: none;
  border-color: #173156;
  box-shadow: none;
}

.textbook-auth-shell__form .textbook-auth-shell__input--readonly {
  border-color: #d5d9df !important;
  background-color: #f4f5f6 !important;
  color: #5f6875 !important;
  -webkit-text-fill-color: #5f6875;
  box-shadow: none;
  cursor: not-allowed;
}

.textbook-auth-shell__form .textbook-auth-shell__input--readonly:focus {
  border-color: #d5d9df;
  box-shadow: none;
}

.textbook-auth-shell__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  width: fit-content;
  border: 1px solid transparent;
  border-radius: 0.75rem;
  padding: 0.65rem 1.4rem;
  background: #132c4e;
  color: #f8fafc;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.textbook-auth-shell__field + .textbook-auth-shell__button {
  margin-top: calc(var(--textbook-auth-action-gap) - var(--textbook-auth-form-gap));
}

.textbook-auth-shell__button:hover {
  background: #1e3c65;
}

.textbook-auth-shell__button:active {
  background: #102642;
}

.textbook-auth-shell__button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.22);
}

.textbook-auth-shell__button:disabled,
.textbook-auth-shell__button:disabled:hover,
.textbook-auth-shell__button:disabled:active {
  background: #94a3b8;
  cursor: not-allowed;
}

.textbook-auth-shell__button--secondary {
  background: #ffffff;
  border-color: #cad5e7;
  color: #10233f;
}

.textbook-auth-shell__button--secondary:hover {
  background: rgba(23, 49, 86, 0.06);
  border-color: #173156;
  color: #173156;
}

.textbook-auth-shell__supporting-link {
  margin: 0;
  color: #64748b;
  font-size: 0.875rem;
  line-height: 1.5;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
}

.textbook-checkout-handoff__eyebrow {
  color: #98602e;
}

.textbook-auth-shell__button + .textbook-auth-shell__supporting-link,
.textbook-auth-shell__form + .textbook-auth-shell__supporting-link {
  margin-top: var(--textbook-auth-support-gap);
}

.textbook-auth-shell__form--request .textbook-auth-shell__button + .textbook-auth-shell__supporting-link {
  margin-top: 0;
}

.textbook-auth-shell__login-support-links {
  display: grid;
  gap: 0.25rem;
}

.textbook-auth-shell__form--verify + .textbook-auth-shell__supporting-link {
  margin-top: 0.8rem;
}

.textbook-auth-shell__supporting-link + .textbook-auth-shell__supporting-link--secondary {
  margin-top: 0.25rem;
}

.textbook-auth-shell__verification-actions {
  display: grid;
  gap: 0.25rem;
  margin-top: 0.8rem;
}

.textbook-auth-shell__supporting-link a {
  color: #173156;
  font-weight: 600;
  text-decoration: none;
}

.textbook-auth-shell__supporting-link a:hover {
  text-decoration: underline;
}

.textbook-auth-shell__supporting-link--disabled {
  color: #94a3b8;
}

.textbook-auth-shell__inline-form {
  display: inline;
  margin: 0;
}

.textbook-auth-shell__inline-form[hidden] {
  display: none !important;
}

.textbook-auth-shell__link-button {
  border: 0;
  background: transparent;
  color: #173156;
  font: inherit;
  font-weight: 600;
  padding: 0;
  cursor: pointer;
  text-decoration: none;
}

.textbook-auth-shell__link-button:hover {
  text-decoration: underline;
}

.textbook-auth-shell__link-button:disabled,
.textbook-auth-shell__link-button:disabled:hover {
  color: #94a3b8;
  cursor: not-allowed;
  text-decoration: none;
}

.textbook-auth-shell__cooldown {
  color: #64748b;
}

.textbook-auth-shell__verification-resend-controls {
  margin-top: 0;
}

.textbook-auth-shell__supporting-separator {
  display: inline-block;
  margin: 0 0.35rem;
  color: #94a3b8;
}

.textbook-auth-shell__hint {
  margin: -0.1rem 0 0;
  color: #92400e;
  font-size: 0.875rem;
  line-height: 1.5;
}

.textbook-auth-shell__field-error {
  color: #9f1239;
  font-size: 0.875rem;
  line-height: 1.5;
}

.textbook-auth-shell__field--error input:not([type="hidden"]) {
  border-color: #be123c;
  box-shadow: none;
}

.textbook-auth-shell__field--error input:not([type="hidden"]):focus {
  border-color: #be123c;
  box-shadow: none;
}

.textbook-auth-shell__error {
  border-radius: 0.9rem;
  background: #fff1f2;
  color: #9f1239;
  padding: 0.78rem 0.95rem;
  font-size: 0.875rem;
  line-height: 1.5;
}

.textbook-auth-shell__success {
  margin-top: 1.5rem;
  display: grid;
  gap: 1rem;
  max-width: 30rem;
}

.textbook-auth-shell__success p {
  margin: 0;
  color: #475569;
  font-size: 1rem;
  line-height: 1.6;
}

.textbook-auth-shell__trust-card {
  height: 100%;
  border-radius: 1.5rem;
  background: #0d1925;
  padding: 1.6rem 1.4rem;
  color: #f8fafc;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.1);
}

.textbook-auth-shell__trust-title {
  margin: 1rem 0 0;
  color: #f8fafc;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: normal;
  /* Let concise product-specific headings use the available desktop card width.
     Narrow cards still wrap naturally without reducing the heading scale. */
  max-width: none;
}

.textbook-auth-shell__trust-copy {
  margin: 0.85rem 0 0;
  color: rgba(241, 245, 249, 0.86);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 28rem;
}

.textbook-auth-shell__trust-points {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.6rem;
}

.textbook-auth-shell__trust-points li {
  position: relative;
  padding-left: 1.25rem;
  color: rgba(248, 250, 252, 0.92);
  font-size: 0.95rem;
  line-height: 1.5;
}

.textbook-auth-shell__trust-points li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #cbd5e1;
}

@media (min-width: 960px) {
  .textbook-auth-shell__layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(22rem, 0.9fr);
    gap: 1.7rem;
    align-items: stretch;
  }

  .textbook-auth-shell__main {
    padding: 2.4rem 1.5rem 3.4rem;
  }

  .textbook-auth-shell__form-panel,
  .textbook-auth-shell__trust-card {
    padding: 2rem 2rem;
    min-height: 36rem;
  }
}

@media (max-width: 767px) {
  .textbook-auth-shell__brand-full {
    display: none;
  }

  .textbook-auth-shell__brand-short {
    display: inline;
  }

  .textbook-auth-shell__back-link {
    font-size: 0.88rem;
  }

  .textbook-auth-shell__alert {
    gap: 0.55rem;
    border-radius: 0.85rem;
    padding: 0.72rem 0.78rem;
  }

  .textbook-auth-shell__alert-icon {
    width: 1.1rem;
    height: 1.1rem;
    font-size: 0.7rem;
  }

  .textbook-auth-shell__alert-title {
    font-size: 0.88rem;
  }

  .textbook-auth-shell__alert-text {
    font-size: 0.8rem;
    line-height: 1.4;
  }

  .textbook-auth-shell__verification-warning-strip {
    padding: 0.4rem 0.62rem;
  }

  .textbook-auth-shell__button {
    width: 100%;
  }
}

/* Legal pages use the same editorial header and reading measure as About. */
.textbook-legal-page {
  padding-top: 2rem;
  padding-bottom: 3rem;
}

.textbook-legal__content {
  max-width: 54rem;
  margin-right: auto;
  margin-left: auto;
  color: #475569;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
}

.textbook-legal__header {
  margin-bottom: 2.5rem;
}

.textbook-legal__eyebrow {
  margin: 0 0 0.625rem;
  color: #98602e;
}

.textbook-legal__title {
  margin: 0;
  color: #10233f;
}

.textbook-legal__lead {
  margin: 0.25rem 0 0;
  color: #64748b;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
}

.textbook-legal__section + .textbook-legal__section {
  margin-top: 2rem;
}

.textbook-legal__section .ui-public-section-title {
  margin: 0;
  color: #10233f;
}

.textbook-legal__section p {
  margin: 1rem 0 0;
}

/*
 * Textbook About page
 *
 * This mirrors the public landing and FAQ page-title rhythm. The author panel
 * is the single contained element because it groups author identity and
 * credentials; the surrounding editorial content stays uncarded.
 */
.textbook-about-page {
  padding-top: 2rem;
  padding-bottom: 0;
}

.textbook-about__header {
  max-width: 54rem;
  margin: 0 auto 2.5rem;
  text-align: left;
}

.textbook-about__eyebrow {
  margin: 0 0 0.625rem;
  color: #98602e;
}

.textbook-about__title {
  margin: 0;
  color: #10233f;
}

.textbook-about__lead {
  max-width: 54rem;
  margin: 0.25rem 0 0;
  color: #64748b;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
}

.textbook-about__content {
  max-width: 54rem;
  margin-right: auto;
  margin-left: auto;
  color: #475569;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
}

.textbook-about__section + .textbook-about__section {
  margin-top: 2rem;
}

.textbook-about__content .ui-public-section-title {
  margin: 0;
  color: #10233f;
}

.textbook-about__content p {
  margin: 1rem 0 0;
}

.textbook-about__list-label {
  margin-bottom: 0;
}

.textbook-about__who-list {
  gap: 0.5rem;
  margin: 0.5rem 0 0;
}

.textbook-about__author-card {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  width: 100%;
  max-width: 54rem;
  margin: 4rem auto 0;
  padding: 0.8rem 1rem;
  border: 1px solid #e9ddcc;
  border-radius: 1rem;
  background: #fcf7ee;
}

.textbook-about__author-photo {
  width: 10rem;
  height: 12.5rem;
  flex: 0 0 auto;
  border-radius: 0.75rem;
  object-fit: cover;
  object-position: center top;
}

.textbook-about__author-content {
  min-width: 0;
}

.textbook-about__author-eyebrow {
  margin: 0;
  color: #98602e;
}

.textbook-about__author-name.ui-card-title {
  margin: 0.75rem 0 0;
  color: #1f2937;
}

.textbook-about__author-role.ui-navigation {
  margin: 0.25rem 0 0;
  color: #1f2937;
}

.textbook-about__author-affiliation {
  margin: 1rem 0 0;
  color: #475569;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
}

.textbook-about__author-rule {
  display: block;
  width: 2rem;
  margin-top: 1rem;
  border-top: 2px solid #98602e;
}

.textbook-about__author-summary {
  max-width: 42rem;
  margin: 1rem 0 0;
  color: #475569;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
}

.textbook-about__author-section {
  margin-top: 4rem;
}

@media (min-width: 640px) {
  .textbook-about-page {
    padding-bottom: 0;
  }
}

@media (max-width: 639px) {
  .textbook-about-page {
    padding-top: 0.5rem;
  }

  .textbook-about__author-card {
    display: grid;
    grid-template-columns: 7.25rem minmax(0, 1fr);
    align-items: flex-start;
    column-gap: 1rem;
    row-gap: 0.75rem;
    margin-top: 2.5rem;
    padding: 1.2rem;
  }

  .textbook-about__author-photo {
    width: 7.25rem;
    height: 9.0625rem;
  }

  .textbook-about__author-content {
    display: contents;
  }

  .textbook-about__author-identity {
    min-width: 0;
  }

  .textbook-about__author-rule,
  .textbook-about__author-affiliation,
  .textbook-about__author-summary {
    grid-column: 1 / -1;
  }

  .textbook-about__author-affiliation {
    margin-top: 0.5rem;
  }

  .textbook-about__author-rule {
    margin-top: 0.25rem;
  }

  .textbook-about__author-summary {
    margin-top: -0.25rem;
  }

  .textbook-about__author-section {
    margin-top: 2.5rem;
  }
}

.textbook-about__cta {
  max-width: 54rem;
  margin: 2.75rem auto 0;
  text-align: center;
}

.textbook-about__cta-copy {
  margin: 0;
  color: #374151;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.75;
}

.textbook-about__cta-button,
.textbook-about__cta-button:link,
.textbook-about__cta-button:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.72rem;
  padding: 0.78rem 1.5rem;
  border: 2px solid #10233f;
  border-radius: 0.75rem;
  background-color: #ffffff;
  color: #10233f;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease,
    transform 120ms ease;
}

.textbook-about__cta-button:hover,
.textbook-about__cta-button:visited:hover {
  background: rgba(23, 49, 86, 0.08);
  color: #173156;
  border-color: #173156;
  box-shadow: 0 3px 8px rgba(15, 23, 42, 0.07);
}

.textbook-about__cta-button:active,
.textbook-about__cta-button:visited:active {
  background: rgba(12, 27, 49, 0.1);
  color: #0c1b31;
  border-color: #0c1b31;
  box-shadow: inset 0 1px 2px rgba(12, 27, 49, 0.14);
  transform: none;
}

.textbook-about__cta-button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(23, 49, 86, 0.16);
}

@media (prefers-color-scheme: dark) {
  .textbook-about__author-card {
    background: #fcf7ee;
    border-color: #e9ddcc;
  }

  .textbook-about__author-name.ui-card-title,
  .textbook-about__author-role.ui-navigation {
    color: #1f2937;
  }

  .textbook-about__author-summary {
    color: #475569;
  }

  .textbook-about__cta-button {
    border-color: #cbd5e1;
    color: #e2e8f0;
  }

  .textbook-about__cta-button:hover {
    background: rgba(226, 232, 240, 0.08);
    color: #f8fafc;
    border-color: #e2e8f0;
  }

  .textbook-about__cta-button:active {
    background: rgba(226, 232, 240, 0.12);
  }

  .textbook-about__cta-button:focus-visible {
    box-shadow: 0 0 0 3px rgba(203, 213, 225, 0.18);
  }
}

/*
 * Textbook FAQ filter pills
 *
 * Keep these lightweight and clearly secondary. Only the selected pill uses
 * the filled navy treatment so the filter row does not compete with primary CTAs.
 */
.faq-filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.5rem;
}

.faq-filter-pill,
.faq-filter-pill:link,
.faq-filter-pill:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.3rem;
  padding: 0.5rem 0.95rem;
  border: 1.5px solid #d5dbe5;
  border-radius: 9999px;
  background: #ffffff;
  color: #1f2937;
  font-size: 0.94rem;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.faq-filter-pill:hover,
.faq-filter-pill:visited:hover {
  background: rgba(23, 49, 86, 0.05);
  border-color: #b8c4d6;
  color: #1f2937;
}

.faq-filter-pill:active,
.faq-filter-pill:visited:active {
  background: rgba(23, 49, 86, 0.09);
  border-color: #aab8cd;
  color: #1f2937;
}

.faq-filter-pill:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(23, 49, 86, 0.14);
}

.faq-filter-pill--active,
.faq-filter-pill--active:link,
.faq-filter-pill--active:visited {
  background: #10233f;
  border-color: #10233f;
  color: #f8fafc;
}

.faq-filter-pill--active:hover,
.faq-filter-pill--active:visited:hover {
  background: #173156;
  border-color: #173156;
  color: #f8fafc;
}

.faq-filter-pill--active:active,
.faq-filter-pill--active:visited:active {
  background: #0c1b31;
  border-color: #0c1b31;
  color: #f8fafc;
}

/*
 * Textbook FAQ
 *
 * This title treatment deliberately mirrors the textbook landing and preview
 * hierarchy. The accordion remains left aligned and follows the same width
 * as the search field at every breakpoint.
 */
.textbook-faq-page {
  padding-top: 2rem;
  padding-bottom: 0;
}

.textbook-faq__content {
  width: 100%;
  max-width: 54rem;
  margin-right: auto;
  margin-left: auto;
}

.textbook-faq__header {
  margin-bottom: 2rem;
  text-align: left;
}

.textbook-faq__eyebrow {
  margin: 0 0 0.625rem;
  color: #98602e;
}

.textbook-faq__title {
  margin: 0;
  color: #10233f;
}

.textbook-faq__lead {
  margin: 0.25rem 0 0;
  color: #64748b;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
}

.textbook-faq__tabs {
  margin-bottom: 1.5rem;
}

.textbook-faq__tabs-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

.textbook-faq__tablist {
  display: flex;
  gap: 2rem;
  width: max-content;
  padding-inline: 1rem;
}

.textbook-faq__tab.ui-navigation {
  position: relative;
  display: grid;
  flex: 0 0 auto;
  min-height: 2.5rem;
  padding: 0.5rem 0 0.125rem;
  border: 0;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  font-weight: 400;
}

.textbook-faq__tab::before,
.textbook-faq__tab-label {
  grid-area: 1 / 1;
}

.textbook-faq__tab::before {
  visibility: hidden;
  font-weight: 600;
  content: attr(data-faq-tab-label);
}

.textbook-faq__tab:hover,
.textbook-faq__tab:focus-visible {
  color: #244f90;
  font-weight: 500;
}

.textbook-faq__tab:hover::after,
.textbook-faq__tab:focus-visible::after {
  position: absolute;
  right: 0;
  top: 2.125rem;
  left: 0;
  height: 1px;
  background: #9db7dc;
  content: "";
}

.textbook-faq__tab[aria-selected="true"] {
  color: #173f78;
  font-weight: 600;
}

.textbook-faq__tab[aria-selected="true"]::after {
  position: absolute;
  right: 0;
  top: 2.125rem;
  left: 0;
  height: 2px;
  background: #244f90;
  content: "";
}

.textbook-faq__tab:focus-visible {
  outline: 2px solid #244f90;
  outline-offset: -2px;
}

.textbook-faq-page #faq-search {
  border-color: #d9e1ec;
}

.textbook-faq-page #faq-search:focus {
  border: 2px solid #466495;
  outline: none;
}

.textbook-faq__accordion {
  display: grid;
  gap: 0.625rem;
  width: 100%;
  max-width: none;
}

.textbook-faq__item {
  border: 1px solid #e5e7eb;
  border-radius: 0.375rem;
  padding: 0 1rem;
}

.textbook-faq__item[open] {
  border-color: #b7cdeb;
  background: #fcfdfe;
  box-shadow: none;
}

.textbook-faq__item[open] .textbook-faq__summary {
  border-bottom: 1px solid #d9e1ec;
}

.textbook-faq__item[open] .textbook-faq__answer.ui-supporting-text {
  padding-top: 0.375rem;
}

.textbook-faq__item[open] .textbook-faq__chevron {
  color: #244f90;
}

.textbook-faq__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-sizing: border-box;
  min-height: 2.5rem;
  padding-block: 0.375rem;
  cursor: pointer;
  list-style: none;
}

.textbook-faq__summary::-webkit-details-marker {
  display: none;
}

.textbook-faq__summary:focus-visible {
  outline: 2px solid #244f90;
  outline-offset: 2px;
}

.textbook-faq__answer.ui-supporting-text {
  margin-top: 0;
  padding-bottom: 0.75rem;
  color: #475569;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
}

.textbook-faq__answer .textbook-support-link,
.textbook-faq__answer .textbook-support-link:link,
.textbook-faq__answer .textbook-support-link:visited {
  text-decoration: none;
}

.textbook-faq__answer .textbook-support-link:active,
.textbook-faq__answer .textbook-support-link:focus,
.textbook-faq__answer .textbook-support-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.125rem;
}

.textbook-faq__answer .textbook-support-link:hover {
  text-decoration: underline;
  text-underline-offset: 0.125rem;
}

.textbook-faq__empty-state strong {
  display: block;
  color: #1f2937;
}

.textbook-faq__empty-state > * {
  display: block;
}

.textbook-faq__empty-state > * + * {
  margin-top: 0.0625rem;
}

.textbook-faq__empty-state > .textbook-faq__contact-prompt {
  margin-top: 0.375rem;
}

.textbook-faq__clear-search,
.textbook-faq__contact-prompt a {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  color: #244f90;
  font: inherit;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
}

.textbook-faq__clear-search:focus-visible,
.textbook-faq__contact-prompt a:focus-visible {
  outline: 2px solid #244f90;
  outline-offset: 2px;
  text-decoration: underline;
  text-underline-offset: 0.125rem;
}

.textbook-faq__contact-prompt a {
  display: inline;
}

.textbook-faq__question.ui-compact-card-title {
  color: #1f2937;
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.3;
}

.textbook-faq__chevron {
  color: #1f2937;
}

@media (min-width: 640px) {
  .textbook-faq-page {
    padding-bottom: 0;
  }
}

@media (max-width: 639px) {
  .textbook-faq-page {
    padding-top: 0.5rem;
  }
}

@media (prefers-color-scheme: dark) {
  .faq-filter-pill--active,
  .faq-filter-pill--active:link,
  .faq-filter-pill--active:visited {
    background: #10233f;
    border-color: #10233f;
    color: #f8fafc;
  }

  .faq-filter-pill--active:hover,
  .faq-filter-pill--active:visited:hover {
    background: #173156;
    border-color: #173156;
  }

  .faq-filter-pill--active:active,
  .faq-filter-pill--active:visited:active {
    background: #0c1b31;
    border-color: #0c1b31;
  }
}

/*
 * Textbook offer section
 *
 * This is the stable layout system for the single digital textbook offer.
 * It intentionally avoids nested cards or boxed-off pricing panels so the
 * benefits, price, and CTA read as one connected section.
 */
.textbook-offer {
  max-width: 100%;
}

.textbook-offer__purchase {
  margin-top: 0;
}

.textbook-offer__purchase-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  padding-top: 0;
}

.textbook-offer__purchase-row--guest {
  align-items: flex-start;
}

.textbook-offer__purchase-row--owned {
  align-items: flex-start;
  padding-top: 1.2rem;
}

.textbook-offer__price-block {
  min-width: 0;
  width: 100%;
}

.textbook-offer__price {
  color: #0f172a;
  font-size: clamp(3.95rem, 6.2vw, 4.95rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.textbook-offer__old-price {
  margin: 0 0 0.125rem;
  color: #94a3b8;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
}

.textbook-offer__old-price del {
  text-decoration-color: currentColor;
  text-decoration-thickness: 1px;
}

.textbook-offer__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
  width: 100%;
}

.textbook-offer__actions--stacked {
  margin-top: 0.95rem;
}

.textbook-offer__actions--owned {
  margin-top: 0;
  display: grid;
  gap: 0.75rem;
  max-width: 16rem;
}

.textbook-offer__actions--guest {
  gap: 0;
}

.textbook-offer__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.4rem;
  min-width: 11.5rem;
  border-radius: 0.75rem;
  border: 1px solid transparent;
  padding: 0.92rem 1.55rem;
  background: #132c4e;
  color: #f8fafc;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.textbook-offer__button:hover {
  background: #1e3c65;
}

.textbook-offer__button:active {
  background: #102642;
}

.textbook-offer__button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.22);
}

.textbook-offer__button--secondary {
  background: #ffffff;
  border-color: #10233f;
  color: #10233f;
  min-width: 11.5rem;
}

.textbook-offer__button--secondary:hover {
  background: rgba(23, 49, 86, 0.06);
  border-color: #173156;
  color: #173156;
}

.textbook-offer__button--secondary:active {
  background: rgba(12, 27, 49, 0.08);
  border-color: #0c1b31;
  color: #0c1b31;
}

.textbook-offer__guest {
  max-width: 30rem;
}

.textbook-offer__login-prompt {
  margin: 0.55rem 0 0 0.15rem;
  color: #7a8799;
  font-size: 0.78rem;
  line-height: 1.45;
}

.textbook-offer__login-prompt a {
  color: #214f9f;
  font-weight: 600;
  text-decoration: none;
}

.textbook-offer__login-prompt a:hover {
  text-decoration: underline;
}

.textbook-offer__footnote {
  margin: 0.12rem 0 0 0.15rem;
  color: #8592a5;
  font-size: 0.72rem;
  line-height: 1.4;
  letter-spacing: 0.01em;
}

.textbook-offer__state-note {
  margin: 0.55rem 0 0 0.1rem;
  color: #64748b;
  font-size: 0.84rem;
  line-height: 1.45;
  max-width: 18rem;
}

.textbook-offer__state-note--canceled {
  color: #8a5a13;
}

/* The guest purchase panel is deliberately contained so price and checkout
 * stay visually connected without competing with the textbook content. */
.textbook-access__purchase-column .textbook-offer {
  box-sizing: border-box;
  padding: 9px 1.5rem 8px;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  background: #fbfcfe;
  text-align: center;
}

.textbook-access__purchase-column .textbook-offer__purchase-row,
.textbook-access__purchase-column .textbook-offer__purchase-row--guest {
  align-items: stretch;
  gap: 0;
}

.textbook-access__purchase-column .textbook-offer__price {
  font-size: 2.25rem;
}

.textbook-access__purchase-column .textbook-offer__old-price {
  margin-bottom: 0.1rem;
  font-size: 1.05rem;
}

.textbook-offer__purchase-label {
  margin: 0 0 10px;
  color: #64748b;
}

.textbook-access__purchase-column .textbook-offer__actions--stacked {
  margin-top: 10px;
}

.textbook-access__purchase-column .textbook-offer__button {
  width: 80%;
  margin: 0 auto;
  min-width: 0;
  min-height: 3rem;
  padding: 0.75rem 1rem;
  border-radius: 0.625rem;
  font-size: 1rem;
}

.textbook-access__purchase-column .textbook-offer__footnote {
  margin: 9px 0 0;
  color: #64748b;
  font-size: 0.8125rem;
  line-height: 1.5;
  letter-spacing: 0;
}

@media (min-width: 640px) {
  .textbook-access__purchase-column .textbook-offer__footnote {
    white-space: nowrap;
  }
}

.textbook-access__purchase-column .textbook-offer__login-prompt {
  margin: 3px 0 0;
  padding-top: 3px;
  border-top: 1px solid #e5e7eb;
  color: #64748b;
  font-size: 0.8125rem;
  line-height: 1.5;
}

@media (max-width: 639px) {
  .textbook-access__purchase-column .textbook-offer {
    width: 90%;
    margin-right: auto;
    margin-left: auto;
    padding: 6px 20px 12px;
  }

  .textbook-access__purchase-column .textbook-offer__purchase-label {
    margin-bottom: 8px;
  }

  .textbook-access__purchase-column .textbook-offer__actions--stacked {
    margin-top: 10px;
  }

  .textbook-access__purchase-column .textbook-offer__footnote {
    margin-top: 9px;
  }

  .textbook-access__purchase-column .textbook-offer__login-prompt {
    margin-top: 4px;
    padding-top: 4px;
  }
}

.textbook-access__owned-panel {
  position: relative;
  box-sizing: border-box;
  padding: 0.75rem 0.9rem;
  border: 1px solid #d5deec;
  border-radius: 0.75rem;
  background: #f8fafc;
}

.textbook-access__owned-panel .textbook-access__status-badge {
  position: absolute;
  top: 0;
  right: 0;
  margin: 0;
}

.textbook-access__owned-header {
  position: relative;
  padding-top: 0.8125rem;
}

.textbook-access__owned-title {
  /* Start at the badge's vertical midpoint for the intended staggered pair. */
  margin: 0 5rem 0 0;
  color: #0f172a;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.3;
}

.textbook-access__owned-copy {
  margin: 0.35rem 0 0;
  color: #64748b;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.5;
}

.textbook-access__owned-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 2.5rem;
  margin-top: 0.65rem;
  box-sizing: border-box;
  border: 1px solid transparent;
  border-radius: 0.625rem;
  padding: 0.55rem 0.9rem;
  background: #132c4e;
  color: #f8fafc;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
}

.textbook-access__owned-link:hover {
  background: #1e3c65;
  color: #f8fafc;
}

.textbook-access__owned-link:active {
  background: #102642;
  color: #f8fafc;
}

.textbook-access__owned-link:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 0.2rem;
}

.textbook-access__action-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
}

.textbook-access__action-row--owned {
  align-items: center;
}

.textbook-access__amount {
  min-width: 12rem;
}

.textbook-access__price-note {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  color: #6b7280;
}

.textbook-access__button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  align-items: center;
}

.textbook-access__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  border-radius: 0.75rem;
  border: 1px solid transparent;
  padding: 0.8rem 1.4rem;
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.textbook-access__cta:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.22);
}

.textbook-access__cta:hover {
  transform: translateY(-1px);
}

.textbook-access__cta:not(.textbook-access__cta--owned):not(.textbook-access__cta--secondary) {
  background: #132c4e;
  color: #fff;
}

.textbook-access__cta:not(.textbook-access__cta--owned):not(.textbook-access__cta--secondary):hover {
  background: #1e3c65;
}

.textbook-access__cta:not(.textbook-access__cta--owned):not(.textbook-access__cta--secondary):active {
  background: #102642;
}

.textbook-access__cta--owned {
  background: #e8f0ff;
  border-color: #c9d9f8;
  color: #214f9f;
}

.textbook-access__cta--owned:hover {
  background: #dce7fb;
  border-color: #b8ccf2;
  color: #173f84;
}

.textbook-access__cta--secondary {
  background: #fff;
  border-color: #cad5e7;
  color: #1f2937;
}

.textbook-access__cta--secondary:hover {
  background: #f8fafc;
  border-color: #b8c5db;
}

/* Retain each CTA's pressed treatment through the touch/navigation handoff.
   This keeps mobile tap feedback visible without adding movement. */
@media (hover: none), (pointer: coarse) {
  .textbook-hero__action,
  .textbook-hero__action:visited,
  .textbook-site-header__cta:not(.textbook-site-header__cta--mobile-contents):not(.textbook-site-header__cta--preview-contents),
  .textbook-about__cta-button,
  .textbook-offer__button:not(.textbook-offer__button--secondary),
  .textbook-access__cta:not(.textbook-access__cta--owned):not(.textbook-access__cta--secondary),
  .textbook-access__owned-link,
  .textbook-auth-shell__button:not(.textbook-auth-shell__button--secondary) {
    transition-duration: 0s;
  }

  .textbook-site-header__cta:not(.textbook-site-header__cta--mobile-contents):not(.textbook-site-header__cta--preview-contents):hover,
  .textbook-site-header__cta:not(.textbook-site-header__cta--mobile-contents):not(.textbook-site-header__cta--preview-contents):focus,
  .textbook-site-header__cta:not(.textbook-site-header__cta--mobile-contents):not(.textbook-site-header__cta--preview-contents):active,
  .textbook-site-header__cta:not(.textbook-site-header__cta--mobile-contents):not(.textbook-site-header__cta--preview-contents):visited:hover,
  .textbook-site-header__cta:not(.textbook-site-header__cta--mobile-contents):not(.textbook-site-header__cta--preview-contents):visited:focus,
  .textbook-site-header__cta:not(.textbook-site-header__cta--mobile-contents):not(.textbook-site-header__cta--preview-contents):visited:active {
    background: #102642;
  }

  .textbook-hero__action--primary:is(:hover, :focus, :active) {
    background: #d5dce3;
    color: #102946;
  }

  .textbook-hero__action--secondary:hover,
  .textbook-hero__action--secondary:focus,
  .textbook-hero__action--secondary:active,
  .textbook-hero__action--secondary:visited:hover,
  .textbook-hero__action--secondary:visited:focus,
  .textbook-hero__action--secondary:visited:active {
    border-color: #b9c7da;
    background: #122030;
    color: #ffffff;
  }

  .textbook-about__cta-button:is(:hover, :focus, :active),
  .textbook-about__cta-button:visited:is(:hover, :focus, :active) {
    border-color: #0c1b31;
    background: rgba(12, 27, 49, 0.1);
    color: #0c1b31;
    box-shadow: inset 0 1px 2px rgba(12, 27, 49, 0.14);
    transition-duration: 0s;
  }

  .textbook-offer__button:hover,
  .textbook-offer__button:focus,
  .textbook-offer__button:active,
  .textbook-offer__button:visited:hover,
  .textbook-offer__button:visited:focus,
  .textbook-offer__button:visited:active {
    background: #102642;
  }

  .textbook-offer__button--secondary:is(:hover, :focus, :active) {
    border-color: #173156;
    background: rgba(23, 49, 86, 0.06);
    color: #173156;
  }

  .textbook-access__cta:is(:hover, :focus, :active) {
    transform: none;
  }

  .textbook-access__cta:not(.textbook-access__cta--owned):not(.textbook-access__cta--secondary):hover,
  .textbook-access__cta:not(.textbook-access__cta--owned):not(.textbook-access__cta--secondary):focus,
  .textbook-access__cta:not(.textbook-access__cta--owned):not(.textbook-access__cta--secondary):active,
  .textbook-access__cta:not(.textbook-access__cta--owned):not(.textbook-access__cta--secondary):visited:hover,
  .textbook-access__cta:not(.textbook-access__cta--owned):not(.textbook-access__cta--secondary):visited:focus,
  .textbook-access__cta:not(.textbook-access__cta--owned):not(.textbook-access__cta--secondary):visited:active {
    background: #102642;
  }

  .textbook-access__owned-link:hover,
  .textbook-access__owned-link:focus,
  .textbook-access__owned-link:active,
  .textbook-access__owned-link:visited:hover,
  .textbook-access__owned-link:visited:focus,
  .textbook-access__owned-link:visited:active,
  .textbook-auth-shell__button:not(.textbook-auth-shell__button--secondary):is(:hover, :focus, :active) {
    background: #102642;
    color: #f8fafc;
  }

  .textbook-access__cta--owned:is(:hover, :focus, :active) {
    border-color: #b8ccf2;
    background: #dce7fb;
    color: #173f84;
  }

  .textbook-access__cta--secondary:is(:hover, :focus, :active) {
    border-color: #b8c5db;
    background: #f8fafc;
  }
}

@media (max-width: 767px) {
  .textbook-chapter-overview {
    margin-top: 3rem;
  }

  .textbook-chapter-overview__availability {
    font-size: 0.9375rem;
  }

  .textbook-chapter-overview__themes {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
  }

  .textbook-chapter-overview__theme {
    display: block;
  }

  .textbook-chapter-overview__theme-icon {
    margin: 0.25rem 0 0.75rem;
  }

  .textbook-chapter-overview__theme h3 {
    font-size: 1.25rem;
  }

  .textbook-chapter-overview__theme p {
    max-width: none;
    margin-top: 0.5rem;
  }

  .textbook-chapter-overview__chapters {
    margin-top: 2rem;
  }

  .textbook-chapter-overview__chapters > summary {
    min-height: 3.75rem;
    font-size: 1.125rem;
  }

  .textbook-future-material {
    margin-top: 2.5rem;
  }

  .textbook-access {
    margin-top: 2.5rem;
  }

  .textbook-chapter-overview__timeline {
    margin-top: 0.75rem;
    padding-bottom: 0.75rem;
  }

  .textbook-chapter-overview__timeline::before {
    top: 0.85625rem;
    bottom: 1rem;
    left: 1rem;
  }

  .textbook-chapter-overview__item {
    grid-template-columns: 2rem minmax(0, 1fr);
    column-gap: 1rem;
  }

  .textbook-chapter-overview__number {
    width: 2rem;
    height: 2rem;
    font-size: 0.75rem;
    margin-top: -0.14375rem;
  }

  .textbook-chapter-overview__number::after {
    width: 0.75rem;
  }

  .textbook-chapter-overview__content {
    padding-bottom: 1rem;
  }

  .textbook-chapter-overview__item:not(:first-child) .textbook-chapter-overview__content {
    padding-top: 1rem;
  }

  .textbook-chapter-overview__item:not(:first-child) .textbook-chapter-overview__number {
    margin-top: 0.85625rem;
  }

  .textbook-chapter-overview__chapters-close:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 0.2rem;
  }

  .textbook-site-header__inner {
    display: flex;
    justify-content: space-between;
    max-width: 100%;
    width: 100%;
    padding: 0.9rem 1rem;
  }

  .textbook-site-header__brand-full {
    display: none;
  }

  .textbook-site-header__brand-short {
    display: inline;
  }

  .textbook-site-navigation-toggle {
    display: inline-flex;
    flex: 0 0 auto;
  }

  .textbook-site-header__nav {
    display: none;
  }

  .textbook-site-header__actions {
    gap: 0.6rem;
    flex-shrink: 0;
    margin-left: auto;
  }

  .textbook-site-header__signin {
    font-size: 0.9rem;
  }

  .textbook-site-header__cta {
    min-height: 2.7rem;
    padding: 0.7rem 1.05rem;
    font-size: 0.92rem;
  }

  .textbook-site-header__cta--preview-contents {
    min-width: 2.9rem;
    padding-inline: 0.7rem;
  }

  .textbook-site-header__cta--desktop-home {
    display: none;
  }

  .textbook-site-header__cta--mobile-contents {
    display: inline-flex;
  }

  .textbook-access-required-notice {
    top: 4.15rem;
    left: auto;
    right: 1rem;
    width: max-content;
    max-width: calc(100vw - 2rem);
    font-size: 0.64rem;
    line-height: 1.15;
    padding: 0.42rem 0.5rem;
    white-space: nowrap;
    animation-duration: 5s;
  }

  .textbook-access-required-notice::before {
    right: 1.75rem;
  }

  .textbook-auth-shell__notice {
    grid-template-columns: minmax(0, 1fr);
  }

  .textbook-auth-shell__notice-icon {
    display: none;
  }

  .textbook-offer__benefits {
    gap: 0.6rem;
    font-size: 0.98rem;
  }

  .textbook-offer__purchase {
    margin-top: 1.4rem;
  }

  .textbook-offer__purchase-row {
    align-items: flex-start;
  }

  .textbook-offer__price {
    font-size: clamp(3.6rem, 16vw, 4.6rem);
  }

  .textbook-offer__actions,
  .textbook-access__button-row {
    width: 100%;
  }

  .textbook-offer__button,
  .textbook-access__cta {
    width: 100%;
  }
}

/*
 * Named UI typography roles
 *
 * The active CSS has a maintained legacy tail, so these declarations live here
 * as well as in static/src/styles.css. Do not replace this file with a direct
 * Tailwind build; see docs/FRONTEND_SETUP.md.
 */
.ui-public-page-title,
.ui-app-page-title,
.ui-compact-task-title {
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.ui-public-page-title,
.ui-app-page-title {
  font-size: 1.875rem;
}

.ui-compact-task-title {
  font-size: 1.75rem;
}

.ui-public-section-title {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.ui-app-section-title {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.25;
}

.ui-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
}

.ui-compact-card-title {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.3;
}

.ui-form-label {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
}

.ui-form-input {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.4;
}

.ui-button {
  min-height: 2.5rem;
  border-radius: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.25;
}

.ui-compact-button {
  min-height: 2.5rem;
  border-radius: 0.625rem;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.25;
}

.ui-navigation {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
}

.ui-supporting-text {
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.5;
}

.ui-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

@media (min-width: 640px) {
  .ui-public-page-title { font-size: 2.25rem; }
  .ui-app-page-title { font-size: 2rem; }
  .ui-compact-task-title { font-size: 1.875rem; }
  .ui-public-section-title { font-size: 1.75rem; }
}

.prose .ui-app-page-title {
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.prose .ui-app-section-title {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.25;
}

@media (min-width: 640px) {
  .prose .ui-app-page-title { font-size: 2rem; }
}

@media (min-width: 1024px) {
  .textbook-offer__purchase-row--owned {
    padding-top: 1.8rem;
  }
}

.textbook-not-found-page {
  padding: 6.25rem 0 5rem;
}

@media (min-width: 640px) {
  .textbook-not-found-page {
    padding: 8.25rem 0 7rem;
  }
}

/* Keep agreement controls separate from full-width authentication text fields. */
.textbook-auth-shell__agreement {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.textbook-auth-shell__form .textbook-auth-shell__agreement input[type="checkbox"] {
  appearance: auto;
  width: 1rem;
  height: 1rem;
  flex: 0 0 1rem;
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: initial;
  accent-color: #173156;
  box-shadow: none;
}

.textbook-auth-shell__form .textbook-auth-shell__agreement input[type="checkbox"]:focus-visible {
  outline: 2px solid #173156;
  outline-offset: 3px;
}

.textbook-auth-shell__agreement a {
  color: #173156;
  font-weight: 600;
  text-decoration: none;
}

.textbook-auth-shell__agreement a:hover {
  text-decoration: underline;
}

.textbook-auth-shell__register-button:disabled,
.textbook-auth-shell__register-button:disabled:hover,
.textbook-auth-shell__register-button:disabled:active {
  background: #DCE2E9;
  color: #7B8796;
  border-color: transparent;
  box-shadow: none;
}

/* Contact business details remain visible below either the form or email fallback. */
.textbook-contact-business {
  margin-top: 2.5rem;
  text-align: center;
  color: #475569;
  font-size: 0.875rem;
  line-height: 1.65;
}

.textbook-contact-business--after-form {
  margin-top: 52px;
}

.textbook-contact-business h2 {
  margin: 0 0 6px;
  color: #10233f;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
}

.textbook-contact-business address {
  margin: 0;
  font-style: normal;
}
