*, ::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: Inter, system-ui, sans-serif;
  /* 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;
}

html {
  font-family: Inter, system-ui, sans-serif;
}

.soft-card {
  border-radius: 1rem;
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(241 245 249 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
  padding: 1.5rem;
  --tw-shadow: 0 12px 30px rgba(15, 23, 42, 0.10);
  --tw-shadow-colored: 0 12px 30px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.soft-link {
  font-weight: 600;
  --tw-text-opacity: 1;
  color: rgb(37 99 235 / var(--tw-text-opacity, 1));
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

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

.soft-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 0.75rem;
  background-image: linear-gradient(to top right, var(--tw-gradient-stops));
  --tw-gradient-from: #2563eb var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(37 99 235 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
  --tw-gradient-to: #73a1ff var(--tw-gradient-to-position);
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
  font-weight: 600;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
  --tw-shadow: 0 18px 45px rgba(37, 99, 235, 0.25);
  --tw-shadow-colored: 0 18px 45px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.soft-btn-primary:hover {
  --tw-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
  --tw-shadow-colored: 0 16px 40px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.soft-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 0.75rem;
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(226 232 240 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
  font-weight: 600;
  --tw-text-opacity: 1;
  color: rgb(51 65 85 / var(--tw-text-opacity, 1));
  --tw-shadow: 0 12px 30px rgba(15, 23, 42, 0.10);
  --tw-shadow-colored: 0 12px 30px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.soft-btn-secondary:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(248 250 252 / var(--tw-bg-opacity, 1));
}

.soft-btn-danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 0.75rem;
  --tw-bg-opacity: 1;
  background-color: rgb(220 38 38 / var(--tw-bg-opacity, 1));
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
  font-weight: 600;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
  --tw-shadow: 0 12px 30px rgba(15, 23, 42, 0.10);
  --tw-shadow-colored: 0 12px 30px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.soft-btn-danger:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(185 28 28 / var(--tw-bg-opacity, 1));
}

.soft-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  border-width: 1px;
  border-color: transparent;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  cursor: pointer;
  transition-property: color, background-color, border-color, box-shadow;
  transition-duration: 200ms;
}

.soft-input {
  flex: 1 1 0%;
  min-width: 0;
  border-width: 2px;
  border-color: rgb(168 198 255 / 1);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  border-radius: 9999px;
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(226 232 240 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
  padding-left: 0.625rem;
  padding-right: 0.625rem;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  font-size: 11px;
  font-weight: 600;
  --tw-text-opacity: 1;
  color: rgb(71 85 105 / var(--tw-text-opacity, 1));
}

.badge-success {
  --tw-border-opacity: 1;
  border-color: rgb(209 250 229 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(236 253 245 / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(4 120 87 / var(--tw-text-opacity, 1));
}

.badge-info {
  --tw-border-opacity: 1;
  border-color: rgb(224 242 254 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(240 249 255 / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(3 105 161 / var(--tw-text-opacity, 1));
}

.badge-neutral {
  --tw-border-opacity: 1;
  border-color: rgb(226 232 240 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(248 250 252 / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(51 65 85 / var(--tw-text-opacity, 1));
}

.badge-high {
  --tw-border-opacity: 1;
  border-color: rgb(255 237 213 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(255 247 237 / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(194 65 12 / var(--tw-text-opacity, 1));
}

.badge-critical {
  --tw-border-opacity: 1;
  border-color: rgb(254 226 226 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(254 242 242 / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(185 28 28 / var(--tw-text-opacity, 1));
}

/* Severity class shortcut used in templates (badge-{{ severity }}) */

.badge-critical {
  --tw-border-opacity: 1;
  border-color: rgb(254 226 226 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(254 242 242 / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(185 28 28 / var(--tw-text-opacity, 1));
}

.badge-high {
  --tw-border-opacity: 1;
  border-color: rgb(255 237 213 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(255 247 237 / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(194 65 12 / var(--tw-text-opacity, 1));
}

.badge-medium {
  --tw-border-opacity: 1;
  border-color: rgb(254 243 199 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(255 251 235 / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(146 64 14 / var(--tw-text-opacity, 1));
}

.badge-low {
  --tw-border-opacity: 1;
  border-color: rgb(254 249 195 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(254 252 232 / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(133 77 14 / var(--tw-text-opacity, 1));
}

.badge-info {
  --tw-border-opacity: 1;
  border-color: rgb(224 242 254 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(240 249 255 / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(3 105 161 / var(--tw-text-opacity, 1));
}

input[type="text"],
  input[type="email"],
  input[type="password"],
  input[type="url"],
  select,
  textarea {
  width: 100%;
  border-radius: 0.75rem;
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(226 232 240 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  --tw-text-opacity: 1;
  color: rgb(30 41 59 / var(--tw-text-opacity, 1));
  --tw-shadow: 0 12px 30px rgba(15, 23, 42, 0.10);
  --tw-shadow-colored: 0 12px 30px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

input[type="text"]::-moz-placeholder, input[type="email"]::-moz-placeholder, input[type="password"]::-moz-placeholder, input[type="url"]::-moz-placeholder, select::-moz-placeholder, textarea::-moz-placeholder {
  --tw-text-opacity: 1;
  color: rgb(148 163 184 / var(--tw-text-opacity, 1));
}

input[type="text"]::placeholder,
  input[type="email"]::placeholder,
  input[type="password"]::placeholder,
  input[type="url"]::placeholder,
  select::placeholder,
  textarea::placeholder {
  --tw-text-opacity: 1;
  color: rgb(148 163 184 / var(--tw-text-opacity, 1));
}

input[type="text"]:focus,
  input[type="email"]:focus,
  input[type="password"]:focus,
  input[type="url"]:focus,
  select:focus,
  textarea:focus {
  --tw-border-opacity: 1;
  border-color: rgb(168 198 255 / var(--tw-border-opacity, 1));
  outline: 2px solid transparent;
  outline-offset: 2px;
  --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(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(230 239 255 / var(--tw-ring-opacity, 1));
}

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

.visible {
  visibility: visible;
}

.static {
  position: static;
}

.fixed {
  position: fixed;
}

.absolute {
  position: absolute;
}

.relative {
  position: relative;
}

.inset-0 {
  inset: 0px;
}

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

.-left-12 {
  left: -3rem;
}

.-right-16 {
  right: -4rem;
}

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

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

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

.bottom-0 {
  bottom: 0px;
}

.left-0 {
  left: 0px;
}

.right-0 {
  right: 0px;
}

.right-5 {
  right: 1.25rem;
}

.top-0 {
  top: 0px;
}

.top-5 {
  top: 1.25rem;
}

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

.mx-6 {
  margin-left: 1.5rem;
  margin-right: 1.5rem;
}

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

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

.my-5 {
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
}

.my-6 {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

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

.mb-1\.5 {
  margin-bottom: 0.375rem;
}

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

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

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

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

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

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

.ml-0 {
  margin-left: 0px;
}

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

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

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

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

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

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

.block {
  display: block;
}

.flex {
  display: flex;
}

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

.table {
  display: table;
}

.grid {
  display: grid;
}

.contents {
  display: contents;
}

.hidden {
  display: none;
}

.h-10 {
  height: 2.5rem;
}

.h-12 {
  height: 3rem;
}

.h-14 {
  height: 3.5rem;
}

.h-16 {
  height: 4rem;
}

.h-2 {
  height: 0.5rem;
}

.h-24 {
  height: 6rem;
}

.h-4 {
  height: 1rem;
}

.h-40 {
  height: 10rem;
}

.h-5 {
  height: 1.25rem;
}

.h-6 {
  height: 1.5rem;
}

.h-64 {
  height: 16rem;
}

.h-7 {
  height: 1.75rem;
}

.h-8 {
  height: 2rem;
}

.h-9 {
  height: 2.25rem;
}

.h-full {
  height: 100%;
}

.h-screen {
  height: 100vh; /* fallback */
  height: 100dvh; /* iOS Safari: excluye la barra del navegador */
}

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

.min-h-screen {
  min-height: 100vh; /* fallback */
  min-height: 100dvh; /* iOS Safari: excluye la barra del navegador */
}

.w-10 {
  width: 2.5rem;
}

.w-12 {
  width: 3rem;
}

.w-14 {
  width: 3.5rem;
}

.w-16 {
  width: 4rem;
}

.w-24 {
  width: 6rem;
}

.w-4 {
  width: 1rem;
}

.w-40 {
  width: 10rem;
}

.w-5 {
  width: 1.25rem;
}

.w-6 {
  width: 1.5rem;
}

.w-64 {
  width: 16rem;
}

.w-7 {
  width: 1.75rem;
}

.w-72 {
  width: 18rem;
}

.w-8 {
  width: 2rem;
}

.w-9 {
  width: 2.25rem;
}

.w-full {
  width: 100%;
}

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

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

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

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

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

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

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

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

.cursor-pointer {
  cursor: pointer;
}

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

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

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

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

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

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

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

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

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

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

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

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

.gap-2 {
  gap: 0.5rem;
}

.gap-3 {
  gap: 0.75rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-5 {
  gap: 1.25rem;
}

.gap-6 {
  gap: 1.5rem;
}

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

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

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

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

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

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

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

.divide-slate-100 > :not([hidden]) ~ :not([hidden]) {
  --tw-divide-opacity: 1;
  border-color: rgb(241 245 249 / var(--tw-divide-opacity, 1));
}

.overflow-hidden {
  overflow: hidden;
}

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

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

.rounded {
  border-radius: 0.25rem;
}

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

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

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

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

.border {
  border-width: 1px;
}

.border-r {
  border-right-width: 1px;
}

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

.border-amber-100 {
  --tw-border-opacity: 1;
  border-color: rgb(254 243 199 / var(--tw-border-opacity, 1));
}

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

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

.border-red-200 {
  --tw-border-opacity: 1;
  border-color: rgb(254 202 202 / var(--tw-border-opacity, 1));
}

.border-sky-100 {
  --tw-border-opacity: 1;
  border-color: rgb(224 242 254 / var(--tw-border-opacity, 1));
}

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

.border-slate-200 {
  --tw-border-opacity: 1;
  border-color: rgb(226 232 240 / var(--tw-border-opacity, 1));
}

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

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

.bg-astropalo-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(230 239 255 / var(--tw-bg-opacity, 1));
}

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

.bg-emerald-400\/30 {
  background-color: rgb(52 211 153 / 0.3);
}

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

.bg-orange-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(255 237 213 / var(--tw-bg-opacity, 1));
}

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

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

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

.bg-sky-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(240 249 255 / var(--tw-bg-opacity, 1));
}

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

.bg-slate-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(248 250 252 / var(--tw-bg-opacity, 1));
}

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

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

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

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

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

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

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

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

.bg-\[radial-gradient\(ellipse_at_top_right\2c _\#bae6fd_0\%\2c _\#f0f9ff_50\%\2c _white_100\%\)\] {
  background-image: radial-gradient(ellipse at top right, #bae6fd 0%, #f0f9ff 50%, white 100%);
}

.bg-gradient-to-b {
  background-image: linear-gradient(to bottom, var(--tw-gradient-stops));
}

.bg-gradient-to-br {
  background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
}

.bg-gradient-to-r {
  background-image: linear-gradient(to right, var(--tw-gradient-stops));
}

.bg-gradient-to-tr {
  background-image: linear-gradient(to top right, var(--tw-gradient-stops));
}

.from-amber-500 {
  --tw-gradient-from: #f59e0b var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(245 158 11 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.from-astropalo-50 {
  --tw-gradient-from: #f2f7ff var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(242 247 255 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.from-astropalo-600 {
  --tw-gradient-from: #2563eb var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(37 99 235 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.from-emerald-500 {
  --tw-gradient-from: #10b981 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(16 185 129 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.from-orange-500 {
  --tw-gradient-from: #f97316 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(249 115 22 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.from-purple-500 {
  --tw-gradient-from: #a855f7 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(168 85 247 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.from-red-50 {
  --tw-gradient-from: #fef2f2 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(254 242 242 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.from-red-50\/60 {
  --tw-gradient-from: rgb(254 242 242 / 0.6) var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(254 242 242 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.from-red-500 {
  --tw-gradient-from: #ef4444 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(239 68 68 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.from-sky-500 {
  --tw-gradient-from: #0ea5e9 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(14 165 233 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.from-yellow-500 {
  --tw-gradient-from: #eab308 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(234 179 8 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.to-amber-400 {
  --tw-gradient-to: #fbbf24 var(--tw-gradient-to-position);
}

.to-astropalo-400 {
  --tw-gradient-to: #73a1ff var(--tw-gradient-to-position);
}

.to-astropalo-500 {
  --tw-gradient-to: #3e7bff var(--tw-gradient-to-position);
}

.to-emerald-400 {
  --tw-gradient-to: #34d399 var(--tw-gradient-to-position);
}

.to-orange-400 {
  --tw-gradient-to: #fb923c var(--tw-gradient-to-position);
}

.to-orange-50 {
  --tw-gradient-to: #fff7ed var(--tw-gradient-to-position);
}

.to-orange-50\/60 {
  --tw-gradient-to: rgb(255 247 237 / 0.6) var(--tw-gradient-to-position);
}

.to-orange-500 {
  --tw-gradient-to: #f97316 var(--tw-gradient-to-position);
}

.to-pink-500 {
  --tw-gradient-to: #ec4899 var(--tw-gradient-to-position);
}

.to-red-400 {
  --tw-gradient-to: #f87171 var(--tw-gradient-to-position);
}

.to-sky-400 {
  --tw-gradient-to: #38bdf8 var(--tw-gradient-to-position);
}

.to-yellow-400 {
  --tw-gradient-to: #facc15 var(--tw-gradient-to-position);
}

.p-3 {
  padding: 0.75rem;
}

.p-4 {
  padding: 1rem;
}

.p-5 {
  padding: 1.25rem;
}

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

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

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

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

.px-5 {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

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

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

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

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

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

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

.py-2\.5 {
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
}

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

.py-3\.5 {
  padding-top: 0.875rem;
  padding-bottom: 0.875rem;
}

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

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

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

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

.pb-3 {
  padding-bottom: 0.75rem;
}

.pb-5 {
  padding-bottom: 1.25rem;
}

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

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

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

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

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

.font-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.font-sans {
  font-family: Inter, system-ui, sans-serif;
}

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

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

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

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

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

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

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

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

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

.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}

.font-bold {
  font-weight: 700;
}

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

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

.uppercase {
  text-transform: uppercase;
}

.capitalize {
  text-transform: capitalize;
}

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

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

.text-amber-700 {
  --tw-text-opacity: 1;
  color: rgb(180 83 9 / var(--tw-text-opacity, 1));
}

.text-astropalo-100 {
  --tw-text-opacity: 1;
  color: rgb(230 239 255 / var(--tw-text-opacity, 1));
}

.text-astropalo-50 {
  --tw-text-opacity: 1;
  color: rgb(242 247 255 / var(--tw-text-opacity, 1));
}

.text-astropalo-600 {
  --tw-text-opacity: 1;
  color: rgb(37 99 235 / var(--tw-text-opacity, 1));
}

.text-emerald-500 {
  --tw-text-opacity: 1;
  color: rgb(16 185 129 / var(--tw-text-opacity, 1));
}

.text-emerald-600 {
  --tw-text-opacity: 1;
  color: rgb(5 150 105 / var(--tw-text-opacity, 1));
}

.text-emerald-700 {
  --tw-text-opacity: 1;
  color: rgb(4 120 87 / var(--tw-text-opacity, 1));
}

.text-orange-700 {
  --tw-text-opacity: 1;
  color: rgb(194 65 12 / var(--tw-text-opacity, 1));
}

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

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

.text-sky-700 {
  --tw-text-opacity: 1;
  color: rgb(3 105 161 / var(--tw-text-opacity, 1));
}

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

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

.text-slate-400 {
  --tw-text-opacity: 1;
  color: rgb(148 163 184 / var(--tw-text-opacity, 1));
}

.text-slate-500 {
  --tw-text-opacity: 1;
  color: rgb(100 116 139 / var(--tw-text-opacity, 1));
}

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

.text-yellow-700 {
  --tw-text-opacity: 1;
  color: rgb(161 98 7 / var(--tw-text-opacity, 1));
}

.text-astropalo-400 {
  --tw-text-opacity: 1;
  color: rgb(115 161 255 / var(--tw-text-opacity, 1));
}

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

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

.opacity-50 {
  opacity: 0.5;
}

.opacity-60 {
  opacity: 0.6;
}

.shadow-soft {
  --tw-shadow: 0 12px 30px rgba(15, 23, 42, 0.10);
  --tw-shadow-colored: 0 12px 30px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.shadow-soft-glow {
  --tw-shadow: 0 18px 45px rgba(37, 99, 235, 0.25);
  --tw-shadow-colored: 0 18px 45px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.shadow-soft-md {
  --tw-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
  --tw-shadow-colored: 0 16px 40px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

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

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

.transition {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.placeholder\:text-slate-400::-moz-placeholder {
  --tw-text-opacity: 1;
  color: rgb(148 163 184 / var(--tw-text-opacity, 1));
}

.placeholder\:text-slate-400::placeholder {
  --tw-text-opacity: 1;
  color: rgb(148 163 184 / var(--tw-text-opacity, 1));
}

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

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

.hover\:bg-red-50:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(254 242 242 / var(--tw-bg-opacity, 1));
}

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

.hover\:bg-slate-50:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(248 250 252 / var(--tw-bg-opacity, 1));
}

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

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

.hover\:shadow-soft-md:hover {
  --tw-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
  --tw-shadow-colored: 0 16px 40px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.focus\:border-astropalo-400:focus {
  --tw-border-opacity: 1;
  border-color: rgb(115 161 255 / var(--tw-border-opacity, 1));
}

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

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

.focus\:ring-astropalo-100:focus {
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(230 239 255 / var(--tw-ring-opacity, 1));
}

.group[open] .group-open\:rotate-180 {
  --tw-rotate: 180deg;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.group:hover .group-hover\:text-astropalo-600 {
  --tw-text-opacity: 1;
  color: rgb(37 99 235 / var(--tw-text-opacity, 1));
}

@media (min-width: 640px) {
  .sm\:block {
    display: block;
  }

  .sm\:hidden {
    display: none;
  }

  .sm\:flex {
    display: flex;
  }

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

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

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

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

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

  .sm\:px-7 {
    padding-left: 1.75rem;
    padding-right: 1.75rem;
  }

  .sm\:py-3\.5 {
    padding-top: 0.875rem;
    padding-bottom: 0.875rem;
  }
}

@media (min-width: 768px) {
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

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

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

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

  .md\:gap-0 {
    gap: 0px;
  }

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

@media (min-width: 1024px) {
  .lg\:flex {
    display: flex;
  }

  .lg\:sticky {
    position: sticky;
  }

  .lg\:top-6 {
    top: 1.5rem;
  }

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

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

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

  .lg\:ml-72 {
    margin-left: 18rem;
  }

  .lg\:block {
    display: block;
  }

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

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

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

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

  .lg\:py-20 {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }

  .lg\:py-32 {
    padding-top: 8rem;
    padding-bottom: 8rem;
  }

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

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

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

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

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

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

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

  .lg\:mb-14 {
    margin-bottom: 3.5rem;
  }

  .lg\:gap-6 {
    gap: 1.5rem;
  }

  .lg\:gap-8 {
    gap: 2rem;
  }

  .lg\:w-14 {
    width: 3.5rem;
  }

  .lg\:h-14 {
    height: 3.5rem;
  }

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

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

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

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

  .lg\:hidden {
    display: none;
  }
}

/* ── Mobile sidebar drawer ──────────────────────────────────────────── */
@media (max-width: 1023px) {
  #sidebar {
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    z-index: 40;
    height: 100vh;    /* fallback */
    height: 100dvh;   /* iOS Safari: excluye la barra del navegador */
    overflow: hidden; /* el aside no se desplaza; solo el nav interno */
  }
  #sidebar.sidebar-open {
    transform: translateX(0);
  }
  /* Reducir padding en pantallas pequeñas para que todo quepa */
  #sidebar-header {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
  #sidebar-footer {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }
}
/* Hide "Need a hand?" card on narrow viewports (mobile + medium desktop) */
@media (max-width: 1279px) {
  .sidebar-help-card {
    display: none;
  }
}

/* Overlay for mobile sidebar */
#sidebar-overlay {
  display: none;
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  background-color: rgba(15, 23, 42, 0.5);
  z-index: 35;
  cursor: pointer;
}
#sidebar-overlay.sidebar-open {
  display: block;
}
@media (min-width: 1024px) {
  #sidebar-overlay {
    display: none !important;
  }
}

@media (min-width: 1280px) {
  .xl\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ── Mobile UX fixes (max 767px) ───────────────────────────────────── */
@media (max-width: 767px) {
  /* dashboard/index.html — hide secondary table columns on narrow screens */
  .mob-col-hide {
    display: none;
  }

  /* account/settings.html — hide scrollbar in horizontal pill nav */
  .lg\:hidden nav {
    scrollbar-width: none;
  }
  .lg\:hidden nav::-webkit-scrollbar {
    display: none;
  }

  /* billing/subscription.html — reduce hero card font sizes on small screens */
  .subscription-plan-name {
    font-size: 1.75rem;   /* 28px instead of text-4xl 36px */
    line-height: 2rem;
  }
  .subscription-plan-price {
    font-size: 2.25rem;   /* 36px instead of text-5xl 48px */
    line-height: 2.5rem;
  }
}

/* ── Sites detail: tabs de findings ──────────────────────────────────── */
.finding-tab-bar {
  display: flex;
  gap: 0.25rem;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 1.25rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.finding-tab-bar::-webkit-scrollbar { display: none; }

.finding-tab-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 0.875rem;
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: 0.5rem 0.5rem 0 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color 0.15s, background-color 0.15s, border-color 0.15s;
  color: #94a3b8;
  background: transparent;
  cursor: pointer;
}
.finding-tab-btn.tab-active-urgent {
  border-bottom-color: #ef4444;
  color: #dc2626;
  background-color: rgba(254, 242, 242, 0.6);
}
.finding-tab-btn.tab-active-medium {
  border-bottom-color: #f59e0b;
  color: #d97706;
  background-color: rgba(255, 251, 235, 0.6);
}
.finding-tab-btn.tab-active-low {
  border-bottom-color: #94a3b8;
  color: #475569;
  background-color: #f8fafc;
}

/* ── Sites detail: tabla historial responsive ────────────────────────── */
.scan-history-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.scan-history-table {
  min-width: 440px;
  width: 100%;
}

/* ── Sites detail: hero text + CTA responsive ───────────────────────── */
@media (max-width: 767px) {
  .site-hero-title {
    font-size: 1.25rem;
    line-height: 1.4;
  }
  .site-hero-cta {
    width: 100%;
    justify-content: center;
  }
  .site-hero-flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  /* Ocultar columnas menos importantes en historial móvil */
  .scan-col-triggered,
  .scan-col-fin {
    display: none;
  }
}


/* ── Billing: sites desactivados ─────────────────────────────── */
.site-card-disabled {
  opacity: 0.45;
  pointer-events: none;
  cursor: not-allowed;
  filter: grayscale(30%);
}

.site-card-disabled * {
  cursor: not-allowed;
}

.billing-blocked-banner {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border: 1px solid #f59e0b;
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.scan-history-blurred {
  position: relative;
}

.scan-history-blurred .blurred-content {
  filter: blur(4px);
  user-select: none;
  pointer-events: none;
}

.scan-history-blurred .blur-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 12px;
  z-index: 10;
}

/* ── Pricing toggle ──────────────────────────────────────────── */
.pricing-toggle.active {
  background: #0e93f0;
  color: white;
}

/* ──────────────────────────────────────────────────────────
   Wizard "Añadir sitio" — clases wiz-*
────────────────────────────────────────────────────────── */
.wiz-wrapper{max-width:640px;margin:0 auto;padding:1.5rem 0}
.wiz-progress-outer{height:4px;background:#e2e8f0;border-radius:99px;margin-bottom:2rem}
.wiz-progress-inner{height:4px;border-radius:99px;background-image:linear-gradient(to top right,#2563eb,#73a1ff);transition:width .3s ease}
.wiz-steps-row{display:flex;align-items:flex-start;margin-bottom:2rem}
.wiz-step-item{display:flex;flex-direction:column;align-items:center;flex:1}
.wiz-step-connector{flex:1;height:2px;margin-top:18px;background:#e2e8f0}
.wiz-step-connector.done{background:#10b981}
.wiz-step-dot{width:36px;height:36px;border-radius:50%;flex-shrink:0;display:flex;align-items:center;justify-content:center;font-size:.8rem;font-weight:700;border:2px solid #e2e8f0;background:#fff;color:#94a3b8}
.wiz-step-dot.active{background-image:linear-gradient(to top right,#2563eb,#73a1ff);border-color:#2563eb;color:#fff;box-shadow:0 0 0 4px rgba(37,99,235,.15)}
.wiz-step-dot.done{background:#10b981;border-color:#10b981;color:#fff}
.wiz-step-lbl{font-size:.68rem;color:#94a3b8;margin-top:6px;text-align:center}
.wiz-step-lbl.active{color:#2563eb;font-weight:700}
.wiz-step-lbl.done{color:#10b981;font-weight:600}
.wiz-eyebrow{font-size:.68rem;font-weight:700;letter-spacing:.1em;color:#2563eb;text-transform:uppercase;margin-bottom:.4rem}
.wiz-title{font-size:1.35rem;font-weight:800;color:#0f172a;margin-bottom:.35rem;line-height:1.3}
.wiz-subtitle{font-size:.88rem;color:#64748b;line-height:1.6;margin-bottom:1.5rem}
.wiz-platform-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:.85rem;margin-bottom:1.25rem}
.wiz-platform-card{border:2px solid #e2e8f0;border-radius:.85rem;padding:1.25rem 1rem;display:flex;flex-direction:column;align-items:center;gap:.6rem;cursor:pointer;background:#fff;transition:border-color .15s,box-shadow .15s;user-select:none}
.wiz-platform-card:hover{border-color:#a8c6ff}
.wiz-platform-card.selected{border-color:#2563eb;background:#eff6ff;box-shadow:0 0 0 3px rgba(37,99,235,.12)}
.wiz-platform-card-name{font-size:.88rem;font-weight:700;color:#1e293b}
.wiz-reassurance{background:#f0f9ff;border:1px solid #bae6fd;border-radius:.75rem;padding:.9rem 1.1rem;font-size:.85rem;color:#0369a1;line-height:1.55;margin-top:.5rem}
.wiz-skip-banner{background:#f8fafc;border:1.5px solid #e2e8f0;border-radius:.75rem;padding:.85rem 1.1rem;margin-bottom:1.5rem;display:flex;align-items:center;justify-content:space-between;gap:1rem}
.wiz-skip-banner p{font-size:.85rem;color:#475569;margin:0;line-height:1.5}
.wiz-btn-skip-main{flex-shrink:0;display:inline-flex;align-items:center;gap:.35rem;border-radius:.65rem;border:1.5px solid #e2e8f0;background:#fff;padding:.5rem 1rem;font-weight:700;font-size:.82rem;color:#475569;cursor:pointer;white-space:nowrap;box-shadow:0 2px 8px rgba(15,23,42,.06)}
.wiz-or-divider{display:flex;align-items:center;gap:.75rem;margin-bottom:1.5rem}
.wiz-or-divider hr{flex:1;border:none;border-top:1px solid #e2e8f0}
.wiz-or-divider span{font-size:.75rem;color:#94a3b8;font-weight:600;white-space:nowrap}
.wiz-security-note{display:flex;align-items:flex-start;gap:.6rem;margin-top:1.25rem;padding:.75rem 1rem;background:#f0fdf4;border-radius:.65rem;border:1px solid #d1fae5}
.wiz-security-note p{font-size:.78rem;color:#166534;margin:0;line-height:1.5}
.wiz-summary-block{border:1px solid #f1f5f9;border-radius:.75rem;overflow:hidden;margin-bottom:1rem}
.wiz-summary-row{display:flex;align-items:center;justify-content:space-between;padding:.8rem 1.1rem;gap:1rem;border-bottom:1px solid #f8fafc}
.wiz-summary-row:last-child{border-bottom:none}
.wiz-summary-label{font-size:.72rem;font-weight:700;color:#94a3b8;text-transform:uppercase;letter-spacing:.05em;white-space:nowrap}
.wiz-summary-value{font-size:.9rem;font-weight:600;color:#1e293b;text-align:right;flex:1}
.wiz-edit-link{font-size:.75rem;font-weight:600;color:#2563eb;cursor:pointer;white-space:nowrap;flex-shrink:0;background:none;border:none;padding:0}
.wiz-platform-pill{display:inline-flex;align-items:center;gap:.4rem;background:#eff6ff;border:1px solid #bfdbfe;border-radius:99px;padding:.2rem .7rem;font-size:.82rem;font-weight:700;color:#1d4ed8}
.wiz-skip-pill{display:inline-flex;align-items:center;gap:.4rem;background:#f8fafc;border:1px solid #e2e8f0;border-radius:99px;padding:.2rem .7rem;font-size:.82rem;color:#94a3b8}
.wiz-launch-box{background:linear-gradient(135deg,#eff6ff,#f5f3ff);border:1px solid #bfdbfe;border-radius:.85rem;padding:1.1rem 1.25rem;margin-top:.25rem;display:flex;align-items:center;gap:.85rem}
.wiz-launch-icon{width:40px;height:40px;border-radius:50%;background-image:linear-gradient(to top right,#2563eb,#73a1ff);display:flex;align-items:center;justify-content:center;flex-shrink:0}
.wiz-launch-title{font-size:.88rem;font-weight:700;color:#1e293b;margin-bottom:.15rem}
.wiz-launch-text{font-size:.78rem;color:#64748b;line-height:1.5}
.wiz-nav{display:flex;justify-content:space-between;margin-top:1.5rem;padding-top:1.25rem;border-top:1px solid #f1f5f9;align-items:center}

/* checkout plan buttons */
.bg-astropalo-600 {
  --tw-bg-opacity: 1;
  background-color: rgb(37 99 235 / var(--tw-bg-opacity, 1));
}
.hover\:bg-astropalo-700:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(29 78 216 / var(--tw-bg-opacity, 1));
}
.border-astropalo-200 {
  --tw-border-opacity: 1;
  border-color: rgb(191 219 254 / var(--tw-border-opacity, 1));
}
.hover\:border-astropalo-200:hover {
  --tw-border-opacity: 1;
  border-color: rgb(191 219 254 / var(--tw-border-opacity, 1));
}

/* ============================================================
   REDESIGN 2026 — Plus Jakarta Sans + Dark Sidebar
   ============================================================ */

/* Override font */
html, body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif !important;
}

/* Dark sidebar overrides */
#sidebar {
  background: #0f172a;
  border-right: 1px solid rgba(255,255,255,0.06);
}
#sidebar #sidebar-header .text-slate-400 {
  color: rgba(148, 163, 184, 0.7);
}
#sidebar hr {
  border-color: rgba(255,255,255,0.08);
}
#sidebar .text-slate-600 {
  color: #94a3b8;
}
#sidebar a:hover {
  background: rgba(255,255,255,0.07) !important;
  color: #f1f5f9 !important;
}
#sidebar-footer {
  border-top: 1px solid rgba(255,255,255,0.08);
}
#sidebar-footer .bg-slate-50 {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.08);
}
#sidebar-footer .text-slate-800 {
  color: #f1f5f9;
}
#sidebar-footer .text-slate-400 {
  color: #64748b;
}
#sidebar-footer button.text-slate-400 {
  color: #64748b;
}
#sidebar-footer button:hover {
  background: rgba(239,68,68,0.15) !important;
  color: #f87171 !important;
}

/* Tabler icon sizes */
.ti-lg { font-size: 1.25rem !important; }
.ti-xl { font-size: 1.5rem !important; }
.ti-2xl { font-size: 2rem !important; }

/* Active nav item — dark sidebar */
.nav-active-dark {
  background: rgba(255,255,255,0.10);
  border-left: 3px solid #73a1ff;
  color: #f1f5f9 !important;
  padding-left: calc(1rem - 3px) !important;
}
.nav-inactive-dark {
  color: #94a3b8;
  border-left: 3px solid transparent;
  padding-left: calc(1rem - 3px) !important;
}
.nav-inactive-dark:hover {
  background: rgba(255,255,255,0.07);
  color: #e2e8f0 !important;
}

/* Topbar improvement */
.topbar {
  background: white;
  border-bottom: 1px solid #f1f5f9;
  padding: 1.25rem 1.5rem;
}
@media (min-width: 1024px) {
  .topbar { padding: 1.25rem 2.5rem; }
}

/* ============================================================
   REDESIGN 2026 — Plus Jakarta Sans + Tabler Icons
   ============================================================ */

/* Override font */
html, body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

/* Hero dark gradient */
.hero-dark {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #1e40af 100%);
  position: relative;
  overflow: hidden;
}
.hero-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.05) 1px, transparent 0);
  background-size: 32px 32px;
}
.hero-dark .hero-content {
  position: relative;
  z-index: 1;
}

/* Hero animation */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-fadein-up {
  animation: fadeInUp 0.7s ease both;
}
.animate-fadein-up-delay {
  animation: fadeInUp 0.7s ease 0.15s both;
}
.animate-fadein-up-delay2 {
  animation: fadeInUp 0.7s ease 0.3s both;
}

/* Mobile nav menu */
#mobile-nav-menu {
  display: none;
}
#mobile-nav-menu.open {
  display: block;
}

/* Nav hamburger icon toggle */
.hamburger-icon { display: block; }
.close-icon     { display: none; }
#mobile-nav-toggle.open .hamburger-icon { display: none; }
#mobile-nav-toggle.open .close-icon     { display: block; }

/* Input with icon wrapper */
.input-icon-wrap {
  position: relative;
}
.input-icon-wrap .input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 1rem;
  pointer-events: none;
}
.input-icon-wrap input {
  padding-left: 2.6rem !important;
}

/* Tabler icon sizes */
.ti { font-size: 1rem; }
.ti-lg { font-size: 1.5rem; }
.ti-xl { font-size: 2rem; }
.ti-2xl { font-size: 3rem; }

/* Landing mobile nav hide desktop items below sm */
@media (max-width: 639px) {
  #landing-nav-desktop { display: none; }
}

/* ============================================================
   HERO CLARO + FORMAS DECORATIVAS (rediseño proporcional)
   ============================================================ */

.hero-light {
  background: linear-gradient(150deg, #f0f4ff 0%, #fafbff 40%, #f8fafc 100%);
}

/* Formas decorativas geométricas */
.deco-circle-1 {
  position: absolute; top: 60px; left: 5%;
  width: 130px; height: 130px; border-radius: 50%;
  border: 2px dashed #cbd5e1; opacity: 0.45;
  pointer-events: none;
}
.deco-circle-2 {
  position: absolute; bottom: 60px; right: 6%;
  width: 72px; height: 72px; border-radius: 50%;
  background: #dbeafe; opacity: 0.5;
  pointer-events: none;
}
.deco-square-1 {
  position: absolute; top: 70px; right: 8%;
  width: 58px; height: 58px;
  border: 2px solid #bfdbfe; border-radius: 12px;
  background: #eff6ff; opacity: 0.5;
  transform: rotate(18deg);
  pointer-events: none;
}
.deco-triangle-1 {
  position: absolute; bottom: 80px; left: 7%;
  width: 0; height: 0;
  border-left: 28px solid transparent;
  border-right: 28px solid transparent;
  border-bottom: 48px solid #dbeafe;
  opacity: 0.4;
  pointer-events: none;
}
@media (max-width: 768px) {
  .deco-circle-1, .deco-circle-2, .deco-square-1, .deco-triangle-1 { display: none; }
}

/* Input sin estilos dentro del form-card del hero */
.hero-search-form input[type="url"],
.hero-search-form input[type="text"] {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  width: 100% !important;
  padding: 0.5rem 0 !important;
  font-size: 0.9375rem !important;
}
.hero-search-form input[type="url"]:focus,
.hero-search-form input[type="text"]:focus {
  outline: none !important;
  ring: 0 !important;
  border: none !important;
  box-shadow: none !important;
}

/* Hero accent text + big bg icon + chips */
.hero-accent {
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Gran icono de escudo de fondo */
.deco-bg-icon {
  position: absolute;
  right: -40px; bottom: -20px;
  font-size: 18rem;
  color: #dbeafe;
  opacity: 0.25;
  pointer-events: none;
  line-height: 1;
  user-select: none;
}
@media (max-width: 768px) { .deco-bg-icon { display: none; } }

/* Chips de ejemplo bajo el form */
.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 0.2rem 0.75rem;
  font-size: 0.75rem;
  color: #475569;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
  font-family: inherit;
}
.hero-chip:hover {
  border-color: #93c5fd;
  color: #2563eb;
}

/* Ajuste formas decorativas — más pronunciadas */
.deco-circle-1 { width: 150px; height: 150px; opacity: 0.5; }
.deco-circle-2 { width: 90px; height: 90px; opacity: 0.55; }
.deco-square-1 { width: 70px; height: 70px; opacity: 0.55; }

/* ============================================================
   HERO V2 — ScanHub-inspired: warm blobs + bold type + form card
   ============================================================ */

.hero-v2 {
  background: #fafaf8;
  position: relative;
  overflow: hidden;
  padding: 5rem 0 6rem;
}
@media (min-width: 1024px) {
  .hero-v2 { padding: 6rem 0 8rem; }
}

/* Warm peach blob — top right */
.hero-blob-warm {
  position: absolute;
  top: -120px;
  right: -180px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #fde68a 0%, #fbbf24 30%, #fb923c 60%, transparent 80%);
  opacity: 0.22;
  filter: blur(60px);
  pointer-events: none;
}

/* Cool blue blob — bottom left */
.hero-blob-cool {
  position: absolute;
  bottom: -100px;
  left: -140px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle at 60% 60%, #bfdbfe 0%, #93c5fd 40%, transparent 75%);
  opacity: 0.25;
  filter: blur(50px);
  pointer-events: none;
}

/* Scope / target decorative shape — left side */
.hero-deco-scope {
  position: absolute;
  left: -80px;
  top: 50%;
  transform: translateY(-55%);
  width: 280px;
  height: 280px;
  pointer-events: none;
}
.hero-deco-scope-outer {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px dashed #cbd5e1;
  opacity: 0.5;
}
.hero-deco-scope-inner {
  position: absolute;
  inset: 40px;
  border-radius: 50%;
  border: 2px solid #bfdbfe;
  opacity: 0.6;
  background: radial-gradient(circle, rgba(219,234,254,0.25) 0%, transparent 70%);
}
@media (max-width: 1023px) {
  .hero-deco-scope { display: none; }
}

/* Solid rounded square — right side */
.hero-deco-card {
  position: absolute;
  right: 5%;
  top: 15%;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, #7dd3fc, #0e93f0);
  opacity: 0.35;
  transform: rotate(12deg);
  pointer-events: none;
}
@media (max-width: 767px) {
  .hero-deco-card { display: none; }
}

/* Triangle — bottom right */
.hero-deco-tri {
  position: absolute;
  bottom: 10%;
  right: 8%;
  width: 0; height: 0;
  border-left: 24px solid transparent;
  border-right: 24px solid transparent;
  border-bottom: 42px solid #bfdbfe;
  opacity: 0.5;
  pointer-events: none;
}
@media (max-width: 767px) {
  .hero-deco-tri { display: none; }
}

/* Brand blue accent text */
.hero-accent-warm {
  background: linear-gradient(135deg, #0e93f0 0%, #38b6ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Form card — white pill with internal structure */
.hero-form-card {
  display: flex;
  align-items: stretch;
  background: white;
  border-radius: 1rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.09), 0 1px 4px rgba(0,0,0,0.05);
  border: 1px solid #e2e8f0;
  overflow: hidden;
  min-height: 60px;
}

/* Input area inside form card */
.hero-form-input-area {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.625rem 1rem;
  min-width: 0;
}

/* Globe icon inside form */
.hero-form-icon {
  font-size: 1.125rem;
  color: #94a3b8;
  flex-shrink: 0;
  line-height: 1;
}

/* Inputs inside form card — completely reset */
.hero-form-card input[type="url"],
.hero-form-card input[type="text"],
.hero-search-form.hero-form-card input {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
  width: 100% !important;
  padding: 0 !important;
  font-size: 0.9375rem !important;
  color: #1e293b;
  font-family: inherit;
}
.hero-form-card input::placeholder {
  color: #94a3b8;
}

/* Vertical divider */
.hero-form-divider {
  width: 1px;
  background: #e2e8f0;
  margin: 0.5rem 0;
  flex-shrink: 0;
}

/* Submit button — brand blue gradient, flush right */
.hero-form-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 1.5rem;
  background: linear-gradient(135deg, #0e93f0, #38b6ff);
  color: white;
  font-size: 0.875rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: filter 0.15s, transform 0.15s;
  letter-spacing: -0.01em;
  border-radius: 0;
}
.hero-form-btn:hover {
  filter: brightness(1.08);
}
.hero-form-btn i {
  font-size: 1rem;
}

/* Mobile: stack form vertically */
@media (max-width: 639px) {
  .hero-form-card {
    flex-direction: column;
    border-radius: 0.875rem;
  }
  .hero-form-divider {
    width: auto;
    height: 1px;
    margin: 0 0.75rem;
  }
  .hero-form-btn {
    border-radius: 0 0 0.875rem 0.875rem;
    padding: 0.875rem 1.5rem;
    justify-content: center;
  }
}

/* CTA bottom form card */
.cta-form-card {
  display: flex;
  align-items: stretch;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 1rem;
  overflow: hidden;
  backdrop-blur: 8px;
  min-height: 56px;
}
.cta-form-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 0 1.25rem;
  color: white;
  font-size: 0.9375rem;
  font-family: inherit;
  min-width: 0;
}
.cta-form-input::placeholder {
  color: rgba(255,255,255,0.5);
}
.cta-form-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 1.5rem;
  background: white;
  color: #0369a1;
  font-size: 0.875rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.15s;
  font-family: inherit;
}
.cta-form-btn:hover {
  background: #f0f9ff;
}
@media (max-width: 639px) {
  .cta-form-card { flex-direction: column; border-radius: 0.875rem; }
  .cta-form-input { padding: 0.875rem 1.25rem; border-bottom: 1px solid rgba(255,255,255,0.2); }
  .cta-form-btn { padding: 0.875rem 1.5rem; justify-content: center; }
}

/* ============================================================
   THREAT STATS — editorial dark section
   ============================================================ */
.threat-stats-section {
  background: #0f172a;
  padding: 5rem 1.5rem;
  overflow: hidden;
}
.threat-stats-inner {
  max-width: 72rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
}
@media (max-width: 767px) {
  .threat-stats-inner { grid-template-columns: 1fr; }
}

/* Hero stat — huge number */
.threat-stat-hero {
  padding: 2rem 3rem 2rem 0;
  border-right: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (max-width: 767px) {
  .threat-stat-hero { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); padding: 0 0 2.5rem; }
}
.threat-number-hero {
  font-size: clamp(5rem, 16vw, 10rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.06em;
  color: #ef4444;
  margin-bottom: 1.25rem;
}
.threat-percent {
  font-size: 0.5em;
  color: rgba(239,68,68,0.7);
}
.threat-label-hero {
  font-size: 1.0625rem;
  color: #e2e8f0;
  line-height: 1.55;
  max-width: 26ch;
  font-weight: 500;
}
.threat-divider {
  width: 2.5rem;
  height: 2px;
  background: rgba(255,255,255,0.15);
  margin: 1.25rem 0;
}
.threat-source {
  font-size: 0.75rem;
  color: #475569;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Secondary stats */
.threat-stats-secondary {
  padding: 2rem 0 2rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}
@media (max-width: 767px) {
  .threat-stats-secondary { padding: 2.5rem 0 0; }
}
.threat-stat-sm {
  padding: 1.5rem 0;
}
.threat-stats-divider {
  height: 1px;
  background: rgba(255,255,255,0.07);
}
.threat-number-sm {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #0e93f0;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.threat-label-sm {
  font-size: 0.875rem;
  color: #94a3b8;
  line-height: 1.5;
  max-width: 30ch;
}
.threat-stat-cta {
  background: rgba(14,147,240,0.07);
  border: 1px solid rgba(14,147,240,0.2);
  border-radius: 1rem;
  padding: 1.5rem;
  margin-top: 0.5rem;
}

/* ============================================================
   SCANNER TERMINAL — security scan output style
   ============================================================ */
.scanner-section {
  background: #0f172a;
  padding: 5rem 0 6rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.scanner-terminal {
  background: #0d1117;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 32px 64px rgba(0,0,0,0.5);
}

/* Title bar */
.scanner-terminal-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: #161b22;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.scanner-dot {
  width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0;
}
.scanner-dot-red    { background: #ef4444; }
.scanner-dot-yellow { background: #f59e0b; }
.scanner-dot-green  { background: #22c55e; }
.scanner-terminal-title {
  flex: 1;
  text-align: center;
  font-size: 0.75rem;
  color: #64748b;
  font-family: 'SF Mono', 'Fira Code', monospace;
  letter-spacing: 0.02em;
}
.scanner-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.6875rem;
  font-weight: 700;
  color: #22c55e;
  letter-spacing: 0.06em;
  font-family: 'SF Mono', monospace;
}
.scanner-live-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #22c55e;
  animation: scan-pulse 1.5s ease-in-out infinite;
}
@keyframes scan-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* Command line */
.scanner-cmd-line {
  padding: 0.875rem 1.5rem;
  font-family: 'SF Mono', 'Fira Code', 'Courier New', monospace;
  font-size: 0.8125rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.scanner-cursor {
  color: #0e93f0;
  animation: blink 1s step-end infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Findings */
.scanner-findings {
  padding: 0.5rem 0;
}
.scanner-finding {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.875rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: background 0.15s;
}
.scanner-finding:last-child { border-bottom: none; }
.scanner-finding:hover { background: rgba(255,255,255,0.03); }

.scanner-finding-left {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex-shrink: 0;
  width: 10rem;
}
.scanner-severity {
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-family: 'SF Mono', monospace;
  white-space: nowrap;
}
.scanner-sev-critical { background: rgba(239,68,68,0.18); color: #f87171; border: 1px solid rgba(239,68,68,0.3); }
.scanner-sev-high     { background: rgba(249,115,22,0.18); color: #fb923c; border: 1px solid rgba(249,115,22,0.3); }
.scanner-sev-medium   { background: rgba(234,179,8,0.18);  color: #facc15; border: 1px solid rgba(234,179,8,0.3); }

.scanner-finding-icon {
  font-size: 1rem;
  color: #475569;
}

.scanner-finding-body { flex: 1; min-width: 0; }
.scanner-finding-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 0.15rem;
}
.scanner-finding-desc {
  font-size: 0.75rem;
  color: #64748b;
  line-height: 1.5;
}

.scanner-check-icon {
  font-size: 1rem;
  color: #22c55e;
  flex-shrink: 0;
}

/* Terminal footer */
.scanner-terminal-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1.5rem;
  background: #161b22;
  border-top: 1px solid rgba(255,255,255,0.07);
  font-size: 0.75rem;
  font-family: 'SF Mono', monospace;
}

@media (max-width: 639px) {
  .scanner-finding-left { width: auto; }
  .scanner-finding { padding: 0.875rem 1rem; gap: 0.75rem; }
  .scanner-terminal-footer { flex-direction: column; gap: 0.35rem; text-align: center; }
}

/* Trust row under form */
.hero-trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}
.hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  color: #64748b;
  font-weight: 500;
}
.hero-trust-item i {
  color: #22c55e;
  font-size: 0.875rem;
}


/* ============================================================
   RESULTS PAGE — scan results redesign
   ============================================================ */

/* ---- HERO DANGER (findings present) ---- */
.results-hero-danger {
  position: relative;
  background: #ffffff;
  overflow: hidden;
  padding: 4rem 1.5rem 3.5rem;
  text-align: center;
}
.results-hero-blob {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(239,68,68,0.07) 0%, rgba(249,115,22,0.03) 50%, transparent 75%);
  pointer-events: none;
}
.results-hero-inner {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
}
.results-hero-top {
  margin-bottom: 1.5rem;
}
.results-top-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  font-family: 'SF Mono', monospace;
}
.results-top-critical {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}
.results-top-high {
  background: #fff7ed;
  color: #ea580c;
  border: 1px solid #fdba74;
}
.results-top-medium {
  background: #fefce8;
  color: #ca8a04;
  border: 1px solid #fde047;
}
.results-hero-headline {
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  font-weight: 900;
  color: #0f172a;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.results-headline-num {
  color: #dc2626;
}
.results-hero-url {
  font-size: 0.875rem;
  color: #64748b;
  margin-bottom: 2rem;
  word-break: break-all;
}
.results-severity-bar {
  display: flex;
  justify-content: center;
}
.results-severity-pills {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  flex-wrap: wrap;
  justify-content: center;
}
.results-sev-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
  font-family: 'SF Mono', monospace;
}
.results-pill-critical { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }
.results-pill-high     { background: #fff7ed; color: #ea580c; border: 1px solid #fdba74; }
.results-pill-medium   { background: #fefce8; color: #ca8a04; border: 1px solid #fde047; }
.results-pill-low      { background: #f0fdf4; color: #16a34a; border: 1px solid #bbf7d0; }
.results-pill-info     { background: #f8fafc; color: #64748b; border: 1px solid #e2e8f0; }

/* ---- FINDINGS SECTION ---- */
.results-findings-section {
  background: #f8fafc;
  padding: 0 1.5rem 4rem;
}
.results-findings-inner {
  max-width: 820px;
  margin: 0 auto;
}

/* ---- Individual finding rows (inside scanner-terminal) ---- */
.results-finding-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.125rem 1.5rem;
  border-bottom: 1px solid #f1f5f9;
  transition: background 0.15s;
}
.results-finding-row:last-child { border-bottom: none; }
.results-finding-row:hover { background: #f8fafc; }

.results-finding-sev-col {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  min-width: 9rem;
}
.scanner-sev-low  { background: rgba(34,197,94,0.12);  color: #4ade80; border: 1px solid rgba(34,197,94,0.25); }
.scanner-sev-info { background: rgba(148,163,184,0.12); color: #94a3b8; border: 1px solid rgba(148,163,184,0.2); }

.results-finding-icon-critical { color: #dc2626; font-size: 1rem; }
.results-finding-icon-high     { color: #ea580c; font-size: 1rem; }
.results-finding-icon-medium   { color: #ca8a04; font-size: 1rem; }
.results-finding-icon-low      { color: #16a34a; font-size: 1rem; }
.results-finding-icon-info     { color: #64748b; font-size: 1rem; }

.results-finding-body { flex: 1; min-width: 0; }
.results-finding-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.3rem;
  line-height: 1.4;
}
.results-finding-desc {
  font-size: 0.8125rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

/* Remediación borrosa */
.results-remediation-wrap {
  position: relative;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  padding: 0.625rem 0.875rem;
  overflow: hidden;
}
.results-remediation-blur {
  font-size: 0.8125rem;
  color: #94a3b8;
  line-height: 1.5;
  filter: blur(4px);
  user-select: none;
  pointer-events: none;
  overflow: hidden;
  max-height: 2.5rem;
}
.results-remediation-unlock {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #0e93f0;
  text-decoration: none;
  background: rgba(248,250,252,0.88);
  backdrop-filter: blur(2px);
  transition: color 0.15s, background 0.15s;
}
.results-remediation-unlock:hover {
  color: #0057b8;
  background: rgba(248,250,252,0.95);
}

/* ---- CTA SECTION ---- */
.results-cta-section {
  background: linear-gradient(135deg, #0e2a4a 0%, #0b1829 50%, #0f172a 100%);
  padding: 4rem 1.5rem 5rem;
  text-align: center;
  border-top: 1px solid rgba(14,147,240,0.15);
}
.results-cta-inner {
  max-width: 600px;
  margin: 0 auto;
}
.results-cta-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 1.25rem;
  background: linear-gradient(135deg, #0e93f0, #0057b8);
  box-shadow: 0 16px 48px rgba(14,147,240,0.35);
  margin-bottom: 1.5rem;
}
.results-cta-title {
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  font-weight: 900;
  color: #f8fafc;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 0.875rem;
}
.results-cta-subtitle {
  font-size: 1rem;
  color: #94a3b8;
  line-height: 1.65;
  margin-bottom: 2.25rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.results-cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 1.25rem;
}
.results-cta-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 2.25rem;
  border-radius: 0.875rem;
  background: #fff;
  color: #0e1a2e;
  font-weight: 800;
  font-size: 1.0625rem;
  text-decoration: none;
  box-shadow: 0 8px 32px rgba(255,255,255,0.15);
  transition: transform 0.15s, box-shadow 0.15s;
}
.results-cta-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(255,255,255,0.2);
  color: #0e1a2e;
}
.results-cta-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 1.5rem;
  border-radius: 0.75rem;
  background: rgba(255,255,255,0.06);
  color: #94a3b8;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.1);
  transition: background 0.15s, color 0.15s;
}
.results-cta-btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  color: #e2e8f0;
}
.results-cta-note {
  font-size: 0.8125rem;
  color: #475569;
}

/* ---- SAFE HERO (no findings) ---- */
.results-safe-hero {
  position: relative;
  background: #f8fafc;
  overflow: hidden;
  padding: 5rem 1.5rem 5rem;
  text-align: center;
}
.results-safe-blob {
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(34,197,94,0.12) 0%, rgba(14,147,240,0.06) 60%, transparent 80%);
  pointer-events: none;
}
.results-safe-inner {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
}
.results-safe-shield {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 1.75rem;
  background: linear-gradient(135deg, #dcfce7, #bbf7d0);
  border: 2px solid #86efac;
  margin-bottom: 1.5rem;
}
.results-safe-shield i {
  font-size: 2.5rem;
  color: #16a34a;
}
.results-safe-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}
.results-safe-url {
  font-size: 0.875rem;
  color: #64748b;
  margin-bottom: 1rem;
  word-break: break-all;
}
.results-safe-desc {
  font-size: 1rem;
  color: #475569;
  line-height: 1.65;
  max-width: 460px;
  margin: 0 auto 2.5rem;
}
.results-safe-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
  margin-bottom: 2.5rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(15,23,42,0.06);
}
.results-safe-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
}
.results-safe-feat-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.2rem;
}
.results-safe-feat-desc {
  font-size: 0.8125rem;
  color: #64748b;
  line-height: 1.55;
}
.results-safe-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.875rem 2rem;
  border-radius: 0.875rem;
  background: linear-gradient(135deg, #0e93f0, #0057b8);
  color: #fff;
  font-weight: 800;
  font-size: 1.0625rem;
  text-decoration: none;
  box-shadow: 0 8px 32px rgba(14,147,240,0.3);
  margin-bottom: 0.875rem;
  transition: transform 0.15s, box-shadow 0.15s;
}
.results-safe-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(14,147,240,0.4);
  color: #fff;
}
.results-safe-note {
  font-size: 0.8125rem;
  color: #94a3b8;
}

/* ---- Light theme overrides — scanner terminal inside results page ---- */
.results-findings-section .scanner-terminal {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 4px 24px rgba(15,23,42,0.08);
}
.results-findings-section .scanner-terminal-bar {
  background: #f8fafc;
  border-bottom-color: #e2e8f0;
}
.results-findings-section .scanner-terminal-title { color: #94a3b8; }
.results-findings-section .scanner-terminal-footer {
  background: #f8fafc;
  border-top-color: #e2e8f0;
}
.results-findings-section .scanner-sev-critical { background: #fef2f2; color: #dc2626; border-color: #fecaca; }
.results-findings-section .scanner-sev-high     { background: #fff7ed; color: #ea580c; border-color: #fdba74; }
.results-findings-section .scanner-sev-medium   { background: #fefce8; color: #ca8a04; border-color: #fde047; }
.results-findings-section .scanner-sev-low      { background: #f0fdf4; color: #16a34a; border-color: #bbf7d0; }
.results-findings-section .scanner-sev-info     { background: #f8fafc; color: #64748b; border-color: #e2e8f0; }

/* ---- Responsive adjustments ---- */
@media (max-width: 639px) {
  .results-hero-danger { padding: 3rem 1rem 2.5rem; }
  .results-findings-section { padding: 0 1rem 3rem; }
  .results-cta-section { padding: 3rem 1rem 4rem; }
  .results-safe-hero { padding: 3.5rem 1rem 4rem; }
  .results-finding-row { padding: 1rem; gap: 0.75rem; }
  .results-finding-sev-col { min-width: auto; flex-direction: column; align-items: flex-start; gap: 0.3rem; }
  .results-cta-btn-primary { width: 100%; justify-content: center; }
  .results-cta-btn-secondary { width: 100%; justify-content: center; }
}

/* ================================================================
   SCAN LIVE — scanning.html
   ================================================================ */

@keyframes scan-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

/* Wrapper full-screen dark */
.scan-live-wrapper {
  min-height: 100dvh;
  background: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 3rem 1.5rem;
}

/* Blob radial azul top-right */
.scan-blob {
  position: absolute;
  top: -120px;
  right: -120px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14,147,240,0.12) 0%, transparent 70%);
  pointer-events: none;
}

/* Contenido centrado */
.scan-live-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 620px;
  text-align: center;
}

/* Título principal */
.scan-main-title {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  line-height: 1.2;
}

/* URL pill */
.scan-url-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(14,147,240,0.15);
  border: 1px solid rgba(14,147,240,0.35);
  border-radius: 9999px;
  padding: 0.4rem 1rem;
  font-size: 0.875rem;
  color: #7dd3fc;
  font-weight: 500;
  word-break: break-all;
  max-width: 100%;
  margin-bottom: 0;
}

/* Step label under progress bar */
.scan-step-label {
  font-size: 0.8125rem;
  color: #0e93f0;
  font-weight: 600;
  margin-top: 0.6rem;
  min-height: 1.25rem;
  letter-spacing: 0.01em;
}

/* Lista de pasos */
.scan-steps-list {
  list-style: none;
  padding: 0;
  margin: 1.75rem auto 0;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-align: left;
}

.scan-step {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.875rem;
  border-radius: 0.625rem;
  transition: background 0.2s, color 0.2s;
}

.scan-step-icon {
  flex-shrink: 0;
  width: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scan-step-text {
  font-size: 0.875rem;
  font-weight: 500;
}

/* Estados de paso */
.scan-step--pending .scan-step-text {
  color: rgba(148, 163, 184, 0.6);
}

.scan-step--active {
  background: rgba(14, 147, 240, 0.1);
}
.scan-step--active .scan-step-text {
  color: #7dd3fc;
  font-weight: 600;
}

.scan-step--done .scan-step-text {
  color: #94a3b8;
}

/* Texto de ayuda */
.scan-hint-text {
  font-size: 0.75rem;
  color: rgba(148, 163, 184, 0.5);
  margin-top: 1.5rem;
  letter-spacing: 0.01em;
}

/* ---- Estado FAILED ---- */
.scan-live-wrapper--failed {
  background: #0f172a;
}

.scan-failed-card {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 460px;
  width: 100%;
}

.scan-failed-title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 0.875rem;
  line-height: 1.25;
}

.scan-failed-subtitle {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.65;
  margin-bottom: 2rem;
}

.scan-retry-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: 0.875rem;
  background: linear-gradient(135deg, #0e93f0, #38b6ff);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 8px 32px rgba(14, 147, 240, 0.35);
  transition: transform 0.15s, box-shadow 0.15s;
}
.scan-retry-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(14, 147, 240, 0.45);
  color: #fff;
}

/* ---- Responsive ---- */
@media (max-width: 639px) {
  .scan-live-wrapper { padding: 2rem 1rem; }
  .scan-steps-list { max-width: 100%; }
  .scan-url-pill { font-size: 0.75rem; }
}

/* ── Threats section (riesgos reales) ─────────────────────────────── */
.threats-section {
  background: #0f172a;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}
.threats-blob-red {
  position: absolute;
  top: -120px;
  right: -80px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239,68,68,0.12) 0%, transparent 65%);
  filter: blur(40px);
  pointer-events: none;
}
.threats-blob-blue {
  position: absolute;
  bottom: -100px;
  left: -60px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14,147,240,0.10) 0%, transparent 65%);
  filter: blur(40px);
  pointer-events: none;
}
.threats-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #0e93f0;
  background: rgba(14,147,240,0.1);
  border: 1px solid rgba(14,147,240,0.25);
  border-radius: 999px;
  padding: 0.3rem 1rem;
  margin-bottom: 1.25rem;
}
.threats-headline {
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  font-weight: 900;
  color: #f1f5f9;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}
.threats-headline-accent {
  color: #ef4444;
}
.threats-subhead {
  font-size: 1rem;
  color: rgba(148,163,184,0.8);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.6;
}
.threats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 3rem;
}
.threat-card {
  position: relative;
  border-radius: 16px;
  padding: 1.5rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.threat-card:hover {
  transform: translateY(-3px);
}
.threat-card-critical {
  border-top: 3px solid #ef4444;
  box-shadow: 0 0 30px rgba(239,68,68,0.08);
}
.threat-card-critical:hover {
  box-shadow: 0 8px 40px rgba(239,68,68,0.18);
}
.threat-card-high {
  border-top: 3px solid #f97316;
  box-shadow: 0 0 30px rgba(249,115,22,0.07);
}
.threat-card-high:hover {
  box-shadow: 0 8px 40px rgba(249,115,22,0.15);
}
.threat-card-medium {
  border-top: 3px solid #eab308;
  box-shadow: 0 0 30px rgba(234,179,8,0.06);
}
.threat-card-medium:hover {
  box-shadow: 0 8px 40px rgba(234,179,8,0.13);
}
.threat-card-num {
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  font-size: 5rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(255,255,255,0.04);
  pointer-events: none;
  user-select: none;
}
.threat-card-top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.threat-badge {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  flex-shrink: 0;
}
.threat-badge-critical { background: rgba(239,68,68,0.15); color: #f87171; border: 1px solid rgba(239,68,68,0.3); }
.threat-badge-high     { background: rgba(249,115,22,0.15); color: #fb923c; border: 1px solid rgba(249,115,22,0.3); }
.threat-badge-medium   { background: rgba(234,179,8,0.15);  color: #fbbf24; border: 1px solid rgba(234,179,8,0.3);  }
.threat-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}
.threat-icon-critical { color: #f87171; }
.threat-icon-high     { color: #fb923c; }
.threat-icon-medium   { color: #fbbf24; }
.threat-title {
  font-size: 1rem;
  font-weight: 800;
  color: #f1f5f9;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}
.threat-desc {
  font-size: 0.8125rem;
  color: rgba(148,163,184,0.8);
  line-height: 1.55;
  margin-bottom: 1.25rem;
}
.threat-footer {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(34,197,94,0.85);
  letter-spacing: 0.02em;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 0.9rem;
}
.threats-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.threats-cta-text {
  color: rgba(148,163,184,0.8);
  font-size: 0.9375rem;
}
.threats-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg,#0e93f0,#38b6ff);
  color: #fff;
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 0.85rem 1.75rem;
  border-radius: 12px;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
  white-space: nowrap;
}
.threats-cta-btn:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}
@media (max-width: 1023px) {
  .threats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 639px) {
  .threats-grid { grid-template-columns: 1fr; }
  .threats-cta-row { flex-direction: column; text-align: center; }
  .threats-cta-btn { width: 100%; justify-content: center; }
}

/* ── RGPD / AEPD section ─────────────────────────────────────────── */
.rgpd-section {
  background: #fff;
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
  border-top: 5px solid #dc2626;
  box-shadow: 0 4px 32px rgba(220,38,38,0.07);
}
.rgpd-blob {
  display: none;
}
.rgpd-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.rgpd-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fbbf24;
  background: rgba(234,179,8,0.1);
  border: 1px solid rgba(234,179,8,0.25);
  border-radius: 999px;
  padding: 0.3rem 1rem;
  margin-bottom: 1.5rem;
}
.rgpd-headline {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 900;
  color: #1e293b;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}
.rgpd-headline-accent {
  color: #b45309;
}
.rgpd-body {
  font-size: 0.9375rem;
  color: #475569;
  line-height: 1.65;
}
.rgpd-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-top: 1.5rem;
  padding: 0.9rem 1rem;
  background: #fef3c7;
  border: 1px solid #fcd34d;
  border-left: 3px solid #d97706;
  border-radius: 8px;
  font-size: 0.8125rem;
  color: #92400e;
  font-style: italic;
  line-height: 1.5;
}
.rgpd-fine-card {
  background: #fff1f2;
  border: 1px solid #fecdd3;
  border-top: 4px solid #ef4444;
  border-radius: 16px;
  padding: 1.75rem;
  text-align: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 24px rgba(239,68,68,0.1);
}
.rgpd-fine-label {
  font-size: 0.8125rem;
  color: #94a3b8;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.rgpd-fine-amount {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  color: #dc2626;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 0.75rem;
}
.rgpd-fine-sub {
  font-size: 0.8125rem;
  color: #64748b;
  line-height: 1.5;
}
.rgpd-facts {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.rgpd-fact {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 1rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.rgpd-fact-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.rgpd-fact-warn { color: #d97706; }
.rgpd-fact-ok   { color: #16a34a; }
.rgpd-fact-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.25rem;
}
.rgpd-fact-desc {
  font-size: 0.78125rem;
  color: #64748b;
  line-height: 1.5;
}
@media (max-width: 1023px) {
  .rgpd-inner { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ============================================================
   CTA FINAL — form rediseñado
   ============================================================ */
.cta-final-form {
  display: flex;
  align-items: stretch;
  background: rgba(255,255,255,0.1);
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  overflow: hidden;
  max-width: 560px;
  margin: 0 auto;
  min-height: 60px;
}
.cta-final-input {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border: none;
  border-radius: 0;
  outline: none;
  padding: 0 1.25rem;
  color: #fff;
  font-size: 0.9375rem;
  font-family: inherit;
  min-width: 0;
  -webkit-appearance: none;
  appearance: none;
}
.cta-final-input::placeholder { color: rgba(255,255,255,0.38); }
.cta-final-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 1.5rem;
  background: #0e93f0;
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 700;
  border: none;
  border-radius: 0;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.15s;
  font-family: inherit;
}
.cta-final-btn:hover { background: #0c7fd4; }
.cta-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
}
.cta-trust-badge i { color: #38b6ff; font-size: 0.9rem; }
@media (max-width: 639px) {
  .cta-final-form { flex-direction: column; min-height: auto; }
  .cta-final-input { padding: 1rem 1.25rem; border-bottom: 1px solid rgba(255,255,255,0.15); }
  .cta-final-btn { padding: 1rem 1.5rem; justify-content: center; }
}

/* ============================================================
   TOPBAR — acciones derechas (reloj + botón analizar)
   ============================================================ */
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.topbar-clock {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #94a3b8;
  padding: 0.375rem 0.75rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 479px) {
  .topbar-clock { display: none; }
}
.topbar-scan-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, #0e93f0, #38b6ff);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(14,147,240,0.30);
  transition: box-shadow 0.15s, transform 0.15s;
}
.topbar-scan-btn:hover {
  box-shadow: 0 4px 14px rgba(14,147,240,0.40);
  transform: translateY(-1px);
  color: #fff;
  text-decoration: none;
}
.topbar-scan-btn:active {
  transform: translateY(0);
}
@media (max-width: 479px) {
  .topbar-scan-btn span { display: none; }
  .topbar-scan-btn { padding: 0.5rem; border-radius: 10px; }
}

/* ============================================================
   STAT CARDS — dashboard rediseñado
   ============================================================ */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
@media (max-width: 1279px) {
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 639px) {
  .stat-grid { grid-template-columns: 1fr; }
}

.stat-card {
  position: relative;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.5rem;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05), 0 2px 8px rgba(0,0,0,0.04);
  transition: box-shadow 0.2s, transform 0.2s;
}
.stat-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
  transform: translateY(-2px);
}
.stat-card--alert {
  border-color: #fecaca;
  background: linear-gradient(135deg, #fff 0%, #fff7f7 100%);
}

.stat-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.stat-card-body {
  flex: 1;
  min-width: 0;
  position: relative;
  z-index: 1;
}
.stat-card-label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.075em;
  color: #94a3b8;
  margin-bottom: 0.375rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.stat-card-value {
  font-size: 2.25rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1;
  margin-bottom: 0.5rem;
  font-variant-numeric: tabular-nums;
}
.stat-value--critical { color: #ef4444; }
.stat-value--high     { color: #f97316; }
.stat-value--clean    { color: #10b981; }

.stat-card-sub {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: wrap;
  font-size: 0.75rem;
  color: #64748b;
  min-height: 1.25rem;
}

/* decorative blurred background blob */
.stat-card-bg {
  position: absolute;
  top: -24px;
  right: -24px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  opacity: 0.07;
  pointer-events: none;
}

/* ============================================================
   SITE CARDS — list.html rediseñado con borde indicador
   ============================================================ */
.site-card {
  position: relative;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-left-width: 4px;
  border-left-color: #e2e8f0;
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  transition: box-shadow 0.2s, transform 0.2s, border-left-color 0.2s;
  text-decoration: none;
  color: inherit;
}
.site-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.10);
  transform: translateY(-3px);
  text-decoration: none;
  color: inherit;
}
/* Indicadores de estado — borde izquierdo de color */
.site-card--ok      { border-left-color: #10b981; }
.site-card--fail    { border-left-color: #ef4444; }
.site-card--running { border-left-color: #0e93f0; }
.site-card--pending { border-left-color: #f59e0b; }

.site-card-disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}
.site-card-disabled:hover {
  transform: none;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.site-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #0e93f0, #38b6ff);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(14,147,240,0.25);
  flex-shrink: 0;
}

.site-card-name {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #0f172a;
  margin-top: 0;
  margin-bottom: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.site-card-url {
  font-size: 0.75rem;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 0.25rem;
}
.site-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid #f1f5f9;
}
.site-card-footer-label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #94a3b8;
  margin-bottom: 0.25rem;
}
.site-card-footer-value {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #334155;
}

/* ============================================================
   HERO STATUS CARD — dashboard emocional
   ============================================================ */
.hero-status-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.75rem 2rem;
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  flex-wrap: wrap;
}
@media (max-width: 639px) {
  .hero-status-card { padding: 1.25rem 1.25rem; gap: 1rem; }
}

.hero-status-card--ok {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  border: 1.5px solid #6ee7b7;
}
.hero-status-card--warning {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 1.5px solid #fcd34d;
}
.hero-status-card--critical {
  background: linear-gradient(135deg, #fff1f2 0%, #ffe4e6 100%);
  border: 1.5px solid #fca5a5;
}

.hero-status-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 1.125rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 2rem;
  line-height: 1;
}
.hero-status-card--ok .hero-status-icon {
  background: linear-gradient(135deg, #10b981, #34d399);
  color: #fff;
  box-shadow: 0 4px 16px rgba(16,185,129,0.35);
}
.hero-status-card--warning .hero-status-icon {
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  color: #fff;
  box-shadow: 0 4px 16px rgba(245,158,11,0.35);
}
.hero-status-card--critical .hero-status-icon {
  background: linear-gradient(135deg, #ef4444, #f97316);
  color: #fff;
  box-shadow: 0 4px 16px rgba(239,68,68,0.35);
}

.hero-status-body {
  flex: 1;
  min-width: 0;
}
.hero-status-title {
  font-size: 1.375rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.375rem;
}
.hero-status-card--ok .hero-status-title    { color: #065f46; }
.hero-status-card--warning .hero-status-title { color: #92400e; }
.hero-status-card--critical .hero-status-title { color: #991b1b; }

.hero-status-sub {
  font-size: 0.9375rem;
  line-height: 1.5;
}
.hero-status-card--ok .hero-status-sub    { color: #065f46; opacity: 0.8; }
.hero-status-card--warning .hero-status-sub { color: #78350f; }
.hero-status-card--critical .hero-status-sub { color: #7f1d1d; }

.hero-status-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
  white-space: nowrap;
  flex-shrink: 0;
}
.hero-status-cta:hover { transform: translateY(-1px); text-decoration: none; }

.hero-status-card--critical .hero-status-cta {
  background: #ef4444;
  color: #fff;
  box-shadow: 0 4px 12px rgba(239,68,68,0.35);
}
.hero-status-card--critical .hero-status-cta:hover {
  background: #dc2626;
  box-shadow: 0 6px 18px rgba(239,68,68,0.45);
}
.hero-status-card--warning .hero-status-cta {
  background: #f59e0b;
  color: #fff;
  box-shadow: 0 4px 12px rgba(245,158,11,0.35);
}
.hero-status-card--warning .hero-status-cta:hover {
  background: #d97706;
}
.hero-status-cta--ok {
  background: #10b981;
  color: #fff;
  box-shadow: 0 4px 12px rgba(16,185,129,0.35);
}
.hero-status-cta--ok:hover {
  background: #059669;
}

/* ============================================================
   RGPD BANNER — educativo, descartable
   ============================================================ */
.rgpd-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border: 1.5px solid #93c5fd;
  border-radius: 14px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.rgpd-banner-content {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  flex: 1;
  min-width: 0;
}
.rgpd-banner-icon {
  font-size: 1.375rem;
  line-height: 1;
  color: #1d4ed8;
  flex-shrink: 0;
  margin-top: 1px;
}
.rgpd-banner-text {
  font-size: 0.875rem;
  color: #1e3a5f;
  line-height: 1.55;
}
.rgpd-banner-text strong {
  display: block;
  font-weight: 700;
  margin-bottom: 0.125rem;
  color: #1d4ed8;
}
.rgpd-banner-close {
  background: transparent;
  border: none;
  cursor: pointer;
  color: #93c5fd;
  font-size: 1.125rem;
  padding: 0.25rem;
  border-radius: 6px;
  flex-shrink: 0;
  line-height: 1;
  transition: color 0.15s;
}
.rgpd-banner-close:hover { color: #1d4ed8; }

/* Fondo suave del área de contenido principal */
.main-content-area {
  background: #f8fafc;
}

/* ═══════════════════════════════════════════════════════
   Scan Detail Page (sd-*) — v2.10.7
   ═══════════════════════════════════════════════════════ */

.sd-hero {
  border-radius: 20px;
  padding: 2rem 2rem 0 2rem;
  margin-bottom: 1.5rem;
  overflow: hidden;
  position: relative;
}
.sd-hero--red    { background: linear-gradient(135deg, #1c0505 0%, #3d0000 50%, #0a1628 100%); }
.sd-hero--yellow { background: linear-gradient(135deg, #1c1105 0%, #3d2700 50%, #0a1628 100%); }
.sd-hero--green  { background: linear-gradient(135deg, #051c10 0%, #003d1f 50%, #0a1628 100%); }

.sd-grade {
  width: 7rem;
  height: 7rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.75rem;
  font-weight: 900;
  flex-shrink: 0;
  border: 3px solid rgba(255,255,255,0.18);
  background: rgba(0,0,0,0.35);
  letter-spacing: -0.02em;
}
.sd-grade--red    { color: #f87171; }
.sd-grade--yellow { color: #fbbf24; }
.sd-grade--green  { color: #34d399; }

.sd-counter {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 0.625rem 0.875rem;
  text-align: center;
  flex: 1;
  min-width: 0;
}
.sd-counter-value { font-size: 1.5rem; font-weight: 900; line-height: 1; }
.sd-counter-label { font-size: 0.6rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; margin-top: 0.25rem; opacity: 0.75; }

.sd-hero-strip {
  margin: 1.5rem -2rem 0;
  padding: 0.875rem 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.sd-meta-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
}
.sd-meta-item strong { color: rgba(255,255,255,0.85); font-weight: 600; }
.sd-meta-item a { color: #60a5fa; font-weight: 600; text-decoration: none; }
.sd-meta-item a:hover { color: #93c5fd; }

.sd-mode-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.sd-mode-btn {
  border: 2px solid #e2e8f0;
  border-radius: 16px;
  padding: 1rem 1.25rem;
  background: #fff;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.18s, box-shadow 0.18s, background 0.18s;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.sd-mode-btn:hover {
  border-color: #7dd3fc;
  background: #f0f9ff;
}
.sd-mode-btn.active {
  border-color: #0e93f0;
  background: #eff8ff;
  box-shadow: 0 0 0 4px rgba(14,147,240,0.1);
}
.sd-mode-btn .sd-mode-icon {
  font-size: 1.5rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.sd-mode-btn .sd-mode-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.2;
}
.sd-mode-btn .sd-mode-sub {
  font-size: 0.75rem;
  color: #64748b;
  margin-top: 0.2rem;
  line-height: 1.3;
}
.sd-mode-btn.active .sd-mode-title { color: #0369a1; }

.sd-finding-biz {
  background: #fff;
  border-radius: 14px;
  border-left: 4px solid #e2e8f0;
  box-shadow: 0 1px 4px rgba(15,23,42,0.05);
  margin-bottom: 0.5rem;
  overflow: hidden;
  transition: box-shadow 0.15s;
}
.sd-finding-biz:hover { box-shadow: 0 3px 10px rgba(15,23,42,0.1); }
.sd-finding-biz--critical { border-left-color: #ef4444; }
.sd-finding-biz--high     { border-left-color: #f97316; }
.sd-finding-biz--medium   { border-left-color: #f59e0b; }
.sd-finding-biz--low      { border-left-color: #94a3b8; }
.sd-finding-biz--info     { border-left-color: #94a3b8; }

.sd-finding-biz summary {
  padding: 0.875rem 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  list-style: none;
  user-select: none;
}
.sd-finding-biz summary::-webkit-details-marker { display: none; }
.sd-finding-biz summary .sd-f-title {
  flex: 1;
  font-size: 0.875rem;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.35;
}
.sd-finding-biz summary .sd-f-chevron {
  width: 1rem;
  height: 1rem;
  color: #94a3b8;
  flex-shrink: 0;
  transition: transform 0.2s;
}
.sd-finding-biz[open] summary .sd-f-chevron { transform: rotate(180deg); }
.sd-finding-biz .sd-f-body { padding: 0 1rem 1rem; }
.sd-finding-biz .sd-f-desc {
  font-size: 0.8125rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 0.625rem;
}
.sd-finding-biz .sd-f-remediation {
  font-size: 0.8rem;
  color: #1e40af;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  padding: 0.625rem 0.875rem;
  line-height: 1.5;
}
.sd-finding-biz .sd-f-remediation i { color: #3b82f6; margin-right: 0.35rem; vertical-align: -0.1em; }
.sd-finding-biz .sd-f-cve {
  display: inline-flex;
  align-items: center;
  font-size: 0.7rem;
  background: #f1f5f9;
  color: #64748b;
  border-radius: 6px;
  padding: 0.15rem 0.4rem;
  font-family: monospace;
  margin-top: 0.5rem;
}

.sd-group-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  padding-left: 0.25rem;
}
.sd-group-header .sd-group-label {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.sd-group-header .sd-group-count {
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.15rem 0.5rem;
}

.sd-evidence {
  background: #0f172a;
  color: #94a3b8;
  border-radius: 10px;
  padding: 0.875rem 1rem;
  font-size: 0.75rem;
  font-family: 'Fira Mono', 'Courier New', monospace;
  overflow-x: auto;
  max-height: 18rem;
  overflow-y: auto;
  white-space: pre-wrap;
  word-break: break-all;
  line-height: 1.6;
}

.sd-sev-bar {
  width: 4px;
  border-radius: 2px;
  align-self: stretch;
  flex-shrink: 0;
}
.sd-sev-bar--critical { background: #ef4444; }
.sd-sev-bar--high     { background: #f97316; }
.sd-sev-bar--medium   { background: #f59e0b; }
.sd-sev-bar--low      { background: #94a3b8; }
.sd-sev-bar--info     { background: #94a3b8; }

.sd-more-btn {
  width: 100%;
  font-size: 0.78rem;
  color: #0e93f0;
  background: #fff;
  border: 1.5px dashed #bae6fd;
  border-radius: 12px;
  padding: 0.5rem;
  margin-top: 0.5rem;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  font-weight: 600;
}
.sd-more-btn:hover { background: #f0f9ff; border-color: #7dd3fc; }

@media (max-width: 640px) {
  .sd-hero { padding: 1.25rem 1rem 0; }
  .sd-hero-strip { padding: 0.75rem 1rem; margin: 1rem -1rem 0; gap: 0.75rem; }
  .sd-mode-toggle { grid-template-columns: 1fr; }
  .sd-grade { width: 5rem; height: 5rem; font-size: 2rem; }
}

/* ═══════════════════════════════════════════════════════════════
   SCANNING — rediseño radar (light mode)
   ═══════════════════════════════════════════════════════════════ */

.scan-live-wrapper--light {
  background: #f8fafc;
}
.scan-live-wrapper--light .scan-main-title { color: #0f172a; }
.scan-live-wrapper--light .scan-url-pill {
  background: rgba(14,147,240,0.08);
  border-color: rgba(14,147,240,0.25);
  color: #0369a1;
}
.scan-live-wrapper--light .scanner-live-badge {
  background: rgba(14,147,240,0.1);
  color: #0369a1;
  border: 1px solid rgba(14,147,240,0.2);
}
.scan-live-wrapper--light .scanner-live-dot { background: #0e93f0; }
.scan-live-wrapper--light .scan-step--pending .scan-step-text { color: #94a3b8; }
.scan-live-wrapper--light .scan-step--active .scan-step-text { color: #0369a1; font-weight: 600; }
.scan-live-wrapper--light .scan-step--active { background: rgba(14,147,240,0.08); }
.scan-live-wrapper--light .scan-step--done .scan-step-text { color: #64748b; }
.scan-live-wrapper--light .scan-hint-text { color: #94a3b8; }
.scan-live-wrapper--light .scan-step-label { color: #0e93f0; }

/* Cuerpo: layout 2 columnas */
.scan-body-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  width: 100%;
  margin: 2.5rem auto 0;
}

/* Columna radar */
.scan-radar-col {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Marco del radar */
.scan-radar-frame {
  position: relative;
  width: 260px;
  height: 260px;
}

/* Líneas de cruz */
.scan-radar-frame::before,
.scan-radar-frame::after {
  content: "";
  position: absolute;
  background: rgba(14,147,240,0.12);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.scan-radar-frame::before { width: 100%; height: 1px; }
.scan-radar-frame::after  { width: 1px; height: 100%; }

/* Anillos concéntricos */
.scan-radar-ring {
  position: absolute;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.scan-radar-ring--outer { width: 260px; height: 260px; border: 1px solid rgba(14,147,240,0.15); }
.scan-radar-ring--mid   { width: 186px; height: 186px; border: 1px solid rgba(14,147,240,0.22); }
.scan-radar-ring--inner { width: 112px; height: 112px; border: 1px solid rgba(14,147,240,0.3); }

/* Barrido giratorio */
.scan-radar-sweep-wrap {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  overflow: hidden;
  animation: radar-sweep 3s linear infinite;
}
.scan-radar-sweep {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    transparent 260deg,
    rgba(14,147,240,0.04) 290deg,
    rgba(14,147,240,0.14) 355deg,
    rgba(14,147,240,0.22) 359deg,
    transparent 360deg
  );
  position: relative;
}
.scan-radar-sweep::after {
  content: "";
  position: absolute;
  top: 0;
  left: calc(50% - 1px);
  width: 2px;
  height: 50%;
  transform-origin: bottom center;
  background: linear-gradient(to top, rgba(14,147,240,0.9), rgba(14,147,240,0.25));
  border-radius: 2px 2px 0 0;
}

/* Punto central */
.scan-radar-center {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #0e93f0;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 4px rgba(14,147,240,0.18), 0 0 12px rgba(14,147,240,0.3);
  z-index: 2;
}

@keyframes radar-sweep {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Columna pasos */
.scan-steps-col {
  flex: 1;
  min-width: 0;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.scan-steps-col .scan-steps-list {
  margin: 0 0 1.25rem 0;
  max-width: 100%;
}
.scan-steps-col .scan-step-label {
  margin-top: 0.5rem;
}

/* Responsive: columna única en móvil */
@media (max-width: 700px) {
  .scan-body-grid {
    flex-direction: column;
    gap: 2rem;
  }
  .scan-radar-frame {
    width: 200px;
    height: 200px;
  }
  .scan-radar-ring--outer { width: 200px; height: 200px; }
  .scan-radar-ring--mid   { width: 142px; height: 142px; }
  .scan-radar-ring--inner { width: 84px;  height: 84px;  }
  .scan-steps-col { max-width: 100%; }
}

/* ── Security summary hero card ── */
.security-summary-card {
  background: #fff;
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  border-left-width: 4px;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / .05);
}
.security-summary-card--good     { border-left-color: #22c55e; }
.security-summary-card--warning  { border-left-color: #f97316; }
.security-summary-card--critical { border-left-color: #ef4444; }

.security-summary-divider {
  width: 1px;
  background: #e2e8f0;
  height: 48px;
  flex-shrink: 0;
}

.security-summary-score {
  flex-shrink: 0;
  text-align: center;
  min-width: 56px;
}
.security-summary-score__number {
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}
.security-summary-score__label {
  font-size: 0.625rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
}

.security-summary-main { flex: 1; min-width: 0; }

.security-summary-badge {
  display: inline-block;
  border-radius: 9999px;
  padding: 2px 10px;
  font-size: 0.5625rem;
  font-weight: 700;
  margin-bottom: 0.375rem;
}
.security-summary-badge--good     { background: #dcfce7; color: #16a34a; }
.security-summary-badge--warning  { background: #ffedd5; color: #ea580c; }
.security-summary-badge--critical { background: #fee2e2; color: #dc2626; }

.security-summary-text {
  font-size: 0.75rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.375rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.security-summary-chart {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 28px;
  margin-top: 0.375rem;
}
.security-summary-chart__bar {
  flex: 1;
  border-radius: 2px 2px 0 0;
  min-height: 3px;
}
.security-summary-chart__labels {
  display: flex;
  gap: 3px;
  margin-top: 2px;
}
.security-summary-chart__label {
  flex: 1;
  font-size: 0.4375rem;
  color: #cbd5e1;
  text-align: center;
}
.security-summary-chart__label--current {
  color: #16a34a;
  font-weight: 700;
}

.security-summary-counters {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}
.security-summary-counter {
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
  text-align: center;
  min-width: 52px;
}
.security-summary-counter--critical { background: #fee2e2; }
.security-summary-counter--high     { background: #ffedd5; }
.security-summary-counter--medium   { background: #fef9c3; }
.security-summary-counter__number {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
}
.security-summary-counter--critical .security-summary-counter__number { color: #dc2626; }
.security-summary-counter--high     .security-summary-counter__number { color: #ea580c; }
.security-summary-counter--medium   .security-summary-counter__number { color: #ca8a04; }
.security-summary-counter__label {
  font-size: 0.4375rem;
  color: #94a3b8;
  text-transform: uppercase;
  margin-top: 0.25rem;
}

/* ── Select2 / DAL — soft-input style ──────────────────────────────────── */
.select2-container--default .select2-selection--single {
  background-color: rgb(248 250 252);
  border: 1px solid rgb(226 232 240);
  border-radius: 0.75rem;
  height: auto;
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  color: rgb(30 41 59);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
  color: rgb(30 41 59);
  line-height: 1.5;
  padding: 0;
}
.select2-container--default .select2-selection--single .select2-selection__placeholder {
  color: rgb(148 163 184);
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 100%;
  top: 0;
  right: 0.75rem;
}
.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--open .select2-selection--single {
  border-color: #818cf8;
  box-shadow: 0 0 0 4px rgb(129 140 248 / 0.15);
  outline: none;
}
.select2-dropdown {
  border: 1px solid rgb(226 232 240);
  border-radius: 0.75rem;
  box-shadow: 0 4px 16px rgb(0 0 0 / 0.08);
  overflow: hidden;
}
.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background-color: #818cf8;
}
.select2-search--dropdown .select2-search__field {
  border: 1px solid rgb(226 232 240);
  border-radius: 0.5rem;
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
  outline: none;
}

/* ── Sites list — sparkline + solo card (rediseño 2026-04-27) ──────────── */

.sparkline {
  display: block;
  width: 100%;
  height: 32px;
}
.sparkline-block {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}
.sparkline-caption {
  font-size: 0.625rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.125rem;
}
.security-summary-message {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Solo site card (cuando N == 1) */
.site-card-solo {
  background: #fff;
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  border-left-width: 4px;
  padding: 1.5rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.15s ease;
  color: inherit;
}
a.site-card-solo:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}
.site-card-solo--critical { border-left-color: #ef4444; }
.site-card-solo--high     { border-left-color: #f97316; }
.site-card-solo--medium   { border-left-color: #f59e0b; }
.site-card-solo--good     { border-left-color: #22c55e; }
.site-card-solo--none     { border-left-color: #cbd5e1; }

.site-card-solo__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.site-card-solo__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.site-card-solo__icon--critical { background: #fee2e2; color: #dc2626; }
.site-card-solo__icon--high     { background: #ffedd5; color: #ea580c; }
.site-card-solo__icon--medium   { background: #fef9c3; color: #ca8a04; }
.site-card-solo__icon--good     { background: #dcfce7; color: #16a34a; }
.site-card-solo__icon--none     { background: #f1f5f9; color: #64748b; }

.site-card-solo__heading {
  flex: 1;
  min-width: 0;
}
.site-card-solo__name {
  font-weight: 700;
  font-size: 1.125rem;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.site-card-solo__last {
  font-size: 0.75rem;
  color: #94a3b8;
  margin-top: 0.125rem;
}

.site-card-solo__score-block {
  margin-bottom: 1rem;
}
.site-card-solo__score-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}
.site-card-solo__score-number {
  font-size: 2.25rem;
  font-weight: 900;
  line-height: 1;
}
.site-card-solo__score-number--critical { color: #dc2626; }
.site-card-solo__score-number--high     { color: #ea580c; }
.site-card-solo__score-number--medium   { color: #ca8a04; }
.site-card-solo__score-number--good     { color: #16a34a; }
.site-card-solo__score-suffix {
  font-size: 1rem;
  font-weight: 700;
  color: #94a3b8;
  margin-left: 0.125rem;
}
.site-card-solo__score-label {
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 600;
}
.site-card-solo__bar {
  height: 10px;
  background: #f1f5f9;
  border-radius: 9999px;
  overflow: hidden;
}
.site-card-solo__bar-fill {
  height: 100%;
  border-radius: 9999px;
}
.site-card-solo__bar-fill--critical { background: linear-gradient(to right, #ef4444, #f87171); }
.site-card-solo__bar-fill--high     { background: linear-gradient(to right, #f97316, #fb923c); }
.site-card-solo__bar-fill--medium   { background: linear-gradient(to right, #f59e0b, #fbbf24); }
.site-card-solo__bar-fill--good     { background: linear-gradient(to right, #16a34a, #4ade80); }

.site-card-solo__sparkline-block {
  margin: 1rem 0;
  padding: 0.75rem;
  background: #f8fafc;
  border-radius: 0.75rem;
}
.site-card-solo__sparkline-title {
  font-size: 0.625rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  margin-bottom: 0.375rem;
}
.sparkline--solo {
  height: 40px;
}

.site-card-solo__counters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin: 0.75rem 0;
}
.site-card-solo__counter {
  display: inline-flex;
  align-items: baseline;
  gap: 0.25rem;
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}
.site-card-solo__counter strong {
  font-weight: 800;
  font-size: 0.875rem;
}
.site-card-solo__counter--critical { background: #fee2e2; color: #b91c1c; }
.site-card-solo__counter--high     { background: #ffedd5; color: #c2410c; }
.site-card-solo__counter--medium   { background: #fef9c3; color: #a16207; }

.site-card-solo__message {
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  margin-top: 0.5rem;
}
.site-card-solo__message--critical { color: #dc2626; background: #fee2e2; }
.site-card-solo__message--high     { color: #ea580c; background: #ffedd5; }
.site-card-solo__message--medium   { color: #ca8a04; background: #fef9c3; }
.site-card-solo__message--good     { color: #16a34a; background: #dcfce7; }

.site-card-solo__risk {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: #7f1d1d;
  background: #fef2f2;
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
  display: flex;
  align-items: flex-start;
  gap: 0.375rem;
}
.site-card-solo__risk i { color: #dc2626; flex-shrink: 0; margin-top: 0.125rem; }
.site-card-solo__pending {
  font-size: 0.875rem;
  color: #94a3b8;
  padding: 1rem 0;
}

@media (min-width: 1024px) {
  .lg\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .lg\:max-w-4xl {
    max-width: 56rem;
  }
}
