/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/@angular-devkit/build-angular/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[6].rules[0].oneOf[0].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[6].rules[0].oneOf[0].use[2]!./node_modules/resolve-url-loader/index.js??ruleSet[1].rules[6].rules[1].use[0]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[6].rules[1].use[1]!./src/styles.scss?ngGlobalStyle ***!
  \******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
@import url(https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap);
/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/@angular-devkit/build-angular/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[6].rules[0].oneOf[0].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[6].rules[0].oneOf[0].use[2]!./node_modules/resolve-url-loader/index.js??ruleSet[1].rules[6].rules[1].use[0]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[6].rules[1].use[1]!./src/styles.scss?ngGlobalStyle (1) ***!
  \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
@charset "UTF-8";
*, ::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 */ /* 3 */
  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::placeholder,
textarea::placeholder {
  opacity: 1; /* 1 */
  color: #9ca3af; /* 2 */
}

/*
Set the default cursor for buttons.
*/

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

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

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

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

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

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

/* Make elements with the HTML hidden attribute stay hidden by default */
[hidden]:where(:not([hidden="until-found"])) {
  display: none;
}
.container{
  width: 100%;
}
@media (min-width: 640px){
  .container{
    max-width: 640px;
  }
}
@media (min-width: 768px){
  .container{
    max-width: 768px;
  }
}
@media (min-width: 1024px){
  .container{
    max-width: 1024px;
  }
}
@media (min-width: 1280px){
  .container{
    max-width: 1280px;
  }
}
@media (min-width: 1536px){
  .container{
    max-width: 1536px;
  }
}
  .tw-tab-bar{
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  border-radius: 16px;
  border-width: 1px;
  border-color: var(--color-neutral-200);
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
  padding: 0.5rem;
  --tw-shadow: 0 2px 8px -2px rgba(0,0,0,0.04), 0 1px 2px -1px rgba(0,0,0,0.02);
  --tw-shadow-colored: 0 2px 8px -2px var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
  .tw-tab-btn{
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 12px;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  color: var(--color-neutral-600);
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
  .tw-tab-btn:hover{
  background-color: var(--color-neutral-100);
  color: var(--color-neutral-900);
}
  .tw-tab-btn--active{
  background-color: var(--color-accent-dark);
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
  --tw-shadow: 0 2px 8px -2px rgba(0,0,0,0.04), 0 1px 2px -1px rgba(0,0,0,0.02);
  --tw-shadow-colored: 0 2px 8px -2px var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
  .tw-tab-btn--active:hover{
  background-color: var(--color-accent-dark);
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}
  .tw-tab-count{
  display: inline-flex;
  min-width: 1.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background-color: var(--color-neutral-100);
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  padding-top: 0.125rem;
  padding-bottom: 0.125rem;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  color: var(--color-neutral-700);
}
  .tw-tab-btn--active .tw-tab-count{
  background-color: rgb(255 255 255 / 0.2);
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}
.visible{
  visibility: visible;
}
.collapse{
  visibility: collapse;
}
.fixed{
  position: fixed;
}
.absolute{
  position: absolute;
}
.relative{
  position: relative;
}
.mx-auto{
  margin-left: auto;
  margin-right: auto;
}
.mb-2{
  margin-bottom: 0.5rem;
}
.mb-3{
  margin-bottom: 0.75rem;
}
.mb-4{
  margin-bottom: 1rem;
}
.mb-6{
  margin-bottom: 1.5rem;
}
.mt-4{
  margin-top: 1rem;
}
.block{
  display: block;
}
.flex{
  display: flex;
}
.table{
  display: table;
}
.table-row{
  display: table-row;
}
.grid{
  display: grid;
}
.hidden{
  display: none;
}
.h-8{
  height: 2rem;
}
.h-screen{
  height: 100vh;
}
.w-8{
  width: 2rem;
}
.border-collapse{
  border-collapse: collapse;
}
.transform{
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.cursor-pointer{
  cursor: pointer;
}
.appearance-none{
  appearance: none;
}
.flex-col{
  flex-direction: column;
}
.flex-wrap{
  flex-wrap: wrap;
}
.items-center{
  align-items: center;
}
.justify-end{
  justify-content: flex-end;
}
.justify-center{
  justify-content: center;
}
.justify-between{
  justify-content: space-between;
}
.gap-2{
  gap: 0.5rem;
}
.gap-5{
  gap: 1.25rem;
}
.rounded-full{
  border-radius: 9999px;
}
.rounded-lg{
  border-radius: 0.5rem;
}
.border{
  border-width: 1px;
}
.bg-background{
  background-color: var(--bg-background);
}
.px-3{
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}
.px-4{
  padding-left: 1rem;
  padding-right: 1rem;
}
.py-1\.5{
  padding-top: 0.375rem;
  padding-bottom: 0.375rem;
}
.pl-11{
  padding-left: 2.75rem;
}
.pr-24{
  padding-right: 6rem;
}
.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-\[18px\]{
  font-size: 18px;
}
.text-sm{
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.font-medium{
  font-weight: 500;
}
.font-semibold{
  font-weight: 600;
}
.uppercase{
  text-transform: uppercase;
}
.capitalize{
  text-transform: capitalize;
}
.leading-none{
  line-height: 1;
}
.text-neutral-800{
  color: var(--color-neutral-800);
}
.outline{
  outline-style: solid;
}
.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);
}
.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;
}
.transition-colors{
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
:root {
  color-scheme: light;
  --font-sans: "Inter", "Roboto", sans-serif;
  --font-serif: "Inter", "Roboto", sans-serif;
  --bg-background: #f4f6f9;
  --bg-surface: #ffffff;
  --surface-card: #ffffff;
  --surface-card-rgb: 255, 255, 255;
  --surface-muted: #f8fafc;
  --surface-soft: #e9eef5;
  --surface-hover: #f1f5f9;
  --surface-overlay: rgba(15, 23, 42, 0.58);
  --border-subtle: #e1e7ef;
  --border-strong: #cbd5e1;
  --border-contrast: rgba(15, 23, 42, 0.08);
  --text-primary: #172033;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-soft: #94a3b8;
  --text-inverse: #ffffff;
  --shadow-soft: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-card: 0 1px 2px rgba(15, 23, 42, 0.05), 0 8px 20px rgba(15, 23, 42, 0.035);
  --shadow-raised: 0 22px 56px rgba(15, 23, 42, 0.2), 0 4px 12px rgba(15, 23, 42, 0.08);
  --focus-ring: rgba(59, 89, 152, 0.16);
  --accent-rgb: 59, 89, 152;
  --success-rgb: 22, 163, 74;
  --warning-rgb: 217, 119, 6;
  --danger-rgb: 220, 38, 38;
  --color-neutral-50: #f7f9fc;
  --color-neutral-100: #eef2f7;
  --color-neutral-200: #d8dfea;
  --color-neutral-300: #bac9df;
  --color-neutral-400: #afbdd4;
  --color-neutral-500: #8ea3c7;
  --color-neutral-600: #6d84b4;
  --color-neutral-700: #5870a1;
  --color-neutral-800: #3b5998;
  --color-neutral-900: #243b6b;
  --color-neutral-950: #17294d;
  --color-stone-50: var(--color-neutral-50);
  --color-stone-100: var(--color-neutral-100);
  --color-stone-200: var(--color-neutral-200);
  --color-stone-300: var(--color-neutral-300);
  --color-stone-400: var(--color-neutral-400);
  --color-stone-500: var(--color-neutral-500);
  --color-stone-600: var(--color-neutral-600);
  --color-stone-700: var(--color-neutral-700);
  --color-stone-800: var(--color-neutral-800);
  --color-stone-900: var(--color-neutral-900);
  --color-stone-950: var(--color-neutral-950);
  --color-accent-light: #dce5f5;
  --color-accent: #3b5998;
  --color-accent-dark: #2d4373;
  --background: 220 15% 96%;
  --foreground: 220 40% 26%;
  --card: 220 29% 99%;
  --card-foreground: 220 40% 26%;
  --popover: 220 29% 99%;
  --popover-foreground: 220 40% 26%;
  --primary: 221 40% 46%;
  --primary-foreground: 220 25% 98%;
  --secondary: 220 19% 91%;
  --secondary-foreground: 220 40% 26%;
  --muted: 220 17% 91%;
  --muted-foreground: 220 18% 48%;
  --accent: 221 40% 46%;
  --accent-foreground: 220 25% 98%;
  --destructive: 0 72% 51%;
  --border: 220 18% 86%;
  --input: 220 18% 86%;
  --ring: 221 40% 46%;
  --radius: 0.5rem;
  --sidebar: 220 29% 99%;
  --sidebar-foreground: 220 40% 26%;
  --sidebar-accent: 220 19% 91%;
  --sidebar-accent-foreground: 220 40% 26%;
  --sidebar-border: 220 18% 86%;
  --sidebar-ring: 221 40% 46%;
}

html.dark {
  color-scheme: dark;
  --bg-background: #000000;
  --bg-surface: #05070c;
  --surface-card: #0b0f17;
  --surface-card-rgb: 11, 15, 23;
  --surface-muted: #111722;
  --surface-soft: #192132;
  --surface-hover: #151d2b;
  --surface-overlay: rgba(0, 0, 0, 0.72);
  --border-subtle: rgba(181, 192, 219, 0.16);
  --border-strong: rgba(201, 211, 234, 0.28);
  --border-contrast: rgba(255, 255, 255, 0.08);
  --text-primary: #f2f5fb;
  --text-secondary: #dde3f0;
  --text-muted: #bcc7da;
  --text-soft: #919db7;
  --text-inverse: #05070c;
  --shadow-soft: 0 18px 40px -30px rgba(0, 0, 0, 0.88);
  --shadow-card: 0 30px 72px -42px rgba(0, 0, 0, 0.92), 0 16px 30px -18px rgba(0, 0, 0, 0.72);
  --shadow-raised: 0 36px 92px -40px rgba(0, 0, 0, 0.96), 0 22px 44px -22px rgba(0, 0, 0, 0.78);
  --focus-ring: rgba(138, 156, 197, 0.24);
  --accent-rgb: 138, 156, 197;
  --success-rgb: 74, 222, 128;
  --warning-rgb: 251, 191, 36;
  --danger-rgb: 248, 113, 113;
  --color-neutral-50: #f2f5fb;
  --color-neutral-100: #e3e9f4;
  --color-neutral-200: #cbd5e7;
  --color-neutral-300: #a8b7d1;
  --color-neutral-400: #8698bb;
  --color-neutral-500: #6a7ea7;
  --color-neutral-600: #53678e;
  --color-neutral-700: #394a72;
  --color-neutral-800: #1c2434;
  --color-neutral-900: #0d121b;
  --color-neutral-950: #000000;
  --color-stone-50: var(--color-neutral-50);
  --color-stone-100: var(--color-neutral-100);
  --color-stone-200: var(--color-neutral-200);
  --color-stone-300: var(--color-neutral-300);
  --color-stone-400: var(--color-neutral-400);
  --color-stone-500: var(--color-neutral-500);
  --color-stone-600: var(--color-neutral-600);
  --color-stone-700: var(--color-neutral-700);
  --color-stone-800: var(--color-neutral-800);
  --color-stone-900: var(--color-neutral-900);
  --color-stone-950: var(--color-neutral-950);
  --color-accent-light: #3b4f7c;
  --color-accent: #8a9cc5;
  --color-accent-dark: #c4ccde;
  --background: 0 0% 0%;
  --foreground: 218 33% 96%;
  --card: 220 32% 7%;
  --card-foreground: 218 33% 96%;
  --popover: 220 32% 7%;
  --popover-foreground: 218 33% 96%;
  --primary: 221 35% 66%;
  --primary-foreground: 220 31% 8%;
  --secondary: 220 27% 12%;
  --secondary-foreground: 218 33% 96%;
  --muted: 220 27% 12%;
  --muted-foreground: 220 21% 76%;
  --accent: 221 35% 66%;
  --accent-foreground: 220 31% 8%;
  --destructive: 0 86% 71%;
  --border: 220 22% 18%;
  --input: 220 22% 18%;
  --ring: 221 35% 66%;
  --sidebar: 220 32% 7%;
  --sidebar-foreground: 218 33% 96%;
  --sidebar-accent: 220 27% 12%;
  --sidebar-accent-foreground: 218 33% 96%;
  --sidebar-border: 220 22% 18%;
  --sidebar-ring: 221 35% 66%;
}

html.font-sm {
  font-size: 14px;
}

html.font-base {
  font-size: 16px;
}

html.font-lg {
  font-size: 18px;
}

html,
body {
  min-height: 100%;
  margin: 0;
  font-family: var(--font-sans);
  background-color: var(--bg-background);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color 0.2s ease, color 0.2s ease;
}

body {
  background-image: none;
}

html.dark body {
  background-image: none;
}

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

h1,
h2,
h3,
.font-serif {
  font-family: var(--font-serif);
  font-feature-settings: "liga" 1, "kern" 1;
}

a {
  color: inherit;
}

button,
[role=button] {
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.12s ease;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px var(--focus-ring);
}

::selection {
  background: rgba(var(--accent-rgb), 0.22);
  color: var(--text-primary);
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(var(--accent-rgb), 0.24);
  border: 2px solid transparent;
  border-radius: 999px;
  background-clip: padding-box;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(var(--accent-rgb), 0.36);
  background-clip: padding-box;
}

body .page-wrapper,
body .page-container,
body .ops-page {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: clamp(1rem, 2vw, 1.75rem);
  padding-bottom: 2rem;
}

body .page-header,
body .ops-page .page-header,
body .page-container .page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

body .page-header .header-left,
body .page-header-left,
body .ops-page .header-left,
body .ops-page .page-header-left {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

body .page-header .page-title,
body .page-container .page-title,
body .ops-page .page-title,
body .page-header h1,
body .page-header h2 {
  margin: 0;
  color: var(--text-primary) !important;
  font-family: var(--font-serif);
  font-size: clamp(1.55rem, 2vw, 2rem);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.1;
}

body .page-header .page-subtitle,
body .page-container .page-subtitle,
body .ops-page .page-subtitle,
body .page-header p {
  margin: 0;
  color: var(--text-muted) !important;
  font-size: 0.92rem;
  line-height: 1.55;
}

body .page-header .header-actions,
body .page-header-actions,
body .ops-page .page-header-actions,
body .ops-page .header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

body .back-link,
body .link-primary {
  color: var(--text-muted) !important;
  text-decoration: none;
}

body .back-link:hover,
body .link-primary:hover {
  color: var(--color-accent) !important;
}

body .card,
body .table-wrapper,
body .table-card,
body .filter-card,
body .report-card,
body .empty-card,
body .summary-card,
body .account-card,
body .header-card,
body .lines-card,
body .settings-card,
body .verify-card {
  background: var(--surface-card) !important;
  color: var(--text-primary);
  border: 1px solid var(--border-subtle) !important;
  border-radius: 1.25rem !important;
  box-shadow: var(--shadow-card) !important;
}

body .table-card,
body .table-wrapper {
  overflow: hidden;
}

body .card-header,
body .modal-header,
body .sub-table-header,
body .sub-table-header-row,
body .section-header h2,
body .report-title h2,
body .page-header .verify-title {
  color: var(--text-primary) !important;
}

body .card-header,
body .modal-header,
body .sub-table-header,
body .sub-table-header-row,
body .group-header {
  border-color: var(--border-subtle) !important;
}

body .card-footer,
body .modal-footer,
body .form-actions,
body .form-footer,
body .pagination {
  border-top: 1px solid var(--border-subtle) !important;
}

body .card-body,
body .modal-body {
  color: var(--text-secondary);
}

body .filters-bar,
body .filter-bar {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  flex-wrap: wrap;
  padding: 1rem 1.125rem;
}

body .loading-overlay {
  background: rgba(var(--surface-card-rgb), 0.76) !important;
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
}

body .loading-state,
body .loading-wrap,
body .loading-center,
body .sub-loading,
body .loading-spinner,
body .no-data,
body .empty-state,
body .sub-empty {
  color: var(--text-muted) !important;
}

body .no-data,
body .sub-empty {
  background: var(--surface-card) !important;
  border: 1px dashed var(--border-strong) !important;
  border-radius: 1.25rem;
}

body .muted,
body .text-muted,
body .meta,
body .small,
body .page-info,
body .branch-code,
body .file-meta,
body .file-hint,
body .setting-desc,
body .group-count,
body .perm-summary,
body .role-slug,
body .verify-desc,
body .verify-divider,
body .info-label,
body .page-header .branch-tag,
body .notes-section p,
body .timeline-item,
body .timeline-note,
body .file-label {
  color: var(--text-muted) !important;
}

body code,
body .gl-code,
body .account-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.2rem 0.5rem;
  border-radius: 0.6rem;
  background: var(--surface-muted) !important;
  color: var(--text-secondary) !important;
  border: 1px solid var(--border-subtle);
  font-size: 0.78rem;
}

body input:not(.mat-mdc-input-element):not([type=checkbox]):not([type=radio]),
body select,
body textarea:not(.mat-mdc-input-element),
body .form-control,
body .field-input {
  color: var(--text-primary);
}

body .form-control,
body .field-input,
body input:not(.mat-mdc-input-element):not([type=checkbox]):not([type=radio]),
body select,
body textarea:not(.mat-mdc-input-element) {
  background: var(--surface-muted);
  border: 1px solid var(--border-subtle);
  border-radius: 1rem;
}

body select option,
body select optgroup {
  background: var(--surface-card);
  color: var(--text-primary);
}

body select option:checked {
  background: rgba(var(--accent-rgb), 0.18);
  color: var(--text-primary);
}

body .form-control::placeholder,
body .field-input::placeholder,
body input:not(.mat-mdc-input-element)::placeholder,
body textarea:not(.mat-mdc-input-element)::placeholder {
  color: var(--text-soft);
}

/* Shared form system */
body .form-card {
  width: min(100%, 980px);
  margin: 0 auto;
  padding: clamp(1.25rem, 2vw, 1.75rem);
}

body .field-control {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 0;
}

body .field-label {
  display: block;
  color: var(--text-secondary) !important;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body .field-label span {
  color: var(--color-accent);
}

body .field-shell {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 3.45rem;
  border: 1px solid var(--border-subtle);
  border-radius: 1.1rem;
  background: linear-gradient(180deg, rgba(var(--surface-card-rgb), 0.98), rgba(var(--surface-card-rgb), 0.92)), var(--surface-muted);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72), 0 14px 30px -26px rgba(var(--accent-rgb), 0.28);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, transform 0.12s ease;
}

body .field-shell:hover {
  border-color: var(--border-strong);
}

body .field-shell:focus-within {
  border-color: rgba(var(--accent-rgb), 0.52);
  box-shadow: 0 0 0 0.24rem var(--focus-ring), inset 0 1px 0 rgba(255, 255, 255, 0.72), 0 16px 34px -26px rgba(var(--accent-rgb), 0.34);
}

body .field-control--invalid .field-shell {
  border-color: rgba(var(--danger-rgb), 0.4);
  box-shadow: 0 0 0 0.18rem rgba(var(--danger-rgb), 0.08);
}

body .field-shell--select {
  cursor: pointer;
}

body .field-shell--trailing .field-input {
  padding-right: 3rem;
}

body .field-input {
  width: 100%;
  min-height: 3.45rem;
  padding: 0.94rem 1rem;
  border: 0;
  border-radius: inherit;
  background: transparent;
  color: var(--text-primary);
  font: inherit;
  line-height: 1.5;
  outline: 0;
}

body .field-input::placeholder {
  color: var(--text-soft);
}

body .field-input:disabled,
body .secondary-action:disabled,
body .form-secondary-btn:disabled,
body .form-primary-btn:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

body .field-input:-webkit-autofill,
body .field-input:-webkit-autofill:hover,
body .field-input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--text-primary);
  -webkit-box-shadow: 0 0 0 1000px var(--surface-muted) inset;
  -webkit-transition: background-color 9999s ease-in-out 0s;
  transition: background-color 9999s ease-in-out 0s;
}

body .field-select {
  appearance: none;
  padding-right: 3rem;
  cursor: pointer;
}

body .field-input[type=date] {
  color-scheme: inherit;
}

body .field-textarea {
  min-height: 6.8rem;
  resize: vertical;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

body .field-trailing {
  position: absolute;
  right: 0.9rem;
  top: 50%;
  width: 1.1rem;
  height: 1.1rem;
  font-size: 1.1rem;
  transform: translateY(-50%);
  pointer-events: none;
}

body .field-trailing--icon {
  color: var(--text-soft) !important;
}

body .field-trailing--verified {
  color: rgb(var(--success-rgb)) !important;
}

body .field-trailing--top {
  top: 1.1rem;
  transform: none;
}

body .field-error {
  color: rgb(var(--danger-rgb)) !important;
  font-size: 0.82rem;
  line-height: 1.45;
}

body .form-card--narrow {
  width: min(100%, 920px);
}

body .form-section {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  padding-bottom: 1.4rem;
  margin-bottom: 1.4rem;
  border-bottom: 1px solid var(--border-subtle);
}

body .form-section:last-of-type {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

body .form-section > h3,
body .form-section > h4,
body .form-section-title {
  margin: 0;
  color: var(--text-primary) !important;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body .form-row,
body .form-grid-2,
body .form-grid-3,
body .form-grid {
  display: grid;
  gap: 1rem;
  align-items: start;
}

body .form-row,
body .form-grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

body .form-grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

body .form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 0;
}

body .form-hint {
  display: block;
  margin-top: -0.15rem;
  color: var(--text-muted) !important;
  font-size: 0.78rem;
  line-height: 1.5;
}

body .info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.85rem;
}

body .info-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--border-subtle);
  border-radius: 1rem;
  background: linear-gradient(180deg, #ffffff 0%, var(--surface-muted) 100%);
}

body .info-row .info-label {
  flex-shrink: 0;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body .alert {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  border: 1px solid var(--border-subtle);
  background: var(--surface-muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

body .alert-danger {
  border-color: rgba(var(--danger-rgb), 0.18) !important;
  background: rgba(var(--danger-rgb), 0.08) !important;
  color: rgb(var(--danger-rgb)) !important;
}

body .error-text {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 600;
  color: rgb(var(--danger-rgb)) !important;
}

body .form-actions,
body .form-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  padding-top: 1.2rem;
}

body .form-actions > *,
body .form-footer > * {
  min-width: 140px;
}

body .secondary-action,
body .form-secondary-btn,
body .form-primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-width: 9.5rem;
  min-height: 3rem;
  padding: 0.8rem 1.25rem;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

body .secondary-action,
body .form-secondary-btn {
  border: 1px solid var(--border-subtle);
  background: transparent;
  color: var(--text-primary) !important;
}

body .secondary-action:hover,
body .form-secondary-btn:hover {
  background: var(--surface-hover);
  border-color: var(--border-strong);
}

body .secondary-action .icon,
body .form-secondary-btn .icon,
body .form-primary-btn .icon {
  font-size: 1.05rem;
  line-height: 1;
}

body .form-primary-btn {
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  color: var(--text-inverse) !important;
  box-shadow: 0 18px 34px -24px rgba(var(--accent-rgb), 0.75);
}

body .form-primary-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

body .loading-center {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 16rem;
}

/* ── Buttons ──────────────────────────────────────────────────────────────── */
body .btn,
body .btn-primary,
body .btn-secondary,
body .btn-outline,
body .btn-danger,
body .btn-icon,
body .btn-ghost,
body .login-btn,
body .login-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.72rem 1.25rem;
  border-radius: 0.95rem;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.12s ease, filter 0.18s ease;
}

body .btn:disabled,
body .btn-primary:disabled,
body .btn-secondary:disabled,
body .btn-danger:disabled,
body .login-btn:disabled,
body .login-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

body .btn-primary,
body .login-btn,
body .login-submit {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  color: var(--text-inverse) !important;
  box-shadow: 0 10px 24px -14px rgba(var(--accent-rgb), 0.6);
}

body .btn-primary:hover:not(:disabled),
body .login-btn:hover:not(:disabled),
body .login-submit:hover:not(:disabled) {
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow: 0 14px 28px -12px rgba(var(--accent-rgb), 0.65);
}

body .btn-secondary,
body .btn-outline {
  background: var(--surface-card);
  color: var(--text-secondary) !important;
  border-color: var(--border-subtle);
}

body .btn-secondary:hover:not(:disabled),
body .btn-outline:hover:not(:disabled) {
  background: var(--surface-hover);
  border-color: var(--border-strong);
  color: var(--text-primary) !important;
}

body .btn-danger {
  background: rgba(var(--danger-rgb), 0.1);
  color: rgb(var(--danger-rgb)) !important;
  border-color: rgba(var(--danger-rgb), 0.2);
}

body .btn-danger:hover:not(:disabled) {
  background: rgba(var(--danger-rgb), 0.18);
}

body .btn-ghost {
  background: transparent;
  color: var(--text-secondary) !important;
  border-color: transparent;
}

body .btn-ghost:hover:not(:disabled) {
  background: var(--surface-hover);
}

body .btn-icon {
  padding: 0.55rem;
  border-radius: 50%;
  width: 2.35rem;
  height: 2.35rem;
  background: transparent;
  color: var(--text-muted) !important;
  border: none;
}

body .btn-icon:hover:not(:disabled) {
  background: rgba(var(--accent-rgb), 0.1);
  color: var(--text-primary) !important;
}

body .btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.82rem;
}

body .btn-lg {
  padding: 0.9rem 1.6rem;
  font-size: 0.96rem;
  min-height: 3.2rem;
}

body .modal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 0.18s ease, color 0.18s ease;
}

body .modal-close:hover {
  background: rgba(var(--accent-rgb), 0.1);
  color: var(--text-primary);
}

body table.data-table,
body .users-table,
body .roles-table,
body .branches-table,
body .sub-table,
body .report-table,
body .ledger-table,
body .summary-table,
body .lines-table,
body .lines-input-table {
  width: 100%;
  border-collapse: collapse;
}

body table.data-table th,
body .users-table th,
body .roles-table th,
body .branches-table th,
body .sub-table th,
body .report-table th,
body .ledger-table th,
body .summary-table th,
body .lines-table th,
body .lines-input-table th {
  white-space: nowrap;
  padding: 0.85rem 1rem;
  background: var(--surface-muted);
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body table.data-table td,
body .users-table td,
body .roles-table td,
body .branches-table td,
body .sub-table td,
body .report-table td,
body .ledger-table td,
body .summary-table td,
body .lines-table td,
body .lines-input-table td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.9rem;
  vertical-align: middle;
}

body table.data-table tbody tr:hover td,
body .users-table .table-row:hover td,
body .roles-table .table-row:hover td,
body .branches-table .table-row:hover td,
body .sub-table tr:hover td,
body .report-table .account-row:hover td,
body .ledger-table .txn-row:hover td {
  background: var(--surface-hover);
}

body .group-header td,
body .opening-row td,
body .group-subtotal td,
body .subtotal-row td,
body .totals-row td {
  background: var(--surface-muted) !important;
  color: var(--text-secondary) !important;
}

body .grand-total td,
body .summary-table th {
  background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.16), rgba(var(--accent-rgb), 0.07)) !important;
  color: var(--text-primary) !important;
}

body .col-num,
body .num-col,
body .amount,
body .text-right {
  font-variant-numeric: tabular-nums;
}

body .badge,
body .status-chip,
body .type-badge,
body .role-badge,
body .perm-pill,
body .branch-badge,
body .id-type-badge,
body .status-chip::before {
  border-radius: 999px;
}

body .badge,
body .status-chip,
body .type-badge,
body .role-badge,
body .perm-pill,
body .id-type-badge {
  font-weight: 600 !important;
  border: 1px solid transparent;
}

body .badge-primary,
body .status-draft,
body .status-chip--draft,
body .type-badge--system,
body .perm-count-badge {
  background: rgba(var(--warning-rgb), 0.14) !important;
  color: rgb(var(--warning-rgb)) !important;
  border-color: rgba(var(--warning-rgb), 0.2) !important;
}

body .badge-success,
body .status-posted,
body .status-chip--active,
body .status-chip--approved,
body .status-chip--paid,
body .status-chip--submitted,
body .role-badge,
body .type-badge--custom,
body .verified-banner {
  background: rgba(var(--success-rgb), 0.14) !important;
  color: rgb(var(--success-rgb)) !important;
  border-color: rgba(var(--success-rgb), 0.2) !important;
}

body .badge-warning,
body .status-chip--pending,
body .timeline-note {
  background: rgba(var(--warning-rgb), 0.14) !important;
  color: rgb(var(--warning-rgb)) !important;
  border-color: rgba(var(--warning-rgb), 0.22) !important;
}

body .badge-danger,
body .status-reversed,
body .status-chip--rejected,
body .status-chip--deceased,
body .status-chip--inactive,
body .warn-text,
body .negative {
  background: rgba(var(--danger-rgb), 0.12);
  color: rgb(var(--danger-rgb)) !important;
  border-color: rgba(var(--danger-rgb), 0.18) !important;
}

body .badge-info,
body .perm-pill,
body .id-type-badge,
body .branch-badge,
body .mandate-notice,
body .file-icon-wrap {
  background: rgba(var(--accent-rgb), 0.12) !important;
  color: var(--color-accent) !important;
  border-color: rgba(var(--accent-rgb), 0.18) !important;
}

body .badge-secondary,
body .badge-default,
body .badge-purple,
body .status-chip--closed,
body .status-chip--disposed,
body .status-chip--inactive,
body .perm-pill--more,
body .role-badge--more,
body .group-count,
body .account-tag {
  background: var(--surface-muted) !important;
  color: var(--text-secondary) !important;
  border-color: var(--border-subtle) !important;
}

body .status-chip .status-dot,
body .status-chip .dot {
  background: currentColor !important;
}

body .balanced,
body .success-text,
body .success-note,
body .field-verified-icon,
body .verify-note .note-icon,
body .icon-success,
body .debit-cell,
body .closing {
  color: rgb(var(--success-rgb)) !important;
}

body .unbalanced,
body .error-text,
body .icon-warn,
body .credit-cell {
  color: rgb(var(--warning-rgb)) !important;
}

body .verify-card,
body .mandate-card,
body .sub-form-card,
body .nok-card,
body .file-card {
  overflow: hidden;
}

body .verify-icon-wrap,
body .mandate-preview,
body .signature-preview,
body .nok-avatar,
body .drop-zone {
  background: var(--surface-muted) !important;
  border-color: var(--border-strong) !important;
}

body .verify-title,
body .info-value,
body .role-display-name,
body .branch-name,
body .setting-label,
body .file-name-text,
body .nok-name,
body .acc-name,
body .account-name,
body .perm-label,
body .sub-table-title {
  color: var(--text-primary) !important;
}

body .verify-desc,
body .notes-text,
body .nok-rel,
body .nok-detail,
body .file-input-inline,
body .info-row,
body .info-item,
body .page-info {
  color: var(--text-secondary) !important;
}

body .verify-divider::before,
body .verify-divider::after,
body .wizard-connector,
body .info-row,
body .setting-row,
body .group-header,
body .sub-table-header,
body .tab-body,
body .notes-section,
body .workflow-timeline,
body .perm-groups,
body .settings-tabs .mat-mdc-tab-header,
body .settings-tabs .card {
  border-color: var(--border-subtle) !important;
}

body .wizard-step .step-circle {
  background: var(--surface-card) !important;
  border-color: var(--border-strong) !important;
  color: var(--text-soft) !important;
}

body .wizard-step .step-label {
  color: var(--text-soft) !important;
}

body .wizard-step.active .step-circle,
body .wizard-step.done .step-circle {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark)) !important;
  border-color: transparent !important;
  color: var(--text-inverse) !important;
}

body .wizard-step.active .step-label,
body .wizard-step.done .step-label {
  color: var(--text-primary) !important;
}

body .wizard-connector.done {
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-dark)) !important;
}

body .drop-zone {
  border-style: dashed;
  border-width: 1.5px;
}

body .drop-zone:hover,
body .drop-zone.drag-over {
  background: rgba(var(--accent-rgb), 0.1) !important;
  border-color: var(--color-accent) !important;
}

body .error-list,
body .login-error {
  background: rgba(var(--danger-rgb), 0.12) !important;
  border: 1px solid rgba(var(--danger-rgb), 0.18) !important;
  color: rgb(var(--danger-rgb)) !important;
}

body .result-summary,
body .mandate-notice,
body .verified-banner,
body .result-summary.has-errors {
  border-radius: 1rem;
}

body .modal-backdrop,
body .ops-page .modal-overlay,
body .lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(1rem, 3vw, 2rem);
  overflow-y: auto;
  background: rgba(16, 12, 10, 0.58) !important;
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
}

body .modal,
body .ops-page .modal {
  position: relative;
  width: min(100%, 42rem);
  margin: auto;
  display: flex;
  flex-direction: column;
  border-radius: 1.35rem !important;
  overflow: hidden;
  background: var(--surface-card) !important;
  border: 1px solid var(--border-subtle) !important;
  box-shadow: var(--shadow-raised) !important;
}

body .modal.modal-lg,
body .ops-page .modal.modal-lg {
  width: min(100%, 62rem);
}

body .modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  background: linear-gradient(180deg, rgba(var(--accent-rgb), 0.04), rgba(var(--accent-rgb), 0));
}

body .modal-header h3,
body .modal-header h2 {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.3;
}

body .modal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: transparent;
  flex-shrink: 0;
}

body .modal-body {
  padding: 1.25rem;
  overflow: auto;
  max-height: calc(100vh - 11rem);
}

body .modal-body form {
  display: flex;
  flex-direction: column;
}

body .modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.85rem;
  flex-wrap: wrap;
  padding: 1rem 1.25rem 1.1rem;
  background: linear-gradient(180deg, rgba(var(--accent-rgb), 0), rgba(var(--accent-rgb), 0.04));
}

body .error-page {
  min-height: 100vh;
  padding: 2rem;
  color: var(--text-primary) !important;
}

body .error-page .error-icon,
body .error-page p {
  color: var(--text-muted) !important;
}

body .report-nav {
  display: grid;
  gap: 0.75rem;
}

body .report-nav button,
body .report-nav .tab-btn {
  border-radius: 0.9rem;
}

@media (max-width: 768px) {
  body .page-wrapper,
  body .page-container,
  body .ops-page {
    padding: 1rem;
    padding-bottom: 1.5rem;
  }
  body .page-header .header-actions,
  body .page-header-actions,
  body .ops-page .header-actions,
  body .ops-page .page-header-actions,
  body .form-actions,
  body .form-footer,
  body .modal-footer,
  body .pagination {
    width: 100%;
  }
  body .page-header .header-actions > *,
  body .page-header-actions > *,
  body .ops-page .header-actions > *,
  body .ops-page .page-header-actions > *,
  body .form-actions > *,
  body .form-footer > *,
  body .modal-footer > * {
    flex: 1 1 auto;
    justify-content: center;
  }
}
/* ── SVG Icons ───────────────────────────────────────────────────────────── */
.icon,
span.icon {
  font-size: 1.25rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  vertical-align: middle;
  -webkit-user-select: none;
          user-select: none;
}

.icon:not([data-icon-ready=true]),
span.icon:not([data-icon-ready=true]) {
  color: transparent;
}

.icon svg,
span.icon svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.icon--sm {
  font-size: 1rem;
}

.icon--lg {
  font-size: 1.5rem;
}

.icon--xl {
  font-size: 2rem;
}

.icon--2xl {
  font-size: 3rem;
}

/* ── Spinner ────────────────────────────────────────────────────────────── */
.spinner {
  display: inline-block;
  width: 36px;
  height: 36px;
  border: 3px solid rgba(var(--accent-rgb), 0.18);
  border-top-color: var(--color-accent);
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
  flex-shrink: 0;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.loading-center {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 14rem;
}

/* ── Custom Checkbox ────────────────────────────────────────────────────── */
.checkbox-field {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  -webkit-user-select: none;
          user-select: none;
}
.checkbox-field input[type=checkbox] {
  appearance: none;
  width: 1.1rem;
  height: 1.1rem;
  border: 1.5px solid var(--border-strong);
  border-radius: 0.3rem;
  background: var(--surface-card);
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
  position: relative;
  flex-shrink: 0;
}
.checkbox-field input[type=checkbox]:checked {
  background: var(--color-accent);
  border-color: var(--color-accent);
}
.checkbox-field input[type=checkbox]:checked::after {
  content: "";
  position: absolute;
  top: 1px;
  left: 4px;
  width: 4px;
  height: 7px;
  border: 1.5px solid #fff;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}
.checkbox-field input[type=checkbox]:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--focus-ring);
}
.checkbox-field span {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* ── Toggle / Slide Switch ──────────────────────────────────────────────── */
.toggle-field {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  -webkit-user-select: none;
          user-select: none;
}
.toggle-field input[type=checkbox] {
  appearance: none;
  position: relative;
  width: 2.6rem;
  height: 1.45rem;
  border-radius: 999px;
  background: var(--border-strong);
  cursor: pointer;
  transition: background-color 0.2s ease;
  flex-shrink: 0;
}
.toggle-field input[type=checkbox]::after {
  content: "";
  position: absolute;
  top: 0.2rem;
  left: 0.2rem;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease;
}
.toggle-field input[type=checkbox]:checked {
  background: var(--color-accent);
}
.toggle-field input[type=checkbox]:checked::after {
  transform: translateX(1.15rem);
}
.toggle-field input[type=checkbox]:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--focus-ring);
}
.toggle-field span {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* ── Paginator ──────────────────────────────────────────────────────────── */
.paginator {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 0.85rem 1.1rem;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.85rem;
}
.paginator__info {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.paginator__select {
  appearance: none;
  padding: 0.3rem 1.6rem 0.3rem 0.6rem;
  border: 1px solid var(--border-subtle);
  border-radius: 0.6rem;
  background: var(--surface-muted) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='%236d84b4'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E") no-repeat right 0.4rem center;
  color: var(--text-primary);
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
}
.paginator__nav {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}
.paginator__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: none;
  border-radius: 0.5rem;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.paginator__btn:hover:not(:disabled) {
  background: var(--surface-hover);
}
.paginator__btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* ── Toast notifications ────────────────────────────────────────────────── */
.toast-container {
  position: fixed;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  pointer-events: none;
  max-width: 22rem;
}

.toast {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  border: 1px solid var(--border-subtle);
  background: var(--surface-card);
  box-shadow: var(--shadow-raised);
  pointer-events: all;
  animation: toast-in 0.22s ease;
}
.toast__icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 1px;
}
.toast__body {
  flex: 1;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--text-primary);
}
.toast__close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1;
  flex-shrink: 0;
}
.toast__close:hover {
  color: var(--text-primary);
}
.toast--success {
  border-color: rgba(var(--success-rgb), 0.22);
}
.toast--success .toast__icon {
  color: rgb(var(--success-rgb));
}
.toast--error {
  border-color: rgba(var(--danger-rgb), 0.22);
}
.toast--error .toast__icon {
  color: rgb(var(--danger-rgb));
}
.toast--warning {
  border-color: rgba(var(--warning-rgb), 0.22);
}
.toast--warning .toast__icon {
  color: rgb(var(--warning-rgb));
}
.toast--info {
  border-color: rgba(var(--accent-rgb), 0.22);
}
.toast--info .toast__icon {
  color: var(--color-accent);
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateX(1rem);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
/* ── Tabs (custom) ──────────────────────────────────────────────────────── */
.tabs-bar {
  display: flex;
  gap: 0.2rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 1.25rem;
  overflow-x: auto;
}

.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.72rem 1.1rem;
  border: none;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--text-muted);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.18s ease, border-color 0.18s ease;
  margin-bottom: -1px;
}
.tab-btn:hover {
  color: var(--text-primary);
}
.tab-btn--active {
  color: var(--text-primary);
  border-bottom-color: var(--color-accent);
  font-weight: 600;
}

/* ── Progress bar ───────────────────────────────────────────────────────── */
.progress-bar {
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: var(--surface-muted);
  overflow: hidden;
}
.progress-bar__fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-dark));
  animation: progress-indeterminate 1.4s ease infinite;
  transform-origin: left;
}

@keyframes progress-indeterminate {
  0% {
    transform: scaleX(0.05) translateX(0);
  }
  50% {
    transform: scaleX(0.5) translateX(100%);
  }
  100% {
    transform: scaleX(0.05) translateX(2000%);
  }
}
/* ── Modal backdrop animation ───────────────────────────────────────────── */
.modal-backdrop {
  animation: backdrop-in 0.18s ease;
}

.modal-backdrop--out {
  animation: backdrop-out 0.18s ease forwards;
}

@keyframes backdrop-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes backdrop-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
/* ── Dark mode input/select tweaks ─────────────────────────────────────── */
html.dark .field-shell {
  background: linear-gradient(180deg, rgba(var(--surface-card-rgb), 0.95), rgba(var(--surface-card-rgb), 0.88)), var(--surface-muted);
}

html.dark .paginator__select {
  background-color: var(--surface-muted);
  color: var(--text-primary);
}

/* Exceed premium operations system
   This layer normalizes every feature screen while preserving domain layouts. */
html {
  background: var(--bg-background);
}

body {
  font-size: 0.9375rem;
}

body.dialog-open {
  overflow: hidden;
}

body .page-wrapper,
body .page-container,
body .ops-page {
  padding: clamp(1.25rem, 2.2vw, 2rem) clamp(1rem, 2.3vw, 2.25rem) 2.5rem;
}

body .page-header,
body .ops-page .page-header,
body .page-container .page-header {
  align-items: center;
  margin-bottom: 1.25rem;
  padding-bottom: 1.05rem;
  border-bottom: 1px solid var(--border-subtle);
}

body .page-header .page-title,
body .page-container .page-title,
body .ops-page .page-title,
body .page-header h1,
body .page-header h2 {
  font-size: clamp(1.35rem, 1.7vw, 1.7rem) !important;
  font-weight: 750 !important;
  letter-spacing: 0 !important;
  line-height: 1.2 !important;
}

body .page-header .page-subtitle,
body .page-container .page-subtitle,
body .ops-page .page-subtitle,
body .page-header p {
  margin-top: 0.2rem;
  font-size: 0.84rem !important;
  line-height: 1.45 !important;
}

body .card,
body .table-wrapper,
body .table-card,
body .filter-card,
body .report-card,
body .empty-card,
body .summary-card,
body .account-card,
body .header-card,
body .lines-card,
body .settings-card,
body .verify-card,
body .form-card,
body .stat-card {
  border-radius: 8px !important;
  border-color: var(--border-subtle) !important;
  box-shadow: var(--shadow-card) !important;
}

body .card .card,
body .card .stat-card,
body .form-card .card,
body .modal .card {
  box-shadow: none !important;
}

body .card-header,
body .sub-table-header,
body .sub-table-header-row {
  min-height: 3.4rem;
  padding: 0.9rem 1rem !important;
}

body .card-header h2,
body .card-header h3,
body .section-header h2,
body .section-header h3 {
  font-size: 0.95rem !important;
  font-weight: 720 !important;
  letter-spacing: 0 !important;
}

body .btn,
body .btn-primary,
body .btn-secondary,
body .btn-outline,
body .btn-danger,
body .btn-ghost,
body .login-btn,
body .login-submit,
body .form-primary-btn,
body .form-secondary-btn,
body .secondary-action {
  min-height: 2.65rem;
  padding: 0.62rem 1rem;
  border-radius: 7px !important;
  font-size: 0.84rem;
  font-weight: 680;
  box-shadow: none !important;
  transform: none !important;
}

body .btn-primary,
body .login-btn,
body .login-submit,
body .form-primary-btn {
  background: var(--color-accent) !important;
  border-color: var(--color-accent) !important;
  color: #fff !important;
  filter: none !important;
}

body .btn-primary:hover:not(:disabled),
body .login-btn:hover:not(:disabled),
body .login-submit:hover:not(:disabled),
body .form-primary-btn:hover:not(:disabled) {
  background: var(--color-accent-dark) !important;
  border-color: var(--color-accent-dark) !important;
  filter: none !important;
}

body .btn-secondary,
body .btn-outline,
body .form-secondary-btn,
body .secondary-action {
  background: var(--surface-card) !important;
  border-color: var(--border-strong) !important;
  color: var(--text-secondary) !important;
}

body .btn-secondary:hover:not(:disabled),
body .btn-outline:hover:not(:disabled),
body .form-secondary-btn:hover:not(:disabled),
body .secondary-action:hover:not(:disabled) {
  background: var(--surface-hover) !important;
  border-color: #aebaca !important;
  color: var(--text-primary) !important;
}

body .btn-danger {
  background: #fff !important;
  border-color: rgba(var(--danger-rgb), 0.35) !important;
  color: rgb(var(--danger-rgb)) !important;
}

body .btn-danger:hover:not(:disabled) {
  background: rgba(var(--danger-rgb), 0.07) !important;
}

body .btn-icon,
body .modal-close {
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border-radius: 6px !important;
}

body .field-label,
body .form-label,
body .input-label {
  color: var(--text-secondary) !important;
  font-size: 0.76rem !important;
  font-weight: 680 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

body .field-shell,
body .form-control,
body .field-input,
body input:not(.mat-mdc-input-element):not([type=checkbox]):not([type=radio]),
body select,
body textarea:not(.mat-mdc-input-element) {
  border-radius: 7px !important;
}

body .field-shell {
  min-height: 2.85rem;
  background: var(--surface-card) !important;
  box-shadow: none !important;
}

body .field-shell:hover {
  border-color: var(--border-strong);
}

body .field-shell:focus-within {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--focus-ring) !important;
}

body .field-input {
  min-height: 2.85rem;
  padding: 0.72rem 0.85rem;
  font-size: 0.88rem;
}

body .field-textarea {
  min-height: 6.2rem;
}

body .form-card {
  width: min(100%, 1080px);
  padding: clamp(1.15rem, 2vw, 1.6rem);
}

body .form-section {
  gap: 0.85rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
}

body .form-section > h3,
body .form-section > h4,
body .form-section-title {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text-primary) !important;
  font-size: 0.82rem !important;
  font-weight: 740 !important;
  letter-spacing: 0.02em !important;
  text-transform: none !important;
}

body .form-section > h3::before,
body .form-section > h4::before,
body .form-section-title::before {
  content: "";
  width: 3px;
  height: 1rem;
  border-radius: 2px;
  background: var(--color-accent);
}

body .form-actions,
body .form-footer {
  margin-top: 1.25rem;
  padding-top: 1rem;
}

body table,
body table.data-table,
body .users-table,
body .roles-table,
body .branches-table,
body .sub-table,
body .report-table,
body .ledger-table,
body .summary-table,
body .lines-table,
body .lines-input-table {
  border-collapse: collapse;
}

body table th,
body table.data-table th,
body .users-table th,
body .roles-table th,
body .branches-table th,
body .sub-table th,
body .report-table th,
body .ledger-table th,
body .summary-table th,
body .lines-table th,
body .lines-input-table th {
  padding: 0.72rem 0.85rem;
  background: var(--surface-muted) !important;
  color: #607087 !important;
  font-size: 0.68rem !important;
  font-weight: 740 !important;
  letter-spacing: 0.045em !important;
  text-transform: uppercase;
}

body table td,
body table.data-table td,
body .users-table td,
body .roles-table td,
body .branches-table td,
body .sub-table td,
body .report-table td,
body .ledger-table td,
body .summary-table td,
body .lines-table td,
body .lines-input-table td {
  padding: 0.78rem 0.85rem;
  font-size: 0.84rem;
}

body table tbody tr:hover td {
  background: var(--surface-hover);
}

body .amount,
body .money,
body .balance,
body .metric-value,
body .stat-value,
body [class*=amount],
body [class*=balance],
body [class*=metric-value],
body [class*=stat-value] {
  font-variant-numeric: tabular-nums;
}

body .badge,
body .status-chip,
body [class*=status-chip],
body .type-badge,
body .role-badge,
body .branch-badge,
body .id-type-badge {
  min-height: 1.75rem;
  padding: 0.28rem 0.58rem !important;
  border-radius: 999px !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
}

body .info-grid {
  gap: 0;
  border: 1px solid var(--border-subtle);
  border-radius: 7px;
  overflow: hidden;
}

body .info-row {
  min-height: 3.5rem;
  padding: 0.72rem 0.85rem;
  border: 0;
  border-right: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  border-radius: 0;
  background: var(--surface-card);
}

body .info-row .info-label {
  font-size: 0.68rem;
  letter-spacing: 0.03em;
}

body .alert {
  border-radius: 7px;
}

body .tabs-bar,
body .detail-tabs,
body .tab-bar {
  gap: 1.2rem;
  margin-bottom: 1.15rem;
}

body .tab-btn,
body .detail-tab,
body .tab-button {
  min-height: 2.75rem;
  padding: 0.65rem 0.15rem;
  border-radius: 0 !important;
  font-size: 0.82rem;
}

body .modal-backdrop,
body .modal-overlay,
body .ops-page .modal-overlay,
body .lightbox {
  align-items: center;
  padding: clamp(0.75rem, 2vw, 1.5rem);
  background: rgba(15, 23, 42, 0.62) !important;
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
}

body .dialog-host {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: auto;
}

body .modal,
body .ops-page .modal,
body [role=dialog].bulk-modal {
  max-height: min(90vh, 860px);
  border-radius: 8px !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
  box-shadow: var(--shadow-raised) !important;
}

body .modal-header,
body [role=dialog] .bulk-header {
  min-height: 4rem;
  align-items: center;
  padding: 0.9rem 1.1rem;
  background: var(--surface-card) !important;
  border-bottom: 1px solid var(--border-subtle) !important;
}

body .modal-header h2,
body .modal-header h3 {
  font-size: 1rem;
  font-weight: 740;
}

body .modal-body {
  padding: 1.1rem;
}

body .modal-footer,
body [role=dialog] .bulk-footer {
  min-height: 4rem;
  padding: 0.8rem 1.1rem;
  background: var(--surface-muted) !important;
  border-top: 1px solid var(--border-subtle) !important;
}

body .drop-zone,
body [class*=drop-zone] {
  border-radius: 7px !important;
}

body .toast {
  border-radius: 7px;
  border-left-width: 4px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.14);
}

body .progress-bar,
body .progress-bar__fill {
  border-radius: 2px;
}

body .progress-bar__fill {
  background: var(--color-accent);
}

body .no-data,
body .empty-state,
body .sub-empty,
body [class*=empty-state] {
  border-radius: 8px !important;
}

body .error-page {
  min-height: calc(100vh - 64px);
  background: var(--bg-background);
}

/* Feature-specific normalization for screens that predate the shared record layouts. */
body .stg-page {
  max-width: 1600px;
  gap: 1.25rem;
  padding: 0;
}

body .ops-page > .page-wrapper {
  padding: 0;
}

body :is(.stg-card, .stg-group-nav, .reports-alert-card, .reports-nav-card, .reports-command-bar, .reports-statement-card, .reports-fs-panel) {
  border-radius: 8px !important;
  box-shadow: var(--shadow-card) !important;
}

body :is(.stg-stat-tile, .stg-meta-tile, .reports-nav-btn, .reports-fs-net) {
  border-radius: 7px !important;
}

body :is(.stg-section-icon, .stg-card-icon, .stg-stat-icon, .reports-nav-icon) {
  border-radius: 6px !important;
}

body :is(.stg-ghost-btn, .stg-group-btn, .reports-primary-button, .reports-secondary-button, .reports-reset-button, .reports-pager-button) {
  border-radius: 7px !important;
  box-shadow: none !important;
  transform: none !important;
}

body .reports-primary-button {
  background: var(--color-accent) !important;
}

body .reports-control {
  min-height: 2.75rem;
  border-radius: 7px !important;
  background: var(--surface-card);
}

body :is(.avatar, .role-icon) {
  border-radius: 6px !important;
  background: rgba(var(--accent-rgb), 0.11) !important;
  color: var(--color-accent) !important;
}

body .role-icon--system {
  background: rgba(var(--warning-rgb), 0.11) !important;
  color: rgb(var(--warning-rgb)) !important;
}

body :is(.loading-overlay, .client-hero, .quick-summary-card, .sidebar-check, .sidebar-profile, .success-panel, .form-footer-card),
body .client-form-page .sidebar-item {
  border-radius: 8px !important;
  background-image: none !important;
}

body :is(.form-primary-btn, .form-secondary-btn, .verify-button) {
  border-radius: 7px !important;
  background-image: none !important;
}

body .stat-card--accent {
  background: var(--color-accent) !important;
  background-image: none !important;
}

body :is(.payoff-hero, .payoff-banner, .repayment-account-card) {
  border-radius: 7px !important;
  background-image: none !important;
}

body .branch-avatar {
  border-radius: 6px !important;
  background: rgba(var(--accent-rgb), 0.1) !important;
}

body .branch-avatar--hq {
  background: rgba(var(--warning-rgb), 0.1) !important;
}

.module-state {
  min-height: 20rem;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-content: center;
  gap: 1rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid var(--border-subtle);
  border-left: 4px solid var(--color-accent);
  border-radius: 8px;
  background: var(--surface-card);
  box-shadow: var(--shadow-card);
}

.module-state__icon {
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: rgba(var(--accent-rgb), 0.1);
  color: var(--color-accent);
}

.module-state__copy {
  max-width: 40rem;
}

.module-state__copy h2 {
  margin: 0;
  color: var(--text-primary);
  font-size: 1rem;
}

.module-state__copy p {
  margin: 0.35rem 0 0;
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

@media (max-width: 768px) {
  body .page-wrapper,
  body .page-container,
  body .ops-page {
    padding: 1rem 0.85rem 1.5rem;
  }
  body .page-header,
  body .ops-page .page-header,
  body .page-container .page-header {
    align-items: flex-start;
  }
  body .modal,
  body .ops-page .modal {
    width: 100%;
    max-height: 94vh;
  }
  .module-state {
    min-height: 16rem;
    grid-template-columns: 1fr;
  }
}
.identification-form-heading {
  display: grid;
  gap: 0.1rem;
}

.identification-form-heading > span {
  color: var(--text-primary);
  font-weight: 700;
}

.identification-form-heading small {
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 500;
}

.identification-control-note {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 0.9rem 1.2rem 0;
  padding: 0.72rem 0.8rem;
  border: 1px solid rgba(var(--accent-rgb), 0.2);
  border-left: 3px solid var(--color-accent);
  border-radius: 6px;
  background: rgba(var(--accent-rgb), 0.055);
}

.identification-control-note > .icon {
  color: var(--color-accent);
  font-size: 1.15rem;
}

.identification-control-note strong {
  display: block;
  color: var(--text-primary);
  font-size: 0.78rem;
}

.identification-control-note p {
  margin: 0.18rem 0 0;
  color: var(--text-secondary);
  font-size: 0.72rem;
  line-height: 1.45;
}

.sub-table-subtitle {
  display: block;
  margin-top: 0.16rem;
  color: var(--text-muted);
  font-size: 0.7rem;
}

.id-pending-note {
  display: flex;
  align-items: center;
  gap: 0.32rem;
  margin-top: 0.38rem;
  color: rgb(var(--warning-rgb));
  font-size: 0.66rem;
  font-weight: 700;
  white-space: nowrap;
}

.id-pending-note i {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: currentColor;
}

.identification-actions-cell {
  width: 1%;
  white-space: nowrap;
}

.identification-row-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.2rem;
}

.identification-lock {
  padding: 0.35rem;
  color: rgb(var(--success-rgb));
  font-size: 1rem;
  cursor: help;
}

.btn-icon--danger {
  color: rgb(var(--danger-rgb));
}

.btn-icon--danger:hover:not(:disabled) {
  background: rgba(var(--danger-rgb), 0.08);
}

.identification-change-log {
  margin-top: 1rem;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  background: var(--surface-card);
}

.identification-change-log > header {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--surface-muted);
}

.identification-change-log > header > div {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.identification-change-log > header > div > .icon {
  color: var(--color-accent);
}

.identification-change-log > header h3 {
  margin: 0;
  color: var(--text-primary);
  font-size: 0.86rem;
}

.identification-change-log > header p {
  margin: 0.12rem 0 0;
  color: var(--text-muted);
  font-size: 0.68rem;
}

.identification-change-row {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr) auto 2rem;
  align-items: center;
  gap: 0.7rem;
  padding: 0.72rem 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.identification-change-row:last-child {
  border-bottom: 0;
}

.identification-change-icon {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 6px;
  background: rgba(var(--accent-rgb), 0.09);
  color: var(--color-accent);
  font-size: 1rem;
}

.identification-change-copy {
  display: grid;
  min-width: 0;
  gap: 0.12rem;
}

.identification-change-copy strong {
  color: var(--text-primary);
  font-size: 0.76rem;
}

.identification-change-copy span {
  overflow: hidden;
  color: var(--text-secondary);
  font-size: 0.71rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.identification-change-copy small {
  color: var(--text-muted);
  font-size: 0.64rem;
}

.identification-change-status {
  padding: 0.22rem 0.42rem;
  border-radius: 4px;
  background: var(--surface-muted);
  color: var(--text-muted);
  font-size: 0.63rem;
  font-weight: 800;
}

.identification-change-status--pending {
  background: rgba(var(--warning-rgb), 0.1);
  color: rgb(var(--warning-rgb));
}

.identification-change-status--applied {
  background: rgba(var(--success-rgb), 0.1);
  color: rgb(var(--success-rgb));
}

.identification-change-status--rejected {
  background: rgba(var(--danger-rgb), 0.1);
  color: rgb(var(--danger-rgb));
}

.identification-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(15, 23, 42, 0.58);
  -webkit-backdrop-filter: blur(3px);
          backdrop-filter: blur(3px);
}

.identification-modal {
  width: min(100%, 31rem);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  background: var(--surface-card);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.24);
}

.identification-modal > header {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.7rem;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.identification-modal h2 {
  margin: 0;
  color: var(--text-primary);
  font-size: 0.96rem;
}

.identification-modal header p {
  margin: 0.15rem 0 0;
  color: var(--text-muted);
  font-size: 0.7rem;
  overflow-wrap: anywhere;
}

.identification-modal footer {
  display: flex;
  justify-content: flex-end;
  gap: 0.55rem;
  padding: 0.8rem 1rem;
  border-top: 1px solid var(--border-subtle);
  background: var(--surface-muted);
}

.identification-modal .spinner {
  width: 1rem;
  height: 1rem;
  border-width: 2px;
}

.identification-modal__icon {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 7px;
  background: rgba(var(--danger-rgb), 0.1);
  color: rgb(var(--danger-rgb));
}

.identification-modal__body {
  display: grid;
  gap: 0.8rem;
  padding: 1rem;
}

.identification-modal__body label {
  display: grid;
  gap: 0.35rem;
}

.identification-modal__body label > span {
  color: var(--text-secondary);
  font-size: 0.7rem;
  font-weight: 700;
}

.identification-modal__body textarea {
  resize: vertical;
}

.identification-modal__notice {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.7rem;
  border-left: 3px solid rgb(var(--warning-rgb));
  background: rgba(var(--warning-rgb), 0.07);
}

.identification-modal__notice .icon {
  color: rgb(var(--warning-rgb));
  font-size: 1.05rem;
}

.identification-modal__notice p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.72rem;
  line-height: 1.5;
}

.approval-identification {
  margin: 1rem 0;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  background: var(--surface-card);
}

.approval-identification__head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 0.9rem;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--surface-muted);
}

.approval-identification__head > div {
  min-width: 0;
}

.approval-identification__head > div > span {
  color: var(--color-accent);
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
}

.approval-identification__head h3 {
  margin: 0.12rem 0;
  color: var(--text-primary);
  font-size: 0.88rem;
}

.approval-identification__head p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.68rem;
}

.approval-identification__head code {
  color: var(--text-secondary);
}

.approval-identification__icon {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  flex: 0 0 auto;
  border-radius: 7px;
  background: rgba(var(--accent-rgb), 0.1);
  color: var(--color-accent);
}

.approval-identification__reason {
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--border-subtle);
}

.approval-identification__reason span {
  color: var(--text-muted);
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
}

.approval-identification__reason p {
  margin: 0.25rem 0 0;
  color: var(--text-primary);
  font-size: 0.74rem;
  line-height: 1.45;
  white-space: pre-wrap;
}

.approval-identification__comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--border-subtle);
}

.approval-identification__comparison > article {
  min-width: 0;
  background: var(--surface-card);
}

.approval-identification__comparison > article > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.55rem 0.7rem;
  border-bottom: 1px solid var(--border-subtle);
}

.approval-identification__comparison > article > header span {
  color: var(--text-secondary);
  font-size: 0.66rem;
  font-weight: 800;
}

.approval-identification__comparison > article > header small {
  padding: 0.16rem 0.3rem;
  border-radius: 3px;
  background: var(--surface-muted);
  color: var(--text-muted);
  font-size: 0.58rem;
  font-weight: 700;
}

.approval-identification__comparison dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
}

.approval-identification__comparison dl > div {
  min-width: 0;
  padding: 0.58rem 0.7rem;
  border-bottom: 1px solid var(--border-subtle);
}

.approval-identification__comparison dl > div:nth-last-child(-n+2) {
  border-bottom: 0;
}

.approval-identification__comparison dt {
  margin-bottom: 0.18rem;
  color: var(--text-muted);
  font-size: 0.58rem;
  font-weight: 700;
  text-transform: uppercase;
}

.approval-identification__comparison dd {
  margin: 0;
  color: var(--text-primary);
  font-size: 0.7rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.approval-identification__comparison dd.changed {
  color: var(--color-accent);
  font-weight: 800;
}

.approval-identification__comparison code {
  font-size: 0.67rem;
  overflow-wrap: anywhere;
  white-space: normal;
}

.approval-identification__comparison--single {
  grid-template-columns: 1fr;
}

.approval-identification__proposed {
  box-shadow: inset 3px 0 0 var(--color-accent);
}

.approval-identification__full {
  grid-column: 1/-1;
}

.approval-identification__evidence {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-accent);
  font-size: 0.66rem;
  font-weight: 800;
}

.approval-identification__evidence .icon {
  font-size: 0.9rem;
}

.approval-identification__evidence:hover:not(:disabled) {
  text-decoration: underline;
}

.approval-identification__evidence:disabled {
  opacity: 0.55;
}

.approval-identification__verified {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.28rem;
  color: rgb(var(--success-rgb)) !important;
}

.approval-identification__verified .icon {
  font-size: 0.9rem;
}

.approval-identification__verified code {
  color: var(--text-muted);
}

.approval-identification__retire {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.85rem;
  border-left: 3px solid rgb(var(--danger-rgb));
  background: rgba(var(--danger-rgb), 0.04) !important;
}

.approval-identification__retire > .icon {
  color: rgb(var(--danger-rgb));
}

.approval-identification__retire strong {
  color: var(--text-primary);
  font-size: 0.75rem;
}

.approval-identification__retire p {
  margin: 0.18rem 0 0;
  color: var(--text-secondary);
  font-size: 0.68rem;
  line-height: 1.45;
}

@media (max-width: 620px) {
  .approval-identification__comparison {
    grid-template-columns: 1fr;
  }
  .approval-identification__proposed {
    box-shadow: inset 0 3px 0 var(--color-accent);
  }
  .identification-change-row {
    grid-template-columns: 2rem minmax(0, 1fr) auto;
  }
  .identification-change-status {
    grid-column: 2;
    justify-self: start;
  }
  .identification-change-row > .btn-icon {
    grid-column: 3;
    grid-row: 1/span 2;
  }
}
.approval-loan-operation {
  display: grid;
  gap: 0.85rem;
  margin: 0.9rem 0;
  padding: 1rem;
  border: 1px solid var(--border-subtle);
  border-radius: 0.5rem;
  background: var(--surface-primary, #fff);
}

.approval-loan-operation > header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.approval-loan-operation > header > div {
  display: grid;
  gap: 0.12rem;
}

.approval-loan-operation > header span:not(.icon),
.approval-loan-operation__amount > span,
.approval-loan-operation__settlement span:not(.icon) {
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
}

.approval-loan-operation > header h3 {
  margin: 0;
  color: var(--text-primary);
  font-size: 1rem;
}

.approval-loan-operation__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: rgba(var(--accent-rgb), 0.1);
  color: var(--color-accent);
}

.approval-loan-operation__amount {
  display: grid;
  gap: 0.2rem;
  padding: 0.85rem;
  background: var(--surface-muted);
}

.approval-loan-operation__amount strong {
  color: var(--text-primary);
  font-size: 1.45rem;
  font-variant-numeric: tabular-nums;
}

.approval-loan-operation__amount small {
  color: var(--text-muted);
}

.approval-loan-operation__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  border-block: 1px solid var(--border-subtle);
}

.approval-loan-operation__grid > div {
  display: grid;
  gap: 0.25rem;
  padding: 0.7rem 0.45rem;
}

.approval-loan-operation__grid dt {
  color: var(--text-muted);
  font-size: 0.66rem;
}

.approval-loan-operation__grid dd {
  margin: 0;
  color: var(--text-primary);
  font-size: 0.85rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.approval-loan-operation__settlement {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem;
  border-left: 3px solid var(--color-accent);
  background: rgba(var(--accent-rgb), 0.06);
}

.approval-loan-operation__settlement > div {
  display: grid;
  gap: 0.15rem;
}

@media (max-width: 640px) {
  .approval-loan-operation__grid {
    grid-template-columns: 1fr;
  }
  .approval-loan-operation__settlement {
    grid-template-columns: 2rem minmax(0, 1fr);
  }
}
.approval-savings-operation {
  display: grid;
  gap: 0.85rem;
  margin: 1rem 0;
  padding: 1rem;
  border: 1px solid var(--border-subtle);
  border-radius: 0.5rem;
  background: var(--surface-card);
}

.approval-savings-operation > header {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  align-items: center;
  gap: 0.7rem;
}

.approval-savings-operation > header > div,
.approval-savings-operation__account > div,
.approval-savings-operation__source > div,
.approval-savings-confirm > div {
  display: grid;
  gap: 0.12rem;
}

.approval-savings-operation > header span:not(.icon),
.approval-savings-operation__account span:not(.approval-status),
.approval-balance-flow span:not(.icon),
.approval-savings-operation__source span,
.approval-savings-confirm div > span {
  color: var(--text-muted);
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
}

.approval-savings-operation > header h3 {
  margin: 0;
  color: var(--text-primary);
  font-size: 1rem;
}

.approval-savings-operation__icon {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.45rem;
  background: rgba(var(--accent-rgb), 0.1);
  color: var(--color-accent);
}

.approval-savings-operation__account {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 0;
  border-block: 1px solid var(--border-subtle);
}

.approval-savings-operation__account strong,
.approval-savings-operation__source strong,
.approval-savings-confirm strong {
  color: var(--text-primary);
}

.approval-savings-operation__account small,
.approval-savings-confirm small {
  color: var(--text-muted);
  font-size: 0.7rem;
}

.approval-balance-flow {
  display: grid;
  grid-template-columns: 1fr 2rem 1fr;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem;
  background: var(--surface-muted);
}

.approval-balance-flow > div {
  display: grid;
  gap: 0.2rem;
}

.approval-balance-flow > .icon {
  color: var(--color-accent);
  text-align: center;
}

.approval-balance-flow strong {
  color: var(--text-primary);
  font-size: 1.05rem;
  font-variant-numeric: tabular-nums;
}

.approval-balance-flow small {
  color: var(--text-muted);
  font-size: 0.7rem;
}

.approval-savings-operation__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
}

.approval-savings-operation__grid > div {
  display: grid;
  gap: 0.22rem;
  padding: 0.55rem 0;
}

.approval-savings-operation__grid dt {
  color: var(--text-muted);
  font-size: 0.66rem;
}

.approval-savings-operation__grid dd {
  margin: 0;
  color: var(--text-primary);
  font-size: 0.8rem;
  font-weight: 700;
}

.approval-savings-operation__source {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem;
  border-left: 3px solid rgb(var(--danger-rgb));
  background: rgba(var(--danger-rgb), 0.06);
}

.approval-savings-operation__source > .icon {
  color: rgb(var(--danger-rgb));
}

.approval-savings-confirm {
  display: grid;
  grid-template-columns: 2.2rem minmax(0, 1fr);
  align-items: center;
  gap: 0.7rem;
  padding: 0.75rem;
  border-left: 3px solid var(--color-accent);
  background: rgba(var(--accent-rgb), 0.06);
}

.approval-savings-confirm > .icon {
  color: var(--color-accent);
}

@media (max-width: 640px) {
  .approval-balance-flow {
    grid-template-columns: 1fr;
  }
  .approval-balance-flow > .icon {
    transform: rotate(90deg);
  }
  .approval-savings-operation__grid {
    grid-template-columns: 1fr;
  }
}

.selection\:bg-accent *::selection{
  background-color: var(--color-accent);
}

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

.selection\:bg-accent::selection{
  background-color: var(--color-accent);
}

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

.dark\:text-neutral-200:is(.dark *){
  color: var(--color-neutral-200);
}

/*# sourceMappingURL=styles.css.map*/