/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */
@layer properties;
@layer theme, base, components, utilities;
@layer theme {
  :root, :host {
    --font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
      "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
      "Courier New", monospace;
    --color-amber-500: oklch(76.9% 0.188 70.08);
    --color-amber-600: oklch(66.6% 0.179 58.318);
    --color-emerald-500: oklch(69.6% 0.17 162.48);
    --color-cyan-500: oklch(71.5% 0.143 215.221);
    --color-purple-500: oklch(62.7% 0.265 303.9);
    --color-rose-400: oklch(71.2% 0.194 13.428);
    --color-rose-500: oklch(64.5% 0.246 16.439);
    --spacing: 0.25rem;
    --text-sm: 0.875rem;
    --text-sm--line-height: calc(1.25 / 0.875);
    --text-base: 1rem;
    --text-base--line-height: calc(1.5 / 1);
    --text-xl: 1.25rem;
    --text-xl--line-height: calc(1.75 / 1.25);
    --text-2xl: 1.5rem;
    --text-2xl--line-height: calc(2 / 1.5);
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
    --radius-sm: 0.25rem;
    --radius-lg: 0.5rem;
    --radius-xl: 0.75rem;
    --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --default-transition-duration: 150ms;
    --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
    --color-bg-elevated: var(--bg-elevated);
    --color-bg-card: var(--bg-card);
    --color-border: var(--border);
    --color-border-light: var(--border-light);
    --color-text-primary: var(--text-primary);
    --color-text-secondary: var(--text-secondary);
    --color-text-muted: var(--text-muted);
    --color-accent: var(--accent);
    --color-accent-light: var(--accent-light);
    --color-amber: var(--amber);
    --color-rose: var(--rose);
  }
}
@layer base {
  *, ::after, ::before, ::backdrop, ::file-selector-button {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0 solid;
  }
  html, :host {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }
  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }
  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }
  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }
  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }
  b, strong {
    font-weight: bolder;
  }
  code, kbd, samp, pre {
    font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }
  small {
    font-size: 80%;
  }
  sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }
  sub {
    bottom: -0.25em;
  }
  sup {
    top: -0.5em;
  }
  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }
  :-moz-focusring {
    outline: auto;
  }
  progress {
    vertical-align: baseline;
  }
  summary {
    display: list-item;
  }
  ol, ul, menu {
    list-style: none;
  }
  img, svg, video, canvas, audio, iframe, embed, object {
    display: block;
    vertical-align: middle;
  }
  img, video {
    max-width: 100%;
    height: auto;
  }
  button, input, select, optgroup, textarea, ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    border-radius: 0;
    background-color: transparent;
    opacity: 1;
  }
  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }
  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }
  ::file-selector-button {
    margin-inline-end: 4px;
  }
  ::placeholder {
    opacity: 1;
  }
  @supports (not (-webkit-appearance: -apple-pay-button))  or (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentcolor;
      @supports (color: color-mix(in lab, red, red)) {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }
  textarea {
    resize: vertical;
  }
  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }
  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }
  ::-webkit-datetime-edit {
    display: inline-flex;
  }
  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }
  ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }
  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }
  :-moz-ui-invalid {
    box-shadow: none;
  }
  button, input:where([type="button"], [type="reset"], [type="submit"]), ::file-selector-button {
    appearance: button;
  }
  ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
    height: auto;
  }
  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }
}
@layer utilities {
  .pointer-events-none {
    pointer-events: none;
  }
  .visible {
    visibility: visible;
  }
  .relative {
    position: relative;
  }
  .static {
    position: static;
  }
  .m-0 {
    margin: calc(var(--spacing) * 0);
  }
  .mx-auto {
    margin-inline: auto;
  }
  .mt-0 {
    margin-top: calc(var(--spacing) * 0);
  }
  .mt-0\.5 {
    margin-top: calc(var(--spacing) * 0.5);
  }
  .mt-1 {
    margin-top: calc(var(--spacing) * 1);
  }
  .mt-3 {
    margin-top: calc(var(--spacing) * 3);
  }
  .mt-5 {
    margin-top: calc(var(--spacing) * 5);
  }
  .mt-\[\.4rem\] {
    margin-top: .4rem;
  }
  .mt-\[2px\] {
    margin-top: 2px;
  }
  .mr-0 {
    margin-right: calc(var(--spacing) * 0);
  }
  .mr-1 {
    margin-right: calc(var(--spacing) * 1);
  }
  .mb-0 {
    margin-bottom: calc(var(--spacing) * 0);
  }
  .mb-1 {
    margin-bottom: calc(var(--spacing) * 1);
  }
  .mb-2 {
    margin-bottom: calc(var(--spacing) * 2);
  }
  .mb-3 {
    margin-bottom: calc(var(--spacing) * 3);
  }
  .mb-4 {
    margin-bottom: calc(var(--spacing) * 4);
  }
  .mb-5 {
    margin-bottom: calc(var(--spacing) * 5);
  }
  .mb-6 {
    margin-bottom: calc(var(--spacing) * 6);
  }
  .mb-7 {
    margin-bottom: calc(var(--spacing) * 7);
  }
  .mb-8 {
    margin-bottom: calc(var(--spacing) * 8);
  }
  .ml-5 {
    margin-left: calc(var(--spacing) * 5);
  }
  .ml-\[\.3rem\] {
    margin-left: .3rem;
  }
  .block {
    display: block;
  }
  .flex {
    display: flex;
  }
  .grid {
    display: grid;
  }
  .hidden {
    display: none;
  }
  .inline {
    display: inline;
  }
  .inline-block {
    display: inline-block;
  }
  .inline-flex {
    display: inline-flex;
  }
  .h-2\.5 {
    height: calc(var(--spacing) * 2.5);
  }
  .h-3 {
    height: calc(var(--spacing) * 3);
  }
  .h-3\.5 {
    height: calc(var(--spacing) * 3.5);
  }
  .h-4 {
    height: calc(var(--spacing) * 4);
  }
  .h-5 {
    height: calc(var(--spacing) * 5);
  }
  .h-7 {
    height: calc(var(--spacing) * 7);
  }
  .h-8 {
    height: calc(var(--spacing) * 8);
  }
  .h-10 {
    height: calc(var(--spacing) * 10);
  }
  .h-12 {
    height: calc(var(--spacing) * 12);
  }
  .h-\[18px\] {
    height: 18px;
  }
  .h-\[20px\] {
    height: 20px;
  }
  .h-\[24px\] {
    height: 24px;
  }
  .w-2\.5 {
    width: calc(var(--spacing) * 2.5);
  }
  .w-3 {
    width: calc(var(--spacing) * 3);
  }
  .w-3\.5 {
    width: calc(var(--spacing) * 3.5);
  }
  .w-4 {
    width: calc(var(--spacing) * 4);
  }
  .w-5 {
    width: calc(var(--spacing) * 5);
  }
  .w-7 {
    width: calc(var(--spacing) * 7);
  }
  .w-8 {
    width: calc(var(--spacing) * 8);
  }
  .w-10 {
    width: calc(var(--spacing) * 10);
  }
  .w-12 {
    width: calc(var(--spacing) * 12);
  }
  .w-\[18px\] {
    width: 18px;
  }
  .w-\[20px\] {
    width: 20px;
  }
  .w-\[24px\] {
    width: 24px;
  }
  .w-full {
    width: 100%;
  }
  .max-w-\[270px\] {
    max-width: 270px;
  }
  .max-w-\[560px\] {
    max-width: 560px;
  }
  .max-w-full {
    max-width: 100%;
  }
  .min-w-0 {
    min-width: calc(var(--spacing) * 0);
  }
  .min-w-\[130px\] {
    min-width: 130px;
  }
  .min-w-\[140px\] {
    min-width: 140px;
  }
  .min-w-\[200px\] {
    min-width: 200px;
  }
  .flex-\[2\] {
    flex: 2;
  }
  .shrink-0 {
    flex-shrink: 0;
  }
  .border-collapse {
    border-collapse: collapse;
  }
  .animate-\[spin_1s_linear_infinite\] {
    animation: spin 1s linear infinite;
  }
  .cursor-pointer {
    cursor: pointer;
  }
  .list-none {
    list-style-type: none;
  }
  .grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .flex-col {
    flex-direction: column;
  }
  .flex-wrap {
    flex-wrap: wrap;
  }
  .items-center {
    align-items: center;
  }
  .items-end {
    align-items: flex-end;
  }
  .items-start {
    align-items: flex-start;
  }
  .items-stretch {
    align-items: stretch;
  }
  .justify-between {
    justify-content: space-between;
  }
  .justify-center {
    justify-content: center;
  }
  .gap-1\.5 {
    gap: calc(var(--spacing) * 1.5);
  }
  .gap-2 {
    gap: calc(var(--spacing) * 2);
  }
  .gap-2\.5 {
    gap: calc(var(--spacing) * 2.5);
  }
  .gap-3 {
    gap: calc(var(--spacing) * 3);
  }
  .gap-4 {
    gap: calc(var(--spacing) * 4);
  }
  .gap-6 {
    gap: calc(var(--spacing) * 6);
  }
  .gap-\[\.3rem\] {
    gap: .3rem;
  }
  .gap-\[\.6rem\] {
    gap: .6rem;
  }
  .overflow-hidden {
    overflow: hidden;
  }
  .overflow-x-auto {
    overflow-x: auto;
  }
  .rounded {
    border-radius: 0.25rem;
  }
  .rounded-\[99px\] {
    border-radius: 99px;
  }
  .rounded-\[var\(--radius\)\] {
    border-radius: var(--radius);
  }
  .rounded-full {
    border-radius: calc(infinity * 1px);
  }
  .rounded-lg {
    border-radius: var(--radius-lg);
  }
  .rounded-sm {
    border-radius: var(--radius-sm);
  }
  .border {
    border-style: var(--tw-border-style);
    border-width: 1px;
  }
  .border-2 {
    border-style: var(--tw-border-style);
    border-width: 2px;
  }
  .border-b {
    border-bottom-style: var(--tw-border-style);
    border-bottom-width: 1px;
  }
  .border-none {
    --tw-border-style: none;
    border-style: none;
  }
  .\!border-accent {
    border-color: var(--color-accent) !important;
  }
  .border-\[\#a7f3d0\] {
    border-color: #a7f3d0;
  }
  .border-\[\#fecdd3\] {
    border-color: #fecdd3;
  }
  .border-amber-500\/30 {
    border-color: color-mix(in srgb, oklch(76.9% 0.188 70.08) 30%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--color-amber-500) 30%, transparent);
    }
  }
  .border-border {
    border-color: var(--color-border);
  }
  .border-border-light {
    border-color: var(--color-border-light);
  }
  .border-emerald-500\/20 {
    border-color: color-mix(in srgb, oklch(69.6% 0.17 162.48) 20%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--color-emerald-500) 20%, transparent);
    }
  }
  .border-emerald-500\/25 {
    border-color: color-mix(in srgb, oklch(69.6% 0.17 162.48) 25%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--color-emerald-500) 25%, transparent);
    }
  }
  .border-rose-500\/20 {
    border-color: color-mix(in srgb, oklch(64.5% 0.246 16.439) 20%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--color-rose-500) 20%, transparent);
    }
  }
  .border-rose-500\/25 {
    border-color: color-mix(in srgb, oklch(64.5% 0.246 16.439) 25%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--color-rose-500) 25%, transparent);
    }
  }
  .border-rose-500\/30 {
    border-color: color-mix(in srgb, oklch(64.5% 0.246 16.439) 30%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--color-rose-500) 30%, transparent);
    }
  }
  .border-rose-500\/35 {
    border-color: color-mix(in srgb, oklch(64.5% 0.246 16.439) 35%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--color-rose-500) 35%, transparent);
    }
  }
  .border-rose\/25 {
    border-color: var(--color-rose);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--color-rose) 25%, transparent);
    }
  }
  .\!bg-accent\/10 {
    background-color: var(--color-accent) !important;
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-accent) 10%, transparent) !important;
    }
  }
  .bg-\[\#d1fae5\] {
    background-color: #d1fae5;
  }
  .bg-\[\#ffe4e6\] {
    background-color: #ffe4e6;
  }
  .bg-amber-500 {
    background-color: var(--color-amber-500);
  }
  .bg-bg-card {
    background-color: var(--color-bg-card);
  }
  .bg-bg-elevated {
    background-color: var(--color-bg-elevated);
  }
  .bg-emerald-500 {
    background-color: var(--color-emerald-500);
  }
  .bg-emerald-500\/10 {
    background-color: color-mix(in srgb, oklch(69.6% 0.17 162.48) 10%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-emerald-500) 10%, transparent);
    }
  }
  .bg-rose-500\/8 {
    background-color: color-mix(in srgb, oklch(64.5% 0.246 16.439) 8%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-rose-500) 8%, transparent);
    }
  }
  .bg-rose-500\/10 {
    background-color: color-mix(in srgb, oklch(64.5% 0.246 16.439) 10%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-rose-500) 10%, transparent);
    }
  }
  .bg-rose\/12 {
    background-color: var(--color-rose);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-rose) 12%, transparent);
    }
  }
  .bg-transparent {
    background-color: transparent;
  }
  .p-4 {
    padding: calc(var(--spacing) * 4);
  }
  .p-5 {
    padding: calc(var(--spacing) * 5);
  }
  .p-6 {
    padding: calc(var(--spacing) * 6);
  }
  .px-1 {
    padding-inline: calc(var(--spacing) * 1);
  }
  .px-1\.5 {
    padding-inline: calc(var(--spacing) * 1.5);
  }
  .px-3 {
    padding-inline: calc(var(--spacing) * 3);
  }
  .px-3\.5 {
    padding-inline: calc(var(--spacing) * 3.5);
  }
  .px-4 {
    padding-inline: calc(var(--spacing) * 4);
  }
  .px-8 {
    padding-inline: calc(var(--spacing) * 8);
  }
  .px-\[\.3rem\] {
    padding-inline: .3rem;
  }
  .px-\[\.4rem\] {
    padding-inline: .4rem;
  }
  .px-\[\.7rem\] {
    padding-inline: .7rem;
  }
  .px-\[\.9rem\] {
    padding-inline: .9rem;
  }
  .px-\[1\.1rem\] {
    padding-inline: 1.1rem;
  }
  .py-0\.5 {
    padding-block: calc(var(--spacing) * 0.5);
  }
  .py-1\.5 {
    padding-block: calc(var(--spacing) * 1.5);
  }
  .py-2\.5 {
    padding-block: calc(var(--spacing) * 2.5);
  }
  .py-3 {
    padding-block: calc(var(--spacing) * 3);
  }
  .py-12 {
    padding-block: calc(var(--spacing) * 12);
  }
  .py-\[\.1rem\] {
    padding-block: .1rem;
  }
  .py-\[\.2rem\] {
    padding-block: .2rem;
  }
  .py-\[\.45rem\] {
    padding-block: .45rem;
  }
  .py-\[\.55rem\] {
    padding-block: .55rem;
  }
  .py-\[\.85rem\] {
    padding-block: .85rem;
  }
  .pt-0 {
    padding-top: calc(var(--spacing) * 0);
  }
  .pt-2 {
    padding-top: calc(var(--spacing) * 2);
  }
  .pt-\[\.4rem\] {
    padding-top: .4rem;
  }
  .pb-2 {
    padding-bottom: calc(var(--spacing) * 2);
  }
  .text-center {
    text-align: center;
  }
  .text-left {
    text-align: left;
  }
  .text-right {
    text-align: right;
  }
  .align-middle {
    vertical-align: middle;
  }
  .align-text-bottom {
    vertical-align: text-bottom;
  }
  .font-mono {
    font-family: var(--font-mono);
  }
  .text-2xl {
    font-size: var(--text-2xl);
    line-height: var(--tw-leading, var(--text-2xl--line-height));
  }
  .text-base {
    font-size: var(--text-base);
    line-height: var(--tw-leading, var(--text-base--line-height));
  }
  .text-sm {
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
  }
  .text-\[\.7rem\] {
    font-size: .7rem;
  }
  .text-\[\.8rem\] {
    font-size: .8rem;
  }
  .text-\[\.9rem\] {
    font-size: .9rem;
  }
  .text-\[\.65rem\] {
    font-size: .65rem;
  }
  .text-\[\.72rem\] {
    font-size: .72rem;
  }
  .text-\[\.75rem\] {
    font-size: .75rem;
  }
  .text-\[\.78rem\] {
    font-size: .78rem;
  }
  .text-\[\.82rem\] {
    font-size: .82rem;
  }
  .text-\[\.85rem\] {
    font-size: .85rem;
  }
  .text-\[\.875rem\] {
    font-size: .875rem;
  }
  .text-\[0\.7rem\] {
    font-size: 0.7rem;
  }
  .text-\[0\.75rem\] {
    font-size: 0.75rem;
  }
  .text-\[0\.78rem\] {
    font-size: 0.78rem;
  }
  .text-\[0\.85rem\] {
    font-size: 0.85rem;
  }
  .text-\[1\.6rem\] {
    font-size: 1.6rem;
  }
  .text-\[1\.75rem\] {
    font-size: 1.75rem;
  }
  .leading-\[1\.7\] {
    --tw-leading: 1.7;
    line-height: 1.7;
  }
  .leading-\[2\] {
    --tw-leading: 2;
    line-height: 2;
  }
  .leading-none {
    --tw-leading: 1;
    line-height: 1;
  }
  .font-bold {
    --tw-font-weight: var(--font-weight-bold);
    font-weight: var(--font-weight-bold);
  }
  .font-extrabold {
    --tw-font-weight: var(--font-weight-extrabold);
    font-weight: var(--font-weight-extrabold);
  }
  .font-medium {
    --tw-font-weight: var(--font-weight-medium);
    font-weight: var(--font-weight-medium);
  }
  .font-normal {
    --tw-font-weight: var(--font-weight-normal);
    font-weight: var(--font-weight-normal);
  }
  .font-semibold {
    --tw-font-weight: var(--font-weight-semibold);
    font-weight: var(--font-weight-semibold);
  }
  .tracking-\[\.06em\] {
    --tw-tracking: .06em;
    letter-spacing: .06em;
  }
  .text-ellipsis {
    text-overflow: ellipsis;
  }
  .whitespace-nowrap {
    white-space: nowrap;
  }
  .\!text-accent {
    color: var(--color-accent) !important;
  }
  .text-\[\#9f1239\] {
    color: #9f1239;
  }
  .text-\[\#065f46\] {
    color: #065f46;
  }
  .text-accent {
    color: var(--color-accent);
  }
  .text-accent-light {
    color: var(--color-accent-light);
  }
  .text-amber {
    color: var(--color-amber);
  }
  .text-amber-500 {
    color: var(--color-amber-500);
  }
  .text-amber-600 {
    color: var(--color-amber-600);
  }
  .text-cyan-500 {
    color: var(--color-cyan-500);
  }
  .text-emerald-500 {
    color: var(--color-emerald-500);
  }
  .text-inherit {
    color: inherit;
  }
  .text-rose {
    color: var(--color-rose);
  }
  .text-rose-400 {
    color: var(--color-rose-400);
  }
  .text-rose-500 {
    color: var(--color-rose-500);
  }
  .text-text-muted {
    color: var(--color-text-muted);
  }
  .text-text-primary {
    color: var(--color-text-primary);
  }
  .text-text-secondary {
    color: var(--color-text-secondary);
  }
  .normal-case {
    text-transform: none;
  }
  .uppercase {
    text-transform: uppercase;
  }
  .opacity-30 {
    opacity: 30%;
  }
  .opacity-60 {
    opacity: 60%;
  }
  .opacity-70 {
    opacity: 70%;
  }
  .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-all {
    transition-property: all;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
  .transition-colors {
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
  .transition-transform {
    transition-property: transform, translate, scale, rotate;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
  .duration-200 {
    --tw-duration: 200ms;
    transition-duration: 200ms;
  }
  .group-hover\:translate-x-\[2px\] {
    &:is(:where(.group):hover *) {
      @media (hover: hover) {
        --tw-translate-x: 2px;
        translate: var(--tw-translate-x) var(--tw-translate-y);
      }
    }
  }
  .group-hover\:-translate-y-\[2px\] {
    &:is(:where(.group):hover *) {
      @media (hover: hover) {
        --tw-translate-y: calc(2px * -1);
        translate: var(--tw-translate-x) var(--tw-translate-y);
      }
    }
  }
  .group-hover\:scale-105 {
    &:is(:where(.group):hover *) {
      @media (hover: hover) {
        --tw-scale-x: 105%;
        --tw-scale-y: 105%;
        --tw-scale-z: 105%;
        scale: var(--tw-scale-x) var(--tw-scale-y);
      }
    }
  }
  .group-hover\:text-accent {
    &:is(:where(.group):hover *) {
      @media (hover: hover) {
        color: var(--color-accent);
      }
    }
  }
  .group-hover\:text-amber-500 {
    &:is(:where(.group):hover *) {
      @media (hover: hover) {
        color: var(--color-amber-500);
      }
    }
  }
  .group-hover\:text-cyan-500 {
    &:is(:where(.group):hover *) {
      @media (hover: hover) {
        color: var(--color-cyan-500);
      }
    }
  }
  .group-hover\:text-emerald-500 {
    &:is(:where(.group):hover *) {
      @media (hover: hover) {
        color: var(--color-emerald-500);
      }
    }
  }
  .group-hover\:text-purple-500 {
    &:is(:where(.group):hover *) {
      @media (hover: hover) {
        color: var(--color-purple-500);
      }
    }
  }
  .group-hover\:text-rose-500 {
    &:is(:where(.group):hover *) {
      @media (hover: hover) {
        color: var(--color-rose-500);
      }
    }
  }
  .last\:border-0 {
    &:last-child {
      border-style: var(--tw-border-style);
      border-width: 0px;
    }
  }
  .last\:border-b-0 {
    &:last-child {
      border-bottom-style: var(--tw-border-style);
      border-bottom-width: 0px;
    }
  }
  .hover\:-translate-y-1 {
    &:hover {
      @media (hover: hover) {
        --tw-translate-y: calc(var(--spacing) * -1);
        translate: var(--tw-translate-x) var(--tw-translate-y);
      }
    }
  }
  .hover\:bg-amber-500\/10 {
    &:hover {
      @media (hover: hover) {
        background-color: color-mix(in srgb, oklch(76.9% 0.188 70.08) 10%, transparent);
        @supports (color: color-mix(in lab, red, red)) {
          background-color: color-mix(in oklab, var(--color-amber-500) 10%, transparent);
        }
      }
    }
  }
  .hover\:bg-bg-elevated {
    &:hover {
      @media (hover: hover) {
        background-color: var(--color-bg-elevated);
      }
    }
  }
  .hover\:bg-emerald-500\/20 {
    &:hover {
      @media (hover: hover) {
        background-color: color-mix(in srgb, oklch(69.6% 0.17 162.48) 20%, transparent);
        @supports (color: color-mix(in lab, red, red)) {
          background-color: color-mix(in oklab, var(--color-emerald-500) 20%, transparent);
        }
      }
    }
  }
  .hover\:bg-rose-500\/20 {
    &:hover {
      @media (hover: hover) {
        background-color: color-mix(in srgb, oklch(64.5% 0.246 16.439) 20%, transparent);
        @supports (color: color-mix(in lab, red, red)) {
          background-color: color-mix(in oklab, var(--color-rose-500) 20%, transparent);
        }
      }
    }
  }
  .hover\:bg-rose\/20 {
    &:hover {
      @media (hover: hover) {
        background-color: var(--color-rose);
        @supports (color: color-mix(in lab, red, red)) {
          background-color: color-mix(in oklab, var(--color-rose) 20%, transparent);
        }
      }
    }
  }
  .hover\:text-text-primary {
    &:hover {
      @media (hover: hover) {
        color: var(--color-text-primary);
      }
    }
  }
  .hover\:shadow-md {
    &:hover {
      @media (hover: hover) {
        --tw-shadow: 0 4px 6px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 2px 4px -2px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
        box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
      }
    }
  }
  .max-\[480px\]\:gap-3 {
    @media (width < 480px) {
      gap: calc(var(--spacing) * 3);
    }
  }
  .max-\[480px\]\:text-\[1\.5rem\] {
    @media (width < 480px) {
      font-size: 1.5rem;
    }
  }
  .max-md\:w-full {
    @media (width < 48rem) {
      width: 100%;
    }
  }
  .max-md\:grid-cols-1 {
    @media (width < 48rem) {
      grid-template-columns: repeat(1, minmax(0, 1fr));
    }
  }
  .max-md\:flex-col {
    @media (width < 48rem) {
      flex-direction: column;
    }
  }
  .max-md\:items-stretch {
    @media (width < 48rem) {
      align-items: stretch;
    }
  }
  .max-md\:text-xl {
    @media (width < 48rem) {
      font-size: var(--text-xl);
      line-height: var(--tw-leading, var(--text-xl--line-height));
    }
  }
  .\[\&\>form\]\:inline-flex {
    &>form {
      display: inline-flex;
    }
  }
  .\[\&\>form\]\:max-md\:w-full {
    &>form {
      @media (width < 48rem) {
        width: 100%;
      }
    }
  }
  .\[\&\>h3\]\:mb-2 {
    &>h3 {
      margin-bottom: calc(var(--spacing) * 2);
    }
  }
  .\[\&\>h3\]\:text-base {
    &>h3 {
      font-size: var(--text-base);
      line-height: var(--tw-leading, var(--text-base--line-height));
    }
  }
  .\[\&\>h3\]\:text-text-secondary {
    &>h3 {
      color: var(--color-text-secondary);
    }
  }
  .\[\&\>p\]\:text-sm {
    &>p {
      font-size: var(--text-sm);
      line-height: var(--tw-leading, var(--text-sm--line-height));
    }
  }
  .\[\&\>svg\]\:mb-4 {
    &>svg {
      margin-bottom: calc(var(--spacing) * 4);
    }
  }
  .\[\&\>svg\]\:opacity-30 {
    &>svg {
      opacity: 30%;
    }
  }
}
:root {
  color-scheme: light dark;
}
:root[data-theme="light"] {
  color-scheme: light;
}
:root[data-theme="dark"] {
  color-scheme: dark;
}
:root {
  --font-display: 'Fira Sans', sans-serif;
  --font-body: 'Outfit', system-ui, sans-serif;
  --bg-base: light-dark(#f4f2ee, #080808);
  --bg-surface: light-dark(#ffffff, #121212);
  --bg-elevated: light-dark(#e9e6df, #1c1c1c);
  --bg-card: light-dark(#ffffff, #121212);
  --border: light-dark(rgba(0, 0, 0, .10), rgba(255, 255, 255, .10));
  --border-light: light-dark(rgba(0, 0, 0, .05), rgba(255, 255, 255, .05));
  --text-primary: light-dark(#1a1a1a, #eaeaea);
  --text-secondary: light-dark(#4a4a4a, #a0a0a0);
  --text-muted: light-dark(#717171, #666666);
  --accent: light-dark(#0f4c3a, #c3a675);
  --accent-light: light-dark(#1a6b53, #e5c793);
  --accent-dark: light-dark(#06261d, #9c8253);
  --purple: light-dark(#8b5cf6, #a78bfa);
  --cyan: light-dark(#0891b2, #22d3ee);
  --emerald: light-dark(#10b981, #34d399);
  --amber: light-dark(#d97706, #fbbf24);
  --rose: light-dark(#e11d48, #fb7185);
  --info: light-dark(#6366f1, #818cf8);
  --radius-sm: .375rem;
  --radius: .625rem;
  --radius-lg: 1.25rem;
  --radius-xl: 2rem;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, .05);
  --shadow: 0 4px 20px rgba(0, 0, 0, .08);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, .12);
  --sidebar-w: 240px;
  --topbar-h: 64px;
  --transition: .2s ease;
}
@layer base {
  *, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  html {
    scroll-behavior: smooth;
    overflow-x: hidden;
  }
  code {
    word-break: break-all;
    white-space: normal;
  }
  body {
    font-family: var(--font-body);
    background: var(--bg-base);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }
  h1, h2, h3, h4, h5, h6, .page-title, .stat-value {
    font-family: var(--font-display);
  }
  a {
    color: var(--accent-light);
    text-decoration: none;
  }
  a:hover {
    color: var(--text-primary);
  }
  *:focus-visible {
    outline: 2px solid var(--accent-light);
    outline-offset: 2px;
  }
  input[type=text], input[type=email], input[type=password], select, textarea {
    width: 100%;
    border-style: var(--tw-border-style);
    border-width: 1px;
    border-color: var(--color-border);
    background-color: var(--color-bg-elevated);
    padding-inline: calc(var(--spacing) * 4);
    padding-block: .7rem;
    font-size: .875rem;
    color: var(--color-text-primary);
    --tw-outline-style: none;
    outline-style: none;
    border-radius: var(--radius);
    font-family: inherit;
    transition: border-color var(--transition), box-shadow var(--transition);
  }
  input[type=text]:focus, input[type=email]:focus, input[type=password]:focus, select:focus, textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 15%, transparent);
    }
  }
  .input-wrapper input {
    padding-left: 2.6rem;
  }
  select {
    cursor: pointer;
    appearance: none;
    padding-right: 2.2rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.85rem center;
    background-size: 1.1rem;
  }
}
@keyframes staggerFadeUp {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes dialog-in {
  from {
    transform: translate(-50%, -45%) scale(0.93);
    opacity: 0;
  }
  to {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
}
@layer components {
  .noise-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.035;
    mix-blend-mode: multiply;
  }
  :root[data-theme="dark"] .noise-overlay {
    mix-blend-mode: overlay;
    opacity: 0.05;
  }
  .stagger-item {
    opacity: 0;
    animation: staggerFadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }
  .stagger-1 {
    animation-delay: 0.1s;
  }
  .stagger-2 {
    animation-delay: 0.2s;
  }
  .stagger-3 {
    animation-delay: 0.3s;
  }
  .stagger-4 {
    animation-delay: 0.4s;
  }
  .stagger-5 {
    animation-delay: 0.5s;
  }
  .app-body {
    display: flex;
    min-height: 100vh;
    overflow-x: hidden;
  }
  .sidebar {
    width: var(--sidebar-w);
    min-height: 100vh;
    background: var(--bg-surface);
    border-inline-end: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    inset-inline-start: 0;
    z-index: 100;
    transition: transform var(--transition), width var(--transition);
  }
  .sidebar.collapsed {
    transform: translateX(calc(-1 * var(--sidebar-w)));
  }
  .portal-sidebar {
    height: calc(100vh - 1.7rem);
    min-height: calc(100vh - 1.7rem);
    margin: 0.85rem;
    border-radius: var(--radius-lg);
    border-inline-end: none;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
  }
  .sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1rem;
    border-bottom: 1px solid var(--border-light);
  }
  .sidebar-logo {
    display: flex;
    align-items: center;
    gap: .75rem;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-primary);
  }
  .sidebar-toggle-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: .3rem;
    border-radius: var(--radius-sm);
    display: none;
  }
  .sidebar-toggle-btn:hover {
    background: var(--bg-elevated);
    color: var(--text-primary);
  }
  .sidebar-outlook {
    margin: .75rem;
    padding: .75rem;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    gap: .6rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border-light);
  }
  .sidebar-outlook.connected {
    border-color: rgba(16, 185, 129, .25);
  }
  .sidebar-outlook.disconnected {
    border-color: rgba(244, 63, 94, .20);
  }
  .outlook-icon {
    color: var(--text-secondary);
    flex-shrink: 0;
  }
  .outlook-info {
    flex: 1;
    min-width: 0;
  }
  .outlook-label {
    display: block;
    font-size: .7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--text-muted);
  }
  .outlook-email {
    display: block;
    font-size: .75rem;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .outlook-connect-link {
    font-size: .75rem;
    color: var(--accent-light);
  }
  .outlook-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
  }
  .dot-green {
    background: var(--emerald);
    box-shadow: 0 0 6px var(--emerald);
  }
  .dot-red {
    background: var(--rose);
    box-shadow: 0 0 6px var(--rose);
  }
  .sidebar-nav {
    flex: 1 1 auto;
    min-height: 0;
    padding: .5rem .75rem;
    display: flex;
    flex-direction: column;
    gap: .2rem;
    overflow-y: auto;
  }
  .nav-item {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .65rem .85rem;
    border-radius: var(--radius);
    color: var(--text-secondary);
    font-size: .875rem;
    font-weight: 500;
    transition: all var(--transition);
    position: relative;
  }
  .nav-item:hover {
    background: var(--bg-elevated);
    color: var(--text-primary);
  }
  .nav-item.active {
    background: var(--accent);
    color: #fff;
    border: none;
  }
  .nav-item.active svg {
    color: #fff;
  }
  .nav-badge {
    margin-inline-start: auto;
    background: var(--rose);
    color: #fff;
    font-size: .65rem;
    font-weight: 700;
    padding: 0 .45rem;
    border-radius: 99px;
    min-width: 1.2rem;
    height: 1.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
  }
  .sidebar-footer {
    flex-shrink: 0;
    padding: 1rem;
    border-top: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: .75rem;
  }
  .sidebar-user {
    display: flex;
    align-items: center;
    gap: .6rem;
    flex: 1;
    min-width: 0;
  }
  .user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: .875rem;
    color: #fff;
    flex-shrink: 0;
  }
  .user-info {
    min-width: 0;
  }
  .user-name {
    display: block;
    font-size: .8rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .user-role {
    display: block;
    font-size: .7rem;
    color: var(--text-muted);
    text-transform: capitalize;
  }
  .logout-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    padding: .4rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
  }
  .logout-btn:hover {
    color: var(--rose);
    background: var(--rose);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--rose) 10%, transparent);
    }
  }
  .sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, .4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 99;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
  }
  .sidebar-overlay.active {
    opacity: 1;
    pointer-events: auto;
  }
  .app-content {
    margin-inline-start: var(--sidebar-w);
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-width: 0;
    max-width: 100%;
    transition: margin-inline-start var(--transition);
  }
  .app-content.expanded {
    margin-inline-start: 0;
  }
  .portal-content {
    margin-inline-start: calc(var(--sidebar-w) + 1.7rem);
  }
  .topbar {
    height: var(--topbar-h);
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-inline: 1.5rem;
    position: sticky;
    top: 0;
    z-index: 50;
  }
  .portal-topbar {
    margin: 0.85rem 0.85rem 0.85rem 0;
    border-radius: var(--radius-lg);
    border-bottom: none;
    box-shadow: var(--shadow-sm);
    top: 0.85rem;
  }
  .topbar-left {
    display: flex;
    align-items: center;
    gap: 1rem;
  }
  .topbar-right {
    display: flex;
    align-items: center;
    gap: 1rem;
  }
  .topbar-time {
    font-size: .85rem;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
  }
  .hamburger {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-secondary);
    padding: .4rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
  }
  .hamburger:hover {
    background: var(--bg-elevated);
    color: var(--text-primary);
  }
  .page-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
  }
  .btn-sync {
    display: flex;
    align-items: center;
    gap: .5rem;
    background: var(--accent);
    color: #fff;
    border: none;
    cursor: pointer;
    padding: .5rem 1.1rem;
    border-radius: var(--radius);
    font-size: .82rem;
    font-weight: 600;
    transition: all var(--transition);
    font-family: inherit;
  }
  .btn-sync:hover {
    opacity: .88;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px var(--accent);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 4px 14px color-mix(in oklab, var(--accent) 30%, transparent);
    }
  }
  .btn-sync:disabled {
    opacity: .6;
    cursor: not-allowed;
    transform: none;
  }
  .main-content {
    padding: 1.25rem 1.5rem;
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
  }
  @media (min-width: 769px) {
    .portal-content .main-content {
      padding-top: 0.5rem;
      padding-left: 0;
      padding-right: 0.85rem;
      padding-bottom: 0.85rem;
    }
  }
  .flash {
    margin: 0 1.75rem;
    padding: .9rem 1.25rem;
    border-radius: var(--radius);
    font-size: .875rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: opacity .4s ease;
  }
  .flash-success {
    background: var(--emerald);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--emerald) 12%, transparent);
    }
    border: 1px solid var(--emerald);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--emerald) 30%, transparent);
    }
    color: #6ee7b7;
  }
  .flash-error {
    background: var(--rose);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--rose) 12%, transparent);
    }
    border: 1px solid var(--rose);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--rose) 30%, transparent);
    }
    color: #fda4af;
  }
  .flash-info {
    background: var(--info);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--info) 12%, transparent);
    }
    border: 1px solid var(--info);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--info) 30%, transparent);
    }
    color: #a5b4fc;
  }
  .flash button {
    background: none;
    border: none;
    cursor: pointer;
    color: inherit;
    font-size: 1rem;
    opacity: .7;
  }
  .card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 1.5rem;
    min-width: 0;
    max-width: 100%;
  }
  .card-header {
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .card-title {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
  }
  .stats-grid {
    margin-bottom: 1.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
  }
  .stat-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    box-shadow: var(--shadow-sm);
    padding: 1.25rem 1.5rem;
    transition: all 350ms cubic-bezier(0.25, 1, 0.5, 1);
    text-decoration: none;
  }
  .stat-card:hover {
    transform: translateY(-6px) scale(1.02) !important;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, .1), 0 8px 10px -6px rgba(0, 0, 0, .1);
    z-index: 10;
  }
  .stat-card.group {
    cursor: pointer;
  }
  .stat-header {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: .75rem;
  }
  .stat-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.2;
  }
  .stat-link-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-elevated);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    transition: all 200ms ease;
  }
  .stat-card:hover .stat-link-icon {
    background: var(--accent);
    color: #fff;
    transform: translate(2px, -2px) scale(1.05);
  }
  .stat-value {
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1;
    color: var(--text-primary);
    margin-bottom: .75rem;
    width: 100%;
    text-align: left;
  }
  .stat-change {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .85rem;
    color: var(--text-muted);
    width: 100%;
  }
  .table-wrapper {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    border-radius: var(--radius-sm);
  }
  table {
    width: 100%;
    border-collapse: collapse;
    font-size: .875rem;
  }
  thead th {
    border-bottom: 1px solid var(--border);
    background: var(--bg-elevated);
    padding-inline: 1rem;
    padding-block: .85rem;
    text-align: left;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .06em;
    white-space: nowrap;
    color: var(--text-muted);
    text-transform: uppercase;
  }
  tbody tr {
    border-bottom: 1px solid var(--border-light);
    transition: background-color 150ms ease;
  }
  tbody tr:hover {
    background: var(--bg-elevated);
  }
  tbody tr:last-child {
    border-bottom: none;
  }
  tbody td {
    padding-inline: 1rem;
    padding-block: .85rem;
    vertical-align: middle;
    white-space: nowrap;
    color: var(--text-secondary);
  }
  .badge {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    border-radius: 99px;
    padding-inline: .7rem;
    padding-block: .2rem;
    font-size: .72rem;
    font-weight: 600;
  }
  .badge-green {
    border: 1px solid #a7f3d0;
    background: #d1fae5;
    color: #065f46;
  }
  .badge-red {
    border: 1px solid #fecdd3;
    background: #ffe4e6;
    color: #9f1239;
  }
  .badge-blue {
    border: 1px solid #c7d2fe;
    background: #e0e7ff;
    color: #3730a3;
  }
  .badge-amber {
    border: 1px solid #fde68a;
    background: #fef3c7;
    color: #92400e;
  }
  .badge-purple {
    border: 1px solid #e9d5ff;
    background: #f3e8ff;
    color: #6b21a8;
  }
  .badge-gray {
    border: 1px solid #e2e8f0;
    background: #f1f5f9;
    color: #334155;
  }
  .btn-primary {
    display: inline-flex;
    cursor: pointer;
    align-items: center;
    gap: .5rem;
    border-radius: var(--radius);
    border: none;
    background: var(--accent);
    padding-inline: 1.4rem;
    padding-block: .7rem;
    font-size: .875rem;
    font-weight: 600;
    color: #fff;
    transition: all 200ms ease;
    font-family: inherit;
  }
  .btn-primary:hover {
    translate: 0 -1px;
    opacity: .88;
    box-shadow: 0 4px 14px var(--accent);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 4px 14px color-mix(in oklab, var(--accent) 30%, transparent);
    }
  }
  .btn-secondary {
    display: inline-flex;
    cursor: pointer;
    align-items: center;
    gap: .5rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--bg-elevated);
    padding-inline: 1.1rem;
    padding-block: .7rem;
    font-size: .82rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 200ms ease;
    font-family: inherit;
  }
  .btn-secondary:hover {
    background: var(--bg-surface);
    color: var(--text-primary);
  }
  .btn-ghost {
    display: inline-flex;
    cursor: pointer;
    align-items: center;
    gap: .5rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: transparent;
    padding-inline: 1.1rem;
    padding-block: .7rem;
    font-size: .82rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 200ms ease;
    font-family: inherit;
  }
  .btn-ghost:hover {
    translate: 0 -1px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .08);
  }
  .btn-danger {
    display: inline-flex;
    cursor: pointer;
    align-items: center;
    gap: .5rem;
    border-radius: var(--radius);
    border: 1px solid var(--rose);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--rose) 25%, transparent);
    }
    background: var(--rose);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--rose) 12%, transparent);
    }
    padding-inline: 1.1rem;
    padding-block: .7rem;
    font-size: .82rem;
    font-weight: 500;
    color: var(--rose);
    transition: all 200ms ease;
    font-family: inherit;
  }
  .btn-danger:hover {
    translate: 0 -1px;
    box-shadow: 0 4px 14px var(--rose);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 4px 14px color-mix(in oklab, var(--rose) 20%, transparent);
    }
  }
  .btn-microsoft {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    width: 100%;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    color: var(--text-primary);
    border-radius: var(--radius);
    padding: .85rem 1.5rem;
    font-size: .9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s ease;
    font-family: inherit;
  }
  .btn-microsoft:hover {
    background: var(--bg-card);
    border-color: var(--info);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--info) 40%, transparent);
    }
    box-shadow: 0 4px 14px var(--info);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 4px 14px color-mix(in oklab, var(--info) 20%, transparent);
    }
  }
  .btn-microsoft svg {
    flex-shrink: 0;
  }
  @media (max-width: 480px) {
    .btn-microsoft {
      padding: .75rem 1rem;
      font-size: .85rem;
    }
  }
  .btn-success {
    display: inline-flex;
    cursor: pointer;
    align-items: center;
    gap: .375rem;
    border-radius: var(--radius);
    border: 1px solid var(--emerald);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--emerald) 25%, transparent);
    }
    background: var(--emerald);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--emerald) 12%, transparent);
    }
    padding-inline: 1.1rem;
    padding-block: .7rem;
    font-size: .82rem;
    font-weight: 500;
    color: var(--emerald);
    transition: all 200ms ease;
    font-family: inherit;
  }
  .btn-success:hover {
    translate: 0 -1px;
    box-shadow: 0 4px 14px var(--emerald);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 4px 14px color-mix(in oklab, var(--emerald) 20%, transparent);
    }
  }
  .btn-full {
    width: 100%;
    justify-content: center;
  }
  .form-group {
    margin-bottom: 1.25rem;
  }
  .form-group label {
    display: block;
    margin-bottom: .45rem;
    font-size: .82rem;
    font-weight: 500;
    color: var(--text-secondary);
  }
  .input-wrapper {
    position: relative;
  }
  .input-icon {
    position: absolute;
    left: .9rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .input-icon svg {
    width: 100%;
    height: 100%;
    display: block;
  }
  .toggle-pass {
    position: absolute;
    right: .8rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    transition: color var(--transition);
  }
  .toggle-pass svg {
    width: 18px;
    height: 18px;
    display: block;
  }
  .toggle-pass:hover {
    color: var(--text-primary);
  }
  .inline-form {
    display: inline;
  }
  .alert {
    padding: .85rem 1rem;
    border-radius: var(--radius);
    font-size: .875rem;
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    margin-bottom: 1rem;
    animation: alertSlideIn .25s ease;
  }
  @keyframes alertSlideIn {
    from {
      opacity: 0;
      transform: translateY(-6px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  .alert-error {
    background: var(--rose);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--rose) 12%, transparent);
    }
    border: 1px solid var(--rose);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--rose) 30%, transparent);
    }
    color: #fda4af;
  }
  .alert-success {
    background: var(--emerald);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--emerald) 12%, transparent);
    }
    border: 1px solid var(--emerald);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--emerald) 30%, transparent);
    }
    color: #6ee7b7;
  }
  .alert-warning {
    background: var(--amber);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--amber) 12%, transparent);
    }
    border: 1px solid var(--amber);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--amber) 30%, transparent);
    }
    color: #fcd34d;
  }
  .alert-info {
    background: var(--info);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--info) 12%, transparent);
    }
    border: 1px solid var(--info);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--info) 25%, transparent);
    }
    color: var(--text-secondary);
  }
  .alert-dismissible {
    justify-content: space-between;
    align-items: center;
  }
  .alert-dismissible .alert-body {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    flex: 1;
    min-width: 0;
  }
  .alert-dismiss-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: inherit;
    opacity: .55;
    font-size: 1rem;
    padding: 0 .2rem;
    line-height: 1;
    flex-shrink: 0;
    transition: opacity var(--transition);
  }
  .alert-dismiss-btn:hover {
    opacity: 1;
  }
  .toast-notification {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 9999;
    min-width: 280px;
    max-width: 420px;
    padding: .9rem 1.25rem;
    border-radius: var(--radius);
    font-size: .875rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    box-shadow: 0 8px 24px rgba(0,0,0,.35);
    animation: toastSlideUp .3s cubic-bezier(0.34, 1.56, 0.64, 1);
    transition: opacity .4s ease;
  }
  @keyframes toastSlideUp {
    from {
      opacity: 0;
      transform: translateY(20px) scale(.95);
    }
    to {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }
  .toast-close {
    background: none;
    border: none;
    cursor: pointer;
    color: inherit;
    opacity: .6;
    font-size: 1rem;
    flex-shrink: 0;
    transition: opacity var(--transition);
  }
  .toast-close:hover {
    opacity: 1;
  }
  .spin {
    animation: spin 1s linear infinite;
    display: inline-block;
  }
  .empty-state {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
  }
  .empty-state svg {
    opacity: .3;
    margin-bottom: 1rem;
  }
  .empty-state h3 {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: .5rem;
  }
  .empty-state p {
    font-size: .875rem;
  }
  .card:has(> .empty-state) {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
  }
  .page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
    background: var(--bg-card);
    padding: 1.25rem 1.75rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
  }
  .page-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
  }
  .page-header p {
    font-size: .875rem;
    color: var(--text-muted);
    margin-top: .2rem;
  }
  .page-header-actions {
    display: flex;
    align-items: center;
    gap: .75rem;
    flex-shrink: 0;
  }
  .page-header-actions form {
    display: inline-flex;
  }
  .filter-tabs {
    display: flex;
    align-items: center;
    gap: .5rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
  }
  .filter-tab-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(100, 116, 139, .18);
    color: var(--text-secondary);
    font-size: .65rem;
    font-weight: 600;
    padding: 0 .45rem;
    border-radius: 99px;
    margin-left: .3rem;
    min-width: 1.2rem;
    height: 1.2rem;
    line-height: 1;
    min-width: 1.25rem;
    justify-content: center;
  }
  .filter-tab-badge.active {
    background: var(--accent);
    color: #fff;
  }
  .pagination-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .4rem;
    margin-top: 1.25rem;
    flex-wrap: wrap;
  }
  .pagination-bar a {
    padding: .4rem .8rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    font-size: .82rem;
    color: var(--text-secondary);
    transition: all var(--transition);
  }
  .pagination-bar a:hover {
    background: var(--bg-elevated);
    color: var(--text-primary);
  }
  .pagination-bar a.active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
  }
  .pagination-bar .pagination-info {
    font-size: .78rem;
    color: var(--text-muted);
    margin-left: .5rem;
  }
  .pagination-bar .pagination-edge {
    padding: .4rem .75rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    font-size: .9rem;
    color: var(--text-secondary);
    transition: all var(--transition);
    line-height: 1;
  }
  .pagination-bar a.pagination-edge:hover {
    background: var(--bg-elevated);
    color: var(--text-primary);
  }
  .pagination-bar .pagination-edge.disabled {
    opacity: .35;
    cursor: not-allowed;
    pointer-events: none;
  }
  .pagination-bar .pagination-ellipsis {
    padding: .4rem .3rem;
    font-size: .82rem;
    color: var(--text-muted);
    pointer-events: none;
  }
  .key-value-list {
    display: flex;
    flex-direction: column;
    gap: .6rem;
    font-size: .82rem;
  }
  .key-value-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .5rem;
    padding: .5rem;
    background: var(--bg-elevated);
    border-radius: var(--radius-sm);
    flex-wrap: wrap;
  }
  .key-value-label {
    color: var(--text-muted);
    flex-shrink: 0;
  }
  .key-value-value {
    font-weight: 500;
    color: var(--text-primary);
    word-break: break-all;
  }
  .grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }
  .grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
  .search-bar {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
  }
  .search-bar input {
    max-width: 300px;
  }
  .dashboard-alert {
    border-color: var(--amber);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--amber) 30%, transparent);
    }
    background: var(--amber);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--amber) 6%, transparent);
    }
    margin-bottom: 1.5rem;
  }
  .dashboard-alert-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    flex-wrap: wrap;
  }
  .dashboard-alert-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    flex-wrap: wrap;
  }
  .dashboard-alert-text-wrap {
    flex: 1;
    min-width: 0;
  }
  .dashboard-alert-title {
    color: #fbbf24;
    display: block;
    font-weight: 700;
    margin-bottom: .2rem;
  }
  .dashboard-alert-text {
    font-size: .875rem;
    color: var(--text-secondary);
    margin: 0;
  }
  .dashboard-alert-link {
    color: var(--accent-light);
  }
  .dashboard-alert-cta {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .45rem 1rem;
    border-radius: var(--radius-sm);
    background: var(--amber);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--amber) 20%, transparent);
    }
    border: 1px solid var(--amber);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--amber) 40%, transparent);
    }
    color: #fbbf24;
    font-size: .82rem;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition);
    white-space: nowrap;
  }
  .dashboard-alert-cta:hover {
    background: var(--amber);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--amber) 30%, transparent);
    }
    color: #fff;
    transform: translateY(-1px);
  }
  .email-list {
    display: flex;
    flex-direction: column;
    gap: .6rem;
  }
  .email-item {
    padding: .75rem;
    background: var(--bg-elevated);
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    display: flex;
    gap: .75rem;
    align-items: center;
  }
  .email-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
  }
  .email-info {
    flex: 1;
    min-width: 0;
  }
  .email-subject {
    font-size: .82rem;
    font-weight: 500;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .email-meta {
    font-size: .75rem;
    color: var(--text-muted);
  }
  .email-badge {
    flex-shrink: 0;
  }
  .student-name {
    font-weight: 500;
    color: var(--text-primary);
  }
  .student-doc {
    font-size: .75rem;
    color: var(--text-muted);
  }
  .student-date {
    color: var(--text-muted);
    font-size: .78rem;
  }
  .upload-steps {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: 2rem;
    font-size: .85rem;
  }
  .step-item {
    display: flex;
    align-items: center;
    gap: .5rem;
  }
  .step-number {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: .78rem;
    border: 2px solid var(--border);
  }
  .step-item.active .step-number {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
  }
  .step-item.inactive .step-number {
    background: var(--bg-elevated);
    color: var(--text-muted);
  }
  .step-label {
    color: var(--text-muted);
    font-weight: 400;
  }
  .step-item.active .step-label {
    color: var(--text-primary);
    font-weight: 600;
  }
  .step-divider {
    flex: 1;
    height: 1px;
    background: var(--border);
    max-width: 60px;
  }
  .upload-drop-zone {
    border: 2px dashed var(--border);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: all .2s;
    margin-bottom: 1.5rem;
  }
  .upload-drop-zone:hover {
    border-color: var(--accent-light);
    background: var(--accent);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--accent) 3%, transparent);
    }
  }
  .upload-drop-icon {
    margin-bottom: .75rem;
    stroke: var(--text-muted);
  }
  .upload-drop-title {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: .3rem;
  }
  .upload-drop-sub {
    font-size: .8rem;
    color: var(--text-muted);
  }
  .upload-drop-formats {
    font-size: .75rem;
    color: var(--text-muted);
    margin-top: .5rem;
  }
  .upload-drop-filename {
    margin-top: .75rem;
    color: var(--accent-light);
    font-size: .85rem;
    font-weight: 500;
  }
  .upload-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
  }
  .settings-outlook-card {
    background: var(--bg-elevated);
    border-radius: var(--radius);
    padding: 1rem;
    margin-bottom: 1.25rem;
  }
  .settings-outlook-user {
    display: flex;
    align-items: center;
    gap: .75rem;
  }
  .settings-outlook-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0078d4, #106ebe);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
  }
  .settings-outlook-info {
    min-width: 0;
  }
  .settings-outlook-name {
    font-weight: 600;
  }
  .settings-outlook-email {
    font-size: .82rem;
    color: var(--text-muted);
    word-break: break-all;
  }
  .settings-outlook-expiry {
    font-size: .72rem;
    color: var(--text-muted);
    margin-top: .2rem;
  }
  .settings-perm-list {
    display: flex;
    flex-direction: column;
    gap: .5rem;
  }
  .settings-perm-item {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .5rem;
    background: var(--bg-elevated);
    border-radius: var(--radius-sm);
  }
  .settings-perm-badge {
    flex-shrink: 0;
    font-family: monospace;
    font-size: .7rem;
  }
  .settings-perm-desc {
    font-size: .8rem;
    color: var(--text-secondary);
  }
  .student-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
  }
  .student-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1rem 1.15rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  }
  .student-card::before {
    content: '';
    position: absolute;
    inset-block: 0;
    inset-inline-start: 0;
    width: 3px;
    background: var(--accent-light);
    border-radius: 3px 0 0 3px;
    opacity: .6;
    transition: opacity var(--transition);
  }
  .student-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .10);
    border-color: var(--accent-light);
  }
  .student-card:hover::before {
    opacity: 1;
  }
  .sc-header {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: .75rem;
  }
  .sc-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: .9rem;
    color: #fff;
    flex-shrink: 0;
    text-transform: uppercase;
  }
  .sc-name {
    font-weight: 600;
    font-size: .9rem;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: clip;
    line-height: 1.35;
  }
  .sc-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
    margin-bottom: .65rem;
  }
  .sc-pill {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    font-size: .7rem;
    font-weight: 500;
    color: var(--text-muted);
    background: var(--bg-elevated);
    border: 1px solid var(--border-light);
    border-radius: 99px;
    padding: .15rem .55rem;
  }
  .sc-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: .65rem;
    border-top: 1px solid var(--border-light);
    margin-top: .1rem;
  }
  .sc-hint {
    font-size: .68rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: .3rem;
  }
  .student-dialog {
    border: none;
    border-radius: var(--radius-xl);
    padding: 0;
    max-width: 540px;
    width: calc(100% - 2rem);
    background: var(--bg-surface);
    box-shadow: 0 24px 64px rgba(0, 0, 0, .18);
    overflow: hidden;
    margin: 0;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: dialog-in .3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  }
  .student-dialog::backdrop {
    background: rgba(15, 23, 42, .55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }
  .sd-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: var(--accent);
    color: #fff;
  }
  .sd-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    flex-shrink: 0;
    text-transform: uppercase;
    border: 2px solid rgba(255, 255, 255, .35);
  }
  .sd-title {
    flex: 1;
  }
  .sd-title h3 {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
  }
  .sd-title small {
    font-size: .75rem;
    opacity: .8;
  }
  .sd-close {
    background: rgba(255, 255, 255, .18);
    border: 1px solid rgba(255, 255, 255, .28);
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    flex-shrink: 0;
    transition: background var(--transition);
  }
  .sd-close:hover {
    background: rgba(255, 255, 255, .3);
  }
  .sd-body {
    padding: 1.25rem 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .85rem 1.25rem;
  }
  .sd-field {
    display: flex;
    flex-direction: column;
    gap: .2rem;
  }
  .sd-field-label {
    font-size: .68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: var(--text-muted);
  }
  .sd-field-value {
    font-size: .875rem;
    font-weight: 500;
    color: var(--text-primary);
    word-break: break-word;
  }
  .sd-field-value em {
    font-style: normal;
    color: var(--text-muted);
    font-weight: 400;
  }
  .sd-field.full-width {
    grid-column: 1 / -1;
  }
  .sd-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    background: var(--bg-elevated);
  }
  @media (min-width: 1024px) {
    .hide-on-desktop {
      display: none !important;
    }
  }
  @media (max-width: 1023px) {
    .hide-on-mobile {
      display: none !important;
    }
  }
  @media (max-width: 768px) {
    .sidebar {
      transform: translateX(calc(-1 * var(--sidebar-w)));
    }
    .sidebar.open {
      transform: translateX(0);
    }
    .sidebar-toggle-btn {
      display: flex;
    }
    .app-content {
      margin-inline-start: 0;
    }
    .portal-content {
      margin-inline-start: 0;
    }
    .portal-sidebar {
      border-radius: 0;
      margin: 0;
      height: 100vh;
      min-height: 100vh;
    }
    .portal-topbar {
      margin: 0.85rem;
      margin-inline-start: 0.85rem;
      top: 0;
    }
    .main-content {
      padding: 1rem;
      padding-inline-start: 0.85rem;
    }
    .grid-2, .grid-3 {
      grid-template-columns: 1fr;
    }
    .stats-grid {
      grid-template-columns: 1fr 1fr;
      gap: .75rem;
    }
    .stat-card {
      padding: 1rem;
    }
    .stat-value {
      font-size: 1.5rem;
    }
    .topbar {
      padding-inline: 1rem;
    }
    .hamburger {
      margin-inline-start: -0.4rem;
    }
    .page-header {
      flex-wrap: wrap;
      gap: 1rem;
    }
    .page-header-actions {
      flex-wrap: wrap;
      gap: .5rem;
    }
    table td .btn-primary, table td .btn-secondary, table td .btn-success, table td .btn-danger, table td .btn-ghost {
      padding: .4rem .75rem;
      font-size: .75rem;
      gap: .3rem;
      border-radius: var(--radius-sm);
    }
    table td .btn-primary svg, table td .btn-secondary svg, table td .btn-success svg, table td .btn-danger svg, table td .btn-ghost svg {
      width: 12px;
      height: 12px;
    }
    tbody td, thead th {
      white-space: nowrap;
    }
    tbody td {
      padding: .65rem .75rem;
      font-size: .8rem;
    }
    thead th {
      padding: .65rem .75rem;
      font-size: .75rem;
    }
    .table-wrapper {
      scrollbar-width: thin;
      scrollbar-color: var(--border) transparent;
      -webkit-overflow-scrolling: touch;
    }
    .table-wrapper::-webkit-scrollbar {
      height: 6px;
    }
    .table-wrapper::-webkit-scrollbar-track {
      background: transparent;
    }
    .table-wrapper::-webkit-scrollbar-thumb {
      background-color: var(--border);
      border-radius: 99px;
    }
  }
  @media (max-width: 576px) {
    .page-header {
      flex-direction: column;
      align-items: stretch;
      text-align: center;
      gap: .75rem;
      margin-bottom: 1rem;
      padding: 1.25rem 1rem;
    }
    .page-header h2 {
      font-size: 1.25rem;
    }
    .page-header > div:first-child {
      display: flex;
      flex-direction: column;
      align-items: center;
    }
    .page-header-actions {
      flex-direction: column;
      align-items: stretch;
      width: 100%;
      gap: .75rem;
    }
    .page-header-actions form {
      display: block;
      width: 100%;
    }
    .page-header-actions a, .page-header-actions button {
      display: flex;
      width: 100%;
      justify-content: center;
      box-sizing: border-box;
    }
    .page-header .btn-primary, .page-header .btn-ghost, .page-header .btn-success {
      width: 100%;
      justify-content: center;
    }
    .upload-steps {
      flex-wrap: wrap;
      gap: .75rem;
    }
    .step-divider {
      display: none;
    }
    .step-label {
      font-size: .75rem;
    }
    .upload-actions {
      flex-direction: column;
      align-items: stretch;
    }
    .upload-actions form, .upload-actions button, .upload-actions a {
      width: 100%;
      justify-content: center;
    }
    .pagination-bar {
      gap: .3rem;
    }
    .pagination-bar .pagination-info {
      display: none;
    }
    .key-value-item {
      flex-direction: column;
      align-items: flex-start;
      gap: .25rem;
    }
    .key-value-value {
      word-break: break-word;
    }
    .settings-perm-item {
      flex-wrap: wrap;
      gap: .4rem;
    }
    .topbar-time {
      display: none;
    }
    .btn-sync-text {
      display: none;
    }
    .btn-sync {
      padding: 0;
      width: 36px;
      height: 36px;
      min-width: 36px;
      border-radius: 50%;
      justify-content: center;
      overflow: hidden;
      gap: 0;
    }
    .btn-sync svg, .btn-sync .spin {
      width: 16px;
      height: 16px;
    }
    .search-bar {
      flex-direction: column;
      align-items: stretch;
      width: 100%;
    }
    .search-bar input {
      max-width: 100%;
      width: 100%;
    }
    .email-item {
      flex-wrap: wrap;
    }
    .email-badge {
      margin-left: auto;
    }
    .email-subject {
      white-space: normal;
      word-break: break-word;
    }
  }
  @media (max-width: 480px) {
    .stats-grid {
      grid-template-columns: 1fr;
    }
    .stat-value {
      font-size: 1.5rem;
    }
    .key-value-item {
      flex-direction: column;
      align-items: flex-start;
    }
  }
  @media (max-width: 520px) {
    .sd-body {
      grid-template-columns: 1fr;
    }
    .sd-field.full-width {
      grid-column: 1;
    }
  }
}
@property --tw-border-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}
@property --tw-leading {
  syntax: "*";
  inherits: false;
}
@property --tw-font-weight {
  syntax: "*";
  inherits: false;
}
@property --tw-tracking {
  syntax: "*";
  inherits: false;
}
@property --tw-blur {
  syntax: "*";
  inherits: false;
}
@property --tw-brightness {
  syntax: "*";
  inherits: false;
}
@property --tw-contrast {
  syntax: "*";
  inherits: false;
}
@property --tw-grayscale {
  syntax: "*";
  inherits: false;
}
@property --tw-hue-rotate {
  syntax: "*";
  inherits: false;
}
@property --tw-invert {
  syntax: "*";
  inherits: false;
}
@property --tw-opacity {
  syntax: "*";
  inherits: false;
}
@property --tw-saturate {
  syntax: "*";
  inherits: false;
}
@property --tw-sepia {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-drop-shadow-size {
  syntax: "*";
  inherits: false;
}
@property --tw-duration {
  syntax: "*";
  inherits: false;
}
@property --tw-translate-x {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-translate-y {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-translate-z {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-scale-x {
  syntax: "*";
  inherits: false;
  initial-value: 1;
}
@property --tw-scale-y {
  syntax: "*";
  inherits: false;
  initial-value: 1;
}
@property --tw-scale-z {
  syntax: "*";
  inherits: false;
  initial-value: 1;
}
@property --tw-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-inset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-inset-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-inset-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-ring-color {
  syntax: "*";
  inherits: false;
}
@property --tw-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-inset-ring-color {
  syntax: "*";
  inherits: false;
}
@property --tw-inset-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-ring-inset {
  syntax: "*";
  inherits: false;
}
@property --tw-ring-offset-width {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}
@property --tw-ring-offset-color {
  syntax: "*";
  inherits: false;
  initial-value: #fff;
}
@property --tw-ring-offset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@layer properties {
  @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
    *, ::before, ::after, ::backdrop {
      --tw-border-style: solid;
      --tw-leading: initial;
      --tw-font-weight: initial;
      --tw-tracking: initial;
      --tw-blur: initial;
      --tw-brightness: initial;
      --tw-contrast: initial;
      --tw-grayscale: initial;
      --tw-hue-rotate: initial;
      --tw-invert: initial;
      --tw-opacity: initial;
      --tw-saturate: initial;
      --tw-sepia: initial;
      --tw-drop-shadow: initial;
      --tw-drop-shadow-color: initial;
      --tw-drop-shadow-alpha: 100%;
      --tw-drop-shadow-size: initial;
      --tw-duration: initial;
      --tw-translate-x: 0;
      --tw-translate-y: 0;
      --tw-translate-z: 0;
      --tw-scale-x: 1;
      --tw-scale-y: 1;
      --tw-scale-z: 1;
      --tw-shadow: 0 0 #0000;
      --tw-shadow-color: initial;
      --tw-shadow-alpha: 100%;
      --tw-inset-shadow: 0 0 #0000;
      --tw-inset-shadow-color: initial;
      --tw-inset-shadow-alpha: 100%;
      --tw-ring-color: initial;
      --tw-ring-shadow: 0 0 #0000;
      --tw-inset-ring-color: initial;
      --tw-inset-ring-shadow: 0 0 #0000;
      --tw-ring-inset: initial;
      --tw-ring-offset-width: 0px;
      --tw-ring-offset-color: #fff;
      --tw-ring-offset-shadow: 0 0 #0000;
    }
  }
}
