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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

b,
strong {
  font-weight: bolder;
}

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

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

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

small {
  font-size: 80%;
}

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

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

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

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

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

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

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

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

button,
select {
  text-transform: none;
}

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

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

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

:-moz-focusring {
  outline: auto;
}

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

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

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

progress {
  vertical-align: baseline;
}

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

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

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

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

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

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

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

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

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

summary {
  display: list-item;
}

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

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

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

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

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

/*
Prevent resizing textareas horizontally by default.
*/

textarea {
  resize: vertical;
}

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

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

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

/*
Set the default cursor for buttons.
*/

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

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

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

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

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

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

/* Make elements with the HTML hidden attribute stay hidden by default */
[hidden]:where(:not([hidden="until-found"])) {
  display: none;
}

.container {
  width: 100%;
}

@media (min-width: 640px) {

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

@media (min-width: 768px) {

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

@media (min-width: 1024px) {

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

@media (min-width: 1280px) {

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

@media (min-width: 1536px) {

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

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

.visible {
  visibility: visible;
}

.collapse {
  visibility: collapse;
}

.static {
  position: static;
}

.fixed {
  position: fixed;
}

.absolute {
  position: absolute;
}

.relative {
  position: relative;
}

.sticky {
  position: sticky;
}

.inset-0 {
  inset: 0px;
}

.left-0 {
  left: 0px;
}

.right-0 {
  right: 0px;
}

.top-0 {
  top: 0px;
}

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

.m-0 {
  margin: 0px;
}

.m-10 {
  margin: 2.5rem;
}

.m-12 {
  margin: 3rem;
}

.m-4 {
  margin: 1rem;
}

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

.\!my-0 {
  margin-top: 0px !important;
  margin-bottom: 0px !important;
}

.mx-2 {
  margin-left: 0.5rem;
  margin-right: 0.5rem;
}

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

.my-10 {
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
}

.my-8 {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.\!mb-0 {
  margin-bottom: 0px !important;
}

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

.mb-0 {
  margin-bottom: 0px;
}

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

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

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

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

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

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

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

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

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

.mr-24 {
  margin-right: 6rem;
}

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

.mr-4 {
  margin-right: 1rem;
}

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

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

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

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

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

.mt-5 {
  margin-top: 1.25rem;
}

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

.\!grid {
  display: grid !important;
}

.grid {
  display: grid;
}

.contents {
  display: contents;
}

.hidden {
  display: none;
}

.aspect-square {
  aspect-ratio: 1 / 1;
}

.h-10 {
  height: 2.5rem;
}

.h-12 {
  height: 3rem;
}

.h-20 {
  height: 5rem;
}

.h-64 {
  height: 16rem;
}

.h-auto {
  height: auto;
}

.h-full {
  height: 100%;
}

.min-h-28 {
  min-height: 7rem;
}

.min-h-32 {
  min-height: 8rem;
}

.w-12 {
  width: 3rem;
}

.w-28 {
  width: 7rem;
}

.w-full {
  width: 100%;
}

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

.min-w-64 {
  min-width: 16rem;
}

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

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

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

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

.min-w-full {
  min-width: 100%;
}

.min-w-max {
  min-width: -moz-max-content;
  min-width: max-content;
}

.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-7xl {
  max-width: 80rem;
}

.max-w-xl {
  max-width: 36rem;
}

.max-w-xs {
  max-width: 20rem;
}

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

.flex-auto {
  flex: 1 1 auto;
}

.flex-none {
  flex: none;
}

.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-not-allowed {
  cursor: not-allowed;
}

.cursor-pointer {
  cursor: pointer;
}

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

.resize {
  resize: both;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

.gap-1 {
  gap: 0.25rem;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-3 {
  gap: 0.75rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-5 {
  gap: 1.25rem;
}

.gap-8 {
  gap: 2rem;
}

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

.divide-y > :not([hidden]) ~ :not([hidden]) {
  --tw-divide-y-reverse: 0;
  border-top-width: calc(1px * calc(1 - var(--tw-divide-y-reverse)));
  border-bottom-width: calc(1px * var(--tw-divide-y-reverse));
}

.divide-gray-100 > :not([hidden]) ~ :not([hidden]) {
  --tw-divide-opacity: 1;
  border-color: rgb(243 244 246 / var(--tw-divide-opacity, 1));
}

.divide-gray-200 > :not([hidden]) ~ :not([hidden]) {
  --tw-divide-opacity: 1;
  border-color: rgb(229 231 235 / var(--tw-divide-opacity, 1));
}

.divide-gray-300 > :not([hidden]) ~ :not([hidden]) {
  --tw-divide-opacity: 1;
  border-color: rgb(209 213 219 / var(--tw-divide-opacity, 1));
}

.overflow-hidden {
  overflow: hidden;
}

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

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

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

.whitespace-pre-wrap {
  white-space: pre-wrap;
}

.break-all {
  word-break: break-all;
}

.rounded {
  border-radius: 0.25rem;
}

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

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

.border {
  border-width: 1px;
}

.border-0 {
  border-width: 0px;
}

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

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

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

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

.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-red-100 {
  --tw-border-opacity: 1;
  border-color: rgb(254 226 226 / var(--tw-border-opacity, 1));
}

.border-red-200 {
  --tw-border-opacity: 1;
  border-color: rgb(254 202 202 / 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\/25 {
  background-color: rgb(0 0 0 / 0.25);
}

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

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

.bg-blue-500 {
  --tw-bg-opacity: 1;
  background-color: rgb(59 130 246 / 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-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1));
}

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

.bg-green-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(220 252 231 / var(--tw-bg-opacity, 1));
}

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

.bg-red-600 {
  --tw-bg-opacity: 1;
  background-color: rgb(220 38 38 / 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));
}

.bg-white\/40 {
  background-color: rgb(255 255 255 / 0.4);
}

.bg-white\/60 {
  background-color: rgb(255 255 255 / 0.6);
}

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

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

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

.p-0 {
  padding: 0px;
}

.p-4 {
  padding: 1rem;
}

.p-5 {
  padding: 1.25rem;
}

.p-6 {
  padding: 1.5rem;
}

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

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

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

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

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

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

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

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

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

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

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

.py-5 {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

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

.pb-10 {
  padding-bottom: 2.5rem;
}

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

.pb-24 {
  padding-bottom: 6rem;
}

.pl-4 {
  padding-left: 1rem;
}

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

.pr-4 {
  padding-right: 1rem;
}

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

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

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

.pt-6 {
  padding-top: 1.5rem;
}

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

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

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

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

.font-serif {
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
}

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

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

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

.text-5xl {
  font-size: 3rem;
  line-height: 1;
}

.text-6xl {
  font-size: 3.75rem;
  line-height: 1;
}

.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-bold {
  font-weight: 700;
}

.font-medium {
  font-weight: 500;
}

.font-normal {
  font-weight: 400;
}

.font-semibold {
  font-weight: 600;
}

.uppercase {
  text-transform: uppercase;
}

.capitalize {
  text-transform: capitalize;
}

.leading-none {
  line-height: 1;
}

.leading-tight {
  line-height: 1.25;
}

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

.tracking-wider {
  letter-spacing: 0.05em;
}

.text-amber-800 {
  --tw-text-opacity: 1;
  color: rgb(146 64 14 / var(--tw-text-opacity, 1));
}

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

.text-blue-500 {
  --tw-text-opacity: 1;
  color: rgb(59 130 246 / var(--tw-text-opacity, 1));
}

.text-blue-700 {
  --tw-text-opacity: 1;
  color: rgb(29 78 216 / var(--tw-text-opacity, 1));
}

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

.text-current {
  color: currentColor;
}

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

.text-gray-400 {
  --tw-text-opacity: 1;
  color: rgb(156 163 175 / 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-800 {
  --tw-text-opacity: 1;
  color: rgb(31 41 55 / var(--tw-text-opacity, 1));
}

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

.text-green-400 {
  --tw-text-opacity: 1;
  color: rgb(74 222 128 / var(--tw-text-opacity, 1));
}

.text-green-800 {
  --tw-text-opacity: 1;
  color: rgb(22 101 52 / var(--tw-text-opacity, 1));
}

.text-red-400 {
  --tw-text-opacity: 1;
  color: rgb(248 113 113 / var(--tw-text-opacity, 1));
}

.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-red-800 {
  --tw-text-opacity: 1;
  color: rgb(153 27 27 / var(--tw-text-opacity, 1));
}

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

.text-yellow-800 {
  --tw-text-opacity: 1;
  color: rgb(133 77 14 / var(--tw-text-opacity, 1));
}

.no-underline {
  -webkit-text-decoration-line: none;
          text-decoration-line: none;
}

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

.opacity-50 {
  opacity: 0.5;
}

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

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

/* ==========================================================================
   Infrastructure: App Shell Layout

   This block owns the global page chrome, desktop gutters, and scroll model.
   Keep these rules together and keep feature-specific page styling out of this
   section so local UI work does not reintroduce nested scroll containers.

   Desktop invariants:
   - The document owns the main vertical scroll. Do not put overflow-y or fixed
     viewport heights on #main, .app-shell, or main content wrappers.
   - The header remains sticky/fixed in place and reserves its own spacer.
   - The sidebar is fixed on desktop and only scrolls when its own contents are
     taller than the viewport.
   - #main is offset by the sidebar width plus a gutter so card shadows and
     reply depth can render without being clipped.

   Mobile drawer overrides live in the responsive section near the bottom of
   this file. They are the only expected app-shell overrides outside this block.
   ========================================================================== */

/* Layout tokens */
:root {
  --site-header-height: 5rem;
  --desktop-main-gutter: 1.5rem;
  --desktop-shell-left-gutter: 10px;
  --desktop-sidebar-top: 3rem;
  --sticky-banner-height: 4.25rem;
  --sticky-banner-offset: 0px;
  --desktop-sidebar-width: 15rem;
  --desktop-sidebar-width-wide: 18rem;
  --nested-content-max-width: 92rem;
  --nested-reply-shadow:
    0 18px 42px rgba(15, 23, 42, 0.16),
    0 8px 18px rgba(15, 23, 42, 0.14),
    0 3px 6px rgba(15, 23, 42, 0.1);
  --post-surface-radius: 6px;
  --post-surface-shadow: var(--theme-shadow, var(--nested-reply-shadow));
  --post-media-frame-ratio: 4 / 3;
}

/* Document scroll contract */
html,
body {
  max-width: 100%;
}

html {
  overflow-x: hidden;
  overflow-y: scroll;
  scroll-padding-top: var(--site-header-height);
  scrollbar-gutter: stable;
}

body {
  overflow-x: clip;
}

html[dir="rtl"] body {
  text-align: start;
}

html[dir="rtl"] input,
html[dir="rtl"] select,
html[dir="rtl"] textarea,
html[dir="rtl"] .form-text-input {
  text-align: start;
}

html[lang="th"] body {
  line-height: 1.65;
}

html[lang="th"] button,
html[lang="th"] input,
html[lang="th"] select,
html[lang="th"] textarea,
html[lang="th"] .form-text-input {
  line-height: 1.55;
}

html[lang="th"] .section-eyebrow,
html[lang="th"] .site-brand,
html[lang="th"] .mobile-nav-toggle {
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.app-shell {
  min-height: calc(100vh - var(--site-header-height));
}

.site-header {
  min-height: var(--site-header-height);
}

.site-header-spacer {
  height: var(--site-header-height);
}

/* Sidebar scroll contract */
#navWrapper {
  height: 100%;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* Desktop shell geometry */
@media (min-width: 1024px) {
  .app-shell-container {
    margin-left: var(--desktop-shell-left-gutter) !important;
    margin-right: 1rem !important;
    max-width: none !important;
    width: auto !important;
  }

  #sidebar {
    background: #fff !important;
    bottom: 0 !important;
    display: block !important;
    height: auto !important;
    left: var(--desktop-shell-left-gutter) !important;
    max-height: none !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior-y: contain;
    padding-top: 0 !important;
    position: fixed !important;
    right: auto !important;
    top: var(--desktop-sidebar-top) !important;
    width: var(--desktop-sidebar-width);
  }

  #navWrapper {
    background: transparent !important;
    height: auto !important;
    margin-right: 0 !important;
    max-width: none !important;
    overflow: visible !important;
  }

  #main {
    margin-left: calc(var(--desktop-sidebar-width) + 3px);
    padding-bottom: 3rem;
  }

  html[dir="rtl"] .app-shell-container {
    margin-left: 1rem !important;
    margin-right: var(--desktop-shell-left-gutter) !important;
  }

  html[dir="rtl"] #sidebar {
    left: auto !important;
    right: var(--desktop-shell-left-gutter) !important;
  }

  html[dir="rtl"] #main {
    margin-left: 0;
    margin-right: calc(var(--desktop-sidebar-width) + 3px);
  }

  body.has-admin-banner {
    --sticky-banner-offset: var(--sticky-banner-height);
  }

  body.has-email-notification-prompt {
    --sticky-banner-offset: var(--sticky-banner-height);
  }

  body.has-admin-banner.has-email-notification-prompt {
    --sticky-banner-offset: calc(var(--sticky-banner-height) * 2);
  }

  body.has-admin-banner #sidebar,
  body.has-email-notification-prompt #sidebar,
  body.is-impersonating #sidebar {
    bottom: 0 !important;
    left: auto !important;
    position: fixed !important;
    right: auto !important;
    top: calc(var(--site-header-height) + var(--sticky-banner-offset)) !important;
    width: var(--desktop-sidebar-width);
  }

  body.has-admin-banner #main,
  body.has-email-notification-prompt #main,
  body.is-impersonating #main {
    margin-left: calc(var(--desktop-sidebar-width) + 3px);
  }

  html[dir="rtl"] body.has-admin-banner #sidebar,
  html[dir="rtl"] body.has-email-notification-prompt #sidebar,
  html[dir="rtl"] body.is-impersonating #sidebar {
    left: auto !important;
    right: var(--desktop-shell-left-gutter) !important;
  }

  html[dir="rtl"] body.has-admin-banner #main,
  html[dir="rtl"] body.has-email-notification-prompt #main,
  html[dir="rtl"] body.is-impersonating #main {
    margin-left: 0;
    margin-right: calc(var(--desktop-sidebar-width) + 3px);
  }
}

@media (min-width: 1280px) {
  .app-shell-container {
    margin-left: var(--desktop-shell-left-gutter) !important;
    margin-right: 1.5rem !important;
  }

  #sidebar {
    width: var(--desktop-sidebar-width-wide);
  }

  #main {
    margin-left: calc(var(--desktop-sidebar-width-wide) + 3px);
  }

  html[dir="rtl"] .app-shell-container {
    margin-left: 1.5rem !important;
    margin-right: var(--desktop-shell-left-gutter) !important;
  }

  html[dir="rtl"] #main {
    margin-left: 0;
    margin-right: calc(var(--desktop-sidebar-width-wide) + 3px);
  }

  body.has-admin-banner #sidebar,
  body.has-email-notification-prompt #sidebar,
  body.is-impersonating #sidebar {
    width: var(--desktop-sidebar-width-wide);
  }

  body.has-admin-banner #main,
  body.has-email-notification-prompt #main,
  body.is-impersonating #main {
    margin-left: calc(var(--desktop-sidebar-width-wide) + 3px);
  }

  html[dir="rtl"] body.has-admin-banner #main,
  html[dir="rtl"] body.has-email-notification-prompt #main,
  html[dir="rtl"] body.is-impersonating #main {
    margin-left: 0;
    margin-right: calc(var(--desktop-sidebar-width-wide) + 3px);
  }
}

/* Header brand chrome */

.site-brand {
  min-width: 0;
  overflow-wrap: anywhere;
}

.site-brand-mark {
  align-items: center;
  border: 0;
  box-shadow: none;
  display: inline-flex;
  gap: 0.2em;
  max-width: 100%;
  min-width: 0;
  outline: 0;
  text-decoration: none;
}

.site-brand-mark:hover,
.site-brand-mark:focus,
.site-brand-mark:focus-visible {
  border: 0;
  box-shadow: none;
  outline: 0;
  text-decoration: none;
}

.site-logo {
  flex: 0 0 auto;
  height: 0.8em;
  -o-object-fit: contain;
     object-fit: contain;
  width: 0.8em;
}

.site-logo--dark {
  display: none;
}

.site-brand-mark span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.mobile-nav-toggle {
  align-items: center;
  border: 1px solid #bfdbfe;
  border-radius: 6px;
  color: #1f8dd6;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 0.9rem;
  font-weight: 600;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0.45rem 0.75rem;
}

/* End infrastructure: App Shell Layout
   Feature and product-surface CSS starts below. */

.responsive-page {
  margin: 3rem;
}

.form-submit {
  border-radius: 0.25rem;
  --tw-bg-opacity: 1;
  background-color: rgb(59 130 246 / var(--tw-bg-opacity, 1));
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  padding-left: 1rem;
  padding-right: 1rem;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

.form-submit:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(29 78 216 / var(--tw-bg-opacity, 1));
}

.form-submit {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
  min-width: 8rem;
  overflow-wrap: anywhere;
  text-align: center;
  white-space: normal;
}

.form-submit:disabled {
  background-color: #9ca3af;
  color: #f3f4f6;
  cursor: not-allowed;
  pointer-events: none;
  -moz-user-select: none;
       user-select: none;
  -webkit-user-select: none;
}

.form-actions {
  width: 100%;
  margin-top: 1rem;
}

.post-destination-choices {
  border: 0;
  display: grid;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
}

.post-destination-choices .form-label {
  margin-bottom: 0.15rem;
}

.post-destination-choice {
  align-items: center;
  background: var(--theme-surface-muted);
  border: 1px solid var(--theme-border);
  border-radius: 6px;
  color: var(--theme-text);
  cursor: pointer;
  display: flex;
  gap: 0.65rem;
  margin-left: calc(var(--destination-depth, 0) * 1.25rem);
  min-height: 3rem;
  padding: 0.65rem 0.75rem;
}

.post-destination-node {
  display: grid;
  gap: 0.4rem;
}

.post-destination-children {
  display: grid;
  gap: 0.45rem;
}

.post-destination-children__summary {
  align-items: center;
  color: var(--theme-link);
  cursor: pointer;
  display: flex;
  gap: 0.35rem;
  line-height: 1.25;
  margin-left: calc((var(--destination-depth, 0) + 1) * 1.25rem);
  width: -moz-max-content;
  width: max-content;
}

.post-destination-children__summary::-webkit-details-marker {
  display: none;
}

.post-destination-children__summary::marker {
  content: "";
}

.post-destination-children__icon::before {
  content: "▸";
}

.post-destination-children[open] > .post-destination-children__summary .post-destination-children__icon::before {
  content: "▾";
}

.post-destination-children__items {
  display: grid;
  gap: 0.55rem;
}

.post-destination-choice:hover {
  border-color: var(--theme-link);
}

.post-destination-choice--selected {
  background: var(--theme-accent-soft);
  border-color: var(--theme-link);
  box-shadow: inset 3px 0 0 var(--theme-link);
}

.post-destination-choice input {
  flex: 0 0 auto;
}

.post-destination-choice__body {
  display: grid;
  gap: 0.15rem;
}

.post-destination-choice__name {
  color: var(--theme-text-strong);
  font-weight: 700;
}

.post-destination-choice__context {
  color: var(--theme-text-soft);
  font-size: 0.85rem;
  line-height: 1.3;
}

.post-destination-empty {
  background: var(--theme-surface-muted);
  border: 1px solid var(--theme-border);
  border-radius: 6px;
  color: var(--theme-text-muted);
  display: grid;
  gap: 0.25rem;
  padding: 0.85rem;
}

.post-destination-empty strong {
  color: var(--theme-text-strong);
}

.post-compose-destination-layout {
  align-items: start;
  display: grid;
  gap: 1.25rem;
  margin: 0 auto;
  max-width: 72rem;
  width: 100%;
}

.post-compose-panel {
  min-width: 0;
}

.post-destination-panel {
  background: var(--theme-surface);
  border: 1px solid var(--theme-border);
  border-radius: 8px;
  box-shadow: var(--theme-shadow);
  min-width: 0;
  padding: 1rem;
}

.post-destination-form {
  display: grid;
  gap: 1rem;
}

.post-destination-panel__header {
  display: grid;
  gap: 0.4rem;
}

.post-destination-panel__header h2 {
  color: var(--theme-text-strong);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.2;
  margin: 0;
  overflow-wrap: anywhere;
}

.post-destination-panel__header p {
  color: var(--theme-text-muted);
  font-size: 0.9rem;
  line-height: 1.4;
  margin: 0;
}

.post-compose-panel .post-form-card {
  max-width: none;
}

.post-compose-panel .post-form {
  margin: 0;
}

@media (min-width: 1024px) {
  .post-compose-destination-layout {
    grid-template-columns: minmax(0, 1fr) minmax(20rem, 28rem);
  }

  .post-destination-panel {
    max-height: calc(100vh - 2rem);
    overflow: auto;
    position: sticky;
    top: 1rem;
  }
}

@media (max-width: 767px) {
  .post-destination-choice {
    margin-left: calc(var(--destination-depth, 0) * 0.75rem);
    min-height: 3.25rem;
  }

  .post-destination-children__summary {
    margin-left: calc((var(--destination-depth, 0) + 1) * 0.75rem);
  }
}

.welcome-interest-tree {
  display: grid;
  gap: 0.5rem;
}

.selectable-interest-picker {
  display: grid;
  gap: 1rem;
}

.selectable-interest-picker__header {
  align-items: flex-start;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.selectable-interest-picker__intro {
  display: grid;
  gap: 0.5rem;
}

.selectable-interest-picker__title {
  margin: 0;
}

.selectable-interest-picker__required {
  background: #fee2e2;
  border-radius: 0.25rem;
  color: #b91c1c;
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  width: -moz-max-content;
  width: max-content;
}

.selectable-interest-picker__actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
}

.selectable-interest-picker__bulk-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.welcome-profile-actions .form-submit {
  margin-left: 0;
  margin-right: 0;
}

.welcome-flow {
  display: grid;
  gap: 1rem;
}

.welcome-flow-step {
  background: var(--theme-surface);
  border: 1px solid var(--theme-border);
  border-radius: 8px;
  box-shadow: var(--theme-shadow);
  padding: 1.15rem;
}

.welcome-flow-step--interests {
  background: color-mix(in srgb, var(--theme-surface) 86%, var(--theme-accent-soft) 14%);
}

.welcome-flow-step--finish {
  align-items: start;
  display: grid;
  gap: 1.15rem;
  grid-template-columns: 1fr;
}

.welcome-flow-step--finish .welcome-flow-step__header {
  margin-bottom: 0;
}

.welcome-flow-step__header {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.welcome-flow-step__header h3 {
  color: var(--theme-text);
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0;
}

.welcome-flow-step__header p:not(.section-eyebrow) {
  color: var(--theme-text-soft);
  margin: 0;
}

.welcome-invitation-context {
  background: color-mix(in srgb, var(--theme-surface) 84%, var(--theme-accent-soft) 16%);
  border: 1px solid var(--theme-border);
  border-radius: 8px;
  box-shadow: var(--theme-shadow);
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 1.15rem;
}

.welcome-invitation-context h3 {
  color: var(--theme-text);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0.2rem 0 0;
}

.welcome-invitation-context__items {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.welcome-invitation-context__items p {
  background: var(--theme-surface);
  border: 1px solid var(--theme-border);
  border-radius: 8px;
  display: grid;
  gap: 0.25rem;
  margin: 0;
  padding: 0.85rem;
}

.welcome-invitation-context__items span {
  color: var(--theme-text-soft);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
}

.welcome-invitation-context__message {
  border-left: 3px solid var(--theme-link);
  color: var(--theme-text);
  line-height: 1.5;
  margin: 0;
  padding-left: 0.9rem;
}

.welcome-flow-fields {
  display: grid;
  gap: 0.25rem;
  max-width: 24rem;
}

.welcome-finish-options {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 2fr) minmax(16rem, 1fr);
}

.welcome-appearance-choice {
  background: var(--theme-surface-muted);
  border: 1px solid var(--theme-border);
  border-radius: 8px;
  padding: 0.85rem 1rem;
}

.welcome-appearance-choice__options {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.welcome-appearance-choice__options label {
  align-items: flex-start;
  background: var(--theme-surface);
  border: 1px solid var(--theme-border);
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  gap: 0.65rem;
  padding: 0.8rem;
}

.welcome-appearance-choice__options input {
  flex: 0 0 auto;
  margin-top: 0.25rem;
}

.welcome-appearance-choice__options span span:first-child {
  color: var(--theme-text);
  display: block;
  font-weight: 700;
}

.welcome-appearance-choice__options span span:last-child {
  color: var(--theme-text-soft);
  display: block;
  font-size: 0.9rem;
  line-height: 1.4;
  margin-top: 0.15rem;
}

.welcome-privacy-choice {
  background: var(--theme-surface-muted);
  border: 1px solid var(--theme-border);
  border-radius: 8px;
  display: grid;
  align-content: center;
  padding: 0.85rem 1rem;
}

.welcome-profile-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1rem;
  justify-content: flex-end;
  margin-top: 0;
}

.welcome-profile-actions p {
  color: var(--theme-text-soft);
  flex: 1 1 20rem;
  margin: 0;
  text-align: right;
}

.welcome-starter-picker {
  gap: 1.15rem;
}

.welcome-starter-picker .selectable-interest-picker__header {
  background: color-mix(in srgb, var(--theme-accent-soft) 42%, transparent);
  border: 1px solid var(--theme-border);
  border-radius: 8px;
  padding: 1rem;
}

.welcome-starter-picker__hint {
  color: var(--theme-text-soft);
  font-size: 0.95rem;
  line-height: 1.45;
  margin: -0.35rem 0 0;
}

.welcome-starter-picker .welcome-interest-tree {
  align-items: start;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.welcome-interest-node {
  border-left: 1px solid var(--theme-border);
  padding-left: 0.75rem;
}

.welcome-interest-node--depth-0 {
  border-left: 0;
  padding-left: 0;
}

.welcome-starter-picker .welcome-interest-node--depth-0 {
  background: var(--theme-surface);
  border: 1px solid var(--theme-border);
  border-radius: 8px;
  box-shadow: var(--theme-shadow);
  overflow: hidden;
  padding: 0;
}

.welcome-interest-option {
  align-items: center;
  background: var(--theme-surface-muted);
  border: 1px solid var(--theme-border);
  border-radius: 6px;
  display: flex;
  min-height: 2.25rem;
  padding: 0.4rem 0.6rem;
}

.welcome-starter-picker .welcome-interest-node--depth-0 > .welcome-interest-option {
  border: 0;
  border-radius: 0;
  min-height: 4.25rem;
  padding: 0.85rem 0.9rem;
}

.welcome-interest-option:has(.welcome-interest-option__checkbox:checked) {
  background: var(--theme-accent-soft);
  border-color: var(--theme-link);
  box-shadow: inset 3px 0 0 var(--theme-link);
}

.welcome-interest-option__label {
  align-items: center;
  color: var(--theme-text);
  display: inline-flex;
  gap: 0.55rem;
  line-height: 1.35;
  margin: 0;
}

.welcome-interest-option__checkbox {
  flex: 0 0 auto;
}

.welcome-interest-option__name {
  color: var(--theme-text);
}

.welcome-starter-picker .welcome-interest-node--depth-0 > .welcome-interest-option .welcome-interest-option__name {
  font-weight: 700;
}

.welcome-interest-children {
  margin: 0.35rem 0 0.2rem 0.75rem;
}

.welcome-starter-picker .welcome-interest-node--depth-0 > .welcome-interest-children {
  border-top: 1px solid var(--theme-border);
  margin: 0;
}

.welcome-interest-children__summary {
  color: var(--theme-link);
  cursor: pointer;
  font-size: 0.875rem;
  line-height: 1.35;
  padding: 0.15rem 0;
}

.welcome-starter-picker .welcome-interest-node--depth-0 > .welcome-interest-children > .welcome-interest-children__summary {
  background: var(--theme-surface-muted);
  padding: 0.55rem 0.9rem;
}

.welcome-interest-children__summary:hover {
  color: var(--theme-link-hover);
}

.welcome-interest-children[open] > .welcome-interest-children__summary {
  color: var(--theme-link-hover);
}

.welcome-interest-children__list {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.35rem;
}

.welcome-starter-picker .welcome-interest-node--depth-0 > .welcome-interest-children > .welcome-interest-children__list {
  padding: 0.75rem 0.85rem 0.85rem;
}

@media (min-width: 1024px) {
  .welcome-appearance-choice__options {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .welcome-interest-tree {
    gap: 0.4rem;
  }

  .welcome-flow-step {
    padding: 1rem;
  }

  .welcome-flow-step--finish {
    grid-template-columns: 1fr;
  }

  .welcome-finish-options {
    grid-template-columns: 1fr;
  }

  .welcome-profile-actions {
    align-items: stretch;
    display: grid;
    justify-content: stretch;
  }

  .welcome-profile-actions p {
    text-align: left;
  }

  .welcome-profile-actions .form-submit {
    width: 100%;
  }

  .welcome-invitation-context__items {
    grid-template-columns: 1fr;
  }

  .welcome-starter-picker .welcome-interest-tree {
    grid-template-columns: 1fr;
  }

  .selectable-interest-picker__header {
    display: grid;
  }

  .selectable-interest-picker__actions {
    align-items: flex-start;
    display: grid;
    justify-content: stretch;
  }

  .selectable-interest-picker__actions .form-submit {
    width: 100%;
  }

  .welcome-interest-node {
    padding-left: 0.55rem;
  }

  .welcome-interest-node--depth-0 {
    padding-left: 0;
  }

  .welcome-interest-option {
    min-height: 2.75rem;
    padding: 0.5rem 0.6rem;
  }

  .welcome-interest-children {
    margin-left: 0.55rem;
  }
}

.button-secondary {
  align-items: center;
  border: 1px solid #3f7fe6;
  border-radius: 6px;
  color: #2563eb;
  display: inline-flex;
  font-weight: 600;
  justify-content: center;
  max-width: 100%;
  min-height: 2.5rem;
  min-width: 0;
  overflow-wrap: anywhere;
  padding: 0.5rem 1rem;
  text-align: center;
  white-space: normal;
}

.button-secondary:hover {
  border-color: #1d4ed8;
  color: #1d4ed8;
}

.session-login-page {
  margin: clamp(1.75rem, 4vw, 3rem) auto;
  max-width: 72rem;
  padding: 0 1rem 3rem;
}

.session-login-layout {
  align-items: start;
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
}

.session-login-form-panel {
  max-width: 30rem;
  width: 100%;
}

.session-login-form {
  max-width: none;
  width: 100%;
}

.session-login-fields {
  display: grid;
  gap: 0.85rem;
}

.session-login-fields .form-text-input {
  min-height: 2.75rem;
  width: 100%;
}

.session-login-actions {
  display: grid;
  gap: 0.75rem;
  justify-items: stretch;
  margin-top: 1.15rem;
}

.session-login-actions .form-submit {
  margin: 0;
  width: 100%;
}

.session-login-actions .form-secondary-action {
  text-align: center;
}

.session-login-forgot {
  font-size: 0.875rem;
  margin-top: 1rem;
  text-align: center;
}

.session-login-copy {
  border-top: 1px solid var(--theme-border);
  max-width: 32rem;
  padding-top: 1.5rem;
}

.session-login-copy h2 {
  color: var(--theme-text-muted);
  font-size: 1.05rem;
  line-height: 1.55;
  margin-bottom: 1.35rem;
}

.session-login-copy h3 {
  color: var(--theme-text-muted);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.65rem;
}

.session-login-copy ul {
  color: var(--theme-text-muted);
  list-style: disc;
  padding-left: 1.25rem;
}

.session-login-copy li+li {
  margin-top: 0.45rem;
}

@media (min-width: 768px) {
  .session-login-layout {
    grid-template-columns: minmax(0, 26rem) minmax(0, 1fr);
  }

  .session-login-copy {
    border-left: 1px solid var(--theme-border);
    border-top: 0;
    padding-left: clamp(2rem, 4vw, 3rem);
    padding-top: 0;
  }
}

.session-auth-preview-card {
  background: var(--theme-surface);
  border: 1px solid var(--theme-border);
  border-radius: 6px;
  box-shadow: var(--theme-shadow);
  padding: 1.25rem;
}

.session-auth-preview-heading {
  margin-bottom: 1.25rem;
}

.session-auth-preview-heading p:first-child {
  color: var(--theme-link);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.session-auth-preview-heading h2 {
  color: var(--theme-text-strong);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
  margin-top: 0.5rem;
}

.session-auth-preview-heading p:last-child {
  color: var(--theme-text-muted);
  margin-top: 0.5rem;
}

.session-auth-preview-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
}

.session-auth-preview-card__title a,
.session-auth-preview-card__post-title {
  color: var(--theme-text-strong);
}

.session-auth-preview-card__title a:hover,
.session-auth-preview-card__post-title:hover {
  color: var(--theme-link-hover);
}

.session-auth-preview-card__meta {
  color: var(--theme-text-muted);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.session-auth-preview-card__meta span {
  color: var(--theme-border-strong);
  margin: 0 0.25rem;
}

.session-auth-preview-card__media {
  background: var(--theme-surface-muted);
  border: 1px solid var(--theme-border);
  border-radius: 6px;
  display: block;
  overflow: hidden;
  position: relative;
}

.session-auth-preview-card__post {
  border-top: 1px solid var(--theme-border);
  padding-top: 0.75rem;
}

.session-auth-preview-card__post:first-child {
  border-top: 0;
  padding-top: 0;
}

.session-auth-preview-card__post-title {
  font-weight: 700;
}

.session-auth-preview-card__post-excerpt {
  color: var(--theme-text-muted);
  font-size: 0.875rem;
  line-height: 1.5;
  margin-top: 0.25rem;
}

.session-auth-preview-card__post-meta {
  color: var(--theme-text-muted);
  font-size: 0.75rem;
  margin-top: 0.25rem;
}

.session-signup-page {
  margin: clamp(1.75rem, 4vw, 3rem) auto;
  max-width: 72rem;
  padding: 0 1rem 3rem;
}

.session-signup-layout {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
}

.session-signup-form-panel {
  max-width: 30rem;
  width: 100%;
}

.session-signup-form {
  max-width: none;
  width: 100%;
}

.session-signup-fields,
.session-signup-password-fields {
  display: grid;
  gap: 0.85rem;
}

.session-signup-fields .form-text-input,
.session-signup-password-fields .form-text-input {
  min-height: 2.75rem;
  width: 100%;
}

.session-signup-password-group {
  display: grid;
  gap: 0.9rem;
}

.session-signup-password-help {
  background: var(--theme-surface-muted);
  border: 1px solid var(--theme-border);
  border-radius: 6px;
  color: var(--theme-text-muted);
  font-size: 0.875rem;
  line-height: 1.45;
  padding: 0.8rem 0.9rem;
}

.session-signup-password-help p+p {
  margin-top: 0.35rem;
}

.session-signup-password-mismatch {
  color: #dc2626;
  font-size: 0.875rem;
  margin-top: 0.35rem;
}

.session-signup-actions {
  display: grid;
  gap: 0.75rem;
  justify-items: stretch;
  margin-top: 1.15rem;
}

.session-signup-actions .form-submit {
  margin: 0;
  width: 100%;
}

.session-signup-actions .form-secondary-action {
  text-align: center;
}

.session-signup-preview {
  border-top: 1px solid var(--theme-border);
  padding-top: 1.75rem;
}

@media (min-width: 768px) {
  .session-signup-password-group {
    grid-template-columns: minmax(0, 1fr) minmax(13rem, 18rem);
  }
}

@media (min-width: 1024px) {
  .session-signup-layout {
    grid-template-columns: minmax(0, 26rem) minmax(0, 1fr);
  }

  .session-signup-preview {
    border-left: 1px solid var(--theme-border);
    border-top: 0;
    padding-left: clamp(2rem, 4vw, 3rem);
    padding-top: 0.5rem;
  }

  .session-signup-password-group {
    grid-template-columns: minmax(0, 1fr);
  }
}

.session-reset-page {
  margin: clamp(1.75rem, 4vw, 3rem) auto;
  max-width: 30rem;
  padding: 0 1rem 3rem;
}

.session-reset-panel {
  max-width: 30rem;
  width: 100%;
}

.session-reset-form {
  max-width: none;
  width: 100%;
}

.session-reset-fields {
  display: grid;
  gap: 0.85rem;
}

.session-reset-fields .form-text-input {
  min-height: 2.75rem;
  width: 100%;
}

.session-reset-help {
  background: var(--theme-surface-muted);
  border: 1px solid var(--theme-border);
  border-radius: 6px;
  color: var(--theme-text-muted);
  font-size: 0.875rem;
  line-height: 1.45;
  margin-top: 0.9rem;
  padding: 0.8rem 0.9rem;
}

.session-reset-actions {
  display: grid;
  gap: 0.75rem;
  justify-items: stretch;
  margin-top: 1.15rem;
}

.session-reset-actions .form-submit {
  margin: 0;
  width: 100%;
}

.session-invite-page {
  margin: clamp(1.75rem, 4vw, 3rem) auto;
  max-width: 72rem;
  padding: 0 1rem 3rem;
}

.session-invite-layout {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
}

.session-invite-form-panel {
  max-width: 30rem;
  width: 100%;
}

.session-invite-byline {
  align-items: center;
  background: var(--theme-surface-muted);
  border: 1px solid var(--theme-border);
  border-radius: 6px;
  color: var(--theme-text-muted);
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding: 0.8rem 0.9rem;
}

.session-invite-byline__avatar {
  border-radius: 9999px;
  flex: 0 0 auto;
  height: 3rem;
  -o-object-fit: cover;
     object-fit: cover;
  width: 3rem;
}

.session-invite-byline p {
  font-size: 0.9rem;
  line-height: 1.45;
}

.session-invite-byline span {
  color: var(--theme-text-strong);
  font-weight: 700;
}

.session-invite-form {
  max-width: none;
  width: 100%;
}

.session-invite-fields,
.session-invite-password-fields {
  display: grid;
  gap: 0.85rem;
}

.session-invite-fields .form-text-input,
.session-invite-password-fields .form-text-input {
  min-height: 2.75rem;
  width: 100%;
}

.session-invite-password-group {
  display: grid;
  gap: 0.9rem;
}

.session-invite-password-help {
  background: var(--theme-surface-muted);
  border: 1px solid var(--theme-border);
  border-radius: 6px;
  color: var(--theme-text-muted);
  font-size: 0.875rem;
  line-height: 1.45;
  padding: 0.8rem 0.9rem;
}

.session-invite-password-help p+p {
  margin-top: 0.35rem;
}

.session-invite-password-mismatch {
  color: #dc2626;
  font-size: 0.875rem;
  margin-top: 0.35rem;
}

.session-invite-actions {
  display: grid;
  gap: 0.75rem;
  justify-items: stretch;
  margin-top: 1.15rem;
}

.session-invite-actions .form-submit {
  margin: 0;
  width: 100%;
}

.session-invite-preview {
  border-top: 1px solid var(--theme-border);
  padding-top: 1.75rem;
}

@media (min-width: 768px) {
  .session-invite-password-group {
    grid-template-columns: minmax(0, 1fr) minmax(13rem, 18rem);
  }
}

@media (min-width: 1024px) {
  .session-invite-layout {
    grid-template-columns: minmax(0, 26rem) minmax(0, 1fr);
  }

  .session-invite-preview {
    border-left: 1px solid var(--theme-border);
    border-top: 0;
    padding-left: clamp(2rem, 4vw, 3rem);
    padding-top: 0.5rem;
  }

  .session-invite-password-group {
    grid-template-columns: minmax(0, 1fr);
  }
}

.sidebar-interest-node {
  --sidebar-interest-indent: calc(1rem + (var(--sidebar-interest-depth, 0) * 0.9rem));
}

.sidebar-interest-branch {
  min-width: 0;
}

.sidebar-interest-summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  gap: 0.45rem;
  justify-content: space-between;
  list-style: none;
  min-width: 0;
  padding-bottom: 0.15rem;
  padding-left: var(--sidebar-interest-indent);
  padding-top: 0.15rem;
}

.sidebar-interest-summary::-webkit-details-marker {
  display: none;
}

.sidebar-interest-summary__main {
  align-items: center;
  display: inline-flex;
  gap: 0.4rem;
  min-width: 0;
}

.sidebar-interest-disclosure {
  align-items: center;
  color: #64748b;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 1rem;
  height: 1.15rem;
  justify-content: center;
  line-height: 1;
  width: 1.15rem;
}

.sidebar-interest-disclosure::before {
  content: "▸";
}

.sidebar-interest-branch[open] > .sidebar-interest-summary .sidebar-interest-disclosure::before {
  content: "▾";
}

.sidebar-interest-summary__link {
  min-width: 0;
}

.sidebar-interest-summary__actions {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
}

.sidebar-interest-children {
  border-left: 1px solid #dbeafe;
  margin-left: calc(var(--sidebar-interest-indent) + 0.6rem);
  margin-top: 0.2rem;
  padding-left: 0.8rem;
}

.sidebar-interest-children .sidebar-interest-row,
.sidebar-interest-children .sidebar-interest-summary {
  padding-left: 0;
}

.sidebar-interest-row {
  align-items: center;
  display: flex;
  gap: 0.45rem;
  justify-content: space-between;
  min-height: 1.85rem;
  padding-bottom: 0.15rem;
  padding-left: var(--sidebar-interest-indent);
  padding-top: 0.15rem;
}

.sidebar-interest-row.is-selected,
.sidebar-interest-summary.is-selected {
  background: #eff6ff;
  border-left: 3px solid #2563eb;
  border-radius: 0.35rem;
  color: #1e3a8a;
  font-weight: 700;
  margin-left: -0.25rem;
  padding-left: calc(var(--sidebar-interest-indent) - 0.25rem);
}

.sidebar-interest-children .sidebar-interest-row.is-selected,
.sidebar-interest-children .sidebar-interest-summary.is-selected {
  padding-left: 0.55rem;
}

.sidebar-interest-row.is-selected .sidebar-interest-link,
.sidebar-interest-summary.is-selected .sidebar-interest-link {
  color: #1d4ed8;
}

.sidebar-interest-children > .sidebar-interest-node + .sidebar-interest-node {
  border-top: 1px solid #eff6ff;
}

.sidebar-interest-link {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-interest-add {
  align-items: center;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  color: #2563eb;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 0.72rem;
  font-weight: 700;
  height: 1.45rem;
  justify-content: center;
  line-height: 1;
  padding: 0 0.45rem;
  white-space: nowrap;
}

.sidebar-interest-add:hover {
  background: #eff6ff;
  border-color: #3b82f6;
  color: #1d4ed8;
}

.sidebar-interest-join {
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  color: #2563eb;
  flex: 0 0 auto;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.25rem 0.45rem;
}

.sidebar-interest-join:hover {
  background: #eff6ff;
  border-color: #3b82f6;
  color: #1d4ed8;
}

.interest-hero {
  background: #f8fafc;
  border-bottom: 1px solid #e5e7eb;
  padding: 2.5rem 1.5rem;
}

.interest-hero__body,
.interest-hub {
  margin-left: auto;
  margin-right: auto;
  max-width: 72rem;
  width: 100%;
}

.interest-hero h1 {
  color: #1f2937;
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: 3rem;
  line-height: 1;
  margin: 0;
}

.interest-hero p {
  color: #4b5563;
  font-size: 1.125rem;
  line-height: 1.75rem;
  margin-top: 1rem;
  max-width: 42rem;
}

.interest-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.interest-hub {
  padding: 1rem 1rem 0;
}

.interest-tabs {
  align-items: center;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  gap: 1.25rem;
  margin-bottom: 2rem;
  overflow-x: auto;
  padding: 0.25rem 0 0.75rem;
}

.interest-tabs a {
  color: #2563eb;
  flex: 0 0 auto;
  font-weight: 600;
}

.interest-invite-callout {
  align-items: center;
  background: var(--theme-surface);
  border: 1px solid var(--theme-border);
  border-radius: 8px;
  box-shadow: var(--theme-shadow);
  color: var(--theme-text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  margin: 0 0 2rem;
  padding: 1rem 1.25rem;
}

.interest-invite-callout h2 {
  color: var(--theme-text-strong);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
}

.interest-invite-callout p:not(.section-eyebrow) {
  margin: 0.35rem 0 0;
}

.interest-invite-callout__actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.interest-onboarding-steps {
  background: color-mix(in srgb, var(--theme-surface) 92%, var(--theme-link) 8%);
  border: 1px solid var(--theme-border);
  border-radius: 8px;
  color: var(--theme-text-muted);
  display: grid;
  gap: 1rem;
  margin: -1rem 0 2rem;
  padding: 1rem 1.25rem;
}

.interest-onboarding-steps h2 {
  color: var(--theme-text-strong);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
}

.interest-onboarding-steps__list {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
}

.interest-onboarding-step {
  border-left: 3px solid var(--theme-link);
  display: grid;
  gap: 0.2rem;
  padding-left: 0.75rem;
}

.interest-onboarding-step strong {
  color: var(--theme-text-strong);
}

.interest-index-copy {
  color: var(--theme-text-muted);
  line-height: 1.6;
  margin-top: 0.5rem;
  max-width: 42rem;
}

.interest-index-card {
  background: var(--theme-surface);
  border: 1px solid var(--theme-border);
  border-radius: 6px;
  box-shadow: var(--theme-shadow);
  color: var(--theme-text-muted);
  padding: 1.5rem;
}

.interest-index-card__title {
  color: var(--theme-text-strong);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
}

.interest-index-card__title a {
  color: inherit;
}

.interest-index-card__title a:hover {
  color: var(--theme-link-hover);
}

.interest-index-card__copy {
  color: var(--theme-text-muted);
  line-height: 1.6;
  margin-top: 0.75rem;
}

.interest-index-card__nested {
  border-top: 1px solid var(--theme-border);
  margin-top: 1.25rem;
  padding-top: 1rem;
}

.interest-index-card__media {
  background: var(--theme-surface-muted);
  border: 1px solid var(--theme-border);
  border-radius: 6px;
  display: block;
  overflow: hidden;
  position: relative;
}

.interest-index-card__media-badge {
  align-items: center;
  background: rgba(8, 16, 32, 0.86);
  border: 1px solid rgba(126, 218, 255, 0.55);
  border-radius: 999px;
  color: var(--theme-link);
  display: inline-flex;
  height: 1.35rem;
  justify-content: center;
  left: 0.35rem;
  position: absolute;
  top: 0.35rem;
  width: 1.35rem;
}

.interest-index-card__media-badge::before {
  border-bottom: 0.25rem solid transparent;
  border-left: 0.38rem solid currentColor;
  border-top: 0.25rem solid transparent;
  content: "";
  display: inline-block;
  height: 0;
  margin-left: 0.08rem;
  width: 0;
}

.interest-index-card__stats {
  color: var(--theme-text-soft);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.875rem;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.interest-index-card__stats span {
  background: var(--theme-surface-muted);
  border: 1px solid var(--theme-border);
  border-radius: 6px;
  padding: 0.35rem 0.75rem;
}

.interest-index-footer-note {
  color: var(--theme-text-muted);
  margin-top: 2rem;
  text-align: center;
}

.my-interests-section {
  padding: 2.5rem 1.5rem;
}

.my-interests-eyebrow {
  color: var(--theme-link);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.my-interests-title {
  color: var(--theme-text-strong);
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: clamp(2.25rem, 8vw, 3rem);
  line-height: 1.05;
}

.my-interests-copy {
  color: var(--theme-text-muted);
  font-size: 1.125rem;
  line-height: 1.65;
  margin-top: 1rem;
  max-width: 42rem;
}

.my-interests-search {
  background: var(--theme-surface);
  border: 1px solid var(--theme-border);
  border-radius: 6px;
  box-shadow: var(--theme-shadow);
  margin-bottom: 1.5rem;
  padding: 1rem;
}

.sub-interest-grid {
  -moz-column-gap: 1rem;
       column-gap: 1rem;
  -moz-column-width: 16rem;
       column-width: 16rem;
}

.sub-interest-section {
  background: color-mix(in srgb, var(--theme-surface, #fff) 84%, var(--theme-accent-soft, #dbeafe) 16%);
  border-style: dashed;
}

.sub-interest-section .section-heading-row {
  margin-bottom: 1rem;
}

.sub-interest-card {
  -moz-column-break-inside: avoid;
       break-inside: avoid;
  background: var(--theme-surface, #fff);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  justify-content: space-between;
  margin: 0 0 1rem;
  padding: 1rem;
  width: 100%;
}

.sub-interest-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 0.5rem;
}

.sub-interest-card p {
  color: var(--theme-text-muted, #4b5563);
  line-height: 1.5;
  margin: 0;
}

.sub-interest-card__footer {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
}

.sub-interest-card__stats {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.sub-interest-card__stats span {
  background: #f8fafc;
  border-radius: 6px;
  color: #6b7280;
  font-size: 0.875rem;
  padding: 0.35rem 0.65rem;
}

.sub-interest-card__join {
  min-height: 2rem;
  padding: 0.3rem 0.75rem;
}

.sub-interest-card__status {
  color: #047857;
  font-size: 0.875rem;
  font-weight: 700;
}

.nested-interest-link {
  align-items: baseline;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 6px;
  color: #1d4ed8;
  display: inline-flex;
  flex-wrap: wrap;
  font-size: 0.875rem;
  font-weight: 700;
  gap: 0.35rem;
  line-height: 1.25rem;
  padding: 0.35rem 0.65rem;
  text-decoration: none;
}

.nested-interest-link:hover {
  background: #dbeafe;
  border-color: #60a5fa;
  color: #1e40af;
}

.nested-interest-link__meta {
  color: #2563eb;
  font-weight: 500;
}

.nested-interest-link__status {
  color: #047857;
  font-weight: 500;
}

.activity-feed {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  display: grid;
  overflow: hidden;
}

.activity-feed__item {
  align-items: center;
  background: #fff;
  border-bottom: 1px solid #f3f4f6;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  min-width: 0;
  padding: 1rem;
}

.activity-feed__thumb-link {
  border-radius: 6px;
  flex: 0 0 auto;
  overflow: hidden;
}

.activity-feed__thumb {
  background: #f3f4f6;
  display: block;
  height: 5rem;
  -o-object-fit: cover;
     object-fit: cover;
  width: 7rem;
}

.activity-feed__body {
  flex: 1 1 auto;
  min-width: 0;
  order: 1;
}

.activity-feed__title-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  -moz-column-gap: 1.25rem;
       column-gap: 1.25rem;
  row-gap: 0.5rem;
}

.activity-feed__item>.meta-text {
  flex: 0 0 auto;
  order: 3;
}

.activity-feed__item:last-child {
  border-bottom: 0;
}

.activity-feed__item h3 {
  color: #1f2937;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
}

.activity-feed__type {
  color: #2563eb;
  font-size: 0.75rem;
  font-weight: 700;
  margin: 0 0 0.25rem;
  text-transform: uppercase;
}

.user-activity-page {
  display: grid;
  gap: 2rem;
  margin: 0 auto 5rem;
  max-width: 72rem;
  padding: 0 1rem;
}

.user-activity-section {
  min-width: 0;
}

.user-interest-posts {
  display: grid;
  gap: 1.25rem;
}

.user-interest-posts__group {
  min-width: 0;
}

.user-interest-posts__group--collapsible {
  border-radius: 8px;
}

.user-interest-posts__heading--summary {
  cursor: pointer;
  list-style: none;
  margin-bottom: 0.75rem;
  padding-right: 0;
}

.user-interest-posts__heading--summary::-webkit-details-marker {
  display: none;
}

.user-interest-posts__heading-actions {
  align-items: center;
  display: inline-flex;
  gap: 0.625rem;
}

.collapse-chip {
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 9999px;
  color: #334155;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
  padding: 0.35rem 0.65rem;
}

.collapse-chip--open {
  display: none;
}

.user-interest-posts__group--collapsible:not([open]) .collapse-chip--open {
  display: inline-flex;
}

.user-interest-posts__group--collapsible:not([open]) .collapse-chip--close {
  display: none;
}

.user-interest-posts__heading {
  align-items: baseline;
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.user-interest-posts__heading h3 {
  color: #1f2937;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
}

.user-interest-posts__heading span {
  color: #6b7280;
  font-size: 0.875rem;
}

.user-activity-list {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
}

.user-activity-item {
  background: #fff;
  border-bottom: 1px solid #f3f4f6;
  display: block;
  min-width: 0;
  padding: 1.1rem 1rem;
}

.user-activity-item:last-child {
  border-bottom: 0;
}

.user-activity-item__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.user-activity-item h3 {
  color: #1f2937;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
}

.user-activity-item p:not(.activity-feed__type) {
  color: #4b5563;
  line-height: 1.55;
  margin: 0.45rem 0 0;
}

.post-page {
  margin-left: auto;
  margin-right: auto;
  max-width: var(--nested-content-max-width);
  padding: 1rem 1.35rem 5rem;
  width: 100%;
}

.post-page--all {
  padding-left: 0.35rem;
  padding-top: 0.35rem;
}

.post-page--all .post-hero {
  margin-bottom: 1rem;
  padding-top: 0.65rem;
}

.post-hero {
  align-items: flex-start;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding: 1.25rem 0 1.5rem;
}

.post-hero h1 {
  color: #1f2937;
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: 2.75rem;
  line-height: 1;
  margin: 0;
}

.post-hero p:not(.section-eyebrow) {
  color: #4b5563;
  line-height: 1.6;
  margin: 0.75rem 0 0;
  max-width: 42rem;
}

.post-hero__actions {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.base-page-hero {
  margin-left: auto;
  margin-right: auto;
  max-width: var(--nested-content-max-width);
  padding-left: 1rem;
  padding-right: 1rem;
  width: 100%;
}

.post-board {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow: visible;
}

.post-board__heading {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.post-board__heading h2 {
  color: #1f2937;
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0;
}

.post-board__heading p {
  color: #6b7280;
  margin: 0.25rem 0 0;
}

.post-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow: visible;
}

.post-list.post-list--grid {
  display: block;
}

.post-list--interest-groups {
  align-items: start;
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr);
}

.all-posts-post-grid {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.all-posts-post-grid>.post-container {
  margin: 0;
}

.post-list--community-groups {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.all-posts-interest-group {
  background: var(--theme-surface, #fff);
  border: 1px solid var(--theme-border, #e5e7eb);
  border-radius: 8px;
  box-shadow: var(--theme-shadow);
  display: flex;
  flex-direction: column;
  margin: 0;
  min-width: 0;
  overflow: hidden;
  padding: 0.75rem;
  width: 100%;
}

.all-posts-interest-group__heading {
  align-items: center;
  background: var(--theme-surface-muted, #f8fafc);
  border: 1px solid var(--theme-border, #e5e7eb);
  border-left: 3px solid var(--theme-accent-border, #9ca3af);
  border-radius: 6px;
  cursor: pointer;
  display: grid;
  gap: 0.65rem;
  grid-template-columns: auto minmax(0, 1fr) auto;
  margin: 0;
  list-style: none;
  min-height: 3rem;
  padding: 0.6rem 0.75rem;
  transition:
    background-color 120ms ease,
    border-color 120ms ease,
    color 120ms ease;
}

.all-posts-interest-group__heading::-webkit-details-marker {
  display: none;
}

.all-posts-interest-group__heading:hover,
.all-posts-interest-group__heading:focus-visible {
  background: var(--theme-surface-soft, #f3f4f6);
  border-left-color: var(--theme-link, #2563eb);
  outline: none;
}

.all-posts-interest-group__heading:focus-visible {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--theme-link, #2563eb) 24%, transparent);
  outline: 1px solid var(--theme-link, #2563eb);
  outline-offset: 2px;
}

.all-posts-interest-group__heading::before {
  align-items: center;
  border: 1px solid var(--theme-border-strong, #d1d5db);
  border-radius: 999px;
  color: var(--theme-link, #2563eb);
  content: "▸";
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 0.78rem;
  font-weight: 700;
  height: 1.35rem;
  justify-content: center;
  line-height: 1;
  width: 1.35rem;
}

.all-posts-interest-group[open]>.all-posts-interest-group__heading::before {
  content: "▾";
}

.all-posts-interest-group__heading:hover::before,
.all-posts-interest-group__heading:focus-visible::before {
  border-color: var(--theme-accent-border, #9ca3af);
  color: var(--theme-text-muted, #374151);
}

.all-posts-interest-group__heading h3 {
  color: var(--theme-link, #2563eb);
  flex: 1 1 auto;
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.2;
  margin: 0;
  min-width: 0;
}

.all-posts-interest-group__meta {
  align-items: center;
  color: var(--theme-text-soft, #6b7280);
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 0.875rem;
  font-weight: 650;
  gap: 0.75rem;
}

.all-posts-interest-group__meta span:first-child {
  background: var(--theme-surface, #fff);
  border: 1px solid var(--theme-border, #e5e7eb);
  border-radius: 999px;
  line-height: 1;
  padding: 0.35rem 0.55rem;
}

.all-posts-interest-group__toggle-label {
  color: var(--theme-text-soft, #4b5563);
  font-size: 0.8rem;
  font-weight: 600;
  min-width: 4.8rem;
  text-align: right;
}

.all-posts-interest-group__toggle-label::before {
  content: "Show posts";
}

.all-posts-interest-group[open] .all-posts-interest-group__toggle-label::before {
  content: "Hide posts";
}

.all-posts-interest-group--quiet .all-posts-interest-group__toggle-label::before {
  content: "Show post";
}

.all-posts-interest-group--quiet[open] .all-posts-interest-group__toggle-label::before {
  content: "Hide post";
}

.all-posts-interest-group[open] {
  background: color-mix(in srgb, var(--theme-surface, #fff) 82%, var(--theme-surface-muted, #f8fafc));
  border-color: var(--theme-border-strong, #cbd5e1);
  grid-column: 1 / -1;
  padding: 0.9rem;
}

.all-posts-interest-group[open]>.all-posts-interest-group__heading {
  background: color-mix(in srgb, var(--theme-accent-soft, #dbeafe) 42%, var(--theme-surface, #fff));
  border-color: var(--theme-accent-border, #93c5fd);
  border-left-color: var(--theme-link, #2563eb);
}

.all-posts-interest-group[open]>.all-posts-interest-group__heading h3 {
  color: var(--theme-text-strong, #111827);
}

.all-posts-interest-group[open] .all-posts-interest-group__toggle-label {
  color: var(--theme-link, #2563eb);
}

.all-posts-interest-group[open]>.all-posts-post-grid {
  --all-posts-masonry-row: 0.5rem;
  align-items: start;
  display: grid;
  gap: 1.1rem;
  grid-auto-flow: dense;
  grid-auto-rows: var(--all-posts-masonry-row);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  margin-top: 1rem;
}

.all-posts-interest-group[open]>.all-posts-post-grid>.post-container {
  align-self: start;
  margin: 0;
  width: 100%;
}

.all-posts-interest-group[open]>.all-posts-post-grid>.post-container:has(.child-post),
.all-posts-interest-group[open]>.all-posts-post-grid>.post-container:has(.post-form-modal-container--reply) {
  grid-column: 1 / -1;
  justify-self: stretch;
}

.all-posts-interest-group[open] .child-post {
  margin-left: clamp(0.75rem, 3vw, 1.5rem);
  margin-right: 0;
}

.all-posts-interest-group[open] .child-post>.post-container {
  background: color-mix(in srgb, var(--theme-surface-muted, #f8fafc) 74%, var(--theme-surface, #fff));
  border-left: 3px solid var(--theme-accent-border, #93c5fd);
  box-shadow: none;
  max-width: min(100%, 44rem);
  padding: 0.9rem 1rem;
}

.all-posts-interest-group[open] .child-post .post-open-link {
  gap: 0.55rem;
}

.all-posts-interest-group[open] .child-post .post-details {
  padding-top: 0.7rem;
}

@media (min-width: 900px) {
  .post-list--interest-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) {
  .post-list--interest-groups {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.post-list .post-container,
.post-show-card {
  background: var(--theme-surface, #fff);
  border: 1px solid var(--theme-border, #e5e7eb);
  border-radius: var(--post-surface-radius);
  box-shadow: var(--post-surface-shadow);
  color: var(--theme-text-muted, #374151);
  margin: 5px;
  padding: 1rem;
}

.post-list .post-container {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.post-list .post-container h2 {
  color: var(--theme-text-strong, #111827);
  font-size: 1.25rem;
  line-height: 1.3;
  margin: 0;
}

.post-list .post-container pre,
.post-show-card__body {
  color: var(--theme-text-muted, #374151);
  font-family: inherit;
  line-height: 1.55;
  margin: 0;
  white-space: pre-wrap;
}

.post-detail-meta {
  color: var(--theme-text-soft);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.875rem;
  gap: 0.35rem 0.75rem;
  line-height: 1.4;
  margin: 0;
}

.post-detail-meta span + span::before {
  color: var(--theme-border, #d1d5db);
  content: "·";
  margin-right: 0.75rem;
}

.post-detail-body {
  color: var(--theme-text-muted);
  line-height: 1.6;
  white-space: pre-wrap;
}

.post-media-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 0.55rem;
  margin: 0.65rem 0 1rem;
  max-width: min(100%, 42rem);
}

.post-media-gallery--single {
  grid-template-columns: minmax(0, 1fr);
}

.post-media-gallery--feed-cover {
  grid-template-columns: minmax(0, 1fr);
  max-width: min(100%, 24rem);
}

.post-media-gallery--detail {
  display: flex;
  gap: 0.75rem;
  margin: 0.75rem 0 1.25rem;
  max-width: 100%;
  overflow-x: auto;
  padding-bottom: 0.35rem;
  scroll-snap-type: x mandatory;
}

.post-media-gallery__item {
  background: var(--theme-surface-muted, #eef2f7);
  border: 1px solid var(--theme-border, #dbe3f0);
  border-radius: var(--post-surface-radius);
  overflow: hidden;
  position: relative;
}

.post-media-gallery__item--detail {
  flex: 0 0 min(100%, 44rem);
  margin: 0;
  scroll-snap-align: start;
}

.post-media-gallery__media,
.post-media-gallery__fallback {
  aspect-ratio: 16 / 10;
  display: block;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
}

.post-media-gallery__fallback {
  align-items: center;
  color: var(--theme-text-soft, #64748b);
  display: flex;
  justify-content: center;
  padding: 1rem;
  text-align: center;
}

.post-media-gallery__fallback--processing,
.media-processing-placeholder {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0)),
    #eef2f7;
  color: #475569;
  font-size: 0.9rem;
  font-weight: 700;
}

.post-media-gallery__caption {
  background: rgba(15, 23, 42, 0.72);
  border-radius: 999px;
  bottom: 0.65rem;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.35rem 0.55rem;
  position: absolute;
  right: 0.65rem;
}

.post-media-gallery__count-badge {
  background: rgba(15, 23, 42, 0.76);
  border-radius: 999px;
  bottom: 0.65rem;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.35rem 0.55rem;
  position: absolute;
  right: 0.65rem;
}

.post-media-gallery__video-badge {
  background: rgba(15, 23, 42, 0.76);
  border-radius: 999px;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  left: 0.65rem;
  line-height: 1;
  padding: 0.35rem 0.55rem;
  position: absolute;
  top: 0.65rem;
}

.post-media-gallery__processing-badge,
.post-reply__media-processing,
.media-card__badge {
  background: rgba(15, 23, 42, 0.76);
  border-radius: 999px;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.35rem 0.55rem;
  position: absolute;
}

.post-media-gallery__processing-badge,
.post-reply__media-processing {
  left: 0.65rem;
  top: 0.65rem;
}

.post-details__reply-summary {
  border-top: 1px solid #f3f4f6;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
}

.post-open-link {
  color: inherit;
  cursor: pointer;
  display: grid;
  gap: 0.65rem;
  text-decoration: none;
}

.post-open-link .post-media-gallery {
  margin: 0;
}

.post-open-link:hover h2,
.post-open-link:focus h2 {
  color: #2563eb;
}

.post-open-link:focus {
  outline: 2px solid #3b82f6;
  outline-offset: 4px;
}

.post-list .post-details {
  border-top: 1px solid #f3f4f6;
  margin-top: 0;
  padding-top: 0.85rem;
}

.post-list .post-options {
  padding: 0;
}

.post-empty-state {
  min-height: 14rem;
}

.post-show-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.post-show-card__image {
  border-radius: 8px;
  max-height: 32rem;
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
}

.post-show-card__meta {
  align-items: center;
  border-top: 1px solid #f3f4f6;
  color: #6b7280;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  padding-top: 0.75rem;
}

.post-show-card__actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.7rem;
}

.post-show-card__action-link {
  align-items: center;
  color: var(--theme-link, #1f8dd6);
  display: inline-flex;
  font: inherit;
  min-height: 1.75rem;
  text-decoration: none;
}

.post-share-button.post-show-card__action-link {
  background: transparent;
  border: 0;
  cursor: pointer;
  gap: 0.25rem;
  padding: 0;
}

.post-share-button.post-show-card__action-link:hover,
.post-show-card__action-link:hover {
  color: var(--theme-link-hover, #166aa3);
}

.post-share-button.post-show-card__action-link:focus-visible,
.post-show-card__action-link:focus-visible,
.post-reply__action-row .link:focus-visible {
  border-radius: 0.35rem;
  box-shadow: 0 0 0 3px rgba(116, 211, 255, 0.35);
  outline: 2px solid #74d3ff;
  outline-offset: 3px;
}

.post-show-card__action-separator {
  color: var(--theme-text-soft, #9ca3af);
  line-height: 1;
  margin: 0 0.55rem 0 0.35rem;
}

.post-show-card__likes-wrap {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--theme-text-muted, #374151);
  cursor: pointer;
  display: inline-flex;
  gap: 0.35rem;
  line-height: 1;
  margin-left: 0.15rem;
  padding: 0;
}

.post-show-card__likes-wrap--disabled {
  color: var(--theme-text-soft, #6b7280);
  cursor: default;
}

.post-show-card__like-link {
  align-items: center;
  border-radius: 0.3rem;
  display: inline-flex;
  flex: 0 0 auto;
  line-height: 1;
}

.post-show-card__like-link:focus,
.post-show-card__like-link:active {
  background: transparent;
  box-shadow: none;
  outline: none;
}

.post-show-card__like-link:focus-visible {
  box-shadow: 0 0 0 2px rgba(116, 211, 255, 0.28);
  outline: 1px solid rgba(116, 211, 255, 0.75);
  outline-offset: 2px;
}

.post-show-card__like-link img {
  display: block;
  height: 1.25rem;
  width: 1.25rem;
}

.impersonation-banner {
  align-items: center;
  background: #fff7ed;
  border-bottom: 1px solid #fed7aa;
  color: #7c2d12;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  justify-content: space-between;
  min-height: var(--sticky-banner-height);
  padding: 0.75rem 1.5rem;
  position: sticky;
  top: var(--site-header-height);
  z-index: 45;
}

.impersonation-banner div {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.impersonation-banner button {
  background: #9a3412;
  border: 0;
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
  font-weight: 600;
  padding: 0.45rem 0.8rem;
}

.impersonation-banner button:hover {
  background: #7c2d12;
}

.imitation-banner {
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.imitation-banner > div {
  justify-content: center;
}

.role-view-banner {
  justify-content: center;
  text-align: center;
}

.role-view-banner > div {
  justify-content: center;
}

.role-view-banner form {
  margin-left: auto;
}

.email-notification-prompt {
  align-items: center;
  background: #eff6ff;
  border-bottom: 1px solid #bfdbfe;
  color: #1e3a8a;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  justify-content: space-between;
  min-height: var(--sticky-banner-height);
  padding: 0.75rem 1.5rem;
  position: sticky;
  top: var(--site-header-height);
  z-index: 44;
}

.impersonation-banner + .email-notification-prompt {
  top: calc(var(--site-header-height) + var(--sticky-banner-height));
}

.email-notification-prompt > div:first-child {
  align-items: center;
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  gap: 0.5rem;
  min-width: 0;
}

.email-notification-prompt__actions {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
}

.email-notification-prompt__actions form {
  flex: 0 0 auto;
  width: auto;
}

.email-notification-prompt span,
.settings-email-copy {
  overflow-wrap: anywhere;
}

.settings-email-options {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.settings-email-option {
  align-items: flex-start;
  background: rgba(248, 250, 252, 0.85);
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  display: flex;
  gap: 0.75rem;
  padding: 0.85rem;
}

.settings-email-option__checkbox {
  flex: 0 0 auto;
  margin-top: 0.25rem;
}

.email-notification-prompt button {
  background: #1d4ed8;
  border: 0;
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  font-weight: 700;
  padding: 0.45rem 0.9rem;
}

.email-notification-prompt button:hover {
  background: #1e40af;
}

.email-notification-prompt .email-notification-prompt__secondary {
  background: #dbeafe;
  color: #1e3a8a;
}

.email-notification-prompt .email-notification-prompt__secondary:hover {
  background: #bfdbfe;
}

body.appearance-dark .email-notification-prompt {
  background: #12233a;
  border-color: #2f5d91;
  color: #dbeafe;
}

body.appearance-dark .email-notification-prompt button {
  background: #2563eb;
  color: #ffffff;
}

body.appearance-dark .email-notification-prompt button:hover {
  background: #1d4ed8;
}

body.appearance-dark .email-notification-prompt .email-notification-prompt__secondary {
  background: #1e293b;
  border: 1px solid #475569;
  color: #dbeafe;
}

body.appearance-dark .email-notification-prompt .email-notification-prompt__secondary:hover {
  background: #334155;
  color: #f8fafc;
}

@media (prefers-color-scheme: dark) {
  body.appearance-system .email-notification-prompt {
    background: #12233a;
    border-color: #2f5d91;
    color: #dbeafe;
  }

  body.appearance-system .email-notification-prompt button {
    background: #2563eb;
    color: #ffffff;
  }

  body.appearance-system .email-notification-prompt button:hover {
    background: #1d4ed8;
  }

  body.appearance-system .email-notification-prompt .email-notification-prompt__secondary {
    background: #1e293b;
    border: 1px solid #475569;
    color: #dbeafe;
  }

  body.appearance-system .email-notification-prompt .email-notification-prompt__secondary:hover {
    background: #334155;
    color: #f8fafc;
  }
}

@media (max-width: 640px) {
  .email-notification-prompt {
    align-items: stretch;
    padding: 0.75rem 1rem;
  }

  .email-notification-prompt > div:first-child,
  .email-notification-prompt__actions,
  .email-notification-prompt form {
    width: 100%;
  }

  .email-notification-prompt button {
    width: 100%;
  }
}

.sidebar-admin-control button {
  background: #1f8dd6;
  border: 0;
  border-radius: 6px;
  color: #ffffff;
  cursor: pointer;
  font-weight: 600;
  padding: 0.35rem 0.65rem;
}

.sidebar-admin-control button:hover {
  background: #176da6;
}

.post-form-shell {
  text-align: left;
  width: 100%;
}

.post-form-modal-close {
  color: #3f7fe6;
  font-size: 2rem;
  line-height: 1;
  position: absolute;
  right: 0.75rem;
  text-decoration: none;
  top: 0.5rem;
}

.post-form__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  min-width: 0;
  padding-right: 2.5rem;
}

.post-form__heading h2 {
  color: #1f2937;
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
}

.post-form-modal-container .post-form__heading h2 {
  color: #111827 !important;
}

.post-form-modal-container .section-eyebrow,
.post-form-modal-container .interest-breadcrumb__link {
  color: #1d4ed8 !important;
}

.post-form-modal-container .interest-breadcrumb__separator {
  color: #64748b !important;
}

.post-form-modal-container--reply {
  container-type: inline-size;
  flex: 1 0 100%;
  margin: 0.85rem 0 0 !important;
  max-width: min(100%, 42rem) !important;
  width: 100%;
}

.post-form-modal-container--reply .post-form {
  padding: 0;
}

.post-form-modal-container--reply .post-form-modal-close {
  display: none !important;
}

.post-form-modal-container--reply .post-form__heading {
  align-items: baseline;
  gap: 0.35rem;
  justify-content: flex-start;
  margin-bottom: 0.65rem;
  padding-right: 0;
}

.post-form-modal-container--reply .post-form__heading h2 {
  font-size: 1.05rem;
  line-height: 1.25;
}

.post-form-modal-container--reply .section-eyebrow {
  font-size: 0.75rem;
  line-height: 1.2;
}

.post-form-modal-container--reply .new-post-body-input {
  min-height: 7.5rem;
  padding: 0.65rem 0.75rem;
}

.post-form-modal-container--reply .post-form__actions {
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  padding-top: 0.75rem;
}

.post-form-modal-container--reply .post-form-cancel,
.post-form-modal-container--reply .new-post-save {
  flex: 0 0 auto;
  margin-top: 0;
  min-width: 7.75rem;
  white-space: nowrap;
}

@container (max-width: 17rem) {
  .post-form-modal-container--reply .post-form__heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.15rem;
  }

  .post-form-modal-container--reply .post-form__heading h2 {
    font-size: 1rem;
  }

  .post-form-modal-container--reply .new-post-body-input {
    min-height: 7rem;
  }

  .post-form-modal-container--reply .post-form__actions {
    align-items: stretch;
    flex-direction: column-reverse;
    justify-content: stretch;
  }

  .post-form-modal-container--reply .post-form-cancel,
  .post-form-modal-container--reply .new-post-save {
    justify-content: center;
    width: 100%;
  }
}

body .post-form-modal-container--reply .post-form-shell--reply .new-post-container {
  background: var(--theme-surface-muted, #f8fafc) !important;
  box-shadow: none !important;
}

.post-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem;
}

.new-post-type-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.new-post-type-links__item {
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  color: #2563eb;
  display: inline-flex;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.55rem 0.85rem;
}

.new-post-type-links__item:hover {
  background: #eff6ff;
}

.new-post-type-links__item.is-selected {
  background: #2563eb;
  border-color: #2563eb;
  color: #fff;
}

.new-post-title-input,
.new-post-body-input {
  background: #fff;
  border: 1px solid #d7e0ee;
  border-radius: 6px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.07), 0 6px 14px rgba(15, 23, 42, 0.035);
  color: #1f2937;
  padding: 0.65rem 0.75rem;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}

.new-post-title-input {
  font-size: 1.05rem;
  font-weight: 600;
}

.new-post-body-input {
  min-height: 10rem;
}

.new-post-title-input:focus,
.new-post-body-input:focus {
  border-color: #3f7fe6;
  box-shadow: 0 0 0 3px rgba(63, 127, 230, 0.16), 0 8px 18px rgba(15, 23, 42, 0.06);
  outline: none;
}

.new-post-title-input::-moz-placeholder, .new-post-body-input::-moz-placeholder {
  color: #a7b0bf;
}

.new-post-title-input::placeholder,
.new-post-body-input::placeholder {
  color: #a7b0bf;
}

.new-post-required-hint {
  color: #6b7280;
  font-size: 0.85rem;
  line-height: 1.35;
  margin: 0.35rem 0 0;
}

.new-post-body-field {
  margin-top: 0.55rem;
}

.personal-post-audience {
  border: 1px solid #d7e0ee;
  border-radius: 8px;
  display: grid;
  gap: 0.65rem;
  margin: 0.25rem 0 0;
  padding: 0.8rem;
}

.personal-post-audience legend {
  color: #374151;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0 0.25rem;
}

.personal-post-audience__option {
  align-items: flex-start;
  color: #1f2937;
  display: flex;
  gap: 0.55rem;
  margin: 0;
}

.personal-post-audience__option input {
  margin-top: 0.2rem;
}

.personal-post-audience__option strong,
.personal-post-audience__option small {
  display: block;
}

.personal-post-audience__option small {
  color: #64748b;
  font-size: 0.85rem;
  margin-top: 0.1rem;
}

.personal-post-audience__recipient {
  display: grid;
  gap: 0.35rem;
  margin-top: 0.25rem;
}

.personal-post-audience__recipient label {
  color: #374151;
  font-size: 0.85rem;
  font-weight: 700;
}

.personal-post-audience__hint {
  color: #64748b;
  font-size: 0.85rem;
  margin: 0;
}

.new-post-save {
  margin-top: 0.75rem;
}

.post-form__actions {
  display: flex;
  gap: 0.65rem;
  justify-content: flex-end;
  padding-top: 0.15rem;
}

.post-form-cancel {
  align-items: center;
  background: var(--theme-surface, #fff);
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  min-height: 2.5rem;
  padding: 0.35rem 0.85rem;
}

.post-replies,
.post-reply-form {
  margin-top: 2rem;
}

.reply-media-upload {
  background: #f8fafc;
  border: 1px solid #dbe3ee;
  border-radius: 8px;
  display: grid;
  gap: 0.75rem;
  margin-top: 0.85rem;
  padding: 0.85rem;
}

.reply-media-upload__header {
  align-items: flex-start;
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
}

.reply-media-upload__label {
  color: #1f2937;
  display: block;
  font-size: 0.9rem;
  font-weight: 800;
}

.reply-media-upload__header p,
.reply-media-upload__header span {
  color: #64748b;
  font-size: 0.85rem;
  line-height: 1.35;
  margin: 0.2rem 0 0;
}

.reply-media-upload__header span {
  flex-shrink: 0;
  font-weight: 700;
}

.reply-media-upload__previews {
  margin-top: 0;
}

.reply-media-edit {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.reply-media-edit__current {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.35rem;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.reply-media-edit__item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  flex: 0 0 min(16rem, 82%);
  margin: 0;
  overflow: hidden;
  position: relative;
  scroll-snap-align: start;
}

.reply-media-edit__preview {
  aspect-ratio: 4 / 3;
  display: block;
  -o-object-fit: contain;
     object-fit: contain;
  width: 100%;
}

.reply-media-edit__item figcaption {
  align-items: center;
  color: #64748b;
  display: flex;
  font-size: 0.78rem;
  font-weight: 700;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.45rem 0.65rem;
}

.reply-media-edit__actions {
  align-items: center;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: flex-end;
}

.reply-media-edit__actions button:disabled {
  color: #9ca3af;
  cursor: default;
  text-decoration: none;
}

.post-reply__media {
  margin-top: 0.75rem;
  min-width: 0;
}

.post-reply__media-scroll {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding-bottom: 0.35rem;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.post-reply__media-item {
  background: var(--theme-surface-muted, #f8fafc);
  border: 1px solid var(--theme-border, #e2e8f0);
  border-radius: 6px;
  flex: 0 0 min(22rem, 86%);
  margin: 0;
  overflow: hidden;
  position: relative;
  scroll-snap-align: start;
}

.post-reply__media-file {
  aspect-ratio: 4 / 3;
  display: block;
  max-height: 24rem;
  -o-object-fit: contain;
     object-fit: contain;
  width: 100%;
}

.post-reply__media-fallback {
  color: var(--theme-text-soft, #64748b);
  padding: 1rem;
}

.post-reply__media-item figcaption {
  color: var(--theme-text-soft, #64748b);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.45rem 0.65rem;
}

@media (max-width: 640px) {
  .reply-media-upload__header {
    flex-direction: column;
  }

  .post-reply__media-scroll {
    gap: 0.6rem;
  }

  .post-reply__media-item {
    flex-basis: min(18rem, 88%);
  }

  .reply-media-edit__item {
    flex-basis: min(15rem, 88%);
  }

  .post-reply__media-file {
    max-height: 18rem;
  }
}

.inbox-page {
  margin: 0 auto;
  max-width: var(--nested-content-max-width);
  padding: 1.5rem 1rem 4rem;
}

.message-compose-page {
  max-width: var(--nested-content-max-width);
}

.message-compose-shell {
  margin: 0 auto;
  max-width: 48rem;
  width: 100%;
}

.message-compose-form {
  max-width: none;
  padding: 1.25rem;
}

.message-compose-card {
  display: grid;
  gap: 1rem;
}

.message-compose-recipient {
  align-items: end;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: minmax(0, 1fr) max-content;
}

.message-compose-recipient__summary {
  background: transparent;
  border: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  justify-content: flex-end;
  min-height: 3rem;
  padding: 0 0 0.15rem;
}

.message-compose-recipient__summary span {
  color: #64748b;
  font-size: 0.86rem;
  font-weight: 600;
}

.message-compose-recipient__summary strong {
  color: #1f2937;
  font-size: 0.95rem;
  font-weight: 700;
}

.message-compose-select {
  min-height: 3rem;
}

.message-compose-body {
  min-height: 15rem;
}

.message-compose-footer {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
}

.message-compose-footer p {
  color: #64748b;
  font-size: 0.9rem;
  font-weight: 700;
  margin: 0;
}

.message-compose-actions {
  align-items: center;
  gap: 0.9rem;
  margin: 0;
}

.message-compose-actions .button-secondary,
.message-compose-actions .form-submit {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  margin: 0;
  min-height: 2.75rem;
}

.message-compose-actions .post-form-save-button {
  align-self: center;
}

.message-compose-empty {
  margin: 0;
}

@media (max-width: 640px) {
  .message-compose-page {
    padding: 0.75rem 0.75rem 4.5rem;
  }

  .message-compose-recipient {
    grid-template-columns: 1fr;
  }

  .message-compose-body {
    min-height: 12rem;
  }

  .message-compose-footer,
  .message-compose-actions {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
  }

  .message-compose-actions .button-secondary,
  .message-compose-actions .form-submit {
    justify-content: center;
    min-height: 2.85rem;
    width: 100%;
  }
}

.friend-page-shell {
  display: grid;
  gap: 1.25rem;
}

.friend-section {
  display: grid;
  gap: 0.75rem;
}

.friend-section h2 {
  color: #1f2937;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0;
}

.friend-list {
  display: grid;
  gap: 0.75rem;
}

.friend-row {
  align-items: center;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.07), 0 8px 20px rgba(15, 23, 42, 0.04);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: 0.9rem 1rem;
}

.friend-row h3 {
  color: #1f2937;
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
}

.friend-row__profile-link {
  color: inherit;
  -webkit-text-decoration-color: transparent;
          text-decoration-color: transparent;
  text-underline-offset: 0.18em;
}

.friend-row__profile-link:hover,
.friend-row__profile-link:focus-visible {
  color: var(--theme-link-hover, #2563eb);
  -webkit-text-decoration-color: currentColor;
          text-decoration-color: currentColor;
}

.friend-row p {
  color: #64748b;
  margin: 0.15rem 0 0;
}

.friend-row__actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
}

.friend-status {
  color: #475569;
  font-size: 0.9rem;
  font-weight: 700;
}

.friend-connection-next {
  align-items: center;
  background: var(--theme-surface);
  border: 1px solid var(--theme-border);
  border-radius: 8px;
  color: var(--theme-text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  margin: 0 0 1.5rem;
  padding: 1rem 1.25rem;
}

.friend-connection-next h2 {
  color: var(--theme-text-strong);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
}

.friend-connection-next__actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.directory-user-summary {
  display: grid;
  gap: 0.25rem;
}

.directory-user-summary span {
  color: var(--theme-text-muted);
  font-size: 0.9rem;
  white-space: normal;
}

@media (max-width: 640px) {
  .friend-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .friend-row__actions {
    justify-content: flex-start;
  }
}

.inbox-list {
  display: grid;
  gap: 0.9rem;
}

.inbox-friend-section {
  margin-bottom: 1.35rem;
}

.inbox-section-heading {
  margin-bottom: 0;
}

.inbox-message-heading {
  align-items: flex-end;
  gap: 1rem;
}

.inbox-section-heading p,
.inbox-message-heading p {
  color: var(--theme-text-muted);
  margin: 0.25rem 0 0;
}

.inbox-message-toolbar {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: flex-end;
  max-width: 100%;
  min-width: 0;
}

.inbox-message-cleanup {
  align-items: center;
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  color: #334155;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  gap: 0.45rem;
  line-height: 1;
  padding: 0.65rem 0.85rem;
  white-space: nowrap;
}

.inbox-message-cleanup span {
  color: #64748b;
  font-size: 0.8rem;
}

.inbox-message-cleanup:hover:not(:disabled) {
  border-color: #93c5fd;
  color: #1d4ed8;
}

.inbox-message-cleanup:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.inbox-message-filters {
  align-items: center;
  background: #f8fafc;
  border: 1px solid #dbe3ee;
  border-radius: 999px;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.2rem;
  max-width: 100%;
  min-width: 0;
  padding: 0.2rem;
}

.inbox-message-filter {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: #475569;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  gap: 0.4rem;
  line-height: 1;
  padding: 0.5rem 0.75rem;
  white-space: nowrap;
}

.inbox-message-filter span {
  color: #64748b;
  font-size: 0.8rem;
  font-weight: 800;
}

.inbox-message-filter:hover {
  color: #1f2937;
}

.inbox-message-filter--active {
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.12);
  color: #0f172a;
}

.inbox-message-card {
  align-items: flex-start;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.07), 0 8px 20px rgba(15, 23, 42, 0.05);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: 1rem;
}

.inbox-message-card__link {
  align-items: flex-start;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  display: flex;
  flex: 1;
  font: inherit;
  gap: 1rem;
  justify-content: space-between;
  min-width: 0;
  padding: 0;
  text-align: left;
  text-decoration: none;
}

.inbox-message-card--link {
  color: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.inbox-message-card {
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.inbox-message-card:hover {
  border-color: #bfdbfe;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08), 0 12px 24px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}

.inbox-message-card--link:hover {
  border-color: #bfdbfe;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08), 0 12px 24px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}

.inbox-message-card--unread {
  border-color: #93c5fd;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12), 0 10px 24px rgba(15, 23, 42, 0.08);
}

.inbox-message-card--muted {
  background: #fbfcfe;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.inbox-message-card--muted h2,
.inbox-message-card--muted .inbox-message-card__latest {
  opacity: 0.78;
}

.inbox-message-card--archived {
  background: #fbfcfe;
}

.inbox-message-card__body {
  flex: 1;
  min-width: 0;
}

.inbox-message-card__heading {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: space-between;
}

.inbox-message-card__badges {
  align-items: center;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.inbox-message-card__status {
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  border-radius: 999px;
  color: #3730a3;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
  padding: 0.28rem 0.5rem;
  text-transform: uppercase;
}

.inbox-message-card__unread {
  background: #dbeafe;
  border: 1px solid #93c5fd;
  border-radius: 999px;
  color: #1d4ed8;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
  padding: 0.28rem 0.5rem;
  text-transform: uppercase;
}

.inbox-message-card__muted {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
  padding: 0.28rem 0.5rem;
  text-transform: uppercase;
}

.inbox-message-card h2 {
  color: #1f2937;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0.1rem 0 0.35rem;
}

.inbox-message-card__title-link {
  color: inherit;
  text-decoration: none;
}

.inbox-message-card__title-link:hover {
  color: #1f8dd6;
}

.inbox-message-card__latest,
.inbox-message-card__preview,
.inbox-message-card__activity {
  color: #4b5563;
  margin: 0;
}

.inbox-message-card__activity {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  font-size: 0.88rem;
  gap: 0.4rem;
  margin: -0.1rem 0 0.35rem;
}

.inbox-message-card__activity time {
  color: #64748b;
  font-weight: 700;
}

.inbox-message-card__activity time::before {
  content: "·";
  font-weight: 600;
  margin-right: 0.4rem;
}

.inbox-message-card__latest {
  display: flex;
  gap: 0.45rem;
  line-height: 1.45;
}

.inbox-message-card__thread-preview {
  display: grid;
  gap: 0.25rem;
}

.inbox-message-card__latest--context {
  color: #64748b;
}

.inbox-message-card__latest--reply {
  border-left: 2px solid #cbd5e1;
  margin-left: 0.65rem;
  padding-left: 0.75rem;
}

.inbox-message-card__latest strong {
  color: #1f2937;
  flex-shrink: 0;
}

.inbox-message-card__latest span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.inbox-message-card__meta {
  align-items: flex-end;
  color: #64748b;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  font-size: 0.9rem;
  gap: 0.65rem;
}

.inbox-message-card__meta time {
  color: #334155;
  font-weight: 700;
}

.inbox-message-card__actions {
  align-items: flex-end;
  display: flex;
  flex-shrink: 0;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: flex-end;
}

@media (hover: hover) and (pointer: fine) {
  .inbox-message-card__actions {
    opacity: 0;
    transition: opacity 0.15s ease;
  }

  .inbox-message-card:hover .inbox-message-card__actions,
  .inbox-message-card:focus-within .inbox-message-card__actions {
    opacity: 1;
  }
}

.inbox-message-card__action {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  color: #334155;
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1;
  padding: 0.45rem 0.65rem;
  white-space: nowrap;
}

.inbox-message-card__action:hover {
  background: #eff6ff;
  border-color: #93c5fd;
  color: #1d4ed8;
}

.kept-conversation-dock-state {
  pointer-events: none;
}

.kept-conversation-dock-state--open {
  background: transparent;
  bottom: 0;
  position: fixed;
  right: 0;
  top: 0;
  width: min(38rem, 100vw);
  z-index: 54;
}

.kept-conversation-dock-state .conversation-dock {
  pointer-events: auto;
}

.conversation-dock {
  background: var(--theme-surface);
  border: 1px solid var(--theme-border);
  border-radius: 8px;
  bottom: 1.25rem;
  box-shadow: 0 18px 50px rgba(2, 8, 23, 0.28);
  color: var(--theme-text);
  display: grid;
  gap: 0.85rem;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  height: min(46rem, calc(100vh - 2.5rem));
  max-height: min(46rem, calc(100vh - 2.5rem));
  max-width: calc(100vw - 2rem);
  overflow: hidden;
  padding: 0.95rem;
  position: fixed;
  right: 1.25rem;
  width: 32rem;
  z-index: 55;
}

.conversation-dock--global {
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.conversation-dock--global.conversation-dock--with-switcher {
  grid-template-rows: auto auto minmax(0, 1fr) auto;
}

.conversation-dock__header {
  align-items: flex-start;
  display: flex;
  gap: 0.8rem;
  justify-content: space-between;
}

.conversation-dock__header p {
  color: var(--theme-accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  margin: 0 0 0.35rem;
  text-transform: uppercase;
}

.conversation-dock__header h2 {
  color: var(--theme-text-strong);
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.2;
  margin: 0;
}

.conversation-dock__close {
  align-items: center;
  border: 1px solid var(--theme-border);
  border-radius: 999px;
  color: var(--theme-text-muted);
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 1.2rem;
  height: 2rem;
  justify-content: center;
  line-height: 1;
  text-decoration: none;
  width: 2rem;
}

.conversation-dock__close:hover {
  border-color: var(--theme-accent);
  color: var(--theme-accent);
}

.conversation-dock__switcher {
  display: grid;
  gap: 0.7rem;
  max-width: 100%;
  min-width: 0;
  overflow: visible;
  padding-bottom: 0.1rem;
}

.conversation-dock__switch-group {
  display: grid;
  flex: 1 1 auto;
  gap: 0.35rem;
  max-width: 100%;
  min-width: 0;
}

.conversation-dock__switch-group > p {
  color: var(--theme-accent);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  margin: 0;
  text-transform: uppercase;
}

.conversation-dock__switch-group > div {
  display: grid;
  gap: 0.45rem;
}

.conversation-dock__chat-list {
  align-content: start;
  display: grid;
  gap: 0.45rem;
  grid-template-columns: repeat(auto-fit, minmax(min(11rem, 100%), 1fr));
  max-height: 8rem;
  max-width: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0.05rem 0.15rem 0.1rem 0;
  scrollbar-gutter: stable;
}

.conversation-dock__chat-choice {
  align-items: center;
  background: transparent;
  border: 1px solid var(--theme-border);
  border-radius: 8px;
  color: var(--theme-text-muted);
  display: grid;
  gap: 0.15rem;
  justify-content: flex-start;
  line-height: 1.2;
  min-height: 2.75rem;
  max-width: none;
  min-width: 0;
  padding: 0.5rem 0.65rem;
  position: relative;
  text-align: left;
  width: 100%;
}

.conversation-dock__chat-choice:hover {
  background: var(--theme-surface-soft);
  border-color: var(--theme-border-strong);
  color: var(--theme-text-strong);
}

.conversation-dock__chat-choice:focus {
  outline: none;
}

.conversation-dock__chat-choice:focus-visible {
  border-color: var(--theme-accent);
  box-shadow: 0 0 0 3px var(--theme-focus-ring);
}

.conversation-dock__chat-choice span,
.conversation-dock__chat-choice small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.conversation-dock__chat-choice span {
  color: var(--theme-text-strong);
  font-size: 0.92rem;
  font-weight: 800;
}

.conversation-dock__chat-choice small {
  color: var(--theme-text-muted);
  font-size: 0.68rem;
  font-weight: 800;
}

.conversation-dock__chat-choice--active {
  background: var(--theme-surface-soft);
  border-color: var(--theme-border-strong);
  color: var(--theme-text-strong);
  box-shadow: inset 3px 0 0 var(--theme-accent);
}

.conversation-dock__chat-choice--active::before {
  content: none;
}

.conversation-dock__chat-choice--unread:not(.conversation-dock__chat-choice--active) {
  border-color: var(--theme-border-strong);
  color: var(--theme-link);
}

.conversation-dock__chat-choice--unread small {
  background: var(--theme-accent-soft);
  border-radius: 999px;
  color: var(--theme-link);
  padding: 0.1rem 0.35rem;
}

.conversation-dock__switch-group > .conversation-dock__mobile-target-list {
  display: none;
}

.conversation-dock__mobile-target {
  align-items: center;
  background: var(--theme-surface);
  border: 1px solid var(--theme-border);
  border-radius: 8px;
  color: var(--theme-text-muted);
  display: grid;
  gap: 0.2rem;
  min-height: 3rem;
  padding: 0.55rem 0.7rem;
  text-align: left;
  width: 100%;
}

.conversation-dock__mobile-target span,
.conversation-dock__mobile-target small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.conversation-dock__mobile-target span {
  color: var(--theme-text-strong);
  font-size: 0.95rem;
  font-weight: 800;
}

.conversation-dock__mobile-target small {
  color: var(--theme-text-muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.conversation-dock__mobile-target--active {
  background: var(--theme-surface-soft);
  border-color: var(--theme-border-strong);
  box-shadow: inset 3px 0 0 var(--theme-accent);
}

.conversation-dock__mobile-target--unread small {
  color: var(--theme-link);
}

.conversation-dock__mobile-target-empty {
  color: var(--theme-text-muted);
  font-size: 0.9rem;
  margin: 0;
  padding: 0.5rem 0.1rem;
}

.conversation-dock__select-form {
  display: grid;
  gap: 0.4rem;
  min-width: 0;
  width: 100%;
}

.conversation-dock__target-filter-form {
  display: grid;
  gap: 0.4rem;
  min-width: 0;
  width: 100%;
}

.conversation-dock__target-filter-form label,
.conversation-dock__select-form label {
  color: var(--theme-accent);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.conversation-dock__target-filter-form input,
.conversation-dock__select-form select {
  -webkit-appearance: auto;
     -moz-appearance: auto;
          appearance: auto;
  background: var(--theme-input-bg);
  border: 1px solid var(--theme-input-border);
  border-radius: 8px;
  color: var(--theme-input-text);
  font: inherit;
  font-weight: 700;
  max-width: 100%;
  min-height: 2.75rem;
  min-width: 0;
  padding: 0.5rem 0.7rem;
}

.conversation-dock__target-filter-form input {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

.conversation-dock__target-filter-form input:focus,
.conversation-dock__select-form select:focus {
  border-color: var(--theme-input-focus);
  box-shadow: 0 0 0 3px var(--theme-focus-ring);
  outline: none;
}

.conversation-dock__switch {
  border: 1px solid var(--theme-border);
  border-radius: 8px;
  color: var(--theme-text-muted);
  display: grid;
  flex: 0 0 7.75rem;
  gap: 0.15rem;
  min-width: 0;
  padding: 0.45rem 0.6rem;
  text-decoration: none;
}

.conversation-dock__switch span,
.conversation-dock__switch small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.conversation-dock__switch span {
  color: var(--theme-text-strong);
  font-weight: 800;
}

.conversation-dock__switch small {
  color: var(--theme-text-muted);
  font-size: 0.74rem;
  font-weight: 700;
}

.conversation-dock__switch--active {
  border-color: var(--theme-accent);
  box-shadow: inset 0 0 0 1px var(--theme-accent);
}

.conversation-dock__switch--unread {
  border-color: var(--theme-accent);
}

.conversation-dock__thread {
  align-content: start;
  display: grid;
  gap: 0.65rem;
  min-height: 0;
  overflow-y: scroll;
  padding: 0.2rem 0.25rem 0.2rem 0;
  scrollbar-gutter: stable;
}

.conversation-dock__empty {
  align-self: center;
  color: var(--theme-text-muted);
  display: grid;
  gap: 0.35rem;
  justify-items: center;
  padding: 1.5rem;
  text-align: center;
}

.conversation-dock__empty h3 {
  color: var(--theme-text-strong);
  font-size: 1rem;
  font-weight: 800;
  margin: 0;
}

.conversation-dock__empty p {
  margin: 0;
}

.conversation-dock-message {
  align-self: start;
  border: 1px solid var(--theme-border);
  border-radius: 8px;
  display: grid;
  gap: 0.35rem;
  max-width: 82%;
  min-width: min(8.5rem, 82%);
  padding: 0.65rem 0.75rem;
}

.conversation-dock-message--sent {
  justify-self: end;
}

.conversation-dock-message--received {
  justify-self: start;
}

.conversation-dock-message__header {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  -moz-column-gap: 0.45rem;
       column-gap: 0.45rem;
  row-gap: 0.15rem;
}

.conversation-dock-message__header strong {
  color: var(--theme-text-strong);
}

.conversation-dock-message__header span {
  color: var(--theme-text-muted);
  font-size: 0.82rem;
}

.conversation-dock-message p {
  color: var(--theme-text);
  line-height: 1.35;
  margin: 0;
  overflow-wrap: anywhere;
}

.conversation-dock__footer {
  border-top: 1px solid var(--theme-border);
  display: grid;
  gap: 0.75rem;
  padding-top: 0.85rem;
}

.conversation-dock__reply {
  display: grid;
  gap: 0.65rem;
}

.conversation-dock__reply-heading {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: space-between;
}

.conversation-dock__reply-heading h3 {
  color: var(--theme-text-strong);
  font-size: 0.95rem;
  font-weight: 800;
  margin: 0;
}

.conversation-dock__reply-heading p,
.conversation-dock__hint {
  color: var(--theme-text-muted);
  font-size: 0.86rem;
  margin: 0;
}

.conversation-dock__textarea {
  background: var(--theme-input-bg);
  border: 1px solid var(--theme-input-border);
  border-radius: 8px;
  color: var(--theme-input-text);
  display: block;
  font: inherit;
  line-height: 1.4;
  min-height: 8.5rem;
  padding: 0.8rem 0.85rem;
  resize: vertical;
  width: 100%;
}

.conversation-dock__textarea:focus {
  border-color: var(--theme-input-focus);
  box-shadow: 0 0 0 3px var(--theme-focus-ring);
  outline: none;
}

.conversation-dock__actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
  margin-top: 0.65rem;
}

.conversation-dock__actions .button-secondary,
.conversation-dock__actions .form-submit {
  min-width: 8.5rem;
}

.conversation-dock-message--new {
  animation: conversation-dock-message-highlight 3s ease-out;
  border-color: var(--theme-accent);
  box-shadow: 0 0 0 3px var(--theme-focus-ring);
}

@keyframes conversation-dock-message-highlight {
  0% {
    background: var(--theme-accent-soft);
  }

  100% {
    background: transparent;
  }
}

@media (max-width: 640px) {
  .kept-conversation-dock-state--open {
    background: var(--theme-page-bg, #0f172a);
    left: 0;
    overflow: hidden;
    width: 100vw;
  }

  .conversation-dock__actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .conversation-dock__actions .button-secondary,
  .conversation-dock__actions .form-submit {
    width: 100%;
  }

  .inbox-message-heading,
  .inbox-message-toolbar {
    align-items: stretch;
    width: 100%;
  }

  .inbox-message-cleanup {
    justify-content: center;
    white-space: normal;
  }

  .inbox-message-filters {
    border-radius: 14px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .inbox-message-filter {
    justify-content: center;
    min-width: 0;
    white-space: normal;
  }

  .inbox-message-filter:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .inbox-message-card {
    flex-direction: column;
    gap: 0.75rem;
    padding: 0.85rem;
  }

  .inbox-message-card__link {
    flex-direction: column;
    gap: 0.65rem;
    width: 100%;
  }

  .inbox-message-card__meta {
    align-items: center;
    flex-direction: row;
    font-size: 0.82rem;
    gap: 0.5rem;
    justify-content: space-between;
    width: 100%;
  }

  .inbox-message-card__actions {
    align-items: stretch;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr));
    width: 100%;
  }

  .inbox-message-card__action {
    justify-content: center;
    min-height: 2.5rem;
    padding-inline: 0.8rem;
  }

  .inbox-message-card__latest {
    display: grid;
    gap: 0.15rem;
  }

  .conversation-dock {
    border-radius: 0;
    border-inline: 0;
    bottom: 0;
    height: 100vh;
    height: 100dvh;
    left: 0;
    max-height: 100vh;
    max-height: 100dvh;
    max-width: none;
    overscroll-behavior: contain;
    padding: 0.85rem 0.85rem max(0.85rem, env(safe-area-inset-bottom));
    right: 0;
    top: 0;
    width: auto;
  }

  .conversation-dock__switcher {
    gap: 0.55rem;
  }

  .conversation-dock__switch-group > .conversation-dock__mobile-target-list {
    display: none;
  }

  .conversation-dock__mobile-target {
    min-height: 3.15rem;
  }

  .conversation-dock__empty {
    align-content: center;
    min-height: 100%;
    padding: 1.2rem 0.5rem;
  }

  .conversation-dock__textarea {
    min-height: 6rem;
  }
}

.conversation-thread {
  display: grid;
  gap: 0.85rem;
  margin-inline: auto;
  max-width: min(58rem, 100%);
  width: 100%;
}

.conversation-message {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.07), 0 8px 20px rgba(15, 23, 42, 0.05);
  max-width: min(42rem, calc(100% - 3rem));
  padding: 1rem;
}

.conversation-action-group {
  align-items: center;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.conversation-message--sent {
  justify-self: end;
}

.conversation-message--received {
  justify-self: start;
}

.conversation-message--new {
  animation: conversation-message-highlight 3s ease-out;
  border-color: #93c5fd;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.14), 0 10px 24px rgba(15, 23, 42, 0.08);
}

@keyframes conversation-message-highlight {
  0% {
    background: #eff6ff;
    border-color: #60a5fa;
  }

  100% {
    background: #fff;
    border-color: #e5e7eb;
  }
}

@keyframes conversation-message-highlight-dark {
  0% {
    background: #1e3a5f;
    border-color: #60a5fa;
  }

  100% {
    background: #172033;
    border-color: #334155;
  }
}

.conversation-message__header {
  align-items: center;
  color: #64748b;
  display: flex;
  flex-wrap: wrap;
  font-size: 0.9rem;
  gap: 0.5rem;
  justify-content: space-between;
}

.conversation-message__header strong {
  color: #1f2937;
}

.conversation-message__body {
  color: #374151;
  line-height: 1.55;
  margin: 0.75rem 0 0;
  white-space: pre-wrap;
}

.conversation-message__source-link {
  margin-top: 0.75rem;
}

.conversation-muted-notice {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  color: #475569;
  margin: -0.25rem 0 1rem;
  padding: 0.85rem 1rem;
}

.conversation-state-notice > div {
  display: grid;
  gap: 0.65rem;
}

.conversation-muted-notice strong {
  color: #1f2937;
  display: block;
  font-weight: 800;
  margin-bottom: 0.2rem;
}

.conversation-muted-notice p,
.conversation-reply__muted-hint {
  color: #64748b;
  line-height: 1.45;
  margin: 0;
}

.conversation-reply {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.07), 0 8px 20px rgba(15, 23, 42, 0.04);
  margin-top: 1.25rem;
  padding: 1rem;
}

.conversation-reply h2 {
  color: #1f2937;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
}

.conversation-reply__heading {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
}

.conversation-reply__sent {
  color: #047857;
  font-size: 0.9rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
}

.conversation-reply__muted-hint {
  margin: -0.35rem 0 0.8rem;
}

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

.conversation-reply__sending {
  color: #64748b;
  display: none;
  font-size: 0.9rem;
  font-weight: 700;
}

.phx-submit-loading .conversation-reply__sending {
  display: inline-flex;
}

.empty-state__actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@media (max-width: 640px) {
  .conversation-page {
    padding: 0.65rem 0.65rem 5rem;
  }

  .conversation-hero {
    gap: 0.85rem;
    margin-bottom: 1rem;
    padding: 0.65rem 0 1rem;
  }

  .conversation-hero h1 {
    font-size: 1.9rem;
  }

  .conversation-hero p:not(.section-eyebrow) {
    line-height: 1.45;
    margin-top: 0.45rem;
  }

  .conversation-hero__actions .button-secondary {
    min-height: 2.75rem;
    width: 100%;
  }

  .conversation-action-group {
    display: grid;
    gap: 0.5rem;
    width: 100%;
  }

  .conversation-thread {
    gap: 0.7rem;
  }

  .conversation-message {
    max-width: min(88%, 34rem);
    padding: 0.85rem;
  }

  .conversation-message__header {
    font-size: 0.82rem;
  }

  .conversation-reply {
    bottom: max(0.75rem, env(safe-area-inset-bottom));
    margin-top: 1rem;
    padding: 0.8rem;
    position: sticky;
    z-index: 20;
  }

  .conversation-reply h2 {
    font-size: 1rem;
    margin-bottom: 0.55rem;
  }

  .conversation-reply .post-form-card__textarea {
    min-height: 5.5rem;
  }

  .conversation-reply__actions {
    margin-top: 0.75rem;
  }

  .conversation-reply__actions .form-submit {
    min-height: 2.85rem;
    width: 100%;
  }

  .inbox-message-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .inbox-message-card {
    flex-direction: column;
  }
}

.post-show-shell {
  background: #fff;
  margin-left: auto;
  margin-right: auto;
  max-width: var(--nested-content-max-width);
  padding: 2.1rem 1.35rem;
  width: 100%;
}

@media (min-width: 1024px) {
  .post-show-page {
    margin: 0;
    padding: 1.5rem 0.5rem 6rem;
  }

  .post-show-shell {
    max-width: none;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
}

.post-show-top-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-left: 4px solid #1f8dd6;
  border-radius: 8px;
  box-shadow: var(--nested-reply-shadow);
  padding: 1.25rem 1.35rem 1.25rem 1.1rem;
}

.post-detail-header {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.post-detail-title {
  color: var(--theme-text-strong, #111827);
  font-family: "Georgia", "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.35rem);
  font-weight: 700;
  line-height: 1.04;
  margin: 0;
}

.post-show-top-card__footer {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-top: 1.5rem;
}

.post-show-top-card__links,
.post-show-top-card__share {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.post-show-top-card__links {
  flex: 1 1 auto;
}

.post-show-top-card__share {
  flex: 0 0 auto;
  justify-content: flex-end;
}

.reply-thread {
  margin-top: 0.25rem;
  position: relative;
}

.reply-thread::before {
  background: #d1d5db;
  border-radius: 999px;
  bottom: 0.85rem;
  content: "";
  left: 1.1rem;
  position: absolute;
  top: 1.35rem;
  width: 2px;
}

.reply-thread__root {
  position: relative;
  z-index: 1;
}

.reply-thread__root::before {
  background: #1f8dd6;
  border: 3px solid #fff;
  border-radius: 999px;
  box-shadow: 0 0 0 1px #bfdbfe;
  content: "";
  height: 0.85rem;
  left: -0.61rem;
  position: absolute;
  top: 1.4rem;
  width: 0.85rem;
}

.reply-thread__replies {
  margin-left: 2.2rem;
  padding-left: 1.1rem;
  position: relative;
  z-index: 1;
}

.post-reply-form--nested {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  box-shadow: var(--nested-reply-shadow);
  margin: 1.35rem 0.95rem 1.35rem 3.35rem;
  padding: 1rem 1.15rem;
}

.post-reply-list {
  display: grid;
  gap: 0.6rem;
}

.post-reply,
.post-container {
  background: var(--theme-surface, #fff);
  border: 0;
  border-bottom: 1px solid var(--theme-border, rgba(0, 0, 0, 0.25));
  border-radius: var(--post-surface-radius);
  box-shadow: var(--post-surface-shadow);
  color: var(--theme-text-muted, #374151);
  display: block;
  padding: 1.05rem 1.15rem 1rem;
}

.post-reply {
  isolation: isolate;
  position: relative;
  scroll-margin-top: 7rem;
  z-index: 0;
}

.post-reply:target,
.post-reply.is-reply-target {
  border-bottom-color: rgba(63, 127, 230, 0.55);
  box-shadow:
    0 0 0 2px rgba(63, 127, 230, 0.18),
    var(--nested-reply-shadow);
}

.post-reply--child {
  margin: 1.35rem 0.25rem 0.25rem 2.35rem;
}

.post-list .child-post {
  display: block;
  margin: 1.35rem 0.25rem 0.25rem 2.35rem;
}

.post-list .post-container:has(.child-post) {
  box-shadow: var(--nested-reply-shadow);
}

.post-list .child-post>.post-container,
.post-list .child-post>.post-container .child-post>.post-container {
  border-color: var(--theme-border, #e5e7eb);
  box-shadow: var(--nested-reply-shadow);
}

.post-list .child-post>.post-container {
  margin-top: 0;
}

.post-form-shell--reply .new-post-container {
  background: var(--theme-surface-muted, #f8fafc);
  border: 1px solid var(--theme-border, #e5e7eb);
  border-radius: 6px;
  box-shadow: none;
  padding: 0.8rem 0.85rem 0.9rem;
}

.post-reply__thread {
  margin-bottom: -0.35rem;
  margin-right: -0.6rem;
}

.post-reply-context {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  margin-top: 0.75rem;
  padding: 0.75rem 0.9rem;
}

.post-reply-context__meta {
  color: #6b7280;
  font-size: 0.85rem;
  margin: 0 0 0.35rem;
}

.post-reply-context__text {
  color: #374151;
  font-size: 0.95rem;
  margin: 0;
}

.link.post-reply__collapse-control {
  align-items: center;
  color: #111827;
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 600;
  gap: 0.4rem;
  height: auto;
  justify-content: center;
  margin-bottom: 0.85rem;
  padding: 0.1rem 0;
  width: auto;
}

.link.post-reply__collapse-control:hover {
  color: #111827;
  text-decoration: underline;
}

.link.post-reply__collapse-control:focus,
.link.post-reply__collapse-control:focus-visible {
  color: #111827;
  outline: none;
  text-decoration: underline;
}

.link.post-reply__collapse-control:focus-visible {
  border-radius: 0.35rem;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--theme-link, #2563eb) 24%, transparent);
  outline: 1px solid var(--theme-link, #2563eb);
  outline-offset: 3px;
}

.post-reply__collapse-icon {
  border-left: 0.15rem solid currentColor;
  border-top: 0.15rem solid currentColor;
  flex: 0 0 auto;
  display: block;
  height: 0.5rem;
  transform: rotate(45deg);
  width: 0.5rem;
}

.post-reply__collapse-control[aria-expanded="false"] .post-reply__collapse-icon {
  transform: rotate(225deg);
}

.post-reply__collapse-label {
  line-height: 1.2;
}

.post-collapse-preview {
  align-items: stretch;
  background: color-mix(in srgb, var(--theme-surface-muted, #eef2f7) 72%, transparent);
  border: 1px solid var(--theme-border, #dbe3f0);
  border-radius: var(--post-surface-radius);
  display: grid;
  gap: 0.85rem;
  grid-template-columns: minmax(0, 1fr) minmax(6.5rem, 9rem);
  margin-top: -0.2rem;
  padding: 0.85rem;
}

.post-collapse-preview__body {
  display: grid;
  gap: 0.45rem;
  min-width: 0;
}

.post-collapse-preview__eyebrow,
.post-collapse-preview__meta {
  color: var(--theme-text-soft, #64748b);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
}

.post-collapse-preview__eyebrow {
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.post-collapse-preview h3 {
  color: var(--theme-text-strong, #111827);
  font-size: 1rem;
  line-height: 1.25;
  margin: 0.15rem 0 0;
}

.post-collapse-preview__text {
  color: var(--theme-text-muted, #4b5563);
  font-size: 0.94rem;
  line-height: 1.45;
  margin: 0;
}

.post-collapse-preview__media {
  min-width: 0;
}

.post-collapse-preview__media .post-media-gallery {
  height: 100%;
  margin: 0;
  max-width: 100%;
}

.post-collapse-preview__media .post-media-gallery__item {
  height: 100%;
}

.post-collapse-preview__media .post-media-gallery__media,
.post-collapse-preview__media .post-media-gallery__fallback {
  aspect-ratio: 1 / 1;
}

.post-reply__row {
  align-items: flex-start;
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
}

.post-reply__body {
  flex: 1 1 auto;
  min-width: 0;
  text-align: left;
}

.post-reply__text {
  color: #4b5563;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 1rem;
  line-height: 1.45;
  margin: 0 0 1rem;
  white-space: pre-wrap;
}

.post-reply__meta {
  color: var(--theme-text-soft, #6b7280);
  font-size: 0.875rem;
  margin: 0;
}

.post-reply__actions {
  align-items: flex-end;
  align-self: flex-end;
  display: grid;
  flex: 0 0 auto;
  gap: 0.45rem;
  justify-items: end;
  margin-left: auto;
}

.post-reply__like-row,
.post-reply__action-row {
  align-items: center;
  display: flex;
  gap: 0.55rem;
}

.post-reply__action-row {
  justify-content: flex-end;
}

.post-reply__action-row .link {
  align-items: center;
  display: inline-flex;
  min-height: 1.75rem;
}

.post-reply__icon-button {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 0.3rem;
  color: var(--theme-link, #1f8dd6);
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
  padding: 0;
}

.post-reply__icon-button:focus,
.post-reply__icon-button:active {
  background: transparent;
  box-shadow: none;
  outline: none;
}

.post-reply__icon-button:focus-visible {
  box-shadow: 0 0 0 2px rgba(116, 211, 255, 0.28);
  outline: 1px solid rgba(116, 211, 255, 0.75);
  outline-offset: 2px;
}

.post-reply__icon-button--static {
  cursor: default;
}

.post-reply__like-icon {
  display: block;
  height: 1.35rem;
  width: 1.35rem;
}

.post-reply__like-count {
  color: var(--theme-text-soft, #6b7280);
  font-size: 0.95rem;
}

.content-section {
  margin-bottom: 3rem;
}

.section-heading-row {
  align-items: flex-end;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.section-heading-row h2 {
  color: #1f2937;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
}

.section-support {
  color: #4b5563;
  font-size: 1rem;
  line-height: 1.45;
  margin: 0.4rem 0 0;
  max-width: 44rem;
}

.section-eyebrow {
  color: #2563eb;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0;
  margin: 0 0 0.35rem;
  text-transform: uppercase;
}

.interest-breadcrumb {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  min-width: 0;
}

.interest-breadcrumb__link {
  color: inherit;
  min-width: 0;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.interest-breadcrumb__link:hover,
.interest-breadcrumb__link:focus {
  text-decoration: underline;
}

.interest-breadcrumb__separator {
  color: #64748b;
}

.admin-toolbar {
  align-items: flex-start;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.admin-toolbar h2 {
  color: #1f2937;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
}

.admin-toolbar p {
  color: #4b5563;
  margin: 0.35rem 0 0;
}

.admin-attention-strip {
  align-items: center;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding: 1rem;
}

.admin-attention-strip h3 {
  color: #7c2d12;
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
}

.admin-attention-strip__links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

.admin-workbench {
  background: var(--theme-surface);
  border: 1px solid var(--theme-border);
  border-radius: 8px;
  box-shadow: var(--theme-shadow);
  display: grid;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding: 1rem;
}

.admin-workbench__header h3 {
  color: var(--theme-text);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0.15rem 0 0;
}

.admin-workbench__groups {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-workbench__group {
  display: grid;
  gap: 0.65rem;
}

.admin-workbench__group h4 {
  color: var(--theme-text-muted);
  font-size: 0.85rem;
  font-weight: 700;
  margin: 0;
  text-transform: uppercase;
}

.admin-workbench__items {
  display: grid;
  gap: 0.55rem;
}

.admin-workbench__item {
  background: var(--theme-surface-muted);
  border: 1px solid var(--theme-border);
  border-radius: 6px;
  color: var(--theme-link);
  display: grid;
  gap: 0.15rem;
  padding: 0.75rem;
  text-decoration: none;
}

.admin-workbench__item:hover {
  border-color: var(--theme-link);
  color: var(--theme-link-hover);
}

.admin-workbench__item span {
  font-weight: 700;
}

.admin-workbench__item small {
  color: var(--theme-text-muted);
  font-size: 0.85rem;
}

.interest-approval-list {
  display: grid;
  gap: 0.85rem;
}

.interest-approval-item {
  align-items: center;
  background: var(--theme-surface);
  border: 1px solid var(--theme-border);
  border-radius: 8px;
  box-shadow: var(--theme-shadow);
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 1rem;
}

.interest-approval-item__body {
  display: grid;
  gap: 0.45rem;
}

.interest-approval-item__body h3 {
  color: var(--theme-text);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
}

.interest-approval-item__body p:not(.section-eyebrow) {
  color: var(--theme-text-soft);
  line-height: 1.45;
  margin: 0;
}

.interest-approval-item__meta {
  color: var(--theme-text-soft);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.9rem;
  gap: 0.5rem;
}

.interest-approval-item__meta span {
  background: var(--theme-surface-muted);
  border: 1px solid var(--theme-border);
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
}

.interest-approval-item__notice {
  background: color-mix(in srgb, var(--theme-accent-soft) 72%, var(--theme-surface) 28%);
  border: 1px solid color-mix(in srgb, var(--theme-accent-border) 72%, var(--theme-border) 28%);
  border-radius: 8px;
  color: var(--theme-text);
  font-size: 0.9rem;
  padding: 0.65rem 0.75rem;
}

.interest-approval-item__actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: flex-end;
}

.admin-search-panel {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  margin-bottom: 1.25rem;
  padding: 1rem;
}

.admin-role-update-action {
  margin-bottom: 0.75rem;
  margin-top: 1.75rem;
}

.sidebar-admin-group-label {
  color: #64748b;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding-top: 0.45rem;
  text-transform: uppercase;
}

body.appearance-dark .sidebar-admin-group-label {
  color: #94a3b8;
}

body.appearance-dark .admin-user-action--imitate {
  background: #1e3a5f !important;
  border-color: #2f5d91 !important;
  color: #dbeafe !important;
}

body.appearance-dark .admin-user-action--imitate:hover {
  background: #244f80 !important;
  border-color: #60a5fa !important;
  color: #f8fafc !important;
}

@media (prefers-color-scheme: dark) {
  body.appearance-system .admin-user-action--imitate {
    background: #1e3a5f !important;
    border-color: #2f5d91 !important;
    color: #dbeafe !important;
  }

  body.appearance-system .admin-user-action--imitate:hover {
    background: #244f80 !important;
    border-color: #60a5fa !important;
    color: #f8fafc !important;
  }
}

.table-empty-state {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  justify-content: center;
  min-height: 5rem;
}

.table-empty-state strong {
  color: #1f2937;
}

.admin-status-badge {
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.4rem 0.65rem;
}

.admin-status-badge--warning {
  background: #fef3c7;
  color: #92400e;
}

.admin-status-badge--danger {
  background: #fee2e2;
  color: #991b1b;
}

.admin-status-badge--neutral {
  background: #f1f5f9;
  color: #475569;
}

body.appearance-dark .admin-status-badge--warning {
  background: #4d3b12;
  color: #fde68a;
}

body.appearance-dark .admin-status-badge--danger {
  background: #4c1d1d;
  color: #fecaca;
}

body.appearance-dark .admin-status-badge--neutral {
  background: #263241;
  color: #cbd5e1;
}

.surface-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  min-width: 0;
}

.masonry-card-grid {
  -moz-column-count: 1;
       column-count: 1;
  -moz-column-gap: 1.25rem;
       column-gap: 1.25rem;
}

.masonry-card-grid>* {
  -moz-column-break-inside: avoid;
       break-inside: avoid;
  display: inline-block;
  margin: 0 0 1.25rem;
  width: 100%;
}

.masonry-card-grid--gap-4 {
  -moz-column-gap: 1rem;
       column-gap: 1rem;
}

.masonry-card-grid--gap-4>* {
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .masonry-card-grid--sm-2 {
    -moz-column-count: 2;
         column-count: 2;
  }
}

@media (min-width: 768px) {
  .masonry-card-grid--md-2 {
    -moz-column-count: 2;
         column-count: 2;
  }

  .masonry-card-grid--md-3 {
    -moz-column-count: 3;
         column-count: 3;
  }
}

@media (min-width: 1280px) {
  .masonry-card-grid--xl-3 {
    -moz-column-count: 3;
         column-count: 3;
  }
}

.interest-post-grid {
  align-items: start;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 24rem));
}

.interest-post-grid--short {
  max-width: min(100%, 50rem);
}

.interest-post-grid>.surface-card {
  display: flex;
  margin: 0;
  width: 100%;
}

.empty-state--interest-posts {
  border-left: 3px solid var(--theme-accent-border, #93c5fd);
  max-width: min(100%, 42rem);
  padding: 1.25rem;
}

.empty-state--interest-compact {
  max-width: min(100%, 38rem);
  padding: 1rem;
}

.empty-state--interest-compact h3 {
  font-size: 1rem;
}

.empty-state--interest-compact p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

.empty-state--interest {
  align-items: flex-start;
  display: grid;
  gap: 1rem;
}

.empty-state--with-actions {
  grid-template-columns: minmax(0, 1fr) auto;
}

.empty-state--interest .empty-state__actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
  margin: 0;
}

.empty-state--interest .form-submit,
.empty-state--interest .button-secondary {
  white-space: nowrap;
}

.low-content-note {
  align-items: center;
  background: color-mix(in srgb, var(--theme-accent-soft, #dbeafe) 52%, var(--theme-surface, #fff) 48%);
  border: 1px solid color-mix(in srgb, var(--theme-accent-border, #93c5fd) 70%, var(--theme-border, #e5e7eb) 30%);
  border-radius: 8px;
  color: var(--theme-text-muted, #374151);
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  margin-bottom: 1rem;
  max-width: min(100%, 50rem);
  padding: 0.75rem 0.9rem;
}

.low-content-note strong {
  color: var(--theme-text-strong, #1f2937);
}

.low-content-note span {
  color: var(--theme-text-soft, #6b7280);
}

@media (max-width: 640px) {
  .empty-state--with-actions {
    grid-template-columns: 1fr;
  }

  .empty-state--interest .empty-state__actions {
    justify-content: flex-start;
  }
}

.user-activity-post-grid {
  -moz-column-width: 18rem;
       column-width: 18rem;
}

.user-activity-post-grid>.surface-card {
  display: inline-flex;
}

.media-card,
.post-card {
  background: var(--theme-surface, #fff);
  border: 1px solid var(--theme-border, #e5e7eb);
  border-radius: var(--post-surface-radius);
  box-shadow: var(--post-surface-shadow);
  color: var(--theme-text-muted, #374151);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.media-card__preview-link {
  display: block;
}

.media-card__preview-link--video {
  position: relative;
}

.post-card__title-link {
  color: var(--theme-text-strong);
}

.post-card__title-link:hover {
  color: var(--theme-link-hover);
}

.media-card__image,
.post-card__media {
  background: var(--theme-surface-muted, #f8fafc);
  border-bottom: 1px solid var(--theme-border, #e5e7eb);
  height: 12rem;
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
}

.media-processing-placeholder {
  align-items: center;
  background: #101827;
  color: #d1d5db;
  display: flex;
  justify-content: center;
  padding: 1rem;
  position: relative;
  text-align: center;
}

.media-processing-placeholder--video {
  background:
    linear-gradient(135deg, rgba(125, 211, 252, 0.12), rgba(167, 139, 250, 0.16)),
    #0f172a;
  color: #f8fafc;
  isolation: isolate;
  overflow: hidden;
  position: relative;
}

.media-processing-placeholder--video::before {
  animation: processing-thumbnail-pan 3.4s ease-in-out infinite;
  background:
    radial-gradient(circle at 20% 25%, rgba(125, 211, 252, 0.34), transparent 28%),
    radial-gradient(circle at 72% 42%, rgba(244, 114, 182, 0.28), transparent 24%),
    linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.16) 44%, transparent 58%);
  content: "";
  inset: -18%;
  position: absolute;
  transform: translateX(-12%);
  z-index: -1;
}

.media-processing-placeholder--video::after {
  background:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 2rem 2rem;
  content: "";
  inset: 0;
  opacity: 0.22;
  position: absolute;
  z-index: -1;
}

.media-processing-thumbnail__play {
  align-items: center;
  animation: processing-play-pulse 1.8s ease-in-out infinite;
  background: rgba(15, 23, 42, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  box-shadow: 0 0 2rem rgba(125, 211, 252, 0.28);
  display: flex;
  height: 3.25rem;
  justify-content: center;
  width: 3.25rem;
}

.media-processing-thumbnail__play::before {
  border-bottom: 0.55rem solid transparent;
  border-left: 0.85rem solid #f8fafc;
  border-top: 0.55rem solid transparent;
  content: "";
  margin-left: 0.18rem;
}

.media-processing-thumbnail__label {
  bottom: 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  left: 1rem;
  letter-spacing: 0;
  position: absolute;
  right: 1rem;
  text-shadow: 0 1px 1rem rgba(0, 0, 0, 0.72);
}

.media-processing-thumbnail__frames {
  display: grid;
  gap: 0.35rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  left: 1rem;
  position: absolute;
  right: 1rem;
  top: 1rem;
}

.media-processing-thumbnail__frames span {
  animation: processing-frame-fade 1.6s ease-in-out infinite;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 2px;
  height: 0.28rem;
}

.media-processing-thumbnail__frames span:nth-child(2) {
  animation-delay: 0.16s;
}

.media-processing-thumbnail__frames span:nth-child(3) {
  animation-delay: 0.32s;
}

.media-processing-thumbnail__frames span:nth-child(4) {
  animation-delay: 0.48s;
}

@keyframes processing-thumbnail-pan {
  0%,
  100% {
    transform: translateX(-12%) scale(1);
  }

  50% {
    transform: translateX(12%) scale(1.04);
  }
}

@keyframes processing-play-pulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.06);
  }
}

@keyframes processing-frame-fade {
  0%,
  100% {
    opacity: 0.35;
  }

  50% {
    opacity: 0.92;
  }
}

.media-card__badge {
  left: 0.75rem;
  top: 0.75rem;
}

.media-card__body,
.post-card__body {
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
}

.media-card__body h3,
.post-card__body h3 {
  color: var(--theme-text-strong, #1f2937);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5rem;
  margin: 0;
}

.card-title-row {
  align-items: flex-start;
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
}

.reply-count-badge {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  color: #1d4ed8;
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
  padding: 0.35rem 0.6rem;
  white-space: nowrap;
}

.media-card__text-preview {
  color: #4b5563;
  display: block;
  font-size: 0.875rem;
  line-height: 1.5rem;
  margin-top: 0.75rem;
  text-decoration: none;
}

.media-card__text-preview:hover {
  color: #2563eb;
}

.post-card {
  color: inherit;
  text-decoration: none;
}

.interest-post-grid>.post-card:not(:has(> *)) {
  display: none;
}

.post-card--no-excerpt .post-card__body {
  gap: 0.45rem;
  padding: 1.2rem 1.35rem;
}

.post-card__text {
  background: var(--theme-surface-muted, #f8fafc);
  color: var(--theme-text-muted, #374151);
  display: block;
  font-size: 0.95rem;
  line-height: 1.6;
  padding: 1.5rem;
  text-decoration: none;
}

.post-card__text:hover {
  color: var(--theme-link-hover, #2563eb);
}

.meta-text {
  color: #6b7280;
  font-size: 0.875rem;
  line-height: 1.25rem;
  margin-top: 0.5rem;
}

.empty-state,
.callout-strip {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  color: #4b5563;
  padding: 1.25rem 1.5rem;
}

.empty-state h3 {
  color: #1f2937;
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
}

.empty-state p {
  margin: 0 0 1rem;
}

.post-form-page,
.post-form-card {
  margin-left: auto;
  margin-right: auto;
  max-width: 56rem;
  width: 100%;
}

.post-form-page {
  padding: 2rem 1rem 5rem;
}

.post-form-page__heading {
  margin-bottom: 1.5rem;
}

.post-form-page__heading h1 {
  color: #1f2937;
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: 2.5rem;
  line-height: 1;
  margin: 0;
}

.post-form-page__heading p:not(.section-eyebrow) {
  color: #4b5563;
  margin-top: 0.75rem;
}

.post-form-card {
  background: var(--theme-surface, #fff);
  border: 1px solid var(--theme-border, #e5e7eb);
  border-radius: 8px;
  box-shadow: var(--theme-shadow);
  padding: 1.25rem;
}

.post-form-card__grid {
  display: grid;
  gap: 1.25rem;
}

.post-form-card__main,
.post-form-card__side,
.post-form-card__media {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}

.post-form-card__side {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-field__label {
  color: #111827;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.25;
}

.form-field__input,
.form-field__textarea {
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  color: #111827;
  font: inherit;
  padding: 0.7rem 0.85rem;
  width: 100%;
}

.form-field__textarea {
  min-height: 8rem;
  resize: vertical;
}

.form-field__input:focus,
.form-field__textarea:focus {
  border-color: #3f7fe6;
  box-shadow: 0 0 0 3px rgba(63, 127, 230, 0.16);
  outline: none;
}

.post-form .form-field>label:not(.sr-only) {
  align-items: center;
  color: #111827;
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 800;
  gap: 0.45rem;
  line-height: 1.2;
  margin: 0 0 0.1rem;
}

.post-form .form-field>label:not(.sr-only)::before {
  background: #3f7fe6;
  border-radius: 999px;
  content: "";
  display: inline-block;
  height: 0.8rem;
  width: 0.2rem;
}

.post-media-replacement {
  background: var(--theme-surface-muted, #f8fafc);
  border: 1px solid var(--theme-border, #d7e0ee);
  border-radius: 8px;
  padding: 0.85rem;
}

.post-media-replacement__header {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.post-media-replacement__header p,
.post-media-replacement__current,
.post-media-replacement__selected {
  color: var(--theme-text-muted, #4b5563);
  font-size: 0.875rem;
  line-height: 1.4;
  margin: 0;
}

.post-media-replacement__current {
  overflow-wrap: anywhere;
}

.post-media-replacement__preview {
  margin-top: 0.55rem;
}

.post-media-replacement__input {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.35rem;
}

.post-media-replacement__input span {
  color: var(--theme-text-soft, #6b7280);
  font-size: 0.8rem;
}

.post-media-manager-card {
  display: flex;
  flex-direction: column;
}

.post-media-manager-card__badge {
  background: rgba(37, 99, 235, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 999px;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  left: 0.55rem;
  line-height: 1;
  padding: 0.35rem 0.5rem;
  position: absolute;
  top: 0.55rem;
  z-index: 2;
}

.post-media-manager-card__badge::before {
  content: "•";
  margin-right: 0.25rem;
}

.post-media-manager-card__actions {
  border-top: 1px solid var(--theme-border, #e5eaf2);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.post-media-order-button {
  background: var(--theme-surface, #fff);
  border: 0;
  color: var(--theme-text-muted, #1f2937);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.55rem 0.45rem;
}

.post-media-order-button + .post-media-order-button {
  border-left: 1px solid var(--theme-border, #e5eaf2);
}

.post-media-order-button:hover:not(:disabled),
.post-media-order-button:focus-visible:not(:disabled) {
  background: var(--theme-accent-soft, #eff6ff);
  color: var(--theme-link, #1d4ed8);
  outline: none;
}

.post-media-order-button:disabled {
  color: var(--theme-text-soft, #9ca3af);
  cursor: not-allowed;
}

.post-form-save-button {
  align-self: flex-start;
  background: #2563eb !important;
  border: 1px solid #2563eb;
  border-radius: 999px;
  color: #fff !important;
  font-weight: 800;
  padding: 0.65rem 1.15rem;
}

.post-form-save-button:hover,
.post-form-save-button:focus-visible {
  background: #1d4ed8 !important;
  border-color: #1d4ed8;
  outline: none;
}

.post-form-card__input,
.post-form-card__textarea {
  background: var(--theme-input-bg, #fff);
  border: 1px solid var(--theme-input-border, #d7e0ee);
  border-radius: 6px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.07), 0 6px 14px rgba(15, 23, 42, 0.035);
  color: var(--theme-input-text, #1f2937);
  font-size: 1rem;
  line-height: 1.45;
  padding: 0.8rem 0.95rem;
  transition: border-color 120ms ease, box-shadow 120ms ease;
  width: 100% !important;
}

.post-form-card__input:focus,
.post-form-card__textarea:focus {
  border-color: var(--theme-accent, #3f7fe6);
  box-shadow: 0 0 0 3px rgba(63, 127, 230, 0.18), 0 8px 18px rgba(15, 23, 42, 0.06);
  outline: none;
}

.post-form-card__input::-moz-placeholder, .post-form-card__textarea::-moz-placeholder {
  color: var(--theme-text-soft, #a7b0bf);
}

.post-form-card__input::placeholder,
.post-form-card__textarea::placeholder {
  color: var(--theme-text-soft, #a7b0bf);
}

.post-form-card__textarea {
  min-height: 14rem;
  resize: vertical;
}

.post-form-card__file {
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  color: #374151;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem;
}

.post-form-card__file span,
.post-form-card__side-heading {
  color: #1f2937;
  font-size: 0.9rem;
  font-weight: 700;
  margin: 0;
}

.post-form-card__file-input {
  max-width: 100%;
}

.post-form-card__preview {
  max-width: 24rem;
}

.post-form-card__private {
  color: #374151;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  line-height: 1.4;
}

.post-form-card__private legend {
  color: var(--theme-text-strong);
  flex: 0 0 100%;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.post-form-card__private label {
  align-items: center;
  color: var(--theme-text-muted);
  display: inline-flex;
  gap: 0.4rem;
  margin: 0;
}

.post-form-card__private p {
  color: var(--theme-text-soft);
  flex: 0 0 100%;
  font-size: 0.9rem;
  margin: 0;
}

.report-form-card {
  background: var(--theme-surface);
  border: 1px solid var(--theme-border);
  border-radius: 6px;
  box-shadow: var(--theme-shadow);
  color: var(--theme-text-muted);
  margin-left: auto;
  margin-right: auto;
  max-width: 42rem;
  padding: 1.5rem;
}

.report-form-card h2 {
  color: var(--theme-text-strong);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
}

.report-form-card p {
  color: var(--theme-text-muted);
  line-height: 1.6;
  margin-top: 0.5rem;
}

.public-profile-card {
  background: var(--theme-surface);
  border: 1px solid var(--theme-border);
  border-radius: 6px;
  box-sizing: border-box;
  box-shadow: var(--theme-shadow);
  color: var(--theme-text-muted);
  margin-left: auto;
  margin-right: auto;
  max-width: 48rem;
  padding: 1.5rem;
}

.public-profile-hero,
.public-profile-feed {
  background: var(--theme-surface);
  border: 1px solid var(--theme-border);
  border-radius: 6px;
  box-sizing: border-box;
  box-shadow: var(--theme-shadow);
  color: var(--theme-text-muted);
  margin-left: auto;
  margin-right: auto;
  max-width: 54rem;
  padding: 1.5rem;
}

.public-profile-hero {
  display: grid;
  gap: 1.5rem;
}

.public-profile-feed {
  margin-top: 1.5rem;
}

.public-profile-card--posts {
  margin-top: 1.5rem;
}

.public-profile-hero__identity {
  align-items: flex-start;
  display: flex;
  gap: 1.25rem;
}

.public-profile-hero__avatar-frame {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  gap: 0.55rem;
}

.public-profile-hero__avatar {
  height: 6rem;
  width: 6rem;
}

.public-profile-hero__avatar-edit {
  color: var(--theme-link);
  font-size: 0.9rem;
  font-weight: 650;
  text-align: center;
  text-decoration: none;
}

.public-profile-hero__avatar-edit:hover,
.public-profile-hero__avatar-edit:focus-visible {
  color: var(--theme-link-hover);
  text-decoration: underline;
}

.public-profile-hero__copy {
  min-width: 0;
}

.public-profile-card__title {
  color: var(--theme-text-strong);
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: 1.875rem;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.public-profile-card__handle {
  color: var(--theme-text-soft);
  font-size: 1.125rem;
  margin-top: 0.25rem;
  overflow-wrap: anywhere;
}

.public-profile-hero__summary {
  color: var(--theme-text-muted);
  line-height: 1.6;
  margin-top: 0.9rem;
  max-width: 38rem;
  overflow-wrap: anywhere;
}

.public-profile-card__facts {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}

.public-profile-shell {
  box-sizing: border-box;
  margin: 0 auto;
  padding: 0 1rem;
}

.public-profile-stats {
  border: 1px solid var(--theme-border);
  border-radius: 6px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
}

.public-profile-stats div {
  background: var(--theme-surface-muted);
  border-right: 1px solid var(--theme-border);
  padding: 0.85rem 1rem;
}

.public-profile-stats div:last-child {
  border-right: 0;
}

.public-profile-stats dt {
  color: var(--theme-text-soft);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.public-profile-stats dd {
  color: var(--theme-text-strong);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.2;
  margin-top: 0.2rem;
}

.public-profile-card__facts dt,
.public-profile-post-group__title {
  color: var(--theme-text-soft);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.public-profile-card__facts dd {
  color: var(--theme-text-strong);
  margin-top: 0.25rem;
}

.public-profile-card__heading {
  color: var(--theme-text-strong);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
}

.public-profile-feed__header {
  align-items: flex-start;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.public-user-posts-feed__summary {
  color: var(--theme-text-muted);
  line-height: 1.55;
  margin-top: 0.45rem;
  max-width: 42rem;
}

.public-user-posts-intro__summary {
  color: var(--theme-text-muted);
  line-height: 1.55;
  margin-top: 0.35rem;
  max-width: 42rem;
}

.public-user-posts-intro__more {
  border-top: 1px solid var(--theme-border);
  margin-top: 1rem;
  padding-top: 1rem;
}

.public-user-posts-intro__more summary {
  color: var(--theme-link);
  cursor: pointer;
  font-weight: 700;
}

.public-user-posts-intro__more summary:hover {
  color: var(--theme-link-hover);
}

.public-profile-feed__link {
  color: var(--theme-link);
  flex: 0 0 auto;
  font-weight: 700;
  text-decoration: none;
}

.public-profile-feed__link:hover {
  color: var(--theme-link-hover);
  text-decoration: underline;
}

.public-profile-card__actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.public-profile-card__action {
  color: var(--theme-text-strong);
  font-weight: 600;
  text-decoration: none;
}

.public-profile-card__action:hover {
  color: var(--theme-link-hover);
  text-decoration: underline;
}

.public-profile-feed__groups {
  display: grid;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.public-user-posts-empty {
  margin-top: 1.25rem;
}

.public-profile-post-group {
  min-width: 0;
}

.public-profile-post-group__header {
  align-items: baseline;
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.public-profile-post-group__header span {
  color: var(--theme-text-soft);
  font-size: 0.875rem;
}

.public-profile-post-list {
  display: grid;
  gap: 0.75rem;
}

.public-profile-post {
  background: var(--theme-surface);
  border: 1px solid var(--theme-border);
  border-radius: 6px;
  padding: 1rem;
}

.public-profile-post__main {
  align-items: flex-start;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.public-profile-post__title {
  color: var(--theme-link);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.35;
}

.public-profile-post__title:hover {
  color: var(--theme-link-hover);
}

.public-profile-post__excerpt {
  color: var(--theme-text-muted);
  line-height: 1.55;
  margin-top: 0.5rem;
}

.public-profile-post__badge {
  background: var(--theme-surface-muted);
  border: 1px solid var(--theme-border);
  border-radius: 6px;
  color: var(--theme-text-soft);
  flex-shrink: 0;
  font-size: 0.875rem;
  padding: 0.35rem 0.75rem;
}

.public-user-posts-intro {
  border: 1px solid var(--theme-border);
  border-radius: 6px;
  background: var(--theme-surface);
  margin-bottom: 2rem;
  padding: 1.25rem 1.5rem;
}

.public-user-posts-page {
  display: grid;
  gap: 1.5rem;
}

.public-user-posts-page .public-user-posts-hero,
.public-user-posts-page .public-profile-feed,
.public-user-posts-page .public-user-posts-intro {
  width: 100%;
}

.public-user-posts-page .public-profile-feed,
.public-user-posts-page .public-user-posts-intro {
  margin-bottom: 0;
  margin-top: 0;
}

.public-user-posts-intro__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.public-user-posts-intro__title {
  color: var(--theme-text-strong);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  margin-top: 0.35rem;
}

.public-user-posts-group__header {
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.public-user-posts-group__title {
  color: var(--theme-text-strong);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.2;
}

.public-user-posts-group__meta {
  color: var(--theme-text-soft);
  font-size: 0.875rem;
  margin-top: 0.15rem;
}

.public-profile-post-group__actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
}

.public-user-post-card-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
}

.public-user-posts-feed--quiet .public-user-post-card-grid {
  grid-template-columns: minmax(min(100%, 18rem), 28rem);
}

.public-user-post-card-shell {
  min-width: 0;
  position: relative;
}

.public-user-post-card-shell>.media-card,
.public-user-post-card-shell>.post-card {
  height: 100%;
}

.public-user-post-card-shell>.post-tile-status {
  position: absolute;
  right: 0.75rem;
  top: 0.75rem;
  z-index: 1;
}

@media (min-width: 1024px) {
  .responsive-page:has(.public-user-posts-page) {
    margin-left: 2rem;
    margin-right: 2rem;
  }

  .public-user-posts-page {
    align-items: start;
    -moz-column-gap: 1.5rem;
         column-gap: 1.5rem;
    grid-template-columns: minmax(14rem, 17.5rem) minmax(0, 1fr);
    max-width: none;
    width: 100%;
  }

  .public-user-posts-page .public-user-posts-hero {
    grid-column: 1;
    grid-row: 1 / span 2;
    margin: 0;
    max-width: none;
    padding: 1rem;
  }

  .public-user-posts-page .public-profile-hero__identity {
    align-items: center;
    gap: 1rem;
  }

  .public-user-posts-page .public-profile-hero__avatar {
    height: 4.25rem;
    width: 4.25rem;
  }

  .public-user-posts-page .section-eyebrow {
    font-size: 0.7rem;
  }

  .public-user-posts-page .public-profile-card__title {
    font-size: 1.35rem;
  }

  .public-user-posts-page .public-profile-card__handle {
    font-size: 0.95rem;
  }

  .public-user-posts-page .public-profile-hero__summary {
    font-size: 0.95rem;
    line-height: 1.45;
    margin-top: 0.55rem;
  }

  .public-user-posts-page .public-profile-stats div {
    padding: 0.75rem;
  }

  .public-user-posts-page .public-profile-stats dt {
    font-size: 0.68rem;
  }

  .public-user-posts-page .public-profile-stats dd {
    font-size: 1.15rem;
  }

  .public-user-posts-page .public-profile-card__actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.55rem;
    margin-top: 0;
  }

  .public-user-posts-page .public-profile-card__action {
    font-size: 0.95rem;
  }

  .public-user-posts-page .public-user-posts-intro,
  .public-user-posts-page .public-user-posts-feed {
    grid-column: 2;
    margin-left: 0;
    margin-right: 0;
    max-width: none;
  }

  .public-user-posts-page .public-user-posts-intro {
    padding: 1rem 1.25rem;
  }

  .public-user-posts-page .public-user-posts-intro__actions {
    gap: 0.55rem;
  }

  .public-user-posts-page .public-user-posts-intro__actions .button-secondary {
    min-height: 2.25rem;
    padding-bottom: 0.35rem;
    padding-top: 0.35rem;
  }

  .public-user-posts-page .public-user-posts-feed {
    padding: 1.25rem;
  }

  .public-user-posts-page .public-user-post-card-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 22rem));
    justify-content: start;
  }

  .public-user-posts-page .public-user-posts-feed--quiet .public-user-post-card-grid {
    grid-template-columns: minmax(min(100%, 18rem), 28rem);
  }
}

.post-tile-list {
  margin-top: 2.5rem;
}

.post-tile-meta-note {
  color: var(--theme-text-soft);
  margin-top: 0.5rem;
  width: 100%;
}

.post-surface-group__link {
  color: var(--theme-link);
  font-size: 1.125rem;
  font-weight: 700;
  text-decoration: none;
}

.post-surface-group__link:hover {
  color: var(--theme-link-hover);
}

.public-form-page {
  margin: 0 auto;
  max-width: 46rem;
  padding: 1rem;
}

.public-form-card {
  background: var(--theme-surface);
  border: 1px solid var(--theme-border);
  border-radius: 6px;
  box-shadow: var(--theme-shadow);
  padding: 1.25rem;
}

.public-form-footer-link {
  margin-top: 1rem;
}

.invitation-shell {
  margin: 0 auto;
  max-width: 56rem;
  padding: 1rem;
}

.invitation-form-card {
  background: var(--theme-surface);
  border: 1px solid var(--theme-border);
  border-radius: 6px;
  box-shadow: var(--theme-shadow);
  margin: 0 auto;
  max-width: 56rem;
  padding: 1.25rem;
}

.invitation-help-text {
  color: var(--theme-text-soft);
  font-size: 0.875rem;
  margin-top: 0.5rem;
}

.invitation-interest-tree {
  align-items: start;
  display: grid;
  gap: 0.75rem;
}

.invitation-interest-node {
  align-self: start;
  display: grid;
  gap: 0.4rem;
}

.invitation-interest-option {
  align-items: flex-start;
  border: 1px solid var(--theme-border);
  border-radius: 6px;
  display: flex;
  gap: 0.5rem;
  margin: 0;
  margin-left: calc(var(--invitation-interest-depth, 0) * 1.25rem);
  padding: 0.75rem;
}

.invitation-interest-children {
  display: grid;
  gap: 0.45rem;
}

.invitation-interest-children__summary {
  align-items: center;
  color: var(--theme-link);
  cursor: pointer;
  display: flex;
  font-size: 0.95rem;
  gap: 0.35rem;
  line-height: 1.25;
  margin-left: calc((var(--invitation-interest-depth, 0) + 1) * 1.25rem);
  width: -moz-max-content;
  width: max-content;
}

.invitation-interest-children__summary::-webkit-details-marker {
  display: none;
}

.invitation-interest-children__summary::marker {
  content: "";
}

.invitation-interest-children__icon::before {
  content: "▸";
}

.invitation-interest-children[open] > .invitation-interest-children__summary .invitation-interest-children__icon::before {
  content: "▾";
}

.invitation-interest-children__items {
  display: grid;
  gap: 0.55rem;
}

.invitation-interest-option__name {
  color: var(--theme-text-strong);
  font-size: 1rem;
  font-weight: 600;
}

.invitation-interest-option__meta {
  color: var(--theme-text-soft);
  font-size: 0.75rem;
}

.invitation-interest-option__badge {
  margin-left: 0.5rem;
  background: var(--theme-surface-muted);
  border: 1px solid var(--theme-border);
  border-radius: 999px;
  color: var(--theme-text-soft);
  display: inline-block;
  font-size: 0.75rem;
  padding: 0.1rem 0.5rem;
}

@media (min-width: 768px) {
  .invitation-interest-tree {
    -moz-column-count: 2;
         column-count: 2;
    -moz-column-gap: 0.75rem;
         column-gap: 0.75rem;
    display: block;
  }

  .invitation-interest-node {
    -moz-column-break-inside: avoid;
         break-inside: avoid;
    margin-bottom: 0.75rem;
  }
}

.invitation-pending-title {
  color: var(--theme-text-strong);
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: 1.5rem;
  margin: 0.5rem 0;
}

@media (min-width: 640px) {
  .public-profile-card__facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .public-user-posts-group__header {
    align-items: flex-end;
    flex-direction: row;
    justify-content: space-between;
    gap: 1rem;
  }

  .post-tile-list {
    margin-top: 3rem;
  }
}

@media (max-width: 640px) {
  .public-profile-hero__identity,
  .public-profile-feed__header,
  .public-profile-post__main {
    flex-direction: column;
  }

  .public-profile-post-group__actions {
    justify-content: flex-start;
  }

  .public-profile-stats {
    grid-template-columns: 1fr;
  }

  .public-profile-stats div {
    border-bottom: 1px solid var(--theme-border);
    border-right: 0;
  }

  .public-profile-stats div:last-child {
    border-bottom: 0;
  }
}

@media (min-width: 768px) {
  .post-form-card__grid {
    grid-template-columns: minmax(0, 1fr) 18rem;
  }
}

.form-secondary-action {
  margin-top: 0.75rem;
  text-align: center;
}

.new-image-shell {
  width: 100%;
  max-width: 50rem;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.new-image-heading-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.25rem;
}

.new-image-close {
  color: #3f7fe6;
  font-size: 3rem;
  line-height: 1;
  text-decoration: none;
  margin-top: -0.25rem;
  margin-left: 0.75rem;
}

.new-image-form {
  display: block !important;
  width: 100% !important;
  max-width: 50rem !important;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.new-image-fields {
  width: 100%;
  max-width: 50rem;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
}

.new-image-content-types {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
  margin: 0.75rem 0 1rem;
}

.new-image-content-type {
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  color: #4b5563;
  font-size: 0.875rem;
  padding: 0.5rem 0.75rem;
  text-align: center;
}

.new-image-content-type.is-selected {
  background: #3f7fe6;
  border-color: #3f7fe6;
  color: #fff;
}

.new-image-form .form-actions {
  width: 100%;
  text-align: left;
}

.new-image-title,
.new-image-subtitle,
.new-image-row {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.new-image-file-row {
  width: -moz-fit-content;
  width: fit-content;
}

.post-form-shell--drop-target {
  border-radius: 8px;
}

.post-form-shell--drop-target:hover .new-post-container {
  border-color: #bfd0ee;
}

.new-image-upload-dropzone {
  border: 1px solid var(--theme-input-border, #dbe3f0);
  border-radius: 6px;
  margin-top: 0.65rem;
  padding: 0.75rem;
  background: var(--theme-surface-muted, #f9fbff);
}

.new-image-upload-dropzone:hover,
.new-image-upload-dropzone:focus-within,
.new-image-upload-dropzone--drag-over {
  border-color: var(--theme-accent, #3f7fe6);
  background: var(--theme-surface-soft, #f7faff);
}

.new-image-upload-dropzone--drag-over {
  box-shadow: 0 0 0 3px rgba(63, 127, 230, 0.16);
}

.new-image-upload-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.55rem;
}

.new-image-upload-header label {
  color: var(--theme-text-muted, #4b5563);
  font-size: 0.95rem;
  font-weight: 600;
}

.new-image-upload-hint {
  margin: 0.12rem 0 0;
  color: var(--theme-text-soft, #6b7280);
  font-size: 0.86rem;
}

.new-image-upload-count {
  flex: 0 0 auto;
  margin: 0.05rem 0 0;
  color: var(--theme-text-soft, #6b7280);
  font-size: 0.82rem;
  line-height: 1.35;
  text-align: right;
}

.new-image-file-input {
  display: inline-block;
  width: -moz-fit-content;
  width: fit-content;
  color: transparent;
  font-size: 0;
}

.new-image-file-input::file-selector-button,
.new-image-file-input::-webkit-file-upload-button {
  display: block;
  margin: 0;
  border: 1px solid var(--theme-accent-border, #bfdbfe);
  border-radius: 999px;
  background: var(--theme-surface, #fff);
  color: var(--theme-link, #2563eb);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.45rem 0.75rem;
}

body.appearance-dark .new-image-file-input::file-selector-button,
body.appearance-dark .new-image-file-input::-webkit-file-upload-button {
  background: #1e293b;
  border-color: #64748b;
  color: #e0f2fe;
}

body.appearance-dark .new-image-file-input::file-selector-button:hover,
body.appearance-dark .new-image-file-input::-webkit-file-upload-button:hover {
  background: #263449;
  border-color: #7dd3fc;
  color: #f8fafc;
}

@media (prefers-color-scheme: dark) {
  body.appearance-system .new-image-file-input::file-selector-button,
  body.appearance-system .new-image-file-input::-webkit-file-upload-button {
    background: #1e293b;
    border-color: #64748b;
    color: #e0f2fe;
  }

  body.appearance-system .new-image-file-input::file-selector-button:hover,
  body.appearance-system .new-image-file-input::-webkit-file-upload-button:hover {
    background: #263449;
    border-color: #7dd3fc;
    color: #f8fafc;
  }
}

.upload-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(12rem, 16rem));
  gap: 0.65rem;
  margin-top: 0.75rem;
}

.upload-preview-grid:empty {
  display: none;
}

.new-image-upload-dropzone:has(.upload-preview-grid--client:not(:empty)) .upload-preview-grid--server {
  display: none;
}

.upload-error-panel {
  border: 1px solid #fecaca;
  border-radius: 6px;
  margin-top: 0.75rem;
  padding: 0.65rem 0.75rem;
  background: #fef2f2;
  color: #991b1b;
  font-size: 0.9rem;
  line-height: 1.4;
}

.upload-error-panel strong {
  display: block;
  color: #7f1d1d;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.upload-error-panel ul {
  list-style: disc;
  margin: 0;
  padding-left: 1.15rem;
}

.upload-error-panel li {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.65rem;
}

.upload-error-panel__remove {
  border: 0;
  background: transparent;
  color: #b91c1c;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.upload-error-panel__remove:hover {
  color: #7f1d1d;
}

body.appearance-dark .upload-error-panel {
  border-color: #7f1d1d;
  background: #39171c;
  color: #fecaca;
}

body.appearance-dark .upload-error-panel strong {
  color: #fee2e2;
}

body.appearance-dark .upload-error-panel__remove {
  color: #fca5a5;
}

body.appearance-dark .upload-error-panel__remove:hover {
  color: #fee2e2;
}

@media (prefers-color-scheme: dark) {
  body.appearance-system .upload-error-panel {
    border-color: #7f1d1d;
    background: #39171c;
    color: #fecaca;
  }

  body.appearance-system .upload-error-panel strong {
    color: #fee2e2;
  }

  body.appearance-system .upload-error-panel__remove {
    color: #fca5a5;
  }

  body.appearance-system .upload-error-panel__remove:hover {
    color: #fee2e2;
  }
}

.upload-preview-card {
  background: var(--theme-surface, #fff);
  border: 1px solid var(--theme-border, #dbe3f0);
  border-radius: 6px;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.06);
  max-width: 16rem;
  overflow: hidden;
  position: relative;
}

.upload-preview-remove {
  align-items: center;
  background: rgba(15, 23, 42, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 800;
  height: 1.7rem;
  justify-content: center;
  line-height: 1;
  padding: 0;
  position: absolute;
  right: 0.45rem;
  top: 0.45rem;
  width: 1.7rem;
  z-index: 2;
}

.upload-preview-remove:hover {
  background: #0f172a;
  border-color: #fff;
}

.upload-preview-media {
  align-items: center;
  aspect-ratio: 16 / 9;
  background: var(--theme-surface-soft, #eef2f7);
  display: flex;
  justify-content: center;
  position: relative;
}

.upload-preview-image,
.upload-preview-video {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.upload-preview-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eef2f7;
  padding: 1rem;
  color: #667085;
  font-size: 0.9rem;
  text-align: center;
}

.upload-preview-fallback[hidden] {
  display: none;
}

.upload-preview-video-marker {
  background: rgba(15, 23, 42, 0.78);
  border-radius: 999px;
  bottom: 0.55rem;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.32rem 0.5rem;
  position: absolute;
  right: 0.55rem;
}

.upload-preview-name {
  color: var(--theme-text-muted, #4b5563);
  font-size: 0.82rem;
  line-height: 1.35;
  margin: 0;
  overflow-wrap: anywhere;
  padding: 0.5rem 0.65rem;
}

.new-image-private-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.new-image-preview-block {
  margin-bottom: 0.75rem;
  width: 100%;
}

.new-image-caption-wrap {
  width: 100%;
  text-align: left;
  margin-bottom: 0.4rem;
}

.new-image-caption-label {
  display: block;
  margin: 0 0 0.25rem 0;
  width: 100%;
  text-align: left;
}

.new-image-caption-input {
  width: 100% !important;
  max-width: 100% !important;
}

.new-image-form .form-submit {
  margin-left: auto;
  margin-right: auto;
}

.new-image-title-input {
  width: 100% !important;
  max-width: 100% !important;
}

form {
  width: 100%;
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
}

.form-text-input {
  width: auto;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border-radius: 0.25rem;
  border-width: 1px;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  line-height: 1.25;
  --tw-text-opacity: 1;
  color: rgb(55 65 81 / var(--tw-text-opacity, 1));
  --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);
}

.form-text-input:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.form-text-input {
  max-width: 100%;
}

.form-label {
  margin-right: 0.5rem;
  display: block;
  --tw-text-opacity: 1;
  color: rgb(107 114 128 / var(--tw-text-opacity, 1));
}

@media (min-width: 768px) {

  .form-label {
    width: 33.333333%;
  }
}

.link {
  display: inline-block;
  vertical-align: baseline;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 300;
  --tw-text-opacity: 1;
  color: rgb(59 130 246 / var(--tw-text-opacity, 1));
}

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

.pagination-footer {
  align-items: center;
  background: #fff;
  border-top: 1px solid #e5e7eb;
  bottom: 0;
  box-shadow: 0 -6px 12px rgba(0, 0, 0, 0.06);
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  line-height: 1.5;
  margin-top: 1rem;
  min-height: 4rem;
  overflow: visible;
  padding: 0 1rem;
  position: sticky;
  z-index: 30;
}

.pagination-footer__info {
  align-items: center;
  color: #4b5563;
  display: flex;
  font-size: 0.875rem;
  line-height: 1.5;
  min-height: 4rem;
}

.pagination-footer .link:focus,
.pagination-footer .link:focus-visible,
.pagination-footer .link:active {
  background: transparent;
  box-shadow: none;
  outline: none;
}

.user-index-shell {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 17rem);
}

.user-index-shell .pagination-footer {
  margin-top: auto;
}


input::-moz-placeholder, textarea::-moz-placeholder {
  color: #ccc;
}


input::placeholder,
textarea::placeholder {
  color: #ccc;
}

a {
  color: #1f8dd6;
  text-decoration: none;
}

a.disabled {
  color: rgba(0, 0, 0, .25);
}

pre {
  overflow-x: auto;
  white-space: pre-wrap;
  white-space: -moz-pre-wrap;
  white-space: -pre-wrap;
  white-space: -o-pre-wrap;
  word-wrap: break-word;
}

img.avatar {
  border-radius: 50%;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 15px;
  margin-bottom: 15px;
}

.signed-out-home-section {
  padding: 2.5rem 1.5rem;
}

.signed-out-home-section--divided {
  border-top: 1px solid var(--theme-border);
}

.signed-out-home-eyebrow {
  color: var(--theme-link);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.signed-out-home-title {
  color: var(--theme-text-strong);
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: clamp(2.25rem, 8vw, 3rem);
  line-height: 1.05;
}

.signed-out-home-heading {
  color: var(--theme-text-strong);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
}

.signed-out-home-copy {
  color: var(--theme-text-muted);
  line-height: 1.6;
  margin-top: 0.5rem;
}

.signed-out-home-copy--lead {
  font-size: 1.125rem;
  line-height: 1.65;
  margin-top: 1.25rem;
}

.signed-out-home-card,
.signed-out-home-empty {
  background: var(--theme-surface);
  border: 1px solid var(--theme-border);
  border-radius: 6px;
  color: var(--theme-text-muted);
  padding: 1.25rem;
}

.signed-out-home-card__title {
  color: var(--theme-text-strong);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
}

.signed-out-home-card__title a {
  color: inherit;
}

.signed-out-home-card__title a:hover {
  color: var(--theme-link-hover);
}

.signed-out-home-card__copy {
  color: var(--theme-text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
  margin-top: 0.75rem;
}

.signed-out-home-card__meta {
  color: var(--theme-text-muted);
  font-size: 0.875rem;
  line-height: 1.35;
  margin-top: 0.25rem;
}

.signed-out-home-card__meta--footer {
  margin-top: 1rem;
}

.signed-out-home-card__media {
  background: var(--theme-surface-muted);
  border: 1px solid var(--theme-border);
  border-radius: 6px;
  display: block;
  overflow: hidden;
}

.interest-index-card__signals {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.interest-index-card__signals span {
  background: color-mix(in srgb, var(--theme-link) 9%, var(--theme-surface) 91%);
  border: 1px solid color-mix(in srgb, var(--theme-link) 40%, var(--theme-border) 60%);
  border-radius: 999px;
  color: var(--theme-link);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.3;
  padding: 0.2rem 0.6rem;
}

.interest-index-card__actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.35rem;
}

.public-profile-hero__relationship {
  align-items: center;
  background: color-mix(in srgb, var(--theme-link) 10%, var(--theme-surface) 90%);
  border: 1px solid color-mix(in srgb, var(--theme-link) 44%, var(--theme-border) 56%);
  border-radius: 999px;
  color: var(--theme-link);
  display: inline-flex;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0.25rem 0 0;
  padding: 0.25rem 0.7rem;
  width: -moz-fit-content;
  width: fit-content;
}

.home-onboarding-card {
  background: color-mix(in srgb, var(--theme-surface) 88%, var(--theme-accent-soft) 12%);
  border-color: color-mix(in srgb, var(--theme-link) 64%, var(--theme-border) 36%);
}

.home-onboarding-card__layout {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.home-onboarding-card__content {
  display: grid;
  gap: 0.45rem;
  min-width: 0;
}

.home-onboarding-card__actions {
  align-items: stretch;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

.home-onboarding-card__actions .form-submit,
.home-onboarding-card__actions .button-secondary {
  justify-content: center;
  margin-bottom: 0;
  margin-top: 0;
  text-align: center;
}

.home-onboarding-card__eyebrow {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.home-onboarding-card__progress {
  border: 1px solid var(--theme-border);
  border-radius: 999px;
  color: var(--theme-text-muted);
  display: inline-flex;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.35;
  padding: 0.0625rem 0.5rem;
}

.home-onboarding-card__recommendation {
  color: var(--theme-link);
  font-size: 0.85rem;
  font-weight: 700;
  margin: 0;
  text-transform: uppercase;
}

.home-onboarding-card__meter {
  background: var(--theme-surface-muted);
  border: 1px solid var(--theme-border);
  border-radius: 999px;
  height: 0.55rem;
  margin-top: 0.35rem;
  max-width: 18rem;
  overflow: hidden;
}

.home-onboarding-card__meter span {
  background: var(--theme-link);
  display: block;
  height: 100%;
}

.home-onboarding-card__progress-label {
  color: var(--theme-text-muted);
  font-size: 0.9rem;
  margin: 0;
}

.home-onboarding-card__checklist {
  display: grid;
  gap: 0.45rem;
  list-style: none;
  margin: 0.85rem 0 0;
  padding: 0;
}

.home-onboarding-card__checklist-item {
  align-items: center;
  color: var(--theme-text-muted);
  display: flex;
  font-size: 0.9rem;
  gap: 0.55rem;
  line-height: 1.35;
}

.home-onboarding-card__checklist-item span {
  background: var(--theme-surface);
  border: 1px solid var(--theme-border);
  border-radius: 50%;
  display: inline-flex;
  flex: 0 0 0.75rem;
  height: 0.75rem;
  width: 0.75rem;
}

.home-onboarding-card__checklist-item--complete {
  color: var(--theme-text);
}

.home-onboarding-card__checklist-item--complete span {
  background: var(--theme-link);
  border-color: var(--theme-link);
  box-shadow: inset 0 0 0 2px var(--theme-surface);
}

.home-onboarding-card__checklist-item--current {
  color: var(--theme-text-strong);
  font-weight: 700;
}

.home-onboarding-card__checklist-item--current span {
  border-color: var(--theme-link);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--theme-link) 18%, transparent);
}

.home-start-here {
  align-items: center;
  background: color-mix(in srgb, var(--theme-surface) 84%, var(--theme-accent-soft) 16%);
  display: grid;
  gap: 1.25rem;
  grid-template-columns: minmax(0, 1fr) auto;
}

.home-start-here__content {
  display: grid;
  gap: 0.45rem;
}

.home-start-here__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
}

.home-start-here__actions .form-submit,
.home-start-here__actions .button-secondary {
  justify-content: center;
}

@media (min-width: 640px) {
  .home-onboarding-card__layout {
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
  }

  .home-onboarding-card__actions {
    align-items: stretch;
    flex: 0 0 14rem;
  }
}

@media (max-width: 767px) {
  .home-start-here {
    grid-template-columns: 1fr;
  }

  .home-start-here__actions {
    display: grid;
    justify-content: stretch;
  }

  .interest-approval-item {
    grid-template-columns: 1fr;
  }

  .interest-approval-item__actions {
    display: grid;
    justify-content: stretch;
  }

  .admin-workbench__groups {
    grid-template-columns: 1fr;
  }
}

.home-preview-post__layout {
  display: block;
}

.home-preview-post__layout--with-avatar {
  align-items: flex-start;
  display: grid;
  gap: 1rem;
  grid-template-columns: 3.5rem minmax(0, 1fr);
}

.home-preview-post__avatar.avatar {
  height: 3.5rem;
  margin: 0;
  -o-object-fit: cover;
     object-fit: cover;
  width: 3.5rem;
}

.home-preview-post__media {
  border-radius: 6px;
  margin-top: 1rem;
  max-height: 14rem;
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
}

.explore-page {
  padding-bottom: 6rem;
}

.explore-section {
  padding: 2.5rem 1.5rem;
}

.explore-section--divided {
  border-top: 1px solid var(--theme-border);
}

.explore-eyebrow {
  color: var(--theme-link);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.explore-title {
  color: var(--theme-text-strong);
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: clamp(2.25rem, 8vw, 3rem);
  line-height: 1.05;
}

.explore-heading {
  color: var(--theme-text-strong);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
}

.explore-copy {
  color: var(--theme-text-muted);
  line-height: 1.6;
  margin-top: 0.5rem;
}

.explore-copy--lead {
  font-size: 1.125rem;
  line-height: 1.65;
  margin-top: 1.25rem;
  max-width: 48rem;
}

.explore-card,
.explore-empty,
.explore-post-card,
.explore-interest-card {
  background: var(--theme-surface);
  border: 1px solid var(--theme-border);
  border-radius: 6px;
  color: var(--theme-text-muted);
}

.explore-card,
.explore-empty,
.explore-interest-card {
  padding: 1.25rem;
}

.explore-card,
.explore-post-card,
.explore-interest-card {
  box-shadow: var(--theme-shadow);
}

.explore-card__title,
.explore-post-card__title,
.explore-interest-card__title {
  color: var(--theme-text-strong);
  font-weight: 700;
  line-height: 1.3;
}

.explore-card__title {
  font-size: 1.125rem;
}

.explore-post-card__title {
  font-size: 1.125rem;
  margin-top: 0.5rem;
}

.explore-interest-card__title {
  font-size: 1.25rem;
}

.explore-post-card__title a,
.explore-interest-card__title a {
  color: inherit;
}

.explore-post-card__title a:hover,
.explore-interest-card__title a:hover {
  color: var(--theme-link-hover);
}

.explore-card__copy,
.explore-post-card__excerpt,
.explore-interest-card__copy {
  color: var(--theme-text-muted);
  line-height: 1.55;
  margin-top: 0.75rem;
}

.explore-card__copy {
  font-size: 1rem;
}

.explore-post-card__excerpt,
.explore-interest-card__copy {
  font-size: 0.95rem;
}

.explore-card__link {
  color: var(--theme-link);
  display: inline-flex;
  margin-top: 1.25rem;
}

.explore-card__link:hover {
  color: var(--theme-link-hover);
}

.explore-demo-card__credentials {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.explore-demo-card__credential {
  align-items: center;
  background: var(--theme-surface-muted);
  border: 1px solid var(--theme-border);
  border-radius: 6px;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: 0.65rem 0.75rem;
}

.explore-demo-card__credential dt {
  color: var(--theme-text-strong);
  font-weight: 700;
}

.explore-demo-card__credential dd {
  color: var(--theme-text-strong);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.explore-post-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.explore-post-card__media {
  background: var(--theme-surface-muted);
  border-bottom: 1px solid var(--theme-border);
  height: 12rem;
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
}

.explore-post-card__media--empty {
  height: 8rem;
}

.explore-post-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.25rem;
}

.explore-post-card__meta,
.explore-post-card__footer {
  color: var(--theme-text-soft);
  font-size: 0.875rem;
  line-height: 1.4;
}

.explore-post-card__footer {
  margin-top: auto;
  padding-top: 1rem;
}

.explore-interest-card__stats {
  color: var(--theme-text-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.explore-interest-card__stats span {
  background: var(--theme-surface-muted);
  border: 1px solid var(--theme-border);
  border-radius: 6px;
  padding: 0.3rem 0.7rem;
}

@media (min-width: 640px) {
  .signed-out-home-section,
  .explore-section,
  .my-interests-section {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .signed-out-home-section,
  .explore-section,
  .my-interests-section {
    padding-left: 3rem;
    padding-right: 3rem;
  }
}

.sidebar-current-user {
  display: block;
  margin: -0.5rem 0 1rem;
  overflow-wrap: anywhere;
  text-align: center;
}

.sidebar-inbox-link {
  align-items: center;
  display: flex;
  gap: 0.5rem;
  justify-content: space-between;
}

.sidebar-admin-health-link {
  align-items: center;
  display: flex;
  gap: 0.5rem;
  justify-content: space-between;
}

.sidebar-inbox-link__badge {
  align-items: center;
  background: #2563eb;
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 800;
  justify-content: center;
  line-height: 1;
  min-width: 1.35rem;
  padding: 0.2rem 0.42rem;
}

.sidebar-inbox-link__badge--warning {
  background: #d97706;
}

.sidebar-inbox-link__badge[hidden] {
  display: none;
}

.sidebar-post-link {
  display: block;
  font-size: 0.9rem;
  line-height: 1.25rem;
  overflow-wrap: anywhere;
}

#menu a.avatar {
  padding: 0;
}

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

.left-horizontal-input {
  width: 100%;
  position: relative;

  display: flex;
  flex-flow: column wrap;
  align-items: left;
}

.form-input-elem {
  padding: 8px;
}

.modal-content {
  margin: 0 auto;
  padding: 0 2em;
  max-width: 2000px;
  margin-bottom: 50px;
  line-height: 1.6em;
}

.thumbnail {
  border: solid 1px gray;
  max-width: 100%;
  max-height: 100%;
}

.post-tile-placeholder {
  height: 200px;
  width: 200px;
  background-color: gray;
  color: white;
}

.modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.25);
  opacity: 0;
  visibility: hidden;
  transition: visibility 0s linear 0.15s, opacity 0.15s 0s, transform 0.15s;
}

.modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  padding: 24px;
  width: min(376px, calc(100vw - 2rem));
  border-radius: 0.5rem;
  text-align: center;
}

.modal-content>form>.form-buttons {
  display: flex;
  justify-content: flex-end;
}

.modal-content>h1 {
  margin-top: 0px;
}

.incoming-call-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 50;
  width: min(24rem, calc(100vw - 2rem));
  transform: translate(-50%, -50%);
}

.show-modal {
  opacity: 1;
  visibility: visible;
  transform: scale(1.0);
  transition: visibility 0s linear 0s, opacity 0.25s 0s, transform 0.25s;
  z-index: 1;
}

.modal.modal-toast {
  background: transparent;
  pointer-events: none;
}

.modal.modal-toast .modal-content {
  align-items: center;
  background: #ffffff;
  border: 1px solid #dbe3f0;
  color: #1f2937;
  display: flex;
  gap: 0.75rem;
  pointer-events: auto;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.18);
  text-align: left;
}

.modal-toast__link {
  border-left: 1px solid rgba(148, 163, 184, 0.45);
  color: #1d4ed8;
  font-weight: 700;
  padding-left: 0.75rem;
  text-decoration: none;
  white-space: nowrap;
}

.modal-toast__text {
  display: inline-flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.modal-toast__title {
  color: #0f172a;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.2;
}

.modal-toast__message {
  color: #475569;
  font-size: 0.9rem;
  line-height: 1.35;
}

.modal-toast__link:hover {
  color: #1e40af;
  text-decoration: underline;
}

.modal-toast__dismiss {
  align-items: center;
  background: #f8fafc;
  border: 1px solid #dbe3f0;
  border-radius: 999px;
  color: #475569;
  cursor: pointer;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 1rem;
  font-weight: 700;
  height: 1.75rem;
  justify-content: center;
  line-height: 1;
  margin-left: auto;
  padding: 0;
  width: 1.75rem;
}

.modal-toast__dismiss:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.modal.modal-confirm .modal-content {
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.24);
}

.modal-confirm__message {
  color: #1f2937;
  font-weight: 600;
  line-height: 1.45;
  margin: 0;
}

.modal-confirm__actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.25rem;
}

.modal-confirm__button {
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  padding: 0.55rem 1rem;
}

.modal-confirm__button--secondary {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #475569;
}

.modal-confirm__button--secondary:hover {
  background: #f8fafc;
  color: #1f2937;
}

.modal-confirm__button--primary {
  background: #1e3a5f;
  border: 1px solid #2f5d91;
  color: #dbeafe;
}

.modal-confirm__button--primary:hover {
  background: #244f80;
  border-color: #60a5fa;
  color: #f8fafc;
}

.flexbox-container {
  display: flex;
  align-items: center;
}

.post-tile-card {
  background: var(--theme-surface, rgba(255, 255, 255, 0.45));
  border: 1px solid var(--theme-border, rgba(0, 0, 0, 0.18));
  border-radius: var(--post-surface-radius);
  box-shadow: var(--post-surface-shadow);
  color: var(--theme-text-muted, #374151);
  min-width: 0;
  padding: 0.75rem 0.75rem 1rem;
  width: 100%;
}

.post-tile-grid {
  -moz-column-gap: 1.5rem;
       column-gap: 1.5rem;
  -moz-column-width: 18rem;
       column-width: 18rem;
}

.post-tile-grid>.post-tile-card {
  -moz-column-break-inside: avoid;
       break-inside: avoid;
  display: inline-block;
  margin: 0 0 1.5rem;
}

.post-tile-media {
  width: 100%;
}

.post-tile-title {
  margin-bottom: 0.35rem;
}

.post-tile-status {
  align-items: center;
  background: var(--theme-surface-muted, #f3f4f6);
  border: 1px solid var(--theme-border-strong, #d1d5db);
  border-radius: 999px;
  color: var(--theme-text-muted, #374151);
  display: inline-flex;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: 0.35rem;
  padding: 0.1rem 0.5rem;
  text-transform: uppercase;
}

.post-tile-media .thumbnail {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
}

.post-tile-video {
  background: #000;
  display: block;
  height: auto;
  max-width: 100%;
  width: 100%;
}

.post-tile-placeholder {
  min-height: 240px;
}

.post-tile-text-preview {
  background: var(--theme-surface-muted, #f9fafb);
  border: 1px solid var(--theme-border, #e5e7eb);
  border-radius: 6px;
  color: var(--theme-text-muted, #374151);
  display: -webkit-box;
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: 1.125rem;
  line-height: 1.6;
  min-height: 240px;
  overflow: hidden;
  padding: 1rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 7;
  white-space: pre-wrap;
}

.post-tile-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-top: 0.65rem;
  gap: 0.75rem;
}

.post-author-grid {
  -moz-column-gap: 2rem;
       column-gap: 2rem;
  -moz-column-width: 20rem;
       column-width: 20rem;
  margin-top: 2rem;
}

.post-author-card {
  -moz-column-break-inside: avoid;
       break-inside: avoid;
  display: inline-block;
  margin: 0 0 2rem;
  min-width: 0;
  width: 100%;
}

.post-author-header {
  align-items: center;
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.post-author-avatar {
  height: 64px;
  margin: 0;
  width: 64px;
}

.post-author-name {
  margin: 0;
  text-align: left;
}

.post-author-empty {
  text-align: left;
}

.other-post-tile-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.other-post-tile-card {
  color: inherit;
  display: block;
  min-width: 0;
  text-decoration: none;
}

.other-post-tile-image {
  aspect-ratio: var(--post-media-frame-ratio);
  background: var(--theme-surface-muted, transparent);
  border: 1px solid var(--theme-border, #e5e7eb);
  border-radius: var(--post-surface-radius);
  display: block;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
  overflow: hidden;
  pointer-events: none;
  width: 100%;
}

.image-load-fallback,
.other-post-tile-image-fallback {
  align-items: center;
  aspect-ratio: var(--post-media-frame-ratio);
  background: var(--theme-surface-muted, #f3f4f6);
  border: 1px solid var(--theme-border, #e5e7eb);
  border-radius: var(--post-surface-radius);
  color: var(--theme-text-muted, #6b7280);
  display: flex;
  font-size: 0.9rem;
  justify-content: center;
  line-height: 1.35;
  min-height: 8rem;
  padding: 1rem;
  text-align: center;
  width: 100%;
}

.post-tile-media .image-load-fallback {
  min-height: 12rem;
}

.image-load-fallback--compact {
  aspect-ratio: auto;
  min-height: 4.25rem;
  padding: 0.875rem 1rem;
}

.media-card__preview-link .image-load-fallback--compact,
.signed-out-home-card__media .image-load-fallback--compact,
.interest-index-card__media .image-load-fallback--compact,
.session-auth-preview-card__media .image-load-fallback--compact,
.explore-post-card .image-load-fallback--compact {
  border-radius: 0;
  border-width: 0 0 1px;
}

.other-post-tile-text {
  aspect-ratio: var(--post-media-frame-ratio);
  background: var(--theme-surface-muted, #f3f4f6);
  border: 1px solid var(--theme-border, #e5e7eb);
  border-radius: var(--post-surface-radius);
  display: block;
  overflow: hidden;
  width: 100%;
  color: #374151;
  display: -webkit-box;
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: 0.95rem;
  line-height: 1.45;
  padding: 0.75rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  white-space: pre-wrap;
}

.other-post-tile-title {
  color: #111827;
  font-weight: 600;
  line-height: 1.3;
  margin-top: 0.4rem;
}

.add-new-link {
  text-align: center;
}

.label {
  text-align: center;
}

.child-post {
  display: block;
  margin-right: 0;
}

.post-options {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.7rem;
  padding: 12px;
}

.post-details:has(.post-form-modal-container--reply) {
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0.6rem 0.75rem;
}

.post-details:has(.post-form-modal-container--reply)>small,
.post-options:has(.post-form-modal-container--reply) {
  width: 100%;
}

.post-options:has(.post-form-modal-container--reply) {
  padding: 0.25rem 0 0;
}

.post-options:has(.post-form-modal-container--reply)>div {
  flex: 1 0 100%;
  width: 100%;
}

.post-options small {
  align-items: center;
  display: inline-flex;
  line-height: 1;
}

.post-options small:last-child {
  margin-left: auto;
}

.post-options .link,
.post-options small>a,
.post-options__like-link {
  align-items: center;
  color: var(--theme-link, #1f8dd6);
  display: inline-flex;
  line-height: 1;
  min-height: 1.75rem;
  text-decoration: none;
}

.post-options button.link {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
  min-height: 0;
  padding: 0;
}

.post-options__like-link {
  align-items: center;
  border-radius: 0.3rem;
  display: inline-flex;
  gap: 0.35rem;
  text-decoration: none;
}

.post-options__like-link:focus,
.post-options__like-link:active {
  background: transparent;
  box-shadow: none;
  outline: none;
}

.post-options .link:focus-visible,
.post-options small>a:focus-visible,
.post-options__like-link:focus-visible {
  border-radius: 0.35rem;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--theme-link, #2563eb) 24%, transparent);
  outline: 1px solid var(--theme-link, #2563eb);
  outline-offset: 2px;
}

.post-options__like-icon {
  display: block;
  height: 1.25rem;
  width: 1.25rem;
}

.post-options__like-count {
  align-items: center;
  color: var(--theme-text-soft, #4b5563);
  display: inline-flex;
  line-height: 1;
  min-height: 1.75rem;
}

.post-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@keyframes slideInFromBottom {
  0% {
    transform: translateY(200%);
  }

  100% {
    transform: translateY(0);
  }
}

.alert {
  animation: slideToastFromTop 6s ease-in-out forwards;
  position: fixed;
  top: 16px;
  text-align: center;
  width: 400px;
  box-sizing: border-box;
  left: calc(50% - (400px / 2));
  color: #fff;
  background-color: rgba(0, 0, 0, .84);
  padding: 16px;
  border-radius: 4px;
  box-shadow: 0 4px 8px 0px rgba(0, 0, 0, 0.12),
    0 2px 16px 0px rgba(0, 0, 0, 0.16),
    0 4px 8px -4px rgba(0, 0, 0, 0.24);
  z-index: 9999;
  will-change: transform, opacity;
}

/* Mobile app-shell overrides: keep these paired with the infrastructure block
   above. Desktop scrolling should continue to live only in that block. */
@media (max-width: 1023px) {
  body {
    --mobile-sidebar-top: var(--site-header-height);
  }

  body.has-admin-banner {
    --mobile-sidebar-top: calc(var(--site-header-height) + var(--sticky-banner-height));
  }

  body.has-email-notification-prompt {
    --mobile-sidebar-top: calc(var(--site-header-height) + 16rem);
  }

  body.has-admin-banner.has-email-notification-prompt {
    --mobile-sidebar-top: calc(var(--site-header-height) + 16rem + var(--sticky-banner-height));
  }

  body.mobile-sidebar-open {
    overflow: hidden;
  }

  body.mobile-sidebar-open #sidebar {
    display: block;
  }

  #sidebar {
    background: rgba(15, 23, 42, 0.42) !important;
    padding-top: var(--mobile-sidebar-top);
  }

  #navWrapper {
    border-right: 1px solid var(--theme-border);
    box-shadow: 12px 0 30px rgba(15, 23, 42, 0.2);
    height: calc(100vh - var(--mobile-sidebar-top));
    margin-right: 0 !important;
    max-width: none;
    overflow-x: hidden;
    overflow-y: auto;
    width: min(22rem, calc(100vw - 3.5rem));
  }

  .app-shell {
    min-height: auto;
  }

  #nav {
    padding: 1rem 1rem 2rem !important;
  }

  #sidebar.sidebar--signed-out #navWrapper {
    width: min(18.5rem, calc(100vw - 3.5rem));
  }

  #nav.sidebar-nav--signed-out {
    padding: 0.75rem 0.875rem 1.5rem !important;
  }

  #nav.sidebar-nav--signed-out > ul.space-y-3 > :not([hidden]) ~ :not([hidden]) {
    margin-top: 0.55rem;
  }
}

@media (max-width: 767px) {
  :root {
    --site-header-height: 4.25rem;
  }

  .site-header>div {
    gap: 0.75rem;
    min-height: var(--site-header-height);
  }

  .site-brand {
    flex: 1 1 auto;
    font-size: clamp(1.85rem, 8.5vw, 2.75rem);
    line-height: 1.05;
    padding-bottom: 0 !important;
  }

  .site-brand-mark span {
    overflow-wrap: anywhere;
    white-space: nowrap;
  }

  .site-logo {
    height: 0.72em;
    width: 0.72em;
  }

  #main {
    padding-top: 0.25rem;
  }

  .responsive-page,
  .m-12,
  .m-10,
  .m-8 {
    margin: 1rem !important;
  }

  .m-6,
  .m-4 {
    margin: 0.75rem !important;
  }

  .px-6 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .py-10 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }

  form,
  .new-image-shell,
  .new-image-form,
  .new-image-fields {
    max-width: 100% !important;
  }

  input,
  select,
  textarea,
  .form-text-input {
    max-width: 100% !important;
  }

  .new-image-content-types {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .new-image-heading-row,
  .post-tile-footer,
  .post-hero,
  .post-board__heading,
  .post-details {
    align-items: flex-start;
    flex-direction: column;
  }

  .post-hero h1 {
    font-size: 2.15rem;
  }

  .post-hero__actions {
    width: 100%;
  }

  .new-image-close {
    font-size: 2.25rem;
  }

  .post-tile-card {
    padding: 0.75rem;
  }

  .other-post-tile-grid {
    grid-template-columns: 1fr;
  }

  .post-author-header {
    align-items: flex-start;
  }

  .post-author-avatar {
    height: 52px;
    width: 52px;
  }

  .activity-feed__item {
    align-items: flex-start;
    flex-direction: column;
  }

  .activity-feed__item>.meta-text {
    order: 3;
  }

  .post-reply__row {
    flex-direction: column;
    gap: 0.9rem;
  }

  .post-reply__body {
    width: 100%;
  }

  .all-posts-interest-group__heading {
    align-items: flex-start;
    gap: 0.55rem;
    padding: 0.55rem 0.65rem;
  }

  .all-posts-interest-group__heading h3 {
    font-size: 1.08rem;
    line-height: 1.25;
    overflow-wrap: anywhere;
  }

  .all-posts-interest-group__meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.15rem;
    line-height: 1.2;
  }

  .all-posts-interest-group[open] {
    padding: 0.65rem;
  }

  .all-posts-interest-group[open]>.all-posts-post-grid {
    gap: 0.8rem;
    grid-template-columns: minmax(0, 1fr);
    margin-top: 0.75rem;
  }

  .all-posts-interest-group[open] .child-post {
    margin-left: 0.35rem;
  }

  .all-posts-interest-group[open] .child-post>.post-container {
    padding: 0.8rem;
  }

  .post-details {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.7rem;
  }

  .post-details>small,
  .post-options {
    width: 100%;
  }

  .post-options {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem 0.75rem;
  }

  .post-options .link,
  .post-options__like-link,
  .post-options__like-count {
    display: inline-flex;
    min-height: 1.75rem;
  }

  .post-list .post-container h2 {
    font-size: 1.12rem;
    line-height: 1.25;
    overflow-wrap: anywhere;
  }

  .post-list .post-container pre,
  .post-show-card__body {
    font-size: 0.98rem;
    line-height: 1.5;
  }

  .post-reply__actions {
    align-items: flex-start;
    gap: 0.65rem;
    justify-items: start;
    width: 100%;
  }

  .post-reply__like-row,
  .post-reply__action-row {
    flex-wrap: wrap;
    gap: 0.4rem 0.7rem;
  }

  .post-reply__action-row .link,
  .post-reply__icon-button {
    min-height: 2.35rem;
    min-width: 2.35rem;
  }

  .post-reply__icon-button {
    min-width: 2.35rem;
  }

  .post-reply,
  .post-container {
    padding: 0.75rem 0.8rem 0.7rem;
  }

  .post-collapse-preview {
    grid-template-columns: minmax(0, 1fr);
  }

  .post-collapse-preview__media {
    max-width: 12rem;
  }

  .post-show-shell {
    padding: 1rem 0.55rem 3.75rem;
  }

  .post-show-top-card {
    padding: 1rem 0.85rem 1rem 0.8rem;
  }

  .post-show-top-card__footer {
    align-items: stretch;
    flex-direction: column;
    gap: 0.7rem;
  }

  .post-show-top-card__links,
  .post-show-top-card__share {
    justify-content: flex-start;
    width: 100%;
  }

  .post-show-card__action-link,
  .post-show-card__like-link {
    min-height: 2.35rem;
  }

  .post-show-top-card__links a,
  .post-show-top-card__links button {
    align-items: center;
    display: inline-flex;
    min-height: 2.35rem;
    min-width: 2.35rem;
  }

  .post-media-gallery--detail {
    gap: 0.6rem;
    margin-bottom: 1rem;
    scroll-padding-inline: 0.25rem;
  }

  .post-media-gallery__item--detail {
    flex-basis: min(92vw, 100%);
  }

  .post-media-gallery__media,
  .post-media-gallery__fallback {
    aspect-ratio: 4 / 3;
    max-height: 65vh;
    -o-object-fit: contain;
       object-fit: contain;
  }

  .post-reply__collapse-control {
    margin-bottom: 1rem;
    min-height: 2.35rem;
  }

  .post-reply__text {
    font-size: 1.1rem;
    margin-bottom: 1rem;
  }

  .post-reply__meta {
    font-size: 0.9rem;
  }

  .post-reply--child {
    margin: 0.85rem 0.2rem 0.2rem 0.9rem;
  }

  .reply-thread::before {
    left: 0.55rem;
  }

  .reply-thread__root::before {
    left: -0.48rem;
  }

  .reply-thread__replies {
    margin-left: 1rem;
    padding-left: 0.75rem;
  }

  .post-reply-form--nested {
    margin: 0.85rem 0.2rem 0.85rem 0.9rem;
    padding: 0.75rem 0.85rem 0.7rem;
  }

  .post-reply-form {
    margin-top: 1.25rem;
  }

  .post-reply-form textarea,
  .post-reply-form--nested textarea {
    min-height: 9rem;
  }

  .post-form__actions {
    align-items: stretch;
    justify-content: stretch;
  }

  .post-form__actions .form-submit {
    justify-content: center;
    min-height: 2.75rem;
    width: 100%;
  }

  .post-reply__thread {
    margin-bottom: -0.2rem;
    margin-right: -0.25rem;
  }

  .user-activity-item {
    flex-direction: column;
  }

  .user-interest-posts__heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.25rem;
  }

  .post-tile-text-preview,
  .post-tile-placeholder {
    min-height: 180px;
  }

  .child-post,
  .post-list .child-post {
    margin-left: 0.75rem;
    margin-right: 0;
  }

  .post-options {
    padding: 0.5rem 0 0;
  }

  .post-form-modal-container {
    margin: 0.75rem !important;
    max-width: calc(100vw - 1.5rem) !important;
  }

  .post-form-modal-close {
    right: 0.55rem;
    top: 0.45rem;
  }

  .post-form {
    gap: 0.65rem;
    padding: 0.8rem;
  }

  .post-form__heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.2rem;
    padding-right: 2rem;
  }

  .post-form__heading h2 {
    font-size: 1.15rem;
    line-height: 1.25;
    overflow-wrap: anywhere;
  }

  .new-post-body-input {
    min-height: 8.5rem;
  }

  .post-form__actions {
    justify-content: stretch;
  }

  .post-form__actions .form-submit,
  .post-form-save-button {
    width: 100%;
  }

  .new-image-upload-header,
  .post-media-replacement__input {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.5rem;
  }

  .new-image-upload-count {
    text-align: left;
  }

  .post-media-replacement {
    padding: 0.65rem;
  }

  .post-media-replacement__header p {
    font-size: 0.82rem;
  }

  .post-media-replacement__preview.upload-preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
  }

  .post-media-manager-card__badge {
    font-size: 0.66rem;
    left: 0.4rem;
    max-width: calc(100% - 3.1rem);
    overflow: hidden;
    padding: 0.3rem 0.42rem;
    text-overflow: ellipsis;
    top: 0.4rem;
    white-space: nowrap;
  }

  .post-media-order-button {
    font-size: 0.72rem;
    line-height: 1.1;
    min-height: 2.35rem;
    padding: 0.45rem 0.25rem;
  }

  .post-media-manager-card .upload-preview-name {
    font-size: 0.72rem;
    padding: 0.4rem 0.45rem;
  }

  .new-image-file-row,
  .new-image-file-input,
  .new-image-file-input::file-selector-button {
    width: 100%;
  }

  .upload-preview-grid {
    grid-template-columns: 1fr;
  }

  .upload-preview-card {
    max-width: none;
  }

  .pure-u-3-5,
  .pure-u-4-5,
  .pure-u-1 {
    width: 100% !important;
  }

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

  table {
    font-size: 0.875rem;
  }

  .responsive-admin-table-wrap {
    overflow-x: visible;
  }

  .responsive-admin-table {
    background: transparent !important;
    border-radius: 0 !important;
    border-spacing: 0;
    display: block;
    min-width: 0 !important;
    white-space: normal !important;
  }

  .responsive-admin-table thead {
    display: none;
  }

  .responsive-admin-table tbody {
    display: grid;
    gap: 0.75rem;
  }

  .responsive-admin-table tr {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
    display: grid;
    gap: 0;
    overflow: hidden;
  }

  .responsive-admin-table td {
    align-items: flex-start;
    border-bottom: 1px solid #eef2f7;
    display: grid;
    gap: 0.35rem;
    min-width: 0 !important;
    padding: 0.7rem 0.85rem !important;
    white-space: normal !important;
  }

  .responsive-admin-table td:last-child {
    border-bottom: 0;
  }

  .responsive-admin-table td::before {
    color: #64748b;
    content: attr(data-label);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.2;
    text-transform: uppercase;
  }

  .responsive-admin-table td[data-label="Actions"] {
    background: #f8fafc;
  }

  .responsive-admin-table td[data-label="Actions"]>span,
  .responsive-admin-table td[data-label="Actions"] a {
    display: inline-flex;
    margin-bottom: 0.25rem;
  }

  th,
  td {
    padding: 0.75rem 1rem !important;
  }

  .pagination-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.25rem;
    min-height: auto;
    padding: 0.75rem 1rem;
  }

  .pagination-footer__info {
    min-height: auto;
  }

  .alert {
    left: 1rem;
    right: 1rem;
    width: auto;
  }
}

@media (min-width: 641px) and (max-width: 767px) {
  .post-reply__row {
    align-items: flex-start;
    flex-direction: row;
    gap: 1.25rem;
  }

  .post-reply__actions {
    align-items: flex-end;
    align-self: flex-end;
    justify-items: end;
    margin-left: auto;
    width: auto;
  }
}

@media (max-width: 420px) {
  .site-brand {
    font-size: clamp(1.65rem, 8vw, 2.15rem);
  }

  .mobile-nav-toggle {
    min-height: 2.25rem;
    padding-left: 0.6rem;
    padding-right: 0.6rem;
  }

  .new-image-content-types {
    grid-template-columns: 1fr;
  }

  .form-submit {
    width: 100%;
  }
}

.help-block {
  color: #b45353;
  font-size: 0.875rem;
  line-height: 1.25rem;
  margin-top: 0.375rem;
}

@keyframes slideToastFromTop {
  0% {
    transform: translateY(-120%);
    opacity: 0;
  }

  12% {
    transform: translateY(0);
    opacity: 1;
  }

  82% {
    transform: translateY(0);
    opacity: 1;
  }

  100% {
    transform: translateY(-120%);
    opacity: 0;
  }
}

/* ==========================================================================
   Appearance Preferences

   The user preference is exposed as a body class:
   - appearance-light: always light
   - appearance-dark: always dark
   - appearance-system: follows prefers-color-scheme
   ========================================================================== */

body {
  --theme-page-bg: #ffffff;
  --theme-surface: #ffffff;
  --theme-surface-muted: #f8fafc;
  --theme-surface-soft: #f9fafb;
  --theme-header-bg: #f3f4f6;
  --theme-sidebar-bg: #ffffff;
  --theme-border: #e5e7eb;
  --theme-border-strong: #cbd5e1;
  --theme-divider: #f3f4f6;
  --theme-text: #1f2937;
  --theme-text-strong: #111827;
  --theme-text-muted: #4b5563;
  --theme-text-soft: #6b7280;
  --theme-link: #1f8dd6;
  --theme-link-hover: #166aa3;
  --theme-accent: #2563eb;
  --theme-accent-soft: #eff6ff;
  --theme-accent-border: #bfdbfe;
  --theme-input-bg: #ffffff;
  --theme-input-border: #d7e0ee;
  --theme-input-text: #1f2937;
  --theme-shadow: 0 1px 2px rgba(15, 23, 42, 0.06), 0 8px 18px rgba(15, 23, 42, 0.035);
  --theme-reply-shadow:
    0 1px 2px rgba(15, 23, 42, 0.08),
    0 8px 18px rgba(15, 23, 42, 0.06);
  --nested-reply-shadow: var(--theme-reply-shadow);
  --post-surface-shadow: var(--theme-shadow);
  background: var(--theme-page-bg);
  color: var(--theme-text-muted);
  color-scheme: light;
}

body.appearance-dark {
  --theme-page-bg: #0f172a;
  --theme-surface: #172033;
  --theme-surface-muted: #111827;
  --theme-surface-soft: #1e293b;
  --theme-header-bg: #111827;
  --theme-sidebar-bg: #111827;
  --theme-border: #334155;
  --theme-border-strong: #475569;
  --theme-divider: #273449;
  --theme-text: #e5e7eb;
  --theme-text-strong: #f8fafc;
  --theme-text-muted: #cbd5e1;
  --theme-text-soft: #94a3b8;
  --theme-link: #7dd3fc;
  --theme-link-hover: #bae6fd;
  --theme-accent: #93c5fd;
  --theme-accent-soft: #1e3a5f;
  --theme-accent-border: #2f5d91;
  --theme-input-bg: #0f172a;
  --theme-input-border: #475569;
  --theme-input-text: #f8fafc;
  --theme-shadow: 0 16px 32px rgba(0, 0, 0, 0.34), 0 3px 10px rgba(0, 0, 0, 0.24);
  --theme-reply-shadow: var(--theme-shadow);
  color-scheme: dark;
}

body.appearance-light {
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  body.appearance-system {
    --theme-page-bg: #0f172a;
    --theme-surface: #172033;
    --theme-surface-muted: #111827;
    --theme-surface-soft: #1e293b;
    --theme-header-bg: #111827;
    --theme-sidebar-bg: #111827;
    --theme-border: #334155;
    --theme-border-strong: #475569;
    --theme-divider: #273449;
    --theme-text: #e5e7eb;
    --theme-text-strong: #f8fafc;
    --theme-text-muted: #cbd5e1;
    --theme-text-soft: #94a3b8;
    --theme-link: #7dd3fc;
    --theme-link-hover: #bae6fd;
    --theme-accent: #93c5fd;
    --theme-accent-soft: #1e3a5f;
    --theme-accent-border: #2f5d91;
    --theme-input-bg: #0f172a;
    --theme-input-border: #475569;
    --theme-input-text: #f8fafc;
    --theme-shadow: 0 16px 32px rgba(0, 0, 0, 0.34), 0 3px 10px rgba(0, 0, 0, 0.24);
    --theme-reply-shadow: var(--theme-shadow);
    color-scheme: dark;
  }
}

html,
body,
body .app-shell,
body #main {
  background: var(--theme-page-bg);
}

html:has(body.appearance-dark) {
  background: #0f172a;
  color-scheme: dark;
}

html:has(body.appearance-light) {
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  html:has(body.appearance-system) {
    background: #0f172a;
    color-scheme: dark;
  }
}

body .site-header,
body [class~="bg-gray-100"] {
  background-color: var(--theme-header-bg) !important;
}

body #sidebar,
body #navWrapper {
  background: var(--theme-sidebar-bg) !important;
}

@media (max-width: 1023px) {
  body #sidebar {
    background: rgba(15, 23, 42, 0.42) !important;
  }

  body #navWrapper {
    background: var(--theme-sidebar-bg) !important;
  }
}

body [class~="bg-white"],
body [class~="bg-white/40"],
body [class~="bg-white/60"],
body [class~="bg-white/70"],
body .surface-card,
body .post-list .post-container,
body .post-show-card,
body .post-reply,
body .post-container,
body .post-show-shell,
body .post-show-top-card,
body .post-reply-form--nested,
body .post-form-shell--reply .new-post-container,
body .friend-row,
body .inbox-message-card,
body .conversation-message,
body .conversation-reply,
body .conversation-muted-notice,
body .message-compose-form,
body .message-compose-empty,
body .settings-email-option,
body .admin-search-panel,
body .responsive-admin-table tr,
body .pagination-footer,
body .activity-feed__item,
body .user-activity-item {
  background-color: var(--theme-surface) !important;
  border-color: var(--theme-border) !important;
  color: var(--theme-text-muted);
}

body [class~="bg-gray-50"],
body .interest-hero,
body .post-card__text,
body .post-reply-context,
body .empty-state,
body .callout-strip,
body .sub-interest-card__stats span,
body .inbox-message-filters,
body .reply-media-upload,
body .reply-media-edit__item,
body .post-reply__media-item,
body .post-media-gallery__item,
body .post-media-gallery__fallback,
body .settings-email-option {
  background-color: var(--theme-surface-muted) !important;
  border-color: var(--theme-border) !important;
  color: var(--theme-text-muted);
}

body [class~="text-gray-800"],
body [class~="text-gray-700"],
body .interest-hero h1,
body .post-hero h1,
body .post-board__heading h2,
body .post-list .post-container h2,
body .post-form__heading h2,
body .friend-section h2,
body .friend-row h3,
body .inbox-message-card h2,
body .inbox-message-card__latest strong,
body .inbox-message-card__meta time,
body .conversation-message__header strong,
body .conversation-reply h2,
body .message-compose-recipient__summary strong,
body .reply-media-upload__label,
body .post-form .form-field>label:not(.sr-only),
body .section-heading-row h2,
body .admin-toolbar h2,
body .table-empty-state strong,
body .media-card__body h3,
body .post-card__body h3,
body .empty-state h3,
body .post-form-page__heading h1,
body .all-posts-interest-group__heading h3,
body .user-interest-posts__heading h3,
body .activity-feed__item h3,
body .user-activity-item h3 {
  color: var(--theme-text-strong) !important;
}

body [class~="text-gray-600"],
body [class~="text-gray-500"],
body .interest-hero p,
body .post-hero p:not(.section-eyebrow),
body .post-board__heading p,
body .post-list .post-container pre,
body .post-show-card__body,
body .post-show-card__likes-wrap,
body .personal-post-audience legend,
body .personal-post-audience__recipient label,
body .inbox-message-card__preview,
body .inbox-message-card__latest,
body .inbox-message-card__activity,
body .conversation-message__body,
body .conversation-muted-notice p,
body .conversation-reply__muted-hint,
body .conversation-reply__sending,
body .admin-toolbar p,
body .section-support,
body .media-card__text-preview,
body .post-card__text,
body .post-form-page__heading p:not(.section-eyebrow),
body .message-compose-footer p,
body .reply-media-upload__header p,
body .post-reply__media-fallback,
body .post-reply__text,
body .post-reply-context__text,
body .new-post-required-hint {
  color: var(--theme-text-muted) !important;
}

body .media-processing-placeholder,
body .post-media-gallery__fallback--processing {
  background: var(--theme-surface-muted) !important;
  color: var(--theme-text-muted) !important;
}

body .meta-text,
body .post-show-card__meta,
body .post-show-card__likes-wrap--disabled,
body .friend-row p,
body .friend-status,
body .inbox-message-card__meta,
body .inbox-message-card__activity time,
body .conversation-message__header,
body .conversation-muted-notice strong,
body .message-compose-recipient__summary span,
body .reply-media-upload__header span,
body .reply-media-edit__item figcaption,
body .post-reply__media-item figcaption,
body .post-reply__meta,
body .post-reply__like-count,
body .post-reply-context__meta,
body .personal-post-audience__hint,
body .personal-post-audience__option small,
body .all-posts-interest-group__meta,
body .all-posts-interest-group__toggle-label,
body .user-interest-posts__heading span,
body .sub-interest-card__stats span,
body .pagination-footer__info {
  color: var(--theme-text-soft) !important;
}

body .conversation-reply__sent {
  color: #34d399 !important;
}

body .inbox-message-card__latest--reply {
  border-color: var(--theme-border-strong) !important;
}

body .inbox-message-card__status,
body .inbox-message-card__muted,
body .inbox-message-card__action,
body .inbox-message-cleanup {
  background: var(--theme-surface-muted) !important;
  border-color: var(--theme-border) !important;
  color: var(--theme-text-strong) !important;
}

body .inbox-message-cleanup span {
  color: var(--theme-text-soft) !important;
}

body .inbox-message-card__action:hover,
body .inbox-message-cleanup:hover:not(:disabled) {
  background: color-mix(in srgb, var(--theme-accent-soft) 76%, var(--theme-surface) 24%) !important;
  border-color: var(--theme-accent-border) !important;
  color: var(--theme-link-hover) !important;
}

body.appearance-dark .nested-interest-link {
  background: #0f2742;
  border-color: #2563eb;
  color: #bfdbfe;
}

body.appearance-dark .nested-interest-link:hover {
  background: #12345a;
  border-color: #60a5fa;
  color: #dbeafe;
}

body.appearance-dark .nested-interest-link__meta {
  color: #93c5fd;
}

body.appearance-dark .nested-interest-link__status {
  color: #86efac;
}

body.appearance-dark .post-show-card__like-link img,
body.appearance-dark .post-options__like-icon,
body.appearance-dark .post-reply__like-icon {
  filter: invert(88%) sepia(33%) saturate(789%) hue-rotate(168deg) brightness(112%) contrast(105%)
    drop-shadow(0 0 2px rgba(186, 230, 253, 0.35));
}

body .inbox-message-card--unread {
  border-color: var(--theme-accent-border) !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1), var(--theme-shadow);
}

body .inbox-message-card__unread {
  background: var(--theme-accent-soft) !important;
  border-color: var(--theme-accent-border) !important;
  color: var(--theme-link-hover) !important;
}

body [class~="border-gray-100"],
body [class~="border-gray-200"],
body [class~="border-gray-300"],
body .site-header,
body .interest-tabs,
body .post-hero,
body .post-details__reply-summary,
body .post-list .post-details,
body .post-show-card__meta,
body .activity-feed,
body .activity-feed__item,
body .user-activity-list,
body .user-activity-item,
body .admin-search-panel,
body .surface-card,
body .empty-state,
body .callout-strip,
body .pagination-footer {
  border-color: var(--theme-border) !important;
}

body .responsive-admin-table td {
  border-color: var(--theme-divider) !important;
}

body .responsive-admin-table td::before {
  color: var(--theme-text-soft) !important;
}

body .responsive-admin-table td[data-label="Actions"] {
  background: var(--theme-surface-muted) !important;
}

body .post-list .post-container,
body .post-show-card,
body .post-reply,
body .post-container,
body .post-show-top-card,
body .post-reply-form--nested,
body .post-form-shell--reply .new-post-container,
body .friend-row,
body .inbox-message-card,
body .conversation-message,
body .conversation-reply,
body .message-compose-form,
body .message-compose-empty {
  box-shadow: var(--theme-shadow);
}

body .conversation-message--new {
  border-color: #60a5fa !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12), var(--theme-shadow) !important;
}

body .post-reply,
body .post-reply-form--nested {
  border-color: var(--theme-border-strong) !important;
  box-shadow: var(--theme-reply-shadow) !important;
}

body .admin-attention-strip {
  background: color-mix(in srgb, var(--theme-surface-muted) 86%, #f97316 14%) !important;
  border-color: color-mix(in srgb, var(--theme-border) 70%, #f97316 30%) !important;
}

body .admin-attention-strip h3 {
  color: var(--theme-text-strong) !important;
}

body a,
body .link,
body .post-show-card__action-link,
body .interest-tabs a,
body .section-eyebrow,
body .activity-feed__type,
body .sidebar-interest-add,
body .sidebar-interest-join,
body .button-secondary {
  color: var(--theme-link) !important;
}

body a:hover,
body .link:hover,
body .post-show-card__action-link:hover,
body .interest-tabs a:hover,
body .button-secondary:hover {
  color: var(--theme-link-hover) !important;
}

body .button-secondary,
body .sidebar-interest-add,
body .sidebar-interest-join,
body .new-post-type-links__item,
body .reply-count-badge {
  border-color: var(--theme-accent-border) !important;
}

body .sidebar-interest-add:hover,
body .sidebar-interest-join:hover,
body .new-post-type-links__item:hover,
body .sidebar-interest-row.is-selected,
body .sidebar-interest-summary.is-selected,
body .reply-count-badge {
  background-color: var(--theme-accent-soft) !important;
}

body .new-post-type-links__item.is-selected,
body .form-submit {
  background-color: #2563eb !important;
  border-color: #2563eb !important;
  color: #ffffff !important;
}

body .form-submit:hover {
  background-color: #1d4ed8 !important;
}

body .form-submit:disabled {
  background-color: #64748b !important;
  color: #e5e7eb !important;
}

body.appearance-dark .impersonation-banner {
  background: #431407;
  border-color: #9a3412;
  color: #ffedd5;
}

body.appearance-dark .impersonation-banner button,
body.appearance-dark .sidebar-admin-control button {
  background: #1e3a5f !important;
  border: 1px solid #2f5d91 !important;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
  color: #dbeafe !important;
}

body.appearance-dark .impersonation-banner button:hover,
body.appearance-dark .sidebar-admin-control button:hover {
  background: #244f80 !important;
  border-color: #60a5fa !important;
  color: #f8fafc !important;
}

body.appearance-dark .modal.modal-confirm .modal-content {
  background: #172033;
  border: 1px solid #334155;
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.42);
}

body.appearance-dark .modal.modal-toast .modal-content {
  background: #172033;
  border: 1px solid #334155;
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.42);
  color: #f8fafc;
}

body.appearance-dark .conversation-message--new {
  animation-name: conversation-message-highlight-dark;
}

body.appearance-dark .modal-toast__link {
  border-left-color: #475569;
  color: #93c5fd;
}

body.appearance-dark .modal-toast__link:hover {
  color: #bfdbfe;
}

body.appearance-dark .modal-toast__title {
  color: #f8fafc;
}

body.appearance-dark .modal-toast__message {
  color: #cbd5e1;
}

body.appearance-dark .modal-toast__dismiss {
  background: #111827;
  border-color: #475569;
  color: #cbd5e1;
}

body.appearance-dark .modal-toast__dismiss:hover {
  background: #1e293b;
  color: #f8fafc;
}

body.appearance-dark .modal-confirm__message {
  color: #f8fafc;
}

body.appearance-dark .modal-confirm__button--secondary {
  background: #111827;
  border-color: #475569;
  color: #cbd5e1;
}

body.appearance-dark .modal-confirm__button--secondary:hover {
  background: #1e293b;
  color: #f8fafc;
}

@media (prefers-color-scheme: dark) {
  body.appearance-system .nested-interest-link {
    background: #0f2742;
    border-color: #2563eb;
    color: #bfdbfe;
  }

  body.appearance-system .nested-interest-link:hover {
    background: #12345a;
    border-color: #60a5fa;
    color: #dbeafe;
  }

  body.appearance-system .nested-interest-link__meta {
    color: #93c5fd;
  }

  body.appearance-system .nested-interest-link__status {
    color: #86efac;
  }

  body.appearance-system .post-show-card__like-link img,
  body.appearance-system .post-options__like-icon,
  body.appearance-system .post-reply__like-icon {
    filter: invert(88%) sepia(33%) saturate(789%) hue-rotate(168deg) brightness(112%) contrast(105%)
      drop-shadow(0 0 2px rgba(186, 230, 253, 0.35));
  }

  body.appearance-system .impersonation-banner {
    background: #431407;
    border-color: #9a3412;
    color: #ffedd5;
  }

  body.appearance-system .impersonation-banner button,
  body.appearance-system .sidebar-admin-control button {
    background: #1e3a5f !important;
    border: 1px solid #2f5d91 !important;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
    color: #dbeafe !important;
  }

  body.appearance-system .impersonation-banner button:hover,
  body.appearance-system .sidebar-admin-control button:hover {
    background: #244f80 !important;
    border-color: #60a5fa !important;
    color: #f8fafc !important;
  }

  body.appearance-system .modal.modal-confirm .modal-content {
    background: #172033;
    border: 1px solid #334155;
    box-shadow: 0 24px 54px rgba(0, 0, 0, 0.42);
  }

  body.appearance-system .modal.modal-toast .modal-content {
    background: #172033;
    border: 1px solid #334155;
    box-shadow: 0 24px 54px rgba(0, 0, 0, 0.42);
    color: #f8fafc;
  }

  body.appearance-system .conversation-message--new {
    animation-name: conversation-message-highlight-dark;
  }

  body.appearance-system .modal-toast__link {
    border-left-color: #475569;
    color: #93c5fd;
  }

  body.appearance-system .modal-toast__link:hover {
    color: #bfdbfe;
  }

  body.appearance-system .modal-toast__title {
    color: #f8fafc;
  }

  body.appearance-system .modal-toast__message {
    color: #cbd5e1;
  }

  body.appearance-system .modal-toast__dismiss {
    background: #111827;
    border-color: #475569;
    color: #cbd5e1;
  }

  body.appearance-system .modal-toast__dismiss:hover {
    background: #1e293b;
    color: #f8fafc;
  }

  body.appearance-system .modal-confirm__message {
    color: #f8fafc;
  }

  body.appearance-system .modal-confirm__button--secondary {
    background: #111827;
    border-color: #475569;
    color: #cbd5e1;
  }

  body.appearance-system .modal-confirm__button--secondary:hover {
    background: #1e293b;
    color: #f8fafc;
  }
}

body input,
body textarea,
body select,
body .form-text-input,
body .new-post-title-input,
body .new-post-body-input {
  background-color: var(--theme-input-bg) !important;
  border-color: var(--theme-input-border) !important;
  color: var(--theme-input-text) !important;
}

body input::-moz-placeholder, body textarea::-moz-placeholder, body .new-post-title-input::-moz-placeholder, body .new-post-body-input::-moz-placeholder {
  color: var(--theme-text-soft) !important;
}

body input::placeholder,
body textarea::placeholder,
body .new-post-title-input::placeholder,
body .new-post-body-input::placeholder {
  color: var(--theme-text-soft) !important;
}

body .collapse-chip,
body .inbox-message-filter--active {
  background-color: var(--theme-surface) !important;
  border-color: var(--theme-border-strong) !important;
  color: var(--theme-text) !important;
}

body .inbox-message-filter,
body .inbox-message-filter span {
  color: var(--theme-text-soft) !important;
}

body .inbox-message-filter:hover {
  color: var(--theme-text-strong) !important;
}

body .reply-thread::before {
  background: var(--theme-border-strong);
}

body .reply-thread__root::before {
  border-color: var(--theme-surface);
  box-shadow: 0 0 0 1px var(--theme-accent-border);
}

body.appearance-dark .site-logo--light {
  display: none;
}

body.appearance-dark .site-logo--dark {
  display: block;
}

@media (prefers-color-scheme: dark) {
  body.appearance-system .site-logo--light {
    display: none;
  }

  body.appearance-system .site-logo--dark {
    display: block;
  }
}

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

.hover\:border-red-200:hover {
  --tw-border-opacity: 1;
  border-color: rgb(254 202 202 / var(--tw-border-opacity, 1));
}

.hover\:bg-blue-100:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(219 234 254 / var(--tw-bg-opacity, 1));
}

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

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

.hover\:bg-red-50:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(254 242 242 / var(--tw-bg-opacity, 1));
}

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

.hover\:text-blue-600:hover {
  --tw-text-opacity: 1;
  color: rgb(37 99 235 / var(--tw-text-opacity, 1));
}

.hover\:text-blue-700:hover {
  --tw-text-opacity: 1;
  color: rgb(29 78 216 / var(--tw-text-opacity, 1));
}

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

@media (min-width: 640px) {

  .sm\:m-8 {
    margin: 2rem;
  }

  .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-end {
    align-items: flex-end;
  }

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

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

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

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

@media (min-width: 768px) {

  .md\:flex {
    display: flex;
  }

  .md\:w-1\/3 {
    width: 33.333333%;
  }

  .md\:w-2\/3 {
    width: 66.666667%;
  }

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

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

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

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

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

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

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

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

  .md\:items-end {
    align-items: flex-end;
  }

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

  .md\:gap-6 {
    gap: 1.5rem;
  }

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

  .md\:pt-1 {
    padding-top: 0.25rem;
  }
}

@media (min-width: 1024px) {

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

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

  .lg\:mr-0 {
    margin-right: 0px;
  }

  .lg\:block {
    display: block;
  }

  .lg\:flex {
    display: flex;
  }

  .lg\:hidden {
    display: none;
  }

  .lg\:w-full {
    width: 100%;
  }

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

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

  .lg\:grid-cols-\[minmax\(0\2c 1\.15fr\)_minmax\(280px\2c 0\.85fr\)\] {
    grid-template-columns: minmax(0,1.15fr) minmax(280px,0.85fr);
  }

  .lg\:items-end {
    align-items: flex-end;
  }

  .lg\:border-b-0 {
    border-bottom-width: 0px;
  }

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

  .lg\:pt-10 {
    padding-top: 2.5rem;
  }

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

@media (min-width: 1280px) {

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

  .xl\:px-5 {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .xl\:pl-8 {
    padding-left: 2rem;
  }
}

