/* Profile Prompts on your own Profile (direction A, SPEC.md): the sage nudge,
   your answers, the picker and the editor. Colors are the brand tokens:
   cream #F7F1E6, ink #1C1917, tomato #C9362A, sage #D7E6D4, produce #1F7A4D,
   muted #8A837A, and #5F5A54 for small text. */

.prompts-nudge,
.prompts-mine,
.prompts-screen {
  font-family: Outfit, "Pretendard", "Noto Sans KR", system-ui, -apple-system, "Apple SD Gothic Neo", sans-serif;
  color: #1C1917;
}

/* Own-profile nudge, shown only to you while nothing is answered. */
.prompts-nudge {
  box-sizing: border-box;
  margin: 16px 0 0;
  padding: 18px;
  border-radius: 20px;
  background: #D7E6D4;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
}

.prompts-nudge-title {
  margin: 0;
  font-size: var(--aisle-sub-size, 16px);
  font-weight: var(--aisle-sub-weight, 600);
  line-height: 1.3;
  text-transform: none;
  color: var(--aisle-ink, #1C1917);
}

.prompts-btn {
  box-sizing: border-box;
  width: 100%;
  min-height: 56px;
  border: none;
  border-radius: 16px;
  font-family: inherit;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
}

.prompts-nudge .prompts-btn {
  font-size: var(--aisle-btn-size, 16px);
  font-weight: var(--aisle-btn-weight, 600);
  white-space: nowrap;
}

.prompts-btn-primary {
  background: #C9362A;
  color: #FFFFFF;
}

.prompts-btn-primary:disabled {
  background: #E2D9CB;
  color: var(--rt-muted, #5F5A54);
  cursor: default;
}

.prompts-ghost {
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: var(--aisle-btn-size, 16px);
  font-weight: var(--aisle-btn-weight, 600);
  white-space: nowrap;
  color: #5F5A54;
  cursor: pointer;
}

.prompts-ghost:disabled {
  opacity: 0.5;
  cursor: default;
}

.prompts-nudge .prompts-ghost {
  min-height: 44px;
  margin-top: -4px;
}

/* Your answers on your own Profile. */
.prompts-mine {
  box-sizing: border-box;
  margin: 16px 0 0;
  padding: 18px;
  border-radius: 20px;
  background: #FFFFFF;
  border: 1px solid #E6DED0;
}

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

.prompts-mine-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.prompts-mine-item {
  padding: 12px 0;
  border-bottom: 1px solid #EFE8DC;
}

.prompts-mine-item:last-of-type {
  border-bottom: none;
}

.prompts-q {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 600;
  color: #5F5A54;
}

.prompts-a {
  margin: 0;
  font-size: var(--aisle-sub-size, 16px);
  font-weight: var(--aisle-sub-weight, 600);
  line-height: 1.3;
  text-transform: none;
  color: var(--aisle-ink, #1C1917);
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.prompts-mine-edit {
  margin-top: 4px;
}

/* n/3 bar: three 28x6 segments, produce when filled. */
.prompts-progress {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.prompts-segs {
  display: inline-flex;
  gap: 4px;
}

.prompts-seg {
  display: block;
  width: 28px;
  height: 6px;
  border-radius: 3px;
  background: #E2D9CB;
}

.prompts-seg.is-on {
  background: #1F7A4D;
}

.prompts-progress-count {
  font-size: 14px;
  font-weight: 600;
  color: #5F5A54;
  font-variant-numeric: tabular-nums;
}

/* Picker */
.prompts-head {
  margin: 4px 0 20px;
}

.prompts-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 12px;
}

.prompts-screen .prompts-title {
  margin: 0;
}

/* Design: "Answer 1 to 3" right under the title, in the regular secondary
   text style. */
.prompts-sub {
  margin: 4px 0 0;
  font-size: 15px;
  font-weight: 400;
  color: #5F5A54;
}

.prompts-group {
  margin: 0 0 20px;
}

.prompts-eyebrow {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #5F5A54;
}

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

.prompts-row {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 48px;
  padding: 13px 14px;
  border: none;
  border-radius: 14px;
  background: #FFFFFF;
  color: #1C1917;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}

.prompts-row.is-picked {
  box-shadow: inset 0 0 0 2px #1F7A4D;
}

.prompts-row.is-blocked {
  opacity: 0.5;
  cursor: default;
}

.prompts-row-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1 1 auto;
  min-width: 0;
}

.prompts-row-answer {
  font-size: 14px;
  font-weight: 400;
  color: #5F5A54;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.prompts-plus {
  flex: 0 0 auto;
  width: 24px;
  text-align: center;
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  color: var(--rt-muted, #5F5A54);
}

.prompts-check {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #1F7A4D;
  color: #FFFFFF;
}

.prompts-full-note,
.prompts-status {
  margin: 0;
  font-size: 14px;
  color: #5F5A54;
}

/* Editor */
.prompts-editor {
  display: flex;
  flex-direction: column;
}

.prompts-editor-top {
  display: flex;
  justify-content: flex-end;
  margin: 8px 0 12px;
}

.prompts-edit-q {
  display: block;
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 600;
  color: #5F5A54;
}

.prompts-field {
  box-sizing: border-box;
  display: block;
  width: 100%;
  height: 170px;
  padding: 16px;
  border: none;
  border-radius: 18px;
  background: #FFFFFF;
  color: #1C1917;
  caret-color: #C9362A;
  font-family: inherit;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.35;
  resize: none;
  outline: none;
}

.prompts-field:focus,
.prompts-field:focus-visible {
  box-shadow: inset 0 0 0 2px #1F7A4D;
}

.prompts-edit-foot {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin: 10px 0 20px;
}

.prompts-tip {
  margin: 0;
  font-size: 14px;
  color: #5F5A54;
}

.prompts-count {
  flex: 0 0 auto;
  font-size: 14px;
  font-weight: 600;
  color: #5F5A54;
  font-variant-numeric: tabular-nums;
}

.prompts-error {
  margin: -8px 0 12px;
  font-size: 14px;
  font-weight: 500;
  color: #A32A20;
}

.prompts-save {
  margin-bottom: 8px;
}

/* Safety 1C: the answer box the server refused (design, Nov 15). */
.prompts-field.prompts-field-invalid {
  box-shadow: inset 0 0 0 2px #A32A20;
}
