/* Kutvia satış çalışma alanı. Ortak panel stillerini genişletir. */
.search-options {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 15px;
  margin: 18px 0;
}
.search-options legend {
  font-size: 11px;
  font-weight: 600;
  color: #56677e;
  padding: 0 6px;
}
.search-options label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.6;
  margin: 9px 0;
  cursor: pointer;
}
.search-options input {
  width: 15px;
  height: 15px;
  min-height: 0;
  flex-shrink: 0;
  accent-color: #2563eb;
}
.search-options p {
  font-size: 10px;
  line-height: 1.8;
  color: #56677e;
  margin-top: 12px;
}
.preview-search {
  width: 100%;
  margin-bottom: 14px;
  padding: 10px;
  font-size: 11px;
}
.search-plan {
  background: #f3f6fa;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 18px;
}
.search-plan strong {
  font-size: 12px;
  color: #3c506c;
}
.search-plan p {
  font-size: 10px;
  line-height: 1.8;
  color: #56677e;
  margin-top: 8px;
}
.search-plan .reuse-note {
  color: #947a46;
}
.search-progress {
  font-size: 10px;
  line-height: 1.8;
  color: #56677e;
  max-width: 330px;
  margin-top: 7px;
}
.search-job-error {
  font-size: 10px;
  line-height: 1.8;
  color: #a38c5a;
  max-width: 330px;
}
.assignment-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 17px 24px;
  background: #f3f6fa;
  border-bottom: 1px solid #e2e8f0;
}
.assignment-bar > div {
  margin-right: auto;
}
.assignment-bar strong {
  display: block;
  font-size: 12px;
  color: #3c506c;
}
.assignment-bar small {
  display: block;
  font-size: 10px;
  color: #56677e;
  margin-top: 4px;
}
.assignment-bar select {
  width: auto;
  min-width: 170px;
  font-size: 12px;
}
.assignment-bar > .primary {
  width: auto;
  flex: none;
}
.lead-table td.selection-cell:first-child {
  min-width: 38px;
  max-width: 38px;
  width: 38px;
}
.lead-table .selection-cell {
  width: 38px;
  min-width: 38px;
  padding: 12px 0 12px 18px;
}
.selection-cell input {
  width: 16px;
  height: 16px;
  min-height: 0;
  accent-color: #2563eb;
  cursor: pointer;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 580px) {
  .assignment-bar {
    padding: 15px;
    gap: 10px;
  }
  .assignment-bar > div {
    flex-basis: 100%;
  }
  .assignment-bar select {
    width: 100%;
  }
  .assignment-bar .primary,
  .assignment-bar .secondary {
    flex: 1;
  }
}
:root {
  --sales-muted: #56677e;
}
.auth-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fafbfd;
}
.auth-story {
  background: #172b25;
  color: #e2e8f0;
  padding: 60px clamp(35px, 7vw, 110px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.auth-story:after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border: 1px solid #3c506c;
  border-radius: 50%;
  right: -230px;
  bottom: -100px;
  box-shadow:
    0 0 0 70px #263c591c,
    0 0 0 140px #263c591c;
  pointer-events: none;
}
.auth-story .brand {
  position: absolute;
  top: 45px;
  left: clamp(35px, 7vw, 110px);
  padding: 0;
  font-size: 36px;
}
.auth-story > .eyebrow {
  color: #69798e;
  margin-top: 50px;
}
.auth-story h1 {
  font-size: clamp(34px, 4.2vw, 65px);
  line-height: 1.14;
  letter-spacing: 0;
  margin: 25px 0;
  font-weight: 600;
}
.auth-story p {
  color: #69798e;
  line-height: 2;
  font-size: 15px;
}
.auth-services {
  margin-top: 55px;
  font-size: 12px;
  line-height: 2.4;
  color: #69798e;
}
.auth-services span {
  margin: 0 10px;
  color: #3c506c;
}
.auth-form-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 35px;
}
.auth-form {
  width: 100%;
  max-width: 410px;
  padding: 15px;
}
.auth-form h2 {
  font-size: 29px;
  line-height: 1.25;
  margin: 14px 0;
}
.auth-form > p {
  font-size: 13px;
  color: #56677e;
  margin-bottom: 26px;
}
.auth-form label {
  font-size: 12px;
  margin: 17px 0 7px;
}
.auth-form input {
  font-size: 14px;
}
.auth-form .primary {
  margin-top: 22px;
  font-size: 14px;
}
.auth-form .auth-footnote {
  font-size: 11px;
  line-height: 1.8;
  margin: 19px 0 0;
}
.auth-form .field-help {
  font-size: 11px;
  margin: 8px 0;
}
.sidebar .brand-mark {
  font-size: 25px;
}
.workspace #current-user-name {
  font-size: 12px;
}
.session-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 22px 11px;
}
.session-actions button {
  background: none;
  border: 0;
  color: #69798e;
  text-align: left;
  padding: 5px 0;
  font-size: 11px;
}
.session-actions button:hover {
  color: #c4cedb;
}
#mobile-logout {
  display: none;
}
.scope-label {
  margin-top: 23px;
}
#preset-help {
  line-height: 1.8;
  margin-bottom: 22px;
  font-size: 11px;
}
.missing-site {
  color: #a6774e;
  font-size: 11px;
}
.muted {
  color: #69798e;
}
.sales-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.sales-kpis > button {
  text-align: left;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: white;
  border-radius: 8px;
  padding: 22px;
  color: var(--ink);
}
.sales-kpis > button:hover {
  border-color: #69798e;
  background: #fafbfd;
}
.sales-kpis > button > span {
  color: #56677e;
  font-size: 12px;
}
.sales-kpis strong {
  font-size: 36px;
  letter-spacing: 0;
  line-height: 1.2;
  margin: 10px 0;
}
.sales-kpis small {
  font-size: 10px;
  color: #56677e;
}
.overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}
.overview-grid > .card {
  min-width: 0;
}
.pipeline {
  padding: 12px 24px;
}
.pipeline button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid #f3f6fa;
  background: white;
}
.pipeline button:last-child {
  border: 0;
}
.pipeline button:hover {
  background: #fafbfd;
}
.pipeline strong {
  font-size: 16px;
  color: #3c506c;
}
.sales-stage {
  display: inline-flex;
  align-items: center;
  border-radius: 5px;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
  background: #f3f6fa;
  color: #56677e;
}
.stage-contacted {
  background: #e4f0f1;
  color: #4c7f84;
}
.stage-retry {
  background: #fff3d8;
  color: #99732a;
}
.stage-proposal {
  background: #eeebf8;
  color: #8771b0;
}
.stage-won {
  background: #e2e8f0;
  color: #3c506c;
}
.stage-lost,
.stage-do_not_call {
  background: #f9e9e2;
  color: #a16d55;
}
.offer-totals {
  padding: 15px 24px;
}
.offer-totals > div {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr 1.1fr;
  gap: 10px;
  padding: 14px 0;
  border-bottom: 1px solid #f3f6fa;
  font-size: 11px;
}
.offer-totals > div > strong {
  text-align: right;
  font-size: 13px;
  font-weight: 550;
}
.offer-totals > div > span {
  color: #56677e;
}
.offer-total-head > span:not(:first-child) {
  text-align: right;
  font-size: 10px;
}
.offer-totals p {
  font-size: 10px;
  line-height: 1.8;
  color: #69798e;
  margin: 14px 0 0;
}
.recent-activities {
  padding: 5px 24px;
  max-height: 435px;
  overflow: auto;
}
.recent-activities > button {
  background: none;
  border: 0;
  border-bottom: 1px solid #f3f6fa;
  display: flex;
  text-align: left;
  align-items: center;
  gap: 10px;
  padding: 14px 0;
  width: 100%;
  color: var(--ink);
}
.recent-activities > button:hover {
  background: #fafbfd;
}
.recent-activities strong {
  font-size: 11px;
  font-weight: 600;
  display: block;
}
.recent-activities small {
  font-size: 10px;
  color: #56677e;
  display: block;
  margin-top: 3px;
}
.recent-activities time {
  margin-left: auto;
  white-space: nowrap;
  font-size: 9px;
  color: #69798e;
}
.activity-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 27px;
  height: 27px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #f3f6fa;
  color: #56677e;
  font-size: 15px;
}
.filter-bar {
  display: flex;
  align-items: end;
  gap: 12px;
  flex-wrap: wrap;
  background: #fafbfd;
  border-bottom: 1px solid var(--line);
  padding: 18px 24px;
}
.filter-bar > div {
  min-width: 135px;
  flex: 1;
}
.filter-bar > .filter-search {
  flex: 1.7;
  min-width: 180px;
}
.filter-bar label {
  font-size: 10px;
  color: #56677e;
}
.filter-bar input,
.filter-bar select {
  font-size: 12px;
  min-height: 39px;
  padding: 8px 10px;
}
.filter-bar > .filter-checks {
  display: flex;
  gap: 10px;
  flex: 1 0 100%;
  min-width: 0;
}
.filter-checks label {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0;
  white-space: nowrap;
}
.filter-checks input {
  width: auto;
  min-height: 0;
}
.filter-bar > button {
  padding: 10px 16px;
  min-height: 39px;
}
.lead-table {
  min-width: 950px;
}
.lead-table td {
  vertical-align: middle;
  padding: 17px 20px;
}
.lead-table th {
  padding: 12px 20px;
}
.lead-table td:first-child {
  min-width: 230px;
  max-width: 300px;
}
.lead-name {
  font-size: 13px;
  font-weight: 600;
  border: 0;
  background: none;
  padding: 0;
  text-align: left;
  color: #263c59;
  line-height: 1.6;
}
.lead-name:hover {
  text-decoration: underline;
}
.lead-subline {
  font-size: 10px;
  color: #56677e;
  margin: 5px 0;
}
.lead-site {
  font-size: 10px;
  color: #3c506c;
}
.lead-site a:hover {
  text-decoration: underline;
}
.owner-chip {
  display: inline-flex;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 4px 9px;
  color: #56677e;
  font-size: 10px;
  white-space: nowrap;
}
.lead-service-label {
  display: block;
  color: #69798e;
  font-size: 9px;
  margin-top: 5px;
}
.due-text {
  color: #b47a37;
}
.due-text .lead-service-label {
  color: #bc8a4b;
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 23px;
  color: #56677e;
  font-size: 11px;
}
.pagination > div {
  display: flex;
  gap: 7px;
}
.pagination button:disabled {
  opacity: 0.4;
  cursor: default;
}
.lead-dialog {
  width: min(1130px, 96vw);
  max-height: 91vh;
  padding: 27px;
}
.lead-dialog h2 {
  font-size: 24px;
}
.lead-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 11px;
  padding: 0 0 19px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.detail-tabs {
  display: flex;
  gap: 6px;
  margin: 20px 0 0;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
  overflow: auto;
}
.detail-tabs button {
  border: 0;
  border-radius: 6px;
  background: none;
  font-size: 12px;
  color: #56677e;
  padding: 10px 14px;
  white-space: nowrap;
}
.detail-tabs button.active {
  background: #e2e8f0;
  color: #3c506c;
}
.detail-tabs span {
  background: #e2e8f0;
  font-size: 10px;
  border-radius: 8px;
  padding: 1px 5px;
  margin-left: 4px;
}
.lead-dialog fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}
.lead-dialog form {
  padding: 20px 0;
}
.lead-dialog label {
  font-size: 11px;
}
.lead-dialog input,
.lead-dialog select,
.lead-dialog textarea {
  font-size: 13px;
}
.lead-dialog textarea {
  margin-bottom: 12px;
}
.lead-dialog .primary {
  margin-top: 16px;
  width: auto;
  font-size: 12px;
}
.lead-dialog fieldset:disabled {
  opacity: 0.7;
}
.lead-dialog fieldset:disabled button {
  cursor: default;
}
.profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px 22px;
  margin-bottom: 20px;
}
.profile-grid > div {
  min-width: 0;
}
.section-intro {
  margin-top: 24px;
}
.section-intro h3 {
  font-size: 16px;
  margin: 0 0 5px;
  font-weight: 600;
}
.section-intro p {
  font-size: 11px;
  color: #56677e;
  line-height: 1.8;
}
.info {
  background: #f0f4f5;
  color: #6c838a;
}
.proposal-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.proposal-list {
  padding-top: 25px;
}
.proposal-list > h3 {
  font-size: 15px;
  margin: 0 0 17px;
}
.proposal-card {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 18px;
  margin-bottom: 13px;
  background: #fafbfd;
}
.proposal-card > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
}
.proposal-card .proposal-money {
  font-size: 24px;
  color: #263c59;
  letter-spacing: 0;
  margin: 14px 0 !important;
}
.proposal-money small {
  font-size: 11px;
  color: #56677e;
  letter-spacing: 0;
}
.proposal-card > p {
  font-size: 11px;
  line-height: 1.8;
  color: #56677e;
  margin: 10px 0;
}
.proposal-card > small {
  display: block;
  font-size: 10px;
  color: #69798e;
  line-height: 1.9;
}
.proposal-actions {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 15px;
}
.preserve-lines {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.note-form {
  border-bottom: 1px solid var(--line);
}
.timeline {
  padding: 10px 0 0;
}
.timeline > article {
  display: flex;
  gap: 13px;
  border-bottom: 1px solid #f3f6fa;
  padding: 18px 0;
}
.timeline > article > div {
  flex: 1;
  min-width: 0;
}
.timeline header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.timeline header strong {
  font-size: 12px;
  font-weight: 550;
}
.timeline time {
  font-size: 10px;
  color: #56677e;
  white-space: nowrap;
}
.timeline p {
  font-size: 12px;
  line-height: 1.9;
  color: #56677e;
  margin: 10px 0;
}
.timeline small {
  font-size: 10px;
  color: #56677e;
}
.loading {
  padding: 35px;
  font-size: 13px;
  color: #56677e;
}
#manual-dialog,
#account-dialog {
  max-width: 650px;
}
#account-dialog {
  max-width: 440px;
}
#manual-form,
#password-form {
  padding: 0;
}
#manual-form > label,
#password-form > label {
  margin-top: 15px;
}
#manual-form > .primary,
#password-form > .primary {
  margin-top: 24px;
  width: 100%;
}
.team-grid {
  display: grid;
  grid-template-columns: minmax(270px, 0.85fr) minmax(0, 1.3fr);
  gap: 24px;
}
.team-grid form > div > label,
.team-grid form > label {
  margin-top: 15px;
}
.team-grid form > .primary {
  margin-top: 22px;
  width: 100%;
}
.team-grid .field-help {
  line-height: 1.8;
}
.team-users {
  padding: 5px 24px;
}
.team-users article {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 19px 0;
  border-bottom: 1px solid #f3f6fa;
}
.team-users strong {
  display: block;
  font-size: 13px;
  font-weight: 550;
}
.team-users small {
  display: block;
  font-size: 10px;
  color: #56677e;
  margin-top: 4px;
  overflow-wrap: anywhere;
}
.team-users .secondary {
  margin-left: auto;
}
.team-users .avatar {
  color: #56677e;
  background: #e2e8f0;
}
.team-grid h3 {
  font-size: 14px;
  margin: 0 0 18px;
}
#user-editor form {
  background: #fafbfd;
  border-top: 1px solid #e2e8f0;
}
@media (min-width: 901px) {
  .sidebar .nav-item {
    font-size: 12px;
  }
  .sidebar .nav-item > span:first-child {
    width: 18px;
    text-align: center;
  }
}
@media (max-width: 1150px) {
  .sales-kpis {
    gap: 10px;
  }
  .sales-kpis > button {
    padding: 17px;
  }
  .sales-kpis small {
    font-size: 9px;
  }
  .overview-grid {
    gap: 16px;
  }
  .offer-totals,
  .pipeline {
    padding-left: 18px;
    padding-right: 18px;
  }
  .offer-totals > div > strong {
    font-size: 11px;
  }
  .recent-activities {
    padding: 5px 18px;
  }
}
@media (max-width: 900px) {
  .overview-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }
  .session-actions {
    display: none;
  }
  .workspace #current-user-name {
    font-size: 11px;
  }
  #mobile-logout {
    display: block;
  }
  .topbar {
    gap: 10px;
  }
  .connection {
    margin-left: auto;
  }
  .sales-kpis {
    grid-template-columns: repeat(2, 1fr);
  }
  .sales-kpis > button {
    padding: 20px;
  }
  .auth-story {
    padding: 40px;
  }
  .auth-story .brand {
    left: 40px;
  }
  .auth-story h1 {
    font-size: 43px;
  }
  .auth-form-wrap {
    padding: 20px;
  }
  .auth-form h2 {
    font-size: 24px;
  }
}
@media (max-width: 580px) {
  .auth-page {
    grid-template-columns: 1fr;
  }
  .auth-story {
    padding: 70px 30px 28px;
  }
  .auth-story .brand {
    top: 20px;
    left: 30px;
    font-size: 27px;
  }
  .auth-story > .eyebrow {
    margin: 0;
  }
  .auth-story h1 {
    font-size: 33px;
    margin: 15px 0;
    letter-spacing: 0;
  }
  .auth-story h1 br {
    display: none;
  }
  .auth-story p,
  .auth-services {
    display: none;
  }
  .auth-form-wrap {
    padding: 25px 20px;
    align-items: start;
  }
  .auth-form h2 {
    font-size: 25px;
  }
  .auth-form > p {
    font-size: 12px;
  }
  .auth-form label {
    font-size: 12px;
  }
  .mobile-nav {
    overflow: auto;
    gap: 4px;
    scrollbar-width: thin;
  }
  .mobile-nav a {
    flex: 0 0 auto;
    white-space: nowrap;
    font-size: 10px;
    padding: 9px 11px;
  }
  .sales-kpis {
    gap: 9px;
  }
  .sales-kpis > button {
    padding: 17px;
  }
  .sales-kpis > button > span {
    font-size: 11px;
  }
  .sales-kpis strong {
    font-size: 30px;
  }
  .sales-kpis small {
    font-size: 9px;
  }
  .overview-grid {
    gap: 18px;
    margin-bottom: 18px;
  }
  .offer-totals > div > strong {
    font-size: 11px;
  }
  .filter-bar {
    padding: 17px;
    gap: 10px;
  }
  .filter-bar > .filter-search {
    flex-basis: 100%;
  }
  .filter-bar > div {
    min-width: 125px;
  }
  .filter-bar label {
    font-size: 10px;
  }
  .filter-bar > .filter-checks {
    flex-wrap: wrap;
    gap: 10px;
  }
  .lead-dialog {
    padding: 18px;
  }
  .lead-dialog h2 {
    font-size: 21px;
  }
  .detail-tabs {
    gap: 0;
  }
  .detail-tabs button {
    padding: 9px 10px;
    font-size: 11px;
  }
  .lead-summary {
    gap: 8px;
    font-size: 11px;
  }
  .profile-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .proposal-layout {
    grid-template-columns: 1fr;
    gap: 5px;
  }
  .timeline header {
    display: block;
  }
  .timeline time {
    display: block;
    margin-top: 3px;
  }
  .timeline p {
    font-size: 11px;
  }
  .lead-dialog form {
    padding: 15px 0;
  }
  .pagination {
    padding: 15px;
    font-size: 10px;
  }
  .lead-table {
    min-width: 850px;
  }
  .team-users {
    padding: 0 17px;
  }
  .team-users strong {
    font-size: 12px;
  }
  .topbar > .text-button {
    font-size: 9px;
  }
  .intro h1 {
    max-width: 100%;
    font-size: 25px;
  }
  .intro p {
    font-size: 12px;
  }
  .recent-activities time {
    font-size: 8px;
  }
  .session-actions button {
    font-size: 10px;
  }
}
