:root {
  color-scheme: light;
  --bg: #f7f6f3;
  --card: #ffffff;
  --card-strong: #ffffff;
  --ink: #242424;
  --muted: #787774;
  --line: #e9e7e2;
  --soft: #f0efeb;
  --blue: #2b6f9d;
  --blue-soft: #e1f3fe;
  --green-soft: #edf3ec;
  --yellow-soft: #fbf3db;
  --red-soft: #fdebec;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.035);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  min-height: 100%;
  background: #eeece7;
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family: "SF Pro Display", ui-sans-serif, -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
}

button,
textarea,
input {
  font: inherit;
}

button {
  -webkit-tap-highlight-color: transparent;
}

.app-shell {
  position: relative;
  width: min(100vw, 430px);
  min-height: 100dvh;
  margin: 0 auto;
  overflow: hidden;
  touch-action: pan-y;
}

.space {
  display: none;
  min-height: 100dvh;
  padding: calc(env(safe-area-inset-top) + 20px) 18px calc(env(safe-area-inset-bottom) + 88px);
  animation: space-in 220ms ease-out;
}

.space.active {
  display: block;
}

@keyframes space-in {
  from {
    opacity: 0;
    transform: translateX(18px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  font-size: 29px;
  font-weight: 740;
  line-height: 1.08;
}

h2 {
  font-size: 18px;
  font-weight: 720;
  line-height: 1.15;
}

p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.brand {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 720;
  letter-spacing: 0.04em;
}

.home-head,
.runs-head,
.detail-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}

.home-head h1,
.runs-head h1 {
  max-width: 280px;
}

.avatar-button,
.back-plain,
.more-button {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  background: #111;
  color: #fff;
  font-weight: 760;
}

.back-plain {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
}

.more-button {
  margin-left: auto;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-size: 14px;
}

.block,
.run-group,
.profile-card,
.side-menu,
.detail-thread,
.sheet-panel,
.result-preview {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.block {
  padding: 14px;
  margin-bottom: 12px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 12px;
}

.section-head span {
  color: var(--muted);
  font-size: 12px;
}

.run-strip,
.skill-strip {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.run-strip::-webkit-scrollbar,
.skill-strip::-webkit-scrollbar {
  display: none;
}

.run-mini,
.skill-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card-strong);
  padding: 14px;
  text-align: left;
}

.run-mini {
  position: relative;
  display: flex;
  flex: 0 0 min(82vw, 338px);
  min-height: 172px;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.run-mini::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: #111;
  transform: none;
}

.skill-card {
  flex: 0 0 176px;
  min-height: 126px;
  box-shadow: none;
}

.more-card {
  flex-basis: 116px;
  background: #242424;
  color: #fff;
}

.run-mini span,
.skill-card span {
  display: block;
  margin-bottom: 7px;
  font-size: 12px;
}

.run-mini span {
  color: var(--muted);
}

.skill-card span {
  color: var(--muted);
}

.more-card span,
.more-card small {
  color: rgba(255, 255, 255, 0.68);
}

.run-mini strong,
.skill-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.15;
}

.run-mini strong {
  max-width: 260px;
  color: var(--ink);
  font-size: 25px;
  line-height: 1.12;
}

.skill-card strong {
  color: var(--ink);
}

.more-card strong {
  color: #fff;
  font-size: 17px;
}

.run-mini small,
.skill-card small {
  display: block;
  font-size: 13px;
  line-height: 1.3;
}

.run-mini small {
  width: fit-content;
  border-radius: 999px;
  background: var(--blue-soft);
  padding: 6px 9px;
  color: #1f6c9f;
  font-weight: 720;
}

.skill-card small {
  color: var(--muted);
}

.market-space {
  padding-bottom: calc(env(safe-area-inset-bottom) + 28px);
}

.filter-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin: 2px 0 16px;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.filter-strip::-webkit-scrollbar {
  display: none;
}

.filter {
  flex: 0 0 auto;
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  padding: 0 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 720;
}

.filter.active {
  background: #111;
  color: #fff;
}

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

.library-card {
  min-height: 132px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 14px;
  text-align: left;
  box-shadow: none;
}

.library-card[hidden] {
  display: none;
}

.library-card span,
.library-card strong,
.library-card small {
  display: block;
}

.library-card span {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 12px;
}

.library-card strong {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.18;
}

.library-card small {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}

.ai-inbox {
  position: fixed;
  right: max(14px, calc((100vw - 430px) / 2 + 14px));
  bottom: calc(env(safe-area-inset-bottom) + 14px);
  left: max(14px, calc((100vw - 430px) / 2 + 14px));
  z-index: 12;
  display: grid;
  grid-template-columns: 34px 1fr 34px 38px;
  align-items: center;
  gap: 6px;
  max-width: 402px;
  margin: 0 auto;
  min-height: 64px;
  padding: 7px 8px 7px 13px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow:
    0 12px 34px rgba(0, 0, 0, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.9) inset;
  backdrop-filter: blur(18px);
}

.ai-inbox input {
  min-width: 0;
  height: 42px;
  border: 0;
  background: transparent;
  color: var(--ink);
  outline: none;
  font-size: 16px;
  line-height: 42px;
}

.ai-inbox input::placeholder {
  color: #9a9995;
}

.ai-inbox button,
.detail-composer button {
  border: 0;
  border-radius: 12px;
  background: #111;
  color: #fff;
  font-size: 22px;
  font-weight: 760;
}

.ai-inbox .inbox-tool {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: transparent;
  color: #77756f;
  font-size: 28px;
  font-weight: 420;
}

.voice-tool {
  position: relative;
  font-size: 0 !important;
}

.voice-tool::before {
  content: "";
  width: 10px;
  height: 16px;
  border: 2px solid #8d8b86;
  border-radius: 999px;
}

.voice-tool::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border-right: 2px solid #8d8b86;
  border-bottom: 2px solid #8d8b86;
  border-left: 2px solid transparent;
  border-radius: 0 0 999px 999px;
  transform: translateY(3px);
}

.send-button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50% !important;
  background: #050505 !important;
}

.send-button span {
  display: block;
  width: 13px;
  height: 13px;
  border-radius: 3px;
  background: #fff;
}

.side-space {
  background: #fff;
}

.profile-card {
  padding: 24px 18px;
  box-shadow: none;
}

.avatar {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: 22px;
  border-radius: 18px;
  background: #111;
  color: #fff;
  font-size: 28px;
  font-weight: 800;
}

.side-menu {
  display: grid;
  gap: 4px;
  margin-top: 18px;
  padding: 12px;
  box-shadow: none;
}

.side-menu button {
  min-height: 72px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  padding: 12px;
  text-align: left;
}

.side-menu span {
  display: block;
  color: var(--ink);
  font-size: 20px;
  font-weight: 720;
}

.side-menu strong {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 520;
}

.run-group {
  margin-bottom: 14px;
  padding: 16px;
}

.run-group h2 {
  margin-bottom: 12px;
}

.run-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  min-height: 72px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card-strong);
  padding: 14px;
  text-align: left;
}

.run-row + .run-row {
  margin-top: 10px;
}

.run-row strong,
.run-row span {
  display: block;
}

.run-row strong {
  color: var(--ink);
  font-size: 17px;
}

.run-row span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
}

.run-row em {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 7px 10px;
  background: var(--soft);
  color: #333;
  font-size: 12px;
  font-style: normal;
  font-weight: 720;
}

.run-row.live em {
  background: #e7f1ff;
  color: #1e6fc4;
}

.detail-view {
  position: fixed;
  inset: 0;
  z-index: 24;
  display: none;
  width: min(100vw, 430px);
  margin: 0 auto;
  padding: calc(env(safe-area-inset-top) + 18px) 18px calc(env(safe-area-inset-bottom) + 92px);
  background: var(--bg);
  animation: detail-in 240ms ease-out;
}

.detail-view.open {
  display: block;
}

@keyframes detail-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.detail-head {
  align-items: center;
}

.detail-head h1 {
  font-size: 22px;
}

.detail-kicker {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 720;
  letter-spacing: 0.04em;
}

.more-wrap {
  position: relative;
  margin-left: auto;
}

.more-menu {
  position: absolute;
  top: 48px;
  right: 0;
  z-index: 4;
  display: none;
  width: 176px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 6px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.more-menu.open {
  display: grid;
}

.more-menu button {
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  padding: 0 10px;
  color: var(--ink);
  text-align: left;
  font-size: 14px;
}

.more-menu button:last-child {
  color: #9f2f2d;
}

.detail-thread {
  display: grid;
  gap: 12px;
  border: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.detail-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 16px;
}

.intro-card {
  min-height: 156px;
}

.state-pill {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--blue-soft);
  padding: 7px 10px;
  color: #1f6c9f;
  font-size: 12px;
  font-weight: 720;
}

.detail-card h2 {
  max-width: 280px;
  margin-bottom: 10px;
  font-size: 25px;
  line-height: 1.12;
}

.detail-card h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.2;
}

.detail-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.progress-line {
  overflow: hidden;
  height: 6px;
  margin: 0 2px;
  border-radius: 999px;
  background: var(--soft);
}

.progress-line span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--blue);
}

.step-label {
  width: fit-content;
  margin: 0 0 10px;
  border-radius: 999px;
  background: #fff;
  padding: 7px 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 720;
}

.detail-list {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.detail-list-item {
  border-radius: 10px;
  background: #f7f6f3;
  padding: 10px 12px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.35;
}

.runtime-map {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.runtime-flow {
  display: grid;
  gap: 10px;
}

.process-current {
  border: 1px solid rgba(30, 27, 23, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
  padding: 14px;
}

.process-head span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.process-current {
  background: rgba(255, 255, 255, 0.86);
}

.process-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.process-head button {
  flex: 0 0 auto;
  min-height: 30px;
  border: 0;
  border-radius: 999px;
  background: #111;
  padding: 0 11px;
  color: #fff;
  font-size: 12px;
  font-weight: 720;
}

.process-current h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.process-current p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.process-stream {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.process-item {
  position: relative;
  min-height: 38px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: #f7f6f3;
  padding: 10px 12px 10px 32px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.3;
}

.process-item::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 13px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c9c4ba;
}

.process-item.active {
  border-color: rgba(17, 17, 17, 0.16);
  background: #fff;
  font-weight: 720;
}

.process-item.active::before {
  background: #111;
}

.process-item.done::before {
  background: #346538;
}

.process-item.source-needed {
  border-color: rgba(159, 47, 45, 0.14);
  background: #fdebec;
  color: #7b2624;
}

.process-item.source-needed::before {
  background: #9f2f2d;
}

.process-current[data-phase="source"] {
  border-color: rgba(159, 47, 45, 0.16);
}

.process-current[data-phase="running"] {
  border-color: rgba(17, 17, 17, 0.16);
}

.process-current[data-phase="draft"] {
  border-color: rgba(122, 86, 0, 0.16);
}

.process-current[data-phase="done"] {
  border-color: rgba(52, 101, 56, 0.16);
}

.source-collector {
  display: grid;
  gap: 10px;
}

.source-input-card {
  display: grid;
  gap: 8px;
  min-height: 116px;
  border: 1px solid rgba(30, 27, 23, 0.1);
  border-radius: 16px;
  background: #fff;
  padding: 14px;
}

.source-input-card span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.source-text-input {
  width: 100%;
  min-height: 40px;
  border: 0;
  border-radius: 10px;
  background: #f7f6f3;
  padding: 0 11px;
  outline: none;
  color: var(--ink);
}

.source-file-input {
  color: var(--muted);
  font-size: 12px;
}

.source-add {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(17, 17, 17, 0.08);
  color: var(--ink);
  font-size: 24px;
}

.source-confirm {
  min-height: 46px;
  border: 0;
  border-radius: 14px;
  background: #111;
  color: #fff;
  font-weight: 760;
}

.runtime-card {
  min-width: 0;
  border: 1px solid rgba(30, 27, 23, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.76);
  padding: 13px;
}

.persona-card,
.workflow-card,
.tool-card {
  grid-column: 1 / -1;
}

.runtime-card > span,
.runtime-card-head span {
  display: block;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.runtime-card strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.42;
}

.runtime-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.runtime-card-head button {
  flex: 0 0 auto;
  min-height: 28px;
  border: 0;
  border-radius: 999px;
  background: #111;
  padding: 0 9px;
  color: #fff;
  font-size: 12px;
  font-weight: 720;
}

.runtime-list,
.workflow-list,
.tool-list {
  display: grid;
  gap: 8px;
}

.source-item,
.workflow-item,
.tool-item {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: rgba(247, 246, 243, 0.84);
  padding: 8px 10px;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.25;
}

.source-item::before,
.tool-item::before {
  content: "";
  flex: 0 0 7px;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: #c9c4ba;
}

.source-item.done::before,
.tool-item.done::before {
  background: #346538;
}

.source-item.active::before,
.tool-item.active::before {
  background: #111;
}

.source-item.missing {
  border-color: rgba(159, 47, 45, 0.16);
  background: #fdebec;
  color: #7b2624;
}

.source-item.missing::before {
  background: #9f2f2d;
}

.workflow-item {
  min-height: 42px;
  padding-left: 45px;
}

.workflow-item::before {
  content: attr(data-step);
  position: absolute;
  left: 10px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #e7e2d8;
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}

.workflow-item.done::before {
  background: var(--green-soft);
  color: #346538;
}

.workflow-item.active {
  border-color: rgba(17, 17, 17, 0.16);
  background: #fff;
  font-weight: 720;
}

.workflow-item.active::before {
  background: #111;
  color: #fff;
}

.tool-item.active {
  border-color: rgba(17, 17, 17, 0.14);
  background: #fff;
  font-weight: 720;
}

.result-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 8px;
}

.result-actions button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font-weight: 720;
}

.detail-composer {
  position: fixed;
  right: max(14px, calc((100vw - 430px) / 2 + 14px));
  bottom: calc(env(safe-area-inset-bottom) + 14px);
  left: max(14px, calc((100vw - 430px) / 2 + 14px));
  display: grid;
  grid-template-columns: 1fr 46px;
  gap: 8px;
  max-width: 402px;
  margin: 0 auto;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.055);
}

.detail-composer.agent-input {
  grid-template-columns: 34px 1fr 34px 38px;
  align-items: center;
  min-height: 60px;
  padding: 7px 8px 7px 13px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 38px rgba(23, 19, 14, 0.16);
}

.agent-input .inbox-tool {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: transparent;
  color: #77756f;
  font-size: 28px;
  font-weight: 420;
}

.agent-input .send-button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50% !important;
  background: #050505 !important;
}

.detail-composer input {
  border: 0;
  min-width: 0;
  height: 42px;
  border-radius: 0;
  background: transparent;
  padding: 0;
  outline: none;
  font-size: 15px;
}

.vertical-hint {
  margin-top: 12px;
  color: rgba(17, 17, 17, 0.42);
  font-size: 12px;
  text-align: center;
}

.sheet {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  align-items: flex-end;
  justify-content: center;
  background: rgba(0, 0, 0, 0.18);
}

.sheet.open {
  display: flex;
}

.sheet-panel {
  width: min(100vw - 24px, 406px);
  margin-bottom: calc(env(safe-area-inset-bottom) + 12px);
  padding: 12px 18px 18px;
  border-radius: 18px;
}

.sheet-handle {
  width: 42px;
  height: 5px;
  margin: 0 auto 16px;
  border-radius: 999px;
  background: #d2d2cf;
}

.sheet-content {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.sheet-item {
  border-radius: 12px;
  background: #f4f4f2;
  padding: 14px;
}

.sheet-item strong,
.sheet-item span {
  display: block;
}

.sheet-item span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.ghost-wide {
  width: 100%;
  min-height: 48px;
  margin-top: 12px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
}

button:active {
  transform: scale(0.98);
}

@media (min-width: 760px) {
  body {
    display: grid;
    place-items: center;
    padding: 30px 0;
  }

  .app-shell,
  .detail-view {
    min-height: 860px;
    max-height: 900px;
    border-radius: 42px;
    background: var(--bg);
    box-shadow:
      0 0 0 1px rgba(0, 0, 0, 0.05),
      0 20px 70px rgba(0, 0, 0, 0.08);
  }
}

@media (max-width: 360px) {
  .space {
    padding-left: 14px;
    padding-right: 14px;
  }

  h1 {
    font-size: 27px;
  }

  .run-mini,
  .skill-card {
    flex-basis: 158px;
  }

  .run-mini {
    flex-basis: 300px;
  }

  .more-card {
    flex-basis: 108px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    transition-duration: 1ms !important;
  }
}

/* gpt-taste visual pass */
body {
  background:
    linear-gradient(90deg, rgba(20, 20, 20, 0.026) 1px, transparent 1px),
    linear-gradient(180deg, #f8f4ed 0%, #eee9df 100%);
  background-size: 34px 34px, auto;
}

.app-shell {
  isolation: isolate;
}

.ambient-field {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: min(100vw, 430px);
  margin: 0 auto;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0 58%, rgba(17, 17, 17, 0.055) 58% 58.5%, transparent 58.5%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0));
}

.home-head,
.runs-head,
.detail-head {
  position: relative;
  align-items: center;
}

.home-head h1,
.runs-head h1 {
  max-width: 330px;
  font-size: clamp(30px, 8.4vw, 42px);
  line-height: 0.96;
  letter-spacing: -0.03em;
}

.brand,
.detail-kicker {
  text-transform: uppercase;
}

.avatar-button,
.back-plain,
.more-button {
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.block,
.run-group,
.profile-card,
.side-menu,
.detail-card,
.sheet-panel {
  border-color: rgba(21, 21, 21, 0.09);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 18px 44px rgba(24, 20, 15, 0.08);
  backdrop-filter: blur(18px);
}

.block,
.run-group,
.library-card,
.detail-card,
.ai-inbox {
  animation: card-rise 560ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.recommend-block {
  animation-delay: 90ms;
}

@keyframes card-rise {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.section-head h2 {
  font-size: 20px;
  letter-spacing: -0.02em;
}

.run-strip,
.skill-strip {
  gap: 12px;
  padding: 2px 2px 8px;
}

.run-mini,
.skill-card,
.library-card,
.run-row {
  transition:
    transform 260ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 260ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 260ms ease;
}

.run-mini:active,
.skill-card:active,
.library-card:active,
.run-row:active {
  transform: scale(0.975);
}

.run-mini {
  flex-basis: min(84vw, 348px);
  min-height: 210px;
  border: 0;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 34%),
    linear-gradient(160deg, #111 0%, #2a2823 54%, #6b5d48 100%);
  box-shadow: 0 26px 56px rgba(30, 25, 20, 0.22);
}

.run-mini::before {
  height: 100%;
  background:
    repeating-linear-gradient(110deg, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px 16px);
  opacity: 0.24;
}

.run-mini span,
.run-mini strong,
.run-mini small {
  position: relative;
  z-index: 1;
}

.run-mini span {
  color: rgba(255, 255, 255, 0.66);
  letter-spacing: 0.06em;
}

.run-mini strong {
  max-width: 300px;
  color: #fff;
  font-size: 32px;
  letter-spacing: -0.04em;
}

.run-mini small {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.13);
  color: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
}

.skill-card {
  flex-basis: 184px;
  min-height: 142px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.62)),
    #fff;
  box-shadow: 0 14px 34px rgba(28, 24, 18, 0.07);
}

.skill-card strong {
  max-width: 140px;
  font-size: 21px;
  letter-spacing: -0.03em;
}

.skill-card span {
  width: fit-content;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 999px;
  background: rgba(247, 246, 243, 0.78);
  padding: 5px 8px;
}

.skill-card:hover,
.library-card:hover {
  transform: translateY(-2px);
  border-color: rgba(17, 17, 17, 0.2);
}

.more-card {
  background:
    linear-gradient(145deg, #111, #2d2a25);
}

.ai-inbox {
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow:
    0 22px 52px rgba(23, 19, 14, 0.18),
    0 1px 0 rgba(255, 255, 255, 0.94) inset;
}

.send-button {
  transition: transform 180ms ease, background 180ms ease;
}

.send-button:active {
  transform: scale(0.92);
}

.market-space .runs-head h1,
.detail-head h1 {
  letter-spacing: -0.03em;
}

.library-grid {
  grid-auto-flow: dense;
  gap: 12px;
}

.library-card {
  min-height: 154px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.68)),
    #fff;
}

.library-card:nth-child(1),
.library-card:nth-child(5) {
  min-height: 188px;
}

.detail-view {
  background:
    linear-gradient(90deg, rgba(20, 20, 20, 0.025) 1px, transparent 1px),
    linear-gradient(180deg, #f7f3ec 0%, #eee9df 100%);
  background-size: 34px 34px, auto;
}

.intro-card {
  min-height: 190px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.68)),
    #fff;
}

.state-pill {
  background: #111;
  color: #fff;
}

.detail-card h2 {
  max-width: 340px;
  font-size: 34px;
  letter-spacing: -0.05em;
}

.detail-card h3 {
  font-size: 20px;
  letter-spacing: -0.03em;
}

.detail-list {
  gap: 10px;
}

.detail-list-item {
  border: 1px solid rgba(0, 0, 0, 0.04);
  background: rgba(247, 246, 243, 0.82);
}

.progress-line {
  height: 8px;
  background: rgba(255, 255, 255, 0.74);
}

.progress-line span {
  background: #111;
}

.result-actions button,
.filter.active {
  background: #111;
  color: #fff;
}

.detail-composer {
  border-radius: 28px;
  box-shadow: 0 18px 44px rgba(23, 19, 14, 0.14);
}

@media (max-width: 360px) {
  .home-head h1,
  .runs-head h1 {
    font-size: 30px;
  }

  .run-mini {
    flex-basis: 300px;
  }

  .skill-card {
    flex-basis: 164px;
  }
}

/* Flowin refined product pass */
body {
  background: #f6f4ef;
  background-image: none;
}

.ambient-field {
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.9), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.5), transparent 44%);
}

.space {
  padding-top: calc(env(safe-area-inset-top) + 18px);
}

.home-head {
  margin-bottom: 14px;
}

.home-head h1 {
  max-width: 260px;
  font-size: 26px;
  line-height: 1.04;
  letter-spacing: -0.025em;
}

.brand {
  margin-bottom: 5px;
  font-size: 11px;
}

.avatar-button,
.back-plain,
.more-button {
  width: 40px;
  height: 40px;
  flex-basis: 40px;
  border-radius: 14px;
  box-shadow: none;
}

.block,
.run-group,
.profile-card,
.side-menu,
.detail-card,
.sheet-panel {
  border: 1px solid rgba(30, 27, 23, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 30px rgba(28, 24, 18, 0.055);
}

.block {
  padding: 13px;
}

.running-block {
  background: rgba(255, 255, 255, 0.6);
}

.section-head {
  margin-bottom: 10px;
}

.section-head h2 {
  font-size: 17px;
  letter-spacing: -0.015em;
}

.run-strip,
.skill-strip {
  gap: 10px;
  padding-bottom: 4px;
}

.run-mini {
  flex-basis: min(79vw, 318px);
  min-height: 164px;
  border: 1px solid rgba(30, 27, 23, 0.08);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(250, 248, 242, 0.88)),
    #fff;
  box-shadow: 0 14px 34px rgba(28, 24, 18, 0.07);
}

.run-mini::before {
  inset: 12px 12px auto;
  width: calc(100% - 24px);
  height: 5px;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.1);
  opacity: 1;
}

.run-mini span {
  color: var(--muted);
  letter-spacing: 0;
}

.run-mini strong {
  color: var(--ink);
  font-size: 25px;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.run-mini small {
  border: 0;
  background: #111;
  color: #fff;
  backdrop-filter: none;
}

.skill-card {
  flex-basis: 168px;
  min-height: 124px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: none;
}

.skill-card strong {
  max-width: 128px;
  font-size: 19px;
}

.skill-card span {
  border: 0;
  background: rgba(17, 17, 17, 0.055);
  padding: 4px 8px;
}

.more-card {
  flex-basis: 108px;
  background: #111;
}

.ai-inbox {
  min-height: 60px;
  border-radius: 30px;
  box-shadow: 0 14px 38px rgba(23, 19, 14, 0.16);
}

.runs-head h1,
.market-space .runs-head h1,
.detail-head h1 {
  font-size: 28px;
  line-height: 1.03;
  letter-spacing: -0.03em;
}

.run-row,
.library-card {
  border-radius: 18px;
}

.library-card {
  min-height: 142px;
  background: rgba(255, 255, 255, 0.78);
}

.library-card:nth-child(1),
.library-card:nth-child(5) {
  min-height: 164px;
}

.detail-view {
  overflow-y: auto;
  background: #f6f4ef;
  background-image: none;
}

.detail-card {
  background: rgba(255, 255, 255, 0.82);
}

.intro-card {
  min-height: 168px;
}

.detail-card h2 {
  max-width: 316px;
  font-size: 29px;
  line-height: 1.06;
}

.detail-view[data-detail-type="skill"] .state-pill {
  background: var(--yellow-soft);
  color: #7a5600;
}

.detail-view[data-detail-type="draft"] .state-pill {
  background: var(--yellow-soft);
  color: #7a5600;
}

.detail-view[data-detail-type="running"] .state-pill {
  background: #111;
  color: #fff;
}

.detail-view[data-detail-type="done"] .state-pill {
  background: var(--green-soft);
  color: #346538;
}

.detail-view[data-detail-type="running"] #detailInfoCard {
  background: rgba(255, 255, 255, 0.68);
}

.detail-view[data-detail-type="running"] .detail-list-item {
  position: relative;
  padding-left: 30px;
}

.detail-view[data-detail-type="running"] .detail-list-item::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 13px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #111;
}

.detail-view[data-detail-type="done"] #detailInfoCard {
  border-color: rgba(52, 101, 56, 0.16);
}

.result-actions button {
  min-height: 46px;
  border-radius: 14px;
}

.save-skill-panel p {
  margin: 8px 0 16px;
}

.skill-name-field {
  display: grid;
  gap: 8px;
  margin: 16px 0 12px;
}

.skill-name-field span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 720;
}

.skill-name-field input {
  width: 100%;
  height: 48px;
  border: 1px solid rgba(30, 27, 23, 0.08);
  border-radius: 14px;
  background: #f7f6f3;
  padding: 0 14px;
  outline: none;
}

.save-name-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin-bottom: 12px;
  scrollbar-width: none;
}

.save-name-row::-webkit-scrollbar {
  display: none;
}

.save-name-row button {
  flex: 0 0 auto;
  min-height: 34px;
  border: 0;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.07);
  padding: 0 12px;
  color: var(--ink);
}

.primary-wide {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 14px;
  background: #111;
  color: #fff;
  font-weight: 760;
}

/* Drawer and memory page */
.side-drawer {
  position: fixed;
  inset: 0;
  z-index: 34;
  display: none;
  width: min(100vw, 430px);
  margin: 0 auto;
}

.side-drawer.open {
  display: block;
}

.drawer-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.36);
}

.side-drawer .side-space {
  position: relative;
  z-index: 1;
  width: min(78vw, 336px);
  min-height: 100dvh;
  padding: calc(env(safe-area-inset-top) + 48px) 22px calc(env(safe-area-inset-bottom) + 24px);
  background: #fff;
  box-shadow: 18px 0 44px rgba(0, 0, 0, 0.16);
  animation: drawer-in 240ms cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes drawer-in {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}

.side-drawer .profile-card {
  border: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.side-drawer .avatar {
  width: 76px;
  height: 76px;
  margin-bottom: 24px;
  border-radius: 26px;
}

.side-drawer .profile-card h1 {
  font-size: 28px;
  letter-spacing: -0.03em;
}

.side-drawer .side-menu {
  gap: 12px;
  margin-top: 48px;
  border: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.side-drawer .side-menu button {
  min-height: 64px;
  border-radius: 16px;
  padding: 10px 8px;
}

.side-drawer .side-menu button:active {
  background: #f6f4ef;
}

.memory-space {
  padding-bottom: calc(env(safe-area-inset-bottom) + 30px);
}

.memory-hero {
  border: 1px solid rgba(30, 27, 23, 0.08);
  border-radius: 24px;
  background: #111;
  padding: 20px;
  color: #fff;
  box-shadow: 0 20px 46px rgba(24, 20, 15, 0.12);
}

.memory-hero span,
.memory-card span {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}

.memory-hero span {
  color: rgba(255, 255, 255, 0.62);
}

.memory-hero strong {
  display: block;
  color: #fff;
  font-size: 25px;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.memory-hero p {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.memory-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.memory-card {
  border: 1px solid rgba(30, 27, 23, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  padding: 16px;
  box-shadow: 0 10px 30px rgba(28, 24, 18, 0.055);
}

.memory-card p {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.55;
}

/* App Store typography scale */
body {
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

h1 {
  font-size: 28px;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

h2 {
  font-size: 20px;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

p {
  font-size: 14px;
  line-height: 1.45;
}

.home-head h1 {
  max-width: 310px;
  font-size: 28px;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.runs-head h1,
.market-space .runs-head h1,
.detail-head h1 {
  font-size: 28px;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.brand,
.detail-kicker,
.section-head span,
.runtime-card > span,
.runtime-card-head span,
.process-head span,
.memory-hero span,
.memory-card span {
  font-size: 11px;
  letter-spacing: 0.02em;
}

.section-head h2 {
  font-size: 20px;
  line-height: 1.15;
}

.run-mini strong {
  font-size: 22px;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.run-mini span,
.skill-card span,
.run-mini small,
.skill-card small {
  font-size: 12px;
}

.skill-card strong,
.library-card strong {
  font-size: 17px;
  line-height: 1.18;
  letter-spacing: -0.015em;
}

.run-row strong {
  font-size: 16px;
}

.run-row span,
.run-row em {
  font-size: 12px;
}

.detail-card h2 {
  max-width: 300px;
  font-size: 24px;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.detail-card h3,
.process-current h3 {
  font-size: 17px;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.detail-card p,
.process-current p,
.memory-card p {
  font-size: 14px;
  line-height: 1.48;
}

.process-item,
.detail-list-item,
.source-input-card span,
.runtime-card strong {
  font-size: 13px;
  line-height: 1.35;
}

.ai-inbox input,
.detail-composer input {
  font-size: 15px;
}

.side-drawer .profile-card h1 {
  font-size: 24px;
  line-height: 1.12;
}

.side-menu span {
  font-size: 18px;
}

.side-menu strong {
  font-size: 12px;
}

.memory-hero strong {
  font-size: 22px;
  line-height: 1.14;
  letter-spacing: -0.025em;
}

@media (max-width: 360px) {
  .home-head h1,
  .runs-head h1,
  .market-space .runs-head h1,
  .detail-head h1 {
    font-size: 26px;
  }

  .run-mini strong {
    font-size: 21px;
  }

  .detail-card h2 {
    font-size: 23px;
  }
}

/* Final mobile scale and skill library cells */
body {
  font-size: 14px;
}

h1,
.home-head h1,
.runs-head h1,
.market-space .runs-head h1,
.detail-head h1 {
  font-size: 24px;
  line-height: 1.12;
  letter-spacing: -0.015em;
}

h2,
.section-head h2,
.run-group h2 {
  font-size: 18px;
  line-height: 1.18;
  letter-spacing: 0;
}

.home-head {
  gap: 12px;
}

.brand,
.detail-kicker,
.section-head span,
.runtime-card > span,
.runtime-card-head span,
.process-head span,
.memory-hero span,
.memory-card span {
  font-size: 10px;
}

.run-mini strong {
  font-size: 20px;
  line-height: 1.12;
  letter-spacing: -0.012em;
}

.skill-card strong,
.run-row strong,
.memory-hero strong {
  font-size: 16px;
  letter-spacing: 0;
}

.detail-card h2 {
  max-width: 280px;
  font-size: 21px;
  line-height: 1.14;
  letter-spacing: -0.012em;
}

.detail-card h3,
.process-current h3 {
  font-size: 16px;
  line-height: 1.22;
  letter-spacing: 0;
}

.detail-card p,
.process-current p,
.memory-card p,
.run-row span,
.run-row em {
  font-size: 13px;
  line-height: 1.45;
}

.ai-inbox input,
.detail-composer input,
.source-input-card input {
  font-size: 14px;
  line-height: 1.25;
}

.ai-inbox,
.detail-composer {
  min-height: 54px;
}

.library-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 12px;
  align-items: start;
}

.library-card {
  min-height: 0;
  padding: 0;
  display: grid;
  gap: 6px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.library-card:nth-child(1),
.library-card:nth-child(5) {
  min-height: 0;
}

.library-visual {
  position: relative;
  min-height: 156px;
  padding: 13px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border-radius: 17px;
  color: #fff;
  isolation: isolate;
}

.library-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.98;
}

.library-visual::after {
  content: "";
  position: absolute;
  inset: auto -28px -44px auto;
  width: 138px;
  height: 138px;
  z-index: -1;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.26);
  filter: blur(1px);
}

.library-visual span,
.library-visual strong,
.library-visual small {
  display: block;
}

.library-visual span {
  position: absolute;
  top: 11px;
  left: 11px;
  margin: 0;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.92);
  font-size: 11px;
  font-weight: 720;
}

.library-visual strong {
  max-width: 112px;
  color: #fff;
  font-size: 16px;
  line-height: 1.14;
  letter-spacing: 0;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.16);
}

.library-visual small {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 11px;
  line-height: 1.2;
}

.library-try {
  min-height: 40px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #f0edf8;
  color: #151515;
  font-size: 14px;
  font-weight: 760;
}

.research-visual::before {
  background:
    radial-gradient(circle at 76% 24%, rgba(255, 255, 255, 0.28) 0 18%, transparent 19%),
    linear-gradient(145deg, #272a31, #5c6674 52%, #111316);
}

.morning-visual::before {
  background:
    radial-gradient(circle at 74% 26%, rgba(255, 255, 255, 0.36) 0 16%, transparent 17%),
    linear-gradient(145deg, #9b6a45, #d5a66d 45%, #6d7d7a);
}

.writing-visual::before {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.22) 0 20%, transparent 21%),
    linear-gradient(145deg, #40515d, #1f292f 58%, #0f1113);
}

.shop-visual::before {
  background:
    radial-gradient(circle at 72% 28%, rgba(255, 255, 255, 0.28) 0 15%, transparent 16%),
    linear-gradient(145deg, #335e52, #7e9f8b 54%, #19231f);
}

.talk-visual::before {
  background:
    radial-gradient(circle at 72% 28%, rgba(255, 255, 255, 0.32) 0 16%, transparent 17%),
    linear-gradient(145deg, #553d55, #b68a9e 54%, #2b2330);
}

.meeting-visual::before {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0 22%, transparent 23%),
    linear-gradient(145deg, #4b4e64, #8a8fa1 56%, #222633);
}

@media (max-width: 360px) {
  h1,
  .home-head h1,
  .runs-head h1,
  .market-space .runs-head h1,
  .detail-head h1 {
    font-size: 23px;
  }

  .library-visual {
    min-height: 142px;
    border-radius: 15px;
  }

  .library-visual strong {
    font-size: 15px;
  }
}

.avatar-button {
  overflow: hidden;
  padding: 0;
  border-radius: 15px;
  background: #f4efe8;
}

.avatar-button img,
.profile-card .avatar {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.profile-card .avatar {
  width: 76px;
  height: 76px;
  border-radius: 24px;
  background: #f4efe8;
}

.source-collector {
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(30, 27, 23, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
}

.source-input-card {
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.source-text-input {
  min-height: 40px;
  border-radius: 18px;
  background: transparent;
  padding: 0 4px;
  font-size: 14px;
}

.source-text-input::placeholder {
  color: rgba(30, 27, 23, 0.42);
}

.source-file-input {
  display: none;
}

.source-add,
.source-confirm {
  width: 36px;
  height: 36px;
  min-height: 36px;
  border-radius: 50%;
  font-size: 20px;
}

.source-add {
  grid-column: 1;
  grid-row: 1;
  background: #f3f1ed;
  color: rgba(30, 27, 23, 0.72);
}

.source-input-card {
  grid-column: 2;
  grid-row: 1;
}

.source-input-card + .source-input-card {
  grid-column: 1 / -1;
  grid-row: auto;
  border-radius: 18px;
  background: #f7f5f1;
  padding: 0 10px;
}

.source-confirm {
  grid-column: 3;
  grid-row: 1;
  display: grid;
  place-items: center;
  padding: 0;
  background: #111;
  color: #fff;
  line-height: 1;
}
