/* [project]/app/styles.css [app-client] (css) */
* {
  box-sizing: border-box;
}

body {
  color: #172026;
  background: #f5f7f8;
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
}

button, select, input, textarea {
  font: inherit;
}

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

.topbar {
  background: #fff;
  border-bottom: 1px solid #dce3e6;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px 32px;
  display: flex;
}

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

.topbar h1 {
  margin: 0 0 6px;
  font-size: 24px;
}

.topbar p {
  color: #5d6970;
  margin: 0;
}

.brandLogo {
  object-fit: contain;
  height: auto;
  display: block;
}

.brandLogoTop {
  margin-bottom: 10px;
}

.workspace {
  flex: 1;
  grid-template-columns: 420px minmax(0, 1fr);
  min-height: 0;
  display: grid;
  overflow: hidden;
}

.leadList {
  background: #fff;
  border-right: 1px solid #dce3e6;
  flex-direction: column;
  min-height: 0;
  display: flex;
  overflow: hidden;
}

.filters {
  border-bottom: 1px solid #e7ecef;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
  padding: 16px;
  display: flex;
}

.searchFilter {
  flex: 320px;
  align-items: center;
  gap: 8px;
  min-width: 0;
  display: flex;
}

.searchFilter input {
  flex: auto;
  min-width: 180px;
}

.searchFilter button {
  white-space: nowrap;
  flex: none;
}

.filters select {
  flex: 0 0 180px;
  min-width: 180px;
}

select, input, textarea {
  background: #fff;
  border: 1px solid #cfd8dc;
  border-radius: 6px;
  width: 100%;
  padding: 10px 12px;
}

textarea {
  resize: vertical;
  min-height: 96px;
}

.manualLeadForm {
  background: #fbfdfd;
  border-bottom: 1px solid #e7ecef;
  gap: 10px;
  padding: 16px;
  display: grid;
}

.manualLeadForm h3 {
  margin: 0;
  font-size: 17px;
}

.bulkActions {
  color: #64727a;
  border-bottom: 1px solid #e7ecef;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  font-size: 14px;
  display: flex;
}

.items {
  flex-direction: column;
  flex: 1;
  min-height: 0;
  display: flex;
  overflow-y: auto;
}

.leadRow {
  text-align: left;
  width: 100%;
  color: inherit;
  cursor: pointer;
  background: #fff;
  border: 0;
  border-bottom: 1px solid #edf1f3;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  padding: 14px 16px;
  display: grid;
}

.leadRow:hover, .leadRow.active {
  background: #eef6f4;
}

.leadCheckbox {
  align-items: center;
  padding-top: 2px;
  display: flex;
}

.leadCheckbox input {
  cursor: pointer;
  width: 18px;
  height: 18px;
  padding: 0;
}

.leadRowMain {
  min-width: 0;
  color: inherit;
  text-align: left;
  cursor: pointer;
  background: none;
  border: 0;
  gap: 6px;
  padding: 0;
  display: grid;
}

.leadRowMain strong, .leadRowMain span:last-child {
  overflow-wrap: anywhere;
}

.leadRow small, .leadRow span:last-child {
  color: #64727a;
}

.detail {
  min-height: 0;
  padding: 24px;
  overflow-y: auto;
}

.detailHeader {
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 20px;
  display: flex;
}

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

.detailHeader h2 {
  margin: 8px 0 6px;
  font-size: 28px;
}

.detailHeader p {
  color: #64727a;
  margin: 0;
}

.primary, .linkButton, .secondary, .danger, .commentForm button, .statusButtons button {
  color: #fff;
  cursor: pointer;
  background: #1f6f64;
  border: 1px solid #1f6f64;
  border-radius: 6px;
  padding: 10px 14px;
}

.primary:disabled, .secondary:disabled, .danger:disabled {
  cursor: default;
  opacity: .65;
}

.secondary {
  color: #1f6f64;
  background: #fff;
}

.danger {
  color: #fff;
  background: #b91c1c;
  border-color: #b91c1c;
}

.linkButton {
  justify-content: center;
  align-items: center;
  text-decoration: none;
  display: inline-flex;
}

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

.info, .panel {
  background: #fff;
  border: 1px solid #dce3e6;
  border-radius: 8px;
  padding: 16px;
}

.info span {
  color: #64727a;
  margin-bottom: 6px;
  font-size: 13px;
  display: block;
}

.info strong {
  overflow-wrap: anywhere;
}

.panel {
  margin-bottom: 16px;
}

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

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

.statusButtons button {
  color: #1f6f64;
  background: #fff;
}

.statusButtons button.selected {
  color: #fff;
  background: #1f6f64;
}

.badge {
  color: #fff;
  background: #66727a;
  border-radius: 999px;
  width: fit-content;
  padding: 4px 8px;
  font-size: 12px;
}

.badge.new {
  background: #c2410c;
}

.badge.taken, .badge.waiting_client, .badge.proposal_sent {
  background: #2563eb;
}

.badge.booked, .badge.success {
  background: #15803d;
}

.badge.duplicate, .badge.non_target, .badge.rejected {
  background: #6b7280;
}

.commentForm {
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-bottom: 12px;
  display: grid;
}

.comments p {
  border-top: 1px solid #edf1f3;
  margin: 0;
  padding: 10px 0;
}

pre {
  white-space: pre-wrap;
  background: #f5f7f8;
  border: 1px solid #e2e8eb;
  border-radius: 6px;
  max-height: 260px;
  padding: 12px;
  overflow: auto;
}

.error {
  color: #8a1f11;
  background: #fee7e0;
  border: 1px solid #f3b8a8;
  border-radius: 8px;
  margin: 16px 24px 0;
  padding: 12px;
}

.success {
  color: #14532d;
  background: #dcfce7;
  border: 1px solid #86efac;
  border-radius: 8px;
  margin: 16px 0 0;
  padding: 12px;
}

.settingsShell {
  max-width: 1120px;
  padding: 24px 32px;
}

.tokenRow {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  display: grid;
}

.hint {
  color: #64727a;
  margin: 10px 0 0;
  font-size: 13px;
}

.settingsGrid {
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 16px;
  margin-top: 16px;
  display: grid;
}

.settingsNav {
  flex-direction: column;
  gap: 8px;
  display: flex;
}

.settingsNav button {
  text-align: left;
  cursor: pointer;
  background: #fff;
  border: 1px solid #dce3e6;
  border-radius: 6px;
  padding: 12px;
}

.settingsNav button.active {
  color: #fff;
  background: #1f6f64;
  border-color: #1f6f64;
}

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

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

.settingsHeader h2 {
  margin: 0;
  font-size: 22px;
}

.settingsFields {
  gap: 14px;
  display: grid;
}

.field span {
  color: #344249;
  margin-bottom: 6px;
  font-weight: 700;
  display: block;
}

.field small {
  color: #64727a;
  font-weight: 400;
}

.empty {
  color: #64727a;
}

@media (max-width: 920px) {
  .shell {
    height: auto;
    overflow: visible;
  }

  .topbar, .detailHeader, .detailActions {
    flex-direction: column;
    align-items: stretch;
  }

  .workspace {
    grid-template-columns: 1fr;
    min-height: auto;
    overflow: visible;
  }

  .settingsShell {
    padding: 16px;
  }

  .settingsGrid, .tokenRow, .settingsActions {
    grid-template-columns: 1fr;
  }

  .settingsActions {
    flex-direction: column;
    align-items: stretch;
  }

  .leadList {
    border-bottom: 1px solid #dce3e6;
    border-right: 0;
    overflow: visible;
  }

  .items, .detail {
    overflow: visible;
  }

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

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

  .topSearch {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    min-width: 0;
  }

  .topSearch input {
    min-width: 0;
  }

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

  .searchFilter, .filters select {
    flex: 100%;
    min-width: 0;
  }
}

.authShell {
  place-items: center;
  min-height: 100vh;
  padding: 24px;
  display: grid;
}

.authLoadingCard {
  color: #44515f;
  background: #fff;
  border: 1px solid #dce3e6;
  border-radius: 14px;
  padding: 18px 22px;
  box-shadow: 0 16px 40px #0f172a14;
}

.reportsShell {
  background: radial-gradient(circle at top, #f9fbfc 0, #f5f7f8 52%, #eef2f3 100%);
  min-height: 100vh;
  padding: 24px;
}

.reportsTopbar {
  background: #ffffffeb;
  border: 1px solid #dde4e7;
  border-radius: 18px;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  max-width: 1440px;
  margin: 0 auto 18px;
  padding: 22px 24px;
  display: flex;
  box-shadow: 0 16px 40px #0f172a0f;
}

.reportsTopbar h1 {
  margin: 4px 0 6px;
  font-size: 30px;
}

.reportsTopbar p {
  color: #5d6970;
  max-width: 980px;
  margin: 0;
}

.reportsContent {
  gap: 18px;
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
}

.reportsTabs {
  background: #eef2f4;
  border-radius: 14px;
  gap: 8px;
  padding: 6px;
  display: inline-flex;
}

.reportsTab {
  color: #4b5965;
  background: none;
  border-radius: 10px;
  justify-content: center;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  text-decoration: none;
  transition: background-color .15s, color .15s, box-shadow .15s;
  display: inline-flex;
}

.reportsTab.active {
  color: #173a35;
  background: #fff;
  box-shadow: 0 1px 4px #0f172a14;
}

.reportsBanner {
  align-items: center;
  gap: 12px;
  margin: 0;
  display: flex;
}

.reportsBanner button {
  margin-left: auto;
}

.reportsSectionTitle {
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
  display: flex;
}

.reportsSectionTitle h3 {
  margin: 0;
  font-size: 18px;
}

.reportsSectionTitle p {
  color: #64727a;
  margin: 4px 0 0;
}

.reportsPanel, .reportsCard, .metricCard {
  background: #fff;
  border: 1px solid #dce3e6;
  border-radius: 18px;
  box-shadow: 0 10px 26px #0f172a0d;
}

.reportsPanel, .reportsCard {
  padding: 18px;
}

.marketingCallout {
  background: linear-gradient(#fff 0%, #f8fbfc 100%);
}

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

.metricCard {
  padding: 14px 16px;
}

.metricCard span {
  color: #62707c;
  margin-bottom: 8px;
  font-size: 12px;
  display: block;
}

.metricCard strong {
  color: #173a35;
  font-size: 28px;
  display: block;
}

.metricCard small {
  color: #677681;
  margin-top: 6px;
  display: block;
}

.reportsGrid {
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 18px;
  display: grid;
}

.reportsCardWide {
  grid-column: 1 / -1;
}

.reportsDateGrid {
  grid-template-columns: 180px 180px 1fr;
  align-items: end;
  gap: 12px;
  display: grid;
}

.dateField {
  gap: 6px;
  display: grid;
}

.dateField span {
  color: #62707c;
  font-size: 13px;
}

.periodButtonsWrap {
  min-width: 0;
}

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

.periodButtons button, .compareModeButtons button {
  color: #394651;
  cursor: pointer;
  background: #fff;
  border: 1px solid #d3dde2;
  border-radius: 999px;
  padding: 10px 14px;
}

.periodButtons button.selected, .compareModeButtons button.selected {
  color: #fff;
  background: #1f6f64;
  border-color: #1f6f64;
}

.reportsToolbar {
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 14px;
  display: flex;
}

.toggleControl {
  color: #3d4a56;
  align-items: center;
  gap: 10px;
  display: inline-flex;
}

.toggleControl input {
  width: 18px;
  height: 18px;
}

.comparePanel {
  background: #f7fafb;
  border: 1px solid #e2e9ec;
  border-radius: 14px;
  margin-top: 14px;
  padding: 14px;
}

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

.compareDateGrid {
  grid-template-columns: 1fr 1fr;
  margin-top: 12px;
}

.reportsNote {
  color: #64727a;
  margin: 12px 0 0;
  font-size: 13px;
}

.chartLegend {
  color: #56636d;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  font-size: 13px;
  display: flex;
}

.chartLegend span {
  align-items: center;
  gap: 8px;
  display: inline-flex;
}

.legendDot {
  border-radius: 999px;
  width: 10px;
  height: 10px;
  display: inline-block;
}

.legendDot.current {
  background: #1f6f64;
}

.legendDot.previous {
  background: #9ab7d3;
}

.dayBarsList {
  gap: 12px;
  display: grid;
}

.dayBarsRow {
  grid-template-columns: 110px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  display: grid;
}

.dayBarsLabel {
  color: #44515f;
  padding-top: 10px;
  font-size: 13px;
}

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

.dayBarsTrack {
  grid-template-columns: 80px minmax(0, 1fr) 52px;
  align-items: center;
  gap: 10px;
  display: grid;
}

.dayBarsCaption {
  color: #6a7680;
  font-size: 12px;
}

.barTrack {
  background: #e8eef1;
  border-radius: 999px;
  width: 100%;
  height: 12px;
  overflow: hidden;
}

.dayBarTrack .barFill {
  border-radius: inherit;
  background: linear-gradient(90deg, #1f6f64 0%, #38a090 100%);
  height: 100%;
}

.dayBarTrack.comparison .barFill, .comparisonFill {
  background: linear-gradient(90deg, #9ab7d3 0%, #6f93b8 100%);
}

.dayBarsValue {
  text-align: right;
  color: #44515f;
  font-variant-numeric: tabular-nums;
}

.metricValueSingle, .metricValueStack {
  font-variant-numeric: tabular-nums;
}

.metricValueSingle {
  color: #1f2933;
  font-size: 16px;
}

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

.metricValueStack div {
  justify-content: space-between;
  gap: 8px;
  display: flex;
}

.metricValueStack span {
  color: #6b7885;
  font-size: 12px;
}

.metricValueStack strong {
  color: #1f2933;
  font-weight: 700;
}

.campaignTableWrap {
  background: #fff;
  border: 1px solid #dce3e6;
  border-radius: 16px;
  overflow: auto;
}

.campaignTable {
  border-collapse: collapse;
  width: 100%;
}

.campaignTable th, .campaignTable td {
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #edf1f3;
  padding: 12px 14px;
}

.campaignTable thead th {
  z-index: 1;
  color: #44515f;
  background: #f8fbfc;
  font-size: 13px;
  position: sticky;
  top: 0;
}

.campaignTable tbody tr:hover {
  background: #f8fbfb;
}

.emptyState, .loadingBanner, .errorBanner {
  color: #44515f;
  background: #fff;
  border: 1px solid #dde4e7;
  border-radius: 14px;
  padding: 16px;
}

.errorBanner {
  color: #a14431;
  background: #fff4f0;
  border-color: #f0b4a5;
}

.loadingBanner {
  background: #f8fbfc;
}

@media (max-width: 1320px) {
  .summaryGrid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .reportsGrid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 960px) {
  .reportsShell {
    padding: 16px;
  }

  .reportsTopbar, .reportsDateGrid, .compareDateGrid, .dayBarsRow, .dayBarsTrack {
    grid-template-columns: 1fr;
  }

  .reportsTopbar, .topActions {
    flex-direction: column;
    align-items: stretch;
  }

  .reportsTabs {
    flex-wrap: wrap;
    width: 100%;
  }

  .summaryGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .reportsPanel, .reportsCard {
    padding: 14px;
  }
}

.leadTypePanel {
  padding-bottom: 20px;
}

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

.leadTypeCard {
  background: linear-gradient(#fff 0%, #f8fbfc 100%);
  border: 1px solid #dce3e6;
  border-radius: 16px;
  padding: 14px 16px;
}

.leadTypeCard strong {
  color: #173a35;
  margin-bottom: 12px;
  font-size: 16px;
  display: block;
}

.leadTypeStats {
  color: #44515f;
  gap: 8px;
  font-size: 13px;
  display: grid;
}

.leadTypeStats b {
  color: #173a35;
}

.campaignTable {
  min-width: 100%;
}

.campaignTable th, .campaignTable td {
  font-size: 13px;
}

.campaignTable td:last-child, .campaignTable th:last-child {
  padding-right: 18px;
}

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

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

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