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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

b,
strong {
  font-weight: bolder;
}

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

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

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

small {
  font-size: 80%;
}

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

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

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

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

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

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

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

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

button,
select {
  text-transform: none;
}

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

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

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

:-moz-focusring {
  outline: auto;
}

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

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

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

progress {
  vertical-align: baseline;
}

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

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

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

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

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

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

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

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

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

summary {
  display: list-item;
}

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

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

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

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

/*
Reset default styling for dialogs.
*/

dialog {
  padding: 0;
}

/*
Prevent resizing textareas horizontally by default.
*/

textarea {
  resize: vertical;
}

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

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

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

/*
Set the default cursor for buttons.
*/

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

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

:disabled {
  cursor: default;
}

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

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

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

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

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

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

.collapse {
  visibility: collapse;
}

.block {
  display: block;
}

.table {
  display: table;
}

.grid {
  display: grid;
}

.hidden {
  display: none;
}

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

.resize {
  resize: both;
}

.border {
  border-width: 1px;
}

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

:root {
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: #172033;
  background: #f3f6fa;
  font-synthesis: none;
  --navy: #07111f;
  --panel: #0f1d31;
  --cyan: #06b6d4;
  --blue: #2563eb;
  --line: #dfe7f0;
  --muted: #64748b;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background: #f3f6fa;
}

button, input, select {
  font: inherit;
}

button {
  cursor: pointer;
}

.login-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(440px, .85fr);
  background: white;
}

.login-visual {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  padding: 46px 58px;
  color: white;
  background: radial-gradient(circle at 76% 24%, #0e7490 0, transparent 25%), radial-gradient(circle at 18% 94%, #173f70 0, transparent 30%), linear-gradient(140deg, #06101e 0%, #0a1a2e 58%, #102c48 100%);
}

.grid-overlay {
  position: absolute;
  inset: 0;
  opacity: .15;
  background-image: linear-gradient(#7dd3fc 1px, transparent 1px), linear-gradient(90deg, #7dd3fc 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(to right, black, transparent);
          mask-image: linear-gradient(to right, black, transparent);
}

.login-brand, .sidebar-brand {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 13px;
}

.brand-mark {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  position: relative;
  border-radius: 11px;
  color: white;
  background: linear-gradient(145deg, #0891b2, #2563eb);
  box-shadow: 0 8px 20px #0284c755;
}

.brand-mark svg:last-child {
  position: absolute;
  right: 3px;
  bottom: 4px;
  fill: #facc15;
  color: #facc15;
}

.login-brand b, .sidebar-brand b {
  display: block;
  font-size: 17px;
  letter-spacing: .07em;
}

.login-brand span, .sidebar-brand span {
  display: block;
  margin-top: 3px;
  font-size: 8px;
  letter-spacing: .22em;
  color: #8ba4c4;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin-top: 18vh;
}

.eyebrow, .secure-label {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .17em;
  color: #67e8f9;
}

.hero-copy h1 {
  margin: 22px 0;
  font-size: clamp(48px, 5vw, 78px);
  line-height: .99;
  letter-spacing: -.055em;
}

.hero-copy h1 em {
  color: #22d3ee;
  font-style: normal;
}

.hero-copy > p {
  max-width: 590px;
  font-size: 17px;
  line-height: 1.75;
  color: #a9bdd5;
}

.hero-metrics {
  display: flex;
  gap: 54px;
  margin-top: 52px;
}

.hero-metrics div {
  display: grid;
  gap: 4px;
}

.hero-metrics strong {
  font-size: 25px;
}

.hero-metrics span {
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #7892b1;
}

.flow-lines {
  position: absolute;
  right: -70px;
  bottom: 5%;
  width: 55%;
  height: 180px;
  transform: rotate(-14deg);
  opacity: .25;
}

.flow-lines i {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #22d3ee, transparent);
  border-radius: 50%;
}

.flow-lines i:nth-child(1) {
  top: 10px;
  transform: rotate(5deg);
}

.flow-lines i:nth-child(2) {
  top: 55px;
  transform: rotate(-3deg);
}

.flow-lines i:nth-child(3) {
  top: 105px;
  transform: rotate(4deg);
}

.flow-lines i:nth-child(4) {
  top: 155px;
  transform: rotate(-4deg);
}

.login-panel {
  display: grid;
  place-items: center;
  padding: 45px;
  background: #fbfdff;
}

.login-card {
  width: min(430px, 100%);
}

.mobile-brand {
  display: none;
}

.secure-label {
  color: #0891b2;
}

.login-card h2 {
  margin: 18px 0 6px;
  font-size: 32px;
  letter-spacing: -.035em;
  color: #0f172a;
}

.login-card > p {
  margin: 0 0 32px;
  color: var(--muted);
}

.login-card label, .report-form label, .toolbar label {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
  color: #334155;
  font-size: 12px;
  font-weight: 700;
}

.login-card input, .report-form input, .report-form select, .toolbar select, .table-tools select, .settings-form input {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #d9e2ec;
  border-radius: 9px;
  outline: none;
  background: white;
  color: #172033;
  transition: .2s;
}

.login-card input:focus, select:focus, .settings-form input:focus {
  border-color: #0891b2;
  box-shadow: 0 0 0 3px #06b6d419;
}

.primary-button {
  width: 100%;
  border: 0;
  border-radius: 9px;
  padding: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  color: white;
  font-weight: 800;
  background: linear-gradient(110deg, #0891b2, #2563eb);
  box-shadow: 0 8px 22px #2563eb2c;
}

.primary-button:disabled {
  opacity: .65;
  cursor: wait;
}

.form-error {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: -3px 0 16px;
  padding: 10px;
  border-radius: 7px;
  color: #b91c1c;
  background: #fef2f2;
  font-size: 12px;
}

.demo-access {
  margin-top: 24px;
  padding: 12px 14px;
  display: grid;
  gap: 5px;
  background: #f0f7fb;
  border: 1px solid #dceef5;
  border-radius: 8px;
  font-size: 11px;
  color: #64748b;
}

.demo-access code {
  color: #0e7490;
  font-size: 11px;
}

.login-card > small {
  display: block;
  margin-top: 34px;
  text-align: center;
  color: #94a3b8;
}

.app-shell {
  min-height: 100vh;
}

.sidebar {
  position: fixed;
  z-index: 50;
  inset: 0 auto 0 0;
  width: 248px;
  display: flex;
  flex-direction: column;
  color: #dce7f4;
  background: linear-gradient(180deg, #081525 0%, #0b1829 100%);
}

.sidebar-brand {
  height: 78px;
  padding: 0 21px;
  border-bottom: 1px solid #203047;
}

.sidebar-brand .brand-mark {
  width: 38px;
  height: 38px;
}

.sidebar-brand > button {
  display: none;
  margin-left: auto;
  padding: 4px;
  border: 0;
  background: none;
  color: white;
}

.sidebar nav {
  flex: 1;
  padding: 20px 12px;
}

.nav-caption {
  display: block;
  margin: 13px 12px 8px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .18em;
  color: #516782;
}

.sidebar nav .nav-link {
  width: 100%;
  margin: 3px 0;
  padding: 11px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 0;
  border-radius: 7px;
  color: #8ea2ba;
  background: transparent;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  transition: .18s;
}

.sidebar nav .nav-link:hover {
  color: white;
  background: #17273c;
}

.sidebar nav .nav-link.active {
  color: #e6fbff;
  background: linear-gradient(90deg, #0e74904a, #172b45);
  box-shadow: inset 3px 0 #22d3ee;
}

.sidebar nav .nav-link i {
  margin-left: auto;
  min-width: 21px;
  height: 21px;
  padding: 0 5px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  color: white;
  background: #dc2626;
  font-style: normal;
  font-size: 10px;
}

.system-health {
  margin: 0 14px 15px;
  padding: 12px;
  display: flex;
  align-items: center;
  border: 1px solid #20344e;
  border-radius: 8px;
  background: #0c1d31;
}

.system-health div {
  display: grid;
  gap: 4px;
}

.system-health span {
  color: #6f849e;
  font-size: 9px;
  text-transform: uppercase;
}

.system-health b {
  font-size: 10px;
  font-weight: 600;
}

.system-health > i {
  width: 8px;
  height: 8px;
  margin-left: auto;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 9px #22c55e;
}

.sidebar-user {
  min-height: 69px;
  padding: 12px 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid #203047;
}

.avatar {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #1e3a5f;
  color: #7dd3fc;
  font-size: 11px;
  font-weight: 800;
}

.sidebar-user > div:nth-child(2) {
  min-width: 0;
  flex: 1;
  display: grid;
  gap: 3px;
}

.sidebar-user b {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
}

.sidebar-user span {
  text-transform: capitalize;
  color: #6f849e;
  font-size: 9px;
}

.sidebar-user button {
  border: 0;
  background: none;
  color: #71859f;
}

.main-area {
  min-height: 100vh;
  margin-left: 248px;
}

.topbar {
  height: 78px;
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid #e0e7ef;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(12px);
}

.topbar h1 {
  margin: 0 0 3px;
  font-size: 20px;
  color: #111c2e;
  letter-spacing: -.025em;
}

.topbar p {
  margin: 0;
  color: #7b8ba1;
  font-size: 11px;
}

.menu-button {
  display: none;
  padding: 7px;
  border: 0;
  background: none;
}

.top-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.live-pill {
  padding: 7px 10px;
  display: flex;
  gap: 7px;
  align-items: center;
  border: 1px solid #bbf7d0;
  border-radius: 6px;
  color: #15803d;
  background: #f0fdf4;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .08em;
}

.live-pill i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulse 1.8s infinite;
}

.live-pill span {
  color: #65a30d;
  font-weight: 600;
}

.icon-button {
  width: 36px;
  height: 36px;
  position: relative;
  display: grid;
  place-items: center;
  border: 1px solid #dce4ed;
  border-radius: 7px;
  color: #475569;
  background: white;
}

.icon-button i {
  position: absolute;
  right: 7px;
  top: 7px;
  width: 6px;
  height: 6px;
  border: 1px solid white;
  border-radius: 50%;
  background: #ef4444;
}

.date-box {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  border-left: 1px solid #e2e8f0;
  color: #64748b;
  font-size: 11px;
}

.page-content {
  padding: 22px 26px 42px;
}

.update-strip {
  min-height: 34px;
  margin-bottom: 15px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #dce9f1;
  border-radius: 6px;
  background: #f8fbfd;
  color: #6c8196;
  font-size: 9px;
  letter-spacing: .07em;
}

.update-strip span {
  display: flex;
  align-items: center;
  gap: 7px;
}

.update-strip span:first-child {
  color: #07849a;
  font-weight: 800;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.summary-card {
  min-width: 0;
  position: relative;
  overflow: hidden;
  padding: 17px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid #dfe7ef;
  border-radius: 9px;
  background: white;
  box-shadow: 0 3px 12px #1e293b06;
}

.summary-card:before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: #2563eb;
}

.summary-card.normal:before {
  background:#16a34a
}

.summary-card.watch:before {
  background:#0ea5e9
}

.summary-card.warning:before {
  background:#f59e0b
}

.summary-card.critical:before {
  background:#ef4444
}

.summary-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 8px;
  color: #2563eb;
  background: #eff6ff;
}

.normal .summary-icon {
  color:#16a34a;
  background:#f0fdf4
}

.watch .summary-icon {
  color:#0284c7;
  background:#f0f9ff
}

.warning .summary-icon {
  color:#d97706;
  background:#fffbeb
}

.critical .summary-icon {
  color:#dc2626;
  background:#fef2f2
}

.summary-card > div:nth-child(2) {
  min-width: 0;
  display: grid;
}

.summary-card span {
  color: #64748b;
  font-size: 10px;
  font-weight: 700;
}

.summary-card strong {
  margin: 2px 0;
  color: #0f172a;
  font-size: 25px;
  line-height: 1;
}

.summary-card small {
  white-space: nowrap;
  color: #9aa8b9;
  font-size: 8px;
}

.micro-bars {
  height: 28px;
  margin: auto 0 0 auto;
  display: flex;
  align-items: flex-end;
  gap: 2px;
  opacity: .18;
}

.micro-bars i {
  width: 3px;
  background: currentColor;
  border-radius: 2px;
}

.micro-bars i:nth-child(1){
  height:35%
}

.micro-bars i:nth-child(2){
  height:55%
}

.micro-bars i:nth-child(3){
  height:42%
}

.micro-bars i:nth-child(4){
  height:90%
}

.micro-bars i:nth-child(5){
  height:68%
}

.section-heading {
  margin: 23px 1px 11px;
  display: flex;
  align-items: end;
  justify-content: space-between;
}

.section-heading > div > span, .section-label {
  color: #0891b2;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .15em;
}

.section-heading h2 {
  margin: 3px 0 0;
  font-size: 16px;
}

.text-button {
  display: flex;
  align-items: center;
  gap: 5px;
  border: 0;
  background: none;
  color: #64748b;
  font-size: 10px;
}

.unit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.unit-card {
  padding: 0;
  overflow: hidden;
  border: 1px solid #dfe7ef;
  border-top: 3px solid #16a34a;
  border-radius: 8px;
  background: white;
  color: inherit;
  text-align: left;
  box-shadow: 0 2px 10px #0f172a08;
  transition: transform .18s, box-shadow .18s;
}

.unit-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px #0f172a12;
}

.unit-card.watch {
  border-top-color: #0ea5e9
}

.unit-card.warning {
  border-top-color: #f59e0b
}

.unit-card.critical {
  border-top-color: #ef4444
}

.unit-card.offline {
  border-top-color: #64748b;
  opacity: .78
}

.unit-top {
  padding: 13px 14px 10px;
  display: flex;
  gap: 6px;
  justify-content: space-between;
}

.unit-top > div {
  min-width: 0;
}

.unit-top > div > span {
  color: #64748b;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .1em;
}

.unit-top h3 {
  margin: 3px 0 3px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 12px;
}

.unit-top small {
  color: #8997a9;
  font-size: 8px;
}

.status-badge {
  height: 21px;
  padding: 0 7px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 4px;
  color: #15803d;
  background: #edfdf3;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.status-badge i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.status-badge.watch {
  color:#0284c7;
  background:#f0f9ff
}

.status-badge.warning {
  color:#d97706;
  background:#fff8e6
}

.status-badge.critical {
  color:#dc2626;
  background:#fef2f2
}

.status-badge.offline {
  color:#64748b;
  background:#f1f5f9
}

.unit-risk {
  padding: 0 14px 11px;
}

.unit-risk > div:first-child {
  display: flex;
  align-items: end;
  justify-content: space-between;
}

.unit-risk span {
  color:#8493a5;
  font-size:8px
}

.unit-risk strong {
  font-size: 15px;
}

.unit-risk small {
  color:#94a3b8;
  font-size:8px
}

.risk-track {
  height: 4px;
  margin-top: 6px;
  overflow: hidden;
  border-radius: 4px;
  background: #edf1f5;
}

.risk-track i {
  display:block;
  height:100%;
  border-radius:4px;
  background:#16a34a
}

.watch .risk-track i {
  background:#0ea5e9
}

.warning .risk-track i {
  background:#f59e0b
}

.critical .risk-track i {
  background:#ef4444
}

.offline .risk-track i {
  background:#64748b
}

.unit-values {
  padding: 10px 14px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #edf1f5;
  border-bottom: 1px solid #edf1f5;
  background: #fbfcfe;
}

.unit-values div {
  min-width:0;
  display:grid;
  gap:3px
}

.unit-values div:not(:first-child) {
  padding-left:9px;
  border-left:1px solid #e5ebf1
}

.unit-values span {
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#94a3b8;
  font-size:7px
}

.unit-values b {
  font-size:11px
}

.unit-values small {
  color:#94a3b8;
  font-size:7px;
  font-weight:500
}

.unit-card-footer {
  padding: 8px 14px;
  display:flex;
  justify-content:space-between;
  color:#718196;
  font-size:8px
}

.unit-card-footer > span:first-child {
  color:#16a34a;
  font-weight:700
}

.unit-card-footer i {
  display:inline-block;
  width:5px;
  height:5px;
  margin-right:3px;
  border-radius:50%;
  background:currentColor
}

.dashboard-bottom {
  margin-top: 15px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, .8fr);
  gap: 12px;
}

.decision-panel {
  grid-column: 1 / -1;
}

.panel {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #dfe7ef;
  border-radius: 9px;
  background: white;
  box-shadow: 0 2px 10px #0f172a08;
}

.panel > header {
  min-height: 58px;
  padding: 0 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid #e7edf3
}

.panel > header > button {
  border:0;
  background:none;
  color:#94a3b8
}

.panel-title {
  display:flex;
  align-items:center;
  gap:10px
}

.panel-title > svg {
  color:#0891b2
}

.panel-title h3 {
  margin:0 0 3px;
  font-size:12px
}

.panel-title span {
  display:block;
  color:#8998aa;
  font-size:8px
}

.panel-body {
  min-width: 0;
}

.more-dots {
  letter-spacing:2px;
  font-size:11px
}

.alarm-list {
  padding: 4px 15px;
}

.alarm-row {
  padding:11px 0;
  display:flex;
  align-items:center;
  gap:10px;
  border-bottom:1px solid #edf1f5
}

.alarm-row:last-child{
  border:0
}

.alarm-row > i {
  width:3px;
  height:31px;
  border-radius:4px;
  background:#64748b
}

.alarm-row > i.warning{
  background:#f59e0b
}

.alarm-row > i.critical{
  background:#ef4444
}

.alarm-row > i.watch{
  background:#0ea5e9
}

.alarm-row > div {
  min-width:0;
  flex:1;
  display:grid;
  gap:4px
}

.alarm-row b {
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
  font-size:10px
}

.alarm-row div span {
  color:#8796a8;
  font-size:8px
}

.decision-focus {
  min-height: 160px;
  padding:20px 28px;
  display:flex;
  align-items:center;
  gap:27px;
  background:linear-gradient(100deg,#f8fafc,#fff)
}

.risk-ring {
  width:105px;
  height:105px;
  flex:0 0 auto;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:conic-gradient(var(--color) var(--risk),#e8edf3 0);
  position:relative
}

.risk-ring:after {
  content:"";
  position:absolute;
  inset:10px;
  border-radius:50%;
  background:white
}

.risk-ring span {
  z-index:1;
  display:grid;
  text-align:center;
  color:#94a3b8;
  font-size:8px
}

.risk-ring b {
  color:#0f172a;
  font-size:25px
}

.decision-focus h3 {
  margin:9px 0 5px;
  font-size:14px
}

.decision-focus p {
  max-width:730px;
  margin:0;
  color:#64748b;
  font-size:11px;
  line-height:1.65
}

.decision-footer {
  padding:10px 17px;
  display:flex;
  align-items:center;
  gap:8px;
  border-top:1px solid #edf1f5;
  color:#64748b;
  background:#fbfcfd;
  font-size:9px
}

.toolbar {
  margin-bottom:14px;
  padding:12px 15px;
  display:flex;
  align-items:end;
  gap:14px;
  border:1px solid #dfe7ef;
  border-radius:8px;
  background:white
}

.toolbar label {
  min-width:230px;
  margin:0;
  gap:5px;
  font-size:9px;
  text-transform:uppercase;
  letter-spacing:.07em
}

.toolbar select {
  padding:9px 11px;
  font-size:10px
}

.toolbar-live {
  margin:0 4px 10px auto;
  display:flex;
  align-items:center;
  gap:7px;
  color:#15803d;
  font-size:9px;
  font-weight:700
}

.toolbar-live i {
  width:7px;
  height:7px;
  border-radius:50%;
  background:#22c55e;
  box-shadow:0 0 7px #22c55e
}

.monitor-hero {
  display:grid;
  grid-template-columns:minmax(0,1.65fr) minmax(250px,.35fr);
  gap:12px
}

.filter-schematic,.risk-overview {
  min-height:285px;
  border:1px solid #dfe7ef;
  border-radius:9px;
  background:white
}

.schematic-title {
  height:50px;
  padding:0 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid #edf1f5
}

.schematic-title > span,.risk-overview > span {
  color:#64748b;
  font-size:8px;
  font-weight:900;
  letter-spacing:.14em
}

.process-line {
  min-height:150px;
  padding:30px;
  display:flex;
  align-items:center;
  justify-content:center
}

.pipe {
  min-width:110px;
  position:relative;
  padding:10px;
  border-top:8px solid #c5d5e5;
  color:#64748b;
  text-align:center
}

.pipe:after {
  content:"";
  position:absolute;
  top:-10px;
  width:10px;
  height:12px;
  border-radius:50%;
  background:#06b6d4;
  box-shadow:0 0 13px #06b6d4;
  animation:flow 2s linear infinite
}

.pipe.inlet:after {
  left:10%
}

.pipe.outlet:after {
  right:10%
}

.pipe span{
  display:block;
  font-size:7px;
  font-weight:800
}

.pipe b{
  font-size:11px
}

.pump-symbol {
  width:54px;
  height:54px;
  position:relative;
  display:grid;
  place-items:center;
  border:6px solid #8ba5bd;
  border-radius:50%;
  color:#0891b2
}

.pump-symbol:before,.pump-symbol:after{
  content:"";
  position:absolute;
  top:50%;
  width:25px;
  height:8px;
  background:#c5d5e5;
  transform:translateY(-50%)
}

.pump-symbol:before{
  right:100%
}

.pump-symbol:after{
  left:100%
}

.pump-symbol i{
  position:absolute;
  inset:7px;
  border:2px dashed #06b6d4;
  border-radius:50%;
  animation:spin 5s linear infinite
}

.filter-symbol {
  width:125px;
  height:115px;
  margin:0 25px;
  position:relative;
  display:grid;
  place-items:center;
  border:3px solid #16a34a;
  border-radius:12px;
  color:#16a34a;
  background:#f6fff9;
  box-shadow:inset 0 0 28px #16a34a12
}

.filter-symbol:before,.filter-symbol:after{
  content:"";
  position:absolute;
  top:50%;
  width:28px;
  height:8px;
  background:#c5d5e5;
  transform:translateY(-50%)
}

.filter-symbol:before{
  right:100%
}

.filter-symbol:after{
  left:100%
}

.filter-symbol > span{
  position:absolute;
  bottom:18px;
  color:#475569;
  font-size:8px;
  font-weight:800
}

.filter-symbol > i{
  position:absolute;
  bottom:5px;
  color:#64748b;
  font-size:7px;
  font-style:normal
}

.filter-symbol.warning{
  border-color:#f59e0b;
  color:#d97706;
  background:#fffbeb
}

.filter-symbol.critical{
  border-color:#ef4444;
  color:#dc2626;
  background:#fef2f2
}

.filter-symbol.watch{
  border-color:#0ea5e9;
  color:#0284c7;
  background:#f0f9ff
}

.filter-symbol.offline{
  border-color:#64748b;
  color:#64748b;
  background:#f1f5f9
}

.flow-caption {
  margin:0 25px;
  padding:9px 11px;
  position:relative;
  overflow:hidden;
  display:flex;
  align-items:center;
  gap:8px;
  border-radius:6px;
  color:#64748b;
  background:#f0f7fb;
  font-size:9px
}

.flow-caption b{
  margin-left:auto;
  color:#0f172a
}

.flow-caption i{
  position:absolute;
  left:0;
  bottom:0;
  height:2px;
  background:#06b6d4
}

.risk-overview {
  padding:18px;
  text-align:center
}

.risk-overview > span {
  display:block
}

.large-gauge {
  margin:-5px 0 -24px
}

.risk-overview p {
  margin:12px auto 0;
  max-width:280px;
  color:#64748b;
  font-size:9px;
  line-height:1.6
}

.sensor-grid {
  margin:12px 0;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:12px
}

.sensor-card {
  padding:14px;
  position:relative;
  border:1px solid #dfe7ef;
  border-radius:8px;
  background:white
}

.sensor-icon{
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  position:absolute;
  right:13px;
  top:13px;
  border-radius:7px;
  color:#0891b2;
  background:#ecfeff
}

.sensor-card > span{
  color:#64748b;
  font-size:9px
}

.sensor-card > strong{
  margin-top:6px;
  display:block;
  font-size:22px
}

.sensor-card > strong small{
  margin-left:4px;
  color:#94a3b8;
  font-size:9px
}

.sensor-card p{
  margin:12px 0 0;
  padding-top:8px;
  display:flex;
  align-items:center;
  gap:6px;
  border-top:1px solid #edf1f5;
  color:#8493a5;
  font-size:8px
}

.sensor-card p i{
  width:5px;
  height:5px;
  border-radius:50%;
  background:#16a34a
}

.sensor-card p i.warning{
  background:#f59e0b
}

.sensor-card p i.critical{
  background:#ef4444
}

.sensor-card p i.offline{
  background:#64748b
}

.full-chart {
  margin-top: 12px;
}

.alarm-kpis {
  margin-bottom:12px;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:12px
}

.alarm-kpis > div {
  padding:15px;
  display:flex;
  align-items:center;
  gap:13px;
  border:1px solid #dfe7ef;
  border-radius:8px;
  background:white;
  color:#0891b2
}

.alarm-kpis svg{
  padding:8px;
  width:38px;
  height:38px;
  border-radius:7px;
  background:#ecfeff
}

.alarm-kpis span{
  display:grid;
  color:#64748b;
  font-size:9px
}

.alarm-kpis strong{
  color:#0f172a;
  font-size:21px
}

.table-tools {
  padding:12px 15px;
  display:flex;
  gap:9px;
  border-bottom:1px solid #edf1f5;
  background:#fafcfd
}

.search-box{
  margin-right:auto;
  display:flex;
  align-items:center;
  gap:8px;
  color:#8190a2;
  font-size:9px
}

.table-tools select{
  width:145px;
  padding:8px;
  font-size:9px
}

.table-scroll{
  overflow-x:auto
}

table{
  width:100%;
  border-collapse:collapse;
  font-size:9px
}

th{
  padding:10px 13px;
  color:#718196;
  background:#f5f8fa;
  text-align:left;
  text-transform:uppercase;
  letter-spacing:.05em
}

td{
  padding:12px 13px;
  border-top:1px solid #edf1f5;
  color:#475569
}

td:first-child{
  min-width:195px
}

td b,td span{
  display:block
}

td b{
  margin-bottom:3px;
  color:#1e293b;
  font-size:10px
}

td span{
  color:#94a3b8;
  font-size:8px
}

.plain-status{
  display:inline-block!important;
  color:#475569!important;
  font-weight:700!important
}

.note-cell{
  max-width:210px;
  color:#718196
}

.row-actions{
  display:flex;
  gap:5px
}

.row-actions button{
  padding:6px 8px;
  border:1px solid #bae6fd;
  border-radius:5px;
  color:#0369a1;
  background:#f0f9ff;
  font-size:8px;
  font-weight:700
}

.row-actions button.resolve{
  border-color:#bbf7d0;
  color:#15803d;
  background:#f0fdf4
}

.trend-layout {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px
}

.report-layout{
  display:grid;
  grid-template-columns:minmax(0,.85fr) minmax(400px,1.15fr);
  gap:16px
}

.report-builder{
  padding:34px;
  border:1px solid #dfe7ef;
  border-radius:9px;
  background:white
}

.report-builder h2{
  margin:8px 0;
  font-size:24px
}

.report-builder > p{
  margin:0 0 28px;
  color:#64748b;
  font-size:11px;
  line-height:1.6
}

.report-form{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px
}

.report-form label{
  font-size:9px
}

.report-form input,.report-form select{
  font-size:10px
}

.export-buttons{
  margin-top:10px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:8px
}

.export-buttons button{
  padding:12px 7px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  border:1px solid #d9e4ee;
  border-radius:7px;
  color:#334155;
  background:white;
  font-size:9px;
  font-weight:800
}

.export-buttons button:hover{
  border-color:#0891b2;
  color:#0e7490
}

.export-buttons svg{
  width:16px
}

.report-preview{
  padding:25px;
  display:grid;
  place-items:center;
  border:1px solid #dfe7ef;
  border-radius:9px;
  background:#e8edf3
}

.paper{
  width:min(450px,100%);
  min-height:560px;
  padding:34px;
  position:relative;
  background:white;
  box-shadow:0 13px 40px #0f172a25
}

.paper-head{
  display:flex;
  align-items:center;
  gap:10px
}

.paper-head .brand-mark{
  width:34px;
  height:34px
}

.paper-head b,.paper-head span{
  display:block
}

.paper-head b{
  font-size:9px
}

.paper-head span{
  margin-top:3px;
  color:#64748b;
  font-size:7px;
  letter-spacing:.1em
}

.paper hr{
  margin:16px 0;
  border:0;
  border-top:2px solid #0f172a
}

.paper h3{
  margin:25px 0 5px;
  font-size:13px
}

.paper>p{
  margin:0;
  color:#64748b;
  font-size:8px
}

.preview-stats{
  margin:20px 0;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  border:1px solid #e2e8f0
}

.preview-stats span{
  padding:10px;
  display:grid;
  color:#64748b;
  font-size:7px
}

.preview-stats span:not(:last-child){
  border-right:1px solid #e2e8f0
}

.preview-stats b{
  color:#0f172a;
  font-size:17px
}

.preview-row{
  padding:10px 0;
  display:grid;
  grid-template-columns:90px 1fr 60px 20px;
  align-items:center;
  border-bottom:1px solid #edf1f5;
  font-size:8px
}

.preview-row i{
  height:1px;
  background:#e2e8f0
}

.preview-row b{
  text-align:center;
  font-size:7px
}

.preview-row small{
  text-align:right
}

.paper-footer{
  position:absolute;
  bottom:25px;
  left:34px;
  right:34px;
  padding-top:8px;
  border-top:1px solid #e2e8f0;
  color:#94a3b8;
  font-size:7px
}

.settings-layout{
  display:grid;
  grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr);
  gap:12px
}

.settings-form{
  padding:20px
}

.settings-form label{
  padding:10px 0;
  display:flex;
  align-items:center;
  border-bottom:1px solid #edf1f5;
  color:#334155;
  font-size:10px;
  font-weight:700
}

.settings-form label span{
  display:grid;
  gap:4px;
  flex:1
}

.settings-form label small{
  color:#94a3b8;
  font-size:8px;
  font-weight:400
}

.settings-form input{
  width:150px;
  padding:9px;
  font-size:10px
}

.settings-form .primary-button{
  width:auto;
  margin-top:18px;
  padding:11px 18px;
  font-size:10px
}

.permission-note{
  margin-top:17px;
  padding:11px;
  display:flex;
  align-items:center;
  gap:9px;
  border-radius:6px;
  color:#64748b;
  background:#f1f5f9;
  font-size:9px
}

.formula-list{
  padding:20px
}

.formula-list>div{
  margin-bottom:17px
}

.formula-list span{
  margin-bottom:7px;
  display:flex;
  justify-content:space-between;
  color:#64748b;
  font-size:9px
}

.formula-list span b{
  color:#334155
}

.formula-list>div>i{
  height:5px;
  display:block;
  overflow:hidden;
  border-radius:5px;
  background:#edf1f5
}

.formula-list>div>i>i{
  height:100%;
  display:block;
  border-radius:5px
}

.config-meta{
  margin:0 20px 20px;
  padding:12px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-radius:6px;
  background:#f8fafc;
  color:#64748b;
  font-size:9px
}

.config-meta b{
  display:flex;
  align-items:center;
  gap:6px;
  color:#0e7490;
  text-transform:capitalize
}

.loading {
  min-height:360px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  color:#64748b;
  font-size:11px
}

.spin{
  animation:spin 1s linear infinite
}

.toast{
  position:fixed;
  z-index:100;
  right:22px;
  bottom:22px;
  max-width:360px;
  padding:13px 17px;
  display:flex;
  align-items:center;
  gap:10px;
  border:1px solid #bbf7d0;
  border-radius:8px;
  color:#166534;
  background:#f0fdf4;
  box-shadow:0 10px 30px #0f172a20;
  font-size:11px;
  font-weight:700;
  animation:toast-in .25s ease-out
}

.backdrop{
  display:none
}

@keyframes spin {
  to {
    transform:rotate(360deg)
  }
}

@keyframes pulse {
  50% {
    opacity:.35;
    box-shadow:none
  }
}

@keyframes flow {
  from{
    transform:translateX(0)
  }

  to{
    transform:translateX(70px)
  }
}

@keyframes toast-in {
  from {
    transform:translateY(20px);
    opacity:0
  }
}

@media (max-width: 1200px) {
  .summary-grid{
    grid-template-columns:repeat(3,1fr)
  }

  .unit-grid{
    grid-template-columns:repeat(3,1fr)
  }

  .monitor-hero{
    grid-template-columns:1fr
  }

  .risk-overview{
    min-height:250px
  }

  .sensor-grid{
    grid-template-columns:repeat(2,1fr)
  }
}

@media (max-width: 980px) {
  .login-page{
    grid-template-columns:1fr
  }

  .login-visual{
    display:none
  }

  .mobile-brand{
    margin-bottom:40px;
    display:flex;
    align-items:center;
    gap:11px;
    color:#0f172a
  }

  .sidebar{
    transform:translateX(-100%);
    transition:transform .22s
  }

  .sidebar.open{
    transform:translateX(0);
    box-shadow:10px 0 35px #07111f55
  }

  .sidebar-brand>button{
    display:block
  }

  .backdrop{
    display:block;
    position:fixed;
    z-index:40;
    inset:0;
    background:#0f172a66
  }

  .main-area{
    margin-left:0
  }

  .menu-button{
    display:grid
  }

  .unit-grid{
    grid-template-columns:repeat(2,1fr)
  }

  .dashboard-bottom{
    grid-template-columns:1fr
  }

  .decision-panel{
    grid-column:auto
  }

  .report-layout{
    grid-template-columns:1fr
  }

  .settings-layout{
    grid-template-columns:1fr
  }
}

@media (max-width: 700px) {
  .login-panel{
    padding:30px 23px
  }

  .login-card h2{
    font-size:27px
  }

  .topbar{
    height:68px;
    padding:0 14px
  }

  .topbar p,.date-box,.live-pill span{
    display:none
  }

  .topbar h1{
    font-size:16px
  }

  .page-content{
    padding:14px 12px 32px
  }

  .summary-grid{
    grid-template-columns:repeat(2,1fr)
  }

  .summary-card:last-child{
    grid-column:1/-1
  }

  .unit-grid{
    grid-template-columns:1fr
  }

  .dashboard-bottom{
    grid-template-columns:1fr
  }

  .decision-focus{
    padding:18px;
    align-items:flex-start
  }

  .risk-ring{
    width:80px;
    height:80px
  }

  .risk-ring b{
    font-size:20px
  }

  .toolbar{
    align-items:stretch;
    flex-wrap:wrap
  }

  .toolbar label{
    min-width:calc(50% - 7px);
    flex:1
  }

  .toolbar-live{
    width:100%;
    margin:0
  }

  .process-line{
    padding:25px 8px
  }

  .pipe{
    min-width:65px
  }

  .filter-symbol{
    width:100px;
    margin:0 12px
  }

  .filter-symbol:before,.filter-symbol:after{
    width:15px
  }

  .pump-symbol{
    display:none
  }

  .sensor-grid,.alarm-kpis,.trend-layout{
    grid-template-columns:1fr
  }

  .alarm-kpis{
    grid-template-columns:repeat(2,1fr)
  }

  .report-builder{
    padding:22px
  }

  .report-form,.export-buttons{
    grid-template-columns:1fr
  }

  .report-preview{
    padding:10px
  }

  .table-tools{
    flex-wrap:wrap
  }

  .search-box{
    width:100%;
    margin-bottom:4px
  }

  .table-tools select{
    flex:1
  }

  .toast{
    left:12px;
    right:12px;
    bottom:12px
  }

  .filter-schematic{
    overflow-x:auto
  }
}

/* ------------------------------------------------------------------
   Tambahan untuk versi Laravel (Blade)
------------------------------------------------------------------- */

a {
  color: inherit;
}

.icon {
  flex-shrink: 0;
}

[hidden] {
  display: none !important;
}

.sidebar nav .nav-link {
  text-decoration: none;
}

.sidebar-user form {
  margin: 0;
  display: flex;
}

a.unit-card {
  display: block;
  text-decoration: none;
}

a.icon-button, a.text-button {
  text-decoration: none;
}

a.icon-button {
  position: relative;
  display: grid;
  place-items: center;
}

a.text-button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.chart-box {
  width: 100%;
}

.row-actions form {
  margin: 0;
  display: inline-flex;
}

.empty-note {
  margin: 0;
  padding: 18px 4px;
  color: #94a3b8;
  font-size: 12px;
  text-align: center;
}

.page-alert {
  margin-bottom: 16px;
  padding: 12px 14px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  border: 1px solid #fecaca;
  border-radius: 8px;
  color: #b91c1c;
  background: #fef2f2;
  font-size: 13px;
}

.page-alert p {
  margin: 0 0 2px;
}

.settings-form input.is-invalid {
  border-color: #ef4444;
  background: #fef2f2;
}

.login-card .remember {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  margin-top: -4px;
  font-weight: 500;
}

.login-card .remember input {
  width: auto;
  margin: 0;
}

.primary-button .when-busy {
  display: none;
}

.is-busy .primary-button {
  opacity: .75;
  pointer-events: none;
}

.is-busy .primary-button .when-idle {
  display: none;
}

.is-busy .primary-button .when-busy {
  display: inline-flex;
}

.primary-button .when-idle, .primary-button .when-busy {
  align-items: center;
}

.primary-button .when-idle {
  display: inline-flex;
}
