/* [next]/internal/font/google/inter_c15e96cb.module.css [app-client] (css) */
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../media/2c55a0e60120577a-s.2a48534a.woff2") format("woff2");
  unicode-range: U+460-52F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../media/9c72aa0f40e4eef8-s.18a48cbc.woff2") format("woff2");
  unicode-range: U+301, U+400-45F, U+490-491, U+4B0-4B1, U+2116;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../media/ad66f9afd8947f86-s.7a40eb73.woff2") format("woff2");
  unicode-range: U+1F??;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../media/5476f68d60460930-s.c995e352.woff2") format("woff2");
  unicode-range: U+370-377, U+37A-37F, U+384-38A, U+38C, U+38E-3A1, U+3A3-3FF;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../media/2bbe8d2671613f1f-s.76dcb0b2.woff2") format("woff2");
  unicode-range: U+102-103, U+110-111, U+128-129, U+168-169, U+1A0-1A1, U+1AF-1B0, U+300-301, U+303-304, U+308-309, U+323, U+329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../media/1bffadaabf893a1e-s.7cd81963.woff2") format("woff2");
  unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../media/83afe278b6a6bb3c-s.p.3a6ba036.woff2") format("woff2");
  unicode-range: U+??, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Inter Fallback;
  src: local(Arial);
  ascent-override: 90.44%;
  descent-override: 22.52%;
  line-gap-override: 0.0%;
  size-adjust: 107.12%;
}

.inter_c15e96cb-module__0bjUvq__className {
  font-family: Inter, Inter Fallback;
  font-style: normal;
}

.inter_c15e96cb-module__0bjUvq__variable {
  --font-inter: "Inter", "Inter Fallback";
}

/* [project]/frontend/src/app/globals.css [app-client] (css) */
@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-outline-style: solid;
    }
  }
}

@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;
    --spacing: .25rem;
    --radius-md: .375rem;
    --radius-lg: .5rem;
    --default-transition-duration: .15s;
    --default-transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    --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, 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;
    -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 {
    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 {
  .visible {
    visibility: visible;
  }

  .fixed {
    position: fixed;
  }

  .relative {
    position: relative;
  }

  .static {
    position: static;
  }

  .sticky {
    position: sticky;
  }

  .start {
    inset-inline-start: var(--spacing);
  }

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

  .block {
    display: block;
  }

  .contents {
    display: contents;
  }

  .flex {
    display: flex;
  }

  .grid {
    display: grid;
  }

  .hidden {
    display: none;
  }

  .resize {
    resize: both;
  }

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

  .border {
    border-style: var(--tw-border-style);
    border-width: 1px;
  }

  .uppercase {
    text-transform: uppercase;
  }

  .outline {
    outline-style: var(--tw-outline-style);
    outline-width: 1px;
  }

  .transition {
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
}

:root {
  --brand-red: #e11812;
  --brand-blue: #009bf6;
  --bg: #fff;
  --bg-subtle: #fafafa;
  --bg-2: #f4f4f4;
  --text: #111;
  --text-2: #444;
  --text-3: #777;
  --text-4: #aaa;
  --border: #e5e5e5;
  --border-2: #ebebeb;
  --green: #16a34a;
  --yellow: #ca8a04;
  --gray-dot: #9ca3af;
  --kpi-red: #e11812;
  --kpi-blue: #009bf6;
  --kpi-green: #16a34a;
  --kpi-amber: #ca8a04;
  --glass-bg: transparent;
  --glass-border: var(--border);
  --topbar-h: 48px;
  --nav-h: 40px;
  --bottom-h: 60px;
  --col-1: 240px;
  --col-2: 320px;
  --col-3: 300px;
  --col-4: 1fr;
  --font: var(--font-inter, "Inter"), system-ui, -apple-system, sans-serif;
  --radius: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --transition: background .3s ease, color .3s ease, border-color .3s ease, box-shadow .3s ease;
}

body.dark {
  --bg: #0a0a0a;
  --bg-subtle: #111;
  --bg-2: #1a1a1a;
  --text: #e5e5e5;
  --text-2: #b0b0b0;
  --text-3: #6b6b6b;
  --text-4: #3d3d3d;
  --border: #ffffff12;
  --border-2: #ffffff0d;
  --green: #22c55e;
  --yellow: #f59e0b;
  --gray-dot: #4b5563;
  --glass-bg: #ffffff08;
  --glass-border: #ffffff14;
}

*, :before, :after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  transition: var(--transition);
  font-size: 13px;
  line-height: 1.55;
}

a {
  color: var(--brand-blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.page {
  flex-direction: column;
  height: 100vh;
  display: flex;
  overflow: hidden;
}

.topbar {
  height: var(--topbar-h);
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  z-index: 20;
  transition: var(--transition);
  flex-shrink: 0;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  display: flex;
  position: relative;
}

.topbar-left {
  align-items: center;
  gap: 10px;
  display: flex;
}

.logo-mark {
  background: var(--brand-red);
  color: #fff;
  letter-spacing: -.5px;
  border-radius: 5px;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 26px;
  height: 26px;
  font-size: 11px;
  font-weight: 700;
  display: flex;
}

.logo-wordmark {
  letter-spacing: -.3px;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  transition: color .3s;
}

.logo-beta {
  letter-spacing: .6px;
  text-transform: uppercase;
  color: var(--text-3);
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  transition: var(--transition);
  border-radius: 3px;
  padding: 1px 5px;
  font-size: 9px;
  font-weight: 600;
}

.topbar-date {
  color: var(--text-4);
  margin-left: 4px;
  font-size: 11px;
}

.topbar-right {
  align-items: center;
  gap: 8px;
  display: flex;
}

.theme-toggle {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
  -webkit-user-select: none;
  user-select: none;
  border-radius: 20px;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  display: flex;
}

.theme-toggle:hover {
  border-color: var(--text-4);
}

.theme-icon {
  font-size: 13px;
  line-height: 1;
}

.theme-track {
  background: var(--border);
  border-radius: 10px;
  width: 28px;
  height: 15px;
  transition: background .3s;
  position: relative;
}

body.dark .theme-track {
  background: var(--brand-red);
}

.theme-thumb {
  background: #fff;
  border-radius: 50%;
  width: 11px;
  height: 11px;
  transition: transform .3s;
  position: absolute;
  top: 2px;
  left: 2px;
  box-shadow: 0 1px 3px #0003;
}

body.dark .theme-thumb {
  transform: translateX(13px);
}

.btn {
  font-family: var(--font);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
  background: none;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
}

.btn:hover {
  background: var(--bg-subtle);
}

.btn-primary {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}

.btn-primary:hover {
  opacity: .85;
}

.btn-approve {
  border-radius: var(--radius);
  color: var(--green);
  cursor: pointer;
  transition: var(--transition);
  font-size: 11px;
  font-weight: 600;
  font-family: var(--font);
  background: #16a34a14;
  border: 1px solid #16a34a66;
  padding: 5px 12px;
}

.btn-approve:hover {
  background: #16a34a26;
}

.btn-adjust {
  border-radius: var(--radius);
  color: var(--yellow);
  cursor: pointer;
  transition: var(--transition);
  font-size: 11px;
  font-weight: 600;
  font-family: var(--font);
  background: #ca8a0414;
  border: 1px solid #ca8a0466;
  padding: 5px 12px;
}

.btn-adjust:hover {
  background: #ca8a0426;
}

.nav-tabs {
  height: var(--nav-h);
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  z-index: 15;
  transition: var(--transition);
  flex-shrink: 0;
  align-items: stretch;
  gap: 0;
  padding: 0 16px;
  display: flex;
  position: relative;
}

.nav-tab {
  color: var(--text-3);
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
  font-family: var(--font);
  -webkit-user-select: none;
  user-select: none;
  white-space: nowrap;
  background: none;
  border: none;
  border-bottom: 2px solid #0000;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  transition: color .2s, border-color .2s;
  display: flex;
  position: relative;
}

.nav-tab:hover {
  color: var(--text);
}

.nav-tab.active {
  color: var(--text);
  border-bottom-color: var(--brand-red);
  font-weight: 600;
}

.tab-badge {
  background: var(--brand-red);
  color: #fff;
  letter-spacing: 0;
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  font-size: 9px;
  font-weight: 700;
  display: flex;
}

.view-container {
  flex: 1;
  min-height: 0;
  display: none;
}

.view-container.active {
  flex-direction: column;
  display: flex;
}

.columns-area {
  grid-template-columns: var(--col-1) var(--col-2) var(--col-3) var(--col-4);
  flex: 1;
  min-height: 0;
  display: grid;
  overflow: hidden;
}

.col {
  border-right: 1px solid var(--border);
  padding: 20px 16px 80px;
  transition: border-color .3s;
  overflow: hidden auto;
}

.col:last-child {
  border-right: none;
}

.col::-webkit-scrollbar {
  width: 4px;
}

.col::-webkit-scrollbar-track {
  background: none;
}

.col::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

.section-header {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  display: flex;
}

.section-title {
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--text-3);
  font-size: 10px;
  font-weight: 600;
}

.section-action {
  color: var(--brand-blue);
  font-size: 11px;
}

.section-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 18px 0;
}

.agent-avatar-wrap {
  border: 1px solid var(--border);
  background: var(--bg-subtle);
  width: 48px;
  height: 48px;
  transition: var(--transition);
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
  display: flex;
}

.agent-name {
  color: var(--text);
  margin-bottom: 2px;
  font-size: 13px;
  font-weight: 600;
}

.agent-status-row {
  align-items: center;
  gap: 5px;
  margin-bottom: 8px;
  display: flex;
}

.dot {
  border-radius: 50%;
  flex-shrink: 0;
  width: 6px;
  height: 6px;
}

.dot-green {
  background: var(--green);
}

.dot-yellow {
  background: var(--yellow);
}

.dot-gray {
  background: var(--gray-dot);
}

.dot-red {
  background: var(--brand-red);
}

.status-label-green {
  color: var(--green);
  font-size: 11px;
  font-weight: 500;
}

.agent-desc {
  color: var(--text-2);
  font-size: 12px;
  line-height: 1.5;
}

.metrics-grid {
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  display: grid;
}

.kpi-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: var(--transition);
  padding: 10px 12px;
  position: relative;
  overflow: hidden;
}

.kpi-card:before {
  content: "";
  height: 2px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.kpi-red:before {
  background: var(--kpi-red);
}

.kpi-blue:before {
  background: var(--kpi-blue);
}

.kpi-green:before {
  background: var(--kpi-green);
}

.kpi-amber:before {
  background: var(--kpi-amber);
}

body.dark .kpi-red {
  background: #e118120f;
  box-shadow: 0 0 20px #e1181214;
}

body.dark .kpi-blue {
  background: #009bf60f;
  box-shadow: 0 0 20px #009bf614;
}

body.dark .kpi-green {
  background: #16a34a0f;
  box-shadow: 0 0 20px #16a34a14;
}

body.dark .kpi-amber {
  background: #ca8a040f;
  box-shadow: 0 0 20px #ca8a0414;
}

.kpi-value {
  color: var(--text);
  letter-spacing: -.5px;
  margin-bottom: 3px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}

.kpi-label {
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: .4px;
  font-size: 10px;
}

.kpi-progress {
  background: var(--border);
  border-radius: 2px;
  height: 2px;
  margin-top: 5px;
  overflow: hidden;
}

.kpi-progress-fill {
  border-radius: 2px;
  height: 100%;
}

.doc-list {
  list-style: none;
}

.doc-item {
  border-bottom: 1px solid var(--border-2);
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  display: flex;
}

.doc-item:last-child {
  border-bottom: none;
}

.doc-name {
  color: var(--text);
  font-size: 12px;
}

.doc-meta {
  color: var(--text-4);
  white-space: nowrap;
  margin-left: 8px;
  font-size: 11px;
}

.link-item {
  border-bottom: 1px solid var(--border-2);
  color: var(--brand-blue);
  align-items: center;
  gap: 6px;
  padding: 5px 0;
  font-size: 12px;
  display: flex;
}

.link-item:last-child {
  border-bottom: none;
}

.link-item:before {
  content: "↗";
  color: var(--text-4);
  font-size: 10px;
}

.task-list {
  list-style: none;
}

.task-item {
  border-bottom: 1px solid var(--border-2);
  padding: 10px 0;
}

.task-item:last-child {
  border-bottom: none;
}

.task-item-clickable {
  cursor: pointer;
  border-radius: var(--radius);
  margin: 0 -8px;
  padding: 10px 8px;
  transition: background .15s;
}

.task-item-clickable:hover {
  background: var(--bg-2);
}

.task-item-clickable:focus-visible {
  outline: 2px solid var(--brand-blue);
  outline-offset: -2px;
}

.task-arrow {
  color: var(--brand-blue);
  opacity: 0;
  margin-left: 6px;
  font-size: 11px;
  transition: opacity .15s, transform .15s;
  display: inline-block;
  transform: translateX(-2px);
}

.task-item-clickable:hover .task-arrow {
  opacity: 1;
  transform: translateX(0);
}

.task-title {
  color: var(--text);
  margin-bottom: 2px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
}

.task-desc {
  color: var(--text-3);
  margin-bottom: 6px;
  font-size: 11px;
  line-height: 1.4;
}

.tags {
  flex-wrap: wrap;
  gap: 4px;
  display: flex;
}

.tag {
  color: var(--text-2);
  border: 1px solid var(--border);
  background: var(--bg-subtle);
  transition: var(--transition);
  border-radius: 3px;
  padding: 1px 6px;
  font-size: 10px;
  font-weight: 500;
}

.tag-red {
  color: var(--brand-red);
  background: #e118120a;
  border-color: #e1181240;
}

.tag-blue {
  color: var(--brand-blue);
  background: #009bf60a;
  border-color: #009bf640;
}

.count-chip {
  color: var(--text-4);
  background: var(--bg-2);
  border: 1px solid var(--border);
  transition: var(--transition);
  border-radius: 3px;
  margin-left: 5px;
  padding: 0 4px;
  font-size: 9px;
  font-weight: 600;
  display: inline-block;
}

.agent-row {
  border-bottom: 1px solid var(--border-2);
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  display: flex;
}

.agent-row:last-child {
  border-bottom: none;
}

.agent-row-left {
  color: var(--text);
  align-items: center;
  gap: 6px;
  font-size: 12px;
  display: flex;
}

.agent-row-right {
  color: var(--text-4);
  font-size: 11px;
}

.quick-actions {
  flex-wrap: wrap;
  gap: 6px;
  display: flex;
}

.linkedin-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-subtle);
  transition: var(--transition);
  padding: 12px;
}

.linkedin-author {
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  display: flex;
}

.avatar-initials {
  background: var(--bg-2);
  width: 30px;
  height: 30px;
  color: var(--text-2);
  border: 1px solid var(--border);
  border-radius: 50%;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  font-size: 11px;
  font-weight: 600;
  display: flex;
}

.linkedin-author-name {
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
}

.linkedin-author-role {
  color: var(--text-3);
  font-size: 10px;
}

.linkedin-post-text {
  color: var(--text-2);
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  font-size: 12px;
  line-height: 1.5;
  display: -webkit-box;
  overflow: hidden;
}

.linkedin-footer {
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  display: flex;
}

.badge-pending {
  letter-spacing: .3px;
  text-transform: uppercase;
  color: var(--yellow);
  background: #ca8a040f;
  border: 1px solid #ca8a0466;
  border-radius: 3px;
  padding: 2px 6px;
  font-size: 9px;
  font-weight: 700;
}

.email-list {
  list-style: none;
}

.email-item {
  border-bottom: 1px solid var(--border-2);
  align-items: flex-start;
  gap: 6px;
  padding: 6px 0;
  display: flex;
}

.email-item:last-child {
  border-bottom: none;
}

.email-arrow {
  color: var(--text-4);
  flex-shrink: 0;
  margin-top: 1px;
  font-size: 11px;
}

.email-subject {
  color: var(--text);
  flex: 1;
  font-size: 12px;
  line-height: 1.4;
}

.email-time {
  color: var(--text-4);
  white-space: nowrap;
  margin-left: 6px;
  font-size: 11px;
}

.email-stats {
  color: var(--text-3);
  margin-top: 8px;
  font-size: 11px;
}

.day-section {
  margin-bottom: 20px;
}

.day-heading {
  align-items: center;
  gap: 7px;
  margin-bottom: 8px;
  display: flex;
}

.day-label {
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--text);
  font-size: 11px;
  font-weight: 700;
}

.new-badge {
  letter-spacing: .5px;
  text-transform: uppercase;
  background: var(--brand-red);
  color: #fff;
  border-radius: 2px;
  padding: 1px 5px;
  font-size: 8px;
  font-weight: 700;
}

.day-date {
  color: var(--text-4);
  margin-left: auto;
  font-size: 11px;
}

.log-block {
  border-bottom: 1px solid var(--border-2);
  padding: 9px 0;
}

.log-block:last-child {
  border-bottom: none;
}

.log-block-title {
  color: var(--text);
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 500;
}

.log-checklist {
  margin-top: 4px;
  list-style: none;
}

.log-checklist li {
  color: var(--text-2);
  gap: 6px;
  padding: 2px 0;
  font-size: 12px;
  display: flex;
}

.check-done {
  color: var(--green);
  flex-shrink: 0;
}

.check-open {
  color: var(--text-4);
  flex-shrink: 0;
}

.log-note {
  color: var(--text-3);
  font-size: 11px;
  line-height: 1.5;
}

.agents-view {
  background: var(--bg);
  transition: var(--transition);
  flex: 1;
  padding: 32px 40px 80px;
  overflow-y: auto;
}

.agents-view::-webkit-scrollbar {
  width: 4px;
}

.agents-view::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

.org-chart {
  width: 100%;
  max-width: 900px;
  margin: 0 auto 40px;
  position: relative;
}

#org-svg {
  pointer-events: none;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  overflow: visible;
}

.org-row {
  z-index: 2;
  justify-content: center;
  gap: 20px;
  margin-bottom: 0;
  display: flex;
  position: relative;
}

.org-gap {
  height: 48px;
}

.org-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-subtle);
  cursor: pointer;
  width: 160px;
  padding: 14px 16px;
  transition: border-color .2s, transform .2s, box-shadow .2s, background .2s;
  position: relative;
}

.org-card:hover {
  border-color: var(--brand-blue);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px #009bf61f;
}

.org-card.orchestrator {
  border-color: #e1181259;
}

body.dark .org-card.orchestrator {
  background: #e118120f;
  box-shadow: 0 0 30px #e118121a;
}

.org-card.orchestrator:hover {
  border-color: var(--brand-red);
  box-shadow: 0 4px 20px #e118122e;
}

.org-card.orchestrator:before {
  content: "";
  background: var(--brand-red);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  height: 2px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.org-card-icon {
  margin-bottom: 8px;
  font-size: 20px;
}

.org-card-title {
  color: var(--text);
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
}

.org-card-status {
  color: var(--text-3);
  align-items: center;
  gap: 5px;
  margin-bottom: 4px;
  font-size: 11px;
  display: flex;
}

.status-dot {
  border-radius: 50%;
  flex-shrink: 0;
  width: 6px;
  height: 6px;
}

.status-dot.live {
  background: var(--green);
  animation: 2s infinite pulse-green;
  box-shadow: 0 0 5px #22c55e99;
}

.status-dot.idle {
  background: var(--yellow);
}

.status-dot.offline {
  background: var(--gray-dot);
}

@keyframes pulse-green {
  0%, 100% {
    opacity: 1;
  }

  50% {
    opacity: .5;
  }
}

.org-card-last {
  color: var(--text-4);
  font-size: 10px;
  line-height: 1.4;
}

.agent-detail-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-subtle);
  max-width: 900px;
  transition: var(--transition);
  margin: 0 auto;
  padding: 20px 24px;
  display: none;
}

.agent-detail-panel.visible {
  display: block;
}

.detail-header {
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  display: flex;
}

.detail-icon {
  font-size: 28px;
}

.detail-name {
  color: var(--text);
  font-size: 16px;
  font-weight: 700;
}

.detail-role {
  color: var(--text-3);
  margin-top: 2px;
  font-size: 12px;
}

.detail-body {
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  display: grid;
}

.detail-section-title {
  letter-spacing: .6px;
  text-transform: uppercase;
  color: var(--text-4);
  margin-bottom: 6px;
  font-size: 10px;
  font-weight: 600;
}

.detail-value {
  color: var(--text-2);
  font-size: 12px;
  line-height: 1.5;
}

.aprovacoes-view {
  background: var(--bg);
  transition: var(--transition);
  flex: 1;
  padding: 28px 40px 80px;
  overflow-y: auto;
}

.aprovacoes-view::-webkit-scrollbar {
  width: 4px;
}

.aprovacoes-view::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

.aprovacoes-header {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  display: flex;
}

.aprovacoes-title {
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
}

.aprovacoes-subtitle {
  color: var(--text-3);
  margin-top: 2px;
  font-size: 12px;
}

.approval-list {
  flex-direction: column;
  gap: 12px;
  display: flex;
}

.approval-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
  cursor: pointer;
  grid-template-columns: 1fr auto;
  gap: 16px;
  padding: 18px 20px;
  transition: border-color .2s, background .2s;
  display: grid;
}

.approval-item:hover {
  border-color: var(--brand-blue);
  background: var(--bg-2);
}

.approval-title {
  color: var(--text);
  margin-bottom: 5px;
  font-size: 14px;
  font-weight: 600;
}

.approval-preview {
  color: var(--text-3);
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin-bottom: 10px;
  font-size: 12px;
  line-height: 1.5;
  display: -webkit-box;
  overflow: hidden;
}

.approval-meta {
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  display: flex;
}

.pill {
  letter-spacing: .2px;
  border-radius: 10px;
  padding: 2px 7px;
  font-size: 10px;
  font-weight: 600;
}

.pill-linkedin {
  color: #3b82f6;
  background: #0a66c21f;
  border: 1px solid #0a66c240;
}

.pill-instagram {
  color: #ec4899;
  background: #e1306c1a;
  border: 1px solid #e1306c40;
}

.pill-compliance {
  color: var(--brand-red);
  background: #e1181214;
  border: 1px solid #e1181233;
}

.pill-tech {
  color: var(--brand-blue);
  background: #009bf614;
  border: 1px solid #009bf633;
}

.pill-human {
  color: var(--green);
  background: #16a34a14;
  border: 1px solid #16a34a33;
}

.pill-rh {
  color: #8b5cf6;
  background: #8b5cf614;
  border: 1px solid #8b5cf633;
}

.approval-date {
  color: var(--text-4);
  font-size: 11px;
}

.approval-actions {
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  display: flex;
}

.modal-overlay {
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  z-index: 100;
  background: #00000080;
  justify-content: center;
  align-items: center;
  padding: 24px;
  display: none;
  position: fixed;
  inset: 0;
}

.modal-overlay.open {
  display: flex;
}

.modal {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 560px;
  max-height: 80vh;
  transition: var(--transition);
  flex-direction: column;
  animation: .2s cubic-bezier(.34, 1.56, .64, 1) modal-in;
  display: flex;
  overflow-y: auto;
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: scale(.95)translateY(8px);
  }

  to {
    opacity: 1;
    transform: scale(1)translateY(0);
  }
}

.modal-head {
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
  gap: 12px;
  padding: 18px 20px 14px;
  display: flex;
}

.modal-title {
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
}

.modal-sub {
  color: var(--text-3);
  margin-top: 2px;
  font-size: 12px;
}

.modal-close {
  border: 1px solid var(--border);
  background: var(--bg-2);
  width: 28px;
  height: 28px;
  color: var(--text-2);
  cursor: pointer;
  border-radius: 50%;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  margin-left: auto;
  font-size: 14px;
  transition: background .15s;
  display: flex;
}

.modal-close:hover {
  background: var(--border);
}

.modal-body {
  flex: 1;
  padding: 18px 20px;
}

.modal-body p {
  color: var(--text-2);
  white-space: pre-line;
  font-size: 13px;
  line-height: 1.7;
}

.modal-footer {
  border-top: 1px solid var(--border);
  justify-content: flex-end;
  gap: 8px;
  padding: 14px 20px;
  display: flex;
}

.bottom-bar {
  height: var(--bottom-h);
  border-top: 1px solid var(--border);
  background: var(--bg);
  z-index: 30;
  transition: var(--transition);
  flex-shrink: 0;
  align-items: center;
  gap: 10px;
  padding: 0 20px;
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
}

.chat-agent-chip {
  color: var(--text-3);
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  white-space: nowrap;
  transition: var(--transition);
  border-radius: 12px;
  flex-shrink: 0;
  padding: 3px 9px;
  font-size: 11px;
  font-weight: 600;
}

.chat-input-wrap {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-subtle);
  transition: border-color .2s, var(--transition);
  flex: 1;
  align-items: center;
  display: flex;
  overflow: hidden;
}

.chat-input-wrap:focus-within {
  border-color: var(--brand-blue);
}

.chat-input {
  font-family: var(--font);
  color: var(--text);
  resize: none;
  background: none;
  border: none;
  outline: none;
  flex: 1;
  min-height: 36px;
  max-height: 36px;
  padding: 6px 12px;
  font-size: 13px;
  line-height: 1.5;
  transition: color .3s;
  overflow: hidden;
}

.chat-input::placeholder {
  color: var(--text-4);
}

.chat-send-btn {
  background: var(--text);
  height: 36px;
  color: var(--bg);
  font-family: var(--font);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  flex-shrink: 0;
  align-items: center;
  gap: 5px;
  padding: 0 14px;
  font-size: 12px;
  font-weight: 500;
  display: flex;
}

.chat-send-btn:hover {
  opacity: .85;
}

.chat-hint {
  color: var(--text-4);
  white-space: nowrap;
  flex-shrink: 0;
  font-size: 11px;
}

.chat-response {
  bottom: calc(var(--bottom-h)  + 12px);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  width: calc(100% - 40px);
  max-width: 480px;
  color: var(--text-2);
  z-index: 29;
  padding: 12px 16px;
  font-size: 12px;
  line-height: 1.5;
  animation: .2s slide-up;
  display: none;
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 4px 20px #0000001a;
}

@keyframes slide-up {
  from {
    opacity: 0;
    transform: translateX(-50%)translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateX(-50%)translateY(0);
  }
}

.chat-response.visible {
  display: block;
}

.chat-response-header {
  color: var(--text);
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 600;
  display: flex;
}

.chat-response-close {
  cursor: pointer;
  color: var(--text-4);
  margin-left: auto;
  font-size: 14px;
}

.chat-curtain {
  bottom: var(--bottom-h);
  background: var(--bg);
  border-top: 1px solid var(--border);
  z-index: 100;
  flex-direction: column;
  height: 50vh;
  animation: .25s ease-out curtain-slide-up;
  display: flex;
  position: fixed;
  left: 0;
  right: 0;
}

@keyframes curtain-slide-up {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.chat-curtain-header {
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  display: flex;
}

.chat-curtain-header-left {
  align-items: center;
  gap: 8px;
  display: flex;
}

.chat-curtain-title {
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
}

.chat-curtain-status {
  color: var(--text-3);
  font-size: 11px;
}

.chat-curtain-close {
  color: var(--text-3);
  cursor: pointer;
  background: none;
  border: none;
  border-radius: 4px;
  padding: 4px 10px;
  font-size: 16px;
  transition: background .15s;
}

.chat-curtain-close:hover {
  background: var(--border);
  color: var(--text);
}

.chat-curtain-messages {
  flex-direction: column;
  flex: 1;
  gap: 8px;
  width: 100%;
  max-width: 100%;
  padding: 16px 50px;
  display: flex;
  overflow-y: auto;
}

.chat-curtain-input-area {
  border-top: 1px solid var(--border);
  flex-shrink: 0;
  align-items: flex-end;
  gap: 8px;
  width: 100%;
  max-width: 100%;
  padding: 10px 50px;
  display: flex;
}

.chat-curtain-input {
  border: 1px solid var(--border);
  font-size: 13px;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  resize: none;
  field-sizing: content;
  border-radius: 8px;
  flex: 1;
  min-height: 40px;
  max-height: 150px;
  padding: 10px 14px;
  line-height: 1.5;
  transition: border-color .15s;
  overflow-y: auto;
}

.chat-curtain-input:focus {
  border-color: var(--brand-blue);
  outline: none;
}

.chat-curtain-input-area .chat-send-btn {
  padding: 10px 18px;
  font-size: 13px;
}

.chat-empty-state {
  text-align: center;
  color: var(--text-3);
  flex-direction: column;
  flex: 1;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 32px 16px;
  font-size: 12px;
  display: flex;
}

.chat-message {
  word-wrap: break-word;
  border-radius: 10px;
  max-width: 85%;
  padding: 8px 12px;
  font-size: 12.5px;
  line-height: 1.5;
}

.chat-message-user {
  background: var(--brand-blue);
  color: #fff;
  border-bottom-right-radius: 3px;
  align-self: flex-end;
}

.chat-message-agent {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text);
  border-bottom-left-radius: 3px;
  align-self: flex-start;
}

.chat-message-header {
  align-items: center;
  gap: 8px;
  margin-bottom: 3px;
  display: flex;
}

.chat-message-sender {
  text-transform: uppercase;
  letter-spacing: .3px;
  opacity: .7;
  font-size: 10px;
  font-weight: 600;
}

.chat-message-user .chat-message-sender {
  color: #fffc;
}

.chat-message-user .chat-message-time {
  color: #fff9;
}

.chat-message-time {
  opacity: .5;
  font-size: 10px;
}

.chat-message-text {
  white-space: pre-wrap;
}

.chat-dot-connected, .chat-dot-disconnected {
  border-radius: 50%;
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-right: 6px;
  display: inline-block;
}

.chat-dot-connected {
  background-color: #22c55e;
}

.chat-dot-disconnected {
  background-color: #ef4444;
}

.chat-preview-area {
  cursor: pointer;
  flex-direction: column;
  flex: 1;
  gap: 2px;
  min-width: 0;
  padding: 2px 12px;
  display: flex;
  overflow: hidden;
}

.chat-preview-msg {
  white-space: nowrap;
  text-overflow: ellipsis;
  align-items: baseline;
  gap: 6px;
  font-size: 11px;
  line-height: 1.4;
  display: flex;
  overflow: hidden;
}

.chat-preview-sender {
  text-transform: uppercase;
  letter-spacing: .3px;
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 600;
}

.chat-preview-sender.user {
  color: var(--brand-blue);
}

.chat-preview-sender.agent {
  color: var(--brand-red);
}

.chat-preview-text {
  color: var(--text-2);
  text-overflow: ellipsis;
  overflow: hidden;
}

.chat-preview-time {
  color: var(--text-4);
  flex-shrink: 0;
  margin-left: auto;
  font-size: 10px;
}

.chat-typing-dots {
  gap: 4px;
  padding: 4px 0;
  display: flex;
}

.typing-dot {
  background: var(--text-3);
  border-radius: 50%;
  width: 6px;
  height: 6px;
  animation: 1.2s ease-in-out infinite typing-bounce;
}

.typing-dot:nth-child(2) {
  animation-delay: .2s;
}

.typing-dot:nth-child(3) {
  animation-delay: .4s;
}

@keyframes typing-bounce {
  0%, 60%, 100% {
    opacity: .4;
    transform: translateY(0);
  }

  30% {
    opacity: 1;
    transform: translateY(-4px);
  }
}

.chat-panel-input-area {
  border-top: 1px solid var(--border);
  flex-shrink: 0;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  display: flex;
}

.chat-panel-input-area .chat-input {
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  border-radius: 6px;
  flex: 1;
  padding: 8px 10px;
  font-size: 12.5px;
  transition: border-color .15s;
}

.chat-panel-input-area .chat-input:focus {
  border-color: var(--brand-blue);
  outline: none;
}

.chat-panel-input-area .chat-send-btn {
  padding: 8px 14px;
  font-size: 12px;
}

@media (max-width: 500px) {
  .chat-panel {
    border-radius: 12px 12px 0 0;
    width: auto;
    left: 0;
    right: 0;
  }
}

.rule {
  border: none;
  border-top: 1px solid var(--border);
  margin: 12px 0;
}

@media (max-width: 960px) {
  .columns-area {
    grid-template-columns: 1fr;
    overflow-y: auto;
  }

  .col {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding-bottom: 20px;
    overflow-y: visible;
  }

  .org-card {
    width: 140px;
  }

  .detail-body, .approval-item {
    grid-template-columns: 1fr;
  }

  .bp-panel {
    width: 100% !important;
    max-width: 100% !important;
  }
}

.bp-overlay {
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  background: #00000059;
  transition: opacity .25s;
  position: fixed;
  inset: 0;
}

.bp-overlay-open {
  opacity: 1;
  pointer-events: auto;
}

.bp-panel {
  background: var(--bg);
  border-left: 1px solid var(--border);
  z-index: 100;
  flex-direction: column;
  width: 560px;
  max-width: 90vw;
  transition: transform .3s cubic-bezier(.4, 0, .2, 1);
  display: flex;
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  transform: translateX(100%);
  box-shadow: -8px 0 32px #00000014;
}

.bp-panel-open {
  transform: translateX(0);
}

.bp-header {
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  display: flex;
}

.bp-header-left {
  align-items: center;
  gap: 10px;
  display: flex;
}

.bp-status-badge {
  text-transform: uppercase;
  letter-spacing: .5px;
  border-radius: var(--radius);
  color: var(--green);
  background: #16a34a1a;
  border: 1px solid #16a34a40;
  padding: 3px 8px;
  font-size: 10px;
  font-weight: 600;
}

.bp-date {
  color: var(--text-3);
  font-size: 12px;
}

.bp-body {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
}

.bp-loading {
  color: var(--text-3);
  text-align: center;
  padding: 40px 0;
  font-size: 13px;
}

.bp-error {
  text-align: center;
  color: #ef4444;
  padding: 32px 16px;
}

.bp-error p {
  margin-bottom: 12px;
  font-size: 13px;
}

.bp-tags {
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 16px;
  display: flex;
}

.bp-content {
  color: var(--text-2);
  font-size: 13px;
  line-height: 1.75;
}

.bp-content .bp-h2 {
  color: var(--text);
  margin: 20px 0 8px;
  font-size: 16px;
  font-weight: 700;
}

.bp-content .bp-h2:first-child {
  margin-top: 0;
}

.bp-content .bp-h3 {
  color: var(--text);
  margin: 16px 0 6px;
  font-size: 14px;
  font-weight: 600;
}

.bp-content .bp-p {
  margin: 4px 0;
}

.bp-content .bp-li {
  margin: 4px 0;
  padding-left: 16px;
  list-style: none;
  position: relative;
}

.bp-content .bp-li:before {
  content: "•";
  color: var(--brand-blue);
  font-weight: 700;
  position: absolute;
  left: 0;
}

.bp-content .bp-link {
  color: var(--brand-blue);
  word-break: break-all;
  text-decoration: none;
}

.bp-content .bp-link:hover {
  text-decoration: underline;
}

.bp-footer {
  border-top: 1px solid var(--border);
  flex-shrink: 0;
  justify-content: flex-end;
  gap: 8px;
  padding: 14px 20px;
  display: flex;
}

.bp-btn-secondary {
  border: 1px solid var(--border) !important;
  background: var(--bg-2) !important;
  color: var(--text-2) !important;
}

.bp-btn-secondary:hover {
  background: var(--border) !important;
}

.design-toggle {
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
  gap: 0;
  padding: 0 24px;
  display: flex;
}

.design-toggle button {
  color: var(--text-3);
  cursor: pointer;
  background: none;
  border: none;
  border-bottom: 2px solid #0000;
  padding: 10px 20px;
  font-size: 14px;
  transition: all .15s;
}

.design-toggle button.active {
  color: var(--brand-red);
  border-bottom-color: var(--brand-red);
  font-weight: 600;
}

.design-studio {
  flex-direction: column;
  flex: 1;
  gap: 16px;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 24px;
  display: flex;
  overflow-y: auto;
}

.design-format-bar {
  gap: 8px;
  display: flex;
}

.design-format-btn {
  border: 1px solid var(--border);
  background: var(--bg-2);
  color: var(--text-2);
  cursor: pointer;
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 13px;
  transition: all .15s;
}

.design-format-btn.active {
  background: var(--brand-red);
  color: #fff;
  border-color: var(--brand-red);
}

.design-categories {
  flex-wrap: wrap;
  gap: 6px;
  display: flex;
}

.design-cat-btn {
  border: 1px solid var(--border);
  color: var(--text-3);
  cursor: pointer;
  background: none;
  border-radius: 14px;
  padding: 4px 12px;
  font-size: 12px;
  transition: all .15s;
}

.design-cat-btn.active {
  background: var(--bg-subtle);
  color: var(--text);
  border-color: var(--text-3);
  font-weight: 500;
}

.design-templates {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
  display: grid;
}

.design-template-card {
  border: 1px solid var(--border);
  background: var(--bg-2);
  cursor: pointer;
  text-align: left;
  border-radius: 10px;
  flex-direction: column;
  gap: 4px;
  padding: 12px;
  transition: all .15s;
  display: flex;
}

.design-template-card:hover {
  border-color: var(--brand-red);
  background: var(--bg-subtle);
}

.design-template-card.selected {
  border-color: var(--brand-red);
  background: var(--brand-red);
}

@supports (color: color-mix(in lab, red, red)) {
  .design-template-card.selected {
    background: color-mix(in srgb, var(--brand-red) 8%, var(--bg-2));
  }
}

.design-template-card.selected {
  box-shadow: 0 0 0 1px var(--brand-red);
}

.design-template-card strong {
  color: var(--text);
  font-size: 13px;
}

.design-template-card span {
  color: var(--text-3);
  font-size: 12px;
  line-height: 1.3;
}

.design-prompt-area {
  flex-direction: column;
  gap: 8px;
  display: flex;
}

.design-template-badge {
  background: var(--brand-red);
  border-radius: 14px;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  display: inline-flex;
}

@supports (color: color-mix(in lab, red, red)) {
  .design-template-badge {
    background: color-mix(in srgb, var(--brand-red) 10%, var(--bg-2));
  }
}

.design-template-badge {
  color: var(--brand-red);
  width: fit-content;
  font-size: 12px;
}

.design-template-badge button {
  color: var(--brand-red);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0 2px;
  font-size: 14px;
  line-height: 1;
}

.design-prompt-input {
  border: 1px solid var(--border);
  background: var(--bg-2);
  width: 100%;
  color: var(--text);
  resize: vertical;
  border-radius: 12px;
  min-height: 80px;
  padding: 14px;
  font-family: inherit;
  font-size: 14px;
  transition: border-color .15s;
}

.design-prompt-input:focus {
  border-color: var(--brand-red);
  outline: none;
}

.design-prompt-input::placeholder {
  color: var(--text-4);
}

.design-generate-btn {
  background: var(--brand-red);
  color: #fff;
  cursor: pointer;
  border: none;
  border-radius: 10px;
  align-self: flex-end;
  padding: 10px 28px;
  font-size: 14px;
  font-weight: 600;
  transition: opacity .15s;
}

.design-generate-btn:hover:not(:disabled) {
  opacity: .9;
}

.design-generate-btn:disabled {
  opacity: .4;
  cursor: not-allowed;
}

.design-error {
  background: #dc3545;
  border-radius: 8px;
  padding: 12px;
}

@supports (color: color-mix(in lab, red, red)) {
  .design-error {
    background: color-mix(in srgb, #dc3545 10%, var(--bg-2));
  }
}

.design-error {
  color: #dc3545;
  font-size: 13px;
}

.design-loading {
  color: var(--text-3);
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 40px;
  font-size: 14px;
  display: flex;
}

.design-spinner {
  border: 3px solid var(--border);
  border-top-color: var(--brand-red);
  border-radius: 50%;
  width: 24px;
  height: 24px;
  animation: .8s linear infinite spin;
}

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

.design-preview {
  flex-direction: column;
  align-items: center;
  gap: 12px;
  display: flex;
}

.design-preview img {
  border: 1px solid var(--border);
  cursor: pointer;
  border-radius: 12px;
  max-width: 100%;
  max-height: 500px;
  transition: transform .15s;
}

.design-preview img:hover {
  transform: scale(1.01);
}

.design-preview-actions {
  gap: 8px;
  display: flex;
}

.design-download-btn {
  background: var(--bg-2);
  border: 1px solid var(--border);
  color: var(--text);
  cursor: pointer;
  border-radius: 8px;
  padding: 8px 20px;
  font-size: 13px;
  text-decoration: none;
  transition: background .15s;
}

.design-download-btn:hover {
  background: var(--border);
}

.design-library {
  flex: 1;
  padding: 24px;
  overflow-y: auto;
}

.design-empty {
  text-align: center;
  color: var(--text-4);
  padding: 60px 20px;
  font-size: 14px;
}

.design-grid {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  display: grid;
}

.design-grid-item {
  border: 1px solid var(--border);
  background: var(--bg-2);
  border-radius: 12px;
  transition: border-color .15s;
  position: relative;
  overflow: hidden;
}

.design-grid-item:hover {
  border-color: var(--brand-red);
}

.design-grid-item img {
  aspect-ratio: 1200 / 627;
  object-fit: cover;
  cursor: pointer;
  width: 100%;
  display: block;
}

.design-grid-meta {
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  display: flex;
}

.design-grid-prompt {
  color: var(--text-2);
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 12px;
  overflow: hidden;
}

.design-grid-info {
  color: var(--text-4);
  font-size: 11px;
}

.design-grid-download {
  color: #fff;
  opacity: 0;
  background: #0009;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 11px;
  text-decoration: none;
  transition: opacity .15s;
  position: absolute;
  top: 8px;
  right: 8px;
}

.design-grid-item:hover .design-grid-download {
  opacity: 1;
}

.design-lightbox {
  z-index: 9999;
  cursor: pointer;
  background: #000000d9;
  justify-content: center;
  align-items: center;
  padding: 20px;
  display: flex;
  position: fixed;
  inset: 0;
}

.design-lightbox img {
  object-fit: contain;
  border-radius: 8px;
  max-width: 95vw;
  max-height: 95vh;
}

@property --tw-border-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}

@property --tw-outline-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}

/*# sourceMappingURL=%5Broot-of-the-server%5D__e6badca5._.css.map*/