/* [project]/app/globals.css [app-client] (css) */
@layer theme {
  :root, :host {
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
      "Noto Sans", Arial, 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;
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
  }
}

@layer base {
  *, :after, :before, ::backdrop {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }

  ::file-selector-button {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }

  html, :host {
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    line-height: 1.5;
    font-family: var(--default-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, 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;
    -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 {
    vertical-align: baseline;
    font-size: 75%;
    line-height: 0;
    position: relative;
  }

  sub {
    bottom: -.25em;
  }

  sup {
    top: -.5em;
  }

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

  :-moz-focusring:where(:not(iframe)) {
    outline: auto;
  }

  progress {
    vertical-align: baseline;
  }

  summary {
    display: list-item;
  }

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

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

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

  button, input, select, optgroup, textarea {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: #0000;
    border-radius: 0;
  }

  ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: #0000;
    border-radius: 0;
  }

  :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)) {
      ::placeholder {
        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 {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-year-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-month-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-day-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-hour-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-minute-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-second-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-millisecond-field {
    padding-block: 0;
  }

  ::-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"]) {
    appearance: button;
  }

  ::file-selector-button {
    appearance: button;
  }

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

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

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

@layer components;

@layer utilities {
  .container {
    width: 100%;
  }

  @media (min-width: 40rem) {
    .container {
      max-width: 40rem;
    }
  }

  @media (min-width: 48rem) {
    .container {
      max-width: 48rem;
    }
  }

  @media (min-width: 64rem) {
    .container {
      max-width: 64rem;
    }
  }

  @media (min-width: 80rem) {
    .container {
      max-width: 80rem;
    }
  }

  @media (min-width: 96rem) {
    .container {
      max-width: 96rem;
    }
  }

  .grid {
    display: grid;
  }

  .table {
    display: table;
  }
}

:root, :root[data-theme="light"] {
  --lightningcss-light: initial;
  --lightningcss-dark: ;
  color-scheme: light;
  --background: #f4f7fb;
  --sidebar: #fff;
  --panel: #fff;
  --panel-soft: #eef3f9;
  --input: #fff;
  --text: #142033;
  --muted: #64748b;
  --line: #dbe4ef;
  --accent: #2563eb;
  --accent-text: #fff;
  --success: #16845b;
  --danger: #dc2626;
  --shadow: 0 12px 35px #0f172a12;
}

:root[data-theme="dark"] {
  --lightningcss-light: ;
  --lightningcss-dark: initial;
  color-scheme: dark;
  --background: #07111f;
  --sidebar: #091625;
  --panel: #0d1b2a;
  --panel-soft: #13253a;
  --input: #081522;
  --text: #edf5ff;
  --muted: #94a8c1;
  --line: #203852;
  --accent: #4f9cff;
  --accent-text: #06111f;
  --success: #46c98b;
  --danger: #ff7373;
  --shadow: none;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--background);
  min-height: 100%;
}

body {
  background: var(--background);
  min-height: 100vh;
  color: var(--text);
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
}

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

button, input, select {
  font: inherit;
}

.shell {
  grid-template-columns: 250px minmax(0, 1fr);
  min-height: 100vh;
  display: grid;
}

.sidebar {
  border-right: 1px solid var(--line);
  background: var(--sidebar);
  padding: 24px 18px;
}

.brand {
  letter-spacing: .02em;
  margin-bottom: 28px;
  font-weight: 800;
}

.brand small {
  color: var(--muted);
  margin-top: 5px;
  font-weight: 500;
  display: block;
}

.nav {
  gap: 8px;
  display: grid;
}

.nav a {
  color: var(--muted);
  white-space: nowrap;
  border-radius: 10px;
  padding: 10px 12px;
}

.nav a:hover, .nav a.active {
  background: var(--panel-soft);
  color: var(--text);
}

.content {
  width: 100%;
  min-width: 0;
  max-width: 1600px;
  padding: 28px;
}

.content h1, .content h2 {
  margin-top: 0;
}

.topline {
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  display: flex;
}

.page-heading {
  min-width: 0;
}

.page-heading h1 {
  overflow-wrap: anywhere;
}

.actions {
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  display: flex;
}

.badge, .pill {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 12px;
}

.badge {
  color: var(--success);
}

.pill {
  color: var(--muted);
}

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

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  min-width: 0;
  box-shadow: var(--shadow);
  border-radius: 16px;
  padding: 18px;
}

.card .label {
  color: var(--muted);
  font-size: 13px;
}

.card .value {
  overflow-wrap: anywhere;
  margin-top: 8px;
  font-size: 28px;
  font-weight: 800;
}

.small-value {
  font-size: 19px !important;
}

.section {
  margin-top: 22px;
}

.section-head {
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  display: flex;
}

.two-cols {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  display: grid;
}

.table-scroll {
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  overflow: auto;
}

.table {
  border-collapse: collapse;
  width: 100%;
  min-width: 620px;
}

.table th, .table td {
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
  padding: 12px;
}

.table th {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

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

.form-card {
  gap: 16px;
  display: grid;
}

.form-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
  gap: 10px;
  display: grid;
}

.form-stack {
  gap: 10px;
  display: grid;
}

input, select {
  border: 1px solid var(--line);
  background: var(--input);
  width: 100%;
  min-width: 0;
  color: var(--text);
  border-radius: 10px;
  outline: none;
  padding: 11px 12px;
}

input:focus, select:focus {
  border-color: var(--accent);
}

.primary-button, .small-button, .ghost-button, .theme-toggle {
  border: 1px solid var(--line);
  cursor: pointer;
  border-radius: 10px;
  padding: 10px 14px;
}

.primary-button {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-text);
  font-weight: 700;
}

.small-button, .ghost-button, .theme-toggle {
  background: var(--panel-soft);
  color: var(--text);
}

.theme-toggle {
  white-space: nowrap;
  justify-content: center;
  align-items: center;
  gap: 7px;
  display: inline-flex;
}

.primary-button:disabled, .small-button:disabled, .ghost-button:disabled, .theme-toggle:disabled {
  opacity: .6;
  cursor: not-allowed;
}

.status-message {
  color: var(--success);
  margin: 0;
}

.mono {
  overflow-wrap: anywhere;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
}

.module-list {
  gap: 8px;
  display: grid;
}

.module-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 14px;
  display: flex;
}

.module-item:hover {
  background: var(--panel-soft);
}

.module-item p {
  color: var(--muted);
  margin: 5px 0 0;
  font-size: 13px;
}

.login-wrap {
  place-items: center;
  min-height: 100vh;
  padding: 20px;
  display: grid;
}

.login-card {
  background: var(--panel);
  border: 1px solid var(--line);
  width: min(440px, 100%);
  box-shadow: var(--shadow);
  border-radius: 18px;
  padding: 28px;
}

.login-card h1 {
  margin: 0 0 8px;
}

.login-card label {
  color: var(--muted);
  gap: 7px;
  margin-top: 16px;
  font-size: 14px;
  display: grid;
}

.login-card button {
  border-color: var(--accent);
  background: var(--accent);
  width: 100%;
  color: var(--accent-text);
  margin-top: 18px;
  font-weight: 700;
}

.ghost-button {
  margin-top: 0;
}

.muted {
  color: var(--muted);
}

.error {
  color: var(--danger);
  font-size: 14px;
}

@media (max-width: 1050px) {
  .grid, .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    z-index: 20;
    padding: 12px 14px;
    position: sticky;
    top: 0;
    overflow: hidden;
  }

  .brand {
    margin-bottom: 10px;
  }

  .brand small {
    display: none;
  }

  .nav {
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
    gap: 6px;
    padding-bottom: 2px;
    display: flex;
    overflow-x: auto;
  }

  .nav a {
    flex: none;
    padding: 9px 11px;
  }

  .two-cols {
    grid-template-columns: 1fr;
  }

  .content {
    padding: 22px;
  }
}

@media (max-width: 560px) {
  .content {
    padding: 16px;
  }

  .grid, .form-grid {
    grid-template-columns: 1fr;
  }

  .topline {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .actions {
    justify-content: flex-start;
    width: 100%;
  }

  .actions > * {
    flex: none;
  }

  .card {
    border-radius: 14px;
    padding: 15px;
  }

  .login-wrap {
    align-items: start;
    padding: 8vh 14px 14px;
  }

  .login-card {
    border-radius: 16px;
    padding: 20px;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

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

@media (max-width: 390px) {
  .actions {
    grid-template-columns: 1fr 1fr;
    display: grid;
  }

  .badge {
    grid-column: 1 / -1;
    width: max-content;
  }

  .theme-toggle, .ghost-button {
    width: 100%;
  }
}

.mobile-header {
  display: none;
}

.menu-toggle {
  border: 1px solid var(--line);
  background: var(--panel-soft);
  width: 42px;
  height: 42px;
  color: var(--text);
  cursor: pointer;
  border-radius: 10px;
  place-items: center;
  font-size: 22px;
  line-height: 1;
  display: inline-grid;
}

.theme-toggle-compact {
  border-radius: 10px;
  width: 42px;
  height: 42px;
  padding: 0;
}

.mobile-header-main {
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  display: grid;
}

.mobile-brand {
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  font-weight: 800;
  overflow: hidden;
}

.mobile-menu {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
  border-radius: 14px;
  margin-top: 10px;
  padding: 10px;
}

.mobile-menu nav {
  gap: 6px;
  display: grid;
}

.mobile-menu nav a {
  color: var(--muted);
  border-radius: 10px;
  padding: 11px 12px;
}

.mobile-menu nav a:hover, .mobile-menu nav a.active {
  background: var(--panel-soft);
  color: var(--text);
}

.mobile-menu-footer {
  border-top: 1px solid var(--line);
  margin-top: 10px;
  padding-top: 10px;
}

.mobile-menu-footer form, .mobile-menu-footer .ghost-button {
  width: 100%;
}

@media (max-width: 900px) {
  .shell {
    display: block;
  }

  .desktop-sidebar {
    display: none;
  }

  .mobile-header {
    z-index: 30;
    border-bottom: 1px solid var(--line);
    background: var(--sidebar);
    padding: 10px 14px;
    display: block;
    position: sticky;
    top: 0;
  }

  .desktop-actions {
    display: none;
  }

  .content {
    padding-top: 18px;
  }
}

@media (max-width: 420px) {
  .mobile-header {
    padding: 9px 10px;
  }

  .mobile-brand {
    font-size: 14px;
  }
}

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