.thinking-hero {
  margin-bottom: 2rem;
}
.thinking-kicker {
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--indigo);
  margin-bottom: 0.65rem;
}
.thinking-pending-badge {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.35rem 0.65rem;
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--indigo-bg);
  border: 0.5px solid var(--border);
  border-radius: 999px;
}
.thinking-group {
  margin-bottom: 2.25rem;
}
.thinking-group-label {
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
}
.thinking-group-hint {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 0.85rem;
  max-width: 34rem;
}
.thinking-group-body {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.thinking-group-resolved .thinking-card,
.thinking-group-cleared .thinking-card {
  opacity: 0.88;
}
.thinking-empty {
  font-size: 0.9375rem;
  color: var(--muted);
  padding: 1rem 0;
}
.thinking-card {
  padding: 1.25rem 0;
  border-bottom: 0.5px solid var(--border);
}
.thinking-card:first-child {
  border-top: 0.5px solid var(--border);
}
.thinking-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}
.thinking-card-head .section-date {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
  flex: 1;
}
.thinking-done-btn,
.thinking-undo-btn,
.thinking-toggle-cleared {
  flex-shrink: 0;
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--surface);
  border: 0.5px solid var(--border);
  border-radius: 3px;
  padding: 0.4rem 0.55rem;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.thinking-done-btn:hover,
.thinking-undo-btn:hover,
.thinking-toggle-cleared:hover {
  color: var(--ink);
  border-color: var(--indigo);
  background: var(--indigo-bg);
}
.thinking-done-btn.is-done {
  color: var(--indigo);
  border-color: rgba(127, 119, 221, 0.45);
  background: var(--indigo-bg);
}
.thinking-group-cleared {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 0.5px solid var(--border);
}
.thinking-card.is-cleared {
  display: none;
}
.thinking-group-cleared.is-open .thinking-group-body {
  display: flex;
}
.thinking-group-cleared .thinking-group-body {
  display: none;
  margin-top: 0.75rem;
}
.thinking-login-btn {
  flex-shrink: 0;
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--surface);
  border: 0.5px solid var(--border);
  border-radius: 3px;
  padding: 0.4rem 0.55rem;
  cursor: pointer;
}
.thinking-login-btn:hover {
  color: var(--ink);
  border-color: var(--indigo);
  background: var(--indigo-bg);
}
.thinking-resolve-panel {
  margin-top: 0.85rem;
  padding: 0.9rem 1rem;
  background: var(--surface);
  border: 0.5px solid var(--border);
  border-radius: 3px;
}
.thinking-resolve-label {
  display: block;
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.45rem;
}
.thinking-resolve-text {
  width: 100%;
  font: inherit;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--ink);
  background: var(--white);
  border: 0.5px solid var(--border);
  border-radius: 3px;
  padding: 0.55rem 0.65rem;
  resize: vertical;
  min-height: 4.5rem;
}
.thinking-resolve-check {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.65rem;
  font-size: 0.85rem;
  color: var(--body);
  cursor: pointer;
}
.thinking-resolve-hint {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.35rem;
  line-height: 1.45;
}
.thinking-resolve-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.thinking-resolve-save,
.thinking-resolve-cancel {
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.45rem 0.7rem;
  border-radius: 3px;
  cursor: pointer;
  border: 0.5px solid var(--border);
}
.thinking-resolve-save {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}
.thinking-resolve-cancel {
  background: var(--white);
  color: var(--muted);
}
.thinking-resolve-save:disabled {
  opacity: 0.6;
  cursor: default;
}
.thinking-resolve-error {
  margin-top: 0.5rem;
  font-size: 13px;
  color: #b42318;
}
.thinking-decision-note {
  margin-top: 0.85rem;
  padding: 0.75rem 0.9rem;
  background: var(--indigo-bg);
  border-left: 3px solid var(--indigo);
  border-radius: 0 3px 3px 0;
}
.thinking-note-privacy,
.thinking-note-todo {
  display: inline-block;
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0.5rem 0.35rem 0;
}
.thinking-note-label {
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
}
.thinking-note-body {
  font-size: 0.9rem;
  color: var(--body);
  line-height: 1.55;
  margin: 0;
}
