/* ../../../../2026-10-08/in-app-browser-context-source-ambient/artifacts/hr-question-recycle-implementation/web/apps/web/src/legacy/app/modules/crm/sales-contract-overview.css */
.crm-contract-overview01 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
  margin-bottom: 12px;
}
.crm-contract-overview01 > section {
  min-width: 0;
  margin: 0;
}
.crm-contract-overview01 [aria-label=\9500\552e\5408\540c\5173\952e\6307\6807] {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.crm-contract-overview01 article[data-accent] {
  min-width: 0;
  height: 116px;
  min-height: 116px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
}
.crm-contract-overview01 article[data-accent] > div:first-child {
  height: 24px;
  min-height: 24px;
}
.crm-contract-overview01 article[data-accent] > div:first-child > span:first-child {
  width: 24px;
  height: 24px;
  border-radius: 7px;
}
.crm-contract-overview01 article[data-accent] > div:first-child > span:last-child {
  padding: 2px 6px;
  white-space: nowrap;
}
.crm-contract-overview01 article[data-accent] p {
  margin: 5px 0 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.crm-contract-overview01 article[data-accent] > strong {
  line-height: 1.2;
  white-space: nowrap;
}
.crm-contract-overview01 article[data-accent] small {
  margin-top: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.crm-contract-overview01 article[data-accent] > div:last-child:not(:first-child) {
  max-height: 12px;
  margin-top: 5px;
}
.crm-contract-overview01 section[aria-labelledby=contract-pipeline-title] {
  min-height: 116px;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.crm-contract-overview01 [aria-label=\5408\540c\7b7e\7f72\6d41\7a0b\5206\5e03] {
  margin-top: 8px;
  flex: 0 0 7px;
}
.crm-contract-overview01 section[aria-labelledby=contract-pipeline-title] > div:last-child {
  margin-top: 7px;
}
:is(#xinocler-crm-sales-contract-view, .crm-contract-embedded-customer02) .crm-contract-lifecycle02 {
  margin: 10px 13px;
  padding: 12px 10px;
  border: 1px solid #e3eaf4;
  border-radius: 10px;
  background: #f7f9fd;
}
:is(#xinocler-crm-sales-contract-view, .crm-contract-embedded-customer02) .crm-contract-lifecycle-title02 {
  display: block;
  margin-bottom: 12px;
  color: #60789c;
}
:is(#xinocler-crm-sales-contract-view, .crm-contract-embedded-customer02) .crm-contract-lifecycle-stages02 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 8px;
}
:is(#xinocler-crm-sales-contract-view, .crm-contract-embedded-customer02) .crm-contract-lifecycle-stage02 {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  min-width: 0;
  text-align: center;
  color: #9aa7ba;
}
:is(#xinocler-crm-sales-contract-view, .crm-contract-embedded-customer02) .crm-contract-lifecycle-stage02:not(:nth-child(3n))::after {
  content: "\203a";
  position: absolute;
  top: 8px;
  right: -7px;
  color: #b1bfd5;
}
:is(#xinocler-crm-sales-contract-view, .crm-contract-embedded-customer02) .crm-contract-lifecycle-icon02 {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: #edf1f7;
}
:is(#xinocler-crm-sales-contract-view, .crm-contract-embedded-customer02) .crm-contract-lifecycle-icon02 svg {
  width: 16px;
  height: 16px;
}
:is(#xinocler-crm-sales-contract-view, .crm-contract-embedded-customer02) .crm-contract-lifecycle-stage02[data-complete=true] {
  color: #3866ca;
}
:is(#xinocler-crm-sales-contract-view, .crm-contract-embedded-customer02) .crm-contract-lifecycle-stage02[data-complete=true] .crm-contract-lifecycle-icon02 {
  background: #e8efff;
}
:is(#xinocler-crm-sales-contract-view, .crm-contract-embedded-customer02) .crm-contract-lifecycle-stage02 > strong {
  display: block;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 400;
}
:is(#xinocler-crm-sales-contract-view, .crm-contract-embedded-customer02) .crm-contract-lifecycle-stage02 > small {
  color: #278b6d;
}
:is(#xinocler-crm-sales-contract-view, .crm-contract-embedded-customer02) .crm-contract-carousel-window02 {
  overflow: hidden;
  width: 100%;
}
:is(#xinocler-crm-sales-contract-view, .crm-contract-embedded-customer02) .crm-contract-carousel-track02 {
  display: flex;
  width: 100%;
  transition: transform .24s ease;
}
:is(#xinocler-crm-sales-contract-view, .crm-contract-embedded-customer02) .crm-contract-carousel-stage02 {
  position: relative;
  display: flex;
  flex: 0 0 33.333333%;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 6px 4px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #92a1b8;
  cursor: pointer;
  text-align: center;
  font: inherit;
}
:is(#xinocler-crm-sales-contract-view, .crm-contract-embedded-customer02) .crm-contract-carousel-stage02:not(:last-child)::after {
  content: "";
  position: absolute;
  left: calc(50% + 21px);
  top: 20px;
  width: calc(100% - 42px);
  height: 2px;
  background: #dce5f2;
}
:is(#xinocler-crm-sales-contract-view, .crm-contract-embedded-customer02) .crm-contract-carousel-stage02 > .crm-contract-lifecycle-icon02 {
  position: relative;
  z-index: 1;
  width: 30px;
  height: 30px;
  background: #eaf0f8;
  color: #8197ba;
  transition: background .2s, color .2s;
}
:is(#xinocler-crm-sales-contract-view, .crm-contract-embedded-customer02) .crm-contract-carousel-stage02[aria-pressed=true] {
  color: #315fd2;
}
:is(#xinocler-crm-sales-contract-view, .crm-contract-embedded-customer02) .crm-contract-carousel-stage02[aria-pressed=true] > .crm-contract-lifecycle-icon02 {
  background: #e4edff;
  color: #315fd2;
  box-shadow: 0 0 0 2px #f7f9fd, 0 0 0 3px #b8ccfa;
}
:is(#xinocler-crm-sales-contract-view, .crm-contract-embedded-customer02) .crm-contract-carousel-stage02 > strong {
  display: block;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 400;
  color: inherit;
}
:is(#xinocler-crm-sales-contract-view, .crm-contract-embedded-customer02) .crm-contract-carousel-stage02 > small {
  min-height: 1lh;
  color: #278b6d;
}
:is(#xinocler-crm-sales-contract-view, .crm-contract-embedded-customer02) .crm-contract-carousel-stage02:focus-visible {
  outline: 2px solid #84a4ee;
  outline-offset: -2px;
  border-radius: 8px;
}
:is(#xinocler-crm-sales-contract-view, .crm-contract-embedded-customer02) .crm-contract-carousel-stage02:hover > .crm-contract-lifecycle-icon02 {
  background: #dfe9fc;
}
@media (prefers-reduced-motion: reduce) {
  :is(#xinocler-crm-sales-contract-view, .crm-contract-embedded-customer02) .crm-contract-carousel-track02 {
    transition: none;
  }
}
:is(#xinocler-crm-sales-contract-view, .crm-contract-embedded-customer02) .crm-contract-lifecycle02 {
  padding: 8px 10px;
  margin-top: 8px;
  margin-bottom: 8px;
}
:is(#xinocler-crm-sales-contract-view, .crm-contract-embedded-customer02) .crm-contract-lifecycle-title02 {
  margin-bottom: 5px;
  line-height: 18px;
}
:is(#xinocler-crm-sales-contract-view, .crm-contract-embedded-customer02) .crm-contract-carousel-stage02 {
  gap: 3px;
  padding: 4px;
  line-height: 18px;
}
:is(#xinocler-crm-sales-contract-view, .crm-contract-embedded-customer02) .crm-contract-carousel-stage02 > .crm-contract-lifecycle-icon02 {
  width: 26px;
  height: 26px;
  border-radius: 8px;
}
:is(#xinocler-crm-sales-contract-view, .crm-contract-embedded-customer02) .crm-contract-carousel-stage02 > .crm-contract-lifecycle-icon02 svg {
  width: 15px;
  height: 15px;
}
:is(#xinocler-crm-sales-contract-view, .crm-contract-embedded-customer02) .crm-contract-carousel-stage02:not(:last-child)::after {
  top: 16px;
  left: calc(50% + 18px);
  width: calc(100% - 36px);
}
:is(#xinocler-crm-sales-contract-view, .crm-contract-embedded-customer02) .crm-contract-carousel-stage02 > small {
  min-height: 16px;
  line-height: 16px;
}

/* ../../../../2026-10-08/in-app-browser-context-source-ambient/artifacts/hr-question-recycle-implementation/web/apps/web/src/legacy/app/modules/crm/sales-contract-create-host.css */
.crm-contract-create-host {
  display: flex;
  flex-direction: column;
  min-height: 420px;
  height: calc(100dvh - 390px);
  margin: 12px 16px 16px;
  overflow: hidden;
}
.crm-contract-create-host[hidden],
.crm-contract-list-panel[hidden] {
  display: none !important;
}
.crm-contract-create-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  flex-shrink: 0;
}
.crm-contract-create-heading h2 {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 3px;
}
.crm-contract-create-heading h2 svg {
  width: 16px;
  height: 16px;
}
.crm-contract-create-body {
  flex: 1;
  min-height: 0;
  overflow: auto;
}
@media (max-width: 760px) {
  .crm-contract-create-host {
    margin: 10px;
    height: calc(100dvh - 340px);
  }
  .crm-contract-create-heading {
    padding: 10px;
    align-items: flex-start;
  }
  .crm-contract-create-heading small {
    display: none;
  }
}
[class*=crm_ai_workspace_content]:has(:is(#xinocler-crm-sales-contract-view, .crm-contract-embedded-customer02) [data-contract-view=create]) {
  min-height: 0;
  overflow: hidden;
}
:is(#xinocler-crm-sales-contract-view, .crm-contract-embedded-customer02):has([data-contract-view=create]) {
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-sizing: border-box;
}
:is(#xinocler-crm-sales-contract-view, .crm-contract-embedded-customer02):has([data-contract-view=create]) > .crm-window {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
:is(#xinocler-crm-sales-contract-view, .crm-contract-embedded-customer02) [data-contract-view=create] {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  height: 100%;
  overflow: hidden;
}
:is(#xinocler-crm-sales-contract-view, .crm-contract-embedded-customer02) [data-contract-view=create] > .crm-contract-page-banner {
  flex-shrink: 0;
}
:is(#xinocler-crm-sales-contract-view, .crm-contract-embedded-customer02) [data-contract-view=create] > .crm-contract-create-host {
  flex: 1;
  min-height: 0;
  height: auto;
}
[class*=crm_ai_workspace_content]:has(:is(#xinocler-crm-sales-contract-view, .crm-contract-embedded-customer02)) {
  scrollbar-gutter: stable;
}
.app-main:has(:is(#xinocler-crm-sales-contract-view, .crm-contract-embedded-customer02) [data-contract-view=create]) {
  overflow: hidden;
  scrollbar-gutter: stable;
}
.crm-contract-signature > summary {
  list-style: none;
  cursor: pointer;
  gap: 12px;
}
.crm-contract-signature > summary::-webkit-details-marker {
  display: none;
}
.crm-contract-signature-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.crm-contract-signature-toggle svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.crm-contract-signature[open] > summary .crm-contract-signature-toggle svg {
  transform: rotate(90deg);
}
.crm-contract-party-relations {
  grid-column: 1 / -1;
  min-width: 0;
}
:is(#xinocler-crm-sales-contract-view, .crm-contract-embedded-customer02) {
  display: flow-root;
}
.crm-contract-page-banner {
  margin: 12px 16px 0;
  min-width: 0;
}
@media (max-width: 760px) {
  .crm-contract-page-banner {
    margin: 10px 10px 0;
  }
}
