/* Reflect
 * The guided per-area card: score buttons and note fields.
 *
 * Lifted from the prototype's single stylesheet, unchanged apart from
 * indentation. Every colour resolves through a token in tokens.css.
 */

/* ---------- reflect section ---------- */
.modeToggle { display: inline-flex; background: var(--surface-2); border-radius: 999px; padding: 3px; margin-bottom: 16px; }
.modeToggle button {
  border: none; background: transparent; color: var(--ink-soft); font-size: 14px; font-weight: 600;
  padding: 13px 16px; border-radius: 999px; cursor: pointer; min-height: 46px;
}
.modeToggle button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.08); }

.guided-card {
  position: relative;
  background: var(--surface); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-card);
  border-top: 3px solid var(--accent-a, var(--line));
  padding: 26px 22px; max-width: 560px; margin: 0 auto; transition: background-color .5s ease, border-top-color .3s ease;
}
.guided-head { display: flex; align-items: center; gap: 10px; justify-content: center; margin-bottom: 6px; }
.area-icon { display: inline-flex; vertical-align: -3px; color: var(--accent-ink); }
.area-icon svg { width: 15px; height: 15px; }
.guided-head .area-icon { vertical-align: -6px; }
.guided-head .area-icon svg { width: 30px; height: 30px; }
.guided-head .name { font-family: 'Karla', system-ui, sans-serif; font-size: 25px; font-weight: 700; }
.guided-prompt { text-align: center; font-family: 'Karla', system-ui, sans-serif; font-style: italic; font-weight: 500; font-size: 17.5px; color: var(--ink-soft); margin: 8px auto 20px; max-width: 40ch; }

.segrow { display: flex; gap: 8px; justify-content: center; margin-bottom: 8px; }
.segbtn {
  width: 54px; height: 54px; border-radius: 50%; border: 1.5px solid var(--line-strong);
  background: var(--surface-2); color: var(--ink-soft); font-size: 16px; font-weight: 700;
  cursor: pointer; transition: transform .15s cubic-bezier(.34,1.56,.64,1), background-color .25s, color .25s, border-color .25s;
}
.segbtn:hover { transform: translateY(-1px); }
.segbtn[aria-pressed="true"] { color: #fff; border-color: transparent; transform: scale(1.08); }
.segmeaning { text-align: center; font-size: 13.5px; color: var(--ink-faint); min-height: 18px; margin-bottom: 16px; }

.fieldlabel { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-faint); margin: 14px 0 5px; }
textarea.notefield {
  width: 100%; min-height: 56px; resize: vertical; border-radius: 12px; border: 1px solid var(--line-strong);
  background: var(--surface-2); color: var(--ink); font: inherit; font-size: 15px; padding: 10px 12px;
}
textarea.notefield:focus { outline: 2px solid var(--accent); outline-offset: -1px; }

.guided-nav { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 22px; }
.navtext {
  border: none; background: transparent; color: var(--ink-soft); font-size: 15px; font-weight: 600; cursor: pointer;
  padding: 13px 12px; min-height: 46px;
}
.navprimary {
  border: none; background: var(--accent); color: #fff; font-size: 15px; font-weight: 700; cursor: pointer;
  padding: 14px 24px; min-height: 46px; border-radius: 999px; box-shadow: 0 6px 16px -6px var(--accent-glow);
}
.navprimary:active { transform: scale(.97); }
