@font-face {
  font-family: "Inter";
  src:
    url("../Fonts/Inter/Inter-Regular.otf") format("opentype"),
    url("../Fonts/Inter/Inter_24pt-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../Fonts/Inter/Inter-Medium.otf") format("opentype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../Fonts/Inter/Inter-SemiBold.otf") format("opentype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../Fonts/Inter/Inter-Bold.otf") format("opentype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --app-font-sans: "Inter", system-ui, sans-serif;
}

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

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

/*
! tailwindcss v3.4.19 | MIT License | https://tailwindcss.com
*/

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

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

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

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

html,
:host {
  line-height: 1.5;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
  -moz-tab-size: 4;
  /* 3 */
  -o-tab-size: 4;
     tab-size: 4;
  /* 3 */
  font-family: var(--app-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;
}

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

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

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

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

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

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

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

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

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

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

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

input:where([type='checkbox']) {
  border-radius: 0px;
}

input:where([type='radio']) {
  background-color: var(--surface);
  border-color: var(--line);
  border-radius: 100%;
}

input:where([type='checkbox']):focus,input:where([type='radio']):focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
  --tw-ring-inset: var(--tw-empty,/*!*/ /*!*/);
  --tw-ring-offset-width: 2px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: #2563eb;
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
}

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

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

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

input:where([type='radio']):checked {
  color: var(--primary);
  border-color: color-mix(in srgb, var(--primary) 84%, #ffffff 16%);
  background-color: color-mix(in srgb, var(--primary) 86%, #0f172a 14%);
  background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");
}

input:where([type='radio']):hover {
  border-color: color-mix(in srgb, var(--line) 78%, #64748b 22%);
}

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

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

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

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

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

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

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

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

.container {
  width: 100%;
}

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

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

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

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

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

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

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

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

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

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

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

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

.\!visible {
  visibility: visible !important;
}

.visible {
  visibility: visible;
}

.collapse {
  visibility: collapse;
}

.static {
  position: static;
}

.fixed {
  position: fixed;
}

.absolute {
  position: absolute;
}

.relative {
  position: relative;
}

.sticky {
  position: sticky;
}

.inset-0 {
  inset: 0px;
}

.inset-y-0 {
  top: 0px;
  bottom: 0px;
}

.left-0 {
  left: 0px;
}

.right-\[18px\] {
  right: 18px;
}

.top-\[18px\] {
  top: 18px;
}

.isolate {
  isolation: isolate;
}

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

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

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

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

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

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

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

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

.block {
  display: block;
}

.inline {
  display: inline;
}

.flex {
  display: flex;
}

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

.table {
  display: table;
}

.grid {
  display: grid;
}

.contents {
  display: contents;
}

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

.hidden {
  display: none;
}

.h-12 {
  height: 3rem;
}

.h-5 {
  height: 1.25rem;
}

.h-\[18px\] {
  height: 18px;
}

.h-px {
  height: 1px;
}

.min-h-11 {
  min-height: 2.75rem;
}

.min-h-12 {
  min-height: 3rem;
}

.min-h-14 {
  min-height: 3.5rem;
}

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

.min-h-\[44px\] {
  min-height: 44px;
}

.w-12 {
  width: 3rem;
}

.w-5 {
  width: 1.25rem;
}

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

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

.w-\[min\(calc\(100vw-24px\)\2c 32rem\)\] {
  width: min(calc(100vw - 24px), 32rem);
}

.w-full {
  width: 100%;
}

.w-px {
  width: 1px;
}

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

.max-w-\[calc\(100vw-24px\)\] {
  max-width: calc(100vw - 24px);
}

.max-w-\[min\(100\%\2c 32rem\)\] {
  max-width: min(100%, 32rem);
}

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

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

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

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

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

.translate-x-4 {
  --tw-translate-x: 1rem;
  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 spin {
  to {
    transform: rotate(360deg);
  }
}

.animate-spin {
  animation: spin 1s linear infinite;
}

.resize {
  resize: both;
}

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

.grid-cols-\[auto_1fr_auto\] {
  grid-template-columns: auto 1fr auto;
}

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

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

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

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

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

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

.gap-2 {
  gap: 0.5rem;
}

.gap-2\.5 {
  gap: 0.625rem;
}

.gap-3 {
  gap: 0.75rem;
}

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

.overflow-hidden {
  overflow: hidden;
}

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

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

.break-words {
  overflow-wrap: break-word;
}

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

.rounded-\[14px\] {
  border-radius: 14px;
}

.rounded-\[20px\] {
  border-radius: 20px;
}

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

.rounded-xl {
  border-radius: 0.75rem;
}

.rounded-l-\[14px\] {
  border-top-left-radius: 14px;
  border-bottom-left-radius: 14px;
}

.border {
  border-width: 1px;
}

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

.border-slate-200\/70 {
  border-color: rgb(226 232 240 / 0.7);
}

.border-slate-300 {
  --tw-border-opacity: 1;
  border-color: rgb(203 213 225 / var(--tw-border-opacity, 1));
}

.border-transparent {
  border-color: transparent;
}

.bg-slate-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(241 245 249 / var(--tw-bg-opacity, 1));
}

.bg-slate-900 {
  --tw-bg-opacity: 1;
  background-color: rgb(15 23 42 / var(--tw-bg-opacity, 1));
}

.bg-slate-950\/55 {
  background-color: rgb(2 6 23 / 0.55);
}

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

.p-2 {
  padding: 0.5rem;
}

.p-4 {
  padding: 1rem;
}

.p-6 {
  padding: 1.5rem;
}

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

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

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

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

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

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

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

.text-\[0\.74rem\] {
  font-size: 0.74rem;
}

.text-\[0\.98rem\] {
  font-size: 0.98rem;
}

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

.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-extrabold {
  font-weight: 800;
}

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

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

.uppercase {
  text-transform: uppercase;
}

.leading-6 {
  line-height: 1.5rem;
}

.leading-\[1\.35\] {
  line-height: 1.35;
}

.text-slate-600 {
  --tw-text-opacity: 1;
  color: rgb(71 85 105 / var(--tw-text-opacity, 1));
}

.text-slate-700 {
  --tw-text-opacity: 1;
  color: rgb(51 65 85 / var(--tw-text-opacity, 1));
}

.text-slate-800 {
  --tw-text-opacity: 1;
  color: rgb(30 41 59 / var(--tw-text-opacity, 1));
}

.text-slate-900 {
  --tw-text-opacity: 1;
  color: rgb(15 23 42 / var(--tw-text-opacity, 1));
}

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

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

.opacity-0 {
  opacity: 0;
}

.opacity-100 {
  opacity: 1;
}

.shadow-2xl {
  --tw-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  --tw-shadow-colored: 0 25px 50px -12px 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-\[0_18px_38px_rgba\(15\2c 23\2c 42\2c 0\.12\)\] {
  --tw-shadow: 0 18px 38px rgba(15,23,42,0.12);
  --tw-shadow-colored: 0 18px 38px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.shadow-sm {
  --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.outline {
  outline-style: solid;
}

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

.drop-shadow {
  --tw-drop-shadow: drop-shadow(0 1px 2px rgb(0 0 0 / 0.1)) drop-shadow(0 1px 1px rgb(0 0 0 / 0.06));
  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-\[14px\] {
  --tw-backdrop-blur: blur(14px);
  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-blur-sm {
  --tw-backdrop-blur: blur(4px);
  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-all {
  transition-property: all;
  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;
}

.transition-transform {
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

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

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

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

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

.\[a-f0-9\:\.\] {
  a-f0-9: .;
}

/* Project custom styles */

*, :after, :before {
  --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-scroll-snap-strictness: proximity;
  --tw-ring-offset-width: 0;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgba(59, 130, 246, 0.5);
}

::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-scroll-snap-strictness: proximity;
  --tw-ring-offset-width: 0;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgba(59, 130, 246, 0.5);
}

/*! tailwindcss v3.4.17 | MIT License | https://tailwindcss.com*/

*, :after, :before {
  border: 0 solid #e5e7eb;
  box-sizing: border-box;
}

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

:host, html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  font-family: var(--app-font-sans);
  font-feature-settings: normal;
  font-variation-settings: normal;
  -moz-tab-size: 4;
  -o-tab-size: 4;
  tab-size: 4;
  -webkit-tap-highlight-color: transparent;
}

body {
  line-height: inherit;
  margin: 0;
}

hr {
  border-top-width: 1px;
  color: inherit;
  height: 0;
}

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

a {
  text-decoration: inherit;
}

b, strong {
  font-weight: bolder;
}

code, kbd, pre, samp {
  font-family: base-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace;
  font-feature-settings: normal;
  font-size: 1em;
  font-variation-settings: normal;
}

small {
  font-size: 80%;
}

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

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

table {
  border-collapse: collapse;
  border-color: inherit;
  text-indent: 0;
}

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

button, select {
  text-transform: none;
}

:-moz-focusring {
  outline: auto;
}

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

progress {
  vertical-align: baseline;
}

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

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

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

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

summary {
  display: list-item;
}

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

fieldset {
  margin: 0;
}

fieldset, legend {
  padding: 0;
}

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

dialog {
  padding: 0;
}

textarea {
  resize: vertical;
}

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

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

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

:disabled {
  cursor: default;
}

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

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

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

.container {
  width: 100%;
}

:root {
  --bg-body: #f8fafc;
  --bg-sidebar: #020617;
  --bg-sidebar-soft: #0f172a;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-soft: #94a3b8;
  --surface: #fff;
  --surface-soft: #f8fafc;
  --surface-strong: #eff6ff;
  --line: #dde3eb;
  --line-strong: #c8d0db;
  --ring: rgba(15, 23, 42, 0.08);
  --primary-soft: color-mix(in srgb, var(--primary) 12%, #fff 88%);
  --primary-line: var(--line);
  --danger: #dc2626;
  --danger-soft: #fef2f2;
  --success: #16a34a;
  --success-soft: #f0fdf4;
  --warning: #d97706;
  --warning-soft: #fffbeb;
  --shadow-soft: 0 20px 45px rgba(15, 23, 42, 0.08);
  --shadow-strong: 0 28px 70px rgba(15, 23, 42, 0.14);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-height: 100vh;
  --tw-bg-opacity: 1;
  font-family: var(--app-font-sans);
  --tw-text-opacity: 1;
  background: var(--bg-body);
  color: var(--text-main);
}

body, button, input, select, textarea {
  font-family: var(--app-font-sans);
}

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

img {
  max-width: 100%;
}

input:not([type='checkbox']):not([type='radio']), select, textarea {
  border-radius: 1rem;
  border-width: 1px;
  width: 100%;
  --tw-bg-opacity: 1;
  background: var(--surface);
  border-color: var(--line);
  box-shadow: inset 0 1px 0 hsla(0, 0%, 100%, 0.4);
  color: var(--text-main);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25rem;
  outline: 2px solid transparent;
  outline-offset: 2px;
  padding: 0.75rem 1rem;
  transition-duration: 0.15s;
  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);
}

input:not([type='checkbox']):not([type='radio'])::-moz-placeholder, textarea::-moz-placeholder {
  color: var(--text-muted);
}

input:not([type='checkbox']):not([type='radio'])::placeholder, textarea::placeholder {
  color: var(--text-muted);
}

input:not([type='checkbox']):not([type='radio']):focus, select:focus, textarea:focus {
  border-color: var(--primary-line);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 14%, transparent 86%);
}

select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, color-mix(in srgb, var(--text-muted) 88%, transparent 12%) 50%), linear-gradient(135deg, color-mix(in srgb, var(--text-muted) 88%, transparent 12%) 50%, transparent 50%);
  background-position: calc(100% - 22px) calc(50% - 2px), calc(100% - 16px) calc(50% - 2px);
  background-repeat: no-repeat;
  background-size: 6px 6px, 6px 6px;
  padding-right: 2.5rem;
}

table {
  border-collapse: collapse;
  width: 100%;
}

td, th {
  text-align: left;
  vertical-align: middle;
}

[hidden] {
  display: none !important;
}

.admin-banner, .card-panel, .d-panel, .modal-content, .modal-shell, .rp-stat-card, .u-table-container, .base-card, .base-surface-soft, .welcome-surface, [class*=surface], [class*=table-card], [class*=table-container], [class*=table-wrap] {
  background: var(--surface);
  border-color: var(--line);
  border-radius: 22px;
  border-width: 1px;
  box-shadow: var(--shadow-soft);
}

.base-surface-soft {
  background: var(--surface-soft);
}

.d-head, .base-page-head {
  border-radius: 28px;
  border-width: 1px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  overflow: hidden;
  padding: 1.5rem;
  position: relative;
  background: radial-gradient(circle at 100% 0, color-mix(in srgb, var(--primary) 6%, transparent 94%) 0, transparent 22%), radial-gradient(circle at 0 100%, color-mix(in srgb, var(--primary) 4%, transparent 96%) 0, transparent 18%), linear-gradient(180deg, #fff 0, #fbfdff 100%);
  border-color: var(--line);
  box-shadow: inset 0 1px 0 hsla(0, 0%, 100%, 0.88), inset 0 1px 0 hsla(0, 0%, 100%, 0.72), 0 18px 38px rgba(15, 23, 42, 0.06);
}

.admin-banner, .d-head, .base-page-head {
  isolation: isolate;
  position: relative;
}

.admin-banner:after, .admin-banner:before, .d-head:after, .d-head:before, .base-page-head:after, .base-page-head:before {
  content: none;
}

.admin-banner {
  border-radius: 28px;
  border-width: 1px;
  margin-bottom: 1.5rem;
  overflow: hidden;
  padding: 1.5rem;
  position: relative;
  background: radial-gradient(circle at 100% 0, color-mix(in srgb, var(--primary) 6%, transparent 94%) 0, transparent 22%), radial-gradient(circle at 0 100%, color-mix(in srgb, var(--primary) 4%, transparent 96%) 0, transparent 18%), linear-gradient(180deg, #fff 0, #fbfdff 100%);
  border-color: var(--line);
  box-shadow: inset 0 1px 0 hsla(0, 0%, 100%, 0.88), inset 0 1px 0 hsla(0, 0%, 100%, 0.72), 0 18px 38px rgba(15, 23, 42, 0.06);
}

.admin-banner-row {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
  z-index: 1;
}

.admin-banner-copy, .base-page-copy {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  max-width: 620px;
  position: relative;
  z-index: 1;
}

.admin-banner-title-row {
  align-items: center;
  display: flex;
  gap: 0;
}

.admin-banner-heading-copy {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.admin-banner-icon {
  display: none;
}

.admin-banner-title, .d-head h2, .base-page-title {
  color: var(--text-main);
  font-size: 33px;
  font-weight: 600;
  letter-spacing: -0.045em;
  margin: 0;
}

.admin-banner-text {
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6rem;
  margin: 0;
  max-width: 560px;
}

.admin-banner-actions, .t-head-actions, .base-page-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  position: relative;
  z-index: 1;
  backdrop-filter: none;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.admin-banner-actions[hidden], .admin-banner-stats[hidden] {
  display: none !important;
}

.app-update-banner {
  align-items: center;
  background: linear-gradient(140deg, color-mix(in srgb, var(--primary) 8%, #fff 92%) 0, color-mix(in srgb, var(--surface) 95%, #fff 5%) 100%);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 18px 36px color-mix(in srgb, var(--primary) 12%, transparent 88%);
  display: none;
  gap: 0.875rem;
  margin: 0 0 1rem;
  padding: 0.95rem 1rem;
  position: relative;
  z-index: 2;
}

.app-update-banner.is-visible {
  animation: app-update-banner-in 0.24s ease;
  display: flex;
}

@keyframes app-update-banner-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.upd-text {
  align-items: center;
  display: flex;
  gap: 0.75rem;
  min-width: 0;
}

.upd-text > i {
  align-items: center;
  background: color-mix(in srgb, var(--primary) 12%, #fff 88%);
  border: 1px solid var(--line);
  border-radius: 9999px;
  color: color-mix(in srgb, var(--primary) 80%, #16335c 20%);
  display: inline-flex;
  flex: 0 0 34px;
  font-size: 14px;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.upd-title {
  color: var(--text-main);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.upd-desc {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.45;
  margin-top: 0.15rem;
}

.upd-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-left: auto;
}

.upd-actions .base-button {
  min-height: 42px;
  min-width: 132px;
  padding: 0.65rem 1rem;
}

.app-update-overlay {
  z-index: 1250;
}

.app-update-overlay .upd-card {
  max-width: min(520px, calc(100vw - 32px));
}

.app-update-body {
  align-items: center;
  display: flex;
  gap: 0.85rem;
  padding: 1.25rem 1.5rem 1.5rem;
}

.app-update-spinner {
  animation: app-update-spinner-rotate 0.9s linear infinite;
  border: 3px solid var(--line);
  border-radius: 9999px;
  border-top-color: var(--line-strong);
  flex: 0 0 28px;
  height: 28px;
  width: 28px;
}

@keyframes app-update-spinner-rotate {
  to {
    transform: rotate(360deg);
  }
}

.app-update-status {
  color: var(--text-main);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
  margin: 0;
}

.admin-banner-decor {
  bottom: 18px;
  pointer-events: none;
  position: absolute;
  right: 24px;
  top: 18px;
  width: min(42%, 420px);
  z-index: 0;
}

.admin-banner-decor:after, .admin-banner-decor:before {
  content: "";
  inset: 0;
  opacity: 1;
  pointer-events: none;
  position: absolute;
}

.admin-banner-decor:before {
  background: radial-gradient(68% 120% at 92% 6%, color-mix(in srgb, var(--primary) 14%, transparent 86%) 0, transparent 72%), radial-gradient(56% 96% at 8% 94%, color-mix(in srgb, var(--primary) 10%, transparent 90%) 0, transparent 74%);
  filter: blur(10px);
  opacity: 0.82;
}

.admin-banner-decor:after {
  background: radial-gradient(circle at 88% 18%, rgba(148, 163, 184, 0.28) 0 2px, transparent 2.6px), radial-gradient(circle at 82% 56%, rgba(148, 163, 184, 0.24) 0 2px, transparent 2.6px), radial-gradient(circle at 72% 30%, rgba(148, 163, 184, 0.22) 0 1.8px, transparent 2.4px), radial-gradient(circle at 64% 72%, rgba(148, 163, 184, 0.2) 0 1.8px, transparent 2.4px), radial-gradient(circle at 54% 22%, rgba(148, 163, 184, 0.18) 0 1.8px, transparent 2.4px), radial-gradient(circle at 46% 66%, rgba(148, 163, 184, 0.16) 0 1.7px, transparent 2.3px), radial-gradient(circle at 36% 34%, rgba(148, 163, 184, 0.14) 0 1.6px, transparent 2.2px), radial-gradient(circle at 26% 78%, rgba(148, 163, 184, 0.12) 0 1.5px, transparent 2.1px), radial-gradient(circle at 16% 40%, rgba(148, 163, 184, 0.1) 0 1.4px, transparent 2px);
  opacity: 0.46;
}

.admin-banner-decor-icon {
  align-items: center;
  animation: base-banner-icon-orbit 10s ease-in-out infinite;
  color: color-mix(in srgb, var(--primary) 32%, transparent 68%);
  display: inline-flex;
  font-size: 14px;
  justify-content: center;
  line-height: 1;
  position: absolute;
}

.admin-banner-decor-icon.decor-1 {
  animation-delay: -1s;
  left: 18px;
  top: 8px;
}

.admin-banner-decor-icon.decor-2 {
  animation-delay: -2.4s;
  left: 82px;
  top: 34px;
}

.admin-banner-decor-icon.decor-3 {
  animation-delay: -4.8s;
  left: 176px;
  top: 12px;
}

.admin-banner-decor-icon.decor-4 {
  animation-delay: -3.2s;
  left: 144px;
  top: 78px;
}

.admin-banner-decor-icon.decor-5 {
  animation-delay: -5.2s;
  left: 46px;
  top: 96px;
}

.admin-banner-decor-icon.decor-6 {
  animation-delay: -2.8s;
  left: 208px;
  top: 122px;
}

.admin-banner-decor-icon.decor-7 {
  animation-delay: -6s;
  right: 132px;
  top: 18px;
}

.admin-banner-decor-icon.decor-8 {
  animation-delay: -1.8s;
  right: 176px;
  top: 56px;
}

.admin-banner-decor-icon.decor-9 {
  animation-delay: -7s;
  right: 76px;
  top: 34px;
}

.admin-banner-decor-icon.decor-10 {
  animation-delay: -3.8s;
  right: 154px;
  top: 122px;
}

.admin-banner-decor-icon.decor-11 {
  animation-delay: -5.7s;
  right: 90px;
  top: 92px;
}

.admin-banner-decor-icon.decor-12 {
  animation-delay: -4.5s;
  right: 36px;
  top: 142px;
}

.admin-banner-stats {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
  position: relative;
  z-index: 1;
}

.admin-banner-stat {
  backdrop-filter: blur(12px);
  background: color-mix(in srgb, var(--surface) 95%, var(--primary) 5%);
  border-color: var(--line);
  border-radius: 1rem;
  border-width: 1px;
  display: inline-flex;
  flex-direction: column;
  min-width: 120px;
  padding: 0.75rem 1rem;
}

.admin-banner-stat-label {
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.admin-banner-stat-value {
  color: var(--text-main);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.5rem;
  margin-top: 0.25rem;
}

@keyframes base-banner-bubbles-a {
  0%, to {
    transform: translateZ(0)
  }

  25% {
    transform: translate3d(-10px, 8px, 0)
  }

  50% {
    transform: translate3d(12px, -10px, 0)
  }

  75% {
    transform: translate3d(-6px, 12px, 0)
  }
}

@keyframes base-banner-bubbles-b {
  0%, to {
    transform: translateZ(0)
  }

  33% {
    transform: translate3d(8px, -8px, 0)
  }

  66% {
    transform: translate3d(-10px, 10px, 0)
  }
}

@keyframes base-banner-icon-orbit {
  0%, to {
    opacity: .45;
    transform: translateZ(0)
  }

  50% {
    opacity: .72;
    transform: translate3d(0, -6px, 0)
  }
}

.d-license-info {
  border-radius: 26px;
  border-width: 1px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
  overflow: hidden;
  padding: 1.5rem;
  position: relative;
  background: radial-gradient(138% 72% at 50% -24%, color-mix(in srgb, var(--primary) 16%, #fff8fb 84%) 0, color-mix(in srgb, var(--primary) 7%, transparent 93%) 26%, transparent 56%), radial-gradient(18% 30% at 0 0, color-mix(in srgb, var(--primary) 8%, transparent 92%) 0, transparent 84%), radial-gradient(18% 30% at 100% 0, color-mix(in srgb, var(--primary) 10%, transparent 90%) 0, transparent 86%), linear-gradient(180deg, #fffdfd 0, #f8f5f9 26%, #eef2fb 100%);
  border-color: var(--line);
  box-shadow: inset 0 1px 0 hsla(0, 0%, 100%, 0.88), 0 16px 34px rgba(15, 23, 42, 0.08);
}

.d-license-info:after, .d-license-info:before {
  content: none;
}

.d-license-bubble {
  display: none;
}

.d-license-bubble.b1 {
  height: 6rem;
  left: -2.5rem;
  top: 1.5rem;
  width: 6rem;
}

.d-license-bubble.b2 {
  height: 8rem;
  right: 2.5rem;
  top: 2.5rem;
  width: 8rem;
}

.d-license-bubble.b3 {
  bottom: 0;
  height: 5rem;
  left: 33.333333%;
  width: 5rem;
}

.d-license-main {
  align-items: center;
  display: flex;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.d-license-decor {
  bottom: 14px;
  pointer-events: none;
  position: absolute;
  right: 22px;
  top: 14px;
  width: min(34%, 360px);
  z-index: 0;
}

.d-license-decor:after, .d-license-decor:before {
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.d-license-decor:before {
  background: radial-gradient(60% 88% at 94% 8%, color-mix(in srgb, var(--primary) 8%, transparent 92%) 0, transparent 76%), radial-gradient(36% 54% at 62% 82%, color-mix(in srgb, var(--primary) 4%, transparent 96%) 0, transparent 74%);
  filter: blur(14px);
  opacity: 0.72;
}

.d-license-decor:after {
  background: radial-gradient(circle at 88% 18%, rgba(148, 163, 184, 0.26) 0 2px, transparent 2.6px), radial-gradient(circle at 78% 54%, rgba(148, 163, 184, 0.22) 0 1.8px, transparent 2.4px), radial-gradient(circle at 66% 30%, rgba(148, 163, 184, 0.18) 0 1.7px, transparent 2.3px), radial-gradient(circle at 54% 72%, rgba(148, 163, 184, 0.16) 0 1.6px, transparent 2.2px);
  opacity: 0.42;
}

.d-license-decor-icon {
  align-items: center;
  animation: base-banner-icon-orbit 10s ease-in-out infinite;
  color: color-mix(in srgb, var(--primary) 34%, #94a3b8 66%);
  display: inline-flex;
  font-size: 14px;
  justify-content: center;
  line-height: 1;
  opacity: 0.46;
  position: absolute;
}

.d-license-decor-icon.i1 {
  animation-delay: -1.4s;
  left: 26px;
  top: 8px;
}

.d-license-decor-icon.i2 {
  animation-delay: -4.2s;
  right: 38px;
  top: 18px;
}

.d-license-decor-icon.i3 {
  animation-delay: -2.3s;
  left: 132px;
  top: 54px;
}

.d-license-decor-icon.i4 {
  animation-delay: -5.4s;
  right: 116px;
  top: 12px;
}

.d-license-decor-icon.i5 {
  animation-delay: -3.2s;
  right: 74px;
  top: 96px;
}

.d-license-decor-icon.i6 {
  animation-delay: -6.1s;
  left: 184px;
  top: 108px;
}

.d-license-decor-icon.i7 {
  animation-delay: -2.9s;
  left: 82px;
  top: 76px;
}

.d-license-decor-icon.i8 {
  animation-delay: -4.8s;
  right: 152px;
  top: 46px;
}

.d-license-icon, .modal-shell-head-icon, .rp-stat-icon {
  align-items: center;
  background: var(--primary-soft);
  border-radius: 1rem;
  color: var(--primary);
  display: flex;
  font-size: 1.125rem;
  font-weight: 600;
  height: 3.5rem;
  justify-content: center;
  line-height: 1.75rem;
  width: 3.5rem;
}

.rc-blue {
  background: rgba(59, 130, 246, 0.14);
  color: #2563eb;
}

.rc-purple {
  background: rgba(139, 92, 246, 0.14);
  color: #7c3aed;
}

.rc-green {
  background: rgba(22, 163, 74, 0.14);
  color: #16a34a;
}

.rc-orange {
  background: rgba(249, 115, 22, 0.14);
  color: #ea580c;
}

.d-license-kicker {
  color: color-mix(in srgb, var(--primary) 62%, #64748b 38%);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1rem;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
}

.d-li-text {
  color: #1e293b;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25rem;
}

.d-license-info > .base-badge {
  position: relative;
  z-index: 1;
}

.d-grid-cards, .d-tables-grid, .t-grid {
  display: grid;
  gap: 1.25rem;
}

.d-grid-cards {
  grid-template-columns: repeat(1, minmax(0, 1fr));
  margin-bottom: 1.5rem;
}

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

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

.exams-banner-proxy, .trainings-banner-proxy {
  display: none;
}

.e-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.e-card {
  background: radial-gradient(circle at 100% 0, color-mix(in srgb, var(--primary) 5%, transparent 95%) 0, transparent 24%), linear-gradient(180deg, color-mix(in srgb, var(--surface) 94%, #fff 6%) 0, color-mix(in srgb, var(--surface-soft) 98%, #fff 2%) 100%);
  border-color: var(--line);
  border-radius: 26px;
  border-width: 1px;
  box-shadow: 0 24px 48px -32px rgba(15, 23, 42, 0.22);
  overflow: hidden;
  padding: 0;
  position: relative;
}

.e-header {
  align-items: flex-start;
  border-bottom-width: 1px;
  border-color: var(--line);
  gap: 1rem;
  padding: 1.25rem 1.25rem 1rem;
}

.e-header, .e-icon-box {
  display: flex;
}

.e-icon-box {
  align-items: center;
  background: color-mix(in srgb, var(--primary) 8%, #fff 92%);
  border-color: var(--line);
  border-radius: 1rem;
  border-width: 1px;
  color: var(--primary);
  flex-shrink: 0;
  font-size: 1rem;
  height: 3rem;
  justify-content: center;
  line-height: 1.5rem;
  width: 3rem;
}

.e-title-box {
  flex: 1 1 0%;
  min-width: 0;
}

.e-title-box > :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));
}

.e-title {
  color: var(--text-main);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 0;
}

.e-desc {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.5rem;
  margin: 0;
}

.e-stats {
  background: color-mix(in srgb, var(--primary) 3%, var(--surface-soft) 97%);
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 0.5rem;
  padding: 1rem 1.25rem;
}

.e-stat-item {
  background: color-mix(in srgb, var(--surface) 95%, #fff 5%);
  border-color: var(--line);
  border-radius: 18px;
  border-width: 1px;
  padding: 0.75rem 1rem;
  text-align: center;
}

.e-stat-val {
  display: block;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.75rem;
}

.ue-note.e-stat-val {
  background: rgba(220, 38, 38, 0.08);
  border-color: rgba(220, 38, 38, 0.2);
  color: #b91c1c;
}

.e-stat-val {
  color: var(--text-main);
}

.e-stat-lbl {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  margin-top: 0.25rem;
  text-transform: uppercase;
}

.ue-note.e-stat-lbl {
  background: rgba(220, 38, 38, 0.08);
  border-color: rgba(220, 38, 38, 0.2);
  color: #b91c1c;
}

.e-stat-lbl {
  color: var(--text-muted);
}

.e-actions {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: 1rem 1.25rem 1.25rem;
}

.e-actions, .e-date {
  align-items: center;
}

.e-date {
  color: var(--text-muted);
  display: inline-flex;
  font-size: 0.875rem;
  font-weight: 500;
  gap: 0.5rem;
  line-height: 1.25rem;
}

.e-date:before {
  content: "";
  font-family: Font Awesome\ 6 Free;
  font-size: 12px;
  font-weight: 900;
}

.e-btns {
  align-items: center;
  display: flex;
  gap: 0.5rem;
}

.t-handle, .t-img-top {
  cursor: grab;
}

.t-card, .t-handle, .t-img-top, .t-section-item {
  -moz-user-select: none;
  user-select: none;
  -webkit-user-select: none;
}

.t-sort-chosen .t-handle, .t-sort-chosen .t-img-top, .t-sort-drag .t-handle, .t-sort-drag .t-img-top {
  cursor: grabbing;
}

.t-sort-ghost {
  opacity: 0.42;
}

.t-sort-chosen {
  transform: scale(0.992);
}

.rp-stat-card {
  align-items: center;
  background: radial-gradient(circle at 50% 0, color-mix(in srgb, var(--primary) 10%, transparent 90%) 0, transparent 34%), radial-gradient(circle at 100% 100%, color-mix(in srgb, var(--primary) 4%, transparent 96%) 0, transparent 30%), linear-gradient(180deg, color-mix(in srgb, var(--surface) 98%, #fff 2%) 0, color-mix(in srgb, var(--surface-soft) 99%, #fff 1%) 100%);
  border-color: var(--line);
  border-radius: 28px;
  border-width: 1px;
  box-shadow: inset 0 1px 0 hsla(0, 0%, 100%, 0.82), 0 24px 48px -34px rgba(15, 23, 42, 0.18);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  min-height: 196px;
  overflow: hidden;
  padding: 1.75rem;
  position: relative;
  text-align: center;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.rp-stat-card:before {
  background: linear-gradient(180deg, hsla(0, 0%, 100%, 0.46), hsla(0, 0%, 100%, 0) 28%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.rp-stat-card:hover {
  box-shadow: inset 0 1px 0 hsla(0, 0%, 100%, 0.9), 0 28px 56px -34px rgba(15, 23, 42, 0.24);
  transform: translatey(-3px);
}

.rp-stat-label {
  color: color-mix(in srgb, var(--primary) 42%, var(--text-muted) 58%);
  font-size: 12px;
  letter-spacing: 0.18em;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.rp-stat-info h3, .rp-stat-label {
  font-weight: 600;
}

.rp-stat-info h3 {
  color: var(--text-main);
  font-size: 58px;
  letter-spacing: -0.06em;
  line-height: 1;
  margin: 0;
}

.rp-stat-mini {
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.75rem;
  margin-top: 0.75rem;
}

.rp-stat-info {
  align-items: center;
  display: flex;
  flex-direction: column;
}

.rp-stat-icon, .rp-stat-info {
  position: relative;
  z-index: 1;
}

.rp-stat-icon {
  border-radius: 18px;
  box-shadow: inset 0 1px 0 hsla(0, 0%, 100%, 0.65), 0 14px 26px -18px rgba(15, 23, 42, 0.24);
  font-size: 20px;
  height: 3.5rem;
  width: 3.5rem;
}

.d-panel, .base-card {
  padding: 1.25rem;
}

.d-panel-header, .modal-header {
  align-items: flex-start;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.d-title {
  color: var(--text-main);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5rem;
}

.base-title-icon-indigo, .base-title-icon-success {
  margin-right: 0.5rem;
}

thead th {
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1rem;
  padding: 0.75rem 1rem;
  text-transform: uppercase;
}

tbody td, thead th {
  border-bottom-width: 1px;
  border-color: var(--line);
}

tbody td {
  color: var(--text-main);
  font-size: 0.875rem;
  line-height: 1.25rem;
  padding: 1rem;
}

tbody tr:last-child td {
  border-bottom-width: 0;
}

tbody tr:hover td {
  background: color-mix(in srgb, var(--primary) 4%, var(--surface) 96%);
}

.base-empty-cell-padded {
  font-size: 0.875rem;
  line-height: 1.25rem;
  padding: 2.5rem 1rem;
  text-align: center;
}

.base-time-strong {
  color: var(--text-main);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.25rem;
}

.t-card {
  padding: 0;
}

.t-card, .t-img-top {
  overflow: hidden;
}

.t-img-top {
  aspect-ratio: 16/10;
  background: var(--surface-soft);
  position: relative;
  touch-action: none;
  -moz-user-select: none;
  user-select: none;
  -webkit-user-select: none;
}

.t-cover-media, .base-upload-preview {
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  width: 100%;
}

.t-img-overlay {
  background: linear-gradient(180deg, transparent, rgba(15, 23, 42, 0.44));
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.t-img-top > .base-badge {
  background: color-mix(in srgb, var(--primary) 70%, transparent 30%);
  border: 1px solid color-mix(in srgb, var(--primary) 46%, transparent 54%);
  box-shadow: 0 14px 26px -16px color-mix(in srgb, var(--primary) 58%, transparent 42%);
  color: #f8fafc;
  display: inline-flex;
  left: 1rem;
  letter-spacing: 0.1em;
  padding-left: 0.62rem;
  padding-right: 0.72rem;
  text-shadow: 0 1px 1px rgba(2, 6, 23, 0.28);
}

.t-img-top > .base-badge .t-handle {
  color: #e2e8f0;
}

.t-img-top > .base-badge .card-count {
  color: #ffffff;
  font-weight: 700;
}

.t-actions, .t-img-top > .base-badge {
  align-items: center;
  gap: 0.5rem;
  position: absolute;
  top: 1rem;
  z-index: 10;
}

.t-actions {
  display: flex;
  right: 1rem;
}

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

.t-body {
  padding: 1.25rem;
}

.t-title {
  color: var(--text-main);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.75rem;
  margin: 0;
}

.t-desc {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.5rem;
  margin: 0;
}

.t-footer, .base-row-inline-wrap {
  align-items: center;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.875rem;
  gap: 0.75rem;
  justify-content: space-between;
  line-height: 1.25rem;
}

.t-dropzone, .base-modal-upload {
  align-items: center;
  background: color-mix(in srgb, var(--primary) 4%, var(--surface-soft) 96%);
  border-color: var(--primary-line);
  border-radius: 24px;
  border-style: dashed;
  border-width: 1px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  justify-content: center;
  min-height: 180px;
  padding: 1.5rem;
  position: relative;
  text-align: center;
  transition-duration: 0.15s;
  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);
}

.t-dropzone:hover, .base-modal-upload:hover {
  background: color-mix(in srgb, var(--primary) 8%, var(--surface-soft) 92%);
}

.t-dropzone-settings-copy {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.t-dropzone-settings-icon {
  color: var(--primary);
  font-size: 1.875rem;
  line-height: 2.25rem;
}

.t-dropzone-settings-title {
  color: var(--text-main);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.25rem;
}

.base-upload-input {
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: absolute;
}

.glass-input, .base-field-soft {
  background: var(--surface-soft);
}

#pg-user-dashboard, #pg-user-exams, #pg-user-profile, #pg-user-statistics, #pg-user-trainings {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

#pg-user-exam-take {
  margin-left: auto;
  margin-right: auto;
  max-width: 1080px;
  width: 100%;
}

#pg-user-dashboard .welcome-surface {
  background: radial-gradient(circle at 14% 18%, color-mix(in srgb, var(--primary) 10%, transparent 90%) 0, transparent 22%), radial-gradient(circle at 84% 22%, color-mix(in srgb, var(--primary) 9%, transparent 91%) 0, transparent 20%), linear-gradient(180deg, color-mix(in srgb, var(--surface) 96%, #fff 4%) 0, color-mix(in srgb, var(--surface-soft) 98%, #fff 2%) 100%);
  border-color: var(--line);
  border-radius: 28px;
  border-width: 1px;
  overflow: hidden;
  padding: 2rem 1.75rem;
  position: relative;
}

#pg-user-dashboard .welcome-orb {
  background: color-mix(in srgb, var(--primary) 12%, transparent 88%);
  border-radius: 9999px;
  filter: blur(10px);
  opacity: 0.9;
  pointer-events: none;
  position: absolute;
}

#pg-user-dashboard .welcome-orb.o1 {
  height: 120px;
  right: 12%;
  top: -34px;
  width: 120px;
}

#pg-user-dashboard .welcome-orb.o2 {
  bottom: -18px;
  height: 88px;
  left: 28%;
  width: 88px;
}

#pg-user-dashboard .welcome-orb.o3 {
  height: 54px;
  right: 8%;
  top: 32px;
  width: 54px;
}

#pg-user-dashboard .welcome-copy {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
  z-index: 1;
}

#pg-user-dashboard .welcome-title {
  color: var(--text-main);
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1;
}

#pg-user-dashboard .welcome-text {
  color: var(--text-muted);
  font-size: 17px;
  line-height: 2rem;
  max-width: 780px;
}

#pg-user-dashboard .stats-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

#pg-user-dashboard .stat-card-modern {
  align-items: center;
  background: radial-gradient(circle at 100% 0, color-mix(in srgb, var(--primary) 5%, transparent 95%) 0, transparent 24%), linear-gradient(180deg, color-mix(in srgb, var(--surface) 97%, #fff 3%) 0, color-mix(in srgb, var(--surface-soft) 99%, #fff 1%) 100%);
  border-color: var(--line);
  border-radius: 24px;
  border-width: 1px;
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
}

#pg-user-dashboard .stat-card-modern .stat-icon-box {
  align-items: center;
  background: color-mix(in srgb, var(--primary) 9%, #fff 91%);
  border-color: var(--line);
  border-radius: 1rem;
  border-width: 1px;
  color: var(--primary);
  display: flex;
  flex-shrink: 0;
  font-size: 1.25rem;
  height: 4rem;
  justify-content: center;
  line-height: 1.75rem;
  width: 4rem;
}

#pg-user-dashboard .stat-card-modern.tone-blue .stat-icon-box {
  background: rgba(59, 130, 246, 0.12);
  border-color: rgba(59, 130, 246, 0.22);
  color: #2563eb;
}

#pg-user-dashboard .stat-card-modern.tone-amber .stat-icon-box {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.22);
  color: #d97706;
}

#pg-user-dashboard .stat-card-modern.tone-cyan .stat-icon-box {
  background: rgba(6, 182, 212, 0.12);
  border-color: rgba(6, 182, 212, 0.22);
  color: #0891b2;
}

#pg-user-dashboard .stat-info {
  flex: 1 1 0%;
  min-width: 0;
}

#pg-user-dashboard .stat-info h4 {
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.25rem;
  text-transform: uppercase;
}

#pg-user-dashboard .stat-info .value {
  color: var(--text-main);
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1;
  margin-top: 0.5rem;
}

#pg-user-dashboard .stat-info .stat-meta {
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5rem;
  margin-top: 0.5rem;
}

.section-head {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
}

.section-title {
  color: var(--text-main);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.2;
  margin: 0;
}

.section-note {
  align-items: center;
  background: color-mix(in srgb, var(--primary) 8%, #fff 92%);
  border: 1px solid var(--line);
  border-radius: 9999px;
  color: color-mix(in srgb, var(--primary) 72%, #16335c 28%);
  display: inline-flex;
  font-size: 0.75rem;
  font-weight: 600;
  gap: 0.375rem;
  letter-spacing: 0.12em;
  line-height: 1rem;
  padding: 0.4rem 0.75rem;
  text-transform: uppercase;
}

.courses-grid-modern {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.course-card-modern {
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 97%, #fff 3%) 0, color-mix(in srgb, var(--surface-soft) 99%, #fff 1%) 100%);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow: hidden;
  padding: 0;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.course-card-modern:hover {
  border-color: var(--line);
  box-shadow: 0 20px 34px -26px rgba(15, 23, 42, 0.36);
  transform: translateY(-2px);
}

.course-card-modern.card-locked {
  opacity: 0.92;
}

.course-card-modern .card-thumb {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.course-card-modern .card-cover-media {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.course-card-modern .card-thumb > .base-badge {
  left: 12px;
  position: absolute;
  top: 12px;
  z-index: 2;
}

#pg-user-trainings .course-card-modern .base-badge,
#pg-user-dashboard .course-card-modern .base-badge {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.09em;
  line-height: 1.35;
  min-height: 30px;
  padding: 0.42rem 0.8rem;
}

.course-card-modern .card-thumb > .base-badge.training-status-badge {
  box-shadow: 0 10px 18px -14px rgba(15, 23, 42, 0.45);
  border-color: transparent;
}

.course-card-modern .card-thumb > .base-badge.training-status-badge.is-completed {
  background: rgba(22, 163, 74, 0.7);
  color: #f8fafc;
}

.course-card-modern .card-thumb > .base-badge.training-status-badge.is-in-progress {
  background: rgba(234, 88, 12, 0.7);
  color: #f8fafc;
}

.course-card-modern .card-thumb > .base-badge.training-status-badge.is-locked {
  background: rgba(107, 114, 128, 0.7);
  color: #f8fafc;
}

.course-card-modern.card-locked .card-cover-media {
  filter: grayscale(1) saturate(0.15) brightness(0.72);
  opacity: 0.85;
}

.course-card-modern .card-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem 1rem 1.1rem;
}

.course-card-modern .card-title {
  color: var(--text-main);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.35;
  margin: 0;
}

.course-card-modern .card-desc {
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
  overflow: hidden;
}

.course-card-modern .card-footer {
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.82rem;
  font-weight: 600;
  gap: 0.5rem;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 0.75rem;
}

.course-card-modern .card-footer > span {
  align-items: center;
  display: inline-flex;
  gap: 0.35rem;
}

.course-card-modern .cta-link {
  color: var(--primary);
  font-weight: 700;
}

.course-card-modern.card-locked .cta-link {
  color: #b91c1c;
}

.empty-state {
  align-items: center;
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 97%, #fff 3%) 0, color-mix(in srgb, var(--surface-soft) 99%, #fff 1%) 100%);
  border: 1px solid var(--line);
  border-radius: 24px;
  color: var(--text-main);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 2rem 1.2rem;
  text-align: center;
}

.empty-state .empty-icon {
  color: var(--primary);
  font-size: 1.65rem;
}

.empty-state h3 {
  font-size: 1.1rem;
  font-weight: 700;
}

.empty-state p {
  color: var(--text-muted);
  font-size: 0.92rem;
  max-width: 56ch;
}

.ue-head {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
}

.ue-head-title {
  color: var(--text-main);
  font-size: 28px;
  letter-spacing: -0.04em;
}

.ue-head-meta, .ue-head-title {
  font-weight: 600;
}

.ue-head-meta {
  align-items: center;
  background: color-mix(in srgb, var(--primary) 8%, #fff 92%);
  border-color: var(--line);
  border-radius: 9999px;
  border-width: 1px;
  color: color-mix(in srgb, var(--primary) 72%, #16335c 28%);
  display: inline-flex;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  line-height: 1rem;
  padding: 0.375rem 0.75rem;
  text-transform: uppercase;
}

.ue-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.ue-card {
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 97%, #fff 3%) 0, color-mix(in srgb, var(--surface-soft) 99%, #fff 1%) 100%);
  border-color: var(--line);
  border-radius: 24px;
  border-width: 1px;
  box-shadow: var(--shadow-soft);
  flex-direction: column;
  gap: 1rem;
  padding: 1.25rem;
}

.ue-card, .ue-top {
  display: flex;
}

.ue-top {
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
}

#pg-user-exams .ue-status-badge {
  background: rgba(148, 163, 184, 0.14);
  color: #475569;
}

#pg-user-exams .ue-status-badge.is-pending,
#pg-user-exams .ue-status-badge.is-training-required {
  background: rgba(148, 163, 184, 0.16);
  color: #475569;
}

#pg-user-exams .ue-status-badge.is-solved {
  background: rgba(22, 163, 74, 0.14);
  color: #166534;
}

#pg-user-exams .ue-status-badge.is-failed,
#pg-user-exams .ue-status-badge.is-blocked {
  background: rgba(220, 38, 38, 0.14);
  color: #b91c1c;
}

.ue-title {
  color: var(--text-main);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.ue-training {
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5rem;
  margin-top: 0.25rem;
}

.ue-stats {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ue-stat {
  background: color-mix(in srgb, var(--surface-soft) 97%, #fff 3%);
  border-color: var(--line);
  border-radius: 18px;
  border-width: 1px;
  padding: 0.75rem 1rem;
  text-align: center;
}

.ue-stat .v {
  display: block;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.75rem;
}

.ue-note.ue-stat .v {
  background: rgba(220, 38, 38, 0.08);
  border-color: rgba(220, 38, 38, 0.2);
  color: #b91c1c;
}

.ue-stat .v {
  color: var(--text-main);
}

.ue-stat .l {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  margin-top: 0.25rem;
  text-transform: uppercase;
}

.ue-note.ue-stat .l {
  background: rgba(220, 38, 38, 0.08);
  border-color: rgba(220, 38, 38, 0.2);
  color: #b91c1c;
}

.ue-desc, .ue-stat .l {
  color: var(--text-muted);
}

.ue-desc {
  font-size: 0.875rem;
  line-height: 1.75rem;
  margin: 0;
}

.ue-note {
  border-radius: 18px;
  border-width: 1px;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5rem;
  padding: 0.75rem 1rem;
}

.ue-note.pass {
  background: rgba(22, 163, 74, 0.08);
  border-color: rgba(22, 163, 74, 0.2);
  color: #166534;
}

.ue-note.limit {
  background: rgba(245, 158, 11, 0.08);
  border-color: rgba(245, 158, 11, 0.2);
  color: #b45309;
}

.ue-note.block {
  background: rgba(220, 38, 38, 0.08);
  border-color: rgba(220, 38, 38, 0.2);
  color: #b91c1c;
}

.ue-foot {
  align-items: center;
  border-color: var(--line);
  border-top-width: 1px;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  padding-top: 1rem;
}

.ue-date {
  color: var(--text-muted);
  display: inline-flex;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25rem;
}

.ue-actions, .ue-date {
  align-items: center;
  gap: 0.5rem;
}

.ue-actions {
  display: flex;
  flex-wrap: wrap;
}

.us-wrap {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.us-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.us-card {
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 97%, #fff 3%) 0, color-mix(in srgb, var(--surface-soft) 99%, #fff 1%) 100%);
  border-color: var(--line);
  border-radius: 24px;
  border-width: 1px;
  padding: 1.25rem;
}

.us-card-top {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.us-label, .us-mini-label {
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.us-icon, .us-panel-glyph {
  align-items: center;
  background: color-mix(in srgb, var(--primary) 8%, #fff 92%);
  border-radius: 1rem;
  color: var(--primary);
  display: flex;
  font-size: 1rem;
  height: 3rem;
  justify-content: center;
  line-height: 1.5rem;
  width: 3rem;
}

.us-icon.is-green {
  background: rgba(22, 163, 74, 0.12);
  color: #16a34a;
}

.us-icon.is-amber {
  background: rgba(245, 158, 11, 0.12);
  color: #d97706;
}

.us-icon.is-rose {
  background: rgba(244, 63, 94, 0.12);
  color: #e11d48;
}

.us-icon.is-slate {
  background: rgba(71, 85, 105, 0.12);
  color: #475569;
}

.us-panel-glyph.is-indigo {
  background: rgba(79, 70, 229, 0.12);
  color: #4f46e5;
}

.us-panel-glyph.is-slate {
  background: rgba(71, 85, 105, 0.12);
  color: #475569;
}

.us-val {
  color: var(--text-main);
  font-size: 38px;
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1;
  margin-top: 1rem;
}

.us-sub {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.5rem;
  margin-top: 0.5rem;
}

.us-panels {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.us-panel {
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 97%, #fff 3%) 0, color-mix(in srgb, var(--surface-soft) 99%, #fff 1%) 100%);
  border-color: var(--line);
  border-radius: 24px;
  border-width: 1px;
  box-shadow: var(--shadow-soft);
  padding: 1.25rem;
}

.us-panel-head {
  align-items: flex-start;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.us-panel-copy {
  display: flex;
  flex: 1 1 0%;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
}

.us-ph {
  color: var(--text-main);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.25;
}

.us-panel-desc {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.75rem;
}

.us-panel-body {
  gap: 1rem;
}

.us-metric, .us-panel-body {
  display: flex;
  flex-direction: column;
}

.us-metric {
  gap: 0.75rem;
}

.us-metric-top {
  align-items: center;
  color: var(--text-main);
  display: flex;
  font-size: 0.875rem;
  font-weight: 500;
  gap: 1rem;
  justify-content: space-between;
  line-height: 1.25rem;
}

.us-metric-top strong {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5rem;
}

.us-track {
  background: color-mix(in srgb, var(--primary) 8%, var(--surface-soft) 92%);
  border-radius: 9999px;
  height: 0.75rem;
  overflow: hidden;
  position: relative;
}

.us-fill {
  background: linear-gradient(90deg, color-mix(in srgb, var(--primary) 76%, #fff 24%) 0, var(--primary) 100%);
  border-radius: inherit;
  height: 100%;
  transition: width 0.28s ease;
  width: var(--us-progress, 0);
}

.us-fill.ok {
  background: linear-gradient(90deg, #22c55e, #16a34a);
}

.us-mini-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.us-mini-stat {
  background: color-mix(in srgb, var(--surface-soft) 97%, #fff 3%);
  border-color: var(--line);
  border-radius: 18px;
  border-width: 1px;
  padding: 0.75rem 1rem;
}

.us-mini-val {
  display: block;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.75rem;
  margin-top: 0.5rem;
}

.ue-note.us-mini-val {
  background: rgba(220, 38, 38, 0.08);
  border-color: rgba(220, 38, 38, 0.2);
  color: #b91c1c;
}

.us-mini-val {
  color: var(--text-main);
}

.us-panel-body-list {
  gap: 0.75rem;
}

.us-row {
  background: color-mix(in srgb, var(--surface-soft) 97%, #fff 3%);
  border-color: var(--line);
  border-radius: 18px;
  border-width: 1px;
  gap: 1rem;
  padding: 0.75rem 1rem;
}

.us-row, .us-row-marker {
  align-items: center;
  display: flex;
}

.us-row-marker {
  background: rgba(59, 130, 246, 0.12);
  border-radius: 1rem;
  color: #2563eb;
  flex-shrink: 0;
  font-size: 0.875rem;
  height: 2.5rem;
  justify-content: center;
  line-height: 1.25rem;
  width: 2.5rem;
}

.us-row-marker.is-done {
  background: rgba(22, 163, 74, 0.12);
  color: #16a34a;
}

.us-row-main {
  flex: 1 1 0%;
  min-width: 0;
}

.us-row-title {
  color: var(--text-main);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.us-row-date {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.25rem;
  margin-top: 0.25rem;
}

.up-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.up-card {
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 97%, #fff 3%) 0, color-mix(in srgb, var(--surface-soft) 99%, #fff 1%) 100%);
  border-color: var(--line);
  border-radius: 24px;
  border-width: 1px;
  box-shadow: var(--shadow-soft);
}

.up-head {
  border-bottom-width: 1px;
  border-color: var(--line);
  padding: 1.25rem;
}

.up-head-copy {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.up-title {
  color: var(--text-main);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.04em;
  margin: 0;
}

.up-desc, .up-note {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.6rem;
  margin: 0;
}

.up-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.25rem;
}

.up-details-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.up-row {
  align-items: flex-start;
  background: color-mix(in srgb, var(--surface-soft) 97%, #fff 3%);
  border-color: var(--line);
  border-radius: 18px;
  border-width: 1px;
  gap: 1rem;
  padding: 1rem;
}

.up-row, .up-row-icon {
  display: flex;
}

.up-row-icon {
  align-items: center;
  background: color-mix(in srgb, var(--primary) 10%, #fff 90%);
  border-radius: 1rem;
  color: var(--primary);
  flex-shrink: 0;
  font-size: 0.875rem;
  height: 2.75rem;
  justify-content: center;
  line-height: 1.25rem;
  width: 2.75rem;
}

.up-row-copy {
  flex: 1 1 0%;
  min-width: 0;
}

.up-l {
  color: var(--text-muted);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.up-l, .up-v {
  font-weight: 600;
}

.up-v {
  color: var(--text-main);
  font-size: 1rem;
  line-height: 1.5rem;
  margin-top: 0.5rem;
  overflow-wrap: break-word;
}

.up-input-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.up-input-wrap label {
  color: var(--text-main);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.25rem;
}

.up-input-icon {
  position: relative;
}

.up-input-icon > i {
  left: 1rem;
  pointer-events: none;
  position: absolute;
  top: 50%;
  --tw-translate-y: -50%;
  color: var(--text-muted);
  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));
  z-index: 2;
}

.up-input, .up-input-icon > i {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.up-input {
  background: color-mix(in srgb, var(--surface) 98%, #fff 2%);
  border-color: var(--line);
  border-radius: 1rem;
  border-width: 1px;
  box-shadow: inset 0 1px 0 hsla(0, 0%, 100%, 0.55);
  color: var(--text-main);
  min-height: 52px;
  padding-left: 3rem;
  padding-right: 1rem;
  width: 100%;
}

.up-input:focus {
  border-color: var(--line);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 8%, transparent 92%);
  outline: none;
}

#pg-user-profile .up-input-icon .pw-toggle-wrap {
  display: block;
  position: relative;
  width: 100%;
}

#pg-user-profile .up-input-icon .pw-toggle-wrap .pw-toggle-input,
#pg-user-profile .up-input-icon .pw-toggle-wrap .up-input {
  padding-left: 3rem;
  padding-right: 3.25rem;
}

#pg-user-profile .up-input-icon .pw-toggle-btn {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 12px;
  box-shadow: none;
  color: var(--text-muted);
  cursor: pointer;
  display: inline-flex;
  height: 32px;
  justify-content: center;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translatey(-50%);
  width: 32px;
  z-index: 3;
}

#pg-user-profile .up-input-icon .pw-toggle-btn:hover {
  background: color-mix(in srgb, var(--primary) 8%, transparent 92%);
  color: var(--text-main);
}

.pw-toggle-btn {
  line-height: 1;
  padding: 0;
}

.pw-toggle-btn > i {
  display: block;
  font-size: 14px;
  left: auto;
  line-height: 1;
  margin: 0;
  pointer-events: none;
  position: static;
  top: auto;
  transform: none;
}

.profile-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.5rem;
}

.modal, .base-modal {
  align-items: center;
  backdrop-filter: blur(12px);
  background: rgba(2, 6, 23, 0.56);
  display: none;
  inset: 0;
  justify-content: center;
  opacity: 0;
  padding: 1rem;
  pointer-events: none;
  position: fixed;
  transition: opacity 0.22s ease, visibility 0.22s ease;
  visibility: hidden;
  z-index: 50;
}

.modal.active, .modal.is-visible, .modal.show, .base-modal.active, .base-modal.is-visible, .base-modal.show {
  display: flex;
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.modal:not(.active):not(.show):not(.is-visible), .base-modal:not(.active):not(.show):not(.is-visible) {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

.panel-delete-overlay {
  align-items: center;
  backdrop-filter: blur(10px);
  background: rgba(2, 6, 23, 0.7);
  display: none;
  inset: 0;
  justify-content: center;
  opacity: 0;
  padding: 1rem;
  pointer-events: none;
  position: fixed;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  visibility: hidden;
  z-index: 1400;
}

.panel-delete-overlay.is-visible {
  display: flex;
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.panel-delete-card {
  background: radial-gradient(circle at 100% 0, color-mix(in srgb, var(--primary) 7%, transparent 93%) 0, transparent 24%), linear-gradient(180deg, var(--surface) 0, color-mix(in srgb, var(--surface-soft) 88%, #fff 12%) 100%);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: 0 26px 72px rgba(2, 6, 23, 0.32), inset 0 1px 0 hsla(0, 0%, 100%, 0.06);
  max-width: min(560px, calc(100vw - 32px));
  overflow: hidden;
  width: 100%;
}

.panel-delete-card.is-animated {
  animation: panel-delete-pop 0.22s ease;
}

@keyframes panel-delete-pop {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.panel-delete-body {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem 1.5rem 1.25rem;
  text-align: center;
}

.panel-delete-illustration {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  display: inline-flex;
  flex: 0 0 auto;
  height: auto;
  justify-content: center;
  padding: 0;
  width: auto;
}

.panel-delete-illustration-check {
  background: transparent;
  border-color: transparent;
}

.panel-delete-illustration-warning {
  background: transparent;
  border-color: transparent;
}

.panel-delete-illustration-question {
  background: transparent;
  border-color: transparent;
}

.panel-delete-icon {
  display: block;
  height: 78px;
  overflow: visible;
  width: 78px;
}

.panel-delete-stroke {
  fill: none;
  stroke: color-mix(in srgb, var(--danger) 74%, #f87171 26%);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.8;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transform-box: fill-box;
  transform-origin: center;
}

.panel-delete-ring {
  opacity: 0.96;
}

.panel-delete-symbol {
  opacity: 0.98;
}

.panel-delete-dot {
  fill: color-mix(in srgb, var(--danger) 74%, #f87171 26%);
  opacity: 0;
  transform: scale(0.55);
  transform-box: fill-box;
  transform-origin: center;
}

.panel-delete-icon-check .panel-delete-stroke,
.panel-delete-illustration.is-trm-check .panel-delete-stroke {
  stroke: color-mix(in srgb, var(--success) 72%, #86efac 28%);
}

.panel-delete-icon-check .panel-delete-dot,
.panel-delete-illustration.is-trm-check .panel-delete-dot {
  fill: color-mix(in srgb, var(--success) 72%, #86efac 28%);
}

.panel-delete-icon-warning .panel-delete-stroke {
  stroke: color-mix(in srgb, #f59e0b 74%, #fde68a 26%);
}

.panel-delete-icon-warning .panel-delete-dot {
  fill: color-mix(in srgb, #f59e0b 74%, #fde68a 26%);
}

.panel-delete-icon-question .panel-delete-stroke {
  stroke: color-mix(in srgb, var(--primary) 72%, #93c5fd 28%);
}

.panel-delete-icon-question .panel-delete-dot {
  fill: color-mix(in srgb, var(--primary) 72%, #93c5fd 28%);
}

.panel-delete-overlay.is-visible .panel-delete-ring,
#trainingReplayModal.show .panel-delete-ring {
  animation: panel-delete-ring-draw 0.84s cubic-bezier(0.19, 0.9, 0.24, 1) forwards;
}

.panel-delete-overlay.is-visible .panel-delete-symbol,
#trainingReplayModal.show .panel-delete-symbol {
  animation: panel-delete-icon-draw 0.72s cubic-bezier(0.19, 0.9, 0.24, 1) 0.26s forwards;
}

.panel-delete-symbol-delay-1 {
  animation-delay: 0.38s !important;
}

.panel-delete-symbol-delay-2 {
  animation-delay: 0.5s !important;
}

.panel-delete-symbol-delay-3 {
  animation-delay: 0.62s !important;
}

.panel-delete-overlay.is-visible .panel-delete-dot,
#trainingReplayModal.show .panel-delete-dot {
  animation: panel-delete-dot-in 0.34s ease 0.74s forwards;
}

@keyframes panel-delete-ring-draw {
  from {
    stroke-dashoffset: 1;
  }

  to {
    stroke-dashoffset: 0;
  }
}

@keyframes panel-delete-icon-draw {
  from {
    stroke-dashoffset: 1;
  }

  to {
    stroke-dashoffset: 0;
  }
}

@keyframes panel-delete-dot-in {
  from {
    opacity: 0;
    transform: scale(0.55);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.panel-delete-copy {
  max-width: 100%;
}

.panel-delete-title {
  color: var(--text-main);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin: 0;
}

.panel-delete-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0.45rem 0 0;
}

.panel-delete-actions {
  align-items: center;
  background: transparent;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  padding: 1rem 1.25rem 1.2rem;
}

.panel-delete-actions .base-button {
  min-height: 42px;
  min-width: 110px;
}

.panel-delete-actions.trm-single-action {
  justify-content: center;
}

.trm-check-illustration {
  background: transparent;
  border-color: transparent;
}

.panel-delete-illustration.is-trm-check {
  height: auto;
  width: auto;
}

body.delete-dialog-open {
  overflow: hidden;
}

.modal-content, .modal-shell {
  animation: base-modal-pop 0.22s ease;
  background: radial-gradient(circle at 100% 0, color-mix(in srgb, var(--primary) 6%, transparent 94%) 0, transparent 22%), linear-gradient(180deg, var(--surface) 0, color-mix(in srgb, var(--surface-soft) 86%, #fff 14%) 100%);
  border-color: var(--line);
  border-radius: 28px;
  border-width: 1px;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.18), inset 0 1px 0 hsla(0, 0%, 100%, 0.72);
  display: flex;
  flex-direction: column;
  max-height: min(calc(100vh - 32px), 880px);
  max-width: min(572px, calc(100vw - 32px));
  overflow: hidden;
  overscroll-behavior: contain;
  padding: 0;
  position: relative;
  width: 100%;
}

.modal-content.modal-shell, .modal-content.base-card, .modal-shell.base-card {
  padding: 0;
}

.base-modal-tight {
  max-width: min(412px, calc(100vw - 32px));
}

.base-modal-medium, .base-modal-narrow {
  max-width: min(572px, calc(100vw - 32px));
}

.base-modal-wide {
  max-width: min(668px, calc(100vw - 32px));
}

.base-modal-large {
  max-width: min(796px, calc(100vw - 32px));
}

.modal-shell-compact {
  max-width: min(476px, calc(100vw - 32px));
}

.modal-shell-confirm {
  max-width: min(412px, calc(100vw - 32px));
}

.modal-header {
  border-bottom: 1px solid var(--line);
  justify-content: space-between;
  margin-bottom: 0;
  padding: 1.5rem 1.5rem 1.25rem;
}

.modal-header, .modal-shell-head {
  align-items: center;
  display: flex;
  gap: 1rem;
  position: relative;
}

.modal-shell-head {
  z-index: 1;
}

.modal-shell-copy {
  flex: 1 1 0%;
}

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

.modal-shell-head-icon {
  align-items: center;
  background: color-mix(in srgb, var(--primary) 10%, #fff 90%);
  border: 1px solid var(--line);
  border-radius: 1rem;
  box-shadow: inset 0 1px 0 hsla(0, 0%, 100%, 0.76);
  color: var(--primary);
  display: flex;
  font-size: 1rem;
  height: 3rem;
  justify-content: center;
  line-height: 1.5rem;
  position: relative;
  width: 3rem;
  z-index: 1;
}

.modal-shell-head-icon, .modal-title {
  font-weight: 600;
}

.modal-title {
  color: var(--text-main);
  font-size: 22px;
  letter-spacing: -0.03em;
  margin: 0;
}

.modal-close {
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.modal-header-decor {
  bottom: 10px;
  pointer-events: none;
  position: absolute;
  right: 74px;
  top: 14px;
  width: min(34%, 220px);
  z-index: 0;
}

.modal-header-decor:after, .modal-header-decor:before {
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.modal-header-decor:before {
  background: radial-gradient(56% 80% at 90% 8%, color-mix(in srgb, var(--primary) 10%, transparent 90%) 0, transparent 78%), radial-gradient(34% 48% at 58% 82%, color-mix(in srgb, var(--primary) 4%, transparent 96%) 0, transparent 74%);
  filter: blur(12px);
  opacity: 0.8;
}

.modal-header-decor:after {
  background: radial-gradient(circle at 88% 18%, rgba(148, 163, 184, 0.24) 0 2px, transparent 2.6px), radial-gradient(circle at 72% 54%, rgba(148, 163, 184, 0.18) 0 1.8px, transparent 2.4px), radial-gradient(circle at 56% 30%, rgba(148, 163, 184, 0.14) 0 1.7px, transparent 2.3px);
  opacity: 0.42;
}

.modal-header-decor-icon {
  align-items: center;
  animation: base-banner-icon-orbit 10s ease-in-out infinite;
  color: color-mix(in srgb, var(--primary) 32%, #94a3b8 68%);
  display: inline-flex;
  font-size: 13px;
  justify-content: center;
  line-height: 1;
  opacity: 0.5;
  position: absolute;
}

.modal-header-decor-icon.decor-1 {
  animation-delay: -1.2s;
  left: 18px;
  top: 6px;
}

.modal-header-decor-icon.decor-2 {
  animation-delay: -3.4s;
  right: 18px;
  top: 16px;
}

.modal-header-decor-icon.decor-3 {
  animation-delay: -2.2s;
  left: 82px;
  top: 48px;
}

.modal-header-decor-icon.decor-4 {
  animation-delay: -4.6s;
  right: 70px;
  top: 26px;
}

.modal-header-decor-icon.decor-5 {
  animation-delay: -5.1s;
  right: 122px;
  top: 56px;
}

.support-mail-fab {
  align-items: center;
  background: linear-gradient(135deg, var(--primary) 0, var(--primary-dark) 100%);
  background-size: 180% 180%;
  border: 1px solid color-mix(in srgb, var(--primary) 26%, #fff 74%);
  border-radius: 14px;
  bottom: 18px;
  box-shadow: 0 14px 32px color-mix(in srgb, var(--primary) 28%, transparent 72%);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-size: 0.88rem;
  font-weight: 600;
  gap: 0.55rem;
  min-height: 42px;
  overflow: visible;
  padding: 0 0.95rem;
  position: fixed;
  right: 18px;
  isolation: isolate;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  animation: supportFabGradientFlow 3.4s ease-in-out infinite;
  z-index: 1220;
}

.support-mail-fab:hover {
  box-shadow: 0 16px 34px color-mix(in srgb, var(--primary) 34%, transparent 66%);
  transform: translateY(-1px);
}

.support-mail-fab > i {
  font-size: 0.95rem;
  animation: supportFabIconPulse 1.9s ease-in-out infinite;
}

.support-mail-fab::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 18px;
  border: 1px solid color-mix(in srgb, var(--primary) 38%, transparent 62%);
  opacity: 0;
  transform: scale(0.96);
  animation: supportFabWave 2s cubic-bezier(0.2, 0.68, 0.32, 1) infinite;
  pointer-events: none;
  z-index: -1;
}

body.modal-open .support-mail-fab {
  opacity: 0;
  pointer-events: none;
}

@keyframes supportFabGradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes supportFabIconPulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-1.5px); }
}

@keyframes supportFabWave {
  0% {
    opacity: 0;
    transform: scale(0.96);
  }
  16% {
    opacity: 0.52;
  }
  100% {
    opacity: 0;
    transform: scale(1.2);
  }
}

@media (prefers-reduced-motion: reduce) {
  .support-mail-fab,
  .support-mail-fab > i,
  .support-mail-fab::after {
    animation: none !important;
  }
}

.support-mail-modal {
  z-index: 1450;
}

.support-mail-card {
  max-width: min(640px, calc(100vw - 28px));
  overflow: hidden;
  width: 100%;
}

.support-mail-body {
  padding-top: 1rem;
}

.support-mail-modal .modal-shell-copy > p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0.12rem 0 0;
}

.support-mail-address {
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  display: grid;
  gap: 0.4rem;
  padding: 0.8rem 0.95rem;
}

.support-mail-address-label {
  color: var(--text-muted);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.support-mail-address-value {
  color: var(--text-main);
  font-size: 1.06rem;
  font-weight: 700;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.support-mail-label {
  color: var(--text-main);
  display: block;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  margin: 0.1rem 0 0.2rem;
}

.support-mail-input {
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.support-mail-input:focus {
  border-color: color-mix(in srgb, var(--primary) 48%, var(--line) 52%);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 18%, transparent 82%);
}

.support-mail-textarea {
  min-height: 148px;
  resize: vertical;
}

@media (max-width: 991.98px) {
  .support-mail-fab {
    bottom: 12px;
    min-height: 40px;
    padding: 0 0.8rem;
    right: 12px;
  }
}

.modal-shell-body > :not([hidden]) ~ :not([hidden]), .base-modal-form > :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));
}

.modal-shell-body {
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-top: 1.25rem;
  padding-bottom: 1.5rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.modal-shell-detail #udContainer {
  padding-top: 1rem;
}

.base-modal-form {
  overflow: visible;
}

.base-modal-grid {
  display: grid;
  gap: 1rem;
}

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

#userModal .modal-shell {
  max-width: min(820px, calc(100vw - 32px));
}

#userModal .modal-shell-body > :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));
}

#trainingModal .modal-shell-body {
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
}

#userModal .base-modal-grid-2 {
  align-items: flex-start;
  gap: 1.25rem;
}

#userModal .base-modal-field > :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));
}

#userModal .glass-input {
  min-height: 48px;
}

#userModal select.glass-input {
  line-height: 1.25;
}

#userModal .base-modal-subcard {
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 90%, #fff 10%) 0, color-mix(in srgb, var(--surface-soft) 96%, #fff 4%) 100%);
  border-color: var(--line);
  box-shadow: inset 0 1px 0 hsla(0, 0%, 100%, 0.72);
  padding: 1.25rem;
}

.u-pass-group {
  align-items: center;
  display: flex;
  gap: 0.75rem;
}

.u-pass-group .glass-input {
  flex: 1 1 0%;
}

#examModal .modal-shell {
  max-width: min(865px, calc(100vw - 32px));
}

#examModal .modal-shell-body > :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));
}

#examModal .modal-shell-body {
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
}

#examModal .base-modal-section {
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 92%, #fff 8%) 0, color-mix(in srgb, var(--surface-soft) 97%, #fff 3%) 100%);
  border-color: var(--line);
  padding: 1.25rem;
}

#questionsWrapper > :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));
}

.base-modal-question {
  background: color-mix(in srgb, var(--surface) 94%, #fff 6%);
  border-color: var(--line);
  box-shadow: 0 16px 34px -26px rgba(15, 23, 42, 0.2);
  padding: 1.25rem;
}

.base-modal-question-head {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.base-modal-question-title {
  color: var(--text-main);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.75rem;
}

.base-modal-question > textarea.glass-input {
  line-height: 1.65;
  min-height: 112px;
  resize: vertical;
}

.base-modal-question-options {
  margin-top: 1rem;
}

.base-modal-question-options > :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));
}

.base-modal-option {
  align-items: center;
  background: color-mix(in srgb, var(--surface-soft) 96%, #fff 4%);
  border-color: var(--line);
  border-radius: 18px;
  border-width: 1px;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 56px minmax(0, 1fr) 44px;
  padding: 0.75rem;
}

.base-modal-option-switch {
  align-items: center;
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
  position: relative;
  width: 100%;
}

.base-modal-option-switch > input[type=radio] {
  height: 1px;
  margin: -1px;
  opacity: 0;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  clip: rect(0, 0, 0, 0);
  border-width: 0;
  white-space: nowrap;
}

.base-modal-option-switch-track {
  background: #cbd5e1;
  border: 1px solid var(--line);
  border-radius: 9999px;
  display: inline-flex;
  height: 30px;
  position: relative;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  width: 56px;
}

.base-modal-option-switch-thumb {
  background: #fff;
  border-radius: 9999px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.28);
  height: 22px;
  left: 3px;
  position: absolute;
  top: 3px;
  transform: translateX(0);
  transition: transform 0.2s ease;
  width: 22px;
}

.base-modal-option-switch > input[type=radio]:checked + .base-modal-option-switch-track {
  background: color-mix(in srgb, var(--primary) 84%, #fff 16%);
  border-color: var(--line);
}

.base-modal-option-switch > input[type=radio]:checked + .base-modal-option-switch-track .base-modal-option-switch-thumb {
  transform: translateX(26px);
}

.base-modal-option-switch > input[type=radio]:focus-visible + .base-modal-option-switch-track {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 30%, transparent 70%);
}

.base-modal-option > .glass-input {
  min-width: 0;
}

.base-modal-question > .base-modal-actions {
  background-color: transparent;
  border-width: 0;
  justify-content: flex-start;
  margin-top: 1rem;
  padding: 0;
}

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

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

.base-modal-field > :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));
}

.base-modal-field label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.25rem;
}

.ue-note.base-modal-field label {
  background: rgba(220, 38, 38, 0.08);
  border-color: rgba(220, 38, 38, 0.2);
  color: #b91c1c;
}

.base-modal-field label {
  color: var(--text-main);
}

.modal-shell-actions, .base-modal-actions {
  align-items: center;
  background: transparent;
  border-color: var(--line);
  border-top-width: 1px;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
  padding: 1rem 1.5rem 1.25rem;
}

.base-modal-section, .base-modal-section-banner, .base-modal-subcard {
  background: var(--surface-soft);
  border-color: var(--line);
  border-radius: 22px;
  border-width: 1px;
  padding: 1rem;
}

.base-modal-section-banner {
  color: var(--text-main);
  margin-bottom: 1rem;
}

.base-modal-section-banner, .base-modal-section-title {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.25rem;
}

.base-modal-section-title {
  color: var(--text-muted);
  letter-spacing: 0.12em;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.meta-manager-shell > :not([hidden]) ~ :not([hidden]), .base-modal-list > :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));
}

#sectionModal .modal-shell-body > :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));
}

#sectionModal .modal-shell-body {
  overflow-x: hidden;
  overflow-y: auto;
}

#sectionModal .base-modal-subcard {
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 88%, #fff 12%) 0, color-mix(in srgb, var(--surface-soft) 94%, #fff 6%) 100%);
  border-color: var(--line);
  box-shadow: inset 0 1px 0 hsla(0, 0%, 100%, 0.72);
  padding: 1.25rem;
}

#sectionModal .base-modal-section-banner {
  background: color-mix(in srgb, var(--primary) 6%, var(--surface-soft) 94%);
  border-color: var(--line);
  border-radius: 20px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5rem;
  margin-bottom: 0;
  padding: 0.75rem 1rem;
}

#sectionModal .base-modal-grid-auto {
  align-items: flex-end;
}

#sectionModal .base-modal-grid-auto .glass-input[readonly] {
  color: var(--text-main);
  font-weight: 600;
  text-align: center;
}

#sectionModal .base-modal-actions {
  background-color: transparent;
  border-width: 0;
  padding: 0.5rem 0 0;
}

#sectionModal .base-modal-actions > .base-button {
  justify-content: center;
  width: 100%;
}

#sectionModal .base-modal-section {
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 90%, #fff 10%) 0, color-mix(in srgb, var(--surface-soft) 96%, #fff 4%) 100%);
  border-color: var(--line);
  overflow: hidden;
  padding: 0;
}

#sectionModal .base-modal-section-title {
  border-bottom-width: 1px;
  border-color: var(--line);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1rem;
  margin-bottom: 0;
  padding: 1rem 1.25rem;
}

#sectionList {
  min-height: 140px;
}

#sectionList, .t-section-item {
  padding: 1rem;
}

.t-section-item {
  align-items: center;
  background: color-mix(in srgb, var(--surface-soft) 92%, #fff 8%);
  border-color: var(--line);
  border-radius: 20px;
  border-width: 1px;
  box-shadow: 0 12px 28px -24px rgba(15, 23, 42, 0.24);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  transition-duration: 0.15s;
  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);
}

.t-section-item + .t-section-item {
  margin-top: 0.75rem;
}

.t-section-item:hover {
  background: color-mix(in srgb, var(--primary) 5%, var(--surface-soft) 95%);
  border-color: var(--line);
}

.t-sec-left {
  align-items: center;
  display: flex;
  flex: 1 1 0%;
  gap: 1rem;
  min-width: 0;
}

.t-sec-left > .t-handle {
  align-items: center;
  background: color-mix(in srgb, var(--primary) 7%, #fff 93%);
  border-color: var(--line);
  border-radius: 1rem;
  border-width: 1px;
  color: var(--primary);
  display: inline-flex;
  flex-shrink: 0;
  height: 2.5rem;
  justify-content: center;
  width: 2.5rem;
}

.t-sec-left > .t-handle, .t-sec-num {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.t-sec-num {
  color: var(--text-muted);
  font-weight: 600;
  min-width: 2.25rem;
}

.t-sec-info {
  flex: 1 1 0%;
  min-width: 0;
}

.t-sec-info > :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));
}

.t-sec-title {
  align-items: center;
  color: var(--text-main);
  display: flex;
  flex-wrap: wrap;
  font-size: 1rem;
  font-weight: 600;
  gap: 0.5rem;
  letter-spacing: -0.02em;
  line-height: 1.5rem;
}

.t-sec-dur {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.t-sec-actions {
  align-items: center;
  display: flex;
  flex-shrink: 0;
  gap: 0.5rem;
}

.meta-manager-compose, .meta-manager-list-shell {
  background: var(--surface-soft);
  border-color: var(--line);
  border-radius: 22px;
  border-width: 1px;
  padding: 1rem;
}

.meta-manager-compose {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.meta-manager-compose-copy > :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));
}

.meta-manager-compose-copy h4, .meta-manager-list-copy h4 {
  color: var(--text-main);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.75rem;
}

.meta-manager-compose-copy p, .meta-manager-list-copy p {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.5rem;
}

.meta-manager-compose-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

.meta-manager-compose-form .glass-input, .meta-manager-compose-form .base-button {
  width: 100%;
}

.meta-manager-list-head {
  align-items: flex-start;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.meta-manager-list-copy > :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));
}

.base-scroll-panel {
  max-height: min(48vh, 420px);
  overflow: auto;
  padding-right: 4px;
}

.meta-manager-list > :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));
}

.meta-row {
  border-radius: 20px;
  border-width: 1px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--surface);
  border-color: var(--line);
}

.meta-name-wrap {
  flex: 1 1 0%;
  min-width: 0;
}

.meta-name-wrap > :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));
}

.meta-row-kicker {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ue-note.meta-row-kicker {
  background: rgba(220, 38, 38, 0.08);
  border-color: rgba(220, 38, 38, 0.2);
  color: #b91c1c;
}

.meta-row-kicker {
  color: var(--text-muted);
}

.meta-name {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.5rem;
  overflow-wrap: break-word;
}

.ue-note.meta-name {
  background: rgba(220, 38, 38, 0.08);
  border-color: rgba(220, 38, 38, 0.2);
  color: #b91c1c;
}

.meta-name {
  color: var(--text-main);
}

.meta-row-meta {
  align-items: center;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.875rem;
  gap: 0.5rem;
  line-height: 1.5rem;
}

.meta-row-meta-label {
  color: var(--text-soft);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1rem;
  text-transform: uppercase;
}

.meta-actions {
  align-items: center;
  display: flex;
  flex-shrink: 0;
  gap: 0.5rem;
}

.meta-edit-input {
  width: 100%;
}

.base-modal-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.65rem;
  padding: 0.65rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: color-mix(in srgb, var(--surface-soft) 90%, var(--surface) 10%);
}

.base-modal-tag-list:empty {
  display: none;
}

.t-ms-container {
  overflow: visible;
  padding: 0.72rem;
  position: relative;
}

.t-ms-container .ms-input {
  margin: 0;
  width: 100%;
}

.t-ms-container.is-disabled {
  opacity: 0.58;
}

.t-ms-container.is-disabled .ms-input {
  cursor: not-allowed;
}

.t-ms-container.is-disabled .base-modal-tag-list {
  pointer-events: none;
}

.t-ms-container.is-disabled .base-modal-tag-list .base-badge {
  cursor: not-allowed;
}

.t-ms-drop {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  max-width: calc(100vw - 24px);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0.45rem;
  position: fixed;
  z-index: 1200;
}

.t-ms-drop[hidden] {
  display: none !important;
}

.t-ms-item {
  border-radius: 10px;
  color: var(--text-main);
  cursor: pointer;
  font-size: 0.875rem;
  line-height: 1.25rem;
  padding: 0.5rem 0.65rem;
}

.t-ms-item:hover {
  background: color-mix(in srgb, var(--primary) 10%, transparent 90%);
}

.t-ms-item.active,
.t-ms-item.is-active {
  background: color-mix(in srgb, var(--primary) 14%, transparent 86%);
  color: var(--text-main);
  font-weight: 600;
}

.base-modal-inline-between {
  justify-content: space-between;
}

.modal-shell-actions-centered, .modal-shell-body-centered {
  justify-content: center;
}

.modal-shell-field {
  max-width: 20rem;
}

.modal-shell-detail {
  max-width: min(720px, calc(100vw - 32px));
}

.ud-summary {
  border-radius: 22px;
  border-width: 1px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding: 1rem;
  background: color-mix(in srgb, var(--primary) 4%, var(--surface-soft) 96%);
  border-color: var(--line);
}

.ud-avatar-lg {
  align-items: center;
  background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 72%, #fff 28%) 0, var(--primary-dark) 100%);
  border-radius: 20px;
  color: #fff;
  display: flex;
  flex-shrink: 0;
  font-size: 1.5rem;
  font-weight: 600;
  height: 4rem;
  justify-content: center;
  line-height: 2rem;
  text-transform: uppercase;
  width: 4rem;
}

.ud-head-meta {
  flex: 1 1 0%;
  min-width: 0;
}

.ud-head-meta h2 {
  color: var(--text-main);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 2rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ud-head-meta p {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.5rem;
  margin-top: 0.25rem;
}

.ud-head-actions {
  gap: 0.75rem;
}

.ud-head-actions, .ud-tabs {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
}

.ud-tabs {
  background: var(--surface-soft);
  border-color: var(--line);
  border-radius: 20px;
  border-width: 1px;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  padding: 0.5rem;
}

.ud-tab {
  align-items: center;
  border-radius: 14px;
  color: var(--text-muted);
  cursor: pointer;
  display: inline-flex;
  font-size: 0.875rem;
  font-weight: 500;
  justify-content: center;
  line-height: 1.25rem;
  min-height: 42px;
  padding-left: 1rem;
  padding-right: 1rem;
  transition-duration: 0.15s;
  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);
}

.ud-tab:hover {
  background: color-mix(in srgb, var(--primary) 8%, transparent 92%);
  color: var(--text-main);
}

.ud-tab.active {
  background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 84%, #fff 16%) 0, var(--primary) 100%);
  box-shadow: 0 10px 22px color-mix(in srgb, var(--primary) 18%, transparent 82%);
  color: #fff;
}

.ud-content {
  display: none;
}

.ud-content.active {
  display: block;
}

.ud-info-grid {
  display: grid;
  gap: 1rem;
}

.ud-info-item {
  background: var(--surface-soft);
  border-color: var(--line);
  border-radius: 20px;
  border-width: 1px;
  padding: 1rem;
}

.ud-info-item label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.ue-note.ud-info-item label {
  background: rgba(220, 38, 38, 0.08);
  border-color: rgba(220, 38, 38, 0.2);
  color: #b91c1c;
}

.ud-info-item label {
  color: var(--text-muted);
}

.ud-info-item span {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5rem;
  overflow-wrap: break-word;
}

.ue-note.ud-info-item span {
  background: rgba(220, 38, 38, 0.08);
  border-color: rgba(220, 38, 38, 0.2);
  color: #b91c1c;
}

.ud-info-item span {
  color: var(--text-main);
}

.base-table-flush {
  border-collapse: collapse;
  width: 100%;
}

.base-table-flush thead th {
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1rem;
  text-align: left;
  text-transform: uppercase;
}

.base-table-flush tbody td, .base-table-flush thead th {
  border-bottom-width: 1px;
  border-color: var(--line);
  padding: 1rem;
}

.base-table-flush tbody td {
  color: var(--text-main);
  font-size: 0.875rem;
  line-height: 1.25rem;
  vertical-align: middle;
}

.base-table-flush tbody tr:last-child td {
  border-bottom: 0;
}

.base-table-flush tbody tr:hover td {
  background: color-mix(in srgb, var(--primary) 4%, transparent 96%);
}

.base-modal-help, .video-source-label {
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25rem;
}

.video-source-label.is-active {
  color: var(--text-main);
}

@keyframes base-modal-pop {
  0% {
    opacity: 0;
    transform: translate3d(0, 12px, 0) scale(.985)
  }

  to {
    opacity: 1;
    transform: translateZ(0) scale(1)
  }
}

@keyframes base-spin {
  0% {
    transform: rotate(0deg)
  }

  to {
    transform: rotate(1turn)
  }
}

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

.base-mt-sm {
  margin-top: 0.75rem;
}

body.install-pro {
  --install-surface: hsla(0, 0%, 100%, 0.96);
  --install-border: rgba(148, 163, 184, 0.28);
  --install-shadow: 0 30px 70px rgba(15, 23, 42, 0.22);
  --install-text-muted: #64748b;
  --install-bg-a: #f5f7fb;
  --install-bg-b: #e7edf5;
  background: radial-gradient(900px 520px at 3% -8%, rgba(14, 116, 144, 0.14), transparent 62%), radial-gradient(740px 460px at 100% 0, rgba(30, 64, 175, 0.16), transparent 66%), linear-gradient(145deg, var(--install-bg-a), var(--install-bg-b));
  font-family: var(--app-font-sans);
}

body.install-pro .wrap {
  background: var(--install-surface);
  border: 1px solid var(--install-border);
  border-radius: 24px;
  box-shadow: var(--install-shadow);
  grid-template-columns: 340px 1fr;
  max-width: 1160px;
}

body.install-pro .left {
  background: radial-gradient(140px 140px at 80% -8%, hsla(0, 0%, 100%, 0.26), transparent 60%), radial-gradient(260px 260px at -40% 110%, hsla(0, 0%, 100%, 0.16), transparent 70%), linear-gradient(164deg, var(--p), color-mix(in srgb, var(--p2) 88%, #1e293b 12%));
  padding: 34px 30px;
}

body.install-pro .right {
  background: linear-gradient(180deg, hsla(0, 0%, 100%, 0.86), hsla(0, 0%, 100%, 0.97));
  padding: 30px 34px;
}

body.install-pro .eyebrow {
  font-size: 0.69rem;
  letter-spacing: 0.6px;
}

body.install-pro .left h1 {
  font-size: 1.42rem;
  letter-spacing: -0.4px;
}

body.install-pro .left p {
  color: rgba(241, 245, 249, 0.96);
}

body.install-pro .mini-card {
  border-radius: 14px;
  padding: 10px 11px;
}

body.install-pro .mini-card span {
  font-size: 0.66rem;
}

body.install-pro .mini-card strong {
  font-size: 0.92rem;
}

body.install-pro .step {
  border-radius: 12px;
  font-size: 0.8rem;
  padding: 9px 10px;
}

body.install-pro .trust {
  border-radius: 12px;
  font-size: 0.77rem;
}

body.install-pro .sec {
  color: #475569;
  margin: 16px 0 10px;
}

body.install-pro label {
  color: #0f172a;
  margin-bottom: 7px;
}

body.install-pro input[type=email], body.install-pro input[type=file], body.install-pro input[type=password], body.install-pro input[type=text] {
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 13px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.12s ease;
}

body.install-pro input[type=email]:focus, body.install-pro input[type=file]:focus, body.install-pro input[type=password]:focus, body.install-pro input[type=text]:focus {
  border-color: color-mix(in srgb, var(--p) 78%, #1d4ed8 22%);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--p) 16%, transparent 84%);
  outline: none;
}

body.install-pro .cb {
  background: #f8fbff;
  border-color: #d4dee9;
  border-radius: 13px;
}

body.install-pro .alert {
  border-radius: 14px;
  font-size: 0.88rem;
}

body.install-pro .links a {
  border-radius: 999px;
  font-size: 0.8rem;
}

body.install-pro .installed-only {
  border: 1px solid var(--install-border);
  border-radius: 24px;
  box-shadow: var(--install-shadow);
  max-width: 600px;
  padding: 32px 28px;
}

body.install-pro .installed-only h1 {
  letter-spacing: -0.35px;
}

body.install-pro .foot {
  color: #475569;
  font-size: 0.74rem;
  margin-top: 22px;
  text-align: center;
  width: 100%;
}

body.install-pro #panel-install-toast-container {
  right: 18px;
  top: 18px;
}

body.install-pro .panel-install-toast-item {
  border-left-width: 4px;
  border-radius: 13px;
  box-shadow: 0 18px 30px -20px rgba(15, 23, 42, 0.32);
}

#pg-settings {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

#pg-settings .settings-layout-card, #pg-settings .settings-screen-grid {
  display: block;
}

#pg-settings .editor-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

#pg-settings .s-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

#pg-settings .s-card, #pg-settings .s-transfer-panel {
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 97%, #fff 3%) 0, color-mix(in srgb, var(--surface-soft) 98%, #fff 2%) 100%);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 22px;
}

#pg-settings .s-card-heading {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

#pg-settings .s-card-heading h4, #pg-settings .smtp-title {
  color: var(--text-main);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0;
}

#pg-settings .s-card-heading p, #pg-settings .s-color-note, #pg-settings .s-desc, #pg-settings .s-maint-note, #pg-settings .s-transfer-file-name, #pg-settings .smtp-desc {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
}

#pg-settings .s-form-grid, #pg-settings .s-media-grid, #pg-settings .s-smtp-grid, #pg-settings .s-transfer-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

#pg-settings .s-form-grid > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

#pg-settings .s-media-item, #pg-settings .s-transfer-panel {
  min-width: 0;
}

#pg-settings label {
  color: var(--text-main);
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0;
}

#pg-settings .s-form-grid .s-desc {
  line-height: 1.45;
}

#pg-settings .s-input, #pg-settings .s-input-icon .base-field-soft, #pg-settings .s-smtp-grid .s-input {
  min-height: 48px;
}

#pg-settings .s-input-icon {
  position: relative;
}

#pg-settings .s-input-icon > i {
  color: var(--text-muted);
  font-size: 14px;
  left: 16px;
  pointer-events: none;
  position: absolute;
  top: 50%;
  transform: translatey(-50%);
  z-index: 2;
}

#pg-settings .s-input-icon .s-input {
  padding-left: 44px;
}

#pg-settings .pw-toggle-wrap {
  position: relative;
  width: 100%;
}

#pg-settings .s-input-icon .pw-toggle-wrap .pw-toggle-input, #pg-settings .s-input-icon .pw-toggle-wrap .s-input {
  padding-left: 44px;
}

#pg-settings .pw-toggle-wrap .pw-toggle-input, #pg-settings .pw-toggle-wrap .s-input {
  padding-right: 52px;
}

#pg-settings .pw-toggle-btn {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 12px;
  box-shadow: none;
  color: var(--text-muted);
  display: inline-flex;
  height: 32px;
  justify-content: center;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translatey(-50%);
  width: 32px;
  z-index: 3;
}

#pg-settings .pw-toggle-btn:hover {
  background: color-mix(in srgb, var(--primary) 8%, transparent 92%);
  color: var(--text-main);
}

#pg-settings .s-block-spaced {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#pg-settings .s-identity-inline {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

#pg-settings .s-inline-card {
  min-height: 128px;
}

#pg-settings .s-inline-copy {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

#pg-settings .s-color-picker {
  position: relative;
}

#pg-settings .s-color-box {
  align-items: center;
  background: color-mix(in srgb, var(--surface-soft) 96%, #fff 4%);
  border: 1px solid var(--line);
  border-radius: 20px;
  cursor: pointer;
  display: flex;
  gap: 14px;
  padding: 16px 18px;
  text-align: left;
  width: 100%;
}

#pg-settings .s-color-circle {
  background: var(--settings-accent-color, var(--primary));
  border-radius: 18px;
  box-shadow: inset 0 1px 0 hsla(0, 0%, 100%, 0.28);
  flex: 0 0 54px;
  height: 54px;
  overflow: hidden;
  position: relative;
  width: 54px;
}

#pg-settings .s-color-circle input[type=color] {
  cursor: pointer;
  inset: 0;
  opacity: 0;
  position: absolute;
}

#pg-settings .s-color-title {
  color: var(--text-main);
  font-size: 15px;
  font-weight: 700;
}

#pg-settings .s-color-value {
  align-items: center;
  background: color-mix(in srgb, var(--surface) 92%, #fff 8%);
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--text-main);
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 700;
  justify-content: center;
  letter-spacing: 0.12em;
  min-height: 40px;
  min-width: 92px;
  padding: 0 14px;
}

#settingsColorPopover {
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 98%, #fff 2%) 0, color-mix(in srgb, var(--surface-soft) 98%, #fff 2%) 100%);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.18);
  left: 0;
  padding: 18px;
  position: absolute;
  top: calc(100% + 12px);
  width: min(360px, calc(100vw - 48px));
  z-index: 120;
}

#settingsColorPopover[hidden] {
  display: none !important;
}

#pg-settings .s-color-picker.is-open .s-color-popover {
  display: block !important;
}

#settingsColorPopover .s-color-popover-head {
  align-items: flex-start;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 14px;
}

#settingsColorPopover .s-color-popover-title {
  color: var(--text-main);
  font-size: 15px;
  font-weight: 700;
}

#settingsColorPopover .s-color-popover-note {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.55;
  margin-top: 4px;
}

#settingsColorPopover .s-color-close {
  flex: 0 0 34px;
  height: 34px;
  width: 34px;
}

#settingsColorPopover .s-color-surface {
  background: linear-gradient(0deg, #000 0, transparent), linear-gradient(90deg, #fff 0, hsla(0, 0%, 100%, 0)), red;
  border-radius: 20px;
  cursor: crosshair;
  height: 188px;
  overflow: hidden;
  position: relative;
}

#settingsColorPopover .s-color-surface-knob {
  border: 2px solid #fff;
  border-radius: 999px;
  box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.12);
  height: 18px;
  left: 100%;
  pointer-events: none;
  position: absolute;
  top: 0;
  transform: translate(-9px, -9px);
  width: 18px;
}

#settingsColorPopover .s-color-slider-wrap {
  margin-top: 14px;
}

#settingsColorPopover .s-color-hue {
  -moz-appearance: none;
  appearance: none;
  -webkit-appearance: none;
  background: linear-gradient(90deg, red, #ff0 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, red);
  border: 0;
  border-radius: 999px;
  box-shadow: none;
  height: 12px;
  padding: 0;
  width: 100%;
}

#settingsColorPopover .s-color-hue::-webkit-slider-thumb {
  -webkit-appearance: none;
  background: var(--surface);
  border: 2px solid #fff;
  border-radius: 999px;
  box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.12);
  height: 18px;
  width: 18px;
}

#settingsColorPopover .s-color-hue::-moz-range-thumb {
  background: var(--surface);
  border: 2px solid #fff;
  border-radius: 999px;
  box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.12);
  height: 18px;
  width: 18px;
}

#settingsColorPopover .s-color-swatches {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-top: 14px;
}

#settingsColorPopover .s-color-swatch {
  aspect-ratio: 1;
  background: var(--swatch);
  border: 2px solid transparent;
  border-radius: 14px;
  box-shadow: inset 0 1px 0 hsla(0, 0%, 100%, 0.25);
  width: 100%;
}

#settingsColorPopover .s-color-swatch.is-active {
  border-color: #fff;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--primary) 18%, rgba(15, 23, 42, 0.18) 82%);
}

#settingsColorPopover .s-color-input-row {
  align-items: center;
  display: flex;
  gap: 12px;
  margin-top: 14px;
}

#settingsColorPopover .s-color-input-row label {
  flex: 0 0 auto;
  margin: 0;
}

#settingsColorPopover .s-color-input-row .s-input {
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#pg-settings .s-switch-box, #pg-settings .s-transfer-switch {
  align-items: center;
  background: color-mix(in srgb, var(--primary) 4%, var(--surface-soft) 96%);
  border: 1px solid var(--line);
  border-radius: 20px;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 16px 18px;
}

#pg-settings .s-switch-txt {
  align-items: center;
  color: var(--text-main);
  display: inline-flex;
  font-size: 15px;
  font-weight: 600;
  gap: 10px;
}

#pg-settings .s-switch-box {
  align-items: center;
  min-height: 88px;
}

#pg-settings .s-identity-inline .s-color-box, #pg-settings .s-identity-inline .s-switch-box {
  border-radius: 24px;
  min-height: 128px;
  padding: 20px 22px;
}

#pg-settings .s-identity-inline .s-color-circle {
  border-radius: 20px;
  flex-basis: 56px;
  height: 56px;
  width: 56px;
}

#pg-settings .s-identity-inline .s-color-note, #pg-settings .s-identity-inline .s-maint-note, #pg-settings .s-identity-inline .s-switch-txt {
  margin: 0;
}

#pg-settings .smtp-header {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 6px;
}

#pg-settings .smtp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

#pg-settings .smtp-actions-end {
  justify-content: flex-end;
}

#pg-settings .s-media-grid {
  gap: 18px;
}

#pg-settings .s-media-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#pg-settings .s-logo-zone {
  align-items: center;
  background: color-mix(in srgb, var(--primary) 4%, var(--surface-soft) 96%);
  border: 1px dashed var(--line);
  border-radius: 24px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  min-height: 188px;
  overflow: hidden;
  position: relative;
}

#pg-settings .s-logo-zone-copy {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
}

#pg-settings .s-logo-zone-icon {
  color: var(--primary);
  font-size: 24px;
}

#pg-settings .s-logo-zone-icon.is-lg {
  font-size: 30px;
}

#pg-settings .s-logo-zone-title {
  color: var(--text-main);
  font-size: 15px;
  font-weight: 700;
}

#pg-settings .s-logo-zone-note {
  color: var(--text-muted);
  font-size: 13px;
}

#pg-settings .s-logo-preview {
  display: block;
  max-height: 124px;
  max-width: calc(100% - 36px);
  -o-object-fit: contain;
  object-fit: contain;
}

#pg-settings .s-logo-preview-avatar, #pg-settings .s-logo-preview-favicon {
  max-height: 80px;
}

#pg-settings .base-media-remove {
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 2;
}

#pg-settings .base-upload-input {
  height: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  width: 1px !important;
  clip: rect(0, 0, 0, 0) !important;
  border: 0 !important;
  clip-path: inset(50%) !important;
}

#pg-settings .s-logo-size-wrap {
  background: color-mix(in srgb, var(--surface-soft) 96%, #fff 4%);
  border: 1px solid var(--line);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 16px;
}

#pg-settings .s-logo-size-head {
  align-items: center;
  color: var(--text-main);
  display: flex;
  font-size: 14px;
  font-weight: 600;
  gap: 12px;
  justify-content: space-between;
}

#pg-settings .s-logo-size-range {
  width: 100%;
}

#pg-settings .s-transfer-file, #pg-settings .s-transfer-switches {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#pg-settings .s-transfer-panel {
  border-radius: 28px;
  gap: 20px;
  padding: 26px;
}

#pg-settings .s-transfer-panel .s-card-heading {
  gap: 5px;
  padding-bottom: 4px;
}

#pg-settings .s-transfer-panel .s-card-heading h4 {
  font-size: 24px;
  letter-spacing: -0.04em;
}

#pg-settings .s-transfer-panel .s-card-heading p {
  max-width: 64ch;
}

#pg-settings .s-transfer-switches .s-transfer-switch {
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 98%, #fff 2%) 0, color-mix(in srgb, var(--surface-soft) 96%, #fff 4%) 100%);
  border-radius: 22px;
  box-shadow: inset 0 1px 0 hsla(0, 0%, 100%, 0.5);
  min-height: 88px;
  padding: 18px 20px;
}

#pg-settings .s-transfer-switch .s-switch-txt {
  flex: 1 1 auto;
  line-height: 1.55;
  min-width: 0;
}

#pg-settings .s-transfer-file-name {
  align-items: center;
  background: color-mix(in srgb, var(--surface-soft) 97%, #fff 3%);
  border: 1px solid var(--line);
  border-radius: 18px;
  display: flex;
  min-height: 50px;
  padding: 12px 14px;
}

#pg-settings #siteTransferCard .smtp-actions {
  padding-top: 2px;
}

#pg-reports {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

#pg-reports .rp-head {
  align-items: flex-start;
  background: radial-gradient(circle at 100% 0, color-mix(in srgb, var(--primary) 8%, transparent 92%) 0, transparent 26%), linear-gradient(180deg, color-mix(in srgb, var(--surface) 96%, #fff 4%) 0, color-mix(in srgb, var(--surface-soft) 98%, #fff 2%) 100%);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  padding: 24px 28px;
}

#pg-reports .rp-title {
  color: var(--text-main);
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin: 0;
}

#pg-reports .rp-sub {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
  margin: 10px 0 0;
}

#pg-reports .rp-filter, #pg-reports .base-filter-wrap {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

#pg-reports .base-filter-control {
  min-height: 48px;
}

#adminSectionBannerActions .banner-action-control.rp-filter, #adminSectionBannerActions .banner-action-control.base-filter-wrap, #adminSectionBannerActions .rp-filter, #adminSectionBannerActions .base-filter-wrap {
  align-items: center;
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  justify-content: flex-end;
  min-width: 0;
  width: auto;
}

#adminSectionBannerActions .banner-action-control.rp-filter > *, #adminSectionBannerActions .banner-action-control.base-filter-wrap > *, #adminSectionBannerActions .rp-filter > *, #adminSectionBannerActions .base-filter-wrap > * {
  flex: 0 0 auto;
}

#adminSectionBannerActions .base-filter-control {
  min-width: 0;
  width: auto;
}

#pg-reports #reportPrintArea {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

#pg-reports .rp-summary-grid {
  gap: 16px;
}

#pg-reports .rp-grid, #pg-reports .rp-summary-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

#pg-reports .rp-grid {
  gap: 20px;
}

#pg-reports .rp-panel {
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 95%, #fff 5%) 0, color-mix(in srgb, var(--surface-soft) 98%, #fff 2%) 100%);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow-soft);
}

#pg-reports .rp-panel-head, #pg-reports .rp-section-head {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  margin-bottom: 18px;
}

#pg-reports .rp-panel-title, #pg-reports .rp-section-title {
  color: var(--text-main);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0;
}

#pg-reports .rp-panel-note, #pg-reports .rp-section-note {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  margin: 0;
}

#pg-reports .rp-chart {
  min-height: 300px;
}

#pg-reports .rp-chart-scroll {
  overflow-x: auto;
  padding-bottom: 4px;
}

#pg-reports .rp-chart-shell {
  min-width: min(100%, var(--rp-chart-width, 100%));
  position: relative;
}

#pg-reports .rp-chart-svg {
  display: block;
  height: auto;
  width: 100%;
}

#pg-reports .rp-grid-line {
  stroke: color-mix(in srgb, var(--line) 78%, transparent 22%);
  stroke-width: 1;
}

#pg-reports .rp-line {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

#pg-reports .rp-area {
  opacity: 0.9;
}

#pg-reports .rp-hit {
  cursor: pointer;
  fill: transparent;
}

#pg-reports .rp-axis-label {
  fill: var(--text-muted);
  font-size: 11px;
  font-weight: 600;
}

#pg-reports .rp-chart-tooltip {
  backdrop-filter: blur(12px);
  background: color-mix(in srgb, var(--surface) 97%, #fff 3%);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.14);
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  left: var(--rp-tip-left, 0);
  max-width: 220px;
  min-width: 148px;
  padding: 10px 12px;
  position: absolute;
  top: var(--rp-tip-top, 0);
  z-index: 3;
}

#pg-reports .rp-chart-tooltip strong {
  color: var(--text-main);
  font-size: 12px;
  font-weight: 700;
}

#pg-reports .rp-chart-empty, #pg-reports .rp-chart-tooltip span {
  color: var(--text-muted);
  font-size: 13px;
}

#pg-reports .rp-chart-empty {
  align-items: center;
  background: color-mix(in srgb, var(--surface-soft) 96%, #fff 4%);
  border: 1px dashed var(--line);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  min-height: 260px;
}

#pg-reports .rp-chart-legend {
  align-items: center;
  color: var(--text-muted);
  display: inline-flex;
  font-size: 13px;
  font-weight: 600;
  gap: 8px;
  margin-top: 14px;
}

#pg-reports .rp-chart-legend .dot {
  background: var(--rp-chart-line-color, var(--primary));
  border-radius: 999px;
  height: 10px;
  width: 10px;
}

#pg-reports .rp-compare {
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 96%, #fff 4%) 0, color-mix(in srgb, var(--surface-soft) 98%, #fff 2%) 100%);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  padding: 20px;
}

#pg-reports .rp-compare-head {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.7;
}

#pg-reports .rp-compare-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  margin-top: 16px;
}

#pg-reports .rp-cmp-item {
  background: color-mix(in srgb, var(--surface-soft) 96%, #fff 4%);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 16px 18px;
}

#pg-reports .rp-cmp-item .k {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

#pg-reports .rp-cmp-item .d {
  color: var(--text-main);
  font-size: 14px;
  line-height: 1.7;
}

#pg-reports .rp-cmp-item .s {
  font-size: 13px;
  font-weight: 700;
  margin-top: 10px;
}

#pg-reports .rp-up {
  color: #16a34a;
}

#pg-reports .rp-down {
  color: #dc2626;
}

#pg-reports .rp-same {
  color: var(--text-muted);
}

#pg-reports .rp-user-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

#pg-reports .rp-loading-card, #pg-reports .rp-user-card {
  background: color-mix(in srgb, var(--surface) 96%, #fff 4%);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
}

#pg-reports .rp-loading-card {
  align-items: center;
  color: var(--text-muted);
  display: flex;
  justify-content: center;
  min-height: 160px;
}

#pg-reports .rp-user-card {
  padding: 18px;
}

#pg-reports .rp-user-top {
  align-items: center;
  display: flex;
  gap: 14px;
}

#pg-reports .rp-user-avatar {
  align-items: center;
  background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 72%, #fff 28%) 0, var(--primary) 100%);
  border-radius: 18px;
  color: #fff;
  display: inline-flex;
  font-size: 18px;
  font-weight: 700;
  height: 50px;
  justify-content: center;
  width: 50px;
}

#pg-reports .rp-user-name-btn {
  background: transparent;
  border: 0;
  color: var(--text-main);
  cursor: pointer;
  display: inline-flex;
  font-size: 17px;
  font-weight: 700;
  padding: 0;
}

#pg-reports .rp-user-mail {
  color: var(--text-muted);
  font-size: 13px;
  margin-top: 4px;
}

#pg-reports .rp-user-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

#pg-reports .rp-chip {
  align-items: center;
  background: color-mix(in srgb, var(--surface-soft) 74%, transparent 26%);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-main);
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  min-height: 34px;
  padding: 0 12px;
}

#pg-reports .rp-chip.active {
  background: color-mix(in srgb, #22c55e 14%, transparent 86%);
  border-color: color-mix(in srgb, #22c55e 34%, var(--line) 66%);
  color: #166534;
}

#pg-reports .rp-chip.muted {
  color: var(--text-muted);
}

#pg-reports .rp-user-modal-card {
  max-width: min(620px, calc(100vw - 32px));
}

#pg-reports .rp-user-modal-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 10px;
}

#pg-reports .rp-user-meta {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

#pg-reports .rp-user-meta-item {
  background: color-mix(in srgb, var(--surface-soft) 96%, #fff 4%);
  border: 1px solid var(--line);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
}

#pg-reports .rp-user-meta-item .k {
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

#pg-reports .rp-user-meta-item .v {
  color: var(--text-main);
  font-size: 15px;
  font-weight: 600;
}

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

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

.hover\:border-slate-400:hover {
  --tw-border-opacity: 1;
  border-color: rgb(148 163 184 / var(--tw-border-opacity, 1));
}

.hover\:text-slate-900:hover {
  --tw-text-opacity: 1;
  color: rgb(15 23 42 / var(--tw-text-opacity, 1));
}

@media not all and (min-width: 640px) {
  .max-sm\:grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}

.s-section-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ue-empty {
  align-items: center;
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 97%, #fff 3%) 0, color-mix(in srgb, var(--surface-soft) 99%, #fff 1%) 100%);
  border: 1px solid var(--line);
  border-radius: 24px;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 2rem 1.25rem;
  text-align: center;
}

.ue-empty i {
  color: color-mix(in srgb, var(--primary) 82%, #f8fafc 18%);
  font-size: 1.7rem;
}

.ue-empty-title {
  color: var(--text-main);
  font-size: 1.05rem;
  font-weight: 700;
}

.ue-btn {
  min-height: 42px;
  min-width: 108px;
}

.ue-btn.pdf {
  min-width: 84px;
}

.us-panel-performance,
.us-panel-activity {
  position: relative;
}

.us-panel-empty {
  align-items: center;
  background: color-mix(in srgb, var(--surface-soft) 96%, #fff 4%);
  border: 1px dashed var(--line);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  justify-content: center;
  min-height: 220px;
  padding: 1.25rem;
  text-align: center;
}

.us-empty-icon {
  align-items: center;
  background: color-mix(in srgb, var(--primary) 10%, #fff 90%);
  border-radius: 999px;
  color: var(--primary);
  display: inline-flex;
  font-size: 1.05rem;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.us-empty-title {
  color: var(--text-main);
  font-size: 0.95rem;
  font-weight: 700;
}

.us-empty-copy {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.55;
  max-width: 52ch;
}

.player-wrapper {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr);
}

.video-stage {
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 95%, #fff 5%) 0, color-mix(in srgb, var(--surface-soft) 98%, #fff 2%) 100%);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  overflow: hidden;
  padding: 1rem;
}

.stage-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.btn-back,
.player-back-btn {
  align-items: center;
  display: inline-flex;
  gap: 0.45rem;
}

.btn-back-label {
  font-weight: 600;
}

.warning-toast {
  align-items: center;
  background: rgba(220, 38, 38, 0.1);
  border: 1px solid rgba(220, 38, 38, 0.26);
  border-radius: 999px;
  color: #b91c1c;
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 600;
  gap: 0.45rem;
  max-width: 100%;
  padding: 0.45rem 0.85rem;
}

.warning-toast[hidden] {
  display: none !important;
}

.warning-toast-amber {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.28);
  color: #a16207;
}

.video-container {
  aspect-ratio: 16 / 9;
  background: radial-gradient(circle at 50% -24%, color-mix(in srgb, var(--primary) 12%, transparent 88%) 0, transparent 55%), #020617;
  border: 1px solid var(--line);
  border-radius: 22px;
  min-height: 220px;
  overflow: hidden;
  position: relative;
}

.video-container video,
.youtube-stage,
.youtube-stage > div {
  display: block;
  height: 100%;
  width: 100%;
}

.player-overlay {
  align-items: center;
  display: flex;
  inset: 0;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transition: opacity 0.2s ease;
}

.player-overlay.show {
  opacity: 1;
}

.player-overlay-scrim {
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.45), rgba(2, 6, 23, 0.72));
  opacity: 1;
  pointer-events: auto;
}

.player-overlay-card {
  align-items: center;
  backdrop-filter: blur(10px);
  background: color-mix(in srgb, var(--surface) 90%, rgba(15, 23, 42, 0.1) 10%);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.28);
  color: var(--text-main);
  display: inline-flex;
  gap: 0.6rem;
  padding: 0.85rem 1rem;
}

.player-overlay-card-compact {
  min-width: 180px;
}

.player-overlay-card-wide {
  max-width: 560px;
}

.player-overlay-card-column {
  align-items: center;
  flex-direction: column;
  gap: 0.85rem;
  text-align: center;
}

.play-toggle-feedback {
  justify-content: center;
}

.play-toggle-chip {
  font-size: 0.92rem;
  font-weight: 700;
}

.focus-pause-overlay {
  justify-content: center;
}

.pause-state-label {
  align-items: center;
  background: rgba(2, 6, 23, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.26);
  border-radius: 999px;
  color: #e2e8f0;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 600;
  gap: 0.4rem;
  left: 1rem;
  opacity: 0;
  padding: 0.35rem 0.7rem;
  position: absolute;
  top: 1rem;
  transform: translateY(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.pause-state-label.show {
  opacity: 1;
  transform: translateY(0);
}

.focus-pause-chip .icon {
  align-items: center;
  background: color-mix(in srgb, var(--primary) 12%, #fff 88%);
  border-radius: 999px;
  color: var(--primary);
  display: inline-flex;
  flex-shrink: 0;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.focus-pause-chip .txt {
  color: var(--text-main);
  font-size: 0.86rem;
  line-height: 1.5;
}

.player-error-overlay,
.next-overlay {
  flex-direction: column;
  gap: 0.75rem;
  opacity: 1;
  padding: 1.25rem;
  pointer-events: auto;
  text-align: center;
}

.player-error-overlay[hidden],
.next-overlay[hidden] {
  display: none !important;
}

.player-error-icon {
  color: #f59e0b;
  font-size: 1.5rem;
}

.player-error-overlay h3 {
  color: #f8fafc;
  font-size: 1.15rem;
  font-weight: 700;
}

.player-error-overlay p {
  color: #cbd5e1;
  font-size: 0.9rem;
}

.player-overlay-icon {
  color: #22c55e;
  font-size: 1.55rem;
}

.player-overlay-title {
  color: #f8fafc;
  font-size: 1.2rem;
  font-weight: 700;
}

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

.overlay-icon {
  font-size: 1.5rem;
}

.overlay-title {
  line-height: 1.3;
}

.btn-next-lesson {
  min-height: 42px;
  min-width: 170px;
}

.stage-footer {
  align-items: flex-start;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: space-between;
}

.stage-footer-meta {
  display: flex;
  flex: 1 1 300px;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
}

.training-topic-badge {
  width: fit-content;
}

.lesson-title-display {
  color: var(--text-main);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.stage-controls {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: flex-end;
}

.stage-controls .base-badge {
  align-items: center;
  display: inline-flex;
  gap: 0.4rem;
  min-height: 42px;
  padding: 0.45rem 0.65rem;
}

.time-val {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

.time-sep {
  opacity: 0.75;
}

.vol-btn,
.player-vol-btn {
  align-items: center;
  background: color-mix(in srgb, var(--surface) 90%, #fff 10%);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text-main);
  cursor: pointer;
  display: inline-flex;
  height: 30px;
  justify-content: center;
  transition: background 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
  width: 30px;
}

.vol-btn:hover,
.player-vol-btn:hover {
  background: color-mix(in srgb, var(--primary) 10%, var(--surface) 90%);
  border-color: var(--line);
  transform: translateY(-1px);
}

.volume-text {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  min-width: 42px;
  text-align: right;
}

.playlist-sidebar {
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 96%, #fff 4%) 0, color-mix(in srgb, var(--surface-soft) 98%, #fff 2%) 100%);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 0;
  padding: 1rem;
}

.pl-header {
  align-items: center;
  color: var(--text-main);
  display: flex;
  font-size: 0.94rem;
  font-weight: 700;
  justify-content: space-between;
}

.lesson-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  max-height: 560px;
  overflow: auto;
  padding-right: 2px;
}

.l-item {
  align-items: flex-start;
  background: color-mix(in srgb, var(--surface-soft) 96%, #fff 4%);
  border: 1px solid var(--line);
  border-radius: 16px;
  cursor: pointer;
  display: flex;
  gap: 0.65rem;
  padding: 0.68rem 0.72rem;
  transition: border-color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}

.l-item:hover {
  background: color-mix(in srgb, var(--primary) 6%, var(--surface-soft) 94%);
  border-color: var(--line);
  transform: translateY(-1px);
}

.l-item.active {
  background: color-mix(in srgb, var(--primary) 10%, var(--surface-soft) 90%);
  border-color: var(--line);
}

.l-item.completed {
  border-color: color-mix(in srgb, var(--success) 26%, var(--line) 74%);
}

.l-item.locked {
  cursor: not-allowed;
  opacity: 0.62;
}

.l-icon {
  align-items: center;
  background: color-mix(in srgb, var(--primary) 10%, #fff 90%);
  border-radius: 12px;
  color: var(--primary);
  display: inline-flex;
  flex-shrink: 0;
  font-size: 0.8rem;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.l-item.completed .l-icon {
  background: rgba(22, 163, 74, 0.14);
  color: #166534;
}

.l-item.locked .l-icon {
  background: rgba(148, 163, 184, 0.2);
  color: #64748b;
}

.l-info {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.l-label {
  color: var(--text-muted);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.l-text {
  color: var(--text-main);
  font-size: 0.89rem;
  font-weight: 600;
  line-height: 1.4;
}

.l-time {
  color: var(--text-muted);
  font-size: 0.76rem;
  font-variant-numeric: tabular-nums;
}

/* Player Pro Refresh */
#pg-player {
  --player-shell-bg: linear-gradient(180deg, color-mix(in srgb, var(--surface) 97%, #fff 3%) 0, color-mix(in srgb, var(--surface-soft) 98%, #fff 2%) 100%);
  --player-shell-line: var(--line);
  --player-chip-bg: color-mix(in srgb, var(--surface) 74%, transparent 26%);
  --player-chip-line: var(--line);
}

#pg-player.player-wrapper {
  align-items: start;
  gap: 1.15rem;
}

#pg-player .video-stage {
  background: var(--player-shell-bg);
  border-color: var(--player-shell-line);
  border-radius: 28px;
  gap: 0.95rem;
  padding: 1.1rem;
  position: relative;
}

#pg-player .video-stage::before {
  background: radial-gradient(circle at 86% 0%, color-mix(in srgb, var(--primary) 10%, transparent 90%) 0, transparent 52%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

#pg-player .video-stage > * {
  position: relative;
  z-index: 1;
}

#pg-player .stage-header {
  gap: 0.75rem;
}

#pg-player .player-back-btn {
  background: color-mix(in srgb, var(--surface-soft) 92%, #fff 8%);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  min-height: 42px;
  padding: 0.5rem 0.8rem;
}

#pg-player .player-back-btn:hover {
  border-color: var(--line);
  transform: translateY(-1px);
}

#pg-player .warning-toast {
  margin-right: 0.45rem;
  min-height: 34px;
}

#pg-player .video-container {
  border-radius: 24px;
  box-shadow: 0 22px 54px -36px rgba(15, 23, 42, 0.55), inset 0 0 0 1px rgba(148, 163, 184, 0.16);
}

#pg-player .video-container::after {
  background: linear-gradient(180deg, rgba(2, 6, 23, 0) 68%, rgba(2, 6, 23, 0.18) 100%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

#pg-player .video-container video {
  object-fit: contain;
}

#pg-player .player-overlay-card {
  border-radius: 18px;
  padding: 0.85rem 1.05rem;
}

#pg-player .play-toggle-chip {
  font-size: 0.9rem;
  justify-content: center;
  letter-spacing: 0.01em;
  min-width: 214px;
}

#pg-player .pause-state-label {
  top: 1.1rem;
}

#pg-player .focus-pause-chip {
  display: inline-flex;
  gap: 0.6rem;
}

#pg-player .focus-pause-chip .txt {
  max-width: 42ch;
}

#pg-player .overlay-content {
  min-width: min(92%, 340px);
}

#pg-player .btn-next-lesson {
  min-width: 188px;
}

#pg-player .stage-footer {
  background: color-mix(in srgb, var(--surface-soft) 95%, #fff 5%);
  border: 1px solid var(--line);
  border-radius: 18px;
  gap: 0.75rem;
  margin-top: 0.15rem;
  padding: 0.78rem 0.85rem;
}

#pg-player .training-topic-badge {
  font-size: 0.66rem;
  letter-spacing: 0.12em;
}

#pg-player .lesson-title-display {
  font-size: 1rem;
  line-height: 1.35;
}

#pg-player .stage-controls {
  gap: 0.55rem;
}

#pg-player .stage-controls .base-badge {
  background: var(--player-chip-bg);
  border: 0;
  border-radius: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
  min-height: 38px;
}

#pg-player .player-vol-btn {
  border-radius: 9px;
  height: 28px;
  width: 28px;
}

#pg-player .volume-text {
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

#pg-player .playlist-sidebar {
  background: var(--player-shell-bg);
  border-color: var(--player-shell-line);
  border-radius: 28px;
  gap: 0.8rem;
  padding: 1.05rem;
  position: relative;
}

#pg-player .playlist-sidebar::before {
  background: radial-gradient(circle at 12% 0%, color-mix(in srgb, var(--primary) 8%, transparent 92%) 0, transparent 45%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

#pg-player .playlist-sidebar > * {
  position: relative;
  z-index: 1;
}

#pg-player .pl-header {
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.6rem;
}

#pg-player .pl-header > span:first-child {
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

#pg-player .lesson-list {
  gap: 0.55rem;
  max-height: min(62vh, 610px);
  padding-right: 0.35rem;
}

#pg-player .lesson-list::-webkit-scrollbar {
  width: 8px;
}

#pg-player .lesson-list::-webkit-scrollbar-thumb {
  background: color-mix(in srgb, var(--primary) 30%, rgba(148, 163, 184, 0.36) 70%);
  border-radius: 999px;
}

#pg-player .lesson-list::-webkit-scrollbar-track {
  background: transparent;
}

#pg-player .l-item {
  border-radius: 18px;
  gap: 0.72rem;
  padding: 0.72rem 0.78rem;
  position: relative;
}

#pg-player .l-item::before {
  background: color-mix(in srgb, var(--primary) 70%, #dbeafe 30%);
  border-radius: 999px;
  content: "";
  height: calc(100% - 14px);
  left: 8px;
  opacity: 0;
  position: absolute;
  top: 7px;
  transition: opacity 0.16s ease;
  width: 3px;
}

#pg-player .l-item.active::before,
#pg-player .l-item.completed::before {
  opacity: 1;
}

#pg-player .l-item.completed::before {
  background: color-mix(in srgb, var(--success) 76%, #86efac 24%);
}

#pg-player .l-item.locked::before {
  display: none;
}

#pg-player .l-icon {
  border: 1px solid var(--line);
  border-radius: 13px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
  height: 36px;
  width: 36px;
}

#pg-player .l-item.active .l-icon {
  transform: scale(1.04);
}

#pg-player .l-text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

#pg-player .l-time {
  align-items: center;
  display: inline-flex;
  gap: 0.35rem;
}

.et-wrap {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.et-head {
  align-items: flex-start;
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 97%, #fff 3%) 0, color-mix(in srgb, var(--surface-soft) 99%, #fff 1%) 100%);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: space-between;
  padding: 1.15rem 1.2rem;
}

.et-title {
  color: var(--text-main);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.et-sub {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-top: 0.3rem;
}

.et-stats {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.et-timer {
  align-items: center;
  background: color-mix(in srgb, var(--primary) 10%, #fff 90%);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: color-mix(in srgb, var(--primary) 78%, #0f172a 22%);
  display: inline-flex;
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  min-height: 34px;
  padding: 0 0.75rem;
}

.et-alert {
  background: color-mix(in srgb, var(--warning, #d97706) 8%, var(--surface-soft) 92%);
  border: 1px solid color-mix(in srgb, var(--warning, #d97706) 18%, var(--line) 82%);
  border-radius: 20px;
  color: var(--text-main);
  font-size: 0.9rem;
  line-height: 1.6;
  padding: 1rem;
}

.et-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.q-card {
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 98%, #fff 2%) 0, color-mix(in srgb, var(--surface-soft) 99%, #fff 1%) 100%);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1rem;
}

.q-top {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.q-title {
  color: var(--text-main);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
}

.q-points {
  white-space: nowrap;
}

.opt-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.opt-item {
  align-items: flex-start;
  background: color-mix(in srgb, var(--surface-soft) 96%, #fff 4%);
  border: 1px solid var(--line);
  border-radius: 14px;
  cursor: pointer;
  display: flex;
  gap: 0.65rem;
  padding: 0.7rem 0.85rem;
  transition: border-color 0.16s ease, background 0.16s ease;
}

.opt-item:hover {
  border-color: var(--line);
}

.opt-item input {
  accent-color: var(--primary);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.opt-item input[type='radio'] {
  height: 1rem;
  min-width: 1rem;
  padding: 0;
  width: 1rem;
}

#pg-user-exam-take .opt-item input[type='radio']:focus,
#pg-user-exam-take .opt-item input[type='radio']:focus-visible,
#pg-user-exam-take .opt-item input[type='radio']:checked:focus,
#pg-user-exam-take .opt-item input[type='radio']:checked:focus-visible {
  --tw-ring-offset-width: 0;
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  box-shadow: none !important;
  outline: none !important;
}

.opt-item input:checked + span {
  color: var(--text-main);
  font-weight: 400;
}

.opt-item span {
  color: var(--text-main);
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.5;
}

.et-actions {
  display: flex;
  justify-content: flex-end;
  padding-top: 0.25rem;
}

.et-btn {
  min-height: 42px;
  min-width: 130px;
}

.et-btn.submit {
  min-width: 168px;
}

.et-result {
  max-width: min(640px, calc(100vw - 28px));
  overflow: hidden;
  position: relative;
  width: 100%;
}

.et-modal {
  z-index: 55;
}

.et-result-close {
  position: absolute;
  right: 1rem;
  top: 1rem;
  z-index: 2;
}

.r-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.et-result-illustration {
  align-items: center;
  display: flex;
  justify-content: center;
}

.et-result-score-hero {
  min-height: 88px;
}

.et-result-score-svg {
  height: 88px;
  max-width: 100%;
  width: min(320px, 92%);
}

.et-result-score-stroke,
.et-result-score-fill {
  dominant-baseline: middle;
  font-family: var(--app-font-sans);
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.et-result-score-stroke {
  fill: none;
  opacity: 0.95;
  stroke: currentColor;
  stroke-dasharray: 560;
  stroke-dashoffset: 560;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.et-result-score-fill {
  fill: currentColor;
  opacity: 0;
}

.et-result.is-score-pass .et-result-score-hero {
  color: #16a34a;
}

.et-result.is-score-fail .et-result-score-hero {
  color: #dc2626;
}

.et-result.is-animated .et-result-score-stroke {
  animation: resultScoreDraw 0.72s ease forwards;
}

.et-result.is-animated .et-result-score-fill {
  animation: resultScoreFill 0.28s ease 0.48s forwards;
}

.et-result-check-stroke {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 5;
}

.et-result-check-circle {
  stroke: color-mix(in srgb, var(--line) 84%, transparent 16%);
}

.et-result-check-mark {
  stroke: #16a34a;
  stroke-dasharray: 46;
  stroke-dashoffset: 46;
}

.et-result-check-dot {
  fill: #dc2626;
  opacity: 0;
  transform: scale(0.2);
  transform-origin: center;
}

.et-result.ok .et-result-check-circle,
.et-result.ok .et-result-check-mark {
  stroke: #16a34a;
}

.et-result.fail .et-result-check-circle,
.et-result.fail .et-result-check-mark {
  stroke: #dc2626;
}

.et-result.fail .et-result-check-mark {
  stroke-dasharray: 22;
  stroke-dashoffset: 22;
}

.et-result.fail .et-result-check-dot {
  fill: #dc2626;
}

.et-result.is-animated .et-result-check-circle {
  animation: resultCircleDraw 0.45s ease forwards;
}

.et-result.is-animated .et-result-check-mark {
  animation: resultMarkDraw 0.35s ease 0.25s forwards;
}

.et-result.is-animated .et-result-check-dot:not([hidden]) {
  animation: resultDotPop 0.24s ease 0.58s forwards;
}

.et-result-copy {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  text-align: center;
}

.et-result-text {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.r-context {
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.r-context strong {
  color: var(--text-main);
}

.r-context-sep {
  margin: 0 0.25rem;
  opacity: 0.65;
}

.r-status-line {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.r-kicker {
  color: var(--text-muted);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.r-grid {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(2, minmax(146px, 1fr));
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
  max-width: calc(146px * 2 + 0.65rem);
  width: fit-content;
}

.r-box {
  align-items: center;
  background: color-mix(in srgb, var(--surface-soft) 96%, #fff 4%);
  border: 1px solid var(--line);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
  justify-content: center;
  padding: 0.7rem 0.75rem;
  text-align: center;
}

.r-v {
  color: var(--text-main);
  font-size: 1.05rem;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  text-align: center;
  width: 100%;
}

.r-l {
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
  width: 100%;
}

.r-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.modal-shell-actions.r-actions {
  justify-content: center !important;
}

#rStatusChip {
  align-self: center;
}

#rStatusChip.is-success {
  background: rgba(22, 163, 74, 0.2);
  color: #15803d;
}

#rStatusChip.is-fail {
  background: rgba(220, 38, 38, 0.16);
  color: #b91c1c;
}

.et-result.ok #rStatusChip {
  background: rgba(22, 163, 74, 0.2) !important;
  color: #15803d !important;
}

.et-result.fail #rStatusChip {
  background: rgba(220, 38, 38, 0.2) !important;
  color: #b91c1c !important;
}

@keyframes resultCircleDraw {
  from {
    stroke-dasharray: 190;
    stroke-dashoffset: 190;
  }
  to {
    stroke-dasharray: 190;
    stroke-dashoffset: 0;
  }
}

@keyframes resultMarkDraw {
  from {
    stroke-dashoffset: 46;
  }
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes resultScoreDraw {
  from {
    stroke-dashoffset: 560;
  }
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes resultScoreFill {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes resultDotPop {
  from {
    opacity: 0;
    transform: scale(0.2);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Player Layout V3 - Studio Split */
body.player-fullscreen-page {
  overflow: hidden;
}

body.player-fullscreen-page .content.player-fullscreen-content {
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}

body.player-fullscreen-page #app {
  height: calc(100vh - 2.5rem);
  height: calc(100dvh - 2.5rem);
  min-height: calc(100vh - 2.5rem);
  min-height: calc(100dvh - 2.5rem);
  overflow: hidden;
}

#pg-player {
  --player-v3-surface: linear-gradient(160deg, color-mix(in srgb, var(--surface) 96%, #fff 4%) 0, color-mix(in srgb, var(--surface-soft) 98%, #fff 2%) 100%);
  --player-v3-line: var(--line);
  --player-v3-soft: color-mix(in srgb, var(--surface-soft) 96%, #fff 4%);
  --player-v3-soft-line: var(--line);
}

#pg-player.player-wrapper {
  align-items: stretch;
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr);
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

#pg-player .video-stage {
  background: var(--player-v3-surface);
  border: 1px solid var(--player-v3-line);
  border-radius: 26px;
  box-shadow: 0 26px 60px -44px rgba(15, 23, 42, 0.45);
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  order: 1;
  overflow: hidden;
  padding: 1.1rem;
  position: relative;
  min-height: 0;
  height: 100%;
}

#pg-player .video-stage::before {
  background: radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--primary) 10%, transparent 90%) 0, transparent 54%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

#pg-player .video-stage > * {
  position: relative;
  z-index: 1;
}

#pg-player .stage-header {
  align-items: center;
  display: flex;
  justify-content: flex-start;
}

#pg-player .player-back-btn {
  background: color-mix(in srgb, var(--surface-soft) 94%, #fff 6%);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
  font-size: 0.82rem;
  font-weight: 700;
  min-height: 40px;
  padding: 0.48rem 0.8rem;
}

#pg-player .warning-toast {
  background: rgba(220, 38, 38, 0.12);
  border-color: rgba(220, 38, 38, 0.3);
  font-size: 0.78rem;
  margin-top: -0.05rem;
  width: fit-content;
}

#pg-player .warning-toast-amber {
  background: rgba(245, 158, 11, 0.14);
}

#pg-player .video-container {
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 24px 52px -36px rgba(15, 23, 42, 0.6), inset 0 0 0 1px rgba(148, 163, 184, 0.2);
  display: flex;
  flex: 1 1 auto;
  justify-content: center;
  align-items: center;
  margin-block: auto;
  min-height: 240px;
  overflow: hidden;
  position: relative;
}

#pg-player .video-container::after {
  background: linear-gradient(180deg, rgba(2, 6, 23, 0) 64%, rgba(2, 6, 23, 0.18) 100%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

#pg-player .video-container video {
  object-fit: contain;
}

#pg-player .stage-footer {
  background: var(--player-v3-soft);
  border: 1px solid var(--player-v3-soft-line);
  border-radius: 18px;
  display: grid;
  gap: 0.7rem;
  grid-template-columns: minmax(0, 1fr);
  padding: 0.75rem;
}

#pg-player .next-overlay {
  align-items: center;
  background: rgba(2, 6, 23, 0);
  justify-content: center;
  padding: 1rem;
  transition: opacity 0.22s ease, background 0.3s ease;
}

#pg-player .next-overlay.show {
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.68), rgba(2, 6, 23, 0.78));
}

#pg-player .overlay-content.player-complete-overlay {
  align-items: center;
  backdrop-filter: none;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  display: inline-flex;
  flex-direction: column;
  gap: 0.58rem;
  min-width: 0;
  padding: 0;
  text-align: center;
}

#pg-player .next-overlay .player-complete-icon {
  align-items: center;
  background: transparent;
  border: 0;
  display: inline-flex;
  height: 72px;
  justify-content: center;
  width: 72px;
}

#pg-player .next-overlay .player-complete-icon .panel-delete-icon {
  height: 72px;
  width: 72px;
}

#pg-player .next-overlay .player-complete-icon .panel-delete-stroke {
  stroke-width: 2.6;
}

#pg-player .next-overlay.show .player-complete-icon .panel-delete-ring {
  animation: panel-delete-ring-draw 0.9s cubic-bezier(0.19, 0.9, 0.24, 1) forwards;
}

#pg-player .next-overlay.show .player-complete-icon .panel-delete-symbol {
  animation: panel-delete-icon-draw 0.8s cubic-bezier(0.19, 0.9, 0.24, 1) 0.24s forwards;
}

#pg-player .player-overlay-title {
  color: #f8fafc;
  font-size: clamp(1rem, 1.2vw, 1.25rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  text-shadow: 0 3px 14px rgba(2, 6, 23, 0.6);
}

#pg-player .stage-footer-meta {
  gap: 0.45rem;
}

#pg-player .training-topic-badge {
  font-size: 0.64rem;
  letter-spacing: 0.13em;
}

#pg-player .lesson-title-display {
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.4;
}

#pg-player .stage-controls {
  align-items: stretch;
  display: grid;
  gap: 0.55rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

#pg-player .stage-controls .base-badge {
  align-items: center;
  background: var(--player-chip-bg);
  border: 0;
  border-radius: 12px;
  display: inline-flex;
  gap: 0.4rem;
  justify-content: center;
  min-height: 38px;
  padding: 0.42rem 0.62rem;
}

#pg-player .player-vol-btn {
  border-radius: 9px;
  height: 28px;
  width: 28px;
}

#pg-player .volume-text {
  font-size: 0.75rem;
  min-width: 40px;
}

#pg-player .playlist-sidebar {
  background: var(--player-v3-surface);
  border: 1px solid var(--player-v3-line);
  border-radius: 26px;
  box-shadow: 0 24px 54px -44px rgba(15, 23, 42, 0.44);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  order: 2;
  overflow: hidden;
  padding: 0.9rem;
  position: relative;
  min-height: 0;
  height: 100%;
}

#pg-player .pl-header {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  font-size: 0.9rem;
  font-weight: 700;
  justify-content: space-between;
  padding: 0.1rem 0.1rem 0.62rem;
}

#pg-player .pl-header > span:first-child {
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#pg-player .lesson-list {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 0.5rem;
  max-height: none;
  min-height: 0;
  overflow: auto;
  padding-right: 0.3rem;
}

#pg-player .lesson-list::-webkit-scrollbar {
  width: 8px;
}

#pg-player .lesson-list::-webkit-scrollbar-thumb {
  background: color-mix(in srgb, var(--primary) 28%, rgba(148, 163, 184, 0.42) 72%);
  border-radius: 999px;
}

#pg-player .l-item {
  align-items: center;
  background: var(--player-v3-soft);
  border: 1px solid var(--player-v3-soft-line);
  border-radius: 16px;
  display: grid;
  gap: 0.62rem;
  grid-template-columns: 36px minmax(0, 1fr);
  padding: 0.68rem;
  position: relative;
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

#pg-player .l-item:hover {
  background: color-mix(in srgb, var(--primary) 6%, var(--player-v3-soft) 94%);
  border-color: var(--line);
  transform: translateX(2px);
}

#pg-player .l-item::before {
  display: none;
}

#pg-player .l-item.locked {
  background: color-mix(in srgb, #94a3b8 8%, var(--player-v3-soft) 92%);
  border-color: color-mix(in srgb, #94a3b8 36%, var(--line) 64%);
  opacity: 1;
}

#pg-player .l-item.locked:hover {
  background: color-mix(in srgb, #94a3b8 10%, var(--player-v3-soft) 90%);
  border-color: color-mix(in srgb, #94a3b8 40%, var(--line) 60%);
  transform: none;
}

#pg-player .l-item.active {
  background: color-mix(in srgb, #f97316 12%, var(--player-v3-soft) 88%);
  border-color: color-mix(in srgb, #f97316 44%, var(--line) 56%);
}

#pg-player .l-item.completed {
  border-color: color-mix(in srgb, var(--success) 32%, var(--line) 68%);
}

#pg-player .l-item.locked::before {
  display: none;
}

#pg-player .l-icon {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
  display: inline-flex;
  height: 34px;
  justify-content: center;
  width: 34px;
  align-self: center;
}

#pg-player .l-item.active .l-icon {
  background: color-mix(in srgb, #f97316 16%, #fff 84%);
  border-color: color-mix(in srgb, #f97316 54%, #fdba74 46%);
  color: #c2410c;
}

#pg-player .l-item.completed .l-icon {
  background: color-mix(in srgb, var(--success) 14%, #fff 86%);
  border-color: color-mix(in srgb, var(--success) 52%, #86efac 48%);
  color: #15803d;
}

#pg-player .l-item.locked .l-icon {
  background: color-mix(in srgb, #94a3b8 20%, #fff 80%);
  border-color: color-mix(in srgb, #94a3b8 56%, #cbd5e1 44%);
  color: #64748b;
}

#pg-player .l-info {
  gap: 0.18rem;
}

#pg-player .l-label {
  font-size: 0.63rem;
}

#pg-player .l-text {
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.38;
}

#pg-player .l-time {
  align-items: center;
  display: inline-flex;
  font-size: 0.74rem;
  gap: 0.3rem;
}

@media (min-width: 1200px) {
  #pg-player.player-wrapper {
    grid-template-columns: minmax(300px, 340px) minmax(0, 1fr);
    height: calc(100vh - 2.5rem);
    height: calc(100dvh - 2.5rem);
    min-height: calc(100vh - 2.5rem);
    min-height: calc(100dvh - 2.5rem);
  }

  #pg-player .playlist-sidebar {
    max-height: none;
    order: 1;
    position: relative;
    top: 0;
  }

  #pg-player .video-stage {
    order: 2;
  }

  #pg-player .stage-footer {
    align-items: center;
    grid-template-columns: minmax(0, 1fr) minmax(260px, auto);
  }

  #pg-player .stage-controls {
    display: flex;
    justify-content: flex-end;
  }
}

@media (max-width: 900px) {
  #pg-player .video-stage,
  #pg-player .playlist-sidebar {
    border-radius: 20px;
    padding: 0.82rem;
  }

  #pg-player .stage-controls {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ==========================================================================
   GLOBAL THIN SCROLLBAR
   ========================================================================== */

* {
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}

*::-webkit-scrollbar {
  width: 8px !important;
  height: 8px !important;
  background: transparent !important;
}

*::-webkit-scrollbar-track {
  background: transparent !important;
}

*::-webkit-scrollbar-thumb {
  background: #cbd5e1 !important;
  background-clip: content-box;
  border: 2px solid transparent;
  border-radius: 999px;
  min-height: 28px;
}

*::-webkit-scrollbar-thumb:hover {
  background: #b8c3d3 !important;
}

/* ==========================================================================
   GLOBAL TOOLTIP
   ========================================================================== */

.panel-global-tooltip {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 16000;
  max-width: min(320px, calc(100vw - 24px));
  padding: 0.4rem 0.62rem;
  border-radius: 10px;
  border: 1px solid color-mix(in srgb, var(--line) 72%, #94a3b8 28%);
  background: color-mix(in srgb, var(--surface) 92%, #fff 8%);
  color: var(--text-main);
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.32;
  letter-spacing: 0.01em;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.18);
  opacity: 0;
  transform: translateY(2px) scale(0.98);
  transform-origin: center bottom;
  pointer-events: none;
  overflow: hidden;
  contain: layout paint;
  white-space: normal;
  word-break: break-word;
  transition: opacity 0.14s ease, transform 0.14s ease;
}

.panel-global-tooltip.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.panel-global-tooltip.is-below {
  transform-origin: center top;
}

body[data-theme-mode="dark"] .panel-global-tooltip {
  border-color: var(--line);
  background: rgba(15, 23, 42, 0.94);
  color: #e2e8f0;
  box-shadow: 0 16px 36px rgba(2, 6, 23, 0.42);
}

