/* app/globals.css — Manarah Design System v3 (clean + emerald)
   Goals:
   - Simple, elegant, readable
   - On-brand Copper + Emerald (green) without messy blends
   - First-class RTL + Dark mode (Tailwind: darkMode:'class')
   - Works great with your existing components
*/

*, ::before, ::after {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

::backdrop {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

/* ! tailwindcss v3.4.18 | MIT License | https://tailwindcss.com
*/

/*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/

*,
::before,
::after {
  box-sizing: border-box; /* 1 */
  border-width: 0; /* 2 */
  border-style: solid; /* 2 */
  border-color: #e5e7eb; /* 2 */
}

::before,
::after {
  --tw-content: '';
}

/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
7. Disable tap highlights on iOS
*/

html,
:host {
  line-height: 1.5; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
  -moz-tab-size: 4; /* 3 */
  -o-tab-size: 4;
     tab-size: 4; /* 3 */
  font-family: var(--font-sans); /* 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%;
  margin-right: auto;
  margin-left: auto;
  padding-right: 1rem;
  padding-left: 1rem;
}
@media (min-width: 80rem) {

  .container {
    max-width: 80rem;
  }
}
.prose {
  color: var(--tw-prose-body);
  max-width: 65ch;
}
.prose :where(p):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 1.25em;
  margin-bottom: 1.25em;
}
.prose :where([class~="lead"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-lead);
  font-size: 1.25em;
  line-height: 1.6;
  margin-top: 1.2em;
  margin-bottom: 1.2em;
}
.prose :where(a):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-links);
  text-decoration: underline;
  font-weight: 500;
}
.prose :where(strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-bold);
  font-weight: 600;
}
.prose :where(a strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: inherit;
}
.prose :where(blockquote strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: inherit;
}
.prose :where(thead th strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: inherit;
}
.prose :where(ol):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: decimal;
  margin-top: 1.25em;
  margin-bottom: 1.25em;
  padding-inline-start: 1.625em;
}
.prose :where(ol[type="A"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: upper-alpha;
}
.prose :where(ol[type="a"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: lower-alpha;
}
.prose :where(ol[type="A" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: upper-alpha;
}
.prose :where(ol[type="a" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: lower-alpha;
}
.prose :where(ol[type="I"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: upper-roman;
}
.prose :where(ol[type="i"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: lower-roman;
}
.prose :where(ol[type="I" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: upper-roman;
}
.prose :where(ol[type="i" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: lower-roman;
}
.prose :where(ol[type="1"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: decimal;
}
.prose :where(ul):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: disc;
  margin-top: 1.25em;
  margin-bottom: 1.25em;
  padding-inline-start: 1.625em;
}
.prose :where(ol > li):not(:where([class~="not-prose"],[class~="not-prose"] *))::marker {
  font-weight: 400;
  color: var(--tw-prose-counters);
}
.prose :where(ul > li):not(:where([class~="not-prose"],[class~="not-prose"] *))::marker {
  color: var(--tw-prose-bullets);
}
.prose :where(dt):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-headings);
  font-weight: 600;
  margin-top: 1.25em;
}
.prose :where(hr):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  border-color: var(--tw-prose-hr);
  border-top-width: 1px;
  margin-top: 3em;
  margin-bottom: 3em;
}
.prose :where(blockquote):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  font-weight: 500;
  font-style: italic;
  color: var(--tw-prose-quotes);
  border-inline-start-width: 0.25rem;
  border-inline-start-color: var(--tw-prose-quote-borders);
  quotes: "\201C""\201D""\2018""\2019";
  margin-top: 1.6em;
  margin-bottom: 1.6em;
  padding-inline-start: 1em;
}
.prose :where(blockquote p:first-of-type):not(:where([class~="not-prose"],[class~="not-prose"] *))::before {
  content: open-quote;
}
.prose :where(blockquote p:last-of-type):not(:where([class~="not-prose"],[class~="not-prose"] *))::after {
  content: close-quote;
}
.prose :where(h1):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-headings);
  font-weight: 800;
  font-size: 2.25em;
  margin-top: 0;
  margin-bottom: 0.8888889em;
  line-height: 1.1111111;
}
.prose :where(h1 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  font-weight: 900;
  color: inherit;
}
.prose :where(h2):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-headings);
  font-weight: 700;
  font-size: 1.5em;
  margin-top: 2em;
  margin-bottom: 1em;
  line-height: 1.3333333;
}
.prose :where(h2 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  font-weight: 800;
  color: inherit;
}
.prose :where(h3):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-headings);
  font-weight: 600;
  font-size: 1.25em;
  margin-top: 1.6em;
  margin-bottom: 0.6em;
  line-height: 1.6;
}
.prose :where(h3 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  font-weight: 700;
  color: inherit;
}
.prose :where(h4):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-headings);
  font-weight: 600;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
  line-height: 1.5;
}
.prose :where(h4 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  font-weight: 700;
  color: inherit;
}
.prose :where(img):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 2em;
  margin-bottom: 2em;
}
.prose :where(picture):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  display: block;
  margin-top: 2em;
  margin-bottom: 2em;
}
.prose :where(video):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 2em;
  margin-bottom: 2em;
}
.prose :where(kbd):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  font-weight: 500;
  font-family: inherit;
  color: var(--tw-prose-kbd);
  box-shadow: 0 0 0 1px var(--tw-prose-kbd-shadows), 0 3px 0 var(--tw-prose-kbd-shadows);
  font-size: 0.875em;
  border-radius: 0.3125rem;
  padding-top: 0.1875em;
  padding-inline-end: 0.375em;
  padding-bottom: 0.1875em;
  padding-inline-start: 0.375em;
}
.prose :where(code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-code);
  font-weight: 600;
  font-size: 0.875em;
}
.prose :where(code):not(:where([class~="not-prose"],[class~="not-prose"] *))::before {
  content: "`";
}
.prose :where(code):not(:where([class~="not-prose"],[class~="not-prose"] *))::after {
  content: "`";
}
.prose :where(a code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: inherit;
}
.prose :where(h1 code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: inherit;
}
.prose :where(h2 code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: inherit;
  font-size: 0.875em;
}
.prose :where(h3 code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: inherit;
  font-size: 0.9em;
}
.prose :where(h4 code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: inherit;
}
.prose :where(blockquote code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: inherit;
}
.prose :where(thead th code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: inherit;
}
.prose :where(pre):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-pre-code);
  background-color: var(--tw-prose-pre-bg);
  overflow-x: auto;
  font-weight: 400;
  font-size: 0.875em;
  line-height: 1.7142857;
  margin-top: 1.7142857em;
  margin-bottom: 1.7142857em;
  border-radius: 0.375rem;
  padding-top: 0.8571429em;
  padding-inline-end: 1.1428571em;
  padding-bottom: 0.8571429em;
  padding-inline-start: 1.1428571em;
}
.prose :where(pre code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  background-color: transparent;
  border-width: 0;
  border-radius: 0;
  padding: 0;
  font-weight: inherit;
  color: inherit;
  font-size: inherit;
  font-family: inherit;
  line-height: inherit;
}
.prose :where(pre code):not(:where([class~="not-prose"],[class~="not-prose"] *))::before {
  content: none;
}
.prose :where(pre code):not(:where([class~="not-prose"],[class~="not-prose"] *))::after {
  content: none;
}
.prose :where(table):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  width: 100%;
  table-layout: auto;
  margin-top: 2em;
  margin-bottom: 2em;
  font-size: 0.875em;
  line-height: 1.7142857;
}
.prose :where(thead):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  border-bottom-width: 1px;
  border-bottom-color: var(--tw-prose-th-borders);
}
.prose :where(thead th):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-headings);
  font-weight: 600;
  vertical-align: bottom;
  padding-inline-end: 0.5714286em;
  padding-bottom: 0.5714286em;
  padding-inline-start: 0.5714286em;
}
.prose :where(tbody tr):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  border-bottom-width: 1px;
  border-bottom-color: var(--tw-prose-td-borders);
}
.prose :where(tbody tr:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  border-bottom-width: 0;
}
.prose :where(tbody td):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  vertical-align: baseline;
}
.prose :where(tfoot):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  border-top-width: 1px;
  border-top-color: var(--tw-prose-th-borders);
}
.prose :where(tfoot td):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  vertical-align: top;
}
.prose :where(th, td):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  text-align: start;
}
.prose :where(figure > *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0;
  margin-bottom: 0;
}
.prose :where(figcaption):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-captions);
  font-size: 0.875em;
  line-height: 1.4285714;
  margin-top: 0.8571429em;
}
.prose {
  --tw-prose-body: #374151;
  --tw-prose-headings: #111827;
  --tw-prose-lead: #4b5563;
  --tw-prose-links: #111827;
  --tw-prose-bold: #111827;
  --tw-prose-counters: #6b7280;
  --tw-prose-bullets: #d1d5db;
  --tw-prose-hr: #e5e7eb;
  --tw-prose-quotes: #111827;
  --tw-prose-quote-borders: #e5e7eb;
  --tw-prose-captions: #6b7280;
  --tw-prose-kbd: #111827;
  --tw-prose-kbd-shadows: rgb(17 24 39 / 10%);
  --tw-prose-code: #111827;
  --tw-prose-pre-code: #e5e7eb;
  --tw-prose-pre-bg: #1f2937;
  --tw-prose-th-borders: #d1d5db;
  --tw-prose-td-borders: #e5e7eb;
  --tw-prose-invert-body: #d1d5db;
  --tw-prose-invert-headings: #fff;
  --tw-prose-invert-lead: #9ca3af;
  --tw-prose-invert-links: #fff;
  --tw-prose-invert-bold: #fff;
  --tw-prose-invert-counters: #9ca3af;
  --tw-prose-invert-bullets: #4b5563;
  --tw-prose-invert-hr: #374151;
  --tw-prose-invert-quotes: #f3f4f6;
  --tw-prose-invert-quote-borders: #374151;
  --tw-prose-invert-captions: #9ca3af;
  --tw-prose-invert-kbd: #fff;
  --tw-prose-invert-kbd-shadows: rgb(255 255 255 / 10%);
  --tw-prose-invert-code: #fff;
  --tw-prose-invert-pre-code: #d1d5db;
  --tw-prose-invert-pre-bg: rgb(0 0 0 / 50%);
  --tw-prose-invert-th-borders: #4b5563;
  --tw-prose-invert-td-borders: #374151;
  font-size: 1rem;
  line-height: 1.75;
}
.prose :where(picture > img):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0;
  margin-bottom: 0;
}
.prose :where(li):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}
.prose :where(ol > li):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  padding-inline-start: 0.375em;
}
.prose :where(ul > li):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  padding-inline-start: 0.375em;
}
.prose :where(.prose > ul > li p):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0.75em;
  margin-bottom: 0.75em;
}
.prose :where(.prose > ul > li > p:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 1.25em;
}
.prose :where(.prose > ul > li > p:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-bottom: 1.25em;
}
.prose :where(.prose > ol > li > p:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 1.25em;
}
.prose :where(.prose > ol > li > p:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-bottom: 1.25em;
}
.prose :where(ul ul, ul ol, ol ul, ol ol):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0.75em;
  margin-bottom: 0.75em;
}
.prose :where(dl):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 1.25em;
  margin-bottom: 1.25em;
}
.prose :where(dd):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0.5em;
  padding-inline-start: 1.625em;
}
.prose :where(hr + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0;
}
.prose :where(h2 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0;
}
.prose :where(h3 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0;
}
.prose :where(h4 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0;
}
.prose :where(thead th:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  padding-inline-start: 0;
}
.prose :where(thead th:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  padding-inline-end: 0;
}
.prose :where(tbody td, tfoot td):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  padding-top: 0.5714286em;
  padding-inline-end: 0.5714286em;
  padding-bottom: 0.5714286em;
  padding-inline-start: 0.5714286em;
}
.prose :where(tbody td:first-child, tfoot td:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  padding-inline-start: 0;
}
.prose :where(tbody td:last-child, tfoot td:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  padding-inline-end: 0;
}
.prose :where(figure):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 2em;
  margin-bottom: 2em;
}
.prose :where(.prose > :first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0;
}
.prose :where(.prose > :last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-bottom: 0;
}
.prose-neutral {
  --tw-prose-body: #404040;
  --tw-prose-headings: #171717;
  --tw-prose-lead: #525252;
  --tw-prose-links: #171717;
  --tw-prose-bold: #171717;
  --tw-prose-counters: #737373;
  --tw-prose-bullets: #d4d4d4;
  --tw-prose-hr: #e5e5e5;
  --tw-prose-quotes: #171717;
  --tw-prose-quote-borders: #e5e5e5;
  --tw-prose-captions: #737373;
  --tw-prose-kbd: #171717;
  --tw-prose-kbd-shadows: rgb(23 23 23 / 10%);
  --tw-prose-code: #171717;
  --tw-prose-pre-code: #e5e5e5;
  --tw-prose-pre-bg: #262626;
  --tw-prose-th-borders: #d4d4d4;
  --tw-prose-td-borders: #e5e5e5;
  --tw-prose-invert-body: #d4d4d4;
  --tw-prose-invert-headings: #fff;
  --tw-prose-invert-lead: #a3a3a3;
  --tw-prose-invert-links: #fff;
  --tw-prose-invert-bold: #fff;
  --tw-prose-invert-counters: #a3a3a3;
  --tw-prose-invert-bullets: #525252;
  --tw-prose-invert-hr: #404040;
  --tw-prose-invert-quotes: #f5f5f5;
  --tw-prose-invert-quote-borders: #404040;
  --tw-prose-invert-captions: #a3a3a3;
  --tw-prose-invert-kbd: #fff;
  --tw-prose-invert-kbd-shadows: rgb(255 255 255 / 10%);
  --tw-prose-invert-code: #fff;
  --tw-prose-invert-pre-code: #d4d4d4;
  --tw-prose-invert-pre-bg: rgb(0 0 0 / 50%);
  --tw-prose-invert-th-borders: #525252;
  --tw-prose-invert-td-borders: #404040;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
.pointer-events-none {
  pointer-events: none;
}
.\!visible {
  visibility: visible !important;
}
.visible {
  visibility: visible;
}
.fixed {
  position: fixed;
}
.absolute {
  position: absolute;
}
.relative {
  position: relative;
}
.sticky {
  position: sticky;
}
.inset-0 {
  inset: 0px;
}
.inset-x-0 {
  left: 0px;
  right: 0px;
}
.inset-x-2 {
  left: 0.5rem;
  right: 0.5rem;
}
.inset-x-3 {
  left: 0.75rem;
  right: 0.75rem;
}
.-end-3 {
  inset-inline-end: -0.75rem;
}
.-top-3 {
  top: -0.75rem;
}
.bottom-0 {
  bottom: 0px;
}
.bottom-20 {
  bottom: 5rem;
}
.end-0 {
  inset-inline-end: 0px;
}
.end-4 {
  inset-inline-end: 1rem;
}
.left-1\/2 {
  left: 50%;
}
.start-0 {
  inset-inline-start: 0px;
}
.top-0 {
  top: 0px;
}
.top-1\/2 {
  top: 50%;
}
.top-2 {
  top: 0.5rem;
}
.top-20 {
  top: 5rem;
}
.top-24 {
  top: 6rem;
}
.top-3 {
  top: 0.75rem;
}
.-z-10 {
  z-index: -10;
}
.z-10 {
  z-index: 10;
}
.z-20 {
  z-index: 20;
}
.z-30 {
  z-index: 30;
}
.z-40 {
  z-index: 40;
}
.z-50 {
  z-index: 50;
}
.z-\[1000\] {
  z-index: 1000;
}
.z-\[1\] {
  z-index: 1;
}
.z-\[999\] {
  z-index: 999;
}
.order-1 {
  order: 1;
}
.order-2 {
  order: 2;
}
.mx-1 {
  margin-left: 0.25rem;
  margin-right: 0.25rem;
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}
.my-2 {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}
.\!mb-1 {
  margin-bottom: 0.25rem !important;
}
.-mb-px {
  margin-bottom: -1px;
}
.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;
}
.me-1 {
  margin-inline-end: 0.25rem;
}
.me-2 {
  margin-inline-end: 0.5rem;
}
.ms-1 {
  margin-inline-start: 0.25rem;
}
.ms-2 {
  margin-inline-start: 0.5rem;
}
.ms-3 {
  margin-inline-start: 0.75rem;
}
.ms-auto {
  margin-inline-start: auto;
}
.mt-0\.5 {
  margin-top: 0.125rem;
}
.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;
}
.line-clamp-2 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.line-clamp-3 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.block {
  display: block;
}
.inline-block {
  display: inline-block;
}
.flex {
  display: flex;
}
.inline-flex {
  display: inline-flex;
}
.table {
  display: table;
}
.grid {
  display: grid;
}
.hidden {
  display: none;
}
.aspect-\[16\/6\] {
  aspect-ratio: 16/6;
}
.aspect-\[16\/9\] {
  aspect-ratio: 16/9;
}
.aspect-\[21\/9\] {
  aspect-ratio: 21/9;
}
.aspect-\[4\/3\] {
  aspect-ratio: 4/3;
}
.aspect-square {
  aspect-ratio: 1 / 1;
}
.aspect-video {
  aspect-ratio: 16 / 9;
}
.size-4 {
  width: 1rem;
  height: 1rem;
}
.h-10 {
  height: 2.5rem;
}
.h-11 {
  height: 2.75rem;
}
.h-12 {
  height: 3rem;
}
.h-14 {
  height: 3.5rem;
}
.h-16 {
  height: 4rem;
}
.h-2 {
  height: 0.5rem;
}
.h-2\.5 {
  height: 0.625rem;
}
.h-28 {
  height: 7rem;
}
.h-32 {
  height: 8rem;
}
.h-36 {
  height: 9rem;
}
.h-4 {
  height: 1rem;
}
.h-40 {
  height: 10rem;
}
.h-44 {
  height: 11rem;
}
.h-48 {
  height: 12rem;
}
.h-5 {
  height: 1.25rem;
}
.h-6 {
  height: 1.5rem;
}
.h-64 {
  height: 16rem;
}
.h-7 {
  height: 1.75rem;
}
.h-72 {
  height: 18rem;
}
.h-8 {
  height: 2rem;
}
.h-9 {
  height: 2.25rem;
}
.h-auto {
  height: auto;
}
.h-full {
  height: 100%;
}
.h-max {
  height: -moz-max-content;
  height: max-content;
}
.max-h-\[420px\] {
  max-height: 420px;
}
.max-h-\[90vh\] {
  max-height: 90vh;
}
.min-h-\[140px\] {
  min-height: 140px;
}
.min-h-\[220px\] {
  min-height: 220px;
}
.min-h-\[260px\] {
  min-height: 260px;
}
.min-h-\[60vh\] {
  min-height: 60vh;
}
.min-h-screen {
  min-height: 100vh;
}
.w-10 {
  width: 2.5rem;
}
.w-16 {
  width: 4rem;
}
.w-2 {
  width: 0.5rem;
}
.w-2\.5 {
  width: 0.625rem;
}
.w-2\/3 {
  width: 66.666667%;
}
.w-28 {
  width: 7rem;
}
.w-4 {
  width: 1rem;
}
.w-48 {
  width: 12rem;
}
.w-5 {
  width: 1.25rem;
}
.w-56 {
  width: 14rem;
}
.w-6 {
  width: 1.5rem;
}
.w-60 {
  width: 15rem;
}
.w-64 {
  width: 16rem;
}
.w-7 {
  width: 1.75rem;
}
.w-8 {
  width: 2rem;
}
.w-80 {
  width: 20rem;
}
.w-9 {
  width: 2.25rem;
}
.w-\[94vw\] {
  width: 94vw;
}
.w-\[min\(1100px\2c 95vw\)\] {
  width: min(1100px,95vw);
}
.w-auto {
  width: auto;
}
.w-full {
  width: 100%;
}
.w-max {
  width: -moz-max-content;
  width: max-content;
}
.w-px {
  width: 1px;
}
.min-w-0 {
  min-width: 0px;
}
.min-w-\[160px\] {
  min-width: 160px;
}
.min-w-\[180px\] {
  min-width: 180px;
}
.min-w-\[220px\] {
  min-width: 220px;
}
.min-w-\[88px\] {
  min-width: 88px;
}
.min-w-full {
  min-width: 100%;
}
.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-\[26ch\] {
  max-width: 26ch;
}
.max-w-none {
  max-width: none;
}
.max-w-sm {
  max-width: 24rem;
}
.max-w-xl {
  max-width: 36rem;
}
.flex-1 {
  flex: 1 1 0%;
}
.shrink-0 {
  flex-shrink: 0;
}
.grow {
  flex-grow: 1;
}
.basis-\[85\%\] {
  flex-basis: 85%;
}
.-translate-x-1\/2 {
  --tw-translate-x: -50%;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.-translate-y-1\/2 {
  --tw-translate-y: -50%;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.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));
}
@keyframes pulse {

  50% {
    opacity: .5;
  }
}
.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes spin {

  to {
    transform: rotate(360deg);
  }
}
.animate-spin {
  animation: spin 1s linear infinite;
}
.cursor-not-allowed {
  cursor: not-allowed;
}
.cursor-pointer {
  cursor: pointer;
}
.touch-pan-y {
  --tw-pan-y: pan-y;
  touch-action: var(--tw-pan-x) var(--tw-pan-y) var(--tw-pinch-zoom);
}
.resize {
  resize: both;
}
.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}
.grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid-cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.grid-cols-\[160px\2c 1fr\2c auto\] {
  grid-template-columns: 160px 1fr auto;
}
.grid-cols-\[40px_1fr_auto\] {
  grid-template-columns: 40px 1fr auto;
}
.grid-cols-\[44px_1fr\] {
  grid-template-columns: 44px 1fr;
}
.flex-col {
  flex-direction: column;
}
.flex-wrap {
  flex-wrap: wrap;
}
.place-items-center {
  place-items: center;
}
.items-start {
  align-items: flex-start;
}
.items-end {
  align-items: flex-end;
}
.items-center {
  align-items: center;
}
.items-baseline {
  align-items: baseline;
}
.justify-start {
  justify-content: flex-start;
}
.justify-end {
  justify-content: flex-end;
}
.justify-center {
  justify-content: center;
}
.justify-between {
  justify-content: space-between;
}
.justify-items-center {
  justify-items: center;
}
.gap-1 {
  gap: 0.25rem;
}
.gap-1\.5 {
  gap: 0.375rem;
}
.gap-2 {
  gap: 0.5rem;
}
.gap-3 {
  gap: 0.75rem;
}
.gap-4 {
  gap: 1rem;
}
.gap-6 {
  gap: 1.5rem;
}
.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-12 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(3rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(3rem * 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-5 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(1.25rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1.25rem * 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));
}
.space-y-8 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(2rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(2rem * 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));
}
.self-end {
  align-self: flex-end;
}
.overflow-auto {
  overflow: auto;
}
.overflow-hidden {
  overflow: hidden;
}
.overflow-x-auto {
  overflow-x: auto;
}
.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.whitespace-pre-wrap {
  white-space: pre-wrap;
}
.break-words {
  overflow-wrap: break-word;
}
.rounded {
  border-radius: 0.25rem;
}
.rounded-2xl {
  border-radius: 1.25rem;
}
.rounded-\[10px\] {
  border-radius: 10px;
}
.rounded-full {
  border-radius: 9999px;
}
.rounded-lg {
  border-radius: 0.5rem;
}
.rounded-md {
  border-radius: 0.375rem;
}
.rounded-xl {
  border-radius: 0.875rem;
}
.rounded-t-\[inherit\] {
  border-top-left-radius: inherit;
  border-top-right-radius: inherit;
}
.border {
  border-width: 1px;
}
.border-2 {
  border-width: 2px;
}
.border-b {
  border-bottom-width: 1px;
}
.border-b-2 {
  border-bottom-width: 2px;
}
.border-e {
  border-inline-end-width: 1px;
}
.border-t {
  border-top-width: 1px;
}
.border-dashed {
  border-style: dashed;
}
.border-\[hsl\(var\(--border\)\)\] {
  border-color: hsl(var(--border));
}
.border-\[hsl\(var\(--brand-copper\)\/\.7\)\] {
  border-color: hsl(var(--brand-copper)/.7);
}
.border-border {
  border-color: hsl(var(--border));
}
.border-current {
  border-color: currentColor;
}
.border-danger {
  border-color: hsl(var(--danger));
}
.border-danger\/30 {
  border-color: hsl(var(--danger) / 0.3);
}
.border-primary {
  border-color: hsl(var(--primary));
}
.border-primary\/30 {
  border-color: hsl(var(--primary) / 0.3);
}
.border-success\/30 {
  border-color: hsl(var(--success) / 0.3);
}
.border-transparent {
  border-color: transparent;
}
.border-warning\/30 {
  border-color: hsl(var(--warning) / 0.3);
}
.border-t-transparent {
  border-top-color: transparent;
}
.bg-\[hsl\(var\(--bg\)\)\] {
  background-color: hsl(var(--bg));
}
.bg-\[hsl\(var\(--brand-copper\)\)\] {
  background-color: hsl(var(--brand-copper));
}
.bg-\[hsl\(var\(--muted-bg\)\)\] {
  background-color: hsl(var(--muted-bg));
}
.bg-\[hsl\(var\(--surface\)\)\] {
  background-color: hsl(var(--surface));
}
.bg-amber-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(254 243 199 / var(--tw-bg-opacity, 1));
}
.bg-black\/20 {
  background-color: rgb(0 0 0 / 0.2);
}
.bg-black\/30 {
  background-color: rgb(0 0 0 / 0.3);
}
.bg-black\/40 {
  background-color: rgb(0 0 0 / 0.4);
}
.bg-black\/50 {
  background-color: rgb(0 0 0 / 0.5);
}
.bg-black\/80 {
  background-color: rgb(0 0 0 / 0.8);
}
.bg-border {
  background-color: hsl(var(--border));
}
.bg-danger {
  background-color: hsl(var(--danger));
}
.bg-danger\/10 {
  background-color: hsl(var(--danger) / 0.1);
}
.bg-danger\/5 {
  background-color: hsl(var(--danger) / 0.05);
}
.bg-emerald-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(209 250 229 / var(--tw-bg-opacity, 1));
}
.bg-muted {
  background-color: hsl(var(--muted));
}
.bg-muted\/20 {
  background-color: hsl(var(--muted) / 0.2);
}
.bg-muted\/40 {
  background-color: hsl(var(--muted) / 0.4);
}
.bg-muted\/50 {
  background-color: hsl(var(--muted) / 0.5);
}
.bg-muted\/60 {
  background-color: hsl(var(--muted) / 0.6);
}
.bg-muted\/70 {
  background-color: hsl(var(--muted) / 0.7);
}
.bg-primary {
  background-color: hsl(var(--primary));
}
.bg-primary\/10 {
  background-color: hsl(var(--primary) / 0.1);
}
.bg-primary\/5 {
  background-color: hsl(var(--primary) / 0.05);
}
.bg-success {
  background-color: hsl(var(--success));
}
.bg-success\/10 {
  background-color: hsl(var(--success) / 0.1);
}
.bg-success\/15 {
  background-color: hsl(var(--success) / 0.15);
}
.bg-success\/5 {
  background-color: hsl(var(--success) / 0.05);
}
.bg-surface {
  background-color: hsl(var(--surface));
}
.bg-warning\/10 {
  background-color: hsl(var(--warning) / 0.1);
}
.bg-warning\/20 {
  background-color: hsl(var(--warning) / 0.2);
}
.bg-white {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
}
.bg-white\/80 {
  background-color: rgb(255 255 255 / 0.8);
}
.bg-white\/90 {
  background-color: rgb(255 255 255 / 0.9);
}
.object-contain {
  -o-object-fit: contain;
     object-fit: contain;
}
.object-cover {
  -o-object-fit: cover;
     object-fit: cover;
}
.p-2 {
  padding: 0.5rem;
}
.p-3 {
  padding: 0.75rem;
}
.p-4 {
  padding: 1rem;
}
.p-5 {
  padding: 1.25rem;
}
.p-6 {
  padding: 1.5rem;
}
.p-8 {
  padding: 2rem;
}
.px-0 {
  padding-left: 0px;
  padding-right: 0px;
}
.px-1 {
  padding-left: 0.25rem;
  padding-right: 0.25rem;
}
.px-2 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}
.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}
.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}
.py-0 {
  padding-top: 0px;
  padding-bottom: 0px;
}
.py-0\.5 {
  padding-top: 0.125rem;
  padding-bottom: 0.125rem;
}
.py-1 {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}
.py-10 {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}
.py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}
.py-16 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}
.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
.py-5 {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}
.\!pt-0 {
  padding-top: 0px !important;
}
.pb-24 {
  padding-bottom: 6rem;
}
.pb-4 {
  padding-bottom: 1rem;
}
.pe-3 {
  padding-inline-end: 0.75rem;
}
.pt-0 {
  padding-top: 0px;
}
.pt-1 {
  padding-top: 0.25rem;
}
.pt-2 {
  padding-top: 0.5rem;
}
.text-center {
  text-align: center;
}
.text-right {
  text-align: right;
}
.text-start {
  text-align: start;
}
.font-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}
.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}
.text-3xl {
  font-size: 1.875rem;
  line-height: 2.25rem;
}
.text-\[\.85rem\] {
  font-size: .85rem;
}
.text-\[10px\] {
  font-size: 10px;
}
.text-\[11px\] {
  font-size: 11px;
}
.text-base {
  font-size: 1rem;
  line-height: 1.5rem;
}
.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}
.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}
.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}
.font-bold {
  font-weight: 700;
}
.font-extrabold {
  font-weight: 800;
}
.font-medium {
  font-weight: 500;
}
.font-normal {
  font-weight: 400;
}
.font-semibold {
  font-weight: 600;
}
.uppercase {
  text-transform: uppercase;
}
.capitalize {
  text-transform: capitalize;
}
.italic {
  font-style: italic;
}
.not-italic {
  font-style: normal;
}
.tabular-nums {
  --tw-numeric-spacing: tabular-nums;
  font-variant-numeric: var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);
}
.leading-6 {
  line-height: 1.5rem;
}
.leading-7 {
  line-height: 1.75rem;
}
.leading-snug {
  line-height: 1.375;
}
.leading-tight {
  line-height: 1.25;
}
.tracking-tight {
  letter-spacing: -0.025em;
}
.tracking-wide {
  letter-spacing: 0.025em;
}
.text-\[hsl\(var\(--brand-ink\)\)\] {
  color: hsl(var(--brand-ink));
}
.text-\[hsl\(var\(--danger\)\)\] {
  color: hsl(var(--danger));
}
.text-\[hsl\(var\(--fg\)\)\] {
  color: hsl(var(--fg));
}
.text-\[hsl\(var\(--primary\)\)\] {
  color: hsl(var(--primary));
}
.text-amber-700 {
  --tw-text-opacity: 1;
  color: rgb(180 83 9 / var(--tw-text-opacity, 1));
}
.text-danger {
  color: hsl(var(--danger));
}
.text-emerald-700 {
  --tw-text-opacity: 1;
  color: rgb(4 120 87 / var(--tw-text-opacity, 1));
}
.text-fg {
  color: hsl(var(--fg));
}
.text-muted {
  color: hsl(var(--muted));
}
.text-primary {
  color: hsl(var(--primary));
}
.text-primary-fg {
  color: hsl(var(--primary-fg));
}
.text-success {
  color: hsl(var(--success));
}
.text-warning {
  color: hsl(var(--warning));
}
.text-white {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}
.underline {
  text-decoration-line: underline;
}
.no-underline {
  text-decoration-line: none;
}
.decoration-dotted {
  text-decoration-style: dotted;
}
.antialiased {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.opacity-0 {
  opacity: 0;
}
.opacity-60 {
  opacity: 0.6;
}
.opacity-70 {
  opacity: 0.7;
}
.opacity-80 {
  opacity: 0.8;
}
.opacity-90 {
  opacity: 0.9;
}
.opacity-95 {
  opacity: 0.95;
}
.shadow {
  --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.shadow-card {
  --tw-shadow: 0 2px 10px rgba(0,0,0,0.06), 0 12px 24px rgba(0,0,0,0.06);
  --tw-shadow-colored: 0 2px 10px var(--tw-shadow-color), 0 12px 24px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.shadow-soft {
  --tw-shadow: 0 6px 20px rgba(0,0,0,0.06), 0 2px 8px rgba(0,0,0,0.04);
  --tw-shadow-colored: 0 6px 20px var(--tw-shadow-color), 0 2px 8px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.shadow-xl {
  --tw-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.outline-none {
  outline: 2px solid transparent;
  outline-offset: 2px;
}
.blur {
  --tw-blur: blur(8px);
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}
.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);
}
.backdrop-blur {
  --tw-backdrop-blur: blur(8px);
  backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
}
.backdrop-filter {
  backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
}
.transition {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-colors {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-opacity {
  transition-property: opacity;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
@keyframes enter {

  from {
    opacity: var(--tw-enter-opacity, 1);
    transform: translate3d(var(--tw-enter-translate-x, 0), var(--tw-enter-translate-y, 0), 0) scale3d(var(--tw-enter-scale, 1), var(--tw-enter-scale, 1), var(--tw-enter-scale, 1)) rotate(var(--tw-enter-rotate, 0));
  }
}
@keyframes exit {

  to {
    opacity: var(--tw-exit-opacity, 1);
    transform: translate3d(var(--tw-exit-translate-x, 0), var(--tw-exit-translate-y, 0), 0) scale3d(var(--tw-exit-scale, 1), var(--tw-exit-scale, 1), var(--tw-exit-scale, 1)) rotate(var(--tw-exit-rotate, 0));
  }
}
.animate-in {
  animation-name: enter;
  animation-duration: 150ms;
  --tw-enter-opacity: initial;
  --tw-enter-scale: initial;
  --tw-enter-rotate: initial;
  --tw-enter-translate-x: initial;
  --tw-enter-translate-y: initial;
}
.zoom-in {
  --tw-enter-scale: 0;
}
.pe-3 {
  padding-inline-end: 0.75rem;
}
.ms-1 {
  margin-inline-start: 0.25rem;
}
.me-1 {
  margin-inline-end: 0.25rem;
}
.ms-2 {
  margin-inline-start: 0.5rem;
}
.me-2 {
  margin-inline-end: 0.5rem;
}
.ms-3 {
  margin-inline-start: 0.75rem;
}
.ms-auto {
  margin-inline-start: auto;
}
[dir="rtl"] .start-0 {
  right: 0px;
}
[dir="rtl"] .end-0 {
  left: 0px;
}
[dir="ltr"] .end-0 {
  right: 0px;
}
[dir="ltr"] .start-0 {
  left: 0px;
}
[dir="rtl"] .end-3 {
  left: 0.75rem;
}
[dir="ltr"] .end-3 {
  right: 0.75rem;
}
[dir="rtl"] .end-4 {
  left: 1rem;
}
[dir="ltr"] .end-4 {
  right: 1rem;
}
.border-e {
  border-inline-end-width: 1px;
}
[dir="rtl"] .text-start {
  text-align: right;
}
[dir="ltr"] .text-start {
  text-align: left;
}

/* =========================
   1) Design Tokens
   ========================= */

   
:root {
  --brand-olive:   146 8% 38%; 

  --olive-95: color-mix(in hsl, hsl(var(--brand-olive)) 95%, white);
  --olive-80: color-mix(in hsl, hsl(var(--brand-olive)) 80%, white);
  --brand-ink:      147 14% 13%;  
  --brand-copper:    17 40% 50%;  
  --brand-stone:    152 10% 25%;  
  --brand-sand:      44 12% 75%;  
  --brand-emerald:  160 45% 34%;  

  --bg:         44 22% 98%;
  --fg:        147 12% 16%;
  --surface:     0  0% 100%;
  --surface-2:  44 18% 96%;
  --border:    147 10% 86%;
  --muted-bg:   44 20% 96%;
  --muted-fg:  147  8% 38%;

  --primary:     var(--brand-copper);
  --primary-fg:  0 0% 100%;
  --secondary:   var(--brand-stone);
  --secondary-fg: 0 0% 100%;
  --tertiary:    var(--brand-sand);
  --tertiary-fg: 147 14% 13%;
  --ring:        var(--brand-copper);

  --success: 152 40% 34%;
  --warning:  38 92% 48%;
  --info:    208 92% 44%;
  --danger:    0 72% 46%;

  --hdr-bg:       147  8% 38%;
  --hdr-bg-2:     152 10% 18%;
  --hdr-fg:        44 12% 96%;
  --hdr-fg-muted:  44 12% 78%;
  --hdr-border:   152 10% 26%;
  --hdr-hover-bg: 152 10% 22%;
  --hdr-panel:    147  8% 38%;
  --hdr-panel-2:  147  8% 50%;
  --hdr-ring:     var(--ring);

  --r-card: 14px;
  --r-btn:  10px;
  --r-blob: 22px;

  --shadow-xs: 0 1px 2px rgba(16,24,40,.06);
  --shadow-sm: 0 4px 12px rgba(16,24,40,.06);
  --shadow-md: 0 12px 24px rgba(16,24,40,.10);
  --shadow-lg: 0 18px 42px rgba(16,24,40,.12);

  --section-py: clamp(1rem, .8rem + 2vw, 2rem);
  --section-gap: clamp(1rem, 1rem + 2vw, 2.2rem);
  --container-max: 1280px;

  --motion-in-name: manarah-in;
  --motion-in-duration: .26s;
  --motion-in-timing: cubic-bezier(.22,1,.36,1);

  --font-sans: var(--font-en, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif);

  --white: 0 0% 100%;
  --black: 0 0% 0%;
}

/* Dark theme */
.dark {
  --bg:         150 7% 8%;
  --fg:         48 14% 96%;
  --surface:    150 6% 10%;
  --surface-2:  150 6% 12%;
  --border:     150 6% 22%;
  --muted-bg:   150 6% 12%;
  --muted-fg:   50 10% 70%;

  --primary:    var(--brand-copper);
  --primary-fg: 0 0% 100%;
  --secondary:  152 10% 32%;
  --secondary-fg: 0 0% 100%;
  --tertiary:   44 12% 68%;
  --tertiary-fg: 150 7% 8%;
}

/* Language-aware fonts */
.lan-page[lang="ar"] { --font-sans: var(--font-ar, "Noto Kufi Arabic", system-ui, sans-serif); }
.lan-page[lang="en"],
.lan-page[lang="it"],
.lan-page[lang="es"] { --font-sans: var(--font-en, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif); }
.font-naskh { font-family: var(--font-naskh, var(--font-ar, "Noto Naskh Arabic", system-ui, sans-serif)); }
.font-cairo { font-family: var(--font-cairo, var(--font-ar, "Cairo", system-ui, sans-serif)); }

/* =========================
   2) Base & Typography
   ========================= */
html { color-scheme: light; }
.dark html { color-scheme: dark; }
html, body { height: 100%; background-color: hsl(var(--bg)); }
*, *::before, *::after { box-sizing: border-box; }
* { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
  color: hsl(var(--fg));
  font-family: var(--font-sans);
  line-height: 1.65;
  /* خلفية بسيطة — بدون مزج غريب */
  background: hsl(var(--bg));
}

h1, h2, h3, h4 { font-weight: 800; line-height: 1.25; letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 1.1rem + 2.2vw, 2.6rem); }
h2 { font-size: clamp(1.5rem, 1.0rem + 1.6vw, 2.1rem); }
h3 { font-size: clamp(1.2rem, .95rem + .9vw, 1.5rem); }
p  { line-height: 1.8; }

/* Links & Focus */
a { color: hsl(var(--primary)); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; transition: color .15s ease, opacity .15s ease; }
a:hover { opacity: .9; }
:focus-visible { outline: none; box-shadow: 0 0 0 3px hsl(var(--ring) / .28); border-radius: 10px; }

/* Selection */
::-moz-selection { background: hsl(var(--brand-copper) / .22); color: hsl(var(--primary-fg)); }
::selection { background: hsl(var(--brand-copper) / .22); color: hsl(var(--primary-fg)); }

/* Page shell */
.lan-page{ position: relative; isolation: isolate; background: hsl(var(--bg)); color: hsl(var(--fg)); }
.lan-page[dir="rtl"]{ direction: rtl; }

/* Micro motion */
@keyframes manarah-in { from { opacity: 0; transform: translateY(6px) } to { opacity: 1; transform: translateY(0) } }
.animate-in{ animation: var(--motion-in-name, manarah-in) var(--motion-in-duration, .26s) var(--motion-in-timing, ease-out) both; }
@media (prefers-reduced-motion: reduce){ .animate-in{ animation: none !important; } *{ transition: none !important; animation-duration: 0ms !important; } }

/* =========================
   3) Simple Color Helpers
   ========================= */
:root{
  --emerald-95: color-mix(in hsl, hsl(var(--brand-emerald)) 95%, white);
  --emerald-80: color-mix(in hsl, hsl(var(--brand-emerald)) 80%, white);
}
.tone-emerald-soft{ background: var(--emerald-95); border:1px solid hsl(var(--brand-emerald)/.25); color: hsl(var(--brand-emerald)); }
.badge-emerald{ background:hsl(var(--brand-emerald)/.12); color:hsl(var(--brand-emerald)); border:1px solid hsl(var(--brand-emerald)/.35); }

/* =========================
   4) Layout Primitives
   ========================= */
.container-xl { width: min(100% - 24px, var(--container-max)); margin-inline: auto; }
.section { padding-block: var(--section-py); }
.section + .section { margin-block-start: var(--section-gap); }
.section-header { display: grid; gap: .35rem; justify-items: center; text-align: center; }
.section-title  { font-weight: 900; letter-spacing: -.01em; text-wrap: balance; font-size: clamp(1.5rem, 1rem + 1.6vw, 2.1rem); color: hsl(var(--fg)); position: relative; padding-bottom: 6px; }
.section-title::after{ content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 3px; border-radius: 2px; background: hsl(var(--brand-copper)); opacity: .35; }
.section-subtitle { color: hsl(var(--muted-fg)); font-size: .95rem; }

/* Optional soft seams (very subtle) */
:root{ --seam-size: clamp(16px, 2.5vw, 32px); }
.seam-soft{ position: relative; isolation: isolate; background: hsl(var(--seam-bg, var(--surface))); }
.seam-bg--bg       { --seam-bg: var(--bg); }
.seam-bg--surface  { --seam-bg: var(--surface); }
.seam-bg--surface2 { --seam-bg: var(--surface-2); }

/* Optional decorative patterns (use locally, not global) */
.pattern-dots{
  background:
    radial-gradient(1px 1px at 10px 10px, hsl(var(--border)) 1px, transparent 0);
  background-size: 22px 22px;
}
.pattern-grid{
  background:
    linear-gradient(hsl(var(--border)) 1px, transparent 1px),
    linear-gradient(90deg, hsl(var(--border)) 1px, transparent 1px);
  background-size: 22px 22px;
  background-position: -1px -1px;
}

/* =========================
   5) Core Components
   ========================= */
.card, .card-surface { background-color: hsl(var(--surface)); border: 1px solid hsl(var(--border)); border-radius: var(--r-card); box-shadow: var(--shadow-sm); }
.card-content { padding: 16px; }
.card-hover { transition: box-shadow .18s ease, transform .18s ease, background-color .15s ease, border-color .15s ease; }
.card-hover:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.hero, .hero--minimal, .home-hero {
  border: 1px solid hsl(var(--border));
  border-radius: var(--r-blob);
  background: hsl(var(--surface));
  padding: clamp(14px, 3vw, 22px);
  box-shadow: var(--shadow-sm);
}
.hero-inner { max-width: 56rem; margin-inline: auto; display: grid; gap: .75rem; text-align: center; }
.hero-actions { display: flex; gap: .5rem; justify-content: center; flex-wrap: wrap; }

/* Optional clean hero pattern */
.hero--pattern{ position:relative; overflow:hidden; }
.hero--pattern::before{
  content:""; position:absolute; inset:0; pointer-events:none; opacity:.35;
  background: radial-gradient(1px 1px at 10px 10px, hsl(var(--border)) 1px, transparent 0);
  background-size: 20px 20px;
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding-inline: 14px; border-radius: var(--r-btn); font-weight: 800; text-decoration: none; transition: transform .08s ease, background-color .15s ease, color .15s ease, box-shadow .15s ease, border-color .15s ease; white-space: nowrap; line-height: 1; font-size: clamp(.92rem, .88rem + .2vw, 1rem); border: 1px solid transparent; }
.btn > svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .6; cursor: not-allowed; }

.btn-primary   { background-color: hsl(var(--primary));   color: hsl(var(--primary-fg)); box-shadow: var(--shadow-xs); }
.btn-secondary { background-color: hsl(var(--secondary)); color: hsl(var(--secondary-fg)); box-shadow: var(--shadow-xs); }
.btn-tertiary  { background-color: hsl(var(--tertiary));  color: hsl(var(--tertiary-fg));  box-shadow: var(--shadow-xs); }
.btn-outline   { background-color: hsl(var(--surface)); color: hsl(var(--fg)); border-color: hsl(var(--border)); }
.btn-ghost     { background: transparent; color: hsl(var(--muted-fg)); }
.btn-ghost:hover{ background: hsl(var(--muted-bg)); }

/* Emerald button family */
.btn-emerald{ background:hsl(var(--brand-emerald)); color:#fff; border:1px solid transparent; box-shadow: var(--shadow-xs); }
.btn-emerald:hover{ filter: brightness(.98); }

.btn-sm { min-height: 34px; padding-inline: 10px; font-size: .92rem; }
.btn-md { min-height: 40px; padding-inline: 14px; }
.btn-lg { min-height: 46px; padding-inline: 16px; font-size: 1.02rem; }
.btn-block, .btn-fluid { inline-size: 100%; }
@media (min-width: 480px){ .btn-fluid { inline-size: auto; } }

/* Badges & Pills */
.badge { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; font-size: 12px; line-height: 1; background-color: hsl(var(--muted-bg)); color: hsl(var(--muted-fg)); border: 1px solid hsl(var(--border)); font-weight: 800; letter-spacing: .01em; }
.badge-copper { background-color: hsl(var(--brand-copper) / .12); color: hsl(var(--brand-copper)); border-color: hsl(var(--brand-copper) / .35); }
.badge-stone  { background-color: hsl(var(--brand-stone) / .12);  color: hsl(var(--brand-stone)); border-color: hsl(var(--brand-stone) / .35); }
.badge-sand   { background-color: hsl(var(--brand-sand) / .20);   color: hsl(var(--tertiary-fg)); border-color: hsl(var(--brand-sand) / .35); }
.badge-ink    { background-color: hsl(var(--brand-ink) / .12);    color: hsl(var(--brand-ink)); border-color: hsl(var(--brand-ink) / .35); }

.pill{ display:inline-flex; align-items:center; gap:6px; padding:2px 8px; border-radius:999px; font-size:12px; line-height:1; background:hsl(var(--muted-bg)); border:1px solid hsl(var(--border)); color:hsl(var(--muted-fg)); font-weight:800; }
.pill--brand{ background: hsl(var(--brand-copper) / .18); border-color: hsl(var(--brand-copper) / .42); color: hsl(var(--brand-copper)); }

/* Stats */
.stats-strip{ display:grid; gap:12px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.stat{ background:hsl(var(--surface)); border:1px solid hsl(var(--border)); border-radius: var(--r-card); padding:12px; text-align:center; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease; }
.stat:hover{ transform: translateY(-2px); box-shadow: var(--shadow-md); }
.stat-value{ font-weight:900; font-size: clamp(1.2rem, .95rem + 1.4vw, 1.8rem); }
.stat-label{ color:hsl(var(--muted-fg)); margin-top:2px; font-size:.95rem; }

/* Grid helpers for cards (used by your components) */
.grid-cards{ --min: 240px; display:grid; gap:12px; grid-template-columns:repeat(auto-fit, minmax(min(var(--min),100%), 1fr)); }

/* Logos */
.logo-tile{ display:grid; place-items:center; min-height:72px; padding:10px; background:hsl(var(--surface)); border:1px solid hsl(var(--border)); border-radius:12px; box-shadow: var(--shadow-sm); transition: transform .15s ease, box-shadow .15s ease; }
.logo-tile:hover{ transform: translateY(-2px); box-shadow: var(--shadow-md); }
.logo-img{ max-height:46px; width:auto; -o-object-fit:contain; object-fit:contain; }
.logo-fallback{ font-weight:900; letter-spacing:.02em; color:hsl(var(--muted-fg)); }

/* Stepper */
.stepper{ list-style:none; margin:0; padding:0; display:grid; gap:12px; grid-template-columns:1fr; }
@media (min-width: 900px){ .stepper{ grid-template-columns: repeat(3, 1fr); } }
.stepper > li{ background:hsl(var(--surface)); border:1px solid hsl(var(--border)); border-radius: var(--r-card); padding:12px; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease; }
.stepper > li:hover{ transform: translateY(-2px); box-shadow: var(--shadow-md); }
.step-index{ display:inline-grid; place-items:center; width:26px; height:26px; margin-inline-end:8px; border-radius:999px; font-weight:900; font-size:.9rem; background:hsl(var(--brand-copper) / .14); color:hsl(var(--brand-copper)); border:1px solid hsl(var(--brand-copper) / .35); }
.step-title{ font-weight:900; }
.step-desc{ color:hsl(var(--muted-fg)); font-size:.95rem; }

/* Toolbar & nav-link */
.toolbar { display: grid; gap: 10px; grid-template-columns: 1fr; background: hsl(var(--surface)); border: 1px solid hsl(var(--border)); border-radius: 14px; padding: 12px; box-shadow: var(--shadow-sm); }
@media (min-width: 900px){ .toolbar { grid-template-columns: 1fr auto; align-items: end; } }
.nav-link { padding: 8px 12px; border-radius: 10px; text-decoration: none; color: hsl(var(--fg)); transition: background-color .15s ease, color .15s ease, border-color .15s ease; border: 1px solid transparent; }
.nav-link:hover { background: hsl(var(--muted-bg)); }
.nav-link.active { background: hsl(var(--muted-bg)); border-color: hsl(var(--border)); }

/* Utilities */
.text-muted { color: hsl(var(--muted-fg)); }
.bg-muted   { background-color: hsl(var(--muted-bg)); }
.divider    { width: 100%; height: 1px; background-color: hsl(var(--border)); }
.centered   { display: grid; place-items: center; }
.shadow-soft{ box-shadow: var(--shadow-sm); }
.hover-pop  { transition: transform .18s ease, box-shadow .18s ease; }
.hover-pop:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.icon-pill { display: inline-grid; place-items: center; inline-size: 36px; block-size: 36px; border-radius: 12px; background: hsl(var(--muted-bg)); border: 1px solid hsl(var(--border)); color: hsl(var(--fg)); }

/* =========================
   6) Forms
   ========================= */
:where(
  input[type="text"], input[type="email"], input[type="search"], input[type="tel"], input[type="url"], input[type="password"],
  input[type="number"], input[type="date"], input[type="time"], input[type="datetime-local"], input[type="month"], input[type="week"],
  textarea, select
){
  -moz-appearance: none;
       appearance: none; -webkit-appearance: none;
  background: hsl(var(--surface));
  border: 1px solid hsl(var(--border));
  border-radius: 12px;
  padding-block: 10px; padding-inline: 12px;
  font: inherit; color: hsl(var(--fg));
  caret-color: hsl(var(--primary));
  transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease, transform .06s ease;
  outline: none; min-height: 44px; line-height: 1.25;
}
:where(input, textarea, select)::-moz-placeholder{ color: hsl(var(--muted-fg)); opacity: .95; }
:where(input, textarea, select)::placeholder{ color: hsl(var(--muted-fg)); opacity: .95; }
:where(input, textarea, select):hover{ border-color: hsl(var(--border) / .9); }
:where(input, textarea, select):focus{ border-color: hsl(var(--primary) / .65); box-shadow: 0 0 0 3px hsl(var(--ring) / .22); }
:where(input, textarea, select):disabled,
:where(input, textarea, select)[aria-disabled="true"]{ background: hsl(var(--muted-bg)); color: hsl(var(--muted-fg)); border-color: hsl(var(--border)); cursor: not-allowed; opacity: .9; }
:where(input, textarea, select)[aria-invalid="true"],
:where(input, textarea, select).is-error{ border-color: hsl(var(--danger)); box-shadow: 0 0 0 3px hsl(var(--danger) / .16); }
:where(input, textarea, select)[data-valid="true"]{ border-color: hsl(var(--success)); box-shadow: 0 0 0 3px hsl(var(--success) / .16); }

select{
  background-image:
    linear-gradient(45deg, transparent 50%, hsl(var(--muted-fg)) 50%),
    linear-gradient(135deg, hsl(var(--muted-fg)) 50%, transparent 50%);
  background-position: calc(100% - 14px) 50%, calc(100% - 8px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-inline-end: 30px;
}
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button{ -webkit-appearance: none; margin: 0; }
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration{ -webkit-appearance: none; }
input:-webkit-autofill{ -webkit-text-fill-color: hsl(var(--fg)); -webkit-transition: background-color 9999s ease-in-out 0s; transition: background-color 9999s ease-in-out 0s; }
.input-sm{ min-height: 36px; padding-block: 6px; padding-inline: 10px; border-radius: 10px; font-size: .9375rem; }
.input-lg{ min-height: 48px; padding-block: 12px; padding-inline: 14px; border-radius: 14px; font-size: 1.05rem; }

/* Search icon field (RTL/LTR aware) */
#programs-search{ background-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='hsl(0 0% 45%)' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.2-3.2'/%3E%3C/g%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: 18px 18px; }
:dir(rtl) #programs-search{ background-position: right 12px center; padding-inline-start: 12px; padding-inline-end: 40px; }
:dir(ltr) #programs-search{ background-position: left 12px center;  padding-inline-start: 40px; padding-inline-end: 12px; }

/* =========================
   7) Prose, Tables & Code
   ========================= */
.prose { --tw-prose-body: hsl(var(--fg)); --tw-prose-headings: hsl(var(--fg)); --tw-prose-links: hsl(var(--primary)); --tw-prose-hr: hsl(var(--border)); --tw-prose-quotes: hsl(var(--fg)); --tw-prose-quote-borders: hsl(var(--border)); --tw-prose-captions: hsl(var(--muted-fg)); --tw-prose-pre-bg: hsl(var(--surface-2)); max-width: 70ch; }
.prose :where(h1,h2,h3,h4){ margin-top:1.2em; margin-bottom:.6em; }
.prose p { margin: .6em 0; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose code { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace; background: hsl(var(--muted-bg)); border: 1px solid hsl(var(--border)); padding: 2px 6px; border-radius: 8px; font-size: .9em; }
.prose pre { background: hsl(var(--surface-2)); border: 1px solid hsl(var(--border)); border-radius: 14px; padding: 12px; overflow:auto; }
.prose table { width: 100%; border-collapse: collapse; margin: .8em 0; font-size: .95rem; }
.prose th, .prose td { border: 1px solid hsl(var(--border)); padding: 8px 10px; }
.prose thead th { background: hsl(var(--muted-bg)); }

/* =========================
   8) Alerts, Skeleton, Toast
   ========================= */
.alert { border-radius: 12px; padding: 10px 12px; font-size: .95rem; font-weight: 700; border: 1px solid transparent; }
.alert-success { background-color: hsl(var(--success) / .10); color: hsl(var(--success)); border-color: hsl(var(--success) / .30); }
.alert-info    { background-color: hsl(var(--info)    / .10); color: hsl(var(--info));    border-color: hsl(var(--info)    / .30); }
.alert-warning { background-color: hsl(var(--warning) / .12); color: hsl(var(--warning)); border-color: hsl(var(--warning) / .30); }
.alert-danger  { background-color: hsl(var(--danger)  / .10); color: hsl(var(--danger));  border-color: hsl(var(--danger)  / .30); }

@keyframes skeleton-loading { 0% { background-position: 100% 50% } 100% { background-position: 0 50% } }
.skeleton { background: linear-gradient(90deg, hsl(var(--muted-bg)) 25%, hsl(var(--surface-2)) 37%, hsl(var(--muted-bg)) 63%); background-size: 400% 100%; animation: skeleton-loading 1.4s ease infinite; border-radius: 12px; border: 1px solid hsl(var(--border)); }

.toast{ position: fixed; inset-inline: 0; bottom: 16px; margin-inline: auto; width: min(92%, 520px); background: hsl(var(--surface)); border: 1px solid hsl(var(--border)); border-radius: 14px; padding: 12px; box-shadow: var(--shadow-lg); display: grid; gap: 8px; }
.toast--success{ border-color: hsl(var(--success) / .35); }
.toast--danger{ border-color: hsl(var(--danger) / .35); }

/* =========================
   9) Scrollbars
   ========================= */
html{ scrollbar-gutter: stable both-edges; }
:root{ --sb-size: 12px; --sb-radius: 10px; --sb-track: hsl(var(--surface-2)); --sb-track-border: hsl(var(--border)); --sb-thumb: hsl(var(--brand-stone) / .55); --sb-thumb-hover: hsl(var(--brand-stone) / .70); --sb-thumb-active: hsl(var(--brand-stone) / .85); }
@media (pointer: coarse){ :root{ --sb-size: 14px; } }
*{ scrollbar-width: thin; scrollbar-color: var(--sb-thumb) var(--sb-track); }
*::-webkit-scrollbar{ width: var(--sb-size); height: var(--sb-size); }
*::-webkit-scrollbar-track{ background-color: var(--sb-track); border: 1px solid hsl(var(--sb-track-border)); border-radius: var(--sb-radius); }
*::-webkit-scrollbar-thumb{ background-color: var(--sb-thumb); border-radius: var(--sb-radius); border: 2px solid transparent; background-clip: padding-box; -webkit-transition: background-color .15s ease, box-shadow .15s ease; transition: background-color .15s ease, box-shadow .15s ease; }
*::-webkit-scrollbar-thumb:hover{ background-color: var(--sb-thumb-hover); box-shadow: 0 0 0 3px hsl(var(--ring) / .10); }
*::-webkit-scrollbar-thumb:active{ background-color: var(--sb-thumb-active); box-shadow: 0 0 0 3px hsl(var(--ring) / .16); }
*::-webkit-scrollbar-corner{ background-color: var(--sb-track); }
.scroll-slim{ --sb-size: 10px; }
.scroll-invisible{ scrollbar-color: transparent transparent !important; }
.scroll-invisible::-webkit-scrollbar-thumb{ background-color: transparent !important; border-color: transparent !important; box-shadow: none !important; }
.scroll-invisible:hover{ scrollbar-color: var(--sb-thumb) var(--sb-track) !important; }
.scroll-invisible:hover::-webkit-scrollbar-thumb{ background-color: var(--sb-thumb) !important; border-color: transparent !important; }

/* =========================
   10) Header (HDR palette)
   ========================= */
.site-header{
  position: sticky; top: 0; z-index: 100;
  background: hsl(var(--hdr-bg));
  color: hsl(var(--hdr-fg));
  border-bottom: 1px solid hsl(var(--hdr-border));
  backdrop-filter: saturate(120%) blur(6px);
}
.site-header .nav{ display:flex; gap:8px; align-items:center; }
.site-header .nav a{
  color: hsl(var(--hdr-fg));
  text-decoration: none;
  padding:8px 10px; border-radius:10px;
  border:1px solid transparent;
}
.site-header .nav a:hover{
  background: hsl(var(--hdr-hover-bg));
  border-color: hsl(var(--hdr-border));
}

/* =========================
   11) Helpers & Accessiblity
   ========================= */
.ring-focus { box-shadow: 0 0 0 3px hsl(var(--ring) / .22); }
.contrast-high { filter: contrast(1.08) saturate(1.03); }
.stack-xs > * + * { margin-block-start: .25rem; }
.stack-sm > * + * { margin-block-start: .5rem; }
.stack-md > * + * { margin-block-start: .75rem; }
.stack-lg > * + * { margin-block-start: 1rem; }
.cluster { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.cluster-lg { gap: .75rem; }
.auto-grid { --min: 240px; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(var(--min), 100%), 1fr)); }
.truncate-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; }

/* Panels */
.form-panel{ background:hsl(var(--surface)); border:1px solid hsl(var(--border)); border-radius: var(--r-card); padding:12px; }

/* CTA Bars */
.cta-bar{ display:grid; gap:10px; grid-template-columns: 1fr; align-items:center; padding:12px; border-radius: var(--r-card); border:1px solid hsl(var(--border)); background: hsl(var(--surface)); box-shadow: var(--shadow-sm); }
@media (min-width: 820px){ .cta-bar{ grid-template-columns: 1fr auto; } }
.cta-title{ font-weight: 900; }

/* =========================
   12) Print
   ========================= */
@media print { .btn, .chip, .pill, .badge, .toast { box-shadow: none !important; filter: none !important; } }


/* === Ribbons (eyebrow labels) === */
.ribbon{
  display:inline-block; padding:4px 10px; border-radius:999px;
  font-weight:900; font-size:.75rem; letter-spacing:.02em;
  border:1px solid hsl(var(--border)); background:hsl(var(--muted-bg)); color:hsl(var(--muted-fg));
}
.ribbon-sand{ background:hsl(var(--brand-sand)/.25); border-color:hsl(var(--brand-sand)/.45); color:hsl(var(--tertiary-fg)); }
.ribbon-stone{ background:hsl(var(--brand-stone)/.18);  border-color:hsl(var(--brand-stone)/.42);  color:hsl(var(--brand-stone)); }

/* === Icon tones (soft/solid) for .icon-pill === */
.tone-copper-soft{ background:hsl(var(--brand-copper)/.14); border:1px solid hsl(var(--brand-copper)/.38); color:hsl(var(--brand-copper)); }
.tone-stone-soft { background:hsl(var(--brand-stone)/.14);  border:1px solid hsl(var(--brand-stone)/.38);  color:hsl(var(--brand-stone)); }
.tone-sand-soft  { background:hsl(var(--brand-sand)/.25);   border:1px solid hsl(var(--brand-sand)/.45);   color:hsl(var(--tertiary-fg)); }
.tone-ink-soft   { background:hsl(var(--brand-ink)/.14);    border:1px solid hsl(var(--brand-ink)/.38);    color:hsl(var(--brand-ink)); }
.tone-copper-solid{ background:hsl(var(--brand-copper)); color:#fff; border:1px solid transparent; }
.tone-stone-solid { background:hsl(var(--brand-stone));  color:#fff; border:1px solid transparent; }
.tone-sand-solid  { background:hsl(var(--brand-sand));   color:hsl(var(--tertiary-fg)); border:1px solid transparent; }
.tone-ink-solid   { background:hsl(var(--brand-ink));    color:#fff; border:1px solid transparent; }

/* === Card top accent (used in several grids) === */
.border-gradient-copper{ border-top:3px solid hsl(var(--brand-copper)); }

/* === Extra buttons used by StickyMobileCTA tones === */
.btn-stone{ background-color:hsl(var(--brand-stone)); color:#fff; border:1px solid transparent; box-shadow: var(--shadow-xs); }
.btn-stone:hover{ filter:brightness(.98); }
.btn-sand{ background-color:hsl(var(--brand-sand)); color:hsl(var(--tertiary-fg)); border:1px solid transparent; box-shadow: var(--shadow-xs); }
.btn-sand:hover{ filter:brightness(.98); }

/* === Band / Glass helpers === */
.band-primary{ border:1px solid hsl(var(--border)); border-radius: var(--r-card); padding:12px; background:hsl(var(--surface)); box-shadow:var(--shadow-sm); }
.card-glass{
  background: linear-gradient(180deg,hsl(var(--surface)/.82),hsl(var(--surface)/.66));
  backdrop-filter: saturate(120%) blur(6px); -webkit-backdrop-filter: saturate(120%) blur(6px);
  border:1px solid hsl(var(--border)); border-radius:16px;
}

/* === Scroll progress base (home.css يلوّنها) === */
.manarah-scrollbar{
  position:fixed; inset-inline:0; top:0; height:3px; z-index:1000; opacity:0;
  background: linear-gradient(90deg, hsl(var(--brand-copper)) var(--_p,0%), transparent 0);
  transition: opacity .2s ease;
}

/* === Event meta line === */
.event-meta{ display:flex; flex-wrap:wrap; gap:8px; align-items:center; color:hsl(var(--muted-fg)); font-size:.92rem; }

/* === Chips (used in AccreditationBar) === */
.chips{ display:flex; flex-wrap:wrap; gap:8px; }
.chip{ display:inline-flex; align-items:center; gap:6px; padding:6px 10px; border-radius:999px;
  border:1px solid hsl(var(--border)); background:hsl(var(--surface)); font-weight:800; font-size:.85rem; color:hsl(var(--fg)); }
.chip-label{ line-height:1; }
.chip-ext{ opacity:.75; }


/* (اختياري) عائلة زر/بادج للزيتي إن احتجتها لاحقًا */
.btn-olive{ background:hsl(var(--brand-olive)); color:#fff; border:1px solid transparent; box-shadow: var(--shadow-xs); }
.btn-olive:hover{ filter: brightness(.98); }
.badge-olive { background-color: hsl(var(--brand-olive) / .12); color: hsl(var(--brand-olive)); border-color: hsl(var(--brand-olive) / .35); }
.tone-olive-soft{ background: var(--olive-95); border:1px solid hsl(var(--brand-olive)/.25); color: hsl(var(--brand-olive)); }


/* =========================
   13) Responsive compact rules (mobile-first)
   ========================= */

/* sm ≤ 640px: تقليل الإيقاع العام والمسافات */
@media (max-width: 640px){
  :root{
    --section-py: 12px;
    --section-gap: 12px;
  }

  /* تقليل الحواف داخل الحاويات الشائعة */
  .card-content,
  .form-panel,
  .toolbar,
  .cta-bar{ padding: 10px; }

  .auto-grid,
  .grid-cards,
  .stats-strip{ gap: 10px; }

  .hero,
  .hero--minimal,
  .home-hero{ padding: 12px; }
  .hero-inner{ gap: .5rem; }

  .btn-lg{ min-height: 44px; padding-inline: 14px; }
  .btn-md{ min-height: 38px; }
  .btn-sm{ min-height: 32px; }
}

/* xs ≤ 420px: حواف “Edge-to-Edge” (استغلال كامل للعرض) */
@media (max-width: 420px){
  /* الحاوية الرئيسية بلا مسافات جانبية */
  .container-xl{ width: 100%; margin-inline: 0; }

  /* تقليل المسافات العمودية بين الأقسام */
  .section{ padding-block: 10px; }
  .section + .section{ margin-block-start: 10px; }

  /* تقليل الحشوات بشكل أعمق */
  .card-content,
  .form-panel,
  .toolbar,
  .cta-bar{ padding: 8px; }

  .hero,
  .hero--minimal,
  .home-hero{ padding: 10px; }

  /* عناصر إضافية */
  .stepper > li{ padding: 10px; }
  .event-meta{ gap: 6px; font-size: .9rem; }
  .nav-link{ padding: 8px; }
}

/* (اختياري) وضع مضغوط إجباري حتى على شاشات أكبر — فعّل بإضافة data-compact="true" على .lan-page */
.lan-page[data-compact="true"] .container-xl{ width: 100%; margin-inline: 0; }
.lan-page[data-compact="true"] .section{ padding-block: 10px; }
.lan-page[data-compact="true"] .section + .section{ margin-block-start: 10px; }
.lan-page[data-compact="true"] .card-content,
.lan-page[data-compact="true"] .form-panel,
.lan-page[data-compact="true"] .toolbar,
.lan-page[data-compact="true"] .cta-bar{ padding: 10px; }






/* رجّع الحاوية لسلوكها الطبيعي على الجوال (يلتزم Gutter صغير بدل 100% كاملة) */
@media (max-width: 640px){
  :root{ --mobile-gutter: 3px; }

  /* نستخدم !important لأن فيه قاعدة سابقة عريضة width:100% */
  .container,
  .container-xl{
    width: min(100% - (var(--mobile-gutter) * 2), var(--container-max)) !important;
    margin-inline: auto !important;
    padding-inline: var(--mobile-gutter) !important;
  }
}

/* الديسكتوب يظل كما هو */
.container,
.container-xl{
  width: min(100% - 24px, var(--container-max));
  margin-inline: auto;
  padding-inline: 12px;
}

/* اختياري: أقسام تبغاها تملأ الشاشة على الجوال فقط */
@media (max-width: 640px){
  .edge-mobile{
    margin-inline: calc(-1 * var(--mobile-gutter)) !important;
    padding-inline: var(--mobile-gutter) !important;
  }
}
/* === Container reset & mobile gutters (final override) === */

/* Desktop / default: no internal padding, centered max-width */
.container,
.container-xl{
  width: min(100% - 24px, var(--container-max));
  margin-inline: auto;
  padding-inline: 0; /* مهم: لا نضيف padding على الديسكتوب لتفادي التضاعف */
  box-sizing: border-box;
}

/* Mobile: full width + single small gutter (no width shrinking) */
@media (max-width: 640px){
  :root{ --mobile-gutter: 3px; } /* عدّلها لـ 8/12 حسب ذوقك */

  .container,
  .container-xl{
    width: 100% !important;          /* لا نُصغّر العرض */
    margin-inline: 0 !important;      /* لا نحتاج auto */
    padding-inline: var(--mobile-gutter) !important; /* gutter واحد فقط */
  }

  /* لا تسمح بتراكم الـ padding إذا كان في Container داخل Container */
  .container > .container,
  .container > .container-xl,
  .container-xl > .container,
  .container-xl > .container-xl{
    width: 100% !important;
    margin: 0 !important;
    padding-inline: 0 !important;
  }

  /* مقاطع تريدها تتمدّد للحافة (سلايدر، هيرو)، ضع class="edge-mobile" على الغلاف الداخلي */
  .edge-mobile{
    margin-inline: calc(-1 * var(--mobile-gutter)) !important;
    padding-inline: 0 !important; /* نخلي المحتوى يلمس الحافة */
  }

  /* خفّف أي padding أفقي عام على الأقسام لو وُجد */
  .section{ padding-inline: 0 !important; }
}

/* Tip: لا تجمع بين width: min(100% - X) و padding-inline على نفس العنصر في الجوال. اختر أحدهما فقط. */



/* app/home.vivid.css
   Vivid Accent Layer — adds richer colors on top of app/home.css
   Scope: only when data-vibe="vivid" موجود على .lan-page.home
*/

/* ============= 0) Vibe setup ============= */
.lan-page.home[data-vibe="vivid"]{
  /* درجات مساعدة */
  --accent-1: var(--brand-copper);
  --accent-2: var(--success);
  --accent-3: var(--brand-sand);
  --accent-4: var(--brand-ink);

  --grad-accent: linear-gradient(90deg, hsl(var(--accent-1)), hsl(var(--accent-2)));
  --grad-accent-soft: linear-gradient(90deg, hsl(var(--accent-1) / .14), hsl(var(--accent-2) / .14));

  /* تينت خفيف لسطوح البطاقات */
  --surface-tint-emerald: color-mix(in hsl, hsl(var(--surface)), hsl(var(--accent-2)) 6%);
  --surface-tint-copper:  color-mix(in hsl, hsl(var(--surface)), hsl(var(--accent-1)) 6%);

  /* ظل ملوّن ناعم */
  --shadow-colored: 0 10px 24px hsl(var(--accent-2) / .12), 0 2px 10px rgba(0,0,0,.06);
}

/* Dark adjustments */
.dark .lan-page.home[data-vibe="vivid"]{
  --surface-tint-emerald: color-mix(in hsl, hsl(var(--surface)), hsl(var(--accent-2)) 10%);
  --surface-tint-copper:  color-mix(in hsl, hsl(var(--surface)), hsl(var(--accent-1)) 10%);
  --shadow-colored: 0 12px 28px hsl(var(--accent-2) / .16), 0 2px 8px rgba(0,0,0,.35);
}

/* ============= 1) Section headings ============= */
.lan-page.home[data-vibe="vivid"] .section-title{
  letter-spacing: -.02em;
  background: var(--grad-accent);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.lan-page.home[data-vibe="vivid"] .section-title::after{
  content: "";
  position: absolute; inset-inline: 34%; bottom: -6px;
  height: 3px; border-radius: 2px;
  background: var(--grad-accent);
  opacity: .75; transition: inset-inline .25s var(--motion-in-timing);
}
.lan-page.home[data-vibe="vivid"] .section-header:hover .section-title::after{ inset-inline: 28%; }

/* ============= 2) Hero (المكوّن يولّد .hero/.hero-inner عادة) ============= */
.lan-page.home[data-vibe="vivid"] .hero,
.lan-page.home[data-vibe="vivid"] .home-hero{
  background:
    linear-gradient(180deg, hsl(var(--surface)), hsl(var(--surface))) padding-box,
    var(--grad-accent-soft) border-box;
  border: 1px solid transparent;
  border-radius: var(--r-blob);
  box-shadow: var(--shadow-colored);
}
.lan-page.home[data-vibe="vivid"] .hero-actions .btn-primary{
  background-image: linear-gradient(90deg, hsl(var(--accent-1)), hsl(var(--accent-2)));
  border: 1px solid hsl(var(--accent-1));
}
.lan-page.home[data-vibe="vivid"] .hero-actions .btn-outline{
  border-color: hsl(var(--accent-2) / .45);
}

/* ============= 3) Buttons (تلوين غني خفيف بدون كسر التصميم) ============= */
.lan-page.home[data-vibe="vivid"] .btn-primary{
  background-image: linear-gradient(90deg, hsl(var(--accent-1)), hsl(var(--accent-2)));
  border: 1px solid hsl(var(--accent-1));
  color: #fff;
}
.lan-page.home[data-vibe="vivid"] .btn-secondary{
  background-image: linear-gradient(90deg, hsl(var(--brand-stone)), hsl(var(--accent-4)));
  color: #fff; border: 1px solid hsl(var(--brand-stone));
}
.lan-page.home[data-vibe="vivid"] .btn-ghost:hover{
  background: color-mix(in hsl, hsl(var(--muted-bg)), hsl(var(--accent-2)) 14%);
}

/* focus ring ملوّن */
.lan-page.home[data-vibe="vivid"] .btn:focus-visible{
  box-shadow: 0 0 0 3px hsl(var(--accent-2) / .22);
}

/* ============= 4) Stats & social proof ============= */
.lan-page.home[data-vibe="vivid"] .stats-strip .stat{
  background: var(--surface-tint-emerald);
  border-color: color-mix(in hsl, hsl(var(--border)), hsl(var(--accent-2)) 30%);
  box-shadow: var(--shadow-sm);
}
.lan-page.home[data-vibe="vivid"] .stats-strip .stat:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow-colored);
}

/* شريط الشركاء */
.lan-page.home[data-vibe="vivid"] section[aria-labelledby="partners-title"] > .container-xl{
  background: linear-gradient(180deg, hsl(var(--surface)), var(--surface-tint-copper));
  border: 1px solid color-mix(in hsl, hsl(var(--border)), hsl(var(--accent-1)) 25%);
  box-shadow: var(--shadow-sm);
}
.lan-page.home[data-vibe="vivid"] .logo-tile{
  filter: grayscale(.6) contrast(1.05);
}
.lan-page.home[data-vibe="vivid"] .logo-tile:hover{
  filter: grayscale(.1);
  border-color: color-mix(in hsl, hsl(var(--border)), hsl(var(--accent-2)) 40%);
  box-shadow: var(--shadow-colored);
}

/* ============= 5) Card accent rotation (أنشطة/قصص/الخ) ============= */
/* يعطي كل بطاقة لون أعلى مختلف بالتتابع 1/2/3 */
.lan-page.home[data-vibe="vivid"] .grid-cards > .card,
.lan-page.home[data-vibe="vivid"] .auto-grid > .card{
  background:
    linear-gradient(180deg, hsl(var(--surface)), hsl(var(--surface))) padding-box,
    linear-gradient(180deg, hsl(var(--surface-2)), transparent 60%) border-box;
  border: 1px solid hsl(var(--border));
  border-top-width: 3px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.lan-page.home[data-vibe="vivid"] .grid-cards > .card:nth-child(3n+1),
.lan-page.home[data-vibe="vivid"] .auto-grid > .card:nth-child(3n+1){
  border-top-color: hsl(var(--accent-2));
}
.lan-page.home[data-vibe="vivid"] .grid-cards > .card:nth-child(3n+2),
.lan-page.home[data-vibe="vivid"] .auto-grid > .card:nth-child(3n+2){
  border-top-color: hsl(var(--accent-1));
}
.lan-page.home[data-vibe="vivid"] .grid-cards > .card:nth-child(3n),
.lan-page.home[data-vibe="vivid"] .auto-grid > .card:nth-child(3n){
  border-top-color: hsl(var(--accent-3));
}

/* Hover glow */
.lan-page.home[data-vibe="vivid"] .grid-cards > .card.card-hover:hover,
.lan-page.home[data-vibe="vivid"] .auto-grid > .card.card-hover:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow-colored);
}

/* ============= 6) Activities/Stories headers ============= */
.lan-page.home[data-vibe="vivid"] [aria-labelledby="act-title"] .section-subtitle,
.lan-page.home[data-vibe="vivid"] [aria-labelledby="stories-title"] .section-subtitle{
  color: color-mix(in hsl, hsl(var(--muted-fg)), hsl(var(--accent-2)) 30%);
}

/* اقتباسات تحت القصص — لمسة لونية */
.lan-page.home[data-vibe="vivid"] blockquote.card .card-content p::before{
  color: hsl(var(--accent-1));
  opacity: .9;
}

/* ============= 7) Events (badges/meta تلوين خفيف) ============= */
.lan-page.home[data-vibe="vivid"] .event-meta{
  color: color-mix(in hsl, hsl(var(--muted-fg)), hsl(var(--accent-1)) 25%);
}
.lan-page.home[data-vibe="vivid"] .badge{
  border-color: color-mix(in hsl, hsl(var(--border)), hsl(var(--accent-2)) 35%);
}
.lan-page.home[data-vibe="vivid"] .badge-copper{
  background-color: hsl(var(--accent-1) / .14);
  color: hsl(var(--accent-1));
  border-color: hsl(var(--accent-1) / .42);
}

/* ============= 8) CTA/Accreditation ============= */
.lan-page.home[data-vibe="vivid"] .cta-bar{
  border-color: color-mix(in hsl, hsl(var(--border)), hsl(var(--accent-2)) 35%);
  background:
    linear-gradient(180deg, hsl(var(--accent-2) / .09), hsl(var(--surface)));
}
.lan-page.home[data-vibe="vivid"] .chips .chip:hover{
  border-color: color-mix(in hsl, hsl(var(--border)), hsl(var(--accent-1)) 40%);
  color: hsl(var(--accent-1));
}

/* ============= 9) Scroll progress — Emerald lead ============= */
.lan-page.home[data-vibe="vivid"] .manarah-scrollbar{
  opacity: 1;
  background:
    linear-gradient(90deg, hsl(var(--accent-2)) var(--_p, 0%), transparent 0),
    linear-gradient(90deg, hsl(var(--border)), hsl(var(--border)));
}

/* ============= 10) Live support / Sticky CTA (لو موجودة) ============= */
.lan-page.home[data-vibe="vivid"] .btn-stone{ background-image: linear-gradient(90deg, hsl(var(--brand-stone)), hsl(var(--accent-4))); color: #fff; }
.lan-page.home[data-vibe="vivid"] .btn-sand { background-image: linear-gradient(90deg, hsl(var(--brand-sand)), hsl(var(--accent-3))); }

/* ============= 11) Mobile softening ============= */
@media (max-width: 640px){
  .lan-page.home[data-vibe="vivid"] .section-title::after{ inset-inline: 38%; height: 2px; bottom: -4px; }
  .lan-page.home[data-vibe="vivid"] .logo-tile{ min-height: 62px; }
}





.hero-icons-row{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 12px;
}

/* بلاطة أيقونة كبيرة */
.hero-icon-tile{
  width: var(--icon-size, 96px);
  height: var(--icon-size, 96px);
  border-radius: 18px;
  background: hsl(var(--muted-bg));
  border: 1px solid hsl(var(--border));
  box-shadow: var(--shadow-sm);
  display: grid;
  place-items: center;
  padding: 10px;
  position: relative;
  transition:
    transform .18s cubic-bezier(.22,1,.36,1),
    box-shadow .18s ease,
    border-color .18s ease;
}

/* تفاعل الهوفر */
.hero-icon-tile:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: color-mix(in hsl, hsl(var(--border)), hsl(var(--brand-copper)) 22%);
}

/* الصورة داخل البلاطة */
.hero-icon-img{
  width: 78%;
  height: 78%;
  -o-object-fit: contain;
     object-fit: contain;
  image-rendering: auto;
  filter: saturate(1.03) contrast(1.02);
}

/* عنوان صغير أسفل الأيقونة (اختياري) */
.hero-icon-cap{
  position: absolute;
  inset-inline: 6px;
  bottom: 6px;
  font-size: 11px;
  font-weight: 800;
  text-align: center;
  color: hsl(var(--muted-fg));
  line-height: 1.1;
  pointer-events: none;
}

/* تلوين خط علوي خفيف حسب النغمة المختارة على الحاوية */
[data-accent="copper"] .hero-icon-tile{ border-top: 3px solid hsl(var(--brand-copper)); }
[data-accent="olive"]  .hero-icon-tile{ border-top: 3px solid hsl(var(--brand-olive)); }
[data-accent="stone"]  .hero-icon-tile{ border-top: 3px solid hsl(var(--brand-stone)); }

/* موبايل: تصغير نسبي مع الحفاظ على الوضوح */
@media (max-width: 640px){
  .hero-icons-row{ gap: 10px; margin-top: 10px; }
  .hero-icon-tile{ width: 72px; height: 72px; border-radius: 14px; padding: 8px; }
  .hero-icon-img{ width: 80%; height: 80%; }
  .hero-icon-cap{ display: none; } /* تقليل الضوضاء على الشاشات الصغيرة */
}


/* === HeroSplit: خلفية متموِّجة لطيفة (Copper + Emerald + Olive) === */

/* ألوان افتراضية للخلفية */
.hero-split{
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

/* نقاط الخلفية الموجودة لديك تبقى، لكن نجعلها أفتح فوق التموجات */
.hero-split .hero-split__dots{
  opacity: .35;
}

/* الهالة المتتبِّعة للمؤشر تبقى رقيقة */
.hero-split .hero-split__glow{
  opacity: .65;
}

/* تعتيم بسيط لخلفية البطاقة كي تبان فوق التموج */
.hero-split .hero-split__card.card-glass{
  backdrop-filter: saturate(120%) blur(6px);
  -webkit-backdrop-filter: saturate(120%) blur(6px);
  border-color: hsl(var(--border));
}

.dark .hero-split::before{
  filter: blur(18px) saturate(1.05);
  opacity: .80;
}
.dark .hero-split::after{
  background-image:
    radial-gradient(120% 80% at 50% -20%, hsl(var(--hero-b) / 0.12), transparent 60%),
    radial-gradient(100% 80% at 50% 120%, hsl(var(--black) / 0.28), transparent 62%),
    linear-gradient(180deg, transparent, hsl(var(--bg)));
  box-shadow: inset 0 0 200px 60px hsl(var(--black) / 0.30);
}
.dark .hero-split .hero-split__dots{ opacity: .28; }
.dark .hero-split .hero-split__glow{ opacity: .55; }

@media (max-width: 640px){
  .hero-split::before{
    filter: blur(14px);
    background-size: 110% 100%, 110% 100%, 120% 100%, 120% 100%;
    opacity: .9;
  }
  .hero-split::after{
    box-shadow: inset 0 0 90px 28px hsl(var(--brand-ink) / 0.06);
  }
}



/* === HeroSplit Visual — موجات عضوية داخل الجانب البصري فقط === */
.hero-split__visual{
  position: relative;
  isolation: isolate; /* لطبقات آمنة */
}

/* رسم موجات لونية ناعمة مع قصّ (mask) بشكل متموّج */
.hero-split__visual::before{
  content: "";
  position: absolute;
  inset: -6% -4% -10% -4%;      /* تمديد خارج الحاوية لفلو ناعم */
  z-index: 0;
  pointer-events: none;
  filter: blur(14px) saturate(1.05);
  opacity: .98;
  background-image:
    /* بقع راديال واسعة (لون A يسار/أعلى) */
    radial-gradient(70% 55% at 0% 5%,    hsl(var(--visual-a) / .22), transparent 60%),
    /* بقع راديال واسعة (لون B يمين/أسفل) */
    radial-gradient(70% 60% at 100% 105%, hsl(var(--visual-b) / .18), transparent 58%),
    /* رشة كونيك مائلة تضيف “إحساس Illustrator” */
    conic-gradient(from 210deg at 15% 15%, hsl(var(--visual-a) / .12), transparent 40%),
    conic-gradient(from  30deg at 85% 85%, hsl(var(--visual-b) / .12), transparent 42%);
  background-repeat: no-repeat;
  background-size: 100% 100%, 100% 100%, 80% 80%, 80% 80%;
}

/* قصّ الموجة: نستخدم mask بصورة SVG داخلية لتشكيل حواف غير مستطيلة */
@supports ((-webkit-mask-image: none) or (mask-image: none)){
  .hero-split__visual::before{
    -webkit-mask-image: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 520' preserveAspectRatio='none'>\
<path d='M60 0H740a60 60 0 0 1 60 60v220c0 66-54 120-120 120c-120 0-160-90-280-90s-160 104-280 104C56 414 0 382 0 330V60A60 60 0 0 1 60 0Z' fill='%23000'/>\
</svg>");
    mask-image: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 520' preserveAspectRatio='none'>\
<path d='M60 0H740a60 60 0 0 1 60 60v220c0 66-54 120-120 120c-120 0-160-90-280-90s-160 104-280 104C56 414 0 382 0 330V60A60 60 0 0 1 60 0Z' fill='%23000'/>\
</svg>");
    -webkit-mask-size: cover; mask-size: cover;
    -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
    -webkit-mask-position: center;  mask-position: center;
  }
}

/* إن لم يدعم المتصفح الـ mask: نرجع لشكل squircle لطيف */
@supports not ((-webkit-mask-image: none) or (mask-image: none)){
  .hero-split__visual::before{
    border-radius: 34px / 22px;
  }
}

/* تأكيد طبقات العناصر الموجودة لديك فوق الموجات */
.hero-split__dots, .hero-split__glow, .hero-split__card{
  position: relative;
  z-index: 1;
}

/* ألوان الموجات حسب الـ tone المختار على <header class="hero-split ..."> */
.hero-split--copper .hero-split__visual{ --visual-a: var(--brand-copper);  --visual-b: var(--brand-emerald); }
.hero-split--olive  .hero-split__visual{ --visual-a: var(--brand-emerald); --visual-b: var(--brand-olive);   }
.hero-split--stone  .hero-split__visual{ --visual-a: var(--brand-copper);  --visual-b: var(--brand-stone);   }

/* وضع داكن: شفافية أعلى وتظليل أعمق */
.dark .hero-split__visual::before{ filter: blur(16px) saturate(1.05); opacity: .88; }

/* استجابة الموبايل: موجات أكثر امتلاء وتخفيف الظلال */
@media (max-width: 640px){
  .hero-split__visual::before{
    inset: -8% -6% -12% -6%;
    filter: blur(12px);
  }
}


/* ============ Green Hover (near + on hover) ============ */
/* استخدام: 
   <div class="hover-sense"><div class="card hover-emerald">...</div></div>
   - .hover-emerald: يلوّن الخلفية والنص عند التحويم
   - .hover-sense  : يوسّع منطقة الاقتراب (اختياري) */

.hover-emerald{
  /* لا نغيّر الشكل افتراضياً — فقط عند :hover */
  transition:
    background-color .22s ease,
    color .22s ease,
    border-color .22s ease,
    box-shadow .18s ease,
    transform .18s ease;
}

/* اللون الأخضر المطلوب + نص فاتح متوافق */
.hover-emerald:hover,
.hover-sense:hover .hover-emerald{
  background-color: hsl(var(--hdr-bg));    /* 147 8% 38% */
  color: hsl(var(--hdr-fg));               /* 44 12% 96% */
  border-color: hsl(var(--hdr-border));    /* 152 10% 26% */
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

/* نصوص ثانوية داخل الهوفر */
.hover-emerald:hover .text-muted,
.hover-sense:hover .hover-emerald .text-muted{
  color: hsl(var(--hdr-fg-muted));         /* 44 12% 78% */
}

/* أزرار داخل العنصر أثناء الهوفر — تبديل بسيط حتى تبقى مقروءة */
.hover-emerald:hover .btn-outline,
.hover-sense:hover .hover-emerald .btn-outline{
  color: hsl(var(--hdr-fg));
  border-color: hsl(var(--hdr-fg));
  background-color: transparent;
}
.hover-emerald:hover .btn,
.hover-sense:hover .hover-emerald .btn{
  box-shadow: var(--shadow-xs);
}

/* توحيد انتقال النص والعناصر الداخلية لجمالية أفضل */
.hover-emerald *{
  transition:
    color .18s ease,
    border-color .18s ease,
    background-color .18s ease;
}

/* ====== منطقة اقتراب اختيارية لتكبير مجال التحويم ====== */
.hover-sense{
  position: relative;
  /* نوسّع مجال التحويم بدون تغيير التخطيط */
  margin: -10px;
  padding: 10px;
  border-radius: calc(var(--r-card) + 10px);
}
/* ظلّ رقيق يظهر عند الاقتراب على حواف المنطقة (لمسة جمالية) */
.hover-sense:hover{
  box-shadow: inset 0 0 0 1px hsl(var(--hdr-border) / .35);
}
@media (min-width: 1024px) {

  .lg\:prose-lg {
    font-size: 1.125rem;
    line-height: 1.7777778;
  }

  .lg\:prose-lg :where(p):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
    margin-top: 1.3333333em;
    margin-bottom: 1.3333333em;
  }

  .lg\:prose-lg :where([class~="lead"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
    font-size: 1.2222222em;
    line-height: 1.4545455;
    margin-top: 1.0909091em;
    margin-bottom: 1.0909091em;
  }

  .lg\:prose-lg :where(blockquote):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
    margin-top: 1.6666667em;
    margin-bottom: 1.6666667em;
    padding-inline-start: 1em;
  }

  .lg\:prose-lg :where(h1):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
    font-size: 2.6666667em;
    margin-top: 0;
    margin-bottom: 0.8333333em;
    line-height: 1;
  }

  .lg\:prose-lg :where(h2):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
    font-size: 1.6666667em;
    margin-top: 1.8666667em;
    margin-bottom: 1.0666667em;
    line-height: 1.3333333;
  }

  .lg\:prose-lg :where(h3):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
    font-size: 1.3333333em;
    margin-top: 1.6666667em;
    margin-bottom: 0.6666667em;
    line-height: 1.5;
  }

  .lg\:prose-lg :where(h4):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
    margin-top: 1.7777778em;
    margin-bottom: 0.4444444em;
    line-height: 1.5555556;
  }

  .lg\:prose-lg :where(img):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
    margin-top: 1.7777778em;
    margin-bottom: 1.7777778em;
  }

  .lg\:prose-lg :where(picture):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
    margin-top: 1.7777778em;
    margin-bottom: 1.7777778em;
  }

  .lg\:prose-lg :where(picture > img):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
    margin-top: 0;
    margin-bottom: 0;
  }

  .lg\:prose-lg :where(video):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
    margin-top: 1.7777778em;
    margin-bottom: 1.7777778em;
  }

  .lg\:prose-lg :where(kbd):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
    font-size: 0.8888889em;
    border-radius: 0.3125rem;
    padding-top: 0.2222222em;
    padding-inline-end: 0.4444444em;
    padding-bottom: 0.2222222em;
    padding-inline-start: 0.4444444em;
  }

  .lg\:prose-lg :where(code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
    font-size: 0.8888889em;
  }

  .lg\:prose-lg :where(h2 code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
    font-size: 0.8666667em;
  }

  .lg\:prose-lg :where(h3 code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
    font-size: 0.875em;
  }

  .lg\:prose-lg :where(pre):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
    font-size: 0.8888889em;
    line-height: 1.75;
    margin-top: 2em;
    margin-bottom: 2em;
    border-radius: 0.375rem;
    padding-top: 1em;
    padding-inline-end: 1.5em;
    padding-bottom: 1em;
    padding-inline-start: 1.5em;
  }

  .lg\:prose-lg :where(ol):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
    margin-top: 1.3333333em;
    margin-bottom: 1.3333333em;
    padding-inline-start: 1.5555556em;
  }

  .lg\:prose-lg :where(ul):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
    margin-top: 1.3333333em;
    margin-bottom: 1.3333333em;
    padding-inline-start: 1.5555556em;
  }

  .lg\:prose-lg :where(li):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
    margin-top: 0.6666667em;
    margin-bottom: 0.6666667em;
  }

  .lg\:prose-lg :where(ol > li):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
    padding-inline-start: 0.4444444em;
  }

  .lg\:prose-lg :where(ul > li):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
    padding-inline-start: 0.4444444em;
  }

  .lg\:prose-lg :where(.lg\:prose-lg > ul > li p):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
    margin-top: 0.8888889em;
    margin-bottom: 0.8888889em;
  }

  .lg\:prose-lg :where(.lg\:prose-lg > ul > li > p:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
    margin-top: 1.3333333em;
  }

  .lg\:prose-lg :where(.lg\:prose-lg > ul > li > p:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
    margin-bottom: 1.3333333em;
  }

  .lg\:prose-lg :where(.lg\:prose-lg > ol > li > p:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
    margin-top: 1.3333333em;
  }

  .lg\:prose-lg :where(.lg\:prose-lg > ol > li > p:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
    margin-bottom: 1.3333333em;
  }

  .lg\:prose-lg :where(ul ul, ul ol, ol ul, ol ol):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
    margin-top: 0.8888889em;
    margin-bottom: 0.8888889em;
  }

  .lg\:prose-lg :where(dl):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
    margin-top: 1.3333333em;
    margin-bottom: 1.3333333em;
  }

  .lg\:prose-lg :where(dt):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
    margin-top: 1.3333333em;
  }

  .lg\:prose-lg :where(dd):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
    margin-top: 0.6666667em;
    padding-inline-start: 1.5555556em;
  }

  .lg\:prose-lg :where(hr):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
    margin-top: 3.1111111em;
    margin-bottom: 3.1111111em;
  }

  .lg\:prose-lg :where(hr + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
    margin-top: 0;
  }

  .lg\:prose-lg :where(h2 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
    margin-top: 0;
  }

  .lg\:prose-lg :where(h3 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
    margin-top: 0;
  }

  .lg\:prose-lg :where(h4 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
    margin-top: 0;
  }

  .lg\:prose-lg :where(table):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
    font-size: 0.8888889em;
    line-height: 1.5;
  }

  .lg\:prose-lg :where(thead th):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
    padding-inline-end: 0.75em;
    padding-bottom: 0.75em;
    padding-inline-start: 0.75em;
  }

  .lg\:prose-lg :where(thead th:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
    padding-inline-start: 0;
  }

  .lg\:prose-lg :where(thead th:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
    padding-inline-end: 0;
  }

  .lg\:prose-lg :where(tbody td, tfoot td):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
    padding-top: 0.75em;
    padding-inline-end: 0.75em;
    padding-bottom: 0.75em;
    padding-inline-start: 0.75em;
  }

  .lg\:prose-lg :where(tbody td:first-child, tfoot td:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
    padding-inline-start: 0;
  }

  .lg\:prose-lg :where(tbody td:last-child, tfoot td:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
    padding-inline-end: 0;
  }

  .lg\:prose-lg :where(figure):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
    margin-top: 1.7777778em;
    margin-bottom: 1.7777778em;
  }

  .lg\:prose-lg :where(figure > *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
    margin-top: 0;
    margin-bottom: 0;
  }

  .lg\:prose-lg :where(figcaption):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
    font-size: 0.8888889em;
    line-height: 1.5;
    margin-top: 1em;
  }

  .lg\:prose-lg :where(.lg\:prose-lg > :first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
    margin-top: 0;
  }

  .lg\:prose-lg :where(.lg\:prose-lg > :last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
    margin-bottom: 0;
  }
}
.hover\:bg-muted:hover {
  background-color: hsl(var(--muted));
}
.hover\:bg-muted\/40:hover {
  background-color: hsl(var(--muted) / 0.4);
}
.hover\:text-fg:hover {
  color: hsl(var(--fg));
}
.hover\:no-underline:hover {
  text-decoration-line: none;
}
.hover\:opacity-100:hover {
  opacity: 1;
}
.hover\:opacity-80:hover {
  opacity: 0.8;
}
.hover\:opacity-90:hover {
  opacity: 0.9;
}
.focus\:not-sr-only:focus {
  position: static;
  width: auto;
  height: auto;
  padding: 0;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
}
.focus\:absolute:focus {
  position: absolute;
}
.focus\:start-2:focus {
  inset-inline-start: 0.5rem;
}
.focus\:top-2:focus {
  top: 0.5rem;
}
.focus\:z-50:focus {
  z-index: 50;
}
.focus\:rounded-md:focus {
  border-radius: 0.375rem;
}
.focus\:border-\[hsl\(var\(--primary\)\)\]:focus {
  border-color: hsl(var(--primary));
}
.focus\:bg-white:focus {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
}
.focus\:px-3:focus {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}
.focus\:py-2:focus {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.focus\:shadow-soft:focus {
  --tw-shadow: 0 6px 20px rgba(0,0,0,0.06), 0 2px 8px rgba(0,0,0,0.04);
  --tw-shadow-colored: 0 6px 20px var(--tw-shadow-color), 0 2px 8px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.focus\:outline-none:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
}
.focus\:ring-0:focus {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}
.focus\:ring-2:focus {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}
.focus\:ring-danger\/50:focus {
  --tw-ring-color: hsl(var(--danger) / 0.5);
}
[dir="rtl"] .focus\:start-2:focus {
  right: 0.5rem;
}
[dir="ltr"] .focus\:start-2:focus {
  left: 0.5rem;
}
.focus-visible\:not-sr-only:focus-visible {
  position: static;
  width: auto;
  height: auto;
  padding: 0;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
}
.focus-visible\:fixed:focus-visible {
  position: fixed;
}
.focus-visible\:top-2:focus-visible {
  top: 0.5rem;
}
.focus-visible\:z-\[1001\]:focus-visible {
  z-index: 1001;
}
.focus-visible\:rounded-md:focus-visible {
  border-radius: 0.375rem;
}
.focus-visible\:px-3:focus-visible {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}
.focus-visible\:py-2:focus-visible {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.focus-visible\:no-underline:focus-visible {
  text-decoration-line: none;
}
.focus-visible\:\[inset-inline-start\:theme\(spacing\.2\)\]:focus-visible {
  inset-inline-start: 0.5rem;
}
.disabled\:opacity-50:disabled {
  opacity: 0.5;
}
.disabled\:opacity-60:disabled {
  opacity: 0.6;
}
.group:hover .group-hover\:opacity-100 {
  opacity: 1;
}
@supports (backdrop-filter: var(--tw)) {

  .supports-\[backdrop-filter\]\:bg-white\/70 {
    background-color: rgb(255 255 255 / 0.7);
  }
}
@media (min-width: 640px) {

  .sm\:block {
    display: block;
  }

  .sm\:hidden {
    display: none;
  }

  .sm\:aspect-\[16\/5\] {
    aspect-ratio: 16/5;
  }

  .sm\:aspect-\[16\/9\] {
    aspect-ratio: 16/9;
  }

  .sm\:w-1\/3 {
    width: 33.333333%;
  }

  .sm\:w-64 {
    width: 16rem;
  }

  .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\:grid-cols-\[minmax\(0\2c 1fr\)_auto\] {
    grid-template-columns: minmax(0,1fr) auto;
  }

  .sm\:items-end {
    align-items: flex-end;
  }
}
@media (min-width: 768px) {

  .md\:bottom-8 {
    bottom: 2rem;
  }

  .md\:order-1 {
    order: 1;
  }

  .md\:order-2 {
    order: 2;
  }

  .md\:col-span-2 {
    grid-column: span 2 / span 2;
  }

  .md\:col-span-3 {
    grid-column: span 3 / span 3;
  }

  .md\:col-span-4 {
    grid-column: span 4 / span 4;
  }

  .md\:col-span-8 {
    grid-column: span 8 / span 8;
  }

  .md\:line-clamp-3 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .md\:block {
    display: block;
  }

  .md\:inline {
    display: inline;
  }

  .md\:flex {
    display: flex;
  }

  .md\:grid {
    display: grid;
  }

  .md\:hidden {
    display: none;
  }

  .md\:aspect-\[21\/7\] {
    aspect-ratio: 21/7;
  }

  .md\:aspect-\[5\/2\] {
    aspect-ratio: 5/2;
  }

  .md\:w-96 {
    width: 24rem;
  }

  .md\:grid-cols-12 {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .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\:grid-cols-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .md\:grid-cols-\[1\.3fr_\.9fr\] {
    grid-template-columns: 1.3fr .9fr;
  }

  .md\:grid-cols-\[1\.4fr_\.9fr\] {
    grid-template-columns: 1.4fr .9fr;
  }

  .md\:grid-cols-\[1fr\] {
    grid-template-columns: 1fr;
  }

  .md\:grid-cols-\[1fr_260px\] {
    grid-template-columns: 1fr 260px;
  }

  .md\:grid-cols-\[1fr_auto\] {
    grid-template-columns: 1fr auto;
  }

  .md\:grid-cols-\[1fr_auto_auto_auto\] {
    grid-template-columns: 1fr auto auto auto;
  }

  .md\:grid-cols-\[220px_1fr_1fr\] {
    grid-template-columns: 220px 1fr 1fr;
  }

  .md\:grid-cols-\[2fr_1fr\] {
    grid-template-columns: 2fr 1fr;
  }

  .md\:grid-cols-\[auto\2c 1fr\] {
    grid-template-columns: auto 1fr;
  }

  .md\:flex-row {
    flex-direction: row;
  }

  .md\:items-end {
    align-items: flex-end;
  }

  .md\:items-center {
    align-items: center;
  }

  .md\:justify-end {
    justify-content: flex-end;
  }

  .md\:justify-between {
    justify-content: space-between;
  }

  .md\:gap-3 {
    gap: 0.75rem;
  }

  .md\:gap-4 {
    gap: 1rem;
  }

  .md\:space-y-16 > :not([hidden]) ~ :not([hidden]) {
    --tw-space-y-reverse: 0;
    margin-top: calc(4rem * calc(1 - var(--tw-space-y-reverse)));
    margin-bottom: calc(4rem * var(--tw-space-y-reverse));
  }

  .md\:p-5 {
    padding: 1.25rem;
  }

  .md\:p-6 {
    padding: 1.5rem;
  }

  .md\:p-8 {
    padding: 2rem;
  }

  .md\:py-14 {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .md\:pb-0 {
    padding-bottom: 0px;
  }

  .md\:text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
  }

  .md\:text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }

  .md\:text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }

  .md\:text-base {
    font-size: 1rem;
    line-height: 1.5rem;
  }

  .md\:text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
  }

  .md\:text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
  }

  .md\:text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }

  .md\:text-xs {
    font-size: 0.75rem;
    line-height: 1rem;
  }
}
@media (min-width: 1024px) {

  .lg\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .lg\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .lg\:grid-cols-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .lg\:grid-cols-6 {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .lg\:grid-cols-\[1fr_260px\] {
    grid-template-columns: 1fr 260px;
  }

  .lg\:grid-cols-\[minmax\(220px\2c 260px\)\2c 1fr\] {
    grid-template-columns: minmax(220px,260px) 1fr;
  }
}
@media (min-width: 1280px) {

  .xl\:block {
    display: block;
  }

  .xl\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .xl\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .xl\:grid-cols-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .xl\:grid-cols-6 {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .xl\:grid-cols-\[280px_1fr\] {
    grid-template-columns: 280px 1fr;
  }
}

