Skip to content
Python
26.4 KB
Raw Blame
.cold-start {
  --ink: #263b4b;
  --body: #536675;
  --muted: #6b7f8f;
  --paper: #eef2f5;
  --line: #d0dce4;
  --cold-text: #263b4b;
  --cold-secondary: #536675;
  --cold-meta: #6b7f8f;
  --cold-action: #2d4659;
  --cold-edge: #dbe3ea;
  --cold-selected: #e7edf2;
  --cold-error: #96453e;
  --cold-glass: #ffffff46;
  --cold-highlight: #ffffffe0;
  --cold-inset: inset 0 1px 0 #fff, inset 0 -1px 0 #adc0d22e;
  --cold-elevation: 0 28px 80px #314b651a, 0 3px 10px #314b650a;
  --cold-ease: cubic-bezier(0.32, 0.72, 0, 1);
  width: 100%;
  height: 100dvh;
  min-height: 0;
  display: grid;
  place-items: center;
  padding: 32px 36px;
  overflow: hidden;
  color: var(--cold-text);
  background: linear-gradient(140deg, #dfebf4, #edf2f7 55%, #e3ebf2);
  color-scheme: light;
  letter-spacing: 0;
}

.cold-start *,
.cold-start *::before,
.cold-start *::after {
  box-sizing: border-box;
  letter-spacing: 0;
}

.cold-start :is(h1, h2, h3, p, ul, ol, dl, dd) {
  margin: 0;
}

.cold-start :is(button, input) {
  -webkit-app-region: no-drag;
}

.cold-start button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  max-width: 100%;
  padding: 9px 15px;
  border: 1px solid var(--cold-action);
  border-radius: 8px;
  color: #fff;
  background: var(--cold-action);
  box-shadow: inset 0 1px 0 #ffffff26;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 500;
  text-align: center;
  white-space: normal;
  cursor: pointer;
  transition:
    background-color 120ms var(--cold-ease),
    color 120ms var(--cold-ease);
}

.cold-start button svg {
  flex-shrink: 0;
}

.cold-start button:hover:not(:disabled) {
  background: #40576b;
}

.cold-start .cold-start-secondary {
  color: var(--cold-action);
  background: #fff;
  border-color: #c2ced8;
  box-shadow: none;
}

.cold-start .cold-start-text-button,
.cold-start .cold-start-icon-button {
  color: var(--cold-action);
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

.cold-start
  :is(
    .cold-start-secondary,
    .cold-start-text-button,
    .cold-start-icon-button
  ):hover:not(:disabled) {
  background: var(--cold-selected);
}

.cold-start button:disabled {
  color: #65717c;
  background: #e8edf1;
  border-color: #d6dfe6;
  box-shadow: none;
  cursor: not-allowed;
}

.cold-start :is(button, input):focus-visible {
  outline: 2px solid var(--cold-action);
  outline-offset: 3px;
}

.cold-start input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  margin: 0;
  padding: 0;
  border: 1px solid #aebfcd;
  border-radius: 5px;
  background: #fff;
  accent-color: var(--cold-action);
  cursor: pointer;
}

.cold-start input[type="checkbox"]:checked {
  background: var(--cold-action);
  border-color: var(--cold-action);
}

.cold-start input[type="checkbox"]:checked::after {
  content: "";
  width: 7px;
  height: 4px;
  border-left: 1.5px solid #fff;
  border-bottom: 1.5px solid #fff;
  transform: rotate(-45deg) translateY(-1px);
}

.cold-start input[type="checkbox"]:disabled:not(:checked) {
  background: #f0f2f4;
  border-color: #dde3e8;
}

.cold-start input:disabled {
  cursor: not-allowed;
}

.cold-start .cold-start-layout {
  display: flex;
  flex-direction: column;
  width: min(1120px, 100%);
  height: min(800px, 100%);
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--cold-highlight);
  border-radius: 26px;
  background: var(--cold-glass);
  backdrop-filter: blur(36px) saturate(115%);
  -webkit-backdrop-filter: blur(36px) saturate(115%);
  box-shadow: var(--cold-elevation), var(--cold-inset);
}

.cold-start .cold-start-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-shrink: 0;
  padding: 30px 36px 26px;
  border-bottom: 1px solid #ffffffc4;
  background: linear-gradient(115deg, #ffffff57, #ffffff0a);
}

.cold-start .cold-start-head > div {
  min-width: 0;
}

.cold-start .cold-start-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
  color: #5e7689;
  font-size: 11px;
  font-weight: 610;
}

.cold-start h1 {
  font-size: 28px;
  line-height: 1.45;
  font-weight: 600;
  color: #2d4354;
  overflow-wrap: anywhere;
}

.cold-start .cold-start-intro {
  flex-shrink: 0;
  font-size: 13px;
  line-height: 1.85;
  color: var(--cold-secondary);
}

.cold-start .cold-start-steps {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
  padding: 6px;
  list-style: none;
  border: 1px solid #ffffffbb;
  border-radius: 24px;
  background: #ffffff42;
  box-shadow: inset 0 1px 0 #fff;
}

.cold-start .cold-start-steps li {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  color: var(--cold-meta);
  font-size: 10px;
  line-height: 1.5;
}

.cold-start .cold-start-steps li[aria-current="step"] {
  color: var(--cold-action);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 3px 9px #3b526515;
}

.cold-start .cold-start-steps span {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 1px solid #bccdd9;
  border-radius: 50%;
  font-size: 9px;
}

.cold-start .cold-start-steps li[aria-current="step"] span {
  color: #fff;
  background: var(--cold-action);
  border-color: var(--cold-action);
}

.cold-start .cold-start-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 278px;
  gap: 30px;
  flex: 1;
  min-height: 0;
  padding: 26px 36px 28px;
}

.cold-start .cold-start-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  min-height: 0;
}

.cold-start .cold-start-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-shrink: 0;
}

.cold-start .cold-start-section-head h2 {
  font-size: 16px;
  line-height: 1.6;
  font-weight: 600;
}

.cold-start .cold-start-section-head h2:focus {
  outline: none;
}

.cold-start .cold-start-section-head p {
  color: var(--cold-secondary);
  font-size: 12px;
  line-height: 1.7;
  margin-top: 4px;
}

.cold-start .cold-start-section-head > button {
  flex-shrink: 0;
}

/* 检测完成后的结果提示条:告诉用户找到了几个应用,并给一键全选。 */
.cold-start .cold-start-detect-hint {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-shrink: 0;
  padding: 10px 14px;
  border: 1px solid #cfe0d8;
  border-radius: 8px;
  background: #f2f8f4;
  font-size: 13px;
  line-height: 1.6;
  color: #2f4a3d;
}

.cold-start .cold-start-detect-hint strong {
  font-weight: 700;
}

.cold-start .cold-start-detect-hint > button {
  flex-shrink: 0;
  padding-block: 6px;
}

.cold-start .cold-start-candidates {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  min-height: 80px;
  padding: 3px;
  overflow-y: scroll;
  overflow-x: hidden;
  overscroll-behavior: contain;
  scrollbar-width: auto;
  scrollbar-gutter: stable;
  scrollbar-color: #8b9eae #e5ebf0;
  list-style: none;
}

.cold-start .cold-start-source {
  flex-shrink: 0;
  min-width: 0;
  border: 1px solid var(--cold-edge);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 8px #3d546504;
}

.cold-start .cold-start-source:hover {
  border-color: #b5c7d5;
}

.cold-start .cold-start-source.is-selected {
  background: var(--cold-selected);
  border-color: #b8c9d7;
  box-shadow:
    inset 0 1px 0 #fff,
    0 3px 10px #3b53620a;
}

.cold-start .cold-start-source > label,
.cold-start .cold-start-review > li {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 90px;
  padding: 14px 18px;
}

.cold-start .cold-start-source > label {
  cursor: pointer;
}

.cold-start code {
  display: block;
  max-width: 100%;
  padding: 0;
  color: var(--cold-secondary);
  background: transparent;
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 11px;
  line-height: 1.65;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.cold-start .cold-start-list-area {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 150px;
  overflow: hidden;
}

.cold-start .cold-start-list-caption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex: 0 0 auto;
  padding: 0 3px 6px;
  color: var(--cold-meta);
  font-size: 11px;
}

.cold-start .cold-start-scroll-frame {
  display: flex;
  flex: 1;
  position: relative;
  min-height: 0;
  padding-right: 14px;
}

.cold-start .cold-start-scroll-track {
  position: absolute;
  inset: 3px 1px;
  left: auto;
  width: 6px;
  border-radius: 3px;
  background: #dbe3ea;
  pointer-events: none;
}

.cold-start .cold-start-scroll-track span {
  position: absolute;
  width: 6px;
  min-height: 18px;
  border-radius: 3px;
  background: #8b9eae;
}

.cold-start .cold-start-candidates::-webkit-scrollbar,
.cold-start .first-import-list::-webkit-scrollbar {
  width: 10px;
}

.cold-start .cold-start-candidates::-webkit-scrollbar-track,
.cold-start .first-import-list::-webkit-scrollbar-track {
  background: #e5ebf0;
}

.cold-start .cold-start-candidates::-webkit-scrollbar-thumb,
.cold-start .first-import-list::-webkit-scrollbar-thumb {
  border: 2px solid #e5ebf0;
  border-radius: 5px;
  background: #8b9eae;
}

.cold-start .cold-start-more {
  flex: 0 0 26px;
  min-height: 26px;
  margin-top: 4px;
  padding: 2px 8px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--cold-meta);
  font-size: 11px;
  box-shadow: none;
}

.cold-start .cold-start-more:disabled {
  background: transparent;
  color: var(--cold-meta);
}

.cold-start
  .cold-start-candidates:not(.cold-start-review)
  > .cold-start-source {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
}

.cold-start
  .cold-start-candidates:not(.cold-start-review)
  > .cold-start-source
  > label {
  grid-column: 1 / -1;
  min-height: 50px;
  padding: 6px 14px 2px;
}

.cold-start .cold-start-path {
  min-width: 0;
  align-self: center;
  margin: 0 14px 6px;
  color: var(--cold-secondary);
  font-size: 11px;
}

.cold-start .cold-start-path summary {
  padding: 4px 0;
  cursor: pointer;
}

.cold-start .cold-start-path[open] {
  grid-column: 1 / -1;
}

.cold-start .cold-start-path code {
  padding: 6px 0;
}

.cold-start .cold-start-source > .source-directory-picker {
  justify-content: flex-end;
  padding: 0 12px 6px 0;
}

.cold-start .cold-start-source > .source-directory-picker:has(p) {
  grid-column: 1 / -1;
  padding-left: 14px;
  justify-content: flex-start;
  gap: 4px 8px;
}

.cold-start .source-directory-picker .source-directory-meta {
  font-size: 10px;
  line-height: 1.45;
}

.cold-start .source-directory-picker .source-directory-trigger {
  min-height: 26px;
  padding: 3px 8px;
  font-size: 11px;
}

.cold-start .cold-start-root {
  font-size: 10px;
}

.cold-start .cold-start-root code {
  font-size: 10px;
}

.cold-start .cold-start-welcome-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 28px;
  min-height: 0;
  overflow-y: auto;
  padding: 32px 36px;
}

.cold-start .cold-start-uses {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  padding: 24px 0;
  border-block: 1px solid var(--cold-edge);
}

.cold-start-uses section {
  min-width: 0;
}

.cold-start .cold-start-uses h2 {
  margin: 12px 0 8px;
  font-size: 18px;
  line-height: 1.6;
}

.cold-start .cold-start-uses p {
  color: var(--cold-secondary);
  font-size: 13px;
  line-height: 1.85;
}

.cold-start .cold-start-welcome-body > button {
  align-self: flex-start;
}

.cold-start .first-import-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
  gap: 14px;
  padding: 22px 36px;
}

.cold-start .first-import-list {
  flex: 1;
  min-height: 0;
  overflow-y: scroll;
  scrollbar-gutter: stable;
  scrollbar-color: #8b9eae #e5ebf0;
  overscroll-behavior: contain;
  padding-right: 12px;
}

.cold-start .first-import-source,
.cold-start .first-import-failures {
  margin-bottom: 16px;
  padding: 16px 20px;
  border: 1px solid var(--cold-edge);
  border-radius: 8px;
  background: #fff;
}

.cold-start .first-import-source > header,
.cold-start .first-import-excerpt-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.cold-start .first-import-source h2 {
  font-size: 16px;
}
.cold-start .first-import-state,
.cold-start .cold-start-step-note {
  color: var(--cold-meta);
  font-size: 12px;
}
.cold-start .first-import-state[data-state="failed"],
.cold-start .first-import-state[data-state="stale"] {
  color: var(--cold-error);
}
.cold-start .first-import-source[data-loading] {
  animation: first-import-breath 2.4s ease-in-out infinite;
}

@keyframes first-import-breath {
  0%,
  100% {
    border-color: var(--cold-edge);
    box-shadow: 0 0 0 0 rgba(47, 111, 152, 0);
  }
  50% {
    border-color: #9db8c9;
    box-shadow: 0 0 0 4px rgba(47, 111, 152, 0.07);
  }
}

.cold-start .first-import-source[data-loading] .first-import-state {
  color: var(--cold-action);
}

.cold-start .first-import-source[data-loading] .first-import-state::after {
  content: "…";
  display: inline-block;
  animation: first-import-dots 1.4s steps(4, end) infinite;
  width: 1.2em;
  overflow: hidden;
  vertical-align: bottom;
}

@keyframes first-import-dots {
  0% {
    width: 0;
  }
  100% {
    width: 1.2em;
  }
}

.cold-start .first-import-count {
  margin: 8px 0;
  font-variant-numeric: tabular-nums;
  font-size: 14px;
}
.cold-start .first-import-note {
  color: var(--cold-meta);
  font-size: 12px;
  line-height: 1.75;
}
.cold-start .first-import-excerpts {
  margin-top: 16px;
  border-top: 1px solid var(--cold-edge);
  padding-top: 12px;
}
.cold-start .first-import-excerpts h3 {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 13px;
}
.cold-start .first-import-excerpts article {
  padding: 14px 0;
  border-bottom: 1px solid var(--cold-edge);
}
.cold-start .first-import-excerpts article:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.cold-start .first-import-excerpts article header {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  color: var(--cold-meta);
  font-size: 11px;
}
.cold-start .first-import-excerpts blockquote {
  margin: 8px 0 0;
  padding: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 13px;
  line-height: 1.8;
  background: #fff;
}
.cold-start .first-import-excerpts small {
  font-size: 11px;
  color: var(--cold-meta);
}

.cold-start .cold-start-source > label:has(input:disabled) {
  cursor: default;
}

.cold-start
  :where(.cold-start-source:has(input:disabled))
  .cold-start-app-icon {
  opacity: 0.6;
}

.cold-start :where(.cold-start-source:has(input:disabled)) strong {
  color: #66737e;
}

.cold-start .cold-start-app-icon {
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border: 1px solid #e1e7ed;
  border-radius: 11px;
  background: #f5f7f9;
  color: #242b31;
}

.cold-start .cold-start-app-icon > svg {
  width: 24px;
  height: 24px;
}

.cold-start .cold-start-app-icon[data-app="workbuddy"] > svg {
  border-radius: 5px;
  overflow: hidden;
}

.cold-start
  .cold-start-app-icon:is([data-app="claude"], [data-app="claude-code"]) {
  color: #b07f63;
}

.cold-start .cold-start-source-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 5px;
  min-width: 0;
}

.cold-start .cold-start-source-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 10px;
  min-width: 0;
}

.cold-start .cold-start-source-title strong {
  font-size: 14px;
  line-height: 1.5;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.cold-start .cold-start-location {
  padding: 1px 6px;
  border-radius: 6px;
  background: #f0f3f6;
  color: var(--cold-meta);
  font-size: 10px;
  line-height: 20px;
}

.cold-start .cold-start-location[data-state="found"] {
  color: #486d5d;
  background: #eff5f0;
}

.cold-start
  .cold-start-location:is(
    [data-state="inaccessible"],
    [data-state="invalid"],
    [data-state="failed"]
  ) {
  color: var(--cold-error);
  background: #f8eeec;
}

.cold-start .cold-start-kind,
.cold-start .cold-start-source-body small {
  color: var(--cold-meta);
  font-size: 11px;
  line-height: 1.6;
}

.cold-start .cold-start-source-title .cold-start-kind {
  margin-left: auto;
}

.cold-start .cold-start-later {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 8px;
  flex-shrink: 0;
  padding-top: 14px;
  border-top: 1px solid #d7e0e7;
  color: var(--cold-meta);
}

.cold-start .cold-start-later > svg {
  margin-top: 3px;
  flex-shrink: 0;
}

.cold-start .cold-start-later > div {
  flex: 1 1 200px;
  min-width: 0;
}

.cold-start .cold-start-later p {
  font-size: 12px;
  line-height: 1.7;
  color: var(--cold-text);
}

.cold-start .cold-start-later small {
  display: block;
  font-size: 11px;
  line-height: 1.7;
}

.cold-start .cold-start-later > button {
  min-height: 32px;
  padding: 4px 0;
  font-size: 12px;
}

.cold-start .cold-start-summary {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
  min-height: 0;
  overflow: auto;
  padding: 24px;
  border: 1px solid var(--cold-highlight);
  border-radius: 18px;
  background: linear-gradient(155deg, #ffffff82, #e7eff758);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow:
    inset 0 1px 0 #fff,
    0 10px 26px #3e5b7510;
}

.cold-start .cold-start-summary > div {
  flex-shrink: 0;
}

.cold-start .cold-start-summary > div:first-child {
  padding-top: 4px;
}

.cold-start .cold-start-summary h2 {
  font-size: 15px;
  line-height: 1.7;
  font-weight: 600;
  color: #344d60;
}

.cold-start .cold-start-summary p {
  font-size: 11px;
  line-height: 1.75;
  color: var(--cold-secondary);
}

.cold-start .cold-start-number {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 10px 0;
}

.cold-start .cold-start-number strong {
  min-width: 32px;
  color: #45657d;
  font-size: 49px;
  line-height: 1.1;
  font-weight: 350;
  font-variant-numeric: tabular-nums;
}

.cold-start .cold-start-boundaries {
  padding-top: 18px;
  border-top: 1px solid #d9e2e9;
}

.cold-start .cold-start-boundaries h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #344d60;
  font-size: 13px;
  line-height: 1.7;
  font-weight: 600;
}

.cold-start .cold-start-boundaries dl {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cold-start .cold-start-boundaries dl > div {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 8px;
  font-size: 11px;
  line-height: 1.6;
}

.cold-start .cold-start-boundaries dd {
  color: var(--cold-meta);
}

.cold-start .cold-start-local-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: auto;
  padding: 12px 14px;
  border: 1px solid #dde6ed;
  border-radius: 10px;
  background: #f7fafc;
}

.cold-start .cold-start-local-note > svg {
  margin-top: 2px;
  flex-shrink: 0;
  color: var(--cold-action);
}

.cold-start .cold-start-local-note small {
  display: block;
  margin-top: 7px;
  font-size: 11px;
  line-height: 1.7;
  color: var(--cold-meta);
}

.cold-start .cold-start-read-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex-shrink: 0;
  padding: 18px;
  border-block: 1px solid var(--cold-edge);
  background: #fff;
  font-size: 13px;
  line-height: 1.7;
  cursor: pointer;
}

.cold-start .cold-start-read-consent input {
  margin-top: 3px;
}

.cold-start .cold-start-read-consent strong {
  font-weight: 600;
}

.cold-start .cold-start-read-consent small {
  display: block;
  margin-top: 5px;
  color: var(--cold-secondary);
  font-size: 12px;
  line-height: 1.75;
}

.cold-start .cold-start-foot {
  flex-shrink: 0;
  padding: 18px 36px;
  border-top: 1px solid #ffffffd0;
  background: #ffffff3d;
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.cold-start .cold-start-action-band,
.cold-start .cold-start-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
}

.cold-start .cold-start-action-band > p {
  flex: 1;
  min-width: 0;
  color: var(--cold-meta);
  font-size: 11px;
  line-height: 1.7;
}

.cold-start .cold-start-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.cold-start .cold-start-error {
  margin-bottom: 12px;
  padding: 10px 14px;
  border: 1px solid #e3c5c0;
  border-radius: 6px;
  background: #f8eeec;
  color: var(--cold-error);
  font-size: 12px;
  line-height: 1.75;
}

.cold-start .cold-start-item-error {
  margin-top: 5px;
  color: var(--cold-error);
  font-size: 12px;
  line-height: 1.6;
}

.cold-start .cold-start-empty {
  font-size: 13px;
  line-height: 1.8;
  color: var(--cold-secondary);
}

.cold-start .cold-start-cover {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
}

.cold-start .cold-start-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #1e2a378f;
  animation: cold-start-fade 160ms var(--cold-ease);
}

.cold-start .cold-start-dialog {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(560px, 100%);
  max-height: 100%;
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--cold-highlight);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 28px 80px #172c4138;
  outline: none;
  animation: cold-start-dialog-in 200ms var(--cold-ease);
}

.cold-start .cold-start-dialog > header,
.cold-start .cold-start-dialog > footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-shrink: 0;
  padding: 18px 24px;
  background: #f0f4f7;
}

.cold-start .cold-start-dialog h2 {
  font-size: 20px;
  line-height: 1.5;
  font-weight: 600;
}

.cold-start .cold-start-icon-button {
  width: 36px;
  min-height: 36px;
  flex: 0 0 36px;
  padding: 0;
}

.cold-start .cold-start-dialog-body {
  min-height: 0;
  overflow: auto;
  padding: 24px;
  background: #fff;
}

.cold-start .cold-start-dialog-body > p {
  margin-bottom: 20px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--cold-secondary);
}

.cold-start .cold-start-dialog-body > strong {
  font-size: 14px;
  line-height: 1.8;
}

.cold-start .cold-start-dialog-body > code {
  margin-top: 6px;
  font-size: 12px;
}

.cold-start .cold-start-dialog-body .cold-start-read-consent {
  margin-top: 24px;
  padding: 16px 0 0;
  border-bottom: 0;
}

.cold-start .cold-start-dialog > footer {
  justify-content: flex-end;
}

@keyframes cold-start-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes cold-start-dialog-in {
  from {
    transform: translateY(8px);
  }
  to {
    transform: translateY(0);
  }
}

@media (max-height: 800px) {
  .cold-start {
    padding: 16px 28px;
  }
  .cold-start .cold-start-head {
    padding: 12px 28px;
  }
  .cold-start .cold-start-brand {
    margin-bottom: 6px;
  }
  .cold-start h1 {
    font-size: 24px;
  }
  .cold-start .cold-start-body {
    padding: 14px 28px;
    gap: 22px;
  }
  .cold-start .cold-start-content {
    gap: 10px;
  }
  .cold-start .cold-start-intro {
    font-size: 12px;
  }
  .cold-start .cold-start-candidates {
    gap: 8px;
  }
  .cold-start .cold-start-source > label,
  .cold-start .cold-start-review > li {
    min-height: 72px;
    padding: 11px 13px;
  }
  .cold-start .cold-start-summary {
    padding: 18px;
    gap: 10px;
  }
  .cold-start .cold-start-number strong {
    font-size: 42px;
  }
  .cold-start .cold-start-boundaries {
    padding-top: 14px;
  }
  .cold-start .cold-start-boundaries dl {
    gap: 10px;
    margin-top: 10px;
  }
  .cold-start .cold-start-foot {
    padding: 12px 28px;
  }
  .cold-start .cold-start-intro {
    line-height: 1.65;
  }
  .cold-start .cold-start-section-head p {
    line-height: 1.5;
  }
  .cold-start .cold-start-later {
    padding-top: 8px;
  }
}

@media (max-width: 1100px) {
  .cold-start .cold-start-body {
    grid-template-columns: minmax(0, 1fr) 238px;
  }
  .cold-start .cold-start-head {
    gap: 16px;
  }
  .cold-start .cold-start-steps {
    gap: 2px;
  }
  .cold-start .cold-start-steps li {
    gap: 5px;
    padding-inline: 6px;
  }
  .cold-start .cold-start-actions {
    margin-left: auto;
  }
}

@media (max-width: 760px) {
  .cold-start {
    padding: 12px;
  }
  .cold-start .cold-start-layout {
    border-radius: 18px;
  }
  .cold-start .cold-start-head {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px;
    gap: 14px;
  }
  .cold-start .cold-start-body {
    display: flex;
    flex-direction: column;
    overflow: auto;
    padding: 16px;
  }
  .cold-start .cold-start-content {
    flex-shrink: 0;
  }
  .cold-start .cold-start-candidates {
    flex: none;
    max-height: 330px;
  }
  .cold-start .cold-start-list-area {
    flex: none;
    max-height: 390px;
  }
  .cold-start .cold-start-welcome-body,
  .cold-start .first-import-body {
    padding: 16px;
  }
  .cold-start .cold-start-uses {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    padding: 20px 0;
  }
  .cold-start .cold-start-summary {
    flex-shrink: 0;
    overflow: visible;
  }
  .cold-start .cold-start-section-head {
    flex-wrap: wrap;
  }
  .cold-start .cold-start-foot {
    padding: 12px 16px;
  }
  .cold-start .cold-start-action-band {
    flex-wrap: wrap;
    gap: 8px;
  }
  .cold-start .cold-start-action-band > p {
    flex-basis: 100%;
  }
  .cold-start .cold-start-actions {
    width: 100%;
  }
  .cold-start .cold-start-actions > button {
    flex: 1 1 140px;
  }
  .cold-start .cold-start-cover {
    padding: 16px;
  }
}

@supports not (
    (backdrop-filter: blur(1px)) or
    (-webkit-backdrop-filter: blur(1px))
  ) {
  .cold-start .cold-start-layout {
    background: #eef3f7;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .cold-start
    :is(
      .cold-start-layout,
      .cold-start-head,
      .cold-start-summary,
      .cold-start-foot,
      .cold-start-steps
    ) {
    background: #eef3f7;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

body.reduce-transparency
  .cold-start
  :is(
    .cold-start-layout,
    .cold-start-head,
    .cold-start-summary,
    .cold-start-foot,
    .cold-start-steps
  ),
html[data-learning-rt="true"]
  .cold-start
  :is(
    .cold-start-layout,
    .cold-start-head,
    .cold-start-summary,
    .cold-start-foot,
    .cold-start-steps
  ) {
  background: #eef3f7;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

@media (prefers-reduced-motion: reduce) {
  .cold-start .cold-start-dialog,
  .cold-start .cold-start-cover::before {
    animation: none;
  }
  .cold-start button {
    transition: none;
  }
}

html[data-learning-rm="true"] .cold-start *,
html[data-learning-rm="true"] .cold-start *::before,
html[data-learning-rm="true"] .cold-start *::after {
  animation: none;
  transition: none;
}